@sheerid/jslib 2.123.0 → 2.125.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/_mysheerid-preview.css +5 -5
- package/_mysheerid-preview.js +376 -356
- 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-DIkWpujR.js.map +1 -1
- 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-BpnNGp9d.js → EmailLoopPending-DdK9uNhi.js} +5 -5
- package/lib/{EmailLoopPending-BpnNGp9d.js.map → EmailLoopPending-DdK9uNhi.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-Dex4kP36.js → LicensedProfessionalOrganizationComponent-DGMKer8C.js} +5 -5
- package/lib/{LicensedProfessionalOrganizationComponent-Dex4kP36.js.map → LicensedProfessionalOrganizationComponent-DGMKer8C.js.map} +1 -1
- package/lib/Onfido-AyvUk6wg.js +4 -4
- package/lib/StepCollectMilitaryStatusComponent-BTKj8TSY.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-CMyB_Po9.js.map → StepCollectMilitaryStatusComponent-BTKj8TSY.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-Bo8Baxhy.js → StepIDCheckLoopOnfido-da27v_AE.js} +5 -5
- package/lib/{StepIDCheckLoopOnfido-Bo8Baxhy.js.map → StepIDCheckLoopOnfido-da27v_AE.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-Df-zxEfF.js → StepIDCheckLoopRegula-DTqM8liD.js} +5 -5
- package/lib/{StepIDCheckLoopRegula-Df-zxEfF.js.map → StepIDCheckLoopRegula-DTqM8liD.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BC_fe66f.js → StepInactiveMilitaryPersonalInfoComponent-C6HXfUmQ.js} +6 -6
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BC_fe66f.js.map → StepInactiveMilitaryPersonalInfoComponent-C6HXfUmQ.js.map} +1 -1
- package/lib/{VerificationApiUtils-DCllGdm3.js → VerificationApiUtils-BfjPAFMm.js} +5 -5
- package/lib/{VerificationApiUtils-DCllGdm3.js.map → VerificationApiUtils-BfjPAFMm.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-CeEoJoSH.js → es6-UGIoHDxR.js} +401 -381
- package/lib/es6-UGIoHDxR.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-BdEHH5Yi.js → index-B2bxD1vj.js} +6 -6
- package/lib/{index-BdEHH5Yi.js.map → index-B2bxD1vj.js.map} +1 -1
- package/lib/{index-wN72HyQ6.js → index-B2jSs7Ec.js} +5 -5
- package/lib/{index-wN72HyQ6.js.map → index-B2jSs7Ec.js.map} +1 -1
- package/lib/{index-D24DYCu0.js → index-B72QI2T-.js} +7 -7
- package/lib/{index-D24DYCu0.js.map → index-B72QI2T-.js.map} +1 -1
- package/lib/index-C893zynt.js +11 -0
- package/lib/index-C893zynt.js.map +1 -0
- package/lib/{index-DwUgdz71.js → index-CPEfqHYo.js} +5 -5
- package/lib/{index-DwUgdz71.js.map → index-CPEfqHYo.js.map} +1 -1
- package/lib/{index-C0ghVMLt.js → index-CTybkvjC.js} +7 -7
- package/lib/{index-C0ghVMLt.js.map → index-CTybkvjC.js.map} +1 -1
- package/lib/{index-CsUOjlYC.js → index-Cm1Ngcme.js} +6 -6
- package/lib/{index-CsUOjlYC.js.map → index-Cm1Ngcme.js.map} +1 -1
- package/lib/{index-DjzhBgB3.js → index-Cw1eRfoq.js} +5 -5
- package/lib/{index-DjzhBgB3.js.map → index-Cw1eRfoq.js.map} +1 -1
- package/lib/{index-D-o_dw-L.js → index-D01kZJzI.js} +6 -6
- package/lib/{index-D-o_dw-L.js.map → index-D01kZJzI.js.map} +1 -1
- package/lib/{index-C_LF5-U6.js → index-D0Sp-B6k.js} +5 -5
- package/lib/{index-C_LF5-U6.js.map → index-D0Sp-B6k.js.map} +1 -1
- package/lib/{index-DqnqbP8X.js → index-DDm4AYXi.js} +5 -5
- package/lib/{index-DqnqbP8X.js.map → index-DDm4AYXi.js.map} +1 -1
- package/lib/{index-Bg5yuBWi.js → index-DHsz9oJq.js} +5 -5
- package/lib/{index-Bg5yuBWi.js.map → index-DHsz9oJq.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DIkWpujR.js.map +1 -1
- package/lib/{index-BG3HhZpZ.js → index-DPCZMLPr.js} +6 -6
- package/lib/{index-BG3HhZpZ.js.map → index-DPCZMLPr.js.map} +1 -1
- package/lib/{index-D95YWgAk.js → index-DcO9d4qt.js} +5 -5
- package/lib/{index-D95YWgAk.js.map → index-DcO9d4qt.js.map} +1 -1
- package/lib/{index-2Lk6rhVp.js → index-DuJ7iw6Z.js} +5 -5
- package/lib/{index-2Lk6rhVp.js.map → index-DuJ7iw6Z.js.map} +1 -1
- package/lib/index-UpDByT1a.js +11 -0
- package/lib/index-UpDByT1a.js.map +1 -0
- package/lib/{index-Bw07DLHZ.js → index-gjuXN2V6.js} +6 -6
- package/lib/{index-Bw07DLHZ.js.map → index-gjuXN2V6.js.map} +1 -1
- package/lib/index-h6kDLKBX.js +11 -0
- package/lib/index-h6kDLKBX.js.map +1 -0
- package/lib/{index-S9oAbMKp.js → index-lio2Bjsf.js} +5 -5
- package/lib/{index-S9oAbMKp.js.map → index-lio2Bjsf.js.map} +1 -1
- package/lib/{index-BvUY_64J.js → index-nEfKXCoJ.js} +6 -6
- package/lib/{index-BvUY_64J.js.map → index-nEfKXCoJ.js.map} +1 -1
- package/lib/index-qgzTHxSb.js +11 -0
- package/lib/index-qgzTHxSb.js.map +1 -0
- package/lib/{index-AbR3CJNJ.js → index-yeXBc9Ww.js} +6 -6
- package/lib/{index-AbR3CJNJ.js.map → index-yeXBc9Ww.js.map} +1 -1
- package/lib/{index-Cyjo41wZ.js → index-yotFZziG.js} +5 -5
- package/lib/{index-Cyjo41wZ.js.map → index-yotFZziG.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-CaKt3cTY.js → useCollectFieldsEndpoint-DsHBp9WK.js} +6 -6
- package/lib/{useCollectFieldsEndpoint-CaKt3cTY.js.map → useCollectFieldsEndpoint-DsHBp9WK.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-Bl84qEfN.js → useEmailFirstExperiment-D_bHXHGE.js} +5 -5
- package/lib/{useEmailFirstExperiment-Bl84qEfN.js.map → useEmailFirstExperiment-D_bHXHGE.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 +376 -356
- 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-CMyB_Po9.js +0 -11
- package/lib/es6-CeEoJoSH.js.map +0 -1
- package/lib/index-Byi5J4Gt.js +0 -11
- package/lib/index-Byi5J4Gt.js.map +0 -1
- package/lib/index-CgjF9TrL.js +0 -11
- package/lib/index-CgjF9TrL.js.map +0 -1
- package/lib/index-ChrVC_vL.js +0 -11
- package/lib/index-ChrVC_vL.js.map +0 -1
- package/lib/index-jlXSUEKM.js +0 -11
- package/lib/index-jlXSUEKM.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:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.125.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1758296371629
|
|
5
|
+
* BUILD_DATE: Fri Sep 19 2025 15:39:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: cac90f941c49a7ba3b398276d9e91aaa5800e9e0
|
|
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.125.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.125.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;
|
|
@@ -20774,16 +20774,16 @@ const IM = (e) => typeof e == "object" && e != null && e.nodeType === 1, wM = (e
|
|
|
20774
20774
|
let U = S - T, te = s === "center" ? N + y / 2 - A + O : s === "end" ? I + O : N - A;
|
|
20775
20775
|
const se = [];
|
|
20776
20776
|
for (let he = 0; he < d.length; he++) {
|
|
20777
|
-
const G = d[he], { height:
|
|
20778
|
-
if (S >= 0 && N >= 0 && M <= g && I <= m && (G === c && !jc(G) || S >= oe && M <= ce && N >=
|
|
20779
|
-
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);
|
|
20780
20780
|
let Me = 0, Se = 0;
|
|
20781
|
-
const Re = "offsetWidth" in G ? G.offsetWidth - G.clientWidth - ee - q : 0, Ge = "offsetHeight" in G ? G.offsetHeight - G.clientHeight -
|
|
20782
|
-
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);
|
|
20783
20783
|
else {
|
|
20784
|
-
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);
|
|
20785
20785
|
const { scrollLeft: Ue, scrollTop: Ke } = G;
|
|
20786
|
-
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;
|
|
20787
20787
|
}
|
|
20788
20788
|
se.push({ el: G, top: Me, left: Se });
|
|
20789
20789
|
}
|
|
@@ -21553,47 +21553,47 @@ function ls(e) {
|
|
|
21553
21553
|
}, [u, a]);
|
|
21554
21554
|
var A = x.useMemo(function() {
|
|
21555
21555
|
return {
|
|
21556
|
-
ArrowDown: function(
|
|
21557
|
-
|
|
21556
|
+
ArrowDown: function(Y) {
|
|
21557
|
+
Y.preventDefault(), l({
|
|
21558
21558
|
type: B0,
|
|
21559
|
-
altKey:
|
|
21559
|
+
altKey: Y.altKey
|
|
21560
21560
|
});
|
|
21561
21561
|
},
|
|
21562
|
-
ArrowUp: function(
|
|
21563
|
-
|
|
21562
|
+
ArrowUp: function(Y) {
|
|
21563
|
+
Y.preventDefault(), l({
|
|
21564
21564
|
type: H0,
|
|
21565
|
-
altKey:
|
|
21565
|
+
altKey: Y.altKey
|
|
21566
21566
|
});
|
|
21567
21567
|
},
|
|
21568
|
-
Home: function(
|
|
21569
|
-
I.current.state.isOpen && (
|
|
21568
|
+
Home: function(Y) {
|
|
21569
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21570
21570
|
type: G0
|
|
21571
21571
|
}));
|
|
21572
21572
|
},
|
|
21573
|
-
End: function(
|
|
21574
|
-
I.current.state.isOpen && (
|
|
21573
|
+
End: function(Y) {
|
|
21574
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21575
21575
|
type: W0
|
|
21576
21576
|
}));
|
|
21577
21577
|
},
|
|
21578
|
-
Escape: function(
|
|
21578
|
+
Escape: function(Y) {
|
|
21579
21579
|
var q = I.current.state;
|
|
21580
|
-
(q.isOpen || q.inputValue || q.selectedItem || q.highlightedIndex > -1) && (
|
|
21580
|
+
(q.isOpen || q.inputValue || q.selectedItem || q.highlightedIndex > -1) && (Y.preventDefault(), l({
|
|
21581
21581
|
type: z0
|
|
21582
21582
|
}));
|
|
21583
21583
|
},
|
|
21584
|
-
Enter: function(
|
|
21584
|
+
Enter: function(Y) {
|
|
21585
21585
|
var q = I.current.state;
|
|
21586
|
-
!q.isOpen ||
|
|
21586
|
+
!q.isOpen || Y.which === 229 || (Y.preventDefault(), l({
|
|
21587
21587
|
type: Y0
|
|
21588
21588
|
}));
|
|
21589
21589
|
},
|
|
21590
|
-
PageUp: function(
|
|
21591
|
-
I.current.state.isOpen && (
|
|
21590
|
+
PageUp: function(Y) {
|
|
21591
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21592
21592
|
type: q0
|
|
21593
21593
|
}));
|
|
21594
21594
|
},
|
|
21595
|
-
PageDown: function(
|
|
21596
|
-
I.current.state.isOpen && (
|
|
21595
|
+
PageDown: function(Y) {
|
|
21596
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21597
21597
|
type: K0
|
|
21598
21598
|
}));
|
|
21599
21599
|
}
|
|
@@ -21603,8 +21603,8 @@ function ls(e) {
|
|
|
21603
21603
|
id: y.labelId,
|
|
21604
21604
|
htmlFor: y.inputId
|
|
21605
21605
|
}, ee);
|
|
21606
|
-
}, [y]), te = x.useCallback(function(ee,
|
|
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 =
|
|
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;
|
|
21608
21608
|
return qe.suppressRefError, It((q = {}, q[Re] = Bc(Ge, function(Ue) {
|
|
21609
21609
|
m.current = Ue;
|
|
21610
21610
|
}), q.id = y.menuId, q.role = "listbox", q["aria-labelledby"] = je && je["aria-label"] ? void 0 : "" + y.labelId, q.onMouseLeave = wo(Me, function() {
|
|
@@ -21613,7 +21613,7 @@ function ls(e) {
|
|
|
21613
21613
|
});
|
|
21614
21614
|
}), q), je);
|
|
21615
21615
|
}, [l, O, y]), se = x.useCallback(function(ee) {
|
|
21616
|
-
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;
|
|
21617
21617
|
P.onPress;
|
|
21618
21618
|
var tt = P.disabled, R = ui(P, kH);
|
|
21619
21619
|
tt !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
|
|
@@ -21631,29 +21631,29 @@ function ls(e) {
|
|
|
21631
21631
|
}, ke = function(Wt) {
|
|
21632
21632
|
return Wt.preventDefault();
|
|
21633
21633
|
};
|
|
21634
|
-
return It((
|
|
21634
|
+
return It((Y = {}, Y[Ge] = Bc(je, function(at) {
|
|
21635
21635
|
at && (g.current[y.getItemId(me)] = at);
|
|
21636
|
-
}),
|
|
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), {
|
|
21637
21637
|
onMouseMove: wo(qe, He),
|
|
21638
21638
|
onMouseDown: wo(Ue, ke)
|
|
21639
21639
|
}, R);
|
|
21640
21640
|
}, [l, y, I, T, N]), he = x.useCallback(function(ee) {
|
|
21641
|
-
var
|
|
21641
|
+
var Y, q = ee === void 0 ? {} : ee, P = q.onClick;
|
|
21642
21642
|
q.onPress;
|
|
21643
21643
|
var Me = q.refKey, Se = Me === void 0 ? "ref" : Me, Re = q.ref, Ge = ui(q, AH), je = I.current.state, qe = function() {
|
|
21644
21644
|
l({
|
|
21645
21645
|
type: vR
|
|
21646
21646
|
});
|
|
21647
21647
|
};
|
|
21648
|
-
return It((
|
|
21648
|
+
return It((Y = {}, Y[Se] = Bc(Re, function(Ue) {
|
|
21649
21649
|
w.current = Ue;
|
|
21650
|
-
}),
|
|
21650
|
+
}), Y["aria-controls"] = y.menuId, Y["aria-expanded"] = je.isOpen, Y.id = y.toggleButtonId, Y.tabIndex = -1, Y), !Ge.disabled && It({}, {
|
|
21651
21651
|
onClick: wo(P, qe)
|
|
21652
21652
|
}), Ge);
|
|
21653
|
-
}, [l, I, y]), G = x.useCallback(function(ee,
|
|
21653
|
+
}, [l, I, y]), G = x.useCallback(function(ee, Y) {
|
|
21654
21654
|
var q, P = ee === void 0 ? {} : ee, Me = P.onKeyDown, Se = P.onChange, Re = P.onInput, Ge = P.onBlur;
|
|
21655
21655
|
P.onChangeText;
|
|
21656
|
-
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;
|
|
21657
21657
|
R.suppressRefError;
|
|
21658
21658
|
var D = I.current.state, z = function(He) {
|
|
21659
21659
|
var Ie = iH(He);
|
|
@@ -21683,11 +21683,11 @@ function ls(e) {
|
|
|
21683
21683
|
return It((q = {}, q[Ue] = Bc(Ke, function(xe) {
|
|
21684
21684
|
h.current = xe;
|
|
21685
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);
|
|
21686
|
-
}, [l, y, a, A, I, T, O]),
|
|
21686
|
+
}, [l, y, a, A, I, T, O]), X = x.useCallback(function() {
|
|
21687
21687
|
l({
|
|
21688
21688
|
type: bR
|
|
21689
21689
|
});
|
|
21690
|
-
}, [l]),
|
|
21690
|
+
}, [l]), Q = x.useCallback(function() {
|
|
21691
21691
|
l({
|
|
21692
21692
|
type: IR
|
|
21693
21693
|
});
|
|
@@ -21705,7 +21705,7 @@ function ls(e) {
|
|
|
21705
21705
|
type: J0,
|
|
21706
21706
|
selectedItem: ee
|
|
21707
21707
|
});
|
|
21708
|
-
}, [l]),
|
|
21708
|
+
}, [l]), Z = x.useCallback(function(ee) {
|
|
21709
21709
|
l({
|
|
21710
21710
|
type: MR,
|
|
21711
21711
|
inputValue: ee
|
|
@@ -21723,11 +21723,11 @@ function ls(e) {
|
|
|
21723
21723
|
getInputProps: G,
|
|
21724
21724
|
getToggleButtonProps: he,
|
|
21725
21725
|
// actions.
|
|
21726
|
-
toggleMenu:
|
|
21726
|
+
toggleMenu: X,
|
|
21727
21727
|
openMenu: oe,
|
|
21728
|
-
closeMenu:
|
|
21728
|
+
closeMenu: Q,
|
|
21729
21729
|
setHighlightedIndex: W,
|
|
21730
|
-
setInputValue:
|
|
21730
|
+
setInputValue: Z,
|
|
21731
21731
|
selectItem: ce,
|
|
21732
21732
|
reset: J,
|
|
21733
21733
|
// state.
|
|
@@ -21843,15 +21843,15 @@ const OH = ({
|
|
|
21843
21843
|
} = ls({
|
|
21844
21844
|
id: t,
|
|
21845
21845
|
items: M,
|
|
21846
|
-
onInputValueChange({ inputValue:
|
|
21847
|
-
I(
|
|
21846
|
+
onInputValueChange({ inputValue: X }) {
|
|
21847
|
+
I(X);
|
|
21848
21848
|
},
|
|
21849
|
-
onSelectedItemChange: ({ selectedItem:
|
|
21849
|
+
onSelectedItemChange: ({ selectedItem: X }) => l(X),
|
|
21850
21850
|
itemToString: TM,
|
|
21851
21851
|
selectedItem: d && d.value && d.label ? d : void 0,
|
|
21852
21852
|
defaultHighlightedIndex: 0
|
|
21853
|
-
}), he = (
|
|
21854
|
-
typeof i == "function" && i(
|
|
21853
|
+
}), he = (X) => {
|
|
21854
|
+
typeof i == "function" && i(X);
|
|
21855
21855
|
}, G = x.useRef(null);
|
|
21856
21856
|
return x.useEffect(() => {
|
|
21857
21857
|
Es(n, G.current);
|
|
@@ -21861,7 +21861,7 @@ const OH = ({
|
|
|
21861
21861
|
{
|
|
21862
21862
|
...N({
|
|
21863
21863
|
ref: G,
|
|
21864
|
-
onKeyDown: (
|
|
21864
|
+
onKeyDown: (X) => he(X),
|
|
21865
21865
|
"aria-labelledby": a
|
|
21866
21866
|
}),
|
|
21867
21867
|
autoFocus: p,
|
|
@@ -21951,29 +21951,29 @@ const jH = ({
|
|
|
21951
21951
|
{ value: "10", label: t.formatHTMLMessage({ id: "dateTime.october", defaultMessage: "October" }) },
|
|
21952
21952
|
{ value: "11", label: t.formatHTMLMessage({ id: "dateTime.november", defaultMessage: "November" }) },
|
|
21953
21953
|
{ value: "12", label: t.formatHTMLMessage({ id: "dateTime.december", defaultMessage: "December" }) }
|
|
21954
|
-
], M = (
|
|
21955
|
-
if (M(v,
|
|
21954
|
+
], M = (Q, oe, W) => (!W || W === "") && (!oe || oe === "") && (!Q || Q === ""), N = (Q) => {
|
|
21955
|
+
if (M(v, Q, S)) {
|
|
21956
21956
|
e("");
|
|
21957
21957
|
return;
|
|
21958
21958
|
}
|
|
21959
|
-
(
|
|
21960
|
-
const oe = Number.parseInt(
|
|
21961
|
-
typeof oe == "number" && oe >= 1 && oe <= 12 ? e(`${v}-${Xo(
|
|
21962
|
-
}, T = (
|
|
21963
|
-
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)) {
|
|
21964
21964
|
e("");
|
|
21965
21965
|
return;
|
|
21966
21966
|
}
|
|
21967
|
-
|
|
21968
|
-
const oe = Number.parseInt(
|
|
21967
|
+
Q === "" && e(`${v}-${y}-`);
|
|
21968
|
+
const oe = Number.parseInt(Q, 10);
|
|
21969
21969
|
typeof oe == "number" && oe >= 1 && oe <= 31 ? e(`${v}-${Xo(y)}-${Xo(oe)}`) : L.warn(`Value '${oe}' is an invalid day`);
|
|
21970
|
-
}, O = (
|
|
21971
|
-
if (M(
|
|
21970
|
+
}, O = (Q) => {
|
|
21971
|
+
if (M(Q, y, S)) {
|
|
21972
21972
|
e("");
|
|
21973
21973
|
return;
|
|
21974
21974
|
}
|
|
21975
|
-
|
|
21976
|
-
const oe = Number.parseInt(
|
|
21975
|
+
Q === "" && e(`-${y}-${S}`);
|
|
21976
|
+
const oe = Number.parseInt(Q, 10);
|
|
21977
21977
|
typeof oe == "number" && oe >= 1 ? e(`${oe}-${Xo(y)}-${Xo(S)}`) : L.warn(`Value '${oe}' is an invalid year`);
|
|
21978
21978
|
}, A = () => {
|
|
21979
21979
|
e(!S && !y && !v ? "" : `${v}-${Xo(y)}-${Xo(S)}`);
|
|
@@ -21987,8 +21987,8 @@ const jH = ({
|
|
|
21987
21987
|
ariaDescribedBy: r ? h : "",
|
|
21988
21988
|
isErrored: r,
|
|
21989
21989
|
options: I,
|
|
21990
|
-
onChange: (
|
|
21991
|
-
N(
|
|
21990
|
+
onChange: (Q) => {
|
|
21991
|
+
N(Q ? Q.value : null);
|
|
21992
21992
|
},
|
|
21993
21993
|
placeholder: t.formatHTMLMessage({ id: "dateTime.month", defaultMessage: "Month" }),
|
|
21994
21994
|
suppressPlaceholder: !1,
|
|
@@ -22007,7 +22007,7 @@ const jH = ({
|
|
|
22007
22007
|
min: 1,
|
|
22008
22008
|
max: 31,
|
|
22009
22009
|
name: `${g}-day`,
|
|
22010
|
-
onChange: (
|
|
22010
|
+
onChange: (Q) => T(Q.target.value),
|
|
22011
22011
|
onBlur: A,
|
|
22012
22012
|
pattern: "\\d*",
|
|
22013
22013
|
placeholder: t.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }),
|
|
@@ -22021,7 +22021,7 @@ const jH = ({
|
|
|
22021
22021
|
disabled: p,
|
|
22022
22022
|
autoComplete: m ? `${m}-day` : void 0
|
|
22023
22023
|
}
|
|
22024
|
-
),
|
|
22024
|
+
), X = /* @__PURE__ */ f.jsx(
|
|
22025
22025
|
Iu,
|
|
22026
22026
|
{
|
|
22027
22027
|
className: `${g}__year sid-date__year sid-text-input sid-text-input--required ${r ? "sid-text-input--error" : ""}`,
|
|
@@ -22038,7 +22038,7 @@ const jH = ({
|
|
|
22038
22038
|
"aria-labelledby": g,
|
|
22039
22039
|
"aria-required": n,
|
|
22040
22040
|
refId: `${l}Year`,
|
|
22041
|
-
onChange: (
|
|
22041
|
+
onChange: (Q) => O(Q.target.value),
|
|
22042
22042
|
onBlur: A,
|
|
22043
22043
|
disabled: p,
|
|
22044
22044
|
autoComplete: m ? `${m}-year` : void 0
|
|
@@ -22065,7 +22065,7 @@ const jH = ({
|
|
|
22065
22065
|
he,
|
|
22066
22066
|
G
|
|
22067
22067
|
] }),
|
|
22068
|
-
|
|
22068
|
+
X
|
|
22069
22069
|
] }),
|
|
22070
22070
|
r && se
|
|
22071
22071
|
] });
|
|
@@ -22676,14 +22676,24 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22676
22676
|
id: void 0,
|
|
22677
22677
|
name: ""
|
|
22678
22678
|
}));
|
|
22679
|
-
}, dz = ({
|
|
22679
|
+
}, dz = ({
|
|
22680
|
+
id: e,
|
|
22681
|
+
onMouseDown: t,
|
|
22682
|
+
disabled: r,
|
|
22683
|
+
onKeyDown: n,
|
|
22684
|
+
handleOnBlur: a
|
|
22685
|
+
}) => /* @__PURE__ */ f.jsx(
|
|
22680
22686
|
"button",
|
|
22681
22687
|
{
|
|
22682
|
-
|
|
22688
|
+
id: e,
|
|
22683
22689
|
type: "button",
|
|
22684
|
-
onMouseDown:
|
|
22685
|
-
|
|
22690
|
+
onMouseDown: t,
|
|
22691
|
+
onKeyDown: n,
|
|
22692
|
+
onBlur: a,
|
|
22693
|
+
className: `sid-input-clear-button ${r ? "sid-input-clear-button--disabled" : ""}`,
|
|
22686
22694
|
"aria-label": "clear text",
|
|
22695
|
+
"aria-disabled": r,
|
|
22696
|
+
tabIndex: 0,
|
|
22687
22697
|
children: /* @__PURE__ */ f.jsx(
|
|
22688
22698
|
"svg",
|
|
22689
22699
|
{
|
|
@@ -22691,7 +22701,7 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22691
22701
|
preserveAspectRatio: "none",
|
|
22692
22702
|
width: 28,
|
|
22693
22703
|
fill: "none",
|
|
22694
|
-
stroke:
|
|
22704
|
+
stroke: r ? "#B6B6B6" : "#5A5A5A",
|
|
22695
22705
|
strokeWidth: "1.1",
|
|
22696
22706
|
children: /* @__PURE__ */ f.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6 18L18 6M6 6l12 12" })
|
|
22697
22707
|
}
|
|
@@ -22715,15 +22725,15 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22715
22725
|
isErrored: g,
|
|
22716
22726
|
ariaDescribedBy: h
|
|
22717
22727
|
}) => {
|
|
22718
|
-
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);
|
|
22719
22729
|
Jf(e);
|
|
22720
|
-
const se = (
|
|
22730
|
+
const se = (Y) => Y ? Y.name : "", { isOpen: he, highlightedIndex: G, getMenuProps: X, getItemProps: Q, getInputProps: oe } = ls({
|
|
22721
22731
|
itemToString: se,
|
|
22722
22732
|
id: l,
|
|
22723
22733
|
items: y,
|
|
22724
|
-
onStateChange: (
|
|
22725
|
-
onInputValueChange: (
|
|
22726
|
-
const q =
|
|
22734
|
+
onStateChange: (Y) => cz(Y, e, u),
|
|
22735
|
+
onInputValueChange: (Y) => {
|
|
22736
|
+
const q = Y.inputValue;
|
|
22727
22737
|
te(!q);
|
|
22728
22738
|
try {
|
|
22729
22739
|
N === 0 && T(Date.now()), q.length < w.length && M(I + 1);
|
|
@@ -22733,14 +22743,14 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22733
22743
|
v(q);
|
|
22734
22744
|
},
|
|
22735
22745
|
selectedItem: i,
|
|
22736
|
-
onSelectedItemChange: ({ selectedItem:
|
|
22746
|
+
onSelectedItemChange: ({ selectedItem: Y }) => {
|
|
22737
22747
|
try {
|
|
22738
22748
|
const q = {
|
|
22739
22749
|
eventName: Ut.ORG_SELECTED,
|
|
22740
22750
|
params: {
|
|
22741
22751
|
[bn.QUERY_LENGTH]: w.length,
|
|
22742
22752
|
[bn.NUMBER_REWORKS]: I,
|
|
22743
|
-
[bn.SELECTED_RESULT_RANK]: y.findIndex((P) => P.id ===
|
|
22753
|
+
[bn.SELECTED_RESULT_RANK]: y.findIndex((P) => P.id === Y.id) + 1,
|
|
22744
22754
|
[bn.EVENT_DURATION]: Date.now() - N,
|
|
22745
22755
|
[bn.NUMBER_OF_RESULTS]: y.length
|
|
22746
22756
|
}
|
|
@@ -22749,11 +22759,11 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22749
22759
|
} catch (q) {
|
|
22750
22760
|
L.error(q);
|
|
22751
22761
|
}
|
|
22752
|
-
T(0), M(0), e(
|
|
22762
|
+
T(0), M(0), e(Y);
|
|
22753
22763
|
}
|
|
22754
22764
|
}), W = () => {
|
|
22755
22765
|
try {
|
|
22756
|
-
const
|
|
22766
|
+
const Y = {
|
|
22757
22767
|
eventName: Ut.ASR_SELECTED,
|
|
22758
22768
|
params: {
|
|
22759
22769
|
[bn.QUERY_LENGTH]: w.length,
|
|
@@ -22762,23 +22772,24 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22762
22772
|
[bn.NUMBER_OF_RESULTS]: y.length
|
|
22763
22773
|
}
|
|
22764
22774
|
};
|
|
22765
|
-
po(
|
|
22766
|
-
} catch (
|
|
22767
|
-
L.error(
|
|
22775
|
+
po(Y);
|
|
22776
|
+
} catch (Y) {
|
|
22777
|
+
L.error(Y);
|
|
22768
22778
|
}
|
|
22769
22779
|
}, ce = x.useRef(null);
|
|
22770
22780
|
x.useEffect(() => {
|
|
22771
|
-
Es("organization", ce.current)
|
|
22781
|
+
Es("organization", ce.current);
|
|
22772
22782
|
});
|
|
22773
|
-
const
|
|
22774
|
-
A(!0),
|
|
22775
|
-
}, J = () => {
|
|
22776
|
-
|
|
22777
|
-
|
|
22778
|
-
|
|
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({
|
|
22779
22790
|
id: void 0,
|
|
22780
22791
|
name: ""
|
|
22781
|
-
});
|
|
22792
|
+
}), ce.current.focus());
|
|
22782
22793
|
};
|
|
22783
22794
|
return /* @__PURE__ */ f.jsxs("div", { className: "sid-organization-list", children: [
|
|
22784
22795
|
/* @__PURE__ */ f.jsx(
|
|
@@ -22786,8 +22797,8 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22786
22797
|
{
|
|
22787
22798
|
...oe({
|
|
22788
22799
|
ref: ce,
|
|
22789
|
-
onFocus: (
|
|
22790
|
-
onBlur: () => J()
|
|
22800
|
+
onFocus: (Y) => Z(Y),
|
|
22801
|
+
onBlur: (Y) => J(Y)
|
|
22791
22802
|
}),
|
|
22792
22803
|
className: `sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,
|
|
22793
22804
|
disabled: a,
|
|
@@ -22800,16 +22811,25 @@ const uz = My, cz = (e, t, r) => {
|
|
|
22800
22811
|
"aria-labelledby": `${l}-label`
|
|
22801
22812
|
}
|
|
22802
22813
|
),
|
|
22803
|
-
O ? /* @__PURE__ */ f.jsx(
|
|
22804
|
-
|
|
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(
|
|
22805
22825
|
uz,
|
|
22806
22826
|
{
|
|
22807
22827
|
countryCode: n,
|
|
22808
|
-
getItemProps:
|
|
22828
|
+
getItemProps: Q,
|
|
22809
22829
|
highlightedIndex: G,
|
|
22810
22830
|
itemToString: se,
|
|
22811
22831
|
minimumSearchValueLength: o,
|
|
22812
|
-
onLoaded: (
|
|
22832
|
+
onLoaded: (Y) => S(Y),
|
|
22813
22833
|
programId: t,
|
|
22814
22834
|
orgSearchUrl: c,
|
|
22815
22835
|
locale: p,
|
|
@@ -23159,109 +23179,109 @@ var Sz = function(e) {
|
|
|
23159
23179
|
(function(n) {
|
|
23160
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");
|
|
23161
23181
|
function M(G) {
|
|
23162
|
-
var
|
|
23163
|
-
for (this.clear(); ++
|
|
23164
|
-
var oe = G[
|
|
23182
|
+
var X = -1, Q = G ? G.length : 0;
|
|
23183
|
+
for (this.clear(); ++X < Q; ) {
|
|
23184
|
+
var oe = G[X];
|
|
23165
23185
|
this.set(oe[0], oe[1]);
|
|
23166
23186
|
}
|
|
23167
23187
|
}
|
|
23168
23188
|
function N(G) {
|
|
23169
|
-
var
|
|
23170
|
-
for (this.clear(); ++
|
|
23171
|
-
var oe = G[
|
|
23189
|
+
var X = -1, Q = G ? G.length : 0;
|
|
23190
|
+
for (this.clear(); ++X < Q; ) {
|
|
23191
|
+
var oe = G[X];
|
|
23172
23192
|
this.set(oe[0], oe[1]);
|
|
23173
23193
|
}
|
|
23174
23194
|
}
|
|
23175
23195
|
function T(G) {
|
|
23176
|
-
var
|
|
23177
|
-
for (this.clear(); ++
|
|
23178
|
-
var oe = G[
|
|
23196
|
+
var X = -1, Q = G ? G.length : 0;
|
|
23197
|
+
for (this.clear(); ++X < Q; ) {
|
|
23198
|
+
var oe = G[X];
|
|
23179
23199
|
this.set(oe[0], oe[1]);
|
|
23180
23200
|
}
|
|
23181
23201
|
}
|
|
23182
|
-
function O(G,
|
|
23183
|
-
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;
|
|
23184
23204
|
return -1;
|
|
23185
23205
|
}
|
|
23186
23206
|
function A(G) {
|
|
23187
|
-
return !(!he(G) || (
|
|
23188
|
-
var oe = he(
|
|
23207
|
+
return !(!he(G) || (X = G, m && m in X)) && (function(Q) {
|
|
23208
|
+
var oe = he(Q) ? w.call(Q) : "";
|
|
23189
23209
|
return oe == "[object Function]" || oe == "[object GeneratorFunction]";
|
|
23190
|
-
}(G) || function(
|
|
23210
|
+
}(G) || function(Q) {
|
|
23191
23211
|
var oe = !1;
|
|
23192
|
-
if (
|
|
23193
|
-
oe = !!(
|
|
23212
|
+
if (Q != null && typeof Q.toString != "function") try {
|
|
23213
|
+
oe = !!(Q + "");
|
|
23194
23214
|
} catch {
|
|
23195
23215
|
}
|
|
23196
23216
|
return oe;
|
|
23197
|
-
}(G) ? v : a).test(function(
|
|
23198
|
-
if (
|
|
23217
|
+
}(G) ? v : a).test(function(Q) {
|
|
23218
|
+
if (Q != null) {
|
|
23199
23219
|
try {
|
|
23200
|
-
return g.call(
|
|
23220
|
+
return g.call(Q);
|
|
23201
23221
|
} catch {
|
|
23202
23222
|
}
|
|
23203
23223
|
try {
|
|
23204
|
-
return
|
|
23224
|
+
return Q + "";
|
|
23205
23225
|
} catch {
|
|
23206
23226
|
}
|
|
23207
23227
|
}
|
|
23208
23228
|
return "";
|
|
23209
23229
|
}(G));
|
|
23210
|
-
var
|
|
23230
|
+
var X;
|
|
23211
23231
|
}
|
|
23212
|
-
function U(G,
|
|
23213
|
-
var
|
|
23214
|
-
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;
|
|
23215
23235
|
}
|
|
23216
|
-
function te(G,
|
|
23217
|
-
var
|
|
23236
|
+
function te(G, X) {
|
|
23237
|
+
var Q = function(oe, W) {
|
|
23218
23238
|
return oe == null ? void 0 : oe[W];
|
|
23219
|
-
}(G,
|
|
23220
|
-
return A(
|
|
23239
|
+
}(G, X);
|
|
23240
|
+
return A(Q) ? Q : void 0;
|
|
23221
23241
|
}
|
|
23222
|
-
function se(G,
|
|
23223
|
-
if (typeof G != "function" ||
|
|
23224
|
-
var
|
|
23225
|
-
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;
|
|
23226
23246
|
if (ce.has(W)) return ce.get(W);
|
|
23227
|
-
var
|
|
23228
|
-
return
|
|
23247
|
+
var Z = G.apply(this, oe);
|
|
23248
|
+
return Q.cache = ce.set(W, Z), Z;
|
|
23229
23249
|
};
|
|
23230
|
-
return
|
|
23250
|
+
return Q.cache = new (se.Cache || T)(), Q;
|
|
23231
23251
|
}
|
|
23232
23252
|
function he(G) {
|
|
23233
|
-
var
|
|
23234
|
-
return !!G && (
|
|
23253
|
+
var X = typeof G;
|
|
23254
|
+
return !!G && (X == "object" || X == "function");
|
|
23235
23255
|
}
|
|
23236
23256
|
M.prototype.clear = function() {
|
|
23237
23257
|
this.__data__ = I ? I(null) : {};
|
|
23238
23258
|
}, M.prototype.delete = function(G) {
|
|
23239
23259
|
return this.has(G) && delete this.__data__[G];
|
|
23240
23260
|
}, M.prototype.get = function(G) {
|
|
23241
|
-
var
|
|
23261
|
+
var X = this.__data__;
|
|
23242
23262
|
if (I) {
|
|
23243
|
-
var
|
|
23244
|
-
return
|
|
23263
|
+
var Q = X[G];
|
|
23264
|
+
return Q === "__lodash_hash_undefined__" ? void 0 : Q;
|
|
23245
23265
|
}
|
|
23246
|
-
return h.call(
|
|
23266
|
+
return h.call(X, G) ? X[G] : void 0;
|
|
23247
23267
|
}, M.prototype.has = function(G) {
|
|
23248
|
-
var
|
|
23249
|
-
return I ?
|
|
23250
|
-
}, M.prototype.set = function(G,
|
|
23251
|
-
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;
|
|
23252
23272
|
}, N.prototype.clear = function() {
|
|
23253
23273
|
this.__data__ = [];
|
|
23254
23274
|
}, N.prototype.delete = function(G) {
|
|
23255
|
-
var
|
|
23256
|
-
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);
|
|
23257
23277
|
}, N.prototype.get = function(G) {
|
|
23258
|
-
var
|
|
23259
|
-
return
|
|
23278
|
+
var X = this.__data__, Q = O(X, G);
|
|
23279
|
+
return Q < 0 ? void 0 : X[Q][1];
|
|
23260
23280
|
}, N.prototype.has = function(G) {
|
|
23261
23281
|
return O(this.__data__, G) > -1;
|
|
23262
|
-
}, N.prototype.set = function(G,
|
|
23263
|
-
var
|
|
23264
|
-
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;
|
|
23265
23285
|
}, T.prototype.clear = function() {
|
|
23266
23286
|
this.__data__ = { hash: new M(), map: new (S || N)(), string: new M() };
|
|
23267
23287
|
}, T.prototype.delete = function(G) {
|
|
@@ -23270,8 +23290,8 @@ var Sz = function(e) {
|
|
|
23270
23290
|
return U(this, G).get(G);
|
|
23271
23291
|
}, T.prototype.has = function(G) {
|
|
23272
23292
|
return U(this, G).has(G);
|
|
23273
|
-
}, T.prototype.set = function(G,
|
|
23274
|
-
return U(this, G).set(G,
|
|
23293
|
+
}, T.prototype.set = function(G, X) {
|
|
23294
|
+
return U(this, G).set(G, X), this;
|
|
23275
23295
|
}, se.Cache = T, e.exports = se;
|
|
23276
23296
|
}).call(this, r(3));
|
|
23277
23297
|
}, function(e, t, r) {
|
|
@@ -23302,12 +23322,12 @@ var Sz = function(e) {
|
|
|
23302
23322
|
e.exports = function(y, S, I) {
|
|
23303
23323
|
var M, N, T, O, A, U, te = 0, se = !1, he = !1, G = !0;
|
|
23304
23324
|
if (typeof y != "function") throw new TypeError("Expected a function");
|
|
23305
|
-
function Z(J) {
|
|
23306
|
-
var ee = M, Q = N;
|
|
23307
|
-
return M = N = void 0, te = J, O = y.apply(Q, ee);
|
|
23308
|
-
}
|
|
23309
23325
|
function X(J) {
|
|
23310
|
-
|
|
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;
|
|
23311
23331
|
}
|
|
23312
23332
|
function oe(J) {
|
|
23313
23333
|
var ee = J - U;
|
|
@@ -23317,26 +23337,26 @@ var Sz = function(e) {
|
|
|
23317
23337
|
var J = h();
|
|
23318
23338
|
if (oe(J)) return ce(J);
|
|
23319
23339
|
A = setTimeout(W, function(ee) {
|
|
23320
|
-
var
|
|
23321
|
-
return he ? g(
|
|
23340
|
+
var Y = S - (ee - U);
|
|
23341
|
+
return he ? g(Y, T - (ee - te)) : Y;
|
|
23322
23342
|
}(J));
|
|
23323
23343
|
}
|
|
23324
23344
|
function ce(J) {
|
|
23325
|
-
return A = void 0, G && M ?
|
|
23345
|
+
return A = void 0, G && M ? X(J) : (M = N = void 0, O);
|
|
23326
23346
|
}
|
|
23327
|
-
function
|
|
23347
|
+
function Z() {
|
|
23328
23348
|
var J = h(), ee = oe(J);
|
|
23329
23349
|
if (M = arguments, N = this, U = J, ee) {
|
|
23330
|
-
if (A === void 0) return
|
|
23331
|
-
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);
|
|
23332
23352
|
}
|
|
23333
23353
|
return A === void 0 && (A = setTimeout(W, S)), O;
|
|
23334
23354
|
}
|
|
23335
|
-
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() {
|
|
23336
23356
|
A !== void 0 && clearTimeout(A), te = 0, M = U = N = A = void 0;
|
|
23337
|
-
},
|
|
23357
|
+
}, Z.flush = function() {
|
|
23338
23358
|
return A === void 0 ? O : ce(h());
|
|
23339
|
-
},
|
|
23359
|
+
}, Z;
|
|
23340
23360
|
};
|
|
23341
23361
|
}).call(this, r(3));
|
|
23342
23362
|
}, function(e, t, r) {
|
|
@@ -23383,8 +23403,8 @@ var Sz = function(e) {
|
|
|
23383
23403
|
re[++H] = ie;
|
|
23384
23404
|
}), re;
|
|
23385
23405
|
}
|
|
23386
|
-
var
|
|
23387
|
-
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));
|
|
23388
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;
|
|
23389
23409
|
function Ie(C) {
|
|
23390
23410
|
var H = -1, re = C ? C.length : 0;
|
|
@@ -23643,7 +23663,7 @@ var Sz = function(e) {
|
|
|
23643
23663
|
var H, re;
|
|
23644
23664
|
}
|
|
23645
23665
|
function _r(C) {
|
|
23646
|
-
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);
|
|
23647
23667
|
var H, re, ie, Ae = [];
|
|
23648
23668
|
for (var _e in Object(C)) q.call(C, _e) && _e != "constructor" && Ae.push(_e);
|
|
23649
23669
|
return Ae;
|
|
@@ -23745,7 +23765,7 @@ var Sz = function(e) {
|
|
|
23745
23765
|
function Be(C) {
|
|
23746
23766
|
if (C != null) {
|
|
23747
23767
|
try {
|
|
23748
|
-
return
|
|
23768
|
+
return Y.call(C);
|
|
23749
23769
|
} catch {
|
|
23750
23770
|
}
|
|
23751
23771
|
try {
|
|
@@ -23827,73 +23847,73 @@ var Sz = function(e) {
|
|
|
23827
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));
|
|
23828
23848
|
});
|
|
23829
23849
|
}, function(e, t, r) {
|
|
23830
|
-
function n(
|
|
23831
|
-
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;
|
|
23832
23852
|
}
|
|
23833
|
-
function a(
|
|
23834
|
-
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);
|
|
23835
23855
|
}
|
|
23836
|
-
function o(
|
|
23856
|
+
function o(Z) {
|
|
23837
23857
|
return function(J) {
|
|
23838
23858
|
if (Array.isArray(J)) {
|
|
23839
|
-
for (var ee = 0,
|
|
23840
|
-
return
|
|
23859
|
+
for (var ee = 0, Y = new Array(J.length); ee < J.length; ee++) Y[ee] = J[ee];
|
|
23860
|
+
return Y;
|
|
23841
23861
|
}
|
|
23842
|
-
}(
|
|
23862
|
+
}(Z) || a(Z) || function() {
|
|
23843
23863
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
23844
23864
|
}();
|
|
23845
23865
|
}
|
|
23846
|
-
function s(
|
|
23847
|
-
if (Array.isArray(
|
|
23866
|
+
function s(Z) {
|
|
23867
|
+
if (Array.isArray(Z)) return Z;
|
|
23848
23868
|
}
|
|
23849
23869
|
function i() {
|
|
23850
23870
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
23851
23871
|
}
|
|
23852
|
-
function l(
|
|
23853
|
-
if (!(
|
|
23872
|
+
function l(Z, J) {
|
|
23873
|
+
if (!(Z instanceof J)) throw new TypeError("Cannot call a class as a function");
|
|
23854
23874
|
}
|
|
23855
|
-
function u(
|
|
23875
|
+
function u(Z, J) {
|
|
23856
23876
|
for (var ee = 0; ee < J.length; ee++) {
|
|
23857
|
-
var
|
|
23858
|
-
|
|
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);
|
|
23859
23879
|
}
|
|
23860
23880
|
}
|
|
23861
|
-
function c(
|
|
23881
|
+
function c(Z) {
|
|
23862
23882
|
return (c = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(J) {
|
|
23863
23883
|
return typeof J;
|
|
23864
23884
|
} : function(J) {
|
|
23865
23885
|
return J && typeof Symbol == "function" && J.constructor === Symbol && J !== Symbol.prototype ? "symbol" : typeof J;
|
|
23866
|
-
})(
|
|
23886
|
+
})(Z);
|
|
23867
23887
|
}
|
|
23868
|
-
function d(
|
|
23888
|
+
function d(Z) {
|
|
23869
23889
|
return (d = typeof Symbol == "function" && c(Symbol.iterator) === "symbol" ? function(J) {
|
|
23870
23890
|
return c(J);
|
|
23871
23891
|
} : function(J) {
|
|
23872
23892
|
return J && typeof Symbol == "function" && J.constructor === Symbol && J !== Symbol.prototype ? "symbol" : c(J);
|
|
23873
|
-
})(
|
|
23893
|
+
})(Z);
|
|
23874
23894
|
}
|
|
23875
|
-
function p(
|
|
23876
|
-
if (
|
|
23877
|
-
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;
|
|
23878
23898
|
}
|
|
23879
|
-
function m(
|
|
23899
|
+
function m(Z) {
|
|
23880
23900
|
return (m = Object.setPrototypeOf ? Object.getPrototypeOf : function(J) {
|
|
23881
23901
|
return J.__proto__ || Object.getPrototypeOf(J);
|
|
23882
|
-
})(
|
|
23902
|
+
})(Z);
|
|
23883
23903
|
}
|
|
23884
|
-
function g(
|
|
23885
|
-
return (g = Object.setPrototypeOf || function(ee,
|
|
23886
|
-
return ee.__proto__ =
|
|
23887
|
-
})(
|
|
23904
|
+
function g(Z, J) {
|
|
23905
|
+
return (g = Object.setPrototypeOf || function(ee, Y) {
|
|
23906
|
+
return ee.__proto__ = Y, ee;
|
|
23907
|
+
})(Z, J);
|
|
23888
23908
|
}
|
|
23889
23909
|
r.r(t);
|
|
23890
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);
|
|
23891
23911
|
r(8);
|
|
23892
|
-
function te(
|
|
23893
|
-
return s(
|
|
23912
|
+
function te(Z, J) {
|
|
23913
|
+
return s(Z) || function(ee, Y) {
|
|
23894
23914
|
var q = [], P = !0, Me = !1, Se = void 0;
|
|
23895
23915
|
try {
|
|
23896
|
-
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) ;
|
|
23897
23917
|
} catch (je) {
|
|
23898
23918
|
Me = !0, Se = je;
|
|
23899
23919
|
} finally {
|
|
@@ -23904,16 +23924,16 @@ var Sz = function(e) {
|
|
|
23904
23924
|
}
|
|
23905
23925
|
}
|
|
23906
23926
|
return q;
|
|
23907
|
-
}(
|
|
23927
|
+
}(Z, J) || i();
|
|
23908
23928
|
}
|
|
23909
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"]];
|
|
23910
|
-
function G(
|
|
23911
|
-
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;
|
|
23912
23932
|
}
|
|
23913
|
-
function Z
|
|
23933
|
+
function X(Z, J, ee, Y, q) {
|
|
23914
23934
|
var P, Me, Se = [];
|
|
23915
|
-
return Me = J === !0, [(P = []).concat.apply(P, o(
|
|
23916
|
-
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 = [];
|
|
23917
23937
|
return Re[6] && Re[6].map(function(qe) {
|
|
23918
23938
|
var Ue = function(Ke) {
|
|
23919
23939
|
for (var tt = 1; tt < arguments.length; tt++) {
|
|
@@ -23930,33 +23950,33 @@ var Sz = function(e) {
|
|
|
23930
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];
|
|
23931
23951
|
}))), Se];
|
|
23932
23952
|
}
|
|
23933
|
-
function
|
|
23953
|
+
function Q(Z, J, ee, Y) {
|
|
23934
23954
|
if (ee !== null) {
|
|
23935
23955
|
var q = Object.keys(ee), P = Object.values(ee);
|
|
23936
23956
|
q.forEach(function(Me, Se) {
|
|
23937
|
-
if (
|
|
23938
|
-
var Re =
|
|
23957
|
+
if (Y) return Z.push([Me, P[Se]]);
|
|
23958
|
+
var Re = Z.findIndex(function(je) {
|
|
23939
23959
|
return je[0] === Me;
|
|
23940
23960
|
});
|
|
23941
23961
|
if (Re === -1) {
|
|
23942
23962
|
var Ge = [Me];
|
|
23943
|
-
Ge[J] = P[Se],
|
|
23944
|
-
} else
|
|
23963
|
+
Ge[J] = P[Se], Z.push(Ge);
|
|
23964
|
+
} else Z[Re][J] = P[Se];
|
|
23945
23965
|
});
|
|
23946
23966
|
}
|
|
23947
23967
|
}
|
|
23948
|
-
function oe(
|
|
23949
|
-
return J.length === 0 ?
|
|
23950
|
-
var
|
|
23968
|
+
function oe(Z, J) {
|
|
23969
|
+
return J.length === 0 ? Z : Z.map(function(ee) {
|
|
23970
|
+
var Y = J.findIndex(function(P) {
|
|
23951
23971
|
return P[0] === ee[2];
|
|
23952
23972
|
});
|
|
23953
|
-
if (
|
|
23954
|
-
var q = J[
|
|
23973
|
+
if (Y === -1) return ee;
|
|
23974
|
+
var q = J[Y];
|
|
23955
23975
|
return q[1] && (ee[4] = q[1]), q[3] && (ee[5] = q[3]), q[2] && (ee[6] = q[2]), ee;
|
|
23956
23976
|
});
|
|
23957
23977
|
}
|
|
23958
|
-
var W = function
|
|
23959
|
-
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) {
|
|
23960
23980
|
if (typeof ve == "string") {
|
|
23961
23981
|
var He = ve;
|
|
23962
23982
|
return xe.filter(function(Ie) {
|
|
@@ -24010,14 +24030,14 @@ var Sz = function(e) {
|
|
|
24010
24030
|
};
|
|
24011
24031
|
var R = function(ve, xe, He) {
|
|
24012
24032
|
var Ie = [];
|
|
24013
|
-
return
|
|
24014
|
-
}(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];
|
|
24015
24035
|
if (ee) {
|
|
24016
|
-
var me = te(
|
|
24036
|
+
var me = te(X(z, J, Ue, Ke, tt), 2), Ne = me[0];
|
|
24017
24037
|
me[1], le = this.sortTerritories(Ne, le);
|
|
24018
24038
|
}
|
|
24019
|
-
|
|
24020
|
-
}, 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) {
|
|
24021
24041
|
function J(q) {
|
|
24022
24042
|
var P;
|
|
24023
24043
|
l(this, J), (P = function(R, D) {
|
|
@@ -24249,11 +24269,11 @@ var Sz = function(e) {
|
|
|
24249
24269
|
});
|
|
24250
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;
|
|
24251
24271
|
}
|
|
24252
|
-
var ee,
|
|
24272
|
+
var ee, Y;
|
|
24253
24273
|
return function(q, P) {
|
|
24254
24274
|
if (typeof P != "function" && P !== null) throw new TypeError("Super expression must either be null or a function");
|
|
24255
24275
|
q.prototype = Object.create(P && P.prototype, { constructor: { value: q, writable: !0, configurable: !0 } }), P && g(q, P);
|
|
24256
|
-
}(J,
|
|
24276
|
+
}(J, Z), ee = J, (Y = [{ key: "componentDidMount", value: function() {
|
|
24257
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);
|
|
24258
24278
|
} }, { key: "componentWillUnmount", value: function() {
|
|
24259
24279
|
document.removeEventListener && this.props.enableClickOutside && document.removeEventListener("mousedown", this.handleClickOutside);
|
|
@@ -24282,7 +24302,7 @@ var Sz = function(e) {
|
|
|
24282
24302
|
} })), w.a.createElement("div", { className: He, style: this.props.buttonStyle, ref: function(ke) {
|
|
24283
24303
|
return Se.dropdownContainerRef = ke;
|
|
24284
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()));
|
|
24285
|
-
} }]) && u(ee.prototype,
|
|
24305
|
+
} }]) && u(ee.prototype, Y), J;
|
|
24286
24306
|
}(w.a.Component);
|
|
24287
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;
|
|
24288
24308
|
}]);
|
|
@@ -26349,17 +26369,17 @@ const s9 = (e) => ({
|
|
|
26349
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));
|
|
26350
26370
|
let T = N ? N[S] : 0;
|
|
26351
26371
|
(!T || !await (s.isElement == null ? void 0 : s.isElement(N))) && (T = i.floating[S] || o.floating[g]);
|
|
26352
|
-
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;
|
|
26353
26373
|
return {
|
|
26354
26374
|
[m]: p[m] + oe,
|
|
26355
26375
|
data: {
|
|
26356
|
-
[m]:
|
|
26357
|
-
centerOffset: G -
|
|
26358
|
-
...
|
|
26376
|
+
[m]: X,
|
|
26377
|
+
centerOffset: G - X - oe,
|
|
26378
|
+
...Q && {
|
|
26359
26379
|
alignmentOffset: oe
|
|
26360
26380
|
}
|
|
26361
26381
|
},
|
|
26362
|
-
reset:
|
|
26382
|
+
reset: Q
|
|
26363
26383
|
};
|
|
26364
26384
|
}
|
|
26365
26385
|
}), i9 = function(e) {
|
|
@@ -26399,19 +26419,19 @@ const s9 = (e) => ({
|
|
|
26399
26419
|
overflows: A
|
|
26400
26420
|
}], !A.every((G) => G <= 0)) {
|
|
26401
26421
|
var te, se;
|
|
26402
|
-
const G = (((te = o.flip) == null ? void 0 : te.index) || 0) + 1,
|
|
26403
|
-
if (
|
|
26422
|
+
const G = (((te = o.flip) == null ? void 0 : te.index) || 0) + 1, X = T[G];
|
|
26423
|
+
if (X)
|
|
26404
26424
|
return {
|
|
26405
26425
|
data: {
|
|
26406
26426
|
index: G,
|
|
26407
26427
|
overflows: U
|
|
26408
26428
|
},
|
|
26409
26429
|
reset: {
|
|
26410
|
-
placement:
|
|
26430
|
+
placement: X
|
|
26411
26431
|
}
|
|
26412
26432
|
};
|
|
26413
|
-
let
|
|
26414
|
-
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)
|
|
26415
26435
|
switch (m) {
|
|
26416
26436
|
case "bestFit": {
|
|
26417
26437
|
var he;
|
|
@@ -26423,18 +26443,18 @@ const s9 = (e) => ({
|
|
|
26423
26443
|
ce === "y";
|
|
26424
26444
|
}
|
|
26425
26445
|
return !0;
|
|
26426
|
-
}).map((W) => [W.placement, W.overflows.filter((ce) => ce > 0).reduce((ce,
|
|
26427
|
-
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);
|
|
26428
26448
|
break;
|
|
26429
26449
|
}
|
|
26430
26450
|
case "initialPlacement":
|
|
26431
|
-
|
|
26451
|
+
Q = i;
|
|
26432
26452
|
break;
|
|
26433
26453
|
}
|
|
26434
|
-
if (a !==
|
|
26454
|
+
if (a !== Q)
|
|
26435
26455
|
return {
|
|
26436
26456
|
reset: {
|
|
26437
|
-
placement:
|
|
26457
|
+
placement: Q
|
|
26438
26458
|
}
|
|
26439
26459
|
};
|
|
26440
26460
|
}
|
|
@@ -27251,7 +27271,7 @@ function $9(e) {
|
|
|
27251
27271
|
middleware: p
|
|
27252
27272
|
};
|
|
27253
27273
|
te.current && (W.platform = te.current), U9(N.current, T.current, W).then((ce) => {
|
|
27254
|
-
const
|
|
27274
|
+
const Z = {
|
|
27255
27275
|
...ce,
|
|
27256
27276
|
// The floating element's position may be recomputed while it's closed
|
|
27257
27277
|
// but still mounted (such as when transitioning out). To ensure
|
|
@@ -27259,8 +27279,8 @@ function $9(e) {
|
|
|
27259
27279
|
// setting it to `true` when `open === false` (must be specified).
|
|
27260
27280
|
isPositioned: se.current !== !1
|
|
27261
27281
|
};
|
|
27262
|
-
G.current && !Af(O.current,
|
|
27263
|
-
d(
|
|
27282
|
+
G.current && !Af(O.current, Z) && (O.current = Z, Zf.flushSync(() => {
|
|
27283
|
+
d(Z);
|
|
27264
27284
|
}));
|
|
27265
27285
|
});
|
|
27266
27286
|
}, [p, t, r, te, se]);
|
|
@@ -27280,12 +27300,12 @@ function $9(e) {
|
|
|
27280
27300
|
he();
|
|
27281
27301
|
}
|
|
27282
27302
|
}, [I, M, he, U, A]);
|
|
27283
|
-
const
|
|
27303
|
+
const X = x.useMemo(() => ({
|
|
27284
27304
|
reference: N,
|
|
27285
27305
|
floating: T,
|
|
27286
27306
|
setReference: y,
|
|
27287
27307
|
setFloating: S
|
|
27288
|
-
}), [y, S]),
|
|
27308
|
+
}), [y, S]), Q = x.useMemo(() => ({
|
|
27289
27309
|
reference: I,
|
|
27290
27310
|
floating: M
|
|
27291
27311
|
}), [I, M]), oe = x.useMemo(() => {
|
|
@@ -27294,28 +27314,28 @@ function $9(e) {
|
|
|
27294
27314
|
left: 0,
|
|
27295
27315
|
top: 0
|
|
27296
27316
|
};
|
|
27297
|
-
if (!
|
|
27317
|
+
if (!Q.floating)
|
|
27298
27318
|
return W;
|
|
27299
|
-
const ce = ZM(
|
|
27319
|
+
const ce = ZM(Q.floating, c.x), Z = ZM(Q.floating, c.y);
|
|
27300
27320
|
return i ? {
|
|
27301
27321
|
...W,
|
|
27302
|
-
transform: "translate(" + ce + "px, " +
|
|
27303
|
-
...ZR(
|
|
27322
|
+
transform: "translate(" + ce + "px, " + Z + "px)",
|
|
27323
|
+
...ZR(Q.floating) >= 1.5 && {
|
|
27304
27324
|
willChange: "transform"
|
|
27305
27325
|
}
|
|
27306
27326
|
} : {
|
|
27307
27327
|
position: r,
|
|
27308
27328
|
left: ce,
|
|
27309
|
-
top:
|
|
27329
|
+
top: Z
|
|
27310
27330
|
};
|
|
27311
|
-
}, [r, i,
|
|
27331
|
+
}, [r, i, Q.floating, c.x, c.y]);
|
|
27312
27332
|
return x.useMemo(() => ({
|
|
27313
27333
|
...c,
|
|
27314
27334
|
update: he,
|
|
27315
|
-
refs:
|
|
27316
|
-
elements:
|
|
27335
|
+
refs: X,
|
|
27336
|
+
elements: Q,
|
|
27317
27337
|
floatingStyles: oe
|
|
27318
|
-
}), [c, he,
|
|
27338
|
+
}), [c, he, X, Q, oe]);
|
|
27319
27339
|
}
|
|
27320
27340
|
const j9 = (e) => {
|
|
27321
27341
|
function t(r) {
|
|
@@ -27436,7 +27456,7 @@ var mb = "PopperContent", [Q9, J9] = QR(mb), oN = x.forwardRef(
|
|
|
27436
27456
|
boundary: te.filter(t7),
|
|
27437
27457
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
27438
27458
|
altBoundary: se
|
|
27439
|
-
}, { refs: G, floatingStyles:
|
|
27459
|
+
}, { refs: G, floatingStyles: X, placement: Q, isPositioned: oe, middlewareData: W } = $9({
|
|
27440
27460
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
27441
27461
|
strategy: "fixed",
|
|
27442
27462
|
placement: A,
|
|
@@ -27466,11 +27486,11 @@ var mb = "PopperContent", [Q9, J9] = QR(mb), oN = x.forwardRef(
|
|
|
27466
27486
|
r7({ arrowWidth: T, arrowHeight: O }),
|
|
27467
27487
|
p && W9({ strategy: "referenceHidden", ...he })
|
|
27468
27488
|
]
|
|
27469
|
-
}), [ce,
|
|
27489
|
+
}), [ce, Z] = iN(Q), J = Pa(g);
|
|
27470
27490
|
Ui(() => {
|
|
27471
27491
|
oe && (J == null || J());
|
|
27472
27492
|
}, [oe, J]);
|
|
27473
|
-
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();
|
|
27474
27494
|
return Ui(() => {
|
|
27475
27495
|
v && Me(window.getComputedStyle(v).zIndex);
|
|
27476
27496
|
}, [v]), /* @__PURE__ */ f.jsx(
|
|
@@ -27479,8 +27499,8 @@ var mb = "PopperContent", [Q9, J9] = QR(mb), oN = x.forwardRef(
|
|
|
27479
27499
|
ref: G.setFloating,
|
|
27480
27500
|
"data-radix-popper-content-wrapper": "",
|
|
27481
27501
|
style: {
|
|
27482
|
-
...
|
|
27483
|
-
transform: oe ?
|
|
27502
|
+
...X,
|
|
27503
|
+
transform: oe ? X.transform : "translate(0, -200%)",
|
|
27484
27504
|
// keep off the page when measuring
|
|
27485
27505
|
minWidth: "max-content",
|
|
27486
27506
|
zIndex: P,
|
|
@@ -27504,13 +27524,13 @@ var mb = "PopperContent", [Q9, J9] = QR(mb), oN = x.forwardRef(
|
|
|
27504
27524
|
placedSide: ce,
|
|
27505
27525
|
onArrowChange: M,
|
|
27506
27526
|
arrowX: ee,
|
|
27507
|
-
arrowY:
|
|
27527
|
+
arrowY: Y,
|
|
27508
27528
|
shouldHideArrow: q,
|
|
27509
27529
|
children: /* @__PURE__ */ f.jsx(
|
|
27510
27530
|
$a.div,
|
|
27511
27531
|
{
|
|
27512
27532
|
"data-side": ce,
|
|
27513
|
-
"data-align":
|
|
27533
|
+
"data-align": Z,
|
|
27514
27534
|
...h,
|
|
27515
27535
|
ref: S,
|
|
27516
27536
|
style: {
|