@everymatrix/player-account-controller 1.54.0 → 1.54.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-CsWa2j6i.js → GeneralLogout-Ddt-oH9k.js} +1094 -1131
- package/components/{PlayerAccountBettingHistory-D_8K8e-E.js → PlayerAccountBettingHistory-C7xwYi03.js} +34 -35
- package/components/{PlayerAccountBiometrics-FWYyFKmB.js → PlayerAccountBiometrics-D7WS5cnI.js} +1 -1
- package/components/{PlayerAccountClosure-BJP8eejl.js → PlayerAccountClosure-yRlo8hXR.js} +1 -1
- package/components/{PlayerAccountController-DQGj69Re.js → PlayerAccountController-BZYAo3oo.js} +336 -353
- package/components/{PlayerAccountGamingLimits-Dt8hOZzW.js → PlayerAccountGamingLimits-CTBhVGgC.js} +3 -3
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B6SPYMpk.js → PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BG2VPqUz.js → PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js} +16 -16
- package/components/{PlayerAccountGamingLimitsHistory2-65MLJ2rD.js → PlayerAccountGamingLimitsHistory2-CXKA0L0d.js} +121 -132
- package/components/{PlayerAccountGamingLimitsInfoCard-CqTAvCh7.js → PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js → PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js} +737 -768
- package/components/{PlayerAccountGamingLimitsPopup-diUVGesC.js → PlayerAccountGamingLimitsPopup-CJu5RRl6.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BmDihzLr.js → PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js} +75 -81
- package/components/{PlayerAccountGeneralConfirmationModal-D3tbAl7Q.js → PlayerAccountGeneralConfirmationModal-DG0N686t.js} +1 -1
- package/components/{PlayerAccountMenu-CbXhpL1a.js → PlayerAccountMenu-CZBa8_5G.js} +66 -67
- package/components/{PlayerAccountModal-5TJbkUF8.js → PlayerAccountModal-BmKjtXKT.js} +1 -1
- package/components/{PlayerAccountNotifications-BVY-SXyT.js → PlayerAccountNotifications-B4Ht-hHj.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-BGfuEA4r.js → PlayerAccountSelfExclusion-DxGHXTb8.js} +1488 -1572
- package/components/{PlayerAccountTimeout-BDDMm0XX.js → PlayerAccountTimeout-DOSjICsY.js} +4 -4
- package/components/{PlayerActiveBonuses-D0RUTvjl.js → PlayerActiveBonuses-DMAG7NUP.js} +119 -120
- package/components/{PlayerBonusCard-CU67pLmG.js → PlayerBonusCard-Dss1REmn.js} +2 -2
- package/components/{PlayerBonusHistory-BLedlLHg.js → PlayerBonusHistory-BxBiQwQf.js} +53 -53
- package/components/{PlayerChangePassword-8ZD6eOj-.js → PlayerChangePassword-DnCj-wcc.js} +1 -1
- package/components/{PlayerDeposit-D5Xuk21T.js → PlayerDeposit-CHIQ8EaC.js} +1 -1
- package/components/{PlayerGamingHistory-tb-rMGdz.js → PlayerGamingHistory-BtQ73TId.js} +375 -388
- package/components/{PlayerPendingWithdrawals-DuN3Qn3P.js → PlayerPendingWithdrawals-BbTa7_8U.js} +1 -1
- package/components/{PlayerProfileInfo-DmKFg0dn.js → PlayerProfileInfo-CvAqD3Dk.js} +532 -549
- package/components/{PlayerRealityCheck-BUW8tvj3.js → PlayerRealityCheck-3d-B64ie.js} +175 -191
- package/components/{PlayerTransactionHistory-hGi2tOL2.js → PlayerTransactionHistory-BYJNabMB.js} +1 -1
- package/components/{PlayerWithdrawal-CR3Xpytk.js → PlayerWithdrawal-DDWroufG.js} +1 -1
- package/esnext/player-account-controller.js +14 -0
- package/package.json +11 -31
- package/stencil/{active-mixin-59dfae2a-CJN1Jc-g.js → active-mixin-59dfae2a-BphP4pp5.js} +745 -776
- package/stencil/{checkbox-group-input_9-DQoOMgN8.js → checkbox-group-input_9-CMFoK7_E.js} +1873 -1942
- package/stencil/{general-input-bzWxIJkt.js → general-input-DnFPstQP.js} +1 -1
- package/stencil/{index-062e829b-DPj_pEuI.js → index-062e829b-DAFsZs6D.js} +220 -236
- package/stencil/{index-33f005e1-DGGQe5wK.js → index-33f005e1-fFxPaeNy.js} +223 -239
- package/stencil/{index-9b3245b3-3zj7bxxu.js → index-9b3245b3-rzHgwqlB.js} +166 -193
- package/stencil/{index-fc58390d-DeoeGpBS.js → index-fc58390d-BSwfXuUs.js} +267 -294
- package/stencil/{password-input_2-Dx1lICIg.js → password-input_2-Bb9Q6Fe0.js} +136 -154
- package/stencil/{player-change-password-gm2-98dcb7bc-F9HM0T8d.js → player-change-password-gm2-98dcb7bc-gLcZhl3S.js} +1 -1
- package/stencil/player-change-password-gm2-DR3e2gh5.js +7 -0
- package/stencil/{player-kyc-verification-o-RUWyY4.js → player-kyc-verification-BQZdJFEJ.js} +61 -83
- package/stencil/{toggle-checkbox-input-BCrxxTpc.js → toggle-checkbox-input-CCLW6-uK.js} +1 -1
- package/stencil/{user-deposit-withdrawal-DEMVRyvk.js → user-deposit-withdrawal-CmF0LoNb.js} +175 -197
- package/stencil/{user-transaction-history-CevHOCcm.js → user-transaction-history-BgV-k2Cl.js} +81 -107
- package/components/GeneralLogout-DfI2_eQe.cjs +0 -8
- package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +0 -1
- package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +0 -1
- package/components/PlayerAccountClosure-DvHhtHhl.cjs +0 -1
- package/components/PlayerAccountController-DDLO4xVW.cjs +0 -1
- package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +0 -10
- package/components/PlayerAccountGamingLimitsHistory2-CG4RnfZE.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-CMnCgRU1.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-CW3N7E83.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +0 -1
- package/components/PlayerAccountMenu-DHGBVm64.cjs +0 -1
- package/components/PlayerAccountModal-BitbPM3Z.cjs +0 -1
- package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +0 -1
- package/components/PlayerAccountSelfExclusion-9vzbBY28.cjs +0 -3828
- package/components/PlayerAccountTimeout-f4vPyQE-.cjs +0 -1
- package/components/PlayerActiveBonuses-BVQwAh2z.cjs +0 -1
- package/components/PlayerBonusCard-UTTIEBwb.cjs +0 -1
- package/components/PlayerBonusHistory-EXOvKzDr.cjs +0 -1
- package/components/PlayerChangePassword-XpKJjnFu.cjs +0 -3
- package/components/PlayerDeposit-Do7vb_4b.cjs +0 -1
- package/components/PlayerGamingHistory-OEU1L3Q2.cjs +0 -1
- package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +0 -1
- package/components/PlayerProfileInfo-lMeb2jBi.cjs +0 -1
- package/components/PlayerRealityCheck-CA0P_3BC.cjs +0 -1
- package/components/PlayerTransactionHistory-CvZcvyBx.cjs +0 -1
- package/components/PlayerWithdrawal-DxLwjX7x.cjs +0 -1
- package/es2015/player-account-controller.cjs +0 -1
- package/es2015/player-account-controller.js +0 -16
- package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +0 -1519
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
- package/stencil/checkbox-group-input_9-DiXERGqn.cjs +0 -4193
- package/stencil/general-input-fzGwoSoE.cjs +0 -1
- package/stencil/index-062e829b-CpXLBOEz.cjs +0 -1
- package/stencil/index-33f005e1-BS5PFnj3.cjs +0 -1
- package/stencil/index-9b3245b3-ByXtSZIM.cjs +0 -1
- package/stencil/index-fc58390d-DgBOSsU7.cjs +0 -1
- package/stencil/locale-B5abSHU_.cjs +0 -1
- package/stencil/password-input_2-DvDzz75b.cjs +0 -1248
- package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +0 -1
- package/stencil/player-change-password-gm2-BEYcuzS-.cjs +0 -1
- package/stencil/player-change-password-gm2-NWnv4CCw.js +0 -25
- package/stencil/player-kyc-verification-_iT3bbO9.cjs +0 -180
- package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +0 -1
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
- package/stencil/user-deposit-withdrawal-_jt0Ivg5.cjs +0 -59
- package/stencil/user-transaction-history-U0c__t1q.cjs +0 -1
|
@@ -1,65 +1,36 @@
|
|
|
1
|
-
var Pn = Object.defineProperty, On = Object.defineProperties;
|
|
2
|
-
var In = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var ut = Object.getOwnPropertySymbols;
|
|
4
|
-
var Ln = Object.prototype.hasOwnProperty, Nn = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ne = (e, t, n) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, lt = (e, t) => {
|
|
6
|
-
for (var n in t || (t = {}))
|
|
7
|
-
Ln.call(t, n) && Ne(e, n, t[n]);
|
|
8
|
-
if (ut)
|
|
9
|
-
for (var n of ut(t))
|
|
10
|
-
Nn.call(t, n) && Ne(e, n, t[n]);
|
|
11
|
-
return e;
|
|
12
|
-
}, ht = (e, t) => On(e, In(t));
|
|
13
|
-
var O = (e, t, n) => Ne(e, typeof t != "symbol" ? t + "" : t, n);
|
|
14
|
-
var ft = (e, t, n) => new Promise((r, i) => {
|
|
15
|
-
var o = (u) => {
|
|
16
|
-
try {
|
|
17
|
-
a(n.next(u));
|
|
18
|
-
} catch (l) {
|
|
19
|
-
i(l);
|
|
20
|
-
}
|
|
21
|
-
}, s = (u) => {
|
|
22
|
-
try {
|
|
23
|
-
a(n.throw(u));
|
|
24
|
-
} catch (l) {
|
|
25
|
-
i(l);
|
|
26
|
-
}
|
|
27
|
-
}, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, s);
|
|
28
|
-
a((n = n.apply(e, t)).next());
|
|
29
|
-
});
|
|
30
1
|
function B() {
|
|
31
2
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
3
|
+
const Sn = (e) => e;
|
|
4
|
+
function Tn(e, t) {
|
|
34
5
|
for (const n in t) e[n] = t[n];
|
|
35
6
|
return (
|
|
36
7
|
/** @type {T & S} */
|
|
37
8
|
e
|
|
38
9
|
);
|
|
39
10
|
}
|
|
40
|
-
function
|
|
11
|
+
function It(e) {
|
|
41
12
|
return e();
|
|
42
13
|
}
|
|
43
|
-
function
|
|
14
|
+
function st() {
|
|
44
15
|
return /* @__PURE__ */ Object.create(null);
|
|
45
16
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
17
|
+
function G(e) {
|
|
18
|
+
e.forEach(It);
|
|
48
19
|
}
|
|
49
|
-
function
|
|
20
|
+
function le(e) {
|
|
50
21
|
return typeof e == "function";
|
|
51
22
|
}
|
|
52
|
-
function
|
|
23
|
+
function Lt(e, t) {
|
|
53
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
25
|
}
|
|
55
|
-
let
|
|
56
|
-
function
|
|
57
|
-
return e === t ? !0 : (
|
|
26
|
+
let pe;
|
|
27
|
+
function lo(e, t) {
|
|
28
|
+
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
|
58
29
|
}
|
|
59
|
-
function
|
|
30
|
+
function wn(e) {
|
|
60
31
|
return Object.keys(e).length === 0;
|
|
61
32
|
}
|
|
62
|
-
function
|
|
33
|
+
function Nt(e, ...t) {
|
|
63
34
|
if (e == null) {
|
|
64
35
|
for (const r of t)
|
|
65
36
|
r(void 0);
|
|
@@ -68,40 +39,40 @@ function Dt(e, ...t) {
|
|
|
68
39
|
const n = e.subscribe(...t);
|
|
69
40
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
70
41
|
}
|
|
71
|
-
function
|
|
72
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function Hn(e, t, n) {
|
|
43
|
+
e.$$.on_destroy.push(Nt(t, n));
|
|
73
44
|
}
|
|
74
|
-
function
|
|
45
|
+
function ho(e, t, n, r) {
|
|
75
46
|
if (e) {
|
|
76
|
-
const i =
|
|
47
|
+
const i = Ct(e, t, n, r);
|
|
77
48
|
return e[0](i);
|
|
78
49
|
}
|
|
79
50
|
}
|
|
80
|
-
function
|
|
81
|
-
return e[1] && r ?
|
|
51
|
+
function Ct(e, t, n, r) {
|
|
52
|
+
return e[1] && r ? Tn(n.ctx.slice(), e[1](r(t))) : n.ctx;
|
|
82
53
|
}
|
|
83
|
-
function
|
|
54
|
+
function fo(e, t, n, r) {
|
|
84
55
|
if (e[2] && r) {
|
|
85
56
|
const i = e[2](r(n));
|
|
86
57
|
if (t.dirty === void 0)
|
|
87
58
|
return i;
|
|
88
59
|
if (typeof i == "object") {
|
|
89
|
-
const o = [],
|
|
90
|
-
for (let
|
|
91
|
-
o[
|
|
60
|
+
const o = [], a = Math.max(t.dirty.length, i.length);
|
|
61
|
+
for (let s = 0; s < a; s += 1)
|
|
62
|
+
o[s] = t.dirty[s] | i[s];
|
|
92
63
|
return o;
|
|
93
64
|
}
|
|
94
65
|
return t.dirty | i;
|
|
95
66
|
}
|
|
96
67
|
return t.dirty;
|
|
97
68
|
}
|
|
98
|
-
function
|
|
69
|
+
function co(e, t, n, r, i, o) {
|
|
99
70
|
if (i) {
|
|
100
|
-
const
|
|
101
|
-
e.p(
|
|
71
|
+
const a = Ct(t, n, r, o);
|
|
72
|
+
e.p(a, i);
|
|
102
73
|
}
|
|
103
74
|
}
|
|
104
|
-
function
|
|
75
|
+
function po(e) {
|
|
105
76
|
if (e.ctx.length > 32) {
|
|
106
77
|
const t = [], n = e.ctx.length / 32;
|
|
107
78
|
for (let r = 0; r < n; r++)
|
|
@@ -110,46 +81,46 @@ function Ho(e) {
|
|
|
110
81
|
}
|
|
111
82
|
return -1;
|
|
112
83
|
}
|
|
113
|
-
function
|
|
114
|
-
return e
|
|
84
|
+
function mo(e) {
|
|
85
|
+
return e ?? "";
|
|
115
86
|
}
|
|
116
|
-
function
|
|
117
|
-
return e &&
|
|
87
|
+
function bo(e) {
|
|
88
|
+
return e && le(e.destroy) ? e.destroy : B;
|
|
118
89
|
}
|
|
119
|
-
const
|
|
120
|
-
let
|
|
121
|
-
const
|
|
122
|
-
function
|
|
123
|
-
|
|
124
|
-
t.c(e) || (
|
|
125
|
-
}),
|
|
90
|
+
const Mt = typeof window < "u";
|
|
91
|
+
let Bn = Mt ? () => window.performance.now() : () => Date.now(), tt = Mt ? (e) => requestAnimationFrame(e) : B;
|
|
92
|
+
const W = /* @__PURE__ */ new Set();
|
|
93
|
+
function $t(e) {
|
|
94
|
+
W.forEach((t) => {
|
|
95
|
+
t.c(e) || (W.delete(t), t.f());
|
|
96
|
+
}), W.size !== 0 && tt($t);
|
|
126
97
|
}
|
|
127
|
-
function
|
|
98
|
+
function An(e) {
|
|
128
99
|
let t;
|
|
129
|
-
return
|
|
100
|
+
return W.size === 0 && tt($t), {
|
|
130
101
|
promise: new Promise((n) => {
|
|
131
|
-
|
|
102
|
+
W.add(t = { c: e, f: n });
|
|
132
103
|
}),
|
|
133
104
|
abort() {
|
|
134
|
-
|
|
105
|
+
W.delete(t);
|
|
135
106
|
}
|
|
136
107
|
};
|
|
137
108
|
}
|
|
138
|
-
const
|
|
109
|
+
const go = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
|
|
139
110
|
// @ts-ignore Node typings have this
|
|
140
111
|
global
|
|
141
112
|
);
|
|
142
113
|
function P(e, t) {
|
|
143
114
|
e.appendChild(t);
|
|
144
115
|
}
|
|
145
|
-
function
|
|
146
|
-
const r =
|
|
116
|
+
function Pn(e, t, n) {
|
|
117
|
+
const r = nt(e);
|
|
147
118
|
if (!r.getElementById(t)) {
|
|
148
|
-
const i =
|
|
149
|
-
i.id = t, i.textContent = n,
|
|
119
|
+
const i = L("style");
|
|
120
|
+
i.id = t, i.textContent = n, Rt(r, i);
|
|
150
121
|
}
|
|
151
122
|
}
|
|
152
|
-
function
|
|
123
|
+
function nt(e) {
|
|
153
124
|
if (!e) return document;
|
|
154
125
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
155
126
|
return t && /** @type {ShadowRoot} */
|
|
@@ -158,46 +129,46 @@ function it(e) {
|
|
|
158
129
|
t
|
|
159
130
|
) : e.ownerDocument;
|
|
160
131
|
}
|
|
161
|
-
function
|
|
162
|
-
const t =
|
|
163
|
-
return t.textContent = "/* empty */",
|
|
132
|
+
function On(e) {
|
|
133
|
+
const t = L("style");
|
|
134
|
+
return t.textContent = "/* empty */", Rt(nt(e), t), t.sheet;
|
|
164
135
|
}
|
|
165
|
-
function
|
|
136
|
+
function Rt(e, t) {
|
|
166
137
|
return P(
|
|
167
138
|
/** @type {Document} */
|
|
168
139
|
e.head || e,
|
|
169
140
|
t
|
|
170
141
|
), t.sheet;
|
|
171
142
|
}
|
|
172
|
-
function
|
|
143
|
+
function he(e, t, n) {
|
|
173
144
|
e.insertBefore(t, n || null);
|
|
174
145
|
}
|
|
175
|
-
function
|
|
146
|
+
function F(e) {
|
|
176
147
|
e.parentNode && e.parentNode.removeChild(e);
|
|
177
148
|
}
|
|
178
|
-
function
|
|
149
|
+
function yo(e, t) {
|
|
179
150
|
for (let n = 0; n < e.length; n += 1)
|
|
180
151
|
e[n] && e[n].d(t);
|
|
181
152
|
}
|
|
182
|
-
function
|
|
153
|
+
function L(e) {
|
|
183
154
|
return document.createElement(e);
|
|
184
155
|
}
|
|
185
|
-
function
|
|
156
|
+
function ne(e) {
|
|
186
157
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
187
158
|
}
|
|
188
|
-
function
|
|
159
|
+
function fe(e) {
|
|
189
160
|
return document.createTextNode(e);
|
|
190
161
|
}
|
|
191
|
-
function
|
|
192
|
-
return
|
|
162
|
+
function In() {
|
|
163
|
+
return fe(" ");
|
|
193
164
|
}
|
|
194
|
-
function
|
|
195
|
-
return
|
|
165
|
+
function _o() {
|
|
166
|
+
return fe("");
|
|
196
167
|
}
|
|
197
|
-
function
|
|
168
|
+
function Ut(e, t, n, r) {
|
|
198
169
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
199
170
|
}
|
|
200
|
-
function
|
|
171
|
+
function vo(e) {
|
|
201
172
|
return function(t) {
|
|
202
173
|
return t.preventDefault(), e.call(this, t);
|
|
203
174
|
};
|
|
@@ -205,11 +176,11 @@ function Lo(e) {
|
|
|
205
176
|
function A(e, t, n) {
|
|
206
177
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
207
178
|
}
|
|
208
|
-
function
|
|
179
|
+
function xo(e, t, n) {
|
|
209
180
|
const r = t.toLowerCase();
|
|
210
181
|
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : A(e, t, n);
|
|
211
182
|
}
|
|
212
|
-
function
|
|
183
|
+
function Eo(e) {
|
|
213
184
|
let t;
|
|
214
185
|
return {
|
|
215
186
|
/* push */
|
|
@@ -222,23 +193,23 @@ function Co(e) {
|
|
|
222
193
|
}
|
|
223
194
|
};
|
|
224
195
|
}
|
|
225
|
-
function
|
|
196
|
+
function So(e) {
|
|
226
197
|
return e === "" ? null : +e;
|
|
227
198
|
}
|
|
228
|
-
function
|
|
199
|
+
function Ln(e) {
|
|
229
200
|
return Array.from(e.childNodes);
|
|
230
201
|
}
|
|
231
|
-
function
|
|
202
|
+
function Dt(e, t) {
|
|
232
203
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
233
204
|
t);
|
|
234
205
|
}
|
|
235
|
-
function
|
|
236
|
-
e.value = t
|
|
206
|
+
function To(e, t) {
|
|
207
|
+
e.value = t ?? "";
|
|
237
208
|
}
|
|
238
|
-
function
|
|
209
|
+
function Nn(e, t, n, r) {
|
|
239
210
|
n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
|
|
240
211
|
}
|
|
241
|
-
function
|
|
212
|
+
function wo(e, t, n) {
|
|
242
213
|
for (let r = 0; r < e.options.length; r += 1) {
|
|
243
214
|
const i = e.options[r];
|
|
244
215
|
if (i.__value === t) {
|
|
@@ -248,17 +219,17 @@ function Ro(e, t, n) {
|
|
|
248
219
|
}
|
|
249
220
|
(!n || t !== void 0) && (e.selectedIndex = -1);
|
|
250
221
|
}
|
|
251
|
-
function
|
|
222
|
+
function Ho(e) {
|
|
252
223
|
const t = e.querySelector(":checked");
|
|
253
224
|
return t && t.__value;
|
|
254
225
|
}
|
|
255
|
-
function
|
|
226
|
+
function Bo(e, t, n) {
|
|
256
227
|
e.classList.toggle(t, !!n);
|
|
257
228
|
}
|
|
258
|
-
function
|
|
229
|
+
function Cn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
|
|
259
230
|
return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
|
|
260
231
|
}
|
|
261
|
-
function
|
|
232
|
+
function Mn(e) {
|
|
262
233
|
const t = {};
|
|
263
234
|
return e.childNodes.forEach(
|
|
264
235
|
/** @param {Element} node */
|
|
@@ -267,154 +238,154 @@ function Wn(e) {
|
|
|
267
238
|
}
|
|
268
239
|
), t;
|
|
269
240
|
}
|
|
270
|
-
const
|
|
271
|
-
let
|
|
272
|
-
function
|
|
241
|
+
const Ee = /* @__PURE__ */ new Map();
|
|
242
|
+
let Se = 0;
|
|
243
|
+
function $n(e) {
|
|
273
244
|
let t = 5381, n = e.length;
|
|
274
245
|
for (; n--; ) t = (t << 5) - t ^ e.charCodeAt(n);
|
|
275
246
|
return t >>> 0;
|
|
276
247
|
}
|
|
277
|
-
function
|
|
278
|
-
const n = { stylesheet:
|
|
279
|
-
return
|
|
248
|
+
function Rn(e, t) {
|
|
249
|
+
const n = { stylesheet: On(t), rules: {} };
|
|
250
|
+
return Ee.set(e, n), n;
|
|
280
251
|
}
|
|
281
|
-
function
|
|
252
|
+
function at(e, t, n, r, i, o, a, s = 0) {
|
|
282
253
|
const u = 16.666 / r;
|
|
283
254
|
let l = `{
|
|
284
255
|
`;
|
|
285
256
|
for (let x = 0; x <= 1; x += u) {
|
|
286
257
|
const T = t + (n - t) * o(x);
|
|
287
|
-
l += x * 100 + `%{${
|
|
258
|
+
l += x * 100 + `%{${a(T, 1 - T)}}
|
|
288
259
|
`;
|
|
289
260
|
}
|
|
290
|
-
const h = l + `100% {${
|
|
291
|
-
}`, f = `__svelte_${
|
|
261
|
+
const h = l + `100% {${a(n, 1 - n)}}
|
|
262
|
+
}`, f = `__svelte_${$n(h)}_${s}`, c = nt(e), { stylesheet: d, rules: p } = Ee.get(c) || Rn(c, e);
|
|
292
263
|
p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
|
|
293
264
|
const m = e.style.animation || "";
|
|
294
|
-
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`,
|
|
265
|
+
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, Se += 1, f;
|
|
295
266
|
}
|
|
296
|
-
function
|
|
267
|
+
function Un(e, t) {
|
|
297
268
|
const n = (e.style.animation || "").split(", "), r = n.filter(
|
|
298
269
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
299
270
|
// remove all Svelte animations
|
|
300
271
|
), i = n.length - r.length;
|
|
301
|
-
i && (e.style.animation = r.join(", "),
|
|
272
|
+
i && (e.style.animation = r.join(", "), Se -= i, Se || Dn());
|
|
302
273
|
}
|
|
303
|
-
function
|
|
304
|
-
|
|
305
|
-
|
|
274
|
+
function Dn() {
|
|
275
|
+
tt(() => {
|
|
276
|
+
Se || (Ee.forEach((e) => {
|
|
306
277
|
const { ownerNode: t } = e.stylesheet;
|
|
307
|
-
t &&
|
|
308
|
-
}),
|
|
278
|
+
t && F(t);
|
|
279
|
+
}), Ee.clear());
|
|
309
280
|
});
|
|
310
281
|
}
|
|
311
|
-
let
|
|
312
|
-
function
|
|
313
|
-
|
|
282
|
+
let se;
|
|
283
|
+
function oe(e) {
|
|
284
|
+
se = e;
|
|
314
285
|
}
|
|
315
|
-
function
|
|
316
|
-
if (!
|
|
317
|
-
return
|
|
286
|
+
function Gn() {
|
|
287
|
+
if (!se) throw new Error("Function called outside component initialization");
|
|
288
|
+
return se;
|
|
318
289
|
}
|
|
319
|
-
function
|
|
320
|
-
|
|
290
|
+
function Ao(e) {
|
|
291
|
+
Gn().$$.on_mount.push(e);
|
|
321
292
|
}
|
|
322
|
-
const
|
|
323
|
-
let
|
|
324
|
-
const
|
|
325
|
-
let
|
|
326
|
-
function
|
|
327
|
-
|
|
293
|
+
const X = [], Ge = [];
|
|
294
|
+
let z = [];
|
|
295
|
+
const ut = [], Gt = /* @__PURE__ */ Promise.resolve();
|
|
296
|
+
let Fe = !1;
|
|
297
|
+
function Ft() {
|
|
298
|
+
Fe || (Fe = !0, Gt.then(N));
|
|
328
299
|
}
|
|
329
|
-
function
|
|
330
|
-
return
|
|
300
|
+
function Po() {
|
|
301
|
+
return Ft(), Gt;
|
|
331
302
|
}
|
|
332
|
-
function
|
|
333
|
-
|
|
303
|
+
function Te(e) {
|
|
304
|
+
z.push(e);
|
|
334
305
|
}
|
|
335
|
-
const
|
|
336
|
-
let
|
|
337
|
-
function
|
|
338
|
-
if (
|
|
306
|
+
const Le = /* @__PURE__ */ new Set();
|
|
307
|
+
let k = 0;
|
|
308
|
+
function N() {
|
|
309
|
+
if (k !== 0)
|
|
339
310
|
return;
|
|
340
|
-
const e =
|
|
311
|
+
const e = se;
|
|
341
312
|
do {
|
|
342
313
|
try {
|
|
343
|
-
for (;
|
|
344
|
-
const t =
|
|
345
|
-
|
|
314
|
+
for (; k < X.length; ) {
|
|
315
|
+
const t = X[k];
|
|
316
|
+
k++, oe(t), Fn(t.$$);
|
|
346
317
|
}
|
|
347
318
|
} catch (t) {
|
|
348
|
-
throw
|
|
319
|
+
throw X.length = 0, k = 0, t;
|
|
349
320
|
}
|
|
350
|
-
for (
|
|
351
|
-
for (let t = 0; t <
|
|
352
|
-
const n =
|
|
353
|
-
|
|
321
|
+
for (oe(null), X.length = 0, k = 0; Ge.length; ) Ge.pop()();
|
|
322
|
+
for (let t = 0; t < z.length; t += 1) {
|
|
323
|
+
const n = z[t];
|
|
324
|
+
Le.has(n) || (Le.add(n), n());
|
|
354
325
|
}
|
|
355
|
-
|
|
356
|
-
} while (
|
|
357
|
-
for (;
|
|
358
|
-
|
|
359
|
-
|
|
326
|
+
z.length = 0;
|
|
327
|
+
} while (X.length);
|
|
328
|
+
for (; ut.length; )
|
|
329
|
+
ut.pop()();
|
|
330
|
+
Fe = !1, Le.clear(), oe(e);
|
|
360
331
|
}
|
|
361
|
-
function
|
|
332
|
+
function Fn(e) {
|
|
362
333
|
if (e.fragment !== null) {
|
|
363
|
-
e.update(),
|
|
334
|
+
e.update(), G(e.before_update);
|
|
364
335
|
const t = e.dirty;
|
|
365
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
336
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
|
|
366
337
|
}
|
|
367
338
|
}
|
|
368
|
-
function
|
|
339
|
+
function jn(e) {
|
|
369
340
|
const t = [], n = [];
|
|
370
|
-
|
|
341
|
+
z.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), z = t;
|
|
371
342
|
}
|
|
372
|
-
let
|
|
373
|
-
function
|
|
374
|
-
return
|
|
375
|
-
|
|
376
|
-
})),
|
|
343
|
+
let re;
|
|
344
|
+
function kn() {
|
|
345
|
+
return re || (re = Promise.resolve(), re.then(() => {
|
|
346
|
+
re = null;
|
|
347
|
+
})), re;
|
|
377
348
|
}
|
|
378
|
-
function
|
|
379
|
-
e.dispatchEvent(
|
|
349
|
+
function Ne(e, t, n) {
|
|
350
|
+
e.dispatchEvent(Cn(`${t ? "intro" : "outro"}${n}`));
|
|
380
351
|
}
|
|
381
|
-
const
|
|
382
|
-
let
|
|
383
|
-
function
|
|
384
|
-
|
|
352
|
+
const ge = /* @__PURE__ */ new Set();
|
|
353
|
+
let C;
|
|
354
|
+
function Oo() {
|
|
355
|
+
C = {
|
|
385
356
|
r: 0,
|
|
386
357
|
c: [],
|
|
387
|
-
p:
|
|
358
|
+
p: C
|
|
388
359
|
// parent group
|
|
389
360
|
};
|
|
390
361
|
}
|
|
391
|
-
function
|
|
392
|
-
|
|
362
|
+
function Io() {
|
|
363
|
+
C.r || G(C.c), C = C.p;
|
|
393
364
|
}
|
|
394
|
-
function
|
|
395
|
-
e && e.i && (
|
|
365
|
+
function Vn(e, t) {
|
|
366
|
+
e && e.i && (ge.delete(e), e.i(t));
|
|
396
367
|
}
|
|
397
|
-
function
|
|
368
|
+
function Lo(e, t, n, r) {
|
|
398
369
|
if (e && e.o) {
|
|
399
|
-
if (
|
|
400
|
-
|
|
401
|
-
|
|
370
|
+
if (ge.has(e)) return;
|
|
371
|
+
ge.add(e), C.c.push(() => {
|
|
372
|
+
ge.delete(e), r && (n && e.d(1), r());
|
|
402
373
|
}), e.o(t);
|
|
403
374
|
} else r && r();
|
|
404
375
|
}
|
|
405
|
-
const
|
|
406
|
-
function
|
|
407
|
-
let o = t(e, n, { direction: "both" }),
|
|
376
|
+
const Xn = { duration: 0 };
|
|
377
|
+
function No(e, t, n, r) {
|
|
378
|
+
let o = t(e, n, { direction: "both" }), a = r ? 0 : 1, s = null, u = null, l = null, h;
|
|
408
379
|
function f() {
|
|
409
|
-
l &&
|
|
380
|
+
l && Un(e, l);
|
|
410
381
|
}
|
|
411
382
|
function c(p, m) {
|
|
412
383
|
const x = (
|
|
413
384
|
/** @type {Program['d']} */
|
|
414
|
-
p.b -
|
|
385
|
+
p.b - a
|
|
415
386
|
);
|
|
416
387
|
return m *= Math.abs(x), {
|
|
417
|
-
a
|
|
388
|
+
a,
|
|
418
389
|
b: p.b,
|
|
419
390
|
d: x,
|
|
420
391
|
duration: m,
|
|
@@ -427,65 +398,65 @@ function Xo(e, t, n, r) {
|
|
|
427
398
|
const {
|
|
428
399
|
delay: m = 0,
|
|
429
400
|
duration: x = 300,
|
|
430
|
-
easing: T =
|
|
401
|
+
easing: T = Sn,
|
|
431
402
|
tick: w = B,
|
|
432
403
|
css: E
|
|
433
|
-
} = o ||
|
|
434
|
-
start:
|
|
404
|
+
} = o || Xn, O = {
|
|
405
|
+
start: Bn() + m,
|
|
435
406
|
b: p
|
|
436
407
|
};
|
|
437
|
-
p || (
|
|
438
|
-
e.inert, e.inert = !0)),
|
|
439
|
-
if (u && H > u.start && (
|
|
408
|
+
p || (O.group = C, C.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
409
|
+
e.inert, e.inert = !0)), s || u ? u = O : (E && (f(), l = at(e, a, p, x, m, T, E)), p && w(0, 1), s = c(O, x), Te(() => Ne(e, p, "start")), An((H) => {
|
|
410
|
+
if (u && H > u.start && (s = c(u, x), u = null, Ne(e, s.b, "start"), E && (f(), l = at(
|
|
440
411
|
e,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
412
|
+
a,
|
|
413
|
+
s.b,
|
|
414
|
+
s.duration,
|
|
444
415
|
0,
|
|
445
416
|
T,
|
|
446
417
|
o.css
|
|
447
|
-
))),
|
|
448
|
-
if (H >=
|
|
449
|
-
w(
|
|
450
|
-
else if (H >=
|
|
451
|
-
const
|
|
452
|
-
|
|
418
|
+
))), s) {
|
|
419
|
+
if (H >= s.end)
|
|
420
|
+
w(a = s.b, 1 - a), Ne(e, s.b, "end"), u || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
|
|
421
|
+
else if (H >= s.start) {
|
|
422
|
+
const R = H - s.start;
|
|
423
|
+
a = s.a + s.d * T(R / s.duration), w(a, 1 - a);
|
|
453
424
|
}
|
|
454
425
|
}
|
|
455
|
-
return !!(
|
|
426
|
+
return !!(s || u);
|
|
456
427
|
}));
|
|
457
428
|
}
|
|
458
429
|
return {
|
|
459
430
|
run(p) {
|
|
460
|
-
|
|
431
|
+
le(o) ? kn().then(() => {
|
|
461
432
|
o = o({ direction: p ? "in" : "out" }), d(p);
|
|
462
433
|
}) : d(p);
|
|
463
434
|
},
|
|
464
435
|
end() {
|
|
465
|
-
f(),
|
|
436
|
+
f(), s = u = null;
|
|
466
437
|
}
|
|
467
438
|
};
|
|
468
439
|
}
|
|
469
|
-
function
|
|
470
|
-
return
|
|
440
|
+
function Co(e) {
|
|
441
|
+
return e?.length !== void 0 ? e : Array.from(e);
|
|
471
442
|
}
|
|
472
|
-
function
|
|
443
|
+
function Wn(e, t, n) {
|
|
473
444
|
const { fragment: r, after_update: i } = e.$$;
|
|
474
|
-
r && r.m(t, n),
|
|
475
|
-
const o = e.$$.on_mount.map(
|
|
476
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
477
|
-
}), i.forEach(
|
|
445
|
+
r && r.m(t, n), Te(() => {
|
|
446
|
+
const o = e.$$.on_mount.map(It).filter(le);
|
|
447
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
|
|
448
|
+
}), i.forEach(Te);
|
|
478
449
|
}
|
|
479
|
-
function
|
|
450
|
+
function zn(e, t) {
|
|
480
451
|
const n = e.$$;
|
|
481
|
-
n.fragment !== null && (
|
|
452
|
+
n.fragment !== null && (jn(n.after_update), G(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
482
453
|
}
|
|
483
|
-
function
|
|
484
|
-
e.$$.dirty[0] === -1 && (
|
|
454
|
+
function Zn(e, t) {
|
|
455
|
+
e.$$.dirty[0] === -1 && (X.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
485
456
|
}
|
|
486
|
-
function
|
|
487
|
-
const u =
|
|
488
|
-
|
|
457
|
+
function qn(e, t, n, r, i, o, a = null, s = [-1]) {
|
|
458
|
+
const u = se;
|
|
459
|
+
oe(e);
|
|
489
460
|
const l = e.$$ = {
|
|
490
461
|
fragment: null,
|
|
491
462
|
ctx: [],
|
|
@@ -493,7 +464,7 @@ function sr(e, t, n, r, i, o, s = null, a = [-1]) {
|
|
|
493
464
|
props: o,
|
|
494
465
|
update: B,
|
|
495
466
|
not_equal: i,
|
|
496
|
-
bound:
|
|
467
|
+
bound: st(),
|
|
497
468
|
// lifecycle
|
|
498
469
|
on_mount: [],
|
|
499
470
|
on_destroy: [],
|
|
@@ -502,150 +473,146 @@ function sr(e, t, n, r, i, o, s = null, a = [-1]) {
|
|
|
502
473
|
after_update: [],
|
|
503
474
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
504
475
|
// everything else
|
|
505
|
-
callbacks:
|
|
506
|
-
dirty:
|
|
476
|
+
callbacks: st(),
|
|
477
|
+
dirty: s,
|
|
507
478
|
skip_bound: !1,
|
|
508
479
|
root: t.target || u.$$.root
|
|
509
480
|
};
|
|
510
|
-
|
|
481
|
+
a && a(l.root);
|
|
511
482
|
let h = !1;
|
|
512
483
|
if (l.ctx = n ? n(e, t.props || {}, (f, c, ...d) => {
|
|
513
484
|
const p = d.length ? d[0] : c;
|
|
514
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), h &&
|
|
515
|
-
}) : [], l.update(), h = !0,
|
|
485
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), h && Zn(e, f)), c;
|
|
486
|
+
}) : [], l.update(), h = !0, G(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
|
|
516
487
|
if (t.hydrate) {
|
|
517
|
-
const f =
|
|
518
|
-
l.fragment && l.fragment.l(f), f.forEach(
|
|
488
|
+
const f = Ln(t.target);
|
|
489
|
+
l.fragment && l.fragment.l(f), f.forEach(F);
|
|
519
490
|
} else
|
|
520
491
|
l.fragment && l.fragment.c();
|
|
521
|
-
t.intro &&
|
|
492
|
+
t.intro && Vn(e.$$.fragment), Wn(e, t.target, t.anchor), N();
|
|
522
493
|
}
|
|
523
|
-
|
|
524
|
-
}
|
|
525
|
-
let
|
|
526
|
-
typeof HTMLElement == "function" && (
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
|
|
494
|
+
oe(u);
|
|
495
|
+
}
|
|
496
|
+
let jt;
|
|
497
|
+
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
498
|
+
/** The Svelte component constructor */
|
|
499
|
+
$$ctor;
|
|
500
|
+
/** Slots */
|
|
501
|
+
$$s;
|
|
502
|
+
/** The Svelte component instance */
|
|
503
|
+
$$c;
|
|
504
|
+
/** Whether or not the custom element is connected */
|
|
505
|
+
$$cn = !1;
|
|
506
|
+
/** Component props data */
|
|
507
|
+
$$d = {};
|
|
508
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
509
|
+
$$r = !1;
|
|
510
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
511
|
+
$$p_d = {};
|
|
512
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
513
|
+
$$l = {};
|
|
514
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
515
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
516
|
+
constructor(e, t, n) {
|
|
517
|
+
super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
|
|
548
518
|
}
|
|
549
|
-
addEventListener(t, n
|
|
550
|
-
if (this.$$l[
|
|
551
|
-
const
|
|
552
|
-
this.$$l_u.set(
|
|
519
|
+
addEventListener(e, t, n) {
|
|
520
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
521
|
+
const r = this.$$c.$on(e, t);
|
|
522
|
+
this.$$l_u.set(t, r);
|
|
553
523
|
}
|
|
554
|
-
super.addEventListener(t, n
|
|
524
|
+
super.addEventListener(e, t, n);
|
|
555
525
|
}
|
|
556
|
-
removeEventListener(t, n
|
|
557
|
-
if (super.removeEventListener(t, n
|
|
558
|
-
const
|
|
559
|
-
|
|
526
|
+
removeEventListener(e, t, n) {
|
|
527
|
+
if (super.removeEventListener(e, t, n), this.$$c) {
|
|
528
|
+
const r = this.$$l_u.get(t);
|
|
529
|
+
r && (r(), this.$$l_u.delete(t));
|
|
560
530
|
}
|
|
561
531
|
}
|
|
562
|
-
connectedCallback() {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
}
|
|
582
|
-
};
|
|
532
|
+
async connectedCallback() {
|
|
533
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
534
|
+
let e = function(i) {
|
|
535
|
+
return () => {
|
|
536
|
+
let o;
|
|
537
|
+
return {
|
|
538
|
+
c: function() {
|
|
539
|
+
o = L("slot"), i !== "default" && A(o, "name", i);
|
|
540
|
+
},
|
|
541
|
+
/**
|
|
542
|
+
* @param {HTMLElement} target
|
|
543
|
+
* @param {HTMLElement} [anchor]
|
|
544
|
+
*/
|
|
545
|
+
m: function(u, l) {
|
|
546
|
+
he(u, o, l);
|
|
547
|
+
},
|
|
548
|
+
d: function(u) {
|
|
549
|
+
u && F(o);
|
|
550
|
+
}
|
|
583
551
|
};
|
|
584
552
|
};
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
553
|
+
};
|
|
554
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
555
|
+
return;
|
|
556
|
+
const t = {}, n = Mn(this);
|
|
557
|
+
for (const i of this.$$s)
|
|
558
|
+
i in n && (t[i] = [e(i)]);
|
|
559
|
+
for (const i of this.attributes) {
|
|
560
|
+
const o = this.$$g_p(i.name);
|
|
561
|
+
o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
|
|
562
|
+
}
|
|
563
|
+
for (const i in this.$$p_d)
|
|
564
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
565
|
+
this.$$c = new this.$$ctor({
|
|
566
|
+
target: this.shadowRoot || this,
|
|
567
|
+
props: {
|
|
568
|
+
...this.$$d,
|
|
569
|
+
$$slots: t,
|
|
570
|
+
$$scope: {
|
|
571
|
+
ctx: []
|
|
572
|
+
}
|
|
593
573
|
}
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
this.$$
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
this.$$r = !0;
|
|
607
|
-
for (const o in this.$$p_d)
|
|
608
|
-
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
609
|
-
const s = _e(
|
|
610
|
-
o,
|
|
611
|
-
this.$$d[o],
|
|
612
|
-
this.$$p_d,
|
|
613
|
-
"toAttribute"
|
|
614
|
-
);
|
|
615
|
-
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
|
616
|
-
}
|
|
617
|
-
this.$$r = !1;
|
|
618
|
-
};
|
|
619
|
-
this.$$c.$$.after_update.push(i), i();
|
|
620
|
-
for (const o in this.$$l)
|
|
621
|
-
for (const s of this.$$l[o]) {
|
|
622
|
-
const a = this.$$c.$on(o, s);
|
|
623
|
-
this.$$l_u.set(s, a);
|
|
574
|
+
});
|
|
575
|
+
const r = () => {
|
|
576
|
+
this.$$r = !0;
|
|
577
|
+
for (const i in this.$$p_d)
|
|
578
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
579
|
+
const o = ye(
|
|
580
|
+
i,
|
|
581
|
+
this.$$d[i],
|
|
582
|
+
this.$$p_d,
|
|
583
|
+
"toAttribute"
|
|
584
|
+
);
|
|
585
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
624
586
|
}
|
|
625
|
-
this.$$
|
|
626
|
-
}
|
|
627
|
-
|
|
587
|
+
this.$$r = !1;
|
|
588
|
+
};
|
|
589
|
+
this.$$c.$$.after_update.push(r), r();
|
|
590
|
+
for (const i in this.$$l)
|
|
591
|
+
for (const o of this.$$l[i]) {
|
|
592
|
+
const a = this.$$c.$on(i, o);
|
|
593
|
+
this.$$l_u.set(o, a);
|
|
594
|
+
}
|
|
595
|
+
this.$$l = {};
|
|
596
|
+
}
|
|
628
597
|
}
|
|
629
598
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
630
599
|
// and setting attributes through setAttribute etc, this is helpful
|
|
631
|
-
attributeChangedCallback(t, n
|
|
632
|
-
|
|
633
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
600
|
+
attributeChangedCallback(e, t, n) {
|
|
601
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
634
602
|
}
|
|
635
603
|
disconnectedCallback() {
|
|
636
604
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
637
605
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
638
606
|
});
|
|
639
607
|
}
|
|
640
|
-
$$g_p(
|
|
608
|
+
$$g_p(e) {
|
|
641
609
|
return Object.keys(this.$$p_d).find(
|
|
642
|
-
(
|
|
643
|
-
) ||
|
|
610
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
|
611
|
+
) || e;
|
|
644
612
|
}
|
|
645
613
|
});
|
|
646
|
-
function
|
|
647
|
-
|
|
648
|
-
const i = (o = n[e]) == null ? void 0 : o.type;
|
|
614
|
+
function ye(e, t, n, r) {
|
|
615
|
+
const i = n[e]?.type;
|
|
649
616
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
650
617
|
return t;
|
|
651
618
|
if (r === "toAttribute")
|
|
@@ -656,7 +623,7 @@ function _e(e, t, n, r) {
|
|
|
656
623
|
case "Boolean":
|
|
657
624
|
return t ? "" : null;
|
|
658
625
|
case "Number":
|
|
659
|
-
return t
|
|
626
|
+
return t ?? null;
|
|
660
627
|
default:
|
|
661
628
|
return t;
|
|
662
629
|
}
|
|
@@ -673,59 +640,55 @@ function _e(e, t, n, r) {
|
|
|
673
640
|
return t;
|
|
674
641
|
}
|
|
675
642
|
}
|
|
676
|
-
function
|
|
677
|
-
let
|
|
643
|
+
function Qn(e, t, n, r, i, o) {
|
|
644
|
+
let a = class extends jt {
|
|
678
645
|
constructor() {
|
|
679
646
|
super(e, n, i), this.$$p_d = t;
|
|
680
647
|
}
|
|
681
648
|
static get observedAttributes() {
|
|
682
649
|
return Object.keys(t).map(
|
|
683
|
-
(
|
|
650
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
684
651
|
);
|
|
685
652
|
}
|
|
686
653
|
};
|
|
687
|
-
return Object.keys(t).forEach((
|
|
688
|
-
Object.defineProperty(
|
|
654
|
+
return Object.keys(t).forEach((s) => {
|
|
655
|
+
Object.defineProperty(a.prototype, s, {
|
|
689
656
|
get() {
|
|
690
|
-
return this.$$c &&
|
|
657
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
691
658
|
},
|
|
692
659
|
set(u) {
|
|
693
|
-
|
|
694
|
-
u = _e(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
|
660
|
+
u = ye(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
|
|
695
661
|
}
|
|
696
662
|
});
|
|
697
|
-
}), r.forEach((
|
|
698
|
-
Object.defineProperty(
|
|
663
|
+
}), r.forEach((s) => {
|
|
664
|
+
Object.defineProperty(a.prototype, s, {
|
|
699
665
|
get() {
|
|
700
|
-
|
|
701
|
-
return (u = this.$$c) == null ? void 0 : u[a];
|
|
666
|
+
return this.$$c?.[s];
|
|
702
667
|
}
|
|
703
668
|
});
|
|
704
669
|
}), e.element = /** @type {any} */
|
|
705
|
-
|
|
706
|
-
}
|
|
707
|
-
class
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
O(this, "$$set");
|
|
725
|
-
}
|
|
670
|
+
a, a;
|
|
671
|
+
}
|
|
672
|
+
class Jn {
|
|
673
|
+
/**
|
|
674
|
+
* ### PRIVATE API
|
|
675
|
+
*
|
|
676
|
+
* Do not use, may change at any time
|
|
677
|
+
*
|
|
678
|
+
* @type {any}
|
|
679
|
+
*/
|
|
680
|
+
$$ = void 0;
|
|
681
|
+
/**
|
|
682
|
+
* ### PRIVATE API
|
|
683
|
+
*
|
|
684
|
+
* Do not use, may change at any time
|
|
685
|
+
*
|
|
686
|
+
* @type {any}
|
|
687
|
+
*/
|
|
688
|
+
$$set = void 0;
|
|
726
689
|
/** @returns {void} */
|
|
727
690
|
$destroy() {
|
|
728
|
-
|
|
691
|
+
zn(this, 1), this.$destroy = B;
|
|
729
692
|
}
|
|
730
693
|
/**
|
|
731
694
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -734,7 +697,7 @@ class ur {
|
|
|
734
697
|
* @returns {() => void}
|
|
735
698
|
*/
|
|
736
699
|
$on(t, n) {
|
|
737
|
-
if (!
|
|
700
|
+
if (!le(n))
|
|
738
701
|
return B;
|
|
739
702
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
740
703
|
return r.push(n), () => {
|
|
@@ -747,22 +710,22 @@ class ur {
|
|
|
747
710
|
* @returns {void}
|
|
748
711
|
*/
|
|
749
712
|
$set(t) {
|
|
750
|
-
this.$$set &&
|
|
713
|
+
this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
751
714
|
}
|
|
752
715
|
}
|
|
753
|
-
const
|
|
754
|
-
typeof window
|
|
755
|
-
var
|
|
756
|
-
return
|
|
716
|
+
const Yn = "4";
|
|
717
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yn);
|
|
718
|
+
var je = function(e, t) {
|
|
719
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
757
720
|
n.__proto__ = r;
|
|
758
721
|
} || function(n, r) {
|
|
759
722
|
for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
760
|
-
},
|
|
723
|
+
}, je(e, t);
|
|
761
724
|
};
|
|
762
|
-
function
|
|
725
|
+
function $(e, t) {
|
|
763
726
|
if (typeof t != "function" && t !== null)
|
|
764
727
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
765
|
-
|
|
728
|
+
je(e, t);
|
|
766
729
|
function n() {
|
|
767
730
|
this.constructor = e;
|
|
768
731
|
}
|
|
@@ -777,7 +740,7 @@ var _ = function() {
|
|
|
777
740
|
return t;
|
|
778
741
|
}, _.apply(this, arguments);
|
|
779
742
|
};
|
|
780
|
-
function
|
|
743
|
+
function Kn(e, t) {
|
|
781
744
|
var n = {};
|
|
782
745
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
783
746
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -785,7 +748,7 @@ function hr(e, t) {
|
|
|
785
748
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
786
749
|
return n;
|
|
787
750
|
}
|
|
788
|
-
function
|
|
751
|
+
function ke(e) {
|
|
789
752
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
790
753
|
if (n) return n.call(e);
|
|
791
754
|
if (e && typeof e.length == "number") return {
|
|
@@ -795,38 +758,38 @@ function Xe(e) {
|
|
|
795
758
|
};
|
|
796
759
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
797
760
|
}
|
|
798
|
-
function
|
|
761
|
+
function Ve(e, t) {
|
|
799
762
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
800
763
|
if (!n) return e;
|
|
801
|
-
var r = n.call(e), i, o = [],
|
|
764
|
+
var r = n.call(e), i, o = [], a;
|
|
802
765
|
try {
|
|
803
766
|
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) o.push(i.value);
|
|
804
|
-
} catch (
|
|
805
|
-
|
|
767
|
+
} catch (s) {
|
|
768
|
+
a = { error: s };
|
|
806
769
|
} finally {
|
|
807
770
|
try {
|
|
808
771
|
i && !i.done && (n = r.return) && n.call(r);
|
|
809
772
|
} finally {
|
|
810
|
-
if (
|
|
773
|
+
if (a) throw a.error;
|
|
811
774
|
}
|
|
812
775
|
}
|
|
813
776
|
return o;
|
|
814
777
|
}
|
|
815
|
-
function
|
|
778
|
+
function Z(e, t, n) {
|
|
816
779
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
|
|
817
780
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
818
781
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
819
782
|
}
|
|
820
|
-
function
|
|
783
|
+
function M(e) {
|
|
821
784
|
return typeof e == "function";
|
|
822
785
|
}
|
|
823
|
-
function
|
|
786
|
+
function kt(e) {
|
|
824
787
|
var t = function(r) {
|
|
825
788
|
Error.call(r), r.stack = new Error().stack;
|
|
826
789
|
}, n = e(t);
|
|
827
790
|
return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
|
|
828
791
|
}
|
|
829
|
-
var
|
|
792
|
+
var Ce = kt(function(e) {
|
|
830
793
|
return function(n) {
|
|
831
794
|
e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
|
|
832
795
|
` + n.map(function(r, i) {
|
|
@@ -835,13 +798,13 @@ var $e = qt(function(e) {
|
|
|
835
798
|
`) : "", this.name = "UnsubscriptionError", this.errors = n;
|
|
836
799
|
};
|
|
837
800
|
});
|
|
838
|
-
function
|
|
801
|
+
function Xe(e, t) {
|
|
839
802
|
if (e) {
|
|
840
803
|
var n = e.indexOf(t);
|
|
841
804
|
0 <= n && e.splice(n, 1);
|
|
842
805
|
}
|
|
843
806
|
}
|
|
844
|
-
var
|
|
807
|
+
var Be = function() {
|
|
845
808
|
function e(t) {
|
|
846
809
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
847
810
|
}
|
|
@@ -849,11 +812,11 @@ var Ae = function() {
|
|
|
849
812
|
var t, n, r, i, o;
|
|
850
813
|
if (!this.closed) {
|
|
851
814
|
this.closed = !0;
|
|
852
|
-
var
|
|
853
|
-
if (
|
|
854
|
-
if (this._parentage = null, Array.isArray(
|
|
815
|
+
var a = this._parentage;
|
|
816
|
+
if (a)
|
|
817
|
+
if (this._parentage = null, Array.isArray(a))
|
|
855
818
|
try {
|
|
856
|
-
for (var
|
|
819
|
+
for (var s = ke(a), u = s.next(); !u.done; u = s.next()) {
|
|
857
820
|
var l = u.value;
|
|
858
821
|
l.remove(this);
|
|
859
822
|
}
|
|
@@ -861,30 +824,30 @@ var Ae = function() {
|
|
|
861
824
|
t = { error: m };
|
|
862
825
|
} finally {
|
|
863
826
|
try {
|
|
864
|
-
u && !u.done && (n =
|
|
827
|
+
u && !u.done && (n = s.return) && n.call(s);
|
|
865
828
|
} finally {
|
|
866
829
|
if (t) throw t.error;
|
|
867
830
|
}
|
|
868
831
|
}
|
|
869
832
|
else
|
|
870
|
-
|
|
833
|
+
a.remove(this);
|
|
871
834
|
var h = this.initialTeardown;
|
|
872
|
-
if (
|
|
835
|
+
if (M(h))
|
|
873
836
|
try {
|
|
874
837
|
h();
|
|
875
838
|
} catch (m) {
|
|
876
|
-
o = m instanceof
|
|
839
|
+
o = m instanceof Ce ? m.errors : [m];
|
|
877
840
|
}
|
|
878
841
|
var f = this._finalizers;
|
|
879
842
|
if (f) {
|
|
880
843
|
this._finalizers = null;
|
|
881
844
|
try {
|
|
882
|
-
for (var c =
|
|
845
|
+
for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
|
|
883
846
|
var p = d.value;
|
|
884
847
|
try {
|
|
885
|
-
|
|
848
|
+
lt(p);
|
|
886
849
|
} catch (m) {
|
|
887
|
-
o = o
|
|
850
|
+
o = o ?? [], m instanceof Ce ? o = Z(Z([], Ve(o)), Ve(m.errors)) : o.push(m);
|
|
888
851
|
}
|
|
889
852
|
}
|
|
890
853
|
} catch (m) {
|
|
@@ -898,13 +861,13 @@ var Ae = function() {
|
|
|
898
861
|
}
|
|
899
862
|
}
|
|
900
863
|
if (o)
|
|
901
|
-
throw new
|
|
864
|
+
throw new Ce(o);
|
|
902
865
|
}
|
|
903
866
|
}, e.prototype.add = function(t) {
|
|
904
867
|
var n;
|
|
905
868
|
if (t && t !== this)
|
|
906
869
|
if (this.closed)
|
|
907
|
-
|
|
870
|
+
lt(t);
|
|
908
871
|
else {
|
|
909
872
|
if (t instanceof e) {
|
|
910
873
|
if (t.closed || t._hasParent(this))
|
|
@@ -921,56 +884,56 @@ var Ae = function() {
|
|
|
921
884
|
this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
|
|
922
885
|
}, e.prototype._removeParent = function(t) {
|
|
923
886
|
var n = this._parentage;
|
|
924
|
-
n === t ? this._parentage = null : Array.isArray(n) &&
|
|
887
|
+
n === t ? this._parentage = null : Array.isArray(n) && Xe(n, t);
|
|
925
888
|
}, e.prototype.remove = function(t) {
|
|
926
889
|
var n = this._finalizers;
|
|
927
|
-
n &&
|
|
890
|
+
n && Xe(n, t), t instanceof e && t._removeParent(this);
|
|
928
891
|
}, e.EMPTY = function() {
|
|
929
892
|
var t = new e();
|
|
930
893
|
return t.closed = !0, t;
|
|
931
894
|
}(), e;
|
|
932
|
-
}(),
|
|
933
|
-
function
|
|
934
|
-
return e instanceof
|
|
895
|
+
}(), Vt = Be.EMPTY;
|
|
896
|
+
function Xt(e) {
|
|
897
|
+
return e instanceof Be || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
|
|
935
898
|
}
|
|
936
|
-
function
|
|
937
|
-
|
|
899
|
+
function lt(e) {
|
|
900
|
+
M(e) ? e() : e.unsubscribe();
|
|
938
901
|
}
|
|
939
|
-
var
|
|
902
|
+
var er = {
|
|
940
903
|
onUnhandledError: null,
|
|
941
904
|
onStoppedNotification: null,
|
|
942
905
|
Promise: void 0,
|
|
943
906
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
944
907
|
useDeprecatedNextContext: !1
|
|
945
|
-
},
|
|
908
|
+
}, tr = {
|
|
946
909
|
setTimeout: function(e, t) {
|
|
947
910
|
for (var n = [], r = 2; r < arguments.length; r++)
|
|
948
911
|
n[r - 2] = arguments[r];
|
|
949
|
-
return setTimeout.apply(void 0,
|
|
912
|
+
return setTimeout.apply(void 0, Z([e, t], Ve(n)));
|
|
950
913
|
},
|
|
951
914
|
clearTimeout: function(e) {
|
|
952
915
|
return clearTimeout(e);
|
|
953
916
|
},
|
|
954
917
|
delegate: void 0
|
|
955
918
|
};
|
|
956
|
-
function
|
|
957
|
-
|
|
919
|
+
function nr(e) {
|
|
920
|
+
tr.setTimeout(function() {
|
|
958
921
|
throw e;
|
|
959
922
|
});
|
|
960
923
|
}
|
|
961
|
-
function
|
|
924
|
+
function ht() {
|
|
962
925
|
}
|
|
963
|
-
function
|
|
926
|
+
function _e(e) {
|
|
964
927
|
e();
|
|
965
928
|
}
|
|
966
|
-
var
|
|
967
|
-
|
|
929
|
+
var Wt = function(e) {
|
|
930
|
+
$(t, e);
|
|
968
931
|
function t(n) {
|
|
969
932
|
var r = e.call(this) || this;
|
|
970
|
-
return r.isStopped = !1, n ? (r.destination = n,
|
|
933
|
+
return r.isStopped = !1, n ? (r.destination = n, Xt(n) && n.add(r)) : r.destination = or, r;
|
|
971
934
|
}
|
|
972
935
|
return t.create = function(n, r, i) {
|
|
973
|
-
return new
|
|
936
|
+
return new We(n, r, i);
|
|
974
937
|
}, t.prototype.next = function(n) {
|
|
975
938
|
this.isStopped || this._next(n);
|
|
976
939
|
}, t.prototype.error = function(n) {
|
|
@@ -994,7 +957,7 @@ var Yt = function(e) {
|
|
|
994
957
|
this.unsubscribe();
|
|
995
958
|
}
|
|
996
959
|
}, t;
|
|
997
|
-
}(
|
|
960
|
+
}(Be), rr = function() {
|
|
998
961
|
function e(t) {
|
|
999
962
|
this.partialObserver = t;
|
|
1000
963
|
}
|
|
@@ -1004,7 +967,7 @@ var Yt = function(e) {
|
|
|
1004
967
|
try {
|
|
1005
968
|
n.next(t);
|
|
1006
969
|
} catch (r) {
|
|
1007
|
-
|
|
970
|
+
me(r);
|
|
1008
971
|
}
|
|
1009
972
|
}, e.prototype.error = function(t) {
|
|
1010
973
|
var n = this.partialObserver;
|
|
@@ -1012,56 +975,56 @@ var Yt = function(e) {
|
|
|
1012
975
|
try {
|
|
1013
976
|
n.error(t);
|
|
1014
977
|
} catch (r) {
|
|
1015
|
-
|
|
978
|
+
me(r);
|
|
1016
979
|
}
|
|
1017
980
|
else
|
|
1018
|
-
|
|
981
|
+
me(t);
|
|
1019
982
|
}, e.prototype.complete = function() {
|
|
1020
983
|
var t = this.partialObserver;
|
|
1021
984
|
if (t.complete)
|
|
1022
985
|
try {
|
|
1023
986
|
t.complete();
|
|
1024
987
|
} catch (n) {
|
|
1025
|
-
|
|
988
|
+
me(n);
|
|
1026
989
|
}
|
|
1027
990
|
}, e;
|
|
1028
|
-
}(),
|
|
1029
|
-
|
|
991
|
+
}(), We = function(e) {
|
|
992
|
+
$(t, e);
|
|
1030
993
|
function t(n, r, i) {
|
|
1031
|
-
var o = e.call(this) || this,
|
|
1032
|
-
return
|
|
1033
|
-
next: n
|
|
1034
|
-
error: r
|
|
1035
|
-
complete: i
|
|
1036
|
-
} :
|
|
994
|
+
var o = e.call(this) || this, a;
|
|
995
|
+
return M(n) || !n ? a = {
|
|
996
|
+
next: n ?? void 0,
|
|
997
|
+
error: r ?? void 0,
|
|
998
|
+
complete: i ?? void 0
|
|
999
|
+
} : a = n, o.destination = new rr(a), o;
|
|
1037
1000
|
}
|
|
1038
1001
|
return t;
|
|
1039
|
-
}(
|
|
1040
|
-
function
|
|
1041
|
-
|
|
1002
|
+
}(Wt);
|
|
1003
|
+
function me(e) {
|
|
1004
|
+
nr(e);
|
|
1042
1005
|
}
|
|
1043
|
-
function
|
|
1006
|
+
function ir(e) {
|
|
1044
1007
|
throw e;
|
|
1045
1008
|
}
|
|
1046
|
-
var
|
|
1009
|
+
var or = {
|
|
1047
1010
|
closed: !0,
|
|
1048
|
-
next:
|
|
1049
|
-
error:
|
|
1050
|
-
complete:
|
|
1051
|
-
},
|
|
1011
|
+
next: ht,
|
|
1012
|
+
error: ir,
|
|
1013
|
+
complete: ht
|
|
1014
|
+
}, sr = function() {
|
|
1052
1015
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1053
1016
|
}();
|
|
1054
|
-
function
|
|
1017
|
+
function ar(e) {
|
|
1055
1018
|
return e;
|
|
1056
1019
|
}
|
|
1057
|
-
function
|
|
1058
|
-
return e.length === 0 ?
|
|
1020
|
+
function ur(e) {
|
|
1021
|
+
return e.length === 0 ? ar : e.length === 1 ? e[0] : function(n) {
|
|
1059
1022
|
return e.reduce(function(r, i) {
|
|
1060
1023
|
return i(r);
|
|
1061
1024
|
}, n);
|
|
1062
1025
|
};
|
|
1063
1026
|
}
|
|
1064
|
-
var
|
|
1027
|
+
var ft = function() {
|
|
1065
1028
|
function e(t) {
|
|
1066
1029
|
t && (this._subscribe = t);
|
|
1067
1030
|
}
|
|
@@ -1069,10 +1032,10 @@ var gt = function() {
|
|
|
1069
1032
|
var n = new e();
|
|
1070
1033
|
return n.source = this, n.operator = t, n;
|
|
1071
1034
|
}, e.prototype.subscribe = function(t, n, r) {
|
|
1072
|
-
var i = this, o =
|
|
1073
|
-
return
|
|
1074
|
-
var
|
|
1075
|
-
o.add(
|
|
1035
|
+
var i = this, o = hr(t) ? t : new We(t, n, r);
|
|
1036
|
+
return _e(function() {
|
|
1037
|
+
var a = i, s = a.operator, u = a.source;
|
|
1038
|
+
o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
1076
1039
|
}), o;
|
|
1077
1040
|
}, e.prototype._trySubscribe = function(t) {
|
|
1078
1041
|
try {
|
|
@@ -1082,37 +1045,37 @@ var gt = function() {
|
|
|
1082
1045
|
}
|
|
1083
1046
|
}, e.prototype.forEach = function(t, n) {
|
|
1084
1047
|
var r = this;
|
|
1085
|
-
return n =
|
|
1086
|
-
var
|
|
1087
|
-
next: function(
|
|
1048
|
+
return n = ct(n), new n(function(i, o) {
|
|
1049
|
+
var a = new We({
|
|
1050
|
+
next: function(s) {
|
|
1088
1051
|
try {
|
|
1089
|
-
t(
|
|
1052
|
+
t(s);
|
|
1090
1053
|
} catch (u) {
|
|
1091
|
-
o(u),
|
|
1054
|
+
o(u), a.unsubscribe();
|
|
1092
1055
|
}
|
|
1093
1056
|
},
|
|
1094
1057
|
error: o,
|
|
1095
1058
|
complete: i
|
|
1096
1059
|
});
|
|
1097
|
-
r.subscribe(
|
|
1060
|
+
r.subscribe(a);
|
|
1098
1061
|
});
|
|
1099
1062
|
}, e.prototype._subscribe = function(t) {
|
|
1100
1063
|
var n;
|
|
1101
1064
|
return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
|
|
1102
|
-
}, e.prototype[
|
|
1065
|
+
}, e.prototype[sr] = function() {
|
|
1103
1066
|
return this;
|
|
1104
1067
|
}, e.prototype.pipe = function() {
|
|
1105
1068
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
1106
1069
|
t[n] = arguments[n];
|
|
1107
|
-
return
|
|
1070
|
+
return ur(t)(this);
|
|
1108
1071
|
}, e.prototype.toPromise = function(t) {
|
|
1109
1072
|
var n = this;
|
|
1110
|
-
return t =
|
|
1073
|
+
return t = ct(t), new t(function(r, i) {
|
|
1111
1074
|
var o;
|
|
1112
|
-
n.subscribe(function(
|
|
1113
|
-
return o =
|
|
1114
|
-
}, function(
|
|
1115
|
-
return i(
|
|
1075
|
+
n.subscribe(function(a) {
|
|
1076
|
+
return o = a;
|
|
1077
|
+
}, function(a) {
|
|
1078
|
+
return i(a);
|
|
1116
1079
|
}, function() {
|
|
1117
1080
|
return r(o);
|
|
1118
1081
|
});
|
|
@@ -1121,48 +1084,48 @@ var gt = function() {
|
|
|
1121
1084
|
return new e(t);
|
|
1122
1085
|
}, e;
|
|
1123
1086
|
}();
|
|
1124
|
-
function
|
|
1087
|
+
function ct(e) {
|
|
1125
1088
|
var t;
|
|
1126
|
-
return (t = e
|
|
1089
|
+
return (t = e ?? er.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1127
1090
|
}
|
|
1128
|
-
function
|
|
1129
|
-
return e &&
|
|
1091
|
+
function lr(e) {
|
|
1092
|
+
return e && M(e.next) && M(e.error) && M(e.complete);
|
|
1130
1093
|
}
|
|
1131
|
-
function
|
|
1132
|
-
return e && e instanceof
|
|
1094
|
+
function hr(e) {
|
|
1095
|
+
return e && e instanceof Wt || lr(e) && Xt(e);
|
|
1133
1096
|
}
|
|
1134
|
-
var
|
|
1097
|
+
var fr = kt(function(e) {
|
|
1135
1098
|
return function() {
|
|
1136
1099
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1137
1100
|
};
|
|
1138
|
-
}),
|
|
1139
|
-
|
|
1101
|
+
}), zt = function(e) {
|
|
1102
|
+
$(t, e);
|
|
1140
1103
|
function t() {
|
|
1141
1104
|
var n = e.call(this) || this;
|
|
1142
1105
|
return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
|
|
1143
1106
|
}
|
|
1144
1107
|
return t.prototype.lift = function(n) {
|
|
1145
|
-
var r = new
|
|
1108
|
+
var r = new dt(this, this);
|
|
1146
1109
|
return r.operator = n, r;
|
|
1147
1110
|
}, t.prototype._throwIfClosed = function() {
|
|
1148
1111
|
if (this.closed)
|
|
1149
|
-
throw new
|
|
1112
|
+
throw new fr();
|
|
1150
1113
|
}, t.prototype.next = function(n) {
|
|
1151
1114
|
var r = this;
|
|
1152
|
-
|
|
1115
|
+
_e(function() {
|
|
1153
1116
|
var i, o;
|
|
1154
1117
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1155
1118
|
r.currentObservers || (r.currentObservers = Array.from(r.observers));
|
|
1156
1119
|
try {
|
|
1157
|
-
for (var
|
|
1158
|
-
var u =
|
|
1120
|
+
for (var a = ke(r.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1121
|
+
var u = s.value;
|
|
1159
1122
|
u.next(n);
|
|
1160
1123
|
}
|
|
1161
1124
|
} catch (l) {
|
|
1162
1125
|
i = { error: l };
|
|
1163
1126
|
} finally {
|
|
1164
1127
|
try {
|
|
1165
|
-
|
|
1128
|
+
s && !s.done && (o = a.return) && o.call(a);
|
|
1166
1129
|
} finally {
|
|
1167
1130
|
if (i) throw i.error;
|
|
1168
1131
|
}
|
|
@@ -1171,7 +1134,7 @@ var Er = qt(function(e) {
|
|
|
1171
1134
|
});
|
|
1172
1135
|
}, t.prototype.error = function(n) {
|
|
1173
1136
|
var r = this;
|
|
1174
|
-
|
|
1137
|
+
_e(function() {
|
|
1175
1138
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1176
1139
|
r.hasError = r.isStopped = !0, r.thrownError = n;
|
|
1177
1140
|
for (var i = r.observers; i.length; )
|
|
@@ -1180,7 +1143,7 @@ var Er = qt(function(e) {
|
|
|
1180
1143
|
});
|
|
1181
1144
|
}, t.prototype.complete = function() {
|
|
1182
1145
|
var n = this;
|
|
1183
|
-
|
|
1146
|
+
_e(function() {
|
|
1184
1147
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1185
1148
|
n.isStopped = !0;
|
|
1186
1149
|
for (var r = n.observers; r.length; )
|
|
@@ -1201,21 +1164,21 @@ var Er = qt(function(e) {
|
|
|
1201
1164
|
}, t.prototype._subscribe = function(n) {
|
|
1202
1165
|
return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
|
|
1203
1166
|
}, t.prototype._innerSubscribe = function(n) {
|
|
1204
|
-
var r = this, i = this, o = i.hasError,
|
|
1205
|
-
return o ||
|
|
1206
|
-
r.currentObservers = null,
|
|
1167
|
+
var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1168
|
+
return o || a ? Vt : (this.currentObservers = null, s.push(n), new Be(function() {
|
|
1169
|
+
r.currentObservers = null, Xe(s, n);
|
|
1207
1170
|
}));
|
|
1208
1171
|
}, t.prototype._checkFinalizedStatuses = function(n) {
|
|
1209
|
-
var r = this, i = r.hasError, o = r.thrownError,
|
|
1210
|
-
i ? n.error(o) :
|
|
1172
|
+
var r = this, i = r.hasError, o = r.thrownError, a = r.isStopped;
|
|
1173
|
+
i ? n.error(o) : a && n.complete();
|
|
1211
1174
|
}, t.prototype.asObservable = function() {
|
|
1212
|
-
var n = new
|
|
1175
|
+
var n = new ft();
|
|
1213
1176
|
return n.source = this, n;
|
|
1214
1177
|
}, t.create = function(n, r) {
|
|
1215
|
-
return new
|
|
1178
|
+
return new dt(n, r);
|
|
1216
1179
|
}, t;
|
|
1217
|
-
}(
|
|
1218
|
-
|
|
1180
|
+
}(ft), dt = function(e) {
|
|
1181
|
+
$(t, e);
|
|
1219
1182
|
function t(n, r) {
|
|
1220
1183
|
var i = e.call(this) || this;
|
|
1221
1184
|
return i.destination = n, i.source = r, i;
|
|
@@ -1231,81 +1194,81 @@ var Er = qt(function(e) {
|
|
|
1231
1194
|
(r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
|
|
1232
1195
|
}, t.prototype._subscribe = function(n) {
|
|
1233
1196
|
var r, i;
|
|
1234
|
-
return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i :
|
|
1197
|
+
return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Vt;
|
|
1235
1198
|
}, t;
|
|
1236
|
-
}(
|
|
1199
|
+
}(zt), Zt = {
|
|
1237
1200
|
now: function() {
|
|
1238
|
-
return (
|
|
1201
|
+
return (Zt.delegate || Date).now();
|
|
1239
1202
|
},
|
|
1240
1203
|
delegate: void 0
|
|
1241
|
-
},
|
|
1242
|
-
|
|
1204
|
+
}, cr = function(e) {
|
|
1205
|
+
$(t, e);
|
|
1243
1206
|
function t(n, r, i) {
|
|
1244
|
-
n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i =
|
|
1207
|
+
n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Zt);
|
|
1245
1208
|
var o = e.call(this) || this;
|
|
1246
1209
|
return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
|
|
1247
1210
|
}
|
|
1248
1211
|
return t.prototype.next = function(n) {
|
|
1249
|
-
var r = this, i = r.isStopped, o = r._buffer,
|
|
1250
|
-
i || (o.push(n), !
|
|
1212
|
+
var r = this, i = r.isStopped, o = r._buffer, a = r._infiniteTimeWindow, s = r._timestampProvider, u = r._windowTime;
|
|
1213
|
+
i || (o.push(n), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
|
|
1251
1214
|
}, t.prototype._subscribe = function(n) {
|
|
1252
1215
|
this._throwIfClosed(), this._trimBuffer();
|
|
1253
|
-
for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow,
|
|
1254
|
-
n.next(
|
|
1216
|
+
for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !n.closed; u += o ? 1 : 2)
|
|
1217
|
+
n.next(s[u]);
|
|
1255
1218
|
return this._checkFinalizedStatuses(n), r;
|
|
1256
1219
|
}, t.prototype._trimBuffer = function() {
|
|
1257
|
-
var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer,
|
|
1258
|
-
if (r < 1 / 0 &&
|
|
1220
|
+
var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, a = n._infiniteTimeWindow, s = (a ? 1 : 2) * r;
|
|
1221
|
+
if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1259
1222
|
for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
|
|
1260
1223
|
l = h;
|
|
1261
1224
|
l && o.splice(0, l + 1);
|
|
1262
1225
|
}
|
|
1263
1226
|
}, t;
|
|
1264
|
-
}(
|
|
1265
|
-
const
|
|
1266
|
-
if (
|
|
1267
|
-
const n = new
|
|
1268
|
-
|
|
1227
|
+
}(zt);
|
|
1228
|
+
const pt = [], mt = {}, dr = (e, t = 0) => {
|
|
1229
|
+
if (pt.indexOf(e) == -1) {
|
|
1230
|
+
const n = new cr(t);
|
|
1231
|
+
mt[e] = n, pt.push(e);
|
|
1269
1232
|
}
|
|
1270
|
-
return
|
|
1271
|
-
},
|
|
1272
|
-
function
|
|
1233
|
+
return mt[e];
|
|
1234
|
+
}, V = [];
|
|
1235
|
+
function pr(e, t) {
|
|
1273
1236
|
return {
|
|
1274
|
-
subscribe:
|
|
1237
|
+
subscribe: Ae(e, t).subscribe
|
|
1275
1238
|
};
|
|
1276
1239
|
}
|
|
1277
|
-
function
|
|
1240
|
+
function Ae(e, t = B) {
|
|
1278
1241
|
let n;
|
|
1279
1242
|
const r = /* @__PURE__ */ new Set();
|
|
1280
|
-
function i(
|
|
1281
|
-
if (
|
|
1282
|
-
const u = !
|
|
1243
|
+
function i(s) {
|
|
1244
|
+
if (Lt(e, s) && (e = s, n)) {
|
|
1245
|
+
const u = !V.length;
|
|
1283
1246
|
for (const l of r)
|
|
1284
|
-
l[1](),
|
|
1247
|
+
l[1](), V.push(l, e);
|
|
1285
1248
|
if (u) {
|
|
1286
|
-
for (let l = 0; l <
|
|
1287
|
-
|
|
1288
|
-
|
|
1249
|
+
for (let l = 0; l < V.length; l += 2)
|
|
1250
|
+
V[l][0](V[l + 1]);
|
|
1251
|
+
V.length = 0;
|
|
1289
1252
|
}
|
|
1290
1253
|
}
|
|
1291
1254
|
}
|
|
1292
|
-
function o(
|
|
1293
|
-
i(
|
|
1255
|
+
function o(s) {
|
|
1256
|
+
i(s(e));
|
|
1294
1257
|
}
|
|
1295
|
-
function s
|
|
1296
|
-
const l = [
|
|
1297
|
-
return r.add(l), r.size === 1 && (n = t(i, o) || B),
|
|
1258
|
+
function a(s, u = B) {
|
|
1259
|
+
const l = [s, u];
|
|
1260
|
+
return r.add(l), r.size === 1 && (n = t(i, o) || B), s(e), () => {
|
|
1298
1261
|
r.delete(l), r.size === 0 && n && (n(), n = null);
|
|
1299
1262
|
};
|
|
1300
1263
|
}
|
|
1301
|
-
return { set: i, update: o, subscribe:
|
|
1264
|
+
return { set: i, update: o, subscribe: a };
|
|
1302
1265
|
}
|
|
1303
|
-
function
|
|
1266
|
+
function K(e, t, n) {
|
|
1304
1267
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
1305
1268
|
if (!i.every(Boolean))
|
|
1306
1269
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1307
1270
|
const o = t.length < 2;
|
|
1308
|
-
return
|
|
1271
|
+
return pr(n, (a, s) => {
|
|
1309
1272
|
let u = !1;
|
|
1310
1273
|
const l = [];
|
|
1311
1274
|
let h = 0, f = B;
|
|
@@ -1313,10 +1276,10 @@ function ee(e, t, n) {
|
|
|
1313
1276
|
if (h)
|
|
1314
1277
|
return;
|
|
1315
1278
|
f();
|
|
1316
|
-
const p = t(r ? l[0] : l,
|
|
1317
|
-
o ?
|
|
1279
|
+
const p = t(r ? l[0] : l, a, s);
|
|
1280
|
+
o ? a(p) : f = le(p) ? p : B;
|
|
1318
1281
|
}, d = i.map(
|
|
1319
|
-
(p, m) =>
|
|
1282
|
+
(p, m) => Nt(
|
|
1320
1283
|
p,
|
|
1321
1284
|
(x) => {
|
|
1322
1285
|
l[m] = x, h &= ~(1 << m), u && c();
|
|
@@ -1327,119 +1290,119 @@ function ee(e, t, n) {
|
|
|
1327
1290
|
)
|
|
1328
1291
|
);
|
|
1329
1292
|
return u = !0, c(), function() {
|
|
1330
|
-
|
|
1293
|
+
G(d), f(), u = !1;
|
|
1331
1294
|
};
|
|
1332
1295
|
});
|
|
1333
1296
|
}
|
|
1334
|
-
var
|
|
1335
|
-
function
|
|
1297
|
+
var Mo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1298
|
+
function mr(e) {
|
|
1336
1299
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1337
1300
|
}
|
|
1338
|
-
var
|
|
1339
|
-
return
|
|
1301
|
+
var br = function(t) {
|
|
1302
|
+
return gr(t) && !yr(t);
|
|
1340
1303
|
};
|
|
1341
|
-
function
|
|
1304
|
+
function gr(e) {
|
|
1342
1305
|
return !!e && typeof e == "object";
|
|
1343
1306
|
}
|
|
1344
|
-
function
|
|
1307
|
+
function yr(e) {
|
|
1345
1308
|
var t = Object.prototype.toString.call(e);
|
|
1346
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1309
|
+
return t === "[object RegExp]" || t === "[object Date]" || xr(e);
|
|
1347
1310
|
}
|
|
1348
|
-
var
|
|
1349
|
-
function
|
|
1350
|
-
return e.$$typeof ===
|
|
1311
|
+
var _r = typeof Symbol == "function" && Symbol.for, vr = _r ? Symbol.for("react.element") : 60103;
|
|
1312
|
+
function xr(e) {
|
|
1313
|
+
return e.$$typeof === vr;
|
|
1351
1314
|
}
|
|
1352
|
-
function
|
|
1315
|
+
function Er(e) {
|
|
1353
1316
|
return Array.isArray(e) ? [] : {};
|
|
1354
1317
|
}
|
|
1355
|
-
function
|
|
1356
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1318
|
+
function ae(e, t) {
|
|
1319
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Er(e), e, t) : e;
|
|
1357
1320
|
}
|
|
1358
|
-
function
|
|
1321
|
+
function Sr(e, t, n) {
|
|
1359
1322
|
return e.concat(t).map(function(r) {
|
|
1360
|
-
return
|
|
1323
|
+
return ae(r, n);
|
|
1361
1324
|
});
|
|
1362
1325
|
}
|
|
1363
|
-
function
|
|
1326
|
+
function Tr(e, t) {
|
|
1364
1327
|
if (!t.customMerge)
|
|
1365
|
-
return
|
|
1328
|
+
return q;
|
|
1366
1329
|
var n = t.customMerge(e);
|
|
1367
|
-
return typeof n == "function" ? n :
|
|
1330
|
+
return typeof n == "function" ? n : q;
|
|
1368
1331
|
}
|
|
1369
|
-
function
|
|
1332
|
+
function wr(e) {
|
|
1370
1333
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1371
1334
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1372
1335
|
}) : [];
|
|
1373
1336
|
}
|
|
1374
|
-
function
|
|
1375
|
-
return Object.keys(e).concat(
|
|
1337
|
+
function bt(e) {
|
|
1338
|
+
return Object.keys(e).concat(wr(e));
|
|
1376
1339
|
}
|
|
1377
|
-
function
|
|
1340
|
+
function qt(e, t) {
|
|
1378
1341
|
try {
|
|
1379
1342
|
return t in e;
|
|
1380
|
-
} catch
|
|
1343
|
+
} catch {
|
|
1381
1344
|
return !1;
|
|
1382
1345
|
}
|
|
1383
1346
|
}
|
|
1384
|
-
function
|
|
1385
|
-
return
|
|
1347
|
+
function Hr(e, t) {
|
|
1348
|
+
return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1386
1349
|
}
|
|
1387
|
-
function
|
|
1350
|
+
function Br(e, t, n) {
|
|
1388
1351
|
var r = {};
|
|
1389
|
-
return n.isMergeableObject(e) &&
|
|
1390
|
-
r[i] =
|
|
1391
|
-
}),
|
|
1392
|
-
|
|
1352
|
+
return n.isMergeableObject(e) && bt(e).forEach(function(i) {
|
|
1353
|
+
r[i] = ae(e[i], n);
|
|
1354
|
+
}), bt(t).forEach(function(i) {
|
|
1355
|
+
Hr(e, i) || (qt(e, i) && n.isMergeableObject(t[i]) ? r[i] = Tr(i, n)(e[i], t[i], n) : r[i] = ae(t[i], n));
|
|
1393
1356
|
}), r;
|
|
1394
1357
|
}
|
|
1395
|
-
function
|
|
1396
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
1358
|
+
function q(e, t, n) {
|
|
1359
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Sr, n.isMergeableObject = n.isMergeableObject || br, n.cloneUnlessOtherwiseSpecified = ae;
|
|
1397
1360
|
var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
|
|
1398
|
-
return o ? r ? n.arrayMerge(e, t, n) :
|
|
1361
|
+
return o ? r ? n.arrayMerge(e, t, n) : Br(e, t, n) : ae(t, n);
|
|
1399
1362
|
}
|
|
1400
|
-
|
|
1363
|
+
q.all = function(t, n) {
|
|
1401
1364
|
if (!Array.isArray(t))
|
|
1402
1365
|
throw new Error("first argument should be an array");
|
|
1403
1366
|
return t.reduce(function(r, i) {
|
|
1404
|
-
return
|
|
1367
|
+
return q(r, i, n);
|
|
1405
1368
|
}, {});
|
|
1406
1369
|
};
|
|
1407
|
-
var
|
|
1408
|
-
const
|
|
1409
|
-
function
|
|
1410
|
-
var n = t && t.cache ? t.cache :
|
|
1370
|
+
var Ar = q, Pr = Ar;
|
|
1371
|
+
const Or = /* @__PURE__ */ mr(Pr);
|
|
1372
|
+
function Me(e, t) {
|
|
1373
|
+
var n = t && t.cache ? t.cache : Rr, r = t && t.serializer ? t.serializer : Mr, i = t && t.strategy ? t.strategy : Lr;
|
|
1411
1374
|
return i(e, {
|
|
1412
1375
|
cache: n,
|
|
1413
1376
|
serializer: r
|
|
1414
1377
|
});
|
|
1415
1378
|
}
|
|
1416
|
-
function
|
|
1379
|
+
function Ir(e) {
|
|
1417
1380
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1418
1381
|
}
|
|
1419
|
-
function
|
|
1420
|
-
var i =
|
|
1421
|
-
return typeof o
|
|
1382
|
+
function Qt(e, t, n, r) {
|
|
1383
|
+
var i = Ir(r) ? r : n(r), o = t.get(i);
|
|
1384
|
+
return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
|
|
1422
1385
|
}
|
|
1423
|
-
function
|
|
1386
|
+
function Jt(e, t, n) {
|
|
1424
1387
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
|
|
1425
|
-
return typeof o
|
|
1388
|
+
return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
|
|
1426
1389
|
}
|
|
1427
|
-
function
|
|
1390
|
+
function rt(e, t, n, r, i) {
|
|
1428
1391
|
return n.bind(t, e, r, i);
|
|
1429
1392
|
}
|
|
1430
|
-
function
|
|
1431
|
-
var n = e.length === 1 ?
|
|
1432
|
-
return
|
|
1393
|
+
function Lr(e, t) {
|
|
1394
|
+
var n = e.length === 1 ? Qt : Jt;
|
|
1395
|
+
return rt(e, this, n, t.cache.create(), t.serializer);
|
|
1433
1396
|
}
|
|
1434
|
-
function
|
|
1435
|
-
return
|
|
1397
|
+
function Nr(e, t) {
|
|
1398
|
+
return rt(e, this, Jt, t.cache.create(), t.serializer);
|
|
1436
1399
|
}
|
|
1437
|
-
function
|
|
1438
|
-
return
|
|
1400
|
+
function Cr(e, t) {
|
|
1401
|
+
return rt(e, this, Qt, t.cache.create(), t.serializer);
|
|
1439
1402
|
}
|
|
1440
|
-
var
|
|
1403
|
+
var Mr = function() {
|
|
1441
1404
|
return JSON.stringify(arguments);
|
|
1442
|
-
},
|
|
1405
|
+
}, $r = (
|
|
1443
1406
|
/** @class */
|
|
1444
1407
|
function() {
|
|
1445
1408
|
function e() {
|
|
@@ -1451,13 +1414,13 @@ var Wr = function() {
|
|
|
1451
1414
|
this.cache[t] = n;
|
|
1452
1415
|
}, e;
|
|
1453
1416
|
}()
|
|
1454
|
-
),
|
|
1417
|
+
), Rr = {
|
|
1455
1418
|
create: function() {
|
|
1456
|
-
return new
|
|
1419
|
+
return new $r();
|
|
1457
1420
|
}
|
|
1458
|
-
},
|
|
1459
|
-
variadic:
|
|
1460
|
-
monadic:
|
|
1421
|
+
}, $e = {
|
|
1422
|
+
variadic: Nr,
|
|
1423
|
+
monadic: Cr
|
|
1461
1424
|
}, b;
|
|
1462
1425
|
(function(e) {
|
|
1463
1426
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
@@ -1466,47 +1429,47 @@ var v;
|
|
|
1466
1429
|
(function(e) {
|
|
1467
1430
|
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";
|
|
1468
1431
|
})(v || (v = {}));
|
|
1469
|
-
var
|
|
1432
|
+
var Q;
|
|
1470
1433
|
(function(e) {
|
|
1471
1434
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1472
|
-
})(
|
|
1473
|
-
function
|
|
1435
|
+
})(Q || (Q = {}));
|
|
1436
|
+
function gt(e) {
|
|
1474
1437
|
return e.type === v.literal;
|
|
1475
1438
|
}
|
|
1476
|
-
function
|
|
1439
|
+
function Ur(e) {
|
|
1477
1440
|
return e.type === v.argument;
|
|
1478
1441
|
}
|
|
1479
|
-
function
|
|
1442
|
+
function Yt(e) {
|
|
1480
1443
|
return e.type === v.number;
|
|
1481
1444
|
}
|
|
1482
|
-
function
|
|
1445
|
+
function Kt(e) {
|
|
1483
1446
|
return e.type === v.date;
|
|
1484
1447
|
}
|
|
1485
|
-
function
|
|
1448
|
+
function en(e) {
|
|
1486
1449
|
return e.type === v.time;
|
|
1487
1450
|
}
|
|
1488
|
-
function
|
|
1451
|
+
function tn(e) {
|
|
1489
1452
|
return e.type === v.select;
|
|
1490
1453
|
}
|
|
1491
|
-
function
|
|
1454
|
+
function nn(e) {
|
|
1492
1455
|
return e.type === v.plural;
|
|
1493
1456
|
}
|
|
1494
|
-
function
|
|
1457
|
+
function Dr(e) {
|
|
1495
1458
|
return e.type === v.pound;
|
|
1496
1459
|
}
|
|
1497
|
-
function
|
|
1460
|
+
function rn(e) {
|
|
1498
1461
|
return e.type === v.tag;
|
|
1499
1462
|
}
|
|
1500
|
-
function
|
|
1501
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1463
|
+
function on(e) {
|
|
1464
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1502
1465
|
}
|
|
1503
|
-
function
|
|
1504
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1466
|
+
function ze(e) {
|
|
1467
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1505
1468
|
}
|
|
1506
|
-
var
|
|
1507
|
-
function
|
|
1469
|
+
var sn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[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;
|
|
1470
|
+
function Fr(e) {
|
|
1508
1471
|
var t = {};
|
|
1509
|
-
return e.replace(
|
|
1472
|
+
return e.replace(Gr, function(n) {
|
|
1510
1473
|
var r = n.length;
|
|
1511
1474
|
switch (n[0]) {
|
|
1512
1475
|
case "G":
|
|
@@ -1595,36 +1558,36 @@ function Yr(e) {
|
|
|
1595
1558
|
return "";
|
|
1596
1559
|
}), t;
|
|
1597
1560
|
}
|
|
1598
|
-
var
|
|
1599
|
-
function
|
|
1561
|
+
var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1562
|
+
function kr(e) {
|
|
1600
1563
|
if (e.length === 0)
|
|
1601
1564
|
throw new Error("Number skeleton cannot be empty");
|
|
1602
|
-
for (var t = e.split(
|
|
1565
|
+
for (var t = e.split(jr).filter(function(c) {
|
|
1603
1566
|
return c.length > 0;
|
|
1604
1567
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1605
|
-
var o = i[r],
|
|
1606
|
-
if (
|
|
1568
|
+
var o = i[r], a = o.split("/");
|
|
1569
|
+
if (a.length === 0)
|
|
1607
1570
|
throw new Error("Invalid number skeleton");
|
|
1608
|
-
for (var
|
|
1571
|
+
for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
|
|
1609
1572
|
var f = h[l];
|
|
1610
1573
|
if (f.length === 0)
|
|
1611
1574
|
throw new Error("Invalid number skeleton");
|
|
1612
1575
|
}
|
|
1613
|
-
n.push({ stem:
|
|
1576
|
+
n.push({ stem: s, options: u });
|
|
1614
1577
|
}
|
|
1615
1578
|
return n;
|
|
1616
1579
|
}
|
|
1617
|
-
function
|
|
1580
|
+
function Vr(e) {
|
|
1618
1581
|
return e.replace(/^(.*?)-/, "");
|
|
1619
1582
|
}
|
|
1620
|
-
var
|
|
1621
|
-
function
|
|
1583
|
+
var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, an = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, un = /^(0+)$/;
|
|
1584
|
+
function _t(e) {
|
|
1622
1585
|
var t = {};
|
|
1623
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1586
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(an, function(n, r, i) {
|
|
1624
1587
|
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1625
1588
|
}), t;
|
|
1626
1589
|
}
|
|
1627
|
-
function
|
|
1590
|
+
function ln(e) {
|
|
1628
1591
|
switch (e) {
|
|
1629
1592
|
case "sign-auto":
|
|
1630
1593
|
return {
|
|
@@ -1664,7 +1627,7 @@ function mn(e) {
|
|
|
1664
1627
|
};
|
|
1665
1628
|
}
|
|
1666
1629
|
}
|
|
1667
|
-
function
|
|
1630
|
+
function Wr(e) {
|
|
1668
1631
|
var t;
|
|
1669
1632
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1670
1633
|
notation: "engineering"
|
|
@@ -1672,17 +1635,17 @@ function ri(e) {
|
|
|
1672
1635
|
notation: "scientific"
|
|
1673
1636
|
}, e = e.slice(1)), t) {
|
|
1674
1637
|
var n = e.slice(0, 2);
|
|
1675
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1638
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !un.test(e))
|
|
1676
1639
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1677
1640
|
t.minimumIntegerDigits = e.length;
|
|
1678
1641
|
}
|
|
1679
1642
|
return t;
|
|
1680
1643
|
}
|
|
1681
|
-
function
|
|
1682
|
-
var t = {}, n =
|
|
1644
|
+
function vt(e) {
|
|
1645
|
+
var t = {}, n = ln(e);
|
|
1683
1646
|
return n || t;
|
|
1684
1647
|
}
|
|
1685
|
-
function
|
|
1648
|
+
function zr(e) {
|
|
1686
1649
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1687
1650
|
var i = r[n];
|
|
1688
1651
|
switch (i.stem) {
|
|
@@ -1706,7 +1669,7 @@ function ii(e) {
|
|
|
1706
1669
|
continue;
|
|
1707
1670
|
case "measure-unit":
|
|
1708
1671
|
case "unit":
|
|
1709
|
-
t.style = "unit", t.unit =
|
|
1672
|
+
t.style = "unit", t.unit = Vr(i.options[0]);
|
|
1710
1673
|
continue;
|
|
1711
1674
|
case "compact-short":
|
|
1712
1675
|
case "K":
|
|
@@ -1718,12 +1681,12 @@ function ii(e) {
|
|
|
1718
1681
|
continue;
|
|
1719
1682
|
case "scientific":
|
|
1720
1683
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1721
|
-
return _(_({}, u),
|
|
1684
|
+
return _(_({}, u), vt(l));
|
|
1722
1685
|
}, {}));
|
|
1723
1686
|
continue;
|
|
1724
1687
|
case "engineering":
|
|
1725
1688
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1726
|
-
return _(_({}, u),
|
|
1689
|
+
return _(_({}, u), vt(l));
|
|
1727
1690
|
}, {}));
|
|
1728
1691
|
continue;
|
|
1729
1692
|
case "notation-simple":
|
|
@@ -1768,7 +1731,7 @@ function ii(e) {
|
|
|
1768
1731
|
case "integer-width":
|
|
1769
1732
|
if (i.options.length > 1)
|
|
1770
1733
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1771
|
-
i.options[0].replace(
|
|
1734
|
+
i.options[0].replace(Xr, function(u, l, h, f, c, d) {
|
|
1772
1735
|
if (l)
|
|
1773
1736
|
t.minimumIntegerDigits = h.length;
|
|
1774
1737
|
else {
|
|
@@ -1781,32 +1744,32 @@ function ii(e) {
|
|
|
1781
1744
|
});
|
|
1782
1745
|
continue;
|
|
1783
1746
|
}
|
|
1784
|
-
if (
|
|
1747
|
+
if (un.test(i.stem)) {
|
|
1785
1748
|
t.minimumIntegerDigits = i.stem.length;
|
|
1786
1749
|
continue;
|
|
1787
1750
|
}
|
|
1788
|
-
if (
|
|
1751
|
+
if (yt.test(i.stem)) {
|
|
1789
1752
|
if (i.options.length > 1)
|
|
1790
1753
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1791
|
-
i.stem.replace(
|
|
1754
|
+
i.stem.replace(yt, function(u, l, h, f, c, d) {
|
|
1792
1755
|
return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1793
1756
|
});
|
|
1794
1757
|
var o = i.options[0];
|
|
1795
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1758
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), _t(o)));
|
|
1796
1759
|
continue;
|
|
1797
1760
|
}
|
|
1798
|
-
if (
|
|
1799
|
-
t = _(_({}, t),
|
|
1761
|
+
if (an.test(i.stem)) {
|
|
1762
|
+
t = _(_({}, t), _t(i.stem));
|
|
1800
1763
|
continue;
|
|
1801
1764
|
}
|
|
1802
|
-
var
|
|
1803
|
-
s && (t = _(_({}, t), s));
|
|
1804
|
-
var a = ri(i.stem);
|
|
1765
|
+
var a = ln(i.stem);
|
|
1805
1766
|
a && (t = _(_({}, t), a));
|
|
1767
|
+
var s = Wr(i.stem);
|
|
1768
|
+
s && (t = _(_({}, t), s));
|
|
1806
1769
|
}
|
|
1807
1770
|
return t;
|
|
1808
1771
|
}
|
|
1809
|
-
var
|
|
1772
|
+
var be = {
|
|
1810
1773
|
"001": [
|
|
1811
1774
|
"H",
|
|
1812
1775
|
"h"
|
|
@@ -3221,22 +3184,22 @@ var ge = {
|
|
|
3221
3184
|
"h"
|
|
3222
3185
|
]
|
|
3223
3186
|
};
|
|
3224
|
-
function
|
|
3187
|
+
function Zr(e, t) {
|
|
3225
3188
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
3226
3189
|
var i = e.charAt(r);
|
|
3227
3190
|
if (i === "j") {
|
|
3228
3191
|
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
3229
3192
|
o++, r++;
|
|
3230
|
-
var
|
|
3231
|
-
for ((l == "H" || l == "k") && (
|
|
3193
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = qr(t);
|
|
3194
|
+
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
3232
3195
|
n += u;
|
|
3233
|
-
for (;
|
|
3196
|
+
for (; a-- > 0; )
|
|
3234
3197
|
n = l + n;
|
|
3235
3198
|
} else i === "J" ? n += "H" : n += i;
|
|
3236
3199
|
}
|
|
3237
3200
|
return n;
|
|
3238
3201
|
}
|
|
3239
|
-
function
|
|
3202
|
+
function qr(e) {
|
|
3240
3203
|
var t = e.hourCycle;
|
|
3241
3204
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3242
3205
|
e.hourCycles && // @ts-ignore
|
|
@@ -3255,23 +3218,23 @@ function si(e) {
|
|
|
3255
3218
|
}
|
|
3256
3219
|
var n = e.language, r;
|
|
3257
3220
|
n !== "root" && (r = e.maximize().region);
|
|
3258
|
-
var i =
|
|
3221
|
+
var i = be[r || ""] || be[n || ""] || be["".concat(n, "-001")] || be["001"];
|
|
3259
3222
|
return i[0];
|
|
3260
3223
|
}
|
|
3261
|
-
var
|
|
3224
|
+
var Re, Qr = new RegExp("^".concat(sn.source, "*")), Jr = new RegExp("".concat(sn.source, "*$"));
|
|
3262
3225
|
function g(e, t) {
|
|
3263
3226
|
return { start: e, end: t };
|
|
3264
3227
|
}
|
|
3265
|
-
var
|
|
3228
|
+
var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
|
|
3266
3229
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3267
|
-
},
|
|
3230
|
+
}, Ze = !0;
|
|
3268
3231
|
try {
|
|
3269
|
-
var
|
|
3270
|
-
|
|
3271
|
-
} catch
|
|
3272
|
-
|
|
3232
|
+
var si = fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3233
|
+
Ze = ((Re = si.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
3234
|
+
} catch {
|
|
3235
|
+
Ze = !1;
|
|
3273
3236
|
}
|
|
3274
|
-
var
|
|
3237
|
+
var xt = Yr ? (
|
|
3275
3238
|
// Native
|
|
3276
3239
|
function(t, n, r) {
|
|
3277
3240
|
return t.startsWith(n, r);
|
|
@@ -3281,31 +3244,31 @@ var Bt = li ? (
|
|
|
3281
3244
|
function(t, n, r) {
|
|
3282
3245
|
return t.slice(r, r + n.length) === n;
|
|
3283
3246
|
}
|
|
3284
|
-
),
|
|
3247
|
+
), qe = Kr ? String.fromCodePoint : (
|
|
3285
3248
|
// IE11
|
|
3286
3249
|
function() {
|
|
3287
3250
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
3288
3251
|
t[n] = arguments[n];
|
|
3289
|
-
for (var r = "", i = t.length, o = 0,
|
|
3290
|
-
if (
|
|
3291
|
-
throw RangeError(
|
|
3292
|
-
r +=
|
|
3252
|
+
for (var r = "", i = t.length, o = 0, a; i > o; ) {
|
|
3253
|
+
if (a = t[o++], a > 1114111)
|
|
3254
|
+
throw RangeError(a + " is not a valid code point");
|
|
3255
|
+
r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3293
3256
|
}
|
|
3294
3257
|
return r;
|
|
3295
3258
|
}
|
|
3296
|
-
),
|
|
3259
|
+
), Et = (
|
|
3297
3260
|
// native
|
|
3298
|
-
|
|
3261
|
+
ei ? Object.fromEntries : (
|
|
3299
3262
|
// Ponyfill
|
|
3300
3263
|
function(t) {
|
|
3301
3264
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
3302
|
-
var o = i[r],
|
|
3303
|
-
n[
|
|
3265
|
+
var o = i[r], a = o[0], s = o[1];
|
|
3266
|
+
n[a] = s;
|
|
3304
3267
|
}
|
|
3305
3268
|
return n;
|
|
3306
3269
|
}
|
|
3307
3270
|
)
|
|
3308
|
-
),
|
|
3271
|
+
), hn = ti ? (
|
|
3309
3272
|
// Native
|
|
3310
3273
|
function(t, n) {
|
|
3311
3274
|
return t.codePointAt(n);
|
|
@@ -3319,7 +3282,7 @@ var Bt = li ? (
|
|
|
3319
3282
|
return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3320
3283
|
}
|
|
3321
3284
|
}
|
|
3322
|
-
),
|
|
3285
|
+
), ai = ni ? (
|
|
3323
3286
|
// Native
|
|
3324
3287
|
function(t) {
|
|
3325
3288
|
return t.trimStart();
|
|
@@ -3327,9 +3290,9 @@ var Bt = li ? (
|
|
|
3327
3290
|
) : (
|
|
3328
3291
|
// Ponyfill
|
|
3329
3292
|
function(t) {
|
|
3330
|
-
return t.replace(
|
|
3293
|
+
return t.replace(Qr, "");
|
|
3331
3294
|
}
|
|
3332
|
-
),
|
|
3295
|
+
), ui = ri ? (
|
|
3333
3296
|
// Native
|
|
3334
3297
|
function(t) {
|
|
3335
3298
|
return t.trimEnd();
|
|
@@ -3337,32 +3300,32 @@ var Bt = li ? (
|
|
|
3337
3300
|
) : (
|
|
3338
3301
|
// Ponyfill
|
|
3339
3302
|
function(t) {
|
|
3340
|
-
return t.replace(
|
|
3303
|
+
return t.replace(Jr, "");
|
|
3341
3304
|
}
|
|
3342
3305
|
);
|
|
3343
|
-
function
|
|
3306
|
+
function fn(e, t) {
|
|
3344
3307
|
return new RegExp(e, t);
|
|
3345
3308
|
}
|
|
3346
|
-
var
|
|
3347
|
-
if (
|
|
3348
|
-
var
|
|
3349
|
-
|
|
3309
|
+
var Qe;
|
|
3310
|
+
if (Ze) {
|
|
3311
|
+
var St = fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3312
|
+
Qe = function(t, n) {
|
|
3350
3313
|
var r;
|
|
3351
|
-
|
|
3352
|
-
var i =
|
|
3314
|
+
St.lastIndex = n;
|
|
3315
|
+
var i = St.exec(t);
|
|
3353
3316
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
3354
3317
|
};
|
|
3355
3318
|
} else
|
|
3356
|
-
|
|
3319
|
+
Qe = function(t, n) {
|
|
3357
3320
|
for (var r = []; ; ) {
|
|
3358
|
-
var i =
|
|
3359
|
-
if (i === void 0 ||
|
|
3321
|
+
var i = hn(t, n);
|
|
3322
|
+
if (i === void 0 || cn(i) || ci(i))
|
|
3360
3323
|
break;
|
|
3361
3324
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
3362
3325
|
}
|
|
3363
|
-
return
|
|
3326
|
+
return qe.apply(void 0, r);
|
|
3364
3327
|
};
|
|
3365
|
-
var
|
|
3328
|
+
var li = (
|
|
3366
3329
|
/** @class */
|
|
3367
3330
|
function() {
|
|
3368
3331
|
function e(t, n) {
|
|
@@ -3376,33 +3339,33 @@ var vi = (
|
|
|
3376
3339
|
for (var i = []; !this.isEOF(); ) {
|
|
3377
3340
|
var o = this.char();
|
|
3378
3341
|
if (o === 123) {
|
|
3379
|
-
var
|
|
3380
|
-
if (
|
|
3381
|
-
return
|
|
3382
|
-
i.push(
|
|
3342
|
+
var a = this.parseArgument(t, r);
|
|
3343
|
+
if (a.err)
|
|
3344
|
+
return a;
|
|
3345
|
+
i.push(a.val);
|
|
3383
3346
|
} else {
|
|
3384
3347
|
if (o === 125 && t > 0)
|
|
3385
3348
|
break;
|
|
3386
3349
|
if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
3387
|
-
var
|
|
3350
|
+
var s = this.clonePosition();
|
|
3388
3351
|
this.bump(), i.push({
|
|
3389
3352
|
type: v.pound,
|
|
3390
|
-
location: g(
|
|
3353
|
+
location: g(s, this.clonePosition())
|
|
3391
3354
|
});
|
|
3392
3355
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3393
3356
|
if (r)
|
|
3394
3357
|
break;
|
|
3395
3358
|
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3396
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3397
|
-
var
|
|
3398
|
-
if (
|
|
3399
|
-
return
|
|
3400
|
-
i.push(
|
|
3359
|
+
} else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
|
3360
|
+
var a = this.parseTag(t, n);
|
|
3361
|
+
if (a.err)
|
|
3362
|
+
return a;
|
|
3363
|
+
i.push(a.val);
|
|
3401
3364
|
} else {
|
|
3402
|
-
var
|
|
3403
|
-
if (
|
|
3404
|
-
return
|
|
3405
|
-
i.push(
|
|
3365
|
+
var a = this.parseLiteral(t, n);
|
|
3366
|
+
if (a.err)
|
|
3367
|
+
return a;
|
|
3368
|
+
i.push(a.val);
|
|
3406
3369
|
}
|
|
3407
3370
|
}
|
|
3408
3371
|
}
|
|
@@ -3424,27 +3387,27 @@ var vi = (
|
|
|
3424
3387
|
var o = this.parseMessage(t + 1, n, !0);
|
|
3425
3388
|
if (o.err)
|
|
3426
3389
|
return o;
|
|
3427
|
-
var
|
|
3390
|
+
var a = o.val, s = this.clonePosition();
|
|
3428
3391
|
if (this.bumpIf("</")) {
|
|
3429
|
-
if (this.isEOF() || !
|
|
3430
|
-
return this.error(b.INVALID_TAG, g(
|
|
3392
|
+
if (this.isEOF() || !Je(this.char()))
|
|
3393
|
+
return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
|
|
3431
3394
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3432
3395
|
return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3433
3396
|
val: {
|
|
3434
3397
|
type: v.tag,
|
|
3435
3398
|
value: i,
|
|
3436
|
-
children:
|
|
3399
|
+
children: a,
|
|
3437
3400
|
location: g(r, this.clonePosition())
|
|
3438
3401
|
},
|
|
3439
3402
|
err: null
|
|
3440
|
-
} : this.error(b.INVALID_TAG, g(
|
|
3403
|
+
} : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
|
|
3441
3404
|
} else
|
|
3442
3405
|
return this.error(b.UNCLOSED_TAG, g(r, this.clonePosition()));
|
|
3443
3406
|
} else
|
|
3444
3407
|
return this.error(b.INVALID_TAG, g(r, this.clonePosition()));
|
|
3445
3408
|
}, e.prototype.parseTagName = function() {
|
|
3446
3409
|
var t = this.offset();
|
|
3447
|
-
for (this.bump(); !this.isEOF() &&
|
|
3410
|
+
for (this.bump(); !this.isEOF() && fi(this.char()); )
|
|
3448
3411
|
this.bump();
|
|
3449
3412
|
return this.message.slice(t, this.offset());
|
|
3450
3413
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -3454,16 +3417,16 @@ var vi = (
|
|
|
3454
3417
|
i += o;
|
|
3455
3418
|
continue;
|
|
3456
3419
|
}
|
|
3457
|
-
var
|
|
3458
|
-
if (s) {
|
|
3459
|
-
i += s;
|
|
3460
|
-
continue;
|
|
3461
|
-
}
|
|
3462
|
-
var a = this.tryParseLeftAngleBracket();
|
|
3420
|
+
var a = this.tryParseUnquoted(t, n);
|
|
3463
3421
|
if (a) {
|
|
3464
3422
|
i += a;
|
|
3465
3423
|
continue;
|
|
3466
3424
|
}
|
|
3425
|
+
var s = this.tryParseLeftAngleBracket();
|
|
3426
|
+
if (s) {
|
|
3427
|
+
i += s;
|
|
3428
|
+
continue;
|
|
3429
|
+
}
|
|
3467
3430
|
break;
|
|
3468
3431
|
}
|
|
3469
3432
|
var u = g(r, this.clonePosition());
|
|
@@ -3473,7 +3436,7 @@ var vi = (
|
|
|
3473
3436
|
};
|
|
3474
3437
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3475
3438
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3476
|
-
!
|
|
3439
|
+
!hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3477
3440
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3478
3441
|
if (this.isEOF() || this.char() !== 39)
|
|
3479
3442
|
return null;
|
|
@@ -3507,12 +3470,12 @@ var vi = (
|
|
|
3507
3470
|
n.push(r);
|
|
3508
3471
|
this.bump();
|
|
3509
3472
|
}
|
|
3510
|
-
return
|
|
3473
|
+
return qe.apply(void 0, n);
|
|
3511
3474
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
3512
3475
|
if (this.isEOF())
|
|
3513
3476
|
return null;
|
|
3514
3477
|
var r = this.char();
|
|
3515
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
3478
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), qe(r));
|
|
3516
3479
|
}, e.prototype.parseArgument = function(t, n) {
|
|
3517
3480
|
var r = this.clonePosition();
|
|
3518
3481
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3541,15 +3504,15 @@ var vi = (
|
|
|
3541
3504
|
return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
|
|
3542
3505
|
}
|
|
3543
3506
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3544
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
3507
|
+
var t = this.clonePosition(), n = this.offset(), r = Qe(this.message, n), i = n + r.length;
|
|
3545
3508
|
this.bumpTo(i);
|
|
3546
|
-
var o = this.clonePosition(),
|
|
3547
|
-
return { value: r, location:
|
|
3509
|
+
var o = this.clonePosition(), a = g(t, o);
|
|
3510
|
+
return { value: r, location: a };
|
|
3548
3511
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
3549
|
-
var o,
|
|
3550
|
-
switch (
|
|
3512
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3513
|
+
switch (s) {
|
|
3551
3514
|
case "":
|
|
3552
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE, g(
|
|
3515
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, u));
|
|
3553
3516
|
case "number":
|
|
3554
3517
|
case "date":
|
|
3555
3518
|
case "time": {
|
|
@@ -3560,7 +3523,7 @@ var vi = (
|
|
|
3560
3523
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3561
3524
|
if (f.err)
|
|
3562
3525
|
return f;
|
|
3563
|
-
var c =
|
|
3526
|
+
var c = ui(f.val);
|
|
3564
3527
|
if (c.length === 0)
|
|
3565
3528
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3566
3529
|
var d = g(h, this.clonePosition());
|
|
@@ -3570,9 +3533,9 @@ var vi = (
|
|
|
3570
3533
|
if (p.err)
|
|
3571
3534
|
return p;
|
|
3572
3535
|
var m = g(i, this.clonePosition());
|
|
3573
|
-
if (l &&
|
|
3574
|
-
var x =
|
|
3575
|
-
if (
|
|
3536
|
+
if (l && xt(l?.style, "::", 0)) {
|
|
3537
|
+
var x = ai(l.style.slice(2));
|
|
3538
|
+
if (s === "number") {
|
|
3576
3539
|
var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
|
|
3577
3540
|
return f.err ? f : {
|
|
3578
3541
|
val: { type: v.number, value: r, location: m, style: f.val },
|
|
@@ -3582,13 +3545,13 @@ var vi = (
|
|
|
3582
3545
|
if (x.length === 0)
|
|
3583
3546
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3584
3547
|
var T = x;
|
|
3585
|
-
this.locale && (T =
|
|
3548
|
+
this.locale && (T = Zr(x, this.locale));
|
|
3586
3549
|
var c = {
|
|
3587
|
-
type:
|
|
3550
|
+
type: Q.dateTime,
|
|
3588
3551
|
pattern: T,
|
|
3589
3552
|
location: l.styleLocation,
|
|
3590
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3591
|
-
}, w =
|
|
3553
|
+
parsedOptions: this.shouldParseSkeletons ? Fr(T) : {}
|
|
3554
|
+
}, w = s === "date" ? v.date : v.time;
|
|
3592
3555
|
return {
|
|
3593
3556
|
val: { type: w, value: r, location: m, style: c },
|
|
3594
3557
|
err: null
|
|
@@ -3597,10 +3560,10 @@ var vi = (
|
|
|
3597
3560
|
}
|
|
3598
3561
|
return {
|
|
3599
3562
|
val: {
|
|
3600
|
-
type:
|
|
3563
|
+
type: s === "number" ? v.number : s === "date" ? v.date : v.time,
|
|
3601
3564
|
value: r,
|
|
3602
3565
|
location: m,
|
|
3603
|
-
style: (o = l
|
|
3566
|
+
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
3604
3567
|
},
|
|
3605
3568
|
err: null
|
|
3606
3569
|
};
|
|
@@ -3612,45 +3575,45 @@ var vi = (
|
|
|
3612
3575
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3613
3576
|
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, _({}, E)));
|
|
3614
3577
|
this.bumpSpace();
|
|
3615
|
-
var
|
|
3616
|
-
if (
|
|
3578
|
+
var O = this.parseIdentifierIfPossible(), H = 0;
|
|
3579
|
+
if (s !== "select" && O.value === "offset") {
|
|
3617
3580
|
if (!this.bumpIf(":"))
|
|
3618
3581
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3619
3582
|
this.bumpSpace();
|
|
3620
3583
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3621
3584
|
if (f.err)
|
|
3622
3585
|
return f;
|
|
3623
|
-
this.bumpSpace(),
|
|
3586
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = f.val;
|
|
3624
3587
|
}
|
|
3625
|
-
var
|
|
3626
|
-
if (
|
|
3627
|
-
return
|
|
3588
|
+
var R = this.tryParsePluralOrSelectOptions(t, s, n, O);
|
|
3589
|
+
if (R.err)
|
|
3590
|
+
return R;
|
|
3628
3591
|
var p = this.tryParseArgumentClose(i);
|
|
3629
3592
|
if (p.err)
|
|
3630
3593
|
return p;
|
|
3631
|
-
var
|
|
3632
|
-
return
|
|
3594
|
+
var de = g(i, this.clonePosition());
|
|
3595
|
+
return s === "select" ? {
|
|
3633
3596
|
val: {
|
|
3634
3597
|
type: v.select,
|
|
3635
3598
|
value: r,
|
|
3636
|
-
options:
|
|
3637
|
-
location:
|
|
3599
|
+
options: Et(R.val),
|
|
3600
|
+
location: de
|
|
3638
3601
|
},
|
|
3639
3602
|
err: null
|
|
3640
3603
|
} : {
|
|
3641
3604
|
val: {
|
|
3642
3605
|
type: v.plural,
|
|
3643
3606
|
value: r,
|
|
3644
|
-
options:
|
|
3607
|
+
options: Et(R.val),
|
|
3645
3608
|
offset: H,
|
|
3646
|
-
pluralType:
|
|
3647
|
-
location:
|
|
3609
|
+
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3610
|
+
location: de
|
|
3648
3611
|
},
|
|
3649
3612
|
err: null
|
|
3650
3613
|
};
|
|
3651
3614
|
}
|
|
3652
3615
|
default:
|
|
3653
|
-
return this.error(b.INVALID_ARGUMENT_TYPE, g(
|
|
3616
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, g(a, u));
|
|
3654
3617
|
}
|
|
3655
3618
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3656
3619
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3692,21 +3655,21 @@ var vi = (
|
|
|
3692
3655
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3693
3656
|
var r = [];
|
|
3694
3657
|
try {
|
|
3695
|
-
r =
|
|
3696
|
-
} catch
|
|
3658
|
+
r = kr(t);
|
|
3659
|
+
} catch {
|
|
3697
3660
|
return this.error(b.INVALID_NUMBER_SKELETON, n);
|
|
3698
3661
|
}
|
|
3699
3662
|
return {
|
|
3700
3663
|
val: {
|
|
3701
|
-
type:
|
|
3664
|
+
type: Q.number,
|
|
3702
3665
|
tokens: r,
|
|
3703
3666
|
location: n,
|
|
3704
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3667
|
+
parsedOptions: this.shouldParseSkeletons ? zr(r) : {}
|
|
3705
3668
|
},
|
|
3706
3669
|
err: null
|
|
3707
3670
|
};
|
|
3708
3671
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3709
|
-
for (var o,
|
|
3672
|
+
for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
|
|
3710
3673
|
if (l.length === 0) {
|
|
3711
3674
|
var f = this.clonePosition();
|
|
3712
3675
|
if (n !== "select" && this.bumpIf("=")) {
|
|
@@ -3719,7 +3682,7 @@ var vi = (
|
|
|
3719
3682
|
}
|
|
3720
3683
|
if (u.has(l))
|
|
3721
3684
|
return this.error(n === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3722
|
-
l === "other" && (
|
|
3685
|
+
l === "other" && (a = !0), this.bumpSpace();
|
|
3723
3686
|
var d = this.clonePosition();
|
|
3724
3687
|
if (!this.bumpIf("{"))
|
|
3725
3688
|
return this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
@@ -3729,7 +3692,7 @@ var vi = (
|
|
|
3729
3692
|
var m = this.tryParseArgumentClose(d);
|
|
3730
3693
|
if (m.err)
|
|
3731
3694
|
return m;
|
|
3732
|
-
|
|
3695
|
+
s.push([
|
|
3733
3696
|
l,
|
|
3734
3697
|
{
|
|
3735
3698
|
value: p.val,
|
|
@@ -3737,19 +3700,19 @@ var vi = (
|
|
|
3737
3700
|
}
|
|
3738
3701
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
|
3739
3702
|
}
|
|
3740
|
-
return
|
|
3703
|
+
return s.length === 0 ? this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3741
3704
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3742
3705
|
var r = 1, i = this.clonePosition();
|
|
3743
3706
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3744
|
-
for (var o = !1,
|
|
3745
|
-
var
|
|
3746
|
-
if (
|
|
3747
|
-
o = !0,
|
|
3707
|
+
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3708
|
+
var s = this.char();
|
|
3709
|
+
if (s >= 48 && s <= 57)
|
|
3710
|
+
o = !0, a = a * 10 + (s - 48), this.bump();
|
|
3748
3711
|
else
|
|
3749
3712
|
break;
|
|
3750
3713
|
}
|
|
3751
3714
|
var u = g(i, this.clonePosition());
|
|
3752
|
-
return o ? (
|
|
3715
|
+
return o ? (a *= r, oi(a) ? { val: a, err: null } : this.error(n, u)) : this.error(t, u);
|
|
3753
3716
|
}, e.prototype.offset = function() {
|
|
3754
3717
|
return this.position.offset;
|
|
3755
3718
|
}, e.prototype.isEOF = function() {
|
|
@@ -3764,7 +3727,7 @@ var vi = (
|
|
|
3764
3727
|
var t = this.position.offset;
|
|
3765
3728
|
if (t >= this.message.length)
|
|
3766
3729
|
throw Error("out of bound");
|
|
3767
|
-
var n =
|
|
3730
|
+
var n = hn(this.message, t);
|
|
3768
3731
|
if (n === void 0)
|
|
3769
3732
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3770
3733
|
return n;
|
|
@@ -3783,7 +3746,7 @@ var vi = (
|
|
|
3783
3746
|
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);
|
|
3784
3747
|
}
|
|
3785
3748
|
}, e.prototype.bumpIf = function(t) {
|
|
3786
|
-
if (
|
|
3749
|
+
if (xt(this.message, t, this.offset())) {
|
|
3787
3750
|
for (var n = 0; n < t.length; n++)
|
|
3788
3751
|
this.bump();
|
|
3789
3752
|
return !0;
|
|
@@ -3805,56 +3768,56 @@ var vi = (
|
|
|
3805
3768
|
break;
|
|
3806
3769
|
}
|
|
3807
3770
|
}, e.prototype.bumpSpace = function() {
|
|
3808
|
-
for (; !this.isEOF() &&
|
|
3771
|
+
for (; !this.isEOF() && cn(this.char()); )
|
|
3809
3772
|
this.bump();
|
|
3810
3773
|
}, e.prototype.peek = function() {
|
|
3811
3774
|
if (this.isEOF())
|
|
3812
3775
|
return null;
|
|
3813
3776
|
var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
|
|
3814
|
-
return r
|
|
3777
|
+
return r ?? null;
|
|
3815
3778
|
}, e;
|
|
3816
3779
|
}()
|
|
3817
3780
|
);
|
|
3818
|
-
function
|
|
3781
|
+
function Je(e) {
|
|
3819
3782
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3820
3783
|
}
|
|
3821
|
-
function
|
|
3822
|
-
return
|
|
3784
|
+
function hi(e) {
|
|
3785
|
+
return Je(e) || e === 47;
|
|
3823
3786
|
}
|
|
3824
|
-
function
|
|
3787
|
+
function fi(e) {
|
|
3825
3788
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3826
3789
|
}
|
|
3827
|
-
function
|
|
3790
|
+
function cn(e) {
|
|
3828
3791
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3829
3792
|
}
|
|
3830
|
-
function
|
|
3793
|
+
function ci(e) {
|
|
3831
3794
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3832
3795
|
}
|
|
3833
|
-
function
|
|
3796
|
+
function Ye(e) {
|
|
3834
3797
|
e.forEach(function(t) {
|
|
3835
|
-
if (delete t.location,
|
|
3798
|
+
if (delete t.location, tn(t) || nn(t))
|
|
3836
3799
|
for (var n in t.options)
|
|
3837
|
-
delete t.options[n].location,
|
|
3838
|
-
else
|
|
3800
|
+
delete t.options[n].location, Ye(t.options[n].value);
|
|
3801
|
+
else Yt(t) && on(t.style) || (Kt(t) || en(t)) && ze(t.style) ? delete t.style.location : rn(t) && Ye(t.children);
|
|
3839
3802
|
});
|
|
3840
3803
|
}
|
|
3841
|
-
function
|
|
3804
|
+
function di(e, t) {
|
|
3842
3805
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3843
|
-
var n = new
|
|
3806
|
+
var n = new li(e, t).parse();
|
|
3844
3807
|
if (n.err) {
|
|
3845
3808
|
var r = SyntaxError(b[n.err.kind]);
|
|
3846
3809
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3847
3810
|
}
|
|
3848
|
-
return t
|
|
3811
|
+
return t?.captureLocation || Ye(n.val), n.val;
|
|
3849
3812
|
}
|
|
3850
|
-
var
|
|
3813
|
+
var J;
|
|
3851
3814
|
(function(e) {
|
|
3852
3815
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3853
|
-
})(
|
|
3854
|
-
var
|
|
3816
|
+
})(J || (J = {}));
|
|
3817
|
+
var Pe = (
|
|
3855
3818
|
/** @class */
|
|
3856
3819
|
function(e) {
|
|
3857
|
-
|
|
3820
|
+
$(t, e);
|
|
3858
3821
|
function t(n, r, i) {
|
|
3859
3822
|
var o = e.call(this, n) || this;
|
|
3860
3823
|
return o.code = r, o.originalMessage = i, o;
|
|
@@ -3863,65 +3826,65 @@ var Oe = (
|
|
|
3863
3826
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3864
3827
|
}, t;
|
|
3865
3828
|
}(Error)
|
|
3866
|
-
),
|
|
3829
|
+
), Tt = (
|
|
3867
3830
|
/** @class */
|
|
3868
3831
|
function(e) {
|
|
3869
|
-
|
|
3832
|
+
$(t, e);
|
|
3870
3833
|
function t(n, r, i, o) {
|
|
3871
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3834
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3872
3835
|
}
|
|
3873
3836
|
return t;
|
|
3874
|
-
}(
|
|
3875
|
-
),
|
|
3837
|
+
}(Pe)
|
|
3838
|
+
), pi = (
|
|
3876
3839
|
/** @class */
|
|
3877
3840
|
function(e) {
|
|
3878
|
-
|
|
3841
|
+
$(t, e);
|
|
3879
3842
|
function t(n, r, i) {
|
|
3880
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r),
|
|
3843
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), J.INVALID_VALUE, i) || this;
|
|
3881
3844
|
}
|
|
3882
3845
|
return t;
|
|
3883
|
-
}(
|
|
3884
|
-
),
|
|
3846
|
+
}(Pe)
|
|
3847
|
+
), mi = (
|
|
3885
3848
|
/** @class */
|
|
3886
3849
|
function(e) {
|
|
3887
|
-
|
|
3850
|
+
$(t, e);
|
|
3888
3851
|
function t(n, r) {
|
|
3889
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'),
|
|
3852
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), J.MISSING_VALUE, r) || this;
|
|
3890
3853
|
}
|
|
3891
3854
|
return t;
|
|
3892
|
-
}(
|
|
3855
|
+
}(Pe)
|
|
3893
3856
|
), S;
|
|
3894
3857
|
(function(e) {
|
|
3895
3858
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3896
3859
|
})(S || (S = {}));
|
|
3897
|
-
function
|
|
3860
|
+
function bi(e) {
|
|
3898
3861
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3899
3862
|
var r = t[t.length - 1];
|
|
3900
3863
|
return !r || r.type !== S.literal || n.type !== S.literal ? t.push(n) : r.value += n.value, t;
|
|
3901
3864
|
}, []);
|
|
3902
3865
|
}
|
|
3903
|
-
function
|
|
3866
|
+
function gi(e) {
|
|
3904
3867
|
return typeof e == "function";
|
|
3905
3868
|
}
|
|
3906
|
-
function
|
|
3907
|
-
if (e.length === 1 &&
|
|
3869
|
+
function ve(e, t, n, r, i, o, a) {
|
|
3870
|
+
if (e.length === 1 && gt(e[0]))
|
|
3908
3871
|
return [
|
|
3909
3872
|
{
|
|
3910
3873
|
type: S.literal,
|
|
3911
3874
|
value: e[0].value
|
|
3912
3875
|
}
|
|
3913
3876
|
];
|
|
3914
|
-
for (var
|
|
3877
|
+
for (var s = [], u = 0, l = e; u < l.length; u++) {
|
|
3915
3878
|
var h = l[u];
|
|
3916
|
-
if (
|
|
3917
|
-
|
|
3879
|
+
if (gt(h)) {
|
|
3880
|
+
s.push({
|
|
3918
3881
|
type: S.literal,
|
|
3919
3882
|
value: h.value
|
|
3920
3883
|
});
|
|
3921
3884
|
continue;
|
|
3922
3885
|
}
|
|
3923
|
-
if (
|
|
3924
|
-
typeof o == "number" &&
|
|
3886
|
+
if (Dr(h)) {
|
|
3887
|
+
typeof o == "number" && s.push({
|
|
3925
3888
|
type: S.literal,
|
|
3926
3889
|
value: n.getNumberFormat(t).format(o)
|
|
3927
3890
|
});
|
|
@@ -3929,89 +3892,89 @@ function xe(e, t, n, r, i, o, s) {
|
|
|
3929
3892
|
}
|
|
3930
3893
|
var f = h.value;
|
|
3931
3894
|
if (!(i && f in i))
|
|
3932
|
-
throw new
|
|
3895
|
+
throw new mi(f, a);
|
|
3933
3896
|
var c = i[f];
|
|
3934
|
-
if (
|
|
3935
|
-
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""),
|
|
3897
|
+
if (Ur(h)) {
|
|
3898
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3936
3899
|
type: typeof c == "string" ? S.literal : S.object,
|
|
3937
3900
|
value: c
|
|
3938
3901
|
});
|
|
3939
3902
|
continue;
|
|
3940
3903
|
}
|
|
3941
|
-
if (
|
|
3942
|
-
var d = typeof h.style == "string" ? r.date[h.style] :
|
|
3943
|
-
|
|
3904
|
+
if (Kt(h)) {
|
|
3905
|
+
var d = typeof h.style == "string" ? r.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
|
|
3906
|
+
s.push({
|
|
3944
3907
|
type: S.literal,
|
|
3945
3908
|
value: n.getDateTimeFormat(t, d).format(c)
|
|
3946
3909
|
});
|
|
3947
3910
|
continue;
|
|
3948
3911
|
}
|
|
3949
|
-
if (
|
|
3950
|
-
var d = typeof h.style == "string" ? r.time[h.style] :
|
|
3951
|
-
|
|
3912
|
+
if (en(h)) {
|
|
3913
|
+
var d = typeof h.style == "string" ? r.time[h.style] : ze(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3914
|
+
s.push({
|
|
3952
3915
|
type: S.literal,
|
|
3953
3916
|
value: n.getDateTimeFormat(t, d).format(c)
|
|
3954
3917
|
});
|
|
3955
3918
|
continue;
|
|
3956
3919
|
}
|
|
3957
|
-
if (
|
|
3958
|
-
var d = typeof h.style == "string" ? r.number[h.style] :
|
|
3959
|
-
d && d.scale && (c = c * (d.scale || 1)),
|
|
3920
|
+
if (Yt(h)) {
|
|
3921
|
+
var d = typeof h.style == "string" ? r.number[h.style] : on(h.style) ? h.style.parsedOptions : void 0;
|
|
3922
|
+
d && d.scale && (c = c * (d.scale || 1)), s.push({
|
|
3960
3923
|
type: S.literal,
|
|
3961
3924
|
value: n.getNumberFormat(t, d).format(c)
|
|
3962
3925
|
});
|
|
3963
3926
|
continue;
|
|
3964
3927
|
}
|
|
3965
|
-
if (
|
|
3928
|
+
if (rn(h)) {
|
|
3966
3929
|
var p = h.children, m = h.value, x = i[m];
|
|
3967
|
-
if (!
|
|
3968
|
-
throw new
|
|
3969
|
-
var T =
|
|
3930
|
+
if (!gi(x))
|
|
3931
|
+
throw new pi(m, "function", a);
|
|
3932
|
+
var T = ve(p, t, n, r, i, o), w = x(T.map(function(H) {
|
|
3970
3933
|
return H.value;
|
|
3971
3934
|
}));
|
|
3972
|
-
Array.isArray(w) || (w = [w]),
|
|
3935
|
+
Array.isArray(w) || (w = [w]), s.push.apply(s, w.map(function(H) {
|
|
3973
3936
|
return {
|
|
3974
3937
|
type: typeof H == "string" ? S.literal : S.object,
|
|
3975
3938
|
value: H
|
|
3976
3939
|
};
|
|
3977
3940
|
}));
|
|
3978
3941
|
}
|
|
3979
|
-
if (
|
|
3942
|
+
if (tn(h)) {
|
|
3980
3943
|
var E = h.options[c] || h.options.other;
|
|
3981
3944
|
if (!E)
|
|
3982
|
-
throw new
|
|
3983
|
-
|
|
3945
|
+
throw new Tt(h.value, c, Object.keys(h.options), a);
|
|
3946
|
+
s.push.apply(s, ve(E.value, t, n, r, i));
|
|
3984
3947
|
continue;
|
|
3985
3948
|
}
|
|
3986
|
-
if (
|
|
3949
|
+
if (nn(h)) {
|
|
3987
3950
|
var E = h.options["=".concat(c)];
|
|
3988
3951
|
if (!E) {
|
|
3989
3952
|
if (!Intl.PluralRules)
|
|
3990
|
-
throw new
|
|
3953
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3991
3954
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3992
|
-
`,
|
|
3993
|
-
var
|
|
3994
|
-
E = h.options[
|
|
3955
|
+
`, J.MISSING_INTL_API, a);
|
|
3956
|
+
var O = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3957
|
+
E = h.options[O] || h.options.other;
|
|
3995
3958
|
}
|
|
3996
3959
|
if (!E)
|
|
3997
|
-
throw new
|
|
3998
|
-
|
|
3960
|
+
throw new Tt(h.value, c, Object.keys(h.options), a);
|
|
3961
|
+
s.push.apply(s, ve(E.value, t, n, r, i, c - (h.offset || 0)));
|
|
3999
3962
|
continue;
|
|
4000
3963
|
}
|
|
4001
3964
|
}
|
|
4002
|
-
return
|
|
3965
|
+
return bi(s);
|
|
4003
3966
|
}
|
|
4004
|
-
function
|
|
3967
|
+
function yi(e, t) {
|
|
4005
3968
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
4006
3969
|
return n[r] = _(_({}, e[r]), t[r] || {}), n;
|
|
4007
3970
|
}, {})) : e;
|
|
4008
3971
|
}
|
|
4009
|
-
function
|
|
3972
|
+
function _i(e, t) {
|
|
4010
3973
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
4011
|
-
return n[r] =
|
|
3974
|
+
return n[r] = yi(e[r], t[r]), n;
|
|
4012
3975
|
}, _({}, e)) : e;
|
|
4013
3976
|
}
|
|
4014
|
-
function
|
|
3977
|
+
function Ue(e) {
|
|
4015
3978
|
return {
|
|
4016
3979
|
create: function() {
|
|
4017
3980
|
return {
|
|
@@ -4025,39 +3988,39 @@ function Ge(e) {
|
|
|
4025
3988
|
}
|
|
4026
3989
|
};
|
|
4027
3990
|
}
|
|
4028
|
-
function
|
|
3991
|
+
function vi(e) {
|
|
4029
3992
|
return e === void 0 && (e = {
|
|
4030
3993
|
number: {},
|
|
4031
3994
|
dateTime: {},
|
|
4032
3995
|
pluralRules: {}
|
|
4033
3996
|
}), {
|
|
4034
|
-
getNumberFormat:
|
|
3997
|
+
getNumberFormat: Me(function() {
|
|
4035
3998
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
4036
3999
|
n[r] = arguments[r];
|
|
4037
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4000
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], n, !1)))();
|
|
4038
4001
|
}, {
|
|
4039
|
-
cache:
|
|
4040
|
-
strategy:
|
|
4002
|
+
cache: Ue(e.number),
|
|
4003
|
+
strategy: $e.variadic
|
|
4041
4004
|
}),
|
|
4042
|
-
getDateTimeFormat:
|
|
4005
|
+
getDateTimeFormat: Me(function() {
|
|
4043
4006
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
4044
4007
|
n[r] = arguments[r];
|
|
4045
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4008
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], n, !1)))();
|
|
4046
4009
|
}, {
|
|
4047
|
-
cache:
|
|
4048
|
-
strategy:
|
|
4010
|
+
cache: Ue(e.dateTime),
|
|
4011
|
+
strategy: $e.variadic
|
|
4049
4012
|
}),
|
|
4050
|
-
getPluralRules:
|
|
4013
|
+
getPluralRules: Me(function() {
|
|
4051
4014
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
4052
4015
|
n[r] = arguments[r];
|
|
4053
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4016
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], n, !1)))();
|
|
4054
4017
|
}, {
|
|
4055
|
-
cache:
|
|
4056
|
-
strategy:
|
|
4018
|
+
cache: Ue(e.pluralRules),
|
|
4019
|
+
strategy: $e.variadic
|
|
4057
4020
|
})
|
|
4058
4021
|
};
|
|
4059
4022
|
}
|
|
4060
|
-
var
|
|
4023
|
+
var xi = (
|
|
4061
4024
|
/** @class */
|
|
4062
4025
|
function() {
|
|
4063
4026
|
function e(t, n, r, i) {
|
|
@@ -4076,7 +4039,7 @@ var Li = (
|
|
|
4076
4039
|
}, []);
|
|
4077
4040
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4078
4041
|
}, this.formatToParts = function(u) {
|
|
4079
|
-
return
|
|
4042
|
+
return ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
4080
4043
|
}, this.resolvedOptions = function() {
|
|
4081
4044
|
var u;
|
|
4082
4045
|
return {
|
|
@@ -4087,15 +4050,15 @@ var Li = (
|
|
|
4087
4050
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
4088
4051
|
if (this.message = t, !e.__parse)
|
|
4089
4052
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4090
|
-
var
|
|
4091
|
-
|
|
4092
|
-
var
|
|
4093
|
-
this.ast = e.__parse(t, _(_({},
|
|
4053
|
+
var a = i || {};
|
|
4054
|
+
a.formatters;
|
|
4055
|
+
var s = Kn(a, ["formatters"]);
|
|
4056
|
+
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
4094
4057
|
} else
|
|
4095
4058
|
this.ast = t;
|
|
4096
4059
|
if (!Array.isArray(this.ast))
|
|
4097
4060
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4098
|
-
this.formats =
|
|
4061
|
+
this.formats = _i(e.formats, r), this.formatters = i && i.formatters || vi(this.formatterCache);
|
|
4099
4062
|
}
|
|
4100
4063
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4101
4064
|
get: function() {
|
|
@@ -4104,11 +4067,11 @@ var Li = (
|
|
|
4104
4067
|
enumerable: !1,
|
|
4105
4068
|
configurable: !0
|
|
4106
4069
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
4107
|
-
if (typeof Intl.Locale
|
|
4070
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
4108
4071
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4109
4072
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4110
4073
|
}
|
|
4111
|
-
}, e.__parse =
|
|
4074
|
+
}, e.__parse = di, e.formats = {
|
|
4112
4075
|
number: {
|
|
4113
4076
|
integer: {
|
|
4114
4077
|
maximumFractionDigits: 0
|
|
@@ -4169,7 +4132,7 @@ var Li = (
|
|
|
4169
4132
|
}, e;
|
|
4170
4133
|
}()
|
|
4171
4134
|
);
|
|
4172
|
-
function
|
|
4135
|
+
function Ei(e, t) {
|
|
4173
4136
|
if (t == null)
|
|
4174
4137
|
return;
|
|
4175
4138
|
if (t in e)
|
|
@@ -4190,92 +4153,92 @@ function Ni(e, t) {
|
|
|
4190
4153
|
r = void 0;
|
|
4191
4154
|
return r;
|
|
4192
4155
|
}
|
|
4193
|
-
const
|
|
4156
|
+
const U = {}, Si = (e, t, n) => n && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = n), n), dn = (e, t) => {
|
|
4194
4157
|
if (t == null)
|
|
4195
4158
|
return;
|
|
4196
|
-
if (t in
|
|
4197
|
-
return
|
|
4198
|
-
const n =
|
|
4159
|
+
if (t in U && e in U[t])
|
|
4160
|
+
return U[t][e];
|
|
4161
|
+
const n = Oe(t);
|
|
4199
4162
|
for (let r = 0; r < n.length; r++) {
|
|
4200
|
-
const i = n[r], o =
|
|
4163
|
+
const i = n[r], o = wi(i, e);
|
|
4201
4164
|
if (o)
|
|
4202
|
-
return
|
|
4165
|
+
return Si(e, t, o);
|
|
4203
4166
|
}
|
|
4204
4167
|
};
|
|
4205
|
-
let
|
|
4206
|
-
const
|
|
4207
|
-
function
|
|
4208
|
-
return
|
|
4168
|
+
let it;
|
|
4169
|
+
const ce = Ae({});
|
|
4170
|
+
function Ti(e) {
|
|
4171
|
+
return it[e] || null;
|
|
4209
4172
|
}
|
|
4210
|
-
function
|
|
4211
|
-
return e in
|
|
4173
|
+
function pn(e) {
|
|
4174
|
+
return e in it;
|
|
4212
4175
|
}
|
|
4213
|
-
function
|
|
4214
|
-
if (!
|
|
4176
|
+
function wi(e, t) {
|
|
4177
|
+
if (!pn(e))
|
|
4215
4178
|
return null;
|
|
4216
|
-
const n =
|
|
4217
|
-
return
|
|
4179
|
+
const n = Ti(e);
|
|
4180
|
+
return Ei(n, t);
|
|
4218
4181
|
}
|
|
4219
|
-
function
|
|
4182
|
+
function Hi(e) {
|
|
4220
4183
|
if (e == null)
|
|
4221
4184
|
return;
|
|
4222
|
-
const t =
|
|
4185
|
+
const t = Oe(e);
|
|
4223
4186
|
for (let n = 0; n < t.length; n++) {
|
|
4224
4187
|
const r = t[n];
|
|
4225
|
-
if (
|
|
4188
|
+
if (pn(r))
|
|
4226
4189
|
return r;
|
|
4227
4190
|
}
|
|
4228
4191
|
}
|
|
4229
|
-
function
|
|
4230
|
-
delete
|
|
4192
|
+
function mn(e, ...t) {
|
|
4193
|
+
delete U[e], ce.update((n) => (n[e] = Or.all([n[e] || {}, ...t]), n));
|
|
4231
4194
|
}
|
|
4232
|
-
|
|
4233
|
-
[
|
|
4195
|
+
K(
|
|
4196
|
+
[ce],
|
|
4234
4197
|
([e]) => Object.keys(e)
|
|
4235
4198
|
);
|
|
4236
|
-
|
|
4237
|
-
const
|
|
4238
|
-
function
|
|
4239
|
-
|
|
4199
|
+
ce.subscribe((e) => it = e);
|
|
4200
|
+
const xe = {};
|
|
4201
|
+
function Bi(e, t) {
|
|
4202
|
+
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
4240
4203
|
}
|
|
4241
|
-
function
|
|
4242
|
-
return
|
|
4204
|
+
function bn(e) {
|
|
4205
|
+
return xe[e];
|
|
4243
4206
|
}
|
|
4244
|
-
function
|
|
4245
|
-
return
|
|
4246
|
-
const n =
|
|
4207
|
+
function Ai(e) {
|
|
4208
|
+
return Oe(e).map((t) => {
|
|
4209
|
+
const n = bn(t);
|
|
4247
4210
|
return [t, n ? [...n] : []];
|
|
4248
4211
|
}).filter(([, t]) => t.length > 0);
|
|
4249
4212
|
}
|
|
4250
|
-
function
|
|
4251
|
-
return e == null ? !1 :
|
|
4213
|
+
function Ke(e) {
|
|
4214
|
+
return e == null ? !1 : Oe(e).some(
|
|
4252
4215
|
(t) => {
|
|
4253
4216
|
var n;
|
|
4254
|
-
return (n =
|
|
4217
|
+
return (n = bn(t)) == null ? void 0 : n.size;
|
|
4255
4218
|
}
|
|
4256
4219
|
);
|
|
4257
4220
|
}
|
|
4258
|
-
function
|
|
4221
|
+
function Pi(e, t) {
|
|
4259
4222
|
return Promise.all(
|
|
4260
|
-
t.map((r) => (
|
|
4261
|
-
).then((r) =>
|
|
4262
|
-
}
|
|
4263
|
-
const
|
|
4264
|
-
function
|
|
4265
|
-
if (!
|
|
4266
|
-
return e in
|
|
4267
|
-
const t =
|
|
4268
|
-
return
|
|
4223
|
+
t.map((r) => (Bi(e, r), r().then((i) => i.default || i)))
|
|
4224
|
+
).then((r) => mn(e, ...r));
|
|
4225
|
+
}
|
|
4226
|
+
const ie = {};
|
|
4227
|
+
function gn(e) {
|
|
4228
|
+
if (!Ke(e))
|
|
4229
|
+
return e in ie ? ie[e] : Promise.resolve();
|
|
4230
|
+
const t = Ai(e);
|
|
4231
|
+
return ie[e] = Promise.all(
|
|
4269
4232
|
t.map(
|
|
4270
|
-
([n, r]) =>
|
|
4233
|
+
([n, r]) => Pi(n, r)
|
|
4271
4234
|
)
|
|
4272
4235
|
).then(() => {
|
|
4273
|
-
if (
|
|
4274
|
-
return
|
|
4275
|
-
delete
|
|
4276
|
-
}),
|
|
4236
|
+
if (Ke(e))
|
|
4237
|
+
return gn(e);
|
|
4238
|
+
delete ie[e];
|
|
4239
|
+
}), ie[e];
|
|
4277
4240
|
}
|
|
4278
|
-
const
|
|
4241
|
+
const Oi = {
|
|
4279
4242
|
number: {
|
|
4280
4243
|
scientific: { notation: "scientific" },
|
|
4281
4244
|
engineering: { notation: "engineering" },
|
|
@@ -4304,159 +4267,159 @@ const Fi = {
|
|
|
4304
4267
|
timeZoneName: "short"
|
|
4305
4268
|
}
|
|
4306
4269
|
}
|
|
4307
|
-
},
|
|
4270
|
+
}, Ii = {
|
|
4308
4271
|
fallbackLocale: null,
|
|
4309
4272
|
loadingDelay: 200,
|
|
4310
|
-
formats:
|
|
4273
|
+
formats: Oi,
|
|
4311
4274
|
warnOnMissingMessages: !0,
|
|
4312
4275
|
handleMissingMessage: void 0,
|
|
4313
4276
|
ignoreTag: !0
|
|
4314
|
-
},
|
|
4315
|
-
function
|
|
4316
|
-
return
|
|
4277
|
+
}, Li = Ii;
|
|
4278
|
+
function Y() {
|
|
4279
|
+
return Li;
|
|
4317
4280
|
}
|
|
4318
|
-
const
|
|
4319
|
-
var
|
|
4281
|
+
const De = Ae(!1);
|
|
4282
|
+
var Ni = Object.defineProperty, Ci = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Ht = (e, t, n) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ui = (e, t) => {
|
|
4320
4283
|
for (var n in t)
|
|
4321
|
-
|
|
4322
|
-
if (
|
|
4323
|
-
for (var n of
|
|
4324
|
-
|
|
4284
|
+
$i.call(t, n) && Ht(e, n, t[n]);
|
|
4285
|
+
if (wt)
|
|
4286
|
+
for (var n of wt(t))
|
|
4287
|
+
Ri.call(t, n) && Ht(e, n, t[n]);
|
|
4325
4288
|
return e;
|
|
4326
|
-
},
|
|
4327
|
-
let
|
|
4328
|
-
const
|
|
4329
|
-
function
|
|
4289
|
+
}, Di = (e, t) => Ci(e, Mi(t));
|
|
4290
|
+
let et;
|
|
4291
|
+
const we = Ae(null);
|
|
4292
|
+
function Bt(e) {
|
|
4330
4293
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
4331
4294
|
}
|
|
4332
|
-
function
|
|
4333
|
-
const n =
|
|
4334
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
4295
|
+
function Oe(e, t = Y().fallbackLocale) {
|
|
4296
|
+
const n = Bt(e);
|
|
4297
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...Bt(t)])] : n;
|
|
4335
4298
|
}
|
|
4336
|
-
function
|
|
4337
|
-
return
|
|
4299
|
+
function j() {
|
|
4300
|
+
return et ?? void 0;
|
|
4338
4301
|
}
|
|
4339
|
-
|
|
4340
|
-
|
|
4302
|
+
we.subscribe((e) => {
|
|
4303
|
+
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4341
4304
|
});
|
|
4342
|
-
const
|
|
4343
|
-
if (e &&
|
|
4344
|
-
const { loadingDelay: t } =
|
|
4305
|
+
const Gi = (e) => {
|
|
4306
|
+
if (e && Hi(e) && Ke(e)) {
|
|
4307
|
+
const { loadingDelay: t } = Y();
|
|
4345
4308
|
let n;
|
|
4346
|
-
return typeof window
|
|
4347
|
-
() =>
|
|
4309
|
+
return typeof window < "u" && j() != null && t ? n = window.setTimeout(
|
|
4310
|
+
() => De.set(!0),
|
|
4348
4311
|
t
|
|
4349
|
-
) :
|
|
4350
|
-
|
|
4312
|
+
) : De.set(!0), gn(e).then(() => {
|
|
4313
|
+
we.set(e);
|
|
4351
4314
|
}).finally(() => {
|
|
4352
|
-
clearTimeout(n),
|
|
4315
|
+
clearTimeout(n), De.set(!1);
|
|
4353
4316
|
});
|
|
4354
4317
|
}
|
|
4355
|
-
return
|
|
4356
|
-
},
|
|
4357
|
-
set:
|
|
4358
|
-
}),
|
|
4318
|
+
return we.set(e);
|
|
4319
|
+
}, ee = Di(Ui({}, we), {
|
|
4320
|
+
set: Gi
|
|
4321
|
+
}), Ie = (e) => {
|
|
4359
4322
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4360
4323
|
return (r) => {
|
|
4361
4324
|
const i = JSON.stringify(r);
|
|
4362
4325
|
return i in t ? t[i] : t[i] = e(r);
|
|
4363
4326
|
};
|
|
4364
4327
|
};
|
|
4365
|
-
var
|
|
4328
|
+
var Fi = Object.defineProperty, He = Object.getOwnPropertySymbols, yn = Object.prototype.hasOwnProperty, _n = Object.prototype.propertyIsEnumerable, At = (e, t, n) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ot = (e, t) => {
|
|
4366
4329
|
for (var n in t || (t = {}))
|
|
4367
|
-
|
|
4368
|
-
if (
|
|
4369
|
-
for (var n of
|
|
4370
|
-
|
|
4330
|
+
yn.call(t, n) && At(e, n, t[n]);
|
|
4331
|
+
if (He)
|
|
4332
|
+
for (var n of He(t))
|
|
4333
|
+
_n.call(t, n) && At(e, n, t[n]);
|
|
4371
4334
|
return e;
|
|
4372
|
-
},
|
|
4335
|
+
}, te = (e, t) => {
|
|
4373
4336
|
var n = {};
|
|
4374
4337
|
for (var r in e)
|
|
4375
|
-
|
|
4376
|
-
if (e != null &&
|
|
4377
|
-
for (var r of
|
|
4378
|
-
t.indexOf(r) < 0 &&
|
|
4338
|
+
yn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
4339
|
+
if (e != null && He)
|
|
4340
|
+
for (var r of He(e))
|
|
4341
|
+
t.indexOf(r) < 0 && _n.call(e, r) && (n[r] = e[r]);
|
|
4379
4342
|
return n;
|
|
4380
4343
|
};
|
|
4381
|
-
const
|
|
4382
|
-
const { formats: n } =
|
|
4344
|
+
const ue = (e, t) => {
|
|
4345
|
+
const { formats: n } = Y();
|
|
4383
4346
|
if (e in n && t in n[e])
|
|
4384
4347
|
return n[e][t];
|
|
4385
4348
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4386
|
-
},
|
|
4349
|
+
}, ji = Ie(
|
|
4387
4350
|
(e) => {
|
|
4388
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
4351
|
+
var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
|
|
4389
4352
|
if (n == null)
|
|
4390
4353
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4391
|
-
return r && (i =
|
|
4354
|
+
return r && (i = ue("number", r)), new Intl.NumberFormat(n, i);
|
|
4392
4355
|
}
|
|
4393
|
-
),
|
|
4356
|
+
), ki = Ie(
|
|
4394
4357
|
(e) => {
|
|
4395
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
4358
|
+
var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
|
|
4396
4359
|
if (n == null)
|
|
4397
4360
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4398
|
-
return r ? i =
|
|
4361
|
+
return r ? i = ue("date", r) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
4399
4362
|
}
|
|
4400
|
-
),
|
|
4363
|
+
), Vi = Ie(
|
|
4401
4364
|
(e) => {
|
|
4402
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
4365
|
+
var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
|
|
4403
4366
|
if (n == null)
|
|
4404
4367
|
throw new Error(
|
|
4405
4368
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4406
4369
|
);
|
|
4407
|
-
return r ? i =
|
|
4370
|
+
return r ? i = ue("time", r) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
4408
4371
|
}
|
|
4409
|
-
),
|
|
4372
|
+
), Xi = (e = {}) => {
|
|
4410
4373
|
var t = e, {
|
|
4411
|
-
locale: n =
|
|
4412
|
-
} = t, r =
|
|
4374
|
+
locale: n = j()
|
|
4375
|
+
} = t, r = te(t, [
|
|
4413
4376
|
"locale"
|
|
4414
4377
|
]);
|
|
4415
|
-
return
|
|
4416
|
-
},
|
|
4378
|
+
return ji(ot({ locale: n }, r));
|
|
4379
|
+
}, Wi = (e = {}) => {
|
|
4417
4380
|
var t = e, {
|
|
4418
|
-
locale: n =
|
|
4419
|
-
} = t, r =
|
|
4381
|
+
locale: n = j()
|
|
4382
|
+
} = t, r = te(t, [
|
|
4420
4383
|
"locale"
|
|
4421
4384
|
]);
|
|
4422
|
-
return
|
|
4423
|
-
},
|
|
4385
|
+
return ki(ot({ locale: n }, r));
|
|
4386
|
+
}, zi = (e = {}) => {
|
|
4424
4387
|
var t = e, {
|
|
4425
|
-
locale: n =
|
|
4426
|
-
} = t, r =
|
|
4388
|
+
locale: n = j()
|
|
4389
|
+
} = t, r = te(t, [
|
|
4427
4390
|
"locale"
|
|
4428
4391
|
]);
|
|
4429
|
-
return
|
|
4430
|
-
},
|
|
4392
|
+
return Vi(ot({ locale: n }, r));
|
|
4393
|
+
}, Zi = Ie(
|
|
4431
4394
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4432
|
-
(e, t =
|
|
4433
|
-
ignoreTag:
|
|
4395
|
+
(e, t = j()) => new xi(e, t, Y().formats, {
|
|
4396
|
+
ignoreTag: Y().ignoreTag
|
|
4434
4397
|
})
|
|
4435
|
-
),
|
|
4398
|
+
), qi = (e, t = {}) => {
|
|
4436
4399
|
var n, r, i, o;
|
|
4437
|
-
let
|
|
4438
|
-
typeof e == "object" && (
|
|
4400
|
+
let a = t;
|
|
4401
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
4439
4402
|
const {
|
|
4440
|
-
values:
|
|
4441
|
-
locale: u =
|
|
4403
|
+
values: s,
|
|
4404
|
+
locale: u = j(),
|
|
4442
4405
|
default: l
|
|
4443
|
-
} =
|
|
4406
|
+
} = a;
|
|
4444
4407
|
if (u == null)
|
|
4445
4408
|
throw new Error(
|
|
4446
4409
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4447
4410
|
);
|
|
4448
|
-
let h =
|
|
4411
|
+
let h = dn(e, u);
|
|
4449
4412
|
if (!h)
|
|
4450
|
-
h = (o = (i = (r = (n =
|
|
4413
|
+
h = (o = (i = (r = (n = Y()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4451
4414
|
else if (typeof h != "string")
|
|
4452
4415
|
return console.warn(
|
|
4453
4416
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4454
4417
|
), h;
|
|
4455
|
-
if (!
|
|
4418
|
+
if (!s)
|
|
4456
4419
|
return h;
|
|
4457
4420
|
let f = h;
|
|
4458
4421
|
try {
|
|
4459
|
-
f =
|
|
4422
|
+
f = Zi(h, u).format(s);
|
|
4460
4423
|
} catch (c) {
|
|
4461
4424
|
c instanceof Error && console.warn(
|
|
4462
4425
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4464,20 +4427,20 @@ const le = (e, t) => {
|
|
|
4464
4427
|
);
|
|
4465
4428
|
}
|
|
4466
4429
|
return f;
|
|
4467
|
-
},
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
window.emWidgets = { topic:
|
|
4473
|
-
const
|
|
4474
|
-
function
|
|
4475
|
-
|
|
4476
|
-
}
|
|
4477
|
-
function
|
|
4478
|
-
|
|
4479
|
-
}
|
|
4480
|
-
const
|
|
4430
|
+
}, Qi = (e, t) => zi(t).format(e), Ji = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = j()) => dn(e, t), eo = K([ee, ce], () => qi);
|
|
4431
|
+
K([ee], () => Qi);
|
|
4432
|
+
K([ee], () => Ji);
|
|
4433
|
+
K([ee], () => Yi);
|
|
4434
|
+
K([ee, ce], () => Ki);
|
|
4435
|
+
window.emWidgets = { topic: dr };
|
|
4436
|
+
const $o = (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)), to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4437
|
+
function Pt(e, t) {
|
|
4438
|
+
mn(e, t);
|
|
4439
|
+
}
|
|
4440
|
+
function no(e) {
|
|
4441
|
+
ee.set(e);
|
|
4442
|
+
}
|
|
4443
|
+
const Ot = {
|
|
4481
4444
|
en: {
|
|
4482
4445
|
logoutButton: "Logout"
|
|
4483
4446
|
},
|
|
@@ -4512,42 +4475,42 @@ const $t = {
|
|
|
4512
4475
|
logoutButton: "Logout"
|
|
4513
4476
|
}
|
|
4514
4477
|
};
|
|
4515
|
-
function
|
|
4516
|
-
|
|
4478
|
+
function ro(e) {
|
|
4479
|
+
Pn(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
4517
4480
|
}
|
|
4518
|
-
function
|
|
4481
|
+
function io(e) {
|
|
4519
4482
|
let t, n, r, i = (
|
|
4520
4483
|
/*$_*/
|
|
4521
4484
|
e[2]("logoutButton") + ""
|
|
4522
|
-
), o,
|
|
4485
|
+
), o, a, s;
|
|
4523
4486
|
return {
|
|
4524
4487
|
c() {
|
|
4525
|
-
t =
|
|
4488
|
+
t = L("div"), n = L("button"), r = L("span"), o = fe(i), A(t, "class", "GeneralLogout");
|
|
4526
4489
|
},
|
|
4527
4490
|
m(u, l) {
|
|
4528
|
-
|
|
4491
|
+
he(u, t, l), P(t, n), P(n, r), P(r, o), a || (s = Ut(
|
|
4529
4492
|
n,
|
|
4530
4493
|
"click",
|
|
4531
4494
|
/*click_handler_1*/
|
|
4532
4495
|
e[13]
|
|
4533
|
-
),
|
|
4496
|
+
), a = !0);
|
|
4534
4497
|
},
|
|
4535
4498
|
p(u, l) {
|
|
4536
4499
|
l & /*$_*/
|
|
4537
4500
|
4 && i !== (i = /*$_*/
|
|
4538
|
-
u[2]("logoutButton") + "") &&
|
|
4501
|
+
u[2]("logoutButton") + "") && Dt(o, i);
|
|
4539
4502
|
},
|
|
4540
4503
|
d(u) {
|
|
4541
|
-
u &&
|
|
4504
|
+
u && F(t), a = !1, s();
|
|
4542
4505
|
}
|
|
4543
4506
|
};
|
|
4544
4507
|
}
|
|
4545
|
-
function
|
|
4546
|
-
let t, n, r, i, o,
|
|
4547
|
-
e[3] &&
|
|
4508
|
+
function oo(e) {
|
|
4509
|
+
let t, n, r, i, o, a, s, u, l, h, f, c = !/*isMobile*/
|
|
4510
|
+
e[3] && so(e);
|
|
4548
4511
|
return {
|
|
4549
4512
|
c() {
|
|
4550
|
-
t =
|
|
4513
|
+
t = L("p"), n = L("span"), r = ne("svg"), i = ne("defs"), o = ne("style"), a = fe(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = ne("path"), u = ne("path"), l = In(), c && c.c(), A(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(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"), A(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(u, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), A(r, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(r, "data-name", "Layer 1"), A(r, "xmlns", "http://www.w3.org/2000/svg"), A(r, "viewBox", "0 0 150 150"), Nn(n, "width", /*isMobile*/
|
|
4551
4514
|
e[3] ? (
|
|
4552
4515
|
/*mediaQuery*/
|
|
4553
4516
|
e[4].matches ? "50px" : "24px"
|
|
@@ -4557,7 +4520,7 @@ function go(e) {
|
|
|
4557
4520
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4558
4521
|
},
|
|
4559
4522
|
m(d, p) {
|
|
4560
|
-
|
|
4523
|
+
he(d, t, p), P(t, n), P(n, r), P(r, i), P(i, o), P(o, a), P(r, s), P(r, u), P(t, l), c && c.m(t, null), h || (f = Ut(
|
|
4561
4524
|
t,
|
|
4562
4525
|
"click",
|
|
4563
4526
|
/*click_handler*/
|
|
@@ -4569,92 +4532,92 @@ function go(e) {
|
|
|
4569
4532
|
d[3] || c.p(d, p);
|
|
4570
4533
|
},
|
|
4571
4534
|
d(d) {
|
|
4572
|
-
d &&
|
|
4535
|
+
d && F(t), c && c.d(), h = !1, f();
|
|
4573
4536
|
}
|
|
4574
4537
|
};
|
|
4575
4538
|
}
|
|
4576
|
-
function
|
|
4539
|
+
function so(e) {
|
|
4577
4540
|
let t, n = (
|
|
4578
4541
|
/*$_*/
|
|
4579
4542
|
e[2]("logoutButton") + ""
|
|
4580
4543
|
), r;
|
|
4581
4544
|
return {
|
|
4582
4545
|
c() {
|
|
4583
|
-
t =
|
|
4546
|
+
t = L("span"), r = fe(n), A(t, "class", "PlayerLogoutText");
|
|
4584
4547
|
},
|
|
4585
4548
|
m(i, o) {
|
|
4586
|
-
|
|
4549
|
+
he(i, t, o), P(t, r);
|
|
4587
4550
|
},
|
|
4588
4551
|
p(i, o) {
|
|
4589
4552
|
o & /*$_*/
|
|
4590
4553
|
4 && n !== (n = /*$_*/
|
|
4591
|
-
i[2]("logoutButton") + "") &&
|
|
4554
|
+
i[2]("logoutButton") + "") && Dt(r, n);
|
|
4592
4555
|
},
|
|
4593
4556
|
d(i) {
|
|
4594
|
-
i &&
|
|
4557
|
+
i && F(t);
|
|
4595
4558
|
}
|
|
4596
4559
|
};
|
|
4597
4560
|
}
|
|
4598
|
-
function
|
|
4561
|
+
function ao(e) {
|
|
4599
4562
|
let t;
|
|
4600
|
-
function n(o,
|
|
4563
|
+
function n(o, a) {
|
|
4601
4564
|
return (
|
|
4602
4565
|
/*buttonlocation*/
|
|
4603
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4566
|
+
o[0] === "PlayerAccountMenu" ? oo : io
|
|
4604
4567
|
);
|
|
4605
4568
|
}
|
|
4606
4569
|
let r = n(e), i = r(e);
|
|
4607
4570
|
return {
|
|
4608
4571
|
c() {
|
|
4609
|
-
t =
|
|
4572
|
+
t = L("div"), i.c();
|
|
4610
4573
|
},
|
|
4611
|
-
m(o,
|
|
4612
|
-
|
|
4574
|
+
m(o, a) {
|
|
4575
|
+
he(o, t, a), i.m(t, null), e[14](t);
|
|
4613
4576
|
},
|
|
4614
|
-
p(o, [
|
|
4615
|
-
r === (r = n(o)) && i ? i.p(o,
|
|
4577
|
+
p(o, [a]) {
|
|
4578
|
+
r === (r = n(o)) && i ? i.p(o, a) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
|
|
4616
4579
|
},
|
|
4617
4580
|
i: B,
|
|
4618
4581
|
o: B,
|
|
4619
4582
|
d(o) {
|
|
4620
|
-
o &&
|
|
4583
|
+
o && F(t), i.d(), e[14](null);
|
|
4621
4584
|
}
|
|
4622
4585
|
};
|
|
4623
4586
|
}
|
|
4624
|
-
function
|
|
4587
|
+
function uo(e, t, n) {
|
|
4625
4588
|
let r;
|
|
4626
|
-
|
|
4627
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation:
|
|
4589
|
+
Hn(e, eo, (y) => n(2, r = y));
|
|
4590
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: h = "" } = t, f = "", c = !1, d, p = window.navigator.userAgent, m = to(p) !== "PC";
|
|
4628
4591
|
const x = window.matchMedia("(min-width: 768px)"), T = () => {
|
|
4629
|
-
fetch(h).then((
|
|
4630
|
-
Object.keys(
|
|
4631
|
-
|
|
4592
|
+
fetch(h).then((I) => I.json()).then((I) => {
|
|
4593
|
+
Object.keys(I).forEach((D) => {
|
|
4594
|
+
Pt(D, I[D]);
|
|
4632
4595
|
});
|
|
4633
|
-
}).catch((
|
|
4634
|
-
console.log(
|
|
4596
|
+
}).catch((I) => {
|
|
4597
|
+
console.log(I);
|
|
4635
4598
|
});
|
|
4636
4599
|
};
|
|
4637
|
-
Object.keys(
|
|
4638
|
-
|
|
4600
|
+
Object.keys(Ot).forEach((y) => {
|
|
4601
|
+
Pt(y, Ot[y]);
|
|
4639
4602
|
});
|
|
4640
4603
|
const w = () => {
|
|
4641
4604
|
let y = new Headers();
|
|
4642
4605
|
y.append("Content-type", "application/json"), y.append("X-SessionID", o);
|
|
4643
|
-
let
|
|
4644
|
-
fetch(`${i}/v1/player/session/player`,
|
|
4606
|
+
let I = { method: "DELETE", headers: y };
|
|
4607
|
+
fetch(`${i}/v1/player/session/player`, I).then((D) => {
|
|
4645
4608
|
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
4646
4609
|
});
|
|
4647
|
-
}, E = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", c = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", c = !0, console.error(f)), c),
|
|
4648
|
-
|
|
4610
|
+
}, E = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", c = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", c = !0, console.error(f)), c), O = () => {
|
|
4611
|
+
no(s);
|
|
4649
4612
|
}, H = () => {
|
|
4650
4613
|
let y = document.createElement("style");
|
|
4651
4614
|
y.innerHTML = u, d.appendChild(y);
|
|
4652
|
-
},
|
|
4653
|
-
let y = new URL(l),
|
|
4654
|
-
fetch(y.href).then((
|
|
4655
|
-
|
|
4615
|
+
}, R = () => {
|
|
4616
|
+
let y = new URL(l), I = document.createElement("style");
|
|
4617
|
+
fetch(y.href).then((D) => D.text()).then((D) => {
|
|
4618
|
+
I.innerHTML = D, setTimeout(
|
|
4656
4619
|
() => {
|
|
4657
|
-
d.appendChild(
|
|
4620
|
+
d.appendChild(I);
|
|
4658
4621
|
},
|
|
4659
4622
|
1
|
|
4660
4623
|
), setTimeout(
|
|
@@ -4663,23 +4626,23 @@ function vo(e, t, n) {
|
|
|
4663
4626
|
500
|
|
4664
4627
|
);
|
|
4665
4628
|
});
|
|
4666
|
-
},
|
|
4667
|
-
function
|
|
4668
|
-
|
|
4629
|
+
}, de = () => w(), xn = () => w();
|
|
4630
|
+
function En(y) {
|
|
4631
|
+
Ge[y ? "unshift" : "push"](() => {
|
|
4669
4632
|
d = y, n(1, d);
|
|
4670
4633
|
});
|
|
4671
4634
|
}
|
|
4672
4635
|
return e.$$set = (y) => {
|
|
4673
|
-
"endpoint" in y && n(6, i = y.endpoint), "session" in y && n(7, o = y.session), "buttonlocation" in y && n(0,
|
|
4636
|
+
"endpoint" in y && n(6, i = y.endpoint), "session" in y && n(7, o = y.session), "buttonlocation" in y && n(0, a = y.buttonlocation), "lang" in y && n(8, s = y.lang), "clientstyling" in y && n(9, u = y.clientstyling), "clientstylingurl" in y && n(10, l = y.clientstylingurl), "translationurl" in y && n(11, h = y.translationurl);
|
|
4674
4637
|
}, e.$$.update = () => {
|
|
4675
4638
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4676
|
-
193 && i && o &&
|
|
4677
|
-
256 &&
|
|
4639
|
+
193 && i && o && a && E(), e.$$.dirty & /*lang*/
|
|
4640
|
+
256 && s && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4678
4641
|
514 && u && d && H(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4679
|
-
1026 && l && d &&
|
|
4642
|
+
1026 && l && d && R(), e.$$.dirty & /*translationurl*/
|
|
4680
4643
|
2048 && h && T();
|
|
4681
4644
|
}, [
|
|
4682
|
-
|
|
4645
|
+
a,
|
|
4683
4646
|
d,
|
|
4684
4647
|
r,
|
|
4685
4648
|
m,
|
|
@@ -4687,23 +4650,23 @@ function vo(e, t, n) {
|
|
|
4687
4650
|
w,
|
|
4688
4651
|
i,
|
|
4689
4652
|
o,
|
|
4690
|
-
|
|
4653
|
+
s,
|
|
4691
4654
|
u,
|
|
4692
4655
|
l,
|
|
4693
4656
|
h,
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4657
|
+
de,
|
|
4658
|
+
xn,
|
|
4659
|
+
En
|
|
4697
4660
|
];
|
|
4698
4661
|
}
|
|
4699
|
-
class
|
|
4662
|
+
class vn extends Jn {
|
|
4700
4663
|
constructor(t) {
|
|
4701
|
-
super(),
|
|
4664
|
+
super(), qn(
|
|
4702
4665
|
this,
|
|
4703
4666
|
t,
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4667
|
+
uo,
|
|
4668
|
+
ao,
|
|
4669
|
+
Lt,
|
|
4707
4670
|
{
|
|
4708
4671
|
endpoint: 6,
|
|
4709
4672
|
session: 7,
|
|
@@ -4713,115 +4676,115 @@ class Hn extends ur {
|
|
|
4713
4676
|
clientstylingurl: 10,
|
|
4714
4677
|
translationurl: 11
|
|
4715
4678
|
},
|
|
4716
|
-
|
|
4679
|
+
ro
|
|
4717
4680
|
);
|
|
4718
4681
|
}
|
|
4719
4682
|
get endpoint() {
|
|
4720
4683
|
return this.$$.ctx[6];
|
|
4721
4684
|
}
|
|
4722
4685
|
set endpoint(t) {
|
|
4723
|
-
this.$$set({ endpoint: t }),
|
|
4686
|
+
this.$$set({ endpoint: t }), N();
|
|
4724
4687
|
}
|
|
4725
4688
|
get session() {
|
|
4726
4689
|
return this.$$.ctx[7];
|
|
4727
4690
|
}
|
|
4728
4691
|
set session(t) {
|
|
4729
|
-
this.$$set({ session: t }),
|
|
4692
|
+
this.$$set({ session: t }), N();
|
|
4730
4693
|
}
|
|
4731
4694
|
get buttonlocation() {
|
|
4732
4695
|
return this.$$.ctx[0];
|
|
4733
4696
|
}
|
|
4734
4697
|
set buttonlocation(t) {
|
|
4735
|
-
this.$$set({ buttonlocation: t }),
|
|
4698
|
+
this.$$set({ buttonlocation: t }), N();
|
|
4736
4699
|
}
|
|
4737
4700
|
get lang() {
|
|
4738
4701
|
return this.$$.ctx[8];
|
|
4739
4702
|
}
|
|
4740
4703
|
set lang(t) {
|
|
4741
|
-
this.$$set({ lang: t }),
|
|
4704
|
+
this.$$set({ lang: t }), N();
|
|
4742
4705
|
}
|
|
4743
4706
|
get clientstyling() {
|
|
4744
4707
|
return this.$$.ctx[9];
|
|
4745
4708
|
}
|
|
4746
4709
|
set clientstyling(t) {
|
|
4747
|
-
this.$$set({ clientstyling: t }),
|
|
4710
|
+
this.$$set({ clientstyling: t }), N();
|
|
4748
4711
|
}
|
|
4749
4712
|
get clientstylingurl() {
|
|
4750
4713
|
return this.$$.ctx[10];
|
|
4751
4714
|
}
|
|
4752
4715
|
set clientstylingurl(t) {
|
|
4753
|
-
this.$$set({ clientstylingurl: t }),
|
|
4716
|
+
this.$$set({ clientstylingurl: t }), N();
|
|
4754
4717
|
}
|
|
4755
4718
|
get translationurl() {
|
|
4756
4719
|
return this.$$.ctx[11];
|
|
4757
4720
|
}
|
|
4758
4721
|
set translationurl(t) {
|
|
4759
|
-
this.$$set({ translationurl: t }),
|
|
4722
|
+
this.$$set({ translationurl: t }), N();
|
|
4760
4723
|
}
|
|
4761
4724
|
}
|
|
4762
|
-
|
|
4763
|
-
const
|
|
4725
|
+
Qn(vn, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4726
|
+
const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4764
4727
|
__proto__: null,
|
|
4765
|
-
default:
|
|
4728
|
+
default: vn
|
|
4766
4729
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4767
4730
|
export {
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4731
|
+
ee as $,
|
|
4732
|
+
Po as A,
|
|
4733
|
+
_o as B,
|
|
4734
|
+
bo as C,
|
|
4735
|
+
ho as D,
|
|
4736
|
+
co as E,
|
|
4737
|
+
po as F,
|
|
4738
|
+
fo as G,
|
|
4739
|
+
Vn as H,
|
|
4740
|
+
Lo as I,
|
|
4741
|
+
vo as J,
|
|
4742
|
+
Co as K,
|
|
4743
|
+
yo as L,
|
|
4744
|
+
Ho as M,
|
|
4745
|
+
So as N,
|
|
4746
|
+
To as O,
|
|
4747
|
+
Te as P,
|
|
4748
|
+
wo as Q,
|
|
4749
|
+
le as R,
|
|
4750
|
+
Jn as S,
|
|
4751
|
+
$o as T,
|
|
4752
|
+
mo as U,
|
|
4753
|
+
go as V,
|
|
4754
|
+
Nn as W,
|
|
4755
|
+
lo as X,
|
|
4756
|
+
Sn as Y,
|
|
4757
|
+
Io as Z,
|
|
4758
|
+
No as _,
|
|
4759
|
+
mn as a,
|
|
4760
|
+
Oo as a0,
|
|
4761
|
+
Mo as a1,
|
|
4762
|
+
mr as a2,
|
|
4763
|
+
Eo as a3,
|
|
4764
|
+
Ro as a4,
|
|
4765
|
+
Pn as b,
|
|
4766
|
+
Qn as c,
|
|
4767
|
+
In as d,
|
|
4768
|
+
L as e,
|
|
4769
|
+
N as f,
|
|
4807
4770
|
A as g,
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4771
|
+
Bo as h,
|
|
4772
|
+
qn as i,
|
|
4773
|
+
xo as j,
|
|
4774
|
+
he as k,
|
|
4812
4775
|
P as l,
|
|
4813
|
-
|
|
4814
|
-
|
|
4776
|
+
Ut as m,
|
|
4777
|
+
Dt as n,
|
|
4815
4778
|
B as o,
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4779
|
+
F as p,
|
|
4780
|
+
Hn as q,
|
|
4781
|
+
G as r,
|
|
4782
|
+
Lt as s,
|
|
4783
|
+
fe as t,
|
|
4784
|
+
to as u,
|
|
4785
|
+
Ao as v,
|
|
4786
|
+
ne as w,
|
|
4787
|
+
Ge as x,
|
|
4788
|
+
eo as y,
|
|
4789
|
+
ce as z
|
|
4827
4790
|
};
|