46 lines
3.1 KiB
TypeScript
46 lines
3.1 KiB
TypeScript
/* Metro module 9408; source: modules/oauth2/Utils.tsx; dependencies: [661, 9393, 1244, 2] */
|
|
function _fun73321(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73321, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9594:6, offset: 0x01d6850b, size: 117 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = (require(661) /* metro dependency 661: Constants */).MarketingURLs;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/oauth2/Utils.tsx');
|
|
exports.getApplicationDetailsText = getApplicationDetailsText;
|
|
}
|
|
|
|
function getApplicationDetailsText(a0) { // fn#73322, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9594:206, offset: 0x01d68580, size: 559 bytes, params: 2, frame: 18
|
|
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const isSocialLayerParentApplication = (require(9393) /* metro dependency 9393: useIsSocialLayerParentApplication */).getIsSocialLayerParentApplication(a0);
|
|
if (a0.privacy_policy_url == null) {
|
|
if (a0.privacy_policy_url != null) {
|
|
return intl.format(isSocialLayerParentApplication ? t.pYVSah : t.TBvmM2, {application: a0.name,
|
|
privacyPolicyURL: a0.privacy_policy_url, discordPrivacyPolicyURL: MarketingURLs.PRIVACY});
|
|
}
|
|
if (a0.terms_of_service_url != null) {
|
|
return intl.format(isSocialLayerParentApplication ? t.nBLOp5 : t['q0T/Q1'], {application: a0.name,
|
|
termsOfServiceURL: a0.terms_of_service_url, discordPrivacyPolicyURL: MarketingURLs.PRIVACY});
|
|
}
|
|
return intl.format(isSocialLayerParentApplication ? t['8LemYv'] : t['3Ywek3'], {application: a0.name,
|
|
discordPrivacyPolicyURL: MarketingURLs.PRIVACY});
|
|
}
|
|
if (a0.terms_of_service_url != null) {
|
|
return intl.format(isSocialLayerParentApplication ? t.yVfotv : t.rxlyKL, {application: a0.name,
|
|
privacyPolicyURL: a0.privacy_policy_url, termsOfServiceURL: a0.terms_of_service_url,
|
|
discordPrivacyPolicyURL: MarketingURLs.PRIVACY});
|
|
}
|
|
if (a0.privacy_policy_url != null) {
|
|
return intl.format(isSocialLayerParentApplication ? t.pYVSah : t.TBvmM2, {application: a0.name,
|
|
privacyPolicyURL: a0.privacy_policy_url, discordPrivacyPolicyURL: MarketingURLs.PRIVACY});
|
|
}
|
|
if (a0.terms_of_service_url != null) {
|
|
return intl.format(isSocialLayerParentApplication ? t.nBLOp5 : t['q0T/Q1'], {application: a0.name,
|
|
termsOfServiceURL: a0.terms_of_service_url, discordPrivacyPolicyURL: MarketingURLs.PRIVACY});
|
|
}
|
|
const r7 = isSocialLayerParentApplication ? t['8LemYv'] : t['3Ywek3'];
|
|
const format = intl.format;
|
|
const PRIVACY = MarketingURLs.PRIVACY;
|
|
return Reflect.apply(format, intl, [r7, {application: a0.name, discordPrivacyPolicyURL: PRIVACY}]);
|
|
}
|
|
|