31 lines
2.1 KiB
TypeScript
31 lines
2.1 KiB
TypeScript
/* Metro module 8750; source: modules/screen/useIsScreenLandscape.native.tsx; dependencies: [31, 1479, 1481, 2] */
|
|
function _fun68520(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68520, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8935:6, offset: 0x01c5257b, size: 146 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importAll(31) /* metro dependency 31 */;
|
|
const dimensionsStoreAndroid = importDefault(1479) /* metro dependency 1479: DimensionsStoreAndroid */;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/screen/useIsScreenLandscape.native.tsx');
|
|
exports.getIsScreenLandscape = getIsScreenLandscape;
|
|
exports.useIsScreenLandscape = useIsScreenLandscape;
|
|
}
|
|
|
|
function getIsScreenLandscape() { // fn#68521, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8935:219, offset: 0x01c5260d, size: 48 bytes, params: 1, frame: 10
|
|
const value = a0;
|
|
const r1 = value !== undefined ? value : 'main';
|
|
const getState = DimensionsStoreAndroid.getState;
|
|
return Reflect.apply(getState, DimensionsStoreAndroid, []).byAppEntry[r1].screenIsLandscape;
|
|
}
|
|
|
|
function useIsScreenLandscape() { // fn#68522, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8935:335, offset: 0x01c5263d, size: 82 bytes, params: 1, frame: 16
|
|
const value2 = (require(1481) /* metro dependency 1481: AppEntryKeyContext */).useAppEntryKey();
|
|
const binding = env0_2;
|
|
const useCallback = binding.useCallback;
|
|
return DimensionsStoreAndroid(Reflect.apply(useCallback, binding, [_fun68523, [value2]]));
|
|
}
|
|
|
|
function _fun68523({byAppEntry}) { // fn#68523, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8935:422, offset: 0x01c5268f, size: 28 bytes, params: 2, frame: 2
|
|
return byAppEntry[env0_0].screenIsLandscape;
|
|
}
|
|
|