@everymatrix/casino-favorites-section 1.60.2 → 1.61.1
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-WLXTwGbs.js → CasinoFavoritesSection-BQIGz_So.js} +449 -520
- package/components/{CasinoFavoritesSection-D38_766A.cjs → CasinoFavoritesSection-BhLpav8T.cjs} +3 -3
- package/components/{CasinoFavoritesSection-x5z0a5S3.js → CasinoFavoritesSection-BuEpcCm6.js} +905 -976
- package/components/{CasinoFilter-DlCR7_69.js → CasinoFilter-CLVAkns8.js} +31 -31
- package/components/CasinoFilter-FeUgqmfZ.cjs +3 -0
- package/components/{CasinoFilter-BybP47cV.js → CasinoFilter-OMukac9R.js} +144 -142
- package/components/CasinoGameThumbnail-BI4Ddehz.js +3592 -0
- package/components/CasinoGameThumbnail-S7Ro0NwJ.js +3608 -0
- package/components/CasinoGameThumbnail-jCp9OMLM.cjs +39 -0
- package/components/CasinoGamesCategorySection-BIWP7adm.cjs +1 -0
- package/components/{CasinoGamesCategorySection-CtnBkx3y.js → CasinoGamesCategorySection-DPawmciC.js} +743 -674
- package/components/{CasinoGamesCategorySection-BGuQWDQP.js → CasinoGamesCategorySection-DrHZzNal.js} +1181 -1111
- package/components/{CasinoSort-x3_9U5TW.cjs → CasinoSort-BZxUwDnW.cjs} +1 -1
- package/components/{CasinoSort-fJrcGKry.js → CasinoSort-C7-aTvWD.js} +13 -13
- package/components/{CasinoSort-DxNMcVP-.js → CasinoSort-DqwFhObu.js} +13 -13
- 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/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{index-b2193545-BcwULm-K.cjs → index-b2193545-B5BzVbnP.cjs} +1 -1
- package/stencil/{index-b2193545-BJzf08Qh.js → index-b2193545-BranxwW4.js} +1 -1
- package/stencil/{index-b2193545-BlEoeZZL.js → index-b2193545-D-GB6w--.js} +1 -1
- package/stencil/index-b7bbd57e-CQ75dRCG.js +550 -0
- package/stencil/index-b7bbd57e-Cacu08c5.js +534 -0
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +1 -0
- package/stencil/ui-image-38c3c15f-D8q8WO62.js +39 -0
- package/stencil/ui-image-38c3c15f-DHu3p_Um.cjs +1 -0
- package/stencil/ui-image-38c3c15f-DNKzX83k.js +39 -0
- package/stencil/ui-image-BWdEHrqs.js +11 -0
- package/stencil/ui-image-Cq69wjLL.js +29 -0
- package/stencil/ui-image-hWt-DWaG.cjs +1 -0
- package/stencil/{ui-skeleton-ea659b95-CGzZMsW7.js → ui-skeleton-6d1c12ae-CKWpp1By.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-BbvMCw6x.js → ui-skeleton-6d1c12ae-Cy_R_9Cz.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-8xls9UKV.cjs → ui-skeleton-6d1c12ae-DXSQpIKe.cjs} +2 -2
- package/stencil/{ui-skeleton-C8koemPS.js → ui-skeleton-BMWABShx.js} +8 -8
- package/stencil/{ui-skeleton-Cb-Iz3dC.js → ui-skeleton-CkUGY95J.js} +5 -5
- package/stencil/ui-skeleton-DXc0L06e.cjs +1 -0
- package/components/CasinoFilter-dKY-bHh9.cjs +0 -3
- package/components/CasinoGameThumbnail-BSSIiTom.js +0 -4406
- package/components/CasinoGameThumbnail-CsbeEJiG.js +0 -4390
- package/components/CasinoGameThumbnail-DqHKU3jO.cjs +0 -47
- package/components/CasinoGamesCategorySection-DIM8ZSxi.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/ui-skeleton-B_ESS51i.cjs +0 -1
package/components/{CasinoFavoritesSection-WLXTwGbs.js → CasinoFavoritesSection-BQIGz_So.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function O() {
|
|
2
2
|
}
|
|
3
3
|
function tt(e) {
|
|
4
4
|
return e();
|
|
@@ -9,45 +9,42 @@ function De() {
|
|
|
9
9
|
function X(e) {
|
|
10
10
|
e.forEach(tt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ce(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
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 te;
|
|
19
|
+
function Zn(e, t) {
|
|
20
|
+
return e === t ? !0 : (te || (te = document.createElement("a")), te.href = t, e === te.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Lt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
25
|
function nt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
29
|
-
return
|
|
29
|
+
return O;
|
|
30
30
|
}
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Qn(e, t, r) {
|
|
35
35
|
e.$$.on_destroy.push(nt(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
return e && le(e.destroy) ? e.destroy : N;
|
|
39
|
-
}
|
|
40
|
-
function Lt(e, t) {
|
|
37
|
+
function Ct(e, t) {
|
|
41
38
|
e.appendChild(t);
|
|
42
39
|
}
|
|
43
|
-
function
|
|
44
|
-
const n =
|
|
40
|
+
function Mt(e, t, r) {
|
|
41
|
+
const n = Rt(e);
|
|
45
42
|
if (!n.getElementById(t)) {
|
|
46
|
-
const i =
|
|
47
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = he("style");
|
|
44
|
+
i.id = t, i.textContent = r, $t(n, i);
|
|
48
45
|
}
|
|
49
46
|
}
|
|
50
|
-
function
|
|
47
|
+
function Rt(e) {
|
|
51
48
|
if (!e)
|
|
52
49
|
return document;
|
|
53
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -57,39 +54,39 @@ function Mt(e) {
|
|
|
57
54
|
t
|
|
58
55
|
) : e.ownerDocument;
|
|
59
56
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
57
|
+
function $t(e, t) {
|
|
58
|
+
return Ct(
|
|
62
59
|
/** @type {Document} */
|
|
63
60
|
e.head || e,
|
|
64
61
|
t
|
|
65
62
|
), t.sheet;
|
|
66
63
|
}
|
|
67
|
-
function
|
|
64
|
+
function Me(e, t, r) {
|
|
68
65
|
e.insertBefore(t, r || null);
|
|
69
66
|
}
|
|
70
|
-
function
|
|
67
|
+
function ue(e) {
|
|
71
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
72
69
|
}
|
|
73
|
-
function
|
|
70
|
+
function qn(e, t) {
|
|
74
71
|
for (let r = 0; r < e.length; r += 1)
|
|
75
72
|
e[r] && e[r].d(t);
|
|
76
73
|
}
|
|
77
|
-
function
|
|
74
|
+
function he(e) {
|
|
78
75
|
return document.createElement(e);
|
|
79
76
|
}
|
|
80
|
-
function
|
|
77
|
+
function Jn(e) {
|
|
81
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
82
79
|
}
|
|
83
80
|
function it(e) {
|
|
84
81
|
return document.createTextNode(e);
|
|
85
82
|
}
|
|
86
|
-
function
|
|
83
|
+
function Yn() {
|
|
87
84
|
return it(" ");
|
|
88
85
|
}
|
|
89
|
-
function
|
|
86
|
+
function Kn() {
|
|
90
87
|
return it("");
|
|
91
88
|
}
|
|
92
|
-
function
|
|
89
|
+
function ei(e, t, r, n) {
|
|
93
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
94
91
|
}
|
|
95
92
|
function Re(e, t, r) {
|
|
@@ -102,86 +99,16 @@ function g(e, t, r) {
|
|
|
102
99
|
function Ut(e) {
|
|
103
100
|
return Array.from(e.childNodes);
|
|
104
101
|
}
|
|
105
|
-
function
|
|
102
|
+
function ti(e, t) {
|
|
106
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
107
104
|
t);
|
|
108
105
|
}
|
|
109
|
-
function
|
|
106
|
+
function ri(e, t) {
|
|
110
107
|
e.value = t ?? "";
|
|
111
108
|
}
|
|
112
|
-
function
|
|
109
|
+
function ni(e, t, r) {
|
|
113
110
|
e.classList.toggle(t, !!r);
|
|
114
111
|
}
|
|
115
|
-
class si {
|
|
116
|
-
/**
|
|
117
|
-
* @private
|
|
118
|
-
* @default false
|
|
119
|
-
*/
|
|
120
|
-
is_svg = !1;
|
|
121
|
-
/** parent for creating node */
|
|
122
|
-
e = void 0;
|
|
123
|
-
/** html tag nodes */
|
|
124
|
-
n = void 0;
|
|
125
|
-
/** target */
|
|
126
|
-
t = void 0;
|
|
127
|
-
/** anchor */
|
|
128
|
-
a = void 0;
|
|
129
|
-
constructor(t = !1) {
|
|
130
|
-
this.is_svg = t, this.e = this.n = null;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* @param {string} html
|
|
134
|
-
* @returns {void}
|
|
135
|
-
*/
|
|
136
|
-
c(t) {
|
|
137
|
-
this.h(t);
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* @param {string} html
|
|
141
|
-
* @param {HTMLElement | SVGElement} target
|
|
142
|
-
* @param {HTMLElement | SVGElement} anchor
|
|
143
|
-
* @returns {void}
|
|
144
|
-
*/
|
|
145
|
-
m(t, r, n = null) {
|
|
146
|
-
this.e || (this.is_svg ? this.e = $t(
|
|
147
|
-
/** @type {keyof SVGElementTagNameMap} */
|
|
148
|
-
r.nodeName
|
|
149
|
-
) : this.e = te(
|
|
150
|
-
/** @type {keyof HTMLElementTagNameMap} */
|
|
151
|
-
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
152
|
-
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
153
|
-
/** @type {HTMLTemplateElement} */
|
|
154
|
-
r.content
|
|
155
|
-
), this.c(t)), this.i(n);
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* @param {string} html
|
|
159
|
-
* @returns {void}
|
|
160
|
-
*/
|
|
161
|
-
h(t) {
|
|
162
|
-
this.e.innerHTML = t, this.n = Array.from(
|
|
163
|
-
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
|
164
|
-
);
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* @returns {void} */
|
|
168
|
-
i(t) {
|
|
169
|
-
for (let r = 0; r < this.n.length; r += 1)
|
|
170
|
-
fe(this.t, this.n[r], t);
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* @param {string} html
|
|
174
|
-
* @returns {void}
|
|
175
|
-
*/
|
|
176
|
-
p(t) {
|
|
177
|
-
this.d(), this.h(t), this.i(this.a);
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* @returns {void} */
|
|
181
|
-
d() {
|
|
182
|
-
this.n.forEach(ee);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
112
|
function Dt(e) {
|
|
186
113
|
const t = {};
|
|
187
114
|
return e.childNodes.forEach(
|
|
@@ -195,28 +122,31 @@ let J;
|
|
|
195
122
|
function q(e) {
|
|
196
123
|
J = e;
|
|
197
124
|
}
|
|
198
|
-
function
|
|
125
|
+
function st() {
|
|
199
126
|
if (!J)
|
|
200
127
|
throw new Error("Function called outside component initialization");
|
|
201
128
|
return J;
|
|
202
129
|
}
|
|
203
|
-
function
|
|
204
|
-
|
|
130
|
+
function Gt(e) {
|
|
131
|
+
st().$$.on_mount.push(e);
|
|
205
132
|
}
|
|
206
|
-
|
|
133
|
+
function ii(e) {
|
|
134
|
+
st().$$.on_destroy.push(e);
|
|
135
|
+
}
|
|
136
|
+
const D = [], xe = [];
|
|
207
137
|
let G = [];
|
|
208
|
-
const Ge = [],
|
|
209
|
-
let
|
|
210
|
-
function
|
|
211
|
-
|
|
138
|
+
const Ge = [], at = /* @__PURE__ */ Promise.resolve();
|
|
139
|
+
let He = !1;
|
|
140
|
+
function ot() {
|
|
141
|
+
He || (He = !0, at.then(H));
|
|
212
142
|
}
|
|
213
|
-
function
|
|
214
|
-
return
|
|
143
|
+
function si() {
|
|
144
|
+
return ot(), at;
|
|
215
145
|
}
|
|
216
|
-
function
|
|
146
|
+
function Te(e) {
|
|
217
147
|
G.push(e);
|
|
218
148
|
}
|
|
219
|
-
const
|
|
149
|
+
const de = /* @__PURE__ */ new Set();
|
|
220
150
|
let $ = 0;
|
|
221
151
|
function H() {
|
|
222
152
|
if ($ !== 0)
|
|
@@ -226,45 +156,45 @@ function H() {
|
|
|
226
156
|
try {
|
|
227
157
|
for (; $ < D.length; ) {
|
|
228
158
|
const t = D[$];
|
|
229
|
-
$++, q(t),
|
|
159
|
+
$++, q(t), Ft(t.$$);
|
|
230
160
|
}
|
|
231
161
|
} catch (t) {
|
|
232
162
|
throw D.length = 0, $ = 0, t;
|
|
233
163
|
}
|
|
234
|
-
for (q(null), D.length = 0, $ = 0;
|
|
235
|
-
|
|
164
|
+
for (q(null), D.length = 0, $ = 0; xe.length; )
|
|
165
|
+
xe.pop()();
|
|
236
166
|
for (let t = 0; t < G.length; t += 1) {
|
|
237
167
|
const r = G[t];
|
|
238
|
-
|
|
168
|
+
de.has(r) || (de.add(r), r());
|
|
239
169
|
}
|
|
240
170
|
G.length = 0;
|
|
241
171
|
} while (D.length);
|
|
242
172
|
for (; Ge.length; )
|
|
243
173
|
Ge.pop()();
|
|
244
|
-
|
|
174
|
+
He = !1, de.clear(), q(e);
|
|
245
175
|
}
|
|
246
|
-
function
|
|
176
|
+
function Ft(e) {
|
|
247
177
|
if (e.fragment !== null) {
|
|
248
178
|
e.update(), X(e.before_update);
|
|
249
179
|
const t = e.dirty;
|
|
250
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
180
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
|
|
251
181
|
}
|
|
252
182
|
}
|
|
253
|
-
function
|
|
183
|
+
function jt(e) {
|
|
254
184
|
const t = [], r = [];
|
|
255
185
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
256
186
|
}
|
|
257
|
-
const
|
|
258
|
-
function
|
|
259
|
-
e && e.i && (
|
|
187
|
+
const kt = /* @__PURE__ */ new Set();
|
|
188
|
+
function ut(e, t) {
|
|
189
|
+
e && e.i && (kt.delete(e), e.i(t));
|
|
260
190
|
}
|
|
261
|
-
function
|
|
191
|
+
function ai(e) {
|
|
262
192
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
263
193
|
}
|
|
264
|
-
function
|
|
194
|
+
function oi(e, t) {
|
|
265
195
|
e.d(1), t.delete(e.key);
|
|
266
196
|
}
|
|
267
|
-
function
|
|
197
|
+
function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
268
198
|
let f = e.length, b = s.length, y = f;
|
|
269
199
|
const _ = {};
|
|
270
200
|
for (; y--; )
|
|
@@ -276,36 +206,36 @@ function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
276
206
|
L ? S.push(() => L.p(c, t)) : (L = u(I, c), L.c()), w.set(I, T[y] = L), I in _ && A.set(I, Math.abs(y - _[I]));
|
|
277
207
|
}
|
|
278
208
|
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
279
|
-
function
|
|
280
|
-
|
|
209
|
+
function N(c) {
|
|
210
|
+
ut(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
281
211
|
}
|
|
282
212
|
for (; f && b; ) {
|
|
283
|
-
const c = T[b - 1], I = e[f - 1], L = c.key,
|
|
284
|
-
c === I ? (h = c.first, f--, b--) : w.has(
|
|
213
|
+
const c = T[b - 1], I = e[f - 1], L = c.key, ee = I.key;
|
|
214
|
+
c === I ? (h = c.first, f--, b--) : w.has(ee) ? !a.has(L) || P.has(L) ? N(c) : x.has(ee) ? f-- : A.get(L) > A.get(ee) ? (x.add(L), N(c)) : (P.add(ee), f--) : (l(I, a), f--);
|
|
285
215
|
}
|
|
286
216
|
for (; f--; ) {
|
|
287
217
|
const c = e[f];
|
|
288
218
|
w.has(c.key) || l(c, a);
|
|
289
219
|
}
|
|
290
220
|
for (; b; )
|
|
291
|
-
|
|
221
|
+
N(T[b - 1]);
|
|
292
222
|
return X(S), T;
|
|
293
223
|
}
|
|
294
|
-
function
|
|
224
|
+
function Vt(e, t, r) {
|
|
295
225
|
const { fragment: n, after_update: i } = e.$$;
|
|
296
|
-
n && n.m(t, r),
|
|
297
|
-
const s = e.$$.on_mount.map(tt).filter(
|
|
226
|
+
n && n.m(t, r), Te(() => {
|
|
227
|
+
const s = e.$$.on_mount.map(tt).filter(Ce);
|
|
298
228
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
299
|
-
}), i.forEach(
|
|
229
|
+
}), i.forEach(Te);
|
|
300
230
|
}
|
|
301
|
-
function
|
|
231
|
+
function Xt(e, t) {
|
|
302
232
|
const r = e.$$;
|
|
303
|
-
r.fragment !== null && (
|
|
233
|
+
r.fragment !== null && (jt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
304
234
|
}
|
|
305
|
-
function
|
|
306
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
235
|
+
function Wt(e, t) {
|
|
236
|
+
e.$$.dirty[0] === -1 && (D.push(e), ot(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
307
237
|
}
|
|
308
|
-
function
|
|
238
|
+
function zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
309
239
|
const l = J;
|
|
310
240
|
q(e);
|
|
311
241
|
const u = e.$$ = {
|
|
@@ -313,7 +243,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
313
243
|
ctx: [],
|
|
314
244
|
// state
|
|
315
245
|
props: s,
|
|
316
|
-
update:
|
|
246
|
+
update: O,
|
|
317
247
|
not_equal: i,
|
|
318
248
|
bound: De(),
|
|
319
249
|
// lifecycle
|
|
@@ -333,19 +263,19 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
333
263
|
let h = !1;
|
|
334
264
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
335
265
|
const y = b.length ? b[0] : f;
|
|
336
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
266
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && Wt(e, m)), f;
|
|
337
267
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
338
268
|
if (t.hydrate) {
|
|
339
269
|
const m = Ut(t.target);
|
|
340
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
|
270
|
+
u.fragment && u.fragment.l(m), m.forEach(ue);
|
|
341
271
|
} else
|
|
342
272
|
u.fragment && u.fragment.c();
|
|
343
|
-
t.intro &&
|
|
273
|
+
t.intro && ut(e.$$.fragment), Vt(e, t.target, t.anchor), H();
|
|
344
274
|
}
|
|
345
275
|
q(l);
|
|
346
276
|
}
|
|
347
|
-
let
|
|
348
|
-
typeof HTMLElement == "function" && (
|
|
277
|
+
let ht;
|
|
278
|
+
typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
349
279
|
/** The Svelte component constructor */
|
|
350
280
|
$$ctor;
|
|
351
281
|
/** Slots */
|
|
@@ -387,17 +317,17 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
387
317
|
let s;
|
|
388
318
|
return {
|
|
389
319
|
c: function() {
|
|
390
|
-
s =
|
|
320
|
+
s = he("slot"), i !== "default" && Re(s, "name", i);
|
|
391
321
|
},
|
|
392
322
|
/**
|
|
393
323
|
* @param {HTMLElement} target
|
|
394
324
|
* @param {HTMLElement} [anchor]
|
|
395
325
|
*/
|
|
396
326
|
m: function(l, u) {
|
|
397
|
-
|
|
327
|
+
Me(l, s, u);
|
|
398
328
|
},
|
|
399
329
|
d: function(l) {
|
|
400
|
-
l &&
|
|
330
|
+
l && ue(s);
|
|
401
331
|
}
|
|
402
332
|
};
|
|
403
333
|
};
|
|
@@ -409,7 +339,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
409
339
|
i in r && (t[i] = [e(i)]);
|
|
410
340
|
for (const i of this.attributes) {
|
|
411
341
|
const s = this.$$g_p(i.name);
|
|
412
|
-
s in this.$$d || (this.$$d[s] =
|
|
342
|
+
s in this.$$d || (this.$$d[s] = ne(s, i.value, this.$$p_d, "toProp"));
|
|
413
343
|
}
|
|
414
344
|
for (const i in this.$$p_d)
|
|
415
345
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -427,7 +357,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
427
357
|
this.$$r = !0;
|
|
428
358
|
for (const i in this.$$p_d)
|
|
429
359
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
430
|
-
const s =
|
|
360
|
+
const s = ne(
|
|
431
361
|
i,
|
|
432
362
|
this.$$d[i],
|
|
433
363
|
this.$$p_d,
|
|
@@ -449,7 +379,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
449
379
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
450
380
|
// and setting attributes through setAttribute etc, this is helpful
|
|
451
381
|
attributeChangedCallback(e, t, r) {
|
|
452
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
382
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
453
383
|
}
|
|
454
384
|
disconnectedCallback() {
|
|
455
385
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -462,7 +392,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
462
392
|
) || e;
|
|
463
393
|
}
|
|
464
394
|
});
|
|
465
|
-
function
|
|
395
|
+
function ne(e, t, r, n) {
|
|
466
396
|
const i = r[e]?.type;
|
|
467
397
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
468
398
|
return t;
|
|
@@ -491,8 +421,8 @@ function se(e, t, r, n) {
|
|
|
491
421
|
return t;
|
|
492
422
|
}
|
|
493
423
|
}
|
|
494
|
-
function
|
|
495
|
-
let a = class extends
|
|
424
|
+
function Zt(e, t, r, n, i, s) {
|
|
425
|
+
let a = class extends ht {
|
|
496
426
|
constructor() {
|
|
497
427
|
super(e, r, i), this.$$p_d = t;
|
|
498
428
|
}
|
|
@@ -508,7 +438,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
508
438
|
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
509
439
|
},
|
|
510
440
|
set(l) {
|
|
511
|
-
l =
|
|
441
|
+
l = ne(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
|
|
512
442
|
}
|
|
513
443
|
});
|
|
514
444
|
}), n.forEach((o) => {
|
|
@@ -520,7 +450,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
520
450
|
}), e.element = /** @type {any} */
|
|
521
451
|
a, a;
|
|
522
452
|
}
|
|
523
|
-
class
|
|
453
|
+
class Qt {
|
|
524
454
|
/**
|
|
525
455
|
* ### PRIVATE API
|
|
526
456
|
*
|
|
@@ -539,7 +469,7 @@ class qt {
|
|
|
539
469
|
$$set = void 0;
|
|
540
470
|
/** @returns {void} */
|
|
541
471
|
$destroy() {
|
|
542
|
-
|
|
472
|
+
Xt(this, 1), this.$destroy = O;
|
|
543
473
|
}
|
|
544
474
|
/**
|
|
545
475
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -548,8 +478,8 @@ class qt {
|
|
|
548
478
|
* @returns {() => void}
|
|
549
479
|
*/
|
|
550
480
|
$on(t, r) {
|
|
551
|
-
if (!
|
|
552
|
-
return
|
|
481
|
+
if (!Ce(r))
|
|
482
|
+
return O;
|
|
553
483
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
554
484
|
return n.push(r), () => {
|
|
555
485
|
const i = n.indexOf(r);
|
|
@@ -561,18 +491,18 @@ class qt {
|
|
|
561
491
|
* @returns {void}
|
|
562
492
|
*/
|
|
563
493
|
$set(t) {
|
|
564
|
-
this.$$set && !
|
|
494
|
+
this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
565
495
|
}
|
|
566
496
|
}
|
|
567
|
-
const
|
|
568
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
497
|
+
const qt = "4";
|
|
498
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qt);
|
|
569
499
|
const U = [];
|
|
570
|
-
function
|
|
500
|
+
function Jt(e, t) {
|
|
571
501
|
return {
|
|
572
|
-
subscribe:
|
|
502
|
+
subscribe: le(e, t).subscribe
|
|
573
503
|
};
|
|
574
504
|
}
|
|
575
|
-
function
|
|
505
|
+
function le(e, t = O) {
|
|
576
506
|
let r;
|
|
577
507
|
const n = /* @__PURE__ */ new Set();
|
|
578
508
|
function i(o) {
|
|
@@ -590,9 +520,9 @@ function ce(e, t = N) {
|
|
|
590
520
|
function s(o) {
|
|
591
521
|
i(o(e));
|
|
592
522
|
}
|
|
593
|
-
function a(o, l =
|
|
523
|
+
function a(o, l = O) {
|
|
594
524
|
const u = [o, l];
|
|
595
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
525
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || O), o(e), () => {
|
|
596
526
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
597
527
|
};
|
|
598
528
|
}
|
|
@@ -603,16 +533,16 @@ function W(e, t, r) {
|
|
|
603
533
|
if (!i.every(Boolean))
|
|
604
534
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
605
535
|
const s = t.length < 2;
|
|
606
|
-
return
|
|
536
|
+
return Jt(r, (a, o) => {
|
|
607
537
|
let l = !1;
|
|
608
538
|
const u = [];
|
|
609
|
-
let h = 0, m =
|
|
539
|
+
let h = 0, m = O;
|
|
610
540
|
const f = () => {
|
|
611
541
|
if (h)
|
|
612
542
|
return;
|
|
613
543
|
m();
|
|
614
544
|
const y = t(n ? u[0] : u, a, o);
|
|
615
|
-
s ? a(y) : m =
|
|
545
|
+
s ? a(y) : m = Ce(y) ? y : O;
|
|
616
546
|
}, b = i.map(
|
|
617
547
|
(y, _) => nt(
|
|
618
548
|
y,
|
|
@@ -629,70 +559,70 @@ function W(e, t, r) {
|
|
|
629
559
|
};
|
|
630
560
|
});
|
|
631
561
|
}
|
|
632
|
-
function
|
|
562
|
+
function Yt(e) {
|
|
633
563
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
634
564
|
}
|
|
635
|
-
var
|
|
636
|
-
return
|
|
565
|
+
var Kt = function(t) {
|
|
566
|
+
return er(t) && !tr(t);
|
|
637
567
|
};
|
|
638
|
-
function
|
|
568
|
+
function er(e) {
|
|
639
569
|
return !!e && typeof e == "object";
|
|
640
570
|
}
|
|
641
|
-
function
|
|
571
|
+
function tr(e) {
|
|
642
572
|
var t = Object.prototype.toString.call(e);
|
|
643
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
573
|
+
return t === "[object RegExp]" || t === "[object Date]" || ir(e);
|
|
644
574
|
}
|
|
645
|
-
var
|
|
646
|
-
function
|
|
647
|
-
return e.$$typeof ===
|
|
575
|
+
var rr = typeof Symbol == "function" && Symbol.for, nr = rr ? Symbol.for("react.element") : 60103;
|
|
576
|
+
function ir(e) {
|
|
577
|
+
return e.$$typeof === nr;
|
|
648
578
|
}
|
|
649
|
-
function
|
|
579
|
+
function sr(e) {
|
|
650
580
|
return Array.isArray(e) ? [] : {};
|
|
651
581
|
}
|
|
652
582
|
function Y(e, t) {
|
|
653
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
583
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(sr(e), e, t) : e;
|
|
654
584
|
}
|
|
655
|
-
function
|
|
585
|
+
function ar(e, t, r) {
|
|
656
586
|
return e.concat(t).map(function(n) {
|
|
657
587
|
return Y(n, r);
|
|
658
588
|
});
|
|
659
589
|
}
|
|
660
|
-
function
|
|
590
|
+
function or(e, t) {
|
|
661
591
|
if (!t.customMerge)
|
|
662
592
|
return F;
|
|
663
593
|
var r = t.customMerge(e);
|
|
664
594
|
return typeof r == "function" ? r : F;
|
|
665
595
|
}
|
|
666
|
-
function
|
|
596
|
+
function ur(e) {
|
|
667
597
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
668
598
|
return Object.propertyIsEnumerable.call(e, t);
|
|
669
599
|
}) : [];
|
|
670
600
|
}
|
|
671
601
|
function Fe(e) {
|
|
672
|
-
return Object.keys(e).concat(
|
|
602
|
+
return Object.keys(e).concat(ur(e));
|
|
673
603
|
}
|
|
674
|
-
function
|
|
604
|
+
function lt(e, t) {
|
|
675
605
|
try {
|
|
676
606
|
return t in e;
|
|
677
607
|
} catch {
|
|
678
608
|
return !1;
|
|
679
609
|
}
|
|
680
610
|
}
|
|
681
|
-
function
|
|
682
|
-
return
|
|
611
|
+
function hr(e, t) {
|
|
612
|
+
return lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
683
613
|
}
|
|
684
|
-
function
|
|
614
|
+
function lr(e, t, r) {
|
|
685
615
|
var n = {};
|
|
686
616
|
return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
|
|
687
617
|
n[i] = Y(e[i], r);
|
|
688
618
|
}), Fe(t).forEach(function(i) {
|
|
689
|
-
|
|
619
|
+
hr(e, i) || (lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = or(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
690
620
|
}), n;
|
|
691
621
|
}
|
|
692
622
|
function F(e, t, r) {
|
|
693
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
623
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ar, r.isMergeableObject = r.isMergeableObject || Kt, r.cloneUnlessOtherwiseSpecified = Y;
|
|
694
624
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
695
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
625
|
+
return s ? n ? r.arrayMerge(e, t, r) : lr(e, t, r) : Y(t, r);
|
|
696
626
|
}
|
|
697
627
|
F.all = function(t, r) {
|
|
698
628
|
if (!Array.isArray(t))
|
|
@@ -701,8 +631,8 @@ F.all = function(t, r) {
|
|
|
701
631
|
return F(n, i, r);
|
|
702
632
|
}, {});
|
|
703
633
|
};
|
|
704
|
-
var
|
|
705
|
-
const
|
|
634
|
+
var fr = F, cr = fr;
|
|
635
|
+
const mr = /* @__PURE__ */ Yt(cr);
|
|
706
636
|
/*! *****************************************************************************
|
|
707
637
|
Copyright (c) Microsoft Corporation.
|
|
708
638
|
|
|
@@ -717,18 +647,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
717
647
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
718
648
|
PERFORMANCE OF THIS SOFTWARE.
|
|
719
649
|
***************************************************************************** */
|
|
720
|
-
var
|
|
721
|
-
return
|
|
650
|
+
var Se = function(e, t) {
|
|
651
|
+
return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
722
652
|
r.__proto__ = n;
|
|
723
653
|
} || function(r, n) {
|
|
724
654
|
for (var i in n)
|
|
725
655
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
726
|
-
},
|
|
656
|
+
}, Se(e, t);
|
|
727
657
|
};
|
|
728
|
-
function
|
|
658
|
+
function fe(e, t) {
|
|
729
659
|
if (typeof t != "function" && t !== null)
|
|
730
660
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
731
|
-
|
|
661
|
+
Se(e, t);
|
|
732
662
|
function r() {
|
|
733
663
|
this.constructor = e;
|
|
734
664
|
}
|
|
@@ -744,7 +674,7 @@ var E = function() {
|
|
|
744
674
|
return t;
|
|
745
675
|
}, E.apply(this, arguments);
|
|
746
676
|
};
|
|
747
|
-
function
|
|
677
|
+
function gr(e, t) {
|
|
748
678
|
var r = {};
|
|
749
679
|
for (var n in e)
|
|
750
680
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -753,7 +683,7 @@ function dr(e, t) {
|
|
|
753
683
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
754
684
|
return r;
|
|
755
685
|
}
|
|
756
|
-
function
|
|
686
|
+
function hi(e) {
|
|
757
687
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
758
688
|
if (r)
|
|
759
689
|
return r.call(e);
|
|
@@ -765,7 +695,7 @@ function li(e) {
|
|
|
765
695
|
};
|
|
766
696
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
767
697
|
}
|
|
768
|
-
function
|
|
698
|
+
function li(e, t) {
|
|
769
699
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
770
700
|
if (!r)
|
|
771
701
|
return e;
|
|
@@ -785,43 +715,43 @@ function fi(e, t) {
|
|
|
785
715
|
}
|
|
786
716
|
return s;
|
|
787
717
|
}
|
|
788
|
-
function
|
|
718
|
+
function be(e, t, r) {
|
|
789
719
|
if (r || arguments.length === 2)
|
|
790
720
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
791
721
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
792
722
|
return e.concat(s || t);
|
|
793
723
|
}
|
|
794
|
-
function
|
|
795
|
-
var r = t && t.cache ? t.cache :
|
|
724
|
+
function pe(e, t) {
|
|
725
|
+
var r = t && t.cache ? t.cache : _r, n = t && t.serializer ? t.serializer : Er, i = t && t.strategy ? t.strategy : pr;
|
|
796
726
|
return i(e, {
|
|
797
727
|
cache: r,
|
|
798
728
|
serializer: n
|
|
799
729
|
});
|
|
800
730
|
}
|
|
801
|
-
function
|
|
731
|
+
function dr(e) {
|
|
802
732
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
803
733
|
}
|
|
804
|
-
function
|
|
805
|
-
var i =
|
|
734
|
+
function br(e, t, r, n) {
|
|
735
|
+
var i = dr(n) ? n : r(n), s = t.get(i);
|
|
806
736
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
807
737
|
}
|
|
808
|
-
function
|
|
738
|
+
function ft(e, t, r) {
|
|
809
739
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
810
740
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
811
741
|
}
|
|
812
|
-
function
|
|
742
|
+
function ct(e, t, r, n, i) {
|
|
813
743
|
return r.bind(t, e, n, i);
|
|
814
744
|
}
|
|
815
|
-
function
|
|
816
|
-
var r = e.length === 1 ?
|
|
817
|
-
return
|
|
745
|
+
function pr(e, t) {
|
|
746
|
+
var r = e.length === 1 ? br : ft;
|
|
747
|
+
return ct(e, this, r, t.cache.create(), t.serializer);
|
|
818
748
|
}
|
|
819
|
-
function
|
|
820
|
-
return
|
|
749
|
+
function yr(e, t) {
|
|
750
|
+
return ct(e, this, ft, t.cache.create(), t.serializer);
|
|
821
751
|
}
|
|
822
|
-
var
|
|
752
|
+
var Er = function() {
|
|
823
753
|
return JSON.stringify(arguments);
|
|
824
|
-
},
|
|
754
|
+
}, vr = (
|
|
825
755
|
/** @class */
|
|
826
756
|
function() {
|
|
827
757
|
function e() {
|
|
@@ -833,12 +763,12 @@ var vr = function() {
|
|
|
833
763
|
this.cache[t] = r;
|
|
834
764
|
}, e;
|
|
835
765
|
}()
|
|
836
|
-
),
|
|
766
|
+
), _r = {
|
|
837
767
|
create: function() {
|
|
838
|
-
return new
|
|
768
|
+
return new vr();
|
|
839
769
|
}
|
|
840
|
-
},
|
|
841
|
-
variadic:
|
|
770
|
+
}, ye = {
|
|
771
|
+
variadic: yr
|
|
842
772
|
}, d;
|
|
843
773
|
(function(e) {
|
|
844
774
|
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";
|
|
@@ -854,40 +784,40 @@ var j;
|
|
|
854
784
|
function je(e) {
|
|
855
785
|
return e.type === v.literal;
|
|
856
786
|
}
|
|
857
|
-
function
|
|
787
|
+
function xr(e) {
|
|
858
788
|
return e.type === v.argument;
|
|
859
789
|
}
|
|
860
|
-
function
|
|
790
|
+
function mt(e) {
|
|
861
791
|
return e.type === v.number;
|
|
862
792
|
}
|
|
863
|
-
function
|
|
793
|
+
function gt(e) {
|
|
864
794
|
return e.type === v.date;
|
|
865
795
|
}
|
|
866
|
-
function
|
|
796
|
+
function dt(e) {
|
|
867
797
|
return e.type === v.time;
|
|
868
798
|
}
|
|
869
|
-
function
|
|
799
|
+
function bt(e) {
|
|
870
800
|
return e.type === v.select;
|
|
871
801
|
}
|
|
872
|
-
function
|
|
802
|
+
function pt(e) {
|
|
873
803
|
return e.type === v.plural;
|
|
874
804
|
}
|
|
875
|
-
function
|
|
805
|
+
function Hr(e) {
|
|
876
806
|
return e.type === v.pound;
|
|
877
807
|
}
|
|
878
|
-
function
|
|
808
|
+
function yt(e) {
|
|
879
809
|
return e.type === v.tag;
|
|
880
810
|
}
|
|
881
|
-
function
|
|
811
|
+
function Et(e) {
|
|
882
812
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
883
813
|
}
|
|
884
|
-
function
|
|
814
|
+
function Be(e) {
|
|
885
815
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
886
816
|
}
|
|
887
|
-
var
|
|
888
|
-
function
|
|
817
|
+
var vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tr = /(?:[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;
|
|
818
|
+
function Sr(e) {
|
|
889
819
|
var t = {};
|
|
890
|
-
return e.replace(
|
|
820
|
+
return e.replace(Tr, function(r) {
|
|
891
821
|
var n = r.length;
|
|
892
822
|
switch (r[0]) {
|
|
893
823
|
case "G":
|
|
@@ -976,11 +906,11 @@ function Br(e) {
|
|
|
976
906
|
return "";
|
|
977
907
|
}), t;
|
|
978
908
|
}
|
|
979
|
-
var
|
|
980
|
-
function
|
|
909
|
+
var Br = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
910
|
+
function Ar(e) {
|
|
981
911
|
if (e.length === 0)
|
|
982
912
|
throw new Error("Number skeleton cannot be empty");
|
|
983
|
-
for (var t = e.split(
|
|
913
|
+
for (var t = e.split(Br).filter(function(f) {
|
|
984
914
|
return f.length > 0;
|
|
985
915
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
986
916
|
var s = i[n], a = s.split("/");
|
|
@@ -995,17 +925,17 @@ function wr(e) {
|
|
|
995
925
|
}
|
|
996
926
|
return r;
|
|
997
927
|
}
|
|
998
|
-
function
|
|
928
|
+
function wr(e) {
|
|
999
929
|
return e.replace(/^(.*?)-/, "");
|
|
1000
930
|
}
|
|
1001
|
-
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
931
|
+
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _t = /^(@+)?(\+|#+)?[rs]?$/g, Pr = /(\*)(0+)|(#+)(0+)|(0+)/g, xt = /^(0+)$/;
|
|
1002
932
|
function Ve(e) {
|
|
1003
933
|
var t = {};
|
|
1004
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
934
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_t, function(r, n, i) {
|
|
1005
935
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1006
936
|
}), t;
|
|
1007
937
|
}
|
|
1008
|
-
function
|
|
938
|
+
function Ht(e) {
|
|
1009
939
|
switch (e) {
|
|
1010
940
|
case "sign-auto":
|
|
1011
941
|
return {
|
|
@@ -1053,17 +983,17 @@ function Or(e) {
|
|
|
1053
983
|
notation: "scientific"
|
|
1054
984
|
}, e = e.slice(1)), t) {
|
|
1055
985
|
var r = e.slice(0, 2);
|
|
1056
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
986
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xt.test(e))
|
|
1057
987
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1058
988
|
t.minimumIntegerDigits = e.length;
|
|
1059
989
|
}
|
|
1060
990
|
return t;
|
|
1061
991
|
}
|
|
1062
992
|
function Xe(e) {
|
|
1063
|
-
var t = {}, r =
|
|
993
|
+
var t = {}, r = Ht(e);
|
|
1064
994
|
return r || t;
|
|
1065
995
|
}
|
|
1066
|
-
function
|
|
996
|
+
function Nr(e) {
|
|
1067
997
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1068
998
|
var i = n[r];
|
|
1069
999
|
switch (i.stem) {
|
|
@@ -1087,7 +1017,7 @@ function Ir(e) {
|
|
|
1087
1017
|
continue;
|
|
1088
1018
|
case "measure-unit":
|
|
1089
1019
|
case "unit":
|
|
1090
|
-
t.style = "unit", t.unit =
|
|
1020
|
+
t.style = "unit", t.unit = wr(i.options[0]);
|
|
1091
1021
|
continue;
|
|
1092
1022
|
case "compact-short":
|
|
1093
1023
|
case "K":
|
|
@@ -1149,7 +1079,7 @@ function Ir(e) {
|
|
|
1149
1079
|
case "integer-width":
|
|
1150
1080
|
if (i.options.length > 1)
|
|
1151
1081
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1152
|
-
i.options[0].replace(
|
|
1082
|
+
i.options[0].replace(Pr, function(l, u, h, m, f, b) {
|
|
1153
1083
|
if (u)
|
|
1154
1084
|
t.minimumIntegerDigits = h.length;
|
|
1155
1085
|
else {
|
|
@@ -1162,7 +1092,7 @@ function Ir(e) {
|
|
|
1162
1092
|
});
|
|
1163
1093
|
continue;
|
|
1164
1094
|
}
|
|
1165
|
-
if (
|
|
1095
|
+
if (xt.test(i.stem)) {
|
|
1166
1096
|
t.minimumIntegerDigits = i.stem.length;
|
|
1167
1097
|
continue;
|
|
1168
1098
|
}
|
|
@@ -1176,18 +1106,18 @@ function Ir(e) {
|
|
|
1176
1106
|
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ve(s)));
|
|
1177
1107
|
continue;
|
|
1178
1108
|
}
|
|
1179
|
-
if (
|
|
1109
|
+
if (_t.test(i.stem)) {
|
|
1180
1110
|
t = E(E({}, t), Ve(i.stem));
|
|
1181
1111
|
continue;
|
|
1182
1112
|
}
|
|
1183
|
-
var a =
|
|
1113
|
+
var a = Ht(i.stem);
|
|
1184
1114
|
a && (t = E(E({}, t), a));
|
|
1185
1115
|
var o = Or(i.stem);
|
|
1186
1116
|
o && (t = E(E({}, t), o));
|
|
1187
1117
|
}
|
|
1188
1118
|
return t;
|
|
1189
1119
|
}
|
|
1190
|
-
var
|
|
1120
|
+
var re = {
|
|
1191
1121
|
"001": [
|
|
1192
1122
|
"H",
|
|
1193
1123
|
"h"
|
|
@@ -2602,13 +2532,13 @@ var ie = {
|
|
|
2602
2532
|
"h"
|
|
2603
2533
|
]
|
|
2604
2534
|
};
|
|
2605
|
-
function
|
|
2535
|
+
function Ir(e, t) {
|
|
2606
2536
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2607
2537
|
var i = e.charAt(n);
|
|
2608
2538
|
if (i === "j") {
|
|
2609
2539
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2610
2540
|
s++, n++;
|
|
2611
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2541
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Lr(t);
|
|
2612
2542
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2613
2543
|
r += l;
|
|
2614
2544
|
for (; a-- > 0; )
|
|
@@ -2618,7 +2548,7 @@ function Lr(e, t) {
|
|
|
2618
2548
|
}
|
|
2619
2549
|
return r;
|
|
2620
2550
|
}
|
|
2621
|
-
function
|
|
2551
|
+
function Lr(e) {
|
|
2622
2552
|
var t = e.hourCycle;
|
|
2623
2553
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2624
2554
|
e.hourCycles && // @ts-ignore
|
|
@@ -2637,23 +2567,23 @@ function Cr(e) {
|
|
|
2637
2567
|
}
|
|
2638
2568
|
var r = e.language, n;
|
|
2639
2569
|
r !== "root" && (n = e.maximize().region);
|
|
2640
|
-
var i =
|
|
2570
|
+
var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
|
|
2641
2571
|
return i[0];
|
|
2642
2572
|
}
|
|
2643
|
-
var
|
|
2573
|
+
var Ee, Cr = new RegExp("^".concat(vt.source, "*")), Mr = new RegExp("".concat(vt.source, "*$"));
|
|
2644
2574
|
function p(e, t) {
|
|
2645
2575
|
return { start: e, end: t };
|
|
2646
2576
|
}
|
|
2647
|
-
var
|
|
2577
|
+
var Rr = !!String.prototype.startsWith && "_a".startsWith("a", 1), $r = !!String.fromCodePoint, Ur = !!Object.fromEntries, Dr = !!String.prototype.codePointAt, Gr = !!String.prototype.trimStart, Fr = !!String.prototype.trimEnd, jr = !!Number.isSafeInteger, kr = jr ? Number.isSafeInteger : function(e) {
|
|
2648
2578
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2649
|
-
},
|
|
2579
|
+
}, Ae = !0;
|
|
2650
2580
|
try {
|
|
2651
|
-
var
|
|
2652
|
-
|
|
2581
|
+
var Vr = St("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2582
|
+
Ae = ((Ee = Vr.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
|
|
2653
2583
|
} catch {
|
|
2654
|
-
|
|
2584
|
+
Ae = !1;
|
|
2655
2585
|
}
|
|
2656
|
-
var We =
|
|
2586
|
+
var We = Rr ? (
|
|
2657
2587
|
// Native
|
|
2658
2588
|
function(t, r, n) {
|
|
2659
2589
|
return t.startsWith(r, n);
|
|
@@ -2663,7 +2593,7 @@ var We = $r ? (
|
|
|
2663
2593
|
function(t, r, n) {
|
|
2664
2594
|
return t.slice(n, n + r.length) === r;
|
|
2665
2595
|
}
|
|
2666
|
-
),
|
|
2596
|
+
), we = $r ? String.fromCodePoint : (
|
|
2667
2597
|
// IE11
|
|
2668
2598
|
function() {
|
|
2669
2599
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2677,7 +2607,7 @@ var We = $r ? (
|
|
|
2677
2607
|
}
|
|
2678
2608
|
), ze = (
|
|
2679
2609
|
// native
|
|
2680
|
-
|
|
2610
|
+
Ur ? Object.fromEntries : (
|
|
2681
2611
|
// Ponyfill
|
|
2682
2612
|
function(t) {
|
|
2683
2613
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2687,7 +2617,7 @@ var We = $r ? (
|
|
|
2687
2617
|
return r;
|
|
2688
2618
|
}
|
|
2689
2619
|
)
|
|
2690
|
-
),
|
|
2620
|
+
), Tt = Dr ? (
|
|
2691
2621
|
// Native
|
|
2692
2622
|
function(t, r) {
|
|
2693
2623
|
return t.codePointAt(r);
|
|
@@ -2701,7 +2631,7 @@ var We = $r ? (
|
|
|
2701
2631
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2702
2632
|
}
|
|
2703
2633
|
}
|
|
2704
|
-
),
|
|
2634
|
+
), Xr = Gr ? (
|
|
2705
2635
|
// Native
|
|
2706
2636
|
function(t) {
|
|
2707
2637
|
return t.trimStart();
|
|
@@ -2709,9 +2639,9 @@ var We = $r ? (
|
|
|
2709
2639
|
) : (
|
|
2710
2640
|
// Ponyfill
|
|
2711
2641
|
function(t) {
|
|
2712
|
-
return t.replace(
|
|
2642
|
+
return t.replace(Cr, "");
|
|
2713
2643
|
}
|
|
2714
|
-
),
|
|
2644
|
+
), Wr = Fr ? (
|
|
2715
2645
|
// Native
|
|
2716
2646
|
function(t) {
|
|
2717
2647
|
return t.trimEnd();
|
|
@@ -2719,32 +2649,32 @@ var We = $r ? (
|
|
|
2719
2649
|
) : (
|
|
2720
2650
|
// Ponyfill
|
|
2721
2651
|
function(t) {
|
|
2722
|
-
return t.replace(
|
|
2652
|
+
return t.replace(Mr, "");
|
|
2723
2653
|
}
|
|
2724
2654
|
);
|
|
2725
|
-
function
|
|
2655
|
+
function St(e, t) {
|
|
2726
2656
|
return new RegExp(e, t);
|
|
2727
2657
|
}
|
|
2728
|
-
var
|
|
2729
|
-
if (
|
|
2730
|
-
var Ze =
|
|
2731
|
-
|
|
2658
|
+
var Pe;
|
|
2659
|
+
if (Ae) {
|
|
2660
|
+
var Ze = St("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2661
|
+
Pe = function(t, r) {
|
|
2732
2662
|
var n;
|
|
2733
2663
|
Ze.lastIndex = r;
|
|
2734
2664
|
var i = Ze.exec(t);
|
|
2735
2665
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2736
2666
|
};
|
|
2737
2667
|
} else
|
|
2738
|
-
|
|
2668
|
+
Pe = function(t, r) {
|
|
2739
2669
|
for (var n = []; ; ) {
|
|
2740
|
-
var i =
|
|
2741
|
-
if (i === void 0 ||
|
|
2670
|
+
var i = Tt(t, r);
|
|
2671
|
+
if (i === void 0 || Bt(i) || qr(i))
|
|
2742
2672
|
break;
|
|
2743
2673
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2744
2674
|
}
|
|
2745
|
-
return
|
|
2675
|
+
return we.apply(void 0, n);
|
|
2746
2676
|
};
|
|
2747
|
-
var
|
|
2677
|
+
var zr = (
|
|
2748
2678
|
/** @class */
|
|
2749
2679
|
function() {
|
|
2750
2680
|
function e(t, r) {
|
|
@@ -2775,7 +2705,7 @@ var Zr = (
|
|
|
2775
2705
|
if (n)
|
|
2776
2706
|
break;
|
|
2777
2707
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2778
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2708
|
+
} else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
|
|
2779
2709
|
var a = this.parseTag(t, r);
|
|
2780
2710
|
if (a.err)
|
|
2781
2711
|
return a;
|
|
@@ -2808,7 +2738,7 @@ var Zr = (
|
|
|
2808
2738
|
return s;
|
|
2809
2739
|
var a = s.val, o = this.clonePosition();
|
|
2810
2740
|
if (this.bumpIf("</")) {
|
|
2811
|
-
if (this.isEOF() || !
|
|
2741
|
+
if (this.isEOF() || !Oe(this.char()))
|
|
2812
2742
|
return this.error(d.INVALID_TAG, p(o, this.clonePosition()));
|
|
2813
2743
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2814
2744
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -2826,7 +2756,7 @@ var Zr = (
|
|
|
2826
2756
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2827
2757
|
}, e.prototype.parseTagName = function() {
|
|
2828
2758
|
var t = this.offset();
|
|
2829
|
-
for (this.bump(); !this.isEOF() &&
|
|
2759
|
+
for (this.bump(); !this.isEOF() && Qr(this.char()); )
|
|
2830
2760
|
this.bump();
|
|
2831
2761
|
return this.message.slice(t, this.offset());
|
|
2832
2762
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2855,7 +2785,7 @@ var Zr = (
|
|
|
2855
2785
|
};
|
|
2856
2786
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2857
2787
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2858
|
-
!
|
|
2788
|
+
!Zr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2859
2789
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2860
2790
|
if (this.isEOF() || this.char() !== 39)
|
|
2861
2791
|
return null;
|
|
@@ -2889,12 +2819,12 @@ var Zr = (
|
|
|
2889
2819
|
r.push(n);
|
|
2890
2820
|
this.bump();
|
|
2891
2821
|
}
|
|
2892
|
-
return
|
|
2822
|
+
return we.apply(void 0, r);
|
|
2893
2823
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2894
2824
|
if (this.isEOF())
|
|
2895
2825
|
return null;
|
|
2896
2826
|
var n = this.char();
|
|
2897
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2827
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), we(n));
|
|
2898
2828
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2899
2829
|
var n = this.clonePosition();
|
|
2900
2830
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2923,7 +2853,7 @@ var Zr = (
|
|
|
2923
2853
|
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2924
2854
|
}
|
|
2925
2855
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2926
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2856
|
+
var t = this.clonePosition(), r = this.offset(), n = Pe(this.message, r), i = r + n.length;
|
|
2927
2857
|
this.bumpTo(i);
|
|
2928
2858
|
var s = this.clonePosition(), a = p(t, s);
|
|
2929
2859
|
return { value: n, location: a };
|
|
@@ -2942,7 +2872,7 @@ var Zr = (
|
|
|
2942
2872
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2943
2873
|
if (m.err)
|
|
2944
2874
|
return m;
|
|
2945
|
-
var f =
|
|
2875
|
+
var f = Wr(m.val);
|
|
2946
2876
|
if (f.length === 0)
|
|
2947
2877
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2948
2878
|
var b = p(h, this.clonePosition());
|
|
@@ -2953,7 +2883,7 @@ var Zr = (
|
|
|
2953
2883
|
return y;
|
|
2954
2884
|
var _ = p(i, this.clonePosition());
|
|
2955
2885
|
if (u && We(u?.style, "::", 0)) {
|
|
2956
|
-
var T =
|
|
2886
|
+
var T = Xr(u.style.slice(2));
|
|
2957
2887
|
if (o === "number") {
|
|
2958
2888
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2959
2889
|
return m.err ? m : {
|
|
@@ -2964,12 +2894,12 @@ var Zr = (
|
|
|
2964
2894
|
if (T.length === 0)
|
|
2965
2895
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2966
2896
|
var w = T;
|
|
2967
|
-
this.locale && (w =
|
|
2897
|
+
this.locale && (w = Ir(T, this.locale));
|
|
2968
2898
|
var f = {
|
|
2969
2899
|
type: j.dateTime,
|
|
2970
2900
|
pattern: w,
|
|
2971
2901
|
location: u.styleLocation,
|
|
2972
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2902
|
+
parsedOptions: this.shouldParseSkeletons ? Sr(w) : {}
|
|
2973
2903
|
}, A = o === "date" ? v.date : v.time;
|
|
2974
2904
|
return {
|
|
2975
2905
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -3004,9 +2934,9 @@ var Zr = (
|
|
|
3004
2934
|
return m;
|
|
3005
2935
|
this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
|
|
3006
2936
|
}
|
|
3007
|
-
var
|
|
3008
|
-
if (
|
|
3009
|
-
return
|
|
2937
|
+
var N = this.tryParsePluralOrSelectOptions(t, o, r, P);
|
|
2938
|
+
if (N.err)
|
|
2939
|
+
return N;
|
|
3010
2940
|
var y = this.tryParseArgumentClose(i);
|
|
3011
2941
|
if (y.err)
|
|
3012
2942
|
return y;
|
|
@@ -3015,7 +2945,7 @@ var Zr = (
|
|
|
3015
2945
|
val: {
|
|
3016
2946
|
type: v.select,
|
|
3017
2947
|
value: n,
|
|
3018
|
-
options: ze(
|
|
2948
|
+
options: ze(N.val),
|
|
3019
2949
|
location: c
|
|
3020
2950
|
},
|
|
3021
2951
|
err: null
|
|
@@ -3023,7 +2953,7 @@ var Zr = (
|
|
|
3023
2953
|
val: {
|
|
3024
2954
|
type: v.plural,
|
|
3025
2955
|
value: n,
|
|
3026
|
-
options: ze(
|
|
2956
|
+
options: ze(N.val),
|
|
3027
2957
|
offset: x,
|
|
3028
2958
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3029
2959
|
location: c
|
|
@@ -3074,7 +3004,7 @@ var Zr = (
|
|
|
3074
3004
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3075
3005
|
var n = [];
|
|
3076
3006
|
try {
|
|
3077
|
-
n =
|
|
3007
|
+
n = Ar(t);
|
|
3078
3008
|
} catch {
|
|
3079
3009
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3080
3010
|
}
|
|
@@ -3083,7 +3013,7 @@ var Zr = (
|
|
|
3083
3013
|
type: j.number,
|
|
3084
3014
|
tokens: n,
|
|
3085
3015
|
location: r,
|
|
3086
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3016
|
+
parsedOptions: this.shouldParseSkeletons ? Nr(n) : {}
|
|
3087
3017
|
},
|
|
3088
3018
|
err: null
|
|
3089
3019
|
};
|
|
@@ -3131,7 +3061,7 @@ var Zr = (
|
|
|
3131
3061
|
break;
|
|
3132
3062
|
}
|
|
3133
3063
|
var l = p(i, this.clonePosition());
|
|
3134
|
-
return s ? (a *= n,
|
|
3064
|
+
return s ? (a *= n, kr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3135
3065
|
}, e.prototype.offset = function() {
|
|
3136
3066
|
return this.position.offset;
|
|
3137
3067
|
}, e.prototype.isEOF = function() {
|
|
@@ -3146,7 +3076,7 @@ var Zr = (
|
|
|
3146
3076
|
var t = this.position.offset;
|
|
3147
3077
|
if (t >= this.message.length)
|
|
3148
3078
|
throw Error("out of bound");
|
|
3149
|
-
var r =
|
|
3079
|
+
var r = Tt(this.message, t);
|
|
3150
3080
|
if (r === void 0)
|
|
3151
3081
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3152
3082
|
return r;
|
|
@@ -3187,7 +3117,7 @@ var Zr = (
|
|
|
3187
3117
|
break;
|
|
3188
3118
|
}
|
|
3189
3119
|
}, e.prototype.bumpSpace = function() {
|
|
3190
|
-
for (; !this.isEOF() &&
|
|
3120
|
+
for (; !this.isEOF() && Bt(this.char()); )
|
|
3191
3121
|
this.bump();
|
|
3192
3122
|
}, e.prototype.peek = function() {
|
|
3193
3123
|
if (this.isEOF())
|
|
@@ -3197,47 +3127,47 @@ var Zr = (
|
|
|
3197
3127
|
}, e;
|
|
3198
3128
|
}()
|
|
3199
3129
|
);
|
|
3200
|
-
function
|
|
3130
|
+
function Oe(e) {
|
|
3201
3131
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3202
3132
|
}
|
|
3203
|
-
function
|
|
3204
|
-
return
|
|
3133
|
+
function Zr(e) {
|
|
3134
|
+
return Oe(e) || e === 47;
|
|
3205
3135
|
}
|
|
3206
|
-
function
|
|
3136
|
+
function Qr(e) {
|
|
3207
3137
|
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;
|
|
3208
3138
|
}
|
|
3209
|
-
function
|
|
3139
|
+
function Bt(e) {
|
|
3210
3140
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3211
3141
|
}
|
|
3212
|
-
function
|
|
3142
|
+
function qr(e) {
|
|
3213
3143
|
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;
|
|
3214
3144
|
}
|
|
3215
|
-
function
|
|
3145
|
+
function Ne(e) {
|
|
3216
3146
|
e.forEach(function(t) {
|
|
3217
|
-
if (delete t.location,
|
|
3147
|
+
if (delete t.location, bt(t) || pt(t))
|
|
3218
3148
|
for (var r in t.options)
|
|
3219
|
-
delete t.options[r].location,
|
|
3149
|
+
delete t.options[r].location, Ne(t.options[r].value);
|
|
3220
3150
|
else
|
|
3221
|
-
|
|
3151
|
+
mt(t) && Et(t.style) || (gt(t) || dt(t)) && Be(t.style) ? delete t.style.location : yt(t) && Ne(t.children);
|
|
3222
3152
|
});
|
|
3223
3153
|
}
|
|
3224
|
-
function
|
|
3154
|
+
function Jr(e, t) {
|
|
3225
3155
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3226
|
-
var r = new
|
|
3156
|
+
var r = new zr(e, t).parse();
|
|
3227
3157
|
if (r.err) {
|
|
3228
3158
|
var n = SyntaxError(d[r.err.kind]);
|
|
3229
3159
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3230
3160
|
}
|
|
3231
|
-
return t?.captureLocation ||
|
|
3161
|
+
return t?.captureLocation || Ne(r.val), r.val;
|
|
3232
3162
|
}
|
|
3233
3163
|
var k;
|
|
3234
3164
|
(function(e) {
|
|
3235
3165
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3236
3166
|
})(k || (k = {}));
|
|
3237
|
-
var
|
|
3167
|
+
var ce = (
|
|
3238
3168
|
/** @class */
|
|
3239
3169
|
function(e) {
|
|
3240
|
-
|
|
3170
|
+
fe(t, e);
|
|
3241
3171
|
function t(r, n, i) {
|
|
3242
3172
|
var s = e.call(this, r) || this;
|
|
3243
3173
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3249,44 +3179,44 @@ var ge = (
|
|
|
3249
3179
|
), Qe = (
|
|
3250
3180
|
/** @class */
|
|
3251
3181
|
function(e) {
|
|
3252
|
-
|
|
3182
|
+
fe(t, e);
|
|
3253
3183
|
function t(r, n, i, s) {
|
|
3254
3184
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
|
|
3255
3185
|
}
|
|
3256
3186
|
return t;
|
|
3257
|
-
}(
|
|
3258
|
-
),
|
|
3187
|
+
}(ce)
|
|
3188
|
+
), Yr = (
|
|
3259
3189
|
/** @class */
|
|
3260
3190
|
function(e) {
|
|
3261
|
-
|
|
3191
|
+
fe(t, e);
|
|
3262
3192
|
function t(r, n, i) {
|
|
3263
3193
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
|
|
3264
3194
|
}
|
|
3265
3195
|
return t;
|
|
3266
|
-
}(
|
|
3267
|
-
),
|
|
3196
|
+
}(ce)
|
|
3197
|
+
), Kr = (
|
|
3268
3198
|
/** @class */
|
|
3269
3199
|
function(e) {
|
|
3270
|
-
|
|
3200
|
+
fe(t, e);
|
|
3271
3201
|
function t(r, n) {
|
|
3272
3202
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
|
|
3273
3203
|
}
|
|
3274
3204
|
return t;
|
|
3275
|
-
}(
|
|
3205
|
+
}(ce)
|
|
3276
3206
|
), B;
|
|
3277
3207
|
(function(e) {
|
|
3278
3208
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3279
3209
|
})(B || (B = {}));
|
|
3280
|
-
function
|
|
3210
|
+
function en(e) {
|
|
3281
3211
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3282
3212
|
var n = t[t.length - 1];
|
|
3283
3213
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3284
3214
|
}, []);
|
|
3285
3215
|
}
|
|
3286
|
-
function
|
|
3216
|
+
function tn(e) {
|
|
3287
3217
|
return typeof e == "function";
|
|
3288
3218
|
}
|
|
3289
|
-
function
|
|
3219
|
+
function ie(e, t, r, n, i, s, a) {
|
|
3290
3220
|
if (e.length === 1 && je(e[0]))
|
|
3291
3221
|
return [
|
|
3292
3222
|
{
|
|
@@ -3303,7 +3233,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3303
3233
|
});
|
|
3304
3234
|
continue;
|
|
3305
3235
|
}
|
|
3306
|
-
if (
|
|
3236
|
+
if (Hr(h)) {
|
|
3307
3237
|
typeof s == "number" && o.push({
|
|
3308
3238
|
type: B.literal,
|
|
3309
3239
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3312,44 +3242,44 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3312
3242
|
}
|
|
3313
3243
|
var m = h.value;
|
|
3314
3244
|
if (!(i && m in i))
|
|
3315
|
-
throw new
|
|
3245
|
+
throw new Kr(m, a);
|
|
3316
3246
|
var f = i[m];
|
|
3317
|
-
if (
|
|
3247
|
+
if (xr(h)) {
|
|
3318
3248
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3319
3249
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3320
3250
|
value: f
|
|
3321
3251
|
});
|
|
3322
3252
|
continue;
|
|
3323
3253
|
}
|
|
3324
|
-
if (
|
|
3325
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
|
3254
|
+
if (gt(h)) {
|
|
3255
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Be(h.style) ? h.style.parsedOptions : void 0;
|
|
3326
3256
|
o.push({
|
|
3327
3257
|
type: B.literal,
|
|
3328
3258
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3329
3259
|
});
|
|
3330
3260
|
continue;
|
|
3331
3261
|
}
|
|
3332
|
-
if (
|
|
3333
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
|
3262
|
+
if (dt(h)) {
|
|
3263
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Be(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3334
3264
|
o.push({
|
|
3335
3265
|
type: B.literal,
|
|
3336
3266
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3337
3267
|
});
|
|
3338
3268
|
continue;
|
|
3339
3269
|
}
|
|
3340
|
-
if (
|
|
3341
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3270
|
+
if (mt(h)) {
|
|
3271
|
+
var b = typeof h.style == "string" ? n.number[h.style] : Et(h.style) ? h.style.parsedOptions : void 0;
|
|
3342
3272
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3343
3273
|
type: B.literal,
|
|
3344
3274
|
value: r.getNumberFormat(t, b).format(f)
|
|
3345
3275
|
});
|
|
3346
3276
|
continue;
|
|
3347
3277
|
}
|
|
3348
|
-
if (
|
|
3278
|
+
if (yt(h)) {
|
|
3349
3279
|
var y = h.children, _ = h.value, T = i[_];
|
|
3350
|
-
if (!
|
|
3351
|
-
throw new
|
|
3352
|
-
var w =
|
|
3280
|
+
if (!tn(T))
|
|
3281
|
+
throw new Yr(_, "function", a);
|
|
3282
|
+
var w = ie(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3353
3283
|
return x.value;
|
|
3354
3284
|
}));
|
|
3355
3285
|
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(x) {
|
|
@@ -3359,18 +3289,18 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3359
3289
|
};
|
|
3360
3290
|
}));
|
|
3361
3291
|
}
|
|
3362
|
-
if (
|
|
3292
|
+
if (bt(h)) {
|
|
3363
3293
|
var S = h.options[f] || h.options.other;
|
|
3364
3294
|
if (!S)
|
|
3365
3295
|
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
3366
|
-
o.push.apply(o,
|
|
3296
|
+
o.push.apply(o, ie(S.value, t, r, n, i));
|
|
3367
3297
|
continue;
|
|
3368
3298
|
}
|
|
3369
|
-
if (
|
|
3299
|
+
if (pt(h)) {
|
|
3370
3300
|
var S = h.options["=".concat(f)];
|
|
3371
3301
|
if (!S) {
|
|
3372
3302
|
if (!Intl.PluralRules)
|
|
3373
|
-
throw new
|
|
3303
|
+
throw new ce(`Intl.PluralRules is not available in this environment.
|
|
3374
3304
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3375
3305
|
`, k.MISSING_INTL_API, a);
|
|
3376
3306
|
var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
@@ -3378,23 +3308,23 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3378
3308
|
}
|
|
3379
3309
|
if (!S)
|
|
3380
3310
|
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
3381
|
-
o.push.apply(o,
|
|
3311
|
+
o.push.apply(o, ie(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3382
3312
|
continue;
|
|
3383
3313
|
}
|
|
3384
3314
|
}
|
|
3385
|
-
return
|
|
3315
|
+
return en(o);
|
|
3386
3316
|
}
|
|
3387
|
-
function
|
|
3317
|
+
function rn(e, t) {
|
|
3388
3318
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3389
3319
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3390
3320
|
}, {})) : e;
|
|
3391
3321
|
}
|
|
3392
|
-
function
|
|
3322
|
+
function nn(e, t) {
|
|
3393
3323
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3394
|
-
return r[n] =
|
|
3324
|
+
return r[n] = rn(e[n], t[n]), r;
|
|
3395
3325
|
}, E({}, e)) : e;
|
|
3396
3326
|
}
|
|
3397
|
-
function
|
|
3327
|
+
function ve(e) {
|
|
3398
3328
|
return {
|
|
3399
3329
|
create: function() {
|
|
3400
3330
|
return {
|
|
@@ -3408,39 +3338,39 @@ function xe(e) {
|
|
|
3408
3338
|
}
|
|
3409
3339
|
};
|
|
3410
3340
|
}
|
|
3411
|
-
function
|
|
3341
|
+
function sn(e) {
|
|
3412
3342
|
return e === void 0 && (e = {
|
|
3413
3343
|
number: {},
|
|
3414
3344
|
dateTime: {},
|
|
3415
3345
|
pluralRules: {}
|
|
3416
3346
|
}), {
|
|
3417
|
-
getNumberFormat:
|
|
3347
|
+
getNumberFormat: pe(function() {
|
|
3418
3348
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3419
3349
|
r[n] = arguments[n];
|
|
3420
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3350
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
|
|
3421
3351
|
}, {
|
|
3422
|
-
cache:
|
|
3423
|
-
strategy:
|
|
3352
|
+
cache: ve(e.number),
|
|
3353
|
+
strategy: ye.variadic
|
|
3424
3354
|
}),
|
|
3425
|
-
getDateTimeFormat:
|
|
3355
|
+
getDateTimeFormat: pe(function() {
|
|
3426
3356
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3427
3357
|
r[n] = arguments[n];
|
|
3428
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3358
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
|
|
3429
3359
|
}, {
|
|
3430
|
-
cache:
|
|
3431
|
-
strategy:
|
|
3360
|
+
cache: ve(e.dateTime),
|
|
3361
|
+
strategy: ye.variadic
|
|
3432
3362
|
}),
|
|
3433
|
-
getPluralRules:
|
|
3363
|
+
getPluralRules: pe(function() {
|
|
3434
3364
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3435
3365
|
r[n] = arguments[n];
|
|
3436
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3366
|
+
return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
|
|
3437
3367
|
}, {
|
|
3438
|
-
cache:
|
|
3439
|
-
strategy:
|
|
3368
|
+
cache: ve(e.pluralRules),
|
|
3369
|
+
strategy: ye.variadic
|
|
3440
3370
|
})
|
|
3441
3371
|
};
|
|
3442
3372
|
}
|
|
3443
|
-
var
|
|
3373
|
+
var an = (
|
|
3444
3374
|
/** @class */
|
|
3445
3375
|
function() {
|
|
3446
3376
|
function e(t, r, n, i) {
|
|
@@ -3459,7 +3389,7 @@ var on = (
|
|
|
3459
3389
|
}, []);
|
|
3460
3390
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3461
3391
|
}, this.formatToParts = function(l) {
|
|
3462
|
-
return
|
|
3392
|
+
return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3463
3393
|
}, this.resolvedOptions = function() {
|
|
3464
3394
|
var l;
|
|
3465
3395
|
return {
|
|
@@ -3472,13 +3402,13 @@ var on = (
|
|
|
3472
3402
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3473
3403
|
var a = i || {};
|
|
3474
3404
|
a.formatters;
|
|
3475
|
-
var o =
|
|
3405
|
+
var o = gr(a, ["formatters"]);
|
|
3476
3406
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3477
3407
|
} else
|
|
3478
3408
|
this.ast = t;
|
|
3479
3409
|
if (!Array.isArray(this.ast))
|
|
3480
3410
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3481
|
-
this.formats =
|
|
3411
|
+
this.formats = nn(e.formats, n), this.formatters = i && i.formatters || sn(this.formatterCache);
|
|
3482
3412
|
}
|
|
3483
3413
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3484
3414
|
get: function() {
|
|
@@ -3491,7 +3421,7 @@ var on = (
|
|
|
3491
3421
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3492
3422
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3493
3423
|
}
|
|
3494
|
-
}, e.__parse =
|
|
3424
|
+
}, e.__parse = Jr, e.formats = {
|
|
3495
3425
|
number: {
|
|
3496
3426
|
integer: {
|
|
3497
3427
|
maximumFractionDigits: 0
|
|
@@ -3552,7 +3482,7 @@ var on = (
|
|
|
3552
3482
|
}, e;
|
|
3553
3483
|
}()
|
|
3554
3484
|
);
|
|
3555
|
-
function
|
|
3485
|
+
function on(e, t) {
|
|
3556
3486
|
if (t == null)
|
|
3557
3487
|
return;
|
|
3558
3488
|
if (t in e)
|
|
@@ -3573,92 +3503,92 @@ function un(e, t) {
|
|
|
3573
3503
|
n = void 0;
|
|
3574
3504
|
return n;
|
|
3575
3505
|
}
|
|
3576
|
-
const C = {},
|
|
3506
|
+
const C = {}, un = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), At = (e, t) => {
|
|
3577
3507
|
if (t == null)
|
|
3578
3508
|
return;
|
|
3579
3509
|
if (t in C && e in C[t])
|
|
3580
3510
|
return C[t][e];
|
|
3581
|
-
const r =
|
|
3511
|
+
const r = me(t);
|
|
3582
3512
|
for (let n = 0; n < r.length; n++) {
|
|
3583
|
-
const i = r[n], s =
|
|
3513
|
+
const i = r[n], s = ln(i, e);
|
|
3584
3514
|
if (s)
|
|
3585
|
-
return
|
|
3515
|
+
return un(e, t, s);
|
|
3586
3516
|
}
|
|
3587
3517
|
};
|
|
3588
3518
|
let $e;
|
|
3589
|
-
const z =
|
|
3590
|
-
function
|
|
3519
|
+
const z = le({});
|
|
3520
|
+
function hn(e) {
|
|
3591
3521
|
return $e[e] || null;
|
|
3592
3522
|
}
|
|
3593
|
-
function
|
|
3523
|
+
function wt(e) {
|
|
3594
3524
|
return e in $e;
|
|
3595
3525
|
}
|
|
3596
|
-
function
|
|
3597
|
-
if (!
|
|
3526
|
+
function ln(e, t) {
|
|
3527
|
+
if (!wt(e))
|
|
3598
3528
|
return null;
|
|
3599
|
-
const r =
|
|
3600
|
-
return
|
|
3529
|
+
const r = hn(e);
|
|
3530
|
+
return on(r, t);
|
|
3601
3531
|
}
|
|
3602
|
-
function
|
|
3532
|
+
function fn(e) {
|
|
3603
3533
|
if (e == null)
|
|
3604
3534
|
return;
|
|
3605
|
-
const t =
|
|
3535
|
+
const t = me(e);
|
|
3606
3536
|
for (let r = 0; r < t.length; r++) {
|
|
3607
3537
|
const n = t[r];
|
|
3608
|
-
if (
|
|
3538
|
+
if (wt(n))
|
|
3609
3539
|
return n;
|
|
3610
3540
|
}
|
|
3611
3541
|
}
|
|
3612
|
-
function
|
|
3613
|
-
delete C[e], z.update((r) => (r[e] =
|
|
3542
|
+
function cn(e, ...t) {
|
|
3543
|
+
delete C[e], z.update((r) => (r[e] = mr.all([r[e] || {}, ...t]), r));
|
|
3614
3544
|
}
|
|
3615
3545
|
W(
|
|
3616
3546
|
[z],
|
|
3617
3547
|
([e]) => Object.keys(e)
|
|
3618
3548
|
);
|
|
3619
3549
|
z.subscribe((e) => $e = e);
|
|
3620
|
-
const
|
|
3621
|
-
function
|
|
3622
|
-
|
|
3550
|
+
const se = {};
|
|
3551
|
+
function mn(e, t) {
|
|
3552
|
+
se[e].delete(t), se[e].size === 0 && delete se[e];
|
|
3623
3553
|
}
|
|
3624
|
-
function
|
|
3625
|
-
return
|
|
3554
|
+
function Pt(e) {
|
|
3555
|
+
return se[e];
|
|
3626
3556
|
}
|
|
3627
|
-
function
|
|
3628
|
-
return
|
|
3629
|
-
const r =
|
|
3557
|
+
function gn(e) {
|
|
3558
|
+
return me(e).map((t) => {
|
|
3559
|
+
const r = Pt(t);
|
|
3630
3560
|
return [t, r ? [...r] : []];
|
|
3631
3561
|
}).filter(([, t]) => t.length > 0);
|
|
3632
3562
|
}
|
|
3633
|
-
function
|
|
3634
|
-
return e == null ? !1 :
|
|
3563
|
+
function Ie(e) {
|
|
3564
|
+
return e == null ? !1 : me(e).some(
|
|
3635
3565
|
(t) => {
|
|
3636
3566
|
var r;
|
|
3637
|
-
return (r =
|
|
3567
|
+
return (r = Pt(t)) == null ? void 0 : r.size;
|
|
3638
3568
|
}
|
|
3639
3569
|
);
|
|
3640
3570
|
}
|
|
3641
|
-
function
|
|
3571
|
+
function dn(e, t) {
|
|
3642
3572
|
return Promise.all(
|
|
3643
|
-
t.map((n) => (
|
|
3644
|
-
).then((n) =>
|
|
3573
|
+
t.map((n) => (mn(e, n), n().then((i) => i.default || i)))
|
|
3574
|
+
).then((n) => cn(e, ...n));
|
|
3645
3575
|
}
|
|
3646
3576
|
const Q = {};
|
|
3647
|
-
function
|
|
3648
|
-
if (!
|
|
3577
|
+
function Ot(e) {
|
|
3578
|
+
if (!Ie(e))
|
|
3649
3579
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3650
|
-
const t =
|
|
3580
|
+
const t = gn(e);
|
|
3651
3581
|
return Q[e] = Promise.all(
|
|
3652
3582
|
t.map(
|
|
3653
|
-
([r, n]) =>
|
|
3583
|
+
([r, n]) => dn(r, n)
|
|
3654
3584
|
)
|
|
3655
3585
|
).then(() => {
|
|
3656
|
-
if (
|
|
3657
|
-
return
|
|
3586
|
+
if (Ie(e))
|
|
3587
|
+
return Ot(e);
|
|
3658
3588
|
delete Q[e];
|
|
3659
3589
|
}), Q[e];
|
|
3660
3590
|
}
|
|
3661
|
-
const
|
|
3591
|
+
const bn = {
|
|
3662
3592
|
number: {
|
|
3663
3593
|
scientific: { notation: "scientific" },
|
|
3664
3594
|
engineering: { notation: "engineering" },
|
|
@@ -3687,78 +3617,78 @@ const pn = {
|
|
|
3687
3617
|
timeZoneName: "short"
|
|
3688
3618
|
}
|
|
3689
3619
|
}
|
|
3690
|
-
},
|
|
3620
|
+
}, pn = {
|
|
3691
3621
|
fallbackLocale: null,
|
|
3692
3622
|
loadingDelay: 200,
|
|
3693
|
-
formats:
|
|
3623
|
+
formats: bn,
|
|
3694
3624
|
warnOnMissingMessages: !0,
|
|
3695
3625
|
handleMissingMessage: void 0,
|
|
3696
3626
|
ignoreTag: !0
|
|
3697
|
-
},
|
|
3627
|
+
}, yn = pn;
|
|
3698
3628
|
function V() {
|
|
3699
|
-
return
|
|
3629
|
+
return yn;
|
|
3700
3630
|
}
|
|
3701
|
-
const
|
|
3702
|
-
var
|
|
3631
|
+
const _e = le(!1);
|
|
3632
|
+
var En = Object.defineProperty, vn = Object.defineProperties, _n = Object.getOwnPropertyDescriptors, qe = Object.getOwnPropertySymbols, xn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tn = (e, t) => {
|
|
3703
3633
|
for (var r in t || (t = {}))
|
|
3704
|
-
|
|
3634
|
+
xn.call(t, r) && Je(e, r, t[r]);
|
|
3705
3635
|
if (qe)
|
|
3706
3636
|
for (var r of qe(t))
|
|
3707
|
-
|
|
3637
|
+
Hn.call(t, r) && Je(e, r, t[r]);
|
|
3708
3638
|
return e;
|
|
3709
|
-
},
|
|
3710
|
-
let
|
|
3711
|
-
const
|
|
3639
|
+
}, Sn = (e, t) => vn(e, _n(t));
|
|
3640
|
+
let Le;
|
|
3641
|
+
const ae = le(null);
|
|
3712
3642
|
function Ye(e) {
|
|
3713
3643
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3714
3644
|
}
|
|
3715
|
-
function
|
|
3645
|
+
function me(e, t = V().fallbackLocale) {
|
|
3716
3646
|
const r = Ye(e);
|
|
3717
3647
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
|
|
3718
3648
|
}
|
|
3719
3649
|
function R() {
|
|
3720
|
-
return
|
|
3650
|
+
return Le ?? void 0;
|
|
3721
3651
|
}
|
|
3722
|
-
|
|
3723
|
-
|
|
3652
|
+
ae.subscribe((e) => {
|
|
3653
|
+
Le = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3724
3654
|
});
|
|
3725
|
-
const
|
|
3726
|
-
if (e &&
|
|
3655
|
+
const Bn = (e) => {
|
|
3656
|
+
if (e && fn(e) && Ie(e)) {
|
|
3727
3657
|
const { loadingDelay: t } = V();
|
|
3728
3658
|
let r;
|
|
3729
3659
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3730
|
-
() =>
|
|
3660
|
+
() => _e.set(!0),
|
|
3731
3661
|
t
|
|
3732
|
-
) :
|
|
3733
|
-
|
|
3662
|
+
) : _e.set(!0), Ot(e).then(() => {
|
|
3663
|
+
ae.set(e);
|
|
3734
3664
|
}).finally(() => {
|
|
3735
|
-
clearTimeout(r),
|
|
3665
|
+
clearTimeout(r), _e.set(!1);
|
|
3736
3666
|
});
|
|
3737
3667
|
}
|
|
3738
|
-
return
|
|
3739
|
-
}, M =
|
|
3740
|
-
set:
|
|
3741
|
-
}),
|
|
3668
|
+
return ae.set(e);
|
|
3669
|
+
}, M = Sn(Tn({}, ae), {
|
|
3670
|
+
set: Bn
|
|
3671
|
+
}), ge = (e) => {
|
|
3742
3672
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3743
3673
|
return (n) => {
|
|
3744
3674
|
const i = JSON.stringify(n);
|
|
3745
3675
|
return i in t ? t[i] : t[i] = e(n);
|
|
3746
3676
|
};
|
|
3747
3677
|
};
|
|
3748
|
-
var
|
|
3678
|
+
var An = Object.defineProperty, oe = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
|
|
3749
3679
|
for (var r in t || (t = {}))
|
|
3750
3680
|
Nt.call(t, r) && Ke(e, r, t[r]);
|
|
3751
|
-
if (
|
|
3752
|
-
for (var r of
|
|
3753
|
-
|
|
3681
|
+
if (oe)
|
|
3682
|
+
for (var r of oe(t))
|
|
3683
|
+
It.call(t, r) && Ke(e, r, t[r]);
|
|
3754
3684
|
return e;
|
|
3755
3685
|
}, Z = (e, t) => {
|
|
3756
3686
|
var r = {};
|
|
3757
3687
|
for (var n in e)
|
|
3758
3688
|
Nt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3759
|
-
if (e != null &&
|
|
3760
|
-
for (var n of
|
|
3761
|
-
t.indexOf(n) < 0 &&
|
|
3689
|
+
if (e != null && oe)
|
|
3690
|
+
for (var n of oe(e))
|
|
3691
|
+
t.indexOf(n) < 0 && It.call(e, n) && (r[n] = e[n]);
|
|
3762
3692
|
return r;
|
|
3763
3693
|
};
|
|
3764
3694
|
const K = (e, t) => {
|
|
@@ -3766,21 +3696,21 @@ const K = (e, t) => {
|
|
|
3766
3696
|
if (e in r && t in r[e])
|
|
3767
3697
|
return r[e][t];
|
|
3768
3698
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3769
|
-
},
|
|
3699
|
+
}, wn = ge(
|
|
3770
3700
|
(e) => {
|
|
3771
3701
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3772
3702
|
if (r == null)
|
|
3773
3703
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3774
3704
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3775
3705
|
}
|
|
3776
|
-
),
|
|
3706
|
+
), Pn = ge(
|
|
3777
3707
|
(e) => {
|
|
3778
3708
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3779
3709
|
if (r == null)
|
|
3780
3710
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3781
3711
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3782
3712
|
}
|
|
3783
|
-
), On =
|
|
3713
|
+
), On = ge(
|
|
3784
3714
|
(e) => {
|
|
3785
3715
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3786
3716
|
if (r == null)
|
|
@@ -3789,33 +3719,33 @@ const K = (e, t) => {
|
|
|
3789
3719
|
);
|
|
3790
3720
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3791
3721
|
}
|
|
3792
|
-
),
|
|
3722
|
+
), Nn = (e = {}) => {
|
|
3793
3723
|
var t = e, {
|
|
3794
3724
|
locale: r = R()
|
|
3795
3725
|
} = t, n = Z(t, [
|
|
3796
3726
|
"locale"
|
|
3797
3727
|
]);
|
|
3798
|
-
return
|
|
3799
|
-
},
|
|
3728
|
+
return wn(Ue({ locale: r }, n));
|
|
3729
|
+
}, In = (e = {}) => {
|
|
3800
3730
|
var t = e, {
|
|
3801
3731
|
locale: r = R()
|
|
3802
3732
|
} = t, n = Z(t, [
|
|
3803
3733
|
"locale"
|
|
3804
3734
|
]);
|
|
3805
|
-
return
|
|
3806
|
-
},
|
|
3735
|
+
return Pn(Ue({ locale: r }, n));
|
|
3736
|
+
}, Ln = (e = {}) => {
|
|
3807
3737
|
var t = e, {
|
|
3808
3738
|
locale: r = R()
|
|
3809
3739
|
} = t, n = Z(t, [
|
|
3810
3740
|
"locale"
|
|
3811
3741
|
]);
|
|
3812
3742
|
return On(Ue({ locale: r }, n));
|
|
3813
|
-
},
|
|
3743
|
+
}, Cn = ge(
|
|
3814
3744
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3815
|
-
(e, t = R()) => new
|
|
3745
|
+
(e, t = R()) => new an(e, t, V().formats, {
|
|
3816
3746
|
ignoreTag: V().ignoreTag
|
|
3817
3747
|
})
|
|
3818
|
-
),
|
|
3748
|
+
), Mn = (e, t = {}) => {
|
|
3819
3749
|
var r, n, i, s;
|
|
3820
3750
|
let a = t;
|
|
3821
3751
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3828,7 +3758,7 @@ const K = (e, t) => {
|
|
|
3828
3758
|
throw new Error(
|
|
3829
3759
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3830
3760
|
);
|
|
3831
|
-
let h =
|
|
3761
|
+
let h = At(e, l);
|
|
3832
3762
|
if (!h)
|
|
3833
3763
|
h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3834
3764
|
else if (typeof h != "string")
|
|
@@ -3839,7 +3769,7 @@ const K = (e, t) => {
|
|
|
3839
3769
|
return h;
|
|
3840
3770
|
let m = h;
|
|
3841
3771
|
try {
|
|
3842
|
-
m =
|
|
3772
|
+
m = Cn(h, l).format(o);
|
|
3843
3773
|
} catch (f) {
|
|
3844
3774
|
f instanceof Error && console.warn(
|
|
3845
3775
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3847,23 +3777,23 @@ const K = (e, t) => {
|
|
|
3847
3777
|
);
|
|
3848
3778
|
}
|
|
3849
3779
|
return m;
|
|
3850
|
-
},
|
|
3780
|
+
}, Rn = (e, t) => Ln(t).format(e), $n = (e, t) => In(t).format(e), Un = (e, t) => Nn(t).format(e), Dn = (e, t = R()) => At(e, t), fi = W([M, z], () => Mn);
|
|
3781
|
+
W([M], () => Rn);
|
|
3851
3782
|
W([M], () => $n);
|
|
3852
3783
|
W([M], () => Un);
|
|
3853
|
-
W([M], () => Dn);
|
|
3854
|
-
|
|
3855
|
-
function Fn({ withLocale: e, translations: t }) {
|
|
3784
|
+
W([M, z], () => Dn);
|
|
3785
|
+
function Gn({ withLocale: e, translations: t }) {
|
|
3856
3786
|
M.subscribe((r) => {
|
|
3857
3787
|
r == null && (z.set(t), M.set(e));
|
|
3858
3788
|
});
|
|
3859
3789
|
}
|
|
3860
|
-
function
|
|
3790
|
+
function Fn(e, t) {
|
|
3861
3791
|
if (e) {
|
|
3862
3792
|
const r = document.createElement("style");
|
|
3863
3793
|
r.innerHTML = t, e.appendChild(r);
|
|
3864
3794
|
}
|
|
3865
3795
|
}
|
|
3866
|
-
function
|
|
3796
|
+
function jn(e, t) {
|
|
3867
3797
|
const r = new URL(t);
|
|
3868
3798
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3869
3799
|
const i = document.createElement("style");
|
|
@@ -3872,7 +3802,7 @@ function kn(e, t) {
|
|
|
3872
3802
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3873
3803
|
});
|
|
3874
3804
|
}
|
|
3875
|
-
function
|
|
3805
|
+
function kn(e, t, r) {
|
|
3876
3806
|
if (window.emMessageBus) {
|
|
3877
3807
|
const n = document.createElement("style");
|
|
3878
3808
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3892,18 +3822,18 @@ if (typeof window < "u") {
|
|
|
3892
3822
|
}
|
|
3893
3823
|
};
|
|
3894
3824
|
};
|
|
3895
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3825
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-DPawmciC.js").then(({ default: t }) => {
|
|
3896
3826
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3897
3827
|
});
|
|
3898
3828
|
}
|
|
3899
|
-
function
|
|
3900
|
-
|
|
3829
|
+
function Vn(e) {
|
|
3830
|
+
Mt(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))}");
|
|
3901
3831
|
}
|
|
3902
3832
|
function et(e) {
|
|
3903
3833
|
let t;
|
|
3904
3834
|
return {
|
|
3905
3835
|
c() {
|
|
3906
|
-
t =
|
|
3836
|
+
t = he("casino-games-category-section"), g(
|
|
3907
3837
|
t,
|
|
3908
3838
|
"session",
|
|
3909
3839
|
/*session*/
|
|
@@ -3996,7 +3926,7 @@ function et(e) {
|
|
|
3996
3926
|
);
|
|
3997
3927
|
},
|
|
3998
3928
|
m(r, n) {
|
|
3999
|
-
|
|
3929
|
+
Me(r, t, n);
|
|
4000
3930
|
},
|
|
4001
3931
|
p(r, n) {
|
|
4002
3932
|
n & /*session*/
|
|
@@ -4110,39 +4040,39 @@ function et(e) {
|
|
|
4110
4040
|
);
|
|
4111
4041
|
},
|
|
4112
4042
|
d(r) {
|
|
4113
|
-
r &&
|
|
4043
|
+
r && ue(t);
|
|
4114
4044
|
}
|
|
4115
4045
|
};
|
|
4116
4046
|
}
|
|
4117
|
-
function
|
|
4047
|
+
function Xn(e) {
|
|
4118
4048
|
let t, r = (
|
|
4119
4049
|
/*session*/
|
|
4120
4050
|
e[4] && et(e)
|
|
4121
4051
|
);
|
|
4122
4052
|
return {
|
|
4123
4053
|
c() {
|
|
4124
|
-
t =
|
|
4054
|
+
t = he("div"), r && r.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
|
|
4125
4055
|
},
|
|
4126
4056
|
m(n, i) {
|
|
4127
|
-
|
|
4057
|
+
Me(n, t, i), r && r.m(t, null), e[19](t);
|
|
4128
4058
|
},
|
|
4129
4059
|
p(n, [i]) {
|
|
4130
4060
|
/*session*/
|
|
4131
4061
|
n[4] ? r ? r.p(n, i) : (r = et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4132
4062
|
},
|
|
4133
|
-
i:
|
|
4134
|
-
o:
|
|
4063
|
+
i: O,
|
|
4064
|
+
o: O,
|
|
4135
4065
|
d(n) {
|
|
4136
|
-
n &&
|
|
4066
|
+
n && ue(t), r && r.d(), e[19](null);
|
|
4137
4067
|
}
|
|
4138
4068
|
};
|
|
4139
4069
|
}
|
|
4140
|
-
function
|
|
4070
|
+
function Wn(e, t, r) {
|
|
4141
4071
|
let { endpoint: n = "" } = 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: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
|
|
4142
|
-
|
|
4072
|
+
Gn({ withLocale: "en", translations: {} }), Gt(() => () => {
|
|
4143
4073
|
});
|
|
4144
|
-
function
|
|
4145
|
-
|
|
4074
|
+
function N(c) {
|
|
4075
|
+
xe[c ? "unshift" : "push"](() => {
|
|
4146
4076
|
x = c, r(18, x);
|
|
4147
4077
|
});
|
|
4148
4078
|
}
|
|
@@ -4150,9 +4080,9 @@ function zn(e, t, r) {
|
|
|
4150
4080
|
"endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, a = c.lang), "session" in c && r(4, o = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
|
|
4151
4081
|
}, e.$$.update = () => {
|
|
4152
4082
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4153
|
-
262208 && u && x &&
|
|
4154
|
-
262272 && h && x &&
|
|
4155
|
-
393216 && x &&
|
|
4083
|
+
262208 && u && x && Fn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4084
|
+
262272 && h && x && jn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4085
|
+
393216 && x && kn(x, `${P}.Style`);
|
|
4156
4086
|
}, [
|
|
4157
4087
|
n,
|
|
4158
4088
|
i,
|
|
@@ -4173,16 +4103,16 @@ function zn(e, t, r) {
|
|
|
4173
4103
|
S,
|
|
4174
4104
|
P,
|
|
4175
4105
|
x,
|
|
4176
|
-
|
|
4106
|
+
N
|
|
4177
4107
|
];
|
|
4178
4108
|
}
|
|
4179
|
-
class
|
|
4109
|
+
class zn extends Qt {
|
|
4180
4110
|
constructor(t) {
|
|
4181
|
-
super(),
|
|
4111
|
+
super(), zt(
|
|
4182
4112
|
this,
|
|
4183
4113
|
t,
|
|
4184
|
-
zn,
|
|
4185
4114
|
Wn,
|
|
4115
|
+
Xn,
|
|
4186
4116
|
rt,
|
|
4187
4117
|
{
|
|
4188
4118
|
endpoint: 0,
|
|
@@ -4204,7 +4134,7 @@ class Zn extends qt {
|
|
|
4204
4134
|
fetchviaevent: 16,
|
|
4205
4135
|
mbsource: 17
|
|
4206
4136
|
},
|
|
4207
|
-
|
|
4137
|
+
Vn
|
|
4208
4138
|
);
|
|
4209
4139
|
}
|
|
4210
4140
|
get endpoint() {
|
|
@@ -4316,51 +4246,50 @@ class Zn extends qt {
|
|
|
4316
4246
|
this.$$set({ mbsource: t }), H();
|
|
4317
4247
|
}
|
|
4318
4248
|
}
|
|
4319
|
-
|
|
4249
|
+
Zt(zn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4320
4250
|
export {
|
|
4321
4251
|
M as $,
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
me as c,
|
|
4252
|
+
ri as A,
|
|
4253
|
+
Zn as B,
|
|
4254
|
+
g as C,
|
|
4255
|
+
Fn as D,
|
|
4256
|
+
jn as E,
|
|
4257
|
+
kn as F,
|
|
4258
|
+
Zt as G,
|
|
4259
|
+
fi as H,
|
|
4260
|
+
ni as I,
|
|
4261
|
+
si as J,
|
|
4262
|
+
ii as K,
|
|
4263
|
+
Kn as L,
|
|
4264
|
+
ui as M,
|
|
4265
|
+
oi as N,
|
|
4266
|
+
zn as O,
|
|
4267
|
+
Qt as S,
|
|
4268
|
+
hi as _,
|
|
4269
|
+
be as a,
|
|
4270
|
+
li as b,
|
|
4271
|
+
fe as c,
|
|
4343
4272
|
z as d,
|
|
4344
|
-
|
|
4273
|
+
cn as e,
|
|
4345
4274
|
H as f,
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4275
|
+
Mt as g,
|
|
4276
|
+
ue as h,
|
|
4277
|
+
zt as i,
|
|
4278
|
+
Me as j,
|
|
4279
|
+
he as k,
|
|
4280
|
+
Qn as l,
|
|
4281
|
+
xe as m,
|
|
4282
|
+
O as n,
|
|
4283
|
+
Gt as o,
|
|
4284
|
+
ti as p,
|
|
4285
|
+
Ct as q,
|
|
4357
4286
|
Re as r,
|
|
4358
4287
|
rt as s,
|
|
4359
4288
|
it as t,
|
|
4360
|
-
|
|
4361
|
-
|
|
4289
|
+
ai as u,
|
|
4290
|
+
qn as v,
|
|
4362
4291
|
X as w,
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4292
|
+
ei as x,
|
|
4293
|
+
Jn as y,
|
|
4294
|
+
Yn as z
|
|
4366
4295
|
};
|