/* Metro module 13655; source: modules/quests/native/QuestDock/QuestDockUnenrolledHeader.tsx; dependencies: [57, 31, 27, 6528, 13572, 482, 33, 4501, 697, 4577, 13650, 13573, 478, 13569, 13580, 6531, 7120, 4048, 4002, 5176, 3860, 13652, 4017, 13568, 8141, 13656, 13631, 5475, 13658, 13659, 13622, 4573, 1244, 5278, 10139, 8638, 2] */ function _fun104295(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#104295, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:6, offset: 0x0228f0a7, size: 725 bytes, params: 8, frame: 23 var object2; const env0_0 = require; const 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 */; const env0_5 = value2.AccessibilityInfo; const env0_6 = value2.View; const env0_7 = (require(6528) /* metro dependency 6528: QuestConstants */).QuestDockMode; const questDockConstantsModule = require(13572) /* metro dependency 13572: QuestDockConstants */; const env0_8 = questDockConstantsModule.QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED; const env0_9 = questDockConstantsModule.QUEST_DOCK_CONTENT_BORDER_RADII; const QUEST_DOCK_COLLAPSED_HEIGHT = questDockConstantsModule.QUEST_DOCK_COLLAPSED_HEIGHT; const env0_10 = questDockConstantsModule.QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED; const env0_11 = questDockConstantsModule.QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED; const env0_12 = (require(482) /* metro dependency 482: Constants */).ThemeTypes; const value4 = require(33) /* metro dependency 33 */; const env0_13 = value4.jsx; const env0_14 = value4.jsxs; const env0_15 = value4.Fragment; const createStylesModule = require(4501) /* metro dependency 4501: createStyles */; const createStyles = createStylesModule.createStyles; object2 = {}; object2.questDockHeader = {'alignItems': 'center', 'justifyContent': 'space-between', 'flexDirection': 'row', 'height': null, 'overflow': 'hidden', 'paddingRight': 16, 'paddingLeft': 8, 'position': 'absolute', 'zIndex': 2, height: QUEST_DOCK_COLLAPSED_HEIGHT}; object2.wreathImage = {'height': 35, 'marginRight': 4, 'width': 35}; object2.questDockHeaderPrimary = {'alignItems': 'center', 'flexDirection': 'row'}; object2.logo = {marginTop: 2}; object2.questDockHeaderSecondary = {'flexGrow': 0, 'flexShrink': 0}; object2.questDockHeaderContentCollapsed = {'justifyContent': 'center', 'position': 'absolute', 'bottom': 0, 'top': 0, 'right': 0}; object2.questDockHeaderContentExpanded = {'alignItems': 'center', 'flexDirection': 'row', 'gap': 8}; object2.questDockHeaderActionDisclosures = {'alignItems': 'center', 'display': 'flex', 'flexDirection': 'row', 'gap': 4}; object2.questDockHeaderActionDisclosuresIcon = {'height': 14, 'width': 14}; const TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_DEFAULT; object2.questDockHeaderActionSeparator = {'backgroundColor': null, 'opacity': 0.2, 'height': 18, 'width': 1.5, backgroundColor: TEXT_DEFAULT}; object2.questDockHeaderTertiaryContent = {opacity: 0.7}; const env0_16 = Reflect.apply(createStyles, createStylesModule, [object2]); object2 = {code: 'function questDockHeaderLayoutAnimation_QuestDockUnenrolledHeaderTsx1(values){const{withSpring,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED}=this.__closure;return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{originX:withSpring(values.targetOriginX,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED),originY:withSpring(values.targetOriginY,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED),height:withSpring(values.targetHeight,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED),width:withSpring(values.targetWidth,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED)}};}'}; const env0_18 = _fun104296(); object2 = {code: 'function QuestDockUnenrolledHeaderTsx2(){const{activeQuestDockMode,QuestDockMode,QUEST_DOCK_CONTENT_BORDER_RADII,questDockBorderRadius,youBarEnabled,withSpring,questDockAnimatedBorderRadius,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED,questDockWrapperSpecs,QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED}=this.__closure;return{borderTopLeftRadius:activeQuestDockMode.get()===QuestDockMode.EXPANDED?QUEST_DOCK_CONTENT_BORDER_RADII:questDockBorderRadius,borderTopRightRadius:activeQuestDockMode.get()===QuestDockMode.EXPANDED?QUEST_DOCK_CONTENT_BORDER_RADII:questDockBorderRadius,borderBottomLeftRadius:activeQuestDockMode.get()===QuestDockMode.EXPANDED?QUEST_DOCK_CONTENT_BORDER_RADII:youBarEnabled?withSpring(questDockAnimatedBorderRadius.get(),QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED):questDockBorderRadius,borderBottomRightRadius:activeQuestDockMode.get()===QuestDockMode.EXPANDED?QUEST_DOCK_CONTENT_BORDER_RADII:youBarEnabled?withSpring(questDockAnimatedBorderRadius.get(),QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED):questDockBorderRadius,width:activeQuestDockMode.get()===QuestDockMode.EXPANDED?questDockWrapperSpecs.get().width-QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED*2:questDockWrapperSpecs.get().width,transform:[{translateX:withSpring(activeQuestDockMode.get()===QuestDockMode.EXPANDED?QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED:0,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED)},{translateY:withSpring(activeQuestDockMode.get()===QuestDockMode.EXPANDED?QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED:0,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED)}]};}'}; object2 = {code: 'function QuestDockUnenrolledHeaderTsx3(){const{withSpring,activeQuestDockMode,QuestDockMode,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED}=this.__closure;return{opacity:withSpring(activeQuestDockMode.get()===QuestDockMode.EXPANDED?0:1,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED)};}'}; object2 = {code: 'function QuestDockUnenrolledHeaderTsx4(){const{activeQuestDockMode,QuestDockMode,QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED}=this.__closure;return{right:activeQuestDockMode.get()===QuestDockMode.EXPANDED?QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED*-1:0};}'}; object2 = {code: 'function QuestDockUnenrolledHeaderTsx5(){const{withSpring,activeQuestDockMode,QuestDockMode,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED}=this.__closure;return{opacity:withSpring(activeQuestDockMode.get()===QuestDockMode.EXPANDED?1:0,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED)};}'}; object2 = {code: 'function QuestDockUnenrolledHeaderTsx6(){const{activeQuestDockMode,QuestDockMode,QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED}=this.__closure;return{right:activeQuestDockMode.get()===QuestDockMode.EXPANDED?0:QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED};}'}; object2 = {code: "function QuestDockUnenrolledHeaderTsx7(){const{activeQuestDockMode,QuestDockMode}=this.__closure;return{pointerEvents:activeQuestDockMode.get()===QuestDockMode.EXPANDED?'auto':'none'};}"}; object2 = {code: 'function QuestDockUnenrolledHeaderTsx8(){const{activeQuestDockMode,QuestDockMode,QUEST_DOCK_CONTENT_BORDER_RADII,questDockBorderRadius,youBarEnabled,withSpring,questDockAnimatedBorderRadius,QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED,questDockWrapperSpecs}=this.__closure;return{borderRadius:activeQuestDockMode.get()===QuestDockMode.EXPANDED?QUEST_DOCK_CONTENT_BORDER_RADII:questDockBorderRadius,borderBottomLeftRadius:activeQuestDockMode.get()===QuestDockMode.EXPANDED?QUEST_DOCK_CONTENT_BORDER_RADII:youBarEnabled?withSpring(questDockAnimatedBorderRadius.get(),QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED):questDockBorderRadius,borderBottomRightRadius:activeQuestDockMode.get()===QuestDockMode.EXPANDED?QUEST_DOCK_CONTENT_BORDER_RADII:youBarEnabled?withSpring(questDockAnimatedBorderRadius.get(),QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED):questDockBorderRadius,width:questDockWrapperSpecs.get().width};}'}; value = value.memo(QuestDockUnenrolledHeader); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/quests/native/QuestDock/QuestDockUnenrolledHeader.tsx'); exports.default = value; } function _fun104296() { // fn#104296, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:1958, offset: 0x0228f37c, size: 88 bytes, params: 1, frame: 14 const closure = questDockHeaderLayoutAnimation; const object2 = {}; object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring; object2.QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED = QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED; closure.__closure = object2; closure.__workletHash = 6787168806966; closure.__initData = env0_17; return closure; } function QuestDockUnenrolledHeader() { // fn#104298, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:6344, offset: 0x0228f4a1, size: 2221 bytes, params: 1, frame: 42 var object2; let binding = env0_4; let useContext = binding.useContext; const quest = Reflect.apply(useContext, binding, [importDefault(13650) /* metro dependency 13650: QuestDockContext */]).quest; useContext = binding.useContext; const QuestDockGestureContext = (require(13573) /* metro dependency 13573: QuestDockGestureContext */).QuestDockGestureContext; const {activeQuestDockMode, questDockWrapperSpecs} = Reflect.apply(useContext, binding, [QuestDockGestureContext]); const [property, env0_3] = env0_3Binding(binding.useState(false), 2); let closure = _fun104299; binding.useEffect(closure, []); const value5 = (require(13569) /* metro dependency 13569: QuestDockHooks */).useActionSheetPressHandler(quest); const value6 = binding.useCallback(_fun104301, [quest]); const r19 = (require(4002) /* metro dependency 4002: shared */).isThemeDark((importDefault(4048) /* metro dependency 4048: useTheme */)()) ? ThemeTypes.DARK : ThemeTypes.LIGHT; const value8 = (require(5176) /* metro dependency 5176: YouBarExperiment */).useYouBarEnabled('QuestDockUnenrolledHeader'); const useTokenModule = require(3860) /* metro dependency 3860: useToken */; const useToken = useTokenModule.useToken; const QUEST_DOCK_BORDER_RADIUS = (importDefault(697) /* metro dependency 697: native */).modules.mobile.QUEST_DOCK_BORDER_RADIUS; const value9 = Reflect.apply(useToken, useTokenModule, [QUEST_DOCK_BORDER_RADIUS]); const value10 = (importDefault(13652) /* metro dependency 13652: useQuestDockAnimatedBorderRadius */)(value9); const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */; let useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle; closure = QuestDockUnenrolledHeaderB; object2 = {activeQuestDockMode: activeQuestDockMode}; object2.QuestDockMode = QuestDockMode; object2.QUEST_DOCK_CONTENT_BORDER_RADII = QUEST_DOCK_CONTENT_BORDER_RADII; object2.questDockBorderRadius = value9; object2.youBarEnabled = value8; object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring; object2.questDockAnimatedBorderRadius = value10; object2.QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED = QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED; object2.questDockWrapperSpecs = questDockWrapperSpecs; object2.QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED = QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED; closure.__closure = object2; closure.__workletHash = 961167275812; closure.__initData = env0_19; const value11 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]); const moduleValue6 = reanimatedRexportModule; useAnimatedStyle = moduleValue6.useAnimatedStyle; closure = function() { var moduleValue = require(dependencyMap[9]); return {opacity: moduleValue.withSpring(activeQuestDockMode.get() !== QuestDockMode.EXPANDED ? 1 : 0, QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED)}; }; closure.__closure = {withSpring: (require(4577) /* metro dependency 4577: spring */).withSpring, activeQuestDockMode: activeQuestDockMode, QuestDockMode: QuestDockMode, QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED: QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED}; closure.__workletHash = 15527972438968; closure.__initData = env0_20; const value12 = Reflect.apply(useAnimatedStyle, moduleValue6, [closure]); const moduleValue7 = reanimatedRexportModule; useAnimatedStyle = moduleValue7.useAnimatedStyle; closure = QuestDockUnenrolledHeaderK; closure.__closure = {activeQuestDockMode: activeQuestDockMode, QuestDockMode: QuestDockMode, QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED: QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED}; closure.__workletHash = 7866036039040; closure.__initData = env0_21; const value13 = Reflect.apply(useAnimatedStyle, moduleValue7, [closure]); const moduleValue8 = reanimatedRexportModule; useAnimatedStyle = moduleValue8.useAnimatedStyle; closure = function() { var moduleValue = require(dependencyMap[9]); return {opacity: moduleValue.withSpring(activeQuestDockMode.get() !== QuestDockMode.EXPANDED ? 0 : 1, QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED)}; }; closure.__closure = {withSpring: (require(4577) /* metro dependency 4577: spring */).withSpring, activeQuestDockMode: activeQuestDockMode, QuestDockMode: QuestDockMode, QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED: QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED}; closure.__workletHash = 11647269239934; closure.__initData = env0_22; const value14 = Reflect.apply(useAnimatedStyle, moduleValue8, [closure]); const moduleValue9 = reanimatedRexportModule; useAnimatedStyle = moduleValue9.useAnimatedStyle; closure = QuestDockUnenrolledHeaderG; closure.__closure = {activeQuestDockMode: activeQuestDockMode, QuestDockMode: QuestDockMode, QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED: QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED}; closure.__workletHash = 14794727045076; closure.__initData = env0_23; const value15 = Reflect.apply(useAnimatedStyle, moduleValue9, [closure]); const moduleValue10 = reanimatedRexportModule; const useAnimatedProps = moduleValue10.useAnimatedProps; closure = QuestDockUnenrolledHeaderF; closure.__closure = {activeQuestDockMode: activeQuestDockMode, QuestDockMode: QuestDockMode}; closure.__workletHash = 6738114933032; closure.__initData = env0_24; const value16 = Reflect.apply(useAnimatedProps, moduleValue10, [closure]); const moduleValue11 = reanimatedRexportModule; useAnimatedStyle = moduleValue11.useAnimatedStyle; closure = QuestDockUnenrolledHeaderB_104308; object2 = {activeQuestDockMode: activeQuestDockMode, QuestDockMode: QuestDockMode, QUEST_DOCK_CONTENT_BORDER_RADII: QUEST_DOCK_CONTENT_BORDER_RADII, questDockBorderRadius: value9, youBarEnabled: value8}; object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring; object2.questDockAnimatedBorderRadius = value10; object2.QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED = QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED; object2.questDockWrapperSpecs = questDockWrapperSpecs; closure.__closure = object2; closure.__workletHash = 6128777581416; closure.__initData = env0_25; const value17 = Reflect.apply(useAnimatedStyle, moduleValue11, [closure]); const styles = useStyles(); const value18 = (require(13568) /* metro dependency 13568: QuestHooksNative */).useQuestGameLogotypeAssetUrl(quest); const questBarHeroBlurhash = quest.config.assets.questBarHeroBlurhash; const ReanimatedNativeView = importDefault(8141) /* metro dependency 8141: ReanimatedNativeView */; object2 = {style: [styles.questDockHeader, value11], layout: env0_18}; const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */; const items2 = [(platformUtilsModule.isAndroid() || property) && questBarHeroBlurhash != null ? ((Component) => )(importDefault(13656) /* metro dependency 13656: QuestDockBlurredHeaderPlaceholder */) : ((Component) => )(importDefault(13631) /* metro dependency 13631: QuestDockBlurredContentBackground */)]; const FastImage = importDefault(5475) /* metro dependency 5475: FastImage */; const DARK = ThemeTypes.DARK; items2[1] = {((Component) => )(importDefault(13622) /* metro dependency 13622: QuestGameLogotype */)}; const defaultImport8 = ReanimatedNativeView; const items4 = [styles.questDockHeaderContentCollapsed, value13]; binding = env0_18; const defaultImport9 = ReanimatedNativeView; const Text = (require(4573) /* metro dependency 4573: Text */).Text; let questDockHeaderTertiaryContent = styles.questDockHeaderTertiaryContent; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; const defaultImport82 = ((Component) => {((Component) => {intl.string((require(1244) /* metro dependency 1244: indexNative */).t['3mgEQf'])})(defaultImport9)})(defaultImport8); const defaultImport10 = ReanimatedNativeView; const defaultImport11 = ReanimatedNativeView; const items6 = [styles.questDockHeaderContentExpanded, value14]; const PressableOpacity = (require(5278) /* metro dependency 5278: Pressables */).PressableOpacity; const items7 = [styles.questDockHeaderActionDisclosures]; items7[1] = styles.questDockHeaderTertiaryContent; const jsxRuntimeEnv0_15Binding = jsxRuntimeEnv0_15; let value = {intl.string((require(1244) /* metro dependency 1244: indexNative */).t.o6FLcF)}; const CircleQuestionIcon = (require(10139) /* metro dependency 10139: CircleQuestionIcon */).CircleQuestionIcon; let INTERACTIVE_TEXT_ACTIVE = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_ACTIVE; value = <>{value}; const items9 = [value]; items9[1] = ; questDockHeaderTertiaryContent = styles.questDockHeaderTertiaryContent; const MoreHorizontalIcon = (require(8638) /* metro dependency 8638: MoreHorizontalIcon */).MoreHorizontalIcon; INTERACTIVE_TEXT_ACTIVE = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_ACTIVE; items9[2] = ; items2[2] = {defaultImport82}{((Component) => {((Component) => {items9})(defaultImport11)})(defaultImport10)}; return ( {items2} ); } function questDockHeaderLayoutAnimation({currentOriginX, currentOriginY, currentWidth, currentHeight, targetOriginX, targetOriginY, targetHeight, targetWidth}) { // fn#104297, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:2004, offset: 0x0228f3d4, size: 205 bytes, params: 2, frame: 20 const object2 = {}; object2.initialValues = {originX: currentOriginX, originY: currentOriginY, width: currentWidth, height: currentHeight}; const object4 = {}; const value = environment.__proto__; object4.originX = (require(4577) /* metro dependency 4577: spring */).withSpring(targetOriginX, QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED); object4.originY = (require(4577) /* metro dependency 4577: spring */).withSpring(targetOriginY, QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED); object4.height = (require(4577) /* metro dependency 4577: spring */).withSpring(targetHeight, QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED); object4.width = (require(4577) /* metro dependency 4577: spring */).withSpring(targetWidth, QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED); object2.animations = object4; return object2; } function _fun104299() { // fn#104299, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:6568, offset: 0x0228fd4e, size: 104 bytes, params: 1, frame: 14 var environment; var then; var binding; let value = environment.__proto__; const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */; if (platformUtilsModule.isIOS()) { value = AccessibilityInfo.isReduceTransparencyEnabled(); then = value.then; binding = env0_3; Reflect.apply(then, value, [binding]); var env0_0 = AccessibilityInfo.addEventListener('reduceTransparencyChanged', binding); return _fun104300; } } function _fun104301() { // fn#104301, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:6794, offset: 0x0228fdb6, size: 153 bytes, params: 1, frame: 17 const defaultImport = importDefault(13580) /* metro dependency 13580: QuestDisclosureModalActionCreators */; const showModal = defaultImport.showModal; const object3 = {}; object3.quest = quest; object3.isTargetedDisclosure = true; const object4 = {}; const QuestContent = (require(6531) /* metro dependency 6531: QuestTypes */).QuestContent; let QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE; object4.content = QUEST_BAR_MOBILE; const QuestContentCTA = (require(7120) /* metro dependency 7120: AnalyticsTypes */).QuestContentCTA; const CONTEXT_MENU_OPEN_DISCLOSURE = QuestContentCTA.CONTEXT_MENU_OPEN_DISCLOSURE; object4.ctaContent = CONTEXT_MENU_OPEN_DISCLOSURE; QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE; object4.sourceQuestContent = QUEST_BAR_MOBILE; object3.trackingCtx = object4; Reflect.apply(showModal, defaultImport, [object3]); } function QuestDockUnenrolledHeaderB() { // fn#104302, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:7270, owner: QuestDockUnenrolledHeader.B, offset: 0x0228fe4f, size: 545 bytes, params: 1, frame: 21 var r1; var moduleValue; var moduleValue2; const object2 = {}; const value2 = activeQuestDockMode.get(); let EXPANDED = QuestDockMode.EXPANDED; object2.borderTopLeftRadius = value2 === EXPANDED ? QUEST_DOCK_CONTENT_BORDER_RADII : env0_5; const value4 = activeQuestDockMode.get(); EXPANDED = QuestDockMode.EXPANDED; object2.borderTopRightRadius = value4 === EXPANDED ? QUEST_DOCK_CONTENT_BORDER_RADII : env0_5; const value5 = activeQuestDockMode.get(); EXPANDED = QuestDockMode.EXPANDED; if (value5 === EXPANDED) { r1 = QUEST_DOCK_CONTENT_BORDER_RADII; } else if (env0_4) { moduleValue = require(4577) /* metro dependency 4577: spring */; r1 = moduleValue.withSpring(env0_6.get(), QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED); } else { r1 = env0_5; } object2.borderBottomLeftRadius = r1; const value8 = activeQuestDockMode.get(); EXPANDED = QuestDockMode.EXPANDED; if (value8 === EXPANDED) { r1 = QUEST_DOCK_CONTENT_BORDER_RADII; } else if (env0_4) { moduleValue2 = require(4577) /* metro dependency 4577: spring */; r1 = moduleValue2.withSpring(env0_6.get(), QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED); } else { r1 = env0_5; } object2.borderBottomRightRadius = r1; const value11 = activeQuestDockMode.get(); EXPANDED = QuestDockMode.EXPANDED; object2.width = value11 === EXPANDED ? questDockWrapperSpecs.get().width - 2 * QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED : questDockWrapperSpecs.get().width; const springModule = require(4577) /* metro dependency 4577: spring */; let withSpring = springModule.withSpring; const value13 = activeQuestDockMode.get(); EXPANDED = QuestDockMode.EXPANDED; const value14 = 0; const QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED2 = value13 !== EXPANDED ? value14 : QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED; const items2 = [{translateX: Reflect.apply(withSpring, springModule, [QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED2, QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED])}]; const moduleValue4 = springModule; withSpring = moduleValue4.withSpring; const value = activeQuestDockMode.get(); EXPANDED = QuestDockMode.EXPANDED; const QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED3 = value !== EXPANDED ? value14 : QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED; items2[1] = {translateY: Reflect.apply(withSpring, moduleValue4, [QUEST_DOCK_UNENROLLED_HEADER_INSET_EXPANDED3, QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED])}; object2.transform = items2; return object2; } function QuestDockUnenrolledHeaderK() { // fn#104304, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:8365, owner: QuestDockUnenrolledHeader.K, offset: 0x022900c3, size: 57 bytes, params: 1, frame: 12 const value = activeQuestDockMode.get(); const EXPANDED = QuestDockMode.EXPANDED; return {right: value !== EXPANDED ? 0 : -1 * QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED}; } function QuestDockUnenrolledHeaderG() { // fn#104306, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:8853, owner: QuestDockUnenrolledHeader.G, offset: 0x0229014f, size: 47 bytes, params: 1, frame: 12 const value = activeQuestDockMode.get(); const EXPANDED = QuestDockMode.EXPANDED; const QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED2 = value === EXPANDED ? 0 : QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED; return {right: QUEST_DOCK_HORIZONTAL_EDGE_GUTTER_COLLAPSED2}; } function QuestDockUnenrolledHeaderF() { // fn#104307, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:9071, owner: QuestDockUnenrolledHeader.f, offset: 0x0229017e, size: 50 bytes, params: 1, frame: 11 const value = activeQuestDockMode.get(); const EXPANDED = QuestDockMode.EXPANDED; return {pointerEvents: value !== EXPANDED ? 'none' : 'auto'}; } function QuestDockUnenrolledHeaderB_104308() { // fn#104308, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13852:9261, owner: QuestDockUnenrolledHeader.b, offset: 0x022901b0, size: 275 bytes, params: 1, frame: 17 var r2; var moduleValue; var moduleValue2; const object2 = {}; const activeQuestDockModeBinding = activeQuestDockMode; let get = activeQuestDockModeBinding.get; const value2 = Reflect.apply(get, activeQuestDockModeBinding, []); let EXPANDED = QuestDockMode.EXPANDED; object2.borderRadius = value2 === EXPANDED ? QUEST_DOCK_CONTENT_BORDER_RADII : env0_5; const value4 = activeQuestDockMode.get(); EXPANDED = QuestDockMode.EXPANDED; if (value4 === EXPANDED) { r2 = QUEST_DOCK_CONTENT_BORDER_RADII; } else if (env0_4) { moduleValue = require(4577) /* metro dependency 4577: spring */; r2 = moduleValue.withSpring(env0_6.get(), QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED); } else { r2 = env0_5; } object2.borderBottomLeftRadius = r2; const value7 = activeQuestDockMode.get(); EXPANDED = QuestDockMode.EXPANDED; if (value7 === EXPANDED) { r2 = QUEST_DOCK_CONTENT_BORDER_RADII; } else if (env0_4) { moduleValue2 = require(4577) /* metro dependency 4577: spring */; r2 = moduleValue2.withSpring(env0_6.get(), QUEST_DOCK_MODE_CHANGE_PHYSICS_CLAMPED); } else { r2 = env0_5; } object2.borderBottomRightRadius = r2; const questDockWrapperSpecsBinding = questDockWrapperSpecs; get = questDockWrapperSpecsBinding.get; object2.width = Reflect.apply(get, questDockWrapperSpecsBinding, []).width; return object2; }