@everymatrix/casino-slider 1.75.0 → 1.75.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/CasinoSlider-CFKoVTOF.cjs +3 -0
- package/components/{CasinoSlider-CMPyMc_g.js → CasinoSlider-DL_bvtZw.js} +766 -762
- package/components/{CasinoSlider-5lZXuYHt.js → CasinoSlider-JyVDKB5k.js} +755 -751
- package/es2015/casino-slider.cjs +1 -1
- package/es2015/casino-slider.js +1 -1
- package/esnext/casino-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-CeKQcPVb.cjs +0 -16
@@ -2,29 +2,29 @@ var kr = Object.defineProperty, $r = Object.defineProperties;
|
|
2
2
|
var jr = Object.getOwnPropertyDescriptors;
|
3
3
|
var pt = Object.getOwnPropertySymbols;
|
4
4
|
var Vr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable;
|
5
|
-
var
|
5
|
+
var $e = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
Vr.call(t, r) &&
|
7
|
+
Vr.call(t, r) && $e(e, r, t[r]);
|
8
8
|
if (pt)
|
9
9
|
for (var r of pt(t))
|
10
|
-
Xr.call(t, r) &&
|
10
|
+
Xr.call(t, r) && $e(e, r, t[r]);
|
11
11
|
return e;
|
12
12
|
}, bt = (e, t) => $r(e, jr(t));
|
13
|
-
var G = (e, t, r) => (
|
13
|
+
var G = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
14
|
var yt = (e, t, r) => new Promise((n, i) => {
|
15
|
-
var
|
15
|
+
var o = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
18
18
|
} catch (l) {
|
19
19
|
i(l);
|
20
20
|
}
|
21
|
-
},
|
21
|
+
}, s = (u) => {
|
22
22
|
try {
|
23
23
|
a(r.throw(u));
|
24
24
|
} catch (l) {
|
25
25
|
i(l);
|
26
26
|
}
|
27
|
-
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(
|
27
|
+
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
30
|
function $() {
|
@@ -35,18 +35,18 @@ function zt(e) {
|
|
35
35
|
function vt() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
|
-
function
|
38
|
+
function K(e) {
|
39
39
|
e.forEach(zt);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function at(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
44
|
function Zt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
|
-
let
|
47
|
+
let Te;
|
48
48
|
function _t(e, t) {
|
49
|
-
return e === t ? !0 : (
|
49
|
+
return e === t ? !0 : (Te || (Te = document.createElement("a")), Te.href = t, e === Te.href);
|
50
50
|
}
|
51
51
|
function Wr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
@@ -103,13 +103,13 @@ function P(e) {
|
|
103
103
|
function Ce(e) {
|
104
104
|
return document.createTextNode(e);
|
105
105
|
}
|
106
|
-
function
|
106
|
+
function Y() {
|
107
107
|
return Ce(" ");
|
108
108
|
}
|
109
|
-
function
|
109
|
+
function _e() {
|
110
110
|
return Ce("");
|
111
111
|
}
|
112
|
-
function
|
112
|
+
function X(e, t, r, n) {
|
113
113
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
114
114
|
}
|
115
115
|
function Yr(e) {
|
@@ -117,13 +117,13 @@ function Yr(e) {
|
|
117
117
|
return t.preventDefault(), e.call(this, t);
|
118
118
|
};
|
119
119
|
}
|
120
|
-
function
|
120
|
+
function S(e, t, r) {
|
121
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
122
122
|
}
|
123
123
|
function Kr(e) {
|
124
124
|
return Array.from(e.childNodes);
|
125
125
|
}
|
126
|
-
function
|
126
|
+
function lt(e, t) {
|
127
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
128
128
|
t);
|
129
129
|
}
|
@@ -136,14 +136,14 @@ function en(e) {
|
|
136
136
|
}
|
137
137
|
), t;
|
138
138
|
}
|
139
|
-
let
|
140
|
-
function
|
141
|
-
|
139
|
+
let Ee;
|
140
|
+
function ye(e) {
|
141
|
+
Ee = e;
|
142
142
|
}
|
143
143
|
function tn() {
|
144
|
-
if (!
|
144
|
+
if (!Ee)
|
145
145
|
throw new Error("Function called outside component initialization");
|
146
|
-
return
|
146
|
+
return Ee;
|
147
147
|
}
|
148
148
|
function rn(e) {
|
149
149
|
tn().$$.on_mount.push(e);
|
@@ -152,113 +152,113 @@ function nn(e, t) {
|
|
152
152
|
const r = e.$$.callbacks[t.type];
|
153
153
|
r && r.slice().forEach((n) => n.call(this, t));
|
154
154
|
}
|
155
|
-
const
|
156
|
-
let
|
155
|
+
const oe = [], ve = [];
|
156
|
+
let se = [];
|
157
157
|
const Et = [], on = /* @__PURE__ */ Promise.resolve();
|
158
|
-
let
|
158
|
+
let qe = !1;
|
159
159
|
function sn() {
|
160
|
-
|
160
|
+
qe || (qe = !0, on.then(B));
|
161
161
|
}
|
162
|
-
function
|
163
|
-
|
162
|
+
function Je(e) {
|
163
|
+
se.push(e);
|
164
164
|
}
|
165
|
-
const
|
166
|
-
let
|
165
|
+
const je = /* @__PURE__ */ new Set();
|
166
|
+
let ne = 0;
|
167
167
|
function B() {
|
168
|
-
if (
|
168
|
+
if (ne !== 0)
|
169
169
|
return;
|
170
|
-
const e =
|
170
|
+
const e = Ee;
|
171
171
|
do {
|
172
172
|
try {
|
173
|
-
for (;
|
174
|
-
const t =
|
175
|
-
|
173
|
+
for (; ne < oe.length; ) {
|
174
|
+
const t = oe[ne];
|
175
|
+
ne++, ye(t), an(t.$$);
|
176
176
|
}
|
177
177
|
} catch (t) {
|
178
|
-
throw
|
178
|
+
throw oe.length = 0, ne = 0, t;
|
179
179
|
}
|
180
|
-
for (
|
181
|
-
|
182
|
-
for (let t = 0; t <
|
183
|
-
const r =
|
184
|
-
|
180
|
+
for (ye(null), oe.length = 0, ne = 0; ve.length; )
|
181
|
+
ve.pop()();
|
182
|
+
for (let t = 0; t < se.length; t += 1) {
|
183
|
+
const r = se[t];
|
184
|
+
je.has(r) || (je.add(r), r());
|
185
185
|
}
|
186
|
-
|
187
|
-
} while (
|
186
|
+
se.length = 0;
|
187
|
+
} while (oe.length);
|
188
188
|
for (; Et.length; )
|
189
189
|
Et.pop()();
|
190
|
-
|
190
|
+
qe = !1, je.clear(), ye(e);
|
191
191
|
}
|
192
192
|
function an(e) {
|
193
193
|
if (e.fragment !== null) {
|
194
|
-
e.update(),
|
194
|
+
e.update(), K(e.before_update);
|
195
195
|
const t = e.dirty;
|
196
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
196
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
|
197
197
|
}
|
198
198
|
}
|
199
199
|
function ln(e) {
|
200
200
|
const t = [], r = [];
|
201
|
-
|
201
|
+
se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
|
202
202
|
}
|
203
203
|
const un = /* @__PURE__ */ new Set();
|
204
204
|
function Qt(e, t) {
|
205
205
|
e && e.i && (un.delete(e), e.i(t));
|
206
206
|
}
|
207
|
-
function
|
207
|
+
function ae(e) {
|
208
208
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
209
209
|
}
|
210
210
|
function qt(e, t) {
|
211
211
|
e.d(1), t.delete(e.key);
|
212
212
|
}
|
213
|
-
function Jt(e, t, r, n, i,
|
214
|
-
let f = e.length, p =
|
213
|
+
function Jt(e, t, r, n, i, o, s, a, u, l, c, m) {
|
214
|
+
let f = e.length, p = o.length, g = f;
|
215
215
|
const b = {};
|
216
216
|
for (; g--; )
|
217
217
|
b[e[g].key] = g;
|
218
|
-
const d = [],
|
218
|
+
const d = [], C = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), w = [];
|
219
219
|
for (g = p; g--; ) {
|
220
|
-
const
|
221
|
-
let D =
|
222
|
-
D ? w.push(() => D.p(
|
220
|
+
const H = m(i, o, g), R = r(H);
|
221
|
+
let D = s.get(R);
|
222
|
+
D ? w.push(() => D.p(H, t)) : (D = l(R, H), D.c()), C.set(R, d[g] = D), R in b && E.set(R, Math.abs(g - b[R]));
|
223
223
|
}
|
224
224
|
const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
225
|
-
function v(
|
226
|
-
Qt(
|
225
|
+
function v(H) {
|
226
|
+
Qt(H, 1), H.m(a, c), s.set(H.key, H), c = H.first, p--;
|
227
227
|
}
|
228
228
|
for (; f && p; ) {
|
229
|
-
const
|
230
|
-
|
229
|
+
const H = d[p - 1], R = e[f - 1], D = H.key, te = R.key;
|
230
|
+
H === R ? (c = H.first, f--, p--) : C.has(te) ? !s.has(D) || O.has(D) ? v(H) : L.has(te) ? f-- : E.get(D) > E.get(te) ? (L.add(D), v(H)) : (O.add(te), f--) : (u(R, s), f--);
|
231
231
|
}
|
232
232
|
for (; f--; ) {
|
233
|
-
const
|
234
|
-
|
233
|
+
const H = e[f];
|
234
|
+
C.has(H.key) || u(H, s);
|
235
235
|
}
|
236
236
|
for (; p; )
|
237
237
|
v(d[p - 1]);
|
238
|
-
return
|
238
|
+
return K(w), d;
|
239
239
|
}
|
240
240
|
function hn(e, t, r) {
|
241
241
|
const { fragment: n, after_update: i } = e.$$;
|
242
|
-
n && n.m(t, r),
|
243
|
-
const
|
244
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
245
|
-
}), i.forEach(
|
242
|
+
n && n.m(t, r), Je(() => {
|
243
|
+
const o = e.$$.on_mount.map(zt).filter(at);
|
244
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
|
245
|
+
}), i.forEach(Je);
|
246
246
|
}
|
247
247
|
function cn(e, t) {
|
248
248
|
const r = e.$$;
|
249
|
-
r.fragment !== null && (ln(r.after_update),
|
249
|
+
r.fragment !== null && (ln(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
250
250
|
}
|
251
251
|
function fn(e, t) {
|
252
|
-
e.$$.dirty[0] === -1 && (
|
252
|
+
e.$$.dirty[0] === -1 && (oe.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
253
253
|
}
|
254
|
-
function mn(e, t, r, n, i,
|
255
|
-
const u =
|
256
|
-
|
254
|
+
function mn(e, t, r, n, i, o, s = null, a = [-1]) {
|
255
|
+
const u = Ee;
|
256
|
+
ye(e);
|
257
257
|
const l = e.$$ = {
|
258
258
|
fragment: null,
|
259
259
|
ctx: [],
|
260
260
|
// state
|
261
|
-
props:
|
261
|
+
props: o,
|
262
262
|
update: $,
|
263
263
|
not_equal: i,
|
264
264
|
bound: vt(),
|
@@ -275,12 +275,12 @@ function mn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
275
275
|
skip_bound: !1,
|
276
276
|
root: t.target || u.$$.root
|
277
277
|
};
|
278
|
-
|
278
|
+
s && s(l.root);
|
279
279
|
let c = !1;
|
280
280
|
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
281
281
|
const g = p.length ? p[0] : f;
|
282
282
|
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && fn(e, m)), f;
|
283
|
-
}) : [], l.update(), c = !0,
|
283
|
+
}) : [], l.update(), c = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
284
284
|
if (t.hydrate) {
|
285
285
|
const m = Kr(t.target);
|
286
286
|
l.fragment && l.fragment.l(m), m.forEach(U);
|
@@ -288,7 +288,7 @@ function mn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
288
288
|
l.fragment && l.fragment.c();
|
289
289
|
t.intro && Qt(e.$$.fragment), hn(e, t.target, t.anchor), B();
|
290
290
|
}
|
291
|
-
|
291
|
+
ye(u);
|
292
292
|
}
|
293
293
|
let Yt;
|
294
294
|
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
@@ -330,22 +330,22 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
330
330
|
connectedCallback() {
|
331
331
|
return yt(this, null, function* () {
|
332
332
|
if (this.$$cn = !0, !this.$$c) {
|
333
|
-
let t = function(
|
333
|
+
let t = function(o) {
|
334
334
|
return () => {
|
335
|
-
let
|
335
|
+
let s;
|
336
336
|
return {
|
337
337
|
c: function() {
|
338
|
-
|
338
|
+
s = P("slot"), o !== "default" && S(s, "name", o);
|
339
339
|
},
|
340
340
|
/**
|
341
341
|
* @param {HTMLElement} target
|
342
342
|
* @param {HTMLElement} [anchor]
|
343
343
|
*/
|
344
344
|
m: function(l, c) {
|
345
|
-
k(l,
|
345
|
+
k(l, s, c);
|
346
346
|
},
|
347
347
|
d: function(l) {
|
348
|
-
l && U(
|
348
|
+
l && U(s);
|
349
349
|
}
|
350
350
|
};
|
351
351
|
};
|
@@ -353,14 +353,14 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
353
353
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
354
354
|
return;
|
355
355
|
const r = {}, n = en(this);
|
356
|
-
for (const
|
357
|
-
|
358
|
-
for (const
|
359
|
-
const
|
360
|
-
|
356
|
+
for (const o of this.$$s)
|
357
|
+
o in n && (r[o] = [t(o)]);
|
358
|
+
for (const o of this.attributes) {
|
359
|
+
const s = this.$$g_p(o.name);
|
360
|
+
s in this.$$d || (this.$$d[s] = Be(s, o.value, this.$$p_d, "toProp"));
|
361
361
|
}
|
362
|
-
for (const
|
363
|
-
!(
|
362
|
+
for (const o in this.$$p_d)
|
363
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
364
364
|
this.$$c = new this.$$ctor({
|
365
365
|
target: this.shadowRoot || this,
|
366
366
|
props: bt(gt({}, this.$$d), {
|
@@ -372,23 +372,23 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
372
372
|
});
|
373
373
|
const i = () => {
|
374
374
|
this.$$r = !0;
|
375
|
-
for (const
|
376
|
-
if (this.$$d[
|
377
|
-
const
|
378
|
-
|
379
|
-
this.$$d[
|
375
|
+
for (const o in this.$$p_d)
|
376
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
377
|
+
const s = Be(
|
378
|
+
o,
|
379
|
+
this.$$d[o],
|
380
380
|
this.$$p_d,
|
381
381
|
"toAttribute"
|
382
382
|
);
|
383
|
-
|
383
|
+
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
384
384
|
}
|
385
385
|
this.$$r = !1;
|
386
386
|
};
|
387
387
|
this.$$c.$$.after_update.push(i), i();
|
388
|
-
for (const
|
389
|
-
for (const
|
390
|
-
const a = this.$$c.$on(
|
391
|
-
this.$$l_u.set(
|
388
|
+
for (const o in this.$$l)
|
389
|
+
for (const s of this.$$l[o]) {
|
390
|
+
const a = this.$$c.$on(o, s);
|
391
|
+
this.$$l_u.set(s, a);
|
392
392
|
}
|
393
393
|
this.$$l = {};
|
394
394
|
}
|
@@ -398,7 +398,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
398
398
|
// and setting attributes through setAttribute etc, this is helpful
|
399
399
|
attributeChangedCallback(t, r, n) {
|
400
400
|
var i;
|
401
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
401
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
402
402
|
}
|
403
403
|
disconnectedCallback() {
|
404
404
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -411,9 +411,9 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
411
411
|
) || t;
|
412
412
|
}
|
413
413
|
});
|
414
|
-
function
|
415
|
-
var
|
416
|
-
const i = (
|
414
|
+
function Be(e, t, r, n) {
|
415
|
+
var o;
|
416
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
417
417
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
418
418
|
return t;
|
419
419
|
if (n === "toAttribute")
|
@@ -441,8 +441,8 @@ function Ae(e, t, r, n) {
|
|
441
441
|
return t;
|
442
442
|
}
|
443
443
|
}
|
444
|
-
function dn(e, t, r, n, i,
|
445
|
-
let
|
444
|
+
function dn(e, t, r, n, i, o) {
|
445
|
+
let s = class extends Yt {
|
446
446
|
constructor() {
|
447
447
|
super(e, r, i), this.$$p_d = t;
|
448
448
|
}
|
@@ -453,24 +453,24 @@ function dn(e, t, r, n, i, s) {
|
|
453
453
|
}
|
454
454
|
};
|
455
455
|
return Object.keys(t).forEach((a) => {
|
456
|
-
Object.defineProperty(
|
456
|
+
Object.defineProperty(s.prototype, a, {
|
457
457
|
get() {
|
458
458
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
459
459
|
},
|
460
460
|
set(u) {
|
461
461
|
var l;
|
462
|
-
u =
|
462
|
+
u = Be(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
463
463
|
}
|
464
464
|
});
|
465
465
|
}), n.forEach((a) => {
|
466
|
-
Object.defineProperty(
|
466
|
+
Object.defineProperty(s.prototype, a, {
|
467
467
|
get() {
|
468
468
|
var u;
|
469
469
|
return (u = this.$$c) == null ? void 0 : u[a];
|
470
470
|
}
|
471
471
|
});
|
472
472
|
}), e.element = /** @type {any} */
|
473
|
-
|
473
|
+
s, s;
|
474
474
|
}
|
475
475
|
class pn {
|
476
476
|
constructor() {
|
@@ -502,7 +502,7 @@ class pn {
|
|
502
502
|
* @returns {() => void}
|
503
503
|
*/
|
504
504
|
$on(t, r) {
|
505
|
-
if (!
|
505
|
+
if (!at(r))
|
506
506
|
return $;
|
507
507
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
508
508
|
return n.push(r), () => {
|
@@ -543,44 +543,44 @@ function vn(e, t, r) {
|
|
543
543
|
});
|
544
544
|
}
|
545
545
|
}
|
546
|
-
const
|
546
|
+
const ie = [];
|
547
547
|
function _n(e, t) {
|
548
548
|
return {
|
549
|
-
subscribe:
|
549
|
+
subscribe: Oe(e, t).subscribe
|
550
550
|
};
|
551
551
|
}
|
552
|
-
function
|
552
|
+
function Oe(e, t = $) {
|
553
553
|
let r;
|
554
554
|
const n = /* @__PURE__ */ new Set();
|
555
555
|
function i(a) {
|
556
556
|
if (Zt(e, a) && (e = a, r)) {
|
557
|
-
const u = !
|
557
|
+
const u = !ie.length;
|
558
558
|
for (const l of n)
|
559
|
-
l[1](),
|
559
|
+
l[1](), ie.push(l, e);
|
560
560
|
if (u) {
|
561
|
-
for (let l = 0; l <
|
562
|
-
|
563
|
-
|
561
|
+
for (let l = 0; l < ie.length; l += 2)
|
562
|
+
ie[l][0](ie[l + 1]);
|
563
|
+
ie.length = 0;
|
564
564
|
}
|
565
565
|
}
|
566
566
|
}
|
567
|
-
function
|
567
|
+
function o(a) {
|
568
568
|
i(a(e));
|
569
569
|
}
|
570
|
-
function
|
570
|
+
function s(a, u = $) {
|
571
571
|
const l = [a, u];
|
572
|
-
return n.add(l), n.size === 1 && (r = t(i,
|
572
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
|
573
573
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
574
574
|
};
|
575
575
|
}
|
576
|
-
return { set: i, update:
|
576
|
+
return { set: i, update: o, subscribe: s };
|
577
577
|
}
|
578
|
-
function
|
578
|
+
function fe(e, t, r) {
|
579
579
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
580
580
|
if (!i.every(Boolean))
|
581
581
|
throw new Error("derived() expects stores as input, got a falsy value");
|
582
|
-
const
|
583
|
-
return _n(r, (
|
582
|
+
const o = t.length < 2;
|
583
|
+
return _n(r, (s, a) => {
|
584
584
|
let u = !1;
|
585
585
|
const l = [];
|
586
586
|
let c = 0, m = $;
|
@@ -588,8 +588,8 @@ function ce(e, t, r) {
|
|
588
588
|
if (c)
|
589
589
|
return;
|
590
590
|
m();
|
591
|
-
const g = t(n ? l[0] : l,
|
592
|
-
|
591
|
+
const g = t(n ? l[0] : l, s, a);
|
592
|
+
o ? s(g) : m = at(g) ? g : $;
|
593
593
|
}, p = i.map(
|
594
594
|
(g, b) => zr(
|
595
595
|
g,
|
@@ -602,7 +602,7 @@ function ce(e, t, r) {
|
|
602
602
|
)
|
603
603
|
);
|
604
604
|
return u = !0, f(), function() {
|
605
|
-
|
605
|
+
K(p), m(), u = !1;
|
606
606
|
};
|
607
607
|
});
|
608
608
|
}
|
@@ -610,12 +610,12 @@ function En(e) {
|
|
610
610
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
611
611
|
}
|
612
612
|
var xn = function(t) {
|
613
|
-
return
|
613
|
+
return wn(t) && !Cn(t);
|
614
614
|
};
|
615
|
-
function
|
615
|
+
function wn(e) {
|
616
616
|
return !!e && typeof e == "object";
|
617
617
|
}
|
618
|
-
function
|
618
|
+
function Cn(e) {
|
619
619
|
var t = Object.prototype.toString.call(e);
|
620
620
|
return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
|
621
621
|
}
|
@@ -626,19 +626,19 @@ function Tn(e) {
|
|
626
626
|
function An(e) {
|
627
627
|
return Array.isArray(e) ? [] : {};
|
628
628
|
}
|
629
|
-
function
|
630
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
629
|
+
function xe(e, t) {
|
630
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? le(An(e), e, t) : e;
|
631
631
|
}
|
632
632
|
function Bn(e, t, r) {
|
633
633
|
return e.concat(t).map(function(n) {
|
634
|
-
return
|
634
|
+
return xe(n, r);
|
635
635
|
});
|
636
636
|
}
|
637
637
|
function In(e, t) {
|
638
638
|
if (!t.customMerge)
|
639
|
-
return
|
639
|
+
return le;
|
640
640
|
var r = t.customMerge(e);
|
641
|
-
return typeof r == "function" ? r :
|
641
|
+
return typeof r == "function" ? r : le;
|
642
642
|
}
|
643
643
|
function Mn(e) {
|
644
644
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
@@ -661,65 +661,51 @@ function Ln(e, t) {
|
|
661
661
|
function Nn(e, t, r) {
|
662
662
|
var n = {};
|
663
663
|
return r.isMergeableObject(e) && xt(e).forEach(function(i) {
|
664
|
-
n[i] =
|
664
|
+
n[i] = xe(e[i], r);
|
665
665
|
}), xt(t).forEach(function(i) {
|
666
|
-
Ln(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] =
|
666
|
+
Ln(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
|
667
667
|
}), n;
|
668
668
|
}
|
669
|
-
function
|
670
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified =
|
671
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
672
|
-
return
|
669
|
+
function le(e, t, r) {
|
670
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = xe;
|
671
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
672
|
+
return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : xe(t, r);
|
673
673
|
}
|
674
|
-
|
674
|
+
le.all = function(t, r) {
|
675
675
|
if (!Array.isArray(t))
|
676
676
|
throw new Error("first argument should be an array");
|
677
677
|
return t.reduce(function(n, i) {
|
678
|
-
return
|
678
|
+
return le(n, i, r);
|
679
679
|
}, {});
|
680
680
|
};
|
681
|
-
var Pn =
|
681
|
+
var Pn = le, On = Pn;
|
682
682
|
const Fn = /* @__PURE__ */ En(On);
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
687
|
-
purpose with or without fee is hereby granted.
|
688
|
-
|
689
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
690
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
691
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
692
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
693
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
694
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
695
|
-
PERFORMANCE OF THIS SOFTWARE.
|
696
|
-
***************************************************************************** */
|
697
|
-
var qe = function(e, t) {
|
698
|
-
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
683
|
+
var Ye = function(e, t) {
|
684
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
699
685
|
r.__proto__ = n;
|
700
686
|
} || function(r, n) {
|
701
687
|
for (var i in n)
|
702
688
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
703
|
-
},
|
689
|
+
}, Ye(e, t);
|
704
690
|
};
|
705
|
-
function
|
691
|
+
function Fe(e, t) {
|
706
692
|
if (typeof t != "function" && t !== null)
|
707
693
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
708
|
-
|
694
|
+
Ye(e, t);
|
709
695
|
function r() {
|
710
696
|
this.constructor = e;
|
711
697
|
}
|
712
698
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
713
699
|
}
|
714
|
-
var
|
715
|
-
return
|
700
|
+
var j = function() {
|
701
|
+
return j = Object.assign || function(t) {
|
716
702
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
717
703
|
r = arguments[n];
|
718
|
-
for (var
|
719
|
-
Object.prototype.hasOwnProperty.call(r,
|
704
|
+
for (var o in r)
|
705
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
720
706
|
}
|
721
707
|
return t;
|
722
|
-
},
|
708
|
+
}, j.apply(this, arguments);
|
723
709
|
};
|
724
710
|
function Rn(e, t) {
|
725
711
|
var r = {};
|
@@ -730,14 +716,14 @@ function Rn(e, t) {
|
|
730
716
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
731
717
|
return r;
|
732
718
|
}
|
733
|
-
function
|
734
|
-
if (arguments.length === 2)
|
735
|
-
for (var n = 0, i = t.length,
|
736
|
-
(
|
737
|
-
return e.concat(
|
719
|
+
function Ve(e, t, r) {
|
720
|
+
if (r || arguments.length === 2)
|
721
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
722
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
723
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
738
724
|
}
|
739
|
-
function
|
740
|
-
var r = t && t.cache ? t.cache :
|
725
|
+
function Xe(e, t) {
|
726
|
+
var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Gn;
|
741
727
|
return i(e, {
|
742
728
|
cache: r,
|
743
729
|
serializer: n
|
@@ -746,95 +732,103 @@ function je(e, t) {
|
|
746
732
|
function Dn(e) {
|
747
733
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
748
734
|
}
|
749
|
-
function
|
750
|
-
var i = Dn(n) ? n : r(n),
|
751
|
-
return typeof
|
735
|
+
function Un(e, t, r, n) {
|
736
|
+
var i = Dn(n) ? n : r(n), o = t.get(i);
|
737
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
752
738
|
}
|
753
|
-
function
|
754
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
755
|
-
return typeof
|
739
|
+
function er(e, t, r) {
|
740
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
741
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
756
742
|
}
|
757
|
-
function
|
743
|
+
function tr(e, t, r, n, i) {
|
758
744
|
return r.bind(t, e, n, i);
|
759
745
|
}
|
760
|
-
function Un(e, t) {
|
761
|
-
var r = e.length === 1 ? er : tr;
|
762
|
-
return at(e, this, r, t.cache.create(), t.serializer);
|
763
|
-
}
|
764
746
|
function Gn(e, t) {
|
765
|
-
|
747
|
+
var r = e.length === 1 ? Un : er;
|
748
|
+
return tr(e, this, r, t.cache.create(), t.serializer);
|
766
749
|
}
|
767
750
|
function kn(e, t) {
|
768
|
-
return
|
751
|
+
return tr(e, this, er, t.cache.create(), t.serializer);
|
769
752
|
}
|
770
753
|
var $n = function() {
|
771
754
|
return JSON.stringify(arguments);
|
772
|
-
}
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
755
|
+
}, jn = (
|
756
|
+
/** @class */
|
757
|
+
function() {
|
758
|
+
function e() {
|
759
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
760
|
+
}
|
761
|
+
return e.prototype.get = function(t) {
|
762
|
+
return this.cache[t];
|
763
|
+
}, e.prototype.set = function(t, r) {
|
764
|
+
this.cache[t] = r;
|
765
|
+
}, e;
|
766
|
+
}()
|
767
|
+
), Vn = {
|
783
768
|
create: function() {
|
784
|
-
return new
|
769
|
+
return new jn();
|
785
770
|
}
|
786
|
-
},
|
787
|
-
variadic:
|
788
|
-
|
789
|
-
|
771
|
+
}, We = {
|
772
|
+
variadic: kn
|
773
|
+
}, Le = function() {
|
774
|
+
return Le = Object.assign || function(t) {
|
775
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
776
|
+
r = arguments[n];
|
777
|
+
for (var o in r)
|
778
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
779
|
+
}
|
780
|
+
return t;
|
781
|
+
}, Le.apply(this, arguments);
|
782
|
+
};
|
783
|
+
var y;
|
790
784
|
(function(e) {
|
791
785
|
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";
|
792
786
|
})(y || (y = {}));
|
793
|
-
var
|
787
|
+
var T;
|
794
788
|
(function(e) {
|
795
789
|
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";
|
796
|
-
})(
|
797
|
-
var
|
790
|
+
})(T || (T = {}));
|
791
|
+
var ue;
|
798
792
|
(function(e) {
|
799
793
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
800
|
-
})(
|
801
|
-
function
|
802
|
-
return e.type ===
|
794
|
+
})(ue || (ue = {}));
|
795
|
+
function wt(e) {
|
796
|
+
return e.type === T.literal;
|
803
797
|
}
|
804
|
-
function
|
805
|
-
return e.type ===
|
798
|
+
function Xn(e) {
|
799
|
+
return e.type === T.argument;
|
806
800
|
}
|
807
801
|
function rr(e) {
|
808
|
-
return e.type ===
|
802
|
+
return e.type === T.number;
|
809
803
|
}
|
810
804
|
function nr(e) {
|
811
|
-
return e.type ===
|
805
|
+
return e.type === T.date;
|
812
806
|
}
|
813
807
|
function ir(e) {
|
814
|
-
return e.type ===
|
808
|
+
return e.type === T.time;
|
815
809
|
}
|
816
810
|
function or(e) {
|
817
|
-
return e.type ===
|
811
|
+
return e.type === T.select;
|
818
812
|
}
|
819
813
|
function sr(e) {
|
820
|
-
return e.type ===
|
814
|
+
return e.type === T.plural;
|
821
815
|
}
|
822
|
-
function
|
823
|
-
return e.type ===
|
816
|
+
function Wn(e) {
|
817
|
+
return e.type === T.pound;
|
824
818
|
}
|
825
819
|
function ar(e) {
|
826
|
-
return e.type ===
|
820
|
+
return e.type === T.tag;
|
827
821
|
}
|
828
822
|
function lr(e) {
|
829
|
-
return !!(e && typeof e == "object" && e.type ===
|
823
|
+
return !!(e && typeof e == "object" && e.type === ue.number);
|
830
824
|
}
|
831
|
-
function
|
832
|
-
return !!(e && typeof e == "object" && e.type ===
|
825
|
+
function Ke(e) {
|
826
|
+
return !!(e && typeof e == "object" && e.type === ue.dateTime);
|
833
827
|
}
|
834
|
-
var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
835
|
-
function
|
828
|
+
var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
|
829
|
+
function Zn(e) {
|
836
830
|
var t = {};
|
837
|
-
return e.replace(
|
831
|
+
return e.replace(zn, function(r) {
|
838
832
|
var n = r.length;
|
839
833
|
switch (r[0]) {
|
840
834
|
case "G":
|
@@ -923,17 +917,27 @@ function zn(e) {
|
|
923
917
|
return "";
|
924
918
|
}), t;
|
925
919
|
}
|
926
|
-
var
|
927
|
-
function
|
920
|
+
var A = function() {
|
921
|
+
return A = Object.assign || function(t) {
|
922
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
923
|
+
r = arguments[n];
|
924
|
+
for (var o in r)
|
925
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
926
|
+
}
|
927
|
+
return t;
|
928
|
+
}, A.apply(this, arguments);
|
929
|
+
};
|
930
|
+
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
931
|
+
function qn(e) {
|
928
932
|
if (e.length === 0)
|
929
933
|
throw new Error("Number skeleton cannot be empty");
|
930
|
-
for (var t = e.split(
|
934
|
+
for (var t = e.split(Qn).filter(function(f) {
|
931
935
|
return f.length > 0;
|
932
936
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
933
|
-
var
|
934
|
-
if (
|
937
|
+
var o = i[n], s = o.split("/");
|
938
|
+
if (s.length === 0)
|
935
939
|
throw new Error("Invalid number skeleton");
|
936
|
-
for (var a =
|
940
|
+
for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
|
937
941
|
var m = c[l];
|
938
942
|
if (m.length === 0)
|
939
943
|
throw new Error("Invalid number skeleton");
|
@@ -942,10 +946,10 @@ function Qn(e) {
|
|
942
946
|
}
|
943
947
|
return r;
|
944
948
|
}
|
945
|
-
function
|
949
|
+
function Jn(e) {
|
946
950
|
return e.replace(/^(.*?)-/, "");
|
947
951
|
}
|
948
|
-
var
|
952
|
+
var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
949
953
|
function Ht(e) {
|
950
954
|
var t = {};
|
951
955
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
|
@@ -992,7 +996,7 @@ function fr(e) {
|
|
992
996
|
};
|
993
997
|
}
|
994
998
|
}
|
995
|
-
function
|
999
|
+
function Kn(e) {
|
996
1000
|
var t;
|
997
1001
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
998
1002
|
notation: "engineering"
|
@@ -1010,7 +1014,7 @@ function St(e) {
|
|
1010
1014
|
var t = {}, r = fr(e);
|
1011
1015
|
return r || t;
|
1012
1016
|
}
|
1013
|
-
function
|
1017
|
+
function ei(e) {
|
1014
1018
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1015
1019
|
var i = n[r];
|
1016
1020
|
switch (i.stem) {
|
@@ -1034,7 +1038,7 @@ function Kn(e) {
|
|
1034
1038
|
continue;
|
1035
1039
|
case "measure-unit":
|
1036
1040
|
case "unit":
|
1037
|
-
t.style = "unit", t.unit =
|
1041
|
+
t.style = "unit", t.unit = Jn(i.options[0]);
|
1038
1042
|
continue;
|
1039
1043
|
case "compact-short":
|
1040
1044
|
case "K":
|
@@ -1045,13 +1049,13 @@ function Kn(e) {
|
|
1045
1049
|
t.notation = "compact", t.compactDisplay = "long";
|
1046
1050
|
continue;
|
1047
1051
|
case "scientific":
|
1048
|
-
t =
|
1049
|
-
return
|
1052
|
+
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1053
|
+
return A(A({}, u), St(l));
|
1050
1054
|
}, {}));
|
1051
1055
|
continue;
|
1052
1056
|
case "engineering":
|
1053
|
-
t =
|
1054
|
-
return
|
1057
|
+
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1058
|
+
return A(A({}, u), St(l));
|
1055
1059
|
}, {}));
|
1056
1060
|
continue;
|
1057
1061
|
case "notation-simple":
|
@@ -1096,7 +1100,7 @@ function Kn(e) {
|
|
1096
1100
|
case "integer-width":
|
1097
1101
|
if (i.options.length > 1)
|
1098
1102
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1099
|
-
i.options[0].replace(
|
1103
|
+
i.options[0].replace(Yn, function(u, l, c, m, f, p) {
|
1100
1104
|
if (l)
|
1101
1105
|
t.minimumIntegerDigits = c.length;
|
1102
1106
|
else {
|
@@ -1113,28 +1117,28 @@ function Kn(e) {
|
|
1113
1117
|
t.minimumIntegerDigits = i.stem.length;
|
1114
1118
|
continue;
|
1115
1119
|
}
|
1116
|
-
if (
|
1120
|
+
if (Ct.test(i.stem)) {
|
1117
1121
|
if (i.options.length > 1)
|
1118
1122
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1119
|
-
i.stem.replace(
|
1123
|
+
i.stem.replace(Ct, function(u, l, c, m, f, p) {
|
1120
1124
|
return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1121
1125
|
});
|
1122
|
-
var
|
1123
|
-
|
1126
|
+
var o = i.options[0];
|
1127
|
+
o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Ht(o)));
|
1124
1128
|
continue;
|
1125
1129
|
}
|
1126
1130
|
if (hr.test(i.stem)) {
|
1127
|
-
t =
|
1131
|
+
t = A(A({}, t), Ht(i.stem));
|
1128
1132
|
continue;
|
1129
1133
|
}
|
1130
|
-
var
|
1131
|
-
|
1132
|
-
var a =
|
1133
|
-
a && (t =
|
1134
|
+
var s = fr(i.stem);
|
1135
|
+
s && (t = A(A({}, t), s));
|
1136
|
+
var a = Kn(i.stem);
|
1137
|
+
a && (t = A(A({}, t), a));
|
1134
1138
|
}
|
1135
1139
|
return t;
|
1136
1140
|
}
|
1137
|
-
var
|
1141
|
+
var Ae = {
|
1138
1142
|
"001": [
|
1139
1143
|
"H",
|
1140
1144
|
"h"
|
@@ -2549,23 +2553,23 @@ var Te = {
|
|
2549
2553
|
"h"
|
2550
2554
|
]
|
2551
2555
|
};
|
2552
|
-
function
|
2556
|
+
function ti(e, t) {
|
2553
2557
|
for (var r = "", n = 0; n < e.length; n++) {
|
2554
2558
|
var i = e.charAt(n);
|
2555
2559
|
if (i === "j") {
|
2556
|
-
for (var
|
2557
|
-
|
2558
|
-
var
|
2560
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2561
|
+
o++, n++;
|
2562
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ri(t);
|
2559
2563
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2560
2564
|
r += u;
|
2561
|
-
for (;
|
2565
|
+
for (; s-- > 0; )
|
2562
2566
|
r = l + r;
|
2563
2567
|
} else
|
2564
2568
|
i === "J" ? r += "H" : r += i;
|
2565
2569
|
}
|
2566
2570
|
return r;
|
2567
2571
|
}
|
2568
|
-
function
|
2572
|
+
function ri(e) {
|
2569
2573
|
var t = e.hourCycle;
|
2570
2574
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2571
2575
|
e.hourCycles && // @ts-ignore
|
@@ -2584,23 +2588,23 @@ function ti(e) {
|
|
2584
2588
|
}
|
2585
2589
|
var r = e.language, n;
|
2586
2590
|
r !== "root" && (n = e.maximize().region);
|
2587
|
-
var i =
|
2591
|
+
var i = Ae[n || ""] || Ae[r || ""] || Ae["".concat(r, "-001")] || Ae["001"];
|
2588
2592
|
return i[0];
|
2589
2593
|
}
|
2590
|
-
var
|
2594
|
+
var ze, ni = new RegExp("^".concat(ur.source, "*")), ii = new RegExp("".concat(ur.source, "*$"));
|
2591
2595
|
function _(e, t) {
|
2592
2596
|
return { start: e, end: t };
|
2593
2597
|
}
|
2594
|
-
var
|
2598
|
+
var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, li = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
|
2595
2599
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2596
|
-
},
|
2600
|
+
}, et = !0;
|
2597
2601
|
try {
|
2598
|
-
var
|
2599
|
-
|
2602
|
+
var mi = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2603
|
+
et = ((ze = mi.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
2600
2604
|
} catch (e) {
|
2601
|
-
|
2605
|
+
et = !1;
|
2602
2606
|
}
|
2603
|
-
var Tt =
|
2607
|
+
var Tt = oi ? (
|
2604
2608
|
// Native
|
2605
2609
|
function(t, r, n) {
|
2606
2610
|
return t.startsWith(r, n);
|
@@ -2610,31 +2614,31 @@ var Tt = ii ? (
|
|
2610
2614
|
function(t, r, n) {
|
2611
2615
|
return t.slice(n, n + r.length) === r;
|
2612
2616
|
}
|
2613
|
-
),
|
2617
|
+
), tt = si ? String.fromCodePoint : (
|
2614
2618
|
// IE11
|
2615
2619
|
function() {
|
2616
2620
|
for (var t = [], r = 0; r < arguments.length; r++)
|
2617
2621
|
t[r] = arguments[r];
|
2618
|
-
for (var n = "", i = t.length,
|
2619
|
-
if (
|
2620
|
-
throw RangeError(
|
2621
|
-
n +=
|
2622
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
2623
|
+
if (s = t[o++], s > 1114111)
|
2624
|
+
throw RangeError(s + " is not a valid code point");
|
2625
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
2622
2626
|
}
|
2623
2627
|
return n;
|
2624
2628
|
}
|
2625
2629
|
), At = (
|
2626
2630
|
// native
|
2627
|
-
|
2631
|
+
ai ? Object.fromEntries : (
|
2628
2632
|
// Ponyfill
|
2629
2633
|
function(t) {
|
2630
2634
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2631
|
-
var
|
2632
|
-
r[
|
2635
|
+
var o = i[n], s = o[0], a = o[1];
|
2636
|
+
r[s] = a;
|
2633
2637
|
}
|
2634
2638
|
return r;
|
2635
2639
|
}
|
2636
2640
|
)
|
2637
|
-
), mr =
|
2641
|
+
), mr = li ? (
|
2638
2642
|
// Native
|
2639
2643
|
function(t, r) {
|
2640
2644
|
return t.codePointAt(r);
|
@@ -2644,11 +2648,11 @@ var Tt = ii ? (
|
|
2644
2648
|
function(t, r) {
|
2645
2649
|
var n = t.length;
|
2646
2650
|
if (!(r < 0 || r >= n)) {
|
2647
|
-
var i = t.charCodeAt(r),
|
2648
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
2651
|
+
var i = t.charCodeAt(r), o;
|
2652
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2649
2653
|
}
|
2650
2654
|
}
|
2651
|
-
),
|
2655
|
+
), di = ui ? (
|
2652
2656
|
// Native
|
2653
2657
|
function(t) {
|
2654
2658
|
return t.trimStart();
|
@@ -2656,9 +2660,9 @@ var Tt = ii ? (
|
|
2656
2660
|
) : (
|
2657
2661
|
// Ponyfill
|
2658
2662
|
function(t) {
|
2659
|
-
return t.replace(
|
2663
|
+
return t.replace(ni, "");
|
2660
2664
|
}
|
2661
|
-
),
|
2665
|
+
), pi = hi ? (
|
2662
2666
|
// Native
|
2663
2667
|
function(t) {
|
2664
2668
|
return t.trimEnd();
|
@@ -2666,32 +2670,32 @@ var Tt = ii ? (
|
|
2666
2670
|
) : (
|
2667
2671
|
// Ponyfill
|
2668
2672
|
function(t) {
|
2669
|
-
return t.replace(
|
2673
|
+
return t.replace(ii, "");
|
2670
2674
|
}
|
2671
2675
|
);
|
2672
2676
|
function dr(e, t) {
|
2673
2677
|
return new RegExp(e, t);
|
2674
2678
|
}
|
2675
|
-
var
|
2676
|
-
if (
|
2679
|
+
var rt;
|
2680
|
+
if (et) {
|
2677
2681
|
var Bt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2678
|
-
|
2682
|
+
rt = function(t, r) {
|
2679
2683
|
var n;
|
2680
2684
|
Bt.lastIndex = r;
|
2681
2685
|
var i = Bt.exec(t);
|
2682
2686
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2683
2687
|
};
|
2684
2688
|
} else
|
2685
|
-
|
2689
|
+
rt = function(t, r) {
|
2686
2690
|
for (var n = []; ; ) {
|
2687
2691
|
var i = mr(t, r);
|
2688
|
-
if (i === void 0 || pr(i) ||
|
2692
|
+
if (i === void 0 || pr(i) || vi(i))
|
2689
2693
|
break;
|
2690
2694
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2691
2695
|
}
|
2692
|
-
return
|
2696
|
+
return tt.apply(void 0, n);
|
2693
2697
|
};
|
2694
|
-
var
|
2698
|
+
var gi = (
|
2695
2699
|
/** @class */
|
2696
2700
|
function() {
|
2697
2701
|
function e(t, r) {
|
@@ -2703,35 +2707,35 @@ var pi = (
|
|
2703
2707
|
return this.parseMessage(0, "", !1);
|
2704
2708
|
}, e.prototype.parseMessage = function(t, r, n) {
|
2705
2709
|
for (var i = []; !this.isEOF(); ) {
|
2706
|
-
var
|
2707
|
-
if (
|
2708
|
-
var
|
2709
|
-
if (
|
2710
|
-
return
|
2711
|
-
i.push(
|
2710
|
+
var o = this.char();
|
2711
|
+
if (o === 123) {
|
2712
|
+
var s = this.parseArgument(t, n);
|
2713
|
+
if (s.err)
|
2714
|
+
return s;
|
2715
|
+
i.push(s.val);
|
2712
2716
|
} else {
|
2713
|
-
if (
|
2717
|
+
if (o === 125 && t > 0)
|
2714
2718
|
break;
|
2715
|
-
if (
|
2719
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2716
2720
|
var a = this.clonePosition();
|
2717
2721
|
this.bump(), i.push({
|
2718
|
-
type:
|
2722
|
+
type: T.pound,
|
2719
2723
|
location: _(a, this.clonePosition())
|
2720
2724
|
});
|
2721
|
-
} else if (
|
2725
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2722
2726
|
if (n)
|
2723
2727
|
break;
|
2724
2728
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
2725
|
-
} else if (
|
2726
|
-
var
|
2727
|
-
if (
|
2728
|
-
return
|
2729
|
-
i.push(
|
2729
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
2730
|
+
var s = this.parseTag(t, r);
|
2731
|
+
if (s.err)
|
2732
|
+
return s;
|
2733
|
+
i.push(s.val);
|
2730
2734
|
} else {
|
2731
|
-
var
|
2732
|
-
if (
|
2733
|
-
return
|
2734
|
-
i.push(
|
2735
|
+
var s = this.parseLiteral(t, r);
|
2736
|
+
if (s.err)
|
2737
|
+
return s;
|
2738
|
+
i.push(s.val);
|
2735
2739
|
}
|
2736
2740
|
}
|
2737
2741
|
}
|
@@ -2743,26 +2747,26 @@ var pi = (
|
|
2743
2747
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2744
2748
|
return {
|
2745
2749
|
val: {
|
2746
|
-
type:
|
2750
|
+
type: T.literal,
|
2747
2751
|
value: "<".concat(i, "/>"),
|
2748
2752
|
location: _(n, this.clonePosition())
|
2749
2753
|
},
|
2750
2754
|
err: null
|
2751
2755
|
};
|
2752
2756
|
if (this.bumpIf(">")) {
|
2753
|
-
var
|
2754
|
-
if (
|
2755
|
-
return
|
2756
|
-
var
|
2757
|
+
var o = this.parseMessage(t + 1, r, !0);
|
2758
|
+
if (o.err)
|
2759
|
+
return o;
|
2760
|
+
var s = o.val, a = this.clonePosition();
|
2757
2761
|
if (this.bumpIf("</")) {
|
2758
|
-
if (this.isEOF() || !
|
2762
|
+
if (this.isEOF() || !nt(this.char()))
|
2759
2763
|
return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
|
2760
2764
|
var u = this.clonePosition(), l = this.parseTagName();
|
2761
2765
|
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2762
2766
|
val: {
|
2763
|
-
type:
|
2767
|
+
type: T.tag,
|
2764
2768
|
value: i,
|
2765
|
-
children:
|
2769
|
+
children: s,
|
2766
2770
|
location: _(n, this.clonePosition())
|
2767
2771
|
},
|
2768
2772
|
err: null
|
@@ -2773,21 +2777,21 @@ var pi = (
|
|
2773
2777
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
2774
2778
|
}, e.prototype.parseTagName = function() {
|
2775
2779
|
var t = this.offset();
|
2776
|
-
for (this.bump(); !this.isEOF() &&
|
2780
|
+
for (this.bump(); !this.isEOF() && yi(this.char()); )
|
2777
2781
|
this.bump();
|
2778
2782
|
return this.message.slice(t, this.offset());
|
2779
2783
|
}, e.prototype.parseLiteral = function(t, r) {
|
2780
2784
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
2781
|
-
var
|
2782
|
-
if (s) {
|
2783
|
-
i += s;
|
2784
|
-
continue;
|
2785
|
-
}
|
2786
|
-
var o = this.tryParseUnquoted(t, r);
|
2785
|
+
var o = this.tryParseQuote(r);
|
2787
2786
|
if (o) {
|
2788
2787
|
i += o;
|
2789
2788
|
continue;
|
2790
2789
|
}
|
2790
|
+
var s = this.tryParseUnquoted(t, r);
|
2791
|
+
if (s) {
|
2792
|
+
i += s;
|
2793
|
+
continue;
|
2794
|
+
}
|
2791
2795
|
var a = this.tryParseLeftAngleBracket();
|
2792
2796
|
if (a) {
|
2793
2797
|
i += a;
|
@@ -2797,12 +2801,12 @@ var pi = (
|
|
2797
2801
|
}
|
2798
2802
|
var u = _(n, this.clonePosition());
|
2799
2803
|
return {
|
2800
|
-
val: { type:
|
2804
|
+
val: { type: T.literal, value: i, location: u },
|
2801
2805
|
err: null
|
2802
2806
|
};
|
2803
2807
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2804
2808
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2805
|
-
!
|
2809
|
+
!bi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2806
2810
|
}, e.prototype.tryParseQuote = function(t) {
|
2807
2811
|
if (this.isEOF() || this.char() !== 39)
|
2808
2812
|
return null;
|
@@ -2836,12 +2840,12 @@ var pi = (
|
|
2836
2840
|
r.push(n);
|
2837
2841
|
this.bump();
|
2838
2842
|
}
|
2839
|
-
return
|
2843
|
+
return tt.apply(void 0, r);
|
2840
2844
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2841
2845
|
if (this.isEOF())
|
2842
2846
|
return null;
|
2843
2847
|
var n = this.char();
|
2844
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2848
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
|
2845
2849
|
}, e.prototype.parseArgument = function(t, r) {
|
2846
2850
|
var n = this.clonePosition();
|
2847
2851
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2857,7 +2861,7 @@ var pi = (
|
|
2857
2861
|
case 125:
|
2858
2862
|
return this.bump(), {
|
2859
2863
|
val: {
|
2860
|
-
type:
|
2864
|
+
type: T.argument,
|
2861
2865
|
// value does not include the opening and closing braces.
|
2862
2866
|
value: i,
|
2863
2867
|
location: _(n, this.clonePosition())
|
@@ -2870,15 +2874,15 @@ var pi = (
|
|
2870
2874
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
2871
2875
|
}
|
2872
2876
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2873
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2877
|
+
var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
|
2874
2878
|
this.bumpTo(i);
|
2875
|
-
var
|
2876
|
-
return { value: n, location:
|
2879
|
+
var o = this.clonePosition(), s = _(t, o);
|
2880
|
+
return { value: n, location: s };
|
2877
2881
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2878
|
-
var
|
2882
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
2879
2883
|
switch (a) {
|
2880
2884
|
case "":
|
2881
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE, _(
|
2885
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, u));
|
2882
2886
|
case "number":
|
2883
2887
|
case "date":
|
2884
2888
|
case "time": {
|
@@ -2889,7 +2893,7 @@ var pi = (
|
|
2889
2893
|
var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2890
2894
|
if (m.err)
|
2891
2895
|
return m;
|
2892
|
-
var f =
|
2896
|
+
var f = pi(m.val);
|
2893
2897
|
if (f.length === 0)
|
2894
2898
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
2895
2899
|
var p = _(c, this.clonePosition());
|
@@ -2900,24 +2904,24 @@ var pi = (
|
|
2900
2904
|
return g;
|
2901
2905
|
var b = _(i, this.clonePosition());
|
2902
2906
|
if (l && Tt(l == null ? void 0 : l.style, "::", 0)) {
|
2903
|
-
var d =
|
2907
|
+
var d = di(l.style.slice(2));
|
2904
2908
|
if (a === "number") {
|
2905
2909
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2906
2910
|
return m.err ? m : {
|
2907
|
-
val: { type:
|
2911
|
+
val: { type: T.number, value: n, location: b, style: m.val },
|
2908
2912
|
err: null
|
2909
2913
|
};
|
2910
2914
|
} else {
|
2911
2915
|
if (d.length === 0)
|
2912
2916
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2913
|
-
var
|
2914
|
-
this.locale && (
|
2917
|
+
var C = d;
|
2918
|
+
this.locale && (C = ti(d, this.locale));
|
2915
2919
|
var f = {
|
2916
|
-
type:
|
2917
|
-
pattern:
|
2920
|
+
type: ue.dateTime,
|
2921
|
+
pattern: C,
|
2918
2922
|
location: l.styleLocation,
|
2919
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2920
|
-
}, E = a === "date" ?
|
2923
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(C) : {}
|
2924
|
+
}, E = a === "date" ? T.date : T.time;
|
2921
2925
|
return {
|
2922
2926
|
val: { type: E, value: n, location: b, style: f },
|
2923
2927
|
err: null
|
@@ -2926,10 +2930,10 @@ var pi = (
|
|
2926
2930
|
}
|
2927
2931
|
return {
|
2928
2932
|
val: {
|
2929
|
-
type: a === "number" ?
|
2933
|
+
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
2930
2934
|
value: n,
|
2931
2935
|
location: b,
|
2932
|
-
style: (
|
2936
|
+
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
2933
2937
|
},
|
2934
2938
|
err: null
|
2935
2939
|
};
|
@@ -2939,7 +2943,7 @@ var pi = (
|
|
2939
2943
|
case "select": {
|
2940
2944
|
var w = this.clonePosition();
|
2941
2945
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2942
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w,
|
2946
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, Le({}, w)));
|
2943
2947
|
this.bumpSpace();
|
2944
2948
|
var O = this.parseIdentifierIfPossible(), L = 0;
|
2945
2949
|
if (a !== "select" && O.value === "offset") {
|
@@ -2957,29 +2961,29 @@ var pi = (
|
|
2957
2961
|
var g = this.tryParseArgumentClose(i);
|
2958
2962
|
if (g.err)
|
2959
2963
|
return g;
|
2960
|
-
var
|
2964
|
+
var H = _(i, this.clonePosition());
|
2961
2965
|
return a === "select" ? {
|
2962
2966
|
val: {
|
2963
|
-
type:
|
2967
|
+
type: T.select,
|
2964
2968
|
value: n,
|
2965
2969
|
options: At(v.val),
|
2966
|
-
location:
|
2970
|
+
location: H
|
2967
2971
|
},
|
2968
2972
|
err: null
|
2969
2973
|
} : {
|
2970
2974
|
val: {
|
2971
|
-
type:
|
2975
|
+
type: T.plural,
|
2972
2976
|
value: n,
|
2973
2977
|
options: At(v.val),
|
2974
2978
|
offset: L,
|
2975
2979
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2976
|
-
location:
|
2980
|
+
location: H
|
2977
2981
|
},
|
2978
2982
|
err: null
|
2979
2983
|
};
|
2980
2984
|
}
|
2981
2985
|
default:
|
2982
|
-
return this.error(y.INVALID_ARGUMENT_TYPE, _(
|
2986
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(s, u));
|
2983
2987
|
}
|
2984
2988
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2985
2989
|
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
@@ -3021,21 +3025,21 @@ var pi = (
|
|
3021
3025
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3022
3026
|
var n = [];
|
3023
3027
|
try {
|
3024
|
-
n =
|
3028
|
+
n = qn(t);
|
3025
3029
|
} catch (i) {
|
3026
3030
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
3027
3031
|
}
|
3028
3032
|
return {
|
3029
3033
|
val: {
|
3030
|
-
type:
|
3034
|
+
type: ue.number,
|
3031
3035
|
tokens: n,
|
3032
3036
|
location: r,
|
3033
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3037
|
+
parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
|
3034
3038
|
},
|
3035
3039
|
err: null
|
3036
3040
|
};
|
3037
3041
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
3038
|
-
for (var
|
3042
|
+
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
|
3039
3043
|
if (l.length === 0) {
|
3040
3044
|
var m = this.clonePosition();
|
3041
3045
|
if (r !== "select" && this.bumpIf("=")) {
|
@@ -3048,7 +3052,7 @@ var pi = (
|
|
3048
3052
|
}
|
3049
3053
|
if (u.has(l))
|
3050
3054
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
3051
|
-
l === "other" && (
|
3055
|
+
l === "other" && (s = !0), this.bumpSpace();
|
3052
3056
|
var p = this.clonePosition();
|
3053
3057
|
if (!this.bumpIf("{"))
|
3054
3058
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
@@ -3064,21 +3068,21 @@ var pi = (
|
|
3064
3068
|
value: g.val,
|
3065
3069
|
location: _(p, this.clonePosition())
|
3066
3070
|
}
|
3067
|
-
]), u.add(l), this.bumpSpace(),
|
3071
|
+
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
|
3068
3072
|
}
|
3069
|
-
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
3073
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3070
3074
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3071
3075
|
var n = 1, i = this.clonePosition();
|
3072
3076
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
3073
|
-
for (var
|
3077
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
3074
3078
|
var a = this.char();
|
3075
3079
|
if (a >= 48 && a <= 57)
|
3076
|
-
|
3080
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
3077
3081
|
else
|
3078
3082
|
break;
|
3079
3083
|
}
|
3080
3084
|
var u = _(i, this.clonePosition());
|
3081
|
-
return
|
3085
|
+
return o ? (s *= n, fi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
3082
3086
|
}, e.prototype.offset = function() {
|
3083
3087
|
return this.position.offset;
|
3084
3088
|
}, e.prototype.isEOF = function() {
|
@@ -3144,50 +3148,50 @@ var pi = (
|
|
3144
3148
|
}, e;
|
3145
3149
|
}()
|
3146
3150
|
);
|
3147
|
-
function
|
3151
|
+
function nt(e) {
|
3148
3152
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3149
3153
|
}
|
3150
|
-
function gi(e) {
|
3151
|
-
return tt(e) || e === 47;
|
3152
|
-
}
|
3153
3154
|
function bi(e) {
|
3155
|
+
return nt(e) || e === 47;
|
3156
|
+
}
|
3157
|
+
function yi(e) {
|
3154
3158
|
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;
|
3155
3159
|
}
|
3156
3160
|
function pr(e) {
|
3157
3161
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3158
3162
|
}
|
3159
|
-
function
|
3163
|
+
function vi(e) {
|
3160
3164
|
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;
|
3161
3165
|
}
|
3162
|
-
function
|
3166
|
+
function it(e) {
|
3163
3167
|
e.forEach(function(t) {
|
3164
3168
|
if (delete t.location, or(t) || sr(t))
|
3165
3169
|
for (var r in t.options)
|
3166
|
-
delete t.options[r].location,
|
3170
|
+
delete t.options[r].location, it(t.options[r].value);
|
3167
3171
|
else
|
3168
|
-
rr(t) && lr(t.style) || (nr(t) || ir(t)) &&
|
3172
|
+
rr(t) && lr(t.style) || (nr(t) || ir(t)) && Ke(t.style) ? delete t.style.location : ar(t) && it(t.children);
|
3169
3173
|
});
|
3170
3174
|
}
|
3171
|
-
function
|
3172
|
-
t === void 0 && (t = {}), t =
|
3173
|
-
var r = new
|
3175
|
+
function _i(e, t) {
|
3176
|
+
t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3177
|
+
var r = new gi(e, t).parse();
|
3174
3178
|
if (r.err) {
|
3175
3179
|
var n = SyntaxError(y[r.err.kind]);
|
3176
3180
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3177
3181
|
}
|
3178
|
-
return t != null && t.captureLocation ||
|
3182
|
+
return t != null && t.captureLocation || it(r.val), r.val;
|
3179
3183
|
}
|
3180
|
-
var
|
3184
|
+
var he;
|
3181
3185
|
(function(e) {
|
3182
3186
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3183
|
-
})(
|
3184
|
-
var
|
3187
|
+
})(he || (he = {}));
|
3188
|
+
var Re = (
|
3185
3189
|
/** @class */
|
3186
3190
|
function(e) {
|
3187
|
-
|
3191
|
+
Fe(t, e);
|
3188
3192
|
function t(r, n, i) {
|
3189
|
-
var
|
3190
|
-
return
|
3193
|
+
var o = e.call(this, r) || this;
|
3194
|
+
return o.code = n, o.originalMessage = i, o;
|
3191
3195
|
}
|
3192
3196
|
return t.prototype.toString = function() {
|
3193
3197
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
@@ -3196,35 +3200,35 @@ var Oe = (
|
|
3196
3200
|
), It = (
|
3197
3201
|
/** @class */
|
3198
3202
|
function(e) {
|
3199
|
-
|
3200
|
-
function t(r, n, i,
|
3201
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3203
|
+
Fe(t, e);
|
3204
|
+
function t(r, n, i, o) {
|
3205
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
|
3202
3206
|
}
|
3203
3207
|
return t;
|
3204
|
-
}(
|
3205
|
-
),
|
3208
|
+
}(Re)
|
3209
|
+
), Ei = (
|
3206
3210
|
/** @class */
|
3207
3211
|
function(e) {
|
3208
|
-
|
3212
|
+
Fe(t, e);
|
3209
3213
|
function t(r, n, i) {
|
3210
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3214
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
|
3211
3215
|
}
|
3212
3216
|
return t;
|
3213
|
-
}(
|
3214
|
-
),
|
3217
|
+
}(Re)
|
3218
|
+
), xi = (
|
3215
3219
|
/** @class */
|
3216
3220
|
function(e) {
|
3217
|
-
|
3221
|
+
Fe(t, e);
|
3218
3222
|
function t(r, n) {
|
3219
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3223
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
|
3220
3224
|
}
|
3221
3225
|
return t;
|
3222
|
-
}(
|
3226
|
+
}(Re)
|
3223
3227
|
), F;
|
3224
3228
|
(function(e) {
|
3225
3229
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3226
3230
|
})(F || (F = {}));
|
3227
|
-
function
|
3231
|
+
function wi(e) {
|
3228
3232
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3229
3233
|
var n = t[t.length - 1];
|
3230
3234
|
return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
|
@@ -3233,8 +3237,8 @@ function xi(e) {
|
|
3233
3237
|
function Ci(e) {
|
3234
3238
|
return typeof e == "function";
|
3235
3239
|
}
|
3236
|
-
function
|
3237
|
-
if (e.length === 1 &&
|
3240
|
+
function Ie(e, t, r, n, i, o, s) {
|
3241
|
+
if (e.length === 1 && wt(e[0]))
|
3238
3242
|
return [
|
3239
3243
|
{
|
3240
3244
|
type: F.literal,
|
@@ -3243,25 +3247,25 @@ function Be(e, t, r, n, i, s, o) {
|
|
3243
3247
|
];
|
3244
3248
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3245
3249
|
var c = l[u];
|
3246
|
-
if (
|
3250
|
+
if (wt(c)) {
|
3247
3251
|
a.push({
|
3248
3252
|
type: F.literal,
|
3249
3253
|
value: c.value
|
3250
3254
|
});
|
3251
3255
|
continue;
|
3252
3256
|
}
|
3253
|
-
if (
|
3254
|
-
typeof
|
3257
|
+
if (Wn(c)) {
|
3258
|
+
typeof o == "number" && a.push({
|
3255
3259
|
type: F.literal,
|
3256
|
-
value: r.getNumberFormat(t).format(
|
3260
|
+
value: r.getNumberFormat(t).format(o)
|
3257
3261
|
});
|
3258
3262
|
continue;
|
3259
3263
|
}
|
3260
3264
|
var m = c.value;
|
3261
3265
|
if (!(i && m in i))
|
3262
|
-
throw new
|
3266
|
+
throw new xi(m, s);
|
3263
3267
|
var f = i[m];
|
3264
|
-
if (
|
3268
|
+
if (Xn(c)) {
|
3265
3269
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3266
3270
|
type: typeof f == "string" ? F.literal : F.object,
|
3267
3271
|
value: f
|
@@ -3269,7 +3273,7 @@ function Be(e, t, r, n, i, s, o) {
|
|
3269
3273
|
continue;
|
3270
3274
|
}
|
3271
3275
|
if (nr(c)) {
|
3272
|
-
var p = typeof c.style == "string" ? n.date[c.style] :
|
3276
|
+
var p = typeof c.style == "string" ? n.date[c.style] : Ke(c.style) ? c.style.parsedOptions : void 0;
|
3273
3277
|
a.push({
|
3274
3278
|
type: F.literal,
|
3275
3279
|
value: r.getDateTimeFormat(t, p).format(f)
|
@@ -3277,7 +3281,7 @@ function Be(e, t, r, n, i, s, o) {
|
|
3277
3281
|
continue;
|
3278
3282
|
}
|
3279
3283
|
if (ir(c)) {
|
3280
|
-
var p = typeof c.style == "string" ? n.time[c.style] :
|
3284
|
+
var p = typeof c.style == "string" ? n.time[c.style] : Ke(c.style) ? c.style.parsedOptions : n.time.medium;
|
3281
3285
|
a.push({
|
3282
3286
|
type: F.literal,
|
3283
3287
|
value: r.getDateTimeFormat(t, p).format(f)
|
@@ -3295,8 +3299,8 @@ function Be(e, t, r, n, i, s, o) {
|
|
3295
3299
|
if (ar(c)) {
|
3296
3300
|
var g = c.children, b = c.value, d = i[b];
|
3297
3301
|
if (!Ci(d))
|
3298
|
-
throw new
|
3299
|
-
var
|
3302
|
+
throw new Ei(b, "function", s);
|
3303
|
+
var C = Ie(g, t, r, n, i, o), E = d(C.map(function(L) {
|
3300
3304
|
return L.value;
|
3301
3305
|
}));
|
3302
3306
|
Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
|
@@ -3309,39 +3313,39 @@ function Be(e, t, r, n, i, s, o) {
|
|
3309
3313
|
if (or(c)) {
|
3310
3314
|
var w = c.options[f] || c.options.other;
|
3311
3315
|
if (!w)
|
3312
|
-
throw new It(c.value, f, Object.keys(c.options),
|
3313
|
-
a.push.apply(a,
|
3316
|
+
throw new It(c.value, f, Object.keys(c.options), s);
|
3317
|
+
a.push.apply(a, Ie(w.value, t, r, n, i));
|
3314
3318
|
continue;
|
3315
3319
|
}
|
3316
3320
|
if (sr(c)) {
|
3317
3321
|
var w = c.options["=".concat(f)];
|
3318
3322
|
if (!w) {
|
3319
3323
|
if (!Intl.PluralRules)
|
3320
|
-
throw new
|
3324
|
+
throw new Re(`Intl.PluralRules is not available in this environment.
|
3321
3325
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3322
|
-
`,
|
3326
|
+
`, he.MISSING_INTL_API, s);
|
3323
3327
|
var O = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
|
3324
3328
|
w = c.options[O] || c.options.other;
|
3325
3329
|
}
|
3326
3330
|
if (!w)
|
3327
|
-
throw new It(c.value, f, Object.keys(c.options),
|
3328
|
-
a.push.apply(a,
|
3331
|
+
throw new It(c.value, f, Object.keys(c.options), s);
|
3332
|
+
a.push.apply(a, Ie(w.value, t, r, n, i, f - (c.offset || 0)));
|
3329
3333
|
continue;
|
3330
3334
|
}
|
3331
3335
|
}
|
3332
|
-
return
|
3336
|
+
return wi(a);
|
3333
3337
|
}
|
3334
|
-
function
|
3335
|
-
return t ?
|
3336
|
-
return r[n] =
|
3338
|
+
function Hi(e, t) {
|
3339
|
+
return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3340
|
+
return r[n] = j(j({}, e[n]), t[n] || {}), r;
|
3337
3341
|
}, {})) : e;
|
3338
3342
|
}
|
3339
|
-
function
|
3343
|
+
function Si(e, t) {
|
3340
3344
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3341
|
-
return r[n] =
|
3342
|
-
},
|
3345
|
+
return r[n] = Hi(e[n], t[n]), r;
|
3346
|
+
}, j({}, e)) : e;
|
3343
3347
|
}
|
3344
|
-
function
|
3348
|
+
function Ze(e) {
|
3345
3349
|
return {
|
3346
3350
|
create: function() {
|
3347
3351
|
return {
|
@@ -3355,50 +3359,50 @@ function We(e) {
|
|
3355
3359
|
}
|
3356
3360
|
};
|
3357
3361
|
}
|
3358
|
-
function
|
3362
|
+
function Ti(e) {
|
3359
3363
|
return e === void 0 && (e = {
|
3360
3364
|
number: {},
|
3361
3365
|
dateTime: {},
|
3362
3366
|
pluralRules: {}
|
3363
3367
|
}), {
|
3364
|
-
getNumberFormat:
|
3368
|
+
getNumberFormat: Xe(function() {
|
3365
3369
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3366
3370
|
r[n] = arguments[n];
|
3367
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3371
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], r, !1)))();
|
3368
3372
|
}, {
|
3369
|
-
cache:
|
3370
|
-
strategy:
|
3373
|
+
cache: Ze(e.number),
|
3374
|
+
strategy: We.variadic
|
3371
3375
|
}),
|
3372
|
-
getDateTimeFormat:
|
3376
|
+
getDateTimeFormat: Xe(function() {
|
3373
3377
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3374
3378
|
r[n] = arguments[n];
|
3375
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3379
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], r, !1)))();
|
3376
3380
|
}, {
|
3377
|
-
cache:
|
3378
|
-
strategy:
|
3381
|
+
cache: Ze(e.dateTime),
|
3382
|
+
strategy: We.variadic
|
3379
3383
|
}),
|
3380
|
-
getPluralRules:
|
3384
|
+
getPluralRules: Xe(function() {
|
3381
3385
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3382
3386
|
r[n] = arguments[n];
|
3383
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3387
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], r, !1)))();
|
3384
3388
|
}, {
|
3385
|
-
cache:
|
3386
|
-
strategy:
|
3389
|
+
cache: Ze(e.pluralRules),
|
3390
|
+
strategy: We.variadic
|
3387
3391
|
})
|
3388
3392
|
};
|
3389
3393
|
}
|
3390
|
-
var
|
3394
|
+
var Ai = (
|
3391
3395
|
/** @class */
|
3392
3396
|
function() {
|
3393
3397
|
function e(t, r, n, i) {
|
3394
3398
|
r === void 0 && (r = e.defaultLocale);
|
3395
|
-
var
|
3399
|
+
var o = this;
|
3396
3400
|
if (this.formatterCache = {
|
3397
3401
|
number: {},
|
3398
3402
|
dateTime: {},
|
3399
3403
|
pluralRules: {}
|
3400
3404
|
}, this.format = function(u) {
|
3401
|
-
var l =
|
3405
|
+
var l = o.formatToParts(u);
|
3402
3406
|
if (l.length === 1)
|
3403
3407
|
return l[0].value;
|
3404
3408
|
var c = l.reduce(function(m, f) {
|
@@ -3406,26 +3410,26 @@ var Ti = (
|
|
3406
3410
|
}, []);
|
3407
3411
|
return c.length <= 1 ? c[0] || "" : c;
|
3408
3412
|
}, this.formatToParts = function(u) {
|
3409
|
-
return
|
3413
|
+
return Ie(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
3410
3414
|
}, this.resolvedOptions = function() {
|
3411
3415
|
var u;
|
3412
3416
|
return {
|
3413
|
-
locale: ((u =
|
3417
|
+
locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
3414
3418
|
};
|
3415
3419
|
}, this.getAst = function() {
|
3416
|
-
return
|
3420
|
+
return o.ast;
|
3417
3421
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
3418
3422
|
if (this.message = t, !e.__parse)
|
3419
3423
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3420
|
-
var
|
3421
|
-
|
3422
|
-
var a = Rn(
|
3423
|
-
this.ast = e.__parse(t,
|
3424
|
+
var s = i || {};
|
3425
|
+
s.formatters;
|
3426
|
+
var a = Rn(s, ["formatters"]);
|
3427
|
+
this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
|
3424
3428
|
} else
|
3425
3429
|
this.ast = t;
|
3426
3430
|
if (!Array.isArray(this.ast))
|
3427
3431
|
throw new TypeError("A message must be provided as a String or AST.");
|
3428
|
-
this.formats =
|
3432
|
+
this.formats = Si(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
|
3429
3433
|
}
|
3430
3434
|
return Object.defineProperty(e, "defaultLocale", {
|
3431
3435
|
get: function() {
|
@@ -3438,7 +3442,7 @@ var Ti = (
|
|
3438
3442
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3439
3443
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3440
3444
|
}
|
3441
|
-
}, e.__parse =
|
3445
|
+
}, e.__parse = _i, e.formats = {
|
3442
3446
|
number: {
|
3443
3447
|
integer: {
|
3444
3448
|
maximumFractionDigits: 0
|
@@ -3499,7 +3503,7 @@ var Ti = (
|
|
3499
3503
|
}, e;
|
3500
3504
|
}()
|
3501
3505
|
);
|
3502
|
-
function
|
3506
|
+
function Bi(e, t) {
|
3503
3507
|
if (t == null)
|
3504
3508
|
return;
|
3505
3509
|
if (t in e)
|
@@ -3509,9 +3513,9 @@ function Ai(e, t) {
|
|
3509
3513
|
for (let i = 0; i < r.length; i++)
|
3510
3514
|
if (typeof n == "object") {
|
3511
3515
|
if (i > 0) {
|
3512
|
-
const
|
3513
|
-
if (
|
3514
|
-
n = n[
|
3516
|
+
const o = r.slice(i, r.length).join(".");
|
3517
|
+
if (o in n) {
|
3518
|
+
n = n[o];
|
3515
3519
|
break;
|
3516
3520
|
}
|
3517
3521
|
}
|
@@ -3520,36 +3524,36 @@ function Ai(e, t) {
|
|
3520
3524
|
n = void 0;
|
3521
3525
|
return n;
|
3522
3526
|
}
|
3523
|
-
const
|
3527
|
+
const z = {}, Ii = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), gr = (e, t) => {
|
3524
3528
|
if (t == null)
|
3525
3529
|
return;
|
3526
|
-
if (t in
|
3527
|
-
return
|
3528
|
-
const r =
|
3530
|
+
if (t in z && e in z[t])
|
3531
|
+
return z[t][e];
|
3532
|
+
const r = De(t);
|
3529
3533
|
for (let n = 0; n < r.length; n++) {
|
3530
|
-
const i = r[n],
|
3531
|
-
if (
|
3532
|
-
return
|
3534
|
+
const i = r[n], o = Li(i, e);
|
3535
|
+
if (o)
|
3536
|
+
return Ii(e, t, o);
|
3533
3537
|
}
|
3534
3538
|
};
|
3535
3539
|
let ut;
|
3536
|
-
const
|
3537
|
-
function
|
3540
|
+
const me = Oe({});
|
3541
|
+
function Mi(e) {
|
3538
3542
|
return ut[e] || null;
|
3539
3543
|
}
|
3540
3544
|
function br(e) {
|
3541
3545
|
return e in ut;
|
3542
3546
|
}
|
3543
|
-
function
|
3547
|
+
function Li(e, t) {
|
3544
3548
|
if (!br(e))
|
3545
3549
|
return null;
|
3546
|
-
const r =
|
3547
|
-
return
|
3550
|
+
const r = Mi(e);
|
3551
|
+
return Bi(r, t);
|
3548
3552
|
}
|
3549
|
-
function
|
3553
|
+
function Ni(e) {
|
3550
3554
|
if (e == null)
|
3551
3555
|
return;
|
3552
|
-
const t =
|
3556
|
+
const t = De(e);
|
3553
3557
|
for (let r = 0; r < t.length; r++) {
|
3554
3558
|
const n = t[r];
|
3555
3559
|
if (br(n))
|
@@ -3557,55 +3561,55 @@ function Li(e) {
|
|
3557
3561
|
}
|
3558
3562
|
}
|
3559
3563
|
function yr(e, ...t) {
|
3560
|
-
delete
|
3564
|
+
delete z[e], me.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
|
3561
3565
|
}
|
3562
|
-
|
3563
|
-
[
|
3566
|
+
fe(
|
3567
|
+
[me],
|
3564
3568
|
([e]) => Object.keys(e)
|
3565
3569
|
);
|
3566
|
-
|
3567
|
-
const
|
3568
|
-
function
|
3569
|
-
|
3570
|
+
me.subscribe((e) => ut = e);
|
3571
|
+
const Me = {};
|
3572
|
+
function Pi(e, t) {
|
3573
|
+
Me[e].delete(t), Me[e].size === 0 && delete Me[e];
|
3570
3574
|
}
|
3571
3575
|
function vr(e) {
|
3572
|
-
return
|
3576
|
+
return Me[e];
|
3573
3577
|
}
|
3574
|
-
function
|
3575
|
-
return
|
3578
|
+
function Oi(e) {
|
3579
|
+
return De(e).map((t) => {
|
3576
3580
|
const r = vr(t);
|
3577
3581
|
return [t, r ? [...r] : []];
|
3578
3582
|
}).filter(([, t]) => t.length > 0);
|
3579
3583
|
}
|
3580
|
-
function
|
3581
|
-
return e == null ? !1 :
|
3584
|
+
function ot(e) {
|
3585
|
+
return e == null ? !1 : De(e).some(
|
3582
3586
|
(t) => {
|
3583
3587
|
var r;
|
3584
3588
|
return (r = vr(t)) == null ? void 0 : r.size;
|
3585
3589
|
}
|
3586
3590
|
);
|
3587
3591
|
}
|
3588
|
-
function
|
3592
|
+
function Fi(e, t) {
|
3589
3593
|
return Promise.all(
|
3590
|
-
t.map((n) => (
|
3594
|
+
t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
|
3591
3595
|
).then((n) => yr(e, ...n));
|
3592
3596
|
}
|
3593
|
-
const
|
3597
|
+
const be = {};
|
3594
3598
|
function _r(e) {
|
3595
|
-
if (!
|
3596
|
-
return e in
|
3597
|
-
const t =
|
3598
|
-
return
|
3599
|
+
if (!ot(e))
|
3600
|
+
return e in be ? be[e] : Promise.resolve();
|
3601
|
+
const t = Oi(e);
|
3602
|
+
return be[e] = Promise.all(
|
3599
3603
|
t.map(
|
3600
|
-
([r, n]) =>
|
3604
|
+
([r, n]) => Fi(r, n)
|
3601
3605
|
)
|
3602
3606
|
).then(() => {
|
3603
|
-
if (
|
3607
|
+
if (ot(e))
|
3604
3608
|
return _r(e);
|
3605
|
-
delete
|
3606
|
-
}),
|
3609
|
+
delete be[e];
|
3610
|
+
}), be[e];
|
3607
3611
|
}
|
3608
|
-
const
|
3612
|
+
const Ri = {
|
3609
3613
|
number: {
|
3610
3614
|
scientific: { notation: "scientific" },
|
3611
3615
|
engineering: { notation: "engineering" },
|
@@ -3634,150 +3638,150 @@ const Fi = {
|
|
3634
3638
|
timeZoneName: "short"
|
3635
3639
|
}
|
3636
3640
|
}
|
3637
|
-
},
|
3641
|
+
}, Di = {
|
3638
3642
|
fallbackLocale: null,
|
3639
3643
|
loadingDelay: 200,
|
3640
|
-
formats:
|
3644
|
+
formats: Ri,
|
3641
3645
|
warnOnMissingMessages: !0,
|
3642
3646
|
handleMissingMessage: void 0,
|
3643
3647
|
ignoreTag: !0
|
3644
|
-
},
|
3645
|
-
function
|
3646
|
-
return
|
3648
|
+
}, Ui = Di;
|
3649
|
+
function ce() {
|
3650
|
+
return Ui;
|
3647
3651
|
}
|
3648
|
-
const
|
3649
|
-
var
|
3652
|
+
const Qe = Oe(!1);
|
3653
|
+
var Gi = Object.defineProperty, ki = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, ji = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
|
3650
3654
|
for (var r in t || (t = {}))
|
3651
|
-
|
3655
|
+
ji.call(t, r) && Lt(e, r, t[r]);
|
3652
3656
|
if (Mt)
|
3653
3657
|
for (var r of Mt(t))
|
3654
|
-
|
3658
|
+
Vi.call(t, r) && Lt(e, r, t[r]);
|
3655
3659
|
return e;
|
3656
|
-
},
|
3657
|
-
let
|
3658
|
-
const
|
3660
|
+
}, Wi = (e, t) => ki(e, $i(t));
|
3661
|
+
let st;
|
3662
|
+
const Ne = Oe(null);
|
3659
3663
|
function Nt(e) {
|
3660
3664
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3661
3665
|
}
|
3662
|
-
function
|
3666
|
+
function De(e, t = ce().fallbackLocale) {
|
3663
3667
|
const r = Nt(e);
|
3664
3668
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
|
3665
3669
|
}
|
3666
|
-
function
|
3667
|
-
return
|
3670
|
+
function ee() {
|
3671
|
+
return st != null ? st : void 0;
|
3668
3672
|
}
|
3669
|
-
|
3670
|
-
|
3673
|
+
Ne.subscribe((e) => {
|
3674
|
+
st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3671
3675
|
});
|
3672
|
-
const
|
3673
|
-
if (e &&
|
3674
|
-
const { loadingDelay: t } =
|
3676
|
+
const zi = (e) => {
|
3677
|
+
if (e && Ni(e) && ot(e)) {
|
3678
|
+
const { loadingDelay: t } = ce();
|
3675
3679
|
let r;
|
3676
|
-
return typeof window != "undefined" &&
|
3677
|
-
() =>
|
3680
|
+
return typeof window != "undefined" && ee() != null && t ? r = window.setTimeout(
|
3681
|
+
() => Qe.set(!0),
|
3678
3682
|
t
|
3679
|
-
) :
|
3680
|
-
|
3683
|
+
) : Qe.set(!0), _r(e).then(() => {
|
3684
|
+
Ne.set(e);
|
3681
3685
|
}).finally(() => {
|
3682
|
-
clearTimeout(r),
|
3686
|
+
clearTimeout(r), Qe.set(!1);
|
3683
3687
|
});
|
3684
3688
|
}
|
3685
|
-
return
|
3686
|
-
},
|
3687
|
-
set:
|
3688
|
-
}),
|
3689
|
+
return Ne.set(e);
|
3690
|
+
}, Z = Wi(Xi({}, Ne), {
|
3691
|
+
set: zi
|
3692
|
+
}), Ue = (e) => {
|
3689
3693
|
const t = /* @__PURE__ */ Object.create(null);
|
3690
3694
|
return (n) => {
|
3691
3695
|
const i = JSON.stringify(n);
|
3692
3696
|
return i in t ? t[i] : t[i] = e(n);
|
3693
3697
|
};
|
3694
3698
|
};
|
3695
|
-
var
|
3699
|
+
var Zi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
3696
3700
|
for (var r in t || (t = {}))
|
3697
3701
|
Er.call(t, r) && Pt(e, r, t[r]);
|
3698
|
-
if (
|
3699
|
-
for (var r of
|
3702
|
+
if (Pe)
|
3703
|
+
for (var r of Pe(t))
|
3700
3704
|
xr.call(t, r) && Pt(e, r, t[r]);
|
3701
3705
|
return e;
|
3702
|
-
},
|
3706
|
+
}, de = (e, t) => {
|
3703
3707
|
var r = {};
|
3704
3708
|
for (var n in e)
|
3705
3709
|
Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3706
|
-
if (e != null &&
|
3707
|
-
for (var n of
|
3710
|
+
if (e != null && Pe)
|
3711
|
+
for (var n of Pe(e))
|
3708
3712
|
t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
|
3709
3713
|
return r;
|
3710
3714
|
};
|
3711
|
-
const
|
3712
|
-
const { formats: r } =
|
3715
|
+
const we = (e, t) => {
|
3716
|
+
const { formats: r } = ce();
|
3713
3717
|
if (e in r && t in r[e])
|
3714
3718
|
return r[e][t];
|
3715
3719
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3716
|
-
},
|
3720
|
+
}, Qi = Ue(
|
3717
3721
|
(e) => {
|
3718
|
-
var t = e, { locale: r, format: n } = t, i =
|
3722
|
+
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
3719
3723
|
if (r == null)
|
3720
3724
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3721
|
-
return n && (i =
|
3725
|
+
return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
|
3722
3726
|
}
|
3723
|
-
),
|
3727
|
+
), qi = Ue(
|
3724
3728
|
(e) => {
|
3725
|
-
var t = e, { locale: r, format: n } = t, i =
|
3729
|
+
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
3726
3730
|
if (r == null)
|
3727
3731
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3728
|
-
return n ? i =
|
3732
|
+
return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
|
3729
3733
|
}
|
3730
|
-
),
|
3734
|
+
), Ji = Ue(
|
3731
3735
|
(e) => {
|
3732
|
-
var t = e, { locale: r, format: n } = t, i =
|
3736
|
+
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
3733
3737
|
if (r == null)
|
3734
3738
|
throw new Error(
|
3735
3739
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3736
3740
|
);
|
3737
|
-
return n ? i =
|
3741
|
+
return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
|
3738
3742
|
}
|
3739
|
-
),
|
3740
|
-
var t = e, {
|
3741
|
-
locale: r = K()
|
3742
|
-
} = t, n = me(t, [
|
3743
|
-
"locale"
|
3744
|
-
]);
|
3745
|
-
return Zi(ht({ locale: r }, n));
|
3746
|
-
}, Yi = (e = {}) => {
|
3743
|
+
), Yi = (e = {}) => {
|
3747
3744
|
var t = e, {
|
3748
|
-
locale: r =
|
3749
|
-
} = t, n =
|
3745
|
+
locale: r = ee()
|
3746
|
+
} = t, n = de(t, [
|
3750
3747
|
"locale"
|
3751
3748
|
]);
|
3752
3749
|
return Qi(ht({ locale: r }, n));
|
3753
3750
|
}, Ki = (e = {}) => {
|
3754
3751
|
var t = e, {
|
3755
|
-
locale: r =
|
3756
|
-
} = t, n =
|
3752
|
+
locale: r = ee()
|
3753
|
+
} = t, n = de(t, [
|
3757
3754
|
"locale"
|
3758
3755
|
]);
|
3759
3756
|
return qi(ht({ locale: r }, n));
|
3760
|
-
}, eo =
|
3757
|
+
}, eo = (e = {}) => {
|
3758
|
+
var t = e, {
|
3759
|
+
locale: r = ee()
|
3760
|
+
} = t, n = de(t, [
|
3761
|
+
"locale"
|
3762
|
+
]);
|
3763
|
+
return Ji(ht({ locale: r }, n));
|
3764
|
+
}, to = Ue(
|
3761
3765
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3762
|
-
(e, t =
|
3763
|
-
ignoreTag:
|
3766
|
+
(e, t = ee()) => new Ai(e, t, ce().formats, {
|
3767
|
+
ignoreTag: ce().ignoreTag
|
3764
3768
|
})
|
3765
|
-
),
|
3766
|
-
var r, n, i,
|
3767
|
-
let
|
3768
|
-
typeof e == "object" && (
|
3769
|
+
), ro = (e, t = {}) => {
|
3770
|
+
var r, n, i, o;
|
3771
|
+
let s = t;
|
3772
|
+
typeof e == "object" && (s = e, e = s.id);
|
3769
3773
|
const {
|
3770
3774
|
values: a,
|
3771
|
-
locale: u =
|
3775
|
+
locale: u = ee(),
|
3772
3776
|
default: l
|
3773
|
-
} =
|
3777
|
+
} = s;
|
3774
3778
|
if (u == null)
|
3775
3779
|
throw new Error(
|
3776
3780
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3777
3781
|
);
|
3778
3782
|
let c = gr(e, u);
|
3779
3783
|
if (!c)
|
3780
|
-
c = (
|
3784
|
+
c = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
3781
3785
|
else if (typeof c != "string")
|
3782
3786
|
return console.warn(
|
3783
3787
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -3786,7 +3790,7 @@ const xe = (e, t) => {
|
|
3786
3790
|
return c;
|
3787
3791
|
let m = c;
|
3788
3792
|
try {
|
3789
|
-
m =
|
3793
|
+
m = to(c, u).format(a);
|
3790
3794
|
} catch (f) {
|
3791
3795
|
f instanceof Error && console.warn(
|
3792
3796
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3794,22 +3798,22 @@ const xe = (e, t) => {
|
|
3794
3798
|
);
|
3795
3799
|
}
|
3796
3800
|
return m;
|
3797
|
-
},
|
3798
|
-
|
3799
|
-
|
3800
|
-
|
3801
|
-
|
3802
|
-
|
3803
|
-
function
|
3804
|
-
|
3805
|
-
r == null && (
|
3801
|
+
}, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = ee()) => gr(e, t);
|
3802
|
+
fe([Z, me], () => ro);
|
3803
|
+
fe([Z], () => no);
|
3804
|
+
fe([Z], () => io);
|
3805
|
+
fe([Z], () => oo);
|
3806
|
+
fe([Z, me], () => so);
|
3807
|
+
function ao({ withLocale: e, translations: t }) {
|
3808
|
+
Z.subscribe((r) => {
|
3809
|
+
r == null && (me.set(t), Z.set(e));
|
3806
3810
|
});
|
3807
3811
|
}
|
3808
3812
|
function Ot(e, t) {
|
3809
3813
|
yr(e, t);
|
3810
3814
|
}
|
3811
|
-
function
|
3812
|
-
|
3815
|
+
function lo(e) {
|
3816
|
+
Z.set(e);
|
3813
3817
|
}
|
3814
3818
|
const Ft = {
|
3815
3819
|
en: {
|
@@ -3868,7 +3872,7 @@ const Ft = {
|
|
3868
3872
|
deposit: "Deposit"
|
3869
3873
|
}
|
3870
3874
|
};
|
3871
|
-
function
|
3875
|
+
function uo(e) {
|
3872
3876
|
Zr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
3873
3877
|
}
|
3874
3878
|
function Rt(e, t, r) {
|
@@ -3884,87 +3888,87 @@ function Ut(e, t, r) {
|
|
3884
3888
|
return n[63] = t[r], n[65] = r, n;
|
3885
3889
|
}
|
3886
3890
|
function Gt(e) {
|
3887
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
3891
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = ae(
|
3888
3892
|
/*sliderdata*/
|
3889
3893
|
e[9]
|
3890
3894
|
);
|
3891
|
-
const
|
3895
|
+
const o = (s) => (
|
3892
3896
|
/*category*/
|
3893
|
-
|
3897
|
+
s[57].id
|
3894
3898
|
);
|
3895
|
-
for (let
|
3896
|
-
let a = Rt(e, i,
|
3897
|
-
r.set(u, t[
|
3899
|
+
for (let s = 0; s < i.length; s += 1) {
|
3900
|
+
let a = Rt(e, i, s), u = o(a);
|
3901
|
+
r.set(u, t[s] = Wt(u, a));
|
3898
3902
|
}
|
3899
3903
|
return {
|
3900
3904
|
c() {
|
3901
|
-
for (let
|
3902
|
-
t[
|
3903
|
-
n =
|
3905
|
+
for (let s = 0; s < t.length; s += 1)
|
3906
|
+
t[s].c();
|
3907
|
+
n = _e();
|
3904
3908
|
},
|
3905
|
-
m(
|
3909
|
+
m(s, a) {
|
3906
3910
|
for (let u = 0; u < t.length; u += 1)
|
3907
|
-
t[u] && t[u].m(
|
3908
|
-
k(
|
3911
|
+
t[u] && t[u].m(s, a);
|
3912
|
+
k(s, n, a);
|
3909
3913
|
},
|
3910
|
-
p(
|
3914
|
+
p(s, a) {
|
3911
3915
|
a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
3912
|
-
1183695 && (i =
|
3916
|
+
1183695 && (i = ae(
|
3913
3917
|
/*sliderdata*/
|
3914
|
-
|
3915
|
-
), t = Jt(t, a,
|
3918
|
+
s[9]
|
3919
|
+
), t = Jt(t, a, o, 1, s, i, r, n.parentNode, qt, Wt, n, Rt));
|
3916
3920
|
},
|
3917
|
-
d(
|
3918
|
-
|
3921
|
+
d(s) {
|
3922
|
+
s && U(n);
|
3919
3923
|
for (let a = 0; a < t.length; a += 1)
|
3920
|
-
t[a].d(
|
3924
|
+
t[a].d(s);
|
3921
3925
|
}
|
3922
3926
|
};
|
3923
3927
|
}
|
3924
|
-
function
|
3928
|
+
function ho(e) {
|
3925
3929
|
let t, r = (
|
3926
3930
|
/*category*/
|
3927
3931
|
e[57].name + ""
|
3928
3932
|
), n;
|
3929
3933
|
return {
|
3930
3934
|
c() {
|
3931
|
-
t = P("button"), n = Ce(r),
|
3935
|
+
t = P("button"), n = Ce(r), S(t, "class", "CategoryButton");
|
3932
3936
|
},
|
3933
|
-
m(i,
|
3934
|
-
k(i, t,
|
3937
|
+
m(i, o) {
|
3938
|
+
k(i, t, o), M(t, n);
|
3935
3939
|
},
|
3936
|
-
p(i,
|
3937
|
-
|
3940
|
+
p(i, o) {
|
3941
|
+
o[0] & /*sliderdata*/
|
3938
3942
|
512 && r !== (r = /*category*/
|
3939
|
-
i[57].name + "") &&
|
3943
|
+
i[57].name + "") && lt(n, r);
|
3940
3944
|
},
|
3941
3945
|
d(i) {
|
3942
3946
|
i && U(t);
|
3943
3947
|
}
|
3944
3948
|
};
|
3945
3949
|
}
|
3946
|
-
function
|
3950
|
+
function co(e) {
|
3947
3951
|
let t, r = (
|
3948
3952
|
/*category*/
|
3949
3953
|
e[57].label + ""
|
3950
3954
|
), n, i;
|
3951
3955
|
return {
|
3952
3956
|
c() {
|
3953
|
-
t = P("a"), n = Ce(r),
|
3957
|
+
t = P("a"), n = Ce(r), S(t, "href", i = /*category*/
|
3954
3958
|
e[57].path);
|
3955
3959
|
},
|
3956
|
-
m(
|
3957
|
-
k(
|
3960
|
+
m(o, s) {
|
3961
|
+
k(o, t, s), M(t, n);
|
3958
3962
|
},
|
3959
|
-
p(
|
3960
|
-
|
3963
|
+
p(o, s) {
|
3964
|
+
s[0] & /*sliderdata*/
|
3961
3965
|
512 && r !== (r = /*category*/
|
3962
|
-
|
3966
|
+
o[57].label + "") && lt(n, r), s[0] & /*sliderdata*/
|
3963
3967
|
512 && i !== (i = /*category*/
|
3964
|
-
|
3968
|
+
o[57].path) && S(t, "href", i);
|
3965
3969
|
},
|
3966
|
-
d(
|
3967
|
-
|
3970
|
+
d(o) {
|
3971
|
+
o && U(t);
|
3968
3972
|
}
|
3969
3973
|
};
|
3970
3974
|
}
|
@@ -3976,7 +3980,7 @@ function kt(e) {
|
|
3976
3980
|
);
|
3977
3981
|
return {
|
3978
3982
|
c() {
|
3979
|
-
r && r.c(), t =
|
3983
|
+
r && r.c(), t = _e();
|
3980
3984
|
},
|
3981
3985
|
m(n, i) {
|
3982
3986
|
r && r.m(n, i), k(n, t, i);
|
@@ -3992,7 +3996,7 @@ function kt(e) {
|
|
3992
3996
|
};
|
3993
3997
|
}
|
3994
3998
|
function $t(e) {
|
3995
|
-
let t, r =
|
3999
|
+
let t, r = ae(
|
3996
4000
|
/*subGroupsData*/
|
3997
4001
|
e[10]
|
3998
4002
|
), n = [];
|
@@ -4003,27 +4007,27 @@ function $t(e) {
|
|
4003
4007
|
t = P("ul");
|
4004
4008
|
for (let i = 0; i < n.length; i += 1)
|
4005
4009
|
n[i].c();
|
4006
|
-
|
4010
|
+
S(t, "class", "DropDown");
|
4007
4011
|
},
|
4008
|
-
m(i,
|
4009
|
-
k(i, t,
|
4010
|
-
for (let
|
4011
|
-
n[
|
4012
|
+
m(i, o) {
|
4013
|
+
k(i, t, o);
|
4014
|
+
for (let s = 0; s < n.length; s += 1)
|
4015
|
+
n[s] && n[s].m(t, null);
|
4012
4016
|
},
|
4013
|
-
p(i,
|
4014
|
-
if (
|
4017
|
+
p(i, o) {
|
4018
|
+
if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
4015
4019
|
133056) {
|
4016
|
-
r =
|
4020
|
+
r = ae(
|
4017
4021
|
/*subGroupsData*/
|
4018
4022
|
i[10]
|
4019
4023
|
);
|
4020
|
-
let
|
4021
|
-
for (
|
4022
|
-
const a = Dt(i, r,
|
4023
|
-
n[
|
4024
|
+
let s;
|
4025
|
+
for (s = 0; s < r.length; s += 1) {
|
4026
|
+
const a = Dt(i, r, s);
|
4027
|
+
n[s] ? n[s].p(a, o) : (n[s] = Xt(a), n[s].c(), n[s].m(t, null));
|
4024
4028
|
}
|
4025
|
-
for (;
|
4026
|
-
n[
|
4029
|
+
for (; s < n.length; s += 1)
|
4030
|
+
n[s].d(1);
|
4027
4031
|
n.length = r.length;
|
4028
4032
|
}
|
4029
4033
|
},
|
@@ -4037,7 +4041,7 @@ function jt(e) {
|
|
4037
4041
|
let t, r, n = (
|
4038
4042
|
/*subGroupItem*/
|
4039
4043
|
((c = e[63]) == null ? void 0 : c.name) + ""
|
4040
|
-
), i,
|
4044
|
+
), i, o, s, a, u;
|
4041
4045
|
function l(...m) {
|
4042
4046
|
return (
|
4043
4047
|
/*click_handler_2*/
|
@@ -4056,7 +4060,7 @@ function jt(e) {
|
|
4056
4060
|
}
|
4057
4061
|
return {
|
4058
4062
|
c() {
|
4059
|
-
t = P("li"), r = P("a"), i = Ce(n),
|
4063
|
+
t = P("li"), r = P("a"), i = Ce(n), s = Y(), S(r, "class", o = "SubDropDown " + /*index*/
|
4060
4064
|
(e[59] == /*activeIndex*/
|
4061
4065
|
e[6] && /*activeSubIndex*/
|
4062
4066
|
(e[7] == /*subindex*/
|
@@ -4065,20 +4069,20 @@ function jt(e) {
|
|
4065
4069
|
e[65]) ? "active" : ""));
|
4066
4070
|
},
|
4067
4071
|
m(m, f) {
|
4068
|
-
k(m, t, f), M(t, r), M(r, i), M(t,
|
4072
|
+
k(m, t, f), M(t, r), M(r, i), M(t, s), a || (u = X(t, "click", l), a = !0);
|
4069
4073
|
},
|
4070
4074
|
p(m, f) {
|
4071
4075
|
var p;
|
4072
4076
|
e = m, f[0] & /*subGroupsData*/
|
4073
4077
|
1024 && n !== (n = /*subGroupItem*/
|
4074
|
-
((p = e[63]) == null ? void 0 : p.name) + "") &&
|
4075
|
-
1984 &&
|
4078
|
+
((p = e[63]) == null ? void 0 : p.name) + "") && lt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4079
|
+
1984 && o !== (o = "SubDropDown " + /*index*/
|
4076
4080
|
(e[59] == /*activeIndex*/
|
4077
4081
|
e[6] && /*activeSubIndex*/
|
4078
4082
|
(e[7] == /*subindex*/
|
4079
4083
|
e[65] || /*prevSubIndex*/
|
4080
4084
|
e[8] == /*subindex*/
|
4081
|
-
e[65]) ? "active" : "")) &&
|
4085
|
+
e[65]) ? "active" : "")) && S(r, "class", o);
|
4082
4086
|
},
|
4083
4087
|
d(m) {
|
4084
4088
|
m && U(t), a = !1, u();
|
@@ -4095,65 +4099,65 @@ function Vt(e, t) {
|
|
4095
4099
|
key: e,
|
4096
4100
|
first: null,
|
4097
4101
|
c() {
|
4098
|
-
r =
|
4102
|
+
r = _e(), i && i.c(), n = _e(), this.first = r;
|
4099
4103
|
},
|
4100
|
-
m(
|
4101
|
-
k(
|
4104
|
+
m(o, s) {
|
4105
|
+
k(o, r, s), i && i.m(o, s), k(o, n, s);
|
4102
4106
|
},
|
4103
|
-
p(
|
4104
|
-
t =
|
4107
|
+
p(o, s) {
|
4108
|
+
t = o, /*index*/
|
4105
4109
|
t[59] == /*subGroup*/
|
4106
|
-
t[60].index ? i ? i.p(t,
|
4110
|
+
t[60].index ? i ? i.p(t, s) : (i = jt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4107
4111
|
},
|
4108
|
-
d(
|
4109
|
-
|
4112
|
+
d(o) {
|
4113
|
+
o && (U(r), U(n)), i && i.d(o);
|
4110
4114
|
}
|
4111
4115
|
};
|
4112
4116
|
}
|
4113
4117
|
function Xt(e) {
|
4114
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
4118
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = ae(
|
4115
4119
|
/*subGroup*/
|
4116
4120
|
e[60].items
|
4117
4121
|
);
|
4118
|
-
const
|
4122
|
+
const o = (s) => (
|
4119
4123
|
/*subGroupItem*/
|
4120
|
-
|
4124
|
+
s[63].id
|
4121
4125
|
);
|
4122
|
-
for (let
|
4123
|
-
let a = Ut(e, i,
|
4124
|
-
r.set(u, t[
|
4126
|
+
for (let s = 0; s < i.length; s += 1) {
|
4127
|
+
let a = Ut(e, i, s), u = o(a);
|
4128
|
+
r.set(u, t[s] = Vt(u, a));
|
4125
4129
|
}
|
4126
4130
|
return {
|
4127
4131
|
c() {
|
4128
|
-
for (let
|
4129
|
-
t[
|
4130
|
-
n =
|
4132
|
+
for (let s = 0; s < t.length; s += 1)
|
4133
|
+
t[s].c();
|
4134
|
+
n = _e();
|
4131
4135
|
},
|
4132
|
-
m(
|
4136
|
+
m(s, a) {
|
4133
4137
|
for (let u = 0; u < t.length; u += 1)
|
4134
|
-
t[u] && t[u].m(
|
4135
|
-
k(
|
4138
|
+
t[u] && t[u].m(s, a);
|
4139
|
+
k(s, n, a);
|
4136
4140
|
},
|
4137
|
-
p(
|
4141
|
+
p(s, a) {
|
4138
4142
|
a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
4139
|
-
133056 && (i =
|
4143
|
+
133056 && (i = ae(
|
4140
4144
|
/*subGroup*/
|
4141
|
-
|
4142
|
-
), t = Jt(t, a,
|
4145
|
+
s[60].items
|
4146
|
+
), t = Jt(t, a, o, 1, s, i, r, n.parentNode, qt, Vt, n, Ut));
|
4143
4147
|
},
|
4144
|
-
d(
|
4145
|
-
|
4148
|
+
d(s) {
|
4149
|
+
s && U(n);
|
4146
4150
|
for (let a = 0; a < t.length; a += 1)
|
4147
|
-
t[a].d(
|
4151
|
+
t[a].d(s);
|
4148
4152
|
}
|
4149
4153
|
};
|
4150
4154
|
}
|
4151
4155
|
function Wt(e, t) {
|
4152
|
-
let r, n, i,
|
4156
|
+
let r, n, i, o, s, a, u, l, c, m, f;
|
4153
4157
|
function p(E, w) {
|
4154
4158
|
return (
|
4155
4159
|
/*location*/
|
4156
|
-
E[0] === "headerMain" ?
|
4160
|
+
E[0] === "headerMain" ? co : ho
|
4157
4161
|
);
|
4158
4162
|
}
|
4159
4163
|
let g = p(t), b = g(t), d = (
|
@@ -4163,7 +4167,7 @@ function Wt(e, t) {
|
|
4163
4167
|
t[59]
|
4164
4168
|
] == !0 && kt(t)
|
4165
4169
|
);
|
4166
|
-
function
|
4170
|
+
function C(...E) {
|
4167
4171
|
return (
|
4168
4172
|
/*click_handler_3*/
|
4169
4173
|
t[39](
|
@@ -4180,12 +4184,12 @@ function Wt(e, t) {
|
|
4180
4184
|
first: null,
|
4181
4185
|
c() {
|
4182
4186
|
var E, w;
|
4183
|
-
r = P("li"), n = P("div"), i = P("img"), a =
|
4184
|
-
(t[3] === "true" ? "" : "DisplayNone")), _t(i.src,
|
4187
|
+
r = P("li"), n = P("div"), i = P("img"), a = Y(), b.c(), u = Y(), d && d.c(), l = Y(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
|
4188
|
+
(t[3] === "true" ? "" : "DisplayNone")), _t(i.src, s = /*handleSrc*/
|
4185
4189
|
t[20](
|
4186
4190
|
/*category*/
|
4187
4191
|
t[57]
|
4188
|
-
)) ||
|
4192
|
+
)) || S(i, "src", s), S(n, "class", "CategoryIcon"), S(r, "class", c = "CarouselItem " + /*activeindex*/
|
4189
4193
|
(((E = t[1]) == null ? void 0 : E.toString().indexOf("$")) > -1 ? (
|
4190
4194
|
/*activeindex*/
|
4191
4195
|
((w = t[1]) == null ? void 0 : w.split("$").pop()) == /*category*/
|
@@ -4198,18 +4202,18 @@ function Wt(e, t) {
|
|
4198
4202
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4199
4203
|
},
|
4200
4204
|
m(E, w) {
|
4201
|
-
k(E, r, w), M(r, n), M(n, i), M(r, a), b.m(r, null), M(r, u), d && d.m(r, null), M(r, l), m || (f =
|
4205
|
+
k(E, r, w), M(r, n), M(n, i), M(r, a), b.m(r, null), M(r, u), d && d.m(r, null), M(r, l), m || (f = X(r, "click", C), m = !0);
|
4202
4206
|
},
|
4203
4207
|
p(E, w) {
|
4204
4208
|
var O, L;
|
4205
4209
|
t = E, w[0] & /*categoriesicon*/
|
4206
|
-
8 &&
|
4207
|
-
(t[3] === "true" ? "" : "DisplayNone")) &&
|
4208
|
-
512 && !_t(i.src,
|
4210
|
+
8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
|
4211
|
+
(t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), w[0] & /*sliderdata*/
|
4212
|
+
512 && !_t(i.src, s = /*handleSrc*/
|
4209
4213
|
t[20](
|
4210
4214
|
/*category*/
|
4211
4215
|
t[57]
|
4212
|
-
)) &&
|
4216
|
+
)) && S(i, "src", s), g === (g = p(t)) && b ? b.p(t, w) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
|
4213
4217
|
t[11][
|
4214
4218
|
/*index*/
|
4215
4219
|
t[59]
|
@@ -4224,62 +4228,62 @@ function Wt(e, t) {
|
|
4224
4228
|
t[1] == /*category*/
|
4225
4229
|
t[57].id ? "active" : ""
|
4226
4230
|
)) + " " + /*location*/
|
4227
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
4231
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", c);
|
4228
4232
|
},
|
4229
4233
|
d(E) {
|
4230
4234
|
E && U(r), b.d(), d && d.d(), m = !1, f();
|
4231
4235
|
}
|
4232
4236
|
};
|
4233
4237
|
}
|
4234
|
-
function
|
4235
|
-
let t, r, n, i,
|
4238
|
+
function fo(e) {
|
4239
|
+
let t, r, n, i, o, s, a, u, l, c, m, f, p, g, b, d = (
|
4236
4240
|
/*sliderdata*/
|
4237
4241
|
e[9].length > 0 && Gt(e)
|
4238
4242
|
);
|
4239
4243
|
return {
|
4240
4244
|
c() {
|
4241
|
-
t = P("div"), r = P("div"), n = P("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i =
|
4242
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
4243
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
4245
|
+
t = P("div"), r = P("div"), n = P("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Y(), o = P("div"), s = P("ul"), a = P("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = Y(), d && d.c(), l = Y(), c = P("div"), c.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap scroller"), S(c, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4246
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
|
4247
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
|
4244
4248
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4245
4249
|
},
|
4246
|
-
m(
|
4247
|
-
k(
|
4248
|
-
|
4250
|
+
m(C, E) {
|
4251
|
+
k(C, t, E), M(t, r), M(r, n), M(r, i), M(r, o), M(o, s), M(s, a), M(s, u), d && d.m(s, null), e[40](s), e[41](o), M(r, l), M(r, c), e[43](t), g || (b = [
|
4252
|
+
X(
|
4249
4253
|
n,
|
4250
4254
|
"click",
|
4251
4255
|
/*click_handler_1*/
|
4252
4256
|
e[37]
|
4253
4257
|
),
|
4254
|
-
|
4255
|
-
|
4258
|
+
X(
|
4259
|
+
s,
|
4256
4260
|
"mousedown",
|
4257
4261
|
/*handleMouseDown*/
|
4258
4262
|
e[13]
|
4259
4263
|
),
|
4260
|
-
|
4261
|
-
|
4264
|
+
X(
|
4265
|
+
s,
|
4262
4266
|
"mouseleave",
|
4263
4267
|
/*handleMouseLeave*/
|
4264
4268
|
e[14]
|
4265
4269
|
),
|
4266
|
-
|
4267
|
-
|
4270
|
+
X(
|
4271
|
+
s,
|
4268
4272
|
"mouseup",
|
4269
4273
|
/*handleMouseUp*/
|
4270
4274
|
e[15]
|
4271
4275
|
),
|
4272
|
-
|
4273
|
-
|
4276
|
+
X(
|
4277
|
+
s,
|
4274
4278
|
"mousemove",
|
4275
4279
|
/*handleMouseMove*/
|
4276
4280
|
e[16]
|
4277
4281
|
),
|
4278
|
-
|
4282
|
+
X(s, "click", Yr(
|
4279
4283
|
/*click_handler*/
|
4280
4284
|
e[36]
|
4281
4285
|
)),
|
4282
|
-
|
4286
|
+
X(
|
4283
4287
|
c,
|
4284
4288
|
"click",
|
4285
4289
|
/*click_handler_4*/
|
@@ -4287,36 +4291,36 @@ function co(e) {
|
|
4287
4291
|
)
|
4288
4292
|
], g = !0);
|
4289
4293
|
},
|
4290
|
-
p(
|
4294
|
+
p(C, E) {
|
4291
4295
|
/*sliderdata*/
|
4292
|
-
|
4296
|
+
C[9].length > 0 ? d ? d.p(C, E) : (d = Gt(C), d.c(), d.m(s, null)) : d && (d.d(1), d = null), E[0] & /*location*/
|
4293
4297
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4294
|
-
|
4298
|
+
C[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
|
4295
4299
|
1 && f !== (f = /*location*/
|
4296
|
-
|
4300
|
+
C[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), E[0] & /*location*/
|
4297
4301
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4298
|
-
(
|
4302
|
+
(C[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
|
4299
4303
|
},
|
4300
4304
|
i: $,
|
4301
4305
|
o: $,
|
4302
|
-
d(
|
4303
|
-
|
4306
|
+
d(C) {
|
4307
|
+
C && U(t), d && d.d(), e[40](null), e[41](null), e[43](null), g = !1, K(b);
|
4304
4308
|
}
|
4305
4309
|
};
|
4306
4310
|
}
|
4307
|
-
function
|
4308
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname:
|
4309
|
-
|
4310
|
-
let
|
4311
|
-
const
|
4311
|
+
function mo(e, t, r) {
|
4312
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: C = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: L = "" } = t, v;
|
4313
|
+
ao({ withLocale: "en", translations: {} });
|
4314
|
+
let H = !1, R = 0, D = 0;
|
4315
|
+
const te = (h) => {
|
4312
4316
|
var x, I;
|
4313
|
-
h.preventDefault(),
|
4314
|
-
}, Cr = (h) => {
|
4315
|
-
h.preventDefault(), S = !1, v == null || v.classList.remove("dragging");
|
4317
|
+
h.preventDefault(), H = !0, v == null || v.classList.add("dragging"), R = h.pageX - ((x = v == null ? void 0 : v.offsetLeft) != null ? x : 0), D = (I = v == null ? void 0 : v.scrollLeft) != null ? I : 0;
|
4316
4318
|
}, wr = (h) => {
|
4317
|
-
|
4319
|
+
h.preventDefault(), H = !1, v == null || v.classList.remove("dragging");
|
4320
|
+
}, Cr = (h) => {
|
4321
|
+
H = !1, v == null || v.classList.remove("dragging");
|
4318
4322
|
}, Hr = (h) => {
|
4319
|
-
if (!
|
4323
|
+
if (!H || !v)
|
4320
4324
|
return;
|
4321
4325
|
h.preventDefault();
|
4322
4326
|
const I = (h.pageX - v.offsetLeft - R) * 2.5;
|
@@ -4333,78 +4337,78 @@ function fo(e, t, r) {
|
|
4333
4337
|
Object.keys(Ft).forEach((h) => {
|
4334
4338
|
Ot(h, Ft[h]);
|
4335
4339
|
});
|
4336
|
-
let
|
4337
|
-
var
|
4338
|
-
if (!(h.subGroups &&
|
4339
|
-
if (
|
4340
|
+
let Q, pe, Ge, V, ge = [], He = [], re = [], N, ke = (h, x, I, q, W) => {
|
4341
|
+
var J;
|
4342
|
+
if (!(h.subGroups && q === null)) {
|
4343
|
+
if (Se(), r(6, Q = x), r(6, Q), W != "secondary") {
|
4340
4344
|
window.postMessage(
|
4341
4345
|
{
|
4342
|
-
type:
|
4346
|
+
type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
4343
4347
|
buzz: "1",
|
4344
4348
|
itemId: h.id,
|
4345
4349
|
index: x,
|
4346
4350
|
item: h,
|
4347
4351
|
path: h.path,
|
4348
4352
|
externalLink: h.externalLink || !1,
|
4349
|
-
target: ((
|
4353
|
+
target: ((J = h.attrs) == null ? void 0 : J.target) || null
|
4350
4354
|
},
|
4351
4355
|
window.location.href
|
4352
|
-
), r(7,
|
4356
|
+
), r(7, pe = null), r(8, Ge = null);
|
4353
4357
|
return;
|
4354
4358
|
}
|
4355
|
-
r(7,
|
4359
|
+
r(7, pe = q), r(7, pe), r(8, Ge = pe), window.postMessage(
|
4356
4360
|
{
|
4357
|
-
type:
|
4361
|
+
type: s,
|
4358
4362
|
itemId: I.id,
|
4359
|
-
subIndex:
|
4363
|
+
subIndex: q,
|
4360
4364
|
subItem: I
|
4361
4365
|
},
|
4362
4366
|
window.location.href
|
4363
4367
|
);
|
4364
4368
|
}
|
4365
4369
|
}, ct = () => {
|
4366
|
-
N && (
|
4370
|
+
N && (re.length !== Q ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4367
4371
|
}, ft = () => {
|
4368
|
-
N && (
|
4372
|
+
N && (re.length !== Q ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
|
4369
4373
|
};
|
4370
4374
|
const mt = (h) => {
|
4371
|
-
h.data.type == "SliderData" && h.data.identity == m && (r(9,
|
4372
|
-
x.path.endsWith("/casino") && (r(6,
|
4375
|
+
h.data.type == "SliderData" && h.data.identity == m && (r(9, ge = h.data.data), r(11, re = new Array(ge.length).fill(!1)), C == "true" && Br()), h.data.type == "GoToHomepage" && ge.forEach((x, I) => {
|
4376
|
+
x.path.endsWith("/casino") && (r(6, Q = I), r(6, Q));
|
4373
4377
|
});
|
4374
4378
|
}, Tr = () => {
|
4375
|
-
|
4379
|
+
lo(b);
|
4376
4380
|
}, Ar = (h, x, I) => {
|
4377
4381
|
if (u == "secondaryMenu" && n && i && b && h.id) {
|
4378
|
-
let
|
4379
|
-
fetch(
|
4380
|
-
|
4382
|
+
let q = new URL(`${n}/v1/casino/groups/${i}/${h.id}/subGroups?language=${b}`);
|
4383
|
+
fetch(q.href).then((W) => W.json()).then((W) => {
|
4384
|
+
W.index = x, r(10, He = He.concat(W)), C == "false" && window.postMessage(
|
4381
4385
|
{
|
4382
|
-
type:
|
4386
|
+
type: s,
|
4383
4387
|
itemId: h.id,
|
4384
4388
|
index: x,
|
4385
4389
|
item: h
|
4386
4390
|
},
|
4387
4391
|
window.location.href
|
4388
4392
|
);
|
4389
|
-
const
|
4390
|
-
|
4391
|
-
|
4392
|
-
}),
|
4393
|
+
const J = [];
|
4394
|
+
He.map((Ur) => (Ur.items.forEach((dt) => {
|
4395
|
+
J.find((Gr) => dt.id == Gr) || J.push(dt.id);
|
4396
|
+
}), J.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: J }, window.location.href);
|
4393
4397
|
}).then(() => {
|
4394
|
-
v.querySelectorAll(".DropDown") &&
|
4398
|
+
v.querySelectorAll(".DropDown") && Se();
|
4395
4399
|
});
|
4396
4400
|
}
|
4397
|
-
u == "headerMain" && window.postMessage({ type:
|
4398
|
-
},
|
4401
|
+
u == "headerMain" && window.postMessage({ type: s, item: h }, window.location.href);
|
4402
|
+
}, Se = () => {
|
4399
4403
|
const h = v.querySelectorAll(".DropDown");
|
4400
4404
|
document.activeElement.blur(), N.classList.add("isScrolling");
|
4401
4405
|
for (let x = 0; x < h.length; x++)
|
4402
4406
|
h[x].style.transform = "translateX(-" + N.scrollLeft + "px)";
|
4403
4407
|
N.classList.remove("isScrolling");
|
4404
4408
|
}, Br = () => {
|
4405
|
-
|
4409
|
+
ge.forEach((h, x) => {
|
4406
4410
|
var I;
|
4407
|
-
((I = h == null ? void 0 : h.subGroups) == null ? void 0 : I.count) > 0 && (r(11,
|
4411
|
+
((I = h == null ? void 0 : h.subGroups) == null ? void 0 : I.count) > 0 && (r(11, re[x] = !0, re), Ar(h, x));
|
4408
4412
|
});
|
4409
4413
|
}, Ir = (h) => {
|
4410
4414
|
let x = "";
|
@@ -4412,73 +4416,73 @@ function fo(e, t, r) {
|
|
4412
4416
|
};
|
4413
4417
|
rn(() => (window.addEventListener("message", mt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4414
4418
|
() => {
|
4415
|
-
N.addEventListener("scroll",
|
4419
|
+
N.addEventListener("scroll", Se);
|
4416
4420
|
},
|
4417
4421
|
500
|
4418
4422
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4419
|
-
window.removeEventListener("message", mt), v.removeEventListener("scroll",
|
4423
|
+
window.removeEventListener("message", mt), v.removeEventListener("scroll", Se);
|
4420
4424
|
}));
|
4421
4425
|
function Mr(h) {
|
4422
4426
|
nn.call(this, e, h);
|
4423
4427
|
}
|
4424
|
-
const Lr = () => ct(), Nr = (h, x, I,
|
4425
|
-
|
4428
|
+
const Lr = () => ct(), Nr = (h, x, I, q, W) => {
|
4429
|
+
ke(h, x, I, q, "secondary"), W.stopPropagation();
|
4426
4430
|
}, Pr = (h, x, I) => {
|
4427
|
-
|
4431
|
+
ke(h, x, null, null, "main"), I.preventDefault();
|
4428
4432
|
};
|
4429
4433
|
function Or(h) {
|
4430
|
-
|
4434
|
+
ve[h ? "unshift" : "push"](() => {
|
4431
4435
|
v = h, r(5, v);
|
4432
4436
|
});
|
4433
4437
|
}
|
4434
4438
|
function Fr(h) {
|
4435
|
-
|
4439
|
+
ve[h ? "unshift" : "push"](() => {
|
4436
4440
|
N = h, r(12, N);
|
4437
4441
|
});
|
4438
4442
|
}
|
4439
4443
|
const Rr = () => ft();
|
4440
4444
|
function Dr(h) {
|
4441
|
-
|
4442
|
-
|
4445
|
+
ve[h ? "unshift" : "push"](() => {
|
4446
|
+
V = h, r(4, V);
|
4443
4447
|
});
|
4444
4448
|
}
|
4445
4449
|
return e.$$set = (h) => {
|
4446
|
-
"endpoint" in h && r(21, n = h.endpoint), "datasource" in h && r(22, i = h.datasource), "onclickeventname" in h && r(23,
|
4450
|
+
"endpoint" in h && r(21, n = h.endpoint), "datasource" in h && r(22, i = h.datasource), "onclickeventname" in h && r(23, o = h.onclickeventname), "actionevent" in h && r(24, s = h.actionevent), "favoritesnumber" in h && r(25, a = h.favoritesnumber), "location" in h && r(0, u = h.location), "clientstyling" in h && r(26, l = h.clientstyling), "clientstylingurl" in h && r(27, c = h.clientstylingurl), "identity" in h && r(28, m = h.identity), "translationurl" in h && r(29, f = h.translationurl), "isprimarymenu" in h && r(30, p = h.isprimarymenu), "issecondarymenu" in h && r(31, g = h.issecondarymenu), "lang" in h && r(32, b = h.lang), "activeindex" in h && r(1, d = h.activeindex), "showsubgroups" in h && r(2, C = h.showsubgroups), "categoriesicon" in h && r(3, E = h.categoriesicon), "lobbyiconimage" in h && r(33, w = h.lobbyiconimage), "mygamesiconimage" in h && r(34, O = h.mygamesiconimage), "mbsource" in h && r(35, L = h.mbsource);
|
4447
4451
|
}, e.$$.update = () => {
|
4448
4452
|
e.$$.dirty[0] & /*activeindex*/
|
4449
4453
|
2, e.$$.dirty[0] & /*translationurl*/
|
4450
4454
|
536870912 && f && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4451
|
-
67108880 && l &&
|
4452
|
-
134217744 && c &&
|
4455
|
+
67108880 && l && V && bn(V, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4456
|
+
134217744 && c && V && yn(V, c), e.$$.dirty[0] & /*customStylingContainer*/
|
4453
4457
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4454
|
-
16 && L &&
|
4458
|
+
16 && L && V && vn(V, `${L}.Style`), e.$$.dirty[1] & /*lang*/
|
4455
4459
|
2 && b && Tr();
|
4456
4460
|
}, [
|
4457
4461
|
u,
|
4458
4462
|
d,
|
4459
|
-
|
4463
|
+
C,
|
4460
4464
|
E,
|
4461
|
-
|
4465
|
+
V,
|
4462
4466
|
v,
|
4463
|
-
|
4464
|
-
de,
|
4465
|
-
De,
|
4467
|
+
Q,
|
4466
4468
|
pe,
|
4467
|
-
|
4468
|
-
|
4469
|
+
Ge,
|
4470
|
+
ge,
|
4471
|
+
He,
|
4472
|
+
re,
|
4469
4473
|
N,
|
4470
|
-
|
4471
|
-
Cr,
|
4474
|
+
te,
|
4472
4475
|
wr,
|
4476
|
+
Cr,
|
4473
4477
|
Hr,
|
4474
|
-
|
4478
|
+
ke,
|
4475
4479
|
ct,
|
4476
4480
|
ft,
|
4477
4481
|
Ir,
|
4478
4482
|
n,
|
4479
4483
|
i,
|
4480
|
-
s,
|
4481
4484
|
o,
|
4485
|
+
s,
|
4482
4486
|
a,
|
4483
4487
|
l,
|
4484
4488
|
c,
|
@@ -4500,13 +4504,13 @@ function fo(e, t, r) {
|
|
4500
4504
|
Dr
|
4501
4505
|
];
|
4502
4506
|
}
|
4503
|
-
class
|
4507
|
+
class po extends pn {
|
4504
4508
|
constructor(t) {
|
4505
4509
|
super(), mn(
|
4506
4510
|
this,
|
4507
4511
|
t,
|
4512
|
+
mo,
|
4508
4513
|
fo,
|
4509
|
-
co,
|
4510
4514
|
Zt,
|
4511
4515
|
{
|
4512
4516
|
endpoint: 21,
|
@@ -4529,7 +4533,7 @@ class mo extends pn {
|
|
4529
4533
|
mygamesiconimage: 34,
|
4530
4534
|
mbsource: 35
|
4531
4535
|
},
|
4532
|
-
|
4536
|
+
uo,
|
4533
4537
|
[-1, -1, -1]
|
4534
4538
|
);
|
4535
4539
|
}
|
@@ -4648,7 +4652,7 @@ class mo extends pn {
|
|
4648
4652
|
this.$$set({ mbsource: t }), B();
|
4649
4653
|
}
|
4650
4654
|
}
|
4651
|
-
dn(
|
4655
|
+
dn(po, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4652
4656
|
export {
|
4653
|
-
|
4657
|
+
po as default
|
4654
4658
|
};
|