This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,55 +1,67 @@
/* Metro module 6519; source: design/components/Layers/native/LayerContext.native.tsx; dependencies: [6, 7, 31, 2] */
import ClassCallCheck from '../../../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from '../../../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
function _fun51256(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51256, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:6, offset: 0x0122d34e, size: 176 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = importDefault(6) /* metro dependency 6 */;
const env0_1 = importDefault(7) /* metro dependency 7 */;
let value = importAll(31) /* metro dependency 31 */;
let value = ReactModule;
const value2 = _fun51257();
const value3 = Object.create(value2.prototype, {constructor: {value: value2}});
const value4 = new value2();
value = value.createContext(value4 instanceof Object ? value4 : value3);
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Layers/native/LayerContext.native.tsx');
(FileImportTrackerModule).fileFinishedImporting('design/components/Layers/native/LayerContext.native.tsx');
exports.LayerContextManager = value2;
exports.LayerContext = value;
function _fun51257() { // fn#51257, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:128, offset: 0x0122d3fe, size: 103 bytes, params: 1, frame: 15
return CreateClass(LayerContextManager, [{key: 'add', value: function(a0, a1) {
var env0_0 = a0;
this.items = this.items.filter(_fun51261);
this.items.push({key: a0, component: a1});
this.invalidate();
}}, {key: 'remove', value: function(a0) {
var env0_0 = a0;
this.items = this.items.filter(_fun51263);
this.invalidate();
}}, {key: 'setSurfaceRef', value: function(a0) {
this.surfaceRef.current = a0;
}}]);
function LayerContextManager() { // fn#51258, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:149, offset: 0x0122d465, size: 64 bytes, params: 1, frame: 13
env1_0(this, LayerContextManager);
this.surfaceRef = {current: null};
this.items = [];
this.invalidate = function() {
return null;
};
}
function value_51260(a0, a1) { // fn#51260, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:298, offset: 0x0122d4a5, size: 83 bytes, params: 3, frame: 13
const env0_0 = a0;
const items2 = this.items;
this.items = items2.filter(_fun51261);
this.items.push({key: a0, component: a1});
this.invalidate();
function _fun51261({key}) { // fn#51261, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:342, offset: 0x01002f66, size: 21 bytes, params: 2, frame: 2
return key !== env0_0;
}
}
function value_51262(a0) { // fn#51262, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:434, offset: 0x0122d4f8, size: 53 bytes, params: 2, frame: 12
const env0_0 = a0;
const items2 = this.items;
this.items = items2.filter(_fun51263);
this.invalidate();
function _fun51263({key}) { // fn#51263, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:476, offset: 0x01002f66, size: 21 bytes, params: 2, frame: 2
return key !== env0_0;
}
}
}
}
function _fun51257() { // fn#51257, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:128, offset: 0x0122d3fe, size: 103 bytes, params: 1, frame: 15
return env0_1(LayerContextManager, [{key: 'add', value: function(a0, a1) {
var env0_0 = a0;
this.items = this.items.filter(_fun51261);
this.items.push({key: a0, component: a1});
this.invalidate();
}}, {key: 'remove', value: function(a0) {
var env0_0 = a0;
this.items = this.items.filter(_fun51263);
this.invalidate();
}}, {key: 'setSurfaceRef', value: function(a0) {
this.surfaceRef.current = a0;
}}]);
}
function LayerContextManager() { // fn#51258, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:149, offset: 0x0122d465, size: 64 bytes, params: 1, frame: 13
env1_0(this, LayerContextManager);
this.surfaceRef = {current: null};
this.items = [];
this.invalidate = function() {
return null;
};
}
function value_51260(a0, a1) { // fn#51260, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:298, offset: 0x0122d4a5, size: 83 bytes, params: 3, frame: 13
const env0_0 = a0;
const items2 = this.items;
this.items = items2.filter(_fun51261);
this.items.push({key: a0, component: a1});
this.invalidate();
}
function value_51262(a0) { // fn#51262, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6697:434, offset: 0x0122d4f8, size: 53 bytes, params: 2, frame: 12
const env0_0 = a0;
const items2 = this.items;
this.items = items2.filter(_fun51263);
this.invalidate();
}
global.__d(_fun51256, 6519, [6, 7, 31, 2]) /* metro module 6519, dependencies: [6, 7, 31, 2] */;
@@ -1,93 +1,99 @@
/* Metro module 6517; source: design/components/Layers/native/LayerScope.native.tsx; dependencies: [57, 31, 27, 661, 33, 6518, 6519, 2] */
import Module00057 from '../../../../by-id/module-00057.js'; /* Metro dependency 57 */
import UseInitialValue from '../../../../hooks/useInitialValue.tsx'; /* Metro dependency 6518 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */
import * as LayerContextNativeModule from './LayerContext.native.tsx'; /* Metro dependency 6519 */
function _fun51243(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51243, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:6, offset: 0x0122cf69, size: 227 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(57) /* metro dependency 57 */;
const env0_4 = importAll(31) /* metro dependency 31 */;
let value = require(27) /* metro dependency 27 */;
let value = ReactNativeModule;
const env0_5 = value.View;
const env0_6 = value.StyleSheet;
const env0_7 = (require(661) /* metro dependency 661: Constants */).NOOP;
value = require(33) /* metro dependency 33 */;
const env0_8 = value.jsx;
const env0_9 = value.jsxs;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Layers/native/LayerScope.native.tsx');
(FileImportTrackerModule).fileFinishedImporting('design/components/Layers/native/LayerScope.native.tsx');
exports.LayerScope = LayerScope;
function Layer({zIndex}) { // fn#51244, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:192, offset: 0x0122d04c, size: 257 bytes, params: 2, frame: 18
const useContext = ReactModule.useContext;
const LayerContext = (LayerContextNativeModule).LayerContext;
const value2 = Reflect.apply(useContext, ReactModule, [LayerContext]);
const env0_2 = env0_3(ReactModule.useState({}), 2)[1];
var env0_3 = ReactModule.useRef(null);
ReactModule.useEffect(_fun51245, [value2]);
return (
<View
style={ReactModule.useMemo(function() {
var r2;
var object = {};
copyDataProperties(object, StyleSheet.absoluteFillObject, r2);
object['zIndex'] = zIndex;
return object;
}, [zIndex])}
ref={ref_51250}
onLayout={NOOP}
pointerEvents="box-none"
>
{value2.items.map(_fun51251)}
</View>
);
function _fun51245() { // fn#51245, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:319, offset: 0x0122d14d, size: 27 bytes, params: 1, frame: 3
env0_1.invalidate = invalidate;
return _fun51247;
function invalidate() { // fn#51246, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:337, offset: 0x0122d168, size: 18 bytes, params: 1, frame: 11
return env1_2({});
}
function _fun51247() { // fn#51247, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:347, offset: 0x0122d17a, size: 24 bytes, params: 1, frame: 2
env1_1.invalidate = function() {
return null;
};
}
}
function LayerRef(a0) { // fn#51250, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:480, owner: Layer.ref, offset: 0x0122d1ba, size: 37 bytes, params: 2, frame: 11
env0_3.current = a0;
env0_1.setSurfaceRef(a0);
}
function _fun51251(a0) { // fn#51251, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:568, offset: 0x0122d1df, size: 48 bytes, params: 2, frame: 15
const Fragment = env1_4.Fragment;
return (
<Fragment key={a0.key}>
{a0.component}
</Fragment>
);
}
}
function LayerScope({children, zIndex}) { // fn#51252, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:718, offset: 0x0122d20f, size: 134 bytes, params: 2, frame: 18
const value2 = (UseInitialValue)(_fun51253);
const LayerContext = (LayerContextNativeModule).LayerContext;
const Provider = LayerContext.Provider;
return (
<Provider value={value2}>
{children}
<Layer zIndex={zIndex} />
</Provider>
);
function _fun51253() { // fn#51253, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:776, offset: 0x0122d295, size: 53 bytes, params: 1, frame: 11
let value = environment.__proto__;
const LayerContextManager = (LayerContextNativeModule).LayerContextManager;
value = Object.create(LayerContextManager.prototype, {constructor: {value: LayerContextManager}});
const layerContextManager = new LayerContextManager();
return layerContextManager instanceof Object ? layerContextManager : value;
}
}
}
function Layer({zIndex}) { // fn#51244, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:192, offset: 0x0122d04c, size: 257 bytes, params: 2, frame: 18
const binding = env0_4;
const useContext = binding.useContext;
const LayerContext = (require(6519) /* metro dependency 6519: LayerContextNative */).LayerContext;
const value2 = Reflect.apply(useContext, binding, [LayerContext]);
const env0_2 = env0_3(env0_4.useState({}), 2)[1];
var env0_3 = env0_4.useRef(null);
env0_4.useEffect(_fun51245, [value2]);
return (
<View
style={env0_4.useMemo(function() {
var r2;
var object = {};
copyDataProperties(object, StyleSheet.absoluteFillObject, r2);
object['zIndex'] = zIndex;
return object;
}, [zIndex])}
ref={ref_51250}
onLayout={NOOP}
pointerEvents="box-none"
>
{value2.items.map(_fun51251)}
</View>
);
}
function LayerScope({children, zIndex}) { // fn#51252, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:718, offset: 0x0122d20f, size: 134 bytes, params: 2, frame: 18
const value2 = (importDefault(6518) /* metro dependency 6518: useInitialValue */)(_fun51253);
const LayerContext = (require(6519) /* metro dependency 6519: LayerContextNative */).LayerContext;
const Provider = LayerContext.Provider;
return (
<Provider value={value2}>
{children}
<Layer zIndex={zIndex} />
</Provider>
);
}
function _fun51245() { // fn#51245, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:319, offset: 0x0122d14d, size: 27 bytes, params: 1, frame: 3
env0_1.invalidate = invalidate;
return _fun51247;
}
function LayerRef(a0) { // fn#51250, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:480, owner: Layer.ref, offset: 0x0122d1ba, size: 37 bytes, params: 2, frame: 11
env0_3.current = a0;
env0_1.setSurfaceRef(a0);
}
function _fun51251(a0) { // fn#51251, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:568, offset: 0x0122d1df, size: 48 bytes, params: 2, frame: 15
const Fragment = env1_4.Fragment;
return (
<Fragment key={a0.key}>
{a0.component}
</Fragment>
);
}
function _fun51253() { // fn#51253, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:776, offset: 0x0122d295, size: 53 bytes, params: 1, frame: 11
let value = environment.__proto__;
const LayerContextManager = (require(6519) /* metro dependency 6519: LayerContextNative */).LayerContextManager;
value = Object.create(LayerContextManager.prototype, {constructor: {value: LayerContextManager}});
const layerContextManager = new LayerContextManager();
return layerContextManager instanceof Object ? layerContextManager : value;
}
function invalidate() { // fn#51246, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:337, offset: 0x0122d168, size: 18 bytes, params: 1, frame: 11
return env1_2({});
}
function _fun51247() { // fn#51247, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6695:347, offset: 0x0122d17a, size: 24 bytes, params: 1, frame: 2
env1_1.invalidate = function() {
return null;
};
}
global.__d(_fun51243, 6517, [57, 31, 27, 661, 33, 6518, 6519,
2]) /* metro module 6517, dependencies: [57, 31, 27, 661, 33, 6518, 6519, 2] */;