91 lines
6.0 KiB
React
91 lines
6.0 KiB
React
/* Metro module 1795; source: unknown; dependencies: [1613, 1710] */
|
|
function _fun19698(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19698, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1922:6, offset: 0x00eb18fe, size: 231 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = require(1613) /* metro dependency 1613 */;
|
|
value = value.isFabric();
|
|
object = {code: "function createViewDescriptorPaper_Pnpm_styleUpdaterTs1(screenId){return{tag:screenId,name:'RCTView'};}"};
|
|
const value2 = _fun19699();
|
|
object = {code: 'function createViewDescriptorFabric_Pnpm_styleUpdaterTs2(screenId){return{shadowNodeWrapper:screenId};}'};
|
|
const env0_4 = value ? _fun19701() : value2;
|
|
object = {code: 'function applyStyleForTopScreen_Pnpm_styleUpdaterTs3(screenTransitionConfig,event){const{createViewDescriptor,updateProps}=this.__closure;const{screenDimensions:screenDimensions,topScreenId:topScreenId,screenTransition:screenTransition}=screenTransitionConfig;const{topScreenStyle:computeTopScreenStyle}=screenTransition;const topScreenStyle=computeTopScreenStyle(event,screenDimensions);const topScreenDescriptor={value:[createViewDescriptor(topScreenId)]};updateProps(topScreenDescriptor,topScreenStyle,undefined);}'};
|
|
const env0_6 = _fun19703();
|
|
object = {code: 'function applyStyleForBelowTopScreen_Pnpm_styleUpdaterTs4(screenTransitionConfig,event){const{createViewDescriptor,updateProps}=this.__closure;const{screenDimensions:screenDimensions,belowTopScreenId:belowTopScreenId,screenTransition:screenTransition}=screenTransitionConfig;const{belowTopScreenStyle:computeBelowTopScreenStyle}=screenTransition;const belowTopScreenStyle=computeBelowTopScreenStyle(event,screenDimensions);const belowTopScreenDescriptor={value:[createViewDescriptor(belowTopScreenId)]};updateProps(belowTopScreenDescriptor,belowTopScreenStyle,undefined);}'};
|
|
value = _fun19705();
|
|
object = {code: 'function applyStyle_Pnpm_styleUpdaterTs5(screenTransitionConfig,event){const{applyStyleForTopScreen,applyStyleForBelowTopScreen}=this.__closure;applyStyleForTopScreen(screenTransitionConfig,event);applyStyleForBelowTopScreen(screenTransitionConfig,event);}'};
|
|
const value4 = _fun19707();
|
|
exports.applyStyleForBelowTopScreen = value;
|
|
exports.applyStyle = value4;
|
|
}
|
|
|
|
function _fun19699() { // fn#19699, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1922:234, offset: 0x00eb19e5, size: 46 bytes, params: 1, frame: 2
|
|
const closure = function(a0) {
|
|
return {tag: a0, name: 'RCTView'};
|
|
};
|
|
closure.__closure = {};
|
|
closure.__workletHash = 10248318774025;
|
|
closure.__initData = env0_2;
|
|
return closure;
|
|
}
|
|
|
|
function _fun19701() { // fn#19701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1922:508, offset: 0x00eb1a28, size: 46 bytes, params: 1, frame: 2
|
|
const closure = function(a0) {
|
|
return {shadowNodeWrapper: a0};
|
|
};
|
|
closure.__closure = {};
|
|
closure.__workletHash = 2882608262143;
|
|
closure.__initData = env0_3;
|
|
return closure;
|
|
}
|
|
|
|
function _fun19703() { // fn#19703, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1922:1204, offset: 0x00eb1a62, size: 88 bytes, params: 1, frame: 14
|
|
const closure = applyStyleForTopScreen;
|
|
const object2 = {};
|
|
object2.createViewDescriptor = env0_4;
|
|
object2.updateProps = (require(1710) /* metro dependency 1710 */).updateProps;
|
|
closure.__closure = object2;
|
|
closure.__workletHash = 541570832073;
|
|
closure.__initData = env0_5;
|
|
return closure;
|
|
}
|
|
|
|
function _fun19705() { // fn#19705, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1922:2105, offset: 0x00eb1b1d, size: 88 bytes, params: 1, frame: 14
|
|
const closure = applyStyleForBelowTopScreen;
|
|
const object2 = {};
|
|
object2.createViewDescriptor = env0_4;
|
|
object2.updateProps = (require(1710) /* metro dependency 1710 */).updateProps;
|
|
closure.__closure = object2;
|
|
closure.__workletHash = 1349027100765;
|
|
closure.__initData = env0_7;
|
|
return closure;
|
|
}
|
|
|
|
function _fun19707() { // fn#19707, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1922:2706, offset: 0x00eb1bd8, size: 66 bytes, params: 1, frame: 4
|
|
const closure = applyStyle;
|
|
closure.__closure = {applyStyleForTopScreen: env0_6, applyStyleForBelowTopScreen: env0_8};
|
|
closure.__workletHash = 7852442865245;
|
|
closure.__initData = env0_9;
|
|
return closure;
|
|
}
|
|
|
|
function applyStyleForTopScreen({screenDimensions, topScreenId, screenTransition}, a1) { // fn#19704, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1922:1221, offset: 0x00eb1aba, size: 99 bytes, params: 3, frame: 16
|
|
const value = screenTransition.topScreenStyle(a1, screenDimensions);
|
|
const object2 = {};
|
|
object2.value = [env1_4(topScreenId)];
|
|
(require(1710) /* metro dependency 1710 */).updateProps(object2, value, undefined);
|
|
}
|
|
|
|
function applyStyleForBelowTopScreen({screenDimensions, belowTopScreenId, screenTransition}, a1) { // fn#19706, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1922:2122, offset: 0x00eb1b75, size: 99 bytes, params: 3, frame: 16
|
|
const value = screenTransition.belowTopScreenStyle(a1, screenDimensions);
|
|
const object2 = {};
|
|
object2.value = [env1_4(belowTopScreenId)];
|
|
(require(1710) /* metro dependency 1710 */).updateProps(object2, value, undefined);
|
|
}
|
|
|
|
function applyStyle(a0, a1) { // fn#19708, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1922:2723, offset: 0x00eb1c1a, size: 33 bytes, params: 3, frame: 14
|
|
env1_6(a0, a1);
|
|
env1_8(a0, a1);
|
|
}
|
|
|