Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
// Module ID: 15133
|
|
// Function ID: 15134
|
|
// Name: useParentalConsentWarning
|
|
// Dependencies: [15134, 558, 568, 504, 2]
|
|
|
|
// Module 15133 (useParentalConsentWarning)
|
|
import initialize from "initialize" /* 504 */;
|
|
import c from "c" /* 568 */;
|
|
import ParentalConsentWarningStore from "ParentalConsentWarningStore" /* 15134 */;
|
|
|
|
require = fn;
|
|
const ReactCompilerGating = fn(558);
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/parent_tools/useParentalConsentWarning.tsx");
|
|
|
|
export const useParentalConsentWarning = ReactCompilerGating.isReactCompilerEnabled() ? (() => {
|
|
const cResult = c.c(2);
|
|
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
const items = [ParentalConsentWarningStore];
|
|
const fn = function o() {
|
|
return warning.getWarning();
|
|
};
|
|
cResult[0] = items;
|
|
cResult[1] = fn;
|
|
tmp4 = items;
|
|
tmp5 = fn;
|
|
} else {
|
|
[tmp4, tmp5] = cResult;
|
|
}
|
|
return initialize.useStateFromStores(tmp4, tmp5);
|
|
}) : (() => {
|
|
const items = [ParentalConsentWarningStore];
|
|
return initialize.useStateFromStores(items, () => warning.getWarning());
|
|
});
|