/* Metro module 11075; source: modules/stickers/native/StickerPickerEmptyState.tsx; dependencies: [57, 31, 27, 6583, 3832, 661, 1880, 33, 4501, 11049, 10970, 6771, 6789, 566, 683, 4573, 1244, 5278, 4081, 4082, 4578, 5475, 7938, 11069, 2] */ import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */ import HapticFeedbackTypes from '../../haptics/HapticFeedbackTypes.tsx'; /* Metro dependency 4082 */ import StickersStore from '../StickersStore.tsx'; /* Metro dependency 6583 */ import UseAnalyticsLocations from '../../app_analytics/useAnalyticsLocations.tsx'; /* Metro dependency 6771 */ import AnalyticsLocation from '../../app_analytics/AnalyticsLocation.tsx'; /* Metro dependency 6789 */ 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 ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */ import * as PremiumConstantsModule from '../../premium/PremiumConstants.tsx'; /* Metro dependency 1880 */ import * as StickersConstantsModule from '../StickersConstants.tsx'; /* Metro dependency 3832 */ import * as HapticUtilsNativeModule from '../../haptics/HapticUtils.native.tsx'; /* Metro dependency 4081 */ import * as CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */ import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */ import * as ButtonNativeModule from '../../../design/components/Button/native/Button.native.tsx'; /* Metro dependency 4578 */ import * as PressablesModule from '../../../design/void/Pressables/native/Pressables.tsx'; /* Metro dependency 5278 */ import * as StickersHooksModule from '../StickersHooks.tsx'; /* Metro dependency 11049 */ function _fun84775(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84775, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11261:6, offset: 0x01f56f0f, size: 419 bytes, params: 8, frame: 21 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ConstantsModule; const env0_8 = value.AnalyticEvents; const env0_9 = value.AnalyticsSections; value = require(33) /* metro dependency 33 */; const env0_11 = value.jsx; const env0_12 = value.jsxs; const env0_13 = (CreateStylesModule).createStyles({header: {'marginBottom': 8, 'textAlign': 'center'}, blurb: {'lineHeight': 18, 'textAlign': 'center', 'marginBottom': 12}, premiumButton: {'marginTop': 20, 'alignSelf': 'center', 'paddingLeft': 5, 'paddingRight': 10, 'flexGrow': 0}, nitroWheel: {width: 32}, stickersRow: {'flexDirection': 'row', 'alignSelf': 'center'}, sticker: {paddingHorizontal: 2}}); (FileImportTrackerModule).fileFinishedImporting('modules/stickers/native/StickerPickerEmptyState.tsx'); exports.default = _default_84777; function EmptyStateSticker({sticker, isFocused}) { // fn#84776, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11261:617, offset: 0x01f570b2, size: 115 bytes, params: 2, frame: 17 return ((Component) => )(importDefault(10970) /* metro dependency 10970: Sticker */); } function _default_84777() { // fn#84777, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11261:766, offset: 0x01f57125, size: 679 bytes, params: 1, frame: 27 const styles = useStyles(); (StickersHooksModule).useFetchStickerPacks(); let defaultImport = UseAnalyticsLocations; const EMPTY_STATE = (AnalyticsLocation).EMPTY_STATE; const analyticsLocations = defaultImport(EMPTY_STATE).analyticsLocations; const value2 = (FluxModule).useStateFromStoresArray([StickersStore], _fun84778); const [env0_2, env0_3] = env0_3Binding(ReactModule.useState(null), 2); ReactModule.useEffect(function() { var defaultImport = importDefault(dependencyMap[14]); var PREMIUM_UPSELL_VIEWED = AnalyticEvents.PREMIUM_UPSELL_VIEWED; defaultImport.track(PREMIUM_UPSELL_VIEWED, {type: PremiumUpsellTypes.EMPTY_STICKER_PICKER_UPSELL, source: {section: AnalyticsSections.EMPTY_STICKER_PICKER_UPSELL}, location_stack: analyticsLocations}); }, [analyticsLocations]); const Text = (TextModule).Text; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; const HEm04J = (require(1244) /* metro dependency 1244: indexNative */).t.HEm04J; const items2 = [ {Reflect.apply(string, intl, [HEm04J])} , ]; string = intl.string; const FnNud4 = (require(1244) /* metro dependency 1244: indexNative */).t.FnNud4; items2[1] = ( {Reflect.apply(string, intl, [FnNud4])} ); items2[2] = ( {value2.map(_fun84782)} ); const Button = (ButtonNativeModule).Button; items2[3] = (