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