Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,84 @@
|
||||
/* Metro module 7637; source: modules/checkout/native/gifting/UnifiedGiftModal.tsx; dependencies: [57, 31, 33, 5080, 5280, 7638, 1244, 5282, 7639, 7689, 6771, 2] */
|
||||
function _fun61158(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61158, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7815:6, offset: 0x0171c2f5, size: 156 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 */;
|
||||
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/checkout/native/gifting/UnifiedGiftModal.tsx');
|
||||
exports.default = UnifiedGiftModal;
|
||||
}
|
||||
|
||||
function UnifiedGiftModal(a0) { // fn#61159, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7815:227, offset: 0x0171c391, size: 209 bytes, params: 2, frame: 19
|
||||
const skuId = a0.skuId;
|
||||
const applicationId = a0.applicationId;
|
||||
const analyticsLocations = a0.analyticsLocations;
|
||||
const value = UnifiedGiftModalUseScreens({skuId: skuId, applicationId: applicationId,
|
||||
lockedRecipientUser: a0.lockedRecipientUser, onGiftModalDismiss: a0.onGiftModalDismiss,
|
||||
validateRecipient: a0.validateRecipient, renderProductDetails: a0.renderProductDetails,
|
||||
renderPurchaseSection: a0.renderPurchaseSection});
|
||||
const AnalyticsLocationProvider = (require(6771) /* metro dependency 6771: useAnalyticsLocations */).AnalyticsLocationProvider;
|
||||
const Navigator = (require(5280) /* metro dependency 5280: NavigatorNative */).Navigator;
|
||||
const UnifiedGiftModalScreens = (require(7638) /* metro dependency 7638: UnifiedGiftModalTypes */).UnifiedGiftModalScreens;
|
||||
const GIFT_DETAIL = UnifiedGiftModalScreens.GIFT_DETAIL;
|
||||
return (
|
||||
<AnalyticsLocationProvider value={analyticsLocations}>
|
||||
<Navigator initialRouteName={GIFT_DETAIL} screens={value} />
|
||||
</AnalyticsLocationProvider>
|
||||
);
|
||||
}
|
||||
|
||||
function UnifiedGiftModalUseScreens({skuId, applicationId, lockedRecipientUser, onGiftModalDismiss, validateRecipient, renderProductDetails, renderPurchaseSection}) { // fn#61160, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7815:417, owner: UnifiedGiftModal.useScreens, offset: 0x0171c462, size: 229 bytes, params: 2, frame: 23
|
||||
var environment;
|
||||
const value = environment.__proto__;
|
||||
const binding = env1_4;
|
||||
const [property, env0_8] = env1_3(binding.useState(lockedRecipientUser), 2);
|
||||
return (require(5280) /* metro dependency 5280: NavigatorNative */).useNavigatorScreens(_fun61162,
|
||||
[lockedRecipientUser, property, skuId, applicationId, binding.useCallback(_fun61161, [onGiftModalDismiss]),
|
||||
validateRecipient, renderProductDetails, renderPurchaseSection]);
|
||||
}
|
||||
|
||||
function _fun61161() { // fn#61161, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7815:634, offset: 0x0171c547, size: 58 bytes, params: 1, frame: 12
|
||||
const value = environment.__proto__.__proto__;
|
||||
(importDefault(5080) /* metro dependency 5080: ModalActionCreators */).pop();
|
||||
if (onGiftModalDismiss != null) {
|
||||
onGiftModalDismiss();
|
||||
}
|
||||
}
|
||||
|
||||
function _fun61162() { // fn#61162, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7815:709, offset: 0x0171c581, size: 256 bytes, params: 1, frame: 21
|
||||
var environment;
|
||||
const object4 = {};
|
||||
const value = environment.__proto__.__proto__;
|
||||
const UnifiedGiftModalScreens = (require(7638) /* metro dependency 7638: UnifiedGiftModalTypes */).UnifiedGiftModalScreens;
|
||||
const GIFT_DETAIL = UnifiedGiftModalScreens.GIFT_DETAIL;
|
||||
const object5 = {};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
let string = intl.string;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
object5.title = Reflect.apply(string, intl, [t['JCFN/y']]);
|
||||
object5.headerLeft = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderCloseButton(env0_9);
|
||||
object5.render = render_61163;
|
||||
object4[GIFT_DETAIL] = object5;
|
||||
const RECIPENT_SELECT = UnifiedGiftModalScreens.RECIPENT_SELECT;
|
||||
const object6 = {};
|
||||
string = intl.string;
|
||||
const R0vK0N = t.R0vK0N;
|
||||
object6.title = Reflect.apply(string, intl, [R0vK0N]);
|
||||
object6.headerLeft = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderBackButton();
|
||||
object6.render = render_61164;
|
||||
object4[RECIPENT_SELECT] = object6;
|
||||
return object4;
|
||||
}
|
||||
|
||||
function render_61163() { // fn#61163, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7815:859, offset: 0x0171c681, size: 118 bytes, params: 1, frame: 16
|
||||
const value = environment.__proto__.__proto__.__proto__;
|
||||
return ((Component) => <Component skuId={skuId} applicationId={applicationId} recipientUser={env1_7} setRecipientUser={env1_8} lockedRecipient={lockedRecipientUser != null} validateRecipient={validateRecipient} renderProductDetails={renderProductDetails} renderPurchaseSection={renderPurchaseSection} />)(importDefault(7639) /* metro dependency 7639: UnifiedGiftModalDetailsScreen */);
|
||||
}
|
||||
|
||||
function render_61164() { // fn#61164, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7815:1170, offset: 0x0171c6f7, size: 51 bytes, params: 1, frame: 14
|
||||
const value = environment.__proto__.__proto__.__proto__;
|
||||
return ((Component) => <Component setRecipientUser={env1_8} />)(importDefault(7689) /* metro dependency 7689: UnifiedGiftModalRecipientSelectScreen */);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user