Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,96 @@
/* Metro module 7725; source: modules/status_bar/native/components/StatusBar.android.tsx; dependencies: [6, 7, 15, 17, 18, 27, 7726, 2] */
function _fun61786(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61786, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7903:6, offset: 0x01b4aaf0, size: 208 bytes, params: 8, frame: 19
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(6) /* metro dependency 6 */;
const env0_3 = importDefault(7) /* metro dependency 7 */;
const env0_4 = importDefault(15) /* metro dependency 15 */;
const env0_5 = importDefault(17) /* metro dependency 17 */;
const env0_6 = importDefault(18) /* metro dependency 18 */;
const StatusBar = (require(27) /* metro dependency 27 */).StatusBar;
const value = _fun61790(StatusBar);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/status_bar/native/components/StatusBar.android.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_61787() { // fn#61787, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7903:148, offset: 0x01b4abc0, size: 94 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_61787_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun61790(a0) { // fn#61790, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7903:347, offset: 0x01b4ac1e, size: 137 bytes, params: 2, frame: 16
const closure = StatusBarAndroid;
env0_6(closure, a0);
return env0_3(closure, [{key: 'componentDidMount', value: value_61792}, {key: 'componentDidUpdate',
value: value_61793}, {key: 'componentWillUnmount', value: value_61794}, {key: 'render', value: function() {
return null;
}}]);
}
function StatusBarAndroid(a0) { // fn#61791, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7903:359, offset: 0x01b4aca7, size: 134 bytes, params: 2, frame: 19
var r0;
var Reflect;
let value = copyRestArgs(0, undefined);
let binding = env1_2;
binding(this, StatusBarAndroid);
const items2 = [];
arraySpread(items2, value, 0, items2);
value = env1_5(StatusBarAndroid);
binding = env1_4;
if (_isNativeReflectConstruct_61787()) {
Reflect = global.Reflect;
value = Reflect.construct(value, items2, env1_5(this).constructor);
r0 = value;
} else {
value = value.apply(this, items2);
r0 = value;
}
value = binding(this, r0);
value._stackEntry = null;
return value;
}
function value_61792() { // fn#61792, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7903:694, offset: 0x01b4ad2d, size: 52 bytes, params: 1, frame: 13
let value = environment.__proto__;
value = importDefault(7726) /* metro dependency 7726: StatusBarManagerAndroid */;
this._stackEntry = value.pushStackEntry(this.props);
}
function value_61793() { // fn#61793, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7903:791, offset: 0x01b4ad61, size: 59 bytes, params: 1, frame: 15
let value = environment.__proto__;
value = importDefault(7726) /* metro dependency 7726: StatusBarManagerAndroid */;
this._stackEntry = value.replaceStackEntry(this._stackEntry, this.props);
}
function value_61794() { // fn#61794, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7903:910, offset: 0x01b4ad9c, size: 55 bytes, params: 1, frame: 13
let value = environment.__proto__;
value = importDefault(7726) /* metro dependency 7726: StatusBarManagerAndroid */;
value.popStackEntry(this._stackEntry);
this._stackEntry = null;
}
@@ -0,0 +1,66 @@
/* Metro module 7726; source: modules/status_bar/native/components/StatusBarManager.android.tsx; dependencies: [6, 7, 27, 22, 1597, 2] */
function _fun61796(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61796, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7904:6, offset: 0x01b4add3, size: 174 bytes, params: 8, frame: 19
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(6) /* metro dependency 6 */;
const env0_3 = importDefault(7) /* metro dependency 7 */;
const env0_4 = (require(27) /* metro dependency 27 */).StatusBar;
let value = _fun61797();
value = new value();
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/status_bar/native/components/StatusBarManager.android.tsx');
exports.default = value;
}
function _fun61797() { // fn#61797, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7904:142, offset: 0x01b4ae81, size: 124 bytes, params: 1, frame: 15
return env0_3(StatusBarManager, [{key: 'pushStackEntry', value: function(a0) {
var object = {hidden: a0.hidden, barStyle: a0.barStyle};
this.propsStack.push(object);
this.updatePropsStack();
return object;
}}, {key: 'popStackEntry', value: function(a0) {
var r4;
var value = -1;
r4 = a0 != null ? this.propsStack.indexOf(a0) : value;
if (value !== r4) {
this.propsStack.splice(r4, 1);
this.updatePropsStack();
}
}}, {key: 'replaceStackEntry', value: function(a0, a1) {
var r3;
var object = {hidden: a1.hidden, barStyle: a1.barStyle};
var value = -1;
r3 = a0 != null ? this.propsStack.indexOf(a0) : value;
if (value !== r3) {
this.propsStack[r3] = object;
}
this.updatePropsStack();
return object;
}}, {key: 'updatePropsStack', value: function() {
var env0_0 = this;
global.clearImmediate(this.updateImmediate);
this.updateImmediate = global.setImmediate(_fun61803);
}}]);
}
function StatusBarManager() { // fn#61798, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7904:163, offset: 0x01b4aefd, size: 45 bytes, params: 1, frame: 13
env1_2(this, StatusBarManager);
this.propsStack = [];
this.updateImmediate = null;
}
function value_61802() { // fn#61802, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7904:778, offset: 0x01b4b012, size: 54 bytes, params: 1, frame: 14
global.clearImmediate(this.updateImmediate);
this.updateImmediate = global.setImmediate(_fun61803);
}
function _fun61803() { // fn#61803, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7904:861, offset: 0x01b4b048, size: 146 bytes, params: 1, frame: 19
const value = environment.__proto__.__proto__;
const defaultImport = importDefault(22) /* metro dependency 22 */;
const merge = defaultImport.merge;
const items2 = [{'hidden': false, 'barStyle': 'default'}];
arraySpread(items2, env0_0.propsStack, 1, undefined);
const {barStyle, hidden} = apply(merge, items2, defaultImport, undefined);
StatusBar.setBarStyle(barStyle);
(importDefault(1597) /* metro dependency 1597: NativeSafeAreaInsetsModule */).setStatusBarVisible(!hidden);
}
@@ -0,0 +1,27 @@
/* Metro module 13117; source: modules/status_bar/native/components/ThemedStatusBar.tsx; dependencies: [31, 1310, 1226, 33, 566, 4007, 4002, 10734, 7725, 2] */
function _fun100243(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#100243, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13307:6, offset: 0x021e2163, size: 170 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const themeStore = importDefault(1310) /* metro dependency 1310: ThemeStore */;
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/status_bar/native/components/ThemedStatusBar.tsx');
exports.default = _default_100244;
}
function _default_100244() { // fn#100244, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13307:147, offset: 0x021e220d, size: 244 bytes, params: 1, frame: 20
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([AuthenticationStore],
function() {
return AuthenticationStore.isAuthenticated();
});
const value3 = (require(4007) /* metro dependency 4007: NavigationRouteUtilsNative */).useIsModalOpen();
const value4 = (require(566) /* metro dependency 566: flux */).useStateFromStores([ThemeStore], function() {
return require(dependencyMap[6]).isThemeDark(ThemeStore.theme);
});
const value5 = (require(10734) /* metro dependency 10734: useGlobalStatusIndicatorState */).useGlobalStatusIndicatorState();
const value6 = 'light-content';
return ((Component) => <Component barStyle={value2 ? value3 ? value4 ? value6 : 'dark-content' : value5.isVisible && value5.isCustomBackground || value4 ? value6 : 'dark-content' : value6} />)(importDefault(7725) /* metro dependency 7725: StatusBarAndroid */);
}