@eid-easy/eideasy-widget 3.9.0 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eideasy-widget.mjs +579 -569
- package/dist/eideasy-widget.umd.js +1 -1
- package/package.json +3 -3
package/dist/eideasy-widget.mjs
CHANGED
|
@@ -9049,7 +9049,7 @@ function requireEideasyBrowserClient() {
|
|
|
9049
9049
|
}, i.nmd = (e2) => (e2.paths = [], e2.children || (e2.children = []), e2);
|
|
9050
9050
|
var o = {};
|
|
9051
9051
|
return (() => {
|
|
9052
|
-
i.r(o), i.d(o, { allMethods: () => c, createClient: () =>
|
|
9052
|
+
i.r(o), i.d(o, { allMethods: () => c, createClient: () => du, default: () => pu, getMethodByHandlingModule: () => u, logLevels: () => xt, methodActionTypes: () => a, methodTypes: () => r2, moduleNames: () => s });
|
|
9053
9053
|
var e2 = {};
|
|
9054
9054
|
function t2(e3) {
|
|
9055
9055
|
return t2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
|
|
@@ -9074,7 +9074,7 @@ function requireEideasyBrowserClient() {
|
|
|
9074
9074
|
}(n3)) in e3 ? Object.defineProperty(e3, n3, { value: r3, enumerable: true, configurable: true, writable: true }) : e3[n3] = r3, e3;
|
|
9075
9075
|
}
|
|
9076
9076
|
i.r(e2), i.d(e2, { hasBrowserEnv: () => Ee2, hasStandardBrowserEnv: () => Ae2, hasStandardBrowserWebWorkerEnv: () => ve2, navigator: () => Ce2, origin: () => be2 });
|
|
9077
|
-
const r2 = { IDENTIFICATION: "identification", SIGNATURE: "signature" }, a = { BE_ID_LOGIN: "be-id-login", EE_ID_LOGIN: "ee-id-login", FI_ID_LOGIN: "fi-id-login", PT_ID_LOGIN: "pt-id-login", LV_ID_LOGIN: "lv-id-login", LT_ID_LOGIN: "lt-id-login", RS_ID_LOGIN: "rs-id-login", EE_MOBILE_ID: "mid-login", EE_WEB_EID_LOGIN: "ee-web-eid-login", LV_EPARAKSTS_MOBILE_LOGIN: "lv-eparaksts-mobile-login", LV_EPARAKSTS_ID_LOGIN: "lv-eparaksts-id-login", LT_MOBILE_ID: "lt-mobile-id", SMART_ID: "smartid", FREJA_EID_LOGIN: "freja-eid-login", ZEALID_LOGIN: "zealid-login", CZ_MOJEID: "mojeid", EDOAPP_EID_LOGIN: "edoapp-eid-login", AT_HANDY_SIGNATUR_LOGIN: "at-handy-signatur-login", FI_FTN_LOGIN: "finnish-ftn-login", ITSME_LOGIN: "itsme-login", ITSME_LOGIN_BASIC: "itsme-login-basic", ITSME_LOGIN_STANDARD: "itsme-login-standard", SE_BANKID_LOGIN: "swedish-bankid-login", IDIN_LOGIN: "idin-login", VERIFAI_LOGIN: "verifai-login", YOONIK_LOGIN: "yoonik-login", PL_MOJEID_LOGIN: "pl-mojeid-login", MIT_ID_LOGIN: "mit-id-login", MIT_ID_2_LOGIN: "mit-id-2-login", NORWEGIAN_BANKID_LOGIN: "norwegian-bankid-login", NORWEGIAN_BANKID_2_LOGIN: "norwegian-bankid-2-login", FTN_LOGIN: "ftn-login", IDIN_CUSTOMER_ID_LOGIN: "idin-customer-id-login", GB_ONE_ID_LOGIN: "gb-one-id-login", VERIFF_LOGIN: "veriff-login", LIDENTITE_NUMERIQUE_LOGIN: "lidentite-numerique-login", GOOGLE_WALLET_LOGIN: "google-wallet-login", AT_EUDI_WALLET_LOGIN: "at-eudi-wallet-login", SPID_LOGIN: "spid-login", EVROTRUST_LOGIN: "evrotrust-login", ZEAL_ID_SIGNATURE: "zealid-signature", EE_IDCARD_SIGNATURE: "id-signature", EE_MOBILEID_SIGNATURE: "mid-signature", LT_MOBILEID_SIGNATURE: "lt-mid-signature", SMARTID_SIGNATURE: "smart-id-signature", BE_IDCARD_SIGNATURE: "be-id-signature", LV_IDCARD_SIGNATURE: "lv-id-signature", LT_IDCARD_SIGNATURE: "lt-id-signature", FI_IDCARD_SIGNATURE: "fi-id-signature", LU_IDCARD_SIGNATURE: "lu-id-signature", PT_IDCARD_SIGNATURE: "pt-id-signature", HR_IDCARD_SIGNATURE: "hr-id-signature", CZ_IDCARD_SIGNATURE: "cz-id-signature", CERTEUROPE_USB_TOKEN_SIGNATURE: "certeurope-usb-token-signature", CERTSIGN_USB_TOKEN_SIGNATURE: "certsign-usb-token-signature", LV_EPARAKSTS_MOBILE_SIGNATURE: "lv-eparaksts-mobile-signature", AT_HANDY_SIGNATUR_SIGNATURE: "at-handy-signatur-signature", REGISTRU_CENTRAS_SIGNATURE: "registru-centras-signature", OTP_EMAIL: "otp-email-non-qualified", FI_FTN_ADVANCED_FULL_SIGNATURE: "fi-ftn-advanced-full-signature", FI_FTN_ADVANCED_SIGNATURE: "fi-ftn-advanced-signature", FI_FTN_QUALIFIED_SIGNATURE: "fi-ftn-qes-signature", EVROTRUST_SIGNATURE: "evrotrust-signature", EVROTRUST_GEDA_SIGNATURE: "evrotrust-geda-signature", CZ_MOJEID_ADVANCED_SIGNATURE: "cz-mojeid-advanced-signature", SERPRO_ID_ADVANCED_SIGNATURE: "serpro-id-advanced-signature", CZ_BANKID_ADVANCED_SIGNATURE: "cz-bankid-advanced-signature", ABA_DO_QES_SIGNATURE: "aba-do-qes-signature", GOOGLE_SIGNATURE: "google-signature", SE_BANKID_SIGNATURE: "swedish-bankid-signature", D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE: "d-trust-sign-me-qes-signature", D_TRUST_SIGN_ME_ADVANCED_SIGNATURE: "d-trust-sign-me-adv-signature", CHAVE_MOVEL_QUALIFIED_SIGNATURE: "chave-movel-qes-signature", CL_ECERT_ADVANCED_SIGNATURE: "cl-ecert-advanced-signature", MIT_ID_SIMPLE_SIGNATURE: "mit-id-simple-signature", DK_MITID_ADVANCED_SIGNATURE: "dk-mitid-advanced-signature", DK_MITID_QES_SIGNATURE: "dk-mitid-qes-signature", SE_BANK_ID_ADVANCED_SIGNATURE: "se-bankid-advanced-signature", SE_BANK_ID_QES_SIGNATURE: "se-bankid-qes-signature", SE_BANK_ID_ADVANCED_HASH_SIGNATURE: "se-bankid-adv-hash-signature", DK_MIT_ID_ADVANCED_HASH_SIGNATURE: "dk-mitid-adv-hash-signature", NO_BANK_ID_ADVANCED_HASH_SIGNATURE: "no-bankid-adv-hash-signature", IT_SPID_QUALIFIED_HASH_SIGNATURE: "it-spid-qes-hash-signature", NORWEGIAN_BANKID_ADVANCED_SIGNATURE: "norwegian-bankid-adv-signature", NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE: "no-bankid-adv-light-signature", IDIN_SIMPLE_SIGNATURE: "idin-simple-signature", VERIFAI_SIMPLE_SIGNATURE: "verifai-simple-signature", SPID_QUALIFIED_SIGNATURE: "spid-qes-signature", FREJA_SIMPLE_SIGNATURE: "freja-simple-signature", AUDKENNI_QUALIFIED_SIGNATURE: "audkenni-qes-signature", YES_COM_QUALIFIED_SIGNATURE: "yes-com-qes-signature", SIMPLY_SIGN_QES_SIGNATURE: "simply-sign-qes-signature", UANATACA_QUALIFIED_SIGNATURE: "uanataca-qes-signature", INFOCERT_QUALIFIED_SIGNATURE: "infocert-qes-signature", CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE: "certsign-webapi-qes-signature", HALCOM_QUALIFIED_SIGNATURE: "halcom-qes-signature", SWISS_ID_QUALIFIED_SIGNATURE: "swiss-id-qes-signature", SWISS_COM_QUALIFIED_SIGNATURE: "swiss-com-qes-signature", SE_FREJA_EID_ADVANCED_SIGNATURE: "se-frejaeid-advanced-signature", SE_FREJA_EID_QES_SIGNATURE: "se-frejaeid-qes-signature", ITSME_QES_SIGNATURE: "itsme-qes-signature", FR_IDENT_ADVANCED_SIGNATURE: "fr-ident-advanced-signature", GB_ONE_ID_ADVANCED_SIGNATURE: "gb-one-id-advanced-signature", HANDWRITTEN_SIMPLE_SIGNATURE: "handwritten-simple-signature", HARICA_QES_SIGNATURE: "harica-qes-signature", VERIFF_ADVANCED_SIGNATURE: "veriff-advanced-signature", LT_ID_QES_SIGNATURE: "lt-id-qes-signature", CERT_STORE_QES_SIGNATURE: "cert-store-qes-signature", CERT_STORE_ADVANCED_SIGNATURE: "cert-store-advanced-signature", CERT_STORE_ADV_UNVERIFIED_SIGN: "cert-store-adv-unverified-sign", BUYPASS_QES_SIGNATURE: "buypass-qes-signature", FI_FTN_INTESI_ADS_SIGNATURE: "fi-ftn-intesi-adv-signature", TRUST_ASIA_SIGNATURE: "trust-asia-signature", MSC_TRUST_GATE_SIGNATURE: "msc-trust-gate-signature", GSE_ADV_SIGNATURE: "gse-adv-signature", CERTME_QES_SIGNATURE: "certme-qes-signature", ES_LLEIDA_ADV_SIGNATURE: "es-lleida-advanced-signature", ADACOM_QES_SIGNATURE: "adacom-qes-signature", ADACOM_ONE_SHOT_QES_SIGNATURE: "adacom-one-shot-qes-signature", DIIA_QES_SIGNATURE: "diia-qes-signature", EMUDHRA_QES_SIGNATURE: "emudhra-qes-signature", MX_PSC_WORLD_ADVANCED_SIGNATURE: "mx-psc-world-adv-signature", TRANS_SPED_QES_SIGNATURE: "trans-sped-qes-signature", VIDA_ADVANCED_SIGNATURE: "vida-advanced-signature", VN_BKAV_TOKEN_SIGNATURE: "vn-bkav-token-signature", VN_CA2_TOKEN_SIGNATURE: "vn-ca2-token-signature", VN_FAST_TOKEN_SIGNATURE: "vn-fast-token-signature", VN_FPT_TOKEN_SIGNATURE: "vn-fpt-token-signature", VN_SMART_TOKEN_SIGNATURE: "vn-smart-token-signature", VN_VIETTEL_TOKEN_SIGNATURE: "vn-viettel-token-signature", VN_VNPT_TOKEN_SIGNATURE: "vn-vnpt-token-signature", DIGILOGIX_QES_SIGNATURE: "digilogix-qes-signature", BUYPASS_ADVANCED_SIGNATURE: "buypass-adv-signature", IGNISIGN_ADVANCED_SIGNATURE: "ignisign-advanced-signature", B_TRUST_QES_SIGNATURE: "b-trust-qes-signature", ES_AUTOFIRMA_SIGNATURE: "es-autofirma-signature", LOCAL_ADV_UNVERIFIED_SIGNATURE: "local-adv-unverified-signature" }, s = { idCard: "idCard", mobileId: "mobileId", webEid: "webEid", eParakstsMobile: "eParakstsMobile", eParakstsSmartCard: "eParakstsSmartCard", smartId: "smartId", frejaEid: "frejaEid", zealId: "zealId", mojeId: "mojeId", edoAppEid: "edoAppEid", atHandy: "atHandy", itsme: "itsme", itsmeBasic: "itsmeBasic", itsmeStandard: "itsmeStandard", seBankId: "seBankId", idin: "idin", idinCustomerId: "idinCustomerId", verifai: "verifai", yoonik: "yoonik", plMojeId: "plMojeId", mitId: "mitId", mitId2: "mitId2", norwegianBankId: "norwegianBankId", norwegianBankId2: "norwegianBankId2", ftn: "ftn", gbOneId: "gbOneId", veriff: "veriff", lIdentiteNumerique: "lIdentiteNumerique", googleWallet: "googleWallet", eudiWallet: "eudiWallet", spid: "spid", evrotrust: "evrotrust", idCardSignature: "idCardSignature", certEuropeUsbTokenSignature: "certEuropeUsbTokenSignature", certSignUsbTokenSignature: "certSignUsbTokenSignature", mobileIdSignature: "mobileIdSignature", smartIdSignature: "smartIdSignature", evroTrustSignature: "evroTrustSignature", evroTrustGedaSignature: "evroTrustGedaSignature", otpSignature: "otpSignature", eParakstsMobileSignature: "eParakstsMobileSignature", ftnAdvancedFullSignature: "ftnAdvancedFullSignature", mitIdAdvancedSignature: "mitIdAdvancedSignature", mitIdQesSignature: "mitIdQesSignature", seBankIdAdvancedSignature: "seBankIdAdvancedSignature", seBankIdQesSignature: "seBankIdQesSignature", seBankIdAdvancedHashSignature: "seBankIdAdvancedHashSignature", dkMitIdAdvancedHashSignature: "dkMitIdAdvancedHashSignature", noBankIdAdvancedHashSignature: "noBankIdAdvancedHashSignature", itSpidQualifiedHashSignature: "itSpidQualifiedHashSignature", ftnSignature: "ftnSignature", ftnQesSignature: "ftnQesSignature", atHandySignature: "atHandySignature", zealIdSignature: "zealIdSignature", mojeIdSignature: "mojeIdSignature", serproIdAdvancedSignature: "serproIdAdvancedSignature", czBankIDSignature: "czBankIDSignature", abaDoSignature: "abaDoSignature", googleSignature: "googleSignature", seBankIdSignature: "seBankIdSignature", dTrustSignMeSignature: "dTrustSignMeSignature", dTrustSignMeAdvSignature: "dTrustSignMeAdvSignature", chaveMovelSignature: "chaveMovelSignature", eCertChileSignature: "eCertChileSignature", mitIdSignature: "mitIdSignature", noBankIdAdvSignature: "noBankIdAdvSignature", noBankIdAdvLightSignature: "noBankIdAdvLightSignature", idinSignature: "idinSignature", verifaiSignature: "verifaiSignature", spidQesSignature: "spidQesSignature", frejaSimpleSignature: "frejaSimpleSignature", audkenniQesSignature: "audkenniQesSignature", yesComQesSignature: "yesComQesSignature", simplySignQesSignature: "simplySignQesSignature", uanatacaQesSignature: "uanatacaQesSignature", infoCertQesSignature: "infoCertQesSignature", certsignWebapiQesSignature: "certsignWebapiQesSignature", halcomQesSignature: "halcomQesSignature", swissIdQesSignature: "swissIdQesSignature", swissComQesSignature: "swissComQesSignature", frejaAdvancedSignature: "frejaAdvancedSignature", frejaQesSignature: "frejaQesSignature", itsmeQesSignature: "itsmeQesSignature", frIdentAdvancedSignature: "frIdentAdvancedSignature", gbOneIdAdvancedSignature: "gbOneIdAdvancedSignature", handwrittenSignature: "handwrittenSignature", haricaQesSignature: "haricaQesSignature", veriffAdvancedSignature: "veriffAdvancedSignature", ltIdQesSignature: "ltIdQesSignature", buypassQesSignature: "buypassQesSignature", intesiFtnAdvSignature: "intesiFtnAdvSignature", certStoreQesSignature: "certStoreQesSignature", certStoreAdvancedSignature: "certStoreAdvancedSignature", certStoreAdvancedUnverifiedSignature: "certStoreAdvancedUnverifiedSignature", trustAsiaSignature: "trustAsiaSignature", mscTrustGateSignature: "mscTrustGateSignature", gseAdvSignature: "gseAdvSignature", certMeQesSignature: "certMeQesSignature", esLleidaAdvSignature: "esLleidaAdvSignature", adacomQesSignature: "adacomQesSignature", adacomOneShotQesSignature: "adacomOneShotQesSignature", diiaQesSignature: "diiaQesSignature", emudhraQesSignature: "emudhraQesSignature", mxPscWorldAdvancedSignature: "mxPscWorldAdvancedSignature", transSpedQesSignature: "transSpedQesSignature", vidaAdvancedSignature: "vidaAdvancedSignature", vnBkavTokenSignature: "vnBkavTokenSignature", vnCa2TokenSignature: "vnCa2TokenSignature", vnFastTokenSignature: "vnFastTokenSignature", vnFptTokenSignature: "vnFptTokenSignature", vnSmartTokenSignature: "vnSmartTokenSignature", vnViettelTokenSignature: "vnViettelTokenSignature", vnVnptTokenSignature: "vnVnptTokenSignature", digilogixQesSignature: "digilogixQesSignature", buypassAdvancedSignature: "buypassAdvancedSignature", igniSignAdvancedSignature: "igniSignAdvancedSignature", bTrustQesSignature: "bTrustQesSignature", esAutofirmaSignature: "esAutofirmaSignature", localAdvUnverifiedSignature: "localAdvUnverifiedSignature" }, c = Object.freeze({ [r2.IDENTIFICATION]: [{ actionType: a.BE_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["BE"] }, { actionType: a.EE_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["EE"] }, { actionType: a.FI_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["FI"] }, { actionType: a.LV_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["LV"] }, { actionType: a.LT_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["LT"] }, { actionType: a.PT_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["PT"] }, { actionType: a.RS_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["RS"] }, { actionType: a.LV_EPARAKSTS_MOBILE_LOGIN, handlingModule: s.eParakstsMobile, supportedCountries: ["LV"] }, { actionType: a.LV_EPARAKSTS_ID_LOGIN, handlingModule: s.eParakstsSmartCard, supportedCountries: ["LV"] }, { actionType: a.LT_MOBILE_ID, handlingModule: s.mobileId, supportedCountries: ["LT"] }, { actionType: a.EE_MOBILE_ID, handlingModule: s.mobileId, supportedCountries: ["EE"] }, { actionType: a.SMART_ID, handlingModule: s.smartId, supportedCountries: ["EE", "LV", "LT", "BE"] }, { actionType: a.EE_WEB_EID_LOGIN, handlingModule: s.webEid, supportedCountries: ["EE"] }, { actionType: a.FREJA_EID_LOGIN, handlingModule: s.frejaEid, supportedCountries: ["AD", "AF", "AG", "AO", "AL", "AM", "AR", "AU", "AS", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "DZ", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW", "BZ"] }, { actionType: a.ZEALID_LOGIN, handlingModule: s.zealId, supportedCountries: ["AT", "BE", "BG", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "HR", "HU", "IE", "IT", "LV", "LT", "NL", "NO", "PL", "PT", "RO", "RS", "SE", "SI", "SK"] }, { actionType: a.CZ_MOJEID, handlingModule: s.mojeId, supportedCountries: ["CZ"] }, { actionType: a.EDOAPP_EID_LOGIN, handlingModule: s.edoAppEid, supportedCountries: ["PL"] }, { actionType: a.FI_FTN_LOGIN, handlingModule: s.finnishTrustNetwork, supportedCountries: ["FI"] }, { actionType: a.AT_HANDY_SIGNATUR_LOGIN, handlingModule: s.atHandy, supportedCountries: ["AT"] }, { actionType: a.ITSME_LOGIN, handlingModule: s.itsme, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK", "HR", "CY", "LT", "LV", "MT", "SI"] }, { actionType: a.ITSME_LOGIN_BASIC, handlingModule: s.itsmeBasic, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK", "HR", "CY", "LT", "LV", "MT", "SI"] }, { actionType: a.ITSME_LOGIN_STANDARD, handlingModule: s.itsmeStandard, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK", "HR", "CY", "LT", "LV", "MT", "SI"] }, { actionType: a.SE_BANKID_LOGIN, handlingModule: s.seBankId, supportedCountries: ["SE"] }, { actionType: a.IDIN_LOGIN, handlingModule: s.idin, supportedCountries: ["NL"] }, { actionType: a.IDIN_CUSTOMER_ID_LOGIN, handlingModule: s.idinCustomerId, supportedCountries: ["NL"] }, { actionType: a.VERIFAI_LOGIN, handlingModule: s.verifai, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.YOONIK_LOGIN, handlingModule: s.yoonik, supportedCountries: ["WORLD"] }, { actionType: a.PL_MOJEID_LOGIN, handlingModule: s.plMojeId, supportedCountries: ["PL"] }, { actionType: a.MIT_ID_LOGIN, handlingModule: s.mitId, supportedCountries: ["DK"] }, { actionType: a.MIT_ID_2_LOGIN, handlingModule: s.mitId2, supportedCountries: ["DK"] }, { actionType: a.NORWEGIAN_BANKID_LOGIN, handlingModule: s.norwegianBankId, supportedCountries: ["NO"] }, { actionType: a.NORWEGIAN_BANKID_2_LOGIN, handlingModule: s.norwegianBankId2, supportedCountries: ["NO"] }, { actionType: a.FTN_LOGIN, handlingModule: s.ftn, supportedCountries: ["FI"] }, { actionType: a.GB_ONE_ID_LOGIN, handlingModule: s.gbOneId, supportedCountries: ["GB"] }, { actionType: a.VERIFF_LOGIN, handlingModule: s.veriff, supportedCountries: ["AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.LIDENTITE_NUMERIQUE_LOGIN, handlingModule: s.lIdentiteNumerique, supportedCountries: ["FR"] }, { actionType: a.GOOGLE_WALLET_LOGIN, handlingModule: s.googleWallet, supportedCountries: ["US"] }, { actionType: a.AT_EUDI_WALLET_LOGIN, handlingModule: s.eudiWallet, supportedCountries: ["AT"] }, { actionType: a.SPID_LOGIN, handlingModule: s.spid, supportedCountries: ["IT"] }, { actionType: a.EVROTRUST_LOGIN, handlingModule: s.evrotrust, supportedCountries: ["AL", "AD", "AM", "AU", "AT", "AZ", "BY", "BE", "BA", "BG", "CA", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "GE", "DE", "GR", "HU", "IS", "IE", "IT", "IL", "KZ", "KE", "XK", "LV", "LI", "LT", "LU", "MT", "MD", "MC", "ME", "NL", "NZ", "NO", "MK", "PL", "PT", "RU", "SM", "RS", "SK", "SI", "ES", "SE", "CH", "TW", "TR", "UA", "GB", "US", "VA", "AX"] }], [r2.SIGNATURE]: [{ actionType: a.EE_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["EE"] }, { actionType: a.LV_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["LV"] }, { actionType: a.LT_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["LT"] }, { actionType: a.FI_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.PT_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["PT"] }, { actionType: a.BE_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["BE"] }, { actionType: a.HR_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["HR"] }, { actionType: a.CZ_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["CZ"] }, { actionType: a.CERTEUROPE_USB_TOKEN_SIGNATURE, handlingModule: s.certEuropeUsbTokenSignature, supportedCountries: ["FR"] }, { actionType: a.CERTSIGN_USB_TOKEN_SIGNATURE, handlingModule: s.certSignUsbTokenSignature, supportedCountries: ["RO"] }, { actionType: a.EE_MOBILEID_SIGNATURE, handlingModule: s.mobileIdSignature, supportedCountries: ["EE"] }, { actionType: a.LT_MOBILEID_SIGNATURE, handlingModule: s.mobileIdSignature, supportedCountries: ["LT"] }, { actionType: a.SMARTID_SIGNATURE, handlingModule: s.smartIdSignature, supportedCountries: ["EE", "LV", "LT", "BE"] }, { actionType: a.EVROTRUST_SIGNATURE, handlingModule: s.evroTrustSignature, supportedCountries: ["AL", "AD", "AM", "AU", "AT", "AZ", "BY", "BE", "BA", "BG", "CA", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "GE", "DE", "GR", "HU", "IS", "IE", "IT", "IL", "KZ", "XK", "LV", "LI", "LT", "LU", "MT", "MD", "MC", "ME", "NL", "NZ", "NO", "MK", "PL", "PT", "RU", "SM", "RS", "SK", "SI", "ES", "SE", "CH", "TW", "TR", "UA", "GB", "US", "VA", "AX"] }, { actionType: a.EVROTRUST_GEDA_SIGNATURE, handlingModule: s.evroTrustGedaSignature, supportedCountries: ["KE"] }, { actionType: a.ITSME_QES_SIGNATURE, handlingModule: s.itsmeQesSignature, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK", "HR", "CY", "LT", "LV", "MT", "SI"] }, { actionType: a.OTP_EMAIL, handlingModule: s.otpSignature, supportedCountries: ["WORLD"] }, { actionType: a.LV_EPARAKSTS_MOBILE_SIGNATURE, handlingModule: s.eParakstsMobileSignature, supportedCountries: ["LV"] }, { actionType: a.FI_FTN_ADVANCED_SIGNATURE, handlingModule: s.ftnSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.FI_FTN_ADVANCED_FULL_SIGNATURE, handlingModule: s.ftnAdvancedFullSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.FI_FTN_QUALIFIED_SIGNATURE, handlingModule: s.ftnQesSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.AT_HANDY_SIGNATUR_SIGNATURE, handlingModule: s.atHandySignature, supportedCountries: ["AT"] }, { actionType: a.ZEAL_ID_SIGNATURE, handlingModule: s.zealIdSignature, supportedCountries: ["AT", "BE", "BG", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "HR", "HU", "IE", "IT", "LV", "LT", "NL", "NO", "PL", "PT", "RS", "SE", "SI", "SK"] }, { actionType: a.CZ_MOJEID_ADVANCED_SIGNATURE, handlingModule: s.mojeIdSignature, supportedCountries: ["CZ"] }, { actionType: a.SERPRO_ID_ADVANCED_SIGNATURE, handlingModule: s.serproIdAdvancedSignature, supportedCountries: ["BR"] }, { actionType: a.MX_PSC_WORLD_ADVANCED_SIGNATURE, handlingModule: s.mxPscWorldAdvancedSignature, supportedCountries: ["MX"] }, { actionType: a.TRANS_SPED_QES_SIGNATURE, handlingModule: s.transSpedQesSignature, supportedCountries: ["AF", "AL", "DZ", "AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BH", "BD", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CY", "CZ", "DK", "DJ", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GT", "GN", "GY", "HT", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MR", "MU", "MX", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NP", "NL", "NZ", "NI", "NE", "NG", "NO", "OM", "PK", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "ES", "LK", "SD", "SR", "SZ", "SE", "CH", "SY", "TJ", "TZ", "TH", "TL", "TG", "TO", "TN", "TR", "TM", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.CZ_BANKID_ADVANCED_SIGNATURE, handlingModule: s.czBankIDSignature, supportedCountries: ["CZ"] }, { actionType: a.ABA_DO_QES_SIGNATURE, handlingModule: s.abaDoSignature, supportedCountries: ["DO"] }, { actionType: a.GOOGLE_SIGNATURE, handlingModule: s.googleSignature, supportedCountries: ["WORLD"] }, { actionType: a.SE_BANKID_SIGNATURE, handlingModule: s.seBankIdSignature, supportedCountries: ["SE"] }, { actionType: a.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE, handlingModule: s.dTrustSignMeSignature, supportedCountries: ["DE", "CA", "ZA", "GR", "NL", "BE", "FR", "ES", "PT", "LU", "IE", "IS", "MT", "CY", "AX", "FI", "US", "BG", "HU", "LT", "LV", "EE", "HR", "SI", "IT", "CH", "CZ", "SK", "LI", "AT", "GG", "DK", "SE", "NO", "PL", "MX", "AR", "BR", "CL", "AU", "ID", "PH", "SG", "RU", "JP", "KR", "CN", "TR", "IN", "SA", "AE", "QA"] }, { actionType: a.D_TRUST_SIGN_ME_ADVANCED_SIGNATURE, handlingModule: s.dTrustSignMeAdvSignature, supportedCountries: ["DE", "CA", "ZA", "GR", "NL", "BE", "FR", "ES", "PT", "LU", "IE", "IS", "MT", "CY", "AX", "FI", "US", "BG", "HU", "LT", "LV", "EE", "HR", "SI", "IT", "CH", "CZ", "SK", "LI", "AT", "GG", "DK", "SE", "NO", "PL", "MX", "AR", "BR", "CL", "AU", "ID", "PH", "SG", "RU", "JP", "KR", "CN", "TR", "IN", "SA", "AE", "QA"] }, { actionType: a.CHAVE_MOVEL_QUALIFIED_SIGNATURE, handlingModule: s.chaveMovelSignature, supportedCountries: ["PT"] }, { actionType: a.CL_ECERT_ADVANCED_SIGNATURE, handlingModule: s.eCertChileSignature, supportedCountries: ["CL"] }, { actionType: a.NORWEGIAN_BANKID_ADVANCED_SIGNATURE, handlingModule: s.noBankIdAdvSignature, supportedCountries: ["NO"] }, { actionType: a.NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE, handlingModule: s.noBankIdAdvLightSignature, supportedCountries: ["NO"] }, { actionType: a.MIT_ID_SIMPLE_SIGNATURE, handlingModule: s.mitIdSignature, supportedCountries: ["DK", "GL"] }, { actionType: a.IDIN_SIMPLE_SIGNATURE, handlingModule: s.idinSignature, supportedCountries: ["NL"] }, { actionType: a.SPID_QUALIFIED_SIGNATURE, handlingModule: s.spidQesSignature, supportedCountries: ["IT"] }, { actionType: a.VERIFAI_SIMPLE_SIGNATURE, handlingModule: s.verifaiSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.FREJA_SIMPLE_SIGNATURE, handlingModule: s.frejaSimpleSignature, supportedCountries: ["AD", "AF", "AG", "AO", "AL", "AM", "AR", "AU", "AS", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "DZ", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW", "BZ"] }, { actionType: a.AUDKENNI_QUALIFIED_SIGNATURE, handlingModule: s.audkenniQesSignature, supportedCountries: ["IS"] }, { actionType: a.YES_COM_QUALIFIED_SIGNATURE, handlingModule: s.yesComQesSignature, supportedCountries: ["DE"] }, { actionType: a.SIMPLY_SIGN_QES_SIGNATURE, handlingModule: s.simplySignQesSignature, supportedCountries: ["PL"] }, { actionType: a.UANATACA_QUALIFIED_SIGNATURE, handlingModule: s.uanatacaQesSignature, supportedCountries: ["ES"] }, { actionType: a.INFOCERT_QUALIFIED_SIGNATURE, handlingModule: s.infoCertQesSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DE", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE, handlingModule: s.certsignWebapiQesSignature, supportedCountries: ["RO"] }, { actionType: a.HALCOM_QUALIFIED_SIGNATURE, handlingModule: s.halcomQesSignature, supportedCountries: ["SI"] }, { actionType: a.SWISS_ID_QUALIFIED_SIGNATURE, handlingModule: s.swissIdQesSignature, supportedCountries: ["CH"] }, { actionType: a.SWISS_COM_QUALIFIED_SIGNATURE, handlingModule: s.swissComQesSignature, supportedCountries: ["CH"] }, { actionType: a.DK_MITID_ADVANCED_SIGNATURE, handlingModule: s.mitIdAdvancedSignature, supportedCountries: ["DK"] }, { actionType: a.DK_MITID_QES_SIGNATURE, handlingModule: s.mitIdQesSignature, supportedCountries: ["DK"] }, { actionType: a.SE_BANK_ID_ADVANCED_SIGNATURE, handlingModule: s.seBankIdAdvancedSignature, supportedCountries: ["SE"] }, { actionType: a.SE_BANK_ID_QES_SIGNATURE, handlingModule: s.seBankIdQesSignature, supportedCountries: ["SE"] }, { actionType: a.SE_BANK_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.seBankIdAdvancedHashSignature, supportedCountries: ["SE"] }, { actionType: a.DK_MIT_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.dkMitIdAdvancedHashSignature, supportedCountries: ["DK"] }, { actionType: a.NO_BANK_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.noBankIdAdvancedHashSignature, supportedCountries: ["NO"] }, { actionType: a.IT_SPID_QUALIFIED_HASH_SIGNATURE, handlingModule: s.itSpidQualifiedHashSignature, supportedCountries: ["IT"] }, { actionType: a.SE_FREJA_EID_ADVANCED_SIGNATURE, handlingModule: s.frejaAdvancedSignature, supportedCountries: ["AD", "AF", "AG", "AO", "AL", "AM", "AR", "AU", "AS", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "DZ", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW", "BZ"] }, { actionType: a.SE_FREJA_EID_QES_SIGNATURE, handlingModule: s.frejaQesSignature, supportedCountries: ["AD", "AF", "AG", "AO", "AL", "AM", "AR", "AU", "AS", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "DZ", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW", "BZ"] }, { actionType: a.FR_IDENT_ADVANCED_SIGNATURE, handlingModule: s.frIdentAdvancedSignature, supportedCountries: ["FR"] }, { actionType: a.GB_ONE_ID_ADVANCED_SIGNATURE, handlingModule: s.gbOneIdAdvancedSignature, supportedCountries: ["GB"] }, { actionType: a.HANDWRITTEN_SIMPLE_SIGNATURE, handlingModule: s.handwrittenSignature, supportedCountries: ["WORLD"] }, { actionType: a.HARICA_QES_SIGNATURE, handlingModule: s.haricaQesSignature, supportedCountries: ["GR"] }, { actionType: a.VERIFF_ADVANCED_SIGNATURE, handlingModule: s.veriffAdvancedSignature, supportedCountries: ["AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.LT_ID_QES_SIGNATURE, handlingModule: s.ltIdQesSignature, supportedCountries: ["LT"] }, { actionType: a.CERT_STORE_QES_SIGNATURE, handlingModule: s.certStoreQesSignature, supportedCountries: ["WORLD"] }, { actionType: a.CERT_STORE_ADVANCED_SIGNATURE, handlingModule: s.certStoreAdvancedSignature, supportedCountries: ["WORLD"] }, { actionType: a.CERT_STORE_ADV_UNVERIFIED_SIGN, handlingModule: s.certStoreAdvancedUnverifiedSignature, supportedCountries: ["WORLD"] }, { actionType: a.BUYPASS_QES_SIGNATURE, handlingModule: s.buypassQesSignature, supportedCountries: ["NO"] }, { actionType: a.FI_FTN_INTESI_ADS_SIGNATURE, handlingModule: s.intesiFtnAdvSignature, supportedCountries: ["FI"] }, { actionType: a.TRUST_ASIA_SIGNATURE, handlingModule: s.trustAsiaSignature, supportedCountries: ["CN"] }, { actionType: a.MSC_TRUST_GATE_SIGNATURE, handlingModule: s.mscTrustGateSignature, supportedCountries: ["MY"] }, { actionType: a.GSE_ADV_SIGNATURE, handlingModule: s.gseAdvSignature, supportedCountries: ["CO"] }, { actionType: a.CERTME_QES_SIGNATURE, handlingModule: s.certMeQesSignature, supportedCountries: ["RO"] }, { actionType: a.ES_LLEIDA_ADV_SIGNATURE, handlingModule: s.esLleidaAdvSignature, supportedCountries: ["ES"] }, { actionType: a.ADACOM_QES_SIGNATURE, handlingModule: s.adacomQesSignature, supportedCountries: ["GR"] }, { actionType: a.ADACOM_ONE_SHOT_QES_SIGNATURE, handlingModule: s.adacomOneShotQesSignature, supportedCountries: ["AL", "AR", "AU", "AT", "BD", "BE", "BR", "BG", "CA", "CL", "CN", "CO", "CR", "HR", "CY", "CZ", "DK", "DO", "EC", "EG", "EE", "FI", "FR", "DE", "GB", "GR", "HU", "IS", "IE", "IN", "IL", "IT", "JP", "KE", "LV", "LT", "LU", "MY", "MT", "MX", "MK", "NL", "NZ", "NO", "PK", "PA", "PE", "PL", "PT", "KR", "RO", "RS", "SG", "SK", "SI", "ZA", "ES", "SE", "CH", "TW", "TH", "TR", "UA", "AE", "UY", "US", "VE", "VN"] }, { actionType: a.DIIA_QES_SIGNATURE, handlingModule: s.diiaQesSignature, supportedCountries: ["UA"] }, { actionType: a.EMUDHRA_QES_SIGNATURE, handlingModule: s.emudhraQesSignature, supportedCountries: ["IN"] }, { actionType: a.VIDA_ADVANCED_SIGNATURE, handlingModule: s.vidaAdvancedSignature, supportedCountries: ["ID"] }, { actionType: a.VN_BKAV_TOKEN_SIGNATURE, handlingModule: s.vnBkavTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_CA2_TOKEN_SIGNATURE, handlingModule: s.vnCa2TokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_FAST_TOKEN_SIGNATURE, handlingModule: s.vnFastTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_FPT_TOKEN_SIGNATURE, handlingModule: s.vnFptTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_SMART_TOKEN_SIGNATURE, handlingModule: s.vnSmartTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_VIETTEL_TOKEN_SIGNATURE, handlingModule: s.vnViettelTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_VNPT_TOKEN_SIGNATURE, handlingModule: s.vnVnptTokenSignature, supportedCountries: ["VN"] }, { actionType: a.DIGILOGIX_QES_SIGNATURE, handlingModule: s.digilogixQesSignature, supportedCountries: ["AR"] }, { actionType: a.BUYPASS_ADVANCED_SIGNATURE, handlingModule: s.buypassAdvancedSignature, supportedCountries: ["NO"] }, { actionType: a.IGNISIGN_ADVANCED_SIGNATURE, handlingModule: s.igniSignAdvancedSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.B_TRUST_QES_SIGNATURE, handlingModule: s.bTrustQesSignature, supportedCountries: ["AF", "AL", "DZ", "AS", "AD", "AO", "AI", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GU", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "FM", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "PR", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "ZM", "ZW"] }, { actionType: a.ES_AUTOFIRMA_SIGNATURE, handlingModule: s.esAutofirmaSignature, supportedCountries: ["ES"] }, { actionType: a.LOCAL_ADV_UNVERIFIED_SIGNATURE, handlingModule: s.localAdvUnverifiedSignature, supportedCountries: ["WORLD"] }] }), u = function(e3, t3, n3) {
|
|
9077
|
+
const r2 = { IDENTIFICATION: "identification", SIGNATURE: "signature" }, a = { BE_ID_LOGIN: "be-id-login", EE_ID_LOGIN: "ee-id-login", FI_ID_LOGIN: "fi-id-login", PT_ID_LOGIN: "pt-id-login", LV_ID_LOGIN: "lv-id-login", LT_ID_LOGIN: "lt-id-login", RS_ID_LOGIN: "rs-id-login", EE_MOBILE_ID: "mid-login", EE_WEB_EID_LOGIN: "ee-web-eid-login", LV_EPARAKSTS_MOBILE_LOGIN: "lv-eparaksts-mobile-login", LV_EPARAKSTS_ID_LOGIN: "lv-eparaksts-id-login", LT_MOBILE_ID: "lt-mobile-id", SMART_ID: "smartid", FREJA_EID_LOGIN: "freja-eid-login", ZEALID_LOGIN: "zealid-login", CZ_MOJEID: "mojeid", EDOAPP_EID_LOGIN: "edoapp-eid-login", AT_HANDY_SIGNATUR_LOGIN: "at-handy-signatur-login", FI_FTN_LOGIN: "finnish-ftn-login", ITSME_LOGIN: "itsme-login", ITSME_LOGIN_BASIC: "itsme-login-basic", ITSME_LOGIN_STANDARD: "itsme-login-standard", SE_BANKID_LOGIN: "swedish-bankid-login", IDIN_LOGIN: "idin-login", VERIFAI_LOGIN: "verifai-login", YOONIK_LOGIN: "yoonik-login", PL_MOJEID_LOGIN: "pl-mojeid-login", MIT_ID_LOGIN: "mit-id-login", MIT_ID_2_LOGIN: "mit-id-2-login", NORWEGIAN_BANKID_LOGIN: "norwegian-bankid-login", NORWEGIAN_BANKID_2_LOGIN: "norwegian-bankid-2-login", FTN_LOGIN: "ftn-login", IDIN_CUSTOMER_ID_LOGIN: "idin-customer-id-login", GB_ONE_ID_LOGIN: "gb-one-id-login", VERIFF_LOGIN: "veriff-login", LIDENTITE_NUMERIQUE_LOGIN: "lidentite-numerique-login", GOOGLE_WALLET_LOGIN: "google-wallet-login", AT_EUDI_WALLET_LOGIN: "at-eudi-wallet-login", SPID_LOGIN: "spid-login", EVROTRUST_LOGIN: "evrotrust-login", CHAVE_MOVEL_LOGIN: "chave-movel-login", ZEAL_ID_SIGNATURE: "zealid-signature", EE_IDCARD_SIGNATURE: "id-signature", EE_MOBILEID_SIGNATURE: "mid-signature", LT_MOBILEID_SIGNATURE: "lt-mid-signature", SMARTID_SIGNATURE: "smart-id-signature", BE_IDCARD_SIGNATURE: "be-id-signature", LV_IDCARD_SIGNATURE: "lv-id-signature", LT_IDCARD_SIGNATURE: "lt-id-signature", FI_IDCARD_SIGNATURE: "fi-id-signature", LU_IDCARD_SIGNATURE: "lu-id-signature", PT_IDCARD_SIGNATURE: "pt-id-signature", HR_IDCARD_SIGNATURE: "hr-id-signature", CZ_IDCARD_SIGNATURE: "cz-id-signature", CERTEUROPE_USB_TOKEN_SIGNATURE: "certeurope-usb-token-signature", CERTSIGN_USB_TOKEN_SIGNATURE: "certsign-usb-token-signature", LV_EPARAKSTS_MOBILE_SIGNATURE: "lv-eparaksts-mobile-signature", AT_HANDY_SIGNATUR_SIGNATURE: "at-handy-signatur-signature", REGISTRU_CENTRAS_SIGNATURE: "registru-centras-signature", OTP_EMAIL: "otp-email-non-qualified", FI_FTN_ADVANCED_FULL_SIGNATURE: "fi-ftn-advanced-full-signature", FI_FTN_ADVANCED_SIGNATURE: "fi-ftn-advanced-signature", FI_FTN_QUALIFIED_SIGNATURE: "fi-ftn-qes-signature", EVROTRUST_SIGNATURE: "evrotrust-signature", EVROTRUST_GEDA_SIGNATURE: "evrotrust-geda-signature", CZ_MOJEID_ADVANCED_SIGNATURE: "cz-mojeid-advanced-signature", SERPRO_ID_ADVANCED_SIGNATURE: "serpro-id-advanced-signature", CZ_BANKID_ADVANCED_SIGNATURE: "cz-bankid-advanced-signature", ABA_DO_QES_SIGNATURE: "aba-do-qes-signature", GOOGLE_SIGNATURE: "google-signature", SE_BANKID_SIGNATURE: "swedish-bankid-signature", D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE: "d-trust-sign-me-qes-signature", D_TRUST_SIGN_ME_ADVANCED_SIGNATURE: "d-trust-sign-me-adv-signature", CHAVE_MOVEL_QUALIFIED_SIGNATURE: "chave-movel-qes-signature", CL_ECERT_ADVANCED_SIGNATURE: "cl-ecert-advanced-signature", MIT_ID_SIMPLE_SIGNATURE: "mit-id-simple-signature", DK_MITID_ADVANCED_SIGNATURE: "dk-mitid-advanced-signature", DK_MITID_QES_SIGNATURE: "dk-mitid-qes-signature", SE_BANK_ID_ADVANCED_SIGNATURE: "se-bankid-advanced-signature", SE_BANK_ID_QES_SIGNATURE: "se-bankid-qes-signature", SE_BANK_ID_ADVANCED_HASH_SIGNATURE: "se-bankid-adv-hash-signature", DK_MIT_ID_ADVANCED_HASH_SIGNATURE: "dk-mitid-adv-hash-signature", NO_BANK_ID_ADVANCED_HASH_SIGNATURE: "no-bankid-adv-hash-signature", IT_SPID_QUALIFIED_HASH_SIGNATURE: "it-spid-qes-hash-signature", NORWEGIAN_BANKID_ADVANCED_SIGNATURE: "norwegian-bankid-adv-signature", NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE: "no-bankid-adv-light-signature", IDIN_SIMPLE_SIGNATURE: "idin-simple-signature", VERIFAI_SIMPLE_SIGNATURE: "verifai-simple-signature", SPID_QUALIFIED_SIGNATURE: "spid-qes-signature", FREJA_SIMPLE_SIGNATURE: "freja-simple-signature", AUDKENNI_QUALIFIED_SIGNATURE: "audkenni-qes-signature", YES_COM_QUALIFIED_SIGNATURE: "yes-com-qes-signature", SIMPLY_SIGN_QES_SIGNATURE: "simply-sign-qes-signature", UANATACA_QUALIFIED_SIGNATURE: "uanataca-qes-signature", INFOCERT_QUALIFIED_SIGNATURE: "infocert-qes-signature", CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE: "certsign-webapi-qes-signature", HALCOM_QUALIFIED_SIGNATURE: "halcom-qes-signature", SWISS_ID_QUALIFIED_SIGNATURE: "swiss-id-qes-signature", SWISS_COM_QUALIFIED_SIGNATURE: "swiss-com-qes-signature", SE_FREJA_EID_ADVANCED_SIGNATURE: "se-frejaeid-advanced-signature", SE_FREJA_EID_QES_SIGNATURE: "se-frejaeid-qes-signature", ITSME_QES_SIGNATURE: "itsme-qes-signature", FR_IDENT_ADVANCED_SIGNATURE: "fr-ident-advanced-signature", GB_ONE_ID_ADVANCED_SIGNATURE: "gb-one-id-advanced-signature", HANDWRITTEN_SIMPLE_SIGNATURE: "handwritten-simple-signature", HARICA_QES_SIGNATURE: "harica-qes-signature", VERIFF_ADVANCED_SIGNATURE: "veriff-advanced-signature", LT_ID_QES_SIGNATURE: "lt-id-qes-signature", CERT_STORE_QES_SIGNATURE: "cert-store-qes-signature", CERT_STORE_ADVANCED_SIGNATURE: "cert-store-advanced-signature", CERT_STORE_ADV_UNVERIFIED_SIGN: "cert-store-adv-unverified-sign", BUYPASS_QES_SIGNATURE: "buypass-qes-signature", FI_FTN_INTESI_ADS_SIGNATURE: "fi-ftn-intesi-adv-signature", TRUST_ASIA_SIGNATURE: "trust-asia-signature", MSC_TRUST_GATE_SIGNATURE: "msc-trust-gate-signature", GSE_ADV_SIGNATURE: "gse-adv-signature", CERTME_QES_SIGNATURE: "certme-qes-signature", ES_LLEIDA_ADV_SIGNATURE: "es-lleida-advanced-signature", ADACOM_QES_SIGNATURE: "adacom-qes-signature", ADACOM_ONE_SHOT_QES_SIGNATURE: "adacom-one-shot-qes-signature", DIIA_QES_SIGNATURE: "diia-qes-signature", EMUDHRA_QES_SIGNATURE: "emudhra-qes-signature", MX_PSC_WORLD_ADVANCED_SIGNATURE: "mx-psc-world-adv-signature", TRANS_SPED_QES_SIGNATURE: "trans-sped-qes-signature", VIDA_ADVANCED_SIGNATURE: "vida-advanced-signature", VN_BKAV_TOKEN_SIGNATURE: "vn-bkav-token-signature", VN_CA2_TOKEN_SIGNATURE: "vn-ca2-token-signature", VN_FAST_TOKEN_SIGNATURE: "vn-fast-token-signature", VN_FPT_TOKEN_SIGNATURE: "vn-fpt-token-signature", VN_SMART_TOKEN_SIGNATURE: "vn-smart-token-signature", VN_VIETTEL_TOKEN_SIGNATURE: "vn-viettel-token-signature", VN_VNPT_TOKEN_SIGNATURE: "vn-vnpt-token-signature", DIGILOGIX_QES_SIGNATURE: "digilogix-qes-signature", BUYPASS_ADVANCED_SIGNATURE: "buypass-adv-signature", IGNISIGN_ADVANCED_SIGNATURE: "ignisign-advanced-signature", B_TRUST_QES_SIGNATURE: "b-trust-qes-signature", ES_AUTOFIRMA_SIGNATURE: "es-autofirma-signature", LOCAL_ADV_UNVERIFIED_SIGNATURE: "local-adv-unverified-signature" }, s = { idCard: "idCard", mobileId: "mobileId", webEid: "webEid", eParakstsMobile: "eParakstsMobile", eParakstsSmartCard: "eParakstsSmartCard", smartId: "smartId", frejaEid: "frejaEid", zealId: "zealId", mojeId: "mojeId", edoAppEid: "edoAppEid", atHandy: "atHandy", itsme: "itsme", itsmeBasic: "itsmeBasic", itsmeStandard: "itsmeStandard", seBankId: "seBankId", idin: "idin", idinCustomerId: "idinCustomerId", verifai: "verifai", yoonik: "yoonik", plMojeId: "plMojeId", mitId: "mitId", mitId2: "mitId2", norwegianBankId: "norwegianBankId", norwegianBankId2: "norwegianBankId2", ftn: "ftn", gbOneId: "gbOneId", veriff: "veriff", lIdentiteNumerique: "lIdentiteNumerique", googleWallet: "googleWallet", eudiWallet: "eudiWallet", spid: "spid", evrotrust: "evrotrust", chaveMovel: "chaveMovel", idCardSignature: "idCardSignature", certEuropeUsbTokenSignature: "certEuropeUsbTokenSignature", certSignUsbTokenSignature: "certSignUsbTokenSignature", mobileIdSignature: "mobileIdSignature", smartIdSignature: "smartIdSignature", evroTrustSignature: "evroTrustSignature", evroTrustGedaSignature: "evroTrustGedaSignature", otpSignature: "otpSignature", eParakstsMobileSignature: "eParakstsMobileSignature", ftnAdvancedFullSignature: "ftnAdvancedFullSignature", mitIdAdvancedSignature: "mitIdAdvancedSignature", mitIdQesSignature: "mitIdQesSignature", seBankIdAdvancedSignature: "seBankIdAdvancedSignature", seBankIdQesSignature: "seBankIdQesSignature", seBankIdAdvancedHashSignature: "seBankIdAdvancedHashSignature", dkMitIdAdvancedHashSignature: "dkMitIdAdvancedHashSignature", noBankIdAdvancedHashSignature: "noBankIdAdvancedHashSignature", itSpidQualifiedHashSignature: "itSpidQualifiedHashSignature", ftnSignature: "ftnSignature", ftnQesSignature: "ftnQesSignature", atHandySignature: "atHandySignature", zealIdSignature: "zealIdSignature", mojeIdSignature: "mojeIdSignature", serproIdAdvancedSignature: "serproIdAdvancedSignature", czBankIDSignature: "czBankIDSignature", abaDoSignature: "abaDoSignature", googleSignature: "googleSignature", seBankIdSignature: "seBankIdSignature", dTrustSignMeSignature: "dTrustSignMeSignature", dTrustSignMeAdvSignature: "dTrustSignMeAdvSignature", chaveMovelSignature: "chaveMovelSignature", eCertChileSignature: "eCertChileSignature", mitIdSignature: "mitIdSignature", noBankIdAdvSignature: "noBankIdAdvSignature", noBankIdAdvLightSignature: "noBankIdAdvLightSignature", idinSignature: "idinSignature", verifaiSignature: "verifaiSignature", spidQesSignature: "spidQesSignature", frejaSimpleSignature: "frejaSimpleSignature", audkenniQesSignature: "audkenniQesSignature", yesComQesSignature: "yesComQesSignature", simplySignQesSignature: "simplySignQesSignature", uanatacaQesSignature: "uanatacaQesSignature", infoCertQesSignature: "infoCertQesSignature", certsignWebapiQesSignature: "certsignWebapiQesSignature", halcomQesSignature: "halcomQesSignature", swissIdQesSignature: "swissIdQesSignature", swissComQesSignature: "swissComQesSignature", frejaAdvancedSignature: "frejaAdvancedSignature", frejaQesSignature: "frejaQesSignature", itsmeQesSignature: "itsmeQesSignature", frIdentAdvancedSignature: "frIdentAdvancedSignature", gbOneIdAdvancedSignature: "gbOneIdAdvancedSignature", handwrittenSignature: "handwrittenSignature", haricaQesSignature: "haricaQesSignature", veriffAdvancedSignature: "veriffAdvancedSignature", ltIdQesSignature: "ltIdQesSignature", buypassQesSignature: "buypassQesSignature", intesiFtnAdvSignature: "intesiFtnAdvSignature", certStoreQesSignature: "certStoreQesSignature", certStoreAdvancedSignature: "certStoreAdvancedSignature", certStoreAdvancedUnverifiedSignature: "certStoreAdvancedUnverifiedSignature", trustAsiaSignature: "trustAsiaSignature", mscTrustGateSignature: "mscTrustGateSignature", gseAdvSignature: "gseAdvSignature", certMeQesSignature: "certMeQesSignature", esLleidaAdvSignature: "esLleidaAdvSignature", adacomQesSignature: "adacomQesSignature", adacomOneShotQesSignature: "adacomOneShotQesSignature", diiaQesSignature: "diiaQesSignature", emudhraQesSignature: "emudhraQesSignature", mxPscWorldAdvancedSignature: "mxPscWorldAdvancedSignature", transSpedQesSignature: "transSpedQesSignature", vidaAdvancedSignature: "vidaAdvancedSignature", vnBkavTokenSignature: "vnBkavTokenSignature", vnCa2TokenSignature: "vnCa2TokenSignature", vnFastTokenSignature: "vnFastTokenSignature", vnFptTokenSignature: "vnFptTokenSignature", vnSmartTokenSignature: "vnSmartTokenSignature", vnViettelTokenSignature: "vnViettelTokenSignature", vnVnptTokenSignature: "vnVnptTokenSignature", digilogixQesSignature: "digilogixQesSignature", buypassAdvancedSignature: "buypassAdvancedSignature", igniSignAdvancedSignature: "igniSignAdvancedSignature", bTrustQesSignature: "bTrustQesSignature", esAutofirmaSignature: "esAutofirmaSignature", localAdvUnverifiedSignature: "localAdvUnverifiedSignature" }, c = Object.freeze({ [r2.IDENTIFICATION]: [{ actionType: a.BE_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["BE"] }, { actionType: a.EE_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["EE"] }, { actionType: a.FI_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["FI"] }, { actionType: a.LV_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["LV"] }, { actionType: a.LT_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["LT"] }, { actionType: a.PT_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["PT"] }, { actionType: a.RS_ID_LOGIN, handlingModule: s.idCard, supportedCountries: ["RS"] }, { actionType: a.LV_EPARAKSTS_MOBILE_LOGIN, handlingModule: s.eParakstsMobile, supportedCountries: ["LV"] }, { actionType: a.LV_EPARAKSTS_ID_LOGIN, handlingModule: s.eParakstsSmartCard, supportedCountries: ["LV"] }, { actionType: a.LT_MOBILE_ID, handlingModule: s.mobileId, supportedCountries: ["LT"] }, { actionType: a.EE_MOBILE_ID, handlingModule: s.mobileId, supportedCountries: ["EE"] }, { actionType: a.SMART_ID, handlingModule: s.smartId, supportedCountries: ["EE", "LV", "LT", "BE"] }, { actionType: a.EE_WEB_EID_LOGIN, handlingModule: s.webEid, supportedCountries: ["EE"] }, { actionType: a.FREJA_EID_LOGIN, handlingModule: s.frejaEid, supportedCountries: ["AD", "AF", "AG", "AO", "AL", "AM", "AR", "AU", "AS", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "DZ", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW", "BZ"] }, { actionType: a.ZEALID_LOGIN, handlingModule: s.zealId, supportedCountries: ["AT", "BE", "BG", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "HR", "HU", "IE", "IT", "LV", "LT", "NL", "NO", "PL", "PT", "RO", "RS", "SE", "SI", "SK"] }, { actionType: a.CZ_MOJEID, handlingModule: s.mojeId, supportedCountries: ["CZ"] }, { actionType: a.EDOAPP_EID_LOGIN, handlingModule: s.edoAppEid, supportedCountries: ["PL"] }, { actionType: a.FI_FTN_LOGIN, handlingModule: s.finnishTrustNetwork, supportedCountries: ["FI"] }, { actionType: a.AT_HANDY_SIGNATUR_LOGIN, handlingModule: s.atHandy, supportedCountries: ["AT"] }, { actionType: a.ITSME_LOGIN, handlingModule: s.itsme, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK", "HR", "CY", "LT", "LV", "MT", "SI"] }, { actionType: a.ITSME_LOGIN_BASIC, handlingModule: s.itsmeBasic, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK", "HR", "CY", "LT", "LV", "MT", "SI"] }, { actionType: a.ITSME_LOGIN_STANDARD, handlingModule: s.itsmeStandard, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK", "HR", "CY", "LT", "LV", "MT", "SI"] }, { actionType: a.SE_BANKID_LOGIN, handlingModule: s.seBankId, supportedCountries: ["SE"] }, { actionType: a.IDIN_LOGIN, handlingModule: s.idin, supportedCountries: ["NL"] }, { actionType: a.IDIN_CUSTOMER_ID_LOGIN, handlingModule: s.idinCustomerId, supportedCountries: ["NL"] }, { actionType: a.VERIFAI_LOGIN, handlingModule: s.verifai, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.YOONIK_LOGIN, handlingModule: s.yoonik, supportedCountries: ["WORLD"] }, { actionType: a.PL_MOJEID_LOGIN, handlingModule: s.plMojeId, supportedCountries: ["PL"] }, { actionType: a.MIT_ID_LOGIN, handlingModule: s.mitId, supportedCountries: ["DK"] }, { actionType: a.MIT_ID_2_LOGIN, handlingModule: s.mitId2, supportedCountries: ["DK"] }, { actionType: a.NORWEGIAN_BANKID_LOGIN, handlingModule: s.norwegianBankId, supportedCountries: ["NO"] }, { actionType: a.NORWEGIAN_BANKID_2_LOGIN, handlingModule: s.norwegianBankId2, supportedCountries: ["NO"] }, { actionType: a.FTN_LOGIN, handlingModule: s.ftn, supportedCountries: ["FI"] }, { actionType: a.GB_ONE_ID_LOGIN, handlingModule: s.gbOneId, supportedCountries: ["GB"] }, { actionType: a.VERIFF_LOGIN, handlingModule: s.veriff, supportedCountries: ["AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.LIDENTITE_NUMERIQUE_LOGIN, handlingModule: s.lIdentiteNumerique, supportedCountries: ["FR"] }, { actionType: a.GOOGLE_WALLET_LOGIN, handlingModule: s.googleWallet, supportedCountries: ["US"] }, { actionType: a.AT_EUDI_WALLET_LOGIN, handlingModule: s.eudiWallet, supportedCountries: ["AT"] }, { actionType: a.SPID_LOGIN, handlingModule: s.spid, supportedCountries: ["IT"] }, { actionType: a.EVROTRUST_LOGIN, handlingModule: s.evrotrust, supportedCountries: ["AL", "AD", "AM", "AU", "AT", "AZ", "BY", "BE", "BA", "BG", "CA", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "GE", "DE", "GR", "HU", "IS", "IE", "IT", "IL", "KZ", "KE", "XK", "LV", "LI", "LT", "LU", "MT", "MD", "MC", "ME", "NL", "NZ", "NO", "MK", "PL", "PT", "RU", "SM", "RS", "SK", "SI", "ES", "SE", "CH", "TW", "TR", "UA", "GB", "US", "VA", "AX"] }, { actionType: a.CHAVE_MOVEL_LOGIN, handlingModule: s.chaveMovel, supportedCountries: ["PT"] }], [r2.SIGNATURE]: [{ actionType: a.EE_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["EE"] }, { actionType: a.LV_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["LV"] }, { actionType: a.LT_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["LT"] }, { actionType: a.FI_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.PT_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["PT"] }, { actionType: a.BE_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["BE"] }, { actionType: a.HR_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["HR"] }, { actionType: a.CZ_IDCARD_SIGNATURE, handlingModule: s.idCardSignature, supportedCountries: ["CZ"] }, { actionType: a.CERTEUROPE_USB_TOKEN_SIGNATURE, handlingModule: s.certEuropeUsbTokenSignature, supportedCountries: ["FR"] }, { actionType: a.CERTSIGN_USB_TOKEN_SIGNATURE, handlingModule: s.certSignUsbTokenSignature, supportedCountries: ["RO"] }, { actionType: a.EE_MOBILEID_SIGNATURE, handlingModule: s.mobileIdSignature, supportedCountries: ["EE"] }, { actionType: a.LT_MOBILEID_SIGNATURE, handlingModule: s.mobileIdSignature, supportedCountries: ["LT"] }, { actionType: a.SMARTID_SIGNATURE, handlingModule: s.smartIdSignature, supportedCountries: ["EE", "LV", "LT", "BE"] }, { actionType: a.EVROTRUST_SIGNATURE, handlingModule: s.evroTrustSignature, supportedCountries: ["AL", "AD", "AM", "AU", "AT", "AZ", "BY", "BE", "BA", "BG", "CA", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "GE", "DE", "GR", "HU", "IS", "IE", "IT", "IL", "KZ", "XK", "LV", "LI", "LT", "LU", "MT", "MD", "MC", "ME", "NL", "NZ", "NO", "MK", "PL", "PT", "RU", "SM", "RS", "SK", "SI", "ES", "SE", "CH", "TW", "TR", "UA", "GB", "US", "VA", "AX"] }, { actionType: a.EVROTRUST_GEDA_SIGNATURE, handlingModule: s.evroTrustGedaSignature, supportedCountries: ["KE"] }, { actionType: a.ITSME_QES_SIGNATURE, handlingModule: s.itsmeQesSignature, supportedCountries: ["BE", "DK", "EE", "FI", "FR", "DE", "IS", "IE", "IT", "LU", "NO", "PT", "RO", "SE", "ES", "NL", "GB", "AT", "BG", "CZ", "GR", "HU", "PL", "SK", "HR", "CY", "LT", "LV", "MT", "SI"] }, { actionType: a.OTP_EMAIL, handlingModule: s.otpSignature, supportedCountries: ["WORLD"] }, { actionType: a.LV_EPARAKSTS_MOBILE_SIGNATURE, handlingModule: s.eParakstsMobileSignature, supportedCountries: ["LV"] }, { actionType: a.FI_FTN_ADVANCED_SIGNATURE, handlingModule: s.ftnSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.FI_FTN_ADVANCED_FULL_SIGNATURE, handlingModule: s.ftnAdvancedFullSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.FI_FTN_QUALIFIED_SIGNATURE, handlingModule: s.ftnQesSignature, supportedCountries: ["FI", "AX"] }, { actionType: a.AT_HANDY_SIGNATUR_SIGNATURE, handlingModule: s.atHandySignature, supportedCountries: ["AT"] }, { actionType: a.ZEAL_ID_SIGNATURE, handlingModule: s.zealIdSignature, supportedCountries: ["AT", "BE", "BG", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "HR", "HU", "IE", "IT", "LV", "LT", "NL", "NO", "PL", "PT", "RS", "SE", "SI", "SK"] }, { actionType: a.CZ_MOJEID_ADVANCED_SIGNATURE, handlingModule: s.mojeIdSignature, supportedCountries: ["CZ"] }, { actionType: a.SERPRO_ID_ADVANCED_SIGNATURE, handlingModule: s.serproIdAdvancedSignature, supportedCountries: ["BR"] }, { actionType: a.MX_PSC_WORLD_ADVANCED_SIGNATURE, handlingModule: s.mxPscWorldAdvancedSignature, supportedCountries: ["MX"] }, { actionType: a.TRANS_SPED_QES_SIGNATURE, handlingModule: s.transSpedQesSignature, supportedCountries: ["AF", "AL", "DZ", "AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BH", "BD", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CY", "CZ", "DK", "DJ", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GT", "GN", "GY", "HT", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MR", "MU", "MX", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NP", "NL", "NZ", "NI", "NE", "NG", "NO", "OM", "PK", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "ES", "LK", "SD", "SR", "SZ", "SE", "CH", "SY", "TJ", "TZ", "TH", "TL", "TG", "TO", "TN", "TR", "TM", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.CZ_BANKID_ADVANCED_SIGNATURE, handlingModule: s.czBankIDSignature, supportedCountries: ["CZ"] }, { actionType: a.ABA_DO_QES_SIGNATURE, handlingModule: s.abaDoSignature, supportedCountries: ["DO"] }, { actionType: a.GOOGLE_SIGNATURE, handlingModule: s.googleSignature, supportedCountries: ["WORLD"] }, { actionType: a.SE_BANKID_SIGNATURE, handlingModule: s.seBankIdSignature, supportedCountries: ["SE"] }, { actionType: a.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE, handlingModule: s.dTrustSignMeSignature, supportedCountries: ["DE", "CA", "ZA", "GR", "NL", "BE", "FR", "ES", "PT", "LU", "IE", "IS", "MT", "CY", "AX", "FI", "US", "BG", "HU", "LT", "LV", "EE", "HR", "SI", "IT", "CH", "CZ", "SK", "LI", "AT", "GG", "DK", "SE", "NO", "PL", "MX", "AR", "BR", "CL", "AU", "ID", "PH", "SG", "RU", "JP", "KR", "CN", "TR", "IN", "SA", "AE", "QA"] }, { actionType: a.D_TRUST_SIGN_ME_ADVANCED_SIGNATURE, handlingModule: s.dTrustSignMeAdvSignature, supportedCountries: ["DE", "CA", "ZA", "GR", "NL", "BE", "FR", "ES", "PT", "LU", "IE", "IS", "MT", "CY", "AX", "FI", "US", "BG", "HU", "LT", "LV", "EE", "HR", "SI", "IT", "CH", "CZ", "SK", "LI", "AT", "GG", "DK", "SE", "NO", "PL", "MX", "AR", "BR", "CL", "AU", "ID", "PH", "SG", "RU", "JP", "KR", "CN", "TR", "IN", "SA", "AE", "QA"] }, { actionType: a.CHAVE_MOVEL_QUALIFIED_SIGNATURE, handlingModule: s.chaveMovelSignature, supportedCountries: ["PT"] }, { actionType: a.CL_ECERT_ADVANCED_SIGNATURE, handlingModule: s.eCertChileSignature, supportedCountries: ["CL"] }, { actionType: a.NORWEGIAN_BANKID_ADVANCED_SIGNATURE, handlingModule: s.noBankIdAdvSignature, supportedCountries: ["NO"] }, { actionType: a.NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE, handlingModule: s.noBankIdAdvLightSignature, supportedCountries: ["NO"] }, { actionType: a.MIT_ID_SIMPLE_SIGNATURE, handlingModule: s.mitIdSignature, supportedCountries: ["DK", "GL"] }, { actionType: a.IDIN_SIMPLE_SIGNATURE, handlingModule: s.idinSignature, supportedCountries: ["NL"] }, { actionType: a.SPID_QUALIFIED_SIGNATURE, handlingModule: s.spidQesSignature, supportedCountries: ["IT"] }, { actionType: a.VERIFAI_SIMPLE_SIGNATURE, handlingModule: s.verifaiSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.FREJA_SIMPLE_SIGNATURE, handlingModule: s.frejaSimpleSignature, supportedCountries: ["AD", "AF", "AG", "AO", "AL", "AM", "AR", "AU", "AS", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "DZ", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW", "BZ"] }, { actionType: a.AUDKENNI_QUALIFIED_SIGNATURE, handlingModule: s.audkenniQesSignature, supportedCountries: ["IS"] }, { actionType: a.YES_COM_QUALIFIED_SIGNATURE, handlingModule: s.yesComQesSignature, supportedCountries: ["DE"] }, { actionType: a.SIMPLY_SIGN_QES_SIGNATURE, handlingModule: s.simplySignQesSignature, supportedCountries: ["PL"] }, { actionType: a.UANATACA_QUALIFIED_SIGNATURE, handlingModule: s.uanatacaQesSignature, supportedCountries: ["ES"] }, { actionType: a.INFOCERT_QUALIFIED_SIGNATURE, handlingModule: s.infoCertQesSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DE", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE, handlingModule: s.certsignWebapiQesSignature, supportedCountries: ["RO"] }, { actionType: a.HALCOM_QUALIFIED_SIGNATURE, handlingModule: s.halcomQesSignature, supportedCountries: ["SI"] }, { actionType: a.SWISS_ID_QUALIFIED_SIGNATURE, handlingModule: s.swissIdQesSignature, supportedCountries: ["CH"] }, { actionType: a.SWISS_COM_QUALIFIED_SIGNATURE, handlingModule: s.swissComQesSignature, supportedCountries: ["CH"] }, { actionType: a.DK_MITID_ADVANCED_SIGNATURE, handlingModule: s.mitIdAdvancedSignature, supportedCountries: ["DK"] }, { actionType: a.DK_MITID_QES_SIGNATURE, handlingModule: s.mitIdQesSignature, supportedCountries: ["DK"] }, { actionType: a.SE_BANK_ID_ADVANCED_SIGNATURE, handlingModule: s.seBankIdAdvancedSignature, supportedCountries: ["SE"] }, { actionType: a.SE_BANK_ID_QES_SIGNATURE, handlingModule: s.seBankIdQesSignature, supportedCountries: ["SE"] }, { actionType: a.SE_BANK_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.seBankIdAdvancedHashSignature, supportedCountries: ["SE"] }, { actionType: a.DK_MIT_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.dkMitIdAdvancedHashSignature, supportedCountries: ["DK"] }, { actionType: a.NO_BANK_ID_ADVANCED_HASH_SIGNATURE, handlingModule: s.noBankIdAdvancedHashSignature, supportedCountries: ["NO"] }, { actionType: a.IT_SPID_QUALIFIED_HASH_SIGNATURE, handlingModule: s.itSpidQualifiedHashSignature, supportedCountries: ["IT"] }, { actionType: a.SE_FREJA_EID_ADVANCED_SIGNATURE, handlingModule: s.frejaAdvancedSignature, supportedCountries: ["AD", "AF", "AG", "AO", "AL", "AM", "AR", "AU", "AS", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "DZ", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW", "BZ"] }, { actionType: a.SE_FREJA_EID_QES_SIGNATURE, handlingModule: s.frejaQesSignature, supportedCountries: ["AD", "AF", "AG", "AO", "AL", "AM", "AR", "AU", "AS", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "DZ", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW", "BZ"] }, { actionType: a.FR_IDENT_ADVANCED_SIGNATURE, handlingModule: s.frIdentAdvancedSignature, supportedCountries: ["FR"] }, { actionType: a.GB_ONE_ID_ADVANCED_SIGNATURE, handlingModule: s.gbOneIdAdvancedSignature, supportedCountries: ["GB"] }, { actionType: a.HANDWRITTEN_SIMPLE_SIGNATURE, handlingModule: s.handwrittenSignature, supportedCountries: ["WORLD"] }, { actionType: a.HARICA_QES_SIGNATURE, handlingModule: s.haricaQesSignature, supportedCountries: ["GR"] }, { actionType: a.VERIFF_ADVANCED_SIGNATURE, handlingModule: s.veriffAdvancedSignature, supportedCountries: ["AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "CI", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "YE", "ZM", "ZW"] }, { actionType: a.LT_ID_QES_SIGNATURE, handlingModule: s.ltIdQesSignature, supportedCountries: ["LT"] }, { actionType: a.CERT_STORE_QES_SIGNATURE, handlingModule: s.certStoreQesSignature, supportedCountries: ["WORLD"] }, { actionType: a.CERT_STORE_ADVANCED_SIGNATURE, handlingModule: s.certStoreAdvancedSignature, supportedCountries: ["WORLD"] }, { actionType: a.CERT_STORE_ADV_UNVERIFIED_SIGN, handlingModule: s.certStoreAdvancedUnverifiedSignature, supportedCountries: ["WORLD"] }, { actionType: a.BUYPASS_QES_SIGNATURE, handlingModule: s.buypassQesSignature, supportedCountries: ["NO"] }, { actionType: a.FI_FTN_INTESI_ADS_SIGNATURE, handlingModule: s.intesiFtnAdvSignature, supportedCountries: ["FI"] }, { actionType: a.TRUST_ASIA_SIGNATURE, handlingModule: s.trustAsiaSignature, supportedCountries: ["CN"] }, { actionType: a.MSC_TRUST_GATE_SIGNATURE, handlingModule: s.mscTrustGateSignature, supportedCountries: ["MY"] }, { actionType: a.GSE_ADV_SIGNATURE, handlingModule: s.gseAdvSignature, supportedCountries: ["CO"] }, { actionType: a.CERTME_QES_SIGNATURE, handlingModule: s.certMeQesSignature, supportedCountries: ["RO"] }, { actionType: a.ES_LLEIDA_ADV_SIGNATURE, handlingModule: s.esLleidaAdvSignature, supportedCountries: ["ES"] }, { actionType: a.ADACOM_QES_SIGNATURE, handlingModule: s.adacomQesSignature, supportedCountries: ["GR"] }, { actionType: a.ADACOM_ONE_SHOT_QES_SIGNATURE, handlingModule: s.adacomOneShotQesSignature, supportedCountries: ["AL", "AR", "AU", "AT", "BD", "BE", "BR", "BG", "CA", "CL", "CN", "CO", "CR", "HR", "CY", "CZ", "DK", "DO", "EC", "EG", "EE", "FI", "FR", "DE", "GB", "GR", "HU", "IS", "IE", "IN", "IL", "IT", "JP", "KE", "LV", "LT", "LU", "MY", "MT", "MX", "MK", "NL", "NZ", "NO", "PK", "PA", "PE", "PL", "PT", "KR", "RO", "RS", "SG", "SK", "SI", "ZA", "ES", "SE", "CH", "TW", "TH", "TR", "UA", "AE", "UY", "US", "VE", "VN"] }, { actionType: a.DIIA_QES_SIGNATURE, handlingModule: s.diiaQesSignature, supportedCountries: ["UA"] }, { actionType: a.EMUDHRA_QES_SIGNATURE, handlingModule: s.emudhraQesSignature, supportedCountries: ["IN"] }, { actionType: a.VIDA_ADVANCED_SIGNATURE, handlingModule: s.vidaAdvancedSignature, supportedCountries: ["ID"] }, { actionType: a.VN_BKAV_TOKEN_SIGNATURE, handlingModule: s.vnBkavTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_CA2_TOKEN_SIGNATURE, handlingModule: s.vnCa2TokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_FAST_TOKEN_SIGNATURE, handlingModule: s.vnFastTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_FPT_TOKEN_SIGNATURE, handlingModule: s.vnFptTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_SMART_TOKEN_SIGNATURE, handlingModule: s.vnSmartTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_VIETTEL_TOKEN_SIGNATURE, handlingModule: s.vnViettelTokenSignature, supportedCountries: ["VN"] }, { actionType: a.VN_VNPT_TOKEN_SIGNATURE, handlingModule: s.vnVnptTokenSignature, supportedCountries: ["VN"] }, { actionType: a.DIGILOGIX_QES_SIGNATURE, handlingModule: s.digilogixQesSignature, supportedCountries: ["AR"] }, { actionType: a.BUYPASS_ADVANCED_SIGNATURE, handlingModule: s.buypassAdvancedSignature, supportedCountries: ["NO"] }, { actionType: a.IGNISIGN_ADVANCED_SIGNATURE, handlingModule: s.igniSignAdvancedSignature, supportedCountries: ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "ER", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"] }, { actionType: a.B_TRUST_QES_SIGNATURE, handlingModule: s.bTrustQesSignature, supportedCountries: ["AF", "AL", "DZ", "AS", "AD", "AO", "AI", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GU", "GT", "GN", "GW", "GY", "HT", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "XK", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "KP", "MK", "FM", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "PR", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "KR", "SS", "ES", "LK", "SD", "SR", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VE", "VN", "ZM", "ZW"] }, { actionType: a.ES_AUTOFIRMA_SIGNATURE, handlingModule: s.esAutofirmaSignature, supportedCountries: ["ES"] }, { actionType: a.LOCAL_ADV_UNVERIFIED_SIGNATURE, handlingModule: s.localAdvUnverifiedSignature, supportedCountries: ["WORLD"] }] }), u = function(e3, t3, n3) {
|
|
9078
9078
|
const r3 = c[e3];
|
|
9079
9079
|
if (t3 && n3) {
|
|
9080
9080
|
const i2 = r3.find(function(e4) {
|
|
@@ -11050,12 +11050,12 @@ function requireEideasyBrowserClient() {
|
|
|
11050
11050
|
return function(t3) {
|
|
11051
11051
|
return e3.apply(this, arguments);
|
|
11052
11052
|
};
|
|
11053
|
-
}(), { countryCode: { type: "string", required: true }, phone: { type: "string", required: true } }), Wr = function() {
|
|
11053
|
+
}(), { countryCode: { type: "string", required: true }, phone: { type: "string", required: true } }), Wr = Xn({ moduleName: s.chaveMovel, createModuleCreator: Tn }), Jr = function() {
|
|
11054
11054
|
let { message: e3 = "", userMessage: t3 = "", details: n3 = {} } = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
11055
11055
|
this.message = e3, this.userMessage = t3, this.details = n3, this.stack = new Error().stack;
|
|
11056
11056
|
};
|
|
11057
|
-
(
|
|
11058
|
-
const
|
|
11057
|
+
(Jr.prototype = new Error()).name = "MethodException";
|
|
11058
|
+
const Yr = Jr, zr = { iframeHolder: { type: "object" }, docId: { type: "string", required: true }, signingCertificate: { type: "string", required: false } }, Xr = function(e3) {
|
|
11059
11059
|
let { moduleName: t3, createModuleCreator: n3 } = e3;
|
|
11060
11060
|
const i2 = function(e4) {
|
|
11061
11061
|
let { countryCode: n4, clientId: i3, docId: o3, apiEndpoints: a3 } = e4;
|
|
@@ -11064,7 +11064,7 @@ function requireEideasyBrowserClient() {
|
|
|
11064
11064
|
}, o2 = function(e4, t4) {
|
|
11065
11065
|
if (e4 instanceof Error) throw e4;
|
|
11066
11066
|
let n4;
|
|
11067
|
-
throw "no_certificates" === e4.result && (n4 = t4.t("no_certificates")), new
|
|
11067
|
+
throw "no_certificates" === e4.result && (n4 = t4.t("no_certificates")), new Yr({ userMessage: n4, message: e4.message, details: e4 });
|
|
11068
11068
|
}, a2 = function() {
|
|
11069
11069
|
var e4 = nn(function(e5) {
|
|
11070
11070
|
let { iframeHolder: t4, iframeUrl: n4, monitor: r3, iframeMessenger: i3, cancelToken: o3 } = e5;
|
|
@@ -11143,83 +11143,83 @@ function requireEideasyBrowserClient() {
|
|
|
11143
11143
|
return e4.apply(this, arguments);
|
|
11144
11144
|
};
|
|
11145
11145
|
}();
|
|
11146
|
-
return n3(t3, f2,
|
|
11147
|
-
},
|
|
11146
|
+
return n3(t3, f2, zr);
|
|
11147
|
+
}, $r = Xr({ moduleName: s.idCardSignature, createModuleCreator: Tn }), ei = s.mobileIdSignature, ti = function(e3) {
|
|
11148
11148
|
let { certificate: t3, country: n3, phone: r3, idcode: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2 } = e3;
|
|
11149
11149
|
const c2 = a2.inCurrentMode.cscApiAuthorizeCredential();
|
|
11150
11150
|
return s2.post({ url: c2, withCredentials: false, data: { sign_type: "mid-signature", certificate: t3, country: n3, phone: r3, idcode: i2 }, cancelToken: o2 });
|
|
11151
|
-
},
|
|
11151
|
+
}, ni = function(e3) {
|
|
11152
11152
|
let { phone: t3, idcode: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, countryCode: c2, language: u2 } = e3;
|
|
11153
11153
|
const l2 = a2.inCurrentMode.startSigning();
|
|
11154
11154
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: "mobile-id", phone: t3, idcode: n3, country: c2, lang: u2 }, cancelToken: o2 });
|
|
11155
|
-
},
|
|
11155
|
+
}, ri = function(e3) {
|
|
11156
11156
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
11157
11157
|
return n3.post({ url: r3.inCurrentMode.completeSignatureMobileId(), withCredentials: false, data: { token: t3.token, doc_id: a2, timeout: 2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
11158
|
-
},
|
|
11158
|
+
}, ii = function(e3) {
|
|
11159
11159
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
11160
|
-
return Nn({ pollInterval: 2e3, maxPollDuration: 12e4, fn:
|
|
11161
|
-
},
|
|
11160
|
+
return Nn({ pollInterval: 2e3, maxPollDuration: 12e4, fn: ri, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
11161
|
+
}, oi = Tn(ei, function() {
|
|
11162
11162
|
var e3 = nn(function(e4) {
|
|
11163
11163
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, language: c2, idcode: l2, phone: d2, countryCode: p3, started: g2, action: f2, redirect: h3 } = e4;
|
|
11164
11164
|
return function* () {
|
|
11165
11165
|
if ("cscApiAuthorizeCredential" === f2) {
|
|
11166
|
-
const e6 = yield sn(
|
|
11166
|
+
const e6 = yield sn(ti)({ country: p3, idcode: l2, phone: d2, cancelToken: i2, apiEndpoints: o2, apiClient: a2 });
|
|
11167
11167
|
return sn(h3, { shouldFormatResult: false })(e6);
|
|
11168
11168
|
}
|
|
11169
|
-
const e5 = u(r2.SIGNATURE,
|
|
11169
|
+
const e5 = u(r2.SIGNATURE, ei, p3);
|
|
11170
11170
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
11171
|
-
const y2 = yield sn(
|
|
11172
|
-
return g2(y2), sn(
|
|
11171
|
+
const y2 = yield sn(ni)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: c2, idcode: l2, phone: d2, countryCode: p3 });
|
|
11172
|
+
return g2(y2), sn(ii)({ data: y2.data, apiClient: a2, apiEndpoints: o2, language: c2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
11173
11173
|
}();
|
|
11174
11174
|
});
|
|
11175
11175
|
return function(t3) {
|
|
11176
11176
|
return e3.apply(this, arguments);
|
|
11177
11177
|
};
|
|
11178
|
-
}(), { countryCode: { type: "string", required: true }, idcode: { type: "string", required: true }, phone: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
11178
|
+
}(), { countryCode: { type: "string", required: true }, idcode: { type: "string", required: true }, phone: { type: "string", required: true }, docId: { type: "string", required: true } }), ai = s.smartIdSignature, si = function(e3) {
|
|
11179
11179
|
let { contractId: t3, idcode: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, countryCode: c2, language: u2, waitForChallengeCode: l2 } = e3;
|
|
11180
11180
|
const d2 = a2.inCurrentMode.startSigning();
|
|
11181
11181
|
return s2.post({ url: d2, withCredentials: false, data: { doc_id: i2, contract_id: t3, client_id: r3, sign_type: "smart-id", idcode: n3, country: c2, lang: u2, wait_for_challenge_code: l2 }, cancelToken: o2 });
|
|
11182
|
-
},
|
|
11182
|
+
}, ci = function(e3) {
|
|
11183
11183
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
11184
11184
|
return n3.post({ url: r3.inCurrentMode.completeSignatureSmartId(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2, timeout: 2 }, cancelToken: o2 });
|
|
11185
|
-
},
|
|
11185
|
+
}, ui = function(e3) {
|
|
11186
11186
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, onTryComplete: c2, setOnRefreshByUser: u2 } = e3;
|
|
11187
11187
|
const l2 = Nn({ pollInterval: 2e3, maxPollDuration: 12e4, onPoll: function(e4) {
|
|
11188
11188
|
c2({ data: e4 && e4.result && e4.result.data || {} });
|
|
11189
|
-
}, fn:
|
|
11189
|
+
}, fn: ci, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] });
|
|
11190
11190
|
return new Promise(function(e4, t4) {
|
|
11191
11191
|
l2.start({ setOnRefreshByUser: u2 }).then(e4).catch(t4);
|
|
11192
11192
|
});
|
|
11193
|
-
},
|
|
11193
|
+
}, li = function(e3) {
|
|
11194
11194
|
let { country: t3, cancelToken: n3, apiEndpoints: r3, apiClient: i2, idcode: o2 } = e3;
|
|
11195
11195
|
const a2 = r3.inCurrentMode.cscApiAuthorizeCredential();
|
|
11196
11196
|
return i2.post({ url: a2, withCredentials: false, data: { sign_type: "smart-id-signature", country: t3, idcode: o2 }, cancelToken: n3 });
|
|
11197
|
-
},
|
|
11197
|
+
}, di = Tn(ai, function() {
|
|
11198
11198
|
var e3 = nn(function(e4) {
|
|
11199
11199
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, idcode: d2, countryCode: p3, started: g2, action: f2, redirect: h3, onTryComplete: y2, waitForChallengeCode: T2 = true, setOnRefreshByUser: S3 } = e4;
|
|
11200
11200
|
return function* () {
|
|
11201
|
-
const e5 = u(r2.SIGNATURE,
|
|
11201
|
+
const e5 = u(r2.SIGNATURE, ai, p3);
|
|
11202
11202
|
if ("cscApiAuthorizeCredential" === f2) {
|
|
11203
|
-
const e6 = yield sn(
|
|
11203
|
+
const e6 = yield sn(li)({ country: p3, idcode: d2, cancelToken: o2, apiEndpoints: a2, apiClient: s2 });
|
|
11204
11204
|
return sn(h3, { shouldFormatResult: false })(e6);
|
|
11205
11205
|
}
|
|
11206
11206
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
11207
|
-
const I2 = yield sn(
|
|
11208
|
-
return g2(I2), sn(
|
|
11207
|
+
const I2 = yield sn(si)({ clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, idcode: d2, countryCode: p3, contractId: i2, waitForChallengeCode: T2 });
|
|
11208
|
+
return g2(I2), sn(ui)({ data: I2.data, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3, onTryComplete: y2, setOnRefreshByUser: S3 });
|
|
11209
11209
|
}();
|
|
11210
11210
|
});
|
|
11211
11211
|
return function(t3) {
|
|
11212
11212
|
return e3.apply(this, arguments);
|
|
11213
11213
|
};
|
|
11214
|
-
}(), { countryCode: { type: "string", required: true }, idcode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
11214
|
+
}(), { countryCode: { type: "string", required: true }, idcode: { type: "string", required: true }, docId: { type: "string", required: true } }), pi = { countryCode: { type: "string", required: true }, idcode: { type: "string" }, email: { type: "string" }, phone: { type: "string" }, docId: { type: "string", required: true } }, gi = function(e3) {
|
|
11215
11215
|
let { country: t3, phone: n3, email: r3, idcode: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, signType: c2 } = e3;
|
|
11216
11216
|
const u2 = a2.inCurrentMode.cscApiAuthorizeCredential();
|
|
11217
11217
|
return s2.post({ url: u2, withCredentials: false, data: { sign_type: c2, country: t3, phone: n3, email: r3, idcode: i2 }, cancelToken: o2 });
|
|
11218
|
-
},
|
|
11218
|
+
}, fi2 = function(e3) {
|
|
11219
11219
|
let { contractId: t3, idcode: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, countryCode: c2, language: u2, email: l2, phone: d2, actionType: p3 } = e3;
|
|
11220
11220
|
const g2 = a2.inCurrentMode.startSigning();
|
|
11221
11221
|
return s2.post({ url: g2, withCredentials: false, data: { doc_id: i2, contract_id: t3, client_id: r3, sign_type: p3, idcode: n3, email: l2, phone: d2, country: c2, lang: u2 }, cancelToken: o2 });
|
|
11222
|
-
},
|
|
11222
|
+
}, hi = function(e3, t3, n3) {
|
|
11223
11223
|
const i2 = function(e4, t4, n4) {
|
|
11224
11224
|
return function() {
|
|
11225
11225
|
var i3 = nn(function(i4) {
|
|
@@ -11228,10 +11228,10 @@ function requireEideasyBrowserClient() {
|
|
|
11228
11228
|
const i5 = u(r2.SIGNATURE, e4, T2);
|
|
11229
11229
|
if (p3.dispatch({ message: "".concat(i5.actionType, ": signing started") }), C2.info("".concat(i5.actionType, ": signing started")), "cscApiAuthorizeCredential" === I2) {
|
|
11230
11230
|
C2.info("".concat(i5.actionType, ": cscApiAuthorizeCredential called"));
|
|
11231
|
-
const e5 = yield sn(
|
|
11231
|
+
const e5 = yield sn(gi)({ country: T2, idcode: f2, phone: h3, email: y2, cancelToken: c2, apiEndpoints: l2, apiClient: d2, signType: t4 });
|
|
11232
11232
|
return C2.info("".concat(i5.actionType, ": authorizationResult"), e5), sn(m2, { shouldFormatResult: false })(e5);
|
|
11233
11233
|
}
|
|
11234
|
-
const A2 = yield sn(
|
|
11234
|
+
const A2 = yield sn(fi2)({ clientId: o2, docId: a2, cancelToken: c2, apiEndpoints: l2, apiClient: d2, language: g2, idcode: f2, phone: h3, email: y2, countryCode: T2, contractId: s2, actionType: i5.actionType });
|
|
11235
11235
|
return C2.info("".concat(i5.actionType, ": signing start result"), A2), S3(A2), sn(function() {
|
|
11236
11236
|
const e5 = Nn({ pollInterval: 2e3, fn: function() {
|
|
11237
11237
|
return d2.post({ url: n4(l2), withCredentials: false, data: { token: A2.data.token, doc_id: a2, lang: g2, client_id: o2 }, cancelToken: c2 });
|
|
@@ -11247,12 +11247,12 @@ function requireEideasyBrowserClient() {
|
|
|
11247
11247
|
};
|
|
11248
11248
|
}();
|
|
11249
11249
|
}(e3, t3, n3);
|
|
11250
|
-
return Tn(e3, i2,
|
|
11251
|
-
},
|
|
11250
|
+
return Tn(e3, i2, pi);
|
|
11251
|
+
}, yi = hi(s.evroTrustSignature, "evrotrust-signature", function(e3) {
|
|
11252
11252
|
return e3.inCurrentMode.completeSignatureEvrotrust();
|
|
11253
|
-
}),
|
|
11253
|
+
}), Ti = hi(s.evroTrustGedaSignature, "evrotrust-geda-signature", function(e3) {
|
|
11254
11254
|
return e3.inCurrentMode.completeSignatureEvrotrustGeda();
|
|
11255
|
-
}),
|
|
11255
|
+
}), Si = s.otpSignature, Ii = function() {
|
|
11256
11256
|
var e3 = nn(function(e4) {
|
|
11257
11257
|
let { language: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, actionType: s2 } = e4;
|
|
11258
11258
|
return function* () {
|
|
@@ -11263,7 +11263,7 @@ function requireEideasyBrowserClient() {
|
|
|
11263
11263
|
return function(t3) {
|
|
11264
11264
|
return e3.apply(this, arguments);
|
|
11265
11265
|
};
|
|
11266
|
-
}(),
|
|
11266
|
+
}(), mi = function(e3) {
|
|
11267
11267
|
let { startSigningResult: t3, confirmationCodeRequest: n3, setOnCancelByUser: r3 } = e3;
|
|
11268
11268
|
return new Promise(function(e4, i2) {
|
|
11269
11269
|
r3(function() {
|
|
@@ -11271,31 +11271,31 @@ function requireEideasyBrowserClient() {
|
|
|
11271
11271
|
e5.isCancel = true, i2(e5);
|
|
11272
11272
|
}), n3({ data: t3.data }, e4, i2);
|
|
11273
11273
|
});
|
|
11274
|
-
},
|
|
11274
|
+
}, Ei = function(e3) {
|
|
11275
11275
|
let { apiClient: t3, apiEndpoints: n3, language: r3, cancelToken: i2, docId: o2, clientId: a2, emailToken: s2, smsToken: c2, handwrittenSignatureData: u2, handwrittenSignatureDataUrl: l2 } = e3;
|
|
11276
11276
|
return t3.post({ url: n3.inCurrentMode.completeOtp(), withCredentials: false, data: { doc_id: o2, timeout: 2, lang: r3, client_id: a2, email_token: s2, sms_token: c2, handwritten_signature_data: u2, handwritten_signature_data_url: l2 }, cancelToken: i2 });
|
|
11277
|
-
},
|
|
11277
|
+
}, Ci = Tn(Si, function() {
|
|
11278
11278
|
var e3 = nn(function(e4) {
|
|
11279
11279
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, language: c2, countryCode: l2, emailToken: d2, smsToken: p3, handwrittenSignatureData: g2, handwrittenSignatureDataUrl: f2, started: h3, confirmationCodeRequest: y2, setOnCancelByUser: T2 } = e4;
|
|
11280
11280
|
return function* () {
|
|
11281
|
-
const e5 = u(r2.SIGNATURE,
|
|
11281
|
+
const e5 = u(r2.SIGNATURE, Si, l2);
|
|
11282
11282
|
if (console.log(e5), s2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), !p3 && !d2) {
|
|
11283
|
-
const r3 = yield sn(
|
|
11283
|
+
const r3 = yield sn(Ii)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: c2, actionType: e5.actionType });
|
|
11284
11284
|
h3(r3);
|
|
11285
|
-
const s3 = yield sn(
|
|
11285
|
+
const s3 = yield sn(mi, { shouldFormatResult: false })({ startSigningResult: r3, confirmationCodeRequest: y2, setOnCancelByUser: T2 });
|
|
11286
11286
|
p3 = s3.smsToken, d2 = s3.emailToken;
|
|
11287
11287
|
}
|
|
11288
|
-
return sn(
|
|
11288
|
+
return sn(Ei)({ apiClient: a2, apiEndpoints: o2, language: c2, cancelToken: i2, docId: n3, clientId: t3, emailToken: d2, smsToken: p3, handwrittenSignatureData: g2, handwrittenSignatureDataUrl: f2 });
|
|
11289
11289
|
}();
|
|
11290
11290
|
});
|
|
11291
11291
|
return function(t3) {
|
|
11292
11292
|
return e3.apply(this, arguments);
|
|
11293
11293
|
};
|
|
11294
|
-
}(), { docId: { type: "string", required: true }, emailToken: { type: "string" }, smsToken: { type: "string" } }),
|
|
11294
|
+
}(), { docId: { type: "string", required: true }, emailToken: { type: "string" }, smsToken: { type: "string" } }), Ai = { docId: { type: "string", required: true }, confirmedBySigner: { validator: (e3) => [null, true, false].includes(e3) } }, vi = function(e3) {
|
|
11295
11295
|
let { certificate: t3, country: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, actionType: a2 } = e3;
|
|
11296
11296
|
const s2 = i2.inCurrentMode.cscApiAuthorizeCredentialRedirect();
|
|
11297
11297
|
return o2.post({ url: s2, withCredentials: false, data: { sign_type: a2, certificate: t3, country: n3 }, cancelToken: r3 });
|
|
11298
|
-
},
|
|
11298
|
+
}, bi = function(e3) {
|
|
11299
11299
|
let { moduleName: t3, createModuleCreator: n3 } = e3;
|
|
11300
11300
|
const i2 = function(e4) {
|
|
11301
11301
|
let { contractId: t4, clientId: n4, docId: r3, cancelToken: i3, apiEndpoints: o3, apiClient: a2, language: s2, actionType: c2, confirmedBySigner: u2, country: l2 } = e4;
|
|
@@ -11307,7 +11307,7 @@ function requireEideasyBrowserClient() {
|
|
|
11307
11307
|
return function* () {
|
|
11308
11308
|
const e6 = u(r2.SIGNATURE, t3, g2);
|
|
11309
11309
|
if ("cscApiAuthorizeCredential" === y2) {
|
|
11310
|
-
const t4 = yield sn(
|
|
11310
|
+
const t4 = yield sn(vi)({ country: g2, cancelToken: s2, apiEndpoints: c2, apiClient: l2, actionType: e6.actionType });
|
|
11311
11311
|
return sn(f2, { shouldFormatResult: false })(t4);
|
|
11312
11312
|
}
|
|
11313
11313
|
d2.dispatch({ message: "".concat(e6.actionType, ": signing started") });
|
|
@@ -11319,46 +11319,46 @@ function requireEideasyBrowserClient() {
|
|
|
11319
11319
|
return e4.apply(this, arguments);
|
|
11320
11320
|
};
|
|
11321
11321
|
}();
|
|
11322
|
-
return n3(t3, o2,
|
|
11323
|
-
},
|
|
11322
|
+
return n3(t3, o2, Ai);
|
|
11323
|
+
}, Ni = bi({ moduleName: s.eParakstsMobileSignature, createModuleCreator: Tn }), _i = bi({ moduleName: s.ftnAdvancedFullSignature, createModuleCreator: Tn }), Ri = bi({ moduleName: s.ftnSignature, createModuleCreator: Tn }), Oi = bi({ moduleName: s.atHandySignature, createModuleCreator: Tn }), Mi = s.zealIdSignature, Di = function(e3) {
|
|
11324
11324
|
let { apiEndpoints: t3, clientId: n3, docId: r3 } = e3;
|
|
11325
11325
|
return { data: { redirect_uri: t3.inCurrentMode.startZealIdSignature({ clientId: n3, docId: r3 }) } };
|
|
11326
|
-
},
|
|
11326
|
+
}, Ui = Tn(Mi, function() {
|
|
11327
11327
|
var e3 = nn(function* (e4) {
|
|
11328
|
-
const { redirect: t3, apiEndpoints: n3, clientId: r3, docId: i2 } = e4, o2 = yield sn(
|
|
11328
|
+
const { redirect: t3, apiEndpoints: n3, clientId: r3, docId: i2 } = e4, o2 = yield sn(Di)({ apiEndpoints: n3, clientId: r3, docId: i2 });
|
|
11329
11329
|
return sn(t3, { shouldFormatResult: false })(o2);
|
|
11330
11330
|
});
|
|
11331
11331
|
return function(t3) {
|
|
11332
11332
|
return e3.apply(this, arguments);
|
|
11333
11333
|
};
|
|
11334
|
-
}()),
|
|
11334
|
+
}()), wi = bi({ moduleName: s.mojeIdSignature, createModuleCreator: Tn }), ki = bi({ moduleName: s.serproIdAdvancedSignature, createModuleCreator: Tn }), Gi = bi({ moduleName: s.czBankIDSignature, createModuleCreator: Tn }), Li = bi({ moduleName: s.abaDoSignature, createModuleCreator: Tn }), Bi = bi({ moduleName: s.googleSignature, createModuleCreator: Tn }), Pi = bi({ moduleName: s.seBankIdSignature, createModuleCreator: Tn }), ji = s.dTrustSignMeSignature, Fi = function(e3) {
|
|
11335
11335
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, username: u2 } = e3;
|
|
11336
11336
|
const l2 = o2.inCurrentMode.startSigning();
|
|
11337
11337
|
return a2.post({ url: l2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, username: u2 }, cancelToken: i2 });
|
|
11338
|
-
},
|
|
11338
|
+
}, xi = Tn(ji, function() {
|
|
11339
11339
|
var e3 = nn(function(e4) {
|
|
11340
11340
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, username: p3, redirect: g2 } = e4;
|
|
11341
11341
|
return function* () {
|
|
11342
|
-
const e5 = u(r2.SIGNATURE,
|
|
11342
|
+
const e5 = u(r2.SIGNATURE, ji, d2);
|
|
11343
11343
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
11344
|
-
const f2 = yield sn(
|
|
11344
|
+
const f2 = yield sn(Fi)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, username: p3, actionType: e5.actionType });
|
|
11345
11345
|
return sn(g2, { shouldFormatResult: false })(f2);
|
|
11346
11346
|
}();
|
|
11347
11347
|
});
|
|
11348
11348
|
return function(t3) {
|
|
11349
11349
|
return e3.apply(this, arguments);
|
|
11350
11350
|
};
|
|
11351
|
-
}(), { username: { type: "string", required: true } }),
|
|
11351
|
+
}(), { username: { type: "string", required: true } }), Vi = s.dTrustSignMeAdvSignature, Ki = function(e3) {
|
|
11352
11352
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, username: u2 } = e3;
|
|
11353
11353
|
const l2 = o2.inCurrentMode.startSigning();
|
|
11354
11354
|
return a2.post({ url: l2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, username: u2 }, cancelToken: i2 });
|
|
11355
|
-
},
|
|
11355
|
+
}, Hi = Tn(Vi, function() {
|
|
11356
11356
|
var e3 = nn(function(e4) {
|
|
11357
11357
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, username: p3, redirect: g2 } = e4;
|
|
11358
11358
|
return function* () {
|
|
11359
|
-
const e5 = u(r2.SIGNATURE,
|
|
11359
|
+
const e5 = u(r2.SIGNATURE, Vi, d2);
|
|
11360
11360
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
11361
|
-
const f2 = yield sn(
|
|
11361
|
+
const f2 = yield sn(Ki)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, username: p3, actionType: e5.actionType });
|
|
11362
11362
|
return sn(g2, { shouldFormatResult: false })(f2);
|
|
11363
11363
|
}();
|
|
11364
11364
|
});
|
|
@@ -11366,56 +11366,56 @@ function requireEideasyBrowserClient() {
|
|
|
11366
11366
|
return e3.apply(this, arguments);
|
|
11367
11367
|
};
|
|
11368
11368
|
}(), { username: { type: "string", required: true } });
|
|
11369
|
-
function
|
|
11369
|
+
function qi(e3) {
|
|
11370
11370
|
return "0123456789abcdefghijklmnopqrstuvwxyz".charAt(e3);
|
|
11371
11371
|
}
|
|
11372
|
-
function
|
|
11372
|
+
function Qi(e3, t3) {
|
|
11373
11373
|
return e3 & t3;
|
|
11374
11374
|
}
|
|
11375
|
-
function
|
|
11375
|
+
function Zi(e3, t3) {
|
|
11376
11376
|
return e3 | t3;
|
|
11377
11377
|
}
|
|
11378
|
-
function
|
|
11378
|
+
function Wi(e3, t3) {
|
|
11379
11379
|
return e3 ^ t3;
|
|
11380
11380
|
}
|
|
11381
|
-
function
|
|
11381
|
+
function Ji(e3, t3) {
|
|
11382
11382
|
return e3 & ~t3;
|
|
11383
11383
|
}
|
|
11384
|
-
function
|
|
11384
|
+
function Yi(e3) {
|
|
11385
11385
|
if (0 == e3) return -1;
|
|
11386
11386
|
var t3 = 0;
|
|
11387
11387
|
return 65535 & e3 || (e3 >>= 16, t3 += 16), 255 & e3 || (e3 >>= 8, t3 += 8), 15 & e3 || (e3 >>= 4, t3 += 4), 3 & e3 || (e3 >>= 2, t3 += 2), 1 & e3 || ++t3, t3;
|
|
11388
11388
|
}
|
|
11389
|
-
function
|
|
11389
|
+
function zi(e3) {
|
|
11390
11390
|
for (var t3 = 0; 0 != e3; ) e3 &= e3 - 1, ++t3;
|
|
11391
11391
|
return t3;
|
|
11392
11392
|
}
|
|
11393
|
-
var
|
|
11394
|
-
function
|
|
11393
|
+
var Xi, $i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
11394
|
+
function eo(e3) {
|
|
11395
11395
|
var t3, n3, r3 = "";
|
|
11396
|
-
for (t3 = 0; t3 + 3 <= e3.length; t3 += 3) n3 = parseInt(e3.substring(t3, t3 + 3), 16), r3 +=
|
|
11397
|
-
for (t3 + 1 == e3.length ? (n3 = parseInt(e3.substring(t3, t3 + 1), 16), r3 +=
|
|
11396
|
+
for (t3 = 0; t3 + 3 <= e3.length; t3 += 3) n3 = parseInt(e3.substring(t3, t3 + 3), 16), r3 += $i.charAt(n3 >> 6) + $i.charAt(63 & n3);
|
|
11397
|
+
for (t3 + 1 == e3.length ? (n3 = parseInt(e3.substring(t3, t3 + 1), 16), r3 += $i.charAt(n3 << 2)) : t3 + 2 == e3.length && (n3 = parseInt(e3.substring(t3, t3 + 2), 16), r3 += $i.charAt(n3 >> 2) + $i.charAt((3 & n3) << 4)); (3 & r3.length) > 0; ) r3 += "=";
|
|
11398
11398
|
return r3;
|
|
11399
11399
|
}
|
|
11400
|
-
function
|
|
11400
|
+
function to(e3) {
|
|
11401
11401
|
var t3, n3 = "", r3 = 0, i2 = 0;
|
|
11402
11402
|
for (t3 = 0; t3 < e3.length && "=" != e3.charAt(t3); ++t3) {
|
|
11403
|
-
var o2 =
|
|
11404
|
-
o2 < 0 || (0 == r3 ? (n3 +=
|
|
11403
|
+
var o2 = $i.indexOf(e3.charAt(t3));
|
|
11404
|
+
o2 < 0 || (0 == r3 ? (n3 += qi(o2 >> 2), i2 = 3 & o2, r3 = 1) : 1 == r3 ? (n3 += qi(i2 << 2 | o2 >> 4), i2 = 15 & o2, r3 = 2) : 2 == r3 ? (n3 += qi(i2), n3 += qi(o2 >> 2), i2 = 3 & o2, r3 = 3) : (n3 += qi(i2 << 2 | o2 >> 4), n3 += qi(15 & o2), r3 = 0));
|
|
11405
11405
|
}
|
|
11406
|
-
return 1 == r3 && (n3 +=
|
|
11406
|
+
return 1 == r3 && (n3 += qi(i2 << 2)), n3;
|
|
11407
11407
|
}
|
|
11408
|
-
var
|
|
11408
|
+
var no2, ro = { decode: function(e3) {
|
|
11409
11409
|
var t3;
|
|
11410
|
-
if (void 0 ===
|
|
11411
|
-
for (
|
|
11412
|
-
for (
|
|
11410
|
+
if (void 0 === no2) {
|
|
11411
|
+
for (no2 = /* @__PURE__ */ Object.create(null), t3 = 0; t3 < 64; ++t3) no2["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t3)] = t3;
|
|
11412
|
+
for (no2["-"] = 62, no2._ = 63, t3 = 0; t3 < 9; ++t3) no2["= \f\n\r \u2028\u2029".charAt(t3)] = -1;
|
|
11413
11413
|
}
|
|
11414
11414
|
var n3 = [], r3 = 0, i2 = 0;
|
|
11415
11415
|
for (t3 = 0; t3 < e3.length; ++t3) {
|
|
11416
11416
|
var o2 = e3.charAt(t3);
|
|
11417
11417
|
if ("=" == o2) break;
|
|
11418
|
-
if (-1 != (o2 =
|
|
11418
|
+
if (-1 != (o2 = no2[o2])) {
|
|
11419
11419
|
if (void 0 === o2) throw new Error("Illegal character at offset " + t3);
|
|
11420
11420
|
r3 |= o2, ++i2 >= 4 ? (n3[n3.length] = r3 >> 16, n3[n3.length] = r3 >> 8 & 255, n3[n3.length] = 255 & r3, r3 = 0, i2 = 0) : r3 <<= 6;
|
|
11421
11421
|
}
|
|
@@ -11431,41 +11431,41 @@ function requireEideasyBrowserClient() {
|
|
|
11431
11431
|
}
|
|
11432
11432
|
return n3;
|
|
11433
11433
|
}, re: /-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/, unarmor: function(e3) {
|
|
11434
|
-
var t3 =
|
|
11434
|
+
var t3 = ro.re.exec(e3);
|
|
11435
11435
|
if (t3) if (t3[1]) e3 = t3[1];
|
|
11436
11436
|
else {
|
|
11437
11437
|
if (!t3[2]) throw new Error("RegExp out of sync");
|
|
11438
11438
|
e3 = t3[2];
|
|
11439
11439
|
}
|
|
11440
|
-
return
|
|
11441
|
-
} },
|
|
11440
|
+
return ro.decode(e3);
|
|
11441
|
+
} }, io = 1e13, oo = function() {
|
|
11442
11442
|
function e3(e4) {
|
|
11443
11443
|
this.buf = [+e4 || 0];
|
|
11444
11444
|
}
|
|
11445
11445
|
return e3.prototype.mulAdd = function(e4, t3) {
|
|
11446
11446
|
var n3, r3, i2 = this.buf, o2 = i2.length;
|
|
11447
|
-
for (n3 = 0; n3 < o2; ++n3) (r3 = i2[n3] * e4 + t3) <
|
|
11447
|
+
for (n3 = 0; n3 < o2; ++n3) (r3 = i2[n3] * e4 + t3) < io ? t3 = 0 : r3 -= (t3 = 0 | r3 / io) * io, i2[n3] = r3;
|
|
11448
11448
|
t3 > 0 && (i2[n3] = t3);
|
|
11449
11449
|
}, e3.prototype.sub = function(e4) {
|
|
11450
11450
|
var t3, n3, r3 = this.buf, i2 = r3.length;
|
|
11451
|
-
for (t3 = 0; t3 < i2; ++t3) (n3 = r3[t3] - e4) < 0 ? (n3 +=
|
|
11451
|
+
for (t3 = 0; t3 < i2; ++t3) (n3 = r3[t3] - e4) < 0 ? (n3 += io, e4 = 1) : e4 = 0, r3[t3] = n3;
|
|
11452
11452
|
for (; 0 === r3[r3.length - 1]; ) r3.pop();
|
|
11453
11453
|
}, e3.prototype.toString = function(e4) {
|
|
11454
11454
|
if (10 != (e4 || 10)) throw new Error("only base 10 is supported");
|
|
11455
|
-
for (var t3 = this.buf, n3 = t3[t3.length - 1].toString(), r3 = t3.length - 2; r3 >= 0; --r3) n3 += (
|
|
11455
|
+
for (var t3 = this.buf, n3 = t3[t3.length - 1].toString(), r3 = t3.length - 2; r3 >= 0; --r3) n3 += (io + t3[r3]).toString().substring(1);
|
|
11456
11456
|
return n3;
|
|
11457
11457
|
}, e3.prototype.valueOf = function() {
|
|
11458
|
-
for (var e4 = this.buf, t3 = 0, n3 = e4.length - 1; n3 >= 0; --n3) t3 = t3 *
|
|
11458
|
+
for (var e4 = this.buf, t3 = 0, n3 = e4.length - 1; n3 >= 0; --n3) t3 = t3 * io + e4[n3];
|
|
11459
11459
|
return t3;
|
|
11460
11460
|
}, e3.prototype.simplify = function() {
|
|
11461
11461
|
var e4 = this.buf;
|
|
11462
11462
|
return 1 == e4.length ? e4[0] : this;
|
|
11463
11463
|
}, e3;
|
|
11464
|
-
}(),
|
|
11465
|
-
function
|
|
11464
|
+
}(), ao = /^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/, so = /^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;
|
|
11465
|
+
function co(e3, t3) {
|
|
11466
11466
|
return e3.length > t3 && (e3 = e3.substring(0, t3) + "…"), e3;
|
|
11467
11467
|
}
|
|
11468
|
-
var
|
|
11468
|
+
var uo, lo = function() {
|
|
11469
11469
|
function e3(t3, n3) {
|
|
11470
11470
|
this.hexDigits = "0123456789ABCDEF", t3 instanceof e3 ? (this.enc = t3.enc, this.pos = t3.pos) : (this.enc = t3, this.pos = n3);
|
|
11471
11471
|
}
|
|
@@ -11505,7 +11505,7 @@ function requireEideasyBrowserClient() {
|
|
|
11505
11505
|
for (var n3, r3, i2 = "", o2 = e4; o2 < t3; ) n3 = this.get(o2++), r3 = this.get(o2++), i2 += String.fromCharCode(n3 << 8 | r3);
|
|
11506
11506
|
return i2;
|
|
11507
11507
|
}, e3.prototype.parseTime = function(e4, t3, n3) {
|
|
11508
|
-
var r3 = this.parseStringISO(e4, t3), i2 = (n3 ?
|
|
11508
|
+
var r3 = this.parseStringISO(e4, t3), i2 = (n3 ? ao : so).exec(r3);
|
|
11509
11509
|
return i2 ? (n3 && (i2[1] = +i2[1], i2[1] += +i2[1] < 70 ? 2e3 : 1900), r3 = i2[1] + "-" + i2[2] + "-" + i2[3] + " " + i2[4], i2[5] && (r3 += ":" + i2[5], i2[6] && (r3 += ":" + i2[6], i2[7] && (r3 += "." + i2[7]))), i2[8] && (r3 += " UTC", "Z" != i2[8] && (r3 += i2[8], i2[9] && (r3 += ":" + i2[9]))), r3) : "Unrecognized time: " + r3;
|
|
11510
11510
|
}, e3.prototype.parseInteger = function(e4, t3) {
|
|
11511
11511
|
for (var n3, r3 = this.get(e4), i2 = r3 > 127, o2 = i2 ? 255 : 0, a2 = ""; r3 == o2 && ++e4 < t3; ) r3 = this.get(e4);
|
|
@@ -11515,39 +11515,39 @@ function requireEideasyBrowserClient() {
|
|
|
11515
11515
|
a2 = "(" + n3 + " bit)\n";
|
|
11516
11516
|
}
|
|
11517
11517
|
i2 && (r3 -= 256);
|
|
11518
|
-
for (var s2 = new
|
|
11518
|
+
for (var s2 = new oo(r3), c2 = e4 + 1; c2 < t3; ++c2) s2.mulAdd(256, this.get(c2));
|
|
11519
11519
|
return a2 + s2.toString();
|
|
11520
11520
|
}, e3.prototype.parseBitString = function(e4, t3, n3) {
|
|
11521
11521
|
for (var r3 = this.get(e4), i2 = "(" + ((t3 - e4 - 1 << 3) - r3) + " bit)\n", o2 = "", a2 = e4 + 1; a2 < t3; ++a2) {
|
|
11522
11522
|
for (var s2 = this.get(a2), c2 = a2 == t3 - 1 ? r3 : 0, u2 = 7; u2 >= c2; --u2) o2 += s2 >> u2 & 1 ? "1" : "0";
|
|
11523
|
-
if (o2.length > n3) return i2 +
|
|
11523
|
+
if (o2.length > n3) return i2 + co(o2, n3);
|
|
11524
11524
|
}
|
|
11525
11525
|
return i2 + o2;
|
|
11526
11526
|
}, e3.prototype.parseOctetString = function(e4, t3, n3) {
|
|
11527
|
-
if (this.isASCII(e4, t3)) return
|
|
11527
|
+
if (this.isASCII(e4, t3)) return co(this.parseStringISO(e4, t3), n3);
|
|
11528
11528
|
var r3 = t3 - e4, i2 = "(" + r3 + " byte)\n";
|
|
11529
11529
|
r3 > (n3 /= 2) && (t3 = e4 + n3);
|
|
11530
11530
|
for (var o2 = e4; o2 < t3; ++o2) i2 += this.hexByte(this.get(o2));
|
|
11531
11531
|
return r3 > n3 && (i2 += "…"), i2;
|
|
11532
11532
|
}, e3.prototype.parseOID = function(e4, t3, n3) {
|
|
11533
|
-
for (var r3 = "", i2 = new
|
|
11533
|
+
for (var r3 = "", i2 = new oo(), o2 = 0, a2 = e4; a2 < t3; ++a2) {
|
|
11534
11534
|
var s2 = this.get(a2);
|
|
11535
11535
|
if (i2.mulAdd(128, 127 & s2), o2 += 7, !(128 & s2)) {
|
|
11536
|
-
if ("" === r3) if ((i2 = i2.simplify()) instanceof
|
|
11536
|
+
if ("" === r3) if ((i2 = i2.simplify()) instanceof oo) i2.sub(80), r3 = "2." + i2.toString();
|
|
11537
11537
|
else {
|
|
11538
11538
|
var c2 = i2 < 80 ? i2 < 40 ? 0 : 1 : 2;
|
|
11539
11539
|
r3 = c2 + "." + (i2 - 40 * c2);
|
|
11540
11540
|
}
|
|
11541
11541
|
else r3 += "." + i2.toString();
|
|
11542
|
-
if (r3.length > n3) return
|
|
11543
|
-
i2 = new
|
|
11542
|
+
if (r3.length > n3) return co(r3, n3);
|
|
11543
|
+
i2 = new oo(), o2 = 0;
|
|
11544
11544
|
}
|
|
11545
11545
|
}
|
|
11546
11546
|
return o2 > 0 && (r3 += ".incomplete"), r3;
|
|
11547
11547
|
}, e3;
|
|
11548
|
-
}(),
|
|
11548
|
+
}(), po = function() {
|
|
11549
11549
|
function e3(e4, t3, n3, r3, i2) {
|
|
11550
|
-
if (!(r3 instanceof
|
|
11550
|
+
if (!(r3 instanceof go)) throw new Error("Invalid tag value.");
|
|
11551
11551
|
this.stream = e4, this.header = t3, this.length = n3, this.tag = r3, this.sub = i2;
|
|
11552
11552
|
}
|
|
11553
11553
|
return e3.prototype.typeName = function() {
|
|
@@ -11637,16 +11637,16 @@ function requireEideasyBrowserClient() {
|
|
|
11637
11637
|
case 17:
|
|
11638
11638
|
return null !== this.sub ? "(" + this.sub.length + " elem)" : "(no elem)";
|
|
11639
11639
|
case 12:
|
|
11640
|
-
return
|
|
11640
|
+
return co(this.stream.parseStringUTF(t3, t3 + n3), e4);
|
|
11641
11641
|
case 18:
|
|
11642
11642
|
case 19:
|
|
11643
11643
|
case 20:
|
|
11644
11644
|
case 21:
|
|
11645
11645
|
case 22:
|
|
11646
11646
|
case 26:
|
|
11647
|
-
return
|
|
11647
|
+
return co(this.stream.parseStringISO(t3, t3 + n3), e4);
|
|
11648
11648
|
case 30:
|
|
11649
|
-
return
|
|
11649
|
+
return co(this.stream.parseStringBMP(t3, t3 + n3), e4);
|
|
11650
11650
|
case 23:
|
|
11651
11651
|
case 24:
|
|
11652
11652
|
return this.stream.parseTime(t3, t3 + n3, 23 == this.tag.tagNumber);
|
|
@@ -11683,8 +11683,8 @@ function requireEideasyBrowserClient() {
|
|
|
11683
11683
|
return e4.substring(t3, t3 + n3);
|
|
11684
11684
|
}, e3.decode = function(t3) {
|
|
11685
11685
|
var n3;
|
|
11686
|
-
n3 = t3 instanceof
|
|
11687
|
-
var r3 = new
|
|
11686
|
+
n3 = t3 instanceof lo ? t3 : new lo(t3, 0);
|
|
11687
|
+
var r3 = new lo(n3), i2 = new go(n3), o2 = e3.decodeLength(n3), a2 = n3.pos, s2 = a2 - r3.pos, c2 = null, u2 = function() {
|
|
11688
11688
|
var t4 = [];
|
|
11689
11689
|
if (null !== o2) {
|
|
11690
11690
|
for (var r4 = a2 + o2; n3.pos < r4; ) t4[t4.length] = e3.decode(n3);
|
|
@@ -11715,11 +11715,11 @@ function requireEideasyBrowserClient() {
|
|
|
11715
11715
|
}
|
|
11716
11716
|
return new e3(r3, s2, o2, i2, c2);
|
|
11717
11717
|
}, e3;
|
|
11718
|
-
}(),
|
|
11718
|
+
}(), go = function() {
|
|
11719
11719
|
function e3(e4) {
|
|
11720
11720
|
var t3 = e4.get();
|
|
11721
11721
|
if (this.tagClass = t3 >> 6, this.tagConstructed = !!(32 & t3), this.tagNumber = 31 & t3, 31 == this.tagNumber) {
|
|
11722
|
-
var n3 = new
|
|
11722
|
+
var n3 = new oo();
|
|
11723
11723
|
do {
|
|
11724
11724
|
t3 = e4.get(), n3.mulAdd(128, 127 & t3);
|
|
11725
11725
|
} while (128 & t3);
|
|
@@ -11731,7 +11731,7 @@ function requireEideasyBrowserClient() {
|
|
|
11731
11731
|
}, e3.prototype.isEOC = function() {
|
|
11732
11732
|
return 0 === this.tagClass && 0 === this.tagNumber;
|
|
11733
11733
|
}, e3;
|
|
11734
|
-
}(),
|
|
11734
|
+
}(), fo = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997], ho = (1 << 26) / fo[fo.length - 1], yo = function() {
|
|
11735
11735
|
function e3(e4, t3, n3) {
|
|
11736
11736
|
null != e4 && ("number" == typeof e4 ? this.fromNumber(e4, t3, n3) : null == t3 && "string" != typeof e4 ? this.fromString(e4, 256) : this.fromString(e4, t3));
|
|
11737
11737
|
}
|
|
@@ -11747,10 +11747,10 @@ function requireEideasyBrowserClient() {
|
|
|
11747
11747
|
t3 = 2;
|
|
11748
11748
|
}
|
|
11749
11749
|
var n3, r3 = (1 << t3) - 1, i2 = false, o2 = "", a2 = this.t, s2 = this.DB - a2 * this.DB % t3;
|
|
11750
|
-
if (a2-- > 0) for (s2 < this.DB && (n3 = this[a2] >> s2) > 0 && (i2 = true, o2 =
|
|
11750
|
+
if (a2-- > 0) for (s2 < this.DB && (n3 = this[a2] >> s2) > 0 && (i2 = true, o2 = qi(n3)); a2 >= 0; ) s2 < t3 ? (n3 = (this[a2] & (1 << s2) - 1) << t3 - s2, n3 |= this[--a2] >> (s2 += this.DB - t3)) : (n3 = this[a2] >> (s2 -= t3) & r3, s2 <= 0 && (s2 += this.DB, --a2)), n3 > 0 && (i2 = true), i2 && (o2 += qi(n3));
|
|
11751
11751
|
return i2 ? o2 : "0";
|
|
11752
11752
|
}, e3.prototype.negate = function() {
|
|
11753
|
-
var t3 =
|
|
11753
|
+
var t3 = Eo();
|
|
11754
11754
|
return e3.ZERO.subTo(this, t3), t3;
|
|
11755
11755
|
}, e3.prototype.abs = function() {
|
|
11756
11756
|
return this.s < 0 ? this.negate() : this;
|
|
@@ -11762,15 +11762,15 @@ function requireEideasyBrowserClient() {
|
|
|
11762
11762
|
for (; --n3 >= 0; ) if (0 != (t3 = this[n3] - e4[n3])) return t3;
|
|
11763
11763
|
return 0;
|
|
11764
11764
|
}, e3.prototype.bitLength = function() {
|
|
11765
|
-
return this.t <= 0 ? 0 : this.DB * (this.t - 1) +
|
|
11765
|
+
return this.t <= 0 ? 0 : this.DB * (this.t - 1) + Oo(this[this.t - 1] ^ this.s & this.DM);
|
|
11766
11766
|
}, e3.prototype.mod = function(t3) {
|
|
11767
|
-
var n3 =
|
|
11767
|
+
var n3 = Eo();
|
|
11768
11768
|
return this.abs().divRemTo(t3, null, n3), this.s < 0 && n3.compareTo(e3.ZERO) > 0 && t3.subTo(n3, n3), n3;
|
|
11769
11769
|
}, e3.prototype.modPowInt = function(e4, t3) {
|
|
11770
11770
|
var n3;
|
|
11771
|
-
return n3 = e4 < 256 || t3.isEven() ? new
|
|
11771
|
+
return n3 = e4 < 256 || t3.isEven() ? new So(t3) : new Io(t3), this.exp(e4, n3);
|
|
11772
11772
|
}, e3.prototype.clone = function() {
|
|
11773
|
-
var e4 =
|
|
11773
|
+
var e4 = Eo();
|
|
11774
11774
|
return this.copyTo(e4), e4;
|
|
11775
11775
|
}, e3.prototype.intValue = function() {
|
|
11776
11776
|
if (this.s < 0) {
|
|
@@ -11800,70 +11800,70 @@ function requireEideasyBrowserClient() {
|
|
|
11800
11800
|
}, e3.prototype.max = function(e4) {
|
|
11801
11801
|
return this.compareTo(e4) > 0 ? this : e4;
|
|
11802
11802
|
}, e3.prototype.and = function(e4) {
|
|
11803
|
-
var t3 =
|
|
11804
|
-
return this.bitwiseTo(e4, qi, t3), t3;
|
|
11805
|
-
}, e3.prototype.or = function(e4) {
|
|
11806
|
-
var t3 = mo();
|
|
11803
|
+
var t3 = Eo();
|
|
11807
11804
|
return this.bitwiseTo(e4, Qi, t3), t3;
|
|
11808
|
-
}, e3.prototype.
|
|
11809
|
-
var t3 =
|
|
11805
|
+
}, e3.prototype.or = function(e4) {
|
|
11806
|
+
var t3 = Eo();
|
|
11810
11807
|
return this.bitwiseTo(e4, Zi, t3), t3;
|
|
11811
|
-
}, e3.prototype.
|
|
11812
|
-
var t3 =
|
|
11808
|
+
}, e3.prototype.xor = function(e4) {
|
|
11809
|
+
var t3 = Eo();
|
|
11813
11810
|
return this.bitwiseTo(e4, Wi, t3), t3;
|
|
11811
|
+
}, e3.prototype.andNot = function(e4) {
|
|
11812
|
+
var t3 = Eo();
|
|
11813
|
+
return this.bitwiseTo(e4, Ji, t3), t3;
|
|
11814
11814
|
}, e3.prototype.not = function() {
|
|
11815
|
-
for (var e4 =
|
|
11815
|
+
for (var e4 = Eo(), t3 = 0; t3 < this.t; ++t3) e4[t3] = this.DM & ~this[t3];
|
|
11816
11816
|
return e4.t = this.t, e4.s = ~this.s, e4;
|
|
11817
11817
|
}, e3.prototype.shiftLeft = function(e4) {
|
|
11818
|
-
var t3 =
|
|
11818
|
+
var t3 = Eo();
|
|
11819
11819
|
return e4 < 0 ? this.rShiftTo(-e4, t3) : this.lShiftTo(e4, t3), t3;
|
|
11820
11820
|
}, e3.prototype.shiftRight = function(e4) {
|
|
11821
|
-
var t3 =
|
|
11821
|
+
var t3 = Eo();
|
|
11822
11822
|
return e4 < 0 ? this.lShiftTo(-e4, t3) : this.rShiftTo(e4, t3), t3;
|
|
11823
11823
|
}, e3.prototype.getLowestSetBit = function() {
|
|
11824
|
-
for (var e4 = 0; e4 < this.t; ++e4) if (0 != this[e4]) return e4 * this.DB +
|
|
11824
|
+
for (var e4 = 0; e4 < this.t; ++e4) if (0 != this[e4]) return e4 * this.DB + Yi(this[e4]);
|
|
11825
11825
|
return this.s < 0 ? this.t * this.DB : -1;
|
|
11826
11826
|
}, e3.prototype.bitCount = function() {
|
|
11827
|
-
for (var e4 = 0, t3 = this.s & this.DM, n3 = 0; n3 < this.t; ++n3) e4 +=
|
|
11827
|
+
for (var e4 = 0, t3 = this.s & this.DM, n3 = 0; n3 < this.t; ++n3) e4 += zi(this[n3] ^ t3);
|
|
11828
11828
|
return e4;
|
|
11829
11829
|
}, e3.prototype.testBit = function(e4) {
|
|
11830
11830
|
var t3 = Math.floor(e4 / this.DB);
|
|
11831
11831
|
return t3 >= this.t ? 0 != this.s : !!(this[t3] & 1 << e4 % this.DB);
|
|
11832
11832
|
}, e3.prototype.setBit = function(e4) {
|
|
11833
|
-
return this.changeBit(e4,
|
|
11833
|
+
return this.changeBit(e4, Zi);
|
|
11834
11834
|
}, e3.prototype.clearBit = function(e4) {
|
|
11835
|
-
return this.changeBit(e4,
|
|
11835
|
+
return this.changeBit(e4, Ji);
|
|
11836
11836
|
}, e3.prototype.flipBit = function(e4) {
|
|
11837
|
-
return this.changeBit(e4,
|
|
11837
|
+
return this.changeBit(e4, Wi);
|
|
11838
11838
|
}, e3.prototype.add = function(e4) {
|
|
11839
|
-
var t3 =
|
|
11839
|
+
var t3 = Eo();
|
|
11840
11840
|
return this.addTo(e4, t3), t3;
|
|
11841
11841
|
}, e3.prototype.subtract = function(e4) {
|
|
11842
|
-
var t3 =
|
|
11842
|
+
var t3 = Eo();
|
|
11843
11843
|
return this.subTo(e4, t3), t3;
|
|
11844
11844
|
}, e3.prototype.multiply = function(e4) {
|
|
11845
|
-
var t3 =
|
|
11845
|
+
var t3 = Eo();
|
|
11846
11846
|
return this.multiplyTo(e4, t3), t3;
|
|
11847
11847
|
}, e3.prototype.divide = function(e4) {
|
|
11848
|
-
var t3 =
|
|
11848
|
+
var t3 = Eo();
|
|
11849
11849
|
return this.divRemTo(e4, t3, null), t3;
|
|
11850
11850
|
}, e3.prototype.remainder = function(e4) {
|
|
11851
|
-
var t3 =
|
|
11851
|
+
var t3 = Eo();
|
|
11852
11852
|
return this.divRemTo(e4, null, t3), t3;
|
|
11853
11853
|
}, e3.prototype.divideAndRemainder = function(e4) {
|
|
11854
|
-
var t3 =
|
|
11854
|
+
var t3 = Eo(), n3 = Eo();
|
|
11855
11855
|
return this.divRemTo(e4, t3, n3), [t3, n3];
|
|
11856
11856
|
}, e3.prototype.modPow = function(e4, t3) {
|
|
11857
|
-
var n3, r3, i2 = e4.bitLength(), o2 =
|
|
11857
|
+
var n3, r3, i2 = e4.bitLength(), o2 = Ro(1);
|
|
11858
11858
|
if (i2 <= 0) return o2;
|
|
11859
|
-
n3 = i2 < 18 ? 1 : i2 < 48 ? 3 : i2 < 144 ? 4 : i2 < 768 ? 5 : 6, r3 = i2 < 8 ? new
|
|
11859
|
+
n3 = i2 < 18 ? 1 : i2 < 48 ? 3 : i2 < 144 ? 4 : i2 < 768 ? 5 : 6, r3 = i2 < 8 ? new So(t3) : t3.isEven() ? new mo(t3) : new Io(t3);
|
|
11860
11860
|
var a2 = [], s2 = 3, c2 = n3 - 1, u2 = (1 << n3) - 1;
|
|
11861
11861
|
if (a2[1] = r3.convert(this), n3 > 1) {
|
|
11862
|
-
var l2 =
|
|
11863
|
-
for (r3.sqrTo(a2[1], l2); s2 <= u2; ) a2[s2] =
|
|
11862
|
+
var l2 = Eo();
|
|
11863
|
+
for (r3.sqrTo(a2[1], l2); s2 <= u2; ) a2[s2] = Eo(), r3.mulTo(l2, a2[s2 - 2], a2[s2]), s2 += 2;
|
|
11864
11864
|
}
|
|
11865
|
-
var d2, p3, g2 = e4.t - 1, f2 = true, h3 =
|
|
11866
|
-
for (i2 =
|
|
11865
|
+
var d2, p3, g2 = e4.t - 1, f2 = true, h3 = Eo();
|
|
11866
|
+
for (i2 = Oo(e4[g2]) - 1; g2 >= 0; ) {
|
|
11867
11867
|
for (i2 >= c2 ? d2 = e4[g2] >> i2 - c2 & u2 : (d2 = (e4[g2] & (1 << i2 + 1) - 1) << c2 - i2, g2 > 0 && (d2 |= e4[g2 - 1] >> this.DB + i2 - c2)), s2 = n3; !(1 & d2); ) d2 >>= 1, --s2;
|
|
11868
11868
|
if ((i2 -= s2) < 0 && (i2 += this.DB, --g2), f2) a2[d2].copyTo(o2), f2 = false;
|
|
11869
11869
|
else {
|
|
@@ -11876,14 +11876,14 @@ function requireEideasyBrowserClient() {
|
|
|
11876
11876
|
}, e3.prototype.modInverse = function(t3) {
|
|
11877
11877
|
var n3 = t3.isEven();
|
|
11878
11878
|
if (this.isEven() && n3 || 0 == t3.signum()) return e3.ZERO;
|
|
11879
|
-
for (var r3 = t3.clone(), i2 = this.clone(), o2 =
|
|
11879
|
+
for (var r3 = t3.clone(), i2 = this.clone(), o2 = Ro(1), a2 = Ro(0), s2 = Ro(0), c2 = Ro(1); 0 != r3.signum(); ) {
|
|
11880
11880
|
for (; r3.isEven(); ) r3.rShiftTo(1, r3), n3 ? (o2.isEven() && a2.isEven() || (o2.addTo(this, o2), a2.subTo(t3, a2)), o2.rShiftTo(1, o2)) : a2.isEven() || a2.subTo(t3, a2), a2.rShiftTo(1, a2);
|
|
11881
11881
|
for (; i2.isEven(); ) i2.rShiftTo(1, i2), n3 ? (s2.isEven() && c2.isEven() || (s2.addTo(this, s2), c2.subTo(t3, c2)), s2.rShiftTo(1, s2)) : c2.isEven() || c2.subTo(t3, c2), c2.rShiftTo(1, c2);
|
|
11882
11882
|
r3.compareTo(i2) >= 0 ? (r3.subTo(i2, r3), n3 && o2.subTo(s2, o2), a2.subTo(c2, a2)) : (i2.subTo(r3, i2), n3 && s2.subTo(o2, s2), c2.subTo(a2, c2));
|
|
11883
11883
|
}
|
|
11884
11884
|
return 0 != i2.compareTo(e3.ONE) ? e3.ZERO : c2.compareTo(t3) >= 0 ? c2.subtract(t3) : c2.signum() < 0 ? (c2.addTo(t3, c2), c2.signum() < 0 ? c2.add(t3) : c2) : c2;
|
|
11885
11885
|
}, e3.prototype.pow = function(e4) {
|
|
11886
|
-
return this.exp(e4, new
|
|
11886
|
+
return this.exp(e4, new To());
|
|
11887
11887
|
}, e3.prototype.gcd = function(e4) {
|
|
11888
11888
|
var t3 = this.s < 0 ? this.negate() : this.clone(), n3 = e4.s < 0 ? e4.negate() : e4.clone();
|
|
11889
11889
|
if (t3.compareTo(n3) < 0) {
|
|
@@ -11896,14 +11896,14 @@ function requireEideasyBrowserClient() {
|
|
|
11896
11896
|
return o2 > 0 && n3.lShiftTo(o2, n3), n3;
|
|
11897
11897
|
}, e3.prototype.isProbablePrime = function(e4) {
|
|
11898
11898
|
var t3, n3 = this.abs();
|
|
11899
|
-
if (1 == n3.t && n3[0] <=
|
|
11900
|
-
for (t3 = 0; t3 <
|
|
11899
|
+
if (1 == n3.t && n3[0] <= fo[fo.length - 1]) {
|
|
11900
|
+
for (t3 = 0; t3 < fo.length; ++t3) if (n3[0] == fo[t3]) return true;
|
|
11901
11901
|
return false;
|
|
11902
11902
|
}
|
|
11903
11903
|
if (n3.isEven()) return false;
|
|
11904
|
-
for (t3 = 1; t3 <
|
|
11905
|
-
for (var r3 =
|
|
11906
|
-
for (r3 = n3.modInt(r3); t3 < i2; ) if (r3 %
|
|
11904
|
+
for (t3 = 1; t3 < fo.length; ) {
|
|
11905
|
+
for (var r3 = fo[t3], i2 = t3 + 1; i2 < fo.length && r3 < ho; ) r3 *= fo[i2++];
|
|
11906
|
+
for (r3 = n3.modInt(r3); t3 < i2; ) if (r3 % fo[t3++] == 0) return false;
|
|
11907
11907
|
}
|
|
11908
11908
|
return n3.millerRabin(e4);
|
|
11909
11909
|
}, e3.prototype.copyTo = function(e4) {
|
|
@@ -11924,7 +11924,7 @@ function requireEideasyBrowserClient() {
|
|
|
11924
11924
|
}
|
|
11925
11925
|
this.t = 0, this.s = 0;
|
|
11926
11926
|
for (var i2 = t3.length, o2 = false, a2 = 0; --i2 >= 0; ) {
|
|
11927
|
-
var s2 = 8 == r3 ? 255 & +t3[i2] :
|
|
11927
|
+
var s2 = 8 == r3 ? 255 & +t3[i2] : _o(t3, i2);
|
|
11928
11928
|
s2 < 0 ? "-" == t3.charAt(i2) && (o2 = true) : (o2 = false, 0 == a2 ? this[this.t++] = s2 : a2 + r3 > this.DB ? (this[this.t - 1] |= (s2 & (1 << this.DB - a2) - 1) << a2, this[this.t++] = s2 >> this.DB - a2) : this[this.t - 1] |= s2 << a2, (a2 += r3) >= this.DB && (a2 -= this.DB));
|
|
11929
11929
|
}
|
|
11930
11930
|
8 == r3 && 128 & +t3[0] && (this.s = -1, a2 > 0 && (this[this.t - 1] |= (1 << this.DB - a2) - 1 << a2)), this.clamp(), o2 && e3.ZERO.subTo(this, this);
|
|
@@ -11979,12 +11979,12 @@ function requireEideasyBrowserClient() {
|
|
|
11979
11979
|
if (!(i2.t <= 0)) {
|
|
11980
11980
|
var o2 = this.abs();
|
|
11981
11981
|
if (o2.t < i2.t) return null != n3 && n3.fromInt(0), void (null != r3 && this.copyTo(r3));
|
|
11982
|
-
null == r3 && (r3 =
|
|
11983
|
-
var a2 =
|
|
11982
|
+
null == r3 && (r3 = Eo());
|
|
11983
|
+
var a2 = Eo(), s2 = this.s, c2 = t3.s, u2 = this.DB - Oo(i2[i2.t - 1]);
|
|
11984
11984
|
u2 > 0 ? (i2.lShiftTo(u2, a2), o2.lShiftTo(u2, r3)) : (i2.copyTo(a2), o2.copyTo(r3));
|
|
11985
11985
|
var l2 = a2.t, d2 = a2[l2 - 1];
|
|
11986
11986
|
if (0 != d2) {
|
|
11987
|
-
var p3 = d2 * (1 << this.F1) + (l2 > 1 ? a2[l2 - 2] >> this.F2 : 0), g2 = this.FV / p3, f2 = (1 << this.F1) / p3, h3 = 1 << this.F2, y2 = r3.t, T2 = y2 - l2, S3 = null == n3 ?
|
|
11987
|
+
var p3 = d2 * (1 << this.F1) + (l2 > 1 ? a2[l2 - 2] >> this.F2 : 0), g2 = this.FV / p3, f2 = (1 << this.F1) / p3, h3 = 1 << this.F2, y2 = r3.t, T2 = y2 - l2, S3 = null == n3 ? Eo() : n3;
|
|
11988
11988
|
for (a2.dlShiftTo(T2, S3), r3.compareTo(S3) >= 0 && (r3[r3.t++] = 1, r3.subTo(S3, r3)), e3.ONE.dlShiftTo(l2, S3), S3.subTo(a2, a2); a2.t < l2; ) a2[a2.t++] = 0;
|
|
11989
11989
|
for (; --T2 >= 0; ) {
|
|
11990
11990
|
var I2 = r3[--y2] == d2 ? this.DM : Math.floor(r3[y2] * g2 + (r3[y2 - 1] + h3) * f2);
|
|
@@ -12003,7 +12003,7 @@ function requireEideasyBrowserClient() {
|
|
|
12003
12003
|
return 0 == (this.t > 0 ? 1 & this[0] : this.s);
|
|
12004
12004
|
}, e3.prototype.exp = function(t3, n3) {
|
|
12005
12005
|
if (t3 > 4294967295 || t3 < 1) return e3.ONE;
|
|
12006
|
-
var r3 =
|
|
12006
|
+
var r3 = Eo(), i2 = Eo(), o2 = n3.convert(this), a2 = Oo(t3) - 1;
|
|
12007
12007
|
for (o2.copyTo(r3); --a2 >= 0; ) if (n3.sqrTo(r3, i2), (t3 & 1 << a2) > 0) n3.mulTo(i2, o2, r3);
|
|
12008
12008
|
else {
|
|
12009
12009
|
var s2 = r3;
|
|
@@ -12014,19 +12014,19 @@ function requireEideasyBrowserClient() {
|
|
|
12014
12014
|
return Math.floor(Math.LN2 * this.DB / Math.log(e4));
|
|
12015
12015
|
}, e3.prototype.toRadix = function(e4) {
|
|
12016
12016
|
if (null == e4 && (e4 = 10), 0 == this.signum() || e4 < 2 || e4 > 36) return "0";
|
|
12017
|
-
var t3 = this.chunkSize(e4), n3 = Math.pow(e4, t3), r3 =
|
|
12017
|
+
var t3 = this.chunkSize(e4), n3 = Math.pow(e4, t3), r3 = Ro(n3), i2 = Eo(), o2 = Eo(), a2 = "";
|
|
12018
12018
|
for (this.divRemTo(r3, i2, o2); i2.signum() > 0; ) a2 = (n3 + o2.intValue()).toString(e4).substring(1) + a2, i2.divRemTo(r3, i2, o2);
|
|
12019
12019
|
return o2.intValue().toString(e4) + a2;
|
|
12020
12020
|
}, e3.prototype.fromRadix = function(t3, n3) {
|
|
12021
12021
|
this.fromInt(0), null == n3 && (n3 = 10);
|
|
12022
12022
|
for (var r3 = this.chunkSize(n3), i2 = Math.pow(n3, r3), o2 = false, a2 = 0, s2 = 0, c2 = 0; c2 < t3.length; ++c2) {
|
|
12023
|
-
var u2 =
|
|
12023
|
+
var u2 = _o(t3, c2);
|
|
12024
12024
|
u2 < 0 ? "-" == t3.charAt(c2) && 0 == this.signum() && (o2 = true) : (s2 = n3 * s2 + u2, ++a2 >= r3 && (this.dMultiply(i2), this.dAddOffset(s2, 0), a2 = 0, s2 = 0));
|
|
12025
12025
|
}
|
|
12026
12026
|
a2 > 0 && (this.dMultiply(Math.pow(n3, a2)), this.dAddOffset(s2, 0)), o2 && e3.ZERO.subTo(this, this);
|
|
12027
12027
|
}, e3.prototype.fromNumber = function(t3, n3, r3) {
|
|
12028
12028
|
if ("number" == typeof n3) if (t3 < 2) this.fromInt(1);
|
|
12029
|
-
else for (this.fromNumber(t3, r3), this.testBit(t3 - 1) || this.bitwiseTo(e3.ONE.shiftLeft(t3 - 1),
|
|
12029
|
+
else for (this.fromNumber(t3, r3), this.testBit(t3 - 1) || this.bitwiseTo(e3.ONE.shiftLeft(t3 - 1), Zi, this), this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(n3); ) this.dAddOffset(2, 0), this.bitLength() > t3 && this.subTo(e3.ONE.shiftLeft(t3 - 1), this);
|
|
12030
12030
|
else {
|
|
12031
12031
|
var i2 = [], o2 = 7 & t3;
|
|
12032
12032
|
i2.length = 1 + (t3 >> 3), n3.nextBytes(i2), o2 > 0 ? i2[0] &= (1 << o2) - 1 : i2[0] = 0, this.fromString(i2, 256);
|
|
@@ -12084,9 +12084,9 @@ function requireEideasyBrowserClient() {
|
|
|
12084
12084
|
var n3 = this.subtract(e3.ONE), r3 = n3.getLowestSetBit();
|
|
12085
12085
|
if (r3 <= 0) return false;
|
|
12086
12086
|
var i2 = n3.shiftRight(r3);
|
|
12087
|
-
(t3 = t3 + 1 >> 1) >
|
|
12088
|
-
for (var o2 =
|
|
12089
|
-
o2.fromInt(
|
|
12087
|
+
(t3 = t3 + 1 >> 1) > fo.length && (t3 = fo.length);
|
|
12088
|
+
for (var o2 = Eo(), a2 = 0; a2 < t3; ++a2) {
|
|
12089
|
+
o2.fromInt(fo[Math.floor(Math.random() * fo.length)]);
|
|
12090
12090
|
var s2 = o2.modPow(i2, this);
|
|
12091
12091
|
if (0 != s2.compareTo(e3.ONE) && 0 != s2.compareTo(n3)) {
|
|
12092
12092
|
for (var c2 = 1; c2++ < r3 && 0 != s2.compareTo(n3); ) if (0 == (s2 = s2.modPowInt(2, this)).compareTo(e3.ONE)) return false;
|
|
@@ -12095,7 +12095,7 @@ function requireEideasyBrowserClient() {
|
|
|
12095
12095
|
}
|
|
12096
12096
|
return true;
|
|
12097
12097
|
}, e3.prototype.square = function() {
|
|
12098
|
-
var e4 =
|
|
12098
|
+
var e4 = Eo();
|
|
12099
12099
|
return this.squareTo(e4), e4;
|
|
12100
12100
|
}, e3.prototype.gcda = function(e4, t3) {
|
|
12101
12101
|
var n3 = this.s < 0 ? this.negate() : this.clone(), r3 = e4.s < 0 ? e4.negate() : e4.clone();
|
|
@@ -12117,7 +12117,7 @@ function requireEideasyBrowserClient() {
|
|
|
12117
12117
|
}, e3.prototype.fromNumberAsync = function(t3, n3, r3, i2) {
|
|
12118
12118
|
if ("number" == typeof n3) if (t3 < 2) this.fromInt(1);
|
|
12119
12119
|
else {
|
|
12120
|
-
this.fromNumber(t3, r3), this.testBit(t3 - 1) || this.bitwiseTo(e3.ONE.shiftLeft(t3 - 1),
|
|
12120
|
+
this.fromNumber(t3, r3), this.testBit(t3 - 1) || this.bitwiseTo(e3.ONE.shiftLeft(t3 - 1), Zi, this), this.isEven() && this.dAddOffset(1, 0);
|
|
12121
12121
|
var o2 = this, a2 = function() {
|
|
12122
12122
|
o2.dAddOffset(2, 0), o2.bitLength() > t3 && o2.subTo(e3.ONE.shiftLeft(t3 - 1), o2), o2.isProbablePrime(n3) ? setTimeout(function() {
|
|
12123
12123
|
i2();
|
|
@@ -12130,7 +12130,7 @@ function requireEideasyBrowserClient() {
|
|
|
12130
12130
|
s2.length = 1 + (t3 >> 3), n3.nextBytes(s2), c2 > 0 ? s2[0] &= (1 << c2) - 1 : s2[0] = 0, this.fromString(s2, 256);
|
|
12131
12131
|
}
|
|
12132
12132
|
}, e3;
|
|
12133
|
-
}(),
|
|
12133
|
+
}(), To = function() {
|
|
12134
12134
|
function e3() {
|
|
12135
12135
|
}
|
|
12136
12136
|
return e3.prototype.convert = function(e4) {
|
|
@@ -12142,7 +12142,7 @@ function requireEideasyBrowserClient() {
|
|
|
12142
12142
|
}, e3.prototype.sqrTo = function(e4, t3) {
|
|
12143
12143
|
e4.squareTo(t3);
|
|
12144
12144
|
}, e3;
|
|
12145
|
-
}(),
|
|
12145
|
+
}(), So = function() {
|
|
12146
12146
|
function e3(e4) {
|
|
12147
12147
|
this.m = e4;
|
|
12148
12148
|
}
|
|
@@ -12157,15 +12157,15 @@ function requireEideasyBrowserClient() {
|
|
|
12157
12157
|
}, e3.prototype.sqrTo = function(e4, t3) {
|
|
12158
12158
|
e4.squareTo(t3), this.reduce(t3);
|
|
12159
12159
|
}, e3;
|
|
12160
|
-
}(),
|
|
12160
|
+
}(), Io = function() {
|
|
12161
12161
|
function e3(e4) {
|
|
12162
12162
|
this.m = e4, this.mp = e4.invDigit(), this.mpl = 32767 & this.mp, this.mph = this.mp >> 15, this.um = (1 << e4.DB - 15) - 1, this.mt2 = 2 * e4.t;
|
|
12163
12163
|
}
|
|
12164
12164
|
return e3.prototype.convert = function(e4) {
|
|
12165
|
-
var t3 =
|
|
12166
|
-
return e4.abs().dlShiftTo(this.m.t, t3), t3.divRemTo(this.m, null, t3), e4.s < 0 && t3.compareTo(
|
|
12165
|
+
var t3 = Eo();
|
|
12166
|
+
return e4.abs().dlShiftTo(this.m.t, t3), t3.divRemTo(this.m, null, t3), e4.s < 0 && t3.compareTo(yo.ZERO) > 0 && this.m.subTo(t3, t3), t3;
|
|
12167
12167
|
}, e3.prototype.revert = function(e4) {
|
|
12168
|
-
var t3 =
|
|
12168
|
+
var t3 = Eo();
|
|
12169
12169
|
return e4.copyTo(t3), this.reduce(t3), t3;
|
|
12170
12170
|
}, e3.prototype.reduce = function(e4) {
|
|
12171
12171
|
for (; e4.t <= this.mt2; ) e4[e4.t++] = 0;
|
|
@@ -12179,14 +12179,14 @@ function requireEideasyBrowserClient() {
|
|
|
12179
12179
|
}, e3.prototype.sqrTo = function(e4, t3) {
|
|
12180
12180
|
e4.squareTo(t3), this.reduce(t3);
|
|
12181
12181
|
}, e3;
|
|
12182
|
-
}(),
|
|
12182
|
+
}(), mo = function() {
|
|
12183
12183
|
function e3(e4) {
|
|
12184
|
-
this.m = e4, this.r2 =
|
|
12184
|
+
this.m = e4, this.r2 = Eo(), this.q3 = Eo(), yo.ONE.dlShiftTo(2 * e4.t, this.r2), this.mu = this.r2.divide(e4);
|
|
12185
12185
|
}
|
|
12186
12186
|
return e3.prototype.convert = function(e4) {
|
|
12187
12187
|
if (e4.s < 0 || e4.t > 2 * this.m.t) return e4.mod(this.m);
|
|
12188
12188
|
if (e4.compareTo(this.m) < 0) return e4;
|
|
12189
|
-
var t3 =
|
|
12189
|
+
var t3 = Eo();
|
|
12190
12190
|
return e4.copyTo(t3), this.reduce(t3), t3;
|
|
12191
12191
|
}, e3.prototype.revert = function(e4) {
|
|
12192
12192
|
return e4;
|
|
@@ -12199,50 +12199,50 @@ function requireEideasyBrowserClient() {
|
|
|
12199
12199
|
e4.squareTo(t3), this.reduce(t3);
|
|
12200
12200
|
}, e3;
|
|
12201
12201
|
}();
|
|
12202
|
-
function
|
|
12203
|
-
return new
|
|
12202
|
+
function Eo() {
|
|
12203
|
+
return new yo(null);
|
|
12204
12204
|
}
|
|
12205
|
-
function
|
|
12206
|
-
return new
|
|
12205
|
+
function Co(e3, t3) {
|
|
12206
|
+
return new yo(e3, t3);
|
|
12207
12207
|
}
|
|
12208
|
-
var
|
|
12209
|
-
|
|
12208
|
+
var Ao = "undefined" != typeof navigator;
|
|
12209
|
+
Ao && "Microsoft Internet Explorer" == navigator.appName ? (yo.prototype.am = function(e3, t3, n3, r3, i2, o2) {
|
|
12210
12210
|
for (var a2 = 32767 & t3, s2 = t3 >> 15; --o2 >= 0; ) {
|
|
12211
12211
|
var c2 = 32767 & this[e3], u2 = this[e3++] >> 15, l2 = s2 * c2 + u2 * a2;
|
|
12212
12212
|
i2 = ((c2 = a2 * c2 + ((32767 & l2) << 15) + n3[r3] + (1073741823 & i2)) >>> 30) + (l2 >>> 15) + s2 * u2 + (i2 >>> 30), n3[r3++] = 1073741823 & c2;
|
|
12213
12213
|
}
|
|
12214
12214
|
return i2;
|
|
12215
|
-
},
|
|
12215
|
+
}, uo = 30) : Ao && "Netscape" != navigator.appName ? (yo.prototype.am = function(e3, t3, n3, r3, i2, o2) {
|
|
12216
12216
|
for (; --o2 >= 0; ) {
|
|
12217
12217
|
var a2 = t3 * this[e3++] + n3[r3] + i2;
|
|
12218
12218
|
i2 = Math.floor(a2 / 67108864), n3[r3++] = 67108863 & a2;
|
|
12219
12219
|
}
|
|
12220
12220
|
return i2;
|
|
12221
|
-
},
|
|
12221
|
+
}, uo = 26) : (yo.prototype.am = function(e3, t3, n3, r3, i2, o2) {
|
|
12222
12222
|
for (var a2 = 16383 & t3, s2 = t3 >> 14; --o2 >= 0; ) {
|
|
12223
12223
|
var c2 = 16383 & this[e3], u2 = this[e3++] >> 14, l2 = s2 * c2 + u2 * a2;
|
|
12224
12224
|
i2 = ((c2 = a2 * c2 + ((16383 & l2) << 14) + n3[r3] + i2) >> 28) + (l2 >> 14) + s2 * u2, n3[r3++] = 268435455 & c2;
|
|
12225
12225
|
}
|
|
12226
12226
|
return i2;
|
|
12227
|
-
},
|
|
12228
|
-
var
|
|
12229
|
-
for (
|
|
12230
|
-
for (
|
|
12231
|
-
for (
|
|
12232
|
-
function
|
|
12233
|
-
var n3 =
|
|
12227
|
+
}, uo = 28), yo.prototype.DB = uo, yo.prototype.DM = (1 << uo) - 1, yo.prototype.DV = 1 << uo, yo.prototype.FV = Math.pow(2, 52), yo.prototype.F1 = 52 - uo, yo.prototype.F2 = 2 * uo - 52;
|
|
12228
|
+
var vo, bo, No = [];
|
|
12229
|
+
for (vo = "0".charCodeAt(0), bo = 0; bo <= 9; ++bo) No[vo++] = bo;
|
|
12230
|
+
for (vo = "a".charCodeAt(0), bo = 10; bo < 36; ++bo) No[vo++] = bo;
|
|
12231
|
+
for (vo = "A".charCodeAt(0), bo = 10; bo < 36; ++bo) No[vo++] = bo;
|
|
12232
|
+
function _o(e3, t3) {
|
|
12233
|
+
var n3 = No[e3.charCodeAt(t3)];
|
|
12234
12234
|
return null == n3 ? -1 : n3;
|
|
12235
12235
|
}
|
|
12236
|
-
function
|
|
12237
|
-
var t3 =
|
|
12236
|
+
function Ro(e3) {
|
|
12237
|
+
var t3 = Eo();
|
|
12238
12238
|
return t3.fromInt(e3), t3;
|
|
12239
12239
|
}
|
|
12240
|
-
function
|
|
12240
|
+
function Oo(e3) {
|
|
12241
12241
|
var t3, n3 = 1;
|
|
12242
12242
|
return 0 != (t3 = e3 >>> 16) && (e3 = t3, n3 += 16), 0 != (t3 = e3 >> 8) && (e3 = t3, n3 += 8), 0 != (t3 = e3 >> 4) && (e3 = t3, n3 += 4), 0 != (t3 = e3 >> 2) && (e3 = t3, n3 += 2), 0 != (t3 = e3 >> 1) && (e3 = t3, n3 += 1), n3;
|
|
12243
12243
|
}
|
|
12244
|
-
|
|
12245
|
-
var
|
|
12244
|
+
yo.ZERO = Ro(0), yo.ONE = Ro(1);
|
|
12245
|
+
var Mo, Do, Uo = function() {
|
|
12246
12246
|
function e3() {
|
|
12247
12247
|
this.i = 0, this.j = 0, this.S = [];
|
|
12248
12248
|
}
|
|
@@ -12255,51 +12255,51 @@ function requireEideasyBrowserClient() {
|
|
|
12255
12255
|
var e4;
|
|
12256
12256
|
return this.i = this.i + 1 & 255, this.j = this.j + this.S[this.i] & 255, e4 = this.S[this.i], this.S[this.i] = this.S[this.j], this.S[this.j] = e4, this.S[e4 + this.S[this.i] & 255];
|
|
12257
12257
|
}, e3;
|
|
12258
|
-
}(),
|
|
12259
|
-
if (null ==
|
|
12260
|
-
|
|
12261
|
-
var
|
|
12258
|
+
}(), wo = null;
|
|
12259
|
+
if (null == wo) {
|
|
12260
|
+
wo = [], Do = 0;
|
|
12261
|
+
var ko = void 0;
|
|
12262
12262
|
if ("undefined" != typeof window && self.crypto && self.crypto.getRandomValues) {
|
|
12263
|
-
var
|
|
12264
|
-
for (self.crypto.getRandomValues(
|
|
12263
|
+
var Go = new Uint32Array(256);
|
|
12264
|
+
for (self.crypto.getRandomValues(Go), ko = 0; ko < Go.length; ++ko) wo[Do++] = 255 & Go[ko];
|
|
12265
12265
|
}
|
|
12266
|
-
var
|
|
12267
|
-
if ((
|
|
12266
|
+
var Lo = 0, Bo = function(e3) {
|
|
12267
|
+
if ((Lo = Lo || 0) >= 256 || Do >= 256) self.removeEventListener ? self.removeEventListener("mousemove", Bo, false) : self.detachEvent && self.detachEvent("onmousemove", Bo);
|
|
12268
12268
|
else try {
|
|
12269
12269
|
var t3 = e3.x + e3.y;
|
|
12270
|
-
|
|
12270
|
+
wo[Do++] = 255 & t3, Lo += 1;
|
|
12271
12271
|
} catch (e4) {
|
|
12272
12272
|
}
|
|
12273
12273
|
};
|
|
12274
|
-
"undefined" != typeof window && (self.addEventListener ? self.addEventListener("mousemove",
|
|
12274
|
+
"undefined" != typeof window && (self.addEventListener ? self.addEventListener("mousemove", Bo, false) : self.attachEvent && self.attachEvent("onmousemove", Bo));
|
|
12275
12275
|
}
|
|
12276
|
-
function
|
|
12277
|
-
if (null ==
|
|
12278
|
-
for (
|
|
12276
|
+
function Po() {
|
|
12277
|
+
if (null == Mo) {
|
|
12278
|
+
for (Mo = new Uo(); Do < 256; ) {
|
|
12279
12279
|
var e3 = Math.floor(65536 * Math.random());
|
|
12280
|
-
|
|
12280
|
+
wo[Do++] = 255 & e3;
|
|
12281
12281
|
}
|
|
12282
|
-
for (
|
|
12283
|
-
|
|
12282
|
+
for (Mo.init(wo), Do = 0; Do < wo.length; ++Do) wo[Do] = 0;
|
|
12283
|
+
Do = 0;
|
|
12284
12284
|
}
|
|
12285
|
-
return
|
|
12285
|
+
return Mo.next();
|
|
12286
12286
|
}
|
|
12287
|
-
var
|
|
12287
|
+
var jo = function() {
|
|
12288
12288
|
function e3() {
|
|
12289
12289
|
}
|
|
12290
12290
|
return e3.prototype.nextBytes = function(e4) {
|
|
12291
|
-
for (var t3 = 0; t3 < e4.length; ++t3) e4[t3] =
|
|
12291
|
+
for (var t3 = 0; t3 < e4.length; ++t3) e4[t3] = Po();
|
|
12292
12292
|
}, e3;
|
|
12293
12293
|
}();
|
|
12294
|
-
function
|
|
12294
|
+
function Fo(e3) {
|
|
12295
12295
|
return function(e4) {
|
|
12296
12296
|
for (var t3 = "", n3 = 0; n3 < 32 * e4.length; n3 += 8) t3 += String.fromCharCode(e4[n3 >> 5] >>> 24 - n3 % 32 & 255);
|
|
12297
12297
|
return t3;
|
|
12298
12298
|
}(function(e4, t3) {
|
|
12299
12299
|
var n3, r3, i2, o2, a2, s2, c2, u2, l2, d2, p3, g2, f2 = new Array(1779033703, -1150833019, 1013904242, -1521486534, 1359893119, -1694144372, 528734635, 1541459225), h3 = new Array(64);
|
|
12300
12300
|
for (e4[t3 >> 5] |= 128 << 24 - t3 % 32, e4[15 + (t3 + 64 >> 9 << 4)] = t3, l2 = 0; l2 < e4.length; l2 += 16) {
|
|
12301
|
-
for (n3 = f2[0], r3 = f2[1], i2 = f2[2], o2 = f2[3], a2 = f2[4], s2 = f2[5], c2 = f2[6], u2 = f2[7], d2 = 0; d2 < 64; d2++) h3[d2] = d2 < 16 ? e4[d2 + l2] :
|
|
12302
|
-
f2[0] =
|
|
12301
|
+
for (n3 = f2[0], r3 = f2[1], i2 = f2[2], o2 = f2[3], a2 = f2[4], s2 = f2[5], c2 = f2[6], u2 = f2[7], d2 = 0; d2 < 64; d2++) h3[d2] = d2 < 16 ? e4[d2 + l2] : zo(zo(zo(Jo(h3[d2 - 2]), h3[d2 - 7]), Wo(h3[d2 - 15])), h3[d2 - 16]), p3 = zo(zo(zo(zo(u2, Zo(a2)), Ho(a2, s2, c2)), Yo[d2]), h3[d2]), g2 = zo(Qo(n3), qo(n3, r3, i2)), u2 = c2, c2 = s2, s2 = a2, a2 = zo(o2, p3), o2 = i2, i2 = r3, r3 = n3, n3 = zo(p3, g2);
|
|
12302
|
+
f2[0] = zo(n3, f2[0]), f2[1] = zo(r3, f2[1]), f2[2] = zo(i2, f2[2]), f2[3] = zo(o2, f2[3]), f2[4] = zo(a2, f2[4]), f2[5] = zo(s2, f2[5]), f2[6] = zo(c2, f2[6]), f2[7] = zo(u2, f2[7]);
|
|
12303
12303
|
}
|
|
12304
12304
|
return f2;
|
|
12305
12305
|
}(function(e4) {
|
|
@@ -12308,73 +12308,73 @@ function requireEideasyBrowserClient() {
|
|
|
12308
12308
|
return t3;
|
|
12309
12309
|
}(e3), 8 * e3.length));
|
|
12310
12310
|
}
|
|
12311
|
-
function
|
|
12311
|
+
function xo(e3) {
|
|
12312
12312
|
for (var t3 = "0123456789abcdef", n3 = "", r3 = 0; r3 < e3.length; r3++) {
|
|
12313
12313
|
var i2 = e3.charCodeAt(r3);
|
|
12314
12314
|
n3 += t3.charAt(i2 >>> 4 & 15) + t3.charAt(15 & i2);
|
|
12315
12315
|
}
|
|
12316
12316
|
return n3;
|
|
12317
12317
|
}
|
|
12318
|
-
function
|
|
12318
|
+
function Vo(e3, t3) {
|
|
12319
12319
|
return e3 >>> t3 | e3 << 32 - t3;
|
|
12320
12320
|
}
|
|
12321
|
-
function
|
|
12321
|
+
function Ko(e3, t3) {
|
|
12322
12322
|
return e3 >>> t3;
|
|
12323
12323
|
}
|
|
12324
|
-
function
|
|
12324
|
+
function Ho(e3, t3, n3) {
|
|
12325
12325
|
return e3 & t3 ^ ~e3 & n3;
|
|
12326
12326
|
}
|
|
12327
|
-
function
|
|
12327
|
+
function qo(e3, t3, n3) {
|
|
12328
12328
|
return e3 & t3 ^ e3 & n3 ^ t3 & n3;
|
|
12329
12329
|
}
|
|
12330
|
-
function qo(e3) {
|
|
12331
|
-
return xo(e3, 2) ^ xo(e3, 13) ^ xo(e3, 22);
|
|
12332
|
-
}
|
|
12333
12330
|
function Qo(e3) {
|
|
12334
|
-
return
|
|
12331
|
+
return Vo(e3, 2) ^ Vo(e3, 13) ^ Vo(e3, 22);
|
|
12335
12332
|
}
|
|
12336
12333
|
function Zo(e3) {
|
|
12337
|
-
return
|
|
12334
|
+
return Vo(e3, 6) ^ Vo(e3, 11) ^ Vo(e3, 25);
|
|
12338
12335
|
}
|
|
12339
12336
|
function Wo(e3) {
|
|
12340
|
-
return
|
|
12337
|
+
return Vo(e3, 7) ^ Vo(e3, 18) ^ Ko(e3, 3);
|
|
12338
|
+
}
|
|
12339
|
+
function Jo(e3) {
|
|
12340
|
+
return Vo(e3, 17) ^ Vo(e3, 19) ^ Ko(e3, 10);
|
|
12341
12341
|
}
|
|
12342
|
-
var
|
|
12343
|
-
function
|
|
12342
|
+
var Yo = new Array(1116352408, 1899447441, -1245643825, -373957723, 961987163, 1508970993, -1841331548, -1424204075, -670586216, 310598401, 607225278, 1426881987, 1925078388, -2132889090, -1680079193, -1046744716, -459576895, -272742522, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, -1740746414, -1473132947, -1341970488, -1084653625, -958395405, -710438585, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, -2117940946, -1838011259, -1564481375, -1474664885, -1035236496, -949202525, -778901479, -694614492, -200395387, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, -2067236844, -1933114872, -1866530822, -1538233109, -1090935817, -965641998);
|
|
12343
|
+
function zo(e3, t3) {
|
|
12344
12344
|
var n3 = (65535 & e3) + (65535 & t3);
|
|
12345
12345
|
return (e3 >> 16) + (t3 >> 16) + (n3 >> 16) << 16 | 65535 & n3;
|
|
12346
12346
|
}
|
|
12347
|
-
function
|
|
12347
|
+
function Xo(e3, t3) {
|
|
12348
12348
|
if (t3 < e3.length + 11) return console.error("Message too long for RSA"), null;
|
|
12349
12349
|
for (var n3 = [], r3 = e3.length - 1; r3 >= 0 && t3 > 0; ) {
|
|
12350
12350
|
var i2 = e3.charCodeAt(r3--);
|
|
12351
12351
|
i2 < 128 ? n3[--t3] = i2 : i2 > 127 && i2 < 2048 ? (n3[--t3] = 63 & i2 | 128, n3[--t3] = i2 >> 6 | 192) : (n3[--t3] = 63 & i2 | 128, n3[--t3] = i2 >> 6 & 63 | 128, n3[--t3] = i2 >> 12 | 224);
|
|
12352
12352
|
}
|
|
12353
12353
|
n3[--t3] = 0;
|
|
12354
|
-
for (var o2 = new
|
|
12354
|
+
for (var o2 = new jo(), a2 = []; t3 > 2; ) {
|
|
12355
12355
|
for (a2[0] = 0; 0 == a2[0]; ) o2.nextBytes(a2);
|
|
12356
12356
|
n3[--t3] = a2[0];
|
|
12357
12357
|
}
|
|
12358
|
-
return n3[--t3] = 2, n3[--t3] = 0, new
|
|
12358
|
+
return n3[--t3] = 2, n3[--t3] = 0, new yo(n3);
|
|
12359
12359
|
}
|
|
12360
|
-
function
|
|
12360
|
+
function $o(e3, t3, n3) {
|
|
12361
12361
|
for (var r3 = "", i2 = 0; r3.length < t3; ) r3 += n3(String.fromCharCode.apply(String, e3.concat([(4278190080 & i2) >> 24, (16711680 & i2) >> 16, (65280 & i2) >> 8, 255 & i2]))), i2 += 1;
|
|
12362
12362
|
return r3;
|
|
12363
12363
|
}
|
|
12364
|
-
function
|
|
12365
|
-
var n3 =
|
|
12364
|
+
function ea(e3, t3) {
|
|
12365
|
+
var n3 = Fo;
|
|
12366
12366
|
if (e3.length + 64 + 2 > t3) throw "Message too long for RSA";
|
|
12367
12367
|
var r3, i2 = "";
|
|
12368
12368
|
for (r3 = 0; r3 < t3 - e3.length - 64 - 2; r3 += 1) i2 += "\0";
|
|
12369
12369
|
var o2 = n3("") + i2 + "" + e3, a2 = new Array(32);
|
|
12370
|
-
new
|
|
12371
|
-
var s2 =
|
|
12370
|
+
new jo().nextBytes(a2);
|
|
12371
|
+
var s2 = $o(a2, o2.length, n3), c2 = [];
|
|
12372
12372
|
for (r3 = 0; r3 < o2.length; r3 += 1) c2[r3] = o2.charCodeAt(r3) ^ s2.charCodeAt(r3);
|
|
12373
|
-
var u2 =
|
|
12373
|
+
var u2 = $o(c2, a2.length, n3), l2 = [0];
|
|
12374
12374
|
for (r3 = 0; r3 < a2.length; r3 += 1) l2[r3 + 1] = a2[r3] ^ u2.charCodeAt(r3);
|
|
12375
|
-
return new
|
|
12375
|
+
return new yo(l2.concat(c2));
|
|
12376
12376
|
}
|
|
12377
|
-
var
|
|
12377
|
+
var ta = function() {
|
|
12378
12378
|
function e3() {
|
|
12379
12379
|
this.n = null, this.e = 0, this.d = null, this.p = null, this.q = null, this.dmp1 = null, this.dmq1 = null, this.coeff = null;
|
|
12380
12380
|
}
|
|
@@ -12385,9 +12385,9 @@ function requireEideasyBrowserClient() {
|
|
|
12385
12385
|
for (var t3 = e4.mod(this.p).modPow(this.dmp1, this.p), n3 = e4.mod(this.q).modPow(this.dmq1, this.q); t3.compareTo(n3) < 0; ) t3 = t3.add(this.p);
|
|
12386
12386
|
return t3.subtract(n3).multiply(this.coeff).mod(this.p).multiply(this.q).add(n3);
|
|
12387
12387
|
}, e3.prototype.setPublic = function(e4, t3) {
|
|
12388
|
-
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n =
|
|
12388
|
+
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n = Co(e4, 16), this.e = parseInt(t3, 16)) : console.error("Invalid RSA public key");
|
|
12389
12389
|
}, e3.prototype.encrypt = function(e4, t3) {
|
|
12390
|
-
void 0 === t3 && (t3 =
|
|
12390
|
+
void 0 === t3 && (t3 = Xo);
|
|
12391
12391
|
var n3 = this.n.bitLength() + 7 >> 3, r3 = t3(e4, n3);
|
|
12392
12392
|
if (null == r3) return null;
|
|
12393
12393
|
var i2 = this.doPublic(r3);
|
|
@@ -12395,27 +12395,27 @@ function requireEideasyBrowserClient() {
|
|
|
12395
12395
|
for (var o2 = i2.toString(16), a2 = o2.length, s2 = 0; s2 < 2 * n3 - a2; s2++) o2 = "0" + o2;
|
|
12396
12396
|
return o2;
|
|
12397
12397
|
}, e3.prototype.setPrivate = function(e4, t3, n3) {
|
|
12398
|
-
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n =
|
|
12398
|
+
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n = Co(e4, 16), this.e = parseInt(t3, 16), this.d = Co(n3, 16)) : console.error("Invalid RSA private key");
|
|
12399
12399
|
}, e3.prototype.setPrivateEx = function(e4, t3, n3, r3, i2, o2, a2, s2) {
|
|
12400
|
-
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n =
|
|
12400
|
+
null != e4 && null != t3 && e4.length > 0 && t3.length > 0 ? (this.n = Co(e4, 16), this.e = parseInt(t3, 16), this.d = Co(n3, 16), this.p = Co(r3, 16), this.q = Co(i2, 16), this.dmp1 = Co(o2, 16), this.dmq1 = Co(a2, 16), this.coeff = Co(s2, 16)) : console.error("Invalid RSA private key");
|
|
12401
12401
|
}, e3.prototype.generate = function(e4, t3) {
|
|
12402
|
-
var n3 = new
|
|
12402
|
+
var n3 = new jo(), r3 = e4 >> 1;
|
|
12403
12403
|
this.e = parseInt(t3, 16);
|
|
12404
|
-
for (var i2 = new
|
|
12405
|
-
for (; this.p = new
|
|
12406
|
-
for (; this.q = new
|
|
12404
|
+
for (var i2 = new yo(t3, 16); ; ) {
|
|
12405
|
+
for (; this.p = new yo(e4 - r3, 1, n3), 0 != this.p.subtract(yo.ONE).gcd(i2).compareTo(yo.ONE) || !this.p.isProbablePrime(10); ) ;
|
|
12406
|
+
for (; this.q = new yo(r3, 1, n3), 0 != this.q.subtract(yo.ONE).gcd(i2).compareTo(yo.ONE) || !this.q.isProbablePrime(10); ) ;
|
|
12407
12407
|
if (this.p.compareTo(this.q) <= 0) {
|
|
12408
12408
|
var o2 = this.p;
|
|
12409
12409
|
this.p = this.q, this.q = o2;
|
|
12410
12410
|
}
|
|
12411
|
-
var a2 = this.p.subtract(
|
|
12412
|
-
if (0 == c2.gcd(i2).compareTo(
|
|
12411
|
+
var a2 = this.p.subtract(yo.ONE), s2 = this.q.subtract(yo.ONE), c2 = a2.multiply(s2);
|
|
12412
|
+
if (0 == c2.gcd(i2).compareTo(yo.ONE)) {
|
|
12413
12413
|
this.n = this.p.multiply(this.q), this.d = i2.modInverse(c2), this.dmp1 = this.d.mod(a2), this.dmq1 = this.d.mod(s2), this.coeff = this.q.modInverse(this.p);
|
|
12414
12414
|
break;
|
|
12415
12415
|
}
|
|
12416
12416
|
}
|
|
12417
12417
|
}, e3.prototype.decrypt = function(e4) {
|
|
12418
|
-
var t3 =
|
|
12418
|
+
var t3 = Co(e4, 16), n3 = this.doPrivate(t3);
|
|
12419
12419
|
return null == n3 ? null : function(e5, t4) {
|
|
12420
12420
|
for (var n4 = e5.toByteArray(), r3 = 0; r3 < n4.length && 0 == n4[r3]; ) ++r3;
|
|
12421
12421
|
if (n4.length - r3 != t4 - 1 || 2 != n4[r3]) return null;
|
|
@@ -12427,28 +12427,28 @@ function requireEideasyBrowserClient() {
|
|
|
12427
12427
|
return i2;
|
|
12428
12428
|
}(n3, this.n.bitLength() + 7 >> 3);
|
|
12429
12429
|
}, e3.prototype.generateAsync = function(e4, t3, n3) {
|
|
12430
|
-
var r3 = new
|
|
12430
|
+
var r3 = new jo(), i2 = e4 >> 1;
|
|
12431
12431
|
this.e = parseInt(t3, 16);
|
|
12432
|
-
var o2 = new
|
|
12432
|
+
var o2 = new yo(t3, 16), a2 = this, s2 = function() {
|
|
12433
12433
|
var t4 = function() {
|
|
12434
12434
|
if (a2.p.compareTo(a2.q) <= 0) {
|
|
12435
12435
|
var e5 = a2.p;
|
|
12436
12436
|
a2.p = a2.q, a2.q = e5;
|
|
12437
12437
|
}
|
|
12438
|
-
var t5 = a2.p.subtract(
|
|
12439
|
-
0 == i3.gcd(o2).compareTo(
|
|
12438
|
+
var t5 = a2.p.subtract(yo.ONE), r4 = a2.q.subtract(yo.ONE), i3 = t5.multiply(r4);
|
|
12439
|
+
0 == i3.gcd(o2).compareTo(yo.ONE) ? (a2.n = a2.p.multiply(a2.q), a2.d = o2.modInverse(i3), a2.dmp1 = a2.d.mod(t5), a2.dmq1 = a2.d.mod(r4), a2.coeff = a2.q.modInverse(a2.p), setTimeout(function() {
|
|
12440
12440
|
n3();
|
|
12441
12441
|
}, 0)) : setTimeout(s2, 0);
|
|
12442
12442
|
}, c2 = function() {
|
|
12443
|
-
a2.q =
|
|
12444
|
-
a2.q.subtract(
|
|
12445
|
-
0 == e5.compareTo(
|
|
12443
|
+
a2.q = Eo(), a2.q.fromNumberAsync(i2, 1, r3, function() {
|
|
12444
|
+
a2.q.subtract(yo.ONE).gcda(o2, function(e5) {
|
|
12445
|
+
0 == e5.compareTo(yo.ONE) && a2.q.isProbablePrime(10) ? setTimeout(t4, 0) : setTimeout(c2, 0);
|
|
12446
12446
|
});
|
|
12447
12447
|
});
|
|
12448
12448
|
}, u2 = function() {
|
|
12449
|
-
a2.p =
|
|
12450
|
-
a2.p.subtract(
|
|
12451
|
-
0 == e5.compareTo(
|
|
12449
|
+
a2.p = Eo(), a2.p.fromNumberAsync(e4 - i2, 1, r3, function() {
|
|
12450
|
+
a2.p.subtract(yo.ONE).gcda(o2, function(e5) {
|
|
12451
|
+
0 == e5.compareTo(yo.ONE) && a2.p.isProbablePrime(10) ? setTimeout(c2, 0) : setTimeout(u2, 0);
|
|
12452
12452
|
});
|
|
12453
12453
|
});
|
|
12454
12454
|
};
|
|
@@ -12456,10 +12456,10 @@ function requireEideasyBrowserClient() {
|
|
|
12456
12456
|
};
|
|
12457
12457
|
setTimeout(s2, 0);
|
|
12458
12458
|
}, e3.prototype.sign = function(e4, t3, n3) {
|
|
12459
|
-
var r3 = (
|
|
12459
|
+
var r3 = (na[n3] || "") + t3(e4).toString(), i2 = this.n.bitLength() / 4, o2 = function(e5, t4) {
|
|
12460
12460
|
if (t4 < e5.length + 22) return console.error("Message too long for RSA"), null;
|
|
12461
12461
|
for (var n4 = t4 - e5.length - 6, r4 = "", i3 = 0; i3 < n4; i3 += 2) r4 += "ff";
|
|
12462
|
-
return
|
|
12462
|
+
return Co("0001" + r4 + "00" + e5, 16);
|
|
12463
12463
|
}(r3, i2);
|
|
12464
12464
|
if (null == o2) return null;
|
|
12465
12465
|
var a2 = this.doPrivate(o2);
|
|
@@ -12467,24 +12467,24 @@ function requireEideasyBrowserClient() {
|
|
|
12467
12467
|
for (var s2 = a2.toString(16), c2 = s2.length, u2 = 0; u2 < i2 - c2; u2++) s2 = "0" + s2;
|
|
12468
12468
|
return s2;
|
|
12469
12469
|
}, e3.prototype.verify = function(e4, t3, n3) {
|
|
12470
|
-
var r3 =
|
|
12470
|
+
var r3 = Co(t3, 16), i2 = this.doPublic(r3);
|
|
12471
12471
|
return null == i2 ? null : function(e5) {
|
|
12472
|
-
for (var t4 in
|
|
12473
|
-
var n4 =
|
|
12472
|
+
for (var t4 in na) if (na.hasOwnProperty(t4)) {
|
|
12473
|
+
var n4 = na[t4], r4 = n4.length;
|
|
12474
12474
|
if (e5.substring(0, r4) == n4) return e5.substring(r4);
|
|
12475
12475
|
}
|
|
12476
12476
|
return e5;
|
|
12477
12477
|
}(i2.toString(16).replace(/^1f+00/, "")) == n3(e4).toString();
|
|
12478
12478
|
}, e3;
|
|
12479
|
-
}(),
|
|
12480
|
-
function
|
|
12479
|
+
}(), na = { md2: "3020300c06082a864886f70d020205000410", md5: "3020300c06082a864886f70d020505000410", sha1: "3021300906052b0e03021a05000414", sha224: "302d300d06096086480165030402040500041c", sha256: "3031300d060960864801650304020105000420", sha384: "3041300d060960864801650304020205000430", sha512: "3051300d060960864801650304020305000440", ripemd160: "3021300906052b2403020105000414" };
|
|
12480
|
+
function ra(e3, t3, n3) {
|
|
12481
12481
|
if (!t3 || !e3) throw new Error("extend failed, please check that all dependencies are included.");
|
|
12482
12482
|
var r3 = function() {
|
|
12483
12483
|
};
|
|
12484
12484
|
if (r3.prototype = t3.prototype, e3.prototype = new r3(), e3.prototype.constructor = e3, e3.superclass = t3.prototype, t3.prototype.constructor == Object.prototype.constructor && (t3.prototype.constructor = t3), n3) ;
|
|
12485
12485
|
}
|
|
12486
|
-
var
|
|
12487
|
-
void 0 !==
|
|
12486
|
+
var ia = {};
|
|
12487
|
+
void 0 !== ia.asn1 && ia.asn1 || (ia.asn1 = {}), ia.asn1.ASN1Util = new function() {
|
|
12488
12488
|
this.integerToByteHex = function(e3) {
|
|
12489
12489
|
var t3 = e3.toString(16);
|
|
12490
12490
|
return t3.length % 2 == 1 && (t3 = "0" + t3), t3;
|
|
@@ -12495,13 +12495,13 @@ function requireEideasyBrowserClient() {
|
|
|
12495
12495
|
var n3 = t3.substring(1).length;
|
|
12496
12496
|
n3 % 2 == 1 ? n3 += 1 : t3.match(/^[0-7]/) || (n3 += 2);
|
|
12497
12497
|
for (var r3 = "", i2 = 0; i2 < n3; i2++) r3 += "f";
|
|
12498
|
-
t3 = new
|
|
12498
|
+
t3 = new yo(r3, 16).xor(e3).add(yo.ONE).toString(16).replace(/^-/, "");
|
|
12499
12499
|
}
|
|
12500
12500
|
return t3;
|
|
12501
12501
|
}, this.getPEMStringFromHex = function(e3, t3) {
|
|
12502
12502
|
return hextopem(e3, t3);
|
|
12503
12503
|
}, this.newObject = function(e3) {
|
|
12504
|
-
var t3 =
|
|
12504
|
+
var t3 = ia.asn1, n3 = t3.DERBoolean, r3 = t3.DERInteger, i2 = t3.DERBitString, o2 = t3.DEROctetString, a2 = t3.DERNull, s2 = t3.DERObjectIdentifier, c2 = t3.DEREnumerated, u2 = t3.DERUTF8String, l2 = t3.DERNumericString, d2 = t3.DERPrintableString, p3 = t3.DERTeletexString, g2 = t3.DERIA5String, f2 = t3.DERUTCTime, h3 = t3.DERGeneralizedTime, y2 = t3.DERSequence, T2 = t3.DERSet, S3 = t3.DERTaggedObject, I2 = t3.ASN1Util.newObject, m2 = Object.keys(e3);
|
|
12505
12505
|
if (1 != m2.length) throw "key of param shall be only one.";
|
|
12506
12506
|
var E2 = m2[0];
|
|
12507
12507
|
if (-1 == ":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":" + E2 + ":")) throw "undefined key: " + E2;
|
|
@@ -12543,18 +12543,18 @@ function requireEideasyBrowserClient() {
|
|
|
12543
12543
|
}, this.jsonToASN1HEX = function(e3) {
|
|
12544
12544
|
return this.newObject(e3).getEncodedHex();
|
|
12545
12545
|
};
|
|
12546
|
-
}(),
|
|
12546
|
+
}(), ia.asn1.ASN1Util.oidHexToInt = function(e3) {
|
|
12547
12547
|
for (var t3 = "", n3 = parseInt(e3.substring(0, 2), 16), r3 = (t3 = Math.floor(n3 / 40) + "." + n3 % 40, ""), i2 = 2; i2 < e3.length; i2 += 2) {
|
|
12548
12548
|
var o2 = ("00000000" + parseInt(e3.substring(i2, i2 + 2), 16).toString(2)).slice(-8);
|
|
12549
|
-
r3 += o2.substring(1, 8), "0" == o2.substring(0, 1) && (t3 = t3 + "." + new
|
|
12549
|
+
r3 += o2.substring(1, 8), "0" == o2.substring(0, 1) && (t3 = t3 + "." + new yo(r3, 2).toString(10), r3 = "");
|
|
12550
12550
|
}
|
|
12551
12551
|
return t3;
|
|
12552
|
-
},
|
|
12552
|
+
}, ia.asn1.ASN1Util.oidIntToHex = function(e3) {
|
|
12553
12553
|
var t3 = function(e4) {
|
|
12554
12554
|
var t4 = e4.toString(16);
|
|
12555
12555
|
return 1 == t4.length && (t4 = "0" + t4), t4;
|
|
12556
12556
|
}, n3 = function(e4) {
|
|
12557
|
-
var n4 = "", r4 = new
|
|
12557
|
+
var n4 = "", r4 = new yo(e4, 10).toString(2), i3 = 7 - r4.length % 7;
|
|
12558
12558
|
7 == i3 && (i3 = 0);
|
|
12559
12559
|
for (var o3 = "", a3 = 0; a3 < i3; a3++) o3 += "0";
|
|
12560
12560
|
for (r4 = o3 + r4, a3 = 0; a3 < r4.length - 1; a3 += 7) {
|
|
@@ -12568,7 +12568,7 @@ function requireEideasyBrowserClient() {
|
|
|
12568
12568
|
r3 += t3(o2), i2.splice(0, 2);
|
|
12569
12569
|
for (var a2 = 0; a2 < i2.length; a2++) r3 += n3(i2[a2]);
|
|
12570
12570
|
return r3;
|
|
12571
|
-
},
|
|
12571
|
+
}, ia.asn1.ASN1Object = function() {
|
|
12572
12572
|
this.getLengthHexFromValue = function() {
|
|
12573
12573
|
if (void 0 === this.hV || null == this.hV) throw "this.hV is null or undefined.";
|
|
12574
12574
|
if (this.hV.length % 2 == 1) throw "value hex must be even length: n=0,v=" + this.hV;
|
|
@@ -12584,8 +12584,8 @@ function requireEideasyBrowserClient() {
|
|
|
12584
12584
|
}, this.getFreshValueHex = function() {
|
|
12585
12585
|
return "";
|
|
12586
12586
|
};
|
|
12587
|
-
},
|
|
12588
|
-
|
|
12587
|
+
}, ia.asn1.DERAbstractString = function(e3) {
|
|
12588
|
+
ia.asn1.DERAbstractString.superclass.constructor.call(this), this.getString = function() {
|
|
12589
12589
|
return this.s;
|
|
12590
12590
|
}, this.setString = function(e4) {
|
|
12591
12591
|
this.hTLV = null, this.isModified = true, this.s = e4, this.hV = stohex(this.s);
|
|
@@ -12594,8 +12594,8 @@ function requireEideasyBrowserClient() {
|
|
|
12594
12594
|
}, this.getFreshValueHex = function() {
|
|
12595
12595
|
return this.hV;
|
|
12596
12596
|
}, void 0 !== e3 && ("string" == typeof e3 ? this.setString(e3) : void 0 !== e3.str ? this.setString(e3.str) : void 0 !== e3.hex && this.setStringHex(e3.hex));
|
|
12597
|
-
},
|
|
12598
|
-
|
|
12597
|
+
}, ra(ia.asn1.DERAbstractString, ia.asn1.ASN1Object), ia.asn1.DERAbstractTime = function(e3) {
|
|
12598
|
+
ia.asn1.DERAbstractTime.superclass.constructor.call(this), this.localDateToUTC = function(e4) {
|
|
12599
12599
|
return utc = e4.getTime() + 6e4 * e4.getTimezoneOffset(), new Date(utc);
|
|
12600
12600
|
}, this.formatDate = function(e4, t3, n3) {
|
|
12601
12601
|
var r3 = this.zeroPadding, i2 = this.localDateToUTC(e4), o2 = String(i2.getFullYear());
|
|
@@ -12621,31 +12621,31 @@ function requireEideasyBrowserClient() {
|
|
|
12621
12621
|
}, this.getFreshValueHex = function() {
|
|
12622
12622
|
return this.hV;
|
|
12623
12623
|
};
|
|
12624
|
-
},
|
|
12625
|
-
|
|
12624
|
+
}, ra(ia.asn1.DERAbstractTime, ia.asn1.ASN1Object), ia.asn1.DERAbstractStructured = function(e3) {
|
|
12625
|
+
ia.asn1.DERAbstractString.superclass.constructor.call(this), this.setByASN1ObjectArray = function(e4) {
|
|
12626
12626
|
this.hTLV = null, this.isModified = true, this.asn1Array = e4;
|
|
12627
12627
|
}, this.appendASN1Object = function(e4) {
|
|
12628
12628
|
this.hTLV = null, this.isModified = true, this.asn1Array.push(e4);
|
|
12629
12629
|
}, this.asn1Array = new Array(), void 0 !== e3 && void 0 !== e3.array && (this.asn1Array = e3.array);
|
|
12630
|
-
},
|
|
12631
|
-
|
|
12632
|
-
},
|
|
12633
|
-
|
|
12634
|
-
this.hTLV = null, this.isModified = true, this.hV =
|
|
12630
|
+
}, ra(ia.asn1.DERAbstractStructured, ia.asn1.ASN1Object), ia.asn1.DERBoolean = function() {
|
|
12631
|
+
ia.asn1.DERBoolean.superclass.constructor.call(this), this.hT = "01", this.hTLV = "0101ff";
|
|
12632
|
+
}, ra(ia.asn1.DERBoolean, ia.asn1.ASN1Object), ia.asn1.DERInteger = function(e3) {
|
|
12633
|
+
ia.asn1.DERInteger.superclass.constructor.call(this), this.hT = "02", this.setByBigInteger = function(e4) {
|
|
12634
|
+
this.hTLV = null, this.isModified = true, this.hV = ia.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e4);
|
|
12635
12635
|
}, this.setByInteger = function(e4) {
|
|
12636
|
-
var t3 = new
|
|
12636
|
+
var t3 = new yo(String(e4), 10);
|
|
12637
12637
|
this.setByBigInteger(t3);
|
|
12638
12638
|
}, this.setValueHex = function(e4) {
|
|
12639
12639
|
this.hV = e4;
|
|
12640
12640
|
}, this.getFreshValueHex = function() {
|
|
12641
12641
|
return this.hV;
|
|
12642
12642
|
}, void 0 !== e3 && (void 0 !== e3.bigint ? this.setByBigInteger(e3.bigint) : void 0 !== e3.int ? this.setByInteger(e3.int) : "number" == typeof e3 ? this.setByInteger(e3) : void 0 !== e3.hex && this.setValueHex(e3.hex));
|
|
12643
|
-
},
|
|
12643
|
+
}, ra(ia.asn1.DERInteger, ia.asn1.ASN1Object), ia.asn1.DERBitString = function(e3) {
|
|
12644
12644
|
if (void 0 !== e3 && void 0 !== e3.obj) {
|
|
12645
|
-
var t3 =
|
|
12645
|
+
var t3 = ia.asn1.ASN1Util.newObject(e3.obj);
|
|
12646
12646
|
e3.hex = "00" + t3.getEncodedHex();
|
|
12647
12647
|
}
|
|
12648
|
-
|
|
12648
|
+
ia.asn1.DERBitString.superclass.constructor.call(this), this.hT = "03", this.setHexValueIncludingUnusedBits = function(e4) {
|
|
12649
12649
|
this.hTLV = null, this.isModified = true, this.hV = e4;
|
|
12650
12650
|
}, this.setUnusedBitsAndHexValue = function(e4, t4) {
|
|
12651
12651
|
if (e4 < 0 || 7 < e4) throw "unused bits shall be from 0 to 7: u = " + e4;
|
|
@@ -12670,20 +12670,20 @@ function requireEideasyBrowserClient() {
|
|
|
12670
12670
|
}, this.getFreshValueHex = function() {
|
|
12671
12671
|
return this.hV;
|
|
12672
12672
|
}, void 0 !== e3 && ("string" == typeof e3 && e3.toLowerCase().match(/^[0-9a-f]+$/) ? this.setHexValueIncludingUnusedBits(e3) : void 0 !== e3.hex ? this.setHexValueIncludingUnusedBits(e3.hex) : void 0 !== e3.bin ? this.setByBinaryString(e3.bin) : void 0 !== e3.array && this.setByBooleanArray(e3.array));
|
|
12673
|
-
},
|
|
12673
|
+
}, ra(ia.asn1.DERBitString, ia.asn1.ASN1Object), ia.asn1.DEROctetString = function(e3) {
|
|
12674
12674
|
if (void 0 !== e3 && void 0 !== e3.obj) {
|
|
12675
|
-
var t3 =
|
|
12675
|
+
var t3 = ia.asn1.ASN1Util.newObject(e3.obj);
|
|
12676
12676
|
e3.hex = t3.getEncodedHex();
|
|
12677
12677
|
}
|
|
12678
|
-
|
|
12679
|
-
},
|
|
12680
|
-
|
|
12681
|
-
},
|
|
12678
|
+
ia.asn1.DEROctetString.superclass.constructor.call(this, e3), this.hT = "04";
|
|
12679
|
+
}, ra(ia.asn1.DEROctetString, ia.asn1.DERAbstractString), ia.asn1.DERNull = function() {
|
|
12680
|
+
ia.asn1.DERNull.superclass.constructor.call(this), this.hT = "05", this.hTLV = "0500";
|
|
12681
|
+
}, ra(ia.asn1.DERNull, ia.asn1.ASN1Object), ia.asn1.DERObjectIdentifier = function(e3) {
|
|
12682
12682
|
var t3 = function(e4) {
|
|
12683
12683
|
var t4 = e4.toString(16);
|
|
12684
12684
|
return 1 == t4.length && (t4 = "0" + t4), t4;
|
|
12685
12685
|
}, n3 = function(e4) {
|
|
12686
|
-
var n4 = "", r3 = new
|
|
12686
|
+
var n4 = "", r3 = new yo(e4, 10).toString(2), i2 = 7 - r3.length % 7;
|
|
12687
12687
|
7 == i2 && (i2 = 0);
|
|
12688
12688
|
for (var o2 = "", a2 = 0; a2 < i2; a2++) o2 += "0";
|
|
12689
12689
|
for (r3 = o2 + r3, a2 = 0; a2 < r3.length - 1; a2 += 7) {
|
|
@@ -12692,7 +12692,7 @@ function requireEideasyBrowserClient() {
|
|
|
12692
12692
|
}
|
|
12693
12693
|
return n4;
|
|
12694
12694
|
};
|
|
12695
|
-
|
|
12695
|
+
ia.asn1.DERObjectIdentifier.superclass.constructor.call(this), this.hT = "06", this.setValueHex = function(e4) {
|
|
12696
12696
|
this.hTLV = null, this.isModified = true, this.s = null, this.hV = e4;
|
|
12697
12697
|
}, this.setValueOidString = function(e4) {
|
|
12698
12698
|
if (!e4.match(/^[0-9.]+$/)) throw "malformed oid string: " + e4;
|
|
@@ -12701,139 +12701,139 @@ function requireEideasyBrowserClient() {
|
|
|
12701
12701
|
for (var a2 = 0; a2 < i2.length; a2++) r3 += n3(i2[a2]);
|
|
12702
12702
|
this.hTLV = null, this.isModified = true, this.s = null, this.hV = r3;
|
|
12703
12703
|
}, this.setValueName = function(e4) {
|
|
12704
|
-
var t4 =
|
|
12704
|
+
var t4 = ia.asn1.x509.OID.name2oid(e4);
|
|
12705
12705
|
if ("" === t4) throw "DERObjectIdentifier oidName undefined: " + e4;
|
|
12706
12706
|
this.setValueOidString(t4);
|
|
12707
12707
|
}, this.getFreshValueHex = function() {
|
|
12708
12708
|
return this.hV;
|
|
12709
12709
|
}, void 0 !== e3 && ("string" == typeof e3 ? e3.match(/^[0-2].[0-9.]+$/) ? this.setValueOidString(e3) : this.setValueName(e3) : void 0 !== e3.oid ? this.setValueOidString(e3.oid) : void 0 !== e3.hex ? this.setValueHex(e3.hex) : void 0 !== e3.name && this.setValueName(e3.name));
|
|
12710
|
-
},
|
|
12711
|
-
|
|
12712
|
-
this.hTLV = null, this.isModified = true, this.hV =
|
|
12710
|
+
}, ra(ia.asn1.DERObjectIdentifier, ia.asn1.ASN1Object), ia.asn1.DEREnumerated = function(e3) {
|
|
12711
|
+
ia.asn1.DEREnumerated.superclass.constructor.call(this), this.hT = "0a", this.setByBigInteger = function(e4) {
|
|
12712
|
+
this.hTLV = null, this.isModified = true, this.hV = ia.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e4);
|
|
12713
12713
|
}, this.setByInteger = function(e4) {
|
|
12714
|
-
var t3 = new
|
|
12714
|
+
var t3 = new yo(String(e4), 10);
|
|
12715
12715
|
this.setByBigInteger(t3);
|
|
12716
12716
|
}, this.setValueHex = function(e4) {
|
|
12717
12717
|
this.hV = e4;
|
|
12718
12718
|
}, this.getFreshValueHex = function() {
|
|
12719
12719
|
return this.hV;
|
|
12720
12720
|
}, void 0 !== e3 && (void 0 !== e3.int ? this.setByInteger(e3.int) : "number" == typeof e3 ? this.setByInteger(e3) : void 0 !== e3.hex && this.setValueHex(e3.hex));
|
|
12721
|
-
},
|
|
12722
|
-
|
|
12723
|
-
},
|
|
12724
|
-
|
|
12725
|
-
},
|
|
12726
|
-
|
|
12727
|
-
},
|
|
12728
|
-
|
|
12729
|
-
},
|
|
12730
|
-
|
|
12731
|
-
},
|
|
12732
|
-
|
|
12721
|
+
}, ra(ia.asn1.DEREnumerated, ia.asn1.ASN1Object), ia.asn1.DERUTF8String = function(e3) {
|
|
12722
|
+
ia.asn1.DERUTF8String.superclass.constructor.call(this, e3), this.hT = "0c";
|
|
12723
|
+
}, ra(ia.asn1.DERUTF8String, ia.asn1.DERAbstractString), ia.asn1.DERNumericString = function(e3) {
|
|
12724
|
+
ia.asn1.DERNumericString.superclass.constructor.call(this, e3), this.hT = "12";
|
|
12725
|
+
}, ra(ia.asn1.DERNumericString, ia.asn1.DERAbstractString), ia.asn1.DERPrintableString = function(e3) {
|
|
12726
|
+
ia.asn1.DERPrintableString.superclass.constructor.call(this, e3), this.hT = "13";
|
|
12727
|
+
}, ra(ia.asn1.DERPrintableString, ia.asn1.DERAbstractString), ia.asn1.DERTeletexString = function(e3) {
|
|
12728
|
+
ia.asn1.DERTeletexString.superclass.constructor.call(this, e3), this.hT = "14";
|
|
12729
|
+
}, ra(ia.asn1.DERTeletexString, ia.asn1.DERAbstractString), ia.asn1.DERIA5String = function(e3) {
|
|
12730
|
+
ia.asn1.DERIA5String.superclass.constructor.call(this, e3), this.hT = "16";
|
|
12731
|
+
}, ra(ia.asn1.DERIA5String, ia.asn1.DERAbstractString), ia.asn1.DERUTCTime = function(e3) {
|
|
12732
|
+
ia.asn1.DERUTCTime.superclass.constructor.call(this, e3), this.hT = "17", this.setByDate = function(e4) {
|
|
12733
12733
|
this.hTLV = null, this.isModified = true, this.date = e4, this.s = this.formatDate(this.date, "utc"), this.hV = stohex(this.s);
|
|
12734
12734
|
}, this.getFreshValueHex = function() {
|
|
12735
12735
|
return void 0 === this.date && void 0 === this.s && (this.date = /* @__PURE__ */ new Date(), this.s = this.formatDate(this.date, "utc"), this.hV = stohex(this.s)), this.hV;
|
|
12736
12736
|
}, void 0 !== e3 && (void 0 !== e3.str ? this.setString(e3.str) : "string" == typeof e3 && e3.match(/^[0-9]{12}Z$/) ? this.setString(e3) : void 0 !== e3.hex ? this.setStringHex(e3.hex) : void 0 !== e3.date && this.setByDate(e3.date));
|
|
12737
|
-
},
|
|
12738
|
-
|
|
12737
|
+
}, ra(ia.asn1.DERUTCTime, ia.asn1.DERAbstractTime), ia.asn1.DERGeneralizedTime = function(e3) {
|
|
12738
|
+
ia.asn1.DERGeneralizedTime.superclass.constructor.call(this, e3), this.hT = "18", this.withMillis = false, this.setByDate = function(e4) {
|
|
12739
12739
|
this.hTLV = null, this.isModified = true, this.date = e4, this.s = this.formatDate(this.date, "gen", this.withMillis), this.hV = stohex(this.s);
|
|
12740
12740
|
}, this.getFreshValueHex = function() {
|
|
12741
12741
|
return void 0 === this.date && void 0 === this.s && (this.date = /* @__PURE__ */ new Date(), this.s = this.formatDate(this.date, "gen", this.withMillis), this.hV = stohex(this.s)), this.hV;
|
|
12742
12742
|
}, void 0 !== e3 && (void 0 !== e3.str ? this.setString(e3.str) : "string" == typeof e3 && e3.match(/^[0-9]{14}Z$/) ? this.setString(e3) : void 0 !== e3.hex ? this.setStringHex(e3.hex) : void 0 !== e3.date && this.setByDate(e3.date), true === e3.millis && (this.withMillis = true));
|
|
12743
|
-
},
|
|
12744
|
-
|
|
12743
|
+
}, ra(ia.asn1.DERGeneralizedTime, ia.asn1.DERAbstractTime), ia.asn1.DERSequence = function(e3) {
|
|
12744
|
+
ia.asn1.DERSequence.superclass.constructor.call(this, e3), this.hT = "30", this.getFreshValueHex = function() {
|
|
12745
12745
|
for (var e4 = "", t3 = 0; t3 < this.asn1Array.length; t3++) e4 += this.asn1Array[t3].getEncodedHex();
|
|
12746
12746
|
return this.hV = e4, this.hV;
|
|
12747
12747
|
};
|
|
12748
|
-
},
|
|
12749
|
-
|
|
12748
|
+
}, ra(ia.asn1.DERSequence, ia.asn1.DERAbstractStructured), ia.asn1.DERSet = function(e3) {
|
|
12749
|
+
ia.asn1.DERSet.superclass.constructor.call(this, e3), this.hT = "31", this.sortFlag = true, this.getFreshValueHex = function() {
|
|
12750
12750
|
for (var e4 = new Array(), t3 = 0; t3 < this.asn1Array.length; t3++) {
|
|
12751
12751
|
var n3 = this.asn1Array[t3];
|
|
12752
12752
|
e4.push(n3.getEncodedHex());
|
|
12753
12753
|
}
|
|
12754
12754
|
return 1 == this.sortFlag && e4.sort(), this.hV = e4.join(""), this.hV;
|
|
12755
12755
|
}, void 0 !== e3 && void 0 !== e3.sortflag && 0 == e3.sortflag && (this.sortFlag = false);
|
|
12756
|
-
},
|
|
12757
|
-
|
|
12756
|
+
}, ra(ia.asn1.DERSet, ia.asn1.DERAbstractStructured), ia.asn1.DERTaggedObject = function(e3) {
|
|
12757
|
+
ia.asn1.DERTaggedObject.superclass.constructor.call(this), this.hT = "a0", this.hV = "", this.isExplicit = true, this.asn1Object = null, this.setASN1Object = function(e4, t3, n3) {
|
|
12758
12758
|
this.hT = t3, this.isExplicit = e4, this.asn1Object = n3, this.isExplicit ? (this.hV = this.asn1Object.getEncodedHex(), this.hTLV = null, this.isModified = true) : (this.hV = null, this.hTLV = n3.getEncodedHex(), this.hTLV = this.hTLV.replace(/^../, t3), this.isModified = false);
|
|
12759
12759
|
}, this.getFreshValueHex = function() {
|
|
12760
12760
|
return this.hV;
|
|
12761
12761
|
}, void 0 !== e3 && (void 0 !== e3.tag && (this.hT = e3.tag), void 0 !== e3.explicit && (this.isExplicit = e3.explicit), void 0 !== e3.obj && (this.asn1Object = e3.obj, this.setASN1Object(this.isExplicit, this.hT, this.asn1Object)));
|
|
12762
|
-
},
|
|
12763
|
-
var
|
|
12764
|
-
return
|
|
12762
|
+
}, ra(ia.asn1.DERTaggedObject, ia.asn1.ASN1Object);
|
|
12763
|
+
var oa, aa, sa = (oa = function(e3, t3) {
|
|
12764
|
+
return oa = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) {
|
|
12765
12765
|
e4.__proto__ = t4;
|
|
12766
12766
|
} || function(e4, t4) {
|
|
12767
12767
|
for (var n3 in t4) Object.prototype.hasOwnProperty.call(t4, n3) && (e4[n3] = t4[n3]);
|
|
12768
|
-
},
|
|
12768
|
+
}, oa(e3, t3);
|
|
12769
12769
|
}, function(e3, t3) {
|
|
12770
12770
|
if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null");
|
|
12771
12771
|
function n3() {
|
|
12772
12772
|
this.constructor = e3;
|
|
12773
12773
|
}
|
|
12774
|
-
|
|
12775
|
-
}),
|
|
12774
|
+
oa(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (n3.prototype = t3.prototype, new n3());
|
|
12775
|
+
}), ca = function(e3) {
|
|
12776
12776
|
function t3(n3) {
|
|
12777
12777
|
var r3 = e3.call(this) || this;
|
|
12778
12778
|
return n3 && ("string" == typeof n3 ? r3.parseKey(n3) : (t3.hasPrivateKeyProperty(n3) || t3.hasPublicKeyProperty(n3)) && r3.parsePropertiesFrom(n3)), r3;
|
|
12779
12779
|
}
|
|
12780
|
-
return
|
|
12780
|
+
return sa(t3, e3), t3.prototype.parseKey = function(e4) {
|
|
12781
12781
|
try {
|
|
12782
12782
|
var t4 = 0, n3 = 0, r3 = /^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(e4) ? function(e5) {
|
|
12783
12783
|
var t5;
|
|
12784
|
-
if (void 0 ===
|
|
12784
|
+
if (void 0 === Xi) {
|
|
12785
12785
|
var n4 = "0123456789ABCDEF";
|
|
12786
|
-
for (
|
|
12787
|
-
for (n4 = n4.toLowerCase(), t5 = 10; t5 < 16; ++t5)
|
|
12788
|
-
for (t5 = 0; t5 < 8; ++t5)
|
|
12786
|
+
for (Xi = {}, t5 = 0; t5 < 16; ++t5) Xi[n4.charAt(t5)] = t5;
|
|
12787
|
+
for (n4 = n4.toLowerCase(), t5 = 10; t5 < 16; ++t5) Xi[n4.charAt(t5)] = t5;
|
|
12788
|
+
for (t5 = 0; t5 < 8; ++t5) Xi[" \f\n\r \u2028\u2029".charAt(t5)] = -1;
|
|
12789
12789
|
}
|
|
12790
12790
|
var r4 = [], i3 = 0, o3 = 0;
|
|
12791
12791
|
for (t5 = 0; t5 < e5.length; ++t5) {
|
|
12792
12792
|
var a3 = e5.charAt(t5);
|
|
12793
12793
|
if ("=" == a3) break;
|
|
12794
|
-
if (-1 != (a3 =
|
|
12794
|
+
if (-1 != (a3 = Xi[a3])) {
|
|
12795
12795
|
if (void 0 === a3) throw new Error("Illegal character at offset " + t5);
|
|
12796
12796
|
i3 |= a3, ++o3 >= 2 ? (r4[r4.length] = i3, i3 = 0, o3 = 0) : i3 <<= 4;
|
|
12797
12797
|
}
|
|
12798
12798
|
}
|
|
12799
12799
|
if (o3) throw new Error("Hex encoding incomplete: 4 bits missing");
|
|
12800
12800
|
return r4;
|
|
12801
|
-
}(e4) :
|
|
12801
|
+
}(e4) : ro.unarmor(e4), i2 = po.decode(r3);
|
|
12802
12802
|
if (3 === i2.sub.length && (i2 = i2.sub[2].sub[0]), 9 === i2.sub.length) {
|
|
12803
|
-
t4 = i2.sub[1].getHexStringValue(), this.n =
|
|
12803
|
+
t4 = i2.sub[1].getHexStringValue(), this.n = Co(t4, 16), n3 = i2.sub[2].getHexStringValue(), this.e = parseInt(n3, 16);
|
|
12804
12804
|
var o2 = i2.sub[3].getHexStringValue();
|
|
12805
|
-
this.d =
|
|
12805
|
+
this.d = Co(o2, 16);
|
|
12806
12806
|
var a2 = i2.sub[4].getHexStringValue();
|
|
12807
|
-
this.p =
|
|
12807
|
+
this.p = Co(a2, 16);
|
|
12808
12808
|
var s2 = i2.sub[5].getHexStringValue();
|
|
12809
|
-
this.q =
|
|
12809
|
+
this.q = Co(s2, 16);
|
|
12810
12810
|
var c2 = i2.sub[6].getHexStringValue();
|
|
12811
|
-
this.dmp1 =
|
|
12811
|
+
this.dmp1 = Co(c2, 16);
|
|
12812
12812
|
var u2 = i2.sub[7].getHexStringValue();
|
|
12813
|
-
this.dmq1 =
|
|
12813
|
+
this.dmq1 = Co(u2, 16);
|
|
12814
12814
|
var l2 = i2.sub[8].getHexStringValue();
|
|
12815
|
-
this.coeff =
|
|
12815
|
+
this.coeff = Co(l2, 16);
|
|
12816
12816
|
} else {
|
|
12817
12817
|
if (2 !== i2.sub.length) return false;
|
|
12818
12818
|
if (i2.sub[0].sub) {
|
|
12819
12819
|
var d2 = i2.sub[1].sub[0];
|
|
12820
|
-
t4 = d2.sub[0].getHexStringValue(), this.n =
|
|
12821
|
-
} else t4 = i2.sub[0].getHexStringValue(), this.n =
|
|
12820
|
+
t4 = d2.sub[0].getHexStringValue(), this.n = Co(t4, 16), n3 = d2.sub[1].getHexStringValue(), this.e = parseInt(n3, 16);
|
|
12821
|
+
} else t4 = i2.sub[0].getHexStringValue(), this.n = Co(t4, 16), n3 = i2.sub[1].getHexStringValue(), this.e = parseInt(n3, 16);
|
|
12822
12822
|
}
|
|
12823
12823
|
return true;
|
|
12824
12824
|
} catch (e5) {
|
|
12825
12825
|
return false;
|
|
12826
12826
|
}
|
|
12827
12827
|
}, t3.prototype.getPrivateBaseKey = function() {
|
|
12828
|
-
var e4 = { array: [new
|
|
12829
|
-
return new
|
|
12828
|
+
var e4 = { array: [new ia.asn1.DERInteger({ int: 0 }), new ia.asn1.DERInteger({ bigint: this.n }), new ia.asn1.DERInteger({ int: this.e }), new ia.asn1.DERInteger({ bigint: this.d }), new ia.asn1.DERInteger({ bigint: this.p }), new ia.asn1.DERInteger({ bigint: this.q }), new ia.asn1.DERInteger({ bigint: this.dmp1 }), new ia.asn1.DERInteger({ bigint: this.dmq1 }), new ia.asn1.DERInteger({ bigint: this.coeff })] };
|
|
12829
|
+
return new ia.asn1.DERSequence(e4).getEncodedHex();
|
|
12830
12830
|
}, t3.prototype.getPrivateBaseKeyB64 = function() {
|
|
12831
|
-
return
|
|
12831
|
+
return eo(this.getPrivateBaseKey());
|
|
12832
12832
|
}, t3.prototype.getPublicBaseKey = function() {
|
|
12833
|
-
var e4 = new
|
|
12834
|
-
return new
|
|
12833
|
+
var e4 = new ia.asn1.DERSequence({ array: [new ia.asn1.DERObjectIdentifier({ oid: "1.2.840.113549.1.1.1" }), new ia.asn1.DERNull()] }), t4 = new ia.asn1.DERSequence({ array: [new ia.asn1.DERInteger({ bigint: this.n }), new ia.asn1.DERInteger({ int: this.e })] }), n3 = new ia.asn1.DERBitString({ hex: "00" + t4.getEncodedHex() });
|
|
12834
|
+
return new ia.asn1.DERSequence({ array: [e4, n3] }).getEncodedHex();
|
|
12835
12835
|
}, t3.prototype.getPublicBaseKeyB64 = function() {
|
|
12836
|
-
return
|
|
12836
|
+
return eo(this.getPublicBaseKey());
|
|
12837
12837
|
}, t3.wordwrap = function(e4, t4) {
|
|
12838
12838
|
if (!e4) return e4;
|
|
12839
12839
|
var n3 = "(.{1," + (t4 = t4 || 64) + "})( +|$\n?)|(.{1," + t4 + "})";
|
|
@@ -12851,31 +12851,31 @@ function requireEideasyBrowserClient() {
|
|
|
12851
12851
|
}, t3.prototype.parsePropertiesFrom = function(e4) {
|
|
12852
12852
|
this.n = e4.n, this.e = e4.e, e4.hasOwnProperty("d") && (this.d = e4.d, this.p = e4.p, this.q = e4.q, this.dmp1 = e4.dmp1, this.dmq1 = e4.dmq1, this.coeff = e4.coeff);
|
|
12853
12853
|
}, t3;
|
|
12854
|
-
}(
|
|
12854
|
+
}(ta), ua = "undefined" != typeof process ? null === (aa = { LIB_ENV: "production" }) || void 0 === aa ? void 0 : aa.npm_package_version : void 0, la = function() {
|
|
12855
12855
|
function e3(e4) {
|
|
12856
12856
|
void 0 === e4 && (e4 = {}), this.default_key_size = e4.default_key_size ? parseInt(e4.default_key_size, 10) : 1024, this.default_public_exponent = e4.default_public_exponent || "010001", this.log = e4.log || false, this.key = e4.key || null;
|
|
12857
12857
|
}
|
|
12858
12858
|
return e3.prototype.setKey = function(e4) {
|
|
12859
|
-
e4 ? (this.log && this.key && console.warn("A key was already set, overriding existing."), this.key = new
|
|
12859
|
+
e4 ? (this.log && this.key && console.warn("A key was already set, overriding existing."), this.key = new ca(e4)) : !this.key && this.log && console.error("A key was not set.");
|
|
12860
12860
|
}, e3.prototype.setPrivateKey = function(e4) {
|
|
12861
12861
|
this.setKey(e4);
|
|
12862
12862
|
}, e3.prototype.setPublicKey = function(e4) {
|
|
12863
12863
|
this.setKey(e4);
|
|
12864
12864
|
}, e3.prototype.decrypt = function(e4) {
|
|
12865
12865
|
try {
|
|
12866
|
-
return this.getKey().decrypt(
|
|
12866
|
+
return this.getKey().decrypt(to(e4));
|
|
12867
12867
|
} catch (e5) {
|
|
12868
12868
|
return false;
|
|
12869
12869
|
}
|
|
12870
12870
|
}, e3.prototype.encrypt = function(e4) {
|
|
12871
12871
|
try {
|
|
12872
|
-
return
|
|
12872
|
+
return eo(this.getKey().encrypt(e4));
|
|
12873
12873
|
} catch (e5) {
|
|
12874
12874
|
return false;
|
|
12875
12875
|
}
|
|
12876
12876
|
}, e3.prototype.encryptOAEP = function(e4) {
|
|
12877
12877
|
try {
|
|
12878
|
-
return
|
|
12878
|
+
return eo(this.getKey().encrypt(e4, ea));
|
|
12879
12879
|
} catch (e5) {
|
|
12880
12880
|
return false;
|
|
12881
12881
|
}
|
|
@@ -12884,30 +12884,30 @@ function requireEideasyBrowserClient() {
|
|
|
12884
12884
|
return e5;
|
|
12885
12885
|
}), void 0 === n3 && (n3 = "");
|
|
12886
12886
|
try {
|
|
12887
|
-
return
|
|
12887
|
+
return eo(this.getKey().sign(e4, t3, n3));
|
|
12888
12888
|
} catch (e5) {
|
|
12889
12889
|
return false;
|
|
12890
12890
|
}
|
|
12891
12891
|
}, e3.prototype.signSha256 = function(e4) {
|
|
12892
12892
|
return this.sign(e4, function(e5) {
|
|
12893
|
-
return Fo(
|
|
12893
|
+
return xo(Fo(e5));
|
|
12894
12894
|
}, "sha256");
|
|
12895
12895
|
}, e3.prototype.verify = function(e4, t3, n3) {
|
|
12896
12896
|
void 0 === n3 && (n3 = function(e5) {
|
|
12897
12897
|
return e5;
|
|
12898
12898
|
});
|
|
12899
12899
|
try {
|
|
12900
|
-
return this.getKey().verify(e4,
|
|
12900
|
+
return this.getKey().verify(e4, to(t3), n3);
|
|
12901
12901
|
} catch (e5) {
|
|
12902
12902
|
return false;
|
|
12903
12903
|
}
|
|
12904
12904
|
}, e3.prototype.verifySha256 = function(e4, t3) {
|
|
12905
12905
|
return this.verify(e4, t3, function(e5) {
|
|
12906
|
-
return Fo(
|
|
12906
|
+
return xo(Fo(e5));
|
|
12907
12907
|
});
|
|
12908
12908
|
}, e3.prototype.getKey = function(e4) {
|
|
12909
12909
|
if (!this.key) {
|
|
12910
|
-
if (this.key = new
|
|
12910
|
+
if (this.key = new ca(), e4 && "[object Function]" === {}.toString.call(e4)) return void this.key.generateAsync(this.default_key_size, this.default_public_exponent, e4);
|
|
12911
12911
|
this.key.generate(this.default_key_size, this.default_public_exponent);
|
|
12912
12912
|
}
|
|
12913
12913
|
return this.key;
|
|
@@ -12919,33 +12919,33 @@ function requireEideasyBrowserClient() {
|
|
|
12919
12919
|
return this.getKey().getPublicKey();
|
|
12920
12920
|
}, e3.prototype.getPublicKeyB64 = function() {
|
|
12921
12921
|
return this.getKey().getPublicBaseKeyB64();
|
|
12922
|
-
}, e3.version =
|
|
12922
|
+
}, e3.version = ua, e3;
|
|
12923
12923
|
}();
|
|
12924
|
-
const
|
|
12924
|
+
const da2 = s.chaveMovelSignature, pa = { publicKey: null }, ga = function() {
|
|
12925
12925
|
var e3 = nn(function(e4) {
|
|
12926
12926
|
let { apiClient: t3, apiEndpoints: n3, cancelToken: r3 } = e4;
|
|
12927
12927
|
return function* () {
|
|
12928
12928
|
const e5 = n3.inCurrentMode.getChaveMovelPublicKey(), i2 = yield t3.get({ url: e5, withCredentials: false, cancelToken: r3 });
|
|
12929
12929
|
if (!i2.data.publicKey) return {};
|
|
12930
12930
|
const o2 = atob(i2.data.publicKey);
|
|
12931
|
-
return
|
|
12931
|
+
return pa.publicKey = o2, o2;
|
|
12932
12932
|
}();
|
|
12933
12933
|
});
|
|
12934
12934
|
return function(t3) {
|
|
12935
12935
|
return e3.apply(this, arguments);
|
|
12936
12936
|
};
|
|
12937
|
-
}(),
|
|
12937
|
+
}(), fa = function() {
|
|
12938
12938
|
var e3 = nn(function(e4) {
|
|
12939
12939
|
let { signingPin: t3, phone: n3, language: r3, clientId: i2, docId: o2, cancelToken: a2, apiEndpoints: s2, apiClient: c2, actionType: u2 } = e4;
|
|
12940
12940
|
return function* () {
|
|
12941
|
-
const e5 = s2.inCurrentMode.startSigning(), l2 = yield
|
|
12941
|
+
const e5 = s2.inCurrentMode.startSigning(), l2 = yield ga({ apiClient: c2, apiEndpoints: s2, cancelToken: a2 }), d2 = new la();
|
|
12942
12942
|
return d2.setPublicKey(l2), c2.post({ url: e5, withCredentials: false, data: { doc_id: o2, client_id: i2, sign_type: u2, lang: r3, signing_pin: d2.encrypt(t3), phone: d2.encrypt(n3) }, cancelToken: a2 });
|
|
12943
12943
|
}();
|
|
12944
12944
|
});
|
|
12945
12945
|
return function(t3) {
|
|
12946
12946
|
return e3.apply(this, arguments);
|
|
12947
12947
|
};
|
|
12948
|
-
}(),
|
|
12948
|
+
}(), ha = function(e3) {
|
|
12949
12949
|
let { startSigningResult: t3, confirmationCodeRequest: n3, setOnCancelByUser: r3 } = e3;
|
|
12950
12950
|
return new Promise(function(e4, i2) {
|
|
12951
12951
|
r3(function() {
|
|
@@ -12953,150 +12953,150 @@ function requireEideasyBrowserClient() {
|
|
|
12953
12953
|
e5.isCancel = true, i2(e5);
|
|
12954
12954
|
}), n3({ data: t3.data }, e4, i2);
|
|
12955
12955
|
});
|
|
12956
|
-
},
|
|
12956
|
+
}, ya = function(e3) {
|
|
12957
12957
|
let { token: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, confirmationCode: c2 } = e3;
|
|
12958
|
-
const u2 = new
|
|
12959
|
-
return u2.setPublicKey(
|
|
12960
|
-
},
|
|
12958
|
+
const u2 = new la();
|
|
12959
|
+
return u2.setPublicKey(pa.publicKey), n3.post({ url: r3.inCurrentMode.completeSignatureChaveMovel(), withCredentials: false, data: { token: t3, doc_id: a2, lang: i2, client_id: s2, confirmation_code: u2.encrypt(c2) }, cancelToken: o2 });
|
|
12960
|
+
}, Ta = Tn(da2, function() {
|
|
12961
12961
|
var e3 = nn(function(e4) {
|
|
12962
12962
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, countryCode: c2, language: l2, started: d2, confirmationCodeRequest: p3, signingPin: g2, phone: f2, setOnCancelByUser: h3 } = e4;
|
|
12963
12963
|
return function* () {
|
|
12964
|
-
const e5 = u(r2.SIGNATURE,
|
|
12964
|
+
const e5 = u(r2.SIGNATURE, da2, c2);
|
|
12965
12965
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
12966
|
-
const y2 = yield sn(
|
|
12966
|
+
const y2 = yield sn(fa)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: l2, actionType: e5.actionType, signingPin: g2, phone: f2 });
|
|
12967
12967
|
d2(y2);
|
|
12968
|
-
const T2 = yield sn(
|
|
12969
|
-
return sn(
|
|
12968
|
+
const T2 = yield sn(ha, { shouldFormatResult: false })({ startSigningResult: y2, confirmationCodeRequest: p3, setOnCancelByUser: h3 });
|
|
12969
|
+
return sn(ya)({ token: y2.data.token, apiClient: a2, apiEndpoints: o2, language: l2, cancelToken: i2, docId: n3, clientId: t3, confirmationCode: T2 });
|
|
12970
12970
|
}();
|
|
12971
12971
|
});
|
|
12972
12972
|
return function(t3) {
|
|
12973
12973
|
return e3.apply(this, arguments);
|
|
12974
12974
|
};
|
|
12975
|
-
}(), { pin: { type: "string" }, phone: { type: "string" }, docId: { type: "string", required: true } }),
|
|
12975
|
+
}(), { pin: { type: "string" }, phone: { type: "string" }, docId: { type: "string", required: true } }), Sa = s.eCertChileSignature, Ia = function(e3) {
|
|
12976
12976
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, idcode: u2, email: l2 } = e3;
|
|
12977
12977
|
const d2 = o2.inCurrentMode.startSigning();
|
|
12978
12978
|
return a2.post({ url: d2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, idcode: u2, email: l2 }, cancelToken: i2 });
|
|
12979
|
-
},
|
|
12979
|
+
}, ma = Tn(Sa, function() {
|
|
12980
12980
|
var e3 = nn(function(e4) {
|
|
12981
12981
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, idcode: p3, email: g2, redirect: f2 } = e4;
|
|
12982
12982
|
return function* () {
|
|
12983
|
-
const e5 = u(r2.SIGNATURE,
|
|
12983
|
+
const e5 = u(r2.SIGNATURE, Sa, d2);
|
|
12984
12984
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
12985
|
-
const h3 = yield sn(
|
|
12985
|
+
const h3 = yield sn(Ia)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, idcode: p3, email: g2, actionType: e5.actionType });
|
|
12986
12986
|
return sn(f2, { shouldFormatResult: false })(h3);
|
|
12987
12987
|
}();
|
|
12988
12988
|
});
|
|
12989
12989
|
return function(t3) {
|
|
12990
12990
|
return e3.apply(this, arguments);
|
|
12991
12991
|
};
|
|
12992
|
-
}(), { idcode: { type: "string", required: true }, email: { type: "string", required: true } }),
|
|
12992
|
+
}(), { idcode: { type: "string", required: true }, email: { type: "string", required: true } }), Ea = bi({ moduleName: s.mitIdSignature, createModuleCreator: Tn }), Ca = s.ftnQesSignature, Aa = function(e3) {
|
|
12993
12993
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, phone: u2, email: l2 } = e3;
|
|
12994
12994
|
const d2 = o2.inCurrentMode.startSigning();
|
|
12995
12995
|
return a2.post({ url: d2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, phone: u2, email: l2 }, cancelToken: i2 });
|
|
12996
|
-
},
|
|
12996
|
+
}, va = Tn(Ca, function() {
|
|
12997
12997
|
var e3 = nn(function(e4) {
|
|
12998
12998
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, phone: p3, email: g2, redirect: f2 } = e4;
|
|
12999
12999
|
return function* () {
|
|
13000
|
-
const e5 = u(r2.SIGNATURE,
|
|
13000
|
+
const e5 = u(r2.SIGNATURE, Ca, d2);
|
|
13001
13001
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13002
|
-
const h3 = yield sn(
|
|
13002
|
+
const h3 = yield sn(Aa)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, phone: p3, email: g2, actionType: e5.actionType });
|
|
13003
13003
|
return sn(f2, { shouldFormatResult: false })(h3);
|
|
13004
13004
|
}();
|
|
13005
13005
|
});
|
|
13006
13006
|
return function(t3) {
|
|
13007
13007
|
return e3.apply(this, arguments);
|
|
13008
13008
|
};
|
|
13009
|
-
}(), { phone: { type: "string", required: true }, email: { type: "string", required: true } }),
|
|
13009
|
+
}(), { phone: { type: "string", required: true }, email: { type: "string", required: true } }), ba = s.noBankIdAdvSignature, Na = function(e3) {
|
|
13010
13010
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, name: u2 } = e3;
|
|
13011
13011
|
const l2 = o2.inCurrentMode.startSigning();
|
|
13012
13012
|
return a2.post({ url: l2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, name: u2 }, cancelToken: i2 });
|
|
13013
|
-
},
|
|
13013
|
+
}, _a = Tn(ba, function() {
|
|
13014
13014
|
var e3 = nn(function(e4) {
|
|
13015
13015
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, name: p3, redirect: g2 } = e4;
|
|
13016
13016
|
return function* () {
|
|
13017
|
-
const e5 = u(r2.SIGNATURE,
|
|
13017
|
+
const e5 = u(r2.SIGNATURE, ba, d2);
|
|
13018
13018
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13019
|
-
const f2 = yield sn(
|
|
13019
|
+
const f2 = yield sn(Na)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, name: p3, actionType: e5.actionType });
|
|
13020
13020
|
return sn(g2, { shouldFormatResult: false })(f2);
|
|
13021
13021
|
}();
|
|
13022
13022
|
});
|
|
13023
13023
|
return function(t3) {
|
|
13024
13024
|
return e3.apply(this, arguments);
|
|
13025
13025
|
};
|
|
13026
|
-
}(), { name: { type: "string", required: true } }),
|
|
13026
|
+
}(), { name: { type: "string", required: true } }), Ra = bi({ moduleName: s.noBankIdAdvLightSignature, createModuleCreator: Tn }), Oa = Xr({ moduleName: s.certEuropeUsbTokenSignature, createModuleCreator: Tn }), Ma = Xr({ moduleName: s.certSignUsbTokenSignature, createModuleCreator: Tn }), Da = bi({ moduleName: s.idinSignature, createModuleCreator: Tn }), Ua = bi({ moduleName: s.verifaiSignature, createModuleCreator: Tn }), wa = s.spidQesSignature, ka = function(e3) {
|
|
13027
13027
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, phone: u2, email: l2 } = e3;
|
|
13028
13028
|
const d2 = o2.inCurrentMode.startSigning();
|
|
13029
13029
|
return a2.post({ url: d2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, phone: u2, email: l2 }, cancelToken: i2 });
|
|
13030
|
-
},
|
|
13030
|
+
}, Ga = Tn(wa, function() {
|
|
13031
13031
|
var e3 = nn(function(e4) {
|
|
13032
13032
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, phone: p3, email: g2, redirect: f2 } = e4;
|
|
13033
13033
|
return function* () {
|
|
13034
|
-
const e5 = u(r2.SIGNATURE,
|
|
13034
|
+
const e5 = u(r2.SIGNATURE, wa, d2);
|
|
13035
13035
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13036
|
-
const h3 = yield sn(
|
|
13036
|
+
const h3 = yield sn(ka)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, phone: p3, email: g2, actionType: e5.actionType });
|
|
13037
13037
|
return sn(f2, { shouldFormatResult: false })(h3);
|
|
13038
13038
|
}();
|
|
13039
13039
|
});
|
|
13040
13040
|
return function(t3) {
|
|
13041
13041
|
return e3.apply(this, arguments);
|
|
13042
13042
|
};
|
|
13043
|
-
}(), { email: { type: "string", required: true }, phone: { type: "string", required: true } }),
|
|
13043
|
+
}(), { email: { type: "string", required: true }, phone: { type: "string", required: true } }), La = s.frejaSimpleSignature, Ba = function(e3) {
|
|
13044
13044
|
let { email: t3, language: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2, countryCode: u2 } = e3;
|
|
13045
13045
|
const l2 = a2.inCurrentMode.startSigning();
|
|
13046
13046
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: c2, lang: n3, country: u2, email: t3 }, cancelToken: o2 });
|
|
13047
|
-
},
|
|
13047
|
+
}, Pa = function(e3) {
|
|
13048
13048
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13049
13049
|
return n3.post({ url: r3.inCurrentMode.completeSignatureFrejaSimple(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13050
|
-
},
|
|
13050
|
+
}, ja = function(e3) {
|
|
13051
13051
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13052
|
-
return Nn({ pollInterval: 2e3, fn:
|
|
13053
|
-
},
|
|
13052
|
+
return Nn({ pollInterval: 2e3, fn: Pa, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13053
|
+
}, Fa = Tn(La, function() {
|
|
13054
13054
|
var e3 = nn(function(e4) {
|
|
13055
13055
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, email: c2, countryCode: l2, language: d2, started: p3 } = e4;
|
|
13056
13056
|
return function* () {
|
|
13057
|
-
const e5 = u(r2.SIGNATURE,
|
|
13057
|
+
const e5 = u(r2.SIGNATURE, La, l2);
|
|
13058
13058
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13059
|
-
const g2 = yield sn(
|
|
13060
|
-
return p3(g2), sn(
|
|
13059
|
+
const g2 = yield sn(Ba)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, email: c2, language: d2, actionType: e5.actionType, countryCode: l2 });
|
|
13060
|
+
return p3(g2), sn(ja)({ data: g2.data, apiClient: a2, apiEndpoints: o2, language: d2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13061
13061
|
}();
|
|
13062
13062
|
});
|
|
13063
13063
|
return function(t3) {
|
|
13064
13064
|
return e3.apply(this, arguments);
|
|
13065
13065
|
};
|
|
13066
|
-
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13066
|
+
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }), xa = s.audkenniQesSignature, Va = function(e3) {
|
|
13067
13067
|
let { idcode: t3, language: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2, countryCode: u2 } = e3;
|
|
13068
13068
|
const l2 = a2.inCurrentMode.startSigning();
|
|
13069
13069
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: c2, lang: n3, country: u2, idcode: t3 }, cancelToken: o2 });
|
|
13070
|
-
}, Va = function(e3) {
|
|
13071
|
-
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13072
|
-
return n3.post({ url: r3.inCurrentMode.continueSignatureAudkenni(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13073
13070
|
}, Ka = function(e3) {
|
|
13074
13071
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13075
|
-
return n3.post({ url: r3.inCurrentMode.
|
|
13072
|
+
return n3.post({ url: r3.inCurrentMode.continueSignatureAudkenni(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13076
13073
|
}, Ha = function(e3) {
|
|
13077
13074
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13078
|
-
return
|
|
13075
|
+
return n3.post({ url: r3.inCurrentMode.completeSignatureAudkenni(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13079
13076
|
}, qa = function(e3) {
|
|
13080
13077
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13081
13078
|
return Nn({ pollInterval: 2e3, fn: Ka, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13082
|
-
}, Qa =
|
|
13079
|
+
}, Qa = function(e3) {
|
|
13080
|
+
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13081
|
+
return Nn({ pollInterval: 2e3, fn: Ha, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13082
|
+
}, Za = Tn(xa, function() {
|
|
13083
13083
|
var e3 = nn(function(e4) {
|
|
13084
13084
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, idcode: c2, countryCode: l2, language: d2, started: p3 } = e4;
|
|
13085
13085
|
return function* () {
|
|
13086
|
-
const e5 = u(r2.SIGNATURE,
|
|
13086
|
+
const e5 = u(r2.SIGNATURE, xa, l2);
|
|
13087
13087
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13088
|
-
const g2 = yield sn(
|
|
13089
|
-
return p3(f2), sn(
|
|
13088
|
+
const g2 = yield sn(Va)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, idcode: c2, language: d2, actionType: e5.actionType, countryCode: l2 }), f2 = yield sn(qa)({ data: g2.data, apiClient: a2, apiEndpoints: o2, language: d2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13089
|
+
return p3(f2), sn(Qa)({ data: f2.data, apiClient: a2, apiEndpoints: o2, language: d2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13090
13090
|
}();
|
|
13091
13091
|
});
|
|
13092
13092
|
return function(t3) {
|
|
13093
13093
|
return e3.apply(this, arguments);
|
|
13094
13094
|
};
|
|
13095
|
-
}(), { idcode: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13095
|
+
}(), { idcode: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }), Wa = bi({ moduleName: s.yesComQesSignature, createModuleCreator: Tn }), Ja = bi({ moduleName: s.simplySignQesSignature, createModuleCreator: Tn }), Ya = s.uanatacaQesSignature, za = function(e3) {
|
|
13096
13096
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, username: u2, password: l2, pin: d2 } = e3;
|
|
13097
13097
|
const p3 = o2.inCurrentMode.startSigning();
|
|
13098
13098
|
return a2.post({ url: p3, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, username: u2, password: l2, pin: d2 }, cancelToken: i2 });
|
|
13099
|
-
},
|
|
13099
|
+
}, Xa = function(e3) {
|
|
13100
13100
|
let { startSigningResult: t3, confirmationCodeRequest: n3, setOnCancelByUser: r3 } = e3;
|
|
13101
13101
|
return new Promise(function(e4, i2) {
|
|
13102
13102
|
r3(function() {
|
|
@@ -13104,29 +13104,29 @@ function requireEideasyBrowserClient() {
|
|
|
13104
13104
|
e5.isCancel = true, i2(e5);
|
|
13105
13105
|
}), n3({ data: t3.data }, e4, i2);
|
|
13106
13106
|
});
|
|
13107
|
-
},
|
|
13107
|
+
}, $a = function(e3) {
|
|
13108
13108
|
let { token: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, confirmationCode: c2 } = e3;
|
|
13109
13109
|
return n3.post({ url: r3.inCurrentMode.completeSignatureUanataca(), withCredentials: false, data: { token: t3, doc_id: a2, lang: i2, client_id: s2, confirmation_code: c2 }, cancelToken: o2 });
|
|
13110
|
-
},
|
|
13110
|
+
}, es2 = Tn(Ya, function() {
|
|
13111
13111
|
var e3 = nn(function(e4) {
|
|
13112
13112
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, username: p3, password: g2, pin: f2, confirmationCodeRequest: h3, setOnCancelByUser: y2, started: T2 } = e4;
|
|
13113
13113
|
return function* () {
|
|
13114
|
-
const e5 = u(r2.SIGNATURE,
|
|
13114
|
+
const e5 = u(r2.SIGNATURE, Ya, d2);
|
|
13115
13115
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13116
|
-
const S3 = yield sn(
|
|
13116
|
+
const S3 = yield sn(za)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, username: p3, password: g2, pin: f2, actionType: e5.actionType });
|
|
13117
13117
|
T2(S3);
|
|
13118
|
-
const I2 = yield sn(
|
|
13119
|
-
return sn(
|
|
13118
|
+
const I2 = yield sn(Xa, { shouldFormatResult: false })({ startSigningResult: S3, confirmationCodeRequest: h3, setOnCancelByUser: y2 });
|
|
13119
|
+
return sn($a)({ token: S3.data.token, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3, confirmationCode: I2 });
|
|
13120
13120
|
}();
|
|
13121
13121
|
});
|
|
13122
13122
|
return function(t3) {
|
|
13123
13123
|
return e3.apply(this, arguments);
|
|
13124
13124
|
};
|
|
13125
|
-
}(), { username: { type: "string", required: true }, password: { type: "string", required: true }, pin: { type: "string", required: true } }),
|
|
13125
|
+
}(), { username: { type: "string", required: true }, password: { type: "string", required: true }, pin: { type: "string", required: true } }), ts = s.infoCertQesSignature, ns = function(e3) {
|
|
13126
13126
|
let { clientId: t3, docId: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, language: a2, actionType: s2, userId: c2 } = e3;
|
|
13127
13127
|
const u2 = i2.inCurrentMode.startSigning();
|
|
13128
13128
|
return o2.post({ url: u2, withCredentials: false, data: { doc_id: n3, client_id: t3, sign_type: s2, lang: a2, user_id: c2 }, cancelToken: r3 });
|
|
13129
|
-
},
|
|
13129
|
+
}, rs = function(e3) {
|
|
13130
13130
|
let { startSigningResult: t3, otpCodeRequest: n3, setOnCancelByUser: r3 } = e3;
|
|
13131
13131
|
return new Promise(function(e4, i2) {
|
|
13132
13132
|
r3(function() {
|
|
@@ -13134,305 +13134,305 @@ function requireEideasyBrowserClient() {
|
|
|
13134
13134
|
e5.isCancel = true, i2(e5);
|
|
13135
13135
|
}), n3({ data: t3.data }, e4, i2);
|
|
13136
13136
|
});
|
|
13137
|
-
},
|
|
13137
|
+
}, is = function(e3) {
|
|
13138
13138
|
let { token: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, pin: c2, otp: u2 } = e3;
|
|
13139
13139
|
return n3.post({ url: r3.inCurrentMode.completeSignatureInfoCert(), withCredentials: false, data: { token: t3, doc_id: a2, lang: i2, client_id: s2, pin: c2, otp: u2 }, cancelToken: o2 });
|
|
13140
|
-
},
|
|
13140
|
+
}, os = function(e3) {
|
|
13141
13141
|
let { country: t3, userId: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2 } = e3;
|
|
13142
13142
|
const a2 = i2.inCurrentMode.cscApiAuthorizeCredential();
|
|
13143
13143
|
return o2.post({ url: a2, withCredentials: false, data: { sign_type: "infocert-qes-signature", user_id: n3, country: t3 }, cancelToken: r3 });
|
|
13144
|
-
},
|
|
13144
|
+
}, as = function(e3) {
|
|
13145
13145
|
let { token: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, otp: c2, pin: u2 } = e3;
|
|
13146
|
-
return Nn({ pollInterval: 2e3, fn:
|
|
13147
|
-
},
|
|
13146
|
+
return Nn({ pollInterval: 2e3, fn: is, fnArgs: [{ token: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, otp: c2, pin: u2 }] }).start();
|
|
13147
|
+
}, ss = Tn(ts, function() {
|
|
13148
13148
|
var e3 = nn(function(e4) {
|
|
13149
13149
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, language: c2, countryCode: l2, userId: d2, action: p3, otpCodeRequest: g2, setOnCancelByUser: f2, started: h3, logger: y2, redirect: T2 } = e4;
|
|
13150
13150
|
return function* () {
|
|
13151
|
-
const e5 = u(r2.SIGNATURE,
|
|
13151
|
+
const e5 = u(r2.SIGNATURE, ts, l2);
|
|
13152
13152
|
if (s2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), "cscApiAuthorizeCredential" === p3) {
|
|
13153
13153
|
y2.info("".concat(e5.actionType, ": cscApiAuthorizeCredential called"));
|
|
13154
|
-
const t4 = yield sn(
|
|
13154
|
+
const t4 = yield sn(os)({ country: l2, userId: d2, cancelToken: i2, apiEndpoints: o2, apiClient: a2, logger: y2 });
|
|
13155
13155
|
return y2.info("".concat(e5.actionType, ": authorizationResult"), t4), sn(T2, { shouldFormatResult: false })(t4);
|
|
13156
13156
|
}
|
|
13157
|
-
const S3 = yield sn(
|
|
13157
|
+
const S3 = yield sn(ns)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: c2, userId: d2, actionType: e5.actionType });
|
|
13158
13158
|
h3(S3);
|
|
13159
|
-
const { otp: I2, pin: m2 } = yield sn(
|
|
13160
|
-
return sn(
|
|
13159
|
+
const { otp: I2, pin: m2 } = yield sn(rs, { shouldFormatResult: false })({ startSigningResult: S3, otpCodeRequest: g2, setOnCancelByUser: f2 });
|
|
13160
|
+
return sn(as)({ token: S3.data.token, apiClient: a2, apiEndpoints: o2, language: c2, cancelToken: i2, docId: n3, clientId: t3, otp: I2, pin: m2 });
|
|
13161
13161
|
}();
|
|
13162
13162
|
});
|
|
13163
13163
|
return function(t3) {
|
|
13164
13164
|
return e3.apply(this, arguments);
|
|
13165
13165
|
};
|
|
13166
|
-
}(), { userId: { type: "string", required: true } }),
|
|
13166
|
+
}(), { userId: { type: "string", required: true } }), cs2 = bi({ moduleName: s.certsignWebapiQesSignature, createModuleCreator: Tn }), us = s.halcomQesSignature, ls = function(e3) {
|
|
13167
13167
|
let { certificate: t3, country: n3, phone: r3, email: i2, username: o2, cancelToken: a2, apiEndpoints: s2, apiClient: c2 } = e3;
|
|
13168
13168
|
const u2 = s2.inCurrentMode.cscApiAuthorizeCredential();
|
|
13169
13169
|
return c2.post({ url: u2, withCredentials: false, data: { sign_type: "halcom-qes-signature", certificate: t3, country: n3, phone: r3, email: i2, username: o2 }, cancelToken: a2 });
|
|
13170
|
-
},
|
|
13170
|
+
}, ds = function(e3) {
|
|
13171
13171
|
let { contractId: t3, username: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, countryCode: c2, language: u2, email: l2, phone: d2, actionType: p3 } = e3;
|
|
13172
13172
|
const g2 = a2.inCurrentMode.startSigning();
|
|
13173
13173
|
return s2.post({ url: g2, withCredentials: false, data: { doc_id: i2, contract_id: t3, client_id: r3, sign_type: p3, username: n3, email: l2, phone: d2, country: c2, lang: u2 }, cancelToken: o2 });
|
|
13174
|
-
},
|
|
13174
|
+
}, ps = function(e3) {
|
|
13175
13175
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13176
13176
|
return n3.post({ url: r3.inCurrentMode.completeSignatureHalcom(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13177
|
-
},
|
|
13177
|
+
}, gs = function(e3) {
|
|
13178
13178
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13179
|
-
return Nn({ pollInterval: 2e3, fn:
|
|
13180
|
-
},
|
|
13179
|
+
return Nn({ pollInterval: 2e3, fn: ps, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13180
|
+
}, fs = Tn(us, function() {
|
|
13181
13181
|
var e3 = nn(function(e4) {
|
|
13182
13182
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, username: d2, phone: p3, email: g2, countryCode: f2, started: h3, action: y2, redirect: T2 } = e4;
|
|
13183
13183
|
return function* () {
|
|
13184
|
-
const e5 = u(r2.SIGNATURE,
|
|
13184
|
+
const e5 = u(r2.SIGNATURE, us, f2);
|
|
13185
13185
|
if (c2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), "cscApiAuthorizeCredential" === y2) {
|
|
13186
|
-
const e6 = yield sn(
|
|
13186
|
+
const e6 = yield sn(ls)({ country: f2, username: d2, phone: p3, email: g2, cancelToken: o2, apiEndpoints: a2, apiClient: s2 });
|
|
13187
13187
|
return sn(T2, { shouldFormatResult: false })(e6);
|
|
13188
13188
|
}
|
|
13189
|
-
const S3 = yield sn(
|
|
13190
|
-
return h3(S3), sn(
|
|
13189
|
+
const S3 = yield sn(ds)({ clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, username: d2, phone: p3, email: g2, countryCode: f2, contractId: i2, actionType: e5.actionType });
|
|
13190
|
+
return h3(S3), sn(gs)({ data: S3.data, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3 });
|
|
13191
13191
|
}();
|
|
13192
13192
|
});
|
|
13193
13193
|
return function(t3) {
|
|
13194
13194
|
return e3.apply(this, arguments);
|
|
13195
13195
|
};
|
|
13196
|
-
}(), { countryCode: { type: "string", required: true }, username: { type: "string" }, email: { type: "string" }, phone: { type: "string" }, docId: { type: "string", required: true } }),
|
|
13196
|
+
}(), { countryCode: { type: "string", required: true }, username: { type: "string" }, email: { type: "string" }, phone: { type: "string" }, docId: { type: "string", required: true } }), hs = s.swissIdQesSignature, ys = function(e3) {
|
|
13197
13197
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, countryCode: s2, language: c2, email: u2, actionType: l2 } = e3;
|
|
13198
13198
|
const d2 = o2.inCurrentMode.startSigning();
|
|
13199
13199
|
return a2.post({ url: d2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: l2, email: u2, country: s2, lang: c2 }, cancelToken: i2 });
|
|
13200
|
-
},
|
|
13200
|
+
}, Ts = function(e3) {
|
|
13201
13201
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13202
13202
|
return n3.post({ url: r3.inCurrentMode.completeSignatureSwissId(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13203
|
-
},
|
|
13203
|
+
}, Ss = function(e3) {
|
|
13204
13204
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13205
|
-
return Nn({ pollInterval: 2e3, fn:
|
|
13206
|
-
},
|
|
13205
|
+
return Nn({ pollInterval: 2e3, fn: Ts, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13206
|
+
}, Is = Tn(hs, function() {
|
|
13207
13207
|
var e3 = nn(function(e4) {
|
|
13208
13208
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, email: d2, countryCode: p3, started: g2 } = e4;
|
|
13209
13209
|
return function* () {
|
|
13210
|
-
const e5 = u(r2.SIGNATURE,
|
|
13210
|
+
const e5 = u(r2.SIGNATURE, hs, p3);
|
|
13211
13211
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13212
|
-
const f2 = yield sn(
|
|
13213
|
-
return g2(f2), sn(
|
|
13212
|
+
const f2 = yield sn(ys)({ clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, email: d2, countryCode: p3, contractId: i2, actionType: e5.actionType });
|
|
13213
|
+
return g2(f2), sn(Ss)({ data: f2.data, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3 });
|
|
13214
13214
|
}();
|
|
13215
13215
|
});
|
|
13216
13216
|
return function(t3) {
|
|
13217
13217
|
return e3.apply(this, arguments);
|
|
13218
13218
|
};
|
|
13219
|
-
}(), { countryCode: { type: "string", required: true }, email: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13219
|
+
}(), { countryCode: { type: "string", required: true }, email: { type: "string", required: true }, docId: { type: "string", required: true } }), ms = s.swissComQesSignature, Es = function(e3) {
|
|
13220
13220
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, countryCode: s2, language: c2, phone: u2, actionType: l2 } = e3;
|
|
13221
13221
|
const d2 = o2.inCurrentMode.startSigning();
|
|
13222
13222
|
return a2.post({ url: d2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: l2, phone: u2, country: s2, lang: c2 }, cancelToken: i2 });
|
|
13223
|
-
},
|
|
13223
|
+
}, Cs = function(e3) {
|
|
13224
13224
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13225
13225
|
return n3.post({ url: r3.inCurrentMode.completeSignatureSwissCom(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13226
|
-
},
|
|
13226
|
+
}, As = function(e3) {
|
|
13227
13227
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13228
|
-
return Nn({ pollInterval: 2e3, fn:
|
|
13229
|
-
},
|
|
13228
|
+
return Nn({ pollInterval: 2e3, fn: Cs, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13229
|
+
}, vs = Tn(ms, function() {
|
|
13230
13230
|
var e3 = nn(function(e4) {
|
|
13231
13231
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, phone: d2, countryCode: p3, started: g2 } = e4;
|
|
13232
13232
|
return function* () {
|
|
13233
|
-
const e5 = u(r2.SIGNATURE,
|
|
13233
|
+
const e5 = u(r2.SIGNATURE, ms, p3);
|
|
13234
13234
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13235
|
-
const f2 = yield sn(
|
|
13236
|
-
return g2(f2), sn(
|
|
13235
|
+
const f2 = yield sn(Es)({ clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, phone: d2, countryCode: p3, contractId: i2, actionType: e5.actionType });
|
|
13236
|
+
return g2(f2), sn(As)({ data: f2.data, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3 });
|
|
13237
13237
|
}();
|
|
13238
13238
|
});
|
|
13239
13239
|
return function(t3) {
|
|
13240
13240
|
return e3.apply(this, arguments);
|
|
13241
13241
|
};
|
|
13242
|
-
}(), { countryCode: { type: "string", required: true }, phone: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13242
|
+
}(), { countryCode: { type: "string", required: true }, phone: { type: "string", required: true }, docId: { type: "string", required: true } }), bs = bi({ moduleName: s.mitIdAdvancedSignature, createModuleCreator: Tn }), Ns = bi({ moduleName: s.mitIdQesSignature, createModuleCreator: Tn }), _s = bi({ moduleName: s.seBankIdAdvancedSignature, createModuleCreator: Tn }), Rs = bi({ moduleName: s.seBankIdQesSignature, createModuleCreator: Tn }), Os = s.frejaAdvancedSignature, Ms = function(e3) {
|
|
13243
13243
|
let { email: t3, language: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2, countryCode: u2 } = e3;
|
|
13244
13244
|
const l2 = a2.inCurrentMode.startSigning();
|
|
13245
13245
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: c2, lang: n3, country: u2, email: t3 }, cancelToken: o2 });
|
|
13246
|
-
},
|
|
13246
|
+
}, Ds = Tn(Os, function() {
|
|
13247
13247
|
var e3 = nn(function(e4) {
|
|
13248
13248
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, email: c2, countryCode: l2, language: d2, redirect: p3 } = e4;
|
|
13249
13249
|
return function* () {
|
|
13250
|
-
const e5 = u(r2.SIGNATURE,
|
|
13250
|
+
const e5 = u(r2.SIGNATURE, Os, l2);
|
|
13251
13251
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13252
|
-
const g2 = yield sn(
|
|
13252
|
+
const g2 = yield sn(Ms)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, email: c2, language: d2, actionType: e5.actionType, countryCode: l2 });
|
|
13253
13253
|
return sn(p3, { shouldFormatResult: false })(g2);
|
|
13254
13254
|
}();
|
|
13255
13255
|
});
|
|
13256
13256
|
return function(t3) {
|
|
13257
13257
|
return e3.apply(this, arguments);
|
|
13258
13258
|
};
|
|
13259
|
-
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13259
|
+
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }), Us = s.frejaQesSignature, ws = function(e3) {
|
|
13260
13260
|
let { email: t3, language: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2, countryCode: u2 } = e3;
|
|
13261
13261
|
const l2 = a2.inCurrentMode.startSigning();
|
|
13262
13262
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: c2, lang: n3, country: u2, email: t3 }, cancelToken: o2 });
|
|
13263
|
-
},
|
|
13263
|
+
}, ks = Tn(Us, function() {
|
|
13264
13264
|
var e3 = nn(function(e4) {
|
|
13265
13265
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, email: c2, countryCode: l2, language: d2, redirect: p3 } = e4;
|
|
13266
13266
|
return function* () {
|
|
13267
|
-
const e5 = u(r2.SIGNATURE,
|
|
13267
|
+
const e5 = u(r2.SIGNATURE, Us, l2);
|
|
13268
13268
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13269
|
-
const g2 = yield sn(
|
|
13269
|
+
const g2 = yield sn(ws)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, email: c2, language: d2, actionType: e5.actionType, countryCode: l2 });
|
|
13270
13270
|
return sn(p3, { shouldFormatResult: false })(g2);
|
|
13271
13271
|
}();
|
|
13272
13272
|
});
|
|
13273
13273
|
return function(t3) {
|
|
13274
13274
|
return e3.apply(this, arguments);
|
|
13275
13275
|
};
|
|
13276
|
-
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13276
|
+
}(), { email: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }), Gs = bi({ moduleName: s.gbOneIdAdvancedSignature, createModuleCreator: Tn }), Ls = s.handwrittenSignature, Bs = function(e3) {
|
|
13277
13277
|
let { apiClient: t3, apiEndpoints: n3, language: r3, cancelToken: i2, docId: o2, clientId: a2, emailToken: s2, smsToken: c2, handwrittenSignatureData: u2, handwrittenSignatureDataUrl: l2 } = e3;
|
|
13278
13278
|
return t3.post({ url: n3.inCurrentMode.completeHandwritten(), withCredentials: false, data: { doc_id: o2, timeout: 2, lang: r3, client_id: a2, email_token: s2, sms_token: c2, handwritten_signature_data: u2, handwritten_signature_data_url: l2 }, cancelToken: i2 });
|
|
13279
|
-
},
|
|
13279
|
+
}, Ps = Tn(Ls, function() {
|
|
13280
13280
|
var e3 = nn(function(e4) {
|
|
13281
13281
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, language: c2, countryCode: l2, emailToken: d2, smsToken: p3, handwrittenSignatureData: g2, handwrittenSignatureDataUrl: f2 } = e4;
|
|
13282
13282
|
return function* () {
|
|
13283
|
-
const e5 = u(r2.SIGNATURE,
|
|
13284
|
-
return console.log(e5), s2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), sn(
|
|
13283
|
+
const e5 = u(r2.SIGNATURE, Ls, l2);
|
|
13284
|
+
return console.log(e5), s2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), sn(Bs)({ apiClient: a2, apiEndpoints: o2, language: c2, cancelToken: i2, docId: n3, clientId: t3, emailToken: d2, smsToken: p3, handwrittenSignatureData: g2, handwrittenSignatureDataUrl: f2 });
|
|
13285
13285
|
}();
|
|
13286
13286
|
});
|
|
13287
13287
|
return function(t3) {
|
|
13288
13288
|
return e3.apply(this, arguments);
|
|
13289
13289
|
};
|
|
13290
|
-
}(), { docId: { type: "string", required: true } }),
|
|
13290
|
+
}(), { docId: { type: "string", required: true } }), js = s.haricaQesSignature, Fs = function(e3) {
|
|
13291
13291
|
let { clientId: t3, docId: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, actionType: a2 } = e3;
|
|
13292
13292
|
const s2 = i2.inCurrentMode.startSigning();
|
|
13293
13293
|
return o2.post({ url: s2, withCredentials: false, data: { doc_id: n3, client_id: t3, sign_type: a2 }, cancelToken: r3 });
|
|
13294
|
-
},
|
|
13294
|
+
}, xs = function(e3) {
|
|
13295
13295
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, username: c2, password: u2, otpCode: l2 } = e3;
|
|
13296
13296
|
return n3.post({ url: r3.inCurrentMode.completeSignatureHaricaQes(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2, otp_code: l2, username: c2, password: u2 }, cancelToken: o2 });
|
|
13297
|
-
},
|
|
13297
|
+
}, Vs = function(e3) {
|
|
13298
13298
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, username: c2, password: u2, otpCode: l2 } = e3;
|
|
13299
|
-
return Nn({ pollInterval: 2e3, fn:
|
|
13300
|
-
},
|
|
13299
|
+
return Nn({ pollInterval: 2e3, fn: xs, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, username: c2, password: u2, otpCode: l2 }] }).start();
|
|
13300
|
+
}, Ks = Tn(js, function() {
|
|
13301
13301
|
var e3 = nn(function(e4) {
|
|
13302
13302
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, language: c2, username: l2, password: d2, otpCode: p3, countryCode: g2, started: f2 } = e4;
|
|
13303
13303
|
return function* () {
|
|
13304
|
-
const e5 = u(r2.SIGNATURE,
|
|
13304
|
+
const e5 = u(r2.SIGNATURE, js, g2);
|
|
13305
13305
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13306
|
-
const h3 = yield sn(
|
|
13307
|
-
return f2(h3), sn(
|
|
13306
|
+
const h3 = yield sn(Fs)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, actionType: e5.actionType });
|
|
13307
|
+
return f2(h3), sn(Vs)({ data: h3.data, apiClient: a2, apiEndpoints: o2, language: c2, cancelToken: i2, docId: n3, clientId: t3, username: l2, password: d2, otpCode: p3 });
|
|
13308
13308
|
}();
|
|
13309
13309
|
});
|
|
13310
13310
|
return function(t3) {
|
|
13311
13311
|
return e3.apply(this, arguments);
|
|
13312
13312
|
};
|
|
13313
|
-
}(), { countryCode: { type: "string", required: true }, username: { type: "string", required: true }, password: { type: "string", required: true }, otpCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13313
|
+
}(), { countryCode: { type: "string", required: true }, username: { type: "string", required: true }, password: { type: "string", required: true }, otpCode: { type: "string", required: true }, docId: { type: "string", required: true } }), Hs = bi({ moduleName: s.veriffAdvancedSignature, createModuleCreator: Tn }), qs = s.ltIdQesSignature, Qs = function(e3) {
|
|
13314
13314
|
let { idcode: t3, language: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2, countryCode: u2 } = e3;
|
|
13315
13315
|
const l2 = a2.inCurrentMode.startSigning();
|
|
13316
13316
|
return s2.post({ url: l2, withCredentials: false, data: { doc_id: i2, client_id: r3, sign_type: c2, lang: n3, country: u2, idcode: t3 }, cancelToken: o2 });
|
|
13317
|
-
},
|
|
13317
|
+
}, Zs = function(e3) {
|
|
13318
13318
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13319
13319
|
return n3.post({ url: r3.inCurrentMode.completeSignatureLtIdQes(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13320
|
-
},
|
|
13320
|
+
}, Ws = function(e3) {
|
|
13321
13321
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13322
|
-
return Nn({ pollInterval: 2e3, fn:
|
|
13323
|
-
},
|
|
13322
|
+
return Nn({ pollInterval: 2e3, fn: Zs, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13323
|
+
}, Js = Tn(qs, function() {
|
|
13324
13324
|
var e3 = nn(function(e4) {
|
|
13325
13325
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, idcode: s2, countryCode: c2, language: l2, started: d2 } = e4;
|
|
13326
13326
|
return function* () {
|
|
13327
|
-
const e5 = u(r2.SIGNATURE,
|
|
13328
|
-
return d2(p3), sn(
|
|
13327
|
+
const e5 = u(r2.SIGNATURE, qs, c2), p3 = yield sn(Qs)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, idcode: s2, language: l2, actionType: e5.actionType, countryCode: c2 });
|
|
13328
|
+
return d2(p3), sn(Ws)({ data: p3.data, apiClient: a2, apiEndpoints: o2, language: l2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13329
13329
|
}();
|
|
13330
13330
|
});
|
|
13331
13331
|
return function(t3) {
|
|
13332
13332
|
return e3.apply(this, arguments);
|
|
13333
13333
|
};
|
|
13334
|
-
}(), { idcode: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13334
|
+
}(), { idcode: { type: "string", required: true }, countryCode: { type: "string", required: true }, docId: { type: "string", required: true } }), Ys = Xr({ moduleName: s.certStoreQesSignature, createModuleCreator: Tn }), zs = Xr({ moduleName: s.certStoreAdvancedSignature, createModuleCreator: Tn }), Xs = Xr({ moduleName: s.certStoreAdvancedUnverifiedSignature, createModuleCreator: Tn }), $s = bi({ moduleName: s.buypassQesSignature, createModuleCreator: Tn }), ec = bi({ moduleName: s.intesiFtnAdvSignature, createModuleCreator: Tn }), tc = bi({ moduleName: s.trustAsiaSignature, createModuleCreator: Tn }), nc = bi({ moduleName: s.mscTrustGateSignature, createModuleCreator: Tn }), rc = bi({ moduleName: s.gseAdvSignature, createModuleCreator: Tn }), ic = bi({ moduleName: s.certMeQesSignature, createModuleCreator: Tn }), oc = s.esLleidaAdvSignature, ac = function(e3) {
|
|
13335
13335
|
let { certificate: t3, country: n3, pin: r3, username: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2 } = e3;
|
|
13336
13336
|
const c2 = a2.inCurrentMode.cscApiAuthorizeCredential();
|
|
13337
13337
|
return s2.post({ url: c2, withCredentials: false, data: { sign_type: "es-lleida-advanced-signature", certificate: t3, country: n3, pin: r3, username: i2 }, cancelToken: o2 });
|
|
13338
|
-
},
|
|
13338
|
+
}, sc = function(e3) {
|
|
13339
13339
|
let { username: t3, pin: n3, language: r3, clientId: i2, docId: o2, cancelToken: a2, apiEndpoints: s2, apiClient: c2, actionType: u2 } = e3;
|
|
13340
13340
|
const l2 = s2.inCurrentMode.startSigning();
|
|
13341
13341
|
return c2.post({ url: l2, withCredentials: false, data: { doc_id: o2, client_id: i2, sign_type: u2, lang: r3, username: t3, pin: n3 }, cancelToken: a2 });
|
|
13342
|
-
},
|
|
13342
|
+
}, cc = function(e3) {
|
|
13343
13343
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13344
13344
|
return n3.post({ url: r3.inCurrentMode.completeSignatureEsLleida(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13345
|
-
},
|
|
13345
|
+
}, uc = function(e3) {
|
|
13346
13346
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13347
|
-
return Nn({ pollInterval: 2e3, fn:
|
|
13348
|
-
},
|
|
13347
|
+
return Nn({ pollInterval: 2e3, fn: cc, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13348
|
+
}, lc = Tn(oc, function() {
|
|
13349
13349
|
var e3 = nn(function(e4) {
|
|
13350
13350
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, username: c2, pin: l2, countryCode: d2, language: p3, started: g2, action: f2, redirect: h3 } = e4;
|
|
13351
13351
|
return function* () {
|
|
13352
|
-
const e5 = u(r2.SIGNATURE,
|
|
13352
|
+
const e5 = u(r2.SIGNATURE, oc, d2);
|
|
13353
13353
|
if (s2.dispatch({ message: "".concat(e5.actionType, ": signing started") }), "cscApiAuthorizeCredential" === f2) {
|
|
13354
|
-
const e6 = yield sn(
|
|
13354
|
+
const e6 = yield sn(ac)({ country: d2, username: c2, pin: l2, cancelToken: i2, apiEndpoints: o2, apiClient: a2 });
|
|
13355
13355
|
return sn(h3, { shouldFormatResult: false })(e6);
|
|
13356
13356
|
}
|
|
13357
|
-
const y2 = yield sn(
|
|
13358
|
-
return g2(y2), sn(
|
|
13357
|
+
const y2 = yield sn(sc)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: p3, username: c2, pin: l2, countryCode: d2, actionType: e5.actionType });
|
|
13358
|
+
return g2(y2), sn(uc)({ data: y2.data, apiClient: a2, apiEndpoints: o2, language: p3, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13359
13359
|
}();
|
|
13360
13360
|
});
|
|
13361
13361
|
return function(t3) {
|
|
13362
13362
|
return e3.apply(this, arguments);
|
|
13363
13363
|
};
|
|
13364
|
-
}(), { username: { type: "string", required: true }, pin: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13364
|
+
}(), { username: { type: "string", required: true }, pin: { type: "string", required: true }, docId: { type: "string", required: true } }), dc = bi({ moduleName: s.seBankIdAdvancedHashSignature, createModuleCreator: Tn }), pc = bi({ moduleName: s.dkMitIdAdvancedHashSignature, createModuleCreator: Tn }), gc = bi({ moduleName: s.noBankIdAdvancedHashSignature, createModuleCreator: Tn }), fc = bi({ moduleName: s.itSpidQualifiedHashSignature, createModuleCreator: Tn }), hc = bi({ moduleName: s.adacomQesSignature, createModuleCreator: Tn }), yc = bi({ moduleName: s.adacomOneShotQesSignature, createModuleCreator: Tn }), Tc = s.diiaQesSignature, Sc = function(e3) {
|
|
13365
13365
|
let { clientId: t3, docId: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, countryCode: a2, language: s2, actionType: c2 } = e3;
|
|
13366
13366
|
const u2 = i2.inCurrentMode.startSigning();
|
|
13367
13367
|
return o2.post({ url: u2, withCredentials: false, data: { doc_id: n3, client_id: t3, sign_type: c2, country: a2, lang: s2 }, cancelToken: r3 });
|
|
13368
|
-
},
|
|
13368
|
+
}, Ic = function(e3) {
|
|
13369
13369
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13370
13370
|
return n3.post({ url: r3.inCurrentMode.completeSignatureDiiaQes(), withCredentials: false, data: { token: t3.token, doc_id: a2, lang: i2, client_id: s2 }, cancelToken: o2 });
|
|
13371
|
-
},
|
|
13371
|
+
}, mc = function(e3) {
|
|
13372
13372
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 } = e3;
|
|
13373
|
-
return Nn({ pollInterval: 2e3, fn:
|
|
13374
|
-
},
|
|
13373
|
+
return Nn({ pollInterval: 2e3, fn: Ic, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2 }] }).start();
|
|
13374
|
+
}, Ec = Tn(Tc, function() {
|
|
13375
13375
|
var e3 = nn(function(e4) {
|
|
13376
13376
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, started: p3 } = e4;
|
|
13377
13377
|
return function* () {
|
|
13378
|
-
const e5 = u(r2.SIGNATURE,
|
|
13378
|
+
const e5 = u(r2.SIGNATURE, Tc, d2);
|
|
13379
13379
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13380
|
-
const g2 = yield sn(
|
|
13381
|
-
return p3(g2), sn(
|
|
13380
|
+
const g2 = yield sn(Sc)({ clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, countryCode: d2, contractId: i2, actionType: e5.actionType });
|
|
13381
|
+
return p3(g2), sn(mc)({ data: g2.data, apiClient: s2, apiEndpoints: a2, language: l2, cancelToken: o2, docId: n3, clientId: t3 });
|
|
13382
13382
|
}();
|
|
13383
13383
|
});
|
|
13384
13384
|
return function(t3) {
|
|
13385
13385
|
return e3.apply(this, arguments);
|
|
13386
13386
|
};
|
|
13387
|
-
}()),
|
|
13387
|
+
}()), Cc = bi({ moduleName: s.emudhraQesSignature, createModuleCreator: Tn }), Ac = bi({ moduleName: s.mxPscWorldAdvancedSignature, createModuleCreator: Tn }), vc = bi({ moduleName: s.transSpedQesSignature, createModuleCreator: Tn }), bc = bi({ moduleName: s.vidaAdvancedSignature, createModuleCreator: Tn }), Nc = Xr({ moduleName: s.vnBkavTokenSignature, createModuleCreator: Tn }), _c = Xr({ moduleName: s.vnCa2TokenSignature, createModuleCreator: Tn }), Rc = Xr({ moduleName: s.vnFastTokenSignature, createModuleCreator: Tn }), Oc = Xr({ moduleName: s.vnFptTokenSignature, createModuleCreator: Tn }), Mc = Xr({ moduleName: s.vnSmartTokenSignature, createModuleCreator: Tn }), Dc = Xr({ moduleName: s.vnViettelTokenSignature, createModuleCreator: Tn }), Uc = Xr({ moduleName: s.vnVnptTokenSignature, createModuleCreator: Tn }), wc = s.digilogixQesSignature, kc = function(e3) {
|
|
13388
13388
|
let { contractId: t3, clientId: n3, docId: r3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, language: s2, actionType: c2, idcode: u2 } = e3;
|
|
13389
13389
|
const l2 = o2.inCurrentMode.startSigning();
|
|
13390
13390
|
return a2.post({ url: l2, withCredentials: false, data: { doc_id: r3, contract_id: t3, client_id: n3, sign_type: c2, lang: s2, idcode: u2 }, cancelToken: i2 });
|
|
13391
|
-
},
|
|
13391
|
+
}, Gc = Tn(wc, function() {
|
|
13392
13392
|
var e3 = nn(function(e4) {
|
|
13393
13393
|
let { clientId: t3, docId: n3, contractId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, monitoringService: c2, language: l2, countryCode: d2, idcode: p3, redirect: g2 } = e4;
|
|
13394
13394
|
return function* () {
|
|
13395
|
-
const e5 = u(r2.SIGNATURE,
|
|
13395
|
+
const e5 = u(r2.SIGNATURE, wc, d2);
|
|
13396
13396
|
c2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13397
|
-
const f2 = yield sn(
|
|
13397
|
+
const f2 = yield sn(kc)({ contractId: i2, clientId: t3, docId: n3, cancelToken: o2, apiEndpoints: a2, apiClient: s2, language: l2, idcode: p3, actionType: e5.actionType });
|
|
13398
13398
|
return sn(g2, { shouldFormatResult: false })(f2);
|
|
13399
13399
|
}();
|
|
13400
13400
|
});
|
|
13401
13401
|
return function(t3) {
|
|
13402
13402
|
return e3.apply(this, arguments);
|
|
13403
13403
|
};
|
|
13404
|
-
}(), { idcode: { type: "string", required: true } }),
|
|
13404
|
+
}(), { idcode: { type: "string", required: true } }), Lc = bi({ moduleName: s.buypassAdvancedSignature, createModuleCreator: Tn }), Bc = bi({ moduleName: s.igniSignAdvancedSignature, createModuleCreator: Tn }), Pc = s.bTrustQesSignature, jc = function(e3) {
|
|
13405
13405
|
let { clientId: t3, docId: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, profileId: a2, actionType: s2 } = e3;
|
|
13406
13406
|
const c2 = i2.inCurrentMode.startSigning();
|
|
13407
13407
|
return o2.post({ url: c2, withCredentials: false, data: { doc_id: n3, client_id: t3, sign_type: s2, profile_id: a2 }, cancelToken: r3 });
|
|
13408
|
-
},
|
|
13408
|
+
}, Fc = function(e3) {
|
|
13409
13409
|
let { data: t3, apiClient: n3, apiEndpoints: r3, cancelToken: i2, docId: o2, clientId: a2 } = e3;
|
|
13410
13410
|
return n3.post({ url: r3.inCurrentMode.completeSignatureBTrustQes(), withCredentials: false, data: { token: t3.token, doc_id: o2, client_id: a2 }, cancelToken: i2 });
|
|
13411
|
-
},
|
|
13411
|
+
}, xc = function(e3) {
|
|
13412
13412
|
let { data: t3, apiClient: n3, apiEndpoints: r3, cancelToken: i2, docId: o2, clientId: a2 } = e3;
|
|
13413
|
-
return Nn({ pollInterval: 2e3, fn:
|
|
13414
|
-
},
|
|
13413
|
+
return Nn({ pollInterval: 2e3, fn: Fc, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, cancelToken: i2, docId: o2, clientId: a2 }] }).start();
|
|
13414
|
+
}, Vc = Tn(Pc, function() {
|
|
13415
13415
|
var e3 = nn(function(e4) {
|
|
13416
13416
|
let { clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, monitoringService: s2, countryCode: c2, profileId: l2, started: d2 } = e4;
|
|
13417
13417
|
return function* () {
|
|
13418
|
-
const e5 = u(r2.SIGNATURE,
|
|
13418
|
+
const e5 = u(r2.SIGNATURE, Pc, c2);
|
|
13419
13419
|
s2.dispatch({ message: "".concat(e5.actionType, ": signing started") });
|
|
13420
|
-
const p3 = yield sn(
|
|
13421
|
-
return d2(p3), sn(
|
|
13420
|
+
const p3 = yield sn(jc)({ clientId: t3, docId: n3, cancelToken: i2, apiEndpoints: o2, apiClient: a2, profileId: l2, actionType: e5.actionType });
|
|
13421
|
+
return d2(p3), sn(xc)({ data: p3.data, apiClient: a2, apiEndpoints: o2, cancelToken: i2, docId: n3, clientId: t3 });
|
|
13422
13422
|
}();
|
|
13423
13423
|
});
|
|
13424
13424
|
return function(t3) {
|
|
13425
13425
|
return e3.apply(this, arguments);
|
|
13426
13426
|
};
|
|
13427
|
-
}(), { profileId: { type: "string", required: true }, docId: { type: "string", required: true } }),
|
|
13427
|
+
}(), { profileId: { type: "string", required: true }, docId: { type: "string", required: true } }), Kc = function(e3) {
|
|
13428
13428
|
let { countryCode: t3, clientId: n3, docId: i2, apiEndpoints: o2 } = e3;
|
|
13429
13429
|
const a2 = u(r2.SIGNATURE, s.esAutofirmaSignature, t3);
|
|
13430
13430
|
return o2.inCurrentMode.integrationIframe({ clientId: n3, docId: i2, actionType: a2.actionType });
|
|
13431
|
-
},
|
|
13431
|
+
}, Hc = function(e3, t3) {
|
|
13432
13432
|
if (e3 instanceof Error) throw e3;
|
|
13433
13433
|
let n3;
|
|
13434
|
-
throw "no_certificates" === e3.result && (n3 = t3.t("no_certificates")), new
|
|
13435
|
-
},
|
|
13434
|
+
throw "no_certificates" === e3.result && (n3 = t3.t("no_certificates")), new Yr({ userMessage: n3, message: e3.message, details: e3 });
|
|
13435
|
+
}, qc = function() {
|
|
13436
13436
|
var e3 = nn(function(e4) {
|
|
13437
13437
|
let { iframeHolder: t3, iframeUrl: n3, monitor: r3, iframeMessenger: i2, cancelToken: o2 } = e4;
|
|
13438
13438
|
return function* () {
|
|
@@ -13450,7 +13450,7 @@ function requireEideasyBrowserClient() {
|
|
|
13450
13450
|
return function(t3) {
|
|
13451
13451
|
return e3.apply(this, arguments);
|
|
13452
13452
|
};
|
|
13453
|
-
}(),
|
|
13453
|
+
}(), Qc = function() {
|
|
13454
13454
|
var e3 = nn(function(e4) {
|
|
13455
13455
|
let { iframeMessenger: t3, iframe: n3, country: r3, cancelToken: i2 } = e4;
|
|
13456
13456
|
return function* () {
|
|
@@ -13460,25 +13460,25 @@ function requireEideasyBrowserClient() {
|
|
|
13460
13460
|
return function(t3) {
|
|
13461
13461
|
return e3.apply(this, arguments);
|
|
13462
13462
|
};
|
|
13463
|
-
}(),
|
|
13463
|
+
}(), Zc = function(e3) {
|
|
13464
13464
|
let { certificate: t3, clientId: n3, docId: r3, countryCode: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, actionType: c2 } = e3;
|
|
13465
13465
|
const u2 = a2.inCurrentMode.startSigning();
|
|
13466
13466
|
return s2.post({ url: u2, withCredentials: false, data: { client_id: n3, doc_id: r3, sign_type: c2, certificate: t3, base64_certificate: t3, country: i2 }, cancelToken: o2 });
|
|
13467
|
-
},
|
|
13467
|
+
}, Wc = function(e3) {
|
|
13468
13468
|
let { iframeMessenger: t3, iframe: n3, certificate: r3, fileContent: i2, country: o2, cancelToken: a2 } = e3;
|
|
13469
13469
|
return t3.send({ iframe: n3, message: { operation: "getSignature", certificate: r3, fileContent: i2, country: o2 }, cancelToken: a2 });
|
|
13470
|
-
},
|
|
13470
|
+
}, Jc = function(e3) {
|
|
13471
13471
|
let { signatures: t3, certificate: n3, clientId: r3, docId: i2, cancelToken: o2, apiEndpoints: a2, apiClient: s2, driver: c2, actionType: u2 } = e3;
|
|
13472
13472
|
const l2 = a2.inCurrentMode.completeSignatureIdCard({ actionType: u2 });
|
|
13473
13473
|
return s2.post({ url: l2, withCredentials: false, data: { client_id: r3, doc_id: i2, signature_value: t3[0], certificate: n3, driver: c2 }, cancelToken: o2 });
|
|
13474
|
-
},
|
|
13474
|
+
}, Yc = function(e3) {
|
|
13475
13475
|
let { certificate: t3, country: n3, cancelToken: r3, apiEndpoints: i2, apiClient: o2, actionType: a2 } = e3;
|
|
13476
13476
|
const s2 = i2.inCurrentMode.cscApiAuthorizeCredential();
|
|
13477
13477
|
return o2.post({ url: s2, withCredentials: false, data: { sign_type: a2, certificate: t3, country: n3 }, cancelToken: r3 });
|
|
13478
|
-
},
|
|
13478
|
+
}, zc = function(e3) {
|
|
13479
13479
|
let { data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, signatures: c2, certificate: u2, actionType: l2 } = e3;
|
|
13480
|
-
return Nn({ pollInterval: 2e3, maxPollDuration: 36e4, fn:
|
|
13481
|
-
},
|
|
13480
|
+
return Nn({ pollInterval: 2e3, maxPollDuration: 36e4, fn: Jc, fnArgs: [{ data: t3, apiClient: n3, apiEndpoints: r3, language: i2, cancelToken: o2, docId: a2, clientId: s2, signatures: c2, certificate: u2, actionType: l2 }] }).start();
|
|
13481
|
+
}, Xc = function() {
|
|
13482
13482
|
var e3 = nn(function(e4) {
|
|
13483
13483
|
let { countryCode: t3, clientId: n3, apiEndpoints: i2, iframeHolder: o2, i18n: a2, iframeMessenger: c2, docId: l2, cancelToken: d2, apiClient: p3, monitoringService: g2, action: f2, redirect: h3, signingCertificate: y2 } = e4;
|
|
13484
13484
|
return function* () {
|
|
@@ -13490,27 +13490,27 @@ function requireEideasyBrowserClient() {
|
|
|
13490
13490
|
const i3 = JSON.stringify(gn(r3));
|
|
13491
13491
|
t4.dispatch({ message: "".concat(n4, ": ").concat(e7, ", reason: ").concat(i3) });
|
|
13492
13492
|
} });
|
|
13493
|
-
}({ monitoringService: g2, moduleName: s.esAutofirmaSignature }), T2 = u(r2.SIGNATURE, s.esAutofirmaSignature, t3), S3 = yield sn(
|
|
13494
|
-
return
|
|
13493
|
+
}({ monitoringService: g2, moduleName: s.esAutofirmaSignature }), T2 = u(r2.SIGNATURE, s.esAutofirmaSignature, t3), S3 = yield sn(Kc, { shouldFormatResult: false })({ countryCode: t3, clientId: n3, docId: l2, apiEndpoints: i2 }), I2 = yield sn(qc, { shouldFormatResult: false })({ iframeUrl: S3, iframeHolder: o2, i18n: a2, monitor: e5, iframeMessenger: c2, cancelToken: d2 }).catch(function(e6) {
|
|
13494
|
+
return Hc(e6, a2);
|
|
13495
13495
|
});
|
|
13496
13496
|
let m2 = y2;
|
|
13497
|
-
if (m2 || (m2 = (yield sn(
|
|
13498
|
-
return
|
|
13497
|
+
if (m2 || (m2 = (yield sn(Qc)({ iframeMessenger: c2, iframe: I2, country: t3, monitor: e5, cancelToken: d2 }).catch(function(e6) {
|
|
13498
|
+
return Hc(e6, a2);
|
|
13499
13499
|
})).data.certificate), "cscApiAuthorizeCredential" === f2) {
|
|
13500
|
-
const e6 = yield sn(
|
|
13500
|
+
const e6 = yield sn(Yc)({ certificate: m2, actionType: T2.actionType, country: t3, cancelToken: d2, apiEndpoints: i2, apiClient: p3 });
|
|
13501
13501
|
return sn(h3, { shouldFormatResult: false })(e6);
|
|
13502
13502
|
}
|
|
13503
|
-
const E2 = yield sn(
|
|
13504
|
-
return
|
|
13503
|
+
const E2 = yield sn(Zc)({ certificate: m2, clientId: n3, docId: l2, countryCode: t3, cancelToken: d2, apiEndpoints: i2, apiClient: p3, monitor: e5, actionType: T2.actionType }), C2 = yield sn(Wc, { shouldFormatResult: false })({ iframeMessenger: c2, iframe: I2, certificate: m2, fileContent: E2.data.fileContent || void 0, country: t3, cancelToken: d2 }).catch(function(e6) {
|
|
13504
|
+
return Hc(e6, a2);
|
|
13505
13505
|
});
|
|
13506
|
-
return sn(
|
|
13506
|
+
return sn(zc)({ signatures: C2.signatures, certificate: m2, clientId: n3, docId: l2, cancelToken: d2, apiEndpoints: i2, apiClient: p3, actionType: T2.actionType });
|
|
13507
13507
|
}();
|
|
13508
13508
|
});
|
|
13509
13509
|
return function(t3) {
|
|
13510
13510
|
return e3.apply(this, arguments);
|
|
13511
13511
|
};
|
|
13512
|
-
}(),
|
|
13513
|
-
function
|
|
13512
|
+
}(), $c = Tn(s.esAutofirmaSignature, Xc, { iframeHolder: { type: "object" }, docId: { type: "string", required: true }, signingCertificate: { type: "string", required: false } }), eu = Xr({ moduleName: s.localAdvUnverifiedSignature, createModuleCreator: Tn }), tu = Object.freeze({ sandbox: "sandbox", production: "production" });
|
|
13513
|
+
function nu(e3, t3) {
|
|
13514
13514
|
var n3 = Object.keys(e3);
|
|
13515
13515
|
if (Object.getOwnPropertySymbols) {
|
|
13516
13516
|
var r3 = Object.getOwnPropertySymbols(e3);
|
|
@@ -13520,42 +13520,42 @@ function requireEideasyBrowserClient() {
|
|
|
13520
13520
|
}
|
|
13521
13521
|
return n3;
|
|
13522
13522
|
}
|
|
13523
|
-
function
|
|
13523
|
+
function ru2(e3) {
|
|
13524
13524
|
for (var t3 = 1; t3 < arguments.length; t3++) {
|
|
13525
13525
|
var r3 = null != arguments[t3] ? arguments[t3] : {};
|
|
13526
|
-
t3 % 2 ?
|
|
13526
|
+
t3 % 2 ? nu(Object(r3), true).forEach(function(t4) {
|
|
13527
13527
|
n2(e3, t4, r3[t4]);
|
|
13528
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) :
|
|
13528
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r3)) : nu(Object(r3)).forEach(function(t4) {
|
|
13529
13529
|
Object.defineProperty(e3, t4, Object.getOwnPropertyDescriptor(r3, t4));
|
|
13530
13530
|
});
|
|
13531
13531
|
}
|
|
13532
13532
|
return e3;
|
|
13533
13533
|
}
|
|
13534
|
-
const
|
|
13534
|
+
const iu = function(e3, t3, n3) {
|
|
13535
13535
|
const r3 = {};
|
|
13536
13536
|
return Object.keys(e3).forEach(function(i2) {
|
|
13537
13537
|
r3[i2] = /* @__PURE__ */ function(e4, t4, n4) {
|
|
13538
13538
|
return function(r4) {
|
|
13539
|
-
const i3 =
|
|
13539
|
+
const i3 = ru2(ru2({}, t4), r4);
|
|
13540
13540
|
return n4 ? n4(e4(i3)) : e4(i3);
|
|
13541
13541
|
};
|
|
13542
13542
|
}(e3[i2], t3, n3);
|
|
13543
13543
|
}), r3;
|
|
13544
|
-
},
|
|
13544
|
+
}, ou = function(e3) {
|
|
13545
13545
|
let { method: t3, baseUrl: n3, clientId: r3, redirectUri: i2, state: o2, language: a2, country: s2 } = e3, c2 = "".concat(n3, "/oauth/start/").concat(t3, "?client_id=").concat(r3, "&redirect_uri=").concat(i2, "&response_type=code");
|
|
13546
13546
|
return a2 && (c2 += "&lang=".concat(a2)), o2 && (c2 += "&state=".concat(o2)), s2 && (c2 += "&country=".concat(s2)), c2;
|
|
13547
|
-
},
|
|
13547
|
+
}, au = s.eParakstsSmartCard, su = function(e3) {
|
|
13548
13548
|
let { apiEndpoints: t3, clientId: n3, redirectUri: r3 } = e3;
|
|
13549
13549
|
return { data: { redirect_uri: t3.inCurrentMode.eParakstsSmartCard({ clientId: n3, redirectUri: r3 }) } };
|
|
13550
|
-
},
|
|
13550
|
+
}, cu = Tn(au, function() {
|
|
13551
13551
|
var e3 = nn(function* (e4) {
|
|
13552
|
-
const { redirect: t3, apiEndpoints: n3, clientId: r3, redirectUri: i2 } = e4, o2 = yield sn(
|
|
13552
|
+
const { redirect: t3, apiEndpoints: n3, clientId: r3, redirectUri: i2 } = e4, o2 = yield sn(su)({ apiEndpoints: n3, clientId: r3, redirectUri: i2 });
|
|
13553
13553
|
return sn(t3, { shouldFormatResult: false })(o2);
|
|
13554
13554
|
});
|
|
13555
13555
|
return function(t3) {
|
|
13556
13556
|
return e3.apply(this, arguments);
|
|
13557
13557
|
};
|
|
13558
|
-
}()),
|
|
13558
|
+
}()), uu = bi({ moduleName: s.itsmeQesSignature, createModuleCreator: Tn }), lu = bi({ moduleName: s.frIdentAdvancedSignature, createModuleCreator: Tn }), du = function() {
|
|
13559
13559
|
const e3 = Ft({ rawSettings: arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, schema: Vt }), t3 = function() {
|
|
13560
13560
|
let { currentLanguage: e4 = "en", locales: t4 = en2 } = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
13561
13561
|
const n4 = { currentLanguage: e4 };
|
|
@@ -13571,7 +13571,7 @@ function requireEideasyBrowserClient() {
|
|
|
13571
13571
|
} });
|
|
13572
13572
|
}({ currentLanguage: "en" }), n3 = function() {
|
|
13573
13573
|
let e4 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t4 = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
13574
|
-
const n4 =
|
|
13574
|
+
const n4 = ru2({ base: function(e5) {
|
|
13575
13575
|
let { baseUrl: t5 } = e5;
|
|
13576
13576
|
return t5;
|
|
13577
13577
|
}, oidcStart: function(e5) {
|
|
@@ -13588,76 +13588,79 @@ function requireEideasyBrowserClient() {
|
|
|
13588
13588
|
return "".concat(t5, "/api/identity/").concat(n5, "/zealid/get_iframe_url");
|
|
13589
13589
|
}, eParakstsMobile: function(e5) {
|
|
13590
13590
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13591
|
-
return
|
|
13591
|
+
return ou({ method: "lv-eparaksts-mobile-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13592
13592
|
}, eParakstsSmartCard: function(e5) {
|
|
13593
13593
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13594
|
-
return
|
|
13594
|
+
return ou({ method: "lv-eparaksts-id-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13595
13595
|
}, mojeId: function(e5) {
|
|
13596
13596
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13597
|
-
return
|
|
13597
|
+
return ou({ method: "mojeid", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13598
13598
|
}, edoAppEid: function(e5) {
|
|
13599
13599
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13600
|
-
return
|
|
13600
|
+
return ou({ method: "edoapp-eid-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13601
13601
|
}, itsme: function(e5) {
|
|
13602
13602
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13603
|
-
return
|
|
13603
|
+
return ou({ method: "itsme-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13604
13604
|
}, itsmeBasic: function(e5) {
|
|
13605
13605
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13606
|
-
return
|
|
13606
|
+
return ou({ method: "itsme-login-basic", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13607
13607
|
}, itsmeStandard: function(e5) {
|
|
13608
13608
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13609
|
-
return
|
|
13609
|
+
return ou({ method: "itsme-login-standard", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13610
13610
|
}, seBankId: function(e5) {
|
|
13611
13611
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13612
|
-
return
|
|
13612
|
+
return ou({ method: "swedish-bankid-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13613
13613
|
}, finnishTrustNetwork: function(e5) {
|
|
13614
13614
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13615
|
-
return
|
|
13615
|
+
return ou({ method: "finnish-ftn-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13616
13616
|
}, idin: function(e5) {
|
|
13617
13617
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13618
|
-
return
|
|
13618
|
+
return ou({ method: "idin-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13619
13619
|
}, idinCustomerId: function(e5) {
|
|
13620
13620
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13621
|
-
return
|
|
13621
|
+
return ou({ method: "idin-customer-id-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13622
13622
|
}, verifai: function(e5) {
|
|
13623
13623
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13624
|
-
return
|
|
13624
|
+
return ou({ method: "verifai-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13625
13625
|
}, yoonik: function(e5) {
|
|
13626
13626
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13627
|
-
return
|
|
13627
|
+
return ou({ method: "yoonik-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13628
13628
|
}, plMojeId: function(e5) {
|
|
13629
13629
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13630
|
-
return
|
|
13630
|
+
return ou({ method: "pl-mojeid-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13631
13631
|
}, spid: function(e5) {
|
|
13632
13632
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13633
|
-
return
|
|
13633
|
+
return ou({ method: "spid-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13634
|
+
}, chaveMovel: function(e5) {
|
|
13635
|
+
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13636
|
+
return ou({ method: "chave-movel-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13634
13637
|
}, mitId: function(e5) {
|
|
13635
13638
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13636
|
-
return
|
|
13639
|
+
return ou({ method: "mit-id-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13637
13640
|
}, mitId2: function(e5) {
|
|
13638
13641
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13639
|
-
return
|
|
13642
|
+
return ou({ method: "mit-id-2-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13640
13643
|
}, norwegianBankId: function(e5) {
|
|
13641
13644
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13642
|
-
return
|
|
13645
|
+
return ou({ method: "norwegian-bankid-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13643
13646
|
}, norwegianBankId2: function(e5) {
|
|
13644
13647
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13645
|
-
return
|
|
13648
|
+
return ou({ method: "norwegian-bankid-2-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13646
13649
|
}, atHandy: function(e5) {
|
|
13647
13650
|
let { baseUrl: t5, clientId: n5, redirectUri: r5, state: i3 } = e5, o3 = "".concat(t5, "/oauth/authorize?client_id=").concat(n5, "&redirect_uri=").concat(r5, "&response_type=code&method=at-handy-signatur-login");
|
|
13648
13651
|
return i3 && (o3 += "&state=".concat(i3)), o3;
|
|
13649
13652
|
}, ftn: function(e5) {
|
|
13650
13653
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13651
|
-
return
|
|
13654
|
+
return ou({ method: "ftn-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13652
13655
|
}, gbOneId: function(e5) {
|
|
13653
13656
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 } = e5;
|
|
13654
|
-
return
|
|
13657
|
+
return ou({ method: "gb-one-id-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3 });
|
|
13655
13658
|
}, veriff: function(e5) {
|
|
13656
13659
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3, country: a2 } = e5;
|
|
13657
|
-
return
|
|
13660
|
+
return ou({ method: "veriff-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3, country: a2 });
|
|
13658
13661
|
}, lIdentiteNumerique: function(e5) {
|
|
13659
13662
|
let { baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3, country: a2 } = e5;
|
|
13660
|
-
return
|
|
13663
|
+
return ou({ method: "lidentite-numerique-login", baseUrl: t5, state: n5, clientId: r5, redirectUri: i3, language: o3, country: a2 });
|
|
13661
13664
|
}, integrationIframe: function(e5) {
|
|
13662
13665
|
let { baseUrl: t5, clientId: n5, actionType: r5, docId: i3 } = e5;
|
|
13663
13666
|
return "".concat(t5, "/web-element/os-broker/").concat(n5, "/").concat(r5, "?doc_id=").concat(i3);
|
|
@@ -13754,9 +13757,9 @@ function requireEideasyBrowserClient() {
|
|
|
13754
13757
|
}, cscApiAuthorizeCredentialRedirect: function(e5) {
|
|
13755
13758
|
let { baseUrl: t5 } = e5;
|
|
13756
13759
|
return "".concat(t5, "/csc/authorize-credential-redirect");
|
|
13757
|
-
} }, t4), r4 = { [
|
|
13760
|
+
} }, t4), r4 = { [tu.production]: ru2({}, iu(n4, { baseUrl: t4.base ? t4.base() : "https://id.eideasy.com", state: e4.state }, e4.modifyEndpointUrl)), [tu.sandbox]: ru2({}, iu(n4, { baseUrl: t4.base ? t4.base() : "https://test.eideasy.com", state: e4.state }, e4.modifyEndpointUrl)) };
|
|
13758
13761
|
return { get inCurrentMode() {
|
|
13759
|
-
const t5 = e4.sandbox ?
|
|
13762
|
+
const t5 = e4.sandbox ? tu.sandbox : tu.production;
|
|
13760
13763
|
return r4[t5];
|
|
13761
13764
|
} };
|
|
13762
13765
|
}({ countryCode: e3.countryCode, sandbox: e3.sandbox, modifyEndpointUrl: e3.modifyEndpointUrl, state: e3.oauthParamState }, e3.apiEndpoints), r3 = function(e4) {
|
|
@@ -13827,8 +13830,8 @@ function requireEideasyBrowserClient() {
|
|
|
13827
13830
|
}, getCountryCode: function() {
|
|
13828
13831
|
return u2.countryCode;
|
|
13829
13832
|
}, getLogs: s2.getLogs, docId: u2.docId });
|
|
13830
|
-
}({ settings: e3, i18n: t3, monitoringService: r3, apiEndpoints: n3, iframeMessenger: o2, logger: i2, identificationModules: [En, Mn, Gn, jn, Vn,
|
|
13831
|
-
},
|
|
13833
|
+
}({ settings: e3, i18n: t3, monitoringService: r3, apiEndpoints: n3, iframeMessenger: o2, logger: i2, identificationModules: [En, Mn, Gn, jn, Vn, cu, Qn, Yn, $n, er, rr, ar, sr, lr, gr, fr2, hr, yr, Ir, Cr, Ar, vr, br, Nr, _r, Rr, Or, Mr, Dr, Lr, Fr, Kr, Zr, Wr], signingModules: [$r, oi, di, yi, Ti, Ci, Ni, _i, Ri, va, Oi, Ui, wi, ki, Gi, Li, Bi, Pi, xi, Hi, Ta, ma, Ea, _a, Ra, Oa, Ma, Da, Ua, Ga, Fa, Za, Wa, Ja, es2, ss, cs2, fs, Is, vs, bs, Ns, _s, Rs, Ds, ks, uu, lu, Gs, Ps, Ks, Hs, Js, Ys, zs, Xs, $s, ec, dc, pc, gc, fc, tc, nc, rc, ic, lc, hc, yc, Ec, Cc, Ac, vc, bc, Nc, _c, Rc, Oc, Mc, Dc, Uc, Gc, Lc, Bc, Vc, $c, eu] });
|
|
13834
|
+
}, pu = du;
|
|
13832
13835
|
})(), o;
|
|
13833
13836
|
})());
|
|
13834
13837
|
})(eideasyBrowserClient);
|
|
@@ -14700,6 +14703,13 @@ const methodButtonNames = {
|
|
|
14700
14703
|
};
|
|
14701
14704
|
const allWidgetMethods = Object.freeze({
|
|
14702
14705
|
[eideasyBrowserClientExports.methodTypes.IDENTIFICATION]: [
|
|
14706
|
+
{
|
|
14707
|
+
actionType: eideasyBrowserClientExports.methodActionTypes.CHAVE_MOVEL_LOGIN,
|
|
14708
|
+
buttonName: methodButtonNames.ChaveMovelButton,
|
|
14709
|
+
translationKeys: {
|
|
14710
|
+
title: "Chave Movel"
|
|
14711
|
+
}
|
|
14712
|
+
},
|
|
14703
14713
|
{
|
|
14704
14714
|
actionType: eideasyBrowserClientExports.methodActionTypes.BE_ID_LOGIN,
|
|
14705
14715
|
buttonName: methodButtonNames.IdCardButtonBe,
|