/* Metro module 5213; source: modules/application_widget/ApplicationWidgetConfig.tsx; dependencies: [6, 7, 1854, 2] */ import ClassCallCheck from '../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import CreateClass from '../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ApexModule from '../experiments/apex/index.tsx'; /* Metro dependency 1854 */ function _fun45981(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#45981, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5391:6, offset: 0x0119d1ec, size: 141 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const value = _fun45983(); (FileImportTrackerModule).fileFinishedImporting('modules/application_widget/ApplicationWidgetConfig.tsx'); exports.ApplicationWidgetConfig = value; function createExperiment_45982(a0) { // fn#45982, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5391:116, offset: 0x0119d279, size: 97 bytes, params: 2, frame: 15 return (ApexModule).createApexExperiment({name: a0, kind: 'user', variations: {[0]: {enabled: false}, [1]: {enabled: true}}, defaultConfig: {enabled: false}}); } function _fun45983() { // fn#45983, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5391:279, offset: 0x0119d2da, size: 82 bytes, params: 1, frame: 15 return CreateClass(ApplicationWidgetConfig, [{key: 'isEligibleForEditProfileUpsell', value: function() { return this.editProfileLinkedDc != null && this.editProfileUnlinkedDc != null; }}, {key: 'isEligibleForSuggestions', value: function() { return this.suggestedWidgetLinkedDc != null; }}]); function ApplicationWidgetConfig(a0) { // fn#45984, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5391:300, offset: 0x0119d32c, size: 234 bytes, params: 2, frame: 15 const value = environment.__proto__; const binding = env1_2; const value3 = undefined; binding(this, ApplicationWidgetConfig); this.applicationId = a0.application_id; this.widgetTemplateId = a0.widget_template_id; const createExperiment_45982Binding = createExperiment_45982; this.viewExperiment = createExperiment_45982Binding(a0.view_experiment); this.editExperiment = createExperiment_45982Binding(a0.edit_experiment); this.coachmarkExperiment = a0.coachmark_experiment != null ? createExperiment_45982(a0.coachmark_experiment) : value3; this.editProfileUpsellImage = a0.edit_profile_upsell_image; this.heroPlaceholderImage = a0.hero_placeholder_image; this.miniPreviewImage = a0.mini_preview_image; this.editProfileUnlinkedDc = a0.edit_profile_unlinked_dc; this.editProfileLinkedDc = a0.edit_profile_linked_dc; this.suggestedWidgetLinkedDc = a0.suggested_widget_linked_dc; return value3; } } } global.__d(_fun45981, 5213, [6, 7, 1854, 2]) /* metro module 5213, dependencies: [6, 7, 1854, 2] */;