@sheerid/jslib-nightly 2.112.0-alpha.4 → 2.112.0-alpha.5
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/_mysheerid-preview.css +3 -3
- package/_mysheerid-preview.js +392 -387
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/EmailLoopPending-Dtf0p85F.js +3 -3
- package/chunk/EmailLoopPending-Dy8mLFvV.js +3 -3
- package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +3 -3
- package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +3 -3
- package/chunk/Onfido-AyvUk6wg.js +3 -3
- package/chunk/StepIDCheckLoopOnfido-CmNwFqjD.js +3 -3
- package/chunk/StepIDCheckLoopOnfido-DtbplNxs.js +3 -3
- package/chunk/StepIDCheckLoopRegula-RoX971sR.js +3 -3
- package/chunk/StepIDCheckLoopRegula-oqf-QxHT.js +3 -3
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js +3 -3
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js +3 -3
- package/chunk/ar-CTZ8n_FV.js +3 -3
- package/chunk/bg-B1tbUffD.js +3 -3
- package/chunk/bn-IN-BA_ZFkiC.js +3 -3
- package/chunk/cs-_sREQ07E.js +3 -3
- package/chunk/da-DPi7xGRT.js +3 -3
- package/chunk/de-Cdu4F7oz.js +3 -3
- package/chunk/el-Csc8XB1z.js +3 -3
- package/chunk/en-GB-CDsqsXSF.js +3 -3
- package/chunk/es-BgNy3pMu.js +3 -3
- package/chunk/es-ES-HVAL-fE7.js +3 -3
- package/chunk/fi-CCyjkr-W.js +3 -3
- package/chunk/fr-CA-DwRs4Got.js +3 -3
- package/chunk/fr-alhQlPBO.js +3 -3
- package/chunk/ga-DfyMbfDn.js +3 -3
- package/chunk/hi-IN-CnIX7S9Z.js +3 -3
- package/chunk/hr-HChVQ_Sw.js +3 -3
- package/chunk/hu-CWN1WU0a.js +3 -3
- package/chunk/id-C1Ck0Iu_.js +3 -3
- package/chunk/index-4APUDd8S.js +3 -3
- package/chunk/index-9OD0Bw98.js +3 -3
- package/chunk/index-B-PpnUEO.js +3 -3
- package/chunk/index-B8F8N-JM.js +3 -3
- package/chunk/index-B8KPM--K.js +3 -3
- package/chunk/index-BD2bjH-C.js +3 -3
- package/chunk/index-BD_a0MZT.js +3 -3
- package/chunk/index-BDrKYann.js +3 -3
- package/chunk/index-BORxVuto.js +3 -3
- package/chunk/index-BTMETMEE.js +3 -3
- package/chunk/index-Bi9QXN5x.js +3 -3
- package/chunk/index-Bmq6cJ3F.js +3 -3
- package/chunk/index-BpZoH-Wz.js +3 -3
- package/chunk/index-BuX76GyE.js +3 -3
- package/chunk/index-C2h0Wj84.js +3 -3
- package/chunk/index-C8MQD8EK.js +3 -3
- package/chunk/index-C8u9IJUa.js +3 -3
- package/chunk/index-C96ntS0u.js +3 -3
- package/chunk/index-CHK5i4jj.js +3 -3
- package/chunk/index-CTb96lOK.js +3 -3
- package/chunk/index-CU0rkVHP.js +3 -3
- package/chunk/index-CcRowarb.js +3 -3
- package/chunk/index-CeHu2Npu.js +3 -3
- package/chunk/index-DIkWpujR.js +3 -3
- package/chunk/index-DKWjcFJK.js +3 -3
- package/chunk/index-DLz31Fzh.js +3 -3
- package/chunk/index-DO5Z3e-E.js +3 -3
- package/chunk/index-DRlGAW07.js +3 -3
- package/chunk/index-DVynViqA.js +3 -3
- package/chunk/index-D_9J6arc.js +3 -3
- package/chunk/index-Dg8t7-dm.js +3 -3
- package/chunk/index-DhGg9lvf.js +3 -3
- package/chunk/index-DsgCNIS5.js +3 -3
- package/chunk/index-DvQoVn8P.js +3 -3
- package/chunk/index-DzqRsB7_.js +3 -3
- package/chunk/index-FjzhfDlx.js +3 -3
- package/chunk/index-Gfy-1H7s.js +3 -3
- package/chunk/index-YSVzGeq_.js +3 -3
- package/chunk/index-_t8SsXjy.js +3 -3
- package/chunk/is-Bf2mOiIg.js +3 -3
- package/chunk/it-IMkNWYOG.js +3 -3
- package/chunk/iw-BuDnLn5x.js +3 -3
- package/chunk/ja-DdM1Ym9C.js +3 -3
- package/chunk/ko-B01TPi1c.js +3 -3
- package/chunk/lo-CDeDGaKo.js +3 -3
- package/chunk/lt-DyBa0gOR.js +3 -3
- package/chunk/ms-LqU5Yd8l.js +3 -3
- package/chunk/nl-BE-BFg3IyDd.js +3 -3
- package/chunk/nl-kMVLoHoM.js +3 -3
- package/chunk/no-BAFfWVPm.js +3 -3
- package/chunk/pl-Cxz2q367.js +3 -3
- package/chunk/pt-BR-CgWnbrVG.js +3 -3
- package/chunk/pt-ClU8GfPr.js +3 -3
- package/chunk/ro-CjVQ_Zpn.js +3 -3
- package/chunk/ru-BdRZQIfm.js +3 -3
- package/chunk/sk-C-xR48Aj.js +3 -3
- package/chunk/sl-CImZBWQa.js +3 -3
- package/chunk/sr-CZdt5Aa4.js +3 -3
- package/chunk/sv-BclJkJLk.js +3 -3
- package/chunk/sw-BMcrEvkG.js +3 -3
- package/chunk/th-Dl_Lc--C.js +3 -3
- package/chunk/tr-CL17frp4.js +3 -3
- package/chunk/uk-zgBsQ3Tg.js +3 -3
- package/chunk/ur-DJP0igA6.js +3 -3
- package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js +3 -3
- package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +3 -3
- package/chunk/useEmailFirstExperiment-BbDrKQEs.js +3 -3
- package/chunk/useEmailFirstExperiment-CgU-itQI.js +3 -3
- package/chunk/vi-B1t3wnVe.js +3 -3
- package/chunk/zh-B1K_f766.js +3 -3
- package/chunk/zh-HK-B7LwDNgi.js +3 -3
- package/chunk/zu-DXIuiqYP.js +3 -3
- package/es6.css +3 -3
- package/jslib.js +4 -4
- package/lib/{EmailLoopPending-DrisvsNk.js → EmailLoopPending-BE_De6Tx.js} +4 -4
- package/lib/{EmailLoopPending-DrisvsNk.js.map → EmailLoopPending-BE_De6Tx.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-CFEiKHMr.js → LicensedProfessionalOrganizationComponent-Rp-GMuxJ.js} +4 -4
- package/lib/{LicensedProfessionalOrganizationComponent-CFEiKHMr.js.map → LicensedProfessionalOrganizationComponent-Rp-GMuxJ.js.map} +1 -1
- package/lib/Onfido-AyvUk6wg.js +3 -3
- package/lib/StepCollectMilitaryStatusComponent-DDTELGtg.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-Dm84F8Ui.js.map → StepCollectMilitaryStatusComponent-DDTELGtg.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-BeLzOKOj.js → StepIDCheckLoopOnfido-38qsgxKR.js} +4 -4
- package/lib/{StepIDCheckLoopOnfido-BeLzOKOj.js.map → StepIDCheckLoopOnfido-38qsgxKR.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-CIrXQIVn.js → StepIDCheckLoopRegula-B53-JUxK.js} +4 -4
- package/lib/{StepIDCheckLoopRegula-CIrXQIVn.js.map → StepIDCheckLoopRegula-B53-JUxK.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-DzWkTTsC.js → StepInactiveMilitaryPersonalInfoComponent-DyVGxkil.js} +5 -5
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-DzWkTTsC.js.map → StepInactiveMilitaryPersonalInfoComponent-DyVGxkil.js.map} +1 -1
- package/lib/{VerificationApiUtils-0LG5zgCj.js → VerificationApiUtils-CdImPZ20.js} +4 -4
- package/lib/{VerificationApiUtils-0LG5zgCj.js.map → VerificationApiUtils-CdImPZ20.js.map} +1 -1
- package/lib/ar-CTZ8n_FV.js +3 -3
- package/lib/bg-B1tbUffD.js +3 -3
- package/lib/bn-IN-BA_ZFkiC.js +3 -3
- package/lib/cs-_sREQ07E.js +3 -3
- package/lib/da-DPi7xGRT.js +3 -3
- package/lib/de-Cdu4F7oz.js +3 -3
- package/lib/el-Csc8XB1z.js +3 -3
- package/lib/en-GB-CDsqsXSF.js +3 -3
- package/lib/es-BgNy3pMu.js +3 -3
- package/lib/es-ES-HVAL-fE7.js +3 -3
- package/lib/{es6-BGT6VLRG.js → es6-CgnlHiAA.js} +233 -228
- package/lib/es6-CgnlHiAA.js.map +1 -0
- package/lib/fi-CCyjkr-W.js +3 -3
- package/lib/fr-CA-DwRs4Got.js +3 -3
- package/lib/fr-alhQlPBO.js +3 -3
- package/lib/ga-DfyMbfDn.js +3 -3
- package/lib/hi-IN-CnIX7S9Z.js +3 -3
- package/lib/hr-HChVQ_Sw.js +3 -3
- package/lib/hu-CWN1WU0a.js +3 -3
- package/lib/id-C1Ck0Iu_.js +3 -3
- package/lib/{index-BXMOCIdp.js → index-BFQec87Y.js} +6 -6
- package/lib/{index-BXMOCIdp.js.map → index-BFQec87Y.js.map} +1 -1
- package/lib/{index-BANwQk4U.js → index-BGG4-eSW.js} +5 -5
- package/lib/{index-BANwQk4U.js.map → index-BGG4-eSW.js.map} +1 -1
- package/lib/{index-RTyDygJA.js → index-BZB6rx_i.js} +5 -5
- package/lib/{index-RTyDygJA.js.map → index-BZB6rx_i.js.map} +1 -1
- package/lib/{index-DgN2jNLf.js → index-BaWK4IwT.js} +4 -4
- package/lib/{index-DgN2jNLf.js.map → index-BaWK4IwT.js.map} +1 -1
- package/lib/index-BjHfv8dl.js +11 -0
- package/lib/index-BjHfv8dl.js.map +1 -0
- package/lib/index-CZOLRTeH.js +11 -0
- package/lib/index-CZOLRTeH.js.map +1 -0
- package/lib/{index-CbyZWnr5.js → index-C_ZhLmx8.js} +5 -5
- package/lib/{index-CbyZWnr5.js.map → index-C_ZhLmx8.js.map} +1 -1
- package/lib/{index-jZ_zLZvH.js → index-CdRJ0N3E.js} +4 -4
- package/lib/{index-jZ_zLZvH.js.map → index-CdRJ0N3E.js.map} +1 -1
- package/lib/{index-DvHnBvUt.js → index-Co1axwsC.js} +4 -4
- package/lib/{index-DvHnBvUt.js.map → index-Co1axwsC.js.map} +1 -1
- package/lib/{index-Bs78W4Se.js → index-CvWITFn3.js} +5 -5
- package/lib/{index-Bs78W4Se.js.map → index-CvWITFn3.js.map} +1 -1
- package/lib/index-CvpSQuMF.js +11 -0
- package/lib/index-CvpSQuMF.js.map +1 -0
- package/lib/{index-OIwocGgH.js → index-D0gFTmpL.js} +4 -4
- package/lib/{index-OIwocGgH.js.map → index-D0gFTmpL.js.map} +1 -1
- package/lib/{index-DKruKnPT.js → index-D14OVclA.js} +4 -4
- package/lib/{index-DKruKnPT.js.map → index-D14OVclA.js.map} +1 -1
- package/lib/index-DIkWpujR.js +3 -3
- package/lib/{index-DlXSe7zO.js → index-DnEaVDvq.js} +4 -4
- package/lib/{index-DlXSe7zO.js.map → index-DnEaVDvq.js.map} +1 -1
- package/lib/{index-DqfO09tu.js → index-DnzWG-zK.js} +4 -4
- package/lib/{index-DqfO09tu.js.map → index-DnzWG-zK.js.map} +1 -1
- package/lib/{index-Dcasc8R1.js → index-DoGwOM4c.js} +4 -4
- package/lib/{index-Dcasc8R1.js.map → index-DoGwOM4c.js.map} +1 -1
- package/lib/{index-CD9Szi3E.js → index-GSRwQMPe.js} +5 -5
- package/lib/{index-CD9Szi3E.js.map → index-GSRwQMPe.js.map} +1 -1
- package/lib/{index-9RUq5Tvc.js → index-GynW23rm.js} +6 -6
- package/lib/{index-9RUq5Tvc.js.map → index-GynW23rm.js.map} +1 -1
- package/lib/{index-DbVU1s8G.js → index-HkVmx6UM.js} +5 -5
- package/lib/{index-DbVU1s8G.js.map → index-HkVmx6UM.js.map} +1 -1
- package/lib/index-IHeM7MeN.js +11 -0
- package/lib/index-IHeM7MeN.js.map +1 -0
- package/lib/{index-D5MR-f4E.js → index-XEJe5RvW.js} +5 -5
- package/lib/{index-D5MR-f4E.js.map → index-XEJe5RvW.js.map} +1 -1
- package/lib/{index-CXwdeDor.js → index-Y27hMIeU.js} +4 -4
- package/lib/{index-CXwdeDor.js.map → index-Y27hMIeU.js.map} +1 -1
- package/lib/{index-BzjahvnA.js → index-wYIO-QSJ.js} +4 -4
- package/lib/{index-BzjahvnA.js.map → index-wYIO-QSJ.js.map} +1 -1
- package/lib/is-Bf2mOiIg.js +3 -3
- package/lib/it-IMkNWYOG.js +3 -3
- package/lib/iw-BuDnLn5x.js +3 -3
- package/lib/ja-DdM1Ym9C.js +3 -3
- package/lib/ko-B01TPi1c.js +3 -3
- package/lib/lo-CDeDGaKo.js +3 -3
- package/lib/lt-DyBa0gOR.js +3 -3
- package/lib/ms-LqU5Yd8l.js +3 -3
- package/lib/nl-BE-BFg3IyDd.js +3 -3
- package/lib/nl-kMVLoHoM.js +3 -3
- package/lib/no-BAFfWVPm.js +3 -3
- package/lib/pl-Cxz2q367.js +3 -3
- package/lib/pt-BR-CgWnbrVG.js +3 -3
- package/lib/pt-ClU8GfPr.js +3 -3
- package/lib/ro-CjVQ_Zpn.js +3 -3
- package/lib/ru-BdRZQIfm.js +3 -3
- package/lib/sk-C-xR48Aj.js +3 -3
- package/lib/sl-CImZBWQa.js +3 -3
- package/lib/sr-CZdt5Aa4.js +3 -3
- package/lib/sv-BclJkJLk.js +3 -3
- package/lib/sw-BMcrEvkG.js +3 -3
- package/lib/th-Dl_Lc--C.js +3 -3
- package/lib/tr-CL17frp4.js +3 -3
- package/lib/uk-zgBsQ3Tg.js +3 -3
- package/lib/ur-DJP0igA6.js +3 -3
- package/lib/{useCollectFieldsEndpoint-B61_DguV.js → useCollectFieldsEndpoint-BnXXSTq-.js} +5 -5
- package/lib/{useCollectFieldsEndpoint-B61_DguV.js.map → useCollectFieldsEndpoint-BnXXSTq-.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-CQta_14_.js → useEmailFirstExperiment-SbjjFUHp.js} +4 -4
- package/lib/{useEmailFirstExperiment-CQta_14_.js.map → useEmailFirstExperiment-SbjjFUHp.js.map} +1 -1
- package/lib/vi-B1t3wnVe.js +3 -3
- package/lib/zh-B1K_f766.js +3 -3
- package/lib/zh-HK-B7LwDNgi.js +3 -3
- package/lib/zu-DXIuiqYP.js +3 -3
- package/package.json +1 -1
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +4 -4
- package/sheerid.css +3 -3
- package/sheerid.js +321 -316
- package/sheerid.js.map +1 -1
- package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
- package/src/lib/GoogleAnalytics/ga.d.ts +1 -0
- package/types-reference.zip +0 -0
- package/lib/StepCollectMilitaryStatusComponent-Dm84F8Ui.js +0 -11
- package/lib/es6-BGT6VLRG.js.map +0 -1
- package/lib/index-BtVZojxO.js +0 -11
- package/lib/index-BtVZojxO.js.map +0 -1
- package/lib/index-CH2g0Pj-.js +0 -11
- package/lib/index-CH2g0Pj-.js.map +0 -1
- package/lib/index-C_CvQ7wV.js +0 -11
- package/lib/index-C_CvQ7wV.js.map +0 -1
- package/lib/index-uz9w2o_u.js +0 -11
- package/lib/index-uz9w2o_u.js.map +0 -1
- package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.test.d.ts +0 -1
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.112.0-alpha.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
3
|
+
* VERSION: 2.112.0-alpha.5
|
4
|
+
* BUILD_TIMESTAMP: 1749673075014
|
5
|
+
* BUILD_DATE: Wed Jun 11 2025 20:17:55 GMT+0000 (Coordinated Universal Time)
|
6
6
|
* BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
|
7
7
|
*/
|
8
8
|
var jM = Object.defineProperty;
|
9
9
|
var FM = (e, t, r) => t in e ? jM(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
10
10
|
var Ze = (e, t, r) => FM(e, typeof t != "symbol" ? t + "" : t, r);
|
11
11
|
import * as k from "react";
|
12
|
-
import ee, { useContext as fd, useRef as wt, useCallback as Lt, useDebugValue as $M, createContext as BM, Component as VM, useEffect as
|
12
|
+
import ee, { useContext as fd, useRef as wt, useCallback as Lt, useDebugValue as $M, createContext as BM, Component as VM, useEffect as Mt, Suspense as HM, useLayoutEffect as Fg, useState as Da, useMemo as dp, useReducer as zM, Children as GM } from "react";
|
13
13
|
import * as $g from "react-dom";
|
14
14
|
import { unstable_batchedUpdates as WM } from "react-dom";
|
15
15
|
import { FormattedHTMLMessage as P, injectIntl as ze, IntlProvider as Bg } from "react-intl";
|
@@ -105,7 +105,7 @@ const JM = (e) => e && e.stack && e.message, bi = (...e) => {
|
|
105
105
|
locale: ve(() => o.programTheme.intl.locale),
|
106
106
|
isTestMode: ve(() => o.programTheme.isTestMode),
|
107
107
|
openOrgSearchEnabled: ve(() => o.programTheme.openOrgSearchEnabled),
|
108
|
-
jslibVerActual: ve(() => "2.112.0-alpha.
|
108
|
+
jslibVerActual: ve(() => "2.112.0-alpha.5", "?"),
|
109
109
|
...r
|
110
110
|
};
|
111
111
|
}
|
@@ -639,7 +639,7 @@ function Tu(...e) {
|
|
639
639
|
}
|
640
640
|
var Pu = /* @__PURE__ */ ((e) => (e.TRUE = "true", e.FALSE = "false", e))(Pu || {});
|
641
641
|
const D0 = ["sheerid.com"];
|
642
|
-
var
|
642
|
+
var It = /* @__PURE__ */ ((e) => (e.ASR_SELECTED = "AsrSelected", e.FORM_PASTE = "FormPaste", e.INVALID_FORM_SUBMIT = "InvalidFormSubmit", e.STEP_SEEN = "StepSeen", e.STEP_SUBMITTED = "StepSubmitted", e.STEP_ACCEPTED = "StepAccepted", e.ORG_SELECTED = "OrgSelected", e.ORGS_DISPLAYED = "OrgsDisplayed", e.VIEW_EXPERIMENT = "ViewExperiment", e.COLLECT_STARTED = "CollectStarted", e.COLLECT_SUBMITTED = "CollectSubmitted", e.PERFORMANCE = "Performance", e.USER_PROPERTIES = "user_properties", e.VERIFICATION = "Verification", e.VERIFICATION_HELP = "VerificationHelp", e))(It || {}), ta = /* @__PURE__ */ ((e) => (e.age = "age", e.jslibVersionActual = "jslibVersionActual", e.programId = "programId", e.segment = "segment", e.subSegment = "subSegment", e.testMode = "testMode", e.testRequest = "testRequest", e.verificationId = "verificationId", e.flags = "flags", e.options = "options", e.flag = "flag", e.step = "step", e.stepAction = "step_action", e.identifier = "id", e.verificationHelpStatus = "verificationHelpStatus", e))(ta || {}), Er = /* @__PURE__ */ ((e) => (e.EVENT_DURATION = "eventDuration", e.QUERY_LENGTH = "queryLength", e.SELECTED_RESULT_RANK = "selectedResultRank", e.NUMBER_OF_RESULTS = "numberOfResults", e.NUMBER_REWORKS = "numberReworks", e.INITIAL_STEP_LOAD = "initialStepLoad", e.LCP = "largestContentfulPaint", e))(Er || {});
|
643
643
|
function al(e, t, r) {
|
644
644
|
if (pd())
|
645
645
|
return A.info("Not able to track");
|
@@ -649,7 +649,7 @@ function al(e, t, r) {
|
|
649
649
|
A.warn(`Failed ${e}:${t} event`, n);
|
650
650
|
}
|
651
651
|
}
|
652
|
-
const
|
652
|
+
const qr = async (e) => {
|
653
653
|
try {
|
654
654
|
const r = { ...await Hg() || {}, ...e.params };
|
655
655
|
al("event", e.eventName, r), _a() && window.NREUM.addPageAction(e.eventName, r);
|
@@ -3378,7 +3378,7 @@ const j$ = (e, t) => {
|
|
3378
3378
|
A.log(`overrideValidator registering ${t} for '${e}'`), xi[e] = t;
|
3379
3379
|
}, kE = (e) => xi[e] ? (A.log(`getOverridenValidator returning '${e}'`), xi[e]) : null, F$ = () => {
|
3380
3380
|
xi = {}, A.info("Overridden validators have been reset");
|
3381
|
-
},
|
3381
|
+
}, on = 10, _E = 16, LE = 1900, UE = 3e3, Op = 50, Tc = 256, Pc = 4096, jE = /^\+(?:[0-9] ?){6,14}[0-9]$/, FE = [
|
3382
3382
|
/^\+?0*\d{10,}(x[0-9]{0,5})?$/,
|
3383
3383
|
/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/
|
3384
3384
|
], $E = (e) => Object.keys(e).length > Op ? (A.error(`Invalid number of metadata keys (max ${Op})`, "metadata keys"), !1) : !0, BE = (e) => {
|
@@ -3596,13 +3596,13 @@ const j$ = (e, t) => {
|
|
3596
3596
|
if (e === void 0 || !/^(?:[a-zA-Z0-9]\s*){12}$|^$/.test(e))
|
3597
3597
|
return t;
|
3598
3598
|
}, Iw = new RegExp("([\\p{Letter}\\p{Mark}\\p{Connector_Punctuation}\\p{Join_Control}]+)", "v"), Ry = (e) => Iw.test(e), ku = (e) => {
|
3599
|
-
const t = e.split("-"), r = parseInt(t[0],
|
3599
|
+
const t = e.split("-"), r = parseInt(t[0], on), n = parseInt(t[1], on), a = parseInt(t[2], on), o = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
3600
3600
|
return !(r < LE || r > UE || n <= 0 || n > 12 || ((r % 400 === 0 || r % 100 !== 0 && r % 4 === 0) && (o[1] = 29), a <= 0 || a > o[n - 1]));
|
3601
3601
|
}, _u = (e) => !!/^\d{4}[\-\s\/]\d{1,2}[\-\s\/]\d{1,2}$/.test(e), Od = (e) => {
|
3602
3602
|
const t = /* @__PURE__ */ new Date();
|
3603
3603
|
return new Date(e) > t;
|
3604
3604
|
}, Ay = (e, t = _E) => {
|
3605
|
-
const r = e.split("-"), n = parseInt(r[0],
|
3605
|
+
const r = e.split("-"), n = parseInt(r[0], on), a = parseInt(r[1], on), o = parseInt(r[2], on), s = (/* @__PURE__ */ new Date()).getFullYear(), i = (/* @__PURE__ */ new Date()).getMonth() + 1, l = (/* @__PURE__ */ new Date()).getDate();
|
3606
3606
|
if (s - n === t) {
|
3607
3607
|
if (i - a < 0 || i - a === 0 && l - o < 0)
|
3608
3608
|
return !0;
|
@@ -3610,7 +3610,7 @@ const j$ = (e, t) => {
|
|
3610
3610
|
return !0;
|
3611
3611
|
return !1;
|
3612
3612
|
}, Sw = (e, t = 120) => {
|
3613
|
-
const r = e.split("-"), n = parseInt(r[0],
|
3613
|
+
const r = e.split("-"), n = parseInt(r[0], on), a = parseInt(r[1], on), o = parseInt(r[2], on), s = (/* @__PURE__ */ new Date()).getFullYear(), i = (/* @__PURE__ */ new Date()).getMonth() + 1, l = (/* @__PURE__ */ new Date()).getDate();
|
3614
3614
|
if (s - n === t) {
|
3615
3615
|
if (i - a > 0 || i - a === 0 && l - o > 0)
|
3616
3616
|
return !0;
|
@@ -3665,7 +3665,7 @@ const j$ = (e, t) => {
|
|
3665
3665
|
}, Oy = () => `${Ie().restApi.serviceUrl}${Ie().restApi.resources.verification}`, xw = (e) => `${Oy()}${e}`, Cw = () => Oy(), Tw = (e, t = null) => {
|
3666
3666
|
const r = `${Ie().restApi.serviceUrl}${Ie().restApi.resources.program.base}${e}/${Ie().restApi.resources.program.theme}`;
|
3667
3667
|
return t ? `${r}?locale=${t}` : `${r}`;
|
3668
|
-
}, Pw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, Rw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, Aw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, Nw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, $$ = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Dy = () => "2.112.0-alpha.
|
3668
|
+
}, Pw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, Rw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, Aw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, Nw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, $$ = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Dy = () => "2.112.0-alpha.5", Ow = () => window.location.href, ky = () => {
|
3669
3669
|
try {
|
3670
3670
|
const e = new URLSearchParams(window.location.search);
|
3671
3671
|
if (e.get(Hr))
|
@@ -3687,7 +3687,7 @@ const j$ = (e, t) => {
|
|
3687
3687
|
A.error(e, "getInstallType");
|
3688
3688
|
}
|
3689
3689
|
return window.sheerIdInstallType || "cdn_no_iframe";
|
3690
|
-
}, B$ = () => `${Ie().restApi.serviceUrl}rest/v2/help/verificationHelp`,
|
3690
|
+
}, B$ = () => `${Ie().restApi.serviceUrl}rest/v2/help/verificationHelp`, Yr = (e) => {
|
3691
3691
|
try {
|
3692
3692
|
const t = new URLSearchParams(window.location.search);
|
3693
3693
|
if (t.get(e))
|
@@ -3697,7 +3697,7 @@ const j$ = (e, t) => {
|
|
3697
3697
|
} catch (t) {
|
3698
3698
|
A.error(t, "getQueryOrOption");
|
3699
3699
|
}
|
3700
|
-
}, _w = () => !!
|
3700
|
+
}, _w = () => !!Yr("mockStep"), Zo = (e = void 0) => {
|
3701
3701
|
try {
|
3702
3702
|
const t = new URLSearchParams(window.location.search);
|
3703
3703
|
let r;
|
@@ -3706,13 +3706,13 @@ const j$ = (e, t) => {
|
|
3706
3706
|
} catch (t) {
|
3707
3707
|
A.error(t, "getRouteOverride");
|
3708
3708
|
}
|
3709
|
-
}, kp = () =>
|
3709
|
+
}, kp = () => Yr(wa), _p = () => Yr(xa), Lw = () => Yr(Ca), nn = () => Yr(Ra), Uw = () => {
|
3710
3710
|
try {
|
3711
3711
|
return new URLSearchParams(window.location.search).get(wr) === Ro.loading || Ie()[wr] === Ro.loading;
|
3712
3712
|
} catch (e) {
|
3713
3713
|
return A.error(e, "isMockingLoading"), !1;
|
3714
3714
|
}
|
3715
|
-
}, jw = () =>
|
3715
|
+
}, jw = () => nn(), _y = () => Yr(Ta), Ly = () => Yr(Pa), Fw = (e) => {
|
3716
3716
|
const t = Ne(e), r = Lw(), n = Ly();
|
3717
3717
|
return r && (t.errorIds = [r]), n && (t.redirectUrl = n), t;
|
3718
3718
|
}, $w = (e) => {
|
@@ -5263,14 +5263,14 @@ async function IT(e, t, r) {
|
|
5263
5263
|
completeAuthentication: c
|
5264
5264
|
} = Le;
|
5265
5265
|
try {
|
5266
|
-
performance.clearMarks(
|
5267
|
-
eventName:
|
5266
|
+
performance.clearMarks(It.STEP_SUBMITTED), performance.mark(It.STEP_SUBMITTED), qr({
|
5267
|
+
eventName: It.STEP_SUBMITTED,
|
5268
5268
|
params: {
|
5269
5269
|
step: e,
|
5270
5270
|
eventDuration: performance.measure(
|
5271
|
-
|
5272
|
-
|
5273
|
-
|
5271
|
+
It.STEP_SUBMITTED,
|
5272
|
+
It.STEP_SEEN,
|
5273
|
+
It.STEP_SUBMITTED
|
5274
5274
|
).duration
|
5275
5275
|
}
|
5276
5276
|
});
|
@@ -5296,14 +5296,14 @@ async function IT(e, t, r) {
|
|
5296
5296
|
);
|
5297
5297
|
}
|
5298
5298
|
try {
|
5299
|
-
performance.clearMarks(
|
5300
|
-
eventName:
|
5299
|
+
performance.clearMarks(It.STEP_ACCEPTED), performance.mark(It.STEP_ACCEPTED), qr({
|
5300
|
+
eventName: It.STEP_ACCEPTED,
|
5301
5301
|
params: {
|
5302
5302
|
step: e,
|
5303
5303
|
eventDuration: performance.measure(
|
5304
|
-
|
5305
|
-
|
5306
|
-
|
5304
|
+
It.STEP_ACCEPTED,
|
5305
|
+
It.STEP_SEEN,
|
5306
|
+
It.STEP_ACCEPTED
|
5307
5307
|
).duration
|
5308
5308
|
}
|
5309
5309
|
});
|
@@ -5438,18 +5438,18 @@ class CT extends ov {
|
|
5438
5438
|
}), super.emit(t, r);
|
5439
5439
|
}
|
5440
5440
|
}
|
5441
|
-
const
|
5441
|
+
const sn = new CT();
|
5442
5442
|
function TT() {
|
5443
5443
|
const e = {};
|
5444
|
-
for (const [t, r] of
|
5444
|
+
for (const [t, r] of sn.events)
|
5445
5445
|
e[t] = [...r.subscribers.values()].map((n) => ({
|
5446
5446
|
name: t,
|
5447
5447
|
callback: n
|
5448
5448
|
}));
|
5449
5449
|
return e;
|
5450
5450
|
}
|
5451
|
-
const Ud = (e) => (R0(e),
|
5452
|
-
|
5451
|
+
const Ud = (e) => (R0(e), sn.on(e.name, e.callback), TT()), G$ = (e) => (ly(e), (t) => {
|
5452
|
+
sn.emit(e, t);
|
5453
5453
|
}), PT = () => {
|
5454
5454
|
let e = 0;
|
5455
5455
|
return ve(() => window.sheerId.hooks, []).forEach((t) => {
|
@@ -5467,7 +5467,7 @@ const Ud = (e) => (R0(e), on.on(e.name, e.callback), TT()), G$ = (e) => (ly(e),
|
|
5467
5467
|
return t;
|
5468
5468
|
}, RT = (e, t) => {
|
5469
5469
|
const { currentStep: r } = e;
|
5470
|
-
i0(e) &&
|
5470
|
+
i0(e) && sn.emit("ON_VERIFICATION_SUCCESS", e);
|
5471
5471
|
let n;
|
5472
5472
|
if (r === Le.collectActiveMilitaryPersonalInfo)
|
5473
5473
|
n = { ...t, dischargeDate: "" }, delete n.dischargeDate;
|
@@ -5481,7 +5481,7 @@ const Ud = (e) => (R0(e), on.on(e.name, e.callback), TT()), G$ = (e) => (ly(e),
|
|
5481
5481
|
locale: a,
|
5482
5482
|
previousViewModel: t,
|
5483
5483
|
currentStep: r,
|
5484
|
-
externalUserId:
|
5484
|
+
externalUserId: Yr(ey)
|
5485
5485
|
});
|
5486
5486
|
}
|
5487
5487
|
return n;
|
@@ -6528,11 +6528,11 @@ var pv = { exports: {} };
|
|
6528
6528
|
Re[_[Nr]] = hn[Nr].offsetWidth, vr[_[Nr]] = hn[Nr].offsetHeight;
|
6529
6529
|
var oo = Ar();
|
6530
6530
|
Ae.appendChild(yt);
|
6531
|
-
for (var hs = [],
|
6532
|
-
fa(oo[L[
|
6531
|
+
for (var hs = [], Qr = 0, bc = L.length; Qr < bc; Qr++)
|
6532
|
+
fa(oo[L[Qr]]) && hs.push(L[Qr]);
|
6533
6533
|
Ae.removeChild(yt), Ae.removeChild(Qe), g(hs);
|
6534
6534
|
}, _e = function(g, R) {
|
6535
|
-
|
6535
|
+
Xr() ? R.plugins.excludeIE ? g(R.EXCLUDED) : g(Fe(R)) : g(Pe(R));
|
6536
6536
|
}, Pe = function(g) {
|
6537
6537
|
if (navigator.plugins == null)
|
6538
6538
|
return g.NOT_AVAILABLE;
|
@@ -6657,7 +6657,7 @@ var pv = { exports: {} };
|
|
6657
6657
|
} else
|
6658
6658
|
return null;
|
6659
6659
|
};
|
6660
|
-
if (g =
|
6660
|
+
if (g = Jr(), !g)
|
6661
6661
|
return null;
|
6662
6662
|
var L = [], de = "attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}", ue = "precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}", ge = g.createBuffer();
|
6663
6663
|
g.bindBuffer(g.ARRAY_BUFFER, ge);
|
@@ -6691,7 +6691,7 @@ var pv = { exports: {} };
|
|
6691
6691
|
}), da(g), L) : (da(g), L);
|
6692
6692
|
}, De = function() {
|
6693
6693
|
try {
|
6694
|
-
var g =
|
6694
|
+
var g = Jr(), R = g.getExtension("WEBGL_debug_renderer_info"), _ = g.getParameter(R.UNMASKED_VENDOR_WEBGL) + "~" + g.getParameter(R.UNMASKED_RENDERER_WEBGL);
|
6695
6695
|
return da(g), _;
|
6696
6696
|
} catch {
|
6697
6697
|
return null;
|
@@ -6778,9 +6778,9 @@ var pv = { exports: {} };
|
|
6778
6778
|
}, nr = function() {
|
6779
6779
|
if (!qt())
|
6780
6780
|
return !1;
|
6781
|
-
var g =
|
6781
|
+
var g = Jr(), R = !!window.WebGLRenderingContext && !!g;
|
6782
6782
|
return da(g), R;
|
6783
|
-
},
|
6783
|
+
}, Xr = function() {
|
6784
6784
|
return navigator.appName === "Microsoft Internet Explorer" ? !0 : !!(navigator.appName === "Netscape" && /Trident/.test(navigator.userAgent));
|
6785
6785
|
}, bt = function() {
|
6786
6786
|
return ("msWriteProfilerMark" in window) + ("msLaunchUri" in navigator) + ("msSaveBlob" in navigator) >= 2;
|
@@ -6800,7 +6800,7 @@ var pv = { exports: {} };
|
|
6800
6800
|
ao();
|
6801
6801
|
var de = { onReady: _ }, ue = { allowScriptAccess: "always", menu: "false" };
|
6802
6802
|
window.swfobject.embedSWF(R.fonts.swfPath, L, "1", "1", "9.0.0", !1, de, ue, {});
|
6803
|
-
},
|
6803
|
+
}, Jr = function() {
|
6804
6804
|
var g = document.createElement("canvas"), R = null;
|
6805
6805
|
try {
|
6806
6806
|
R = g.getContext("webgl") || g.getContext("experimental-webgl");
|
@@ -7033,9 +7033,9 @@ const QT = (e) => {
|
|
7033
7033
|
locale: d,
|
7034
7034
|
country: E,
|
7035
7035
|
previousViewModel: y,
|
7036
|
-
externalUserId:
|
7036
|
+
externalUserId: Yr(ey)
|
7037
7037
|
});
|
7038
|
-
b = NT(b, c), rP(o, l) && (
|
7038
|
+
b = NT(b, c), rP(o, l) && (sn.emit("ON_VERIFICATION_STEP_CHANGE", l), o && o.currentStep === "sso" && l.currentStep !== "sso" && l.currentStep !== "pending" && Jg()), c.threatMetrixEnabled && lv(l.verificationId), $C(l.verificationId), b && b.hasOwnProperty("metadata") && (b.metadata = {
|
7039
7039
|
...b.metadata,
|
7040
7040
|
...QT(cv(c).keys)
|
7041
7041
|
});
|
@@ -7049,7 +7049,7 @@ const QT = (e) => {
|
|
7049
7049
|
e({ type: "FORM_VALIDATION_OPTIONS" }),
|
7050
7050
|
e({ type: "REQUIRED_METADATA_CHECK" })
|
7051
7051
|
]).then(() => {
|
7052
|
-
|
7052
|
+
sn.emit("ON_VERIFICATION_READY", l), sn.off("ON_VERIFICATION_READY");
|
7053
7053
|
}).catch((F) => {
|
7054
7054
|
A.error(F, "createFetchVerificationRequest promises");
|
7055
7055
|
});
|
@@ -7072,7 +7072,7 @@ const QT = (e) => {
|
|
7072
7072
|
t,
|
7073
7073
|
o
|
7074
7074
|
), i = dv(s);
|
7075
|
-
return
|
7075
|
+
return sn.emit("ON_FORM_LOCALE_CHANGE", o), Ad(o, i, a).then(
|
7076
7076
|
(l) => Promise.all([
|
7077
7077
|
e({ messages: l, type: "SET_MESSAGES" }),
|
7078
7078
|
e({ viewModel: r, type: "VIEW_MODEL" }),
|
@@ -7106,7 +7106,7 @@ const QT = (e) => {
|
|
7106
7106
|
});
|
7107
7107
|
}
|
7108
7108
|
const l = e({ type: "IS_LOADING", isLoading: !1 });
|
7109
|
-
return
|
7109
|
+
return sn.emit("ON_VERIFICATION_STEP_CHANGE", a), Promise.all([s, i, l]);
|
7110
7110
|
}, Fu = (e) => (t) => Promise.all([
|
7111
7111
|
e({
|
7112
7112
|
type: "VIEW_MODEL",
|
@@ -8401,7 +8401,7 @@ function Nn(e) {
|
|
8401
8401
|
return t.prototype = new Error(), t.prototype.name = e, t.prototype.constructor = t, t;
|
8402
8402
|
}
|
8403
8403
|
const AR = Nn("LaunchDarklyUnexpectedResponseError"), NR = Nn("LaunchDarklyInvalidEnvironmentIdError"), OR = Nn("LaunchDarklyInvalidUserError"), DR = Nn("LaunchDarklyInvalidEventKeyError"), kR = Nn("LaunchDarklyInvalidArgumentError"), _R = Nn("LaunchDarklyFlagFetchError");
|
8404
|
-
for (var
|
8404
|
+
for (var St = { LDUnexpectedResponseError: AR, LDInvalidEnvironmentIdError: NR, LDInvalidUserError: OR, LDInvalidEventKeyError: DR, LDInvalidArgumentError: kR, LDInvalidDataError: Nn("LaunchDarklyInvalidDataError"), LDFlagFetchError: _R, LDTimeoutError: Nn("LaunchDarklyTimeoutError"), isHttpErrorRecoverable: function(e) {
|
8405
8405
|
return !(e >= 400 && e < 500) || e === 400 || e === 408 || e === 429;
|
8406
8406
|
} }, LR = function(e) {
|
8407
8407
|
var t = Pm(e), r = t[0], n = t[1];
|
@@ -8745,7 +8745,7 @@ var je = { bootstrapInvalid: function() {
|
|
8745
8745
|
}, eventWithoutContext: function() {
|
8746
8746
|
return "Be sure to call `identify` in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript";
|
8747
8747
|
}, httpErrorMessage: function(e, t, r) {
|
8748
|
-
return "Received error " + e + (e === 401 ? " (invalid SDK key)" : "") + " for " + t + " - " + (
|
8748
|
+
return "Received error " + e + (e === 401 ? " (invalid SDK key)" : "") + " for " + t + " - " + (St.isHttpErrorRecoverable(e) ? r : "giving up permanently");
|
8749
8749
|
}, httpUnavailable: function() {
|
8750
8750
|
return "Cannot make HTTP requests in this environment." + ba;
|
8751
8751
|
}, identifyDisabled: function() {
|
@@ -8788,7 +8788,7 @@ var Jd = { baseOptionDefs: _m, validate: function(e, t, r, n) {
|
|
8788
8788
|
const a = Ve.extend({ logger: { default: n } }, _m, r), o = {};
|
8789
8789
|
function s(l) {
|
8790
8790
|
Ve.onNextTick(() => {
|
8791
|
-
t && t.maybeReportError(new
|
8791
|
+
t && t.maybeReportError(new St.LDInvalidArgumentError(l));
|
8792
8792
|
});
|
8793
8793
|
}
|
8794
8794
|
let i = Ve.extend({}, e || {});
|
@@ -8854,7 +8854,7 @@ var qv = function(e, t, r) {
|
|
8854
8854
|
return function d(f) {
|
8855
8855
|
const p = i ? n : Ve.extend({}, n, { "X-LaunchDarkly-Event-Schema": "4", "X-LaunchDarkly-Payload-ID": c });
|
8856
8856
|
return e.httpRequest("POST", s, nA(p, r), l).promise.then((m) => {
|
8857
|
-
if (m) return m.status >= 400 &&
|
8857
|
+
if (m) return m.status >= 400 && St.isHttpErrorRecoverable(m.status) && f ? d(!1) : function(y) {
|
8858
8858
|
const h = { status: y.status }, v = y.header("date");
|
8859
8859
|
if (v) {
|
8860
8860
|
const M = Date.parse(v);
|
@@ -9026,8 +9026,8 @@ var cA = function(e, t, r, n = null, a = null, o = null) {
|
|
9026
9026
|
if (I) return Promise.resolve();
|
9027
9027
|
const T = v, B = c.getSummary();
|
9028
9028
|
return c.clearSummary(), B && (B.kind = "summary", T.push(B)), n && n.setEventsInLastBatch(T.length), T.length === 0 ? Promise.resolve() : (v = [], y.debug(je.debugPostingEvents(T.length)), i.sendEvents(T, l).then((O) => {
|
9029
|
-
O && (O.serverTime && (M = O.serverTime),
|
9030
|
-
a.maybeReportError(new
|
9029
|
+
O && (O.serverTime && (M = O.serverTime), St.isHttpErrorRecoverable(O.status) || (I = !0), O.status >= 400 && Ve.onNextTick(() => {
|
9030
|
+
a.maybeReportError(new St.LDUnexpectedResponseError(je.httpErrorMessage(O.status, "event posting", "some events were dropped")));
|
9031
9031
|
}));
|
9032
9032
|
}));
|
9033
9033
|
}, s.start = function() {
|
@@ -9121,7 +9121,7 @@ var dA = function(e) {
|
|
9121
9121
|
}) : s(!1);
|
9122
9122
|
}), r;
|
9123
9123
|
};
|
9124
|
-
const { appendUrlPath: Vm, base64URLEncode: mA, objectHasOwnProperty: hA } = Ve, { getLDHeaders: gA, transformHeaders: yA } = Qd, { isHttpErrorRecoverable: vA } =
|
9124
|
+
const { appendUrlPath: Vm, base64URLEncode: mA, objectHasOwnProperty: hA } = Ve, { getLDHeaders: gA, transformHeaders: yA } = Qd, { isHttpErrorRecoverable: vA } = St;
|
9125
9125
|
var bA = function(e, t, r, n) {
|
9126
9126
|
const a = t.streamUrl, o = t.logger, s = {}, i = Vm(a, "/eval/" + r), l = t.useReport, c = t.evaluationReasons, d = t.streamReconnectDelay, f = gA(e, t);
|
9127
9127
|
let p, m = !1, y = null, h = null, v = null, M = null, I = null, E = 0;
|
@@ -9189,7 +9189,7 @@ var EA = function(e, t, r) {
|
|
9189
9189
|
const n = t.baseUrl, a = t.useReport, o = t.evaluationReasons, s = t.logger, i = {}, l = {};
|
9190
9190
|
function c(d, f) {
|
9191
9191
|
if (!e.httpRequest) return new Promise((M, I) => {
|
9192
|
-
I(new
|
9192
|
+
I(new St.LDFlagFetchError(je.httpUnavailable()));
|
9193
9193
|
});
|
9194
9194
|
const p = f ? "REPORT" : "GET", m = MA(e, t);
|
9195
9195
|
f && (m["Content-Type"] = Hm);
|
@@ -9202,13 +9202,13 @@ var EA = function(e, t, r) {
|
|
9202
9202
|
if (M.header("content-type") && M.header("content-type").substring(0, 16) === Hm) return JSON.parse(M.body);
|
9203
9203
|
{
|
9204
9204
|
const I = je.invalidContentType(M.header("content-type") || "");
|
9205
|
-
return Promise.reject(new
|
9205
|
+
return Promise.reject(new St.LDFlagFetchError(I));
|
9206
9206
|
}
|
9207
9207
|
}
|
9208
9208
|
return Promise.reject(function(I) {
|
9209
|
-
return I.status === 404 ? new
|
9209
|
+
return I.status === 404 ? new St.LDInvalidEnvironmentIdError(je.environmentNotFound()) : new St.LDFlagFetchError(je.errorFetchingFlags(I.statusText || String(I.status)));
|
9210
9210
|
}(M));
|
9211
|
-
}, (M) => Promise.reject(new
|
9211
|
+
}, (M) => Promise.reject(new St.LDFlagFetchError(je.networkError(M))));
|
9212
9212
|
return y.addPromise(v, () => {
|
9213
9213
|
h.cancel && h.cancel();
|
9214
9214
|
}), y.resultPromise;
|
@@ -9244,10 +9244,10 @@ var TA = function(e) {
|
|
9244
9244
|
return e.set(t(l), i);
|
9245
9245
|
}(s, n).then(() => a);
|
9246
9246
|
}
|
9247
|
-
}) : Promise.reject(new
|
9247
|
+
}) : Promise.reject(new St.LDInvalidUserError(je.invalidContext()));
|
9248
9248
|
}
|
9249
9249
|
this.processContext = (n) => {
|
9250
|
-
if (!n) return Promise.reject(new
|
9250
|
+
if (!n) return Promise.reject(new St.LDInvalidUserError(je.contextNotSpecified()));
|
9251
9251
|
const a = Ve.clone(n);
|
9252
9252
|
if (n.kind === "multi") {
|
9253
9253
|
const o = CA(a);
|
@@ -9369,7 +9369,7 @@ var NA = { InspectorTypes: Jt, InspectorManager: function(e, t) {
|
|
9369
9369
|
});
|
9370
9370
|
}, r;
|
9371
9371
|
} };
|
9372
|
-
const { LDTimeoutError: OA } =
|
9372
|
+
const { LDTimeoutError: OA } = St;
|
9373
9373
|
var DA = function(e, t) {
|
9374
9374
|
return new Promise((r, n) => {
|
9375
9375
|
setTimeout(() => {
|
@@ -9404,7 +9404,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9404
9404
|
Me && (se.version = Me.flagVersion ? Me.flagVersion : Me.version, se.trackEvents = Me.trackEvents, se.debugEventsUntilDate = Me.debugEventsUntilDate), (oe || Me && Me.trackReason) && N && (se.reason = N.reason), ae(se);
|
9405
9405
|
}
|
9406
9406
|
function K(C) {
|
9407
|
-
return _A(C, !1) ? Promise.resolve(C) : Promise.reject(new
|
9407
|
+
return _A(C, !1) ? Promise.resolve(C) : Promise.reject(new St.LDInvalidUserError(je.invalidContext()));
|
9408
9408
|
}
|
9409
9409
|
function X(C, N, j, oe, J, he) {
|
9410
9410
|
var le;
|
@@ -9424,7 +9424,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9424
9424
|
try {
|
9425
9425
|
return JSON.parse(N);
|
9426
9426
|
} catch {
|
9427
|
-
return void s.maybeReportError(new
|
9427
|
+
return void s.maybeReportError(new St.LDInvalidDataError(je.invalidData()));
|
9428
9428
|
}
|
9429
9429
|
};
|
9430
9430
|
E.connect(G.getContext(), p, { ping: function() {
|
@@ -9433,7 +9433,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9433
9433
|
x.fetchFlagSettings(N, p).then((j) => {
|
9434
9434
|
Ve.deepEquals(N, G.getContext()) && me(j || {});
|
9435
9435
|
}).catch((j) => {
|
9436
|
-
s.maybeReportError(new
|
9436
|
+
s.maybeReportError(new St.LDFlagFetchError(je.errorFetchingFlags(j)));
|
9437
9437
|
});
|
9438
9438
|
}, put: function(N) {
|
9439
9439
|
const j = C(N.data);
|
@@ -9506,12 +9506,12 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9506
9506
|
});
|
9507
9507
|
} else (function() {
|
9508
9508
|
return e ? H.processContext(t).then(K).then((C) => (G.setContext(C), typeof l.bootstrap == "object" ? Ce() : F ? q.loadFlags().then((N) => N == null ? (O = {}, x.fetchFlagSettings(G.getContext(), p).then((j) => me(j || {})).then(Ce).catch((j) => {
|
9509
|
-
$e(new
|
9509
|
+
$e(new St.LDFlagFetchError(je.errorFetchingFlags(j)));
|
9510
9510
|
})) : (O = N, Ve.onNextTick(Ce), x.fetchFlagSettings(G.getContext(), p).then((j) => me(j)).catch((j) => s.maybeReportError(j)))) : x.fetchFlagSettings(G.getContext(), p).then((N) => {
|
9511
9511
|
O = N || {}, re(), Ce();
|
9512
9512
|
}).catch((N) => {
|
9513
9513
|
O = {}, $e(N);
|
9514
|
-
}))) : Promise.reject(new
|
9514
|
+
}))) : Promise.reject(new St.LDInvalidEnvironmentIdError(je.environmentNotSpecified()));
|
9515
9515
|
})().catch($e);
|
9516
9516
|
function Fe(C) {
|
9517
9517
|
f = C.environment, G.setContext(C.context), O = { ...C.flags }, Ve.onNextTick(Ce);
|
@@ -9528,7 +9528,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9528
9528
|
N > 5 && o.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");
|
9529
9529
|
const j = i.getInitializationPromise(), oe = DA(N, "waitForInitialization");
|
9530
9530
|
return Promise.race([oe, j]).catch((J) => {
|
9531
|
-
throw J instanceof
|
9531
|
+
throw J instanceof St.LDTimeoutError && o.error(`waitForInitialization error: ${J}`), J;
|
9532
9532
|
});
|
9533
9533
|
}(C);
|
9534
9534
|
o.warn("The waitForInitialization method was provided with a non-numeric timeout.");
|
@@ -9549,7 +9549,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9549
9549
|
}, variationDetail: function(C, N) {
|
9550
9550
|
return X(C, N, !0, !0, !1, !0);
|
9551
9551
|
}, track: function(C, N, j) {
|
9552
|
-
if (typeof C != "string") return void s.maybeReportError(new
|
9552
|
+
if (typeof C != "string") return void s.maybeReportError(new St.LDInvalidEventKeyError(je.unknownCustomEventKey(C)));
|
9553
9553
|
j !== void 0 && typeof j != "number" && o.warn(je.invalidMetricValue(typeof j)), n.customEventFilter && !n.customEventFilter(C) && o.warn(je.unknownCustomEventKey(C));
|
9554
9554
|
const oe = G.getContext(), J = { kind: "custom", key: C, context: oe, url: n.getCurrentUrl(), creationDate: (/* @__PURE__ */ new Date()).getTime() };
|
9555
9555
|
oe && oe.anonymous && (J.contextKind = oe.anonymous ? "anonymousUser" : "user"), N != null && (J.data = N), j != null && (J.metricValue = j), ae(J);
|
@@ -9585,7 +9585,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9585
9585
|
}, enqueueEvent: ae, getFlagsInternal: function() {
|
9586
9586
|
return O;
|
9587
9587
|
}, getEnvironmentId: () => f, internalChangeEventName: zm };
|
9588
|
-
}, errors:
|
9588
|
+
}, errors: St }, UA = Yv.initialize, jA = Yv.errors;
|
9589
9589
|
function FA(e, t, r) {
|
9590
9590
|
return (t = function(n) {
|
9591
9591
|
var a = function(o, s) {
|
@@ -10426,31 +10426,31 @@ function Kt(e) {
|
|
10426
10426
|
return e;
|
10427
10427
|
}
|
10428
10428
|
var QN = /([A-Z])/g, e1 = /^ms-/, zu = Array.isArray;
|
10429
|
-
function
|
10429
|
+
function tn(e, t) {
|
10430
10430
|
return { insertionMode: e, selectedValue: t };
|
10431
10431
|
}
|
10432
10432
|
function t1(e, t, r) {
|
10433
10433
|
switch (t) {
|
10434
10434
|
case "select":
|
10435
|
-
return
|
10435
|
+
return tn(1, r.value != null ? r.value : r.defaultValue);
|
10436
10436
|
case "svg":
|
10437
|
-
return
|
10437
|
+
return tn(2, null);
|
10438
10438
|
case "math":
|
10439
|
-
return
|
10439
|
+
return tn(3, null);
|
10440
10440
|
case "foreignObject":
|
10441
|
-
return
|
10441
|
+
return tn(1, null);
|
10442
10442
|
case "table":
|
10443
|
-
return
|
10443
|
+
return tn(4, null);
|
10444
10444
|
case "thead":
|
10445
10445
|
case "tbody":
|
10446
10446
|
case "tfoot":
|
10447
|
-
return
|
10447
|
+
return tn(5, null);
|
10448
10448
|
case "colgroup":
|
10449
|
-
return
|
10449
|
+
return tn(7, null);
|
10450
10450
|
case "tr":
|
10451
|
-
return
|
10451
|
+
return tn(6, null);
|
10452
10452
|
}
|
10453
|
-
return 4 <= e.insertionMode || e.insertionMode === 0 ?
|
10453
|
+
return 4 <= e.insertionMode || e.insertionMode === 0 ? tn(1, null) : e;
|
10454
10454
|
}
|
10455
10455
|
var sh = /* @__PURE__ */ new Map();
|
10456
10456
|
function yb(e, t, r) {
|
@@ -12963,7 +12963,12 @@ const ed = (e) => (t) => {
|
|
12963
12963
|
s,
|
12964
12964
|
a
|
12965
12965
|
);
|
12966
|
-
|
12966
|
+
qr({
|
12967
|
+
eventName: It.INVALID_FORM_SUBMIT,
|
12968
|
+
params: {
|
12969
|
+
fieldValidationErrors: JSON.stringify(a)
|
12970
|
+
}
|
12971
|
+
}), Mf(a, t), Qg(i);
|
12967
12972
|
}
|
12968
12973
|
}, hD = (e, t, r) => {
|
12969
12974
|
const n = r.formatHTMLMessage({
|
@@ -13027,7 +13032,7 @@ const ed = (e) => (t) => {
|
|
13027
13032
|
return (s.includes("preview") || s.includes("localhost")) && (o = n), `${o}/${e}/${t}/${r}/remember-me/`;
|
13028
13033
|
}, ie = (e, t = Ie()) => t.formFieldConfig.find((n) => n.fieldId === e), pn = ({ children: e, align: t }) => {
|
13029
13034
|
const r = wt(null);
|
13030
|
-
return
|
13035
|
+
return Mt(() => {
|
13031
13036
|
r.current && r.current.focus();
|
13032
13037
|
}, [r.current]), /* @__PURE__ */ u.jsx(
|
13033
13038
|
"div",
|
@@ -13142,7 +13147,7 @@ const ed = (e) => (t) => {
|
|
13142
13147
|
}
|
13143
13148
|
) }),
|
13144
13149
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-xl" })
|
13145
|
-
] }), CD = xD,
|
13150
|
+
] }), CD = xD, Et = (e) => e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`);
|
13146
13151
|
var Ho = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e.SECONDARY = "secondary", e))(Ho || {});
|
13147
13152
|
const fI = ({
|
13148
13153
|
verificationService: e,
|
@@ -13151,7 +13156,7 @@ const fI = ({
|
|
13151
13156
|
cancelButtonType: n = "primary"
|
13152
13157
|
/* PRIMARY */
|
13153
13158
|
}) => {
|
13154
|
-
const { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, i = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: c } = e.verificationResponse, d = Zo(), f =
|
13159
|
+
const { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, i = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: c } = e.verificationResponse, d = Zo(), f = Et(t);
|
13155
13160
|
let p;
|
13156
13161
|
const m = /* @__PURE__ */ u.jsx(
|
13157
13162
|
On,
|
@@ -13251,7 +13256,7 @@ const fI = ({
|
|
13251
13256
|
cancelSingleSignOn: n,
|
13252
13257
|
cancelButtonType: a = Ho.PRIMARY
|
13253
13258
|
}) => {
|
13254
|
-
const o =
|
13259
|
+
const o = Et(e);
|
13255
13260
|
return /* @__PURE__ */ u.jsxs("div", { className: "sid-header sid-l-horz-center", children: [
|
13256
13261
|
/* @__PURE__ */ u.jsx("div", { className: "sid-pending-logo-container sid-l-horz-center", children: r }),
|
13257
13262
|
/* @__PURE__ */ u.jsx(pn, { align: "center", children: t.title }),
|
@@ -13363,7 +13368,7 @@ const fI = ({
|
|
13363
13368
|
cancelThirdPartyLoop: r,
|
13364
13369
|
isMockingPreviousStepThirdPartyLoop: n
|
13365
13370
|
}) => {
|
13366
|
-
const a = n ?
|
13371
|
+
const a = n ? Yr(v0) : t == null ? void 0 : t.thirdPartyLoopProvider, o = pI[a] || void 0;
|
13367
13372
|
return o ? /* @__PURE__ */ u.jsx(
|
13368
13373
|
Jl,
|
13369
13374
|
{
|
@@ -13401,7 +13406,7 @@ const fI = ({
|
|
13401
13406
|
messages: wf
|
13402
13407
|
}
|
13403
13408
|
), AD = 5e3, ND = 2e4, OD = 5e3, DD = (e, t, r, n, a, o, s, i) => (e || !t && !r && !n) && !a && !o && !s && !i, kD = ({ verificationService: e, intl: t }) => {
|
13404
|
-
const { programId: r } = e, { viewModel: n } = e, a = e.previousViewModel || void 0, o = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: s } = e.verificationResponse, i = 20, l = Zo(), c =
|
13409
|
+
const { programId: r } = e, { viewModel: n } = e, a = e.previousViewModel || void 0, o = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: s } = e.verificationResponse, i = 20, l = Zo(), c = nn() && nn() === Le.sso, d = nn() && nn() === Le.thirdPartyLoop, f = nn() && nn() === Le.idCheckLoop, p = nn() && nn() === Le.docUpload, m = () => !!(o && o.currentStep === Le.sso), y = () => !!(o && o.currentStep === Le.thirdPartyLoop), h = () => !!(o && o.currentStep === Le.idCheckLoop), [v, M] = ee.useState(
|
13405
13410
|
DD(
|
13406
13411
|
Ie().mockStep === "pending",
|
13407
13412
|
m(),
|
@@ -13697,25 +13702,25 @@ const fI = ({
|
|
13697
13702
|
}, td = ze(GD), WD = {
|
13698
13703
|
StepPendingComponent: _D,
|
13699
13704
|
StepErrorComponent: td,
|
13700
|
-
StepStudentPersonalInfoComponent: ee.lazy(() => import("./index-
|
13701
|
-
StepOverrideComponent: ee.lazy(() => import("./index-
|
13702
|
-
StepAgePersonalInfoComponent: ee.lazy(() => import("./index-
|
13703
|
-
StepSeniorPersonalInfoComponent: ee.lazy(() => import("./index-
|
13705
|
+
StepStudentPersonalInfoComponent: ee.lazy(() => import("./index-GSRwQMPe.js")),
|
13706
|
+
StepOverrideComponent: ee.lazy(() => import("./index-BjHfv8dl.js")),
|
13707
|
+
StepAgePersonalInfoComponent: ee.lazy(() => import("./index-BGG4-eSW.js")),
|
13708
|
+
StepSeniorPersonalInfoComponent: ee.lazy(() => import("./index-BGG4-eSW.js")),
|
13704
13709
|
StepActiveMilitaryPersonalInfoComponent: ee.lazy(
|
13705
13710
|
() => Promise.resolve().then(() => YF)
|
13706
13711
|
),
|
13707
13712
|
StepCollectMilitaryStatusComponent: ee.lazy(
|
13708
|
-
() => import("./StepCollectMilitaryStatusComponent-
|
13713
|
+
() => import("./StepCollectMilitaryStatusComponent-DDTELGtg.js")
|
13709
13714
|
),
|
13710
13715
|
StepInactiveMilitaryPersonalInfoComponent: ee.lazy(
|
13711
|
-
() => import("./StepInactiveMilitaryPersonalInfoComponent-
|
13716
|
+
() => import("./StepInactiveMilitaryPersonalInfoComponent-DyVGxkil.js")
|
13712
13717
|
),
|
13713
13718
|
StepDriverLicensePersonalInfoComponent: ee.lazy(
|
13714
13719
|
() => Promise.resolve().then(() => r$)
|
13715
13720
|
),
|
13716
|
-
StepEmploymentPersonalInfoComponent: ee.lazy(() => import("./index-
|
13721
|
+
StepEmploymentPersonalInfoComponent: ee.lazy(() => import("./index-DnzWG-zK.js")),
|
13717
13722
|
StepFirstResponderPersonalInfoComponent: ee.lazy(
|
13718
|
-
() => import("./index-
|
13723
|
+
() => import("./index-BZB6rx_i.js")
|
13719
13724
|
),
|
13720
13725
|
StepGeneralIdentityPersonalInfoComponent: ee.lazy(
|
13721
13726
|
() => Promise.resolve().then(() => n$)
|
@@ -13723,29 +13728,29 @@ const fI = ({
|
|
13723
13728
|
StepHybridIdentityPersonalInfoComponent: ee.lazy(
|
13724
13729
|
() => Promise.resolve().then(() => a$)
|
13725
13730
|
),
|
13726
|
-
StepIDCheckLoopComponent: ee.lazy(() => import("./index-
|
13731
|
+
StepIDCheckLoopComponent: ee.lazy(() => import("./index-BFQec87Y.js")),
|
13727
13732
|
StepLicensedProfessionalPersonalInfoComponent: ee.lazy(
|
13728
|
-
() => import("./index-
|
13733
|
+
() => import("./index-HkVmx6UM.js")
|
13729
13734
|
),
|
13730
|
-
StepLowIncomePersonalInfoComponent: ee.lazy(() => import("./index-
|
13735
|
+
StepLowIncomePersonalInfoComponent: ee.lazy(() => import("./index-CvpSQuMF.js")),
|
13731
13736
|
StepMedicalProfessionalPersonalInfoComponent: ee.lazy(
|
13732
|
-
() => import("./index-
|
13737
|
+
() => import("./index-GynW23rm.js")
|
13733
13738
|
),
|
13734
|
-
StepMemberPersonalInfoComponent: ee.lazy(() => import("./index-
|
13735
|
-
StepConsolationComponent: ee.lazy(() => import("./index-
|
13736
|
-
StepDocUploadComponent: ee.lazy(() => import("./index-
|
13737
|
-
StepEmailLoopComponent: ee.lazy(() => import("./index-
|
13738
|
-
StepPendingEmailLoopComponent: ee.lazy(() => import("./EmailLoopPending-
|
13739
|
-
StepMoverPersonalInfoComponent: ee.lazy(() => import("./index-
|
13740
|
-
StepSMSLoopComponent: ee.lazy(() => import("./index-
|
13741
|
-
StepSocialSecurity: ee.lazy(() => import("./index-
|
13742
|
-
StepSSOComponent: ee.lazy(() => import("./index-
|
13743
|
-
StepSuccessComponent: ee.lazy(() => import("./index-
|
13744
|
-
StepTeacherPersonalInfoComponent: ee.lazy(() => import("./index-
|
13745
|
-
StepCompleteAuthentication: ee.lazy(() => import("./index-
|
13746
|
-
StepCollectIdentifierComponent: ee.lazy(() => import("./index-
|
13747
|
-
StepCollectPersonalInfo: ee.lazy(() => import("./index-
|
13748
|
-
StepThirdPartyLoopComponent: ee.lazy(() => import("./index-
|
13739
|
+
StepMemberPersonalInfoComponent: ee.lazy(() => import("./index-DoGwOM4c.js")),
|
13740
|
+
StepConsolationComponent: ee.lazy(() => import("./index-Co1axwsC.js")),
|
13741
|
+
StepDocUploadComponent: ee.lazy(() => import("./index-D14OVclA.js")),
|
13742
|
+
StepEmailLoopComponent: ee.lazy(() => import("./index-XEJe5RvW.js")),
|
13743
|
+
StepPendingEmailLoopComponent: ee.lazy(() => import("./EmailLoopPending-BE_De6Tx.js")),
|
13744
|
+
StepMoverPersonalInfoComponent: ee.lazy(() => import("./index-wYIO-QSJ.js")),
|
13745
|
+
StepSMSLoopComponent: ee.lazy(() => import("./index-DnEaVDvq.js")),
|
13746
|
+
StepSocialSecurity: ee.lazy(() => import("./index-Y27hMIeU.js")),
|
13747
|
+
StepSSOComponent: ee.lazy(() => import("./index-CZOLRTeH.js")),
|
13748
|
+
StepSuccessComponent: ee.lazy(() => import("./index-BaWK4IwT.js")),
|
13749
|
+
StepTeacherPersonalInfoComponent: ee.lazy(() => import("./index-C_ZhLmx8.js")),
|
13750
|
+
StepCompleteAuthentication: ee.lazy(() => import("./index-CdRJ0N3E.js")),
|
13751
|
+
StepCollectIdentifierComponent: ee.lazy(() => import("./index-D0gFTmpL.js")),
|
13752
|
+
StepCollectPersonalInfo: ee.lazy(() => import("./index-CvWITFn3.js")),
|
13753
|
+
StepThirdPartyLoopComponent: ee.lazy(() => import("./index-IHeM7MeN.js"))
|
13749
13754
|
}, Xe = (e) => {
|
13750
13755
|
A.info("getComponent", e);
|
13751
13756
|
const t = sP(e);
|
@@ -13753,7 +13758,7 @@ const fI = ({
|
|
13753
13758
|
}, qD = () => /* @__PURE__ */ u.jsx(Fl, {}), KD = ({ stepToLoad: e, verificationService: t }) => {
|
13754
13759
|
A.info(`LoadStepComponent: rendering step: ${e}`);
|
13755
13760
|
let r;
|
13756
|
-
switch (
|
13761
|
+
switch (Mt(() => {
|
13757
13762
|
try {
|
13758
13763
|
performance.mark(Er.INITIAL_STEP_LOAD);
|
13759
13764
|
} catch {
|
@@ -13761,8 +13766,8 @@ const fI = ({
|
|
13761
13766
|
}, []), ee.useEffect(() => {
|
13762
13767
|
if (!["pending", "error"].includes(e))
|
13763
13768
|
try {
|
13764
|
-
performance.mark(
|
13765
|
-
eventName:
|
13769
|
+
performance.mark(It.STEP_SEEN), qr({
|
13770
|
+
eventName: It.STEP_SEEN,
|
13766
13771
|
params: {
|
13767
13772
|
step: e
|
13768
13773
|
}
|
@@ -15113,7 +15118,7 @@ function mr(e) {
|
|
15113
15118
|
var t;
|
15114
15119
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
15115
15120
|
}
|
15116
|
-
function
|
15121
|
+
function Zr(e) {
|
15117
15122
|
var t;
|
15118
15123
|
return (t = (TI(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
15119
15124
|
}
|
@@ -15123,7 +15128,7 @@ function TI(e) {
|
|
15123
15128
|
function kr(e) {
|
15124
15129
|
return Ql() ? e instanceof Element || e instanceof mr(e).Element : !1;
|
15125
15130
|
}
|
15126
|
-
function
|
15131
|
+
function Kr(e) {
|
15127
15132
|
return Ql() ? e instanceof HTMLElement || e instanceof mr(e).HTMLElement : !1;
|
15128
15133
|
}
|
15129
15134
|
function cg(e) {
|
@@ -15156,7 +15161,7 @@ function Pf(e) {
|
|
15156
15161
|
}
|
15157
15162
|
function n_(e) {
|
15158
15163
|
let t = Ln(e);
|
15159
|
-
for (;
|
15164
|
+
for (; Kr(t) && !Ka(t); ) {
|
15160
15165
|
if (Pf(t))
|
15161
15166
|
return t;
|
15162
15167
|
if (ec(t))
|
@@ -15191,13 +15196,13 @@ function Ln(e) {
|
|
15191
15196
|
e.assignedSlot || // DOM Element detected.
|
15192
15197
|
e.parentNode || // ShadowRoot detected.
|
15193
15198
|
cg(e) && e.host || // Fallback.
|
15194
|
-
|
15199
|
+
Zr(e)
|
15195
15200
|
);
|
15196
15201
|
return cg(t) ? t.host : t;
|
15197
15202
|
}
|
15198
15203
|
function PI(e) {
|
15199
15204
|
const t = Ln(e);
|
15200
|
-
return Ka(t) ? e.ownerDocument ? e.ownerDocument.body : e.body :
|
15205
|
+
return Ka(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Kr(t) && ns(t) ? t : PI(t);
|
15201
15206
|
}
|
15202
15207
|
function Go(e, t, r) {
|
15203
15208
|
var n;
|
@@ -15215,7 +15220,7 @@ function od(e) {
|
|
15215
15220
|
function RI(e) {
|
15216
15221
|
const t = _r(e);
|
15217
15222
|
let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
|
15218
|
-
const a =
|
15223
|
+
const a = Kr(e), o = a ? e.offsetWidth : r, s = a ? e.offsetHeight : n, i = Gi(r) !== o || Gi(n) !== s;
|
15219
15224
|
return i && (r = o, n = s), {
|
15220
15225
|
width: r,
|
15221
15226
|
height: n,
|
@@ -15227,7 +15232,7 @@ function Af(e) {
|
|
15227
15232
|
}
|
15228
15233
|
function Ba(e) {
|
15229
15234
|
const t = Af(e);
|
15230
|
-
if (!
|
15235
|
+
if (!Kr(t))
|
15231
15236
|
return Wr(1);
|
15232
15237
|
const r = t.getBoundingClientRect(), {
|
15233
15238
|
width: n,
|
@@ -15275,7 +15280,7 @@ function oa(e, t, r, n) {
|
|
15275
15280
|
}
|
15276
15281
|
function Nf(e, t) {
|
15277
15282
|
const r = tc(e).scrollLeft;
|
15278
|
-
return t ? t.left + r : oa(
|
15283
|
+
return t ? t.left + r : oa(Zr(e)).left + r;
|
15279
15284
|
}
|
15280
15285
|
function NI(e, t, r) {
|
15281
15286
|
r === void 0 && (r = !1);
|
@@ -15295,15 +15300,15 @@ function s_(e) {
|
|
15295
15300
|
offsetParent: n,
|
15296
15301
|
strategy: a
|
15297
15302
|
} = e;
|
15298
|
-
const o = a === "fixed", s =
|
15303
|
+
const o = a === "fixed", s = Zr(n), i = t ? ec(t.floating) : !1;
|
15299
15304
|
if (n === s || i && o)
|
15300
15305
|
return r;
|
15301
15306
|
let l = {
|
15302
15307
|
scrollLeft: 0,
|
15303
15308
|
scrollTop: 0
|
15304
15309
|
}, c = Wr(1);
|
15305
|
-
const d = Wr(0), f =
|
15306
|
-
if ((f || !f && !o) && ((to(n) !== "body" || ns(s)) && (l = tc(n)),
|
15310
|
+
const d = Wr(0), f = Kr(n);
|
15311
|
+
if ((f || !f && !o) && ((to(n) !== "body" || ns(s)) && (l = tc(n)), Kr(n))) {
|
15307
15312
|
const m = oa(n);
|
15308
15313
|
c = Ba(n), d.x = m.x + n.clientLeft, d.y = m.y + n.clientTop;
|
15309
15314
|
}
|
@@ -15319,7 +15324,7 @@ function i_(e) {
|
|
15319
15324
|
return Array.from(e.getClientRects());
|
15320
15325
|
}
|
15321
15326
|
function l_(e) {
|
15322
|
-
const t =
|
15327
|
+
const t = Zr(e), r = tc(e), n = e.ownerDocument.body, a = pr(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), o = pr(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
15323
15328
|
let s = -r.scrollLeft + Nf(e);
|
15324
15329
|
const i = -r.scrollTop;
|
15325
15330
|
return _r(n).direction === "rtl" && (s += pr(t.clientWidth, n.clientWidth) - a), {
|
@@ -15330,7 +15335,7 @@ function l_(e) {
|
|
15330
15335
|
};
|
15331
15336
|
}
|
15332
15337
|
function c_(e, t) {
|
15333
|
-
const r = mr(e), n =
|
15338
|
+
const r = mr(e), n = Zr(e), a = r.visualViewport;
|
15334
15339
|
let o = n.clientWidth, s = n.clientHeight, i = 0, l = 0;
|
15335
15340
|
if (a) {
|
15336
15341
|
o = a.width, s = a.height;
|
@@ -15345,7 +15350,7 @@ function c_(e, t) {
|
|
15345
15350
|
};
|
15346
15351
|
}
|
15347
15352
|
function u_(e, t) {
|
15348
|
-
const r = oa(e, !0, t === "fixed"), n = r.top + e.clientTop, a = r.left + e.clientLeft, o =
|
15353
|
+
const r = oa(e, !0, t === "fixed"), n = r.top + e.clientTop, a = r.left + e.clientLeft, o = Kr(e) ? Ba(e) : Wr(1), s = e.clientWidth * o.x, i = e.clientHeight * o.y, l = a * o.x, c = n * o.y;
|
15349
15354
|
return {
|
15350
15355
|
width: s,
|
15351
15356
|
height: i,
|
@@ -15358,7 +15363,7 @@ function ug(e, t, r) {
|
|
15358
15363
|
if (t === "viewport")
|
15359
15364
|
n = c_(e, r);
|
15360
15365
|
else if (t === "document")
|
15361
|
-
n = l_(
|
15366
|
+
n = l_(Zr(e));
|
15362
15367
|
else if (kr(t))
|
15363
15368
|
n = u_(t, r);
|
15364
15369
|
else {
|
@@ -15418,7 +15423,7 @@ function p_(e) {
|
|
15418
15423
|
};
|
15419
15424
|
}
|
15420
15425
|
function m_(e, t, r) {
|
15421
|
-
const n =
|
15426
|
+
const n = Kr(t), a = Zr(t), o = r === "fixed", s = oa(e, !0, o, t);
|
15422
15427
|
let i = {
|
15423
15428
|
scrollLeft: 0,
|
15424
15429
|
scrollTop: 0
|
@@ -15441,18 +15446,18 @@ function Iu(e) {
|
|
15441
15446
|
return _r(e).position === "static";
|
15442
15447
|
}
|
15443
15448
|
function dg(e, t) {
|
15444
|
-
if (!
|
15449
|
+
if (!Kr(e) || _r(e).position === "fixed")
|
15445
15450
|
return null;
|
15446
15451
|
if (t)
|
15447
15452
|
return t(e);
|
15448
15453
|
let r = e.offsetParent;
|
15449
|
-
return
|
15454
|
+
return Zr(e) === r && (r = r.ownerDocument.body), r;
|
15450
15455
|
}
|
15451
15456
|
function DI(e, t) {
|
15452
15457
|
const r = mr(e);
|
15453
15458
|
if (ec(e))
|
15454
15459
|
return r;
|
15455
|
-
if (!
|
15460
|
+
if (!Kr(e)) {
|
15456
15461
|
let a = Ln(e);
|
15457
15462
|
for (; a && !Ka(a); ) {
|
15458
15463
|
if (kr(a) && !Iu(a))
|
@@ -15483,7 +15488,7 @@ function g_(e) {
|
|
15483
15488
|
}
|
15484
15489
|
const y_ = {
|
15485
15490
|
convertOffsetParentRelativeRectToViewportRelativeRect: s_,
|
15486
|
-
getDocumentElement:
|
15491
|
+
getDocumentElement: Zr,
|
15487
15492
|
getClippingRect: f_,
|
15488
15493
|
getOffsetParent: DI,
|
15489
15494
|
getElementRects: h_,
|
@@ -15498,7 +15503,7 @@ function kI(e, t) {
|
|
15498
15503
|
}
|
15499
15504
|
function v_(e, t) {
|
15500
15505
|
let r = null, n;
|
15501
|
-
const a =
|
15506
|
+
const a = Zr(e);
|
15502
15507
|
function o() {
|
15503
15508
|
var i;
|
15504
15509
|
clearTimeout(n), (i = r) == null || i.disconnect(), r = null;
|
@@ -15591,7 +15596,7 @@ const I_ = Jk, S_ = Qk, M_ = Yk, E_ = t_, w_ = Zk, fg = Kk, x_ = e_, C_ = (e, t,
|
|
15591
15596
|
platform: o
|
15592
15597
|
});
|
15593
15598
|
};
|
15594
|
-
var mi = typeof document < "u" ? Fg :
|
15599
|
+
var mi = typeof document < "u" ? Fg : Mt;
|
15595
15600
|
function Ki(e, t) {
|
15596
15601
|
if (e === t)
|
15597
15602
|
return !0;
|
@@ -17338,7 +17343,7 @@ const I3 = ee.forwardRef(
|
|
17338
17343
|
} catch (n) {
|
17339
17344
|
A.warn("Failed to add predefined hooks", n);
|
17340
17345
|
}
|
17341
|
-
return
|
17346
|
+
return Mt(() => {
|
17342
17347
|
L0();
|
17343
17348
|
}), Gs.dispatch({ programId: e, type: "PROGRAM_ID" }), r && (r.current = {
|
17344
17349
|
refresh: ee.useCallback(() => Gs.dispatch({ type: "FORCE_UPDATE" }), []),
|
@@ -17361,7 +17366,7 @@ const I3 = ee.forwardRef(
|
|
17361
17366
|
let d = "";
|
17362
17367
|
r && (d += `${r} `), d += "sid-text-input sid-l-full-width", n && (d += " sid-hidden-placeholder"), o && (d += " sid-text-input--required"), t && (d += " sid-text-input--error");
|
17363
17368
|
const f = a || e, p = wt(null);
|
17364
|
-
return
|
17369
|
+
return Mt(() => {
|
17365
17370
|
Un(f, p.current);
|
17366
17371
|
}), /* @__PURE__ */ u.jsx(
|
17367
17372
|
"input",
|
@@ -17398,7 +17403,7 @@ nc.defaultProps = {
|
|
17398
17403
|
isRequired: !0,
|
17399
17404
|
children: null
|
17400
17405
|
};
|
17401
|
-
const gS = (e) => `sid-${
|
17406
|
+
const gS = (e) => `sid-${Et(e)}-label`, EU = (e) => `sid-${Et(e)}-error`, os = ({
|
17402
17407
|
fieldId: e,
|
17403
17408
|
label: t,
|
17404
17409
|
errorMessage: r,
|
@@ -17408,7 +17413,7 @@ const gS = (e) => `sid-${Mt(e)}-label`, EU = (e) => `sid-${Mt(e)}-error`, os = (
|
|
17408
17413
|
explanation: s = void 0,
|
17409
17414
|
containerId: i = void 0
|
17410
17415
|
}) => {
|
17411
|
-
const l = gS(e), c = EU(e), d = i || `sid-${
|
17416
|
+
const l = gS(e), c = EU(e), d = i || `sid-${Et(e)}`;
|
17412
17417
|
return /* @__PURE__ */ u.jsxs("div", { className: `sid-field ${d}`, children: [
|
17413
17418
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-md" }),
|
17414
17419
|
/* @__PURE__ */ u.jsx(
|
@@ -17416,7 +17421,7 @@ const gS = (e) => `sid-${Mt(e)}-label`, EU = (e) => `sid-${Mt(e)}-error`, os = (
|
|
17416
17421
|
{
|
17417
17422
|
text: t,
|
17418
17423
|
isRequired: n,
|
17419
|
-
htmlForLabel: `sid-${
|
17424
|
+
htmlForLabel: `sid-${Et(e)}`,
|
17420
17425
|
id: l,
|
17421
17426
|
displayClasses: `${s ? "sid-field__label-with-explanation" : ""}${s && a ? " " : ""}${a ? "sid-h-screen-reader-only" : ""}`,
|
17422
17427
|
children: s && s
|
@@ -17437,7 +17442,7 @@ const gS = (e) => `sid-${Mt(e)}-label`, EU = (e) => `sid-${Mt(e)}-error`, os = (
|
|
17437
17442
|
explanation: l = "",
|
17438
17443
|
...c
|
17439
17444
|
}) => {
|
17440
|
-
const d = `sid-${
|
17445
|
+
const d = `sid-${Et(e)}-error`;
|
17441
17446
|
return /* @__PURE__ */ u.jsx(
|
17442
17447
|
os,
|
17443
17448
|
{
|
@@ -17450,7 +17455,7 @@ const gS = (e) => `sid-${Mt(e)}-label`, EU = (e) => `sid-${Mt(e)}-error`, os = (
|
|
17450
17455
|
children: /* @__PURE__ */ u.jsx(
|
17451
17456
|
Wo,
|
17452
17457
|
{
|
17453
|
-
id:
|
17458
|
+
id: Et(e),
|
17454
17459
|
value: t,
|
17455
17460
|
onChange: (f) => r(f.target.value),
|
17456
17461
|
placeholder: s ? n : "",
|
@@ -17729,7 +17734,7 @@ function MS(e, t) {
|
|
17729
17734
|
}
|
17730
17735
|
return a.cancel = n, a;
|
17731
17736
|
}
|
17732
|
-
function
|
17737
|
+
function rn() {
|
17733
17738
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
17734
17739
|
t[r] = arguments[r];
|
17735
17740
|
return function(n) {
|
@@ -17844,7 +17849,7 @@ function HU(e, t) {
|
|
17844
17849
|
}
|
17845
17850
|
var Eg = MS(function(e, t) {
|
17846
17851
|
FU(e, t);
|
17847
|
-
}, 200), zU = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Fg :
|
17852
|
+
}, 200), zU = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Fg : Mt, GU = "useId" in ee ? function(t) {
|
17848
17853
|
var r = t.id, n = t.labelId, a = t.menuId, o = t.getItemId, s = t.toggleButtonId, i = t.inputId, l = "downshift-" + ee.useId();
|
17849
17854
|
r || (r = l);
|
17850
17855
|
var c = wt({
|
@@ -17898,7 +17903,7 @@ function qU(e, t, r, n) {
|
|
17898
17903
|
props: d.current
|
17899
17904
|
}, m));
|
17900
17905
|
}, [d]), p = o.current;
|
17901
|
-
return
|
17906
|
+
return Mt(function() {
|
17902
17907
|
var m = id(a.current, p == null ? void 0 : p.props), y = p && a.current && !n(m, l);
|
17903
17908
|
y && BU(p, m, l), a.current = l;
|
17904
17909
|
}, [l, p, n]), [l, f];
|
@@ -17953,7 +17958,7 @@ function YU(e, t, r) {
|
|
17953
17958
|
isTouchMove: !1,
|
17954
17959
|
isTouchEnd: !1
|
17955
17960
|
});
|
17956
|
-
return
|
17961
|
+
return Mt(function() {
|
17957
17962
|
if (!e)
|
17958
17963
|
return SS;
|
17959
17964
|
var a = r.map(function(d) {
|
@@ -17985,12 +17990,12 @@ var ZU = function() {
|
|
17985
17990
|
function XU(e, t, r, n) {
|
17986
17991
|
n === void 0 && (n = {});
|
17987
17992
|
var a = n.document, o = $f();
|
17988
|
-
|
17993
|
+
Mt(function() {
|
17989
17994
|
if (!(!e || o || !a)) {
|
17990
17995
|
var s = e(t);
|
17991
17996
|
Eg(s, a);
|
17992
17997
|
}
|
17993
|
-
}, r),
|
17998
|
+
}, r), Mt(function() {
|
17994
17999
|
return function() {
|
17995
18000
|
Eg.cancel(), $U(a);
|
17996
18001
|
};
|
@@ -18174,7 +18179,7 @@ ut({}, TS, {
|
|
18174
18179
|
});
|
18175
18180
|
function nj(e, t, r, n) {
|
18176
18181
|
var a = wt(), o = qU(e, t, r, n), s = o[0], i = o[1], l = $f();
|
18177
|
-
return
|
18182
|
+
return Mt(function() {
|
18178
18183
|
if (ES(t, "selectedItem")) {
|
18179
18184
|
if (!l) {
|
18180
18185
|
var c = t.itemToKey(t.selectedItem) !== t.itemToKey(a.current);
|
@@ -18308,10 +18313,10 @@ function ea(e) {
|
|
18308
18313
|
scrollIntoView: n,
|
18309
18314
|
getItemNodeFromIndex: x
|
18310
18315
|
});
|
18311
|
-
|
18316
|
+
Mt(function() {
|
18312
18317
|
var K = To(t, "isOpen");
|
18313
18318
|
K && h.current && h.current.focus();
|
18314
|
-
}, []),
|
18319
|
+
}, []), Mt(function() {
|
18315
18320
|
M || (E.current = r.length);
|
18316
18321
|
});
|
18317
18322
|
var T = YU(a, Lt(function() {
|
@@ -18322,9 +18327,9 @@ function ea(e) {
|
|
18322
18327
|
}, [l, b]), dp(function() {
|
18323
18328
|
return [m, v, h];
|
18324
18329
|
}, [m.current, v.current, h.current])), B = ZU();
|
18325
|
-
|
18330
|
+
Mt(function() {
|
18326
18331
|
c || (y.current = {});
|
18327
|
-
}, [c]),
|
18332
|
+
}, [c]), Mt(function() {
|
18328
18333
|
var K;
|
18329
18334
|
!c || !(a != null && a.document) || !(h != null && (K = h.current) != null && K.focus) || a.document.activeElement !== h.current && h.current.focus();
|
18330
18335
|
}, [c, a]);
|
@@ -18384,7 +18389,7 @@ function ea(e) {
|
|
18384
18389
|
var z, w = K === void 0 ? {} : K, be = w.onMouseLeave, me = w.refKey, Se = me === void 0 ? "ref" : me, _e = w.ref, Pe = ka(w, sj), Fe = X === void 0 ? {} : X;
|
18385
18390
|
return Fe.suppressRefError, ut((z = {}, z[Se] = Ks(_e, function(Ce) {
|
18386
18391
|
m.current = Ce;
|
18387
|
-
}), z.id = I.menuId, z.role = "listbox", z["aria-labelledby"] = Pe && Pe["aria-label"] ? void 0 : "" + I.labelId, z.onMouseLeave =
|
18392
|
+
}), z.id = I.menuId, z.role = "listbox", z["aria-labelledby"] = Pe && Pe["aria-label"] ? void 0 : "" + I.labelId, z.onMouseLeave = rn(be, function() {
|
18388
18393
|
l({
|
18389
18394
|
type: PS
|
18390
18395
|
});
|
@@ -18410,9 +18415,9 @@ function ea(e) {
|
|
18410
18415
|
};
|
18411
18416
|
return ut((X = {}, X[_e] = Ks(Pe, function(Ye) {
|
18412
18417
|
Ye && (y.current[I.getItemId(se)] = Ye);
|
18413
|
-
}), X["aria-disabled"] = Me, X["aria-selected"] = se === oe.highlightedIndex, X.id = I.getItemId(se), X.role = "option", X), !Me && (z = {}, z[le] =
|
18414
|
-
onMouseMove:
|
18415
|
-
onMouseDown:
|
18418
|
+
}), X["aria-disabled"] = Me, X["aria-selected"] = se === oe.highlightedIndex, X.id = I.getItemId(se), X.role = "option", X), !Me && (z = {}, z[le] = rn(ye, pe), z), {
|
18419
|
+
onMouseMove: rn(Fe, De),
|
18420
|
+
onMouseDown: rn(Ce, Ee)
|
18416
18421
|
}, C);
|
18417
18422
|
}, [l, I, b, T, F]), ce = Lt(function(K) {
|
18418
18423
|
var X, z = K === void 0 ? {} : K, w = z.onClick;
|
@@ -18425,7 +18430,7 @@ function ea(e) {
|
|
18425
18430
|
return ut((X = {}, X[me] = Ks(Se, function(Ce) {
|
18426
18431
|
v.current = Ce;
|
18427
18432
|
}), X["aria-controls"] = I.menuId, X["aria-expanded"] = Pe.isOpen, X.id = I.toggleButtonId, X.tabIndex = -1, X), !_e.disabled && ut({}, {
|
18428
|
-
onClick:
|
18433
|
+
onClick: rn(w, Fe)
|
18429
18434
|
}), _e);
|
18430
18435
|
}, [l, b, I]), $ = Lt(function(K, X) {
|
18431
18436
|
var z, w = K === void 0 ? {} : K, be = w.onKeyDown, me = w.onChange, Se = w.onInput, _e = w.onBlur;
|
@@ -18455,7 +18460,7 @@ function ea(e) {
|
|
18455
18460
|
}, se = "onChange", Me = {};
|
18456
18461
|
if (!qe.disabled) {
|
18457
18462
|
var le;
|
18458
|
-
Me = (le = {}, le[se] =
|
18463
|
+
Me = (le = {}, le[se] = rn(me, Se, oe), le.onKeyDown = rn(be, j), le.onBlur = rn(_e, J), le.onClick = rn(Pe, he), le);
|
18459
18464
|
}
|
18460
18465
|
return ut((z = {}, z[Ce] = Ks($e, function(ye) {
|
18461
18466
|
h.current = ye;
|
@@ -18630,7 +18635,7 @@ const uj = ({
|
|
18630
18635
|
}), ce = (G) => {
|
18631
18636
|
typeof i == "function" && i(G);
|
18632
18637
|
}, $ = wt(null);
|
18633
|
-
return
|
18638
|
+
return Mt(() => {
|
18634
18639
|
Un(n, $.current);
|
18635
18640
|
}), /* @__PURE__ */ u.jsxs("div", { className: `sid-input-select-list ${e || ""}`, children: [
|
18636
18641
|
/* @__PURE__ */ u.jsx(
|
@@ -18922,7 +18927,7 @@ const gj = ({
|
|
18922
18927
|
refId: h = "status",
|
18923
18928
|
suppressPlaceholder: v = !0
|
18924
18929
|
}) => {
|
18925
|
-
const M = `sid-${
|
18930
|
+
const M = `sid-${Et(e)}`, I = `sid-${Et(e)}-error`;
|
18926
18931
|
return /* @__PURE__ */ u.jsx(
|
18927
18932
|
os,
|
18928
18933
|
{
|
@@ -19340,14 +19345,14 @@ const Dj = 42, kj = 26, _j = ({
|
|
19340
19345
|
}
|
19341
19346
|
try {
|
19342
19347
|
const s = n || po(r) || "", i = {
|
19343
|
-
eventName:
|
19348
|
+
eventName: It.ORGS_DISPLAYED,
|
19344
19349
|
params: {
|
19345
19350
|
queryLength: s.length,
|
19346
19351
|
eventDuration: Date.now() - a,
|
19347
19352
|
numberOfResults: o == null ? void 0 : o.length
|
19348
19353
|
}
|
19349
19354
|
};
|
19350
|
-
|
19355
|
+
qr(i);
|
19351
19356
|
} catch (s) {
|
19352
19357
|
A.error(s);
|
19353
19358
|
}
|
@@ -19491,7 +19496,7 @@ const Fj = ud, $j = (e, t, r) => {
|
|
19491
19496
|
onSelectedItemChange: ({ selectedItem: H }) => {
|
19492
19497
|
try {
|
19493
19498
|
const q = {
|
19494
|
-
eventName:
|
19499
|
+
eventName: It.ORG_SELECTED,
|
19495
19500
|
params: {
|
19496
19501
|
[Er.QUERY_LENGTH]: v.length,
|
19497
19502
|
[Er.NUMBER_REWORKS]: b,
|
@@ -19500,7 +19505,7 @@ const Fj = ud, $j = (e, t, r) => {
|
|
19500
19505
|
[Er.NUMBER_OF_RESULTS]: I.length
|
19501
19506
|
}
|
19502
19507
|
};
|
19503
|
-
|
19508
|
+
qr(q);
|
19504
19509
|
} catch (q) {
|
19505
19510
|
A.error(q);
|
19506
19511
|
}
|
@@ -19509,7 +19514,7 @@ const Fj = ud, $j = (e, t, r) => {
|
|
19509
19514
|
}), $ = () => {
|
19510
19515
|
try {
|
19511
19516
|
const H = {
|
19512
|
-
eventName:
|
19517
|
+
eventName: It.ASR_SELECTED,
|
19513
19518
|
params: {
|
19514
19519
|
[Er.QUERY_LENGTH]: v.length,
|
19515
19520
|
[Er.NUMBER_REWORKS]: b,
|
@@ -19517,12 +19522,12 @@ const Fj = ud, $j = (e, t, r) => {
|
|
19517
19522
|
[Er.NUMBER_OF_RESULTS]: I.length
|
19518
19523
|
}
|
19519
19524
|
};
|
19520
|
-
|
19525
|
+
qr(H);
|
19521
19526
|
} catch (H) {
|
19522
19527
|
A.error(H);
|
19523
19528
|
}
|
19524
19529
|
}, G = wt(null);
|
19525
|
-
return
|
19530
|
+
return Mt(() => {
|
19526
19531
|
Un("organization", G.current);
|
19527
19532
|
}), /* @__PURE__ */ u.jsxs("div", { className: "sid-organization-list", children: [
|
19528
19533
|
/* @__PURE__ */ u.jsx(
|
@@ -19573,7 +19578,7 @@ const Fj = ud, $j = (e, t, r) => {
|
|
19573
19578
|
urlAddSchoolForm: f,
|
19574
19579
|
disabled: p = !1
|
19575
19580
|
}) => {
|
19576
|
-
const m = `sid-${
|
19581
|
+
const m = `sid-${Et(e)}`, y = `sid-${Et(e)}-error`, { programId: h, programTheme: v, verificationResponse: M, viewModel: I } = r, E = ve(() => I.countryChoice.value), b = FS(v, E), x = Wt(I, M);
|
19577
19582
|
return /* @__PURE__ */ u.jsx(
|
19578
19583
|
os,
|
19579
19584
|
{
|
@@ -20225,11 +20230,11 @@ var Kj = function(e) {
|
|
20225
20230
|
}
|
20226
20231
|
return W.set(S, U), this;
|
20227
20232
|
};
|
20228
|
-
var
|
20229
|
-
return S && mn(S, U,
|
20233
|
+
var Xr, bt = (Xr = function(S, U) {
|
20234
|
+
return S && mn(S, U, Qr);
|
20230
20235
|
}, function(S, U) {
|
20231
20236
|
if (S == null) return S;
|
20232
|
-
if (!Ar(S)) return
|
20237
|
+
if (!Ar(S)) return Xr(S, U);
|
20233
20238
|
for (var W = S.length, Q = -1, xe = Object(S); ++Q < W && U(xe[Q], Q, xe) !== !1; ) ;
|
20234
20239
|
return S;
|
20235
20240
|
}), mn = /* @__PURE__ */ function(S) {
|
@@ -20253,7 +20258,7 @@ var Kj = function(e) {
|
|
20253
20258
|
var br = Dt(Te), kt = Dt(Be), Ct = "[object Array]", Pt = "[object Array]";
|
20254
20259
|
br || (Ct = (Ct = L(Te)) == o ? i : Ct), kt || (Pt = (Pt = L(Be)) == o ? i : Pt);
|
20255
20260
|
var Or = Ct == i && !ne(Te), ma = Pt == i && !ne(Be), gn = Ct == Pt;
|
20256
|
-
if (gn && !Or) return Je || (Je = new xt()), br || hs(Te) ? g(Te, Be, mt, ht, at, Je) : function(lt, tt, Ic, Vn, gs, ar,
|
20261
|
+
if (gn && !Or) return Je || (Je = new xt()), br || hs(Te) ? g(Te, Be, mt, ht, at, Je) : function(lt, tt, Ic, Vn, gs, ar, en) {
|
20257
20262
|
switch (Ic) {
|
20258
20263
|
case "[object DataView]":
|
20259
20264
|
if (lt.byteLength != tt.byteLength || lt.byteOffset != tt.byteOffset) return !1;
|
@@ -20274,11 +20279,11 @@ var Kj = function(e) {
|
|
20274
20279
|
case l:
|
20275
20280
|
var so = 2 & ar;
|
20276
20281
|
if (yn || (yn = $), lt.size != tt.size && !so) return !1;
|
20277
|
-
var ys =
|
20282
|
+
var ys = en.get(lt);
|
20278
20283
|
if (ys) return ys == tt;
|
20279
|
-
ar |= 1,
|
20280
|
-
var ha = g(yn(lt), yn(tt), Vn, gs, ar,
|
20281
|
-
return
|
20284
|
+
ar |= 1, en.set(lt, tt);
|
20285
|
+
var ha = g(yn(lt), yn(tt), Vn, gs, ar, en);
|
20286
|
+
return en.delete(lt), ha;
|
20282
20287
|
case "[object Symbol]":
|
20283
20288
|
if (ye) return ye.call(lt) == ye.call(tt);
|
20284
20289
|
}
|
@@ -20292,20 +20297,20 @@ var Kj = function(e) {
|
|
20292
20297
|
}
|
20293
20298
|
}
|
20294
20299
|
return gn ? (Je || (Je = new xt()), function(lt, tt, Ic, Vn, gs, ar) {
|
20295
|
-
var
|
20296
|
-
if (so != ys && !
|
20300
|
+
var en = 2 & gs, yn = Qr(lt), so = yn.length, ys = Qr(tt).length;
|
20301
|
+
if (so != ys && !en) return !1;
|
20297
20302
|
for (var ha = so; ha--; ) {
|
20298
20303
|
var vn = yn[ha];
|
20299
|
-
if (!(
|
20304
|
+
if (!(en ? vn in tt : z.call(tt, vn))) return !1;
|
20300
20305
|
}
|
20301
20306
|
var cp = ar.get(lt);
|
20302
20307
|
if (cp && ar.get(tt)) return cp == tt;
|
20303
20308
|
var vs = !0;
|
20304
20309
|
ar.set(lt, tt), ar.set(tt, lt);
|
20305
|
-
for (var Sc =
|
20310
|
+
for (var Sc = en; ++ha < so; ) {
|
20306
20311
|
vn = yn[ha];
|
20307
20312
|
var bs = lt[vn], Is = tt[vn];
|
20308
|
-
if (Vn) var up =
|
20313
|
+
if (Vn) var up = en ? Vn(Is, bs, vn, tt, lt, ar) : Vn(bs, Is, vn, lt, tt, ar);
|
20309
20314
|
if (!(up === void 0 ? bs === Is || Ic(bs, Is, Vn, gs, ar) : up)) {
|
20310
20315
|
vs = !1;
|
20311
20316
|
break;
|
@@ -20320,7 +20325,7 @@ var Kj = function(e) {
|
|
20320
20325
|
}(Te, Be, mt, ht, at, Je)) : !1;
|
20321
20326
|
}(S, U, Bn, W, Q, xe));
|
20322
20327
|
}
|
20323
|
-
function
|
20328
|
+
function Jr(S) {
|
20324
20329
|
return !(!Nr(S) || function(U) {
|
20325
20330
|
return !!K && K in U;
|
20326
20331
|
}(S)) && (fa(S) || ne(S) ? be : y).test(Re(S));
|
@@ -20346,7 +20351,7 @@ var Kj = function(e) {
|
|
20346
20351
|
};
|
20347
20352
|
}(S[0], S[1]) : function(Q) {
|
20348
20353
|
var xe = function(Te) {
|
20349
|
-
for (var Be =
|
20354
|
+
for (var Be = Qr(Te), mt = Be.length; mt--; ) {
|
20350
20355
|
var ht = Be[mt], at = Te[ht];
|
20351
20356
|
Be[mt] = [ht, at, ge(at)];
|
20352
20357
|
}
|
@@ -20426,7 +20431,7 @@ var Kj = function(e) {
|
|
20426
20431
|
var W = function(Q, xe) {
|
20427
20432
|
return Q == null ? void 0 : Q[xe];
|
20428
20433
|
}(S, U);
|
20429
|
-
return
|
20434
|
+
return Jr(W) ? W : void 0;
|
20430
20435
|
}
|
20431
20436
|
var L = function(S) {
|
20432
20437
|
return w.call(S);
|
@@ -20541,7 +20546,7 @@ var Kj = function(e) {
|
|
20541
20546
|
}(B) : function(S) {
|
20542
20547
|
return pa(S) && hn(S.length) && !!v[w.call(S)];
|
20543
20548
|
};
|
20544
|
-
function
|
20549
|
+
function Qr(S) {
|
20545
20550
|
return Ar(S) ? qt(S) : vc(S);
|
20546
20551
|
}
|
20547
20552
|
function bc(S) {
|
@@ -20851,9 +20856,9 @@ var Kj = function(e) {
|
|
20851
20856
|
var Ot = N.replace(/\D/g, "");
|
20852
20857
|
(!w.state.freezeSelection || Ee && Ee.dialCode.length > Ot.length) && (se = w.props.disableCountryGuess ? Ee : w.guessSelectedCountry(Ot.substring(0, 6), ye, pe, Ye) || Ee, Me = !1), he = w.formatNumber(Ot, se), se = se.dialCode ? se : Ee;
|
20853
20858
|
}
|
20854
|
-
var xt = C.target.selectionStart, qt = C.target.selectionStart, nr = w.state.formattedNumber,
|
20859
|
+
var xt = C.target.selectionStart, qt = C.target.selectionStart, nr = w.state.formattedNumber, Xr = he.length - nr.length;
|
20855
20860
|
w.setState({ formattedNumber: he, freezeSelection: Me, selectedCountry: se }, function() {
|
20856
|
-
|
20861
|
+
Xr > 0 && (qt -= Xr), he.charAt(he.length - 1) == ")" ? w.numberInputRef.setSelectionRange(he.length - 1, he.length - 1) : qt > 0 && nr.length >= he.length ? w.numberInputRef.setSelectionRange(qt, qt) : xt < nr.length && w.numberInputRef.setSelectionRange(xt, xt), J && J(he.replace(/[^0-9]+/g, ""), w.getCountryData(), C, he);
|
20857
20862
|
});
|
20858
20863
|
}
|
20859
20864
|
}, w.handleInputClick = function(C) {
|
@@ -20965,17 +20970,17 @@ var Kj = function(e) {
|
|
20965
20970
|
}, w.getCountryDropdownList = function() {
|
20966
20971
|
var C = w.state, N = C.preferredCountries, j = C.highlightCountryIndex, oe = C.showDropdown, J = C.searchValue, he = w.props, se = he.disableDropdown, Me = he.prefix, le = w.props, ye = le.enableSearch, De = le.searchNotFound, pe = le.disableSearchIcon, Ee = le.searchClass, Ye = le.searchStyle, Ot = le.searchPlaceholder, xt = le.autocompleteSearch, qt = w.getSearchFilteredCountries().map(function(bt, mn) {
|
20967
20972
|
var $n = j === mn, ao = V()({ country: !0, preferred: bt.iso2 === "us" || bt.iso2 === "gb", active: bt.iso2 === "us", highlight: $n }), Bn = "flag ".concat(bt.iso2);
|
20968
|
-
return v.a.createElement("li", Object.assign({ ref: function(
|
20969
|
-
return w["flag_no_".concat(mn)] =
|
20970
|
-
}, key: "flag_no_".concat(mn), "data-flag-key": "flag_no_".concat(mn), className: ao, "data-dial-code": "1", tabIndex: se ? "-1" : "0", "data-country-code": bt.iso2, onClick: function(
|
20971
|
-
return w.handleFlagItemClick(bt,
|
20973
|
+
return v.a.createElement("li", Object.assign({ ref: function(Jr) {
|
20974
|
+
return w["flag_no_".concat(mn)] = Jr;
|
20975
|
+
}, key: "flag_no_".concat(mn), "data-flag-key": "flag_no_".concat(mn), className: ao, "data-dial-code": "1", tabIndex: se ? "-1" : "0", "data-country-code": bt.iso2, onClick: function(Jr) {
|
20976
|
+
return w.handleFlagItemClick(bt, Jr);
|
20972
20977
|
}, role: "option" }, $n ? { "aria-selected": !0 } : {}), v.a.createElement("div", { className: Bn }), v.a.createElement("span", { className: "country-name" }, w.getDropdownCountryName(bt)), v.a.createElement("span", { className: "dial-code" }, bt.format ? w.formatNumber(bt.dialCode, bt) : Me + bt.dialCode));
|
20973
20978
|
}), nr = v.a.createElement("li", { key: "dashes", className: "divider" });
|
20974
20979
|
N.length > 0 && (!ye || ye && !J.trim()) && qt.splice(N.length, 0, nr);
|
20975
|
-
var
|
20980
|
+
var Xr = V()(n({ "country-list": !0, hide: !oe }, w.props.dropdownClass, !0));
|
20976
20981
|
return v.a.createElement("ul", { ref: function(bt) {
|
20977
20982
|
return !ye && bt && bt.focus(), w.dropdownRef = bt;
|
20978
|
-
}, className:
|
20983
|
+
}, className: Xr, style: w.props.dropdownStyle, role: "listbox", tabIndex: "0" }, ye && v.a.createElement("li", { className: V()(n({ search: !0 }, Ee, Ee)) }, !pe && v.a.createElement("span", { className: V()(n({ "search-emoji": !0 }, "".concat(Ee, "-emoji"), Ee)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), v.a.createElement("input", { className: V()(n({ "search-box": !0 }, "".concat(Ee, "-box"), Ee)), style: Ye, type: "search", placeholder: Ot, autoFocus: !0, autoComplete: xt ? "on" : "off", value: J, onChange: w.handleSearchChange })), qt.length > 0 ? qt : v.a.createElement("li", { className: "no-entries-message" }, v.a.createElement("span", null, De)));
|
20979
20984
|
};
|
20980
20985
|
var be, me = new ae(z.enableAreaCodes, z.enableTerritories, z.regions, z.onlyCountries, z.preferredCountries, z.excludeCountries, z.preserveOrder, z.masks, z.priority, z.areaCodes, z.localization, z.prefix, z.defaultMask, z.alwaysDefaultMask), Se = me.onlyCountries, _e = me.preferredCountries, Pe = me.hiddenAreaCodes, Fe = z.value ? z.value.replace(/\D/g, "") : "";
|
20981
20986
|
be = z.disableInitialCountryGuess ? 0 : Fe.length > 1 ? w.guessSelectedCountry(Fe.substring(0, 6), z.country, Se, Pe) || 0 : z.country && Se.find(function(C) {
|
@@ -21039,9 +21044,9 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21039
21044
|
}, d = (f) => {
|
21040
21045
|
(f.key === " " || f.key === "Enter") && (f.preventDefault(), c());
|
21041
21046
|
};
|
21042
|
-
return
|
21047
|
+
return Mt(() => {
|
21043
21048
|
Un("optIn", l.current);
|
21044
|
-
}),
|
21049
|
+
}), Mt(() => {
|
21045
21050
|
l.current && (l.current.checked = r);
|
21046
21051
|
}, [r]), /* @__PURE__ */ u.jsxs("div", { className: "sid-checkbox", children: [
|
21047
21052
|
/* @__PURE__ */ u.jsx(
|
@@ -21107,7 +21112,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21107
21112
|
), E = wt(null), b = "sid-phone-number-error", x = (B, O) => {
|
21108
21113
|
v || M(O.dialCode), B.slice(v.length) ? r(`+${B}`) : r("");
|
21109
21114
|
};
|
21110
|
-
return
|
21115
|
+
return Mt(() => {
|
21111
21116
|
E.current && Un("phoneNumber", E.current);
|
21112
21117
|
}), ((T = ie("phoneNumber")) == null ? void 0 : T.hidden) ? null : /* @__PURE__ */ u.jsxs("div", { className: "sid-field sid-phone-number", children: [
|
21113
21118
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-md" }),
|
@@ -21264,7 +21269,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21264
21269
|
verificationService: a,
|
21265
21270
|
disabled: o = !1
|
21266
21271
|
}) => {
|
21267
|
-
const s = "marketConsentValue", i = `sid-${
|
21272
|
+
const s = "marketConsentValue", i = `sid-${Et(s)}-error`, l = ee.useCallback(
|
21268
21273
|
(f) => {
|
21269
21274
|
const p = "marketConsentRequired";
|
21270
21275
|
if (t && !f)
|
@@ -21548,14 +21553,14 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21548
21553
|
errorMessage: a,
|
21549
21554
|
disabled: o = !1
|
21550
21555
|
}) => {
|
21551
|
-
const s = `${e}Label`, i = `sid-${
|
21552
|
-
return /* @__PURE__ */ u.jsxs("div", { className: `sid-field sid-${
|
21556
|
+
const s = `${e}Label`, i = `sid-${Et(s)}`, l = `sid-${Et(s)}-error`, c = () => r(!t);
|
21557
|
+
return /* @__PURE__ */ u.jsxs("div", { className: `sid-field sid-${Et(e)}`, children: [
|
21553
21558
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-md" }),
|
21554
21559
|
/* @__PURE__ */ u.jsxs("div", { className: "sid-checkbox-flex", children: [
|
21555
21560
|
/* @__PURE__ */ u.jsx(
|
21556
21561
|
np,
|
21557
21562
|
{
|
21558
|
-
id:
|
21563
|
+
id: Et(e),
|
21559
21564
|
isErrored: !!a,
|
21560
21565
|
value: t,
|
21561
21566
|
onChange: c,
|
@@ -21592,7 +21597,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21592
21597
|
onKeyDown: c = void 0,
|
21593
21598
|
disabled: d = !1
|
21594
21599
|
}) => {
|
21595
|
-
const f = `${n}Label`, p = `sid-${
|
21600
|
+
const f = `${n}Label`, p = `sid-${Et(f)}`, m = `sid-${Et(n)}-error`;
|
21596
21601
|
return /* @__PURE__ */ u.jsx(
|
21597
21602
|
os,
|
21598
21603
|
{
|
@@ -21605,7 +21610,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21605
21610
|
ep,
|
21606
21611
|
{
|
21607
21612
|
fieldId: n,
|
21608
|
-
inputId: `sid-${
|
21613
|
+
inputId: `sid-${Et(n)}`,
|
21609
21614
|
fieldLabelId: p,
|
21610
21615
|
isErrored: !!s,
|
21611
21616
|
options: t,
|
@@ -21630,7 +21635,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21630
21635
|
disabled: o = !1
|
21631
21636
|
}) => {
|
21632
21637
|
const s = wt(null);
|
21633
|
-
return
|
21638
|
+
return Mt(() => {
|
21634
21639
|
Un(e, s.current);
|
21635
21640
|
}), /* @__PURE__ */ u.jsxs("label", { className: "sid-radio__input sid-radio__input-label", children: [
|
21636
21641
|
/* @__PURE__ */ u.jsx(
|
@@ -21659,7 +21664,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21659
21664
|
value: i,
|
21660
21665
|
disabled: l = !1
|
21661
21666
|
}) => {
|
21662
|
-
const c =
|
21667
|
+
const c = Et(e), d = gS(e);
|
21663
21668
|
return /* @__PURE__ */ u.jsx(
|
21664
21669
|
os,
|
21665
21670
|
{
|
@@ -23042,13 +23047,13 @@ const PF = ({
|
|
23042
23047
|
const t = e.target instanceof HTMLInputElement ? e.target : void 0;
|
23043
23048
|
if (t && (t.id || t.name)) {
|
23044
23049
|
const r = {
|
23045
|
-
eventName:
|
23050
|
+
eventName: It.FORM_PASTE,
|
23046
23051
|
params: {
|
23047
23052
|
id: t.id || t.name,
|
23048
23053
|
queryLength: e.clipboardData.getData("text").length
|
23049
23054
|
}
|
23050
23055
|
};
|
23051
|
-
|
23056
|
+
qr(r);
|
23052
23057
|
}
|
23053
23058
|
} catch (t) {
|
23054
23059
|
A.error(t);
|
@@ -23059,7 +23064,7 @@ const PF = ({
|
|
23059
23064
|
className: r,
|
23060
23065
|
children: n
|
23061
23066
|
}) => {
|
23062
|
-
const a = cU("font-size"), o =
|
23067
|
+
const a = cU("font-size"), o = Et(e).replace(/^collect-/, ""), s = [`sid-${o}-container`, "sid-l-container", "sid-left-align"];
|
23063
23068
|
switch (r && s.push(r), a) {
|
23064
23069
|
case "14px":
|
23065
23070
|
s.push("_experiment_sid-font-md");
|
@@ -23162,22 +23167,22 @@ const PF = ({
|
|
23162
23167
|
const { userDidConvert: o, getTimeOnForm: s } = GF(
|
23163
23168
|
t.verificationResponse.segment
|
23164
23169
|
);
|
23165
|
-
|
23170
|
+
Mt(() => {
|
23166
23171
|
const y = {
|
23167
|
-
eventName:
|
23172
|
+
eventName: It.COLLECT_STARTED,
|
23168
23173
|
params: {}
|
23169
23174
|
};
|
23170
|
-
|
23175
|
+
qr(y);
|
23171
23176
|
}, []);
|
23172
23177
|
const i = () => {
|
23173
23178
|
try {
|
23174
23179
|
const y = {
|
23175
|
-
eventName:
|
23180
|
+
eventName: It.COLLECT_SUBMITTED,
|
23176
23181
|
params: {
|
23177
23182
|
[Er.EVENT_DURATION]: s().duration
|
23178
23183
|
}
|
23179
23184
|
};
|
23180
|
-
|
23185
|
+
qr(y);
|
23181
23186
|
} catch {
|
23182
23187
|
A.warn("Unable to measure time on form");
|
23183
23188
|
}
|
@@ -23830,7 +23835,7 @@ const G3 = ze(PM), W3 = {
|
|
23830
23835
|
CLOSE_BUTTON: "sid-modal__close-button",
|
23831
23836
|
CLOSE_TEXT: "sid-modal__close-text",
|
23832
23837
|
CLOSE_ICON: "sid-modal__close-icon"
|
23833
|
-
}, RM = "SheerID Verification Form",
|
23838
|
+
}, RM = "SheerID Verification Form", an = {
|
23834
23839
|
CLASS_NAMES: JF,
|
23835
23840
|
DEFAULT_MOBILE_THRESHOLD_WIDTH: 620,
|
23836
23841
|
MODAL_OPACITY_TRANSITION_PERIOD: 300
|
@@ -23848,7 +23853,7 @@ const G3 = ze(PM), W3 = {
|
|
23848
23853
|
t.searchParams.has(a) || t.searchParams.set(a, n);
|
23849
23854
|
}), t.href;
|
23850
23855
|
}, NM = {
|
23851
|
-
className:
|
23856
|
+
className: an.CLASS_NAMES.INLINE_IFRAME_CONTENT,
|
23852
23857
|
title: RM
|
23853
23858
|
}, e$ = (e) => {
|
23854
23859
|
if (typeof e != "function")
|
@@ -23982,33 +23987,33 @@ class op {
|
|
23982
23987
|
Ze(this, "closeButton");
|
23983
23988
|
Ze(this, "stopPropagation");
|
23984
23989
|
Ze(this, "popStateEventHandler", () => this.closeModal());
|
23985
|
-
const n = r.mobileThreshold ? r.mobileThreshold :
|
23990
|
+
const n = r.mobileThreshold ? r.mobileThreshold : an.DEFAULT_MOBILE_THRESHOLD_WIDTH;
|
23986
23991
|
this.verificationUrl = AM(t), this.redirectOnMobile = r.mobileRedirect || !1, this.isMobileDevice = window.document.body.clientWidth <= Number(n), this.closeButtonText = r.closeButtonText ? r.closeButtonText : "", this.closeButton = null, this.stopPropagation = r.stopPropagation || !1, this.overlay = op.createOverlay(), this.wrapper = this.createWrapper(), this.addFocusListener();
|
23987
23992
|
}
|
23988
23993
|
createCloseBtn() {
|
23989
|
-
if (this.closeButton = document.createElement("button"), this.closeButton.classList.add(
|
23994
|
+
if (this.closeButton = document.createElement("button"), this.closeButton.classList.add(an.CLASS_NAMES.CLOSE_BUTTON), this.closeButton.setAttribute("aria-label", "close"), this.closeButtonText) {
|
23990
23995
|
const r = document.createElement("div");
|
23991
|
-
r.classList.add(
|
23996
|
+
r.classList.add(an.CLASS_NAMES.CLOSE_TEXT), r.innerHTML = this.closeButtonText, this.closeButton.appendChild(r);
|
23992
23997
|
}
|
23993
23998
|
const t = document.createElement("span");
|
23994
|
-
return t.classList.add(
|
23999
|
+
return t.classList.add(an.CLASS_NAMES.CLOSE_ICON), t.setAttribute("role", "img"), this.closeButton.appendChild(t), this.closeButton.addEventListener("click", (r) => {
|
23995
24000
|
r.preventDefault(), this.stopPropagation && r.stopPropagation(), this.closeModal();
|
23996
24001
|
}), this.closeButton;
|
23997
24002
|
}
|
23998
24003
|
closeModal() {
|
23999
24004
|
window.removeEventListener("popstate", this.popStateEventHandler);
|
24000
|
-
const t =
|
24005
|
+
const t = an.MODAL_OPACITY_TRANSITION_PERIOD;
|
24001
24006
|
Og(this.overlay, t), Og(this.wrapper, t), this.iframeInstance.cleanup();
|
24002
24007
|
}
|
24003
24008
|
static createOverlay() {
|
24004
24009
|
const t = document.createElement("div");
|
24005
|
-
return t.classList.add(
|
24010
|
+
return t.classList.add(an.CLASS_NAMES.OVERLAY), t;
|
24006
24011
|
}
|
24007
24012
|
createWrapper() {
|
24008
24013
|
const t = document.createElement("div");
|
24009
|
-
t.classList.add(
|
24014
|
+
t.classList.add(an.CLASS_NAMES.MODAL_WRAPPER), t.tabIndex = -1, t.setAttribute("role", "dialog"), t.appendChild(this.createCloseBtn()), this.iframeInstance = new Za(t, this.verificationUrl), this.iframeInstance.setInstallType("cdn_modal_iframe"), this.on = this.iframeInstance.on.bind(this.iframeInstance), this.once = this.iframeInstance.once.bind(this.iframeInstance);
|
24010
24015
|
const r = {
|
24011
|
-
className:
|
24016
|
+
className: an.CLASS_NAMES.MODAL_IFRAME,
|
24012
24017
|
title: RM
|
24013
24018
|
};
|
24014
24019
|
return this.iframeInstance.createIframe(r), t.appendChild(this.iframeInstance.iframe), t;
|
@@ -27101,8 +27106,8 @@ export {
|
|
27101
27106
|
o3 as av,
|
27102
27107
|
_3 as aw,
|
27103
27108
|
Kg as ax,
|
27104
|
-
|
27105
|
-
|
27109
|
+
qr as ay,
|
27110
|
+
It as az,
|
27106
27111
|
Z3 as b,
|
27107
27112
|
Sd as b$,
|
27108
27113
|
et as b0,
|
@@ -27219,7 +27224,7 @@ export {
|
|
27219
27224
|
k$ as cj,
|
27220
27225
|
Ud as ck,
|
27221
27226
|
G$ as cl,
|
27222
|
-
|
27227
|
+
sn as cm,
|
27223
27228
|
fm as cn,
|
27224
27229
|
eP as co,
|
27225
27230
|
q$ as cp,
|
@@ -27297,7 +27302,7 @@ export {
|
|
27297
27302
|
Uy as dx,
|
27298
27303
|
OC as dy,
|
27299
27304
|
ml as dz,
|
27300
|
-
|
27305
|
+
Yr as e,
|
27301
27306
|
q3 as e0,
|
27302
27307
|
z$ as e1,
|
27303
27308
|
Dg as e2,
|