Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,10 @@
/* Metro module 4506; source: design/animation/reanimated/AccessibilityPreferencesSharedValue.native.tsx; dependencies: [4017, 2] */
function _fun38551(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38551, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4684:6, offset: 0x010c2ef4, size: 115 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value = value.makeMutable({'reduceMotion': false, 'prefersCrossfades': false, 'screenReaderEnabled': false});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/AccessibilityPreferencesSharedValue.native.tsx');
exports.accessibilityPreferencesSharedValue = value;
}
@@ -0,0 +1,17 @@
/* Metro module 4505; source: design/animation/reanimated/ReanimatedConstants.tsx; dependencies: [4017, 2] */
function _fun38550(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38550, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4683:6, offset: 0x010c2e68, size: 140 bytes, params: 8, frame: 18
var object3;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object3 = {duration: 1};
const ReduceMotion = (require(4017) /* metro dependency 4017: ReanimatedRexport */).ReduceMotion;
const Always = ReduceMotion.Always;
object3.reduceMotion = Always;
const object4 = {};
copyDataProperties(object4, object3, undefined);
object4['reduceMotion'] = undefined;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/ReanimatedConstants.tsx');
exports.CONFIG_NEVER_ANIMATE = object3;
exports.CONFIG_NEVER_ANIMATE_TIMING = object4;
}
@@ -0,0 +1,66 @@
/* Metro module 4577; source: design/animation/reanimated/spring/spring.tsx; dependencies: [4505, 4506, 4017, 2] */
function _fun38834(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38834, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4755:6, offset: 0x010cc8b8, size: 135 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = (require(4505) /* metro dependency 4505: ReanimatedConstants */).CONFIG_NEVER_ANIMATE;
object = {code: "function withSpring_springTsx1(toValue,config,shouldAnimate='respect-motion-settings',callback){const{accessibilityPreferencesSharedValue,CONFIG_NEVER_ANIMATE,ReduceMotion,REAwithSpring}=this.__closure;const reducedMotionEnabled=accessibilityPreferencesSharedValue.get().reduceMotion;const animate=shouldAnimate==='animate-always'||shouldAnimate==='respect-motion-settings'&&!reducedMotionEnabled;const configForRea=!animate?CONFIG_NEVER_ANIMATE:shouldAnimate==='animate-always'?{...(config!==null&&config!==void 0?config:{}),reduceMotion:ReduceMotion.Never}:config;return REAwithSpring(toValue,configForRea,callback);}"};
const value = _fun38835();
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/spring/spring.tsx');
exports.withSpring = value;
}
function _fun38835() { // fn#38835, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4755:760, offset: 0x010cc93f, size: 132 bytes, params: 1, frame: 16
const closure = withSpring_38836;
const object2 = {};
object2.accessibilityPreferencesSharedValue = (require(4506) /* metro dependency 4506: AccessibilityPreferencesSharedValueNative */).accessibilityPreferencesSharedValue;
object2.CONFIG_NEVER_ANIMATE = CONFIG_NEVER_ANIMATE;
const ReduceMotion = (require(4017) /* metro dependency 4017: ReanimatedRexport */).ReduceMotion;
object2.ReduceMotion = ReduceMotion;
object2.REAwithSpring = (require(4017) /* metro dependency 4017: ReanimatedRexport */).withSpring;
closure.__closure = object2;
closure.__workletHash = 14783154107972;
closure.__initData = env0_3;
return closure;
}
function withSpring_38836(a0, a1) { // fn#38836, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4755:786, offset: 0x010cc9c3, size: 210 bytes, params: 3, frame: 18
var r1;
var r4;
var object2;
const ReduceMotion = (require(4017) /* metro dependency 4017: ReanimatedRexport */).ReduceMotion;
const value = a1;
const value2 = a2;
const r5 = value2 !== undefined ? value2 : 'respect-motion-settings';
const accessibilityPreferencesSharedValue = (require(4506) /* metro dependency 4506: AccessibilityPreferencesSharedValueNative */).accessibilityPreferencesSharedValue;
const get = accessibilityPreferencesSharedValue.get;
const reduceMotion = Reflect.apply(get, accessibilityPreferencesSharedValue, []).reduceMotion;
const value5 = r5 === 'animate-always';
if (value5) {
if (value5) {
object2 = {};
copyDataProperties(object2, value ?? ({}), undefined);
object2['reduceMotion'] = ReduceMotion.Never;
r1 = object2;
} else {
r1 = value;
}
r4 = r1;
} else if (r5 !== 'respect-motion-settings') {
r4 = CONFIG_NEVER_ANIMATE;
} else if (reduceMotion) {
r4 = CONFIG_NEVER_ANIMATE;
} else {
if (value5) {
object2 = {};
copyDataProperties(object2, value ?? ({}), undefined);
object2['reduceMotion'] = ReduceMotion.Never;
r1 = object2;
} else {
r1 = value;
}
r4 = r1;
}
return (require(4017) /* metro dependency 4017: ReanimatedRexport */).withSpring(a0, r4, a3);
}
@@ -0,0 +1,13 @@
/* Metro module 4581; source: design/animation/reanimated/spring/springPresets.tsx; dependencies: [2] */
function _fun38861(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38861, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4759:6, offset: 0x010cde19, size: 188 bytes, params: 8, frame: 15
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/spring/springPresets.tsx');
exports.SUBTLE_SPRING = {'mass': 1, 'damping': 27, 'stiffness': 300};
exports.ON_PRESS_SPRING = {'mass': 1, 'overshootClamping': true, 'damping': 27, 'stiffness': 300};
exports.springSlow = {'mass': 1, 'damping': 30, 'stiffness': 380};
exports.springUnclamped = {'mass': 0.35, 'damping': 13, 'stiffness': 250};
exports.springUnclampedBounce = {'mass': 0.3, 'damping': 13, 'stiffness': 250};
exports.springStandard = {'mass': 0.35, 'damping': 13, 'stiffness': 250, 'overshootClamping': true};
}
@@ -0,0 +1,66 @@
/* Metro module 4504; source: design/animation/reanimated/timing/timing.tsx; dependencies: [4505, 4506, 4017, 2] */
function _fun38547(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4682:6, offset: 0x010c2c8b, size: 135 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = (require(4505) /* metro dependency 4505: ReanimatedConstants */).CONFIG_NEVER_ANIMATE_TIMING;
object = {code: "function withTiming_timingTsx1(toValue,config,shouldAnimate='respect-motion-settings',callback){const{accessibilityPreferencesSharedValue,CONFIG_NEVER_ANIMATE_TIMING,ReduceMotion,REAwithTiming}=this.__closure;const reducedMotionEnabled=accessibilityPreferencesSharedValue.get().reduceMotion;const animate=shouldAnimate==='animate-always'||shouldAnimate==='respect-motion-settings'&&!reducedMotionEnabled;const configForRea=!animate?CONFIG_NEVER_ANIMATE_TIMING:shouldAnimate==='animate-always'?{...(config!==null&&config!==void 0?config:{}),reduceMotion:ReduceMotion.Never}:config;return REAwithTiming(toValue,configForRea,callback);}"};
const value = _fun38548();
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/timing/timing.tsx');
exports.withTiming = value;
}
function _fun38548() { // fn#38548, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4682:781, offset: 0x010c2d12, size: 132 bytes, params: 1, frame: 16
const closure = withTiming_38549;
const object2 = {};
object2.accessibilityPreferencesSharedValue = (require(4506) /* metro dependency 4506: AccessibilityPreferencesSharedValueNative */).accessibilityPreferencesSharedValue;
object2.CONFIG_NEVER_ANIMATE_TIMING = CONFIG_NEVER_ANIMATE_TIMING;
const ReduceMotion = (require(4017) /* metro dependency 4017: ReanimatedRexport */).ReduceMotion;
object2.ReduceMotion = ReduceMotion;
object2.REAwithTiming = (require(4017) /* metro dependency 4017: ReanimatedRexport */).withTiming;
closure.__closure = object2;
closure.__workletHash = 6710776253444;
closure.__initData = env0_3;
return closure;
}
function withTiming_38549(a0, a1) { // fn#38549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4682:807, offset: 0x010c2d96, size: 210 bytes, params: 3, frame: 18
var r1;
var r4;
var object2;
const ReduceMotion = (require(4017) /* metro dependency 4017: ReanimatedRexport */).ReduceMotion;
const value = a1;
const value2 = a2;
const r5 = value2 !== undefined ? value2 : 'respect-motion-settings';
const accessibilityPreferencesSharedValue = (require(4506) /* metro dependency 4506: AccessibilityPreferencesSharedValueNative */).accessibilityPreferencesSharedValue;
const get = accessibilityPreferencesSharedValue.get;
const reduceMotion = Reflect.apply(get, accessibilityPreferencesSharedValue, []).reduceMotion;
const value5 = r5 === 'animate-always';
if (value5) {
if (value5) {
object2 = {};
copyDataProperties(object2, value ?? ({}), undefined);
object2['reduceMotion'] = ReduceMotion.Never;
r1 = object2;
} else {
r1 = value;
}
r4 = r1;
} else if (r5 !== 'respect-motion-settings') {
r4 = CONFIG_NEVER_ANIMATE_TIMING;
} else if (reduceMotion) {
r4 = CONFIG_NEVER_ANIMATE_TIMING;
} else {
if (value5) {
object2 = {};
copyDataProperties(object2, value ?? ({}), undefined);
object2['reduceMotion'] = ReduceMotion.Never;
r1 = object2;
} else {
r1 = value;
}
r4 = r1;
}
return (require(4017) /* metro dependency 4017: ReanimatedRexport */).withTiming(a0, r4, a3);
}
@@ -0,0 +1,15 @@
/* Metro module 4507; source: design/animation/reanimated/timing/timingPresets.tsx; dependencies: [2] */
function _fun38552(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38552, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4685:6, offset: 0x010c2f67, size: 168 bytes, params: 8, frame: 22
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/timing/timingPresets.tsx');
exports.timingNone = {duration: 0};
exports.timingInstant = {duration: 1};
exports.timingSlowDuration = 600;
exports.timingSlow = {duration: 600};
exports.timingStandardDuration = 300;
exports.timingStandard = {duration: 300};
exports.timingFastDuration = 100;
exports.timingFast = {duration: 100};
}
+761
View File
@@ -0,0 +1,761 @@
/* Metro module 5473; source: design/assets/native.tsx; dependencies: [2, 5474, 5479, 5481, 5483, 5485, 5487, 5489, 5491, 5493, 5495, 5497, 5499, 5501, 5503, 5505, 5507, 5509, 5511, 5513, 5515, 5517, 5519, 5521, 5523, 5525, 5527, 5529, 5531, 5533, 5535, 5537, 5539, 5541, 5543, 5545, 5547, 5549, 5551, 5553, 5555, 5557, 5559, 5561, 5563, 5565, 5567, 5569, 5571, 5573, 5575, 5577, 5579, 5581, 5583, 5585, 5587, 5589, 5591, 5593, 5595, 5597, 5599, 5601, 5603, 5605, 5607, 5609, 5611, 5613, 5615, 5617, 5619, 5621, 5623, 5625, 5627, 5629, 5631, 5633, 5635, 5637, 5639, 5641, 5643, 5645, 5647, 5649, 5651, 5653, 5655, 5657, 5659, 5661, 5663, 5665, 5667, 5669, 5671, 5673, 5675, 5677, 5679, 5681, 5683, 5685, 5687, 5689, 5691, 5693, 5695, 5697, 5699, 5701, 5703, 5705, 5707, 5709, 5711, 5713, 5715, 5717, 5719, 5721, 5723, 5725, 5727, 5729, 5731, 5733, 5735, 5737, 5739, 5741, 5743, 5745, 5747, 5749, 5751, 5753, 5755, 5757, 5759, 5761, 5763, 5765, 5767, 5769, 5771, 5773, 5775, 5777, 5779, 5781, 5783, 5785, 5787, 5789, 5791, 5793, 5795, 5797, 5799, 5801, 5803, 5805, 5807, 5809, 5811, 5813, 5815, 5817, 5819, 5821, 5823, 5825, 5827, 5829, 5831, 5833, 5835, 5837, 5839, 5841, 5843, 5845, 5847, 5849, 5851, 5853, 5855, 5857, 5859, 5861, 5863, 5865, 5867, 5869, 5871, 5873, 5875, 5877, 5879, 5881, 5883, 5885, 5887, 5889, 5891, 5893, 5895, 5897, 5899, 5901, 5903, 5905, 5907, 5909, 5911, 5913, 5915, 5917, 5919, 5921, 5923, 5925, 5927, 5929, 5931, 5933, 5935, 5937, 5939, 5941, 5943, 5945, 5947, 5949, 5951, 5953, 5955, 5957, 5959, 5961, 5963, 5965, 5967, 5969, 5971, 5973, 5975, 5977, 5979, 5981, 5983, 5985, 5987, 5989, 5991, 5993, 5995, 5997, 5999, 6001, 6003, 6005, 6007, 6009, 6011, 6013, 6015, 6017, 6019, 6021, 6023, 6025, 6027, 6029, 6031, 6033, 6035, 6037, 6039, 6041, 6043, 6045, 6047, 6049, 6051, 6053, 6055, 6057, 6059, 6061, 6063, 6065, 6067, 6069, 6071, 6073, 6075, 6077, 6079, 6081, 6083, 6085, 6087, 6089, 6091, 6093, 6095, 6097, 6099, 6101, 6103, 6105, 6107, 6109, 6111, 6113, 6115, 6117, 6119, 6121, 6123, 6125, 6127, 6129, 6131, 6133, 6135, 6137, 6139, 6141, 6143, 6145, 6147, 6149, 6151, 6153, 6155, 6157, 6159, 6161, 6163, 6165, 6167, 6169, 6171, 6173, 6175, 6177, 6179, 6181, 6183, 6185, 6187, 6189, 6191, 6193, 6195, 6197, 6199, 6201, 6203, 6205, 6207, 6209, 6211, 6213, 6215, 6217, 6219, 6221, 6223, 6225, 6227, 6229] */
function _fun48090(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#48090, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5651:6, offset: 0x011d9aa4, size: 9486 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/assets/native.tsx');
const AccountAgeTier10LargeBadge = (require(5474) /* metro dependency 5474: AccountAgeTier10LargeBadgeNative */).AccountAgeTier10LargeBadge;
exports.AccountAgeTier10LargeBadge = AccountAgeTier10LargeBadge;
const AccountAgeTier10SmallBadge = (require(5479) /* metro dependency 5479: AccountAgeTier10SmallBadgeNative */).AccountAgeTier10SmallBadge;
exports.AccountAgeTier10SmallBadge = AccountAgeTier10SmallBadge;
const AccountAgeTier1LargeBadge = (require(5481) /* metro dependency 5481: AccountAgeTier1LargeBadgeNative */).AccountAgeTier1LargeBadge;
exports.AccountAgeTier1LargeBadge = AccountAgeTier1LargeBadge;
const AccountAgeTier1SmallBadge = (require(5483) /* metro dependency 5483: AccountAgeTier1SmallBadgeNative */).AccountAgeTier1SmallBadge;
exports.AccountAgeTier1SmallBadge = AccountAgeTier1SmallBadge;
const AccountAgeTier2LargeBadge = (require(5485) /* metro dependency 5485: AccountAgeTier2LargeBadgeNative */).AccountAgeTier2LargeBadge;
exports.AccountAgeTier2LargeBadge = AccountAgeTier2LargeBadge;
const AccountAgeTier2SmallBadge = (require(5487) /* metro dependency 5487: AccountAgeTier2SmallBadgeNative */).AccountAgeTier2SmallBadge;
exports.AccountAgeTier2SmallBadge = AccountAgeTier2SmallBadge;
const AccountAgeTier3LargeBadge = (require(5489) /* metro dependency 5489: AccountAgeTier3LargeBadgeNative */).AccountAgeTier3LargeBadge;
exports.AccountAgeTier3LargeBadge = AccountAgeTier3LargeBadge;
const AccountAgeTier3SmallBadge = (require(5491) /* metro dependency 5491: AccountAgeTier3SmallBadgeNative */).AccountAgeTier3SmallBadge;
exports.AccountAgeTier3SmallBadge = AccountAgeTier3SmallBadge;
const AccountAgeTier4LargeBadge = (require(5493) /* metro dependency 5493: AccountAgeTier4LargeBadgeNative */).AccountAgeTier4LargeBadge;
exports.AccountAgeTier4LargeBadge = AccountAgeTier4LargeBadge;
const AccountAgeTier4SmallBadge = (require(5495) /* metro dependency 5495: AccountAgeTier4SmallBadgeNative */).AccountAgeTier4SmallBadge;
exports.AccountAgeTier4SmallBadge = AccountAgeTier4SmallBadge;
const AccountAgeTier5LargeBadge = (require(5497) /* metro dependency 5497: AccountAgeTier5LargeBadgeNative */).AccountAgeTier5LargeBadge;
exports.AccountAgeTier5LargeBadge = AccountAgeTier5LargeBadge;
const AccountAgeTier5SmallBadge = (require(5499) /* metro dependency 5499: AccountAgeTier5SmallBadgeNative */).AccountAgeTier5SmallBadge;
exports.AccountAgeTier5SmallBadge = AccountAgeTier5SmallBadge;
const AccountAgeTier6LargeBadge = (require(5501) /* metro dependency 5501: AccountAgeTier6LargeBadgeNative */).AccountAgeTier6LargeBadge;
exports.AccountAgeTier6LargeBadge = AccountAgeTier6LargeBadge;
const AccountAgeTier6SmallBadge = (require(5503) /* metro dependency 5503: AccountAgeTier6SmallBadgeNative */).AccountAgeTier6SmallBadge;
exports.AccountAgeTier6SmallBadge = AccountAgeTier6SmallBadge;
const AccountAgeTier7LargeBadge = (require(5505) /* metro dependency 5505: AccountAgeTier7LargeBadgeNative */).AccountAgeTier7LargeBadge;
exports.AccountAgeTier7LargeBadge = AccountAgeTier7LargeBadge;
const AccountAgeTier7SmallBadge = (require(5507) /* metro dependency 5507: AccountAgeTier7SmallBadgeNative */).AccountAgeTier7SmallBadge;
exports.AccountAgeTier7SmallBadge = AccountAgeTier7SmallBadge;
const AccountAgeTier8LargeBadge = (require(5509) /* metro dependency 5509: AccountAgeTier8LargeBadgeNative */).AccountAgeTier8LargeBadge;
exports.AccountAgeTier8LargeBadge = AccountAgeTier8LargeBadge;
const AccountAgeTier8SmallBadge = (require(5511) /* metro dependency 5511: AccountAgeTier8SmallBadgeNative */).AccountAgeTier8SmallBadge;
exports.AccountAgeTier8SmallBadge = AccountAgeTier8SmallBadge;
const AccountAgeTier9LargeBadge = (require(5513) /* metro dependency 5513: AccountAgeTier9LargeBadgeNative */).AccountAgeTier9LargeBadge;
exports.AccountAgeTier9LargeBadge = AccountAgeTier9LargeBadge;
const AccountAgeTier9SmallBadge = (require(5515) /* metro dependency 5515: AccountAgeTier9SmallBadgeNative */).AccountAgeTier9SmallBadge;
exports.AccountAgeTier9SmallBadge = AccountAgeTier9SmallBadge;
const ActivatedGem3dIllustration = (require(5517) /* metro dependency 5517: ActivatedGem3dIllustrationNative */).ActivatedGem3dIllustration;
exports.ActivatedGem3dIllustration = ActivatedGem3dIllustration;
const ActivitiesIllocon = (require(5519) /* metro dependency 5519: ActivitiesIlloconNative */).ActivitiesIllocon;
exports.ActivitiesIllocon = ActivitiesIllocon;
const AgeVerificationSpotIllustration = (require(5521) /* metro dependency 5521: AgeVerificationSpotIllustrationNative */).AgeVerificationSpotIllustration;
exports.AgeVerificationSpotIllustration = AgeVerificationSpotIllustration;
const AnimatedAvatarsAbstractUI = (require(5523) /* metro dependency 5523: AnimatedAvatarsAbstractUINative */).AnimatedAvatarsAbstractUI;
exports.AnimatedAvatarsAbstractUI = AnimatedAvatarsAbstractUI;
const AnimatedBannersAbstractUI = (require(5525) /* metro dependency 5525: AnimatedBannersAbstractUINative */).AnimatedBannersAbstractUI;
exports.AnimatedBannersAbstractUI = AnimatedBannersAbstractUI;
const ApiIllocon = (require(5527) /* metro dependency 5527: ApiIlloconNative */).ApiIllocon;
exports.ApiIllocon = ApiIllocon;
const AppleIllocon = (require(5529) /* metro dependency 5529: AppleIlloconNative */).AppleIllocon;
exports.AppleIllocon = AppleIllocon;
const AppsButtonSpotIllustration = (require(5531) /* metro dependency 5531: AppsButtonSpotIllustrationNative */).AppsButtonSpotIllustration;
exports.AppsButtonSpotIllustration = AppsButtonSpotIllustration;
const AvatarCapExample = (require(5533) /* metro dependency 5533: AvatarCapExampleNative */).AvatarCapExample;
exports.AvatarCapExample = AvatarCapExample;
const AvatarClydeExample = (require(5535) /* metro dependency 5535: AvatarClydeExampleNative */).AvatarClydeExample;
exports.AvatarClydeExample = AvatarClydeExample;
const AvatarDannoExample = (require(5537) /* metro dependency 5537: AvatarDannoExampleNative */).AvatarDannoExample;
exports.AvatarDannoExample = AvatarDannoExample;
const AvatarDecorationsAbstractUI = (require(5539) /* metro dependency 5539: AvatarDecorationsAbstractUINative */).AvatarDecorationsAbstractUI;
exports.AvatarDecorationsAbstractUI = AvatarDecorationsAbstractUI;
const AvatarDefaultExample = (require(5541) /* metro dependency 5541: AvatarDefaultExampleNative */).AvatarDefaultExample;
exports.AvatarDefaultExample = AvatarDefaultExample;
const AvatarGraggleExample = (require(5543) /* metro dependency 5543: AvatarGraggleExampleNative */).AvatarGraggleExample;
exports.AvatarGraggleExample = AvatarGraggleExample;
const AvatarLockeExample = (require(5545) /* metro dependency 5545: AvatarLockeExampleNative */).AvatarLockeExample;
exports.AvatarLockeExample = AvatarLockeExample;
const AvatarLokyExample = (require(5547) /* metro dependency 5547: AvatarLokyExampleNative */).AvatarLokyExample;
exports.AvatarLokyExample = AvatarLokyExample;
const AvatarMallowExample = (require(5549) /* metro dependency 5549: AvatarMallowExampleNative */).AvatarMallowExample;
exports.AvatarMallowExample = AvatarMallowExample;
const AvatarMoatmonsturrExample = (require(5551) /* metro dependency 5551: AvatarMoatmonsturrExampleNative */).AvatarMoatmonsturrExample;
exports.AvatarMoatmonsturrExample = AvatarMoatmonsturrExample;
const AvatarNellyExample = (require(5553) /* metro dependency 5553: AvatarNellyExampleNative */).AvatarNellyExample;
exports.AvatarNellyExample = AvatarNellyExample;
const AvatarRoseExample = (require(5555) /* metro dependency 5555: AvatarRoseExampleNative */).AvatarRoseExample;
exports.AvatarRoseExample = AvatarRoseExample;
const AvatarSpellcastExample = (require(5557) /* metro dependency 5557: AvatarSpellcastExampleNative */).AvatarSpellcastExample;
exports.AvatarSpellcastExample = AvatarSpellcastExample;
const AvatarWumpusExample = (require(5559) /* metro dependency 5559: AvatarWumpusExampleNative */).AvatarWumpusExample;
exports.AvatarWumpusExample = AvatarWumpusExample;
const BadgePacksAbstractUI = (require(5561) /* metro dependency 5561: BadgePacksAbstractUINative */).BadgePacksAbstractUI;
exports.BadgePacksAbstractUI = BadgePacksAbstractUI;
const BananaSpotIllustration = (require(5563) /* metro dependency 5563: BananaSpotIllustrationNative */).BananaSpotIllustration;
exports.BananaSpotIllustration = BananaSpotIllustration;
const BeakerIllocon = (require(5565) /* metro dependency 5565: BeakerIlloconNative */).BeakerIllocon;
exports.BeakerIllocon = BeakerIllocon;
const BeeIllocon = (require(5567) /* metro dependency 5567: BeeIlloconNative */).BeeIllocon;
exports.BeeIllocon = BeeIllocon;
const BellSpotIllustration = (require(5569) /* metro dependency 5569: BellSpotIllustrationNative */).BellSpotIllustration;
exports.BellSpotIllustration = BellSpotIllustration;
const BlossomIllocon = (require(5571) /* metro dependency 5571: BlossomIlloconNative */).BlossomIllocon;
exports.BlossomIllocon = BlossomIllocon;
const BookIllocon = (require(5573) /* metro dependency 5573: BookIlloconNative */).BookIllocon;
exports.BookIllocon = BookIllocon;
const BoostGemIllocon = (require(5575) /* metro dependency 5575: BoostGemIlloconNative */).BoostGemIllocon;
exports.BoostGemIllocon = BoostGemIllocon;
const BotIllocon = (require(5577) /* metro dependency 5577: BotIlloconNative */).BotIllocon;
exports.BotIllocon = BotIllocon;
const BountiesPosterIllocon = (require(5579) /* metro dependency 5579: BountiesPosterIlloconNative */).BountiesPosterIllocon;
exports.BountiesPosterIllocon = BountiesPosterIllocon;
const BountiesPosterSpotIllustration = (require(5581) /* metro dependency 5581: BountiesPosterSpotIllustrationNative */).BountiesPosterSpotIllustration;
exports.BountiesPosterSpotIllustration = BountiesPosterSpotIllustration;
const BrushAndSwordIllocon = (require(5583) /* metro dependency 5583: BrushAndSwordIlloconNative */).BrushAndSwordIllocon;
exports.BrushAndSwordIllocon = BrushAndSwordIllocon;
const BrushIllocon = (require(5585) /* metro dependency 5585: BrushIlloconNative */).BrushIllocon;
exports.BrushIllocon = BrushIllocon;
const BugSpotIllustration = (require(5587) /* metro dependency 5587: BugSpotIllustrationNative */).BugSpotIllustration;
exports.BugSpotIllustration = BugSpotIllustration;
const BuildingBlocksSpotIllustration = (require(5589) /* metro dependency 5589: BuildingBlocksSpotIllustrationNative */).BuildingBlocksSpotIllustration;
exports.BuildingBlocksSpotIllustration = BuildingBlocksSpotIllustration;
const BumpingFistsSpotIllustration = (require(5591) /* metro dependency 5591: BumpingFistsSpotIllustrationNative */).BumpingFistsSpotIllustration;
exports.BumpingFistsSpotIllustration = BumpingFistsSpotIllustration;
const BunnyIllocon = (require(5593) /* metro dependency 5593: BunnyIlloconNative */).BunnyIllocon;
exports.BunnyIllocon = BunnyIllocon;
const ButterflyIllocon = (require(5595) /* metro dependency 5595: ButterflyIlloconNative */).ButterflyIllocon;
exports.ButterflyIllocon = ButterflyIllocon;
const CampfireSceneSpotIllustration = (require(5597) /* metro dependency 5597: CampfireSceneSpotIllustrationNative */).CampfireSceneSpotIllustration;
exports.CampfireSceneSpotIllustration = CampfireSceneSpotIllustration;
const CampfireSpotIllustration = (require(5599) /* metro dependency 5599: CampfireSpotIllustrationNative */).CampfireSpotIllustration;
exports.CampfireSpotIllustration = CampfireSpotIllustration;
const CandyIllocon = (require(5601) /* metro dependency 5601: CandyIlloconNative */).CandyIllocon;
exports.CandyIllocon = CandyIllocon;
const CatIllocon = (require(5603) /* metro dependency 5603: CatIlloconNative */).CatIllocon;
exports.CatIllocon = CatIllocon;
const CaterpillarIllocon = (require(5605) /* metro dependency 5605: CaterpillarIlloconNative */).CaterpillarIllocon;
exports.CaterpillarIllocon = CaterpillarIllocon;
const ChairIllocon = (require(5607) /* metro dependency 5607: ChairIlloconNative */).ChairIllocon;
exports.ChairIllocon = ChairIllocon;
const ChatControllersSpotIllustration = (require(5609) /* metro dependency 5609: ChatControllersSpotIllustrationNative */).ChatControllersSpotIllustration;
exports.ChatControllersSpotIllustration = ChatControllersSpotIllustration;
const ChestAndGemSpotIllustration = (require(5611) /* metro dependency 5611: ChestAndGemSpotIllustrationNative */).ChestAndGemSpotIllustration;
exports.ChestAndGemSpotIllustration = ChestAndGemSpotIllustration;
const CloudKeypadSpotIllustration = (require(5613) /* metro dependency 5613: CloudKeypadSpotIllustrationNative */).CloudKeypadSpotIllustration;
exports.CloudKeypadSpotIllustration = CloudKeypadSpotIllustration;
const CloverIllocon = (require(5615) /* metro dependency 5615: CloverIlloconNative */).CloverIllocon;
exports.CloverIllocon = CloverIllocon;
const ClydeAngledSpotIllustration = (require(5617) /* metro dependency 5617: ClydeAngledSpotIllustrationNative */).ClydeAngledSpotIllustration;
exports.ClydeAngledSpotIllustration = ClydeAngledSpotIllustration;
const ClydeAnnouncementSpotIllustration = (require(5619) /* metro dependency 5619: ClydeAnnouncementSpotIllustrationNative */).ClydeAnnouncementSpotIllustration;
exports.ClydeAnnouncementSpotIllustration = ClydeAnnouncementSpotIllustration;
const ClydeCoinsSpotIllustration = (require(5621) /* metro dependency 5621: ClydeCoinsSpotIllustrationNative */).ClydeCoinsSpotIllustration;
exports.ClydeCoinsSpotIllustration = ClydeCoinsSpotIllustration;
const ClydeHeadsetSpotIllustration = (require(5623) /* metro dependency 5623: ClydeHeadsetSpotIllustrationNative */).ClydeHeadsetSpotIllustration;
exports.ClydeHeadsetSpotIllustration = ClydeHeadsetSpotIllustration;
const ClydeHologramSpotIllustration = (require(5625) /* metro dependency 5625: ClydeHologramSpotIllustrationNative */).ClydeHologramSpotIllustration;
exports.ClydeHologramSpotIllustration = ClydeHologramSpotIllustration;
const ClydeShieldSpotIllustration = (require(5627) /* metro dependency 5627: ClydeShieldSpotIllustrationNative */).ClydeShieldSpotIllustration;
exports.ClydeShieldSpotIllustration = ClydeShieldSpotIllustration;
const CoinBagSpotIllustration = (require(5629) /* metro dependency 5629: CoinBagSpotIllustrationNative */).CoinBagSpotIllustration;
exports.CoinBagSpotIllustration = CoinBagSpotIllustration;
const CoinSlotSpotIllustration = (require(5631) /* metro dependency 5631: CoinSlotSpotIllustrationNative */).CoinSlotSpotIllustration;
exports.CoinSlotSpotIllustration = CoinSlotSpotIllustration;
const CompassIllocon = (require(5633) /* metro dependency 5633: CompassIlloconNative */).CompassIllocon;
exports.CompassIllocon = CompassIllocon;
const CompassSpotIllustration = (require(5635) /* metro dependency 5635: CompassSpotIllustrationNative */).CompassSpotIllustration;
exports.CompassSpotIllustration = CompassSpotIllustration;
const ConnectionCablesSpotIllustration = (require(5637) /* metro dependency 5637: ConnectionCablesSpotIllustrationNative */).ConnectionCablesSpotIllustration;
exports.ConnectionCablesSpotIllustration = ConnectionCablesSpotIllustration;
const ControllerIllocon = (require(5639) /* metro dependency 5639: ControllerIlloconNative */).ControllerIllocon;
exports.ControllerIllocon = ControllerIllocon;
const ControllerSpotIllustration = (require(5641) /* metro dependency 5641: ControllerSpotIllustrationNative */).ControllerSpotIllustration;
exports.ControllerSpotIllustration = ControllerSpotIllustration;
const CouchSpotIllustration = (require(5643) /* metro dependency 5643: CouchSpotIllustrationNative */).CouchSpotIllustration;
exports.CouchSpotIllustration = CouchSpotIllustration;
const CrosshairIllocon = (require(5645) /* metro dependency 5645: CrosshairIlloconNative */).CrosshairIllocon;
exports.CrosshairIllocon = CrosshairIllocon;
const CrownIllocon = (require(5647) /* metro dependency 5647: CrownIlloconNative */).CrownIllocon;
exports.CrownIllocon = CrownIllocon;
const D20SpotIllustration = (require(5649) /* metro dependency 5649: D20SpotIllustrationNative */).D20SpotIllustration;
exports.D20SpotIllustration = D20SpotIllustration;
const DeprecatedPaintPaletteSpotIllustration = (require(5651) /* metro dependency 5651: DeprecatedPaintPaletteSpotIllustrationNative */).DeprecatedPaintPaletteSpotIllustration;
exports.DeprecatedPaintPaletteSpotIllustration = DeprecatedPaintPaletteSpotIllustration;
const DevCommerceTallAbstractUI = (require(5653) /* metro dependency 5653: DevCommerceTallAbstractUINative */).DevCommerceTallAbstractUI;
exports.DevCommerceTallAbstractUI = DevCommerceTallAbstractUI;
const DevCommerceWideAbstractUI = (require(5655) /* metro dependency 5655: DevCommerceWideAbstractUINative */).DevCommerceWideAbstractUI;
exports.DevCommerceWideAbstractUI = DevCommerceWideAbstractUI;
const DevIdentityTallAbstractUI = (require(5657) /* metro dependency 5657: DevIdentityTallAbstractUINative */).DevIdentityTallAbstractUI;
exports.DevIdentityTallAbstractUI = DevIdentityTallAbstractUI;
const DevIdentityWideAbstractUI = (require(5659) /* metro dependency 5659: DevIdentityWideAbstractUINative */).DevIdentityWideAbstractUI;
exports.DevIdentityWideAbstractUI = DevIdentityWideAbstractUI;
const DevQuestsTallAbstractUI = (require(5661) /* metro dependency 5661: DevQuestsTallAbstractUINative */).DevQuestsTallAbstractUI;
exports.DevQuestsTallAbstractUI = DevQuestsTallAbstractUI;
const DevQuestsWideAbstractUI = (require(5663) /* metro dependency 5663: DevQuestsWideAbstractUINative */).DevQuestsWideAbstractUI;
exports.DevQuestsWideAbstractUI = DevQuestsWideAbstractUI;
const DevSdkTallAbstractUI = (require(5665) /* metro dependency 5665: DevSdkTallAbstractUINative */).DevSdkTallAbstractUI;
exports.DevSdkTallAbstractUI = DevSdkTallAbstractUI;
const DevSdkWideAbstractUI = (require(5667) /* metro dependency 5667: DevSdkWideAbstractUINative */).DevSdkWideAbstractUI;
exports.DevSdkWideAbstractUI = DevSdkWideAbstractUI;
const DiamondIllocon = (require(5669) /* metro dependency 5669: DiamondIlloconNative */).DiamondIllocon;
exports.DiamondIllocon = DiamondIllocon;
const DiamondSpotIllustration = (require(5671) /* metro dependency 5671: DiamondSpotIllustrationNative */).DiamondSpotIllustration;
exports.DiamondSpotIllustration = DiamondSpotIllustration;
const DiscordNitroLockupLogo = (require(5673) /* metro dependency 5673: DiscordNitroLockupLogoNative */).DiscordNitroLockupLogo;
exports.DiscordNitroLockupLogo = DiscordNitroLockupLogo;
const DiscordQuestsLockupLogo = (require(5675) /* metro dependency 5675: DiscordQuestsLockupLogoNative */).DiscordQuestsLockupLogo;
exports.DiscordQuestsLockupLogo = DiscordQuestsLockupLogo;
const DiscordShopLockupLogo = (require(5677) /* metro dependency 5677: DiscordShopLockupLogoNative */).DiscordShopLockupLogo;
exports.DiscordShopLockupLogo = DiscordShopLockupLogo;
const DiscordSupergraphicLogo = (require(5679) /* metro dependency 5679: DiscordSupergraphicLogoNative */).DiscordSupergraphicLogo;
exports.DiscordSupergraphicLogo = DiscordSupergraphicLogo;
const DiscordWordmarkLogo = (require(5681) /* metro dependency 5681: DiscordWordmarkLogoNative */).DiscordWordmarkLogo;
exports.DiscordWordmarkLogo = DiscordWordmarkLogo;
const DisguiseSpotIllustration = (require(5683) /* metro dependency 5683: DisguiseSpotIllustrationNative */).DisguiseSpotIllustration;
exports.DisguiseSpotIllustration = DisguiseSpotIllustration;
const DisplayNameAbstractUI = (require(5685) /* metro dependency 5685: DisplayNameAbstractUINative */).DisplayNameAbstractUI;
exports.DisplayNameAbstractUI = DisplayNameAbstractUI;
const DisplayNameStylesAbstractUI = (require(5687) /* metro dependency 5687: DisplayNameStylesAbstractUINative */).DisplayNameStylesAbstractUI;
exports.DisplayNameStylesAbstractUI = DisplayNameStylesAbstractUI;
const DogIllocon = (require(5689) /* metro dependency 5689: DogIlloconNative */).DogIllocon;
exports.DogIllocon = DogIllocon;
const DollarSignIllocon = (require(5691) /* metro dependency 5691: DollarSignIlloconNative */).DollarSignIllocon;
exports.DollarSignIllocon = DollarSignIllocon;
const DownloadBarIllocon = (require(5693) /* metro dependency 5693: DownloadBarIlloconNative */).DownloadBarIllocon;
exports.DownloadBarIllocon = DownloadBarIllocon;
const DownloadIllocon = (require(5695) /* metro dependency 5695: DownloadIlloconNative */).DownloadIllocon;
exports.DownloadIllocon = DownloadIllocon;
const EmojiSlotsAbstractUI = (require(5697) /* metro dependency 5697: EmojiSlotsAbstractUINative */).EmojiSlotsAbstractUI;
exports.EmojiSlotsAbstractUI = EmojiSlotsAbstractUI;
const EnvelopeOpenSpotIllustration = (require(5699) /* metro dependency 5699: EnvelopeOpenSpotIllustrationNative */).EnvelopeOpenSpotIllustration;
exports.EnvelopeOpenSpotIllustration = EnvelopeOpenSpotIllustration;
const EnvelopeSpotIllustration = (require(5701) /* metro dependency 5701: EnvelopeSpotIllustrationNative */).EnvelopeSpotIllustration;
exports.EnvelopeSpotIllustration = EnvelopeSpotIllustration;
const ExperimentalCustomUrlAbstractUI = (require(5703) /* metro dependency 5703: ExperimentalCustomUrlAbstractUINative */).ExperimentalCustomUrlAbstractUI;
exports.ExperimentalCustomUrlAbstractUI = ExperimentalCustomUrlAbstractUI;
const ExperimentalDiscordShopLockupExperiementLogo = (require(5705) /* metro dependency 5705: ExperimentalDiscordShopLockupExperiementLogoNative */).ExperimentalDiscordShopLockupExperiementLogo;
exports.ExperimentalDiscordShopLockupExperiementLogo = ExperimentalDiscordShopLockupExperiementLogo;
const ExperimentalGameWidgetsAbstractUI = (require(5707) /* metro dependency 5707: ExperimentalGameWidgetsAbstractUINative */).ExperimentalGameWidgetsAbstractUI;
exports.ExperimentalGameWidgetsAbstractUI = ExperimentalGameWidgetsAbstractUI;
const ExperimentalGiftEnvelopeIllocon = (require(5709) /* metro dependency 5709: ExperimentalGiftEnvelopeIlloconNative */).ExperimentalGiftEnvelopeIllocon;
exports.ExperimentalGiftEnvelopeIllocon = ExperimentalGiftEnvelopeIllocon;
const ExperimentalMarvelRivalsWidgetAbstractUI = (require(5711) /* metro dependency 5711: ExperimentalMarvelRivalsWidgetAbstractUINative */).ExperimentalMarvelRivalsWidgetAbstractUI;
exports.ExperimentalMarvelRivalsWidgetAbstractUI = ExperimentalMarvelRivalsWidgetAbstractUI;
const FamilySpotIllustration = (require(5713) /* metro dependency 5713: FamilySpotIllustrationNative */).FamilySpotIllustration;
exports.FamilySpotIllustration = FamilySpotIllustration;
const FavoritesSpotIllustration = (require(5715) /* metro dependency 5715: FavoritesSpotIllustrationNative */).FavoritesSpotIllustration;
exports.FavoritesSpotIllustration = FavoritesSpotIllustration;
const FileUploadSpotIllustration = (require(5717) /* metro dependency 5717: FileUploadSpotIllustrationNative */).FileUploadSpotIllustration;
exports.FileUploadSpotIllustration = FileUploadSpotIllustration;
const FireIllocon = (require(5719) /* metro dependency 5719: FireIlloconNative */).FireIllocon;
exports.FireIllocon = FireIllocon;
const FistBumpSpotIllustration = (require(5721) /* metro dependency 5721: FistBumpSpotIllustrationNative */).FistBumpSpotIllustration;
exports.FistBumpSpotIllustration = FistBumpSpotIllustration;
const FlowerIllocon = (require(5723) /* metro dependency 5723: FlowerIlloconNative */).FlowerIllocon;
exports.FlowerIllocon = FlowerIllocon;
const ForceIllocon = (require(5725) /* metro dependency 5725: ForceIlloconNative */).ForceIllocon;
exports.ForceIllocon = ForceIllocon;
const FrogIllocon = (require(5727) /* metro dependency 5727: FrogIlloconNative */).FrogIllocon;
exports.FrogIllocon = FrogIllocon;
const GameCartridgeSpotIllustration = (require(5729) /* metro dependency 5729: GameCartridgeSpotIllustrationNative */).GameCartridgeSpotIllustration;
exports.GameCartridgeSpotIllustration = GameCartridgeSpotIllustration;
const GameDataSpotIllustration = (require(5731) /* metro dependency 5731: GameDataSpotIllustrationNative */).GameDataSpotIllustration;
exports.GameDataSpotIllustration = GameDataSpotIllustration;
const GameDepthTier10LargeBadge = (require(5733) /* metro dependency 5733: GameDepthTier10LargeBadgeNative */).GameDepthTier10LargeBadge;
exports.GameDepthTier10LargeBadge = GameDepthTier10LargeBadge;
const GameDepthTier10SmallBadge = (require(5735) /* metro dependency 5735: GameDepthTier10SmallBadgeNative */).GameDepthTier10SmallBadge;
exports.GameDepthTier10SmallBadge = GameDepthTier10SmallBadge;
const GameDepthTier1LargeBadge = (require(5737) /* metro dependency 5737: GameDepthTier1LargeBadgeNative */).GameDepthTier1LargeBadge;
exports.GameDepthTier1LargeBadge = GameDepthTier1LargeBadge;
const GameDepthTier1SmallBadge = (require(5739) /* metro dependency 5739: GameDepthTier1SmallBadgeNative */).GameDepthTier1SmallBadge;
exports.GameDepthTier1SmallBadge = GameDepthTier1SmallBadge;
const GameDepthTier2LargeBadge = (require(5741) /* metro dependency 5741: GameDepthTier2LargeBadgeNative */).GameDepthTier2LargeBadge;
exports.GameDepthTier2LargeBadge = GameDepthTier2LargeBadge;
const GameDepthTier2SmallBadge = (require(5743) /* metro dependency 5743: GameDepthTier2SmallBadgeNative */).GameDepthTier2SmallBadge;
exports.GameDepthTier2SmallBadge = GameDepthTier2SmallBadge;
const GameDepthTier3LargeBadge = (require(5745) /* metro dependency 5745: GameDepthTier3LargeBadgeNative */).GameDepthTier3LargeBadge;
exports.GameDepthTier3LargeBadge = GameDepthTier3LargeBadge;
const GameDepthTier3SmallBadge = (require(5747) /* metro dependency 5747: GameDepthTier3SmallBadgeNative */).GameDepthTier3SmallBadge;
exports.GameDepthTier3SmallBadge = GameDepthTier3SmallBadge;
const GameDepthTier4LargeBadge = (require(5749) /* metro dependency 5749: GameDepthTier4LargeBadgeNative */).GameDepthTier4LargeBadge;
exports.GameDepthTier4LargeBadge = GameDepthTier4LargeBadge;
const GameDepthTier4SmallBadge = (require(5751) /* metro dependency 5751: GameDepthTier4SmallBadgeNative */).GameDepthTier4SmallBadge;
exports.GameDepthTier4SmallBadge = GameDepthTier4SmallBadge;
const GameDepthTier5LargeBadge = (require(5753) /* metro dependency 5753: GameDepthTier5LargeBadgeNative */).GameDepthTier5LargeBadge;
exports.GameDepthTier5LargeBadge = GameDepthTier5LargeBadge;
const GameDepthTier5SmallBadge = (require(5755) /* metro dependency 5755: GameDepthTier5SmallBadgeNative */).GameDepthTier5SmallBadge;
exports.GameDepthTier5SmallBadge = GameDepthTier5SmallBadge;
const GameDepthTier6LargeBadge = (require(5757) /* metro dependency 5757: GameDepthTier6LargeBadgeNative */).GameDepthTier6LargeBadge;
exports.GameDepthTier6LargeBadge = GameDepthTier6LargeBadge;
const GameDepthTier6SmallBadge = (require(5759) /* metro dependency 5759: GameDepthTier6SmallBadgeNative */).GameDepthTier6SmallBadge;
exports.GameDepthTier6SmallBadge = GameDepthTier6SmallBadge;
const GameDepthTier7LargeBadge = (require(5761) /* metro dependency 5761: GameDepthTier7LargeBadgeNative */).GameDepthTier7LargeBadge;
exports.GameDepthTier7LargeBadge = GameDepthTier7LargeBadge;
const GameDepthTier7SmallBadge = (require(5763) /* metro dependency 5763: GameDepthTier7SmallBadgeNative */).GameDepthTier7SmallBadge;
exports.GameDepthTier7SmallBadge = GameDepthTier7SmallBadge;
const GameDepthTier8LargeBadge = (require(5765) /* metro dependency 5765: GameDepthTier8LargeBadgeNative */).GameDepthTier8LargeBadge;
exports.GameDepthTier8LargeBadge = GameDepthTier8LargeBadge;
const GameDepthTier8SmallBadge = (require(5767) /* metro dependency 5767: GameDepthTier8SmallBadgeNative */).GameDepthTier8SmallBadge;
exports.GameDepthTier8SmallBadge = GameDepthTier8SmallBadge;
const GameDepthTier9LargeBadge = (require(5769) /* metro dependency 5769: GameDepthTier9LargeBadgeNative */).GameDepthTier9LargeBadge;
exports.GameDepthTier9LargeBadge = GameDepthTier9LargeBadge;
const GameDepthTier9SmallBadge = (require(5771) /* metro dependency 5771: GameDepthTier9SmallBadgeNative */).GameDepthTier9SmallBadge;
exports.GameDepthTier9SmallBadge = GameDepthTier9SmallBadge;
const GameDiversityTier10LargeBadge = (require(5773) /* metro dependency 5773: GameDiversityTier10LargeBadgeNative */).GameDiversityTier10LargeBadge;
exports.GameDiversityTier10LargeBadge = GameDiversityTier10LargeBadge;
const GameDiversityTier10SmallBadge = (require(5775) /* metro dependency 5775: GameDiversityTier10SmallBadgeNative */).GameDiversityTier10SmallBadge;
exports.GameDiversityTier10SmallBadge = GameDiversityTier10SmallBadge;
const GameDiversityTier1LargeBadge = (require(5777) /* metro dependency 5777: GameDiversityTier1LargeBadgeNative */).GameDiversityTier1LargeBadge;
exports.GameDiversityTier1LargeBadge = GameDiversityTier1LargeBadge;
const GameDiversityTier1SmallBadge = (require(5779) /* metro dependency 5779: GameDiversityTier1SmallBadgeNative */).GameDiversityTier1SmallBadge;
exports.GameDiversityTier1SmallBadge = GameDiversityTier1SmallBadge;
const GameDiversityTier2LargeBadge = (require(5781) /* metro dependency 5781: GameDiversityTier2LargeBadgeNative */).GameDiversityTier2LargeBadge;
exports.GameDiversityTier2LargeBadge = GameDiversityTier2LargeBadge;
const GameDiversityTier2SmallBadge = (require(5783) /* metro dependency 5783: GameDiversityTier2SmallBadgeNative */).GameDiversityTier2SmallBadge;
exports.GameDiversityTier2SmallBadge = GameDiversityTier2SmallBadge;
const GameDiversityTier3LargeBadge = (require(5785) /* metro dependency 5785: GameDiversityTier3LargeBadgeNative */).GameDiversityTier3LargeBadge;
exports.GameDiversityTier3LargeBadge = GameDiversityTier3LargeBadge;
const GameDiversityTier3SmallBadge = (require(5787) /* metro dependency 5787: GameDiversityTier3SmallBadgeNative */).GameDiversityTier3SmallBadge;
exports.GameDiversityTier3SmallBadge = GameDiversityTier3SmallBadge;
const GameDiversityTier4LargeBadge = (require(5789) /* metro dependency 5789: GameDiversityTier4LargeBadgeNative */).GameDiversityTier4LargeBadge;
exports.GameDiversityTier4LargeBadge = GameDiversityTier4LargeBadge;
const GameDiversityTier4SmallBadge = (require(5791) /* metro dependency 5791: GameDiversityTier4SmallBadgeNative */).GameDiversityTier4SmallBadge;
exports.GameDiversityTier4SmallBadge = GameDiversityTier4SmallBadge;
const GameDiversityTier5LargeBadge = (require(5793) /* metro dependency 5793: GameDiversityTier5LargeBadgeNative */).GameDiversityTier5LargeBadge;
exports.GameDiversityTier5LargeBadge = GameDiversityTier5LargeBadge;
const GameDiversityTier5SmallBadge = (require(5795) /* metro dependency 5795: GameDiversityTier5SmallBadgeNative */).GameDiversityTier5SmallBadge;
exports.GameDiversityTier5SmallBadge = GameDiversityTier5SmallBadge;
const GameDiversityTier6LargeBadge = (require(5797) /* metro dependency 5797: GameDiversityTier6LargeBadgeNative */).GameDiversityTier6LargeBadge;
exports.GameDiversityTier6LargeBadge = GameDiversityTier6LargeBadge;
const GameDiversityTier6SmallBadge = (require(5799) /* metro dependency 5799: GameDiversityTier6SmallBadgeNative */).GameDiversityTier6SmallBadge;
exports.GameDiversityTier6SmallBadge = GameDiversityTier6SmallBadge;
const GameDiversityTier7LargeBadge = (require(5801) /* metro dependency 5801: GameDiversityTier7LargeBadgeNative */).GameDiversityTier7LargeBadge;
exports.GameDiversityTier7LargeBadge = GameDiversityTier7LargeBadge;
const GameDiversityTier7SmallBadge = (require(5803) /* metro dependency 5803: GameDiversityTier7SmallBadgeNative */).GameDiversityTier7SmallBadge;
exports.GameDiversityTier7SmallBadge = GameDiversityTier7SmallBadge;
const GameDiversityTier8LargeBadge = (require(5805) /* metro dependency 5805: GameDiversityTier8LargeBadgeNative */).GameDiversityTier8LargeBadge;
exports.GameDiversityTier8LargeBadge = GameDiversityTier8LargeBadge;
const GameDiversityTier8SmallBadge = (require(5807) /* metro dependency 5807: GameDiversityTier8SmallBadgeNative */).GameDiversityTier8SmallBadge;
exports.GameDiversityTier8SmallBadge = GameDiversityTier8SmallBadge;
const GameDiversityTier9LargeBadge = (require(5809) /* metro dependency 5809: GameDiversityTier9LargeBadgeNative */).GameDiversityTier9LargeBadge;
exports.GameDiversityTier9LargeBadge = GameDiversityTier9LargeBadge;
const GameDiversityTier9SmallBadge = (require(5811) /* metro dependency 5811: GameDiversityTier9SmallBadgeNative */).GameDiversityTier9SmallBadge;
exports.GameDiversityTier9SmallBadge = GameDiversityTier9SmallBadge;
const GamePresenceIllocon = (require(5813) /* metro dependency 5813: GamePresenceIlloconNative */).GamePresenceIllocon;
exports.GamePresenceIllocon = GamePresenceIllocon;
const GameServerAbstractUI = (require(5815) /* metro dependency 5815: GameServerAbstractUINative */).GameServerAbstractUI;
exports.GameServerAbstractUI = GameServerAbstractUI;
const GameplayAbstractUI = (require(5817) /* metro dependency 5817: GameplayAbstractUINative */).GameplayAbstractUI;
exports.GameplayAbstractUI = GameplayAbstractUI;
const GemHero3dIllustration = (require(5819) /* metro dependency 5819: GemHero3dIllustrationNative */).GemHero3dIllustration;
exports.GemHero3dIllustration = GemHero3dIllustration;
const GemIllocon = (require(5821) /* metro dependency 5821: GemIlloconNative */).GemIllocon;
exports.GemIllocon = GemIllocon;
const GemInHandSpotIllustration = (require(5823) /* metro dependency 5823: GemInHandSpotIllustrationNative */).GemInHandSpotIllustration;
exports.GemInHandSpotIllustration = GemInHandSpotIllustration;
const GemLeftForward3dIllustration = (require(5825) /* metro dependency 5825: GemLeftForward3dIllustrationNative */).GemLeftForward3dIllustration;
exports.GemLeftForward3dIllustration = GemLeftForward3dIllustration;
const GemLeftUpwards3dIllustration = (require(5827) /* metro dependency 5827: GemLeftUpwards3dIllustrationNative */).GemLeftUpwards3dIllustration;
exports.GemLeftUpwards3dIllustration = GemLeftUpwards3dIllustration;
const GemLevel1Illocon = (require(5829) /* metro dependency 5829: GemLevel1IlloconNative */).GemLevel1Illocon;
exports.GemLevel1Illocon = GemLevel1Illocon;
const GemLevel1SpotIllustration = (require(5831) /* metro dependency 5831: GemLevel1SpotIllustrationNative */).GemLevel1SpotIllustration;
exports.GemLevel1SpotIllustration = GemLevel1SpotIllustration;
const GemLevel2Illocon = (require(5833) /* metro dependency 5833: GemLevel2IlloconNative */).GemLevel2Illocon;
exports.GemLevel2Illocon = GemLevel2Illocon;
const GemLevel2SpotIllustration = (require(5835) /* metro dependency 5835: GemLevel2SpotIllustrationNative */).GemLevel2SpotIllustration;
exports.GemLevel2SpotIllustration = GemLevel2SpotIllustration;
const GemLevel3Illocon = (require(5837) /* metro dependency 5837: GemLevel3IlloconNative */).GemLevel3Illocon;
exports.GemLevel3Illocon = GemLevel3Illocon;
const GemLevel3SpotIllustration = (require(5839) /* metro dependency 5839: GemLevel3SpotIllustrationNative */).GemLevel3SpotIllustration;
exports.GemLevel3SpotIllustration = GemLevel3SpotIllustration;
const GemRightBackward3dIllustration = (require(5841) /* metro dependency 5841: GemRightBackward3dIllustrationNative */).GemRightBackward3dIllustration;
exports.GemRightBackward3dIllustration = GemRightBackward3dIllustration;
const GemRightUpwards3dIllustration = (require(5843) /* metro dependency 5843: GemRightUpwards3dIllustrationNative */).GemRightUpwards3dIllustration;
exports.GemRightUpwards3dIllustration = GemRightUpwards3dIllustration;
const GemSpotIllustration = (require(5845) /* metro dependency 5845: GemSpotIllustrationNative */).GemSpotIllustration;
exports.GemSpotIllustration = GemSpotIllustration;
const GiftBoxSpotIllustration = (require(5847) /* metro dependency 5847: GiftBoxSpotIllustrationNative */).GiftBoxSpotIllustration;
exports.GiftBoxSpotIllustration = GiftBoxSpotIllustration;
const GiftCardAvatar3dIllustration = (require(5849) /* metro dependency 5849: GiftCardAvatar3dIllustrationNative */).GiftCardAvatar3dIllustration;
exports.GiftCardAvatar3dIllustration = GiftCardAvatar3dIllustration;
const GiftCardRedeem3dIllustration = (require(5851) /* metro dependency 5851: GiftCardRedeem3dIllustrationNative */).GiftCardRedeem3dIllustration;
exports.GiftCardRedeem3dIllustration = GiftCardRedeem3dIllustration;
const GiftCardStack3dIllustration = (require(5853) /* metro dependency 5853: GiftCardStack3dIllustrationNative */).GiftCardStack3dIllustration;
exports.GiftCardStack3dIllustration = GiftCardStack3dIllustration;
const GiftCardWallet3dIllustration = (require(5855) /* metro dependency 5855: GiftCardWallet3dIllustrationNative */).GiftCardWallet3dIllustration;
exports.GiftCardWallet3dIllustration = GiftCardWallet3dIllustration;
const GiftTrollIllocon = (require(5857) /* metro dependency 5857: GiftTrollIlloconNative */).GiftTrollIllocon;
exports.GiftTrollIllocon = GiftTrollIllocon;
const GiftingTier1LargeBadge = (require(5859) /* metro dependency 5859: GiftingTier1LargeBadgeNative */).GiftingTier1LargeBadge;
exports.GiftingTier1LargeBadge = GiftingTier1LargeBadge;
const GiftingTier1SmallBadge = (require(5861) /* metro dependency 5861: GiftingTier1SmallBadgeNative */).GiftingTier1SmallBadge;
exports.GiftingTier1SmallBadge = GiftingTier1SmallBadge;
const GiftingTier2LargeBadge = (require(5863) /* metro dependency 5863: GiftingTier2LargeBadgeNative */).GiftingTier2LargeBadge;
exports.GiftingTier2LargeBadge = GiftingTier2LargeBadge;
const GiftingTier2SmallBadge = (require(5865) /* metro dependency 5865: GiftingTier2SmallBadgeNative */).GiftingTier2SmallBadge;
exports.GiftingTier2SmallBadge = GiftingTier2SmallBadge;
const GiftingTier3LargeBadge = (require(5867) /* metro dependency 5867: GiftingTier3LargeBadgeNative */).GiftingTier3LargeBadge;
exports.GiftingTier3LargeBadge = GiftingTier3LargeBadge;
const GiftingTier3SmallBadge = (require(5869) /* metro dependency 5869: GiftingTier3SmallBadgeNative */).GiftingTier3SmallBadge;
exports.GiftingTier3SmallBadge = GiftingTier3SmallBadge;
const GiftingTier4LargeBadge = (require(5871) /* metro dependency 5871: GiftingTier4LargeBadgeNative */).GiftingTier4LargeBadge;
exports.GiftingTier4LargeBadge = GiftingTier4LargeBadge;
const GiftingTier4SmallBadge = (require(5873) /* metro dependency 5873: GiftingTier4SmallBadgeNative */).GiftingTier4SmallBadge;
exports.GiftingTier4SmallBadge = GiftingTier4SmallBadge;
const GiftingTier5LargeBadge = (require(5875) /* metro dependency 5875: GiftingTier5LargeBadgeNative */).GiftingTier5LargeBadge;
exports.GiftingTier5LargeBadge = GiftingTier5LargeBadge;
const GiftingTier5SmallBadge = (require(5877) /* metro dependency 5877: GiftingTier5SmallBadgeNative */).GiftingTier5SmallBadge;
exports.GiftingTier5SmallBadge = GiftingTier5SmallBadge;
const GiftingTier6LargeBadge = (require(5879) /* metro dependency 5879: GiftingTier6LargeBadgeNative */).GiftingTier6LargeBadge;
exports.GiftingTier6LargeBadge = GiftingTier6LargeBadge;
const GiftingTier6SmallBadge = (require(5881) /* metro dependency 5881: GiftingTier6SmallBadgeNative */).GiftingTier6SmallBadge;
exports.GiftingTier6SmallBadge = GiftingTier6SmallBadge;
const GoatIllocon = (require(5883) /* metro dependency 5883: GoatIlloconNative */).GoatIllocon;
exports.GoatIllocon = GoatIllocon;
const GroupGamingSpotIllustration = (require(5885) /* metro dependency 5885: GroupGamingSpotIllustrationNative */).GroupGamingSpotIllustration;
exports.GroupGamingSpotIllustration = GroupGamingSpotIllustration;
const GuidelinesIllocon = (require(5887) /* metro dependency 5887: GuidelinesIlloconNative */).GuidelinesIllocon;
exports.GuidelinesIllocon = GuidelinesIllocon;
const HandheldSpotIllustration = (require(5889) /* metro dependency 5889: HandheldSpotIllustrationNative */).HandheldSpotIllustration;
exports.HandheldSpotIllustration = HandheldSpotIllustration;
const HdAudioSpotIllustration = (require(5891) /* metro dependency 5891: HdAudioSpotIllustrationNative */).HdAudioSpotIllustration;
exports.HdAudioSpotIllustration = HdAudioSpotIllustration;
const HdStreamAbstractUI = (require(5893) /* metro dependency 5893: HdStreamAbstractUINative */).HdStreamAbstractUI;
exports.HdStreamAbstractUI = HdStreamAbstractUI;
const HeadphonesAndControllerSpotIllustration = (require(5895) /* metro dependency 5895: HeadphonesAndControllerSpotIllustrationNative */).HeadphonesAndControllerSpotIllustration;
exports.HeadphonesAndControllerSpotIllustration = HeadphonesAndControllerSpotIllustration;
const HeadsetSpotIllustration = (require(5897) /* metro dependency 5897: HeadsetSpotIllustrationNative */).HeadsetSpotIllustration;
exports.HeadsetSpotIllustration = HeadsetSpotIllustration;
const HeartHandsSpotIllustration = (require(5899) /* metro dependency 5899: HeartHandsSpotIllustrationNative */).HeartHandsSpotIllustration;
exports.HeartHandsSpotIllustration = HeartHandsSpotIllustration;
const HeartIllocon = (require(5901) /* metro dependency 5901: HeartIlloconNative */).HeartIllocon;
exports.HeartIllocon = HeartIllocon;
const HeartJarSpotIllustration = (require(5903) /* metro dependency 5903: HeartJarSpotIllustrationNative */).HeartJarSpotIllustration;
exports.HeartJarSpotIllustration = HeartJarSpotIllustration;
const HelloWumpusSpotIllustration = (require(5905) /* metro dependency 5905: HelloWumpusSpotIllustrationNative */).HelloWumpusSpotIllustration;
exports.HelloWumpusSpotIllustration = HelloWumpusSpotIllustration;
const HeroIllocon = (require(5907) /* metro dependency 5907: HeroIlloconNative */).HeroIllocon;
exports.HeroIllocon = HeroIllocon;
const HighFiveSpotIllustration = (require(5909) /* metro dependency 5909: HighFiveSpotIllustrationNative */).HighFiveSpotIllustration;
exports.HighFiveSpotIllustration = HighFiveSpotIllustration;
const HoldingGemSpotIllustration = (require(5911) /* metro dependency 5911: HoldingGemSpotIllustrationNative */).HoldingGemSpotIllustration;
exports.HoldingGemSpotIllustration = HoldingGemSpotIllustration;
const KeyRingSpotIllustration = (require(5913) /* metro dependency 5913: KeyRingSpotIllustrationNative */).KeyRingSpotIllustration;
exports.KeyRingSpotIllustration = KeyRingSpotIllustration;
const LanternSpotIllustration = (require(5915) /* metro dependency 5915: LanternSpotIllustrationNative */).LanternSpotIllustration;
exports.LanternSpotIllustration = LanternSpotIllustration;
const LaptopSpotIllustration = (require(5917) /* metro dependency 5917: LaptopSpotIllustrationNative */).LaptopSpotIllustration;
exports.LaptopSpotIllustration = LaptopSpotIllustration;
const LavaIllocon = (require(5919) /* metro dependency 5919: LavaIlloconNative */).LavaIllocon;
exports.LavaIllocon = LavaIllocon;
const LeafIllocon = (require(5921) /* metro dependency 5921: LeafIlloconNative */).LeafIllocon;
exports.LeafIllocon = LeafIllocon;
const LightningIllocon = (require(5923) /* metro dependency 5923: LightningIlloconNative */).LightningIllocon;
exports.LightningIllocon = LightningIllocon;
const LongMessageSpotIllustration = (require(5925) /* metro dependency 5925: LongMessageSpotIllustrationNative */).LongMessageSpotIllustration;
exports.LongMessageSpotIllustration = LongMessageSpotIllustration;
const MagnifyingGlassSpotIllustration = (require(5927) /* metro dependency 5927: MagnifyingGlassSpotIllustrationNative */).MagnifyingGlassSpotIllustration;
exports.MagnifyingGlassSpotIllustration = MagnifyingGlassSpotIllustration;
const MailboxIllocon = (require(5929) /* metro dependency 5929: MailboxIlloconNative */).MailboxIllocon;
exports.MailboxIllocon = MailboxIllocon;
const MailboxSpotIllustration = (require(5931) /* metro dependency 5931: MailboxSpotIllustrationNative */).MailboxSpotIllustration;
exports.MailboxSpotIllustration = MailboxSpotIllustration;
const MapleIllocon = (require(5933) /* metro dependency 5933: MapleIlloconNative */).MapleIllocon;
exports.MapleIllocon = MapleIllocon;
const MicrophoneAndKeyboardSpotIllustration = (require(5935) /* metro dependency 5935: MicrophoneAndKeyboardSpotIllustrationNative */).MicrophoneAndKeyboardSpotIllustration;
exports.MicrophoneAndKeyboardSpotIllustration = MicrophoneAndKeyboardSpotIllustration;
const MicrophoneSpotIllustration = (require(5937) /* metro dependency 5937: MicrophoneSpotIllustrationNative */).MicrophoneSpotIllustration;
exports.MicrophoneSpotIllustration = MicrophoneSpotIllustration;
const MiniaturesSpotIllustration = (require(5939) /* metro dependency 5939: MiniaturesSpotIllustrationNative */).MiniaturesSpotIllustration;
exports.MiniaturesSpotIllustration = MiniaturesSpotIllustration;
const MissionScrollSpotIllustration = (require(5941) /* metro dependency 5941: MissionScrollSpotIllustrationNative */).MissionScrollSpotIllustration;
exports.MissionScrollSpotIllustration = MissionScrollSpotIllustration;
const MoneyBagIllocon = (require(5943) /* metro dependency 5943: MoneyBagIlloconNative */).MoneyBagIllocon;
exports.MoneyBagIllocon = MoneyBagIllocon;
const MoonIllocon = (require(5945) /* metro dependency 5945: MoonIlloconNative */).MoonIllocon;
exports.MoonIllocon = MoonIllocon;
const MushroomIllocon = (require(5947) /* metro dependency 5947: MushroomIlloconNative */).MushroomIllocon;
exports.MushroomIllocon = MushroomIllocon;
const MushroomSpotIllustration = (require(5949) /* metro dependency 5949: MushroomSpotIllustrationNative */).MushroomSpotIllustration;
exports.MushroomSpotIllustration = MushroomSpotIllustration;
const NitroCoinSpotIllustration = (require(5951) /* metro dependency 5951: NitroCoinSpotIllustrationNative */).NitroCoinSpotIllustration;
exports.NitroCoinSpotIllustration = NitroCoinSpotIllustration;
const NitroCoinStackSpotIllustration = (require(5953) /* metro dependency 5953: NitroCoinStackSpotIllustrationNative */).NitroCoinStackSpotIllustration;
exports.NitroCoinStackSpotIllustration = NitroCoinStackSpotIllustration;
const NitroFileUploadSpotIllustration = (require(5955) /* metro dependency 5955: NitroFileUploadSpotIllustrationNative */).NitroFileUploadSpotIllustration;
exports.NitroFileUploadSpotIllustration = NitroFileUploadSpotIllustration;
const NitroGradientBackgroundAbstractUI = (require(5957) /* metro dependency 5957: NitroGradientBackgroundAbstractUINative */).NitroGradientBackgroundAbstractUI;
exports.NitroGradientBackgroundAbstractUI = NitroGradientBackgroundAbstractUI;
const NitroLogoCardSpotIllustration = (require(5959) /* metro dependency 5959: NitroLogoCardSpotIllustrationNative */).NitroLogoCardSpotIllustration;
exports.NitroLogoCardSpotIllustration = NitroLogoCardSpotIllustration;
const NitroRewardsLaptopSpotIllustration = (require(5961) /* metro dependency 5961: NitroRewardsLaptopSpotIllustrationNative */).NitroRewardsLaptopSpotIllustration;
exports.NitroRewardsLaptopSpotIllustration = NitroRewardsLaptopSpotIllustration;
const NitroRewardsMouseSpotIllustration = (require(5963) /* metro dependency 5963: NitroRewardsMouseSpotIllustrationNative */).NitroRewardsMouseSpotIllustration;
exports.NitroRewardsMouseSpotIllustration = NitroRewardsMouseSpotIllustration;
const NitroRocketNameplateAbstractUI = (require(5965) /* metro dependency 5965: NitroRocketNameplateAbstractUINative */).NitroRocketNameplateAbstractUI;
exports.NitroRocketNameplateAbstractUI = NitroRocketNameplateAbstractUI;
const NitroStarterBadgeLargeBadge = (require(5967) /* metro dependency 5967: NitroStarterBadgeLargeBadgeNative */).NitroStarterBadgeLargeBadge;
exports.NitroStarterBadgeLargeBadge = NitroStarterBadgeLargeBadge;
const NitroStarterBadgeSmallBadge = (require(5969) /* metro dependency 5969: NitroStarterBadgeSmallBadgeNative */).NitroStarterBadgeSmallBadge;
exports.NitroStarterBadgeSmallBadge = NitroStarterBadgeSmallBadge;
const NitroSupergraphicLogo = (require(5971) /* metro dependency 5971: NitroSupergraphicLogoNative */).NitroSupergraphicLogo;
exports.NitroSupergraphicLogo = NitroSupergraphicLogo;
const NitroTicketSpotIllustration = (require(5973) /* metro dependency 5973: NitroTicketSpotIllustrationNative */).NitroTicketSpotIllustration;
exports.NitroTicketSpotIllustration = NitroTicketSpotIllustration;
const NitroWishlistTileAbstractUI = (require(5975) /* metro dependency 5975: NitroWishlistTileAbstractUINative */).NitroWishlistTileAbstractUI;
exports.NitroWishlistTileAbstractUI = NitroWishlistTileAbstractUI;
const NitroWordmarkLogo = (require(5977) /* metro dependency 5977: NitroWordmarkLogoNative */).NitroWordmarkLogo;
exports.NitroWordmarkLogo = NitroWordmarkLogo;
const NitroWumpusExcitement3dIllustration = (require(5979) /* metro dependency 5979: NitroWumpusExcitement3dIllustrationNative */).NitroWumpusExcitement3dIllustration;
exports.NitroWumpusExcitement3dIllustration = NitroWumpusExcitement3dIllustration;
const NitroWumpusFlightLeft3dIllustration = (require(5981) /* metro dependency 5981: NitroWumpusFlightLeft3dIllustrationNative */).NitroWumpusFlightLeft3dIllustration;
exports.NitroWumpusFlightLeft3dIllustration = NitroWumpusFlightLeft3dIllustration;
const NitroWumpusFlightRight3dIllustration = (require(5983) /* metro dependency 5983: NitroWumpusFlightRight3dIllustrationNative */).NitroWumpusFlightRight3dIllustration;
exports.NitroWumpusFlightRight3dIllustration = NitroWumpusFlightRight3dIllustration;
const NitroWumpusFlightUpwards3dIllustration = (require(5985) /* metro dependency 5985: NitroWumpusFlightUpwards3dIllustrationNative */).NitroWumpusFlightUpwards3dIllustration;
exports.NitroWumpusFlightUpwards3dIllustration = NitroWumpusFlightUpwards3dIllustration;
const NitroWumpusGreenSpotIllustration = (require(5987) /* metro dependency 5987: NitroWumpusGreenSpotIllustrationNative */).NitroWumpusGreenSpotIllustration;
exports.NitroWumpusGreenSpotIllustration = NitroWumpusGreenSpotIllustration;
const NitroWumpusHero3dIllustration = (require(5989) /* metro dependency 5989: NitroWumpusHero3dIllustrationNative */).NitroWumpusHero3dIllustration;
exports.NitroWumpusHero3dIllustration = NitroWumpusHero3dIllustration;
const NitroWumpusOfferingLeft3dIllustration = (require(5991) /* metro dependency 5991: NitroWumpusOfferingLeft3dIllustrationNative */).NitroWumpusOfferingLeft3dIllustration;
exports.NitroWumpusOfferingLeft3dIllustration = NitroWumpusOfferingLeft3dIllustration;
const NitroWumpusOfferingRight3dIllustration = (require(5993) /* metro dependency 5993: NitroWumpusOfferingRight3dIllustrationNative */).NitroWumpusOfferingRight3dIllustration;
exports.NitroWumpusOfferingRight3dIllustration = NitroWumpusOfferingRight3dIllustration;
const NitroWumpusPinkSpotIllustration = (require(5995) /* metro dependency 5995: NitroWumpusPinkSpotIllustrationNative */).NitroWumpusPinkSpotIllustration;
exports.NitroWumpusPinkSpotIllustration = NitroWumpusPinkSpotIllustration;
const NitroWumpusThumbsUp3dIllustration = (require(5997) /* metro dependency 5997: NitroWumpusThumbsUp3dIllustrationNative */).NitroWumpusThumbsUp3dIllustration;
exports.NitroWumpusThumbsUp3dIllustration = NitroWumpusThumbsUp3dIllustration;
const NitroWumpusWishlistingSpotIllustration = (require(5999) /* metro dependency 5999: NitroWumpusWishlistingSpotIllustrationNative */).NitroWumpusWishlistingSpotIllustration;
exports.NitroWumpusWishlistingSpotIllustration = NitroWumpusWishlistingSpotIllustration;
const Orb3dIllustration = (require(6001) /* metro dependency 6001: Orb3dIllustrationNative */).Orb3dIllustration;
exports.Orb3dIllustration = Orb3dIllustration;
const OrbNitroCardSpotIllustration = (require(6003) /* metro dependency 6003: OrbNitroCardSpotIllustrationNative */).OrbNitroCardSpotIllustration;
exports.OrbNitroCardSpotIllustration = OrbNitroCardSpotIllustration;
const OrbNitroMultiplierSpotIllustration = (require(6005) /* metro dependency 6005: OrbNitroMultiplierSpotIllustrationNative */).OrbNitroMultiplierSpotIllustration;
exports.OrbNitroMultiplierSpotIllustration = OrbNitroMultiplierSpotIllustration;
const OrbNitroSpotIllustration = (require(6007) /* metro dependency 6007: OrbNitroSpotIllustrationNative */).OrbNitroSpotIllustration;
exports.OrbNitroSpotIllustration = OrbNitroSpotIllustration;
const PaintIllocon = (require(6009) /* metro dependency 6009: PaintIlloconNative */).PaintIllocon;
exports.PaintIllocon = PaintIllocon;
const PasskeysSpotIllustration = (require(6011) /* metro dependency 6011: PasskeysSpotIllustrationNative */).PasskeysSpotIllustration;
exports.PasskeysSpotIllustration = PasskeysSpotIllustration;
const PencilIllocon = (require(6013) /* metro dependency 6013: PencilIlloconNative */).PencilIllocon;
exports.PencilIllocon = PencilIllocon;
const PingPongPaddleIllocon = (require(6015) /* metro dependency 6015: PingPongPaddleIlloconNative */).PingPongPaddleIllocon;
exports.PingPongPaddleIllocon = PingPongPaddleIllocon;
const PlaneIllocon = (require(6017) /* metro dependency 6017: PlaneIlloconNative */).PlaneIllocon;
exports.PlaneIllocon = PlaneIllocon;
const PortalSpotIllustration = (require(6019) /* metro dependency 6019: PortalSpotIllustrationNative */).PortalSpotIllustration;
exports.PortalSpotIllustration = PortalSpotIllustration;
const PotionBookGemSpotIllustration = (require(6021) /* metro dependency 6021: PotionBookGemSpotIllustrationNative */).PotionBookGemSpotIllustration;
exports.PotionBookGemSpotIllustration = PotionBookGemSpotIllustration;
const PotionSpotIllustration = (require(6023) /* metro dependency 6023: PotionSpotIllustrationNative */).PotionSpotIllustration;
exports.PotionSpotIllustration = PotionSpotIllustration;
const PottedPlantIllocon = (require(6025) /* metro dependency 6025: PottedPlantIlloconNative */).PottedPlantIllocon;
exports.PottedPlantIllocon = PottedPlantIllocon;
const PowerupSpotIllustration = (require(6027) /* metro dependency 6027: PowerupSpotIllustrationNative */).PowerupSpotIllustration;
exports.PowerupSpotIllustration = PowerupSpotIllustration;
const PrivacyShieldBannerSpotIllustration = (require(6029) /* metro dependency 6029: PrivacyShieldBannerSpotIllustrationNative */).PrivacyShieldBannerSpotIllustration;
exports.PrivacyShieldBannerSpotIllustration = PrivacyShieldBannerSpotIllustration;
const PrivacyShieldWithLaptopBannerSpotIllustration = (require(6031) /* metro dependency 6031: PrivacyShieldWithLaptopBannerSpotIllustrationNative */).PrivacyShieldWithLaptopBannerSpotIllustration;
exports.PrivacyShieldWithLaptopBannerSpotIllustration = PrivacyShieldWithLaptopBannerSpotIllustration;
const PrivacyShieldWithLaptopSpotIllustration = (require(6033) /* metro dependency 6033: PrivacyShieldWithLaptopSpotIllustrationNative */).PrivacyShieldWithLaptopSpotIllustration;
exports.PrivacyShieldWithLaptopSpotIllustration = PrivacyShieldWithLaptopSpotIllustration;
const PrivateProfileAbstractUI = (require(6035) /* metro dependency 6035: PrivateProfileAbstractUINative */).PrivateProfileAbstractUI;
exports.PrivateProfileAbstractUI = PrivateProfileAbstractUI;
const ProfileEffectsAbstractUI = (require(6037) /* metro dependency 6037: ProfileEffectsAbstractUINative */).ProfileEffectsAbstractUI;
exports.ProfileEffectsAbstractUI = ProfileEffectsAbstractUI;
const PsychicIllocon = (require(6039) /* metro dependency 6039: PsychicIlloconNative */).PsychicIllocon;
exports.PsychicIllocon = PsychicIllocon;
const PuzzleCubeSpotIllustration = (require(6041) /* metro dependency 6041: PuzzleCubeSpotIllustrationNative */).PuzzleCubeSpotIllustration;
exports.PuzzleCubeSpotIllustration = PuzzleCubeSpotIllustration;
const QuestsIllocon = (require(6043) /* metro dependency 6043: QuestsIlloconNative */).QuestsIllocon;
exports.QuestsIllocon = QuestsIllocon;
const ReactionsSpotIllustration = (require(6045) /* metro dependency 6045: ReactionsSpotIllustrationNative */).ReactionsSpotIllustration;
exports.ReactionsSpotIllustration = ReactionsSpotIllustration;
const RocketshipSpotIllustration = (require(6047) /* metro dependency 6047: RocketshipSpotIllustrationNative */).RocketshipSpotIllustration;
exports.RocketshipSpotIllustration = RocketshipSpotIllustration;
const RulebookSpotIllustration = (require(6049) /* metro dependency 6049: RulebookSpotIllustrationNative */).RulebookSpotIllustration;
exports.RulebookSpotIllustration = RulebookSpotIllustration;
const SafetyBookletEmailSpotIllustration = (require(6051) /* metro dependency 6051: SafetyBookletEmailSpotIllustrationNative */).SafetyBookletEmailSpotIllustration;
exports.SafetyBookletEmailSpotIllustration = SafetyBookletEmailSpotIllustration;
const SafetyBookletSpotIllustration = (require(6053) /* metro dependency 6053: SafetyBookletSpotIllustrationNative */).SafetyBookletSpotIllustration;
exports.SafetyBookletSpotIllustration = SafetyBookletSpotIllustration;
const SafetyChatSpotIllustration = (require(6055) /* metro dependency 6055: SafetyChatSpotIllustrationNative */).SafetyChatSpotIllustration;
exports.SafetyChatSpotIllustration = SafetyChatSpotIllustration;
const SafetyShieldCenter3dIllustration = (require(6057) /* metro dependency 6057: SafetyShieldCenter3dIllustrationNative */).SafetyShieldCenter3dIllustration;
exports.SafetyShieldCenter3dIllustration = SafetyShieldCenter3dIllustration;
const SafetyShieldIllocon = (require(6059) /* metro dependency 6059: SafetyShieldIlloconNative */).SafetyShieldIllocon;
exports.SafetyShieldIllocon = SafetyShieldIllocon;
const SafetyShieldLeft3dIllustration = (require(6061) /* metro dependency 6061: SafetyShieldLeft3dIllustrationNative */).SafetyShieldLeft3dIllustration;
exports.SafetyShieldLeft3dIllustration = SafetyShieldLeft3dIllustration;
const SafetyShieldRight3dIllustration = (require(6063) /* metro dependency 6063: SafetyShieldRight3dIllustrationNative */).SafetyShieldRight3dIllustration;
exports.SafetyShieldRight3dIllustration = SafetyShieldRight3dIllustration;
const SecurityKeySpotIllustration = (require(6065) /* metro dependency 6065: SecurityKeySpotIllustrationNative */).SecurityKeySpotIllustration;
exports.SecurityKeySpotIllustration = SecurityKeySpotIllustration;
const ServerBannerDefaultExample = (require(6067) /* metro dependency 6067: ServerBannerDefaultExampleNative */).ServerBannerDefaultExample;
exports.ServerBannerDefaultExample = ServerBannerDefaultExample;
const ServerBannerStaffServerExample = (require(6069) /* metro dependency 6069: ServerBannerStaffServerExampleNative */).ServerBannerStaffServerExample;
exports.ServerBannerStaffServerExample = ServerBannerStaffServerExample;
const ServerBannerTheCrewExample = (require(6071) /* metro dependency 6071: ServerBannerTheCrewExampleNative */).ServerBannerTheCrewExample;
exports.ServerBannerTheCrewExample = ServerBannerTheCrewExample;
const ServerBannerUnderboxExample = (require(6073) /* metro dependency 6073: ServerBannerUnderboxExampleNative */).ServerBannerUnderboxExample;
exports.ServerBannerUnderboxExample = ServerBannerUnderboxExample;
const ServerIconBonkBonkExample = (require(6075) /* metro dependency 6075: ServerIconBonkBonkExampleNative */).ServerIconBonkBonkExample;
exports.ServerIconBonkBonkExample = ServerIconBonkBonkExample;
const ServerIconBoomBGoneExample = (require(6077) /* metro dependency 6077: ServerIconBoomBGoneExampleNative */).ServerIconBoomBGoneExample;
exports.ServerIconBoomBGoneExample = ServerIconBoomBGoneExample;
const ServerIconCoincordExample = (require(6079) /* metro dependency 6079: ServerIconCoincordExampleNative */).ServerIconCoincordExample;
exports.ServerIconCoincordExample = ServerIconCoincordExample;
const ServerIconDefaultExample = (require(6081) /* metro dependency 6081: ServerIconDefaultExampleNative */).ServerIconDefaultExample;
exports.ServerIconDefaultExample = ServerIconDefaultExample;
const ServerIconEyespyExample = (require(6083) /* metro dependency 6083: ServerIconEyespyExampleNative */).ServerIconEyespyExample;
exports.ServerIconEyespyExample = ServerIconEyespyExample;
const ServerIconGeargrindExample = (require(6085) /* metro dependency 6085: ServerIconGeargrindExampleNative */).ServerIconGeargrindExample;
exports.ServerIconGeargrindExample = ServerIconGeargrindExample;
const ServerIconLilQuackSPondverseExample = (require(6087) /* metro dependency 6087: ServerIconLilQuackSPondverseExampleNative */).ServerIconLilQuackSPondverseExample;
exports.ServerIconLilQuackSPondverseExample = ServerIconLilQuackSPondverseExample;
const ServerIconShieldzordExample = (require(6089) /* metro dependency 6089: ServerIconShieldzordExampleNative */).ServerIconShieldzordExample;
exports.ServerIconShieldzordExample = ServerIconShieldzordExample;
const ServerIconSproutletSyndicateExample = (require(6091) /* metro dependency 6091: ServerIconSproutletSyndicateExampleNative */).ServerIconSproutletSyndicateExample;
exports.ServerIconSproutletSyndicateExample = ServerIconSproutletSyndicateExample;
const ServerIconStaffServerExample = (require(6093) /* metro dependency 6093: ServerIconStaffServerExampleNative */).ServerIconStaffServerExample;
exports.ServerIconStaffServerExample = ServerIconStaffServerExample;
const ServerIconStarblasterExample = (require(6095) /* metro dependency 6095: ServerIconStarblasterExampleNative */).ServerIconStarblasterExample;
exports.ServerIconStarblasterExample = ServerIconStarblasterExample;
const ServerIconTheCrewExample = (require(6097) /* metro dependency 6097: ServerIconTheCrewExampleNative */).ServerIconTheCrewExample;
exports.ServerIconTheCrewExample = ServerIconTheCrewExample;
const ServerIconUnderboxExample = (require(6099) /* metro dependency 6099: ServerIconUnderboxExampleNative */).ServerIconUnderboxExample;
exports.ServerIconUnderboxExample = ServerIconUnderboxExample;
const ServerTagAbstractUI = (require(6101) /* metro dependency 6101: ServerTagAbstractUINative */).ServerTagAbstractUI;
exports.ServerTagAbstractUI = ServerTagAbstractUI;
const ShareNitroSpotIllustration = (require(6103) /* metro dependency 6103: ShareNitroSpotIllustrationNative */).ShareNitroSpotIllustration;
exports.ShareNitroSpotIllustration = ShareNitroSpotIllustration;
const SharingGemSpotIllustration = (require(6105) /* metro dependency 6105: SharingGemSpotIllustrationNative */).SharingGemSpotIllustration;
exports.SharingGemSpotIllustration = SharingGemSpotIllustration;
const ShieldSpotIllustration = (require(6107) /* metro dependency 6107: ShieldSpotIllustrationNative */).ShieldSpotIllustration;
exports.ShieldSpotIllustration = ShieldSpotIllustration;
const ShoesSpotIllustration = (require(6109) /* metro dependency 6109: ShoesSpotIllustrationNative */).ShoesSpotIllustration;
exports.ShoesSpotIllustration = ShoesSpotIllustration;
const ShopIllocon = (require(6111) /* metro dependency 6111: ShopIlloconNative */).ShopIllocon;
exports.ShopIllocon = ShopIllocon;
const SkullIllocon = (require(6113) /* metro dependency 6113: SkullIlloconNative */).SkullIllocon;
exports.SkullIllocon = SkullIllocon;
const SleepingWumpusSpotIllustration = (require(6115) /* metro dependency 6115: SleepingWumpusSpotIllustrationNative */).SleepingWumpusSpotIllustration;
exports.SleepingWumpusSpotIllustration = SleepingWumpusSpotIllustration;
const SmokeIllocon = (require(6117) /* metro dependency 6117: SmokeIlloconNative */).SmokeIllocon;
exports.SmokeIllocon = SmokeIllocon;
const SnailIllocon = (require(6119) /* metro dependency 6119: SnailIlloconNative */).SnailIllocon;
exports.SnailIllocon = SnailIllocon;
const SnowIllocon = (require(6121) /* metro dependency 6121: SnowIlloconNative */).SnowIllocon;
exports.SnowIllocon = SnowIllocon;
const SocialMediaSpotIllustration = (require(6123) /* metro dependency 6123: SocialMediaSpotIllustrationNative */).SocialMediaSpotIllustration;
exports.SocialMediaSpotIllustration = SocialMediaSpotIllustration;
const SocialSdkIllocon = (require(6125) /* metro dependency 6125: SocialSdkIlloconNative */).SocialSdkIllocon;
exports.SocialSdkIllocon = SocialSdkIllocon;
const SoundIllocon = (require(6127) /* metro dependency 6127: SoundIlloconNative */).SoundIllocon;
exports.SoundIllocon = SoundIllocon;
const SoundboardSpotIllustration = (require(6129) /* metro dependency 6129: SoundboardSpotIllustrationNative */).SoundboardSpotIllustration;
exports.SoundboardSpotIllustration = SoundboardSpotIllustration;
const SpiderIllocon = (require(6131) /* metro dependency 6131: SpiderIlloconNative */).SpiderIllocon;
exports.SpiderIllocon = SpiderIllocon;
const SpinningGem3dIllustration = (require(6133) /* metro dependency 6133: SpinningGem3dIllustrationNative */).SpinningGem3dIllustration;
exports.SpinningGem3dIllustration = SpinningGem3dIllustration;
const StickersSpotIllustration = (require(6135) /* metro dependency 6135: StickersSpotIllustrationNative */).StickersSpotIllustration;
exports.StickersSpotIllustration = StickersSpotIllustration;
const StreamSpotIllustration = (require(6137) /* metro dependency 6137: StreamSpotIllustrationNative */).StreamSpotIllustration;
exports.StreamSpotIllustration = StreamSpotIllustration;
const StreamingTier10LargeBadge = (require(6139) /* metro dependency 6139: StreamingTier10LargeBadgeNative */).StreamingTier10LargeBadge;
exports.StreamingTier10LargeBadge = StreamingTier10LargeBadge;
const StreamingTier10SmallBadge = (require(6141) /* metro dependency 6141: StreamingTier10SmallBadgeNative */).StreamingTier10SmallBadge;
exports.StreamingTier10SmallBadge = StreamingTier10SmallBadge;
const StreamingTier1LargeBadge = (require(6143) /* metro dependency 6143: StreamingTier1LargeBadgeNative */).StreamingTier1LargeBadge;
exports.StreamingTier1LargeBadge = StreamingTier1LargeBadge;
const StreamingTier1SmallBadge = (require(6145) /* metro dependency 6145: StreamingTier1SmallBadgeNative */).StreamingTier1SmallBadge;
exports.StreamingTier1SmallBadge = StreamingTier1SmallBadge;
const StreamingTier2LargeBadge = (require(6147) /* metro dependency 6147: StreamingTier2LargeBadgeNative */).StreamingTier2LargeBadge;
exports.StreamingTier2LargeBadge = StreamingTier2LargeBadge;
const StreamingTier2SmallBadge = (require(6149) /* metro dependency 6149: StreamingTier2SmallBadgeNative */).StreamingTier2SmallBadge;
exports.StreamingTier2SmallBadge = StreamingTier2SmallBadge;
const StreamingTier3LargeBadge = (require(6151) /* metro dependency 6151: StreamingTier3LargeBadgeNative */).StreamingTier3LargeBadge;
exports.StreamingTier3LargeBadge = StreamingTier3LargeBadge;
const StreamingTier3SmallBadge = (require(6153) /* metro dependency 6153: StreamingTier3SmallBadgeNative */).StreamingTier3SmallBadge;
exports.StreamingTier3SmallBadge = StreamingTier3SmallBadge;
const StreamingTier4LargeBadge = (require(6155) /* metro dependency 6155: StreamingTier4LargeBadgeNative */).StreamingTier4LargeBadge;
exports.StreamingTier4LargeBadge = StreamingTier4LargeBadge;
const StreamingTier4SmallBadge = (require(6157) /* metro dependency 6157: StreamingTier4SmallBadgeNative */).StreamingTier4SmallBadge;
exports.StreamingTier4SmallBadge = StreamingTier4SmallBadge;
const StreamingTier5LargeBadge = (require(6159) /* metro dependency 6159: StreamingTier5LargeBadgeNative */).StreamingTier5LargeBadge;
exports.StreamingTier5LargeBadge = StreamingTier5LargeBadge;
const StreamingTier5SmallBadge = (require(6161) /* metro dependency 6161: StreamingTier5SmallBadgeNative */).StreamingTier5SmallBadge;
exports.StreamingTier5SmallBadge = StreamingTier5SmallBadge;
const StreamingTier6LargeBadge = (require(6163) /* metro dependency 6163: StreamingTier6LargeBadgeNative */).StreamingTier6LargeBadge;
exports.StreamingTier6LargeBadge = StreamingTier6LargeBadge;
const StreamingTier6SmallBadge = (require(6165) /* metro dependency 6165: StreamingTier6SmallBadgeNative */).StreamingTier6SmallBadge;
exports.StreamingTier6SmallBadge = StreamingTier6SmallBadge;
const StreamingTier7LargeBadge = (require(6167) /* metro dependency 6167: StreamingTier7LargeBadgeNative */).StreamingTier7LargeBadge;
exports.StreamingTier7LargeBadge = StreamingTier7LargeBadge;
const StreamingTier7SmallBadge = (require(6169) /* metro dependency 6169: StreamingTier7SmallBadgeNative */).StreamingTier7SmallBadge;
exports.StreamingTier7SmallBadge = StreamingTier7SmallBadge;
const StreamingTier8LargeBadge = (require(6171) /* metro dependency 6171: StreamingTier8LargeBadgeNative */).StreamingTier8LargeBadge;
exports.StreamingTier8LargeBadge = StreamingTier8LargeBadge;
const StreamingTier8SmallBadge = (require(6173) /* metro dependency 6173: StreamingTier8SmallBadgeNative */).StreamingTier8SmallBadge;
exports.StreamingTier8SmallBadge = StreamingTier8SmallBadge;
const StreamingTier9LargeBadge = (require(6175) /* metro dependency 6175: StreamingTier9LargeBadgeNative */).StreamingTier9LargeBadge;
exports.StreamingTier9LargeBadge = StreamingTier9LargeBadge;
const StreamingTier9SmallBadge = (require(6177) /* metro dependency 6177: StreamingTier9SmallBadgeNative */).StreamingTier9SmallBadge;
exports.StreamingTier9SmallBadge = StreamingTier9SmallBadge;
const StudyGroupsSpotIllustration = (require(6179) /* metro dependency 6179: StudyGroupsSpotIllustrationNative */).StudyGroupsSpotIllustration;
exports.StudyGroupsSpotIllustration = StudyGroupsSpotIllustration;
const SunIllocon = (require(6181) /* metro dependency 6181: SunIlloconNative */).SunIllocon;
exports.SunIllocon = SunIllocon;
const SwordAndChestSpotIllustration = (require(6183) /* metro dependency 6183: SwordAndChestSpotIllustrationNative */).SwordAndChestSpotIllustration;
exports.SwordAndChestSpotIllustration = SwordAndChestSpotIllustration;
const SwordAndStoneSpotIllustration = (require(6185) /* metro dependency 6185: SwordAndStoneSpotIllustrationNative */).SwordAndStoneSpotIllustration;
exports.SwordAndStoneSpotIllustration = SwordAndStoneSpotIllustration;
const SwordIllocon = (require(6187) /* metro dependency 6187: SwordIlloconNative */).SwordIllocon;
exports.SwordIllocon = SwordIllocon;
const TabletSpotIllustration = (require(6189) /* metro dependency 6189: TabletSpotIllustrationNative */).TabletSpotIllustration;
exports.TabletSpotIllustration = TabletSpotIllustration;
const TeaKettleSpotIllustration = (require(6191) /* metro dependency 6191: TeaKettleSpotIllustrationNative */).TeaKettleSpotIllustration;
exports.TeaKettleSpotIllustration = TeaKettleSpotIllustration;
const TentSpotIllustration = (require(6193) /* metro dependency 6193: TentSpotIllustrationNative */).TentSpotIllustration;
exports.TentSpotIllustration = TentSpotIllustration;
const TrafficConeSpotIllustration = (require(6195) /* metro dependency 6195: TrafficConeSpotIllustrationNative */).TrafficConeSpotIllustration;
exports.TrafficConeSpotIllustration = TrafficConeSpotIllustration;
const TreasureChestBannerSpotIllustration = (require(6197) /* metro dependency 6197: TreasureChestBannerSpotIllustrationNative */).TreasureChestBannerSpotIllustration;
exports.TreasureChestBannerSpotIllustration = TreasureChestBannerSpotIllustration;
const TreasureChestSpotIllustration = (require(6199) /* metro dependency 6199: TreasureChestSpotIllustrationNative */).TreasureChestSpotIllustration;
exports.TreasureChestSpotIllustration = TreasureChestSpotIllustration;
const TrophyIllocon = (require(6201) /* metro dependency 6201: TrophyIlloconNative */).TrophyIllocon;
exports.TrophyIllocon = TrophyIllocon;
const VibeWithWumpusSpotIllustration = (require(6203) /* metro dependency 6203: VibeWithWumpusSpotIllustrationNative */).VibeWithWumpusSpotIllustration;
exports.VibeWithWumpusSpotIllustration = VibeWithWumpusSpotIllustration;
const VideoCameraSpotIllustration = (require(6205) /* metro dependency 6205: VideoCameraSpotIllustrationNative */).VideoCameraSpotIllustration;
exports.VideoCameraSpotIllustration = VideoCameraSpotIllustration;
const VoiceFiltersSpotIllustration = (require(6207) /* metro dependency 6207: VoiceFiltersSpotIllustrationNative */).VoiceFiltersSpotIllustration;
exports.VoiceFiltersSpotIllustration = VoiceFiltersSpotIllustration;
const WasdSpotIllustration = (require(6209) /* metro dependency 6209: WasdSpotIllustrationNative */).WasdSpotIllustration;
exports.WasdSpotIllustration = WasdSpotIllustration;
const WaterIllocon = (require(6211) /* metro dependency 6211: WaterIlloconNative */).WaterIllocon;
exports.WaterIllocon = WaterIllocon;
const WateringCanSpotIllustration = (require(6213) /* metro dependency 6213: WateringCanSpotIllustrationNative */).WateringCanSpotIllustration;
exports.WateringCanSpotIllustration = WateringCanSpotIllustration;
const WiltedFlowerIllocon = (require(6215) /* metro dependency 6215: WiltedFlowerIlloconNative */).WiltedFlowerIllocon;
exports.WiltedFlowerIllocon = WiltedFlowerIllocon;
const WindIllocon = (require(6217) /* metro dependency 6217: WindIlloconNative */).WindIllocon;
exports.WindIllocon = WindIllocon;
const WizardHatAndBookSpotIllustration = (require(6219) /* metro dependency 6219: WizardHatAndBookSpotIllustrationNative */).WizardHatAndBookSpotIllustration;
exports.WizardHatAndBookSpotIllustration = WizardHatAndBookSpotIllustration;
const WordBalloonIllocon = (require(6221) /* metro dependency 6221: WordBalloonIlloconNative */).WordBalloonIllocon;
exports.WordBalloonIllocon = WordBalloonIllocon;
const WorldIllocon = (require(6223) /* metro dependency 6223: WorldIlloconNative */).WorldIllocon;
exports.WorldIllocon = WorldIllocon;
const WumpusCouchSpotIllustration = (require(6225) /* metro dependency 6225: WumpusCouchSpotIllustrationNative */).WumpusCouchSpotIllustration;
exports.WumpusCouchSpotIllustration = WumpusCouchSpotIllustration;
const WumpusGearSpotIllustration = (require(6227) /* metro dependency 6227: WumpusGearSpotIllustrationNative */).WumpusGearSpotIllustration;
exports.WumpusGearSpotIllustration = WumpusGearSpotIllustration;
const WumpusMahjongSpotIllustration = (require(6229) /* metro dependency 6229: WumpusMahjongSpotIllustrationNative */).WumpusMahjongSpotIllustration;
exports.WumpusMahjongSpotIllustration = WumpusMahjongSpotIllustration;
}
@@ -0,0 +1,41 @@
/* Metro module 4556; source: design/components/AccessibilityView/AccessibilityView.native.tsx; dependencies: [31, 27, 33, 4557, 4017, 2] */
function _fun38745(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38745, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4734:6, offset: 0x010c9358, size: 193 bytes, params: 8, frame: 19
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
const env0_2 = (require(27) /* metro dependency 27 */).View;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
value = value.forwardRef(_fun38746);
const animatedComponent = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(value);
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/AccessibilityView/AccessibilityView.native.tsx');
exports.AccessibilityView = value;
exports.AccessibilityViewAnimated = animatedComponent;
}
function _fun38746(a0, a1) { // fn#38746, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4734:151, offset: 0x010c9419, size: 215 bytes, params: 3, frame: 21
let accessibilityViewIsModal = a0.accessibilityViewIsModal;
accessibilityViewIsModal = !(accessibilityViewIsModal === undefined) && accessibilityViewIsModal;
const nativeID = a0.nativeID;
const collapsable = a0.collapsable;
const onAccessibilityEscape = a0.onAccessibilityEscape;
const object2 = {'accessibilityViewIsModal': 0, 'nativeID': 0, 'collapsable': 0, 'onAccessibilityEscape': 0};
silentSetPrototypeOf(object2, null, undefined);
const value = copyDataProperties({}, a0, object2, undefined);
if (accessibilityViewIsModal) {
if (onAccessibilityEscape == null) {
throw new global.Error('Must have a onAccessibilityEscape callback when accessibilityViewIsModal is enabled.');
}
}
(importDefault(4557) /* metro dependency 4557: useAccessibilityViewIsModalToggleNative */)({accessibilityViewIsModal: accessibilityViewIsModal,
nativeID: nativeID});
return (
<View
ref={a1}
nativeID={nativeID}
collapsable={nativeID == null && collapsable}
onAccessibilityEscape={onAccessibilityEscape}
{...value}
/>
);
}
@@ -0,0 +1,52 @@
/* Metro module 4557; source: design/components/AccessibilityView/useAccessibilityViewIsModalToggle.native.tsx; dependencies: [31, 4558, 2] */
function _fun38747(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38747, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4735:6, offset: 0x010c94f0, size: 115 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importAll(31) /* metro dependency 31 */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/AccessibilityView/useAccessibilityViewIsModalToggle.native.tsx');
exports.default = useAccessibilityViewIsModalToggle;
}
function useAccessibilityViewIsModalToggle({accessibilityViewIsModal, nativeID}) { // fn#38748, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4735:230, offset: 0x010c9563, size: 120 bytes, params: 2, frame: 16
accessibilityViewIsModal = !(accessibilityViewIsModal === undefined) && accessibilityViewIsModal;
let env0_2 = undefined;
const binding = env0_2;
env0_2 = binding.useRef(undefined);
binding.useEffect(_fun38750, [binding.useCallback(_fun38749, [accessibilityViewIsModal, nativeID])]);
}
function _fun38749() { // fn#38749, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4735:357, offset: 0x010c95db, size: 219 bytes, params: 1, frame: 14
var current;
var nativeIDBinding;
var binding;
let value = a0;
if (value !== undefined ? value : accessibilityViewIsModal) {
if (nativeID == null) {
throw new global.Error('Must have a unique nativeID when accessibilityViewIsModal is enabled.');
}
current = env0_2.current;
nativeIDBinding = nativeID;
if (current !== nativeIDBinding) {
binding = env0_2;
nativeIDBinding = nativeID;
binding.current = nativeIDBinding;
value = environment.__proto__;
value = importDefault(4558) /* metro dependency 4558: AccessibilityFocusLockManager */;
value.enableAccessibilityFocusLock([nativeIDBinding]);
}
} else {
current = env0_2.current;
if (current != null) {
env0_2.current = undefined;
value = environment.__proto__;
value = importDefault(4558) /* metro dependency 4558: AccessibilityFocusLockManager */;
value.disableAccessibilityFocusLock([current]);
}
}
}
function _fun38750() { // fn#38750, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4735:657, offset: 0x010c96b6, size: 22 bytes, params: 1, frame: 9
env0_3();
return _fun38751;
}
@@ -0,0 +1,33 @@
/* Metro module 5461; source: design/components/ActivityIndicator/native/ActivityIndicator.native.tsx; dependencies: [27, 33, 3860, 697, 2] */
function _fun48029(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#48029, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5639:6, offset: 0x011d7997, size: 143 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = (require(27) /* metro dependency 27 */).ActivityIndicator;
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/ActivityIndicator/native/ActivityIndicator.native.tsx');
exports.ActivityIndicator = ActivityIndicator_48030;
}
function ActivityIndicator_48030(a0) { // fn#48030, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5639:263, offset: 0x011d7a26, size: 186 bytes, params: 2, frame: 21
let size = a0.size;
size = size === undefined ? 'large' : size;
let animating = a0.animating;
animating = animating === undefined || animating;
const value = Object.create(null);
value.size = 0;
value.animating = 0;
const value2 = copyDataProperties({}, a0, value, undefined);
const useTokenModule = require(3860) /* metro dependency 3860: useToken */;
const useToken = useTokenModule.useToken;
const BACKGROUND_BRAND = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BRAND;
return (
<ActivityIndicator
{...value2}
{...{['size']: size}}
{...{['animating']: animating}}
{...{['color']: value2.color ?? Reflect.apply(useToken, useTokenModule, [BACKGROUND_BRAND])}}
/>
);
}
@@ -0,0 +1,587 @@
/* Metro module 4500; source: design/components/AlertModal/native/AlertModal.native.tsx; dependencies: [5, 57, 862, 31, 27, 482, 33, 4501, 697, 4508, 4497, 4017, 1848, 4509, 4555, 690, 4562, 1244, 3875, 1585, 4570, 1478, 4571, 4572, 4573, 4577, 4578, 2] */
function _fun38389(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38389, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:6, offset: 0x010be8a8, size: 808 bytes, params: 8, frame: 29
const env0_0 = require;
const getAlertModalItemKey = function(a0) {
return a0.key;
};
const closure = AlertModal;
const closure2 = AlertActions;
const closure3 = AlertActionButton;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(5) /* metro dependency 5 */;
const env0_4 = importDefault(57) /* metro dependency 57 */;
const env0_5 = importDefault(862) /* metro dependency 862 */;
let value = importAll(31) /* metro dependency 31 */;
const value2 = require(27) /* metro dependency 27 */;
const env0_7 = value2.View;
const env0_8 = value2.StyleSheet;
const env0_9 = value2.ScrollView;
const NOOP = (require(482) /* metro dependency 482: Constants */).NOOP;
const value3 = require(33) /* metro dependency 33 */;
const env0_10 = value3.jsx;
const env0_11 = value3.jsxs;
const env0_12 = value3.Fragment;
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = createStylesModule.createStyles;
const object3 = {'backgroundColor': null, 'margin': 16, 'width': '100%', 'maxWidth': 400, 'height': '100%',
'borderRadius': null, 'borderWidth': 1};
const MOBILE_ALERT_BACKGROUND_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_ALERT_BACKGROUND_DEFAULT;
object3.backgroundColor = MOBILE_ALERT_BACKGROUND_DEFAULT;
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xl;
const BORDER_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BORDER_SUBTLE;
object3.borderColor = BORDER_SUBTLE;
const SHADOW_TOP_HIGH = (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_TOP_HIGH;
copyDataProperties(object3, SHADOW_TOP_HIGH, undefined);
const env0_13 = Reflect.apply(createStyles, createStylesModule, [{root: {'flex': 1, 'position': 'relative',
'justifyContent': 'center', 'alignItems': 'center', 'paddingHorizontal': 16}, content: object3,
overflow: {'width': '100%', 'height': '100%', 'overflow': 'hidden', 'padding': 24, 'position': 'relative'},
body: {alignItems: 'center'}, contentText: {textAlign: 'center'}}]);
const env0_14 = {'overshootClamping': true, 'damping': 35, 'stiffness': 450, 'mass': 0.5,
'restDisplacementThreshold': 0.001};
const createContext = value.createContext;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
const YEETED = TransitionStates.YEETED;
const env0_15 = Reflect.apply(createContext, value, [YEETED]);
const env0_16 = value.createContext(NOOP);
const env0_17 = value.createContext(0);
const env0_18 = value.createContext('');
const env0_19 = value.createContext(null);
value = value.memo(_fun38414);
object = {code: 'function AlertModalNativeTsx1(){const{withAlertModalSpring,sharedVisible,sharedTransitionState,TransitionStates,runOnJS,cleanUp}=this.__closure;return{opacity:withAlertModalSpring(sharedVisible.get(),function(finished){if(finished===true&&sharedVisible.get()===0&&sharedTransitionState.get()===TransitionStates.YEETED){runOnJS(cleanUp)();}})};}'};
object = {code: "function AlertModalNativeTsx2(){const{sharedVisible,sharedTransitionState,TransitionStates,runOnJS,cleanUp,windowHeight,ALERT_MODAL_MARGIN,safeAreaTop,safeAreaBottom,withAlertModalSpring,sharedIndex,sharedTopHeight,useReducedMotion}=this.__closure;var _CARD_OFFSETS$sharedI;function onComplete(finished){if(finished===true&&sharedVisible.get()===0&&sharedTransitionState.get()===TransitionStates.YEETED){runOnJS(cleanUp)();}}const CARD_OFFSETS=[0,-20,-34];const maxHeight=windowHeight-ALERT_MODAL_MARGIN*2-Math.max(safeAreaTop,safeAreaBottom)*2;return{position:'absolute',opacity:withAlertModalSpring(sharedVisible.get(),onComplete),zIndex:10-sharedIndex.get(),height:sharedIndex.get()>0?sharedTopHeight.get():'auto',maxHeight:maxHeight,transform:useReducedMotion?[]:[{scale:withAlertModalSpring(sharedVisible.get()===1?1-sharedIndex.get()*0.1:0.7)},{translateY:withAlertModalSpring(sharedVisible.get()===1?(_CARD_OFFSETS$sharedI=CARD_OFFSETS[sharedIndex.get()])!==null&&_CARD_OFFSETS$sharedI!==void 0?_CARD_OFFSETS$sharedI:sharedVisible.get()*-12:50-sharedIndex.get()*50)}]};}"};
object = {code: "function withAlertModalSpring_AlertModalNativeTsx3(value,callback){const{withSpring,MODAL_SPRING}=this.__closure;return withSpring(value,MODAL_SPRING,'animate-always',callback);}"};
const env0_23 = _fun38421();
object = {code: 'function AlertModalNativeTsx4(){const{sharedTransitionState}=this.__closure;return sharedTransitionState.get();}'};
object = {code: 'function AlertModalNativeTsx5(transitionState){const{TransitionStates,sharedVisible,runOnJS,cleanUp}=this.__closure;if(transitionState===TransitionStates.YEETED){if(sharedVisible.get()===1){sharedVisible.set(0);}else{runOnJS(cleanUp)();}}else{sharedVisible.set(1);}}'};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/AlertModal/native/AlertModal.native.tsx');
exports.AlertModalContainer = value;
exports.useDismissModalCallback = useDismissModalCallback;
exports.AlertModal = closure;
exports.AlertActions = closure2;
exports.AlertActionButton = closure3;
exports.showConfirmModal = showConfirmModal;
}
function dismissTopAlert() { // fn#38391, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:2052, offset: 0x010bebd0, size: 185 bytes, params: 1, frame: 17
var moduleValue;
const value2 = undefined;
const useAlertStore = (require(4497) /* metro dependency 4497: useAlertStoreNative */).useAlertStore;
const getState = useAlertStore.getState;
const value3 = env0_5(Reflect.apply(getState, useAlertStore, []).alerts);
const property = value3[0];
const env0_0 = value3.slice(1);
if (!(property != null && property.dismissable === false)) {
moduleValue = require(4497) /* metro dependency 4497: useAlertStoreNative */;
moduleValue.dismissAlert(property == null ? value2 : property.key);
(require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun38392);
}
return value2;
}
function AlertModalBackdrop() { // fn#38393, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:2661, offset: 0x010becc3, size: 355 bytes, params: 1, frame: 23
const value2 = env0_6.useContext(env0_16);
const value4 = env0_4(useSharedAnimationState(), 2);
const property = value4[0];
const property2 = value4[1];
const value5 = (require(4497) /* metro dependency 4497: useAlertStoreNative */).useAlertStore(function(a0) {
return a0.alerts[0]?.dismissable !== false;
});
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = AlertModalBackdropT;
const object2 = {withAlertModalSpring: env0_23, sharedVisible: property2, sharedTransitionState: property};
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
object2.TransitionStates = TransitionStates;
object2.runOnJS = reanimatedRexportModule.runOnJS;
object2.cleanUp = value2;
closure.__closure = object2;
closure.__workletHash = 4470729133936;
closure.__initData = env0_20;
const value6 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
const Backdrop = (require(4562) /* metro dependency 4562: BackdropNative */).Backdrop;
const dismissTopAlert2 = value5 ? dismissTopAlert : null;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const Xkfav5 = (require(1244) /* metro dependency 1244: indexNative */).t.Xkfav5;
return (
<Backdrop
blur="strong"
style={value6}
onDismiss={dismissTopAlert2}
accessibilityLabel={Reflect.apply(string, intl, [Xkfav5])}
/>
);
}
function AlertModal({header, title, content, actions, extraContent}) { // fn#38397, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:4464, offset: 0x010bef0f, size: 1015 bytes, params: 2, frame: 39
var object2;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
let binding = env0_6;
let useContext = binding.useContext;
const value2 = Reflect.apply(useContext, binding, [env0_16]);
const value3 = env0_6.useContext(env0_17);
const styles = useStyles();
const value4 = env0_6.useContext(env0_19);
binding = env0_6;
useContext = binding.useContext;
const AccessibilityPreferencesContext = (require(3875) /* metro dependency 3875: AccessibilityPreferencesContext */).AccessibilityPreferencesContext;
const enabled = Reflect.apply(useContext, binding, [AccessibilityPreferencesContext]).reducedMotion.enabled;
const value6 = env0_6.useRef(null);
const env0_4 = value6;
const value7 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(value3);
const value9 = env0_4(useSharedAnimationState(), 2);
const property = value9[0];
var env0_6 = property;
const property2 = value9[1];
const {top, bottom} = (importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)();
env0_6.useEffect(_fun38398, [value3]);
const height = (importDefault(1478) /* metro dependency 1478: useWindowDimensionsNative */)().height;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = AlertModalB;
object2 = {sharedVisible: property2, sharedTransitionState: property};
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
object2.TransitionStates = TransitionStates;
object2.runOnJS = reanimatedRexportModule.runOnJS;
object2.cleanUp = value2;
object2.windowHeight = height;
object2.ALERT_MODAL_MARGIN = 16;
object2.safeAreaTop = top;
object2.safeAreaBottom = bottom;
object2.withAlertModalSpring = env0_23;
object2.sharedIndex = value7;
object2.sharedTopHeight = value4;
object2.useReducedMotion = enabled;
closure.__closure = object2;
closure.__workletHash = 655123755546;
closure.__initData = env0_21;
const value11 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
env0_6.useLayoutEffect(_fun38401, [value3, value7]);
(importDefault(4571) /* metro dependency 4571: useBackPressHandler */)(function() {
dismissTopAlert();
return true;
});
const View2 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
object2 = {importantForAccessibility: value3 !== 0 ? 'no-hide-descendants' : 'auto',
accessibilityElementsHidden: value3 !== 0, style: [styles.content, value11], onLayout: onLayout_38403};
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
const items2 = [header];
const Stack2 = (require(4572) /* metro dependency 4572: StackNative */).Stack;
items2[1] = <Stack2 spacing={8} style={[styles.body]}><Text ref={value6} variant="heading-lg/bold" accessibilityRole="header" color="mobile-text-heading-primary">{title}</Text>{content != null ? content === '' ? null : <Text variant="text-md/medium" color="text-default" style={styles.contentText}>{content}</Text> : null}</Stack2>;
items2[2] = extraContent;
items2[3] = actions != null ? <AlertActions>{actions}</AlertActions> : null;
return (
<View2 {...object2}>
<ScrollView alwaysBounceVertical={false}>
<View style={styles.overflow}>
<Stack spacing={24}>
{items2}
</Stack>
</View>
</ScrollView>
</View2>
);
}
function useSharedAnimationState() { // fn#38404, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:7297, offset: 0x010bf5d9, size: 356 bytes, params: 1, frame: 24
var object2;
const value2 = env0_6.useContext(env0_15);
const value3 = env0_6.useContext(env0_16);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useSharedValue = reanimatedRexportModule.useSharedValue;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
const MOUNTED = TransitionStates.MOUNTED;
const value6 = Reflect.apply(useSharedValue, reanimatedRexportModule, [value2 !== MOUNTED ? 0 : 1]);
const value7 = reanimatedRexportModule.useSharedValue(value2);
env0_6.useLayoutEffect(_fun38405, [value6, value2, value7]);
const moduleValue3 = reanimatedRexportModule;
const useAnimatedReaction = moduleValue3.useAnimatedReaction;
const closure = useSharedAnimationStateN;
closure.__closure = {sharedTransitionState: value7};
closure.__workletHash = 14603144870585;
closure.__initData = env0_24;
const closure2 = useSharedAnimationStateT;
object2 = {};
object2.TransitionStates = TransitionStates;
object2.sharedVisible = value6;
object2.runOnJS = reanimatedRexportModule.runOnJS;
object2.cleanUp = value3;
closure2.__closure = object2;
closure2.__workletHash = 9486923983340;
closure2.__initData = env0_25;
Reflect.apply(useAnimatedReaction, moduleValue3, [closure, closure2]);
return [value7, value6];
}
function AlertActions({children}) { // fn#38408, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:7920, offset: 0x010bf7fb, size: 65 bytes, params: 2, frame: 15
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
return (
<Stack spacing={12}>
{children}
</Stack>
);
}
function AlertActionButton(a0) { // fn#38409, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:8005, offset: 0x010bf83c, size: 214 bytes, params: 2, frame: 20
const env0_0 = a0.onPress;
const loading = a0.loading;
const value = Object.create(null);
value.onPress = 0;
value.loading = 0;
const value2 = copyDataProperties({}, a0, value, undefined);
const [property, env0_1] = env0_4(env0_6.useState(false), 2);
const env0_2 = env0_6.useContext(env0_18);
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
const buttonProps = {...value2};
buttonProps['grow'] = true;
buttonProps['loading'] = loading ?? property;
buttonProps['onPress'] = _fun38410();
return <Button {...buttonProps} />;
}
function _fun38414() { // fn#38414, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:1043, offset: 0x010bf9d6, size: 239 bytes, params: 1, frame: 21
const styles = useStyles();
const value2 = (require(4497) /* metro dependency 4497: useAlertStoreNative */).useAlertStore(function(a0) {
return a0.alerts;
});
const value3 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0);
const value4 = ((a0) => {
if (a0.length === 0) {
return [];
}
a0.slice(0, 3).forEach(_fun38417);
return [{'type': 'backdrop', 'key': 'backdrop'}];
})(value2);
env0_6.useLayoutEffect(_fun38418, [value4]);
const value5 = env0_6.useCallback(_fun38419, [styles]);
const value6 = env0_6.useCallback(_fun38420, [value3]);
const TransitionGroup = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionGroup;
return (
<TransitionGroup
wrapChildren={value5}
items={value4}
renderItem={value6}
getItemKey={getAlertModalItemKey}
/>
);
}
function _fun38421() { // fn#38421, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:6600, offset: 0x010bfd40, size: 88 bytes, params: 1, frame: 14
const closure = withAlertModalSpring;
const object2 = {};
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.MODAL_SPRING = env0_14;
closure.__closure = object2;
closure.__workletHash = 15556562210180;
closure.__initData = env0_22;
return closure;
}
function useDismissModalCallback() { // fn#38423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:8553, offset: 0x010bfdcf, size: 58 bytes, params: 1, frame: 14
return env0_6.useCallback(_fun38424, [env0_6.useContext(env0_18)]);
}
function showConfirmModal({key, title, content, confirmText, cancelText, extraContent, variant, onConfirm, onCancel, onCloseCallback, dismissable}) { // fn#38425, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:8779, offset: 0x010bfe36, size: 312 bytes, params: 2, frame: 32
var r17;
var intl;
if (cancelText !== undefined) {
r17 = cancelText;
} else {
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
r17 = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['ETE/oC']);
}
variant = variant === undefined ? 'destructive' : variant;
const useAlertStoreNativeModule = require(4497) /* metro dependency 4497: useAlertStoreNative */;
useAlertStoreNativeModule.openAlert(key,
<AlertModal title={title} content={content} extraContent={extraContent} actions={<><AlertActionButton variant={variant} text={confirmText} onPress={onConfirm} /><AlertActionButton variant="secondary" text={r17} onPress={onCancel} /></>} />,
onCloseCallback, {dismissable: dismissable});
}
function _fun38392() { // fn#38392, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:2250, offset: 0x010bec89, size: 58 bytes, params: 1, frame: 12
const useAlertStore = (require(4497) /* metro dependency 4497: useAlertStoreNative */).useAlertStore;
return useAlertStore.setState({alerts: env0_0});
}
function AlertModalBackdropT() { // fn#38395, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:2893, owner: AlertModalBackdrop.t, offset: 0x010bee4e, size: 46 bytes, params: 1, frame: 14
var environment;
const object2 = {};
const value = environment.__proto__;
object2.opacity = env1_23(env0_2.get(), _fun38396);
return object2;
}
function _fun38398() { // fn#38398, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:4824, offset: 0x010bf306, size: 74 bytes, params: 1, frame: 12
var value2;
var moduleValue;
if (env0_1 === 0) {
value2 = environment.__proto__;
moduleValue = require(4570) /* metro dependency 4570: setAccessibilityFocusAndroid */;
moduleValue.setAccessibilityFocus({ref: env0_4, delay: 300});
}
}
function AlertModalB() { // fn#38399, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:4951, owner: AlertModal.B, offset: 0x010bf350, size: 419 bytes, params: 1, frame: 19
var r1;
var r6;
var r3;
var object4;
var items2;
var object5;
var binding5;
var binding7;
var property;
var value;
const value2 = height - 32;
const Math = global.Math;
const value4 = 2 * Math.max(top, bottom);
const object6 = {position: 'absolute'};
let binding = env1_23;
object6.opacity = binding(env0_7.get(), _fun38400);
binding = env0_5;
object6.zIndex = 10 - binding.get();
object6.height = binding.get() > 0 ? env0_2.get() : 'auto';
object6.maxHeight = value2 - value4;
if (enabled) {
r1 = [];
} else {
object4 = {};
binding = env1_23;
r1 = env0_7.get() !== 1 ? 0.7 : 1 - 0.1 * env0_5.get();
object4.scale = binding(r1);
items2 = [object4];
object5 = {};
binding = env1_23;
binding5 = env0_7;
if (binding5.get() === 1) {
binding7 = env0_5;
property = [0, -20, -34][binding7.get()];
if (property != null) {
r6 = property;
} else {
value = env0_7.get();
value = -12 * value;
r6 = value;
}
r3 = r6;
} else {
value = env0_5.get();
value = 50 - 50 * value;
r3 = value;
}
object5.translateY = binding(r3);
items2[1] = object5;
r1 = items2;
}
object6.transform = r1;
return object6;
}
function _fun38401() { // fn#38401, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:5691, offset: 0x010bf586, size: 25 bytes, params: 1, frame: 11
env0_5.set(env0_1);
}
function AlertModalOnLayout({nativeEvent}) { // fn#38403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:5894, owner: AlertModal.onLayout, offset: 0x010bf5b0, size: 41 bytes, params: 2, frame: 11
const binding = env0_2;
binding.set(nativeEvent.layout.height);
}
function useSharedAnimationStateT(a0) { // fn#38407, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:7657, owner: useSharedAnimationState.t, offset: 0x010bf768, size: 147 bytes, params: 2, frame: 13
let value = environment.__proto__;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
const YEETED = TransitionStates.YEETED;
if (a0 === YEETED) {
if (env0_2.get() === 1) {
env0_2.set(0);
} else {
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value.runOnJS(env0_1)();
}
} else {
env0_2.set(1);
}
}
function _fun38410() { // fn#38410, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:8189, offset: 0x010bf912, size: 32 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun38412);
return _fun38413;
}
function createTransitionGroupItems(a0) { // fn#38416, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:1135, offset: 0x010bfad0, size: 79 bytes, params: 2, frame: 15
if (a0.length === 0) {
return [];
}
a0.slice(0, 3).forEach(_fun38417);
return [{'type': 'backdrop', 'key': 'backdrop'}];
}
function _fun38418() { // fn#38418, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:1354, offset: 0x010bfb56, size: 57 bytes, params: 1, frame: 11
var value;
if (env0_2.length > 0) {
value = environment.__proto__;
value = require(1848) /* metro dependency 1848: KeyboardManagerUtils */;
value.dismissGlobalKeyboard();
}
}
function _fun38419(a0) { // fn#38419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:1432, offset: 0x010bfb8f, size: 155 bytes, params: 2, frame: 20
const OverlayView = importDefault(4509) /* metro dependency 4509: OverlayView */;
const absoluteFillObject = StyleSheet.absoluteFillObject;
const Dialog = (require(4555) /* metro dependency 4555: DialogNative */).Dialog;
return (
<OverlayView style={absoluteFillObject}>
<Dialog onDismiss={dismissTopAlert}>
<View style={styles.root} pointerEvents="box-none">
{a0}
</View>
</Dialog>
</OverlayView>
);
}
function _fun38420(a0, a1, a2, a3) { // fn#38420, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:1620, offset: 0x010bfc2a, size: 278 bytes, params: 5, frame: 31
var r0;
var value;
if (a1.type === 'alert') {
r0 = a1.alert.node;
} else {
value = environment.__proto__;
value = <AlertModalBackdrop />;
r0 = value;
}
const index = a1.type !== 'alert' ? -1 : a1.index;
value = environment.__proto__;
const Provider = env1_19.Provider;
const Provider2 = env1_16.Provider;
const Provider3 = env1_15.Provider;
const Provider4 = env1_17.Provider;
const Provider5 = env1_18.Provider;
const Suspense = env1_6.Suspense;
return (
<Provider value={env0_1} key={a0}>
<Provider2 value={a3}>
<Provider3 value={a2}>
<Provider4 value={index}>
<Provider5 value={a0}>
<Suspense fallback={null}>
{r0}
</Suspense>
</Provider5>
</Provider4>
</Provider3>
</Provider2>
</Provider>
);
}
function withAlertModalSpring(a0, a1) { // fn#38422, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:6636, offset: 0x010bfd98, size: 55 bytes, params: 3, frame: 17
return (require(4577) /* metro dependency 4577: spring */).withSpring(a0, env1_14, 'animate-always', a1);
}
function _fun38424() { // fn#38424, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:8632, offset: 0x010bfe09, size: 45 bytes, params: 1, frame: 12
const value = environment.__proto__;
(require(4497) /* metro dependency 4497: useAlertStoreNative */).dismissAlert(env0_0);
}
function _fun38396(a0) { // fn#38396, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:2930, offset: 0x010bee7c, size: 147 bytes, params: 2, frame: 13
var r0;
var value2;
var runOnJS;
var value3;
let value = a0 === true;
if (value) {
value = environment.__proto__;
value = env1_2.get();
value = value === 0;
r0 = value;
} else {
r0 = value;
}
if (r0) {
value = environment.__proto__;
value = env1_1.get();
value2 = environment.__proto__.__proto__;
value = value === (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates.YEETED;
r0 = value;
}
if (r0) {
value = environment.__proto__.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
runOnJS = value.runOnJS;
value3 = environment.__proto__;
Reflect.apply(runOnJS, value, [env1_0])();
}
}
function _fun38400(a0) { // fn#38400, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:5037, offset: 0x010bf4f3, size: 147 bytes, params: 2, frame: 13
var r0;
var value2;
var runOnJS;
var value3;
let value = a0 === true;
if (value) {
value = environment.__proto__;
value = env1_7.get();
value = value === 0;
r0 = value;
} else {
r0 = value;
}
if (r0) {
value = environment.__proto__;
value = env1_6.get();
value2 = environment.__proto__.__proto__;
value = value === (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates.YEETED;
r0 = value;
}
if (r0) {
value = environment.__proto__.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
runOnJS = value.runOnJS;
value3 = environment.__proto__;
Reflect.apply(runOnJS, value, [env1_0])();
}
}
function* _fun38412(a0) { // fn#38412, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:8209, offset: 0x010bf93b, size: 155 bytes, params: 2, frame: 16
var r4;
var value4;
var value5;
var value6;
var error;
let value = undefined;
if (true) {
value = undefined;
r4 = require == null ? value : require(a0);
if (r4 == null) {
value6 = environment.__proto__.__proto__.__proto__;
env3_0(env3_2[10]).dismissAlert(dependencyMap);
return value;
}
var Promise = global.Promise;
if (r4 instanceof Promise) {
importDefault(true);
yield r4;
try {
value4 = undefined;
value5 = false;
} catch (error) {
importDefault(false);
return value;
}
if (value5) {
return value4;
}
value6 = environment.__proto__.__proto__.__proto__;
env3_0(env3_2[10]).dismissAlert(dependencyMap);
return value;
}
env3_0(env3_2[10]).dismissAlert(dependencyMap);
}
return value;
}
function _fun38417(a0, a1) { // fn#38417, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4678:1269, offset: 0x010bfb1f, size: 55 bytes, params: 3, frame: 13
env0_0.push({type: 'alert', alert: a0, key: a0.key, index: a1});
}
@@ -0,0 +1,104 @@
/* Metro module 4497; source: design/components/AlertModal/native/useAlertStore.native.tsx; dependencies: [57, 629, 690, 4498, 4499, 2] */
function _fun38371(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38371, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:6, offset: 0x010be329, size: 175 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 */;
let value = require(629) /* metro dependency 629 */;
value = value.create(function() {
return {alerts: []};
});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/AlertModal/native/useAlertStore.native.tsx');
exports.useAlertStore = value;
exports.dismissAlerts = dismissAlerts;
exports.dismissAlert = dismissAlert;
exports.openAlert = openAlert;
}
function dismissAlerts() { // fn#38373, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:272, offset: 0x010be3e5, size: 192 bytes, params: 1, frame: 18
const binding = env0_4;
const getState = binding.getState;
const value3 = env0_3(Reflect.apply(getState, binding, []).alerts.reduce(function(a0, a1) {
a0[a1.dismissable !== false ? 0 : 1].push(a1);
return a0;
}, [[], []]), 2);
const property = value3[0];
const property2 = value3[1];
property.forEach(function(a0) {
return a0.onDismiss?.();
});
(require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun38376);
if (property2.length === 0 && property.length > 0) {
(importDefault(4498) /* metro dependency 4498: setAccessibilityFocusPrevious */)();
}
}
function dismissAlert(a0) { // fn#38377, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:567, offset: 0x010be50e, size: 144 bytes, params: 2, frame: 15
const env0_0 = a0;
const binding = env0_4;
const getState = binding.getState;
const alerts = Reflect.apply(getState, binding, []).alerts;
const r2 = alerts.length === 1 && alerts[0]?.key === a0;
(require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun38378);
if (r2) {
(importDefault(4498) /* metro dependency 4498: setAccessibilityFocusPrevious */)();
}
}
function openAlert(a0, a1, a2, a3) { // fn#38382, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:859, offset: 0x010be63f, size: 130 bytes, params: 5, frame: 13
const env0_0 = a0;
const env0_1 = a1;
const env0_2 = a2;
const env0_3 = a3;
const binding = env0_4;
const getState = binding.getState;
if (Reflect.apply(getState, binding, []).alerts.length === 0) {
(importDefault(4499) /* metro dependency 4499: markAccessibilityFocus */)();
}
(require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun38383);
}
function _fun38376() { // fn#38376, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:486, offset: 0x010be4ec, size: 34 bytes, params: 1, frame: 12
return env1_4.setState({alerts: env0_0});
}
function _fun38378() { // fn#38378, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:692, offset: 0x010be59e, size: 84 bytes, params: 1, frame: 13
var environment;
let value = alerts.find(_fun38379);
if (!(value == null || value.onDismiss == null)) {
value.onDismiss();
}
value = environment.__proto__;
env1_4.setState(function(a0) {
var object = {};
object.alerts = a0.alerts.filter(_fun38381);
return object;
});
}
function _fun38383() { // fn#38383, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:951, offset: 0x010be6c1, size: 29 bytes, params: 1, frame: 11
env1_4.setState(_fun38384);
}
function _fun38379({key}) { // fn#38379, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:720, offset: 0x010be5f2, size: 21 bytes, params: 2, frame: 2
return key === env1_0;
}
function _fun38380({alerts}) { // fn#38380, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:782, offset: 0x010be607, size: 35 bytes, params: 2, frame: 12
const object2 = {};
object2.alerts = alerts.filter(_fun38381);
return object2;
}
function _fun38384({alerts}) { // fn#38384, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:968, offset: 0x010be6de, size: 104 bytes, params: 2, frame: 17
const items2 = [];
const value = arraySpread(items2, alerts, 0, undefined);
items2[value] = {key: env1_0, node: require, onDismiss: importDefault, dismissable: importAll?.dismissable};
value + 1;
return {alerts: items2};
}
function _fun38381({key}) { // fn#38381, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4675:811, offset: 0x010be62a, size: 21 bytes, params: 2, frame: 2
return key !== env2_0;
}
@@ -0,0 +1,162 @@
/* Metro module 8549; source: design/components/AnimatedEnterExitItem/native/AnimatedEnterExitItem.tsx; dependencies: [31, 33, 4017, 4508, 2] */
function _fun67759(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67759, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8734:6, offset: 0x01c2fc2b, size: 234 bytes, params: 8, frame: 18
const env0_0 = require;
const renderAnimatedItem = function(a0, a1, a2, a3) {
var r4;
var createElementBinding = createElement;
var object = {};
copyDataProperties(object, a1, r4);
object['key'] = a0;
object['state'] = a2;
object['cleanUp'] = a3;
return createElementBinding(AnimatedRenderItem, object);
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importAll(31) /* metro dependency 31 */;
const value = require(33) /* metro dependency 33 */;
const env0_3 = value.Fragment;
const env0_4 = value.jsx;
const env0_5 = (require(31) /* metro dependency 31 */).createElement;
object = {code: 'function AnimatedEnterExitItemTsx1(){const{useReducedMotion,shouldAnimate,state,TransitionStates,exiting,visible,runOnJS,cleanUp,entering}=this.__closure;var _shouldAnimate;if(useReducedMotion)return{};if(((_shouldAnimate=shouldAnimate)===null||_shouldAnimate===void 0?void 0:_shouldAnimate.get())===false)return{};if(state===TransitionStates.YEETED&&exiting!=null){return exiting(visible.get(),function(finished){if(finished){runOnJS(cleanUp)();}});}if(entering!=null){return entering(visible.get());}return{};}'};
object = {code: 'function AnimatedEnterExitItemTsx2(){const{state,TransitionStates,visible,hasExiting,useReducedMotion}=this.__closure;return state===TransitionStates.YEETED&&visible.get()===0&&(!hasExiting||useReducedMotion);}'};
object = {code: 'function AnimatedEnterExitItemTsx3(hasExited,previous){const{runOnJS,cleanUp}=this.__closure;if(!hasExited||hasExited===previous)return;runOnJS(cleanUp)();}'};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/AnimatedEnterExitItem/native/AnimatedEnterExitItem.tsx');
exports.default = AnimatedEnterExitItem;
}
function AnimatedRenderItem({renderItem, item, shouldAnimate, entering, exiting, state, cleanUp, useReducedMotion}) { // fn#67760, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8734:1076, offset: 0x01c2fd15, size: 536 bytes, params: 2, frame: 30
var object2;
const env0_2 = exiting;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useSharedValue = reanimatedRexportModule.useSharedValue;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
const MOUNTED = TransitionStates.MOUNTED;
const value4 = Reflect.apply(useSharedValue, reanimatedRexportModule, [state !== MOUNTED ? 0 : 1]);
const env0_6 = value4;
env0_2.useEffect(_fun67761, [state, value4]);
const moduleValue2 = reanimatedRexportModule;
const useAnimatedStyle = moduleValue2.useAnimatedStyle;
let closure = AnimatedRenderItemT;
object2 = {useReducedMotion: useReducedMotion, shouldAnimate: shouldAnimate, state: state};
object2.TransitionStates = TransitionStates;
object2.exiting = exiting;
object2.visible = value4;
object2.runOnJS = reanimatedRexportModule.runOnJS;
object2.cleanUp = cleanUp;
object2.entering = entering;
closure.__closure = object2;
closure.__workletHash = 2197269661090;
closure.__initData = env0_6;
const value5 = Reflect.apply(useAnimatedStyle, moduleValue2, [closure]);
const value6 = exiting != null;
const env0_7 = value6;
const moduleValue3 = reanimatedRexportModule;
const useAnimatedReaction = moduleValue3.useAnimatedReaction;
closure = AnimatedRenderItemI;
closure.__closure = {state: state, TransitionStates: TransitionStates, visible: value4, hasExiting: value6,
useReducedMotion: useReducedMotion};
closure.__workletHash = 11984384474891;
closure.__initData = env0_7;
const closure2 = AnimatedRenderItemV;
closure2.__closure = {runOnJS: reanimatedRexportModule.runOnJS, cleanUp: cleanUp};
closure2.__workletHash = 2105667466259;
closure2.__initData = env0_8;
Reflect.apply(useAnimatedReaction, moduleValue3, [closure, closure2]);
return (
<>
{renderItem(item, value5)}
</>
);
}
function AnimatedEnterExitItem({useReducedMotion, shouldAnimate, entering, exiting, item, renderItem}) { // fn#67767, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8734:2416, offset: 0x01c30151, size: 172 bytes, params: 2, frame: 20
const value2 = entering.useMemo(function() {
if (item != null) {
return {shouldAnimate: shouldAnimate, entering: entering, exiting: exiting, renderItem: renderItem,
item: item,
useReducedMotion: useReducedMotion};
}
}, [item, shouldAnimate, entering, exiting, renderItem, useReducedMotion]);
const TransitionItem = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionItem;
return <TransitionItem item={value2} renderItem={renderAnimatedItem} />;
}
function _fun67761() { // fn#67761, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8734:1285, offset: 0x01c2ff2d, size: 85 bytes, params: 1, frame: 13
const stateBinding = state;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
const YEETED = TransitionStates.YEETED;
if (stateBinding === YEETED) {
env0_6.set(0);
} else {
env0_6.set(1);
}
}
function AnimatedRenderItemT() { // fn#67762, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8734:1394, owner: AnimatedRenderItem.T, offset: 0x01c2ff82, size: 177 bytes, params: 1, frame: 16
var environment;
var r0;
var stateBinding;
var value4;
var exitingBinding;
var value;
if (useReducedMotion) {
r0 = {};
} else if (shouldAnimate?.get() === false) {
r0 = {};
} else {
stateBinding = state;
value4 = environment.__proto__;
if (stateBinding !== (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates.YEETED) {
r0 = entering != null ? entering(env0_6.get()) : {};
} else {
exitingBinding = exiting;
if (exitingBinding != null) {
exitingBinding = exiting;
value = env0_6.get();
value = exitingBinding(value, _fun67763);
r0 = value;
} else {
r0 = entering != null ? entering(env0_6.get()) : {};
}
}
}
return r0;
}
function AnimatedRenderItemI() { // fn#67764, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8734:1819, owner: AnimatedRenderItem.I, offset: 0x01c3006b, size: 92 bytes, params: 1, frame: 13
const stateBinding = state;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
const YEETED = TransitionStates.YEETED;
return stateBinding === YEETED && env0_6.get() === 0 && (env0_7 ? useReducedMotion : !env0_7);
}
function AnimatedRenderItemV(a0, a1) { // fn#67765, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8734:2038, owner: AnimatedRenderItem.v, offset: 0x01c300c7, size: 69 bytes, params: 3, frame: 12
var r0;
let value = a0;
if (value) {
value = value !== a1;
r0 = value;
} else {
r0 = value;
}
if (r0) {
value = environment.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value.runOnJS(cleanUp)();
}
}
function _fun67763(a0) { // fn#67763, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8734:1504, offset: 0x01c30033, size: 56 bytes, params: 2, frame: 12
var value;
var runOnJS;
var value2;
if (a0) {
value = environment.__proto__.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
runOnJS = value.runOnJS;
value2 = environment.__proto__;
Reflect.apply(runOnJS, value, [cleanUp])();
}
}
@@ -0,0 +1,117 @@
/* Metro module 4562; source: design/components/Backdrop/native/Backdrop.native.tsx; dependencies: [31, 27, 33, 4501, 697, 1244, 3868, 1585, 4000, 4017, 4563, 2] */
function _fun38785(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38785, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4740:6, offset: 0x010ca32e, size: 315 bytes, params: 8, frame: 22
var object2;
const env0_0 = require;
const getBlurAmount = function(a0) {
if (a0 === 'none') {
return 0;
}
if (a0 === 'subtle') {
return 0.05;
}
if (a0 === 'strong') {
return 0.25;
}
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
let value = require(27) /* metro dependency 27 */;
const StyleSheet = value.StyleSheet;
const env0_4 = value.Pressable;
value = require(33) /* metro dependency 33 */;
const env0_5 = value.jsx;
const env0_6 = value.jsxs;
const env0_7 = {};
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object2 = {};
object2.fill = StyleSheet.absoluteFillObject;
const BACKGROUND_SCRIM = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SCRIM;
object2.backdrop = {backgroundColor: BACKGROUND_SCRIM};
const MOBILE_BACKGROUND_SCRIM_OPAQUE = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_BACKGROUND_SCRIM_OPAQUE;
object2.backdropOpaque = {backgroundColor: MOBILE_BACKGROUND_SCRIM_OPAQUE};
object2.accessibilityDismiss = {'position': 'absolute', 'top': 0, 'left': 0, 'right': 0, 'height': 16};
const env0_8 = Reflect.apply(createStyles, value, [object2]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Backdrop/native/Backdrop.native.tsx');
exports.Backdrop = Backdrop;
}
function Backdrop(a0) { // fn#38787, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4740:643, offset: 0x010ca4a6, size: 636 bytes, params: 2, frame: 31
var r11;
var r5;
var intl;
var object2;
var object3;
var VisualEffectViewAnimated;
const style = a0.style;
const accessibleDismissStyle = a0.accessibleDismissStyle;
const animatedProps = a0.animatedProps;
const r4 = animatedProps !== undefined ? animatedProps : env0_7;
let opaque = a0.opaque;
opaque = !(opaque === undefined) && opaque;
let blur = a0.blur;
blur = blur === undefined ? 'none' : blur;
const onDismiss = a0.onDismiss;
const accessibilityLabel = a0.accessibilityLabel;
if (accessibilityLabel !== undefined) {
r11 = accessibilityLabel;
} else {
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
r11 = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.WAI6xu);
}
const property = a0['aria-hidden'];
const styles = useStyles();
const nativeModule = require(3868) /* metro dependency 3868: native */;
const useThemeContext = nativeModule.useThemeContext;
const theme = Reflect.apply(useThemeContext, nativeModule, []).theme;
const top = (importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)().top;
const backgroundColor = styles.backdrop.backgroundColor;
const binding = env0_3;
const useMemo = binding.useMemo;
const items2 = [backgroundColor];
const value2 = Reflect.apply(useMemo, binding, [_fun38788, items2]);
({onPress: onDismiss})['aria-hidden'] = true;
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
let fill = styles.fill;
const items4 = [fill, style];
const items3 = [onDismiss != null && <Pressable style={[styles.accessibilityDismiss, {top: top},
accessibleDismissStyle]} onPress={onDismiss} accessibilityRole="button" accessibilityLabel={r11} {...{['aria-hidden']: property}} />];
if (blur !== 'none') {
object3 = {};
copyDataProperties(object3, items2, top);
fill = styles.fill;
object3['style'] = fill;
VisualEffectViewAnimated = importDefault(4563) /* metro dependency 4563: VisualEffectViewAnimated */;
var defaultImportProps = {blurAmount: getBlurAmount(blur)};
fill = styles.fill;
defaultImportProps.style = fill;
defaultImportProps.blurTheme = theme;
defaultImportProps.blurTintRgba = value2;
defaultImportProps.android_fallbackColor = styles.backdrop.backgroundColor;
object3['children'] = <VisualEffectViewAnimated {...defaultImportProps} />;
r5 = object3;
} else {
object2 = {};
copyDataProperties(object2, items2, top);
object2['style'] = [styles.fill, opaque ? styles.backdropOpaque : styles.backdrop];
r5 = object2;
}
items3[1] = <Pressable {...r5} />;
return (
<View
style={items4}
pointerEvents="box-none"
animatedProps={r4}
>
{items3}
</View>
);
}
function _fun38788() { // fn#38788, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4740:930, offset: 0x010ca722, size: 45 bytes, params: 1, frame: 11
let value = environment.__proto__;
value = require(4000) /* metro dependency 4000: ColorUtils */;
return value.hexToRgbaString(backgroundColor);
}
@@ -0,0 +1,8 @@
/* Metro module 12760; source: design/components/Backdrop/native/BackdropConstants.tsx; dependencies: [2] */
function _fun97522(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97522, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12950:6, offset: 0x021875be, size: 88 bytes, params: 8, frame: 15
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Backdrop/native/BackdropConstants.tsx');
exports.BACKDROP_OPAQUE_MAX_OPACITY = 0.7;
}
@@ -0,0 +1,103 @@
/* Metro module 4585; source: design/components/Button/native/BaseButton.native.tsx; dependencies: [29, 31, 27, 4586, 33, 3868, 4501, 697, 4583, 4017, 1360, 477, 2] */
function _fun38889(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38889, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4763:6, offset: 0x010cf432, size: 309 bytes, params: 8, frame: 22
const env0_0 = require;
const env0_3 = ['style'];
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_4 = importDefault(29) /* metro dependency 29 */;
let value = importAll(31) /* metro dependency 31 */;
const {Pressable, TouchableOpacity} = require(27) /* metro dependency 27 */;
const env0_6 = (require(4586) /* metro dependency 4586: styleConstants */).IOS_POINTER_STYLE;
const env0_7 = (require(33) /* metro dependency 33 */).jsx;
const env0_8 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun38890);
const env0_9 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(Pressable);
const env0_10 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(TouchableOpacity);
value = value.forwardRef(_fun38891);
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/BaseButton.native.tsx');
exports.BaseButton = value;
}
function _fun38890(a0) { // fn#38890, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4763:247, offset: 0x010cf567, size: 140 bytes, params: 2, frame: 13
var r3;
var r2;
if (a0 === 'secondary') {
r2 = (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_LOW;
r3 = importDefault;
} else if (a0 !== 'primary-overlay') {
r2 = {};
} else {
r2 = (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_BUTTON_OVERLAY;
r3 = importDefault;
}
const object = {};
copyDataProperties(object, r2, r3);
return {button: object, disabled: {opacity: 0.5}};
}
function _fun38891({children, style, variant, disabled, loading, pressed, onPress, onPressDisabled, onPressIn, onPressOut, onLongPress, onLayout, accessible, accessibilityRole, accessibilityLabel, accessibilityHint, accessibilityValue, accessibilityState, accessibilityActions, onAccessibilityAction, accessibilityElementsHidden, importantForAccessibility, pointerEvents, hitSlop, scaleAmountInPx}, a1) { // fn#38891, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4763:524, offset: 0x010cf5f3, size: 1065 bytes, params: 3, frame: 46
variant = variant === undefined ? 'primary' : variant;
disabled = !(disabled === undefined) && disabled;
loading = !(loading === undefined) && loading;
const env0_3 = undefined;
const styles = useStyles(variant);
const r7 = disabled && onPressDisabled == null;
const r9 = (disabled ? onPressDisabled : onPress) ?? undefined;
const value7 = (require(4583) /* metro dependency 4583: ButtonHooksNative */).useButtonPressAnimationProps(pressed,
scaleAmountInPx, onLayout, onPressIn, onPressOut);
const style2 = value7.style;
let binding = env0_4;
const r10 = pressed == null ? {animatedScaleStyles: undefined, buttonAnimationProps: {onLayout: onLayout,
onPressIn: onPressIn, onPressOut: onPressOut}} : {animatedScaleStyles: style2,
buttonAnimationProps: binding(value7, env0_3)};
const animatedScaleStyles = r10.animatedScaleStyles;
const buttonAnimationProps = r10.buttonAnimationProps;
const value9 = env0_5.useMemo(_fun38892, [accessibilityState, r7, loading]);
const nativeModule = require(3868) /* metro dependency 3868: native */;
const useThemeContext = nativeModule.useThemeContext;
const theme = Reflect.apply(useThemeContext, nativeModule, []).theme;
const value10 = 'light';
const r30 = variant === 'primary-overlay' ? value10 : variant !== 'secondary-overlay' || value10 !== theme ? undefined : 'dark';
const r5 = r30 == null ? children : <nativeModule.ThemeContextProvider theme={r30}>{children}</nativeModule.ThemeContextProvider>;
const items = [styles.button, style];
disabled = disabled && styles.disabled;
items[2] = disabled;
items[3] = animatedScaleStyles;
items[4] = IOS_POINTER_STYLE;
if (accessibilityRole !== 'none') {
return ((Component) => <Component {...buttonAnimationProps} {...{['ref']: a1}} {...{['accessible']: accessible}} {...{['accessibilityRole']: accessibilityRole ?? 'button'}} {...{['accessibilityLabel']: accessibilityLabel}} {...{['accessibilityHint']: accessibilityHint}} {...{['accessibilityValue']: accessibilityValue}} {...{['accessibilityState']: value9}} {...{['accessibilityActions']: accessibilityActions}} {...{['onAccessibilityAction']: onAccessibilityAction}} {...{['accessibilityElementsHidden']: accessibilityElementsHidden}} {...{['importantForAccessibility']: importantForAccessibility}} {...{['pointerEvents']: pointerEvents}} {...{['style']: items}} {...{['onPress']: r9}} {...{['onLongPress']: onLongPress}} {...{['disabled']: r7}} {...{['hitSlop']: hitSlop}}>{r5}</Component>)(env0_9);
}
const r27 = accessibilityElementsHidden ? '' : [accessibilityLabel,
accessibilityHint].filter((require(1360) /* metro dependency 1360: GlobalUtils */).isNotNullish).join(', ');
binding = env0_10;
const bindingProps2 = {...buttonAnimationProps};
bindingProps2['ref'] = a1;
bindingProps2['accessible'] = !(accessible ?? (require(477) /* metro dependency 477: PlatformUtils */).isAndroid()) && undefined;
bindingProps2['accessibilityRole'] = 'none';
bindingProps2['accessibilityLabel'] = r27;
bindingProps2['accessibilityElementsHidden'] = accessibilityElementsHidden;
bindingProps2['activeOpacity'] = 1;
bindingProps2['importantForAccessibility'] = importantForAccessibility;
bindingProps2['style'] = items;
bindingProps2['onPress'] = r9;
bindingProps2['onPressIn'] = function(a0) {
if (buttonAnimationProps.onPressIn != null) {
buttonAnimationProps.onPressIn(a0);
}
};
bindingProps2['onPressOut'] = function(a0) {
if (buttonAnimationProps.onPressOut != null) {
buttonAnimationProps.onPressOut(a0);
}
};
bindingProps2['hitSlop'] = hitSlop;
return ((Component) => <Component {...bindingProps2}>{r5}</Component>)(binding);
}
function _fun38892() { // fn#38892, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4763:1367, offset: 0x010cfa1c, size: 44 bytes, params: 1, frame: 13
const object2 = {};
copyDataProperties(object2, accessibilityState, undefined);
object2['disabled'] = env0_2;
object2['busy'] = loading;
return object2;
}
@@ -0,0 +1,107 @@
/* Metro module 8342; source: design/components/Button/native/BaseIconButton.native.tsx; dependencies: [31, 33, 4501, 4582, 4017, 4580, 4583, 4585, 4587, 2] */
function _fun66438(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#66438, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8527:6, offset: 0x01bfb458, size: 221 bytes, params: 8, frame: 20
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
const env0_4 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun66439);
const env0_5 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(importDefault(4580) /* metro dependency 4580: Icon */);
value = value.forwardRef(_fun66440);
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/BaseIconButton.native.tsx');
exports.BaseIconButton = value;
}
function _fun66439(a0, a1) { // fn#66439, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8527:144, offset: 0x01bfb535, size: 259 bytes, params: 3, frame: 16
var r6;
var r2;
var LARGE_BUTTON_PADDING;
var MEDIUM_BUTTON_PADDING;
var SMALL_BUTTON_PADDING;
let object3 = {};
if (a1 === 'sm') {
object3 = {};
SMALL_BUTTON_PADDING = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_PADDING;
object3.paddingHorizontal = SMALL_BUTTON_PADDING;
object3.paddingVertical = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_PADDING;
r2 = object3;
r6 = SMALL_BUTTON_PADDING;
} else if (a1 === 'md') {
object3 = {};
MEDIUM_BUTTON_PADDING = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_PADDING;
object3.paddingHorizontal = MEDIUM_BUTTON_PADDING;
object3.paddingVertical = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_PADDING;
r2 = object3;
r6 = MEDIUM_BUTTON_PADDING;
} else if (a1 !== 'lg') {
r2 = object3;
} else {
object3 = {};
LARGE_BUTTON_PADDING = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).LARGE_BUTTON_PADDING;
object3.paddingHorizontal = LARGE_BUTTON_PADDING;
object3.paddingVertical = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).LARGE_BUTTON_PADDING;
r2 = object3;
r6 = LARGE_BUTTON_PADDING;
}
const object4 = {};
copyDataProperties(object4, r2, r6);
return {button: {'flexShrink': 0, 'flexGrow': 0, 'alignSelf': 'center'}, pill: object4};
}
function _fun66440(a0, a1) { // fn#66440, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8527:638, offset: 0x01bfb638, size: 595 bytes, params: 3, frame: 34
var r14;
const style = a0.style;
const pillStyle = a0.pillStyle;
const variant = a0.variant;
const r13 = variant === undefined ? 'primary' : variant;
const size = a0.size;
if (size !== undefined) {
r14 = size;
} else {
value = environment;
r14 = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).DEFAULT_BUTTON_SIZE;
}
const maxFontSizeMultiplier = a0.maxFontSizeMultiplier;
const loading = a0.loading;
const icon = a0.icon;
const scaleAmountInPx = a0.scaleAmountInPx;
const r19 = scaleAmountInPx === undefined ? 4 : scaleAmountInPx;
const styles = useStyles(r13, r14);
value = require(dependencyMap[value]);
value = value.useSharedValue(0);
const value3 = (require(4583) /* metro dependency 4583: ButtonHooksNative */).useIconTintStyles(r13);
const value4 = (require(4583) /* metro dependency 4583: ButtonHooksNative */).useIconSizeStyles(r14, true,
maxFontSizeMultiplier);
const LARGE_BUTTON_HEIGHT = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).LARGE_BUTTON_HEIGHT;
const value5 = 'sm';
const r21 = value5 === r14 ? (require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_HEIGHT : r14 !== 'md' ? LARGE_BUTTON_HEIGHT : (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_HEIGHT;
const Math = global.Math;
const max = Math.max;
const MINIMUM_HIT_AREA = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MINIMUM_HIT_AREA;
const value6 = Reflect.apply(max, Math, [(MINIMUM_HIT_AREA - r21) / 2, 0]);
const BaseButton = (require(4585) /* metro dependency 4585: BaseButtonNative */).BaseButton;
const baseButtonProps = {...a0};
baseButtonProps['ref'] = a1;
baseButtonProps['style'] = [styles.button, style];
baseButtonProps['pressed'] = value;
baseButtonProps['scaleAmountInPx'] = r19;
baseButtonProps['hitSlop'] = value6;
const ButtonPill = (require(4587) /* metro dependency 4587: ButtonPillNative */).ButtonPill;
const binding = env0_2;
return (
<BaseButton {...baseButtonProps}>
<ButtonPill
style={[styles.pill, pillStyle]}
variant={r13}
size={r14}
loading={loading}
loaderSize={r14 !== 'lg' ? 'xs' : value5}
pressed={value}
>
{binding.isValidElement(icon) ? icon : ((Component) => <Component source={icon} style={[value3,
value4]} />)(env0_5)}
</ButtonPill>
</BaseButton>
);
}
@@ -0,0 +1,355 @@
/* Metro module 4579; source: design/components/Button/native/BaseTextButton.native.tsx; dependencies: [57, 31, 27, 33, 4501, 697, 4017, 4580, 4577, 4581, 4582, 4583, 1357, 4573, 3875, 4081, 4585, 3862, 4587, 2] */
function _fun38838(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38838, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:6, offset: 0x010ccaf5, size: 643 bytes, params: 8, frame: 26
const env0_0 = require;
const closure = getHitSlop;
let Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(57) /* metro dependency 57 */;
let value = importAll(31) /* metro dependency 31 */;
const value2 = require(27) /* metro dependency 27 */;
value2.Platform;
const env0_5 = value2.Text;
const env0_6 = value2.View;
const value3 = require(33) /* metro dependency 33 */;
const env0_7 = value3.jsx;
const env0_8 = value3.jsxs;
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
let createStyles = createStylesModule.createStyles;
const env0_9 = Reflect.apply(createStyles, createStylesModule, [_fun38847]);
const env0_10 = createStylesModule.createStyles({container: {'flexDirection': 'row', 'alignItems': 'center',
'position': 'relative'}, textCollapsed: {'position': 'absolute', 'left': 0}});
const value6 = createStylesModule;
createStyles = value6.createStyles;
const object3 = {borderWidth: 1};
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
const BORDER_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BORDER_SUBTLE;
object3.borderColor = BORDER_SUBTLE;
object3.overflow = 'hidden';
const env0_11 = Reflect.apply(createStyles, value6, [{entityWrapper: object3}]);
const env0_12 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(importDefault(4580) /* metro dependency 4580: Icon */);
const env0_13 = value.createContext('md');
object = {code: 'function BaseTextButtonNativeTsx1({nativeEvent:nativeEvent}){const{containerWidth}=this.__closure;if(containerWidth.get()!==0)return;const{width:width}=nativeEvent.layout;containerWidth.set(width);}'};
object = {code: "function BaseTextButtonNativeTsx2(){const{containerWidth,withSpring,collapsed,SUBTLE_SPRING}=this.__closure;if(containerWidth.get()===0)return{};return{width:withSpring(collapsed.get()===1?0:containerWidth.get(),SUBTLE_SPRING,'animate-always'),opacity:withSpring(collapsed.get()===1?0:1,SUBTLE_SPRING,'animate-always')};}"};
object = {code: 'function BaseTextButtonNativeTsx3(){const{collapsed,textCollapsed,containerWidth}=this.__closure;if(collapsed.get()===0)return{};return{...textCollapsed,width:containerWidth.get()};}'};
const env0_17 = createStylesModule.createStyles(function(a0, a1) {
if (a1 !== 0) {
if (a0 === 'start') {
return {offset: {marginLeft: a1}};
}
if (a0 === 'end') {
return {offset: {marginRight: a1}};
}
}
return {offset: {}};
});
object = {sm: closure('sm'), md: closure('md'), lg: closure('lg')};
const getTextPlatformLineHeight = function(a0, a1) {
return a0 != null ? ({sm: a0, md: a0 + 0.5, lg: a0 + 1.9})[a1] : undefined;
};
value = value.forwardRef(_fun38850);
Object = global.Object;
value = Object.assign({}, value, {Icon: Icon});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/BaseTextButton.native.tsx');
exports.BaseTextButton = value;
}
function CollapsingText({children, collapseText}) { // fn#38839, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:1057, offset: 0x010ccd78, size: 257 bytes, params: 2, frame: 23
const styles = useStyles();
const value2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useWorkletCallback = reanimatedRexportModule.useWorkletCallback;
const closure = CollapsingTextO;
closure.__closure = {containerWidth: value2};
closure.__workletHash = 5541458715155;
closure.__initData = env0_14;
const value3 = Reflect.apply(useWorkletCallback, reanimatedRexportModule, [closure, [value2]]);
const value4 = useCollapsingTextContainerStyles(value2, collapseText);
const value5 = useCollapsingTextStyles(value2, collapseText);
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const items2 = [styles.container, value4];
const View2 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
return (
<View style={items2} onLayout={value3}>
<View2 style={value5}>
{children}
</View2>
</View>
);
}
function getHitSlop(a0) { // fn#38845, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:2889, offset: 0x010cd0d5, size: 173 bytes, params: 2, frame: 16
const LARGE_BUTTON_HEIGHT = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).LARGE_BUTTON_HEIGHT;
const r1 = a0 === 'sm' ? (require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_HEIGHT : a0 !== 'md' ? LARGE_BUTTON_HEIGHT : (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_HEIGHT;
const Math = global.Math;
const max = Math.max;
const MINIMUM_HIT_AREA = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MINIMUM_HIT_AREA;
const value = Reflect.apply(max, Math, [(MINIMUM_HIT_AREA - r1) / 2, 0]);
return {top: value, left: undefined, right: undefined, bottom: value};
}
function BaseTextButtonIcon({icon, size, iconPosition, iconOpticalOffsetMargin, style}) { // fn#38846, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:3285, offset: 0x010cd182, size: 124 bytes, params: 2, frame: 18
const value2 = (require(4583) /* metro dependency 4583: ButtonHooksNative */).useIconSizeStyles(size);
const styles = useStyles(iconPosition, iconOpticalOffsetMargin);
return ((Component) => <Component source={icon} style={[style, value2, styles.offset]} />)(env0_12);
}
function _fun38847(a0, a1) { // fn#38847, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:208, offset: 0x010cd1fe, size: 139 bytes, params: 3, frame: 15
const object = {'flexShrink': 1, 'flexGrow': 0};
object.lineHeight = getTextPlatformLineHeight(a1, a0);
return {grow: {'flexGrow': 1, 'alignSelf': 'stretch'}, shrink: {flexShrink: 1}, buttonText: object,
icon: {'flexShrink': 0, 'flexGrow': 0}, iconLeft: {paddingLeft: 4}, iconRight: {paddingRight: 4},
expressiveButtonContainer: {position: 'relative'}};
}
function _fun38850(a0, a1) { // fn#38850, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:3488, offset: 0x010cd31f, size: 1381 bytes, params: 3, frame: 51
const style = a0.style;
const pillStyle = a0.pillStyle;
const text = a0.text;
const textElement = a0.textElement;
const size = a0.size;
const value = undefined;
const r15 = value !== size ? size : (require(4582) /* metro dependency 4582: ButtonConstantsNative */).DEFAULT_BUTTON_SIZE;
const loading = a0.loading;
const icon = a0.icon;
const iconPosition = a0.iconPosition;
const value3 = 'start';
const r14 = value === iconPosition ? value3 : iconPosition;
const iconOpticalOffsetMargin = a0.iconOpticalOffsetMargin;
const value4 = 0;
const r38 = value === iconOpticalOffsetMargin ? value4 : iconOpticalOffsetMargin;
const grow = a0.grow;
let r30 = value !== grow && grow;
const shrink = a0.shrink;
let r29 = value !== shrink && shrink;
const collapseText = a0.collapseText;
const accessibilityRole = a0.accessibilityRole;
const r24 = value === accessibilityRole ? 'button' : accessibilityRole;
const accessibilityLabel = a0.accessibilityLabel;
const maxFontSizeMultiplier = a0.maxFontSizeMultiplier;
const r37 = value !== maxFontSizeMultiplier ? maxFontSizeMultiplier : (require(4582) /* metro dependency 4582: ButtonConstantsNative */).BUTTON_DEFAULT_MAX_FONT_SIZE_MULTIPLIER;
const shiny = a0.shiny;
const r7 = value !== shiny && shiny;
const onPressIn = a0.onPressIn;
const onPressOut = a0.onPressOut;
const onLayout = a0.onLayout;
const value11 = (importDefault(1357) /* metro dependency 1357: MobileVisualRefreshExperiment */)('BaseTextButton');
const r5 = a0.textVariant ?? (require(4582) /* metro dependency 4582: ButtonConstantsNative */).getButtonDefaultTextVariant(r15);
const TextStyleSheet = (require(4573) /* metro dependency 4573: Text */).TextStyleSheet;
const property = TextStyleSheet[r5];
const styles = useStyles(r15, property.fontSize);
const property2 = env0_18[r15];
let binding = env0_4;
const useContext = binding.useContext;
const AccessibilityPreferencesContext = (require(3875) /* metro dependency 3875: AccessibilityPreferencesContext */).AccessibilityPreferencesContext;
const enabled = Reflect.apply(useContext, binding, [AccessibilityPreferencesContext]).reducedMotion.enabled;
const env0_3 = enabled;
let r0 = a0.variant ?? 'primary';
r0 = value11 && r0 === 'tertiary' ? 'secondary' : r0;
const value16 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(value4);
const value17 = r0.startsWith('expressive');
var env0_4 = value17;
binding = env0_4;
const value18 = binding.useRef(null);
const env0_6 = binding.useRef({'width': 0, 'height': 0});
const value20 = env0_3(binding.useState({'pressed': false, 'posx': 0, 'posy': 0}), 2);
const property3 = value20[value4];
const env0_7 = value20[1];
const value21 = binding.useCallback(_fun38851, [onLayout, value17]);
const value22 = binding.useCallback(_fun38852, [value17, onPressIn, enabled]);
const value23 = binding.useCallback(_fun38853, [value17, onPressOut]);
const value24 = (require(4583) /* metro dependency 4583: ButtonHooksNative */).useButtonTextColorStyles(r0);
const r34 = icon == null ? {} : value3 === r14 ? styles.iconLeft : styles.iconRight;
const r12 = icon == null ? <BaseTextButtonIcon icon={icon} size={r15} style={[styles.icon,
{tintColor: value24.color}]} iconOpticalOffsetMargin={r38} iconPosition={r14} /> : env0_4.isValidElement(icon) ? icon : <BaseTextButtonIcon icon={icon} size={r15} style={[styles.icon,
{tintColor: value24.color}]} iconOpticalOffsetMargin={r38} iconPosition={r14} />;
const r19 = textElement ?? <Text maxFontSizeMultiplier={r37} numberOfLines={1} style={[styles.buttonText, property,
value24, r34]}>{text}</Text>;
const BaseButton = (require(4585) /* metro dependency 4585: BaseButtonNative */).BaseButton;
const baseButtonProps = {ref: a1, ...a0};
baseButtonProps['onPressIn'] = value22;
baseButtonProps['onPressOut'] = value23;
baseButtonProps['onLayout'] = value21;
r30 = r30 && styles.grow;
r29 = r29 && styles.shrink;
baseButtonProps['style'] = [r30, r29, style, value17 && styles.expressiveButtonContainer];
baseButtonProps['pointerEvents'] = value17 ? 'box-only' : a0.pointerEvents;
baseButtonProps['pressed'] = value16;
baseButtonProps['accessibilityRole'] = r24;
baseButtonProps['accessibilityLabel'] = accessibilityLabel ?? (require(3862) /* metro dependency 3862: native */).getNodeText(text);
baseButtonProps['hitSlop'] = property2;
const ButtonPill = (require(4587) /* metro dependency 4587: ButtonPillNative */).ButtonPill;
const Provider = env0_13.Provider;
const items4 = [icon != null && value3 === r14 && r12];
items4[1] = value === collapseText ? r19 : <CollapsingText collapseText={collapseText}>{r19}</CollapsingText>;
items4[2] = icon != null && r14 === 'end' && r12;
return (
<BaseButton {...baseButtonProps}>
<ButtonPill
variant={r0}
size={r15}
loading={loading}
pressed={value16}
style={pillStyle}
shiny={r7}
expressiveRiveRef={value17 ? value18 : value}
expressivePressState={value17 ? property3 : value}
>
<Provider value={r15}>
{items4}
</Provider>
</ButtonPill>
</BaseButton>
);
}
function Icon({source, variant, disableColor}) { // fn#38855, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:6038, offset: 0x010cda34, size: 168 bytes, params: 2, frame: 19
variant = variant === undefined ? 'icon' : variant;
disableColor = disableColor === undefined || disableColor;
const value2 = env0_4.useContext(env0_13);
const styles = useStyles();
const env0_122 = ((Component) => <Component source={source} disableColor={disableColor} style={(require(4583) /* metro dependency 4583: ButtonHooksNative */).useIconSizeStyles(value2)} />)(env0_12);
return variant !== 'entity' ? env0_122 : <View style={styles.entityWrapper}>{env0_122}</View>;
}
function CollapsingTextO({nativeEvent}) { // fn#38840, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:1183, owner: CollapsingText.o, offset: 0x010cce79, size: 60 bytes, params: 2, frame: 12
if (env0_0.get() === 0) {
env0_0.set(nativeEvent.layout.width);
}
}
function useCollapsingTextContainerStyles(a0, a1) { // fn#38841, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:1342, owner: CollapsingText.useCollapsingTextContainerStyles, offset: 0x010cceb5, size: 147 bytes, params: 3, frame: 18
const env0_0 = a0;
const env0_1 = a1;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = useCollapsingTextContainerStylesO;
const object2 = {containerWidth: a0};
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.collapsed = a1;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.SUBTLE_SPRING = SUBTLE_SPRING;
closure.__closure = object2;
closure.__workletHash = 493185281611;
closure.__initData = env1_15;
return Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
}
function useCollapsingTextStyles(a0, a1) { // fn#38843, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:1801, owner: CollapsingText.useCollapsingTextStyles, offset: 0x010cd018, size: 126 bytes, params: 3, frame: 17
const env0_0 = a0;
const env0_1 = a1;
const styles = useStyles();
const textCollapsed = styles.textCollapsed;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = useCollapsingTextStylesS;
closure.__closure = {collapsed: a1, textCollapsed: textCollapsed, containerWidth: a0};
closure.__workletHash = 5824483783888;
closure.__initData = env1_16;
return Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
}
function _fun38851(a0) { // fn#38851, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:4519, offset: 0x010cd884, size: 80 bytes, params: 2, frame: 12
var layout;
if (onLayout != null) {
onLayout(a0);
}
if (env0_4) {
layout = a0.nativeEvent.layout;
env0_6.current = {width: layout.width, height: layout.height};
}
}
function _fun38852(a0) { // fn#38852, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:4649, offset: 0x010cd8d4, size: 216 bytes, params: 2, frame: 17
var nativeEvent;
var locationX;
var locationY;
var current;
var value;
if (onPressIn != null) {
onPressIn(a0);
}
if (env0_4) {
if (enabled) {
current = env0_5.current;
if (current != null) {
current.play();
}
} else {
nativeEvent = a0.nativeEvent;
locationX = nativeEvent.locationX;
locationY = nativeEvent.locationY;
current = env0_6.current;
env0_7({pressed: true, posx: locationX - current.width / 2, posy: locationY - current.height / 2});
}
value = environment.__proto__;
value = require(4081) /* metro dependency 4081: HapticUtilsNative */;
value.triggerHapticFeedback((require(4081) /* metro dependency 4081: HapticUtilsNative */).HapticFeedbackTypes.IMPACT_HEAVY);
}
}
function _fun38853(a0) { // fn#38853, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:4946, offset: 0x010cd9ac, size: 111 bytes, params: 2, frame: 14
var environment;
var value;
if (onPressOut != null) {
onPressOut(a0);
}
if (env0_4) {
env0_7(function(a0) {
var r2;
var object = {};
copyDataProperties(object, a0, r2);
object['pressed'] = false;
return object;
});
value = environment.__proto__;
value = require(4081) /* metro dependency 4081: HapticUtilsNative */;
value.triggerHapticFeedback((require(4081) /* metro dependency 4081: HapticUtilsNative */).HapticFeedbackTypes.IMPACT_MEDIUM);
}
}
function useCollapsingTextContainerStylesO() { // fn#38842, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:1424, owner: CollapsingText.useCollapsingTextContainerStyles.o, offset: 0x010ccf48, size: 208 bytes, params: 1, frame: 25
var r0;
var object2;
var value4;
var moduleValue;
var withSpring;
var value5;
var value6;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
const value2 = env0_0.get();
const value3 = 0;
if (value3 === value2) {
r0 = {};
} else {
object2 = {};
value4 = environment.__proto__.__proto__;
moduleValue = require(4577) /* metro dependency 4577: spring */;
withSpring = moduleValue.withSpring;
value5 = require.get();
value6 = 1;
object2.width = Reflect.apply(withSpring, moduleValue, [value6 === value5 ? value3 : env0_0.get(),
SUBTLE_SPRING,
'animate-always']);
object2.opacity = (require(4577) /* metro dependency 4577: spring */).withSpring(value6 !== require.get() ? value6 : value3,
SUBTLE_SPRING, 'animate-always');
r0 = object2;
}
return r0;
}
function useCollapsingTextStylesS() { // fn#38844, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4757:1898, owner: CollapsingText.useCollapsingTextStyles.s, offset: 0x010cd096, size: 63 bytes, params: 1, frame: 12
var r0;
var object2;
const value2 = require.get();
if (value2 === 0) {
r0 = {};
} else {
object2 = {};
copyDataProperties(object2, textCollapsed, value2);
object2['width'] = env0_0.get();
r0 = object2;
}
return r0;
}
@@ -0,0 +1,9 @@
/* Metro module 4578; source: design/components/Button/native/Button.native.tsx; dependencies: [2, 4579] */
function _fun38837(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38837, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4756:6, offset: 0x010cca95, size: 96 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/Button.native.tsx');
const BaseTextButton = (require(4579) /* metro dependency 4579: BaseTextButtonNative */).BaseTextButton;
exports.Button = BaseTextButton;
}
@@ -0,0 +1,45 @@
/* Metro module 4582; source: design/components/Button/native/ButtonConstants.native.tsx; dependencies: [4580, 2] */
function _fun38862(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38862, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4760:6, offset: 0x010cded5, size: 348 bytes, params: 8, frame: 28
const env0_0 = require;
const closure = getButtonPadding;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const IconSizes = (require(4580) /* metro dependency 4580: Icon */).IconSizes;
const SMALL = IconSizes.SMALL;
const SMALL_20 = IconSizes.SMALL_20;
const MEDIUM = IconSizes.MEDIUM;
const MEDIUM2 = IconSizes.MEDIUM;
const value = closure(32, SMALL);
const value2 = closure(40, SMALL_20);
const value3 = closure(48, MEDIUM);
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/ButtonConstants.native.tsx');
exports.MINIMUM_HIT_AREA = 44;
exports.SMALL_BUTTON_HEIGHT = 32;
exports.MEDIUM_BUTTON_HEIGHT = 40;
exports.LARGE_BUTTON_HEIGHT = 48;
exports.FAB_BUTTON_SIZE = 56;
exports.BUTTON_BORDER_WIDTH = 1;
exports.DEFAULT_BUTTON_SIZE = 'md';
exports.SMALL_BUTTON_ICON_SIZE = SMALL;
exports.MEDIUM_BUTTON_ICON_SIZE = SMALL_20;
exports.LARGE_BUTTON_ICON_SIZE = MEDIUM;
exports.FAB_BUTTON_ICON_SIZE = MEDIUM2;
exports.SMALL_BUTTON_HORIZONTAL_PADDING = 12;
exports.MEDIUM_BUTTON_HORIZONTAL_PADDING = 20;
exports.LARGE_BUTTON_HORIZONTAL_PADDING = 24;
exports.SMALL_BUTTON_PADDING = value;
exports.MEDIUM_BUTTON_PADDING = value2;
exports.LARGE_BUTTON_PADDING = value3;
exports.BUTTON_DEFAULT_MAX_FONT_SIZE_MULTIPLIER = 3;
exports.getButtonDefaultTextVariant = function(a0) {
return a0 !== 'lg' ? 'text-sm/semibold' : 'text-md/semibold';
};
exports.getButtonPadding = closure;
}
function getButtonPadding(a0, a1) { // fn#38863, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4760:280, offset: 0x010ce031, size: 58 bytes, params: 3, frame: 11
let value = require(4580) /* metro dependency 4580: Icon */;
value = value.getIconSize(a1);
return (a0 - value - 2) / 2;
}
@@ -0,0 +1,141 @@
/* Metro module 4593; source: design/components/Button/native/ButtonEllipsis.native.tsx; dependencies: [31, 33, 4017, 4501, 697, 4504, 4583, 4594, 2] */
function _fun38927(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38927, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4771:6, offset: 0x010d1647, size: 301 bytes, params: 8, frame: 19
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const value = require(33) /* metro dependency 33 */;
const env0_3 = value.jsx;
const env0_4 = value.jsxs;
object2 = {duration: 500};
const Easing = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing;
const inOut = Easing.inOut;
const Easing2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing;
object2.easing = Reflect.apply(inOut, Easing, [Easing2.quad]);
const env0_6 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun38932);
object2 = {code: "function withEllipsisAnimation_ButtonEllipsisNativeTsx1(offset,value){const{ELLIPSIS_APPEAR_DURATION,withDelay,withRepeat,withTiming,ELLIPSIS_APPEAR_TIMING}=this.__closure;const animationTimeMs=ELLIPSIS_APPEAR_DURATION;const animationStaggerTimeMs=animationTimeMs/3;return withDelay(offset*animationStaggerTimeMs,withRepeat(withTiming(value,ELLIPSIS_APPEAR_TIMING,'animate-always'),-1,true));}"};
const env0_8 = _fun38933();
object2 = {code: 'function ButtonEllipsisNativeTsx2(){const{opacity,scale}=this.__closure;return{opacity:opacity.get(),transform:[{scale:scale.get()}]};}'};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/ButtonEllipsis.native.tsx');
exports.Ellipsis = Ellipsis;
}
function EllipsisCircle({variant, size, offset}) { // fn#38928, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4771:1436, offset: 0x010d1774, size: 293 bytes, params: 2, frame: 22
const styles = useStyles(size, offset,
(require(4583) /* metro dependency 4583: ButtonHooksNative */).useForegroundColor(variant));
const value3 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0.4);
const value4 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0.75);
(require(4594) /* metro dependency 4594: useMountEffect */).useMountLayoutEffect(_fun38929);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = EllipsisCircleW;
closure.__closure = {opacity: value3, scale: value4};
closure.__workletHash = 13371762734705;
closure.__initData = env0_9;
const value5 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
return <View style={[styles.circle, value5]} />;
}
function _fun38932(a0, a1, a2) { // fn#38932, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4771:221, offset: 0x010d195e, size: 147 bytes, params: 4, frame: 14
var r2;
var r3;
var value;
var value3;
var value4;
var value5;
if (a0 === 'lg') {
value = 8;
value5 = 4;
r2 = value;
r3 = value5;
} else if (a0 === 'md') {
value = 6;
value4 = 4;
r2 = value;
r3 = value4;
} else if (a0 === 'sm') {
value = 6;
value4 = 4;
r2 = value;
r3 = value4;
} else {
value = 4;
if (a0 !== 'xs') {
r2 = undefined;
r3 = value;
} else {
value = 5;
value3 = 3;
r2 = value;
r3 = value3;
}
}
const object = {width: r2, height: r2};
object.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
object.marginEnd = a1 === 2 ? 0 : r3;
object.backgroundColor = a2;
return {circle: object};
}
function _fun38933() { // fn#38933, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4771:830, offset: 0x010d19f1, size: 144 bytes, params: 1, frame: 16
const closure = withEllipsisAnimation;
const object2 = {ELLIPSIS_APPEAR_DURATION: 500};
object2.withDelay = (require(4017) /* metro dependency 4017: ReanimatedRexport */).withDelay;
object2.withRepeat = (require(4017) /* metro dependency 4017: ReanimatedRexport */).withRepeat;
object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
object2.ELLIPSIS_APPEAR_TIMING = env0_5;
closure.__closure = object2;
closure.__workletHash = 2181731162311;
closure.__initData = env0_7;
return closure;
}
function Ellipsis(a0) { // fn#38935, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4771:2036, offset: 0x010d1afc, size: 171 bytes, params: 2, frame: 21
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
return (
<View style={{flexDirection: 'row'}}>
<EllipsisCircle offset={0} {...a0} />
<EllipsisCircle offset={1} {...a0} />
<EllipsisCircle offset={2} {...a0} />
</View>
);
}
function _fun38929() { // fn#38929, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4771:1625, offset: 0x010d1899, size: 72 bytes, params: 1, frame: 17
const binding = env0_1;
const set = binding.set;
const binding2 = env1_8;
const offsetBinding = offset;
Reflect.apply(set, binding, [binding2(offsetBinding, 1)]);
env0_2.set(env1_8(offsetBinding, 1));
return _fun38930;
}
function EllipsisCircleW() { // fn#38931, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4771:1758, owner: EllipsisCircle.w, offset: 0x010d1926, size: 56 bytes, params: 1, frame: 11
const object3 = {};
object3.opacity = env0_1.get();
const object4 = {};
object4.scale = env0_2.get();
object3.transform = [object4];
return object3;
}
function withEllipsisAnimation(a0, a1) { // fn#38934, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4771:867, offset: 0x010d1a81, size: 123 bytes, params: 3, frame: 20
const value = environment.__proto__;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const withDelay = reanimatedRexportModule.withDelay;
const value2 = 166.66666666666666 * a0;
const moduleValue2 = reanimatedRexportModule;
return Reflect.apply(withDelay, reanimatedRexportModule, [value2,
moduleValue2.withRepeat((require(4504) /* metro dependency 4504: timing */).withTiming(a1, env1_5,
'animate-always'), -1, true)]);
}
function _fun38930() { // fn#38930, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4771:1658, offset: 0x010d18e1, size: 69 bytes, params: 1, frame: 16
const value = environment.__proto__.__proto__;
(require(4017) /* metro dependency 4017: ReanimatedRexport */).cancelAnimation(env1_1);
(require(4017) /* metro dependency 4017: ReanimatedRexport */).cancelAnimation(env1_2);
}
@@ -0,0 +1,461 @@
/* Metro module 4583; source: design/components/Button/native/ButtonHooks.native.tsx; dependencies: [31, 4501, 3868, 697, 4002, 3860, 4017, 4577, 4581, 4582, 4584, 4580, 4573, 477, 2] */
function _fun38865(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38865, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:6, offset: 0x010ce082, size: 754 bytes, params: 8, frame: 25
var object2;
const env0_0 = require;
const closure = useProfileThemedButtonStyles;
const closure2 = useForegroundColor;
const closure3 = useButtonTextColorStyles;
const closure4 = useButtonScaleStyles;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_5 = (require(4501) /* metro dependency 4501: createStyles */).experimental_createToken(function() {
return '#161CBB';
});
const env0_6 = (require(4501) /* metro dependency 4501: createStyles */).experimental_createToken(function() {
return '#1318A0';
});
object2 = {};
const CONTROL_PRIMARY_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_PRIMARY_TEXT_DEFAULT;
object2.primary = CONTROL_PRIMARY_TEXT_DEFAULT;
let WHITE = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.WHITE;
object2['experimental_welcome-secondary'] = WHITE;
const CONTROL_SECONDARY_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_SECONDARY_TEXT_DEFAULT;
object2.secondary = CONTROL_SECONDARY_TEXT_DEFAULT;
const REDESIGN_BUTTON_TERTIARY_TEXT = (importDefault(697) /* metro dependency 697: native */).colors.REDESIGN_BUTTON_TERTIARY_TEXT;
object2.tertiary = REDESIGN_BUTTON_TERTIARY_TEXT;
let CONTROL_CRITICAL_PRIMARY_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_CRITICAL_PRIMARY_TEXT_DEFAULT;
object2.destructive = CONTROL_CRITICAL_PRIMARY_TEXT_DEFAULT;
CONTROL_CRITICAL_PRIMARY_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_CRITICAL_PRIMARY_TEXT_DEFAULT;
object2['critical-primary'] = CONTROL_CRITICAL_PRIMARY_TEXT_DEFAULT;
const CONTROL_CRITICAL_SECONDARY_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_CRITICAL_SECONDARY_TEXT_DEFAULT;
object2['critical-secondary'] = CONTROL_CRITICAL_SECONDARY_TEXT_DEFAULT;
const CONTROL_CONNECTED_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_CONNECTED_TEXT_DEFAULT;
object2.active = CONTROL_CONNECTED_TEXT_DEFAULT;
const CONTROL_OVERLAY_PRIMARY_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_OVERLAY_PRIMARY_TEXT_DEFAULT;
object2['primary-overlay'] = CONTROL_OVERLAY_PRIMARY_TEXT_DEFAULT;
const CONTROL_OVERLAY_SECONDARY_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_OVERLAY_SECONDARY_TEXT_DEFAULT;
object2['secondary-overlay'] = CONTROL_OVERLAY_SECONDARY_TEXT_DEFAULT;
WHITE = (importDefault(697) /* metro dependency 697: native */).colors.WHITE;
object2['experimental_premium-primary'] = WHITE;
const TEXT_BRAND = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_BRAND;
object2['experimental_premium-secondary'] = TEXT_BRAND;
const CONTROL_ICON_ONLY_ICON_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_ICON_ONLY_ICON_DEFAULT;
object2['icon-only'] = CONTROL_ICON_ONLY_ICON_DEFAULT;
const CONTROL_EXPRESSIVE_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_EXPRESSIVE_TEXT_DEFAULT;
object2.expressive = CONTROL_EXPRESSIVE_TEXT_DEFAULT;
value = require(4501) /* metro dependency 4501: createStyles */;
value = value.createStyleProperties(_fun38874);
object2 = {code: 'function ButtonHooksNativeTsx1(){const{themedStyles,colors,interpolateColor,pressed}=this.__closure;var _themedStyles$backgro,_themedStyles,_themedStyles$borderC,_themedStyles2;const backgroundColor=(_themedStyles$backgro=(_themedStyles=themedStyles)===null||_themedStyles===void 0?void 0:_themedStyles.backgroundColor)!==null&&_themedStyles$backgro!==void 0?_themedStyles$backgro:[colors.backgroundInactive,colors.backgroundPressed];const borderColor=(_themedStyles$borderC=(_themedStyles2=themedStyles)===null||_themedStyles2===void 0?void 0:_themedStyles2.borderColor)!==null&&_themedStyles$borderC!==void 0?_themedStyles$borderC:[colors.borderInactive,colors.borderPressed];return{backgroundColor:interpolateColor(pressed.get(),[0,1],backgroundColor),borderColor:interpolateColor(pressed.get(),[0,1],borderColor)};}'};
object2 = {code: "function ButtonHooksNativeTsx2(){const{width,scaleAmountInPx,withSpring,interpolate,pressed,ON_PRESS_SPRING}=this.__closure;const scale=width.get()>0?(width.get()-scaleAmountInPx)/width.get():1;return{transform:[{scale:withSpring(interpolate(pressed.get(),[0,1],[1,scale]),ON_PRESS_SPRING,'animate-always')}]};}"};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/ButtonHooks.native.tsx');
exports.SAFE_TRANSPARENT_COLOR = 'rgba(0,0,0,0.001)';
exports.useProfileThemedButtonStyles = closure;
exports.useForegroundColor = closure2;
exports.useButtonColorStyles = value;
exports.useButtonTextColorStyles = closure3;
exports.useIconTintStyles = function(a0) {
var object = {};
object.tintColor = useButtonTextColorStyles(a0).color;
return object;
};
exports.useGradientPillStyles = useGradientPillStyles;
exports.useButtonPillStyles = useButtonPillStyles;
exports.useButtonScaleStyles = closure4;
exports.useButtonPressAnimationProps = useButtonPressAnimationProps;
exports.useIconSizeStyles = useIconSizeStyles;
}
function useProfileThemedButtonStyles(a0) { // fn#38866, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:232, offset: 0x010ce374, size: 102 bytes, params: 2, frame: 16
const env0_0 = a0;
const {primaryColor, theme} = (require(3868) /* metro dependency 3868: native */).useThemeContext();
return env0_3.useMemo(_fun38867, [theme, primaryColor, a0]);
}
function useForegroundColor(a0) { // fn#38868, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:2051, offset: 0x010ce6bb, size: 49 bytes, params: 2, frame: 12
return (require(3860) /* metro dependency 3860: useToken */).useToken(env0_7[a0]);
}
function useButtonTextColorStyles(a0) { // fn#38869, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:4922, offset: 0x010ce6ec, size: 55 bytes, params: 2, frame: 14
const value2 = undefined;
const value3 = useProfileThemedButtonStyles(a0);
return {color: (value3 == null ? value2 : value3.color) ?? useForegroundColor(a0)};
}
function useButtonScaleStyles(a0, a1, a2) { // fn#38870, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:6236, offset: 0x010ce723, size: 178 bytes, params: 4, frame: 20
const env0_0 = a0;
const env0_1 = a1;
const env0_2 = a2;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = useButtonScaleStylesN;
const object2 = {width: a1, scaleAmountInPx: a2};
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.interpolate = reanimatedRexportModule.interpolate;
object2.pressed = a0;
const ON_PRESS_SPRING = (require(4581) /* metro dependency 4581: springPresets */).ON_PRESS_SPRING;
object2.ON_PRESS_SPRING = ON_PRESS_SPRING;
closure.__closure = object2;
closure.__workletHash = 17256006845494;
closure.__initData = env0_10;
return Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
}
function _fun38874(a0) { // fn#38874, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:2157, offset: 0x010ce8b5, size: 1269 bytes, params: 2, frame: 15
var object2;
var colors;
if (a0 === 'primary') {
object2 = {};
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundInactive = colors.CONTROL_PRIMARY_BACKGROUND_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundPressed = colors.CONTROL_PRIMARY_BACKGROUND_ACTIVE;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderInactive = colors.CONTROL_PRIMARY_BORDER_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderPressed = colors.CONTROL_PRIMARY_BORDER_ACTIVE;
return object2;
}
if (a0 === 'secondary') {
object2 = {};
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundInactive = colors.CONTROL_SECONDARY_BACKGROUND_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundPressed = colors.CONTROL_SECONDARY_BACKGROUND_ACTIVE;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderInactive = colors.CONTROL_SECONDARY_BORDER_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderPressed = colors.CONTROL_SECONDARY_BORDER_ACTIVE;
return object2;
}
if (a0 === 'tertiary') {
object2 = {};
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundInactive = colors.REDESIGN_BUTTON_TERTIARY_BACKGROUND;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundPressed = colors.REDESIGN_BUTTON_TERTIARY_PRESSED_BACKGROUND;
object2.borderInactive = env0_4;
object2.borderPressed = env0_4;
return object2;
}
if (a0 === 'critical-primary') {
object2 = {};
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundInactive = colors.CONTROL_CRITICAL_PRIMARY_BACKGROUND_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundPressed = colors.CONTROL_CRITICAL_PRIMARY_BACKGROUND_ACTIVE;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderInactive = colors.CONTROL_CRITICAL_PRIMARY_BORDER_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderPressed = colors.CONTROL_CRITICAL_PRIMARY_BORDER_ACTIVE;
return object2;
}
if (a0 === 'destructive') {
object2 = {};
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundInactive = colors.CONTROL_CRITICAL_PRIMARY_BACKGROUND_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundPressed = colors.CONTROL_CRITICAL_PRIMARY_BACKGROUND_ACTIVE;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderInactive = colors.CONTROL_CRITICAL_PRIMARY_BORDER_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderPressed = colors.CONTROL_CRITICAL_PRIMARY_BORDER_ACTIVE;
return object2;
}
if (a0 === 'critical-secondary') {
object2 = {};
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundInactive = colors.CONTROL_CRITICAL_SECONDARY_BACKGROUND_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundPressed = colors.CONTROL_CRITICAL_SECONDARY_BACKGROUND_ACTIVE;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderInactive = colors.CONTROL_CRITICAL_SECONDARY_BORDER_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderPressed = colors.CONTROL_CRITICAL_SECONDARY_BORDER_ACTIVE;
return object2;
}
if (a0 === 'active') {
object2 = {};
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundInactive = colors.CONTROL_CONNECTED_BACKGROUND_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundPressed = colors.CONTROL_CONNECTED_BACKGROUND_ACTIVE;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderInactive = colors.CONTROL_CONNECTED_BORDER_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.borderPressed = colors.CONTROL_CONNECTED_BORDER_ACTIVE;
return object2;
}
if (a0 === 'experimental_premium-secondary') {
object2 = {};
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundInactive = colors.CONTROL_OVERLAY_PRIMARY_BACKGROUND_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundPressed = colors.CONTROL_OVERLAY_PRIMARY_BACKGROUND_ACTIVE;
object2.borderInactive = env0_4;
object2.borderPressed = env0_4;
return object2;
}
if (a0 === 'primary-overlay') {
object2 = {};
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundInactive = colors.CONTROL_OVERLAY_PRIMARY_BACKGROUND_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundPressed = colors.CONTROL_OVERLAY_PRIMARY_BACKGROUND_ACTIVE;
object2.borderInactive = env0_4;
object2.borderPressed = env0_4;
return object2;
}
if (a0 === 'secondary-overlay') {
object2 = {};
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundInactive = colors.CONTROL_OVERLAY_SECONDARY_BACKGROUND_DEFAULT;
colors = (importDefault(697) /* metro dependency 697: native */).colors;
object2.backgroundPressed = colors.CONTROL_OVERLAY_SECONDARY_BACKGROUND_ACTIVE;
object2.borderInactive = env0_4;
object2.borderPressed = env0_4;
return object2;
}
if (a0 === 'experimental_welcome-secondary') {
return {backgroundInactive: env0_5, backgroundPressed: env0_6, borderInactive: env0_4, borderPressed: env0_4};
}
if (a0 === 'experimental_premium-primary') {
object2 = {};
object2.backgroundInactive = env0_4;
object2.backgroundPressed = (importDefault(697) /* metro dependency 697: native */).colors.REDESIGN_BUTTON_PREMIUM_PRIMARY_PRESSED_BACKGROUND;
object2.borderInactive = env0_4;
object2.borderPressed = env0_4;
return object2;
}
if (a0 === 'icon-only') {
object2 = {};
object2.backgroundInactive = env0_4;
object2.backgroundPressed = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_ICON_ONLY_BACKGROUND_ACTIVE;
object2.borderInactive = env0_4;
object2.borderPressed = env0_4;
return object2;
}
if (a0 === 'expressive') {
return {backgroundInactive: env0_4, backgroundPressed: env0_4, borderInactive: env0_4, borderPressed: env0_4};
}
}
function useGradientPillStyles(a0) { // fn#38876, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:7115, offset: 0x010cedc9, size: 32 bytes, params: 2, frame: 12
const object2 = {};
object2.borderColor = env0_8(a0).borderInactive;
return object2;
}
function useButtonPillStyles(a0, a1) { // fn#38877, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:7212, offset: 0x010cede9, size: 151 bytes, params: 3, frame: 20
const env0_0 = a1;
const value2 = useProfileThemedButtonStyles(a0);
const value3 = env0_8(a0);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = useButtonPillStylesS;
const object2 = {themedStyles: value2, colors: value3};
object2.interpolateColor = reanimatedRexportModule.interpolateColor;
object2.pressed = a1;
closure.__closure = object2;
closure.__workletHash = 2383933325137;
closure.__initData = env0_9;
return Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
}
function useButtonPressAnimationProps(a0) { // fn#38879, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:7851, offset: 0x010cef6b, size: 257 bytes, params: 2, frame: 24
let value = a0;
const value2 = a1;
const r5 = value2 !== undefined ? value2 : 8;
const env0_0 = a2;
const env0_1 = a3;
const env0_2 = a4;
const r3 = value ?? (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0);
const env0_3 = r3;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value = value.useSharedValue(0);
const object2 = {};
object2.onPressIn = env0_3.useCallback(_fun38880, [r3, a3]);
object2.onPressOut = env0_3.useCallback(_fun38881, [r3, a4]);
object2.onLayout = env0_3.useCallback(_fun38882, [value, a2]);
object2.style = useButtonScaleStyles(r3, value, r5);
return object2;
}
function useIconSizeStyles(a0) { // fn#38883, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:8247, offset: 0x010cf109, size: 147 bytes, params: 2, frame: 18
const value = a1;
const value2 = a2;
const env0_0 = a0;
const r6 = value !== undefined ? value : false;
const r5 = value2 !== undefined ? value2 : (require(4582) /* metro dependency 4582: ButtonConstantsNative */).BUTTON_DEFAULT_MAX_FONT_SIZE_MULTIPLIER;
const value3 = (require(4584) /* metro dependency 4584: useFontScale */).useFontScale();
return value3.useMemo(_fun38884, [a0, r6, r5, value3]);
}
function _fun38867() { // fn#38867, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:350, offset: 0x010ce3da, size: 737 bytes, params: 1, frame: 21
var r10;
var r6;
var value2;
var isThemeLight2;
var moduleValue2;
var setColorOpacity;
var object2;
var items2;
var moduleValue4;
var value5;
var isThemeLight3;
var moduleValue6;
var items3;
var moduleValue8;
var value8;
var WHITE;
var moduleValue9;
var getContrastingColor;
var value9;
var value;
let primaryColorBinding = primaryColor;
if (primaryColorBinding != null) {
var binding = env0_0;
if (binding === 'primary') {
value8 = environment.__proto__;
WHITE = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.WHITE;
moduleValue9 = require(3868) /* metro dependency 3868: native */;
getContrastingColor = moduleValue9.getContrastingColor;
primaryColorBinding = primaryColor;
object2 = {base: WHITE};
object2.contrastRatio = (require(3868) /* metro dependency 3868: native */).WCAGContrastRatios.HighContrastText;
value = Reflect.apply(getContrastingColor, moduleValue9, [primaryColorBinding, object2]);
value9 = (require(3868) /* metro dependency 3868: native */).darkenColor(value, 0.5);
return {backgroundColor: [value, value9], borderColor: [value, value9], color: WHITE};
}
if (binding === 'secondary') {
value5 = environment.__proto__;
isThemeLight3 = (require(4002) /* metro dependency 4002: shared */).isThemeLight(theme);
moduleValue6 = require(3868) /* metro dependency 3868: native */;
setColorOpacity = moduleValue6.setColorOpacity;
r6 = isThemeLight3 ? Reflect.apply(setColorOpacity, moduleValue6, ['white',
0.72]) : Reflect.apply(setColorOpacity,
moduleValue6, ['white', 0.24]);
items3 = [r6];
value = (require(4002) /* metro dependency 4002: shared */).isThemeLight(theme);
moduleValue8 = require(3868) /* metro dependency 3868: native */;
setColorOpacity = moduleValue8.setColorOpacity;
r6 = value ? Reflect.apply(setColorOpacity, moduleValue8, ['white', 0.62]) : Reflect.apply(setColorOpacity,
moduleValue8, ['white', 0.34]);
items3[1] = r6;
return {backgroundColor: items3, borderColor: [env1_4, env1_4], color: undefined};
}
if (binding === 'tertiary') {
value2 = environment.__proto__;
isThemeLight2 = (require(4002) /* metro dependency 4002: shared */).isThemeLight(theme);
moduleValue2 = require(3868) /* metro dependency 3868: native */;
setColorOpacity = moduleValue2.setColorOpacity;
r10 = isThemeLight2 ? Reflect.apply(setColorOpacity, moduleValue2, [primaryColor,
0.4]) : Reflect.apply(setColorOpacity, moduleValue2, ['white', 0.1]);
items2 = [r10];
value = (require(4002) /* metro dependency 4002: shared */).isThemeLight(theme);
moduleValue4 = require(3868) /* metro dependency 3868: native */;
items2[1] = value ? moduleValue4.darkenColor(r10, 0.3) : moduleValue4.setColorOpacity('white', 0.2);
return {backgroundColor: items2, borderColor: [env1_4, env1_4], color: undefined};
}
}
return null;
}
function useButtonScaleStylesN() { // fn#38871, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:6309, owner: useButtonScaleStyles.n, offset: 0x010ce7d5, size: 208 bytes, params: 1, frame: 22
const r1 = require.get() > 0 ? (require.get() - importDefault) / require.get() : 1;
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const interpolate = reanimatedRexportModule.interpolate;
let value = env0_0.get();
value = Reflect.apply(interpolate, reanimatedRexportModule, [value, [0, 1], [1, r1]]);
const ON_PRESS_SPRING = (require(4581) /* metro dependency 4581: springPresets */).ON_PRESS_SPRING;
return {transform: [{scale: Reflect.apply(withSpring, springModule, [value, ON_PRESS_SPRING, 'animate-always'])}]};
}
function useButtonPillStylesS() { // fn#38878, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:7329, owner: useButtonPillStyles.s, offset: 0x010cee80, size: 235 bytes, params: 1, frame: 22
const value2 = undefined;
const r11 = (env0_1 == null ? value2 : env0_1.backgroundColor) ?? [env0_2.backgroundInactive,
env0_2.backgroundPressed];
const r5 = (env0_1 == null ? value2 : env0_1.borderColor) ?? [env0_2.borderInactive, env0_2.borderPressed];
const object2 = {};
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
object2.backgroundColor = reanimatedRexportModule.interpolateColor(require.get(), [0, 1], r11);
const value = reanimatedRexportModule;
object2.borderColor = value.interpolateColor(require.get(), [0, 1], r5);
return object2;
}
function _fun38880(a0) { // fn#38880, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:8008, offset: 0x010cf06c, size: 48 bytes, params: 2, frame: 12
env0_3.set(1);
if (importAll != null) {
importAll(a0);
}
}
function _fun38881(a0) { // fn#38881, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:8070, offset: 0x010cf09c, size: 47 bytes, params: 2, frame: 12
env0_3.set(0);
if (env0_2 != null) {
env0_2(a0);
}
}
function _fun38882(a0) { // fn#38882, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:8130, offset: 0x010cf0cb, size: 62 bytes, params: 2, frame: 13
const binding = env0_4;
binding.set(a0.nativeEvent.layout.width);
if (importDefault != null) {
importDefault(a0);
}
}
function _fun38884() { // fn#38884, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4761:8356, offset: 0x010cf19c, size: 364 bytes, params: 1, frame: 19
var r4;
var r5;
var r1;
var moduleValue2;
var moduleValue3;
var TextStyleSheet;
var property;
var Math;
let value = environment.__proto__;
const iconModule = require(4580) /* metro dependency 4580: Icon */;
const getIconSize = iconModule.getIconSize;
const MEDIUM_BUTTON_ICON_SIZE = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_ICON_SIZE;
const value2 = Reflect.apply(getIconSize, iconModule, [MEDIUM_BUTTON_ICON_SIZE]);
const binding = env0_0;
if (binding === 'sm') {
moduleValue3 = iconModule;
r4 = moduleValue3.getIconSize((require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_ICON_SIZE);
} else if (binding !== 'lg') {
r4 = value2;
} else {
moduleValue2 = require(4580) /* metro dependency 4580: Icon */;
r4 = moduleValue2.getIconSize((require(4582) /* metro dependency 4582: ButtonConstantsNative */).LARGE_BUTTON_ICON_SIZE);
}
if (env0_1) {
if (env0_3 > 1) {
TextStyleSheet = (require(4573) /* metro dependency 4573: Text */).TextStyleSheet;
value = require(4582) /* metro dependency 4582: ButtonConstantsNative */;
property = TextStyleSheet[value.getButtonDefaultTextVariant(env0_0)];
value = require(477) /* metro dependency 477: PlatformUtils */;
r5 = value.isAndroid() ? property.fontSize : property.lineHeight;
if (r4 == null) {
r1 = r4;
} else if (r5 == null) {
r1 = r4;
} else {
Math = global.Math;
value = Math.min(env0_3, env0_2);
Math = global.Math;
value = Math.max(r4, r5 * value);
r1 = value;
}
} else {
r1 = r4;
}
} else {
r1 = r4;
}
return {width: r1, height: r1};
}
@@ -0,0 +1,314 @@
/* Metro module 4587; source: design/components/Button/native/ButtonPill.native.tsx; dependencies: [57, 31, 27, 33, 4582, 4501, 697, 4583, 3868, 3860, 4588, 4589, 4017, 4002, 4593, 3875, 4577, 4581, 2] */
function _fun38896(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38896, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4765:6, offset: 0x010cfaf2, size: 505 bytes, params: 8, frame: 23
const env0_0 = require;
const closure = BasicButtonPill;
const closure2 = LoadingButtonPill;
const closure3 = useLoadingStyles;
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 */;
let value = require(27) /* metro dependency 27 */;
const env0_5 = value.View;
const env0_6 = value.StyleSheet;
value = require(33) /* metro dependency 33 */;
const env0_7 = value.jsx;
const env0_8 = value.jsxs;
const env0_9 = value.Fragment;
value = require(4582) /* metro dependency 4582: ButtonConstantsNative */;
let getButtonPadding = value.getButtonPadding;
const SMALL_BUTTON_HEIGHT = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_HEIGHT;
const SMALL_BUTTON_ICON_SIZE = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_ICON_SIZE;
const env0_11 = Reflect.apply(getButtonPadding, value, [SMALL_BUTTON_HEIGHT, SMALL_BUTTON_ICON_SIZE]);
value = require(4582) /* metro dependency 4582: ButtonConstantsNative */;
getButtonPadding = value.getButtonPadding;
const MEDIUM_BUTTON_HEIGHT = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_HEIGHT;
const MEDIUM_BUTTON_ICON_SIZE = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_ICON_SIZE;
const env0_12 = Reflect.apply(getButtonPadding, value, [MEDIUM_BUTTON_HEIGHT, MEDIUM_BUTTON_ICON_SIZE]);
value = require(4582) /* metro dependency 4582: ButtonConstantsNative */;
getButtonPadding = value.getButtonPadding;
const LARGE_BUTTON_HEIGHT = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).LARGE_BUTTON_HEIGHT;
const LARGE_BUTTON_ICON_SIZE = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).LARGE_BUTTON_ICON_SIZE;
const env0_13 = Reflect.apply(getButtonPadding, value, [LARGE_BUTTON_HEIGHT, LARGE_BUTTON_ICON_SIZE]);
const env0_14 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun38905);
object = {code: "function ButtonPillNativeTsx1(){const{withSpring,loading,SUBTLE_SPRING,useReducedMotion,withDelay,FADE_DELAY,offsetY}=this.__closure;const opacityTransition=withSpring(loading?0:1,SUBTLE_SPRING,'animate-always');if(useReducedMotion){return{opacity:loading?opacityTransition:withDelay(FADE_DELAY,opacityTransition),transform:[{translateY:0}]};}return{opacity:opacityTransition,transform:[{translateY:withSpring(loading?-1*offsetY:0,SUBTLE_SPRING)}]};}"};
object = {code: "function ButtonPillNativeTsx2(){const{withSpring,loading,SUBTLE_SPRING,useReducedMotion,withDelay,FADE_DELAY,offsetY}=this.__closure;const opacityTransition=withSpring(loading?1:0,SUBTLE_SPRING,'animate-always');if(useReducedMotion){return{opacity:loading?withDelay(FADE_DELAY,opacityTransition):opacityTransition,transform:[{translateY:0}]};}return{opacity:opacityTransition,transform:[{translateY:withSpring(loading?0:offsetY,SUBTLE_SPRING)}]};}"};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/ButtonPill.native.tsx');
exports.ButtonPill = ButtonPill;
exports.BasicButtonPill = closure;
exports.LoadingButtonPill = closure2;
exports.useLoadingStyles = closure3;
}
function PillWrapper({children, variant, style, pressed, shiny, expressiveRiveRef, expressivePressState, size}) { // fn#38897, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4765:1609, offset: 0x010cfceb, size: 847 bytes, params: 2, frame: 33
var r5;
var object2;
var value7;
var object4;
var expressivePill;
var ExpressiveButtonRive;
var object6;
var items2;
shiny = !(shiny === undefined) && shiny;
const value2 = require(dependencyMap[7]).useButtonPillStyles(variant, pressed);
const value3 = require(dependencyMap[7]).useGradientPillStyles(variant);
const moduleValue3 = require(dependencyMap[8]);
const useThemeContext = moduleValue3.useThemeContext;
const theme = Reflect.apply(useThemeContext, moduleValue3, []).theme;
const styles = useStyles(variant, size);
const moduleValue4 = require(dependencyMap[9]);
let useToken = moduleValue4.useToken;
const REDESIGN_BUTTON_PREMIUM_PRIMARY_PURPLE_FOR_GRADIENT = importDefault(dependencyMap[6]).colors.REDESIGN_BUTTON_PREMIUM_PRIMARY_PURPLE_FOR_GRADIENT;
let items = [Reflect.apply(useToken, moduleValue4, [REDESIGN_BUTTON_PREMIUM_PRIMARY_PURPLE_FOR_GRADIENT])];
const moduleValue5 = require(dependencyMap[9]);
useToken = moduleValue5.useToken;
const REDESIGN_BUTTON_PREMIUM_PRIMARY_PURPLE_FOR_GRADIENT_2 = importDefault(dependencyMap[6]).colors.REDESIGN_BUTTON_PREMIUM_PRIMARY_PURPLE_FOR_GRADIENT_2;
items[1] = Reflect.apply(useToken, moduleValue5, [REDESIGN_BUTTON_PREMIUM_PRIMARY_PURPLE_FOR_GRADIENT_2]);
const moduleValue6 = require(dependencyMap[9]);
useToken = moduleValue6.useToken;
const REDESIGN_BUTTON_PREMIUM_PRIMARY_PINK_FOR_GRADIENT = importDefault(dependencyMap[6]).colors.REDESIGN_BUTTON_PREMIUM_PRIMARY_PINK_FOR_GRADIENT;
items[2] = Reflect.apply(useToken, moduleValue6, [REDESIGN_BUTTON_PREMIUM_PRIMARY_PINK_FOR_GRADIENT]);
const r10 = shiny ? ((ButtonShine) => <ButtonShine variant={variant} />)(require(dependencyMap[10]).ButtonShine) : null;
const jsxRuntimeEnv0_9Binding = jsxRuntimeEnv0_9;
if (variant === 'experimental_premium-primary') {
items = [((Component) => <Component start={{'x': 0, 'y': 0}} end={{'x': 1, 'y': 0}} style={[style, value3,
StyleSheet.absoluteFill]} colors={items} />)(importDefault(dependencyMap[11]))];
items[1] = ((View) => <View style={[style,
value2]}>{children}{r10}</View>)(importDefault(dependencyMap[12]).View);
object2 = {children: items};
} else {
value7 = variant === 'expressive';
if (value7) {
object4 = {};
expressivePill = styles.expressivePill;
object4.style = [StyleSheet.absoluteFill, expressivePill];
ExpressiveButtonRive = require(dependencyMap[8]).ExpressiveButtonRive;
var expressiveButtonRiveProps2 = {'withReducedMotion': 'short-loop', 'ref': null, 'fit': 'layout',
ref: expressiveRiveRef,
artboard: require(dependencyMap[13]).isThemeLight(theme) ? 'Mobile Expressive Button Lightmode' : 'Mobile Expressive Button Dark Mode'};
object6 = {};
object6.buttonColor = styles.expressiveRiveFill.color;
expressivePill = styles.expressivePill;
object6.cornerRadius = expressivePill.borderRadius;
copyDataProperties(object6, expressivePressState, dependencyMap);
expressiveButtonRiveProps2.dataBinding = object6;
r5 = <View {...object4}><ExpressiveButtonRive {...expressiveButtonRiveProps2} /></View>;
} else {
r5 = value7;
}
items2 = [r5];
items2[1] = ((View) => <View style={[style,
value2]}>{children}{r10}</View>)(importDefault(dependencyMap[12]).View);
object2 = {children: items2};
}
return ((Fragment) => <Fragment {...object2} />)(jsxRuntimeEnv0_9Binding);
}
function BasicButtonPill({children, style, pressed, variant, size = require(dependencyMap[4]).DEFAULT_BUTTON_SIZE, shiny, expressiveRiveRef, expressivePressState}) { // fn#38898, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4765:2766, offset: 0x010d003a, size: 211 bytes, params: 2, frame: 23
variant = variant === undefined ? 'primary' : variant;
shiny = !(shiny === undefined) && shiny;
const styles = useStyles(variant, size);
return (
<PillWrapper
variant={variant}
size={size}
style={[styles.pill, style]}
pressed={pressed}
shiny={shiny}
expressiveRiveRef={expressiveRiveRef}
expressivePressState={expressivePressState}
>
<View style={styles.childContainer}>
{children}
</View>
</PillWrapper>
);
}
function LoadingButtonPill({children, style, pressed, variant, size = require(dependencyMap[4]).DEFAULT_BUTTON_SIZE, loading, loaderSize, expressiveRiveRef, expressivePressState}) { // fn#38899, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4765:3114, offset: 0x010d010d, size: 499 bytes, params: 2, frame: 31
var r8;
var Ellipsis;
variant = variant === undefined ? 'primary' : variant;
loading = !(loading === undefined) && loading;
const styles = useStyles(variant, size);
const env0_1 = env0_4.useRef(null);
const [property, env0_2] = env0_3(env0_4.useState(loading), 2);
env0_4.useEffect(_fun38900, [loading]);
const value5 = env0_3(useLoadingStyles(loading, size), 2);
const property2 = value5[0];
const property3 = value5[1];
const pillWrapperBindingProps = {variant: variant, size: size, style: [styles.pill, style], pressed: pressed,
expressiveRiveRef: expressiveRiveRef, expressivePressState: expressivePressState};
let View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const view = <View style={[styles.childContainer, property2]}>{children}</View>;
View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const items4 = [styles.ellipsis, property3];
if (property) {
Ellipsis = (require(4593) /* metro dependency 4593: ButtonEllipsisNative */).Ellipsis;
size = loaderSize ?? size;
r8 = <Ellipsis variant={variant} size={size} />;
} else {
r8 = property;
}
return (
<PillWrapper {...pillWrapperBindingProps}>
{view}
<View style={items4}>
{r8}
</View>
</PillWrapper>
);
}
function useLoadingStyles(a0, a1) { // fn#38902, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4765:4737, offset: 0x010d037d, size: 404 bytes, params: 3, frame: 24
const env0_0 = a0;
const binding = env0_4;
const useContext = binding.useContext;
const AccessibilityPreferencesContext = (require(3875) /* metro dependency 3875: AccessibilityPreferencesContext */).AccessibilityPreferencesContext;
const enabled = Reflect.apply(useContext, binding, [AccessibilityPreferencesContext]).reducedMotion.enabled;
const value2 = 12;
const r6 = a1 !== 'lg' ? value2 : 18;
const moduleValue = require(dependencyMap[value2]);
let useAnimatedStyle = moduleValue.useAnimatedStyle;
let closure = useLoadingStylesO;
let object = {};
const withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object.withSpring = withSpring;
object.loading = a0;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object.SUBTLE_SPRING = SUBTLE_SPRING;
object.useReducedMotion = enabled;
object.withDelay = require(dependencyMap[value2]).withDelay;
object.FADE_DELAY = env0_10;
object.offsetY = r6;
closure.__closure = object;
closure.__workletHash = 9388603334085;
closure.__initData = env0_15;
object = [Reflect.apply(useAnimatedStyle, moduleValue, [closure])];
const moduleValue2 = require(dependencyMap[value2]);
useAnimatedStyle = moduleValue2.useAnimatedStyle;
closure = useLoadingStylesL;
const object3 = {};
object3.withSpring = withSpring;
object3.loading = a0;
object3.SUBTLE_SPRING = SUBTLE_SPRING;
object3.useReducedMotion = enabled;
object3.withDelay = require(dependencyMap[value2]).withDelay;
object3.FADE_DELAY = env0_10;
object3.offsetY = r6;
closure.__closure = object3;
closure.__workletHash = 8255420825872;
closure.__initData = env0_16;
object[1] = Reflect.apply(useAnimatedStyle, moduleValue2, [closure]);
return object;
}
function _fun38905(a0, a1) { // fn#38905, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4765:483, offset: 0x010d0725, size: 574 bytes, params: 3, frame: 19
var r7;
const LARGE_BUTTON_HEIGHT = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).LARGE_BUTTON_HEIGHT;
const MEDIUM_BUTTON_HEIGHT = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_HEIGHT;
const SMALL_BUTTON_HEIGHT = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_HEIGHT;
let object3 = {};
if (a1 === 'sm') {
object3 = {};
object3.minHeight = SMALL_BUTTON_HEIGHT;
object3.minWidth = SMALL_BUTTON_HEIGHT;
object3.paddingHorizontal = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_HORIZONTAL_PADDING;
object3.paddingVertical = env0_11;
r7 = object3;
} else if (a1 === 'md') {
object3 = {};
object3.minHeight = MEDIUM_BUTTON_HEIGHT;
object3.minWidth = MEDIUM_BUTTON_HEIGHT;
object3.paddingHorizontal = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_HORIZONTAL_PADDING;
object3.paddingVertical = env0_12;
r7 = object3;
} else if (a1 !== 'lg') {
r7 = object3;
} else {
object3 = {};
object3.minHeight = LARGE_BUTTON_HEIGHT;
object3.minWidth = LARGE_BUTTON_HEIGHT;
object3.paddingHorizontal = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).LARGE_BUTTON_HORIZONTAL_PADDING;
object3.paddingVertical = env0_13;
r7 = object3;
}
const r3 = a1 === 'lg' ? (importDefault(697) /* metro dependency 697: native */).modules.button.BORDER_RADIUS_LG : (importDefault(697) /* metro dependency 697: native */).modules.button.BORDER_RADIUS;
object3 = {};
const object4 = {'flexDirection': 'row', 'alignItems': 'center', 'justifyContent': 'center', 'overflow': 'hidden'};
const BUTTON_BORDER_WIDTH = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).BUTTON_BORDER_WIDTH;
object4.borderWidth = BUTTON_BORDER_WIDTH;
object4.borderRadius = r3;
copyDataProperties(object4, r7, require);
object3.pill = object4;
object3.expressivePill = {overflow: 'hidden', borderRadius: r3};
const CONTROL_EXPRESSIVE_BACKGROUND_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_EXPRESSIVE_BACKGROUND_DEFAULT;
object3.expressiveRiveFill = {color: CONTROL_EXPRESSIVE_BACKGROUND_DEFAULT};
object3.childContainer = {'flexDirection': 'row', 'alignItems': 'center', 'justifyContent': 'center', 'flexGrow': 1,
'maxWidth': '100%'};
object3.ellipsis = {'position': 'absolute', 'height': '100%', 'width': '100%', 'justifyContent': 'center',
'alignItems': 'center'};
return object3;
}
function ButtonPill(a0) { // fn#38906, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4765:5958, offset: 0x010d0963, size: 81 bytes, params: 2, frame: 14
return a0.loading == null ? <BasicButtonPill {...a0} /> : <LoadingButtonPill {...a0} />;
}
function _fun38900() { // fn#38900, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4765:3379, offset: 0x010d0300, size: 107 bytes, params: 1, frame: 15
if (env0_1.current != null) {
global.clearTimeout(env0_1.current);
}
if (loading) {
env0_2(true);
} else {
env0_1.current = global.setTimeout(_fun38901, 500);
}
}
function useLoadingStylesO() { // fn#38903, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4765:4909, owner: useLoadingStyles.o, offset: 0x010d0511, size: 271 bytes, params: 1, frame: 22
var moduleValue2;
const value = environment.__proto__;
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const r4 = env0_0 ? 0 : 1;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
const value5 = Reflect.apply(withSpring, springModule, [r4, SUBTLE_SPRING, 'animate-always']);
const enabledBinding = enabled;
const object2 = {};
if (enabledBinding) {
object2.opacity = env0_0 ? value5 : (require(4017) /* metro dependency 4017: ReanimatedRexport */).withDelay(env1_10,
value5);
object2.transform = [{translateY: 0}];
} else {
object2.opacity = value5;
moduleValue2 = springModule;
object2.transform = [{translateY: moduleValue2.withSpring(env0_0 ? -1 * env0_2 : 0, SUBTLE_SPRING)}];
}
return object2;
}
function useLoadingStylesL() { // fn#38904, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4765:5399, owner: useLoadingStyles.l, offset: 0x010d0620, size: 261 bytes, params: 1, frame: 23
var moduleValue2;
const value = environment.__proto__;
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const value3 = 0;
const r5 = env0_0 ? 1 : value3;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
const value5 = Reflect.apply(withSpring, springModule, [r5, SUBTLE_SPRING, 'animate-always']);
const enabledBinding = enabled;
const object2 = {};
if (enabledBinding) {
object2.opacity = env0_0 ? (require(4017) /* metro dependency 4017: ReanimatedRexport */).withDelay(env1_10,
value5) : value5;
object2.transform = [{translateY: value3}];
} else {
object2.opacity = value5;
moduleValue2 = springModule;
object2.transform = [{translateY: moduleValue2.withSpring(env0_0 ? value3 : env0_2, SUBTLE_SPRING)}];
}
return object2;
}
@@ -0,0 +1,117 @@
/* Metro module 4588; source: design/components/Button/native/ButtonShine.native.tsx; dependencies: [57, 31, 33, 4583, 674, 4002, 4017, 4504, 4501, 2] */
function _fun38907(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38907, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4766:6, offset: 0x010d09b4, size: 189 bytes, params: 8, frame: 20
const env0_0 = require;
const closure = useShineEffectStyles;
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;
object = {code: "function ButtonShineNativeTsx1(){const{width,SHINE_OFFSCREEN_OFFSET,useReducedMotion,SHINE_WIDTH,withRepeat,withSequence,withTiming,withDelay,SHINE_INITIAL_ANIMATION_DELAY,SHINE_ANIMATION_DURATION}=this.__closure;if(width==null){return{transform:[{translateX:-SHINE_OFFSCREEN_OFFSET}]};}if(useReducedMotion){const centerOffset=(width-SHINE_WIDTH)/2;return{transform:[{translateX:centerOffset}]};}return{transform:[{translateX:withRepeat(withSequence(withTiming(-SHINE_OFFSCREEN_OFFSET,{duration:0},'animate-always'),withDelay(SHINE_INITIAL_ANIMATION_DELAY,withTiming(width+SHINE_OFFSCREEN_OFFSET,{duration:SHINE_ANIMATION_DURATION},'animate-always'))),-1)}]};}"};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/ButtonShine.native.tsx');
exports.useShineEffectStyles = closure;
exports.ButtonShine = ButtonShine;
}
function useShineEffectStyles(a0, a1) { // fn#38908, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4766:804, offset: 0x010d0a71, size: 487 bytes, params: 3, frame: 20
const env0_0 = a0;
const value5 = (importDefault(674) /* metro dependency 674 */)((require(4583) /* metro dependency 4583: ButtonHooksNative */).useButtonTextColorStyles(a1).color).alpha(0.1).hex();
const binding = env0_4;
const useContext = binding.useContext;
const AccessibilityPreferencesContext = (require(4002) /* metro dependency 4002: shared */).AccessibilityPreferencesContext;
const enabled = Reflect.apply(useContext, binding, [AccessibilityPreferencesContext]).reducedMotion.enabled;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = useShineEffectStylesO;
let object2 = {width: a0, SHINE_OFFSCREEN_OFFSET: 120, useReducedMotion: enabled, SHINE_WIDTH: 56};
object2.withRepeat = reanimatedRexportModule.withRepeat;
object2.withSequence = reanimatedRexportModule.withSequence;
object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
object2.withDelay = reanimatedRexportModule.withDelay;
object2.SHINE_INITIAL_ANIMATION_DELAY = 750;
object2.SHINE_ANIMATION_DURATION = 2000;
closure.__closure = object2;
closure.__workletHash = 15814138938406;
closure.__initData = env0_6;
const value = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
object2 = {};
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
object2.shineStyles = createStylesModule.createStyles({shineContainer: {'width': '100%', 'height': '200%',
'position': 'absolute', 'overflow': 'hidden'}, shine: {'width': 56, 'height': '500%', 'transform': null,
'backgroundColor': null, 'top': '-100%', 'alignItems': 'center', transform: [{rotate: '30deg'}],
backgroundColor: value5}, shineInner: {'width': 16, 'height': '100%', backgroundColor: value5}})();
object2.shineAnimatedStyle = value;
return object2;
}
function ButtonShine({variant}) { // fn#38910, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4766:2109, offset: 0x010d0d87, size: 226 bytes, params: 2, frame: 20
const [property, env0_0] = env0_3(env0_4.useState(null), 2);
const {shineStyles, shineAnimatedStyle} = useShineEffectStyles(property, variant);
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const viewProps = {onLayout: onLayout_38911, style: [shineStyles.shineContainer, shineAnimatedStyle]};
const View2 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const shine = shineStyles.shine;
const View3 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
return (
<View {...viewProps}>
<View2 style={shine}>
<View3 style={shineStyles.shineInner} />
</View2>
</View>
);
}
function useShineEffectStylesO() { // fn#38909, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4766:1027, owner: useShineEffectStyles.o, offset: 0x010d0c58, size: 303 bytes, params: 1, frame: 27
var r0;
var enabledBinding;
var object3;
var object4;
var value2;
var moduleValue;
var withRepeat;
var moduleValue2;
var withSequence;
var withTiming;
var value3;
var moduleValue4;
var withDelay;
var moduleValue5;
var value;
if (env0_0 == null) {
r0 = {transform: [{translateX: -120}]};
} else {
enabledBinding = enabled;
object3 = {};
object4 = {};
if (enabledBinding) {
object4.translateX = (env0_0 - 56) / 2;
object3.transform = [object4];
r0 = object3;
} else {
value2 = environment.__proto__;
moduleValue = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withRepeat = moduleValue.withRepeat;
moduleValue2 = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withSequence = moduleValue2.withSequence;
value3 = (require(4504) /* metro dependency 4504: timing */).withTiming(-120, {duration: 0},
'animate-always');
moduleValue4 = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withDelay = moduleValue4.withDelay;
moduleValue5 = require(4504) /* metro dependency 4504: timing */;
withTiming = moduleValue5.withTiming;
value = env0_0 + 120;
value = Reflect.apply(withTiming, moduleValue5, [value, {duration: 2000}, 'animate-always']);
value = Reflect.apply(withSequence, moduleValue2, [value3, Reflect.apply(withDelay, moduleValue4, [750,
value])]);
object4.translateX = Reflect.apply(withRepeat, moduleValue, [value, -1]);
object3.transform = [object4];
r0 = object3;
}
}
return r0;
}
function ButtonShineOnLayout({nativeEvent}) { // fn#38911, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4766:2288, owner: ButtonShine.onLayout, offset: 0x010d0e69, size: 36 bytes, params: 2, frame: 11
return env0_0(nativeEvent.layout.width);
}
@@ -0,0 +1,107 @@
/* Metro module 8561; source: design/components/Button/native/FloatingActionButton.native.tsx; dependencies: [31, 33, 4501, 697, 4582, 1357, 4017, 4577, 8342, 2] */
function _fun67813(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67813, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8746:6, offset: 0x01c32879, size: 220 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
let value = require(4501) /* metro dependency 4501: createStyles */;
value = value.createStyles(_fun67814);
const env0_6 = {'mass': 0.5, 'damping': 80, 'stiffness': 320};
object = {code: "function FloatingActionButtonNativeTsx1(){const{withSpring,positionBottom,DEFAULT_POSITION_OFFSET,SPRING_CONFIG,positionRight}=this.__closure;var _positionBottom,_positionRight;return{position:'absolute',bottom:withSpring((_positionBottom=positionBottom)!==null&&_positionBottom!==void 0?_positionBottom:DEFAULT_POSITION_OFFSET,SPRING_CONFIG),right:withSpring((_positionRight=positionRight)!==null&&_positionRight!==void 0?_positionRight:DEFAULT_POSITION_OFFSET,SPRING_CONFIG)};}"};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/FloatingActionButton.native.tsx');
exports.DEFAULT_POSITION_OFFSET = 16;
exports.useStyles = value;
exports.FloatingActionButton = FloatingActionButton;
}
function _fun67814() { // fn#67814, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8746:144, offset: 0x01c32955, size: 178 bytes, params: 1, frame: 19
var object4;
const value = a0;
let r2 = value !== undefined ? value : false;
const object6 = {};
const object7 = {};
const SHADOW_HIGH = (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_HIGH;
copyDataProperties(object7, SHADOW_HIGH, undefined);
object6.button = object7;
const object8 = {};
const FAB_BUTTON_SIZE = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).FAB_BUTTON_SIZE;
object8.minWidth = FAB_BUTTON_SIZE;
const FAB_BUTTON_SIZE2 = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).FAB_BUTTON_SIZE;
object8.minHeight = FAB_BUTTON_SIZE2;
object8.padding = 0;
if (r2) {
object4 = {};
object4.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
r2 = object4;
} else {
r2 = {};
}
copyDataProperties(object8, r2, FAB_BUTTON_SIZE);
object6.iconButtonPill = object8;
return object6;
}
function FloatingActionButton(a0) { // fn#67815, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8746:1023, offset: 0x01c32a07, size: 446 bytes, params: 2, frame: 27
var r8;
var cloneElement;
const icon = a0.icon;
const positionBottom = a0.positionBottom;
const positionRight = a0.positionRight;
const accessibilityLabel = a0.accessibilityLabel;
let object3 = {'icon': 0, 'positionBottom': 0, 'positionRight': 0, 'accessibilityLabel': 0};
silentSetPrototypeOf(object3, null, undefined);
const value = copyDataProperties({}, a0, object3, undefined);
const styles = useStyles((importDefault(1357) /* metro dependency 1357: MobileVisualRefreshExperiment */)('FloatingActionButton'));
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = FloatingActionButtonF;
const object4 = {};
object4.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object4.positionBottom = positionBottom;
object4.DEFAULT_POSITION_OFFSET = 16;
object4.SPRING_CONFIG = env0_6;
object4.positionRight = positionRight;
closure.__closure = object4;
closure.__workletHash = 10762818944671;
closure.__initData = env0_7;
const value4 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const BaseIconButton = (require(8342) /* metro dependency 8342: BaseIconButtonNative */).BaseIconButton;
const baseIconButtonProps = {...value};
baseIconButtonProps['accessibilityLabel'] = accessibilityLabel;
baseIconButtonProps['size'] = 'lg';
baseIconButtonProps['variant'] = 'primary';
let binding = env0_3;
if (binding.isValidElement(icon)) {
binding = env0_3;
cloneElement = binding.cloneElement;
object3 = {};
object3.color = (importDefault(697) /* metro dependency 697: native */).colors.WHITE;
r8 = Reflect.apply(cloneElement, binding, [icon, object3]);
} else {
r8 = icon;
}
baseIconButtonProps['icon'] = r8;
baseIconButtonProps['style'] = styles.button;
baseIconButtonProps['pillStyle'] = styles.iconButtonPill;
return (
<View style={value4}>
<BaseIconButton {...baseIconButtonProps} />
</View>
);
}
function FloatingActionButtonF() { // fn#67816, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8746:1200, owner: FloatingActionButton.F, offset: 0x01c32bc5, size: 133 bytes, params: 1, frame: 20
const object2 = {position: 'absolute'};
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const positionBottomBinding = positionBottom;
const value3 = 16;
object2.bottom = Reflect.apply(withSpring, springModule, [positionBottomBinding != null ? positionBottom : value3,
env1_6]);
const moduleValue2 = springModule;
object2.right = moduleValue2.withSpring(positionRight ?? value3, env1_6);
return object2;
}
@@ -0,0 +1,56 @@
/* Metro module 8341; source: design/components/Button/native/IconButton.native.tsx; dependencies: [31, 33, 4501, 697, 4585, 8342, 4573, 2] */
function _fun66435(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#66435, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8526:6, offset: 0x01bfb17d, size: 191 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
const value2 = require(33) /* metro dependency 33 */;
const env0_3 = value2.jsx;
const env0_4 = value2.jsxs;
const env0_5 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun66436);
value = value.forwardRef(_fun66437);
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/IconButton.native.tsx');
exports.IconButton = value;
}
function _fun66436(a0) { // fn#66436, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8526:157, offset: 0x01bfb23c, size: 114 bytes, params: 2, frame: 15
const object = {};
const PX_4 = (importDefault(697) /* metro dependency 697: native */).space.PX_4;
object.paddingBottom = PX_4;
const PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
object.gap = PX_8;
object.alignItems = 'center';
object.alignSelf = 'center';
object.flexGrow = a0 ? 1 : 0;
return {labelPressable: object, label: {textAlign: 'center'}};
}
function _fun66437(a0, a1) { // fn#66437, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8526:336, offset: 0x01bfb2ae, size: 426 bytes, params: 3, frame: 27
var r0;
const BaseIconButton = (require(8342) /* metro dependency 8342: BaseIconButtonNative */).BaseIconButton;
var BaseButton;
const label = a0.label;
const grow = a0.grow;
const accessibilityLabel = a0.accessibilityLabel;
const maxFontSizeMultiplier = a0.maxFontSizeMultiplier;
const accessibilityHint = a0.accessibilityHint;
const object2 = {'label': 0, 'grow': 0, 'accessibilityLabel': 0, 'maxFontSizeMultiplier': 0, 'accessibilityHint': 0};
silentSetPrototypeOf(object2, null, undefined);
let value = copyDataProperties({}, a0, object2, a1);
const styles = useStyles(grow);
if (label != null) {
BaseButton = (require(4585) /* metro dependency 4585: BaseButtonNative */).BaseButton;
var baseButtonProps = {style: styles.labelPressable, ...value};
baseButtonProps['variant'] = 'none';
baseButtonProps['accessibilityLabel'] = accessibilityLabel;
baseButtonProps['accessibilityHint'] = accessibilityHint;
value = <BaseIconButton ref={a1} {...value} {...{['accessibilityRole']: 'none'}} {...{['accessibilityLabel']: ''}} {...{['size']: 'lg'}} {...{['maxFontSizeMultiplier']: maxFontSizeMultiplier}} />;
value = <BaseButton {...baseButtonProps}>{value}{((Text) => <Text style={styles.label} variant="text-xs/medium" color="interactive-text-default" maxFontSizeMultiplier={maxFontSizeMultiplier}>{label}</Text>)((require(4573) /* metro dependency 4573: Text */).Text)}</BaseButton>;
r0 = value;
} else {
value = <BaseIconButton ref={a1} {...value} {...{['accessibilityLabel']: accessibilityLabel}} {...{['accessibilityHint']: accessibilityHint}} {...{['maxFontSizeMultiplier']: maxFontSizeMultiplier}} />;
r0 = value;
}
return r0;
}
@@ -0,0 +1,111 @@
/* Metro module 9204; source: design/components/Button/native/ImageButton.native.tsx; dependencies: [31, 27, 33, 4501, 4582, 697, 4583, 4017, 4577, 4581, 4585, 8342, 4573, 2] */
function _fun72027(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#72027, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9389:6, offset: 0x01d36a0d, size: 242 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
const value2 = require(27) /* metro dependency 27 */;
const env0_4 = value2.View;
const env0_5 = value2.Image;
const value3 = require(33) /* metro dependency 33 */;
const env0_6 = value3.jsx;
const env0_7 = value3.jsxs;
const env0_8 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun72028);
object = {code: "function ImageButtonNativeTsx1(){const{withSpring,pressed,ON_PRESS_SPRING}=this.__closure;return{opacity:withSpring(pressed.get()===1?1:0,ON_PRESS_SPRING,'animate-always')};}"};
value = value.forwardRef(_fun72029);
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/ImageButton.native.tsx');
exports.ImageButton = value;
}
function _fun72028(a0, a1, a2) { // fn#72028, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9389:186, offset: 0x01d36aff, size: 371 bytes, params: 4, frame: 17
const LARGE_BUTTON_PADDING = (require(4582) /* metro dependency 4582: ButtonConstantsNative */).LARGE_BUTTON_PADDING;
const value2 = a1 + 2 * (a0 === 'sm' ? (require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_PADDING : a0 !== 'md' ? LARGE_BUTTON_PADDING : (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_PADDING);
const object4 = {};
const object5 = {};
const PX_4 = (importDefault(697) /* metro dependency 697: native */).space.PX_4;
object5.paddingBottom = PX_4;
const PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
object5.gap = PX_8;
object5.alignItems = 'center';
object5.alignSelf = 'center';
object5.flexGrow = a2 ? 1 : 0;
object4.labelPressable = object5;
const object7 = {'paddingHorizontal': 0, 'paddingVertical': 0};
object7.minHeight = value2;
object7.minWidth = value2;
object7.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
object4.pill = object7;
object4.imageWrapper = {width: value2, height: value2, position: 'relative'};
object4.image = {width: value2, height: value2};
const object8 = {'position': 'absolute', 'top': 0, 'left': 0, 'right': 0, 'bottom': 0};
const REDESIGN_IMAGE_BUTTON_PRESSED_BACKGROUND = (importDefault(697) /* metro dependency 697: native */).colors.REDESIGN_IMAGE_BUTTON_PRESSED_BACKGROUND;
object8.backgroundColor = REDESIGN_IMAGE_BUTTON_PRESSED_BACKGROUND;
object8.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
object4.imageDim = object8;
return object4;
}
function _fun72029(a0, a1) { // fn#72029, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9389:1024, offset: 0x01d36c72, size: 913 bytes, params: 3, frame: 32
var r0;
const BaseIconButton = (require(8342) /* metro dependency 8342: BaseIconButtonNative */).BaseIconButton;
var BaseButton;
let size = a0.size;
size = size === undefined ? 'lg' : size;
const label = a0.label;
const grow = a0.grow;
const image = a0.image;
const accessibilityLabel = a0.accessibilityLabel;
const maxFontSizeMultiplier = a0.maxFontSizeMultiplier;
const onPressIn = a0.onPressIn;
const onPressOut = a0.onPressOut;
const object3 = {'size': 0, 'label': 0, 'grow': 0, 'image': 0, 'accessibilityLabel': 0, 'maxFontSizeMultiplier': 0,
'onPressIn': 0, 'onPressOut': 0};
silentSetPrototypeOf(object3, null, undefined);
let value = copyDataProperties({}, a0, object3, image);
const styles = useStyles(size,
(require(4583) /* metro dependency 4583: ButtonHooksNative */).useIconSizeStyles(size, true,
maxFontSizeMultiplier).width, grow);
const value4 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0);
const binding = env0_3;
const value5 = binding.useCallback(_fun72030, [value4, onPressIn]);
const value6 = binding.useCallback(_fun72031, [value4, onPressOut]);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = w_72032;
const object4 = {};
object4.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object4.pressed = value4;
const ON_PRESS_SPRING = (require(4581) /* metro dependency 4581: springPresets */).ON_PRESS_SPRING;
object4.ON_PRESS_SPRING = ON_PRESS_SPRING;
closure.__closure = object4;
closure.__workletHash = 17257158773379;
closure.__initData = env0_9;
const value7 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
const image2 = <Image source={image} style={styles.image} />;
const View2 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const view = <View style={styles.imageWrapper}>{image2}<View2 style={[styles.imageDim, value7]} /></View>;
if (label != null) {
BaseButton = (require(4585) /* metro dependency 4585: BaseButtonNative */).BaseButton;
var baseButtonProps = {style: styles.labelPressable, ...value};
baseButtonProps['variant'] = 'none';
baseButtonProps['accessibilityLabel'] = accessibilityLabel;
value = <BaseIconButton ref={a1} {...value} {...{['icon']: view}} {...{['accessibilityRole']: 'none'}} {...{['accessibilityLabel']: ''}} {...{['size']: 'lg'}} {...{['pillStyle']: styles.pill}} {...{['variant']: 'secondary'}} {...{['onPressIn']: value5}} {...{['onPressOut']: value6}} {...{['maxFontSizeMultiplier']: maxFontSizeMultiplier}} />;
value = <BaseButton {...baseButtonProps}>{value}{((Text) => <Text variant="text-xs/medium" color="interactive-text-default" maxFontSizeMultiplier={maxFontSizeMultiplier}>{label}</Text>)((require(4573) /* metro dependency 4573: Text */).Text)}</BaseButton>;
r0 = value;
} else {
value = <BaseIconButton ref={a1} {...value} {...{['size']: size}} {...{['icon']: view}} {...{['accessibilityLabel']: accessibilityLabel}} {...{['pillStyle']: styles.pill}} {...{['variant']: 'secondary'}} {...{['onPressIn']: value5}} {...{['onPressOut']: value6}} />;
r0 = value;
}
return r0;
}
function w_72032() { // fn#72032, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9389:1372, offset: 0x01d37003, size: 105 bytes, params: 1, frame: 18
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const value3 = env0_2.get();
const value4 = 1;
const r3 = value4 !== value3 ? 0 : value4;
const ON_PRESS_SPRING = (require(4581) /* metro dependency 4581: springPresets */).ON_PRESS_SPRING;
return {opacity: Reflect.apply(withSpring, springModule, [r3, ON_PRESS_SPRING, 'animate-always'])};
}
@@ -0,0 +1,23 @@
/* Metro module 12797; source: design/components/Button/native/useToggleButtonProps.native.tsx; dependencies: [2] */
function _fun97620(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97620, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12987:6, offset: 0x0218a592, size: 100 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Button/native/useToggleButtonProps.native.tsx');
exports.useToggleButtonProps = function(a0, a1) {
var r4;
var object = {};
copyDataProperties(object, a1 ? a0.on : a0.off, r4);
object['accessibilityRole'] = 'togglebutton';
object['accessibilityState'] = {checked: a1};
return object;
};
exports.useToggleIconButtonProps = function(a0, a1) {
var r4;
var object = {};
copyDataProperties(object, a1 ? a0.on : a0.off, r4);
object['accessibilityRole'] = 'togglebutton';
object['accessibilityState'] = {checked: a1};
return object;
};
}
@@ -0,0 +1,32 @@
/* Metro module 6261; source: design/components/ButtonGroup/native/ButtonGroup.native.tsx; dependencies: [31, 33, 4501, 4572, 2] */
function _fun49435(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49435, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6439:6, offset: 0x011f9647, size: 171 bytes, params: 8, frame: 20
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_2 = (require(33) /* metro dependency 33 */).jsx;
const env0_3 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({container: {paddingVertical: 16}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/ButtonGroup/native/ButtonGroup.native.tsx');
exports.ButtonGroup = ButtonGroup;
}
function ButtonGroup(a0) { // fn#49436, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6439:282, offset: 0x011f96f2, size: 147 bytes, params: 2, frame: 19
const children = a0.children;
const style = a0.style;
const value = Object.create(null);
value.children = 0;
value.style = 0;
const value2 = copyDataProperties({}, a0, value, undefined);
const styles = useStyles();
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
return (
<Stack
{...value2}
{...{['spacing']: 12}}
{...{['style']: [styles.container, style]}}
>
{children}
</Stack>
);
}
@@ -0,0 +1,205 @@
/* Metro module 6239; source: design/components/Card/native/Card.native.tsx; dependencies: [29, 31, 27, 33, 4017, 697, 6234, 4501, 1357, 3860, 477, 4577, 4581, 6240, 2] */
function _fun49318(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49318, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6417:6, offset: 0x011f570d, size: 324 bytes, params: 8, frame: 20
const env0_0 = require;
const closure = Card_49320;
const env0_3 = ['accessibilityRole'];
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_4 = importDefault(29) /* metro dependency 29 */;
const env0_5 = importAll(31) /* metro dependency 31 */;
const value = require(27) /* metro dependency 27 */;
const env0_6 = value.View;
const Pressable = value.Pressable;
const env0_7 = (require(33) /* metro dependency 33 */).jsx;
const env0_8 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(Pressable);
const env0_9 = (require(4501) /* metro dependency 4501: createStyles */).createStyleProperties(_fun49328);
const env0_10 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun49329);
object = {code: "function CardNativeTsx1(){const{withSpring,interpolateColor,pressed,backgroundColor,backgroundColorPressed,ON_PRESS_SPRING}=this.__closure;const pressedColor=withSpring(interpolateColor(pressed.get(),[0,1],[backgroundColor,backgroundColorPressed]),ON_PRESS_SPRING,'animate-always');return{backgroundColor:pressedColor};}"};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Card/native/Card.native.tsx');
exports.Card = closure;
exports.InternalCard = closure;
}
function getCardBackgroundToken(a0) { // fn#49319, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6417:228, offset: 0x011f5851, size: 291 bytes, params: 2, frame: 11
if (a0 === 'primary') {
return (require(6234) /* metro dependency 6234: CardTokensNative */).CARD_PRIMARY_BG;
}
if (a0 === 'secondary') {
return (importDefault(697) /* metro dependency 697: native */).colors.CARD_SECONDARY_BACKGROUND_DEFAULT;
}
if (a0 === 'muted') {
return (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_MUTED;
}
if (a0 === 'transparent') {
return (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.TRANSPARENT;
}
if (a0 === 'control-secondary') {
return (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_SECONDARY_BACKGROUND_DEFAULT;
}
if (a0 === 'surface-high') {
return (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
}
}
function Card_49320(a0) { // fn#49320, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6417:1923, offset: 0x011f5974, size: 449 bytes, params: 2, frame: 28
var accessibilityRole;
let start = a0.start;
start = start === undefined || start;
let end = a0.end;
end = end === undefined || end;
let shadow = a0.shadow;
shadow = shadow === undefined ? 'none' : shadow;
let border = a0.border;
border = border === undefined ? 'faint' : border;
let variant = a0.variant;
variant = variant === undefined ? 'primary' : variant;
let object = {'start': 0, 'end': 0, 'shadow': 0, 'border': 0, 'variant': 0};
silentSetPrototypeOf(object, null, undefined);
let value = copyDataProperties({}, a0, object, undefined);
const value3 = (importDefault(1357) /* metro dependency 1357: MobileVisualRefreshExperiment */)('Card');
const useTokenModule = require(3860) /* metro dependency 3860: useToken */;
const useToken = useTokenModule.useToken;
const CARD_DEFAULT_RADIUS = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CARD_DEFAULT_RADIUS;
const r2 = value.radius ?? Reflect.apply(useToken, useTokenModule, [CARD_DEFAULT_RADIUS]);
const styles = useStyles(start, end, variant, shadow, border, r2);
object = [styles.spacing];
object[1] = styles.card;
object[2] = value.style;
if ('onPress' in value) {
if (value.onPress != null) {
accessibilityRole = value.accessibilityRole;
value = env0_4(value, env0_3);
return (
<PressableCard
accessibilityRole={accessibilityRole ?? 'button'}
{...value}
{...{['start']: start}}
{...{['end']: end}}
{...{['style']: object}}
{...{['variant']: variant}}
{...{['isRefreshEnabled']: value3}}
{...{['radius']: r2}}
/>
);
}
}
return <View {...value} {...{['style']: object}} />;
}
function PressableCard(a0) { // fn#49321, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6417:2401, offset: 0x011f5b35, size: 67 bytes, params: 2, frame: 13
const value = require(477) /* metro dependency 477: PlatformUtils */;
return value.isAndroid() ? PressableCardAndroid(a0) : PressableCardiOS(a0);
}
function _fun49328(a0) { // fn#49328, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6417:693, offset: 0x011f5f04, size: 327 bytes, params: 2, frame: 16
var r1;
let value = a1;
const value2 = undefined;
let r3 = value !== value2 ? value : false;
const cardBackgroundToken = getCardBackgroundToken(a0);
r3 = !(r3 === value2) && r3;
if (a0 === 'primary') {
r1 = (require(6234) /* metro dependency 6234: CardTokensNative */).CARD_PRIMARY_PRESSED_BG;
} else if (a0 === 'secondary') {
r1 = (importDefault(697) /* metro dependency 697: native */).colors.CARD_SECONDARY_BACKGROUND_ACTIVE;
} else if (a0 === 'muted') {
r1 = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_SUBTLE;
} else if (a0 === 'transparent') {
value = importDefault(697) /* metro dependency 697: native */;
r3 = r3 ? value.colors.BACKGROUND_MOD_SUBTLE : value.unsafe_rawColors.TRANSPARENT;
r1 = r3;
} else {
r1 = a0 === 'control-secondary' ? (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_SECONDARY_BACKGROUND_ACTIVE : a0 !== 'surface-high' ? value2 : (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
}
return {backgroundColor: cardBackgroundToken, backgroundColorPressed: r1};
}
function _fun49329(a0, a1, a2, a3, a4, a5) { // fn#49329, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6417:1304, offset: 0x011f604b, size: 402 bytes, params: 7, frame: 22
const value = a5;
const getCardBackgroundTokenBinding = getCardBackgroundToken;
const value3 = undefined;
const cardBackgroundTokenBinding = getCardBackgroundTokenBinding(a2);
const value5 = null;
const r0 = a4 === 'none' ? value5 : a4 === 'subtle' ? (importDefault(697) /* metro dependency 697: native */).colors.BORDER_SUBTLE : a4 === 'strong' ? (importDefault(697) /* metro dependency 697: native */).colors.BORDER_STRONG : a4 === 'faint' ? (importDefault(697) /* metro dependency 697: native */).colors.BORDER_MUTED : a4 === 'control-secondary' ? (importDefault(697) /* metro dependency 697: native */).colors.CONTROL_SECONDARY_BORDER_DEFAULT : value3;
const r6 = value5 == r0 ? cardBackgroundTokenBinding : r0;
const object = {};
const cardTokensNativeModule = require(6234) /* metro dependency 6234: CardTokensNative */;
copyDataProperties(object, cardTokensNativeModule.createCardShadowToken(a3), cardTokensNativeModule);
object['borderTopStartRadius'] = a0 ? value : value3;
object['borderTopEndRadius'] = a0 ? value : value3;
object['borderBottomStartRadius'] = a1 ? value : value3;
object['borderBottomEndRadius'] = a1 ? value : value3;
object['borderColor'] = r6;
object['borderWidth'] = a4 === 'none' ? 0 : 1;
object['backgroundColor'] = cardBackgroundTokenBinding;
return {card: object, spacing: {padding: 16}};
}
function PressableCardAndroid(a0) { // fn#49322, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6417:2455, owner: PressableCard.PressableCardAndroid, offset: 0x011f5b78, size: 184 bytes, params: 2, frame: 20
const children = a0.children;
const start = a0.start;
const end = a0.end;
const radius = a0.radius;
a0.isRefreshEnabled;
const object2 = {'children': 0, 'start': 0, 'end': 0, 'radius': 0, 'isRefreshEnabled': 0};
silentSetPrototypeOf(object2, null, undefined);
const value = copyDataProperties({}, a0, object2, start);
const value3 = env1_5.useMemo(function() {
return {cornerRadius: start || end ? radius : 0};
}, [start, end, radius]);
const AnimatedPressableHighlight = (require(6240) /* metro dependency 6240: AnimatedPressableHighlightNative */).AnimatedPressableHighlight;
return (
<AnimatedPressableHighlight androidRippleConfig={value3} {...value}>
{children}
</AnimatedPressableHighlight>
);
}
function PressableCardiOS(a0) { // fn#49324, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6417:2693, owner: PressableCard.PressableCardiOS, offset: 0x011f5c50, size: 457 bytes, params: 2, frame: 28
const children = a0.children;
const style = a0.style;
const variant = a0.variant;
const onPressIn = a0.onPressIn;
const onPressOut = a0.onPressOut;
const isRefreshEnabled = a0.isRefreshEnabled;
a0.radius;
a0.start;
a0.end;
const object3 = {'children': 0, 'style': 0, 'variant': 0, 'onPressIn': 0, 'onPressOut': 0, 'isRefreshEnabled': 0,
'radius': 0, 'start': 0, 'end': 0};
silentSetPrototypeOf(object3, null, undefined);
const value = copyDataProperties({}, a0, object3, undefined);
const value3 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0);
const value4 = env1_5.useCallback(_fun49325, [value3, onPressIn]);
const value5 = env1_5.useCallback(_fun49326, [value3, onPressOut]);
const {backgroundColor, backgroundColorPressed} = env1_9(variant, isRefreshEnabled);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = PressableCardiOSB;
const object4 = {};
object4.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object4.interpolateColor = reanimatedRexportModule.interpolateColor;
object4.pressed = value3;
object4.backgroundColor = backgroundColor;
object4.backgroundColorPressed = backgroundColorPressed;
const ON_PRESS_SPRING = (require(4581) /* metro dependency 4581: springPresets */).ON_PRESS_SPRING;
object4.ON_PRESS_SPRING = ON_PRESS_SPRING;
closure.__closure = object4;
closure.__workletHash = 14943431549291;
closure.__initData = env1_11;
return ((Component) => <Component {...value} {...{['onPressIn']: value4}} {...{['onPressOut']: value5}} {...{['style']: [style,
Reflect.apply(useAnimatedStyle, reanimatedRexportModule,
[closure])]}} {...{['unstable_pressDelay']: 130}}>{children}</Component>)(env1_8);
}
function PressableCardiOSB() { // fn#49327, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6417:3047, owner: PressableCard.PressableCardiOS.B, offset: 0x011f5e78, size: 140 bytes, params: 1, frame: 22
let value = environment.__proto__.__proto__;
value = require(4577) /* metro dependency 4577: spring */;
const withSpring = value.withSpring;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const value4 = reanimatedRexportModule.interpolateColor(env0_2.get(), [0, 1], [backgroundColor,
backgroundColorPressed]);
const ON_PRESS_SPRING = (require(4581) /* metro dependency 4581: springPresets */).ON_PRESS_SPRING;
return {backgroundColor: Reflect.apply(withSpring, value, [value4, ON_PRESS_SPRING, 'animate-always'])};
}
@@ -0,0 +1,69 @@
/* Metro module 6234; source: design/components/Card/native/CardTokens.native.tsx; dependencies: [4501, 697, 2] */
function _fun49243(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49243, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6412:6, offset: 0x011f2b83, size: 230 bytes, params: 8, frame: 20
const env0_0 = require;
const closure = createCardBackgroundToken;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const TABLEROW_BACKGROUND_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.TABLEROW_BACKGROUND_DEFAULT;
const CARD_GRADIENT_BG = (importDefault(697) /* metro dependency 697: native */).colors.CARD_GRADIENT_BG;
const value = closure(TABLEROW_BACKGROUND_DEFAULT, CARD_GRADIENT_BG);
const TABLEROW_BACKGROUND_PRESSED = (importDefault(697) /* metro dependency 697: native */).colors.TABLEROW_BACKGROUND_PRESSED;
const CARD_GRADIENT_PRESSED_BG = (importDefault(697) /* metro dependency 697: native */).colors.CARD_GRADIENT_PRESSED_BG;
const value2 = closure(TABLEROW_BACKGROUND_PRESSED, CARD_GRADIENT_PRESSED_BG);
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Card/native/CardTokens.native.tsx');
exports.CARD_PRIMARY_BG = value;
exports.getCardSecondaryBg = function(a0) {
var createCardBackgroundTokenBinding = createCardBackgroundToken;
var property = importDefault(dependencyMap[1]).colors;
return createCardBackgroundTokenBinding(a0 ? property.BACKGROUND_MOD_MUTED : property.CARD_SECONDARY_BG,
importDefault(dependencyMap[1]).colors.CARD_GRADIENT_BG);
};
exports.CARD_PRIMARY_PRESSED_BG = value2;
exports.createCardShadowToken = createCardShadowToken;
}
function createCardBackgroundToken(a0, a1) { // fn#49244, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6412:43, offset: 0x011f2c69, size: 58 bytes, params: 3, frame: 12
const env0_0 = a0;
const env0_1 = a1;
return (require(4501) /* metro dependency 4501: createStyles */).experimental_createToken(_fun49245);
}
function createCardShadowToken(a0) { // fn#49247, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6412:774, offset: 0x011f2d1e, size: 51 bytes, params: 2, frame: 12
const env0_0 = a0;
return (require(4501) /* metro dependency 4501: createStyles */).experimental_createToken(_fun49248);
}
function _fun49245({primaryColor}) { // fn#49245, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6412:124, offset: 0x011f2ca3, size: 33 bytes, params: 2, frame: 2
return primaryColor != null ? require : env0_0;
}
function _fun49248({gradient}) { // fn#49248, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6412:849, offset: 0x011f2d51, size: 293 bytes, params: 2, frame: 11
if (gradient != null) {
return {};
}
if (env0_0 === 'none') {
return {};
}
const binding = env0_0;
if (binding === 'border') {
value = environment.__proto__;
return (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_BORDER;
}
if (binding === 'high') {
value = environment.__proto__;
return (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_HIGH;
}
if (binding === 'ledge') {
value = environment.__proto__;
return (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_LEDGE;
}
if (binding === 'low') {
value = environment.__proto__;
return (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_LOW;
}
if (binding === 'medium') {
value = environment.__proto__;
return (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_MEDIUM;
}
}
@@ -0,0 +1,65 @@
/* Metro module 9402; source: design/components/Checkbox/native/Checkbox.native.tsx; dependencies: [27, 33, 4501, 3874, 1244, 4572, 7974, 4573, 2] */
function _fun73308(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73308, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9588:6, offset: 0x01d67970, size: 214 bytes, params: 8, frame: 20
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = require(27) /* metro dependency 27 */;
const env0_2 = value.Pressable;
const env0_3 = value.View;
value = require(33) /* metro dependency 33 */;
const env0_4 = value.jsx;
const env0_5 = value.jsxs;
const env0_6 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({textContainer: {flex: 1},
labelContainer: {'minHeight': 24, 'justifyContent': 'center'}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Checkbox/native/Checkbox.native.tsx');
exports.Checkbox = Checkbox;
}
function Checkbox({label, description, required, checked, onToggle}) { // fn#73309, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9588:357, offset: 0x01d67a46, size: 665 bytes, params: 2, frame: 37
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
var r19;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var Text2;
var object;
const styles = useStyles();
const {accessibilityRole,
accessibilityState} = (require(3874) /* metro dependency 3874: useA11yRolesNative */).useCheckboxA11yNative({checked: checked});
const value3 = '';
const value6 = label + (required ? ' (' + intl.string((require(1244) /* metro dependency 1244: indexNative */).t.EkokLy) + ')' : value3);
const r7 = description != null ? ', ' + description : value3;
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
const FormCheckbox = (require(7974) /* metro dependency 7974: FormCheckboxNative */).FormCheckbox;
const formCheckbox = <FormCheckbox checked={checked} />;
if (required) {
Text2 = (require(4573) /* metro dependency 4573: Text */).Text;
object = {'variant': 'text-md/bold', 'color': 'text-feedback-critical'};
object['aria-label'] = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.EkokLy);
r19 = <Text2 {...object}>{' '}{'*'}</Text2>;
} else {
r19 = required;
}
return (
<Pressable
accessibilityRole={accessibilityRole}
accessibilityLabel={value6 + r7}
accessibilityState={accessibilityState}
onPress={function() {
return onToggle(!checked);
}}
>
<Stack direction="horizontal">
{formCheckbox}
<View style={styles.textContainer}>
<View style={styles.labelContainer}>
<Text variant="text-md/medium">
{label}
{r19}
</Text>
</View>
{description != null && <Text variant="text-sm/normal" color="text-subtle">{description}</Text>}
</View>
</Stack>
</Pressable>
);
}
@@ -0,0 +1,40 @@
/* Metro module 8551; source: design/components/Coachmark/native/AnimatedCoachmark.native.tsx; dependencies: [57, 31, 27, 33, 4017, 8552, 3875, 8548, 8549, 2] */
function _fun67781(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67781, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8736:6, offset: 0x01c305a4, size: 191 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(27) /* metro dependency 27 */).StyleSheet;
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Coachmark/native/AnimatedCoachmark.native.tsx');
exports.AnimatedCoachmark = AnimatedCoachmark;
}
function renderTooltipItem_67782(a0, a1) { // fn#67782, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8736:169, offset: 0x01c30663, size: 159 bytes, params: 3, frame: 20
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const value2 = null;
return (
<View style={[a1, StyleSheet.absoluteFill]} pointerEvents="box-none">
{value2 != a0 ? ((CoachmarkContainer) => <CoachmarkContainer {...a0} {...{['enterExitAnimatedStyles']: a1}} />)((require(8552) /* metro dependency 8552: CoachmarkNative */).CoachmarkContainer) : value2}
</View>
);
}
function AnimatedCoachmark(a0) { // fn#67783, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8736:446, offset: 0x01c30702, size: 254 bytes, params: 2, frame: 23
const visible = a0.visible;
let value = Object.create(null);
value.visible = 0;
value = copyDataProperties({}, a0, value, undefined);
const binding = env0_4;
const useContext = binding.useContext;
const value3 = undefined;
const AccessibilityPreferencesContext = (require(3875) /* metro dependency 3875: AccessibilityPreferencesContext */).AccessibilityPreferencesContext;
const enabled = Reflect.apply(useContext, binding, [AccessibilityPreferencesContext]).reducedMotion.enabled;
const [property, env0_1] = env0_3(binding.useState(visible), 2);
const tooltipConstantsNativeModule = require(8548) /* metro dependency 8548: TooltipConstantsNative */;
const value6 = tooltipConstantsNativeModule.tooltipEnterExitAnimation(value.position);
binding.useEffect(_fun67784, [visible]);
return ((Component) => <Component useReducedMotion={enabled} item={property ? value : value3} entering={value6} exiting={value6} renderItem={renderTooltipItem_67782} />)(importDefault(8549) /* metro dependency 8549: AnimatedEnterExitItem */);
}
@@ -0,0 +1,265 @@
/* Metro module 8552; source: design/components/Coachmark/native/Coachmark.native.tsx; dependencies: [29, 57, 31, 27, 33, 4017, 4501, 697, 8547, 4583, 8553, 1357, 4570, 4573, 4578, 1244, 5312, 8554, 8564, 477, 3868, 2] */
function _fun67785(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67785, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8737:6, offset: 0x01c30800, size: 1024 bytes, params: 8, frame: 27
var object4;
const env0_0 = require;
const closure = Coachmark;
const env0_3 = ['style'];
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_4 = importDefault(29) /* metro dependency 29 */;
const env0_5 = importDefault(57) /* metro dependency 57 */;
const env0_6 = importAll(31) /* metro dependency 31 */;
let value = require(27) /* metro dependency 27 */;
const env0_7 = value.View;
const Pressable = value.Pressable;
const env0_9 = value.Image;
value = require(33) /* metro dependency 33 */;
const env0_10 = value.jsx;
const env0_11 = value.jsxs;
const env0_12 = value.Fragment;
const env0_13 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(Pressable);
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object4 = {container: {'position': 'absolute', 'alignItems': 'center'}};
const object5 = {};
const SHADOW_BUTTON_OVERLAY = (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_BUTTON_OVERLAY;
copyDataProperties(object5, SHADOW_BUTTON_OVERLAY, undefined);
object4.shadow = object5;
const object8 = {};
const COACHMARK_BODY_WIDTH = (importDefault(697) /* metro dependency 697: native */).modules.mobile.COACHMARK_BODY_WIDTH;
object8.width = COACHMARK_BODY_WIDTH;
object8.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object8.overflow = 'hidden';
object8.zIndex = 1;
object4.body = object8;
object4.textGap = {gap: 4};
const PX_24 = (importDefault(697) /* metro dependency 697: native */).space.PX_24;
object4.textOnlyPadding = {paddingHorizontal: PX_24};
const object9 = {borderWidth: 1};
const MOBILE_COACHMARK_BORDER_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_COACHMARK_BORDER_DEFAULT;
object9.borderColor = MOBILE_COACHMARK_BORDER_DEFAULT;
const MOBILE_COACHMARK_BACKGROUND_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_COACHMARK_BACKGROUND_DEFAULT;
object9.backgroundColor = MOBILE_COACHMARK_BACKGROUND_DEFAULT;
object9.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object4.bodyBgColor = object9;
const object11 = {};
object11.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object11.overflow = 'hidden';
object4.gradient = object11;
const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
object4.bodyContainer = {'padding': null, 'alignItems': 'center', 'justifyContent': 'center', padding: PX_16};
object4.center = {'alignItems': 'center', 'justifyContent': 'center'};
let COACHMARK_BUTTON_SPACING = (importDefault(697) /* metro dependency 697: native */).modules.mobile.COACHMARK_BUTTON_SPACING;
object4.buttonSpacing = {height: COACHMARK_BUTTON_SPACING};
object4.text = {'maxWidth': 200, 'textAlign': 'center'};
object4.cursorContainer = {'alignItems': 'center', 'zIndex': 0};
const object12 = {'height': 8, 'width': 8, 'borderRadius': null, 'borderWidth': 2, 'backgroundColor': 'transparent'};
object12.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xs;
let INTERACTIVE_TEXT_ACTIVE = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_ACTIVE;
object12.borderColor = INTERACTIVE_TEXT_ACTIVE;
object4.cursorHead = object12;
INTERACTIVE_TEXT_ACTIVE = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_ACTIVE;
object4.cursorSpine = {'width': 2, 'height': 16, backgroundColor: INTERACTIVE_TEXT_ACTIVE};
object4.image = {'height': 40, 'width': 40};
COACHMARK_BUTTON_SPACING = (importDefault(697) /* metro dependency 697: native */).modules.mobile.COACHMARK_BUTTON_SPACING;
object4.bottomMargin = {marginBottom: COACHMARK_BUTTON_SPACING};
const object14 = {position: 'absolute'};
COACHMARK_BUTTON_SPACING = (importDefault(697) /* metro dependency 697: native */).modules.mobile.COACHMARK_BUTTON_SPACING;
object14.top = COACHMARK_BUTTON_SPACING;
COACHMARK_BUTTON_SPACING = (importDefault(697) /* metro dependency 697: native */).modules.mobile.COACHMARK_BUTTON_SPACING;
object14.right = COACHMARK_BUTTON_SPACING;
object4.closeButton = object14;
const env0_14 = Reflect.apply(createStyles, value, [object4]);
const env0_15 = {'21/9': 90, '16/9': 90, '6/4': 60, '2/1': 40, '1/1': 40};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Coachmark/native/Coachmark.native.tsx');
exports.Coachmark = closure;
exports.CoachmarkContainer = CoachmarkContainer;
}
function Coachmark({targetMeasurements, surfaceMeasurements, title, description, offsetY, graphic, imgSource, position, onDismiss, buttonLabel, buttonVariant, onButtonPress, gradientColor, experimental_withBlurBackground, renderImgComponent, enterExitAnimatedStyles}) { // fn#67786, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8737:1653, offset: 0x01c30c00, size: 1796 bytes, params: 2, frame: 56
var object4;
var r37;
var r31;
var r23;
var r27;
var jsxRuntimeEnv0_12Binding2;
var items5;
var Button;
var object2;
var object3;
let value = 0;
let r12 = offsetY === undefined ? value : offsetY;
const styles = useStyles();
const env0_3 = styles;
let binding = env0_6;
const value5 = binding.useRef(null);
const env0_4 = value5;
const value7 = env0_5(env0_6.useState(null), 2);
const property = value7[value];
var env0_5 = value7[1];
const {adjustmentX, tooltipX,
tooltipY} = (importDefault(8547) /* metro dependency 8547: useTooltipPositionNative */)(property,
surfaceMeasurements, targetMeasurements, position, -8 + r12);
const value10 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(value);
var env0_6 = value10;
const value11 = env0_6.useCallback(_fun67787, [value10]);
const value12 = env0_6.useCallback(_fun67788, [value10]);
const value13 = (require(4583) /* metro dependency 4583: ButtonHooksNative */).useButtonPressAnimationProps(value10);
const style = value13.style;
const value14 = env0_4(value13, env0_3);
const value15 = env0_6.useMemo(_fun67789, [graphic, imgSource, renderImgComponent, styles]);
const value16 = (importDefault(1357) /* metro dependency 1357: MobileVisualRefreshExperiment */)('Coachmark');
const jsxRuntimeEnv0_12Binding = jsxRuntimeEnv0_12;
const viewBindingProps = {ref: value5, accessibilityRole: 'alert', style: styles.center, accessible: true,
onLayout: onLayout_67790};
const textGap = value16 ? styles.textGap : undefined;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const view = <View {...viewBindingProps}>{value15}<View style={textGap}><Text style={[styles.text,
graphic == null ? styles.textOnlyPadding : undefined]} variant={value16 ? 'text-md/semibold' : 'heading-md/bold'} color="mobile-text-heading-primary">{title}</Text><Text style={styles.text} variant="text-sm/medium" color={value16 ? 'text-subtle' : 'text-default'}>{description}</Text></View></View>;
if (buttonLabel != null) {
if (onButtonPress != null) {
jsxRuntimeEnv0_12Binding2 = jsxRuntimeEnv0_12;
items5 = [<View style={styles.buttonSpacing} />];
Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
if (experimental_withBlurBackground) {
r31 = {'variant': 'secondary-overlay', 'size': 'lg', 'text': null, 'onPress': null, 'grow': true,
text: buttonLabel,
onPress: onButtonPress};
} else {
object2 = {};
r37 = buttonVariant ?? 'secondary';
object2.variant = r37;
r37 = value16 ? 'sm' : 'lg';
object2.size = r37;
object2.text = buttonLabel;
object2.onPress = onButtonPress;
object2.grow = true;
r31 = object2;
}
items5[1] = <Button {...r31} />;
r23 = <>{items5}</>;
} else {
r23 = null;
}
} else {
r23 = null;
}
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const cpT0Cq = (require(1244) /* metro dependency 1244: indexNative */).t.cpT0Cq;
const XSmallIcon = (require(5312) /* metro dependency 5312: XSmallIcon */).XSmallIcon;
if (value16) {
object3 = {size: 'xs'};
object3.color = (importDefault(697) /* metro dependency 697: native */).colors.ICON_STRONG;
r27 = object3;
} else {
r27 = {};
}
const fragment = <>{view}{r23}<Pressable accessibilityRole="button" accessibilityLabel={Reflect.apply(string, intl,
[cpT0Cq])} style={styles.closeButton} onPress={onDismiss} onPressIn={value11} onPressOut={value12}><XSmallIcon {...r27} /></Pressable></>;
if (experimental_withBlurBackground) {
const BackgroundBlurView = (require(8554) /* metro dependency 8554: native */).BackgroundBlurView;
r12 = <BackgroundBlurView style={styles.bodyContainer} blurTheme="dark" pressed={value10}>{fragment}</BackgroundBlurView>;
} else {
r12 = <View style={[styles.bodyContainer,
styles.bodyBgColor]}>{value16 && gradientColor != null ? ((ExpressiveGradient) => <ExpressiveGradient style={styles.gradient} color={gradientColor} backgroundColor={(importDefault(697) /* metro dependency 697: native */).colors.MOBILE_COACHMARK_BACKGROUND_DEFAULT} />)((require(8564) /* metro dependency 8564: ExpressiveGradientNative */).ExpressiveGradient) : null}{fragment}</View>;
}
object4 = {onLayout: onLayout_67791};
const items8 = [styles.container];
const platformUtilsModule = require(477) /* metro dependency 477: PlatformUtils */;
items8[1] = platformUtilsModule.isIOS() ? styles.shadow : undefined;
items8[2] = {opacity: property != null ? 1 : value, top: tooltipY, left: tooltipX};
object4.style = items8;
const items9 = [position === 'bottom' && <Cursor position="bottom" adjustmentX={adjustmentX} />];
binding = env0_13;
const bindingProps = {...value14};
bindingProps['onAccessibilityEscape'] = onDismiss;
bindingProps['accessible'] = false;
bindingProps['onPress'] = onDismiss;
const items10 = [styles.body];
value = platformUtilsModule;
value = arraySpread(items10, value.isAndroid() ? [styles.shadow, enterExitAnimatedStyles] : [], 1, position);
items10[value] = style;
value + 1;
bindingProps['style'] = items10;
items9[1] = ((Component) => <Component {...bindingProps}>{r12}</Component>)(binding);
items9[2] = position === 'top' && <Cursor position="top" adjustmentX={adjustmentX} />;
return (
<View {...object4}>
{items9}
</View>
);
}
function Cursor({position, adjustmentX}) { // fn#67792, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8737:4304, offset: 0x01c314bd, size: 200 bytes, params: 2, frame: 20
const styles = useStyles();
const value2 = position === 'top';
const r9 = value2 ? 'column-reverse' : 'column';
const object2 = {};
if (value2) {
object2.marginTop = -6;
} else {
object2.marginBottom = -6;
}
return (
<View style={[styles.cursorContainer, object2, {flexDirection: r9, left: -adjustmentX}]}>
<View style={styles.cursorHead} />
<View style={styles.cursorSpine} />
</View>
);
}
function CoachmarkContainer(a0) { // fn#67793, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8737:4694, offset: 0x01c31585, size: 132 bytes, params: 2, frame: 17
const nativeModule = require(3868) /* metro dependency 3868: native */;
const useThemeContext = nativeModule.useThemeContext;
const r5 = a0.experimental_withBlurBackground ? 'dark' : Reflect.apply(useThemeContext, nativeModule, []).theme;
const ThemeContextProvider = nativeModule.ThemeContextProvider;
return (
<ThemeContextProvider theme={r5}>
<Coachmark {...a0} />
</ThemeContextProvider>
);
}
function _fun67787() { // fn#67787, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8737:2171, offset: 0x01c31304, size: 24 bytes, params: 1, frame: 11
env0_6.set(1);
}
function _fun67788() { // fn#67788, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8737:2209, offset: 0x01c3131c, size: 23 bytes, params: 1, frame: 11
env0_6.set(0);
}
function _fun67789() { // fn#67789, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8737:2306, offset: 0x01c31333, size: 278 bytes, params: 1, frame: 21
var value7;
var Graphic;
var binding;
var aspectRatio;
const graphicBinding = graphic;
const value2 = null;
if (value2 != graphicBinding) {
value7 = environment.__proto__;
var viewBindingProps = {style: styles.bottomMargin};
Graphic = (require(8553) /* metro dependency 8553: GraphicNative */).Graphic;
binding = env1_15;
aspectRatio = graphic.aspectRatio;
return (
<View {...viewBindingProps}>
<Graphic {...graphic} {...{['style']: {maxHeight: binding[value2 != aspectRatio ? aspectRatio : '1/1']}}} />
</View>
);
}
let r1 = value2 != renderImgComponent ? renderImgComponent() : value2;
r1 = value2 != imgSource ? <Image source={imgSource} style={styles.image} /> : r1;
return value2 == r1 ? value2 : <View style={styles.bottomMargin}>{r1}</View>;
}
function CoachmarkOnLayout() { // fn#67790, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8737:2713, owner: Coachmark.onLayout, offset: 0x01c31449, size: 59 bytes, params: 1, frame: 13
const value = environment.__proto__;
(require(4570) /* metro dependency 4570: setAccessibilityFocusAndroid */).setAccessibilityFocus({ref: env0_4,
delay: 100});
}
function CoachmarkOnLayout_67791({nativeEvent}) { // fn#67791, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8737:3882, owner: Coachmark.onLayout, offset: 0x01c31484, size: 57 bytes, params: 2, frame: 12
env0_5({width: nativeEvent.layout.width, height: nativeEvent.layout.height});
}
@@ -0,0 +1,5 @@
/* Metro module 12803; source: design/components/Coachmark/native/CoachmarkConstants.native.tsx; dependencies: [2] */
function _fun97664(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97664, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12993:6, offset: 0x0218c838, size: 37 bytes, params: 8, frame: 12
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Coachmark/native/CoachmarkConstants.native.tsx');
}
@@ -0,0 +1,34 @@
/* Metro module 8543; source: design/components/Coachmark/native/useCoachmark.native.tsx; dependencies: [31, 33, 491, 8544, 6519, 8551, 2] */
function _fun67725(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67725, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:6, offset: 0x01c2e809, size: 135 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 env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Coachmark/native/useCoachmark.native.tsx');
exports.useCoachmark = useCoachmark;
}
function useCoachmark(a0, a1) { // fn#67726, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:227, offset: 0x01c2e890, size: 96 bytes, params: 3, frame: 17
var value;
value = env0_2.useRef(Reflect.apply((require(491) /* metro dependency 491 */).v4, value, []));
return (require(8544) /* metro dependency 8544: useTooltipNative */).useTooltipHelper(value, a0,
useAddCoachmark(a1));
}
function useAddCoachmark(a0) { // fn#67727, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:285, owner: useCoachmark.useAddCoachmark, offset: 0x01c2e8f0, size: 91 bytes, params: 2, frame: 16
var environment;
const env0_0 = a0;
const value = environment.__proto__;
const binding = env1_2;
const useContext = binding.useContext;
const LayerContext = (require(6519) /* metro dependency 6519: LayerContextNative */).LayerContext;
return binding.useCallback(_fun67728, [Reflect.apply(useContext, binding, [LayerContext]), a0]);
}
function _fun67728(a0, a1, a2) { // fn#67728, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:376, offset: 0x01c2e94b, size: 101 bytes, params: 4, frame: 16
const AnimatedCoachmark = (require(8551) /* metro dependency 8551: AnimatedCoachmarkNative */).AnimatedCoachmark;
env0_1.add(a0,
<AnimatedCoachmark {...env0_0} {...{['targetMeasurements']: a1}} {...{['surfaceMeasurements']: a2}} />);
}
@@ -0,0 +1,557 @@
/* Metro module 8811; source: design/components/ContextMenu/native/ContextMenu.native.tsx; dependencies: [31, 33, 4020, 477, 4017, 1478, 8812, 4584, 8813, 4570, 8814, 4002, 1244, 8815, 5321, 4081, 4559, 2] */
function _fun68866(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68866, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:6, offset: 0x01c5fc5f, size: 347 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
let value = require(33) /* metro dependency 33 */;
const env0_4 = value.Fragment;
const env0_5 = value.jsx;
value = require(4020) /* metro dependency 4020: FabricUtils */;
value = value.isFabric();
if (value) {
value = require(477) /* metro dependency 477: PlatformUtils */;
value = value.isIOS();
}
object = {code: "function ContextMenuNativeTsx1(){const{_isFabricIOS,buttonTagSV,measureInWindowForFWO,measure,buttonRef,title,itemCount,dividerIndexes,approximateItemHeight,CONTEXT_MENU_DIVIDER_HEIGHT,CONTEXT_MENU_OFFSET,screenHeight,CONTEXT_MENU_EDGE_OFFSET,screenWidth,CONTEXT_MENU_MIN_WIDTH,menuAlign,runOnJS,showMenu}=this.__closure;let pageX;let pageY;let width;let height;if(_isFabricIOS){const tag=buttonTagSV.get();if(tag===-1)return;const m=measureInWindowForFWO(tag);if(m==null)return;pageX=m.x;pageY=m.y;width=m.width;height=m.height;}else{const m=measure(buttonRef);if(m==null)return;pageX=m.pageX;pageY=m.pageY;width=m.width;height=m.height;}const rowCount=title!=null?itemCount+1:itemCount;const dividerCount=(title!=null?1:0)+dividerIndexes.length;const menuHeight=approximateItemHeight.get()*rowCount+CONTEXT_MENU_DIVIDER_HEIGHT*dividerCount;const positionBelowOffset=pageY+height+CONTEXT_MENU_OFFSET;const positionAboveOffset=screenHeight-pageY+CONTEXT_MENU_OFFSET;const availableSpaceBelow=screenHeight-positionBelowOffset-CONTEXT_MENU_EDGE_OFFSET;const availableSpaceAbove=pageY-CONTEXT_MENU_EDGE_OFFSET;const wouldOverflowBelow=availableSpaceBelow<menuHeight;const wouldOverflowAbove=availableSpaceAbove<menuHeight;const minimumRightPosition=Math.max(screenWidth-pageX-width,CONTEXT_MENU_EDGE_OFFSET);function autoPositionVertical(offset){'worklet';let positionY='below';let y=pageY+height+CONTEXT_MENU_OFFSET;if(wouldOverflowBelow===wouldOverflowAbove){if(availableSpaceBelow>availableSpaceAbove){positionY='below';}else{positionY='above';}}else if(wouldOverflowBelow){positionY='above';}else{positionY='below';}y=(positionY==='above'?positionAboveOffset:positionBelowOffset)+(offset!==null&&offset!==void 0?offset:0);return{y:y,positionY:positionY};}function autoPositionHorizontal(){'worklet';const distanceFromLeftEdge=pageX-CONTEXT_MENU_EDGE_OFFSET;const distanceFromRightEdge=screenWidth-CONTEXT_MENU_EDGE_OFFSET-(pageX+CONTEXT_MENU_MIN_WIDTH);let positionX='left';let x=pageX;if(distanceFromLeftEdge>distanceFromRightEdge){positionX='right';x=minimumRightPosition;}return{x:x,positionX:positionX};}if(menuAlign==='auto'){const{y:y,positionY:positionY}=autoPositionVertical();const{x:x,positionX:positionX}=autoPositionHorizontal();runOnJS(showMenu)(x,y,positionX,positionY,menuHeight,width);}else if(menuAlign==='above'||menuAlign==='below'){const positionY=menuAlign;const y=positionY==='above'?positionAboveOffset:positionBelowOffset;const{x:x,positionX:positionX}=autoPositionHorizontal();runOnJS(showMenu)(x,y,positionX,positionY,menuHeight,width);}else{const positionX=menuAlign==='left'?'right':'left';const x=positionX==='left'?pageX+width+CONTEXT_MENU_OFFSET:minimumRightPosition+width+CONTEXT_MENU_OFFSET;const{y:y,positionY:positionY}=autoPositionVertical(-1*(CONTEXT_MENU_OFFSET+height));runOnJS(showMenu)(x,y,positionX,positionY,menuHeight,width);}}"};
object = {code: "function autoPositionVertical_ContextMenuNativeTsx2(offset){const{pageY,height,CONTEXT_MENU_OFFSET,wouldOverflowBelow,wouldOverflowAbove,availableSpaceBelow,availableSpaceAbove,positionAboveOffset,positionBelowOffset}=this.__closure;let positionY='below';let y=pageY+height+CONTEXT_MENU_OFFSET;if(wouldOverflowBelow===wouldOverflowAbove){if(availableSpaceBelow>availableSpaceAbove){positionY='below';}else{positionY='above';}}else if(wouldOverflowBelow){positionY='above';}else{positionY='below';}y=(positionY==='above'?positionAboveOffset:positionBelowOffset)+(offset!==null&&offset!==void 0?offset:0);return{y:y,positionY:positionY};}"};
object = {code: "function autoPositionHorizontal_ContextMenuNativeTsx3(){const{pageX,CONTEXT_MENU_EDGE_OFFSET,screenWidth,CONTEXT_MENU_MIN_WIDTH,minimumRightPosition}=this.__closure;const distanceFromLeftEdge=pageX-CONTEXT_MENU_EDGE_OFFSET;const distanceFromRightEdge=screenWidth-CONTEXT_MENU_EDGE_OFFSET-(pageX+CONTEXT_MENU_MIN_WIDTH);let positionX='left';let x=pageX;if(distanceFromLeftEdge>distanceFromRightEdge){positionX='right';x=minimumRightPosition;}return{x:x,positionX:positionX};}"};
object = {code: 'function onPanGestureEnd_ContextMenuNativeTsx4(){const{state,runOnJS,requestClose}=this.__closure;const{activeIndex:activeIndex}=state;const isDismiss=activeIndex.get()===-1;runOnJS(requestClose)(isDismiss);}'};
object = {code: 'function ContextMenuNativeTsx5(e){const{updateContextMenuState,state}=this.__closure;updateContextMenuState(e.absoluteX,e.absoluteY,state);}'};
object = {code: 'function ContextMenuNativeTsx6(){const{runOnJS,triggerHapticFeedback,HapticFeedbackTypes,measureButtonAndShowMenu}=this.__closure;runOnJS(triggerHapticFeedback)(HapticFeedbackTypes.IMPACT_MEDIUM);measureButtonAndShowMenu();}'};
object = {code: 'function ContextMenuNativeTsx7(){const{measureButtonAndShowMenu}=this.__closure;measureButtonAndShowMenu();}'};
object = {code: 'function ContextMenuNativeTsx8(e){const{updateContextMenuState,state}=this.__closure;updateContextMenuState(e.absoluteX,e.absoluteY,state);}'};
object = {code: 'function ContextMenuNativeTsx9(){const{runOnJS,triggerHapticFeedback,HapticFeedbackTypes,measureButtonAndShowMenu}=this.__closure;runOnJS(triggerHapticFeedback)(HapticFeedbackTypes.IMPACT_MEDIUM);measureButtonAndShowMenu();}'};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/ContextMenu/native/ContextMenu.native.tsx');
exports.ContextMenu = ContextMenu;
}
function ContextMenu({children, items, triggerOnLongPress, triggerOnTap, disableGesture, align, title, onOpen, onClose, keyboardShouldPersistTaps, returnRef, enabled, buttonRef}) { // fn#68867, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:5427, offset: 0x01c5fdba, size: 1467 bytes, params: 2, frame: 45
var object2;
triggerOnLongPress = !(triggerOnLongPress === undefined) && triggerOnLongPress;
triggerOnTap = !(triggerOnTap === undefined) && triggerOnTap;
disableGesture = !(disableGesture === undefined) && disableGesture;
align = align === undefined ? 'auto' : align;
const env0_3 = align;
const env0_6 = onClose;
const env0_7 = keyboardShouldPersistTaps;
enabled = enabled === undefined || enabled;
const r11 = buttonRef ?? (require(4017) /* metro dependency 4017: ReanimatedRexport */).useAnimatedRef();
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
let useSharedValue = reanimatedRexportModule.useSharedValue;
const value9 = Reflect.apply(useSharedValue, reanimatedRexportModule, [-1]);
let binding = env0_3;
binding.useEffect(function() {
return buttonRef.observe(_fun68869);
}, [r11, value9]);
const {items, dividerIndexes} = binding.useMemo(function() {
var r2;
var itemsBinding = items;
var Array = global.Array;
var isArray = Array.isArray(itemsBinding[0]);
itemsBinding = items;
r2 = isArray ? itemsBinding.flat() : itemsBinding;
var env0_0 = r2;
if (isArray) {
items.forEach(_fun68871);
}
return {items: r2, dividerIndexes: []};
}, [itemsBinding]);
const length = itemsBinding.length;
const {width,
height} = (importDefault(1478) /* metro dependency 1478: useWindowDimensionsNative */)({ignoreKeyboard: (require(477) /* metro dependency 477: PlatformUtils */).isAndroid()});
const value12 = (require(8812) /* metro dependency 8812: ContextMenuStateNative */).useContextMenuState();
const activeIndex = value12.activeIndex;
const value13 = (require(4584) /* metro dependency 4584: useFontScale */).useFontScale();
const r7 = returnRef !== undefined ? returnRef : r11;
const value14 = (require(8812) /* metro dependency 8812: ContextMenuStateNative */).useActiveContextMenu();
const moduleValue7 = reanimatedRexportModule;
useSharedValue = moduleValue7.useSharedValue;
const Math = global.Math;
const max = Math.max;
const CONTEXT_MENU_ITEM_BASE_HEIGHT = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_ITEM_BASE_HEIGHT;
const CONTEXT_MENU_ITEM_PADDING = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_ITEM_PADDING;
const value17 = Reflect.apply(useSharedValue, moduleValue7, [Reflect.apply(max, Math,
[(CONTEXT_MENU_ITEM_BASE_HEIGHT - 2 * CONTEXT_MENU_ITEM_PADDING) * value13 + 2 * CONTEXT_MENU_ITEM_PADDING,
CONTEXT_MENU_ITEM_BASE_HEIGHT])]);
binding = env0_3;
const env0_21 = binding.useRef(itemsBinding);
binding.useLayoutEffect(_fun68872, [itemsBinding]);
binding.useLayoutEffect(_fun68873, [value14, value12]);
let useCallback = binding.useCallback;
const value18 = Reflect.apply(useCallback, binding, [_fun68874, [activeIndex, onClose]]);
const value20 = binding.useCallback(_fun68876, [onOpen, value12, itemsBinding, title, keyboardShouldPersistTaps,
value18, binding.useCallback(_fun68875, [r7]), dividerIndexes]);
useCallback = binding.useCallback;
const closure = ContextMenuV;
object2 = {_isFabricIOS: env0_6, buttonTagSV: value9};
object2.measureInWindowForFWO = (require(8815) /* metro dependency 8815: FWOMeasureUtils */).measureInWindowForFWO;
object2.measure = reanimatedRexportModule.measure;
object2.buttonRef = r11;
object2.title = title;
object2.itemCount = length;
object2.dividerIndexes = dividerIndexes;
object2.approximateItemHeight = value17;
const CONTEXT_MENU_DIVIDER_HEIGHT = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_DIVIDER_HEIGHT;
object2.CONTEXT_MENU_DIVIDER_HEIGHT = CONTEXT_MENU_DIVIDER_HEIGHT;
const CONTEXT_MENU_OFFSET = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_OFFSET;
object2.CONTEXT_MENU_OFFSET = CONTEXT_MENU_OFFSET;
object2.screenHeight = height;
const CONTEXT_MENU_EDGE_OFFSET = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_EDGE_OFFSET;
object2.CONTEXT_MENU_EDGE_OFFSET = CONTEXT_MENU_EDGE_OFFSET;
object2.screenWidth = width;
const CONTEXT_MENU_MIN_WIDTH = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_MIN_WIDTH;
object2.CONTEXT_MENU_MIN_WIDTH = CONTEXT_MENU_MIN_WIDTH;
object2.menuAlign = align;
object2.runOnJS = reanimatedRexportModule.runOnJS;
object2.showMenu = value20;
closure.__closure = object2;
closure.__workletHash = 6408542373252;
closure.__initData = env0_7;
const value21 = Reflect.apply(useCallback, binding, [closure, [r11, value9, value17, title, length, height, align,
value20, width, dividerIndexes]]);
const value22 = binding.useMemo(_fun68882, [triggerOnLongPress, triggerOnTap, value18, enabled, value12, value21]);
const value23 = binding.useMemo(function() {
return items.map(_fun68891);
}, [itemsBinding]);
const value24 = binding.useCallback(_fun68892, [itemsBinding]);
const value25 = binding.useCallback(_fun68894, [value21]);
const value26 = binding.useCallback(_fun68895, [value21]);
object2 = {ref: r11, onPress: value25};
object2.onLongPress = triggerOnLongPress && disableGesture ? value26 : undefined;
object2.accessibilityActions = value23;
object2.onAccessibilityAction = value24;
if (disableGesture) {
return (
<>
{children(object2)}
</>
);
} else {
const GestureDetector = (require(5321) /* metro dependency 5321 */).GestureDetector;
return (
<GestureDetector gesture={value22}>
{children(object2)}
</GestureDetector>
);
}
}
function _fun68868() { // fn#68868, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:5730, offset: 0x01c60375, size: 29 bytes, params: 1, frame: 11
return buttonRef.observe(_fun68869);
}
function _fun68870() { // fn#68870, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:5795, offset: 0x01c603b0, size: 105 bytes, params: 1, frame: 14
let itemsBinding = items;
const Array = global.Array;
const isArray2 = Array.isArray(itemsBinding[0]);
itemsBinding = items;
const r2 = isArray2 ? itemsBinding.flat() : itemsBinding;
if (isArray2) {
items.forEach(_fun68871);
}
return {items: r2, dividerIndexes: []};
}
function _fun68872() { // fn#68872, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:6440, offset: 0x01c6044d, size: 21 bytes, params: 1, frame: 2
env0_21.current = items;
}
function _fun68873() { // fn#68873, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:6483, offset: 0x01c60462, size: 57 bytes, params: 1, frame: 12
var value2;
if (env0_19 == null) {
value2 = environment.__proto__;
(require(8812) /* metro dependency 8812: ContextMenuStateNative */).resetContextMenuState(env0_17);
}
}
function _fun68874(a0) { // fn#68874, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:6562, offset: 0x01c6049b, size: 113 bytes, params: 2, frame: 13
var property;
if (onClose != null) {
onClose(a0);
}
(require(8812) /* metro dependency 8812: ContextMenuStateNative */).hideContextMenu();
const value3 = activeIndex.get();
if (value3 !== -1) {
property = env0_21.current[value3];
if (property != null) {
property.action();
}
}
}
function _fun68875() { // fn#68875, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:6693, offset: 0x01c6050c, size: 51 bytes, params: 1, frame: 13
const value = environment.__proto__;
(require(4570) /* metro dependency 4570: setAccessibilityFocusAndroid */).setAccessibilityFocus({ref: returnRef});
}
function _fun68876(a0, a1, a2, a3, a4, a5) { // fn#68876, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:6761, offset: 0x01c6053f, size: 303 bytes, params: 7, frame: 16
var AccessibilityAnnouncer;
var announce;
var intl;
if (onOpen != null) {
onOpen();
}
const object2 = {};
object2.key = (require(8814) /* metro dependency 8814: UID */).uid();
object2.x = a0;
object2.y = a1;
object2.positionX = a2;
object2.positionY = a3;
object2.height = a4;
object2.width = a5;
object2.state = env0_17;
object2.items = items;
object2.title = title;
object2.keyboardShouldPersistTaps = keyboardShouldPersistTaps;
object2.requestClose = env0_22;
object2.onClose = env0_23;
object2.dividerIndexes = dividerIndexes;
(require(8812) /* metro dependency 8812: ContextMenuStateNative */).showContextMenu(object2);
const value = require(477) /* metro dependency 477: PlatformUtils */;
if (value.isAndroid()) {
AccessibilityAnnouncer = (require(4002) /* metro dependency 4002: shared */).AccessibilityAnnouncer;
announce = AccessibilityAnnouncer.announce;
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
Reflect.apply(announce, AccessibilityAnnouncer,
[intl.string((require(1244) /* metro dependency 1244: indexNative */).t.ZqK0uI)]);
}
}
function ContextMenuV() { // fn#68877, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:7131, owner: ContextMenu.V, offset: 0x01c6066e, size: 924 bytes, params: 1, frame: 31
var environment;
var width2;
var r11;
var r13;
var r15;
var r14;
var r12;
var value5;
var value6;
var x;
var y;
var width4;
var height3;
var value25;
var positionY;
var value31;
var positionX;
var value32;
var value33;
let value = environment.__proto__;
if (env1_6) {
value5 = env0_11.get();
if (value5 === -1) {
return undefined;
}
value6 = (require(8815) /* metro dependency 8815: FWOMeasureUtils */).measureInWindowForFWO(value5);
if (value6 == null) {
return undefined;
}
x = value6.x;
y = value6.y;
width4 = value6.width;
height3 = value6.height;
width2 = width4;
r11 = height3;
r13 = x;
r15 = y;
} else {
var moduleValue = require(4017) /* metro dependency 4017: ReanimatedRexport */;
var value3 = moduleValue.measure(buttonRef);
if (value3 == null) {
return undefined;
}
var pageX = value3.pageX;
var pageY = value3.pageY;
var width3 = value3.width;
var height2 = value3.height;
width2 = width3;
r11 = height2;
r13 = pageX;
r15 = pageY;
}
const r4 = title != null ? length + 1 : length;
const value11 = (title != null ? 1 : 0) + dividerIndexes.length;
const binding = env0_20;
const get = binding.get;
const value12 = Reflect.apply(get, binding, []) * r4;
const CONTEXT_MENU_DIVIDER_HEIGHT = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_DIVIDER_HEIGHT;
const value13 = value12 + CONTEXT_MENU_DIVIDER_HEIGHT * value11;
const value14 = r15 + r11;
const CONTEXT_MENU_OFFSET = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_OFFSET;
const value15 = value14 + CONTEXT_MENU_OFFSET;
const value17 = height - r15 + CONTEXT_MENU_OFFSET;
const value18 = height - value15;
const CONTEXT_MENU_EDGE_OFFSET = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_EDGE_OFFSET;
const value19 = value18 - CONTEXT_MENU_EDGE_OFFSET;
const value20 = r15 - CONTEXT_MENU_EDGE_OFFSET;
const result = value19 < value13;
const result_2 = value20 < value13;
const Math = global.Math;
const value22 = Math.max(width - r13 - width2, CONTEXT_MENU_EDGE_OFFSET);
const value23 = _fun68878();
const value24 = _fun68880();
let alignBinding = align;
if (alignBinding === 'auto') {
value32 = value23();
y = value32.y;
positionY = value32.positionY;
value33 = value24();
x = value33.x;
positionX = value33.positionX;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value.runOnJS(env0_24)(x, y, positionX, positionY, value13, width2);
} else {
alignBinding = align;
if (alignBinding === 'above') {
alignBinding = align;
r12 = alignBinding !== 'above' ? value15 : value17;
value31 = value24();
x = value31.x;
positionX = value31.positionX;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value.runOnJS(env0_24)(x, r12, positionX, alignBinding, value13, width2);
} else {
alignBinding = align;
if (alignBinding === 'below') {
alignBinding = align;
r12 = alignBinding !== 'above' ? value15 : value17;
value31 = value24();
x = value31.x;
positionX = value31.positionX;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value.runOnJS(env0_24)(x, r12, positionX, alignBinding, value13, width2);
} else {
alignBinding = align;
value25 = 'left';
r15 = value25 !== alignBinding ? value25 : 'right';
r14 = value25 === r15 ? r13 + width2 + CONTEXT_MENU_OFFSET : value22 + width2 + CONTEXT_MENU_OFFSET;
value = value23(-1 * (CONTEXT_MENU_OFFSET + r11));
y = value.y;
positionY = value.positionY;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value.runOnJS(env0_24)(r14, y, r15, positionY, value13, width2);
}
}
}
}
function _fun68882() { // fn#68882, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:9749, offset: 0x01c60c46, size: 745 bytes, params: 1, frame: 23
var r0;
const Gesture = (require(5321) /* metro dependency 5321 */).Gesture;
var value4;
var enabledBinding;
var value5;
var onBegin;
var closure;
const runOnJS = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS;
const triggerHapticFeedback = (require(4081) /* metro dependency 4081: HapticUtilsNative */).triggerHapticFeedback;
const HapticFeedbackTypes = (require(4081) /* metro dependency 4081: HapticUtilsNative */).HapticFeedbackTypes;
var value6;
var onUpdate;
const updateContextMenuState = (require(8812) /* metro dependency 8812: ContextMenuStateNative */).updateContextMenuState;
var onStart;
var value8;
var enabled4;
var value9;
var shouldCancelWhenOutside2;
let value = _fun68883();
if (triggerOnLongPress) {
value8 = Gesture.Pan();
enabled4 = value8.enabled;
enabledBinding = enabled;
value9 = Reflect.apply(enabled4, value8, [enabledBinding]);
onUpdate = value9.onUpdate;
closure = i_68885;
closure.__closure = {updateContextMenuState: updateContextMenuState, state: env0_17};
closure.__workletHash = 2460213213323;
closure.__initData = env1_11;
value = Reflect.apply(onUpdate, value9, [closure]).onEnd(value);
shouldCancelWhenOutside2 = Gesture.LongPress().enabled(enabledBinding).shouldCancelWhenOutside(false);
onStart = shouldCancelWhenOutside2.onStart;
closure = n_68886;
closure.__closure = {runOnJS: runOnJS, triggerHapticFeedback: triggerHapticFeedback,
HapticFeedbackTypes: HapticFeedbackTypes, measureButtonAndShowMenu: env0_25};
closure.__workletHash = 12352363869337;
closure.__initData = env1_12;
return Gesture.Simultaneous(Reflect.apply(onStart, shouldCancelWhenOutside2, [closure]), value);
}
if (triggerOnTap) {
value = Gesture.Tap();
value = value.enabled(enabled);
onStart = value.onStart;
closure = o_68887;
closure.__closure = {measureButtonAndShowMenu: env0_25};
closure.__workletHash = 13410382812897;
closure.__initData = env1_13;
value = Reflect.apply(onStart, value, [closure]);
r0 = value;
} else {
value4 = Gesture.Pan();
value5 = value4.enabled(enabled);
onBegin = value5.onBegin;
closure = t_68888;
closure.__closure = {runOnJS: runOnJS, triggerHapticFeedback: triggerHapticFeedback,
HapticFeedbackTypes: HapticFeedbackTypes, measureButtonAndShowMenu: env0_25};
closure.__workletHash = 12845174582902;
closure.__initData = env1_15;
value6 = Reflect.apply(onBegin, value5, [closure]);
onUpdate = value6.onUpdate;
closure = e_68889;
closure.__closure = {updateContextMenuState: updateContextMenuState, state: env0_17};
closure.__workletHash = 17473642675622;
closure.__initData = env1_14;
value = Reflect.apply(onUpdate, value6, [closure]).onEnd(value);
r0 = value;
}
return r0;
}
function _fun68890() { // fn#68890, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:11526, offset: 0x01c6107a, size: 28 bytes, params: 1, frame: 11
return items.map(function(a0) {
return {name: a0.label, label: a0.label};
});
}
function _fun68892(a0) { // fn#68892, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:11596, offset: 0x01c610af, size: 68 bytes, params: 2, frame: 12
const env0_0 = a0;
const value = items.find(_fun68893);
if (!(value == null || value.action == null)) {
value.action();
}
}
function _fun68894() { // fn#68894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:11716, offset: 0x01c61114, size: 115 bytes, params: 1, frame: 14
let value = environment.__proto__;
if ((require(477) /* metro dependency 477: PlatformUtils */).isAndroid() && (require(4559) /* metro dependency 4559: useIsScreenReaderEnabledNative */).getIsScreenReaderEnabled()) {
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value.runOnUI(env0_25)();
}
}
function _fun68895() { // fn#68895, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:11825, offset: 0x01c61187, size: 49 bytes, params: 1, frame: 12
let value = environment.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
value.runOnUI(env0_25)();
}
function _fun68869(a0) { // fn#68869, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:5745, offset: 0x01c60392, size: 30 bytes, params: 2, frame: 11
var value;
if (a0 != null) {
value = environment.__proto__;
env1_11.set(a0);
}
}
function _fun68871(a0, a1) { // fn#68871, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:5908, offset: 0x01c60419, size: 52 bytes, params: 3, frame: 14
var binding;
var push;
var binding2;
if (a1 > 0) {
binding = env0_1;
push = binding.push;
binding2 = env0_0;
Reflect.apply(push, binding, [binding2.indexOf(a0[0])]);
}
}
function _fun68878() { // fn#68878, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:7675, offset: 0x01c60a0a, size: 167 bytes, params: 1, frame: 15
const closure = autoPositionVertical;
const object2 = {};
object2.pageY = env0_1;
object2.height = height;
const CONTEXT_MENU_OFFSET = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_OFFSET;
object2.CONTEXT_MENU_OFFSET = CONTEXT_MENU_OFFSET;
object2.wouldOverflowBelow = result;
object2.wouldOverflowAbove = result_2;
object2.availableSpaceBelow = env0_5;
object2.availableSpaceAbove = env0_6;
object2.positionAboveOffset = env0_4;
object2.positionBelowOffset = env0_3;
closure.__closure = object2;
closure.__workletHash = 15309589830995;
closure.__initData = env2_8;
return closure;
}
function _fun68880() { // fn#68880, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:8210, offset: 0x01c60b3e, size: 136 bytes, params: 1, frame: 17
const closure = autoPositionHorizontal;
const object2 = {};
object2.pageX = env0_0;
const CONTEXT_MENU_EDGE_OFFSET = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_EDGE_OFFSET;
object2.CONTEXT_MENU_EDGE_OFFSET = CONTEXT_MENU_EDGE_OFFSET;
object2.screenWidth = width;
const CONTEXT_MENU_MIN_WIDTH = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_MIN_WIDTH;
object2.CONTEXT_MENU_MIN_WIDTH = CONTEXT_MENU_MIN_WIDTH;
object2.minimumRightPosition = env0_9;
closure.__closure = object2;
closure.__workletHash = 14761866330436;
closure.__initData = env2_9;
return closure;
}
function _fun68883() { // fn#68883, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:9770, offset: 0x01c60f2f, size: 99 bytes, params: 1, frame: 15
const closure = onPanGestureEnd;
const object2 = {};
object2.state = env1_17;
object2.runOnJS = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS;
object2.requestClose = env1_22;
closure.__closure = object2;
closure.__workletHash = 12851223476540;
closure.__initData = env2_10;
return closure;
}
function i_68885({absoluteX, absoluteY}) { // fn#68885, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:10098, offset: 0x01c60fe0, size: 62 bytes, params: 2, frame: 16
const value = environment.__proto__.__proto__;
(require(8812) /* metro dependency 8812: ContextMenuStateNative */).updateContextMenuState(absoluteX, absoluteY,
env1_17);
}
function n_68886() { // fn#68886, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:10385, offset: 0x01c6101e, size: 92 bytes, params: 1, frame: 15
let value = environment.__proto__.__proto__;
value = Reflect.apply((require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS, value,
[(require(4081) /* metro dependency 4081: HapticUtilsNative */).triggerHapticFeedback]);
const HapticFeedbackTypes = (require(4081) /* metro dependency 4081: HapticUtilsNative */).HapticFeedbackTypes;
const IMPACT_MEDIUM = HapticFeedbackTypes.IMPACT_MEDIUM;
value(IMPACT_MEDIUM);
value = environment.__proto__;
env1_25();
}
function autoPositionVertical(a0) { // fn#68879, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:7711, offset: 0x01c60ab1, size: 141 bytes, params: 2, frame: 14
const value = a0;
(require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_OFFSET;
const r1 = result === result_2 ? env1_5 > env1_6 ? 'below' : 'above' : result ? 'above' : 'below';
return {y: (r1 === 'above' ? env1_4 : env1_3) + (value ?? 0), positionY: r1};
}
function autoPositionHorizontal() { // fn#68881, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:8248, offset: 0x01c60bc6, size: 128 bytes, params: 1, frame: 16
var r1;
var r2;
const value = environment.__proto__;
let binding = env1_0;
const CONTEXT_MENU_EDGE_OFFSET = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_EDGE_OFFSET;
const value3 = binding - CONTEXT_MENU_EDGE_OFFSET;
const value5 = width - CONTEXT_MENU_EDGE_OFFSET;
binding = env1_0;
const CONTEXT_MENU_MIN_WIDTH = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_MIN_WIDTH;
const value6 = value5 - (binding + CONTEXT_MENU_MIN_WIDTH);
binding = env1_0;
if (value3 > value6) {
binding = env1_9;
r1 = 'right';
r2 = binding;
} else {
r1 = 'left';
r2 = binding;
}
return {x: r2, positionX: r1};
}
function onPanGestureEnd() { // fn#68884, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8996:9801, offset: 0x01c60f92, size: 78 bytes, params: 1, frame: 13
const value = environment.__proto__.__proto__;
(require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS(env2_22)(env2_17.activeIndex.get() === -1);
}
@@ -0,0 +1,16 @@
/* Metro module 8813; source: design/components/ContextMenu/native/ContextMenuConstants.native.tsx; dependencies: [2] */
function _fun68910(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68910, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8998:6, offset: 0x01c61657, size: 159 bytes, params: 8, frame: 15
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/ContextMenu/native/ContextMenuConstants.native.tsx');
exports.CONTEXT_MENU_ITEM_PADDING = 12;
exports.CONTEXT_MENU_ITEM_BASE_HEIGHT = 42;
exports.CONTEXT_MENU_DIVIDER_HEIGHT = 4;
exports.CONTEXT_MENU_EDGE_OFFSET = 12;
exports.CONTEXT_MENU_MIN_WIDTH = 220;
exports.CONTEXT_MENU_OFFSET = 10;
exports.CONTEXT_MENU_MIN_SCALE = 0.5;
exports.CONTEXT_MENU_SPRING = {'mass': 0.3, 'damping': 20, 'stiffness': 200, 'overshootClamping': true,
'restDisplacementThreshold': 0.001};
}
@@ -0,0 +1,86 @@
/* Metro module 12799; source: design/components/ContextMenu/native/ContextMenuContainer.native.tsx; dependencies: [31, 27, 33, 4501, 12800, 8812, 1599, 4509, 4555, 4508, 2] */
function _fun97632(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97632, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12989:6, offset: 0x0218b024, size: 284 bytes, params: 8, frame: 22
const env0_0 = require;
const getItemKey_97633 = function(a0) {
return a0.key;
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
let value = require(27) /* metro dependency 27 */;
const StyleSheet = value.StyleSheet;
const env0_4 = value.View;
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
const object = {};
copyDataProperties(object, StyleSheet.absoluteFillObject, undefined);
object['zIndex'] = 99999;
const env0_6 = Reflect.apply(createStyles, value, [{overlayView: object,
wrapperView: StyleSheet.absoluteFillObject}]);
const env0_7 = [];
const EMPTY_CALLBACK = function() {
};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/ContextMenu/native/ContextMenuContainer.native.tsx');
exports.ContextMenuContainer = ContextMenuContainer;
}
function renderItem_97635(a0, a1, a2, a3) { // fn#97635, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12989:342, offset: 0x0218b140, size: 73 bytes, params: 5, frame: 15
const ContextMenuPopout = (require(12800) /* metro dependency 12800: ContextMenuPopoutNative */).ContextMenuPopout;
return (
<ContextMenuPopout
menu={a1}
transitionState={a2}
cleanUp={a3}
key={a0}
/>
);
}
function ContextMenuContainer() { // fn#97636, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12989:547, offset: 0x0218b189, size: 269 bytes, params: 1, frame: 19
const value2 = undefined;
const styles = useStyles();
const value3 = (require(8812) /* metro dependency 8812: ContextMenuStateNative */).useActiveContextMenu();
const r5 = value3 != null ? [value3] : env0_7;
const r1 = (value3 == null ? value2 : value3.requestClose) ?? EMPTY_CALLBACK;
const binding = env0_3;
binding.useEffect(function() {
var KeyboardEvents = require(dependencyMap[6]).KeyboardEvents;
var env0_0 = KeyboardEvents.addListener('keyboardDidHide', require(dependencyMap[5]).hideContextMenu);
return _fun97638;
}, []);
const value5 = binding.useCallback(_fun97640, [binding.useCallback(_fun97639, [r1]), styles.overlayView,
styles.wrapperView]);
const TransitionGroup = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionGroup;
return (
<TransitionGroup
wrapChildren={value5}
items={r5}
renderItem={renderItem_97635}
getItemKey={getItemKey_97633}
/>
);
}
function _fun97637() { // fn#97637, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12989:712, offset: 0x0218b296, size: 82 bytes, params: 1, frame: 16
const KeyboardEvents = (require(1599) /* metro dependency 1599 */).KeyboardEvents;
const env0_0 = KeyboardEvents.addListener('keyboardDidHide',
(require(8812) /* metro dependency 8812: ContextMenuStateNative */).hideContextMenu);
return _fun97638;
}
function _fun97640(a0, a1) { // fn#97640, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12989:886, offset: 0x0218b2e8, size: 171 bytes, params: 3, frame: 20
const OverlayView = importDefault(4509) /* metro dependency 4509: OverlayView */;
const r7 = a1.length !== 0 ? 'auto' : 'none';
const Dialog = (require(4555) /* metro dependency 4555: DialogNative */).Dialog;
return (
<OverlayView style={styles.overlayView}>
<View pointerEvents={r7} style={styles.wrapperView}>
<Dialog onDismiss={env0_2}>
{a0}
</Dialog>
</View>
</OverlayView>
);
}
@@ -0,0 +1,176 @@
/* Metro module 12798; source: design/components/ContextMenu/native/ContextMenuItem.native.tsx; dependencies: [31, 27, 33, 4017, 4501, 8813, 697, 1357, 8812, 4577, 4581, 4580, 4573, 2] */
function _fun97623(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97623, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12988:6, offset: 0x0218a63a, size: 277 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const Pressable = (require(27) /* metro dependency 27 */).Pressable;
const value = require(33) /* metro dependency 33 */;
const env0_4 = value.jsx;
const env0_5 = value.jsxs;
const env0_6 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(Pressable);
const env0_7 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun97624);
object = {code: 'function ContextMenuItemNativeTsx1(){const{pan}=this.__closure;return pan.get();}'};
object = {code: 'function ContextMenuItemNativeTsx2(_current,previous){const{measure,ref,index,INDEX_BOUNDS_OFFSET,itemMeasurements,INDEX_BOUNDS_PAGE_X_OFFSET,INDEX_BOUNDS_PAGE_Y_OFFSET,INDEX_BOUNDS_WIDTH_OFFSET,INDEX_BOUNDS_HEIGHT_OFFSET}=this.__closure;if(previous==null||_current===previous)return;const measurements=measure(ref);if(measurements!=null){const{pageX:pageX,pageY:pageY,width:width,height:height}=measurements;const offset=index*INDEX_BOUNDS_OFFSET;itemMeasurements.get()[offset+INDEX_BOUNDS_PAGE_X_OFFSET]=pageX;itemMeasurements.get()[offset+INDEX_BOUNDS_PAGE_Y_OFFSET]=pageY;itemMeasurements.get()[offset+INDEX_BOUNDS_WIDTH_OFFSET]=width;itemMeasurements.get()[offset+INDEX_BOUNDS_HEIGHT_OFFSET]=height;}}'};
object = {code: "function ContextMenuItemNativeTsx3(){const{activeIndex,index,pressed,withSpring,backgroundColor,SUBTLE_SPRING}=this.__closure;const isActive=activeIndex.get()===index||pressed.get()===1;return{backgroundColor:withSpring(isActive?backgroundColor:'transparent',SUBTLE_SPRING,'animate-always')};}"};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/ContextMenu/native/ContextMenuItem.native.tsx');
exports.ContextMenuItem = ContextMenuItem;
}
function _fun97624(a0) { // fn#97624, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12988:214, offset: 0x0218a74f, size: 406 bytes, params: 2, frame: 17
const object3 = {};
const object6 = {'padding': null, 'minHeight': null, 'flexDirection': 'row', 'justifyContent': 'space-between',
'alignItems': 'center', 'gap': 8};
const CONTEXT_MENU_ITEM_PADDING = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_ITEM_PADDING;
object6.padding = CONTEXT_MENU_ITEM_PADDING;
const CONTEXT_MENU_ITEM_BASE_HEIGHT = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_ITEM_BASE_HEIGHT;
object6.minHeight = CONTEXT_MENU_ITEM_BASE_HEIGHT;
object3.container = object6;
object3.containerRefresh = {justifyContent: 'flex-start'};
const object7 = {};
object7.borderTopLeftRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object7.borderTopRightRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object3.roundedTop = object7;
const object8 = {};
object8.borderBottomLeftRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object8.borderBottomRightRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object3.roundedBottom = object8;
const BORDER_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BORDER_SUBTLE;
object3.border = {borderBottomWidth: 1, borderBottomColor: BORDER_SUBTLE};
const BACKGROUND_MOD_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_SUBTLE;
object3.pressed = {backgroundColor: BACKGROUND_MOD_SUBTLE};
object3.icon = {'width': 20, 'height': 20,
tintColor: a0 === 'destructive' ? (importDefault(697) /* metro dependency 697: native */).colors.TEXT_FEEDBACK_CRITICAL : (importDefault(697) /* metro dependency 697: native */).colors.TEXT_STRONG};
object3.label = {flexShrink: 1};
object3.trailingIndicator = {marginLeft: 'auto'};
return object3;
}
function ContextMenuItem({label, IconComponent, trailingIndicator, iconSource, start, end, lastInSection, index, state, onPress, variant, accessibilityRole}) { // fn#97625, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12988:2183, offset: 0x0218a8e5, size: 1239 bytes, params: 2, frame: 39
var object2;
variant = variant === undefined ? 'default' : variant;
accessibilityRole = accessibilityRole === undefined ? 'button' : accessibilityRole;
const value2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useAnimatedRef();
const styles = useStyles(variant);
const value3 = (importDefault(1357) /* metro dependency 1357: MobileVisualRefreshExperiment */)('ContextMenuItem');
const pan = state.pan;
const itemMeasurements = state.itemMeasurements;
const env0_3 = itemMeasurements;
const activeIndex = state.activeIndex;
const value4 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedReaction = reanimatedRexportModule.useAnimatedReaction;
let closure = function() {
return pan.get();
};
closure.__closure = {pan: pan};
closure.__workletHash = 11852115418144;
closure.__initData = env0_8;
const closure2 = ContextMenuItemP;
object2 = {measure: reanimatedRexportModule.measure, ref: value2, index: index};
const INDEX_BOUNDS_OFFSET = (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_OFFSET;
object2.INDEX_BOUNDS_OFFSET = INDEX_BOUNDS_OFFSET;
object2.itemMeasurements = itemMeasurements;
const INDEX_BOUNDS_PAGE_X_OFFSET = (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_PAGE_X_OFFSET;
object2.INDEX_BOUNDS_PAGE_X_OFFSET = INDEX_BOUNDS_PAGE_X_OFFSET;
const INDEX_BOUNDS_PAGE_Y_OFFSET = (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_PAGE_Y_OFFSET;
object2.INDEX_BOUNDS_PAGE_Y_OFFSET = INDEX_BOUNDS_PAGE_Y_OFFSET;
const INDEX_BOUNDS_WIDTH_OFFSET = (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_WIDTH_OFFSET;
object2.INDEX_BOUNDS_WIDTH_OFFSET = INDEX_BOUNDS_WIDTH_OFFSET;
const INDEX_BOUNDS_HEIGHT_OFFSET = (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_HEIGHT_OFFSET;
object2.INDEX_BOUNDS_HEIGHT_OFFSET = INDEX_BOUNDS_HEIGHT_OFFSET;
closure2.__closure = object2;
closure2.__workletHash = 9571959267234;
closure2.__initData = env0_9;
Reflect.apply(useAnimatedReaction, reanimatedRexportModule, [closure, closure2]);
const backgroundColor = styles.pressed.backgroundColor;
const env0_6 = backgroundColor;
const moduleValue4 = reanimatedRexportModule;
const useAnimatedStyle = moduleValue4.useAnimatedStyle;
closure = ContextMenuItemR;
object2 = {activeIndex: activeIndex, index: index, pressed: value4};
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.backgroundColor = backgroundColor;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.SUBTLE_SPRING = SUBTLE_SPRING;
closure.__closure = object2;
closure.__workletHash = 624481847983;
closure.__initData = env0_10;
const value5 = Reflect.apply(useAnimatedStyle, moduleValue4, [closure]);
const r14 = IconComponent != null ? <IconComponent size="sm" color={styles.icon.tintColor} /> : iconSource != null ? ((Component) => <Component source={iconSource} style={styles.icon} />)(importDefault(4580) /* metro dependency 4580: Icon */) : null;
const r9 = trailingIndicator != null ? ((Component) => <Component size="sm" color={styles.icon.tintColor} />)(trailingIndicator) : null;
let binding = env0_3;
const value10 = binding.useCallback(_fun97629, [index, itemMeasurements]);
const value11 = binding.useCallback(function() {
activeIndex.set(index);
}, [activeIndex, index]);
const value12 = binding.useCallback(function() {
activeIndex.set(-1);
}, [activeIndex]);
binding = env0_6;
const items3 = [styles.container];
items3[1] = value3 && styles.containerRefresh;
items3[2] = !end && !lastInSection && styles.border;
items3[3] = start && styles.roundedTop;
items3[4] = end && styles.roundedBottom;
items3[5] = value5;
const items2 = [value3 && ((View) => <View>{r14}</View>)((importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View)];
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
items2[1] = <Text animated variant="text-md/medium" style={styles.label} color={variant !== 'destructive' ? 'text-strong' : 'text-feedback-critical'}>{label}</Text>;
items2[2] = !value3 && ((View) => <View>{r14}</View>)((importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View);
items2[3] = r9 != null && ((View) => <View style={styles.trailingIndicator}>{r9}</View>)((importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View);
return ((Component) => <Component ref={value2} style={items3} onLayout={value10} onPressIn={value11} onPressOut={value12} onPress={onPress} accessibilityRole={accessibilityRole}>{items2}</Component>)(binding);
}
function ContextMenuItemP(a0, a1) { // fn#97627, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12988:2632, owner: ContextMenuItem.p, offset: 0x0218adbc, size: 276 bytes, params: 3, frame: 20
var value;
var value3;
var pageX;
var pageY;
var width;
var height;
if (a1 != null) {
if (a0 !== a1) {
value = environment.__proto__;
value3 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).measure(env0_1);
if (value3 != null) {
pageX = value3.pageX;
pageY = value3.pageY;
width = value3.width;
height = value3.height;
value = index * (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_OFFSET;
itemMeasurements.get()[value + (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_PAGE_X_OFFSET] = pageX;
itemMeasurements.get()[value + (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_PAGE_Y_OFFSET] = pageY;
itemMeasurements.get()[value + (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_WIDTH_OFFSET] = width;
itemMeasurements.get()[value + (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_HEIGHT_OFFSET] = height;
}
}
}
}
function ContextMenuItemR() { // fn#97628, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12988:3451, owner: ContextMenuItem.R, offset: 0x0218aed0, size: 135 bytes, params: 1, frame: 18
const r7 = activeIndex.get() === index || env0_5.get() === 1;
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const backgroundColor2 = r7 ? backgroundColor : 'transparent';
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
return {backgroundColor: Reflect.apply(withSpring, springModule, [backgroundColor2, SUBTLE_SPRING,
'animate-always'])};
}
function _fun97629({nativeEvent}) { // fn#97629, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12988:3945, offset: 0x0218af57, size: 153 bytes, params: 2, frame: 18
var indexBinding;
var value2;
var value3;
const {height, width} = nativeEvent.layout;
if (height !== 0) {
if (width !== 0) {
indexBinding = index;
value2 = environment.__proto__;
value3 = indexBinding * (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_OFFSET;
itemMeasurements.get()[value3 + (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_HEIGHT_OFFSET] = height;
itemMeasurements.get()[value3 + (require(8812) /* metro dependency 8812: ContextMenuStateNative */).INDEX_BOUNDS_WIDTH_OFFSET] = width;
}
}
}
@@ -0,0 +1,393 @@
/* Metro module 12800; source: design/components/ContextMenu/native/ContextMenuPopout.native.tsx; dependencies: [57, 31, 27, 33, 4501, 697, 8813, 4017, 4508, 5463, 1478, 477, 4577, 8812, 5321, 4573, 12798, 4559, 4562, 1244, 2] */
function _fun97641(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97641, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:6, offset: 0x0218b393, size: 659 bytes, params: 8, frame: 25
var object3;
let env0_0 = require;
const renderMenuItems = function(a0) {
var items = a0.items;
var env0_0 = items;
var env0_1 = a0.title;
var env0_2 = a0.state;
var env0_3 = a0.onPress;
var env0_4 = a0.dividerIndexes;
return items.map(_fun97644);
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let env0_3 = importDefault(57) /* metro dependency 57 */;
let env0_4 = importAll(31) /* metro dependency 31 */;
let value = require(27) /* metro dependency 27 */;
const env0_5 = value.View;
const StyleSheet = value.StyleSheet;
value = require(33) /* metro dependency 33 */;
const env0_6 = value.jsx;
const env0_7 = value.Fragment;
const env0_8 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
let createStyles = value.createStyles;
object3 = {};
const object5 = {'position': 'absolute', 'backgroundColor': null, 'borderWidth': 1};
const BACKGROUND_SURFACE_HIGHEST = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGHEST;
object5.backgroundColor = BACKGROUND_SURFACE_HIGHEST;
let BORDER_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BORDER_SUBTLE;
object5.borderColor = BORDER_SUBTLE;
object5.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
const CONTEXT_MENU_MIN_WIDTH = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_MIN_WIDTH;
object5.minWidth = CONTEXT_MENU_MIN_WIDTH;
const SHADOW_HIGH = (importDefault(697) /* metro dependency 697: native */).shadows.SHADOW_HIGH;
copyDataProperties(object5, SHADOW_HIGH, undefined);
object3.container = object5;
const CONTEXT_MENU_ITEM_PADDING = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_ITEM_PADDING;
object3.titleContainer = {padding: CONTEXT_MENU_ITEM_PADDING};
const object7 = {};
const CONTEXT_MENU_DIVIDER_HEIGHT = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_DIVIDER_HEIGHT;
object7.borderBottomWidth = CONTEXT_MENU_DIVIDER_HEIGHT;
BORDER_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BORDER_SUBTLE;
object7.borderBottomColor = BORDER_SUBTLE;
object3.divider = object7;
const env0_9 = Reflect.apply(createStyles, value, [object3]);
object3 = {code: "function ContextMenuPopoutNativeTsx1(){const{maxHeight,height,CONTEXT_MENU_MIN_WIDTH,positionY,positionX,CONTEXT_MENU_MIN_SCALE,withSpring,interpolate,visible,CONTEXT_MENU_SPRING,transitionState,TransitionStates,runOnJS,cleanUp,onClose}=this.__closure;const visibleHeight=Math.min(maxHeight,height);const halfHeight=visibleHeight/2;const halfWidth=CONTEXT_MENU_MIN_WIDTH/2;const translateYDirection=positionY==='below'?-1:1;const translateXDirection=positionX==='left'?-1:1;const translateY=translateYDirection*halfHeight+CONTEXT_MENU_MIN_SCALE*-translateYDirection*halfHeight;const translateX=translateXDirection*halfWidth+CONTEXT_MENU_MIN_SCALE*-translateXDirection*halfWidth;return{opacity:withSpring(interpolate(visible.get(),[0,1],[0,1]),CONTEXT_MENU_SPRING,'respect-motion-settings',function(finished){if(finished&&transitionState===TransitionStates.YEETED){runOnJS(cleanUp)();runOnJS(onClose)();}}),transform:[{translateX:withSpring(interpolate(visible.get(),[0,1],[translateX,0]),CONTEXT_MENU_SPRING)},{translateY:withSpring(interpolate(visible.get(),[0,1],[translateY,0]),CONTEXT_MENU_SPRING)},{scale:withSpring(interpolate(visible.get(),[0,1],[CONTEXT_MENU_MIN_SCALE,1]),CONTEXT_MENU_SPRING)}]};}"};
object3 = {code: 'function ContextMenuPopoutNativeTsx2(finished){const{transitionState,TransitionStates,runOnJS,cleanUp,onClose}=this.__closure;if(finished&&transitionState===TransitionStates.YEETED){runOnJS(cleanUp)();runOnJS(onClose)();}}'};
object3 = {code: 'function update_ContextMenuPopoutNativeTsx3(e){const{updateContextMenuState,state}=this.__closure;updateContextMenuState(e.absoluteX,e.absoluteY,state);}'};
object3 = {code: 'function ContextMenuPopoutNativeTsx4(){const{state,runOnJS,requestClose}=this.__closure;const{activeIndex:activeIndex}=state;const isDismiss=activeIndex.get()===-1;runOnJS(requestClose)(isDismiss);}'};
value = require(4501) /* metro dependency 4501: createStyles */;
createStyles = value.createStyles;
object3 = {};
const CONTEXT_MENU_BACKDROP_BACKGROUND = (importDefault(697) /* metro dependency 697: native */).colors.CONTEXT_MENU_BACKDROP_BACKGROUND;
object3.backdrop = {backgroundColor: CONTEXT_MENU_BACKDROP_BACKGROUND};
const object8 = {};
copyDataProperties(object8, StyleSheet.absoluteFillObject, undefined);
object8['height'] = 'auto';
object3.accessibleDismiss = object8;
const env0_14 = Reflect.apply(createStyles, value, [object3]);
object3 = {code: 'function ContextMenuPopoutNativeTsx5(){const{withSpring,visible,CONTEXT_MENU_SPRING}=this.__closure;return{opacity:withSpring(visible.get(),CONTEXT_MENU_SPRING)};}'};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/ContextMenu/native/ContextMenuPopout.native.tsx');
exports.ContextMenuPopout = ContextMenuPopout;
}
function ContextMenuDivider() { // fn#97642, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:2461, offset: 0x0218b626, size: 41 bytes, params: 1, frame: 14
const styles = useStyles();
return <View style={styles.divider} />;
}
function renderMenuItems({items, title, state, onPress, dividerIndexes}) { // fn#97643, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:2531, offset: 0x0218b64f, size: 71 bytes, params: 2, frame: 12
return items.map(_fun97644);
}
function ContextMenuBackdrop({onPress, visible}) { // fn#97646, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:3467, offset: 0x0218b84f, size: 334 bytes, params: 2, frame: 21
const styles = useStyles();
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = ContextMenuBackdropN;
const object2 = {};
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.visible = visible;
const CONTEXT_MENU_SPRING = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_SPRING;
object2.CONTEXT_MENU_SPRING = CONTEXT_MENU_SPRING;
closure.__closure = object2;
closure.__workletHash = 6862317967896;
closure.__initData = env0_15;
const value2 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
const Backdrop = (require(4562) /* metro dependency 4562: BackdropNative */).Backdrop;
const items2 = [styles.backdrop, value2];
const isAndroid2 = (require(477) /* metro dependency 477: PlatformUtils */).isAndroid();
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
return (
<Backdrop
blur="none"
style={items2}
accessibleDismissStyle={styles.accessibleDismiss}
onDismiss={onPress}
accessibilityLabel={isAndroid2 ? Reflect.apply(string, intl, [t.hPBScv]) : Reflect.apply(string, intl,
[t.xs0juG])}
/>
);
}
function ContextMenuPopout({menu, transitionState, cleanUp}) { // fn#97648, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:4157, offset: 0x0218b9eb, size: 1316 bytes, params: 2, frame: 39
const x = menu.x;
const positionX = menu.positionX;
const positionY = menu.positionY;
const env0_3 = positionY;
const height = menu.height;
const env0_4 = height;
const items2 = menu.items;
const state = menu.state;
const requestClose = menu.requestClose;
const onClose = menu.onClose;
const title = menu.title;
const keyboardShouldPersistTaps = menu.keyboardShouldPersistTaps;
const r11 = keyboardShouldPersistTaps === undefined ? 'handled' : keyboardShouldPersistTaps;
const dividerIndexes = menu.dividerIndexes;
const y = menu.y;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useSharedValue = reanimatedRexportModule.useSharedValue;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
const MOUNTED = TransitionStates.MOUNTED;
const value4 = Reflect.apply(useSharedValue, reanimatedRexportModule, [transitionState !== MOUNTED ? 0 : 1]);
let binding = env0_4;
binding.useEffect(_fun97649, [transitionState, value4]);
const styles = useStyles();
const {top,
bottom} = (importDefault(5463) /* metro dependency 5463: useSafeAreaInsetsKeyboardAwareNative */)({includeKeyboardHeight: true}).insets;
const value5 = (importDefault(1478) /* metro dependency 1478: useWindowDimensionsNative */)({ignoreKeyboard: (require(477) /* metro dependency 477: PlatformUtils */).isAndroid()});
const width = value5.width;
const height2 = value5.height;
const value6 = positionY === 'below';
const value7 = height2 - y;
const r1 = value6 ? value7 - bottom - (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_EDGE_OFFSET : value7 - top - (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_EDGE_OFFSET;
const value13 = env0_3(env0_4.useState(height >= r1), 2);
const property = value13[0];
const env0_10 = property;
const env0_11 = value13[1];
object = {};
object[value6 ? 'top' : 'bottom'] = y;
object[positionX] = x;
object['maxHeight'] = r1;
const CONTEXT_MENU_EDGE_OFFSET = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_EDGE_OFFSET;
object['maxWidth'] = width - CONTEXT_MENU_EDGE_OFFSET - x;
const moduleValue3 = reanimatedRexportModule;
const useAnimatedStyle = moduleValue3.useAnimatedStyle;
const closure = ContextMenuPopoutW;
const object3 = {maxHeight: r1, height: height};
const CONTEXT_MENU_MIN_WIDTH = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_MIN_WIDTH;
object3.CONTEXT_MENU_MIN_WIDTH = CONTEXT_MENU_MIN_WIDTH;
object3.positionY = positionY;
object3.positionX = positionX;
const CONTEXT_MENU_MIN_SCALE = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_MIN_SCALE;
object3.CONTEXT_MENU_MIN_SCALE = CONTEXT_MENU_MIN_SCALE;
object3.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object3.interpolate = reanimatedRexportModule.interpolate;
object3.visible = value4;
const CONTEXT_MENU_SPRING = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_SPRING;
object3.CONTEXT_MENU_SPRING = CONTEXT_MENU_SPRING;
object3.transitionState = transitionState;
object3.TransitionStates = TransitionStates;
object3.runOnJS = reanimatedRexportModule.runOnJS;
object3.cleanUp = cleanUp;
object3.onClose = onClose;
closure.__closure = object3;
closure.__workletHash = 16778623591634;
closure.__initData = env0_10;
const value16 = Reflect.apply(useAnimatedStyle, moduleValue3, [closure]);
binding = env0_4;
const value17 = binding.useMemo(_fun97652, [state, requestClose, property]);
const value18 = binding.useCallback(_fun97656, [r1]);
const value19 = binding.useCallback(function() {
requestClose(true);
}, [requestClose]);
const value20 = binding.useCallback(function() {
requestClose(false);
}, [requestClose]);
const jsxRuntimeEnv0_7Binding = jsxRuntimeEnv0_7;
const contextMenuBackdrop = <ContextMenuBackdrop onPress={value19} visible={value4} />;
const GestureDetector = (require(5321) /* metro dependency 5321 */).GestureDetector;
const ScrollView = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).ScrollView;
const items7 = [styles.container, object, value16];
object = [title != null ? <><View style={styles.titleContainer}>{((Text) => <Text variant="text-md/bold" color="mobile-text-heading-primary" accessibilityRole="header">{title}</Text>)((require(4573) /* metro dependency 4573: Text */).Text)}</View><ContextMenuDivider /></> : null];
object[1] = renderMenuItems({items: items2, title: title, state: state, onPress: value20,
dividerIndexes: dividerIndexes});
return (
<>
{contextMenuBackdrop}
<GestureDetector gesture={value17}>
<ScrollView
onLayout={value18}
bounces={false}
style={items7}
keyboardShouldPersistTaps={r11}
accessibilityRole="list"
>
{object}
</ScrollView>
</GestureDetector>
</>
);
}
function _fun97644({label, action, iconSource, IconComponent, trailingIndicator, variant, accessibilityRole}, a1) { // fn#97644, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:2624, offset: 0x0218b696, size: 332 bytes, params: 3, frame: 29
var r0;
const value2 = items.length - 1;
const ContextMenuItem = (require(12798) /* metro dependency 12798: ContextMenuItemNative */).ContextMenuItem;
const r16 = a1 === 0 && title == null;
const dividerIndexesBinding = dividerIndexes;
let value = <ContextMenuItem index={a1} label={label} start={r16} end={a1 === value2} lastInSection={dividerIndexesBinding.includes(a1 + 1)} iconSource={iconSource} IconComponent={IconComponent} trailingIndicator={trailingIndicator} state={state} onPress={onPress_97645} variant={variant} accessibilityRole={accessibilityRole} key={'' + label + '-' + a1} />;
if (dividerIndexesBinding.includes(a1)) {
value = <><ContextMenuDivider key={'divider-' + a1} />{value}</>;
r0 = value;
} else {
r0 = value;
}
return r0;
}
function ContextMenuBackdropN() { // fn#97647, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:3562, owner: ContextMenuBackdrop.n, offset: 0x0218b99d, size: 78 bytes, params: 1, frame: 17
let value = environment.__proto__;
value = require(4577) /* metro dependency 4577: spring */;
const withSpring = value.withSpring;
const value3 = visible.get();
const CONTEXT_MENU_SPRING = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_SPRING;
return {opacity: Reflect.apply(withSpring, value, [value3, CONTEXT_MENU_SPRING])};
}
function _fun97649() { // fn#97649, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:4490, offset: 0x0218bf0f, size: 85 bytes, params: 1, frame: 13
const transitionStateBinding = transitionState;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
const YEETED = TransitionStates.YEETED;
if (transitionStateBinding === YEETED) {
env0_8.set(0);
} else {
env0_8.set(1);
}
}
function ContextMenuPopoutW() { // fn#97650, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:4969, owner: ContextMenuPopout.w, offset: 0x0218bf64, size: 755 bytes, params: 1, frame: 32
const Math = global.Math;
const min = Math.min;
const value3 = Reflect.apply(min, Math, [env0_9, height]) / 2;
const CONTEXT_MENU_MIN_WIDTH = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_MIN_WIDTH;
const value5 = CONTEXT_MENU_MIN_WIDTH / 2;
const positionYBinding = positionY;
const value6 = 1;
const r19 = positionYBinding !== 'below' ? value6 : -1;
const r6 = positionX !== 'left' ? value6 : -1;
const object3 = {};
const springModule = require(4577) /* metro dependency 4577: spring */;
let withSpring = springModule.withSpring;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
let interpolate = reanimatedRexportModule.interpolate;
const value10 = Reflect.apply(interpolate, reanimatedRexportModule, [env0_8.get(), [0, 1], [0, 1]]);
const CONTEXT_MENU_SPRING = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_SPRING;
const closure = wT;
const object4 = {};
object4.transitionState = transitionState;
const TransitionStates = (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates;
object4.TransitionStates = TransitionStates;
object4.runOnJS = reanimatedRexportModule.runOnJS;
object4.cleanUp = cleanUp;
object4.onClose = onClose;
closure.__closure = object4;
closure.__workletHash = 4025068986009;
closure.__initData = env1_11;
object3.opacity = Reflect.apply(withSpring, springModule, [value10, CONTEXT_MENU_SPRING, 'respect-motion-settings',
closure]);
const moduleValue3 = springModule;
withSpring = moduleValue3.withSpring;
const moduleValue4 = reanimatedRexportModule;
interpolate = moduleValue4.interpolate;
const value11 = env0_8.get();
const CONTEXT_MENU_MIN_SCALE = (require(8813) /* metro dependency 8813: ContextMenuConstantsNative */).CONTEXT_MENU_MIN_SCALE;
const items3 = [{translateX: Reflect.apply(withSpring, moduleValue3, [Reflect.apply(interpolate, moduleValue4,
[value11, [0, 1], [r6 * value5 + CONTEXT_MENU_MIN_SCALE * -r6 * value5, 0]]), CONTEXT_MENU_SPRING])}];
const moduleValue5 = springModule;
withSpring = moduleValue5.withSpring;
const moduleValue6 = reanimatedRexportModule;
items3[1] = {translateY: Reflect.apply(withSpring, moduleValue5, [moduleValue6.interpolate(env0_8.get(), [0, 1],
[r19 * value3 + CONTEXT_MENU_MIN_SCALE * -r19 * value3, 0]), CONTEXT_MENU_SPRING])};
const moduleValue7 = springModule;
withSpring = moduleValue7.withSpring;
const moduleValue8 = reanimatedRexportModule;
interpolate = moduleValue8.interpolate;
let value = env0_8.get();
value = Reflect.apply(interpolate, moduleValue8, [value, [0, 1], [CONTEXT_MENU_MIN_SCALE, value6]]);
items3[2] = {scale: Reflect.apply(withSpring, moduleValue7, [value, CONTEXT_MENU_SPRING])};
object3.transform = items3;
return object3;
}
function _fun97652() { // fn#97652, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:6349, offset: 0x0218c2dd, size: 188 bytes, params: 1, frame: 18
let value = _fun97653();
const Gesture = (require(5321) /* metro dependency 5321 */).Gesture;
value = Gesture.Pan().enabled(!env0_10).onStart(value).onUpdate(value);
const onEnd = value.onEnd;
const closure = t_97655;
const object2 = {};
object2.state = state;
object2.runOnJS = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS;
object2.requestClose = requestClose;
closure.__closure = object2;
closure.__workletHash = 14495067009140;
closure.__initData = env1_13;
return Reflect.apply(onEnd, value, [closure]);
}
function _fun97656({nativeEvent}) { // fn#97656, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:6887, offset: 0x0218c481, size: 78 bytes, params: 2, frame: 14
const binding = env0_11;
let Math = global.Math;
const value2 = Math.round(nativeEvent.layout.height);
Math = global.Math;
binding(value2 >= Math.round(env0_9));
}
function onPress_97645(a0) { // fn#97645, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:2917, offset: 0x0218b7e2, size: 109 bytes, params: 2, frame: 13
var r1;
let value = environment.__proto__.__proto__;
const isAndroid2 = (require(477) /* metro dependency 477: PlatformUtils */).isAndroid();
if (isAndroid2) {
value = require(4559) /* metro dependency 4559: useIsScreenReaderEnabledNative */;
value = value.getIsScreenReaderEnabled();
r1 = value;
} else {
r1 = isAndroid2;
}
if (r1) {
action();
}
value = environment.__proto__;
if (onPress != null) {
onPress(a0);
}
}
function wT(a0) { // fn#97651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:5209, owner: ContextMenuPopout.w.t, offset: 0x0218c257, size: 134 bytes, params: 2, frame: 16
var r0;
var transitionStateBinding;
var runOnJS;
var value2;
let value = a0;
if (value) {
value = environment.__proto__;
transitionStateBinding = transitionState;
value = environment.__proto__.__proto__;
value = transitionStateBinding === (require(4508) /* metro dependency 4508: TransitionGroup */).TransitionStates.YEETED;
r0 = value;
} else {
r0 = value;
}
if (r0) {
value = environment.__proto__.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
runOnJS = value.runOnJS;
value2 = environment.__proto__;
Reflect.apply(runOnJS, value, [cleanUp])();
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
runOnJS = value.runOnJS;
Reflect.apply(runOnJS, value, [onClose])();
}
}
function _fun97653() { // fn#97653, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:6362, offset: 0x0218c399, size: 92 bytes, params: 1, frame: 14
const closure = update_97654;
const object2 = {};
object2.updateContextMenuState = (require(8812) /* metro dependency 8812: ContextMenuStateNative */).updateContextMenuState;
object2.state = state;
closure.__closure = object2;
closure.__workletHash = 4218299258082;
closure.__initData = env2_12;
return closure;
}
function t_97655() { // fn#97655, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:6685, offset: 0x0218c433, size: 78 bytes, params: 1, frame: 13
const value = environment.__proto__;
const value2 = state.activeIndex.get();
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
reanimatedRexportModule.runOnJS(requestClose)(value2 === -1);
}
function update_97654({absoluteX, absoluteY}) { // fn#97654, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12990:6384, offset: 0x0218c3f5, size: 62 bytes, params: 2, frame: 16
let value = environment.__proto__.__proto__.__proto__;
value = require(8812) /* metro dependency 8812: ContextMenuStateNative */;
value.updateContextMenuState(absoluteX, absoluteY, state);
}
@@ -0,0 +1,151 @@
/* Metro module 8812; source: design/components/ContextMenu/native/ContextMenuState.native.tsx; dependencies: [31, 629, 690, 4017, 4081, 2] */
function _fun68896(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68896, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8997:6, offset: 0x01c611b8, size: 277 bytes, params: 8, frame: 20
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importAll(31) /* metro dependency 31 */;
let value = require(629) /* metro dependency 629 */;
value = value.create(function() {
return {menu: null};
});
object = {code: 'function updateContextMenuState_ContextMenuStateNativeTsx1(absoluteX,absoluteY,state){const{INDEX_BOUNDS_WIDTH_OFFSET,INDEX_BOUNDS_HEIGHT_OFFSET,INDEX_BOUNDS_PAGE_Y_OFFSET,INDEX_BOUNDS_PAGE_X_OFFSET,INDEX_BOUNDS_OFFSET,runOnJS,triggerHapticFeedback,HapticFeedbackTypes}=this.__closure;const{pan:pan,itemMeasurements:itemMeasurements,activeIndex:activeIndex}=state;pan.set(absoluteY);const bounds=itemMeasurements.get();let offset=0;while(offset<bounds.length){const width=bounds[offset+INDEX_BOUNDS_WIDTH_OFFSET];const height=bounds[offset+INDEX_BOUNDS_HEIGHT_OFFSET];const pageY=bounds[offset+INDEX_BOUNDS_PAGE_Y_OFFSET];const pageX=bounds[offset+INDEX_BOUNDS_PAGE_X_OFFSET];const lowerY=pageY;const upperY=pageY+height;const lowerX=pageX;const upperX=pageX+width;if(absoluteY>=lowerY&&absoluteY<=upperY&&absoluteX>=lowerX&&absoluteX<=upperX){const index=offset/INDEX_BOUNDS_OFFSET;if(activeIndex.get()!==index){activeIndex.set(index);runOnJS(triggerHapticFeedback)(HapticFeedbackTypes.IMPACT_LIGHT);}return;}offset+=INDEX_BOUNDS_OFFSET;}activeIndex.set(-1);}'};
const value2 = _fun68898();
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/ContextMenu/native/ContextMenuState.native.tsx');
exports.INDEX_BOUNDS_OFFSET = 4;
exports.INDEX_BOUNDS_PAGE_X_OFFSET = 0;
exports.INDEX_BOUNDS_PAGE_Y_OFFSET = 1;
exports.INDEX_BOUNDS_WIDTH_OFFSET = 2;
exports.INDEX_BOUNDS_HEIGHT_OFFSET = 3;
exports.ContextMenuStore = value;
exports.showContextMenu = showContextMenu;
exports.hideContextMenu = hideContextMenu;
exports.useActiveContextMenu = useActiveContextMenu;
exports.updateContextMenuState = value2;
exports.useContextMenuState = useContextMenuState;
exports.resetContextMenuState = function({activeIndex, pan, itemMeasurements}) {
activeIndex.set(-1);
pan.set(-1);
if (itemMeasurements.get().length > 0) {
itemMeasurements.set([]);
}
};
}
function _fun68898() { // fn#68898, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8997:1226, offset: 0x01c612d8, size: 134 bytes, params: 1, frame: 16
const closure = updateContextMenuState;
const object2 = {'INDEX_BOUNDS_WIDTH_OFFSET': 2, 'INDEX_BOUNDS_HEIGHT_OFFSET': 3, 'INDEX_BOUNDS_PAGE_Y_OFFSET': 1,
'INDEX_BOUNDS_PAGE_X_OFFSET': 0, 'INDEX_BOUNDS_OFFSET': 4};
object2.runOnJS = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS;
object2.triggerHapticFeedback = (require(4081) /* metro dependency 4081: HapticUtilsNative */).triggerHapticFeedback;
const HapticFeedbackTypes = (require(4081) /* metro dependency 4081: HapticUtilsNative */).HapticFeedbackTypes;
object2.HapticFeedbackTypes = HapticFeedbackTypes;
closure.__closure = object2;
closure.__workletHash = 10158111154044;
closure.__initData = env0_4;
return closure;
}
function showContextMenu(a0) { // fn#68900, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8997:2296, offset: 0x01c6146f, size: 54 bytes, params: 2, frame: 12
const env0_0 = a0;
(require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun68901);
}
function hideContextMenu() { // fn#68902, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8997:2392, offset: 0x01c614c7, size: 47 bytes, params: 1, frame: 12
(require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun68903);
}
function useActiveContextMenu() { // fn#68905, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8997:2517, offset: 0x01c61530, size: 25 bytes, params: 1, frame: 11
return env0_3(function(a0) {
return a0.menu;
});
}
function useContextMenuState() { // fn#68907, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8997:2621, offset: 0x01c61554, size: 140 bytes, params: 1, frame: 20
const value2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(-1);
const value3 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue([]);
const value4 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(-1);
return value4.useMemo(_fun68908, [value2, value3, value4]);
}
function updateContextMenuState(a0, a1, {pan, itemMeasurements, activeIndex}) { // fn#68899, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8997:1264, offset: 0x01c6135e, size: 273 bytes, params: 4, frame: 24
var r3;
var property;
var property2;
var property3;
var property4;
var value3;
var runOnJS;
var triggerHapticFeedback;
var HapticFeedbackTypes;
var IMPACT_LIGHT;
pan.set(a1);
let value = itemMeasurements.get();
let length = value.length;
if (0 < length) {
r3 = 0;
reducibleLoop1: while (true) {
property = value[r3 + 2];
property2 = value[r3 + 3];
property3 = value[r3 + 1];
property4 = value[r3 + 0];
if (a1 >= property3) {
reducibleJoin5: while (true) {
if (a1 <= property3 + property2) {
if (a0 >= property4) {
if (a0 <= property4 + property) {
break reducibleLoop1;
}
break reducibleJoin5;
}
break reducibleJoin5;
}
break reducibleJoin5;
}
}
value3 = r3 + 4;
length = value.length;
if (!(value3 < length)) {
activeIndex.set(-1);
return undefined;
}
r3 = value3;
continue reducibleLoop1;
}
value = r3 / 4;
reducibleJoin9: while (true) {
if (activeIndex.get() !== value) {
activeIndex.set(value);
value = environment.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
runOnJS = value.runOnJS;
triggerHapticFeedback = (require(4081) /* metro dependency 4081: HapticUtilsNative */).triggerHapticFeedback;
value = Reflect.apply(runOnJS, value, [triggerHapticFeedback]);
HapticFeedbackTypes = (require(4081) /* metro dependency 4081: HapticUtilsNative */).HapticFeedbackTypes;
IMPACT_LIGHT = HapticFeedbackTypes.IMPACT_LIGHT;
value(IMPACT_LIGHT);
break reducibleJoin9;
}
break reducibleJoin9;
}
} else {
activeIndex.set(-1);
}
}
function _fun68901() { // fn#68901, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8997:2346, offset: 0x01c614a5, size: 34 bytes, params: 1, frame: 12
return env1_3.setState({menu: env0_0});
}
function _fun68903() { // fn#68903, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8997:2441, offset: 0x01c614f6, size: 31 bytes, params: 1, frame: 11
var environment;
let value = environment.__proto__;
env1_3.setState(function(a0) {
var value = a0;
return value.menu == null ? value : {menu: null};
});
}
function _fun68908() { // fn#68908, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8997:2761, offset: 0x01c615e0, size: 34 bytes, params: 1, frame: 3
return {pan: env0_0, itemMeasurements: env0_1, activeIndex: env0_2};
}
@@ -0,0 +1,32 @@
/* Metro module 4555; source: design/components/Dialog/native/Dialog.native.tsx; dependencies: [31, 27, 33, 4556, 2] */
function _fun38743(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38743, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4733:6, offset: 0x010c9205, size: 155 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 env0_3 = (require(27) /* metro dependency 27 */).StyleSheet;
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Dialog/native/Dialog.native.tsx');
exports.Dialog = Dialog_38744;
}
function Dialog_38744(a0) { // fn#38744, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4733:233, offset: 0x010c92a0, size: 184 bytes, params: 2, frame: 22
const dialogKey = a0.dialogKey;
const onDismiss = a0.onDismiss;
const zIndex = a0.zIndex;
const object2 = {'dialogKey': 0, 'onDismiss': 0, 'zIndex': 0};
silentSetPrototypeOf(object2, null, undefined);
const value = copyDataProperties({}, a0, object2, zIndex);
const value3 = env0_2.useId();
const AccessibilityView = (require(4556) /* metro dependency 4556: AccessibilityViewNative */).AccessibilityView;
return (
<AccessibilityView
style={[StyleSheet.absoluteFill, {zIndex: zIndex}]}
accessibilityViewIsModal
onAccessibilityEscape={onDismiss}
nativeID={dialogKey ?? value3}
{...value}
/>
);
}
@@ -0,0 +1,34 @@
/* Metro module 7683; source: design/components/ErrorText/native/ErrorText.native.tsx; dependencies: [31, 33, 3862, 4002, 4572, 7684, 4573, 2] */
function _fun61361(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61361, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7861:6, offset: 0x01b3ce8f, size: 142 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 value = require(33) /* metro dependency 33 */;
const env0_3 = value.jsx;
const env0_4 = value.jsxs;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/ErrorText/native/ErrorText.native.tsx');
exports.ErrorText = ErrorText;
}
function ErrorText({children, style}) { // fn#61362, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7861:234, offset: 0x01b3cf1d, size: 230 bytes, params: 2, frame: 20
env0_2.useEffect(_fun61363, [(require(3862) /* metro dependency 3862: native */).getNodeText(children)]);
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
const CircleErrorIcon = (require(7684) /* metro dependency 7684: CircleErrorIcon */).CircleErrorIcon;
const circleErrorIcon = <CircleErrorIcon size="xs" color="text-feedback-critical" />;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
return (
<Stack
direction="horizontal"
spacing={4}
align="flex-start"
style={style}
>
{circleErrorIcon}
<Text variant="text-xs/medium" color="text-feedback-critical">
{children}
</Text>
</Stack>
);
}
@@ -0,0 +1,78 @@
/* Metro module 8564; source: design/components/ExpressiveGradient/native/ExpressiveGradient.native.tsx; dependencies: [31, 27, 33, 697, 3860, 674, 4589, 2] */
function _fun67823(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67823, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8749:6, offset: 0x01c33107, size: 581 bytes, params: 8, frame: 20
var object8;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
let value = require(27) /* metro dependency 27 */;
const env0_3 = value.View;
const env0_4 = value.StyleSheet;
value = require(33) /* metro dependency 33 */;
const env0_5 = value.jsx;
const env0_6 = value.jsxs;
object8 = {};
const object9 = {};
const EXPRESSIVE_GRADIENT_PURPLE_START = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_PURPLE_START;
object9.start = EXPRESSIVE_GRADIENT_PURPLE_START;
const EXPRESSIVE_GRADIENT_PURPLE_END = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_PURPLE_END;
object9.end = EXPRESSIVE_GRADIENT_PURPLE_END;
object8.purple = object9;
const object10 = {};
const EXPRESSIVE_GRADIENT_BLUE_START = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_BLUE_START;
object10.start = EXPRESSIVE_GRADIENT_BLUE_START;
const EXPRESSIVE_GRADIENT_BLUE_END = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_BLUE_END;
object10.end = EXPRESSIVE_GRADIENT_BLUE_END;
object8.blue = object10;
const object11 = {};
const EXPRESSIVE_GRADIENT_GREEN_START = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_GREEN_START;
object11.start = EXPRESSIVE_GRADIENT_GREEN_START;
const EXPRESSIVE_GRADIENT_GREEN_END = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_GREEN_END;
object11.end = EXPRESSIVE_GRADIENT_GREEN_END;
object8.green = object11;
const object12 = {};
const EXPRESSIVE_GRADIENT_PINK_START = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_PINK_START;
object12.start = EXPRESSIVE_GRADIENT_PINK_START;
const EXPRESSIVE_GRADIENT_PINK_END = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_PINK_END;
object12.end = EXPRESSIVE_GRADIENT_PINK_END;
object8.pink = object12;
const object13 = {};
const EXPRESSIVE_GRADIENT_NITRO_PINK_START = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_NITRO_PINK_START;
object13.start = EXPRESSIVE_GRADIENT_NITRO_PINK_START;
const EXPRESSIVE_GRADIENT_NITRO_PINK_END = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_NITRO_PINK_END;
object13.end = EXPRESSIVE_GRADIENT_NITRO_PINK_END;
object8['nitro-pink'] = object13;
const object14 = {};
const EXPRESSIVE_GRADIENT_NITRO_GREEN_START = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_NITRO_GREEN_START;
object14.start = EXPRESSIVE_GRADIENT_NITRO_GREEN_START;
const EXPRESSIVE_GRADIENT_NITRO_GREEN_END = (importDefault(697) /* metro dependency 697: native */).colors.EXPRESSIVE_GRADIENT_NITRO_GREEN_END;
object14.end = EXPRESSIVE_GRADIENT_NITRO_GREEN_END;
object8['nitro-green'] = object14;
const env0_8 = {'x': 0, 'y': 0.5};
const env0_9 = {'x': 1, 'y': 0.5};
const env0_10 = {'x': 0.5, 'y': 0};
const env0_11 = {'x': 0.5, 'y': 0.5};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/ExpressiveGradient/native/ExpressiveGradient.native.tsx');
exports.ExpressiveGradient = ExpressiveGradient;
}
function ExpressiveGradient({color, offsetBottom, backgroundColor, children, style}) { // fn#67824, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8749:1044, offset: 0x01c3334c, size: 510 bytes, params: 2, frame: 28
color = color === undefined ? 'purple' : color;
offsetBottom = offsetBottom === undefined ? 0 : offsetBottom;
const r6 = typeof color !== 'object' ? env0_7[color ?? 'purple'] : color ?? env0_7[color ?? 'purple'];
const value7 = (require(3860) /* metro dependency 3860: useToken */).useToken(r6.start);
const value8 = (require(3860) /* metro dependency 3860: useToken */).useToken(r6.end);
const value9 = (require(3860) /* metro dependency 3860: useToken */).useToken(backgroundColor);
return (
<View style={[StyleSheet.absoluteFill, style]}>
<View style={[StyleSheet.absoluteFill, offsetBottom > 0 ? {bottom: 100 * offsetBottom + '%'} : undefined]}>
{((Component) => <Component style={StyleSheet.absoluteFillObject} colors={[value7,
value8]} start={env0_8} end={env0_9} pointerEvents="none" />)(importDefault(4589) /* metro dependency 4589 */)}
{((Component) => <Component style={StyleSheet.absoluteFillObject} colors={[(importDefault(674) /* metro dependency 674 */)(value9).alpha(0).css(),
value9]} start={env0_10} end={env0_11} pointerEvents="none" />)(importDefault(4589) /* metro dependency 4589 */)}
</View>
{children}
</View>
);
}
@@ -0,0 +1,131 @@
/* Metro module 7974; source: design/components/Forms/native/FormCheckbox.native.tsx; dependencies: [31, 33, 4501, 697, 4017, 4580, 1357, 3875, 6810, 4577, 4581, 2] */
function _fun63460(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63460, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8152:6, offset: 0x01b80990, size: 559 bytes, params: 8, frame: 22
var object5;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = createStylesModule.createStyles;
object5 = {};
const object6 = {'width': null, 'height': null, 'flexGrow': 0, 'flexShrink': 0, 'alignItems': 'center',
'justifyContent': 'center'};
let CONTROL_CHECKBOX_SIZE_DEFAULT = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_CHECKBOX_SIZE_DEFAULT;
object6.width = CONTROL_CHECKBOX_SIZE_DEFAULT;
CONTROL_CHECKBOX_SIZE_DEFAULT = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_CHECKBOX_SIZE_DEFAULT;
object6.height = CONTROL_CHECKBOX_SIZE_DEFAULT;
const CONTROL_CHECKBOX_BORDER_RADIUS = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_CHECKBOX_BORDER_RADIUS;
object6.borderRadius = CONTROL_CHECKBOX_BORDER_RADIUS;
const CONTROL_CHECKBOX_BORDER_WIDTH = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_CHECKBOX_BORDER_WIDTH;
object6.borderWidth = CONTROL_CHECKBOX_BORDER_WIDTH;
let CHECKBOX_BORDER_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CHECKBOX_BORDER_DEFAULT;
object6.borderColor = CHECKBOX_BORDER_DEFAULT;
object5.checkbox = object6;
const object7 = {};
const CHECKBOX_BACKGROUND_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CHECKBOX_BACKGROUND_DEFAULT;
object7.backgroundColor = CHECKBOX_BACKGROUND_DEFAULT;
CHECKBOX_BORDER_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CHECKBOX_BORDER_DEFAULT;
object7.borderColor = CHECKBOX_BORDER_DEFAULT;
object5.unselected = object7;
const object8 = {};
const CHECKBOX_BORDER_SELECTED_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CHECKBOX_BORDER_SELECTED_DEFAULT;
object8.borderColor = CHECKBOX_BORDER_SELECTED_DEFAULT;
const CHECKBOX_BACKGROUND_SELECTED_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.CHECKBOX_BACKGROUND_SELECTED_DEFAULT;
object8.backgroundColor = CHECKBOX_BACKGROUND_SELECTED_DEFAULT;
object5.selected = object8;
const CHECKBOX_ICON_ACTIVE = (importDefault(697) /* metro dependency 697: native */).colors.CHECKBOX_ICON_ACTIVE;
object5.checkmark = {tintColor: CHECKBOX_ICON_ACTIVE};
const env0_5 = Reflect.apply(createStyles, createStylesModule, [object5]);
const env0_6 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(importDefault(4580) /* metro dependency 4580: Icon */);
object5 = {code: "function FormCheckboxNativeTsx1(){const{withSpring,checked,selected,unselected,SUBTLE_SPRING}=this.__closure;const defaultAnimation={borderColor:withSpring(checked?selected.borderColor:unselected.borderColor,SUBTLE_SPRING,'animate-always'),backgroundColor:withSpring(checked?selected.backgroundColor:unselected.backgroundColor,SUBTLE_SPRING,'animate-always')};return defaultAnimation;}"};
object5 = {code: "function FormCheckboxNativeTsx2(){const{useReducedMotion,withSpring,checked,SUBTLE_SPRING}=this.__closure;const uncheckedScale=useReducedMotion?1:0.5;return{opacity:withSpring(checked?1:0,SUBTLE_SPRING,'animate-always'),transform:[{scale:withSpring(checked?1:uncheckedScale,SUBTLE_SPRING)}]};}"};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Forms/native/FormCheckbox.native.tsx');
exports.FormCheckbox = FormCheckbox_63461;
}
function FormCheckbox_63461({checked}) { // fn#63461, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8152:1704, offset: 0x01b80bbf, size: 276 bytes, params: 2, frame: 22
const value2 = (importDefault(1357) /* metro dependency 1357: MobileVisualRefreshExperiment */)('FormCheckbox');
const styles = useStyles();
let binding = env0_3;
const useContext = binding.useContext;
const AccessibilityPreferencesContext = (require(3875) /* metro dependency 3875: AccessibilityPreferencesContext */).AccessibilityPreferencesContext;
const enabled = Reflect.apply(useContext, binding, [AccessibilityPreferencesContext]).reducedMotion.enabled;
const value3 = useCheckboxStyles(checked);
const value4 = useCheckmarkStyles(enabled, checked);
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const items2 = [styles.checkbox, value3];
binding = env0_6;
const object = {source: importDefault(6810) /* metro dependency 6810 */};
const Sizes = (importDefault(4580) /* metro dependency 4580: Icon */).Sizes;
object.size = value2 ? Sizes.SMALL_20 : Sizes.SMALL;
object.style = [styles.checkmark, value4];
return (
<View style={items2}>
{((Component) => <Component {...object} />)(binding)}
</View>
);
}
function useCheckboxStyles(a0) { // fn#63462, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8152:1855, owner: FormCheckbox_63461.useCheckboxStyles, offset: 0x01b80cd3, size: 173 bytes, params: 2, frame: 20
const env0_0 = a0;
const {selected, unselected} = useStyles();
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = useCheckboxStyles_;
const object2 = {};
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.checked = a0;
object2.selected = selected;
object2.unselected = unselected;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.SUBTLE_SPRING = SUBTLE_SPRING;
closure.__closure = object2;
closure.__workletHash = 11278373524374;
closure.__initData = env1_7;
return Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
}
function useCheckmarkStyles(a0, a1) { // fn#63464, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8152:2370, owner: FormCheckbox_63461.useCheckmarkStyles, offset: 0x01b80e39, size: 147 bytes, params: 3, frame: 18
const env0_0 = a0;
const env0_1 = a1;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = useCheckmarkStylesC;
const object2 = {useReducedMotion: a0};
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.checked = a1;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.SUBTLE_SPRING = SUBTLE_SPRING;
closure.__closure = object2;
closure.__workletHash = 13939484082835;
closure.__initData = env1_8;
return Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
}
function useCheckboxStyles_() { // fn#63463, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8152:1958, owner: FormCheckbox_63461.useCheckboxStyles._, offset: 0x01b80d80, size: 185 bytes, params: 1, frame: 23
const object2 = {};
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const borderColor = env0_0 ? selected.borderColor : unselected.borderColor;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.borderColor = Reflect.apply(withSpring, springModule, [borderColor, SUBTLE_SPRING, 'animate-always']);
const moduleValue2 = springModule;
object2.backgroundColor = moduleValue2.withSpring(env0_0 ? selected.backgroundColor : unselected.backgroundColor,
SUBTLE_SPRING, 'animate-always');
return object2;
}
function useCheckmarkStylesC() { // fn#63465, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8152:2438, owner: FormCheckbox_63461.useCheckmarkStyles.c, offset: 0x01b80ecc, size: 187 bytes, params: 1, frame: 24
const r6 = env0_0 ? 1 : 0.5;
const object2 = {};
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const r11 = require ? 1 : 0;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.opacity = Reflect.apply(withSpring, springModule, [r11, SUBTLE_SPRING, 'animate-always']);
const moduleValue2 = springModule;
object2.transform = [{scale: moduleValue2.withSpring(require ? 1 : r6, SUBTLE_SPRING)}];
return object2;
}
@@ -0,0 +1,159 @@
/* Metro module 7989; source: design/components/Forms/native/FormRadio.native.tsx; dependencies: [31, 33, 4501, 697, 3875, 4017, 4577, 4581, 2] */
function _fun63538(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63538, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8167:6, offset: 0x01b8466e, size: 235 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
const env0_5 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun63539);
object = {code: "function FormRadioNativeTsx1(){const{withSpring,selectedShared,selectedStyles,unselectedStyles,SUBTLE_SPRING}=this.__closure;return withSpring(selectedShared.get()?selectedStyles.borderColor:unselectedStyles.borderColor,SUBTLE_SPRING,'animate-always');}"};
object = {code: "function FormRadioNativeTsx2(){const{withSpring,selectedShared,selectedStyles,unselectedStyles,SUBTLE_SPRING}=this.__closure;return withSpring(selectedShared.get()?selectedStyles.backgroundColor:unselectedStyles.backgroundColor,SUBTLE_SPRING,'animate-always');}"};
object = {code: 'function FormRadioNativeTsx3(){const{borderColor,backgroundColor}=this.__closure;return{borderColor:borderColor.get(),backgroundColor:backgroundColor.get()};}'};
object = {code: "function FormRadioNativeTsx4(){const{useReducedMotion,withSpring,selected,SUBTLE_SPRING}=this.__closure;const unselectedScale=useReducedMotion?1:0.5;return{opacity:withSpring(selected?1:0,SUBTLE_SPRING,'animate-always'),transform:[{scale:withSpring(selected?1:unselectedScale,SUBTLE_SPRING)}]};}"};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Forms/native/FormRadio.native.tsx');
exports.FormRadio = FormRadio_63540;
}
function _fun63539() { // fn#63539, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8167:144, offset: 0x01b84759, size: 343 bytes, params: 1, frame: 17
const CONTROL_RADIO_ICON_SIZE_DEFAULT = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_RADIO_ICON_SIZE_DEFAULT;
const CONTROL_RADIO_ICON_DOT_SIZE_DEFAULT = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_RADIO_ICON_DOT_SIZE_DEFAULT;
const object3 = {};
const object6 = {'width': null, 'height': null, 'flexGrow': 0, 'flexShrink': 0, 'alignItems': 'center',
'justifyContent': 'center'};
object6.width = CONTROL_RADIO_ICON_SIZE_DEFAULT;
object6.height = CONTROL_RADIO_ICON_SIZE_DEFAULT;
object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
const CONTROL_RADIO_ICON_BORDER_WIDTH = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_RADIO_ICON_BORDER_WIDTH;
object6.borderWidth = CONTROL_RADIO_ICON_BORDER_WIDTH;
let RADIO_BORDER_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.RADIO_BORDER_DEFAULT;
object6.borderColor = RADIO_BORDER_DEFAULT;
object3.radio = object6;
RADIO_BORDER_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.RADIO_BORDER_DEFAULT;
object3.unselected = {backgroundColor: 'transparent', borderColor: RADIO_BORDER_DEFAULT};
const object7 = {};
let REDESIGN_INPUT_CONTROL_SELECTED = (importDefault(697) /* metro dependency 697: native */).colors.REDESIGN_INPUT_CONTROL_SELECTED;
object7.borderColor = REDESIGN_INPUT_CONTROL_SELECTED;
REDESIGN_INPUT_CONTROL_SELECTED = (importDefault(697) /* metro dependency 697: native */).colors.REDESIGN_INPUT_CONTROL_SELECTED;
object7.backgroundColor = REDESIGN_INPUT_CONTROL_SELECTED;
object3.selected = object7;
const object8 = {width: CONTROL_RADIO_ICON_DOT_SIZE_DEFAULT, height: CONTROL_RADIO_ICON_DOT_SIZE_DEFAULT};
const WHITE = (importDefault(697) /* metro dependency 697: native */).colors.WHITE;
object8.backgroundColor = WHITE;
object8.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
object3.dot = object8;
return object3;
}
function FormRadio_63540({selected}) { // fn#63540, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8167:1960, offset: 0x01b848b0, size: 202 bytes, params: 2, frame: 21
const styles = useStyles();
const binding = env0_3;
const useContext = binding.useContext;
const AccessibilityPreferencesContext = (require(3875) /* metro dependency 3875: AccessibilityPreferencesContext */).AccessibilityPreferencesContext;
const enabled = Reflect.apply(useContext, binding, [AccessibilityPreferencesContext]).reducedMotion.enabled;
const value2 = useRadioStyles(selected);
const value3 = useRadioDotStyles(enabled, selected);
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const items2 = [styles.radio, value2];
const View2 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
return (
<View style={items2}>
<View2 style={[styles.dot, value3]} />
</View>
);
}
function useRadioStyles(a0) { // fn#63541, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8167:2083, owner: FormRadio_63540.useRadioStyles, offset: 0x01b8497a, size: 417 bytes, params: 2, frame: 25
var object2;
const env0_0 = a0;
const {selected, unselected} = useStyles();
const value2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(a0);
env1_3.useEffect(_fun63542, [a0, value2]);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
let useDerivedValue = reanimatedRexportModule.useDerivedValue;
let closure = useRadioStylesT;
object2 = {};
const withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.withSpring = withSpring;
object2.selectedShared = value2;
object2.selectedStyles = selected;
object2.unselectedStyles = unselected;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.SUBTLE_SPRING = SUBTLE_SPRING;
closure.__closure = object2;
closure.__workletHash = 12275577765341;
closure.__initData = env1_6;
const value3 = Reflect.apply(useDerivedValue, reanimatedRexportModule, [closure]);
const moduleValue3 = reanimatedRexportModule;
useDerivedValue = moduleValue3.useDerivedValue;
closure = useRadioStylesC;
closure.__closure = {withSpring: withSpring, selectedShared: value2, selectedStyles: selected,
unselectedStyles: unselected, SUBTLE_SPRING: SUBTLE_SPRING};
closure.__workletHash = 7732795836606;
closure.__initData = env1_7;
const value4 = Reflect.apply(useDerivedValue, moduleValue3, [closure]);
const moduleValue4 = reanimatedRexportModule;
const useAnimatedStyle = moduleValue4.useAnimatedStyle;
closure = useRadioStylesB;
closure.__closure = {borderColor: value3, backgroundColor: value4};
closure.__workletHash = 5670342272321;
closure.__initData = env1_8;
return Reflect.apply(useAnimatedStyle, moduleValue4, [closure]);
}
function useRadioDotStyles(a0, a1) { // fn#63546, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8167:3050, owner: FormRadio_63540.useRadioDotStyles, offset: 0x01b84c23, size: 147 bytes, params: 3, frame: 18
const env0_0 = a0;
const env0_1 = a1;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = useRadioDotStylesS;
const object2 = {useReducedMotion: a0};
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.selected = a1;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.SUBTLE_SPRING = SUBTLE_SPRING;
closure.__closure = object2;
closure.__workletHash = 15209729079449;
closure.__initData = env1_9;
return Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
}
function useRadioStylesT() { // fn#63543, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8167:2245, owner: FormRadio_63540.useRadioStyles.T, offset: 0x01b84b1b, size: 112 bytes, params: 1, frame: 17
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const binding = env0_3;
const get = binding.get;
const borderColor = Reflect.apply(get, binding, []) ? selected.borderColor : unselected.borderColor;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
return Reflect.apply(withSpring, springModule, [borderColor, SUBTLE_SPRING, 'animate-always']);
}
function useRadioStylesC() { // fn#63544, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8167:2555, owner: FormRadio_63540.useRadioStyles.C, offset: 0x01b84b8b, size: 110 bytes, params: 1, frame: 17
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const binding = env0_3;
const get = binding.get;
const backgroundColor = Reflect.apply(get, binding, []) ? selected.backgroundColor : unselected.backgroundColor;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
return Reflect.apply(withSpring, springModule, [backgroundColor, SUBTLE_SPRING, 'animate-always']);
}
function useRadioStylesB() { // fn#63545, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8167:2891, owner: FormRadio_63540.useRadioStyles.b, offset: 0x01b84bf9, size: 42 bytes, params: 1, frame: 11
const object2 = {};
object2.borderColor = env0_4.get();
object2.backgroundColor = env0_5.get();
return object2;
}
function useRadioDotStylesS() { // fn#63547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8167:3117, owner: FormRadio_63540.useRadioDotStyles.s, offset: 0x01b84cb6, size: 187 bytes, params: 1, frame: 24
const r6 = env0_0 ? 1 : 0.5;
const object2 = {};
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const r11 = require ? 1 : 0;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.opacity = Reflect.apply(withSpring, springModule, [r11, SUBTLE_SPRING, 'animate-always']);
const moduleValue2 = springModule;
object2.transform = [{scale: moduleValue2.withSpring(require ? 1 : r6, SUBTLE_SPRING)}];
return object2;
}
@@ -0,0 +1,261 @@
/* Metro module 6809; source: design/components/Forms/native/FormSwitch.native.tsx; dependencies: [57, 31, 27, 33, 4017, 4501, 697, 4580, 3875, 1357, 4577, 4581, 3860, 6810, 6811, 4081, 4082, 2] */
function _fun53566(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53566, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6987:6, offset: 0x0134f321, size: 702 bytes, params: 8, frame: 25
var object4;
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 Pressable = (require(27) /* metro dependency 27 */).Pressable;
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
const env0_6 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(Pressable);
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object4 = {};
const object7 = {};
const CONTROL_SWITCH_WIDTH = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_SWITCH_WIDTH;
object7.width = CONTROL_SWITCH_WIDTH;
const CONTROL_SWITCH_HEIGHT = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_SWITCH_HEIGHT;
object7.height = CONTROL_SWITCH_HEIGHT;
const PX_4 = (importDefault(697) /* metro dependency 697: native */).space.PX_4;
object7.padding = PX_4 - 1;
object7.flexGrow = 0;
object7.flexShrink = 0;
object7.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object7.borderWidth = 1;
object4.switch = object7;
const object8 = {};
const SWITCH_BACKGROUND_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.SWITCH_BACKGROUND_DEFAULT;
object8.tintColor = SWITCH_BACKGROUND_DEFAULT;
const SWITCH_BORDER_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.SWITCH_BORDER_DEFAULT;
object8.borderColor = SWITCH_BORDER_DEFAULT;
object4.unselectedBackground = object8;
const ICON_OVERLAY_DARK = (importDefault(697) /* metro dependency 697: native */).colors.ICON_OVERLAY_DARK;
object4.unselectedIcon = {tintColor: ICON_OVERLAY_DARK};
const object9 = {};
const SWITCH_BACKGROUND_SELECTED_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.SWITCH_BACKGROUND_SELECTED_DEFAULT;
object9.tintColor = SWITCH_BACKGROUND_SELECTED_DEFAULT;
const SWITCH_BORDER_SELECTED_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.SWITCH_BORDER_SELECTED_DEFAULT;
object9.borderColor = SWITCH_BORDER_SELECTED_DEFAULT;
object4.selected = object9;
const object10 = {};
let CONTROL_SWITCH_KNOB_SIZE = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_SWITCH_KNOB_SIZE;
object10.height = CONTROL_SWITCH_KNOB_SIZE;
CONTROL_SWITCH_KNOB_SIZE = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_SWITCH_KNOB_SIZE;
object10.width = CONTROL_SWITCH_KNOB_SIZE;
object10.alignItems = 'center';
object10.justifyContent = 'center';
object10.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
object4.knob = object10;
const env0_7 = Reflect.apply(createStyles, value, [object4]);
const env0_8 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(importDefault(4580) /* metro dependency 4580: Icon */);
object4 = {code: "function FormSwitchNativeTsx1(){const{withSpring,checked,selected,unselectedBackground,SUBTLE_SPRING}=this.__closure;return{backgroundColor:withSpring(checked?selected.tintColor:unselectedBackground.tintColor,SUBTLE_SPRING,'animate-always'),borderColor:withSpring(checked?selected.borderColor:unselectedBackground.borderColor,SUBTLE_SPRING,'animate-always')};}"};
object4 = {code: "function FormSwitchNativeTsx2(){const{withSpring,checked,knobCheckedLeft,SUBTLE_SPRING,knobSelectedBackgroundColor,knobBackgroundColor}=this.__closure;return{left:withSpring(checked?knobCheckedLeft:0,SUBTLE_SPRING,'animate-always'),backgroundColor:withSpring(checked?knobSelectedBackgroundColor:knobBackgroundColor,SUBTLE_SPRING,'animate-always')};}"};
object4 = {code: "function FormSwitchNativeTsx3(){const{useReducedMotion,checked,on,off,withSpring,SUBTLE_SPRING}=this.__closure;const scale=useReducedMotion?1:checked?on:off;return{opacity:withSpring(checked?on:off,SUBTLE_SPRING,'animate-always'),transform:[{scale:withSpring(scale,SUBTLE_SPRING)}]};}"};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Forms/native/FormSwitch.native.tsx');
exports.FormSwitch = FormSwitch;
}
function FormSwitch(a0) { // fn#53567, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6987:2098, offset: 0x0134f5df, size: 1014 bytes, params: 2, frame: 36
var object2;
var r6;
var Sizes;
const closure = useIconAnimation;
const disabled = a0.disabled;
let value = a0.value;
const env0_1 = a0.onValueChange;
const accessibilityLabel = a0.accessibilityLabel;
const accessibilityHint = a0.accessibilityHint;
const property = a0['aria-hidden'];
let binding = env0_4;
const useContext = binding.useContext;
const AccessibilityPreferencesContext = (require(3875) /* metro dependency 3875: AccessibilityPreferencesContext */).AccessibilityPreferencesContext;
const value3 = Reflect.apply(useContext, binding, [AccessibilityPreferencesContext]);
const env0_2 = value3.reducedMotion.enabled;
const switchIconsEnabled = value3.switchIconsEnabled;
var [property2, env0_4] = env0_3(binding.useState(value), 2);
binding.useEffect(_fun53570, [value]);
value = importDefault(1357) /* metro dependency 1357: MobileVisualRefreshExperiment */;
value = value('FormSwitch');
const styles = useStyles();
const selected = styles.selected;
const env0_6 = selected;
const unselectedBackground = styles.unselectedBackground;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
let useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure2 = FormSwitchU;
object2 = {withSpring: (require(4577) /* metro dependency 4577: spring */).withSpring, checked: property2,
selected: selected, unselectedBackground: unselectedBackground};
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.SUBTLE_SPRING = SUBTLE_SPRING;
closure2.__closure = object2;
closure2.__workletHash = 2232234503354;
closure2.__initData = env0_9;
const value6 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure2]);
const useTokenModule = require(3860) /* metro dependency 3860: useToken */;
let useToken = useTokenModule.useToken;
const CONTROL_SWITCH_KNOB_CHECKED_OFFSET = (importDefault(697) /* metro dependency 697: native */).modules.mobile.CONTROL_SWITCH_KNOB_CHECKED_OFFSET;
const value7 = Reflect.apply(useToken, useTokenModule, [CONTROL_SWITCH_KNOB_CHECKED_OFFSET]);
const env0_8 = value7;
const moduleValue3 = useTokenModule;
useToken = moduleValue3.useToken;
const SWITCH_THUMB_BACKGROUND_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.SWITCH_THUMB_BACKGROUND_DEFAULT;
const value8 = Reflect.apply(useToken, moduleValue3, [SWITCH_THUMB_BACKGROUND_DEFAULT]);
const moduleValue4 = useTokenModule;
useToken = moduleValue4.useToken;
const SWITCH_THUMB_BACKGROUND_SELECTED_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.SWITCH_THUMB_BACKGROUND_SELECTED_DEFAULT;
const value9 = Reflect.apply(useToken, moduleValue4, [SWITCH_THUMB_BACKGROUND_SELECTED_DEFAULT]);
const env0_10 = value9;
const moduleValue5 = reanimatedRexportModule;
useAnimatedStyle = moduleValue5.useAnimatedStyle;
const closure3 = FormSwitchF;
object2 = {withSpring: (require(4577) /* metro dependency 4577: spring */).withSpring, checked: property2,
knobCheckedLeft: value7};
object2.SUBTLE_SPRING = SUBTLE_SPRING;
object2.knobSelectedBackgroundColor = value9;
object2.knobBackgroundColor = value8;
closure3.__closure = object2;
closure3.__workletHash = 3687946563898;
closure3.__initData = env0_10;
const value10 = Reflect.apply(useAnimatedStyle, moduleValue5, [closure3]);
if (value && !switchIconsEnabled) {
r6 = null;
} else {
binding = env0_8;
object2 = {};
if (property2) {
object2.source = importDefault(6810) /* metro dependency 6810 */;
Sizes = (importDefault(4580) /* metro dependency 4580: Icon */).Sizes;
object2.size = value ? Sizes.SMALL_20 : Sizes.SMALL;
object2.style = [styles.selected, closure(1, 0)];
} else {
object2.source = importDefault(6811) /* metro dependency 6811 */;
object2.size = (importDefault(4580) /* metro dependency 4580: Icon */).Sizes.SMALL;
object2.style = [styles.unselectedIcon, closure(0, 1)];
}
value = ((Component) => <Component {...object2} />)(binding);
r6 = value;
}
binding = env0_6;
object2 = {style: [styles.switch, value6], onPress: onPress_53573, disabled: disabled, accessible: true};
object2['aria-hidden'] = property;
object2.accessibilityRole = 'switch';
object2.accessibilityLabel = accessibilityLabel;
object2.accessibilityHint = accessibilityHint;
object2.accessibilityState = {disabled: disabled, checked: property2};
object2.onAccessibilityTap = onAccessibilityTap;
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
return ((Component) => <Component {...object2}><View style={[styles.knob,
value10]}>{r6}</View></Component>)(binding);
}
function useIconAnimation(a0, a1) { // fn#53568, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6987:3527, owner: FormSwitch.useIconAnimation, offset: 0x0134f9d5, size: 168 bytes, params: 3, frame: 20
const env0_0 = a0;
const env0_1 = a1;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = useIconAnimationN;
const object2 = {};
object2.useReducedMotion = enabled;
object2.checked = env0_3;
object2.on = a0;
object2.off = a1;
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.SUBTLE_SPRING = SUBTLE_SPRING;
closure.__closure = object2;
closure.__workletHash = 14329332652102;
closure.__initData = env1_11;
return Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
}
function FormSwitchU() { // fn#53571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6987:2511, owner: FormSwitch.U, offset: 0x0134fb4c, size: 187 bytes, params: 1, frame: 23
const object2 = {};
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const tintColor = env0_3 ? selected.tintColor : unselectedBackground.tintColor;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.backgroundColor = Reflect.apply(withSpring, springModule, [tintColor, SUBTLE_SPRING, 'animate-always']);
const moduleValue2 = springModule;
object2.borderColor = moduleValue2.withSpring(env0_3 ? selected.borderColor : unselectedBackground.borderColor,
SUBTLE_SPRING, 'animate-always');
return object2;
}
function FormSwitchF() { // fn#53572, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6987:3154, owner: FormSwitch.f, offset: 0x0134fc07, size: 158 bytes, params: 1, frame: 23
const object2 = {};
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const r10 = env0_3 ? env0_8 : 0;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object2.left = Reflect.apply(withSpring, springModule, [r10, SUBTLE_SPRING, 'animate-always']);
const moduleValue2 = springModule;
object2.backgroundColor = moduleValue2.withSpring(env0_3 ? env0_10 : env0_9, SUBTLE_SPRING, 'animate-always');
return object2;
}
function FormSwitchOnPress() { // fn#53573, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6987:4222, owner: FormSwitch.onPress, offset: 0x0134fca5, size: 120 bytes, params: 1, frame: 16
var valueBinding;
var value3;
var moduleValue;
var triggerHapticFeedback;
var defaultImport;
if (env0_5) {
valueBinding = value;
value3 = environment.__proto__;
moduleValue = require(4081) /* metro dependency 4081: HapticUtilsNative */;
triggerHapticFeedback = moduleValue.triggerHapticFeedback;
defaultImport = importDefault(4082) /* metro dependency 4082: HapticFeedbackTypes */;
if (valueBinding) {
Reflect.apply(triggerHapticFeedback, moduleValue, [defaultImport.TOGGLE_OFF]);
} else {
Reflect.apply(triggerHapticFeedback, moduleValue, [defaultImport.TOGGLE_ON]);
}
}
if (onValueChange != null) {
onValueChange(!value);
}
}
function FormSwitchOnAccessibilityTap() { // fn#53574, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6987:4523, owner: FormSwitch.onAccessibilityTap, offset: 0x0134fd1d, size: 128 bytes, params: 1, frame: 16
var environment;
var valueBinding;
var value3;
var moduleValue;
var triggerHapticFeedback;
var defaultImport;
if (env0_5) {
valueBinding = value;
value3 = environment.__proto__;
moduleValue = require(4081) /* metro dependency 4081: HapticUtilsNative */;
triggerHapticFeedback = moduleValue.triggerHapticFeedback;
defaultImport = importDefault(4082) /* metro dependency 4082: HapticFeedbackTypes */;
if (valueBinding) {
Reflect.apply(triggerHapticFeedback, moduleValue, [defaultImport.TOGGLE_OFF]);
} else {
Reflect.apply(triggerHapticFeedback, moduleValue, [defaultImport.TOGGLE_ON]);
}
}
env0_4(!value);
global.setTimeout(function() {
if (onValueChange != null) {
onValueChange(!value);
}
});
}
function useIconAnimationN() { // fn#53569, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6987:3594, owner: FormSwitch.useIconAnimation.n, offset: 0x0134fa7d, size: 187 bytes, params: 1, frame: 22
const value = environment.__proto__;
const r5 = enabled ? 1 : env1_3 ? env0_0 : require;
const object3 = {};
const springModule = require(4577) /* metro dependency 4577: spring */;
const withSpring = springModule.withSpring;
const r9 = env1_3 ? env0_0 : require;
const SUBTLE_SPRING = (require(4581) /* metro dependency 4581: springPresets */).SUBTLE_SPRING;
object3.opacity = Reflect.apply(withSpring, springModule, [r9, SUBTLE_SPRING, 'animate-always']);
const object4 = {};
object4.scale = springModule.withSpring(r5, SUBTLE_SPRING);
object3.transform = [object4];
return object3;
}
@@ -0,0 +1,42 @@
/* Metro module 8553; source: design/components/Graphic/native/Graphic.native.tsx; dependencies: [31, 27, 33, 4501, 5475, 3868, 2] */
function _fun67794(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67794, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8738:6, offset: 0x01c31609, size: 253 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(27) /* metro dependency 27 */).View;
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
const env0_5 = {'21/9': 2.3333333333333335, '16/9': 1.7777777777777777, '6/4': 1.5, '2/1': 2, '1/1': 1};
const env0_6 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({container: {'width': '100%',
'justifyContent': 'center', 'alignItems': 'center', 'overflow': 'hidden'}, image: {'width': '100%',
'height': '100%'}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Graphic/native/Graphic.native.tsx');
exports.Graphic = Graphic;
}
function ImageGraphic({src}) { // fn#67795, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8738:363, offset: 0x01c31706, size: 85 bytes, params: 2, frame: 16
const styles = useStyles();
return ((Component) => <Component source={src} style={styles.image} resizeMode="contain" accessibilityElementsHidden />)(importDefault(5475) /* metro dependency 5475: FastImage */);
}
function Graphic(a0) { // fn#67796, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8738:594, offset: 0x01c3175b, size: 185 bytes, params: 2, frame: 22
let aspectRatio = a0.aspectRatio;
aspectRatio = aspectRatio === undefined ? '16/9' : aspectRatio;
const style = a0.style;
const value = null;
const value2 = Object.create(value);
value2.aspectRatio = 0;
value2.style = 0;
const value3 = copyDataProperties({}, a0, value2, aspectRatio);
const styles = useStyles();
const items2 = [styles.container];
items2[1] = {aspectRatio: env0_5[aspectRatio]};
items2[2] = style;
const nativeModule = require(3868) /* metro dependency 3868: native */;
return (
<View style={items2}>
{nativeModule.isImage(value3) ? <ImageGraphic {...value3} /> : value}
</View>
);
}
@@ -0,0 +1,9 @@
/* Metro module 6817; source: design/components/Icon/IconSize.tsx; dependencies: [2] */
function _fun53591(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53591, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6995:6, offset: 0x013509eb, size: 98 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/IconSize.tsx');
exports.ICON_SIZE = {'xxs': 12, 'xs': 16, 'sm': 18, 'md': 24, 'lg': 32, 'custom': null, 'refresh_sm': 20,
custom: undefined};
}
@@ -0,0 +1,34 @@
/* Metro module 3859; source: design/components/Icon/native/BaseIconImage.tsx; dependencies: [31, 27, 33, 3860, 2] */
function _fun31970(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#31970, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3998:6, offset: 0x0100898c, size: 286 bytes, params: 8, frame: 18
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_2 = (require(27) /* metro dependency 27 */).Image;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
object2 = {xxs: {'width': 12, 'height': 12}, xs: {'width': 16, 'height': 16}, sm: {'width': 18, 'height': 18},
md: {'width': 24, 'height': 24}, lg: {'width': 32, 'height': 32}};
object2.custom = {width: undefined, height: undefined};
object2.refresh_sm = {'width': 18, 'height': 18};
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/BaseIconImage.tsx');
exports.BaseIconImage = BaseIconImage;
}
function BaseIconImage({source, size, color, resizeMode, style, accessible, accessibilityLabel}) { // fn#31971, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3998:424, offset: 0x01008aaa, size: 202 bytes, params: 2, frame: 22
size = size === undefined ? 'md' : size;
const value4 = (require(3860) /* metro dependency 3860: useToken */).useToken(color);
return (
<Image
fadeDuration={0}
source={source}
resizeMode={resizeMode}
style={[env0_4[size],
value4 != null ? {tintColor: value4} : color != null && typeof color === 'string' ? {tintColor: color} : undefined,
style]}
accessible={accessible}
accessibilityLabel={accessibilityLabel}
/>
);
}
@@ -0,0 +1,15 @@
/* Metro module 7599; source: design/components/Icon/native/ClipView.tsx; dependencies: [27, 4020, 7600, 4017, 2] */
function _fun60925(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60925, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7777:6, offset: 0x0171539d, size: 208 bytes, params: 8, frame: 19
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const requireNativeComponent = (require(27) /* metro dependency 27 */).requireNativeComponent;
let value = require(4020) /* metro dependency 4020: FabricUtils */;
const r4 = value.isFabric() ? importDefault(7600) /* metro dependency 7600: ClipViewNativeComponent */ : requireNativeComponent('ClipView');
value = importDefault(4017) /* metro dependency 4017: ReanimatedRexport */;
value = value.createAnimatedComponent(r4);
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/ClipView.tsx');
exports.default = r4;
exports.ClipViewAnimated = value;
exports.CutoutShape = {Circle: 'circle', RoundedRect: 'rounded-rect'};
}
@@ -0,0 +1,11 @@
/* Metro module 13783; source: design/components/Icon/native/redesign/generated/AccessibilityIcon.tsx; dependencies: [31, 33, 697, 3859, 13784, 2] */
function _fun105156(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#105156, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13980:6, offset: 0x022ae9b7, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AccessibilityIcon.tsx');
exports.AccessibilityIcon = AccessibilityIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 13138; source: design/components/Icon/native/redesign/generated/AchievementsIcon.tsx; dependencies: [31, 33, 697, 3859, 13139, 2] */
function _fun100407(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#100407, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13328:6, offset: 0x021e7d09, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AchievementsIcon.tsx');
exports.AchievementsIcon = AchievementsIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 11046; source: design/components/Icon/native/redesign/generated/AnalyticsIcon.tsx; dependencies: [31, 33, 697, 3859, 11047, 2] */
function _fun84540(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84540, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11232:6, offset: 0x01f4ef5f, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AnalyticsIcon.tsx');
exports.AnalyticsIcon = AnalyticsIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 6704; source: design/components/Icon/native/redesign/generated/AnnouncementsIcon.tsx; dependencies: [31, 33, 697, 3859, 6654, 2] */
function _fun52683(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#52683, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6882:6, offset: 0x01334793, size: 136 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AnnouncementsIcon.tsx');
exports.AnnouncementsIcon = AnnouncementsIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 6703; source: design/components/Icon/native/redesign/generated/AnnouncementsLockIcon.tsx; dependencies: [31, 33, 697, 3859, 6678, 2] */
function _fun52681(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#52681, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6881:6, offset: 0x0133470b, size: 136 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AnnouncementsLockIcon.tsx');
exports.AnnouncementsLockIcon = AnnouncementsLockIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 6702; source: design/components/Icon/native/redesign/generated/AnnouncementsSpoilerIcon.tsx; dependencies: [31, 33, 697, 3859, 6677, 2] */
function _fun52679(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#52679, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6880:6, offset: 0x01334683, size: 136 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AnnouncementsSpoilerIcon.tsx');
exports.AnnouncementsSpoilerIcon = AnnouncementsSpoilerIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 6701; source: design/components/Icon/native/redesign/generated/AnnouncementsWarningIcon.tsx; dependencies: [31, 33, 697, 3859, 6676, 2] */
function _fun52677(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#52677, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6879:6, offset: 0x013345fb, size: 136 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AnnouncementsWarningIcon.tsx');
exports.AnnouncementsWarningIcon = AnnouncementsWarningIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 10166; source: design/components/Icon/native/redesign/generated/AppleNeutralIcon.tsx; dependencies: [31, 33, 697, 3859, 10167, 2] */
function _fun79178(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79178, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10352:6, offset: 0x01e47ddd, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AppleNeutralIcon.tsx');
exports.AppleNeutralIcon = AppleNeutralIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 8840; source: design/components/Icon/native/redesign/generated/AppsIcon.tsx; dependencies: [31, 33, 697, 3859, 8379, 2] */
function _fun69009(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#69009, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9025:6, offset: 0x01c64acb, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AppsIcon.tsx');
exports.AppsIcon = AppsIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 11209; source: design/components/Icon/native/redesign/generated/ArrowAngleLeftUpIcon.tsx; dependencies: [31, 33, 697, 3859, 11210, 2] */
function _fun85656(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#85656, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11395:6, offset: 0x01f76de3, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ArrowAngleLeftUpIcon.tsx');
exports.ArrowAngleLeftUpIcon = ArrowAngleLeftUpIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 9601; source: design/components/Icon/native/redesign/generated/ArrowAngleRightUpIcon.tsx; dependencies: [31, 33, 697, 3859, 9602, 2] */
function _fun75255(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#75255, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9787:6, offset: 0x01da795e, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ArrowAngleRightUpIcon.tsx');
exports.ArrowAngleRightUpIcon = ArrowAngleRightUpIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 5284; source: design/components/Icon/native/redesign/generated/ArrowLargeLeftIcon.tsx; dependencies: [31, 33, 697, 3859, 5285, 2] */
function _fun46974(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46974, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5462:6, offset: 0x011b48c6, size: 136 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ArrowLargeLeftIcon.tsx');
exports.ArrowLargeLeftIcon = ArrowLargeLeftIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 14280; source: design/components/Icon/native/redesign/generated/ArrowSmallDownIcon.tsx; dependencies: [31, 33, 697, 3859, 14281, 2] */
function _fun108014(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#108014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14477:6, offset: 0x02311de6, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ArrowSmallDownIcon.tsx');
exports.ArrowSmallDownIcon = ArrowSmallDownIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 10207; source: design/components/Icon/native/redesign/generated/ArrowSmallLeftIcon.tsx; dependencies: [31, 33, 697, 3859, 10208, 2] */
function _fun79351(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79351, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10393:6, offset: 0x01e4f626, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ArrowSmallLeftIcon.tsx');
exports.ArrowSmallLeftIcon = ArrowSmallLeftIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 11905; source: design/components/Icon/native/redesign/generated/ArrowSmallRightIcon.tsx; dependencies: [31, 33, 697, 3859, 11906, 2] */
function _fun91370(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#91370, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12091:6, offset: 0x0205d2f4, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ArrowSmallRightIcon.tsx');
exports.ArrowSmallRightIcon = ArrowSmallRightIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 14278; source: design/components/Icon/native/redesign/generated/ArrowSmallUpIcon.tsx; dependencies: [31, 33, 697, 3859, 14279, 2] */
function _fun108011(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#108011, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14475:6, offset: 0x02311d16, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ArrowSmallUpIcon.tsx');
exports.ArrowSmallUpIcon = ArrowSmallUpIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 11689; source: design/components/Icon/native/redesign/generated/ArrowsUpDownIcon.tsx; dependencies: [31, 33, 697, 3859, 11690, 2] */
function _fun89565(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#89565, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11875:6, offset: 0x020139c4, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ArrowsUpDownIcon.tsx');
exports.ArrowsUpDownIcon = ArrowsUpDownIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 6700; source: design/components/Icon/native/redesign/generated/AtIcon.tsx; dependencies: [31, 33, 697, 3859, 6653, 2] */
function _fun52675(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#52675, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6878:6, offset: 0x01334573, size: 136 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AtIcon.tsx');
exports.AtIcon = AtIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 9786; source: design/components/Icon/native/redesign/generated/AttachmentIcon.tsx; dependencies: [31, 33, 697, 3859, 9787, 2] */
function _fun76727(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76727, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9972:6, offset: 0x01de2709, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/AttachmentIcon.tsx');
exports.AttachmentIcon = AttachmentIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 8688; source: design/components/Icon/native/redesign/generated/BackspaceIcon.tsx; dependencies: [31, 33, 697, 3859, 8689, 2] */
function _fun68294(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68294, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8873:6, offset: 0x01c47a72, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BackspaceIcon.tsx');
exports.BackspaceIcon = BackspaceIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 9978; source: design/components/Icon/native/redesign/generated/BattlenetNeutralIcon.tsx; dependencies: [31, 33, 697, 3859, 9979, 2] */
function _fun78068(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#78068, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10164:6, offset: 0x01e1791c, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BattlenetNeutralIcon.tsx');
exports.BattlenetNeutralIcon = BattlenetNeutralIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 13132; source: design/components/Icon/native/redesign/generated/BeakerIcon.tsx; dependencies: [31, 33, 697, 3859, 13133, 2] */
function _fun100360(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#100360, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13322:6, offset: 0x021e5fd8, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BeakerIcon.tsx');
exports.BeakerIcon = BeakerIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 9216; source: design/components/Icon/native/redesign/generated/BellIcon.tsx; dependencies: [31, 33, 697, 3859, 8194, 2] */
function _fun72082(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#72082, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9401:6, offset: 0x01d393f7, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BellIcon.tsx');
exports.BellIcon = BellIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 10629; source: design/components/Icon/native/redesign/generated/BellSlashIcon.tsx; dependencies: [31, 33, 697, 3859, 10630, 2] */
function _fun81824(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#81824, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10815:6, offset: 0x01ee091b, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BellSlashIcon.tsx');
exports.BellSlashIcon = BellSlashIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 14429; source: design/components/Icon/native/redesign/generated/BellZIcon.tsx; dependencies: [31, 33, 697, 3859, 14430, 2] */
function _fun109212(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#109212, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14626:6, offset: 0x02341db5, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BellZIcon.tsx');
exports.BellZIcon = BellZIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 8659; source: design/components/Icon/native/redesign/generated/BicycleIcon.tsx; dependencies: [31, 33, 697, 3859, 8660, 2] */
function _fun68202(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68202, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8844:6, offset: 0x01c436e9, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BicycleIcon.tsx');
exports.BicycleIcon = BicycleIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 11677; source: design/components/Icon/native/redesign/generated/BillIcon.tsx; dependencies: [31, 33, 697, 3859, 11678, 2] */
function _fun89510(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#89510, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11863:6, offset: 0x02010fb3, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BillIcon.tsx');
exports.BillIcon = BillIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 10171; source: design/components/Icon/native/redesign/generated/BlueskyNeutralIcon.tsx; dependencies: [31, 33, 697, 3859, 10172, 2] */
function _fun79186(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79186, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10357:6, offset: 0x01e485c5, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BlueskyNeutralIcon.tsx');
exports.BlueskyNeutralIcon = BlueskyNeutralIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 6686; source: design/components/Icon/native/redesign/generated/BookCheckIcon.tsx; dependencies: [31, 33, 697, 3859, 6667, 2] */
function _fun52647(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#52647, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6864:6, offset: 0x01333e03, size: 136 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BookCheckIcon.tsx');
exports.BookCheckIcon = BookCheckIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 11190; source: design/components/Icon/native/redesign/generated/BookmarkIcon.tsx; dependencies: [31, 33, 697, 3859, 11191, 2] */
function _fun85495(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#85495, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11376:6, offset: 0x01f70f4d, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BookmarkIcon.tsx');
exports.BookmarkIcon = BookmarkIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 11417; source: design/components/Icon/native/redesign/generated/BookmarkOutlineIcon.tsx; dependencies: [31, 33, 697, 3859, 11418, 2] */
function _fun87434(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#87434, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11603:6, offset: 0x01fbe64a, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BookmarkOutlineIcon.tsx');
exports.BookmarkOutlineIcon = BookmarkOutlineIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 7958; source: design/components/Icon/native/redesign/generated/BoostGemIcon.tsx; dependencies: [31, 33, 697, 3859, 7959, 2] */
function _fun63431(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63431, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8136:6, offset: 0x01b7f47a, size: 136 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BoostGemIcon.tsx');
exports.BoostGemIcon = BoostGemIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 15916; source: design/components/Icon/native/redesign/generated/BoostGemOutlineIcon.tsx; dependencies: [31, 33, 697, 3859, 15917, 2] */
function _fun122786(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#122786, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16124:6, offset: 0x02575090, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BoostGemOutlineIcon.tsx');
exports.BoostGemOutlineIcon = BoostGemOutlineIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 12320; source: design/components/Icon/native/redesign/generated/BoostGemSlashIcon.tsx; dependencies: [31, 33, 697, 3859, 12321, 2] */
function _fun94033(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94033, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12506:6, offset: 0x020cfde2, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BoostGemSlashIcon.tsx');
exports.BoostGemSlashIcon = BoostGemSlashIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 14677; source: design/components/Icon/native/redesign/generated/BoostTier1Icon.tsx; dependencies: [31, 33, 697, 3859, 14678, 2] */
function _fun110789(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#110789, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14874:6, offset: 0x0238727d, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BoostTier1Icon.tsx');
exports.BoostTier1Icon = BoostTier1Icon;
}
@@ -0,0 +1,11 @@
/* Metro module 14687; source: design/components/Icon/native/redesign/generated/BoostTier2Icon.tsx; dependencies: [31, 33, 697, 3859, 14688, 2] */
function _fun110829(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#110829, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14884:6, offset: 0x02388b6a, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BoostTier2Icon.tsx');
exports.BoostTier2Icon = BoostTier2Icon;
}
@@ -0,0 +1,11 @@
/* Metro module 12252; source: design/components/Icon/native/redesign/generated/BoostTier3Icon.tsx; dependencies: [31, 33, 697, 3859, 12253, 2] */
function _fun93703(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93703, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12438:6, offset: 0x020c01ee, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BoostTier3Icon.tsx');
exports.BoostTier3Icon = BoostTier3Icon;
}
@@ -0,0 +1,11 @@
/* Metro module 13973; source: design/components/Icon/native/redesign/generated/BugIcon.tsx; dependencies: [31, 33, 697, 3859, 13974, 2] */
function _fun106023(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#106023, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14170:6, offset: 0x022caa93, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BugIcon.tsx');
exports.BugIcon = BugIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 13154; source: design/components/Icon/native/redesign/generated/BurgerIcon.tsx; dependencies: [31, 33, 697, 3859, 13155, 2] */
function _fun100431(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#100431, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13344:6, offset: 0x021e8389, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/BurgerIcon.tsx');
exports.BurgerIcon = BurgerIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 9133; source: design/components/Icon/native/redesign/generated/CalendarIcon.tsx; dependencies: [31, 33, 697, 3859, 9134, 2] */
function _fun71560(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#71560, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9318:6, offset: 0x01d246b7, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/CalendarIcon.tsx');
exports.CalendarIcon = CalendarIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 15024; source: design/components/Icon/native/redesign/generated/CalendarMinusIcon.tsx; dependencies: [31, 33, 697, 3859, 15025, 2] */
function _fun113650(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#113650, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15221:6, offset: 0x024024cb, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/CalendarMinusIcon.tsx');
exports.CalendarMinusIcon = CalendarMinusIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 15026; source: design/components/Icon/native/redesign/generated/CalendarPlusIcon.tsx; dependencies: [31, 33, 697, 3859, 15027, 2] */
function _fun113653(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#113653, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15223:6, offset: 0x0240259b, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/CalendarPlusIcon.tsx');
exports.CalendarPlusIcon = CalendarPlusIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 11112; source: design/components/Icon/native/redesign/generated/CameraIcon.tsx; dependencies: [31, 33, 697, 3859, 11113, 2] */
function _fun85105(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#85105, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11298:6, offset: 0x01f64260, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/CameraIcon.tsx');
exports.CameraIcon = CameraIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 13146; source: design/components/Icon/native/redesign/generated/CarIcon.tsx; dependencies: [31, 33, 697, 3859, 13147, 2] */
function _fun100419(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#100419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13336:6, offset: 0x021e8049, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/CarIcon.tsx');
exports.CarIcon = CarIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 15863; source: design/components/Icon/native/redesign/generated/ChannelListIcon.tsx; dependencies: [31, 33, 697, 3859, 15864, 2] */
function _fun122088(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#122088, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16071:6, offset: 0x025598cf, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ChannelListIcon.tsx');
exports.ChannelListIcon = ChannelListIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 12376; source: design/components/Icon/native/redesign/generated/ChannelListMagnifyingGlassIcon.tsx; dependencies: [31, 33, 697, 3859, 12377, 2] */
function _fun94321(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94321, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12562:6, offset: 0x02113a9f, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ChannelListMagnifyingGlassIcon.tsx');
exports.ChannelListMagnifyingGlassIcon = ChannelListMagnifyingGlassIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 11241; source: design/components/Icon/native/redesign/generated/ChannelNotificationIcon.tsx; dependencies: [31, 33, 697, 3859, 11242, 2] */
function _fun85956(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#85956, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11427:6, offset: 0x01f82a0b, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ChannelNotificationIcon.tsx');
exports.ChannelNotificationIcon = ChannelNotificationIcon;
}
@@ -0,0 +1,11 @@
/* Metro module 15201; source: design/components/Icon/native/redesign/generated/ChannelsFollowedIcon.tsx; dependencies: [31, 33, 697, 3859, 15202, 2] */
function _fun116249(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#116249, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15398:6, offset: 0x02482c9f, size: 138 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Icon/native/redesign/generated/ChannelsFollowedIcon.tsx');
exports.ChannelsFollowedIcon = ChannelsFollowedIcon;
}
Loaded 100 of 16065 files, more files were not shown because too many files have changed in this diff. Show more