decord/source/modules/webauthn/native/WebAuthnScreens.tsx

87 lines
2.5 KiB
TypeScript
Raw Normal View History

// Module ID: 14660
// Function ID: 14661
2026-07-20 16:05:17 +00:00
// Name: getScreens
// Dependencies: [14657, 21, 14661, 1114, 14668, 5624, 14663, 14673, 14674, 14677, 14678, 2]
2026-07-20 16:05:17 +00:00
// Exports: getScreens
// Module 14660 (getScreens)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import jsxProd from "jsxProd" /* 21 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import WebAuthnScreens2 from "WebAuthnScreens" /* 14657 */;
import _modDef14663 from "module_14663" /* 14663 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const WebAuthnScreens = WebAuthnScreens2.WebAuthnScreens;
const jsx = jsxProd.jsx;
const result = set.fileFinishedImporting("modules/webauthn/native/WebAuthnScreens.tsx");
2026-07-20 16:05:17 +00:00
export const getScreens = function getScreens(isModal) {
isModal = isModal.isModal;
2026-07-23 10:11:24 +00:00
obj = { [closure_3.MODAL_UPSELL]: obj };
2026-07-20 16:05:17 +00:00
obj = {
title: "",
render() {
return callback2(callback(14661), {});
2026-07-20 16:05:17 +00:00
}
};
2026-07-29 08:29:29 +00:00
obj = { title: null, render: null, headerLeft: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(getSystemLocale.t["0N1s81"]);
2026-07-29 08:29:29 +00:00
obj[1] = function render() {
return callback2(callback(14668), {});
2026-07-20 16:05:17 +00:00
};
let headerCloseButton;
if (isModal) {
let tmp2Result = tmp2(5624);
headerCloseButton = tmp2Result.getHeaderCloseButton(_modDef14663.closePasskeyUpsellModal);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[2] = headerCloseButton;
2026-07-20 16:05:17 +00:00
obj[WebAuthnScreens.INIT] = obj;
2026-08-24 06:08:38 +00:00
obj1 = {
2026-07-20 16:05:17 +00:00
render(arg0) {
const merged = Object.assign(arg0);
return callback2(callback(14673), {});
2026-07-29 08:29:29 +00:00
},
title: null
2026-07-20 16:05:17 +00:00
};
const intl2 = tmp2(1114).intl;
2026-08-24 06:08:38 +00:00
obj1[1] = intl2.string(getSystemLocale.t.UBBwwF);
2026-07-20 16:05:17 +00:00
obj[WebAuthnScreens.EDIT] = obj1;
const obj2 = {
render() {
return callback2(callback(14674), {});
2026-07-29 08:29:29 +00:00
},
title: null
2026-07-20 16:05:17 +00:00
};
const intl3 = tmp2(1114).intl;
2026-08-24 06:08:38 +00:00
obj2[1] = intl3.string(getSystemLocale.t.vrOCCk);
2026-07-20 16:05:17 +00:00
obj[WebAuthnScreens.REGISTER] = obj2;
2026-07-29 08:29:29 +00:00
const obj3 = {
2026-07-20 16:05:17 +00:00
render(arg0) {
const merged = Object.assign(arg0);
return callback2(callback(14677), {});
2026-07-29 08:29:29 +00:00
},
title: null,
headerLeft: null
2026-07-20 16:05:17 +00:00
};
const intl4 = tmp2(1114).intl;
2026-08-24 06:08:38 +00:00
obj3[1] = intl4.string(getSystemLocale.t["cY/IOu"]);
2026-07-20 16:05:17 +00:00
let headerCloseButton1;
if (isModal) {
tmp2Result = tmp2(5624);
headerCloseButton1 = tmp2Result.getHeaderCloseButton(_modDef14663.closePasskeyUpsellModal);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj3[2] = headerCloseButton1;
2026-07-20 16:05:17 +00:00
obj[WebAuthnScreens.NAME] = obj3;
const obj4 = {
render() {
return callback2(callback(14678), {});
2026-07-29 08:29:29 +00:00
},
title: null
2026-07-20 16:05:17 +00:00
};
const intl5 = tmp2(1114).intl;
2026-08-24 06:08:38 +00:00
obj4[1] = intl5.string(getSystemLocale.t["7wPZln"]);
2026-07-20 16:05:17 +00:00
obj[WebAuthnScreens.SUCCESS] = obj4;
return obj;
};