@sheerid/jslib-nightly 2.115.0-alpha.0 → 2.115.0-alpha.10
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 +506 -514
- 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--TDb5qE5.js +4 -4
- package/chunk/bg-D3cL-ciP.js +4 -4
- package/chunk/bn-IN-CwiPRX5T.js +4 -4
- package/chunk/cs-7pQwm9YC.js +4 -4
- package/chunk/da-C2xASa_G.js +4 -4
- package/chunk/de-D4nlAbMa.js +4 -4
- package/chunk/el-C-PZe5CV.js +4 -4
- package/chunk/{en-GB-BXuhuoX6.js → en-GB-DXa6bdA_.js} +5 -5
- package/{lib/en-GB-BXuhuoX6.js.map → chunk/en-GB-DXa6bdA_.js.map} +1 -1
- package/chunk/es-BlLBNTpz.js +4 -4
- package/chunk/es-ES-inNoG-F1.js +4 -4
- package/chunk/fi-CcolQnAY.js +4 -4
- package/chunk/fr-BjHvlhn5.js +4 -4
- package/chunk/fr-CA-DD4NnfK-.js +4 -4
- package/chunk/ga-D-rK3PZy.js +4 -4
- package/chunk/hi-IN-B1NQdkcj.js +4 -4
- package/chunk/hr-CwvyeMFM.js +4 -4
- package/chunk/hu-BCZWPgvf.js +4 -4
- package/chunk/id-CRNXXELT.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-BORxVuto.js +4 -4
- 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-CU0rkVHP.js +4 -4
- 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-BFoDLV-f.js +4 -4
- package/chunk/it-B_iK-eSd.js +4 -4
- package/chunk/iw-DL48t5mZ.js +4 -4
- package/chunk/ja-C5bG2SRl.js +4 -4
- package/chunk/ko-CmmVl873.js +4 -4
- package/chunk/lo-DvBsVm-4.js +4 -4
- package/chunk/lt-DWoqI4gx.js +4 -4
- package/chunk/ms-BCHBEoqA.js +4 -4
- package/chunk/nl-BE-DLixID0q.js +4 -4
- package/chunk/nl-CeBqOv0i.js +4 -4
- package/chunk/no-BR2xqD23.js +4 -4
- package/chunk/pl-Dl77tRgW.js +4 -4
- package/chunk/pt-BR--SxHOWht.js +4 -4
- package/chunk/pt-D0bmI49-.js +4 -4
- package/chunk/ro-HCkS3amY.js +4 -4
- package/chunk/ru-BDMi1lvr.js +4 -4
- package/chunk/sk-C4zNHeM6.js +4 -4
- package/chunk/sl-BbQVw1S0.js +4 -4
- package/chunk/sr-8d4sC8Hd.js +4 -4
- package/chunk/sv-B0-e7r_0.js +4 -4
- package/chunk/sw-Bo9F25Vc.js +4 -4
- package/chunk/th-DDuVbwLh.js +4 -4
- package/chunk/tr-CUwkgj2T.js +4 -4
- package/chunk/uk-BPrGA4MJ.js +4 -4
- package/chunk/ur-CIgS3emx.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-JbWizd9m.js +4 -4
- package/chunk/zh-DjbXrser.js +4 -4
- package/chunk/zh-HK-DXcspp2Y.js +4 -4
- package/chunk/zu-BzwZfIDF.js +4 -4
- package/es6.css +4 -4
- package/jslib.js +5 -5
- package/lib/{EmailLoopPending-RRhTTdpV.js → EmailLoopPending-Cuwsf4xZ.js} +5 -5
- package/lib/{EmailLoopPending-RRhTTdpV.js.map → EmailLoopPending-Cuwsf4xZ.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-BpcVOcdn.js → LicensedProfessionalOrganizationComponent-C9Ut84IB.js} +5 -5
- package/lib/{LicensedProfessionalOrganizationComponent-BpcVOcdn.js.map → LicensedProfessionalOrganizationComponent-C9Ut84IB.js.map} +1 -1
- package/lib/Onfido-AyvUk6wg.js +4 -4
- package/lib/StepCollectMilitaryStatusComponent-I8wX1jYX.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-MKuoaXyI.js.map → StepCollectMilitaryStatusComponent-I8wX1jYX.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-BL6cEMkx.js → StepIDCheckLoopOnfido-CRXIY1xd.js} +5 -5
- package/lib/{StepIDCheckLoopOnfido-BL6cEMkx.js.map → StepIDCheckLoopOnfido-CRXIY1xd.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-MJAjFRUv.js → StepIDCheckLoopRegula-8mJqqAEp.js} +5 -5
- package/lib/{StepIDCheckLoopRegula-MJAjFRUv.js.map → StepIDCheckLoopRegula-8mJqqAEp.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BF2_XKTU.js → StepInactiveMilitaryPersonalInfoComponent-BYDyAl1f.js} +6 -6
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BF2_XKTU.js.map → StepInactiveMilitaryPersonalInfoComponent-BYDyAl1f.js.map} +1 -1
- package/lib/{VerificationApiUtils-B-zSDa8r.js → VerificationApiUtils-C_txFgsO.js} +5 -5
- package/lib/{VerificationApiUtils-B-zSDa8r.js.map → VerificationApiUtils-C_txFgsO.js.map} +1 -1
- package/lib/ar--TDb5qE5.js +4 -4
- package/lib/bg-D3cL-ciP.js +4 -4
- package/lib/bn-IN-CwiPRX5T.js +4 -4
- package/lib/cs-7pQwm9YC.js +4 -4
- package/lib/da-C2xASa_G.js +4 -4
- package/lib/de-D4nlAbMa.js +4 -4
- package/lib/el-C-PZe5CV.js +4 -4
- package/lib/{en-GB-BXuhuoX6.js → en-GB-DXa6bdA_.js} +5 -5
- package/{chunk/en-GB-BXuhuoX6.js.map → lib/en-GB-DXa6bdA_.js.map} +1 -1
- package/lib/es-BlLBNTpz.js +4 -4
- package/lib/es-ES-inNoG-F1.js +4 -4
- package/lib/{es6-CvP0bD5Y.js → es6-rAbRFa-6.js} +416 -424
- package/lib/{es6-CvP0bD5Y.js.map → es6-rAbRFa-6.js.map} +1 -1
- package/lib/fi-CcolQnAY.js +4 -4
- package/lib/fr-BjHvlhn5.js +4 -4
- package/lib/fr-CA-DD4NnfK-.js +4 -4
- package/lib/ga-D-rK3PZy.js +4 -4
- package/lib/hi-IN-B1NQdkcj.js +4 -4
- package/lib/hr-CwvyeMFM.js +4 -4
- package/lib/hu-BCZWPgvf.js +4 -4
- package/lib/id-CRNXXELT.js +4 -4
- package/lib/{index-DB8BlUp-.js → index-6IouBip9.js} +7 -7
- package/lib/{index-DB8BlUp-.js.map → index-6IouBip9.js.map} +1 -1
- package/lib/index-B7GBQmdV.js +11 -0
- package/lib/index-B7GBQmdV.js.map +1 -0
- package/lib/{index-AOfpwOYt.js → index-B9KCEPem.js} +5 -5
- package/lib/{index-AOfpwOYt.js.map → index-B9KCEPem.js.map} +1 -1
- package/lib/{index-CRlhWBEg.js → index-BAiuv6Kt.js} +6 -6
- package/lib/{index-CRlhWBEg.js.map → index-BAiuv6Kt.js.map} +1 -1
- package/lib/index-BL_D7Y6i.js +11 -0
- package/lib/index-BL_D7Y6i.js.map +1 -0
- package/lib/{index-B5oSCi71.js → index-BNyAG80R.js} +6 -6
- package/lib/{index-B5oSCi71.js.map → index-BNyAG80R.js.map} +1 -1
- package/lib/{index-DTFmLnWS.js → index-BYQdBIEk.js} +5 -5
- package/lib/{index-DTFmLnWS.js.map → index-BYQdBIEk.js.map} +1 -1
- package/lib/{index-a25ZDvyj.js → index-B_A4tkWw.js} +6 -6
- package/lib/{index-a25ZDvyj.js.map → index-B_A4tkWw.js.map} +1 -1
- package/lib/{index-Bcar_hTV.js → index-Bj32y4xd.js} +6 -6
- package/lib/{index-Bcar_hTV.js.map → index-Bj32y4xd.js.map} +1 -1
- package/lib/{index--7AUFRzm.js → index-BwoL3GOR.js} +5 -5
- package/lib/{index--7AUFRzm.js.map → index-BwoL3GOR.js.map} +1 -1
- package/lib/{index-BEPtvsts.js → index-C90dmv4Y.js} +5 -5
- package/lib/{index-BEPtvsts.js.map → index-C90dmv4Y.js.map} +1 -1
- package/lib/{index-Cl0g0liA.js → index-CWMKTpHR.js} +5 -5
- package/lib/{index-Cl0g0liA.js.map → index-CWMKTpHR.js.map} +1 -1
- package/lib/{index-BakuoRXg.js → index-CZs-0ZMY.js} +6 -6
- package/lib/{index-BakuoRXg.js.map → index-CZs-0ZMY.js.map} +1 -1
- package/lib/{index-Bdc4azTf.js → index-CdjuV44S.js} +5 -5
- package/lib/{index-Bdc4azTf.js.map → index-CdjuV44S.js.map} +1 -1
- package/lib/index-CnOAaaK6.js +11 -0
- package/lib/index-CnOAaaK6.js.map +1 -0
- package/lib/{index-BIeaIoFa.js → index-CohTrjrW.js} +5 -5
- package/lib/{index-BIeaIoFa.js.map → index-CohTrjrW.js.map} +1 -1
- package/lib/{index-ACzmbR3M.js → index-CsGNlf_c.js} +6 -6
- package/lib/{index-ACzmbR3M.js.map → index-CsGNlf_c.js.map} +1 -1
- package/lib/{index-Bu2OGrT1.js → index-DEbEtRRu.js} +5 -5
- package/lib/{index-Bu2OGrT1.js.map → index-DEbEtRRu.js.map} +1 -1
- package/lib/{index-Ckr6iG5b.js → index-DF6z6wUc.js} +5 -5
- package/lib/{index-Ckr6iG5b.js.map → index-DF6z6wUc.js.map} +1 -1
- package/lib/{index-DBS8B1wo.js → index-DHomcPj2.js} +7 -7
- package/lib/{index-DBS8B1wo.js.map → index-DHomcPj2.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/{index-DKUyKNqH.js → index-DRa4CiZE.js} +6 -6
- package/lib/{index-DKUyKNqH.js.map → index-DRa4CiZE.js.map} +1 -1
- package/lib/index-DRi5mxxi.js +11 -0
- package/lib/index-DRi5mxxi.js.map +1 -0
- package/lib/{index-wSa1ZJj-.js → index-DkgNdFog.js} +5 -5
- package/lib/{index-wSa1ZJj-.js.map → index-DkgNdFog.js.map} +1 -1
- package/lib/is-BFoDLV-f.js +4 -4
- package/lib/it-B_iK-eSd.js +4 -4
- package/lib/iw-DL48t5mZ.js +4 -4
- package/lib/ja-C5bG2SRl.js +4 -4
- package/lib/ko-CmmVl873.js +4 -4
- package/lib/lo-DvBsVm-4.js +4 -4
- package/lib/lt-DWoqI4gx.js +4 -4
- package/lib/ms-BCHBEoqA.js +4 -4
- package/lib/nl-BE-DLixID0q.js +4 -4
- package/lib/nl-CeBqOv0i.js +4 -4
- package/lib/no-BR2xqD23.js +4 -4
- package/lib/pl-Dl77tRgW.js +4 -4
- package/lib/pt-BR--SxHOWht.js +4 -4
- package/lib/pt-D0bmI49-.js +4 -4
- package/lib/ro-HCkS3amY.js +4 -4
- package/lib/ru-BDMi1lvr.js +4 -4
- package/lib/sk-C4zNHeM6.js +4 -4
- package/lib/sl-BbQVw1S0.js +4 -4
- package/lib/sr-8d4sC8Hd.js +4 -4
- package/lib/sv-B0-e7r_0.js +4 -4
- package/lib/sw-Bo9F25Vc.js +4 -4
- package/lib/th-DDuVbwLh.js +4 -4
- package/lib/tr-CUwkgj2T.js +4 -4
- package/lib/uk-BPrGA4MJ.js +4 -4
- package/lib/ur-CIgS3emx.js +4 -4
- package/lib/{useCollectFieldsEndpoint-B5BY8wMf.js → useCollectFieldsEndpoint-CL_NKcs3.js} +6 -6
- package/lib/{useCollectFieldsEndpoint-B5BY8wMf.js.map → useCollectFieldsEndpoint-CL_NKcs3.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-D6KXYK3o.js → useEmailFirstExperiment-CN8Lyje9.js} +5 -5
- package/lib/{useEmailFirstExperiment-D6KXYK3o.js.map → useEmailFirstExperiment-CN8Lyje9.js.map} +1 -1
- package/lib/vi-JbWizd9m.js +4 -4
- package/lib/zh-DjbXrser.js +4 -4
- package/lib/zh-HK-DXcspp2Y.js +4 -4
- package/lib/zu-BzwZfIDF.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +5 -5
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +4 -4
- package/sheerid.js +490 -498
- package/sheerid.js.map +1 -1
- package/src/lib/intl/localized-messages/en-GB.json.d.ts +1 -1
- package/types-reference.zip +0 -0
- package/lib/StepCollectMilitaryStatusComponent-MKuoaXyI.js +0 -11
- package/lib/index-BmWeljTg.js +0 -11
- package/lib/index-BmWeljTg.js.map +0 -1
- package/lib/index-DK1GWv2N.js +0 -11
- package/lib/index-DK1GWv2N.js.map +0 -1
- package/lib/index-DMmuPDmt.js +0 -11
- package/lib/index-DMmuPDmt.js.map +0 -1
- package/lib/index-DrBrBqYT.js +0 -11
- package/lib/index-DrBrBqYT.js.map +0 -1
@@ -1,9 +1,9 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.115.0-alpha.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.115.0-alpha.10
|
4
|
+
* BUILD_TIMESTAMP: 1752173190450
|
5
|
+
* BUILD_DATE: Thu Jul 10 2025 18:46:30 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 821fab51bd71995854e86f7cdee77a5b89617244
|
7
7
|
*/
|
8
8
|
var FM = Object.defineProperty;
|
9
9
|
var $M = (e, t, r) => t in e ? FM(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
@@ -31,7 +31,7 @@ const KM = [
|
|
31
31
|
"DENTIST",
|
32
32
|
"PHARMACIST",
|
33
33
|
"OTHER_HEALTH_WORKER"
|
34
|
-
],
|
34
|
+
], P$ = [
|
35
35
|
"LICENSED_COSMETOLOGIST",
|
36
36
|
"LICENSED_REAL_ESTATE_AGENT",
|
37
37
|
"VETERINARIAN",
|
@@ -41,7 +41,7 @@ const KM = [
|
|
41
41
|
"ARCHITECT",
|
42
42
|
"GENERAL_CONTRACTOR",
|
43
43
|
"NUTRITION_PROFESSIONAL"
|
44
|
-
], XM = ["HOME_BUYER", "OTHER_MOVER"],
|
44
|
+
], XM = ["HOME_BUYER", "OTHER_MOVER"], R$ = [
|
45
45
|
"SNAP_BENEFITS",
|
46
46
|
"OTHER_GOVERNMENT_ASSISTANCE",
|
47
47
|
"COMMUNITY_ELIGIBILITY_PROVISION"
|
@@ -105,7 +105,7 @@ const QM = (e) => e && e.stack && e.message, bi = (...e) => {
|
|
105
105
|
locale: ve(() => o.programTheme.intl.locale),
|
106
106
|
isTestMode: ve(() => o.programTheme.isTestMode),
|
107
107
|
openOrgSearchEnabled: ve(() => o.programTheme.openOrgSearchEnabled),
|
108
|
-
jslibVerActual: ve(() => "2.115.0-alpha.
|
108
|
+
jslibVerActual: ve(() => "2.115.0-alpha.10", "?"),
|
109
109
|
...r
|
110
110
|
};
|
111
111
|
}
|
@@ -348,7 +348,7 @@ const jn = (e, t) => {
|
|
348
348
|
"image/jpg",
|
349
349
|
"image/jpeg",
|
350
350
|
"application/pdf"
|
351
|
-
],
|
351
|
+
], A$ = [".jpg", ".jpeg", ".png", ".pdf"], el = 3, v0 = "file", wr = "mockStep", xa = "mockSegment", Ca = "mockSubSegment", Ta = "mockErrorId", Pa = "mockRewardCode", Ra = "mockRedirectUrl", io = "mockConsumerInfoState", lo = "mockIdCheckLoopServiceType", co = "mockDocSelected", Aa = "mockPreviousStep", b0 = "thirdPartyLoopProvider", zr = "installPageUrl", Cu = "installType", I0 = "layout", Id = "externalUserId", ty = 9, S0 = 1, M0 = "www.sheerid.com", N$ = "https://www.sheerid.com/privacy-policy/", E0 = "SheerID", yp = "https://verify.sheerid.com/verification-support/feedback.html?token=", vp = "https://support.sheerid.com", w0 = 1e4, ry = 200, x0 = 6, C0 = [
|
352
352
|
"firstName",
|
353
353
|
"lastName",
|
354
354
|
"memberId",
|
@@ -384,7 +384,7 @@ const jn = (e, t) => {
|
|
384
384
|
}, P0 = (e) => {
|
385
385
|
const n = new URLSearchParams(e).get("trackingId");
|
386
386
|
return typeof n == "string" && n.length === 0 ? null : n;
|
387
|
-
},
|
387
|
+
}, O$ = (e) => {
|
388
388
|
let t = e;
|
389
389
|
try {
|
390
390
|
t = new URL(e).hostname;
|
@@ -392,7 +392,7 @@ const jn = (e, t) => {
|
|
392
392
|
A.warn(r);
|
393
393
|
}
|
394
394
|
return t.replace(/(www\.)?/, "");
|
395
|
-
},
|
395
|
+
}, D$ = (e) => {
|
396
396
|
const t = e.indexOf("@");
|
397
397
|
return t === -1 && A.error("Invalid email address"), e.slice(t + 1);
|
398
398
|
};
|
@@ -407,14 +407,14 @@ ${t}
|
|
407
407
|
`Custom validator for field '${e}' does not exist.
|
408
408
|
Has a custom validator been registered using the setCustomValidator method?`,
|
409
409
|
"getCustomValidator"
|
410
|
-
), null),
|
410
|
+
), null), k$ = (e) => za.indexOf(e) > -1, _$ = (e) => {
|
411
411
|
delete Oo[e];
|
412
412
|
const t = za.indexOf(e);
|
413
413
|
t !== -1 ? za.splice(t, 1) : A.error(
|
414
414
|
`Custom validator for field '${e}' has not been removed.`,
|
415
415
|
"removeCustomValidator"
|
416
416
|
);
|
417
|
-
}, rl = () => za,
|
417
|
+
}, rl = () => za, L$ = () => {
|
418
418
|
Oo = {}, za = [], A.info("Custom validators have been reset");
|
419
419
|
}, oy = (e) => {
|
420
420
|
if (s0.indexOf(e) < 0)
|
@@ -428,7 +428,7 @@ ${t}
|
|
428
428
|
}, sy = (e) => {
|
429
429
|
if (!Ii(e))
|
430
430
|
throw new Error(`Invalid locale ${e}, expected one of ${md.join(", ")}`);
|
431
|
-
}, Ii = (e) => md.indexOf(e) > -1,
|
431
|
+
}, Ii = (e) => md.indexOf(e) > -1, U$ = (e) => {
|
432
432
|
if (!(e && e.nodeType === Node.ELEMENT_NODE))
|
433
433
|
throw new Error(
|
434
434
|
`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`
|
@@ -440,7 +440,7 @@ ${t}
|
|
440
440
|
if (gp.indexOf(e) < 0 && t.indexOf(e) < 0)
|
441
441
|
throw new Error(`Expected valid field ID but received ${e}.
|
442
442
|
Valid FieldIds are [${gp.join(", ")}, ${t.join(", ")}]`);
|
443
|
-
},
|
443
|
+
}, j$ = (e) => {
|
444
444
|
if (mp.indexOf(e) < 0)
|
445
445
|
throw new Error(
|
446
446
|
`Expected valid try again step but received ${e}. Valid TryAgainSteps are [${mp.join(
|
@@ -1214,7 +1214,7 @@ const Ie = () => ee, Q0 = (e) => {
|
|
1214
1214
|
const t = Ie();
|
1215
1215
|
if (Object.prototype.hasOwnProperty.call(t, e))
|
1216
1216
|
return Ie()[e];
|
1217
|
-
},
|
1217
|
+
}, F$ = () => {
|
1218
1218
|
ee = { ...gy };
|
1219
1219
|
}, Rd = (e) => {
|
1220
1220
|
try {
|
@@ -2719,7 +2719,7 @@ const Iy = /* @__PURE__ */ Cr(Fa), Ap = {
|
|
2719
2719
|
case "en-GB":
|
2720
2720
|
t = await import(
|
2721
2721
|
/* webpackChunkName: "messages_en-GB" */
|
2722
|
-
"./en-GB-
|
2722
|
+
"./en-GB-DXa6bdA_.js"
|
2723
2723
|
).then((r) => r.default);
|
2724
2724
|
break;
|
2725
2725
|
case "en-US":
|
@@ -3379,9 +3379,9 @@ const Iy = /* @__PURE__ */ Cr(Fa), Ap = {
|
|
3379
3379
|
// Partial<ProgramTheme> and update the places this is used.
|
3380
3380
|
});
|
3381
3381
|
let xi = {};
|
3382
|
-
const
|
3382
|
+
const $$ = (e, t) => {
|
3383
3383
|
A.log(`overrideValidator registering ${t} for '${e}'`), xi[e] = t;
|
3384
|
-
}, _E = (e) => xi[e] ? (A.log(`getOverridenValidator returning '${e}'`), xi[e]) : null,
|
3384
|
+
}, _E = (e) => xi[e] ? (A.log(`getOverridenValidator returning '${e}'`), xi[e]) : null, B$ = () => {
|
3385
3385
|
xi = {}, A.info("Overridden validators have been reset");
|
3386
3386
|
}, on = 10, LE = 16, UE = 1900, jE = 3e3, Dp = 50, Tc = 256, Pc = 4096, FE = /^\+(?:[0-9] ?){6,14}[0-9]$/, $E = [
|
3387
3387
|
/^\+?0*\d{10,}(x[0-9]{0,5})?$/,
|
@@ -3670,7 +3670,7 @@ const B$ = (e, t) => {
|
|
3670
3670
|
}, Oy = () => `${Ie().restApi.serviceUrl}${Ie().restApi.resources.verification}`, Cw = (e) => `${Oy()}${e}`, Tw = () => Oy(), Pw = (e, t = null) => {
|
3671
3671
|
const r = `${Ie().restApi.serviceUrl}${Ie().restApi.resources.program.base}${e}/${Ie().restApi.resources.program.theme}`;
|
3672
3672
|
return t ? `${r}?locale=${t}` : `${r}`;
|
3673
|
-
}, Rw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, Aw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, Nw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, Ow = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`,
|
3673
|
+
}, Rw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, Aw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, Nw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, Ow = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, V$ = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Dy = () => "2.115.0-alpha.10", Dw = () => window.location.href, ky = () => {
|
3674
3674
|
try {
|
3675
3675
|
const e = new URLSearchParams(window.location.search);
|
3676
3676
|
if (e.get(zr))
|
@@ -3692,7 +3692,7 @@ const B$ = (e, t) => {
|
|
3692
3692
|
A.error(e, "getInstallType");
|
3693
3693
|
}
|
3694
3694
|
return window.sheerIdInstallType || "cdn_no_iframe";
|
3695
|
-
},
|
3695
|
+
}, H$ = () => `${Ie().restApi.serviceUrl}rest/v2/help/verificationHelp`, Ur = (e) => {
|
3696
3696
|
try {
|
3697
3697
|
const t = new URLSearchParams(window.location.search);
|
3698
3698
|
if (t.get(e))
|
@@ -3727,7 +3727,7 @@ const B$ = (e, t) => {
|
|
3727
3727
|
const t = Ae(e), r = _y();
|
3728
3728
|
return r && (t.consolationRewardCode = r), t;
|
3729
3729
|
}, Hw = (e) => Ae(e), Uy = async (e, t) => {
|
3730
|
-
const { allMockedResponses: r } = await Promise.resolve().then(() =>
|
3730
|
+
const { allMockedResponses: r } = await Promise.resolve().then(() => QF);
|
3731
3731
|
let n = Ie().mockResponse || r[e];
|
3732
3732
|
if (e && n)
|
3733
3733
|
switch (A.info(`getOverriddenMock: mocking ${e} response`), e) {
|
@@ -4882,7 +4882,7 @@ const Uu = /* @__PURE__ */ Cr(kC), tv = async (e, t) => {
|
|
4882
4882
|
t = P0(r);
|
4883
4883
|
}
|
4884
4884
|
return t;
|
4885
|
-
},
|
4885
|
+
}, z$ = {
|
4886
4886
|
convert: jC,
|
4887
4887
|
convertByVerificationId: tv,
|
4888
4888
|
convertByTrackingId: _C,
|
@@ -5340,7 +5340,7 @@ function ET() {
|
|
5340
5340
|
async function wT(e, t, r) {
|
5341
5341
|
return oy(e), Ue[e] ? ST(e, t, r) : Promise.reject(new Error(`Unknown step ${e}`));
|
5342
5342
|
}
|
5343
|
-
async function
|
5343
|
+
async function G$(e, t, r) {
|
5344
5344
|
if (Ue[t]) {
|
5345
5345
|
const n = await es(
|
5346
5346
|
Nw(e, t),
|
@@ -5373,7 +5373,7 @@ function Pi(e) {
|
|
5373
5373
|
t
|
5374
5374
|
);
|
5375
5375
|
}
|
5376
|
-
function
|
5376
|
+
function W$(e = { origin: "*", interval: 100 }) {
|
5377
5377
|
if (window.self !== window.top) {
|
5378
5378
|
let t = document.body.offsetHeight;
|
5379
5379
|
const r = window.setInterval(() => {
|
@@ -5453,7 +5453,7 @@ function PT() {
|
|
5453
5453
|
}));
|
5454
5454
|
return e;
|
5455
5455
|
}
|
5456
|
-
const jd = (e) => (A0(e), sn.on(e.name, e.callback), PT()),
|
5456
|
+
const jd = (e) => (A0(e), sn.on(e.name, e.callback), PT()), q$ = (e) => (ly(e), (t) => {
|
5457
5457
|
sn.emit(e, t);
|
5458
5458
|
}), RT = () => {
|
5459
5459
|
let e = 0;
|
@@ -5577,7 +5577,7 @@ function Ri(e) {
|
|
5577
5577
|
"email"
|
5578
5578
|
]);
|
5579
5579
|
}
|
5580
|
-
const
|
5580
|
+
const K$ = (e) => {
|
5581
5581
|
let t = "{Company}";
|
5582
5582
|
try {
|
5583
5583
|
if (t = e.intl.messages.companyName, !(typeof t == "string" && t.length > 0))
|
@@ -6948,7 +6948,7 @@ const eP = (e) => {
|
|
6948
6948
|
Object.assign(Uo, r), A.info("Added metadata: ", r), A.info("Full metadata: ", Uo);
|
6949
6949
|
} else
|
6950
6950
|
A.error("Metadata has not been updated. See previous error(s)", "setMetadata");
|
6951
|
-
},
|
6951
|
+
}, Y$ = () => {
|
6952
6952
|
Uo = { ...mv };
|
6953
6953
|
}, pm = () => Object.keys(Uo).length > 0 ? Ae(Uo) : void 0, hv = (e) => async (t, r, n, a, o) => {
|
6954
6954
|
const s = {
|
@@ -7364,7 +7364,7 @@ const jo = () => (Ts || (Ts = Ev(
|
|
7364
7364
|
sP,
|
7365
7365
|
// @ts-ignore
|
7366
7366
|
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
|
7367
|
-
), A.init(Ts)), Ts),
|
7367
|
+
), A.init(Ts)), Ts), Z$ = () => jo().dispatch({ type: "RESET_STATE" }), X$ = () => {
|
7368
7368
|
Ie().mockResponse && jo().dispatch({
|
7369
7369
|
verificationResponse: Ie().mockResponse,
|
7370
7370
|
type: "VERIFICATION_RESPONSE"
|
@@ -7386,7 +7386,7 @@ const jo = () => (Ts || (Ts = Ev(
|
|
7386
7386
|
s();
|
7387
7387
|
}
|
7388
7388
|
}) : s();
|
7389
|
-
},
|
7389
|
+
}, J$ = () => {
|
7390
7390
|
const e = Eo.getState();
|
7391
7391
|
e.isLoading ? jd({
|
7392
7392
|
name: "ON_VERIFICATION_READY",
|
@@ -7396,13 +7396,13 @@ const jo = () => (Ts || (Ts = Ev(
|
|
7396
7396
|
}) : Fu(Eo.dispatch)(e.verificationResponse);
|
7397
7397
|
};
|
7398
7398
|
let Ai = {};
|
7399
|
-
const
|
7399
|
+
const Q$ = (e, t) => {
|
7400
7400
|
A.log(`overrideComponent registering ${e}`), Ai[e] = t;
|
7401
|
-
}, iP = (e) => Ai[e] ? (A.log(`getOverridenComponent returning ${e}`), Ai[e]) : null,
|
7401
|
+
}, iP = (e) => Ai[e] ? (A.log(`getOverridenComponent returning ${e}`), Ai[e]) : null, e3 = () => {
|
7402
7402
|
Ai = {};
|
7403
|
-
},
|
7403
|
+
}, t3 = (e, t, r) => st(e, (n) => {
|
7404
7404
|
Object.keys(e).filter((a) => !!e[a] && a.includes("file")).map((a) => e[a]).concat(t, Array(el).fill(void 0)).splice(0, 3).forEach((a, o) => n[`file${o + 1}`] = a), r ? n.erroredFileNames = r : n.erroredFileNames = void 0;
|
7405
|
-
}),
|
7405
|
+
}), r3 = (e, t) => {
|
7406
7406
|
if (![1, 2, 3].includes(t))
|
7407
7407
|
throw new Error(
|
7408
7408
|
`Expected either 1, 2 or 3 for argument "fileNumber", but received ${t}`
|
@@ -7410,7 +7410,7 @@ const e3 = (e, t) => {
|
|
7410
7410
|
return st(e, (r) => {
|
7411
7411
|
Object.keys(e).filter((n) => n.includes("file") && !n.includes(t.toString())).map((n) => e[n]).concat(Array(el).fill(void 0)).splice(0, 3).forEach((n, a) => r[`file${a + 1}`] = n);
|
7412
7412
|
});
|
7413
|
-
},
|
7413
|
+
}, n3 = (e) => st(e, (t) => {
|
7414
7414
|
for (let r = 0; r < el; r++)
|
7415
7415
|
t[`file${r + 1}`] = void 0;
|
7416
7416
|
});
|
@@ -12896,7 +12896,7 @@ const ed = (e) => (t) => {
|
|
12896
12896
|
} : rr.organization, r.organization && r.organization.source !== void 0 && (a.organization.source = r.organization.source);
|
12897
12897
|
});
|
12898
12898
|
t.updateViewModel(n);
|
12899
|
-
},
|
12899
|
+
}, o3 = (e) => {
|
12900
12900
|
const t = e.viewModel, r = tl(), n = st(t, (a) => {
|
12901
12901
|
Object.keys(t).forEach((o) => {
|
12902
12902
|
r.has(o) && (a[o] = r.get(o));
|
@@ -12910,7 +12910,7 @@ const ed = (e) => (t) => {
|
|
12910
12910
|
o[e] && (o[e] = Qn(e, t, r.formValidationOptions));
|
12911
12911
|
});
|
12912
12912
|
Ef(a, r);
|
12913
|
-
},
|
12913
|
+
}, s3 = (e, t) => ve(() => t.length === 1) && ve(() => t[0]) === "US" || ve(() => e.value === "US") || ve(() => e.value === void 0), ca = (e, t, r) => t ? e.formatHTMLMessage({
|
12914
12914
|
id: t,
|
12915
12915
|
defaultMessage: r ? r[t] : "status"
|
12916
12916
|
}) : "", cD = (e, t = void 0) => {
|
@@ -12921,7 +12921,7 @@ const ed = (e) => (t) => {
|
|
12921
12921
|
label: ca(e, n, gd)
|
12922
12922
|
});
|
12923
12923
|
}), r;
|
12924
|
-
},
|
12924
|
+
}, i3 = (e, t) => {
|
12925
12925
|
const r = [];
|
12926
12926
|
return t.forEach((n) => {
|
12927
12927
|
r.push({
|
@@ -12929,7 +12929,7 @@ const ed = (e) => (t) => {
|
|
12929
12929
|
label: ca(e, n, Yg)
|
12930
12930
|
});
|
12931
12931
|
}), r;
|
12932
|
-
},
|
12932
|
+
}, l3 = (e, t) => {
|
12933
12933
|
const r = [];
|
12934
12934
|
return t.forEach((n) => {
|
12935
12935
|
r.push({
|
@@ -12937,7 +12937,7 @@ const ed = (e) => (t) => {
|
|
12937
12937
|
label: ca(e, n, Kg)
|
12938
12938
|
});
|
12939
12939
|
}), r;
|
12940
|
-
},
|
12940
|
+
}, c3 = (e, t) => {
|
12941
12941
|
const r = [];
|
12942
12942
|
return t.forEach((n) => {
|
12943
12943
|
r.push({
|
@@ -12970,7 +12970,7 @@ const ed = (e) => (t) => {
|
|
12970
12970
|
}, rs = (e) => {
|
12971
12971
|
const t = bd("submitButton");
|
12972
12972
|
e.key === "Enter" && t && t.click();
|
12973
|
-
},
|
12973
|
+
}, u3 = (e) => {
|
12974
12974
|
e.key === "Tab" && !e.shiftKey && (e.preventDefault(), ey("organization"));
|
12975
12975
|
}, hD = (e, t, r, n) => {
|
12976
12976
|
const a = HE(
|
@@ -13027,14 +13027,14 @@ const ed = (e) => (t) => {
|
|
13027
13027
|
id: `states.${n}`,
|
13028
13028
|
defaultMessage: n
|
13029
13029
|
})
|
13030
|
-
})),
|
13030
|
+
})), d3 = (e, t, r) => (A.info(
|
13031
13031
|
"produceDraftViewModelWithRequiredFields received. This method is now deprecated and performs a noop, returning previousViewModel",
|
13032
13032
|
{
|
13033
13033
|
previousModel: e,
|
13034
13034
|
newRequiredFields: t,
|
13035
13035
|
conditionalRequiredFieldKeys: r
|
13036
13036
|
}
|
13037
|
-
), e),
|
13037
|
+
), e), f3 = (e, t) => st(e, (r) => {
|
13038
13038
|
C0.forEach((n) => {
|
13039
13039
|
t.some((a) => a.key === n) ? r[n] = e[n] !== void 0 ? e[n] : "" : delete r[n];
|
13040
13040
|
});
|
@@ -13044,9 +13044,9 @@ const ed = (e) => (t) => {
|
|
13044
13044
|
id: `locales.${n}`,
|
13045
13045
|
defaultMessage: n
|
13046
13046
|
})
|
13047
|
-
})),
|
13047
|
+
})), p3 = (e) => e.length > 0 ? e[0] : { value: "US", label: "United States" }, SD = (e, t, r) => st(e, (n) => {
|
13048
13048
|
n[t] = r;
|
13049
|
-
}),
|
13049
|
+
}), m3 = (e, t, r) => {
|
13050
13050
|
const n = "https://support-preview.sheerid.net";
|
13051
13051
|
let o = "https://support.sheerid.com";
|
13052
13052
|
const { host: s } = new URL(window.location.href);
|
@@ -13354,7 +13354,7 @@ const fI = ({
|
|
13354
13354
|
) }) })
|
13355
13355
|
] })
|
13356
13356
|
}
|
13357
|
-
),
|
13357
|
+
), h3 = ({ verificationService: e }) => {
|
13358
13358
|
const t = e.verificationResponse, r = pI[t.thirdPartyLoopProvider] || void 0;
|
13359
13359
|
return r ? /* @__PURE__ */ u.jsx(
|
13360
13360
|
fI,
|
@@ -13419,7 +13419,7 @@ const fI = ({
|
|
13419
13419
|
login: /* @__PURE__ */ u.jsx(P, { id: "step.sso.login", defaultMessage: "Sign in to my school" }),
|
13420
13420
|
cancel: /* @__PURE__ */ u.jsx(P, { id: "step.sso.cancel", defaultMessage: "Upload Proof of Enrollment" }),
|
13421
13421
|
subtitle2: /* @__PURE__ */ u.jsx(P, { id: "step.sso.subtitle2", defaultMessage: "Can't sign in to your school?" })
|
13422
|
-
},
|
13422
|
+
}, g3 = ({ verificationService: e }) => /* @__PURE__ */ u.jsx(
|
13423
13423
|
fI,
|
13424
13424
|
{
|
13425
13425
|
verificationService: e,
|
@@ -13723,55 +13723,55 @@ const fI = ({
|
|
13723
13723
|
}, td = ze(WD), qD = {
|
13724
13724
|
StepPendingComponent: LD,
|
13725
13725
|
StepErrorComponent: td,
|
13726
|
-
StepStudentPersonalInfoComponent: te.lazy(() => import("./index-
|
13727
|
-
StepOverrideComponent: te.lazy(() => import("./index-
|
13728
|
-
StepAgePersonalInfoComponent: te.lazy(() => import("./index-
|
13729
|
-
StepSeniorPersonalInfoComponent: te.lazy(() => import("./index-
|
13726
|
+
StepStudentPersonalInfoComponent: te.lazy(() => import("./index-BNyAG80R.js")),
|
13727
|
+
StepOverrideComponent: te.lazy(() => import("./index-DRi5mxxi.js")),
|
13728
|
+
StepAgePersonalInfoComponent: te.lazy(() => import("./index-DRa4CiZE.js")),
|
13729
|
+
StepSeniorPersonalInfoComponent: te.lazy(() => import("./index-DRa4CiZE.js")),
|
13730
13730
|
StepActiveMilitaryPersonalInfoComponent: te.lazy(
|
13731
|
-
() => Promise.resolve().then(() =>
|
13731
|
+
() => Promise.resolve().then(() => XF)
|
13732
13732
|
),
|
13733
13733
|
StepCollectMilitaryStatusComponent: te.lazy(
|
13734
|
-
() => import("./StepCollectMilitaryStatusComponent-
|
13734
|
+
() => import("./StepCollectMilitaryStatusComponent-I8wX1jYX.js")
|
13735
13735
|
),
|
13736
13736
|
StepInactiveMilitaryPersonalInfoComponent: te.lazy(
|
13737
|
-
() => import("./StepInactiveMilitaryPersonalInfoComponent-
|
13737
|
+
() => import("./StepInactiveMilitaryPersonalInfoComponent-BYDyAl1f.js")
|
13738
13738
|
),
|
13739
13739
|
StepDriverLicensePersonalInfoComponent: te.lazy(
|
13740
|
-
() => Promise.resolve().then(() =>
|
13740
|
+
() => Promise.resolve().then(() => a$)
|
13741
13741
|
),
|
13742
|
-
StepEmploymentPersonalInfoComponent: te.lazy(() => import("./index-
|
13742
|
+
StepEmploymentPersonalInfoComponent: te.lazy(() => import("./index-BYQdBIEk.js")),
|
13743
13743
|
StepFirstResponderPersonalInfoComponent: te.lazy(
|
13744
|
-
() => import("./index-
|
13744
|
+
() => import("./index-Bj32y4xd.js")
|
13745
13745
|
),
|
13746
13746
|
StepGeneralIdentityPersonalInfoComponent: te.lazy(
|
13747
|
-
() => Promise.resolve().then(() =>
|
13747
|
+
() => Promise.resolve().then(() => o$)
|
13748
13748
|
),
|
13749
13749
|
StepHybridIdentityPersonalInfoComponent: te.lazy(
|
13750
|
-
() => Promise.resolve().then(() =>
|
13750
|
+
() => Promise.resolve().then(() => s$)
|
13751
13751
|
),
|
13752
|
-
StepIDCheckLoopComponent: te.lazy(() => import("./index-
|
13752
|
+
StepIDCheckLoopComponent: te.lazy(() => import("./index-6IouBip9.js")),
|
13753
13753
|
StepLicensedProfessionalPersonalInfoComponent: te.lazy(
|
13754
|
-
() => import("./index-
|
13754
|
+
() => import("./index-CsGNlf_c.js")
|
13755
13755
|
),
|
13756
|
-
StepLowIncomePersonalInfoComponent: te.lazy(() => import("./index-
|
13756
|
+
StepLowIncomePersonalInfoComponent: te.lazy(() => import("./index-B7GBQmdV.js")),
|
13757
13757
|
StepMedicalProfessionalPersonalInfoComponent: te.lazy(
|
13758
|
-
() => import("./index-
|
13758
|
+
() => import("./index-DHomcPj2.js")
|
13759
13759
|
),
|
13760
|
-
StepMemberPersonalInfoComponent: te.lazy(() => import("./index-
|
13761
|
-
StepConsolationComponent: te.lazy(() => import("./index-
|
13762
|
-
StepDocUploadComponent: te.lazy(() => import("./index-
|
13763
|
-
StepEmailLoopComponent: te.lazy(() => import("./index-
|
13764
|
-
StepPendingEmailLoopComponent: te.lazy(() => import("./EmailLoopPending-
|
13765
|
-
StepMoverPersonalInfoComponent: te.lazy(() => import("./index-
|
13766
|
-
StepSMSLoopComponent: te.lazy(() => import("./index-
|
13767
|
-
StepSocialSecurity: te.lazy(() => import("./index
|
13768
|
-
StepSSOComponent: te.lazy(() => import("./index-
|
13769
|
-
StepSuccessComponent: te.lazy(() => import("./index-
|
13770
|
-
StepTeacherPersonalInfoComponent: te.lazy(() => import("./index-
|
13771
|
-
StepCompleteAuthentication: te.lazy(() => import("./index-
|
13772
|
-
StepCollectIdentifierComponent: te.lazy(() => import("./index-
|
13773
|
-
StepCollectPersonalInfo: te.lazy(() => import("./index-
|
13774
|
-
StepThirdPartyLoopComponent: te.lazy(() => import("./index-
|
13760
|
+
StepMemberPersonalInfoComponent: te.lazy(() => import("./index-B9KCEPem.js")),
|
13761
|
+
StepConsolationComponent: te.lazy(() => import("./index-DF6z6wUc.js")),
|
13762
|
+
StepDocUploadComponent: te.lazy(() => import("./index-CohTrjrW.js")),
|
13763
|
+
StepEmailLoopComponent: te.lazy(() => import("./index-CZs-0ZMY.js")),
|
13764
|
+
StepPendingEmailLoopComponent: te.lazy(() => import("./EmailLoopPending-Cuwsf4xZ.js")),
|
13765
|
+
StepMoverPersonalInfoComponent: te.lazy(() => import("./index-DEbEtRRu.js")),
|
13766
|
+
StepSMSLoopComponent: te.lazy(() => import("./index-DkgNdFog.js")),
|
13767
|
+
StepSocialSecurity: te.lazy(() => import("./index-BwoL3GOR.js")),
|
13768
|
+
StepSSOComponent: te.lazy(() => import("./index-CnOAaaK6.js")),
|
13769
|
+
StepSuccessComponent: te.lazy(() => import("./index-C90dmv4Y.js")),
|
13770
|
+
StepTeacherPersonalInfoComponent: te.lazy(() => import("./index-BAiuv6Kt.js")),
|
13771
|
+
StepCompleteAuthentication: te.lazy(() => import("./index-CdjuV44S.js")),
|
13772
|
+
StepCollectIdentifierComponent: te.lazy(() => import("./index-CWMKTpHR.js")),
|
13773
|
+
StepCollectPersonalInfo: te.lazy(() => import("./index-B_A4tkWw.js")),
|
13774
|
+
StepThirdPartyLoopComponent: te.lazy(() => import("./index-BL_D7Y6i.js"))
|
13775
13775
|
}, Ye = (e) => {
|
13776
13776
|
A.info("getComponent", e);
|
13777
13777
|
const t = iP(e);
|
@@ -16202,7 +16202,7 @@ function ZI(e, t) {
|
|
16202
16202
|
t.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[a]) && (r[n[a]] = e[n[a]]);
|
16203
16203
|
return r;
|
16204
16204
|
}
|
16205
|
-
function
|
16205
|
+
function y3(e, t, r, n) {
|
16206
16206
|
function a(o) {
|
16207
16207
|
return o instanceof r ? o : new r(function(s) {
|
16208
16208
|
s(o);
|
@@ -16229,7 +16229,7 @@ function v3(e, t, r, n) {
|
|
16229
16229
|
c((n = n.apply(e, t || [])).next());
|
16230
16230
|
});
|
16231
16231
|
}
|
16232
|
-
function
|
16232
|
+
function v3(e, t) {
|
16233
16233
|
var r = { label: 0, sent: function() {
|
16234
16234
|
if (o[0] & 1) throw o[1];
|
16235
16235
|
return o[1];
|
@@ -16306,7 +16306,7 @@ function aL(e, t) {
|
|
16306
16306
|
}
|
16307
16307
|
return o;
|
16308
16308
|
}
|
16309
|
-
function
|
16309
|
+
function b3() {
|
16310
16310
|
for (var e = [], t = 0; t < arguments.length; t++)
|
16311
16311
|
e = e.concat(aL(arguments[t]));
|
16312
16312
|
return e;
|
@@ -16762,7 +16762,7 @@ var nS = k.forwardRef(function(e, t) {
|
|
16762
16762
|
return k.createElement(rc, tr({}, e, { ref: t, sideCar: $L }));
|
16763
16763
|
});
|
16764
16764
|
nS.classNames = rc.classNames;
|
16765
|
-
var _f = "Popover", [aS,
|
16765
|
+
var _f = "Popover", [aS, I3] = bI(_f, [
|
16766
16766
|
jI
|
16767
16767
|
]), as = jI(), [BL, ua] = aS(_f), oS = (e) => {
|
16768
16768
|
const {
|
@@ -16821,7 +16821,7 @@ var iS = "PopoverTrigger", lS = k.forwardRef(
|
|
16821
16821
|
}
|
16822
16822
|
);
|
16823
16823
|
lS.displayName = iS;
|
16824
|
-
var HL = "PopoverPortal", [
|
16824
|
+
var HL = "PopoverPortal", [S3, zL] = aS(HL, {
|
16825
16825
|
forceMount: void 0
|
16826
16826
|
}), Ya = "PopoverContent", cS = k.forwardRef(
|
16827
16827
|
(e, t) => {
|
@@ -17095,7 +17095,7 @@ const eU = ({ message: e, trigger: t, initialVisibility: r = !1 }) => /* @__PURE
|
|
17095
17095
|
const e = ZN(), t = cU();
|
17096
17096
|
return { ...e, ...t };
|
17097
17097
|
};
|
17098
|
-
function
|
17098
|
+
function M3(e) {
|
17099
17099
|
return Lf()[e];
|
17100
17100
|
}
|
17101
17101
|
const Gt = {
|
@@ -17112,7 +17112,7 @@ const Gt = {
|
|
17112
17112
|
formFont: "var(--sheerid-font-family-sans)",
|
17113
17113
|
cssVariables: null,
|
17114
17114
|
customStyles: null
|
17115
|
-
}, hS = te.createContext(Gt),
|
17115
|
+
}, hS = te.createContext(Gt), uU = ({
|
17116
17116
|
programTheme: e,
|
17117
17117
|
children: t
|
17118
17118
|
}) => {
|
@@ -17154,7 +17154,7 @@ const Gt = {
|
|
17154
17154
|
] })
|
17155
17155
|
}
|
17156
17156
|
);
|
17157
|
-
},
|
17157
|
+
}, dU = ({
|
17158
17158
|
locale: e,
|
17159
17159
|
messages: t,
|
17160
17160
|
programTheme: r,
|
@@ -17209,7 +17209,7 @@ const Gt = {
|
|
17209
17209
|
locale: "en",
|
17210
17210
|
messages: d,
|
17211
17211
|
textComponent: gI,
|
17212
|
-
children: /* @__PURE__ */ u.jsx(
|
17212
|
+
children: /* @__PURE__ */ u.jsx(uU, { programTheme: r, children: /* @__PURE__ */ u.jsx(
|
17213
17213
|
"div",
|
17214
17214
|
{
|
17215
17215
|
className: `${AR.isRtlLang(lE(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
@@ -17237,7 +17237,7 @@ const Gt = {
|
|
17237
17237
|
e
|
17238
17238
|
)
|
17239
17239
|
);
|
17240
|
-
},
|
17240
|
+
}, fU = () => {
|
17241
17241
|
let e = null;
|
17242
17242
|
document.addEventListener("keydown", (t) => {
|
17243
17243
|
if (!(t.key === "Tab"))
|
@@ -17247,19 +17247,19 @@ const Gt = {
|
|
17247
17247
|
}), window.addEventListener("message", (t) => {
|
17248
17248
|
t.data.focusOn === "lastElement" && e && e.focus();
|
17249
17249
|
}), Pi({ type: "focus", focusOn: "firstElement" });
|
17250
|
-
},
|
17250
|
+
}, pU = () => {
|
17251
17251
|
window.addEventListener("message", (e) => {
|
17252
|
-
e.data.isInLightBox === "true" &&
|
17252
|
+
e.data.isInLightBox === "true" && fU();
|
17253
17253
|
});
|
17254
17254
|
};
|
17255
|
-
class
|
17255
|
+
class mU extends te.Component {
|
17256
17256
|
constructor(r) {
|
17257
17257
|
super(r);
|
17258
17258
|
Xe(this, "verificationService");
|
17259
17259
|
A.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? A.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : A.info("No trackingId to associate with the verification request");
|
17260
17260
|
}
|
17261
17261
|
componentDidMount() {
|
17262
|
-
if (z0(),
|
17262
|
+
if (z0(), pU(), UC((r) => {
|
17263
17263
|
switch (r.data.action) {
|
17264
17264
|
case "setViewModel":
|
17265
17265
|
hl(r.data.viewModel, {
|
@@ -17312,7 +17312,7 @@ class hU extends te.Component {
|
|
17312
17312
|
`NewVerificationComponent: locale: ${n}, currentStep: ${i.currentStep}, messages: `,
|
17313
17313
|
a
|
17314
17314
|
), /* @__PURE__ */ u.jsx(
|
17315
|
-
|
17315
|
+
dU,
|
17316
17316
|
{
|
17317
17317
|
locale: n,
|
17318
17318
|
messages: a,
|
@@ -17323,9 +17323,9 @@ class hU extends te.Component {
|
|
17323
17323
|
);
|
17324
17324
|
}
|
17325
17325
|
}
|
17326
|
-
const
|
17326
|
+
const hU = (e, t) => ({
|
17327
17327
|
...e
|
17328
|
-
}),
|
17328
|
+
}), gU = (e, t) => ({
|
17329
17329
|
fetchNewVerificationRequest: hv(e),
|
17330
17330
|
fetchExistingVerificationRequest: gv(e),
|
17331
17331
|
updateViewModel: Bd(e),
|
@@ -17334,25 +17334,25 @@ const gU = (e, t) => ({
|
|
17334
17334
|
updateFieldValidationErrors: Sv(e),
|
17335
17335
|
submitStep: Mv(e),
|
17336
17336
|
resetState: Iv(e)
|
17337
|
-
}),
|
17337
|
+
}), yU = (e, t, r) => ({
|
17338
17338
|
verificationService: {
|
17339
17339
|
...e,
|
17340
17340
|
...t
|
17341
17341
|
},
|
17342
17342
|
messages: e.messages,
|
17343
17343
|
...r
|
17344
|
-
}),
|
17344
|
+
}), vU = SR(
|
17345
|
+
hU,
|
17345
17346
|
gU,
|
17346
|
-
yU
|
17347
|
-
|
17348
|
-
)(hU), IU = (e) => ({
|
17347
|
+
yU
|
17348
|
+
)(mU), bU = (e) => ({
|
17349
17349
|
kind: "program",
|
17350
17350
|
key: e
|
17351
|
-
}),
|
17351
|
+
}), IU = ({ programId: e, children: t }) => /* @__PURE__ */ u.jsx(
|
17352
17352
|
YN,
|
17353
17353
|
{
|
17354
17354
|
clientSideID: "6530161f9ff41712a2eef741",
|
17355
|
-
context:
|
17355
|
+
context: bU(e),
|
17356
17356
|
flags: mS,
|
17357
17357
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
17358
17358
|
options: { streaming: !1 },
|
@@ -17375,9 +17375,9 @@ const E3 = te.forwardRef(
|
|
17375
17375
|
}), Gs.dispatch({ programId: e, type: "PROGRAM_ID" }), r && (r.current = {
|
17376
17376
|
refresh: te.useCallback(() => Gs.dispatch({ type: "FORCE_UPDATE" }), []),
|
17377
17377
|
reset: te.useCallback(() => Gs.dispatch({ type: "RESET_STATE" }), [])
|
17378
|
-
}), /* @__PURE__ */ u.jsx(MR, { store: Gs, children: /* @__PURE__ */ u.jsx(
|
17378
|
+
}), /* @__PURE__ */ u.jsx(MR, { store: Gs, children: /* @__PURE__ */ u.jsx(IU, { programId: e, children: /* @__PURE__ */ u.jsx(vU, { programId: e, trackingId: t }) }) });
|
17379
17379
|
}
|
17380
|
-
),
|
17380
|
+
), SU = ({
|
17381
17381
|
id: e,
|
17382
17382
|
isErrored: t,
|
17383
17383
|
className: r = void 0,
|
@@ -17410,7 +17410,7 @@ const E3 = te.forwardRef(
|
|
17410
17410
|
...c
|
17411
17411
|
}
|
17412
17412
|
);
|
17413
|
-
}, Wo =
|
17413
|
+
}, Wo = SU, MU = (e) => !te.isValidElement(e) && e === "", nc = ({
|
17414
17414
|
text: e,
|
17415
17415
|
htmlForLabel: t,
|
17416
17416
|
id: r,
|
@@ -17420,7 +17420,7 @@ const E3 = te.forwardRef(
|
|
17420
17420
|
}) => /* @__PURE__ */ u.jsx("label", { htmlFor: t, children: /* @__PURE__ */ u.jsxs("div", { id: r, className: `sid-field__label sid-l-space-btm-sm ${n}`, children: [
|
17421
17421
|
/* @__PURE__ */ u.jsxs("span", { className: "sid-field__label-name", children: [
|
17422
17422
|
e,
|
17423
|
-
a && !
|
17423
|
+
a && !MU(e) && /* @__PURE__ */ u.jsx("span", { "aria-hidden": "true", className: "sid-field__label--required", children: "*" })
|
17424
17424
|
] }),
|
17425
17425
|
o && /* @__PURE__ */ u.jsx("div", { className: "sid-field__label-explanation", children: o })
|
17426
17426
|
] }) });
|
@@ -17430,7 +17430,7 @@ nc.defaultProps = {
|
|
17430
17430
|
isRequired: !0,
|
17431
17431
|
children: null
|
17432
17432
|
};
|
17433
|
-
const gS = (e) => `sid-${Et(e)}-label`,
|
17433
|
+
const gS = (e) => `sid-${Et(e)}-label`, EU = (e) => `sid-${Et(e)}-error`, os = ({
|
17434
17434
|
fieldId: e,
|
17435
17435
|
label: t,
|
17436
17436
|
errorMessage: r,
|
@@ -17440,7 +17440,7 @@ const gS = (e) => `sid-${Et(e)}-label`, wU = (e) => `sid-${Et(e)}-error`, os = (
|
|
17440
17440
|
explanation: s = void 0,
|
17441
17441
|
containerId: i = void 0
|
17442
17442
|
}) => {
|
17443
|
-
const l = gS(e), c =
|
17443
|
+
const l = gS(e), c = EU(e), d = i || `sid-${Et(e)}`;
|
17444
17444
|
return /* @__PURE__ */ u.jsxs("div", { className: `sid-field ${d}`, children: [
|
17445
17445
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-md" }),
|
17446
17446
|
/* @__PURE__ */ u.jsx(
|
@@ -17496,7 +17496,7 @@ const gS = (e) => `sid-${Et(e)}-label`, wU = (e) => `sid-${Et(e)}-error`, os = (
|
|
17496
17496
|
)
|
17497
17497
|
}
|
17498
17498
|
);
|
17499
|
-
},
|
17499
|
+
}, wU = ({
|
17500
17500
|
value: e,
|
17501
17501
|
isErrored: t,
|
17502
17502
|
onChange: r,
|
@@ -17526,16 +17526,16 @@ const gS = (e) => `sid-${Et(e)}-label`, wU = (e) => `sid-${Et(e)}-error`, os = (
|
|
17526
17526
|
autoComplete: "street-address"
|
17527
17527
|
}
|
17528
17528
|
);
|
17529
|
-
}, Uf = ze(
|
17530
|
-
var yS = { exports: {} },
|
17529
|
+
}, Uf = ze(wU);
|
17530
|
+
var yS = { exports: {} }, xU = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", CU = xU, TU = CU;
|
17531
17531
|
function vS() {
|
17532
17532
|
}
|
17533
17533
|
function bS() {
|
17534
17534
|
}
|
17535
17535
|
bS.resetWarningCache = vS;
|
17536
|
-
var
|
17536
|
+
var PU = function() {
|
17537
17537
|
function e(n, a, o, s, i, l) {
|
17538
|
-
if (l !==
|
17538
|
+
if (l !== TU) {
|
17539
17539
|
var c = new Error(
|
17540
17540
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
17541
17541
|
);
|
@@ -17571,9 +17571,9 @@ var RU = function() {
|
|
17571
17571
|
};
|
17572
17572
|
return r.PropTypes = r, r;
|
17573
17573
|
};
|
17574
|
-
yS.exports =
|
17575
|
-
var
|
17576
|
-
const Oe = /* @__PURE__ */ Cr(
|
17574
|
+
yS.exports = PU();
|
17575
|
+
var RU = yS.exports;
|
17576
|
+
const Oe = /* @__PURE__ */ Cr(RU);
|
17577
17577
|
var it = {};
|
17578
17578
|
/**
|
17579
17579
|
* @license React
|
@@ -17584,7 +17584,7 @@ var it = {};
|
|
17584
17584
|
* This source code is licensed under the MIT license found in the
|
17585
17585
|
* LICENSE file in the root directory of this source tree.
|
17586
17586
|
*/
|
17587
|
-
var jf = Symbol.for("react.element"), Ff = Symbol.for("react.portal"), ac = Symbol.for("react.fragment"), oc = Symbol.for("react.strict_mode"), sc = Symbol.for("react.profiler"), ic = Symbol.for("react.provider"), lc = Symbol.for("react.context"),
|
17587
|
+
var jf = Symbol.for("react.element"), Ff = Symbol.for("react.portal"), ac = Symbol.for("react.fragment"), oc = Symbol.for("react.strict_mode"), sc = Symbol.for("react.profiler"), ic = Symbol.for("react.provider"), lc = Symbol.for("react.context"), AU = Symbol.for("react.server_context"), cc = Symbol.for("react.forward_ref"), uc = Symbol.for("react.suspense"), dc = Symbol.for("react.suspense_list"), fc = Symbol.for("react.memo"), pc = Symbol.for("react.lazy"), NU = Symbol.for("react.offscreen"), IS;
|
17588
17588
|
IS = Symbol.for("react.module.reference");
|
17589
17589
|
function Pr(e) {
|
17590
17590
|
if (typeof e == "object" && e !== null) {
|
@@ -17600,7 +17600,7 @@ function Pr(e) {
|
|
17600
17600
|
return e;
|
17601
17601
|
default:
|
17602
17602
|
switch (e = e && e.$$typeof, e) {
|
17603
|
-
case
|
17603
|
+
case AU:
|
17604
17604
|
case lc:
|
17605
17605
|
case cc:
|
17606
17606
|
case pc:
|
@@ -17671,7 +17671,7 @@ it.isSuspenseList = function(e) {
|
|
17671
17671
|
return Pr(e) === dc;
|
17672
17672
|
};
|
17673
17673
|
it.isValidElementType = function(e) {
|
17674
|
-
return typeof e == "string" || typeof e == "function" || e === ac || e === sc || e === oc || e === uc || e === dc || e ===
|
17674
|
+
return typeof e == "string" || typeof e == "function" || e === ac || e === sc || e === oc || e === uc || e === dc || e === NU || typeof e == "object" && e !== null && (e.$$typeof === pc || e.$$typeof === fc || e.$$typeof === ic || e.$$typeof === lc || e.$$typeof === cc || e.$$typeof === IS || e.getModuleId !== void 0);
|
17675
17675
|
};
|
17676
17676
|
it.typeOf = Pr;
|
17677
17677
|
const Ig = (e) => typeof e == "object" && e != null && e.nodeType === 1, Sg = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", Ws = (e, t) => {
|
@@ -17690,10 +17690,10 @@ const Ig = (e) => typeof e == "object" && e != null && e.nodeType === 1, Sg = (e
|
|
17690
17690
|
})(e);
|
17691
17691
|
}
|
17692
17692
|
return !1;
|
17693
|
-
}, qs = (e, t, r, n, a, o, s, i) => o < e && s > t || o > e && s < t ? 0 : o <= e && i <= r || s >= t && i >= r ? o - e - n : s > t && i < r || o < e && i > r ? s - t + a : 0,
|
17693
|
+
}, qs = (e, t, r, n, a, o, s, i) => o < e && s > t || o > e && s < t ? 0 : o <= e && i <= r || s >= t && i >= r ? o - e - n : s > t && i < r || o < e && i > r ? s - t + a : 0, OU = (e) => {
|
17694
17694
|
const t = e.parentElement;
|
17695
17695
|
return t ?? (e.getRootNode().host || null);
|
17696
|
-
},
|
17696
|
+
}, DU = (e, t) => {
|
17697
17697
|
var r, n, a, o;
|
17698
17698
|
if (typeof document > "u") return [];
|
17699
17699
|
const { inline: s, boundary: i, skipOverflowHiddenElements: l } = t, c = typeof i == "function" ? i : (ce) => ce !== i;
|
@@ -17701,7 +17701,7 @@ const Ig = (e) => typeof e == "object" && e != null && e.nodeType === 1, Sg = (e
|
|
17701
17701
|
const d = document.scrollingElement || document.documentElement, f = [];
|
17702
17702
|
let p = e;
|
17703
17703
|
for (; Ig(p) && c(p); ) {
|
17704
|
-
if (p =
|
17704
|
+
if (p = OU(p), p === d) {
|
17705
17705
|
f.push(p);
|
17706
17706
|
break;
|
17707
17707
|
}
|
@@ -17729,12 +17729,12 @@ const Ig = (e) => typeof e == "object" && e != null && e.nodeType === 1, Sg = (e
|
|
17729
17729
|
}
|
17730
17730
|
return ne;
|
17731
17731
|
};
|
17732
|
-
var
|
17732
|
+
var kU = 0;
|
17733
17733
|
function SS() {
|
17734
17734
|
}
|
17735
|
-
function
|
17735
|
+
function _U(e, t) {
|
17736
17736
|
if (e) {
|
17737
|
-
var r =
|
17737
|
+
var r = DU(e, {
|
17738
17738
|
boundary: t
|
17739
17739
|
});
|
17740
17740
|
r.forEach(function(n) {
|
@@ -17781,8 +17781,8 @@ function Ks() {
|
|
17781
17781
|
});
|
17782
17782
|
};
|
17783
17783
|
}
|
17784
|
-
function
|
17785
|
-
return String(
|
17784
|
+
function LU() {
|
17785
|
+
return String(kU++);
|
17786
17786
|
}
|
17787
17787
|
function id(e, t) {
|
17788
17788
|
return !e || !t ? e : Object.keys(e).reduce(function(r, n) {
|
@@ -17792,7 +17792,7 @@ function id(e, t) {
|
|
17792
17792
|
function ES(e, t) {
|
17793
17793
|
return e[t] !== void 0;
|
17794
17794
|
}
|
17795
|
-
function
|
17795
|
+
function UU(e) {
|
17796
17796
|
var t = e.key, r = e.keyCode;
|
17797
17797
|
return r >= 37 && r <= 40 && t.indexOf("Arrow") !== 0 ? "Arrow" + t : t;
|
17798
17798
|
}
|
@@ -17825,7 +17825,7 @@ function Eg(e, t, r, n) {
|
|
17825
17825
|
return a && (Mg(a, e, r) || n && Mg(a, r.document.activeElement, r));
|
17826
17826
|
});
|
17827
17827
|
}
|
17828
|
-
var
|
17828
|
+
var jU = MS(function(e) {
|
17829
17829
|
wS(e).textContent = "";
|
17830
17830
|
}, 500);
|
17831
17831
|
function wS(e) {
|
@@ -17841,13 +17841,13 @@ function wS(e) {
|
|
17841
17841
|
width: "1px"
|
17842
17842
|
}), e.body.appendChild(t), t);
|
17843
17843
|
}
|
17844
|
-
function
|
17844
|
+
function FU(e, t) {
|
17845
17845
|
if (!(!e || !t)) {
|
17846
17846
|
var r = wS(t);
|
17847
|
-
r.textContent = e,
|
17847
|
+
r.textContent = e, jU(t);
|
17848
17848
|
}
|
17849
17849
|
}
|
17850
|
-
function
|
17850
|
+
function $U(e) {
|
17851
17851
|
var t = e == null ? void 0 : e.getElementById("a11y-status-message");
|
17852
17852
|
t && t.remove();
|
17853
17853
|
}
|
@@ -17857,26 +17857,26 @@ var xS = {
|
|
17857
17857
|
selectedItem: null,
|
17858
17858
|
inputValue: ""
|
17859
17859
|
};
|
17860
|
-
function
|
17860
|
+
function BU(e, t, r) {
|
17861
17861
|
var n = e.props, a = e.type, o = {};
|
17862
17862
|
Object.keys(t).forEach(function(s) {
|
17863
|
-
|
17863
|
+
VU(s, e, t, r), r[s] !== t[s] && (o[s] = r[s]);
|
17864
17864
|
}), n.onStateChange && Object.keys(o).length && n.onStateChange(ut({
|
17865
17865
|
type: a
|
17866
17866
|
}, o));
|
17867
17867
|
}
|
17868
|
-
function
|
17868
|
+
function VU(e, t, r, n) {
|
17869
17869
|
var a = t.props, o = t.type, s = "on" + $f(e) + "Change";
|
17870
17870
|
a[s] && n[e] !== void 0 && n[e] !== r[e] && a[s](ut({
|
17871
17871
|
type: o
|
17872
17872
|
}, n));
|
17873
17873
|
}
|
17874
|
-
function
|
17874
|
+
function HU(e, t) {
|
17875
17875
|
return t.changes;
|
17876
17876
|
}
|
17877
17877
|
var wg = MS(function(e, t) {
|
17878
|
-
|
17879
|
-
}, 200),
|
17878
|
+
FU(e, t);
|
17879
|
+
}, 200), zU = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? $g : Mt, GU = "useId" in te ? function(t) {
|
17880
17880
|
var r = t.id, n = t.labelId, a = t.menuId, o = t.getItemId, s = t.toggleButtonId, i = t.inputId, l = "downshift-" + te.useId();
|
17881
17881
|
r || (r = l);
|
17882
17882
|
var c = wt({
|
@@ -17890,7 +17890,7 @@ var wg = MS(function(e, t) {
|
|
17890
17890
|
});
|
17891
17891
|
return c.current;
|
17892
17892
|
} : function(t) {
|
17893
|
-
var r = t.id, n = r === void 0 ? "downshift-" +
|
17893
|
+
var r = t.id, n = r === void 0 ? "downshift-" + LU() : r, a = t.labelId, o = t.menuId, s = t.getItemId, i = t.toggleButtonId, l = t.inputId, c = wt({
|
17894
17894
|
labelId: a || n + "-label",
|
17895
17895
|
menuId: o || n + "-menu",
|
17896
17896
|
getItemId: s || function(d) {
|
@@ -17901,7 +17901,7 @@ var wg = MS(function(e, t) {
|
|
17901
17901
|
});
|
17902
17902
|
return c.current;
|
17903
17903
|
};
|
17904
|
-
function
|
17904
|
+
function WU(e, t, r, n) {
|
17905
17905
|
var a, o;
|
17906
17906
|
if (e === void 0) {
|
17907
17907
|
if (t === void 0)
|
@@ -17918,7 +17918,7 @@ function CS(e) {
|
|
17918
17918
|
var t = wt(e);
|
17919
17919
|
return t.current = e, t;
|
17920
17920
|
}
|
17921
|
-
function
|
17921
|
+
function qU(e, t, r, n) {
|
17922
17922
|
var a = wt(), o = wt(), s = Lt(function(m, y) {
|
17923
17923
|
o.current = y, m = id(m, y.props);
|
17924
17924
|
var h = e(m, y), v = y.props.stateReducer(m, ut({}, y, {
|
@@ -17932,7 +17932,7 @@ function KU(e, t, r, n) {
|
|
17932
17932
|
}, [d]), p = o.current;
|
17933
17933
|
return Mt(function() {
|
17934
17934
|
var m = id(a.current, p == null ? void 0 : p.props), y = p && a.current && !n(m, l);
|
17935
|
-
y &&
|
17935
|
+
y && BU(p, m, l), a.current = l;
|
17936
17936
|
}, [l, p, n]), [l, f];
|
17937
17937
|
}
|
17938
17938
|
var Co = {
|
@@ -17942,8 +17942,8 @@ var Co = {
|
|
17942
17942
|
itemToKey: function(t) {
|
17943
17943
|
return t;
|
17944
17944
|
},
|
17945
|
-
stateReducer:
|
17946
|
-
scrollIntoView:
|
17945
|
+
stateReducer: HU,
|
17946
|
+
scrollIntoView: _U,
|
17947
17947
|
environment: (
|
17948
17948
|
/* istanbul ignore next (ssr) */
|
17949
17949
|
typeof window > "u" ? void 0 : window
|
@@ -17962,8 +17962,8 @@ function To(e, t, r) {
|
|
17962
17962
|
var a = e["initial" + $f(t)];
|
17963
17963
|
return a !== void 0 ? a : Rn(e, t, r);
|
17964
17964
|
}
|
17965
|
-
function
|
17966
|
-
var t = To(e, "selectedItem"), r = To(e, "isOpen"), n =
|
17965
|
+
function KU(e) {
|
17966
|
+
var t = To(e, "selectedItem"), r = To(e, "isOpen"), n = ej(e), a = To(e, "inputValue");
|
17967
17967
|
return {
|
17968
17968
|
highlightedIndex: n < 0 && t && r ? e.items.findIndex(function(o) {
|
17969
17969
|
return e.itemToKey(o) === e.itemToKey(t);
|
@@ -17979,7 +17979,7 @@ function Po(e, t, r) {
|
|
17979
17979
|
return i(l) === i(d);
|
17980
17980
|
}) : r < 0 && !s(n[n.length - 1], n.length - 1) ? n.length - 1 : r > 0 && !s(n[0], 0) ? 0 : -1;
|
17981
17981
|
}
|
17982
|
-
function
|
17982
|
+
function YU(e, t, r) {
|
17983
17983
|
var n = wt({
|
17984
17984
|
isMouseDown: !1,
|
17985
17985
|
isTouchMove: !1,
|
@@ -18011,10 +18011,10 @@ function ZU(e, t, r) {
|
|
18011
18011
|
};
|
18012
18012
|
}, [r, e, t]), n.current;
|
18013
18013
|
}
|
18014
|
-
var
|
18014
|
+
var ZU = function() {
|
18015
18015
|
return SS;
|
18016
18016
|
};
|
18017
|
-
function
|
18017
|
+
function XU(e, t, r, n) {
|
18018
18018
|
n === void 0 && (n = {});
|
18019
18019
|
var a = n.document, o = Bf();
|
18020
18020
|
Mt(function() {
|
@@ -18024,13 +18024,13 @@ function JU(e, t, r, n) {
|
|
18024
18024
|
}
|
18025
18025
|
}, r), Mt(function() {
|
18026
18026
|
return function() {
|
18027
|
-
wg.cancel(),
|
18027
|
+
wg.cancel(), $U(a);
|
18028
18028
|
};
|
18029
18029
|
}, [a]);
|
18030
18030
|
}
|
18031
|
-
function
|
18031
|
+
function JU(e) {
|
18032
18032
|
var t = e.highlightedIndex, r = e.isOpen, n = e.itemRefs, a = e.getItemNodeFromIndex, o = e.menuElement, s = e.scrollIntoView, i = wt(!0);
|
18033
|
-
return
|
18033
|
+
return zU(function() {
|
18034
18034
|
t < 0 || !r || !Object.keys(n.current).length || (i.current === !1 ? i.current = !0 : s(a(t), o));
|
18035
18035
|
}, [t]), i;
|
18036
18036
|
}
|
@@ -18049,7 +18049,7 @@ function xg(e, t, r) {
|
|
18049
18049
|
inputValue: e.itemToString(e.items[t])
|
18050
18050
|
}));
|
18051
18051
|
}
|
18052
|
-
function
|
18052
|
+
function QU(e, t) {
|
18053
18053
|
return e.isOpen === t.isOpen && e.inputValue === t.inputValue && e.highlightedIndex === t.highlightedIndex && e.selectedItem === t.selectedItem;
|
18054
18054
|
}
|
18055
18055
|
function Bf() {
|
@@ -18064,7 +18064,7 @@ function ld(e) {
|
|
18064
18064
|
var t = Rn(e, "highlightedIndex");
|
18065
18065
|
return t > -1 && e.isItemDisabled(e.items[t], t) ? -1 : t;
|
18066
18066
|
}
|
18067
|
-
function
|
18067
|
+
function ej(e) {
|
18068
18068
|
var t = To(e, "highlightedIndex");
|
18069
18069
|
return t > -1 && e.isItemDisabled(e.items[t], t) ? -1 : t;
|
18070
18070
|
}
|
@@ -18105,7 +18105,7 @@ var yi = {
|
|
18105
18105
|
onIsOpenChange: Oe.func,
|
18106
18106
|
scrollIntoView: Oe.func
|
18107
18107
|
});
|
18108
|
-
function
|
18108
|
+
function tj(e, t, r) {
|
18109
18109
|
var n = t.type, a = t.props, o;
|
18110
18110
|
switch (n) {
|
18111
18111
|
case r.ItemMouseMove:
|
@@ -18189,8 +18189,8 @@ var Vf = 0, Hf = 1, zf = 2, Gf = 3, Wf = 4, qf = 5, Kf = 6, Yf = 7, Zf = 8, Zi =
|
|
18189
18189
|
MenuMouseLeave: PS,
|
18190
18190
|
ToggleButtonClick: AS
|
18191
18191
|
});
|
18192
|
-
function
|
18193
|
-
var t =
|
18192
|
+
function rj(e) {
|
18193
|
+
var t = KU(e), r = t.selectedItem, n = t.inputValue;
|
18194
18194
|
return n === "" && r && e.defaultInputValue === void 0 && e.initialInputValue === void 0 && e.inputValue === void 0 && (n = e.itemToString(r)), ut({}, t, {
|
18195
18195
|
inputValue: n
|
18196
18196
|
});
|
@@ -18204,8 +18204,8 @@ ut({}, TS, {
|
|
18204
18204
|
inputId: Oe.string,
|
18205
18205
|
onInputValueChange: Oe.func
|
18206
18206
|
});
|
18207
|
-
function
|
18208
|
-
var a = wt(), o =
|
18207
|
+
function nj(e, t, r, n) {
|
18208
|
+
var a = wt(), o = qU(e, t, r, n), s = o[0], i = o[1], l = Bf();
|
18209
18209
|
return Mt(function() {
|
18210
18210
|
if (ES(t, "selectedItem")) {
|
18211
18211
|
if (!l) {
|
@@ -18219,12 +18219,12 @@ function aj(e, t, r, n) {
|
|
18219
18219
|
}
|
18220
18220
|
}, [s.selectedItem, t.selectedItem]), [id(s, t), i];
|
18221
18221
|
}
|
18222
|
-
var
|
18222
|
+
var aj = ut({}, Co, {
|
18223
18223
|
isItemDisabled: function() {
|
18224
18224
|
return !1;
|
18225
18225
|
}
|
18226
18226
|
});
|
18227
|
-
function
|
18227
|
+
function oj(e, t) {
|
18228
18228
|
var r, n = t.type, a = t.props, o = t.altKey, s;
|
18229
18229
|
switch (n) {
|
18230
18230
|
case Jf:
|
@@ -18317,22 +18317,22 @@ function sj(e, t) {
|
|
18317
18317
|
};
|
18318
18318
|
break;
|
18319
18319
|
default:
|
18320
|
-
return
|
18320
|
+
return tj(e, t, US);
|
18321
18321
|
}
|
18322
18322
|
return ut({}, e, s);
|
18323
18323
|
}
|
18324
|
-
var
|
18324
|
+
var sj = ["onMouseLeave", "refKey", "ref"], ij = ["item", "index", "refKey", "ref", "onMouseMove", "onMouseDown", "onClick", "onPress", "disabled"], lj = ["onClick", "onPress", "refKey", "ref"], cj = ["onKeyDown", "onChange", "onInput", "onBlur", "onChangeText", "onClick", "refKey", "ref"];
|
18325
18325
|
ta.stateChangeTypes = US;
|
18326
18326
|
function ta(e) {
|
18327
18327
|
e === void 0 && (e = {});
|
18328
|
-
var t = ut({},
|
18328
|
+
var t = ut({}, aj, e), r = t.items, n = t.scrollIntoView, a = t.environment, o = t.getA11yStatusMessage, s = nj(oj, t, rj, QU), i = s[0], l = s[1], c = i.isOpen, d = i.highlightedIndex, f = i.selectedItem, p = i.inputValue, m = wt(null), y = wt({}), h = wt(null), v = wt(null), M = Bf(), I = GU(t), E = wt(), b = CS({
|
18329
18329
|
state: i,
|
18330
18330
|
props: t
|
18331
18331
|
}), x = Lt(function(Z) {
|
18332
18332
|
return y.current[I.getItemId(Z)];
|
18333
18333
|
}, [I]);
|
18334
|
-
|
18335
|
-
var F =
|
18334
|
+
XU(o, i, [c, d, f, p], a);
|
18335
|
+
var F = JU({
|
18336
18336
|
menuElement: m.current,
|
18337
18337
|
highlightedIndex: d,
|
18338
18338
|
isOpen: c,
|
@@ -18346,14 +18346,14 @@ function ta(e) {
|
|
18346
18346
|
}, []), Mt(function() {
|
18347
18347
|
M || (E.current = r.length);
|
18348
18348
|
});
|
18349
|
-
var T =
|
18349
|
+
var T = YU(a, Lt(function() {
|
18350
18350
|
b.current.state.isOpen && l({
|
18351
18351
|
type: Zi,
|
18352
18352
|
selectItem: !1
|
18353
18353
|
});
|
18354
18354
|
}, [l, b]), fp(function() {
|
18355
18355
|
return [m, v, h];
|
18356
|
-
}, [m.current, v.current, h.current])), B =
|
18356
|
+
}, [m.current, v.current, h.current])), B = ZU();
|
18357
18357
|
Mt(function() {
|
18358
18358
|
c || (y.current = {});
|
18359
18359
|
}, [c]), Mt(function() {
|
@@ -18413,7 +18413,7 @@ function ta(e) {
|
|
18413
18413
|
htmlFor: I.inputId
|
18414
18414
|
}, Z);
|
18415
18415
|
}, [I]), Y = Lt(function(Z, W) {
|
18416
|
-
var H, w = Z === void 0 ? {} : Z, be = w.onMouseLeave, me = w.refKey, Se = me === void 0 ? "ref" : me, Le = w.ref, Pe = ka(w,
|
18416
|
+
var H, w = Z === void 0 ? {} : Z, be = w.onMouseLeave, me = w.refKey, Se = me === void 0 ? "ref" : me, Le = w.ref, Pe = ka(w, sj), Fe = W === void 0 ? {} : W;
|
18417
18417
|
return Fe.suppressRefError, ut((H = {}, H[Se] = Ks(Le, function(Ce) {
|
18418
18418
|
m.current = Ce;
|
18419
18419
|
}), H.id = I.menuId, H.role = "listbox", H["aria-labelledby"] = Pe && Pe["aria-label"] ? void 0 : "" + I.labelId, H.onMouseLeave = rn(be, function() {
|
@@ -18424,9 +18424,9 @@ function ta(e) {
|
|
18424
18424
|
}, [l, B, I]), ne = Lt(function(Z) {
|
18425
18425
|
var W, H, w = Z === void 0 ? {} : Z, be = w.item, me = w.index, Se = w.refKey, Le = Se === void 0 ? "ref" : Se, Pe = w.ref, Fe = w.onMouseMove, Ce = w.onMouseDown, $e = w.onClick;
|
18426
18426
|
w.onPress;
|
18427
|
-
var qe = w.disabled, C = ka(w,
|
18427
|
+
var qe = w.disabled, C = ka(w, ij);
|
18428
18428
|
qe !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
|
18429
|
-
var N = b.current, j = N.props, ae = N.state, J =
|
18429
|
+
var N = b.current, j = N.props, ae = N.state, J = WU(be, me, j.items, "Pass either item or index to getItemProps!"), he = J[0], se = J[1], Me = j.isItemDisabled(he, se), le = "onClick", ye = $e, ke = function() {
|
18430
18430
|
T.isTouchEnd || se === ae.highlightedIndex || (F.current = !1, l({
|
18431
18431
|
type: RS,
|
18432
18432
|
index: se,
|
@@ -18449,7 +18449,7 @@ function ta(e) {
|
|
18449
18449
|
}, [l, I, b, T, F]), ce = Lt(function(Z) {
|
18450
18450
|
var W, H = Z === void 0 ? {} : Z, w = H.onClick;
|
18451
18451
|
H.onPress;
|
18452
|
-
var be = H.refKey, me = be === void 0 ? "ref" : be, Se = H.ref, Le = ka(H,
|
18452
|
+
var be = H.refKey, me = be === void 0 ? "ref" : be, Se = H.ref, Le = ka(H, lj), Pe = b.current.state, Fe = function() {
|
18453
18453
|
l({
|
18454
18454
|
type: AS
|
18455
18455
|
});
|
@@ -18462,10 +18462,10 @@ function ta(e) {
|
|
18462
18462
|
}, [l, b, I]), $ = Lt(function(Z, W) {
|
18463
18463
|
var H, w = Z === void 0 ? {} : Z, be = w.onKeyDown, me = w.onChange, Se = w.onInput, Le = w.onBlur;
|
18464
18464
|
w.onChangeText;
|
18465
|
-
var Pe = w.onClick, Fe = w.refKey, Ce = Fe === void 0 ? "ref" : Fe, $e = w.ref, qe = ka(w,
|
18465
|
+
var Pe = w.onClick, Fe = w.refKey, Ce = Fe === void 0 ? "ref" : Fe, $e = w.ref, qe = ka(w, cj), C = W === void 0 ? {} : W;
|
18466
18466
|
C.suppressRefError;
|
18467
18467
|
var N = b.current.state, j = function(ke) {
|
18468
|
-
var pe =
|
18468
|
+
var pe = UU(ke);
|
18469
18469
|
pe && O[pe] && O[pe](ke);
|
18470
18470
|
}, ae = function(ke) {
|
18471
18471
|
l({
|
@@ -18548,7 +18548,7 @@ function ta(e) {
|
|
18548
18548
|
}
|
18549
18549
|
yi.stateReducer, yi.itemToKey, yi.environment, Oe.array, Oe.array, Oe.array, Oe.func, Oe.number, Oe.number, Oe.number, Oe.func, Oe.func, Oe.string, Oe.string;
|
18550
18550
|
Co.itemToKey, Co.stateReducer, Co.environment;
|
18551
|
-
const
|
18551
|
+
const uj = ({
|
18552
18552
|
getItemProps: e,
|
18553
18553
|
getMenuProps: t,
|
18554
18554
|
highlightedIndex: r,
|
@@ -18571,7 +18571,7 @@ const dj = ({
|
|
18571
18571
|
}
|
18572
18572
|
), c = n.length > 0 ? n.map((d, f) => l(d, f)) : /* @__PURE__ */ u.jsx("div", { className: "sid-input-select-list__message", children: /* @__PURE__ */ u.jsx(P, { id: "noOptions", defaultMessage: "No Options" }) });
|
18573
18573
|
return /* @__PURE__ */ u.jsx("div", { ...t({ "aria-label": o }), children: s ? /* @__PURE__ */ u.jsx("div", { className: "sid-input-select-list__menu", children: i ? /* @__PURE__ */ u.jsx("div", { className: "sid-input-select-list__loading-spinner", children: /* @__PURE__ */ u.jsx(jl, {}) }) : c }) : null });
|
18574
|
-
},
|
18574
|
+
}, dj = uj, fj = ({
|
18575
18575
|
clearSelection: e,
|
18576
18576
|
disabled: t,
|
18577
18577
|
getToggleButtonProps: r,
|
@@ -18616,7 +18616,7 @@ const dj = ({
|
|
18616
18616
|
)
|
18617
18617
|
}
|
18618
18618
|
);
|
18619
|
-
},
|
18619
|
+
}, pj = fj, Cg = (e) => e ? e.label : "", mj = (e, t) => e.filter(
|
18620
18620
|
(n) => !t || n.label.toLowerCase().includes(t.toLowerCase()) || n.value.toString().toLowerCase().includes(t.toLowerCase())
|
18621
18621
|
), jS = ({
|
18622
18622
|
className: e,
|
@@ -18641,7 +18641,7 @@ const dj = ({
|
|
18641
18641
|
role: M = "combobox",
|
18642
18642
|
autoComplete: I
|
18643
18643
|
}) => {
|
18644
|
-
const [E, b] = En(""), x = E ?
|
18644
|
+
const [E, b] = En(""), x = E ? mj(s, E) : s, {
|
18645
18645
|
getInputProps: F,
|
18646
18646
|
getItemProps: T,
|
18647
18647
|
getMenuProps: B,
|
@@ -18686,7 +18686,7 @@ const dj = ({
|
|
18686
18686
|
}
|
18687
18687
|
),
|
18688
18688
|
/* @__PURE__ */ u.jsx(
|
18689
|
-
|
18689
|
+
pj,
|
18690
18690
|
{
|
18691
18691
|
disabled: r,
|
18692
18692
|
getToggleButtonProps: O,
|
@@ -18695,7 +18695,7 @@ const dj = ({
|
|
18695
18695
|
}
|
18696
18696
|
),
|
18697
18697
|
/* @__PURE__ */ u.jsx(
|
18698
|
-
|
18698
|
+
dj,
|
18699
18699
|
{
|
18700
18700
|
highlightedIndex: V,
|
18701
18701
|
itemToString: Cg,
|
@@ -18723,7 +18723,7 @@ const tp = jS, bn = (e) => {
|
|
18723
18723
|
if (e)
|
18724
18724
|
return e < 10 ? `0${e}` : e.toString();
|
18725
18725
|
};
|
18726
|
-
function
|
18726
|
+
function hj(e) {
|
18727
18727
|
const r = new Date(2222, 0, 3);
|
18728
18728
|
try {
|
18729
18729
|
return new Intl.DateTimeFormat(e).format(r).replace("0", "").startsWith("3");
|
@@ -18731,7 +18731,7 @@ function gj(e) {
|
|
18731
18731
|
return !1;
|
18732
18732
|
}
|
18733
18733
|
}
|
18734
|
-
const
|
18734
|
+
const gj = ({
|
18735
18735
|
onChange: e,
|
18736
18736
|
intl: t,
|
18737
18737
|
isErrored: r,
|
@@ -18867,7 +18867,7 @@ const yj = ({
|
|
18867
18867
|
}
|
18868
18868
|
),
|
18869
18869
|
/* @__PURE__ */ u.jsxs("div", { className: `${y}__inputs sid-date__inputs`, children: [
|
18870
|
-
|
18870
|
+
hj(f) ? /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
18871
18871
|
$,
|
18872
18872
|
ce
|
18873
18873
|
] }) : /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
@@ -18878,7 +18878,7 @@ const yj = ({
|
|
18878
18878
|
] }),
|
18879
18879
|
r && ne
|
18880
18880
|
] });
|
18881
|
-
}, mc = ze(
|
18881
|
+
}, mc = ze(gj), hc = ({
|
18882
18882
|
onChange: e,
|
18883
18883
|
isRequired: t = !0,
|
18884
18884
|
errorId: r,
|
@@ -18911,7 +18911,7 @@ const yj = ({
|
|
18911
18911
|
errorMsg: /* @__PURE__ */ u.jsx(P, { id: `errorId.${r}`, defaultMessage: "Invalid birth date" })
|
18912
18912
|
}
|
18913
18913
|
);
|
18914
|
-
},
|
18914
|
+
}, yj = (e, t) => {
|
18915
18915
|
let r;
|
18916
18916
|
try {
|
18917
18917
|
r = e.label.toUpperCase() > t.label.toUpperCase() ? 1 : -1;
|
@@ -18919,7 +18919,7 @@ const yj = ({
|
|
18919
18919
|
r = 1;
|
18920
18920
|
}
|
18921
18921
|
return r;
|
18922
|
-
},
|
18922
|
+
}, vj = (e) => e.sort(yj), Tg = (e, t = [], r) => {
|
18923
18923
|
const n = [], a = [];
|
18924
18924
|
return t.forEach((o) => {
|
18925
18925
|
if (typeof o > "u") return a.push("undefined");
|
@@ -18974,7 +18974,7 @@ const yj = ({
|
|
18974
18974
|
fieldLabelId: `${M}-label`,
|
18975
18975
|
suppressPlaceholder: v,
|
18976
18976
|
isErrored: !!o,
|
18977
|
-
options:
|
18977
|
+
options: vj(p),
|
18978
18978
|
onChange: r,
|
18979
18979
|
value: p.find((E) => E.value === (t && t.value)),
|
18980
18980
|
placeholder: n,
|
@@ -18989,12 +18989,12 @@ const yj = ({
|
|
18989
18989
|
);
|
18990
18990
|
}, rp = async (e) => {
|
18991
18991
|
try {
|
18992
|
-
return (await ml(e) || []).map((r) =>
|
18992
|
+
return (await ml(e) || []).map((r) => bj(r));
|
18993
18993
|
} catch (t) {
|
18994
18994
|
A.warn(t, "failed to fetchOrganization");
|
18995
18995
|
}
|
18996
18996
|
};
|
18997
|
-
function
|
18997
|
+
function bj(e) {
|
18998
18998
|
return {
|
18999
18999
|
id: e.id,
|
19000
19000
|
idExtended: e.idExtended === void 0 ? e.id.toString() : e.idExtended,
|
@@ -19003,7 +19003,7 @@ function Ij(e) {
|
|
19003
19003
|
source: e.source
|
19004
19004
|
};
|
19005
19005
|
}
|
19006
|
-
const FS = (e, t = void 0) => ($d(e) || []).length >= 2 && !t,
|
19006
|
+
const FS = (e, t = void 0) => ($d(e) || []).length >= 2 && !t, Ij = ({
|
19007
19007
|
autoFocus: e,
|
19008
19008
|
onChange: t,
|
19009
19009
|
value: r,
|
@@ -19074,7 +19074,7 @@ const FS = (e, t = void 0) => ($d(e) || []).length >= 2 && !t, Sj = ({
|
|
19074
19074
|
containerId: `sid-${c}-id`
|
19075
19075
|
}
|
19076
19076
|
);
|
19077
|
-
},
|
19077
|
+
}, Sj = ze(Ij), Mj = ({
|
19078
19078
|
value: e,
|
19079
19079
|
isErrored: t,
|
19080
19080
|
onChange: r,
|
@@ -19101,14 +19101,14 @@ const FS = (e, t = void 0) => ($d(e) || []).length >= 2 && !t, Sj = ({
|
|
19101
19101
|
autoComplete: "address-level2"
|
19102
19102
|
}
|
19103
19103
|
);
|
19104
|
-
}, np = ze(
|
19104
|
+
}, np = ze(Mj), Ej = 42, wj = ({
|
19105
19105
|
getItemProps: e,
|
19106
19106
|
getMenuProps: t,
|
19107
19107
|
highlightedIndex: r,
|
19108
19108
|
options: n,
|
19109
19109
|
itemToString: a
|
19110
19110
|
}) => {
|
19111
|
-
const o = n.length *
|
19111
|
+
const o = n.length * Ej, s = (i, l) => /* @__PURE__ */ u.jsx(
|
19112
19112
|
"div",
|
19113
19113
|
{
|
19114
19114
|
className: `sid-select-list__item ${r === l ? "sid-select-list__item--highlighted" : ""}`,
|
@@ -19130,7 +19130,7 @@ const FS = (e, t = void 0) => ($d(e) || []).length >= 2 && !t, Sj = ({
|
|
19130
19130
|
children: n.map((i, l) => s(i, l))
|
19131
19131
|
}
|
19132
19132
|
);
|
19133
|
-
},
|
19133
|
+
}, xj = wj, Cj = ({ getToggleButtonProps: e, isOpen: t }) => /* @__PURE__ */ u.jsx("button", { ...e(), className: "sid-select-button", type: "button", children: /* @__PURE__ */ u.jsx(
|
19134
19134
|
"svg",
|
19135
19135
|
{
|
19136
19136
|
viewBox: "0 0 20 20",
|
@@ -19142,7 +19142,7 @@ const FS = (e, t = void 0) => ($d(e) || []).length >= 2 && !t, Sj = ({
|
|
19142
19142
|
transform: t ? "rotate(180)" : void 0,
|
19143
19143
|
children: /* @__PURE__ */ u.jsx("path", { d: "M1,6 L10,15 L19,6" })
|
19144
19144
|
}
|
19145
|
-
) }),
|
19145
|
+
) }), Tj = Cj, Pg = (e) => e ? e.label : "", $S = ({
|
19146
19146
|
className: e,
|
19147
19147
|
hideDropDownButton: t,
|
19148
19148
|
isErrored: r,
|
@@ -19181,9 +19181,9 @@ const FS = (e, t = void 0) => ($d(e) || []).length >= 2 && !t, Sj = ({
|
|
19181
19181
|
readOnly: !0
|
19182
19182
|
}
|
19183
19183
|
),
|
19184
|
-
t ? null : /* @__PURE__ */ u.jsx(
|
19184
|
+
t ? null : /* @__PURE__ */ u.jsx(Tj, { getToggleButtonProps: p, isOpen: c }),
|
19185
19185
|
c ? /* @__PURE__ */ u.jsx("div", { children: n.length > 0 ? /* @__PURE__ */ u.jsx(
|
19186
|
-
|
19186
|
+
xj,
|
19187
19187
|
{
|
19188
19188
|
highlightedIndex: y,
|
19189
19189
|
itemToString: Pg,
|
@@ -19203,7 +19203,7 @@ $S.defaultProps = {
|
|
19203
19203
|
value: void 0,
|
19204
19204
|
id: void 0
|
19205
19205
|
};
|
19206
|
-
const
|
19206
|
+
const Pj = $S, Rj = ({
|
19207
19207
|
value: e,
|
19208
19208
|
options: t,
|
19209
19209
|
onChange: r,
|
@@ -19219,7 +19219,7 @@ const Rj = $S, Aj = ({
|
|
19219
19219
|
return /* @__PURE__ */ u.jsxs("div", { className: "sid-change-locale", children: [
|
19220
19220
|
/* @__PURE__ */ u.jsx("div", { className: "sid-field__label sid-change-locale__label", id: `${o}-label`, children: /* @__PURE__ */ u.jsx(P, { id: "changeLanguage", defaultMessage: "Change language" }) }),
|
19221
19221
|
/* @__PURE__ */ u.jsx(
|
19222
|
-
|
19222
|
+
Pj,
|
19223
19223
|
{
|
19224
19224
|
className: "sid-change-locale__select",
|
19225
19225
|
hideDropDownButton: !0,
|
@@ -19232,7 +19232,7 @@ const Rj = $S, Aj = ({
|
|
19232
19232
|
),
|
19233
19233
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-btm-sm" })
|
19234
19234
|
] });
|
19235
|
-
},
|
19235
|
+
}, Aj = ze(Rj), Nj = ({ verificationService: e, intl: t }) => {
|
19236
19236
|
const r = ID(
|
19237
19237
|
e.programTheme,
|
19238
19238
|
t
|
@@ -19253,7 +19253,7 @@ const Rj = $S, Aj = ({
|
|
19253
19253
|
);
|
19254
19254
|
};
|
19255
19255
|
return r.length <= 1 ? null : /* @__PURE__ */ u.jsx(
|
19256
|
-
|
19256
|
+
Aj,
|
19257
19257
|
{
|
19258
19258
|
options: r,
|
19259
19259
|
value: e.viewModel.localeChoice || n,
|
@@ -19261,7 +19261,7 @@ const Rj = $S, Aj = ({
|
|
19261
19261
|
onChange: (o) => a(o)
|
19262
19262
|
}
|
19263
19263
|
);
|
19264
|
-
}, ss = ze(
|
19264
|
+
}, ss = ze(Nj);
|
19265
19265
|
function cd(e, t, r) {
|
19266
19266
|
var n, a, o, s, i;
|
19267
19267
|
t == null && (t = 100);
|
@@ -19281,16 +19281,16 @@ function cd(e, t, r) {
|
|
19281
19281
|
}, c;
|
19282
19282
|
}
|
19283
19283
|
cd.debounce = cd;
|
19284
|
-
var
|
19285
|
-
const
|
19284
|
+
var Oj = cd;
|
19285
|
+
const Dj = 42, kj = 26, _j = ({
|
19286
19286
|
getItemProps: e,
|
19287
19287
|
highlightedIndex: t,
|
19288
19288
|
organizations: r,
|
19289
19289
|
itemToString: n,
|
19290
19290
|
children: a,
|
19291
|
-
maxItemsToDisplay: o =
|
19291
|
+
maxItemsToDisplay: o = kj
|
19292
19292
|
}) => {
|
19293
|
-
const s = WM.count(a), i = (r.length + s) *
|
19293
|
+
const s = WM.count(a), i = (r.length + s) * Dj, l = (c, d) => /* @__PURE__ */ u.jsx(
|
19294
19294
|
"div",
|
19295
19295
|
{
|
19296
19296
|
className: `sid-organization-list__item ${t === d ? "sid-organization-list__item--highlighted" : ""}`,
|
@@ -19317,7 +19317,7 @@ const kj = 42, _j = 26, Lj = ({
|
|
19317
19317
|
] })
|
19318
19318
|
}
|
19319
19319
|
);
|
19320
|
-
},
|
19320
|
+
}, Lj = _j, Rg = ({
|
19321
19321
|
urlAddSchoolForm: e,
|
19322
19322
|
programId: t,
|
19323
19323
|
locale: r = Gr,
|
@@ -19337,14 +19337,14 @@ const kj = 42, _j = 26, Lj = ({
|
|
19337
19337
|
}
|
19338
19338
|
)
|
19339
19339
|
}
|
19340
|
-
), po = (e) => No("name", e) || "",
|
19340
|
+
), po = (e) => No("name", e) || "", Uj = (e) => e && e.find((r) => r.source === "PLACE") ? /* @__PURE__ */ u.jsx(
|
19341
19341
|
"img",
|
19342
19342
|
{
|
19343
19343
|
className: "sid-organization-list__attribution-logo",
|
19344
19344
|
src: "https://developers.google.com/static/maps/documentation/images/google_on_white.png",
|
19345
19345
|
alt: "Google"
|
19346
19346
|
}
|
19347
|
-
) : null,
|
19347
|
+
) : null, jj = (e, t) => {
|
19348
19348
|
if (!t)
|
19349
19349
|
return e;
|
19350
19350
|
if (!e)
|
@@ -19364,7 +19364,7 @@ const kj = 42, _j = 26, Lj = ({
|
|
19364
19364
|
if (!this.mounted)
|
19365
19365
|
return;
|
19366
19366
|
const a = Date.now(), o = await rp(
|
19367
|
-
|
19367
|
+
jj(r, n)
|
19368
19368
|
);
|
19369
19369
|
if (o) {
|
19370
19370
|
const { onLoaded: s } = this.props;
|
@@ -19386,7 +19386,7 @@ const kj = 42, _j = 26, Lj = ({
|
|
19386
19386
|
});
|
19387
19387
|
// Prevent searching while user is actively typing
|
19388
19388
|
// eslint-disable-next-line react/sort-comp
|
19389
|
-
Xe(this, "debouncedFetch",
|
19389
|
+
Xe(this, "debouncedFetch", Oj.debounce(this.fetch, ry));
|
19390
19390
|
this.state = {
|
19391
19391
|
isErrored: null,
|
19392
19392
|
loading: !1,
|
@@ -19425,7 +19425,7 @@ const kj = 42, _j = 26, Lj = ({
|
|
19425
19425
|
openOrgSearchEnabled: m,
|
19426
19426
|
searchValue: y,
|
19427
19427
|
onClickAddSchool: h
|
19428
|
-
} = this.props, v = y || po(c), M =
|
19428
|
+
} = this.props, v = y || po(c), M = Uj(a);
|
19429
19429
|
return n ? /* @__PURE__ */ u.jsx("div", { className: "sid-organization-list__menu", children: /* @__PURE__ */ u.jsx("div", { className: "sid-organization-list__message sid-organization-list__spinner-container", children: /* @__PURE__ */ u.jsx("div", { id: "sid-spinner-container", children: /* @__PURE__ */ u.jsx(jl, {}) }) }) }) : r ? /* @__PURE__ */ u.jsx("div", { className: "sid-organization-list__menu", children: /* @__PURE__ */ u.jsx("div", { className: "sid-organization-list__message", children: /* @__PURE__ */ u.jsx(
|
19430
19430
|
P,
|
19431
19431
|
{
|
@@ -19435,7 +19435,7 @@ const kj = 42, _j = 26, Lj = ({
|
|
19435
19435
|
) }) }) : a && a.length > 0 ? /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
19436
19436
|
M && /* @__PURE__ */ u.jsx("div", { className: "sid-organization-list__attribution", children: M }),
|
19437
19437
|
/* @__PURE__ */ u.jsx(
|
19438
|
-
|
19438
|
+
Lj,
|
19439
19439
|
{
|
19440
19440
|
getItemProps: o,
|
19441
19441
|
getMenuProps: s,
|
@@ -19470,7 +19470,7 @@ Xe(Xi, "initialState", {
|
|
19470
19470
|
organizations: null
|
19471
19471
|
});
|
19472
19472
|
let ud = Xi;
|
19473
|
-
const
|
19473
|
+
const Fj = ud, $j = (e, t, r) => {
|
19474
19474
|
const n = e.hasOwnProperty("inputValue") && e.type === ta.stateChangeTypes.InputChange;
|
19475
19475
|
if (e.type === ta.stateChangeTypes.FunctionSelectItem) {
|
19476
19476
|
const { selectedItem: a } = e;
|
@@ -19485,7 +19485,7 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19485
19485
|
id: void 0,
|
19486
19486
|
name: ""
|
19487
19487
|
}));
|
19488
|
-
},
|
19488
|
+
}, Bj = ({ onMouseDown: e, disabled: t }) => /* @__PURE__ */ u.jsx(
|
19489
19489
|
"button",
|
19490
19490
|
{
|
19491
19491
|
disabled: t,
|
@@ -19506,7 +19506,7 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19506
19506
|
}
|
19507
19507
|
)
|
19508
19508
|
}
|
19509
|
-
),
|
19509
|
+
), Vj = Bj, Hj = ({
|
19510
19510
|
onChange: e,
|
19511
19511
|
programId: t,
|
19512
19512
|
className: r,
|
@@ -19530,7 +19530,7 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19530
19530
|
itemToString: ne,
|
19531
19531
|
id: l,
|
19532
19532
|
items: I,
|
19533
|
-
onStateChange: (W) =>
|
19533
|
+
onStateChange: (W) => $j(W, e, c),
|
19534
19534
|
onInputValueChange: (W) => {
|
19535
19535
|
const H = W.inputValue;
|
19536
19536
|
Y(!H);
|
@@ -19609,9 +19609,9 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19609
19609
|
"aria-labelledby": `${l}-label`
|
19610
19610
|
}
|
19611
19611
|
),
|
19612
|
-
B ? /* @__PURE__ */ u.jsx(
|
19612
|
+
B ? /* @__PURE__ */ u.jsx(Vj, { disabled: V, onMouseDown: Z }) : null,
|
19613
19613
|
/* @__PURE__ */ u.jsx("div", { ...z(), children: ce && v ? /* @__PURE__ */ u.jsx(
|
19614
|
-
|
19614
|
+
Fj,
|
19615
19615
|
{
|
19616
19616
|
countryCode: n,
|
19617
19617
|
getItemProps: G,
|
@@ -19628,7 +19628,7 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19628
19628
|
}
|
19629
19629
|
) : null })
|
19630
19630
|
] });
|
19631
|
-
},
|
19631
|
+
}, zj = Hj, da = ({
|
19632
19632
|
fieldId: e,
|
19633
19633
|
value: t,
|
19634
19634
|
verificationService: r,
|
@@ -19661,7 +19661,7 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19661
19661
|
) : c,
|
19662
19662
|
containerId: `${m}-id`,
|
19663
19663
|
children: /* @__PURE__ */ u.jsx(
|
19664
|
-
|
19664
|
+
zj,
|
19665
19665
|
{
|
19666
19666
|
className: s ? "sid-text-input--error" : "",
|
19667
19667
|
disabled: b || p,
|
@@ -19683,7 +19683,7 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19683
19683
|
)
|
19684
19684
|
}
|
19685
19685
|
);
|
19686
|
-
},
|
19686
|
+
}, Gj = ({
|
19687
19687
|
value: e,
|
19688
19688
|
isErrored: t,
|
19689
19689
|
onChange: r,
|
@@ -19724,7 +19724,7 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19724
19724
|
disabled: i
|
19725
19725
|
}
|
19726
19726
|
);
|
19727
|
-
}, w3 = ze(
|
19727
|
+
}, w3 = ze(Gj), Wj = ({
|
19728
19728
|
value: e,
|
19729
19729
|
isErrored: t,
|
19730
19730
|
onChange: r,
|
@@ -19758,7 +19758,7 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19758
19758
|
disabled: s
|
19759
19759
|
}
|
19760
19760
|
);
|
19761
|
-
}, x3 = ze(
|
19761
|
+
}, x3 = ze(Wj), qj = ({
|
19762
19762
|
value: e,
|
19763
19763
|
isErrored: t,
|
19764
19764
|
options: r,
|
@@ -19785,7 +19785,7 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19785
19785
|
suppressPlaceholder: l,
|
19786
19786
|
disabled: c
|
19787
19787
|
}
|
19788
|
-
),
|
19788
|
+
), Kj = ze(qj), C3 = ({
|
19789
19789
|
onChange: e,
|
19790
19790
|
errorId: t,
|
19791
19791
|
isErrored: r = !!t,
|
@@ -19817,7 +19817,7 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19817
19817
|
errorMsg: /* @__PURE__ */ u.jsx(P, { id: `errorId.${t}`, defaultMessage: "Invalid discharge date" })
|
19818
19818
|
}
|
19819
19819
|
);
|
19820
|
-
},
|
19820
|
+
}, Yj = ({
|
19821
19821
|
value: e,
|
19822
19822
|
isErrored: t,
|
19823
19823
|
onChange: r,
|
@@ -19855,8 +19855,8 @@ const $j = ud, Bj = (e, t, r) => {
|
|
19855
19855
|
disabled: l
|
19856
19856
|
}
|
19857
19857
|
);
|
19858
|
-
}, is = ze(
|
19859
|
-
var
|
19858
|
+
}, is = ze(Yj);
|
19859
|
+
var Zj = function(e) {
|
19860
19860
|
var t = {};
|
19861
19861
|
function r(n) {
|
19862
19862
|
if (t[n]) return t[n].exports;
|
@@ -21095,7 +21095,7 @@ var Xj = function(e) {
|
|
21095
21095
|
}(v.a.Component);
|
21096
21096
|
De.defaultProps = { country: "", value: "", onlyCountries: [], preferredCountries: [], excludeCountries: [], placeholder: "1 (702) 123-4567", searchPlaceholder: "search", searchNotFound: "No entries to show", flagsImagePath: "./flags.png", disabled: !1, containerStyle: {}, inputStyle: {}, buttonStyle: {}, dropdownStyle: {}, searchStyle: {}, containerClass: "", inputClass: "", buttonClass: "", dropdownClass: "", searchClass: "", className: "", autoFormat: !0, enableAreaCodes: !1, enableTerritories: !1, disableCountryCode: !1, disableDropdown: !1, enableLongNumbers: !1, countryCodeEditable: !0, enableSearch: !1, disableSearchIcon: !1, disableInitialCountryGuess: !1, disableCountryGuess: !1, regions: "", inputProps: {}, localization: {}, masks: null, priority: null, areaCodes: null, preserveOrder: [], defaultMask: "... ... ... ... ..", alwaysDefaultMask: !1, prefix: "+", copyNumbersOnly: !0, renderStringAsFlag: "", autocompleteSearch: !1, jumpCursorToEnd: !0, enableAreaCodeStretch: !1, enableClickOutside: !0, showDropdown: !1, isValid: !0, defaultErrorMessage: "", specialLabel: "Phone", onEnterKeyPress: null, keys: { UP: 38, DOWN: 40, RIGHT: 39, LEFT: 37, ENTER: 13, ESC: 27, PLUS: 43, A: 65, Z: 90, SPACE: 32, TAB: 9 } }, t.default = De;
|
21097
21097
|
}]);
|
21098
|
-
const
|
21098
|
+
const Xj = /* @__PURE__ */ Cr(Zj), Jj = ({
|
21099
21099
|
isErrored: e,
|
21100
21100
|
onChange: t,
|
21101
21101
|
value: r,
|
@@ -21143,7 +21143,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21143
21143
|
}
|
21144
21144
|
)
|
21145
21145
|
] });
|
21146
|
-
}, ap =
|
21146
|
+
}, ap = Jj, Qj = ({
|
21147
21147
|
value: e,
|
21148
21148
|
isErrored: t,
|
21149
21149
|
onChange: r,
|
@@ -21193,7 +21193,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21193
21193
|
}
|
21194
21194
|
),
|
21195
21195
|
/* @__PURE__ */ u.jsx(
|
21196
|
-
|
21196
|
+
Xj,
|
21197
21197
|
{
|
21198
21198
|
country: m.toLowerCase(),
|
21199
21199
|
containerClass: "react-tel-input sid-phone-number__wrapper",
|
@@ -21251,7 +21251,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21251
21251
|
) })
|
21252
21252
|
] }) }) })
|
21253
21253
|
] });
|
21254
|
-
}, ls = ze(
|
21254
|
+
}, ls = ze(Qj), eF = ({
|
21255
21255
|
value: e,
|
21256
21256
|
isErrored: t,
|
21257
21257
|
onChange: r,
|
@@ -21274,7 +21274,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21274
21274
|
disabled: o
|
21275
21275
|
}
|
21276
21276
|
);
|
21277
|
-
}, cs = ze(
|
21277
|
+
}, cs = ze(eF), tF = ({
|
21278
21278
|
value: e,
|
21279
21279
|
isErrored: t,
|
21280
21280
|
onChange: r,
|
@@ -21297,7 +21297,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21297
21297
|
disabled: o
|
21298
21298
|
}
|
21299
21299
|
);
|
21300
|
-
}, us = ze(
|
21300
|
+
}, us = ze(tF), rF = ({
|
21301
21301
|
value: e,
|
21302
21302
|
isErrored: t,
|
21303
21303
|
onChange: r,
|
@@ -21326,7 +21326,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21326
21326
|
disabled: l
|
21327
21327
|
}
|
21328
21328
|
);
|
21329
|
-
}, T3 = ze(
|
21329
|
+
}, T3 = ze(rF), nF = ({
|
21330
21330
|
isErrored: e,
|
21331
21331
|
isRequired: t,
|
21332
21332
|
onChange: r,
|
@@ -21387,7 +21387,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21387
21387
|
var l;
|
21388
21388
|
const { programTheme: o } = e, s = uv(o);
|
21389
21389
|
return ((l = ie("marketConsentValue")) == null ? void 0 : l.hidden) ? null : s.enabled ? /* @__PURE__ */ u.jsx(
|
21390
|
-
|
21390
|
+
nF,
|
21391
21391
|
{
|
21392
21392
|
isErrored: t,
|
21393
21393
|
isRequired: s.required,
|
@@ -21397,7 +21397,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21397
21397
|
disabled: a
|
21398
21398
|
}
|
21399
21399
|
) : null;
|
21400
|
-
},
|
21400
|
+
}, aF = ({
|
21401
21401
|
value: e,
|
21402
21402
|
isErrored: t,
|
21403
21403
|
onChange: r,
|
@@ -21433,7 +21433,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21433
21433
|
autoComplete: "postal-code"
|
21434
21434
|
}
|
21435
21435
|
);
|
21436
|
-
}, op = ze(
|
21436
|
+
}, op = ze(aF), oF = ({
|
21437
21437
|
value: e,
|
21438
21438
|
isErrored: t,
|
21439
21439
|
onChange: r,
|
@@ -21455,7 +21455,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21455
21455
|
showPlaceholderAndHideLabel: !!o
|
21456
21456
|
}
|
21457
21457
|
);
|
21458
|
-
}, P3 = ze(
|
21458
|
+
}, P3 = ze(oF), sF = ({
|
21459
21459
|
value: e,
|
21460
21460
|
isErrored: t,
|
21461
21461
|
options: r,
|
@@ -21489,7 +21489,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21489
21489
|
autoComplete: "address-level1"
|
21490
21490
|
}
|
21491
21491
|
);
|
21492
|
-
}, gc = ze(
|
21492
|
+
}, gc = ze(sF), iF = ({
|
21493
21493
|
onChange: e,
|
21494
21494
|
value: t,
|
21495
21495
|
isErrored: r,
|
@@ -21534,7 +21534,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21534
21534
|
}
|
21535
21535
|
)
|
21536
21536
|
] });
|
21537
|
-
}, R3 = ze(
|
21537
|
+
}, R3 = ze(iF), Ag = (e, t, r) => `${e.slice(0, r)}${t}${e.slice(r)}`, lF = (e) => {
|
21538
21538
|
let t;
|
21539
21539
|
try {
|
21540
21540
|
if (t = e.toString(), !t) throw new Error();
|
@@ -21542,7 +21542,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21542
21542
|
return "";
|
21543
21543
|
}
|
21544
21544
|
return t = t.replace(/[^\d]/g, ""), t = Ag(t, "-", 3), t = Ag(t, "-", 6), t = t.replace("--", "").replace(/-$/, ""), t;
|
21545
|
-
},
|
21545
|
+
}, cF = (e) => e.replace(/-/g, "").slice(0, ty), uF = ({
|
21546
21546
|
value: e,
|
21547
21547
|
isErrored: t,
|
21548
21548
|
onChange: r,
|
@@ -21557,8 +21557,8 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21557
21557
|
fieldId: "ssn",
|
21558
21558
|
className: "sid-ssn__input",
|
21559
21559
|
refId: ct.socialSecurityNumber,
|
21560
|
-
value:
|
21561
|
-
onChange: (l) => r(
|
21560
|
+
value: lF(e),
|
21561
|
+
onChange: (l) => r(cF(l)),
|
21562
21562
|
placeholder: a || n.formatHTMLMessage({ id: "ssnPlaceholder", defaultMessage: "000-00-0000" }),
|
21563
21563
|
label: /* @__PURE__ */ u.jsx(P, { id: "ssn", defaultMessage: "Social Security Number" }),
|
21564
21564
|
errorMessage: t && /* @__PURE__ */ u.jsx(
|
@@ -21573,7 +21573,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21573
21573
|
disabled: o
|
21574
21574
|
}
|
21575
21575
|
);
|
21576
|
-
}, A3 = ze(
|
21576
|
+
}, A3 = ze(uF), dF = ({
|
21577
21577
|
value: e,
|
21578
21578
|
isErrored: t,
|
21579
21579
|
onChange: r,
|
@@ -21610,7 +21610,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21610
21610
|
disabled: i
|
21611
21611
|
}
|
21612
21612
|
);
|
21613
|
-
}, BS = ze(
|
21613
|
+
}, BS = ze(dF), fF = ({
|
21614
21614
|
fieldId: e,
|
21615
21615
|
value: t,
|
21616
21616
|
onChange: r,
|
@@ -21649,7 +21649,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21649
21649
|
] }),
|
21650
21650
|
a ? /* @__PURE__ */ u.jsx("div", { className: "sid-field-error", id: l, children: a }) : null
|
21651
21651
|
] });
|
21652
|
-
},
|
21652
|
+
}, pF = ({
|
21653
21653
|
value: e,
|
21654
21654
|
options: t,
|
21655
21655
|
onChange: r,
|
@@ -21691,7 +21691,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21691
21691
|
)
|
21692
21692
|
}
|
21693
21693
|
);
|
21694
|
-
},
|
21694
|
+
}, mF = ({
|
21695
21695
|
fieldId: e,
|
21696
21696
|
index: t,
|
21697
21697
|
option: r,
|
@@ -21718,7 +21718,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21718
21718
|
),
|
21719
21719
|
/* @__PURE__ */ u.jsx("span", { children: r.label })
|
21720
21720
|
] });
|
21721
|
-
},
|
21721
|
+
}, hF = ({
|
21722
21722
|
fieldId: e,
|
21723
21723
|
onChange: t,
|
21724
21724
|
options: r,
|
@@ -21745,7 +21745,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21745
21745
|
className: `sid-radio__inputs sid-${c}__inputs sid-radio-grid${s ? " sid-radio__inputs--error" : ""}`,
|
21746
21746
|
"aria-labelledby": d,
|
21747
21747
|
children: r.map((f, p) => /* @__PURE__ */ u.jsx(
|
21748
|
-
|
21748
|
+
mF,
|
21749
21749
|
{
|
21750
21750
|
fieldId: e,
|
21751
21751
|
index: p,
|
@@ -21767,7 +21767,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21767
21767
|
RADIO: "radio",
|
21768
21768
|
DATE: "date",
|
21769
21769
|
DATEYM: "dateYm"
|
21770
|
-
}, mo = (e) => `${e.fieldId}Label`, wa = (e) => `${e.fieldId}Explanation`,
|
21770
|
+
}, mo = (e) => `${e.fieldId}Label`, wa = (e) => `${e.fieldId}Explanation`, gF = (e) => `${e.fieldId}Placeholder`, fs = ze(
|
21771
21771
|
({ config: e, verificationService: t, intl: r }) => {
|
21772
21772
|
const n = ve(() => t.viewModel.metadata[e.fieldId]), a = ve(() => t.fieldValidationErrors[e.fieldId]), o = (s) => {
|
21773
21773
|
t.updateViewModel(
|
@@ -21790,7 +21790,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21790
21790
|
onChange: o,
|
21791
21791
|
disabled: e.disabled,
|
21792
21792
|
placeholder: r.formatHTMLMessage({
|
21793
|
-
id:
|
21793
|
+
id: gF(e),
|
21794
21794
|
defaultMessage: e.fieldId
|
21795
21795
|
}),
|
21796
21796
|
label: /* @__PURE__ */ u.jsx(
|
@@ -21814,7 +21814,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21814
21814
|
);
|
21815
21815
|
case zn.CHECKBOX:
|
21816
21816
|
return /* @__PURE__ */ u.jsx(
|
21817
|
-
|
21817
|
+
fF,
|
21818
21818
|
{
|
21819
21819
|
fieldId: e.fieldId,
|
21820
21820
|
value: typeof n == "boolean" ? n : !1,
|
@@ -21838,7 +21838,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21838
21838
|
);
|
21839
21839
|
case zn.SELECT:
|
21840
21840
|
return /* @__PURE__ */ u.jsx(
|
21841
|
-
|
21841
|
+
pF,
|
21842
21842
|
{
|
21843
21843
|
fieldId: e.fieldId,
|
21844
21844
|
value: `${n || ""}`,
|
@@ -21900,7 +21900,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21900
21900
|
);
|
21901
21901
|
case zn.RADIO:
|
21902
21902
|
return /* @__PURE__ */ u.jsx(
|
21903
|
-
|
21903
|
+
hF,
|
21904
21904
|
{
|
21905
21905
|
onChange: o,
|
21906
21906
|
value: `${n || ""}`,
|
@@ -21929,7 +21929,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
21929
21929
|
return A.warn(`Unknown field type: ${e.fieldType}`), null;
|
21930
21930
|
}
|
21931
21931
|
}
|
21932
|
-
),
|
21932
|
+
), yF = {
|
21933
21933
|
[ot.STUDENT]: [
|
21934
21934
|
"step.docUpload.acceptableUploads.student.idCard",
|
21935
21935
|
// 'School ID card with expiration date'
|
@@ -22018,7 +22018,7 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
22018
22018
|
],
|
22019
22019
|
[ot.MILITARY]: [],
|
22020
22020
|
[ot.IDENTITY]: []
|
22021
|
-
},
|
22021
|
+
}, vF = {
|
22022
22022
|
[et.ACTIVE_DUTY]: [
|
22023
22023
|
"step.docUpload.acceptableUploads.military.activeDuty",
|
22024
22024
|
// "Any document that proves you are currently serving as active duty in the armed forces for 30 days or more"
|
@@ -22073,15 +22073,15 @@ const Jj = /* @__PURE__ */ Cr(Xj), Qj = ({
|
|
22073
22073
|
[et.GENERAL_CONTRACTOR]: [],
|
22074
22074
|
[et.NUTRITION_PROFESSIONAL]: []
|
22075
22075
|
};
|
22076
|
-
function
|
22077
|
-
return [...t === et.MILITARY_FAMILY && (r != null && r.hideMilitaryFamilyAcceptableUploads) ? [] :
|
22076
|
+
function bF(e, t, r) {
|
22077
|
+
return [...t === et.MILITARY_FAMILY && (r != null && r.hideMilitaryFamilyAcceptableUploads) ? [] : vF[t] || [], ...yF[e] || []];
|
22078
22078
|
}
|
22079
22079
|
const N3 = ({ verificationService: e }) => {
|
22080
22080
|
const { segment: t } = e.verificationResponse, { subSegment: r } = e.verificationResponse;
|
22081
22081
|
Lf();
|
22082
22082
|
const { hideMilitaryFamilyAcceptableUploads: n } = Ie();
|
22083
22083
|
Sd(t);
|
22084
|
-
const a =
|
22084
|
+
const a = bF(t, r, {
|
22085
22085
|
hideMilitaryFamilyAcceptableUploads: n
|
22086
22086
|
});
|
22087
22087
|
return a.length < 1 ? null : /* @__PURE__ */ u.jsxs("div", { className: "sid-acceptable-uploads-list-block sid-l-space-top-md", children: [
|
@@ -22532,7 +22532,7 @@ const N3 = ({ verificationService: e }) => {
|
|
22532
22532
|
return null;
|
22533
22533
|
}
|
22534
22534
|
};
|
22535
|
-
var
|
22535
|
+
var IF = function() {
|
22536
22536
|
var e = document.getSelection();
|
22537
22537
|
if (!e.rangeCount)
|
22538
22538
|
return function() {
|
@@ -22553,20 +22553,20 @@ var SF = function() {
|
|
22553
22553
|
e.addRange(a);
|
22554
22554
|
}), t && t.focus();
|
22555
22555
|
};
|
22556
|
-
},
|
22556
|
+
}, SF = IF, Ng = {
|
22557
22557
|
"text/plain": "Text",
|
22558
22558
|
"text/html": "Url",
|
22559
22559
|
default: "Text"
|
22560
|
-
},
|
22561
|
-
function
|
22560
|
+
}, MF = "Copy to clipboard: #{key}, Enter";
|
22561
|
+
function EF(e) {
|
22562
22562
|
var t = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
|
22563
22563
|
return e.replace(/#{\s*key\s*}/g, t);
|
22564
22564
|
}
|
22565
|
-
function
|
22565
|
+
function wF(e, t) {
|
22566
22566
|
var r, n, a, o, s, i, l = !1;
|
22567
22567
|
t || (t = {}), r = t.debug || !1;
|
22568
22568
|
try {
|
22569
|
-
a =
|
22569
|
+
a = SF(), o = document.createRange(), s = document.getSelection(), i = document.createElement("span"), i.textContent = e, i.ariaHidden = "true", i.style.all = "unset", i.style.position = "fixed", i.style.top = 0, i.style.clip = "rect(0, 0, 0, 0)", i.style.whiteSpace = "pre", i.style.webkitUserSelect = "text", i.style.MozUserSelect = "text", i.style.msUserSelect = "text", i.style.userSelect = "text", i.addEventListener("copy", function(d) {
|
22570
22570
|
if (d.stopPropagation(), t.format)
|
22571
22571
|
if (d.preventDefault(), typeof d.clipboardData > "u") {
|
22572
22572
|
r && console.warn("unable to use e.clipboardData"), r && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
@@ -22585,29 +22585,29 @@ function xF(e, t) {
|
|
22585
22585
|
try {
|
22586
22586
|
window.clipboardData.setData(t.format || "text", e), t.onCopy && t.onCopy(window.clipboardData), l = !0;
|
22587
22587
|
} catch (f) {
|
22588
|
-
r && console.error("unable to copy using clipboardData: ", f), r && console.error("falling back to prompt"), n =
|
22588
|
+
r && console.error("unable to copy using clipboardData: ", f), r && console.error("falling back to prompt"), n = EF("message" in t ? t.message : MF), window.prompt(n, e);
|
22589
22589
|
}
|
22590
22590
|
} finally {
|
22591
22591
|
s && (typeof s.removeRange == "function" ? s.removeRange(o) : s.removeAllRanges()), i && document.body.removeChild(i), a();
|
22592
22592
|
}
|
22593
22593
|
return l;
|
22594
22594
|
}
|
22595
|
-
var
|
22596
|
-
const
|
22595
|
+
var xF = wF;
|
22596
|
+
const CF = /* @__PURE__ */ Cr(xF), TF = 2e3, PF = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden", RF = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible";
|
22597
22597
|
class D3 extends te.Component {
|
22598
22598
|
// VS Code wants "Timer" but tsc wants "number". TODO - figure out a fix to be more specific here.
|
22599
22599
|
constructor(r) {
|
22600
22600
|
super(r);
|
22601
22601
|
Xe(this, "notificationTimeout");
|
22602
22602
|
Xe(this, "timeoutRef");
|
22603
|
-
this.doCopy = this.doCopy.bind(this), this.state = { isShowing: !1 }, r.notificationTimeout ? this.notificationTimeout = r.notificationTimeout : this.notificationTimeout =
|
22603
|
+
this.doCopy = this.doCopy.bind(this), this.state = { isShowing: !1 }, r.notificationTimeout ? this.notificationTimeout = r.notificationTimeout : this.notificationTimeout = TF;
|
22604
22604
|
}
|
22605
22605
|
componentWillUnmount() {
|
22606
22606
|
clearTimeout(this.timeoutRef);
|
22607
22607
|
}
|
22608
22608
|
doCopy() {
|
22609
22609
|
const { textToCopy: r } = this.props;
|
22610
|
-
|
22610
|
+
CF(r), this.setState(() => ({ isShowing: !0 })), clearTimeout(this.timeoutRef), this.timeoutRef = setTimeout(() => {
|
22611
22611
|
this.setState(() => ({ isShowing: !1 }));
|
22612
22612
|
}, this.notificationTimeout);
|
22613
22613
|
}
|
@@ -22617,7 +22617,7 @@ class D3 extends te.Component {
|
|
22617
22617
|
/* @__PURE__ */ u.jsx(
|
22618
22618
|
"div",
|
22619
22619
|
{
|
22620
|
-
className: `${r ?
|
22620
|
+
className: `${r ? RF : PF}`,
|
22621
22621
|
role: "status",
|
22622
22622
|
"aria-live": "polite",
|
22623
22623
|
"aria-atomic": !0,
|
@@ -22638,7 +22638,7 @@ class D3 extends te.Component {
|
|
22638
22638
|
] });
|
22639
22639
|
}
|
22640
22640
|
}
|
22641
|
-
const
|
22641
|
+
const AF = ({
|
22642
22642
|
verificationService: e,
|
22643
22643
|
includeCompanyName: t,
|
22644
22644
|
intl: r
|
@@ -22648,10 +22648,10 @@ const NF = ({
|
|
22648
22648
|
t ? /* @__PURE__ */ u.jsx("span", { children: o }) : null,
|
22649
22649
|
/* @__PURE__ */ u.jsx(P, { id: "privacyPolicy", defaultMessage: "Privacy Policy" })
|
22650
22650
|
] });
|
22651
|
-
}, k3 = ze(
|
22651
|
+
}, k3 = ze(AF), yc = ({ verificationService: e, suffix: t }) => e.messages[`extraMessage${t}`] ? /* @__PURE__ */ u.jsxs("div", { className: `sid-extra-message sid-extra-message-${t}`, children: [
|
22652
22652
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-md" }),
|
22653
22653
|
/* @__PURE__ */ u.jsx(P, { id: `extraMessage${t}`, defaultMessage: " " })
|
22654
|
-
] }) : null,
|
22654
|
+
] }) : null, NF = ({
|
22655
22655
|
value: e,
|
22656
22656
|
isErrored: t,
|
22657
22657
|
onChange: r,
|
@@ -22692,7 +22692,7 @@ const NF = ({
|
|
22692
22692
|
disabled: i
|
22693
22693
|
}
|
22694
22694
|
);
|
22695
|
-
}, _3 = ze(
|
22695
|
+
}, _3 = ze(NF), OF = ({
|
22696
22696
|
value: e,
|
22697
22697
|
isErrored: t,
|
22698
22698
|
onChange: r,
|
@@ -22729,7 +22729,7 @@ const NF = ({
|
|
22729
22729
|
disabled: s
|
22730
22730
|
}
|
22731
22731
|
);
|
22732
|
-
}, L3 = ze(
|
22732
|
+
}, L3 = ze(OF), DF = ({
|
22733
22733
|
value: e,
|
22734
22734
|
isErrored: t,
|
22735
22735
|
onChange: r,
|
@@ -22764,7 +22764,7 @@ const NF = ({
|
|
22764
22764
|
disabled: s
|
22765
22765
|
}
|
22766
22766
|
);
|
22767
|
-
}, U3 = ze(
|
22767
|
+
}, U3 = ze(DF), kF = ({
|
22768
22768
|
value: e,
|
22769
22769
|
isErrored: t,
|
22770
22770
|
onChange: r,
|
@@ -22799,7 +22799,7 @@ const NF = ({
|
|
22799
22799
|
disabled: s
|
22800
22800
|
}
|
22801
22801
|
);
|
22802
|
-
}, j3 = ze(
|
22802
|
+
}, j3 = ze(kF), _F = ({
|
22803
22803
|
value: e,
|
22804
22804
|
isErrored: t,
|
22805
22805
|
onChange: r,
|
@@ -22900,7 +22900,7 @@ const NF = ({
|
|
22900
22900
|
disabled: i
|
22901
22901
|
}
|
22902
22902
|
) : /* @__PURE__ */ u.jsx(jl, {});
|
22903
|
-
},
|
22903
|
+
}, LF = ze(_F), UF = ({
|
22904
22904
|
value: e,
|
22905
22905
|
isErrored: t,
|
22906
22906
|
errorId: r = "invalidStatus",
|
@@ -22939,7 +22939,7 @@ const NF = ({
|
|
22939
22939
|
)
|
22940
22940
|
}
|
22941
22941
|
);
|
22942
|
-
}, VS = ze(
|
22942
|
+
}, VS = ze(UF), F3 = (e, t) => ve(() => e.openOrgSearchEnabled) && ve(() => t.organization.id) === 0 && ve(() => t.organization.name, "").length > 0, jF = ({ logo: e, cancelSSO: t }) => /* @__PURE__ */ u.jsx(
|
22943
22943
|
Jl,
|
22944
22944
|
{
|
22945
22945
|
stepName: Ue.sso,
|
@@ -22947,7 +22947,7 @@ const NF = ({
|
|
22947
22947
|
logo: e,
|
22948
22948
|
cancelSingleSignOn: t
|
22949
22949
|
}
|
22950
|
-
), $3 =
|
22950
|
+
), $3 = jF, FF = ({ useSsn: e, useDocUpload: t, verificationService: r }) => /* @__PURE__ */ u.jsxs("div", { id: "sid-ssn-choice", className: "sid-ssn-choice-container sid-l-container sid-l-horz-center", children: [
|
22951
22951
|
/* @__PURE__ */ u.jsxs("div", { role: "main", children: [
|
22952
22952
|
/* @__PURE__ */ u.jsxs("div", { className: "sid-header", children: [
|
22953
22953
|
/* @__PURE__ */ u.jsx("div", { className: "sid-ssn-choice-logo-container sid-l-horz-center", children: /* @__PURE__ */ u.jsx(Dn, { verificationService: r }) }),
|
@@ -22992,7 +22992,7 @@ const NF = ({
|
|
22992
22992
|
) })
|
22993
22993
|
] }),
|
22994
22994
|
/* @__PURE__ */ u.jsx("div", { className: "sid-ssn-choice__footer sid-l-space-top-lg", children: /* @__PURE__ */ u.jsx(ts, { verificationService: r }) })
|
22995
|
-
] }), B3 =
|
22995
|
+
] }), B3 = FF, V3 = (e) => (t, r) => {
|
22996
22996
|
const n = r && r.smsLoopEnabled || e !== "US";
|
22997
22997
|
return wy(n)(t);
|
22998
22998
|
}, H3 = (e) => (t) => {
|
@@ -23001,7 +23001,7 @@ const NF = ({
|
|
23001
23001
|
}, z3 = (e) => (t, r) => {
|
23002
23002
|
if ((r && r.smsLoopEnabled || e !== "US") && !t)
|
23003
23003
|
return "invalidCarrierConsentValue";
|
23004
|
-
},
|
23004
|
+
}, $F = ({
|
23005
23005
|
verificationService: e,
|
23006
23006
|
viewModelDraftDecorator: t = void 0,
|
23007
23007
|
intl: r,
|
@@ -23053,7 +23053,7 @@ const NF = ({
|
|
23053
23053
|
);
|
23054
23054
|
Ef(m, e);
|
23055
23055
|
}, [e.viewModel.countryChoice]), !c || d ? null : /* @__PURE__ */ u.jsx(
|
23056
|
-
|
23056
|
+
Kj,
|
23057
23057
|
{
|
23058
23058
|
isRequired: !0,
|
23059
23059
|
options: i,
|
@@ -23066,7 +23066,7 @@ const NF = ({
|
|
23066
23066
|
}
|
23067
23067
|
}
|
23068
23068
|
);
|
23069
|
-
}, HS = ze(
|
23069
|
+
}, HS = ze($F), G3 = (e) => (t) => e === "RESERVIST" ? hp.includes(t.name) : e === "ACTIVE_DUTY" ? !hp.includes(t.name) : !!t.name, BF = (e, t, r, n) => {
|
23070
23070
|
const a = r.viewModel;
|
23071
23071
|
return st(
|
23072
23072
|
a,
|
@@ -23077,7 +23077,7 @@ const NF = ({
|
|
23077
23077
|
});
|
23078
23078
|
}
|
23079
23079
|
);
|
23080
|
-
},
|
23080
|
+
}, VF = ({
|
23081
23081
|
onChange: e,
|
23082
23082
|
errorId: t,
|
23083
23083
|
isErrored: r = !!t,
|
@@ -23107,7 +23107,7 @@ const NF = ({
|
|
23107
23107
|
errorMsg: /* @__PURE__ */ u.jsx(P, { id: `errorId.${t}`, defaultMessage: "Invalid start date" })
|
23108
23108
|
}
|
23109
23109
|
);
|
23110
|
-
},
|
23110
|
+
}, HF = (e) => {
|
23111
23111
|
try {
|
23112
23112
|
const t = e.target instanceof HTMLInputElement ? e.target : void 0;
|
23113
23113
|
if (t && (t.id || t.name)) {
|
@@ -23129,21 +23129,13 @@ const NF = ({
|
|
23129
23129
|
className: r,
|
23130
23130
|
children: n
|
23131
23131
|
}) => {
|
23132
|
-
const a =
|
23133
|
-
|
23134
|
-
case "14px":
|
23135
|
-
s.push("_experiment_sid-font-md");
|
23136
|
-
break;
|
23137
|
-
case "16px":
|
23138
|
-
s.push("_experiment_sid-font-lg");
|
23139
|
-
break;
|
23140
|
-
}
|
23141
|
-
return /* @__PURE__ */ u.jsxs("div", { id: `sid-step-${o}`, className: s.join(" "), onPaste: zF, children: [
|
23132
|
+
const a = Et(e).replace(/^collect-/, ""), o = [`sid-${a}-container`, "sid-l-container", "sid-left-align"];
|
23133
|
+
return r && o.push(r), /* @__PURE__ */ u.jsxs("div", { id: `sid-step-${a}`, className: o.join(" "), onPaste: HF, children: [
|
23142
23134
|
/* @__PURE__ */ u.jsx("div", { role: "main", children: n }),
|
23143
23135
|
/* @__PURE__ */ u.jsx(ts, { verificationService: t })
|
23144
23136
|
] });
|
23145
|
-
},
|
23146
|
-
const [t] = te.useState(
|
23137
|
+
}, zF = "collect-info-submission-time", GF = "collect-info-submit", W3 = "doc-upload-submit", q3 = "doc-upload-submission-time", WF = () => Math.random().toString(36).substr(2, 9), qF = (e) => {
|
23138
|
+
const [t] = te.useState(WF()), r = pb();
|
23147
23139
|
return te.useEffect(() => {
|
23148
23140
|
try {
|
23149
23141
|
performance.mark(t);
|
@@ -23178,7 +23170,7 @@ const NF = ({
|
|
23178
23170
|
}
|
23179
23171
|
}
|
23180
23172
|
};
|
23181
|
-
},
|
23173
|
+
}, KF = {
|
23182
23174
|
collectStudentPersonalInfo: "sid-student--submit",
|
23183
23175
|
collectSeniorPersonalInfo: "sid-senior-submit",
|
23184
23176
|
collectTeacherPersonalInfo: "sid-teacher-submit",
|
@@ -23198,7 +23190,7 @@ const NF = ({
|
|
23198
23190
|
collectAgePersonalInfo: "sid-age-personal-info-submit",
|
23199
23191
|
collectIdentifier: "sid-identifier-submit",
|
23200
23192
|
collectPersonalInfo: "sid-personal-info-submit"
|
23201
|
-
},
|
23193
|
+
}, YF = {
|
23202
23194
|
collectStudentPersonalInfo: "sid-student-submit-btn",
|
23203
23195
|
collectSeniorPersonalInfo: "sid-senior-submit-btn",
|
23204
23196
|
collectTeacherPersonalInfo: "sid-teacher-submit-btn",
|
@@ -23218,7 +23210,7 @@ const NF = ({
|
|
23218
23210
|
collectAgePersonalInfo: "sid-age-personal-info-btn",
|
23219
23211
|
collectIdentifier: "sid-identifier-submit-btn",
|
23220
23212
|
collectPersonalInfo: "sid-personal-info-submit-btn"
|
23221
|
-
},
|
23213
|
+
}, ZF = [
|
23222
23214
|
Ue.collectMoverPersonalInfo,
|
23223
23215
|
Ue.collectStudentPersonalInfo,
|
23224
23216
|
Ue.collectEmployeePersonalInfo
|
@@ -23229,7 +23221,7 @@ const NF = ({
|
|
23229
23221
|
buttonText: n,
|
23230
23222
|
failedInstantMatch: a = !1
|
23231
23223
|
}) => {
|
23232
|
-
const { userDidConvert: o, getTimeOnForm: s } =
|
23224
|
+
const { userDidConvert: o, getTimeOnForm: s } = qF(
|
23233
23225
|
t.verificationResponse.segment
|
23234
23226
|
);
|
23235
23227
|
Mt(() => {
|
@@ -23251,8 +23243,8 @@ const NF = ({
|
|
23251
23243
|
} catch {
|
23252
23244
|
A.warn("Unable to measure time on form");
|
23253
23245
|
}
|
23254
|
-
o(
|
23255
|
-
}, l =
|
23246
|
+
o(GF, zF);
|
23247
|
+
}, l = KF[e], c = YF[e], d = ZF.includes(e) ? "sid-submit-wrapper__collect-info" : "sid-submit-btn-collect-info", f = a ? /* @__PURE__ */ u.jsx(P, { id: "tryAgain", defaultMessage: "Try Again" }) : n, p = e === Ue.collectEmployeePersonalInfo ? { className: "sid-employment-submit-btn__text" } : {}, m = !Ey(r, t.formValidationOptions);
|
23256
23248
|
return /* @__PURE__ */ u.jsx("div", { className: "sid-form-region sid-submit-wrapper sid-l-space-top-md", children: /* @__PURE__ */ u.jsx("div", { className: `${l} sid-submit`, children: /* @__PURE__ */ u.jsx(
|
23257
23249
|
"button",
|
23258
23250
|
{
|
@@ -23274,7 +23266,7 @@ const NF = ({
|
|
23274
23266
|
var p, m, y, h, v, M, I, E, b, x, F;
|
23275
23267
|
const r = t.viewModel, n = t.previousViewModel, { fieldValidationErrors: a } = t, o = t.verificationResponse, s = ia(o), i = dD(t, e), l = r.localeChoice.value, c = Ie(), d = (T, B) => {
|
23276
23268
|
t.updateViewModel(
|
23277
|
-
|
23269
|
+
BF(T, B, t, i)
|
23278
23270
|
);
|
23279
23271
|
}, f = () => {
|
23280
23272
|
const T = st(r, () => {
|
@@ -23330,7 +23322,7 @@ const NF = ({
|
|
23330
23322
|
}
|
23331
23323
|
) : null,
|
23332
23324
|
/* @__PURE__ */ u.jsx(
|
23333
|
-
|
23325
|
+
Sj,
|
23334
23326
|
{
|
23335
23327
|
isErrored: !!a.organization,
|
23336
23328
|
onChange: (T) => {
|
@@ -23381,7 +23373,7 @@ const NF = ({
|
|
23381
23373
|
}
|
23382
23374
|
),
|
23383
23375
|
t.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ u.jsx(
|
23384
|
-
|
23376
|
+
VF,
|
23385
23377
|
{
|
23386
23378
|
errorId: a.activeDutyStartDate,
|
23387
23379
|
locale: l,
|
@@ -23470,7 +23462,7 @@ const NF = ({
|
|
23470
23462
|
]
|
23471
23463
|
}
|
23472
23464
|
);
|
23473
|
-
}, Og = ze(zS),
|
23465
|
+
}, Og = ze(zS), XF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
23474
23466
|
__proto__: null,
|
23475
23467
|
StepActiveMilitaryPersonalInfo: zS,
|
23476
23468
|
StepActiveMilitaryPersonalInfoComponent: Og,
|
@@ -23784,7 +23776,7 @@ const NF = ({
|
|
23784
23776
|
segment: "student",
|
23785
23777
|
subSegment: null,
|
23786
23778
|
locale: "en-US"
|
23787
|
-
},
|
23779
|
+
}, JF = {
|
23788
23780
|
collectStudentPersonalInfo: GS,
|
23789
23781
|
collectTeacherPersonalInfo: WS,
|
23790
23782
|
collectMemberPersonalInfo: qS,
|
@@ -23826,9 +23818,9 @@ const NF = ({
|
|
23826
23818
|
thirdPartyLoop: MM
|
23827
23819
|
};
|
23828
23820
|
Wg.TEXT;
|
23829
|
-
const
|
23821
|
+
const QF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
23830
23822
|
__proto__: null,
|
23831
|
-
allMockedResponses:
|
23823
|
+
allMockedResponses: JF,
|
23832
23824
|
mockActiveMilitaryPersonalInfoResponse: XS,
|
23833
23825
|
mockAgePersonalInfoResponse: YS,
|
23834
23826
|
mockCancelDocUploadResponse: PM,
|
@@ -23902,7 +23894,7 @@ const K3 = ze(RM), Y3 = {
|
|
23902
23894
|
NL: "^\\d{4} ?[A-Z]{2}$",
|
23903
23895
|
ES: "^\\d{5}$",
|
23904
23896
|
GB: "^GIR ?0AA|(?:(?:AB|AL|B|BA|BB|BD|BH|BL|BN|BR|BS|BT|BX|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(?:\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}))|BFPO ?\\d{1,4}$"
|
23905
|
-
},
|
23897
|
+
}, e$ = {
|
23906
23898
|
INLINE_IFRAME_CONTENT: "sid-inline-iframe",
|
23907
23899
|
MODAL_WRAPPER: "sid-modal__wrapper",
|
23908
23900
|
MODAL_IFRAME: "sid-modal__iframe",
|
@@ -23911,10 +23903,10 @@ const K3 = ze(RM), Y3 = {
|
|
23911
23903
|
CLOSE_TEXT: "sid-modal__close-text",
|
23912
23904
|
CLOSE_ICON: "sid-modal__close-icon"
|
23913
23905
|
}, AM = "SheerID Verification Form", an = {
|
23914
|
-
CLASS_NAMES:
|
23906
|
+
CLASS_NAMES: e$,
|
23915
23907
|
DEFAULT_MOBILE_THRESHOLD_WIDTH: 620,
|
23916
23908
|
MODAL_OPACITY_TRANSITION_PERIOD: 300
|
23917
|
-
},
|
23909
|
+
}, t$ = (e) => {
|
23918
23910
|
e.forEach((t) => {
|
23919
23911
|
t.classList.add("fade-in");
|
23920
23912
|
});
|
@@ -23930,7 +23922,7 @@ const K3 = ze(RM), Y3 = {
|
|
23930
23922
|
}, OM = {
|
23931
23923
|
className: an.CLASS_NAMES.INLINE_IFRAME_CONTENT,
|
23932
23924
|
title: AM
|
23933
|
-
},
|
23925
|
+
}, r$ = (e) => {
|
23934
23926
|
if (typeof e != "function")
|
23935
23927
|
throw new Error(`Expected type "function", but received ${typeof e}`);
|
23936
23928
|
};
|
@@ -23973,7 +23965,7 @@ class Za extends ov {
|
|
23973
23965
|
// otherwise call it immediately
|
23974
23966
|
addOnLoadEvent(r) {
|
23975
23967
|
try {
|
23976
|
-
|
23968
|
+
r$(r);
|
23977
23969
|
} catch {
|
23978
23970
|
A.error("Invalid callback provided to iFrame.onLoad()", "iframe addOnLoadEvent");
|
23979
23971
|
return;
|
@@ -24024,7 +24016,7 @@ class Za extends ov {
|
|
24024
24016
|
r && this.createIframe(OM), this.addActionListener(), this.containerElement.appendChild(this.iframe);
|
24025
24017
|
}
|
24026
24018
|
}
|
24027
|
-
class
|
24019
|
+
class n$ extends Za {
|
24028
24020
|
constructor(t, r) {
|
24029
24021
|
super(t, r), this.verificationUrl = new URL(this.getAffinityUrlWithUID(r));
|
24030
24022
|
}
|
@@ -24108,7 +24100,7 @@ class sp {
|
|
24108
24100
|
}
|
24109
24101
|
displayModal() {
|
24110
24102
|
this.iframeInstance.iframe.addEventListener("load", () => {
|
24111
|
-
|
24103
|
+
t$([this.overlay, this.wrapper]), document.body.style.overflow = "hidden", this.isInLightboxPostMessage("true");
|
24112
24104
|
}), document.body.appendChild(this.overlay), document.body.appendChild(this.wrapper), this.addPopStateListener();
|
24113
24105
|
}
|
24114
24106
|
init() {
|
@@ -24130,7 +24122,7 @@ function X3(e, t = {}) {
|
|
24130
24122
|
return r.init(), r;
|
24131
24123
|
}
|
24132
24124
|
function J3(e, t) {
|
24133
|
-
const r = new
|
24125
|
+
const r = new n$(e, t);
|
24134
24126
|
return r.init(), r;
|
24135
24127
|
}
|
24136
24128
|
const DM = ({
|
@@ -24284,7 +24276,7 @@ const DM = ({
|
|
24284
24276
|
]
|
24285
24277
|
}
|
24286
24278
|
);
|
24287
|
-
}, kg = ze(DM),
|
24279
|
+
}, kg = ze(DM), a$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
24288
24280
|
__proto__: null,
|
24289
24281
|
StepDriverLicensePersonalInfo: DM,
|
24290
24282
|
StepDriverLicensePersonalInfoComponent: kg,
|
@@ -24475,7 +24467,7 @@ const DM = ({
|
|
24475
24467
|
]
|
24476
24468
|
}
|
24477
24469
|
);
|
24478
|
-
}, _g = ze(kM),
|
24470
|
+
}, _g = ze(kM), o$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
24479
24471
|
__proto__: null,
|
24480
24472
|
StepGeneralIdentityPersonalInfo: kM,
|
24481
24473
|
StepGeneralIdentityPersonalInfoComponent: _g,
|
@@ -24681,12 +24673,12 @@ const DM = ({
|
|
24681
24673
|
]
|
24682
24674
|
}
|
24683
24675
|
);
|
24684
|
-
}, Lg = ze(_M),
|
24676
|
+
}, Lg = ze(_M), s$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
24685
24677
|
__proto__: null,
|
24686
24678
|
StepHybridIdentityPersonalInfo: _M,
|
24687
24679
|
StepHybridIdentityPersonalInfoComponent: Lg,
|
24688
24680
|
default: Lg
|
24689
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
24681
|
+
}, Symbol.toStringTag, { value: "Module" })), i$ = ({
|
24690
24682
|
value: e,
|
24691
24683
|
isErrored: t,
|
24692
24684
|
onChange: r,
|
@@ -24717,7 +24709,7 @@ const DM = ({
|
|
24717
24709
|
disabled: o
|
24718
24710
|
}
|
24719
24711
|
);
|
24720
|
-
},
|
24712
|
+
}, l$ = ze(i$), c$ = ({
|
24721
24713
|
intl: e,
|
24722
24714
|
verificationService: t
|
24723
24715
|
}) => {
|
@@ -24793,7 +24785,7 @@ const DM = ({
|
|
24793
24785
|
}
|
24794
24786
|
),
|
24795
24787
|
l === "SNAP_BENEFITS" && /* @__PURE__ */ u.jsx(
|
24796
|
-
|
24788
|
+
l$,
|
24797
24789
|
{
|
24798
24790
|
value: r.ebtCardNumber,
|
24799
24791
|
isErrored: !!a.ebtCardNumber,
|
@@ -24804,7 +24796,7 @@ const DM = ({
|
|
24804
24796
|
}
|
24805
24797
|
),
|
24806
24798
|
(l === "OTHER_GOVERNMENT_ASSISTANCE" || l === "COMMUNITY_ELIGIBILITY_PROVISION") && /* @__PURE__ */ u.jsx(
|
24807
|
-
|
24799
|
+
LF,
|
24808
24800
|
{
|
24809
24801
|
isErrored: !!a.organization,
|
24810
24802
|
onChange: (O) => {
|
@@ -24968,7 +24960,7 @@ const DM = ({
|
|
24968
24960
|
]
|
24969
24961
|
}
|
24970
24962
|
);
|
24971
|
-
}, Q3 = ze(
|
24963
|
+
}, Q3 = ze(c$), u$ = ({
|
24972
24964
|
value: e,
|
24973
24965
|
isErrored: t,
|
24974
24966
|
onChange: r,
|
@@ -24997,7 +24989,7 @@ const DM = ({
|
|
24997
24989
|
),
|
24998
24990
|
showPlaceholderAndHideLabel: !!n
|
24999
24991
|
}
|
25000
|
-
),
|
24992
|
+
), d$ = ze(u$), f$ = ({ intl: e, verificationService: t }) => {
|
25001
24993
|
const r = t.viewModel, n = t.verificationResponse, { fieldValidationErrors: a } = t, [o, s] = te.useState(""), i = n.errorIds && n.errorIds.includes("incorrectVerificationOverrideCodeAttemptLimitExceeded"), l = e.formatHTMLMessage({
|
25002
24994
|
id: "step.override.errors.codeOverrideLimit",
|
25003
24995
|
defaultMessage: "Override code limit exceeded."
|
@@ -25059,7 +25051,7 @@ const DM = ({
|
|
25059
25051
|
}
|
25060
25052
|
) }),
|
25061
25053
|
/* @__PURE__ */ u.jsx(
|
25062
|
-
|
25054
|
+
d$,
|
25063
25055
|
{
|
25064
25056
|
value: r.overrideCode,
|
25065
25057
|
isErrored: !!a.overrideCode,
|
@@ -25092,10 +25084,10 @@ const DM = ({
|
|
25092
25084
|
]
|
25093
25085
|
}
|
25094
25086
|
);
|
25095
|
-
}, eB = ze(
|
25087
|
+
}, eB = ze(f$), tB = async (e, t) => {
|
25096
25088
|
const r = await An.fetchProgramTheme(t);
|
25097
25089
|
ve(() => r.threatMetrixEnabled, !1) && lv(e), yI(r, e);
|
25098
|
-
},
|
25090
|
+
}, p$ = ({
|
25099
25091
|
icon: e,
|
25100
25092
|
title: t,
|
25101
25093
|
subtitle: r = void 0,
|
@@ -25112,10 +25104,10 @@ const DM = ({
|
|
25112
25104
|
] })
|
25113
25105
|
]
|
25114
25106
|
}
|
25115
|
-
), rB =
|
25107
|
+
), rB = p$;
|
25116
25108
|
var vi = {}, ip = {};
|
25117
25109
|
Object.defineProperty(ip, "__esModule", { value: !0 });
|
25118
|
-
const
|
25110
|
+
const m$ = [
|
25119
25111
|
{
|
25120
25112
|
country: "Afghanistan",
|
25121
25113
|
alpha2: "AF",
|
@@ -26611,7 +26603,7 @@ const h$ = [
|
|
26611
26603
|
numeric: "716"
|
26612
26604
|
}
|
26613
26605
|
];
|
26614
|
-
ip.default =
|
26606
|
+
ip.default = m$;
|
26615
26607
|
(function(e) {
|
26616
26608
|
var t = Yn && Yn.__importDefault || function(n) {
|
26617
26609
|
return n && n.__esModule ? n : { default: n };
|
@@ -26626,7 +26618,7 @@ ip.default = h$;
|
|
26626
26618
|
whereNumeric: e.whereNumeric
|
26627
26619
|
};
|
26628
26620
|
})(vi);
|
26629
|
-
const
|
26621
|
+
const h$ = ({ icon: e, title: t, subtitle: r, setDocType: n }) => /* @__PURE__ */ u.jsxs("button", { className: "sid-id-check-doc-type-card", type: "button", onClick: n, children: [
|
26630
26622
|
/* @__PURE__ */ u.jsxs("div", { className: "sid-id-check-doc-type-card__content", children: [
|
26631
26623
|
/* @__PURE__ */ u.jsx("div", { className: "sid-id-check-doc-type-card__header", children: /* @__PURE__ */ u.jsx("div", { className: "sid-id-check-doc-type-card__icon", children: e }) }),
|
26632
26624
|
/* @__PURE__ */ u.jsxs("div", { className: "sid-id-check-doc-type-card__label", children: [
|
@@ -26641,7 +26633,7 @@ const g$ = ({ icon: e, title: t, subtitle: r, setDocType: n }) => /* @__PURE__ *
|
|
26641
26633
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/chevron-right.svg"
|
26642
26634
|
}
|
26643
26635
|
)
|
26644
|
-
] }),
|
26636
|
+
] }), g$ = h$, Ug = "onfido", Zs = {
|
26645
26637
|
[go.PASSPORT]: {
|
26646
26638
|
title: /* @__PURE__ */ u.jsx(
|
26647
26639
|
P,
|
@@ -26710,7 +26702,7 @@ const g$ = ({ icon: e, title: t, subtitle: r, setDocType: n }) => /* @__PURE__ *
|
|
26710
26702
|
),
|
26711
26703
|
imgSrc: "https://assets-resources.sheerid.com/common/images/2018/icons/government-id.svg"
|
26712
26704
|
}
|
26713
|
-
},
|
26705
|
+
}, y$ = ({ verificationService: e, intl: t }) => {
|
26714
26706
|
const r = e.verificationResponse, { formButtonColor: n, formButtonFontColor: a, formLinkColor: o, formPrimaryFontColor: s } = te.useContext(hS), i = r.country === void 0 ? void 0 : {
|
26715
26707
|
value: r.country,
|
26716
26708
|
label: t.formatHTMLMessage({
|
@@ -26830,7 +26822,7 @@ const g$ = ({ icon: e, title: t, subtitle: r, setDocType: n }) => /* @__PURE__ *
|
|
26830
26822
|
}
|
26831
26823
|
),
|
26832
26824
|
p.map((E) => Object.prototype.hasOwnProperty.call(Zs, E.documentType) ? /* @__PURE__ */ u.jsx(
|
26833
|
-
|
26825
|
+
g$,
|
26834
26826
|
{
|
26835
26827
|
icon: /* @__PURE__ */ u.jsx(
|
26836
26828
|
"img",
|
@@ -26849,7 +26841,7 @@ const g$ = ({ icon: e, title: t, subtitle: r, setDocType: n }) => /* @__PURE__ *
|
|
26849
26841
|
] })
|
26850
26842
|
] })
|
26851
26843
|
] });
|
26852
|
-
}, nB = ze(
|
26844
|
+
}, nB = ze(y$), v$ = async (e, t, r) => {
|
26853
26845
|
A.info(`uploading files to ${e}`);
|
26854
26846
|
const n = new FormData();
|
26855
26847
|
return n.append("frontImage", t), n.append("backImage", r), fetch(e, {
|
@@ -26884,7 +26876,7 @@ const g$ = ({ icon: e, title: t, subtitle: r, setDocType: n }) => /* @__PURE__ *
|
|
26884
26876
|
] })
|
26885
26877
|
] });
|
26886
26878
|
};
|
26887
|
-
function
|
26879
|
+
function b$({
|
26888
26880
|
title: e,
|
26889
26881
|
titleId: t,
|
26890
26882
|
...r
|
@@ -26907,7 +26899,7 @@ function I$({
|
|
26907
26899
|
d: "M12 4.5v15m7.5-7.5h-15"
|
26908
26900
|
}));
|
26909
26901
|
}
|
26910
|
-
const
|
26902
|
+
const I$ = /* @__PURE__ */ k.forwardRef(b$);
|
26911
26903
|
var dd = /* @__PURE__ */ ((e) => (e.FRONT = "FRONT", e.BACK = "BACK", e))(dd || {});
|
26912
26904
|
const Fg = ({ addFile: e, upload: t, imageSide: r }) => {
|
26913
26905
|
const n = r === "FRONT", a = n ? "addFileFront" : "addFileBack", o = n ? "sid-font-photo-input" : "sid-back-photo-input", s = n ? "add front file" : "add back file", i = n ? "sid-font-photo-input" : "sid-back-photo-input";
|
@@ -26919,7 +26911,7 @@ const Fg = ({ addFile: e, upload: t, imageSide: r }) => {
|
|
26919
26911
|
role: "button",
|
26920
26912
|
onKeyDown: (l) => e(l, a),
|
26921
26913
|
children: [
|
26922
|
-
/* @__PURE__ */ u.jsx(
|
26914
|
+
/* @__PURE__ */ u.jsx(I$, { className: "sid-step-id-check-loop__icon" }),
|
26923
26915
|
/* @__PURE__ */ u.jsx("p", { className: "sid-step-id-check-loop__instructions", children: r === "FRONT" ? /* @__PURE__ */ u.jsx(
|
26924
26916
|
P,
|
26925
26917
|
{
|
@@ -26949,9 +26941,9 @@ const Fg = ({ addFile: e, upload: t, imageSide: r }) => {
|
|
26949
26941
|
]
|
26950
26942
|
}
|
26951
26943
|
) }) });
|
26952
|
-
},
|
26944
|
+
}, S$ = ({ verificationService: e }) => {
|
26953
26945
|
const t = e.verificationResponse, { uploadUrl: r, errorIds: n } = t, [a, o] = te.useState(), [s, i] = te.useState(), [l, c] = te.useState(!1), d = () => {
|
26954
|
-
c(!l),
|
26946
|
+
c(!l), v$(r, a.file, s.file).then((h) => {
|
26955
26947
|
h.ok && e.submitStep(
|
26956
26948
|
Ue.idCheckLoop,
|
26957
26949
|
e.viewModel,
|
@@ -27039,7 +27031,7 @@ const Fg = ({ addFile: e, upload: t, imageSide: r }) => {
|
|
27039
27031
|
}
|
27040
27032
|
) })
|
27041
27033
|
] });
|
27042
|
-
}, aB =
|
27034
|
+
}, aB = S$;
|
27043
27035
|
function LM(e) {
|
27044
27036
|
var t, r, n = "";
|
27045
27037
|
if (typeof e == "string" || typeof e == "number") n += e;
|
@@ -27049,7 +27041,7 @@ function LM(e) {
|
|
27049
27041
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
27050
27042
|
return n;
|
27051
27043
|
}
|
27052
|
-
function
|
27044
|
+
function M$() {
|
27053
27045
|
for (var e, t, r = 0, n = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (t = LM(e)) && (n && (n += " "), n += t);
|
27054
27046
|
return n;
|
27055
27047
|
}
|
@@ -27059,13 +27051,13 @@ const Hr = {
|
|
27059
27051
|
DESTRUCTIVE: "destructive",
|
27060
27052
|
DISABLED: "disabled",
|
27061
27053
|
TEXTLIKE: "textLike"
|
27062
|
-
},
|
27054
|
+
}, E$ = ({
|
27063
27055
|
type: e,
|
27064
27056
|
onClick: t,
|
27065
27057
|
isDisabled: r = !1,
|
27066
27058
|
children: n
|
27067
27059
|
}) => {
|
27068
|
-
const a = r ? Hr.DISABLED : e, o =
|
27060
|
+
const a = r ? Hr.DISABLED : e, o = M$(
|
27069
27061
|
"sid-button",
|
27070
27062
|
a === Hr.PRIMARY && ["sid-button-primary", "sid-button-font"],
|
27071
27063
|
a === Hr.SECONDARY && ["sid-button-secondary", "sid-button-font"],
|
@@ -27083,7 +27075,7 @@ const Hr = {
|
|
27083
27075
|
children: n
|
27084
27076
|
}
|
27085
27077
|
);
|
27086
|
-
}, Xs = (e) => ({ isDisabled: t = !1, onClick: r, children: n }) => /* @__PURE__ */ u.jsx(
|
27078
|
+
}, Xs = (e) => ({ isDisabled: t = !1, onClick: r, children: n }) => /* @__PURE__ */ u.jsx(E$, { type: e, onClick: r, isDisabled: t, children: n }), oB = {
|
27087
27079
|
Primary: Xs(Hr.PRIMARY),
|
27088
27080
|
Secondary: Xs(Hr.SECONDARY),
|
27089
27081
|
Destructive: Xs(Hr.DESTRUCTIVE),
|
@@ -27098,7 +27090,7 @@ export {
|
|
27098
27090
|
is as E,
|
27099
27091
|
da as F,
|
27100
27092
|
rB as G,
|
27101
|
-
|
27093
|
+
o3 as H,
|
27102
27094
|
Jg as I,
|
27103
27095
|
xD as J,
|
27104
27096
|
An as K,
|
@@ -27128,42 +27120,42 @@ export {
|
|
27128
27120
|
T3 as a5,
|
27129
27121
|
nB as a6,
|
27130
27122
|
yD as a7,
|
27131
|
-
|
27123
|
+
p3 as a8,
|
27132
27124
|
np as a9,
|
27133
|
-
|
27125
|
+
H$ as aA,
|
27134
27126
|
fl as aB,
|
27135
27127
|
kp as aC,
|
27136
|
-
|
27137
|
-
|
27138
|
-
|
27139
|
-
|
27128
|
+
qF as aD,
|
27129
|
+
GF as aE,
|
27130
|
+
zF as aF,
|
27131
|
+
D$ as aG,
|
27140
27132
|
rp as aH,
|
27141
27133
|
dD as aI,
|
27142
27134
|
Qi as aJ,
|
27143
|
-
|
27144
|
-
|
27135
|
+
Sj as aK,
|
27136
|
+
VF as aL,
|
27145
27137
|
C3 as aM,
|
27146
|
-
|
27138
|
+
BF as aN,
|
27147
27139
|
hd as aO,
|
27148
27140
|
ot as aP,
|
27149
27141
|
uv as aQ,
|
27150
|
-
|
27142
|
+
c3 as aR,
|
27151
27143
|
BS as aS,
|
27152
|
-
|
27153
|
-
|
27154
|
-
|
27144
|
+
l$ as aT,
|
27145
|
+
G$ as aU,
|
27146
|
+
LF as aV,
|
27155
27147
|
wf as aW,
|
27156
|
-
|
27157
|
-
|
27158
|
-
|
27159
|
-
|
27148
|
+
f3 as aX,
|
27149
|
+
y3 as aY,
|
27150
|
+
v3 as aZ,
|
27151
|
+
b3 as a_,
|
27160
27152
|
SD as aa,
|
27161
27153
|
VS as ab,
|
27162
27154
|
io as ac,
|
27163
27155
|
Wt as ad,
|
27164
27156
|
J3 as ae,
|
27165
|
-
|
27166
|
-
|
27157
|
+
m3 as af,
|
27158
|
+
s3 as ag,
|
27167
27159
|
x3 as ah,
|
27168
27160
|
gc as ai,
|
27169
27161
|
Xl as aj,
|
@@ -27171,14 +27163,14 @@ export {
|
|
27171
27163
|
jl as al,
|
27172
27164
|
_3 as am,
|
27173
27165
|
F3 as an,
|
27174
|
-
|
27166
|
+
l3 as ao,
|
27175
27167
|
ca as ap,
|
27176
27168
|
U3 as aq,
|
27177
27169
|
rr as ar,
|
27178
27170
|
Kg as as,
|
27179
|
-
|
27171
|
+
M3 as at,
|
27180
27172
|
w3 as au,
|
27181
|
-
|
27173
|
+
i3 as av,
|
27182
27174
|
j3 as aw,
|
27183
27175
|
Yg as ax,
|
27184
27176
|
Kr as ay,
|
@@ -27187,18 +27179,18 @@ export {
|
|
27187
27179
|
Md as b$,
|
27188
27180
|
et as b0,
|
27189
27181
|
co as b1,
|
27190
|
-
|
27182
|
+
A$ as b2,
|
27191
27183
|
nU as b3,
|
27192
27184
|
el as b4,
|
27193
|
-
|
27194
|
-
|
27185
|
+
I$ as b5,
|
27186
|
+
bF as b6,
|
27195
27187
|
gD as b7,
|
27196
27188
|
ki as b8,
|
27197
|
-
|
27189
|
+
r3 as b9,
|
27198
27190
|
S0 as bA,
|
27199
27191
|
Gr as bB,
|
27200
27192
|
ty as bC,
|
27201
|
-
|
27193
|
+
N$ as bD,
|
27202
27194
|
E0 as bE,
|
27203
27195
|
w0 as bF,
|
27204
27196
|
wr as bG,
|
@@ -27209,15 +27201,15 @@ export {
|
|
27209
27201
|
Ra as bL,
|
27210
27202
|
zr as bM,
|
27211
27203
|
Rd as bN,
|
27212
|
-
|
27204
|
+
F$ as bO,
|
27213
27205
|
oy as bP,
|
27214
27206
|
Mc as bQ,
|
27215
27207
|
Sd as bR,
|
27216
27208
|
sy as bS,
|
27217
|
-
|
27209
|
+
U$ as bT,
|
27218
27210
|
iy as bU,
|
27219
27211
|
R0 as bV,
|
27220
|
-
|
27212
|
+
j$ as bW,
|
27221
27213
|
A0 as bX,
|
27222
27214
|
ly as bY,
|
27223
27215
|
nl as bZ,
|
@@ -27226,7 +27218,7 @@ export {
|
|
27226
27218
|
W3 as bb,
|
27227
27219
|
q3 as bc,
|
27228
27220
|
Qn as bd,
|
27229
|
-
|
27221
|
+
t3 as be,
|
27230
27222
|
gd as bf,
|
27231
27223
|
Zg as bg,
|
27232
27224
|
yd as bh,
|
@@ -27248,7 +27240,7 @@ export {
|
|
27248
27240
|
ey as bx,
|
27249
27241
|
y0 as by,
|
27250
27242
|
v0 as bz,
|
27251
|
-
|
27243
|
+
g3 as c,
|
27252
27244
|
$3 as c$,
|
27253
27245
|
Ii as c0,
|
27254
27246
|
uy as c1,
|
@@ -27259,25 +27251,25 @@ export {
|
|
27259
27251
|
zE as c6,
|
27260
27252
|
ww as c7,
|
27261
27253
|
wy as c8,
|
27262
|
-
|
27254
|
+
$$ as c9,
|
27263
27255
|
zT as cA,
|
27264
|
-
|
27256
|
+
z$ as cB,
|
27265
27257
|
VC as cC,
|
27266
27258
|
QT as cD,
|
27267
|
-
|
27268
|
-
|
27269
|
-
|
27259
|
+
Q$ as cE,
|
27260
|
+
e3 as cF,
|
27261
|
+
O$ as cG,
|
27270
27262
|
tl as cH,
|
27271
27263
|
ny as cI,
|
27272
27264
|
T0 as cJ,
|
27273
27265
|
P0 as cK,
|
27274
|
-
|
27266
|
+
n3 as cL,
|
27275
27267
|
E3 as cM,
|
27276
|
-
|
27277
|
-
|
27278
|
-
|
27268
|
+
Aj as cN,
|
27269
|
+
Kj as cO,
|
27270
|
+
nF as cP,
|
27279
27271
|
P3 as cQ,
|
27280
|
-
|
27272
|
+
fF as cR,
|
27281
27273
|
os as cS,
|
27282
27274
|
N3 as cT,
|
27283
27275
|
O3 as cU,
|
@@ -27288,23 +27280,23 @@ export {
|
|
27288
27280
|
rU as cZ,
|
27289
27281
|
lD as c_,
|
27290
27282
|
_E as ca,
|
27291
|
-
|
27283
|
+
B$ as cb,
|
27292
27284
|
hl as cc,
|
27293
|
-
|
27285
|
+
J$ as cd,
|
27294
27286
|
bp as ce,
|
27295
27287
|
ay as cf,
|
27296
|
-
|
27288
|
+
k$ as cg,
|
27297
27289
|
rl as ch,
|
27298
|
-
|
27299
|
-
|
27290
|
+
_$ as ci,
|
27291
|
+
L$ as cj,
|
27300
27292
|
jd as ck,
|
27301
|
-
|
27293
|
+
q$ as cl,
|
27302
27294
|
sn as cm,
|
27303
27295
|
pm as cn,
|
27304
27296
|
tP as co,
|
27305
|
-
|
27297
|
+
Y$ as cp,
|
27306
27298
|
WT as cq,
|
27307
|
-
|
27299
|
+
K$ as cr,
|
27308
27300
|
$d as cs,
|
27309
27301
|
VT as ct,
|
27310
27302
|
GT as cu,
|
@@ -27313,23 +27305,23 @@ export {
|
|
27313
27305
|
Fd as cx,
|
27314
27306
|
BT as cy,
|
27315
27307
|
qT as cz,
|
27316
|
-
|
27308
|
+
h3 as d,
|
27317
27309
|
X3 as d$,
|
27318
27310
|
wD as d0,
|
27319
27311
|
TD as d1,
|
27320
27312
|
ID as d2,
|
27321
27313
|
mD as d3,
|
27322
27314
|
fD as d4,
|
27323
|
-
|
27315
|
+
u3 as d5,
|
27324
27316
|
Ef as d6,
|
27325
|
-
|
27317
|
+
d3 as d7,
|
27326
27318
|
bD as d8,
|
27327
27319
|
Ae as d9,
|
27328
27320
|
xs as dA,
|
27329
27321
|
Jy as dB,
|
27330
27322
|
Qy as dC,
|
27331
27323
|
Nd as dD,
|
27332
|
-
|
27324
|
+
JF as dE,
|
27333
27325
|
tv as dF,
|
27334
27326
|
_C as dG,
|
27335
27327
|
LC as dH,
|
@@ -27338,28 +27330,28 @@ export {
|
|
27338
27330
|
ap as dK,
|
27339
27331
|
Wo as dL,
|
27340
27332
|
tp as dM,
|
27341
|
-
|
27333
|
+
zj as dN,
|
27342
27334
|
K3 as dO,
|
27343
|
-
|
27344
|
-
|
27345
|
-
|
27346
|
-
|
27347
|
-
|
27335
|
+
dj as dP,
|
27336
|
+
pj as dQ,
|
27337
|
+
Fj as dR,
|
27338
|
+
$j as dS,
|
27339
|
+
Lj as dT,
|
27348
27340
|
Y3 as dU,
|
27349
|
-
|
27350
|
-
|
27351
|
-
|
27352
|
-
|
27353
|
-
|
27354
|
-
|
27341
|
+
Pj as dV,
|
27342
|
+
vj as dW,
|
27343
|
+
lF as dX,
|
27344
|
+
cF as dY,
|
27345
|
+
xj as dZ,
|
27346
|
+
Tj as d_,
|
27355
27347
|
Tu as da,
|
27356
27348
|
bn as db,
|
27357
27349
|
z3 as dc,
|
27358
27350
|
V3 as dd,
|
27359
27351
|
H3 as de,
|
27360
27352
|
G3 as df,
|
27361
|
-
|
27362
|
-
|
27353
|
+
Z$ as dg,
|
27354
|
+
X$ as dh,
|
27363
27355
|
Od as di,
|
27364
27356
|
kE as dj,
|
27365
27357
|
My as dk,
|
@@ -27379,14 +27371,14 @@ export {
|
|
27379
27371
|
ml as dz,
|
27380
27372
|
Ur as e,
|
27381
27373
|
Z3 as e0,
|
27382
|
-
|
27374
|
+
W$ as e1,
|
27383
27375
|
kg as e2,
|
27384
27376
|
_g as e3,
|
27385
27377
|
Lg as e4,
|
27386
27378
|
xr as e5,
|
27387
27379
|
nc as e6,
|
27388
27380
|
tB as e7,
|
27389
|
-
|
27381
|
+
g$ as e8,
|
27390
27382
|
oB as e9,
|
27391
27383
|
Si as ea,
|
27392
27384
|
j0 as eb,
|
@@ -27397,9 +27389,9 @@ export {
|
|
27397
27389
|
KM as eg,
|
27398
27390
|
YM as eh,
|
27399
27391
|
ZM as ei,
|
27400
|
-
|
27392
|
+
P$ as ej,
|
27401
27393
|
XM as ek,
|
27402
|
-
|
27394
|
+
R$ as el,
|
27403
27395
|
ie as f,
|
27404
27396
|
Nw as g,
|
27405
27397
|
Nn as h,
|
@@ -27414,7 +27406,7 @@ export {
|
|
27414
27406
|
st as q,
|
27415
27407
|
Dn as r,
|
27416
27408
|
hT as s,
|
27417
|
-
|
27409
|
+
V$ as t,
|
27418
27410
|
_e as u,
|
27419
27411
|
B3 as v,
|
27420
27412
|
ss as w,
|