Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,93 @@
|
||||
/* Metro module 6517; source: design/components/Layers/native/LayerScope.native.tsx; dependencies: [57, 31, 27, 661, 33, 6518, 6519, 2] */
|
||||
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 */;
|
||||
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');
|
||||
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 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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user