@sheerid/jslib 2.122.0 → 2.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__tests__/e2e/medicalProfessional.spec.d.ts +1 -0
- package/_mysheerid-preview.css +5 -5
- package/_mysheerid-preview.js +392 -361
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/EmailLoopPending-CHILFZYc.js +4 -4
- package/chunk/EmailLoopPending-Nn_H3cfS.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-Bl1QfUZZ.js +4 -4
- package/chunk/StepIDCheckLoopOnfido-D0kpzIyk.js +4 -4
- package/chunk/StepIDCheckLoopRegula-BkTDnK3G.js +4 -4
- package/chunk/StepIDCheckLoopRegula-D6freNro.js +4 -4
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-CooMPgH1.js +4 -4
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DTtUadmx.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-DXa6bdA_.js +4 -4
- 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-1Cpf6KJI.js +4 -4
- package/chunk/index-2ob_KvkC.js +4 -4
- package/chunk/index-B4HIyFVA.js +4 -4
- package/chunk/index-B4PunPFk.js +4 -4
- package/chunk/index-B5Db6m8t.js +4 -4
- package/chunk/index-BJg9BX3v.js +4 -4
- package/chunk/index-BLIxYZFr.js +4 -4
- package/chunk/index-BU0HFLKm.js +4 -4
- package/chunk/index-Bofro8C_.js +4 -4
- package/chunk/index-BqUi3r5Z.js +4 -4
- package/chunk/index-Br3LkCoX.js +4 -4
- package/chunk/index-C4OCK6G0.js +4 -4
- package/chunk/index-C8UuTatc.js +4 -4
- package/chunk/index-CUH2uSMd.js +4 -4
- package/chunk/index-CVEIzLov.js +4 -4
- package/chunk/index-CcE-GFi6.js +4 -4
- package/chunk/index-CjcYFvhf.js +4 -4
- package/chunk/index-Cnc52tkD.js +4 -4
- package/chunk/index-CoPQ1aC2.js +4 -4
- package/chunk/index-Cu25bQnA.js +4 -4
- package/chunk/index-CxH2IKXK.js +4 -4
- package/chunk/index-CyTruyP6.js +4 -4
- package/chunk/index-DAE3SOJH.js +4 -4
- package/chunk/index-DCTYdT7J.js +4 -4
- package/chunk/index-DFajPA-e.js +4 -4
- package/chunk/index-DHtYIKVA.js +4 -4
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DJo820YY.js +4 -4
- package/chunk/index-DdQD36Ht.js +4 -4
- package/chunk/index-Dg1E2EXp.js +4 -4
- package/chunk/index-DljRrdj9.js +4 -4
- package/chunk/index-N20c5WiN.js +4 -4
- package/chunk/index-SwnUiXjr.js +4 -4
- package/chunk/index-dDH8B6_D.js +4 -4
- package/chunk/index-huf3obhv.js +4 -4
- package/chunk/index-n6fChAZJ.js +4 -4
- package/chunk/index-oHEY5B58.js +4 -4
- package/chunk/index-xgVNIuKt.js +4 -4
- package/chunk/index-zX2rojxg.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-DFo1yXvN.js +4 -4
- package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js +4 -4
- package/chunk/useEmailFirstExperiment-DH410dM-.js +4 -4
- package/chunk/useEmailFirstExperiment-q-thhCji.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 +5 -5
- package/jslib.js +5 -5
- package/lib/{EmailLoopPending-Dj_0bBs2.js → EmailLoopPending-ei14mYEg.js} +5 -5
- package/lib/{EmailLoopPending-Dj_0bBs2.js.map → EmailLoopPending-ei14mYEg.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-1X8MaX-W.js → LicensedProfessionalOrganizationComponent-DsZAcEdT.js} +5 -5
- package/lib/{LicensedProfessionalOrganizationComponent-1X8MaX-W.js.map → LicensedProfessionalOrganizationComponent-DsZAcEdT.js.map} +1 -1
- package/lib/Onfido-AyvUk6wg.js +4 -4
- package/lib/StepCollectMilitaryStatusComponent-AdWI_SBi.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-C27iHdTz.js.map → StepCollectMilitaryStatusComponent-AdWI_SBi.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-DsnlwYXD.js → StepIDCheckLoopOnfido-oZncyxXL.js} +5 -5
- package/lib/{StepIDCheckLoopOnfido-DsnlwYXD.js.map → StepIDCheckLoopOnfido-oZncyxXL.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-Dbfw-NlL.js → StepIDCheckLoopRegula-DzdNe1-1.js} +5 -5
- package/lib/{StepIDCheckLoopRegula-Dbfw-NlL.js.map → StepIDCheckLoopRegula-DzdNe1-1.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BfxxM2O_.js → StepInactiveMilitaryPersonalInfoComponent-CV5wo2KG.js} +6 -6
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BfxxM2O_.js.map → StepInactiveMilitaryPersonalInfoComponent-CV5wo2KG.js.map} +1 -1
- package/lib/{VerificationApiUtils-DFxbSBv2.js → VerificationApiUtils-CK_qpQ3t.js} +5 -5
- package/lib/{VerificationApiUtils-DFxbSBv2.js.map → VerificationApiUtils-CK_qpQ3t.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-DXa6bdA_.js +4 -4
- package/lib/es-BlLBNTpz.js +4 -4
- package/lib/es-ES-inNoG-F1.js +4 -4
- package/lib/{es6-BxMP-Nfx.js → es6-9CXzj380.js} +417 -386
- package/lib/es6-9CXzj380.js.map +1 -0
- 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-CY-pCHks.js → index-BM0KqRTD.js} +6 -6
- package/lib/{index-CY-pCHks.js.map → index-BM0KqRTD.js.map} +1 -1
- package/lib/{index-BoNHhztu.js → index-BN8XCds9.js} +6 -6
- package/lib/{index-BoNHhztu.js.map → index-BN8XCds9.js.map} +1 -1
- package/lib/{index-DaQzkoV6.js → index-BORlj17n.js} +6 -6
- package/lib/{index-DaQzkoV6.js.map → index-BORlj17n.js.map} +1 -1
- package/lib/{index-jsyf_jrc.js → index-BOcs6kmX.js} +6 -6
- package/lib/{index-jsyf_jrc.js.map → index-BOcs6kmX.js.map} +1 -1
- package/lib/{index-CXTdxi-5.js → index-BVGH7Kaf.js} +7 -7
- package/lib/{index-CXTdxi-5.js.map → index-BVGH7Kaf.js.map} +1 -1
- package/lib/index-BgUwFx19.js +11 -0
- package/lib/index-BgUwFx19.js.map +1 -0
- package/lib/index-BpehVkHi.js +11 -0
- package/lib/index-BpehVkHi.js.map +1 -0
- package/lib/{index-DChwT-oG.js → index-CU9IxLgj.js} +5 -5
- package/lib/{index-DChwT-oG.js.map → index-CU9IxLgj.js.map} +1 -1
- package/lib/{index-EZa_p814.js → index-C_9Tm7Sg.js} +7 -7
- package/lib/{index-EZa_p814.js.map → index-C_9Tm7Sg.js.map} +1 -1
- package/lib/{index-_PYdm9PI.js → index-CzETGeh5.js} +5 -5
- package/lib/{index-_PYdm9PI.js.map → index-CzETGeh5.js.map} +1 -1
- package/lib/index-D9Cudo6F.js +11 -0
- package/lib/index-D9Cudo6F.js.map +1 -0
- package/lib/{index-zxZZsCXS.js → index-DGriEsL0.js} +5 -5
- package/lib/{index-zxZZsCXS.js.map → index-DGriEsL0.js.map} +1 -1
- package/lib/{index-CorRLwKj.js → index-DGurAIAA.js} +6 -6
- package/lib/{index-CorRLwKj.js.map → index-DGurAIAA.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DJAiB_4U.js +11 -0
- package/lib/index-DJAiB_4U.js.map +1 -0
- package/lib/{index-BWnxATWz.js → index-DMSh4hBh.js} +5 -5
- package/lib/{index-BWnxATWz.js.map → index-DMSh4hBh.js.map} +1 -1
- package/lib/{index-DmOl2ZYr.js → index-DNLAfYpM.js} +5 -5
- package/lib/{index-DmOl2ZYr.js.map → index-DNLAfYpM.js.map} +1 -1
- package/lib/{index-ClCRbnE0.js → index-DVpRq0j5.js} +5 -5
- package/lib/{index-ClCRbnE0.js.map → index-DVpRq0j5.js.map} +1 -1
- package/lib/{index-EM7DOn2p.js → index-FggR5L78.js} +5 -5
- package/lib/{index-EM7DOn2p.js.map → index-FggR5L78.js.map} +1 -1
- package/lib/{index-Dt-i5njD.js → index-IxeBpvgm.js} +5 -5
- package/lib/{index-Dt-i5njD.js.map → index-IxeBpvgm.js.map} +1 -1
- package/lib/{index-DuADWZyX.js → index-SqPj4GgM.js} +5 -5
- package/lib/{index-DuADWZyX.js.map → index-SqPj4GgM.js.map} +1 -1
- package/lib/{index-B0cE3uUP.js → index-ZPS-lW55.js} +6 -6
- package/lib/{index-B0cE3uUP.js.map → index-ZPS-lW55.js.map} +1 -1
- package/lib/{index-B1HjVwEK.js → index-gC-77cEx.js} +5 -5
- package/lib/{index-B1HjVwEK.js.map → index-gC-77cEx.js.map} +1 -1
- package/lib/{index-CPByL_f4.js → index-y7prs-gw.js} +6 -6
- package/lib/{index-CPByL_f4.js.map → index-y7prs-gw.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-DekoJiLj.js → useCollectFieldsEndpoint-CGcsNwVw.js} +6 -6
- package/lib/{useCollectFieldsEndpoint-DekoJiLj.js.map → useCollectFieldsEndpoint-CGcsNwVw.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-ClkB12Ol.js → useEmailFirstExperiment-C2L63-k8.js} +5 -5
- package/lib/{useEmailFirstExperiment-ClkB12Ol.js.map → useEmailFirstExperiment-C2L63-k8.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.css +5 -5
- package/sheerid.js +392 -361
- package/sheerid.js.map +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadClearButton/TypeaheadClearButtonComponent.d.ts +5 -2
- package/types-reference.zip +0 -0
- package/lib/StepCollectMilitaryStatusComponent-C27iHdTz.js +0 -11
- package/lib/es6-BxMP-Nfx.js.map +0 -1
- package/lib/index-CFBkmLqu.js +0 -11
- package/lib/index-CFBkmLqu.js.map +0 -1
- package/lib/index-Cs-_hMXJ.js +0 -11
- package/lib/index-Cs-_hMXJ.js.map +0 -1
- package/lib/index-DRQDjyMo.js +0 -11
- package/lib/index-DRQDjyMo.js.map +0 -1
- package/lib/index-DUAKSocO.js +0 -11
- package/lib/index-DUAKSocO.js.map +0 -1
package/sheerid.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.124.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1756911629646
|
|
5
|
+
* BUILD_DATE: Wed Sep 03 2025 15:00:29 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 0914cf38689ebf245ba4e5acca31df2fbd4257f4
|
|
7
7
|
*/
|
|
8
8
|
var xk = Object.defineProperty;
|
|
9
9
|
var Tk = (e, t, r) => t in e ? xk(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
@@ -306,11 +306,11 @@ var f = sE.exports, yE = { exports: {} }, cn = {}, vE = { exports: {} }, bE = {}
|
|
|
306
306
|
*/
|
|
307
307
|
(function(e) {
|
|
308
308
|
function t(W, ce) {
|
|
309
|
-
var
|
|
309
|
+
var Z = W.length;
|
|
310
310
|
W.push(ce);
|
|
311
|
-
e: for (; 0 <
|
|
312
|
-
var J =
|
|
313
|
-
if (0 < a(ee, ce)) W[J] = ce, W[
|
|
311
|
+
e: for (; 0 < Z; ) {
|
|
312
|
+
var J = Z - 1 >>> 1, ee = W[J];
|
|
313
|
+
if (0 < a(ee, ce)) W[J] = ce, W[Z] = ee, Z = J;
|
|
314
314
|
else break e;
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -319,21 +319,21 @@ var f = sE.exports, yE = { exports: {} }, cn = {}, vE = { exports: {} }, bE = {}
|
|
|
319
319
|
}
|
|
320
320
|
function n(W) {
|
|
321
321
|
if (W.length === 0) return null;
|
|
322
|
-
var ce = W[0],
|
|
323
|
-
if (
|
|
324
|
-
W[0] =
|
|
325
|
-
e: for (var J = 0, ee = W.length,
|
|
322
|
+
var ce = W[0], Z = W.pop();
|
|
323
|
+
if (Z !== ce) {
|
|
324
|
+
W[0] = Z;
|
|
325
|
+
e: for (var J = 0, ee = W.length, Y = ee >>> 1; J < Y; ) {
|
|
326
326
|
var q = 2 * (J + 1) - 1, P = W[q], Me = q + 1, Se = W[Me];
|
|
327
|
-
if (0 > a(P,
|
|
328
|
-
else if (Me < ee && 0 > a(Se,
|
|
327
|
+
if (0 > a(P, Z)) Me < ee && 0 > a(Se, P) ? (W[J] = Se, W[Me] = Z, J = Me) : (W[J] = P, W[q] = Z, J = q);
|
|
328
|
+
else if (Me < ee && 0 > a(Se, Z)) W[J] = Se, W[Me] = Z, J = Me;
|
|
329
329
|
else break e;
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
return ce;
|
|
333
333
|
}
|
|
334
334
|
function a(W, ce) {
|
|
335
|
-
var
|
|
336
|
-
return
|
|
335
|
+
var Z = W.sortIndex - ce.sortIndex;
|
|
336
|
+
return Z !== 0 ? Z : W.id - ce.id;
|
|
337
337
|
}
|
|
338
338
|
if (typeof performance == "object" && typeof performance.now == "function") {
|
|
339
339
|
var o = performance;
|
|
@@ -357,7 +357,7 @@ var f = sE.exports, yE = { exports: {} }, cn = {}, vE = { exports: {} }, bE = {}
|
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
function I(W) {
|
|
360
|
-
if (h = !1, S(W), !g) if (r(l) !== null) g = !0,
|
|
360
|
+
if (h = !1, S(W), !g) if (r(l) !== null) g = !0, Q(M);
|
|
361
361
|
else {
|
|
362
362
|
var ce = r(u);
|
|
363
363
|
ce !== null && oe(I, ce.startTime - W);
|
|
@@ -365,7 +365,7 @@ var f = sE.exports, yE = { exports: {} }, cn = {}, vE = { exports: {} }, bE = {}
|
|
|
365
365
|
}
|
|
366
366
|
function M(W, ce) {
|
|
367
367
|
g = !1, h && (h = !1, v(O), O = -1), m = !0;
|
|
368
|
-
var
|
|
368
|
+
var Z = p;
|
|
369
369
|
try {
|
|
370
370
|
for (S(ce), d = r(l); d !== null && (!(d.expirationTime > ce) || W && !te()); ) {
|
|
371
371
|
var J = d.callback;
|
|
@@ -376,14 +376,14 @@ var f = sE.exports, yE = { exports: {} }, cn = {}, vE = { exports: {} }, bE = {}
|
|
|
376
376
|
} else n(l);
|
|
377
377
|
d = r(l);
|
|
378
378
|
}
|
|
379
|
-
if (d !== null) var
|
|
379
|
+
if (d !== null) var Y = !0;
|
|
380
380
|
else {
|
|
381
381
|
var q = r(u);
|
|
382
|
-
q !== null && oe(I, q.startTime - ce),
|
|
382
|
+
q !== null && oe(I, q.startTime - ce), Y = !1;
|
|
383
383
|
}
|
|
384
|
-
return
|
|
384
|
+
return Y;
|
|
385
385
|
} finally {
|
|
386
|
-
d = null, p =
|
|
386
|
+
d = null, p = Z, m = !1;
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
var N = !1, T = null, O = -1, A = 5, U = -1;
|
|
@@ -407,14 +407,14 @@ var f = sE.exports, yE = { exports: {} }, cn = {}, vE = { exports: {} }, bE = {}
|
|
|
407
407
|
y(se);
|
|
408
408
|
};
|
|
409
409
|
else if (typeof MessageChannel < "u") {
|
|
410
|
-
var G = new MessageChannel(),
|
|
410
|
+
var G = new MessageChannel(), X = G.port2;
|
|
411
411
|
G.port1.onmessage = se, he = function() {
|
|
412
|
-
|
|
412
|
+
X.postMessage(null);
|
|
413
413
|
};
|
|
414
414
|
} else he = function() {
|
|
415
415
|
w(se, 0);
|
|
416
416
|
};
|
|
417
|
-
function
|
|
417
|
+
function Q(W) {
|
|
418
418
|
T = W, N || (N = !0, he());
|
|
419
419
|
}
|
|
420
420
|
function oe(W, ce) {
|
|
@@ -425,7 +425,7 @@ var f = sE.exports, yE = { exports: {} }, cn = {}, vE = { exports: {} }, bE = {}
|
|
|
425
425
|
e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(W) {
|
|
426
426
|
W.callback = null;
|
|
427
427
|
}, e.unstable_continueExecution = function() {
|
|
428
|
-
g || m || (g = !0,
|
|
428
|
+
g || m || (g = !0, Q(M));
|
|
429
429
|
}, e.unstable_forceFrameRate = function(W) {
|
|
430
430
|
0 > W || 125 < W ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : A = 0 < W ? Math.floor(1e3 / W) : 5;
|
|
431
431
|
}, e.unstable_getCurrentPriorityLevel = function() {
|
|
@@ -442,12 +442,12 @@ var f = sE.exports, yE = { exports: {} }, cn = {}, vE = { exports: {} }, bE = {}
|
|
|
442
442
|
default:
|
|
443
443
|
ce = p;
|
|
444
444
|
}
|
|
445
|
-
var
|
|
445
|
+
var Z = p;
|
|
446
446
|
p = ce;
|
|
447
447
|
try {
|
|
448
448
|
return W();
|
|
449
449
|
} finally {
|
|
450
|
-
p =
|
|
450
|
+
p = Z;
|
|
451
451
|
}
|
|
452
452
|
}, e.unstable_pauseExecution = function() {
|
|
453
453
|
}, e.unstable_requestPaint = function() {
|
|
@@ -462,16 +462,16 @@ var f = sE.exports, yE = { exports: {} }, cn = {}, vE = { exports: {} }, bE = {}
|
|
|
462
462
|
default:
|
|
463
463
|
W = 3;
|
|
464
464
|
}
|
|
465
|
-
var
|
|
465
|
+
var Z = p;
|
|
466
466
|
p = W;
|
|
467
467
|
try {
|
|
468
468
|
return ce();
|
|
469
469
|
} finally {
|
|
470
|
-
p =
|
|
470
|
+
p = Z;
|
|
471
471
|
}
|
|
472
|
-
}, e.unstable_scheduleCallback = function(W, ce,
|
|
472
|
+
}, e.unstable_scheduleCallback = function(W, ce, Z) {
|
|
473
473
|
var J = e.unstable_now();
|
|
474
|
-
switch (typeof
|
|
474
|
+
switch (typeof Z == "object" && Z !== null ? (Z = Z.delay, Z = typeof Z == "number" && 0 < Z ? J + Z : J) : Z = J, W) {
|
|
475
475
|
case 1:
|
|
476
476
|
var ee = -1;
|
|
477
477
|
break;
|
|
@@ -487,16 +487,16 @@ var f = sE.exports, yE = { exports: {} }, cn = {}, vE = { exports: {} }, bE = {}
|
|
|
487
487
|
default:
|
|
488
488
|
ee = 5e3;
|
|
489
489
|
}
|
|
490
|
-
return ee =
|
|
490
|
+
return ee = Z + ee, W = { id: c++, callback: ce, priorityLevel: W, startTime: Z, expirationTime: ee, sortIndex: -1 }, Z > J ? (W.sortIndex = Z, t(u, W), r(l) === null && W === r(u) && (h ? (v(O), O = -1) : h = !0, oe(I, Z - J))) : (W.sortIndex = ee, t(l, W), g || m || (g = !0, Q(M))), W;
|
|
491
491
|
}, e.unstable_shouldYield = te, e.unstable_wrapCallback = function(W) {
|
|
492
492
|
var ce = p;
|
|
493
493
|
return function() {
|
|
494
|
-
var
|
|
494
|
+
var Z = p;
|
|
495
495
|
p = ce;
|
|
496
496
|
try {
|
|
497
497
|
return W.apply(this, arguments);
|
|
498
498
|
} finally {
|
|
499
|
-
p =
|
|
499
|
+
p = Z;
|
|
500
500
|
}
|
|
501
501
|
};
|
|
502
502
|
};
|
|
@@ -5787,7 +5787,7 @@ const tO = (e) => e && e.stack && e.message, rf = (...e) => {
|
|
|
5787
5787
|
locale: De(() => o.programTheme.intl.locale),
|
|
5788
5788
|
isTestMode: De(() => o.programTheme.isTestMode),
|
|
5789
5789
|
openOrgSearchEnabled: De(() => o.programTheme.openOrgSearchEnabled),
|
|
5790
|
-
jslibVerActual: De(() => "2.
|
|
5790
|
+
jslibVerActual: De(() => "2.124.0", "?"),
|
|
5791
5791
|
...r
|
|
5792
5792
|
};
|
|
5793
5793
|
}
|
|
@@ -6741,21 +6741,21 @@ function ND(e, t, r, {
|
|
|
6741
6741
|
} = T, Ke = ui(T, MD);
|
|
6742
6742
|
return [T.context, Ue, Ke];
|
|
6743
6743
|
}, [T]), te = x.useMemo(() => O && O.Consumer && // @ts-ignore
|
|
6744
|
-
dD.isContextConsumer(/* @__PURE__ */ x.createElement(O.Consumer, null)) ? O : c, [O, c]), se = x.useContext(te), he = !!T.store && !!T.store.getState && !!T.store.dispatch, G = !!se && !!se.store,
|
|
6744
|
+
dD.isContextConsumer(/* @__PURE__ */ x.createElement(O.Consumer, null)) ? O : c, [O, c]), se = x.useContext(te), he = !!T.store && !!T.store.getState && !!T.store.dispatch, G = !!se && !!se.store, X = he ? T.store : se.store, Q = G ? se.getServerState : X.getState, oe = x.useMemo(() => mD(X.dispatch, S), [X]), [W, ce] = x.useMemo(() => {
|
|
6745
6745
|
if (!g) return CD;
|
|
6746
|
-
const Ue = Qx(
|
|
6746
|
+
const Ue = Qx(X, he ? void 0 : se.subscription), Ke = Ue.notifyNestedSubs.bind(Ue);
|
|
6747
6747
|
return [Ue, Ke];
|
|
6748
|
-
}, [
|
|
6748
|
+
}, [X, he, se]), Z = x.useMemo(() => he ? se : It({}, se, {
|
|
6749
6749
|
subscription: W
|
|
6750
|
-
}), [he, se, W]), J = x.useRef(), ee = x.useRef(U),
|
|
6750
|
+
}), [he, se, W]), J = x.useRef(), ee = x.useRef(U), Y = x.useRef(), q = x.useRef(!1);
|
|
6751
6751
|
x.useRef(!1);
|
|
6752
6752
|
const P = x.useRef(!1), Me = x.useRef();
|
|
6753
6753
|
of(() => (P.current = !0, () => {
|
|
6754
6754
|
P.current = !1;
|
|
6755
6755
|
}), []);
|
|
6756
|
-
const Se = x.useMemo(() => () =>
|
|
6756
|
+
const Se = x.useMemo(() => () => Y.current && U === ee.current ? Y.current : oe(X.getState(), U), [X, U]), Re = x.useMemo(() => (Ke) => W ? PD(
|
|
6757
6757
|
g,
|
|
6758
|
-
|
|
6758
|
+
X,
|
|
6759
6759
|
W,
|
|
6760
6760
|
// @ts-ignore
|
|
6761
6761
|
oe,
|
|
@@ -6763,12 +6763,12 @@ function ND(e, t, r, {
|
|
|
6763
6763
|
J,
|
|
6764
6764
|
q,
|
|
6765
6765
|
P,
|
|
6766
|
-
|
|
6766
|
+
Y,
|
|
6767
6767
|
ce,
|
|
6768
6768
|
Ke
|
|
6769
6769
|
) : () => {
|
|
6770
6770
|
}, [W]);
|
|
6771
|
-
xD(TD, [ee, J, q, U,
|
|
6771
|
+
xD(TD, [ee, J, q, U, Y, ce]);
|
|
6772
6772
|
let Ge;
|
|
6773
6773
|
try {
|
|
6774
6774
|
Ge = Jx(
|
|
@@ -6777,7 +6777,7 @@ function ND(e, t, r, {
|
|
|
6777
6777
|
// TODO This is incredibly hacky. We've already processed the store update and calculated new child props,
|
|
6778
6778
|
// TODO and we're just passing that through so it triggers a re-render for us rather than relying on `uSES`.
|
|
6779
6779
|
Se,
|
|
6780
|
-
|
|
6780
|
+
Q ? () => oe(Q(), U) : Se
|
|
6781
6781
|
);
|
|
6782
6782
|
} catch (Ue) {
|
|
6783
6783
|
throw Me.current && (Ue.message += `
|
|
@@ -6787,7 +6787,7 @@ ${Me.current.stack}
|
|
|
6787
6787
|
`), Ue;
|
|
6788
6788
|
}
|
|
6789
6789
|
of(() => {
|
|
6790
|
-
Me.current = void 0,
|
|
6790
|
+
Me.current = void 0, Y.current = void 0, J.current = Ge;
|
|
6791
6791
|
});
|
|
6792
6792
|
const je = x.useMemo(() => (
|
|
6793
6793
|
// @ts-ignore
|
|
@@ -6796,8 +6796,8 @@ ${Me.current.stack}
|
|
|
6796
6796
|
}))
|
|
6797
6797
|
), [A, w, Ge]);
|
|
6798
6798
|
return x.useMemo(() => g ? /* @__PURE__ */ x.createElement(te.Provider, {
|
|
6799
|
-
value:
|
|
6800
|
-
}, je) : je, [te, je,
|
|
6799
|
+
value: Z
|
|
6800
|
+
}, je) : je, [te, je, Z]);
|
|
6801
6801
|
}
|
|
6802
6802
|
const N = x.memo(I);
|
|
6803
6803
|
if (N.WrappedComponent = w, N.displayName = I.displayName = y, l) {
|
|
@@ -7050,7 +7050,7 @@ const UD = function() {
|
|
|
7050
7050
|
options: E.options,
|
|
7051
7051
|
location: j()
|
|
7052
7052
|
};
|
|
7053
|
-
}, G = "selectordinal",
|
|
7053
|
+
}, G = "selectordinal", X = { type: "literal", value: "selectordinal", description: '"selectordinal"' }, Q = function(E) {
|
|
7054
7054
|
return {
|
|
7055
7055
|
type: E.type,
|
|
7056
7056
|
ordinal: !0,
|
|
@@ -7064,14 +7064,14 @@ const UD = function() {
|
|
|
7064
7064
|
options: E,
|
|
7065
7065
|
location: j()
|
|
7066
7066
|
};
|
|
7067
|
-
},
|
|
7067
|
+
}, Z = "=", J = { type: "literal", value: "=", description: '"="' }, ee = function(E, k) {
|
|
7068
7068
|
return {
|
|
7069
7069
|
type: "optionalFormatPattern",
|
|
7070
7070
|
selector: E,
|
|
7071
7071
|
value: k,
|
|
7072
7072
|
location: j()
|
|
7073
7073
|
};
|
|
7074
|
-
},
|
|
7074
|
+
}, Y = "offset:", q = { type: "literal", value: "offset:", description: '"offset:"' }, P = function(E) {
|
|
7075
7075
|
return E;
|
|
7076
7076
|
}, Me = function(E, k) {
|
|
7077
7077
|
return {
|
|
@@ -7228,7 +7228,7 @@ const UD = function() {
|
|
|
7228
7228
|
}
|
|
7229
7229
|
function Xn() {
|
|
7230
7230
|
var E, k, K, ne, ge, Te;
|
|
7231
|
-
return E = $, n.substr($, 13) === G ? (k = G, $ += 13) : (k = o, b === 0 && ae(
|
|
7231
|
+
return E = $, n.substr($, 13) === G ? (k = G, $ += 13) : (k = o, b === 0 && ae(X)), k !== o ? (K = C(), K !== o ? (n.charCodeAt($) === 44 ? (ne = h, $++) : (ne = o, b === 0 && ae(w)), ne !== o ? (ge = C(), ge !== o ? (Te = hn(), Te !== o ? (dt = E, k = Q(Te), E = k) : ($ = E, E = o)) : ($ = E, E = o)) : ($ = E, E = o)) : ($ = E, E = o)) : ($ = E, E = o), E;
|
|
7232
7232
|
}
|
|
7233
7233
|
function Wr() {
|
|
7234
7234
|
var E, k, K, ne, ge, Te, $e;
|
|
@@ -7254,7 +7254,7 @@ const UD = function() {
|
|
|
7254
7254
|
}
|
|
7255
7255
|
function Wo() {
|
|
7256
7256
|
var E, k, K, ne;
|
|
7257
|
-
return E = $, k = $, n.charCodeAt($) === 61 ? (K =
|
|
7257
|
+
return E = $, k = $, n.charCodeAt($) === 61 ? (K = Z, $++) : (K = o, b === 0 && ae(J)), K !== o ? (ne = ie(), ne !== o ? (K = [K, ne], k = K) : ($ = k, k = o)) : ($ = k, k = o), k !== o ? E = n.substring(E, $) : E = k, E === o && (E = _e()), E;
|
|
7258
7258
|
}
|
|
7259
7259
|
function Qn() {
|
|
7260
7260
|
var E, k, K, ne, ge, Te, $e, Xe, ct;
|
|
@@ -7262,7 +7262,7 @@ const UD = function() {
|
|
|
7262
7262
|
}
|
|
7263
7263
|
function Rs() {
|
|
7264
7264
|
var E, k, K, ne;
|
|
7265
|
-
return E = $, n.substr($, 7) ===
|
|
7265
|
+
return E = $, n.substr($, 7) === Y ? (k = Y, $ += 7) : (k = o, b === 0 && ae(q)), k !== o ? (K = C(), K !== o ? (ne = ie(), ne !== o ? (dt = E, k = P(ne), E = k) : ($ = E, E = o)) : ($ = E, E = o)) : ($ = E, E = o), E;
|
|
7266
7266
|
}
|
|
7267
7267
|
function hn() {
|
|
7268
7268
|
var E, k, K, ne, ge;
|
|
@@ -8726,8 +8726,8 @@ var N1 = { exports: {} };
|
|
|
8726
8726
|
v.push(M), y.push(T);
|
|
8727
8727
|
}
|
|
8728
8728
|
r(M, n) && M.forEach(function(oe, W) {
|
|
8729
|
-
var ce = I(W, N - 1),
|
|
8730
|
-
T.set(ce,
|
|
8729
|
+
var ce = I(W, N - 1), Z = I(oe, N - 1);
|
|
8730
|
+
T.set(ce, Z);
|
|
8731
8731
|
}), r(M, a) && M.forEach(function(oe) {
|
|
8732
8732
|
var W = I(oe, N - 1);
|
|
8733
8733
|
T.add(W);
|
|
@@ -8744,9 +8744,9 @@ var N1 = { exports: {} };
|
|
|
8744
8744
|
}));
|
|
8745
8745
|
}
|
|
8746
8746
|
if (w)
|
|
8747
|
-
for (var
|
|
8748
|
-
var
|
|
8749
|
-
G && G.enumerable || (T[
|
|
8747
|
+
for (var X = Object.getOwnPropertyNames(M), U = 0; U < X.length; U++) {
|
|
8748
|
+
var Q = X[U], G = Object.getOwnPropertyDescriptor(M, Q);
|
|
8749
|
+
G && G.enumerable || (T[Q] = I(M[Q], N - 1), Object.defineProperty(T, Q, {
|
|
8750
8750
|
enumerable: !1
|
|
8751
8751
|
}));
|
|
8752
8752
|
}
|
|
@@ -9537,7 +9537,7 @@ These messages will override existing messages of the same key for "en-US" local
|
|
|
9537
9537
|
] }), $1 = () => `${Le().restApi.serviceUrl}${Le().restApi.resources.verification}`, _F = (e) => `${$1()}${e}`, OF = () => $1(), DF = (e, t = null) => {
|
|
9538
9538
|
const r = `${Le().restApi.serviceUrl}${Le().restApi.resources.program.base}${e}/${Le().restApi.resources.program.theme}`;
|
|
9539
9539
|
return t ? `${r}?locale=${t}` : `${r}`;
|
|
9540
|
-
}, LF = (e) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, FF = (e) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, j1 = (e, t) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, UF = (e, t) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, VW = (e, t, r) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Qv = () => "2.
|
|
9540
|
+
}, LF = (e) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, FF = (e) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, j1 = (e, t) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, UF = (e, t) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, VW = (e, t, r) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Qv = () => "2.124.0", $F = () => window.location.href, V1 = () => {
|
|
9541
9541
|
try {
|
|
9542
9542
|
const e = new URLSearchParams(window.location.search);
|
|
9543
9543
|
if (e.get(xo))
|
|
@@ -13587,9 +13587,9 @@ var bT = { exports: {} };
|
|
|
13587
13587
|
b(z(_));
|
|
13588
13588
|
}, G = function(b) {
|
|
13589
13589
|
b(!!window.HTMLElement.prototype.addBehavior);
|
|
13590
|
-
},
|
|
13590
|
+
}, X = function(b) {
|
|
13591
13591
|
b(!!window.openDatabase);
|
|
13592
|
-
},
|
|
13592
|
+
}, Q = function(b, _) {
|
|
13593
13593
|
b(le(_));
|
|
13594
13594
|
}, oe = function(b, _) {
|
|
13595
13595
|
b(Ee(_));
|
|
@@ -13601,7 +13601,7 @@ var bT = { exports: {} };
|
|
|
13601
13601
|
return;
|
|
13602
13602
|
}
|
|
13603
13603
|
b(_.NOT_AVAILABLE);
|
|
13604
|
-
},
|
|
13604
|
+
}, Z = function(b, _) {
|
|
13605
13605
|
if (wr()) {
|
|
13606
13606
|
b(xe());
|
|
13607
13607
|
return;
|
|
@@ -13615,7 +13615,7 @@ var bT = { exports: {} };
|
|
|
13615
13615
|
b();
|
|
13616
13616
|
}, ee = function(b) {
|
|
13617
13617
|
b(Ie());
|
|
13618
|
-
},
|
|
13618
|
+
}, Y = function(b) {
|
|
13619
13619
|
b(ke());
|
|
13620
13620
|
}, q = function(b) {
|
|
13621
13621
|
b(at());
|
|
@@ -14459,16 +14459,16 @@ var bT = { exports: {} };
|
|
|
14459
14459
|
{ key: "localStorage", getData: se },
|
|
14460
14460
|
{ key: "indexedDb", getData: he },
|
|
14461
14461
|
{ key: "addBehavior", getData: G },
|
|
14462
|
-
{ key: "openDatabase", getData:
|
|
14463
|
-
{ key: "cpuClass", getData:
|
|
14462
|
+
{ key: "openDatabase", getData: X },
|
|
14463
|
+
{ key: "cpuClass", getData: Q },
|
|
14464
14464
|
{ key: "platform", getData: oe },
|
|
14465
14465
|
{ key: "doNotTrack", getData: W },
|
|
14466
14466
|
{ key: "plugins", getData: Ge },
|
|
14467
14467
|
{ key: "canvas", getData: ce },
|
|
14468
|
-
{ key: "webgl", getData:
|
|
14468
|
+
{ key: "webgl", getData: Z },
|
|
14469
14469
|
{ key: "webglVendorAndRenderer", getData: J },
|
|
14470
14470
|
{ key: "adBlock", getData: ee },
|
|
14471
|
-
{ key: "hasLiedLanguages", getData:
|
|
14471
|
+
{ key: "hasLiedLanguages", getData: Y },
|
|
14472
14472
|
{ key: "hasLiedResolution", getData: q },
|
|
14473
14473
|
{ key: "hasLiedOs", getData: P },
|
|
14474
14474
|
{ key: "hasLiedBrowser", getData: Me },
|
|
@@ -16409,41 +16409,41 @@ var BT = { initialize: function(e, t, r, n, a) {
|
|
|
16409
16409
|
let d = e, p = l.hash;
|
|
16410
16410
|
const m = EV(n.localStorage, o), g = jT(n, d, l), h = l.sendEvents && !l.diagnosticOptOut, w = h ? Ch.DiagnosticId(d) : null, v = h ? Ch.DiagnosticsAccumulator((/* @__PURE__ */ new Date()).getTime()) : null, y = h ? Ch.DiagnosticsManager(n, m, v, g, d, l, w) : null, S = NV(n, l, d, v), I = l.eventProcessor || SV(n, l, d, v, s, g), M = OV(n, l, d);
|
|
16411
16411
|
let N, T, O, A = {}, U = l.streaming, te = !1, se = !1, he = !0;
|
|
16412
|
-
const G = l.stateProvider,
|
|
16412
|
+
const G = l.stateProvider, X = DV(null, function(R) {
|
|
16413
16413
|
(function(D) {
|
|
16414
16414
|
G || D && W({ kind: "identify", context: D, creationDate: (/* @__PURE__ */ new Date()).getTime() });
|
|
16415
|
-
})(R), u.hasListeners(kc.clientIdentityChanged) && u.onIdentityChanged(
|
|
16416
|
-
}),
|
|
16415
|
+
})(R), u.hasListeners(kc.clientIdentityChanged) && u.onIdentityChanged(X.getContext());
|
|
16416
|
+
}), Q = new UV(m), oe = m.isEnabled() ? MV(m, d, p, X) : null;
|
|
16417
16417
|
function W(R) {
|
|
16418
16418
|
d && (G && G.enqueueEvent && G.enqueueEvent(R) || (R.context ? (he = !1, !c || se || n.isDoNotTrack() || (o.debug(Ye.debugEnqueueingEvent(R.kind)), I.enqueue(R))) : he && (o.warn(Ye.eventWithoutContext()), he = !1)));
|
|
16419
16419
|
}
|
|
16420
16420
|
function ce(R, D) {
|
|
16421
16421
|
u.hasListeners(kc.flagDetailChanged) && u.onFlagChanged(R.key, q(D));
|
|
16422
16422
|
}
|
|
16423
|
-
function
|
|
16423
|
+
function Z() {
|
|
16424
16424
|
u.hasListeners(kc.flagDetailsChanged) && u.onFlags(Object.entries(A).map(([R, D]) => ({ key: R, detail: q(D) })).reduce((R, D) => (R[D.key] = D.detail, R), {}));
|
|
16425
16425
|
}
|
|
16426
16426
|
function J(R, D, z, pe) {
|
|
16427
|
-
const le =
|
|
16427
|
+
const le = X.getContext(), Ee = /* @__PURE__ */ new Date(), me = { kind: "feature", key: R, context: le, value: D ? D.value : null, variation: D ? D.variationIndex : null, default: z, creationDate: Ee.getTime() }, Ne = A[R];
|
|
16428
16428
|
Ne && (me.version = Ne.flagVersion ? Ne.flagVersion : Ne.version, me.trackEvents = Ne.trackEvents, me.debugEventsUntilDate = Ne.debugEventsUntilDate), (pe || Ne && Ne.trackReason) && D && (me.reason = D.reason), W(me);
|
|
16429
16429
|
}
|
|
16430
16430
|
function ee(R) {
|
|
16431
16431
|
return WV(R, !1) ? Promise.resolve(R) : Promise.reject(new jt.LDInvalidUserError(Ye.invalidContext()));
|
|
16432
16432
|
}
|
|
16433
|
-
function
|
|
16433
|
+
function Y(R, D, z, pe, le, Ee) {
|
|
16434
16434
|
var ve;
|
|
16435
16435
|
let me, Ne;
|
|
16436
16436
|
return A && Qe.objectHasOwnProperty(A, R) && A[R] && !A[R].deleted ? (Ne = A[R], me = q(Ne), Ne.value !== null && Ne.value !== void 0 || (me.value = D)) : me = { value: D, variationIndex: null, reason: { kind: "ERROR", errorKind: "FLAG_NOT_FOUND" } }, z && (le || ((ve = Ne == null ? void 0 : Ne.prerequisites) == null || ve.forEach((xe) => {
|
|
16437
|
-
|
|
16437
|
+
Y(xe, void 0, z, !1, !1, !1);
|
|
16438
16438
|
})), J(R, me, D, pe)), !le && Ee && function(xe, He) {
|
|
16439
|
-
u.hasListeners(kc.flagUsed) && u.onFlagUsed(xe, He,
|
|
16439
|
+
u.hasListeners(kc.flagUsed) && u.onFlagUsed(xe, He, X.getContext());
|
|
16440
16440
|
}(R, me), me;
|
|
16441
16441
|
}
|
|
16442
16442
|
function q(R) {
|
|
16443
16443
|
return { value: R.value, variationIndex: R.variation === void 0 ? null : R.variation, reason: R.reason || null };
|
|
16444
16444
|
}
|
|
16445
16445
|
function P() {
|
|
16446
|
-
if (T = !0, !
|
|
16446
|
+
if (T = !0, !X.getContext()) return;
|
|
16447
16447
|
const R = (D) => {
|
|
16448
16448
|
try {
|
|
16449
16449
|
return JSON.parse(D);
|
|
@@ -16451,11 +16451,11 @@ var BT = { initialize: function(e, t, r, n, a) {
|
|
|
16451
16451
|
return void s.maybeReportError(new jt.LDInvalidDataError(Ye.invalidData()));
|
|
16452
16452
|
}
|
|
16453
16453
|
};
|
|
16454
|
-
S.connect(
|
|
16454
|
+
S.connect(X.getContext(), p, { ping: function() {
|
|
16455
16455
|
o.debug(Ye.debugStreamPing());
|
|
16456
|
-
const D =
|
|
16456
|
+
const D = X.getContext();
|
|
16457
16457
|
M.fetchFlagSettings(D, p).then((z) => {
|
|
16458
|
-
Qe.deepEquals(D,
|
|
16458
|
+
Qe.deepEquals(D, X.getContext()) && Se(z || {});
|
|
16459
16459
|
}).catch((z) => {
|
|
16460
16460
|
s.maybeReportError(new jt.LDFlagFetchError(Ye.errorFetchingFlags(z)));
|
|
16461
16461
|
});
|
|
@@ -16490,7 +16490,7 @@ var BT = { initialize: function(e, t, r, n, a) {
|
|
|
16490
16490
|
if (!R) return Promise.resolve();
|
|
16491
16491
|
for (const z in A) Qe.objectHasOwnProperty(A, z) && A[z] && (R[z] && !Qe.deepEquals(R[z].value, A[z].value) ? D[z] = { previous: A[z].value, current: q(R[z]) } : R[z] && !R[z].deleted || (D[z] = { previous: A[z].value }));
|
|
16492
16492
|
for (const z in R) Qe.objectHasOwnProperty(R, z) && R[z] && (!A[z] || A[z].deleted) && (D[z] = { current: q(R[z]) });
|
|
16493
|
-
return A = { ...R },
|
|
16493
|
+
return A = { ...R }, Z(), Re(D).catch(() => {
|
|
16494
16494
|
});
|
|
16495
16495
|
}
|
|
16496
16496
|
function Re(R) {
|
|
@@ -16526,19 +16526,19 @@ var BT = { initialize: function(e, t, r, n, a) {
|
|
|
16526
16526
|
}(l.bootstrap)), G) {
|
|
16527
16527
|
const R = G.getInitialState();
|
|
16528
16528
|
R ? qe(R) : G.on("init", qe), G.on("update", function(D) {
|
|
16529
|
-
D.context &&
|
|
16529
|
+
D.context && X.setContext(D.context), D.flags && Se(D.flags);
|
|
16530
16530
|
});
|
|
16531
16531
|
} else (function() {
|
|
16532
|
-
return e ?
|
|
16532
|
+
return e ? Q.processContext(t).then(ee).then((R) => (X.setContext(R), typeof l.bootstrap == "object" ? Ue() : N ? oe.loadFlags().then((D) => D == null ? (A = {}, M.fetchFlagSettings(X.getContext(), p).then((z) => Se(z || {})).then(Ue).catch((z) => {
|
|
16533
16533
|
Ke(new jt.LDFlagFetchError(Ye.errorFetchingFlags(z)));
|
|
16534
|
-
})) : (A = D, Qe.onNextTick(Ue), M.fetchFlagSettings(
|
|
16535
|
-
A = D || {},
|
|
16534
|
+
})) : (A = D, Qe.onNextTick(Ue), M.fetchFlagSettings(X.getContext(), p).then((z) => Se(z)).catch((z) => s.maybeReportError(z)))) : M.fetchFlagSettings(X.getContext(), p).then((D) => {
|
|
16535
|
+
A = D || {}, Z(), Ue();
|
|
16536
16536
|
}).catch((D) => {
|
|
16537
16537
|
A = {}, Ke(D);
|
|
16538
16538
|
}))) : Promise.reject(new jt.LDInvalidEnvironmentIdError(Ye.environmentNotSpecified()));
|
|
16539
16539
|
})().catch(Ke);
|
|
16540
16540
|
function qe(R) {
|
|
16541
|
-
d = R.environment,
|
|
16541
|
+
d = R.environment, X.setContext(R.context), A = { ...R.flags }, Qe.onNextTick(Ue);
|
|
16542
16542
|
}
|
|
16543
16543
|
function Ue() {
|
|
16544
16544
|
o.info(Ye.clientInitialized()), te = !0, Ge(), i.signalSuccess();
|
|
@@ -16562,20 +16562,20 @@ var BT = { initialize: function(e, t, r, n, a) {
|
|
|
16562
16562
|
if (se) return Qe.wrapPromiseCallback(Promise.resolve({}), z);
|
|
16563
16563
|
if (G) return o.warn(Ye.identifyDisabled()), Qe.wrapPromiseCallback(Promise.resolve(Qe.transformVersionedValuesToValues(A)), z);
|
|
16564
16564
|
const pe = N && oe ? oe.clearFlags() : Promise.resolve();
|
|
16565
|
-
return Qe.wrapPromiseCallback(pe.then(() =>
|
|
16565
|
+
return Qe.wrapPromiseCallback(pe.then(() => Q.processContext(R)).then(ee).then((le) => M.fetchFlagSettings(le, D).then((Ee) => {
|
|
16566
16566
|
const me = Qe.transformVersionedValuesToValues(Ee);
|
|
16567
|
-
return
|
|
16567
|
+
return X.setContext(le), p = D, Ee ? Se(Ee).then(() => me) : me;
|
|
16568
16568
|
})).then((le) => (T && P(), le)).catch((le) => (s.maybeReportError(le), Promise.reject(le))), z);
|
|
16569
16569
|
}, getContext: function() {
|
|
16570
|
-
return
|
|
16570
|
+
return X.getContext();
|
|
16571
16571
|
}, variation: function(R, D) {
|
|
16572
|
-
return
|
|
16572
|
+
return Y(R, D, !0, !1, !1, !0).value;
|
|
16573
16573
|
}, variationDetail: function(R, D) {
|
|
16574
|
-
return
|
|
16574
|
+
return Y(R, D, !0, !0, !1, !0);
|
|
16575
16575
|
}, track: function(R, D, z) {
|
|
16576
16576
|
if (typeof R != "string") return void s.maybeReportError(new jt.LDInvalidEventKeyError(Ye.unknownCustomEventKey(R)));
|
|
16577
16577
|
z !== void 0 && typeof z != "number" && o.warn(Ye.invalidMetricValue(typeof z)), n.customEventFilter && !n.customEventFilter(R) && o.warn(Ye.unknownCustomEventKey(R));
|
|
16578
|
-
const pe =
|
|
16578
|
+
const pe = X.getContext(), le = { kind: "custom", key: R, context: pe, url: n.getCurrentUrl(), creationDate: (/* @__PURE__ */ new Date()).getTime() };
|
|
16579
16579
|
pe && pe.anonymous && (le.contextKind = pe.anonymous ? "anonymousUser" : "user"), D != null && (le.data = D), z != null && (le.metricValue = z), W(le);
|
|
16580
16580
|
}, on: function(R, D, z) {
|
|
16581
16581
|
je(R) ? (O = !0, te && Ge(), s.on(R, D, z)) : s.on(...arguments);
|
|
@@ -16594,7 +16594,7 @@ var BT = { initialize: function(e, t, r, n, a) {
|
|
|
16594
16594
|
}, allFlags: function() {
|
|
16595
16595
|
const R = {};
|
|
16596
16596
|
if (!A) return R;
|
|
16597
|
-
for (const D in A) Qe.objectHasOwnProperty(A, D) && !A[D].deleted && (R[D] =
|
|
16597
|
+
for (const D in A) Qe.objectHasOwnProperty(A, D) && !A[D].deleted && (R[D] = Y(D, null, !l.sendEventsOnlyForVariation, !1, !0, !1).value);
|
|
16598
16598
|
return R;
|
|
16599
16599
|
}, close: function(R) {
|
|
16600
16600
|
if (se) return Qe.wrapPromiseCallback(Promise.resolve(), R);
|
|
@@ -16604,7 +16604,7 @@ var BT = { initialize: function(e, t, r, n, a) {
|
|
|
16604
16604
|
if (Me(), y && y.stop(), c) return I.stop(), I.flush();
|
|
16605
16605
|
}).then(D).catch(D);
|
|
16606
16606
|
return Qe.wrapPromiseCallback(z, R);
|
|
16607
|
-
} }, options: l, emitter: s, ident:
|
|
16607
|
+
} }, options: l, emitter: s, ident: X, logger: o, requestor: M, start: function() {
|
|
16608
16608
|
c && (y && y.start(), I.start());
|
|
16609
16609
|
}, enqueueEvent: W, getFlagsInternal: function() {
|
|
16610
16610
|
return A;
|
|
@@ -17410,15 +17410,26 @@ function lP(e, t, r) {
|
|
|
17410
17410
|
}, n[Ew] = g, n;
|
|
17411
17411
|
}
|
|
17412
17412
|
const Tw = [
|
|
17413
|
+
"activeDutyStartDate",
|
|
17414
|
+
"address1",
|
|
17415
|
+
"birthDate",
|
|
17416
|
+
"city",
|
|
17417
|
+
"country",
|
|
17418
|
+
"cvecNumber",
|
|
17419
|
+
"dischargeDate",
|
|
17420
|
+
"driverLicenseNumber",
|
|
17421
|
+
"ebtCardNumber",
|
|
17422
|
+
"email",
|
|
17413
17423
|
"firstName",
|
|
17414
17424
|
"lastName",
|
|
17415
|
-
"
|
|
17425
|
+
"marketConsentValue",
|
|
17426
|
+
"memberId",
|
|
17416
17427
|
"phoneNumber",
|
|
17417
|
-
"address1",
|
|
17418
|
-
"city",
|
|
17419
|
-
"state",
|
|
17420
17428
|
"postalCode",
|
|
17421
|
-
"
|
|
17429
|
+
"socialSecurityNumber",
|
|
17430
|
+
"state",
|
|
17431
|
+
"status",
|
|
17432
|
+
"statuses"
|
|
17422
17433
|
], dB = Object.freeze({
|
|
17423
17434
|
programId: void 0,
|
|
17424
17435
|
programTheme: void 0,
|
|
@@ -20763,16 +20774,16 @@ const IM = (e) => typeof e == "object" && e != null && e.nodeType === 1, wM = (e
|
|
|
20763
20774
|
let U = S - T, te = s === "center" ? N + y / 2 - A + O : s === "end" ? I + O : N - A;
|
|
20764
20775
|
const se = [];
|
|
20765
20776
|
for (let he = 0; he < d.length; he++) {
|
|
20766
|
-
const G = d[he], { height:
|
|
20767
|
-
if (S >= 0 && N >= 0 && M <= g && I <= m && (G === c && !jc(G) || S >= oe && M <= ce && N >=
|
|
20768
|
-
const J = getComputedStyle(G), ee = parseInt(J.borderLeftWidth, 10),
|
|
20777
|
+
const G = d[he], { height: X, width: Q, top: oe, right: W, bottom: ce, left: Z } = G.getBoundingClientRect();
|
|
20778
|
+
if (S >= 0 && N >= 0 && M <= g && I <= m && (G === c && !jc(G) || S >= oe && M <= ce && N >= Z && I <= W)) return se;
|
|
20779
|
+
const J = getComputedStyle(G), ee = parseInt(J.borderLeftWidth, 10), Y = parseInt(J.borderTopWidth, 10), q = parseInt(J.borderRightWidth, 10), P = parseInt(J.borderBottomWidth, 10);
|
|
20769
20780
|
let Me = 0, Se = 0;
|
|
20770
|
-
const Re = "offsetWidth" in G ? G.offsetWidth - G.clientWidth - ee - q : 0, Ge = "offsetHeight" in G ? G.offsetHeight - G.clientHeight -
|
|
20771
|
-
if (c === G) Me = Vc(w, w + g, g,
|
|
20781
|
+
const Re = "offsetWidth" in G ? G.offsetWidth - G.clientWidth - ee - q : 0, Ge = "offsetHeight" in G ? G.offsetHeight - G.clientHeight - Y - P : 0, je = "offsetWidth" in G ? G.offsetWidth === 0 ? 0 : Q / G.offsetWidth : 0, qe = "offsetHeight" in G ? G.offsetHeight === 0 ? 0 : X / G.offsetHeight : 0;
|
|
20782
|
+
if (c === G) Me = Vc(w, w + g, g, Y, P, w + U, w + U + v, v), Se = s === "start" ? te : s === "center" ? te - m / 2 : s === "end" ? te - m : Vc(h, h + m, m, ee, q, h + te, h + te + y, y), Me = Math.max(0, Me + w), Se = Math.max(0, Se + h);
|
|
20772
20783
|
else {
|
|
20773
|
-
Me = Vc(oe, ce,
|
|
20784
|
+
Me = Vc(oe, ce, X, Y, P + Ge, U, U + v, v), Se = s === "start" ? te - Z - ee : s === "center" ? te - (Z + Q / 2) + Re / 2 : s === "end" ? te - W + q + Re : Vc(Z, W, Q, ee, q + Re, te, te + y, y);
|
|
20774
20785
|
const { scrollLeft: Ue, scrollTop: Ke } = G;
|
|
20775
|
-
Me = qe === 0 ? 0 : Math.max(0, Math.min(Ke + Me / qe, G.scrollHeight -
|
|
20786
|
+
Me = qe === 0 ? 0 : Math.max(0, Math.min(Ke + Me / qe, G.scrollHeight - X / qe + Ge)), Se = je === 0 ? 0 : Math.max(0, Math.min(Ue + Se / je, G.scrollWidth - Q / je + Re)), U += Ke - Me, te += Ue - Se;
|
|
20776
20787
|
}
|
|
20777
20788
|
se.push({ el: G, top: Me, left: Se });
|
|
20778
20789
|
}
|
|
@@ -21542,47 +21553,47 @@ function ls(e) {
|
|
|
21542
21553
|
}, [u, a]);
|
|
21543
21554
|
var A = x.useMemo(function() {
|
|
21544
21555
|
return {
|
|
21545
|
-
ArrowDown: function(
|
|
21546
|
-
|
|
21556
|
+
ArrowDown: function(Y) {
|
|
21557
|
+
Y.preventDefault(), l({
|
|
21547
21558
|
type: B0,
|
|
21548
|
-
altKey:
|
|
21559
|
+
altKey: Y.altKey
|
|
21549
21560
|
});
|
|
21550
21561
|
},
|
|
21551
|
-
ArrowUp: function(
|
|
21552
|
-
|
|
21562
|
+
ArrowUp: function(Y) {
|
|
21563
|
+
Y.preventDefault(), l({
|
|
21553
21564
|
type: H0,
|
|
21554
|
-
altKey:
|
|
21565
|
+
altKey: Y.altKey
|
|
21555
21566
|
});
|
|
21556
21567
|
},
|
|
21557
|
-
Home: function(
|
|
21558
|
-
I.current.state.isOpen && (
|
|
21568
|
+
Home: function(Y) {
|
|
21569
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21559
21570
|
type: G0
|
|
21560
21571
|
}));
|
|
21561
21572
|
},
|
|
21562
|
-
End: function(
|
|
21563
|
-
I.current.state.isOpen && (
|
|
21573
|
+
End: function(Y) {
|
|
21574
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21564
21575
|
type: W0
|
|
21565
21576
|
}));
|
|
21566
21577
|
},
|
|
21567
|
-
Escape: function(
|
|
21578
|
+
Escape: function(Y) {
|
|
21568
21579
|
var q = I.current.state;
|
|
21569
|
-
(q.isOpen || q.inputValue || q.selectedItem || q.highlightedIndex > -1) && (
|
|
21580
|
+
(q.isOpen || q.inputValue || q.selectedItem || q.highlightedIndex > -1) && (Y.preventDefault(), l({
|
|
21570
21581
|
type: z0
|
|
21571
21582
|
}));
|
|
21572
21583
|
},
|
|
21573
|
-
Enter: function(
|
|
21584
|
+
Enter: function(Y) {
|
|
21574
21585
|
var q = I.current.state;
|
|
21575
|
-
!q.isOpen ||
|
|
21586
|
+
!q.isOpen || Y.which === 229 || (Y.preventDefault(), l({
|
|
21576
21587
|
type: Y0
|
|
21577
21588
|
}));
|
|
21578
21589
|
},
|
|
21579
|
-
PageUp: function(
|
|
21580
|
-
I.current.state.isOpen && (
|
|
21590
|
+
PageUp: function(Y) {
|
|
21591
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21581
21592
|
type: q0
|
|
21582
21593
|
}));
|
|
21583
21594
|
},
|
|
21584
|
-
PageDown: function(
|
|
21585
|
-
I.current.state.isOpen && (
|
|
21595
|
+
PageDown: function(Y) {
|
|
21596
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21586
21597
|
type: K0
|
|
21587
21598
|
}));
|
|
21588
21599
|
}
|
|
@@ -21592,8 +21603,8 @@ function ls(e) {
|
|
|
21592
21603
|
id: y.labelId,
|
|
21593
21604
|
htmlFor: y.inputId
|
|
21594
21605
|
}, ee);
|
|
21595
|
-
}, [y]), te = x.useCallback(function(ee,
|
|
21596
|
-
var q, P = ee === void 0 ? {} : ee, Me = P.onMouseLeave, Se = P.refKey, Re = Se === void 0 ? "ref" : Se, Ge = P.ref, je = ui(P, NH), qe =
|
|
21606
|
+
}, [y]), te = x.useCallback(function(ee, Y) {
|
|
21607
|
+
var q, P = ee === void 0 ? {} : ee, Me = P.onMouseLeave, Se = P.refKey, Re = Se === void 0 ? "ref" : Se, Ge = P.ref, je = ui(P, NH), qe = Y === void 0 ? {} : Y;
|
|
21597
21608
|
return qe.suppressRefError, It((q = {}, q[Re] = Bc(Ge, function(Ue) {
|
|
21598
21609
|
m.current = Ue;
|
|
21599
21610
|
}), q.id = y.menuId, q.role = "listbox", q["aria-labelledby"] = je && je["aria-label"] ? void 0 : "" + y.labelId, q.onMouseLeave = wo(Me, function() {
|
|
@@ -21602,7 +21613,7 @@ function ls(e) {
|
|
|
21602
21613
|
});
|
|
21603
21614
|
}), q), je);
|
|
21604
21615
|
}, [l, O, y]), se = x.useCallback(function(ee) {
|
|
21605
|
-
var
|
|
21616
|
+
var Y, q, P = ee === void 0 ? {} : ee, Me = P.item, Se = P.index, Re = P.refKey, Ge = Re === void 0 ? "ref" : Re, je = P.ref, qe = P.onMouseMove, Ue = P.onMouseDown, Ke = P.onClick;
|
|
21606
21617
|
P.onPress;
|
|
21607
21618
|
var tt = P.disabled, R = ui(P, kH);
|
|
21608
21619
|
tt !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
|
|
@@ -21620,29 +21631,29 @@ function ls(e) {
|
|
|
21620
21631
|
}, ke = function(Wt) {
|
|
21621
21632
|
return Wt.preventDefault();
|
|
21622
21633
|
};
|
|
21623
|
-
return It((
|
|
21634
|
+
return It((Y = {}, Y[Ge] = Bc(je, function(at) {
|
|
21624
21635
|
at && (g.current[y.getItemId(me)] = at);
|
|
21625
|
-
}),
|
|
21636
|
+
}), Y["aria-disabled"] = Ne, Y["aria-selected"] = me === pe.highlightedIndex, Y.id = y.getItemId(me), Y.role = "option", Y), !Ne && (q = {}, q[ve] = wo(xe, Ie), q), {
|
|
21626
21637
|
onMouseMove: wo(qe, He),
|
|
21627
21638
|
onMouseDown: wo(Ue, ke)
|
|
21628
21639
|
}, R);
|
|
21629
21640
|
}, [l, y, I, T, N]), he = x.useCallback(function(ee) {
|
|
21630
|
-
var
|
|
21641
|
+
var Y, q = ee === void 0 ? {} : ee, P = q.onClick;
|
|
21631
21642
|
q.onPress;
|
|
21632
21643
|
var Me = q.refKey, Se = Me === void 0 ? "ref" : Me, Re = q.ref, Ge = ui(q, AH), je = I.current.state, qe = function() {
|
|
21633
21644
|
l({
|
|
21634
21645
|
type: vR
|
|
21635
21646
|
});
|
|
21636
21647
|
};
|
|
21637
|
-
return It((
|
|
21648
|
+
return It((Y = {}, Y[Se] = Bc(Re, function(Ue) {
|
|
21638
21649
|
w.current = Ue;
|
|
21639
|
-
}),
|
|
21650
|
+
}), Y["aria-controls"] = y.menuId, Y["aria-expanded"] = je.isOpen, Y.id = y.toggleButtonId, Y.tabIndex = -1, Y), !Ge.disabled && It({}, {
|
|
21640
21651
|
onClick: wo(P, qe)
|
|
21641
21652
|
}), Ge);
|
|
21642
|
-
}, [l, I, y]), G = x.useCallback(function(ee,
|
|
21653
|
+
}, [l, I, y]), G = x.useCallback(function(ee, Y) {
|
|
21643
21654
|
var q, P = ee === void 0 ? {} : ee, Me = P.onKeyDown, Se = P.onChange, Re = P.onInput, Ge = P.onBlur;
|
|
21644
21655
|
P.onChangeText;
|
|
21645
|
-
var je = P.onClick, qe = P.refKey, Ue = qe === void 0 ? "ref" : qe, Ke = P.ref, tt = ui(P, _H), R =
|
|
21656
|
+
var je = P.onClick, qe = P.refKey, Ue = qe === void 0 ? "ref" : qe, Ke = P.ref, tt = ui(P, _H), R = Y === void 0 ? {} : Y;
|
|
21646
21657
|
R.suppressRefError;
|
|
21647
21658
|
var D = I.current.state, z = function(He) {
|
|
21648
21659
|
var Ie = iH(He);
|
|
@@ -21672,11 +21683,11 @@ function ls(e) {
|
|
|
21672
21683
|
return It((q = {}, q[Ue] = Bc(Ke, function(xe) {
|
|
21673
21684
|
h.current = xe;
|
|
21674
21685
|
}), q["aria-activedescendant"] = D.isOpen && D.highlightedIndex > -1 ? y.getItemId(D.highlightedIndex) : "", q["aria-autocomplete"] = "list", q["aria-controls"] = y.menuId, q["aria-expanded"] = D.isOpen, q["aria-labelledby"] = tt && tt["aria-label"] ? void 0 : y.labelId, q.autoComplete = "off", q.id = y.inputId, q.role = "combobox", q.value = D.inputValue, q), Ne, tt);
|
|
21675
|
-
}, [l, y, a, A, I, T, O]),
|
|
21686
|
+
}, [l, y, a, A, I, T, O]), X = x.useCallback(function() {
|
|
21676
21687
|
l({
|
|
21677
21688
|
type: bR
|
|
21678
21689
|
});
|
|
21679
|
-
}, [l]),
|
|
21690
|
+
}, [l]), Q = x.useCallback(function() {
|
|
21680
21691
|
l({
|
|
21681
21692
|
type: IR
|
|
21682
21693
|
});
|
|
@@ -21694,7 +21705,7 @@ function ls(e) {
|
|
|
21694
21705
|
type: J0,
|
|
21695
21706
|
selectedItem: ee
|
|
21696
21707
|
});
|
|
21697
|
-
}, [l]),
|
|
21708
|
+
}, [l]), Z = x.useCallback(function(ee) {
|
|
21698
21709
|
l({
|
|
21699
21710
|
type: MR,
|
|
21700
21711
|
inputValue: ee
|
|
@@ -21712,11 +21723,11 @@ function ls(e) {
|
|
|
21712
21723
|
getInputProps: G,
|
|
21713
21724
|
getToggleButtonProps: he,
|
|
21714
21725
|
// actions.
|
|
21715
|
-
toggleMenu:
|
|
21726
|
+
toggleMenu: X,
|
|
21716
21727
|
openMenu: oe,
|
|
21717
|
-
closeMenu:
|
|
21728
|
+
closeMenu: Q,
|
|
21718
21729
|
setHighlightedIndex: W,
|
|
21719
|
-
setInputValue:
|
|
21730
|
+
setInputValue: Z,
|
|
21720
21731
|
selectItem: ce,
|
|
21721
21732
|
reset: J,
|
|
21722
21733
|
// state.
|
|
@@ -21832,15 +21843,15 @@ const OH = ({
|
|
|
21832
21843
|
} = ls({
|
|
21833
21844
|
id: t,
|
|
21834
21845
|
items: M,
|
|
21835
|
-
onInputValueChange({ inputValue:
|
|
21836
|
-
I(
|
|
21846
|
+
onInputValueChange({ inputValue: X }) {
|
|
21847
|
+
I(X);
|
|
21837
21848
|
},
|
|
21838
|
-
onSelectedItemChange: ({ selectedItem:
|
|
21849
|
+
onSelectedItemChange: ({ selectedItem: X }) => l(X),
|
|
21839
21850
|
itemToString: TM,
|
|
21840
21851
|
selectedItem: d && d.value && d.label ? d : void 0,
|
|
21841
21852
|
defaultHighlightedIndex: 0
|
|
21842
|
-
}), he = (
|
|
21843
|
-
typeof i == "function" && i(
|
|
21853
|
+
}), he = (X) => {
|
|
21854
|
+
typeof i == "function" && i(X);
|
|
21844
21855
|
}, G = x.useRef(null);
|
|
21845
21856
|
return x.useEffect(() => {
|
|
21846
21857
|
Es(n, G.current);
|
|
@@ -21850,7 +21861,7 @@ const OH = ({
|
|
|
21850
21861
|
{
|
|
21851
21862
|
...N({
|
|
21852
21863
|
ref: G,
|
|
21853
|
-
onKeyDown: (
|
|
21864
|
+
onKeyDown: (X) => he(X),
|
|
21854
21865
|
"aria-labelledby": a
|
|
21855
21866
|
}),
|
|
21856
21867
|
autoFocus: p,
|
|
@@ -21940,29 +21951,29 @@ const jH = ({
|
|
|
21940
21951
|
{ value: "10", label: t.formatHTMLMessage({ id: "dateTime.october", defaultMessage: "October" }) },
|
|
21941
21952
|
{ value: "11", label: t.formatHTMLMessage({ id: "dateTime.november", defaultMessage: "November" }) },
|
|
21942
21953
|
{ value: "12", label: t.formatHTMLMessage({ id: "dateTime.december", defaultMessage: "December" }) }
|
|
21943
|
-
], M = (
|
|
21944
|
-
if (M(v,
|
|
21954
|
+
], M = (Q, oe, W) => (!W || W === "") && (!oe || oe === "") && (!Q || Q === ""), N = (Q) => {
|
|
21955
|
+
if (M(v, Q, S)) {
|
|
21945
21956
|
e("");
|
|
21946
21957
|
return;
|
|
21947
21958
|
}
|
|
21948
|
-
(
|
|
21949
|
-
const oe = Number.parseInt(
|
|
21950
|
-
typeof oe == "number" && oe >= 1 && oe <= 12 ? e(`${v}-${Xo(
|
|
21951
|
-
}, T = (
|
|
21952
|
-
if (M(v, y,
|
|
21959
|
+
(Q === "" || Q === null) && e(`${v}--${S}`);
|
|
21960
|
+
const oe = Number.parseInt(Q, 10);
|
|
21961
|
+
typeof oe == "number" && oe >= 1 && oe <= 12 ? e(`${v}-${Xo(Q)}-${Xo(S)}`) : L.warn(`Value '${oe}' is an invalid month`);
|
|
21962
|
+
}, T = (Q) => {
|
|
21963
|
+
if (M(v, y, Q)) {
|
|
21953
21964
|
e("");
|
|
21954
21965
|
return;
|
|
21955
21966
|
}
|
|
21956
|
-
|
|
21957
|
-
const oe = Number.parseInt(
|
|
21967
|
+
Q === "" && e(`${v}-${y}-`);
|
|
21968
|
+
const oe = Number.parseInt(Q, 10);
|
|
21958
21969
|
typeof oe == "number" && oe >= 1 && oe <= 31 ? e(`${v}-${Xo(y)}-${Xo(oe)}`) : L.warn(`Value '${oe}' is an invalid day`);
|
|
21959
|
-
}, O = (
|
|
21960
|
-
if (M(
|
|
21970
|
+
}, O = (Q) => {
|
|
21971
|
+
if (M(Q, y, S)) {
|
|
21961
21972
|
e("");
|
|
21962
21973
|
return;
|
|
21963
21974
|
}
|
|
21964
|
-
|
|
21965
|
-
const oe = Number.parseInt(
|
|
21975
|
+
Q === "" && e(`-${y}-${S}`);
|
|
21976
|
+
const oe = Number.parseInt(Q, 10);
|
|
21966
21977
|
typeof oe == "number" && oe >= 1 ? e(`${oe}-${Xo(y)}-${Xo(S)}`) : L.warn(`Value '${oe}' is an invalid year`);
|
|
21967
21978
|
}, A = () => {
|
|
21968
21979
|
e(!S && !y && !v ? "" : `${v}-${Xo(y)}-${Xo(S)}`);
|
|
@@ -21976,8 +21987,8 @@ const jH = ({
|
|
|
21976
21987
|
ariaDescribedBy: r ? h : "",
|
|
21977
21988
|
isErrored: r,
|
|
21978
21989
|
options: I,
|
|
21979
|
-
onChange: (
|
|
21980
|
-
N(
|
|
21990
|
+
onChange: (Q) => {
|
|
21991
|
+
N(Q ? Q.value : null);
|
|
21981
21992
|
},
|
|
21982
21993
|
placeholder: t.formatHTMLMessage({ id: "dateTime.month", defaultMessage: "Month" }),
|
|
21983
21994
|
suppressPlaceholder: !1,
|
|
@@ -21996,7 +22007,7 @@ const jH = ({
|
|
|
21996
22007
|
min: 1,
|
|
21997
22008
|
max: 31,
|
|
21998
22009
|
name: `${g}-day`,
|
|
21999
|
-
onChange: (
|
|
22010
|
+
onChange: (Q) => T(Q.target.value),
|
|
22000
22011
|
onBlur: A,
|
|
22001
22012
|
pattern: "\\d*",
|
|
22002
22013
|
placeholder: t.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }),
|
|
@@ -22010,7 +22021,7 @@ const jH = ({
|
|
|
22010
22021
|
disabled: p,
|
|
22011
22022
|
autoComplete: m ? `${m}-day` : void 0
|
|
22012
22023
|
}
|
|
22013
|
-
),
|
|
22024
|
+
), X = /* @__PURE__ */ f.jsx(
|
|
22014
22025
|
Iu,
|
|
22015
22026
|
{
|
|
22016
22027
|
className: `${g}__year sid-date__year sid-text-input sid-text-input--required ${r ? "sid-text-input--error" : ""}`,
|
|
@@ -22027,7 +22038,7 @@ const jH = ({
|
|
|
22027
22038
|
"aria-labelledby": g,
|
|
22028
22039
|
"aria-required": n,
|
|
22029
22040
|
refId: `${l}Year`,
|
|
22030
|
-
onChange: (
|
|
22041
|
+
onChange: (Q) => O(Q.target.value),
|
|
22031
22042
|
onBlur: A,
|
|
22032
22043
|
disabled: p,
|
|
22033
22044
|
autoComplete: m ? `${m}-year` : void 0
|
|
@@ -22054,7 +22065,7 @@ const jH = ({
|
|
|
22054
22065
|
he,
|
|
22055
22066
|
G
|
|
22056
22067
|
] }),
|
|
22057
|
-
|
|
22068
|
+
X
|
|
22058
22069
|
] }),
|
|
22059
22070
|
r && se
|
|
22060
22071
|
] });
|
|
@@ -22665,14 +22676,24 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22665
22676
|
id: void 0,
|
|
22666
22677
|
name: ""
|
|
22667
22678
|
}));
|
|
22668
|
-
}, dz = ({
|
|
22679
|
+
}, dz = ({
|
|
22680
|
+
id: e,
|
|
22681
|
+
onMouseDown: t,
|
|
22682
|
+
disabled: r,
|
|
22683
|
+
onKeyDown: n,
|
|
22684
|
+
handleOnBlur: a
|
|
22685
|
+
}) => /* @__PURE__ */ f.jsx(
|
|
22669
22686
|
"button",
|
|
22670
22687
|
{
|
|
22671
|
-
|
|
22688
|
+
id: e,
|
|
22672
22689
|
type: "button",
|
|
22673
|
-
onMouseDown:
|
|
22674
|
-
|
|
22690
|
+
onMouseDown: t,
|
|
22691
|
+
onKeyDown: n,
|
|
22692
|
+
onBlur: a,
|
|
22693
|
+
className: `sid-input-clear-button ${r ? "sid-input-clear-button--disabled" : ""}`,
|
|
22675
22694
|
"aria-label": "clear text",
|
|
22695
|
+
"aria-disabled": r,
|
|
22696
|
+
tabIndex: 0,
|
|
22676
22697
|
children: /* @__PURE__ */ f.jsx(
|
|
22677
22698
|
"svg",
|
|
22678
22699
|
{
|
|
@@ -22680,7 +22701,7 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22680
22701
|
preserveAspectRatio: "none",
|
|
22681
22702
|
width: 28,
|
|
22682
22703
|
fill: "none",
|
|
22683
|
-
stroke:
|
|
22704
|
+
stroke: r ? "#B6B6B6" : "#5A5A5A",
|
|
22684
22705
|
strokeWidth: "1.1",
|
|
22685
22706
|
children: /* @__PURE__ */ f.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6 18L18 6M6 6l12 12" })
|
|
22686
22707
|
}
|
|
@@ -22704,15 +22725,15 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22704
22725
|
isErrored: g,
|
|
22705
22726
|
ariaDescribedBy: h
|
|
22706
22727
|
}) => {
|
|
22707
|
-
const [w, v] = x.useState(""), [y, S] = x.useState([]), [I, M] = x.useState(0), [N, T] = x.useState(0), [O, A] = x.useState(!1), [U, te] = x.useState(!
|
|
22728
|
+
const [w, v] = x.useState(""), [y, S] = x.useState([]), [I, M] = x.useState(0), [N, T] = x.useState(0), [O, A] = x.useState(!1), [U, te] = x.useState(!1);
|
|
22708
22729
|
Jf(e);
|
|
22709
|
-
const se = (
|
|
22730
|
+
const se = (Y) => Y ? Y.name : "", { isOpen: he, highlightedIndex: G, getMenuProps: X, getItemProps: Q, getInputProps: oe } = ls({
|
|
22710
22731
|
itemToString: se,
|
|
22711
22732
|
id: l,
|
|
22712
22733
|
items: y,
|
|
22713
|
-
onStateChange: (
|
|
22714
|
-
onInputValueChange: (
|
|
22715
|
-
const q =
|
|
22734
|
+
onStateChange: (Y) => cz(Y, e, u),
|
|
22735
|
+
onInputValueChange: (Y) => {
|
|
22736
|
+
const q = Y.inputValue;
|
|
22716
22737
|
te(!q);
|
|
22717
22738
|
try {
|
|
22718
22739
|
N === 0 && T(Date.now()), q.length < w.length && M(I + 1);
|
|
@@ -22722,14 +22743,14 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22722
22743
|
v(q);
|
|
22723
22744
|
},
|
|
22724
22745
|
selectedItem: i,
|
|
22725
|
-
onSelectedItemChange: ({ selectedItem:
|
|
22746
|
+
onSelectedItemChange: ({ selectedItem: Y }) => {
|
|
22726
22747
|
try {
|
|
22727
22748
|
const q = {
|
|
22728
22749
|
eventName: Ut.ORG_SELECTED,
|
|
22729
22750
|
params: {
|
|
22730
22751
|
[bn.QUERY_LENGTH]: w.length,
|
|
22731
22752
|
[bn.NUMBER_REWORKS]: I,
|
|
22732
|
-
[bn.SELECTED_RESULT_RANK]: y.findIndex((P) => P.id ===
|
|
22753
|
+
[bn.SELECTED_RESULT_RANK]: y.findIndex((P) => P.id === Y.id) + 1,
|
|
22733
22754
|
[bn.EVENT_DURATION]: Date.now() - N,
|
|
22734
22755
|
[bn.NUMBER_OF_RESULTS]: y.length
|
|
22735
22756
|
}
|
|
@@ -22738,11 +22759,11 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22738
22759
|
} catch (q) {
|
|
22739
22760
|
L.error(q);
|
|
22740
22761
|
}
|
|
22741
|
-
T(0), M(0), e(
|
|
22762
|
+
T(0), M(0), e(Y);
|
|
22742
22763
|
}
|
|
22743
22764
|
}), W = () => {
|
|
22744
22765
|
try {
|
|
22745
|
-
const
|
|
22766
|
+
const Y = {
|
|
22746
22767
|
eventName: Ut.ASR_SELECTED,
|
|
22747
22768
|
params: {
|
|
22748
22769
|
[bn.QUERY_LENGTH]: w.length,
|
|
@@ -22751,23 +22772,24 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22751
22772
|
[bn.NUMBER_OF_RESULTS]: y.length
|
|
22752
22773
|
}
|
|
22753
22774
|
};
|
|
22754
|
-
po(
|
|
22755
|
-
} catch (
|
|
22756
|
-
L.error(
|
|
22775
|
+
po(Y);
|
|
22776
|
+
} catch (Y) {
|
|
22777
|
+
L.error(Y);
|
|
22757
22778
|
}
|
|
22758
22779
|
}, ce = x.useRef(null);
|
|
22759
22780
|
x.useEffect(() => {
|
|
22760
|
-
Es("organization", ce.current)
|
|
22781
|
+
Es("organization", ce.current);
|
|
22761
22782
|
});
|
|
22762
|
-
const
|
|
22763
|
-
A(!0),
|
|
22764
|
-
}, J = () => {
|
|
22765
|
-
|
|
22766
|
-
|
|
22767
|
-
|
|
22783
|
+
const Z = (Y) => {
|
|
22784
|
+
A(!0), Y.currentTarget.value ? te(!1) : te(!0);
|
|
22785
|
+
}, J = (Y) => {
|
|
22786
|
+
var q;
|
|
22787
|
+
((q = Y.relatedTarget) == null ? void 0 : q.id) !== `${l}-clear-button` && A(!1);
|
|
22788
|
+
}, ee = (Y) => {
|
|
22789
|
+
(Y.type === "mousedown" || "key" in Y && Y.key === "Enter") && (v(""), e({
|
|
22768
22790
|
id: void 0,
|
|
22769
22791
|
name: ""
|
|
22770
|
-
});
|
|
22792
|
+
}), ce.current.focus());
|
|
22771
22793
|
};
|
|
22772
22794
|
return /* @__PURE__ */ f.jsxs("div", { className: "sid-organization-list", children: [
|
|
22773
22795
|
/* @__PURE__ */ f.jsx(
|
|
@@ -22775,8 +22797,8 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22775
22797
|
{
|
|
22776
22798
|
...oe({
|
|
22777
22799
|
ref: ce,
|
|
22778
|
-
onFocus: (
|
|
22779
|
-
onBlur: () => J()
|
|
22800
|
+
onFocus: (Y) => Z(Y),
|
|
22801
|
+
onBlur: (Y) => J(Y)
|
|
22780
22802
|
}),
|
|
22781
22803
|
className: `sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,
|
|
22782
22804
|
disabled: a,
|
|
@@ -22789,16 +22811,25 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22789
22811
|
"aria-labelledby": `${l}-label`
|
|
22790
22812
|
}
|
|
22791
22813
|
),
|
|
22792
|
-
O ? /* @__PURE__ */ f.jsx(
|
|
22793
|
-
|
|
22814
|
+
O ? /* @__PURE__ */ f.jsx(
|
|
22815
|
+
fz,
|
|
22816
|
+
{
|
|
22817
|
+
id: `${l}-clear-button`,
|
|
22818
|
+
disabled: U,
|
|
22819
|
+
onMouseDown: ee,
|
|
22820
|
+
onKeyDown: ee,
|
|
22821
|
+
handleOnBlur: J
|
|
22822
|
+
}
|
|
22823
|
+
) : null,
|
|
22824
|
+
/* @__PURE__ */ f.jsx("div", { ...X(), children: he && w ? /* @__PURE__ */ f.jsx(
|
|
22794
22825
|
uz,
|
|
22795
22826
|
{
|
|
22796
22827
|
countryCode: n,
|
|
22797
|
-
getItemProps:
|
|
22828
|
+
getItemProps: Q,
|
|
22798
22829
|
highlightedIndex: G,
|
|
22799
22830
|
itemToString: se,
|
|
22800
22831
|
minimumSearchValueLength: o,
|
|
22801
|
-
onLoaded: (
|
|
22832
|
+
onLoaded: (Y) => S(Y),
|
|
22802
22833
|
programId: t,
|
|
22803
22834
|
orgSearchUrl: c,
|
|
22804
22835
|
locale: p,
|
|
@@ -23148,109 +23179,109 @@ var Sz = function(e) {
|
|
|
23148
23179
|
(function(n) {
|
|
23149
23180
|
var a = /^\[object .+?Constructor\]$/, o = typeof n == "object" && n && n.Object === Object && n, s = typeof self == "object" && self && self.Object === Object && self, i = o || s || Function("return this")(), l, u = Array.prototype, c = Function.prototype, d = Object.prototype, p = i["__core-js_shared__"], m = (l = /[^.]+$/.exec(p && p.keys && p.keys.IE_PROTO || "")) ? "Symbol(src)_1." + l : "", g = c.toString, h = d.hasOwnProperty, w = d.toString, v = RegExp("^" + g.call(h).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), y = u.splice, S = te(i, "Map"), I = te(Object, "create");
|
|
23150
23181
|
function M(G) {
|
|
23151
|
-
var
|
|
23152
|
-
for (this.clear(); ++
|
|
23153
|
-
var oe = G[
|
|
23182
|
+
var X = -1, Q = G ? G.length : 0;
|
|
23183
|
+
for (this.clear(); ++X < Q; ) {
|
|
23184
|
+
var oe = G[X];
|
|
23154
23185
|
this.set(oe[0], oe[1]);
|
|
23155
23186
|
}
|
|
23156
23187
|
}
|
|
23157
23188
|
function N(G) {
|
|
23158
|
-
var
|
|
23159
|
-
for (this.clear(); ++
|
|
23160
|
-
var oe = G[
|
|
23189
|
+
var X = -1, Q = G ? G.length : 0;
|
|
23190
|
+
for (this.clear(); ++X < Q; ) {
|
|
23191
|
+
var oe = G[X];
|
|
23161
23192
|
this.set(oe[0], oe[1]);
|
|
23162
23193
|
}
|
|
23163
23194
|
}
|
|
23164
23195
|
function T(G) {
|
|
23165
|
-
var
|
|
23166
|
-
for (this.clear(); ++
|
|
23167
|
-
var oe = G[
|
|
23196
|
+
var X = -1, Q = G ? G.length : 0;
|
|
23197
|
+
for (this.clear(); ++X < Q; ) {
|
|
23198
|
+
var oe = G[X];
|
|
23168
23199
|
this.set(oe[0], oe[1]);
|
|
23169
23200
|
}
|
|
23170
23201
|
}
|
|
23171
|
-
function O(G,
|
|
23172
|
-
for (var
|
|
23202
|
+
function O(G, X) {
|
|
23203
|
+
for (var Q, oe, W = G.length; W--; ) if ((Q = G[W][0]) === (oe = X) || Q != Q && oe != oe) return W;
|
|
23173
23204
|
return -1;
|
|
23174
23205
|
}
|
|
23175
23206
|
function A(G) {
|
|
23176
|
-
return !(!he(G) || (
|
|
23177
|
-
var oe = he(
|
|
23207
|
+
return !(!he(G) || (X = G, m && m in X)) && (function(Q) {
|
|
23208
|
+
var oe = he(Q) ? w.call(Q) : "";
|
|
23178
23209
|
return oe == "[object Function]" || oe == "[object GeneratorFunction]";
|
|
23179
|
-
}(G) || function(
|
|
23210
|
+
}(G) || function(Q) {
|
|
23180
23211
|
var oe = !1;
|
|
23181
|
-
if (
|
|
23182
|
-
oe = !!(
|
|
23212
|
+
if (Q != null && typeof Q.toString != "function") try {
|
|
23213
|
+
oe = !!(Q + "");
|
|
23183
23214
|
} catch {
|
|
23184
23215
|
}
|
|
23185
23216
|
return oe;
|
|
23186
|
-
}(G) ? v : a).test(function(
|
|
23187
|
-
if (
|
|
23217
|
+
}(G) ? v : a).test(function(Q) {
|
|
23218
|
+
if (Q != null) {
|
|
23188
23219
|
try {
|
|
23189
|
-
return g.call(
|
|
23220
|
+
return g.call(Q);
|
|
23190
23221
|
} catch {
|
|
23191
23222
|
}
|
|
23192
23223
|
try {
|
|
23193
|
-
return
|
|
23224
|
+
return Q + "";
|
|
23194
23225
|
} catch {
|
|
23195
23226
|
}
|
|
23196
23227
|
}
|
|
23197
23228
|
return "";
|
|
23198
23229
|
}(G));
|
|
23199
|
-
var
|
|
23230
|
+
var X;
|
|
23200
23231
|
}
|
|
23201
|
-
function U(G,
|
|
23202
|
-
var
|
|
23203
|
-
return ((oe = typeof (
|
|
23232
|
+
function U(G, X) {
|
|
23233
|
+
var Q, oe, W = G.__data__;
|
|
23234
|
+
return ((oe = typeof (Q = X)) == "string" || oe == "number" || oe == "symbol" || oe == "boolean" ? Q !== "__proto__" : Q === null) ? W[typeof X == "string" ? "string" : "hash"] : W.map;
|
|
23204
23235
|
}
|
|
23205
|
-
function te(G,
|
|
23206
|
-
var
|
|
23236
|
+
function te(G, X) {
|
|
23237
|
+
var Q = function(oe, W) {
|
|
23207
23238
|
return oe == null ? void 0 : oe[W];
|
|
23208
|
-
}(G,
|
|
23209
|
-
return A(
|
|
23239
|
+
}(G, X);
|
|
23240
|
+
return A(Q) ? Q : void 0;
|
|
23210
23241
|
}
|
|
23211
|
-
function se(G,
|
|
23212
|
-
if (typeof G != "function" ||
|
|
23213
|
-
var
|
|
23214
|
-
var oe = arguments, W =
|
|
23242
|
+
function se(G, X) {
|
|
23243
|
+
if (typeof G != "function" || X && typeof X != "function") throw new TypeError("Expected a function");
|
|
23244
|
+
var Q = function() {
|
|
23245
|
+
var oe = arguments, W = X ? X.apply(this, oe) : oe[0], ce = Q.cache;
|
|
23215
23246
|
if (ce.has(W)) return ce.get(W);
|
|
23216
|
-
var
|
|
23217
|
-
return
|
|
23247
|
+
var Z = G.apply(this, oe);
|
|
23248
|
+
return Q.cache = ce.set(W, Z), Z;
|
|
23218
23249
|
};
|
|
23219
|
-
return
|
|
23250
|
+
return Q.cache = new (se.Cache || T)(), Q;
|
|
23220
23251
|
}
|
|
23221
23252
|
function he(G) {
|
|
23222
|
-
var
|
|
23223
|
-
return !!G && (
|
|
23253
|
+
var X = typeof G;
|
|
23254
|
+
return !!G && (X == "object" || X == "function");
|
|
23224
23255
|
}
|
|
23225
23256
|
M.prototype.clear = function() {
|
|
23226
23257
|
this.__data__ = I ? I(null) : {};
|
|
23227
23258
|
}, M.prototype.delete = function(G) {
|
|
23228
23259
|
return this.has(G) && delete this.__data__[G];
|
|
23229
23260
|
}, M.prototype.get = function(G) {
|
|
23230
|
-
var
|
|
23261
|
+
var X = this.__data__;
|
|
23231
23262
|
if (I) {
|
|
23232
|
-
var
|
|
23233
|
-
return
|
|
23263
|
+
var Q = X[G];
|
|
23264
|
+
return Q === "__lodash_hash_undefined__" ? void 0 : Q;
|
|
23234
23265
|
}
|
|
23235
|
-
return h.call(
|
|
23266
|
+
return h.call(X, G) ? X[G] : void 0;
|
|
23236
23267
|
}, M.prototype.has = function(G) {
|
|
23237
|
-
var
|
|
23238
|
-
return I ?
|
|
23239
|
-
}, M.prototype.set = function(G,
|
|
23240
|
-
return this.__data__[G] = I &&
|
|
23268
|
+
var X = this.__data__;
|
|
23269
|
+
return I ? X[G] !== void 0 : h.call(X, G);
|
|
23270
|
+
}, M.prototype.set = function(G, X) {
|
|
23271
|
+
return this.__data__[G] = I && X === void 0 ? "__lodash_hash_undefined__" : X, this;
|
|
23241
23272
|
}, N.prototype.clear = function() {
|
|
23242
23273
|
this.__data__ = [];
|
|
23243
23274
|
}, N.prototype.delete = function(G) {
|
|
23244
|
-
var
|
|
23245
|
-
return !(
|
|
23275
|
+
var X = this.__data__, Q = O(X, G);
|
|
23276
|
+
return !(Q < 0) && (Q == X.length - 1 ? X.pop() : y.call(X, Q, 1), !0);
|
|
23246
23277
|
}, N.prototype.get = function(G) {
|
|
23247
|
-
var
|
|
23248
|
-
return
|
|
23278
|
+
var X = this.__data__, Q = O(X, G);
|
|
23279
|
+
return Q < 0 ? void 0 : X[Q][1];
|
|
23249
23280
|
}, N.prototype.has = function(G) {
|
|
23250
23281
|
return O(this.__data__, G) > -1;
|
|
23251
|
-
}, N.prototype.set = function(G,
|
|
23252
|
-
var
|
|
23253
|
-
return oe < 0 ?
|
|
23282
|
+
}, N.prototype.set = function(G, X) {
|
|
23283
|
+
var Q = this.__data__, oe = O(Q, G);
|
|
23284
|
+
return oe < 0 ? Q.push([G, X]) : Q[oe][1] = X, this;
|
|
23254
23285
|
}, T.prototype.clear = function() {
|
|
23255
23286
|
this.__data__ = { hash: new M(), map: new (S || N)(), string: new M() };
|
|
23256
23287
|
}, T.prototype.delete = function(G) {
|
|
@@ -23259,8 +23290,8 @@ var Sz = function(e) {
|
|
|
23259
23290
|
return U(this, G).get(G);
|
|
23260
23291
|
}, T.prototype.has = function(G) {
|
|
23261
23292
|
return U(this, G).has(G);
|
|
23262
|
-
}, T.prototype.set = function(G,
|
|
23263
|
-
return U(this, G).set(G,
|
|
23293
|
+
}, T.prototype.set = function(G, X) {
|
|
23294
|
+
return U(this, G).set(G, X), this;
|
|
23264
23295
|
}, se.Cache = T, e.exports = se;
|
|
23265
23296
|
}).call(this, r(3));
|
|
23266
23297
|
}, function(e, t, r) {
|
|
@@ -23291,12 +23322,12 @@ var Sz = function(e) {
|
|
|
23291
23322
|
e.exports = function(y, S, I) {
|
|
23292
23323
|
var M, N, T, O, A, U, te = 0, se = !1, he = !1, G = !0;
|
|
23293
23324
|
if (typeof y != "function") throw new TypeError("Expected a function");
|
|
23294
|
-
function Z(J) {
|
|
23295
|
-
var ee = M, Q = N;
|
|
23296
|
-
return M = N = void 0, te = J, O = y.apply(Q, ee);
|
|
23297
|
-
}
|
|
23298
23325
|
function X(J) {
|
|
23299
|
-
|
|
23326
|
+
var ee = M, Y = N;
|
|
23327
|
+
return M = N = void 0, te = J, O = y.apply(Y, ee);
|
|
23328
|
+
}
|
|
23329
|
+
function Q(J) {
|
|
23330
|
+
return te = J, A = setTimeout(W, S), se ? X(J) : O;
|
|
23300
23331
|
}
|
|
23301
23332
|
function oe(J) {
|
|
23302
23333
|
var ee = J - U;
|
|
@@ -23306,26 +23337,26 @@ var Sz = function(e) {
|
|
|
23306
23337
|
var J = h();
|
|
23307
23338
|
if (oe(J)) return ce(J);
|
|
23308
23339
|
A = setTimeout(W, function(ee) {
|
|
23309
|
-
var
|
|
23310
|
-
return he ? g(
|
|
23340
|
+
var Y = S - (ee - U);
|
|
23341
|
+
return he ? g(Y, T - (ee - te)) : Y;
|
|
23311
23342
|
}(J));
|
|
23312
23343
|
}
|
|
23313
23344
|
function ce(J) {
|
|
23314
|
-
return A = void 0, G && M ?
|
|
23345
|
+
return A = void 0, G && M ? X(J) : (M = N = void 0, O);
|
|
23315
23346
|
}
|
|
23316
|
-
function
|
|
23347
|
+
function Z() {
|
|
23317
23348
|
var J = h(), ee = oe(J);
|
|
23318
23349
|
if (M = arguments, N = this, U = J, ee) {
|
|
23319
|
-
if (A === void 0) return
|
|
23320
|
-
if (he) return A = setTimeout(W, S),
|
|
23350
|
+
if (A === void 0) return Q(U);
|
|
23351
|
+
if (he) return A = setTimeout(W, S), X(U);
|
|
23321
23352
|
}
|
|
23322
23353
|
return A === void 0 && (A = setTimeout(W, S)), O;
|
|
23323
23354
|
}
|
|
23324
|
-
return S = v(S) || 0, w(I) && (se = !!I.leading, T = (he = "maxWait" in I) ? m(v(I.maxWait) || 0, S) : T, G = "trailing" in I ? !!I.trailing : G),
|
|
23355
|
+
return S = v(S) || 0, w(I) && (se = !!I.leading, T = (he = "maxWait" in I) ? m(v(I.maxWait) || 0, S) : T, G = "trailing" in I ? !!I.trailing : G), Z.cancel = function() {
|
|
23325
23356
|
A !== void 0 && clearTimeout(A), te = 0, M = U = N = A = void 0;
|
|
23326
|
-
},
|
|
23357
|
+
}, Z.flush = function() {
|
|
23327
23358
|
return A === void 0 ? O : ce(h());
|
|
23328
|
-
},
|
|
23359
|
+
}, Z;
|
|
23329
23360
|
};
|
|
23330
23361
|
}).call(this, r(3));
|
|
23331
23362
|
}, function(e, t, r) {
|
|
@@ -23372,8 +23403,8 @@ var Sz = function(e) {
|
|
|
23372
23403
|
re[++H] = ie;
|
|
23373
23404
|
}), re;
|
|
23374
23405
|
}
|
|
23375
|
-
var
|
|
23376
|
-
return
|
|
23406
|
+
var X, Q, oe, W = Array.prototype, ce = Function.prototype, Z = Object.prototype, J = S["__core-js_shared__"], ee = (X = /[^.]+$/.exec(J && J.keys && J.keys.IE_PROTO || "")) ? "Symbol(src)_1." + X : "", Y = ce.toString, q = Z.hasOwnProperty, P = Z.toString, Me = RegExp("^" + Y.call(q).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), Se = S.Symbol, Re = S.Uint8Array, Ge = Z.propertyIsEnumerable, je = W.splice, qe = (Q = Object.keys, oe = Object, function(C) {
|
|
23407
|
+
return Q(oe(C));
|
|
23377
23408
|
}), Ue = j(S, "DataView"), Ke = j(S, "Map"), tt = j(S, "Promise"), R = j(S, "Set"), D = j(S, "WeakMap"), z = j(Object, "create"), pe = Be(Ue), le = Be(Ke), Ee = Be(tt), me = Be(R), Ne = Be(D), ve = Se ? Se.prototype : void 0, xe = ve ? ve.valueOf : void 0, He = ve ? ve.toString : void 0;
|
|
23378
23409
|
function Ie(C) {
|
|
23379
23410
|
var H = -1, re = C ? C.length : 0;
|
|
@@ -23632,7 +23663,7 @@ var Sz = function(e) {
|
|
|
23632
23663
|
var H, re;
|
|
23633
23664
|
}
|
|
23634
23665
|
function _r(C) {
|
|
23635
|
-
if (re = (H = C) && H.constructor, ie = typeof re == "function" && re.prototype ||
|
|
23666
|
+
if (re = (H = C) && H.constructor, ie = typeof re == "function" && re.prototype || Z, H !== ie) return qe(C);
|
|
23636
23667
|
var H, re, ie, Ae = [];
|
|
23637
23668
|
for (var _e in Object(C)) q.call(C, _e) && _e != "constructor" && Ae.push(_e);
|
|
23638
23669
|
return Ae;
|
|
@@ -23734,7 +23765,7 @@ var Sz = function(e) {
|
|
|
23734
23765
|
function Be(C) {
|
|
23735
23766
|
if (C != null) {
|
|
23736
23767
|
try {
|
|
23737
|
-
return
|
|
23768
|
+
return Y.call(C);
|
|
23738
23769
|
} catch {
|
|
23739
23770
|
}
|
|
23740
23771
|
try {
|
|
@@ -23816,73 +23847,73 @@ var Sz = function(e) {
|
|
|
23816
23847
|
return r >>= 0, n = String(n !== void 0 ? n : " "), this.length > r ? String(this) : ((r -= this.length) > n.length && (n += n.repeat(r / n.length)), String(this) + n.slice(0, r));
|
|
23817
23848
|
});
|
|
23818
23849
|
}, function(e, t, r) {
|
|
23819
|
-
function n(
|
|
23820
|
-
return J in
|
|
23850
|
+
function n(Z, J, ee) {
|
|
23851
|
+
return J in Z ? Object.defineProperty(Z, J, { value: ee, enumerable: !0, configurable: !0, writable: !0 }) : Z[J] = ee, Z;
|
|
23821
23852
|
}
|
|
23822
|
-
function a(
|
|
23823
|
-
if (Symbol.iterator in Object(
|
|
23853
|
+
function a(Z) {
|
|
23854
|
+
if (Symbol.iterator in Object(Z) || Object.prototype.toString.call(Z) === "[object Arguments]") return Array.from(Z);
|
|
23824
23855
|
}
|
|
23825
|
-
function o(
|
|
23856
|
+
function o(Z) {
|
|
23826
23857
|
return function(J) {
|
|
23827
23858
|
if (Array.isArray(J)) {
|
|
23828
|
-
for (var ee = 0,
|
|
23829
|
-
return
|
|
23859
|
+
for (var ee = 0, Y = new Array(J.length); ee < J.length; ee++) Y[ee] = J[ee];
|
|
23860
|
+
return Y;
|
|
23830
23861
|
}
|
|
23831
|
-
}(
|
|
23862
|
+
}(Z) || a(Z) || function() {
|
|
23832
23863
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
23833
23864
|
}();
|
|
23834
23865
|
}
|
|
23835
|
-
function s(
|
|
23836
|
-
if (Array.isArray(
|
|
23866
|
+
function s(Z) {
|
|
23867
|
+
if (Array.isArray(Z)) return Z;
|
|
23837
23868
|
}
|
|
23838
23869
|
function i() {
|
|
23839
23870
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
23840
23871
|
}
|
|
23841
|
-
function l(
|
|
23842
|
-
if (!(
|
|
23872
|
+
function l(Z, J) {
|
|
23873
|
+
if (!(Z instanceof J)) throw new TypeError("Cannot call a class as a function");
|
|
23843
23874
|
}
|
|
23844
|
-
function u(
|
|
23875
|
+
function u(Z, J) {
|
|
23845
23876
|
for (var ee = 0; ee < J.length; ee++) {
|
|
23846
|
-
var
|
|
23847
|
-
|
|
23877
|
+
var Y = J[ee];
|
|
23878
|
+
Y.enumerable = Y.enumerable || !1, Y.configurable = !0, "value" in Y && (Y.writable = !0), Object.defineProperty(Z, Y.key, Y);
|
|
23848
23879
|
}
|
|
23849
23880
|
}
|
|
23850
|
-
function c(
|
|
23881
|
+
function c(Z) {
|
|
23851
23882
|
return (c = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(J) {
|
|
23852
23883
|
return typeof J;
|
|
23853
23884
|
} : function(J) {
|
|
23854
23885
|
return J && typeof Symbol == "function" && J.constructor === Symbol && J !== Symbol.prototype ? "symbol" : typeof J;
|
|
23855
|
-
})(
|
|
23886
|
+
})(Z);
|
|
23856
23887
|
}
|
|
23857
|
-
function d(
|
|
23888
|
+
function d(Z) {
|
|
23858
23889
|
return (d = typeof Symbol == "function" && c(Symbol.iterator) === "symbol" ? function(J) {
|
|
23859
23890
|
return c(J);
|
|
23860
23891
|
} : function(J) {
|
|
23861
23892
|
return J && typeof Symbol == "function" && J.constructor === Symbol && J !== Symbol.prototype ? "symbol" : c(J);
|
|
23862
|
-
})(
|
|
23893
|
+
})(Z);
|
|
23863
23894
|
}
|
|
23864
|
-
function p(
|
|
23865
|
-
if (
|
|
23866
|
-
return
|
|
23895
|
+
function p(Z) {
|
|
23896
|
+
if (Z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
23897
|
+
return Z;
|
|
23867
23898
|
}
|
|
23868
|
-
function m(
|
|
23899
|
+
function m(Z) {
|
|
23869
23900
|
return (m = Object.setPrototypeOf ? Object.getPrototypeOf : function(J) {
|
|
23870
23901
|
return J.__proto__ || Object.getPrototypeOf(J);
|
|
23871
|
-
})(
|
|
23902
|
+
})(Z);
|
|
23872
23903
|
}
|
|
23873
|
-
function g(
|
|
23874
|
-
return (g = Object.setPrototypeOf || function(ee,
|
|
23875
|
-
return ee.__proto__ =
|
|
23876
|
-
})(
|
|
23904
|
+
function g(Z, J) {
|
|
23905
|
+
return (g = Object.setPrototypeOf || function(ee, Y) {
|
|
23906
|
+
return ee.__proto__ = Y, ee;
|
|
23907
|
+
})(Z, J);
|
|
23877
23908
|
}
|
|
23878
23909
|
r.r(t);
|
|
23879
23910
|
var h = r(0), w = r.n(h), v = r(5), y = r.n(v), S = r(4), I = r.n(S), M = r(6), N = r.n(M), T = r(2), O = r.n(T), A = r(1), U = r.n(A);
|
|
23880
23911
|
r(8);
|
|
23881
|
-
function te(
|
|
23882
|
-
return s(
|
|
23912
|
+
function te(Z, J) {
|
|
23913
|
+
return s(Z) || function(ee, Y) {
|
|
23883
23914
|
var q = [], P = !0, Me = !1, Se = void 0;
|
|
23884
23915
|
try {
|
|
23885
|
-
for (var Re, Ge = ee[Symbol.iterator](); !(P = (Re = Ge.next()).done) && (q.push(Re.value), !
|
|
23916
|
+
for (var Re, Ge = ee[Symbol.iterator](); !(P = (Re = Ge.next()).done) && (q.push(Re.value), !Y || q.length !== Y); P = !0) ;
|
|
23886
23917
|
} catch (je) {
|
|
23887
23918
|
Me = !0, Se = je;
|
|
23888
23919
|
} finally {
|
|
@@ -23893,16 +23924,16 @@ var Sz = function(e) {
|
|
|
23893
23924
|
}
|
|
23894
23925
|
}
|
|
23895
23926
|
return q;
|
|
23896
|
-
}(
|
|
23927
|
+
}(Z, J) || i();
|
|
23897
23928
|
}
|
|
23898
23929
|
var se = [["Afghanistan", ["asia"], "af", "93"], ["Albania", ["europe"], "al", "355"], ["Algeria", ["africa", "north-africa"], "dz", "213"], ["Andorra", ["europe"], "ad", "376"], ["Angola", ["africa"], "ao", "244"], ["Antigua and Barbuda", ["america", "carribean"], "ag", "1268"], ["Argentina", ["america", "south-america"], "ar", "54", "(..) ........", 0, ["11", "221", "223", "261", "264", "2652", "280", "2905", "291", "2920", "2966", "299", "341", "342", "343", "351", "376", "379", "381", "3833", "385", "387", "388"]], ["Armenia", ["asia", "ex-ussr"], "am", "374", ".. ......"], ["Aruba", ["america", "carribean"], "aw", "297"], ["Australia", ["oceania"], "au", "61", "(..) .... ....", 0, ["2", "3", "4", "7", "8", "02", "03", "04", "07", "08"]], ["Austria", ["europe", "eu-union"], "at", "43"], ["Azerbaijan", ["asia", "ex-ussr"], "az", "994", "(..) ... .. .."], ["Bahamas", ["america", "carribean"], "bs", "1242"], ["Bahrain", ["middle-east"], "bh", "973"], ["Bangladesh", ["asia"], "bd", "880"], ["Barbados", ["america", "carribean"], "bb", "1246"], ["Belarus", ["europe", "ex-ussr"], "by", "375", "(..) ... .. .."], ["Belgium", ["europe", "eu-union"], "be", "32", "... .. .. .."], ["Belize", ["america", "central-america"], "bz", "501"], ["Benin", ["africa"], "bj", "229"], ["Bhutan", ["asia"], "bt", "975"], ["Bolivia", ["america", "south-america"], "bo", "591"], ["Bosnia and Herzegovina", ["europe", "ex-yugos"], "ba", "387"], ["Botswana", ["africa"], "bw", "267"], ["Brazil", ["america", "south-america"], "br", "55", "(..) ........."], ["British Indian Ocean Territory", ["asia"], "io", "246"], ["Brunei", ["asia"], "bn", "673"], ["Bulgaria", ["europe", "eu-union"], "bg", "359"], ["Burkina Faso", ["africa"], "bf", "226"], ["Burundi", ["africa"], "bi", "257"], ["Cambodia", ["asia"], "kh", "855"], ["Cameroon", ["africa"], "cm", "237"], ["Canada", ["america", "north-america"], "ca", "1", "(...) ...-....", 1, ["204", "226", "236", "249", "250", "289", "306", "343", "365", "387", "403", "416", "418", "431", "437", "438", "450", "506", "514", "519", "548", "579", "581", "587", "604", "613", "639", "647", "672", "705", "709", "742", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905"]], ["Cape Verde", ["africa"], "cv", "238"], ["Caribbean Netherlands", ["america", "carribean"], "bq", "599", "", 1], ["Central African Republic", ["africa"], "cf", "236"], ["Chad", ["africa"], "td", "235"], ["Chile", ["america", "south-america"], "cl", "56"], ["China", ["asia"], "cn", "86", "..-........."], ["Colombia", ["america", "south-america"], "co", "57", "... ... ...."], ["Comoros", ["africa"], "km", "269"], ["Congo", ["africa"], "cd", "243"], ["Congo", ["africa"], "cg", "242"], ["Costa Rica", ["america", "central-america"], "cr", "506", "....-...."], ["Côte d’Ivoire", ["africa"], "ci", "225", ".. .. .. .."], ["Croatia", ["europe", "eu-union", "ex-yugos"], "hr", "385"], ["Cuba", ["america", "carribean"], "cu", "53"], ["Curaçao", ["america", "carribean"], "cw", "599", "", 0], ["Cyprus", ["europe", "eu-union"], "cy", "357", ".. ......"], ["Czech Republic", ["europe", "eu-union"], "cz", "420", "... ... ..."], ["Denmark", ["europe", "eu-union", "baltic"], "dk", "45", ".. .. .. .."], ["Djibouti", ["africa"], "dj", "253"], ["Dominica", ["america", "carribean"], "dm", "1767"], ["Dominican Republic", ["america", "carribean"], "do", "1", "", 2, ["809", "829", "849"]], ["Ecuador", ["america", "south-america"], "ec", "593"], ["Egypt", ["africa", "north-africa"], "eg", "20"], ["El Salvador", ["america", "central-america"], "sv", "503", "....-...."], ["Equatorial Guinea", ["africa"], "gq", "240"], ["Eritrea", ["africa"], "er", "291"], ["Estonia", ["europe", "eu-union", "ex-ussr", "baltic"], "ee", "372", ".... ......"], ["Ethiopia", ["africa"], "et", "251"], ["Fiji", ["oceania"], "fj", "679"], ["Finland", ["europe", "eu-union", "baltic"], "fi", "358", ".. ... .. .."], ["France", ["europe", "eu-union"], "fr", "33", ". .. .. .. .."], ["French Guiana", ["america", "south-america"], "gf", "594"], ["French Polynesia", ["oceania"], "pf", "689"], ["Gabon", ["africa"], "ga", "241"], ["Gambia", ["africa"], "gm", "220"], ["Georgia", ["asia", "ex-ussr"], "ge", "995"], ["Germany", ["europe", "eu-union", "baltic"], "de", "49", ".... ........"], ["Ghana", ["africa"], "gh", "233"], ["Greece", ["europe", "eu-union"], "gr", "30"], ["Grenada", ["america", "carribean"], "gd", "1473"], ["Guadeloupe", ["america", "carribean"], "gp", "590", "", 0], ["Guam", ["oceania"], "gu", "1671"], ["Guatemala", ["america", "central-america"], "gt", "502", "....-...."], ["Guinea", ["africa"], "gn", "224"], ["Guinea-Bissau", ["africa"], "gw", "245"], ["Guyana", ["america", "south-america"], "gy", "592"], ["Haiti", ["america", "carribean"], "ht", "509", "....-...."], ["Honduras", ["america", "central-america"], "hn", "504"], ["Hong Kong", ["asia"], "hk", "852", ".... ...."], ["Hungary", ["europe", "eu-union"], "hu", "36"], ["Iceland", ["europe"], "is", "354", "... ...."], ["India", ["asia"], "in", "91", ".....-....."], ["Indonesia", ["asia"], "id", "62"], ["Iran", ["middle-east"], "ir", "98", "... ... ...."], ["Iraq", ["middle-east"], "iq", "964"], ["Ireland", ["europe", "eu-union"], "ie", "353", ".. ......."], ["Israel", ["middle-east"], "il", "972", "... ... ...."], ["Italy", ["europe", "eu-union"], "it", "39", "... .......", 0], ["Jamaica", ["america", "carribean"], "jm", "1876"], ["Japan", ["asia"], "jp", "81", ".. .... ...."], ["Jordan", ["middle-east"], "jo", "962"], ["Kazakhstan", ["asia", "ex-ussr"], "kz", "7", "... ...-..-..", 1, ["310", "311", "312", "313", "315", "318", "321", "324", "325", "326", "327", "336", "7172", "73622"]], ["Kenya", ["africa"], "ke", "254"], ["Kiribati", ["oceania"], "ki", "686"], ["Kosovo", ["europe", "ex-yugos"], "xk", "383"], ["Kuwait", ["middle-east"], "kw", "965"], ["Kyrgyzstan", ["asia", "ex-ussr"], "kg", "996", "... ... ..."], ["Laos", ["asia"], "la", "856"], ["Latvia", ["europe", "eu-union", "ex-ussr", "baltic"], "lv", "371", ".. ... ..."], ["Lebanon", ["middle-east"], "lb", "961"], ["Lesotho", ["africa"], "ls", "266"], ["Liberia", ["africa"], "lr", "231"], ["Libya", ["africa", "north-africa"], "ly", "218"], ["Liechtenstein", ["europe"], "li", "423"], ["Lithuania", ["europe", "eu-union", "ex-ussr", "baltic"], "lt", "370"], ["Luxembourg", ["europe", "eu-union"], "lu", "352"], ["Macau", ["asia"], "mo", "853"], ["Macedonia", ["europe", "ex-yugos"], "mk", "389"], ["Madagascar", ["africa"], "mg", "261"], ["Malawi", ["africa"], "mw", "265"], ["Malaysia", ["asia"], "my", "60", "..-....-...."], ["Maldives", ["asia"], "mv", "960"], ["Mali", ["africa"], "ml", "223"], ["Malta", ["europe", "eu-union"], "mt", "356"], ["Marshall Islands", ["oceania"], "mh", "692"], ["Martinique", ["america", "carribean"], "mq", "596"], ["Mauritania", ["africa"], "mr", "222"], ["Mauritius", ["africa"], "mu", "230"], ["Mexico", ["america", "central-america"], "mx", "52", "... ... ....", 0, ["55", "81", "33", "656", "664", "998", "774", "229"]], ["Micronesia", ["oceania"], "fm", "691"], ["Moldova", ["europe"], "md", "373", "(..) ..-..-.."], ["Monaco", ["europe"], "mc", "377"], ["Mongolia", ["asia"], "mn", "976"], ["Montenegro", ["europe", "ex-yugos"], "me", "382"], ["Morocco", ["africa", "north-africa"], "ma", "212"], ["Mozambique", ["africa"], "mz", "258"], ["Myanmar", ["asia"], "mm", "95"], ["Namibia", ["africa"], "na", "264"], ["Nauru", ["africa"], "nr", "674"], ["Nepal", ["asia"], "np", "977"], ["Netherlands", ["europe", "eu-union"], "nl", "31", ".. ........"], ["New Caledonia", ["oceania"], "nc", "687"], ["New Zealand", ["oceania"], "nz", "64", "...-...-...."], ["Nicaragua", ["america", "central-america"], "ni", "505"], ["Niger", ["africa"], "ne", "227"], ["Nigeria", ["africa"], "ng", "234"], ["North Korea", ["asia"], "kp", "850"], ["Norway", ["europe", "baltic"], "no", "47", "... .. ..."], ["Oman", ["middle-east"], "om", "968"], ["Pakistan", ["asia"], "pk", "92", "...-......."], ["Palau", ["oceania"], "pw", "680"], ["Palestine", ["middle-east"], "ps", "970"], ["Panama", ["america", "central-america"], "pa", "507"], ["Papua New Guinea", ["oceania"], "pg", "675"], ["Paraguay", ["america", "south-america"], "py", "595"], ["Peru", ["america", "south-america"], "pe", "51"], ["Philippines", ["asia"], "ph", "63", ".... ......."], ["Poland", ["europe", "eu-union", "baltic"], "pl", "48", "...-...-..."], ["Portugal", ["europe", "eu-union"], "pt", "351"], ["Puerto Rico", ["america", "carribean"], "pr", "1", "", 3, ["787", "939"]], ["Qatar", ["middle-east"], "qa", "974"], ["Réunion", ["africa"], "re", "262"], ["Romania", ["europe", "eu-union"], "ro", "40"], ["Russia", ["europe", "asia", "ex-ussr", "baltic"], "ru", "7", "(...) ...-..-..", 0], ["Rwanda", ["africa"], "rw", "250"], ["Saint Kitts and Nevis", ["america", "carribean"], "kn", "1869"], ["Saint Lucia", ["america", "carribean"], "lc", "1758"], ["Saint Vincent and the Grenadines", ["america", "carribean"], "vc", "1784"], ["Samoa", ["oceania"], "ws", "685"], ["San Marino", ["europe"], "sm", "378"], ["São Tomé and Príncipe", ["africa"], "st", "239"], ["Saudi Arabia", ["middle-east"], "sa", "966"], ["Senegal", ["africa"], "sn", "221"], ["Serbia", ["europe", "ex-yugos"], "rs", "381"], ["Seychelles", ["africa"], "sc", "248"], ["Sierra Leone", ["africa"], "sl", "232"], ["Singapore", ["asia"], "sg", "65", "....-...."], ["Slovakia", ["europe", "eu-union"], "sk", "421"], ["Slovenia", ["europe", "eu-union", "ex-yugos"], "si", "386"], ["Solomon Islands", ["oceania"], "sb", "677"], ["Somalia", ["africa"], "so", "252"], ["South Africa", ["africa"], "za", "27"], ["South Korea", ["asia"], "kr", "82", "... .... ...."], ["South Sudan", ["africa", "north-africa"], "ss", "211"], ["Spain", ["europe", "eu-union"], "es", "34", "... ... ..."], ["Sri Lanka", ["asia"], "lk", "94"], ["Sudan", ["africa"], "sd", "249"], ["Suriname", ["america", "south-america"], "sr", "597"], ["Swaziland", ["africa"], "sz", "268"], ["Sweden", ["europe", "eu-union", "baltic"], "se", "46", "(...) ...-..."], ["Switzerland", ["europe"], "ch", "41", ".. ... .. .."], ["Syria", ["middle-east"], "sy", "963"], ["Taiwan", ["asia"], "tw", "886"], ["Tajikistan", ["asia", "ex-ussr"], "tj", "992"], ["Tanzania", ["africa"], "tz", "255"], ["Thailand", ["asia"], "th", "66"], ["Timor-Leste", ["asia"], "tl", "670"], ["Togo", ["africa"], "tg", "228"], ["Tonga", ["oceania"], "to", "676"], ["Trinidad and Tobago", ["america", "carribean"], "tt", "1868"], ["Tunisia", ["africa", "north-africa"], "tn", "216"], ["Turkey", ["europe"], "tr", "90", "... ... .. .."], ["Turkmenistan", ["asia", "ex-ussr"], "tm", "993"], ["Tuvalu", ["asia"], "tv", "688"], ["Uganda", ["africa"], "ug", "256"], ["Ukraine", ["europe", "ex-ussr"], "ua", "380", "(..) ... .. .."], ["United Arab Emirates", ["middle-east"], "ae", "971"], ["United Kingdom", ["europe", "eu-union"], "gb", "44", ".... ......"], ["United States", ["america", "north-america"], "us", "1", "(...) ...-....", 0, ["907", "205", "251", "256", "334", "479", "501", "870", "480", "520", "602", "623", "928", "209", "213", "310", "323", "408", "415", "510", "530", "559", "562", "619", "626", "650", "661", "707", "714", "760", "805", "818", "831", "858", "909", "916", "925", "949", "951", "303", "719", "970", "203", "860", "202", "302", "239", "305", "321", "352", "386", "407", "561", "727", "772", "813", "850", "863", "904", "941", "954", "229", "404", "478", "706", "770", "912", "808", "319", "515", "563", "641", "712", "208", "217", "309", "312", "618", "630", "708", "773", "815", "847", "219", "260", "317", "574", "765", "812", "316", "620", "785", "913", "270", "502", "606", "859", "225", "318", "337", "504", "985", "413", "508", "617", "781", "978", "301", "410", "207", "231", "248", "269", "313", "517", "586", "616", "734", "810", "906", "989", "218", "320", "507", "612", "651", "763", "952", "314", "417", "573", "636", "660", "816", "228", "601", "662", "406", "252", "336", "704", "828", "910", "919", "701", "308", "402", "603", "201", "609", "732", "856", "908", "973", "505", "575", "702", "775", "212", "315", "516", "518", "585", "607", "631", "716", "718", "845", "914", "216", "330", "419", "440", "513", "614", "740", "937", "405", "580", "918", "503", "541", "215", "412", "570", "610", "717", "724", "814", "401", "803", "843", "864", "605", "423", "615", "731", "865", "901", "931", "210", "214", "254", "281", "325", "361", "409", "432", "512", "713", "806", "817", "830", "903", "915", "936", "940", "956", "972", "979", "435", "801", "276", "434", "540", "703", "757", "804", "802", "206", "253", "360", "425", "509", "262", "414", "608", "715", "920", "304", "307"]], ["Uruguay", ["america", "south-america"], "uy", "598"], ["Uzbekistan", ["asia", "ex-ussr"], "uz", "998", ".. ... .. .."], ["Vanuatu", ["oceania"], "vu", "678"], ["Vatican City", ["europe"], "va", "39", ".. .... ....", 1], ["Venezuela", ["america", "south-america"], "ve", "58"], ["Vietnam", ["asia"], "vn", "84"], ["Yemen", ["middle-east"], "ye", "967"], ["Zambia", ["africa"], "zm", "260"], ["Zimbabwe", ["africa"], "zw", "263"]], he = [["American Samoa", ["oceania"], "as", "1684"], ["Anguilla", ["america", "carribean"], "ai", "1264"], ["Bermuda", ["america", "north-america"], "bm", "1441"], ["British Virgin Islands", ["america", "carribean"], "vg", "1284"], ["Cayman Islands", ["america", "carribean"], "ky", "1345"], ["Cook Islands", ["oceania"], "ck", "682"], ["Falkland Islands", ["america", "south-america"], "fk", "500"], ["Faroe Islands", ["europe"], "fo", "298"], ["Gibraltar", ["europe"], "gi", "350"], ["Greenland", ["america"], "gl", "299"], ["Jersey", ["europe", "eu-union"], "je", "44", ".... ......"], ["Montserrat", ["america", "carribean"], "ms", "1664"], ["Niue", ["asia"], "nu", "683"], ["Norfolk Island", ["oceania"], "nf", "672"], ["Northern Mariana Islands", ["oceania"], "mp", "1670"], ["Saint Barthélemy", ["america", "carribean"], "bl", "590", "", 1], ["Saint Helena", ["africa"], "sh", "290"], ["Saint Martin", ["america", "carribean"], "mf", "590", "", 2], ["Saint Pierre and Miquelon", ["america", "north-america"], "pm", "508"], ["Sint Maarten", ["america", "carribean"], "sx", "1721"], ["Tokelau", ["oceania"], "tk", "690"], ["Turks and Caicos Islands", ["america", "carribean"], "tc", "1649"], ["U.S. Virgin Islands", ["america", "carribean"], "vi", "1340"], ["Wallis and Futuna", ["oceania"], "wf", "681"]];
|
|
23899
|
-
function G(
|
|
23900
|
-
return !ee || q ?
|
|
23930
|
+
function G(Z, J, ee, Y, q) {
|
|
23931
|
+
return !ee || q ? Z + "".padEnd(J.length, ".") + " " + Y : Z + "".padEnd(J.length, ".") + " " + ee;
|
|
23901
23932
|
}
|
|
23902
|
-
function Z
|
|
23933
|
+
function X(Z, J, ee, Y, q) {
|
|
23903
23934
|
var P, Me, Se = [];
|
|
23904
|
-
return Me = J === !0, [(P = []).concat.apply(P, o(
|
|
23905
|
-
var Ge = { name: Re[0], regions: Re[1], iso2: Re[2], countryCode: Re[3], dialCode: Re[3], format: G(ee, Re[3], Re[4],
|
|
23935
|
+
return Me = J === !0, [(P = []).concat.apply(P, o(Z.map(function(Re) {
|
|
23936
|
+
var Ge = { name: Re[0], regions: Re[1], iso2: Re[2], countryCode: Re[3], dialCode: Re[3], format: G(ee, Re[3], Re[4], Y, q), priority: Re[5] || 0 }, je = [];
|
|
23906
23937
|
return Re[6] && Re[6].map(function(qe) {
|
|
23907
23938
|
var Ue = function(Ke) {
|
|
23908
23939
|
for (var tt = 1; tt < arguments.length; tt++) {
|
|
@@ -23919,33 +23950,33 @@ var Sz = function(e) {
|
|
|
23919
23950
|
}), je.length > 0 ? (Ge.mainCode = !0, Me || J.constructor.name === "Array" && J.includes(Re[2]) ? (Ge.hasAreaCodes = !0, [Ge].concat(je)) : (Se = Se.concat(je), [Ge])) : [Ge];
|
|
23920
23951
|
}))), Se];
|
|
23921
23952
|
}
|
|
23922
|
-
function
|
|
23953
|
+
function Q(Z, J, ee, Y) {
|
|
23923
23954
|
if (ee !== null) {
|
|
23924
23955
|
var q = Object.keys(ee), P = Object.values(ee);
|
|
23925
23956
|
q.forEach(function(Me, Se) {
|
|
23926
|
-
if (
|
|
23927
|
-
var Re =
|
|
23957
|
+
if (Y) return Z.push([Me, P[Se]]);
|
|
23958
|
+
var Re = Z.findIndex(function(je) {
|
|
23928
23959
|
return je[0] === Me;
|
|
23929
23960
|
});
|
|
23930
23961
|
if (Re === -1) {
|
|
23931
23962
|
var Ge = [Me];
|
|
23932
|
-
Ge[J] = P[Se],
|
|
23933
|
-
} else
|
|
23963
|
+
Ge[J] = P[Se], Z.push(Ge);
|
|
23964
|
+
} else Z[Re][J] = P[Se];
|
|
23934
23965
|
});
|
|
23935
23966
|
}
|
|
23936
23967
|
}
|
|
23937
|
-
function oe(
|
|
23938
|
-
return J.length === 0 ?
|
|
23939
|
-
var
|
|
23968
|
+
function oe(Z, J) {
|
|
23969
|
+
return J.length === 0 ? Z : Z.map(function(ee) {
|
|
23970
|
+
var Y = J.findIndex(function(P) {
|
|
23940
23971
|
return P[0] === ee[2];
|
|
23941
23972
|
});
|
|
23942
|
-
if (
|
|
23943
|
-
var q = J[
|
|
23973
|
+
if (Y === -1) return ee;
|
|
23974
|
+
var q = J[Y];
|
|
23944
23975
|
return q[1] && (ee[4] = q[1]), q[3] && (ee[5] = q[3]), q[2] && (ee[6] = q[2]), ee;
|
|
23945
23976
|
});
|
|
23946
23977
|
}
|
|
23947
|
-
var W = function
|
|
23948
|
-
l(this,
|
|
23978
|
+
var W = function Z(J, ee, Y, q, P, Me, Se, Re, Ge, je, qe, Ue, Ke, tt) {
|
|
23979
|
+
l(this, Z), this.filterRegions = function(ve, xe) {
|
|
23949
23980
|
if (typeof ve == "string") {
|
|
23950
23981
|
var He = ve;
|
|
23951
23982
|
return xe.filter(function(Ie) {
|
|
@@ -23999,14 +24030,14 @@ var Sz = function(e) {
|
|
|
23999
24030
|
};
|
|
24000
24031
|
var R = function(ve, xe, He) {
|
|
24001
24032
|
var Ie = [];
|
|
24002
|
-
return
|
|
24003
|
-
}(Re, Ge, je), D = oe(JSON.parse(JSON.stringify(se)), R), z = oe(JSON.parse(JSON.stringify(he)), R), pe = te(
|
|
24033
|
+
return Q(Ie, 1, ve, !0), Q(Ie, 3, xe), Q(Ie, 2, He), Ie;
|
|
24034
|
+
}(Re, Ge, je), D = oe(JSON.parse(JSON.stringify(se)), R), z = oe(JSON.parse(JSON.stringify(he)), R), pe = te(X(D, J, Ue, Ke, tt), 2), le = pe[0], Ee = pe[1];
|
|
24004
24035
|
if (ee) {
|
|
24005
|
-
var me = te(
|
|
24036
|
+
var me = te(X(z, J, Ue, Ke, tt), 2), Ne = me[0];
|
|
24006
24037
|
me[1], le = this.sortTerritories(Ne, le);
|
|
24007
24038
|
}
|
|
24008
|
-
|
|
24009
|
-
}, ce = function(
|
|
24039
|
+
Y && (le = this.filterRegions(Y, le)), this.onlyCountries = this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(q, le, Se.includes("onlyCountries")), Me), qe, Se.includes("onlyCountries")), this.preferredCountries = P.length === 0 ? [] : this.localizeCountries(this.getFilteredCountryList(P, le, Se.includes("preferredCountries")), qe, Se.includes("preferredCountries")), this.hiddenAreaCodes = this.excludeCountries(this.getFilteredCountryList(q, Ee), Me);
|
|
24040
|
+
}, ce = function(Z) {
|
|
24010
24041
|
function J(q) {
|
|
24011
24042
|
var P;
|
|
24012
24043
|
l(this, J), (P = function(R, D) {
|
|
@@ -24238,11 +24269,11 @@ var Sz = function(e) {
|
|
|
24238
24269
|
});
|
|
24239
24270
|
return P.state = { showDropdown: q.showDropdown, formattedNumber: Ue, onlyCountries: Re, preferredCountries: Ge, hiddenAreaCodes: je, selectedCountry: Me, highlightCountryIndex: tt, queryString: "", freezeSelection: !1, debouncedQueryStingSearcher: y()(P.searchCountry, 250), searchValue: "" }, P;
|
|
24240
24271
|
}
|
|
24241
|
-
var ee,
|
|
24272
|
+
var ee, Y;
|
|
24242
24273
|
return function(q, P) {
|
|
24243
24274
|
if (typeof P != "function" && P !== null) throw new TypeError("Super expression must either be null or a function");
|
|
24244
24275
|
q.prototype = Object.create(P && P.prototype, { constructor: { value: q, writable: !0, configurable: !0 } }), P && g(q, P);
|
|
24245
|
-
}(J,
|
|
24276
|
+
}(J, Z), ee = J, (Y = [{ key: "componentDidMount", value: function() {
|
|
24246
24277
|
document.addEventListener && this.props.enableClickOutside && document.addEventListener("mousedown", this.handleClickOutside), this.props.onMount && this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g, ""), this.getCountryData(), this.state.formattedNumber);
|
|
24247
24278
|
} }, { key: "componentWillUnmount", value: function() {
|
|
24248
24279
|
document.removeEventListener && this.props.enableClickOutside && document.removeEventListener("mousedown", this.handleClickOutside);
|
|
@@ -24271,7 +24302,7 @@ var Sz = function(e) {
|
|
|
24271
24302
|
} })), w.a.createElement("div", { className: He, style: this.props.buttonStyle, ref: function(ke) {
|
|
24272
24303
|
return Se.dropdownContainerRef = ke;
|
|
24273
24304
|
} }, D ? w.a.createElement("div", { className: xe }, D) : w.a.createElement("div", { onClick: R ? void 0 : this.handleFlagDropdownClick, className: xe, title: je ? "".concat(je.localName || je.name, ": + ").concat(je.dialCode) : "", tabIndex: R ? "-1" : "0", role: "button", "aria-haspopup": "listbox", "aria-expanded": !!qe || void 0 }, w.a.createElement("div", { className: Ie }, !R && w.a.createElement("div", { className: Ne }))), qe && this.getCountryDropdownList()));
|
|
24274
|
-
} }]) && u(ee.prototype,
|
|
24305
|
+
} }]) && u(ee.prototype, Y), J;
|
|
24275
24306
|
}(w.a.Component);
|
|
24276
24307
|
ce.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 = ce;
|
|
24277
24308
|
}]);
|
|
@@ -26338,17 +26369,17 @@ const s9 = (e) => ({
|
|
|
26338
26369
|
}, m = lb(a), g = ib(m), h = await s.getDimensions(u), w = m === "y", v = w ? "top" : "left", y = w ? "bottom" : "right", S = w ? "clientHeight" : "clientWidth", I = o.reference[g] + o.reference[m] - p[m] - o.floating[g], M = p[m] - o.reference[m], N = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
|
|
26339
26370
|
let T = N ? N[S] : 0;
|
|
26340
26371
|
(!T || !await (s.isElement == null ? void 0 : s.isElement(N))) && (T = i.floating[S] || o.floating[g]);
|
|
26341
|
-
const O = I / 2 - M / 2, A = T / 2 - h[g] / 2 - 1, U = Ra(d[v], A), te = Ra(d[y], A), se = U, he = T - h[g] - te, G = T / 2 - h[g] / 2 + O,
|
|
26372
|
+
const O = I / 2 - M / 2, A = T / 2 - h[g] / 2 - 1, U = Ra(d[v], A), te = Ra(d[y], A), se = U, he = T - h[g] - te, G = T / 2 - h[g] / 2 + O, X = Cy(se, G, he), Q = !l.arrow && Zi(a) != null && G !== X && o.reference[g] / 2 - (G < se ? U : te) - h[g] / 2 < 0, oe = Q ? G < se ? G - se : G - he : 0;
|
|
26342
26373
|
return {
|
|
26343
26374
|
[m]: p[m] + oe,
|
|
26344
26375
|
data: {
|
|
26345
|
-
[m]:
|
|
26346
|
-
centerOffset: G -
|
|
26347
|
-
...
|
|
26376
|
+
[m]: X,
|
|
26377
|
+
centerOffset: G - X - oe,
|
|
26378
|
+
...Q && {
|
|
26348
26379
|
alignmentOffset: oe
|
|
26349
26380
|
}
|
|
26350
26381
|
},
|
|
26351
|
-
reset:
|
|
26382
|
+
reset: Q
|
|
26352
26383
|
};
|
|
26353
26384
|
}
|
|
26354
26385
|
}), i9 = function(e) {
|
|
@@ -26388,19 +26419,19 @@ const s9 = (e) => ({
|
|
|
26388
26419
|
overflows: A
|
|
26389
26420
|
}], !A.every((G) => G <= 0)) {
|
|
26390
26421
|
var te, se;
|
|
26391
|
-
const G = (((te = o.flip) == null ? void 0 : te.index) || 0) + 1,
|
|
26392
|
-
if (
|
|
26422
|
+
const G = (((te = o.flip) == null ? void 0 : te.index) || 0) + 1, X = T[G];
|
|
26423
|
+
if (X)
|
|
26393
26424
|
return {
|
|
26394
26425
|
data: {
|
|
26395
26426
|
index: G,
|
|
26396
26427
|
overflows: U
|
|
26397
26428
|
},
|
|
26398
26429
|
reset: {
|
|
26399
|
-
placement:
|
|
26430
|
+
placement: X
|
|
26400
26431
|
}
|
|
26401
26432
|
};
|
|
26402
|
-
let
|
|
26403
|
-
if (!
|
|
26433
|
+
let Q = (se = U.filter((oe) => oe.overflows[0] <= 0).sort((oe, W) => oe.overflows[1] - W.overflows[1])[0]) == null ? void 0 : se.placement;
|
|
26434
|
+
if (!Q)
|
|
26404
26435
|
switch (m) {
|
|
26405
26436
|
case "bestFit": {
|
|
26406
26437
|
var he;
|
|
@@ -26412,18 +26443,18 @@ const s9 = (e) => ({
|
|
|
26412
26443
|
ce === "y";
|
|
26413
26444
|
}
|
|
26414
26445
|
return !0;
|
|
26415
|
-
}).map((W) => [W.placement, W.overflows.filter((ce) => ce > 0).reduce((ce,
|
|
26416
|
-
oe && (
|
|
26446
|
+
}).map((W) => [W.placement, W.overflows.filter((ce) => ce > 0).reduce((ce, Z) => ce + Z, 0)]).sort((W, ce) => W[1] - ce[1])[0]) == null ? void 0 : he[0];
|
|
26447
|
+
oe && (Q = oe);
|
|
26417
26448
|
break;
|
|
26418
26449
|
}
|
|
26419
26450
|
case "initialPlacement":
|
|
26420
|
-
|
|
26451
|
+
Q = i;
|
|
26421
26452
|
break;
|
|
26422
26453
|
}
|
|
26423
|
-
if (a !==
|
|
26454
|
+
if (a !== Q)
|
|
26424
26455
|
return {
|
|
26425
26456
|
reset: {
|
|
26426
|
-
placement:
|
|
26457
|
+
placement: Q
|
|
26427
26458
|
}
|
|
26428
26459
|
};
|
|
26429
26460
|
}
|
|
@@ -27240,7 +27271,7 @@ function $9(e) {
|
|
|
27240
27271
|
middleware: p
|
|
27241
27272
|
};
|
|
27242
27273
|
te.current && (W.platform = te.current), U9(N.current, T.current, W).then((ce) => {
|
|
27243
|
-
const
|
|
27274
|
+
const Z = {
|
|
27244
27275
|
...ce,
|
|
27245
27276
|
// The floating element's position may be recomputed while it's closed
|
|
27246
27277
|
// but still mounted (such as when transitioning out). To ensure
|
|
@@ -27248,8 +27279,8 @@ function $9(e) {
|
|
|
27248
27279
|
// setting it to `true` when `open === false` (must be specified).
|
|
27249
27280
|
isPositioned: se.current !== !1
|
|
27250
27281
|
};
|
|
27251
|
-
G.current && !Af(O.current,
|
|
27252
|
-
d(
|
|
27282
|
+
G.current && !Af(O.current, Z) && (O.current = Z, Zf.flushSync(() => {
|
|
27283
|
+
d(Z);
|
|
27253
27284
|
}));
|
|
27254
27285
|
});
|
|
27255
27286
|
}, [p, t, r, te, se]);
|
|
@@ -27269,12 +27300,12 @@ function $9(e) {
|
|
|
27269
27300
|
he();
|
|
27270
27301
|
}
|
|
27271
27302
|
}, [I, M, he, U, A]);
|
|
27272
|
-
const
|
|
27303
|
+
const X = x.useMemo(() => ({
|
|
27273
27304
|
reference: N,
|
|
27274
27305
|
floating: T,
|
|
27275
27306
|
setReference: y,
|
|
27276
27307
|
setFloating: S
|
|
27277
|
-
}), [y, S]),
|
|
27308
|
+
}), [y, S]), Q = x.useMemo(() => ({
|
|
27278
27309
|
reference: I,
|
|
27279
27310
|
floating: M
|
|
27280
27311
|
}), [I, M]), oe = x.useMemo(() => {
|
|
@@ -27283,28 +27314,28 @@ function $9(e) {
|
|
|
27283
27314
|
left: 0,
|
|
27284
27315
|
top: 0
|
|
27285
27316
|
};
|
|
27286
|
-
if (!
|
|
27317
|
+
if (!Q.floating)
|
|
27287
27318
|
return W;
|
|
27288
|
-
const ce = ZM(
|
|
27319
|
+
const ce = ZM(Q.floating, c.x), Z = ZM(Q.floating, c.y);
|
|
27289
27320
|
return i ? {
|
|
27290
27321
|
...W,
|
|
27291
|
-
transform: "translate(" + ce + "px, " +
|
|
27292
|
-
...ZR(
|
|
27322
|
+
transform: "translate(" + ce + "px, " + Z + "px)",
|
|
27323
|
+
...ZR(Q.floating) >= 1.5 && {
|
|
27293
27324
|
willChange: "transform"
|
|
27294
27325
|
}
|
|
27295
27326
|
} : {
|
|
27296
27327
|
position: r,
|
|
27297
27328
|
left: ce,
|
|
27298
|
-
top:
|
|
27329
|
+
top: Z
|
|
27299
27330
|
};
|
|
27300
|
-
}, [r, i,
|
|
27331
|
+
}, [r, i, Q.floating, c.x, c.y]);
|
|
27301
27332
|
return x.useMemo(() => ({
|
|
27302
27333
|
...c,
|
|
27303
27334
|
update: he,
|
|
27304
|
-
refs:
|
|
27305
|
-
elements:
|
|
27335
|
+
refs: X,
|
|
27336
|
+
elements: Q,
|
|
27306
27337
|
floatingStyles: oe
|
|
27307
|
-
}), [c, he,
|
|
27338
|
+
}), [c, he, X, Q, oe]);
|
|
27308
27339
|
}
|
|
27309
27340
|
const j9 = (e) => {
|
|
27310
27341
|
function t(r) {
|
|
@@ -27425,7 +27456,7 @@ var mb = "PopperContent", [Q9, J9] = QR(mb), oN = x.forwardRef(
|
|
|
27425
27456
|
boundary: te.filter(t7),
|
|
27426
27457
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
27427
27458
|
altBoundary: se
|
|
27428
|
-
}, { refs: G, floatingStyles:
|
|
27459
|
+
}, { refs: G, floatingStyles: X, placement: Q, isPositioned: oe, middlewareData: W } = $9({
|
|
27429
27460
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
27430
27461
|
strategy: "fixed",
|
|
27431
27462
|
placement: A,
|
|
@@ -27455,11 +27486,11 @@ var mb = "PopperContent", [Q9, J9] = QR(mb), oN = x.forwardRef(
|
|
|
27455
27486
|
r7({ arrowWidth: T, arrowHeight: O }),
|
|
27456
27487
|
p && W9({ strategy: "referenceHidden", ...he })
|
|
27457
27488
|
]
|
|
27458
|
-
}), [ce,
|
|
27489
|
+
}), [ce, Z] = iN(Q), J = Pa(g);
|
|
27459
27490
|
Ui(() => {
|
|
27460
27491
|
oe && (J == null || J());
|
|
27461
27492
|
}, [oe, J]);
|
|
27462
|
-
const ee = (Se = W.arrow) == null ? void 0 : Se.x,
|
|
27493
|
+
const ee = (Se = W.arrow) == null ? void 0 : Se.x, Y = (Re = W.arrow) == null ? void 0 : Re.y, q = ((Ge = W.arrow) == null ? void 0 : Ge.centerOffset) !== 0, [P, Me] = x.useState();
|
|
27463
27494
|
return Ui(() => {
|
|
27464
27495
|
v && Me(window.getComputedStyle(v).zIndex);
|
|
27465
27496
|
}, [v]), /* @__PURE__ */ f.jsx(
|
|
@@ -27468,8 +27499,8 @@ var mb = "PopperContent", [Q9, J9] = QR(mb), oN = x.forwardRef(
|
|
|
27468
27499
|
ref: G.setFloating,
|
|
27469
27500
|
"data-radix-popper-content-wrapper": "",
|
|
27470
27501
|
style: {
|
|
27471
|
-
...
|
|
27472
|
-
transform: oe ?
|
|
27502
|
+
...X,
|
|
27503
|
+
transform: oe ? X.transform : "translate(0, -200%)",
|
|
27473
27504
|
// keep off the page when measuring
|
|
27474
27505
|
minWidth: "max-content",
|
|
27475
27506
|
zIndex: P,
|
|
@@ -27493,13 +27524,13 @@ var mb = "PopperContent", [Q9, J9] = QR(mb), oN = x.forwardRef(
|
|
|
27493
27524
|
placedSide: ce,
|
|
27494
27525
|
onArrowChange: M,
|
|
27495
27526
|
arrowX: ee,
|
|
27496
|
-
arrowY:
|
|
27527
|
+
arrowY: Y,
|
|
27497
27528
|
shouldHideArrow: q,
|
|
27498
27529
|
children: /* @__PURE__ */ f.jsx(
|
|
27499
27530
|
$a.div,
|
|
27500
27531
|
{
|
|
27501
27532
|
"data-side": ce,
|
|
27502
|
-
"data-align":
|
|
27533
|
+
"data-align": Z,
|
|
27503
27534
|
...h,
|
|
27504
27535
|
ref: S,
|
|
27505
27536
|
style: {
|