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,45 @@
/* Metro module 5213; source: modules/application_widget/ApplicationWidgetConfig.tsx; dependencies: [6, 7, 1854, 2] */
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 env0_2 = importDefault(6) /* metro dependency 6 */;
const env0_3 = importDefault(7) /* metro dependency 7 */;
const value = _fun45983();
(require(2) /* metro dependency 2 */).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 (require(1854) /* metro dependency 1854: apex */).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 env0_3(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;
}