@sheerid/jslib-nightly 2.112.0-alpha.3 → 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 +4 -4
- package/_mysheerid-preview.js +396 -390
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/EmailLoopPending-Dtf0p85F.js +4 -4
- package/chunk/EmailLoopPending-Dy8mLFvV.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +4 -4
- package/chunk/Onfido-AyvUk6wg.js +4 -4
- package/chunk/StepIDCheckLoopOnfido-CmNwFqjD.js +4 -4
- package/chunk/StepIDCheckLoopOnfido-DtbplNxs.js +4 -4
- package/chunk/StepIDCheckLoopRegula-RoX971sR.js +4 -4
- package/chunk/StepIDCheckLoopRegula-oqf-QxHT.js +4 -4
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js +4 -4
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js +4 -4
- package/chunk/ar-CTZ8n_FV.js +4 -4
- package/chunk/bg-B1tbUffD.js +4 -4
- package/chunk/bn-IN-BA_ZFkiC.js +4 -4
- package/chunk/cs-_sREQ07E.js +4 -4
- package/chunk/da-DPi7xGRT.js +4 -4
- package/chunk/de-Cdu4F7oz.js +4 -4
- package/chunk/el-Csc8XB1z.js +4 -4
- package/chunk/en-GB-CDsqsXSF.js +4 -4
- package/chunk/es-BgNy3pMu.js +4 -4
- package/chunk/es-ES-HVAL-fE7.js +4 -4
- package/chunk/fi-CCyjkr-W.js +4 -4
- package/chunk/fr-CA-DwRs4Got.js +4 -4
- package/chunk/fr-alhQlPBO.js +4 -4
- package/chunk/ga-DfyMbfDn.js +4 -4
- package/chunk/hi-IN-CnIX7S9Z.js +4 -4
- package/chunk/hr-HChVQ_Sw.js +4 -4
- package/chunk/hu-CWN1WU0a.js +4 -4
- package/chunk/id-C1Ck0Iu_.js +4 -4
- package/chunk/index-4APUDd8S.js +4 -4
- package/chunk/index-9OD0Bw98.js +4 -4
- package/chunk/index-B-PpnUEO.js +4 -4
- package/chunk/index-B8F8N-JM.js +4 -4
- package/chunk/index-B8KPM--K.js +4 -4
- package/chunk/index-BD2bjH-C.js +4 -4
- package/chunk/index-BD_a0MZT.js +4 -4
- package/chunk/index-BDrKYann.js +4 -4
- package/chunk/{index-UDwOiPQx.js → index-BORxVuto.js} +293 -260
- package/chunk/{index-DVmKzrKI.js.map → index-BORxVuto.js.map} +1 -1
- package/chunk/index-BTMETMEE.js +4 -4
- package/chunk/index-Bi9QXN5x.js +4 -4
- package/chunk/index-Bmq6cJ3F.js +4 -4
- package/chunk/index-BpZoH-Wz.js +4 -4
- package/chunk/index-BuX76GyE.js +4 -4
- package/chunk/index-C2h0Wj84.js +4 -4
- package/chunk/index-C8MQD8EK.js +4 -4
- package/chunk/index-C8u9IJUa.js +4 -4
- package/chunk/index-C96ntS0u.js +4 -4
- package/chunk/index-CHK5i4jj.js +4 -4
- package/chunk/index-CTb96lOK.js +4 -4
- package/chunk/{index-DVmKzrKI.js → index-CU0rkVHP.js} +293 -260
- package/chunk/{index-UDwOiPQx.js.map → index-CU0rkVHP.js.map} +1 -1
- package/chunk/index-CcRowarb.js +4 -4
- package/chunk/index-CeHu2Npu.js +4 -4
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DKWjcFJK.js +4 -4
- package/chunk/index-DLz31Fzh.js +4 -4
- package/chunk/index-DO5Z3e-E.js +4 -4
- package/chunk/index-DRlGAW07.js +4 -4
- package/chunk/index-DVynViqA.js +4 -4
- package/chunk/index-D_9J6arc.js +4 -4
- package/chunk/index-Dg8t7-dm.js +4 -4
- package/chunk/index-DhGg9lvf.js +4 -4
- package/chunk/index-DsgCNIS5.js +4 -4
- package/chunk/index-DvQoVn8P.js +4 -4
- package/chunk/index-DzqRsB7_.js +4 -4
- package/chunk/index-FjzhfDlx.js +4 -4
- package/chunk/index-Gfy-1H7s.js +4 -4
- package/chunk/index-YSVzGeq_.js +4 -4
- package/chunk/index-_t8SsXjy.js +4 -4
- package/chunk/is-Bf2mOiIg.js +4 -4
- package/chunk/it-IMkNWYOG.js +4 -4
- package/chunk/iw-BuDnLn5x.js +4 -4
- package/chunk/ja-DdM1Ym9C.js +4 -4
- package/chunk/ko-B01TPi1c.js +4 -4
- package/chunk/lo-CDeDGaKo.js +4 -4
- package/chunk/lt-DyBa0gOR.js +4 -4
- package/chunk/ms-LqU5Yd8l.js +4 -4
- package/chunk/nl-BE-BFg3IyDd.js +4 -4
- package/chunk/nl-kMVLoHoM.js +4 -4
- package/chunk/no-BAFfWVPm.js +4 -4
- package/chunk/pl-Cxz2q367.js +4 -4
- package/chunk/pt-BR-CgWnbrVG.js +4 -4
- package/chunk/pt-ClU8GfPr.js +4 -4
- package/chunk/ro-CjVQ_Zpn.js +4 -4
- package/chunk/ru-BdRZQIfm.js +4 -4
- package/chunk/sk-C-xR48Aj.js +4 -4
- package/chunk/sl-CImZBWQa.js +4 -4
- package/chunk/sr-CZdt5Aa4.js +4 -4
- package/chunk/sv-BclJkJLk.js +4 -4
- package/chunk/sw-BMcrEvkG.js +4 -4
- package/chunk/th-Dl_Lc--C.js +4 -4
- package/chunk/tr-CL17frp4.js +4 -4
- package/chunk/uk-zgBsQ3Tg.js +4 -4
- package/chunk/ur-DJP0igA6.js +4 -4
- package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js +4 -4
- package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +4 -4
- package/chunk/useEmailFirstExperiment-BbDrKQEs.js +4 -4
- package/chunk/useEmailFirstExperiment-CgU-itQI.js +4 -4
- package/chunk/vi-B1t3wnVe.js +4 -4
- package/chunk/zh-B1K_f766.js +4 -4
- package/chunk/zh-HK-B7LwDNgi.js +4 -4
- package/chunk/zu-DXIuiqYP.js +4 -4
- package/es6.css +4 -4
- package/jslib.js +5 -5
- package/lib/{EmailLoopPending-BeJUiPMH.js → EmailLoopPending-BE_De6Tx.js} +5 -5
- package/lib/{EmailLoopPending-BeJUiPMH.js.map → EmailLoopPending-BE_De6Tx.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-S-xIPKxp.js → LicensedProfessionalOrganizationComponent-Rp-GMuxJ.js} +5 -5
- package/lib/{LicensedProfessionalOrganizationComponent-S-xIPKxp.js.map → LicensedProfessionalOrganizationComponent-Rp-GMuxJ.js.map} +1 -1
- package/lib/Onfido-AyvUk6wg.js +4 -4
- package/lib/StepCollectMilitaryStatusComponent-DDTELGtg.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-DSd-4dlg.js.map → StepCollectMilitaryStatusComponent-DDTELGtg.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-tEmV3au4.js → StepIDCheckLoopOnfido-38qsgxKR.js} +5 -5
- package/lib/{StepIDCheckLoopOnfido-tEmV3au4.js.map → StepIDCheckLoopOnfido-38qsgxKR.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-rYljXjJy.js → StepIDCheckLoopRegula-B53-JUxK.js} +5 -5
- package/lib/{StepIDCheckLoopRegula-rYljXjJy.js.map → StepIDCheckLoopRegula-B53-JUxK.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-Da9LuC7c.js → StepInactiveMilitaryPersonalInfoComponent-DyVGxkil.js} +6 -6
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-Da9LuC7c.js.map → StepInactiveMilitaryPersonalInfoComponent-DyVGxkil.js.map} +1 -1
- package/lib/{VerificationApiUtils-hDGZYHka.js → VerificationApiUtils-CdImPZ20.js} +5 -5
- package/lib/{VerificationApiUtils-hDGZYHka.js.map → VerificationApiUtils-CdImPZ20.js.map} +1 -1
- package/lib/ar-CTZ8n_FV.js +4 -4
- package/lib/bg-B1tbUffD.js +4 -4
- package/lib/bn-IN-BA_ZFkiC.js +4 -4
- package/lib/cs-_sREQ07E.js +4 -4
- package/lib/da-DPi7xGRT.js +4 -4
- package/lib/de-Cdu4F7oz.js +4 -4
- package/lib/el-Csc8XB1z.js +4 -4
- package/lib/en-GB-CDsqsXSF.js +4 -4
- package/lib/es-BgNy3pMu.js +4 -4
- package/lib/es-ES-HVAL-fE7.js +4 -4
- package/lib/{es6-KhXNMYV_.js → es6-CgnlHiAA.js} +236 -230
- package/lib/es6-CgnlHiAA.js.map +1 -0
- package/lib/fi-CCyjkr-W.js +4 -4
- package/lib/fr-CA-DwRs4Got.js +4 -4
- package/lib/fr-alhQlPBO.js +4 -4
- package/lib/ga-DfyMbfDn.js +4 -4
- package/lib/hi-IN-CnIX7S9Z.js +4 -4
- package/lib/hr-HChVQ_Sw.js +4 -4
- package/lib/hu-CWN1WU0a.js +4 -4
- package/lib/id-C1Ck0Iu_.js +4 -4
- package/lib/{index-CTtuP6jY.js → index-BFQec87Y.js} +7 -7
- package/lib/{index-CTtuP6jY.js.map → index-BFQec87Y.js.map} +1 -1
- package/lib/{index-lDEw1J0m.js → index-BGG4-eSW.js} +6 -6
- package/lib/{index-lDEw1J0m.js.map → index-BGG4-eSW.js.map} +1 -1
- package/lib/{index-DXNAoJPm.js → index-BZB6rx_i.js} +6 -6
- package/lib/{index-DXNAoJPm.js.map → index-BZB6rx_i.js.map} +1 -1
- package/lib/{index-DWK9HNsu.js → index-BaWK4IwT.js} +5 -5
- package/lib/{index-DWK9HNsu.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-DLJsTHPd.js → index-C_ZhLmx8.js} +6 -6
- package/lib/{index-DLJsTHPd.js.map → index-C_ZhLmx8.js.map} +1 -1
- package/lib/{index-D_u1txPV.js → index-CdRJ0N3E.js} +5 -5
- package/lib/{index-D_u1txPV.js.map → index-CdRJ0N3E.js.map} +1 -1
- package/lib/{index-BU5z1K62.js → index-Co1axwsC.js} +5 -5
- package/lib/{index-BU5z1K62.js.map → index-Co1axwsC.js.map} +1 -1
- package/lib/{index-CD3R6OZt.js → index-CvWITFn3.js} +6 -6
- package/lib/{index-CD3R6OZt.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-CcN7_Mqp.js → index-D0gFTmpL.js} +5 -5
- package/lib/{index-CcN7_Mqp.js.map → index-D0gFTmpL.js.map} +1 -1
- package/lib/{index-Drq5-wd7.js → index-D14OVclA.js} +563 -530
- package/lib/{index-Drq5-wd7.js.map → index-D14OVclA.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/{index-C48TEqxJ.js → index-DnEaVDvq.js} +5 -5
- package/lib/{index-C48TEqxJ.js.map → index-DnEaVDvq.js.map} +1 -1
- package/lib/{index-K_9NzcEJ.js → index-DnzWG-zK.js} +5 -5
- package/lib/{index-K_9NzcEJ.js.map → index-DnzWG-zK.js.map} +1 -1
- package/lib/{index-BQyKaQQW.js → index-DoGwOM4c.js} +5 -5
- package/lib/{index-BQyKaQQW.js.map → index-DoGwOM4c.js.map} +1 -1
- package/lib/{index-D7ipykP_.js → index-GSRwQMPe.js} +6 -6
- package/lib/{index-D7ipykP_.js.map → index-GSRwQMPe.js.map} +1 -1
- package/lib/{index-CBBA8sP2.js → index-GynW23rm.js} +7 -7
- package/lib/{index-CBBA8sP2.js.map → index-GynW23rm.js.map} +1 -1
- package/lib/{index-BR9ZztS0.js → index-HkVmx6UM.js} +6 -6
- package/lib/{index-BR9ZztS0.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-CnOalzf1.js → index-XEJe5RvW.js} +6 -6
- package/lib/{index-CnOalzf1.js.map → index-XEJe5RvW.js.map} +1 -1
- package/lib/{index-Bv4DelIv.js → index-Y27hMIeU.js} +5 -5
- package/lib/{index-Bv4DelIv.js.map → index-Y27hMIeU.js.map} +1 -1
- package/lib/{index-Dfgag9mZ.js → index-wYIO-QSJ.js} +5 -5
- package/lib/{index-Dfgag9mZ.js.map → index-wYIO-QSJ.js.map} +1 -1
- package/lib/is-Bf2mOiIg.js +4 -4
- package/lib/it-IMkNWYOG.js +4 -4
- package/lib/iw-BuDnLn5x.js +4 -4
- package/lib/ja-DdM1Ym9C.js +4 -4
- package/lib/ko-B01TPi1c.js +4 -4
- package/lib/lo-CDeDGaKo.js +4 -4
- package/lib/lt-DyBa0gOR.js +4 -4
- package/lib/ms-LqU5Yd8l.js +4 -4
- package/lib/nl-BE-BFg3IyDd.js +4 -4
- package/lib/nl-kMVLoHoM.js +4 -4
- package/lib/no-BAFfWVPm.js +4 -4
- package/lib/pl-Cxz2q367.js +4 -4
- package/lib/pt-BR-CgWnbrVG.js +4 -4
- package/lib/pt-ClU8GfPr.js +4 -4
- package/lib/ro-CjVQ_Zpn.js +4 -4
- package/lib/ru-BdRZQIfm.js +4 -4
- package/lib/sk-C-xR48Aj.js +4 -4
- package/lib/sl-CImZBWQa.js +4 -4
- package/lib/sr-CZdt5Aa4.js +4 -4
- package/lib/sv-BclJkJLk.js +4 -4
- package/lib/sw-BMcrEvkG.js +4 -4
- package/lib/th-Dl_Lc--C.js +4 -4
- package/lib/tr-CL17frp4.js +4 -4
- package/lib/uk-zgBsQ3Tg.js +4 -4
- package/lib/ur-DJP0igA6.js +4 -4
- package/lib/{useCollectFieldsEndpoint-HydTA0X4.js → useCollectFieldsEndpoint-BnXXSTq-.js} +6 -6
- package/lib/{useCollectFieldsEndpoint-HydTA0X4.js.map → useCollectFieldsEndpoint-BnXXSTq-.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-Ctpd0_YT.js → useEmailFirstExperiment-SbjjFUHp.js} +5 -5
- package/lib/{useEmailFirstExperiment-Ctpd0_YT.js.map → useEmailFirstExperiment-SbjjFUHp.js.map} +1 -1
- package/lib/vi-B1t3wnVe.js +4 -4
- package/lib/zh-B1K_f766.js +4 -4
- package/lib/zh-HK-B7LwDNgi.js +4 -4
- package/lib/zu-DXIuiqYP.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +5 -5
- package/sheerid.css +4 -4
- package/sheerid.js +325 -319
- package/sheerid.js.map +1 -1
- package/src/components/FeatureFlags/flags.d.ts +1 -0
- package/src/lib/GoogleAnalytics/ga.d.ts +1 -0
- package/types-reference.zip +0 -0
- package/lib/StepCollectMilitaryStatusComponent-DSd-4dlg.js +0 -11
- package/lib/es6-KhXNMYV_.js.map +0 -1
- package/lib/index-B6J5Y6k7.js +0 -11
- package/lib/index-B6J5Y6k7.js.map +0 -1
- package/lib/index-CYDQx-7z.js +0 -11
- package/lib/index-CYDQx-7z.js.map +0 -1
- package/lib/index-F9_JZqNB.js +0 -11
- package/lib/index-F9_JZqNB.js.map +0 -1
- package/lib/index-iWnLDGcn.js +0 -11
- package/lib/index-iWnLDGcn.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* VERSION: 2.112.0-alpha.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.112.0-alpha.5
|
8
|
+
* BUILD_TIMESTAMP: 1749673047688
|
9
|
+
* BUILD_DATE: Wed Jun 11 2025 20:17:27 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
|
11
11
|
*/
|
12
12
|
var dk = Object.defineProperty;
|
13
13
|
var fk = (e, t, r) => t in e ? dk(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
@@ -158,7 +158,7 @@ const hk = (e) => e && e.stack && e.message, Cd = (...e) => {
|
|
158
158
|
locale: Le(() => o.programTheme.intl.locale),
|
159
159
|
isTestMode: Le(() => o.programTheme.isTestMode),
|
160
160
|
openOrgSearchEnabled: Le(() => o.programTheme.openOrgSearchEnabled),
|
161
|
-
jslibVerActual: Le(() => "2.112.0-alpha.
|
161
|
+
jslibVerActual: Le(() => "2.112.0-alpha.5", "?"),
|
162
162
|
...r
|
163
163
|
};
|
164
164
|
}
|
@@ -404,7 +404,7 @@ const Py = (e) => {
|
|
404
404
|
"image/jpg",
|
405
405
|
"image/jpeg",
|
406
406
|
"application/pdf"
|
407
|
-
], NW = [".jpg", ".jpeg", ".png", ".pdf"], Bk = 3, Hk = "file", Sn = "mockStep", Bs = "mockSegment", Hs = "mockSubSegment", zs = "mockErrorId", Gs = "mockRewardCode", Ws = "mockRedirectUrl", Xi = "mockConsumerInfoState", Qi = "mockIdCheckLoopServiceType", Ji = "mockDocSelected", Ks = "mockPreviousStep", zk = "thirdPartyLoopProvider",
|
407
|
+
], NW = [".jpg", ".jpeg", ".png", ".pdf"], Bk = 3, Hk = "file", Sn = "mockStep", Bs = "mockSegment", Hs = "mockSubSegment", zs = "mockErrorId", Gs = "mockRewardCode", Ws = "mockRedirectUrl", Xi = "mockConsumerInfoState", Qi = "mockIdCheckLoopServiceType", Ji = "mockDocSelected", Ks = "mockPreviousStep", zk = "thirdPartyLoopProvider", Co = "installPageUrl", hb = "installType", Gk = "layout", bE = "externalUserId", SE = 9, Wk = 1, Kk = "www.sheerid.com", qk = "SheerID", gb = "https://verify.sheerid.com/verification-support/feedback.html?token=", yb = "https://support.sheerid.com", Yk = 1e4, wE = 200, Zk = 6, Xk = [
|
408
408
|
"firstName",
|
409
409
|
"lastName",
|
410
410
|
"memberId",
|
@@ -588,7 +588,7 @@ function Kh(...e) {
|
|
588
588
|
}
|
589
589
|
var qh = /* @__PURE__ */ ((e) => (e.TRUE = "true", e.FALSE = "false", e))(qh || {});
|
590
590
|
const eA = ["sheerid.com"];
|
591
|
-
var
|
591
|
+
var Ut = /* @__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))(Ut || {}), ls = /* @__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))(ls || {}), bn = /* @__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))(bn || {});
|
592
592
|
function Nf(e, t, r) {
|
593
593
|
if (Ey())
|
594
594
|
return L.info("Not able to track");
|
@@ -598,7 +598,7 @@ function Nf(e, t, r) {
|
|
598
598
|
L.warn(`Failed ${e}:${t} event`, n);
|
599
599
|
}
|
600
600
|
}
|
601
|
-
const
|
601
|
+
const co = async (e) => {
|
602
602
|
try {
|
603
603
|
const r = { ...await oE() || {}, ...e.params };
|
604
604
|
Nf("event", e.eventName, r), fi() && window.NREUM.addPageAction(e.eventName, r);
|
@@ -1203,8 +1203,8 @@ const Be = () => ce, bA = (e) => {
|
|
1203
1203
|
`option "${Xi}" set to ${ce[Xi]}`
|
1204
1204
|
)), e.hasOwnProperty(Qi) && (ce[Qi] = e[Qi], L.info(
|
1205
1205
|
`option "${Qi}" set to ${ce[Qi]}`
|
1206
|
-
)), e.hasOwnProperty(
|
1207
|
-
`option "${
|
1206
|
+
)), e.hasOwnProperty(Co) && (ce[Co] = e[Co], L.info(
|
1207
|
+
`option "${Co}" set to ${ce[Co]}`
|
1208
1208
|
)), e.hasOwnProperty(Ji) && (ce[Ji] = e[Ji], L.info(
|
1209
1209
|
`option "${Ji}" set to ${ce[Ji]}`
|
1210
1210
|
)), e.hasOwnProperty("mockResponse") && (ce.mockResponse = Ge(e.mockResponse), L.info('option "mockResponse" set to', ce.mockResponse)), e.hasOwnProperty("messages") && (ce.messagesWithLocale = { ...ce.messagesWithLocale, "en-US": e.messages }, L.warn(
|
@@ -2663,13 +2663,13 @@ These messages will override existing messages of the same key for "en-US" local
|
|
2663
2663
|
}, PE = () => `${Be().restApi.serviceUrl}${Be().restApi.resources.verification}`, CA = (e) => `${PE()}${e}`, xA = () => PE(), TA = (e, t = null) => {
|
2664
2664
|
const r = `${Be().restApi.serviceUrl}${Be().restApi.resources.program.base}${e}/${Be().restApi.resources.program.theme}`;
|
2665
2665
|
return t ? `${r}?locale=${t}` : `${r}`;
|
2666
|
-
}, PA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, RA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, RE = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, NA = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, kW = (e, t, r) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, NE = () => "2.112.0-alpha.
|
2666
|
+
}, PA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, RA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, RE = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, NA = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, kW = (e, t, r) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, NE = () => "2.112.0-alpha.5", kA = () => window.location.href, kE = () => {
|
2667
2667
|
try {
|
2668
2668
|
const e = new URLSearchParams(window.location.search);
|
2669
|
-
if (e.get(
|
2670
|
-
return decodeURIComponent(e.get(
|
2671
|
-
if (Be()[
|
2672
|
-
return Be()[
|
2669
|
+
if (e.get(Co))
|
2670
|
+
return decodeURIComponent(e.get(Co));
|
2671
|
+
if (Be()[Co])
|
2672
|
+
return Be()[Co];
|
2673
2673
|
} catch (e) {
|
2674
2674
|
L.error(e, "Install Page URL");
|
2675
2675
|
}
|
@@ -2685,7 +2685,7 @@ These messages will override existing messages of the same key for "en-US" local
|
|
2685
2685
|
L.error(e, "getInstallType");
|
2686
2686
|
}
|
2687
2687
|
return window.sheerIdInstallType || "cdn_no_iframe";
|
2688
|
-
}, AW = () => `${Be().restApi.serviceUrl}rest/v2/help/verificationHelp`,
|
2688
|
+
}, AW = () => `${Be().restApi.serviceUrl}rest/v2/help/verificationHelp`, po = (e) => {
|
2689
2689
|
try {
|
2690
2690
|
const t = new URLSearchParams(window.location.search);
|
2691
2691
|
if (t.get(e))
|
@@ -2695,7 +2695,7 @@ These messages will override existing messages of the same key for "en-US" local
|
|
2695
2695
|
} catch (t) {
|
2696
2696
|
L.error(t, "getQueryOrOption");
|
2697
2697
|
}
|
2698
|
-
}, OA = () => !!
|
2698
|
+
}, OA = () => !!po("mockStep"), Eu = (e = void 0) => {
|
2699
2699
|
try {
|
2700
2700
|
const t = new URLSearchParams(window.location.search);
|
2701
2701
|
let r;
|
@@ -2704,13 +2704,13 @@ These messages will override existing messages of the same key for "en-US" local
|
|
2704
2704
|
} catch (t) {
|
2705
2705
|
L.error(t, "getRouteOverride");
|
2706
2706
|
}
|
2707
|
-
}, Rb = () =>
|
2707
|
+
}, Rb = () => po(Bs), Nb = () => po(Hs), DA = () => po(zs), Io = () => po(Ks), LA = () => {
|
2708
2708
|
try {
|
2709
2709
|
return new URLSearchParams(window.location.search).get(Sn) === Hl.loading || Be()[Sn] === Hl.loading;
|
2710
2710
|
} catch (e) {
|
2711
2711
|
return L.error(e, "isMockingLoading"), !1;
|
2712
2712
|
}
|
2713
|
-
}, FA = () =>
|
2713
|
+
}, FA = () => Io(), AE = () => po(Gs), _E = () => po(Ws), UA = (e) => {
|
2714
2714
|
const t = Ge(e), r = DA(), n = _E();
|
2715
2715
|
return r && (t.errorIds = [r]), n && (t.redirectUrl = n), t;
|
2716
2716
|
}, $A = (e) => {
|
@@ -4603,14 +4603,14 @@ async function BD(e, t, r) {
|
|
4603
4603
|
completeAuthentication: u
|
4604
4604
|
} = qe;
|
4605
4605
|
try {
|
4606
|
-
performance.clearMarks(
|
4607
|
-
eventName:
|
4606
|
+
performance.clearMarks(Ut.STEP_SUBMITTED), performance.mark(Ut.STEP_SUBMITTED), co({
|
4607
|
+
eventName: Ut.STEP_SUBMITTED,
|
4608
4608
|
params: {
|
4609
4609
|
step: e,
|
4610
4610
|
eventDuration: performance.measure(
|
4611
|
-
|
4612
|
-
|
4613
|
-
|
4611
|
+
Ut.STEP_SUBMITTED,
|
4612
|
+
Ut.STEP_SEEN,
|
4613
|
+
Ut.STEP_SUBMITTED
|
4614
4614
|
).duration
|
4615
4615
|
}
|
4616
4616
|
});
|
@@ -4636,14 +4636,14 @@ async function BD(e, t, r) {
|
|
4636
4636
|
);
|
4637
4637
|
}
|
4638
4638
|
try {
|
4639
|
-
performance.clearMarks(
|
4640
|
-
eventName:
|
4639
|
+
performance.clearMarks(Ut.STEP_ACCEPTED), performance.mark(Ut.STEP_ACCEPTED), co({
|
4640
|
+
eventName: Ut.STEP_ACCEPTED,
|
4641
4641
|
params: {
|
4642
4642
|
step: e,
|
4643
4643
|
eventDuration: performance.measure(
|
4644
|
-
|
4645
|
-
|
4646
|
-
|
4644
|
+
Ut.STEP_ACCEPTED,
|
4645
|
+
Ut.STEP_SEEN,
|
4646
|
+
Ut.STEP_ACCEPTED
|
4647
4647
|
).duration
|
4648
4648
|
}
|
4649
4649
|
});
|
@@ -4804,7 +4804,7 @@ const jy = (e) => (Ok(e), ca.on(e.name, e.callback), ZD()), XD = () => {
|
|
4804
4804
|
locale: a,
|
4805
4805
|
previousViewModel: t,
|
4806
4806
|
currentStep: r,
|
4807
|
-
externalUserId:
|
4807
|
+
externalUserId: po(bE)
|
4808
4808
|
});
|
4809
4809
|
}
|
4810
4810
|
return n;
|
@@ -5303,11 +5303,11 @@ var uC = { exports: {} };
|
|
5303
5303
|
}, P = function(v) {
|
5304
5304
|
v(Wt());
|
5305
5305
|
}, Me = function(v) {
|
5306
|
-
v(
|
5306
|
+
v(Bt());
|
5307
5307
|
}, Se = function(v, _) {
|
5308
5308
|
if (!Kn())
|
5309
5309
|
return v("swf object not loaded");
|
5310
|
-
if (!
|
5310
|
+
if (!yo())
|
5311
5311
|
return v("flash not installed");
|
5312
5312
|
if (!_.fonts.swfPath)
|
5313
5313
|
return v("missing options.fonts.swfPath");
|
@@ -6060,7 +6060,7 @@ var uC = { exports: {} };
|
|
6060
6060
|
return !1;
|
6061
6061
|
var oe = j.indexOf("win") < 0 && j.indexOf("linux") < 0 && j.indexOf("mac") < 0 && j.indexOf("iphone") < 0 && j.indexOf("ipad") < 0 && j.indexOf("ipod") < 0;
|
6062
6062
|
return oe !== (V === "Other") ? !0 : typeof navigator.plugins > "u" && V !== "Windows" && V !== "Windows Phone";
|
6063
|
-
},
|
6063
|
+
}, Bt = function() {
|
6064
6064
|
var v = navigator.userAgent.toLowerCase(), _ = navigator.productSub, j;
|
6065
6065
|
if (v.indexOf("edge/") >= 0 || v.indexOf("iemobile/") >= 0)
|
6066
6066
|
return !1;
|
@@ -6100,7 +6100,7 @@ var uC = { exports: {} };
|
|
6100
6100
|
return ("msWriteProfilerMark" in window) + ("msLaunchUri" in navigator) + ("msSaveBlob" in navigator) >= 2;
|
6101
6101
|
}, Kn = function() {
|
6102
6102
|
return typeof window.swfobject < "u";
|
6103
|
-
},
|
6103
|
+
}, yo = function() {
|
6104
6104
|
return window.swfobject.hasFlashPlayerVersion("9.0.0");
|
6105
6105
|
}, Ua = function(v) {
|
6106
6106
|
var _ = document.createElement("div");
|
@@ -6472,7 +6472,7 @@ const TL = /* @__PURE__ */ Pr(xL), PL = [
|
|
6472
6472
|
"OTHER_HEALTH_WORKER"
|
6473
6473
|
], kL = ["HOME_BUYER", "OTHER_MOVER"];
|
6474
6474
|
let cS = {};
|
6475
|
-
const AL = (e) => cS[e] ? (L.log(`getOverridenValidator returning '${e}'`), cS[e]) : null,
|
6475
|
+
const AL = (e) => cS[e] ? (L.log(`getOverridenValidator returning '${e}'`), cS[e]) : null, Po = 10, _L = 16, OL = 1900, DL = 3e3, dS = 50, km = 256, Am = 4096, LL = /^\+(?:[0-9] ?){6,14}[0-9]$/, FL = [
|
6476
6476
|
/^\+?0*\d{10,}(x[0-9]{0,5})?$/,
|
6477
6477
|
/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/
|
6478
6478
|
], UL = (e) => Object.keys(e).length > dS ? (L.error(`Invalid number of metadata keys (max ${dS})`, "metadata keys"), !1) : !0, $L = (e) => {
|
@@ -6690,13 +6690,13 @@ const AL = (e) => cS[e] ? (L.log(`getOverridenValidator returning '${e}'`), cS[e
|
|
6690
6690
|
if (e === void 0 || !/^(?:[a-zA-Z0-9]\s*){12}$|^$/.test(e))
|
6691
6691
|
return t;
|
6692
6692
|
}, bF = new RegExp("([\\p{Letter}\\p{Mark}\\p{Connector_Punctuation}\\p{Join_Control}]+)", "v"), hC = (e) => bF.test(e), rg = (e) => {
|
6693
|
-
const t = e.split("-"), r = parseInt(t[0],
|
6693
|
+
const t = e.split("-"), r = parseInt(t[0], Po), n = parseInt(t[1], Po), a = parseInt(t[2], Po), o = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
6694
6694
|
return !(r < OL || r > DL || n <= 0 || n > 12 || ((r % 400 === 0 || r % 100 !== 0 && r % 4 === 0) && (o[1] = 29), a <= 0 || a > o[n - 1]));
|
6695
6695
|
}, ng = (e) => !!/^\d{4}[\-\s\/]\d{1,2}[\-\s\/]\d{1,2}$/.test(e), Hy = (e) => {
|
6696
6696
|
const t = /* @__PURE__ */ new Date();
|
6697
6697
|
return new Date(e) > t;
|
6698
6698
|
}, gC = (e, t = _L) => {
|
6699
|
-
const r = e.split("-"), n = parseInt(r[0],
|
6699
|
+
const r = e.split("-"), n = parseInt(r[0], Po), a = parseInt(r[1], Po), o = parseInt(r[2], Po), s = (/* @__PURE__ */ new Date()).getFullYear(), i = (/* @__PURE__ */ new Date()).getMonth() + 1, l = (/* @__PURE__ */ new Date()).getDate();
|
6700
6700
|
if (s - n === t) {
|
6701
6701
|
if (i - a < 0 || i - a === 0 && l - o < 0)
|
6702
6702
|
return !0;
|
@@ -6704,7 +6704,7 @@ const AL = (e) => cS[e] ? (L.log(`getOverridenValidator returning '${e}'`), cS[e
|
|
6704
6704
|
return !0;
|
6705
6705
|
return !1;
|
6706
6706
|
}, SF = (e, t = 120) => {
|
6707
|
-
const r = e.split("-"), n = parseInt(r[0],
|
6707
|
+
const r = e.split("-"), n = parseInt(r[0], Po), a = parseInt(r[1], Po), o = parseInt(r[2], Po), s = (/* @__PURE__ */ new Date()).getFullYear(), i = (/* @__PURE__ */ new Date()).getMonth() + 1, l = (/* @__PURE__ */ new Date()).getDate();
|
6708
6708
|
if (s - n === t) {
|
6709
6709
|
if (i - a > 0 || i - a === 0 && l - o > 0)
|
6710
6710
|
return !0;
|
@@ -6888,7 +6888,7 @@ const ws = (e, t) => {
|
|
6888
6888
|
locale: c,
|
6889
6889
|
country: S,
|
6890
6890
|
previousViewModel: g,
|
6891
|
-
externalUserId:
|
6891
|
+
externalUserId: po(bE)
|
6892
6892
|
});
|
6893
6893
|
w = tL(w, u), AF(o, l) && (ca.emit("ON_VERIFICATION_STEP_CHANGE", l), o && o.currentStep === "sso" && l.currentStep !== "sso" && l.currentStep !== "pending" && vC()), u.threatMetrixEnabled && eL(l.verificationId), uD(l.verificationId), w && w.hasOwnProperty("metadata") && (w.metadata = {
|
6894
6894
|
...w.metadata,
|
@@ -9568,56 +9568,56 @@ function QS(e, t, r) {
|
|
9568
9568
|
if (!n) throw Error(de(169));
|
9569
9569
|
r ? (e = Dx(e, t, ps), n.__reactInternalMemoizedMergedChildContext = e, kt(Vr), kt(wr), xt(wr, e)) : kt(Vr), xt(Vr, r);
|
9570
9570
|
}
|
9571
|
-
var
|
9571
|
+
var Eo = null, Xf = !1, Zm = !1;
|
9572
9572
|
function Lx(e) {
|
9573
|
-
|
9573
|
+
Eo === null ? Eo = [e] : Eo.push(e);
|
9574
9574
|
}
|
9575
9575
|
function k$(e) {
|
9576
9576
|
Xf = !0, Lx(e);
|
9577
9577
|
}
|
9578
9578
|
function Aa() {
|
9579
|
-
if (!Zm &&
|
9579
|
+
if (!Zm && Eo !== null) {
|
9580
9580
|
Zm = !0;
|
9581
9581
|
var e = 0, t = mt;
|
9582
9582
|
try {
|
9583
|
-
var r =
|
9583
|
+
var r = Eo;
|
9584
9584
|
for (mt = 1; e < r.length; e++) {
|
9585
9585
|
var n = r[e];
|
9586
9586
|
do
|
9587
9587
|
n = n(!0);
|
9588
9588
|
while (n !== null);
|
9589
9589
|
}
|
9590
|
-
|
9590
|
+
Eo = null, Xf = !1;
|
9591
9591
|
} catch (a) {
|
9592
|
-
throw
|
9592
|
+
throw Eo !== null && (Eo = Eo.slice(e + 1)), ix(nv, Aa), a;
|
9593
9593
|
} finally {
|
9594
9594
|
mt = t, Zm = !1;
|
9595
9595
|
}
|
9596
9596
|
}
|
9597
9597
|
return null;
|
9598
9598
|
}
|
9599
|
-
var ai = [], si = 0, Wd = null, Kd = 0, wn = [], In = 0, ms = null,
|
9599
|
+
var ai = [], si = 0, Wd = null, Kd = 0, wn = [], In = 0, ms = null, xo = 1, To = "";
|
9600
9600
|
function za(e, t) {
|
9601
9601
|
ai[si++] = Kd, ai[si++] = Wd, Wd = e, Kd = t;
|
9602
9602
|
}
|
9603
9603
|
function Fx(e, t, r) {
|
9604
|
-
wn[In++] =
|
9605
|
-
var n =
|
9606
|
-
e =
|
9604
|
+
wn[In++] = xo, wn[In++] = To, wn[In++] = ms, ms = e;
|
9605
|
+
var n = xo;
|
9606
|
+
e = To;
|
9607
9607
|
var a = 32 - Vn(n) - 1;
|
9608
9608
|
n &= ~(1 << a), r += 1;
|
9609
9609
|
var o = 32 - Vn(t) + a;
|
9610
9610
|
if (30 < o) {
|
9611
9611
|
var s = a - a % 5;
|
9612
|
-
o = (n & (1 << s) - 1).toString(32), n >>= s, a -= s,
|
9613
|
-
} else
|
9612
|
+
o = (n & (1 << s) - 1).toString(32), n >>= s, a -= s, xo = 1 << 32 - Vn(t) + a | r << a | n, To = o + e;
|
9613
|
+
} else xo = 1 << o | r << a | n, To = e;
|
9614
9614
|
}
|
9615
9615
|
function fv(e) {
|
9616
9616
|
e.return !== null && (za(e, 1), Fx(e, 1, 0));
|
9617
9617
|
}
|
9618
9618
|
function pv(e) {
|
9619
9619
|
for (; e === Wd; ) Wd = ai[--si], ai[si] = null, Kd = ai[--si], ai[si] = null;
|
9620
|
-
for (; e === ms; ) ms = wn[--In], wn[In] = null,
|
9620
|
+
for (; e === ms; ) ms = wn[--In], wn[In] = null, To = wn[--In], wn[In] = null, xo = wn[--In], wn[In] = null;
|
9621
9621
|
}
|
9622
9622
|
var an = null, on = null, Ot = !1, Un = null;
|
9623
9623
|
function Ux(e, t) {
|
@@ -9632,7 +9632,7 @@ function JS(e, t) {
|
|
9632
9632
|
case 6:
|
9633
9633
|
return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, an = e, on = null, !0) : !1;
|
9634
9634
|
case 13:
|
9635
|
-
return t = t.nodeType !== 8 ? null : t, t !== null ? (r = ms !== null ? { id:
|
9635
|
+
return t = t.nodeType !== 8 ? null : t, t !== null ? (r = ms !== null ? { id: xo, overflow: To } : null, e.memoizedState = { dehydrated: t, treeContext: r, retryLane: 1073741824 }, r = Mn(18, null, null, 0), r.stateNode = t, r.return = e, e.child = r, an = e, on = null, !0) : !1;
|
9636
9636
|
default:
|
9637
9637
|
return !1;
|
9638
9638
|
}
|
@@ -9964,7 +9964,7 @@ function bv(e) {
|
|
9964
9964
|
function Hx(e, t) {
|
9965
9965
|
e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.lastBaseUpdate, shared: e.shared, effects: e.effects });
|
9966
9966
|
}
|
9967
|
-
function
|
9967
|
+
function Ro(e, t) {
|
9968
9968
|
return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null };
|
9969
9969
|
}
|
9970
9970
|
function ha(e, t, r) {
|
@@ -10425,7 +10425,7 @@ var Jd = { readContext: Tn, useCallback: fr, useContext: fr, useEffect: fr, useI
|
|
10425
10425
|
}, useId: function() {
|
10426
10426
|
var e = to(), t = er.identifierPrefix;
|
10427
10427
|
if (Ot) {
|
10428
|
-
var r =
|
10428
|
+
var r = To, n = xo;
|
10429
10429
|
r = (n & ~(1 << 32 - Vn(n) - 1)).toString(32) + r, t = ":" + t + "R" + r, r = lu++, 0 < r && (t += "H" + r.toString(32)), t += ":";
|
10430
10430
|
} else r = _$++, t = ":" + t + "r" + r.toString(32) + ":";
|
10431
10431
|
return e.memoizedState = t;
|
@@ -10480,15 +10480,15 @@ var Jf = { isMounted: function(e) {
|
|
10480
10480
|
return (e = e._reactInternals) ? Ms(e) === e : !1;
|
10481
10481
|
}, enqueueSetState: function(e, t, r) {
|
10482
10482
|
e = e._reactInternals;
|
10483
|
-
var n = Tr(), a = ya(e), o =
|
10483
|
+
var n = Tr(), a = ya(e), o = Ro(n, a);
|
10484
10484
|
o.payload = t, r != null && (o.callback = r), t = ha(e, o, a), t !== null && (Bn(t, e, a, n), td(t, e, a));
|
10485
10485
|
}, enqueueReplaceState: function(e, t, r) {
|
10486
10486
|
e = e._reactInternals;
|
10487
|
-
var n = Tr(), a = ya(e), o =
|
10487
|
+
var n = Tr(), a = ya(e), o = Ro(n, a);
|
10488
10488
|
o.tag = 1, o.payload = t, r != null && (o.callback = r), t = ha(e, o, a), t !== null && (Bn(t, e, a, n), td(t, e, a));
|
10489
10489
|
}, enqueueForceUpdate: function(e, t) {
|
10490
10490
|
e = e._reactInternals;
|
10491
|
-
var r = Tr(), n = ya(e), a =
|
10491
|
+
var r = Tr(), n = ya(e), a = Ro(r, n);
|
10492
10492
|
a.tag = 2, t != null && (a.callback = t), t = ha(e, a, n), t !== null && (Bn(t, e, n, r), td(t, e, n));
|
10493
10493
|
} };
|
10494
10494
|
function sw(e, t, r, n, a, o, s) {
|
@@ -10535,14 +10535,14 @@ function Lg(e, t) {
|
|
10535
10535
|
}
|
10536
10536
|
var j$ = typeof WeakMap == "function" ? WeakMap : Map;
|
10537
10537
|
function d1(e, t, r) {
|
10538
|
-
r =
|
10538
|
+
r = Ro(-1, r), r.tag = 3, r.payload = { element: null };
|
10539
10539
|
var n = t.value;
|
10540
10540
|
return r.callback = function() {
|
10541
10541
|
tf || (tf = !0, Wg = n), Lg(e, t);
|
10542
10542
|
}, r;
|
10543
10543
|
}
|
10544
10544
|
function f1(e, t, r) {
|
10545
|
-
r =
|
10545
|
+
r = Ro(-1, r), r.tag = 3;
|
10546
10546
|
var n = e.type.getDerivedStateFromError;
|
10547
10547
|
if (typeof n == "function") {
|
10548
10548
|
var a = t.value;
|
@@ -10577,7 +10577,7 @@ function uw(e) {
|
|
10577
10577
|
return null;
|
10578
10578
|
}
|
10579
10579
|
function cw(e, t, r, n, a) {
|
10580
|
-
return e.mode & 1 ? (e.flags |= 65536, e.lanes = a, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate === null ? r.tag = 17 : (t =
|
10580
|
+
return e.mode & 1 ? (e.flags |= 65536, e.lanes = a, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate === null ? r.tag = 17 : (t = Ro(-1, 1), t.tag = 2, ha(r, t, 1))), r.lanes |= 1), e);
|
10581
10581
|
}
|
10582
10582
|
var V$ = $o.ReactCurrentOwner, jr = !1;
|
10583
10583
|
function Cr(e, t, r, n) {
|
@@ -10736,7 +10736,7 @@ function B$(e, t, r, n, a, o, s) {
|
|
10736
10736
|
}
|
10737
10737
|
return Ov(), n = th(Error(de(421))), bc(e, t, s, n);
|
10738
10738
|
}
|
10739
|
-
return a.data === "$?" ? (t.flags |= 128, t.child = e.child, t = t2.bind(null, e), a._reactRetry = t, null) : (e = o.treeContext, on = ma(a.nextSibling), an = t, Ot = !0, Un = null, e !== null && (wn[In++] =
|
10739
|
+
return a.data === "$?" ? (t.flags |= 128, t.child = e.child, t = t2.bind(null, e), a._reactRetry = t, null) : (e = o.treeContext, on = ma(a.nextSibling), an = t, Ot = !0, Un = null, e !== null && (wn[In++] = xo, wn[In++] = To, wn[In++] = ms, xo = e.id, To = e.overflow, ms = t), t = Pv(t, n.children), t.flags |= 4096, t);
|
10740
10740
|
}
|
10741
10741
|
function hw(e, t, r) {
|
10742
10742
|
e.lanes |= t;
|
@@ -11201,7 +11201,7 @@ function li(e, t) {
|
|
11201
11201
|
if (r !== null) if (typeof r == "function") try {
|
11202
11202
|
r(null);
|
11203
11203
|
} catch (n) {
|
11204
|
-
|
11204
|
+
$t(e, t, n);
|
11205
11205
|
}
|
11206
11206
|
else r.current = null;
|
11207
11207
|
}
|
@@ -11209,7 +11209,7 @@ function Bg(e, t, r) {
|
|
11209
11209
|
try {
|
11210
11210
|
r();
|
11211
11211
|
} catch (n) {
|
11212
|
-
|
11212
|
+
$t(e, t, n);
|
11213
11213
|
}
|
11214
11214
|
}
|
11215
11215
|
var gw = !1;
|
@@ -11274,7 +11274,7 @@ function K$(e, t) {
|
|
11274
11274
|
throw Error(de(163));
|
11275
11275
|
}
|
11276
11276
|
} catch (w) {
|
11277
|
-
|
11277
|
+
$t(t, t.return, w);
|
11278
11278
|
}
|
11279
11279
|
if (e = t.sibling, e !== null) {
|
11280
11280
|
e.return = t.return, Pe = e;
|
@@ -11392,7 +11392,7 @@ function E1(e, t, r) {
|
|
11392
11392
|
if (!br && (li(r, t), n = r.stateNode, typeof n.componentWillUnmount == "function")) try {
|
11393
11393
|
n.props = r.memoizedProps, n.state = r.memoizedState, n.componentWillUnmount();
|
11394
11394
|
} catch (i) {
|
11395
|
-
|
11395
|
+
$t(r, t, i);
|
11396
11396
|
}
|
11397
11397
|
qo(e, t, r);
|
11398
11398
|
break;
|
@@ -11442,7 +11442,7 @@ function Dn(e, t) {
|
|
11442
11442
|
var l = a.alternate;
|
11443
11443
|
l !== null && (l.return = null), a.return = null;
|
11444
11444
|
} catch (u) {
|
11445
|
-
|
11445
|
+
$t(a, t, u);
|
11446
11446
|
}
|
11447
11447
|
}
|
11448
11448
|
if (t.subtreeFlags & 12854) for (t = t.child; t !== null; ) C1(t, e), t = t.sibling;
|
@@ -11458,12 +11458,12 @@ function C1(e, t) {
|
|
11458
11458
|
try {
|
11459
11459
|
Al(3, e, e.return), ep(3, e);
|
11460
11460
|
} catch (h) {
|
11461
|
-
|
11461
|
+
$t(e, e.return, h);
|
11462
11462
|
}
|
11463
11463
|
try {
|
11464
11464
|
Al(5, e, e.return);
|
11465
11465
|
} catch (h) {
|
11466
|
-
|
11466
|
+
$t(e, e.return, h);
|
11467
11467
|
}
|
11468
11468
|
}
|
11469
11469
|
break;
|
@@ -11476,7 +11476,7 @@ function C1(e, t) {
|
|
11476
11476
|
try {
|
11477
11477
|
Zl(a, "");
|
11478
11478
|
} catch (h) {
|
11479
|
-
|
11479
|
+
$t(e, e.return, h);
|
11480
11480
|
}
|
11481
11481
|
}
|
11482
11482
|
if (n & 4 && (a = e.stateNode, a != null)) {
|
@@ -11508,7 +11508,7 @@ function C1(e, t) {
|
|
11508
11508
|
}
|
11509
11509
|
a[au] = o;
|
11510
11510
|
} catch (h) {
|
11511
|
-
|
11511
|
+
$t(e, e.return, h);
|
11512
11512
|
}
|
11513
11513
|
}
|
11514
11514
|
break;
|
@@ -11519,7 +11519,7 @@ function C1(e, t) {
|
|
11519
11519
|
try {
|
11520
11520
|
a.nodeValue = o;
|
11521
11521
|
} catch (h) {
|
11522
|
-
|
11522
|
+
$t(e, e.return, h);
|
11523
11523
|
}
|
11524
11524
|
}
|
11525
11525
|
break;
|
@@ -11527,7 +11527,7 @@ function C1(e, t) {
|
|
11527
11527
|
if (Dn(t, e), Xn(e), n & 4 && r !== null && r.memoizedState.isDehydrated) try {
|
11528
11528
|
eu(t.containerInfo);
|
11529
11529
|
} catch (h) {
|
11530
|
-
|
11530
|
+
$t(e, e.return, h);
|
11531
11531
|
}
|
11532
11532
|
break;
|
11533
11533
|
case 4:
|
@@ -11555,7 +11555,7 @@ function C1(e, t) {
|
|
11555
11555
|
try {
|
11556
11556
|
t = n, g.props = t.memoizedProps, g.state = t.memoizedState, g.componentWillUnmount();
|
11557
11557
|
} catch (h) {
|
11558
|
-
|
11558
|
+
$t(n, r, h);
|
11559
11559
|
}
|
11560
11560
|
}
|
11561
11561
|
break;
|
@@ -11579,14 +11579,14 @@ function C1(e, t) {
|
|
11579
11579
|
try {
|
11580
11580
|
a = d.stateNode, u ? (o = a.style, typeof o.setProperty == "function" ? o.setProperty("display", "none", "important") : o.display = "none") : (i = d.stateNode, l = d.memoizedProps.style, s = l != null && l.hasOwnProperty("display") ? l.display : null, i.style.display = XC("display", s));
|
11581
11581
|
} catch (h) {
|
11582
|
-
|
11582
|
+
$t(e, e.return, h);
|
11583
11583
|
}
|
11584
11584
|
}
|
11585
11585
|
} else if (d.tag === 6) {
|
11586
11586
|
if (c === null) try {
|
11587
11587
|
d.stateNode.nodeValue = u ? "" : d.memoizedProps;
|
11588
11588
|
} catch (h) {
|
11589
|
-
|
11589
|
+
$t(e, e.return, h);
|
11590
11590
|
}
|
11591
11591
|
} else if ((d.tag !== 22 && d.tag !== 23 || d.memoizedState === null || d === e) && d.child !== null) {
|
11592
11592
|
d.child.return = d, d = d.child;
|
@@ -11643,7 +11643,7 @@ function Xn(e) {
|
|
11643
11643
|
throw Error(de(161));
|
11644
11644
|
}
|
11645
11645
|
} catch (l) {
|
11646
|
-
|
11646
|
+
$t(e, e.return, l);
|
11647
11647
|
}
|
11648
11648
|
e.flags &= -3;
|
11649
11649
|
}
|
@@ -11751,7 +11751,7 @@ function bw(e) {
|
|
11751
11751
|
}
|
11752
11752
|
br || t.flags & 512 && Hg(t);
|
11753
11753
|
} catch (p) {
|
11754
|
-
|
11754
|
+
$t(t, t.return, p);
|
11755
11755
|
}
|
11756
11756
|
}
|
11757
11757
|
if (t === e) {
|
@@ -11792,7 +11792,7 @@ function ww(e) {
|
|
11792
11792
|
try {
|
11793
11793
|
ep(4, t);
|
11794
11794
|
} catch (l) {
|
11795
|
-
|
11795
|
+
$t(t, r, l);
|
11796
11796
|
}
|
11797
11797
|
break;
|
11798
11798
|
case 1:
|
@@ -11802,14 +11802,14 @@ function ww(e) {
|
|
11802
11802
|
try {
|
11803
11803
|
n.componentDidMount();
|
11804
11804
|
} catch (l) {
|
11805
|
-
|
11805
|
+
$t(t, a, l);
|
11806
11806
|
}
|
11807
11807
|
}
|
11808
11808
|
var o = t.return;
|
11809
11809
|
try {
|
11810
11810
|
Hg(t);
|
11811
11811
|
} catch (l) {
|
11812
|
-
|
11812
|
+
$t(t, o, l);
|
11813
11813
|
}
|
11814
11814
|
break;
|
11815
11815
|
case 5:
|
@@ -11817,11 +11817,11 @@ function ww(e) {
|
|
11817
11817
|
try {
|
11818
11818
|
Hg(t);
|
11819
11819
|
} catch (l) {
|
11820
|
-
|
11820
|
+
$t(t, s, l);
|
11821
11821
|
}
|
11822
11822
|
}
|
11823
11823
|
} catch (l) {
|
11824
|
-
|
11824
|
+
$t(t, t.return, l);
|
11825
11825
|
}
|
11826
11826
|
if (t === e) {
|
11827
11827
|
Pe = null;
|
@@ -11835,7 +11835,7 @@ function ww(e) {
|
|
11835
11835
|
Pe = t.return;
|
11836
11836
|
}
|
11837
11837
|
}
|
11838
|
-
var Y$ = Math.ceil, ef = $o.ReactCurrentDispatcher, Rv = $o.ReactCurrentOwner, Cn = $o.ReactCurrentBatchConfig, ut = 0, er = null, Gt = null, ir = 0, Qr = 0, ui = ka(0), Zt = 0, du = null, gs = 0, tp = 0, Nv = 0, _l = null, Ur = null, kv = 0, _i = 1 / 0,
|
11838
|
+
var Y$ = Math.ceil, ef = $o.ReactCurrentDispatcher, Rv = $o.ReactCurrentOwner, Cn = $o.ReactCurrentBatchConfig, ut = 0, er = null, Gt = null, ir = 0, Qr = 0, ui = ka(0), Zt = 0, du = null, gs = 0, tp = 0, Nv = 0, _l = null, Ur = null, kv = 0, _i = 1 / 0, Mo = null, tf = !1, Wg = null, ga = null, wc = !1, sa = null, rf = 0, Ol = 0, Kg = null, ad = -1, sd = 0;
|
11839
11839
|
function Tr() {
|
11840
11840
|
return ut & 6 ? Ht() : ad !== -1 ? ad : ad = Ht();
|
11841
11841
|
}
|
@@ -11889,7 +11889,7 @@ function T1(e, t) {
|
|
11889
11889
|
var a = ut;
|
11890
11890
|
ut |= 2;
|
11891
11891
|
var o = R1();
|
11892
|
-
(er !== e || ir !== t) && (
|
11892
|
+
(er !== e || ir !== t) && (Mo = null, _i = Ht() + 500, os(e, t));
|
11893
11893
|
do
|
11894
11894
|
try {
|
11895
11895
|
Q$();
|
@@ -11910,7 +11910,7 @@ function T1(e, t) {
|
|
11910
11910
|
case 1:
|
11911
11911
|
throw Error(de(345));
|
11912
11912
|
case 2:
|
11913
|
-
Ga(e, Ur,
|
11913
|
+
Ga(e, Ur, Mo);
|
11914
11914
|
break;
|
11915
11915
|
case 3:
|
11916
11916
|
if (oa(e, n), (n & 130023424) === n && (t = kv + 500 - Ht(), 10 < t)) {
|
@@ -11919,10 +11919,10 @@ function T1(e, t) {
|
|
11919
11919
|
Tr(), e.pingedLanes |= e.suspendedLanes & a;
|
11920
11920
|
break;
|
11921
11921
|
}
|
11922
|
-
e.timeoutHandle = Pg(Ga.bind(null, e, Ur,
|
11922
|
+
e.timeoutHandle = Pg(Ga.bind(null, e, Ur, Mo), t);
|
11923
11923
|
break;
|
11924
11924
|
}
|
11925
|
-
Ga(e, Ur,
|
11925
|
+
Ga(e, Ur, Mo);
|
11926
11926
|
break;
|
11927
11927
|
case 4:
|
11928
11928
|
if (oa(e, n), (n & 4194240) === n) break;
|
@@ -11931,13 +11931,13 @@ function T1(e, t) {
|
|
11931
11931
|
o = 1 << s, s = t[s], s > a && (a = s), n &= ~o;
|
11932
11932
|
}
|
11933
11933
|
if (n = a, n = Ht() - n, n = (120 > n ? 120 : 480 > n ? 480 : 1080 > n ? 1080 : 1920 > n ? 1920 : 3e3 > n ? 3e3 : 4320 > n ? 4320 : 1960 * Y$(n / 1960)) - n, 10 < n) {
|
11934
|
-
e.timeoutHandle = Pg(Ga.bind(null, e, Ur,
|
11934
|
+
e.timeoutHandle = Pg(Ga.bind(null, e, Ur, Mo), n);
|
11935
11935
|
break;
|
11936
11936
|
}
|
11937
|
-
Ga(e, Ur,
|
11937
|
+
Ga(e, Ur, Mo);
|
11938
11938
|
break;
|
11939
11939
|
case 5:
|
11940
|
-
Ga(e, Ur,
|
11940
|
+
Ga(e, Ur, Mo);
|
11941
11941
|
break;
|
11942
11942
|
default:
|
11943
11943
|
throw Error(de(329));
|
@@ -11997,7 +11997,7 @@ function Iw(e) {
|
|
11997
11997
|
}
|
11998
11998
|
if (r === 1) throw r = du, os(e, 0), oa(e, t), Hr(e, Ht()), r;
|
11999
11999
|
if (r === 6) throw Error(de(345));
|
12000
|
-
return e.finishedWork = e.current.alternate, e.finishedLanes = t, Ga(e, Ur,
|
12000
|
+
return e.finishedWork = e.current.alternate, e.finishedLanes = t, Ga(e, Ur, Mo), Hr(e, Ht()), null;
|
12001
12001
|
}
|
12002
12002
|
function Av(e, t) {
|
12003
12003
|
var r = ut;
|
@@ -12155,7 +12155,7 @@ function nf(e, t) {
|
|
12155
12155
|
var r = ut;
|
12156
12156
|
ut |= 2;
|
12157
12157
|
var n = R1();
|
12158
|
-
(er !== e || ir !== t) && (
|
12158
|
+
(er !== e || ir !== t) && (Mo = null, os(e, t));
|
12159
12159
|
do
|
12160
12160
|
try {
|
12161
12161
|
X$();
|
@@ -12320,7 +12320,7 @@ function Ii() {
|
|
12320
12320
|
ep(9, i);
|
12321
12321
|
}
|
12322
12322
|
} catch (M) {
|
12323
|
-
|
12323
|
+
$t(i, i.return, M);
|
12324
12324
|
}
|
12325
12325
|
if (i === s) {
|
12326
12326
|
Pe = null;
|
@@ -12350,7 +12350,7 @@ function Ii() {
|
|
12350
12350
|
function Mw(e, t, r) {
|
12351
12351
|
t = Ai(r, t), t = d1(e, t, 1), e = ha(e, t, 1), t = Tr(), e !== null && (Ru(e, 1, t), Hr(e, t));
|
12352
12352
|
}
|
12353
|
-
function
|
12353
|
+
function $t(e, t, r) {
|
12354
12354
|
if (e.tag === 3) Mw(e, e, r);
|
12355
12355
|
else for (; t !== null; ) {
|
12356
12356
|
if (t.tag === 3) {
|
@@ -12490,7 +12490,7 @@ _1 = function(e, t, r) {
|
|
12490
12490
|
for (var l = i.firstContext; l !== null; ) {
|
12491
12491
|
if (l.context === n) {
|
12492
12492
|
if (o.tag === 1) {
|
12493
|
-
l =
|
12493
|
+
l = Ro(-1, r & -r), l.tag = 2;
|
12494
12494
|
var u = o.updateQueue;
|
12495
12495
|
if (u !== null) {
|
12496
12496
|
u = u.shared;
|
@@ -12658,11 +12658,11 @@ function D1(e) {
|
|
12658
12658
|
return t;
|
12659
12659
|
}
|
12660
12660
|
function L1(e, t, r, n, a, o, s, i, l) {
|
12661
|
-
return e = Lv(r, n, !0, e, a, o, s, i, l), e.context = D1(null), r = e.current, n = Tr(), a = ya(r), o =
|
12661
|
+
return e = Lv(r, n, !0, e, a, o, s, i, l), e.context = D1(null), r = e.current, n = Tr(), a = ya(r), o = Ro(n, a), o.callback = t ?? null, ha(r, o, a), e.current.lanes = a, Ru(e, a, n), Hr(e, n), e;
|
12662
12662
|
}
|
12663
12663
|
function np(e, t, r, n) {
|
12664
12664
|
var a = t.current, o = Tr(), s = ya(a);
|
12665
|
-
return r = D1(r), t.context === null ? t.context = r : t.pendingContext = r, t =
|
12665
|
+
return r = D1(r), t.context === null ? t.context = r : t.pendingContext = r, t = Ro(o, s), t.payload = { element: e }, n = n === void 0 ? null : n, n !== null && (t.callback = n), e = ha(a, t, s), e !== null && (Bn(e, a, s, o), td(e, a, s)), s;
|
12666
12666
|
}
|
12667
12667
|
function of(e) {
|
12668
12668
|
if (e = e.current, !e.child) return null;
|
@@ -13976,11 +13976,11 @@ const xj = function() {
|
|
13976
13976
|
return "\\";
|
13977
13977
|
}, He = "\\#", we = { type: "literal", value: "\\#", description: '"\\\\#"' }, ke = function() {
|
13978
13978
|
return "\\#";
|
13979
|
-
}, at = "\\{", Wt = { type: "literal", value: "\\{", description: '"\\\\{"' },
|
13979
|
+
}, at = "\\{", Wt = { type: "literal", value: "\\{", description: '"\\\\{"' }, Bt = function() {
|
13980
13980
|
return "{";
|
13981
13981
|
}, Xt = "\\}", Ir = { type: "literal", value: "\\}", description: '"\\\\}"' }, kn = function() {
|
13982
13982
|
return "}";
|
13983
|
-
}, Pt = "\\u", Kn = { type: "literal", value: "\\u", description: '"\\\\u"' },
|
13983
|
+
}, Pt = "\\u", Kn = { type: "literal", value: "\\u", description: '"\\\\u"' }, yo = function(E) {
|
13984
13984
|
return String.fromCharCode(parseInt(E, 16));
|
13985
13985
|
}, Ua = function(E) {
|
13986
13986
|
return E.join("");
|
@@ -14049,10 +14049,10 @@ const xj = function() {
|
|
14049
14049
|
return "\\u" + ks(On);
|
14050
14050
|
});
|
14051
14051
|
}
|
14052
|
-
var qt = new Array(Ue.length),
|
14052
|
+
var qt = new Array(Ue.length), vo, _n, Go;
|
14053
14053
|
for (Go = 0; Go < Ue.length; Go++)
|
14054
14054
|
qt[Go] = Ue[Go].description;
|
14055
|
-
return
|
14055
|
+
return vo = Ue.length > 1 ? qt.slice(0, -1).join(", ") + " or " + qt[Ue.length - 1] : qt[0], _n = Xe ? '"' + ct(Xe) + '"' : "end of input", "Expected " + vo + " but " + _n + " found.";
|
14056
14056
|
}
|
14057
14057
|
return k !== null && ge(k), new t(
|
14058
14058
|
Te(k, Y),
|
@@ -14208,7 +14208,7 @@ const xj = function() {
|
|
14208
14208
|
}
|
14209
14209
|
function Ae() {
|
14210
14210
|
var E, k, Y, te, ge, Te, Ue, Xe;
|
14211
|
-
return Ee.test(n.charAt($)) ? (E = n.charAt($), $++) : (E = o, v === 0 && oe(me)), E === o && (E = $, n.substr($, 2) === Ne ? (k = Ne, $ += 2) : (k = o, v === 0 && oe(ve)), k !== o && (dt = E, k = xe()), E = k, E === o && (E = $, n.substr($, 2) === He ? (k = He, $ += 2) : (k = o, v === 0 && oe(we)), k !== o && (dt = E, k = ke()), E = k, E === o && (E = $, n.substr($, 2) === at ? (k = at, $ += 2) : (k = o, v === 0 && oe(Wt)), k !== o && (dt = E, k =
|
14211
|
+
return Ee.test(n.charAt($)) ? (E = n.charAt($), $++) : (E = o, v === 0 && oe(me)), E === o && (E = $, n.substr($, 2) === Ne ? (k = Ne, $ += 2) : (k = o, v === 0 && oe(ve)), k !== o && (dt = E, k = xe()), E = k, E === o && (E = $, n.substr($, 2) === He ? (k = He, $ += 2) : (k = o, v === 0 && oe(we)), k !== o && (dt = E, k = ke()), E = k, E === o && (E = $, n.substr($, 2) === at ? (k = at, $ += 2) : (k = o, v === 0 && oe(Wt)), k !== o && (dt = E, k = Bt()), E = k, E === o && (E = $, n.substr($, 2) === Xt ? (k = Xt, $ += 2) : (k = o, v === 0 && oe(Ir)), k !== o && (dt = E, k = kn()), E = k, E === o && (E = $, n.substr($, 2) === Pt ? (k = Pt, $ += 2) : (k = o, v === 0 && oe(Kn)), k !== o ? (Y = $, te = $, ge = ee(), ge !== o ? (Te = ee(), Te !== o ? (Ue = ee(), Ue !== o ? (Xe = ee(), Xe !== o ? (ge = [ge, Te, Ue, Xe], te = ge) : ($ = te, te = o)) : ($ = te, te = o)) : ($ = te, te = o)) : ($ = te, te = o), te !== o ? Y = n.substring(Y, $) : Y = te, Y !== o ? (dt = E, k = yo(Y), E = k) : ($ = E, E = o)) : ($ = E, E = o)))))), E;
|
14212
14212
|
}
|
14213
14213
|
function _e() {
|
14214
14214
|
var E, k, Y;
|
@@ -14721,7 +14721,7 @@ var Fw = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? fun
|
|
14721
14721
|
return typeof e;
|
14722
14722
|
} : function(e) {
|
14723
14723
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
14724
|
-
},
|
14724
|
+
}, mo = function(e, t) {
|
14725
14725
|
if (!(e instanceof t))
|
14726
14726
|
throw new TypeError("Cannot call a class as a function");
|
14727
14727
|
}, jo = /* @__PURE__ */ function() {
|
@@ -14791,7 +14791,7 @@ var Fw = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? fun
|
|
14791
14791
|
formatPlural: Zo,
|
14792
14792
|
formatMessage: Zo,
|
14793
14793
|
formatHTMLMessage: Zo
|
14794
|
-
},
|
14794
|
+
}, ho = Xj(xn({}, Yv, vT, {
|
14795
14795
|
formatters: Dl,
|
14796
14796
|
now: Zo
|
14797
14797
|
}));
|
@@ -14879,7 +14879,7 @@ function et(e) {
|
|
14879
14879
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.intlPropName, n = r === void 0 ? "intl" : r, a = t.withRef, o = a === void 0 ? !1 : a, s = function(i) {
|
14880
14880
|
Vo(l, i);
|
14881
14881
|
function l(u, c) {
|
14882
|
-
|
14882
|
+
mo(this, l);
|
14883
14883
|
var d = Bo(this, (l.__proto__ || Object.getPrototypeOf(l)).call(this, u, c));
|
14884
14884
|
return _a(c), d;
|
14885
14885
|
}
|
@@ -14904,7 +14904,7 @@ function et(e) {
|
|
14904
14904
|
}]), l;
|
14905
14905
|
}(x.Component);
|
14906
14906
|
return s.displayName = "InjectIntl(" + i3(e) + ")", s.contextTypes = {
|
14907
|
-
intl:
|
14907
|
+
intl: ho
|
14908
14908
|
}, s.WrappedComponent = e, Zg(s, e);
|
14909
14909
|
}
|
14910
14910
|
function l3(e) {
|
@@ -14915,7 +14915,7 @@ function u3(e) {
|
|
14915
14915
|
}
|
14916
14916
|
var c3 = function e(t) {
|
14917
14917
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
14918
|
-
|
14918
|
+
mo(this, e);
|
14919
14919
|
var n = r.style === "ordinal", a = u3(l3(t));
|
14920
14920
|
this.format = function(o) {
|
14921
14921
|
return a(o, n);
|
@@ -15044,7 +15044,7 @@ var w3 = Object.freeze({
|
|
15044
15044
|
Vo(t, e);
|
15045
15045
|
function t(r) {
|
15046
15046
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
15047
|
-
|
15047
|
+
mo(this, t);
|
15048
15048
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15049
15049
|
Rp(typeof Intl < "u", "[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");
|
15050
15050
|
var o = n.intl, s = void 0;
|
@@ -15118,15 +15118,15 @@ var w3 = Object.freeze({
|
|
15118
15118
|
}(x.Component);
|
15119
15119
|
_u.displayName = "IntlProvider";
|
15120
15120
|
_u.contextTypes = {
|
15121
|
-
intl:
|
15121
|
+
intl: ho
|
15122
15122
|
};
|
15123
15123
|
_u.childContextTypes = {
|
15124
|
-
intl:
|
15124
|
+
intl: ho.isRequired
|
15125
15125
|
};
|
15126
15126
|
var ST = function(e) {
|
15127
15127
|
Vo(t, e);
|
15128
15128
|
function t(r, n) {
|
15129
|
-
|
15129
|
+
mo(this, t);
|
15130
15130
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15131
15131
|
return _a(n), a;
|
15132
15132
|
}
|
@@ -15151,12 +15151,12 @@ var ST = function(e) {
|
|
15151
15151
|
}(x.Component);
|
15152
15152
|
ST.displayName = "FormattedDate";
|
15153
15153
|
ST.contextTypes = {
|
15154
|
-
intl:
|
15154
|
+
intl: ho
|
15155
15155
|
};
|
15156
15156
|
var wT = function(e) {
|
15157
15157
|
Vo(t, e);
|
15158
15158
|
function t(r, n) {
|
15159
|
-
|
15159
|
+
mo(this, t);
|
15160
15160
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15161
15161
|
return _a(n), a;
|
15162
15162
|
}
|
@@ -15181,7 +15181,7 @@ var wT = function(e) {
|
|
15181
15181
|
}(x.Component);
|
15182
15182
|
wT.displayName = "FormattedTime";
|
15183
15183
|
wT.contextTypes = {
|
15184
|
-
intl:
|
15184
|
+
intl: ho
|
15185
15185
|
};
|
15186
15186
|
var E3 = 1e3, IT = 1e3 * 60, MT = 1e3 * 60 * 60, ET = 1e3 * 60 * 60 * 24, C3 = 2147483647;
|
15187
15187
|
function x3(e) {
|
@@ -15211,7 +15211,7 @@ function P3(e, t) {
|
|
15211
15211
|
var Xv = function(e) {
|
15212
15212
|
Vo(t, e);
|
15213
15213
|
function t(r, n) {
|
15214
|
-
|
15214
|
+
mo(this, t);
|
15215
15215
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15216
15216
|
_a(n);
|
15217
15217
|
var o = isFinite(r.initialNow) ? Number(r.initialNow) : n.intl.now();
|
@@ -15272,7 +15272,7 @@ var Xv = function(e) {
|
|
15272
15272
|
}(x.Component);
|
15273
15273
|
Xv.displayName = "FormattedRelative";
|
15274
15274
|
Xv.contextTypes = {
|
15275
|
-
intl:
|
15275
|
+
intl: ho
|
15276
15276
|
};
|
15277
15277
|
Xv.defaultProps = {
|
15278
15278
|
updateInterval: 1e3 * 10
|
@@ -15280,7 +15280,7 @@ Xv.defaultProps = {
|
|
15280
15280
|
var CT = function(e) {
|
15281
15281
|
Vo(t, e);
|
15282
15282
|
function t(r, n) {
|
15283
|
-
|
15283
|
+
mo(this, t);
|
15284
15284
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15285
15285
|
return _a(n), a;
|
15286
15286
|
}
|
@@ -15305,12 +15305,12 @@ var CT = function(e) {
|
|
15305
15305
|
}(x.Component);
|
15306
15306
|
CT.displayName = "FormattedNumber";
|
15307
15307
|
CT.contextTypes = {
|
15308
|
-
intl:
|
15308
|
+
intl: ho
|
15309
15309
|
};
|
15310
15310
|
var Qv = function(e) {
|
15311
15311
|
Vo(t, e);
|
15312
15312
|
function t(r, n) {
|
15313
|
-
|
15313
|
+
mo(this, t);
|
15314
15314
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15315
15315
|
return _a(n), a;
|
15316
15316
|
}
|
@@ -15335,7 +15335,7 @@ var Qv = function(e) {
|
|
15335
15335
|
}(x.Component);
|
15336
15336
|
Qv.displayName = "FormattedPlural";
|
15337
15337
|
Qv.contextTypes = {
|
15338
|
-
intl:
|
15338
|
+
intl: ho
|
15339
15339
|
};
|
15340
15340
|
Qv.defaultProps = {
|
15341
15341
|
style: "cardinal"
|
@@ -15345,7 +15345,7 @@ var R3 = function(t, r) {
|
|
15345
15345
|
}, Jv = function(e) {
|
15346
15346
|
Vo(t, e);
|
15347
15347
|
function t(r, n) {
|
15348
|
-
|
15348
|
+
mo(this, t);
|
15349
15349
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15350
15350
|
return r.defaultMessage || _a(n), a;
|
15351
15351
|
}
|
@@ -15392,7 +15392,7 @@ var R3 = function(t, r) {
|
|
15392
15392
|
}(x.Component);
|
15393
15393
|
Jv.displayName = "FormattedMessage";
|
15394
15394
|
Jv.contextTypes = {
|
15395
|
-
intl:
|
15395
|
+
intl: ho
|
15396
15396
|
};
|
15397
15397
|
Jv.defaultProps = {
|
15398
15398
|
values: {}
|
@@ -15400,7 +15400,7 @@ Jv.defaultProps = {
|
|
15400
15400
|
var B = function(e) {
|
15401
15401
|
Vo(t, e);
|
15402
15402
|
function t(r, n) {
|
15403
|
-
|
15403
|
+
mo(this, t);
|
15404
15404
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15405
15405
|
return _a(n), a;
|
15406
15406
|
}
|
@@ -15429,7 +15429,7 @@ var B = function(e) {
|
|
15429
15429
|
}(x.Component);
|
15430
15430
|
B.displayName = "FormattedHTMLMessage";
|
15431
15431
|
B.contextTypes = {
|
15432
|
-
intl:
|
15432
|
+
intl: ho
|
15433
15433
|
};
|
15434
15434
|
B.defaultProps = {
|
15435
15435
|
values: {}
|
@@ -15575,7 +15575,7 @@ function Ca(e) {
|
|
15575
15575
|
return t.prototype = new Error(), t.prototype.name = e, t.prototype.constructor = t, t;
|
15576
15576
|
}
|
15577
15577
|
const D3 = Ca("LaunchDarklyUnexpectedResponseError"), L3 = Ca("LaunchDarklyInvalidEnvironmentIdError"), F3 = Ca("LaunchDarklyInvalidUserError"), U3 = Ca("LaunchDarklyInvalidEventKeyError"), $3 = Ca("LaunchDarklyInvalidArgumentError"), j3 = Ca("LaunchDarklyFlagFetchError");
|
15578
|
-
for (var
|
15578
|
+
for (var jt = { LDUnexpectedResponseError: D3, LDInvalidEnvironmentIdError: L3, LDInvalidUserError: F3, LDInvalidEventKeyError: U3, LDInvalidArgumentError: $3, LDInvalidDataError: Ca("LaunchDarklyInvalidDataError"), LDFlagFetchError: j3, LDTimeoutError: Ca("LaunchDarklyTimeoutError"), isHttpErrorRecoverable: function(e) {
|
15579
15579
|
return !(e >= 400 && e < 500) || e === 400 || e === 408 || e === 429;
|
15580
15580
|
} }, V3 = function(e) {
|
15581
15581
|
var t = zw(e), r = t[0], n = t[1];
|
@@ -15767,7 +15767,7 @@ var Q3 = TT("v3", 48, function(e) {
|
|
15767
15767
|
return o;
|
15768
15768
|
}(e), 8 * e.length));
|
15769
15769
|
}), J3 = Q3;
|
15770
|
-
function
|
15770
|
+
function eV(e, t, r, n) {
|
15771
15771
|
switch (e) {
|
15772
15772
|
case 0:
|
15773
15773
|
return t & r ^ ~t & n;
|
@@ -15781,7 +15781,7 @@ function e4(e, t, r, n) {
|
|
15781
15781
|
function hh(e, t) {
|
15782
15782
|
return e << t | e >>> 32 - t;
|
15783
15783
|
}
|
15784
|
-
var
|
15784
|
+
var tV = TT("v5", 80, function(e) {
|
15785
15785
|
var t = [1518500249, 1859775393, 2400959708, 3395469782], r = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
15786
15786
|
if (typeof e == "string") {
|
15787
15787
|
var n = unescape(encodeURIComponent(e));
|
@@ -15798,13 +15798,13 @@ var t4 = TT("v5", 80, function(e) {
|
|
15798
15798
|
for (var p = new Uint32Array(80), m = 0; m < 16; ++m) p[m] = i[d][m];
|
15799
15799
|
for (var g = 16; g < 80; ++g) p[g] = hh(p[g - 3] ^ p[g - 8] ^ p[g - 14] ^ p[g - 16], 1);
|
15800
15800
|
for (var h = r[0], I = r[1], b = r[2], y = r[3], S = r[4], w = 0; w < 80; ++w) {
|
15801
|
-
var M = Math.floor(w / 20), N = hh(h, 5) +
|
15801
|
+
var M = Math.floor(w / 20), N = hh(h, 5) + eV(M, I, b, y) + S + t[M] + p[w] >>> 0;
|
15802
15802
|
S = y, y = b, b = hh(I, 30) >>> 0, I = h, h = N;
|
15803
15803
|
}
|
15804
15804
|
r[0] = r[0] + h >>> 0, r[1] = r[1] + I >>> 0, r[2] = r[2] + b >>> 0, r[3] = r[3] + y >>> 0, r[4] = r[4] + S >>> 0;
|
15805
15805
|
}
|
15806
15806
|
return [r[0] >> 24 & 255, r[0] >> 16 & 255, r[0] >> 8 & 255, 255 & r[0], r[1] >> 24 & 255, r[1] >> 16 & 255, r[1] >> 8 & 255, 255 & r[1], r[2] >> 24 & 255, r[2] >> 16 & 255, r[2] >> 8 & 255, 255 & r[2], r[3] >> 24 & 255, r[3] >> 16 & 255, r[3] >> 8 & 255, 255 & r[3], r[4] >> 24 & 255, r[4] >> 16 & 255, r[4] >> 8 & 255, 255 & r[4]];
|
15807
|
-
}),
|
15807
|
+
}), rV = tV, t0 = Object.freeze({ __proto__: null, v1: function(e, t, r) {
|
15808
15808
|
var n = t && r || 0, a = t || new Array(16), o = (e = e || {}).node || Yw, s = e.clockseq !== void 0 ? e.clockseq : dh;
|
15809
15809
|
if (o == null || s == null) {
|
15810
15810
|
var i = e.random || (e.rng || qw)();
|
@@ -15827,7 +15827,7 @@ var t4 = TT("v5", 80, function(e) {
|
|
15827
15827
|
return t;
|
15828
15828
|
}
|
15829
15829
|
return ud(n);
|
15830
|
-
}, v5:
|
15830
|
+
}, v5: rV, NIL: "00000000-0000-0000-0000-000000000000", version: function(e) {
|
15831
15831
|
if (!sf(e)) throw TypeError("Invalid UUID");
|
15832
15832
|
return parseInt(e.substr(14, 1), 16);
|
15833
15833
|
}, validate: sf, stringify: ud, parse: xT });
|
@@ -15919,7 +15919,7 @@ var Ze = { bootstrapInvalid: function() {
|
|
15919
15919
|
}, eventWithoutContext: function() {
|
15920
15920
|
return "Be sure to call `identify` in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript";
|
15921
15921
|
}, httpErrorMessage: function(e, t, r) {
|
15922
|
-
return "Received error " + e + (e === 401 ? " (invalid SDK key)" : "") + " for " + t + " - " + (
|
15922
|
+
return "Received error " + e + (e === 401 ? " (invalid SDK key)" : "") + " for " + t + " - " + (jt.isHttpErrorRecoverable(e) ? r : "giving up permanently");
|
15923
15923
|
}, httpUnavailable: function() {
|
15924
15924
|
return "Cannot make HTTP requests in this environment." + Fs;
|
15925
15925
|
}, identifyDisabled: function() {
|
@@ -15945,15 +15945,15 @@ var Ze = { bootstrapInvalid: function() {
|
|
15945
15945
|
}, unknownOption: (e) => 'Ignoring unknown config option "' + e + '"', contextNotSpecified: function() {
|
15946
15946
|
return "No context specified." + Fs;
|
15947
15947
|
}, unrecoverableStreamError: (e) => `Error on stream connection ${Mc(e)}, giving up permanently`, wrongOptionType: (e, t, r) => 'Config option "' + e + '" should be of type ' + t + ", got " + r + ", using default value", wrongOptionTypeBoolean: (e, t) => 'Config option "' + e + '" should be a boolean, got ' + t + ", converting to boolean" };
|
15948
|
-
const { validateLogger:
|
15948
|
+
const { validateLogger: nV } = r0, Xw = { baseUrl: { default: "https://app.launchdarkly.com" }, streamUrl: { default: "https://clientstream.launchdarkly.com" }, eventsUrl: { default: "https://events.launchdarkly.com" }, sendEvents: { default: !0 }, streaming: { type: "boolean" }, sendLDHeaders: { default: !0 }, requestHeaderTransform: { type: "function" }, sendEventsOnlyForVariation: { default: !1 }, useReport: { default: !1 }, evaluationReasons: { default: !1 }, eventCapacity: { default: 100, minimum: 1 }, flushInterval: { default: 2e3, minimum: 2e3 }, samplingInterval: { default: 0, minimum: 0 }, streamReconnectDelay: { default: 1e3, minimum: 0 }, allAttributesPrivate: { default: !1 }, privateAttributes: { default: [] }, bootstrap: { type: "string|object" }, diagnosticRecordingInterval: { default: 9e5, minimum: 2e3 }, diagnosticOptOut: { default: !1 }, wrapperName: { type: "string" }, wrapperVersion: { type: "string" }, stateProvider: { type: "object" }, application: { validator: function(e, t, r) {
|
15949
15949
|
const n = {};
|
15950
15950
|
return t.id && (n.id = Qw(`${e}.id`, t.id, r)), t.version && (n.version = Qw(`${e}.version`, t.version, r)), n;
|
15951
|
-
} }, inspectors: { default: [] } },
|
15951
|
+
} }, inspectors: { default: [] } }, oV = /^(\w|\.|-)+$/;
|
15952
15952
|
function gh(e) {
|
15953
15953
|
return e && e.replace(/\/+$/, "");
|
15954
15954
|
}
|
15955
15955
|
function Qw(e, t, r) {
|
15956
|
-
if (typeof t == "string" && t.match(
|
15956
|
+
if (typeof t == "string" && t.match(oV)) {
|
15957
15957
|
if (!(t.length > 64)) return t;
|
15958
15958
|
r.warn(Ze.tagValueTooLong(e));
|
15959
15959
|
} else r.warn(Ze.invalidTagValue(e));
|
@@ -15962,7 +15962,7 @@ var n0 = { baseOptionDefs: Xw, validate: function(e, t, r, n) {
|
|
15962
15962
|
const a = Qe.extend({ logger: { default: n } }, Xw, r), o = {};
|
15963
15963
|
function s(l) {
|
15964
15964
|
Qe.onNextTick(() => {
|
15965
|
-
t && t.maybeReportError(new
|
15965
|
+
t && t.maybeReportError(new jt.LDInvalidArgumentError(l));
|
15966
15966
|
});
|
15967
15967
|
}
|
15968
15968
|
let i = Qe.extend({}, e || {});
|
@@ -16004,31 +16004,31 @@ var n0 = { baseOptionDefs: Xw, validate: function(e, t, r, n) {
|
|
16004
16004
|
}
|
16005
16005
|
}
|
16006
16006
|
}), u.baseUrl = gh(u.baseUrl), u.streamUrl = gh(u.streamUrl), u.eventsUrl = gh(u.eventsUrl), u;
|
16007
|
-
}(i),
|
16007
|
+
}(i), nV(i.logger), i;
|
16008
16008
|
}, getTags: function(e) {
|
16009
16009
|
const t = {};
|
16010
16010
|
return e && (e.application && e.application.id !== void 0 && e.application.id !== null && (t["application-id"] = [e.application.id]), e.application && e.application.version !== void 0 && e.application.id !== null && (t["application-version"] = [e.application.version])), t;
|
16011
16011
|
} };
|
16012
|
-
const { getLDUserAgentString:
|
16012
|
+
const { getLDUserAgentString: aV } = Qe;
|
16013
16013
|
var o0 = { getLDHeaders: function(e, t) {
|
16014
16014
|
if (t && !t.sendLDHeaders) return {};
|
16015
16015
|
const r = {};
|
16016
|
-
r[e.userAgentHeaderName || "User-Agent"] =
|
16016
|
+
r[e.userAgentHeaderName || "User-Agent"] = aV(e), t && t.wrapperName && (r["X-LaunchDarkly-Wrapper"] = t.wrapperVersion ? t.wrapperName + "/" + t.wrapperVersion : t.wrapperName);
|
16017
16017
|
const n = n0.getTags(t), a = Object.keys(n);
|
16018
16018
|
return a.length && (r["x-launchdarkly-tags"] = a.sort().map((o) => Array.isArray(n[o]) ? n[o].sort().map((s) => `${o}/${s}`) : [`${o}/${n[o]}`]).reduce((o, s) => o.concat(s), []).join(" ")), r;
|
16019
16019
|
}, transformHeaders: function(e, t) {
|
16020
16020
|
return t && t.requestHeaderTransform ? t.requestHeaderTransform({ ...e }) : e;
|
16021
16021
|
} };
|
16022
|
-
const { v1:
|
16022
|
+
const { v1: sV } = t0, { getLDHeaders: iV, transformHeaders: lV } = o0;
|
16023
16023
|
var PT = function(e, t, r) {
|
16024
|
-
const n = Qe.extend({ "Content-Type": "application/json" },
|
16024
|
+
const n = Qe.extend({ "Content-Type": "application/json" }, iV(e, r)), a = {};
|
16025
16025
|
return a.sendEvents = (o, s, i) => {
|
16026
16026
|
if (!e.httpRequest) return Promise.resolve();
|
16027
|
-
const l = JSON.stringify(o), u = i ? null :
|
16027
|
+
const l = JSON.stringify(o), u = i ? null : sV();
|
16028
16028
|
return function c(d) {
|
16029
16029
|
const p = i ? n : Qe.extend({}, n, { "X-LaunchDarkly-Event-Schema": "4", "X-LaunchDarkly-Payload-ID": u });
|
16030
|
-
return e.httpRequest("POST", s,
|
16031
|
-
if (m) return m.status >= 400 &&
|
16030
|
+
return e.httpRequest("POST", s, lV(p, r), l).promise.then((m) => {
|
16031
|
+
if (m) return m.status >= 400 && jt.isHttpErrorRecoverable(m.status) && d ? c(!1) : function(g) {
|
16032
16032
|
const h = { status: g.status }, I = g.header("date");
|
16033
16033
|
if (I) {
|
16034
16034
|
const b = Date.parse(I);
|
@@ -16041,7 +16041,7 @@ var PT = function(e, t, r) {
|
|
16041
16041
|
});
|
16042
16042
|
}, a;
|
16043
16043
|
};
|
16044
|
-
const { commonBasicLogger:
|
16044
|
+
const { commonBasicLogger: uV } = r0;
|
16045
16045
|
function Jw(e) {
|
16046
16046
|
return typeof e == "string" && e !== "kind" && e.match(/^(\w|\.|-)+$/);
|
16047
16047
|
}
|
@@ -16059,7 +16059,7 @@ var _p = { checkContext: function(e, t) {
|
|
16059
16059
|
return o && a;
|
16060
16060
|
}
|
16061
16061
|
return !1;
|
16062
|
-
}, getContextKeys: function(e, t =
|
16062
|
+
}, getContextKeys: function(e, t = uV()) {
|
16063
16063
|
if (!e) return;
|
16064
16064
|
const r = {}, { kind: n, key: a } = e;
|
16065
16065
|
switch (n) {
|
@@ -16084,8 +16084,8 @@ var _p = { checkContext: function(e, t) {
|
|
16084
16084
|
}, getContextKinds: function(e) {
|
16085
16085
|
return e ? e.kind === null || e.kind === void 0 ? ["user"] : e.kind !== "multi" ? [e.kind] : Object.keys(e).filter((t) => t !== "kind") : [];
|
16086
16086
|
} };
|
16087
|
-
const { getContextKinds:
|
16088
|
-
var
|
16087
|
+
const { getContextKinds: cV } = _p;
|
16088
|
+
var dV = function() {
|
16089
16089
|
const e = {};
|
16090
16090
|
let t = 0, r = 0, n = {}, a = {};
|
16091
16091
|
return e.summarizeEvent = (o) => {
|
@@ -16093,7 +16093,7 @@ var d4 = function() {
|
|
16093
16093
|
const s = o.key + ":" + (o.variation !== null && o.variation !== void 0 ? o.variation : "") + ":" + (o.version !== null && o.version !== void 0 ? o.version : ""), i = n[s];
|
16094
16094
|
let l = a[o.key];
|
16095
16095
|
l || (l = /* @__PURE__ */ new Set(), a[o.key] = l), function(u) {
|
16096
|
-
return u.context ?
|
16096
|
+
return u.context ? cV(u.context) : u.contextKeys ? Object.keys(u.contextKeys) : [];
|
16097
16097
|
}(o).forEach((u) => l.add(u)), i ? i.count = i.count + 1 : n[s] = { count: 1, key: o.key, version: o.version, variation: o.variation, value: o.value, default: o.default }, (t === 0 || o.creationDate < t) && (t = o.creationDate), o.creationDate > r && (r = o.creationDate);
|
16098
16098
|
}
|
16099
16099
|
}, e.getSummary = () => {
|
@@ -16154,7 +16154,7 @@ var yh = { cloneExcluding: function(e, t) {
|
|
16154
16154
|
}
|
16155
16155
|
}
|
16156
16156
|
return { cloned: n, excluded: a.sort() };
|
16157
|
-
}, compare: rI, literalToReference: nI },
|
16157
|
+
}, compare: rI, literalToReference: nI }, fV = function(e) {
|
16158
16158
|
const t = {}, r = e.allAttributesPrivate, n = e.privateAttributes || [], a = ["key", "kind", "_meta", "anonymous"], o = ["name", "ip", "firstName", "lastName", "email", "avatar", "country"], s = (i, l) => {
|
16159
16159
|
if (typeof i != "object" || i === null || Array.isArray(i)) return;
|
16160
16160
|
const { cloned: u, excluded: c } = yh.cloneExcluding(i, ((d, p) => (r || p && d.anonymous ? Object.keys(d) : [...n, ...d._meta && d._meta.privateAttributes || []]).filter((m) => !a.some((g) => yh.compare(m, g))))(i, l));
|
@@ -16174,16 +16174,16 @@ var yh = { cloneExcluding: function(e, t) {
|
|
16174
16174
|
return d;
|
16175
16175
|
})(i, l) : s(i, l), t;
|
16176
16176
|
};
|
16177
|
-
const { getContextKeys:
|
16178
|
-
var
|
16179
|
-
const s = {}, i = o || PT(e, r, t), l = Qe.appendUrlPath(t.eventsUrl, "/events/bulk/" + r), u =
|
16177
|
+
const { getContextKeys: pV } = _p;
|
16178
|
+
var mV = function(e, t, r, n = null, a = null, o = null) {
|
16179
|
+
const s = {}, i = o || PT(e, r, t), l = Qe.appendUrlPath(t.eventsUrl, "/events/bulk/" + r), u = dV(), c = fV(t), d = t.samplingInterval, p = t.eventCapacity, m = t.flushInterval, g = t.logger;
|
16180
16180
|
let h, I = [], b = 0, y = !1, S = !1;
|
16181
16181
|
function w() {
|
16182
16182
|
return d === 0 || Math.floor(Math.random() * d) === 0;
|
16183
16183
|
}
|
16184
16184
|
function M(T) {
|
16185
16185
|
const O = Qe.extend({}, T);
|
16186
|
-
return T.kind === "identify" ? O.context = c.filter(T.context) : T.kind === "feature" ? O.context = c.filter(T.context, !0) : (O.contextKeys =
|
16186
|
+
return T.kind === "identify" ? O.context = c.filter(T.context) : T.kind === "feature" ? O.context = c.filter(T.context, !0) : (O.contextKeys = pV(T.context, g), delete O.context), T.kind === "feature" && (delete O.trackEvents, delete O.debugEventsUntilDate), O;
|
16187
16187
|
}
|
16188
16188
|
function N(T) {
|
16189
16189
|
I.length < p ? (I.push(T), S = !1) : (S || (S = !0, g.warn(Ze.eventCapacityExceeded())), n && n.incrementDroppedEvents());
|
@@ -16200,8 +16200,8 @@ var m4 = function(e, t, r, n = null, a = null, o = null) {
|
|
16200
16200
|
if (y) return Promise.resolve();
|
16201
16201
|
const T = I, O = u.getSummary();
|
16202
16202
|
return u.clearSummary(), O && (O.kind = "summary", T.push(O)), n && n.setEventsInLastBatch(T.length), T.length === 0 ? Promise.resolve() : (I = [], g.debug(Ze.debugPostingEvents(T.length)), i.sendEvents(T, l).then((A) => {
|
16203
|
-
A && (A.serverTime && (b = A.serverTime),
|
16204
|
-
a.maybeReportError(new
|
16203
|
+
A && (A.serverTime && (b = A.serverTime), jt.isHttpErrorRecoverable(A.status) || (y = !0), A.status >= 400 && Qe.onNextTick(() => {
|
16204
|
+
a.maybeReportError(new jt.LDUnexpectedResponseError(Ze.httpErrorMessage(A.status, "event posting", "some events were dropped")));
|
16205
16205
|
}));
|
16206
16206
|
}));
|
16207
16207
|
}, s.start = function() {
|
@@ -16212,7 +16212,7 @@ var m4 = function(e, t, r, n = null, a = null, o = null) {
|
|
16212
16212
|
}, s.stop = function() {
|
16213
16213
|
clearTimeout(h);
|
16214
16214
|
}, s;
|
16215
|
-
},
|
16215
|
+
}, hV = function(e) {
|
16216
16216
|
const t = {}, r = {};
|
16217
16217
|
return t.on = function(n, a, o) {
|
16218
16218
|
r[n] = r[n] || [], r[n] = r[n].concat({ handler: a, context: o });
|
@@ -16231,7 +16231,7 @@ var m4 = function(e, t, r, n = null, a = null, o = null) {
|
|
16231
16231
|
}, t;
|
16232
16232
|
};
|
16233
16233
|
const Ec = "ready", vh = "initialized", bh = "failed";
|
16234
|
-
var
|
16234
|
+
var gV = function(e) {
|
16235
16235
|
let t = !1, r = !1, n = null, a = null;
|
16236
16236
|
const o = new Promise((s) => {
|
16237
16237
|
const i = () => {
|
@@ -16252,7 +16252,7 @@ var g4 = function(e) {
|
|
16252
16252
|
}, signalFailure: (s) => {
|
16253
16253
|
t || r || (r = !0, n = s, e.emit(bh, s), e.emit(Ec)), e.maybeReportError(s);
|
16254
16254
|
} };
|
16255
|
-
},
|
16255
|
+
}, yV = function(e, t, r, n) {
|
16256
16256
|
const a = {};
|
16257
16257
|
function o() {
|
16258
16258
|
let s = "";
|
@@ -16275,7 +16275,7 @@ var g4 = function(e) {
|
|
16275
16275
|
const i = Qe.extend({}, s, { $schema: 1 });
|
16276
16276
|
return e.set(o(), JSON.stringify(i));
|
16277
16277
|
}, a.clearFlags = () => e.clear(o()), a;
|
16278
|
-
},
|
16278
|
+
}, vV = function(e, t) {
|
16279
16279
|
const r = {};
|
16280
16280
|
let n = !1;
|
16281
16281
|
const a = (o) => {
|
@@ -16295,9 +16295,9 @@ var g4 = function(e) {
|
|
16295
16295
|
}) : s(!1);
|
16296
16296
|
}), r;
|
16297
16297
|
};
|
16298
|
-
const { appendUrlPath: oI, base64URLEncode:
|
16299
|
-
var
|
16300
|
-
const a = t.streamUrl, o = t.logger, s = {}, i = oI(a, "/eval/" + r), l = t.useReport, u = t.evaluationReasons, c = t.streamReconnectDelay, d =
|
16298
|
+
const { appendUrlPath: oI, base64URLEncode: bV, objectHasOwnProperty: SV } = Qe, { getLDHeaders: wV, transformHeaders: IV } = o0, { isHttpErrorRecoverable: MV } = jt;
|
16299
|
+
var EV = function(e, t, r, n) {
|
16300
|
+
const a = t.streamUrl, o = t.logger, s = {}, i = oI(a, "/eval/" + r), l = t.useReport, u = t.evaluationReasons, c = t.streamReconnectDelay, d = wV(e, t);
|
16301
16301
|
let p, m = !1, g = null, h = null, I = null, b = null, y = null, S = 0;
|
16302
16302
|
function w() {
|
16303
16303
|
const U = (re = function() {
|
@@ -16308,7 +16308,7 @@ var E4 = function(e, t, r, n) {
|
|
16308
16308
|
return S += 1, U;
|
16309
16309
|
}
|
16310
16310
|
function M(U) {
|
16311
|
-
if (U.status && typeof U.status == "number" && !
|
16311
|
+
if (U.status && typeof U.status == "number" && !MV(U.status)) return O(), o.error(Ze.unrecoverableStreamError(U)), void (h && (clearTimeout(h), h = null));
|
16312
16312
|
const re = w();
|
16313
16313
|
m || (o.warn(Ze.streamError(U, re)), m = !0), A(!1), O(), N(re);
|
16314
16314
|
}
|
@@ -16321,8 +16321,8 @@ var E4 = function(e, t, r, n) {
|
|
16321
16321
|
let re = "";
|
16322
16322
|
const ie = { headers: d, readTimeoutMillis: 3e5 };
|
16323
16323
|
if (e.eventSourceFactory) {
|
16324
|
-
b != null && (re = "h=" + b), l ? e.eventSourceAllowsReport ? (U = i, ie.method = "REPORT", ie.headers["Content-Type"] = "application/json", ie.body = JSON.stringify(I)) : (U = oI(a, "/ping/" + r), re = "") : U = i + "/" +
|
16325
|
-
for (const he in y)
|
16324
|
+
b != null && (re = "h=" + b), l ? e.eventSourceAllowsReport ? (U = i, ie.method = "REPORT", ie.headers["Content-Type"] = "application/json", ie.body = JSON.stringify(I)) : (U = oI(a, "/ping/" + r), re = "") : U = i + "/" + bV(JSON.stringify(I)), ie.headers = IV(ie.headers, t), u && (re = re + (re ? "&" : "") + "withReasons=true"), U = U + (re ? "?" : "") + re, O(), o.info(Ze.streamConnecting(U)), p = (/* @__PURE__ */ new Date()).getTime(), g = e.eventSourceFactory(U, ie);
|
16325
|
+
for (const he in y) SV(y, he) && g.addEventListener(he, y[he]);
|
16326
16326
|
g.onerror = M, g.onopen = () => {
|
16327
16327
|
S = 0;
|
16328
16328
|
};
|
@@ -16345,7 +16345,7 @@ var E4 = function(e, t, r, n) {
|
|
16345
16345
|
}, s.isConnected = function() {
|
16346
16346
|
return !!(g && e.eventSourceIsActive && e.eventSourceIsActive(g));
|
16347
16347
|
}, s;
|
16348
|
-
},
|
16348
|
+
}, CV = function(e) {
|
16349
16349
|
let t, r, n, a;
|
16350
16350
|
const o = { addPromise: (s, i) => {
|
16351
16351
|
t = s, r && r(), r = i, s.then((l) => {
|
@@ -16358,31 +16358,31 @@ var E4 = function(e, t, r, n) {
|
|
16358
16358
|
n = s, a = i;
|
16359
16359
|
}), o;
|
16360
16360
|
};
|
16361
|
-
const { transformHeaders:
|
16362
|
-
var
|
16361
|
+
const { transformHeaders: xV, getLDHeaders: TV } = o0, aI = "application/json";
|
16362
|
+
var PV = function(e, t, r) {
|
16363
16363
|
const n = t.baseUrl, a = t.useReport, o = t.evaluationReasons, s = t.logger, i = {}, l = {};
|
16364
16364
|
function u(c, d) {
|
16365
16365
|
if (!e.httpRequest) return new Promise((b, y) => {
|
16366
|
-
y(new
|
16366
|
+
y(new jt.LDFlagFetchError(Ze.httpUnavailable()));
|
16367
16367
|
});
|
16368
|
-
const p = d ? "REPORT" : "GET", m =
|
16368
|
+
const p = d ? "REPORT" : "GET", m = TV(e, t);
|
16369
16369
|
d && (m["Content-Type"] = aI);
|
16370
16370
|
let g = l[c];
|
16371
|
-
g || (g =
|
16371
|
+
g || (g = CV(() => {
|
16372
16372
|
delete l[c];
|
16373
16373
|
}), l[c] = g);
|
16374
|
-
const h = e.httpRequest(p, c,
|
16374
|
+
const h = e.httpRequest(p, c, xV(m, t), d), I = h.promise.then((b) => {
|
16375
16375
|
if (b.status === 200) {
|
16376
16376
|
if (b.header("content-type") && b.header("content-type").substring(0, 16) === aI) return JSON.parse(b.body);
|
16377
16377
|
{
|
16378
16378
|
const y = Ze.invalidContentType(b.header("content-type") || "");
|
16379
|
-
return Promise.reject(new
|
16379
|
+
return Promise.reject(new jt.LDFlagFetchError(y));
|
16380
16380
|
}
|
16381
16381
|
}
|
16382
16382
|
return Promise.reject(function(y) {
|
16383
|
-
return y.status === 404 ? new
|
16383
|
+
return y.status === 404 ? new jt.LDInvalidEnvironmentIdError(Ze.environmentNotFound()) : new jt.LDFlagFetchError(Ze.errorFetchingFlags(y.statusText || String(y.status)));
|
16384
16384
|
}(b));
|
16385
|
-
}, (b) => Promise.reject(new
|
16385
|
+
}, (b) => Promise.reject(new jt.LDFlagFetchError(Ze.networkError(b))));
|
16386
16386
|
return g.addPromise(I, () => {
|
16387
16387
|
h.cancel && h.cancel();
|
16388
16388
|
}), g.resultPromise;
|
@@ -16393,7 +16393,7 @@ var P4 = function(e, t, r) {
|
|
16393
16393
|
let p, m, g, h = "";
|
16394
16394
|
return a ? (m = [n, "/sdk/evalx/", r, "/context"].join(""), g = JSON.stringify(c)) : (p = Qe.base64URLEncode(JSON.stringify(c)), m = [n, "/sdk/evalx/", r, "/contexts/", p].join("")), d && (h = "h=" + d), o && (h = h + (h ? "&" : "") + "withReasons=true"), m = m + (h ? "?" : "") + h, s.debug(Ze.debugPolling(m)), u(m, g);
|
16395
16395
|
}, i;
|
16396
|
-
},
|
16396
|
+
}, RV = function(e, t) {
|
16397
16397
|
const r = {};
|
16398
16398
|
let n;
|
16399
16399
|
return r.setContext = function(a) {
|
@@ -16402,8 +16402,8 @@ var P4 = function(e, t, r) {
|
|
16402
16402
|
return n ? Qe.clone(n) : null;
|
16403
16403
|
}, r;
|
16404
16404
|
};
|
16405
|
-
const { v1:
|
16406
|
-
var
|
16405
|
+
const { v1: NV } = t0, { getContextKinds: kV } = _p;
|
16406
|
+
var AV = function(e) {
|
16407
16407
|
function t(n) {
|
16408
16408
|
return n == null || n === "user" ? "ld:$anonUserId" : `ld:$contextKey:${n}`;
|
16409
16409
|
}
|
@@ -16413,26 +16413,26 @@ var A4 = function(e) {
|
|
16413
16413
|
}(n).then((o) => {
|
16414
16414
|
if (o) return a.key = o, a;
|
16415
16415
|
{
|
16416
|
-
const s =
|
16416
|
+
const s = NV();
|
16417
16417
|
return a.key = s, function(i, l) {
|
16418
16418
|
return e.set(t(l), i);
|
16419
16419
|
}(s, n).then(() => a);
|
16420
16420
|
}
|
16421
|
-
}) : Promise.reject(new
|
16421
|
+
}) : Promise.reject(new jt.LDInvalidUserError(Ze.invalidContext()));
|
16422
16422
|
}
|
16423
16423
|
this.processContext = (n) => {
|
16424
|
-
if (!n) return Promise.reject(new
|
16424
|
+
if (!n) return Promise.reject(new jt.LDInvalidUserError(Ze.contextNotSpecified()));
|
16425
16425
|
const a = Qe.clone(n);
|
16426
16426
|
if (n.kind === "multi") {
|
16427
|
-
const o =
|
16427
|
+
const o = kV(a);
|
16428
16428
|
return Promise.all(o.map((s) => r(s, a[s]))).then(() => a);
|
16429
16429
|
}
|
16430
16430
|
return r(n.kind, a);
|
16431
16431
|
};
|
16432
16432
|
};
|
16433
|
-
const { v1:
|
16433
|
+
const { v1: _V } = t0, { baseOptionDefs: Sh } = n0, { appendUrlPath: OV } = Qe;
|
16434
16434
|
var wh = { DiagnosticId: function(e) {
|
16435
|
-
const t = { diagnosticId:
|
16435
|
+
const t = { diagnosticId: _V() };
|
16436
16436
|
return e && (t.sdkKeySuffix = e.length > 6 ? e.substring(e.length - 6) : e), t;
|
16437
16437
|
}, DiagnosticsAccumulator: function(e) {
|
16438
16438
|
let t, r, n, a;
|
@@ -16450,7 +16450,7 @@ var wh = { DiagnosticId: function(e) {
|
|
16450
16450
|
a.push(u);
|
16451
16451
|
}, reset: o };
|
16452
16452
|
}, DiagnosticsManager: function(e, t, r, n, a, o, s) {
|
16453
|
-
const i = !!e.diagnosticUseCombinedEvent, l = "ld:" + a + ":$diagnostics", u =
|
16453
|
+
const i = !!e.diagnosticUseCombinedEvent, l = "ld:" + a + ":$diagnostics", u = OV(o.eventsUrl, "/events/diagnostic/" + a), c = o.diagnosticRecordingInterval, d = r;
|
16454
16454
|
let p, m, g = !!o.streaming;
|
16455
16455
|
const h = {};
|
16456
16456
|
function I() {
|
@@ -16504,7 +16504,7 @@ var wh = { DiagnosticId: function(e) {
|
|
16504
16504
|
}, h.setStreaming = (M) => {
|
16505
16505
|
g = M;
|
16506
16506
|
}, h;
|
16507
|
-
} },
|
16507
|
+
} }, DV = function(e, t) {
|
16508
16508
|
let r = !1;
|
16509
16509
|
const n = { type: e.type, name: e.name, synchronous: e.synchronous, method: (...a) => {
|
16510
16510
|
try {
|
@@ -16517,8 +16517,8 @@ var wh = { DiagnosticId: function(e) {
|
|
16517
16517
|
};
|
16518
16518
|
const { onNextTick: Cc } = Qe, Dr = { flagUsed: "flag-used", flagDetailsChanged: "flag-details-changed", flagDetailChanged: "flag-detail-changed", clientIdentityChanged: "client-identity-changed" };
|
16519
16519
|
Object.freeze(Dr);
|
16520
|
-
var
|
16521
|
-
const r = {}, n = { [Dr.flagUsed]: [], [Dr.flagDetailsChanged]: [], [Dr.flagDetailChanged]: [], [Dr.clientIdentityChanged]: [] }, a = { [Dr.flagUsed]: [], [Dr.flagDetailsChanged]: [], [Dr.flagDetailChanged]: [], [Dr.clientIdentityChanged]: [] }, o = e && e.map((s) =>
|
16520
|
+
var LV = { InspectorTypes: Dr, InspectorManager: function(e, t) {
|
16521
|
+
const r = {}, n = { [Dr.flagUsed]: [], [Dr.flagDetailsChanged]: [], [Dr.flagDetailChanged]: [], [Dr.clientIdentityChanged]: [] }, a = { [Dr.flagUsed]: [], [Dr.flagDetailsChanged]: [], [Dr.flagDetailChanged]: [], [Dr.clientIdentityChanged]: [] }, o = e && e.map((s) => DV(s, t));
|
16522
16522
|
return o && o.forEach((s) => {
|
16523
16523
|
Object.prototype.hasOwnProperty.call(n, s.type) && !s.synchronous ? n[s.type].push(s) : Object.prototype.hasOwnProperty.call(a, s.type) && s.synchronous ? a[s.type].push(s) : t.warn(Ze.invalidInspector(s.type, s.name));
|
16524
16524
|
}), r.hasListeners = (s) => n[s] && n[s].length || a[s] && a[s].length, r.onFlagUsed = (s, i, l) => {
|
@@ -16543,27 +16543,27 @@ var L4 = { InspectorTypes: Dr, InspectorManager: function(e, t) {
|
|
16543
16543
|
});
|
16544
16544
|
}, r;
|
16545
16545
|
} };
|
16546
|
-
const { LDTimeoutError:
|
16547
|
-
var
|
16546
|
+
const { LDTimeoutError: FV } = jt;
|
16547
|
+
var UV = function(e, t) {
|
16548
16548
|
return new Promise((r, n) => {
|
16549
16549
|
setTimeout(() => {
|
16550
|
-
n(new
|
16550
|
+
n(new FV(`${t} timed out after ${e} seconds.`));
|
16551
16551
|
}, 1e3 * e);
|
16552
16552
|
});
|
16553
16553
|
};
|
16554
|
-
const { commonBasicLogger: $
|
16554
|
+
const { commonBasicLogger: $V } = r0, { checkContext: jV } = _p, { InspectorTypes: xc, InspectorManager: VV } = LV, Tc = "change", sI = "internal-change";
|
16555
16555
|
var NT = { initialize: function(e, t, r, n, a) {
|
16556
16556
|
const o = function() {
|
16557
|
-
return r && r.logger ? r.logger : a && a.logger && a.logger.default || $
|
16558
|
-
}(), s =
|
16557
|
+
return r && r.logger ? r.logger : a && a.logger && a.logger.default || $V("warn");
|
16558
|
+
}(), s = hV(o), i = gV(s), l = n0.validate(r, s, a, o), u = VV(l.inspectors, o), c = l.sendEvents;
|
16559
16559
|
let d = e, p = l.hash;
|
16560
|
-
const m =
|
16560
|
+
const m = vV(n.localStorage, o), g = PT(n, d, l), h = l.sendEvents && !l.diagnosticOptOut, I = h ? wh.DiagnosticId(d) : null, b = h ? wh.DiagnosticsAccumulator((/* @__PURE__ */ new Date()).getTime()) : null, y = h ? wh.DiagnosticsManager(n, m, b, g, d, l, I) : null, S = EV(n, l, d, b), w = l.eventProcessor || mV(n, l, d, b, s, g), M = PV(n, l, d);
|
16561
16561
|
let N, T, O, A = {}, U = l.streaming, re = !1, ie = !1, he = !0;
|
16562
|
-
const G = l.stateProvider, X =
|
16562
|
+
const G = l.stateProvider, X = RV(null, function(R) {
|
16563
16563
|
(function(D) {
|
16564
16564
|
G || D && W({ kind: "identify", context: D, creationDate: (/* @__PURE__ */ new Date()).getTime() });
|
16565
16565
|
})(R), u.hasListeners(xc.clientIdentityChanged) && u.onIdentityChanged(X.getContext());
|
16566
|
-
}), K = new
|
16566
|
+
}), K = new AV(m), ne = m.isEnabled() ? yV(m, d, p, X) : null;
|
16567
16567
|
function W(R) {
|
16568
16568
|
d && (G && G.enqueueEvent && G.enqueueEvent(R) || (R.context ? (he = !1, !c || ie || n.isDoNotTrack() || (o.debug(Ze.debugEnqueueingEvent(R.kind)), w.enqueue(R))) : he && (o.warn(Ze.eventWithoutContext()), he = !1)));
|
16569
16569
|
}
|
@@ -16578,7 +16578,7 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16578
16578
|
Ne && (me.version = Ne.flagVersion ? Ne.flagVersion : Ne.version, me.trackEvents = Ne.trackEvents, me.debugEventsUntilDate = Ne.debugEventsUntilDate), (pe || Ne && Ne.trackReason) && D && (me.reason = D.reason), W(me);
|
16579
16579
|
}
|
16580
16580
|
function J(R) {
|
16581
|
-
return
|
16581
|
+
return jV(R, !1) ? Promise.resolve(R) : Promise.reject(new jt.LDInvalidUserError(Ze.invalidContext()));
|
16582
16582
|
}
|
16583
16583
|
function ae(R, D, z, pe, le, Ee) {
|
16584
16584
|
var ve;
|
@@ -16598,7 +16598,7 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16598
16598
|
try {
|
16599
16599
|
return JSON.parse(D);
|
16600
16600
|
} catch {
|
16601
|
-
return void s.maybeReportError(new
|
16601
|
+
return void s.maybeReportError(new jt.LDInvalidDataError(Ze.invalidData()));
|
16602
16602
|
}
|
16603
16603
|
};
|
16604
16604
|
S.connect(X.getContext(), p, { ping: function() {
|
@@ -16607,7 +16607,7 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16607
16607
|
M.fetchFlagSettings(D, p).then((z) => {
|
16608
16608
|
Qe.deepEquals(D, X.getContext()) && Se(z || {});
|
16609
16609
|
}).catch((z) => {
|
16610
|
-
s.maybeReportError(new
|
16610
|
+
s.maybeReportError(new jt.LDFlagFetchError(Ze.errorFetchingFlags(z)));
|
16611
16611
|
});
|
16612
16612
|
}, put: function(D) {
|
16613
16613
|
const z = R(D.data);
|
@@ -16680,12 +16680,12 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16680
16680
|
});
|
16681
16681
|
} else (function() {
|
16682
16682
|
return e ? K.processContext(t).then(J).then((R) => (X.setContext(R), typeof l.bootstrap == "object" ? Fe() : N ? ne.loadFlags().then((D) => D == null ? (A = {}, M.fetchFlagSettings(X.getContext(), p).then((z) => Se(z || {})).then(Fe).catch((z) => {
|
16683
|
-
Ye(new
|
16683
|
+
Ye(new jt.LDFlagFetchError(Ze.errorFetchingFlags(z)));
|
16684
16684
|
})) : (A = D, Qe.onNextTick(Fe), M.fetchFlagSettings(X.getContext(), p).then((z) => Se(z)).catch((z) => s.maybeReportError(z)))) : M.fetchFlagSettings(X.getContext(), p).then((D) => {
|
16685
16685
|
A = D || {}, Z(), Fe();
|
16686
16686
|
}).catch((D) => {
|
16687
16687
|
A = {}, Ye(D);
|
16688
|
-
}))) : Promise.reject(new
|
16688
|
+
}))) : Promise.reject(new jt.LDInvalidEnvironmentIdError(Ze.environmentNotSpecified()));
|
16689
16689
|
})().catch(Ye);
|
16690
16690
|
function Ke(R) {
|
16691
16691
|
d = R.environment, X.setContext(R.context), A = { ...R.flags }, Qe.onNextTick(Fe);
|
@@ -16700,9 +16700,9 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16700
16700
|
if (R != null) {
|
16701
16701
|
if (typeof R == "number") return function(D) {
|
16702
16702
|
D > 5 && o.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");
|
16703
|
-
const z = i.getInitializationPromise(), pe =
|
16703
|
+
const z = i.getInitializationPromise(), pe = UV(D, "waitForInitialization");
|
16704
16704
|
return Promise.race([pe, z]).catch((le) => {
|
16705
|
-
throw le instanceof
|
16705
|
+
throw le instanceof jt.LDTimeoutError && o.error(`waitForInitialization error: ${le}`), le;
|
16706
16706
|
});
|
16707
16707
|
}(R);
|
16708
16708
|
o.warn("The waitForInitialization method was provided with a non-numeric timeout.");
|
@@ -16723,7 +16723,7 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16723
16723
|
}, variationDetail: function(R, D) {
|
16724
16724
|
return ae(R, D, !0, !0, !1, !0);
|
16725
16725
|
}, track: function(R, D, z) {
|
16726
|
-
if (typeof R != "string") return void s.maybeReportError(new
|
16726
|
+
if (typeof R != "string") return void s.maybeReportError(new jt.LDInvalidEventKeyError(Ze.unknownCustomEventKey(R)));
|
16727
16727
|
z !== void 0 && typeof z != "number" && o.warn(Ze.invalidMetricValue(typeof z)), n.customEventFilter && !n.customEventFilter(R) && o.warn(Ze.unknownCustomEventKey(R));
|
16728
16728
|
const pe = X.getContext(), le = { kind: "custom", key: R, context: pe, url: n.getCurrentUrl(), creationDate: (/* @__PURE__ */ new Date()).getTime() };
|
16729
16729
|
pe && pe.anonymous && (le.contextKind = pe.anonymous ? "anonymousUser" : "user"), D != null && (le.data = D), z != null && (le.metricValue = z), W(le);
|
@@ -16759,8 +16759,8 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16759
16759
|
}, enqueueEvent: W, getFlagsInternal: function() {
|
16760
16760
|
return A;
|
16761
16761
|
}, getEnvironmentId: () => d, internalChangeEventName: sI };
|
16762
|
-
}, errors:
|
16763
|
-
function
|
16762
|
+
}, errors: jt }, BV = NT.initialize, HV = NT.errors;
|
16763
|
+
function zV(e, t, r) {
|
16764
16764
|
return (t = function(n) {
|
16765
16765
|
var a = function(o, s) {
|
16766
16766
|
if (typeof o != "object" || !o) return o;
|
@@ -16789,7 +16789,7 @@ function lI(e) {
|
|
16789
16789
|
for (var t = 1; t < arguments.length; t++) {
|
16790
16790
|
var r = arguments[t] != null ? arguments[t] : {};
|
16791
16791
|
t % 2 ? iI(Object(r), !0).forEach(function(n) {
|
16792
|
-
|
16792
|
+
zV(e, n, r[n]);
|
16793
16793
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : iI(Object(r)).forEach(function(n) {
|
16794
16794
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
16795
16795
|
});
|
@@ -16799,7 +16799,7 @@ function lI(e) {
|
|
16799
16799
|
var uI = { promise: Promise.resolve({ status: 200, header: function() {
|
16800
16800
|
return null;
|
16801
16801
|
}, body: null }) };
|
16802
|
-
function
|
16802
|
+
function GV(e, t, r, n, a) {
|
16803
16803
|
if (a && !function() {
|
16804
16804
|
var u = window.navigator && window.navigator.userAgent;
|
16805
16805
|
if (u) {
|
@@ -16834,7 +16834,7 @@ var Ih = (e) => {
|
|
16834
16834
|
if (typeof e != "string") throw new TypeError("Expected a string");
|
16835
16835
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
16836
16836
|
};
|
16837
|
-
function
|
16837
|
+
function WV(e, t, r, n) {
|
16838
16838
|
var a, o, s = ((e.kind === "substring" || e.kind === "regex") && n.includes("/") ? t : t.replace(n, "")).replace(r, "");
|
16839
16839
|
switch (e.kind) {
|
16840
16840
|
case "exact":
|
@@ -16855,7 +16855,7 @@ function W4(e, t, r, n) {
|
|
16855
16855
|
return a.test(o);
|
16856
16856
|
}
|
16857
16857
|
function cI(e, t) {
|
16858
|
-
for (var r = {}, n = null, a = [], o = 0; o < e.length; o++) for (var s = e[o], i = s.urls || [], l = 0; l < i.length; l++) if (
|
16858
|
+
for (var r = {}, n = null, a = [], o = 0; o < e.length; o++) for (var s = e[o], i = s.urls || [], l = 0; l < i.length; l++) if (WV(i[l], window.location.href, window.location.search, window.location.hash)) {
|
16859
16859
|
s.kind === "pageview" ? t("pageview", s) : (a.push(s), t("click_pageview", s));
|
16860
16860
|
break;
|
16861
16861
|
}
|
@@ -16871,7 +16871,7 @@ function cI(e, t) {
|
|
16871
16871
|
document.removeEventListener("click", n);
|
16872
16872
|
}, r;
|
16873
16873
|
}
|
16874
|
-
function
|
16874
|
+
function KV(e, t) {
|
16875
16875
|
var r, n;
|
16876
16876
|
function a() {
|
16877
16877
|
n && n.dispose(), r && r.length && (n = cI(r, o));
|
@@ -16893,18 +16893,18 @@ function K4(e, t) {
|
|
16893
16893
|
})(d, i), window.history && window.history.pushState ? window.addEventListener("popstate", d) : window.addEventListener("hashchange", d);
|
16894
16894
|
}(300, a)), t();
|
16895
16895
|
}).catch(function(s) {
|
16896
|
-
e.emitter.maybeReportError(new
|
16896
|
+
e.emitter.maybeReportError(new HV.LDUnexpectedResponseError((s && s.message, s.message))), t();
|
16897
16897
|
}), {};
|
16898
16898
|
}
|
16899
|
-
var Pc = "goalsReady",
|
16900
|
-
function
|
16899
|
+
var Pc = "goalsReady", qV = { fetchGoals: { default: !0 }, hash: { type: "string" }, eventProcessor: { type: "object" }, eventUrlTransformer: { type: "function" }, disableSyncEventPost: { default: !1 } };
|
16900
|
+
function YV(e, t) {
|
16901
16901
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = function(c) {
|
16902
16902
|
var d, p = { userAgentHeaderName: "X-LaunchDarkly-User-Agent", synchronousFlush: !1 };
|
16903
16903
|
if (window.XMLHttpRequest) {
|
16904
16904
|
var m = c && c.disableSyncEventPost;
|
16905
16905
|
p.httpRequest = function(b, y, S, w) {
|
16906
16906
|
var M = p.synchronousFlush & !m;
|
16907
|
-
return p.synchronousFlush = !1,
|
16907
|
+
return p.synchronousFlush = !1, GV(b, y, S, w, M);
|
16908
16908
|
};
|
16909
16909
|
}
|
16910
16910
|
p.httpAllowsPost = function() {
|
@@ -16946,14 +16946,14 @@ function Y4(e, t) {
|
|
16946
16946
|
};
|
16947
16947
|
}
|
16948
16948
|
return p.userAgent = "JSClient", p.version = "3.5.0", p.diagnosticSdkData = { name: "js-client-sdk", version: "3.5.0" }, p.diagnosticPlatformData = { name: "JS" }, p.diagnosticUseCombinedEvent = !0, p;
|
16949
|
-
}(r), a =
|
16949
|
+
}(r), a = BV(e, t, r, n, qV), o = a.client, s = a.options, i = a.emitter, l = new Promise(function(c) {
|
16950
16950
|
var d = i.on(Pc, function() {
|
16951
16951
|
i.off(Pc, d), c();
|
16952
16952
|
});
|
16953
16953
|
});
|
16954
16954
|
o.waitUntilGoalsReady = function() {
|
16955
16955
|
return l;
|
16956
|
-
}, s.fetchGoals ?
|
16956
|
+
}, s.fetchGoals ? KV(a, function() {
|
16957
16957
|
return i.emit(Pc);
|
16958
16958
|
}) : i.emit(Pc), document.readyState !== "complete" ? window.addEventListener("load", a.start) : a.start();
|
16959
16959
|
var u = function() {
|
@@ -16964,14 +16964,14 @@ function Y4(e, t) {
|
|
16964
16964
|
document.visibilityState === "hidden" && u();
|
16965
16965
|
}), window.addEventListener("pagehide", u), o;
|
16966
16966
|
}
|
16967
|
-
var
|
16967
|
+
var ZV = "[object Symbol]", XV = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, QV = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Op = "\\ud800-\\udfff", kT = "\\u0300-\\u036f\\ufe20-\\ufe23", AT = "\\u20d0-\\u20f0", _T = "\\u2700-\\u27bf", OT = "a-z\\xdf-\\xf6\\xf8-\\xff", JV = "\\xac\\xb1\\xd7\\xf7", e4 = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", t4 = "\\u2000-\\u206f", r4 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", DT = "A-Z\\xc0-\\xd6\\xd8-\\xde", LT = "\\ufe0e\\ufe0f", FT = JV + e4 + t4 + r4, a0 = "['’]", n4 = "[" + Op + "]", dI = "[" + FT + "]", lf = "[" + kT + AT + "]", UT = "\\d+", o4 = "[" + _T + "]", $T = "[" + OT + "]", jT = "[^" + Op + FT + UT + _T + OT + DT + "]", Jg = "\\ud83c[\\udffb-\\udfff]", a4 = "(?:" + lf + "|" + Jg + ")", VT = "[^" + Op + "]", s0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", i0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", Zs = "[" + DT + "]", BT = "\\u200d", fI = "(?:" + $T + "|" + jT + ")", s4 = "(?:" + Zs + "|" + jT + ")", pI = "(?:" + a0 + "(?:d|ll|m|re|s|t|ve))?", mI = "(?:" + a0 + "(?:D|LL|M|RE|S|T|VE))?", HT = a4 + "?", zT = "[" + LT + "]?", i4 = "(?:" + BT + "(?:" + [VT, s0, i0].join("|") + ")" + zT + HT + ")*", GT = zT + HT + i4, l4 = "(?:" + [o4, s0, i0].join("|") + ")" + GT, u4 = "(?:" + [VT + lf + "?", lf, s0, i0, n4].join("|") + ")", c4 = RegExp(a0, "g"), d4 = RegExp(lf, "g"), f4 = RegExp(Jg + "(?=" + Jg + ")|" + u4 + GT, "g"), p4 = RegExp([
|
16968
16968
|
Zs + "?" + $T + "+" + pI + "(?=" + [dI, Zs, "$"].join("|") + ")",
|
16969
|
-
|
16969
|
+
s4 + "+" + mI + "(?=" + [dI, Zs + fI, "$"].join("|") + ")",
|
16970
16970
|
Zs + "?" + fI + "+" + pI,
|
16971
16971
|
Zs + "+" + mI,
|
16972
16972
|
UT,
|
16973
|
-
|
16974
|
-
].join("|"), "g"),
|
16973
|
+
l4
|
16974
|
+
].join("|"), "g"), m4 = RegExp("[" + BT + Op + kT + AT + LT + "]"), h4 = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, g4 = {
|
16975
16975
|
// Latin-1 Supplement block.
|
16976
16976
|
À: "A",
|
16977
16977
|
Á: "A",
|
@@ -17164,102 +17164,102 @@ var Z4 = "[object Symbol]", X4 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Q4
|
|
17164
17164
|
œ: "oe",
|
17165
17165
|
ʼn: "'n",
|
17166
17166
|
ſ: "ss"
|
17167
|
-
},
|
17168
|
-
function
|
17167
|
+
}, y4 = typeof Ya == "object" && Ya && Ya.Object === Object && Ya, v4 = typeof self == "object" && self && self.Object === Object && self, b4 = y4 || v4 || Function("return this")();
|
17168
|
+
function S4(e, t, r, n) {
|
17169
17169
|
for (var a = -1, o = e ? e.length : 0; ++a < o; )
|
17170
17170
|
r = t(r, e[a], a, e);
|
17171
17171
|
return r;
|
17172
17172
|
}
|
17173
|
-
function
|
17173
|
+
function w4(e) {
|
17174
17174
|
return e.split("");
|
17175
17175
|
}
|
17176
|
-
function
|
17177
|
-
return e.match(
|
17176
|
+
function I4(e) {
|
17177
|
+
return e.match(XV) || [];
|
17178
17178
|
}
|
17179
|
-
function
|
17179
|
+
function M4(e) {
|
17180
17180
|
return function(t) {
|
17181
17181
|
return e == null ? void 0 : e[t];
|
17182
17182
|
};
|
17183
17183
|
}
|
17184
|
-
var
|
17184
|
+
var E4 = M4(g4);
|
17185
17185
|
function WT(e) {
|
17186
|
-
return
|
17186
|
+
return m4.test(e);
|
17187
17187
|
}
|
17188
|
-
function
|
17189
|
-
return
|
17188
|
+
function C4(e) {
|
17189
|
+
return h4.test(e);
|
17190
17190
|
}
|
17191
|
-
function
|
17192
|
-
return WT(e) ?
|
17191
|
+
function x4(e) {
|
17192
|
+
return WT(e) ? T4(e) : w4(e);
|
17193
17193
|
}
|
17194
|
-
function
|
17195
|
-
return e.match(
|
17194
|
+
function T4(e) {
|
17195
|
+
return e.match(f4) || [];
|
17196
17196
|
}
|
17197
|
-
function
|
17198
|
-
return e.match(
|
17197
|
+
function P4(e) {
|
17198
|
+
return e.match(p4) || [];
|
17199
17199
|
}
|
17200
|
-
var
|
17201
|
-
function
|
17200
|
+
var R4 = Object.prototype, N4 = R4.toString, hI = b4.Symbol, gI = hI ? hI.prototype : void 0, yI = gI ? gI.toString : void 0;
|
17201
|
+
function k4(e, t, r) {
|
17202
17202
|
var n = -1, a = e.length;
|
17203
17203
|
t < 0 && (t = -t > a ? 0 : a + t), r = r > a ? a : r, r < 0 && (r += a), a = t > r ? 0 : r - t >>> 0, t >>>= 0;
|
17204
17204
|
for (var o = Array(a); ++n < a; )
|
17205
17205
|
o[n] = e[n + t];
|
17206
17206
|
return o;
|
17207
17207
|
}
|
17208
|
-
function
|
17208
|
+
function A4(e) {
|
17209
17209
|
if (typeof e == "string")
|
17210
17210
|
return e;
|
17211
|
-
if (
|
17211
|
+
if (F4(e))
|
17212
17212
|
return yI ? yI.call(e) : "";
|
17213
17213
|
var t = e + "";
|
17214
17214
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
17215
17215
|
}
|
17216
|
-
function
|
17216
|
+
function _4(e, t, r) {
|
17217
17217
|
var n = e.length;
|
17218
|
-
return r = r === void 0 ? n : r,
|
17218
|
+
return r = r === void 0 ? n : r, k4(e, t, r);
|
17219
17219
|
}
|
17220
|
-
function
|
17220
|
+
function O4(e) {
|
17221
17221
|
return function(t) {
|
17222
17222
|
t = Dp(t);
|
17223
|
-
var r = WT(t) ?
|
17223
|
+
var r = WT(t) ? x4(t) : void 0, n = r ? r[0] : t.charAt(0), a = r ? _4(r, 1).join("") : t.slice(1);
|
17224
17224
|
return n[e]() + a;
|
17225
17225
|
};
|
17226
17226
|
}
|
17227
|
-
function
|
17227
|
+
function D4(e) {
|
17228
17228
|
return function(t) {
|
17229
|
-
return
|
17229
|
+
return S4(B4(j4(t).replace(c4, "")), e, "");
|
17230
17230
|
};
|
17231
17231
|
}
|
17232
|
-
function
|
17232
|
+
function L4(e) {
|
17233
17233
|
return !!e && typeof e == "object";
|
17234
17234
|
}
|
17235
|
-
function
|
17236
|
-
return typeof e == "symbol" ||
|
17235
|
+
function F4(e) {
|
17236
|
+
return typeof e == "symbol" || L4(e) && N4.call(e) == ZV;
|
17237
17237
|
}
|
17238
17238
|
function Dp(e) {
|
17239
|
-
return e == null ? "" :
|
17239
|
+
return e == null ? "" : A4(e);
|
17240
17240
|
}
|
17241
|
-
var
|
17242
|
-
return t = t.toLowerCase(), e + (r ? $
|
17241
|
+
var U4 = D4(function(e, t, r) {
|
17242
|
+
return t = t.toLowerCase(), e + (r ? $4(t) : t);
|
17243
17243
|
});
|
17244
|
-
function $
|
17245
|
-
return
|
17244
|
+
function $4(e) {
|
17245
|
+
return V4(Dp(e).toLowerCase());
|
17246
17246
|
}
|
17247
|
-
function
|
17248
|
-
return e = Dp(e), e && e.replace(
|
17247
|
+
function j4(e) {
|
17248
|
+
return e = Dp(e), e && e.replace(QV, E4).replace(d4, "");
|
17249
17249
|
}
|
17250
|
-
var
|
17251
|
-
function
|
17252
|
-
return e = Dp(e), t = t, t === void 0 ?
|
17250
|
+
var V4 = O4("toUpperCase");
|
17251
|
+
function B4(e, t, r) {
|
17252
|
+
return e = Dp(e), t = t, t === void 0 ? C4(e) ? P4(e) : I4(e) : e.match(t) || [];
|
17253
17253
|
}
|
17254
|
-
var
|
17255
|
-
const KT = /* @__PURE__ */ Pr(
|
17254
|
+
var H4 = U4;
|
17255
|
+
const KT = /* @__PURE__ */ Pr(H4), z4 = () => x.createContext({ flags: {}, flagKeyMap: {}, ldClient: void 0 }), Lp = { useCamelCaseFlagKeys: !0, sendEventsOnFlagRead: !0, reactContext: z4() }, Rc = (e) => {
|
17256
17256
|
var t;
|
17257
17257
|
return (t = e.context) != null ? t : e.user;
|
17258
17258
|
}, ey = (e) => {
|
17259
17259
|
const t = {};
|
17260
17260
|
for (const r in e) r.indexOf("$") !== 0 && (t[KT(r)] = e[r]);
|
17261
17261
|
return t;
|
17262
|
-
},
|
17262
|
+
}, G4 = (e, t) => {
|
17263
17263
|
const r = {};
|
17264
17264
|
for (const n in e) t && t[n] === void 0 || (r[n] = e[n].current);
|
17265
17265
|
return r;
|
@@ -17279,12 +17279,12 @@ function Eh(e, t, r = Lp, n) {
|
|
17279
17279
|
}
|
17280
17280
|
return [u, c];
|
17281
17281
|
}(a) : [a];
|
17282
|
-
return { flags: r.sendEventsOnFlagRead ?
|
17282
|
+
return { flags: r.sendEventsOnFlagRead ? W4(e, s, i, o) : s, flagKeyMap: i };
|
17283
17283
|
}
|
17284
17284
|
function ty(e, t) {
|
17285
17285
|
return Object.prototype.hasOwnProperty.call(e, t);
|
17286
17286
|
}
|
17287
|
-
function
|
17287
|
+
function W4(e, t, r, n) {
|
17288
17288
|
return new Proxy(t, { get(a, o, s) {
|
17289
17289
|
const i = Reflect.get(a, o, s), l = n && ty(r, o) || ty(a, o);
|
17290
17290
|
if (typeof o == "symbol" || !l) return i;
|
@@ -17294,12 +17294,12 @@ function WV(e, t, r, n) {
|
|
17294
17294
|
} });
|
17295
17295
|
}
|
17296
17296
|
ey.camelCaseKeys = ey;
|
17297
|
-
const
|
17298
|
-
var
|
17299
|
-
for (var r in t || (t = {}))
|
17300
|
-
if (vI) for (var r of vI(t))
|
17297
|
+
const K4 = { wrapperName: "react-client-sdk", wrapperVersion: "3.6.1", sendEventsOnlyForVariation: !0 };
|
17298
|
+
var q4 = Object.defineProperty, Y4 = Object.defineProperties, Z4 = Object.getOwnPropertyDescriptors, vI = Object.getOwnPropertySymbols, X4 = Object.prototype.hasOwnProperty, Q4 = Object.prototype.propertyIsEnumerable, bI = (e, t, r) => t in e ? q4(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qr = (e, t) => {
|
17299
|
+
for (var r in t || (t = {})) X4.call(t, r) && bI(e, r, t[r]);
|
17300
|
+
if (vI) for (var r of vI(t)) Q4.call(t, r) && bI(e, r, t[r]);
|
17301
17301
|
return e;
|
17302
|
-
}, dl = (e, t) =>
|
17302
|
+
}, dl = (e, t) => Y4(e, Z4(t)), Ch = (e, t, r) => new Promise((n, a) => {
|
17303
17303
|
var o = (l) => {
|
17304
17304
|
try {
|
17305
17305
|
i(r.next(l));
|
@@ -17315,12 +17315,12 @@ var qV = Object.defineProperty, YV = Object.defineProperties, ZV = Object.getOwn
|
|
17315
17315
|
}, i = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
17316
17316
|
i((r = r.apply(e, t)).next());
|
17317
17317
|
});
|
17318
|
-
let
|
17318
|
+
let J4 = class extends x.Component {
|
17319
17319
|
constructor(t) {
|
17320
17320
|
super(t), this.getReactOptions = () => qr(qr({}, Lp), this.props.reactOptions), this.subscribeToChanges = (n) => {
|
17321
17321
|
const { flags: a } = this.props;
|
17322
17322
|
n.on("change", (o) => {
|
17323
|
-
const s = this.getReactOptions(), i =
|
17323
|
+
const s = this.getReactOptions(), i = G4(o, a), l = qr(qr({}, this.state.unproxiedFlags), i);
|
17324
17324
|
Object.keys(i).length > 0 && this.setState((u) => qr(dl(qr({}, u), { unproxiedFlags: l }), Eh(n, l, s, a)));
|
17325
17325
|
});
|
17326
17326
|
}, this.onFailed = (n, a) => {
|
@@ -17337,7 +17337,7 @@ let JV = class extends x.Component {
|
|
17337
17337
|
if (i) c = Mh(i, o);
|
17338
17338
|
else {
|
17339
17339
|
const d = (n = Rc(this.props)) != null ? n : { anonymous: !0, kind: "user" };
|
17340
|
-
i =
|
17340
|
+
i = YV(a, d, qr(qr({}, K4), s));
|
17341
17341
|
try {
|
17342
17342
|
yield i.waitForInitialization(this.props.timeout), c = Mh(i, o);
|
17343
17343
|
} catch (p) {
|
@@ -17615,31 +17615,31 @@ function xr(e) {
|
|
17615
17615
|
return e;
|
17616
17616
|
}
|
17617
17617
|
var aB = /([A-Z])/g, sB = /^ms-/, ry = Array.isArray;
|
17618
|
-
function
|
17618
|
+
function So(e, t) {
|
17619
17619
|
return { insertionMode: e, selectedValue: t };
|
17620
17620
|
}
|
17621
17621
|
function iB(e, t, r) {
|
17622
17622
|
switch (t) {
|
17623
17623
|
case "select":
|
17624
|
-
return
|
17624
|
+
return So(1, r.value != null ? r.value : r.defaultValue);
|
17625
17625
|
case "svg":
|
17626
|
-
return
|
17626
|
+
return So(2, null);
|
17627
17627
|
case "math":
|
17628
|
-
return
|
17628
|
+
return So(3, null);
|
17629
17629
|
case "foreignObject":
|
17630
|
-
return
|
17630
|
+
return So(1, null);
|
17631
17631
|
case "table":
|
17632
|
-
return
|
17632
|
+
return So(4, null);
|
17633
17633
|
case "thead":
|
17634
17634
|
case "tbody":
|
17635
17635
|
case "tfoot":
|
17636
|
-
return
|
17636
|
+
return So(5, null);
|
17637
17637
|
case "colgroup":
|
17638
|
-
return
|
17638
|
+
return So(7, null);
|
17639
17639
|
case "tr":
|
17640
|
-
return
|
17640
|
+
return So(6, null);
|
17641
17641
|
}
|
17642
|
-
return 4 <= e.insertionMode || e.insertionMode === 0 ?
|
17642
|
+
return 4 <= e.insertionMode || e.insertionMode === 0 ? So(1, null) : e;
|
17643
17643
|
}
|
17644
17644
|
var EI = /* @__PURE__ */ new Map();
|
17645
17645
|
function QT(e, t, r) {
|
@@ -20166,7 +20166,12 @@ const fy = (e) => (t) => {
|
|
20166
20166
|
s,
|
20167
20167
|
a
|
20168
20168
|
);
|
20169
|
-
|
20169
|
+
co({
|
20170
|
+
eventName: Ut.INVALID_FORM_SUBMIT,
|
20171
|
+
params: {
|
20172
|
+
fieldValidationErrors: JSON.stringify(a)
|
20173
|
+
}
|
20174
|
+
}), x0(a, t), m6(i);
|
20170
20175
|
}
|
20171
20176
|
}, I6 = (e, t, r) => {
|
20172
20177
|
const n = r.formatHTMLMessage({
|
@@ -20338,7 +20343,7 @@ const fy = (e) => (t) => {
|
|
20338
20343
|
}
|
20339
20344
|
) }),
|
20340
20345
|
/* @__PURE__ */ f.jsx("div", { className: "sid-l-space-top-xl" })
|
20341
|
-
] }), _6 = A6,
|
20346
|
+
] }), _6 = A6, Vt = (e) => e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`), O6 = ({
|
20342
20347
|
id: e,
|
20343
20348
|
isErrored: t,
|
20344
20349
|
className: r = void 0,
|
@@ -20391,7 +20396,7 @@ Wp.defaultProps = {
|
|
20391
20396
|
isRequired: !0,
|
20392
20397
|
children: null
|
20393
20398
|
};
|
20394
|
-
const KP = (e) => `sid-${
|
20399
|
+
const KP = (e) => `sid-${Vt(e)}-label`, L6 = (e) => `sid-${Vt(e)}-error`, Du = ({
|
20395
20400
|
fieldId: e,
|
20396
20401
|
label: t,
|
20397
20402
|
errorMessage: r,
|
@@ -20401,7 +20406,7 @@ const KP = (e) => `sid-${jt(e)}-label`, L6 = (e) => `sid-${jt(e)}-error`, Du = (
|
|
20401
20406
|
explanation: s = void 0,
|
20402
20407
|
containerId: i = void 0
|
20403
20408
|
}) => {
|
20404
|
-
const l = KP(e), u = L6(e), c = i || `sid-${
|
20409
|
+
const l = KP(e), u = L6(e), c = i || `sid-${Vt(e)}`;
|
20405
20410
|
return /* @__PURE__ */ f.jsxs("div", { className: `sid-field ${c}`, children: [
|
20406
20411
|
/* @__PURE__ */ f.jsx("div", { className: "sid-l-space-top-md" }),
|
20407
20412
|
/* @__PURE__ */ f.jsx(
|
@@ -20409,7 +20414,7 @@ const KP = (e) => `sid-${jt(e)}-label`, L6 = (e) => `sid-${jt(e)}-error`, Du = (
|
|
20409
20414
|
{
|
20410
20415
|
text: t,
|
20411
20416
|
isRequired: n,
|
20412
|
-
htmlForLabel: `sid-${
|
20417
|
+
htmlForLabel: `sid-${Vt(e)}`,
|
20413
20418
|
id: l,
|
20414
20419
|
displayClasses: `${s ? "sid-field__label-with-explanation" : ""}${s && a ? " " : ""}${a ? "sid-h-screen-reader-only" : ""}`,
|
20415
20420
|
children: s && s
|
@@ -20430,7 +20435,7 @@ const KP = (e) => `sid-${jt(e)}-label`, L6 = (e) => `sid-${jt(e)}-error`, Du = (
|
|
20430
20435
|
explanation: l = "",
|
20431
20436
|
...u
|
20432
20437
|
}) => {
|
20433
|
-
const c = `sid-${
|
20438
|
+
const c = `sid-${Vt(e)}-error`;
|
20434
20439
|
return /* @__PURE__ */ f.jsx(
|
20435
20440
|
Du,
|
20436
20441
|
{
|
@@ -20443,7 +20448,7 @@ const KP = (e) => `sid-${jt(e)}-label`, L6 = (e) => `sid-${jt(e)}-error`, Du = (
|
|
20443
20448
|
children: /* @__PURE__ */ f.jsx(
|
20444
20449
|
gu,
|
20445
20450
|
{
|
20446
|
-
id:
|
20451
|
+
id: Vt(e),
|
20447
20452
|
value: t,
|
20448
20453
|
onChange: (d) => r(d.target.value),
|
20449
20454
|
placeholder: s ? n : "",
|
@@ -20806,7 +20811,7 @@ function XP(e, t) {
|
|
20806
20811
|
}
|
20807
20812
|
return a.cancel = n, a;
|
20808
20813
|
}
|
20809
|
-
function
|
20814
|
+
function wo() {
|
20810
20815
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
20811
20816
|
t[r] = arguments[r];
|
20812
20817
|
return function(n) {
|
@@ -21461,7 +21466,7 @@ function is(e) {
|
|
21461
21466
|
var q, P = J === void 0 ? {} : J, Me = P.onMouseLeave, Se = P.refKey, Re = Se === void 0 ? "ref" : Se, ze = P.ref, $e = ci(P, gH), Ke = ae === void 0 ? {} : ae;
|
21462
21467
|
return Ke.suppressRefError, wt((q = {}, q[Re] = Lc(ze, function(Fe) {
|
21463
21468
|
m.current = Fe;
|
21464
|
-
}), q.id = y.menuId, q.role = "listbox", q["aria-labelledby"] = $e && $e["aria-label"] ? void 0 : "" + y.labelId, q.onMouseLeave =
|
21469
|
+
}), q.id = y.menuId, q.role = "listbox", q["aria-labelledby"] = $e && $e["aria-label"] ? void 0 : "" + y.labelId, q.onMouseLeave = wo(Me, function() {
|
21465
21470
|
l({
|
21466
21471
|
type: nR
|
21467
21472
|
});
|
@@ -21487,9 +21492,9 @@ function is(e) {
|
|
21487
21492
|
};
|
21488
21493
|
return wt((ae = {}, ae[ze] = Lc($e, function(at) {
|
21489
21494
|
at && (g.current[y.getItemId(me)] = at);
|
21490
|
-
}), ae["aria-disabled"] = Ne, ae["aria-selected"] = me === pe.highlightedIndex, ae.id = y.getItemId(me), ae.role = "option", ae), !Ne && (q = {}, q[ve] =
|
21491
|
-
onMouseMove:
|
21492
|
-
onMouseDown:
|
21495
|
+
}), ae["aria-disabled"] = Ne, ae["aria-selected"] = me === pe.highlightedIndex, ae.id = y.getItemId(me), ae.role = "option", ae), !Ne && (q = {}, q[ve] = wo(xe, we), q), {
|
21496
|
+
onMouseMove: wo(Ke, He),
|
21497
|
+
onMouseDown: wo(Fe, ke)
|
21493
21498
|
}, R);
|
21494
21499
|
}, [l, y, w, T, N]), he = x.useCallback(function(J) {
|
21495
21500
|
var ae, q = J === void 0 ? {} : J, P = q.onClick;
|
@@ -21502,7 +21507,7 @@ function is(e) {
|
|
21502
21507
|
return wt((ae = {}, ae[Se] = Lc(Re, function(Fe) {
|
21503
21508
|
I.current = Fe;
|
21504
21509
|
}), ae["aria-controls"] = y.menuId, ae["aria-expanded"] = $e.isOpen, ae.id = y.toggleButtonId, ae.tabIndex = -1, ae), !ze.disabled && wt({}, {
|
21505
|
-
onClick:
|
21510
|
+
onClick: wo(P, Ke)
|
21506
21511
|
}), ze);
|
21507
21512
|
}, [l, w, y]), G = x.useCallback(function(J, ae) {
|
21508
21513
|
var q, P = J === void 0 ? {} : J, Me = P.onKeyDown, Se = P.onChange, Re = P.onInput, ze = P.onBlur;
|
@@ -21532,7 +21537,7 @@ function is(e) {
|
|
21532
21537
|
}, me = "onChange", Ne = {};
|
21533
21538
|
if (!tt.disabled) {
|
21534
21539
|
var ve;
|
21535
|
-
Ne = (ve = {}, ve[me] =
|
21540
|
+
Ne = (ve = {}, ve[me] = wo(Se, Re, pe), ve.onKeyDown = wo(Me, z), ve.onBlur = wo(ze, le), ve.onClick = wo($e, Ee), ve);
|
21536
21541
|
}
|
21537
21542
|
return wt((q = {}, q[Fe] = Lc(Ye, function(xe) {
|
21538
21543
|
h.current = xe;
|
@@ -21999,7 +22004,7 @@ const xH = ({
|
|
21999
22004
|
refId: h = "status",
|
22000
22005
|
suppressPlaceholder: I = !0
|
22001
22006
|
}) => {
|
22002
|
-
const b = `sid-${
|
22007
|
+
const b = `sid-${Vt(e)}`, y = `sid-${Vt(e)}-error`;
|
22003
22008
|
return /* @__PURE__ */ f.jsx(
|
22004
22009
|
Du,
|
22005
22010
|
{
|
@@ -22417,14 +22422,14 @@ const HH = 42, zH = 26, GH = ({
|
|
22417
22422
|
}
|
22418
22423
|
try {
|
22419
22424
|
const s = n || fl(r) || "", i = {
|
22420
|
-
eventName:
|
22425
|
+
eventName: Ut.ORGS_DISPLAYED,
|
22421
22426
|
params: {
|
22422
22427
|
queryLength: s.length,
|
22423
22428
|
eventDuration: Date.now() - a,
|
22424
22429
|
numberOfResults: o == null ? void 0 : o.length
|
22425
22430
|
}
|
22426
22431
|
};
|
22427
|
-
|
22432
|
+
co(i);
|
22428
22433
|
} catch (s) {
|
22429
22434
|
L.error(s);
|
22430
22435
|
}
|
@@ -22568,7 +22573,7 @@ const YH = gy, ZH = (e, t, r) => {
|
|
22568
22573
|
onSelectedItemChange: ({ selectedItem: K }) => {
|
22569
22574
|
try {
|
22570
22575
|
const ne = {
|
22571
|
-
eventName:
|
22576
|
+
eventName: Ut.ORG_SELECTED,
|
22572
22577
|
params: {
|
22573
22578
|
[bn.QUERY_LENGTH]: I.length,
|
22574
22579
|
[bn.NUMBER_REWORKS]: w,
|
@@ -22577,7 +22582,7 @@ const YH = gy, ZH = (e, t, r) => {
|
|
22577
22582
|
[bn.NUMBER_OF_RESULTS]: y.length
|
22578
22583
|
}
|
22579
22584
|
};
|
22580
|
-
|
22585
|
+
co(ne);
|
22581
22586
|
} catch (ne) {
|
22582
22587
|
L.error(ne);
|
22583
22588
|
}
|
@@ -22586,7 +22591,7 @@ const YH = gy, ZH = (e, t, r) => {
|
|
22586
22591
|
}), G = () => {
|
22587
22592
|
try {
|
22588
22593
|
const K = {
|
22589
|
-
eventName:
|
22594
|
+
eventName: Ut.ASR_SELECTED,
|
22590
22595
|
params: {
|
22591
22596
|
[bn.QUERY_LENGTH]: I.length,
|
22592
22597
|
[bn.NUMBER_REWORKS]: w,
|
@@ -22594,7 +22599,7 @@ const YH = gy, ZH = (e, t, r) => {
|
|
22594
22599
|
[bn.NUMBER_OF_RESULTS]: y.length
|
22595
22600
|
}
|
22596
22601
|
};
|
22597
|
-
|
22602
|
+
co(K);
|
22598
22603
|
} catch (K) {
|
22599
22604
|
L.error(K);
|
22600
22605
|
}
|
@@ -22650,7 +22655,7 @@ const YH = gy, ZH = (e, t, r) => {
|
|
22650
22655
|
urlAddSchoolForm: d,
|
22651
22656
|
disabled: p = !1
|
22652
22657
|
}) => {
|
22653
|
-
const m = `sid-${
|
22658
|
+
const m = `sid-${Vt(e)}`, g = `sid-${Vt(e)}-error`, { programId: h, programTheme: I, verificationResponse: b, viewModel: y } = r, S = Le(() => y.countryChoice.value), w = mR(I, S), M = Sr(y, b);
|
22654
22659
|
return /* @__PURE__ */ f.jsx(
|
22655
22660
|
Du,
|
22656
22661
|
{
|
@@ -23227,7 +23232,7 @@ var oz = function(e) {
|
|
23227
23232
|
var H = -1, ee = C ? C.length : 0;
|
23228
23233
|
for (this.__data__ = new at(); ++H < ee; ) this.add(C[H]);
|
23229
23234
|
}
|
23230
|
-
function
|
23235
|
+
function Bt(C) {
|
23231
23236
|
this.__data__ = new ke(C);
|
23232
23237
|
}
|
23233
23238
|
function Xt(C, H) {
|
@@ -23285,15 +23290,15 @@ var oz = function(e) {
|
|
23285
23290
|
return this.__data__.set(C, "__lodash_hash_undefined__"), this;
|
23286
23291
|
}, Wt.prototype.has = function(C) {
|
23287
23292
|
return this.__data__.has(C);
|
23288
|
-
},
|
23293
|
+
}, Bt.prototype.clear = function() {
|
23289
23294
|
this.__data__ = new ke();
|
23290
|
-
},
|
23295
|
+
}, Bt.prototype.delete = function(C) {
|
23291
23296
|
return this.__data__.delete(C);
|
23292
|
-
},
|
23297
|
+
}, Bt.prototype.get = function(C) {
|
23293
23298
|
return this.__data__.get(C);
|
23294
|
-
},
|
23299
|
+
}, Bt.prototype.has = function(C) {
|
23295
23300
|
return this.__data__.has(C);
|
23296
|
-
},
|
23301
|
+
}, Bt.prototype.set = function(C, H) {
|
23297
23302
|
var ee = this.__data__;
|
23298
23303
|
if (ee instanceof ke) {
|
23299
23304
|
var se = ee.__data__;
|
@@ -23318,7 +23323,7 @@ var oz = function(e) {
|
|
23318
23323
|
return H;
|
23319
23324
|
};
|
23320
23325
|
}();
|
23321
|
-
function
|
23326
|
+
function yo(C, H) {
|
23322
23327
|
for (var ee = 0, se = (H = oe(H, C) ? [H] : Mr(H)).length; C != null && ee < se; ) C = C[vt(H[ee++])];
|
23323
23328
|
return ee && ee == se ? C : void 0;
|
23324
23329
|
}
|
@@ -23329,8 +23334,8 @@ var oz = function(e) {
|
|
23329
23334
|
return C === H || (C == null || H == null || !Wr(C) && !zo(H) ? C != C && H != H : function(_e, E, k, Y, te, ge) {
|
23330
23335
|
var Te = Kt(_e), Ue = Kt(E), Xe = "[object Array]", ct = "[object Array]";
|
23331
23336
|
Te || (Xe = (Xe = V(_e)) == o ? i : Xe), Ue || (ct = (ct = V(E)) == o ? i : ct);
|
23332
|
-
var qt = Xe == i && !ie(_e),
|
23333
|
-
if (_n && !qt) return ge || (ge = new
|
23337
|
+
var qt = Xe == i && !ie(_e), vo = ct == i && !ie(E), _n = Xe == ct;
|
23338
|
+
if (_n && !qt) return ge || (ge = new Bt()), Te || Ns(_e) ? v(_e, E, k, Y, te, ge) : function(bt, ft, dm, ja, qu, Kr, bo) {
|
23334
23339
|
switch (dm) {
|
23335
23340
|
case "[object DataView]":
|
23336
23341
|
if (bt.byteLength != ft.byteLength || bt.byteOffset != ft.byteOffset) return !1;
|
@@ -23351,38 +23356,38 @@ var oz = function(e) {
|
|
23351
23356
|
case l:
|
23352
23357
|
var Zi = 2 & Kr;
|
23353
23358
|
if (Wo || (Wo = G), bt.size != ft.size && !Zi) return !1;
|
23354
|
-
var Yu =
|
23359
|
+
var Yu = bo.get(bt);
|
23355
23360
|
if (Yu) return Yu == ft;
|
23356
|
-
Kr |= 1,
|
23357
|
-
var As = v(Wo(bt), Wo(ft), ja, qu, Kr,
|
23358
|
-
return
|
23361
|
+
Kr |= 1, bo.set(bt, ft);
|
23362
|
+
var As = v(Wo(bt), Wo(ft), ja, qu, Kr, bo);
|
23363
|
+
return bo.delete(bt), As;
|
23359
23364
|
case "[object Symbol]":
|
23360
23365
|
if (xe) return xe.call(bt) == xe.call(ft);
|
23361
23366
|
}
|
23362
23367
|
return !1;
|
23363
23368
|
}(_e, E, Xe, k, Y, te, ge);
|
23364
23369
|
if (!(2 & te)) {
|
23365
|
-
var Go = qt && q.call(_e, "__wrapped__"), Ku =
|
23370
|
+
var Go = qt && q.call(_e, "__wrapped__"), Ku = vo && q.call(E, "__wrapped__");
|
23366
23371
|
if (Go || Ku) {
|
23367
23372
|
var ks = Go ? _e.value() : _e, On = Ku ? E.value() : E;
|
23368
|
-
return ge || (ge = new
|
23373
|
+
return ge || (ge = new Bt()), k(ks, On, Y, te, ge);
|
23369
23374
|
}
|
23370
23375
|
}
|
23371
|
-
return _n ? (ge || (ge = new
|
23372
|
-
var
|
23373
|
-
if (Zi != Yu && !
|
23376
|
+
return _n ? (ge || (ge = new Bt()), function(bt, ft, dm, ja, qu, Kr) {
|
23377
|
+
var bo = 2 & qu, Wo = hn(bt), Zi = Wo.length, Yu = hn(ft).length;
|
23378
|
+
if (Zi != Yu && !bo) return !1;
|
23374
23379
|
for (var As = Zi; As--; ) {
|
23375
23380
|
var Ko = Wo[As];
|
23376
|
-
if (!(
|
23381
|
+
if (!(bo ? Ko in ft : q.call(ft, Ko))) return !1;
|
23377
23382
|
}
|
23378
23383
|
var cb = Kr.get(bt);
|
23379
23384
|
if (cb && Kr.get(ft)) return cb == ft;
|
23380
23385
|
var Zu = !0;
|
23381
23386
|
Kr.set(bt, ft), Kr.set(ft, bt);
|
23382
|
-
for (var fm =
|
23387
|
+
for (var fm = bo; ++As < Zi; ) {
|
23383
23388
|
Ko = Wo[As];
|
23384
23389
|
var Xu = bt[Ko], Qu = ft[Ko];
|
23385
|
-
if (ja) var db =
|
23390
|
+
if (ja) var db = bo ? ja(Qu, Xu, Ko, ft, bt, Kr) : ja(Xu, Qu, Ko, bt, ft, Kr);
|
23386
23391
|
if (!(db === void 0 ? Xu === Qu || dm(Xu, Qu, ja, qu, Kr) : db)) {
|
23387
23392
|
Zu = !1;
|
23388
23393
|
break;
|
@@ -23406,7 +23411,7 @@ var oz = function(e) {
|
|
23406
23411
|
return typeof C == "function" ? C : C == null ? $a : typeof C == "object" ? Kt(C) ? function(se, Ae) {
|
23407
23412
|
return oe(se) && Ce(Ae) ? je(vt(se), Ae) : function(_e) {
|
23408
23413
|
var E = function(k, Y, te) {
|
23409
|
-
var ge = k == null ? void 0 :
|
23414
|
+
var ge = k == null ? void 0 : yo(k, Y);
|
23410
23415
|
return ge === void 0 ? te : ge;
|
23411
23416
|
}(_e, se);
|
23412
23417
|
return E === void 0 && E === Ae ? function(k, Y) {
|
@@ -23442,8 +23447,8 @@ var oz = function(e) {
|
|
23442
23447
|
if (Ue[2]) {
|
23443
23448
|
if (ct === void 0 && !(Xe in E)) return !1;
|
23444
23449
|
} else {
|
23445
|
-
var
|
23446
|
-
if (!(_n === void 0 ? $(qt, ct, te, 3,
|
23450
|
+
var vo = new Bt(), _n;
|
23451
|
+
if (!(_n === void 0 ? $(qt, ct, te, 3, vo) : _n)) return !1;
|
23447
23452
|
}
|
23448
23453
|
}
|
23449
23454
|
return !0;
|
@@ -23453,7 +23458,7 @@ var oz = function(e) {
|
|
23453
23458
|
return se == null ? void 0 : se[ee];
|
23454
23459
|
}) : /* @__PURE__ */ function(se) {
|
23455
23460
|
return function(Ae) {
|
23456
|
-
return
|
23461
|
+
return yo(Ae, se);
|
23457
23462
|
};
|
23458
23463
|
}(H);
|
23459
23464
|
var H, ee;
|
@@ -23482,8 +23487,8 @@ var oz = function(e) {
|
|
23482
23487
|
break;
|
23483
23488
|
}
|
23484
23489
|
if (Ue) {
|
23485
|
-
if (!U(H, function(
|
23486
|
-
if (!Ue.has(_n) && (Xe ===
|
23490
|
+
if (!U(H, function(vo, _n) {
|
23491
|
+
if (!Ue.has(_n) && (Xe === vo || ee(Xe, vo, se, Ae, _e))) return Ue.add(_n);
|
23487
23492
|
})) {
|
23488
23493
|
Te = !1;
|
23489
23494
|
break;
|
@@ -23888,8 +23893,8 @@ var oz = function(e) {
|
|
23888
23893
|
var xe, He = N()(z, function(we, ke) {
|
23889
23894
|
if (we.remainingText.length === 0) return we;
|
23890
23895
|
if (ke !== ".") return { formattedText: we.formattedText + ke, remainingText: we.remainingText };
|
23891
|
-
var at, Wt = s(at = we.remainingText) || a(at) || i(),
|
23892
|
-
return { formattedText: we.formattedText +
|
23896
|
+
var at, Wt = s(at = we.remainingText) || a(at) || i(), Bt = Wt[0], Xt = Wt.slice(1);
|
23897
|
+
return { formattedText: we.formattedText + Bt, remainingText: Xt };
|
23893
23898
|
}, { formattedText: "", remainingText: R.split("") });
|
23894
23899
|
return (xe = Ne ? He.formattedText + He.remainingText.join("") : He.formattedText).includes("(") && !xe.includes(")") && (xe += ")"), xe;
|
23895
23900
|
}, P.cursorToEnd = function() {
|
@@ -23928,9 +23933,9 @@ var oz = function(e) {
|
|
23928
23933
|
var Wt = D.replace(/\D/g, "");
|
23929
23934
|
(!P.state.freezeSelection || ke && ke.dialCode.length > Wt.length) && (me = P.props.disableCountryGuess ? ke : P.guessSelectedCountry(Wt.substring(0, 6), xe, we, at) || ke, Ne = !1), Ee = P.formatNumber(Wt, me), me = me.dialCode ? me : ke;
|
23930
23935
|
}
|
23931
|
-
var
|
23936
|
+
var Bt = R.target.selectionStart, Xt = R.target.selectionStart, Ir = P.state.formattedNumber, kn = Ee.length - Ir.length;
|
23932
23937
|
P.setState({ formattedNumber: Ee, freezeSelection: Ne, selectedCountry: me }, function() {
|
23933
|
-
kn > 0 && (Xt -= kn), Ee.charAt(Ee.length - 1) == ")" ? P.numberInputRef.setSelectionRange(Ee.length - 1, Ee.length - 1) : Xt > 0 && Ir.length >= Ee.length ? P.numberInputRef.setSelectionRange(Xt, Xt) :
|
23938
|
+
kn > 0 && (Xt -= kn), Ee.charAt(Ee.length - 1) == ")" ? P.numberInputRef.setSelectionRange(Ee.length - 1, Ee.length - 1) : Xt > 0 && Ir.length >= Ee.length ? P.numberInputRef.setSelectionRange(Xt, Xt) : Bt < Ir.length && P.numberInputRef.setSelectionRange(Bt, Bt), le && le(Ee.replace(/[^0-9]+/g, ""), P.getCountryData(), R, Ee);
|
23934
23939
|
});
|
23935
23940
|
}
|
23936
23941
|
}, P.handleInputClick = function(R) {
|
@@ -24040,19 +24045,19 @@ var oz = function(e) {
|
|
24040
24045
|
}
|
24041
24046
|
return Ee;
|
24042
24047
|
}, P.getCountryDropdownList = function() {
|
24043
|
-
var R = P.state, D = R.preferredCountries, z = R.highlightCountryIndex, pe = R.showDropdown, le = R.searchValue, Ee = P.props, me = Ee.disableDropdown, Ne = Ee.prefix, ve = P.props, xe = ve.enableSearch, He = ve.searchNotFound, we = ve.disableSearchIcon, ke = ve.searchClass, at = ve.searchStyle, Wt = ve.searchPlaceholder,
|
24044
|
-
var
|
24048
|
+
var R = P.state, D = R.preferredCountries, z = R.highlightCountryIndex, pe = R.showDropdown, le = R.searchValue, Ee = P.props, me = Ee.disableDropdown, Ne = Ee.prefix, ve = P.props, xe = ve.enableSearch, He = ve.searchNotFound, we = ve.disableSearchIcon, ke = ve.searchClass, at = ve.searchStyle, Wt = ve.searchPlaceholder, Bt = ve.autocompleteSearch, Xt = P.getSearchFilteredCountries().map(function(Pt, Kn) {
|
24049
|
+
var yo = z === Kn, Ua = U()({ country: !0, preferred: Pt.iso2 === "us" || Pt.iso2 === "gb", active: Pt.iso2 === "us", highlight: yo }), $ = "flag ".concat(Pt.iso2);
|
24045
24050
|
return I.a.createElement("li", Object.assign({ ref: function(dt) {
|
24046
24051
|
return P["flag_no_".concat(Kn)] = dt;
|
24047
24052
|
}, key: "flag_no_".concat(Kn), "data-flag-key": "flag_no_".concat(Kn), className: Ua, "data-dial-code": "1", tabIndex: me ? "-1" : "0", "data-country-code": Pt.iso2, onClick: function(dt) {
|
24048
24053
|
return P.handleFlagItemClick(Pt, dt);
|
24049
|
-
}, role: "option" },
|
24054
|
+
}, role: "option" }, yo ? { "aria-selected": !0 } : {}), I.a.createElement("div", { className: $ }), I.a.createElement("span", { className: "country-name" }, P.getDropdownCountryName(Pt)), I.a.createElement("span", { className: "dial-code" }, Pt.format ? P.formatNumber(Pt.dialCode, Pt) : Ne + Pt.dialCode));
|
24050
24055
|
}), Ir = I.a.createElement("li", { key: "dashes", className: "divider" });
|
24051
24056
|
D.length > 0 && (!xe || xe && !le.trim()) && Xt.splice(D.length, 0, Ir);
|
24052
24057
|
var kn = U()(n({ "country-list": !0, hide: !pe }, P.props.dropdownClass, !0));
|
24053
24058
|
return I.a.createElement("ul", { ref: function(Pt) {
|
24054
24059
|
return !xe && Pt && Pt.focus(), P.dropdownRef = Pt;
|
24055
|
-
}, className: kn, style: P.props.dropdownStyle, role: "listbox", tabIndex: "0" }, xe && I.a.createElement("li", { className: U()(n({ search: !0 }, ke, ke)) }, !we && I.a.createElement("span", { className: U()(n({ "search-emoji": !0 }, "".concat(ke, "-emoji"), ke)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), I.a.createElement("input", { className: U()(n({ "search-box": !0 }, "".concat(ke, "-box"), ke)), style: at, type: "search", placeholder: Wt, autoFocus: !0, autoComplete:
|
24060
|
+
}, className: kn, style: P.props.dropdownStyle, role: "listbox", tabIndex: "0" }, xe && I.a.createElement("li", { className: U()(n({ search: !0 }, ke, ke)) }, !we && I.a.createElement("span", { className: U()(n({ "search-emoji": !0 }, "".concat(ke, "-emoji"), ke)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), I.a.createElement("input", { className: U()(n({ "search-box": !0 }, "".concat(ke, "-box"), ke)), style: at, type: "search", placeholder: Wt, autoFocus: !0, autoComplete: Bt ? "on" : "off", value: le, onChange: P.handleSearchChange })), Xt.length > 0 ? Xt : I.a.createElement("li", { className: "no-entries-message" }, I.a.createElement("span", null, He)));
|
24056
24061
|
};
|
24057
24062
|
var Me, Se = new W(q.enableAreaCodes, q.enableTerritories, q.regions, q.onlyCountries, q.preferredCountries, q.excludeCountries, q.preserveOrder, q.masks, q.priority, q.areaCodes, q.localization, q.prefix, q.defaultMask, q.alwaysDefaultMask), Re = Se.onlyCountries, ze = Se.preferredCountries, $e = Se.hiddenAreaCodes, Ke = q.value ? q.value.replace(/\D/g, "") : "";
|
24058
24063
|
Me = q.disableInitialCountryGuess ? 0 : Ke.length > 1 ? P.guessSelectedCountry(Ke.substring(0, 6), q.country, Re, $e) || 0 : q.country && Re.find(function(R) {
|
@@ -24341,7 +24346,7 @@ const az = /* @__PURE__ */ Pr(oz), sz = ({
|
|
24341
24346
|
verificationService: a,
|
24342
24347
|
disabled: o = !1
|
24343
24348
|
}) => {
|
24344
|
-
const s = "marketConsentValue", i = `sid-${
|
24349
|
+
const s = "marketConsentValue", i = `sid-${Vt(s)}-error`, l = ue.useCallback(
|
24345
24350
|
(d) => {
|
24346
24351
|
const p = "marketConsentRequired";
|
24347
24352
|
if (t && !d)
|
@@ -24627,14 +24632,14 @@ const mz = ({
|
|
24627
24632
|
errorMessage: a,
|
24628
24633
|
disabled: o = !1
|
24629
24634
|
}) => {
|
24630
|
-
const s = `${e}Label`, i = `sid-${
|
24631
|
-
return /* @__PURE__ */ f.jsxs("div", { className: `sid-field sid-${
|
24635
|
+
const s = `${e}Label`, i = `sid-${Vt(s)}`, l = `sid-${Vt(s)}-error`, u = () => r(!t);
|
24636
|
+
return /* @__PURE__ */ f.jsxs("div", { className: `sid-field sid-${Vt(e)}`, children: [
|
24632
24637
|
/* @__PURE__ */ f.jsx("div", { className: "sid-l-space-top-md" }),
|
24633
24638
|
/* @__PURE__ */ f.jsxs("div", { className: "sid-checkbox-flex", children: [
|
24634
24639
|
/* @__PURE__ */ f.jsx(
|
24635
24640
|
Y0,
|
24636
24641
|
{
|
24637
|
-
id:
|
24642
|
+
id: Vt(e),
|
24638
24643
|
isErrored: !!a,
|
24639
24644
|
value: t,
|
24640
24645
|
onChange: u,
|
@@ -24671,7 +24676,7 @@ const mz = ({
|
|
24671
24676
|
onKeyDown: u = void 0,
|
24672
24677
|
disabled: c = !1
|
24673
24678
|
}) => {
|
24674
|
-
const d = `${n}Label`, p = `sid-${
|
24679
|
+
const d = `${n}Label`, p = `sid-${Vt(d)}`, m = `sid-${Vt(n)}-error`;
|
24675
24680
|
return /* @__PURE__ */ f.jsx(
|
24676
24681
|
Du,
|
24677
24682
|
{
|
@@ -24684,7 +24689,7 @@ const mz = ({
|
|
24684
24689
|
W0,
|
24685
24690
|
{
|
24686
24691
|
fieldId: n,
|
24687
|
-
inputId: `sid-${
|
24692
|
+
inputId: `sid-${Vt(n)}`,
|
24688
24693
|
fieldLabelId: p,
|
24689
24694
|
isErrored: !!s,
|
24690
24695
|
options: t,
|
@@ -24738,7 +24743,7 @@ const mz = ({
|
|
24738
24743
|
value: i,
|
24739
24744
|
disabled: l = !1
|
24740
24745
|
}) => {
|
24741
|
-
const u =
|
24746
|
+
const u = Vt(e), c = KP(e);
|
24742
24747
|
return /* @__PURE__ */ f.jsx(
|
24743
24748
|
Du,
|
24744
24749
|
{
|
@@ -24944,7 +24949,8 @@ const mz = ({
|
|
24944
24949
|
"doc-upload-may24": "default",
|
24945
24950
|
"include-cvec-field-france-student": "default",
|
24946
24951
|
"collect-info-step-email-first": "default",
|
24947
|
-
"docUpload-assertion-checklist": "default"
|
24952
|
+
"docUpload-assertion-checklist": "default",
|
24953
|
+
"doc-upload-considerations": "default"
|
24948
24954
|
}, Cz = "_flagOverride", xz = (e = yR, t = window.location.href) => new URL(t).searchParams.getAll(Cz).reduce((o, s) => {
|
24949
24955
|
const [i, l] = s.split(":");
|
24950
24956
|
if (!i || !l || !Object.keys(e).includes(i))
|
@@ -26508,7 +26514,7 @@ function sn(e) {
|
|
26508
26514
|
var t;
|
26509
26515
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
26510
26516
|
}
|
26511
|
-
function
|
26517
|
+
function go(e) {
|
26512
26518
|
var t;
|
26513
26519
|
return (t = (RR(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
26514
26520
|
}
|
@@ -26518,7 +26524,7 @@ function RR(e) {
|
|
26518
26524
|
function Gn(e) {
|
26519
26525
|
return im() ? e instanceof Element || e instanceof sn(e).Element : !1;
|
26520
26526
|
}
|
26521
|
-
function
|
26527
|
+
function fo(e) {
|
26522
26528
|
return im() ? e instanceof HTMLElement || e instanceof sn(e).HTMLElement : !1;
|
26523
26529
|
}
|
26524
26530
|
function $M(e) {
|
@@ -26551,7 +26557,7 @@ function eb(e) {
|
|
26551
26557
|
}
|
26552
26558
|
function e9(e) {
|
26553
26559
|
let t = Ra(e);
|
26554
|
-
for (;
|
26560
|
+
for (; fo(t) && !Fi(t); ) {
|
26555
26561
|
if (eb(t))
|
26556
26562
|
return t;
|
26557
26563
|
if (lm(t))
|
@@ -26586,13 +26592,13 @@ function Ra(e) {
|
|
26586
26592
|
e.assignedSlot || // DOM Element detected.
|
26587
26593
|
e.parentNode || // ShadowRoot detected.
|
26588
26594
|
$M(e) && e.host || // Fallback.
|
26589
|
-
|
26595
|
+
go(e)
|
26590
26596
|
);
|
26591
26597
|
return $M(t) ? t.host : t;
|
26592
26598
|
}
|
26593
26599
|
function NR(e) {
|
26594
26600
|
const t = Ra(e);
|
26595
|
-
return Fi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body :
|
26601
|
+
return Fi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : fo(t) && Hu(t) ? t : NR(t);
|
26596
26602
|
}
|
26597
26603
|
function vu(e, t, r) {
|
26598
26604
|
var n;
|
@@ -26610,7 +26616,7 @@ function Sy(e) {
|
|
26610
26616
|
function kR(e) {
|
26611
26617
|
const t = Wn(e);
|
26612
26618
|
let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
|
26613
|
-
const a =
|
26619
|
+
const a = fo(e), o = a ? e.offsetWidth : r, s = a ? e.offsetHeight : n, i = If(r) !== o || If(n) !== s;
|
26614
26620
|
return i && (r = o, n = s), {
|
26615
26621
|
width: r,
|
26616
26622
|
height: n,
|
@@ -26622,7 +26628,7 @@ function rb(e) {
|
|
26622
26628
|
}
|
26623
26629
|
function Mi(e) {
|
26624
26630
|
const t = rb(e);
|
26625
|
-
if (!
|
26631
|
+
if (!fo(t))
|
26626
26632
|
return uo(1);
|
26627
26633
|
const r = t.getBoundingClientRect(), {
|
26628
26634
|
width: n,
|
@@ -26670,7 +26676,7 @@ function bs(e, t, r, n) {
|
|
26670
26676
|
}
|
26671
26677
|
function nb(e, t) {
|
26672
26678
|
const r = um(e).scrollLeft;
|
26673
|
-
return t ? t.left + r : bs(
|
26679
|
+
return t ? t.left + r : bs(go(e)).left + r;
|
26674
26680
|
}
|
26675
26681
|
function _R(e, t, r) {
|
26676
26682
|
r === void 0 && (r = !1);
|
@@ -26690,15 +26696,15 @@ function n9(e) {
|
|
26690
26696
|
offsetParent: n,
|
26691
26697
|
strategy: a
|
26692
26698
|
} = e;
|
26693
|
-
const o = a === "fixed", s =
|
26699
|
+
const o = a === "fixed", s = go(n), i = t ? lm(t.floating) : !1;
|
26694
26700
|
if (n === s || i && o)
|
26695
26701
|
return r;
|
26696
26702
|
let l = {
|
26697
26703
|
scrollLeft: 0,
|
26698
26704
|
scrollTop: 0
|
26699
26705
|
}, u = uo(1);
|
26700
|
-
const c = uo(0), d =
|
26701
|
-
if ((d || !d && !o) && ((qi(n) !== "body" || Hu(s)) && (l = um(n)),
|
26706
|
+
const c = uo(0), d = fo(n);
|
26707
|
+
if ((d || !d && !o) && ((qi(n) !== "body" || Hu(s)) && (l = um(n)), fo(n))) {
|
26702
26708
|
const m = bs(n);
|
26703
26709
|
u = Mi(n), c.x = m.x + n.clientLeft, c.y = m.y + n.clientTop;
|
26704
26710
|
}
|
@@ -26714,7 +26720,7 @@ function o9(e) {
|
|
26714
26720
|
return Array.from(e.getClientRects());
|
26715
26721
|
}
|
26716
26722
|
function a9(e) {
|
26717
|
-
const t =
|
26723
|
+
const t = go(e), r = um(e), n = e.ownerDocument.body, a = nn(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), o = nn(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
26718
26724
|
let s = -r.scrollLeft + nb(e);
|
26719
26725
|
const i = -r.scrollTop;
|
26720
26726
|
return Wn(n).direction === "rtl" && (s += nn(t.clientWidth, n.clientWidth) - a), {
|
@@ -26725,7 +26731,7 @@ function a9(e) {
|
|
26725
26731
|
};
|
26726
26732
|
}
|
26727
26733
|
function s9(e, t) {
|
26728
|
-
const r = sn(e), n =
|
26734
|
+
const r = sn(e), n = go(e), a = r.visualViewport;
|
26729
26735
|
let o = n.clientWidth, s = n.clientHeight, i = 0, l = 0;
|
26730
26736
|
if (a) {
|
26731
26737
|
o = a.width, s = a.height;
|
@@ -26740,7 +26746,7 @@ function s9(e, t) {
|
|
26740
26746
|
};
|
26741
26747
|
}
|
26742
26748
|
function i9(e, t) {
|
26743
|
-
const r = bs(e, !0, t === "fixed"), n = r.top + e.clientTop, a = r.left + e.clientLeft, o =
|
26749
|
+
const r = bs(e, !0, t === "fixed"), n = r.top + e.clientTop, a = r.left + e.clientLeft, o = fo(e) ? Mi(e) : uo(1), s = e.clientWidth * o.x, i = e.clientHeight * o.y, l = a * o.x, u = n * o.y;
|
26744
26750
|
return {
|
26745
26751
|
width: s,
|
26746
26752
|
height: i,
|
@@ -26753,7 +26759,7 @@ function jM(e, t, r) {
|
|
26753
26759
|
if (t === "viewport")
|
26754
26760
|
n = s9(e, r);
|
26755
26761
|
else if (t === "document")
|
26756
|
-
n = a9(
|
26762
|
+
n = a9(go(e));
|
26757
26763
|
else if (Gn(t))
|
26758
26764
|
n = i9(t, r);
|
26759
26765
|
else {
|
@@ -26813,7 +26819,7 @@ function c9(e) {
|
|
26813
26819
|
};
|
26814
26820
|
}
|
26815
26821
|
function d9(e, t, r) {
|
26816
|
-
const n =
|
26822
|
+
const n = fo(t), a = go(t), o = r === "fixed", s = bs(e, !0, o, t);
|
26817
26823
|
let i = {
|
26818
26824
|
scrollLeft: 0,
|
26819
26825
|
scrollTop: 0
|
@@ -26836,18 +26842,18 @@ function $h(e) {
|
|
26836
26842
|
return Wn(e).position === "static";
|
26837
26843
|
}
|
26838
26844
|
function VM(e, t) {
|
26839
|
-
if (!
|
26845
|
+
if (!fo(e) || Wn(e).position === "fixed")
|
26840
26846
|
return null;
|
26841
26847
|
if (t)
|
26842
26848
|
return t(e);
|
26843
26849
|
let r = e.offsetParent;
|
26844
|
-
return
|
26850
|
+
return go(e) === r && (r = r.ownerDocument.body), r;
|
26845
26851
|
}
|
26846
26852
|
function DR(e, t) {
|
26847
26853
|
const r = sn(e);
|
26848
26854
|
if (lm(e))
|
26849
26855
|
return r;
|
26850
|
-
if (!
|
26856
|
+
if (!fo(e)) {
|
26851
26857
|
let a = Ra(e);
|
26852
26858
|
for (; a && !Fi(a); ) {
|
26853
26859
|
if (Gn(a) && !$h(a))
|
@@ -26878,7 +26884,7 @@ function p9(e) {
|
|
26878
26884
|
}
|
26879
26885
|
const m9 = {
|
26880
26886
|
convertOffsetParentRelativeRectToViewportRelativeRect: n9,
|
26881
|
-
getDocumentElement:
|
26887
|
+
getDocumentElement: go,
|
26882
26888
|
getClippingRect: u9,
|
26883
26889
|
getOffsetParent: DR,
|
26884
26890
|
getElementRects: f9,
|
@@ -26893,7 +26899,7 @@ function LR(e, t) {
|
|
26893
26899
|
}
|
26894
26900
|
function h9(e, t) {
|
26895
26901
|
let r = null, n;
|
26896
|
-
const a =
|
26902
|
+
const a = go(e);
|
26897
26903
|
function o() {
|
26898
26904
|
var i;
|
26899
26905
|
clearTimeout(n), (i = r) == null || i.disconnect(), r = null;
|
@@ -28694,13 +28700,13 @@ const q7 = ({ message: e, trigger: t, initialVisibility: r = !1 }) => /* @__PURE
|
|
28694
28700
|
const t = e.target instanceof HTMLInputElement ? e.target : void 0;
|
28695
28701
|
if (t && (t.id || t.name)) {
|
28696
28702
|
const r = {
|
28697
|
-
eventName:
|
28703
|
+
eventName: Ut.FORM_PASTE,
|
28698
28704
|
params: {
|
28699
28705
|
id: t.id || t.name,
|
28700
28706
|
queryLength: e.clipboardData.getData("text").length
|
28701
28707
|
}
|
28702
28708
|
};
|
28703
|
-
|
28709
|
+
co(r);
|
28704
28710
|
}
|
28705
28711
|
} catch (t) {
|
28706
28712
|
L.error(t);
|
@@ -28711,7 +28717,7 @@ const q7 = ({ message: e, trigger: t, initialVisibility: r = !1 }) => /* @__PURE
|
|
28711
28717
|
className: r,
|
28712
28718
|
children: n
|
28713
28719
|
}) => {
|
28714
|
-
const a = Tz("font-size"), o =
|
28720
|
+
const a = Tz("font-size"), o = Vt(e).replace(/^collect-/, ""), s = [`sid-${o}-container`, "sid-l-container", "sid-left-align"];
|
28715
28721
|
switch (r && s.push(r), a) {
|
28716
28722
|
case "14px":
|
28717
28723
|
s.push("_experiment_sid-font-md");
|
@@ -28816,20 +28822,20 @@ const q7 = ({ message: e, trigger: t, initialVisibility: r = !1 }) => /* @__PURE
|
|
28816
28822
|
);
|
28817
28823
|
x.useEffect(() => {
|
28818
28824
|
const g = {
|
28819
|
-
eventName:
|
28825
|
+
eventName: Ut.COLLECT_STARTED,
|
28820
28826
|
params: {}
|
28821
28827
|
};
|
28822
|
-
|
28828
|
+
co(g);
|
28823
28829
|
}, []);
|
28824
28830
|
const i = () => {
|
28825
28831
|
try {
|
28826
28832
|
const g = {
|
28827
|
-
eventName:
|
28833
|
+
eventName: Ut.COLLECT_SUBMITTED,
|
28828
28834
|
params: {
|
28829
28835
|
[bn.EVENT_DURATION]: s().duration
|
28830
28836
|
}
|
28831
28837
|
};
|
28832
|
-
|
28838
|
+
co(g);
|
28833
28839
|
} catch {
|
28834
28840
|
L.warn("Unable to measure time on form");
|
28835
28841
|
}
|
@@ -32270,7 +32276,7 @@ const ik = ({
|
|
32270
32276
|
cancelButtonType: n = "primary"
|
32271
32277
|
/* PRIMARY */
|
32272
32278
|
}) => {
|
32273
|
-
const { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, i = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: u } = e.verificationResponse, c = Eu(), d =
|
32279
|
+
const { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, i = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: u } = e.verificationResponse, c = Eu(), d = Vt(t);
|
32274
32280
|
let p;
|
32275
32281
|
const m = /* @__PURE__ */ f.jsx(
|
32276
32282
|
vs,
|
@@ -32370,7 +32376,7 @@ const ik = ({
|
|
32370
32376
|
cancelSingleSignOn: n,
|
32371
32377
|
cancelButtonType: a = bu.PRIMARY
|
32372
32378
|
}) => {
|
32373
|
-
const o =
|
32379
|
+
const o = Vt(e);
|
32374
32380
|
return /* @__PURE__ */ f.jsxs("div", { className: "sid-header sid-l-horz-center", children: [
|
32375
32381
|
/* @__PURE__ */ f.jsx("div", { className: "sid-pending-logo-container sid-l-horz-center", children: r }),
|
32376
32382
|
/* @__PURE__ */ f.jsx(Da, { align: "center", children: t.title }),
|
@@ -32482,7 +32488,7 @@ const ik = ({
|
|
32482
32488
|
cancelThirdPartyLoop: r,
|
32483
32489
|
isMockingPreviousStepThirdPartyLoop: n
|
32484
32490
|
}) => {
|
32485
|
-
const a = n ?
|
32491
|
+
const a = n ? po(zk) : t == null ? void 0 : t.thirdPartyLoopProvider, o = lk[a] || void 0;
|
32486
32492
|
return o ? /* @__PURE__ */ f.jsx(
|
32487
32493
|
lb,
|
32488
32494
|
{
|
@@ -32494,7 +32500,7 @@ const ik = ({
|
|
32494
32500
|
}
|
32495
32501
|
) : /* @__PURE__ */ f.jsx(uk, { logo: e });
|
32496
32502
|
}, HG = BG, zG = 5e3, GG = 2e4, WG = 5e3, KG = (e, t, r, n, a, o, s, i) => (e || !t && !r && !n) && !a && !o && !s && !i, qG = ({ verificationService: e, intl: t }) => {
|
32497
|
-
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 = Eu(), u =
|
32503
|
+
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 = Eu(), u = Io() && Io() === qe.sso, c = Io() && Io() === qe.thirdPartyLoop, d = Io() && Io() === qe.idCheckLoop, p = Io() && Io() === qe.docUpload, m = () => !!(o && o.currentStep === qe.sso), g = () => !!(o && o.currentStep === qe.thirdPartyLoop), h = () => !!(o && o.currentStep === qe.idCheckLoop), [I, b] = ue.useState(
|
32498
32504
|
KG(
|
32499
32505
|
Be().mockStep === "pending",
|
32500
32506
|
m(),
|
@@ -32728,7 +32734,7 @@ const ik = ({
|
|
32728
32734
|
),
|
32729
32735
|
StepMemberPersonalInfoComponent: ue.lazy(() => import("./chunk/index-DsgCNIS5.js")),
|
32730
32736
|
StepConsolationComponent: ue.lazy(() => import("./chunk/index-CcRowarb.js")),
|
32731
|
-
StepDocUploadComponent: ue.lazy(() => import("./chunk/index-
|
32737
|
+
StepDocUploadComponent: ue.lazy(() => import("./chunk/index-CU0rkVHP.js")),
|
32732
32738
|
StepEmailLoopComponent: ue.lazy(() => import("./chunk/index-CTb96lOK.js")),
|
32733
32739
|
StepPendingEmailLoopComponent: ue.lazy(() => import("./chunk/EmailLoopPending-Dtf0p85F.js")),
|
32734
32740
|
StepMoverPersonalInfoComponent: ue.lazy(() => import("./chunk/index-BpZoH-Wz.js")),
|
@@ -32756,8 +32762,8 @@ const ik = ({
|
|
32756
32762
|
}, []), ue.useEffect(() => {
|
32757
32763
|
if (!["pending", "error"].includes(e))
|
32758
32764
|
try {
|
32759
|
-
performance.mark(
|
32760
|
-
eventName:
|
32765
|
+
performance.mark(Ut.STEP_SEEN), co({
|
32766
|
+
eventName: Ut.STEP_SEEN,
|
32761
32767
|
params: {
|
32762
32768
|
step: e
|
32763
32769
|
}
|
@@ -33138,7 +33144,7 @@ const cW = (e, t) => ({
|
|
33138
33144
|
kind: "program",
|
33139
33145
|
key: e
|
33140
33146
|
}), hW = ({ programId: e, children: t }) => /* @__PURE__ */ f.jsx(
|
33141
|
-
|
33147
|
+
J4,
|
33142
33148
|
{
|
33143
33149
|
clientSideID: "6530161f9ff41712a2eef741",
|
33144
33150
|
context: mW(e),
|
@@ -33298,9 +33304,9 @@ export {
|
|
33298
33304
|
qW as aC,
|
33299
33305
|
iG as aD,
|
33300
33306
|
qD as aE,
|
33301
|
-
|
33307
|
+
Co as aF,
|
33302
33308
|
hb as aG,
|
33303
|
-
|
33309
|
+
po as aH,
|
33304
33310
|
Xi as aI,
|
33305
33311
|
Sr as aJ,
|
33306
33312
|
BW as aK,
|
@@ -33333,8 +33339,8 @@ export {
|
|
33333
33339
|
FW as ak,
|
33334
33340
|
Rk as al,
|
33335
33341
|
aK as am,
|
33336
|
-
|
33337
|
-
|
33342
|
+
co as an,
|
33343
|
+
Ut as ao,
|
33338
33344
|
AW as ap,
|
33339
33345
|
$f as aq,
|
33340
33346
|
fS as ar,
|