39 lines
2.5 KiB
TypeScript
39 lines
2.5 KiB
TypeScript
/* Metro module 10023; source: modules/collectibles/CollectiblesAnalyticsContext.tsx; dependencies: [31, 33, 2] */
|
|
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 */
|
|
import * as JsxRuntimeModule from '../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
|
|
function _fun78291(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#78291, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10209:6, offset: 0x01e24803, size: 169 bytes, params: 8, frame: 19
|
|
const useCollectiblesAnalyticsContext2 = useCollectiblesAnalyticsContext;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = ReactModule;
|
|
value = value.createContext(null);
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/collectibles/CollectiblesAnalyticsContext.tsx');
|
|
exports.CollectiblesAnalyticsContext = value;
|
|
exports.useCollectiblesAnalyticsContext = useCollectiblesAnalyticsContext2;
|
|
exports.CollectiblesAnalyticsProvider = CollectiblesAnalyticsProvider;
|
|
function useCollectiblesAnalyticsContext() { // fn#78292, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10209:144, offset: 0x01e248ac, size: 24 bytes, params: 1, frame: 11
|
|
return env0_0.useContext(env0_2);
|
|
}
|
|
|
|
function CollectiblesAnalyticsProvider({newValue, children}) { // fn#78293, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10209:428, offset: 0x01e248c4, size: 103 bytes, params: 2, frame: 18
|
|
const value3 = newValue.useMemo(_fun78294, [useCollectiblesAnalyticsContext(), newValue]);
|
|
const Provider = env0_2.Provider;
|
|
return (
|
|
<Provider value={value3}>
|
|
{children}
|
|
</Provider>
|
|
);
|
|
function _fun78294() { // fn#78294, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10209:545, offset: 0x01e2492b, size: 29 bytes, params: 1, frame: 12
|
|
const object = {};
|
|
copyDataProperties(object, newValue, copyDataProperties(object, JsxRuntimeModule.jsx, undefined));
|
|
return object;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun78291, 10023, [31, 33, 2]) /* metro module 10023, dependencies: [31, 33, 2] */;
|