@everymatrix/player-account-controller 1.77.19 → 1.77.20
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-CaOBPi7K.cjs +21 -0
- package/components/{GeneralLogout-BK7W4djM.js → GeneralLogout-Du9WN0Xh.js} +807 -850
- package/components/{GeneralLogout-CvdWFdpo.js → GeneralLogout-xlnvhOTj.js} +835 -878
- package/components/{PlayerAccountBettingHistory-Cb9zY2cj.cjs → PlayerAccountBettingHistory-BiSqE8WU.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-nZ8LinMC.js → PlayerAccountBettingHistory-CVIyVRm6.js} +1 -1
- package/components/{PlayerAccountBettingHistory-C64EtltO.js → PlayerAccountBettingHistory-D2fkWAZy.js} +1 -1
- package/components/{PlayerAccountBiometrics-BlO9_i-W.js → PlayerAccountBiometrics-800xfV54.js} +1 -1
- package/components/{PlayerAccountBiometrics-CSSQNl0K.cjs → PlayerAccountBiometrics-BxWi0P45.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DThKgPi7.js → PlayerAccountBiometrics-DHHeeAQY.js} +1 -1
- package/components/{PlayerAccountClosure-CwXvvWRK.js → PlayerAccountClosure-BKQYj0jD.js} +1 -1
- package/components/{PlayerAccountClosure-BxDE3-YO.cjs → PlayerAccountClosure-BmcRiyQz.cjs} +1 -1
- package/components/{PlayerAccountClosure-Ccw2bW0u.js → PlayerAccountClosure-DZkt21Fk.js} +1 -1
- package/components/{PlayerAccountController-CEKTodyG.js → PlayerAccountController-CBGFsqix.js} +24 -24
- package/components/{PlayerAccountController-CPrx847O.js → PlayerAccountController-Cr7nw2a_.js} +24 -24
- package/components/{PlayerAccountController-DUeHF8xi.cjs → PlayerAccountController-oqvsO88z.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-C7NrDdgX.js → PlayerAccountGamingLimits-B-_9A0Kh.js} +2 -2
- package/components/{PlayerAccountGamingLimits-Drat7yFH.js → PlayerAccountGamingLimits-DXKCpahW.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BrCEdqWf.cjs → PlayerAccountGamingLimits-DlNtylIQ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CzJ2YE0J.js → PlayerAccountGamingLimitsConfirmationModal-CH2_5wj1.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-gw5_UaO9.js → PlayerAccountGamingLimitsConfirmationModal-CZoChMjm.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs → PlayerAccountGamingLimitsConfirmationModal-Oye218aQ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BsK3Gkal.js → PlayerAccountGamingLimitsGroupEdit-BRvPS4fD.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-3h2C_FW2.cjs → PlayerAccountGamingLimitsGroupEdit-CTznL5RJ.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-DED1UDUG.js → PlayerAccountGamingLimitsGroupEdit-DkQ1qDC6.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-BNSENHSR.js → PlayerAccountGamingLimitsHistory2-BFPiJ6vd.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-1-KN4dJo.js → PlayerAccountGamingLimitsHistory2-Bb3AUa3Y.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Bl-VMGFi.cjs → PlayerAccountGamingLimitsHistory2-DsU7oTqu.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CYi0QXjt.js → PlayerAccountGamingLimitsInfoCard-BElXXlnM.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-C7QGrNFp.cjs → PlayerAccountGamingLimitsInfoCard-BOA7JmIM.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CZy8Z70F.js → PlayerAccountGamingLimitsInfoCard-DlSJIVr6.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Q5WrBUgy.cjs → PlayerAccountGamingLimitsPage2Gm16-BfR9C9TP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dwc_eapv.js → PlayerAccountGamingLimitsPage2Gm16-C79Yc9XX.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DIB0a56k.js → PlayerAccountGamingLimitsPage2Gm16-DmyWZ4Pw.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dza8qXt2.js → PlayerAccountGamingLimitsPopup-DMyXnMg5.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-kYMipjs6.js → PlayerAccountGamingLimitsPopup-Pikl7WVu.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs → PlayerAccountGamingLimitsPopup-T-aSgDPp.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-sutTKtrP.js → PlayerAccountGamingLimitsWrapper2-D2nzl3l5.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-HBygavB0.cjs → PlayerAccountGamingLimitsWrapper2-kuhy2gJL.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Cb7n9Q4c.js → PlayerAccountGamingLimitsWrapper2-uOpxTu0s.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-CNNT6cLA.js → PlayerAccountGeneralConfirmationModal-5KwddwSQ.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs → PlayerAccountGeneralConfirmationModal-DAhBES0N.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-O_Xo5PRp.js → PlayerAccountGeneralConfirmationModal-DOfz9L46.js} +1 -1
- package/components/{PlayerAccountMenu-BQu1uMXy.cjs → PlayerAccountMenu-BMYkNPi4.cjs} +1 -1
- package/components/{PlayerAccountMenu-CEAFQw3J.js → PlayerAccountMenu-CfEj0Ex4.js} +2 -2
- package/components/{PlayerAccountMenu-B8_qfqEA.js → PlayerAccountMenu-DgYMlC-L.js} +2 -2
- package/components/{PlayerAccountModal-CzspHDhO.cjs → PlayerAccountModal-BmU94dvq.cjs} +1 -1
- package/components/{PlayerAccountModal-BOVxILh3.js → PlayerAccountModal-Cc6qEX_K.js} +1 -1
- package/components/{PlayerAccountModal-BxtTrm2F.js → PlayerAccountModal-t0MDFhap.js} +1 -1
- package/components/{PlayerAccountNotifications-BLs_Pe58.js → PlayerAccountNotifications-CbvWioDx.js} +1 -1
- package/components/{PlayerAccountNotifications-eSHo-n7V.js → PlayerAccountNotifications-CttLXLgE.js} +1 -1
- package/components/{PlayerAccountNotifications-CGmkTd-y.cjs → PlayerAccountNotifications-Dz5ZUI14.cjs} +1 -1
- package/components/PlayerAccountProductRestriction-BzFGzwpS.js +41358 -0
- package/components/PlayerAccountProductRestriction-CPTEFgCm.js +41393 -0
- package/components/PlayerAccountProductRestriction-CuWv-PA9.cjs +18195 -0
- package/components/{PlayerAccountSelfExclusion-DOGAbujk.js → PlayerAccountSelfExclusion-BSMAvDuC.js} +797 -801
- package/components/{PlayerAccountSelfExclusion-CatF8Zf2.js → PlayerAccountSelfExclusion-DjMEEnYO.js} +1138 -1142
- package/components/{PlayerAccountSelfExclusion-B5hPZPhz.cjs → PlayerAccountSelfExclusion-dBBwvtwd.cjs} +154 -154
- package/components/{PlayerAccountTimeout-o3bkzZxS.cjs → PlayerAccountTimeout-CeKseaT2.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BDqvZQlT.js → PlayerAccountTimeout-DVcNt4XQ.js} +3 -3
- package/components/{PlayerAccountTimeout-Dtn8rncg.js → PlayerAccountTimeout-NWCPI0DS.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-FnFkvTS7.cjs → PlayerAccountTransactionsHistory-BkIp2h9e.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DqZy3TOH.js → PlayerAccountTransactionsHistory-KfF8dkRJ.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DBC5hEPR.js → PlayerAccountTransactionsHistory-TLJbUKp9.js} +3 -3
- package/components/{PlayerActiveBonuses-CuBNDPHe.js → PlayerActiveBonuses-BGkEm7Be.js} +2 -2
- package/components/{PlayerActiveBonuses-CNJS0lAo.js → PlayerActiveBonuses-BLwjDQVG.js} +2 -2
- package/components/{PlayerActiveBonuses-DgXX-q4u.cjs → PlayerActiveBonuses-rV_fUESb.cjs} +1 -1
- package/components/{PlayerBonusCard-RgoO5gpm.cjs → PlayerBonusCard-BPoX5wfs.cjs} +1 -1
- package/components/{PlayerBonusCard-snrZC9GG.js → PlayerBonusCard-DBezDFKc.js} +2 -2
- package/components/{PlayerBonusCard-BIs_HZAR.js → PlayerBonusCard-alPmW91W.js} +2 -2
- package/components/{PlayerBonusHistory-CZp33hpy.js → PlayerBonusHistory-CFP593bm.js} +4 -4
- package/components/{PlayerBonusHistory-xY8ItPnS.cjs → PlayerBonusHistory-DVHQdhOb.cjs} +1 -1
- package/components/{PlayerBonusHistory-BJSs6dCz.js → PlayerBonusHistory-PZQF5ZPe.js} +4 -4
- package/components/{PlayerChangePassword-CTNjnq_r.cjs → PlayerChangePassword-CwD1QM12.cjs} +1 -1
- package/components/{PlayerChangePassword-DpSiDx3P.js → PlayerChangePassword-E06OJu0_.js} +1 -1
- package/components/{PlayerChangePassword-CQm9FDt2.js → PlayerChangePassword-z_WJmrLq.js} +1 -1
- package/components/{PlayerDeposit-C-v12uwl.js → PlayerDeposit-BGixufKr.js} +1 -1
- package/components/{PlayerDeposit-BsyYS9xx.cjs → PlayerDeposit-D_BcKGea.cjs} +1 -1
- package/components/{PlayerDeposit-CmmfBFxW.js → PlayerDeposit-DoTqsEwt.js} +1 -1
- package/components/{PlayerGamingHistory-DY-OU_B_.js → PlayerGamingHistory-BE6ySTfa.js} +53 -53
- package/components/{PlayerGamingHistory-CHWkZ2a7.js → PlayerGamingHistory-BphDZ-1z.js} +60 -60
- package/components/{PlayerGamingHistory-CcfX-9-7.cjs → PlayerGamingHistory-DKpqLPYP.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-D1OrRFXU.js → PlayerPendingWithdrawals-BFIozJ5l.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dvq9lK8F.cjs → PlayerPendingWithdrawals-BvU3rt0E.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-yVjsxqA0.js → PlayerPendingWithdrawals-CQu9gnc2.js} +1 -1
- package/components/{PlayerProfileInfo-DVss0s13.js → PlayerProfileInfo-tRtW8EvQ.js} +1 -1
- package/components/{PlayerProfileInfo-CNs_rVtu.js → PlayerProfileInfo-wO91X5ft.js} +1 -1
- package/components/{PlayerProfileInfo-CImeJryH.cjs → PlayerProfileInfo-z6shvZAW.cjs} +1 -1
- package/components/{PlayerRealityCheck-BynMsi1X.cjs → PlayerRealityCheck-Bcuyj4DN.cjs} +1 -1
- package/components/{PlayerRealityCheck-DlDgwEbp.js → PlayerRealityCheck-BtAWxNzB.js} +1 -1
- package/components/{PlayerRealityCheck-DsWuAvgp.js → PlayerRealityCheck-CLlFOKG1.js} +1 -1
- package/components/{PlayerTransactionHistory-DcIV6du-.js → PlayerTransactionHistory-BGjEfi_N.js} +1 -1
- package/components/{PlayerTransactionHistory-BU4_vLyx.cjs → PlayerTransactionHistory-CU9hS1O1.cjs} +1 -1
- package/components/{PlayerTransactionHistory-H6ItndSr.js → PlayerTransactionHistory-DZ1Q8Keo.js} +1 -1
- package/components/{PlayerWithdrawal-C0e0FHef.js → PlayerWithdrawal-7MNRqxQj.js} +1 -1
- package/components/{PlayerWithdrawal-CIrttRms.js → PlayerWithdrawal-CzhSRFFC.js} +1 -1
- package/components/{PlayerWithdrawal-CkSCfQ4A.cjs → PlayerWithdrawal-Do_oK-gt.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/checkbox-group-input_15-4jjKXiyu.js +44357 -0
- package/stencil/checkbox-group-input_15-Cjb23ygA.cjs +18439 -0
- package/stencil/checkbox-group-input_15-D4jW8PAX.js +44357 -0
- package/stencil/{index-6e523641-CoBB-3Id.js → index-6e523641-BXVlySjr.js} +1 -1
- package/stencil/{index-6e523641-CVaNEI5O.cjs → index-6e523641-C8HvHVNe.cjs} +1 -1
- package/stencil/{index-6e523641-DnC0RyBN.js → index-6e523641-Dh30vksh.js} +1 -1
- package/stencil/{index-c666b6e6-0vP9tVRn.js → index-c666b6e6-CDifFbHz.js} +1 -1
- package/stencil/{index-c666b6e6-BG7AG6I0.js → index-c666b6e6-DVC63sjM.js} +1 -1
- package/stencil/{index-c666b6e6-Dplkr5z-.cjs → index-c666b6e6-Dj4biVES.cjs} +1 -1
- package/stencil/{pam-change-password-9aef79f2-KsD2mY1P.js → pam-change-password-9aef79f2-BHFBbc1e.js} +1 -1
- package/stencil/{pam-change-password-9aef79f2-B23OpZ4g.cjs → pam-change-password-9aef79f2-DN0QnHkc.cjs} +1 -1
- package/stencil/{pam-change-password-9aef79f2-CxF70WOR.js → pam-change-password-9aef79f2-TNxI8Ghg.js} +1 -1
- package/stencil/{pam-change-password-3YQPvGE5.cjs → pam-change-password-CnWrrH9Y.cjs} +1 -1
- package/stencil/{pam-change-password-CvV2B_-T.js → pam-change-password-DEZMLuG9.js} +1 -1
- package/stencil/{pam-change-password-Dkm-XTnG.js → pam-change-password-f-P80xU5.js} +1 -1
- package/stencil/{user-transaction-history-Bv0LEs6K.cjs → user-transaction-history-B8TwDrKY.cjs} +1 -1
- package/stencil/{user-transaction-history-Be-hf7kW.js → user-transaction-history-CQjnF8Ke.js} +1 -1
- package/stencil/{user-transaction-history-Cf_iR1wy.js → user-transaction-history-Uxq67erZ.js} +1 -1
- package/stencil/user-transaction-history_2-CdSqYLwp.cjs +18193 -0
- package/stencil/user-transaction-history_2-Tw_fXTd3.js +43121 -0
- package/stencil/user-transaction-history_2-uQTFnIT9.js +43099 -0
- package/components/GeneralLogout-CuvnoUn1.cjs +0 -21
- package/components/PlayerAccountProductRestriction--OoNKa9R.cjs +0 -6662
- package/components/PlayerAccountProductRestriction-BtYgBboa.js +0 -17517
- package/components/PlayerAccountProductRestriction-CB50nJp4.js +0 -17552
- package/stencil/checkbox-group-input_15-Cuk5W1yj.cjs +0 -6906
- package/stencil/checkbox-group-input_15-hKKsNICT.js +0 -20526
- package/stencil/checkbox-group-input_15-nDrUZEAF.js +0 -20526
- package/stencil/user-transaction-history_2-8ViaNgLC.js +0 -19290
- package/stencil/user-transaction-history_2-B2yjMaBN.cjs +0 -6660
- package/stencil/user-transaction-history_2-DwdhsDRA.js +0 -19268
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function H() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Er = (e) => e;
|
|
4
|
+
function Sr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,29 +9,29 @@ function Ar(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function It(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ot() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function G(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(It);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function he(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Lt(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
27
|
let pe;
|
|
28
|
-
function
|
|
28
|
+
function fo(e, t) {
|
|
29
29
|
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Tr(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Nt(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const n of t)
|
|
37
37
|
n(void 0);
|
|
@@ -40,19 +40,19 @@ function Ut(e, ...t) {
|
|
|
40
40
|
const r = e.subscribe(...t);
|
|
41
41
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
e.$$.on_destroy.push(
|
|
43
|
+
function wr(e, t, r) {
|
|
44
|
+
e.$$.on_destroy.push(Nt(t, r));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function po(e, t, r, n) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = Mt(e, t, r, n);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return e[1] && n ?
|
|
52
|
+
function Mt(e, t, r, n) {
|
|
53
|
+
return e[1] && n ? Sr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function mo(e, t, r, n) {
|
|
56
56
|
if (e[2] && n) {
|
|
57
57
|
const i = e[2](n(r));
|
|
58
58
|
if (t.dirty === void 0)
|
|
@@ -67,13 +67,13 @@ function _o(e, t, r, n) {
|
|
|
67
67
|
}
|
|
68
68
|
return t.dirty;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function bo(e, t, r, n, i, o) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const a =
|
|
72
|
+
const a = Mt(t, r, n, o);
|
|
73
73
|
e.p(a, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function go(e) {
|
|
77
77
|
if (e.ctx.length > 32) {
|
|
78
78
|
const t = [], r = e.ctx.length / 32;
|
|
79
79
|
for (let n = 0; n < r; n++)
|
|
@@ -82,23 +82,23 @@ function xo(e) {
|
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function yo(e) {
|
|
86
86
|
return e ?? "";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
return e &&
|
|
88
|
+
function vo(e) {
|
|
89
|
+
return e && he(e.destroy) ? e.destroy : H;
|
|
90
90
|
}
|
|
91
|
-
const
|
|
92
|
-
let
|
|
91
|
+
const Ct = typeof window < "u";
|
|
92
|
+
let Hr = Ct ? () => window.performance.now() : () => Date.now(), tt = Ct ? (e) => requestAnimationFrame(e) : H;
|
|
93
93
|
const W = /* @__PURE__ */ new Set();
|
|
94
|
-
function
|
|
94
|
+
function $t(e) {
|
|
95
95
|
W.forEach((t) => {
|
|
96
96
|
t.c(e) || (W.delete(t), t.f());
|
|
97
|
-
}), W.size !== 0 &&
|
|
97
|
+
}), W.size !== 0 && tt($t);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Br(e) {
|
|
100
100
|
let t;
|
|
101
|
-
return W.size === 0 &&
|
|
101
|
+
return W.size === 0 && tt($t), {
|
|
102
102
|
promise: new Promise((r) => {
|
|
103
103
|
W.add(t = { c: e, f: r });
|
|
104
104
|
}),
|
|
@@ -110,14 +110,14 @@ function Lr(e) {
|
|
|
110
110
|
function A(e, t) {
|
|
111
111
|
e.appendChild(t);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
const n =
|
|
113
|
+
function Ar(e, t, r) {
|
|
114
|
+
const n = rt(e);
|
|
115
115
|
if (!n.getElementById(t)) {
|
|
116
116
|
const i = I("style");
|
|
117
|
-
i.id = t, i.textContent = r,
|
|
117
|
+
i.id = t, i.textContent = r, Rt(n, i);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function rt(e) {
|
|
121
121
|
if (!e)
|
|
122
122
|
return document;
|
|
123
123
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -127,24 +127,24 @@ function at(e) {
|
|
|
127
127
|
t
|
|
128
128
|
) : e.ownerDocument;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function Pr(e) {
|
|
131
131
|
const t = I("style");
|
|
132
|
-
return t.textContent = "/* empty */",
|
|
132
|
+
return t.textContent = "/* empty */", Rt(rt(e), t), t.sheet;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Rt(e, t) {
|
|
135
135
|
return A(
|
|
136
136
|
/** @type {Document} */
|
|
137
137
|
e.head || e,
|
|
138
138
|
t
|
|
139
139
|
), t.sheet;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function K(e, t, r) {
|
|
142
142
|
e.insertBefore(t, r || null);
|
|
143
143
|
}
|
|
144
144
|
function D(e) {
|
|
145
145
|
e.parentNode && e.parentNode.removeChild(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function _o(e, t) {
|
|
148
148
|
for (let r = 0; r < e.length; r += 1)
|
|
149
149
|
e[r] && e[r].d(t);
|
|
150
150
|
}
|
|
@@ -154,19 +154,19 @@ function I(e) {
|
|
|
154
154
|
function V(e) {
|
|
155
155
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function le(e) {
|
|
158
158
|
return document.createTextNode(e);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
return
|
|
160
|
+
function Or() {
|
|
161
|
+
return le(" ");
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
return
|
|
163
|
+
function xo() {
|
|
164
|
+
return le("");
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ut(e, t, r, n) {
|
|
167
167
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function Eo(e) {
|
|
170
170
|
return function(t) {
|
|
171
171
|
return t.preventDefault(), e.call(this, t);
|
|
172
172
|
};
|
|
@@ -174,11 +174,11 @@ function Bo(e) {
|
|
|
174
174
|
function B(e, t, r) {
|
|
175
175
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function So(e, t, r) {
|
|
178
178
|
const n = t.toLowerCase();
|
|
179
179
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function To(e) {
|
|
182
182
|
let t;
|
|
183
183
|
return {
|
|
184
184
|
/* push */
|
|
@@ -191,23 +191,23 @@ function Po(e) {
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function wo(e) {
|
|
195
195
|
return e === "" ? null : +e;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Ir(e) {
|
|
198
198
|
return Array.from(e.childNodes);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Dt(e, t) {
|
|
201
201
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
202
202
|
t);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Ho(e, t) {
|
|
205
205
|
e.value = t ?? "";
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Lr(e, t, r, n) {
|
|
208
208
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Bo(e, t, r) {
|
|
211
211
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
212
212
|
const i = e.options[n];
|
|
213
213
|
if (i.__value === t) {
|
|
@@ -217,17 +217,17 @@ function Lo(e, t, r) {
|
|
|
217
217
|
}
|
|
218
218
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Ao(e) {
|
|
221
221
|
const t = e.querySelector(":checked");
|
|
222
222
|
return t && t.__value;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Po(e, t, r) {
|
|
225
225
|
e.classList.toggle(t, !!r);
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Nr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
228
228
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
229
229
|
}
|
|
230
|
-
class
|
|
230
|
+
class Oo {
|
|
231
231
|
/**
|
|
232
232
|
* @private
|
|
233
233
|
* @default false
|
|
@@ -282,7 +282,7 @@ class Co {
|
|
|
282
282
|
* @returns {void} */
|
|
283
283
|
i(t) {
|
|
284
284
|
for (let r = 0; r < this.n.length; r += 1)
|
|
285
|
-
|
|
285
|
+
K(this.t, this.n[r], t);
|
|
286
286
|
}
|
|
287
287
|
/**
|
|
288
288
|
* @param {string} html
|
|
@@ -297,7 +297,7 @@ class Co {
|
|
|
297
297
|
this.n.forEach(D);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Mr(e) {
|
|
301
301
|
const t = {};
|
|
302
302
|
return e.childNodes.forEach(
|
|
303
303
|
/** @param {Element} node */
|
|
@@ -306,161 +306,161 @@ function Dr(e) {
|
|
|
306
306
|
}
|
|
307
307
|
), t;
|
|
308
308
|
}
|
|
309
|
-
const
|
|
310
|
-
let
|
|
311
|
-
function
|
|
309
|
+
const xe = /* @__PURE__ */ new Map();
|
|
310
|
+
let Ee = 0;
|
|
311
|
+
function Cr(e) {
|
|
312
312
|
let t = 5381, r = e.length;
|
|
313
313
|
for (; r--; )
|
|
314
314
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
315
315
|
return t >>> 0;
|
|
316
316
|
}
|
|
317
|
-
function
|
|
318
|
-
const r = { stylesheet:
|
|
319
|
-
return
|
|
317
|
+
function $r(e, t) {
|
|
318
|
+
const r = { stylesheet: Pr(t), rules: {} };
|
|
319
|
+
return xe.set(e, r), r;
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function st(e, t, r, n, i, o, a, s = 0) {
|
|
322
322
|
const h = 16.666 / n;
|
|
323
323
|
let u = `{
|
|
324
324
|
`;
|
|
325
|
-
for (let
|
|
326
|
-
const T = t + (r - t) * o(
|
|
327
|
-
u +=
|
|
325
|
+
for (let x = 0; x <= 1; x += h) {
|
|
326
|
+
const T = t + (r - t) * o(x);
|
|
327
|
+
u += x * 100 + `%{${a(T, 1 - T)}}
|
|
328
328
|
`;
|
|
329
329
|
}
|
|
330
330
|
const l = u + `100% {${a(r, 1 - r)}}
|
|
331
|
-
}`, f = `__svelte_${
|
|
331
|
+
}`, f = `__svelte_${Cr(l)}_${s}`, c = rt(e), { stylesheet: d, rules: p } = xe.get(c) || $r(c, e);
|
|
332
332
|
p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
|
|
333
333
|
const m = e.style.animation || "";
|
|
334
|
-
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`,
|
|
334
|
+
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Ee += 1, f;
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Rr(e, t) {
|
|
337
337
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
338
338
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
339
339
|
// remove all Svelte animations
|
|
340
340
|
), i = r.length - n.length;
|
|
341
|
-
i && (e.style.animation = n.join(", "),
|
|
341
|
+
i && (e.style.animation = n.join(", "), Ee -= i, Ee || Ur());
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
|
|
345
|
-
|
|
343
|
+
function Ur() {
|
|
344
|
+
tt(() => {
|
|
345
|
+
Ee || (xe.forEach((e) => {
|
|
346
346
|
const { ownerNode: t } = e.stylesheet;
|
|
347
347
|
t && D(t);
|
|
348
|
-
}),
|
|
348
|
+
}), xe.clear());
|
|
349
349
|
});
|
|
350
350
|
}
|
|
351
|
-
let
|
|
352
|
-
function
|
|
353
|
-
|
|
351
|
+
let se;
|
|
352
|
+
function oe(e) {
|
|
353
|
+
se = e;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
356
|
-
if (!
|
|
355
|
+
function Dr() {
|
|
356
|
+
if (!se)
|
|
357
357
|
throw new Error("Function called outside component initialization");
|
|
358
|
-
return
|
|
358
|
+
return se;
|
|
359
359
|
}
|
|
360
|
-
function
|
|
361
|
-
|
|
360
|
+
function Gr(e) {
|
|
361
|
+
Dr().$$.on_mount.push(e);
|
|
362
362
|
}
|
|
363
|
-
const X = [],
|
|
363
|
+
const X = [], Ge = [];
|
|
364
364
|
let z = [];
|
|
365
|
-
const
|
|
366
|
-
let
|
|
367
|
-
function
|
|
368
|
-
|
|
365
|
+
const at = [], Gt = /* @__PURE__ */ Promise.resolve();
|
|
366
|
+
let Fe = !1;
|
|
367
|
+
function Ft() {
|
|
368
|
+
Fe || (Fe = !0, Gt.then(L));
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
return
|
|
370
|
+
function Io() {
|
|
371
|
+
return Ft(), Gt;
|
|
372
372
|
}
|
|
373
373
|
function Se(e) {
|
|
374
374
|
z.push(e);
|
|
375
375
|
}
|
|
376
|
-
const
|
|
376
|
+
const Le = /* @__PURE__ */ new Set();
|
|
377
377
|
let j = 0;
|
|
378
378
|
function L() {
|
|
379
379
|
if (j !== 0)
|
|
380
380
|
return;
|
|
381
|
-
const e =
|
|
381
|
+
const e = se;
|
|
382
382
|
do {
|
|
383
383
|
try {
|
|
384
384
|
for (; j < X.length; ) {
|
|
385
385
|
const t = X[j];
|
|
386
|
-
j++,
|
|
386
|
+
j++, oe(t), Fr(t.$$);
|
|
387
387
|
}
|
|
388
388
|
} catch (t) {
|
|
389
389
|
throw X.length = 0, j = 0, t;
|
|
390
390
|
}
|
|
391
|
-
for (
|
|
392
|
-
|
|
391
|
+
for (oe(null), X.length = 0, j = 0; Ge.length; )
|
|
392
|
+
Ge.pop()();
|
|
393
393
|
for (let t = 0; t < z.length; t += 1) {
|
|
394
394
|
const r = z[t];
|
|
395
|
-
|
|
395
|
+
Le.has(r) || (Le.add(r), r());
|
|
396
396
|
}
|
|
397
397
|
z.length = 0;
|
|
398
398
|
} while (X.length);
|
|
399
|
-
for (;
|
|
400
|
-
|
|
401
|
-
|
|
399
|
+
for (; at.length; )
|
|
400
|
+
at.pop()();
|
|
401
|
+
Fe = !1, Le.clear(), oe(e);
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function Fr(e) {
|
|
404
404
|
if (e.fragment !== null) {
|
|
405
405
|
e.update(), G(e.before_update);
|
|
406
406
|
const t = e.dirty;
|
|
407
407
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function jr(e) {
|
|
411
411
|
const t = [], r = [];
|
|
412
412
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
413
413
|
}
|
|
414
|
-
let
|
|
415
|
-
function
|
|
416
|
-
return
|
|
417
|
-
|
|
418
|
-
})),
|
|
414
|
+
let ne;
|
|
415
|
+
function kr() {
|
|
416
|
+
return ne || (ne = Promise.resolve(), ne.then(() => {
|
|
417
|
+
ne = null;
|
|
418
|
+
})), ne;
|
|
419
419
|
}
|
|
420
|
-
function
|
|
421
|
-
e.dispatchEvent(
|
|
420
|
+
function Ne(e, t, r) {
|
|
421
|
+
e.dispatchEvent(Nr(`${t ? "intro" : "outro"}${r}`));
|
|
422
422
|
}
|
|
423
423
|
const be = /* @__PURE__ */ new Set();
|
|
424
|
-
let
|
|
425
|
-
function
|
|
426
|
-
|
|
424
|
+
let N;
|
|
425
|
+
function Lo() {
|
|
426
|
+
N = {
|
|
427
427
|
r: 0,
|
|
428
428
|
c: [],
|
|
429
|
-
p:
|
|
429
|
+
p: N
|
|
430
430
|
// parent group
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
|
|
433
|
+
function No() {
|
|
434
|
+
N.r || G(N.c), N = N.p;
|
|
435
435
|
}
|
|
436
|
-
function
|
|
436
|
+
function Vr(e, t) {
|
|
437
437
|
e && e.i && (be.delete(e), e.i(t));
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function Mo(e, t, r, n) {
|
|
440
440
|
if (e && e.o) {
|
|
441
441
|
if (be.has(e))
|
|
442
442
|
return;
|
|
443
|
-
be.add(e),
|
|
443
|
+
be.add(e), N.c.push(() => {
|
|
444
444
|
be.delete(e), n && (r && e.d(1), n());
|
|
445
445
|
}), e.o(t);
|
|
446
446
|
} else
|
|
447
447
|
n && n();
|
|
448
448
|
}
|
|
449
|
-
const
|
|
450
|
-
function
|
|
449
|
+
const Xr = { duration: 0 };
|
|
450
|
+
function Co(e, t, r, n) {
|
|
451
451
|
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, h = null, u = null, l;
|
|
452
452
|
function f() {
|
|
453
|
-
u &&
|
|
453
|
+
u && Rr(e, u);
|
|
454
454
|
}
|
|
455
455
|
function c(p, m) {
|
|
456
|
-
const
|
|
456
|
+
const x = (
|
|
457
457
|
/** @type {Program['d']} */
|
|
458
458
|
p.b - a
|
|
459
459
|
);
|
|
460
|
-
return m *= Math.abs(
|
|
460
|
+
return m *= Math.abs(x), {
|
|
461
461
|
a,
|
|
462
462
|
b: p.b,
|
|
463
|
-
d:
|
|
463
|
+
d: x,
|
|
464
464
|
duration: m,
|
|
465
465
|
start: p.start,
|
|
466
466
|
end: p.start + m,
|
|
@@ -470,17 +470,17 @@ function Go(e, t, r, n) {
|
|
|
470
470
|
function d(p) {
|
|
471
471
|
const {
|
|
472
472
|
delay: m = 0,
|
|
473
|
-
duration:
|
|
474
|
-
easing: T =
|
|
473
|
+
duration: x = 300,
|
|
474
|
+
easing: T = Er,
|
|
475
475
|
tick: P = H,
|
|
476
|
-
css:
|
|
477
|
-
} = o ||
|
|
478
|
-
start:
|
|
476
|
+
css: E
|
|
477
|
+
} = o || Xr, O = {
|
|
478
|
+
start: Hr() + m,
|
|
479
479
|
b: p
|
|
480
480
|
};
|
|
481
|
-
p || (O.group =
|
|
482
|
-
e.inert, e.inert = !0)), s || h ? h = O : (
|
|
483
|
-
if (h && w > h.start && (s = c(h,
|
|
481
|
+
p || (O.group = N, N.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
|
|
482
|
+
e.inert, e.inert = !0)), s || h ? h = O : (E && (f(), u = st(e, a, p, x, m, T, E)), p && P(0, 1), s = c(O, x), Se(() => Ne(e, p, "start")), Br((w) => {
|
|
483
|
+
if (h && w > h.start && (s = c(h, x), h = null, Ne(e, s.b, "start"), E && (f(), u = st(
|
|
484
484
|
e,
|
|
485
485
|
a,
|
|
486
486
|
s.b,
|
|
@@ -490,7 +490,7 @@ function Go(e, t, r, n) {
|
|
|
490
490
|
o.css
|
|
491
491
|
))), s) {
|
|
492
492
|
if (w >= s.end)
|
|
493
|
-
P(a = s.b, 1 - a),
|
|
493
|
+
P(a = s.b, 1 - a), Ne(e, s.b, "end"), h || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
|
|
494
494
|
else if (w >= s.start) {
|
|
495
495
|
const $ = w - s.start;
|
|
496
496
|
a = s.a + s.d * T($ / s.duration), P(a, 1 - a);
|
|
@@ -501,7 +501,7 @@ function Go(e, t, r, n) {
|
|
|
501
501
|
}
|
|
502
502
|
return {
|
|
503
503
|
run(p) {
|
|
504
|
-
|
|
504
|
+
he(o) ? kr().then(() => {
|
|
505
505
|
o = o({ direction: p ? "in" : "out" }), d(p);
|
|
506
506
|
}) : d(p);
|
|
507
507
|
},
|
|
@@ -510,26 +510,26 @@ function Go(e, t, r, n) {
|
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function $o(e) {
|
|
514
514
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Wr(e, t, r) {
|
|
517
517
|
const { fragment: n, after_update: i } = e.$$;
|
|
518
518
|
n && n.m(t, r), Se(() => {
|
|
519
|
-
const o = e.$$.on_mount.map(
|
|
519
|
+
const o = e.$$.on_mount.map(It).filter(he);
|
|
520
520
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
|
|
521
521
|
}), i.forEach(Se);
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function zr(e, t) {
|
|
524
524
|
const r = e.$$;
|
|
525
|
-
r.fragment !== null && (
|
|
525
|
+
r.fragment !== null && (jr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
528
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
527
|
+
function Zr(e, t) {
|
|
528
|
+
e.$$.dirty[0] === -1 && (X.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
const h =
|
|
532
|
-
|
|
530
|
+
function qr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
531
|
+
const h = se;
|
|
532
|
+
oe(e);
|
|
533
533
|
const u = e.$$ = {
|
|
534
534
|
fragment: null,
|
|
535
535
|
ctx: [],
|
|
@@ -537,7 +537,7 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
537
537
|
props: o,
|
|
538
538
|
update: H,
|
|
539
539
|
not_equal: i,
|
|
540
|
-
bound:
|
|
540
|
+
bound: ot(),
|
|
541
541
|
// lifecycle
|
|
542
542
|
on_mount: [],
|
|
543
543
|
on_destroy: [],
|
|
@@ -546,7 +546,7 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
546
546
|
after_update: [],
|
|
547
547
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
548
548
|
// everything else
|
|
549
|
-
callbacks:
|
|
549
|
+
callbacks: ot(),
|
|
550
550
|
dirty: s,
|
|
551
551
|
skip_bound: !1,
|
|
552
552
|
root: t.target || h.$$.root
|
|
@@ -555,19 +555,19 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
555
555
|
let l = !1;
|
|
556
556
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
557
557
|
const p = d.length ? d[0] : c;
|
|
558
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l &&
|
|
558
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Zr(e, f)), c;
|
|
559
559
|
}) : [], u.update(), l = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
560
560
|
if (t.hydrate) {
|
|
561
|
-
const f =
|
|
561
|
+
const f = Ir(t.target);
|
|
562
562
|
u.fragment && u.fragment.l(f), f.forEach(D);
|
|
563
563
|
} else
|
|
564
564
|
u.fragment && u.fragment.c();
|
|
565
|
-
t.intro &&
|
|
565
|
+
t.intro && Vr(e.$$.fragment), Wr(e, t.target, t.anchor), L();
|
|
566
566
|
}
|
|
567
|
-
|
|
567
|
+
oe(h);
|
|
568
568
|
}
|
|
569
|
-
let
|
|
570
|
-
typeof HTMLElement == "function" && (
|
|
569
|
+
let jt;
|
|
570
|
+
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
571
571
|
/** The Svelte component constructor */
|
|
572
572
|
$$ctor;
|
|
573
573
|
/** Slots */
|
|
@@ -616,7 +616,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
616
616
|
* @param {HTMLElement} [anchor]
|
|
617
617
|
*/
|
|
618
618
|
m: function(h, u) {
|
|
619
|
-
|
|
619
|
+
K(h, o, u);
|
|
620
620
|
},
|
|
621
621
|
d: function(h) {
|
|
622
622
|
h && D(o);
|
|
@@ -626,12 +626,12 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
626
626
|
};
|
|
627
627
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
628
628
|
return;
|
|
629
|
-
const t = {}, r =
|
|
629
|
+
const t = {}, r = Mr(this);
|
|
630
630
|
for (const i of this.$$s)
|
|
631
631
|
i in r && (t[i] = [e(i)]);
|
|
632
632
|
for (const i of this.attributes) {
|
|
633
633
|
const o = this.$$g_p(i.name);
|
|
634
|
-
o in this.$$d || (this.$$d[o] =
|
|
634
|
+
o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
|
|
635
635
|
}
|
|
636
636
|
for (const i in this.$$p_d)
|
|
637
637
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -649,7 +649,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
649
649
|
this.$$r = !0;
|
|
650
650
|
for (const i in this.$$p_d)
|
|
651
651
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
652
|
-
const o =
|
|
652
|
+
const o = ge(
|
|
653
653
|
i,
|
|
654
654
|
this.$$d[i],
|
|
655
655
|
this.$$p_d,
|
|
@@ -671,7 +671,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
671
671
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
672
672
|
// and setting attributes through setAttribute etc, this is helpful
|
|
673
673
|
attributeChangedCallback(e, t, r) {
|
|
674
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
674
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
675
675
|
}
|
|
676
676
|
disconnectedCallback() {
|
|
677
677
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -684,7 +684,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
684
684
|
) || e;
|
|
685
685
|
}
|
|
686
686
|
});
|
|
687
|
-
function
|
|
687
|
+
function ge(e, t, r, n) {
|
|
688
688
|
const i = r[e]?.type;
|
|
689
689
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
690
690
|
return t;
|
|
@@ -713,8 +713,8 @@ function ye(e, t, r, n) {
|
|
|
713
713
|
return t;
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
|
-
function
|
|
717
|
-
let a = class extends
|
|
716
|
+
function Qr(e, t, r, n, i, o) {
|
|
717
|
+
let a = class extends jt {
|
|
718
718
|
constructor() {
|
|
719
719
|
super(e, r, i), this.$$p_d = t;
|
|
720
720
|
}
|
|
@@ -730,7 +730,7 @@ function tn(e, t, r, n, i, o) {
|
|
|
730
730
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
731
731
|
},
|
|
732
732
|
set(h) {
|
|
733
|
-
h =
|
|
733
|
+
h = ge(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
734
734
|
}
|
|
735
735
|
});
|
|
736
736
|
}), n.forEach((s) => {
|
|
@@ -742,7 +742,7 @@ function tn(e, t, r, n, i, o) {
|
|
|
742
742
|
}), e.element = /** @type {any} */
|
|
743
743
|
a, a;
|
|
744
744
|
}
|
|
745
|
-
class
|
|
745
|
+
class Jr {
|
|
746
746
|
/**
|
|
747
747
|
* ### PRIVATE API
|
|
748
748
|
*
|
|
@@ -761,7 +761,7 @@ class rn {
|
|
|
761
761
|
$$set = void 0;
|
|
762
762
|
/** @returns {void} */
|
|
763
763
|
$destroy() {
|
|
764
|
-
|
|
764
|
+
zr(this, 1), this.$destroy = H;
|
|
765
765
|
}
|
|
766
766
|
/**
|
|
767
767
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -770,7 +770,7 @@ class rn {
|
|
|
770
770
|
* @returns {() => void}
|
|
771
771
|
*/
|
|
772
772
|
$on(t, r) {
|
|
773
|
-
if (!
|
|
773
|
+
if (!he(r))
|
|
774
774
|
return H;
|
|
775
775
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
776
776
|
return n.push(r), () => {
|
|
@@ -783,11 +783,11 @@ class rn {
|
|
|
783
783
|
* @returns {void}
|
|
784
784
|
*/
|
|
785
785
|
$set(t) {
|
|
786
|
-
this.$$set && !
|
|
786
|
+
this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
const
|
|
790
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
789
|
+
const Yr = "4";
|
|
790
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
|
|
791
791
|
/*! *****************************************************************************
|
|
792
792
|
Copyright (c) Microsoft Corporation.
|
|
793
793
|
|
|
@@ -802,24 +802,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
802
802
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
803
803
|
PERFORMANCE OF THIS SOFTWARE.
|
|
804
804
|
***************************************************************************** */
|
|
805
|
-
var
|
|
806
|
-
return
|
|
805
|
+
var je = function(e, t) {
|
|
806
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
807
807
|
r.__proto__ = n;
|
|
808
808
|
} || function(r, n) {
|
|
809
809
|
for (var i in n)
|
|
810
810
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
811
|
-
},
|
|
811
|
+
}, je(e, t);
|
|
812
812
|
};
|
|
813
|
-
function
|
|
813
|
+
function C(e, t) {
|
|
814
814
|
if (typeof t != "function" && t !== null)
|
|
815
815
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
816
|
-
|
|
816
|
+
je(e, t);
|
|
817
817
|
function r() {
|
|
818
818
|
this.constructor = e;
|
|
819
819
|
}
|
|
820
820
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
821
821
|
}
|
|
822
|
-
function
|
|
822
|
+
var y = function() {
|
|
823
|
+
return y = Object.assign || function(t) {
|
|
824
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
825
|
+
r = arguments[n];
|
|
826
|
+
for (var o in r)
|
|
827
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
828
|
+
}
|
|
829
|
+
return t;
|
|
830
|
+
}, y.apply(this, arguments);
|
|
831
|
+
};
|
|
832
|
+
function Kr(e, t) {
|
|
833
|
+
var r = {};
|
|
834
|
+
for (var n in e)
|
|
835
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
836
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
837
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
838
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
839
|
+
return r;
|
|
840
|
+
}
|
|
841
|
+
function ke(e) {
|
|
823
842
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
824
843
|
if (r)
|
|
825
844
|
return r.call(e);
|
|
@@ -831,7 +850,7 @@ function We(e) {
|
|
|
831
850
|
};
|
|
832
851
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
833
852
|
}
|
|
834
|
-
function
|
|
853
|
+
function Ve(e, t) {
|
|
835
854
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
836
855
|
if (!r)
|
|
837
856
|
return e;
|
|
@@ -851,22 +870,22 @@ function ze(e, t) {
|
|
|
851
870
|
}
|
|
852
871
|
return o;
|
|
853
872
|
}
|
|
854
|
-
function
|
|
855
|
-
if (arguments.length === 2)
|
|
873
|
+
function Z(e, t, r) {
|
|
874
|
+
if (r || arguments.length === 2)
|
|
856
875
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
857
876
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
858
877
|
return e.concat(o || t);
|
|
859
878
|
}
|
|
860
|
-
function
|
|
879
|
+
function M(e) {
|
|
861
880
|
return typeof e == "function";
|
|
862
881
|
}
|
|
863
|
-
function
|
|
882
|
+
function kt(e) {
|
|
864
883
|
var t = function(n) {
|
|
865
884
|
Error.call(n), n.stack = new Error().stack;
|
|
866
885
|
}, r = e(t);
|
|
867
886
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
868
887
|
}
|
|
869
|
-
var
|
|
888
|
+
var Me = kt(function(e) {
|
|
870
889
|
return function(r) {
|
|
871
890
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
872
891
|
` + r.map(function(n, i) {
|
|
@@ -875,13 +894,13 @@ var $e = Zt(function(e) {
|
|
|
875
894
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
876
895
|
};
|
|
877
896
|
});
|
|
878
|
-
function
|
|
897
|
+
function Xe(e, t) {
|
|
879
898
|
if (e) {
|
|
880
899
|
var r = e.indexOf(t);
|
|
881
900
|
0 <= r && e.splice(r, 1);
|
|
882
901
|
}
|
|
883
902
|
}
|
|
884
|
-
var
|
|
903
|
+
var He = function() {
|
|
885
904
|
function e(t) {
|
|
886
905
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
887
906
|
}
|
|
@@ -893,7 +912,7 @@ var Be = function() {
|
|
|
893
912
|
if (a)
|
|
894
913
|
if (this._parentage = null, Array.isArray(a))
|
|
895
914
|
try {
|
|
896
|
-
for (var s =
|
|
915
|
+
for (var s = ke(a), h = s.next(); !h.done; h = s.next()) {
|
|
897
916
|
var u = h.value;
|
|
898
917
|
u.remove(this);
|
|
899
918
|
}
|
|
@@ -910,22 +929,22 @@ var Be = function() {
|
|
|
910
929
|
else
|
|
911
930
|
a.remove(this);
|
|
912
931
|
var l = this.initialTeardown;
|
|
913
|
-
if (
|
|
932
|
+
if (M(l))
|
|
914
933
|
try {
|
|
915
934
|
l();
|
|
916
935
|
} catch (m) {
|
|
917
|
-
o = m instanceof
|
|
936
|
+
o = m instanceof Me ? m.errors : [m];
|
|
918
937
|
}
|
|
919
938
|
var f = this._finalizers;
|
|
920
939
|
if (f) {
|
|
921
940
|
this._finalizers = null;
|
|
922
941
|
try {
|
|
923
|
-
for (var c =
|
|
942
|
+
for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
|
|
924
943
|
var p = d.value;
|
|
925
944
|
try {
|
|
926
|
-
|
|
945
|
+
ut(p);
|
|
927
946
|
} catch (m) {
|
|
928
|
-
o = o ?? [], m instanceof
|
|
947
|
+
o = o ?? [], m instanceof Me ? o = Z(Z([], Ve(o)), Ve(m.errors)) : o.push(m);
|
|
929
948
|
}
|
|
930
949
|
}
|
|
931
950
|
} catch (m) {
|
|
@@ -940,13 +959,13 @@ var Be = function() {
|
|
|
940
959
|
}
|
|
941
960
|
}
|
|
942
961
|
if (o)
|
|
943
|
-
throw new
|
|
962
|
+
throw new Me(o);
|
|
944
963
|
}
|
|
945
964
|
}, e.prototype.add = function(t) {
|
|
946
965
|
var r;
|
|
947
966
|
if (t && t !== this)
|
|
948
967
|
if (this.closed)
|
|
949
|
-
|
|
968
|
+
ut(t);
|
|
950
969
|
else {
|
|
951
970
|
if (t instanceof e) {
|
|
952
971
|
if (t.closed || t._hasParent(this))
|
|
@@ -963,52 +982,52 @@ var Be = function() {
|
|
|
963
982
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
964
983
|
}, e.prototype._removeParent = function(t) {
|
|
965
984
|
var r = this._parentage;
|
|
966
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
985
|
+
r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
|
|
967
986
|
}, e.prototype.remove = function(t) {
|
|
968
987
|
var r = this._finalizers;
|
|
969
|
-
r &&
|
|
988
|
+
r && Xe(r, t), t instanceof e && t._removeParent(this);
|
|
970
989
|
}, e.EMPTY = function() {
|
|
971
990
|
var t = new e();
|
|
972
991
|
return t.closed = !0, t;
|
|
973
992
|
}(), e;
|
|
974
|
-
}(),
|
|
975
|
-
function
|
|
976
|
-
return e instanceof
|
|
993
|
+
}(), Vt = He.EMPTY;
|
|
994
|
+
function Xt(e) {
|
|
995
|
+
return e instanceof He || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
|
|
977
996
|
}
|
|
978
|
-
function
|
|
979
|
-
|
|
997
|
+
function ut(e) {
|
|
998
|
+
M(e) ? e() : e.unsubscribe();
|
|
980
999
|
}
|
|
981
|
-
var
|
|
1000
|
+
var en = {
|
|
982
1001
|
Promise: void 0
|
|
983
|
-
},
|
|
1002
|
+
}, tn = {
|
|
984
1003
|
setTimeout: function(e, t) {
|
|
985
1004
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
986
1005
|
r[n - 2] = arguments[n];
|
|
987
|
-
return setTimeout.apply(void 0,
|
|
1006
|
+
return setTimeout.apply(void 0, Z([e, t], Ve(r)));
|
|
988
1007
|
},
|
|
989
1008
|
clearTimeout: function(e) {
|
|
990
1009
|
return clearTimeout(e);
|
|
991
1010
|
},
|
|
992
1011
|
delegate: void 0
|
|
993
1012
|
};
|
|
994
|
-
function
|
|
995
|
-
|
|
1013
|
+
function rn(e) {
|
|
1014
|
+
tn.setTimeout(function() {
|
|
996
1015
|
throw e;
|
|
997
1016
|
});
|
|
998
1017
|
}
|
|
999
|
-
function
|
|
1018
|
+
function ht() {
|
|
1000
1019
|
}
|
|
1001
|
-
function
|
|
1020
|
+
function ye(e) {
|
|
1002
1021
|
e();
|
|
1003
1022
|
}
|
|
1004
|
-
var
|
|
1005
|
-
|
|
1023
|
+
var Wt = function(e) {
|
|
1024
|
+
C(t, e);
|
|
1006
1025
|
function t(r) {
|
|
1007
1026
|
var n = e.call(this) || this;
|
|
1008
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
1027
|
+
return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = sn, n;
|
|
1009
1028
|
}
|
|
1010
1029
|
return t.create = function(r, n, i) {
|
|
1011
|
-
return new
|
|
1030
|
+
return new We(r, n, i);
|
|
1012
1031
|
}, t.prototype.next = function(r) {
|
|
1013
1032
|
this.isStopped || this._next(r);
|
|
1014
1033
|
}, t.prototype.error = function(r) {
|
|
@@ -1032,7 +1051,7 @@ var Jt = function(e) {
|
|
|
1032
1051
|
this.unsubscribe();
|
|
1033
1052
|
}
|
|
1034
1053
|
}, t;
|
|
1035
|
-
}(
|
|
1054
|
+
}(He), nn = function() {
|
|
1036
1055
|
function e(t) {
|
|
1037
1056
|
this.partialObserver = t;
|
|
1038
1057
|
}
|
|
@@ -1063,43 +1082,43 @@ var Jt = function(e) {
|
|
|
1063
1082
|
de(r);
|
|
1064
1083
|
}
|
|
1065
1084
|
}, e;
|
|
1066
|
-
}(),
|
|
1067
|
-
|
|
1085
|
+
}(), We = function(e) {
|
|
1086
|
+
C(t, e);
|
|
1068
1087
|
function t(r, n, i) {
|
|
1069
1088
|
var o = e.call(this) || this, a;
|
|
1070
|
-
return
|
|
1089
|
+
return M(r) || !r ? a = {
|
|
1071
1090
|
next: r ?? void 0,
|
|
1072
1091
|
error: n ?? void 0,
|
|
1073
1092
|
complete: i ?? void 0
|
|
1074
|
-
} : a = r, o.destination = new
|
|
1093
|
+
} : a = r, o.destination = new nn(a), o;
|
|
1075
1094
|
}
|
|
1076
1095
|
return t;
|
|
1077
|
-
}(
|
|
1096
|
+
}(Wt);
|
|
1078
1097
|
function de(e) {
|
|
1079
|
-
|
|
1098
|
+
rn(e);
|
|
1080
1099
|
}
|
|
1081
|
-
function
|
|
1100
|
+
function on(e) {
|
|
1082
1101
|
throw e;
|
|
1083
1102
|
}
|
|
1084
|
-
var
|
|
1103
|
+
var sn = {
|
|
1085
1104
|
closed: !0,
|
|
1086
|
-
next:
|
|
1087
|
-
error:
|
|
1088
|
-
complete:
|
|
1089
|
-
},
|
|
1105
|
+
next: ht,
|
|
1106
|
+
error: on,
|
|
1107
|
+
complete: ht
|
|
1108
|
+
}, an = function() {
|
|
1090
1109
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1091
1110
|
}();
|
|
1092
|
-
function
|
|
1111
|
+
function un(e) {
|
|
1093
1112
|
return e;
|
|
1094
1113
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return e.length === 0 ?
|
|
1114
|
+
function hn(e) {
|
|
1115
|
+
return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
|
|
1097
1116
|
return e.reduce(function(n, i) {
|
|
1098
1117
|
return i(n);
|
|
1099
1118
|
}, r);
|
|
1100
1119
|
};
|
|
1101
1120
|
}
|
|
1102
|
-
var
|
|
1121
|
+
var lt = function() {
|
|
1103
1122
|
function e(t) {
|
|
1104
1123
|
t && (this._subscribe = t);
|
|
1105
1124
|
}
|
|
@@ -1107,8 +1126,8 @@ var mt = function() {
|
|
|
1107
1126
|
var r = new e();
|
|
1108
1127
|
return r.source = this, r.operator = t, r;
|
|
1109
1128
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1110
|
-
var i = this, o =
|
|
1111
|
-
return
|
|
1129
|
+
var i = this, o = cn(t) ? t : new We(t, r, n);
|
|
1130
|
+
return ye(function() {
|
|
1112
1131
|
var a = i, s = a.operator, h = a.source;
|
|
1113
1132
|
o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
1114
1133
|
}), o;
|
|
@@ -1120,8 +1139,8 @@ var mt = function() {
|
|
|
1120
1139
|
}
|
|
1121
1140
|
}, e.prototype.forEach = function(t, r) {
|
|
1122
1141
|
var n = this;
|
|
1123
|
-
return r =
|
|
1124
|
-
var a = new
|
|
1142
|
+
return r = ct(r), new r(function(i, o) {
|
|
1143
|
+
var a = new We({
|
|
1125
1144
|
next: function(s) {
|
|
1126
1145
|
try {
|
|
1127
1146
|
t(s);
|
|
@@ -1137,15 +1156,15 @@ var mt = function() {
|
|
|
1137
1156
|
}, e.prototype._subscribe = function(t) {
|
|
1138
1157
|
var r;
|
|
1139
1158
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1140
|
-
}, e.prototype[
|
|
1159
|
+
}, e.prototype[an] = function() {
|
|
1141
1160
|
return this;
|
|
1142
1161
|
}, e.prototype.pipe = function() {
|
|
1143
1162
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1144
1163
|
t[r] = arguments[r];
|
|
1145
|
-
return
|
|
1164
|
+
return hn(t)(this);
|
|
1146
1165
|
}, e.prototype.toPromise = function(t) {
|
|
1147
1166
|
var r = this;
|
|
1148
|
-
return t =
|
|
1167
|
+
return t = ct(t), new t(function(n, i) {
|
|
1149
1168
|
var o;
|
|
1150
1169
|
r.subscribe(function(a) {
|
|
1151
1170
|
return o = a;
|
|
@@ -1159,40 +1178,40 @@ var mt = function() {
|
|
|
1159
1178
|
return new e(t);
|
|
1160
1179
|
}, e;
|
|
1161
1180
|
}();
|
|
1162
|
-
function
|
|
1181
|
+
function ct(e) {
|
|
1163
1182
|
var t;
|
|
1164
|
-
return (t = e ??
|
|
1183
|
+
return (t = e ?? en.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1165
1184
|
}
|
|
1166
|
-
function
|
|
1167
|
-
return e &&
|
|
1185
|
+
function ln(e) {
|
|
1186
|
+
return e && M(e.next) && M(e.error) && M(e.complete);
|
|
1168
1187
|
}
|
|
1169
|
-
function
|
|
1170
|
-
return e && e instanceof
|
|
1188
|
+
function cn(e) {
|
|
1189
|
+
return e && e instanceof Wt || ln(e) && Xt(e);
|
|
1171
1190
|
}
|
|
1172
|
-
var
|
|
1191
|
+
var fn = kt(function(e) {
|
|
1173
1192
|
return function() {
|
|
1174
1193
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1175
1194
|
};
|
|
1176
|
-
}),
|
|
1177
|
-
|
|
1195
|
+
}), zt = function(e) {
|
|
1196
|
+
C(t, e);
|
|
1178
1197
|
function t() {
|
|
1179
1198
|
var r = e.call(this) || this;
|
|
1180
1199
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1181
1200
|
}
|
|
1182
1201
|
return t.prototype.lift = function(r) {
|
|
1183
|
-
var n = new
|
|
1202
|
+
var n = new ft(this, this);
|
|
1184
1203
|
return n.operator = r, n;
|
|
1185
1204
|
}, t.prototype._throwIfClosed = function() {
|
|
1186
1205
|
if (this.closed)
|
|
1187
|
-
throw new
|
|
1206
|
+
throw new fn();
|
|
1188
1207
|
}, t.prototype.next = function(r) {
|
|
1189
1208
|
var n = this;
|
|
1190
|
-
|
|
1209
|
+
ye(function() {
|
|
1191
1210
|
var i, o;
|
|
1192
1211
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1193
1212
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1194
1213
|
try {
|
|
1195
|
-
for (var a =
|
|
1214
|
+
for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1196
1215
|
var h = s.value;
|
|
1197
1216
|
h.next(r);
|
|
1198
1217
|
}
|
|
@@ -1210,7 +1229,7 @@ var bn = Zt(function(e) {
|
|
|
1210
1229
|
});
|
|
1211
1230
|
}, t.prototype.error = function(r) {
|
|
1212
1231
|
var n = this;
|
|
1213
|
-
|
|
1232
|
+
ye(function() {
|
|
1214
1233
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1215
1234
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1216
1235
|
for (var i = n.observers; i.length; )
|
|
@@ -1219,7 +1238,7 @@ var bn = Zt(function(e) {
|
|
|
1219
1238
|
});
|
|
1220
1239
|
}, t.prototype.complete = function() {
|
|
1221
1240
|
var r = this;
|
|
1222
|
-
|
|
1241
|
+
ye(function() {
|
|
1223
1242
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1224
1243
|
r.isStopped = !0;
|
|
1225
1244
|
for (var n = r.observers; n.length; )
|
|
@@ -1241,20 +1260,20 @@ var bn = Zt(function(e) {
|
|
|
1241
1260
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1242
1261
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1243
1262
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1244
|
-
return o || a ?
|
|
1245
|
-
n.currentObservers = null,
|
|
1263
|
+
return o || a ? Vt : (this.currentObservers = null, s.push(r), new He(function() {
|
|
1264
|
+
n.currentObservers = null, Xe(s, r);
|
|
1246
1265
|
}));
|
|
1247
1266
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1248
1267
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1249
1268
|
i ? r.error(o) : a && r.complete();
|
|
1250
1269
|
}, t.prototype.asObservable = function() {
|
|
1251
|
-
var r = new
|
|
1270
|
+
var r = new lt();
|
|
1252
1271
|
return r.source = this, r;
|
|
1253
1272
|
}, t.create = function(r, n) {
|
|
1254
|
-
return new
|
|
1273
|
+
return new ft(r, n);
|
|
1255
1274
|
}, t;
|
|
1256
|
-
}(
|
|
1257
|
-
|
|
1275
|
+
}(lt), ft = function(e) {
|
|
1276
|
+
C(t, e);
|
|
1258
1277
|
function t(r, n) {
|
|
1259
1278
|
var i = e.call(this) || this;
|
|
1260
1279
|
return i.destination = r, i.source = n, i;
|
|
@@ -1270,17 +1289,17 @@ var bn = Zt(function(e) {
|
|
|
1270
1289
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1271
1290
|
}, t.prototype._subscribe = function(r) {
|
|
1272
1291
|
var n, i;
|
|
1273
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1292
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
|
|
1274
1293
|
}, t;
|
|
1275
|
-
}(
|
|
1294
|
+
}(zt), Zt = {
|
|
1276
1295
|
now: function() {
|
|
1277
|
-
return (
|
|
1296
|
+
return (Zt.delegate || Date).now();
|
|
1278
1297
|
},
|
|
1279
1298
|
delegate: void 0
|
|
1280
|
-
},
|
|
1281
|
-
|
|
1299
|
+
}, pn = function(e) {
|
|
1300
|
+
C(t, e);
|
|
1282
1301
|
function t(r, n, i) {
|
|
1283
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1302
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
|
|
1284
1303
|
var o = e.call(this) || this;
|
|
1285
1304
|
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;
|
|
1286
1305
|
}
|
|
@@ -1300,24 +1319,24 @@ var bn = Zt(function(e) {
|
|
|
1300
1319
|
u && o.splice(0, u + 1);
|
|
1301
1320
|
}
|
|
1302
1321
|
}, t;
|
|
1303
|
-
}(
|
|
1304
|
-
const
|
|
1305
|
-
if (
|
|
1306
|
-
const r = new
|
|
1307
|
-
|
|
1322
|
+
}(zt);
|
|
1323
|
+
const pt = [], dt = {}, dn = (e, t = 0) => {
|
|
1324
|
+
if (pt.indexOf(e) == -1) {
|
|
1325
|
+
const r = new pn(t);
|
|
1326
|
+
dt[e] = r, pt.push(e);
|
|
1308
1327
|
}
|
|
1309
|
-
return
|
|
1328
|
+
return dt[e];
|
|
1310
1329
|
}, k = [];
|
|
1311
|
-
function
|
|
1330
|
+
function mn(e, t) {
|
|
1312
1331
|
return {
|
|
1313
|
-
subscribe:
|
|
1332
|
+
subscribe: Be(e, t).subscribe
|
|
1314
1333
|
};
|
|
1315
1334
|
}
|
|
1316
|
-
function
|
|
1335
|
+
function Be(e, t = H) {
|
|
1317
1336
|
let r;
|
|
1318
1337
|
const n = /* @__PURE__ */ new Set();
|
|
1319
1338
|
function i(s) {
|
|
1320
|
-
if (
|
|
1339
|
+
if (Lt(e, s) && (e = s, r)) {
|
|
1321
1340
|
const h = !k.length;
|
|
1322
1341
|
for (const u of n)
|
|
1323
1342
|
u[1](), k.push(u, e);
|
|
@@ -1339,12 +1358,12 @@ function Ae(e, t = H) {
|
|
|
1339
1358
|
}
|
|
1340
1359
|
return { set: i, update: o, subscribe: a };
|
|
1341
1360
|
}
|
|
1342
|
-
function
|
|
1361
|
+
function ee(e, t, r) {
|
|
1343
1362
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1344
1363
|
if (!i.every(Boolean))
|
|
1345
1364
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1346
1365
|
const o = t.length < 2;
|
|
1347
|
-
return
|
|
1366
|
+
return mn(r, (a, s) => {
|
|
1348
1367
|
let h = !1;
|
|
1349
1368
|
const u = [];
|
|
1350
1369
|
let l = 0, f = H;
|
|
@@ -1353,12 +1372,12 @@ function K(e, t, r) {
|
|
|
1353
1372
|
return;
|
|
1354
1373
|
f();
|
|
1355
1374
|
const p = t(n ? u[0] : u, a, s);
|
|
1356
|
-
o ? a(p) : f =
|
|
1375
|
+
o ? a(p) : f = he(p) ? p : H;
|
|
1357
1376
|
}, d = i.map(
|
|
1358
|
-
(p, m) =>
|
|
1377
|
+
(p, m) => Nt(
|
|
1359
1378
|
p,
|
|
1360
|
-
(
|
|
1361
|
-
u[m] =
|
|
1379
|
+
(x) => {
|
|
1380
|
+
u[m] = x, l &= ~(1 << m), h && c();
|
|
1362
1381
|
},
|
|
1363
1382
|
() => {
|
|
1364
1383
|
l |= 1 << m;
|
|
@@ -1370,154 +1389,112 @@ function K(e, t, r) {
|
|
|
1370
1389
|
};
|
|
1371
1390
|
});
|
|
1372
1391
|
}
|
|
1373
|
-
var
|
|
1374
|
-
function
|
|
1392
|
+
var Ro = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1393
|
+
function bn(e) {
|
|
1375
1394
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1376
1395
|
}
|
|
1377
|
-
var
|
|
1378
|
-
return
|
|
1396
|
+
var gn = function(t) {
|
|
1397
|
+
return yn(t) && !vn(t);
|
|
1379
1398
|
};
|
|
1380
|
-
function
|
|
1399
|
+
function yn(e) {
|
|
1381
1400
|
return !!e && typeof e == "object";
|
|
1382
1401
|
}
|
|
1383
|
-
function
|
|
1402
|
+
function vn(e) {
|
|
1384
1403
|
var t = Object.prototype.toString.call(e);
|
|
1385
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1404
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
1386
1405
|
}
|
|
1387
|
-
var
|
|
1388
|
-
function
|
|
1389
|
-
return e.$$typeof ===
|
|
1406
|
+
var _n = typeof Symbol == "function" && Symbol.for, xn = _n ? Symbol.for("react.element") : 60103;
|
|
1407
|
+
function En(e) {
|
|
1408
|
+
return e.$$typeof === xn;
|
|
1390
1409
|
}
|
|
1391
|
-
function
|
|
1410
|
+
function Sn(e) {
|
|
1392
1411
|
return Array.isArray(e) ? [] : {};
|
|
1393
1412
|
}
|
|
1394
|
-
function
|
|
1395
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1413
|
+
function ae(e, t) {
|
|
1414
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Sn(e), e, t) : e;
|
|
1396
1415
|
}
|
|
1397
|
-
function
|
|
1416
|
+
function Tn(e, t, r) {
|
|
1398
1417
|
return e.concat(t).map(function(n) {
|
|
1399
|
-
return
|
|
1418
|
+
return ae(n, r);
|
|
1400
1419
|
});
|
|
1401
1420
|
}
|
|
1402
|
-
function
|
|
1421
|
+
function wn(e, t) {
|
|
1403
1422
|
if (!t.customMerge)
|
|
1404
|
-
return
|
|
1423
|
+
return q;
|
|
1405
1424
|
var r = t.customMerge(e);
|
|
1406
|
-
return typeof r == "function" ? r :
|
|
1425
|
+
return typeof r == "function" ? r : q;
|
|
1407
1426
|
}
|
|
1408
|
-
function
|
|
1427
|
+
function Hn(e) {
|
|
1409
1428
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1410
1429
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1411
1430
|
}) : [];
|
|
1412
1431
|
}
|
|
1413
|
-
function
|
|
1414
|
-
return Object.keys(e).concat(
|
|
1432
|
+
function mt(e) {
|
|
1433
|
+
return Object.keys(e).concat(Hn(e));
|
|
1415
1434
|
}
|
|
1416
|
-
function
|
|
1435
|
+
function qt(e, t) {
|
|
1417
1436
|
try {
|
|
1418
1437
|
return t in e;
|
|
1419
1438
|
} catch {
|
|
1420
1439
|
return !1;
|
|
1421
1440
|
}
|
|
1422
1441
|
}
|
|
1423
|
-
function
|
|
1424
|
-
return
|
|
1442
|
+
function Bn(e, t) {
|
|
1443
|
+
return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1425
1444
|
}
|
|
1426
|
-
function
|
|
1445
|
+
function An(e, t, r) {
|
|
1427
1446
|
var n = {};
|
|
1428
|
-
return r.isMergeableObject(e) &&
|
|
1429
|
-
n[i] =
|
|
1430
|
-
}),
|
|
1431
|
-
|
|
1447
|
+
return r.isMergeableObject(e) && mt(e).forEach(function(i) {
|
|
1448
|
+
n[i] = ae(e[i], r);
|
|
1449
|
+
}), mt(t).forEach(function(i) {
|
|
1450
|
+
Bn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
1432
1451
|
}), n;
|
|
1433
1452
|
}
|
|
1434
|
-
function
|
|
1435
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1453
|
+
function q(e, t, r) {
|
|
1454
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Tn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = ae;
|
|
1436
1455
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1437
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1456
|
+
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ae(t, r);
|
|
1438
1457
|
}
|
|
1439
|
-
|
|
1458
|
+
q.all = function(t, r) {
|
|
1440
1459
|
if (!Array.isArray(t))
|
|
1441
1460
|
throw new Error("first argument should be an array");
|
|
1442
1461
|
return t.reduce(function(n, i) {
|
|
1443
|
-
return
|
|
1462
|
+
return q(n, i, r);
|
|
1444
1463
|
}, {});
|
|
1445
1464
|
};
|
|
1446
|
-
var
|
|
1447
|
-
const
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
r.__proto__ = n;
|
|
1451
|
-
} || function(r, n) {
|
|
1452
|
-
for (var i in n)
|
|
1453
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1454
|
-
}, Je(e, t);
|
|
1455
|
-
};
|
|
1456
|
-
function Pe(e, t) {
|
|
1457
|
-
if (typeof t != "function" && t !== null)
|
|
1458
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1459
|
-
Je(e, t);
|
|
1460
|
-
function r() {
|
|
1461
|
-
this.constructor = e;
|
|
1462
|
-
}
|
|
1463
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1464
|
-
}
|
|
1465
|
-
var N = function() {
|
|
1466
|
-
return N = Object.assign || function(t) {
|
|
1467
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1468
|
-
r = arguments[n];
|
|
1469
|
-
for (var o in r)
|
|
1470
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1471
|
-
}
|
|
1472
|
-
return t;
|
|
1473
|
-
}, N.apply(this, arguments);
|
|
1474
|
-
};
|
|
1475
|
-
function $n(e, t) {
|
|
1476
|
-
var r = {};
|
|
1477
|
-
for (var n in e)
|
|
1478
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1479
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1480
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1481
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1482
|
-
return r;
|
|
1483
|
-
}
|
|
1484
|
-
function Re(e, t, r) {
|
|
1485
|
-
if (r || arguments.length === 2)
|
|
1486
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1487
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1488
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1489
|
-
}
|
|
1490
|
-
function Ue(e, t) {
|
|
1491
|
-
var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Fn, i = t && t.strategy ? t.strategy : Dn;
|
|
1465
|
+
var Pn = q, On = Pn;
|
|
1466
|
+
const In = /* @__PURE__ */ bn(On);
|
|
1467
|
+
function Ce(e, t) {
|
|
1468
|
+
var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Mn;
|
|
1492
1469
|
return i(e, {
|
|
1493
1470
|
cache: r,
|
|
1494
1471
|
serializer: n
|
|
1495
1472
|
});
|
|
1496
1473
|
}
|
|
1497
|
-
function
|
|
1474
|
+
function Ln(e) {
|
|
1498
1475
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1499
1476
|
}
|
|
1500
|
-
function
|
|
1501
|
-
var i =
|
|
1477
|
+
function Nn(e, t, r, n) {
|
|
1478
|
+
var i = Ln(n) ? n : r(n), o = t.get(i);
|
|
1502
1479
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1503
1480
|
}
|
|
1504
|
-
function
|
|
1481
|
+
function Qt(e, t, r) {
|
|
1505
1482
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1506
1483
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1507
1484
|
}
|
|
1508
|
-
function
|
|
1485
|
+
function Jt(e, t, r, n, i) {
|
|
1509
1486
|
return r.bind(t, e, n, i);
|
|
1510
1487
|
}
|
|
1511
|
-
function
|
|
1512
|
-
var r = e.length === 1 ?
|
|
1513
|
-
return
|
|
1488
|
+
function Mn(e, t) {
|
|
1489
|
+
var r = e.length === 1 ? Nn : Qt;
|
|
1490
|
+
return Jt(e, this, r, t.cache.create(), t.serializer);
|
|
1514
1491
|
}
|
|
1515
|
-
function
|
|
1516
|
-
return
|
|
1492
|
+
function Cn(e, t) {
|
|
1493
|
+
return Jt(e, this, Qt, t.cache.create(), t.serializer);
|
|
1517
1494
|
}
|
|
1518
|
-
var
|
|
1495
|
+
var $n = function() {
|
|
1519
1496
|
return JSON.stringify(arguments);
|
|
1520
|
-
},
|
|
1497
|
+
}, Rn = (
|
|
1521
1498
|
/** @class */
|
|
1522
1499
|
function() {
|
|
1523
1500
|
function e() {
|
|
@@ -1529,71 +1506,61 @@ var Fn = function() {
|
|
|
1529
1506
|
this.cache[t] = r;
|
|
1530
1507
|
}, e;
|
|
1531
1508
|
}()
|
|
1532
|
-
),
|
|
1509
|
+
), Un = {
|
|
1533
1510
|
create: function() {
|
|
1534
|
-
return new
|
|
1511
|
+
return new Rn();
|
|
1535
1512
|
}
|
|
1536
|
-
},
|
|
1537
|
-
variadic:
|
|
1538
|
-
},
|
|
1539
|
-
return Te = Object.assign || function(t) {
|
|
1540
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1541
|
-
r = arguments[n];
|
|
1542
|
-
for (var o in r)
|
|
1543
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1544
|
-
}
|
|
1545
|
-
return t;
|
|
1546
|
-
}, Te.apply(this, arguments);
|
|
1547
|
-
};
|
|
1548
|
-
var b;
|
|
1513
|
+
}, $e = {
|
|
1514
|
+
variadic: Cn
|
|
1515
|
+
}, b;
|
|
1549
1516
|
(function(e) {
|
|
1550
1517
|
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";
|
|
1551
1518
|
})(b || (b = {}));
|
|
1552
|
-
var
|
|
1519
|
+
var _;
|
|
1553
1520
|
(function(e) {
|
|
1554
1521
|
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";
|
|
1555
|
-
})(
|
|
1556
|
-
var
|
|
1522
|
+
})(_ || (_ = {}));
|
|
1523
|
+
var Q;
|
|
1557
1524
|
(function(e) {
|
|
1558
1525
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1559
|
-
})(
|
|
1560
|
-
function
|
|
1561
|
-
return e.type ===
|
|
1526
|
+
})(Q || (Q = {}));
|
|
1527
|
+
function bt(e) {
|
|
1528
|
+
return e.type === _.literal;
|
|
1562
1529
|
}
|
|
1563
|
-
function
|
|
1564
|
-
return e.type ===
|
|
1530
|
+
function Dn(e) {
|
|
1531
|
+
return e.type === _.argument;
|
|
1565
1532
|
}
|
|
1566
|
-
function
|
|
1567
|
-
return e.type ===
|
|
1533
|
+
function Yt(e) {
|
|
1534
|
+
return e.type === _.number;
|
|
1568
1535
|
}
|
|
1569
|
-
function
|
|
1570
|
-
return e.type ===
|
|
1536
|
+
function Kt(e) {
|
|
1537
|
+
return e.type === _.date;
|
|
1571
1538
|
}
|
|
1572
|
-
function
|
|
1573
|
-
return e.type ===
|
|
1539
|
+
function er(e) {
|
|
1540
|
+
return e.type === _.time;
|
|
1574
1541
|
}
|
|
1575
|
-
function
|
|
1576
|
-
return e.type ===
|
|
1542
|
+
function tr(e) {
|
|
1543
|
+
return e.type === _.select;
|
|
1577
1544
|
}
|
|
1578
|
-
function
|
|
1579
|
-
return e.type ===
|
|
1545
|
+
function rr(e) {
|
|
1546
|
+
return e.type === _.plural;
|
|
1580
1547
|
}
|
|
1581
|
-
function
|
|
1582
|
-
return e.type ===
|
|
1548
|
+
function Gn(e) {
|
|
1549
|
+
return e.type === _.pound;
|
|
1583
1550
|
}
|
|
1584
|
-
function
|
|
1585
|
-
return e.type ===
|
|
1551
|
+
function nr(e) {
|
|
1552
|
+
return e.type === _.tag;
|
|
1586
1553
|
}
|
|
1587
|
-
function
|
|
1588
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1554
|
+
function ir(e) {
|
|
1555
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1589
1556
|
}
|
|
1590
|
-
function
|
|
1591
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1557
|
+
function ze(e) {
|
|
1558
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1592
1559
|
}
|
|
1593
|
-
var
|
|
1594
|
-
function
|
|
1560
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
|
|
1561
|
+
function jn(e) {
|
|
1595
1562
|
var t = {};
|
|
1596
|
-
return e.replace(
|
|
1563
|
+
return e.replace(Fn, function(r) {
|
|
1597
1564
|
var n = r.length;
|
|
1598
1565
|
switch (r[0]) {
|
|
1599
1566
|
case "G":
|
|
@@ -1682,21 +1649,11 @@ function zn(e) {
|
|
|
1682
1649
|
return "";
|
|
1683
1650
|
}), t;
|
|
1684
1651
|
}
|
|
1685
|
-
var
|
|
1686
|
-
|
|
1687
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1688
|
-
r = arguments[n];
|
|
1689
|
-
for (var o in r)
|
|
1690
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1691
|
-
}
|
|
1692
|
-
return t;
|
|
1693
|
-
}, E.apply(this, arguments);
|
|
1694
|
-
};
|
|
1695
|
-
var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1696
|
-
function qn(e) {
|
|
1652
|
+
var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1653
|
+
function Vn(e) {
|
|
1697
1654
|
if (e.length === 0)
|
|
1698
1655
|
throw new Error("Number skeleton cannot be empty");
|
|
1699
|
-
for (var t = e.split(
|
|
1656
|
+
for (var t = e.split(kn).filter(function(c) {
|
|
1700
1657
|
return c.length > 0;
|
|
1701
1658
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1702
1659
|
var o = i[n], a = o.split("/");
|
|
@@ -1711,17 +1668,17 @@ function qn(e) {
|
|
|
1711
1668
|
}
|
|
1712
1669
|
return r;
|
|
1713
1670
|
}
|
|
1714
|
-
function
|
|
1671
|
+
function Xn(e) {
|
|
1715
1672
|
return e.replace(/^(.*?)-/, "");
|
|
1716
1673
|
}
|
|
1717
|
-
var
|
|
1718
|
-
function
|
|
1674
|
+
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1675
|
+
function yt(e) {
|
|
1719
1676
|
var t = {};
|
|
1720
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1677
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
|
1721
1678
|
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)), "";
|
|
1722
1679
|
}), t;
|
|
1723
1680
|
}
|
|
1724
|
-
function
|
|
1681
|
+
function ur(e) {
|
|
1725
1682
|
switch (e) {
|
|
1726
1683
|
case "sign-auto":
|
|
1727
1684
|
return {
|
|
@@ -1761,7 +1718,7 @@ function pr(e) {
|
|
|
1761
1718
|
};
|
|
1762
1719
|
}
|
|
1763
1720
|
}
|
|
1764
|
-
function
|
|
1721
|
+
function zn(e) {
|
|
1765
1722
|
var t;
|
|
1766
1723
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1767
1724
|
notation: "engineering"
|
|
@@ -1769,17 +1726,17 @@ function Yn(e) {
|
|
|
1769
1726
|
notation: "scientific"
|
|
1770
1727
|
}, e = e.slice(1)), t) {
|
|
1771
1728
|
var r = e.slice(0, 2);
|
|
1772
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1729
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
|
1773
1730
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1774
1731
|
t.minimumIntegerDigits = e.length;
|
|
1775
1732
|
}
|
|
1776
1733
|
return t;
|
|
1777
1734
|
}
|
|
1778
|
-
function
|
|
1779
|
-
var t = {}, r =
|
|
1735
|
+
function vt(e) {
|
|
1736
|
+
var t = {}, r = ur(e);
|
|
1780
1737
|
return r || t;
|
|
1781
1738
|
}
|
|
1782
|
-
function
|
|
1739
|
+
function Zn(e) {
|
|
1783
1740
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1784
1741
|
var i = n[r];
|
|
1785
1742
|
switch (i.stem) {
|
|
@@ -1803,7 +1760,7 @@ function Kn(e) {
|
|
|
1803
1760
|
continue;
|
|
1804
1761
|
case "measure-unit":
|
|
1805
1762
|
case "unit":
|
|
1806
|
-
t.style = "unit", t.unit =
|
|
1763
|
+
t.style = "unit", t.unit = Xn(i.options[0]);
|
|
1807
1764
|
continue;
|
|
1808
1765
|
case "compact-short":
|
|
1809
1766
|
case "K":
|
|
@@ -1814,13 +1771,13 @@ function Kn(e) {
|
|
|
1814
1771
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1815
1772
|
continue;
|
|
1816
1773
|
case "scientific":
|
|
1817
|
-
t =
|
|
1818
|
-
return
|
|
1774
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1775
|
+
return y(y({}, h), vt(u));
|
|
1819
1776
|
}, {}));
|
|
1820
1777
|
continue;
|
|
1821
1778
|
case "engineering":
|
|
1822
|
-
t =
|
|
1823
|
-
return
|
|
1779
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1780
|
+
return y(y({}, h), vt(u));
|
|
1824
1781
|
}, {}));
|
|
1825
1782
|
continue;
|
|
1826
1783
|
case "notation-simple":
|
|
@@ -1865,7 +1822,7 @@ function Kn(e) {
|
|
|
1865
1822
|
case "integer-width":
|
|
1866
1823
|
if (i.options.length > 1)
|
|
1867
1824
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1868
|
-
i.options[0].replace(
|
|
1825
|
+
i.options[0].replace(Wn, function(h, u, l, f, c, d) {
|
|
1869
1826
|
if (u)
|
|
1870
1827
|
t.minimumIntegerDigits = l.length;
|
|
1871
1828
|
else {
|
|
@@ -1878,28 +1835,28 @@ function Kn(e) {
|
|
|
1878
1835
|
});
|
|
1879
1836
|
continue;
|
|
1880
1837
|
}
|
|
1881
|
-
if (
|
|
1838
|
+
if (ar.test(i.stem)) {
|
|
1882
1839
|
t.minimumIntegerDigits = i.stem.length;
|
|
1883
1840
|
continue;
|
|
1884
1841
|
}
|
|
1885
|
-
if (
|
|
1842
|
+
if (gt.test(i.stem)) {
|
|
1886
1843
|
if (i.options.length > 1)
|
|
1887
1844
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1888
|
-
i.stem.replace(
|
|
1845
|
+
i.stem.replace(gt, function(h, u, l, f, c, d) {
|
|
1889
1846
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1890
1847
|
});
|
|
1891
1848
|
var o = i.options[0];
|
|
1892
|
-
o === "w" ? t =
|
|
1849
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), yt(o)));
|
|
1893
1850
|
continue;
|
|
1894
1851
|
}
|
|
1895
|
-
if (
|
|
1896
|
-
t =
|
|
1852
|
+
if (sr.test(i.stem)) {
|
|
1853
|
+
t = y(y({}, t), yt(i.stem));
|
|
1897
1854
|
continue;
|
|
1898
1855
|
}
|
|
1899
|
-
var a =
|
|
1900
|
-
a && (t =
|
|
1901
|
-
var s =
|
|
1902
|
-
s && (t =
|
|
1856
|
+
var a = ur(i.stem);
|
|
1857
|
+
a && (t = y(y({}, t), a));
|
|
1858
|
+
var s = zn(i.stem);
|
|
1859
|
+
s && (t = y(y({}, t), s));
|
|
1903
1860
|
}
|
|
1904
1861
|
return t;
|
|
1905
1862
|
}
|
|
@@ -3318,13 +3275,13 @@ var me = {
|
|
|
3318
3275
|
"h"
|
|
3319
3276
|
]
|
|
3320
3277
|
};
|
|
3321
|
-
function
|
|
3278
|
+
function qn(e, t) {
|
|
3322
3279
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3323
3280
|
var i = e.charAt(n);
|
|
3324
3281
|
if (i === "j") {
|
|
3325
3282
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3326
3283
|
o++, n++;
|
|
3327
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3284
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Qn(t);
|
|
3328
3285
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3329
3286
|
r += h;
|
|
3330
3287
|
for (; a-- > 0; )
|
|
@@ -3334,7 +3291,7 @@ function ei(e, t) {
|
|
|
3334
3291
|
}
|
|
3335
3292
|
return r;
|
|
3336
3293
|
}
|
|
3337
|
-
function
|
|
3294
|
+
function Qn(e) {
|
|
3338
3295
|
var t = e.hourCycle;
|
|
3339
3296
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3340
3297
|
e.hourCycles && // @ts-ignore
|
|
@@ -3356,20 +3313,20 @@ function ti(e) {
|
|
|
3356
3313
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
|
3357
3314
|
return i[0];
|
|
3358
3315
|
}
|
|
3359
|
-
var
|
|
3360
|
-
function
|
|
3316
|
+
var Re, Jn = new RegExp("^".concat(or.source, "*")), Yn = new RegExp("".concat(or.source, "*$"));
|
|
3317
|
+
function g(e, t) {
|
|
3361
3318
|
return { start: e, end: t };
|
|
3362
3319
|
}
|
|
3363
|
-
var
|
|
3320
|
+
var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, oi = !!Number.isSafeInteger, si = oi ? Number.isSafeInteger : function(e) {
|
|
3364
3321
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3365
|
-
},
|
|
3322
|
+
}, Ze = !0;
|
|
3366
3323
|
try {
|
|
3367
|
-
var
|
|
3368
|
-
|
|
3324
|
+
var ai = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3325
|
+
Ze = ((Re = ai.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
3369
3326
|
} catch {
|
|
3370
|
-
|
|
3327
|
+
Ze = !1;
|
|
3371
3328
|
}
|
|
3372
|
-
var
|
|
3329
|
+
var _t = Kn ? (
|
|
3373
3330
|
// Native
|
|
3374
3331
|
function(t, r, n) {
|
|
3375
3332
|
return t.startsWith(r, n);
|
|
@@ -3379,7 +3336,7 @@ var wt = ii ? (
|
|
|
3379
3336
|
function(t, r, n) {
|
|
3380
3337
|
return t.slice(n, n + r.length) === r;
|
|
3381
3338
|
}
|
|
3382
|
-
),
|
|
3339
|
+
), qe = ei ? String.fromCodePoint : (
|
|
3383
3340
|
// IE11
|
|
3384
3341
|
function() {
|
|
3385
3342
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3391,9 +3348,9 @@ var wt = ii ? (
|
|
|
3391
3348
|
}
|
|
3392
3349
|
return n;
|
|
3393
3350
|
}
|
|
3394
|
-
),
|
|
3351
|
+
), xt = (
|
|
3395
3352
|
// native
|
|
3396
|
-
|
|
3353
|
+
ti ? Object.fromEntries : (
|
|
3397
3354
|
// Ponyfill
|
|
3398
3355
|
function(t) {
|
|
3399
3356
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3403,7 +3360,7 @@ var wt = ii ? (
|
|
|
3403
3360
|
return r;
|
|
3404
3361
|
}
|
|
3405
3362
|
)
|
|
3406
|
-
),
|
|
3363
|
+
), hr = ri ? (
|
|
3407
3364
|
// Native
|
|
3408
3365
|
function(t, r) {
|
|
3409
3366
|
return t.codePointAt(r);
|
|
@@ -3417,7 +3374,7 @@ var wt = ii ? (
|
|
|
3417
3374
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3418
3375
|
}
|
|
3419
3376
|
}
|
|
3420
|
-
),
|
|
3377
|
+
), ui = ni ? (
|
|
3421
3378
|
// Native
|
|
3422
3379
|
function(t) {
|
|
3423
3380
|
return t.trimStart();
|
|
@@ -3425,9 +3382,9 @@ var wt = ii ? (
|
|
|
3425
3382
|
) : (
|
|
3426
3383
|
// Ponyfill
|
|
3427
3384
|
function(t) {
|
|
3428
|
-
return t.replace(
|
|
3385
|
+
return t.replace(Jn, "");
|
|
3429
3386
|
}
|
|
3430
|
-
),
|
|
3387
|
+
), hi = ii ? (
|
|
3431
3388
|
// Native
|
|
3432
3389
|
function(t) {
|
|
3433
3390
|
return t.trimEnd();
|
|
@@ -3435,32 +3392,32 @@ var wt = ii ? (
|
|
|
3435
3392
|
) : (
|
|
3436
3393
|
// Ponyfill
|
|
3437
3394
|
function(t) {
|
|
3438
|
-
return t.replace(
|
|
3395
|
+
return t.replace(Yn, "");
|
|
3439
3396
|
}
|
|
3440
3397
|
);
|
|
3441
|
-
function
|
|
3398
|
+
function lr(e, t) {
|
|
3442
3399
|
return new RegExp(e, t);
|
|
3443
3400
|
}
|
|
3444
|
-
var
|
|
3445
|
-
if (
|
|
3446
|
-
var
|
|
3447
|
-
|
|
3401
|
+
var Qe;
|
|
3402
|
+
if (Ze) {
|
|
3403
|
+
var Et = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3404
|
+
Qe = function(t, r) {
|
|
3448
3405
|
var n;
|
|
3449
|
-
|
|
3450
|
-
var i =
|
|
3406
|
+
Et.lastIndex = r;
|
|
3407
|
+
var i = Et.exec(t);
|
|
3451
3408
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3452
3409
|
};
|
|
3453
3410
|
} else
|
|
3454
|
-
|
|
3411
|
+
Qe = function(t, r) {
|
|
3455
3412
|
for (var n = []; ; ) {
|
|
3456
|
-
var i =
|
|
3457
|
-
if (i === void 0 ||
|
|
3413
|
+
var i = hr(t, r);
|
|
3414
|
+
if (i === void 0 || cr(i) || pi(i))
|
|
3458
3415
|
break;
|
|
3459
3416
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3460
3417
|
}
|
|
3461
|
-
return
|
|
3418
|
+
return qe.apply(void 0, n);
|
|
3462
3419
|
};
|
|
3463
|
-
var
|
|
3420
|
+
var li = (
|
|
3464
3421
|
/** @class */
|
|
3465
3422
|
function() {
|
|
3466
3423
|
function e(t, r) {
|
|
@@ -3484,14 +3441,14 @@ var mi = (
|
|
|
3484
3441
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3485
3442
|
var s = this.clonePosition();
|
|
3486
3443
|
this.bump(), i.push({
|
|
3487
|
-
type:
|
|
3488
|
-
location:
|
|
3444
|
+
type: _.pound,
|
|
3445
|
+
location: g(s, this.clonePosition())
|
|
3489
3446
|
});
|
|
3490
3447
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3491
3448
|
if (n)
|
|
3492
3449
|
break;
|
|
3493
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3494
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3450
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3451
|
+
} else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
|
3495
3452
|
var a = this.parseTag(t, r);
|
|
3496
3453
|
if (a.err)
|
|
3497
3454
|
return a;
|
|
@@ -3512,9 +3469,9 @@ var mi = (
|
|
|
3512
3469
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3513
3470
|
return {
|
|
3514
3471
|
val: {
|
|
3515
|
-
type:
|
|
3472
|
+
type: _.literal,
|
|
3516
3473
|
value: "<".concat(i, "/>"),
|
|
3517
|
-
location:
|
|
3474
|
+
location: g(n, this.clonePosition())
|
|
3518
3475
|
},
|
|
3519
3476
|
err: null
|
|
3520
3477
|
};
|
|
@@ -3524,25 +3481,25 @@ var mi = (
|
|
|
3524
3481
|
return o;
|
|
3525
3482
|
var a = o.val, s = this.clonePosition();
|
|
3526
3483
|
if (this.bumpIf("</")) {
|
|
3527
|
-
if (this.isEOF() || !
|
|
3528
|
-
return this.error(b.INVALID_TAG,
|
|
3484
|
+
if (this.isEOF() || !Je(this.char()))
|
|
3485
|
+
return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
|
|
3529
3486
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3530
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3487
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3531
3488
|
val: {
|
|
3532
|
-
type:
|
|
3489
|
+
type: _.tag,
|
|
3533
3490
|
value: i,
|
|
3534
3491
|
children: a,
|
|
3535
|
-
location:
|
|
3492
|
+
location: g(n, this.clonePosition())
|
|
3536
3493
|
},
|
|
3537
3494
|
err: null
|
|
3538
|
-
} : this.error(b.INVALID_TAG,
|
|
3495
|
+
} : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
|
|
3539
3496
|
} else
|
|
3540
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3497
|
+
return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3541
3498
|
} else
|
|
3542
|
-
return this.error(b.INVALID_TAG,
|
|
3499
|
+
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3543
3500
|
}, e.prototype.parseTagName = function() {
|
|
3544
3501
|
var t = this.offset();
|
|
3545
|
-
for (this.bump(); !this.isEOF() &&
|
|
3502
|
+
for (this.bump(); !this.isEOF() && fi(this.char()); )
|
|
3546
3503
|
this.bump();
|
|
3547
3504
|
return this.message.slice(t, this.offset());
|
|
3548
3505
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3564,14 +3521,14 @@ var mi = (
|
|
|
3564
3521
|
}
|
|
3565
3522
|
break;
|
|
3566
3523
|
}
|
|
3567
|
-
var h =
|
|
3524
|
+
var h = g(n, this.clonePosition());
|
|
3568
3525
|
return {
|
|
3569
|
-
val: { type:
|
|
3526
|
+
val: { type: _.literal, value: i, location: h },
|
|
3570
3527
|
err: null
|
|
3571
3528
|
};
|
|
3572
3529
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3573
3530
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3574
|
-
!
|
|
3531
|
+
!ci(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3575
3532
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3576
3533
|
if (this.isEOF() || this.char() !== 39)
|
|
3577
3534
|
return null;
|
|
@@ -3605,49 +3562,49 @@ var mi = (
|
|
|
3605
3562
|
r.push(n);
|
|
3606
3563
|
this.bump();
|
|
3607
3564
|
}
|
|
3608
|
-
return
|
|
3565
|
+
return qe.apply(void 0, r);
|
|
3609
3566
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3610
3567
|
if (this.isEOF())
|
|
3611
3568
|
return null;
|
|
3612
3569
|
var n = this.char();
|
|
3613
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3570
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
|
3614
3571
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3615
3572
|
var n = this.clonePosition();
|
|
3616
3573
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3617
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3574
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3618
3575
|
if (this.char() === 125)
|
|
3619
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3576
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3620
3577
|
var i = this.parseIdentifierIfPossible().value;
|
|
3621
3578
|
if (!i)
|
|
3622
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3579
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3623
3580
|
if (this.bumpSpace(), this.isEOF())
|
|
3624
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3581
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3625
3582
|
switch (this.char()) {
|
|
3626
3583
|
case 125:
|
|
3627
3584
|
return this.bump(), {
|
|
3628
3585
|
val: {
|
|
3629
|
-
type:
|
|
3586
|
+
type: _.argument,
|
|
3630
3587
|
// value does not include the opening and closing braces.
|
|
3631
3588
|
value: i,
|
|
3632
|
-
location:
|
|
3589
|
+
location: g(n, this.clonePosition())
|
|
3633
3590
|
},
|
|
3634
3591
|
err: null
|
|
3635
3592
|
};
|
|
3636
3593
|
case 44:
|
|
3637
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3594
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3638
3595
|
default:
|
|
3639
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3596
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3640
3597
|
}
|
|
3641
3598
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3642
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3599
|
+
var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
|
|
3643
3600
|
this.bumpTo(i);
|
|
3644
|
-
var o = this.clonePosition(), a =
|
|
3601
|
+
var o = this.clonePosition(), a = g(t, o);
|
|
3645
3602
|
return { value: n, location: a };
|
|
3646
3603
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3647
3604
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3648
3605
|
switch (s) {
|
|
3649
3606
|
case "":
|
|
3650
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3607
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
|
|
3651
3608
|
case "number":
|
|
3652
3609
|
case "date":
|
|
3653
3610
|
case "time": {
|
|
@@ -3658,35 +3615,35 @@ var mi = (
|
|
|
3658
3615
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3659
3616
|
if (f.err)
|
|
3660
3617
|
return f;
|
|
3661
|
-
var c =
|
|
3618
|
+
var c = hi(f.val);
|
|
3662
3619
|
if (c.length === 0)
|
|
3663
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3664
|
-
var d =
|
|
3620
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3621
|
+
var d = g(l, this.clonePosition());
|
|
3665
3622
|
u = { style: c, styleLocation: d };
|
|
3666
3623
|
}
|
|
3667
3624
|
var p = this.tryParseArgumentClose(i);
|
|
3668
3625
|
if (p.err)
|
|
3669
3626
|
return p;
|
|
3670
|
-
var m =
|
|
3671
|
-
if (u &&
|
|
3672
|
-
var
|
|
3627
|
+
var m = g(i, this.clonePosition());
|
|
3628
|
+
if (u && _t(u?.style, "::", 0)) {
|
|
3629
|
+
var x = ui(u.style.slice(2));
|
|
3673
3630
|
if (s === "number") {
|
|
3674
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3631
|
+
var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3675
3632
|
return f.err ? f : {
|
|
3676
|
-
val: { type:
|
|
3633
|
+
val: { type: _.number, value: n, location: m, style: f.val },
|
|
3677
3634
|
err: null
|
|
3678
3635
|
};
|
|
3679
3636
|
} else {
|
|
3680
|
-
if (
|
|
3637
|
+
if (x.length === 0)
|
|
3681
3638
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3682
|
-
var T =
|
|
3683
|
-
this.locale && (T =
|
|
3639
|
+
var T = x;
|
|
3640
|
+
this.locale && (T = qn(x, this.locale));
|
|
3684
3641
|
var c = {
|
|
3685
|
-
type:
|
|
3642
|
+
type: Q.dateTime,
|
|
3686
3643
|
pattern: T,
|
|
3687
3644
|
location: u.styleLocation,
|
|
3688
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3689
|
-
}, P = s === "date" ?
|
|
3645
|
+
parsedOptions: this.shouldParseSkeletons ? jn(T) : {}
|
|
3646
|
+
}, P = s === "date" ? _.date : _.time;
|
|
3690
3647
|
return {
|
|
3691
3648
|
val: { type: P, value: n, location: m, style: c },
|
|
3692
3649
|
err: null
|
|
@@ -3695,7 +3652,7 @@ var mi = (
|
|
|
3695
3652
|
}
|
|
3696
3653
|
return {
|
|
3697
3654
|
val: {
|
|
3698
|
-
type: s === "number" ?
|
|
3655
|
+
type: s === "number" ? _.number : s === "date" ? _.date : _.time,
|
|
3699
3656
|
value: n,
|
|
3700
3657
|
location: m,
|
|
3701
3658
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3706,14 +3663,14 @@ var mi = (
|
|
|
3706
3663
|
case "plural":
|
|
3707
3664
|
case "selectordinal":
|
|
3708
3665
|
case "select": {
|
|
3709
|
-
var
|
|
3666
|
+
var E = this.clonePosition();
|
|
3710
3667
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3711
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3668
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
|
|
3712
3669
|
this.bumpSpace();
|
|
3713
3670
|
var O = this.parseIdentifierIfPossible(), w = 0;
|
|
3714
3671
|
if (s !== "select" && O.value === "offset") {
|
|
3715
3672
|
if (!this.bumpIf(":"))
|
|
3716
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3673
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3717
3674
|
this.bumpSpace();
|
|
3718
3675
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3719
3676
|
if (f.err)
|
|
@@ -3726,20 +3683,20 @@ var mi = (
|
|
|
3726
3683
|
var p = this.tryParseArgumentClose(i);
|
|
3727
3684
|
if (p.err)
|
|
3728
3685
|
return p;
|
|
3729
|
-
var fe =
|
|
3686
|
+
var fe = g(i, this.clonePosition());
|
|
3730
3687
|
return s === "select" ? {
|
|
3731
3688
|
val: {
|
|
3732
|
-
type:
|
|
3689
|
+
type: _.select,
|
|
3733
3690
|
value: n,
|
|
3734
|
-
options:
|
|
3691
|
+
options: xt($.val),
|
|
3735
3692
|
location: fe
|
|
3736
3693
|
},
|
|
3737
3694
|
err: null
|
|
3738
3695
|
} : {
|
|
3739
3696
|
val: {
|
|
3740
|
-
type:
|
|
3697
|
+
type: _.plural,
|
|
3741
3698
|
value: n,
|
|
3742
|
-
options:
|
|
3699
|
+
options: xt($.val),
|
|
3743
3700
|
offset: w,
|
|
3744
3701
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3745
3702
|
location: fe
|
|
@@ -3748,10 +3705,10 @@ var mi = (
|
|
|
3748
3705
|
};
|
|
3749
3706
|
}
|
|
3750
3707
|
default:
|
|
3751
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3708
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
|
|
3752
3709
|
}
|
|
3753
3710
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3754
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3711
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3755
3712
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3756
3713
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3757
3714
|
var n = this.char();
|
|
@@ -3760,7 +3717,7 @@ var mi = (
|
|
|
3760
3717
|
this.bump();
|
|
3761
3718
|
var i = this.clonePosition();
|
|
3762
3719
|
if (!this.bumpUntil("'"))
|
|
3763
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3720
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
3764
3721
|
this.bump();
|
|
3765
3722
|
break;
|
|
3766
3723
|
}
|
|
@@ -3790,16 +3747,16 @@ var mi = (
|
|
|
3790
3747
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3791
3748
|
var n = [];
|
|
3792
3749
|
try {
|
|
3793
|
-
n =
|
|
3750
|
+
n = Vn(t);
|
|
3794
3751
|
} catch {
|
|
3795
3752
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3796
3753
|
}
|
|
3797
3754
|
return {
|
|
3798
3755
|
val: {
|
|
3799
|
-
type:
|
|
3756
|
+
type: Q.number,
|
|
3800
3757
|
tokens: n,
|
|
3801
3758
|
location: r,
|
|
3802
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3759
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
|
|
3803
3760
|
},
|
|
3804
3761
|
err: null
|
|
3805
3762
|
};
|
|
@@ -3811,7 +3768,7 @@ var mi = (
|
|
|
3811
3768
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3812
3769
|
if (c.err)
|
|
3813
3770
|
return c;
|
|
3814
|
-
l =
|
|
3771
|
+
l = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3815
3772
|
} else
|
|
3816
3773
|
break;
|
|
3817
3774
|
}
|
|
@@ -3820,7 +3777,7 @@ var mi = (
|
|
|
3820
3777
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3821
3778
|
var d = this.clonePosition();
|
|
3822
3779
|
if (!this.bumpIf("{"))
|
|
3823
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3780
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3824
3781
|
var p = this.parseMessage(t + 1, r, n);
|
|
3825
3782
|
if (p.err)
|
|
3826
3783
|
return p;
|
|
@@ -3831,11 +3788,11 @@ var mi = (
|
|
|
3831
3788
|
u,
|
|
3832
3789
|
{
|
|
3833
3790
|
value: p.val,
|
|
3834
|
-
location:
|
|
3791
|
+
location: g(d, this.clonePosition())
|
|
3835
3792
|
}
|
|
3836
3793
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3837
3794
|
}
|
|
3838
|
-
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3795
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3839
3796
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3840
3797
|
var n = 1, i = this.clonePosition();
|
|
3841
3798
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3846,8 +3803,8 @@ var mi = (
|
|
|
3846
3803
|
else
|
|
3847
3804
|
break;
|
|
3848
3805
|
}
|
|
3849
|
-
var h =
|
|
3850
|
-
return o ? (a *= n,
|
|
3806
|
+
var h = g(i, this.clonePosition());
|
|
3807
|
+
return o ? (a *= n, si(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3851
3808
|
}, e.prototype.offset = function() {
|
|
3852
3809
|
return this.position.offset;
|
|
3853
3810
|
}, e.prototype.isEOF = function() {
|
|
@@ -3862,7 +3819,7 @@ var mi = (
|
|
|
3862
3819
|
var t = this.position.offset;
|
|
3863
3820
|
if (t >= this.message.length)
|
|
3864
3821
|
throw Error("out of bound");
|
|
3865
|
-
var r =
|
|
3822
|
+
var r = hr(this.message, t);
|
|
3866
3823
|
if (r === void 0)
|
|
3867
3824
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3868
3825
|
return r;
|
|
@@ -3881,7 +3838,7 @@ var mi = (
|
|
|
3881
3838
|
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);
|
|
3882
3839
|
}
|
|
3883
3840
|
}, e.prototype.bumpIf = function(t) {
|
|
3884
|
-
if (
|
|
3841
|
+
if (_t(this.message, t, this.offset())) {
|
|
3885
3842
|
for (var r = 0; r < t.length; r++)
|
|
3886
3843
|
this.bump();
|
|
3887
3844
|
return !0;
|
|
@@ -3903,7 +3860,7 @@ var mi = (
|
|
|
3903
3860
|
break;
|
|
3904
3861
|
}
|
|
3905
3862
|
}, e.prototype.bumpSpace = function() {
|
|
3906
|
-
for (; !this.isEOF() &&
|
|
3863
|
+
for (; !this.isEOF() && cr(this.char()); )
|
|
3907
3864
|
this.bump();
|
|
3908
3865
|
}, e.prototype.peek = function() {
|
|
3909
3866
|
if (this.isEOF())
|
|
@@ -3913,47 +3870,47 @@ var mi = (
|
|
|
3913
3870
|
}, e;
|
|
3914
3871
|
}()
|
|
3915
3872
|
);
|
|
3916
|
-
function
|
|
3873
|
+
function Je(e) {
|
|
3917
3874
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3918
3875
|
}
|
|
3919
|
-
function
|
|
3920
|
-
return
|
|
3876
|
+
function ci(e) {
|
|
3877
|
+
return Je(e) || e === 47;
|
|
3921
3878
|
}
|
|
3922
|
-
function
|
|
3879
|
+
function fi(e) {
|
|
3923
3880
|
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;
|
|
3924
3881
|
}
|
|
3925
|
-
function
|
|
3882
|
+
function cr(e) {
|
|
3926
3883
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3927
3884
|
}
|
|
3928
|
-
function
|
|
3885
|
+
function pi(e) {
|
|
3929
3886
|
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;
|
|
3930
3887
|
}
|
|
3931
|
-
function
|
|
3888
|
+
function Ye(e) {
|
|
3932
3889
|
e.forEach(function(t) {
|
|
3933
|
-
if (delete t.location,
|
|
3890
|
+
if (delete t.location, tr(t) || rr(t))
|
|
3934
3891
|
for (var r in t.options)
|
|
3935
|
-
delete t.options[r].location,
|
|
3892
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3936
3893
|
else
|
|
3937
|
-
|
|
3894
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && ze(t.style) ? delete t.style.location : nr(t) && Ye(t.children);
|
|
3938
3895
|
});
|
|
3939
3896
|
}
|
|
3940
|
-
function
|
|
3941
|
-
t === void 0 && (t = {}), t =
|
|
3942
|
-
var r = new
|
|
3897
|
+
function di(e, t) {
|
|
3898
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3899
|
+
var r = new li(e, t).parse();
|
|
3943
3900
|
if (r.err) {
|
|
3944
3901
|
var n = SyntaxError(b[r.err.kind]);
|
|
3945
3902
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3946
3903
|
}
|
|
3947
|
-
return t?.captureLocation ||
|
|
3904
|
+
return t?.captureLocation || Ye(r.val), r.val;
|
|
3948
3905
|
}
|
|
3949
|
-
var
|
|
3906
|
+
var J;
|
|
3950
3907
|
(function(e) {
|
|
3951
3908
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3952
|
-
})(
|
|
3953
|
-
var
|
|
3909
|
+
})(J || (J = {}));
|
|
3910
|
+
var Ae = (
|
|
3954
3911
|
/** @class */
|
|
3955
3912
|
function(e) {
|
|
3956
|
-
|
|
3913
|
+
C(t, e);
|
|
3957
3914
|
function t(r, n, i) {
|
|
3958
3915
|
var o = e.call(this, r) || this;
|
|
3959
3916
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3962,48 +3919,48 @@ var Oe = (
|
|
|
3962
3919
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3963
3920
|
}, t;
|
|
3964
3921
|
}(Error)
|
|
3965
|
-
),
|
|
3922
|
+
), St = (
|
|
3966
3923
|
/** @class */
|
|
3967
3924
|
function(e) {
|
|
3968
|
-
|
|
3925
|
+
C(t, e);
|
|
3969
3926
|
function t(r, n, i, o) {
|
|
3970
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3927
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3971
3928
|
}
|
|
3972
3929
|
return t;
|
|
3973
|
-
}(
|
|
3974
|
-
),
|
|
3930
|
+
}(Ae)
|
|
3931
|
+
), mi = (
|
|
3975
3932
|
/** @class */
|
|
3976
3933
|
function(e) {
|
|
3977
|
-
|
|
3934
|
+
C(t, e);
|
|
3978
3935
|
function t(r, n, i) {
|
|
3979
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3936
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3980
3937
|
}
|
|
3981
3938
|
return t;
|
|
3982
|
-
}(
|
|
3983
|
-
),
|
|
3939
|
+
}(Ae)
|
|
3940
|
+
), bi = (
|
|
3984
3941
|
/** @class */
|
|
3985
3942
|
function(e) {
|
|
3986
|
-
|
|
3943
|
+
C(t, e);
|
|
3987
3944
|
function t(r, n) {
|
|
3988
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3945
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3989
3946
|
}
|
|
3990
3947
|
return t;
|
|
3991
|
-
}(
|
|
3948
|
+
}(Ae)
|
|
3992
3949
|
), S;
|
|
3993
3950
|
(function(e) {
|
|
3994
3951
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3995
3952
|
})(S || (S = {}));
|
|
3996
|
-
function
|
|
3953
|
+
function gi(e) {
|
|
3997
3954
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3998
3955
|
var n = t[t.length - 1];
|
|
3999
3956
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
4000
3957
|
}, []);
|
|
4001
3958
|
}
|
|
4002
|
-
function
|
|
3959
|
+
function yi(e) {
|
|
4003
3960
|
return typeof e == "function";
|
|
4004
3961
|
}
|
|
4005
3962
|
function ve(e, t, r, n, i, o, a) {
|
|
4006
|
-
if (e.length === 1 &&
|
|
3963
|
+
if (e.length === 1 && bt(e[0]))
|
|
4007
3964
|
return [
|
|
4008
3965
|
{
|
|
4009
3966
|
type: S.literal,
|
|
@@ -4012,14 +3969,14 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
4012
3969
|
];
|
|
4013
3970
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
4014
3971
|
var l = u[h];
|
|
4015
|
-
if (
|
|
3972
|
+
if (bt(l)) {
|
|
4016
3973
|
s.push({
|
|
4017
3974
|
type: S.literal,
|
|
4018
3975
|
value: l.value
|
|
4019
3976
|
});
|
|
4020
3977
|
continue;
|
|
4021
3978
|
}
|
|
4022
|
-
if (
|
|
3979
|
+
if (Gn(l)) {
|
|
4023
3980
|
typeof o == "number" && s.push({
|
|
4024
3981
|
type: S.literal,
|
|
4025
3982
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -4028,44 +3985,44 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
4028
3985
|
}
|
|
4029
3986
|
var f = l.value;
|
|
4030
3987
|
if (!(i && f in i))
|
|
4031
|
-
throw new
|
|
3988
|
+
throw new bi(f, a);
|
|
4032
3989
|
var c = i[f];
|
|
4033
|
-
if (
|
|
3990
|
+
if (Dn(l)) {
|
|
4034
3991
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
4035
3992
|
type: typeof c == "string" ? S.literal : S.object,
|
|
4036
3993
|
value: c
|
|
4037
3994
|
});
|
|
4038
3995
|
continue;
|
|
4039
3996
|
}
|
|
4040
|
-
if (
|
|
4041
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3997
|
+
if (Kt(l)) {
|
|
3998
|
+
var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
|
|
4042
3999
|
s.push({
|
|
4043
4000
|
type: S.literal,
|
|
4044
4001
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
4045
4002
|
});
|
|
4046
4003
|
continue;
|
|
4047
4004
|
}
|
|
4048
|
-
if (
|
|
4049
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
4005
|
+
if (er(l)) {
|
|
4006
|
+
var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
4050
4007
|
s.push({
|
|
4051
4008
|
type: S.literal,
|
|
4052
4009
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
4053
4010
|
});
|
|
4054
4011
|
continue;
|
|
4055
4012
|
}
|
|
4056
|
-
if (
|
|
4057
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
4013
|
+
if (Yt(l)) {
|
|
4014
|
+
var d = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
|
|
4058
4015
|
d && d.scale && (c = c * (d.scale || 1)), s.push({
|
|
4059
4016
|
type: S.literal,
|
|
4060
4017
|
value: r.getNumberFormat(t, d).format(c)
|
|
4061
4018
|
});
|
|
4062
4019
|
continue;
|
|
4063
4020
|
}
|
|
4064
|
-
if (
|
|
4065
|
-
var p = l.children, m = l.value,
|
|
4066
|
-
if (!
|
|
4067
|
-
throw new
|
|
4068
|
-
var T = ve(p, t, r, n, i, o), P =
|
|
4021
|
+
if (nr(l)) {
|
|
4022
|
+
var p = l.children, m = l.value, x = i[m];
|
|
4023
|
+
if (!yi(x))
|
|
4024
|
+
throw new mi(m, "function", a);
|
|
4025
|
+
var T = ve(p, t, r, n, i, o), P = x(T.map(function(w) {
|
|
4069
4026
|
return w.value;
|
|
4070
4027
|
}));
|
|
4071
4028
|
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
|
|
@@ -4075,42 +4032,42 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
4075
4032
|
};
|
|
4076
4033
|
}));
|
|
4077
4034
|
}
|
|
4078
|
-
if (
|
|
4079
|
-
var
|
|
4080
|
-
if (!
|
|
4081
|
-
throw new
|
|
4082
|
-
s.push.apply(s, ve(
|
|
4035
|
+
if (tr(l)) {
|
|
4036
|
+
var E = l.options[c] || l.options.other;
|
|
4037
|
+
if (!E)
|
|
4038
|
+
throw new St(l.value, c, Object.keys(l.options), a);
|
|
4039
|
+
s.push.apply(s, ve(E.value, t, r, n, i));
|
|
4083
4040
|
continue;
|
|
4084
4041
|
}
|
|
4085
|
-
if (
|
|
4086
|
-
var
|
|
4087
|
-
if (!
|
|
4042
|
+
if (rr(l)) {
|
|
4043
|
+
var E = l.options["=".concat(c)];
|
|
4044
|
+
if (!E) {
|
|
4088
4045
|
if (!Intl.PluralRules)
|
|
4089
|
-
throw new
|
|
4046
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
4090
4047
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4091
|
-
`,
|
|
4048
|
+
`, J.MISSING_INTL_API, a);
|
|
4092
4049
|
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
4093
|
-
|
|
4050
|
+
E = l.options[O] || l.options.other;
|
|
4094
4051
|
}
|
|
4095
|
-
if (!
|
|
4096
|
-
throw new
|
|
4097
|
-
s.push.apply(s, ve(
|
|
4052
|
+
if (!E)
|
|
4053
|
+
throw new St(l.value, c, Object.keys(l.options), a);
|
|
4054
|
+
s.push.apply(s, ve(E.value, t, r, n, i, c - (l.offset || 0)));
|
|
4098
4055
|
continue;
|
|
4099
4056
|
}
|
|
4100
4057
|
}
|
|
4101
|
-
return
|
|
4058
|
+
return gi(s);
|
|
4102
4059
|
}
|
|
4103
|
-
function
|
|
4104
|
-
return t ?
|
|
4105
|
-
return r[n] =
|
|
4060
|
+
function vi(e, t) {
|
|
4061
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4062
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
4106
4063
|
}, {})) : e;
|
|
4107
4064
|
}
|
|
4108
|
-
function
|
|
4065
|
+
function _i(e, t) {
|
|
4109
4066
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4110
|
-
return r[n] =
|
|
4111
|
-
},
|
|
4067
|
+
return r[n] = vi(e[n], t[n]), r;
|
|
4068
|
+
}, y({}, e)) : e;
|
|
4112
4069
|
}
|
|
4113
|
-
function
|
|
4070
|
+
function Ue(e) {
|
|
4114
4071
|
return {
|
|
4115
4072
|
create: function() {
|
|
4116
4073
|
return {
|
|
@@ -4124,39 +4081,39 @@ function Fe(e) {
|
|
|
4124
4081
|
}
|
|
4125
4082
|
};
|
|
4126
4083
|
}
|
|
4127
|
-
function
|
|
4084
|
+
function xi(e) {
|
|
4128
4085
|
return e === void 0 && (e = {
|
|
4129
4086
|
number: {},
|
|
4130
4087
|
dateTime: {},
|
|
4131
4088
|
pluralRules: {}
|
|
4132
4089
|
}), {
|
|
4133
|
-
getNumberFormat:
|
|
4090
|
+
getNumberFormat: Ce(function() {
|
|
4134
4091
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4135
4092
|
r[n] = arguments[n];
|
|
4136
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4093
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4137
4094
|
}, {
|
|
4138
|
-
cache:
|
|
4139
|
-
strategy:
|
|
4095
|
+
cache: Ue(e.number),
|
|
4096
|
+
strategy: $e.variadic
|
|
4140
4097
|
}),
|
|
4141
|
-
getDateTimeFormat:
|
|
4098
|
+
getDateTimeFormat: Ce(function() {
|
|
4142
4099
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4143
4100
|
r[n] = arguments[n];
|
|
4144
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4101
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4145
4102
|
}, {
|
|
4146
|
-
cache:
|
|
4147
|
-
strategy:
|
|
4103
|
+
cache: Ue(e.dateTime),
|
|
4104
|
+
strategy: $e.variadic
|
|
4148
4105
|
}),
|
|
4149
|
-
getPluralRules:
|
|
4106
|
+
getPluralRules: Ce(function() {
|
|
4150
4107
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4151
4108
|
r[n] = arguments[n];
|
|
4152
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4109
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
|
|
4153
4110
|
}, {
|
|
4154
|
-
cache:
|
|
4155
|
-
strategy:
|
|
4111
|
+
cache: Ue(e.pluralRules),
|
|
4112
|
+
strategy: $e.variadic
|
|
4156
4113
|
})
|
|
4157
4114
|
};
|
|
4158
4115
|
}
|
|
4159
|
-
var
|
|
4116
|
+
var Ei = (
|
|
4160
4117
|
/** @class */
|
|
4161
4118
|
function() {
|
|
4162
4119
|
function e(t, r, n, i) {
|
|
@@ -4188,13 +4145,13 @@ var Bi = (
|
|
|
4188
4145
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4189
4146
|
var a = i || {};
|
|
4190
4147
|
a.formatters;
|
|
4191
|
-
var s =
|
|
4192
|
-
this.ast = e.__parse(t,
|
|
4148
|
+
var s = Kr(a, ["formatters"]);
|
|
4149
|
+
this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
|
|
4193
4150
|
} else
|
|
4194
4151
|
this.ast = t;
|
|
4195
4152
|
if (!Array.isArray(this.ast))
|
|
4196
4153
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4197
|
-
this.formats =
|
|
4154
|
+
this.formats = _i(e.formats, n), this.formatters = i && i.formatters || xi(this.formatterCache);
|
|
4198
4155
|
}
|
|
4199
4156
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4200
4157
|
get: function() {
|
|
@@ -4207,7 +4164,7 @@ var Bi = (
|
|
|
4207
4164
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4208
4165
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4209
4166
|
}
|
|
4210
|
-
}, e.__parse =
|
|
4167
|
+
}, e.__parse = di, e.formats = {
|
|
4211
4168
|
number: {
|
|
4212
4169
|
integer: {
|
|
4213
4170
|
maximumFractionDigits: 0
|
|
@@ -4268,7 +4225,7 @@ var Bi = (
|
|
|
4268
4225
|
}, e;
|
|
4269
4226
|
}()
|
|
4270
4227
|
);
|
|
4271
|
-
function
|
|
4228
|
+
function Si(e, t) {
|
|
4272
4229
|
if (t == null)
|
|
4273
4230
|
return;
|
|
4274
4231
|
if (t in e)
|
|
@@ -4289,92 +4246,92 @@ function Ai(e, t) {
|
|
|
4289
4246
|
n = void 0;
|
|
4290
4247
|
return n;
|
|
4291
4248
|
}
|
|
4292
|
-
const U = {},
|
|
4249
|
+
const U = {}, Ti = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), fr = (e, t) => {
|
|
4293
4250
|
if (t == null)
|
|
4294
4251
|
return;
|
|
4295
4252
|
if (t in U && e in U[t])
|
|
4296
4253
|
return U[t][e];
|
|
4297
|
-
const r =
|
|
4254
|
+
const r = Pe(t);
|
|
4298
4255
|
for (let n = 0; n < r.length; n++) {
|
|
4299
|
-
const i = r[n], o =
|
|
4256
|
+
const i = r[n], o = Hi(i, e);
|
|
4300
4257
|
if (o)
|
|
4301
|
-
return
|
|
4258
|
+
return Ti(e, t, o);
|
|
4302
4259
|
}
|
|
4303
4260
|
};
|
|
4304
|
-
let
|
|
4305
|
-
const ce =
|
|
4306
|
-
function
|
|
4307
|
-
return
|
|
4261
|
+
let nt;
|
|
4262
|
+
const ce = Be({});
|
|
4263
|
+
function wi(e) {
|
|
4264
|
+
return nt[e] || null;
|
|
4308
4265
|
}
|
|
4309
|
-
function
|
|
4310
|
-
return e in
|
|
4266
|
+
function pr(e) {
|
|
4267
|
+
return e in nt;
|
|
4311
4268
|
}
|
|
4312
|
-
function
|
|
4313
|
-
if (!
|
|
4269
|
+
function Hi(e, t) {
|
|
4270
|
+
if (!pr(e))
|
|
4314
4271
|
return null;
|
|
4315
|
-
const r =
|
|
4316
|
-
return
|
|
4272
|
+
const r = wi(e);
|
|
4273
|
+
return Si(r, t);
|
|
4317
4274
|
}
|
|
4318
|
-
function
|
|
4275
|
+
function Bi(e) {
|
|
4319
4276
|
if (e == null)
|
|
4320
4277
|
return;
|
|
4321
|
-
const t =
|
|
4278
|
+
const t = Pe(e);
|
|
4322
4279
|
for (let r = 0; r < t.length; r++) {
|
|
4323
4280
|
const n = t[r];
|
|
4324
|
-
if (
|
|
4281
|
+
if (pr(n))
|
|
4325
4282
|
return n;
|
|
4326
4283
|
}
|
|
4327
4284
|
}
|
|
4328
|
-
function
|
|
4329
|
-
delete U[e], ce.update((r) => (r[e] =
|
|
4285
|
+
function dr(e, ...t) {
|
|
4286
|
+
delete U[e], ce.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
|
|
4330
4287
|
}
|
|
4331
|
-
|
|
4288
|
+
ee(
|
|
4332
4289
|
[ce],
|
|
4333
4290
|
([e]) => Object.keys(e)
|
|
4334
4291
|
);
|
|
4335
|
-
ce.subscribe((e) =>
|
|
4292
|
+
ce.subscribe((e) => nt = e);
|
|
4336
4293
|
const _e = {};
|
|
4337
|
-
function
|
|
4294
|
+
function Ai(e, t) {
|
|
4338
4295
|
_e[e].delete(t), _e[e].size === 0 && delete _e[e];
|
|
4339
4296
|
}
|
|
4340
|
-
function
|
|
4297
|
+
function mr(e) {
|
|
4341
4298
|
return _e[e];
|
|
4342
4299
|
}
|
|
4343
|
-
function
|
|
4344
|
-
return
|
|
4345
|
-
const r =
|
|
4300
|
+
function Pi(e) {
|
|
4301
|
+
return Pe(e).map((t) => {
|
|
4302
|
+
const r = mr(t);
|
|
4346
4303
|
return [t, r ? [...r] : []];
|
|
4347
4304
|
}).filter(([, t]) => t.length > 0);
|
|
4348
4305
|
}
|
|
4349
|
-
function
|
|
4350
|
-
return e == null ? !1 :
|
|
4306
|
+
function Ke(e) {
|
|
4307
|
+
return e == null ? !1 : Pe(e).some(
|
|
4351
4308
|
(t) => {
|
|
4352
4309
|
var r;
|
|
4353
|
-
return (r =
|
|
4310
|
+
return (r = mr(t)) == null ? void 0 : r.size;
|
|
4354
4311
|
}
|
|
4355
4312
|
);
|
|
4356
4313
|
}
|
|
4357
|
-
function
|
|
4314
|
+
function Oi(e, t) {
|
|
4358
4315
|
return Promise.all(
|
|
4359
|
-
t.map((n) => (
|
|
4360
|
-
).then((n) =>
|
|
4361
|
-
}
|
|
4362
|
-
const
|
|
4363
|
-
function
|
|
4364
|
-
if (!
|
|
4365
|
-
return e in
|
|
4366
|
-
const t =
|
|
4367
|
-
return
|
|
4316
|
+
t.map((n) => (Ai(e, n), n().then((i) => i.default || i)))
|
|
4317
|
+
).then((n) => dr(e, ...n));
|
|
4318
|
+
}
|
|
4319
|
+
const ie = {};
|
|
4320
|
+
function br(e) {
|
|
4321
|
+
if (!Ke(e))
|
|
4322
|
+
return e in ie ? ie[e] : Promise.resolve();
|
|
4323
|
+
const t = Pi(e);
|
|
4324
|
+
return ie[e] = Promise.all(
|
|
4368
4325
|
t.map(
|
|
4369
|
-
([r, n]) =>
|
|
4326
|
+
([r, n]) => Oi(r, n)
|
|
4370
4327
|
)
|
|
4371
4328
|
).then(() => {
|
|
4372
|
-
if (
|
|
4373
|
-
return
|
|
4374
|
-
delete
|
|
4375
|
-
}),
|
|
4329
|
+
if (Ke(e))
|
|
4330
|
+
return br(e);
|
|
4331
|
+
delete ie[e];
|
|
4332
|
+
}), ie[e];
|
|
4376
4333
|
}
|
|
4377
|
-
const
|
|
4334
|
+
const Ii = {
|
|
4378
4335
|
number: {
|
|
4379
4336
|
scientific: { notation: "scientific" },
|
|
4380
4337
|
engineering: { notation: "engineering" },
|
|
@@ -4403,135 +4360,135 @@ const $i = {
|
|
|
4403
4360
|
timeZoneName: "short"
|
|
4404
4361
|
}
|
|
4405
4362
|
}
|
|
4406
|
-
},
|
|
4363
|
+
}, Li = {
|
|
4407
4364
|
fallbackLocale: null,
|
|
4408
4365
|
loadingDelay: 200,
|
|
4409
|
-
formats:
|
|
4366
|
+
formats: Ii,
|
|
4410
4367
|
warnOnMissingMessages: !0,
|
|
4411
4368
|
handleMissingMessage: void 0,
|
|
4412
4369
|
ignoreTag: !0
|
|
4413
|
-
},
|
|
4414
|
-
function
|
|
4415
|
-
return
|
|
4370
|
+
}, Ni = Li;
|
|
4371
|
+
function Y() {
|
|
4372
|
+
return Ni;
|
|
4416
4373
|
}
|
|
4417
|
-
const
|
|
4418
|
-
var
|
|
4374
|
+
const De = Be(!1);
|
|
4375
|
+
var Mi = Object.defineProperty, Ci = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
|
|
4419
4376
|
for (var r in t || (t = {}))
|
|
4420
|
-
|
|
4421
|
-
if (
|
|
4422
|
-
for (var r of
|
|
4423
|
-
|
|
4377
|
+
Ri.call(t, r) && wt(e, r, t[r]);
|
|
4378
|
+
if (Tt)
|
|
4379
|
+
for (var r of Tt(t))
|
|
4380
|
+
Ui.call(t, r) && wt(e, r, t[r]);
|
|
4424
4381
|
return e;
|
|
4425
|
-
},
|
|
4426
|
-
let
|
|
4427
|
-
const
|
|
4428
|
-
function
|
|
4382
|
+
}, Gi = (e, t) => Ci(e, $i(t));
|
|
4383
|
+
let et;
|
|
4384
|
+
const Te = Be(null);
|
|
4385
|
+
function Ht(e) {
|
|
4429
4386
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4430
4387
|
}
|
|
4431
|
-
function
|
|
4432
|
-
const r =
|
|
4433
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4388
|
+
function Pe(e, t = Y().fallbackLocale) {
|
|
4389
|
+
const r = Ht(e);
|
|
4390
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
|
|
4434
4391
|
}
|
|
4435
4392
|
function F() {
|
|
4436
|
-
return
|
|
4393
|
+
return et ?? void 0;
|
|
4437
4394
|
}
|
|
4438
|
-
|
|
4439
|
-
|
|
4395
|
+
Te.subscribe((e) => {
|
|
4396
|
+
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4440
4397
|
});
|
|
4441
|
-
const
|
|
4442
|
-
if (e &&
|
|
4443
|
-
const { loadingDelay: t } =
|
|
4398
|
+
const Fi = (e) => {
|
|
4399
|
+
if (e && Bi(e) && Ke(e)) {
|
|
4400
|
+
const { loadingDelay: t } = Y();
|
|
4444
4401
|
let r;
|
|
4445
4402
|
return typeof window < "u" && F() != null && t ? r = window.setTimeout(
|
|
4446
|
-
() =>
|
|
4403
|
+
() => De.set(!0),
|
|
4447
4404
|
t
|
|
4448
|
-
) :
|
|
4449
|
-
|
|
4405
|
+
) : De.set(!0), br(e).then(() => {
|
|
4406
|
+
Te.set(e);
|
|
4450
4407
|
}).finally(() => {
|
|
4451
|
-
clearTimeout(r),
|
|
4408
|
+
clearTimeout(r), De.set(!1);
|
|
4452
4409
|
});
|
|
4453
4410
|
}
|
|
4454
|
-
return
|
|
4455
|
-
},
|
|
4456
|
-
set:
|
|
4457
|
-
}),
|
|
4411
|
+
return Te.set(e);
|
|
4412
|
+
}, te = Gi(Di({}, Te), {
|
|
4413
|
+
set: Fi
|
|
4414
|
+
}), Oe = (e) => {
|
|
4458
4415
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4459
4416
|
return (n) => {
|
|
4460
4417
|
const i = JSON.stringify(n);
|
|
4461
4418
|
return i in t ? t[i] : t[i] = e(n);
|
|
4462
4419
|
};
|
|
4463
4420
|
};
|
|
4464
|
-
var
|
|
4421
|
+
var ji = Object.defineProperty, we = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
|
4465
4422
|
for (var r in t || (t = {}))
|
|
4466
|
-
|
|
4467
|
-
if (
|
|
4468
|
-
for (var r of
|
|
4469
|
-
|
|
4423
|
+
gr.call(t, r) && Bt(e, r, t[r]);
|
|
4424
|
+
if (we)
|
|
4425
|
+
for (var r of we(t))
|
|
4426
|
+
yr.call(t, r) && Bt(e, r, t[r]);
|
|
4470
4427
|
return e;
|
|
4471
|
-
},
|
|
4428
|
+
}, re = (e, t) => {
|
|
4472
4429
|
var r = {};
|
|
4473
4430
|
for (var n in e)
|
|
4474
|
-
|
|
4475
|
-
if (e != null &&
|
|
4476
|
-
for (var n of
|
|
4477
|
-
t.indexOf(n) < 0 &&
|
|
4431
|
+
gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4432
|
+
if (e != null && we)
|
|
4433
|
+
for (var n of we(e))
|
|
4434
|
+
t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
|
|
4478
4435
|
return r;
|
|
4479
4436
|
};
|
|
4480
|
-
const
|
|
4481
|
-
const { formats: r } =
|
|
4437
|
+
const ue = (e, t) => {
|
|
4438
|
+
const { formats: r } = Y();
|
|
4482
4439
|
if (e in r && t in r[e])
|
|
4483
4440
|
return r[e][t];
|
|
4484
4441
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4485
|
-
},
|
|
4442
|
+
}, ki = Oe(
|
|
4486
4443
|
(e) => {
|
|
4487
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4444
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4488
4445
|
if (r == null)
|
|
4489
4446
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4490
|
-
return n && (i =
|
|
4447
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
|
4491
4448
|
}
|
|
4492
|
-
),
|
|
4449
|
+
), Vi = Oe(
|
|
4493
4450
|
(e) => {
|
|
4494
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4451
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4495
4452
|
if (r == null)
|
|
4496
4453
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4497
|
-
return n ? i =
|
|
4454
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4498
4455
|
}
|
|
4499
|
-
),
|
|
4456
|
+
), Xi = Oe(
|
|
4500
4457
|
(e) => {
|
|
4501
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4458
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
4502
4459
|
if (r == null)
|
|
4503
4460
|
throw new Error(
|
|
4504
4461
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4505
4462
|
);
|
|
4506
|
-
return n ? i =
|
|
4463
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4507
4464
|
}
|
|
4508
|
-
),
|
|
4465
|
+
), Wi = (e = {}) => {
|
|
4509
4466
|
var t = e, {
|
|
4510
4467
|
locale: r = F()
|
|
4511
|
-
} = t, n =
|
|
4468
|
+
} = t, n = re(t, [
|
|
4512
4469
|
"locale"
|
|
4513
4470
|
]);
|
|
4514
|
-
return
|
|
4515
|
-
},
|
|
4471
|
+
return ki(it({ locale: r }, n));
|
|
4472
|
+
}, zi = (e = {}) => {
|
|
4516
4473
|
var t = e, {
|
|
4517
4474
|
locale: r = F()
|
|
4518
|
-
} = t, n =
|
|
4475
|
+
} = t, n = re(t, [
|
|
4519
4476
|
"locale"
|
|
4520
4477
|
]);
|
|
4521
|
-
return
|
|
4522
|
-
},
|
|
4478
|
+
return Vi(it({ locale: r }, n));
|
|
4479
|
+
}, Zi = (e = {}) => {
|
|
4523
4480
|
var t = e, {
|
|
4524
4481
|
locale: r = F()
|
|
4525
|
-
} = t, n =
|
|
4482
|
+
} = t, n = re(t, [
|
|
4526
4483
|
"locale"
|
|
4527
4484
|
]);
|
|
4528
|
-
return
|
|
4529
|
-
},
|
|
4485
|
+
return Xi(it({ locale: r }, n));
|
|
4486
|
+
}, qi = Oe(
|
|
4530
4487
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4531
|
-
(e, t = F()) => new
|
|
4532
|
-
ignoreTag:
|
|
4488
|
+
(e, t = F()) => new Ei(e, t, Y().formats, {
|
|
4489
|
+
ignoreTag: Y().ignoreTag
|
|
4533
4490
|
})
|
|
4534
|
-
),
|
|
4491
|
+
), Qi = (e, t = {}) => {
|
|
4535
4492
|
var r, n, i, o;
|
|
4536
4493
|
let a = t;
|
|
4537
4494
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4544,9 +4501,9 @@ const ae = (e, t) => {
|
|
|
4544
4501
|
throw new Error(
|
|
4545
4502
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4546
4503
|
);
|
|
4547
|
-
let l =
|
|
4504
|
+
let l = fr(e, h);
|
|
4548
4505
|
if (!l)
|
|
4549
|
-
l = (o = (i = (n = (r =
|
|
4506
|
+
l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4550
4507
|
else if (typeof l != "string")
|
|
4551
4508
|
return console.warn(
|
|
4552
4509
|
`[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,7 +4512,7 @@ const ae = (e, t) => {
|
|
|
4555
4512
|
return l;
|
|
4556
4513
|
let f = l;
|
|
4557
4514
|
try {
|
|
4558
|
-
f =
|
|
4515
|
+
f = qi(l, h).format(s);
|
|
4559
4516
|
} catch (c) {
|
|
4560
4517
|
c instanceof Error && console.warn(
|
|
4561
4518
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4563,14 +4520,14 @@ const ae = (e, t) => {
|
|
|
4563
4520
|
);
|
|
4564
4521
|
}
|
|
4565
4522
|
return f;
|
|
4566
|
-
},
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
window.emWidgets = { topic:
|
|
4572
|
-
const
|
|
4573
|
-
function
|
|
4523
|
+
}, Ji = (e, t) => Zi(t).format(e), Yi = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), eo = (e, t = F()) => fr(e, t), to = ee([te, ce], () => Qi);
|
|
4524
|
+
ee([te], () => Ji);
|
|
4525
|
+
ee([te], () => Yi);
|
|
4526
|
+
ee([te], () => Ki);
|
|
4527
|
+
ee([te, ce], () => eo);
|
|
4528
|
+
window.emWidgets = { topic: dn };
|
|
4529
|
+
const Uo = (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)), vr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Do = (e) => e.match(/CustomNative/i) ? "NativeApp" : vr(e) === "PC" ? "Desktop" : "Mobile";
|
|
4530
|
+
function Go(e, t) {
|
|
4574
4531
|
const r = () => !0;
|
|
4575
4532
|
switch (typeof e) {
|
|
4576
4533
|
case "string": {
|
|
@@ -4583,13 +4540,13 @@ function Xo(e, t) {
|
|
|
4583
4540
|
return !1;
|
|
4584
4541
|
}
|
|
4585
4542
|
}
|
|
4586
|
-
function
|
|
4543
|
+
function At(e, t) {
|
|
4587
4544
|
if (e) {
|
|
4588
4545
|
const r = document.createElement("style");
|
|
4589
4546
|
r.innerHTML = t, e.appendChild(r);
|
|
4590
4547
|
}
|
|
4591
4548
|
}
|
|
4592
|
-
function
|
|
4549
|
+
function ro(e, t) {
|
|
4593
4550
|
const r = new URL(t);
|
|
4594
4551
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4595
4552
|
const i = document.createElement("style");
|
|
@@ -4598,7 +4555,7 @@ function ao(e, t) {
|
|
|
4598
4555
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4599
4556
|
});
|
|
4600
4557
|
}
|
|
4601
|
-
function
|
|
4558
|
+
function no(e, t, r) {
|
|
4602
4559
|
if (window.emMessageBus) {
|
|
4603
4560
|
const n = document.createElement("style");
|
|
4604
4561
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4606,7 +4563,7 @@ function uo(e, t, r) {
|
|
|
4606
4563
|
});
|
|
4607
4564
|
}
|
|
4608
4565
|
}
|
|
4609
|
-
const
|
|
4566
|
+
const io = (e, t = {}) => {
|
|
4610
4567
|
const r = new CustomEvent("track-custom-event", {
|
|
4611
4568
|
detail: {
|
|
4612
4569
|
type: e,
|
|
@@ -4617,13 +4574,13 @@ const ho = (e, t = {}) => {
|
|
|
4617
4574
|
});
|
|
4618
4575
|
document.dispatchEvent(r);
|
|
4619
4576
|
};
|
|
4620
|
-
function
|
|
4621
|
-
|
|
4577
|
+
function Pt(e, t) {
|
|
4578
|
+
dr(e, t);
|
|
4622
4579
|
}
|
|
4623
|
-
function
|
|
4624
|
-
|
|
4580
|
+
function oo(e) {
|
|
4581
|
+
te.set(e);
|
|
4625
4582
|
}
|
|
4626
|
-
const
|
|
4583
|
+
const Ot = {
|
|
4627
4584
|
en: {
|
|
4628
4585
|
logoutButton: "Logout"
|
|
4629
4586
|
},
|
|
@@ -4658,20 +4615,20 @@ const Ct = {
|
|
|
4658
4615
|
logoutButton: "Logout"
|
|
4659
4616
|
}
|
|
4660
4617
|
};
|
|
4661
|
-
function
|
|
4662
|
-
|
|
4618
|
+
function so(e) {
|
|
4619
|
+
Ar(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))}");
|
|
4663
4620
|
}
|
|
4664
|
-
function
|
|
4621
|
+
function ao(e) {
|
|
4665
4622
|
let t, r, n, i = (
|
|
4666
4623
|
/*$_*/
|
|
4667
4624
|
e[2]("logoutButton") + ""
|
|
4668
4625
|
), o, a, s;
|
|
4669
4626
|
return {
|
|
4670
4627
|
c() {
|
|
4671
|
-
t = I("div"), r = I("button"), n = I("span"), o =
|
|
4628
|
+
t = I("div"), r = I("button"), n = I("span"), o = le(i), B(t, "class", "GeneralLogout");
|
|
4672
4629
|
},
|
|
4673
4630
|
m(h, u) {
|
|
4674
|
-
|
|
4631
|
+
K(h, t, u), A(t, r), A(r, n), A(n, o), a || (s = Ut(
|
|
4675
4632
|
r,
|
|
4676
4633
|
"click",
|
|
4677
4634
|
/*click_handler_1*/
|
|
@@ -4681,19 +4638,19 @@ function fo(e) {
|
|
|
4681
4638
|
p(h, u) {
|
|
4682
4639
|
u & /*$_*/
|
|
4683
4640
|
4 && i !== (i = /*$_*/
|
|
4684
|
-
h[2]("logoutButton") + "") &&
|
|
4641
|
+
h[2]("logoutButton") + "") && Dt(o, i);
|
|
4685
4642
|
},
|
|
4686
4643
|
d(h) {
|
|
4687
4644
|
h && D(t), a = !1, s();
|
|
4688
4645
|
}
|
|
4689
4646
|
};
|
|
4690
4647
|
}
|
|
4691
|
-
function
|
|
4648
|
+
function uo(e) {
|
|
4692
4649
|
let t, r, n, i, o, a, s, h, u, l, f, c = !/*isMobile*/
|
|
4693
|
-
e[3] &&
|
|
4650
|
+
e[3] && ho(e);
|
|
4694
4651
|
return {
|
|
4695
4652
|
c() {
|
|
4696
|
-
t = I("p"), r = I("span"), n = V("svg"), i = V("defs"), o = V("style"), a =
|
|
4653
|
+
t = I("p"), r = I("span"), n = V("svg"), i = V("defs"), o = V("style"), a = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = V("path"), h = V("path"), u = Or(), c && c.c(), B(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(s, "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"), B(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(h, "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"), B(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), B(n, "data-name", "Layer 1"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "viewBox", "0 0 150 150"), Lr(r, "width", /*isMobile*/
|
|
4697
4654
|
e[3] ? (
|
|
4698
4655
|
/*mediaQuery*/
|
|
4699
4656
|
e[4].matches ? "20px" : "24px"
|
|
@@ -4703,7 +4660,7 @@ function po(e) {
|
|
|
4703
4660
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4704
4661
|
},
|
|
4705
4662
|
m(d, p) {
|
|
4706
|
-
|
|
4663
|
+
K(d, t, p), A(t, r), A(r, n), A(n, i), A(i, o), A(o, a), A(n, s), A(n, h), A(t, u), c && c.m(t, null), l || (f = Ut(
|
|
4707
4664
|
t,
|
|
4708
4665
|
"click",
|
|
4709
4666
|
/*click_handler*/
|
|
@@ -4719,34 +4676,34 @@ function po(e) {
|
|
|
4719
4676
|
}
|
|
4720
4677
|
};
|
|
4721
4678
|
}
|
|
4722
|
-
function
|
|
4679
|
+
function ho(e) {
|
|
4723
4680
|
let t, r = (
|
|
4724
4681
|
/*$_*/
|
|
4725
4682
|
e[2]("logoutButton") + ""
|
|
4726
4683
|
), n;
|
|
4727
4684
|
return {
|
|
4728
4685
|
c() {
|
|
4729
|
-
t = I("span"), n =
|
|
4686
|
+
t = I("span"), n = le(r), B(t, "class", "PlayerLogoutText");
|
|
4730
4687
|
},
|
|
4731
4688
|
m(i, o) {
|
|
4732
|
-
|
|
4689
|
+
K(i, t, o), A(t, n);
|
|
4733
4690
|
},
|
|
4734
4691
|
p(i, o) {
|
|
4735
4692
|
o & /*$_*/
|
|
4736
4693
|
4 && r !== (r = /*$_*/
|
|
4737
|
-
i[2]("logoutButton") + "") &&
|
|
4694
|
+
i[2]("logoutButton") + "") && Dt(n, r);
|
|
4738
4695
|
},
|
|
4739
4696
|
d(i) {
|
|
4740
4697
|
i && D(t);
|
|
4741
4698
|
}
|
|
4742
4699
|
};
|
|
4743
4700
|
}
|
|
4744
|
-
function
|
|
4701
|
+
function lo(e) {
|
|
4745
4702
|
let t;
|
|
4746
4703
|
function r(o, a) {
|
|
4747
4704
|
return (
|
|
4748
4705
|
/*buttonlocation*/
|
|
4749
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4706
|
+
o[0] === "PlayerAccountMenu" ? uo : ao
|
|
4750
4707
|
);
|
|
4751
4708
|
}
|
|
4752
4709
|
let n = r(e), i = n(e);
|
|
@@ -4755,7 +4712,7 @@ function bo(e) {
|
|
|
4755
4712
|
t = I("div"), i.c();
|
|
4756
4713
|
},
|
|
4757
4714
|
m(o, a) {
|
|
4758
|
-
|
|
4715
|
+
K(o, t, a), i.m(t, null), e[15](t);
|
|
4759
4716
|
},
|
|
4760
4717
|
p(o, [a]) {
|
|
4761
4718
|
n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4767,58 +4724,58 @@ function bo(e) {
|
|
|
4767
4724
|
}
|
|
4768
4725
|
};
|
|
4769
4726
|
}
|
|
4770
|
-
function
|
|
4727
|
+
function co(e, t, r) {
|
|
4771
4728
|
let n;
|
|
4772
|
-
|
|
4773
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent,
|
|
4729
|
+
wr(e, to, (v) => r(2, n = v));
|
|
4730
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, x = vr(m) !== "PC";
|
|
4774
4731
|
const T = window.matchMedia("(min-width: 768px)"), P = () => {
|
|
4775
4732
|
fetch(f).then((R) => R.json()).then((R) => {
|
|
4776
|
-
Object.keys(R).forEach((
|
|
4777
|
-
|
|
4733
|
+
Object.keys(R).forEach((Ie) => {
|
|
4734
|
+
Pt(Ie, R[Ie]);
|
|
4778
4735
|
});
|
|
4779
4736
|
}).catch((R) => {
|
|
4780
4737
|
console.log(R);
|
|
4781
4738
|
});
|
|
4782
4739
|
};
|
|
4783
|
-
Object.keys(
|
|
4784
|
-
|
|
4740
|
+
Object.keys(Ot).forEach((v) => {
|
|
4741
|
+
Pt(v, Ot[v]);
|
|
4785
4742
|
});
|
|
4786
|
-
const
|
|
4787
|
-
let
|
|
4788
|
-
|
|
4789
|
-
let R = { method: "DELETE", headers:
|
|
4790
|
-
fetch(`${i}/v1/player/session/player`, R).then((
|
|
4791
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
4743
|
+
const E = () => {
|
|
4744
|
+
let v = new Headers();
|
|
4745
|
+
v.append("Content-type", "application/json"), v.append("X-SessionID", o);
|
|
4746
|
+
let R = { method: "DELETE", headers: v };
|
|
4747
|
+
fetch(`${i}/v1/player/session/player`, R).then((Ie) => {
|
|
4748
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), io("logged_out", {});
|
|
4792
4749
|
});
|
|
4793
4750
|
}, O = () => (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), w = () => {
|
|
4794
|
-
|
|
4751
|
+
oo(s);
|
|
4795
4752
|
};
|
|
4796
|
-
|
|
4753
|
+
Gr(() => () => {
|
|
4797
4754
|
});
|
|
4798
|
-
const $ = () =>
|
|
4799
|
-
function
|
|
4800
|
-
|
|
4801
|
-
p =
|
|
4755
|
+
const $ = () => E(), fe = () => E();
|
|
4756
|
+
function xr(v) {
|
|
4757
|
+
Ge[v ? "unshift" : "push"](() => {
|
|
4758
|
+
p = v, r(1, p);
|
|
4802
4759
|
});
|
|
4803
4760
|
}
|
|
4804
|
-
return e.$$set = (
|
|
4805
|
-
"endpoint" in
|
|
4761
|
+
return e.$$set = (v) => {
|
|
4762
|
+
"endpoint" in v && r(6, i = v.endpoint), "session" in v && r(7, o = v.session), "buttonlocation" in v && r(0, a = v.buttonlocation), "lang" in v && r(8, s = v.lang), "mbsource" in v && r(9, h = v.mbsource), "clientstyling" in v && r(10, u = v.clientstyling), "clientstylingurl" in v && r(11, l = v.clientstylingurl), "translationurl" in v && r(12, f = v.translationurl);
|
|
4806
4763
|
}, e.$$.update = () => {
|
|
4807
4764
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4808
4765
|
193 && i && o && a && O(), e.$$.dirty & /*lang*/
|
|
4809
4766
|
256 && s && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4810
|
-
1026 && u && p &&
|
|
4811
|
-
1026 && u && p &&
|
|
4812
|
-
2050 && l && p &&
|
|
4813
|
-
514 && h && p &&
|
|
4767
|
+
1026 && u && p && At(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4768
|
+
1026 && u && p && At(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4769
|
+
2050 && l && p && ro(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4770
|
+
514 && h && p && no(p, `${h}.Style`), e.$$.dirty & /*translationurl*/
|
|
4814
4771
|
4096 && f && P();
|
|
4815
4772
|
}, [
|
|
4816
4773
|
a,
|
|
4817
4774
|
p,
|
|
4818
4775
|
n,
|
|
4819
|
-
_,
|
|
4820
|
-
T,
|
|
4821
4776
|
x,
|
|
4777
|
+
T,
|
|
4778
|
+
E,
|
|
4822
4779
|
i,
|
|
4823
4780
|
o,
|
|
4824
4781
|
s,
|
|
@@ -4828,17 +4785,17 @@ function yo(e, t, r) {
|
|
|
4828
4785
|
f,
|
|
4829
4786
|
$,
|
|
4830
4787
|
fe,
|
|
4831
|
-
|
|
4788
|
+
xr
|
|
4832
4789
|
];
|
|
4833
4790
|
}
|
|
4834
|
-
class
|
|
4791
|
+
class _r extends Jr {
|
|
4835
4792
|
constructor(t) {
|
|
4836
|
-
super(),
|
|
4793
|
+
super(), qr(
|
|
4837
4794
|
this,
|
|
4838
4795
|
t,
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4796
|
+
co,
|
|
4797
|
+
lo,
|
|
4798
|
+
Lt,
|
|
4842
4799
|
{
|
|
4843
4800
|
endpoint: 6,
|
|
4844
4801
|
session: 7,
|
|
@@ -4849,7 +4806,7 @@ class wr extends rn {
|
|
|
4849
4806
|
clientstylingurl: 11,
|
|
4850
4807
|
translationurl: 12
|
|
4851
4808
|
},
|
|
4852
|
-
|
|
4809
|
+
so
|
|
4853
4810
|
);
|
|
4854
4811
|
}
|
|
4855
4812
|
get endpoint() {
|
|
@@ -4901,74 +4858,74 @@ class wr extends rn {
|
|
|
4901
4858
|
this.$$set({ translationurl: t }), L();
|
|
4902
4859
|
}
|
|
4903
4860
|
}
|
|
4904
|
-
|
|
4905
|
-
const
|
|
4861
|
+
Qr(_r, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4862
|
+
const Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4906
4863
|
__proto__: null,
|
|
4907
|
-
default:
|
|
4864
|
+
default: _r
|
|
4908
4865
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4909
4866
|
export {
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4867
|
+
te as $,
|
|
4868
|
+
Qr as A,
|
|
4869
|
+
to as B,
|
|
4870
|
+
$o as C,
|
|
4871
|
+
_o as D,
|
|
4915
4872
|
ce as E,
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4873
|
+
Do as F,
|
|
4874
|
+
Io as G,
|
|
4875
|
+
xo as H,
|
|
4876
|
+
vo as I,
|
|
4877
|
+
po as J,
|
|
4878
|
+
Mo as K,
|
|
4879
|
+
Vr as L,
|
|
4880
|
+
bo as M,
|
|
4881
|
+
go as N,
|
|
4882
|
+
mo as O,
|
|
4883
|
+
Eo as P,
|
|
4884
|
+
Ao as Q,
|
|
4885
|
+
wo as R,
|
|
4886
|
+
Jr as S,
|
|
4887
|
+
Bo as T,
|
|
4888
|
+
he as U,
|
|
4889
|
+
Ho as V,
|
|
4933
4890
|
Se as W,
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4891
|
+
Uo as X,
|
|
4892
|
+
yo as Y,
|
|
4893
|
+
Lr as Z,
|
|
4894
|
+
No as _,
|
|
4895
|
+
dr as a,
|
|
4896
|
+
Lo as a0,
|
|
4897
|
+
Oo as a1,
|
|
4898
|
+
fo as a2,
|
|
4899
|
+
Er as a3,
|
|
4900
|
+
Co as a4,
|
|
4901
|
+
bn as a5,
|
|
4902
|
+
Ro as a6,
|
|
4903
|
+
Go as a7,
|
|
4904
|
+
To as a8,
|
|
4905
|
+
Fo as a9,
|
|
4906
|
+
Ar as b,
|
|
4907
|
+
Dt as c,
|
|
4951
4908
|
D as d,
|
|
4952
4909
|
B as e,
|
|
4953
4910
|
L as f,
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4911
|
+
So as g,
|
|
4912
|
+
K as h,
|
|
4913
|
+
qr as i,
|
|
4957
4914
|
A as j,
|
|
4958
4915
|
I as k,
|
|
4959
|
-
|
|
4960
|
-
|
|
4916
|
+
Ut as l,
|
|
4917
|
+
Or as m,
|
|
4961
4918
|
H as n,
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4919
|
+
Po as o,
|
|
4920
|
+
wr as p,
|
|
4921
|
+
vr as q,
|
|
4965
4922
|
G as r,
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4923
|
+
Lt as s,
|
|
4924
|
+
le as t,
|
|
4925
|
+
Gr as u,
|
|
4969
4926
|
V as v,
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4927
|
+
Ge as w,
|
|
4928
|
+
At as x,
|
|
4929
|
+
ro as y,
|
|
4930
|
+
no as z
|
|
4974
4931
|
};
|