754 lines
45 KiB
TypeScript
754 lines
45 KiB
TypeScript
/* Metro module 6617; source: modules/guild_onboarding/native/GuildOnboardingPrompts.tsx; dependencies: [57, 5, 31, 27, 4502, 6616, 1379, 1867, 1934, 6603, 5106, 6600, 661, 33, 1230, 4501, 5314, 697, 1475, 4000, 5475, 4589, 676, 566, 1585, 1484, 4017, 6606, 5105, 1423, 1852, 683, 4863, 4504, 5282, 6618, 6620, 1360, 6760, 4573, 1244, 6766, 2] */
|
|
import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */
|
|
import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */
|
|
import AnalyticsUtils from '../../../utils/AnalyticsUtils.tsx'; /* Metro dependency 683 */
|
|
import ChannelStore from '../../../stores/ChannelStore.tsx'; /* Metro dependency 1379 */
|
|
import UseSafeAreaInsetsNative from '../../safe_area/useSafeAreaInsets.native.tsx'; /* Metro dependency 1585 */
|
|
import GuildStore from '../../../stores/GuildStore.tsx'; /* Metro dependency 1867 */
|
|
import SelectedChannelStore from '../../../stores/SelectedChannelStore.tsx'; /* Metro dependency 1934 */
|
|
import ReanimatedRexport from '../../reanimated/ReanimatedRexport.tsx'; /* Metro dependency 4017 */
|
|
import AccessibilityStore from '../../a11y/AccessibilityStore.tsx'; /* Metro dependency 4502 */
|
|
import defaultImport22 from '../../../by-id/module-04589-LinearGradient.js'; /* Metro dependency 4589 */
|
|
import FastImage from '../../../components_native/common/FastImage.tsx'; /* Metro dependency 5475 */
|
|
import GuildOnboardingPromptsStore from '../GuildOnboardingPromptsStore.tsx'; /* Metro dependency 6603 */
|
|
import MemberVerificationFormStore from '../../guild_member_verification/MemberVerificationFormStore.tsx'; /* Metro dependency 6616 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as FluxModule from '../../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
|
|
import * as ConstantsIOSModule from '../../../ConstantsIOS.tsx'; /* Metro dependency 676 */
|
|
import * as UseNavigationNativeModule from '../../../design/components/Navigator/native/useNavigation.native.tsx'; /* Metro dependency 1484 */
|
|
import * as ColorUtilsModule from '../../../utils/ColorUtils.tsx'; /* Metro dependency 4000 */
|
|
import * as ReanimatedRexportModule from '../../reanimated/ReanimatedRexport.tsx'; /* Metro dependency 4017 */
|
|
import * as TimingModule from '../../../design/animation/reanimated/timing/timing.tsx'; /* Metro dependency 4504 */
|
|
import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
|
|
import * as AppAnalyticsUtilsModule from '../../app_analytics/AppAnalyticsUtils.tsx'; /* Metro dependency 4863 */
|
|
import * as GuildOnboardingPromptsConstantsModule from '../GuildOnboardingPromptsConstants.tsx'; /* Metro dependency 5106 */
|
|
import * as NavigatorConstantsNativeModule from '../../../design/components/Navigator/native/NavigatorConstants.native.tsx'; /* Metro dependency 5314 */
|
|
import * as GuildOnboardingConstantsModule from './GuildOnboardingConstants.tsx'; /* Metro dependency 6600 */
|
|
import * as SafeAreaViewModule from '../../../components_native/common/SafeAreaView.tsx'; /* Metro dependency 6618 */
|
|
import * as TextWithIOSLinkWorkaroundModule from '../../a11y/native/TextWithIOSLinkWorkaround.tsx'; /* Metro dependency 6766 */
|
|
|
|
function _fun52289(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#52289, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:6, offset: 0x01324d6c, size: 904 bytes, params: 8, frame: 23
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = ReactNativeModule;
|
|
const env0_6 = value.StyleSheet;
|
|
const env0_7 = value.View;
|
|
value = require(661) /* metro dependency 661: Constants */;
|
|
const env0_16 = value.AnalyticEvents;
|
|
const env0_17 = value.MarketingURLs;
|
|
const env0_18 = value.Routes;
|
|
value = require(33) /* metro dependency 33 */;
|
|
const env0_19 = value.jsx;
|
|
const env0_20 = value.Fragment;
|
|
const env0_21 = value.jsxs;
|
|
value = require(4501) /* metro dependency 4501: createStyles */;
|
|
const createStyles = value.createStyles;
|
|
object = {};
|
|
object.flex = {flex: 1};
|
|
const object3 = {'display': 'flex', 'flex': 1, 'flexGrow': 1};
|
|
const NAV_BAR_HEIGHT = (NavigatorConstantsNativeModule).NAV_BAR_HEIGHT;
|
|
object3.marginTop = NAV_BAR_HEIGHT;
|
|
let PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
|
object3.marginBottom = PX_16;
|
|
const BACKGROUND_BASE_LOWER = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOWER;
|
|
object3.backgroundColor = BACKGROUND_BASE_LOWER;
|
|
object.container = object3;
|
|
PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
|
object.subtitle = {marginBottom: PX_16, opacity: 0.8};
|
|
object.onboardingTitle = {textAlign: 'center'};
|
|
const object6 = {'position': 'absolute', 'paddingHorizontal': null, 'display': 'flex', 'justifyContent': 'center',
|
|
'width': '100%'};
|
|
PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
|
object6.paddingHorizontal = PX_16;
|
|
PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
|
object6.marginBottom = PX_16;
|
|
object.onboardingPolicy = object6;
|
|
object.onboardingPolicyText = {textAlign: 'center'};
|
|
object.landingOverlay = {'position': 'absolute', 'width': '100%', 'height': '100%', 'display': 'flex',
|
|
'justifyContent': 'center'};
|
|
object.artWrapper = {'height': 350, 'position': 'relative', 'display': 'flex', 'flexDirection': 'row',
|
|
'alignItems': 'center', 'justifyContent': 'center'};
|
|
PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
|
object.landingBody = {'alignItems': 'center', 'marginTop': -24, paddingHorizontal: PX_16};
|
|
object.backgroundImage = {'position': 'absolute', 'height': '50%', 'width': '100%', 'top': 0};
|
|
object.backgroundColorGradient = {'position': 'absolute', 'height': '100%', 'width': '100%', 'top': 0};
|
|
object.darkColorGradient = {'position': 'absolute', 'height': '100%', 'width': '100%', 'top': 0};
|
|
const env0_22 = Reflect.apply(createStyles, value, [object]);
|
|
object = {code: 'function GuildOnboardingPromptsTsx1(){const{showPrompts,withTiming,Easing,useReducedMotion}=this.__closure;const rawOpacity=showPrompts.get()?0:1;const opacity=withTiming(rawOpacity,{duration:300,easing:Easing.out(Easing.ease)});const rawTranslateY=!useReducedMotion&&showPrompts.get()?-80:0;const translateY=withTiming(rawTranslateY,{duration:300,easing:Easing.out(Easing.ease)});return{opacity:opacity,transform:[{translateY:translateY}]};}'};
|
|
object = {code: 'function GuildOnboardingPromptsTsx2(){const{showPrompts,withDelay,withTiming,Easing,useReducedMotion}=this.__closure;const rawOpacity=showPrompts.get()?0:1;const opacity=withDelay(200,withTiming(rawOpacity,{duration:300,easing:Easing.out(Easing.ease)}));const rawTranslateY=!useReducedMotion&&showPrompts.get()?-80:0;const translateY=withDelay(200,withTiming(rawTranslateY,{duration:300,easing:Easing.out(Easing.ease)}));return{opacity:opacity,transform:[{translateY:translateY}]};}'};
|
|
object = {code: 'function GuildOnboardingPromptsTsx3(){const{showPrompts,withDelay,withTiming,Easing}=this.__closure;const rawOpacity=showPrompts.get()?0:1;const opacity=withDelay(200,withTiming(rawOpacity,{duration:300,easing:Easing.out(Easing.ease)}));return{opacity:opacity};}'};
|
|
object = {code: 'function GuildOnboardingPromptsTsx4(){const{showPrompts,withDelay,withTiming,Easing}=this.__closure;const rawOpacity=showPrompts.get()?0:1;const opacity=withDelay(200,withTiming(rawOpacity,{duration:300,easing:Easing.out(Easing.ease)}));return{opacity:opacity};}'};
|
|
object = {code: 'function GuildOnboardingPromptsTsx5(){const{showPrompts,withDelay,withTiming,Easing,useReducedMotion}=this.__closure;const rawOpacity=showPrompts.get()?1:0;const opacity=withDelay(600,withTiming(rawOpacity,{duration:300,easing:Easing.out(Easing.ease)}));const rawTranslateY=!useReducedMotion&&!showPrompts.get()?80:0;const translateY=withDelay(600,withTiming(rawTranslateY,{duration:300,easing:Easing.out(Easing.ease)}));return{opacity:opacity,transform:[{translateY:translateY}]};}'};
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/guild_onboarding/native/GuildOnboardingPrompts.tsx');
|
|
exports.default = GuildOnboardingPrompt;
|
|
function _getBackgroundGradientColor() { // fn#52290, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:1432, offset: 0x013250f4, size: 48 bytes, params: 1, frame: 14
|
|
return Module00005(_fun52292).apply(this, arguments);
|
|
function* _fun52292(a0) { // fn#52292, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:1509, offset: 0x0132512d, size: 138 bytes, params: 2, frame: 19
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
const value3 = env2_0(env2_2[18]);
|
|
const getPaletteForAvatar = value3.getPaletteForAvatar;
|
|
yield Reflect.apply(getPaletteForAvatar, value3, [a0]);
|
|
const value4 = undefined;
|
|
if (false) {
|
|
return value4;
|
|
}
|
|
const value6 = env2_3(value4[0], 3);
|
|
return env2_0(env2_2[19]).rgbToHex(value6[0], value6[1], value6[2]);
|
|
}
|
|
|
|
}
|
|
|
|
function BackgroundImageGradient({splashUrl, color}) { // fn#52293, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:1685, offset: 0x013251b7, size: 266 bytes, params: 2, frame: 23
|
|
const styles = useStyles();
|
|
const jsxRuntimeEnv0_20Binding = jsxRuntimeEnv0_20;
|
|
const value2 = ((Component) => <Component source={{uri: splashUrl}} style={[styles.backgroundImage]} resizeMode="cover" />)(FastImage);
|
|
const defaultImport2 = defaultImport22;
|
|
const {START, END} = (ConstantsIOSModule).VerticalGradient;
|
|
let value = ColorUtilsModule;
|
|
value = value.hexWithOpacity(color, 0.16);
|
|
return (
|
|
<>
|
|
{value2}
|
|
{((Component) => <Component style={styles.backgroundColorGradient} start={START} end={END} colors={[value,
|
|
color]} />)(defaultImport2)}
|
|
</>
|
|
);
|
|
}
|
|
|
|
function GuildOnboardingPrompt({guildId, currentPromptIdx, prompts, selectOption, onClose, landingAnimation, isFirstOpen, backShouldLeaveGuild}) { // fn#52294, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:4074, offset: 0x013252c1, size: 3095 bytes, params: 2, frame: 48
|
|
var r34;
|
|
var r23;
|
|
var r18;
|
|
var moduleValue8;
|
|
var defaultImport;
|
|
var getGuildSplashURL;
|
|
var type;
|
|
var moduleValue14;
|
|
const onClose2 = onClose;
|
|
const styles = useStyles();
|
|
let useStateFromStores = FluxModule.useStateFromStores;
|
|
let object = [MemberVerificationFormStore];
|
|
const rulesPrompt = Reflect.apply(useStateFromStores, FluxModule, [object, function() {
|
|
return MemberVerificationFormStore.getRulesPrompt(guildId);
|
|
}]);
|
|
const rulesPrompt2 = rulesPrompt;
|
|
const useReducedMotion = FluxModule.useStateFromStores([AccessibilityStore], function() {
|
|
return AccessibilityStore.useReducedMotion;
|
|
});
|
|
const bottom = (UseSafeAreaInsetsNative)().bottom;
|
|
useStateFromStores = FluxModule.useStateFromStores;
|
|
const value3 = Reflect.apply(useStateFromStores, FluxModule, [[GuildOnboardingPromptsStore], function() {
|
|
return GuildOnboardingPromptsStore.getConnections(guildId);
|
|
}]).length > 0;
|
|
let r1 = isFirstOpen && currentPromptIdx === 0 && !value3;
|
|
const value6 = (UseNavigationNativeModule).useNavigation();
|
|
const value7 = prompts.length > 0;
|
|
const property = prompts[currentPromptIdx];
|
|
const value8 = (ReanimatedRexportModule).useSharedValue(!r1);
|
|
let binding = rulesPrompt2;
|
|
const value9 = binding.useCallback(_fun52298, [guildId, prompts]);
|
|
const guild = FluxModule.useStateFromStores([GuildStore], function() {
|
|
return GuildStore.getGuild(guildId);
|
|
});
|
|
const value10 = FluxModule.useStateFromStoresArray([GuildOnboardingPromptsStore], _fun52300, [guildId, property]);
|
|
const env0_16 = value10.length === 0 && property?.required;
|
|
const value13 = currentPromptIdx + 1 >= prompts.length;
|
|
if (value13) {
|
|
moduleValue8 = require(5105) /* metro dependency 5105: GuildOnboardingUtils */;
|
|
r34 = !moduleValue8.showRulesInOnboarding(guild, rulesPrompt);
|
|
} else {
|
|
r34 = value13;
|
|
}
|
|
binding = rulesPrompt2;
|
|
const useState = binding.useState;
|
|
let PRIMARY_800 = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.PRIMARY_800;
|
|
const value16 = onClose2(Reflect.apply(useState, binding, [PRIMARY_800]), 2);
|
|
const property2 = value16[0];
|
|
const env0_18 = value16[1];
|
|
if (guild != null) {
|
|
defaultImport = importDefault(1423) /* metro dependency 1423: AvatarUtils */;
|
|
getGuildSplashURL = defaultImport.getGuildSplashURL;
|
|
object = {};
|
|
object.id = guild.id;
|
|
object.splash = guild.splash;
|
|
object.size = 400 * (importDefault(1852) /* metro dependency 1852: getDevicePixelRatioNative */)();
|
|
r23 = Reflect.apply(getGuildSplashURL, defaultImport, [object]);
|
|
} else {
|
|
r23 = null;
|
|
}
|
|
binding = rulesPrompt2;
|
|
binding.useEffect(_fun52301, [r23]);
|
|
binding.useEffect(_fun52304, [guildId, value7, rulesPrompt, r1]);
|
|
binding.useEffect(_fun52305, [value8, r1, value7, value3, onClose, value9, guildId]);
|
|
binding.useEffect(_fun52307, [r1, value7, onClose]);
|
|
r1 = value7 && prompts[0].required;
|
|
binding = rulesPrompt2;
|
|
binding.useEffect(_fun52308, [guildId, r1, currentPromptIdx]);
|
|
let useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle;
|
|
let closure = st;
|
|
object = {showPrompts: value8};
|
|
object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
|
|
const Easing = ReanimatedRexportModule.Easing;
|
|
object.Easing = Easing;
|
|
object.useReducedMotion = useReducedMotion;
|
|
closure.__closure = object;
|
|
closure.__workletHash = 6820086589932;
|
|
closure.__initData = env0_24;
|
|
const value20 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [closure]);
|
|
useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle;
|
|
closure = rt;
|
|
object = {showPrompts: value8};
|
|
object.withDelay = ReanimatedRexportModule.withDelay;
|
|
object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
|
|
object.Easing = Easing;
|
|
object.useReducedMotion = useReducedMotion;
|
|
closure.__closure = object;
|
|
closure.__workletHash = 3034833873876;
|
|
closure.__initData = env0_25;
|
|
const value21 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [closure]);
|
|
useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle;
|
|
closure = GuildOnboardingPromptLt;
|
|
object = {showPrompts: value8};
|
|
object.withDelay = ReanimatedRexportModule.withDelay;
|
|
object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
|
|
object.Easing = Easing;
|
|
closure.__closure = object;
|
|
closure.__workletHash = 2795589385440;
|
|
closure.__initData = env0_26;
|
|
const value22 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [closure]);
|
|
useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle;
|
|
closure = ct;
|
|
object = {showPrompts: value8};
|
|
object.withDelay = ReanimatedRexportModule.withDelay;
|
|
object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
|
|
object.Easing = Easing;
|
|
closure.__closure = object;
|
|
closure.__workletHash = 13481450530727;
|
|
closure.__initData = env0_27;
|
|
const value23 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [closure]);
|
|
useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle;
|
|
closure = dt;
|
|
object = {showPrompts: value8};
|
|
object.withDelay = ReanimatedRexportModule.withDelay;
|
|
object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
|
|
object.Easing = Easing;
|
|
object.useReducedMotion = useReducedMotion;
|
|
closure.__closure = object;
|
|
closure.__workletHash = 14018549800735;
|
|
closure.__initData = env0_28;
|
|
const value24 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [closure]);
|
|
closure = handleOnPress;
|
|
binding.useLayoutEffect(_fun52315, [value6, currentPromptIdx, value10, guildId, prompts, onClose,
|
|
backShouldLeaveGuild, value3]);
|
|
object = {style: styles.flex};
|
|
const SafeAreaPaddingView = (SafeAreaViewModule).SafeAreaPaddingView;
|
|
const items2 = [styles.flex];
|
|
items2[1] = styles.container;
|
|
const View2 = (ReanimatedRexport).View;
|
|
const items3 = [styles.flex, value24];
|
|
if (value7) {
|
|
if (property == null) {
|
|
r18 = null;
|
|
} else {
|
|
type = property.type;
|
|
if (OnboardingPromptType.MULTIPLE_CHOICE === type) {
|
|
const MultipleChoicePrompt = (require(6620) /* metro dependency 6620: GuildOnboardingPrompt */).MultipleChoicePrompt;
|
|
r18 = (
|
|
<MultipleChoicePrompt
|
|
guildId={guildId}
|
|
currentPrompt={property}
|
|
lastPrompt={r34}
|
|
currentPromptIndex={currentPromptIdx}
|
|
numberOfPrompts={prompts.length}
|
|
selectOption={selectOption}
|
|
handleOnPress={closure}
|
|
/>
|
|
);
|
|
} else if (OnboardingPromptType.DROPDOWN === type) {
|
|
const DropdownPrompt = (require(6620) /* metro dependency 6620: GuildOnboardingPrompt */).DropdownPrompt;
|
|
r18 = (
|
|
<DropdownPrompt
|
|
guildId={guildId}
|
|
currentPrompt={property}
|
|
lastPrompt={r34}
|
|
currentPromptIndex={currentPromptIdx}
|
|
numberOfPrompts={prompts.length}
|
|
selectOption={selectOption}
|
|
handleOnPress={closure}
|
|
/>
|
|
);
|
|
} else {
|
|
moduleValue14 = require(1360) /* metro dependency 1360: GlobalUtils */;
|
|
moduleValue14.assertNever(property.type);
|
|
r18 = undefined;
|
|
}
|
|
}
|
|
} else {
|
|
r18 = null;
|
|
}
|
|
const safeAreaPaddingView = (
|
|
<SafeAreaPaddingView
|
|
top
|
|
bottom
|
|
style={items2}
|
|
>
|
|
<View2 style={items3}>
|
|
{r18}
|
|
</View2>
|
|
</SafeAreaPaddingView>
|
|
);
|
|
const absoluteFill = StyleSheet.absoluteFill;
|
|
const View3 = (ReanimatedRexport).View;
|
|
const items5 = [styles.flex];
|
|
items5[1] = styles.landingOverlay;
|
|
const View4 = (ReanimatedRexport).View;
|
|
const items6 = [styles.landingOverlay, value23];
|
|
const r13 = (
|
|
r23 != null
|
|
? (
|
|
<BackgroundImageGradient splashUrl={r23} color={property2} />
|
|
)
|
|
: null
|
|
);
|
|
const defaultImport2 = defaultImport22;
|
|
const {START, END} = (ConstantsIOSModule).VerticalGradient;
|
|
const hexWithOpacity = ColorUtilsModule.hexWithOpacity;
|
|
PRIMARY_800 = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.PRIMARY_800;
|
|
const items8 = [Reflect.apply(hexWithOpacity, ColorUtilsModule, [PRIMARY_800, 0.5])];
|
|
PRIMARY_800 = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.PRIMARY_800;
|
|
items8[1] = PRIMARY_800;
|
|
const items9 = [
|
|
<View4 style={items6}>
|
|
{r13}
|
|
{((Component) => <Component style={styles.darkColorGradient} start={START} end={END} colors={items8} />)(defaultImport2)}
|
|
</View4>,
|
|
];
|
|
const View5 = (ReanimatedRexport).View;
|
|
items9[1] = (
|
|
<View5 style={[styles.artWrapper, value20]}>
|
|
{((Component) => <Component source={landingAnimation} autoPlay={!useReducedMotion} style={{width: '100%'}} />)(importDefault(6760) /* metro dependency 6760: LottieAnimationView */)}
|
|
</View5>
|
|
);
|
|
const View6 = (ReanimatedRexport).View;
|
|
const items11 = [styles.landingBody, value21];
|
|
const Text = (TextModule).Text;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
let format = intl.format;
|
|
const O2bQlD = (require(1244) /* metro dependency 1244: indexNative */).t.O2bQlD;
|
|
items9[2] = (
|
|
<View6 style={items11}>
|
|
<Text
|
|
style={styles.subtitle}
|
|
variant="text-md/semibold"
|
|
color="always-white"
|
|
>
|
|
{Reflect.apply(format, intl, [O2bQlD, {guildName: guild?.name ?? ''}])}
|
|
</Text>
|
|
<Text
|
|
style={styles.onboardingTitle}
|
|
accessibilityRole="header"
|
|
variant="heading-xl/semibold"
|
|
color="always-white"
|
|
>
|
|
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['Alcl/e'])}
|
|
</Text>
|
|
</View6>
|
|
);
|
|
const view = (
|
|
<View3 style={items5} pointerEvents="none">
|
|
{items9}
|
|
</View3>
|
|
);
|
|
const View7 = (ReanimatedRexport).View;
|
|
const items14 = [styles.onboardingPolicy, value22];
|
|
items14[2] = {bottom: bottom};
|
|
const TextWithIOSLinkWorkaround = (TextWithIOSLinkWorkaroundModule).TextWithIOSLinkWorkaround;
|
|
format = intl.format;
|
|
const kI6UoD = (require(1244) /* metro dependency 1244: indexNative */).t.kI6UoD;
|
|
const PRIVACY = MarketingURLs.PRIVACY;
|
|
return (
|
|
<View {...object}>
|
|
{safeAreaPaddingView}
|
|
<View style={absoluteFill} pointerEvents="none">
|
|
{view}
|
|
<View7 style={items14} pointerEvents="auto">
|
|
<TextWithIOSLinkWorkaround
|
|
style={styles.onboardingPolicyText}
|
|
variant="heading-sm/normal"
|
|
color="text-default"
|
|
>
|
|
{Reflect.apply(format, intl, [kI6UoD, {privacyLink: PRIVACY}])}
|
|
</TextWithIOSLinkWorkaround>
|
|
</View7>
|
|
</View>
|
|
</View>
|
|
);
|
|
function _fun52298() { // fn#52298, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:4560, offset: 0x01325f0e, size: 50 bytes, params: 1, frame: 14
|
|
let value = environment.__proto__;
|
|
value = importDefault(6606) /* metro dependency 6606: GuildOnboardingActionCreators */;
|
|
value.completeOnboarding(guildId, prompts);
|
|
}
|
|
|
|
function _fun52300() { // fn#52300, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:4702, offset: 0x01325f5b, size: 53 bytes, params: 1, frame: 14
|
|
return env0_11 != null ? GuildOnboardingPromptsStore.getOnboardingResponsesForPrompt(guildId, env0_11.id) : [];
|
|
}
|
|
|
|
function _fun52301() { // fn#52301, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:5050, offset: 0x01325f90, size: 50 bytes, params: 1, frame: 12
|
|
if (env0_19 != null) {
|
|
(function() {
|
|
return _getBackgroundGradientColor.apply(this, arguments);
|
|
})(env0_19).then(_fun52303);
|
|
}
|
|
function _fun52303(a0) { // fn#52303, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:5171, offset: 0x01087c85, size: 19 bytes, params: 2, frame: 11
|
|
env1_18(a0);
|
|
}
|
|
|
|
}
|
|
|
|
function _fun52304() { // fn#52304, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:5205, offset: 0x01325fe0, size: 224 bytes, params: 1, frame: 26
|
|
var value2;
|
|
var defaultImport;
|
|
var track;
|
|
var GUILD_ONBOARDING_STEP_VIEWED;
|
|
var object;
|
|
var moduleValue;
|
|
var collectGuildAnalyticsMetadata;
|
|
var guildIdBinding;
|
|
var defaultImport2;
|
|
var GUILD_ONBOARDING_STEP_COMPLETED;
|
|
var moduleValue2;
|
|
if (env0_8) {
|
|
value2 = environment.__proto__;
|
|
defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
|
track = defaultImport.track;
|
|
GUILD_ONBOARDING_STEP_VIEWED = AnalyticEvents.GUILD_ONBOARDING_STEP_VIEWED;
|
|
object = {};
|
|
moduleValue = require(4863) /* metro dependency 4863: AppAnalyticsUtils */;
|
|
collectGuildAnalyticsMetadata = moduleValue.collectGuildAnalyticsMetadata;
|
|
guildIdBinding = guildId;
|
|
copyDataProperties(object, Reflect.apply(collectGuildAnalyticsMetadata, moduleValue, [guildIdBinding]),
|
|
undefined);
|
|
object['step'] = -1;
|
|
object['required'] = true;
|
|
Reflect.apply(track, defaultImport, [GUILD_ONBOARDING_STEP_VIEWED, object]);
|
|
defaultImport2 = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
|
track = defaultImport2.track;
|
|
GUILD_ONBOARDING_STEP_COMPLETED = AnalyticEvents.GUILD_ONBOARDING_STEP_COMPLETED;
|
|
object = {};
|
|
moduleValue2 = require(4863) /* metro dependency 4863: AppAnalyticsUtils */;
|
|
collectGuildAnalyticsMetadata = moduleValue2.collectGuildAnalyticsMetadata;
|
|
copyDataProperties(object, Reflect.apply(collectGuildAnalyticsMetadata, moduleValue2, [guildIdBinding]),
|
|
'required');
|
|
object['step'] = -1;
|
|
object['skipped'] = env0_10;
|
|
object['is_final_step'] = false;
|
|
object['in_onboarding'] = true;
|
|
Reflect.apply(track, defaultImport2, [GUILD_ONBOARDING_STEP_COMPLETED, object]);
|
|
}
|
|
}
|
|
|
|
function _fun52305() { // fn#52305, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:5504, offset: 0x013260c0, size: 43 bytes, params: 1, frame: 13
|
|
if (env0_8) {
|
|
global.setTimeout(_fun52306, 2000);
|
|
}
|
|
function _fun52306() { // fn#52306, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:5524, offset: 0x013260eb, size: 52 bytes, params: 1, frame: 11
|
|
if (env1_10) {
|
|
env1_12.set(true);
|
|
} else {
|
|
onClose();
|
|
env1_13();
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function _fun52307() { // fn#52307, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:5604, offset: 0x0132611f, size: 31 bytes, params: 1, frame: 10
|
|
if (!(env0_8 || env0_10)) {
|
|
onClose();
|
|
}
|
|
}
|
|
|
|
function _fun52308() { // fn#52308, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:5667, offset: 0x0132613e, size: 125 bytes, params: 1, frame: 19
|
|
var value2;
|
|
var defaultImport;
|
|
var track;
|
|
var GUILD_ONBOARDING_STEP_VIEWED;
|
|
var object;
|
|
var moduleValue;
|
|
if (currentPromptIdx === 0) {
|
|
value2 = environment.__proto__;
|
|
defaultImport = importDefault(dependencyMap[31]);
|
|
track = defaultImport.track;
|
|
GUILD_ONBOARDING_STEP_VIEWED = AnalyticEvents.GUILD_ONBOARDING_STEP_VIEWED;
|
|
object = {};
|
|
moduleValue = require(dependencyMap[32]);
|
|
copyDataProperties(object, moduleValue.collectGuildAnalyticsMetadata(guildId), dependencyMap);
|
|
object['step'] = 0;
|
|
object['required'] = env0_20;
|
|
Reflect.apply(track, defaultImport, [GUILD_ONBOARDING_STEP_VIEWED, object]);
|
|
}
|
|
}
|
|
|
|
function st() { // fn#52309, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:5857, owner: GuildOnboardingPrompt.st, offset: 0x013261bb, size: 273 bytes, params: 1, frame: 23
|
|
const r6 = env0_12.get() ? 0 : 1;
|
|
let withTiming = TimingModule.withTiming;
|
|
const Easing = (ReanimatedRexportModule).Easing;
|
|
let out = Easing.out;
|
|
const Easing2 = (ReanimatedRexportModule).Easing;
|
|
const value6 = Reflect.apply(withTiming, TimingModule, [r6, {duration: 300, easing: Reflect.apply(out, Easing,
|
|
[Easing2.ease])}]);
|
|
const value7 = 0;
|
|
const r5 = useReducedMotion ? value7 : env0_12.get() ? -80 : value7;
|
|
object = {opacity: value6};
|
|
withTiming = TimingModule.withTiming;
|
|
out = Easing.out;
|
|
const Easing3 = (ReanimatedRexportModule).Easing;
|
|
object.transform = [{translateY: Reflect.apply(withTiming, TimingModule, [r5, {duration: 300, easing: Reflect.apply(out,
|
|
Easing, [Easing3.ease])}])}];
|
|
return object;
|
|
}
|
|
|
|
function rt() { // fn#52310, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:6312, owner: GuildOnboardingPrompt.rt, offset: 0x013262cc, size: 318 bytes, params: 1, frame: 25
|
|
let r8 = env0_12.get() ? 0 : 1;
|
|
let withDelay = ReanimatedRexportModule.withDelay;
|
|
let withTiming = TimingModule.withTiming;
|
|
const Easing = ReanimatedRexportModule.Easing;
|
|
let out = Easing.out;
|
|
const Easing2 = ReanimatedRexportModule.Easing;
|
|
const value7 = Reflect.apply(withDelay, ReanimatedRexportModule, [200, Reflect.apply(withTiming, TimingModule, [r8,
|
|
{duration: 300, easing: Reflect.apply(out, Easing, [Easing2.ease])}])]);
|
|
const value8 = 0;
|
|
r8 = useReducedMotion ? value8 : env0_12.get() ? -80 : value8;
|
|
object = {opacity: value7};
|
|
withDelay = ReanimatedRexportModule.withDelay;
|
|
withTiming = TimingModule.withTiming;
|
|
out = Easing.out;
|
|
const Easing3 = ReanimatedRexportModule.Easing;
|
|
object.transform = [{translateY: Reflect.apply(withDelay, ReanimatedRexportModule, [200, Reflect.apply(withTiming, TimingModule, [r8,
|
|
{duration: 300, easing: Reflect.apply(out, Easing, [Easing3.ease])}])])}];
|
|
return object;
|
|
}
|
|
|
|
function GuildOnboardingPromptLt() { // fn#52311, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:6844, owner: GuildOnboardingPrompt.lt, offset: 0x0132640a, size: 159 bytes, params: 1, frame: 22
|
|
const r6 = env0_12.get() ? 0 : 1;
|
|
let value = environment.__proto__;
|
|
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
|
const withDelay = value.withDelay;
|
|
const withTiming = TimingModule.withTiming;
|
|
const Easing = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing;
|
|
const out = Easing.out;
|
|
const Easing2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing;
|
|
return {opacity: Reflect.apply(withDelay, value, [200, Reflect.apply(withTiming, TimingModule, [r6, {duration: 300,
|
|
easing: Reflect.apply(out, Easing, [Easing2.ease])}])])};
|
|
}
|
|
|
|
function ct() { // fn#52312, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:7197, owner: GuildOnboardingPrompt.ct, offset: 0x0132640a, size: 159 bytes, params: 1, frame: 22
|
|
const r6 = env0_12.get() ? 0 : 1;
|
|
let value = environment.__proto__;
|
|
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
|
const withDelay = value.withDelay;
|
|
const withTiming = TimingModule.withTiming;
|
|
const Easing = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing;
|
|
const out = Easing.out;
|
|
const Easing2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing;
|
|
return {opacity: Reflect.apply(withDelay, value, [200, Reflect.apply(withTiming, TimingModule, [r6, {duration: 300,
|
|
easing: Reflect.apply(out, Easing, [Easing2.ease])}])])};
|
|
}
|
|
|
|
function dt() { // fn#52313, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:7550, owner: GuildOnboardingPrompt.dt, offset: 0x013264a9, size: 316 bytes, params: 1, frame: 26
|
|
const value2 = env0_12.get();
|
|
const value3 = 0;
|
|
const r9 = value2 ? 1 : value3;
|
|
let withDelay = ReanimatedRexportModule.withDelay;
|
|
let withTiming = TimingModule.withTiming;
|
|
const Easing = ReanimatedRexportModule.Easing;
|
|
let out = Easing.out;
|
|
const Easing2 = ReanimatedRexportModule.Easing;
|
|
const value7 = Reflect.apply(withDelay, ReanimatedRexportModule, [600, Reflect.apply(withTiming, TimingModule, [r9,
|
|
{duration: 300, easing: Reflect.apply(out, Easing, [Easing2.ease])}])]);
|
|
const r8 = useReducedMotion || env0_12.get() ? value3 : 80;
|
|
object = {opacity: value7};
|
|
withDelay = ReanimatedRexportModule.withDelay;
|
|
withTiming = TimingModule.withTiming;
|
|
out = Easing.out;
|
|
const Easing3 = ReanimatedRexportModule.Easing;
|
|
object.transform = [{translateY: Reflect.apply(withDelay, ReanimatedRexportModule, [600, Reflect.apply(withTiming, TimingModule, [r8,
|
|
{duration: 300, easing: Reflect.apply(out, Easing, [Easing3.ease])}])])}];
|
|
return object;
|
|
}
|
|
|
|
function handleOnPress() { // fn#52314, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:8060, owner: GuildOnboardingPrompt.handleOnPress, offset: 0x013265e5, size: 494 bytes, params: 1, frame: 23
|
|
var value2;
|
|
var defaultImport;
|
|
var track;
|
|
var GUILD_ONBOARDING_STEP_COMPLETED;
|
|
var object;
|
|
var moduleValue;
|
|
var currentPromptIdxBinding;
|
|
var length;
|
|
var defaultImport2;
|
|
var GUILD_ONBOARDING_STEP_VIEWED;
|
|
var moduleValue2;
|
|
var value3;
|
|
var moduleValue3;
|
|
var binding;
|
|
if (!env0_16) {
|
|
value2 = environment.__proto__;
|
|
if (env0_17) {
|
|
binding = env0_9;
|
|
binding.push(GuildOnboardingModalStates.COMPLETED);
|
|
} else {
|
|
defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
|
track = defaultImport.track;
|
|
GUILD_ONBOARDING_STEP_COMPLETED = AnalyticEvents.GUILD_ONBOARDING_STEP_COMPLETED;
|
|
object = {};
|
|
moduleValue = require(4863) /* metro dependency 4863: AppAnalyticsUtils */;
|
|
copyDataProperties(object, moduleValue.collectGuildAnalyticsMetadata(guildId), undefined);
|
|
object['step'] = currentPromptIdx;
|
|
length = GuildOnboardingConstantsModule.GuildOnboardingModalStates.length;
|
|
object['options_selected'] = length;
|
|
length = GuildOnboardingConstantsModule.GuildOnboardingModalStates.length;
|
|
object['skipped'] = length === 0;
|
|
object['back'] = false;
|
|
object['in_onboarding'] = true;
|
|
object['is_final_step'] = false;
|
|
Reflect.apply(track, defaultImport, [GUILD_ONBOARDING_STEP_COMPLETED, object]);
|
|
length = prompts.length;
|
|
if (currentPromptIdxBinding < length - 1) {
|
|
defaultImport2 = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
|
track = defaultImport2.track;
|
|
GUILD_ONBOARDING_STEP_VIEWED = AnalyticEvents.GUILD_ONBOARDING_STEP_VIEWED;
|
|
object = {};
|
|
moduleValue2 = require(4863) /* metro dependency 4863: AppAnalyticsUtils */;
|
|
copyDataProperties(object, moduleValue2.collectGuildAnalyticsMetadata(guildId), true);
|
|
currentPromptIdxBinding = currentPromptIdx;
|
|
object['step'] = currentPromptIdxBinding + 1;
|
|
object['required'] = prompts[currentPromptIdxBinding + 1].required;
|
|
Reflect.apply(track, defaultImport2, [GUILD_ONBOARDING_STEP_VIEWED, object]);
|
|
}
|
|
value3 = currentPromptIdx + 1;
|
|
length = prompts.length;
|
|
if (value3 < length) {
|
|
binding = env0_9;
|
|
binding.push(GuildOnboardingModalStates.PROMPT, {currentPrompt: currentPromptIdx + 1});
|
|
} else {
|
|
moduleValue3 = require(5105) /* metro dependency 5105: GuildOnboardingUtils */;
|
|
if (moduleValue3.showRulesInOnboarding(guild, rulesPrompt)) {
|
|
binding = env0_9;
|
|
binding.push(GuildOnboardingModalStates.RULES);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
function _fun52315() { // fn#52315, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:8559, offset: 0x013267d3, size: 199 bytes, params: 1, frame: 16
|
|
const r3 = currentPromptIdx !== 0 || result ? currentPromptIdx !== 0 ? (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderBackButton(_fun52317,
|
|
true) : result ? (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderBackButton(_fun52316,
|
|
true) : (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderBackButton(_fun52317,
|
|
true) : (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderCloseButton(_fun52318);
|
|
const binding = env0_9;
|
|
binding.setOptions({headerLeft: r3});
|
|
function _fun52316() { // fn#52316, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:8620, offset: 0x0132689a, size: 178 bytes, params: 1, frame: 19
|
|
let value = environment.__proto__.__proto__;
|
|
const defaultImport = AnalyticsUtils;
|
|
const track = defaultImport.track;
|
|
const GUILD_ONBOARDING_STEP_COMPLETED = AnalyticEvents.GUILD_ONBOARDING_STEP_COMPLETED;
|
|
const object = {};
|
|
value = require(4863) /* metro dependency 4863: AppAnalyticsUtils */;
|
|
copyDataProperties(object, value.collectGuildAnalyticsMetadata(guildId), undefined);
|
|
object['step'] = 0;
|
|
object['skipped'] = false;
|
|
object['back'] = true;
|
|
object['options_selected'] = env1_15.length;
|
|
object['in_onboarding'] = true;
|
|
object['is_final_step'] = false;
|
|
Reflect.apply(track, defaultImport, [GUILD_ONBOARDING_STEP_COMPLETED, object]);
|
|
env1_9.pop();
|
|
}
|
|
|
|
function _fun52317() { // fn#52317, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:8852, offset: 0x0132694c, size: 274 bytes, params: 1, frame: 28
|
|
let value = environment.__proto__.__proto__;
|
|
const defaultImport = AnalyticsUtils;
|
|
let track = defaultImport.track;
|
|
const GUILD_ONBOARDING_STEP_COMPLETED = AnalyticEvents.GUILD_ONBOARDING_STEP_COMPLETED;
|
|
let object = {};
|
|
value = require(4863) /* metro dependency 4863: AppAnalyticsUtils */;
|
|
const collectGuildAnalyticsMetadata = value.collectGuildAnalyticsMetadata;
|
|
const guildIdBinding = guildId;
|
|
copyDataProperties(object, Reflect.apply(collectGuildAnalyticsMetadata, value, [guildIdBinding]), undefined);
|
|
const currentPromptIdxBinding = currentPromptIdx;
|
|
object['step'] = currentPromptIdxBinding;
|
|
object['skipped'] = false;
|
|
object['back'] = true;
|
|
const length = env1_15.length;
|
|
object['options_selected'] = length;
|
|
object['in_onboarding'] = true;
|
|
object['is_final_step'] = false;
|
|
Reflect.apply(track, defaultImport, [GUILD_ONBOARDING_STEP_COMPLETED, object]);
|
|
value = defaultImport;
|
|
track = value.track;
|
|
const GUILD_ONBOARDING_STEP_VIEWED = AnalyticEvents.GUILD_ONBOARDING_STEP_VIEWED;
|
|
object = {};
|
|
const appAnalyticsUtilsModule = require(4863) /* metro dependency 4863: AppAnalyticsUtils */;
|
|
copyDataProperties(object, appAnalyticsUtilsModule.collectGuildAnalyticsMetadata(guildIdBinding), length);
|
|
object['step'] = currentPromptIdxBinding - 1;
|
|
object['required'] = prompts[currentPromptIdxBinding - 1].required;
|
|
Reflect.apply(track, value, [GUILD_ONBOARDING_STEP_VIEWED, object]);
|
|
env1_9.pop();
|
|
}
|
|
|
|
function _fun52318() { // fn#52318, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6795:9213, offset: 0x01326a5e, size: 338 bytes, params: 1, frame: 20
|
|
var onCloseBinding;
|
|
var channel;
|
|
var moduleValue2;
|
|
var moduleValue3;
|
|
const defaultImport = AnalyticsUtils;
|
|
const track = defaultImport.track;
|
|
const GUILD_ONBOARDING_STEP_COMPLETED = AnalyticEvents.GUILD_ONBOARDING_STEP_COMPLETED;
|
|
const object = {};
|
|
copyDataProperties(object, AppAnalyticsUtilsModule.collectGuildAnalyticsMetadata(guildId), undefined);
|
|
object['step'] = 0;
|
|
object['skipped'] = true;
|
|
object['back'] = false;
|
|
object['options_selected'] = 0;
|
|
object['in_onboarding'] = true;
|
|
object['is_final_step'] = false;
|
|
Reflect.apply(track, defaultImport, [GUILD_ONBOARDING_STEP_COMPLETED, object]);
|
|
if (backShouldLeaveGuild) {
|
|
guildIdBinding = guildId;
|
|
onCloseBinding = onClose;
|
|
channel = ChannelStore.getChannel(SelectedChannelStore.getLastSelectedChannelId());
|
|
if (channel == null) {
|
|
moduleValue2 = require(1230) /* metro dependency 1230: router_utils */;
|
|
moduleValue2.transitionTo(Routes.ME, {navigationReplace: true});
|
|
} else if (channel.guild_id !== guildIdBinding) {
|
|
moduleValue3 = require(1230) /* metro dependency 1230: router_utils */;
|
|
moduleValue3.transitionTo(Routes.CHANNEL(channel.guild_id, channel.id));
|
|
} else {
|
|
moduleValue2 = require(1230) /* metro dependency 1230: router_utils */;
|
|
moduleValue2.transitionTo(Routes.ME, {navigationReplace: true});
|
|
}
|
|
onCloseBinding();
|
|
} else {
|
|
onClose();
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun52289, 6617, [57, 5, 31, 27, 4502, 6616, 1379, 1867, 1934, 6603, 5106, 6600, 661, 33, 1230, 4501,
|
|
5314, 697, 1475, 4000, 5475, 4589, 676, 566, 1585, 1484, 4017, 6606, 5105, 1423, 1852, 683, 4863, 4504, 5282,
|
|
6618, 6620, 1360, 6760, 4573, 1244, 6766,
|
|
2]) /* metro module 6617, dependencies: [57, 5, 31, 27, 4502, 6616, 1379, 1867, 1934, 6603, 5106, 6600, 661, 33, 1230, 4501, 5314, 697, 1475, 4000, 5475, 4589, 676, 566, 1585, 1484, 4017, 6606, 5105, 1423, 1852, 683, 4863, 4504, 5282, 6618, 6620, 1360, 6760, 4573, 1244, 6766, 2] */;
|