@everymatrix/player-account-controller-nd 1.76.3 → 1.76.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-C-KQBmk3.js → GeneralLogout-BKUfd8BJ.js} +1432 -1397
- package/components/GeneralLogout-CuvnoUn1.cjs +21 -0
- package/components/{GeneralLogout-C52-PhwD.js → GeneralLogout-oSYhP-Iy.js} +1427 -1392
- package/components/{PlayerAccountBettingHistory-5QM3bGgT.js → PlayerAccountBettingHistory-BgDQMawM.js} +27 -27
- package/components/{PlayerAccountBettingHistory-B91V20F2.js → PlayerAccountBettingHistory-BlbdV8eE.js} +27 -27
- package/components/{PlayerAccountBettingHistory-CE023VGz.cjs → PlayerAccountBettingHistory-Cb9zY2cj.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-CSSQNl0K.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-C5FFOJ5V.js → PlayerAccountBiometrics-DG8PwDTf.js} +22 -22
- package/components/{PlayerAccountBiometrics-DuvDCmjx.js → PlayerAccountBiometrics-wy6pz2CT.js} +22 -22
- package/components/{PlayerAccountClosureNd-BEMKT7IM.js → PlayerAccountClosureNd-BMxbB-XD.js} +17 -17
- package/components/{PlayerAccountClosureNd-CYHq0859.js → PlayerAccountClosureNd-Cp7kk_QC.js} +17 -17
- package/components/{PlayerAccountClosureNd-CMzRAP8U.cjs → PlayerAccountClosureNd-zBlQJ0Iy.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-5P_qraz8.cjs → PlayerAccountControllerNd-5lLrmGqW.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-D_dltJgG.js → PlayerAccountControllerNd-CEuZJ_Oy.js} +143 -143
- package/components/{PlayerAccountControllerNd-C2xNfItK.js → PlayerAccountControllerNd-Dl1DjlA3.js} +141 -141
- package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-BPVpte4c.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-B7ppWJQ6.js → PlayerAccountGamingLimits-BgxS4Frr.js} +19 -19
- package/components/{PlayerAccountGamingLimits-DMS9a3TN.js → PlayerAccountGamingLimits-DxJATH5L.js} +19 -19
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js → PlayerAccountGamingLimitsConfirmationModal-CFwNex1C.js} +53 -53
- package/components/PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js → PlayerAccountGamingLimitsConfirmationModal-CvyHjYBX.js} +53 -53
- package/components/{PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js → PlayerAccountGamingLimitsGroupEdit-8LGyrjL0.js} +1079 -1081
- package/components/{PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js → PlayerAccountGamingLimitsGroupEdit-KwKmUGcw.js} +1079 -1081
- package/components/PlayerAccountGamingLimitsGroupEdit-gUkWnHwu.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js → PlayerAccountGamingLimitsHistory2Nd-C5iI6zPo.js} +78 -78
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs → PlayerAccountGamingLimitsHistory2Nd-DJfR3lP7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js → PlayerAccountGamingLimitsHistory2Nd-Zl35hP7C.js} +78 -78
- package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-B1-rS3C8.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js → PlayerAccountGamingLimitsInfoCard-C5NKAWiQ.js} +80 -80
- package/components/{PlayerAccountGamingLimitsInfoCard-DjnVkaho.js → PlayerAccountGamingLimitsInfoCard-CSDRi3f-.js} +80 -80
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DNNXs-Or.cjs +35 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-nx7oRLey.js → PlayerAccountGamingLimitsPage2Gm16Nd-DXDdin59.js} +852 -865
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B6s5JpNY.js → PlayerAccountGamingLimitsPage2Gm16Nd-c6uRQ9jp.js} +821 -834
- package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-1ObhRFHn.js → PlayerAccountGamingLimitsPopup-DCN31S-r.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-lZ7y_RVP.js → PlayerAccountGamingLimitsPopup-DrJTQvtg.js} +28 -28
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-D97T9bNZ.cjs → PlayerAccountGamingLimitsWrapper2Nd-BP57Wl4h.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-Blbz-UsS.js → PlayerAccountGamingLimitsWrapper2Nd-BxM8WDun.js} +37 -37
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-Bgr6DeY3.js → PlayerAccountGamingLimitsWrapper2Nd-CpWQkiKp.js} +37 -37
- package/components/{PlayerAccountGeneralConfirmationModal-Bgat7eVE.js → PlayerAccountGeneralConfirmationModal-BVL5axI_.js} +68 -68
- package/components/{PlayerAccountGeneralConfirmationModal-DrgjMSLh.js → PlayerAccountGeneralConfirmationModal-DiAHffly.js} +68 -68
- package/components/PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs +1 -0
- package/components/{PlayerAccountMenuNd-alDPH0d2.js → PlayerAccountMenuNd-Bu9ZxduC.js} +29 -29
- package/components/{PlayerAccountMenuNd-Yk5u12tl.cjs → PlayerAccountMenuNd-CizaV1PR.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-V9EOIgPS.js → PlayerAccountMenuNd-CrAZDSaS.js} +29 -29
- package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-CzspHDhO.cjs} +1 -1
- package/components/{PlayerAccountModal-9FK6eAt0.js → PlayerAccountModal-DAf18_Du.js} +25 -25
- package/components/{PlayerAccountModal-DCsw7iyn.js → PlayerAccountModal-YdQXeL8A.js} +25 -25
- package/components/{PlayerAccountNotifications-BVfKQdMA.js → PlayerAccountNotifications-5zu1lBMx.js} +36 -36
- package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-CGmkTd-y.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BzEDVvTZ.js → PlayerAccountNotifications-vIvTXRgY.js} +35 -35
- package/components/{PlayerAccountProductRestriction-DmWDaeEI.js → PlayerAccountProductRestriction-Bc1UsZEX.js} +1498 -1494
- package/components/{PlayerAccountProductRestriction-BJ0LFpLp.cjs → PlayerAccountProductRestriction-D0nA5nkC.cjs} +263 -263
- package/components/{PlayerAccountProductRestriction-EAWMHqK4.js → PlayerAccountProductRestriction-yHlm7eYA.js} +1513 -1509
- package/components/{PlayerAccountSelfExclusionNd-BLr1N-Bv.cjs → PlayerAccountSelfExclusionNd-CiZhZ3oH.cjs} +154 -154
- package/components/{PlayerAccountSelfExclusionNd-BI74DoLY.js → PlayerAccountSelfExclusionNd-DBxusFnq.js} +1205 -1205
- package/components/{PlayerAccountSelfExclusionNd-CiB251y6.js → PlayerAccountSelfExclusionNd-WNVrbBiC.js} +899 -899
- package/components/{PlayerAccountTimeout-U0kgxhKU.cjs → PlayerAccountTimeout-C3mITswZ.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BlJS9laL.js → PlayerAccountTimeout-CFoyQWDh.js} +103 -103
- package/components/{PlayerAccountTimeout-GP0WHuhG.js → PlayerAccountTimeout-DB5OWmQz.js} +103 -103
- package/components/{PlayerAccountTransactionsHistory-CNgQQxdT.cjs → PlayerAccountTransactionsHistory-BXPhhTn2.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-D5K0uJEO.js → PlayerAccountTransactionsHistory-Chs6yNlk.js} +84 -84
- package/components/{PlayerAccountTransactionsHistory-Lh_TpwTB.js → PlayerAccountTransactionsHistory-CzIF4uh5.js} +84 -84
- package/components/PlayerActiveBonuses-DVq9bN8v.cjs +4 -0
- package/components/PlayerActiveBonuses-Db-RT_8J.js +1170 -0
- package/components/PlayerActiveBonuses-_pLWqk1d.js +1169 -0
- package/components/{PlayerBonusCard-BbRQx8Gg.js → PlayerBonusCard-Bq3pVRnf.js} +81 -81
- package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-C6zYcpN6.cjs} +1 -1
- package/components/{PlayerBonusCard-BhW_g3sH.js → PlayerBonusCard-DPmKzmhw.js} +81 -81
- package/components/PlayerBonusHistory-CwJnu3Fk.js +1089 -0
- package/components/PlayerBonusHistory-DXmWAtYM.cjs +4 -0
- package/components/PlayerBonusHistory-DnQCKoKZ.js +1100 -0
- package/components/{PlayerChangePasswordNd-DUzbCK4p.js → PlayerChangePasswordNd-BJdk4OhW.js} +71 -71
- package/components/{PlayerChangePasswordNd-DSIi_04v.cjs → PlayerChangePasswordNd-BgLvdsST.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-DWsHRVAH.js → PlayerChangePasswordNd-CTV_CCcj.js} +71 -71
- package/components/{PlayerDeposit-CmBFg6tX.cjs → PlayerDeposit-BsyYS9xx.cjs} +1 -1
- package/components/{PlayerDeposit-BeGgsgNu.js → PlayerDeposit-D5ykTYYS.js} +29 -29
- package/components/{PlayerDeposit-CI5GIyAe.js → PlayerDeposit-syo0F-Bg.js} +29 -29
- package/components/{PlayerGamingHistory-F3yi70Vu.cjs → PlayerGamingHistory-B0tUInli.cjs} +1 -1
- package/components/{PlayerGamingHistory-BJQKapHg.js → PlayerGamingHistory-DeCBpJ1N.js} +82 -82
- package/components/{PlayerGamingHistory-DEgVt4st.js → PlayerGamingHistory-MfkUQADr.js} +102 -102
- package/components/{PlayerPendingWithdrawals-BL4JTLkC.js → PlayerPendingWithdrawals-C0wYmh2S.js} +26 -26
- package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-Dvq9lK8F.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-o6_OjL5C.js → PlayerPendingWithdrawals-i7OozfVP.js} +26 -26
- package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CImeJryH.cjs} +2 -2
- package/components/{PlayerProfileInfo-D0A3aRV_.js → PlayerProfileInfo-D5V5FYyI.js} +162 -162
- package/components/{PlayerProfileInfo-xRMbiw1T.js → PlayerProfileInfo-DiCsTYSd.js} +150 -150
- package/components/{PlayerRealityCheck-BEiZhn6p.js → PlayerRealityCheck-BIebwdRX.js} +45 -45
- package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-BynMsi1X.cjs} +1 -1
- package/components/{PlayerRealityCheck-CYU_NrFB.js → PlayerRealityCheck-Cjp4DHJi.js} +44 -44
- package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-BU4_vLyx.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BS1LjP09.js → PlayerTransactionHistory-DjQdwT5r.js} +19 -19
- package/components/{PlayerTransactionHistory-DdbQZ6mw.js → PlayerTransactionHistory-NAh_DclU.js} +19 -19
- package/components/{PlayerWithdrawal-DGN4Y9QP.js → PlayerWithdrawal-CIKlBfKQ.js} +19 -19
- package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-CkSCfQ4A.cjs} +1 -1
- package/components/{PlayerWithdrawal-DOec04Iq.js → PlayerWithdrawal-DrYfLVwI.js} +19 -19
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-_nxwaXJG.cjs → checkbox-group-input_15-B2yBingJ.cjs} +267 -267
- package/stencil/{checkbox-group-input_15-DuNUJJTh.js → checkbox-group-input_15-BWrU21rm.js} +3375 -3373
- package/stencil/{checkbox-group-input_15-Cm-Io-xD.js → checkbox-group-input_15-EyVvrWY2.js} +3379 -3377
- package/stencil/index-1ef3a64c-DR7bpfUj.cjs +1 -0
- package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-HE2lDlEL.js} +192 -192
- package/stencil/{index-1ef3a64c-DQk1yZfC.js → index-1ef3a64c-zEGNB-u8.js} +185 -185
- package/stencil/{index-6e523641-D97cqlCQ.js → index-6e523641-C-aWDr56.js} +185 -185
- package/stencil/{index-6e523641-BMbc57IV.js → index-6e523641-CIqESSFm.js} +207 -207
- package/stencil/index-6e523641-D-RFKZXR.cjs +1 -0
- package/stencil/{index-9c0f6c58-GCIFeGLp.js → index-9c0f6c58-CWsaYxOT.js} +176 -176
- package/stencil/index-9c0f6c58-Cv5Mos03.cjs +1 -0
- package/stencil/{index-9c0f6c58-Ucwc3Jk1.js → index-9c0f6c58-ntq_iYNK.js} +180 -180
- package/stencil/index-b2193545-DQUvHUpa.cjs +1 -0
- package/stencil/index-b2193545-DoYU_tL8.js +503 -0
- package/stencil/index-b2193545-_I2wisuY.js +519 -0
- package/stencil/{index-c666b6e6-c0hf32cu.js → index-c666b6e6-Bair9vkk.js} +217 -217
- package/stencil/{index-c666b6e6-eYzoO3Jn.js → index-c666b6e6-CT8grQbi.js} +209 -209
- package/stencil/index-c666b6e6-DMobtuRs.cjs +1 -0
- package/stencil/{pam-change-password-CurSbN32.js → pam-change-password-3Apq0yuH.js} +1 -1
- package/stencil/{pam-change-password-9aef79f2-mdiqi4BL.js → pam-change-password-9aef79f2-BwxkeN5A.js} +59 -59
- package/stencil/{pam-change-password-9aef79f2-CavSOe-m.js → pam-change-password-9aef79f2-CGjJzbvH.js} +59 -59
- package/stencil/{pam-change-password-9aef79f2-ONc9NBqY.cjs → pam-change-password-9aef79f2-nth9tA5d.cjs} +2 -2
- package/stencil/{pam-change-password-BKya2rzZ.cjs → pam-change-password-B0jUik7J.cjs} +1 -1
- package/stencil/{pam-change-password-CZxcB-oo.js → pam-change-password-CZTBxWG0.js} +1 -1
- package/stencil/{player-kyc-verification-D10m225z.cjs → player-kyc-verification-BOxNJ6x_.cjs} +1 -1
- package/stencil/{player-kyc-verification-Wsswi9br.js → player-kyc-verification-jOo_qPpq.js} +1 -1
- package/stencil/{player-kyc-verification-B9ZaCq1K.js → player-kyc-verification-sZ9OAQ8Z.js} +1 -1
- package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-C_FDz0NJ.js} +2 -2
- package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-GEqIXVxo.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-BreM325l.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-CeNpgiKf.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-e6Wte4qi.js} +1 -1
- package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-mkMdvWYI.js} +2 -2
- package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-Cr0-V-2c.js} +45 -45
- package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-DdJYJeX1.js} +45 -45
- package/stencil/{user-transaction-history-DgJplHTM.js → user-transaction-history-ChQcZwtX.js} +1 -1
- package/stencil/{user-transaction-history-DLnBnc9G.cjs → user-transaction-history-D4WBmCh8.cjs} +1 -1
- package/stencil/{user-transaction-history-DmJRwGhM.js → user-transaction-history-Dla0Do5o.js} +1 -1
- package/stencil/{user-transaction-history_2-C4mIlMIA.js → user-transaction-history_2-B1al0Y-h.js} +841 -843
- package/stencil/{user-transaction-history_2-B2zGklPY.js → user-transaction-history_2-DznYNRIL.js} +847 -849
- package/stencil/user-transaction-history_2-bMxqSwYs.cjs +2 -0
- package/components/GeneralLogout-COm1JcKW.cjs +0 -21
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs +0 -2
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-q7UT5qmk.cjs +0 -35
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
- package/components/PlayerActiveBonuses-D4OBnwNa.js +0 -1139
- package/components/PlayerActiveBonuses-Me5Q3o65.cjs +0 -1
- package/components/PlayerActiveBonuses-zLuqH4eW.js +0 -1140
- package/components/PlayerBonusHistory-BmeRyaDK.cjs +0 -1
- package/components/PlayerBonusHistory-BxbtWY0l.js +0 -1062
- package/components/PlayerBonusHistory-C_uP6nBB.js +0 -1073
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
- package/stencil/index-6e523641-BZDelC3M.cjs +0 -1
- package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +0 -1
- package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
- package/stencil/index-b2193545-DPKCFIaU.js +0 -503
- package/stencil/index-b2193545-LzjWxki5.js +0 -519
- package/stencil/index-c666b6e6-boVOGpc7.cjs +0 -1
- package/stencil/user-transaction-history_2-hm8W11mj.cjs +0 -2
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
1
|
+
var Nr = Object.defineProperty, Mr = Object.defineProperties;
|
|
2
|
+
var Cr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ft = Object.getOwnPropertySymbols;
|
|
4
|
+
var $r = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ce = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
$r.call(t, r) && Ce(e, r, t[r]);
|
|
8
|
+
if (ft)
|
|
9
|
+
for (var r of ft(t))
|
|
10
|
+
Rr.call(t, r) && Ce(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var S = (e, t,
|
|
14
|
-
var
|
|
12
|
+
}, dt = (e, t) => Mr(e, Cr(t));
|
|
13
|
+
var S = (e, t, r) => (Ce(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var mt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
a(
|
|
17
|
+
a(r.next(u));
|
|
18
18
|
} catch (h) {
|
|
19
19
|
i(h);
|
|
20
20
|
}
|
|
21
21
|
}, s = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
a(
|
|
23
|
+
a(r.throw(u));
|
|
24
24
|
} catch (h) {
|
|
25
25
|
i(h);
|
|
26
26
|
}
|
|
27
|
-
}, a = (u) => u.done ?
|
|
28
|
-
a((
|
|
27
|
+
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
|
28
|
+
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function B() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
34
|
-
for (const
|
|
35
|
-
e[
|
|
32
|
+
const Ur = (e) => e;
|
|
33
|
+
function Dr(e, t) {
|
|
34
|
+
for (const r in t)
|
|
35
|
+
e[r] = t[r];
|
|
36
36
|
return (
|
|
37
37
|
/** @type {T & S} */
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function jt(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function bt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
47
|
function F(e) {
|
|
48
|
-
e.forEach(
|
|
48
|
+
e.forEach(jt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function he(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function kt(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
let
|
|
57
|
-
function
|
|
58
|
-
return e === t ? !0 : (
|
|
56
|
+
let de;
|
|
57
|
+
function Oo(e, t) {
|
|
58
|
+
return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Gr(e) {
|
|
61
61
|
return Object.keys(e).length === 0;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Vt(e, ...t) {
|
|
64
64
|
if (e == null) {
|
|
65
|
-
for (const
|
|
66
|
-
|
|
65
|
+
for (const n of t)
|
|
66
|
+
n(void 0);
|
|
67
67
|
return B;
|
|
68
68
|
}
|
|
69
|
-
const
|
|
70
|
-
return
|
|
69
|
+
const r = e.subscribe(...t);
|
|
70
|
+
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
e.$$.on_destroy.push(
|
|
72
|
+
function Fr(e, t, r) {
|
|
73
|
+
e.$$.on_destroy.push(Vt(t, r));
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function Io(e, t, r, n) {
|
|
76
76
|
if (e) {
|
|
77
|
-
const i =
|
|
77
|
+
const i = Xt(e, t, r, n);
|
|
78
78
|
return e[0](i);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
return e[1] &&
|
|
81
|
+
function Xt(e, t, r, n) {
|
|
82
|
+
return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
if (e[2] &&
|
|
86
|
-
const i = e[2](r
|
|
84
|
+
function Lo(e, t, r, n) {
|
|
85
|
+
if (e[2] && n) {
|
|
86
|
+
const i = e[2](n(r));
|
|
87
87
|
if (t.dirty === void 0)
|
|
88
88
|
return i;
|
|
89
89
|
if (typeof i == "object") {
|
|
@@ -96,40 +96,40 @@ function Ao(e, t, n, r) {
|
|
|
96
96
|
}
|
|
97
97
|
return t.dirty;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function No(e, t, r, n, i, o) {
|
|
100
100
|
if (i) {
|
|
101
|
-
const s =
|
|
101
|
+
const s = Xt(t, r, n, o);
|
|
102
102
|
e.p(s, i);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Mo(e) {
|
|
106
106
|
if (e.ctx.length > 32) {
|
|
107
|
-
const t = [],
|
|
108
|
-
for (let
|
|
109
|
-
t[
|
|
107
|
+
const t = [], r = e.ctx.length / 32;
|
|
108
|
+
for (let n = 0; n < r; n++)
|
|
109
|
+
t[n] = -1;
|
|
110
110
|
return t;
|
|
111
111
|
}
|
|
112
112
|
return -1;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Co(e) {
|
|
115
115
|
return e == null ? "" : e;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
return e &&
|
|
117
|
+
function $o(e) {
|
|
118
|
+
return e && he(e.destroy) ? e.destroy : B;
|
|
119
119
|
}
|
|
120
|
-
const
|
|
121
|
-
let
|
|
120
|
+
const Wt = typeof window != "undefined";
|
|
121
|
+
let jr = Wt ? () => window.performance.now() : () => Date.now(), ut = Wt ? (e) => requestAnimationFrame(e) : B;
|
|
122
122
|
const z = /* @__PURE__ */ new Set();
|
|
123
|
-
function
|
|
123
|
+
function zt(e) {
|
|
124
124
|
z.forEach((t) => {
|
|
125
125
|
t.c(e) || (z.delete(t), t.f());
|
|
126
|
-
}), z.size !== 0 &&
|
|
126
|
+
}), z.size !== 0 && ut(zt);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function kr(e) {
|
|
129
129
|
let t;
|
|
130
|
-
return z.size === 0 &&
|
|
131
|
-
promise: new Promise((
|
|
132
|
-
z.add(t = { c: e, f:
|
|
130
|
+
return z.size === 0 && ut(zt), {
|
|
131
|
+
promise: new Promise((r) => {
|
|
132
|
+
z.add(t = { c: e, f: r });
|
|
133
133
|
}),
|
|
134
134
|
abort() {
|
|
135
135
|
z.delete(t);
|
|
@@ -139,14 +139,14 @@ function Gn(e) {
|
|
|
139
139
|
function P(e, t) {
|
|
140
140
|
e.appendChild(t);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
143
|
-
const
|
|
144
|
-
if (!
|
|
142
|
+
function Vr(e, t, r) {
|
|
143
|
+
const n = ht(e);
|
|
144
|
+
if (!n.getElementById(t)) {
|
|
145
145
|
const i = L("style");
|
|
146
|
-
i.id = t, i.textContent =
|
|
146
|
+
i.id = t, i.textContent = r, Zt(n, i);
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function ht(e) {
|
|
150
150
|
if (!e)
|
|
151
151
|
return document;
|
|
152
152
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -156,26 +156,26 @@ function it(e) {
|
|
|
156
156
|
t
|
|
157
157
|
) : e.ownerDocument;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Xr(e) {
|
|
160
160
|
const t = L("style");
|
|
161
|
-
return t.textContent = "/* empty */",
|
|
161
|
+
return t.textContent = "/* empty */", Zt(ht(e), t), t.sheet;
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Zt(e, t) {
|
|
164
164
|
return P(
|
|
165
165
|
/** @type {Document} */
|
|
166
166
|
e.head || e,
|
|
167
167
|
t
|
|
168
168
|
), t.sheet;
|
|
169
169
|
}
|
|
170
|
-
function
|
|
171
|
-
e.insertBefore(t,
|
|
170
|
+
function K(e, t, r) {
|
|
171
|
+
e.insertBefore(t, r || null);
|
|
172
172
|
}
|
|
173
173
|
function G(e) {
|
|
174
174
|
e.parentNode && e.parentNode.removeChild(e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
for (let
|
|
178
|
-
e[
|
|
176
|
+
function Ro(e, t) {
|
|
177
|
+
for (let r = 0; r < e.length; r += 1)
|
|
178
|
+
e[r] && e[r].d(t);
|
|
179
179
|
}
|
|
180
180
|
function L(e) {
|
|
181
181
|
return document.createElement(e);
|
|
@@ -183,80 +183,80 @@ function L(e) {
|
|
|
183
183
|
function X(e) {
|
|
184
184
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function le(e) {
|
|
187
187
|
return document.createTextNode(e);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
return
|
|
189
|
+
function Wr() {
|
|
190
|
+
return le(" ");
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
return
|
|
192
|
+
function Uo() {
|
|
193
|
+
return le("");
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
return e.addEventListener(t,
|
|
195
|
+
function qt(e, t, r, n) {
|
|
196
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Do(e) {
|
|
199
199
|
return function(t) {
|
|
200
200
|
return t.preventDefault(), e.call(this, t);
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
|
-
function A(e, t,
|
|
204
|
-
|
|
203
|
+
function A(e, t, r) {
|
|
204
|
+
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
const
|
|
208
|
-
|
|
206
|
+
function Go(e, t, r) {
|
|
207
|
+
const n = t.toLowerCase();
|
|
208
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Fo(e) {
|
|
211
211
|
let t;
|
|
212
212
|
return {
|
|
213
213
|
/* push */
|
|
214
|
-
p(...
|
|
215
|
-
t =
|
|
214
|
+
p(...r) {
|
|
215
|
+
t = r, t.forEach((n) => e.push(n));
|
|
216
216
|
},
|
|
217
217
|
/* remove */
|
|
218
218
|
r() {
|
|
219
|
-
t.forEach((
|
|
219
|
+
t.forEach((r) => e.splice(e.indexOf(r), 1));
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function jo(e) {
|
|
224
224
|
return e === "" ? null : +e;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function zr(e) {
|
|
227
227
|
return Array.from(e.childNodes);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function Qt(e, t) {
|
|
230
230
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
231
231
|
t);
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function ko(e, t) {
|
|
234
234
|
e.value = t == null ? "" : t;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
237
|
-
|
|
236
|
+
function Zr(e, t, r, n) {
|
|
237
|
+
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
for (let
|
|
241
|
-
const i = e.options[
|
|
239
|
+
function Vo(e, t, r) {
|
|
240
|
+
for (let n = 0; n < e.options.length; n += 1) {
|
|
241
|
+
const i = e.options[n];
|
|
242
242
|
if (i.__value === t) {
|
|
243
243
|
i.selected = !0;
|
|
244
244
|
return;
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
(!
|
|
247
|
+
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function Xo(e) {
|
|
250
250
|
const t = e.querySelector(":checked");
|
|
251
251
|
return t && t.__value;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
e.classList.toggle(t, !!
|
|
253
|
+
function Wo(e, t, r) {
|
|
254
|
+
e.classList.toggle(t, !!r);
|
|
255
255
|
}
|
|
256
|
-
function
|
|
257
|
-
return new CustomEvent(e, { detail: t, bubbles:
|
|
256
|
+
function qr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
257
|
+
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
258
258
|
}
|
|
259
|
-
class
|
|
259
|
+
class zo {
|
|
260
260
|
constructor(t = !1) {
|
|
261
261
|
/**
|
|
262
262
|
* @private
|
|
@@ -286,17 +286,17 @@ class ko {
|
|
|
286
286
|
* @param {HTMLElement | SVGElement} anchor
|
|
287
287
|
* @returns {void}
|
|
288
288
|
*/
|
|
289
|
-
m(t,
|
|
289
|
+
m(t, r, n = null) {
|
|
290
290
|
this.e || (this.is_svg ? this.e = X(
|
|
291
291
|
/** @type {keyof SVGElementTagNameMap} */
|
|
292
|
-
|
|
292
|
+
r.nodeName
|
|
293
293
|
) : this.e = L(
|
|
294
294
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
295
|
-
|
|
296
|
-
), this.t =
|
|
295
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
296
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
297
297
|
/** @type {HTMLTemplateElement} */
|
|
298
|
-
|
|
299
|
-
), this.c(t)), this.i(
|
|
298
|
+
r.content
|
|
299
|
+
), this.c(t)), this.i(n);
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
302
|
* @param {string} html
|
|
@@ -310,8 +310,8 @@ class ko {
|
|
|
310
310
|
/**
|
|
311
311
|
* @returns {void} */
|
|
312
312
|
i(t) {
|
|
313
|
-
for (let
|
|
314
|
-
|
|
313
|
+
for (let r = 0; r < this.n.length; r += 1)
|
|
314
|
+
K(this.t, this.n[r], t);
|
|
315
315
|
}
|
|
316
316
|
/**
|
|
317
317
|
* @param {string} html
|
|
@@ -326,190 +326,190 @@ class ko {
|
|
|
326
326
|
this.n.forEach(G);
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Qr(e) {
|
|
330
330
|
const t = {};
|
|
331
331
|
return e.childNodes.forEach(
|
|
332
332
|
/** @param {Element} node */
|
|
333
|
-
(
|
|
334
|
-
t[
|
|
333
|
+
(r) => {
|
|
334
|
+
t[r.slot || "default"] = !0;
|
|
335
335
|
}
|
|
336
336
|
), t;
|
|
337
337
|
}
|
|
338
|
-
const
|
|
338
|
+
const xe = /* @__PURE__ */ new Map();
|
|
339
339
|
let Se = 0;
|
|
340
|
-
function
|
|
341
|
-
let t = 5381,
|
|
342
|
-
for (;
|
|
343
|
-
t = (t << 5) - t ^ e.charCodeAt(
|
|
340
|
+
function Jr(e) {
|
|
341
|
+
let t = 5381, r = e.length;
|
|
342
|
+
for (; r--; )
|
|
343
|
+
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
344
344
|
return t >>> 0;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
347
|
-
const
|
|
348
|
-
return
|
|
346
|
+
function Yr(e, t) {
|
|
347
|
+
const r = { stylesheet: Xr(t), rules: {} };
|
|
348
|
+
return xe.set(e, r), r;
|
|
349
349
|
}
|
|
350
|
-
function
|
|
351
|
-
const u = 16.666 /
|
|
350
|
+
function gt(e, t, r, n, i, o, s, a = 0) {
|
|
351
|
+
const u = 16.666 / n;
|
|
352
352
|
let h = `{
|
|
353
353
|
`;
|
|
354
|
-
for (let
|
|
355
|
-
const w = t + (
|
|
356
|
-
h +=
|
|
354
|
+
for (let _ = 0; _ <= 1; _ += u) {
|
|
355
|
+
const w = t + (r - t) * o(_);
|
|
356
|
+
h += _ * 100 + `%{${s(w, 1 - w)}}
|
|
357
357
|
`;
|
|
358
358
|
}
|
|
359
|
-
const l = h + `100% {${s(
|
|
360
|
-
}`,
|
|
361
|
-
|
|
359
|
+
const l = h + `100% {${s(r, 1 - r)}}
|
|
360
|
+
}`, f = `__svelte_${Jr(l)}_${a}`, c = ht(e), { stylesheet: d, rules: p } = xe.get(c) || Yr(c, e);
|
|
361
|
+
p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
|
|
362
362
|
const m = e.style.animation || "";
|
|
363
|
-
return e.style.animation = `${m ? `${m}, ` : ""}${
|
|
363
|
+
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Se += 1, f;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
const
|
|
365
|
+
function Kr(e, t) {
|
|
366
|
+
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
367
367
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
368
368
|
// remove all Svelte animations
|
|
369
|
-
), i =
|
|
370
|
-
i && (e.style.animation =
|
|
369
|
+
), i = r.length - n.length;
|
|
370
|
+
i && (e.style.animation = n.join(", "), Se -= i, Se || en());
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
|
|
374
|
-
Se || (
|
|
372
|
+
function en() {
|
|
373
|
+
ut(() => {
|
|
374
|
+
Se || (xe.forEach((e) => {
|
|
375
375
|
const { ownerNode: t } = e.stylesheet;
|
|
376
376
|
t && G(t);
|
|
377
|
-
}),
|
|
377
|
+
}), xe.clear());
|
|
378
378
|
});
|
|
379
379
|
}
|
|
380
|
-
let
|
|
381
|
-
function
|
|
382
|
-
|
|
380
|
+
let se;
|
|
381
|
+
function oe(e) {
|
|
382
|
+
se = e;
|
|
383
383
|
}
|
|
384
|
-
function
|
|
385
|
-
if (!
|
|
384
|
+
function tn() {
|
|
385
|
+
if (!se)
|
|
386
386
|
throw new Error("Function called outside component initialization");
|
|
387
|
-
return
|
|
387
|
+
return se;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
390
|
-
|
|
389
|
+
function rn(e) {
|
|
390
|
+
tn().$$.on_mount.push(e);
|
|
391
391
|
}
|
|
392
|
-
const W = [],
|
|
392
|
+
const W = [], Xe = [];
|
|
393
393
|
let Z = [];
|
|
394
|
-
const
|
|
395
|
-
let
|
|
396
|
-
function
|
|
397
|
-
|
|
394
|
+
const yt = [], Jt = /* @__PURE__ */ Promise.resolve();
|
|
395
|
+
let We = !1;
|
|
396
|
+
function Yt() {
|
|
397
|
+
We || (We = !0, Jt.then(N));
|
|
398
398
|
}
|
|
399
|
-
function
|
|
400
|
-
return
|
|
399
|
+
function Zo() {
|
|
400
|
+
return Yt(), Jt;
|
|
401
401
|
}
|
|
402
402
|
function Te(e) {
|
|
403
403
|
Z.push(e);
|
|
404
404
|
}
|
|
405
|
-
const
|
|
405
|
+
const $e = /* @__PURE__ */ new Set();
|
|
406
406
|
let k = 0;
|
|
407
407
|
function N() {
|
|
408
408
|
if (k !== 0)
|
|
409
409
|
return;
|
|
410
|
-
const e =
|
|
410
|
+
const e = se;
|
|
411
411
|
do {
|
|
412
412
|
try {
|
|
413
413
|
for (; k < W.length; ) {
|
|
414
414
|
const t = W[k];
|
|
415
|
-
k++,
|
|
415
|
+
k++, oe(t), nn(t.$$);
|
|
416
416
|
}
|
|
417
417
|
} catch (t) {
|
|
418
418
|
throw W.length = 0, k = 0, t;
|
|
419
419
|
}
|
|
420
|
-
for (
|
|
421
|
-
|
|
420
|
+
for (oe(null), W.length = 0, k = 0; Xe.length; )
|
|
421
|
+
Xe.pop()();
|
|
422
422
|
for (let t = 0; t < Z.length; t += 1) {
|
|
423
|
-
const
|
|
424
|
-
|
|
423
|
+
const r = Z[t];
|
|
424
|
+
$e.has(r) || ($e.add(r), r());
|
|
425
425
|
}
|
|
426
426
|
Z.length = 0;
|
|
427
427
|
} while (W.length);
|
|
428
|
-
for (;
|
|
429
|
-
|
|
430
|
-
|
|
428
|
+
for (; yt.length; )
|
|
429
|
+
yt.pop()();
|
|
430
|
+
We = !1, $e.clear(), oe(e);
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function nn(e) {
|
|
433
433
|
if (e.fragment !== null) {
|
|
434
434
|
e.update(), F(e.before_update);
|
|
435
435
|
const t = e.dirty;
|
|
436
436
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
function
|
|
440
|
-
const t = [],
|
|
441
|
-
Z.forEach((
|
|
439
|
+
function on(e) {
|
|
440
|
+
const t = [], r = [];
|
|
441
|
+
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
442
442
|
}
|
|
443
|
-
let
|
|
444
|
-
function
|
|
445
|
-
return
|
|
446
|
-
|
|
447
|
-
})),
|
|
443
|
+
let ne;
|
|
444
|
+
function sn() {
|
|
445
|
+
return ne || (ne = Promise.resolve(), ne.then(() => {
|
|
446
|
+
ne = null;
|
|
447
|
+
})), ne;
|
|
448
448
|
}
|
|
449
|
-
function
|
|
450
|
-
e.dispatchEvent(
|
|
449
|
+
function Re(e, t, r) {
|
|
450
|
+
e.dispatchEvent(qr(`${t ? "intro" : "outro"}${r}`));
|
|
451
451
|
}
|
|
452
452
|
const ge = /* @__PURE__ */ new Set();
|
|
453
|
-
let
|
|
454
|
-
function
|
|
455
|
-
|
|
453
|
+
let C;
|
|
454
|
+
function qo() {
|
|
455
|
+
C = {
|
|
456
456
|
r: 0,
|
|
457
457
|
c: [],
|
|
458
|
-
p:
|
|
458
|
+
p: C
|
|
459
459
|
// parent group
|
|
460
460
|
};
|
|
461
461
|
}
|
|
462
|
-
function
|
|
463
|
-
|
|
462
|
+
function Qo() {
|
|
463
|
+
C.r || F(C.c), C = C.p;
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function an(e, t) {
|
|
466
466
|
e && e.i && (ge.delete(e), e.i(t));
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function Jo(e, t, r, n) {
|
|
469
469
|
if (e && e.o) {
|
|
470
470
|
if (ge.has(e))
|
|
471
471
|
return;
|
|
472
|
-
ge.add(e),
|
|
473
|
-
ge.delete(e),
|
|
472
|
+
ge.add(e), C.c.push(() => {
|
|
473
|
+
ge.delete(e), n && (r && e.d(1), n());
|
|
474
474
|
}), e.o(t);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
n && n();
|
|
477
477
|
}
|
|
478
|
-
const
|
|
479
|
-
function
|
|
480
|
-
let o = t(e,
|
|
481
|
-
function
|
|
482
|
-
h &&
|
|
478
|
+
const un = { duration: 0 };
|
|
479
|
+
function Yo(e, t, r, n) {
|
|
480
|
+
let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, h = null, l;
|
|
481
|
+
function f() {
|
|
482
|
+
h && Kr(e, h);
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
const
|
|
484
|
+
function c(p, m) {
|
|
485
|
+
const _ = (
|
|
486
486
|
/** @type {Program['d']} */
|
|
487
|
-
|
|
487
|
+
p.b - s
|
|
488
488
|
);
|
|
489
|
-
return m *= Math.abs(
|
|
489
|
+
return m *= Math.abs(_), {
|
|
490
490
|
a: s,
|
|
491
|
-
b:
|
|
492
|
-
d:
|
|
491
|
+
b: p.b,
|
|
492
|
+
d: _,
|
|
493
493
|
duration: m,
|
|
494
|
-
start:
|
|
495
|
-
end:
|
|
496
|
-
group:
|
|
494
|
+
start: p.start,
|
|
495
|
+
end: p.start + m,
|
|
496
|
+
group: p.group
|
|
497
497
|
};
|
|
498
498
|
}
|
|
499
|
-
function p
|
|
499
|
+
function d(p) {
|
|
500
500
|
const {
|
|
501
501
|
delay: m = 0,
|
|
502
|
-
duration:
|
|
503
|
-
easing: w =
|
|
502
|
+
duration: _ = 300,
|
|
503
|
+
easing: w = Ur,
|
|
504
504
|
tick: O = B,
|
|
505
|
-
css:
|
|
506
|
-
} = o ||
|
|
507
|
-
start:
|
|
508
|
-
b:
|
|
505
|
+
css: x
|
|
506
|
+
} = o || un, I = {
|
|
507
|
+
start: jr() + m,
|
|
508
|
+
b: p
|
|
509
509
|
};
|
|
510
|
-
|
|
511
|
-
e.inert, e.inert = !0)), a || u ? u = I : (
|
|
512
|
-
if (u && H > u.start && (a =
|
|
510
|
+
p || (I.group = C, C.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
|
|
511
|
+
e.inert, e.inert = !0)), a || u ? u = I : (x && (f(), h = gt(e, s, p, _, m, w, x)), p && O(0, 1), a = c(I, _), Te(() => Re(e, p, "start")), kr((H) => {
|
|
512
|
+
if (u && H > u.start && (a = c(u, _), u = null, Re(e, a.b, "start"), x && (f(), h = gt(
|
|
513
513
|
e,
|
|
514
514
|
s,
|
|
515
515
|
a.b,
|
|
@@ -519,7 +519,7 @@ function Zo(e, t, n, r) {
|
|
|
519
519
|
o.css
|
|
520
520
|
))), a) {
|
|
521
521
|
if (H >= a.end)
|
|
522
|
-
O(s = a.b, 1 - s),
|
|
522
|
+
O(s = a.b, 1 - s), Re(e, a.b, "end"), u || (a.b ? f() : --a.group.r || F(a.group.c)), a = null;
|
|
523
523
|
else if (H >= a.start) {
|
|
524
524
|
const R = H - a.start;
|
|
525
525
|
s = a.a + a.d * w(R / a.duration), O(s, 1 - s);
|
|
@@ -529,36 +529,36 @@ function Zo(e, t, n, r) {
|
|
|
529
529
|
}));
|
|
530
530
|
}
|
|
531
531
|
return {
|
|
532
|
-
run(
|
|
533
|
-
|
|
534
|
-
o = o({ direction:
|
|
535
|
-
}) : p
|
|
532
|
+
run(p) {
|
|
533
|
+
he(o) ? sn().then(() => {
|
|
534
|
+
o = o({ direction: p ? "in" : "out" }), d(p);
|
|
535
|
+
}) : d(p);
|
|
536
536
|
},
|
|
537
537
|
end() {
|
|
538
|
-
|
|
538
|
+
f(), a = u = null;
|
|
539
539
|
}
|
|
540
540
|
};
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Ko(e) {
|
|
543
543
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
544
544
|
}
|
|
545
|
-
function
|
|
546
|
-
const { fragment:
|
|
547
|
-
|
|
548
|
-
const o = e.$$.on_mount.map(
|
|
545
|
+
function hn(e, t, r) {
|
|
546
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
547
|
+
n && n.m(t, r), Te(() => {
|
|
548
|
+
const o = e.$$.on_mount.map(jt).filter(he);
|
|
549
549
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
|
|
550
550
|
}), i.forEach(Te);
|
|
551
551
|
}
|
|
552
|
-
function
|
|
553
|
-
const
|
|
554
|
-
|
|
552
|
+
function ln(e, t) {
|
|
553
|
+
const r = e.$$;
|
|
554
|
+
r.fragment !== null && (on(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
555
555
|
}
|
|
556
|
-
function
|
|
557
|
-
e.$$.dirty[0] === -1 && (W.push(e),
|
|
556
|
+
function cn(e, t) {
|
|
557
|
+
e.$$.dirty[0] === -1 && (W.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
560
|
-
const u =
|
|
561
|
-
|
|
559
|
+
function fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
560
|
+
const u = se;
|
|
561
|
+
oe(e);
|
|
562
562
|
const h = e.$$ = {
|
|
563
563
|
fragment: null,
|
|
564
564
|
ctx: [],
|
|
@@ -566,7 +566,7 @@ function ur(e, t, n, r, i, o, s = null, a = [-1]) {
|
|
|
566
566
|
props: o,
|
|
567
567
|
update: B,
|
|
568
568
|
not_equal: i,
|
|
569
|
-
bound:
|
|
569
|
+
bound: bt(),
|
|
570
570
|
// lifecycle
|
|
571
571
|
on_mount: [],
|
|
572
572
|
on_destroy: [],
|
|
@@ -575,29 +575,29 @@ function ur(e, t, n, r, i, o, s = null, a = [-1]) {
|
|
|
575
575
|
after_update: [],
|
|
576
576
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
577
577
|
// everything else
|
|
578
|
-
callbacks:
|
|
578
|
+
callbacks: bt(),
|
|
579
579
|
dirty: a,
|
|
580
580
|
skip_bound: !1,
|
|
581
581
|
root: t.target || u.$$.root
|
|
582
582
|
};
|
|
583
583
|
s && s(h.root);
|
|
584
584
|
let l = !1;
|
|
585
|
-
if (h.ctx =
|
|
586
|
-
const
|
|
587
|
-
return h.ctx && i(h.ctx[
|
|
588
|
-
}) : [], h.update(), l = !0, F(h.before_update), h.fragment =
|
|
585
|
+
if (h.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
586
|
+
const p = d.length ? d[0] : c;
|
|
587
|
+
return h.ctx && i(h.ctx[f], h.ctx[f] = p) && (!h.skip_bound && h.bound[f] && h.bound[f](p), l && cn(e, f)), c;
|
|
588
|
+
}) : [], h.update(), l = !0, F(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
589
589
|
if (t.hydrate) {
|
|
590
|
-
const
|
|
591
|
-
h.fragment && h.fragment.l(
|
|
590
|
+
const f = zr(t.target);
|
|
591
|
+
h.fragment && h.fragment.l(f), f.forEach(G);
|
|
592
592
|
} else
|
|
593
593
|
h.fragment && h.fragment.c();
|
|
594
|
-
t.intro &&
|
|
594
|
+
t.intro && an(e.$$.fragment), hn(e, t.target, t.anchor), N();
|
|
595
595
|
}
|
|
596
|
-
|
|
596
|
+
oe(u);
|
|
597
597
|
}
|
|
598
|
-
let
|
|
599
|
-
typeof HTMLElement == "function" && (
|
|
600
|
-
constructor(t,
|
|
598
|
+
let Kt;
|
|
599
|
+
typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
600
|
+
constructor(t, r, n) {
|
|
601
601
|
super();
|
|
602
602
|
/** The Svelte component constructor */
|
|
603
603
|
S(this, "$$ctor");
|
|
@@ -617,23 +617,23 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
617
617
|
S(this, "$$l", {});
|
|
618
618
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
619
619
|
S(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
620
|
-
this.$$ctor = t, this.$$s =
|
|
620
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
621
621
|
}
|
|
622
|
-
addEventListener(t,
|
|
623
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
624
|
-
const i = this.$$c.$on(t,
|
|
625
|
-
this.$$l_u.set(
|
|
622
|
+
addEventListener(t, r, n) {
|
|
623
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
624
|
+
const i = this.$$c.$on(t, r);
|
|
625
|
+
this.$$l_u.set(r, i);
|
|
626
626
|
}
|
|
627
|
-
super.addEventListener(t,
|
|
627
|
+
super.addEventListener(t, r, n);
|
|
628
628
|
}
|
|
629
|
-
removeEventListener(t,
|
|
630
|
-
if (super.removeEventListener(t,
|
|
631
|
-
const i = this.$$l_u.get(
|
|
632
|
-
i && (i(), this.$$l_u.delete(
|
|
629
|
+
removeEventListener(t, r, n) {
|
|
630
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
631
|
+
const i = this.$$l_u.get(r);
|
|
632
|
+
i && (i(), this.$$l_u.delete(r));
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
connectedCallback() {
|
|
636
|
-
return
|
|
636
|
+
return mt(this, null, function* () {
|
|
637
637
|
if (this.$$cn = !0, !this.$$c) {
|
|
638
638
|
let t = function(o) {
|
|
639
639
|
return () => {
|
|
@@ -647,7 +647,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
647
647
|
* @param {HTMLElement} [anchor]
|
|
648
648
|
*/
|
|
649
649
|
m: function(h, l) {
|
|
650
|
-
|
|
650
|
+
K(h, s, l);
|
|
651
651
|
},
|
|
652
652
|
d: function(h) {
|
|
653
653
|
h && G(s);
|
|
@@ -657,9 +657,9 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
657
657
|
};
|
|
658
658
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
659
659
|
return;
|
|
660
|
-
const
|
|
660
|
+
const r = {}, n = Qr(this);
|
|
661
661
|
for (const o of this.$$s)
|
|
662
|
-
o in
|
|
662
|
+
o in n && (r[o] = [t(o)]);
|
|
663
663
|
for (const o of this.attributes) {
|
|
664
664
|
const s = this.$$g_p(o.name);
|
|
665
665
|
s in this.$$d || (this.$$d[s] = ye(s, o.value, this.$$p_d, "toProp"));
|
|
@@ -668,8 +668,8 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
668
668
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
669
669
|
this.$$c = new this.$$ctor({
|
|
670
670
|
target: this.shadowRoot || this,
|
|
671
|
-
props:
|
|
672
|
-
$$slots:
|
|
671
|
+
props: dt(pt({}, this.$$d), {
|
|
672
|
+
$$slots: r,
|
|
673
673
|
$$scope: {
|
|
674
674
|
ctx: []
|
|
675
675
|
}
|
|
@@ -701,9 +701,9 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
701
701
|
}
|
|
702
702
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
703
703
|
// and setting attributes through setAttribute etc, this is helpful
|
|
704
|
-
attributeChangedCallback(t,
|
|
704
|
+
attributeChangedCallback(t, r, n) {
|
|
705
705
|
var i;
|
|
706
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t,
|
|
706
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
707
707
|
}
|
|
708
708
|
disconnectedCallback() {
|
|
709
709
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -712,16 +712,16 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
712
712
|
}
|
|
713
713
|
$$g_p(t) {
|
|
714
714
|
return Object.keys(this.$$p_d).find(
|
|
715
|
-
(
|
|
715
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
716
716
|
) || t;
|
|
717
717
|
}
|
|
718
718
|
});
|
|
719
|
-
function ye(e, t,
|
|
719
|
+
function ye(e, t, r, n) {
|
|
720
720
|
var o;
|
|
721
|
-
const i = (o =
|
|
722
|
-
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
721
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
722
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
723
723
|
return t;
|
|
724
|
-
if (
|
|
724
|
+
if (n === "toAttribute")
|
|
725
725
|
switch (i) {
|
|
726
726
|
case "Object":
|
|
727
727
|
case "Array":
|
|
@@ -746,10 +746,10 @@ function ye(e, t, n, r) {
|
|
|
746
746
|
return t;
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
|
-
function
|
|
750
|
-
let s = class extends
|
|
749
|
+
function pn(e, t, r, n, i, o) {
|
|
750
|
+
let s = class extends Kt {
|
|
751
751
|
constructor() {
|
|
752
|
-
super(e,
|
|
752
|
+
super(e, r, i), this.$$p_d = t;
|
|
753
753
|
}
|
|
754
754
|
static get observedAttributes() {
|
|
755
755
|
return Object.keys(t).map(
|
|
@@ -767,7 +767,7 @@ function hr(e, t, n, r, i, o) {
|
|
|
767
767
|
u = ye(a, u, t), this.$$d[a] = u, (h = this.$$c) == null || h.$set({ [a]: u });
|
|
768
768
|
}
|
|
769
769
|
});
|
|
770
|
-
}),
|
|
770
|
+
}), n.forEach((a) => {
|
|
771
771
|
Object.defineProperty(s.prototype, a, {
|
|
772
772
|
get() {
|
|
773
773
|
var u;
|
|
@@ -777,7 +777,7 @@ function hr(e, t, n, r, i, o) {
|
|
|
777
777
|
}), e.element = /** @type {any} */
|
|
778
778
|
s, s;
|
|
779
779
|
}
|
|
780
|
-
class
|
|
780
|
+
class dn {
|
|
781
781
|
constructor() {
|
|
782
782
|
/**
|
|
783
783
|
* ### PRIVATE API
|
|
@@ -798,7 +798,7 @@ class lr {
|
|
|
798
798
|
}
|
|
799
799
|
/** @returns {void} */
|
|
800
800
|
$destroy() {
|
|
801
|
-
|
|
801
|
+
ln(this, 1), this.$destroy = B;
|
|
802
802
|
}
|
|
803
803
|
/**
|
|
804
804
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -806,13 +806,13 @@ class lr {
|
|
|
806
806
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
807
807
|
* @returns {() => void}
|
|
808
808
|
*/
|
|
809
|
-
$on(t,
|
|
810
|
-
if (!
|
|
809
|
+
$on(t, r) {
|
|
810
|
+
if (!he(r))
|
|
811
811
|
return B;
|
|
812
|
-
const
|
|
813
|
-
return
|
|
814
|
-
const i =
|
|
815
|
-
i !== -1 &&
|
|
812
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
813
|
+
return n.push(r), () => {
|
|
814
|
+
const i = n.indexOf(r);
|
|
815
|
+
i !== -1 && n.splice(i, 1);
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
818
|
/**
|
|
@@ -820,11 +820,11 @@ class lr {
|
|
|
820
820
|
* @returns {void}
|
|
821
821
|
*/
|
|
822
822
|
$set(t) {
|
|
823
|
-
this.$$set && !
|
|
823
|
+
this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
|
-
const
|
|
827
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
826
|
+
const mn = "4";
|
|
827
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
|
|
828
828
|
/*! *****************************************************************************
|
|
829
829
|
Copyright (c) Microsoft Corporation.
|
|
830
830
|
|
|
@@ -839,67 +839,48 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
839
839
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
840
840
|
PERFORMANCE OF THIS SOFTWARE.
|
|
841
841
|
***************************************************************************** */
|
|
842
|
-
var
|
|
843
|
-
return
|
|
844
|
-
|
|
845
|
-
} || function(
|
|
846
|
-
for (var i in
|
|
847
|
-
Object.prototype.hasOwnProperty.call(
|
|
848
|
-
},
|
|
842
|
+
var ze = function(e, t) {
|
|
843
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
844
|
+
r.__proto__ = n;
|
|
845
|
+
} || function(r, n) {
|
|
846
|
+
for (var i in n)
|
|
847
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
848
|
+
}, ze(e, t);
|
|
849
849
|
};
|
|
850
|
-
function
|
|
850
|
+
function ce(e, t) {
|
|
851
851
|
if (typeof t != "function" && t !== null)
|
|
852
852
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
853
|
-
|
|
854
|
-
function
|
|
853
|
+
ze(e, t);
|
|
854
|
+
function r() {
|
|
855
855
|
this.constructor = e;
|
|
856
856
|
}
|
|
857
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
858
|
-
}
|
|
859
|
-
var y = function() {
|
|
860
|
-
return y = Object.assign || function(t) {
|
|
861
|
-
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
862
|
-
n = arguments[r];
|
|
863
|
-
for (var o in n)
|
|
864
|
-
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
865
|
-
}
|
|
866
|
-
return t;
|
|
867
|
-
}, y.apply(this, arguments);
|
|
868
|
-
};
|
|
869
|
-
function cr(e, t) {
|
|
870
|
-
var n = {};
|
|
871
|
-
for (var r in e)
|
|
872
|
-
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
873
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
874
|
-
for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
|
|
875
|
-
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
876
|
-
return n;
|
|
857
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
877
858
|
}
|
|
878
|
-
function
|
|
879
|
-
var t = typeof Symbol == "function" && Symbol.iterator,
|
|
880
|
-
if (
|
|
881
|
-
return
|
|
859
|
+
function Ze(e) {
|
|
860
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
861
|
+
if (r)
|
|
862
|
+
return r.call(e);
|
|
882
863
|
if (e && typeof e.length == "number")
|
|
883
864
|
return {
|
|
884
865
|
next: function() {
|
|
885
|
-
return e &&
|
|
866
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
886
867
|
}
|
|
887
868
|
};
|
|
888
869
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
889
870
|
}
|
|
890
|
-
function
|
|
891
|
-
var
|
|
892
|
-
if (!
|
|
871
|
+
function qe(e, t) {
|
|
872
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
873
|
+
if (!r)
|
|
893
874
|
return e;
|
|
894
|
-
var
|
|
875
|
+
var n = r.call(e), i, o = [], s;
|
|
895
876
|
try {
|
|
896
|
-
for (; (t === void 0 || t-- > 0) && !(i =
|
|
877
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
897
878
|
o.push(i.value);
|
|
898
879
|
} catch (a) {
|
|
899
880
|
s = { error: a };
|
|
900
881
|
} finally {
|
|
901
882
|
try {
|
|
902
|
-
i && !i.done && (
|
|
883
|
+
i && !i.done && (r = n.return) && r.call(n);
|
|
903
884
|
} finally {
|
|
904
885
|
if (s)
|
|
905
886
|
throw s.error;
|
|
@@ -907,49 +888,49 @@ function We(e, t) {
|
|
|
907
888
|
}
|
|
908
889
|
return o;
|
|
909
890
|
}
|
|
910
|
-
function
|
|
911
|
-
if (
|
|
912
|
-
for (var
|
|
913
|
-
(o || !(
|
|
891
|
+
function Qe(e, t, r) {
|
|
892
|
+
if (arguments.length === 2)
|
|
893
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
894
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
914
895
|
return e.concat(o || t);
|
|
915
896
|
}
|
|
916
|
-
function
|
|
897
|
+
function $(e) {
|
|
917
898
|
return typeof e == "function";
|
|
918
899
|
}
|
|
919
|
-
function
|
|
920
|
-
var t = function(
|
|
921
|
-
Error.call(
|
|
922
|
-
},
|
|
923
|
-
return
|
|
924
|
-
}
|
|
925
|
-
var
|
|
926
|
-
return function(
|
|
927
|
-
e(this), this.message =
|
|
928
|
-
` +
|
|
929
|
-
return i + 1 + ") " +
|
|
900
|
+
function er(e) {
|
|
901
|
+
var t = function(n) {
|
|
902
|
+
Error.call(n), n.stack = new Error().stack;
|
|
903
|
+
}, r = e(t);
|
|
904
|
+
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
905
|
+
}
|
|
906
|
+
var Ue = er(function(e) {
|
|
907
|
+
return function(r) {
|
|
908
|
+
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
909
|
+
` + r.map(function(n, i) {
|
|
910
|
+
return i + 1 + ") " + n.toString();
|
|
930
911
|
}).join(`
|
|
931
|
-
`) : "", this.name = "UnsubscriptionError", this.errors =
|
|
912
|
+
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
932
913
|
};
|
|
933
914
|
});
|
|
934
|
-
function
|
|
915
|
+
function Je(e, t) {
|
|
935
916
|
if (e) {
|
|
936
|
-
var
|
|
937
|
-
0 <=
|
|
917
|
+
var r = e.indexOf(t);
|
|
918
|
+
0 <= r && e.splice(r, 1);
|
|
938
919
|
}
|
|
939
920
|
}
|
|
940
|
-
var
|
|
921
|
+
var Ae = function() {
|
|
941
922
|
function e(t) {
|
|
942
923
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
943
924
|
}
|
|
944
925
|
return e.prototype.unsubscribe = function() {
|
|
945
|
-
var t,
|
|
926
|
+
var t, r, n, i, o;
|
|
946
927
|
if (!this.closed) {
|
|
947
928
|
this.closed = !0;
|
|
948
929
|
var s = this._parentage;
|
|
949
930
|
if (s)
|
|
950
931
|
if (this._parentage = null, Array.isArray(s))
|
|
951
932
|
try {
|
|
952
|
-
for (var a =
|
|
933
|
+
for (var a = Ze(s), u = a.next(); !u.done; u = a.next()) {
|
|
953
934
|
var h = u.value;
|
|
954
935
|
h.remove(this);
|
|
955
936
|
}
|
|
@@ -957,7 +938,7 @@ var Be = function() {
|
|
|
957
938
|
t = { error: m };
|
|
958
939
|
} finally {
|
|
959
940
|
try {
|
|
960
|
-
u && !u.done && (
|
|
941
|
+
u && !u.done && (r = a.return) && r.call(a);
|
|
961
942
|
} finally {
|
|
962
943
|
if (t)
|
|
963
944
|
throw t.error;
|
|
@@ -966,122 +947,118 @@ var Be = function() {
|
|
|
966
947
|
else
|
|
967
948
|
s.remove(this);
|
|
968
949
|
var l = this.initialTeardown;
|
|
969
|
-
if (
|
|
950
|
+
if ($(l))
|
|
970
951
|
try {
|
|
971
952
|
l();
|
|
972
953
|
} catch (m) {
|
|
973
|
-
o = m instanceof
|
|
954
|
+
o = m instanceof Ue ? m.errors : [m];
|
|
974
955
|
}
|
|
975
|
-
var
|
|
976
|
-
if (
|
|
956
|
+
var f = this._finalizers;
|
|
957
|
+
if (f) {
|
|
977
958
|
this._finalizers = null;
|
|
978
959
|
try {
|
|
979
|
-
for (var
|
|
980
|
-
var
|
|
960
|
+
for (var c = Ze(f), d = c.next(); !d.done; d = c.next()) {
|
|
961
|
+
var p = d.value;
|
|
981
962
|
try {
|
|
982
|
-
|
|
963
|
+
vt(p);
|
|
983
964
|
} catch (m) {
|
|
984
|
-
o = o != null ? o : [], m instanceof
|
|
965
|
+
o = o != null ? o : [], m instanceof Ue ? o = Qe(Qe([], qe(o)), qe(m.errors)) : o.push(m);
|
|
985
966
|
}
|
|
986
967
|
}
|
|
987
968
|
} catch (m) {
|
|
988
|
-
|
|
969
|
+
n = { error: m };
|
|
989
970
|
} finally {
|
|
990
971
|
try {
|
|
991
|
-
|
|
972
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
992
973
|
} finally {
|
|
993
|
-
if (
|
|
994
|
-
throw
|
|
974
|
+
if (n)
|
|
975
|
+
throw n.error;
|
|
995
976
|
}
|
|
996
977
|
}
|
|
997
978
|
}
|
|
998
979
|
if (o)
|
|
999
|
-
throw new
|
|
980
|
+
throw new Ue(o);
|
|
1000
981
|
}
|
|
1001
982
|
}, e.prototype.add = function(t) {
|
|
1002
|
-
var
|
|
983
|
+
var r;
|
|
1003
984
|
if (t && t !== this)
|
|
1004
985
|
if (this.closed)
|
|
1005
|
-
|
|
986
|
+
vt(t);
|
|
1006
987
|
else {
|
|
1007
988
|
if (t instanceof e) {
|
|
1008
989
|
if (t.closed || t._hasParent(this))
|
|
1009
990
|
return;
|
|
1010
991
|
t._addParent(this);
|
|
1011
992
|
}
|
|
1012
|
-
(this._finalizers = (
|
|
993
|
+
(this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
|
|
1013
994
|
}
|
|
1014
995
|
}, e.prototype._hasParent = function(t) {
|
|
1015
|
-
var
|
|
1016
|
-
return
|
|
996
|
+
var r = this._parentage;
|
|
997
|
+
return r === t || Array.isArray(r) && r.includes(t);
|
|
1017
998
|
}, e.prototype._addParent = function(t) {
|
|
1018
|
-
var
|
|
1019
|
-
this._parentage = Array.isArray(
|
|
999
|
+
var r = this._parentage;
|
|
1000
|
+
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
1020
1001
|
}, e.prototype._removeParent = function(t) {
|
|
1021
|
-
var
|
|
1022
|
-
|
|
1002
|
+
var r = this._parentage;
|
|
1003
|
+
r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
|
|
1023
1004
|
}, e.prototype.remove = function(t) {
|
|
1024
|
-
var
|
|
1025
|
-
|
|
1005
|
+
var r = this._finalizers;
|
|
1006
|
+
r && Je(r, t), t instanceof e && t._removeParent(this);
|
|
1026
1007
|
}, e.EMPTY = function() {
|
|
1027
1008
|
var t = new e();
|
|
1028
1009
|
return t.closed = !0, t;
|
|
1029
1010
|
}(), e;
|
|
1030
|
-
}(),
|
|
1031
|
-
function
|
|
1032
|
-
return e instanceof
|
|
1033
|
-
}
|
|
1034
|
-
function
|
|
1035
|
-
|
|
1036
|
-
}
|
|
1037
|
-
var
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
Promise: void 0,
|
|
1041
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
1042
|
-
useDeprecatedNextContext: !1
|
|
1043
|
-
}, pr = {
|
|
1011
|
+
}(), tr = Ae.EMPTY;
|
|
1012
|
+
function rr(e) {
|
|
1013
|
+
return e instanceof Ae || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
1014
|
+
}
|
|
1015
|
+
function vt(e) {
|
|
1016
|
+
$(e) ? e() : e.unsubscribe();
|
|
1017
|
+
}
|
|
1018
|
+
var bn = {
|
|
1019
|
+
Promise: void 0
|
|
1020
|
+
}, gn = {
|
|
1044
1021
|
setTimeout: function(e, t) {
|
|
1045
|
-
for (var
|
|
1046
|
-
n
|
|
1047
|
-
return setTimeout.apply(void 0,
|
|
1022
|
+
for (var r = [], n = 2; n < arguments.length; n++)
|
|
1023
|
+
r[n - 2] = arguments[n];
|
|
1024
|
+
return setTimeout.apply(void 0, Qe([e, t], qe(r)));
|
|
1048
1025
|
},
|
|
1049
1026
|
clearTimeout: function(e) {
|
|
1050
1027
|
return clearTimeout(e);
|
|
1051
1028
|
},
|
|
1052
1029
|
delegate: void 0
|
|
1053
1030
|
};
|
|
1054
|
-
function
|
|
1055
|
-
|
|
1031
|
+
function yn(e) {
|
|
1032
|
+
gn.setTimeout(function() {
|
|
1056
1033
|
throw e;
|
|
1057
1034
|
});
|
|
1058
1035
|
}
|
|
1059
|
-
function
|
|
1036
|
+
function _t() {
|
|
1060
1037
|
}
|
|
1061
|
-
function
|
|
1038
|
+
function ve(e) {
|
|
1062
1039
|
e();
|
|
1063
1040
|
}
|
|
1064
|
-
var
|
|
1065
|
-
|
|
1066
|
-
function t(
|
|
1067
|
-
var
|
|
1068
|
-
return
|
|
1041
|
+
var nr = function(e) {
|
|
1042
|
+
ce(t, e);
|
|
1043
|
+
function t(r) {
|
|
1044
|
+
var n = e.call(this) || this;
|
|
1045
|
+
return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = En, n;
|
|
1069
1046
|
}
|
|
1070
|
-
return t.create = function(
|
|
1071
|
-
return new
|
|
1072
|
-
}, t.prototype.next = function(
|
|
1073
|
-
this.isStopped || this._next(
|
|
1074
|
-
}, t.prototype.error = function(
|
|
1075
|
-
this.isStopped || (this.isStopped = !0, this._error(
|
|
1047
|
+
return t.create = function(r, n, i) {
|
|
1048
|
+
return new Ye(r, n, i);
|
|
1049
|
+
}, t.prototype.next = function(r) {
|
|
1050
|
+
this.isStopped || this._next(r);
|
|
1051
|
+
}, t.prototype.error = function(r) {
|
|
1052
|
+
this.isStopped || (this.isStopped = !0, this._error(r));
|
|
1076
1053
|
}, t.prototype.complete = function() {
|
|
1077
1054
|
this.isStopped || (this.isStopped = !0, this._complete());
|
|
1078
1055
|
}, t.prototype.unsubscribe = function() {
|
|
1079
1056
|
this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
|
|
1080
|
-
}, t.prototype._next = function(
|
|
1081
|
-
this.destination.next(
|
|
1082
|
-
}, t.prototype._error = function(
|
|
1057
|
+
}, t.prototype._next = function(r) {
|
|
1058
|
+
this.destination.next(r);
|
|
1059
|
+
}, t.prototype._error = function(r) {
|
|
1083
1060
|
try {
|
|
1084
|
-
this.destination.error(
|
|
1061
|
+
this.destination.error(r);
|
|
1085
1062
|
} finally {
|
|
1086
1063
|
this.unsubscribe();
|
|
1087
1064
|
}
|
|
@@ -1092,25 +1069,25 @@ var Kt = function(e) {
|
|
|
1092
1069
|
this.unsubscribe();
|
|
1093
1070
|
}
|
|
1094
1071
|
}, t;
|
|
1095
|
-
}(
|
|
1072
|
+
}(Ae), vn = function() {
|
|
1096
1073
|
function e(t) {
|
|
1097
1074
|
this.partialObserver = t;
|
|
1098
1075
|
}
|
|
1099
1076
|
return e.prototype.next = function(t) {
|
|
1100
|
-
var
|
|
1101
|
-
if (
|
|
1077
|
+
var r = this.partialObserver;
|
|
1078
|
+
if (r.next)
|
|
1102
1079
|
try {
|
|
1103
|
-
|
|
1104
|
-
} catch (
|
|
1105
|
-
me(
|
|
1080
|
+
r.next(t);
|
|
1081
|
+
} catch (n) {
|
|
1082
|
+
me(n);
|
|
1106
1083
|
}
|
|
1107
1084
|
}, e.prototype.error = function(t) {
|
|
1108
|
-
var
|
|
1109
|
-
if (
|
|
1085
|
+
var r = this.partialObserver;
|
|
1086
|
+
if (r.error)
|
|
1110
1087
|
try {
|
|
1111
|
-
|
|
1112
|
-
} catch (
|
|
1113
|
-
me(
|
|
1088
|
+
r.error(t);
|
|
1089
|
+
} catch (n) {
|
|
1090
|
+
me(n);
|
|
1114
1091
|
}
|
|
1115
1092
|
else
|
|
1116
1093
|
me(t);
|
|
@@ -1119,69 +1096,69 @@ var Kt = function(e) {
|
|
|
1119
1096
|
if (t.complete)
|
|
1120
1097
|
try {
|
|
1121
1098
|
t.complete();
|
|
1122
|
-
} catch (
|
|
1123
|
-
me(
|
|
1099
|
+
} catch (r) {
|
|
1100
|
+
me(r);
|
|
1124
1101
|
}
|
|
1125
1102
|
}, e;
|
|
1126
|
-
}(),
|
|
1127
|
-
|
|
1128
|
-
function t(
|
|
1103
|
+
}(), Ye = function(e) {
|
|
1104
|
+
ce(t, e);
|
|
1105
|
+
function t(r, n, i) {
|
|
1129
1106
|
var o = e.call(this) || this, s;
|
|
1130
|
-
return
|
|
1131
|
-
next:
|
|
1132
|
-
error:
|
|
1107
|
+
return $(r) || !r ? s = {
|
|
1108
|
+
next: r != null ? r : void 0,
|
|
1109
|
+
error: n != null ? n : void 0,
|
|
1133
1110
|
complete: i != null ? i : void 0
|
|
1134
|
-
} : s =
|
|
1111
|
+
} : s = r, o.destination = new vn(s), o;
|
|
1135
1112
|
}
|
|
1136
1113
|
return t;
|
|
1137
|
-
}(
|
|
1114
|
+
}(nr);
|
|
1138
1115
|
function me(e) {
|
|
1139
|
-
|
|
1116
|
+
yn(e);
|
|
1140
1117
|
}
|
|
1141
|
-
function
|
|
1118
|
+
function _n(e) {
|
|
1142
1119
|
throw e;
|
|
1143
1120
|
}
|
|
1144
|
-
var
|
|
1121
|
+
var En = {
|
|
1145
1122
|
closed: !0,
|
|
1146
|
-
next:
|
|
1147
|
-
error:
|
|
1148
|
-
complete:
|
|
1149
|
-
},
|
|
1123
|
+
next: _t,
|
|
1124
|
+
error: _n,
|
|
1125
|
+
complete: _t
|
|
1126
|
+
}, xn = function() {
|
|
1150
1127
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1151
1128
|
}();
|
|
1152
|
-
function
|
|
1129
|
+
function Sn(e) {
|
|
1153
1130
|
return e;
|
|
1154
1131
|
}
|
|
1155
|
-
function
|
|
1156
|
-
return e.length === 0 ?
|
|
1157
|
-
return e.reduce(function(
|
|
1158
|
-
return i(
|
|
1159
|
-
},
|
|
1132
|
+
function Tn(e) {
|
|
1133
|
+
return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
|
|
1134
|
+
return e.reduce(function(n, i) {
|
|
1135
|
+
return i(n);
|
|
1136
|
+
}, r);
|
|
1160
1137
|
};
|
|
1161
1138
|
}
|
|
1162
|
-
var
|
|
1139
|
+
var Et = function() {
|
|
1163
1140
|
function e(t) {
|
|
1164
1141
|
t && (this._subscribe = t);
|
|
1165
1142
|
}
|
|
1166
1143
|
return e.prototype.lift = function(t) {
|
|
1167
|
-
var
|
|
1168
|
-
return
|
|
1169
|
-
}, e.prototype.subscribe = function(t,
|
|
1170
|
-
var i = this, o =
|
|
1171
|
-
return
|
|
1144
|
+
var r = new e();
|
|
1145
|
+
return r.source = this, r.operator = t, r;
|
|
1146
|
+
}, e.prototype.subscribe = function(t, r, n) {
|
|
1147
|
+
var i = this, o = Hn(t) ? t : new Ye(t, r, n);
|
|
1148
|
+
return ve(function() {
|
|
1172
1149
|
var s = i, a = s.operator, u = s.source;
|
|
1173
1150
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
1174
1151
|
}), o;
|
|
1175
1152
|
}, e.prototype._trySubscribe = function(t) {
|
|
1176
1153
|
try {
|
|
1177
1154
|
return this._subscribe(t);
|
|
1178
|
-
} catch (
|
|
1179
|
-
t.error(
|
|
1155
|
+
} catch (r) {
|
|
1156
|
+
t.error(r);
|
|
1180
1157
|
}
|
|
1181
|
-
}, e.prototype.forEach = function(t,
|
|
1182
|
-
var
|
|
1183
|
-
return
|
|
1184
|
-
var s = new
|
|
1158
|
+
}, e.prototype.forEach = function(t, r) {
|
|
1159
|
+
var n = this;
|
|
1160
|
+
return r = xt(r), new r(function(i, o) {
|
|
1161
|
+
var s = new Ye({
|
|
1185
1162
|
next: function(a) {
|
|
1186
1163
|
try {
|
|
1187
1164
|
t(a);
|
|
@@ -1192,69 +1169,69 @@ var gt = function() {
|
|
|
1192
1169
|
error: o,
|
|
1193
1170
|
complete: i
|
|
1194
1171
|
});
|
|
1195
|
-
|
|
1172
|
+
n.subscribe(s);
|
|
1196
1173
|
});
|
|
1197
1174
|
}, e.prototype._subscribe = function(t) {
|
|
1198
|
-
var
|
|
1199
|
-
return (
|
|
1200
|
-
}, e.prototype[
|
|
1175
|
+
var r;
|
|
1176
|
+
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1177
|
+
}, e.prototype[xn] = function() {
|
|
1201
1178
|
return this;
|
|
1202
1179
|
}, e.prototype.pipe = function() {
|
|
1203
|
-
for (var t = [],
|
|
1204
|
-
t[
|
|
1205
|
-
return
|
|
1180
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1181
|
+
t[r] = arguments[r];
|
|
1182
|
+
return Tn(t)(this);
|
|
1206
1183
|
}, e.prototype.toPromise = function(t) {
|
|
1207
|
-
var
|
|
1208
|
-
return t =
|
|
1184
|
+
var r = this;
|
|
1185
|
+
return t = xt(t), new t(function(n, i) {
|
|
1209
1186
|
var o;
|
|
1210
|
-
|
|
1187
|
+
r.subscribe(function(s) {
|
|
1211
1188
|
return o = s;
|
|
1212
1189
|
}, function(s) {
|
|
1213
1190
|
return i(s);
|
|
1214
1191
|
}, function() {
|
|
1215
|
-
return
|
|
1192
|
+
return n(o);
|
|
1216
1193
|
});
|
|
1217
1194
|
});
|
|
1218
1195
|
}, e.create = function(t) {
|
|
1219
1196
|
return new e(t);
|
|
1220
1197
|
}, e;
|
|
1221
1198
|
}();
|
|
1222
|
-
function
|
|
1199
|
+
function xt(e) {
|
|
1223
1200
|
var t;
|
|
1224
|
-
return (t = e != null ? e :
|
|
1201
|
+
return (t = e != null ? e : bn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1225
1202
|
}
|
|
1226
|
-
function
|
|
1227
|
-
return e &&
|
|
1203
|
+
function wn(e) {
|
|
1204
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
1228
1205
|
}
|
|
1229
|
-
function
|
|
1230
|
-
return e && e instanceof
|
|
1206
|
+
function Hn(e) {
|
|
1207
|
+
return e && e instanceof nr || wn(e) && rr(e);
|
|
1231
1208
|
}
|
|
1232
|
-
var
|
|
1209
|
+
var Bn = er(function(e) {
|
|
1233
1210
|
return function() {
|
|
1234
1211
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1235
1212
|
};
|
|
1236
|
-
}),
|
|
1237
|
-
|
|
1213
|
+
}), ir = function(e) {
|
|
1214
|
+
ce(t, e);
|
|
1238
1215
|
function t() {
|
|
1239
|
-
var
|
|
1240
|
-
return
|
|
1216
|
+
var r = e.call(this) || this;
|
|
1217
|
+
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1241
1218
|
}
|
|
1242
|
-
return t.prototype.lift = function(
|
|
1243
|
-
var
|
|
1244
|
-
return
|
|
1219
|
+
return t.prototype.lift = function(r) {
|
|
1220
|
+
var n = new St(this, this);
|
|
1221
|
+
return n.operator = r, n;
|
|
1245
1222
|
}, t.prototype._throwIfClosed = function() {
|
|
1246
1223
|
if (this.closed)
|
|
1247
|
-
throw new
|
|
1248
|
-
}, t.prototype.next = function(
|
|
1249
|
-
var
|
|
1250
|
-
|
|
1224
|
+
throw new Bn();
|
|
1225
|
+
}, t.prototype.next = function(r) {
|
|
1226
|
+
var n = this;
|
|
1227
|
+
ve(function() {
|
|
1251
1228
|
var i, o;
|
|
1252
|
-
if (
|
|
1253
|
-
|
|
1229
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
1230
|
+
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1254
1231
|
try {
|
|
1255
|
-
for (var s =
|
|
1232
|
+
for (var s = Ze(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1256
1233
|
var u = a.value;
|
|
1257
|
-
u.next(
|
|
1234
|
+
u.next(r);
|
|
1258
1235
|
}
|
|
1259
1236
|
} catch (h) {
|
|
1260
1237
|
i = { error: h };
|
|
@@ -1268,118 +1245,118 @@ var Tr = Qt(function(e) {
|
|
|
1268
1245
|
}
|
|
1269
1246
|
}
|
|
1270
1247
|
});
|
|
1271
|
-
}, t.prototype.error = function(
|
|
1272
|
-
var
|
|
1273
|
-
|
|
1274
|
-
if (
|
|
1275
|
-
|
|
1276
|
-
for (var i =
|
|
1277
|
-
i.shift().error(
|
|
1248
|
+
}, t.prototype.error = function(r) {
|
|
1249
|
+
var n = this;
|
|
1250
|
+
ve(function() {
|
|
1251
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
1252
|
+
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1253
|
+
for (var i = n.observers; i.length; )
|
|
1254
|
+
i.shift().error(r);
|
|
1278
1255
|
}
|
|
1279
1256
|
});
|
|
1280
1257
|
}, t.prototype.complete = function() {
|
|
1281
|
-
var
|
|
1282
|
-
|
|
1283
|
-
if (
|
|
1284
|
-
|
|
1285
|
-
for (var
|
|
1286
|
-
|
|
1258
|
+
var r = this;
|
|
1259
|
+
ve(function() {
|
|
1260
|
+
if (r._throwIfClosed(), !r.isStopped) {
|
|
1261
|
+
r.isStopped = !0;
|
|
1262
|
+
for (var n = r.observers; n.length; )
|
|
1263
|
+
n.shift().complete();
|
|
1287
1264
|
}
|
|
1288
1265
|
});
|
|
1289
1266
|
}, t.prototype.unsubscribe = function() {
|
|
1290
1267
|
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
1291
1268
|
}, Object.defineProperty(t.prototype, "observed", {
|
|
1292
1269
|
get: function() {
|
|
1293
|
-
var
|
|
1294
|
-
return ((
|
|
1270
|
+
var r;
|
|
1271
|
+
return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
|
|
1295
1272
|
},
|
|
1296
1273
|
enumerable: !1,
|
|
1297
1274
|
configurable: !0
|
|
1298
|
-
}), t.prototype._trySubscribe = function(
|
|
1299
|
-
return this._throwIfClosed(), e.prototype._trySubscribe.call(this,
|
|
1300
|
-
}, t.prototype._subscribe = function(
|
|
1301
|
-
return this._throwIfClosed(), this._checkFinalizedStatuses(
|
|
1302
|
-
}, t.prototype._innerSubscribe = function(
|
|
1303
|
-
var
|
|
1304
|
-
return o || s ?
|
|
1305
|
-
|
|
1275
|
+
}), t.prototype._trySubscribe = function(r) {
|
|
1276
|
+
return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
|
|
1277
|
+
}, t.prototype._subscribe = function(r) {
|
|
1278
|
+
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1279
|
+
}, t.prototype._innerSubscribe = function(r) {
|
|
1280
|
+
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1281
|
+
return o || s ? tr : (this.currentObservers = null, a.push(r), new Ae(function() {
|
|
1282
|
+
n.currentObservers = null, Je(a, r);
|
|
1306
1283
|
}));
|
|
1307
|
-
}, t.prototype._checkFinalizedStatuses = function(
|
|
1308
|
-
var
|
|
1309
|
-
i ?
|
|
1284
|
+
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1285
|
+
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1286
|
+
i ? r.error(o) : s && r.complete();
|
|
1310
1287
|
}, t.prototype.asObservable = function() {
|
|
1311
|
-
var
|
|
1312
|
-
return
|
|
1313
|
-
}, t.create = function(
|
|
1314
|
-
return new
|
|
1288
|
+
var r = new Et();
|
|
1289
|
+
return r.source = this, r;
|
|
1290
|
+
}, t.create = function(r, n) {
|
|
1291
|
+
return new St(r, n);
|
|
1315
1292
|
}, t;
|
|
1316
|
-
}(
|
|
1317
|
-
|
|
1318
|
-
function t(
|
|
1293
|
+
}(Et), St = function(e) {
|
|
1294
|
+
ce(t, e);
|
|
1295
|
+
function t(r, n) {
|
|
1319
1296
|
var i = e.call(this) || this;
|
|
1320
|
-
return i.destination =
|
|
1297
|
+
return i.destination = r, i.source = n, i;
|
|
1321
1298
|
}
|
|
1322
|
-
return t.prototype.next = function(
|
|
1323
|
-
var
|
|
1324
|
-
(i = (
|
|
1325
|
-
}, t.prototype.error = function(
|
|
1326
|
-
var
|
|
1327
|
-
(i = (
|
|
1299
|
+
return t.prototype.next = function(r) {
|
|
1300
|
+
var n, i;
|
|
1301
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
|
|
1302
|
+
}, t.prototype.error = function(r) {
|
|
1303
|
+
var n, i;
|
|
1304
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
|
|
1328
1305
|
}, t.prototype.complete = function() {
|
|
1329
|
-
var
|
|
1330
|
-
(
|
|
1331
|
-
}, t.prototype._subscribe = function(
|
|
1332
|
-
var
|
|
1333
|
-
return (i = (
|
|
1306
|
+
var r, n;
|
|
1307
|
+
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1308
|
+
}, t.prototype._subscribe = function(r) {
|
|
1309
|
+
var n, i;
|
|
1310
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
|
|
1334
1311
|
}, t;
|
|
1335
|
-
}(
|
|
1312
|
+
}(ir), or = {
|
|
1336
1313
|
now: function() {
|
|
1337
|
-
return (
|
|
1314
|
+
return (or.delegate || Date).now();
|
|
1338
1315
|
},
|
|
1339
1316
|
delegate: void 0
|
|
1340
|
-
},
|
|
1341
|
-
|
|
1342
|
-
function t(
|
|
1343
|
-
|
|
1317
|
+
}, An = function(e) {
|
|
1318
|
+
ce(t, e);
|
|
1319
|
+
function t(r, n, i) {
|
|
1320
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
|
|
1344
1321
|
var o = e.call(this) || this;
|
|
1345
|
-
return o._bufferSize =
|
|
1322
|
+
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1346
1323
|
}
|
|
1347
|
-
return t.prototype.next = function(
|
|
1348
|
-
var
|
|
1349
|
-
i || (o.push(
|
|
1350
|
-
}, t.prototype._subscribe = function(
|
|
1324
|
+
return t.prototype.next = function(r) {
|
|
1325
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
|
|
1326
|
+
i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1327
|
+
}, t.prototype._subscribe = function(r) {
|
|
1351
1328
|
this._throwIfClosed(), this._trimBuffer();
|
|
1352
|
-
for (var
|
|
1353
|
-
|
|
1354
|
-
return this._checkFinalizedStatuses(
|
|
1329
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
|
|
1330
|
+
r.next(a[u]);
|
|
1331
|
+
return this._checkFinalizedStatuses(r), n;
|
|
1355
1332
|
}, t.prototype._trimBuffer = function() {
|
|
1356
|
-
var
|
|
1357
|
-
if (
|
|
1333
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
1334
|
+
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
1358
1335
|
for (var u = i.now(), h = 0, l = 1; l < o.length && o[l] <= u; l += 2)
|
|
1359
1336
|
h = l;
|
|
1360
1337
|
h && o.splice(0, h + 1);
|
|
1361
1338
|
}
|
|
1362
1339
|
}, t;
|
|
1363
|
-
}(
|
|
1364
|
-
const
|
|
1365
|
-
if (
|
|
1366
|
-
const
|
|
1367
|
-
|
|
1340
|
+
}(ir);
|
|
1341
|
+
const Tt = [], wt = {}, Pn = (e, t = 0) => {
|
|
1342
|
+
if (Tt.indexOf(e) == -1) {
|
|
1343
|
+
const r = new An(t);
|
|
1344
|
+
wt[e] = r, Tt.push(e);
|
|
1368
1345
|
}
|
|
1369
|
-
return
|
|
1346
|
+
return wt[e];
|
|
1370
1347
|
}, V = [];
|
|
1371
|
-
function
|
|
1348
|
+
function On(e, t) {
|
|
1372
1349
|
return {
|
|
1373
|
-
subscribe:
|
|
1350
|
+
subscribe: Pe(e, t).subscribe
|
|
1374
1351
|
};
|
|
1375
1352
|
}
|
|
1376
|
-
function
|
|
1377
|
-
let
|
|
1378
|
-
const
|
|
1353
|
+
function Pe(e, t = B) {
|
|
1354
|
+
let r;
|
|
1355
|
+
const n = /* @__PURE__ */ new Set();
|
|
1379
1356
|
function i(a) {
|
|
1380
|
-
if (
|
|
1357
|
+
if (kt(e, a) && (e = a, r)) {
|
|
1381
1358
|
const u = !V.length;
|
|
1382
|
-
for (const h of
|
|
1359
|
+
for (const h of n)
|
|
1383
1360
|
h[1](), V.push(h, e);
|
|
1384
1361
|
if (u) {
|
|
1385
1362
|
for (let h = 0; h < V.length; h += 2)
|
|
@@ -1393,152 +1370,191 @@ function Ae(e, t = B) {
|
|
|
1393
1370
|
}
|
|
1394
1371
|
function s(a, u = B) {
|
|
1395
1372
|
const h = [a, u];
|
|
1396
|
-
return
|
|
1397
|
-
|
|
1373
|
+
return n.add(h), n.size === 1 && (r = t(i, o) || B), a(e), () => {
|
|
1374
|
+
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1398
1375
|
};
|
|
1399
1376
|
}
|
|
1400
1377
|
return { set: i, update: o, subscribe: s };
|
|
1401
1378
|
}
|
|
1402
|
-
function
|
|
1403
|
-
const
|
|
1379
|
+
function ee(e, t, r) {
|
|
1380
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1404
1381
|
if (!i.every(Boolean))
|
|
1405
1382
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1406
1383
|
const o = t.length < 2;
|
|
1407
|
-
return
|
|
1384
|
+
return On(r, (s, a) => {
|
|
1408
1385
|
let u = !1;
|
|
1409
1386
|
const h = [];
|
|
1410
|
-
let l = 0,
|
|
1411
|
-
const
|
|
1387
|
+
let l = 0, f = B;
|
|
1388
|
+
const c = () => {
|
|
1412
1389
|
if (l)
|
|
1413
1390
|
return;
|
|
1414
|
-
|
|
1415
|
-
const
|
|
1416
|
-
o ? s(
|
|
1417
|
-
},
|
|
1418
|
-
(
|
|
1419
|
-
|
|
1420
|
-
(
|
|
1421
|
-
h[m] =
|
|
1391
|
+
f();
|
|
1392
|
+
const p = t(n ? h[0] : h, s, a);
|
|
1393
|
+
o ? s(p) : f = he(p) ? p : B;
|
|
1394
|
+
}, d = i.map(
|
|
1395
|
+
(p, m) => Vt(
|
|
1396
|
+
p,
|
|
1397
|
+
(_) => {
|
|
1398
|
+
h[m] = _, l &= ~(1 << m), u && c();
|
|
1422
1399
|
},
|
|
1423
1400
|
() => {
|
|
1424
1401
|
l |= 1 << m;
|
|
1425
1402
|
}
|
|
1426
1403
|
)
|
|
1427
1404
|
);
|
|
1428
|
-
return u = !0,
|
|
1429
|
-
F(
|
|
1405
|
+
return u = !0, c(), function() {
|
|
1406
|
+
F(d), f(), u = !1;
|
|
1430
1407
|
};
|
|
1431
1408
|
});
|
|
1432
1409
|
}
|
|
1433
|
-
var
|
|
1434
|
-
function
|
|
1410
|
+
var es = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
1411
|
+
function In(e) {
|
|
1435
1412
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1436
1413
|
}
|
|
1437
|
-
var
|
|
1438
|
-
return
|
|
1414
|
+
var Ln = function(t) {
|
|
1415
|
+
return Nn(t) && !Mn(t);
|
|
1439
1416
|
};
|
|
1440
|
-
function
|
|
1417
|
+
function Nn(e) {
|
|
1441
1418
|
return !!e && typeof e == "object";
|
|
1442
1419
|
}
|
|
1443
|
-
function
|
|
1420
|
+
function Mn(e) {
|
|
1444
1421
|
var t = Object.prototype.toString.call(e);
|
|
1445
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1422
|
+
return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
|
|
1446
1423
|
}
|
|
1447
|
-
var
|
|
1448
|
-
function
|
|
1449
|
-
return e.$$typeof ===
|
|
1424
|
+
var Cn = typeof Symbol == "function" && Symbol.for, $n = Cn ? Symbol.for("react.element") : 60103;
|
|
1425
|
+
function Rn(e) {
|
|
1426
|
+
return e.$$typeof === $n;
|
|
1450
1427
|
}
|
|
1451
|
-
function
|
|
1428
|
+
function Un(e) {
|
|
1452
1429
|
return Array.isArray(e) ? [] : {};
|
|
1453
1430
|
}
|
|
1454
|
-
function
|
|
1455
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1431
|
+
function ae(e, t) {
|
|
1432
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Un(e), e, t) : e;
|
|
1456
1433
|
}
|
|
1457
|
-
function
|
|
1458
|
-
return e.concat(t).map(function(
|
|
1459
|
-
return
|
|
1434
|
+
function Dn(e, t, r) {
|
|
1435
|
+
return e.concat(t).map(function(n) {
|
|
1436
|
+
return ae(n, r);
|
|
1460
1437
|
});
|
|
1461
1438
|
}
|
|
1462
|
-
function
|
|
1439
|
+
function Gn(e, t) {
|
|
1463
1440
|
if (!t.customMerge)
|
|
1464
|
-
return
|
|
1465
|
-
var
|
|
1466
|
-
return typeof
|
|
1441
|
+
return q;
|
|
1442
|
+
var r = t.customMerge(e);
|
|
1443
|
+
return typeof r == "function" ? r : q;
|
|
1467
1444
|
}
|
|
1468
|
-
function
|
|
1445
|
+
function Fn(e) {
|
|
1469
1446
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1470
1447
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1471
1448
|
}) : [];
|
|
1472
1449
|
}
|
|
1473
|
-
function
|
|
1474
|
-
return Object.keys(e).concat(
|
|
1450
|
+
function Ht(e) {
|
|
1451
|
+
return Object.keys(e).concat(Fn(e));
|
|
1475
1452
|
}
|
|
1476
|
-
function
|
|
1453
|
+
function sr(e, t) {
|
|
1477
1454
|
try {
|
|
1478
1455
|
return t in e;
|
|
1479
|
-
} catch (
|
|
1456
|
+
} catch (r) {
|
|
1480
1457
|
return !1;
|
|
1481
1458
|
}
|
|
1482
1459
|
}
|
|
1483
|
-
function
|
|
1484
|
-
return
|
|
1460
|
+
function jn(e, t) {
|
|
1461
|
+
return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1485
1462
|
}
|
|
1486
|
-
function
|
|
1487
|
-
var
|
|
1488
|
-
return
|
|
1489
|
-
|
|
1490
|
-
}),
|
|
1491
|
-
|
|
1492
|
-
}),
|
|
1493
|
-
}
|
|
1494
|
-
function
|
|
1495
|
-
|
|
1496
|
-
var
|
|
1497
|
-
return o ?
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1463
|
+
function kn(e, t, r) {
|
|
1464
|
+
var n = {};
|
|
1465
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
|
1466
|
+
n[i] = ae(e[i], r);
|
|
1467
|
+
}), Ht(t).forEach(function(i) {
|
|
1468
|
+
jn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
1469
|
+
}), n;
|
|
1470
|
+
}
|
|
1471
|
+
function q(e, t, r) {
|
|
1472
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = ae;
|
|
1473
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1474
|
+
return o ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : ae(t, r);
|
|
1475
|
+
}
|
|
1476
|
+
q.all = function(t, r) {
|
|
1500
1477
|
if (!Array.isArray(t))
|
|
1501
1478
|
throw new Error("first argument should be an array");
|
|
1502
|
-
return t.reduce(function(
|
|
1503
|
-
return
|
|
1479
|
+
return t.reduce(function(n, i) {
|
|
1480
|
+
return q(n, i, r);
|
|
1504
1481
|
}, {});
|
|
1505
1482
|
};
|
|
1506
|
-
var
|
|
1507
|
-
const
|
|
1508
|
-
function
|
|
1509
|
-
|
|
1483
|
+
var Vn = q, Xn = Vn;
|
|
1484
|
+
const Wn = /* @__PURE__ */ In(Xn);
|
|
1485
|
+
var Ke = function(e, t) {
|
|
1486
|
+
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1487
|
+
r.__proto__ = n;
|
|
1488
|
+
} || function(r, n) {
|
|
1489
|
+
for (var i in n)
|
|
1490
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1491
|
+
}, Ke(e, t);
|
|
1492
|
+
};
|
|
1493
|
+
function Oe(e, t) {
|
|
1494
|
+
if (typeof t != "function" && t !== null)
|
|
1495
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1496
|
+
Ke(e, t);
|
|
1497
|
+
function r() {
|
|
1498
|
+
this.constructor = e;
|
|
1499
|
+
}
|
|
1500
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1501
|
+
}
|
|
1502
|
+
var M = function() {
|
|
1503
|
+
return M = Object.assign || function(t) {
|
|
1504
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1505
|
+
r = arguments[n];
|
|
1506
|
+
for (var o in r)
|
|
1507
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1508
|
+
}
|
|
1509
|
+
return t;
|
|
1510
|
+
}, M.apply(this, arguments);
|
|
1511
|
+
};
|
|
1512
|
+
function zn(e, t) {
|
|
1513
|
+
var r = {};
|
|
1514
|
+
for (var n in e)
|
|
1515
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1516
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1517
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1518
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1519
|
+
return r;
|
|
1520
|
+
}
|
|
1521
|
+
function De(e, t, r) {
|
|
1522
|
+
if (r || arguments.length === 2)
|
|
1523
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1524
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1525
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1526
|
+
}
|
|
1527
|
+
function Ge(e, t) {
|
|
1528
|
+
var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Qn;
|
|
1510
1529
|
return i(e, {
|
|
1511
|
-
cache:
|
|
1512
|
-
serializer:
|
|
1530
|
+
cache: r,
|
|
1531
|
+
serializer: n
|
|
1513
1532
|
});
|
|
1514
1533
|
}
|
|
1515
|
-
function
|
|
1534
|
+
function Zn(e) {
|
|
1516
1535
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1517
1536
|
}
|
|
1518
|
-
function
|
|
1519
|
-
var i =
|
|
1520
|
-
return typeof o == "undefined" && (o = e.call(this,
|
|
1521
|
-
}
|
|
1522
|
-
function on(e, t, n) {
|
|
1523
|
-
var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
|
|
1524
|
-
return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
|
|
1537
|
+
function qn(e, t, r, n) {
|
|
1538
|
+
var i = Zn(n) ? n : r(n), o = t.get(i);
|
|
1539
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1525
1540
|
}
|
|
1526
|
-
function
|
|
1527
|
-
|
|
1541
|
+
function ar(e, t, r) {
|
|
1542
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1543
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1528
1544
|
}
|
|
1529
|
-
function
|
|
1530
|
-
|
|
1531
|
-
return ot(e, this, n, t.cache.create(), t.serializer);
|
|
1545
|
+
function ur(e, t, r, n, i) {
|
|
1546
|
+
return r.bind(t, e, n, i);
|
|
1532
1547
|
}
|
|
1533
|
-
function
|
|
1534
|
-
|
|
1548
|
+
function Qn(e, t) {
|
|
1549
|
+
var r = e.length === 1 ? qn : ar;
|
|
1550
|
+
return ur(e, this, r, t.cache.create(), t.serializer);
|
|
1535
1551
|
}
|
|
1536
|
-
function
|
|
1537
|
-
return
|
|
1552
|
+
function Jn(e, t) {
|
|
1553
|
+
return ur(e, this, ar, t.cache.create(), t.serializer);
|
|
1538
1554
|
}
|
|
1539
|
-
var
|
|
1555
|
+
var Yn = function() {
|
|
1540
1556
|
return JSON.stringify(arguments);
|
|
1541
|
-
},
|
|
1557
|
+
}, Kn = (
|
|
1542
1558
|
/** @class */
|
|
1543
1559
|
function() {
|
|
1544
1560
|
function e() {
|
|
@@ -1546,18 +1562,27 @@ var Zr = function() {
|
|
|
1546
1562
|
}
|
|
1547
1563
|
return e.prototype.get = function(t) {
|
|
1548
1564
|
return this.cache[t];
|
|
1549
|
-
}, e.prototype.set = function(t,
|
|
1550
|
-
this.cache[t] =
|
|
1565
|
+
}, e.prototype.set = function(t, r) {
|
|
1566
|
+
this.cache[t] = r;
|
|
1551
1567
|
}, e;
|
|
1552
1568
|
}()
|
|
1553
|
-
),
|
|
1569
|
+
), ei = {
|
|
1554
1570
|
create: function() {
|
|
1555
|
-
return new
|
|
1571
|
+
return new Kn();
|
|
1556
1572
|
}
|
|
1557
|
-
},
|
|
1558
|
-
variadic:
|
|
1559
|
-
|
|
1560
|
-
|
|
1573
|
+
}, Fe = {
|
|
1574
|
+
variadic: Jn
|
|
1575
|
+
}, we = function() {
|
|
1576
|
+
return we = Object.assign || function(t) {
|
|
1577
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1578
|
+
r = arguments[n];
|
|
1579
|
+
for (var o in r)
|
|
1580
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1581
|
+
}
|
|
1582
|
+
return t;
|
|
1583
|
+
}, we.apply(this, arguments);
|
|
1584
|
+
};
|
|
1585
|
+
var b;
|
|
1561
1586
|
(function(e) {
|
|
1562
1587
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1563
1588
|
})(b || (b = {}));
|
|
@@ -1565,54 +1590,54 @@ var v;
|
|
|
1565
1590
|
(function(e) {
|
|
1566
1591
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1567
1592
|
})(v || (v = {}));
|
|
1568
|
-
var
|
|
1593
|
+
var Q;
|
|
1569
1594
|
(function(e) {
|
|
1570
1595
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1571
|
-
})(
|
|
1572
|
-
function
|
|
1596
|
+
})(Q || (Q = {}));
|
|
1597
|
+
function Bt(e) {
|
|
1573
1598
|
return e.type === v.literal;
|
|
1574
1599
|
}
|
|
1575
|
-
function
|
|
1600
|
+
function ti(e) {
|
|
1576
1601
|
return e.type === v.argument;
|
|
1577
1602
|
}
|
|
1578
|
-
function
|
|
1603
|
+
function hr(e) {
|
|
1579
1604
|
return e.type === v.number;
|
|
1580
1605
|
}
|
|
1581
|
-
function
|
|
1606
|
+
function lr(e) {
|
|
1582
1607
|
return e.type === v.date;
|
|
1583
1608
|
}
|
|
1584
|
-
function
|
|
1609
|
+
function cr(e) {
|
|
1585
1610
|
return e.type === v.time;
|
|
1586
1611
|
}
|
|
1587
|
-
function
|
|
1612
|
+
function fr(e) {
|
|
1588
1613
|
return e.type === v.select;
|
|
1589
1614
|
}
|
|
1590
|
-
function
|
|
1615
|
+
function pr(e) {
|
|
1591
1616
|
return e.type === v.plural;
|
|
1592
1617
|
}
|
|
1593
|
-
function
|
|
1618
|
+
function ri(e) {
|
|
1594
1619
|
return e.type === v.pound;
|
|
1595
1620
|
}
|
|
1596
|
-
function
|
|
1621
|
+
function dr(e) {
|
|
1597
1622
|
return e.type === v.tag;
|
|
1598
1623
|
}
|
|
1599
|
-
function
|
|
1600
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1624
|
+
function mr(e) {
|
|
1625
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1601
1626
|
}
|
|
1602
|
-
function
|
|
1603
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1627
|
+
function et(e) {
|
|
1628
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1604
1629
|
}
|
|
1605
|
-
var
|
|
1606
|
-
function
|
|
1630
|
+
var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1631
|
+
function ii(e) {
|
|
1607
1632
|
var t = {};
|
|
1608
|
-
return e.replace(
|
|
1609
|
-
var
|
|
1610
|
-
switch (
|
|
1633
|
+
return e.replace(ni, function(r) {
|
|
1634
|
+
var n = r.length;
|
|
1635
|
+
switch (r[0]) {
|
|
1611
1636
|
case "G":
|
|
1612
|
-
t.era =
|
|
1637
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1613
1638
|
break;
|
|
1614
1639
|
case "y":
|
|
1615
|
-
t.year =
|
|
1640
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
1616
1641
|
break;
|
|
1617
1642
|
case "Y":
|
|
1618
1643
|
case "u":
|
|
@@ -1624,30 +1649,30 @@ function ei(e) {
|
|
|
1624
1649
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
1625
1650
|
case "M":
|
|
1626
1651
|
case "L":
|
|
1627
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
1652
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
1628
1653
|
break;
|
|
1629
1654
|
case "w":
|
|
1630
1655
|
case "W":
|
|
1631
1656
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
1632
1657
|
case "d":
|
|
1633
|
-
t.day = ["numeric", "2-digit"][
|
|
1658
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
1634
1659
|
break;
|
|
1635
1660
|
case "D":
|
|
1636
1661
|
case "F":
|
|
1637
1662
|
case "g":
|
|
1638
1663
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
1639
1664
|
case "E":
|
|
1640
|
-
t.weekday =
|
|
1665
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1641
1666
|
break;
|
|
1642
1667
|
case "e":
|
|
1643
|
-
if (
|
|
1668
|
+
if (n < 4)
|
|
1644
1669
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
1645
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1670
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1646
1671
|
break;
|
|
1647
1672
|
case "c":
|
|
1648
|
-
if (
|
|
1673
|
+
if (n < 4)
|
|
1649
1674
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
1650
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1675
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1651
1676
|
break;
|
|
1652
1677
|
case "a":
|
|
1653
1678
|
t.hour12 = !0;
|
|
@@ -1656,32 +1681,32 @@ function ei(e) {
|
|
|
1656
1681
|
case "B":
|
|
1657
1682
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
1658
1683
|
case "h":
|
|
1659
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
1684
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1660
1685
|
break;
|
|
1661
1686
|
case "H":
|
|
1662
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
1687
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1663
1688
|
break;
|
|
1664
1689
|
case "K":
|
|
1665
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
1690
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1666
1691
|
break;
|
|
1667
1692
|
case "k":
|
|
1668
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
1693
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1669
1694
|
break;
|
|
1670
1695
|
case "j":
|
|
1671
1696
|
case "J":
|
|
1672
1697
|
case "C":
|
|
1673
1698
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
1674
1699
|
case "m":
|
|
1675
|
-
t.minute = ["numeric", "2-digit"][
|
|
1700
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
1676
1701
|
break;
|
|
1677
1702
|
case "s":
|
|
1678
|
-
t.second = ["numeric", "2-digit"][
|
|
1703
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
1679
1704
|
break;
|
|
1680
1705
|
case "S":
|
|
1681
1706
|
case "A":
|
|
1682
1707
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1683
1708
|
case "z":
|
|
1684
|
-
t.timeZoneName =
|
|
1709
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
1685
1710
|
break;
|
|
1686
1711
|
case "Z":
|
|
1687
1712
|
case "O":
|
|
@@ -1694,36 +1719,46 @@ function ei(e) {
|
|
|
1694
1719
|
return "";
|
|
1695
1720
|
}), t;
|
|
1696
1721
|
}
|
|
1697
|
-
var
|
|
1698
|
-
function
|
|
1722
|
+
var E = function() {
|
|
1723
|
+
return E = Object.assign || function(t) {
|
|
1724
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1725
|
+
r = arguments[n];
|
|
1726
|
+
for (var o in r)
|
|
1727
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1728
|
+
}
|
|
1729
|
+
return t;
|
|
1730
|
+
}, E.apply(this, arguments);
|
|
1731
|
+
};
|
|
1732
|
+
var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1733
|
+
function si(e) {
|
|
1699
1734
|
if (e.length === 0)
|
|
1700
1735
|
throw new Error("Number skeleton cannot be empty");
|
|
1701
|
-
for (var t = e.split(
|
|
1702
|
-
return
|
|
1703
|
-
}),
|
|
1704
|
-
var o = i[
|
|
1736
|
+
for (var t = e.split(oi).filter(function(c) {
|
|
1737
|
+
return c.length > 0;
|
|
1738
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1739
|
+
var o = i[n], s = o.split("/");
|
|
1705
1740
|
if (s.length === 0)
|
|
1706
1741
|
throw new Error("Invalid number skeleton");
|
|
1707
1742
|
for (var a = s[0], u = s.slice(1), h = 0, l = u; h < l.length; h++) {
|
|
1708
|
-
var
|
|
1709
|
-
if (
|
|
1743
|
+
var f = l[h];
|
|
1744
|
+
if (f.length === 0)
|
|
1710
1745
|
throw new Error("Invalid number skeleton");
|
|
1711
1746
|
}
|
|
1712
|
-
|
|
1747
|
+
r.push({ stem: a, options: u });
|
|
1713
1748
|
}
|
|
1714
|
-
return
|
|
1749
|
+
return r;
|
|
1715
1750
|
}
|
|
1716
|
-
function
|
|
1751
|
+
function ai(e) {
|
|
1717
1752
|
return e.replace(/^(.*?)-/, "");
|
|
1718
1753
|
}
|
|
1719
|
-
var
|
|
1720
|
-
function
|
|
1754
|
+
var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
|
1755
|
+
function Pt(e) {
|
|
1721
1756
|
var t = {};
|
|
1722
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1723
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
1757
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
|
|
1758
|
+
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1724
1759
|
}), t;
|
|
1725
1760
|
}
|
|
1726
|
-
function
|
|
1761
|
+
function vr(e) {
|
|
1727
1762
|
switch (e) {
|
|
1728
1763
|
case "sign-auto":
|
|
1729
1764
|
return {
|
|
@@ -1763,27 +1798,27 @@ function bn(e) {
|
|
|
1763
1798
|
};
|
|
1764
1799
|
}
|
|
1765
1800
|
}
|
|
1766
|
-
function
|
|
1801
|
+
function hi(e) {
|
|
1767
1802
|
var t;
|
|
1768
1803
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1769
1804
|
notation: "engineering"
|
|
1770
1805
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1771
1806
|
notation: "scientific"
|
|
1772
1807
|
}, e = e.slice(1)), t) {
|
|
1773
|
-
var
|
|
1774
|
-
if (
|
|
1808
|
+
var r = e.slice(0, 2);
|
|
1809
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
|
|
1775
1810
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1776
1811
|
t.minimumIntegerDigits = e.length;
|
|
1777
1812
|
}
|
|
1778
1813
|
return t;
|
|
1779
1814
|
}
|
|
1780
|
-
function
|
|
1781
|
-
var t = {},
|
|
1782
|
-
return
|
|
1815
|
+
function Ot(e) {
|
|
1816
|
+
var t = {}, r = vr(e);
|
|
1817
|
+
return r || t;
|
|
1783
1818
|
}
|
|
1784
|
-
function
|
|
1785
|
-
for (var t = {},
|
|
1786
|
-
var i = r
|
|
1819
|
+
function li(e) {
|
|
1820
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1821
|
+
var i = n[r];
|
|
1787
1822
|
switch (i.stem) {
|
|
1788
1823
|
case "percent":
|
|
1789
1824
|
case "%":
|
|
@@ -1805,7 +1840,7 @@ function si(e) {
|
|
|
1805
1840
|
continue;
|
|
1806
1841
|
case "measure-unit":
|
|
1807
1842
|
case "unit":
|
|
1808
|
-
t.style = "unit", t.unit =
|
|
1843
|
+
t.style = "unit", t.unit = ai(i.options[0]);
|
|
1809
1844
|
continue;
|
|
1810
1845
|
case "compact-short":
|
|
1811
1846
|
case "K":
|
|
@@ -1816,13 +1851,13 @@ function si(e) {
|
|
|
1816
1851
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1817
1852
|
continue;
|
|
1818
1853
|
case "scientific":
|
|
1819
|
-
t =
|
|
1820
|
-
return
|
|
1854
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
|
1855
|
+
return E(E({}, u), Ot(h));
|
|
1821
1856
|
}, {}));
|
|
1822
1857
|
continue;
|
|
1823
1858
|
case "engineering":
|
|
1824
|
-
t =
|
|
1825
|
-
return
|
|
1859
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
|
1860
|
+
return E(E({}, u), Ot(h));
|
|
1826
1861
|
}, {}));
|
|
1827
1862
|
continue;
|
|
1828
1863
|
case "notation-simple":
|
|
@@ -1867,41 +1902,41 @@ function si(e) {
|
|
|
1867
1902
|
case "integer-width":
|
|
1868
1903
|
if (i.options.length > 1)
|
|
1869
1904
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1870
|
-
i.options[0].replace(
|
|
1905
|
+
i.options[0].replace(ui, function(u, h, l, f, c, d) {
|
|
1871
1906
|
if (h)
|
|
1872
1907
|
t.minimumIntegerDigits = l.length;
|
|
1873
1908
|
else {
|
|
1874
|
-
if (
|
|
1909
|
+
if (f && c)
|
|
1875
1910
|
throw new Error("We currently do not support maximum integer digits");
|
|
1876
|
-
if (
|
|
1911
|
+
if (d)
|
|
1877
1912
|
throw new Error("We currently do not support exact integer digits");
|
|
1878
1913
|
}
|
|
1879
1914
|
return "";
|
|
1880
1915
|
});
|
|
1881
1916
|
continue;
|
|
1882
1917
|
}
|
|
1883
|
-
if (
|
|
1918
|
+
if (yr.test(i.stem)) {
|
|
1884
1919
|
t.minimumIntegerDigits = i.stem.length;
|
|
1885
1920
|
continue;
|
|
1886
1921
|
}
|
|
1887
|
-
if (
|
|
1922
|
+
if (At.test(i.stem)) {
|
|
1888
1923
|
if (i.options.length > 1)
|
|
1889
1924
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1890
|
-
i.stem.replace(
|
|
1891
|
-
return l === "*" ? t.minimumFractionDigits = h.length :
|
|
1925
|
+
i.stem.replace(At, function(u, h, l, f, c, d) {
|
|
1926
|
+
return l === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1892
1927
|
});
|
|
1893
1928
|
var o = i.options[0];
|
|
1894
|
-
o === "w" ? t =
|
|
1929
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
|
|
1895
1930
|
continue;
|
|
1896
1931
|
}
|
|
1897
|
-
if (
|
|
1898
|
-
t =
|
|
1932
|
+
if (gr.test(i.stem)) {
|
|
1933
|
+
t = E(E({}, t), Pt(i.stem));
|
|
1899
1934
|
continue;
|
|
1900
1935
|
}
|
|
1901
|
-
var s =
|
|
1902
|
-
s && (t =
|
|
1903
|
-
var a =
|
|
1904
|
-
a && (t =
|
|
1936
|
+
var s = vr(i.stem);
|
|
1937
|
+
s && (t = E(E({}, t), s));
|
|
1938
|
+
var a = hi(i.stem);
|
|
1939
|
+
a && (t = E(E({}, t), a));
|
|
1905
1940
|
}
|
|
1906
1941
|
return t;
|
|
1907
1942
|
}
|
|
@@ -3320,23 +3355,23 @@ var be = {
|
|
|
3320
3355
|
"h"
|
|
3321
3356
|
]
|
|
3322
3357
|
};
|
|
3323
|
-
function
|
|
3324
|
-
for (var
|
|
3325
|
-
var i = e.charAt(
|
|
3358
|
+
function ci(e, t) {
|
|
3359
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
|
3360
|
+
var i = e.charAt(n);
|
|
3326
3361
|
if (i === "j") {
|
|
3327
|
-
for (var o = 0;
|
|
3328
|
-
o++,
|
|
3329
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h =
|
|
3362
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3363
|
+
o++, n++;
|
|
3364
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = fi(t);
|
|
3330
3365
|
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
|
3331
|
-
|
|
3366
|
+
r += u;
|
|
3332
3367
|
for (; s-- > 0; )
|
|
3333
|
-
|
|
3368
|
+
r = h + r;
|
|
3334
3369
|
} else
|
|
3335
|
-
i === "J" ?
|
|
3370
|
+
i === "J" ? r += "H" : r += i;
|
|
3336
3371
|
}
|
|
3337
|
-
return
|
|
3372
|
+
return r;
|
|
3338
3373
|
}
|
|
3339
|
-
function
|
|
3374
|
+
function fi(e) {
|
|
3340
3375
|
var t = e.hourCycle;
|
|
3341
3376
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3342
3377
|
e.hourCycles && // @ts-ignore
|
|
@@ -3353,73 +3388,73 @@ function ui(e) {
|
|
|
3353
3388
|
default:
|
|
3354
3389
|
throw new Error("Invalid hourCycle");
|
|
3355
3390
|
}
|
|
3356
|
-
var
|
|
3357
|
-
|
|
3358
|
-
var i = be[
|
|
3391
|
+
var r = e.language, n;
|
|
3392
|
+
r !== "root" && (n = e.maximize().region);
|
|
3393
|
+
var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
|
|
3359
3394
|
return i[0];
|
|
3360
3395
|
}
|
|
3361
|
-
var
|
|
3396
|
+
var je, pi = new RegExp("^".concat(br.source, "*")), di = new RegExp("".concat(br.source, "*$"));
|
|
3362
3397
|
function g(e, t) {
|
|
3363
3398
|
return { start: e, end: t };
|
|
3364
3399
|
}
|
|
3365
|
-
var
|
|
3400
|
+
var mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, gi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, xi = Ei ? Number.isSafeInteger : function(e) {
|
|
3366
3401
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3367
|
-
},
|
|
3402
|
+
}, tt = !0;
|
|
3368
3403
|
try {
|
|
3369
|
-
var
|
|
3370
|
-
|
|
3404
|
+
var Si = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3405
|
+
tt = ((je = Si.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
3371
3406
|
} catch (e) {
|
|
3372
|
-
|
|
3407
|
+
tt = !1;
|
|
3373
3408
|
}
|
|
3374
|
-
var
|
|
3409
|
+
var It = mi ? (
|
|
3375
3410
|
// Native
|
|
3376
|
-
function(t,
|
|
3377
|
-
return t.startsWith(
|
|
3411
|
+
function(t, r, n) {
|
|
3412
|
+
return t.startsWith(r, n);
|
|
3378
3413
|
}
|
|
3379
3414
|
) : (
|
|
3380
3415
|
// For IE11
|
|
3381
|
-
function(t,
|
|
3382
|
-
return t.slice(
|
|
3416
|
+
function(t, r, n) {
|
|
3417
|
+
return t.slice(n, n + r.length) === r;
|
|
3383
3418
|
}
|
|
3384
|
-
),
|
|
3419
|
+
), rt = bi ? String.fromCodePoint : (
|
|
3385
3420
|
// IE11
|
|
3386
3421
|
function() {
|
|
3387
|
-
for (var t = [],
|
|
3388
|
-
t[
|
|
3389
|
-
for (var
|
|
3422
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3423
|
+
t[r] = arguments[r];
|
|
3424
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
3390
3425
|
if (s = t[o++], s > 1114111)
|
|
3391
3426
|
throw RangeError(s + " is not a valid code point");
|
|
3392
|
-
|
|
3427
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
3393
3428
|
}
|
|
3394
|
-
return
|
|
3429
|
+
return n;
|
|
3395
3430
|
}
|
|
3396
|
-
),
|
|
3431
|
+
), Lt = (
|
|
3397
3432
|
// native
|
|
3398
|
-
|
|
3433
|
+
gi ? Object.fromEntries : (
|
|
3399
3434
|
// Ponyfill
|
|
3400
3435
|
function(t) {
|
|
3401
|
-
for (var
|
|
3402
|
-
var o = i[
|
|
3403
|
-
|
|
3436
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3437
|
+
var o = i[n], s = o[0], a = o[1];
|
|
3438
|
+
r[s] = a;
|
|
3404
3439
|
}
|
|
3405
|
-
return
|
|
3440
|
+
return r;
|
|
3406
3441
|
}
|
|
3407
3442
|
)
|
|
3408
|
-
),
|
|
3443
|
+
), _r = yi ? (
|
|
3409
3444
|
// Native
|
|
3410
|
-
function(t,
|
|
3411
|
-
return t.codePointAt(
|
|
3445
|
+
function(t, r) {
|
|
3446
|
+
return t.codePointAt(r);
|
|
3412
3447
|
}
|
|
3413
3448
|
) : (
|
|
3414
3449
|
// IE 11
|
|
3415
|
-
function(t,
|
|
3416
|
-
var
|
|
3417
|
-
if (!(
|
|
3418
|
-
var i = t.charCodeAt(
|
|
3419
|
-
return i < 55296 || i > 56319 ||
|
|
3450
|
+
function(t, r) {
|
|
3451
|
+
var n = t.length;
|
|
3452
|
+
if (!(r < 0 || r >= n)) {
|
|
3453
|
+
var i = t.charCodeAt(r), o;
|
|
3454
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3420
3455
|
}
|
|
3421
3456
|
}
|
|
3422
|
-
),
|
|
3457
|
+
), Ti = vi ? (
|
|
3423
3458
|
// Native
|
|
3424
3459
|
function(t) {
|
|
3425
3460
|
return t.trimStart();
|
|
@@ -3427,9 +3462,9 @@ var Bt = fi ? (
|
|
|
3427
3462
|
) : (
|
|
3428
3463
|
// Ponyfill
|
|
3429
3464
|
function(t) {
|
|
3430
|
-
return t.replace(
|
|
3465
|
+
return t.replace(pi, "");
|
|
3431
3466
|
}
|
|
3432
|
-
),
|
|
3467
|
+
), wi = _i ? (
|
|
3433
3468
|
// Native
|
|
3434
3469
|
function(t) {
|
|
3435
3470
|
return t.trimEnd();
|
|
@@ -3437,69 +3472,69 @@ var Bt = fi ? (
|
|
|
3437
3472
|
) : (
|
|
3438
3473
|
// Ponyfill
|
|
3439
3474
|
function(t) {
|
|
3440
|
-
return t.replace(
|
|
3475
|
+
return t.replace(di, "");
|
|
3441
3476
|
}
|
|
3442
3477
|
);
|
|
3443
|
-
function
|
|
3478
|
+
function Er(e, t) {
|
|
3444
3479
|
return new RegExp(e, t);
|
|
3445
3480
|
}
|
|
3446
|
-
var
|
|
3447
|
-
if (
|
|
3448
|
-
var
|
|
3449
|
-
|
|
3450
|
-
var
|
|
3451
|
-
|
|
3452
|
-
var i =
|
|
3453
|
-
return (
|
|
3481
|
+
var nt;
|
|
3482
|
+
if (tt) {
|
|
3483
|
+
var Nt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3484
|
+
nt = function(t, r) {
|
|
3485
|
+
var n;
|
|
3486
|
+
Nt.lastIndex = r;
|
|
3487
|
+
var i = Nt.exec(t);
|
|
3488
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3454
3489
|
};
|
|
3455
3490
|
} else
|
|
3456
|
-
|
|
3457
|
-
for (var
|
|
3458
|
-
var i =
|
|
3459
|
-
if (i === void 0 ||
|
|
3491
|
+
nt = function(t, r) {
|
|
3492
|
+
for (var n = []; ; ) {
|
|
3493
|
+
var i = _r(t, r);
|
|
3494
|
+
if (i === void 0 || xr(i) || Pi(i))
|
|
3460
3495
|
break;
|
|
3461
|
-
|
|
3496
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3462
3497
|
}
|
|
3463
|
-
return
|
|
3498
|
+
return rt.apply(void 0, n);
|
|
3464
3499
|
};
|
|
3465
|
-
var
|
|
3500
|
+
var Hi = (
|
|
3466
3501
|
/** @class */
|
|
3467
3502
|
function() {
|
|
3468
|
-
function e(t,
|
|
3469
|
-
|
|
3503
|
+
function e(t, r) {
|
|
3504
|
+
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
|
3470
3505
|
}
|
|
3471
3506
|
return e.prototype.parse = function() {
|
|
3472
3507
|
if (this.offset() !== 0)
|
|
3473
3508
|
throw Error("parser can only be used once");
|
|
3474
3509
|
return this.parseMessage(0, "", !1);
|
|
3475
|
-
}, e.prototype.parseMessage = function(t,
|
|
3510
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3476
3511
|
for (var i = []; !this.isEOF(); ) {
|
|
3477
3512
|
var o = this.char();
|
|
3478
3513
|
if (o === 123) {
|
|
3479
|
-
var s = this.parseArgument(t,
|
|
3514
|
+
var s = this.parseArgument(t, n);
|
|
3480
3515
|
if (s.err)
|
|
3481
3516
|
return s;
|
|
3482
3517
|
i.push(s.val);
|
|
3483
3518
|
} else {
|
|
3484
3519
|
if (o === 125 && t > 0)
|
|
3485
3520
|
break;
|
|
3486
|
-
if (o === 35 && (
|
|
3521
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3487
3522
|
var a = this.clonePosition();
|
|
3488
3523
|
this.bump(), i.push({
|
|
3489
3524
|
type: v.pound,
|
|
3490
3525
|
location: g(a, this.clonePosition())
|
|
3491
3526
|
});
|
|
3492
3527
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3493
|
-
if (
|
|
3528
|
+
if (n)
|
|
3494
3529
|
break;
|
|
3495
3530
|
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3496
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3497
|
-
var s = this.parseTag(t,
|
|
3531
|
+
} else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
|
|
3532
|
+
var s = this.parseTag(t, r);
|
|
3498
3533
|
if (s.err)
|
|
3499
3534
|
return s;
|
|
3500
3535
|
i.push(s.val);
|
|
3501
3536
|
} else {
|
|
3502
|
-
var s = this.parseLiteral(t,
|
|
3537
|
+
var s = this.parseLiteral(t, r);
|
|
3503
3538
|
if (s.err)
|
|
3504
3539
|
return s;
|
|
3505
3540
|
i.push(s.val);
|
|
@@ -3507,8 +3542,8 @@ var Ei = (
|
|
|
3507
3542
|
}
|
|
3508
3543
|
}
|
|
3509
3544
|
return { val: i, err: null };
|
|
3510
|
-
}, e.prototype.parseTag = function(t,
|
|
3511
|
-
var
|
|
3545
|
+
}, e.prototype.parseTag = function(t, r) {
|
|
3546
|
+
var n = this.clonePosition();
|
|
3512
3547
|
this.bump();
|
|
3513
3548
|
var i = this.parseTagName();
|
|
3514
3549
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
@@ -3516,17 +3551,17 @@ var Ei = (
|
|
|
3516
3551
|
val: {
|
|
3517
3552
|
type: v.literal,
|
|
3518
3553
|
value: "<".concat(i, "/>"),
|
|
3519
|
-
location: g(
|
|
3554
|
+
location: g(n, this.clonePosition())
|
|
3520
3555
|
},
|
|
3521
3556
|
err: null
|
|
3522
3557
|
};
|
|
3523
3558
|
if (this.bumpIf(">")) {
|
|
3524
|
-
var o = this.parseMessage(t + 1,
|
|
3559
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
3525
3560
|
if (o.err)
|
|
3526
3561
|
return o;
|
|
3527
3562
|
var s = o.val, a = this.clonePosition();
|
|
3528
3563
|
if (this.bumpIf("</")) {
|
|
3529
|
-
if (this.isEOF() || !
|
|
3564
|
+
if (this.isEOF() || !it(this.char()))
|
|
3530
3565
|
return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
|
|
3531
3566
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3532
3567
|
return i !== h ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3534,27 +3569,27 @@ var Ei = (
|
|
|
3534
3569
|
type: v.tag,
|
|
3535
3570
|
value: i,
|
|
3536
3571
|
children: s,
|
|
3537
|
-
location: g(
|
|
3572
|
+
location: g(n, this.clonePosition())
|
|
3538
3573
|
},
|
|
3539
3574
|
err: null
|
|
3540
3575
|
} : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
|
|
3541
3576
|
} else
|
|
3542
|
-
return this.error(b.UNCLOSED_TAG, g(
|
|
3577
|
+
return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3543
3578
|
} else
|
|
3544
|
-
return this.error(b.INVALID_TAG, g(
|
|
3579
|
+
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3545
3580
|
}, e.prototype.parseTagName = function() {
|
|
3546
3581
|
var t = this.offset();
|
|
3547
|
-
for (this.bump(); !this.isEOF() &&
|
|
3582
|
+
for (this.bump(); !this.isEOF() && Ai(this.char()); )
|
|
3548
3583
|
this.bump();
|
|
3549
3584
|
return this.message.slice(t, this.offset());
|
|
3550
|
-
}, e.prototype.parseLiteral = function(t,
|
|
3551
|
-
for (var
|
|
3552
|
-
var o = this.tryParseQuote(
|
|
3585
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
|
3586
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3587
|
+
var o = this.tryParseQuote(r);
|
|
3553
3588
|
if (o) {
|
|
3554
3589
|
i += o;
|
|
3555
3590
|
continue;
|
|
3556
3591
|
}
|
|
3557
|
-
var s = this.tryParseUnquoted(t,
|
|
3592
|
+
var s = this.tryParseUnquoted(t, r);
|
|
3558
3593
|
if (s) {
|
|
3559
3594
|
i += s;
|
|
3560
3595
|
continue;
|
|
@@ -3566,14 +3601,14 @@ var Ei = (
|
|
|
3566
3601
|
}
|
|
3567
3602
|
break;
|
|
3568
3603
|
}
|
|
3569
|
-
var u = g(
|
|
3604
|
+
var u = g(n, this.clonePosition());
|
|
3570
3605
|
return {
|
|
3571
3606
|
val: { type: v.literal, value: i, location: u },
|
|
3572
3607
|
err: null
|
|
3573
3608
|
};
|
|
3574
3609
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3575
3610
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3576
|
-
!
|
|
3611
|
+
!Bi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3577
3612
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3578
3613
|
if (this.isEOF() || this.char() !== 39)
|
|
3579
3614
|
return null;
|
|
@@ -3593,37 +3628,37 @@ var Ei = (
|
|
|
3593
3628
|
return null;
|
|
3594
3629
|
}
|
|
3595
3630
|
this.bump();
|
|
3596
|
-
var
|
|
3631
|
+
var r = [this.char()];
|
|
3597
3632
|
for (this.bump(); !this.isEOF(); ) {
|
|
3598
|
-
var
|
|
3599
|
-
if (
|
|
3633
|
+
var n = this.char();
|
|
3634
|
+
if (n === 39)
|
|
3600
3635
|
if (this.peek() === 39)
|
|
3601
|
-
|
|
3636
|
+
r.push(39), this.bump();
|
|
3602
3637
|
else {
|
|
3603
3638
|
this.bump();
|
|
3604
3639
|
break;
|
|
3605
3640
|
}
|
|
3606
3641
|
else
|
|
3607
|
-
|
|
3642
|
+
r.push(n);
|
|
3608
3643
|
this.bump();
|
|
3609
3644
|
}
|
|
3610
|
-
return
|
|
3611
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
3645
|
+
return rt.apply(void 0, r);
|
|
3646
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3612
3647
|
if (this.isEOF())
|
|
3613
3648
|
return null;
|
|
3614
|
-
var
|
|
3615
|
-
return
|
|
3616
|
-
}, e.prototype.parseArgument = function(t,
|
|
3617
|
-
var
|
|
3649
|
+
var n = this.char();
|
|
3650
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
|
|
3651
|
+
}, e.prototype.parseArgument = function(t, r) {
|
|
3652
|
+
var n = this.clonePosition();
|
|
3618
3653
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3619
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(
|
|
3654
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3620
3655
|
if (this.char() === 125)
|
|
3621
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(
|
|
3656
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3622
3657
|
var i = this.parseIdentifierIfPossible().value;
|
|
3623
3658
|
if (!i)
|
|
3624
|
-
return this.error(b.MALFORMED_ARGUMENT, g(
|
|
3659
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3625
3660
|
if (this.bumpSpace(), this.isEOF())
|
|
3626
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(
|
|
3661
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3627
3662
|
switch (this.char()) {
|
|
3628
3663
|
case 125:
|
|
3629
3664
|
return this.bump(), {
|
|
@@ -3631,21 +3666,21 @@ var Ei = (
|
|
|
3631
3666
|
type: v.argument,
|
|
3632
3667
|
// value does not include the opening and closing braces.
|
|
3633
3668
|
value: i,
|
|
3634
|
-
location: g(
|
|
3669
|
+
location: g(n, this.clonePosition())
|
|
3635
3670
|
},
|
|
3636
3671
|
err: null
|
|
3637
3672
|
};
|
|
3638
3673
|
case 44:
|
|
3639
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(
|
|
3674
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3640
3675
|
default:
|
|
3641
|
-
return this.error(b.MALFORMED_ARGUMENT, g(
|
|
3676
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3642
3677
|
}
|
|
3643
3678
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3644
|
-
var t = this.clonePosition(),
|
|
3679
|
+
var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
|
|
3645
3680
|
this.bumpTo(i);
|
|
3646
3681
|
var o = this.clonePosition(), s = g(t, o);
|
|
3647
|
-
return { value:
|
|
3648
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
3682
|
+
return { value: n, location: s };
|
|
3683
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3649
3684
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3650
3685
|
switch (a) {
|
|
3651
3686
|
case "":
|
|
@@ -3657,40 +3692,40 @@ var Ei = (
|
|
|
3657
3692
|
var h = null;
|
|
3658
3693
|
if (this.bumpIf(",")) {
|
|
3659
3694
|
this.bumpSpace();
|
|
3660
|
-
var l = this.clonePosition(),
|
|
3661
|
-
if (
|
|
3662
|
-
return
|
|
3663
|
-
var
|
|
3664
|
-
if (
|
|
3695
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3696
|
+
if (f.err)
|
|
3697
|
+
return f;
|
|
3698
|
+
var c = wi(f.val);
|
|
3699
|
+
if (c.length === 0)
|
|
3665
3700
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3666
|
-
var
|
|
3667
|
-
h = { style:
|
|
3701
|
+
var d = g(l, this.clonePosition());
|
|
3702
|
+
h = { style: c, styleLocation: d };
|
|
3668
3703
|
}
|
|
3669
|
-
var
|
|
3670
|
-
if (
|
|
3671
|
-
return
|
|
3704
|
+
var p = this.tryParseArgumentClose(i);
|
|
3705
|
+
if (p.err)
|
|
3706
|
+
return p;
|
|
3672
3707
|
var m = g(i, this.clonePosition());
|
|
3673
|
-
if (h &&
|
|
3674
|
-
var
|
|
3708
|
+
if (h && It(h == null ? void 0 : h.style, "::", 0)) {
|
|
3709
|
+
var _ = Ti(h.style.slice(2));
|
|
3675
3710
|
if (a === "number") {
|
|
3676
|
-
var
|
|
3677
|
-
return
|
|
3678
|
-
val: { type: v.number, value:
|
|
3711
|
+
var f = this.parseNumberSkeletonFromString(_, h.styleLocation);
|
|
3712
|
+
return f.err ? f : {
|
|
3713
|
+
val: { type: v.number, value: n, location: m, style: f.val },
|
|
3679
3714
|
err: null
|
|
3680
3715
|
};
|
|
3681
3716
|
} else {
|
|
3682
|
-
if (
|
|
3717
|
+
if (_.length === 0)
|
|
3683
3718
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3684
|
-
var w =
|
|
3685
|
-
this.locale && (w =
|
|
3686
|
-
var
|
|
3687
|
-
type:
|
|
3719
|
+
var w = _;
|
|
3720
|
+
this.locale && (w = ci(_, this.locale));
|
|
3721
|
+
var c = {
|
|
3722
|
+
type: Q.dateTime,
|
|
3688
3723
|
pattern: w,
|
|
3689
3724
|
location: h.styleLocation,
|
|
3690
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3725
|
+
parsedOptions: this.shouldParseSkeletons ? ii(w) : {}
|
|
3691
3726
|
}, O = a === "date" ? v.date : v.time;
|
|
3692
3727
|
return {
|
|
3693
|
-
val: { type: O, value:
|
|
3728
|
+
val: { type: O, value: n, location: m, style: c },
|
|
3694
3729
|
err: null
|
|
3695
3730
|
};
|
|
3696
3731
|
}
|
|
@@ -3698,7 +3733,7 @@ var Ei = (
|
|
|
3698
3733
|
return {
|
|
3699
3734
|
val: {
|
|
3700
3735
|
type: a === "number" ? v.number : a === "date" ? v.date : v.time,
|
|
3701
|
-
value:
|
|
3736
|
+
value: n,
|
|
3702
3737
|
location: m,
|
|
3703
3738
|
style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
|
|
3704
3739
|
},
|
|
@@ -3708,43 +3743,43 @@ var Ei = (
|
|
|
3708
3743
|
case "plural":
|
|
3709
3744
|
case "selectordinal":
|
|
3710
3745
|
case "select": {
|
|
3711
|
-
var
|
|
3746
|
+
var x = this.clonePosition();
|
|
3712
3747
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3713
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(
|
|
3748
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(x, we({}, x)));
|
|
3714
3749
|
this.bumpSpace();
|
|
3715
3750
|
var I = this.parseIdentifierIfPossible(), H = 0;
|
|
3716
3751
|
if (a !== "select" && I.value === "offset") {
|
|
3717
3752
|
if (!this.bumpIf(":"))
|
|
3718
3753
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3719
3754
|
this.bumpSpace();
|
|
3720
|
-
var
|
|
3721
|
-
if (
|
|
3722
|
-
return
|
|
3723
|
-
this.bumpSpace(), I = this.parseIdentifierIfPossible(), H =
|
|
3755
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3756
|
+
if (f.err)
|
|
3757
|
+
return f;
|
|
3758
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), H = f.val;
|
|
3724
3759
|
}
|
|
3725
|
-
var R = this.tryParsePluralOrSelectOptions(t, a,
|
|
3760
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, I);
|
|
3726
3761
|
if (R.err)
|
|
3727
3762
|
return R;
|
|
3728
|
-
var
|
|
3729
|
-
if (
|
|
3730
|
-
return
|
|
3731
|
-
var
|
|
3763
|
+
var p = this.tryParseArgumentClose(i);
|
|
3764
|
+
if (p.err)
|
|
3765
|
+
return p;
|
|
3766
|
+
var pe = g(i, this.clonePosition());
|
|
3732
3767
|
return a === "select" ? {
|
|
3733
3768
|
val: {
|
|
3734
3769
|
type: v.select,
|
|
3735
|
-
value:
|
|
3736
|
-
options:
|
|
3737
|
-
location:
|
|
3770
|
+
value: n,
|
|
3771
|
+
options: Lt(R.val),
|
|
3772
|
+
location: pe
|
|
3738
3773
|
},
|
|
3739
3774
|
err: null
|
|
3740
3775
|
} : {
|
|
3741
3776
|
val: {
|
|
3742
3777
|
type: v.plural,
|
|
3743
|
-
value:
|
|
3744
|
-
options:
|
|
3778
|
+
value: n,
|
|
3779
|
+
options: Lt(R.val),
|
|
3745
3780
|
offset: H,
|
|
3746
3781
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3747
|
-
location:
|
|
3782
|
+
location: pe
|
|
3748
3783
|
},
|
|
3749
3784
|
err: null
|
|
3750
3785
|
};
|
|
@@ -3755,9 +3790,9 @@ var Ei = (
|
|
|
3755
3790
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3756
3791
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3757
3792
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3758
|
-
for (var t = 0,
|
|
3759
|
-
var
|
|
3760
|
-
switch (
|
|
3793
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3794
|
+
var n = this.char();
|
|
3795
|
+
switch (n) {
|
|
3761
3796
|
case 39: {
|
|
3762
3797
|
this.bump();
|
|
3763
3798
|
var i = this.clonePosition();
|
|
@@ -3775,7 +3810,7 @@ var Ei = (
|
|
|
3775
3810
|
t -= 1;
|
|
3776
3811
|
else
|
|
3777
3812
|
return {
|
|
3778
|
-
val: this.message.slice(
|
|
3813
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3779
3814
|
err: null
|
|
3780
3815
|
};
|
|
3781
3816
|
break;
|
|
@@ -3786,61 +3821,61 @@ var Ei = (
|
|
|
3786
3821
|
}
|
|
3787
3822
|
}
|
|
3788
3823
|
return {
|
|
3789
|
-
val: this.message.slice(
|
|
3824
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3790
3825
|
err: null
|
|
3791
3826
|
};
|
|
3792
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3793
|
-
var
|
|
3827
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3828
|
+
var n = [];
|
|
3794
3829
|
try {
|
|
3795
|
-
|
|
3830
|
+
n = si(t);
|
|
3796
3831
|
} catch (i) {
|
|
3797
|
-
return this.error(b.INVALID_NUMBER_SKELETON,
|
|
3832
|
+
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3798
3833
|
}
|
|
3799
3834
|
return {
|
|
3800
3835
|
val: {
|
|
3801
|
-
type:
|
|
3802
|
-
tokens:
|
|
3803
|
-
location:
|
|
3804
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3836
|
+
type: Q.number,
|
|
3837
|
+
tokens: n,
|
|
3838
|
+
location: r,
|
|
3839
|
+
parsedOptions: this.shouldParseSkeletons ? li(n) : {}
|
|
3805
3840
|
},
|
|
3806
3841
|
err: null
|
|
3807
3842
|
};
|
|
3808
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3843
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3809
3844
|
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
|
|
3810
3845
|
if (h.length === 0) {
|
|
3811
|
-
var
|
|
3812
|
-
if (
|
|
3813
|
-
var
|
|
3814
|
-
if (
|
|
3815
|
-
return
|
|
3816
|
-
l = g(
|
|
3846
|
+
var f = this.clonePosition();
|
|
3847
|
+
if (r !== "select" && this.bumpIf("=")) {
|
|
3848
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3849
|
+
if (c.err)
|
|
3850
|
+
return c;
|
|
3851
|
+
l = g(f, this.clonePosition()), h = this.message.slice(f.offset, this.offset());
|
|
3817
3852
|
} else
|
|
3818
3853
|
break;
|
|
3819
3854
|
}
|
|
3820
3855
|
if (u.has(h))
|
|
3821
|
-
return this.error(
|
|
3856
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3822
3857
|
h === "other" && (s = !0), this.bumpSpace();
|
|
3823
|
-
var
|
|
3858
|
+
var d = this.clonePosition();
|
|
3824
3859
|
if (!this.bumpIf("{"))
|
|
3825
|
-
return this.error(
|
|
3826
|
-
var
|
|
3827
|
-
if (
|
|
3828
|
-
return
|
|
3829
|
-
var m = this.tryParseArgumentClose(
|
|
3860
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3861
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3862
|
+
if (p.err)
|
|
3863
|
+
return p;
|
|
3864
|
+
var m = this.tryParseArgumentClose(d);
|
|
3830
3865
|
if (m.err)
|
|
3831
3866
|
return m;
|
|
3832
3867
|
a.push([
|
|
3833
3868
|
h,
|
|
3834
3869
|
{
|
|
3835
|
-
value:
|
|
3836
|
-
location: g(
|
|
3870
|
+
value: p.val,
|
|
3871
|
+
location: g(d, this.clonePosition())
|
|
3837
3872
|
}
|
|
3838
3873
|
]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
|
|
3839
3874
|
}
|
|
3840
|
-
return a.length === 0 ? this.error(
|
|
3841
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3842
|
-
var
|
|
3843
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3875
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3876
|
+
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3877
|
+
var n = 1, i = this.clonePosition();
|
|
3878
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3844
3879
|
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3845
3880
|
var a = this.char();
|
|
3846
3881
|
if (a >= 48 && a <= 57)
|
|
@@ -3849,7 +3884,7 @@ var Ei = (
|
|
|
3849
3884
|
break;
|
|
3850
3885
|
}
|
|
3851
3886
|
var u = g(i, this.clonePosition());
|
|
3852
|
-
return o ? (s *=
|
|
3887
|
+
return o ? (s *= n, xi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3853
3888
|
}, e.prototype.offset = function() {
|
|
3854
3889
|
return this.position.offset;
|
|
3855
3890
|
}, e.prototype.isEOF = function() {
|
|
@@ -3864,17 +3899,17 @@ var Ei = (
|
|
|
3864
3899
|
var t = this.position.offset;
|
|
3865
3900
|
if (t >= this.message.length)
|
|
3866
3901
|
throw Error("out of bound");
|
|
3867
|
-
var
|
|
3868
|
-
if (
|
|
3902
|
+
var r = _r(this.message, t);
|
|
3903
|
+
if (r === void 0)
|
|
3869
3904
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3870
|
-
return
|
|
3871
|
-
}, e.prototype.error = function(t,
|
|
3905
|
+
return r;
|
|
3906
|
+
}, e.prototype.error = function(t, r) {
|
|
3872
3907
|
return {
|
|
3873
3908
|
val: null,
|
|
3874
3909
|
err: {
|
|
3875
3910
|
kind: t,
|
|
3876
3911
|
message: this.message,
|
|
3877
|
-
location:
|
|
3912
|
+
location: r
|
|
3878
3913
|
}
|
|
3879
3914
|
};
|
|
3880
3915
|
}, e.prototype.bump = function() {
|
|
@@ -3883,129 +3918,129 @@ var Ei = (
|
|
|
3883
3918
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3884
3919
|
}
|
|
3885
3920
|
}, e.prototype.bumpIf = function(t) {
|
|
3886
|
-
if (
|
|
3887
|
-
for (var
|
|
3921
|
+
if (It(this.message, t, this.offset())) {
|
|
3922
|
+
for (var r = 0; r < t.length; r++)
|
|
3888
3923
|
this.bump();
|
|
3889
3924
|
return !0;
|
|
3890
3925
|
}
|
|
3891
3926
|
return !1;
|
|
3892
3927
|
}, e.prototype.bumpUntil = function(t) {
|
|
3893
|
-
var
|
|
3894
|
-
return
|
|
3928
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
|
3929
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3895
3930
|
}, e.prototype.bumpTo = function(t) {
|
|
3896
3931
|
if (this.offset() > t)
|
|
3897
3932
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3898
3933
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3899
|
-
var
|
|
3900
|
-
if (
|
|
3934
|
+
var r = this.offset();
|
|
3935
|
+
if (r === t)
|
|
3901
3936
|
break;
|
|
3902
|
-
if (
|
|
3937
|
+
if (r > t)
|
|
3903
3938
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3904
3939
|
if (this.bump(), this.isEOF())
|
|
3905
3940
|
break;
|
|
3906
3941
|
}
|
|
3907
3942
|
}, e.prototype.bumpSpace = function() {
|
|
3908
|
-
for (; !this.isEOF() &&
|
|
3943
|
+
for (; !this.isEOF() && xr(this.char()); )
|
|
3909
3944
|
this.bump();
|
|
3910
3945
|
}, e.prototype.peek = function() {
|
|
3911
3946
|
if (this.isEOF())
|
|
3912
3947
|
return null;
|
|
3913
|
-
var t = this.char(),
|
|
3914
|
-
return
|
|
3948
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3949
|
+
return n != null ? n : null;
|
|
3915
3950
|
}, e;
|
|
3916
3951
|
}()
|
|
3917
3952
|
);
|
|
3918
|
-
function
|
|
3953
|
+
function it(e) {
|
|
3919
3954
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3920
3955
|
}
|
|
3921
|
-
function
|
|
3922
|
-
return
|
|
3956
|
+
function Bi(e) {
|
|
3957
|
+
return it(e) || e === 47;
|
|
3923
3958
|
}
|
|
3924
|
-
function
|
|
3959
|
+
function Ai(e) {
|
|
3925
3960
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3926
3961
|
}
|
|
3927
|
-
function
|
|
3962
|
+
function xr(e) {
|
|
3928
3963
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3929
3964
|
}
|
|
3930
|
-
function
|
|
3965
|
+
function Pi(e) {
|
|
3931
3966
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3932
3967
|
}
|
|
3933
|
-
function
|
|
3968
|
+
function ot(e) {
|
|
3934
3969
|
e.forEach(function(t) {
|
|
3935
|
-
if (delete t.location,
|
|
3936
|
-
for (var
|
|
3937
|
-
delete t.options[
|
|
3970
|
+
if (delete t.location, fr(t) || pr(t))
|
|
3971
|
+
for (var r in t.options)
|
|
3972
|
+
delete t.options[r].location, ot(t.options[r].value);
|
|
3938
3973
|
else
|
|
3939
|
-
|
|
3974
|
+
hr(t) && mr(t.style) || (lr(t) || cr(t)) && et(t.style) ? delete t.style.location : dr(t) && ot(t.children);
|
|
3940
3975
|
});
|
|
3941
3976
|
}
|
|
3942
|
-
function
|
|
3943
|
-
t === void 0 && (t = {}), t =
|
|
3944
|
-
var
|
|
3945
|
-
if (
|
|
3946
|
-
var
|
|
3947
|
-
throw
|
|
3977
|
+
function Oi(e, t) {
|
|
3978
|
+
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3979
|
+
var r = new Hi(e, t).parse();
|
|
3980
|
+
if (r.err) {
|
|
3981
|
+
var n = SyntaxError(b[r.err.kind]);
|
|
3982
|
+
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3948
3983
|
}
|
|
3949
|
-
return t != null && t.captureLocation ||
|
|
3984
|
+
return t != null && t.captureLocation || ot(r.val), r.val;
|
|
3950
3985
|
}
|
|
3951
|
-
var
|
|
3986
|
+
var J;
|
|
3952
3987
|
(function(e) {
|
|
3953
3988
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3954
|
-
})(
|
|
3955
|
-
var
|
|
3989
|
+
})(J || (J = {}));
|
|
3990
|
+
var Ie = (
|
|
3956
3991
|
/** @class */
|
|
3957
3992
|
function(e) {
|
|
3958
|
-
|
|
3959
|
-
function t(
|
|
3960
|
-
var o = e.call(this,
|
|
3961
|
-
return o.code =
|
|
3993
|
+
Oe(t, e);
|
|
3994
|
+
function t(r, n, i) {
|
|
3995
|
+
var o = e.call(this, r) || this;
|
|
3996
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3962
3997
|
}
|
|
3963
3998
|
return t.prototype.toString = function() {
|
|
3964
3999
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3965
4000
|
}, t;
|
|
3966
4001
|
}(Error)
|
|
3967
|
-
),
|
|
4002
|
+
), Mt = (
|
|
3968
4003
|
/** @class */
|
|
3969
4004
|
function(e) {
|
|
3970
|
-
|
|
3971
|
-
function t(
|
|
3972
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
4005
|
+
Oe(t, e);
|
|
4006
|
+
function t(r, n, i, o) {
|
|
4007
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3973
4008
|
}
|
|
3974
4009
|
return t;
|
|
3975
|
-
}(
|
|
3976
|
-
),
|
|
4010
|
+
}(Ie)
|
|
4011
|
+
), Ii = (
|
|
3977
4012
|
/** @class */
|
|
3978
4013
|
function(e) {
|
|
3979
|
-
|
|
3980
|
-
function t(
|
|
3981
|
-
return e.call(this, 'Value for "'.concat(
|
|
4014
|
+
Oe(t, e);
|
|
4015
|
+
function t(r, n, i) {
|
|
4016
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3982
4017
|
}
|
|
3983
4018
|
return t;
|
|
3984
|
-
}(
|
|
3985
|
-
),
|
|
4019
|
+
}(Ie)
|
|
4020
|
+
), Li = (
|
|
3986
4021
|
/** @class */
|
|
3987
4022
|
function(e) {
|
|
3988
|
-
|
|
3989
|
-
function t(
|
|
3990
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
4023
|
+
Oe(t, e);
|
|
4024
|
+
function t(r, n) {
|
|
4025
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3991
4026
|
}
|
|
3992
4027
|
return t;
|
|
3993
|
-
}(
|
|
4028
|
+
}(Ie)
|
|
3994
4029
|
), T;
|
|
3995
4030
|
(function(e) {
|
|
3996
4031
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3997
4032
|
})(T || (T = {}));
|
|
3998
|
-
function
|
|
3999
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
4000
|
-
var
|
|
4001
|
-
return !
|
|
4033
|
+
function Ni(e) {
|
|
4034
|
+
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
4035
|
+
var n = t[t.length - 1];
|
|
4036
|
+
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
|
4002
4037
|
}, []);
|
|
4003
4038
|
}
|
|
4004
|
-
function
|
|
4039
|
+
function Mi(e) {
|
|
4005
4040
|
return typeof e == "function";
|
|
4006
4041
|
}
|
|
4007
|
-
function
|
|
4008
|
-
if (e.length === 1 &&
|
|
4042
|
+
function _e(e, t, r, n, i, o, s) {
|
|
4043
|
+
if (e.length === 1 && Bt(e[0]))
|
|
4009
4044
|
return [
|
|
4010
4045
|
{
|
|
4011
4046
|
type: T.literal,
|
|
@@ -4014,60 +4049,60 @@ function ve(e, t, n, r, i, o, s) {
|
|
|
4014
4049
|
];
|
|
4015
4050
|
for (var a = [], u = 0, h = e; u < h.length; u++) {
|
|
4016
4051
|
var l = h[u];
|
|
4017
|
-
if (
|
|
4052
|
+
if (Bt(l)) {
|
|
4018
4053
|
a.push({
|
|
4019
4054
|
type: T.literal,
|
|
4020
4055
|
value: l.value
|
|
4021
4056
|
});
|
|
4022
4057
|
continue;
|
|
4023
4058
|
}
|
|
4024
|
-
if (
|
|
4059
|
+
if (ri(l)) {
|
|
4025
4060
|
typeof o == "number" && a.push({
|
|
4026
4061
|
type: T.literal,
|
|
4027
|
-
value:
|
|
4062
|
+
value: r.getNumberFormat(t).format(o)
|
|
4028
4063
|
});
|
|
4029
4064
|
continue;
|
|
4030
4065
|
}
|
|
4031
|
-
var
|
|
4032
|
-
if (!(i &&
|
|
4033
|
-
throw new
|
|
4034
|
-
var
|
|
4035
|
-
if (
|
|
4036
|
-
(!
|
|
4037
|
-
type: typeof
|
|
4038
|
-
value:
|
|
4066
|
+
var f = l.value;
|
|
4067
|
+
if (!(i && f in i))
|
|
4068
|
+
throw new Li(f, s);
|
|
4069
|
+
var c = i[f];
|
|
4070
|
+
if (ti(l)) {
|
|
4071
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
4072
|
+
type: typeof c == "string" ? T.literal : T.object,
|
|
4073
|
+
value: c
|
|
4039
4074
|
});
|
|
4040
4075
|
continue;
|
|
4041
4076
|
}
|
|
4042
|
-
if (
|
|
4043
|
-
var
|
|
4077
|
+
if (lr(l)) {
|
|
4078
|
+
var d = typeof l.style == "string" ? n.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
|
|
4044
4079
|
a.push({
|
|
4045
4080
|
type: T.literal,
|
|
4046
|
-
value:
|
|
4081
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
4047
4082
|
});
|
|
4048
4083
|
continue;
|
|
4049
4084
|
}
|
|
4050
|
-
if (
|
|
4051
|
-
var
|
|
4085
|
+
if (cr(l)) {
|
|
4086
|
+
var d = typeof l.style == "string" ? n.time[l.style] : et(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
4052
4087
|
a.push({
|
|
4053
4088
|
type: T.literal,
|
|
4054
|
-
value:
|
|
4089
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
4055
4090
|
});
|
|
4056
4091
|
continue;
|
|
4057
4092
|
}
|
|
4058
|
-
if (
|
|
4059
|
-
var
|
|
4060
|
-
|
|
4093
|
+
if (hr(l)) {
|
|
4094
|
+
var d = typeof l.style == "string" ? n.number[l.style] : mr(l.style) ? l.style.parsedOptions : void 0;
|
|
4095
|
+
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
4061
4096
|
type: T.literal,
|
|
4062
|
-
value:
|
|
4097
|
+
value: r.getNumberFormat(t, d).format(c)
|
|
4063
4098
|
});
|
|
4064
4099
|
continue;
|
|
4065
4100
|
}
|
|
4066
|
-
if (
|
|
4067
|
-
var
|
|
4068
|
-
if (!
|
|
4069
|
-
throw new
|
|
4070
|
-
var w =
|
|
4101
|
+
if (dr(l)) {
|
|
4102
|
+
var p = l.children, m = l.value, _ = i[m];
|
|
4103
|
+
if (!Mi(_))
|
|
4104
|
+
throw new Ii(m, "function", s);
|
|
4105
|
+
var w = _e(p, t, r, n, i, o), O = _(w.map(function(H) {
|
|
4071
4106
|
return H.value;
|
|
4072
4107
|
}));
|
|
4073
4108
|
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(H) {
|
|
@@ -4077,92 +4112,92 @@ function ve(e, t, n, r, i, o, s) {
|
|
|
4077
4112
|
};
|
|
4078
4113
|
}));
|
|
4079
4114
|
}
|
|
4080
|
-
if (
|
|
4081
|
-
var
|
|
4082
|
-
if (!
|
|
4083
|
-
throw new
|
|
4084
|
-
a.push.apply(a,
|
|
4115
|
+
if (fr(l)) {
|
|
4116
|
+
var x = l.options[c] || l.options.other;
|
|
4117
|
+
if (!x)
|
|
4118
|
+
throw new Mt(l.value, c, Object.keys(l.options), s);
|
|
4119
|
+
a.push.apply(a, _e(x.value, t, r, n, i));
|
|
4085
4120
|
continue;
|
|
4086
4121
|
}
|
|
4087
|
-
if (
|
|
4088
|
-
var
|
|
4089
|
-
if (!
|
|
4122
|
+
if (pr(l)) {
|
|
4123
|
+
var x = l.options["=".concat(c)];
|
|
4124
|
+
if (!x) {
|
|
4090
4125
|
if (!Intl.PluralRules)
|
|
4091
|
-
throw new
|
|
4126
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
4092
4127
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4093
|
-
`,
|
|
4094
|
-
var I =
|
|
4095
|
-
|
|
4128
|
+
`, J.MISSING_INTL_API, s);
|
|
4129
|
+
var I = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
4130
|
+
x = l.options[I] || l.options.other;
|
|
4096
4131
|
}
|
|
4097
|
-
if (!
|
|
4098
|
-
throw new
|
|
4099
|
-
a.push.apply(a,
|
|
4132
|
+
if (!x)
|
|
4133
|
+
throw new Mt(l.value, c, Object.keys(l.options), s);
|
|
4134
|
+
a.push.apply(a, _e(x.value, t, r, n, i, c - (l.offset || 0)));
|
|
4100
4135
|
continue;
|
|
4101
4136
|
}
|
|
4102
4137
|
}
|
|
4103
|
-
return
|
|
4138
|
+
return Ni(a);
|
|
4104
4139
|
}
|
|
4105
|
-
function
|
|
4106
|
-
return t ?
|
|
4107
|
-
return n
|
|
4140
|
+
function Ci(e, t) {
|
|
4141
|
+
return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4142
|
+
return r[n] = M(M({}, e[n]), t[n] || {}), r;
|
|
4108
4143
|
}, {})) : e;
|
|
4109
4144
|
}
|
|
4110
|
-
function
|
|
4111
|
-
return t ? Object.keys(e).reduce(function(
|
|
4112
|
-
return n
|
|
4113
|
-
},
|
|
4145
|
+
function $i(e, t) {
|
|
4146
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4147
|
+
return r[n] = Ci(e[n], t[n]), r;
|
|
4148
|
+
}, M({}, e)) : e;
|
|
4114
4149
|
}
|
|
4115
|
-
function
|
|
4150
|
+
function ke(e) {
|
|
4116
4151
|
return {
|
|
4117
4152
|
create: function() {
|
|
4118
4153
|
return {
|
|
4119
4154
|
get: function(t) {
|
|
4120
4155
|
return e[t];
|
|
4121
4156
|
},
|
|
4122
|
-
set: function(t,
|
|
4123
|
-
e[t] =
|
|
4157
|
+
set: function(t, r) {
|
|
4158
|
+
e[t] = r;
|
|
4124
4159
|
}
|
|
4125
4160
|
};
|
|
4126
4161
|
}
|
|
4127
4162
|
};
|
|
4128
4163
|
}
|
|
4129
|
-
function
|
|
4164
|
+
function Ri(e) {
|
|
4130
4165
|
return e === void 0 && (e = {
|
|
4131
4166
|
number: {},
|
|
4132
4167
|
dateTime: {},
|
|
4133
4168
|
pluralRules: {}
|
|
4134
4169
|
}), {
|
|
4135
|
-
getNumberFormat:
|
|
4136
|
-
for (var t,
|
|
4137
|
-
n
|
|
4138
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4170
|
+
getNumberFormat: Ge(function() {
|
|
4171
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4172
|
+
r[n] = arguments[n];
|
|
4173
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
|
|
4139
4174
|
}, {
|
|
4140
|
-
cache:
|
|
4141
|
-
strategy:
|
|
4175
|
+
cache: ke(e.number),
|
|
4176
|
+
strategy: Fe.variadic
|
|
4142
4177
|
}),
|
|
4143
|
-
getDateTimeFormat:
|
|
4144
|
-
for (var t,
|
|
4145
|
-
n
|
|
4146
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4178
|
+
getDateTimeFormat: Ge(function() {
|
|
4179
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4180
|
+
r[n] = arguments[n];
|
|
4181
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
|
|
4147
4182
|
}, {
|
|
4148
|
-
cache:
|
|
4149
|
-
strategy:
|
|
4183
|
+
cache: ke(e.dateTime),
|
|
4184
|
+
strategy: Fe.variadic
|
|
4150
4185
|
}),
|
|
4151
|
-
getPluralRules:
|
|
4152
|
-
for (var t,
|
|
4153
|
-
n
|
|
4154
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4186
|
+
getPluralRules: Ge(function() {
|
|
4187
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4188
|
+
r[n] = arguments[n];
|
|
4189
|
+
return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
|
|
4155
4190
|
}, {
|
|
4156
|
-
cache:
|
|
4157
|
-
strategy:
|
|
4191
|
+
cache: ke(e.pluralRules),
|
|
4192
|
+
strategy: Fe.variadic
|
|
4158
4193
|
})
|
|
4159
4194
|
};
|
|
4160
4195
|
}
|
|
4161
|
-
var
|
|
4196
|
+
var Ui = (
|
|
4162
4197
|
/** @class */
|
|
4163
4198
|
function() {
|
|
4164
|
-
function e(t,
|
|
4165
|
-
|
|
4199
|
+
function e(t, r, n, i) {
|
|
4200
|
+
r === void 0 && (r = e.defaultLocale);
|
|
4166
4201
|
var o = this;
|
|
4167
4202
|
if (this.formatterCache = {
|
|
4168
4203
|
number: {},
|
|
@@ -4172,12 +4207,12 @@ var Mi = (
|
|
|
4172
4207
|
var h = o.formatToParts(u);
|
|
4173
4208
|
if (h.length === 1)
|
|
4174
4209
|
return h[0].value;
|
|
4175
|
-
var l = h.reduce(function(
|
|
4176
|
-
return !
|
|
4210
|
+
var l = h.reduce(function(f, c) {
|
|
4211
|
+
return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
4177
4212
|
}, []);
|
|
4178
4213
|
return l.length <= 1 ? l[0] || "" : l;
|
|
4179
4214
|
}, this.formatToParts = function(u) {
|
|
4180
|
-
return
|
|
4215
|
+
return _e(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
4181
4216
|
}, this.resolvedOptions = function() {
|
|
4182
4217
|
var u;
|
|
4183
4218
|
return {
|
|
@@ -4185,18 +4220,18 @@ var Mi = (
|
|
|
4185
4220
|
};
|
|
4186
4221
|
}, this.getAst = function() {
|
|
4187
4222
|
return o.ast;
|
|
4188
|
-
}, this.locales =
|
|
4223
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
4189
4224
|
if (this.message = t, !e.__parse)
|
|
4190
4225
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4191
4226
|
var s = i || {};
|
|
4192
4227
|
s.formatters;
|
|
4193
|
-
var a =
|
|
4194
|
-
this.ast = e.__parse(t,
|
|
4228
|
+
var a = zn(s, ["formatters"]);
|
|
4229
|
+
this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
|
|
4195
4230
|
} else
|
|
4196
4231
|
this.ast = t;
|
|
4197
4232
|
if (!Array.isArray(this.ast))
|
|
4198
4233
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4199
|
-
this.formats =
|
|
4234
|
+
this.formats = $i(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
|
|
4200
4235
|
}
|
|
4201
4236
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4202
4237
|
get: function() {
|
|
@@ -4206,10 +4241,10 @@ var Mi = (
|
|
|
4206
4241
|
configurable: !0
|
|
4207
4242
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
4208
4243
|
if (typeof Intl.Locale != "undefined") {
|
|
4209
|
-
var
|
|
4210
|
-
return
|
|
4244
|
+
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4245
|
+
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4211
4246
|
}
|
|
4212
|
-
}, e.__parse =
|
|
4247
|
+
}, e.__parse = Oi, e.formats = {
|
|
4213
4248
|
number: {
|
|
4214
4249
|
integer: {
|
|
4215
4250
|
maximumFractionDigits: 0
|
|
@@ -4270,113 +4305,113 @@ var Mi = (
|
|
|
4270
4305
|
}, e;
|
|
4271
4306
|
}()
|
|
4272
4307
|
);
|
|
4273
|
-
function
|
|
4308
|
+
function Di(e, t) {
|
|
4274
4309
|
if (t == null)
|
|
4275
4310
|
return;
|
|
4276
4311
|
if (t in e)
|
|
4277
4312
|
return e[t];
|
|
4278
|
-
const
|
|
4279
|
-
let
|
|
4280
|
-
for (let i = 0; i <
|
|
4281
|
-
if (typeof
|
|
4313
|
+
const r = t.split(".");
|
|
4314
|
+
let n = e;
|
|
4315
|
+
for (let i = 0; i < r.length; i++)
|
|
4316
|
+
if (typeof n == "object") {
|
|
4282
4317
|
if (i > 0) {
|
|
4283
|
-
const o =
|
|
4284
|
-
if (o in
|
|
4285
|
-
|
|
4318
|
+
const o = r.slice(i, r.length).join(".");
|
|
4319
|
+
if (o in n) {
|
|
4320
|
+
n = n[o];
|
|
4286
4321
|
break;
|
|
4287
4322
|
}
|
|
4288
4323
|
}
|
|
4289
|
-
|
|
4324
|
+
n = n[r[i]];
|
|
4290
4325
|
} else
|
|
4291
|
-
|
|
4292
|
-
return
|
|
4326
|
+
n = void 0;
|
|
4327
|
+
return n;
|
|
4293
4328
|
}
|
|
4294
|
-
const D = {},
|
|
4329
|
+
const D = {}, Gi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Sr = (e, t) => {
|
|
4295
4330
|
if (t == null)
|
|
4296
4331
|
return;
|
|
4297
4332
|
if (t in D && e in D[t])
|
|
4298
4333
|
return D[t][e];
|
|
4299
|
-
const
|
|
4300
|
-
for (let
|
|
4301
|
-
const i = n
|
|
4334
|
+
const r = Le(t);
|
|
4335
|
+
for (let n = 0; n < r.length; n++) {
|
|
4336
|
+
const i = r[n], o = ji(i, e);
|
|
4302
4337
|
if (o)
|
|
4303
|
-
return
|
|
4338
|
+
return Gi(e, t, o);
|
|
4304
4339
|
}
|
|
4305
4340
|
};
|
|
4306
|
-
let
|
|
4307
|
-
const
|
|
4308
|
-
function
|
|
4309
|
-
return
|
|
4341
|
+
let lt;
|
|
4342
|
+
const fe = Pe({});
|
|
4343
|
+
function Fi(e) {
|
|
4344
|
+
return lt[e] || null;
|
|
4310
4345
|
}
|
|
4311
|
-
function
|
|
4312
|
-
return e in
|
|
4346
|
+
function Tr(e) {
|
|
4347
|
+
return e in lt;
|
|
4313
4348
|
}
|
|
4314
|
-
function
|
|
4315
|
-
if (!
|
|
4349
|
+
function ji(e, t) {
|
|
4350
|
+
if (!Tr(e))
|
|
4316
4351
|
return null;
|
|
4317
|
-
const
|
|
4318
|
-
return
|
|
4352
|
+
const r = Fi(e);
|
|
4353
|
+
return Di(r, t);
|
|
4319
4354
|
}
|
|
4320
|
-
function
|
|
4355
|
+
function ki(e) {
|
|
4321
4356
|
if (e == null)
|
|
4322
4357
|
return;
|
|
4323
|
-
const t =
|
|
4324
|
-
for (let
|
|
4325
|
-
const
|
|
4326
|
-
if (
|
|
4327
|
-
return
|
|
4358
|
+
const t = Le(e);
|
|
4359
|
+
for (let r = 0; r < t.length; r++) {
|
|
4360
|
+
const n = t[r];
|
|
4361
|
+
if (Tr(n))
|
|
4362
|
+
return n;
|
|
4328
4363
|
}
|
|
4329
4364
|
}
|
|
4330
|
-
function
|
|
4331
|
-
delete D[e],
|
|
4365
|
+
function wr(e, ...t) {
|
|
4366
|
+
delete D[e], fe.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
|
|
4332
4367
|
}
|
|
4333
|
-
|
|
4334
|
-
[
|
|
4368
|
+
ee(
|
|
4369
|
+
[fe],
|
|
4335
4370
|
([e]) => Object.keys(e)
|
|
4336
4371
|
);
|
|
4337
|
-
|
|
4338
|
-
const
|
|
4339
|
-
function
|
|
4340
|
-
|
|
4341
|
-
}
|
|
4342
|
-
function
|
|
4343
|
-
return
|
|
4344
|
-
}
|
|
4345
|
-
function
|
|
4346
|
-
return
|
|
4347
|
-
const
|
|
4348
|
-
return [t,
|
|
4372
|
+
fe.subscribe((e) => lt = e);
|
|
4373
|
+
const Ee = {};
|
|
4374
|
+
function Vi(e, t) {
|
|
4375
|
+
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
4376
|
+
}
|
|
4377
|
+
function Hr(e) {
|
|
4378
|
+
return Ee[e];
|
|
4379
|
+
}
|
|
4380
|
+
function Xi(e) {
|
|
4381
|
+
return Le(e).map((t) => {
|
|
4382
|
+
const r = Hr(t);
|
|
4383
|
+
return [t, r ? [...r] : []];
|
|
4349
4384
|
}).filter(([, t]) => t.length > 0);
|
|
4350
4385
|
}
|
|
4351
|
-
function
|
|
4352
|
-
return e == null ? !1 :
|
|
4386
|
+
function st(e) {
|
|
4387
|
+
return e == null ? !1 : Le(e).some(
|
|
4353
4388
|
(t) => {
|
|
4354
|
-
var
|
|
4355
|
-
return (
|
|
4389
|
+
var r;
|
|
4390
|
+
return (r = Hr(t)) == null ? void 0 : r.size;
|
|
4356
4391
|
}
|
|
4357
4392
|
);
|
|
4358
4393
|
}
|
|
4359
|
-
function
|
|
4394
|
+
function Wi(e, t) {
|
|
4360
4395
|
return Promise.all(
|
|
4361
|
-
t.map((
|
|
4362
|
-
).then((
|
|
4363
|
-
}
|
|
4364
|
-
const
|
|
4365
|
-
function
|
|
4366
|
-
if (!
|
|
4367
|
-
return e in
|
|
4368
|
-
const t =
|
|
4369
|
-
return
|
|
4396
|
+
t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
|
|
4397
|
+
).then((n) => wr(e, ...n));
|
|
4398
|
+
}
|
|
4399
|
+
const ie = {};
|
|
4400
|
+
function Br(e) {
|
|
4401
|
+
if (!st(e))
|
|
4402
|
+
return e in ie ? ie[e] : Promise.resolve();
|
|
4403
|
+
const t = Xi(e);
|
|
4404
|
+
return ie[e] = Promise.all(
|
|
4370
4405
|
t.map(
|
|
4371
|
-
([
|
|
4406
|
+
([r, n]) => Wi(r, n)
|
|
4372
4407
|
)
|
|
4373
4408
|
).then(() => {
|
|
4374
|
-
if (
|
|
4375
|
-
return
|
|
4376
|
-
delete
|
|
4377
|
-
}),
|
|
4409
|
+
if (st(e))
|
|
4410
|
+
return Br(e);
|
|
4411
|
+
delete ie[e];
|
|
4412
|
+
}), ie[e];
|
|
4378
4413
|
}
|
|
4379
|
-
const
|
|
4414
|
+
const zi = {
|
|
4380
4415
|
number: {
|
|
4381
4416
|
scientific: { notation: "scientific" },
|
|
4382
4417
|
engineering: { notation: "engineering" },
|
|
@@ -4405,136 +4440,136 @@ const ki = {
|
|
|
4405
4440
|
timeZoneName: "short"
|
|
4406
4441
|
}
|
|
4407
4442
|
}
|
|
4408
|
-
},
|
|
4443
|
+
}, Zi = {
|
|
4409
4444
|
fallbackLocale: null,
|
|
4410
4445
|
loadingDelay: 200,
|
|
4411
|
-
formats:
|
|
4446
|
+
formats: zi,
|
|
4412
4447
|
warnOnMissingMessages: !0,
|
|
4413
4448
|
handleMissingMessage: void 0,
|
|
4414
4449
|
ignoreTag: !0
|
|
4415
|
-
},
|
|
4416
|
-
function
|
|
4417
|
-
return
|
|
4418
|
-
}
|
|
4419
|
-
const
|
|
4420
|
-
var
|
|
4421
|
-
for (var
|
|
4422
|
-
|
|
4423
|
-
if (
|
|
4424
|
-
for (var
|
|
4425
|
-
|
|
4450
|
+
}, qi = Zi;
|
|
4451
|
+
function Y() {
|
|
4452
|
+
return qi;
|
|
4453
|
+
}
|
|
4454
|
+
const Ve = Pe(!1);
|
|
4455
|
+
var Qi = Object.defineProperty, Ji = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
|
|
4456
|
+
for (var r in t || (t = {}))
|
|
4457
|
+
Ki.call(t, r) && $t(e, r, t[r]);
|
|
4458
|
+
if (Ct)
|
|
4459
|
+
for (var r of Ct(t))
|
|
4460
|
+
eo.call(t, r) && $t(e, r, t[r]);
|
|
4426
4461
|
return e;
|
|
4427
|
-
},
|
|
4428
|
-
let
|
|
4429
|
-
const
|
|
4430
|
-
function
|
|
4431
|
-
return e.split("-").map((t,
|
|
4462
|
+
}, ro = (e, t) => Ji(e, Yi(t));
|
|
4463
|
+
let at;
|
|
4464
|
+
const He = Pe(null);
|
|
4465
|
+
function Rt(e) {
|
|
4466
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4432
4467
|
}
|
|
4433
|
-
function
|
|
4434
|
-
const
|
|
4435
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
4468
|
+
function Le(e, t = Y().fallbackLocale) {
|
|
4469
|
+
const r = Rt(e);
|
|
4470
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
|
|
4436
4471
|
}
|
|
4437
4472
|
function j() {
|
|
4438
|
-
return
|
|
4473
|
+
return at != null ? at : void 0;
|
|
4439
4474
|
}
|
|
4440
|
-
|
|
4441
|
-
|
|
4475
|
+
He.subscribe((e) => {
|
|
4476
|
+
at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4442
4477
|
});
|
|
4443
|
-
const
|
|
4444
|
-
if (e &&
|
|
4445
|
-
const { loadingDelay: t } =
|
|
4446
|
-
let
|
|
4447
|
-
return typeof window != "undefined" && j() != null && t ?
|
|
4448
|
-
() =>
|
|
4478
|
+
const no = (e) => {
|
|
4479
|
+
if (e && ki(e) && st(e)) {
|
|
4480
|
+
const { loadingDelay: t } = Y();
|
|
4481
|
+
let r;
|
|
4482
|
+
return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
|
|
4483
|
+
() => Ve.set(!0),
|
|
4449
4484
|
t
|
|
4450
|
-
) :
|
|
4451
|
-
|
|
4485
|
+
) : Ve.set(!0), Br(e).then(() => {
|
|
4486
|
+
He.set(e);
|
|
4452
4487
|
}).finally(() => {
|
|
4453
|
-
clearTimeout(
|
|
4488
|
+
clearTimeout(r), Ve.set(!1);
|
|
4454
4489
|
});
|
|
4455
4490
|
}
|
|
4456
|
-
return
|
|
4457
|
-
},
|
|
4458
|
-
set:
|
|
4459
|
-
}),
|
|
4491
|
+
return He.set(e);
|
|
4492
|
+
}, te = ro(to({}, He), {
|
|
4493
|
+
set: no
|
|
4494
|
+
}), Ne = (e) => {
|
|
4460
4495
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4461
|
-
return (
|
|
4462
|
-
const i = JSON.stringify(
|
|
4463
|
-
return i in t ? t[i] : t[i] = e(
|
|
4496
|
+
return (n) => {
|
|
4497
|
+
const i = JSON.stringify(n);
|
|
4498
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
4464
4499
|
};
|
|
4465
4500
|
};
|
|
4466
|
-
var
|
|
4467
|
-
for (var
|
|
4468
|
-
|
|
4469
|
-
if (
|
|
4470
|
-
for (var
|
|
4471
|
-
|
|
4501
|
+
var io = Object.defineProperty, Be = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
4502
|
+
for (var r in t || (t = {}))
|
|
4503
|
+
Ar.call(t, r) && Ut(e, r, t[r]);
|
|
4504
|
+
if (Be)
|
|
4505
|
+
for (var r of Be(t))
|
|
4506
|
+
Pr.call(t, r) && Ut(e, r, t[r]);
|
|
4472
4507
|
return e;
|
|
4473
4508
|
}, re = (e, t) => {
|
|
4474
|
-
var
|
|
4475
|
-
for (var
|
|
4476
|
-
|
|
4477
|
-
if (e != null &&
|
|
4478
|
-
for (var
|
|
4479
|
-
t.indexOf(
|
|
4480
|
-
return
|
|
4509
|
+
var r = {};
|
|
4510
|
+
for (var n in e)
|
|
4511
|
+
Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4512
|
+
if (e != null && Be)
|
|
4513
|
+
for (var n of Be(e))
|
|
4514
|
+
t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
|
|
4515
|
+
return r;
|
|
4481
4516
|
};
|
|
4482
|
-
const
|
|
4483
|
-
const { formats:
|
|
4484
|
-
if (e in
|
|
4485
|
-
return
|
|
4517
|
+
const ue = (e, t) => {
|
|
4518
|
+
const { formats: r } = Y();
|
|
4519
|
+
if (e in r && t in r[e])
|
|
4520
|
+
return r[e][t];
|
|
4486
4521
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4487
|
-
},
|
|
4522
|
+
}, oo = Ne(
|
|
4488
4523
|
(e) => {
|
|
4489
|
-
var t = e, { locale:
|
|
4490
|
-
if (
|
|
4524
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4525
|
+
if (r == null)
|
|
4491
4526
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4492
|
-
return
|
|
4527
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
|
4493
4528
|
}
|
|
4494
|
-
),
|
|
4529
|
+
), so = Ne(
|
|
4495
4530
|
(e) => {
|
|
4496
|
-
var t = e, { locale:
|
|
4497
|
-
if (
|
|
4531
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4532
|
+
if (r == null)
|
|
4498
4533
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4499
|
-
return
|
|
4534
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4500
4535
|
}
|
|
4501
|
-
),
|
|
4536
|
+
), ao = Ne(
|
|
4502
4537
|
(e) => {
|
|
4503
|
-
var t = e, { locale:
|
|
4504
|
-
if (
|
|
4538
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4539
|
+
if (r == null)
|
|
4505
4540
|
throw new Error(
|
|
4506
4541
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4507
4542
|
);
|
|
4508
|
-
return
|
|
4543
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4509
4544
|
}
|
|
4510
|
-
),
|
|
4545
|
+
), uo = (e = {}) => {
|
|
4511
4546
|
var t = e, {
|
|
4512
|
-
locale:
|
|
4513
|
-
} = t,
|
|
4547
|
+
locale: r = j()
|
|
4548
|
+
} = t, n = re(t, [
|
|
4514
4549
|
"locale"
|
|
4515
4550
|
]);
|
|
4516
|
-
return
|
|
4517
|
-
},
|
|
4551
|
+
return oo(ct({ locale: r }, n));
|
|
4552
|
+
}, ho = (e = {}) => {
|
|
4518
4553
|
var t = e, {
|
|
4519
|
-
locale:
|
|
4520
|
-
} = t,
|
|
4554
|
+
locale: r = j()
|
|
4555
|
+
} = t, n = re(t, [
|
|
4521
4556
|
"locale"
|
|
4522
4557
|
]);
|
|
4523
|
-
return
|
|
4524
|
-
},
|
|
4558
|
+
return so(ct({ locale: r }, n));
|
|
4559
|
+
}, lo = (e = {}) => {
|
|
4525
4560
|
var t = e, {
|
|
4526
|
-
locale:
|
|
4527
|
-
} = t,
|
|
4561
|
+
locale: r = j()
|
|
4562
|
+
} = t, n = re(t, [
|
|
4528
4563
|
"locale"
|
|
4529
4564
|
]);
|
|
4530
|
-
return
|
|
4531
|
-
},
|
|
4565
|
+
return ao(ct({ locale: r }, n));
|
|
4566
|
+
}, co = Ne(
|
|
4532
4567
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4533
|
-
(e, t = j()) => new
|
|
4534
|
-
ignoreTag:
|
|
4568
|
+
(e, t = j()) => new Ui(e, t, Y().formats, {
|
|
4569
|
+
ignoreTag: Y().ignoreTag
|
|
4535
4570
|
})
|
|
4536
|
-
),
|
|
4537
|
-
var
|
|
4571
|
+
), fo = (e, t = {}) => {
|
|
4572
|
+
var r, n, i, o;
|
|
4538
4573
|
let s = t;
|
|
4539
4574
|
typeof e == "object" && (s = e, e = s.id);
|
|
4540
4575
|
const {
|
|
@@ -4546,70 +4581,70 @@ const he = (e, t) => {
|
|
|
4546
4581
|
throw new Error(
|
|
4547
4582
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4548
4583
|
);
|
|
4549
|
-
let l =
|
|
4584
|
+
let l = Sr(e, u);
|
|
4550
4585
|
if (!l)
|
|
4551
|
-
l = (o = (i = (
|
|
4586
|
+
l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
|
4552
4587
|
else if (typeof l != "string")
|
|
4553
4588
|
return console.warn(
|
|
4554
4589
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4555
4590
|
), l;
|
|
4556
4591
|
if (!a)
|
|
4557
4592
|
return l;
|
|
4558
|
-
let
|
|
4593
|
+
let f = l;
|
|
4559
4594
|
try {
|
|
4560
|
-
|
|
4561
|
-
} catch (
|
|
4562
|
-
|
|
4595
|
+
f = co(l, u).format(a);
|
|
4596
|
+
} catch (c) {
|
|
4597
|
+
c instanceof Error && console.warn(
|
|
4563
4598
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4564
|
-
|
|
4599
|
+
c.message
|
|
4565
4600
|
);
|
|
4566
4601
|
}
|
|
4567
|
-
return
|
|
4568
|
-
},
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
window.emWidgets = { topic:
|
|
4574
|
-
const
|
|
4575
|
-
function
|
|
4576
|
-
const
|
|
4602
|
+
return f;
|
|
4603
|
+
}, po = (e, t) => lo(t).format(e), mo = (e, t) => ho(t).format(e), bo = (e, t) => uo(t).format(e), go = (e, t = j()) => Sr(e, t), yo = ee([te, fe], () => fo);
|
|
4604
|
+
ee([te], () => po);
|
|
4605
|
+
ee([te], () => mo);
|
|
4606
|
+
ee([te], () => bo);
|
|
4607
|
+
ee([te, fe], () => go);
|
|
4608
|
+
window.emWidgets = { topic: Pn };
|
|
4609
|
+
const ts = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Or = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", rs = (e) => e.match(/CustomNative/i) ? "NativeApp" : Or(e) === "PC" ? "Desktop" : "Mobile";
|
|
4610
|
+
function ns(e, t) {
|
|
4611
|
+
const r = () => !0;
|
|
4577
4612
|
switch (typeof e) {
|
|
4578
4613
|
case "string": {
|
|
4579
|
-
const
|
|
4580
|
-
return
|
|
4614
|
+
const n = e.trim();
|
|
4615
|
+
return n && isFinite(Number(n)) && r();
|
|
4581
4616
|
}
|
|
4582
4617
|
case "number":
|
|
4583
|
-
return isFinite(e) &&
|
|
4618
|
+
return isFinite(e) && r();
|
|
4584
4619
|
default:
|
|
4585
4620
|
return !1;
|
|
4586
4621
|
}
|
|
4587
4622
|
}
|
|
4588
|
-
function
|
|
4623
|
+
function Dt(e, t) {
|
|
4589
4624
|
if (e) {
|
|
4590
|
-
const
|
|
4591
|
-
|
|
4625
|
+
const r = document.createElement("style");
|
|
4626
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4592
4627
|
}
|
|
4593
4628
|
}
|
|
4594
|
-
function
|
|
4595
|
-
const
|
|
4596
|
-
fetch(
|
|
4629
|
+
function vo(e, t) {
|
|
4630
|
+
const r = new URL(t);
|
|
4631
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4597
4632
|
const i = document.createElement("style");
|
|
4598
|
-
i.innerHTML =
|
|
4599
|
-
}).catch((
|
|
4600
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
4633
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4634
|
+
}).catch((n) => {
|
|
4635
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4601
4636
|
});
|
|
4602
4637
|
}
|
|
4603
|
-
function
|
|
4638
|
+
function _o(e, t, r) {
|
|
4604
4639
|
if (window.emMessageBus) {
|
|
4605
|
-
const
|
|
4640
|
+
const n = document.createElement("style");
|
|
4606
4641
|
window.emMessageBus.subscribe(t, (i) => {
|
|
4607
|
-
|
|
4642
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4608
4643
|
});
|
|
4609
4644
|
}
|
|
4610
4645
|
}
|
|
4611
|
-
const
|
|
4612
|
-
const
|
|
4646
|
+
const Eo = (e, t = {}) => {
|
|
4647
|
+
const r = new CustomEvent("track-custom-event", {
|
|
4613
4648
|
detail: {
|
|
4614
4649
|
type: e,
|
|
4615
4650
|
data: t
|
|
@@ -4617,15 +4652,15 @@ const go = (e, t = {}) => {
|
|
|
4617
4652
|
bubbles: !0,
|
|
4618
4653
|
composed: !0
|
|
4619
4654
|
});
|
|
4620
|
-
document.dispatchEvent(
|
|
4655
|
+
document.dispatchEvent(r);
|
|
4621
4656
|
};
|
|
4622
|
-
function
|
|
4623
|
-
|
|
4657
|
+
function Gt(e, t) {
|
|
4658
|
+
wr(e, t);
|
|
4624
4659
|
}
|
|
4625
|
-
function
|
|
4626
|
-
|
|
4660
|
+
function xo(e) {
|
|
4661
|
+
te.set(e);
|
|
4627
4662
|
}
|
|
4628
|
-
const
|
|
4663
|
+
const Ft = {
|
|
4629
4664
|
en: {
|
|
4630
4665
|
logoutButton: "Logout"
|
|
4631
4666
|
},
|
|
@@ -4660,21 +4695,21 @@ const Rt = {
|
|
|
4660
4695
|
logoutButton: "Logout"
|
|
4661
4696
|
}
|
|
4662
4697
|
};
|
|
4663
|
-
function
|
|
4664
|
-
|
|
4698
|
+
function So(e) {
|
|
4699
|
+
Vr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
4665
4700
|
}
|
|
4666
|
-
function
|
|
4667
|
-
let t,
|
|
4701
|
+
function To(e) {
|
|
4702
|
+
let t, r, n, i = (
|
|
4668
4703
|
/*$_*/
|
|
4669
4704
|
e[2]("logoutButton") + ""
|
|
4670
4705
|
), o, s, a;
|
|
4671
4706
|
return {
|
|
4672
4707
|
c() {
|
|
4673
|
-
t = L("div"),
|
|
4708
|
+
t = L("div"), r = L("button"), n = L("span"), o = le(i), A(t, "class", "GeneralLogout");
|
|
4674
4709
|
},
|
|
4675
4710
|
m(u, h) {
|
|
4676
|
-
|
|
4677
|
-
|
|
4711
|
+
K(u, t, h), P(t, r), P(r, n), P(n, o), s || (a = qt(
|
|
4712
|
+
r,
|
|
4678
4713
|
"click",
|
|
4679
4714
|
/*click_handler_1*/
|
|
4680
4715
|
e[14]
|
|
@@ -4683,19 +4718,19 @@ function vo(e) {
|
|
|
4683
4718
|
p(u, h) {
|
|
4684
4719
|
h & /*$_*/
|
|
4685
4720
|
4 && i !== (i = /*$_*/
|
|
4686
|
-
u[2]("logoutButton") + "") &&
|
|
4721
|
+
u[2]("logoutButton") + "") && Qt(o, i);
|
|
4687
4722
|
},
|
|
4688
4723
|
d(u) {
|
|
4689
4724
|
u && G(t), s = !1, a();
|
|
4690
4725
|
}
|
|
4691
4726
|
};
|
|
4692
4727
|
}
|
|
4693
|
-
function
|
|
4694
|
-
let t,
|
|
4695
|
-
e[3] &&
|
|
4728
|
+
function wo(e) {
|
|
4729
|
+
let t, r, n, i, o, s, a, u, h, l, f, c = !/*isMobile*/
|
|
4730
|
+
e[3] && Ho(e);
|
|
4696
4731
|
return {
|
|
4697
4732
|
c() {
|
|
4698
|
-
t = L("p"),
|
|
4733
|
+
t = L("p"), r = L("span"), n = X("svg"), i = X("defs"), o = X("style"), s = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = X("path"), u = X("path"), h = Wr(), c && c.c(), A(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), A(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(u, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), A(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(n, "data-name", "Layer 1"), A(n, "xmlns", "http://www.w3.org/2000/svg"), A(n, "viewBox", "0 0 150 150"), Zr(r, "width", /*isMobile*/
|
|
4699
4734
|
e[3] ? (
|
|
4700
4735
|
/*mediaQuery*/
|
|
4701
4736
|
e[4].matches ? "20px" : "24px"
|
|
@@ -4704,63 +4739,63 @@ function xo(e) {
|
|
|
4704
4739
|
(e[4].matches && /*isMobile*/
|
|
4705
4740
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4706
4741
|
},
|
|
4707
|
-
m(
|
|
4708
|
-
|
|
4742
|
+
m(d, p) {
|
|
4743
|
+
K(d, t, p), P(t, r), P(r, n), P(n, i), P(i, o), P(o, s), P(n, a), P(n, u), P(t, h), c && c.m(t, null), l || (f = qt(
|
|
4709
4744
|
t,
|
|
4710
4745
|
"click",
|
|
4711
4746
|
/*click_handler*/
|
|
4712
4747
|
e[13]
|
|
4713
4748
|
), l = !0);
|
|
4714
4749
|
},
|
|
4715
|
-
p(
|
|
4750
|
+
p(d, p) {
|
|
4716
4751
|
/*isMobile*/
|
|
4717
|
-
|
|
4752
|
+
d[3] || c.p(d, p);
|
|
4718
4753
|
},
|
|
4719
|
-
d(
|
|
4720
|
-
|
|
4754
|
+
d(d) {
|
|
4755
|
+
d && G(t), c && c.d(), l = !1, f();
|
|
4721
4756
|
}
|
|
4722
4757
|
};
|
|
4723
4758
|
}
|
|
4724
|
-
function
|
|
4725
|
-
let t,
|
|
4759
|
+
function Ho(e) {
|
|
4760
|
+
let t, r = (
|
|
4726
4761
|
/*$_*/
|
|
4727
4762
|
e[2]("logoutButton") + ""
|
|
4728
|
-
),
|
|
4763
|
+
), n;
|
|
4729
4764
|
return {
|
|
4730
4765
|
c() {
|
|
4731
|
-
t = L("span"),
|
|
4766
|
+
t = L("span"), n = le(r), A(t, "class", "PlayerLogoutText");
|
|
4732
4767
|
},
|
|
4733
4768
|
m(i, o) {
|
|
4734
|
-
|
|
4769
|
+
K(i, t, o), P(t, n);
|
|
4735
4770
|
},
|
|
4736
4771
|
p(i, o) {
|
|
4737
4772
|
o & /*$_*/
|
|
4738
|
-
4 &&
|
|
4739
|
-
i[2]("logoutButton") + "") &&
|
|
4773
|
+
4 && r !== (r = /*$_*/
|
|
4774
|
+
i[2]("logoutButton") + "") && Qt(n, r);
|
|
4740
4775
|
},
|
|
4741
4776
|
d(i) {
|
|
4742
4777
|
i && G(t);
|
|
4743
4778
|
}
|
|
4744
4779
|
};
|
|
4745
4780
|
}
|
|
4746
|
-
function
|
|
4781
|
+
function Bo(e) {
|
|
4747
4782
|
let t;
|
|
4748
|
-
function
|
|
4783
|
+
function r(o, s) {
|
|
4749
4784
|
return (
|
|
4750
4785
|
/*buttonlocation*/
|
|
4751
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4786
|
+
o[0] === "PlayerAccountMenu" ? wo : To
|
|
4752
4787
|
);
|
|
4753
4788
|
}
|
|
4754
|
-
let
|
|
4789
|
+
let n = r(e), i = n(e);
|
|
4755
4790
|
return {
|
|
4756
4791
|
c() {
|
|
4757
4792
|
t = L("div"), i.c();
|
|
4758
4793
|
},
|
|
4759
4794
|
m(o, s) {
|
|
4760
|
-
|
|
4795
|
+
K(o, t, s), i.m(t, null), e[15](t);
|
|
4761
4796
|
},
|
|
4762
4797
|
p(o, [s]) {
|
|
4763
|
-
|
|
4798
|
+
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4764
4799
|
},
|
|
4765
4800
|
i: B,
|
|
4766
4801
|
o: B,
|
|
@@ -4769,78 +4804,78 @@ function So(e) {
|
|
|
4769
4804
|
}
|
|
4770
4805
|
};
|
|
4771
4806
|
}
|
|
4772
|
-
function
|
|
4773
|
-
let
|
|
4774
|
-
|
|
4775
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl:
|
|
4807
|
+
function Ao(e, t, r) {
|
|
4808
|
+
let n;
|
|
4809
|
+
Fr(e, yo, (y) => r(2, n = y));
|
|
4810
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, _ = Or(m) !== "PC";
|
|
4776
4811
|
const w = window.matchMedia("(min-width: 768px)"), O = () => {
|
|
4777
|
-
fetch(
|
|
4778
|
-
Object.keys(U).forEach((
|
|
4779
|
-
|
|
4812
|
+
fetch(f).then((U) => U.json()).then((U) => {
|
|
4813
|
+
Object.keys(U).forEach((Me) => {
|
|
4814
|
+
Gt(Me, U[Me]);
|
|
4780
4815
|
});
|
|
4781
4816
|
}).catch((U) => {
|
|
4782
4817
|
console.log(U);
|
|
4783
4818
|
});
|
|
4784
4819
|
};
|
|
4785
|
-
Object.keys(
|
|
4786
|
-
|
|
4820
|
+
Object.keys(Ft).forEach((y) => {
|
|
4821
|
+
Gt(y, Ft[y]);
|
|
4787
4822
|
});
|
|
4788
|
-
const
|
|
4789
|
-
let
|
|
4790
|
-
|
|
4791
|
-
let U = { method: "DELETE", headers:
|
|
4792
|
-
fetch(`${i}/v1/player/session/player`, U).then((
|
|
4793
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
4823
|
+
const x = () => {
|
|
4824
|
+
let y = new Headers();
|
|
4825
|
+
y.append("Content-type", "application/json"), y.append("X-SessionID", o);
|
|
4826
|
+
let U = { method: "DELETE", headers: y };
|
|
4827
|
+
fetch(`${i}/v1/player/session/player`, U).then((Me) => {
|
|
4828
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Eo("logged_out", {});
|
|
4794
4829
|
});
|
|
4795
|
-
}, I = () => (i || (
|
|
4796
|
-
|
|
4830
|
+
}, I = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", d = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", d = !0, console.error(c)), d), H = () => {
|
|
4831
|
+
xo(a);
|
|
4797
4832
|
};
|
|
4798
|
-
|
|
4833
|
+
rn(() => () => {
|
|
4799
4834
|
});
|
|
4800
|
-
const R = () =>
|
|
4801
|
-
function
|
|
4802
|
-
|
|
4803
|
-
|
|
4835
|
+
const R = () => x(), pe = () => x();
|
|
4836
|
+
function Lr(y) {
|
|
4837
|
+
Xe[y ? "unshift" : "push"](() => {
|
|
4838
|
+
p = y, r(1, p);
|
|
4804
4839
|
});
|
|
4805
4840
|
}
|
|
4806
|
-
return e.$$set = (
|
|
4807
|
-
"endpoint" in
|
|
4841
|
+
return e.$$set = (y) => {
|
|
4842
|
+
"endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, u = y.mbsource), "clientstyling" in y && r(10, h = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
|
|
4808
4843
|
}, e.$$.update = () => {
|
|
4809
4844
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4810
4845
|
193 && i && o && s && I(), e.$$.dirty & /*lang*/
|
|
4811
4846
|
256 && a && H(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4812
|
-
1026 && h &&
|
|
4813
|
-
1026 && h &&
|
|
4814
|
-
2050 && l &&
|
|
4815
|
-
514 && u &&
|
|
4816
|
-
4096 &&
|
|
4847
|
+
1026 && h && p && Dt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4848
|
+
1026 && h && p && Dt(p, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4849
|
+
2050 && l && p && vo(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4850
|
+
514 && u && p && _o(p, `${u}.Style`), e.$$.dirty & /*translationurl*/
|
|
4851
|
+
4096 && f && O();
|
|
4817
4852
|
}, [
|
|
4818
4853
|
s,
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4854
|
+
p,
|
|
4855
|
+
n,
|
|
4856
|
+
_,
|
|
4822
4857
|
w,
|
|
4823
|
-
|
|
4858
|
+
x,
|
|
4824
4859
|
i,
|
|
4825
4860
|
o,
|
|
4826
4861
|
a,
|
|
4827
4862
|
u,
|
|
4828
4863
|
h,
|
|
4829
4864
|
l,
|
|
4830
|
-
|
|
4865
|
+
f,
|
|
4831
4866
|
R,
|
|
4832
|
-
|
|
4833
|
-
|
|
4867
|
+
pe,
|
|
4868
|
+
Lr
|
|
4834
4869
|
];
|
|
4835
4870
|
}
|
|
4836
|
-
class
|
|
4871
|
+
class Ir extends dn {
|
|
4837
4872
|
constructor(t) {
|
|
4838
|
-
super(),
|
|
4873
|
+
super(), fn(
|
|
4839
4874
|
this,
|
|
4840
4875
|
t,
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4876
|
+
Ao,
|
|
4877
|
+
Bo,
|
|
4878
|
+
kt,
|
|
4844
4879
|
{
|
|
4845
4880
|
endpoint: 6,
|
|
4846
4881
|
session: 7,
|
|
@@ -4851,7 +4886,7 @@ class An extends lr {
|
|
|
4851
4886
|
clientstylingurl: 11,
|
|
4852
4887
|
translationurl: 12
|
|
4853
4888
|
},
|
|
4854
|
-
|
|
4889
|
+
So
|
|
4855
4890
|
);
|
|
4856
4891
|
}
|
|
4857
4892
|
get endpoint() {
|
|
@@ -4903,74 +4938,74 @@ class An extends lr {
|
|
|
4903
4938
|
this.$$set({ translationurl: t }), N();
|
|
4904
4939
|
}
|
|
4905
4940
|
}
|
|
4906
|
-
|
|
4907
|
-
const
|
|
4941
|
+
pn(Ir, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4942
|
+
const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4908
4943
|
__proto__: null,
|
|
4909
|
-
default:
|
|
4944
|
+
default: Ir
|
|
4910
4945
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4911
4946
|
export {
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4947
|
+
te as $,
|
|
4948
|
+
pn as A,
|
|
4949
|
+
yo as B,
|
|
4950
|
+
fe as C,
|
|
4951
|
+
rs as D,
|
|
4952
|
+
Zo as E,
|
|
4953
|
+
Uo as F,
|
|
4954
|
+
$o as G,
|
|
4955
|
+
Io as H,
|
|
4956
|
+
Jo as I,
|
|
4957
|
+
an as J,
|
|
4958
|
+
No as K,
|
|
4959
|
+
Mo as L,
|
|
4960
|
+
Lo as M,
|
|
4961
|
+
Do as N,
|
|
4962
|
+
Ko as O,
|
|
4963
|
+
Ro as P,
|
|
4964
|
+
Xo as Q,
|
|
4965
|
+
jo as R,
|
|
4966
|
+
dn as S,
|
|
4967
|
+
Vo as T,
|
|
4968
|
+
he as U,
|
|
4969
|
+
ko as V,
|
|
4970
|
+
Te as W,
|
|
4971
|
+
ts as X,
|
|
4972
|
+
Zr as Y,
|
|
4973
|
+
Co as Z,
|
|
4974
|
+
Qo as _,
|
|
4975
|
+
wr as a,
|
|
4976
|
+
qo as a0,
|
|
4977
|
+
zo as a1,
|
|
4978
|
+
Oo as a2,
|
|
4979
|
+
Ur as a3,
|
|
4980
|
+
Yo as a4,
|
|
4981
|
+
In as a5,
|
|
4982
|
+
es as a6,
|
|
4983
|
+
ns as a7,
|
|
4984
|
+
Fo as a8,
|
|
4985
|
+
is as a9,
|
|
4986
|
+
Vr as b,
|
|
4987
|
+
Qt as c,
|
|
4988
|
+
G as d,
|
|
4989
|
+
A as e,
|
|
4955
4990
|
N as f,
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4991
|
+
Go as g,
|
|
4992
|
+
K as h,
|
|
4993
|
+
fn as i,
|
|
4994
|
+
P as j,
|
|
4995
|
+
L as k,
|
|
4996
|
+
qt as l,
|
|
4997
|
+
Wr as m,
|
|
4998
|
+
B as n,
|
|
4999
|
+
Wo as o,
|
|
5000
|
+
Fr as p,
|
|
5001
|
+
Or as q,
|
|
4967
5002
|
F as r,
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
5003
|
+
kt as s,
|
|
5004
|
+
le as t,
|
|
5005
|
+
rn as u,
|
|
5006
|
+
X as v,
|
|
5007
|
+
Xe as w,
|
|
5008
|
+
Dt as x,
|
|
5009
|
+
vo as y,
|
|
5010
|
+
_o as z
|
|
4976
5011
|
};
|