@everymatrix/casino-slider 1.60.1 → 1.61.0
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-OUZcTpfW.js → CasinoSlider-PJD_gO7W.js} +440 -437
- package/components/{CasinoSlider-xL4TKs9S.js → CasinoSlider-c6MV6q5T.js} +454 -451
- package/components/CasinoSlider-qZUsGheA.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/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b7bbd57e-BBUBsGhp.js +550 -0
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +1 -0
- package/stencil/index-b7bbd57e-wJC_uAuk.js +534 -0
- package/stencil/ui-image-38c3c15f-ByZECnci.js +39 -0
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +39 -0
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +1 -0
- package/stencil/ui-image-BNrzgSpe.js +11 -0
- package/stencil/ui-image-CLghOqUz.cjs +1 -0
- package/stencil/ui-image-CPH6BqjQ.js +29 -0
- package/components/CasinoSlider-0iFlMggk.cjs +0 -16
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var Nr = Object.defineProperty, Lr = Object.defineProperties;
|
2
|
+
var Pr = Object.getOwnPropertyDescriptors;
|
3
|
+
var ct = Object.getOwnPropertySymbols;
|
4
|
+
var Or = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var De = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Or.call(t, r) && De(e, r, t[r]);
|
8
|
+
if (ct)
|
9
|
+
for (var r of ct(t))
|
10
|
+
Fr.call(t, r) && De(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var U = (e, t, r) => (
|
14
|
-
var
|
12
|
+
}, mt = (e, t) => Lr(e, Pr(t));
|
13
|
+
var U = (e, t, r) => (De(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var dt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
@@ -27,31 +27,32 @@ var pt = (e, t, r) => new Promise((n, i) => {
|
|
27
27
|
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
+
import "../stencil/ui-image-CPH6BqjQ.js";
|
30
31
|
function k() {
|
31
32
|
}
|
32
|
-
function
|
33
|
+
function jt(e) {
|
33
34
|
return e();
|
34
35
|
}
|
35
|
-
function
|
36
|
+
function pt() {
|
36
37
|
return /* @__PURE__ */ Object.create(null);
|
37
38
|
}
|
38
39
|
function J(e) {
|
39
|
-
e.forEach(
|
40
|
+
e.forEach(jt);
|
40
41
|
}
|
41
|
-
function
|
42
|
+
function nt(e) {
|
42
43
|
return typeof e == "function";
|
43
44
|
}
|
44
|
-
function
|
45
|
+
function Vt(e, t) {
|
45
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
47
|
}
|
47
48
|
let Ce;
|
48
|
-
function
|
49
|
+
function gt(e, t) {
|
49
50
|
return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
|
50
51
|
}
|
51
|
-
function
|
52
|
+
function Rr(e) {
|
52
53
|
return Object.keys(e).length === 0;
|
53
54
|
}
|
54
|
-
function
|
55
|
+
function Dr(e, ...t) {
|
55
56
|
if (e == null) {
|
56
57
|
for (const n of t)
|
57
58
|
n(void 0);
|
@@ -63,14 +64,14 @@ function Ur(e, ...t) {
|
|
63
64
|
function B(e, t) {
|
64
65
|
e.appendChild(t);
|
65
66
|
}
|
66
|
-
function
|
67
|
-
const n =
|
67
|
+
function Ur(e, t, r) {
|
68
|
+
const n = Gr(e);
|
68
69
|
if (!n.getElementById(t)) {
|
69
70
|
const i = L("style");
|
70
|
-
i.id = t, i.textContent = r,
|
71
|
+
i.id = t, i.textContent = r, kr(n, i);
|
71
72
|
}
|
72
73
|
}
|
73
|
-
function
|
74
|
+
function Gr(e) {
|
74
75
|
if (!e)
|
75
76
|
return document;
|
76
77
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -80,7 +81,7 @@ function kr(e) {
|
|
80
81
|
t
|
81
82
|
) : e.ownerDocument;
|
82
83
|
}
|
83
|
-
function
|
84
|
+
function kr(e, t) {
|
84
85
|
return B(
|
85
86
|
/** @type {Document} */
|
86
87
|
e.head || e,
|
@@ -93,7 +94,7 @@ function G(e, t, r) {
|
|
93
94
|
function D(e) {
|
94
95
|
e.parentNode && e.parentNode.removeChild(e);
|
95
96
|
}
|
96
|
-
function
|
97
|
+
function $r(e, t) {
|
97
98
|
for (let r = 0; r < e.length; r += 1)
|
98
99
|
e[r] && e[r].d(t);
|
99
100
|
}
|
@@ -109,20 +110,24 @@ function q() {
|
|
109
110
|
function ge() {
|
110
111
|
return _e("");
|
111
112
|
}
|
112
|
-
function
|
113
|
+
function Be(e, t, r, n) {
|
113
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
114
115
|
}
|
115
|
-
function
|
116
|
+
function T(e, t, r) {
|
116
117
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
117
118
|
}
|
118
|
-
function
|
119
|
+
function we(e, t, r) {
|
120
|
+
const n = t.toLowerCase();
|
121
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
|
122
|
+
}
|
123
|
+
function jr(e) {
|
119
124
|
return Array.from(e.childNodes);
|
120
125
|
}
|
121
|
-
function
|
126
|
+
function it(e, t) {
|
122
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
123
128
|
t);
|
124
129
|
}
|
125
|
-
function
|
130
|
+
function Vr(e) {
|
126
131
|
const t = {};
|
127
132
|
return e.childNodes.forEach(
|
128
133
|
/** @param {Element} node */
|
@@ -135,25 +140,25 @@ let be;
|
|
135
140
|
function de(e) {
|
136
141
|
be = e;
|
137
142
|
}
|
138
|
-
function
|
143
|
+
function Xr() {
|
139
144
|
if (!be)
|
140
145
|
throw new Error("Function called outside component initialization");
|
141
146
|
return be;
|
142
147
|
}
|
143
|
-
function
|
144
|
-
|
148
|
+
function Wr(e) {
|
149
|
+
Xr().$$.on_mount.push(e);
|
145
150
|
}
|
146
151
|
const re = [], pe = [];
|
147
152
|
let ne = [];
|
148
|
-
const
|
149
|
-
let
|
150
|
-
function
|
151
|
-
|
153
|
+
const bt = [], zr = /* @__PURE__ */ Promise.resolve();
|
154
|
+
let We = !1;
|
155
|
+
function Zr() {
|
156
|
+
We || (We = !0, zr.then(A));
|
152
157
|
}
|
153
|
-
function
|
158
|
+
function ze(e) {
|
154
159
|
ne.push(e);
|
155
160
|
}
|
156
|
-
const
|
161
|
+
const Ue = /* @__PURE__ */ new Set();
|
157
162
|
let ee = 0;
|
158
163
|
function A() {
|
159
164
|
if (ee !== 0)
|
@@ -163,7 +168,7 @@ function A() {
|
|
163
168
|
try {
|
164
169
|
for (; ee < re.length; ) {
|
165
170
|
const t = re[ee];
|
166
|
-
ee++, de(t),
|
171
|
+
ee++, de(t), Qr(t.$$);
|
167
172
|
}
|
168
173
|
} catch (t) {
|
169
174
|
throw re.length = 0, ee = 0, t;
|
@@ -172,36 +177,36 @@ function A() {
|
|
172
177
|
pe.pop()();
|
173
178
|
for (let t = 0; t < ne.length; t += 1) {
|
174
179
|
const r = ne[t];
|
175
|
-
|
180
|
+
Ue.has(r) || (Ue.add(r), r());
|
176
181
|
}
|
177
182
|
ne.length = 0;
|
178
183
|
} while (re.length);
|
179
|
-
for (;
|
180
|
-
|
181
|
-
|
184
|
+
for (; bt.length; )
|
185
|
+
bt.pop()();
|
186
|
+
We = !1, Ue.clear(), de(e);
|
182
187
|
}
|
183
|
-
function
|
188
|
+
function Qr(e) {
|
184
189
|
if (e.fragment !== null) {
|
185
190
|
e.update(), J(e.before_update);
|
186
191
|
const t = e.dirty;
|
187
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
192
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
188
193
|
}
|
189
194
|
}
|
190
|
-
function
|
195
|
+
function qr(e) {
|
191
196
|
const t = [], r = [];
|
192
197
|
ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
|
193
198
|
}
|
194
|
-
const
|
195
|
-
function
|
196
|
-
e && e.i && (
|
199
|
+
const Jr = /* @__PURE__ */ new Set();
|
200
|
+
function Xt(e, t) {
|
201
|
+
e && e.i && (Jr.delete(e), e.i(t));
|
197
202
|
}
|
198
203
|
function ie(e) {
|
199
204
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
200
205
|
}
|
201
|
-
function
|
206
|
+
function Wt(e, t) {
|
202
207
|
e.d(1), t.delete(e.key);
|
203
208
|
}
|
204
|
-
function
|
209
|
+
function zt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
205
210
|
let f = e.length, p = o.length, g = f;
|
206
211
|
const b = {};
|
207
212
|
for (; g--; )
|
@@ -214,7 +219,7 @@ function Zt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
|
214
219
|
}
|
215
220
|
const O = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
|
216
221
|
function $(w) {
|
217
|
-
|
222
|
+
Xt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, p--;
|
218
223
|
}
|
219
224
|
for (; f && p; ) {
|
220
225
|
const w = d[p - 1], M = e[f - 1], P = w.key, V = M.key;
|
@@ -228,21 +233,21 @@ function Zt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
|
228
233
|
$(d[p - 1]);
|
229
234
|
return J(x), d;
|
230
235
|
}
|
231
|
-
function
|
236
|
+
function Yr(e, t, r) {
|
232
237
|
const { fragment: n, after_update: i } = e.$$;
|
233
|
-
n && n.m(t, r),
|
234
|
-
const o = e.$$.on_mount.map(
|
238
|
+
n && n.m(t, r), ze(() => {
|
239
|
+
const o = e.$$.on_mount.map(jt).filter(nt);
|
235
240
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
236
|
-
}), i.forEach(
|
241
|
+
}), i.forEach(ze);
|
237
242
|
}
|
238
|
-
function
|
243
|
+
function Kr(e, t) {
|
239
244
|
const r = e.$$;
|
240
|
-
r.fragment !== null && (
|
245
|
+
r.fragment !== null && (qr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
241
246
|
}
|
242
|
-
function
|
243
|
-
e.$$.dirty[0] === -1 && (re.push(e),
|
247
|
+
function en(e, t) {
|
248
|
+
e.$$.dirty[0] === -1 && (re.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
244
249
|
}
|
245
|
-
function
|
250
|
+
function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
246
251
|
const u = be;
|
247
252
|
de(e);
|
248
253
|
const l = e.$$ = {
|
@@ -252,7 +257,7 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
252
257
|
props: o,
|
253
258
|
update: k,
|
254
259
|
not_equal: i,
|
255
|
-
bound:
|
260
|
+
bound: pt(),
|
256
261
|
// lifecycle
|
257
262
|
on_mount: [],
|
258
263
|
on_destroy: [],
|
@@ -261,7 +266,7 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
261
266
|
after_update: [],
|
262
267
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
263
268
|
// everything else
|
264
|
-
callbacks:
|
269
|
+
callbacks: pt(),
|
265
270
|
dirty: a,
|
266
271
|
skip_bound: !1,
|
267
272
|
root: t.target || u.$$.root
|
@@ -270,19 +275,19 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
270
275
|
let h = !1;
|
271
276
|
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
272
277
|
const g = p.length ? p[0] : f;
|
273
|
-
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h &&
|
278
|
+
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && en(e, m)), f;
|
274
279
|
}) : [], l.update(), h = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
275
280
|
if (t.hydrate) {
|
276
|
-
const m =
|
281
|
+
const m = jr(t.target);
|
277
282
|
l.fragment && l.fragment.l(m), m.forEach(D);
|
278
283
|
} else
|
279
284
|
l.fragment && l.fragment.c();
|
280
|
-
t.intro &&
|
285
|
+
t.intro && Xt(e.$$.fragment), Yr(e, t.target, t.anchor), A();
|
281
286
|
}
|
282
287
|
de(u);
|
283
288
|
}
|
284
|
-
let
|
285
|
-
typeof HTMLElement == "function" && (
|
289
|
+
let Zt;
|
290
|
+
typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
286
291
|
constructor(t, r, n) {
|
287
292
|
super();
|
288
293
|
/** The Svelte component constructor */
|
@@ -319,14 +324,14 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
319
324
|
}
|
320
325
|
}
|
321
326
|
connectedCallback() {
|
322
|
-
return
|
327
|
+
return dt(this, null, function* () {
|
323
328
|
if (this.$$cn = !0, !this.$$c) {
|
324
329
|
let t = function(o) {
|
325
330
|
return () => {
|
326
331
|
let s;
|
327
332
|
return {
|
328
333
|
c: function() {
|
329
|
-
s = L("slot"), o !== "default" &&
|
334
|
+
s = L("slot"), o !== "default" && T(s, "name", o);
|
330
335
|
},
|
331
336
|
/**
|
332
337
|
* @param {HTMLElement} target
|
@@ -343,18 +348,18 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
343
348
|
};
|
344
349
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
345
350
|
return;
|
346
|
-
const r = {}, n =
|
351
|
+
const r = {}, n = Vr(this);
|
347
352
|
for (const o of this.$$s)
|
348
353
|
o in n && (r[o] = [t(o)]);
|
349
354
|
for (const o of this.attributes) {
|
350
355
|
const s = this.$$g_p(o.name);
|
351
|
-
s in this.$$d || (this.$$d[s] =
|
356
|
+
s in this.$$d || (this.$$d[s] = Se(s, o.value, this.$$p_d, "toProp"));
|
352
357
|
}
|
353
358
|
for (const o in this.$$p_d)
|
354
359
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
355
360
|
this.$$c = new this.$$ctor({
|
356
361
|
target: this.shadowRoot || this,
|
357
|
-
props:
|
362
|
+
props: mt(ft({}, this.$$d), {
|
358
363
|
$$slots: r,
|
359
364
|
$$scope: {
|
360
365
|
ctx: []
|
@@ -365,7 +370,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
365
370
|
this.$$r = !0;
|
366
371
|
for (const o in this.$$p_d)
|
367
372
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
368
|
-
const s =
|
373
|
+
const s = Se(
|
369
374
|
o,
|
370
375
|
this.$$d[o],
|
371
376
|
this.$$p_d,
|
@@ -389,7 +394,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
389
394
|
// and setting attributes through setAttribute etc, this is helpful
|
390
395
|
attributeChangedCallback(t, r, n) {
|
391
396
|
var i;
|
392
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
397
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Se(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
393
398
|
}
|
394
399
|
disconnectedCallback() {
|
395
400
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -402,7 +407,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
402
407
|
) || t;
|
403
408
|
}
|
404
409
|
});
|
405
|
-
function
|
410
|
+
function Se(e, t, r, n) {
|
406
411
|
var o;
|
407
412
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
408
413
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
@@ -432,8 +437,8 @@ function He(e, t, r, n) {
|
|
432
437
|
return t;
|
433
438
|
}
|
434
439
|
}
|
435
|
-
function
|
436
|
-
let s = class extends
|
440
|
+
function rn(e, t, r, n, i, o) {
|
441
|
+
let s = class extends Zt {
|
437
442
|
constructor() {
|
438
443
|
super(e, r, i), this.$$p_d = t;
|
439
444
|
}
|
@@ -450,7 +455,7 @@ function nn(e, t, r, n, i, o) {
|
|
450
455
|
},
|
451
456
|
set(u) {
|
452
457
|
var l;
|
453
|
-
u =
|
458
|
+
u = Se(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
454
459
|
}
|
455
460
|
});
|
456
461
|
}), n.forEach((a) => {
|
@@ -463,7 +468,7 @@ function nn(e, t, r, n, i, o) {
|
|
463
468
|
}), e.element = /** @type {any} */
|
464
469
|
s, s;
|
465
470
|
}
|
466
|
-
class
|
471
|
+
class nn {
|
467
472
|
constructor() {
|
468
473
|
/**
|
469
474
|
* ### PRIVATE API
|
@@ -484,7 +489,7 @@ class on {
|
|
484
489
|
}
|
485
490
|
/** @returns {void} */
|
486
491
|
$destroy() {
|
487
|
-
|
492
|
+
Kr(this, 1), this.$destroy = k;
|
488
493
|
}
|
489
494
|
/**
|
490
495
|
* @template {Extract<keyof Events, string>} K
|
@@ -493,7 +498,7 @@ class on {
|
|
493
498
|
* @returns {() => void}
|
494
499
|
*/
|
495
500
|
$on(t, r) {
|
496
|
-
if (!
|
501
|
+
if (!nt(r))
|
497
502
|
return k;
|
498
503
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
499
504
|
return n.push(r), () => {
|
@@ -506,18 +511,18 @@ class on {
|
|
506
511
|
* @returns {void}
|
507
512
|
*/
|
508
513
|
$set(t) {
|
509
|
-
this.$$set && !
|
514
|
+
this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
510
515
|
}
|
511
516
|
}
|
512
|
-
const
|
513
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
514
|
-
function
|
517
|
+
const on = "4";
|
518
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
|
519
|
+
function sn(e, t) {
|
515
520
|
if (e) {
|
516
521
|
const r = document.createElement("style");
|
517
522
|
r.innerHTML = t, e.appendChild(r);
|
518
523
|
}
|
519
524
|
}
|
520
|
-
function
|
525
|
+
function an(e, t) {
|
521
526
|
const r = new URL(t);
|
522
527
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
523
528
|
const i = document.createElement("style");
|
@@ -526,7 +531,7 @@ function ln(e, t) {
|
|
526
531
|
console.error("There was an error while trying to load client styling from URL", n);
|
527
532
|
});
|
528
533
|
}
|
529
|
-
function
|
534
|
+
function ln(e, t, r) {
|
530
535
|
if (window.emMessageBus) {
|
531
536
|
const n = document.createElement("style");
|
532
537
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -535,16 +540,16 @@ function un(e, t, r) {
|
|
535
540
|
}
|
536
541
|
}
|
537
542
|
const te = [];
|
538
|
-
function
|
543
|
+
function un(e, t) {
|
539
544
|
return {
|
540
|
-
subscribe:
|
545
|
+
subscribe: Ne(e, t).subscribe
|
541
546
|
};
|
542
547
|
}
|
543
|
-
function
|
548
|
+
function Ne(e, t = k) {
|
544
549
|
let r;
|
545
550
|
const n = /* @__PURE__ */ new Set();
|
546
551
|
function i(a) {
|
547
|
-
if (
|
552
|
+
if (Vt(e, a) && (e = a, r)) {
|
548
553
|
const u = !te.length;
|
549
554
|
for (const l of n)
|
550
555
|
l[1](), te.push(l, e);
|
@@ -571,7 +576,7 @@ function ue(e, t, r) {
|
|
571
576
|
if (!i.every(Boolean))
|
572
577
|
throw new Error("derived() expects stores as input, got a falsy value");
|
573
578
|
const o = t.length < 2;
|
574
|
-
return
|
579
|
+
return un(r, (s, a) => {
|
575
580
|
let u = !1;
|
576
581
|
const l = [];
|
577
582
|
let h = 0, m = k;
|
@@ -580,9 +585,9 @@ function ue(e, t, r) {
|
|
580
585
|
return;
|
581
586
|
m();
|
582
587
|
const g = t(n ? l[0] : l, s, a);
|
583
|
-
o ? s(g) : m =
|
588
|
+
o ? s(g) : m = nt(g) ? g : k;
|
584
589
|
}, p = i.map(
|
585
|
-
(g, b) =>
|
590
|
+
(g, b) => Dr(
|
586
591
|
g,
|
587
592
|
(d) => {
|
588
593
|
l[b] = d, h &= ~(1 << b), u && f();
|
@@ -597,70 +602,70 @@ function ue(e, t, r) {
|
|
597
602
|
};
|
598
603
|
});
|
599
604
|
}
|
600
|
-
function
|
605
|
+
function hn(e) {
|
601
606
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
602
607
|
}
|
603
|
-
var
|
604
|
-
return
|
608
|
+
var cn = function(t) {
|
609
|
+
return fn(t) && !mn(t);
|
605
610
|
};
|
606
|
-
function
|
611
|
+
function fn(e) {
|
607
612
|
return !!e && typeof e == "object";
|
608
613
|
}
|
609
|
-
function
|
614
|
+
function mn(e) {
|
610
615
|
var t = Object.prototype.toString.call(e);
|
611
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
616
|
+
return t === "[object RegExp]" || t === "[object Date]" || gn(e);
|
612
617
|
}
|
613
|
-
var
|
614
|
-
function
|
615
|
-
return e.$$typeof ===
|
618
|
+
var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
|
619
|
+
function gn(e) {
|
620
|
+
return e.$$typeof === pn;
|
616
621
|
}
|
617
|
-
function
|
622
|
+
function bn(e) {
|
618
623
|
return Array.isArray(e) ? [] : {};
|
619
624
|
}
|
620
625
|
function ye(e, t) {
|
621
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? oe(
|
626
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? oe(bn(e), e, t) : e;
|
622
627
|
}
|
623
|
-
function
|
628
|
+
function yn(e, t, r) {
|
624
629
|
return e.concat(t).map(function(n) {
|
625
630
|
return ye(n, r);
|
626
631
|
});
|
627
632
|
}
|
628
|
-
function
|
633
|
+
function vn(e, t) {
|
629
634
|
if (!t.customMerge)
|
630
635
|
return oe;
|
631
636
|
var r = t.customMerge(e);
|
632
637
|
return typeof r == "function" ? r : oe;
|
633
638
|
}
|
634
|
-
function
|
639
|
+
function _n(e) {
|
635
640
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
636
641
|
return Object.propertyIsEnumerable.call(e, t);
|
637
642
|
}) : [];
|
638
643
|
}
|
639
|
-
function
|
640
|
-
return Object.keys(e).concat(
|
644
|
+
function yt(e) {
|
645
|
+
return Object.keys(e).concat(_n(e));
|
641
646
|
}
|
642
|
-
function
|
647
|
+
function Qt(e, t) {
|
643
648
|
try {
|
644
649
|
return t in e;
|
645
650
|
} catch (r) {
|
646
651
|
return !1;
|
647
652
|
}
|
648
653
|
}
|
649
|
-
function
|
650
|
-
return
|
654
|
+
function En(e, t) {
|
655
|
+
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
651
656
|
}
|
652
|
-
function
|
657
|
+
function xn(e, t, r) {
|
653
658
|
var n = {};
|
654
|
-
return r.isMergeableObject(e) &&
|
659
|
+
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
655
660
|
n[i] = ye(e[i], r);
|
656
|
-
}),
|
657
|
-
|
661
|
+
}), yt(t).forEach(function(i) {
|
662
|
+
En(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
|
658
663
|
}), n;
|
659
664
|
}
|
660
665
|
function oe(e, t, r) {
|
661
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
666
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = ye;
|
662
667
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
663
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
668
|
+
return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ye(t, r);
|
664
669
|
}
|
665
670
|
oe.all = function(t, r) {
|
666
671
|
if (!Array.isArray(t))
|
@@ -669,8 +674,8 @@ oe.all = function(t, r) {
|
|
669
674
|
return oe(n, i, r);
|
670
675
|
}, {});
|
671
676
|
};
|
672
|
-
var
|
673
|
-
const
|
677
|
+
var Cn = oe, wn = Cn;
|
678
|
+
const Hn = /* @__PURE__ */ hn(wn);
|
674
679
|
/*! *****************************************************************************
|
675
680
|
Copyright (c) Microsoft Corporation.
|
676
681
|
|
@@ -685,18 +690,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
685
690
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
686
691
|
PERFORMANCE OF THIS SOFTWARE.
|
687
692
|
***************************************************************************** */
|
688
|
-
var
|
689
|
-
return
|
693
|
+
var Ze = function(e, t) {
|
694
|
+
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
690
695
|
r.__proto__ = n;
|
691
696
|
} || function(r, n) {
|
692
697
|
for (var i in n)
|
693
698
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
694
|
-
},
|
699
|
+
}, Ze(e, t);
|
695
700
|
};
|
696
|
-
function
|
701
|
+
function Le(e, t) {
|
697
702
|
if (typeof t != "function" && t !== null)
|
698
703
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
699
|
-
|
704
|
+
Ze(e, t);
|
700
705
|
function r() {
|
701
706
|
this.constructor = e;
|
702
707
|
}
|
@@ -712,7 +717,7 @@ var E = function() {
|
|
712
717
|
return t;
|
713
718
|
}, E.apply(this, arguments);
|
714
719
|
};
|
715
|
-
function
|
720
|
+
function Sn(e, t) {
|
716
721
|
var r = {};
|
717
722
|
for (var n in e)
|
718
723
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -721,108 +726,106 @@ function Tn(e, t) {
|
|
721
726
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
722
727
|
return r;
|
723
728
|
}
|
724
|
-
function
|
729
|
+
function Ge(e, t, r) {
|
725
730
|
if (arguments.length === 2)
|
726
731
|
for (var n = 0, i = t.length, o; n < i; n++)
|
727
732
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
728
733
|
return e.concat(o || t);
|
729
734
|
}
|
730
|
-
function
|
731
|
-
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer :
|
735
|
+
function ke(e, t) {
|
736
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Bn;
|
732
737
|
return i(e, {
|
733
738
|
cache: r,
|
734
739
|
serializer: n
|
735
740
|
});
|
736
741
|
}
|
737
|
-
function
|
742
|
+
function Tn(e) {
|
738
743
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
739
744
|
}
|
740
|
-
function
|
741
|
-
var i =
|
745
|
+
function An(e, t, r, n) {
|
746
|
+
var i = Tn(n) ? n : r(n), o = t.get(i);
|
742
747
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
743
748
|
}
|
744
|
-
function
|
749
|
+
function qt(e, t, r) {
|
745
750
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
746
751
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
747
752
|
}
|
748
|
-
function
|
753
|
+
function Jt(e, t, r, n, i) {
|
749
754
|
return r.bind(t, e, n, i);
|
750
755
|
}
|
751
756
|
function Bn(e, t) {
|
752
|
-
var r = e.length === 1 ?
|
753
|
-
return
|
757
|
+
var r = e.length === 1 ? An : qt;
|
758
|
+
return Jt(e, this, r, t.cache.create(), t.serializer);
|
754
759
|
}
|
755
760
|
function In(e, t) {
|
756
|
-
return
|
757
|
-
}
|
758
|
-
function Mn(e, t) {
|
759
|
-
return it(e, this, Jt, t.cache.create(), t.serializer);
|
761
|
+
return Jt(e, this, qt, t.cache.create(), t.serializer);
|
760
762
|
}
|
761
|
-
var
|
763
|
+
var Mn = function() {
|
762
764
|
return JSON.stringify(arguments);
|
763
|
-
}
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
765
|
+
}, Nn = (
|
766
|
+
/** @class */
|
767
|
+
function() {
|
768
|
+
function e() {
|
769
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
770
|
+
}
|
771
|
+
return e.prototype.get = function(t) {
|
772
|
+
return this.cache[t];
|
773
|
+
}, e.prototype.set = function(t, r) {
|
774
|
+
this.cache[t] = r;
|
775
|
+
}, e;
|
776
|
+
}()
|
777
|
+
), Ln = {
|
774
778
|
create: function() {
|
775
|
-
return new
|
779
|
+
return new Nn();
|
776
780
|
}
|
777
|
-
},
|
778
|
-
variadic: In
|
779
|
-
monadic: Mn
|
781
|
+
}, $e = {
|
782
|
+
variadic: In
|
780
783
|
}, y;
|
781
784
|
(function(e) {
|
782
785
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
783
786
|
})(y || (y = {}));
|
784
|
-
var
|
787
|
+
var S;
|
785
788
|
(function(e) {
|
786
789
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
787
|
-
})(
|
790
|
+
})(S || (S = {}));
|
788
791
|
var se;
|
789
792
|
(function(e) {
|
790
793
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
791
794
|
})(se || (se = {}));
|
792
|
-
function
|
793
|
-
return e.type ===
|
795
|
+
function vt(e) {
|
796
|
+
return e.type === S.literal;
|
794
797
|
}
|
795
798
|
function Pn(e) {
|
796
|
-
return e.type ===
|
799
|
+
return e.type === S.argument;
|
800
|
+
}
|
801
|
+
function Yt(e) {
|
802
|
+
return e.type === S.number;
|
797
803
|
}
|
798
804
|
function Kt(e) {
|
799
|
-
return e.type ===
|
805
|
+
return e.type === S.date;
|
800
806
|
}
|
801
807
|
function er(e) {
|
802
|
-
return e.type ===
|
808
|
+
return e.type === S.time;
|
803
809
|
}
|
804
810
|
function tr(e) {
|
805
|
-
return e.type ===
|
811
|
+
return e.type === S.select;
|
806
812
|
}
|
807
813
|
function rr(e) {
|
808
|
-
return e.type ===
|
809
|
-
}
|
810
|
-
function nr(e) {
|
811
|
-
return e.type === T.plural;
|
814
|
+
return e.type === S.plural;
|
812
815
|
}
|
813
816
|
function On(e) {
|
814
|
-
return e.type ===
|
817
|
+
return e.type === S.pound;
|
815
818
|
}
|
816
|
-
function
|
817
|
-
return e.type ===
|
819
|
+
function nr(e) {
|
820
|
+
return e.type === S.tag;
|
818
821
|
}
|
819
|
-
function
|
822
|
+
function ir(e) {
|
820
823
|
return !!(e && typeof e == "object" && e.type === se.number);
|
821
824
|
}
|
822
|
-
function
|
825
|
+
function Qe(e) {
|
823
826
|
return !!(e && typeof e == "object" && e.type === se.dateTime);
|
824
827
|
}
|
825
|
-
var
|
828
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
|
826
829
|
function Rn(e) {
|
827
830
|
var t = {};
|
828
831
|
return e.replace(Fn, function(r) {
|
@@ -936,14 +939,14 @@ function Un(e) {
|
|
936
939
|
function Gn(e) {
|
937
940
|
return e.replace(/^(.*?)-/, "");
|
938
941
|
}
|
939
|
-
var
|
940
|
-
function
|
942
|
+
var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
943
|
+
function Et(e) {
|
941
944
|
var t = {};
|
942
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
945
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
943
946
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
944
947
|
}), t;
|
945
948
|
}
|
946
|
-
function
|
949
|
+
function lr(e) {
|
947
950
|
switch (e) {
|
948
951
|
case "sign-auto":
|
949
952
|
return {
|
@@ -991,14 +994,14 @@ function $n(e) {
|
|
991
994
|
notation: "scientific"
|
992
995
|
}, e = e.slice(1)), t) {
|
993
996
|
var r = e.slice(0, 2);
|
994
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
997
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
995
998
|
throw new Error("Malformed concise eng/scientific notation");
|
996
999
|
t.minimumIntegerDigits = e.length;
|
997
1000
|
}
|
998
1001
|
return t;
|
999
1002
|
}
|
1000
|
-
function
|
1001
|
-
var t = {}, r =
|
1003
|
+
function xt(e) {
|
1004
|
+
var t = {}, r = lr(e);
|
1002
1005
|
return r || t;
|
1003
1006
|
}
|
1004
1007
|
function jn(e) {
|
@@ -1037,12 +1040,12 @@ function jn(e) {
|
|
1037
1040
|
continue;
|
1038
1041
|
case "scientific":
|
1039
1042
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1040
|
-
return E(E({}, u),
|
1043
|
+
return E(E({}, u), xt(l));
|
1041
1044
|
}, {}));
|
1042
1045
|
continue;
|
1043
1046
|
case "engineering":
|
1044
1047
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1045
|
-
return E(E({}, u),
|
1048
|
+
return E(E({}, u), xt(l));
|
1046
1049
|
}, {}));
|
1047
1050
|
continue;
|
1048
1051
|
case "notation-simple":
|
@@ -1100,32 +1103,32 @@ function jn(e) {
|
|
1100
1103
|
});
|
1101
1104
|
continue;
|
1102
1105
|
}
|
1103
|
-
if (
|
1106
|
+
if (ar.test(i.stem)) {
|
1104
1107
|
t.minimumIntegerDigits = i.stem.length;
|
1105
1108
|
continue;
|
1106
1109
|
}
|
1107
|
-
if (
|
1110
|
+
if (_t.test(i.stem)) {
|
1108
1111
|
if (i.options.length > 1)
|
1109
1112
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1110
|
-
i.stem.replace(
|
1113
|
+
i.stem.replace(_t, function(u, l, h, m, f, p) {
|
1111
1114
|
return h === "*" ? 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), "";
|
1112
1115
|
});
|
1113
1116
|
var o = i.options[0];
|
1114
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
1117
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Et(o)));
|
1115
1118
|
continue;
|
1116
1119
|
}
|
1117
|
-
if (
|
1118
|
-
t = E(E({}, t),
|
1120
|
+
if (sr.test(i.stem)) {
|
1121
|
+
t = E(E({}, t), Et(i.stem));
|
1119
1122
|
continue;
|
1120
1123
|
}
|
1121
|
-
var s =
|
1124
|
+
var s = lr(i.stem);
|
1122
1125
|
s && (t = E(E({}, t), s));
|
1123
1126
|
var a = $n(i.stem);
|
1124
1127
|
a && (t = E(E({}, t), a));
|
1125
1128
|
}
|
1126
1129
|
return t;
|
1127
1130
|
}
|
1128
|
-
var
|
1131
|
+
var He = {
|
1129
1132
|
"001": [
|
1130
1133
|
"H",
|
1131
1134
|
"h"
|
@@ -2575,23 +2578,23 @@ function Xn(e) {
|
|
2575
2578
|
}
|
2576
2579
|
var r = e.language, n;
|
2577
2580
|
r !== "root" && (n = e.maximize().region);
|
2578
|
-
var i =
|
2581
|
+
var i = He[n || ""] || He[r || ""] || He["".concat(r, "-001")] || He["001"];
|
2579
2582
|
return i[0];
|
2580
2583
|
}
|
2581
|
-
var
|
2584
|
+
var je, Wn = new RegExp("^".concat(or.source, "*")), zn = new RegExp("".concat(or.source, "*$"));
|
2582
2585
|
function v(e, t) {
|
2583
2586
|
return { start: e, end: t };
|
2584
2587
|
}
|
2585
2588
|
var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
|
2586
2589
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2587
|
-
},
|
2590
|
+
}, qe = !0;
|
2588
2591
|
try {
|
2589
|
-
var ri =
|
2590
|
-
|
2592
|
+
var ri = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2593
|
+
qe = ((je = ri.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
2591
2594
|
} catch (e) {
|
2592
|
-
|
2595
|
+
qe = !1;
|
2593
2596
|
}
|
2594
|
-
var
|
2597
|
+
var Ct = Zn ? (
|
2595
2598
|
// Native
|
2596
2599
|
function(t, r, n) {
|
2597
2600
|
return t.startsWith(r, n);
|
@@ -2601,7 +2604,7 @@ var wt = Zn ? (
|
|
2601
2604
|
function(t, r, n) {
|
2602
2605
|
return t.slice(n, n + r.length) === r;
|
2603
2606
|
}
|
2604
|
-
),
|
2607
|
+
), Je = Qn ? String.fromCodePoint : (
|
2605
2608
|
// IE11
|
2606
2609
|
function() {
|
2607
2610
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2613,7 +2616,7 @@ var wt = Zn ? (
|
|
2613
2616
|
}
|
2614
2617
|
return n;
|
2615
2618
|
}
|
2616
|
-
),
|
2619
|
+
), wt = (
|
2617
2620
|
// native
|
2618
2621
|
qn ? Object.fromEntries : (
|
2619
2622
|
// Ponyfill
|
@@ -2625,7 +2628,7 @@ var wt = Zn ? (
|
|
2625
2628
|
return r;
|
2626
2629
|
}
|
2627
2630
|
)
|
2628
|
-
),
|
2631
|
+
), ur = Jn ? (
|
2629
2632
|
// Native
|
2630
2633
|
function(t, r) {
|
2631
2634
|
return t.codePointAt(r);
|
@@ -2660,27 +2663,27 @@ var wt = Zn ? (
|
|
2660
2663
|
return t.replace(zn, "");
|
2661
2664
|
}
|
2662
2665
|
);
|
2663
|
-
function
|
2666
|
+
function hr(e, t) {
|
2664
2667
|
return new RegExp(e, t);
|
2665
2668
|
}
|
2666
|
-
var
|
2667
|
-
if (
|
2668
|
-
var
|
2669
|
-
|
2669
|
+
var Ye;
|
2670
|
+
if (qe) {
|
2671
|
+
var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2672
|
+
Ye = function(t, r) {
|
2670
2673
|
var n;
|
2671
|
-
|
2672
|
-
var i =
|
2674
|
+
Ht.lastIndex = r;
|
2675
|
+
var i = Ht.exec(t);
|
2673
2676
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2674
2677
|
};
|
2675
2678
|
} else
|
2676
|
-
|
2679
|
+
Ye = function(t, r) {
|
2677
2680
|
for (var n = []; ; ) {
|
2678
|
-
var i =
|
2679
|
-
if (i === void 0 ||
|
2681
|
+
var i = ur(t, r);
|
2682
|
+
if (i === void 0 || cr(i) || li(i))
|
2680
2683
|
break;
|
2681
2684
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2682
2685
|
}
|
2683
|
-
return
|
2686
|
+
return Je.apply(void 0, n);
|
2684
2687
|
};
|
2685
2688
|
var oi = (
|
2686
2689
|
/** @class */
|
@@ -2706,14 +2709,14 @@ var oi = (
|
|
2706
2709
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2707
2710
|
var a = this.clonePosition();
|
2708
2711
|
this.bump(), i.push({
|
2709
|
-
type:
|
2712
|
+
type: S.pound,
|
2710
2713
|
location: v(a, this.clonePosition())
|
2711
2714
|
});
|
2712
2715
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2713
2716
|
if (n)
|
2714
2717
|
break;
|
2715
2718
|
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
2716
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2719
|
+
} else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
2717
2720
|
var s = this.parseTag(t, r);
|
2718
2721
|
if (s.err)
|
2719
2722
|
return s;
|
@@ -2734,7 +2737,7 @@ var oi = (
|
|
2734
2737
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2735
2738
|
return {
|
2736
2739
|
val: {
|
2737
|
-
type:
|
2740
|
+
type: S.literal,
|
2738
2741
|
value: "<".concat(i, "/>"),
|
2739
2742
|
location: v(n, this.clonePosition())
|
2740
2743
|
},
|
@@ -2746,12 +2749,12 @@ var oi = (
|
|
2746
2749
|
return o;
|
2747
2750
|
var s = o.val, a = this.clonePosition();
|
2748
2751
|
if (this.bumpIf("</")) {
|
2749
|
-
if (this.isEOF() || !
|
2752
|
+
if (this.isEOF() || !Ke(this.char()))
|
2750
2753
|
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
2751
2754
|
var u = this.clonePosition(), l = this.parseTagName();
|
2752
2755
|
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2753
2756
|
val: {
|
2754
|
-
type:
|
2757
|
+
type: S.tag,
|
2755
2758
|
value: i,
|
2756
2759
|
children: s,
|
2757
2760
|
location: v(n, this.clonePosition())
|
@@ -2788,7 +2791,7 @@ var oi = (
|
|
2788
2791
|
}
|
2789
2792
|
var u = v(n, this.clonePosition());
|
2790
2793
|
return {
|
2791
|
-
val: { type:
|
2794
|
+
val: { type: S.literal, value: i, location: u },
|
2792
2795
|
err: null
|
2793
2796
|
};
|
2794
2797
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
@@ -2827,12 +2830,12 @@ var oi = (
|
|
2827
2830
|
r.push(n);
|
2828
2831
|
this.bump();
|
2829
2832
|
}
|
2830
|
-
return
|
2833
|
+
return Je.apply(void 0, r);
|
2831
2834
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2832
2835
|
if (this.isEOF())
|
2833
2836
|
return null;
|
2834
2837
|
var n = this.char();
|
2835
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2838
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
|
2836
2839
|
}, e.prototype.parseArgument = function(t, r) {
|
2837
2840
|
var n = this.clonePosition();
|
2838
2841
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2848,7 +2851,7 @@ var oi = (
|
|
2848
2851
|
case 125:
|
2849
2852
|
return this.bump(), {
|
2850
2853
|
val: {
|
2851
|
-
type:
|
2854
|
+
type: S.argument,
|
2852
2855
|
// value does not include the opening and closing braces.
|
2853
2856
|
value: i,
|
2854
2857
|
location: v(n, this.clonePosition())
|
@@ -2861,7 +2864,7 @@ var oi = (
|
|
2861
2864
|
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2862
2865
|
}
|
2863
2866
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2864
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2867
|
+
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
2865
2868
|
this.bumpTo(i);
|
2866
2869
|
var o = this.clonePosition(), s = v(t, o);
|
2867
2870
|
return { value: n, location: s };
|
@@ -2890,12 +2893,12 @@ var oi = (
|
|
2890
2893
|
if (g.err)
|
2891
2894
|
return g;
|
2892
2895
|
var b = v(i, this.clonePosition());
|
2893
|
-
if (l &&
|
2896
|
+
if (l && Ct(l == null ? void 0 : l.style, "::", 0)) {
|
2894
2897
|
var d = ni(l.style.slice(2));
|
2895
2898
|
if (a === "number") {
|
2896
2899
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2897
2900
|
return m.err ? m : {
|
2898
|
-
val: { type:
|
2901
|
+
val: { type: S.number, value: n, location: b, style: m.val },
|
2899
2902
|
err: null
|
2900
2903
|
};
|
2901
2904
|
} else {
|
@@ -2908,7 +2911,7 @@ var oi = (
|
|
2908
2911
|
pattern: H,
|
2909
2912
|
location: l.styleLocation,
|
2910
2913
|
parsedOptions: this.shouldParseSkeletons ? Rn(H) : {}
|
2911
|
-
}, _ = a === "date" ?
|
2914
|
+
}, _ = a === "date" ? S.date : S.time;
|
2912
2915
|
return {
|
2913
2916
|
val: { type: _, value: n, location: b, style: f },
|
2914
2917
|
err: null
|
@@ -2917,7 +2920,7 @@ var oi = (
|
|
2917
2920
|
}
|
2918
2921
|
return {
|
2919
2922
|
val: {
|
2920
|
-
type: a === "number" ?
|
2923
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
2921
2924
|
value: n,
|
2922
2925
|
location: b,
|
2923
2926
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
@@ -2951,17 +2954,17 @@ var oi = (
|
|
2951
2954
|
var w = v(i, this.clonePosition());
|
2952
2955
|
return a === "select" ? {
|
2953
2956
|
val: {
|
2954
|
-
type:
|
2957
|
+
type: S.select,
|
2955
2958
|
value: n,
|
2956
|
-
options:
|
2959
|
+
options: wt($.val),
|
2957
2960
|
location: w
|
2958
2961
|
},
|
2959
2962
|
err: null
|
2960
2963
|
} : {
|
2961
2964
|
val: {
|
2962
|
-
type:
|
2965
|
+
type: S.plural,
|
2963
2966
|
value: n,
|
2964
|
-
options:
|
2967
|
+
options: wt($.val),
|
2965
2968
|
offset: I,
|
2966
2969
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2967
2970
|
location: w
|
@@ -3084,7 +3087,7 @@ var oi = (
|
|
3084
3087
|
var t = this.position.offset;
|
3085
3088
|
if (t >= this.message.length)
|
3086
3089
|
throw Error("out of bound");
|
3087
|
-
var r =
|
3090
|
+
var r = ur(this.message, t);
|
3088
3091
|
if (r === void 0)
|
3089
3092
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3090
3093
|
return r;
|
@@ -3103,7 +3106,7 @@ var oi = (
|
|
3103
3106
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3104
3107
|
}
|
3105
3108
|
}, e.prototype.bumpIf = function(t) {
|
3106
|
-
if (
|
3109
|
+
if (Ct(this.message, t, this.offset())) {
|
3107
3110
|
for (var r = 0; r < t.length; r++)
|
3108
3111
|
this.bump();
|
3109
3112
|
return !0;
|
@@ -3125,7 +3128,7 @@ var oi = (
|
|
3125
3128
|
break;
|
3126
3129
|
}
|
3127
3130
|
}, e.prototype.bumpSpace = function() {
|
3128
|
-
for (; !this.isEOF() &&
|
3131
|
+
for (; !this.isEOF() && cr(this.char()); )
|
3129
3132
|
this.bump();
|
3130
3133
|
}, e.prototype.peek = function() {
|
3131
3134
|
if (this.isEOF())
|
@@ -3135,28 +3138,28 @@ var oi = (
|
|
3135
3138
|
}, e;
|
3136
3139
|
}()
|
3137
3140
|
);
|
3138
|
-
function
|
3141
|
+
function Ke(e) {
|
3139
3142
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3140
3143
|
}
|
3141
3144
|
function si(e) {
|
3142
|
-
return
|
3145
|
+
return Ke(e) || e === 47;
|
3143
3146
|
}
|
3144
3147
|
function ai(e) {
|
3145
3148
|
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;
|
3146
3149
|
}
|
3147
|
-
function
|
3150
|
+
function cr(e) {
|
3148
3151
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3149
3152
|
}
|
3150
3153
|
function li(e) {
|
3151
3154
|
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;
|
3152
3155
|
}
|
3153
|
-
function
|
3156
|
+
function et(e) {
|
3154
3157
|
e.forEach(function(t) {
|
3155
|
-
if (delete t.location,
|
3158
|
+
if (delete t.location, tr(t) || rr(t))
|
3156
3159
|
for (var r in t.options)
|
3157
|
-
delete t.options[r].location,
|
3160
|
+
delete t.options[r].location, et(t.options[r].value);
|
3158
3161
|
else
|
3159
|
-
|
3162
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && et(t.children);
|
3160
3163
|
});
|
3161
3164
|
}
|
3162
3165
|
function ui(e, t) {
|
@@ -3166,16 +3169,16 @@ function ui(e, t) {
|
|
3166
3169
|
var n = SyntaxError(y[r.err.kind]);
|
3167
3170
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3168
3171
|
}
|
3169
|
-
return t != null && t.captureLocation ||
|
3172
|
+
return t != null && t.captureLocation || et(r.val), r.val;
|
3170
3173
|
}
|
3171
3174
|
var ae;
|
3172
3175
|
(function(e) {
|
3173
3176
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3174
3177
|
})(ae || (ae = {}));
|
3175
|
-
var
|
3178
|
+
var Pe = (
|
3176
3179
|
/** @class */
|
3177
3180
|
function(e) {
|
3178
|
-
|
3181
|
+
Le(t, e);
|
3179
3182
|
function t(r, n, i) {
|
3180
3183
|
var o = e.call(this, r) || this;
|
3181
3184
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3184,33 +3187,33 @@ var Le = (
|
|
3184
3187
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3185
3188
|
}, t;
|
3186
3189
|
}(Error)
|
3187
|
-
),
|
3190
|
+
), St = (
|
3188
3191
|
/** @class */
|
3189
3192
|
function(e) {
|
3190
|
-
|
3193
|
+
Le(t, e);
|
3191
3194
|
function t(r, n, i, o) {
|
3192
3195
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
|
3193
3196
|
}
|
3194
3197
|
return t;
|
3195
|
-
}(
|
3198
|
+
}(Pe)
|
3196
3199
|
), hi = (
|
3197
3200
|
/** @class */
|
3198
3201
|
function(e) {
|
3199
|
-
|
3202
|
+
Le(t, e);
|
3200
3203
|
function t(r, n, i) {
|
3201
3204
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
|
3202
3205
|
}
|
3203
3206
|
return t;
|
3204
|
-
}(
|
3207
|
+
}(Pe)
|
3205
3208
|
), ci = (
|
3206
3209
|
/** @class */
|
3207
3210
|
function(e) {
|
3208
|
-
|
3211
|
+
Le(t, e);
|
3209
3212
|
function t(r, n) {
|
3210
3213
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
|
3211
3214
|
}
|
3212
3215
|
return t;
|
3213
|
-
}(
|
3216
|
+
}(Pe)
|
3214
3217
|
), R;
|
3215
3218
|
(function(e) {
|
3216
3219
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
@@ -3224,8 +3227,8 @@ function fi(e) {
|
|
3224
3227
|
function mi(e) {
|
3225
3228
|
return typeof e == "function";
|
3226
3229
|
}
|
3227
|
-
function
|
3228
|
-
if (e.length === 1 &&
|
3230
|
+
function Te(e, t, r, n, i, o, s) {
|
3231
|
+
if (e.length === 1 && vt(e[0]))
|
3229
3232
|
return [
|
3230
3233
|
{
|
3231
3234
|
type: R.literal,
|
@@ -3234,7 +3237,7 @@ function Se(e, t, r, n, i, o, s) {
|
|
3234
3237
|
];
|
3235
3238
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3236
3239
|
var h = l[u];
|
3237
|
-
if (
|
3240
|
+
if (vt(h)) {
|
3238
3241
|
a.push({
|
3239
3242
|
type: R.literal,
|
3240
3243
|
value: h.value
|
@@ -3259,35 +3262,35 @@ function Se(e, t, r, n, i, o, s) {
|
|
3259
3262
|
});
|
3260
3263
|
continue;
|
3261
3264
|
}
|
3262
|
-
if (
|
3263
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
3265
|
+
if (Kt(h)) {
|
3266
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
|
3264
3267
|
a.push({
|
3265
3268
|
type: R.literal,
|
3266
3269
|
value: r.getDateTimeFormat(t, p).format(f)
|
3267
3270
|
});
|
3268
3271
|
continue;
|
3269
3272
|
}
|
3270
|
-
if (
|
3271
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
3273
|
+
if (er(h)) {
|
3274
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
3272
3275
|
a.push({
|
3273
3276
|
type: R.literal,
|
3274
3277
|
value: r.getDateTimeFormat(t, p).format(f)
|
3275
3278
|
});
|
3276
3279
|
continue;
|
3277
3280
|
}
|
3278
|
-
if (
|
3279
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
3281
|
+
if (Yt(h)) {
|
3282
|
+
var p = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
|
3280
3283
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3281
3284
|
type: R.literal,
|
3282
3285
|
value: r.getNumberFormat(t, p).format(f)
|
3283
3286
|
});
|
3284
3287
|
continue;
|
3285
3288
|
}
|
3286
|
-
if (
|
3289
|
+
if (nr(h)) {
|
3287
3290
|
var g = h.children, b = h.value, d = i[b];
|
3288
3291
|
if (!mi(d))
|
3289
3292
|
throw new hi(b, "function", s);
|
3290
|
-
var H =
|
3293
|
+
var H = Te(g, t, r, n, i, o), _ = d(H.map(function(I) {
|
3291
3294
|
return I.value;
|
3292
3295
|
}));
|
3293
3296
|
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(I) {
|
@@ -3297,26 +3300,26 @@ function Se(e, t, r, n, i, o, s) {
|
|
3297
3300
|
};
|
3298
3301
|
}));
|
3299
3302
|
}
|
3300
|
-
if (
|
3303
|
+
if (tr(h)) {
|
3301
3304
|
var x = h.options[f] || h.options.other;
|
3302
3305
|
if (!x)
|
3303
|
-
throw new
|
3304
|
-
a.push.apply(a,
|
3306
|
+
throw new St(h.value, f, Object.keys(h.options), s);
|
3307
|
+
a.push.apply(a, Te(x.value, t, r, n, i));
|
3305
3308
|
continue;
|
3306
3309
|
}
|
3307
|
-
if (
|
3310
|
+
if (rr(h)) {
|
3308
3311
|
var x = h.options["=".concat(f)];
|
3309
3312
|
if (!x) {
|
3310
3313
|
if (!Intl.PluralRules)
|
3311
|
-
throw new
|
3314
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3312
3315
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3313
3316
|
`, ae.MISSING_INTL_API, s);
|
3314
3317
|
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3315
3318
|
x = h.options[O] || h.options.other;
|
3316
3319
|
}
|
3317
3320
|
if (!x)
|
3318
|
-
throw new
|
3319
|
-
a.push.apply(a,
|
3321
|
+
throw new St(h.value, f, Object.keys(h.options), s);
|
3322
|
+
a.push.apply(a, Te(x.value, t, r, n, i, f - (h.offset || 0)));
|
3320
3323
|
continue;
|
3321
3324
|
}
|
3322
3325
|
}
|
@@ -3332,7 +3335,7 @@ function pi(e, t) {
|
|
3332
3335
|
return r[n] = di(e[n], t[n]), r;
|
3333
3336
|
}, E({}, e)) : e;
|
3334
3337
|
}
|
3335
|
-
function
|
3338
|
+
function Ve(e) {
|
3336
3339
|
return {
|
3337
3340
|
create: function() {
|
3338
3341
|
return {
|
@@ -3352,29 +3355,29 @@ function gi(e) {
|
|
3352
3355
|
dateTime: {},
|
3353
3356
|
pluralRules: {}
|
3354
3357
|
}), {
|
3355
|
-
getNumberFormat:
|
3358
|
+
getNumberFormat: ke(function() {
|
3356
3359
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3357
3360
|
r[n] = arguments[n];
|
3358
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3361
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
|
3359
3362
|
}, {
|
3360
|
-
cache:
|
3361
|
-
strategy:
|
3363
|
+
cache: Ve(e.number),
|
3364
|
+
strategy: $e.variadic
|
3362
3365
|
}),
|
3363
|
-
getDateTimeFormat:
|
3366
|
+
getDateTimeFormat: ke(function() {
|
3364
3367
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3365
3368
|
r[n] = arguments[n];
|
3366
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3369
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
|
3367
3370
|
}, {
|
3368
|
-
cache:
|
3369
|
-
strategy:
|
3371
|
+
cache: Ve(e.dateTime),
|
3372
|
+
strategy: $e.variadic
|
3370
3373
|
}),
|
3371
|
-
getPluralRules:
|
3374
|
+
getPluralRules: ke(function() {
|
3372
3375
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3373
3376
|
r[n] = arguments[n];
|
3374
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3377
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
|
3375
3378
|
}, {
|
3376
|
-
cache:
|
3377
|
-
strategy:
|
3379
|
+
cache: Ve(e.pluralRules),
|
3380
|
+
strategy: $e.variadic
|
3378
3381
|
})
|
3379
3382
|
};
|
3380
3383
|
}
|
@@ -3397,7 +3400,7 @@ var bi = (
|
|
3397
3400
|
}, []);
|
3398
3401
|
return h.length <= 1 ? h[0] || "" : h;
|
3399
3402
|
}, this.formatToParts = function(u) {
|
3400
|
-
return
|
3403
|
+
return Te(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
3401
3404
|
}, this.resolvedOptions = function() {
|
3402
3405
|
var u;
|
3403
3406
|
return {
|
@@ -3410,7 +3413,7 @@ var bi = (
|
|
3410
3413
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3411
3414
|
var s = i || {};
|
3412
3415
|
s.formatters;
|
3413
|
-
var a =
|
3416
|
+
var a = Sn(s, ["formatters"]);
|
3414
3417
|
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
3415
3418
|
} else
|
3416
3419
|
this.ast = t;
|
@@ -3511,28 +3514,28 @@ function yi(e, t) {
|
|
3511
3514
|
n = void 0;
|
3512
3515
|
return n;
|
3513
3516
|
}
|
3514
|
-
const W = {}, vi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r),
|
3517
|
+
const W = {}, vi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), fr = (e, t) => {
|
3515
3518
|
if (t == null)
|
3516
3519
|
return;
|
3517
3520
|
if (t in W && e in W[t])
|
3518
3521
|
return W[t][e];
|
3519
|
-
const r =
|
3522
|
+
const r = Oe(t);
|
3520
3523
|
for (let n = 0; n < r.length; n++) {
|
3521
3524
|
const i = r[n], o = Ei(i, e);
|
3522
3525
|
if (o)
|
3523
3526
|
return vi(e, t, o);
|
3524
3527
|
}
|
3525
3528
|
};
|
3526
|
-
let
|
3527
|
-
const he =
|
3529
|
+
let ot;
|
3530
|
+
const he = Ne({});
|
3528
3531
|
function _i(e) {
|
3529
|
-
return
|
3532
|
+
return ot[e] || null;
|
3530
3533
|
}
|
3531
|
-
function
|
3532
|
-
return e in
|
3534
|
+
function mr(e) {
|
3535
|
+
return e in ot;
|
3533
3536
|
}
|
3534
3537
|
function Ei(e, t) {
|
3535
|
-
if (!
|
3538
|
+
if (!mr(e))
|
3536
3539
|
return null;
|
3537
3540
|
const r = _i(e);
|
3538
3541
|
return yi(r, t);
|
@@ -3540,50 +3543,50 @@ function Ei(e, t) {
|
|
3540
3543
|
function xi(e) {
|
3541
3544
|
if (e == null)
|
3542
3545
|
return;
|
3543
|
-
const t =
|
3546
|
+
const t = Oe(e);
|
3544
3547
|
for (let r = 0; r < t.length; r++) {
|
3545
3548
|
const n = t[r];
|
3546
|
-
if (
|
3549
|
+
if (mr(n))
|
3547
3550
|
return n;
|
3548
3551
|
}
|
3549
3552
|
}
|
3550
|
-
function
|
3551
|
-
delete W[e], he.update((r) => (r[e] =
|
3553
|
+
function dr(e, ...t) {
|
3554
|
+
delete W[e], he.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
|
3552
3555
|
}
|
3553
3556
|
ue(
|
3554
3557
|
[he],
|
3555
3558
|
([e]) => Object.keys(e)
|
3556
3559
|
);
|
3557
|
-
he.subscribe((e) =>
|
3558
|
-
const
|
3560
|
+
he.subscribe((e) => ot = e);
|
3561
|
+
const Ae = {};
|
3559
3562
|
function Ci(e, t) {
|
3560
|
-
|
3563
|
+
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
3561
3564
|
}
|
3562
|
-
function
|
3563
|
-
return
|
3565
|
+
function pr(e) {
|
3566
|
+
return Ae[e];
|
3564
3567
|
}
|
3565
3568
|
function wi(e) {
|
3566
|
-
return
|
3567
|
-
const r =
|
3569
|
+
return Oe(e).map((t) => {
|
3570
|
+
const r = pr(t);
|
3568
3571
|
return [t, r ? [...r] : []];
|
3569
3572
|
}).filter(([, t]) => t.length > 0);
|
3570
3573
|
}
|
3571
|
-
function
|
3572
|
-
return e == null ? !1 :
|
3574
|
+
function tt(e) {
|
3575
|
+
return e == null ? !1 : Oe(e).some(
|
3573
3576
|
(t) => {
|
3574
3577
|
var r;
|
3575
|
-
return (r =
|
3578
|
+
return (r = pr(t)) == null ? void 0 : r.size;
|
3576
3579
|
}
|
3577
3580
|
);
|
3578
3581
|
}
|
3579
3582
|
function Hi(e, t) {
|
3580
3583
|
return Promise.all(
|
3581
3584
|
t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
|
3582
|
-
).then((n) =>
|
3585
|
+
).then((n) => dr(e, ...n));
|
3583
3586
|
}
|
3584
3587
|
const me = {};
|
3585
|
-
function
|
3586
|
-
if (!
|
3588
|
+
function gr(e) {
|
3589
|
+
if (!tt(e))
|
3587
3590
|
return e in me ? me[e] : Promise.resolve();
|
3588
3591
|
const t = wi(e);
|
3589
3592
|
return me[e] = Promise.all(
|
@@ -3591,8 +3594,8 @@ function br(e) {
|
|
3591
3594
|
([r, n]) => Hi(r, n)
|
3592
3595
|
)
|
3593
3596
|
).then(() => {
|
3594
|
-
if (
|
3595
|
-
return
|
3597
|
+
if (tt(e))
|
3598
|
+
return gr(e);
|
3596
3599
|
delete me[e];
|
3597
3600
|
}), me[e];
|
3598
3601
|
}
|
@@ -3636,67 +3639,67 @@ const Si = {
|
|
3636
3639
|
function le() {
|
3637
3640
|
return Ai;
|
3638
3641
|
}
|
3639
|
-
const
|
3640
|
-
var Bi = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors,
|
3642
|
+
const Xe = Ne(!1);
|
3643
|
+
var Bi = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
|
3641
3644
|
for (var r in t || (t = {}))
|
3642
|
-
Ni.call(t, r) &&
|
3643
|
-
if (
|
3644
|
-
for (var r of
|
3645
|
-
Li.call(t, r) &&
|
3645
|
+
Ni.call(t, r) && At(e, r, t[r]);
|
3646
|
+
if (Tt)
|
3647
|
+
for (var r of Tt(t))
|
3648
|
+
Li.call(t, r) && At(e, r, t[r]);
|
3646
3649
|
return e;
|
3647
3650
|
}, Oi = (e, t) => Ii(e, Mi(t));
|
3648
|
-
let
|
3649
|
-
const
|
3650
|
-
function
|
3651
|
+
let rt;
|
3652
|
+
const Ie = Ne(null);
|
3653
|
+
function Bt(e) {
|
3651
3654
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3652
3655
|
}
|
3653
|
-
function
|
3654
|
-
const r =
|
3655
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3656
|
+
function Oe(e, t = le().fallbackLocale) {
|
3657
|
+
const r = Bt(e);
|
3658
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
|
3656
3659
|
}
|
3657
3660
|
function Y() {
|
3658
|
-
return
|
3661
|
+
return rt != null ? rt : void 0;
|
3659
3662
|
}
|
3660
|
-
|
3661
|
-
|
3663
|
+
Ie.subscribe((e) => {
|
3664
|
+
rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3662
3665
|
});
|
3663
3666
|
const Fi = (e) => {
|
3664
|
-
if (e && xi(e) &&
|
3667
|
+
if (e && xi(e) && tt(e)) {
|
3665
3668
|
const { loadingDelay: t } = le();
|
3666
3669
|
let r;
|
3667
3670
|
return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
|
3668
|
-
() =>
|
3671
|
+
() => Xe.set(!0),
|
3669
3672
|
t
|
3670
|
-
) :
|
3671
|
-
|
3673
|
+
) : Xe.set(!0), gr(e).then(() => {
|
3674
|
+
Ie.set(e);
|
3672
3675
|
}).finally(() => {
|
3673
|
-
clearTimeout(r),
|
3676
|
+
clearTimeout(r), Xe.set(!1);
|
3674
3677
|
});
|
3675
3678
|
}
|
3676
|
-
return
|
3677
|
-
}, z = Oi(Pi({},
|
3679
|
+
return Ie.set(e);
|
3680
|
+
}, z = Oi(Pi({}, Ie), {
|
3678
3681
|
set: Fi
|
3679
|
-
}),
|
3682
|
+
}), Fe = (e) => {
|
3680
3683
|
const t = /* @__PURE__ */ Object.create(null);
|
3681
3684
|
return (n) => {
|
3682
3685
|
const i = JSON.stringify(n);
|
3683
3686
|
return i in t ? t[i] : t[i] = e(n);
|
3684
3687
|
};
|
3685
3688
|
};
|
3686
|
-
var Ri = Object.defineProperty,
|
3689
|
+
var Ri = Object.defineProperty, Me = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
3687
3690
|
for (var r in t || (t = {}))
|
3688
|
-
|
3689
|
-
if (
|
3690
|
-
for (var r of
|
3691
|
-
|
3691
|
+
br.call(t, r) && It(e, r, t[r]);
|
3692
|
+
if (Me)
|
3693
|
+
for (var r of Me(t))
|
3694
|
+
yr.call(t, r) && It(e, r, t[r]);
|
3692
3695
|
return e;
|
3693
3696
|
}, ce = (e, t) => {
|
3694
3697
|
var r = {};
|
3695
3698
|
for (var n in e)
|
3696
|
-
|
3697
|
-
if (e != null &&
|
3698
|
-
for (var n of
|
3699
|
-
t.indexOf(n) < 0 &&
|
3699
|
+
br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3700
|
+
if (e != null && Me)
|
3701
|
+
for (var n of Me(e))
|
3702
|
+
t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
|
3700
3703
|
return r;
|
3701
3704
|
};
|
3702
3705
|
const ve = (e, t) => {
|
@@ -3704,21 +3707,21 @@ const ve = (e, t) => {
|
|
3704
3707
|
if (e in r && t in r[e])
|
3705
3708
|
return r[e][t];
|
3706
3709
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3707
|
-
}, Di =
|
3710
|
+
}, Di = Fe(
|
3708
3711
|
(e) => {
|
3709
3712
|
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3710
3713
|
if (r == null)
|
3711
3714
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3712
3715
|
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
3713
3716
|
}
|
3714
|
-
), Ui =
|
3717
|
+
), Ui = Fe(
|
3715
3718
|
(e) => {
|
3716
3719
|
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3717
3720
|
if (r == null)
|
3718
3721
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3719
3722
|
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
3720
3723
|
}
|
3721
|
-
), Gi =
|
3724
|
+
), Gi = Fe(
|
3722
3725
|
(e) => {
|
3723
3726
|
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3724
3727
|
if (r == null)
|
@@ -3733,22 +3736,22 @@ const ve = (e, t) => {
|
|
3733
3736
|
} = t, n = ce(t, [
|
3734
3737
|
"locale"
|
3735
3738
|
]);
|
3736
|
-
return Di(
|
3739
|
+
return Di(st({ locale: r }, n));
|
3737
3740
|
}, $i = (e = {}) => {
|
3738
3741
|
var t = e, {
|
3739
3742
|
locale: r = Y()
|
3740
3743
|
} = t, n = ce(t, [
|
3741
3744
|
"locale"
|
3742
3745
|
]);
|
3743
|
-
return Ui(
|
3746
|
+
return Ui(st({ locale: r }, n));
|
3744
3747
|
}, ji = (e = {}) => {
|
3745
3748
|
var t = e, {
|
3746
3749
|
locale: r = Y()
|
3747
3750
|
} = t, n = ce(t, [
|
3748
3751
|
"locale"
|
3749
3752
|
]);
|
3750
|
-
return Gi(
|
3751
|
-
}, Vi =
|
3753
|
+
return Gi(st({ locale: r }, n));
|
3754
|
+
}, Vi = Fe(
|
3752
3755
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3753
3756
|
(e, t = Y()) => new bi(e, t, le().formats, {
|
3754
3757
|
ignoreTag: le().ignoreTag
|
@@ -3766,7 +3769,7 @@ const ve = (e, t) => {
|
|
3766
3769
|
throw new Error(
|
3767
3770
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3768
3771
|
);
|
3769
|
-
let h =
|
3772
|
+
let h = fr(e, u);
|
3770
3773
|
if (!h)
|
3771
3774
|
h = (o = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
3772
3775
|
else if (typeof h != "string")
|
@@ -3785,7 +3788,7 @@ const ve = (e, t) => {
|
|
3785
3788
|
);
|
3786
3789
|
}
|
3787
3790
|
return m;
|
3788
|
-
}, Wi = (e, t) => ji(t).format(e), zi = (e, t) => $i(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t = Y()) =>
|
3791
|
+
}, Wi = (e, t) => ji(t).format(e), zi = (e, t) => $i(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t = Y()) => fr(e, t);
|
3789
3792
|
ue([z, he], () => Xi);
|
3790
3793
|
ue([z], () => Wi);
|
3791
3794
|
ue([z], () => zi);
|
@@ -3796,13 +3799,13 @@ function qi({ withLocale: e, translations: t }) {
|
|
3796
3799
|
r == null && (he.set(t), z.set(e));
|
3797
3800
|
});
|
3798
3801
|
}
|
3799
|
-
function
|
3800
|
-
|
3802
|
+
function Mt(e, t) {
|
3803
|
+
dr(e, t);
|
3801
3804
|
}
|
3802
3805
|
function Ji(e) {
|
3803
3806
|
z.set(e);
|
3804
3807
|
}
|
3805
|
-
const
|
3808
|
+
const Nt = {
|
3806
3809
|
en: {
|
3807
3810
|
login: "Login",
|
3808
3811
|
register: "Register",
|
@@ -3860,21 +3863,21 @@ const Lt = {
|
|
3860
3863
|
}
|
3861
3864
|
};
|
3862
3865
|
function Yi(e) {
|
3863
|
-
|
3866
|
+
Ur(e, "svelte-2e7gs6", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.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}');
|
3864
3867
|
}
|
3865
|
-
function
|
3868
|
+
function Lt(e, t, r) {
|
3866
3869
|
const n = e.slice();
|
3867
3870
|
return n[48] = t[r], n[50] = r, n;
|
3868
3871
|
}
|
3869
|
-
function
|
3872
|
+
function Pt(e, t, r) {
|
3870
3873
|
const n = e.slice();
|
3871
3874
|
return n[51] = t[r], n;
|
3872
3875
|
}
|
3873
|
-
function
|
3876
|
+
function Ot(e, t, r) {
|
3874
3877
|
const n = e.slice();
|
3875
3878
|
return n[54] = t[r], n[56] = r, n;
|
3876
3879
|
}
|
3877
|
-
function
|
3880
|
+
function Ft(e) {
|
3878
3881
|
let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
|
3879
3882
|
/*sliderdata*/
|
3880
3883
|
e[9]
|
@@ -3884,8 +3887,8 @@ function Rt(e) {
|
|
3884
3887
|
s[48].id
|
3885
3888
|
);
|
3886
3889
|
for (let s = 0; s < i.length; s += 1) {
|
3887
|
-
let a =
|
3888
|
-
r.set(u, t[s] =
|
3890
|
+
let a = Lt(e, i, s), u = o(a);
|
3891
|
+
r.set(u, t[s] = $t(u, a));
|
3889
3892
|
}
|
3890
3893
|
return {
|
3891
3894
|
c() {
|
@@ -3903,7 +3906,7 @@ function Rt(e) {
|
|
3903
3906
|
77775 && (i = ie(
|
3904
3907
|
/*sliderdata*/
|
3905
3908
|
s[9]
|
3906
|
-
), t =
|
3909
|
+
), t = zt(t, a, o, 1, s, i, r, n.parentNode, Wt, $t, n, Lt));
|
3907
3910
|
},
|
3908
3911
|
d(s) {
|
3909
3912
|
s && D(n);
|
@@ -3919,7 +3922,7 @@ function Ki(e) {
|
|
3919
3922
|
), n;
|
3920
3923
|
return {
|
3921
3924
|
c() {
|
3922
|
-
t = L("button"), n = _e(r),
|
3925
|
+
t = L("button"), n = _e(r), T(t, "class", "CategoryButton");
|
3923
3926
|
},
|
3924
3927
|
m(i, o) {
|
3925
3928
|
G(i, t, o), B(t, n);
|
@@ -3927,7 +3930,7 @@ function Ki(e) {
|
|
3927
3930
|
p(i, o) {
|
3928
3931
|
o[0] & /*sliderdata*/
|
3929
3932
|
512 && r !== (r = /*category*/
|
3930
|
-
i[48].name + "") &&
|
3933
|
+
i[48].name + "") && it(n, r);
|
3931
3934
|
},
|
3932
3935
|
d(i) {
|
3933
3936
|
i && D(t);
|
@@ -3941,7 +3944,7 @@ function eo(e) {
|
|
3941
3944
|
), n, i;
|
3942
3945
|
return {
|
3943
3946
|
c() {
|
3944
|
-
t = L("a"), n = _e(r),
|
3947
|
+
t = L("a"), n = _e(r), T(t, "href", i = /*category*/
|
3945
3948
|
e[48].path);
|
3946
3949
|
},
|
3947
3950
|
m(o, s) {
|
@@ -3950,20 +3953,20 @@ function eo(e) {
|
|
3950
3953
|
p(o, s) {
|
3951
3954
|
s[0] & /*sliderdata*/
|
3952
3955
|
512 && r !== (r = /*category*/
|
3953
|
-
o[48].label + "") &&
|
3956
|
+
o[48].label + "") && it(n, r), s[0] & /*sliderdata*/
|
3954
3957
|
512 && i !== (i = /*category*/
|
3955
|
-
o[48].path) &&
|
3958
|
+
o[48].path) && T(t, "href", i);
|
3956
3959
|
},
|
3957
3960
|
d(o) {
|
3958
3961
|
o && D(t);
|
3959
3962
|
}
|
3960
3963
|
};
|
3961
3964
|
}
|
3962
|
-
function
|
3965
|
+
function Rt(e) {
|
3963
3966
|
let t, r = (
|
3964
3967
|
/*subGroupsData*/
|
3965
3968
|
e[10].length > 0 && /*showsubgroups*/
|
3966
|
-
e[2] == "true" &&
|
3969
|
+
e[2] == "true" && Dt(e)
|
3967
3970
|
);
|
3968
3971
|
return {
|
3969
3972
|
c() {
|
@@ -3975,26 +3978,26 @@ function Dt(e) {
|
|
3975
3978
|
p(n, i) {
|
3976
3979
|
/*subGroupsData*/
|
3977
3980
|
n[10].length > 0 && /*showsubgroups*/
|
3978
|
-
n[2] == "true" ? r ? r.p(n, i) : (r =
|
3981
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = Dt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3979
3982
|
},
|
3980
3983
|
d(n) {
|
3981
3984
|
n && D(t), r && r.d(n);
|
3982
3985
|
}
|
3983
3986
|
};
|
3984
3987
|
}
|
3985
|
-
function
|
3988
|
+
function Dt(e) {
|
3986
3989
|
let t, r = ie(
|
3987
3990
|
/*subGroupsData*/
|
3988
3991
|
e[10]
|
3989
3992
|
), n = [];
|
3990
3993
|
for (let i = 0; i < r.length; i += 1)
|
3991
|
-
n[i] =
|
3994
|
+
n[i] = kt(Pt(e, r, i));
|
3992
3995
|
return {
|
3993
3996
|
c() {
|
3994
3997
|
t = L("ul");
|
3995
3998
|
for (let i = 0; i < n.length; i += 1)
|
3996
3999
|
n[i].c();
|
3997
|
-
|
4000
|
+
T(t, "class", "DropDown");
|
3998
4001
|
},
|
3999
4002
|
m(i, o) {
|
4000
4003
|
G(i, t, o);
|
@@ -4010,8 +4013,8 @@ function Ut(e) {
|
|
4010
4013
|
);
|
4011
4014
|
let s;
|
4012
4015
|
for (s = 0; s < r.length; s += 1) {
|
4013
|
-
const a =
|
4014
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
4016
|
+
const a = Pt(i, r, s);
|
4017
|
+
n[s] ? n[s].p(a, o) : (n[s] = kt(a), n[s].c(), n[s].m(t, null));
|
4015
4018
|
}
|
4016
4019
|
for (; s < n.length; s += 1)
|
4017
4020
|
n[s].d(1);
|
@@ -4019,11 +4022,11 @@ function Ut(e) {
|
|
4019
4022
|
}
|
4020
4023
|
},
|
4021
4024
|
d(i) {
|
4022
|
-
i && D(t),
|
4025
|
+
i && D(t), $r(n, i);
|
4023
4026
|
}
|
4024
4027
|
};
|
4025
4028
|
}
|
4026
|
-
function
|
4029
|
+
function Ut(e) {
|
4027
4030
|
var h;
|
4028
4031
|
let t, r, n = (
|
4029
4032
|
/*subGroupItem*/
|
@@ -4047,7 +4050,7 @@ function Gt(e) {
|
|
4047
4050
|
}
|
4048
4051
|
return {
|
4049
4052
|
c() {
|
4050
|
-
t = L("li"), r = L("a"), i = _e(n), s = q(),
|
4053
|
+
t = L("li"), r = L("a"), i = _e(n), s = q(), T(r, "class", o = "SubDropDown " + /*index*/
|
4051
4054
|
(e[50] == /*activeIndex*/
|
4052
4055
|
e[6] && /*activeSubIndex*/
|
4053
4056
|
(e[7] == /*subindex*/
|
@@ -4056,31 +4059,31 @@ function Gt(e) {
|
|
4056
4059
|
e[56]) ? "active" : ""));
|
4057
4060
|
},
|
4058
4061
|
m(m, f) {
|
4059
|
-
G(m, t, f), B(t, r), B(r, i), B(t, s), a || (u =
|
4062
|
+
G(m, t, f), B(t, r), B(r, i), B(t, s), a || (u = Be(t, "click", l), a = !0);
|
4060
4063
|
},
|
4061
4064
|
p(m, f) {
|
4062
4065
|
var p;
|
4063
4066
|
e = m, f[0] & /*subGroupsData*/
|
4064
4067
|
1024 && n !== (n = /*subGroupItem*/
|
4065
|
-
((p = e[54]) == null ? void 0 : p.name) + "") &&
|
4068
|
+
((p = e[54]) == null ? void 0 : p.name) + "") && it(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4066
4069
|
1984 && o !== (o = "SubDropDown " + /*index*/
|
4067
4070
|
(e[50] == /*activeIndex*/
|
4068
4071
|
e[6] && /*activeSubIndex*/
|
4069
4072
|
(e[7] == /*subindex*/
|
4070
4073
|
e[56] || /*prevSubIndex*/
|
4071
4074
|
e[8] == /*subindex*/
|
4072
|
-
e[56]) ? "active" : "")) &&
|
4075
|
+
e[56]) ? "active" : "")) && T(r, "class", o);
|
4073
4076
|
},
|
4074
4077
|
d(m) {
|
4075
4078
|
m && D(t), a = !1, u();
|
4076
4079
|
}
|
4077
4080
|
};
|
4078
4081
|
}
|
4079
|
-
function
|
4082
|
+
function Gt(e, t) {
|
4080
4083
|
let r, n, i = (
|
4081
4084
|
/*index*/
|
4082
4085
|
t[50] == /*subGroup*/
|
4083
|
-
t[51].index &&
|
4086
|
+
t[51].index && Ut(t)
|
4084
4087
|
);
|
4085
4088
|
return {
|
4086
4089
|
key: e,
|
@@ -4094,14 +4097,14 @@ function kt(e, t) {
|
|
4094
4097
|
p(o, s) {
|
4095
4098
|
t = o, /*index*/
|
4096
4099
|
t[50] == /*subGroup*/
|
4097
|
-
t[51].index ? i ? i.p(t, s) : (i =
|
4100
|
+
t[51].index ? i ? i.p(t, s) : (i = Ut(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4098
4101
|
},
|
4099
4102
|
d(o) {
|
4100
4103
|
o && (D(r), D(n)), i && i.d(o);
|
4101
4104
|
}
|
4102
4105
|
};
|
4103
4106
|
}
|
4104
|
-
function
|
4107
|
+
function kt(e) {
|
4105
4108
|
let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
|
4106
4109
|
/*subGroup*/
|
4107
4110
|
e[51].items
|
@@ -4111,8 +4114,8 @@ function $t(e) {
|
|
4111
4114
|
s[54].id
|
4112
4115
|
);
|
4113
4116
|
for (let s = 0; s < i.length; s += 1) {
|
4114
|
-
let a =
|
4115
|
-
r.set(u, t[s] =
|
4117
|
+
let a = Ot(e, i, s), u = o(a);
|
4118
|
+
r.set(u, t[s] = Gt(u, a));
|
4116
4119
|
}
|
4117
4120
|
return {
|
4118
4121
|
c() {
|
@@ -4130,7 +4133,7 @@ function $t(e) {
|
|
4130
4133
|
10176 && (i = ie(
|
4131
4134
|
/*subGroup*/
|
4132
4135
|
s[51].items
|
4133
|
-
), t =
|
4136
|
+
), t = zt(t, a, o, 1, s, i, r, n.parentNode, Wt, Gt, n, Ot));
|
4134
4137
|
},
|
4135
4138
|
d(s) {
|
4136
4139
|
s && D(n);
|
@@ -4139,7 +4142,7 @@ function $t(e) {
|
|
4139
4142
|
}
|
4140
4143
|
};
|
4141
4144
|
}
|
4142
|
-
function
|
4145
|
+
function $t(e, t) {
|
4143
4146
|
let r, n, i, o, s, a, u, l, h, m, f;
|
4144
4147
|
function p(_, x) {
|
4145
4148
|
return (
|
@@ -4152,7 +4155,7 @@ function jt(e, t) {
|
|
4152
4155
|
t[11][
|
4153
4156
|
/*index*/
|
4154
4157
|
t[50]
|
4155
|
-
] == !0 &&
|
4158
|
+
] == !0 && Rt(t)
|
4156
4159
|
);
|
4157
4160
|
function H(..._) {
|
4158
4161
|
return (
|
@@ -4171,12 +4174,12 @@ function jt(e, t) {
|
|
4171
4174
|
first: null,
|
4172
4175
|
c() {
|
4173
4176
|
var _, x;
|
4174
|
-
r = L("li"), n = L("div"), i = L("
|
4175
|
-
(t[3] === "true" ? "" : "DisplayNone")),
|
4177
|
+
r = L("li"), n = L("div"), i = L("ui-image"), a = q(), b.c(), u = q(), d && d.c(), l = q(), we(i, "imgClass", o = "CategoryIconImg " + /*categoriesicon*/
|
4178
|
+
(t[3] === "true" ? "" : "DisplayNone")), gt(i.src, s = /*handleSrc*/
|
4176
4179
|
t[16](
|
4177
4180
|
/*category*/
|
4178
4181
|
t[48]
|
4179
|
-
)) ||
|
4182
|
+
)) || we(i, "src", s), T(n, "class", "CategoryIcon"), T(r, "class", h = "CarouselItem " + /*activeindex*/
|
4180
4183
|
(((_ = t[1]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
|
4181
4184
|
/*activeindex*/
|
4182
4185
|
((x = t[1]) == null ? void 0 : x.split("$").pop()) == /*category*/
|
@@ -4189,22 +4192,22 @@ function jt(e, t) {
|
|
4189
4192
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4190
4193
|
},
|
4191
4194
|
m(_, x) {
|
4192
|
-
G(_, r, x), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, u), d && d.m(r, null), B(r, l), m || (f =
|
4195
|
+
G(_, r, x), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, u), d && d.m(r, null), B(r, l), m || (f = Be(r, "click", H), m = !0);
|
4193
4196
|
},
|
4194
4197
|
p(_, x) {
|
4195
4198
|
var O, I;
|
4196
4199
|
t = _, x[0] & /*categoriesicon*/
|
4197
4200
|
8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
|
4198
|
-
(t[3] === "true" ? "" : "DisplayNone")) &&
|
4199
|
-
512 && !
|
4201
|
+
(t[3] === "true" ? "" : "DisplayNone")) && we(i, "imgClass", o), x[0] & /*sliderdata*/
|
4202
|
+
512 && !gt(i.src, s = /*handleSrc*/
|
4200
4203
|
t[16](
|
4201
4204
|
/*category*/
|
4202
4205
|
t[48]
|
4203
|
-
)) &&
|
4206
|
+
)) && we(i, "src", s), g === (g = p(t)) && b ? b.p(t, x) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
|
4204
4207
|
t[11][
|
4205
4208
|
/*index*/
|
4206
4209
|
t[50]
|
4207
|
-
] == !0 ? d ? d.p(t, x) : (d =
|
4210
|
+
] == !0 ? d ? d.p(t, x) : (d = Rt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), x[0] & /*activeindex, sliderdata, location*/
|
4208
4211
|
515 && h !== (h = "CarouselItem " + /*activeindex*/
|
4209
4212
|
(((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
|
4210
4213
|
/*activeindex*/
|
@@ -4215,7 +4218,7 @@ function jt(e, t) {
|
|
4215
4218
|
t[1] == /*category*/
|
4216
4219
|
t[48].id ? "active" : ""
|
4217
4220
|
)) + " " + /*location*/
|
4218
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
4221
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && T(r, "class", h);
|
4219
4222
|
},
|
4220
4223
|
d(_) {
|
4221
4224
|
_ && D(r), b.d(), d && d.d(), m = !1, f();
|
@@ -4225,24 +4228,24 @@ function jt(e, t) {
|
|
4225
4228
|
function to(e) {
|
4226
4229
|
let t, r, n, i, o, s, a, u, l, h, m, f, p, g, b, d = (
|
4227
4230
|
/*sliderdata*/
|
4228
|
-
e[9].length > 0 &&
|
4231
|
+
e[9].length > 0 && Ft(e)
|
4229
4232
|
);
|
4230
4233
|
return {
|
4231
4234
|
c() {
|
4232
|
-
t = L("div"), r = L("div"), n = L("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 = q(), o = L("div"), s = L("ul"), a = L("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = q(), d && d.c(), l = q(), h = L("div"), h.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>',
|
4233
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
4234
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
4235
|
+
t = L("div"), r = L("div"), n = L("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 = q(), o = L("div"), s = L("ul"), a = L("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = q(), d && d.c(), l = q(), h = L("div"), h.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(s, "id", "CarouselNav"), T(s, "class", "CarouselItems"), T(o, "class", "CarouselNavWrap scroller"), T(h, "class", "CarouselRightArrow"), T(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4236
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), T(r, "style", f = /*location*/
|
4237
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), T(t, "class", p = "CarouselWrapper " + /*location*/
|
4235
4238
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4236
4239
|
},
|
4237
4240
|
m(H, _) {
|
4238
4241
|
G(H, t, _), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, u), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, h), e[38](t), g || (b = [
|
4239
|
-
|
4242
|
+
Be(
|
4240
4243
|
n,
|
4241
4244
|
"click",
|
4242
4245
|
/*click_handler*/
|
4243
4246
|
e[32]
|
4244
4247
|
),
|
4245
|
-
|
4248
|
+
Be(
|
4246
4249
|
h,
|
4247
4250
|
"click",
|
4248
4251
|
/*click_handler_3*/
|
@@ -4252,13 +4255,13 @@ function to(e) {
|
|
4252
4255
|
},
|
4253
4256
|
p(H, _) {
|
4254
4257
|
/*sliderdata*/
|
4255
|
-
H[9].length > 0 ? d ? d.p(H, _) : (d =
|
4258
|
+
H[9].length > 0 ? d ? d.p(H, _) : (d = Ft(H), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
|
4256
4259
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4257
|
-
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) &&
|
4260
|
+
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && T(r, "class", m), _[0] & /*location*/
|
4258
4261
|
1 && f !== (f = /*location*/
|
4259
|
-
H[0] === "headerMain" ? "max-width: auto" : void 0) &&
|
4262
|
+
H[0] === "headerMain" ? "max-width: auto" : void 0) && T(r, "style", f), _[0] & /*location*/
|
4260
4263
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4261
|
-
(H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) &&
|
4264
|
+
(H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && T(t, "class", p);
|
4262
4265
|
},
|
4263
4266
|
i: k,
|
4264
4267
|
o: k,
|
@@ -4273,16 +4276,16 @@ function ro(e, t, r) {
|
|
4273
4276
|
const $ = () => {
|
4274
4277
|
fetch(f).then((C) => C.json()).then((C) => {
|
4275
4278
|
Object.keys(C).forEach((F) => {
|
4276
|
-
|
4279
|
+
Mt(F, C[F]);
|
4277
4280
|
});
|
4278
4281
|
}).catch((C) => {
|
4279
4282
|
console.log(C);
|
4280
4283
|
});
|
4281
4284
|
};
|
4282
|
-
Object.keys(
|
4283
|
-
|
4285
|
+
Object.keys(Nt).forEach((c) => {
|
4286
|
+
Mt(c, Nt[c]);
|
4284
4287
|
});
|
4285
|
-
let w, M, P, V, j, fe = [], Ee = [], K = [], N,
|
4288
|
+
let w, M, P, V, j, fe = [], Ee = [], K = [], N, Re = (c, C, F, Z, X) => {
|
4286
4289
|
var Q;
|
4287
4290
|
if (!(c.subGroups && Z === null)) {
|
4288
4291
|
if (xe(), r(6, M = C), r(6, M), X != "secondary") {
|
@@ -4311,18 +4314,18 @@ function ro(e, t, r) {
|
|
4311
4314
|
window.location.href
|
4312
4315
|
);
|
4313
4316
|
}
|
4314
|
-
},
|
4317
|
+
}, at = () => {
|
4315
4318
|
N && (K.length !== M ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4316
|
-
},
|
4319
|
+
}, lt = () => {
|
4317
4320
|
N && (K.length !== M ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
|
4318
4321
|
};
|
4319
|
-
const
|
4320
|
-
c.data.type == "SliderData" && c.data.identity == m && (r(9, fe = c.data.data), r(11, K = new Array(fe.length).fill(!1)), H == "true" &&
|
4322
|
+
const ut = (c) => {
|
4323
|
+
c.data.type == "SliderData" && c.data.identity == m && (r(9, fe = c.data.data), r(11, K = new Array(fe.length).fill(!1)), H == "true" && Er()), c.data.type == "GoToHomepage" && fe.forEach((C, F) => {
|
4321
4324
|
C.path.endsWith("/casino") && (r(6, M = F), r(6, M));
|
4322
4325
|
});
|
4323
|
-
},
|
4326
|
+
}, vr = () => {
|
4324
4327
|
Ji(b);
|
4325
|
-
},
|
4328
|
+
}, _r = (c, C, F) => {
|
4326
4329
|
if (u == "secondaryMenu" && n && i && b && c.id) {
|
4327
4330
|
let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
|
4328
4331
|
fetch(Z.href).then((X) => X.json()).then((X) => {
|
@@ -4336,8 +4339,8 @@ function ro(e, t, r) {
|
|
4336
4339
|
window.location.href
|
4337
4340
|
);
|
4338
4341
|
const Q = [];
|
4339
|
-
Ee.map((
|
4340
|
-
Q.find((
|
4342
|
+
Ee.map((Ir) => (Ir.items.forEach((ht) => {
|
4343
|
+
Q.find((Mr) => ht.id == Mr) || Q.push(ht.id);
|
4341
4344
|
}), Q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Q }, window.location.href);
|
4342
4345
|
}).then(() => {
|
4343
4346
|
w.querySelectorAll(".DropDown") && xe();
|
@@ -4350,40 +4353,40 @@ function ro(e, t, r) {
|
|
4350
4353
|
for (let C = 0; C < c.length; C++)
|
4351
4354
|
c[C].style.transform = "translateX(-" + N.scrollLeft + "px)";
|
4352
4355
|
N.classList.remove("isScrolling");
|
4353
|
-
},
|
4356
|
+
}, Er = () => {
|
4354
4357
|
fe.forEach((c, C) => {
|
4355
4358
|
var F;
|
4356
|
-
((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11, K[C] = !0, K),
|
4359
|
+
((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11, K[C] = !0, K), _r(c, C));
|
4357
4360
|
});
|
4358
|
-
},
|
4361
|
+
}, xr = (c) => {
|
4359
4362
|
let C = "";
|
4360
4363
|
return c.id === "LOBBY" ? C = x : c.id === "MYGAMES" && (C = O), c.icon || C;
|
4361
4364
|
};
|
4362
|
-
|
4365
|
+
Wr(() => (window.addEventListener("message", ut, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4363
4366
|
() => {
|
4364
4367
|
N.addEventListener("scroll", xe);
|
4365
4368
|
},
|
4366
4369
|
500
|
4367
4370
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4368
|
-
window.removeEventListener("message",
|
4371
|
+
window.removeEventListener("message", ut), w.removeEventListener("scroll", xe);
|
4369
4372
|
}));
|
4370
|
-
const
|
4371
|
-
|
4372
|
-
},
|
4373
|
-
|
4373
|
+
const Cr = () => at(), wr = (c, C, F, Z, X) => {
|
4374
|
+
Re(c, C, F, Z, "secondary"), X.stopPropagation();
|
4375
|
+
}, Hr = (c, C, F) => {
|
4376
|
+
Re(c, C, null, null, "main"), F.preventDefault();
|
4374
4377
|
};
|
4375
|
-
function
|
4378
|
+
function Sr(c) {
|
4376
4379
|
pe[c ? "unshift" : "push"](() => {
|
4377
4380
|
w = c, r(5, w);
|
4378
4381
|
});
|
4379
4382
|
}
|
4380
|
-
function
|
4383
|
+
function Tr(c) {
|
4381
4384
|
pe[c ? "unshift" : "push"](() => {
|
4382
4385
|
N = c, r(12, N);
|
4383
4386
|
});
|
4384
4387
|
}
|
4385
|
-
const
|
4386
|
-
function
|
4388
|
+
const Ar = () => lt();
|
4389
|
+
function Br(c) {
|
4387
4390
|
pe[c ? "unshift" : "push"](() => {
|
4388
4391
|
j = c, r(4, j);
|
4389
4392
|
});
|
@@ -4394,11 +4397,11 @@ function ro(e, t, r) {
|
|
4394
4397
|
e.$$.dirty[0] & /*activeindex*/
|
4395
4398
|
2, e.$$.dirty[0] & /*translationurl*/
|
4396
4399
|
33554432 && f && $(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4397
|
-
4194320 && l && j &&
|
4398
|
-
8388624 && h && j &&
|
4400
|
+
4194320 && l && j && sn(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4401
|
+
8388624 && h && j && an(j, h), e.$$.dirty[0] & /*customStylingContainer*/
|
4399
4402
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4400
|
-
1 && I && j &&
|
4401
|
-
268435456 && b &&
|
4403
|
+
1 && I && j && ln(j, `${I}.Style`), e.$$.dirty[0] & /*lang*/
|
4404
|
+
268435456 && b && vr();
|
4402
4405
|
}, [
|
4403
4406
|
u,
|
4404
4407
|
d,
|
@@ -4413,10 +4416,10 @@ function ro(e, t, r) {
|
|
4413
4416
|
Ee,
|
4414
4417
|
K,
|
4415
4418
|
N,
|
4416
|
-
|
4419
|
+
Re,
|
4420
|
+
at,
|
4417
4421
|
lt,
|
4418
|
-
|
4419
|
-
Cr,
|
4422
|
+
xr,
|
4420
4423
|
n,
|
4421
4424
|
i,
|
4422
4425
|
o,
|
@@ -4432,23 +4435,23 @@ function ro(e, t, r) {
|
|
4432
4435
|
x,
|
4433
4436
|
O,
|
4434
4437
|
I,
|
4438
|
+
Cr,
|
4435
4439
|
wr,
|
4436
4440
|
Hr,
|
4437
4441
|
Sr,
|
4438
4442
|
Tr,
|
4439
4443
|
Ar,
|
4440
|
-
Br
|
4441
|
-
Ir
|
4444
|
+
Br
|
4442
4445
|
];
|
4443
4446
|
}
|
4444
|
-
class no extends
|
4447
|
+
class no extends nn {
|
4445
4448
|
constructor(t) {
|
4446
|
-
super(),
|
4449
|
+
super(), tn(
|
4447
4450
|
this,
|
4448
4451
|
t,
|
4449
4452
|
ro,
|
4450
4453
|
to,
|
4451
|
-
|
4454
|
+
Vt,
|
4452
4455
|
{
|
4453
4456
|
endpoint: 17,
|
4454
4457
|
datasource: 18,
|
@@ -4589,7 +4592,7 @@ class no extends on {
|
|
4589
4592
|
this.$$set({ mbsource: t }), A();
|
4590
4593
|
}
|
4591
4594
|
}
|
4592
|
-
|
4595
|
+
rn(no, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4593
4596
|
export {
|
4594
4597
|
no as default
|
4595
4598
|
};
|