This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,57 +1,62 @@
/* Metro module 9470; source: modules/activities/records/CustomActivityLinkRecord.tsx; dependencies: [6, 7, 9471, 6873, 9468, 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 CustomActivityLinkUtilsModule from '../../../external/discord_common/js/shared/activities/utils/CustomActivityLinkUtils.tsx'; /* Metro dependency 9471 */
function _fun73649(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73649, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9656:6, offset: 0x01d73ee6, size: 134 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 = _fun73650();
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activities/records/CustomActivityLinkRecord.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/activities/records/CustomActivityLinkRecord.tsx');
exports.default = value;
}
function _fun73650() { // fn#73650, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9656:118, offset: 0x01d73f6c, size: 59 bytes, params: 1, frame: 14
return CreateClass(CustomActivityLinkRecord, [{key: 'getAssetURL', value: value_73652}]);
function CustomActivityLinkRecord(a0) { // fn#73651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9656:139, offset: 0x01d73fa7, size: 213 bytes, params: 2, frame: 16
let value = environment.__proto__;
const binding = env1_2;
const value3 = undefined;
binding(this, CustomActivityLinkRecord);
value = Reflect.apply((require(9471) /* metro dependency 9471: CustomActivityLinkUtils */).decodeCustomActivityLink,
value, [a0.link_id]);
const value4 = null;
const type = value4 == value ? value3 : value.type;
this.type = value4 != type ? type : value4;
this.applicationId = a0.application_id;
this.linkId = a0.link_id;
this.assetId = 'asset_id' in a0 ? a0.asset_id : value3;
this.assetPath = 'asset_path' in a0 ? a0.asset_path : value3;
this.title = a0.title;
this.description = a0.description;
this.customId = a0.custom_id;
return value3;
}
function _fun73650() { // fn#73650, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9656:118, offset: 0x01d73f6c, size: 59 bytes, params: 1, frame: 14
return env0_3(CustomActivityLinkRecord, [{key: 'getAssetURL', value: value_73652}]);
}
function value_73652() { // fn#73652, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9656:574, offset: 0x01d7407c, size: 180 bytes, params: 1, frame: 17
var r0;
const type = this.type;
let value = environment.__proto__;
const value2 = undefined;
const CustomLinkType = (CustomActivityLinkUtilsModule).CustomLinkType;
const MANAGED = CustomLinkType.MANAGED;
if (type === MANAGED) {
value = require(6873) /* metro dependency 6873: ApplicationAssetUtils */;
value = value.getAssetImage(this.applicationId, this.assetId, 512);
r0 = value;
} else if (this.type !== CustomLinkType.QUICK) {
r0 = value2;
} else {
value = require(9468) /* metro dependency 9468: CustomActivityLinkUtils */;
value = value.getQuickLinkImage(this.assetPath);
r0 = value;
}
return r0;
}
function CustomActivityLinkRecord(a0) { // fn#73651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9656:139, offset: 0x01d73fa7, size: 213 bytes, params: 2, frame: 16
let value = environment.__proto__;
const binding = env1_2;
const value3 = undefined;
binding(this, CustomActivityLinkRecord);
value = Reflect.apply((require(9471) /* metro dependency 9471: CustomActivityLinkUtils */).decodeCustomActivityLink,
value, [a0.link_id]);
const value4 = null;
const type = value4 == value ? value3 : value.type;
this.type = value4 != type ? type : value4;
this.applicationId = a0.application_id;
this.linkId = a0.link_id;
this.assetId = 'asset_id' in a0 ? a0.asset_id : value3;
this.assetPath = 'asset_path' in a0 ? a0.asset_path : value3;
this.title = a0.title;
this.description = a0.description;
this.customId = a0.custom_id;
return value3;
}
function value_73652() { // fn#73652, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9656:574, offset: 0x01d7407c, size: 180 bytes, params: 1, frame: 17
var r0;
const type = this.type;
let value = environment.__proto__;
const value2 = undefined;
const CustomLinkType = (require(9471) /* metro dependency 9471: CustomActivityLinkUtils */).CustomLinkType;
const MANAGED = CustomLinkType.MANAGED;
if (type === MANAGED) {
value = require(6873) /* metro dependency 6873: ApplicationAssetUtils */;
value = value.getAssetImage(this.applicationId, this.assetId, 512);
r0 = value;
} else if (this.type !== CustomLinkType.QUICK) {
r0 = value2;
} else {
value = require(9468) /* metro dependency 9468: CustomActivityLinkUtils */;
value = value.getQuickLinkImage(this.assetPath);
r0 = value;
}
return r0;
}
global.__d(_fun73649, 9470, [6, 7, 9471, 6873, 9468,
2]) /* metro module 9470, dependencies: [6, 7, 9471, 6873, 9468, 2] */;