@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/_mysheerid-preview.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.125.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1758296420144
|
|
9
|
+
* BUILD_DATE: Fri Sep 19 2025 15:40:20 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: cac90f941c49a7ba3b398276d9e91aaa5800e9e0
|
|
11
11
|
*/
|
|
12
12
|
var mk = Object.defineProperty;
|
|
13
13
|
var hk = (e, t, r) => t in e ? mk(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
@@ -158,7 +158,7 @@ const yk = (e) => e && e.stack && e.message, Cd = (...e) => {
|
|
|
158
158
|
locale: Le(() => o.programTheme.intl.locale),
|
|
159
159
|
isTestMode: Le(() => o.programTheme.isTestMode),
|
|
160
160
|
openOrgSearchEnabled: Le(() => o.programTheme.openOrgSearchEnabled),
|
|
161
|
-
jslibVerActual: Le(() => "2.
|
|
161
|
+
jslibVerActual: Le(() => "2.125.0", "?"),
|
|
162
162
|
...r
|
|
163
163
|
};
|
|
164
164
|
}
|
|
@@ -501,8 +501,8 @@ var xE = { exports: {} };
|
|
|
501
501
|
v.push(M), y.push(T);
|
|
502
502
|
}
|
|
503
503
|
r(M, n) && M.forEach(function(oe, W) {
|
|
504
|
-
var ce = I(W, N - 1),
|
|
505
|
-
T.set(ce,
|
|
504
|
+
var ce = I(W, N - 1), Z = I(oe, N - 1);
|
|
505
|
+
T.set(ce, Z);
|
|
506
506
|
}), r(M, a) && M.forEach(function(oe) {
|
|
507
507
|
var W = I(oe, N - 1);
|
|
508
508
|
T.add(W);
|
|
@@ -519,9 +519,9 @@ var xE = { exports: {} };
|
|
|
519
519
|
}));
|
|
520
520
|
}
|
|
521
521
|
if (w)
|
|
522
|
-
for (var
|
|
523
|
-
var
|
|
524
|
-
G && G.enumerable || (T[
|
|
522
|
+
for (var X = Object.getOwnPropertyNames(M), U = 0; U < X.length; U++) {
|
|
523
|
+
var Q = X[U], G = Object.getOwnPropertyDescriptor(M, Q);
|
|
524
|
+
G && G.enumerable || (T[Q] = I(M[Q], N - 1), Object.defineProperty(T, Q, {
|
|
525
525
|
enumerable: !1
|
|
526
526
|
}));
|
|
527
527
|
}
|
|
@@ -2664,7 +2664,7 @@ These messages will override existing messages of the same key for "en-US" local
|
|
|
2664
2664
|
}, kE = () => `${Be().restApi.serviceUrl}${Be().restApi.resources.verification}`, TA = (e) => `${kE()}${e}`, PA = () => kE(), RA = (e, t = null) => {
|
|
2665
2665
|
const r = `${Be().restApi.serviceUrl}${Be().restApi.resources.program.base}${e}/${Be().restApi.resources.program.theme}`;
|
|
2666
2666
|
return t ? `${r}?locale=${t}` : `${r}`;
|
|
2667
|
-
}, NA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, kA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, AE = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, AA = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, AW = (e, t, r) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Ly = () => "2.
|
|
2667
|
+
}, NA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, kA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, AE = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, AA = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, AW = (e, t, r) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Ly = () => "2.125.0", _A = () => window.location.href, _E = () => {
|
|
2668
2668
|
try {
|
|
2669
2669
|
const e = new URLSearchParams(window.location.search);
|
|
2670
2670
|
if (e.get(Co))
|
|
@@ -5286,9 +5286,9 @@ var dx = { exports: {} };
|
|
|
5286
5286
|
b(z(_));
|
|
5287
5287
|
}, G = function(b) {
|
|
5288
5288
|
b(!!window.HTMLElement.prototype.addBehavior);
|
|
5289
|
-
},
|
|
5289
|
+
}, X = function(b) {
|
|
5290
5290
|
b(!!window.openDatabase);
|
|
5291
|
-
},
|
|
5291
|
+
}, Q = function(b, _) {
|
|
5292
5292
|
b(le(_));
|
|
5293
5293
|
}, oe = function(b, _) {
|
|
5294
5294
|
b(Ee(_));
|
|
@@ -5300,7 +5300,7 @@ var dx = { exports: {} };
|
|
|
5300
5300
|
return;
|
|
5301
5301
|
}
|
|
5302
5302
|
b(_.NOT_AVAILABLE);
|
|
5303
|
-
},
|
|
5303
|
+
}, Z = function(b, _) {
|
|
5304
5304
|
if (wr()) {
|
|
5305
5305
|
b(Ce());
|
|
5306
5306
|
return;
|
|
@@ -5314,7 +5314,7 @@ var dx = { exports: {} };
|
|
|
5314
5314
|
b();
|
|
5315
5315
|
}, ee = function(b) {
|
|
5316
5316
|
b(Ie());
|
|
5317
|
-
},
|
|
5317
|
+
}, Y = function(b) {
|
|
5318
5318
|
b(ke());
|
|
5319
5319
|
}, q = function(b) {
|
|
5320
5320
|
b(at());
|
|
@@ -6158,16 +6158,16 @@ var dx = { exports: {} };
|
|
|
6158
6158
|
{ key: "localStorage", getData: se },
|
|
6159
6159
|
{ key: "indexedDb", getData: he },
|
|
6160
6160
|
{ key: "addBehavior", getData: G },
|
|
6161
|
-
{ key: "openDatabase", getData:
|
|
6162
|
-
{ key: "cpuClass", getData:
|
|
6161
|
+
{ key: "openDatabase", getData: X },
|
|
6162
|
+
{ key: "cpuClass", getData: Q },
|
|
6163
6163
|
{ key: "platform", getData: oe },
|
|
6164
6164
|
{ key: "doNotTrack", getData: W },
|
|
6165
6165
|
{ key: "plugins", getData: Ge },
|
|
6166
6166
|
{ key: "canvas", getData: ce },
|
|
6167
|
-
{ key: "webgl", getData:
|
|
6167
|
+
{ key: "webgl", getData: Z },
|
|
6168
6168
|
{ key: "webglVendorAndRenderer", getData: J },
|
|
6169
6169
|
{ key: "adBlock", getData: ee },
|
|
6170
|
-
{ key: "hasLiedLanguages", getData:
|
|
6170
|
+
{ key: "hasLiedLanguages", getData: Y },
|
|
6171
6171
|
{ key: "hasLiedResolution", getData: q },
|
|
6172
6172
|
{ key: "hasLiedOs", getData: P },
|
|
6173
6173
|
{ key: "hasLiedBrowser", getData: Me },
|
|
@@ -7566,11 +7566,11 @@ var f = Rx.exports, jx = { exports: {} }, cn = {}, Vx = { exports: {} }, Bx = {}
|
|
|
7566
7566
|
*/
|
|
7567
7567
|
(function(e) {
|
|
7568
7568
|
function t(W, ce) {
|
|
7569
|
-
var
|
|
7569
|
+
var Z = W.length;
|
|
7570
7570
|
W.push(ce);
|
|
7571
|
-
e: for (; 0 <
|
|
7572
|
-
var J =
|
|
7573
|
-
if (0 < a(ee, ce)) W[J] = ce, W[
|
|
7571
|
+
e: for (; 0 < Z; ) {
|
|
7572
|
+
var J = Z - 1 >>> 1, ee = W[J];
|
|
7573
|
+
if (0 < a(ee, ce)) W[J] = ce, W[Z] = ee, Z = J;
|
|
7574
7574
|
else break e;
|
|
7575
7575
|
}
|
|
7576
7576
|
}
|
|
@@ -7579,21 +7579,21 @@ var f = Rx.exports, jx = { exports: {} }, cn = {}, Vx = { exports: {} }, Bx = {}
|
|
|
7579
7579
|
}
|
|
7580
7580
|
function n(W) {
|
|
7581
7581
|
if (W.length === 0) return null;
|
|
7582
|
-
var ce = W[0],
|
|
7583
|
-
if (
|
|
7584
|
-
W[0] =
|
|
7585
|
-
e: for (var J = 0, ee = W.length,
|
|
7582
|
+
var ce = W[0], Z = W.pop();
|
|
7583
|
+
if (Z !== ce) {
|
|
7584
|
+
W[0] = Z;
|
|
7585
|
+
e: for (var J = 0, ee = W.length, Y = ee >>> 1; J < Y; ) {
|
|
7586
7586
|
var q = 2 * (J + 1) - 1, P = W[q], Me = q + 1, Se = W[Me];
|
|
7587
|
-
if (0 > a(P,
|
|
7588
|
-
else if (Me < ee && 0 > a(Se,
|
|
7587
|
+
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);
|
|
7588
|
+
else if (Me < ee && 0 > a(Se, Z)) W[J] = Se, W[Me] = Z, J = Me;
|
|
7589
7589
|
else break e;
|
|
7590
7590
|
}
|
|
7591
7591
|
}
|
|
7592
7592
|
return ce;
|
|
7593
7593
|
}
|
|
7594
7594
|
function a(W, ce) {
|
|
7595
|
-
var
|
|
7596
|
-
return
|
|
7595
|
+
var Z = W.sortIndex - ce.sortIndex;
|
|
7596
|
+
return Z !== 0 ? Z : W.id - ce.id;
|
|
7597
7597
|
}
|
|
7598
7598
|
if (typeof performance == "object" && typeof performance.now == "function") {
|
|
7599
7599
|
var o = performance;
|
|
@@ -7617,7 +7617,7 @@ var f = Rx.exports, jx = { exports: {} }, cn = {}, Vx = { exports: {} }, Bx = {}
|
|
|
7617
7617
|
}
|
|
7618
7618
|
}
|
|
7619
7619
|
function I(W) {
|
|
7620
|
-
if (h = !1, S(W), !g) if (r(l) !== null) g = !0,
|
|
7620
|
+
if (h = !1, S(W), !g) if (r(l) !== null) g = !0, Q(M);
|
|
7621
7621
|
else {
|
|
7622
7622
|
var ce = r(u);
|
|
7623
7623
|
ce !== null && oe(I, ce.startTime - W);
|
|
@@ -7625,7 +7625,7 @@ var f = Rx.exports, jx = { exports: {} }, cn = {}, Vx = { exports: {} }, Bx = {}
|
|
|
7625
7625
|
}
|
|
7626
7626
|
function M(W, ce) {
|
|
7627
7627
|
g = !1, h && (h = !1, v(O), O = -1), m = !0;
|
|
7628
|
-
var
|
|
7628
|
+
var Z = p;
|
|
7629
7629
|
try {
|
|
7630
7630
|
for (S(ce), d = r(l); d !== null && (!(d.expirationTime > ce) || W && !te()); ) {
|
|
7631
7631
|
var J = d.callback;
|
|
@@ -7636,14 +7636,14 @@ var f = Rx.exports, jx = { exports: {} }, cn = {}, Vx = { exports: {} }, Bx = {}
|
|
|
7636
7636
|
} else n(l);
|
|
7637
7637
|
d = r(l);
|
|
7638
7638
|
}
|
|
7639
|
-
if (d !== null) var
|
|
7639
|
+
if (d !== null) var Y = !0;
|
|
7640
7640
|
else {
|
|
7641
7641
|
var q = r(u);
|
|
7642
|
-
q !== null && oe(I, q.startTime - ce),
|
|
7642
|
+
q !== null && oe(I, q.startTime - ce), Y = !1;
|
|
7643
7643
|
}
|
|
7644
|
-
return
|
|
7644
|
+
return Y;
|
|
7645
7645
|
} finally {
|
|
7646
|
-
d = null, p =
|
|
7646
|
+
d = null, p = Z, m = !1;
|
|
7647
7647
|
}
|
|
7648
7648
|
}
|
|
7649
7649
|
var N = !1, T = null, O = -1, A = 5, U = -1;
|
|
@@ -7667,14 +7667,14 @@ var f = Rx.exports, jx = { exports: {} }, cn = {}, Vx = { exports: {} }, Bx = {}
|
|
|
7667
7667
|
y(se);
|
|
7668
7668
|
};
|
|
7669
7669
|
else if (typeof MessageChannel < "u") {
|
|
7670
|
-
var G = new MessageChannel(),
|
|
7670
|
+
var G = new MessageChannel(), X = G.port2;
|
|
7671
7671
|
G.port1.onmessage = se, he = function() {
|
|
7672
|
-
|
|
7672
|
+
X.postMessage(null);
|
|
7673
7673
|
};
|
|
7674
7674
|
} else he = function() {
|
|
7675
7675
|
w(se, 0);
|
|
7676
7676
|
};
|
|
7677
|
-
function
|
|
7677
|
+
function Q(W) {
|
|
7678
7678
|
T = W, N || (N = !0, he());
|
|
7679
7679
|
}
|
|
7680
7680
|
function oe(W, ce) {
|
|
@@ -7685,7 +7685,7 @@ var f = Rx.exports, jx = { exports: {} }, cn = {}, Vx = { exports: {} }, Bx = {}
|
|
|
7685
7685
|
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) {
|
|
7686
7686
|
W.callback = null;
|
|
7687
7687
|
}, e.unstable_continueExecution = function() {
|
|
7688
|
-
g || m || (g = !0,
|
|
7688
|
+
g || m || (g = !0, Q(M));
|
|
7689
7689
|
}, e.unstable_forceFrameRate = function(W) {
|
|
7690
7690
|
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;
|
|
7691
7691
|
}, e.unstable_getCurrentPriorityLevel = function() {
|
|
@@ -7702,12 +7702,12 @@ var f = Rx.exports, jx = { exports: {} }, cn = {}, Vx = { exports: {} }, Bx = {}
|
|
|
7702
7702
|
default:
|
|
7703
7703
|
ce = p;
|
|
7704
7704
|
}
|
|
7705
|
-
var
|
|
7705
|
+
var Z = p;
|
|
7706
7706
|
p = ce;
|
|
7707
7707
|
try {
|
|
7708
7708
|
return W();
|
|
7709
7709
|
} finally {
|
|
7710
|
-
p =
|
|
7710
|
+
p = Z;
|
|
7711
7711
|
}
|
|
7712
7712
|
}, e.unstable_pauseExecution = function() {
|
|
7713
7713
|
}, e.unstable_requestPaint = function() {
|
|
@@ -7722,16 +7722,16 @@ var f = Rx.exports, jx = { exports: {} }, cn = {}, Vx = { exports: {} }, Bx = {}
|
|
|
7722
7722
|
default:
|
|
7723
7723
|
W = 3;
|
|
7724
7724
|
}
|
|
7725
|
-
var
|
|
7725
|
+
var Z = p;
|
|
7726
7726
|
p = W;
|
|
7727
7727
|
try {
|
|
7728
7728
|
return ce();
|
|
7729
7729
|
} finally {
|
|
7730
|
-
p =
|
|
7730
|
+
p = Z;
|
|
7731
7731
|
}
|
|
7732
|
-
}, e.unstable_scheduleCallback = function(W, ce,
|
|
7732
|
+
}, e.unstable_scheduleCallback = function(W, ce, Z) {
|
|
7733
7733
|
var J = e.unstable_now();
|
|
7734
|
-
switch (typeof
|
|
7734
|
+
switch (typeof Z == "object" && Z !== null ? (Z = Z.delay, Z = typeof Z == "number" && 0 < Z ? J + Z : J) : Z = J, W) {
|
|
7735
7735
|
case 1:
|
|
7736
7736
|
var ee = -1;
|
|
7737
7737
|
break;
|
|
@@ -7747,16 +7747,16 @@ var f = Rx.exports, jx = { exports: {} }, cn = {}, Vx = { exports: {} }, Bx = {}
|
|
|
7747
7747
|
default:
|
|
7748
7748
|
ee = 5e3;
|
|
7749
7749
|
}
|
|
7750
|
-
return ee =
|
|
7750
|
+
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;
|
|
7751
7751
|
}, e.unstable_shouldYield = te, e.unstable_wrapCallback = function(W) {
|
|
7752
7752
|
var ce = p;
|
|
7753
7753
|
return function() {
|
|
7754
|
-
var
|
|
7754
|
+
var Z = p;
|
|
7755
7755
|
p = ce;
|
|
7756
7756
|
try {
|
|
7757
7757
|
return W.apply(this, arguments);
|
|
7758
7758
|
} finally {
|
|
7759
|
-
p =
|
|
7759
|
+
p = Z;
|
|
7760
7760
|
}
|
|
7761
7761
|
};
|
|
7762
7762
|
};
|
|
@@ -13705,21 +13705,21 @@ function vj(e, t, r, {
|
|
|
13705
13705
|
} = T, Ke = ui(T, dj);
|
|
13706
13706
|
return [T.context, Fe, Ke];
|
|
13707
13707
|
}, [T]), te = C.useMemo(() => O && O.Consumer && // @ts-ignore
|
|
13708
|
-
J2.isContextConsumer(/* @__PURE__ */ C.createElement(O.Consumer, null)) ? O : c, [O, c]), se = C.useContext(te), he = !!T.store && !!T.store.getState && !!T.store.dispatch, G = !!se && !!se.store,
|
|
13708
|
+
J2.isContextConsumer(/* @__PURE__ */ C.createElement(O.Consumer, null)) ? O : c, [O, c]), se = C.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 = C.useMemo(() => rj(X.dispatch, S), [X]), [W, ce] = C.useMemo(() => {
|
|
13709
13709
|
if (!g) return pj;
|
|
13710
|
-
const Fe = nT(
|
|
13710
|
+
const Fe = nT(X, he ? void 0 : se.subscription), Ke = Fe.notifyNestedSubs.bind(Fe);
|
|
13711
13711
|
return [Fe, Ke];
|
|
13712
|
-
}, [
|
|
13712
|
+
}, [X, he, se]), Z = C.useMemo(() => he ? se : It({}, se, {
|
|
13713
13713
|
subscription: W
|
|
13714
|
-
}), [he, se, W]), J = C.useRef(), ee = C.useRef(U),
|
|
13714
|
+
}), [he, se, W]), J = C.useRef(), ee = C.useRef(U), Y = C.useRef(), q = C.useRef(!1);
|
|
13715
13715
|
C.useRef(!1);
|
|
13716
13716
|
const P = C.useRef(!1), Me = C.useRef();
|
|
13717
13717
|
af(() => (P.current = !0, () => {
|
|
13718
13718
|
P.current = !1;
|
|
13719
13719
|
}), []);
|
|
13720
|
-
const Se = C.useMemo(() => () =>
|
|
13720
|
+
const Se = C.useMemo(() => () => Y.current && U === ee.current ? Y.current : oe(X.getState(), U), [X, U]), Re = C.useMemo(() => (Ke) => W ? gj(
|
|
13721
13721
|
g,
|
|
13722
|
-
|
|
13722
|
+
X,
|
|
13723
13723
|
W,
|
|
13724
13724
|
// @ts-ignore
|
|
13725
13725
|
oe,
|
|
@@ -13727,12 +13727,12 @@ function vj(e, t, r, {
|
|
|
13727
13727
|
J,
|
|
13728
13728
|
q,
|
|
13729
13729
|
P,
|
|
13730
|
-
|
|
13730
|
+
Y,
|
|
13731
13731
|
ce,
|
|
13732
13732
|
Ke
|
|
13733
13733
|
) : () => {
|
|
13734
13734
|
}, [W]);
|
|
13735
|
-
mj(hj, [ee, J, q, U,
|
|
13735
|
+
mj(hj, [ee, J, q, U, Y, ce]);
|
|
13736
13736
|
let Ge;
|
|
13737
13737
|
try {
|
|
13738
13738
|
Ge = oT(
|
|
@@ -13741,7 +13741,7 @@ function vj(e, t, r, {
|
|
|
13741
13741
|
// TODO This is incredibly hacky. We've already processed the store update and calculated new child props,
|
|
13742
13742
|
// TODO and we're just passing that through so it triggers a re-render for us rather than relying on `uSES`.
|
|
13743
13743
|
Se,
|
|
13744
|
-
|
|
13744
|
+
Q ? () => oe(Q(), U) : Se
|
|
13745
13745
|
);
|
|
13746
13746
|
} catch (Fe) {
|
|
13747
13747
|
throw Me.current && (Fe.message += `
|
|
@@ -13751,7 +13751,7 @@ ${Me.current.stack}
|
|
|
13751
13751
|
`), Fe;
|
|
13752
13752
|
}
|
|
13753
13753
|
af(() => {
|
|
13754
|
-
Me.current = void 0,
|
|
13754
|
+
Me.current = void 0, Y.current = void 0, J.current = Ge;
|
|
13755
13755
|
});
|
|
13756
13756
|
const $e = C.useMemo(() => (
|
|
13757
13757
|
// @ts-ignore
|
|
@@ -13760,8 +13760,8 @@ ${Me.current.stack}
|
|
|
13760
13760
|
}))
|
|
13761
13761
|
), [A, w, Ge]);
|
|
13762
13762
|
return C.useMemo(() => g ? /* @__PURE__ */ C.createElement(te.Provider, {
|
|
13763
|
-
value:
|
|
13764
|
-
}, $e) : $e, [te, $e,
|
|
13763
|
+
value: Z
|
|
13764
|
+
}, $e) : $e, [te, $e, Z]);
|
|
13765
13765
|
}
|
|
13766
13766
|
const N = C.memo(I);
|
|
13767
13767
|
if (N.WrappedComponent = w, N.displayName = I.displayName = y, l) {
|
|
@@ -14014,7 +14014,7 @@ const Cj = function() {
|
|
|
14014
14014
|
options: E.options,
|
|
14015
14015
|
location: j()
|
|
14016
14016
|
};
|
|
14017
|
-
}, G = "selectordinal",
|
|
14017
|
+
}, G = "selectordinal", X = { type: "literal", value: "selectordinal", description: '"selectordinal"' }, Q = function(E) {
|
|
14018
14018
|
return {
|
|
14019
14019
|
type: E.type,
|
|
14020
14020
|
ordinal: !0,
|
|
@@ -14028,14 +14028,14 @@ const Cj = function() {
|
|
|
14028
14028
|
options: E,
|
|
14029
14029
|
location: j()
|
|
14030
14030
|
};
|
|
14031
|
-
},
|
|
14031
|
+
}, Z = "=", J = { type: "literal", value: "=", description: '"="' }, ee = function(E, k) {
|
|
14032
14032
|
return {
|
|
14033
14033
|
type: "optionalFormatPattern",
|
|
14034
14034
|
selector: E,
|
|
14035
14035
|
value: k,
|
|
14036
14036
|
location: j()
|
|
14037
14037
|
};
|
|
14038
|
-
},
|
|
14038
|
+
}, Y = "offset:", q = { type: "literal", value: "offset:", description: '"offset:"' }, P = function(E) {
|
|
14039
14039
|
return E;
|
|
14040
14040
|
}, Me = function(E, k) {
|
|
14041
14041
|
return {
|
|
@@ -14192,7 +14192,7 @@ const Cj = function() {
|
|
|
14192
14192
|
}
|
|
14193
14193
|
function Xn() {
|
|
14194
14194
|
var E, k, K, ne, ge, Te;
|
|
14195
|
-
return E = $, n.substr($, 13) === G ? (k = G, $ += 13) : (k = o, b === 0 && ae(
|
|
14195
|
+
return E = $, n.substr($, 13) === G ? (k = G, $ += 13) : (k = o, b === 0 && ae(X)), k !== o ? (K = x(), K !== o ? (n.charCodeAt($) === 44 ? (ne = h, $++) : (ne = o, b === 0 && ae(w)), ne !== o ? (ge = x(), 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;
|
|
14196
14196
|
}
|
|
14197
14197
|
function Wr() {
|
|
14198
14198
|
var E, k, K, ne, ge, Te, Ue;
|
|
@@ -14218,7 +14218,7 @@ const Cj = function() {
|
|
|
14218
14218
|
}
|
|
14219
14219
|
function Go() {
|
|
14220
14220
|
var E, k, K, ne;
|
|
14221
|
-
return E = $, k = $, n.charCodeAt($) === 61 ? (K =
|
|
14221
|
+
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;
|
|
14222
14222
|
}
|
|
14223
14223
|
function Qn() {
|
|
14224
14224
|
var E, k, K, ne, ge, Te, Ue, Xe, ct;
|
|
@@ -14226,7 +14226,7 @@ const Cj = function() {
|
|
|
14226
14226
|
}
|
|
14227
14227
|
function Rs() {
|
|
14228
14228
|
var E, k, K, ne;
|
|
14229
|
-
return E = $, n.substr($, 7) ===
|
|
14229
|
+
return E = $, n.substr($, 7) === Y ? (k = Y, $ += 7) : (k = o, b === 0 && ae(q)), k !== o ? (K = x(), K !== o ? (ne = ie(), ne !== o ? (dt = E, k = P(ne), E = k) : ($ = E, E = o)) : ($ = E, E = o)) : ($ = E, E = o), E;
|
|
14230
14230
|
}
|
|
14231
14231
|
function hn() {
|
|
14232
14232
|
var E, k, K, ne, ge;
|
|
@@ -16633,41 +16633,41 @@ var AT = { initialize: function(e, t, r, n, a) {
|
|
|
16633
16633
|
let d = e, p = l.hash;
|
|
16634
16634
|
const m = v4(n.localStorage, o), g = NT(n, d, l), h = l.sendEvents && !l.diagnosticOptOut, w = h ? Sh.DiagnosticId(d) : null, v = h ? Sh.DiagnosticsAccumulator((/* @__PURE__ */ new Date()).getTime()) : null, y = h ? Sh.DiagnosticsManager(n, m, v, g, d, l, w) : null, S = E4(n, l, d, v), I = l.eventProcessor || m4(n, l, d, v, s, g), M = P4(n, l, d);
|
|
16635
16635
|
let N, T, O, A = {}, U = l.streaming, te = !1, se = !1, he = !0;
|
|
16636
|
-
const G = l.stateProvider,
|
|
16636
|
+
const G = l.stateProvider, X = R4(null, function(R) {
|
|
16637
16637
|
(function(D) {
|
|
16638
16638
|
G || D && W({ kind: "identify", context: D, creationDate: (/* @__PURE__ */ new Date()).getTime() });
|
|
16639
|
-
})(R), u.hasListeners(Tc.clientIdentityChanged) && u.onIdentityChanged(
|
|
16640
|
-
}),
|
|
16639
|
+
})(R), u.hasListeners(Tc.clientIdentityChanged) && u.onIdentityChanged(X.getContext());
|
|
16640
|
+
}), Q = new A4(m), oe = m.isEnabled() ? y4(m, d, p, X) : null;
|
|
16641
16641
|
function W(R) {
|
|
16642
16642
|
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)));
|
|
16643
16643
|
}
|
|
16644
16644
|
function ce(R, D) {
|
|
16645
16645
|
u.hasListeners(Tc.flagDetailChanged) && u.onFlagChanged(R.key, q(D));
|
|
16646
16646
|
}
|
|
16647
|
-
function
|
|
16647
|
+
function Z() {
|
|
16648
16648
|
u.hasListeners(Tc.flagDetailsChanged) && u.onFlags(Object.entries(A).map(([R, D]) => ({ key: R, detail: q(D) })).reduce((R, D) => (R[D.key] = D.detail, R), {}));
|
|
16649
16649
|
}
|
|
16650
16650
|
function J(R, D, z, pe) {
|
|
16651
|
-
const le =
|
|
16651
|
+
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];
|
|
16652
16652
|
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);
|
|
16653
16653
|
}
|
|
16654
16654
|
function ee(R) {
|
|
16655
16655
|
return j4(R, !1) ? Promise.resolve(R) : Promise.reject(new jt.LDInvalidUserError(Ye.invalidContext()));
|
|
16656
16656
|
}
|
|
16657
|
-
function
|
|
16657
|
+
function Y(R, D, z, pe, le, Ee) {
|
|
16658
16658
|
var ve;
|
|
16659
16659
|
let me, Ne;
|
|
16660
16660
|
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((Ce) => {
|
|
16661
|
-
|
|
16661
|
+
Y(Ce, void 0, z, !1, !1, !1);
|
|
16662
16662
|
})), J(R, me, D, pe)), !le && Ee && function(Ce, He) {
|
|
16663
|
-
u.hasListeners(Tc.flagUsed) && u.onFlagUsed(Ce, He,
|
|
16663
|
+
u.hasListeners(Tc.flagUsed) && u.onFlagUsed(Ce, He, X.getContext());
|
|
16664
16664
|
}(R, me), me;
|
|
16665
16665
|
}
|
|
16666
16666
|
function q(R) {
|
|
16667
16667
|
return { value: R.value, variationIndex: R.variation === void 0 ? null : R.variation, reason: R.reason || null };
|
|
16668
16668
|
}
|
|
16669
16669
|
function P() {
|
|
16670
|
-
if (T = !0, !
|
|
16670
|
+
if (T = !0, !X.getContext()) return;
|
|
16671
16671
|
const R = (D) => {
|
|
16672
16672
|
try {
|
|
16673
16673
|
return JSON.parse(D);
|
|
@@ -16675,11 +16675,11 @@ var AT = { initialize: function(e, t, r, n, a) {
|
|
|
16675
16675
|
return void s.maybeReportError(new jt.LDInvalidDataError(Ye.invalidData()));
|
|
16676
16676
|
}
|
|
16677
16677
|
};
|
|
16678
|
-
S.connect(
|
|
16678
|
+
S.connect(X.getContext(), p, { ping: function() {
|
|
16679
16679
|
o.debug(Ye.debugStreamPing());
|
|
16680
|
-
const D =
|
|
16680
|
+
const D = X.getContext();
|
|
16681
16681
|
M.fetchFlagSettings(D, p).then((z) => {
|
|
16682
|
-
Qe.deepEquals(D,
|
|
16682
|
+
Qe.deepEquals(D, X.getContext()) && Se(z || {});
|
|
16683
16683
|
}).catch((z) => {
|
|
16684
16684
|
s.maybeReportError(new jt.LDFlagFetchError(Ye.errorFetchingFlags(z)));
|
|
16685
16685
|
});
|
|
@@ -16714,7 +16714,7 @@ var AT = { initialize: function(e, t, r, n, a) {
|
|
|
16714
16714
|
if (!R) return Promise.resolve();
|
|
16715
16715
|
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 }));
|
|
16716
16716
|
for (const z in R) Qe.objectHasOwnProperty(R, z) && R[z] && (!A[z] || A[z].deleted) && (D[z] = { current: q(R[z]) });
|
|
16717
|
-
return A = { ...R },
|
|
16717
|
+
return A = { ...R }, Z(), Re(D).catch(() => {
|
|
16718
16718
|
});
|
|
16719
16719
|
}
|
|
16720
16720
|
function Re(R) {
|
|
@@ -16750,19 +16750,19 @@ var AT = { initialize: function(e, t, r, n, a) {
|
|
|
16750
16750
|
}(l.bootstrap)), G) {
|
|
16751
16751
|
const R = G.getInitialState();
|
|
16752
16752
|
R ? qe(R) : G.on("init", qe), G.on("update", function(D) {
|
|
16753
|
-
D.context &&
|
|
16753
|
+
D.context && X.setContext(D.context), D.flags && Se(D.flags);
|
|
16754
16754
|
});
|
|
16755
16755
|
} else (function() {
|
|
16756
|
-
return e ?
|
|
16756
|
+
return e ? Q.processContext(t).then(ee).then((R) => (X.setContext(R), typeof l.bootstrap == "object" ? Fe() : N ? oe.loadFlags().then((D) => D == null ? (A = {}, M.fetchFlagSettings(X.getContext(), p).then((z) => Se(z || {})).then(Fe).catch((z) => {
|
|
16757
16757
|
Ke(new jt.LDFlagFetchError(Ye.errorFetchingFlags(z)));
|
|
16758
|
-
})) : (A = D, Qe.onNextTick(Fe), M.fetchFlagSettings(
|
|
16759
|
-
A = D || {},
|
|
16758
|
+
})) : (A = D, Qe.onNextTick(Fe), M.fetchFlagSettings(X.getContext(), p).then((z) => Se(z)).catch((z) => s.maybeReportError(z)))) : M.fetchFlagSettings(X.getContext(), p).then((D) => {
|
|
16759
|
+
A = D || {}, Z(), Fe();
|
|
16760
16760
|
}).catch((D) => {
|
|
16761
16761
|
A = {}, Ke(D);
|
|
16762
16762
|
}))) : Promise.reject(new jt.LDInvalidEnvironmentIdError(Ye.environmentNotSpecified()));
|
|
16763
16763
|
})().catch(Ke);
|
|
16764
16764
|
function qe(R) {
|
|
16765
|
-
d = R.environment,
|
|
16765
|
+
d = R.environment, X.setContext(R.context), A = { ...R.flags }, Qe.onNextTick(Fe);
|
|
16766
16766
|
}
|
|
16767
16767
|
function Fe() {
|
|
16768
16768
|
o.info(Ye.clientInitialized()), te = !0, Ge(), i.signalSuccess();
|
|
@@ -16786,20 +16786,20 @@ var AT = { initialize: function(e, t, r, n, a) {
|
|
|
16786
16786
|
if (se) return Qe.wrapPromiseCallback(Promise.resolve({}), z);
|
|
16787
16787
|
if (G) return o.warn(Ye.identifyDisabled()), Qe.wrapPromiseCallback(Promise.resolve(Qe.transformVersionedValuesToValues(A)), z);
|
|
16788
16788
|
const pe = N && oe ? oe.clearFlags() : Promise.resolve();
|
|
16789
|
-
return Qe.wrapPromiseCallback(pe.then(() =>
|
|
16789
|
+
return Qe.wrapPromiseCallback(pe.then(() => Q.processContext(R)).then(ee).then((le) => M.fetchFlagSettings(le, D).then((Ee) => {
|
|
16790
16790
|
const me = Qe.transformVersionedValuesToValues(Ee);
|
|
16791
|
-
return
|
|
16791
|
+
return X.setContext(le), p = D, Ee ? Se(Ee).then(() => me) : me;
|
|
16792
16792
|
})).then((le) => (T && P(), le)).catch((le) => (s.maybeReportError(le), Promise.reject(le))), z);
|
|
16793
16793
|
}, getContext: function() {
|
|
16794
|
-
return
|
|
16794
|
+
return X.getContext();
|
|
16795
16795
|
}, variation: function(R, D) {
|
|
16796
|
-
return
|
|
16796
|
+
return Y(R, D, !0, !1, !1, !0).value;
|
|
16797
16797
|
}, variationDetail: function(R, D) {
|
|
16798
|
-
return
|
|
16798
|
+
return Y(R, D, !0, !0, !1, !0);
|
|
16799
16799
|
}, track: function(R, D, z) {
|
|
16800
16800
|
if (typeof R != "string") return void s.maybeReportError(new jt.LDInvalidEventKeyError(Ye.unknownCustomEventKey(R)));
|
|
16801
16801
|
z !== void 0 && typeof z != "number" && o.warn(Ye.invalidMetricValue(typeof z)), n.customEventFilter && !n.customEventFilter(R) && o.warn(Ye.unknownCustomEventKey(R));
|
|
16802
|
-
const pe =
|
|
16802
|
+
const pe = X.getContext(), le = { kind: "custom", key: R, context: pe, url: n.getCurrentUrl(), creationDate: (/* @__PURE__ */ new Date()).getTime() };
|
|
16803
16803
|
pe && pe.anonymous && (le.contextKind = pe.anonymous ? "anonymousUser" : "user"), D != null && (le.data = D), z != null && (le.metricValue = z), W(le);
|
|
16804
16804
|
}, on: function(R, D, z) {
|
|
16805
16805
|
$e(R) ? (O = !0, te && Ge(), s.on(R, D, z)) : s.on(...arguments);
|
|
@@ -16818,7 +16818,7 @@ var AT = { initialize: function(e, t, r, n, a) {
|
|
|
16818
16818
|
}, allFlags: function() {
|
|
16819
16819
|
const R = {};
|
|
16820
16820
|
if (!A) return R;
|
|
16821
|
-
for (const D in A) Qe.objectHasOwnProperty(A, D) && !A[D].deleted && (R[D] =
|
|
16821
|
+
for (const D in A) Qe.objectHasOwnProperty(A, D) && !A[D].deleted && (R[D] = Y(D, null, !l.sendEventsOnlyForVariation, !1, !0, !1).value);
|
|
16822
16822
|
return R;
|
|
16823
16823
|
}, close: function(R) {
|
|
16824
16824
|
if (se) return Qe.wrapPromiseCallback(Promise.resolve(), R);
|
|
@@ -16828,7 +16828,7 @@ var AT = { initialize: function(e, t, r, n, a) {
|
|
|
16828
16828
|
if (Me(), y && y.stop(), c) return I.stop(), I.flush();
|
|
16829
16829
|
}).then(D).catch(D);
|
|
16830
16830
|
return Qe.wrapPromiseCallback(z, R);
|
|
16831
|
-
} }, options: l, emitter: s, ident:
|
|
16831
|
+
} }, options: l, emitter: s, ident: X, logger: o, requestor: M, start: function() {
|
|
16832
16832
|
c && (y && y.start(), I.start());
|
|
16833
16833
|
}, enqueueEvent: W, getFlagsInternal: function() {
|
|
16834
16834
|
return A;
|
|
@@ -20711,16 +20711,16 @@ const yM = (e) => typeof e == "object" && e != null && e.nodeType === 1, vM = (e
|
|
|
20711
20711
|
let U = S - T, te = s === "center" ? N + y / 2 - A + O : s === "end" ? I + O : N - A;
|
|
20712
20712
|
const se = [];
|
|
20713
20713
|
for (let he = 0; he < d.length; he++) {
|
|
20714
|
-
const G = d[he], { height:
|
|
20715
|
-
if (S >= 0 && N >= 0 && M <= g && I <= m && (G === c && !Dc(G) || S >= oe && M <= ce && N >=
|
|
20716
|
-
const J = getComputedStyle(G), ee = parseInt(J.borderLeftWidth, 10),
|
|
20714
|
+
const G = d[he], { height: X, width: Q, top: oe, right: W, bottom: ce, left: Z } = G.getBoundingClientRect();
|
|
20715
|
+
if (S >= 0 && N >= 0 && M <= g && I <= m && (G === c && !Dc(G) || S >= oe && M <= ce && N >= Z && I <= W)) return se;
|
|
20716
|
+
const J = getComputedStyle(G), ee = parseInt(J.borderLeftWidth, 10), Y = parseInt(J.borderTopWidth, 10), q = parseInt(J.borderRightWidth, 10), P = parseInt(J.borderBottomWidth, 10);
|
|
20717
20717
|
let Me = 0, Se = 0;
|
|
20718
|
-
const Re = "offsetWidth" in G ? G.offsetWidth - G.clientWidth - ee - q : 0, Ge = "offsetHeight" in G ? G.offsetHeight - G.clientHeight -
|
|
20719
|
-
if (c === G) Me = Lc(w, w + g, g,
|
|
20718
|
+
const Re = "offsetWidth" in G ? G.offsetWidth - G.clientWidth - ee - q : 0, Ge = "offsetHeight" in G ? G.offsetHeight - G.clientHeight - Y - P : 0, $e = "offsetWidth" in G ? G.offsetWidth === 0 ? 0 : Q / G.offsetWidth : 0, qe = "offsetHeight" in G ? G.offsetHeight === 0 ? 0 : X / G.offsetHeight : 0;
|
|
20719
|
+
if (c === G) Me = Lc(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 : Lc(h, h + m, m, ee, q, h + te, h + te + y, y), Me = Math.max(0, Me + w), Se = Math.max(0, Se + h);
|
|
20720
20720
|
else {
|
|
20721
|
-
Me = Lc(oe, ce,
|
|
20721
|
+
Me = Lc(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 : Lc(Z, W, Q, ee, q + Re, te, te + y, y);
|
|
20722
20722
|
const { scrollLeft: Fe, scrollTop: Ke } = G;
|
|
20723
|
-
Me = qe === 0 ? 0 : Math.max(0, Math.min(Ke + Me / qe, G.scrollHeight -
|
|
20723
|
+
Me = qe === 0 ? 0 : Math.max(0, Math.min(Ke + Me / qe, G.scrollHeight - X / qe + Ge)), Se = $e === 0 ? 0 : Math.max(0, Math.min(Fe + Se / $e, G.scrollWidth - Q / $e + Re)), U += Ke - Me, te += Fe - Se;
|
|
20724
20724
|
}
|
|
20725
20725
|
se.push({ el: G, top: Me, left: Se });
|
|
20726
20726
|
}
|
|
@@ -21490,47 +21490,47 @@ function is(e) {
|
|
|
21490
21490
|
}, [u, a]);
|
|
21491
21491
|
var A = C.useMemo(function() {
|
|
21492
21492
|
return {
|
|
21493
|
-
ArrowDown: function(
|
|
21494
|
-
|
|
21493
|
+
ArrowDown: function(Y) {
|
|
21494
|
+
Y.preventDefault(), l({
|
|
21495
21495
|
type: O0,
|
|
21496
|
-
altKey:
|
|
21496
|
+
altKey: Y.altKey
|
|
21497
21497
|
});
|
|
21498
21498
|
},
|
|
21499
|
-
ArrowUp: function(
|
|
21500
|
-
|
|
21499
|
+
ArrowUp: function(Y) {
|
|
21500
|
+
Y.preventDefault(), l({
|
|
21501
21501
|
type: D0,
|
|
21502
|
-
altKey:
|
|
21502
|
+
altKey: Y.altKey
|
|
21503
21503
|
});
|
|
21504
21504
|
},
|
|
21505
|
-
Home: function(
|
|
21506
|
-
I.current.state.isOpen && (
|
|
21505
|
+
Home: function(Y) {
|
|
21506
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21507
21507
|
type: F0
|
|
21508
21508
|
}));
|
|
21509
21509
|
},
|
|
21510
|
-
End: function(
|
|
21511
|
-
I.current.state.isOpen && (
|
|
21510
|
+
End: function(Y) {
|
|
21511
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21512
21512
|
type: U0
|
|
21513
21513
|
}));
|
|
21514
21514
|
},
|
|
21515
|
-
Escape: function(
|
|
21515
|
+
Escape: function(Y) {
|
|
21516
21516
|
var q = I.current.state;
|
|
21517
|
-
(q.isOpen || q.inputValue || q.selectedItem || q.highlightedIndex > -1) && (
|
|
21517
|
+
(q.isOpen || q.inputValue || q.selectedItem || q.highlightedIndex > -1) && (Y.preventDefault(), l({
|
|
21518
21518
|
type: L0
|
|
21519
21519
|
}));
|
|
21520
21520
|
},
|
|
21521
|
-
Enter: function(
|
|
21521
|
+
Enter: function(Y) {
|
|
21522
21522
|
var q = I.current.state;
|
|
21523
|
-
!q.isOpen ||
|
|
21523
|
+
!q.isOpen || Y.which === 229 || (Y.preventDefault(), l({
|
|
21524
21524
|
type: V0
|
|
21525
21525
|
}));
|
|
21526
21526
|
},
|
|
21527
|
-
PageUp: function(
|
|
21528
|
-
I.current.state.isOpen && (
|
|
21527
|
+
PageUp: function(Y) {
|
|
21528
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21529
21529
|
type: $0
|
|
21530
21530
|
}));
|
|
21531
21531
|
},
|
|
21532
|
-
PageDown: function(
|
|
21533
|
-
I.current.state.isOpen && (
|
|
21532
|
+
PageDown: function(Y) {
|
|
21533
|
+
I.current.state.isOpen && (Y.preventDefault(), l({
|
|
21534
21534
|
type: j0
|
|
21535
21535
|
}));
|
|
21536
21536
|
}
|
|
@@ -21540,8 +21540,8 @@ function is(e) {
|
|
|
21540
21540
|
id: y.labelId,
|
|
21541
21541
|
htmlFor: y.inputId
|
|
21542
21542
|
}, ee);
|
|
21543
|
-
}, [y]), te = C.useCallback(function(ee,
|
|
21544
|
-
var q, P = ee === void 0 ? {} : ee, Me = P.onMouseLeave, Se = P.refKey, Re = Se === void 0 ? "ref" : Se, Ge = P.ref, $e = ui(P, gH), qe =
|
|
21543
|
+
}, [y]), te = C.useCallback(function(ee, Y) {
|
|
21544
|
+
var q, P = ee === void 0 ? {} : ee, Me = P.onMouseLeave, Se = P.refKey, Re = Se === void 0 ? "ref" : Se, Ge = P.ref, $e = ui(P, gH), qe = Y === void 0 ? {} : Y;
|
|
21545
21545
|
return qe.suppressRefError, It((q = {}, q[Re] = Fc(Ge, function(Fe) {
|
|
21546
21546
|
m.current = Fe;
|
|
21547
21547
|
}), q.id = y.menuId, q.role = "listbox", q["aria-labelledby"] = $e && $e["aria-label"] ? void 0 : "" + y.labelId, q.onMouseLeave = wo(Me, function() {
|
|
@@ -21550,7 +21550,7 @@ function is(e) {
|
|
|
21550
21550
|
});
|
|
21551
21551
|
}), q), $e);
|
|
21552
21552
|
}, [l, O, y]), se = C.useCallback(function(ee) {
|
|
21553
|
-
var
|
|
21553
|
+
var Y, q, P = ee === void 0 ? {} : ee, Me = P.item, Se = P.index, Re = P.refKey, Ge = Re === void 0 ? "ref" : Re, $e = P.ref, qe = P.onMouseMove, Fe = P.onMouseDown, Ke = P.onClick;
|
|
21554
21554
|
P.onPress;
|
|
21555
21555
|
var tt = P.disabled, R = ui(P, yH);
|
|
21556
21556
|
tt !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
|
|
@@ -21568,29 +21568,29 @@ function is(e) {
|
|
|
21568
21568
|
}, ke = function(Wt) {
|
|
21569
21569
|
return Wt.preventDefault();
|
|
21570
21570
|
};
|
|
21571
|
-
return It((
|
|
21571
|
+
return It((Y = {}, Y[Ge] = Fc($e, function(at) {
|
|
21572
21572
|
at && (g.current[y.getItemId(me)] = at);
|
|
21573
|
-
}),
|
|
21573
|
+
}), Y["aria-disabled"] = Ne, Y["aria-selected"] = me === pe.highlightedIndex, Y.id = y.getItemId(me), Y.role = "option", Y), !Ne && (q = {}, q[ve] = wo(Ce, Ie), q), {
|
|
21574
21574
|
onMouseMove: wo(qe, He),
|
|
21575
21575
|
onMouseDown: wo(Fe, ke)
|
|
21576
21576
|
}, R);
|
|
21577
21577
|
}, [l, y, I, T, N]), he = C.useCallback(function(ee) {
|
|
21578
|
-
var
|
|
21578
|
+
var Y, q = ee === void 0 ? {} : ee, P = q.onClick;
|
|
21579
21579
|
q.onPress;
|
|
21580
21580
|
var Me = q.refKey, Se = Me === void 0 ? "ref" : Me, Re = q.ref, Ge = ui(q, vH), $e = I.current.state, qe = function() {
|
|
21581
21581
|
l({
|
|
21582
21582
|
type: iR
|
|
21583
21583
|
});
|
|
21584
21584
|
};
|
|
21585
|
-
return It((
|
|
21585
|
+
return It((Y = {}, Y[Se] = Fc(Re, function(Fe) {
|
|
21586
21586
|
w.current = Fe;
|
|
21587
|
-
}),
|
|
21587
|
+
}), Y["aria-controls"] = y.menuId, Y["aria-expanded"] = $e.isOpen, Y.id = y.toggleButtonId, Y.tabIndex = -1, Y), !Ge.disabled && It({}, {
|
|
21588
21588
|
onClick: wo(P, qe)
|
|
21589
21589
|
}), Ge);
|
|
21590
|
-
}, [l, I, y]), G = C.useCallback(function(ee,
|
|
21590
|
+
}, [l, I, y]), G = C.useCallback(function(ee, Y) {
|
|
21591
21591
|
var q, P = ee === void 0 ? {} : ee, Me = P.onKeyDown, Se = P.onChange, Re = P.onInput, Ge = P.onBlur;
|
|
21592
21592
|
P.onChangeText;
|
|
21593
|
-
var $e = P.onClick, qe = P.refKey, Fe = qe === void 0 ? "ref" : qe, Ke = P.ref, tt = ui(P, bH), R =
|
|
21593
|
+
var $e = P.onClick, qe = P.refKey, Fe = qe === void 0 ? "ref" : qe, Ke = P.ref, tt = ui(P, bH), R = Y === void 0 ? {} : Y;
|
|
21594
21594
|
R.suppressRefError;
|
|
21595
21595
|
var D = I.current.state, z = function(He) {
|
|
21596
21596
|
var Ie = q6(He);
|
|
@@ -21620,11 +21620,11 @@ function is(e) {
|
|
|
21620
21620
|
return It((q = {}, q[Fe] = Fc(Ke, function(Ce) {
|
|
21621
21621
|
h.current = Ce;
|
|
21622
21622
|
}), 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);
|
|
21623
|
-
}, [l, y, a, A, I, T, O]),
|
|
21623
|
+
}, [l, y, a, A, I, T, O]), X = C.useCallback(function() {
|
|
21624
21624
|
l({
|
|
21625
21625
|
type: lR
|
|
21626
21626
|
});
|
|
21627
|
-
}, [l]),
|
|
21627
|
+
}, [l]), Q = C.useCallback(function() {
|
|
21628
21628
|
l({
|
|
21629
21629
|
type: cR
|
|
21630
21630
|
});
|
|
@@ -21642,7 +21642,7 @@ function is(e) {
|
|
|
21642
21642
|
type: G0,
|
|
21643
21643
|
selectedItem: ee
|
|
21644
21644
|
});
|
|
21645
|
-
}, [l]),
|
|
21645
|
+
}, [l]), Z = C.useCallback(function(ee) {
|
|
21646
21646
|
l({
|
|
21647
21647
|
type: fR,
|
|
21648
21648
|
inputValue: ee
|
|
@@ -21660,11 +21660,11 @@ function is(e) {
|
|
|
21660
21660
|
getInputProps: G,
|
|
21661
21661
|
getToggleButtonProps: he,
|
|
21662
21662
|
// actions.
|
|
21663
|
-
toggleMenu:
|
|
21663
|
+
toggleMenu: X,
|
|
21664
21664
|
openMenu: oe,
|
|
21665
|
-
closeMenu:
|
|
21665
|
+
closeMenu: Q,
|
|
21666
21666
|
setHighlightedIndex: W,
|
|
21667
|
-
setInputValue:
|
|
21667
|
+
setInputValue: Z,
|
|
21668
21668
|
selectItem: ce,
|
|
21669
21669
|
reset: J,
|
|
21670
21670
|
// state.
|
|
@@ -21780,15 +21780,15 @@ const SH = ({
|
|
|
21780
21780
|
} = is({
|
|
21781
21781
|
id: t,
|
|
21782
21782
|
items: M,
|
|
21783
|
-
onInputValueChange({ inputValue:
|
|
21784
|
-
I(
|
|
21783
|
+
onInputValueChange({ inputValue: X }) {
|
|
21784
|
+
I(X);
|
|
21785
21785
|
},
|
|
21786
|
-
onSelectedItemChange: ({ selectedItem:
|
|
21786
|
+
onSelectedItemChange: ({ selectedItem: X }) => l(X),
|
|
21787
21787
|
itemToString: MM,
|
|
21788
21788
|
selectedItem: d && d.value && d.label ? d : void 0,
|
|
21789
21789
|
defaultHighlightedIndex: 0
|
|
21790
|
-
}), he = (
|
|
21791
|
-
typeof i == "function" && i(
|
|
21790
|
+
}), he = (X) => {
|
|
21791
|
+
typeof i == "function" && i(X);
|
|
21792
21792
|
}, G = C.useRef(null);
|
|
21793
21793
|
return C.useEffect(() => {
|
|
21794
21794
|
Ss(n, G.current);
|
|
@@ -21798,7 +21798,7 @@ const SH = ({
|
|
|
21798
21798
|
{
|
|
21799
21799
|
...N({
|
|
21800
21800
|
ref: G,
|
|
21801
|
-
onKeyDown: (
|
|
21801
|
+
onKeyDown: (X) => he(X),
|
|
21802
21802
|
"aria-labelledby": a
|
|
21803
21803
|
}),
|
|
21804
21804
|
autoFocus: p,
|
|
@@ -21888,29 +21888,29 @@ const CH = ({
|
|
|
21888
21888
|
{ value: "10", label: t.formatHTMLMessage({ id: "dateTime.october", defaultMessage: "October" }) },
|
|
21889
21889
|
{ value: "11", label: t.formatHTMLMessage({ id: "dateTime.november", defaultMessage: "November" }) },
|
|
21890
21890
|
{ value: "12", label: t.formatHTMLMessage({ id: "dateTime.december", defaultMessage: "December" }) }
|
|
21891
|
-
], M = (
|
|
21892
|
-
if (M(v,
|
|
21891
|
+
], M = (Q, oe, W) => (!W || W === "") && (!oe || oe === "") && (!Q || Q === ""), N = (Q) => {
|
|
21892
|
+
if (M(v, Q, S)) {
|
|
21893
21893
|
e("");
|
|
21894
21894
|
return;
|
|
21895
21895
|
}
|
|
21896
|
-
(
|
|
21897
|
-
const oe = Number.parseInt(
|
|
21898
|
-
typeof oe == "number" && oe >= 1 && oe <= 12 ? e(`${v}-${Zo(
|
|
21899
|
-
}, T = (
|
|
21900
|
-
if (M(v, y,
|
|
21896
|
+
(Q === "" || Q === null) && e(`${v}--${S}`);
|
|
21897
|
+
const oe = Number.parseInt(Q, 10);
|
|
21898
|
+
typeof oe == "number" && oe >= 1 && oe <= 12 ? e(`${v}-${Zo(Q)}-${Zo(S)}`) : L.warn(`Value '${oe}' is an invalid month`);
|
|
21899
|
+
}, T = (Q) => {
|
|
21900
|
+
if (M(v, y, Q)) {
|
|
21901
21901
|
e("");
|
|
21902
21902
|
return;
|
|
21903
21903
|
}
|
|
21904
|
-
|
|
21905
|
-
const oe = Number.parseInt(
|
|
21904
|
+
Q === "" && e(`${v}-${y}-`);
|
|
21905
|
+
const oe = Number.parseInt(Q, 10);
|
|
21906
21906
|
typeof oe == "number" && oe >= 1 && oe <= 31 ? e(`${v}-${Zo(y)}-${Zo(oe)}`) : L.warn(`Value '${oe}' is an invalid day`);
|
|
21907
|
-
}, O = (
|
|
21908
|
-
if (M(
|
|
21907
|
+
}, O = (Q) => {
|
|
21908
|
+
if (M(Q, y, S)) {
|
|
21909
21909
|
e("");
|
|
21910
21910
|
return;
|
|
21911
21911
|
}
|
|
21912
|
-
|
|
21913
|
-
const oe = Number.parseInt(
|
|
21912
|
+
Q === "" && e(`-${y}-${S}`);
|
|
21913
|
+
const oe = Number.parseInt(Q, 10);
|
|
21914
21914
|
typeof oe == "number" && oe >= 1 ? e(`${oe}-${Zo(y)}-${Zo(S)}`) : L.warn(`Value '${oe}' is an invalid year`);
|
|
21915
21915
|
}, A = () => {
|
|
21916
21916
|
e(!S && !y && !v ? "" : `${v}-${Zo(y)}-${Zo(S)}`);
|
|
@@ -21924,8 +21924,8 @@ const CH = ({
|
|
|
21924
21924
|
ariaDescribedBy: r ? h : "",
|
|
21925
21925
|
isErrored: r,
|
|
21926
21926
|
options: I,
|
|
21927
|
-
onChange: (
|
|
21928
|
-
N(
|
|
21927
|
+
onChange: (Q) => {
|
|
21928
|
+
N(Q ? Q.value : null);
|
|
21929
21929
|
},
|
|
21930
21930
|
placeholder: t.formatHTMLMessage({ id: "dateTime.month", defaultMessage: "Month" }),
|
|
21931
21931
|
suppressPlaceholder: !1,
|
|
@@ -21944,7 +21944,7 @@ const CH = ({
|
|
|
21944
21944
|
min: 1,
|
|
21945
21945
|
max: 31,
|
|
21946
21946
|
name: `${g}-day`,
|
|
21947
|
-
onChange: (
|
|
21947
|
+
onChange: (Q) => T(Q.target.value),
|
|
21948
21948
|
onBlur: A,
|
|
21949
21949
|
pattern: "\\d*",
|
|
21950
21950
|
placeholder: t.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }),
|
|
@@ -21958,7 +21958,7 @@ const CH = ({
|
|
|
21958
21958
|
disabled: p,
|
|
21959
21959
|
autoComplete: m ? `${m}-day` : void 0
|
|
21960
21960
|
}
|
|
21961
|
-
),
|
|
21961
|
+
), X = /* @__PURE__ */ f.jsx(
|
|
21962
21962
|
yu,
|
|
21963
21963
|
{
|
|
21964
21964
|
className: `${g}__year sid-date__year sid-text-input sid-text-input--required ${r ? "sid-text-input--error" : ""}`,
|
|
@@ -21975,7 +21975,7 @@ const CH = ({
|
|
|
21975
21975
|
"aria-labelledby": g,
|
|
21976
21976
|
"aria-required": n,
|
|
21977
21977
|
refId: `${l}Year`,
|
|
21978
|
-
onChange: (
|
|
21978
|
+
onChange: (Q) => O(Q.target.value),
|
|
21979
21979
|
onBlur: A,
|
|
21980
21980
|
disabled: p,
|
|
21981
21981
|
autoComplete: m ? `${m}-year` : void 0
|
|
@@ -22002,7 +22002,7 @@ const CH = ({
|
|
|
22002
22002
|
he,
|
|
22003
22003
|
G
|
|
22004
22004
|
] }),
|
|
22005
|
-
|
|
22005
|
+
X
|
|
22006
22006
|
] }),
|
|
22007
22007
|
r && se
|
|
22008
22008
|
] });
|
|
@@ -22613,14 +22613,24 @@ const YH = hy, ZH = (e, t, r) => {
|
|
|
22613
22613
|
id: void 0,
|
|
22614
22614
|
name: ""
|
|
22615
22615
|
}));
|
|
22616
|
-
}, XH = ({
|
|
22616
|
+
}, XH = ({
|
|
22617
|
+
id: e,
|
|
22618
|
+
onMouseDown: t,
|
|
22619
|
+
disabled: r,
|
|
22620
|
+
onKeyDown: n,
|
|
22621
|
+
handleOnBlur: a
|
|
22622
|
+
}) => /* @__PURE__ */ f.jsx(
|
|
22617
22623
|
"button",
|
|
22618
22624
|
{
|
|
22619
|
-
|
|
22625
|
+
id: e,
|
|
22620
22626
|
type: "button",
|
|
22621
|
-
onMouseDown:
|
|
22622
|
-
|
|
22627
|
+
onMouseDown: t,
|
|
22628
|
+
onKeyDown: n,
|
|
22629
|
+
onBlur: a,
|
|
22630
|
+
className: `sid-input-clear-button ${r ? "sid-input-clear-button--disabled" : ""}`,
|
|
22623
22631
|
"aria-label": "clear text",
|
|
22632
|
+
"aria-disabled": r,
|
|
22633
|
+
tabIndex: 0,
|
|
22624
22634
|
children: /* @__PURE__ */ f.jsx(
|
|
22625
22635
|
"svg",
|
|
22626
22636
|
{
|
|
@@ -22628,7 +22638,7 @@ const YH = hy, ZH = (e, t, r) => {
|
|
|
22628
22638
|
preserveAspectRatio: "none",
|
|
22629
22639
|
width: 28,
|
|
22630
22640
|
fill: "none",
|
|
22631
|
-
stroke:
|
|
22641
|
+
stroke: r ? "#B6B6B6" : "#5A5A5A",
|
|
22632
22642
|
strokeWidth: "1.1",
|
|
22633
22643
|
children: /* @__PURE__ */ f.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6 18L18 6M6 6l12 12" })
|
|
22634
22644
|
}
|
|
@@ -22652,15 +22662,15 @@ const YH = hy, ZH = (e, t, r) => {
|
|
|
22652
22662
|
isErrored: g,
|
|
22653
22663
|
ariaDescribedBy: h
|
|
22654
22664
|
}) => {
|
|
22655
|
-
const [w, v] = C.useState(""), [y, S] = C.useState([]), [I, M] = C.useState(0), [N, T] = C.useState(0), [O, A] = C.useState(!1), [U, te] = C.useState(!
|
|
22665
|
+
const [w, v] = C.useState(""), [y, S] = C.useState([]), [I, M] = C.useState(0), [N, T] = C.useState(0), [O, A] = C.useState(!1), [U, te] = C.useState(!1);
|
|
22656
22666
|
Ty(e);
|
|
22657
|
-
const se = (
|
|
22667
|
+
const se = (Y) => Y ? Y.name : "", { isOpen: he, highlightedIndex: G, getMenuProps: X, getItemProps: Q, getInputProps: oe } = is({
|
|
22658
22668
|
itemToString: se,
|
|
22659
22669
|
id: l,
|
|
22660
22670
|
items: y,
|
|
22661
|
-
onStateChange: (
|
|
22662
|
-
onInputValueChange: (
|
|
22663
|
-
const q =
|
|
22671
|
+
onStateChange: (Y) => ZH(Y, e, u),
|
|
22672
|
+
onInputValueChange: (Y) => {
|
|
22673
|
+
const q = Y.inputValue;
|
|
22664
22674
|
te(!q);
|
|
22665
22675
|
try {
|
|
22666
22676
|
N === 0 && T(Date.now()), q.length < w.length && M(I + 1);
|
|
@@ -22670,14 +22680,14 @@ const YH = hy, ZH = (e, t, r) => {
|
|
|
22670
22680
|
v(q);
|
|
22671
22681
|
},
|
|
22672
22682
|
selectedItem: i,
|
|
22673
|
-
onSelectedItemChange: ({ selectedItem:
|
|
22683
|
+
onSelectedItemChange: ({ selectedItem: Y }) => {
|
|
22674
22684
|
try {
|
|
22675
22685
|
const q = {
|
|
22676
22686
|
eventName: Ut.ORG_SELECTED,
|
|
22677
22687
|
params: {
|
|
22678
22688
|
[bn.QUERY_LENGTH]: w.length,
|
|
22679
22689
|
[bn.NUMBER_REWORKS]: I,
|
|
22680
|
-
[bn.SELECTED_RESULT_RANK]: y.findIndex((P) => P.id ===
|
|
22690
|
+
[bn.SELECTED_RESULT_RANK]: y.findIndex((P) => P.id === Y.id) + 1,
|
|
22681
22691
|
[bn.EVENT_DURATION]: Date.now() - N,
|
|
22682
22692
|
[bn.NUMBER_OF_RESULTS]: y.length
|
|
22683
22693
|
}
|
|
@@ -22686,11 +22696,11 @@ const YH = hy, ZH = (e, t, r) => {
|
|
|
22686
22696
|
} catch (q) {
|
|
22687
22697
|
L.error(q);
|
|
22688
22698
|
}
|
|
22689
|
-
T(0), M(0), e(
|
|
22699
|
+
T(0), M(0), e(Y);
|
|
22690
22700
|
}
|
|
22691
22701
|
}), W = () => {
|
|
22692
22702
|
try {
|
|
22693
|
-
const
|
|
22703
|
+
const Y = {
|
|
22694
22704
|
eventName: Ut.ASR_SELECTED,
|
|
22695
22705
|
params: {
|
|
22696
22706
|
[bn.QUERY_LENGTH]: w.length,
|
|
@@ -22699,23 +22709,24 @@ const YH = hy, ZH = (e, t, r) => {
|
|
|
22699
22709
|
[bn.NUMBER_OF_RESULTS]: y.length
|
|
22700
22710
|
}
|
|
22701
22711
|
};
|
|
22702
|
-
po(
|
|
22703
|
-
} catch (
|
|
22704
|
-
L.error(
|
|
22712
|
+
po(Y);
|
|
22713
|
+
} catch (Y) {
|
|
22714
|
+
L.error(Y);
|
|
22705
22715
|
}
|
|
22706
22716
|
}, ce = C.useRef(null);
|
|
22707
22717
|
C.useEffect(() => {
|
|
22708
|
-
Ss("organization", ce.current)
|
|
22718
|
+
Ss("organization", ce.current);
|
|
22709
22719
|
});
|
|
22710
|
-
const
|
|
22711
|
-
A(!0),
|
|
22712
|
-
}, J = () => {
|
|
22713
|
-
|
|
22714
|
-
|
|
22715
|
-
|
|
22720
|
+
const Z = (Y) => {
|
|
22721
|
+
A(!0), Y.currentTarget.value ? te(!1) : te(!0);
|
|
22722
|
+
}, J = (Y) => {
|
|
22723
|
+
var q;
|
|
22724
|
+
((q = Y.relatedTarget) == null ? void 0 : q.id) !== `${l}-clear-button` && A(!1);
|
|
22725
|
+
}, ee = (Y) => {
|
|
22726
|
+
(Y.type === "mousedown" || "key" in Y && Y.key === "Enter") && (v(""), e({
|
|
22716
22727
|
id: void 0,
|
|
22717
22728
|
name: ""
|
|
22718
|
-
});
|
|
22729
|
+
}), ce.current.focus());
|
|
22719
22730
|
};
|
|
22720
22731
|
return /* @__PURE__ */ f.jsxs("div", { className: "sid-organization-list", children: [
|
|
22721
22732
|
/* @__PURE__ */ f.jsx(
|
|
@@ -22723,8 +22734,8 @@ const YH = hy, ZH = (e, t, r) => {
|
|
|
22723
22734
|
{
|
|
22724
22735
|
...oe({
|
|
22725
22736
|
ref: ce,
|
|
22726
|
-
onFocus: (
|
|
22727
|
-
onBlur: () => J()
|
|
22737
|
+
onFocus: (Y) => Z(Y),
|
|
22738
|
+
onBlur: (Y) => J(Y)
|
|
22728
22739
|
}),
|
|
22729
22740
|
className: `sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,
|
|
22730
22741
|
disabled: a,
|
|
@@ -22737,16 +22748,25 @@ const YH = hy, ZH = (e, t, r) => {
|
|
|
22737
22748
|
"aria-labelledby": `${l}-label`
|
|
22738
22749
|
}
|
|
22739
22750
|
),
|
|
22740
|
-
O ? /* @__PURE__ */ f.jsx(
|
|
22741
|
-
|
|
22751
|
+
O ? /* @__PURE__ */ f.jsx(
|
|
22752
|
+
QH,
|
|
22753
|
+
{
|
|
22754
|
+
id: `${l}-clear-button`,
|
|
22755
|
+
disabled: U,
|
|
22756
|
+
onMouseDown: ee,
|
|
22757
|
+
onKeyDown: ee,
|
|
22758
|
+
handleOnBlur: J
|
|
22759
|
+
}
|
|
22760
|
+
) : null,
|
|
22761
|
+
/* @__PURE__ */ f.jsx("div", { ...X(), children: he && w ? /* @__PURE__ */ f.jsx(
|
|
22742
22762
|
YH,
|
|
22743
22763
|
{
|
|
22744
22764
|
countryCode: n,
|
|
22745
|
-
getItemProps:
|
|
22765
|
+
getItemProps: Q,
|
|
22746
22766
|
highlightedIndex: G,
|
|
22747
22767
|
itemToString: se,
|
|
22748
22768
|
minimumSearchValueLength: o,
|
|
22749
|
-
onLoaded: (
|
|
22769
|
+
onLoaded: (Y) => S(Y),
|
|
22750
22770
|
programId: t,
|
|
22751
22771
|
orgSearchUrl: c,
|
|
22752
22772
|
locale: p,
|
|
@@ -23096,109 +23116,109 @@ var sz = function(e) {
|
|
|
23096
23116
|
(function(n) {
|
|
23097
23117
|
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");
|
|
23098
23118
|
function M(G) {
|
|
23099
|
-
var
|
|
23100
|
-
for (this.clear(); ++
|
|
23101
|
-
var oe = G[
|
|
23119
|
+
var X = -1, Q = G ? G.length : 0;
|
|
23120
|
+
for (this.clear(); ++X < Q; ) {
|
|
23121
|
+
var oe = G[X];
|
|
23102
23122
|
this.set(oe[0], oe[1]);
|
|
23103
23123
|
}
|
|
23104
23124
|
}
|
|
23105
23125
|
function N(G) {
|
|
23106
|
-
var
|
|
23107
|
-
for (this.clear(); ++
|
|
23108
|
-
var oe = G[
|
|
23126
|
+
var X = -1, Q = G ? G.length : 0;
|
|
23127
|
+
for (this.clear(); ++X < Q; ) {
|
|
23128
|
+
var oe = G[X];
|
|
23109
23129
|
this.set(oe[0], oe[1]);
|
|
23110
23130
|
}
|
|
23111
23131
|
}
|
|
23112
23132
|
function T(G) {
|
|
23113
|
-
var
|
|
23114
|
-
for (this.clear(); ++
|
|
23115
|
-
var oe = G[
|
|
23133
|
+
var X = -1, Q = G ? G.length : 0;
|
|
23134
|
+
for (this.clear(); ++X < Q; ) {
|
|
23135
|
+
var oe = G[X];
|
|
23116
23136
|
this.set(oe[0], oe[1]);
|
|
23117
23137
|
}
|
|
23118
23138
|
}
|
|
23119
|
-
function O(G,
|
|
23120
|
-
for (var
|
|
23139
|
+
function O(G, X) {
|
|
23140
|
+
for (var Q, oe, W = G.length; W--; ) if ((Q = G[W][0]) === (oe = X) || Q != Q && oe != oe) return W;
|
|
23121
23141
|
return -1;
|
|
23122
23142
|
}
|
|
23123
23143
|
function A(G) {
|
|
23124
|
-
return !(!he(G) || (
|
|
23125
|
-
var oe = he(
|
|
23144
|
+
return !(!he(G) || (X = G, m && m in X)) && (function(Q) {
|
|
23145
|
+
var oe = he(Q) ? w.call(Q) : "";
|
|
23126
23146
|
return oe == "[object Function]" || oe == "[object GeneratorFunction]";
|
|
23127
|
-
}(G) || function(
|
|
23147
|
+
}(G) || function(Q) {
|
|
23128
23148
|
var oe = !1;
|
|
23129
|
-
if (
|
|
23130
|
-
oe = !!(
|
|
23149
|
+
if (Q != null && typeof Q.toString != "function") try {
|
|
23150
|
+
oe = !!(Q + "");
|
|
23131
23151
|
} catch {
|
|
23132
23152
|
}
|
|
23133
23153
|
return oe;
|
|
23134
|
-
}(G) ? v : a).test(function(
|
|
23135
|
-
if (
|
|
23154
|
+
}(G) ? v : a).test(function(Q) {
|
|
23155
|
+
if (Q != null) {
|
|
23136
23156
|
try {
|
|
23137
|
-
return g.call(
|
|
23157
|
+
return g.call(Q);
|
|
23138
23158
|
} catch {
|
|
23139
23159
|
}
|
|
23140
23160
|
try {
|
|
23141
|
-
return
|
|
23161
|
+
return Q + "";
|
|
23142
23162
|
} catch {
|
|
23143
23163
|
}
|
|
23144
23164
|
}
|
|
23145
23165
|
return "";
|
|
23146
23166
|
}(G));
|
|
23147
|
-
var
|
|
23167
|
+
var X;
|
|
23148
23168
|
}
|
|
23149
|
-
function U(G,
|
|
23150
|
-
var
|
|
23151
|
-
return ((oe = typeof (
|
|
23169
|
+
function U(G, X) {
|
|
23170
|
+
var Q, oe, W = G.__data__;
|
|
23171
|
+
return ((oe = typeof (Q = X)) == "string" || oe == "number" || oe == "symbol" || oe == "boolean" ? Q !== "__proto__" : Q === null) ? W[typeof X == "string" ? "string" : "hash"] : W.map;
|
|
23152
23172
|
}
|
|
23153
|
-
function te(G,
|
|
23154
|
-
var
|
|
23173
|
+
function te(G, X) {
|
|
23174
|
+
var Q = function(oe, W) {
|
|
23155
23175
|
return oe == null ? void 0 : oe[W];
|
|
23156
|
-
}(G,
|
|
23157
|
-
return A(
|
|
23176
|
+
}(G, X);
|
|
23177
|
+
return A(Q) ? Q : void 0;
|
|
23158
23178
|
}
|
|
23159
|
-
function se(G,
|
|
23160
|
-
if (typeof G != "function" ||
|
|
23161
|
-
var
|
|
23162
|
-
var oe = arguments, W =
|
|
23179
|
+
function se(G, X) {
|
|
23180
|
+
if (typeof G != "function" || X && typeof X != "function") throw new TypeError("Expected a function");
|
|
23181
|
+
var Q = function() {
|
|
23182
|
+
var oe = arguments, W = X ? X.apply(this, oe) : oe[0], ce = Q.cache;
|
|
23163
23183
|
if (ce.has(W)) return ce.get(W);
|
|
23164
|
-
var
|
|
23165
|
-
return
|
|
23184
|
+
var Z = G.apply(this, oe);
|
|
23185
|
+
return Q.cache = ce.set(W, Z), Z;
|
|
23166
23186
|
};
|
|
23167
|
-
return
|
|
23187
|
+
return Q.cache = new (se.Cache || T)(), Q;
|
|
23168
23188
|
}
|
|
23169
23189
|
function he(G) {
|
|
23170
|
-
var
|
|
23171
|
-
return !!G && (
|
|
23190
|
+
var X = typeof G;
|
|
23191
|
+
return !!G && (X == "object" || X == "function");
|
|
23172
23192
|
}
|
|
23173
23193
|
M.prototype.clear = function() {
|
|
23174
23194
|
this.__data__ = I ? I(null) : {};
|
|
23175
23195
|
}, M.prototype.delete = function(G) {
|
|
23176
23196
|
return this.has(G) && delete this.__data__[G];
|
|
23177
23197
|
}, M.prototype.get = function(G) {
|
|
23178
|
-
var
|
|
23198
|
+
var X = this.__data__;
|
|
23179
23199
|
if (I) {
|
|
23180
|
-
var
|
|
23181
|
-
return
|
|
23200
|
+
var Q = X[G];
|
|
23201
|
+
return Q === "__lodash_hash_undefined__" ? void 0 : Q;
|
|
23182
23202
|
}
|
|
23183
|
-
return h.call(
|
|
23203
|
+
return h.call(X, G) ? X[G] : void 0;
|
|
23184
23204
|
}, M.prototype.has = function(G) {
|
|
23185
|
-
var
|
|
23186
|
-
return I ?
|
|
23187
|
-
}, M.prototype.set = function(G,
|
|
23188
|
-
return this.__data__[G] = I &&
|
|
23205
|
+
var X = this.__data__;
|
|
23206
|
+
return I ? X[G] !== void 0 : h.call(X, G);
|
|
23207
|
+
}, M.prototype.set = function(G, X) {
|
|
23208
|
+
return this.__data__[G] = I && X === void 0 ? "__lodash_hash_undefined__" : X, this;
|
|
23189
23209
|
}, N.prototype.clear = function() {
|
|
23190
23210
|
this.__data__ = [];
|
|
23191
23211
|
}, N.prototype.delete = function(G) {
|
|
23192
|
-
var
|
|
23193
|
-
return !(
|
|
23212
|
+
var X = this.__data__, Q = O(X, G);
|
|
23213
|
+
return !(Q < 0) && (Q == X.length - 1 ? X.pop() : y.call(X, Q, 1), !0);
|
|
23194
23214
|
}, N.prototype.get = function(G) {
|
|
23195
|
-
var
|
|
23196
|
-
return
|
|
23215
|
+
var X = this.__data__, Q = O(X, G);
|
|
23216
|
+
return Q < 0 ? void 0 : X[Q][1];
|
|
23197
23217
|
}, N.prototype.has = function(G) {
|
|
23198
23218
|
return O(this.__data__, G) > -1;
|
|
23199
|
-
}, N.prototype.set = function(G,
|
|
23200
|
-
var
|
|
23201
|
-
return oe < 0 ?
|
|
23219
|
+
}, N.prototype.set = function(G, X) {
|
|
23220
|
+
var Q = this.__data__, oe = O(Q, G);
|
|
23221
|
+
return oe < 0 ? Q.push([G, X]) : Q[oe][1] = X, this;
|
|
23202
23222
|
}, T.prototype.clear = function() {
|
|
23203
23223
|
this.__data__ = { hash: new M(), map: new (S || N)(), string: new M() };
|
|
23204
23224
|
}, T.prototype.delete = function(G) {
|
|
@@ -23207,8 +23227,8 @@ var sz = function(e) {
|
|
|
23207
23227
|
return U(this, G).get(G);
|
|
23208
23228
|
}, T.prototype.has = function(G) {
|
|
23209
23229
|
return U(this, G).has(G);
|
|
23210
|
-
}, T.prototype.set = function(G,
|
|
23211
|
-
return U(this, G).set(G,
|
|
23230
|
+
}, T.prototype.set = function(G, X) {
|
|
23231
|
+
return U(this, G).set(G, X), this;
|
|
23212
23232
|
}, se.Cache = T, e.exports = se;
|
|
23213
23233
|
}).call(this, r(3));
|
|
23214
23234
|
}, function(e, t, r) {
|
|
@@ -23239,12 +23259,12 @@ var sz = function(e) {
|
|
|
23239
23259
|
e.exports = function(y, S, I) {
|
|
23240
23260
|
var M, N, T, O, A, U, te = 0, se = !1, he = !1, G = !0;
|
|
23241
23261
|
if (typeof y != "function") throw new TypeError("Expected a function");
|
|
23242
|
-
function Z(J) {
|
|
23243
|
-
var ee = M, Q = N;
|
|
23244
|
-
return M = N = void 0, te = J, O = y.apply(Q, ee);
|
|
23245
|
-
}
|
|
23246
23262
|
function X(J) {
|
|
23247
|
-
|
|
23263
|
+
var ee = M, Y = N;
|
|
23264
|
+
return M = N = void 0, te = J, O = y.apply(Y, ee);
|
|
23265
|
+
}
|
|
23266
|
+
function Q(J) {
|
|
23267
|
+
return te = J, A = setTimeout(W, S), se ? X(J) : O;
|
|
23248
23268
|
}
|
|
23249
23269
|
function oe(J) {
|
|
23250
23270
|
var ee = J - U;
|
|
@@ -23254,26 +23274,26 @@ var sz = function(e) {
|
|
|
23254
23274
|
var J = h();
|
|
23255
23275
|
if (oe(J)) return ce(J);
|
|
23256
23276
|
A = setTimeout(W, function(ee) {
|
|
23257
|
-
var
|
|
23258
|
-
return he ? g(
|
|
23277
|
+
var Y = S - (ee - U);
|
|
23278
|
+
return he ? g(Y, T - (ee - te)) : Y;
|
|
23259
23279
|
}(J));
|
|
23260
23280
|
}
|
|
23261
23281
|
function ce(J) {
|
|
23262
|
-
return A = void 0, G && M ?
|
|
23282
|
+
return A = void 0, G && M ? X(J) : (M = N = void 0, O);
|
|
23263
23283
|
}
|
|
23264
|
-
function
|
|
23284
|
+
function Z() {
|
|
23265
23285
|
var J = h(), ee = oe(J);
|
|
23266
23286
|
if (M = arguments, N = this, U = J, ee) {
|
|
23267
|
-
if (A === void 0) return
|
|
23268
|
-
if (he) return A = setTimeout(W, S),
|
|
23287
|
+
if (A === void 0) return Q(U);
|
|
23288
|
+
if (he) return A = setTimeout(W, S), X(U);
|
|
23269
23289
|
}
|
|
23270
23290
|
return A === void 0 && (A = setTimeout(W, S)), O;
|
|
23271
23291
|
}
|
|
23272
|
-
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),
|
|
23292
|
+
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() {
|
|
23273
23293
|
A !== void 0 && clearTimeout(A), te = 0, M = U = N = A = void 0;
|
|
23274
|
-
},
|
|
23294
|
+
}, Z.flush = function() {
|
|
23275
23295
|
return A === void 0 ? O : ce(h());
|
|
23276
|
-
},
|
|
23296
|
+
}, Z;
|
|
23277
23297
|
};
|
|
23278
23298
|
}).call(this, r(3));
|
|
23279
23299
|
}, function(e, t, r) {
|
|
@@ -23320,8 +23340,8 @@ var sz = function(e) {
|
|
|
23320
23340
|
re[++H] = ie;
|
|
23321
23341
|
}), re;
|
|
23322
23342
|
}
|
|
23323
|
-
var
|
|
23324
|
-
return
|
|
23343
|
+
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, $e = W.splice, qe = (Q = Object.keys, oe = Object, function(x) {
|
|
23344
|
+
return Q(oe(x));
|
|
23325
23345
|
}), Fe = j(S, "DataView"), Ke = j(S, "Map"), tt = j(S, "Promise"), R = j(S, "Set"), D = j(S, "WeakMap"), z = j(Object, "create"), pe = Ve(Fe), le = Ve(Ke), Ee = Ve(tt), me = Ve(R), Ne = Ve(D), ve = Se ? Se.prototype : void 0, Ce = ve ? ve.valueOf : void 0, He = ve ? ve.toString : void 0;
|
|
23326
23346
|
function Ie(x) {
|
|
23327
23347
|
var H = -1, re = x ? x.length : 0;
|
|
@@ -23580,7 +23600,7 @@ var sz = function(e) {
|
|
|
23580
23600
|
var H, re;
|
|
23581
23601
|
}
|
|
23582
23602
|
function _r(x) {
|
|
23583
|
-
if (re = (H = x) && H.constructor, ie = typeof re == "function" && re.prototype ||
|
|
23603
|
+
if (re = (H = x) && H.constructor, ie = typeof re == "function" && re.prototype || Z, H !== ie) return qe(x);
|
|
23584
23604
|
var H, re, ie, Ae = [];
|
|
23585
23605
|
for (var _e in Object(x)) q.call(x, _e) && _e != "constructor" && Ae.push(_e);
|
|
23586
23606
|
return Ae;
|
|
@@ -23682,7 +23702,7 @@ var sz = function(e) {
|
|
|
23682
23702
|
function Ve(x) {
|
|
23683
23703
|
if (x != null) {
|
|
23684
23704
|
try {
|
|
23685
|
-
return
|
|
23705
|
+
return Y.call(x);
|
|
23686
23706
|
} catch {
|
|
23687
23707
|
}
|
|
23688
23708
|
try {
|
|
@@ -23764,73 +23784,73 @@ var sz = function(e) {
|
|
|
23764
23784
|
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));
|
|
23765
23785
|
});
|
|
23766
23786
|
}, function(e, t, r) {
|
|
23767
|
-
function n(
|
|
23768
|
-
return J in
|
|
23787
|
+
function n(Z, J, ee) {
|
|
23788
|
+
return J in Z ? Object.defineProperty(Z, J, { value: ee, enumerable: !0, configurable: !0, writable: !0 }) : Z[J] = ee, Z;
|
|
23769
23789
|
}
|
|
23770
|
-
function a(
|
|
23771
|
-
if (Symbol.iterator in Object(
|
|
23790
|
+
function a(Z) {
|
|
23791
|
+
if (Symbol.iterator in Object(Z) || Object.prototype.toString.call(Z) === "[object Arguments]") return Array.from(Z);
|
|
23772
23792
|
}
|
|
23773
|
-
function o(
|
|
23793
|
+
function o(Z) {
|
|
23774
23794
|
return function(J) {
|
|
23775
23795
|
if (Array.isArray(J)) {
|
|
23776
|
-
for (var ee = 0,
|
|
23777
|
-
return
|
|
23796
|
+
for (var ee = 0, Y = new Array(J.length); ee < J.length; ee++) Y[ee] = J[ee];
|
|
23797
|
+
return Y;
|
|
23778
23798
|
}
|
|
23779
|
-
}(
|
|
23799
|
+
}(Z) || a(Z) || function() {
|
|
23780
23800
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
23781
23801
|
}();
|
|
23782
23802
|
}
|
|
23783
|
-
function s(
|
|
23784
|
-
if (Array.isArray(
|
|
23803
|
+
function s(Z) {
|
|
23804
|
+
if (Array.isArray(Z)) return Z;
|
|
23785
23805
|
}
|
|
23786
23806
|
function i() {
|
|
23787
23807
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
23788
23808
|
}
|
|
23789
|
-
function l(
|
|
23790
|
-
if (!(
|
|
23809
|
+
function l(Z, J) {
|
|
23810
|
+
if (!(Z instanceof J)) throw new TypeError("Cannot call a class as a function");
|
|
23791
23811
|
}
|
|
23792
|
-
function u(
|
|
23812
|
+
function u(Z, J) {
|
|
23793
23813
|
for (var ee = 0; ee < J.length; ee++) {
|
|
23794
|
-
var
|
|
23795
|
-
|
|
23814
|
+
var Y = J[ee];
|
|
23815
|
+
Y.enumerable = Y.enumerable || !1, Y.configurable = !0, "value" in Y && (Y.writable = !0), Object.defineProperty(Z, Y.key, Y);
|
|
23796
23816
|
}
|
|
23797
23817
|
}
|
|
23798
|
-
function c(
|
|
23818
|
+
function c(Z) {
|
|
23799
23819
|
return (c = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(J) {
|
|
23800
23820
|
return typeof J;
|
|
23801
23821
|
} : function(J) {
|
|
23802
23822
|
return J && typeof Symbol == "function" && J.constructor === Symbol && J !== Symbol.prototype ? "symbol" : typeof J;
|
|
23803
|
-
})(
|
|
23823
|
+
})(Z);
|
|
23804
23824
|
}
|
|
23805
|
-
function d(
|
|
23825
|
+
function d(Z) {
|
|
23806
23826
|
return (d = typeof Symbol == "function" && c(Symbol.iterator) === "symbol" ? function(J) {
|
|
23807
23827
|
return c(J);
|
|
23808
23828
|
} : function(J) {
|
|
23809
23829
|
return J && typeof Symbol == "function" && J.constructor === Symbol && J !== Symbol.prototype ? "symbol" : c(J);
|
|
23810
|
-
})(
|
|
23830
|
+
})(Z);
|
|
23811
23831
|
}
|
|
23812
|
-
function p(
|
|
23813
|
-
if (
|
|
23814
|
-
return
|
|
23832
|
+
function p(Z) {
|
|
23833
|
+
if (Z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
23834
|
+
return Z;
|
|
23815
23835
|
}
|
|
23816
|
-
function m(
|
|
23836
|
+
function m(Z) {
|
|
23817
23837
|
return (m = Object.setPrototypeOf ? Object.getPrototypeOf : function(J) {
|
|
23818
23838
|
return J.__proto__ || Object.getPrototypeOf(J);
|
|
23819
|
-
})(
|
|
23839
|
+
})(Z);
|
|
23820
23840
|
}
|
|
23821
|
-
function g(
|
|
23822
|
-
return (g = Object.setPrototypeOf || function(ee,
|
|
23823
|
-
return ee.__proto__ =
|
|
23824
|
-
})(
|
|
23841
|
+
function g(Z, J) {
|
|
23842
|
+
return (g = Object.setPrototypeOf || function(ee, Y) {
|
|
23843
|
+
return ee.__proto__ = Y, ee;
|
|
23844
|
+
})(Z, J);
|
|
23825
23845
|
}
|
|
23826
23846
|
r.r(t);
|
|
23827
23847
|
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);
|
|
23828
23848
|
r(8);
|
|
23829
|
-
function te(
|
|
23830
|
-
return s(
|
|
23849
|
+
function te(Z, J) {
|
|
23850
|
+
return s(Z) || function(ee, Y) {
|
|
23831
23851
|
var q = [], P = !0, Me = !1, Se = void 0;
|
|
23832
23852
|
try {
|
|
23833
|
-
for (var Re, Ge = ee[Symbol.iterator](); !(P = (Re = Ge.next()).done) && (q.push(Re.value), !
|
|
23853
|
+
for (var Re, Ge = ee[Symbol.iterator](); !(P = (Re = Ge.next()).done) && (q.push(Re.value), !Y || q.length !== Y); P = !0) ;
|
|
23834
23854
|
} catch ($e) {
|
|
23835
23855
|
Me = !0, Se = $e;
|
|
23836
23856
|
} finally {
|
|
@@ -23841,16 +23861,16 @@ var sz = function(e) {
|
|
|
23841
23861
|
}
|
|
23842
23862
|
}
|
|
23843
23863
|
return q;
|
|
23844
|
-
}(
|
|
23864
|
+
}(Z, J) || i();
|
|
23845
23865
|
}
|
|
23846
23866
|
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"]];
|
|
23847
|
-
function G(
|
|
23848
|
-
return !ee || q ?
|
|
23867
|
+
function G(Z, J, ee, Y, q) {
|
|
23868
|
+
return !ee || q ? Z + "".padEnd(J.length, ".") + " " + Y : Z + "".padEnd(J.length, ".") + " " + ee;
|
|
23849
23869
|
}
|
|
23850
|
-
function Z
|
|
23870
|
+
function X(Z, J, ee, Y, q) {
|
|
23851
23871
|
var P, Me, Se = [];
|
|
23852
|
-
return Me = J === !0, [(P = []).concat.apply(P, o(
|
|
23853
|
-
var Ge = { name: Re[0], regions: Re[1], iso2: Re[2], countryCode: Re[3], dialCode: Re[3], format: G(ee, Re[3], Re[4],
|
|
23872
|
+
return Me = J === !0, [(P = []).concat.apply(P, o(Z.map(function(Re) {
|
|
23873
|
+
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 }, $e = [];
|
|
23854
23874
|
return Re[6] && Re[6].map(function(qe) {
|
|
23855
23875
|
var Fe = function(Ke) {
|
|
23856
23876
|
for (var tt = 1; tt < arguments.length; tt++) {
|
|
@@ -23867,33 +23887,33 @@ var sz = function(e) {
|
|
|
23867
23887
|
}), $e.length > 0 ? (Ge.mainCode = !0, Me || J.constructor.name === "Array" && J.includes(Re[2]) ? (Ge.hasAreaCodes = !0, [Ge].concat($e)) : (Se = Se.concat($e), [Ge])) : [Ge];
|
|
23868
23888
|
}))), Se];
|
|
23869
23889
|
}
|
|
23870
|
-
function
|
|
23890
|
+
function Q(Z, J, ee, Y) {
|
|
23871
23891
|
if (ee !== null) {
|
|
23872
23892
|
var q = Object.keys(ee), P = Object.values(ee);
|
|
23873
23893
|
q.forEach(function(Me, Se) {
|
|
23874
|
-
if (
|
|
23875
|
-
var Re =
|
|
23894
|
+
if (Y) return Z.push([Me, P[Se]]);
|
|
23895
|
+
var Re = Z.findIndex(function($e) {
|
|
23876
23896
|
return $e[0] === Me;
|
|
23877
23897
|
});
|
|
23878
23898
|
if (Re === -1) {
|
|
23879
23899
|
var Ge = [Me];
|
|
23880
|
-
Ge[J] = P[Se],
|
|
23881
|
-
} else
|
|
23900
|
+
Ge[J] = P[Se], Z.push(Ge);
|
|
23901
|
+
} else Z[Re][J] = P[Se];
|
|
23882
23902
|
});
|
|
23883
23903
|
}
|
|
23884
23904
|
}
|
|
23885
|
-
function oe(
|
|
23886
|
-
return J.length === 0 ?
|
|
23887
|
-
var
|
|
23905
|
+
function oe(Z, J) {
|
|
23906
|
+
return J.length === 0 ? Z : Z.map(function(ee) {
|
|
23907
|
+
var Y = J.findIndex(function(P) {
|
|
23888
23908
|
return P[0] === ee[2];
|
|
23889
23909
|
});
|
|
23890
|
-
if (
|
|
23891
|
-
var q = J[
|
|
23910
|
+
if (Y === -1) return ee;
|
|
23911
|
+
var q = J[Y];
|
|
23892
23912
|
return q[1] && (ee[4] = q[1]), q[3] && (ee[5] = q[3]), q[2] && (ee[6] = q[2]), ee;
|
|
23893
23913
|
});
|
|
23894
23914
|
}
|
|
23895
|
-
var W = function
|
|
23896
|
-
l(this,
|
|
23915
|
+
var W = function Z(J, ee, Y, q, P, Me, Se, Re, Ge, $e, qe, Fe, Ke, tt) {
|
|
23916
|
+
l(this, Z), this.filterRegions = function(ve, Ce) {
|
|
23897
23917
|
if (typeof ve == "string") {
|
|
23898
23918
|
var He = ve;
|
|
23899
23919
|
return Ce.filter(function(Ie) {
|
|
@@ -23947,14 +23967,14 @@ var sz = function(e) {
|
|
|
23947
23967
|
};
|
|
23948
23968
|
var R = function(ve, Ce, He) {
|
|
23949
23969
|
var Ie = [];
|
|
23950
|
-
return
|
|
23951
|
-
}(Re, Ge, $e), D = oe(JSON.parse(JSON.stringify(se)), R), z = oe(JSON.parse(JSON.stringify(he)), R), pe = te(
|
|
23970
|
+
return Q(Ie, 1, ve, !0), Q(Ie, 3, Ce), Q(Ie, 2, He), Ie;
|
|
23971
|
+
}(Re, Ge, $e), D = oe(JSON.parse(JSON.stringify(se)), R), z = oe(JSON.parse(JSON.stringify(he)), R), pe = te(X(D, J, Fe, Ke, tt), 2), le = pe[0], Ee = pe[1];
|
|
23952
23972
|
if (ee) {
|
|
23953
|
-
var me = te(
|
|
23973
|
+
var me = te(X(z, J, Fe, Ke, tt), 2), Ne = me[0];
|
|
23954
23974
|
me[1], le = this.sortTerritories(Ne, le);
|
|
23955
23975
|
}
|
|
23956
|
-
|
|
23957
|
-
}, ce = function(
|
|
23976
|
+
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);
|
|
23977
|
+
}, ce = function(Z) {
|
|
23958
23978
|
function J(q) {
|
|
23959
23979
|
var P;
|
|
23960
23980
|
l(this, J), (P = function(R, D) {
|
|
@@ -24186,11 +24206,11 @@ var sz = function(e) {
|
|
|
24186
24206
|
});
|
|
24187
24207
|
return P.state = { showDropdown: q.showDropdown, formattedNumber: Fe, onlyCountries: Re, preferredCountries: Ge, hiddenAreaCodes: $e, selectedCountry: Me, highlightCountryIndex: tt, queryString: "", freezeSelection: !1, debouncedQueryStingSearcher: y()(P.searchCountry, 250), searchValue: "" }, P;
|
|
24188
24208
|
}
|
|
24189
|
-
var ee,
|
|
24209
|
+
var ee, Y;
|
|
24190
24210
|
return function(q, P) {
|
|
24191
24211
|
if (typeof P != "function" && P !== null) throw new TypeError("Super expression must either be null or a function");
|
|
24192
24212
|
q.prototype = Object.create(P && P.prototype, { constructor: { value: q, writable: !0, configurable: !0 } }), P && g(q, P);
|
|
24193
|
-
}(J,
|
|
24213
|
+
}(J, Z), ee = J, (Y = [{ key: "componentDidMount", value: function() {
|
|
24194
24214
|
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);
|
|
24195
24215
|
} }, { key: "componentWillUnmount", value: function() {
|
|
24196
24216
|
document.removeEventListener && this.props.enableClickOutside && document.removeEventListener("mousedown", this.handleClickOutside);
|
|
@@ -24219,7 +24239,7 @@ var sz = function(e) {
|
|
|
24219
24239
|
} })), w.a.createElement("div", { className: He, style: this.props.buttonStyle, ref: function(ke) {
|
|
24220
24240
|
return Se.dropdownContainerRef = ke;
|
|
24221
24241
|
} }, D ? w.a.createElement("div", { className: Ce }, D) : w.a.createElement("div", { onClick: R ? void 0 : this.handleFlagDropdownClick, className: Ce, title: $e ? "".concat($e.localName || $e.name, ": + ").concat($e.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()));
|
|
24222
|
-
} }]) && u(ee.prototype,
|
|
24242
|
+
} }]) && u(ee.prototype, Y), J;
|
|
24223
24243
|
}(w.a.Component);
|
|
24224
24244
|
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;
|
|
24225
24245
|
}]);
|
|
@@ -26286,17 +26306,17 @@ const W8 = (e) => ({
|
|
|
26286
26306
|
}, m = eb(a), g = J0(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));
|
|
26287
26307
|
let T = N ? N[S] : 0;
|
|
26288
26308
|
(!T || !await (s.isElement == null ? void 0 : s.isElement(N))) && (T = i.floating[S] || o.floating[g]);
|
|
26289
|
-
const O = I / 2 - M / 2, A = T / 2 - h[g] / 2 - 1, U = Pa(d[v], A), te = Pa(d[y], A), se = U, he = T - h[g] - te, G = T / 2 - h[g] / 2 + O,
|
|
26309
|
+
const O = I / 2 - M / 2, A = T / 2 - h[g] / 2 - 1, U = Pa(d[v], A), te = Pa(d[y], A), se = U, he = T - h[g] - te, G = T / 2 - h[g] / 2 + O, X = yy(se, G, he), Q = !l.arrow && Ki(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;
|
|
26290
26310
|
return {
|
|
26291
26311
|
[m]: p[m] + oe,
|
|
26292
26312
|
data: {
|
|
26293
|
-
[m]:
|
|
26294
|
-
centerOffset: G -
|
|
26295
|
-
...
|
|
26313
|
+
[m]: X,
|
|
26314
|
+
centerOffset: G - X - oe,
|
|
26315
|
+
...Q && {
|
|
26296
26316
|
alignmentOffset: oe
|
|
26297
26317
|
}
|
|
26298
26318
|
},
|
|
26299
|
-
reset:
|
|
26319
|
+
reset: Q
|
|
26300
26320
|
};
|
|
26301
26321
|
}
|
|
26302
26322
|
}), q8 = function(e) {
|
|
@@ -26336,19 +26356,19 @@ const W8 = (e) => ({
|
|
|
26336
26356
|
overflows: A
|
|
26337
26357
|
}], !A.every((G) => G <= 0)) {
|
|
26338
26358
|
var te, se;
|
|
26339
|
-
const G = (((te = o.flip) == null ? void 0 : te.index) || 0) + 1,
|
|
26340
|
-
if (
|
|
26359
|
+
const G = (((te = o.flip) == null ? void 0 : te.index) || 0) + 1, X = T[G];
|
|
26360
|
+
if (X)
|
|
26341
26361
|
return {
|
|
26342
26362
|
data: {
|
|
26343
26363
|
index: G,
|
|
26344
26364
|
overflows: U
|
|
26345
26365
|
},
|
|
26346
26366
|
reset: {
|
|
26347
|
-
placement:
|
|
26367
|
+
placement: X
|
|
26348
26368
|
}
|
|
26349
26369
|
};
|
|
26350
|
-
let
|
|
26351
|
-
if (!
|
|
26370
|
+
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;
|
|
26371
|
+
if (!Q)
|
|
26352
26372
|
switch (m) {
|
|
26353
26373
|
case "bestFit": {
|
|
26354
26374
|
var he;
|
|
@@ -26360,18 +26380,18 @@ const W8 = (e) => ({
|
|
|
26360
26380
|
ce === "y";
|
|
26361
26381
|
}
|
|
26362
26382
|
return !0;
|
|
26363
|
-
}).map((W) => [W.placement, W.overflows.filter((ce) => ce > 0).reduce((ce,
|
|
26364
|
-
oe && (
|
|
26383
|
+
}).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];
|
|
26384
|
+
oe && (Q = oe);
|
|
26365
26385
|
break;
|
|
26366
26386
|
}
|
|
26367
26387
|
case "initialPlacement":
|
|
26368
|
-
|
|
26388
|
+
Q = i;
|
|
26369
26389
|
break;
|
|
26370
26390
|
}
|
|
26371
|
-
if (a !==
|
|
26391
|
+
if (a !== Q)
|
|
26372
26392
|
return {
|
|
26373
26393
|
reset: {
|
|
26374
|
-
placement:
|
|
26394
|
+
placement: Q
|
|
26375
26395
|
}
|
|
26376
26396
|
};
|
|
26377
26397
|
}
|
|
@@ -27188,7 +27208,7 @@ function x9(e) {
|
|
|
27188
27208
|
middleware: p
|
|
27189
27209
|
};
|
|
27190
27210
|
te.current && (W.platform = te.current), E9(N.current, T.current, W).then((ce) => {
|
|
27191
|
-
const
|
|
27211
|
+
const Z = {
|
|
27192
27212
|
...ce,
|
|
27193
27213
|
// The floating element's position may be recomputed while it's closed
|
|
27194
27214
|
// but still mounted (such as when transitioning out). To ensure
|
|
@@ -27196,8 +27216,8 @@ function x9(e) {
|
|
|
27196
27216
|
// setting it to `true` when `open === false` (must be specified).
|
|
27197
27217
|
isPositioned: se.current !== !1
|
|
27198
27218
|
};
|
|
27199
|
-
G.current && !xf(O.current,
|
|
27200
|
-
d(
|
|
27219
|
+
G.current && !xf(O.current, Z) && (O.current = Z, sp.flushSync(() => {
|
|
27220
|
+
d(Z);
|
|
27201
27221
|
}));
|
|
27202
27222
|
});
|
|
27203
27223
|
}, [p, t, r, te, se]);
|
|
@@ -27217,12 +27237,12 @@ function x9(e) {
|
|
|
27217
27237
|
he();
|
|
27218
27238
|
}
|
|
27219
27239
|
}, [I, M, he, U, A]);
|
|
27220
|
-
const
|
|
27240
|
+
const X = C.useMemo(() => ({
|
|
27221
27241
|
reference: N,
|
|
27222
27242
|
floating: T,
|
|
27223
27243
|
setReference: y,
|
|
27224
27244
|
setFloating: S
|
|
27225
|
-
}), [y, S]),
|
|
27245
|
+
}), [y, S]), Q = C.useMemo(() => ({
|
|
27226
27246
|
reference: I,
|
|
27227
27247
|
floating: M
|
|
27228
27248
|
}), [I, M]), oe = C.useMemo(() => {
|
|
@@ -27231,28 +27251,28 @@ function x9(e) {
|
|
|
27231
27251
|
left: 0,
|
|
27232
27252
|
top: 0
|
|
27233
27253
|
};
|
|
27234
|
-
if (!
|
|
27254
|
+
if (!Q.floating)
|
|
27235
27255
|
return W;
|
|
27236
|
-
const ce = WM(
|
|
27256
|
+
const ce = WM(Q.floating, c.x), Z = WM(Q.floating, c.y);
|
|
27237
27257
|
return i ? {
|
|
27238
27258
|
...W,
|
|
27239
|
-
transform: "translate(" + ce + "px, " +
|
|
27240
|
-
...$R(
|
|
27259
|
+
transform: "translate(" + ce + "px, " + Z + "px)",
|
|
27260
|
+
...$R(Q.floating) >= 1.5 && {
|
|
27241
27261
|
willChange: "transform"
|
|
27242
27262
|
}
|
|
27243
27263
|
} : {
|
|
27244
27264
|
position: r,
|
|
27245
27265
|
left: ce,
|
|
27246
|
-
top:
|
|
27266
|
+
top: Z
|
|
27247
27267
|
};
|
|
27248
|
-
}, [r, i,
|
|
27268
|
+
}, [r, i, Q.floating, c.x, c.y]);
|
|
27249
27269
|
return C.useMemo(() => ({
|
|
27250
27270
|
...c,
|
|
27251
27271
|
update: he,
|
|
27252
|
-
refs:
|
|
27253
|
-
elements:
|
|
27272
|
+
refs: X,
|
|
27273
|
+
elements: Q,
|
|
27254
27274
|
floatingStyles: oe
|
|
27255
|
-
}), [c, he,
|
|
27275
|
+
}), [c, he, X, Q, oe]);
|
|
27256
27276
|
}
|
|
27257
27277
|
const C9 = (e) => {
|
|
27258
27278
|
function t(r) {
|
|
@@ -27373,7 +27393,7 @@ var sb = "PopperContent", [U9, $9] = VR(sb), qR = C.forwardRef(
|
|
|
27373
27393
|
boundary: te.filter(V9),
|
|
27374
27394
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
27375
27395
|
altBoundary: se
|
|
27376
|
-
}, { refs: G, floatingStyles:
|
|
27396
|
+
}, { refs: G, floatingStyles: X, placement: Q, isPositioned: oe, middlewareData: W } = x9({
|
|
27377
27397
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
27378
27398
|
strategy: "fixed",
|
|
27379
27399
|
placement: A,
|
|
@@ -27403,11 +27423,11 @@ var sb = "PopperContent", [U9, $9] = VR(sb), qR = C.forwardRef(
|
|
|
27403
27423
|
B9({ arrowWidth: T, arrowHeight: O }),
|
|
27404
27424
|
p && A9({ strategy: "referenceHidden", ...he })
|
|
27405
27425
|
]
|
|
27406
|
-
}), [ce,
|
|
27426
|
+
}), [ce, Z] = ZR(Q), J = Ta(g);
|
|
27407
27427
|
Fi(() => {
|
|
27408
27428
|
oe && (J == null || J());
|
|
27409
27429
|
}, [oe, J]);
|
|
27410
|
-
const ee = (Se = W.arrow) == null ? void 0 : Se.x,
|
|
27430
|
+
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] = C.useState();
|
|
27411
27431
|
return Fi(() => {
|
|
27412
27432
|
v && Me(window.getComputedStyle(v).zIndex);
|
|
27413
27433
|
}, [v]), /* @__PURE__ */ f.jsx(
|
|
@@ -27416,8 +27436,8 @@ var sb = "PopperContent", [U9, $9] = VR(sb), qR = C.forwardRef(
|
|
|
27416
27436
|
ref: G.setFloating,
|
|
27417
27437
|
"data-radix-popper-content-wrapper": "",
|
|
27418
27438
|
style: {
|
|
27419
|
-
...
|
|
27420
|
-
transform: oe ?
|
|
27439
|
+
...X,
|
|
27440
|
+
transform: oe ? X.transform : "translate(0, -200%)",
|
|
27421
27441
|
// keep off the page when measuring
|
|
27422
27442
|
minWidth: "max-content",
|
|
27423
27443
|
zIndex: P,
|
|
@@ -27441,13 +27461,13 @@ var sb = "PopperContent", [U9, $9] = VR(sb), qR = C.forwardRef(
|
|
|
27441
27461
|
placedSide: ce,
|
|
27442
27462
|
onArrowChange: M,
|
|
27443
27463
|
arrowX: ee,
|
|
27444
|
-
arrowY:
|
|
27464
|
+
arrowY: Y,
|
|
27445
27465
|
shouldHideArrow: q,
|
|
27446
27466
|
children: /* @__PURE__ */ f.jsx(
|
|
27447
27467
|
Ua.div,
|
|
27448
27468
|
{
|
|
27449
27469
|
"data-side": ce,
|
|
27450
|
-
"data-align":
|
|
27470
|
+
"data-align": Z,
|
|
27451
27471
|
...h,
|
|
27452
27472
|
ref: S,
|
|
27453
27473
|
style: {
|