@everymatrix/casino-favorites-section 1.67.0 → 1.67.3
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/{CasinoFavoritesSection-_uVaSybq.js → CasinoFavoritesSection-D9ncFs0Q.js} +1186 -1152
- package/components/{CasinoFavoritesSection-DvqsXEMA.js → CasinoFavoritesSection-Ddfvhart.js} +1205 -1171
- package/components/CasinoFavoritesSection-LfNxMTwE.cjs +16 -0
- package/components/CasinoFilter-BmXwS0tH.cjs +3 -0
- package/components/{CasinoFilter-hHFOjrdu.js → CasinoFilter-CDxMsW_J.js} +250 -316
- package/components/{CasinoFilter-e-p0ImoR.js → CasinoFilter-Wp76_Epo.js} +169 -233
- package/components/{CasinoGameThumbnail-BBBJF4rc.cjs → CasinoGameThumbnail-BEhljPSO.cjs} +1 -1
- package/components/{CasinoGameThumbnail-yHIMQuik.js → CasinoGameThumbnail-D99v_Tk5.js} +167 -167
- package/components/{CasinoGameThumbnail-BLekE28-.js → CasinoGameThumbnail-gE7_eYqi.js} +169 -169
- package/components/{CasinoGamesCategorySection-DdTcC3fL.js → CasinoGamesCategorySection-6ShtPDo4.js} +124 -124
- package/components/{CasinoGamesCategorySection-BA-gY6zL.js → CasinoGamesCategorySection-B5wuTClM.js} +122 -122
- package/components/CasinoGamesCategorySection-UEuI0YkA.cjs +1 -0
- package/components/{CasinoSort-CAhm6-dD.js → CasinoSort-CF1p9i5R.js} +22 -22
- package/components/{CasinoSort-qS_f7FtM.js → CasinoSort-ChGrxIGN.js} +22 -22
- package/components/{CasinoSort-2n7Li7An.cjs → CasinoSort-CoaOHiUp.cjs} +1 -1
- package/es2015/casino-favorites-section.cjs +1 -1
- package/es2015/casino-favorites-section.js +1 -1
- package/esnext/casino-favorites-section.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-BEnqZAxL.js → index-97d17652-ChRvzjAp.js} +186 -186
- package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-DKsTmN3Z.js} +175 -175
- package/stencil/index-97d17652-qWThG1U9.cjs +1 -0
- package/stencil/{ui-image-CMb1eK44.cjs → ui-image-B2ynFkLT.cjs} +1 -1
- package/stencil/{ui-image-CQQDA5b0.js → ui-image-D7A7MInC.js} +1 -1
- package/stencil/{ui-image-CmwNU-jf.js → ui-image-D_Js9Evk.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-B43lELFk.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-CRQDt62Z.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-DVcK_myk.js} +1 -1
- package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CyHaM9Na.cjs} +1 -1
- package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-Df0q0jE8.js} +2 -2
- package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-EP2dwjfi.js} +2 -2
- package/components/CasinoFavoritesSection-DOLbQAje.cjs +0 -3
- package/components/CasinoFilter-OQB7hiSM.cjs +0 -16
- package/components/CasinoGamesCategorySection-4irJo47j.cjs +0 -1
- package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
package/components/{CasinoFavoritesSection-_uVaSybq.js → CasinoFavoritesSection-D9ncFs0Q.js}
RENAMED
|
@@ -3,48 +3,48 @@ function N() {
|
|
|
3
3
|
function nt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ge() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function X(e) {
|
|
10
10
|
e.forEach(nt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Me(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function rt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let re;
|
|
19
|
+
function qr(e, t) {
|
|
20
|
+
return e === t ? !0 : (re || (re = document.createElement("a")), re.href = t, e === re.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Ct(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function it(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
|
-
for (const
|
|
28
|
-
|
|
27
|
+
for (const r of t)
|
|
28
|
+
r(void 0);
|
|
29
29
|
return N;
|
|
30
30
|
}
|
|
31
|
-
const
|
|
32
|
-
return
|
|
31
|
+
const n = e.subscribe(...t);
|
|
32
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Jr(e, t, n) {
|
|
35
|
+
e.$$.on_destroy.push(it(t, n));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Mt(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const
|
|
42
|
-
if (!
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent =
|
|
40
|
+
function Rt(e, t, n) {
|
|
41
|
+
const r = $t(e);
|
|
42
|
+
if (!r.getElementById(t)) {
|
|
43
|
+
const i = te("style");
|
|
44
|
+
i.id = t, i.textContent = n, Ut(r, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function $t(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,62 +54,62 @@ function Ut(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
57
|
+
function Ut(e, t) {
|
|
58
|
+
return Mt(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
61
61
|
t
|
|
62
62
|
), t.sheet;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
e.insertBefore(t,
|
|
64
|
+
function le(e, t, n) {
|
|
65
|
+
e.insertBefore(t, n || null);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function ee(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
for (let
|
|
72
|
-
e[
|
|
70
|
+
function Yr(e, t) {
|
|
71
|
+
for (let n = 0; n < e.length; n += 1)
|
|
72
|
+
e[n] && e[n].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function te(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Dt(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function st(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function Kr() {
|
|
84
|
+
return st(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function ei() {
|
|
87
|
+
return st("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return e.addEventListener(t,
|
|
89
|
+
function ti(e, t, n, r) {
|
|
90
|
+
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
|
|
92
|
+
function Re(e, t, n) {
|
|
93
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
const
|
|
97
|
-
|
|
95
|
+
function d(e, t, n) {
|
|
96
|
+
const r = t.toLowerCase();
|
|
97
|
+
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Re(e, t, n);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Gt(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
102
|
function ni(e, t) {
|
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
104
|
t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function ri(e, t) {
|
|
107
107
|
e.value = t ?? "";
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
e.classList.toggle(t, !!
|
|
109
|
+
function ii(e, t, n) {
|
|
110
|
+
e.classList.toggle(t, !!n);
|
|
111
111
|
}
|
|
112
|
-
class
|
|
112
|
+
class si {
|
|
113
113
|
/**
|
|
114
114
|
* @private
|
|
115
115
|
* @default false
|
|
@@ -139,17 +139,17 @@ class oi {
|
|
|
139
139
|
* @param {HTMLElement | SVGElement} anchor
|
|
140
140
|
* @returns {void}
|
|
141
141
|
*/
|
|
142
|
-
m(t,
|
|
143
|
-
this.e || (this.is_svg ? this.e =
|
|
142
|
+
m(t, n, r = null) {
|
|
143
|
+
this.e || (this.is_svg ? this.e = Dt(
|
|
144
144
|
/** @type {keyof SVGElementTagNameMap} */
|
|
145
|
-
|
|
146
|
-
) : this.e =
|
|
145
|
+
n.nodeName
|
|
146
|
+
) : this.e = te(
|
|
147
147
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
148
|
-
|
|
149
|
-
), this.t =
|
|
148
|
+
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
149
|
+
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
150
150
|
/** @type {HTMLTemplateElement} */
|
|
151
|
-
|
|
152
|
-
), this.c(t)), this.i(
|
|
151
|
+
n.content
|
|
152
|
+
), this.c(t)), this.i(r);
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
155
|
* @param {string} html
|
|
@@ -163,8 +163,8 @@ class oi {
|
|
|
163
163
|
/**
|
|
164
164
|
* @returns {void} */
|
|
165
165
|
i(t) {
|
|
166
|
-
for (let
|
|
167
|
-
|
|
166
|
+
for (let n = 0; n < this.n.length; n += 1)
|
|
167
|
+
le(this.t, this.n[n], t);
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
170
170
|
* @param {string} html
|
|
@@ -176,146 +176,146 @@ class oi {
|
|
|
176
176
|
/**
|
|
177
177
|
* @returns {void} */
|
|
178
178
|
d() {
|
|
179
|
-
this.n.forEach(
|
|
179
|
+
this.n.forEach(ee);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Ft(e) {
|
|
183
183
|
const t = {};
|
|
184
184
|
return e.childNodes.forEach(
|
|
185
185
|
/** @param {Element} node */
|
|
186
|
-
(
|
|
187
|
-
t[
|
|
186
|
+
(n) => {
|
|
187
|
+
t[n.slot || "default"] = !0;
|
|
188
188
|
}
|
|
189
189
|
), t;
|
|
190
190
|
}
|
|
191
|
-
let
|
|
192
|
-
function
|
|
193
|
-
|
|
191
|
+
let J;
|
|
192
|
+
function q(e) {
|
|
193
|
+
J = e;
|
|
194
194
|
}
|
|
195
195
|
function at() {
|
|
196
|
-
if (!
|
|
196
|
+
if (!J)
|
|
197
197
|
throw new Error("Function called outside component initialization");
|
|
198
|
-
return
|
|
198
|
+
return J;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function jt(e) {
|
|
201
201
|
at().$$.on_mount.push(e);
|
|
202
202
|
}
|
|
203
203
|
function ai(e) {
|
|
204
204
|
at().$$.on_destroy.push(e);
|
|
205
205
|
}
|
|
206
|
-
const
|
|
207
|
-
let
|
|
208
|
-
const
|
|
209
|
-
let
|
|
210
|
-
function
|
|
211
|
-
|
|
206
|
+
const D = [], He = [];
|
|
207
|
+
let G = [];
|
|
208
|
+
const Fe = [], ot = /* @__PURE__ */ Promise.resolve();
|
|
209
|
+
let Te = !1;
|
|
210
|
+
function ut() {
|
|
211
|
+
Te || (Te = !0, ot.then(H));
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
return
|
|
213
|
+
function oi() {
|
|
214
|
+
return ut(), ot;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
216
|
+
function Se(e) {
|
|
217
|
+
G.push(e);
|
|
218
218
|
}
|
|
219
|
-
const
|
|
220
|
-
let
|
|
219
|
+
const be = /* @__PURE__ */ new Set();
|
|
220
|
+
let $ = 0;
|
|
221
221
|
function H() {
|
|
222
|
-
if (
|
|
222
|
+
if ($ !== 0)
|
|
223
223
|
return;
|
|
224
|
-
const e =
|
|
224
|
+
const e = J;
|
|
225
225
|
do {
|
|
226
226
|
try {
|
|
227
|
-
for (;
|
|
228
|
-
const t =
|
|
229
|
-
|
|
227
|
+
for (; $ < D.length; ) {
|
|
228
|
+
const t = D[$];
|
|
229
|
+
$++, q(t), kt(t.$$);
|
|
230
230
|
}
|
|
231
231
|
} catch (t) {
|
|
232
|
-
throw
|
|
232
|
+
throw D.length = 0, $ = 0, t;
|
|
233
233
|
}
|
|
234
|
-
for (
|
|
235
|
-
|
|
236
|
-
for (let t = 0; t <
|
|
237
|
-
const
|
|
238
|
-
|
|
234
|
+
for (q(null), D.length = 0, $ = 0; He.length; )
|
|
235
|
+
He.pop()();
|
|
236
|
+
for (let t = 0; t < G.length; t += 1) {
|
|
237
|
+
const n = G[t];
|
|
238
|
+
be.has(n) || (be.add(n), n());
|
|
239
239
|
}
|
|
240
|
-
|
|
241
|
-
} while (
|
|
242
|
-
for (;
|
|
243
|
-
|
|
244
|
-
|
|
240
|
+
G.length = 0;
|
|
241
|
+
} while (D.length);
|
|
242
|
+
for (; Fe.length; )
|
|
243
|
+
Fe.pop()();
|
|
244
|
+
Te = !1, be.clear(), q(e);
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function kt(e) {
|
|
247
247
|
if (e.fragment !== null) {
|
|
248
|
-
e.update(),
|
|
248
|
+
e.update(), X(e.before_update);
|
|
249
249
|
const t = e.dirty;
|
|
250
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
250
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
const t = [],
|
|
255
|
-
|
|
253
|
+
function Vt(e) {
|
|
254
|
+
const t = [], n = [];
|
|
255
|
+
G.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), G = t;
|
|
256
256
|
}
|
|
257
|
-
const
|
|
258
|
-
function
|
|
259
|
-
e && e.i && (
|
|
257
|
+
const Xt = /* @__PURE__ */ new Set();
|
|
258
|
+
function ht(e, t) {
|
|
259
|
+
e && e.i && (Xt.delete(e), e.i(t));
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function ui(e) {
|
|
262
262
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function hi(e, t) {
|
|
265
265
|
e.d(1), t.delete(e.key);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function li(e, t, n, r, i, s, a, o, l, u, h, m) {
|
|
268
268
|
let f = e.length, b = s.length, y = f;
|
|
269
|
-
const
|
|
269
|
+
const x = {};
|
|
270
270
|
for (; y--; )
|
|
271
|
-
|
|
271
|
+
x[e[y].key] = y;
|
|
272
272
|
const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
|
|
273
273
|
for (y = b; y--; ) {
|
|
274
|
-
const c = m(i, s, y), I =
|
|
275
|
-
let L =
|
|
276
|
-
L ? S.push(() => L.p(c, t)) : (L =
|
|
274
|
+
const c = m(i, s, y), I = n(c);
|
|
275
|
+
let L = a.get(I);
|
|
276
|
+
L ? S.push(() => L.p(c, t)) : (L = u(I, c), L.c()), w.set(I, T[y] = L), I in x && A.set(I, Math.abs(y - x[I]));
|
|
277
277
|
}
|
|
278
|
-
const P = /* @__PURE__ */ new Set(),
|
|
278
|
+
const P = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set();
|
|
279
279
|
function O(c) {
|
|
280
|
-
|
|
280
|
+
ht(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
281
281
|
}
|
|
282
282
|
for (; f && b; ) {
|
|
283
283
|
const c = T[b - 1], I = e[f - 1], L = c.key, ne = I.key;
|
|
284
|
-
c === I ? (h = c.first, f--, b--) : w.has(ne) ? !
|
|
284
|
+
c === I ? (h = c.first, f--, b--) : w.has(ne) ? !a.has(L) || P.has(L) ? O(c) : v.has(ne) ? f-- : A.get(L) > A.get(ne) ? (v.add(L), O(c)) : (P.add(ne), f--) : (l(I, a), f--);
|
|
285
285
|
}
|
|
286
286
|
for (; f--; ) {
|
|
287
287
|
const c = e[f];
|
|
288
|
-
w.has(c.key) || l(c,
|
|
288
|
+
w.has(c.key) || l(c, a);
|
|
289
289
|
}
|
|
290
290
|
for (; b; )
|
|
291
291
|
O(T[b - 1]);
|
|
292
|
-
return
|
|
292
|
+
return X(S), T;
|
|
293
293
|
}
|
|
294
|
-
function zt(e, t,
|
|
295
|
-
const { fragment:
|
|
296
|
-
|
|
297
|
-
const s = e.$$.on_mount.map(nt).filter(
|
|
298
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
299
|
-
}), i.forEach(
|
|
294
|
+
function zt(e, t, n) {
|
|
295
|
+
const { fragment: r, after_update: i } = e.$$;
|
|
296
|
+
r && r.m(t, n), Se(() => {
|
|
297
|
+
const s = e.$$.on_mount.map(nt).filter(Me);
|
|
298
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
299
|
+
}), i.forEach(Se);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
302
|
-
const
|
|
303
|
-
|
|
301
|
+
function Wt(e, t) {
|
|
302
|
+
const n = e.$$;
|
|
303
|
+
n.fragment !== null && (Vt(n.after_update), X(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
304
304
|
}
|
|
305
|
-
function
|
|
306
|
-
e.$$.dirty[0] === -1 && (
|
|
305
|
+
function Zt(e, t) {
|
|
306
|
+
e.$$.dirty[0] === -1 && (D.push(e), ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
307
307
|
}
|
|
308
|
-
function
|
|
309
|
-
const l =
|
|
310
|
-
|
|
311
|
-
const
|
|
308
|
+
function Qt(e, t, n, r, i, s, a = null, o = [-1]) {
|
|
309
|
+
const l = J;
|
|
310
|
+
q(e);
|
|
311
|
+
const u = e.$$ = {
|
|
312
312
|
fragment: null,
|
|
313
313
|
ctx: [],
|
|
314
314
|
// state
|
|
315
315
|
props: s,
|
|
316
316
|
update: N,
|
|
317
317
|
not_equal: i,
|
|
318
|
-
bound:
|
|
318
|
+
bound: Ge(),
|
|
319
319
|
// lifecycle
|
|
320
320
|
on_mount: [],
|
|
321
321
|
on_destroy: [],
|
|
@@ -324,28 +324,28 @@ function qt(e, t, r, n, i, s, u = null, a = [-1]) {
|
|
|
324
324
|
after_update: [],
|
|
325
325
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
326
326
|
// everything else
|
|
327
|
-
callbacks:
|
|
328
|
-
dirty:
|
|
327
|
+
callbacks: Ge(),
|
|
328
|
+
dirty: o,
|
|
329
329
|
skip_bound: !1,
|
|
330
330
|
root: t.target || l.$$.root
|
|
331
331
|
};
|
|
332
|
-
|
|
332
|
+
a && a(u.root);
|
|
333
333
|
let h = !1;
|
|
334
|
-
if (
|
|
334
|
+
if (u.ctx = n ? n(e, t.props || {}, (m, f, ...b) => {
|
|
335
335
|
const y = b.length ? b[0] : f;
|
|
336
|
-
return
|
|
337
|
-
}) : [],
|
|
336
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && Zt(e, m)), f;
|
|
337
|
+
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
338
338
|
if (t.hydrate) {
|
|
339
|
-
const m =
|
|
340
|
-
|
|
339
|
+
const m = Gt(t.target);
|
|
340
|
+
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
341
341
|
} else
|
|
342
|
-
|
|
343
|
-
t.intro &&
|
|
342
|
+
u.fragment && u.fragment.c();
|
|
343
|
+
t.intro && ht(e.$$.fragment), zt(e, t.target, t.anchor), H();
|
|
344
344
|
}
|
|
345
|
-
|
|
345
|
+
q(l);
|
|
346
346
|
}
|
|
347
|
-
let
|
|
348
|
-
typeof HTMLElement == "function" && (
|
|
347
|
+
let lt;
|
|
348
|
+
typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
349
349
|
/** The Svelte component constructor */
|
|
350
350
|
$$ctor;
|
|
351
351
|
/** Slots */
|
|
@@ -364,20 +364,20 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
364
364
|
$$l = {};
|
|
365
365
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
366
366
|
$$l_u = /* @__PURE__ */ new Map();
|
|
367
|
-
constructor(e, t,
|
|
368
|
-
super(), this.$$ctor = e, this.$$s = t,
|
|
367
|
+
constructor(e, t, n) {
|
|
368
|
+
super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
|
|
369
369
|
}
|
|
370
|
-
addEventListener(e, t,
|
|
370
|
+
addEventListener(e, t, n) {
|
|
371
371
|
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
372
|
-
const
|
|
373
|
-
this.$$l_u.set(t,
|
|
372
|
+
const r = this.$$c.$on(e, t);
|
|
373
|
+
this.$$l_u.set(t, r);
|
|
374
374
|
}
|
|
375
|
-
super.addEventListener(e, t,
|
|
375
|
+
super.addEventListener(e, t, n);
|
|
376
376
|
}
|
|
377
|
-
removeEventListener(e, t,
|
|
378
|
-
if (super.removeEventListener(e, t,
|
|
379
|
-
const
|
|
380
|
-
|
|
377
|
+
removeEventListener(e, t, n) {
|
|
378
|
+
if (super.removeEventListener(e, t, n), this.$$c) {
|
|
379
|
+
const r = this.$$l_u.get(t);
|
|
380
|
+
r && (r(), this.$$l_u.delete(t));
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
async connectedCallback() {
|
|
@@ -387,29 +387,29 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
387
387
|
let s;
|
|
388
388
|
return {
|
|
389
389
|
c: function() {
|
|
390
|
-
s =
|
|
390
|
+
s = te("slot"), i !== "default" && Re(s, "name", i);
|
|
391
391
|
},
|
|
392
392
|
/**
|
|
393
393
|
* @param {HTMLElement} target
|
|
394
394
|
* @param {HTMLElement} [anchor]
|
|
395
395
|
*/
|
|
396
|
-
m: function(l,
|
|
397
|
-
|
|
396
|
+
m: function(l, u) {
|
|
397
|
+
le(l, s, u);
|
|
398
398
|
},
|
|
399
399
|
d: function(l) {
|
|
400
|
-
l &&
|
|
400
|
+
l && ee(s);
|
|
401
401
|
}
|
|
402
402
|
};
|
|
403
403
|
};
|
|
404
404
|
};
|
|
405
405
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
406
406
|
return;
|
|
407
|
-
const t = {},
|
|
407
|
+
const t = {}, n = Ft(this);
|
|
408
408
|
for (const i of this.$$s)
|
|
409
|
-
i in
|
|
409
|
+
i in n && (t[i] = [e(i)]);
|
|
410
410
|
for (const i of this.attributes) {
|
|
411
411
|
const s = this.$$g_p(i.name);
|
|
412
|
-
s in this.$$d || (this.$$d[s] =
|
|
412
|
+
s in this.$$d || (this.$$d[s] = se(s, i.value, this.$$p_d, "toProp"));
|
|
413
413
|
}
|
|
414
414
|
for (const i in this.$$p_d)
|
|
415
415
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -423,11 +423,11 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
});
|
|
426
|
-
const
|
|
426
|
+
const r = () => {
|
|
427
427
|
this.$$r = !0;
|
|
428
428
|
for (const i in this.$$p_d)
|
|
429
429
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
430
|
-
const s =
|
|
430
|
+
const s = se(
|
|
431
431
|
i,
|
|
432
432
|
this.$$d[i],
|
|
433
433
|
this.$$p_d,
|
|
@@ -437,19 +437,19 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
437
437
|
}
|
|
438
438
|
this.$$r = !1;
|
|
439
439
|
};
|
|
440
|
-
this.$$c.$$.after_update.push(
|
|
440
|
+
this.$$c.$$.after_update.push(r), r();
|
|
441
441
|
for (const i in this.$$l)
|
|
442
442
|
for (const s of this.$$l[i]) {
|
|
443
|
-
const
|
|
444
|
-
this.$$l_u.set(s,
|
|
443
|
+
const a = this.$$c.$on(i, s);
|
|
444
|
+
this.$$l_u.set(s, a);
|
|
445
445
|
}
|
|
446
446
|
this.$$l = {};
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
450
450
|
// and setting attributes through setAttribute etc, this is helpful
|
|
451
|
-
attributeChangedCallback(e, t,
|
|
452
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
451
|
+
attributeChangedCallback(e, t, n) {
|
|
452
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
453
453
|
}
|
|
454
454
|
disconnectedCallback() {
|
|
455
455
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -462,11 +462,11 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
462
462
|
) || e;
|
|
463
463
|
}
|
|
464
464
|
});
|
|
465
|
-
function
|
|
466
|
-
const i =
|
|
467
|
-
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
465
|
+
function se(e, t, n, r) {
|
|
466
|
+
const i = n[e]?.type;
|
|
467
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
468
468
|
return t;
|
|
469
|
-
if (
|
|
469
|
+
if (r === "toAttribute")
|
|
470
470
|
switch (i) {
|
|
471
471
|
case "Object":
|
|
472
472
|
case "Array":
|
|
@@ -491,36 +491,36 @@ function oe(e, t, r, n) {
|
|
|
491
491
|
return t;
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
let
|
|
494
|
+
function qt(e, t, n, r, i, s) {
|
|
495
|
+
let a = class extends lt {
|
|
496
496
|
constructor() {
|
|
497
|
-
super(e,
|
|
497
|
+
super(e, n, i), this.$$p_d = t;
|
|
498
498
|
}
|
|
499
499
|
static get observedAttributes() {
|
|
500
500
|
return Object.keys(t).map(
|
|
501
|
-
(
|
|
501
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
502
502
|
);
|
|
503
503
|
}
|
|
504
504
|
};
|
|
505
|
-
return Object.keys(t).forEach((
|
|
506
|
-
Object.defineProperty(
|
|
505
|
+
return Object.keys(t).forEach((o) => {
|
|
506
|
+
Object.defineProperty(a.prototype, o, {
|
|
507
507
|
get() {
|
|
508
|
-
return this.$$c &&
|
|
508
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
509
509
|
},
|
|
510
510
|
set(l) {
|
|
511
|
-
l =
|
|
511
|
+
l = se(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
|
|
512
512
|
}
|
|
513
513
|
});
|
|
514
|
-
}),
|
|
515
|
-
Object.defineProperty(
|
|
514
|
+
}), r.forEach((o) => {
|
|
515
|
+
Object.defineProperty(a.prototype, o, {
|
|
516
516
|
get() {
|
|
517
|
-
return this.$$c?.[
|
|
517
|
+
return this.$$c?.[o];
|
|
518
518
|
}
|
|
519
519
|
});
|
|
520
520
|
}), e.element = /** @type {any} */
|
|
521
|
-
|
|
521
|
+
a, a;
|
|
522
522
|
}
|
|
523
|
-
class
|
|
523
|
+
class Jt {
|
|
524
524
|
/**
|
|
525
525
|
* ### PRIVATE API
|
|
526
526
|
*
|
|
@@ -539,7 +539,7 @@ class Yt {
|
|
|
539
539
|
$$set = void 0;
|
|
540
540
|
/** @returns {void} */
|
|
541
541
|
$destroy() {
|
|
542
|
-
|
|
542
|
+
Wt(this, 1), this.$destroy = N;
|
|
543
543
|
}
|
|
544
544
|
/**
|
|
545
545
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -547,13 +547,13 @@ class Yt {
|
|
|
547
547
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
548
548
|
* @returns {() => void}
|
|
549
549
|
*/
|
|
550
|
-
$on(t,
|
|
551
|
-
if (
|
|
550
|
+
$on(t, n) {
|
|
551
|
+
if (!Me(n))
|
|
552
552
|
return N;
|
|
553
|
-
const
|
|
554
|
-
return
|
|
555
|
-
const i =
|
|
556
|
-
i !== -1 &&
|
|
553
|
+
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
554
|
+
return r.push(n), () => {
|
|
555
|
+
const i = r.indexOf(n);
|
|
556
|
+
i !== -1 && r.splice(i, 1);
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
559
|
/**
|
|
@@ -561,221 +561,270 @@ class Yt {
|
|
|
561
561
|
* @returns {void}
|
|
562
562
|
*/
|
|
563
563
|
$set(t) {
|
|
564
|
-
this.$$set && !
|
|
564
|
+
this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
const
|
|
568
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
569
|
-
const
|
|
570
|
-
function
|
|
567
|
+
const Yt = "4";
|
|
568
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yt);
|
|
569
|
+
const U = [];
|
|
570
|
+
function Kt(e, t) {
|
|
571
571
|
return {
|
|
572
|
-
subscribe:
|
|
572
|
+
subscribe: fe(e, t).subscribe
|
|
573
573
|
};
|
|
574
574
|
}
|
|
575
|
-
function
|
|
576
|
-
let
|
|
577
|
-
const
|
|
578
|
-
function i(
|
|
579
|
-
if (
|
|
580
|
-
const l = !
|
|
581
|
-
for (const
|
|
582
|
-
|
|
575
|
+
function fe(e, t = N) {
|
|
576
|
+
let n;
|
|
577
|
+
const r = /* @__PURE__ */ new Set();
|
|
578
|
+
function i(o) {
|
|
579
|
+
if (rt(e, o) && (e = o, n)) {
|
|
580
|
+
const l = !U.length;
|
|
581
|
+
for (const u of r)
|
|
582
|
+
u[1](), U.push(u, e);
|
|
583
583
|
if (l) {
|
|
584
|
-
for (let
|
|
585
|
-
|
|
586
|
-
|
|
584
|
+
for (let u = 0; u < U.length; u += 2)
|
|
585
|
+
U[u][0](U[u + 1]);
|
|
586
|
+
U.length = 0;
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
function s(
|
|
591
|
-
i(
|
|
590
|
+
function s(o) {
|
|
591
|
+
i(o(e));
|
|
592
592
|
}
|
|
593
|
-
function
|
|
594
|
-
const
|
|
595
|
-
return
|
|
596
|
-
|
|
593
|
+
function a(o, l = N) {
|
|
594
|
+
const u = [o, l];
|
|
595
|
+
return r.add(u), r.size === 1 && (n = t(i, s) || N), o(e), () => {
|
|
596
|
+
r.delete(u), r.size === 0 && n && (n(), n = null);
|
|
597
597
|
};
|
|
598
598
|
}
|
|
599
|
-
return { set: i, update: s, subscribe:
|
|
599
|
+
return { set: i, update: s, subscribe: a };
|
|
600
600
|
}
|
|
601
|
-
function z(e, t,
|
|
602
|
-
const
|
|
601
|
+
function z(e, t, n) {
|
|
602
|
+
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
603
603
|
if (!i.every(Boolean))
|
|
604
604
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
605
605
|
const s = t.length < 2;
|
|
606
|
-
return
|
|
606
|
+
return Kt(n, (a, o) => {
|
|
607
607
|
let l = !1;
|
|
608
|
-
const
|
|
608
|
+
const u = [];
|
|
609
609
|
let h = 0, m = N;
|
|
610
610
|
const f = () => {
|
|
611
611
|
if (h)
|
|
612
612
|
return;
|
|
613
613
|
m();
|
|
614
|
-
const y = t(
|
|
615
|
-
s ?
|
|
614
|
+
const y = t(r ? u[0] : u, a, o);
|
|
615
|
+
s ? a(y) : m = Me(y) ? y : N;
|
|
616
616
|
}, b = i.map(
|
|
617
|
-
(y,
|
|
617
|
+
(y, x) => it(
|
|
618
618
|
y,
|
|
619
619
|
(T) => {
|
|
620
|
-
|
|
620
|
+
u[x] = T, h &= ~(1 << x), l && f();
|
|
621
621
|
},
|
|
622
622
|
() => {
|
|
623
|
-
h |= 1 <<
|
|
623
|
+
h |= 1 << x;
|
|
624
624
|
}
|
|
625
625
|
)
|
|
626
626
|
);
|
|
627
627
|
return l = !0, f(), function() {
|
|
628
|
-
|
|
628
|
+
X(b), m(), l = !1;
|
|
629
629
|
};
|
|
630
630
|
});
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
return e
|
|
632
|
+
function en(e) {
|
|
633
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
634
634
|
}
|
|
635
|
-
var
|
|
636
|
-
return
|
|
635
|
+
var tn = function(t) {
|
|
636
|
+
return nn(t) && !rn(t);
|
|
637
637
|
};
|
|
638
|
-
function
|
|
638
|
+
function nn(e) {
|
|
639
639
|
return !!e && typeof e == "object";
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function rn(e) {
|
|
642
642
|
var t = Object.prototype.toString.call(e);
|
|
643
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
643
|
+
return t === "[object RegExp]" || t === "[object Date]" || on(e);
|
|
644
644
|
}
|
|
645
|
-
var
|
|
646
|
-
function
|
|
647
|
-
return e.$$typeof ===
|
|
645
|
+
var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
|
|
646
|
+
function on(e) {
|
|
647
|
+
return e.$$typeof === an;
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function un(e) {
|
|
650
650
|
return Array.isArray(e) ? [] : {};
|
|
651
651
|
}
|
|
652
|
-
function
|
|
653
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
652
|
+
function Y(e, t) {
|
|
653
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(un(e), e, t) : e;
|
|
654
654
|
}
|
|
655
|
-
function
|
|
656
|
-
return e.concat(t).map(function(
|
|
657
|
-
return
|
|
655
|
+
function hn(e, t, n) {
|
|
656
|
+
return e.concat(t).map(function(r) {
|
|
657
|
+
return Y(r, n);
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function ln(e, t) {
|
|
661
661
|
if (!t.customMerge)
|
|
662
|
-
return
|
|
663
|
-
var
|
|
664
|
-
return typeof
|
|
662
|
+
return F;
|
|
663
|
+
var n = t.customMerge(e);
|
|
664
|
+
return typeof n == "function" ? n : F;
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function fn(e) {
|
|
667
667
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
668
668
|
return Object.propertyIsEnumerable.call(e, t);
|
|
669
669
|
}) : [];
|
|
670
670
|
}
|
|
671
|
-
function
|
|
672
|
-
return Object.keys(e).concat(
|
|
671
|
+
function je(e) {
|
|
672
|
+
return Object.keys(e).concat(fn(e));
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function ft(e, t) {
|
|
675
675
|
try {
|
|
676
676
|
return t in e;
|
|
677
677
|
} catch {
|
|
678
678
|
return !1;
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
return
|
|
681
|
+
function cn(e, t) {
|
|
682
|
+
return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
683
683
|
}
|
|
684
|
-
function
|
|
685
|
-
var
|
|
686
|
-
return
|
|
687
|
-
|
|
688
|
-
}),
|
|
689
|
-
|
|
690
|
-
}),
|
|
691
|
-
}
|
|
692
|
-
function
|
|
693
|
-
|
|
694
|
-
var
|
|
695
|
-
return s ?
|
|
696
|
-
}
|
|
697
|
-
|
|
684
|
+
function mn(e, t, n) {
|
|
685
|
+
var r = {};
|
|
686
|
+
return n.isMergeableObject(e) && je(e).forEach(function(i) {
|
|
687
|
+
r[i] = Y(e[i], n);
|
|
688
|
+
}), je(t).forEach(function(i) {
|
|
689
|
+
cn(e, i) || (ft(e, i) && n.isMergeableObject(t[i]) ? r[i] = ln(i, n)(e[i], t[i], n) : r[i] = Y(t[i], n));
|
|
690
|
+
}), r;
|
|
691
|
+
}
|
|
692
|
+
function F(e, t, n) {
|
|
693
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || hn, n.isMergeableObject = n.isMergeableObject || tn, n.cloneUnlessOtherwiseSpecified = Y;
|
|
694
|
+
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
695
|
+
return s ? r ? n.arrayMerge(e, t, n) : mn(e, t, n) : Y(t, n);
|
|
696
|
+
}
|
|
697
|
+
F.all = function(t, n) {
|
|
698
698
|
if (!Array.isArray(t))
|
|
699
699
|
throw new Error("first argument should be an array");
|
|
700
|
-
return t.reduce(function(
|
|
701
|
-
return
|
|
700
|
+
return t.reduce(function(r, i) {
|
|
701
|
+
return F(r, i, n);
|
|
702
702
|
}, {});
|
|
703
703
|
};
|
|
704
|
-
var
|
|
705
|
-
const
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
704
|
+
var dn = F, gn = dn;
|
|
705
|
+
const bn = /* @__PURE__ */ en(gn);
|
|
706
|
+
/*! *****************************************************************************
|
|
707
|
+
Copyright (c) Microsoft Corporation.
|
|
708
|
+
|
|
709
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
710
|
+
purpose with or without fee is hereby granted.
|
|
711
|
+
|
|
712
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
713
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
714
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
715
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
716
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
717
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
718
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
719
|
+
***************************************************************************** */
|
|
720
|
+
var Be = function(e, t) {
|
|
721
|
+
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
722
|
+
n.__proto__ = r;
|
|
723
|
+
} || function(n, r) {
|
|
724
|
+
for (var i in r)
|
|
725
|
+
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
726
|
+
}, Be(e, t);
|
|
713
727
|
};
|
|
714
|
-
function
|
|
728
|
+
function ce(e, t) {
|
|
715
729
|
if (typeof t != "function" && t !== null)
|
|
716
730
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
717
|
-
|
|
718
|
-
function
|
|
731
|
+
Be(e, t);
|
|
732
|
+
function n() {
|
|
719
733
|
this.constructor = e;
|
|
720
734
|
}
|
|
721
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
722
|
-
}
|
|
723
|
-
var
|
|
724
|
-
return
|
|
725
|
-
for (var
|
|
726
|
-
|
|
727
|
-
for (var s in
|
|
728
|
-
Object.prototype.hasOwnProperty.call(
|
|
735
|
+
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
736
|
+
}
|
|
737
|
+
var E = function() {
|
|
738
|
+
return E = Object.assign || function(t) {
|
|
739
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
740
|
+
n = arguments[r];
|
|
741
|
+
for (var s in n)
|
|
742
|
+
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
729
743
|
}
|
|
730
744
|
return t;
|
|
731
|
-
},
|
|
745
|
+
}, E.apply(this, arguments);
|
|
732
746
|
};
|
|
733
|
-
function
|
|
734
|
-
var
|
|
735
|
-
for (var
|
|
736
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
747
|
+
function pn(e, t) {
|
|
748
|
+
var n = {};
|
|
749
|
+
for (var r in e)
|
|
750
|
+
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
737
751
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
738
|
-
for (var i = 0,
|
|
739
|
-
t.indexOf(
|
|
740
|
-
return
|
|
752
|
+
for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
|
|
753
|
+
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
754
|
+
return n;
|
|
741
755
|
}
|
|
742
|
-
function
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
756
|
+
function fi(e) {
|
|
757
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
758
|
+
if (n)
|
|
759
|
+
return n.call(e);
|
|
760
|
+
if (e && typeof e.length == "number")
|
|
761
|
+
return {
|
|
762
|
+
next: function() {
|
|
763
|
+
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
764
|
+
}
|
|
765
|
+
};
|
|
766
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
747
767
|
}
|
|
748
|
-
function
|
|
749
|
-
var
|
|
768
|
+
function ci(e, t) {
|
|
769
|
+
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
770
|
+
if (!n)
|
|
771
|
+
return e;
|
|
772
|
+
var r = n.call(e), i, s = [], a;
|
|
773
|
+
try {
|
|
774
|
+
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
|
|
775
|
+
s.push(i.value);
|
|
776
|
+
} catch (o) {
|
|
777
|
+
a = { error: o };
|
|
778
|
+
} finally {
|
|
779
|
+
try {
|
|
780
|
+
i && !i.done && (n = r.return) && n.call(r);
|
|
781
|
+
} finally {
|
|
782
|
+
if (a)
|
|
783
|
+
throw a.error;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
return s;
|
|
787
|
+
}
|
|
788
|
+
function pe(e, t, n) {
|
|
789
|
+
if (n || arguments.length === 2)
|
|
790
|
+
for (var r = 0, i = t.length, s; r < i; r++)
|
|
791
|
+
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
792
|
+
return e.concat(s || t);
|
|
793
|
+
}
|
|
794
|
+
function ye(e, t) {
|
|
795
|
+
var n = t && t.cache ? t.cache : Tn, r = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : En;
|
|
750
796
|
return i(e, {
|
|
751
|
-
cache:
|
|
752
|
-
serializer:
|
|
797
|
+
cache: n,
|
|
798
|
+
serializer: r
|
|
753
799
|
});
|
|
754
800
|
}
|
|
755
|
-
function
|
|
801
|
+
function yn(e) {
|
|
756
802
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
757
803
|
}
|
|
758
|
-
function
|
|
759
|
-
var i =
|
|
760
|
-
return typeof s > "u" && (s = e.call(this,
|
|
804
|
+
function ct(e, t, n, r) {
|
|
805
|
+
var i = yn(r) ? r : n(r), s = t.get(i);
|
|
806
|
+
return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
|
|
807
|
+
}
|
|
808
|
+
function mt(e, t, n) {
|
|
809
|
+
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
810
|
+
return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
761
811
|
}
|
|
762
|
-
function
|
|
763
|
-
|
|
764
|
-
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
812
|
+
function $e(e, t, n, r, i) {
|
|
813
|
+
return n.bind(t, e, r, i);
|
|
765
814
|
}
|
|
766
|
-
function
|
|
767
|
-
|
|
815
|
+
function En(e, t) {
|
|
816
|
+
var n = e.length === 1 ? ct : mt;
|
|
817
|
+
return $e(e, this, n, t.cache.create(), t.serializer);
|
|
768
818
|
}
|
|
769
|
-
function
|
|
770
|
-
|
|
771
|
-
return gt(e, this, r, t.cache.create(), t.serializer);
|
|
819
|
+
function _n(e, t) {
|
|
820
|
+
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
772
821
|
}
|
|
773
|
-
function
|
|
774
|
-
return
|
|
822
|
+
function xn(e, t) {
|
|
823
|
+
return $e(e, this, ct, t.cache.create(), t.serializer);
|
|
775
824
|
}
|
|
776
|
-
var
|
|
825
|
+
var vn = function() {
|
|
777
826
|
return JSON.stringify(arguments);
|
|
778
|
-
},
|
|
827
|
+
}, Hn = (
|
|
779
828
|
/** @class */
|
|
780
829
|
function() {
|
|
781
830
|
function e() {
|
|
@@ -783,82 +832,73 @@ var xr = function() {
|
|
|
783
832
|
}
|
|
784
833
|
return e.prototype.get = function(t) {
|
|
785
834
|
return this.cache[t];
|
|
786
|
-
}, e.prototype.set = function(t,
|
|
787
|
-
this.cache[t] =
|
|
835
|
+
}, e.prototype.set = function(t, n) {
|
|
836
|
+
this.cache[t] = n;
|
|
788
837
|
}, e;
|
|
789
838
|
}()
|
|
790
|
-
),
|
|
839
|
+
), Tn = {
|
|
791
840
|
create: function() {
|
|
792
|
-
return new
|
|
841
|
+
return new Hn();
|
|
793
842
|
}
|
|
794
|
-
},
|
|
795
|
-
variadic:
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
799
|
-
r = arguments[n];
|
|
800
|
-
for (var s in r)
|
|
801
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
802
|
-
}
|
|
803
|
-
return t;
|
|
804
|
-
}, he.apply(this, arguments);
|
|
805
|
-
};
|
|
806
|
-
var d;
|
|
843
|
+
}, Ee = {
|
|
844
|
+
variadic: _n,
|
|
845
|
+
monadic: xn
|
|
846
|
+
}, g;
|
|
807
847
|
(function(e) {
|
|
808
848
|
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";
|
|
809
|
-
})(
|
|
810
|
-
var
|
|
849
|
+
})(g || (g = {}));
|
|
850
|
+
var _;
|
|
811
851
|
(function(e) {
|
|
812
852
|
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";
|
|
813
|
-
})(
|
|
814
|
-
var
|
|
853
|
+
})(_ || (_ = {}));
|
|
854
|
+
var j;
|
|
815
855
|
(function(e) {
|
|
816
856
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
817
|
-
})(
|
|
818
|
-
function
|
|
819
|
-
return e.type ===
|
|
857
|
+
})(j || (j = {}));
|
|
858
|
+
function ke(e) {
|
|
859
|
+
return e.type === _.literal;
|
|
820
860
|
}
|
|
821
|
-
function
|
|
822
|
-
return e.type ===
|
|
861
|
+
function Sn(e) {
|
|
862
|
+
return e.type === _.argument;
|
|
823
863
|
}
|
|
824
864
|
function dt(e) {
|
|
825
|
-
return e.type ===
|
|
865
|
+
return e.type === _.number;
|
|
866
|
+
}
|
|
867
|
+
function gt(e) {
|
|
868
|
+
return e.type === _.date;
|
|
826
869
|
}
|
|
827
870
|
function bt(e) {
|
|
828
|
-
return e.type ===
|
|
871
|
+
return e.type === _.time;
|
|
829
872
|
}
|
|
830
873
|
function pt(e) {
|
|
831
|
-
return e.type ===
|
|
874
|
+
return e.type === _.select;
|
|
832
875
|
}
|
|
833
876
|
function yt(e) {
|
|
834
|
-
return e.type ===
|
|
877
|
+
return e.type === _.plural;
|
|
835
878
|
}
|
|
836
|
-
function
|
|
837
|
-
return e.type ===
|
|
838
|
-
}
|
|
839
|
-
function Br(e) {
|
|
840
|
-
return e.type === E.pound;
|
|
879
|
+
function Bn(e) {
|
|
880
|
+
return e.type === _.pound;
|
|
841
881
|
}
|
|
842
|
-
function
|
|
843
|
-
return e.type ===
|
|
882
|
+
function Et(e) {
|
|
883
|
+
return e.type === _.tag;
|
|
844
884
|
}
|
|
845
885
|
function _t(e) {
|
|
846
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
886
|
+
return !!(e && typeof e == "object" && e.type === j.number);
|
|
847
887
|
}
|
|
848
|
-
function
|
|
849
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
888
|
+
function Ae(e) {
|
|
889
|
+
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
850
890
|
}
|
|
851
|
-
var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
852
|
-
function
|
|
891
|
+
var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
|
|
892
|
+
function wn(e) {
|
|
853
893
|
var t = {};
|
|
854
|
-
return e.replace(
|
|
855
|
-
var
|
|
856
|
-
switch (
|
|
894
|
+
return e.replace(An, function(n) {
|
|
895
|
+
var r = n.length;
|
|
896
|
+
switch (n[0]) {
|
|
857
897
|
case "G":
|
|
858
|
-
t.era =
|
|
898
|
+
t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
|
|
859
899
|
break;
|
|
860
900
|
case "y":
|
|
861
|
-
t.year =
|
|
901
|
+
t.year = r === 2 ? "2-digit" : "numeric";
|
|
862
902
|
break;
|
|
863
903
|
case "Y":
|
|
864
904
|
case "u":
|
|
@@ -870,30 +910,30 @@ function wr(e) {
|
|
|
870
910
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
871
911
|
case "M":
|
|
872
912
|
case "L":
|
|
873
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
913
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
|
|
874
914
|
break;
|
|
875
915
|
case "w":
|
|
876
916
|
case "W":
|
|
877
917
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
878
918
|
case "d":
|
|
879
|
-
t.day = ["numeric", "2-digit"][
|
|
919
|
+
t.day = ["numeric", "2-digit"][r - 1];
|
|
880
920
|
break;
|
|
881
921
|
case "D":
|
|
882
922
|
case "F":
|
|
883
923
|
case "g":
|
|
884
924
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
885
925
|
case "E":
|
|
886
|
-
t.weekday =
|
|
926
|
+
t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
|
|
887
927
|
break;
|
|
888
928
|
case "e":
|
|
889
|
-
if (
|
|
929
|
+
if (r < 4)
|
|
890
930
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
891
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
931
|
+
t.weekday = ["short", "long", "narrow", "short"][r - 4];
|
|
892
932
|
break;
|
|
893
933
|
case "c":
|
|
894
|
-
if (
|
|
934
|
+
if (r < 4)
|
|
895
935
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
896
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
936
|
+
t.weekday = ["short", "long", "narrow", "short"][r - 4];
|
|
897
937
|
break;
|
|
898
938
|
case "a":
|
|
899
939
|
t.hour12 = !0;
|
|
@@ -902,32 +942,32 @@ function wr(e) {
|
|
|
902
942
|
case "B":
|
|
903
943
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
904
944
|
case "h":
|
|
905
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
945
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
|
|
906
946
|
break;
|
|
907
947
|
case "H":
|
|
908
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
948
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
|
|
909
949
|
break;
|
|
910
950
|
case "K":
|
|
911
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
951
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
|
|
912
952
|
break;
|
|
913
953
|
case "k":
|
|
914
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
954
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
|
|
915
955
|
break;
|
|
916
956
|
case "j":
|
|
917
957
|
case "J":
|
|
918
958
|
case "C":
|
|
919
959
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
920
960
|
case "m":
|
|
921
|
-
t.minute = ["numeric", "2-digit"][
|
|
961
|
+
t.minute = ["numeric", "2-digit"][r - 1];
|
|
922
962
|
break;
|
|
923
963
|
case "s":
|
|
924
|
-
t.second = ["numeric", "2-digit"][
|
|
964
|
+
t.second = ["numeric", "2-digit"][r - 1];
|
|
925
965
|
break;
|
|
926
966
|
case "S":
|
|
927
967
|
case "A":
|
|
928
968
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
929
969
|
case "z":
|
|
930
|
-
t.timeZoneName =
|
|
970
|
+
t.timeZoneName = r < 4 ? "short" : "long";
|
|
931
971
|
break;
|
|
932
972
|
case "Z":
|
|
933
973
|
case "O":
|
|
@@ -940,46 +980,36 @@ function wr(e) {
|
|
|
940
980
|
return "";
|
|
941
981
|
}), t;
|
|
942
982
|
}
|
|
943
|
-
var
|
|
944
|
-
|
|
945
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
946
|
-
r = arguments[n];
|
|
947
|
-
for (var s in r)
|
|
948
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
949
|
-
}
|
|
950
|
-
return t;
|
|
951
|
-
}, v.apply(this, arguments);
|
|
952
|
-
};
|
|
953
|
-
var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
954
|
-
function Nr(e) {
|
|
983
|
+
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
984
|
+
function Nn(e) {
|
|
955
985
|
if (e.length === 0)
|
|
956
986
|
throw new Error("Number skeleton cannot be empty");
|
|
957
|
-
for (var t = e.split(
|
|
987
|
+
for (var t = e.split(Pn).filter(function(f) {
|
|
958
988
|
return f.length > 0;
|
|
959
|
-
}),
|
|
960
|
-
var s = i[
|
|
961
|
-
if (
|
|
989
|
+
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
990
|
+
var s = i[r], a = s.split("/");
|
|
991
|
+
if (a.length === 0)
|
|
962
992
|
throw new Error("Invalid number skeleton");
|
|
963
|
-
for (var
|
|
964
|
-
var m = h[
|
|
993
|
+
for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
994
|
+
var m = h[u];
|
|
965
995
|
if (m.length === 0)
|
|
966
996
|
throw new Error("Invalid number skeleton");
|
|
967
997
|
}
|
|
968
|
-
|
|
998
|
+
n.push({ stem: o, options: l });
|
|
969
999
|
}
|
|
970
|
-
return
|
|
1000
|
+
return n;
|
|
971
1001
|
}
|
|
972
|
-
function
|
|
1002
|
+
function On(e) {
|
|
973
1003
|
return e.replace(/^(.*?)-/, "");
|
|
974
1004
|
}
|
|
975
|
-
var
|
|
976
|
-
function
|
|
1005
|
+
var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
|
|
1006
|
+
function Xe(e) {
|
|
977
1007
|
var t = {};
|
|
978
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
979
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
1008
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(n, r, i) {
|
|
1009
|
+
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)), "";
|
|
980
1010
|
}), t;
|
|
981
1011
|
}
|
|
982
|
-
function
|
|
1012
|
+
function Tt(e) {
|
|
983
1013
|
switch (e) {
|
|
984
1014
|
case "sign-auto":
|
|
985
1015
|
return {
|
|
@@ -1019,27 +1049,27 @@ function St(e) {
|
|
|
1019
1049
|
};
|
|
1020
1050
|
}
|
|
1021
1051
|
}
|
|
1022
|
-
function
|
|
1052
|
+
function Ln(e) {
|
|
1023
1053
|
var t;
|
|
1024
1054
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1025
1055
|
notation: "engineering"
|
|
1026
1056
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1027
1057
|
notation: "scientific"
|
|
1028
1058
|
}, e = e.slice(1)), t) {
|
|
1029
|
-
var
|
|
1030
|
-
if (
|
|
1059
|
+
var n = e.slice(0, 2);
|
|
1060
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ht.test(e))
|
|
1031
1061
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1032
1062
|
t.minimumIntegerDigits = e.length;
|
|
1033
1063
|
}
|
|
1034
1064
|
return t;
|
|
1035
1065
|
}
|
|
1036
1066
|
function ze(e) {
|
|
1037
|
-
var t = {},
|
|
1038
|
-
return
|
|
1067
|
+
var t = {}, n = Tt(e);
|
|
1068
|
+
return n || t;
|
|
1039
1069
|
}
|
|
1040
|
-
function
|
|
1041
|
-
for (var t = {},
|
|
1042
|
-
var i = n
|
|
1070
|
+
function Cn(e) {
|
|
1071
|
+
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1072
|
+
var i = r[n];
|
|
1043
1073
|
switch (i.stem) {
|
|
1044
1074
|
case "percent":
|
|
1045
1075
|
case "%":
|
|
@@ -1061,7 +1091,7 @@ function Cr(e) {
|
|
|
1061
1091
|
continue;
|
|
1062
1092
|
case "measure-unit":
|
|
1063
1093
|
case "unit":
|
|
1064
|
-
t.style = "unit", t.unit =
|
|
1094
|
+
t.style = "unit", t.unit = On(i.options[0]);
|
|
1065
1095
|
continue;
|
|
1066
1096
|
case "compact-short":
|
|
1067
1097
|
case "K":
|
|
@@ -1072,13 +1102,13 @@ function Cr(e) {
|
|
|
1072
1102
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1073
1103
|
continue;
|
|
1074
1104
|
case "scientific":
|
|
1075
|
-
t =
|
|
1076
|
-
return
|
|
1105
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1106
|
+
return E(E({}, l), ze(u));
|
|
1077
1107
|
}, {}));
|
|
1078
1108
|
continue;
|
|
1079
1109
|
case "engineering":
|
|
1080
|
-
t =
|
|
1081
|
-
return
|
|
1110
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1111
|
+
return E(E({}, l), ze(u));
|
|
1082
1112
|
}, {}));
|
|
1083
1113
|
continue;
|
|
1084
1114
|
case "notation-simple":
|
|
@@ -1123,8 +1153,8 @@ function Cr(e) {
|
|
|
1123
1153
|
case "integer-width":
|
|
1124
1154
|
if (i.options.length > 1)
|
|
1125
1155
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1126
|
-
i.options[0].replace(
|
|
1127
|
-
if (
|
|
1156
|
+
i.options[0].replace(In, function(l, u, h, m, f, b) {
|
|
1157
|
+
if (u)
|
|
1128
1158
|
t.minimumIntegerDigits = h.length;
|
|
1129
1159
|
else {
|
|
1130
1160
|
if (m && f)
|
|
@@ -1136,32 +1166,32 @@ function Cr(e) {
|
|
|
1136
1166
|
});
|
|
1137
1167
|
continue;
|
|
1138
1168
|
}
|
|
1139
|
-
if (
|
|
1169
|
+
if (Ht.test(i.stem)) {
|
|
1140
1170
|
t.minimumIntegerDigits = i.stem.length;
|
|
1141
1171
|
continue;
|
|
1142
1172
|
}
|
|
1143
|
-
if (
|
|
1173
|
+
if (Ve.test(i.stem)) {
|
|
1144
1174
|
if (i.options.length > 1)
|
|
1145
1175
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1146
|
-
i.stem.replace(
|
|
1147
|
-
return h === "*" ? t.minimumFractionDigits =
|
|
1176
|
+
i.stem.replace(Ve, function(l, u, h, m, f, b) {
|
|
1177
|
+
return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1148
1178
|
});
|
|
1149
1179
|
var s = i.options[0];
|
|
1150
|
-
s === "w" ? t =
|
|
1180
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Xe(s)));
|
|
1151
1181
|
continue;
|
|
1152
1182
|
}
|
|
1153
|
-
if (
|
|
1154
|
-
t =
|
|
1183
|
+
if (vt.test(i.stem)) {
|
|
1184
|
+
t = E(E({}, t), Xe(i.stem));
|
|
1155
1185
|
continue;
|
|
1156
1186
|
}
|
|
1157
|
-
var
|
|
1158
|
-
|
|
1159
|
-
var
|
|
1160
|
-
|
|
1187
|
+
var a = Tt(i.stem);
|
|
1188
|
+
a && (t = E(E({}, t), a));
|
|
1189
|
+
var o = Ln(i.stem);
|
|
1190
|
+
o && (t = E(E({}, t), o));
|
|
1161
1191
|
}
|
|
1162
1192
|
return t;
|
|
1163
1193
|
}
|
|
1164
|
-
var
|
|
1194
|
+
var ie = {
|
|
1165
1195
|
"001": [
|
|
1166
1196
|
"H",
|
|
1167
1197
|
"h"
|
|
@@ -2576,23 +2606,23 @@ var se = {
|
|
|
2576
2606
|
"h"
|
|
2577
2607
|
]
|
|
2578
2608
|
};
|
|
2579
|
-
function
|
|
2580
|
-
for (var
|
|
2581
|
-
var i = e.charAt(
|
|
2609
|
+
function Mn(e, t) {
|
|
2610
|
+
for (var n = "", r = 0; r < e.length; r++) {
|
|
2611
|
+
var i = e.charAt(r);
|
|
2582
2612
|
if (i === "j") {
|
|
2583
|
-
for (var s = 0;
|
|
2584
|
-
s++,
|
|
2585
|
-
var
|
|
2586
|
-
for ((
|
|
2587
|
-
|
|
2588
|
-
for (;
|
|
2589
|
-
|
|
2613
|
+
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2614
|
+
s++, r++;
|
|
2615
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Rn(t);
|
|
2616
|
+
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2617
|
+
n += l;
|
|
2618
|
+
for (; a-- > 0; )
|
|
2619
|
+
n = u + n;
|
|
2590
2620
|
} else
|
|
2591
|
-
i === "J" ?
|
|
2621
|
+
i === "J" ? n += "H" : n += i;
|
|
2592
2622
|
}
|
|
2593
|
-
return
|
|
2623
|
+
return n;
|
|
2594
2624
|
}
|
|
2595
|
-
function
|
|
2625
|
+
function Rn(e) {
|
|
2596
2626
|
var t = e.hourCycle;
|
|
2597
2627
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2598
2628
|
e.hourCycles && // @ts-ignore
|
|
@@ -2609,73 +2639,73 @@ function Rr(e) {
|
|
|
2609
2639
|
default:
|
|
2610
2640
|
throw new Error("Invalid hourCycle");
|
|
2611
2641
|
}
|
|
2612
|
-
var
|
|
2613
|
-
|
|
2614
|
-
var i =
|
|
2642
|
+
var n = e.language, r;
|
|
2643
|
+
n !== "root" && (r = e.maximize().region);
|
|
2644
|
+
var i = ie[r || ""] || ie[n || ""] || ie["".concat(n, "-001")] || ie["001"];
|
|
2615
2645
|
return i[0];
|
|
2616
2646
|
}
|
|
2617
|
-
var
|
|
2647
|
+
var _e, $n = new RegExp("^".concat(xt.source, "*")), Un = new RegExp("".concat(xt.source, "*$"));
|
|
2618
2648
|
function p(e, t) {
|
|
2619
2649
|
return { start: e, end: t };
|
|
2620
2650
|
}
|
|
2621
|
-
var
|
|
2651
|
+
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, zn = Xn ? Number.isSafeInteger : function(e) {
|
|
2622
2652
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2623
|
-
},
|
|
2653
|
+
}, we = !0;
|
|
2624
2654
|
try {
|
|
2625
|
-
var
|
|
2626
|
-
|
|
2655
|
+
var Wn = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2656
|
+
we = ((_e = Wn.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
|
2627
2657
|
} catch {
|
|
2628
|
-
|
|
2658
|
+
we = !1;
|
|
2629
2659
|
}
|
|
2630
|
-
var
|
|
2660
|
+
var We = Dn ? (
|
|
2631
2661
|
// Native
|
|
2632
|
-
function(t,
|
|
2633
|
-
return t.startsWith(
|
|
2662
|
+
function(t, n, r) {
|
|
2663
|
+
return t.startsWith(n, r);
|
|
2634
2664
|
}
|
|
2635
2665
|
) : (
|
|
2636
2666
|
// For IE11
|
|
2637
|
-
function(t,
|
|
2638
|
-
return t.slice(
|
|
2667
|
+
function(t, n, r) {
|
|
2668
|
+
return t.slice(r, r + n.length) === n;
|
|
2639
2669
|
}
|
|
2640
|
-
),
|
|
2670
|
+
), Pe = Gn ? String.fromCodePoint : (
|
|
2641
2671
|
// IE11
|
|
2642
2672
|
function() {
|
|
2643
|
-
for (var t = [],
|
|
2644
|
-
t[
|
|
2645
|
-
for (var
|
|
2646
|
-
if (
|
|
2647
|
-
throw RangeError(
|
|
2648
|
-
|
|
2673
|
+
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2674
|
+
t[n] = arguments[n];
|
|
2675
|
+
for (var r = "", i = t.length, s = 0, a; i > s; ) {
|
|
2676
|
+
if (a = t[s++], a > 1114111)
|
|
2677
|
+
throw RangeError(a + " is not a valid code point");
|
|
2678
|
+
r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2649
2679
|
}
|
|
2650
|
-
return
|
|
2680
|
+
return r;
|
|
2651
2681
|
}
|
|
2652
|
-
),
|
|
2682
|
+
), Ze = (
|
|
2653
2683
|
// native
|
|
2654
|
-
|
|
2684
|
+
Fn ? Object.fromEntries : (
|
|
2655
2685
|
// Ponyfill
|
|
2656
2686
|
function(t) {
|
|
2657
|
-
for (var
|
|
2658
|
-
var s = i[
|
|
2659
|
-
|
|
2687
|
+
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2688
|
+
var s = i[r], a = s[0], o = s[1];
|
|
2689
|
+
n[a] = o;
|
|
2660
2690
|
}
|
|
2661
|
-
return
|
|
2691
|
+
return n;
|
|
2662
2692
|
}
|
|
2663
2693
|
)
|
|
2664
|
-
),
|
|
2694
|
+
), St = jn ? (
|
|
2665
2695
|
// Native
|
|
2666
|
-
function(t,
|
|
2667
|
-
return t.codePointAt(
|
|
2696
|
+
function(t, n) {
|
|
2697
|
+
return t.codePointAt(n);
|
|
2668
2698
|
}
|
|
2669
2699
|
) : (
|
|
2670
2700
|
// IE 11
|
|
2671
|
-
function(t,
|
|
2672
|
-
var
|
|
2673
|
-
if (!(
|
|
2674
|
-
var i = t.charCodeAt(
|
|
2675
|
-
return i < 55296 || i > 56319 ||
|
|
2701
|
+
function(t, n) {
|
|
2702
|
+
var r = t.length;
|
|
2703
|
+
if (!(n < 0 || n >= r)) {
|
|
2704
|
+
var i = t.charCodeAt(n), s;
|
|
2705
|
+
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2676
2706
|
}
|
|
2677
2707
|
}
|
|
2678
|
-
),
|
|
2708
|
+
), Zn = kn ? (
|
|
2679
2709
|
// Native
|
|
2680
2710
|
function(t) {
|
|
2681
2711
|
return t.trimStart();
|
|
@@ -2683,9 +2713,9 @@ var Ze = Dr ? (
|
|
|
2683
2713
|
) : (
|
|
2684
2714
|
// Ponyfill
|
|
2685
2715
|
function(t) {
|
|
2686
|
-
return t.replace($
|
|
2716
|
+
return t.replace($n, "");
|
|
2687
2717
|
}
|
|
2688
|
-
),
|
|
2718
|
+
), Qn = Vn ? (
|
|
2689
2719
|
// Native
|
|
2690
2720
|
function(t) {
|
|
2691
2721
|
return t.trimEnd();
|
|
@@ -2693,143 +2723,143 @@ var Ze = Dr ? (
|
|
|
2693
2723
|
) : (
|
|
2694
2724
|
// Ponyfill
|
|
2695
2725
|
function(t) {
|
|
2696
|
-
return t.replace(
|
|
2726
|
+
return t.replace(Un, "");
|
|
2697
2727
|
}
|
|
2698
2728
|
);
|
|
2699
|
-
function
|
|
2729
|
+
function Bt(e, t) {
|
|
2700
2730
|
return new RegExp(e, t);
|
|
2701
2731
|
}
|
|
2702
|
-
var
|
|
2703
|
-
if (
|
|
2704
|
-
var
|
|
2705
|
-
|
|
2706
|
-
var
|
|
2707
|
-
|
|
2708
|
-
var i =
|
|
2709
|
-
return (
|
|
2732
|
+
var Ne;
|
|
2733
|
+
if (we) {
|
|
2734
|
+
var Qe = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2735
|
+
Ne = function(t, n) {
|
|
2736
|
+
var r;
|
|
2737
|
+
Qe.lastIndex = n;
|
|
2738
|
+
var i = Qe.exec(t);
|
|
2739
|
+
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2710
2740
|
};
|
|
2711
2741
|
} else
|
|
2712
|
-
|
|
2713
|
-
for (var
|
|
2714
|
-
var i =
|
|
2715
|
-
if (i === void 0 ||
|
|
2742
|
+
Ne = function(t, n) {
|
|
2743
|
+
for (var r = []; ; ) {
|
|
2744
|
+
var i = St(t, n);
|
|
2745
|
+
if (i === void 0 || At(i) || Kn(i))
|
|
2716
2746
|
break;
|
|
2717
|
-
|
|
2747
|
+
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2718
2748
|
}
|
|
2719
|
-
return
|
|
2749
|
+
return Pe.apply(void 0, r);
|
|
2720
2750
|
};
|
|
2721
|
-
var
|
|
2751
|
+
var qn = (
|
|
2722
2752
|
/** @class */
|
|
2723
2753
|
function() {
|
|
2724
|
-
function e(t,
|
|
2725
|
-
|
|
2754
|
+
function e(t, n) {
|
|
2755
|
+
n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
|
|
2726
2756
|
}
|
|
2727
2757
|
return e.prototype.parse = function() {
|
|
2728
2758
|
if (this.offset() !== 0)
|
|
2729
2759
|
throw Error("parser can only be used once");
|
|
2730
2760
|
return this.parseMessage(0, "", !1);
|
|
2731
|
-
}, e.prototype.parseMessage = function(t,
|
|
2761
|
+
}, e.prototype.parseMessage = function(t, n, r) {
|
|
2732
2762
|
for (var i = []; !this.isEOF(); ) {
|
|
2733
2763
|
var s = this.char();
|
|
2734
2764
|
if (s === 123) {
|
|
2735
|
-
var
|
|
2736
|
-
if (
|
|
2737
|
-
return
|
|
2738
|
-
i.push(
|
|
2765
|
+
var a = this.parseArgument(t, r);
|
|
2766
|
+
if (a.err)
|
|
2767
|
+
return a;
|
|
2768
|
+
i.push(a.val);
|
|
2739
2769
|
} else {
|
|
2740
2770
|
if (s === 125 && t > 0)
|
|
2741
2771
|
break;
|
|
2742
|
-
if (s === 35 && (
|
|
2743
|
-
var
|
|
2772
|
+
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2773
|
+
var o = this.clonePosition();
|
|
2744
2774
|
this.bump(), i.push({
|
|
2745
|
-
type:
|
|
2746
|
-
location: p(
|
|
2775
|
+
type: _.pound,
|
|
2776
|
+
location: p(o, this.clonePosition())
|
|
2747
2777
|
});
|
|
2748
2778
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2749
|
-
if (
|
|
2779
|
+
if (r)
|
|
2750
2780
|
break;
|
|
2751
|
-
return this.error(
|
|
2752
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2753
|
-
var
|
|
2754
|
-
if (
|
|
2755
|
-
return
|
|
2756
|
-
i.push(
|
|
2781
|
+
return this.error(g.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2782
|
+
} else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
|
|
2783
|
+
var a = this.parseTag(t, n);
|
|
2784
|
+
if (a.err)
|
|
2785
|
+
return a;
|
|
2786
|
+
i.push(a.val);
|
|
2757
2787
|
} else {
|
|
2758
|
-
var
|
|
2759
|
-
if (
|
|
2760
|
-
return
|
|
2761
|
-
i.push(
|
|
2788
|
+
var a = this.parseLiteral(t, n);
|
|
2789
|
+
if (a.err)
|
|
2790
|
+
return a;
|
|
2791
|
+
i.push(a.val);
|
|
2762
2792
|
}
|
|
2763
2793
|
}
|
|
2764
2794
|
}
|
|
2765
2795
|
return { val: i, err: null };
|
|
2766
|
-
}, e.prototype.parseTag = function(t,
|
|
2767
|
-
var
|
|
2796
|
+
}, e.prototype.parseTag = function(t, n) {
|
|
2797
|
+
var r = this.clonePosition();
|
|
2768
2798
|
this.bump();
|
|
2769
2799
|
var i = this.parseTagName();
|
|
2770
2800
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2771
2801
|
return {
|
|
2772
2802
|
val: {
|
|
2773
|
-
type:
|
|
2803
|
+
type: _.literal,
|
|
2774
2804
|
value: "<".concat(i, "/>"),
|
|
2775
|
-
location: p(
|
|
2805
|
+
location: p(r, this.clonePosition())
|
|
2776
2806
|
},
|
|
2777
2807
|
err: null
|
|
2778
2808
|
};
|
|
2779
2809
|
if (this.bumpIf(">")) {
|
|
2780
|
-
var s = this.parseMessage(t + 1,
|
|
2810
|
+
var s = this.parseMessage(t + 1, n, !0);
|
|
2781
2811
|
if (s.err)
|
|
2782
2812
|
return s;
|
|
2783
|
-
var
|
|
2813
|
+
var a = s.val, o = this.clonePosition();
|
|
2784
2814
|
if (this.bumpIf("</")) {
|
|
2785
|
-
if (this.isEOF() || !
|
|
2786
|
-
return this.error(
|
|
2787
|
-
var l = this.clonePosition(),
|
|
2788
|
-
return i !==
|
|
2815
|
+
if (this.isEOF() || !Oe(this.char()))
|
|
2816
|
+
return this.error(g.INVALID_TAG, p(o, this.clonePosition()));
|
|
2817
|
+
var l = this.clonePosition(), u = this.parseTagName();
|
|
2818
|
+
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2789
2819
|
val: {
|
|
2790
|
-
type:
|
|
2820
|
+
type: _.tag,
|
|
2791
2821
|
value: i,
|
|
2792
|
-
children:
|
|
2793
|
-
location: p(
|
|
2822
|
+
children: a,
|
|
2823
|
+
location: p(r, this.clonePosition())
|
|
2794
2824
|
},
|
|
2795
2825
|
err: null
|
|
2796
|
-
} : this.error(
|
|
2826
|
+
} : this.error(g.INVALID_TAG, p(o, this.clonePosition())));
|
|
2797
2827
|
} else
|
|
2798
|
-
return this.error(
|
|
2828
|
+
return this.error(g.UNCLOSED_TAG, p(r, this.clonePosition()));
|
|
2799
2829
|
} else
|
|
2800
|
-
return this.error(
|
|
2830
|
+
return this.error(g.INVALID_TAG, p(r, this.clonePosition()));
|
|
2801
2831
|
}, e.prototype.parseTagName = function() {
|
|
2802
2832
|
var t = this.offset();
|
|
2803
|
-
for (this.bump(); !this.isEOF() &&
|
|
2833
|
+
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
2804
2834
|
this.bump();
|
|
2805
2835
|
return this.message.slice(t, this.offset());
|
|
2806
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2807
|
-
for (var
|
|
2808
|
-
var s = this.tryParseQuote(
|
|
2836
|
+
}, e.prototype.parseLiteral = function(t, n) {
|
|
2837
|
+
for (var r = this.clonePosition(), i = ""; ; ) {
|
|
2838
|
+
var s = this.tryParseQuote(n);
|
|
2809
2839
|
if (s) {
|
|
2810
2840
|
i += s;
|
|
2811
2841
|
continue;
|
|
2812
2842
|
}
|
|
2813
|
-
var
|
|
2814
|
-
if (u) {
|
|
2815
|
-
i += u;
|
|
2816
|
-
continue;
|
|
2817
|
-
}
|
|
2818
|
-
var a = this.tryParseLeftAngleBracket();
|
|
2843
|
+
var a = this.tryParseUnquoted(t, n);
|
|
2819
2844
|
if (a) {
|
|
2820
2845
|
i += a;
|
|
2821
2846
|
continue;
|
|
2822
2847
|
}
|
|
2848
|
+
var o = this.tryParseLeftAngleBracket();
|
|
2849
|
+
if (o) {
|
|
2850
|
+
i += o;
|
|
2851
|
+
continue;
|
|
2852
|
+
}
|
|
2823
2853
|
break;
|
|
2824
2854
|
}
|
|
2825
|
-
var l = p(
|
|
2855
|
+
var l = p(r, this.clonePosition());
|
|
2826
2856
|
return {
|
|
2827
|
-
val: { type:
|
|
2857
|
+
val: { type: _.literal, value: i, location: l },
|
|
2828
2858
|
err: null
|
|
2829
2859
|
};
|
|
2830
2860
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2831
2861
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2832
|
-
!
|
|
2862
|
+
!Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2833
2863
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2834
2864
|
if (this.isEOF() || this.char() !== 39)
|
|
2835
2865
|
return null;
|
|
@@ -2849,114 +2879,114 @@ var qr = (
|
|
|
2849
2879
|
return null;
|
|
2850
2880
|
}
|
|
2851
2881
|
this.bump();
|
|
2852
|
-
var
|
|
2882
|
+
var n = [this.char()];
|
|
2853
2883
|
for (this.bump(); !this.isEOF(); ) {
|
|
2854
|
-
var
|
|
2855
|
-
if (
|
|
2884
|
+
var r = this.char();
|
|
2885
|
+
if (r === 39)
|
|
2856
2886
|
if (this.peek() === 39)
|
|
2857
|
-
|
|
2887
|
+
n.push(39), this.bump();
|
|
2858
2888
|
else {
|
|
2859
2889
|
this.bump();
|
|
2860
2890
|
break;
|
|
2861
2891
|
}
|
|
2862
2892
|
else
|
|
2863
|
-
|
|
2893
|
+
n.push(r);
|
|
2864
2894
|
this.bump();
|
|
2865
2895
|
}
|
|
2866
|
-
return
|
|
2867
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2896
|
+
return Pe.apply(void 0, n);
|
|
2897
|
+
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2868
2898
|
if (this.isEOF())
|
|
2869
2899
|
return null;
|
|
2870
|
-
var
|
|
2871
|
-
return
|
|
2872
|
-
}, e.prototype.parseArgument = function(t,
|
|
2873
|
-
var
|
|
2900
|
+
var r = this.char();
|
|
2901
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Pe(r));
|
|
2902
|
+
}, e.prototype.parseArgument = function(t, n) {
|
|
2903
|
+
var r = this.clonePosition();
|
|
2874
2904
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2875
|
-
return this.error(
|
|
2905
|
+
return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
|
|
2876
2906
|
if (this.char() === 125)
|
|
2877
|
-
return this.bump(), this.error(
|
|
2907
|
+
return this.bump(), this.error(g.EMPTY_ARGUMENT, p(r, this.clonePosition()));
|
|
2878
2908
|
var i = this.parseIdentifierIfPossible().value;
|
|
2879
2909
|
if (!i)
|
|
2880
|
-
return this.error(
|
|
2910
|
+
return this.error(g.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2881
2911
|
if (this.bumpSpace(), this.isEOF())
|
|
2882
|
-
return this.error(
|
|
2912
|
+
return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
|
|
2883
2913
|
switch (this.char()) {
|
|
2884
2914
|
case 125:
|
|
2885
2915
|
return this.bump(), {
|
|
2886
2916
|
val: {
|
|
2887
|
-
type:
|
|
2917
|
+
type: _.argument,
|
|
2888
2918
|
// value does not include the opening and closing braces.
|
|
2889
2919
|
value: i,
|
|
2890
|
-
location: p(
|
|
2920
|
+
location: p(r, this.clonePosition())
|
|
2891
2921
|
},
|
|
2892
2922
|
err: null
|
|
2893
2923
|
};
|
|
2894
2924
|
case 44:
|
|
2895
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2925
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
2896
2926
|
default:
|
|
2897
|
-
return this.error(
|
|
2927
|
+
return this.error(g.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2898
2928
|
}
|
|
2899
2929
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2900
|
-
var t = this.clonePosition(),
|
|
2930
|
+
var t = this.clonePosition(), n = this.offset(), r = Ne(this.message, n), i = n + r.length;
|
|
2901
2931
|
this.bumpTo(i);
|
|
2902
|
-
var s = this.clonePosition(),
|
|
2903
|
-
return { value:
|
|
2904
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2905
|
-
var s,
|
|
2906
|
-
switch (
|
|
2932
|
+
var s = this.clonePosition(), a = p(t, s);
|
|
2933
|
+
return { value: r, location: a };
|
|
2934
|
+
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2935
|
+
var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2936
|
+
switch (o) {
|
|
2907
2937
|
case "":
|
|
2908
|
-
return this.error(
|
|
2938
|
+
return this.error(g.EXPECT_ARGUMENT_TYPE, p(a, l));
|
|
2909
2939
|
case "number":
|
|
2910
2940
|
case "date":
|
|
2911
2941
|
case "time": {
|
|
2912
2942
|
this.bumpSpace();
|
|
2913
|
-
var
|
|
2943
|
+
var u = null;
|
|
2914
2944
|
if (this.bumpIf(",")) {
|
|
2915
2945
|
this.bumpSpace();
|
|
2916
2946
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2917
2947
|
if (m.err)
|
|
2918
2948
|
return m;
|
|
2919
|
-
var f =
|
|
2949
|
+
var f = Qn(m.val);
|
|
2920
2950
|
if (f.length === 0)
|
|
2921
|
-
return this.error(
|
|
2951
|
+
return this.error(g.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2922
2952
|
var b = p(h, this.clonePosition());
|
|
2923
|
-
|
|
2953
|
+
u = { style: f, styleLocation: b };
|
|
2924
2954
|
}
|
|
2925
2955
|
var y = this.tryParseArgumentClose(i);
|
|
2926
2956
|
if (y.err)
|
|
2927
2957
|
return y;
|
|
2928
|
-
var
|
|
2929
|
-
if (
|
|
2930
|
-
var T =
|
|
2931
|
-
if (
|
|
2932
|
-
var m = this.parseNumberSkeletonFromString(T,
|
|
2958
|
+
var x = p(i, this.clonePosition());
|
|
2959
|
+
if (u && We(u?.style, "::", 0)) {
|
|
2960
|
+
var T = Zn(u.style.slice(2));
|
|
2961
|
+
if (o === "number") {
|
|
2962
|
+
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2933
2963
|
return m.err ? m : {
|
|
2934
|
-
val: { type:
|
|
2964
|
+
val: { type: _.number, value: r, location: x, style: m.val },
|
|
2935
2965
|
err: null
|
|
2936
2966
|
};
|
|
2937
2967
|
} else {
|
|
2938
2968
|
if (T.length === 0)
|
|
2939
|
-
return this.error(
|
|
2969
|
+
return this.error(g.EXPECT_DATE_TIME_SKELETON, x);
|
|
2940
2970
|
var w = T;
|
|
2941
|
-
this.locale && (w =
|
|
2971
|
+
this.locale && (w = Mn(T, this.locale));
|
|
2942
2972
|
var f = {
|
|
2943
|
-
type:
|
|
2973
|
+
type: j.dateTime,
|
|
2944
2974
|
pattern: w,
|
|
2945
|
-
location:
|
|
2946
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2947
|
-
}, A =
|
|
2975
|
+
location: u.styleLocation,
|
|
2976
|
+
parsedOptions: this.shouldParseSkeletons ? wn(w) : {}
|
|
2977
|
+
}, A = o === "date" ? _.date : _.time;
|
|
2948
2978
|
return {
|
|
2949
|
-
val: { type: A, value:
|
|
2979
|
+
val: { type: A, value: r, location: x, style: f },
|
|
2950
2980
|
err: null
|
|
2951
2981
|
};
|
|
2952
2982
|
}
|
|
2953
2983
|
}
|
|
2954
2984
|
return {
|
|
2955
2985
|
val: {
|
|
2956
|
-
type:
|
|
2957
|
-
value:
|
|
2958
|
-
location:
|
|
2959
|
-
style: (s =
|
|
2986
|
+
type: o === "number" ? _.number : o === "date" ? _.date : _.time,
|
|
2987
|
+
value: r,
|
|
2988
|
+
location: x,
|
|
2989
|
+
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2960
2990
|
},
|
|
2961
2991
|
err: null
|
|
2962
2992
|
};
|
|
@@ -2966,59 +2996,59 @@ var qr = (
|
|
|
2966
2996
|
case "select": {
|
|
2967
2997
|
var S = this.clonePosition();
|
|
2968
2998
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2969
|
-
return this.error(
|
|
2999
|
+
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, p(S, E({}, S)));
|
|
2970
3000
|
this.bumpSpace();
|
|
2971
|
-
var P = this.parseIdentifierIfPossible(),
|
|
2972
|
-
if (
|
|
3001
|
+
var P = this.parseIdentifierIfPossible(), v = 0;
|
|
3002
|
+
if (o !== "select" && P.value === "offset") {
|
|
2973
3003
|
if (!this.bumpIf(":"))
|
|
2974
|
-
return this.error(
|
|
3004
|
+
return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
|
|
2975
3005
|
this.bumpSpace();
|
|
2976
|
-
var m = this.tryParseDecimalInteger(
|
|
3006
|
+
var m = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2977
3007
|
if (m.err)
|
|
2978
3008
|
return m;
|
|
2979
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(),
|
|
3009
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), v = m.val;
|
|
2980
3010
|
}
|
|
2981
|
-
var O = this.tryParsePluralOrSelectOptions(t,
|
|
3011
|
+
var O = this.tryParsePluralOrSelectOptions(t, o, n, P);
|
|
2982
3012
|
if (O.err)
|
|
2983
3013
|
return O;
|
|
2984
3014
|
var y = this.tryParseArgumentClose(i);
|
|
2985
3015
|
if (y.err)
|
|
2986
3016
|
return y;
|
|
2987
3017
|
var c = p(i, this.clonePosition());
|
|
2988
|
-
return
|
|
3018
|
+
return o === "select" ? {
|
|
2989
3019
|
val: {
|
|
2990
|
-
type:
|
|
2991
|
-
value:
|
|
2992
|
-
options:
|
|
3020
|
+
type: _.select,
|
|
3021
|
+
value: r,
|
|
3022
|
+
options: Ze(O.val),
|
|
2993
3023
|
location: c
|
|
2994
3024
|
},
|
|
2995
3025
|
err: null
|
|
2996
3026
|
} : {
|
|
2997
3027
|
val: {
|
|
2998
|
-
type:
|
|
2999
|
-
value:
|
|
3000
|
-
options:
|
|
3001
|
-
offset:
|
|
3002
|
-
pluralType:
|
|
3028
|
+
type: _.plural,
|
|
3029
|
+
value: r,
|
|
3030
|
+
options: Ze(O.val),
|
|
3031
|
+
offset: v,
|
|
3032
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3003
3033
|
location: c
|
|
3004
3034
|
},
|
|
3005
3035
|
err: null
|
|
3006
3036
|
};
|
|
3007
3037
|
}
|
|
3008
3038
|
default:
|
|
3009
|
-
return this.error(
|
|
3039
|
+
return this.error(g.INVALID_ARGUMENT_TYPE, p(a, l));
|
|
3010
3040
|
}
|
|
3011
3041
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3012
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3042
|
+
return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3013
3043
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3014
|
-
for (var t = 0,
|
|
3015
|
-
var
|
|
3016
|
-
switch (
|
|
3044
|
+
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
3045
|
+
var r = this.char();
|
|
3046
|
+
switch (r) {
|
|
3017
3047
|
case 39: {
|
|
3018
3048
|
this.bump();
|
|
3019
3049
|
var i = this.clonePosition();
|
|
3020
3050
|
if (!this.bumpUntil("'"))
|
|
3021
|
-
return this.error(
|
|
3051
|
+
return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, p(i, this.clonePosition()));
|
|
3022
3052
|
this.bump();
|
|
3023
3053
|
break;
|
|
3024
3054
|
}
|
|
@@ -3031,7 +3061,7 @@ var qr = (
|
|
|
3031
3061
|
t -= 1;
|
|
3032
3062
|
else
|
|
3033
3063
|
return {
|
|
3034
|
-
val: this.message.slice(
|
|
3064
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
3035
3065
|
err: null
|
|
3036
3066
|
};
|
|
3037
3067
|
break;
|
|
@@ -3042,70 +3072,70 @@ var qr = (
|
|
|
3042
3072
|
}
|
|
3043
3073
|
}
|
|
3044
3074
|
return {
|
|
3045
|
-
val: this.message.slice(
|
|
3075
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
3046
3076
|
err: null
|
|
3047
3077
|
};
|
|
3048
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3049
|
-
var
|
|
3078
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3079
|
+
var r = [];
|
|
3050
3080
|
try {
|
|
3051
|
-
|
|
3081
|
+
r = Nn(t);
|
|
3052
3082
|
} catch {
|
|
3053
|
-
return this.error(
|
|
3083
|
+
return this.error(g.INVALID_NUMBER_SKELETON, n);
|
|
3054
3084
|
}
|
|
3055
3085
|
return {
|
|
3056
3086
|
val: {
|
|
3057
|
-
type:
|
|
3058
|
-
tokens:
|
|
3059
|
-
location:
|
|
3060
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3087
|
+
type: j.number,
|
|
3088
|
+
tokens: r,
|
|
3089
|
+
location: n,
|
|
3090
|
+
parsedOptions: this.shouldParseSkeletons ? Cn(r) : {}
|
|
3061
3091
|
},
|
|
3062
3092
|
err: null
|
|
3063
3093
|
};
|
|
3064
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3065
|
-
for (var s,
|
|
3066
|
-
if (
|
|
3094
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3095
|
+
for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3096
|
+
if (u.length === 0) {
|
|
3067
3097
|
var m = this.clonePosition();
|
|
3068
|
-
if (
|
|
3069
|
-
var f = this.tryParseDecimalInteger(
|
|
3098
|
+
if (n !== "select" && this.bumpIf("=")) {
|
|
3099
|
+
var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3070
3100
|
if (f.err)
|
|
3071
3101
|
return f;
|
|
3072
|
-
h = p(m, this.clonePosition()),
|
|
3102
|
+
h = p(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
|
|
3073
3103
|
} else
|
|
3074
3104
|
break;
|
|
3075
3105
|
}
|
|
3076
|
-
if (l.has(
|
|
3077
|
-
return this.error(
|
|
3078
|
-
|
|
3106
|
+
if (l.has(u))
|
|
3107
|
+
return this.error(n === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3108
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3079
3109
|
var b = this.clonePosition();
|
|
3080
3110
|
if (!this.bumpIf("{"))
|
|
3081
|
-
return this.error(
|
|
3082
|
-
var y = this.parseMessage(t + 1,
|
|
3111
|
+
return this.error(n === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
|
|
3112
|
+
var y = this.parseMessage(t + 1, n, r);
|
|
3083
3113
|
if (y.err)
|
|
3084
3114
|
return y;
|
|
3085
|
-
var
|
|
3086
|
-
if (
|
|
3087
|
-
return
|
|
3088
|
-
|
|
3089
|
-
|
|
3115
|
+
var x = this.tryParseArgumentClose(b);
|
|
3116
|
+
if (x.err)
|
|
3117
|
+
return x;
|
|
3118
|
+
o.push([
|
|
3119
|
+
u,
|
|
3090
3120
|
{
|
|
3091
3121
|
value: y.val,
|
|
3092
3122
|
location: p(b, this.clonePosition())
|
|
3093
3123
|
}
|
|
3094
|
-
]), l.add(
|
|
3124
|
+
]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3095
3125
|
}
|
|
3096
|
-
return
|
|
3097
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3098
|
-
var
|
|
3099
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3100
|
-
for (var s = !1,
|
|
3101
|
-
var
|
|
3102
|
-
if (
|
|
3103
|
-
s = !0,
|
|
3126
|
+
return o.length === 0 ? this.error(n === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3127
|
+
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3128
|
+
var r = 1, i = this.clonePosition();
|
|
3129
|
+
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3130
|
+
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3131
|
+
var o = this.char();
|
|
3132
|
+
if (o >= 48 && o <= 57)
|
|
3133
|
+
s = !0, a = a * 10 + (o - 48), this.bump();
|
|
3104
3134
|
else
|
|
3105
3135
|
break;
|
|
3106
3136
|
}
|
|
3107
3137
|
var l = p(i, this.clonePosition());
|
|
3108
|
-
return s ? (
|
|
3138
|
+
return s ? (a *= r, zn(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
|
|
3109
3139
|
}, e.prototype.offset = function() {
|
|
3110
3140
|
return this.position.offset;
|
|
3111
3141
|
}, e.prototype.isEOF = function() {
|
|
@@ -3120,17 +3150,17 @@ var qr = (
|
|
|
3120
3150
|
var t = this.position.offset;
|
|
3121
3151
|
if (t >= this.message.length)
|
|
3122
3152
|
throw Error("out of bound");
|
|
3123
|
-
var
|
|
3124
|
-
if (
|
|
3153
|
+
var n = St(this.message, t);
|
|
3154
|
+
if (n === void 0)
|
|
3125
3155
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3126
|
-
return
|
|
3127
|
-
}, e.prototype.error = function(t,
|
|
3156
|
+
return n;
|
|
3157
|
+
}, e.prototype.error = function(t, n) {
|
|
3128
3158
|
return {
|
|
3129
3159
|
val: null,
|
|
3130
3160
|
err: {
|
|
3131
3161
|
kind: t,
|
|
3132
3162
|
message: this.message,
|
|
3133
|
-
location:
|
|
3163
|
+
location: n
|
|
3134
3164
|
}
|
|
3135
3165
|
};
|
|
3136
3166
|
}, e.prototype.bump = function() {
|
|
@@ -3139,296 +3169,296 @@ var qr = (
|
|
|
3139
3169
|
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);
|
|
3140
3170
|
}
|
|
3141
3171
|
}, e.prototype.bumpIf = function(t) {
|
|
3142
|
-
if (
|
|
3143
|
-
for (var
|
|
3172
|
+
if (We(this.message, t, this.offset())) {
|
|
3173
|
+
for (var n = 0; n < t.length; n++)
|
|
3144
3174
|
this.bump();
|
|
3145
3175
|
return !0;
|
|
3146
3176
|
}
|
|
3147
3177
|
return !1;
|
|
3148
3178
|
}, e.prototype.bumpUntil = function(t) {
|
|
3149
|
-
var
|
|
3150
|
-
return
|
|
3179
|
+
var n = this.offset(), r = this.message.indexOf(t, n);
|
|
3180
|
+
return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
|
|
3151
3181
|
}, e.prototype.bumpTo = function(t) {
|
|
3152
3182
|
if (this.offset() > t)
|
|
3153
3183
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3154
3184
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3155
|
-
var
|
|
3156
|
-
if (
|
|
3185
|
+
var n = this.offset();
|
|
3186
|
+
if (n === t)
|
|
3157
3187
|
break;
|
|
3158
|
-
if (
|
|
3188
|
+
if (n > t)
|
|
3159
3189
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3160
3190
|
if (this.bump(), this.isEOF())
|
|
3161
3191
|
break;
|
|
3162
3192
|
}
|
|
3163
3193
|
}, e.prototype.bumpSpace = function() {
|
|
3164
|
-
for (; !this.isEOF() &&
|
|
3194
|
+
for (; !this.isEOF() && At(this.char()); )
|
|
3165
3195
|
this.bump();
|
|
3166
3196
|
}, e.prototype.peek = function() {
|
|
3167
3197
|
if (this.isEOF())
|
|
3168
3198
|
return null;
|
|
3169
|
-
var t = this.char(),
|
|
3170
|
-
return
|
|
3199
|
+
var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
|
|
3200
|
+
return r ?? null;
|
|
3171
3201
|
}, e;
|
|
3172
3202
|
}()
|
|
3173
3203
|
);
|
|
3174
|
-
function
|
|
3204
|
+
function Oe(e) {
|
|
3175
3205
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3176
3206
|
}
|
|
3177
|
-
function
|
|
3178
|
-
return
|
|
3207
|
+
function Jn(e) {
|
|
3208
|
+
return Oe(e) || e === 47;
|
|
3179
3209
|
}
|
|
3180
|
-
function
|
|
3210
|
+
function Yn(e) {
|
|
3181
3211
|
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;
|
|
3182
3212
|
}
|
|
3183
|
-
function
|
|
3213
|
+
function At(e) {
|
|
3184
3214
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3185
3215
|
}
|
|
3186
|
-
function
|
|
3216
|
+
function Kn(e) {
|
|
3187
3217
|
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;
|
|
3188
3218
|
}
|
|
3189
|
-
function
|
|
3219
|
+
function Ie(e) {
|
|
3190
3220
|
e.forEach(function(t) {
|
|
3191
|
-
if (delete t.location,
|
|
3192
|
-
for (var
|
|
3193
|
-
delete t.options[
|
|
3221
|
+
if (delete t.location, pt(t) || yt(t))
|
|
3222
|
+
for (var n in t.options)
|
|
3223
|
+
delete t.options[n].location, Ie(t.options[n].value);
|
|
3194
3224
|
else
|
|
3195
|
-
dt(t) && _t(t.style) || (
|
|
3225
|
+
dt(t) && _t(t.style) || (gt(t) || bt(t)) && Ae(t.style) ? delete t.style.location : Et(t) && Ie(t.children);
|
|
3196
3226
|
});
|
|
3197
3227
|
}
|
|
3198
|
-
function
|
|
3199
|
-
t === void 0 && (t = {}), t =
|
|
3200
|
-
var
|
|
3201
|
-
if (
|
|
3202
|
-
var
|
|
3203
|
-
throw
|
|
3228
|
+
function er(e, t) {
|
|
3229
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3230
|
+
var n = new qn(e, t).parse();
|
|
3231
|
+
if (n.err) {
|
|
3232
|
+
var r = SyntaxError(g[n.err.kind]);
|
|
3233
|
+
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3204
3234
|
}
|
|
3205
|
-
return t?.captureLocation ||
|
|
3235
|
+
return t?.captureLocation || Ie(n.val), n.val;
|
|
3206
3236
|
}
|
|
3207
|
-
var
|
|
3237
|
+
var k;
|
|
3208
3238
|
(function(e) {
|
|
3209
3239
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3210
|
-
})(
|
|
3211
|
-
var
|
|
3240
|
+
})(k || (k = {}));
|
|
3241
|
+
var me = (
|
|
3212
3242
|
/** @class */
|
|
3213
3243
|
function(e) {
|
|
3214
|
-
|
|
3215
|
-
function t(
|
|
3216
|
-
var s = e.call(this,
|
|
3217
|
-
return s.code =
|
|
3244
|
+
ce(t, e);
|
|
3245
|
+
function t(n, r, i) {
|
|
3246
|
+
var s = e.call(this, n) || this;
|
|
3247
|
+
return s.code = r, s.originalMessage = i, s;
|
|
3218
3248
|
}
|
|
3219
3249
|
return t.prototype.toString = function() {
|
|
3220
3250
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3221
3251
|
}, t;
|
|
3222
3252
|
}(Error)
|
|
3223
|
-
),
|
|
3253
|
+
), qe = (
|
|
3224
3254
|
/** @class */
|
|
3225
3255
|
function(e) {
|
|
3226
|
-
|
|
3227
|
-
function t(
|
|
3228
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3256
|
+
ce(t, e);
|
|
3257
|
+
function t(n, r, i, s) {
|
|
3258
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
|
|
3229
3259
|
}
|
|
3230
3260
|
return t;
|
|
3231
|
-
}(
|
|
3232
|
-
),
|
|
3261
|
+
}(me)
|
|
3262
|
+
), tr = (
|
|
3233
3263
|
/** @class */
|
|
3234
3264
|
function(e) {
|
|
3235
|
-
|
|
3236
|
-
function t(
|
|
3237
|
-
return e.call(this, 'Value for "'.concat(
|
|
3265
|
+
ce(t, e);
|
|
3266
|
+
function t(n, r, i) {
|
|
3267
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), k.INVALID_VALUE, i) || this;
|
|
3238
3268
|
}
|
|
3239
3269
|
return t;
|
|
3240
|
-
}(
|
|
3241
|
-
),
|
|
3270
|
+
}(me)
|
|
3271
|
+
), nr = (
|
|
3242
3272
|
/** @class */
|
|
3243
3273
|
function(e) {
|
|
3244
|
-
|
|
3245
|
-
function t(
|
|
3246
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3274
|
+
ce(t, e);
|
|
3275
|
+
function t(n, r) {
|
|
3276
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), k.MISSING_VALUE, r) || this;
|
|
3247
3277
|
}
|
|
3248
3278
|
return t;
|
|
3249
|
-
}(
|
|
3279
|
+
}(me)
|
|
3250
3280
|
), B;
|
|
3251
3281
|
(function(e) {
|
|
3252
3282
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3253
3283
|
})(B || (B = {}));
|
|
3254
|
-
function
|
|
3255
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3256
|
-
var
|
|
3257
|
-
return !
|
|
3284
|
+
function rr(e) {
|
|
3285
|
+
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3286
|
+
var r = t[t.length - 1];
|
|
3287
|
+
return !r || r.type !== B.literal || n.type !== B.literal ? t.push(n) : r.value += n.value, t;
|
|
3258
3288
|
}, []);
|
|
3259
3289
|
}
|
|
3260
|
-
function
|
|
3290
|
+
function ir(e) {
|
|
3261
3291
|
return typeof e == "function";
|
|
3262
3292
|
}
|
|
3263
|
-
function ae(e, t,
|
|
3264
|
-
if (e.length === 1 &&
|
|
3293
|
+
function ae(e, t, n, r, i, s, a) {
|
|
3294
|
+
if (e.length === 1 && ke(e[0]))
|
|
3265
3295
|
return [
|
|
3266
3296
|
{
|
|
3267
3297
|
type: B.literal,
|
|
3268
3298
|
value: e[0].value
|
|
3269
3299
|
}
|
|
3270
3300
|
];
|
|
3271
|
-
for (var
|
|
3272
|
-
var h =
|
|
3273
|
-
if (
|
|
3274
|
-
|
|
3301
|
+
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3302
|
+
var h = u[l];
|
|
3303
|
+
if (ke(h)) {
|
|
3304
|
+
o.push({
|
|
3275
3305
|
type: B.literal,
|
|
3276
3306
|
value: h.value
|
|
3277
3307
|
});
|
|
3278
3308
|
continue;
|
|
3279
3309
|
}
|
|
3280
|
-
if (
|
|
3281
|
-
typeof s == "number" &&
|
|
3310
|
+
if (Bn(h)) {
|
|
3311
|
+
typeof s == "number" && o.push({
|
|
3282
3312
|
type: B.literal,
|
|
3283
|
-
value:
|
|
3313
|
+
value: n.getNumberFormat(t).format(s)
|
|
3284
3314
|
});
|
|
3285
3315
|
continue;
|
|
3286
3316
|
}
|
|
3287
3317
|
var m = h.value;
|
|
3288
3318
|
if (!(i && m in i))
|
|
3289
|
-
throw new
|
|
3319
|
+
throw new nr(m, a);
|
|
3290
3320
|
var f = i[m];
|
|
3291
|
-
if (
|
|
3292
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3321
|
+
if (Sn(h)) {
|
|
3322
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3293
3323
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3294
3324
|
value: f
|
|
3295
3325
|
});
|
|
3296
3326
|
continue;
|
|
3297
3327
|
}
|
|
3298
|
-
if (
|
|
3299
|
-
var b = typeof h.style == "string" ?
|
|
3300
|
-
|
|
3328
|
+
if (gt(h)) {
|
|
3329
|
+
var b = typeof h.style == "string" ? r.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
|
|
3330
|
+
o.push({
|
|
3301
3331
|
type: B.literal,
|
|
3302
|
-
value:
|
|
3332
|
+
value: n.getDateTimeFormat(t, b).format(f)
|
|
3303
3333
|
});
|
|
3304
3334
|
continue;
|
|
3305
3335
|
}
|
|
3306
|
-
if (
|
|
3307
|
-
var b = typeof h.style == "string" ?
|
|
3308
|
-
|
|
3336
|
+
if (bt(h)) {
|
|
3337
|
+
var b = typeof h.style == "string" ? r.time[h.style] : Ae(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3338
|
+
o.push({
|
|
3309
3339
|
type: B.literal,
|
|
3310
|
-
value:
|
|
3340
|
+
value: n.getDateTimeFormat(t, b).format(f)
|
|
3311
3341
|
});
|
|
3312
3342
|
continue;
|
|
3313
3343
|
}
|
|
3314
3344
|
if (dt(h)) {
|
|
3315
|
-
var b = typeof h.style == "string" ?
|
|
3316
|
-
b && b.scale && (f = f * (b.scale || 1)),
|
|
3345
|
+
var b = typeof h.style == "string" ? r.number[h.style] : _t(h.style) ? h.style.parsedOptions : void 0;
|
|
3346
|
+
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3317
3347
|
type: B.literal,
|
|
3318
|
-
value:
|
|
3348
|
+
value: n.getNumberFormat(t, b).format(f)
|
|
3319
3349
|
});
|
|
3320
3350
|
continue;
|
|
3321
3351
|
}
|
|
3322
|
-
if (
|
|
3323
|
-
var y = h.children,
|
|
3324
|
-
if (!
|
|
3325
|
-
throw new
|
|
3326
|
-
var w = ae(y, t,
|
|
3327
|
-
return
|
|
3352
|
+
if (Et(h)) {
|
|
3353
|
+
var y = h.children, x = h.value, T = i[x];
|
|
3354
|
+
if (!ir(T))
|
|
3355
|
+
throw new tr(x, "function", a);
|
|
3356
|
+
var w = ae(y, t, n, r, i, s), A = T(w.map(function(v) {
|
|
3357
|
+
return v.value;
|
|
3328
3358
|
}));
|
|
3329
|
-
Array.isArray(A) || (A = [A]),
|
|
3359
|
+
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(v) {
|
|
3330
3360
|
return {
|
|
3331
|
-
type: typeof
|
|
3332
|
-
value:
|
|
3361
|
+
type: typeof v == "string" ? B.literal : B.object,
|
|
3362
|
+
value: v
|
|
3333
3363
|
};
|
|
3334
3364
|
}));
|
|
3335
3365
|
}
|
|
3336
|
-
if (
|
|
3366
|
+
if (pt(h)) {
|
|
3337
3367
|
var S = h.options[f] || h.options.other;
|
|
3338
3368
|
if (!S)
|
|
3339
|
-
throw new
|
|
3340
|
-
|
|
3369
|
+
throw new qe(h.value, f, Object.keys(h.options), a);
|
|
3370
|
+
o.push.apply(o, ae(S.value, t, n, r, i));
|
|
3341
3371
|
continue;
|
|
3342
3372
|
}
|
|
3343
|
-
if (
|
|
3373
|
+
if (yt(h)) {
|
|
3344
3374
|
var S = h.options["=".concat(f)];
|
|
3345
3375
|
if (!S) {
|
|
3346
3376
|
if (!Intl.PluralRules)
|
|
3347
|
-
throw new
|
|
3377
|
+
throw new me(`Intl.PluralRules is not available in this environment.
|
|
3348
3378
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3349
|
-
`,
|
|
3350
|
-
var P =
|
|
3379
|
+
`, k.MISSING_INTL_API, a);
|
|
3380
|
+
var P = n.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3351
3381
|
S = h.options[P] || h.options.other;
|
|
3352
3382
|
}
|
|
3353
3383
|
if (!S)
|
|
3354
|
-
throw new
|
|
3355
|
-
|
|
3384
|
+
throw new qe(h.value, f, Object.keys(h.options), a);
|
|
3385
|
+
o.push.apply(o, ae(S.value, t, n, r, i, f - (h.offset || 0)));
|
|
3356
3386
|
continue;
|
|
3357
3387
|
}
|
|
3358
3388
|
}
|
|
3359
|
-
return
|
|
3389
|
+
return rr(o);
|
|
3360
3390
|
}
|
|
3361
|
-
function
|
|
3362
|
-
return t ?
|
|
3363
|
-
return r
|
|
3391
|
+
function sr(e, t) {
|
|
3392
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3393
|
+
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3364
3394
|
}, {})) : e;
|
|
3365
3395
|
}
|
|
3366
|
-
function
|
|
3367
|
-
return t ? Object.keys(e).reduce(function(
|
|
3368
|
-
return r
|
|
3369
|
-
},
|
|
3396
|
+
function ar(e, t) {
|
|
3397
|
+
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3398
|
+
return n[r] = sr(e[r], t[r]), n;
|
|
3399
|
+
}, E({}, e)) : e;
|
|
3370
3400
|
}
|
|
3371
|
-
function
|
|
3401
|
+
function xe(e) {
|
|
3372
3402
|
return {
|
|
3373
3403
|
create: function() {
|
|
3374
3404
|
return {
|
|
3375
3405
|
get: function(t) {
|
|
3376
3406
|
return e[t];
|
|
3377
3407
|
},
|
|
3378
|
-
set: function(t,
|
|
3379
|
-
e[t] =
|
|
3408
|
+
set: function(t, n) {
|
|
3409
|
+
e[t] = n;
|
|
3380
3410
|
}
|
|
3381
3411
|
};
|
|
3382
3412
|
}
|
|
3383
3413
|
};
|
|
3384
3414
|
}
|
|
3385
|
-
function
|
|
3415
|
+
function or(e) {
|
|
3386
3416
|
return e === void 0 && (e = {
|
|
3387
3417
|
number: {},
|
|
3388
3418
|
dateTime: {},
|
|
3389
3419
|
pluralRules: {}
|
|
3390
3420
|
}), {
|
|
3391
|
-
getNumberFormat:
|
|
3392
|
-
for (var t,
|
|
3393
|
-
r
|
|
3394
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3421
|
+
getNumberFormat: ye(function() {
|
|
3422
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3423
|
+
n[r] = arguments[r];
|
|
3424
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], n, !1)))();
|
|
3395
3425
|
}, {
|
|
3396
|
-
cache:
|
|
3397
|
-
strategy:
|
|
3426
|
+
cache: xe(e.number),
|
|
3427
|
+
strategy: Ee.variadic
|
|
3398
3428
|
}),
|
|
3399
|
-
getDateTimeFormat:
|
|
3400
|
-
for (var t,
|
|
3401
|
-
r
|
|
3402
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3429
|
+
getDateTimeFormat: ye(function() {
|
|
3430
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3431
|
+
n[r] = arguments[r];
|
|
3432
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], n, !1)))();
|
|
3403
3433
|
}, {
|
|
3404
|
-
cache:
|
|
3405
|
-
strategy:
|
|
3434
|
+
cache: xe(e.dateTime),
|
|
3435
|
+
strategy: Ee.variadic
|
|
3406
3436
|
}),
|
|
3407
|
-
getPluralRules:
|
|
3408
|
-
for (var t,
|
|
3409
|
-
r
|
|
3410
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3437
|
+
getPluralRules: ye(function() {
|
|
3438
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3439
|
+
n[r] = arguments[r];
|
|
3440
|
+
return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], n, !1)))();
|
|
3411
3441
|
}, {
|
|
3412
|
-
cache:
|
|
3413
|
-
strategy:
|
|
3442
|
+
cache: xe(e.pluralRules),
|
|
3443
|
+
strategy: Ee.variadic
|
|
3414
3444
|
})
|
|
3415
3445
|
};
|
|
3416
3446
|
}
|
|
3417
|
-
var
|
|
3447
|
+
var ur = (
|
|
3418
3448
|
/** @class */
|
|
3419
3449
|
function() {
|
|
3420
|
-
function e(t,
|
|
3421
|
-
|
|
3450
|
+
function e(t, n, r, i) {
|
|
3451
|
+
n === void 0 && (n = e.defaultLocale);
|
|
3422
3452
|
var s = this;
|
|
3423
3453
|
if (this.formatterCache = {
|
|
3424
3454
|
number: {},
|
|
3425
3455
|
dateTime: {},
|
|
3426
3456
|
pluralRules: {}
|
|
3427
3457
|
}, this.format = function(l) {
|
|
3428
|
-
var
|
|
3429
|
-
if (
|
|
3430
|
-
return
|
|
3431
|
-
var h =
|
|
3458
|
+
var u = s.formatToParts(l);
|
|
3459
|
+
if (u.length === 1)
|
|
3460
|
+
return u[0].value;
|
|
3461
|
+
var h = u.reduce(function(m, f) {
|
|
3432
3462
|
return !m.length || f.type !== B.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
|
3433
3463
|
}, []);
|
|
3434
3464
|
return h.length <= 1 ? h[0] || "" : h;
|
|
@@ -3441,18 +3471,18 @@ var hn = (
|
|
|
3441
3471
|
};
|
|
3442
3472
|
}, this.getAst = function() {
|
|
3443
3473
|
return s.ast;
|
|
3444
|
-
}, this.locales =
|
|
3474
|
+
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3445
3475
|
if (this.message = t, !e.__parse)
|
|
3446
3476
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3447
|
-
var
|
|
3448
|
-
|
|
3449
|
-
var
|
|
3450
|
-
this.ast = e.__parse(t,
|
|
3477
|
+
var a = i || {};
|
|
3478
|
+
a.formatters;
|
|
3479
|
+
var o = pn(a, ["formatters"]);
|
|
3480
|
+
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3451
3481
|
} else
|
|
3452
3482
|
this.ast = t;
|
|
3453
3483
|
if (!Array.isArray(this.ast))
|
|
3454
3484
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3455
|
-
this.formats =
|
|
3485
|
+
this.formats = ar(e.formats, r), this.formatters = i && i.formatters || or(this.formatterCache);
|
|
3456
3486
|
}
|
|
3457
3487
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3458
3488
|
get: function() {
|
|
@@ -3462,10 +3492,10 @@ var hn = (
|
|
|
3462
3492
|
configurable: !0
|
|
3463
3493
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3464
3494
|
if (!(typeof Intl.Locale > "u")) {
|
|
3465
|
-
var
|
|
3466
|
-
return
|
|
3495
|
+
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3496
|
+
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3467
3497
|
}
|
|
3468
|
-
}, e.__parse =
|
|
3498
|
+
}, e.__parse = er, e.formats = {
|
|
3469
3499
|
number: {
|
|
3470
3500
|
integer: {
|
|
3471
3501
|
maximumFractionDigits: 0
|
|
@@ -3526,113 +3556,113 @@ var hn = (
|
|
|
3526
3556
|
}, e;
|
|
3527
3557
|
}()
|
|
3528
3558
|
);
|
|
3529
|
-
function
|
|
3559
|
+
function hr(e, t) {
|
|
3530
3560
|
if (t == null)
|
|
3531
3561
|
return;
|
|
3532
3562
|
if (t in e)
|
|
3533
3563
|
return e[t];
|
|
3534
|
-
const
|
|
3535
|
-
let
|
|
3536
|
-
for (let i = 0; i <
|
|
3537
|
-
if (typeof
|
|
3564
|
+
const n = t.split(".");
|
|
3565
|
+
let r = e;
|
|
3566
|
+
for (let i = 0; i < n.length; i++)
|
|
3567
|
+
if (typeof r == "object") {
|
|
3538
3568
|
if (i > 0) {
|
|
3539
|
-
const s =
|
|
3540
|
-
if (s in
|
|
3541
|
-
|
|
3569
|
+
const s = n.slice(i, n.length).join(".");
|
|
3570
|
+
if (s in r) {
|
|
3571
|
+
r = r[s];
|
|
3542
3572
|
break;
|
|
3543
3573
|
}
|
|
3544
3574
|
}
|
|
3545
|
-
|
|
3575
|
+
r = r[n[i]];
|
|
3546
3576
|
} else
|
|
3547
|
-
|
|
3548
|
-
return
|
|
3577
|
+
r = void 0;
|
|
3578
|
+
return r;
|
|
3549
3579
|
}
|
|
3550
|
-
const
|
|
3580
|
+
const C = {}, lr = (e, t, n) => n && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = n), n), wt = (e, t) => {
|
|
3551
3581
|
if (t == null)
|
|
3552
3582
|
return;
|
|
3553
|
-
if (t in
|
|
3554
|
-
return
|
|
3555
|
-
const
|
|
3556
|
-
for (let
|
|
3557
|
-
const i = r
|
|
3583
|
+
if (t in C && e in C[t])
|
|
3584
|
+
return C[t][e];
|
|
3585
|
+
const n = de(t);
|
|
3586
|
+
for (let r = 0; r < n.length; r++) {
|
|
3587
|
+
const i = n[r], s = cr(i, e);
|
|
3558
3588
|
if (s)
|
|
3559
|
-
return
|
|
3589
|
+
return lr(e, t, s);
|
|
3560
3590
|
}
|
|
3561
3591
|
};
|
|
3562
|
-
let
|
|
3563
|
-
const
|
|
3564
|
-
function
|
|
3565
|
-
return
|
|
3592
|
+
let Ue;
|
|
3593
|
+
const W = fe({});
|
|
3594
|
+
function fr(e) {
|
|
3595
|
+
return Ue[e] || null;
|
|
3566
3596
|
}
|
|
3567
|
-
function
|
|
3568
|
-
return e in
|
|
3597
|
+
function Pt(e) {
|
|
3598
|
+
return e in Ue;
|
|
3569
3599
|
}
|
|
3570
|
-
function
|
|
3571
|
-
if (!
|
|
3600
|
+
function cr(e, t) {
|
|
3601
|
+
if (!Pt(e))
|
|
3572
3602
|
return null;
|
|
3573
|
-
const
|
|
3574
|
-
return
|
|
3603
|
+
const n = fr(e);
|
|
3604
|
+
return hr(n, t);
|
|
3575
3605
|
}
|
|
3576
|
-
function
|
|
3606
|
+
function mr(e) {
|
|
3577
3607
|
if (e == null)
|
|
3578
3608
|
return;
|
|
3579
|
-
const t =
|
|
3580
|
-
for (let
|
|
3581
|
-
const
|
|
3582
|
-
if (
|
|
3583
|
-
return
|
|
3609
|
+
const t = de(e);
|
|
3610
|
+
for (let n = 0; n < t.length; n++) {
|
|
3611
|
+
const r = t[n];
|
|
3612
|
+
if (Pt(r))
|
|
3613
|
+
return r;
|
|
3584
3614
|
}
|
|
3585
3615
|
}
|
|
3586
|
-
function
|
|
3587
|
-
delete
|
|
3616
|
+
function dr(e, ...t) {
|
|
3617
|
+
delete C[e], W.update((n) => (n[e] = bn.all([n[e] || {}, ...t]), n));
|
|
3588
3618
|
}
|
|
3589
3619
|
z(
|
|
3590
|
-
[
|
|
3620
|
+
[W],
|
|
3591
3621
|
([e]) => Object.keys(e)
|
|
3592
3622
|
);
|
|
3593
|
-
|
|
3594
|
-
const
|
|
3595
|
-
function
|
|
3596
|
-
|
|
3623
|
+
W.subscribe((e) => Ue = e);
|
|
3624
|
+
const oe = {};
|
|
3625
|
+
function gr(e, t) {
|
|
3626
|
+
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3597
3627
|
}
|
|
3598
|
-
function
|
|
3599
|
-
return
|
|
3628
|
+
function Nt(e) {
|
|
3629
|
+
return oe[e];
|
|
3600
3630
|
}
|
|
3601
|
-
function
|
|
3602
|
-
return
|
|
3603
|
-
const
|
|
3604
|
-
return [t,
|
|
3631
|
+
function br(e) {
|
|
3632
|
+
return de(e).map((t) => {
|
|
3633
|
+
const n = Nt(t);
|
|
3634
|
+
return [t, n ? [...n] : []];
|
|
3605
3635
|
}).filter(([, t]) => t.length > 0);
|
|
3606
3636
|
}
|
|
3607
|
-
function
|
|
3608
|
-
return e == null ? !1 :
|
|
3637
|
+
function Le(e) {
|
|
3638
|
+
return e == null ? !1 : de(e).some(
|
|
3609
3639
|
(t) => {
|
|
3610
|
-
var
|
|
3611
|
-
return (
|
|
3640
|
+
var n;
|
|
3641
|
+
return (n = Nt(t)) == null ? void 0 : n.size;
|
|
3612
3642
|
}
|
|
3613
3643
|
);
|
|
3614
3644
|
}
|
|
3615
|
-
function
|
|
3645
|
+
function pr(e, t) {
|
|
3616
3646
|
return Promise.all(
|
|
3617
|
-
t.map((
|
|
3618
|
-
).then((
|
|
3619
|
-
}
|
|
3620
|
-
const
|
|
3621
|
-
function
|
|
3622
|
-
if (!
|
|
3623
|
-
return e in
|
|
3624
|
-
const t =
|
|
3625
|
-
return
|
|
3647
|
+
t.map((r) => (gr(e, r), r().then((i) => i.default || i)))
|
|
3648
|
+
).then((r) => dr(e, ...r));
|
|
3649
|
+
}
|
|
3650
|
+
const Q = {};
|
|
3651
|
+
function Ot(e) {
|
|
3652
|
+
if (!Le(e))
|
|
3653
|
+
return e in Q ? Q[e] : Promise.resolve();
|
|
3654
|
+
const t = br(e);
|
|
3655
|
+
return Q[e] = Promise.all(
|
|
3626
3656
|
t.map(
|
|
3627
|
-
([
|
|
3657
|
+
([n, r]) => pr(n, r)
|
|
3628
3658
|
)
|
|
3629
3659
|
).then(() => {
|
|
3630
|
-
if (
|
|
3631
|
-
return
|
|
3632
|
-
delete
|
|
3633
|
-
}),
|
|
3660
|
+
if (Le(e))
|
|
3661
|
+
return Ot(e);
|
|
3662
|
+
delete Q[e];
|
|
3663
|
+
}), Q[e];
|
|
3634
3664
|
}
|
|
3635
|
-
const
|
|
3665
|
+
const yr = {
|
|
3636
3666
|
number: {
|
|
3637
3667
|
scientific: { notation: "scientific" },
|
|
3638
3668
|
engineering: { notation: "engineering" },
|
|
@@ -3661,159 +3691,159 @@ const En = {
|
|
|
3661
3691
|
timeZoneName: "short"
|
|
3662
3692
|
}
|
|
3663
3693
|
}
|
|
3664
|
-
},
|
|
3694
|
+
}, Er = {
|
|
3665
3695
|
fallbackLocale: null,
|
|
3666
3696
|
loadingDelay: 200,
|
|
3667
|
-
formats:
|
|
3697
|
+
formats: yr,
|
|
3668
3698
|
warnOnMissingMessages: !0,
|
|
3669
3699
|
handleMissingMessage: void 0,
|
|
3670
3700
|
ignoreTag: !0
|
|
3671
|
-
},
|
|
3672
|
-
function
|
|
3673
|
-
return
|
|
3674
|
-
}
|
|
3675
|
-
const
|
|
3676
|
-
var
|
|
3677
|
-
for (var
|
|
3678
|
-
|
|
3679
|
-
if (
|
|
3680
|
-
for (var
|
|
3681
|
-
|
|
3701
|
+
}, _r = Er;
|
|
3702
|
+
function V() {
|
|
3703
|
+
return _r;
|
|
3704
|
+
}
|
|
3705
|
+
const ve = fe(!1);
|
|
3706
|
+
var xr = Object.defineProperty, vr = Object.defineProperties, Hr = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ye = (e, t, n) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Br = (e, t) => {
|
|
3707
|
+
for (var n in t)
|
|
3708
|
+
Tr.call(t, n) && Ye(e, n, t[n]);
|
|
3709
|
+
if (Je)
|
|
3710
|
+
for (var n of Je(t))
|
|
3711
|
+
Sr.call(t, n) && Ye(e, n, t[n]);
|
|
3682
3712
|
return e;
|
|
3683
|
-
},
|
|
3684
|
-
let
|
|
3685
|
-
const
|
|
3686
|
-
function
|
|
3687
|
-
return e.split("-").map((t,
|
|
3713
|
+
}, Ar = (e, t) => vr(e, Hr(t));
|
|
3714
|
+
let Ce;
|
|
3715
|
+
const ue = fe(null);
|
|
3716
|
+
function Ke(e) {
|
|
3717
|
+
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3688
3718
|
}
|
|
3689
|
-
function
|
|
3690
|
-
const
|
|
3691
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
3719
|
+
function de(e, t = V().fallbackLocale) {
|
|
3720
|
+
const n = Ke(e);
|
|
3721
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...Ke(t)])] : n;
|
|
3692
3722
|
}
|
|
3693
|
-
function
|
|
3694
|
-
return
|
|
3723
|
+
function R() {
|
|
3724
|
+
return Ce ?? void 0;
|
|
3695
3725
|
}
|
|
3696
|
-
|
|
3697
|
-
|
|
3726
|
+
ue.subscribe((e) => {
|
|
3727
|
+
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3698
3728
|
});
|
|
3699
|
-
const
|
|
3700
|
-
if (e &&
|
|
3701
|
-
const { loadingDelay: t } =
|
|
3702
|
-
let
|
|
3703
|
-
return typeof window < "u" &&
|
|
3704
|
-
() =>
|
|
3729
|
+
const wr = (e) => {
|
|
3730
|
+
if (e && mr(e) && Le(e)) {
|
|
3731
|
+
const { loadingDelay: t } = V();
|
|
3732
|
+
let n;
|
|
3733
|
+
return typeof window < "u" && R() != null && t ? n = window.setTimeout(
|
|
3734
|
+
() => ve.set(!0),
|
|
3705
3735
|
t
|
|
3706
|
-
) :
|
|
3707
|
-
|
|
3736
|
+
) : ve.set(!0), Ot(e).then(() => {
|
|
3737
|
+
ue.set(e);
|
|
3708
3738
|
}).finally(() => {
|
|
3709
|
-
clearTimeout(
|
|
3739
|
+
clearTimeout(n), ve.set(!1);
|
|
3710
3740
|
});
|
|
3711
3741
|
}
|
|
3712
|
-
return
|
|
3713
|
-
},
|
|
3714
|
-
set:
|
|
3715
|
-
}),
|
|
3742
|
+
return ue.set(e);
|
|
3743
|
+
}, M = Ar(Br({}, ue), {
|
|
3744
|
+
set: wr
|
|
3745
|
+
}), ge = (e) => {
|
|
3716
3746
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3717
|
-
return (
|
|
3718
|
-
const i = JSON.stringify(
|
|
3719
|
-
return i in t ? t[i] : t[i] = e(
|
|
3747
|
+
return (r) => {
|
|
3748
|
+
const i = JSON.stringify(r);
|
|
3749
|
+
return i in t ? t[i] : t[i] = e(r);
|
|
3720
3750
|
};
|
|
3721
3751
|
};
|
|
3722
|
-
var
|
|
3723
|
-
for (var
|
|
3724
|
-
|
|
3725
|
-
if (
|
|
3726
|
-
for (var
|
|
3727
|
-
|
|
3752
|
+
var Pr = Object.defineProperty, he = Object.getOwnPropertySymbols, It = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, et = (e, t, n) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, De = (e, t) => {
|
|
3753
|
+
for (var n in t || (t = {}))
|
|
3754
|
+
It.call(t, n) && et(e, n, t[n]);
|
|
3755
|
+
if (he)
|
|
3756
|
+
for (var n of he(t))
|
|
3757
|
+
Lt.call(t, n) && et(e, n, t[n]);
|
|
3728
3758
|
return e;
|
|
3729
|
-
},
|
|
3730
|
-
var
|
|
3731
|
-
for (var
|
|
3732
|
-
|
|
3733
|
-
if (e != null &&
|
|
3734
|
-
for (var
|
|
3735
|
-
t.indexOf(
|
|
3736
|
-
return
|
|
3759
|
+
}, Z = (e, t) => {
|
|
3760
|
+
var n = {};
|
|
3761
|
+
for (var r in e)
|
|
3762
|
+
It.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3763
|
+
if (e != null && he)
|
|
3764
|
+
for (var r of he(e))
|
|
3765
|
+
t.indexOf(r) < 0 && Lt.call(e, r) && (n[r] = e[r]);
|
|
3766
|
+
return n;
|
|
3737
3767
|
};
|
|
3738
|
-
const
|
|
3739
|
-
const { formats:
|
|
3740
|
-
if (e in
|
|
3741
|
-
return
|
|
3768
|
+
const K = (e, t) => {
|
|
3769
|
+
const { formats: n } = V();
|
|
3770
|
+
if (e in n && t in n[e])
|
|
3771
|
+
return n[e][t];
|
|
3742
3772
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3743
|
-
},
|
|
3773
|
+
}, Nr = ge(
|
|
3744
3774
|
(e) => {
|
|
3745
|
-
var t = e, { locale:
|
|
3746
|
-
if (
|
|
3775
|
+
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3776
|
+
if (n == null)
|
|
3747
3777
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3748
|
-
return
|
|
3778
|
+
return r && (i = K("number", r)), new Intl.NumberFormat(n, i);
|
|
3749
3779
|
}
|
|
3750
|
-
),
|
|
3780
|
+
), Or = ge(
|
|
3751
3781
|
(e) => {
|
|
3752
|
-
var t = e, { locale:
|
|
3753
|
-
if (
|
|
3782
|
+
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3783
|
+
if (n == null)
|
|
3754
3784
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3755
|
-
return
|
|
3785
|
+
return r ? i = K("date", r) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3756
3786
|
}
|
|
3757
|
-
),
|
|
3787
|
+
), Ir = ge(
|
|
3758
3788
|
(e) => {
|
|
3759
|
-
var t = e, { locale:
|
|
3760
|
-
if (
|
|
3789
|
+
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3790
|
+
if (n == null)
|
|
3761
3791
|
throw new Error(
|
|
3762
3792
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3763
3793
|
);
|
|
3764
|
-
return
|
|
3794
|
+
return r ? i = K("time", r) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3765
3795
|
}
|
|
3766
|
-
),
|
|
3796
|
+
), Lr = (e = {}) => {
|
|
3767
3797
|
var t = e, {
|
|
3768
|
-
locale:
|
|
3769
|
-
} = t,
|
|
3798
|
+
locale: n = R()
|
|
3799
|
+
} = t, r = Z(t, [
|
|
3770
3800
|
"locale"
|
|
3771
3801
|
]);
|
|
3772
|
-
return
|
|
3773
|
-
},
|
|
3802
|
+
return Nr(De({ locale: n }, r));
|
|
3803
|
+
}, Cr = (e = {}) => {
|
|
3774
3804
|
var t = e, {
|
|
3775
|
-
locale:
|
|
3776
|
-
} = t,
|
|
3805
|
+
locale: n = R()
|
|
3806
|
+
} = t, r = Z(t, [
|
|
3777
3807
|
"locale"
|
|
3778
3808
|
]);
|
|
3779
|
-
return
|
|
3780
|
-
},
|
|
3809
|
+
return Or(De({ locale: n }, r));
|
|
3810
|
+
}, Mr = (e = {}) => {
|
|
3781
3811
|
var t = e, {
|
|
3782
|
-
locale:
|
|
3783
|
-
} = t,
|
|
3812
|
+
locale: n = R()
|
|
3813
|
+
} = t, r = Z(t, [
|
|
3784
3814
|
"locale"
|
|
3785
3815
|
]);
|
|
3786
|
-
return
|
|
3787
|
-
},
|
|
3816
|
+
return Ir(De({ locale: n }, r));
|
|
3817
|
+
}, Rr = ge(
|
|
3788
3818
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3789
|
-
(e, t =
|
|
3790
|
-
ignoreTag:
|
|
3819
|
+
(e, t = R()) => new ur(e, t, V().formats, {
|
|
3820
|
+
ignoreTag: V().ignoreTag
|
|
3791
3821
|
})
|
|
3792
|
-
),
|
|
3793
|
-
var
|
|
3794
|
-
let
|
|
3795
|
-
typeof e == "object" && (
|
|
3822
|
+
), $r = (e, t = {}) => {
|
|
3823
|
+
var n, r, i, s;
|
|
3824
|
+
let a = t;
|
|
3825
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
3796
3826
|
const {
|
|
3797
|
-
values:
|
|
3798
|
-
locale: l =
|
|
3799
|
-
default:
|
|
3800
|
-
} =
|
|
3827
|
+
values: o,
|
|
3828
|
+
locale: l = R(),
|
|
3829
|
+
default: u
|
|
3830
|
+
} = a;
|
|
3801
3831
|
if (l == null)
|
|
3802
3832
|
throw new Error(
|
|
3803
3833
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3804
3834
|
);
|
|
3805
|
-
let h =
|
|
3835
|
+
let h = wt(e, l);
|
|
3806
3836
|
if (!h)
|
|
3807
|
-
h = (s = (i = (
|
|
3837
|
+
h = (s = (i = (r = (n = V()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3808
3838
|
else if (typeof h != "string")
|
|
3809
3839
|
return console.warn(
|
|
3810
3840
|
`[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.`
|
|
3811
3841
|
), h;
|
|
3812
|
-
if (!
|
|
3842
|
+
if (!o)
|
|
3813
3843
|
return h;
|
|
3814
3844
|
let m = h;
|
|
3815
3845
|
try {
|
|
3816
|
-
m =
|
|
3846
|
+
m = Rr(h, l).format(o);
|
|
3817
3847
|
} catch (f) {
|
|
3818
3848
|
f instanceof Error && console.warn(
|
|
3819
3849
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3821,343 +3851,343 @@ const ee = (e, t) => {
|
|
|
3821
3851
|
);
|
|
3822
3852
|
}
|
|
3823
3853
|
return m;
|
|
3824
|
-
},
|
|
3825
|
-
z([
|
|
3826
|
-
z([
|
|
3827
|
-
z([
|
|
3828
|
-
z([
|
|
3829
|
-
function
|
|
3830
|
-
|
|
3831
|
-
|
|
3854
|
+
}, Ur = (e, t) => Mr(t).format(e), Dr = (e, t) => Cr(t).format(e), Gr = (e, t) => Lr(t).format(e), Fr = (e, t = R()) => wt(e, t), mi = z([M, W], () => $r);
|
|
3855
|
+
z([M], () => Ur);
|
|
3856
|
+
z([M], () => Dr);
|
|
3857
|
+
z([M], () => Gr);
|
|
3858
|
+
z([M, W], () => Fr);
|
|
3859
|
+
function jr({ withLocale: e, translations: t }) {
|
|
3860
|
+
M.subscribe((n) => {
|
|
3861
|
+
n == null && (W.set(t), M.set(e));
|
|
3832
3862
|
});
|
|
3833
3863
|
}
|
|
3834
|
-
function
|
|
3864
|
+
function kr(e, t) {
|
|
3835
3865
|
if (e) {
|
|
3836
|
-
const
|
|
3837
|
-
|
|
3866
|
+
const n = document.createElement("style");
|
|
3867
|
+
n.innerHTML = t, e.appendChild(n);
|
|
3838
3868
|
}
|
|
3839
3869
|
}
|
|
3840
|
-
function
|
|
3841
|
-
const
|
|
3842
|
-
fetch(
|
|
3870
|
+
function Vr(e, t) {
|
|
3871
|
+
const n = new URL(t);
|
|
3872
|
+
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
3843
3873
|
const i = document.createElement("style");
|
|
3844
|
-
i.innerHTML =
|
|
3845
|
-
}).catch((
|
|
3846
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
3874
|
+
i.innerHTML = r, e && e.appendChild(i);
|
|
3875
|
+
}).catch((r) => {
|
|
3876
|
+
console.error("There was an error while trying to load client styling from URL", r);
|
|
3847
3877
|
});
|
|
3848
3878
|
}
|
|
3849
|
-
function
|
|
3879
|
+
function Xr(e, t, n) {
|
|
3850
3880
|
if (window.emMessageBus) {
|
|
3851
|
-
const
|
|
3881
|
+
const r = document.createElement("style");
|
|
3852
3882
|
window.emMessageBus.subscribe(t, (i) => {
|
|
3853
|
-
|
|
3883
|
+
r.innerHTML = i, e && e.appendChild(r);
|
|
3854
3884
|
});
|
|
3855
3885
|
}
|
|
3856
3886
|
}
|
|
3857
3887
|
if (typeof window < "u") {
|
|
3858
3888
|
let e = function(t) {
|
|
3859
|
-
return function(...
|
|
3889
|
+
return function(...n) {
|
|
3860
3890
|
try {
|
|
3861
|
-
return t.apply(this,
|
|
3862
|
-
} catch (
|
|
3863
|
-
if (
|
|
3891
|
+
return t.apply(this, n);
|
|
3892
|
+
} catch (r) {
|
|
3893
|
+
if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
3864
3894
|
return !1;
|
|
3865
|
-
throw
|
|
3895
|
+
throw r;
|
|
3866
3896
|
}
|
|
3867
3897
|
};
|
|
3868
3898
|
};
|
|
3869
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3899
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-6ShtPDo4.js").then(({ default: t }) => {
|
|
3870
3900
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3871
3901
|
});
|
|
3872
3902
|
}
|
|
3873
|
-
function
|
|
3874
|
-
|
|
3903
|
+
function zr(e) {
|
|
3904
|
+
Rt(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3875
3905
|
}
|
|
3876
|
-
function
|
|
3906
|
+
function tt(e) {
|
|
3877
3907
|
let t;
|
|
3878
3908
|
return {
|
|
3879
3909
|
c() {
|
|
3880
|
-
t =
|
|
3910
|
+
t = te("casino-games-category-section"), d(
|
|
3881
3911
|
t,
|
|
3882
3912
|
"session",
|
|
3883
3913
|
/*session*/
|
|
3884
3914
|
e[4]
|
|
3885
|
-
),
|
|
3915
|
+
), d(
|
|
3886
3916
|
t,
|
|
3887
3917
|
"userid",
|
|
3888
3918
|
/*userid*/
|
|
3889
3919
|
e[5]
|
|
3890
|
-
),
|
|
3920
|
+
), d(
|
|
3891
3921
|
t,
|
|
3892
3922
|
"endpoint",
|
|
3893
3923
|
/*endpoint*/
|
|
3894
3924
|
e[0]
|
|
3895
|
-
),
|
|
3925
|
+
), d(
|
|
3896
3926
|
t,
|
|
3897
3927
|
"datasource",
|
|
3898
3928
|
/*datasource*/
|
|
3899
3929
|
e[1]
|
|
3900
|
-
),
|
|
3930
|
+
), d(
|
|
3901
3931
|
t,
|
|
3902
3932
|
"lang",
|
|
3903
3933
|
/*lang*/
|
|
3904
3934
|
e[3]
|
|
3905
|
-
),
|
|
3935
|
+
), d(
|
|
3906
3936
|
t,
|
|
3907
3937
|
"currency",
|
|
3908
3938
|
/*currency*/
|
|
3909
3939
|
e[2]
|
|
3910
|
-
),
|
|
3940
|
+
), d(
|
|
3911
3941
|
t,
|
|
3912
3942
|
"favorites",
|
|
3913
3943
|
/*favorites*/
|
|
3914
3944
|
e[14]
|
|
3915
|
-
),
|
|
3945
|
+
), d(
|
|
3916
3946
|
t,
|
|
3917
3947
|
"fetchviaevent",
|
|
3918
3948
|
/*fetchviaevent*/
|
|
3919
3949
|
e[16]
|
|
3920
|
-
),
|
|
3950
|
+
), d(
|
|
3921
3951
|
t,
|
|
3922
3952
|
"mbsource",
|
|
3923
3953
|
/*mbsource*/
|
|
3924
3954
|
e[17]
|
|
3925
|
-
),
|
|
3955
|
+
), d(t, "categoryid", "FAVORITES"), d(t, "class", "CategoryContainer"), d(
|
|
3926
3956
|
t,
|
|
3927
3957
|
"showgamename",
|
|
3928
3958
|
/*showgamename*/
|
|
3929
3959
|
e[11]
|
|
3930
|
-
),
|
|
3960
|
+
), d(
|
|
3931
3961
|
t,
|
|
3932
3962
|
"clientstyling",
|
|
3933
3963
|
/*clientstyling*/
|
|
3934
3964
|
e[6]
|
|
3935
|
-
),
|
|
3965
|
+
), d(
|
|
3936
3966
|
t,
|
|
3937
3967
|
"clientstylingurl",
|
|
3938
3968
|
/*clientstylingurl*/
|
|
3939
3969
|
e[7]
|
|
3940
|
-
),
|
|
3970
|
+
), d(
|
|
3941
3971
|
t,
|
|
3942
3972
|
"livecasino",
|
|
3943
3973
|
/*livecasino*/
|
|
3944
3974
|
e[8]
|
|
3945
|
-
),
|
|
3975
|
+
), d(
|
|
3946
3976
|
t,
|
|
3947
3977
|
"visiblegames",
|
|
3948
3978
|
/*visiblegames*/
|
|
3949
3979
|
e[13]
|
|
3950
|
-
),
|
|
3980
|
+
), d(
|
|
3951
3981
|
t,
|
|
3952
3982
|
"gamepagemodalurl",
|
|
3953
3983
|
/*gamepagemodalurl*/
|
|
3954
3984
|
e[12]
|
|
3955
|
-
),
|
|
3985
|
+
), d(
|
|
3956
3986
|
t,
|
|
3957
3987
|
"integratedgameframedesktop",
|
|
3958
3988
|
/*integratedgameframedesktop*/
|
|
3959
3989
|
e[10]
|
|
3960
|
-
),
|
|
3990
|
+
), d(
|
|
3961
3991
|
t,
|
|
3962
3992
|
"integratedgameframemobile",
|
|
3963
3993
|
/*integratedgameframemobile*/
|
|
3964
3994
|
e[9]
|
|
3965
|
-
),
|
|
3995
|
+
), d(
|
|
3966
3996
|
t,
|
|
3967
3997
|
"casinomygames",
|
|
3968
3998
|
/*casinomygames*/
|
|
3969
3999
|
e[15]
|
|
3970
4000
|
);
|
|
3971
4001
|
},
|
|
3972
|
-
m(
|
|
3973
|
-
|
|
4002
|
+
m(n, r) {
|
|
4003
|
+
le(n, t, r);
|
|
3974
4004
|
},
|
|
3975
|
-
p(
|
|
3976
|
-
|
|
3977
|
-
16 &&
|
|
4005
|
+
p(n, r) {
|
|
4006
|
+
r & /*session*/
|
|
4007
|
+
16 && d(
|
|
3978
4008
|
t,
|
|
3979
4009
|
"session",
|
|
3980
4010
|
/*session*/
|
|
3981
|
-
|
|
3982
|
-
),
|
|
3983
|
-
32 &&
|
|
4011
|
+
n[4]
|
|
4012
|
+
), r & /*userid*/
|
|
4013
|
+
32 && d(
|
|
3984
4014
|
t,
|
|
3985
4015
|
"userid",
|
|
3986
4016
|
/*userid*/
|
|
3987
|
-
|
|
3988
|
-
),
|
|
3989
|
-
1 &&
|
|
4017
|
+
n[5]
|
|
4018
|
+
), r & /*endpoint*/
|
|
4019
|
+
1 && d(
|
|
3990
4020
|
t,
|
|
3991
4021
|
"endpoint",
|
|
3992
4022
|
/*endpoint*/
|
|
3993
|
-
|
|
3994
|
-
),
|
|
3995
|
-
2 &&
|
|
4023
|
+
n[0]
|
|
4024
|
+
), r & /*datasource*/
|
|
4025
|
+
2 && d(
|
|
3996
4026
|
t,
|
|
3997
4027
|
"datasource",
|
|
3998
4028
|
/*datasource*/
|
|
3999
|
-
|
|
4000
|
-
),
|
|
4001
|
-
8 &&
|
|
4029
|
+
n[1]
|
|
4030
|
+
), r & /*lang*/
|
|
4031
|
+
8 && d(
|
|
4002
4032
|
t,
|
|
4003
4033
|
"lang",
|
|
4004
4034
|
/*lang*/
|
|
4005
|
-
|
|
4006
|
-
),
|
|
4007
|
-
4 &&
|
|
4035
|
+
n[3]
|
|
4036
|
+
), r & /*currency*/
|
|
4037
|
+
4 && d(
|
|
4008
4038
|
t,
|
|
4009
4039
|
"currency",
|
|
4010
4040
|
/*currency*/
|
|
4011
|
-
|
|
4012
|
-
),
|
|
4013
|
-
16384 &&
|
|
4041
|
+
n[2]
|
|
4042
|
+
), r & /*favorites*/
|
|
4043
|
+
16384 && d(
|
|
4014
4044
|
t,
|
|
4015
4045
|
"favorites",
|
|
4016
4046
|
/*favorites*/
|
|
4017
|
-
|
|
4018
|
-
),
|
|
4019
|
-
65536 &&
|
|
4047
|
+
n[14]
|
|
4048
|
+
), r & /*fetchviaevent*/
|
|
4049
|
+
65536 && d(
|
|
4020
4050
|
t,
|
|
4021
4051
|
"fetchviaevent",
|
|
4022
4052
|
/*fetchviaevent*/
|
|
4023
|
-
|
|
4024
|
-
),
|
|
4025
|
-
131072 &&
|
|
4053
|
+
n[16]
|
|
4054
|
+
), r & /*mbsource*/
|
|
4055
|
+
131072 && d(
|
|
4026
4056
|
t,
|
|
4027
4057
|
"mbsource",
|
|
4028
4058
|
/*mbsource*/
|
|
4029
|
-
|
|
4030
|
-
),
|
|
4031
|
-
2048 &&
|
|
4059
|
+
n[17]
|
|
4060
|
+
), r & /*showgamename*/
|
|
4061
|
+
2048 && d(
|
|
4032
4062
|
t,
|
|
4033
4063
|
"showgamename",
|
|
4034
4064
|
/*showgamename*/
|
|
4035
|
-
|
|
4036
|
-
),
|
|
4037
|
-
64 &&
|
|
4065
|
+
n[11]
|
|
4066
|
+
), r & /*clientstyling*/
|
|
4067
|
+
64 && d(
|
|
4038
4068
|
t,
|
|
4039
4069
|
"clientstyling",
|
|
4040
4070
|
/*clientstyling*/
|
|
4041
|
-
|
|
4042
|
-
),
|
|
4043
|
-
128 &&
|
|
4071
|
+
n[6]
|
|
4072
|
+
), r & /*clientstylingurl*/
|
|
4073
|
+
128 && d(
|
|
4044
4074
|
t,
|
|
4045
4075
|
"clientstylingurl",
|
|
4046
4076
|
/*clientstylingurl*/
|
|
4047
|
-
|
|
4048
|
-
),
|
|
4049
|
-
256 &&
|
|
4077
|
+
n[7]
|
|
4078
|
+
), r & /*livecasino*/
|
|
4079
|
+
256 && d(
|
|
4050
4080
|
t,
|
|
4051
4081
|
"livecasino",
|
|
4052
4082
|
/*livecasino*/
|
|
4053
|
-
|
|
4054
|
-
),
|
|
4055
|
-
8192 &&
|
|
4083
|
+
n[8]
|
|
4084
|
+
), r & /*visiblegames*/
|
|
4085
|
+
8192 && d(
|
|
4056
4086
|
t,
|
|
4057
4087
|
"visiblegames",
|
|
4058
4088
|
/*visiblegames*/
|
|
4059
|
-
|
|
4060
|
-
),
|
|
4061
|
-
4096 &&
|
|
4089
|
+
n[13]
|
|
4090
|
+
), r & /*gamepagemodalurl*/
|
|
4091
|
+
4096 && d(
|
|
4062
4092
|
t,
|
|
4063
4093
|
"gamepagemodalurl",
|
|
4064
4094
|
/*gamepagemodalurl*/
|
|
4065
|
-
|
|
4066
|
-
),
|
|
4067
|
-
1024 &&
|
|
4095
|
+
n[12]
|
|
4096
|
+
), r & /*integratedgameframedesktop*/
|
|
4097
|
+
1024 && d(
|
|
4068
4098
|
t,
|
|
4069
4099
|
"integratedgameframedesktop",
|
|
4070
4100
|
/*integratedgameframedesktop*/
|
|
4071
|
-
|
|
4072
|
-
),
|
|
4073
|
-
512 &&
|
|
4101
|
+
n[10]
|
|
4102
|
+
), r & /*integratedgameframemobile*/
|
|
4103
|
+
512 && d(
|
|
4074
4104
|
t,
|
|
4075
4105
|
"integratedgameframemobile",
|
|
4076
4106
|
/*integratedgameframemobile*/
|
|
4077
|
-
|
|
4078
|
-
),
|
|
4079
|
-
32768 &&
|
|
4107
|
+
n[9]
|
|
4108
|
+
), r & /*casinomygames*/
|
|
4109
|
+
32768 && d(
|
|
4080
4110
|
t,
|
|
4081
4111
|
"casinomygames",
|
|
4082
4112
|
/*casinomygames*/
|
|
4083
|
-
|
|
4113
|
+
n[15]
|
|
4084
4114
|
);
|
|
4085
4115
|
},
|
|
4086
|
-
d(
|
|
4087
|
-
|
|
4116
|
+
d(n) {
|
|
4117
|
+
n && ee(t);
|
|
4088
4118
|
}
|
|
4089
4119
|
};
|
|
4090
4120
|
}
|
|
4091
|
-
function
|
|
4092
|
-
let t,
|
|
4121
|
+
function Wr(e) {
|
|
4122
|
+
let t, n = (
|
|
4093
4123
|
/*session*/
|
|
4094
|
-
e[4] &&
|
|
4124
|
+
e[4] && tt(e)
|
|
4095
4125
|
);
|
|
4096
4126
|
return {
|
|
4097
4127
|
c() {
|
|
4098
|
-
t =
|
|
4128
|
+
t = te("div"), n && n.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
|
|
4099
4129
|
},
|
|
4100
|
-
m(
|
|
4101
|
-
|
|
4130
|
+
m(r, i) {
|
|
4131
|
+
le(r, t, i), n && n.m(t, null), e[19](t);
|
|
4102
4132
|
},
|
|
4103
|
-
p(
|
|
4133
|
+
p(r, [i]) {
|
|
4104
4134
|
/*session*/
|
|
4105
|
-
|
|
4135
|
+
r[4] ? n ? n.p(r, i) : (n = tt(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
|
|
4106
4136
|
},
|
|
4107
4137
|
i: N,
|
|
4108
4138
|
o: N,
|
|
4109
|
-
d(
|
|
4110
|
-
|
|
4139
|
+
d(r) {
|
|
4140
|
+
r && ee(t), n && n.d(), e[19](null);
|
|
4111
4141
|
}
|
|
4112
4142
|
};
|
|
4113
4143
|
}
|
|
4114
|
-
function
|
|
4115
|
-
let { endpoint:
|
|
4116
|
-
|
|
4144
|
+
function Zr(e, t, n) {
|
|
4145
|
+
let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: x = "false" } = t, { visiblegames: T = "" } = t, { favorites: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, v;
|
|
4146
|
+
jr({ withLocale: "en", translations: {} }), jt(() => () => {
|
|
4117
4147
|
});
|
|
4118
4148
|
function O(c) {
|
|
4119
|
-
|
|
4120
|
-
|
|
4149
|
+
He[c ? "unshift" : "push"](() => {
|
|
4150
|
+
v = c, n(18, v);
|
|
4121
4151
|
});
|
|
4122
4152
|
}
|
|
4123
4153
|
return e.$$set = (c) => {
|
|
4124
|
-
"endpoint" in c &&
|
|
4154
|
+
"endpoint" in c && n(0, r = c.endpoint), "datasource" in c && n(1, i = c.datasource), "currency" in c && n(2, s = c.currency), "lang" in c && n(3, a = c.lang), "session" in c && n(4, o = c.session), "userid" in c && n(5, l = c.userid), "clientstyling" in c && n(6, u = c.clientstyling), "clientstylingurl" in c && n(7, h = c.clientstylingurl), "livecasino" in c && n(8, m = c.livecasino), "integratedgameframemobile" in c && n(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && n(10, b = c.integratedgameframedesktop), "showgamename" in c && n(11, y = c.showgamename), "gamepagemodalurl" in c && n(12, x = c.gamepagemodalurl), "visiblegames" in c && n(13, T = c.visiblegames), "favorites" in c && n(14, w = c.favorites), "casinomygames" in c && n(15, A = c.casinomygames), "fetchviaevent" in c && n(16, S = c.fetchviaevent), "mbsource" in c && n(17, P = c.mbsource);
|
|
4125
4155
|
}, e.$$.update = () => {
|
|
4126
4156
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4127
|
-
262208 &&
|
|
4128
|
-
262272 && h &&
|
|
4129
|
-
393216 &&
|
|
4157
|
+
262208 && u && v && kr(v, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4158
|
+
262272 && h && v && Vr(v, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4159
|
+
393216 && v && Xr(v, `${P}.Style`);
|
|
4130
4160
|
}, [
|
|
4131
|
-
|
|
4161
|
+
r,
|
|
4132
4162
|
i,
|
|
4133
4163
|
s,
|
|
4134
|
-
u,
|
|
4135
4164
|
a,
|
|
4136
|
-
l,
|
|
4137
4165
|
o,
|
|
4166
|
+
l,
|
|
4167
|
+
u,
|
|
4138
4168
|
h,
|
|
4139
4169
|
m,
|
|
4140
4170
|
f,
|
|
4141
4171
|
b,
|
|
4142
4172
|
y,
|
|
4143
|
-
|
|
4173
|
+
x,
|
|
4144
4174
|
T,
|
|
4145
4175
|
w,
|
|
4146
4176
|
A,
|
|
4147
4177
|
S,
|
|
4148
4178
|
P,
|
|
4149
|
-
|
|
4179
|
+
v,
|
|
4150
4180
|
O
|
|
4151
4181
|
];
|
|
4152
4182
|
}
|
|
4153
|
-
class
|
|
4183
|
+
class Qr extends Jt {
|
|
4154
4184
|
constructor(t) {
|
|
4155
|
-
super(),
|
|
4185
|
+
super(), Qt(
|
|
4156
4186
|
this,
|
|
4157
4187
|
t,
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4188
|
+
Zr,
|
|
4189
|
+
Wr,
|
|
4190
|
+
rt,
|
|
4161
4191
|
{
|
|
4162
4192
|
endpoint: 0,
|
|
4163
4193
|
datasource: 1,
|
|
@@ -4178,7 +4208,7 @@ class qn extends Yt {
|
|
|
4178
4208
|
fetchviaevent: 16,
|
|
4179
4209
|
mbsource: 17
|
|
4180
4210
|
},
|
|
4181
|
-
|
|
4211
|
+
zr
|
|
4182
4212
|
);
|
|
4183
4213
|
}
|
|
4184
4214
|
get endpoint() {
|
|
@@ -4290,47 +4320,51 @@ class qn extends Yt {
|
|
|
4290
4320
|
this.$$set({ mbsource: t }), H();
|
|
4291
4321
|
}
|
|
4292
4322
|
}
|
|
4293
|
-
|
|
4323
|
+
qt(Qr, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4294
4324
|
export {
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4325
|
+
M as $,
|
|
4326
|
+
ti as A,
|
|
4327
|
+
ni as B,
|
|
4328
|
+
Yr as C,
|
|
4329
|
+
X as D,
|
|
4330
|
+
ri as E,
|
|
4331
|
+
mi as F,
|
|
4332
|
+
qr as G,
|
|
4333
|
+
d as H,
|
|
4334
|
+
ii as I,
|
|
4335
|
+
ei as J,
|
|
4336
|
+
si as K,
|
|
4337
|
+
oi as L,
|
|
4338
|
+
ai as M,
|
|
4339
|
+
li as N,
|
|
4340
|
+
hi as O,
|
|
4341
|
+
Qr as P,
|
|
4342
|
+
Jt as S,
|
|
4343
|
+
fi as _,
|
|
4344
|
+
pe as a,
|
|
4345
|
+
ci as b,
|
|
4346
|
+
ce as c,
|
|
4347
|
+
W as d,
|
|
4348
|
+
dr as e,
|
|
4315
4349
|
H as f,
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4350
|
+
qt as g,
|
|
4351
|
+
Rt as h,
|
|
4352
|
+
Qt as i,
|
|
4353
|
+
te as j,
|
|
4354
|
+
le as k,
|
|
4355
|
+
ee as l,
|
|
4356
|
+
Jr as m,
|
|
4323
4357
|
N as n,
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4358
|
+
jt as o,
|
|
4359
|
+
He as p,
|
|
4360
|
+
kr as q,
|
|
4361
|
+
Vr as r,
|
|
4362
|
+
rt as s,
|
|
4363
|
+
Xr as t,
|
|
4364
|
+
ui as u,
|
|
4365
|
+
Dt as v,
|
|
4366
|
+
Kr as w,
|
|
4367
|
+
st as x,
|
|
4368
|
+
Re as y,
|
|
4369
|
+
Mt as z
|
|
4336
4370
|
};
|