@everymatrix/player-account-controller 1.73.0 → 1.73.2
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-Dzu2Sl-x.cjs → GeneralLogout-CUey30IA.cjs} +5 -5
- package/components/{GeneralLogout-INWUDrak.js → GeneralLogout-D1d-15j9.js} +519 -448
- package/components/{GeneralLogout-BHj50gej.js → GeneralLogout-Dp0t5xiu.js} +490 -419
- package/components/{PlayerAccountBettingHistory-DVj3QpKW.js → PlayerAccountBettingHistory-D9Jkcu6g.js} +1 -1
- package/components/{PlayerAccountBettingHistory-6bdMRw7b.js → PlayerAccountBettingHistory-DIFqK_pJ.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BG5_gjSl.cjs → PlayerAccountBettingHistory-la7IEPsJ.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-C5pUACUE.js → PlayerAccountBiometrics-BiFD5dJF.js} +1 -1
- package/components/{PlayerAccountBiometrics-DkxwtpuF.js → PlayerAccountBiometrics-DW3O_c_d.js} +1 -1
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-E4avOt95.cjs} +1 -1
- package/components/{PlayerAccountClosure-D2ApiUXV.js → PlayerAccountClosure-CYKotuUN.js} +1 -1
- package/components/{PlayerAccountClosure-DoZ91aH2.cjs → PlayerAccountClosure-CuXaw1qa.cjs} +1 -1
- package/components/{PlayerAccountClosure-vPc-BArB.js → PlayerAccountClosure-MoMUkdm3.js} +1 -1
- package/components/{PlayerAccountController-2uMVXSSQ.js → PlayerAccountController-B8DJytQ8.js} +516 -486
- package/components/{PlayerAccountController-COFCcEvV.js → PlayerAccountController-Cq1WDry7.js} +517 -487
- package/components/PlayerAccountController-WXq3wske.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-BfrumTwY.js → PlayerAccountGamingLimits-BCDLNzea.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DlA29Y4p.js → PlayerAccountGamingLimits-BWYiaPTb.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-CWXEw1xn.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-BDEiLyA5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cg5ndunr.js → PlayerAccountGamingLimitsConfirmationModal-CfkLeqgC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D5LstV9w.js → PlayerAccountGamingLimitsConfirmationModal-DQNgVygC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js → PlayerAccountGamingLimitsGroupEdit-BR3aaKKF.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-DN-VG2ye.js → PlayerAccountGamingLimitsGroupEdit-C6cPJtyS.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs → PlayerAccountGamingLimitsGroupEdit-Cf-jXwM4.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-B8TPjC1F.js → PlayerAccountGamingLimitsHistory2-B73ZKUp8.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-GRu_2NJ0.js → PlayerAccountGamingLimitsHistory2-C7iyCZTM.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs → PlayerAccountGamingLimitsHistory2-DoQnAbmO.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-8Ea7IE2K.js → PlayerAccountGamingLimitsInfoCard-5M2JHH5i.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CzmG8TN_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BfD6DDSB.js → PlayerAccountGamingLimitsInfoCard-DmtZXGWH.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CnUGDYRk.js → PlayerAccountGamingLimitsPage2Gm16-CzidzBZa.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B02A1fGD.js → PlayerAccountGamingLimitsPage2Gm16-DP4qBE2E.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dpo-wqo-.cjs → PlayerAccountGamingLimitsPage2Gm16-TnUX_EMA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BlVtbm__.js → PlayerAccountGamingLimitsPopup-CHgAjN-y.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-D6BfVLoR.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DPu9x2H3.js → PlayerAccountGamingLimitsPopup-VbPcz1m3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-cJf0myiC.js → PlayerAccountGamingLimitsWrapper2-CNeGDcr8.js} +249 -249
- package/components/{PlayerAccountGamingLimitsWrapper2-B0QUbGaJ.cjs → PlayerAccountGamingLimitsWrapper2-D0DBTqeK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CqXn9yDd.js → PlayerAccountGamingLimitsWrapper2-Dh0Jk6Qi.js} +141 -143
- package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-CeG-uqHr.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BksqLS7V.js → PlayerAccountGeneralConfirmationModal-CvAnXDvi.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-eHfDDGZk.js → PlayerAccountGeneralConfirmationModal-gPSZLtXl.js} +1 -1
- package/components/{PlayerAccountMenu-CE6Ej_rV.js → PlayerAccountMenu-Br1KAYkQ.js} +2 -2
- package/components/{PlayerAccountMenu-_Le7yvP5.cjs → PlayerAccountMenu-DM8wOriy.cjs} +1 -1
- package/components/{PlayerAccountMenu-Cp7Edaq0.js → PlayerAccountMenu-jeZrAHJj.js} +2 -2
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal-C70Mycg9.cjs} +1 -1
- package/components/{PlayerAccountModal-CrjAmgmN.js → PlayerAccountModal-CYOd9FYU.js} +1 -1
- package/components/{PlayerAccountModal-DYSDyLvm.js → PlayerAccountModal-D1wg99Qw.js} +1 -1
- package/components/{PlayerAccountNotifications-qIJQNyMm.js → PlayerAccountNotifications-Cfg1xDTQ.js} +1 -1
- package/components/{PlayerAccountNotifications-Cyle3r2h.cjs → PlayerAccountNotifications-IX9W_3ma.cjs} +1 -1
- package/components/{PlayerAccountNotifications-OyZ1fIUi.js → PlayerAccountNotifications-PfH7nA2H.js} +1 -1
- package/components/{PlayerAccountProductRestriction-DAWRutx-.cjs → PlayerAccountProductRestriction-BMsZXr0T.cjs} +399 -405
- package/components/{PlayerAccountProductRestriction-BZ2Y4yzU.js → PlayerAccountProductRestriction-Be0Y38Bb.js} +2601 -2513
- package/components/{PlayerAccountProductRestriction-L-vR790T.js → PlayerAccountProductRestriction-DRYwszQH.js} +2498 -2474
- package/components/{PlayerAccountSelfExclusion-Dq1gDgcx.cjs → PlayerAccountSelfExclusion-BxfZAiOT.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-7psd7i6U.js → PlayerAccountSelfExclusion-CMOcGI1q.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-Bd8SgB7m.js → PlayerAccountSelfExclusion-D-zhDW4s.js} +3 -3
- package/components/{PlayerAccountTimeout-Dby2FPrP.js → PlayerAccountTimeout-C1lZPgJL.js} +3 -3
- package/components/{PlayerAccountTimeout-uyeQ1--8.js → PlayerAccountTimeout-Du6bnf8d.js} +3 -3
- package/components/{PlayerAccountTimeout-CMLyedNs.cjs → PlayerAccountTimeout-DvX-2-Zs.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-B5-KRVvB.js → PlayerAccountTransactionsHistory-AJqfVPyr.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-Bn5gyj5f.cjs → PlayerAccountTransactionsHistory-BoLXUjEw.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-BWsoBgd6.js → PlayerAccountTransactionsHistory-Duu-wHn-.js} +3 -3
- package/components/{PlayerActiveBonuses-C9i5xuOt.js → PlayerActiveBonuses-CL7yH9nn.js} +2 -2
- package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-CypcOO7I.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Cz3aqMcu.js → PlayerActiveBonuses-kkUHfpR3.js} +2 -2
- package/components/{PlayerBonusCard-DatoS2En.js → PlayerBonusCard-Cdoq85xJ.js} +2 -2
- package/components/{PlayerBonusCard-lMeM3LSx.js → PlayerBonusCard-CgVnRcoQ.js} +2 -2
- package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-DE6BCU2O.cjs} +1 -1
- package/components/{PlayerBonusHistory-BUUBhu5n.js → PlayerBonusHistory-BoWnXJza.js} +4 -4
- package/components/{PlayerBonusHistory-D7tVCTah.cjs → PlayerBonusHistory-CKlnyjJA.cjs} +1 -1
- package/components/{PlayerBonusHistory-BVbwQ0Zf.js → PlayerBonusHistory-CvKdrBYn.js} +4 -4
- package/components/{PlayerChangePassword-CGqqlwlb.js → PlayerChangePassword-9JsHHJA5.js} +1 -1
- package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-BYUZU8wW.cjs} +1 -1
- package/components/{PlayerChangePassword-BUYrlClk.js → PlayerChangePassword-QuelFUHA.js} +1 -1
- package/components/{PlayerDeposit-CTxatYEW.js → PlayerDeposit-BMI-t8Yz.js} +1 -1
- package/components/{PlayerDeposit-Dzg8Ltb1.cjs → PlayerDeposit-BhF3WSC-.cjs} +1 -1
- package/components/{PlayerDeposit-DQObc_n_.js → PlayerDeposit-M7P-3V7u.js} +1 -1
- package/components/{PlayerGamingHistory-CGte8rt6.cjs → PlayerGamingHistory-BUyNNOUO.cjs} +1 -1
- package/components/{PlayerGamingHistory-BAeIZw2u.js → PlayerGamingHistory-Cbs4Z67l.js} +4 -4
- package/components/{PlayerGamingHistory-xZ8szCQB.js → PlayerGamingHistory-DjEwf_7_.js} +4 -4
- package/components/{PlayerPendingWithdrawals-Dek0JuV2.js → PlayerPendingWithdrawals-BTxQMknq.js} +1 -1
- package/components/{PlayerPendingWithdrawals-CuGt7dq1.js → PlayerPendingWithdrawals-C-0lkGS9.js} +1 -1
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-DreodXib.cjs} +1 -1
- package/components/{PlayerProfileInfo-BI4jNmXN.js → PlayerProfileInfo-BS-rMXNG.js} +509 -429
- package/components/{PlayerProfileInfo-C4dNo9s-.js → PlayerProfileInfo-Cxbwt_yQ.js} +539 -459
- package/components/PlayerProfileInfo-DoCBLeLO.cjs +4 -0
- package/components/{PlayerRealityCheck-CS9oAjTQ.js → PlayerRealityCheck-BUsjxpn1.js} +1 -1
- package/components/{PlayerRealityCheck-8KkrG0sn.js → PlayerRealityCheck-DgKGN-x1.js} +1 -1
- package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-xMuEFtt1.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Cw0GAF5l.js → PlayerTransactionHistory-B-HCsFuJ.js} +1 -1
- package/components/{PlayerTransactionHistory-D7aVTCre.js → PlayerTransactionHistory-BJ5ico8T.js} +1 -1
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-DmL-_293.cjs} +1 -1
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-B2WqUhR-.cjs} +1 -1
- package/components/{PlayerWithdrawal-BPfYoISW.js → PlayerWithdrawal-BCTRlY2f.js} +1 -1
- package/components/{PlayerWithdrawal-C7mFHGlW.js → PlayerWithdrawal-BgP63Lx7.js} +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-DadoyfRo.cjs → checkbox-group-input_15-DRUhTFo_.cjs} +391 -397
- package/stencil/{checkbox-group-input_15-C6LpSObs.js → checkbox-group-input_15-Di0yQpHU.js} +2147 -2128
- package/stencil/{checkbox-group-input_15-BXx2eI5U.js → checkbox-group-input_15-Qj_31WMH.js} +2147 -2128
- package/stencil/{index-13661b98-6KjWiAei.js → index-13661b98-B8S3l1ae.js} +1 -1
- package/stencil/{index-13661b98-e0g0ZJ4Q.cjs → index-13661b98-BfIn8C3l.cjs} +1 -1
- package/stencil/{index-13661b98-DMsw1Rqj.js → index-13661b98-CnuGTCF7.js} +1 -1
- package/stencil/{index-1ef3a64c-B7_EyQDJ.cjs → index-1ef3a64c-DR7bpfUj.cjs} +1 -1
- package/stencil/{index-1ef3a64c-BMK3b66v.js → index-1ef3a64c-HE2lDlEL.js} +1 -1
- package/stencil/{index-1ef3a64c-Cs1oM3tK.js → index-1ef3a64c-zEGNB-u8.js} +1 -1
- package/stencil/{index-7c5e707a-BM4sfR0h.js → index-7c5e707a-2YIJtUZe.js} +1 -1
- package/stencil/{index-7c5e707a-2AC9SnQ7.js → index-7c5e707a-DGb2dQ60.js} +1 -1
- package/stencil/{index-7c5e707a-Cw-c3Bke.cjs → index-7c5e707a-_iYAV2Cv.cjs} +1 -1
- package/stencil/{pam-change-password-L1xQARTQ.js → pam-change-password-DtxM39I2.js} +1 -1
- package/stencil/{pam-change-password-CIhfcFNO.js → pam-change-password-FFVgwD-8.js} +1 -1
- package/stencil/{pam-change-password-CQIieVFW.cjs → pam-change-password-dL9KfXLS.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-bArCapa-.js → pam-change-password-f4a1e7e7-BkkC3LDV.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-B5NzEtGA.cjs → pam-change-password-f4a1e7e7-D3kiiFR8.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-Br0FC_GU.js → pam-change-password-f4a1e7e7-De_EUl35.js} +1 -1
- package/stencil/{user-deposit-withdrawal-B5PikBDs.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-mAQqyXGF.js → user-deposit-withdrawal-Cr0-V-2c.js} +135 -145
- package/stencil/{user-deposit-withdrawal-BftWiELv.js → user-deposit-withdrawal-DdJYJeX1.js} +161 -171
- package/stencil/user-transaction-history-BhBMJPP0.cjs +1 -0
- package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-CQuIy63_.js} +96 -92
- package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-DBXbHHd_.js} +94 -90
- package/components/PlayerAccountController-SUrzo8aT.cjs +0 -1
- package/components/PlayerProfileInfo-DFw4ourA.cjs +0 -4
- package/stencil/user-transaction-history-DZZT2rYX.cjs +0 -1
|
@@ -12,13 +12,13 @@ function Ar(e, t) {
|
|
|
12
12
|
function $t(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function lt() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function G(e) {
|
|
19
19
|
e.forEach($t);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ue(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
24
|
function Rt(e, t) {
|
|
@@ -85,25 +85,25 @@ function xo(e) {
|
|
|
85
85
|
function So(e) {
|
|
86
86
|
return e ?? "";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
return e &&
|
|
88
|
+
function To(e) {
|
|
89
|
+
return e && ue(e.destroy) ? e.destroy : H;
|
|
90
90
|
}
|
|
91
91
|
const Gt = typeof window < "u";
|
|
92
92
|
let Ir = Gt ? () => window.performance.now() : () => Date.now(), st = Gt ? (e) => requestAnimationFrame(e) : H;
|
|
93
|
-
const
|
|
93
|
+
const W = /* @__PURE__ */ new Set();
|
|
94
94
|
function Ft(e) {
|
|
95
|
-
|
|
96
|
-
t.c(e) || (
|
|
97
|
-
}),
|
|
95
|
+
W.forEach((t) => {
|
|
96
|
+
t.c(e) || (W.delete(t), t.f());
|
|
97
|
+
}), W.size !== 0 && st(Ft);
|
|
98
98
|
}
|
|
99
99
|
function Lr(e) {
|
|
100
100
|
let t;
|
|
101
|
-
return
|
|
101
|
+
return W.size === 0 && st(Ft), {
|
|
102
102
|
promise: new Promise((r) => {
|
|
103
|
-
|
|
103
|
+
W.add(t = { c: e, f: r });
|
|
104
104
|
}),
|
|
105
105
|
abort() {
|
|
106
|
-
|
|
106
|
+
W.delete(t);
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
}
|
|
@@ -113,7 +113,7 @@ function A(e, t) {
|
|
|
113
113
|
function Nr(e, t, r) {
|
|
114
114
|
const n = at(e);
|
|
115
115
|
if (!n.getElementById(t)) {
|
|
116
|
-
const i =
|
|
116
|
+
const i = I("style");
|
|
117
117
|
i.id = t, i.textContent = r, jt(n, i);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -127,8 +127,8 @@ function at(e) {
|
|
|
127
127
|
t
|
|
128
128
|
) : e.ownerDocument;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
const t =
|
|
130
|
+
function Mr(e) {
|
|
131
|
+
const t = I("style");
|
|
132
132
|
return t.textContent = "/* empty */", jt(at(e), t), t.sheet;
|
|
133
133
|
}
|
|
134
134
|
function jt(e, t) {
|
|
@@ -138,30 +138,30 @@ function jt(e, t) {
|
|
|
138
138
|
t
|
|
139
139
|
), t.sheet;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function Y(e, t, r) {
|
|
142
142
|
e.insertBefore(t, r || null);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function D(e) {
|
|
145
145
|
e.parentNode && e.parentNode.removeChild(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function wo(e, t) {
|
|
148
148
|
for (let r = 0; r < e.length; r += 1)
|
|
149
149
|
e[r] && e[r].d(t);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function I(e) {
|
|
152
152
|
return document.createElement(e);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function V(e) {
|
|
155
155
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function he(e) {
|
|
158
158
|
return document.createTextNode(e);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
return
|
|
160
|
+
function Cr() {
|
|
161
|
+
return he(" ");
|
|
162
162
|
}
|
|
163
163
|
function Ho() {
|
|
164
|
-
return
|
|
164
|
+
return he("");
|
|
165
165
|
}
|
|
166
166
|
function kt(e, t, r, n) {
|
|
167
167
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -221,12 +221,82 @@ function No(e) {
|
|
|
221
221
|
const t = e.querySelector(":checked");
|
|
222
222
|
return t && t.__value;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Mo(e, t, r) {
|
|
225
225
|
e.classList.toggle(t, !!r);
|
|
226
226
|
}
|
|
227
227
|
function Ur(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
228
228
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
229
229
|
}
|
|
230
|
+
class Co {
|
|
231
|
+
/**
|
|
232
|
+
* @private
|
|
233
|
+
* @default false
|
|
234
|
+
*/
|
|
235
|
+
is_svg = !1;
|
|
236
|
+
/** parent for creating node */
|
|
237
|
+
e = void 0;
|
|
238
|
+
/** html tag nodes */
|
|
239
|
+
n = void 0;
|
|
240
|
+
/** target */
|
|
241
|
+
t = void 0;
|
|
242
|
+
/** anchor */
|
|
243
|
+
a = void 0;
|
|
244
|
+
constructor(t = !1) {
|
|
245
|
+
this.is_svg = t, this.e = this.n = null;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* @param {string} html
|
|
249
|
+
* @returns {void}
|
|
250
|
+
*/
|
|
251
|
+
c(t) {
|
|
252
|
+
this.h(t);
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* @param {string} html
|
|
256
|
+
* @param {HTMLElement | SVGElement} target
|
|
257
|
+
* @param {HTMLElement | SVGElement} anchor
|
|
258
|
+
* @returns {void}
|
|
259
|
+
*/
|
|
260
|
+
m(t, r, n = null) {
|
|
261
|
+
this.e || (this.is_svg ? this.e = V(
|
|
262
|
+
/** @type {keyof SVGElementTagNameMap} */
|
|
263
|
+
r.nodeName
|
|
264
|
+
) : this.e = I(
|
|
265
|
+
/** @type {keyof HTMLElementTagNameMap} */
|
|
266
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
267
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
268
|
+
/** @type {HTMLTemplateElement} */
|
|
269
|
+
r.content
|
|
270
|
+
), this.c(t)), this.i(n);
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* @param {string} html
|
|
274
|
+
* @returns {void}
|
|
275
|
+
*/
|
|
276
|
+
h(t) {
|
|
277
|
+
this.e.innerHTML = t, this.n = Array.from(
|
|
278
|
+
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
|
279
|
+
);
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* @returns {void} */
|
|
283
|
+
i(t) {
|
|
284
|
+
for (let r = 0; r < this.n.length; r += 1)
|
|
285
|
+
Y(this.t, this.n[r], t);
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* @param {string} html
|
|
289
|
+
* @returns {void}
|
|
290
|
+
*/
|
|
291
|
+
p(t) {
|
|
292
|
+
this.d(), this.h(t), this.i(this.a);
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* @returns {void} */
|
|
296
|
+
d() {
|
|
297
|
+
this.n.forEach(D);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
230
300
|
function Dr(e) {
|
|
231
301
|
const t = {};
|
|
232
302
|
return e.childNodes.forEach(
|
|
@@ -245,21 +315,21 @@ function Gr(e) {
|
|
|
245
315
|
return t >>> 0;
|
|
246
316
|
}
|
|
247
317
|
function Fr(e, t) {
|
|
248
|
-
const r = { stylesheet:
|
|
318
|
+
const r = { stylesheet: Mr(t), rules: {} };
|
|
249
319
|
return Ee.set(e, r), r;
|
|
250
320
|
}
|
|
251
321
|
function ct(e, t, r, n, i, o, a, s = 0) {
|
|
252
|
-
const
|
|
322
|
+
const h = 16.666 / n;
|
|
253
323
|
let u = `{
|
|
254
324
|
`;
|
|
255
|
-
for (let _ = 0; _ <= 1; _ +=
|
|
256
|
-
const
|
|
257
|
-
u += _ * 100 + `%{${a(
|
|
325
|
+
for (let _ = 0; _ <= 1; _ += h) {
|
|
326
|
+
const T = t + (r - t) * o(_);
|
|
327
|
+
u += _ * 100 + `%{${a(T, 1 - T)}}
|
|
258
328
|
`;
|
|
259
329
|
}
|
|
260
|
-
const
|
|
261
|
-
}`, f = `__svelte_${Gr(
|
|
262
|
-
p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${
|
|
330
|
+
const l = u + `100% {${a(r, 1 - r)}}
|
|
331
|
+
}`, f = `__svelte_${Gr(l)}_${s}`, c = at(e), { stylesheet: d, rules: p } = Ee.get(c) || Fr(c, e);
|
|
332
|
+
p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
|
|
263
333
|
const m = e.style.animation || "";
|
|
264
334
|
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, xe += 1, f;
|
|
265
335
|
}
|
|
@@ -274,111 +344,111 @@ function kr() {
|
|
|
274
344
|
st(() => {
|
|
275
345
|
xe || (Ee.forEach((e) => {
|
|
276
346
|
const { ownerNode: t } = e.stylesheet;
|
|
277
|
-
t &&
|
|
347
|
+
t && D(t);
|
|
278
348
|
}), Ee.clear());
|
|
279
349
|
});
|
|
280
350
|
}
|
|
281
|
-
let
|
|
282
|
-
function
|
|
283
|
-
|
|
351
|
+
let oe;
|
|
352
|
+
function ie(e) {
|
|
353
|
+
oe = e;
|
|
284
354
|
}
|
|
285
355
|
function Vr() {
|
|
286
|
-
if (!
|
|
356
|
+
if (!oe)
|
|
287
357
|
throw new Error("Function called outside component initialization");
|
|
288
|
-
return
|
|
358
|
+
return oe;
|
|
289
359
|
}
|
|
290
360
|
function Xr(e) {
|
|
291
361
|
Vr().$$.on_mount.push(e);
|
|
292
362
|
}
|
|
293
|
-
const
|
|
294
|
-
let
|
|
363
|
+
const X = [], ke = [];
|
|
364
|
+
let z = [];
|
|
295
365
|
const ft = [], Xt = /* @__PURE__ */ Promise.resolve();
|
|
296
366
|
let Ve = !1;
|
|
297
367
|
function Wt() {
|
|
298
|
-
Ve || (Ve = !0, Xt.then(
|
|
368
|
+
Ve || (Ve = !0, Xt.then(L));
|
|
299
369
|
}
|
|
300
|
-
function
|
|
370
|
+
function $o() {
|
|
301
371
|
return Wt(), Xt;
|
|
302
372
|
}
|
|
303
373
|
function Se(e) {
|
|
304
|
-
|
|
374
|
+
z.push(e);
|
|
305
375
|
}
|
|
306
|
-
const
|
|
376
|
+
const Me = /* @__PURE__ */ new Set();
|
|
307
377
|
let j = 0;
|
|
308
|
-
function
|
|
378
|
+
function L() {
|
|
309
379
|
if (j !== 0)
|
|
310
380
|
return;
|
|
311
|
-
const e =
|
|
381
|
+
const e = oe;
|
|
312
382
|
do {
|
|
313
383
|
try {
|
|
314
|
-
for (; j <
|
|
315
|
-
const t =
|
|
316
|
-
j++,
|
|
384
|
+
for (; j < X.length; ) {
|
|
385
|
+
const t = X[j];
|
|
386
|
+
j++, ie(t), Wr(t.$$);
|
|
317
387
|
}
|
|
318
388
|
} catch (t) {
|
|
319
|
-
throw
|
|
389
|
+
throw X.length = 0, j = 0, t;
|
|
320
390
|
}
|
|
321
|
-
for (
|
|
391
|
+
for (ie(null), X.length = 0, j = 0; ke.length; )
|
|
322
392
|
ke.pop()();
|
|
323
|
-
for (let t = 0; t <
|
|
324
|
-
const r =
|
|
325
|
-
|
|
393
|
+
for (let t = 0; t < z.length; t += 1) {
|
|
394
|
+
const r = z[t];
|
|
395
|
+
Me.has(r) || (Me.add(r), r());
|
|
326
396
|
}
|
|
327
|
-
|
|
328
|
-
} while (
|
|
397
|
+
z.length = 0;
|
|
398
|
+
} while (X.length);
|
|
329
399
|
for (; ft.length; )
|
|
330
400
|
ft.pop()();
|
|
331
|
-
Ve = !1,
|
|
401
|
+
Ve = !1, Me.clear(), ie(e);
|
|
332
402
|
}
|
|
333
403
|
function Wr(e) {
|
|
334
404
|
if (e.fragment !== null) {
|
|
335
|
-
e.update(),
|
|
405
|
+
e.update(), G(e.before_update);
|
|
336
406
|
const t = e.dirty;
|
|
337
407
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
338
408
|
}
|
|
339
409
|
}
|
|
340
410
|
function zr(e) {
|
|
341
411
|
const t = [], r = [];
|
|
342
|
-
|
|
412
|
+
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
343
413
|
}
|
|
344
|
-
let
|
|
414
|
+
let re;
|
|
345
415
|
function Zr() {
|
|
346
|
-
return
|
|
347
|
-
|
|
348
|
-
})),
|
|
416
|
+
return re || (re = Promise.resolve(), re.then(() => {
|
|
417
|
+
re = null;
|
|
418
|
+
})), re;
|
|
349
419
|
}
|
|
350
|
-
function
|
|
420
|
+
function Ce(e, t, r) {
|
|
351
421
|
e.dispatchEvent(Ur(`${t ? "intro" : "outro"}${r}`));
|
|
352
422
|
}
|
|
353
423
|
const be = /* @__PURE__ */ new Set();
|
|
354
|
-
let
|
|
355
|
-
function
|
|
356
|
-
|
|
424
|
+
let M;
|
|
425
|
+
function Ro() {
|
|
426
|
+
M = {
|
|
357
427
|
r: 0,
|
|
358
428
|
c: [],
|
|
359
|
-
p:
|
|
429
|
+
p: M
|
|
360
430
|
// parent group
|
|
361
431
|
};
|
|
362
432
|
}
|
|
363
|
-
function
|
|
364
|
-
|
|
433
|
+
function Uo() {
|
|
434
|
+
M.r || G(M.c), M = M.p;
|
|
365
435
|
}
|
|
366
436
|
function qr(e, t) {
|
|
367
437
|
e && e.i && (be.delete(e), e.i(t));
|
|
368
438
|
}
|
|
369
|
-
function
|
|
439
|
+
function Do(e, t, r, n) {
|
|
370
440
|
if (e && e.o) {
|
|
371
441
|
if (be.has(e))
|
|
372
442
|
return;
|
|
373
|
-
be.add(e),
|
|
443
|
+
be.add(e), M.c.push(() => {
|
|
374
444
|
be.delete(e), n && (r && e.d(1), n());
|
|
375
445
|
}), e.o(t);
|
|
376
446
|
} else
|
|
377
447
|
n && n();
|
|
378
448
|
}
|
|
379
449
|
const Qr = { duration: 0 };
|
|
380
|
-
function
|
|
381
|
-
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null,
|
|
450
|
+
function Go(e, t, r, n) {
|
|
451
|
+
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, h = null, u = null, l;
|
|
382
452
|
function f() {
|
|
383
453
|
u && jr(e, u);
|
|
384
454
|
}
|
|
@@ -401,65 +471,65 @@ function Do(e, t, r, n) {
|
|
|
401
471
|
const {
|
|
402
472
|
delay: m = 0,
|
|
403
473
|
duration: _ = 300,
|
|
404
|
-
easing:
|
|
474
|
+
easing: T = Br,
|
|
405
475
|
tick: P = H,
|
|
406
476
|
css: x
|
|
407
477
|
} = o || Qr, O = {
|
|
408
478
|
start: Ir() + m,
|
|
409
479
|
b: p
|
|
410
480
|
};
|
|
411
|
-
p || (O.group =
|
|
412
|
-
e.inert, e.inert = !0)), s ||
|
|
413
|
-
if (
|
|
481
|
+
p || (O.group = M, M.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 : (x && (f(), u = ct(e, a, p, _, m, T, x)), p && P(0, 1), s = c(O, _), Se(() => Ce(e, p, "start")), Lr((w) => {
|
|
483
|
+
if (h && w > h.start && (s = c(h, _), h = null, Ce(e, s.b, "start"), x && (f(), u = ct(
|
|
414
484
|
e,
|
|
415
485
|
a,
|
|
416
486
|
s.b,
|
|
417
487
|
s.duration,
|
|
418
488
|
0,
|
|
419
|
-
|
|
489
|
+
T,
|
|
420
490
|
o.css
|
|
421
491
|
))), s) {
|
|
422
|
-
if (
|
|
423
|
-
P(a = s.b, 1 - a),
|
|
424
|
-
else if (
|
|
425
|
-
const $ =
|
|
426
|
-
a = s.a + s.d *
|
|
492
|
+
if (w >= s.end)
|
|
493
|
+
P(a = s.b, 1 - a), Ce(e, s.b, "end"), h || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
|
|
494
|
+
else if (w >= s.start) {
|
|
495
|
+
const $ = w - s.start;
|
|
496
|
+
a = s.a + s.d * T($ / s.duration), P(a, 1 - a);
|
|
427
497
|
}
|
|
428
498
|
}
|
|
429
|
-
return !!(s ||
|
|
499
|
+
return !!(s || h);
|
|
430
500
|
}));
|
|
431
501
|
}
|
|
432
502
|
return {
|
|
433
503
|
run(p) {
|
|
434
|
-
|
|
504
|
+
ue(o) ? Zr().then(() => {
|
|
435
505
|
o = o({ direction: p ? "in" : "out" }), d(p);
|
|
436
506
|
}) : d(p);
|
|
437
507
|
},
|
|
438
508
|
end() {
|
|
439
|
-
f(), s =
|
|
509
|
+
f(), s = h = null;
|
|
440
510
|
}
|
|
441
511
|
};
|
|
442
512
|
}
|
|
443
|
-
function
|
|
513
|
+
function Fo(e) {
|
|
444
514
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
445
515
|
}
|
|
446
516
|
function Jr(e, t, r) {
|
|
447
517
|
const { fragment: n, after_update: i } = e.$$;
|
|
448
518
|
n && n.m(t, r), Se(() => {
|
|
449
|
-
const o = e.$$.on_mount.map($t).filter(
|
|
450
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
519
|
+
const o = e.$$.on_mount.map($t).filter(ue);
|
|
520
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
|
|
451
521
|
}), i.forEach(Se);
|
|
452
522
|
}
|
|
453
523
|
function Yr(e, t) {
|
|
454
524
|
const r = e.$$;
|
|
455
|
-
r.fragment !== null && (zr(r.after_update),
|
|
525
|
+
r.fragment !== null && (zr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
456
526
|
}
|
|
457
527
|
function Kr(e, t) {
|
|
458
|
-
e.$$.dirty[0] === -1 && (
|
|
528
|
+
e.$$.dirty[0] === -1 && (X.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
459
529
|
}
|
|
460
530
|
function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
461
|
-
const
|
|
462
|
-
|
|
531
|
+
const h = oe;
|
|
532
|
+
ie(e);
|
|
463
533
|
const u = e.$$ = {
|
|
464
534
|
fragment: null,
|
|
465
535
|
ctx: [],
|
|
@@ -467,34 +537,34 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
467
537
|
props: o,
|
|
468
538
|
update: H,
|
|
469
539
|
not_equal: i,
|
|
470
|
-
bound:
|
|
540
|
+
bound: lt(),
|
|
471
541
|
// lifecycle
|
|
472
542
|
on_mount: [],
|
|
473
543
|
on_destroy: [],
|
|
474
544
|
on_disconnect: [],
|
|
475
545
|
before_update: [],
|
|
476
546
|
after_update: [],
|
|
477
|
-
context: new Map(t.context || (
|
|
547
|
+
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
478
548
|
// everything else
|
|
479
|
-
callbacks:
|
|
549
|
+
callbacks: lt(),
|
|
480
550
|
dirty: s,
|
|
481
551
|
skip_bound: !1,
|
|
482
|
-
root: t.target ||
|
|
552
|
+
root: t.target || h.$$.root
|
|
483
553
|
};
|
|
484
554
|
a && a(u.root);
|
|
485
|
-
let
|
|
555
|
+
let l = !1;
|
|
486
556
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
487
557
|
const p = d.length ? d[0] : c;
|
|
488
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p),
|
|
489
|
-
}) : [], u.update(),
|
|
558
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Kr(e, f)), c;
|
|
559
|
+
}) : [], u.update(), l = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
490
560
|
if (t.hydrate) {
|
|
491
561
|
const f = $r(t.target);
|
|
492
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
562
|
+
u.fragment && u.fragment.l(f), f.forEach(D);
|
|
493
563
|
} else
|
|
494
564
|
u.fragment && u.fragment.c();
|
|
495
|
-
t.intro && qr(e.$$.fragment), Jr(e, t.target, t.anchor),
|
|
565
|
+
t.intro && qr(e.$$.fragment), Jr(e, t.target, t.anchor), L();
|
|
496
566
|
}
|
|
497
|
-
|
|
567
|
+
ie(h);
|
|
498
568
|
}
|
|
499
569
|
let zt;
|
|
500
570
|
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
@@ -539,17 +609,17 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
539
609
|
let o;
|
|
540
610
|
return {
|
|
541
611
|
c: function() {
|
|
542
|
-
o =
|
|
612
|
+
o = I("slot"), i !== "default" && B(o, "name", i);
|
|
543
613
|
},
|
|
544
614
|
/**
|
|
545
615
|
* @param {HTMLElement} target
|
|
546
616
|
* @param {HTMLElement} [anchor]
|
|
547
617
|
*/
|
|
548
|
-
m: function(
|
|
549
|
-
|
|
618
|
+
m: function(h, u) {
|
|
619
|
+
Y(h, o, u);
|
|
550
620
|
},
|
|
551
|
-
d: function(
|
|
552
|
-
|
|
621
|
+
d: function(h) {
|
|
622
|
+
h && D(o);
|
|
553
623
|
}
|
|
554
624
|
};
|
|
555
625
|
};
|
|
@@ -659,8 +729,8 @@ function tn(e, t, r, n, i, o) {
|
|
|
659
729
|
get() {
|
|
660
730
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
661
731
|
},
|
|
662
|
-
set(
|
|
663
|
-
|
|
732
|
+
set(h) {
|
|
733
|
+
h = ye(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
664
734
|
}
|
|
665
735
|
});
|
|
666
736
|
}), n.forEach((s) => {
|
|
@@ -700,7 +770,7 @@ class rn {
|
|
|
700
770
|
* @returns {() => void}
|
|
701
771
|
*/
|
|
702
772
|
$on(t, r) {
|
|
703
|
-
if (!
|
|
773
|
+
if (!ue(r))
|
|
704
774
|
return H;
|
|
705
775
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
706
776
|
return n.push(r), () => {
|
|
@@ -740,7 +810,7 @@ var Xe = function(e, t) {
|
|
|
740
810
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
741
811
|
}, Xe(e, t);
|
|
742
812
|
};
|
|
743
|
-
function
|
|
813
|
+
function le(e, t) {
|
|
744
814
|
if (typeof t != "function" && t !== null)
|
|
745
815
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
746
816
|
Xe(e, t);
|
|
@@ -787,7 +857,7 @@ function Ze(e, t, r) {
|
|
|
787
857
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
788
858
|
return e.concat(o || t);
|
|
789
859
|
}
|
|
790
|
-
function
|
|
860
|
+
function C(e) {
|
|
791
861
|
return typeof e == "function";
|
|
792
862
|
}
|
|
793
863
|
function Zt(e) {
|
|
@@ -823,15 +893,15 @@ var Be = function() {
|
|
|
823
893
|
if (a)
|
|
824
894
|
if (this._parentage = null, Array.isArray(a))
|
|
825
895
|
try {
|
|
826
|
-
for (var s = We(a),
|
|
827
|
-
var u =
|
|
896
|
+
for (var s = We(a), h = s.next(); !h.done; h = s.next()) {
|
|
897
|
+
var u = h.value;
|
|
828
898
|
u.remove(this);
|
|
829
899
|
}
|
|
830
900
|
} catch (m) {
|
|
831
901
|
t = { error: m };
|
|
832
902
|
} finally {
|
|
833
903
|
try {
|
|
834
|
-
|
|
904
|
+
h && !h.done && (r = s.return) && r.call(s);
|
|
835
905
|
} finally {
|
|
836
906
|
if (t)
|
|
837
907
|
throw t.error;
|
|
@@ -839,10 +909,10 @@ var Be = function() {
|
|
|
839
909
|
}
|
|
840
910
|
else
|
|
841
911
|
a.remove(this);
|
|
842
|
-
var
|
|
843
|
-
if (
|
|
912
|
+
var l = this.initialTeardown;
|
|
913
|
+
if (C(l))
|
|
844
914
|
try {
|
|
845
|
-
|
|
915
|
+
l();
|
|
846
916
|
} catch (m) {
|
|
847
917
|
o = m instanceof $e ? m.errors : [m];
|
|
848
918
|
}
|
|
@@ -903,10 +973,10 @@ var Be = function() {
|
|
|
903
973
|
}(), e;
|
|
904
974
|
}(), qt = Be.EMPTY;
|
|
905
975
|
function Qt(e) {
|
|
906
|
-
return e instanceof Be || e && "closed" in e &&
|
|
976
|
+
return e instanceof Be || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
|
|
907
977
|
}
|
|
908
978
|
function pt(e) {
|
|
909
|
-
|
|
979
|
+
C(e) ? e() : e.unsubscribe();
|
|
910
980
|
}
|
|
911
981
|
var on = {
|
|
912
982
|
Promise: void 0
|
|
@@ -932,10 +1002,10 @@ function ge(e) {
|
|
|
932
1002
|
e();
|
|
933
1003
|
}
|
|
934
1004
|
var Jt = function(e) {
|
|
935
|
-
|
|
1005
|
+
le(t, e);
|
|
936
1006
|
function t(r) {
|
|
937
1007
|
var n = e.call(this) || this;
|
|
938
|
-
return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination =
|
|
1008
|
+
return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = ln, n;
|
|
939
1009
|
}
|
|
940
1010
|
return t.create = function(r, n, i) {
|
|
941
1011
|
return new Qe(r, n, i);
|
|
@@ -994,10 +1064,10 @@ var Jt = function(e) {
|
|
|
994
1064
|
}
|
|
995
1065
|
}, e;
|
|
996
1066
|
}(), Qe = function(e) {
|
|
997
|
-
|
|
1067
|
+
le(t, e);
|
|
998
1068
|
function t(r, n, i) {
|
|
999
1069
|
var o = e.call(this) || this, a;
|
|
1000
|
-
return
|
|
1070
|
+
return C(r) || !r ? a = {
|
|
1001
1071
|
next: r ?? void 0,
|
|
1002
1072
|
error: n ?? void 0,
|
|
1003
1073
|
complete: i ?? void 0
|
|
@@ -1008,13 +1078,13 @@ var Jt = function(e) {
|
|
|
1008
1078
|
function de(e) {
|
|
1009
1079
|
an(e);
|
|
1010
1080
|
}
|
|
1011
|
-
function
|
|
1081
|
+
function hn(e) {
|
|
1012
1082
|
throw e;
|
|
1013
1083
|
}
|
|
1014
|
-
var
|
|
1084
|
+
var ln = {
|
|
1015
1085
|
closed: !0,
|
|
1016
1086
|
next: dt,
|
|
1017
|
-
error:
|
|
1087
|
+
error: hn,
|
|
1018
1088
|
complete: dt
|
|
1019
1089
|
}, cn = function() {
|
|
1020
1090
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
@@ -1039,8 +1109,8 @@ var mt = function() {
|
|
|
1039
1109
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1040
1110
|
var i = this, o = mn(t) ? t : new Qe(t, r, n);
|
|
1041
1111
|
return ge(function() {
|
|
1042
|
-
var a = i, s = a.operator,
|
|
1043
|
-
o.add(s ? s.call(o,
|
|
1112
|
+
var a = i, s = a.operator, h = a.source;
|
|
1113
|
+
o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
1044
1114
|
}), o;
|
|
1045
1115
|
}, e.prototype._trySubscribe = function(t) {
|
|
1046
1116
|
try {
|
|
@@ -1055,8 +1125,8 @@ var mt = function() {
|
|
|
1055
1125
|
next: function(s) {
|
|
1056
1126
|
try {
|
|
1057
1127
|
t(s);
|
|
1058
|
-
} catch (
|
|
1059
|
-
o(
|
|
1128
|
+
} catch (h) {
|
|
1129
|
+
o(h), a.unsubscribe();
|
|
1060
1130
|
}
|
|
1061
1131
|
},
|
|
1062
1132
|
error: o,
|
|
@@ -1094,7 +1164,7 @@ function bt(e) {
|
|
|
1094
1164
|
return (t = e ?? on.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1095
1165
|
}
|
|
1096
1166
|
function dn(e) {
|
|
1097
|
-
return e &&
|
|
1167
|
+
return e && C(e.next) && C(e.error) && C(e.complete);
|
|
1098
1168
|
}
|
|
1099
1169
|
function mn(e) {
|
|
1100
1170
|
return e && e instanceof Jt || dn(e) && Qt(e);
|
|
@@ -1104,7 +1174,7 @@ var bn = Zt(function(e) {
|
|
|
1104
1174
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1105
1175
|
};
|
|
1106
1176
|
}), Yt = function(e) {
|
|
1107
|
-
|
|
1177
|
+
le(t, e);
|
|
1108
1178
|
function t() {
|
|
1109
1179
|
var r = e.call(this) || this;
|
|
1110
1180
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -1123,8 +1193,8 @@ var bn = Zt(function(e) {
|
|
|
1123
1193
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1124
1194
|
try {
|
|
1125
1195
|
for (var a = We(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1126
|
-
var
|
|
1127
|
-
|
|
1196
|
+
var h = s.value;
|
|
1197
|
+
h.next(r);
|
|
1128
1198
|
}
|
|
1129
1199
|
} catch (u) {
|
|
1130
1200
|
i = { error: u };
|
|
@@ -1184,7 +1254,7 @@ var bn = Zt(function(e) {
|
|
|
1184
1254
|
return new yt(r, n);
|
|
1185
1255
|
}, t;
|
|
1186
1256
|
}(mt), yt = function(e) {
|
|
1187
|
-
|
|
1257
|
+
le(t, e);
|
|
1188
1258
|
function t(r, n) {
|
|
1189
1259
|
var i = e.call(this) || this;
|
|
1190
1260
|
return i.destination = r, i.source = n, i;
|
|
@@ -1208,25 +1278,25 @@ var bn = Zt(function(e) {
|
|
|
1208
1278
|
},
|
|
1209
1279
|
delegate: void 0
|
|
1210
1280
|
}, yn = function(e) {
|
|
1211
|
-
|
|
1281
|
+
le(t, e);
|
|
1212
1282
|
function t(r, n, i) {
|
|
1213
1283
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
|
|
1214
1284
|
var o = e.call(this) || this;
|
|
1215
1285
|
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;
|
|
1216
1286
|
}
|
|
1217
1287
|
return t.prototype.next = function(r) {
|
|
1218
|
-
var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider,
|
|
1219
|
-
i || (o.push(r), !a && o.push(s.now() +
|
|
1288
|
+
var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
|
|
1289
|
+
i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1220
1290
|
}, t.prototype._subscribe = function(r) {
|
|
1221
1291
|
this._throwIfClosed(), this._trimBuffer();
|
|
1222
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(),
|
|
1223
|
-
r.next(s[
|
|
1292
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
|
|
1293
|
+
r.next(s[h]);
|
|
1224
1294
|
return this._checkFinalizedStatuses(r), n;
|
|
1225
1295
|
}, t.prototype._trimBuffer = function() {
|
|
1226
1296
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
|
|
1227
1297
|
if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1228
|
-
for (var
|
|
1229
|
-
u =
|
|
1298
|
+
for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
|
|
1299
|
+
u = l;
|
|
1230
1300
|
u && o.splice(0, u + 1);
|
|
1231
1301
|
}
|
|
1232
1302
|
}, t;
|
|
@@ -1248,10 +1318,10 @@ function Ae(e, t = H) {
|
|
|
1248
1318
|
const n = /* @__PURE__ */ new Set();
|
|
1249
1319
|
function i(s) {
|
|
1250
1320
|
if (Rt(e, s) && (e = s, r)) {
|
|
1251
|
-
const
|
|
1321
|
+
const h = !k.length;
|
|
1252
1322
|
for (const u of n)
|
|
1253
1323
|
u[1](), k.push(u, e);
|
|
1254
|
-
if (
|
|
1324
|
+
if (h) {
|
|
1255
1325
|
for (let u = 0; u < k.length; u += 2)
|
|
1256
1326
|
k[u][0](k[u + 1]);
|
|
1257
1327
|
k.length = 0;
|
|
@@ -1261,46 +1331,46 @@ function Ae(e, t = H) {
|
|
|
1261
1331
|
function o(s) {
|
|
1262
1332
|
i(s(e));
|
|
1263
1333
|
}
|
|
1264
|
-
function a(s,
|
|
1265
|
-
const u = [s,
|
|
1334
|
+
function a(s, h = H) {
|
|
1335
|
+
const u = [s, h];
|
|
1266
1336
|
return n.add(u), n.size === 1 && (r = t(i, o) || H), s(e), () => {
|
|
1267
1337
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1268
1338
|
};
|
|
1269
1339
|
}
|
|
1270
1340
|
return { set: i, update: o, subscribe: a };
|
|
1271
1341
|
}
|
|
1272
|
-
function
|
|
1342
|
+
function K(e, t, r) {
|
|
1273
1343
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1274
1344
|
if (!i.every(Boolean))
|
|
1275
1345
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1276
1346
|
const o = t.length < 2;
|
|
1277
1347
|
return vn(r, (a, s) => {
|
|
1278
|
-
let
|
|
1348
|
+
let h = !1;
|
|
1279
1349
|
const u = [];
|
|
1280
|
-
let
|
|
1350
|
+
let l = 0, f = H;
|
|
1281
1351
|
const c = () => {
|
|
1282
|
-
if (
|
|
1352
|
+
if (l)
|
|
1283
1353
|
return;
|
|
1284
1354
|
f();
|
|
1285
1355
|
const p = t(n ? u[0] : u, a, s);
|
|
1286
|
-
o ? a(p) : f =
|
|
1356
|
+
o ? a(p) : f = ue(p) ? p : H;
|
|
1287
1357
|
}, d = i.map(
|
|
1288
1358
|
(p, m) => Ut(
|
|
1289
1359
|
p,
|
|
1290
1360
|
(_) => {
|
|
1291
|
-
u[m] = _,
|
|
1361
|
+
u[m] = _, l &= ~(1 << m), h && c();
|
|
1292
1362
|
},
|
|
1293
1363
|
() => {
|
|
1294
|
-
|
|
1364
|
+
l |= 1 << m;
|
|
1295
1365
|
}
|
|
1296
1366
|
)
|
|
1297
1367
|
);
|
|
1298
|
-
return
|
|
1299
|
-
|
|
1368
|
+
return h = !0, c(), function() {
|
|
1369
|
+
G(d), f(), h = !1;
|
|
1300
1370
|
};
|
|
1301
1371
|
});
|
|
1302
1372
|
}
|
|
1303
|
-
var
|
|
1373
|
+
var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1304
1374
|
function _n(e) {
|
|
1305
1375
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1306
1376
|
}
|
|
@@ -1314,26 +1384,26 @@ function Sn(e) {
|
|
|
1314
1384
|
var t = Object.prototype.toString.call(e);
|
|
1315
1385
|
return t === "[object RegExp]" || t === "[object Date]" || Hn(e);
|
|
1316
1386
|
}
|
|
1317
|
-
var
|
|
1387
|
+
var Tn = typeof Symbol == "function" && Symbol.for, wn = Tn ? Symbol.for("react.element") : 60103;
|
|
1318
1388
|
function Hn(e) {
|
|
1319
|
-
return e.$$typeof ===
|
|
1389
|
+
return e.$$typeof === wn;
|
|
1320
1390
|
}
|
|
1321
1391
|
function Bn(e) {
|
|
1322
1392
|
return Array.isArray(e) ? [] : {};
|
|
1323
1393
|
}
|
|
1324
|
-
function
|
|
1325
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1394
|
+
function se(e, t) {
|
|
1395
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Bn(e), e, t) : e;
|
|
1326
1396
|
}
|
|
1327
1397
|
function An(e, t, r) {
|
|
1328
1398
|
return e.concat(t).map(function(n) {
|
|
1329
|
-
return
|
|
1399
|
+
return se(n, r);
|
|
1330
1400
|
});
|
|
1331
1401
|
}
|
|
1332
1402
|
function Pn(e, t) {
|
|
1333
1403
|
if (!t.customMerge)
|
|
1334
|
-
return
|
|
1404
|
+
return Z;
|
|
1335
1405
|
var r = t.customMerge(e);
|
|
1336
|
-
return typeof r == "function" ? r :
|
|
1406
|
+
return typeof r == "function" ? r : Z;
|
|
1337
1407
|
}
|
|
1338
1408
|
function On(e) {
|
|
1339
1409
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -1356,25 +1426,25 @@ function In(e, t) {
|
|
|
1356
1426
|
function Ln(e, t, r) {
|
|
1357
1427
|
var n = {};
|
|
1358
1428
|
return r.isMergeableObject(e) && _t(e).forEach(function(i) {
|
|
1359
|
-
n[i] =
|
|
1429
|
+
n[i] = se(e[i], r);
|
|
1360
1430
|
}), _t(t).forEach(function(i) {
|
|
1361
|
-
In(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] =
|
|
1431
|
+
In(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
1362
1432
|
}), n;
|
|
1363
1433
|
}
|
|
1364
|
-
function
|
|
1365
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified =
|
|
1434
|
+
function Z(e, t, r) {
|
|
1435
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = se;
|
|
1366
1436
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1367
|
-
return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) :
|
|
1437
|
+
return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : se(t, r);
|
|
1368
1438
|
}
|
|
1369
|
-
|
|
1439
|
+
Z.all = function(t, r) {
|
|
1370
1440
|
if (!Array.isArray(t))
|
|
1371
1441
|
throw new Error("first argument should be an array");
|
|
1372
1442
|
return t.reduce(function(n, i) {
|
|
1373
|
-
return
|
|
1443
|
+
return Z(n, i, r);
|
|
1374
1444
|
}, {});
|
|
1375
1445
|
};
|
|
1376
|
-
var Nn =
|
|
1377
|
-
const
|
|
1446
|
+
var Nn = Z, Mn = Nn;
|
|
1447
|
+
const Cn = /* @__PURE__ */ _n(Mn);
|
|
1378
1448
|
var Je = function(e, t) {
|
|
1379
1449
|
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1380
1450
|
r.__proto__ = n;
|
|
@@ -1392,15 +1462,15 @@ function Pe(e, t) {
|
|
|
1392
1462
|
}
|
|
1393
1463
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1394
1464
|
}
|
|
1395
|
-
var
|
|
1396
|
-
return
|
|
1465
|
+
var N = function() {
|
|
1466
|
+
return N = Object.assign || function(t) {
|
|
1397
1467
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1398
1468
|
r = arguments[n];
|
|
1399
1469
|
for (var o in r)
|
|
1400
1470
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1401
1471
|
}
|
|
1402
1472
|
return t;
|
|
1403
|
-
},
|
|
1473
|
+
}, N.apply(this, arguments);
|
|
1404
1474
|
};
|
|
1405
1475
|
function $n(e, t) {
|
|
1406
1476
|
var r = {};
|
|
@@ -1465,15 +1535,15 @@ var Fn = function() {
|
|
|
1465
1535
|
}
|
|
1466
1536
|
}, De = {
|
|
1467
1537
|
variadic: Gn
|
|
1468
|
-
},
|
|
1469
|
-
return
|
|
1538
|
+
}, Te = function() {
|
|
1539
|
+
return Te = Object.assign || function(t) {
|
|
1470
1540
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1471
1541
|
r = arguments[n];
|
|
1472
1542
|
for (var o in r)
|
|
1473
1543
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1474
1544
|
}
|
|
1475
1545
|
return t;
|
|
1476
|
-
},
|
|
1546
|
+
}, Te.apply(this, arguments);
|
|
1477
1547
|
};
|
|
1478
1548
|
var b;
|
|
1479
1549
|
(function(e) {
|
|
@@ -1483,10 +1553,10 @@ var v;
|
|
|
1483
1553
|
(function(e) {
|
|
1484
1554
|
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";
|
|
1485
1555
|
})(v || (v = {}));
|
|
1486
|
-
var
|
|
1556
|
+
var q;
|
|
1487
1557
|
(function(e) {
|
|
1488
1558
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1489
|
-
})(
|
|
1559
|
+
})(q || (q = {}));
|
|
1490
1560
|
function Et(e) {
|
|
1491
1561
|
return e.type === v.literal;
|
|
1492
1562
|
}
|
|
@@ -1514,13 +1584,13 @@ function Xn(e) {
|
|
|
1514
1584
|
function ur(e) {
|
|
1515
1585
|
return e.type === v.tag;
|
|
1516
1586
|
}
|
|
1517
|
-
function
|
|
1518
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1587
|
+
function hr(e) {
|
|
1588
|
+
return !!(e && typeof e == "object" && e.type === q.number);
|
|
1519
1589
|
}
|
|
1520
1590
|
function Ye(e) {
|
|
1521
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1591
|
+
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
|
1522
1592
|
}
|
|
1523
|
-
var
|
|
1593
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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;
|
|
1524
1594
|
function zn(e) {
|
|
1525
1595
|
var t = {};
|
|
1526
1596
|
return e.replace(Wn, function(r) {
|
|
@@ -1632,12 +1702,12 @@ function qn(e) {
|
|
|
1632
1702
|
var o = i[n], a = o.split("/");
|
|
1633
1703
|
if (a.length === 0)
|
|
1634
1704
|
throw new Error("Invalid number skeleton");
|
|
1635
|
-
for (var s = a[0],
|
|
1636
|
-
var f =
|
|
1705
|
+
for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1706
|
+
var f = l[u];
|
|
1637
1707
|
if (f.length === 0)
|
|
1638
1708
|
throw new Error("Invalid number skeleton");
|
|
1639
1709
|
}
|
|
1640
|
-
r.push({ stem: s, options:
|
|
1710
|
+
r.push({ stem: s, options: h });
|
|
1641
1711
|
}
|
|
1642
1712
|
return r;
|
|
1643
1713
|
}
|
|
@@ -1705,7 +1775,7 @@ function Yn(e) {
|
|
|
1705
1775
|
}
|
|
1706
1776
|
return t;
|
|
1707
1777
|
}
|
|
1708
|
-
function
|
|
1778
|
+
function Tt(e) {
|
|
1709
1779
|
var t = {}, r = pr(e);
|
|
1710
1780
|
return r || t;
|
|
1711
1781
|
}
|
|
@@ -1744,13 +1814,13 @@ function Kn(e) {
|
|
|
1744
1814
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1745
1815
|
continue;
|
|
1746
1816
|
case "scientific":
|
|
1747
|
-
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(
|
|
1748
|
-
return E(E({},
|
|
1817
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1818
|
+
return E(E({}, h), Tt(u));
|
|
1749
1819
|
}, {}));
|
|
1750
1820
|
continue;
|
|
1751
1821
|
case "engineering":
|
|
1752
|
-
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(
|
|
1753
|
-
return E(E({},
|
|
1822
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1823
|
+
return E(E({}, h), Tt(u));
|
|
1754
1824
|
}, {}));
|
|
1755
1825
|
continue;
|
|
1756
1826
|
case "notation-simple":
|
|
@@ -1795,9 +1865,9 @@ function Kn(e) {
|
|
|
1795
1865
|
case "integer-width":
|
|
1796
1866
|
if (i.options.length > 1)
|
|
1797
1867
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1798
|
-
i.options[0].replace(Jn, function(
|
|
1868
|
+
i.options[0].replace(Jn, function(h, u, l, f, c, d) {
|
|
1799
1869
|
if (u)
|
|
1800
|
-
t.minimumIntegerDigits =
|
|
1870
|
+
t.minimumIntegerDigits = l.length;
|
|
1801
1871
|
else {
|
|
1802
1872
|
if (f && c)
|
|
1803
1873
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1815,8 +1885,8 @@ function Kn(e) {
|
|
|
1815
1885
|
if (xt.test(i.stem)) {
|
|
1816
1886
|
if (i.options.length > 1)
|
|
1817
1887
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1818
|
-
i.stem.replace(xt, function(
|
|
1819
|
-
return
|
|
1888
|
+
i.stem.replace(xt, function(h, u, l, f, c, d) {
|
|
1889
|
+
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), "";
|
|
1820
1890
|
});
|
|
1821
1891
|
var o = i.options[0];
|
|
1822
1892
|
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), St(o)));
|
|
@@ -3254,9 +3324,9 @@ function ei(e, t) {
|
|
|
3254
3324
|
if (i === "j") {
|
|
3255
3325
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3256
3326
|
o++, n++;
|
|
3257
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1),
|
|
3327
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = ti(t);
|
|
3258
3328
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3259
|
-
r +=
|
|
3329
|
+
r += h;
|
|
3260
3330
|
for (; a-- > 0; )
|
|
3261
3331
|
r = u + r;
|
|
3262
3332
|
} else
|
|
@@ -3286,11 +3356,11 @@ function ti(e) {
|
|
|
3286
3356
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
|
3287
3357
|
return i[0];
|
|
3288
3358
|
}
|
|
3289
|
-
var Ge, ri = new RegExp("^".concat(
|
|
3359
|
+
var Ge, ri = new RegExp("^".concat(lr.source, "*")), ni = new RegExp("".concat(lr.source, "*$"));
|
|
3290
3360
|
function y(e, t) {
|
|
3291
3361
|
return { start: e, end: t };
|
|
3292
3362
|
}
|
|
3293
|
-
var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart,
|
|
3363
|
+
var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, ci = li ? Number.isSafeInteger : function(e) {
|
|
3294
3364
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3295
3365
|
}, Ke = !0;
|
|
3296
3366
|
try {
|
|
@@ -3299,7 +3369,7 @@ try {
|
|
|
3299
3369
|
} catch {
|
|
3300
3370
|
Ke = !1;
|
|
3301
3371
|
}
|
|
3302
|
-
var
|
|
3372
|
+
var wt = ii ? (
|
|
3303
3373
|
// Native
|
|
3304
3374
|
function(t, r, n) {
|
|
3305
3375
|
return t.startsWith(r, n);
|
|
@@ -3357,7 +3427,7 @@ var Tt = ii ? (
|
|
|
3357
3427
|
function(t) {
|
|
3358
3428
|
return t.replace(ri, "");
|
|
3359
3429
|
}
|
|
3360
|
-
), di =
|
|
3430
|
+
), di = hi ? (
|
|
3361
3431
|
// Native
|
|
3362
3432
|
function(t) {
|
|
3363
3433
|
return t.trimEnd();
|
|
@@ -3456,8 +3526,8 @@ var mi = (
|
|
|
3456
3526
|
if (this.bumpIf("</")) {
|
|
3457
3527
|
if (this.isEOF() || !rt(this.char()))
|
|
3458
3528
|
return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
|
|
3459
|
-
var
|
|
3460
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(
|
|
3529
|
+
var h = this.clonePosition(), u = this.parseTagName();
|
|
3530
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3461
3531
|
val: {
|
|
3462
3532
|
type: v.tag,
|
|
3463
3533
|
value: i,
|
|
@@ -3494,9 +3564,9 @@ var mi = (
|
|
|
3494
3564
|
}
|
|
3495
3565
|
break;
|
|
3496
3566
|
}
|
|
3497
|
-
var
|
|
3567
|
+
var h = y(n, this.clonePosition());
|
|
3498
3568
|
return {
|
|
3499
|
-
val: { type: v.literal, value: i, location:
|
|
3569
|
+
val: { type: v.literal, value: i, location: h },
|
|
3500
3570
|
err: null
|
|
3501
3571
|
};
|
|
3502
3572
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -3574,10 +3644,10 @@ var mi = (
|
|
|
3574
3644
|
var o = this.clonePosition(), a = y(t, o);
|
|
3575
3645
|
return { value: n, location: a };
|
|
3576
3646
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3577
|
-
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value,
|
|
3647
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3578
3648
|
switch (s) {
|
|
3579
3649
|
case "":
|
|
3580
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE, y(a,
|
|
3650
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, h));
|
|
3581
3651
|
case "number":
|
|
3582
3652
|
case "date":
|
|
3583
3653
|
case "time": {
|
|
@@ -3585,20 +3655,20 @@ var mi = (
|
|
|
3585
3655
|
var u = null;
|
|
3586
3656
|
if (this.bumpIf(",")) {
|
|
3587
3657
|
this.bumpSpace();
|
|
3588
|
-
var
|
|
3658
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3589
3659
|
if (f.err)
|
|
3590
3660
|
return f;
|
|
3591
3661
|
var c = di(f.val);
|
|
3592
3662
|
if (c.length === 0)
|
|
3593
3663
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3594
|
-
var d = y(
|
|
3664
|
+
var d = y(l, this.clonePosition());
|
|
3595
3665
|
u = { style: c, styleLocation: d };
|
|
3596
3666
|
}
|
|
3597
3667
|
var p = this.tryParseArgumentClose(i);
|
|
3598
3668
|
if (p.err)
|
|
3599
3669
|
return p;
|
|
3600
3670
|
var m = y(i, this.clonePosition());
|
|
3601
|
-
if (u &&
|
|
3671
|
+
if (u && wt(u?.style, "::", 0)) {
|
|
3602
3672
|
var _ = pi(u.style.slice(2));
|
|
3603
3673
|
if (s === "number") {
|
|
3604
3674
|
var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
@@ -3609,13 +3679,13 @@ var mi = (
|
|
|
3609
3679
|
} else {
|
|
3610
3680
|
if (_.length === 0)
|
|
3611
3681
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3612
|
-
var
|
|
3613
|
-
this.locale && (
|
|
3682
|
+
var T = _;
|
|
3683
|
+
this.locale && (T = ei(_, this.locale));
|
|
3614
3684
|
var c = {
|
|
3615
|
-
type:
|
|
3616
|
-
pattern:
|
|
3685
|
+
type: q.dateTime,
|
|
3686
|
+
pattern: T,
|
|
3617
3687
|
location: u.styleLocation,
|
|
3618
|
-
parsedOptions: this.shouldParseSkeletons ? zn(
|
|
3688
|
+
parsedOptions: this.shouldParseSkeletons ? zn(T) : {}
|
|
3619
3689
|
}, P = s === "date" ? v.date : v.time;
|
|
3620
3690
|
return {
|
|
3621
3691
|
val: { type: P, value: n, location: m, style: c },
|
|
@@ -3638,9 +3708,9 @@ var mi = (
|
|
|
3638
3708
|
case "select": {
|
|
3639
3709
|
var x = this.clonePosition();
|
|
3640
3710
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3641
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(x,
|
|
3711
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(x, Te({}, x)));
|
|
3642
3712
|
this.bumpSpace();
|
|
3643
|
-
var O = this.parseIdentifierIfPossible(),
|
|
3713
|
+
var O = this.parseIdentifierIfPossible(), w = 0;
|
|
3644
3714
|
if (s !== "select" && O.value === "offset") {
|
|
3645
3715
|
if (!this.bumpIf(":"))
|
|
3646
3716
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
@@ -3648,7 +3718,7 @@ var mi = (
|
|
|
3648
3718
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3649
3719
|
if (f.err)
|
|
3650
3720
|
return f;
|
|
3651
|
-
this.bumpSpace(), O = this.parseIdentifierIfPossible(),
|
|
3721
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = f.val;
|
|
3652
3722
|
}
|
|
3653
3723
|
var $ = this.tryParsePluralOrSelectOptions(t, s, r, O);
|
|
3654
3724
|
if ($.err)
|
|
@@ -3670,7 +3740,7 @@ var mi = (
|
|
|
3670
3740
|
type: v.plural,
|
|
3671
3741
|
value: n,
|
|
3672
3742
|
options: Ht($.val),
|
|
3673
|
-
offset:
|
|
3743
|
+
offset: w,
|
|
3674
3744
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3675
3745
|
location: fe
|
|
3676
3746
|
},
|
|
@@ -3678,7 +3748,7 @@ var mi = (
|
|
|
3678
3748
|
};
|
|
3679
3749
|
}
|
|
3680
3750
|
default:
|
|
3681
|
-
return this.error(b.INVALID_ARGUMENT_TYPE, y(a,
|
|
3751
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(a, h));
|
|
3682
3752
|
}
|
|
3683
3753
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3684
3754
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3726,7 +3796,7 @@ var mi = (
|
|
|
3726
3796
|
}
|
|
3727
3797
|
return {
|
|
3728
3798
|
val: {
|
|
3729
|
-
type:
|
|
3799
|
+
type: q.number,
|
|
3730
3800
|
tokens: n,
|
|
3731
3801
|
location: r,
|
|
3732
3802
|
parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
|
|
@@ -3734,19 +3804,19 @@ var mi = (
|
|
|
3734
3804
|
err: null
|
|
3735
3805
|
};
|
|
3736
3806
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3737
|
-
for (var o, a = !1, s = [],
|
|
3807
|
+
for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3738
3808
|
if (u.length === 0) {
|
|
3739
3809
|
var f = this.clonePosition();
|
|
3740
3810
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3741
3811
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3742
3812
|
if (c.err)
|
|
3743
3813
|
return c;
|
|
3744
|
-
|
|
3814
|
+
l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3745
3815
|
} else
|
|
3746
3816
|
break;
|
|
3747
3817
|
}
|
|
3748
|
-
if (
|
|
3749
|
-
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3818
|
+
if (h.has(u))
|
|
3819
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3750
3820
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3751
3821
|
var d = this.clonePosition();
|
|
3752
3822
|
if (!this.bumpIf("{"))
|
|
@@ -3763,7 +3833,7 @@ var mi = (
|
|
|
3763
3833
|
value: p.val,
|
|
3764
3834
|
location: y(d, this.clonePosition())
|
|
3765
3835
|
}
|
|
3766
|
-
]),
|
|
3836
|
+
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3767
3837
|
}
|
|
3768
3838
|
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3769
3839
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3776,8 +3846,8 @@ var mi = (
|
|
|
3776
3846
|
else
|
|
3777
3847
|
break;
|
|
3778
3848
|
}
|
|
3779
|
-
var
|
|
3780
|
-
return o ? (a *= n, ci(a) ? { val: a, err: null } : this.error(r,
|
|
3849
|
+
var h = y(i, this.clonePosition());
|
|
3850
|
+
return o ? (a *= n, ci(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3781
3851
|
}, e.prototype.offset = function() {
|
|
3782
3852
|
return this.position.offset;
|
|
3783
3853
|
}, e.prototype.isEOF = function() {
|
|
@@ -3811,7 +3881,7 @@ var mi = (
|
|
|
3811
3881
|
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);
|
|
3812
3882
|
}
|
|
3813
3883
|
}, e.prototype.bumpIf = function(t) {
|
|
3814
|
-
if (
|
|
3884
|
+
if (wt(this.message, t, this.offset())) {
|
|
3815
3885
|
for (var r = 0; r < t.length; r++)
|
|
3816
3886
|
this.bump();
|
|
3817
3887
|
return !0;
|
|
@@ -3864,11 +3934,11 @@ function nt(e) {
|
|
|
3864
3934
|
for (var r in t.options)
|
|
3865
3935
|
delete t.options[r].location, nt(t.options[r].value);
|
|
3866
3936
|
else
|
|
3867
|
-
nr(t) &&
|
|
3937
|
+
nr(t) && hr(t.style) || (ir(t) || or(t)) && Ye(t.style) ? delete t.style.location : ur(t) && nt(t.children);
|
|
3868
3938
|
});
|
|
3869
3939
|
}
|
|
3870
3940
|
function vi(e, t) {
|
|
3871
|
-
t === void 0 && (t = {}), t =
|
|
3941
|
+
t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3872
3942
|
var r = new mi(e, t).parse();
|
|
3873
3943
|
if (r.err) {
|
|
3874
3944
|
var n = SyntaxError(b[r.err.kind]);
|
|
@@ -3876,10 +3946,10 @@ function vi(e, t) {
|
|
|
3876
3946
|
}
|
|
3877
3947
|
return t?.captureLocation || nt(r.val), r.val;
|
|
3878
3948
|
}
|
|
3879
|
-
var
|
|
3949
|
+
var Q;
|
|
3880
3950
|
(function(e) {
|
|
3881
3951
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3882
|
-
})(
|
|
3952
|
+
})(Q || (Q = {}));
|
|
3883
3953
|
var Oe = (
|
|
3884
3954
|
/** @class */
|
|
3885
3955
|
function(e) {
|
|
@@ -3897,7 +3967,7 @@ var Oe = (
|
|
|
3897
3967
|
function(e) {
|
|
3898
3968
|
Pe(t, e);
|
|
3899
3969
|
function t(r, n, i, o) {
|
|
3900
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3970
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
|
|
3901
3971
|
}
|
|
3902
3972
|
return t;
|
|
3903
3973
|
}(Oe)
|
|
@@ -3906,7 +3976,7 @@ var Oe = (
|
|
|
3906
3976
|
function(e) {
|
|
3907
3977
|
Pe(t, e);
|
|
3908
3978
|
function t(r, n, i) {
|
|
3909
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3979
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
|
|
3910
3980
|
}
|
|
3911
3981
|
return t;
|
|
3912
3982
|
}(Oe)
|
|
@@ -3915,7 +3985,7 @@ var Oe = (
|
|
|
3915
3985
|
function(e) {
|
|
3916
3986
|
Pe(t, e);
|
|
3917
3987
|
function t(r, n) {
|
|
3918
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3988
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
|
|
3919
3989
|
}
|
|
3920
3990
|
return t;
|
|
3921
3991
|
}(Oe)
|
|
@@ -3940,105 +4010,105 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
3940
4010
|
value: e[0].value
|
|
3941
4011
|
}
|
|
3942
4012
|
];
|
|
3943
|
-
for (var s = [],
|
|
3944
|
-
var
|
|
3945
|
-
if (Et(
|
|
4013
|
+
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
4014
|
+
var l = u[h];
|
|
4015
|
+
if (Et(l)) {
|
|
3946
4016
|
s.push({
|
|
3947
4017
|
type: S.literal,
|
|
3948
|
-
value:
|
|
4018
|
+
value: l.value
|
|
3949
4019
|
});
|
|
3950
4020
|
continue;
|
|
3951
4021
|
}
|
|
3952
|
-
if (Xn(
|
|
4022
|
+
if (Xn(l)) {
|
|
3953
4023
|
typeof o == "number" && s.push({
|
|
3954
4024
|
type: S.literal,
|
|
3955
4025
|
value: r.getNumberFormat(t).format(o)
|
|
3956
4026
|
});
|
|
3957
4027
|
continue;
|
|
3958
4028
|
}
|
|
3959
|
-
var f =
|
|
4029
|
+
var f = l.value;
|
|
3960
4030
|
if (!(i && f in i))
|
|
3961
4031
|
throw new Ei(f, a);
|
|
3962
4032
|
var c = i[f];
|
|
3963
|
-
if (Vn(
|
|
4033
|
+
if (Vn(l)) {
|
|
3964
4034
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3965
4035
|
type: typeof c == "string" ? S.literal : S.object,
|
|
3966
4036
|
value: c
|
|
3967
4037
|
});
|
|
3968
4038
|
continue;
|
|
3969
4039
|
}
|
|
3970
|
-
if (ir(
|
|
3971
|
-
var d = typeof
|
|
4040
|
+
if (ir(l)) {
|
|
4041
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
|
|
3972
4042
|
s.push({
|
|
3973
4043
|
type: S.literal,
|
|
3974
4044
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3975
4045
|
});
|
|
3976
4046
|
continue;
|
|
3977
4047
|
}
|
|
3978
|
-
if (or(
|
|
3979
|
-
var d = typeof
|
|
4048
|
+
if (or(l)) {
|
|
4049
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3980
4050
|
s.push({
|
|
3981
4051
|
type: S.literal,
|
|
3982
4052
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3983
4053
|
});
|
|
3984
4054
|
continue;
|
|
3985
4055
|
}
|
|
3986
|
-
if (nr(
|
|
3987
|
-
var d = typeof
|
|
4056
|
+
if (nr(l)) {
|
|
4057
|
+
var d = typeof l.style == "string" ? n.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
|
|
3988
4058
|
d && d.scale && (c = c * (d.scale || 1)), s.push({
|
|
3989
4059
|
type: S.literal,
|
|
3990
4060
|
value: r.getNumberFormat(t, d).format(c)
|
|
3991
4061
|
});
|
|
3992
4062
|
continue;
|
|
3993
4063
|
}
|
|
3994
|
-
if (ur(
|
|
3995
|
-
var p =
|
|
4064
|
+
if (ur(l)) {
|
|
4065
|
+
var p = l.children, m = l.value, _ = i[m];
|
|
3996
4066
|
if (!Si(_))
|
|
3997
4067
|
throw new _i(m, "function", a);
|
|
3998
|
-
var
|
|
3999
|
-
return
|
|
4068
|
+
var T = ve(p, t, r, n, i, o), P = _(T.map(function(w) {
|
|
4069
|
+
return w.value;
|
|
4000
4070
|
}));
|
|
4001
|
-
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(
|
|
4071
|
+
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
|
|
4002
4072
|
return {
|
|
4003
|
-
type: typeof
|
|
4004
|
-
value:
|
|
4073
|
+
type: typeof w == "string" ? S.literal : S.object,
|
|
4074
|
+
value: w
|
|
4005
4075
|
};
|
|
4006
4076
|
}));
|
|
4007
4077
|
}
|
|
4008
|
-
if (sr(
|
|
4009
|
-
var x =
|
|
4078
|
+
if (sr(l)) {
|
|
4079
|
+
var x = l.options[c] || l.options.other;
|
|
4010
4080
|
if (!x)
|
|
4011
|
-
throw new At(
|
|
4081
|
+
throw new At(l.value, c, Object.keys(l.options), a);
|
|
4012
4082
|
s.push.apply(s, ve(x.value, t, r, n, i));
|
|
4013
4083
|
continue;
|
|
4014
4084
|
}
|
|
4015
|
-
if (ar(
|
|
4016
|
-
var x =
|
|
4085
|
+
if (ar(l)) {
|
|
4086
|
+
var x = l.options["=".concat(c)];
|
|
4017
4087
|
if (!x) {
|
|
4018
4088
|
if (!Intl.PluralRules)
|
|
4019
4089
|
throw new Oe(`Intl.PluralRules is not available in this environment.
|
|
4020
4090
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4021
|
-
`,
|
|
4022
|
-
var O = r.getPluralRules(t, { type:
|
|
4023
|
-
x =
|
|
4091
|
+
`, Q.MISSING_INTL_API, a);
|
|
4092
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
4093
|
+
x = l.options[O] || l.options.other;
|
|
4024
4094
|
}
|
|
4025
4095
|
if (!x)
|
|
4026
|
-
throw new At(
|
|
4027
|
-
s.push.apply(s, ve(x.value, t, r, n, i, c - (
|
|
4096
|
+
throw new At(l.value, c, Object.keys(l.options), a);
|
|
4097
|
+
s.push.apply(s, ve(x.value, t, r, n, i, c - (l.offset || 0)));
|
|
4028
4098
|
continue;
|
|
4029
4099
|
}
|
|
4030
4100
|
}
|
|
4031
4101
|
return xi(s);
|
|
4032
4102
|
}
|
|
4033
|
-
function
|
|
4034
|
-
return t ?
|
|
4035
|
-
return r[n] =
|
|
4103
|
+
function Ti(e, t) {
|
|
4104
|
+
return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4105
|
+
return r[n] = N(N({}, e[n]), t[n] || {}), r;
|
|
4036
4106
|
}, {})) : e;
|
|
4037
4107
|
}
|
|
4038
|
-
function
|
|
4108
|
+
function wi(e, t) {
|
|
4039
4109
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4040
|
-
return r[n] =
|
|
4041
|
-
},
|
|
4110
|
+
return r[n] = Ti(e[n], t[n]), r;
|
|
4111
|
+
}, N({}, e)) : e;
|
|
4042
4112
|
}
|
|
4043
4113
|
function Fe(e) {
|
|
4044
4114
|
return {
|
|
@@ -4096,20 +4166,20 @@ var Bi = (
|
|
|
4096
4166
|
number: {},
|
|
4097
4167
|
dateTime: {},
|
|
4098
4168
|
pluralRules: {}
|
|
4099
|
-
}, this.format = function(
|
|
4100
|
-
var u = o.formatToParts(
|
|
4169
|
+
}, this.format = function(h) {
|
|
4170
|
+
var u = o.formatToParts(h);
|
|
4101
4171
|
if (u.length === 1)
|
|
4102
4172
|
return u[0].value;
|
|
4103
|
-
var
|
|
4173
|
+
var l = u.reduce(function(f, c) {
|
|
4104
4174
|
return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
4105
4175
|
}, []);
|
|
4106
|
-
return
|
|
4107
|
-
}, this.formatToParts = function(
|
|
4108
|
-
return ve(o.ast, o.locales, o.formatters, o.formats,
|
|
4176
|
+
return l.length <= 1 ? l[0] || "" : l;
|
|
4177
|
+
}, this.formatToParts = function(h) {
|
|
4178
|
+
return ve(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
4109
4179
|
}, this.resolvedOptions = function() {
|
|
4110
|
-
var
|
|
4180
|
+
var h;
|
|
4111
4181
|
return {
|
|
4112
|
-
locale: ((
|
|
4182
|
+
locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
4113
4183
|
};
|
|
4114
4184
|
}, this.getAst = function() {
|
|
4115
4185
|
return o.ast;
|
|
@@ -4119,12 +4189,12 @@ var Bi = (
|
|
|
4119
4189
|
var a = i || {};
|
|
4120
4190
|
a.formatters;
|
|
4121
4191
|
var s = $n(a, ["formatters"]);
|
|
4122
|
-
this.ast = e.__parse(t,
|
|
4192
|
+
this.ast = e.__parse(t, N(N({}, s), { locale: this.resolvedLocale }));
|
|
4123
4193
|
} else
|
|
4124
4194
|
this.ast = t;
|
|
4125
4195
|
if (!Array.isArray(this.ast))
|
|
4126
4196
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4127
|
-
this.formats =
|
|
4197
|
+
this.formats = wi(e.formats, n), this.formatters = i && i.formatters || Hi(this.formatterCache);
|
|
4128
4198
|
}
|
|
4129
4199
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4130
4200
|
get: function() {
|
|
@@ -4256,9 +4326,9 @@ function Li(e) {
|
|
|
4256
4326
|
}
|
|
4257
4327
|
}
|
|
4258
4328
|
function vr(e, ...t) {
|
|
4259
|
-
delete U[e], ce.update((r) => (r[e] =
|
|
4329
|
+
delete U[e], ce.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
|
|
4260
4330
|
}
|
|
4261
|
-
|
|
4331
|
+
K(
|
|
4262
4332
|
[ce],
|
|
4263
4333
|
([e]) => Object.keys(e)
|
|
4264
4334
|
);
|
|
@@ -4270,7 +4340,7 @@ function Ni(e, t) {
|
|
|
4270
4340
|
function _r(e) {
|
|
4271
4341
|
return _e[e];
|
|
4272
4342
|
}
|
|
4273
|
-
function
|
|
4343
|
+
function Mi(e) {
|
|
4274
4344
|
return Ie(e).map((t) => {
|
|
4275
4345
|
const r = _r(t);
|
|
4276
4346
|
return [t, r ? [...r] : []];
|
|
@@ -4284,25 +4354,25 @@ function it(e) {
|
|
|
4284
4354
|
}
|
|
4285
4355
|
);
|
|
4286
4356
|
}
|
|
4287
|
-
function
|
|
4357
|
+
function Ci(e, t) {
|
|
4288
4358
|
return Promise.all(
|
|
4289
4359
|
t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
|
|
4290
4360
|
).then((n) => vr(e, ...n));
|
|
4291
4361
|
}
|
|
4292
|
-
const
|
|
4362
|
+
const ne = {};
|
|
4293
4363
|
function Er(e) {
|
|
4294
4364
|
if (!it(e))
|
|
4295
|
-
return e in
|
|
4296
|
-
const t =
|
|
4297
|
-
return
|
|
4365
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
4366
|
+
const t = Mi(e);
|
|
4367
|
+
return ne[e] = Promise.all(
|
|
4298
4368
|
t.map(
|
|
4299
|
-
([r, n]) =>
|
|
4369
|
+
([r, n]) => Ci(r, n)
|
|
4300
4370
|
)
|
|
4301
4371
|
).then(() => {
|
|
4302
4372
|
if (it(e))
|
|
4303
4373
|
return Er(e);
|
|
4304
|
-
delete
|
|
4305
|
-
}),
|
|
4374
|
+
delete ne[e];
|
|
4375
|
+
}), ne[e];
|
|
4306
4376
|
}
|
|
4307
4377
|
const $i = {
|
|
4308
4378
|
number: {
|
|
@@ -4341,7 +4411,7 @@ const $i = {
|
|
|
4341
4411
|
handleMissingMessage: void 0,
|
|
4342
4412
|
ignoreTag: !0
|
|
4343
4413
|
}, Ui = Ri;
|
|
4344
|
-
function
|
|
4414
|
+
function J() {
|
|
4345
4415
|
return Ui;
|
|
4346
4416
|
}
|
|
4347
4417
|
const je = Ae(!1);
|
|
@@ -4354,35 +4424,35 @@ var Di = Object.defineProperty, Gi = Object.defineProperties, Fi = Object.getOwn
|
|
|
4354
4424
|
return e;
|
|
4355
4425
|
}, Xi = (e, t) => Gi(e, Fi(t));
|
|
4356
4426
|
let ot;
|
|
4357
|
-
const
|
|
4427
|
+
const we = Ae(null);
|
|
4358
4428
|
function It(e) {
|
|
4359
4429
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4360
4430
|
}
|
|
4361
|
-
function Ie(e, t =
|
|
4431
|
+
function Ie(e, t = J().fallbackLocale) {
|
|
4362
4432
|
const r = It(e);
|
|
4363
4433
|
return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
|
|
4364
4434
|
}
|
|
4365
4435
|
function F() {
|
|
4366
4436
|
return ot ?? void 0;
|
|
4367
4437
|
}
|
|
4368
|
-
|
|
4438
|
+
we.subscribe((e) => {
|
|
4369
4439
|
ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4370
4440
|
});
|
|
4371
4441
|
const Wi = (e) => {
|
|
4372
4442
|
if (e && Li(e) && it(e)) {
|
|
4373
|
-
const { loadingDelay: t } =
|
|
4443
|
+
const { loadingDelay: t } = J();
|
|
4374
4444
|
let r;
|
|
4375
4445
|
return typeof window < "u" && F() != null && t ? r = window.setTimeout(
|
|
4376
4446
|
() => je.set(!0),
|
|
4377
4447
|
t
|
|
4378
4448
|
) : je.set(!0), Er(e).then(() => {
|
|
4379
|
-
|
|
4449
|
+
we.set(e);
|
|
4380
4450
|
}).finally(() => {
|
|
4381
4451
|
clearTimeout(r), je.set(!1);
|
|
4382
4452
|
});
|
|
4383
4453
|
}
|
|
4384
|
-
return
|
|
4385
|
-
},
|
|
4454
|
+
return we.set(e);
|
|
4455
|
+
}, ee = Xi(Vi({}, we), {
|
|
4386
4456
|
set: Wi
|
|
4387
4457
|
}), Le = (e) => {
|
|
4388
4458
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -4391,14 +4461,14 @@ const Wi = (e) => {
|
|
|
4391
4461
|
return i in t ? t[i] : t[i] = e(n);
|
|
4392
4462
|
};
|
|
4393
4463
|
};
|
|
4394
|
-
var zi = Object.defineProperty, He = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
4464
|
+
var zi = Object.defineProperty, He = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
4395
4465
|
for (var r in t || (t = {}))
|
|
4396
4466
|
xr.call(t, r) && Lt(e, r, t[r]);
|
|
4397
4467
|
if (He)
|
|
4398
4468
|
for (var r of He(t))
|
|
4399
4469
|
Sr.call(t, r) && Lt(e, r, t[r]);
|
|
4400
4470
|
return e;
|
|
4401
|
-
},
|
|
4471
|
+
}, te = (e, t) => {
|
|
4402
4472
|
var r = {};
|
|
4403
4473
|
for (var n in e)
|
|
4404
4474
|
xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -4407,59 +4477,59 @@ var zi = Object.defineProperty, He = Object.getOwnPropertySymbols, xr = Object.p
|
|
|
4407
4477
|
t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
|
|
4408
4478
|
return r;
|
|
4409
4479
|
};
|
|
4410
|
-
const
|
|
4411
|
-
const { formats: r } =
|
|
4480
|
+
const ae = (e, t) => {
|
|
4481
|
+
const { formats: r } = J();
|
|
4412
4482
|
if (e in r && t in r[e])
|
|
4413
4483
|
return r[e][t];
|
|
4414
4484
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4415
4485
|
}, Zi = Le(
|
|
4416
4486
|
(e) => {
|
|
4417
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4487
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4418
4488
|
if (r == null)
|
|
4419
4489
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4420
|
-
return n && (i =
|
|
4490
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
4421
4491
|
}
|
|
4422
4492
|
), qi = Le(
|
|
4423
4493
|
(e) => {
|
|
4424
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4494
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4425
4495
|
if (r == null)
|
|
4426
4496
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4427
|
-
return n ? i =
|
|
4497
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4428
4498
|
}
|
|
4429
4499
|
), Qi = Le(
|
|
4430
4500
|
(e) => {
|
|
4431
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4501
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4432
4502
|
if (r == null)
|
|
4433
4503
|
throw new Error(
|
|
4434
4504
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4435
4505
|
);
|
|
4436
|
-
return n ? i =
|
|
4506
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4437
4507
|
}
|
|
4438
4508
|
), Ji = (e = {}) => {
|
|
4439
4509
|
var t = e, {
|
|
4440
4510
|
locale: r = F()
|
|
4441
|
-
} = t, n =
|
|
4511
|
+
} = t, n = te(t, [
|
|
4442
4512
|
"locale"
|
|
4443
4513
|
]);
|
|
4444
|
-
return Zi(
|
|
4514
|
+
return Zi(ht({ locale: r }, n));
|
|
4445
4515
|
}, Yi = (e = {}) => {
|
|
4446
4516
|
var t = e, {
|
|
4447
4517
|
locale: r = F()
|
|
4448
|
-
} = t, n =
|
|
4518
|
+
} = t, n = te(t, [
|
|
4449
4519
|
"locale"
|
|
4450
4520
|
]);
|
|
4451
|
-
return qi(
|
|
4521
|
+
return qi(ht({ locale: r }, n));
|
|
4452
4522
|
}, Ki = (e = {}) => {
|
|
4453
4523
|
var t = e, {
|
|
4454
4524
|
locale: r = F()
|
|
4455
|
-
} = t, n =
|
|
4525
|
+
} = t, n = te(t, [
|
|
4456
4526
|
"locale"
|
|
4457
4527
|
]);
|
|
4458
|
-
return Qi(
|
|
4528
|
+
return Qi(ht({ locale: r }, n));
|
|
4459
4529
|
}, eo = Le(
|
|
4460
4530
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4461
|
-
(e, t = F()) => new Bi(e, t,
|
|
4462
|
-
ignoreTag:
|
|
4531
|
+
(e, t = F()) => new Bi(e, t, J().formats, {
|
|
4532
|
+
ignoreTag: J().ignoreTag
|
|
4463
4533
|
})
|
|
4464
4534
|
), to = (e, t = {}) => {
|
|
4465
4535
|
var r, n, i, o;
|
|
@@ -4467,25 +4537,25 @@ const se = (e, t) => {
|
|
|
4467
4537
|
typeof e == "object" && (a = e, e = a.id);
|
|
4468
4538
|
const {
|
|
4469
4539
|
values: s,
|
|
4470
|
-
locale:
|
|
4540
|
+
locale: h = F(),
|
|
4471
4541
|
default: u
|
|
4472
4542
|
} = a;
|
|
4473
|
-
if (
|
|
4543
|
+
if (h == null)
|
|
4474
4544
|
throw new Error(
|
|
4475
4545
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4476
4546
|
);
|
|
4477
|
-
let
|
|
4478
|
-
if (!
|
|
4479
|
-
|
|
4480
|
-
else if (typeof
|
|
4547
|
+
let l = yr(e, h);
|
|
4548
|
+
if (!l)
|
|
4549
|
+
l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4550
|
+
else if (typeof l != "string")
|
|
4481
4551
|
return console.warn(
|
|
4482
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4483
|
-
),
|
|
4552
|
+
`[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.`
|
|
4553
|
+
), l;
|
|
4484
4554
|
if (!s)
|
|
4485
|
-
return
|
|
4486
|
-
let f =
|
|
4555
|
+
return l;
|
|
4556
|
+
let f = l;
|
|
4487
4557
|
try {
|
|
4488
|
-
f = eo(
|
|
4558
|
+
f = eo(l, h).format(s);
|
|
4489
4559
|
} catch (c) {
|
|
4490
4560
|
c instanceof Error && console.warn(
|
|
4491
4561
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4493,13 +4563,13 @@ const se = (e, t) => {
|
|
|
4493
4563
|
);
|
|
4494
4564
|
}
|
|
4495
4565
|
return f;
|
|
4496
|
-
}, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = F()) => yr(e, t), so =
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4566
|
+
}, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = F()) => yr(e, t), so = K([ee, ce], () => to);
|
|
4567
|
+
K([ee], () => ro);
|
|
4568
|
+
K([ee], () => no);
|
|
4569
|
+
K([ee], () => io);
|
|
4570
|
+
K([ee, ce], () => oo);
|
|
4501
4571
|
window.emWidgets = { topic: gn };
|
|
4502
|
-
const
|
|
4572
|
+
const ko = (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)), Tr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Vo = (e) => e.match(/CustomNative/i) ? "NativeApp" : Tr(e) === "PC" ? "Desktop" : "Mobile";
|
|
4503
4573
|
function Nt(e, t) {
|
|
4504
4574
|
if (e) {
|
|
4505
4575
|
const r = document.createElement("style");
|
|
@@ -4523,7 +4593,7 @@ function uo(e, t, r) {
|
|
|
4523
4593
|
});
|
|
4524
4594
|
}
|
|
4525
4595
|
}
|
|
4526
|
-
const
|
|
4596
|
+
const ho = (e, t = {}) => {
|
|
4527
4597
|
const r = new CustomEvent("track-custom-event", {
|
|
4528
4598
|
detail: {
|
|
4529
4599
|
type: e,
|
|
@@ -4534,13 +4604,13 @@ const lo = (e, t = {}) => {
|
|
|
4534
4604
|
});
|
|
4535
4605
|
document.dispatchEvent(r);
|
|
4536
4606
|
};
|
|
4537
|
-
function
|
|
4607
|
+
function Mt(e, t) {
|
|
4538
4608
|
vr(e, t);
|
|
4539
4609
|
}
|
|
4540
|
-
function
|
|
4541
|
-
|
|
4610
|
+
function lo(e) {
|
|
4611
|
+
ee.set(e);
|
|
4542
4612
|
}
|
|
4543
|
-
const
|
|
4613
|
+
const Ct = {
|
|
4544
4614
|
en: {
|
|
4545
4615
|
logoutButton: "Logout"
|
|
4546
4616
|
},
|
|
@@ -4585,32 +4655,32 @@ function fo(e) {
|
|
|
4585
4655
|
), o, a, s;
|
|
4586
4656
|
return {
|
|
4587
4657
|
c() {
|
|
4588
|
-
t =
|
|
4658
|
+
t = I("div"), r = I("button"), n = I("span"), o = he(i), B(t, "class", "GeneralLogout");
|
|
4589
4659
|
},
|
|
4590
|
-
m(
|
|
4591
|
-
|
|
4660
|
+
m(h, u) {
|
|
4661
|
+
Y(h, t, u), A(t, r), A(r, n), A(n, o), a || (s = kt(
|
|
4592
4662
|
r,
|
|
4593
4663
|
"click",
|
|
4594
4664
|
/*click_handler_1*/
|
|
4595
4665
|
e[14]
|
|
4596
4666
|
), a = !0);
|
|
4597
4667
|
},
|
|
4598
|
-
p(
|
|
4668
|
+
p(h, u) {
|
|
4599
4669
|
u & /*$_*/
|
|
4600
4670
|
4 && i !== (i = /*$_*/
|
|
4601
|
-
|
|
4671
|
+
h[2]("logoutButton") + "") && Vt(o, i);
|
|
4602
4672
|
},
|
|
4603
|
-
d(
|
|
4604
|
-
|
|
4673
|
+
d(h) {
|
|
4674
|
+
h && D(t), a = !1, s();
|
|
4605
4675
|
}
|
|
4606
4676
|
};
|
|
4607
4677
|
}
|
|
4608
4678
|
function po(e) {
|
|
4609
|
-
let t, r, n, i, o, a, s,
|
|
4679
|
+
let t, r, n, i, o, a, s, h, u, l, f, c = !/*isMobile*/
|
|
4610
4680
|
e[3] && mo(e);
|
|
4611
4681
|
return {
|
|
4612
4682
|
c() {
|
|
4613
|
-
t =
|
|
4683
|
+
t = I("p"), r = I("span"), n = V("svg"), i = V("defs"), o = V("style"), a = he(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = V("path"), h = V("path"), u = Cr(), 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"), Rr(r, "width", /*isMobile*/
|
|
4614
4684
|
e[3] ? (
|
|
4615
4685
|
/*mediaQuery*/
|
|
4616
4686
|
e[4].matches ? "20px" : "24px"
|
|
@@ -4620,19 +4690,19 @@ function po(e) {
|
|
|
4620
4690
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4621
4691
|
},
|
|
4622
4692
|
m(d, p) {
|
|
4623
|
-
|
|
4693
|
+
Y(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 = kt(
|
|
4624
4694
|
t,
|
|
4625
4695
|
"click",
|
|
4626
4696
|
/*click_handler*/
|
|
4627
4697
|
e[13]
|
|
4628
|
-
),
|
|
4698
|
+
), l = !0);
|
|
4629
4699
|
},
|
|
4630
4700
|
p(d, p) {
|
|
4631
4701
|
/*isMobile*/
|
|
4632
4702
|
d[3] || c.p(d, p);
|
|
4633
4703
|
},
|
|
4634
4704
|
d(d) {
|
|
4635
|
-
d &&
|
|
4705
|
+
d && D(t), c && c.d(), l = !1, f();
|
|
4636
4706
|
}
|
|
4637
4707
|
};
|
|
4638
4708
|
}
|
|
@@ -4643,10 +4713,10 @@ function mo(e) {
|
|
|
4643
4713
|
), n;
|
|
4644
4714
|
return {
|
|
4645
4715
|
c() {
|
|
4646
|
-
t =
|
|
4716
|
+
t = I("span"), n = he(r), B(t, "class", "PlayerLogoutText");
|
|
4647
4717
|
},
|
|
4648
4718
|
m(i, o) {
|
|
4649
|
-
|
|
4719
|
+
Y(i, t, o), A(t, n);
|
|
4650
4720
|
},
|
|
4651
4721
|
p(i, o) {
|
|
4652
4722
|
o & /*$_*/
|
|
@@ -4654,7 +4724,7 @@ function mo(e) {
|
|
|
4654
4724
|
i[2]("logoutButton") + "") && Vt(n, r);
|
|
4655
4725
|
},
|
|
4656
4726
|
d(i) {
|
|
4657
|
-
i &&
|
|
4727
|
+
i && D(t);
|
|
4658
4728
|
}
|
|
4659
4729
|
};
|
|
4660
4730
|
}
|
|
@@ -4669,10 +4739,10 @@ function bo(e) {
|
|
|
4669
4739
|
let n = r(e), i = n(e);
|
|
4670
4740
|
return {
|
|
4671
4741
|
c() {
|
|
4672
|
-
t =
|
|
4742
|
+
t = I("div"), i.c();
|
|
4673
4743
|
},
|
|
4674
4744
|
m(o, a) {
|
|
4675
|
-
|
|
4745
|
+
Y(o, t, a), i.m(t, null), e[15](t);
|
|
4676
4746
|
},
|
|
4677
4747
|
p(o, [a]) {
|
|
4678
4748
|
n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4680,35 +4750,35 @@ function bo(e) {
|
|
|
4680
4750
|
i: H,
|
|
4681
4751
|
o: H,
|
|
4682
4752
|
d(o) {
|
|
4683
|
-
o &&
|
|
4753
|
+
o && D(t), i.d(), e[15](null);
|
|
4684
4754
|
}
|
|
4685
4755
|
};
|
|
4686
4756
|
}
|
|
4687
4757
|
function yo(e, t, r) {
|
|
4688
4758
|
let n;
|
|
4689
4759
|
Or(e, so, (g) => r(2, n = g));
|
|
4690
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource:
|
|
4691
|
-
const
|
|
4760
|
+
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, _ = Tr(m) !== "PC";
|
|
4761
|
+
const T = window.matchMedia("(min-width: 768px)"), P = () => {
|
|
4692
4762
|
fetch(f).then((R) => R.json()).then((R) => {
|
|
4693
4763
|
Object.keys(R).forEach((Ne) => {
|
|
4694
|
-
|
|
4764
|
+
Mt(Ne, R[Ne]);
|
|
4695
4765
|
});
|
|
4696
4766
|
}).catch((R) => {
|
|
4697
4767
|
console.log(R);
|
|
4698
4768
|
});
|
|
4699
4769
|
};
|
|
4700
|
-
Object.keys(
|
|
4701
|
-
|
|
4770
|
+
Object.keys(Ct).forEach((g) => {
|
|
4771
|
+
Mt(g, Ct[g]);
|
|
4702
4772
|
});
|
|
4703
4773
|
const x = () => {
|
|
4704
4774
|
let g = new Headers();
|
|
4705
4775
|
g.append("Content-type", "application/json"), g.append("X-SessionID", o);
|
|
4706
4776
|
let R = { method: "DELETE", headers: g };
|
|
4707
4777
|
fetch(`${i}/v1/player/session/player`, R).then((Ne) => {
|
|
4708
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
4778
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), ho("logged_out", {});
|
|
4709
4779
|
});
|
|
4710
|
-
}, 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),
|
|
4711
|
-
|
|
4780
|
+
}, 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 = () => {
|
|
4781
|
+
lo(s);
|
|
4712
4782
|
};
|
|
4713
4783
|
Xr(() => () => {
|
|
4714
4784
|
});
|
|
@@ -4719,36 +4789,36 @@ function yo(e, t, r) {
|
|
|
4719
4789
|
});
|
|
4720
4790
|
}
|
|
4721
4791
|
return e.$$set = (g) => {
|
|
4722
|
-
"endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "buttonlocation" in g && r(0, a = g.buttonlocation), "lang" in g && r(8, s = g.lang), "mbsource" in g && r(9,
|
|
4792
|
+
"endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "buttonlocation" in g && r(0, a = g.buttonlocation), "lang" in g && r(8, s = g.lang), "mbsource" in g && r(9, h = g.mbsource), "clientstyling" in g && r(10, u = g.clientstyling), "clientstylingurl" in g && r(11, l = g.clientstylingurl), "translationurl" in g && r(12, f = g.translationurl);
|
|
4723
4793
|
}, e.$$.update = () => {
|
|
4724
4794
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4725
4795
|
193 && i && o && a && O(), e.$$.dirty & /*lang*/
|
|
4726
|
-
256 && s &&
|
|
4796
|
+
256 && s && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4727
4797
|
1026 && u && p && Nt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4728
4798
|
1026 && u && p && Nt(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4729
|
-
2050 &&
|
|
4730
|
-
514 &&
|
|
4799
|
+
2050 && l && p && ao(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4800
|
+
514 && h && p && uo(p, `${h}.Style`), e.$$.dirty & /*translationurl*/
|
|
4731
4801
|
4096 && f && P();
|
|
4732
4802
|
}, [
|
|
4733
4803
|
a,
|
|
4734
4804
|
p,
|
|
4735
4805
|
n,
|
|
4736
4806
|
_,
|
|
4737
|
-
|
|
4807
|
+
T,
|
|
4738
4808
|
x,
|
|
4739
4809
|
i,
|
|
4740
4810
|
o,
|
|
4741
4811
|
s,
|
|
4742
|
-
l,
|
|
4743
|
-
u,
|
|
4744
4812
|
h,
|
|
4813
|
+
u,
|
|
4814
|
+
l,
|
|
4745
4815
|
f,
|
|
4746
4816
|
$,
|
|
4747
4817
|
fe,
|
|
4748
4818
|
Hr
|
|
4749
4819
|
];
|
|
4750
4820
|
}
|
|
4751
|
-
class
|
|
4821
|
+
class wr extends rn {
|
|
4752
4822
|
constructor(t) {
|
|
4753
4823
|
super(), en(
|
|
4754
4824
|
this,
|
|
@@ -4773,115 +4843,116 @@ class Tr extends rn {
|
|
|
4773
4843
|
return this.$$.ctx[6];
|
|
4774
4844
|
}
|
|
4775
4845
|
set endpoint(t) {
|
|
4776
|
-
this.$$set({ endpoint: t }),
|
|
4846
|
+
this.$$set({ endpoint: t }), L();
|
|
4777
4847
|
}
|
|
4778
4848
|
get session() {
|
|
4779
4849
|
return this.$$.ctx[7];
|
|
4780
4850
|
}
|
|
4781
4851
|
set session(t) {
|
|
4782
|
-
this.$$set({ session: t }),
|
|
4852
|
+
this.$$set({ session: t }), L();
|
|
4783
4853
|
}
|
|
4784
4854
|
get buttonlocation() {
|
|
4785
4855
|
return this.$$.ctx[0];
|
|
4786
4856
|
}
|
|
4787
4857
|
set buttonlocation(t) {
|
|
4788
|
-
this.$$set({ buttonlocation: t }),
|
|
4858
|
+
this.$$set({ buttonlocation: t }), L();
|
|
4789
4859
|
}
|
|
4790
4860
|
get lang() {
|
|
4791
4861
|
return this.$$.ctx[8];
|
|
4792
4862
|
}
|
|
4793
4863
|
set lang(t) {
|
|
4794
|
-
this.$$set({ lang: t }),
|
|
4864
|
+
this.$$set({ lang: t }), L();
|
|
4795
4865
|
}
|
|
4796
4866
|
get mbsource() {
|
|
4797
4867
|
return this.$$.ctx[9];
|
|
4798
4868
|
}
|
|
4799
4869
|
set mbsource(t) {
|
|
4800
|
-
this.$$set({ mbsource: t }),
|
|
4870
|
+
this.$$set({ mbsource: t }), L();
|
|
4801
4871
|
}
|
|
4802
4872
|
get clientstyling() {
|
|
4803
4873
|
return this.$$.ctx[10];
|
|
4804
4874
|
}
|
|
4805
4875
|
set clientstyling(t) {
|
|
4806
|
-
this.$$set({ clientstyling: t }),
|
|
4876
|
+
this.$$set({ clientstyling: t }), L();
|
|
4807
4877
|
}
|
|
4808
4878
|
get clientstylingurl() {
|
|
4809
4879
|
return this.$$.ctx[11];
|
|
4810
4880
|
}
|
|
4811
4881
|
set clientstylingurl(t) {
|
|
4812
|
-
this.$$set({ clientstylingurl: t }),
|
|
4882
|
+
this.$$set({ clientstylingurl: t }), L();
|
|
4813
4883
|
}
|
|
4814
4884
|
get translationurl() {
|
|
4815
4885
|
return this.$$.ctx[12];
|
|
4816
4886
|
}
|
|
4817
4887
|
set translationurl(t) {
|
|
4818
|
-
this.$$set({ translationurl: t }),
|
|
4888
|
+
this.$$set({ translationurl: t }), L();
|
|
4819
4889
|
}
|
|
4820
4890
|
}
|
|
4821
|
-
tn(
|
|
4822
|
-
const
|
|
4891
|
+
tn(wr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4892
|
+
const Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4823
4893
|
__proto__: null,
|
|
4824
|
-
default:
|
|
4894
|
+
default: wr
|
|
4825
4895
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4826
4896
|
export {
|
|
4827
|
-
|
|
4897
|
+
ee as $,
|
|
4828
4898
|
tn as A,
|
|
4829
4899
|
so as B,
|
|
4830
4900
|
ce as C,
|
|
4831
|
-
|
|
4832
|
-
|
|
4901
|
+
Vo as D,
|
|
4902
|
+
$o as E,
|
|
4833
4903
|
Ho as F,
|
|
4834
|
-
|
|
4904
|
+
To as G,
|
|
4835
4905
|
vo as H,
|
|
4836
|
-
|
|
4906
|
+
Do as I,
|
|
4837
4907
|
qr as J,
|
|
4838
4908
|
Eo as K,
|
|
4839
4909
|
xo as L,
|
|
4840
4910
|
_o as M,
|
|
4841
4911
|
Bo as N,
|
|
4842
|
-
|
|
4843
|
-
|
|
4912
|
+
Fo as O,
|
|
4913
|
+
wo as P,
|
|
4844
4914
|
No as Q,
|
|
4845
4915
|
Oo as R,
|
|
4846
4916
|
rn as S,
|
|
4847
4917
|
Lo as T,
|
|
4848
|
-
|
|
4918
|
+
ue as U,
|
|
4849
4919
|
Io as V,
|
|
4850
4920
|
Se as W,
|
|
4851
|
-
|
|
4921
|
+
ko as X,
|
|
4852
4922
|
So as Y,
|
|
4853
4923
|
Rr as Z,
|
|
4854
|
-
|
|
4924
|
+
Uo as _,
|
|
4855
4925
|
vr as a,
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4926
|
+
Ro as a0,
|
|
4927
|
+
Co as a1,
|
|
4928
|
+
go as a2,
|
|
4929
|
+
Br as a3,
|
|
4930
|
+
Go as a4,
|
|
4931
|
+
_n as a5,
|
|
4932
|
+
jo as a6,
|
|
4933
|
+
Po as a7,
|
|
4934
|
+
Xo as a8,
|
|
4864
4935
|
Nr as b,
|
|
4865
4936
|
Vt as c,
|
|
4866
|
-
|
|
4937
|
+
D as d,
|
|
4867
4938
|
B as e,
|
|
4868
|
-
|
|
4939
|
+
L as f,
|
|
4869
4940
|
Ao as g,
|
|
4870
|
-
|
|
4941
|
+
Y as h,
|
|
4871
4942
|
en as i,
|
|
4872
4943
|
A as j,
|
|
4873
|
-
|
|
4944
|
+
I as k,
|
|
4874
4945
|
kt as l,
|
|
4875
|
-
|
|
4946
|
+
Cr as m,
|
|
4876
4947
|
H as n,
|
|
4877
|
-
|
|
4948
|
+
Mo as o,
|
|
4878
4949
|
Or as p,
|
|
4879
|
-
|
|
4880
|
-
|
|
4950
|
+
Tr as q,
|
|
4951
|
+
G as r,
|
|
4881
4952
|
Rt as s,
|
|
4882
|
-
|
|
4953
|
+
he as t,
|
|
4883
4954
|
Xr as u,
|
|
4884
|
-
|
|
4955
|
+
V as v,
|
|
4885
4956
|
ke as w,
|
|
4886
4957
|
Nt as x,
|
|
4887
4958
|
ao as y,
|