@everymatrix/casino-slider 1.61.1 → 1.62.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoSlider-c6MV6q5T.js → CasinoSlider-BWv7Wntt.js} +727 -726
- package/components/{CasinoSlider-PJD_gO7W.js → CasinoSlider-C6aylM94.js} +906 -905
- package/components/CasinoSlider-CBNIyl1e.cjs +3 -0
- package/es2015/casino-slider.cjs +1 -1
- package/es2015/casino-slider.js +1 -1
- package/esnext/casino-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-qZUsGheA.cjs +0 -16
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
- package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
- package/stencil/ui-image-38c3c15f-ByZECnci.js +0 -39
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +0 -39
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +0 -1
- package/stencil/ui-image-BNrzgSpe.js +0 -11
- package/stencil/ui-image-CLghOqUz.cjs +0 -1
- package/stencil/ui-image-CPH6BqjQ.js +0 -29
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var Pr = Object.defineProperty, Or = Object.defineProperties;
|
2
|
+
var Lr = Object.getOwnPropertyDescriptors;
|
3
|
+
var ft = Object.getOwnPropertySymbols;
|
4
|
+
var Fr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ue = (e, t, r) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Fr.call(t, r) && Ue(e, r, t[r]);
|
8
|
+
if (ft)
|
9
|
+
for (var r of ft(t))
|
10
|
+
Rr.call(t, r) && Ue(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var U = (e, t, r) => (
|
14
|
-
var
|
12
|
+
}, dt = (e, t) => Or(e, Lr(t));
|
13
|
+
var U = (e, t, r) => (Ue(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var pt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
@@ -27,32 +27,31 @@ var dt = (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";
|
31
30
|
function k() {
|
32
31
|
}
|
33
|
-
function
|
32
|
+
function Vt(e) {
|
34
33
|
return e();
|
35
34
|
}
|
36
|
-
function
|
35
|
+
function gt() {
|
37
36
|
return /* @__PURE__ */ Object.create(null);
|
38
37
|
}
|
39
|
-
function
|
40
|
-
e.forEach(
|
38
|
+
function Y(e) {
|
39
|
+
e.forEach(Vt);
|
41
40
|
}
|
42
|
-
function
|
41
|
+
function it(e) {
|
43
42
|
return typeof e == "function";
|
44
43
|
}
|
45
|
-
function
|
44
|
+
function Xt(e, t) {
|
46
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
47
46
|
}
|
48
47
|
let Ce;
|
49
|
-
function
|
48
|
+
function bt(e, t) {
|
50
49
|
return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
|
51
50
|
}
|
52
|
-
function
|
51
|
+
function Dr(e) {
|
53
52
|
return Object.keys(e).length === 0;
|
54
53
|
}
|
55
|
-
function
|
54
|
+
function Ur(e, ...t) {
|
56
55
|
if (e == null) {
|
57
56
|
for (const n of t)
|
58
57
|
n(void 0);
|
@@ -64,14 +63,14 @@ function Dr(e, ...t) {
|
|
64
63
|
function B(e, t) {
|
65
64
|
e.appendChild(t);
|
66
65
|
}
|
67
|
-
function
|
68
|
-
const n =
|
66
|
+
function Gr(e, t, r) {
|
67
|
+
const n = kr(e);
|
69
68
|
if (!n.getElementById(t)) {
|
70
|
-
const i =
|
71
|
-
i.id = t, i.textContent = r,
|
69
|
+
const i = P("style");
|
70
|
+
i.id = t, i.textContent = r, $r(n, i);
|
72
71
|
}
|
73
72
|
}
|
74
|
-
function
|
73
|
+
function kr(e) {
|
75
74
|
if (!e)
|
76
75
|
return document;
|
77
76
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -81,7 +80,7 @@ function Gr(e) {
|
|
81
80
|
t
|
82
81
|
) : e.ownerDocument;
|
83
82
|
}
|
84
|
-
function
|
83
|
+
function $r(e, t) {
|
85
84
|
return B(
|
86
85
|
/** @type {Document} */
|
87
86
|
e.head || e,
|
@@ -94,40 +93,36 @@ function G(e, t, r) {
|
|
94
93
|
function D(e) {
|
95
94
|
e.parentNode && e.parentNode.removeChild(e);
|
96
95
|
}
|
97
|
-
function
|
96
|
+
function jr(e, t) {
|
98
97
|
for (let r = 0; r < e.length; r += 1)
|
99
98
|
e[r] && e[r].d(t);
|
100
99
|
}
|
101
|
-
function
|
100
|
+
function P(e) {
|
102
101
|
return document.createElement(e);
|
103
102
|
}
|
104
|
-
function
|
103
|
+
function Ee(e) {
|
105
104
|
return document.createTextNode(e);
|
106
105
|
}
|
107
|
-
function
|
108
|
-
return
|
106
|
+
function J() {
|
107
|
+
return Ee(" ");
|
109
108
|
}
|
110
|
-
function
|
111
|
-
return
|
109
|
+
function be() {
|
110
|
+
return Ee("");
|
112
111
|
}
|
113
112
|
function Be(e, t, r, n) {
|
114
113
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
115
114
|
}
|
116
|
-
function
|
115
|
+
function H(e, t, r) {
|
117
116
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
118
117
|
}
|
119
|
-
function
|
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) {
|
118
|
+
function Vr(e) {
|
124
119
|
return Array.from(e.childNodes);
|
125
120
|
}
|
126
|
-
function
|
121
|
+
function ot(e, t) {
|
127
122
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
128
123
|
t);
|
129
124
|
}
|
130
|
-
function
|
125
|
+
function Xr(e) {
|
131
126
|
const t = {};
|
132
127
|
return e.childNodes.forEach(
|
133
128
|
/** @param {Element} node */
|
@@ -136,120 +131,120 @@ function Vr(e) {
|
|
136
131
|
}
|
137
132
|
), t;
|
138
133
|
}
|
139
|
-
let
|
140
|
-
function
|
141
|
-
|
134
|
+
let ye;
|
135
|
+
function pe(e) {
|
136
|
+
ye = e;
|
142
137
|
}
|
143
|
-
function
|
144
|
-
if (!
|
138
|
+
function Wr() {
|
139
|
+
if (!ye)
|
145
140
|
throw new Error("Function called outside component initialization");
|
146
|
-
return
|
141
|
+
return ye;
|
147
142
|
}
|
148
|
-
function
|
149
|
-
|
143
|
+
function zr(e) {
|
144
|
+
Wr().$$.on_mount.push(e);
|
150
145
|
}
|
151
|
-
const
|
152
|
-
let
|
153
|
-
const
|
154
|
-
let
|
155
|
-
function
|
156
|
-
|
146
|
+
const ne = [], ge = [];
|
147
|
+
let ie = [];
|
148
|
+
const yt = [], Zr = /* @__PURE__ */ Promise.resolve();
|
149
|
+
let ze = !1;
|
150
|
+
function Qr() {
|
151
|
+
ze || (ze = !0, Zr.then(A));
|
157
152
|
}
|
158
|
-
function
|
159
|
-
|
153
|
+
function Ze(e) {
|
154
|
+
ie.push(e);
|
160
155
|
}
|
161
|
-
const
|
162
|
-
let
|
156
|
+
const Ge = /* @__PURE__ */ new Set();
|
157
|
+
let te = 0;
|
163
158
|
function A() {
|
164
|
-
if (
|
159
|
+
if (te !== 0)
|
165
160
|
return;
|
166
|
-
const e =
|
161
|
+
const e = ye;
|
167
162
|
do {
|
168
163
|
try {
|
169
|
-
for (;
|
170
|
-
const t =
|
171
|
-
|
164
|
+
for (; te < ne.length; ) {
|
165
|
+
const t = ne[te];
|
166
|
+
te++, pe(t), qr(t.$$);
|
172
167
|
}
|
173
168
|
} catch (t) {
|
174
|
-
throw
|
169
|
+
throw ne.length = 0, te = 0, t;
|
175
170
|
}
|
176
|
-
for (
|
177
|
-
|
178
|
-
for (let t = 0; t <
|
179
|
-
const r =
|
180
|
-
|
171
|
+
for (pe(null), ne.length = 0, te = 0; ge.length; )
|
172
|
+
ge.pop()();
|
173
|
+
for (let t = 0; t < ie.length; t += 1) {
|
174
|
+
const r = ie[t];
|
175
|
+
Ge.has(r) || (Ge.add(r), r());
|
181
176
|
}
|
182
|
-
|
183
|
-
} while (
|
184
|
-
for (;
|
185
|
-
|
186
|
-
|
177
|
+
ie.length = 0;
|
178
|
+
} while (ne.length);
|
179
|
+
for (; yt.length; )
|
180
|
+
yt.pop()();
|
181
|
+
ze = !1, Ge.clear(), pe(e);
|
187
182
|
}
|
188
|
-
function
|
183
|
+
function qr(e) {
|
189
184
|
if (e.fragment !== null) {
|
190
|
-
e.update(),
|
185
|
+
e.update(), Y(e.before_update);
|
191
186
|
const t = e.dirty;
|
192
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
187
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
|
193
188
|
}
|
194
189
|
}
|
195
|
-
function
|
190
|
+
function Jr(e) {
|
196
191
|
const t = [], r = [];
|
197
|
-
|
192
|
+
ie.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ie = t;
|
198
193
|
}
|
199
|
-
const
|
200
|
-
function
|
201
|
-
e && e.i && (
|
194
|
+
const Yr = /* @__PURE__ */ new Set();
|
195
|
+
function Wt(e, t) {
|
196
|
+
e && e.i && (Yr.delete(e), e.i(t));
|
202
197
|
}
|
203
|
-
function
|
198
|
+
function oe(e) {
|
204
199
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
205
200
|
}
|
206
|
-
function
|
201
|
+
function zt(e, t) {
|
207
202
|
e.d(1), t.delete(e.key);
|
208
203
|
}
|
209
|
-
function
|
204
|
+
function Zt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
210
205
|
let f = e.length, p = o.length, g = f;
|
211
206
|
const b = {};
|
212
207
|
for (; g--; )
|
213
208
|
b[e[g].key] = g;
|
214
|
-
const d = [],
|
209
|
+
const d = [], C = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), E = [];
|
215
210
|
for (g = p; g--; ) {
|
216
211
|
const w = m(i, o, g), M = r(w);
|
217
|
-
let
|
218
|
-
|
212
|
+
let O = s.get(M);
|
213
|
+
O ? E.push(() => O.p(w, t)) : (O = l(M, w), O.c()), C.set(M, d[g] = O), M in b && _.set(M, Math.abs(g - b[M]));
|
219
214
|
}
|
220
|
-
const
|
215
|
+
const L = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
|
221
216
|
function $(w) {
|
222
|
-
|
217
|
+
Wt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, p--;
|
223
218
|
}
|
224
219
|
for (; f && p; ) {
|
225
|
-
const w = d[p - 1], M = e[f - 1],
|
226
|
-
w === M ? (h = w.first, f--, p--) :
|
220
|
+
const w = d[p - 1], M = e[f - 1], O = w.key, X = M.key;
|
221
|
+
w === M ? (h = w.first, f--, p--) : C.has(X) ? !s.has(O) || L.has(O) ? $(w) : I.has(X) ? f-- : _.get(O) > _.get(X) ? (I.add(O), $(w)) : (L.add(X), f--) : (u(M, s), f--);
|
227
222
|
}
|
228
223
|
for (; f--; ) {
|
229
224
|
const w = e[f];
|
230
|
-
|
225
|
+
C.has(w.key) || u(w, s);
|
231
226
|
}
|
232
227
|
for (; p; )
|
233
228
|
$(d[p - 1]);
|
234
|
-
return
|
229
|
+
return Y(E), d;
|
235
230
|
}
|
236
|
-
function
|
231
|
+
function Kr(e, t, r) {
|
237
232
|
const { fragment: n, after_update: i } = e.$$;
|
238
|
-
n && n.m(t, r),
|
239
|
-
const o = e.$$.on_mount.map(
|
240
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
241
|
-
}), i.forEach(
|
233
|
+
n && n.m(t, r), Ze(() => {
|
234
|
+
const o = e.$$.on_mount.map(Vt).filter(it);
|
235
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
|
236
|
+
}), i.forEach(Ze);
|
242
237
|
}
|
243
|
-
function
|
238
|
+
function en(e, t) {
|
244
239
|
const r = e.$$;
|
245
|
-
r.fragment !== null && (
|
240
|
+
r.fragment !== null && (Jr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
246
241
|
}
|
247
|
-
function
|
248
|
-
e.$$.dirty[0] === -1 && (
|
242
|
+
function tn(e, t) {
|
243
|
+
e.$$.dirty[0] === -1 && (ne.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
249
244
|
}
|
250
|
-
function
|
251
|
-
const u =
|
252
|
-
|
245
|
+
function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
246
|
+
const u = ye;
|
247
|
+
pe(e);
|
253
248
|
const l = e.$$ = {
|
254
249
|
fragment: null,
|
255
250
|
ctx: [],
|
@@ -257,7 +252,7 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
257
252
|
props: o,
|
258
253
|
update: k,
|
259
254
|
not_equal: i,
|
260
|
-
bound:
|
255
|
+
bound: gt(),
|
261
256
|
// lifecycle
|
262
257
|
on_mount: [],
|
263
258
|
on_destroy: [],
|
@@ -266,7 +261,7 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
266
261
|
after_update: [],
|
267
262
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
268
263
|
// everything else
|
269
|
-
callbacks:
|
264
|
+
callbacks: gt(),
|
270
265
|
dirty: a,
|
271
266
|
skip_bound: !1,
|
272
267
|
root: t.target || u.$$.root
|
@@ -275,19 +270,19 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
275
270
|
let h = !1;
|
276
271
|
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
277
272
|
const g = p.length ? p[0] : f;
|
278
|
-
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h &&
|
279
|
-
}) : [], l.update(), h = !0,
|
273
|
+
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && tn(e, m)), f;
|
274
|
+
}) : [], l.update(), h = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
280
275
|
if (t.hydrate) {
|
281
|
-
const m =
|
276
|
+
const m = Vr(t.target);
|
282
277
|
l.fragment && l.fragment.l(m), m.forEach(D);
|
283
278
|
} else
|
284
279
|
l.fragment && l.fragment.c();
|
285
|
-
t.intro &&
|
280
|
+
t.intro && Wt(e.$$.fragment), Kr(e, t.target, t.anchor), A();
|
286
281
|
}
|
287
|
-
|
282
|
+
pe(u);
|
288
283
|
}
|
289
|
-
let
|
290
|
-
typeof HTMLElement == "function" && (
|
284
|
+
let Qt;
|
285
|
+
typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
291
286
|
constructor(t, r, n) {
|
292
287
|
super();
|
293
288
|
/** The Svelte component constructor */
|
@@ -324,14 +319,14 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
324
319
|
}
|
325
320
|
}
|
326
321
|
connectedCallback() {
|
327
|
-
return
|
322
|
+
return pt(this, null, function* () {
|
328
323
|
if (this.$$cn = !0, !this.$$c) {
|
329
324
|
let t = function(o) {
|
330
325
|
return () => {
|
331
326
|
let s;
|
332
327
|
return {
|
333
328
|
c: function() {
|
334
|
-
s =
|
329
|
+
s = P("slot"), o !== "default" && H(s, "name", o);
|
335
330
|
},
|
336
331
|
/**
|
337
332
|
* @param {HTMLElement} target
|
@@ -348,7 +343,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
348
343
|
};
|
349
344
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
350
345
|
return;
|
351
|
-
const r = {}, n =
|
346
|
+
const r = {}, n = Xr(this);
|
352
347
|
for (const o of this.$$s)
|
353
348
|
o in n && (r[o] = [t(o)]);
|
354
349
|
for (const o of this.attributes) {
|
@@ -359,7 +354,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
359
354
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
360
355
|
this.$$c = new this.$$ctor({
|
361
356
|
target: this.shadowRoot || this,
|
362
|
-
props: mt(
|
357
|
+
props: dt(mt({}, this.$$d), {
|
363
358
|
$$slots: r,
|
364
359
|
$$scope: {
|
365
360
|
ctx: []
|
@@ -437,8 +432,8 @@ function Se(e, t, r, n) {
|
|
437
432
|
return t;
|
438
433
|
}
|
439
434
|
}
|
440
|
-
function
|
441
|
-
let s = class extends
|
435
|
+
function nn(e, t, r, n, i, o) {
|
436
|
+
let s = class extends Qt {
|
442
437
|
constructor() {
|
443
438
|
super(e, r, i), this.$$p_d = t;
|
444
439
|
}
|
@@ -468,7 +463,7 @@ function rn(e, t, r, n, i, o) {
|
|
468
463
|
}), e.element = /** @type {any} */
|
469
464
|
s, s;
|
470
465
|
}
|
471
|
-
class
|
466
|
+
class on {
|
472
467
|
constructor() {
|
473
468
|
/**
|
474
469
|
* ### PRIVATE API
|
@@ -489,7 +484,7 @@ class nn {
|
|
489
484
|
}
|
490
485
|
/** @returns {void} */
|
491
486
|
$destroy() {
|
492
|
-
|
487
|
+
en(this, 1), this.$destroy = k;
|
493
488
|
}
|
494
489
|
/**
|
495
490
|
* @template {Extract<keyof Events, string>} K
|
@@ -498,7 +493,7 @@ class nn {
|
|
498
493
|
* @returns {() => void}
|
499
494
|
*/
|
500
495
|
$on(t, r) {
|
501
|
-
if (!
|
496
|
+
if (!it(r))
|
502
497
|
return k;
|
503
498
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
504
499
|
return n.push(r), () => {
|
@@ -511,18 +506,18 @@ class nn {
|
|
511
506
|
* @returns {void}
|
512
507
|
*/
|
513
508
|
$set(t) {
|
514
|
-
this.$$set && !
|
509
|
+
this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
515
510
|
}
|
516
511
|
}
|
517
|
-
const
|
518
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
519
|
-
function
|
512
|
+
const sn = "4";
|
513
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
|
514
|
+
function an(e, t) {
|
520
515
|
if (e) {
|
521
516
|
const r = document.createElement("style");
|
522
517
|
r.innerHTML = t, e.appendChild(r);
|
523
518
|
}
|
524
519
|
}
|
525
|
-
function
|
520
|
+
function ln(e, t) {
|
526
521
|
const r = new URL(t);
|
527
522
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
528
523
|
const i = document.createElement("style");
|
@@ -531,7 +526,7 @@ function an(e, t) {
|
|
531
526
|
console.error("There was an error while trying to load client styling from URL", n);
|
532
527
|
});
|
533
528
|
}
|
534
|
-
function
|
529
|
+
function un(e, t, r) {
|
535
530
|
if (window.emMessageBus) {
|
536
531
|
const n = document.createElement("style");
|
537
532
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -539,24 +534,24 @@ function ln(e, t, r) {
|
|
539
534
|
});
|
540
535
|
}
|
541
536
|
}
|
542
|
-
const
|
543
|
-
function
|
537
|
+
const re = [];
|
538
|
+
function hn(e, t) {
|
544
539
|
return {
|
545
|
-
subscribe:
|
540
|
+
subscribe: Pe(e, t).subscribe
|
546
541
|
};
|
547
542
|
}
|
548
|
-
function
|
543
|
+
function Pe(e, t = k) {
|
549
544
|
let r;
|
550
545
|
const n = /* @__PURE__ */ new Set();
|
551
546
|
function i(a) {
|
552
|
-
if (
|
553
|
-
const u = !
|
547
|
+
if (Xt(e, a) && (e = a, r)) {
|
548
|
+
const u = !re.length;
|
554
549
|
for (const l of n)
|
555
|
-
l[1](),
|
550
|
+
l[1](), re.push(l, e);
|
556
551
|
if (u) {
|
557
|
-
for (let l = 0; l <
|
558
|
-
|
559
|
-
|
552
|
+
for (let l = 0; l < re.length; l += 2)
|
553
|
+
re[l][0](re[l + 1]);
|
554
|
+
re.length = 0;
|
560
555
|
}
|
561
556
|
}
|
562
557
|
}
|
@@ -571,12 +566,12 @@ function Ne(e, t = k) {
|
|
571
566
|
}
|
572
567
|
return { set: i, update: o, subscribe: s };
|
573
568
|
}
|
574
|
-
function
|
569
|
+
function he(e, t, r) {
|
575
570
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
576
571
|
if (!i.every(Boolean))
|
577
572
|
throw new Error("derived() expects stores as input, got a falsy value");
|
578
573
|
const o = t.length < 2;
|
579
|
-
return
|
574
|
+
return hn(r, (s, a) => {
|
580
575
|
let u = !1;
|
581
576
|
const l = [];
|
582
577
|
let h = 0, m = k;
|
@@ -585,9 +580,9 @@ function ue(e, t, r) {
|
|
585
580
|
return;
|
586
581
|
m();
|
587
582
|
const g = t(n ? l[0] : l, s, a);
|
588
|
-
o ? s(g) : m =
|
583
|
+
o ? s(g) : m = it(g) ? g : k;
|
589
584
|
}, p = i.map(
|
590
|
-
(g, b) =>
|
585
|
+
(g, b) => Ur(
|
591
586
|
g,
|
592
587
|
(d) => {
|
593
588
|
l[b] = d, h &= ~(1 << b), u && f();
|
@@ -598,126 +593,112 @@ function ue(e, t, r) {
|
|
598
593
|
)
|
599
594
|
);
|
600
595
|
return u = !0, f(), function() {
|
601
|
-
|
596
|
+
Y(p), m(), u = !1;
|
602
597
|
};
|
603
598
|
});
|
604
599
|
}
|
605
|
-
function
|
600
|
+
function cn(e) {
|
606
601
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
607
602
|
}
|
608
|
-
var
|
609
|
-
return
|
603
|
+
var fn = function(t) {
|
604
|
+
return mn(t) && !dn(t);
|
610
605
|
};
|
611
|
-
function
|
606
|
+
function mn(e) {
|
612
607
|
return !!e && typeof e == "object";
|
613
608
|
}
|
614
|
-
function
|
609
|
+
function dn(e) {
|
615
610
|
var t = Object.prototype.toString.call(e);
|
616
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
617
|
-
}
|
618
|
-
var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
|
619
|
-
function gn(e) {
|
620
|
-
return e.$$typeof === pn;
|
611
|
+
return t === "[object RegExp]" || t === "[object Date]" || bn(e);
|
621
612
|
}
|
613
|
+
var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
|
622
614
|
function bn(e) {
|
615
|
+
return e.$$typeof === gn;
|
616
|
+
}
|
617
|
+
function yn(e) {
|
623
618
|
return Array.isArray(e) ? [] : {};
|
624
619
|
}
|
625
|
-
function
|
626
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
620
|
+
function ve(e, t) {
|
621
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? se(yn(e), e, t) : e;
|
627
622
|
}
|
628
|
-
function
|
623
|
+
function vn(e, t, r) {
|
629
624
|
return e.concat(t).map(function(n) {
|
630
|
-
return
|
625
|
+
return ve(n, r);
|
631
626
|
});
|
632
627
|
}
|
633
|
-
function
|
628
|
+
function _n(e, t) {
|
634
629
|
if (!t.customMerge)
|
635
|
-
return
|
630
|
+
return se;
|
636
631
|
var r = t.customMerge(e);
|
637
|
-
return typeof r == "function" ? r :
|
632
|
+
return typeof r == "function" ? r : se;
|
638
633
|
}
|
639
|
-
function
|
634
|
+
function En(e) {
|
640
635
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
641
636
|
return Object.propertyIsEnumerable.call(e, t);
|
642
637
|
}) : [];
|
643
638
|
}
|
644
|
-
function
|
645
|
-
return Object.keys(e).concat(
|
639
|
+
function vt(e) {
|
640
|
+
return Object.keys(e).concat(En(e));
|
646
641
|
}
|
647
|
-
function
|
642
|
+
function qt(e, t) {
|
648
643
|
try {
|
649
644
|
return t in e;
|
650
645
|
} catch (r) {
|
651
646
|
return !1;
|
652
647
|
}
|
653
648
|
}
|
654
|
-
function
|
655
|
-
return
|
649
|
+
function xn(e, t) {
|
650
|
+
return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
656
651
|
}
|
657
|
-
function
|
652
|
+
function wn(e, t, r) {
|
658
653
|
var n = {};
|
659
|
-
return r.isMergeableObject(e) &&
|
660
|
-
n[i] =
|
661
|
-
}),
|
662
|
-
|
654
|
+
return r.isMergeableObject(e) && vt(e).forEach(function(i) {
|
655
|
+
n[i] = ve(e[i], r);
|
656
|
+
}), vt(t).forEach(function(i) {
|
657
|
+
xn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
|
663
658
|
}), n;
|
664
659
|
}
|
665
|
-
function
|
666
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
660
|
+
function se(e, t, r) {
|
661
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = ve;
|
667
662
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
668
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
663
|
+
return o ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : ve(t, r);
|
669
664
|
}
|
670
|
-
|
665
|
+
se.all = function(t, r) {
|
671
666
|
if (!Array.isArray(t))
|
672
667
|
throw new Error("first argument should be an array");
|
673
668
|
return t.reduce(function(n, i) {
|
674
|
-
return
|
669
|
+
return se(n, i, r);
|
675
670
|
}, {});
|
676
671
|
};
|
677
|
-
var Cn =
|
678
|
-
const
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
683
|
-
purpose with or without fee is hereby granted.
|
684
|
-
|
685
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
686
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
687
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
688
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
689
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
690
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
691
|
-
PERFORMANCE OF THIS SOFTWARE.
|
692
|
-
***************************************************************************** */
|
693
|
-
var Ze = function(e, t) {
|
694
|
-
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
672
|
+
var Cn = se, Hn = Cn;
|
673
|
+
const Sn = /* @__PURE__ */ cn(Hn);
|
674
|
+
var Qe = function(e, t) {
|
675
|
+
return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
695
676
|
r.__proto__ = n;
|
696
677
|
} || function(r, n) {
|
697
678
|
for (var i in n)
|
698
679
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
699
|
-
},
|
680
|
+
}, Qe(e, t);
|
700
681
|
};
|
701
|
-
function
|
682
|
+
function Oe(e, t) {
|
702
683
|
if (typeof t != "function" && t !== null)
|
703
684
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
704
|
-
|
685
|
+
Qe(e, t);
|
705
686
|
function r() {
|
706
687
|
this.constructor = e;
|
707
688
|
}
|
708
689
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
709
690
|
}
|
710
|
-
var
|
711
|
-
return
|
691
|
+
var j = function() {
|
692
|
+
return j = Object.assign || function(t) {
|
712
693
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
713
694
|
r = arguments[n];
|
714
695
|
for (var o in r)
|
715
696
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
716
697
|
}
|
717
698
|
return t;
|
718
|
-
},
|
699
|
+
}, j.apply(this, arguments);
|
719
700
|
};
|
720
|
-
function
|
701
|
+
function Tn(e, t) {
|
721
702
|
var r = {};
|
722
703
|
for (var n in e)
|
723
704
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -726,43 +707,43 @@ function Sn(e, t) {
|
|
726
707
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
727
708
|
return r;
|
728
709
|
}
|
729
|
-
function
|
730
|
-
if (arguments.length === 2)
|
710
|
+
function ke(e, t, r) {
|
711
|
+
if (r || arguments.length === 2)
|
731
712
|
for (var n = 0, i = t.length, o; n < i; n++)
|
732
713
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
733
|
-
return e.concat(o || t);
|
714
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
734
715
|
}
|
735
|
-
function
|
736
|
-
var r = t && t.cache ? t.cache :
|
716
|
+
function $e(e, t) {
|
717
|
+
var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : In;
|
737
718
|
return i(e, {
|
738
719
|
cache: r,
|
739
720
|
serializer: n
|
740
721
|
});
|
741
722
|
}
|
742
|
-
function
|
723
|
+
function An(e) {
|
743
724
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
744
725
|
}
|
745
|
-
function
|
746
|
-
var i =
|
726
|
+
function Bn(e, t, r, n) {
|
727
|
+
var i = An(n) ? n : r(n), o = t.get(i);
|
747
728
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
748
729
|
}
|
749
|
-
function
|
730
|
+
function Jt(e, t, r) {
|
750
731
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
751
732
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
752
733
|
}
|
753
|
-
function
|
734
|
+
function Yt(e, t, r, n, i) {
|
754
735
|
return r.bind(t, e, n, i);
|
755
736
|
}
|
756
|
-
function Bn(e, t) {
|
757
|
-
var r = e.length === 1 ? An : qt;
|
758
|
-
return Jt(e, this, r, t.cache.create(), t.serializer);
|
759
|
-
}
|
760
737
|
function In(e, t) {
|
761
|
-
|
738
|
+
var r = e.length === 1 ? Bn : Jt;
|
739
|
+
return Yt(e, this, r, t.cache.create(), t.serializer);
|
740
|
+
}
|
741
|
+
function Mn(e, t) {
|
742
|
+
return Yt(e, this, Jt, t.cache.create(), t.serializer);
|
762
743
|
}
|
763
|
-
var
|
744
|
+
var Nn = function() {
|
764
745
|
return JSON.stringify(arguments);
|
765
|
-
},
|
746
|
+
}, Pn = (
|
766
747
|
/** @class */
|
767
748
|
function() {
|
768
749
|
function e() {
|
@@ -774,13 +755,23 @@ var Mn = function() {
|
|
774
755
|
this.cache[t] = r;
|
775
756
|
}, e;
|
776
757
|
}()
|
777
|
-
),
|
758
|
+
), On = {
|
778
759
|
create: function() {
|
779
|
-
return new
|
760
|
+
return new Pn();
|
780
761
|
}
|
781
|
-
},
|
782
|
-
variadic:
|
783
|
-
},
|
762
|
+
}, je = {
|
763
|
+
variadic: Mn
|
764
|
+
}, Ie = function() {
|
765
|
+
return Ie = Object.assign || function(t) {
|
766
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
767
|
+
r = arguments[n];
|
768
|
+
for (var o in r)
|
769
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
770
|
+
}
|
771
|
+
return t;
|
772
|
+
}, Ie.apply(this, arguments);
|
773
|
+
};
|
774
|
+
var y;
|
784
775
|
(function(e) {
|
785
776
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
786
777
|
})(y || (y = {}));
|
@@ -788,47 +779,47 @@ var S;
|
|
788
779
|
(function(e) {
|
789
780
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
790
781
|
})(S || (S = {}));
|
791
|
-
var
|
782
|
+
var ae;
|
792
783
|
(function(e) {
|
793
784
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
794
|
-
})(
|
795
|
-
function
|
785
|
+
})(ae || (ae = {}));
|
786
|
+
function _t(e) {
|
796
787
|
return e.type === S.literal;
|
797
788
|
}
|
798
|
-
function
|
789
|
+
function Ln(e) {
|
799
790
|
return e.type === S.argument;
|
800
791
|
}
|
801
|
-
function
|
792
|
+
function Kt(e) {
|
802
793
|
return e.type === S.number;
|
803
794
|
}
|
804
|
-
function
|
795
|
+
function er(e) {
|
805
796
|
return e.type === S.date;
|
806
797
|
}
|
807
|
-
function
|
798
|
+
function tr(e) {
|
808
799
|
return e.type === S.time;
|
809
800
|
}
|
810
|
-
function
|
801
|
+
function rr(e) {
|
811
802
|
return e.type === S.select;
|
812
803
|
}
|
813
|
-
function
|
804
|
+
function nr(e) {
|
814
805
|
return e.type === S.plural;
|
815
806
|
}
|
816
|
-
function
|
807
|
+
function Fn(e) {
|
817
808
|
return e.type === S.pound;
|
818
809
|
}
|
819
|
-
function
|
810
|
+
function ir(e) {
|
820
811
|
return e.type === S.tag;
|
821
812
|
}
|
822
|
-
function
|
823
|
-
return !!(e && typeof e == "object" && e.type ===
|
813
|
+
function or(e) {
|
814
|
+
return !!(e && typeof e == "object" && e.type === ae.number);
|
824
815
|
}
|
825
|
-
function
|
826
|
-
return !!(e && typeof e == "object" && e.type ===
|
816
|
+
function qe(e) {
|
817
|
+
return !!(e && typeof e == "object" && e.type === ae.dateTime);
|
827
818
|
}
|
828
|
-
var
|
829
|
-
function
|
819
|
+
var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
|
820
|
+
function Dn(e) {
|
830
821
|
var t = {};
|
831
|
-
return e.replace(
|
822
|
+
return e.replace(Rn, function(r) {
|
832
823
|
var n = r.length;
|
833
824
|
switch (r[0]) {
|
834
825
|
case "G":
|
@@ -917,11 +908,21 @@ function Rn(e) {
|
|
917
908
|
return "";
|
918
909
|
}), t;
|
919
910
|
}
|
920
|
-
var
|
921
|
-
function
|
911
|
+
var T = function() {
|
912
|
+
return T = Object.assign || function(t) {
|
913
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
914
|
+
r = arguments[n];
|
915
|
+
for (var o in r)
|
916
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
917
|
+
}
|
918
|
+
return t;
|
919
|
+
}, T.apply(this, arguments);
|
920
|
+
};
|
921
|
+
var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
922
|
+
function Gn(e) {
|
922
923
|
if (e.length === 0)
|
923
924
|
throw new Error("Number skeleton cannot be empty");
|
924
|
-
for (var t = e.split(
|
925
|
+
for (var t = e.split(Un).filter(function(f) {
|
925
926
|
return f.length > 0;
|
926
927
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
927
928
|
var o = i[n], s = o.split("/");
|
@@ -936,17 +937,17 @@ function Un(e) {
|
|
936
937
|
}
|
937
938
|
return r;
|
938
939
|
}
|
939
|
-
function
|
940
|
+
function kn(e) {
|
940
941
|
return e.replace(/^(.*?)-/, "");
|
941
942
|
}
|
942
|
-
var
|
943
|
-
function
|
943
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
|
944
|
+
function xt(e) {
|
944
945
|
var t = {};
|
945
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
946
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
|
946
947
|
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)), "";
|
947
948
|
}), t;
|
948
949
|
}
|
949
|
-
function
|
950
|
+
function ur(e) {
|
950
951
|
switch (e) {
|
951
952
|
case "sign-auto":
|
952
953
|
return {
|
@@ -986,7 +987,7 @@ function lr(e) {
|
|
986
987
|
};
|
987
988
|
}
|
988
989
|
}
|
989
|
-
function
|
990
|
+
function jn(e) {
|
990
991
|
var t;
|
991
992
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
992
993
|
notation: "engineering"
|
@@ -994,17 +995,17 @@ function $n(e) {
|
|
994
995
|
notation: "scientific"
|
995
996
|
}, e = e.slice(1)), t) {
|
996
997
|
var r = e.slice(0, 2);
|
997
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
998
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
|
998
999
|
throw new Error("Malformed concise eng/scientific notation");
|
999
1000
|
t.minimumIntegerDigits = e.length;
|
1000
1001
|
}
|
1001
1002
|
return t;
|
1002
1003
|
}
|
1003
|
-
function
|
1004
|
-
var t = {}, r =
|
1004
|
+
function wt(e) {
|
1005
|
+
var t = {}, r = ur(e);
|
1005
1006
|
return r || t;
|
1006
1007
|
}
|
1007
|
-
function
|
1008
|
+
function Vn(e) {
|
1008
1009
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1009
1010
|
var i = n[r];
|
1010
1011
|
switch (i.stem) {
|
@@ -1028,7 +1029,7 @@ function jn(e) {
|
|
1028
1029
|
continue;
|
1029
1030
|
case "measure-unit":
|
1030
1031
|
case "unit":
|
1031
|
-
t.style = "unit", t.unit =
|
1032
|
+
t.style = "unit", t.unit = kn(i.options[0]);
|
1032
1033
|
continue;
|
1033
1034
|
case "compact-short":
|
1034
1035
|
case "K":
|
@@ -1039,13 +1040,13 @@ function jn(e) {
|
|
1039
1040
|
t.notation = "compact", t.compactDisplay = "long";
|
1040
1041
|
continue;
|
1041
1042
|
case "scientific":
|
1042
|
-
t =
|
1043
|
-
return
|
1043
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1044
|
+
return T(T({}, u), wt(l));
|
1044
1045
|
}, {}));
|
1045
1046
|
continue;
|
1046
1047
|
case "engineering":
|
1047
|
-
t =
|
1048
|
-
return
|
1048
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1049
|
+
return T(T({}, u), wt(l));
|
1049
1050
|
}, {}));
|
1050
1051
|
continue;
|
1051
1052
|
case "notation-simple":
|
@@ -1090,7 +1091,7 @@ function jn(e) {
|
|
1090
1091
|
case "integer-width":
|
1091
1092
|
if (i.options.length > 1)
|
1092
1093
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1093
|
-
i.options[0].replace(
|
1094
|
+
i.options[0].replace($n, function(u, l, h, m, f, p) {
|
1094
1095
|
if (l)
|
1095
1096
|
t.minimumIntegerDigits = h.length;
|
1096
1097
|
else {
|
@@ -1103,28 +1104,28 @@ function jn(e) {
|
|
1103
1104
|
});
|
1104
1105
|
continue;
|
1105
1106
|
}
|
1106
|
-
if (
|
1107
|
+
if (lr.test(i.stem)) {
|
1107
1108
|
t.minimumIntegerDigits = i.stem.length;
|
1108
1109
|
continue;
|
1109
1110
|
}
|
1110
|
-
if (
|
1111
|
+
if (Et.test(i.stem)) {
|
1111
1112
|
if (i.options.length > 1)
|
1112
1113
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1113
|
-
i.stem.replace(
|
1114
|
+
i.stem.replace(Et, function(u, l, h, m, f, p) {
|
1114
1115
|
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), "";
|
1115
1116
|
});
|
1116
1117
|
var o = i.options[0];
|
1117
|
-
o === "w" ? t =
|
1118
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), xt(o)));
|
1118
1119
|
continue;
|
1119
1120
|
}
|
1120
|
-
if (
|
1121
|
-
t =
|
1121
|
+
if (ar.test(i.stem)) {
|
1122
|
+
t = T(T({}, t), xt(i.stem));
|
1122
1123
|
continue;
|
1123
1124
|
}
|
1124
|
-
var s =
|
1125
|
-
s && (t =
|
1126
|
-
var a =
|
1127
|
-
a && (t =
|
1125
|
+
var s = ur(i.stem);
|
1126
|
+
s && (t = T(T({}, t), s));
|
1127
|
+
var a = jn(i.stem);
|
1128
|
+
a && (t = T(T({}, t), a));
|
1128
1129
|
}
|
1129
1130
|
return t;
|
1130
1131
|
}
|
@@ -2543,13 +2544,13 @@ var He = {
|
|
2543
2544
|
"h"
|
2544
2545
|
]
|
2545
2546
|
};
|
2546
|
-
function
|
2547
|
+
function Xn(e, t) {
|
2547
2548
|
for (var r = "", n = 0; n < e.length; n++) {
|
2548
2549
|
var i = e.charAt(n);
|
2549
2550
|
if (i === "j") {
|
2550
2551
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2551
2552
|
o++, n++;
|
2552
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
2553
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Wn(t);
|
2553
2554
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2554
2555
|
r += u;
|
2555
2556
|
for (; s-- > 0; )
|
@@ -2559,7 +2560,7 @@ function Vn(e, t) {
|
|
2559
2560
|
}
|
2560
2561
|
return r;
|
2561
2562
|
}
|
2562
|
-
function
|
2563
|
+
function Wn(e) {
|
2563
2564
|
var t = e.hourCycle;
|
2564
2565
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2565
2566
|
e.hourCycles && // @ts-ignore
|
@@ -2581,20 +2582,20 @@ function Xn(e) {
|
|
2581
2582
|
var i = He[n || ""] || He[r || ""] || He["".concat(r, "-001")] || He["001"];
|
2582
2583
|
return i[0];
|
2583
2584
|
}
|
2584
|
-
var
|
2585
|
+
var Ve, zn = new RegExp("^".concat(sr.source, "*")), Zn = new RegExp("".concat(sr.source, "*$"));
|
2585
2586
|
function v(e, t) {
|
2586
2587
|
return { start: e, end: t };
|
2587
2588
|
}
|
2588
|
-
var
|
2589
|
+
var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
|
2589
2590
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2590
|
-
},
|
2591
|
+
}, Je = !0;
|
2591
2592
|
try {
|
2592
|
-
var
|
2593
|
-
|
2593
|
+
var ni = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2594
|
+
Je = ((Ve = ni.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
|
2594
2595
|
} catch (e) {
|
2595
|
-
|
2596
|
+
Je = !1;
|
2596
2597
|
}
|
2597
|
-
var Ct =
|
2598
|
+
var Ct = Qn ? (
|
2598
2599
|
// Native
|
2599
2600
|
function(t, r, n) {
|
2600
2601
|
return t.startsWith(r, n);
|
@@ -2604,7 +2605,7 @@ var Ct = Zn ? (
|
|
2604
2605
|
function(t, r, n) {
|
2605
2606
|
return t.slice(n, n + r.length) === r;
|
2606
2607
|
}
|
2607
|
-
),
|
2608
|
+
), Ye = qn ? String.fromCodePoint : (
|
2608
2609
|
// IE11
|
2609
2610
|
function() {
|
2610
2611
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2616,9 +2617,9 @@ var Ct = Zn ? (
|
|
2616
2617
|
}
|
2617
2618
|
return n;
|
2618
2619
|
}
|
2619
|
-
),
|
2620
|
+
), Ht = (
|
2620
2621
|
// native
|
2621
|
-
|
2622
|
+
Jn ? Object.fromEntries : (
|
2622
2623
|
// Ponyfill
|
2623
2624
|
function(t) {
|
2624
2625
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2628,7 +2629,7 @@ var Ct = Zn ? (
|
|
2628
2629
|
return r;
|
2629
2630
|
}
|
2630
2631
|
)
|
2631
|
-
),
|
2632
|
+
), hr = Yn ? (
|
2632
2633
|
// Native
|
2633
2634
|
function(t, r) {
|
2634
2635
|
return t.codePointAt(r);
|
@@ -2642,7 +2643,7 @@ var Ct = Zn ? (
|
|
2642
2643
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2643
2644
|
}
|
2644
2645
|
}
|
2645
|
-
),
|
2646
|
+
), ii = Kn ? (
|
2646
2647
|
// Native
|
2647
2648
|
function(t) {
|
2648
2649
|
return t.trimStart();
|
@@ -2650,9 +2651,9 @@ var Ct = Zn ? (
|
|
2650
2651
|
) : (
|
2651
2652
|
// Ponyfill
|
2652
2653
|
function(t) {
|
2653
|
-
return t.replace(
|
2654
|
+
return t.replace(zn, "");
|
2654
2655
|
}
|
2655
|
-
),
|
2656
|
+
), oi = ei ? (
|
2656
2657
|
// Native
|
2657
2658
|
function(t) {
|
2658
2659
|
return t.trimEnd();
|
@@ -2660,32 +2661,32 @@ var Ct = Zn ? (
|
|
2660
2661
|
) : (
|
2661
2662
|
// Ponyfill
|
2662
2663
|
function(t) {
|
2663
|
-
return t.replace(
|
2664
|
+
return t.replace(Zn, "");
|
2664
2665
|
}
|
2665
2666
|
);
|
2666
|
-
function
|
2667
|
+
function cr(e, t) {
|
2667
2668
|
return new RegExp(e, t);
|
2668
2669
|
}
|
2669
|
-
var
|
2670
|
-
if (
|
2671
|
-
var
|
2672
|
-
|
2670
|
+
var Ke;
|
2671
|
+
if (Je) {
|
2672
|
+
var St = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2673
|
+
Ke = function(t, r) {
|
2673
2674
|
var n;
|
2674
|
-
|
2675
|
-
var i =
|
2675
|
+
St.lastIndex = r;
|
2676
|
+
var i = St.exec(t);
|
2676
2677
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2677
2678
|
};
|
2678
2679
|
} else
|
2679
|
-
|
2680
|
+
Ke = function(t, r) {
|
2680
2681
|
for (var n = []; ; ) {
|
2681
|
-
var i =
|
2682
|
-
if (i === void 0 ||
|
2682
|
+
var i = hr(t, r);
|
2683
|
+
if (i === void 0 || fr(i) || ui(i))
|
2683
2684
|
break;
|
2684
2685
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2685
2686
|
}
|
2686
|
-
return
|
2687
|
+
return Ye.apply(void 0, n);
|
2687
2688
|
};
|
2688
|
-
var
|
2689
|
+
var si = (
|
2689
2690
|
/** @class */
|
2690
2691
|
function() {
|
2691
2692
|
function e(t, r) {
|
@@ -2716,7 +2717,7 @@ var oi = (
|
|
2716
2717
|
if (n)
|
2717
2718
|
break;
|
2718
2719
|
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
2719
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2720
|
+
} else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
2720
2721
|
var s = this.parseTag(t, r);
|
2721
2722
|
if (s.err)
|
2722
2723
|
return s;
|
@@ -2749,7 +2750,7 @@ var oi = (
|
|
2749
2750
|
return o;
|
2750
2751
|
var s = o.val, a = this.clonePosition();
|
2751
2752
|
if (this.bumpIf("</")) {
|
2752
|
-
if (this.isEOF() || !
|
2753
|
+
if (this.isEOF() || !et(this.char()))
|
2753
2754
|
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
2754
2755
|
var u = this.clonePosition(), l = this.parseTagName();
|
2755
2756
|
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -2767,7 +2768,7 @@ var oi = (
|
|
2767
2768
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2768
2769
|
}, e.prototype.parseTagName = function() {
|
2769
2770
|
var t = this.offset();
|
2770
|
-
for (this.bump(); !this.isEOF() &&
|
2771
|
+
for (this.bump(); !this.isEOF() && li(this.char()); )
|
2771
2772
|
this.bump();
|
2772
2773
|
return this.message.slice(t, this.offset());
|
2773
2774
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2796,7 +2797,7 @@ var oi = (
|
|
2796
2797
|
};
|
2797
2798
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2798
2799
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2799
|
-
!
|
2800
|
+
!ai(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2800
2801
|
}, e.prototype.tryParseQuote = function(t) {
|
2801
2802
|
if (this.isEOF() || this.char() !== 39)
|
2802
2803
|
return null;
|
@@ -2830,12 +2831,12 @@ var oi = (
|
|
2830
2831
|
r.push(n);
|
2831
2832
|
this.bump();
|
2832
2833
|
}
|
2833
|
-
return
|
2834
|
+
return Ye.apply(void 0, r);
|
2834
2835
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2835
2836
|
if (this.isEOF())
|
2836
2837
|
return null;
|
2837
2838
|
var n = this.char();
|
2838
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2839
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
|
2839
2840
|
}, e.prototype.parseArgument = function(t, r) {
|
2840
2841
|
var n = this.clonePosition();
|
2841
2842
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2864,7 +2865,7 @@ var oi = (
|
|
2864
2865
|
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2865
2866
|
}
|
2866
2867
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2867
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2868
|
+
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
2868
2869
|
this.bumpTo(i);
|
2869
2870
|
var o = this.clonePosition(), s = v(t, o);
|
2870
2871
|
return { value: n, location: s };
|
@@ -2883,7 +2884,7 @@ var oi = (
|
|
2883
2884
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2884
2885
|
if (m.err)
|
2885
2886
|
return m;
|
2886
|
-
var f =
|
2887
|
+
var f = oi(m.val);
|
2887
2888
|
if (f.length === 0)
|
2888
2889
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2889
2890
|
var p = v(h, this.clonePosition());
|
@@ -2894,7 +2895,7 @@ var oi = (
|
|
2894
2895
|
return g;
|
2895
2896
|
var b = v(i, this.clonePosition());
|
2896
2897
|
if (l && Ct(l == null ? void 0 : l.style, "::", 0)) {
|
2897
|
-
var d =
|
2898
|
+
var d = ii(l.style.slice(2));
|
2898
2899
|
if (a === "number") {
|
2899
2900
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2900
2901
|
return m.err ? m : {
|
@@ -2904,13 +2905,13 @@ var oi = (
|
|
2904
2905
|
} else {
|
2905
2906
|
if (d.length === 0)
|
2906
2907
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2907
|
-
var
|
2908
|
-
this.locale && (
|
2908
|
+
var C = d;
|
2909
|
+
this.locale && (C = Xn(d, this.locale));
|
2909
2910
|
var f = {
|
2910
|
-
type:
|
2911
|
-
pattern:
|
2911
|
+
type: ae.dateTime,
|
2912
|
+
pattern: C,
|
2912
2913
|
location: l.styleLocation,
|
2913
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2914
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(C) : {}
|
2914
2915
|
}, _ = a === "date" ? S.date : S.time;
|
2915
2916
|
return {
|
2916
2917
|
val: { type: _, value: n, location: b, style: f },
|
@@ -2931,21 +2932,21 @@ var oi = (
|
|
2931
2932
|
case "plural":
|
2932
2933
|
case "selectordinal":
|
2933
2934
|
case "select": {
|
2934
|
-
var
|
2935
|
+
var E = this.clonePosition();
|
2935
2936
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2936
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
2937
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(E, Ie({}, E)));
|
2937
2938
|
this.bumpSpace();
|
2938
|
-
var
|
2939
|
-
if (a !== "select" &&
|
2939
|
+
var L = this.parseIdentifierIfPossible(), I = 0;
|
2940
|
+
if (a !== "select" && L.value === "offset") {
|
2940
2941
|
if (!this.bumpIf(":"))
|
2941
2942
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
2942
2943
|
this.bumpSpace();
|
2943
2944
|
var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2944
2945
|
if (m.err)
|
2945
2946
|
return m;
|
2946
|
-
this.bumpSpace(),
|
2947
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), I = m.val;
|
2947
2948
|
}
|
2948
|
-
var $ = this.tryParsePluralOrSelectOptions(t, a, r,
|
2949
|
+
var $ = this.tryParsePluralOrSelectOptions(t, a, r, L);
|
2949
2950
|
if ($.err)
|
2950
2951
|
return $;
|
2951
2952
|
var g = this.tryParseArgumentClose(i);
|
@@ -2956,7 +2957,7 @@ var oi = (
|
|
2956
2957
|
val: {
|
2957
2958
|
type: S.select,
|
2958
2959
|
value: n,
|
2959
|
-
options:
|
2960
|
+
options: Ht($.val),
|
2960
2961
|
location: w
|
2961
2962
|
},
|
2962
2963
|
err: null
|
@@ -2964,7 +2965,7 @@ var oi = (
|
|
2964
2965
|
val: {
|
2965
2966
|
type: S.plural,
|
2966
2967
|
value: n,
|
2967
|
-
options:
|
2968
|
+
options: Ht($.val),
|
2968
2969
|
offset: I,
|
2969
2970
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2970
2971
|
location: w
|
@@ -3015,16 +3016,16 @@ var oi = (
|
|
3015
3016
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3016
3017
|
var n = [];
|
3017
3018
|
try {
|
3018
|
-
n =
|
3019
|
+
n = Gn(t);
|
3019
3020
|
} catch (i) {
|
3020
3021
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
3021
3022
|
}
|
3022
3023
|
return {
|
3023
3024
|
val: {
|
3024
|
-
type:
|
3025
|
+
type: ae.number,
|
3025
3026
|
tokens: n,
|
3026
3027
|
location: r,
|
3027
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3028
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
|
3028
3029
|
},
|
3029
3030
|
err: null
|
3030
3031
|
};
|
@@ -3072,7 +3073,7 @@ var oi = (
|
|
3072
3073
|
break;
|
3073
3074
|
}
|
3074
3075
|
var u = v(i, this.clonePosition());
|
3075
|
-
return o ? (s *= n,
|
3076
|
+
return o ? (s *= n, ri(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
3076
3077
|
}, e.prototype.offset = function() {
|
3077
3078
|
return this.position.offset;
|
3078
3079
|
}, e.prototype.isEOF = function() {
|
@@ -3087,7 +3088,7 @@ var oi = (
|
|
3087
3088
|
var t = this.position.offset;
|
3088
3089
|
if (t >= this.message.length)
|
3089
3090
|
throw Error("out of bound");
|
3090
|
-
var r =
|
3091
|
+
var r = hr(this.message, t);
|
3091
3092
|
if (r === void 0)
|
3092
3093
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3093
3094
|
return r;
|
@@ -3128,7 +3129,7 @@ var oi = (
|
|
3128
3129
|
break;
|
3129
3130
|
}
|
3130
3131
|
}, e.prototype.bumpSpace = function() {
|
3131
|
-
for (; !this.isEOF() &&
|
3132
|
+
for (; !this.isEOF() && fr(this.char()); )
|
3132
3133
|
this.bump();
|
3133
3134
|
}, e.prototype.peek = function() {
|
3134
3135
|
if (this.isEOF())
|
@@ -3138,47 +3139,47 @@ var oi = (
|
|
3138
3139
|
}, e;
|
3139
3140
|
}()
|
3140
3141
|
);
|
3141
|
-
function
|
3142
|
+
function et(e) {
|
3142
3143
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3143
3144
|
}
|
3144
|
-
function si(e) {
|
3145
|
-
return Ke(e) || e === 47;
|
3146
|
-
}
|
3147
3145
|
function ai(e) {
|
3146
|
+
return et(e) || e === 47;
|
3147
|
+
}
|
3148
|
+
function li(e) {
|
3148
3149
|
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;
|
3149
3150
|
}
|
3150
|
-
function
|
3151
|
+
function fr(e) {
|
3151
3152
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3152
3153
|
}
|
3153
|
-
function
|
3154
|
+
function ui(e) {
|
3154
3155
|
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;
|
3155
3156
|
}
|
3156
|
-
function
|
3157
|
+
function tt(e) {
|
3157
3158
|
e.forEach(function(t) {
|
3158
|
-
if (delete t.location,
|
3159
|
+
if (delete t.location, rr(t) || nr(t))
|
3159
3160
|
for (var r in t.options)
|
3160
|
-
delete t.options[r].location,
|
3161
|
+
delete t.options[r].location, tt(t.options[r].value);
|
3161
3162
|
else
|
3162
|
-
|
3163
|
+
Kt(t) && or(t.style) || (er(t) || tr(t)) && qe(t.style) ? delete t.style.location : ir(t) && tt(t.children);
|
3163
3164
|
});
|
3164
3165
|
}
|
3165
|
-
function
|
3166
|
-
t === void 0 && (t = {}), t =
|
3167
|
-
var r = new
|
3166
|
+
function hi(e, t) {
|
3167
|
+
t === void 0 && (t = {}), t = Ie({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3168
|
+
var r = new si(e, t).parse();
|
3168
3169
|
if (r.err) {
|
3169
3170
|
var n = SyntaxError(y[r.err.kind]);
|
3170
3171
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3171
3172
|
}
|
3172
|
-
return t != null && t.captureLocation ||
|
3173
|
+
return t != null && t.captureLocation || tt(r.val), r.val;
|
3173
3174
|
}
|
3174
|
-
var
|
3175
|
+
var le;
|
3175
3176
|
(function(e) {
|
3176
3177
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3177
|
-
})(
|
3178
|
-
var
|
3178
|
+
})(le || (le = {}));
|
3179
|
+
var Le = (
|
3179
3180
|
/** @class */
|
3180
3181
|
function(e) {
|
3181
|
-
|
3182
|
+
Oe(t, e);
|
3182
3183
|
function t(r, n, i) {
|
3183
3184
|
var o = e.call(this, r) || this;
|
3184
3185
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3187,48 +3188,48 @@ var Pe = (
|
|
3187
3188
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3188
3189
|
}, t;
|
3189
3190
|
}(Error)
|
3190
|
-
),
|
3191
|
+
), Tt = (
|
3191
3192
|
/** @class */
|
3192
3193
|
function(e) {
|
3193
|
-
|
3194
|
+
Oe(t, e);
|
3194
3195
|
function t(r, n, i, o) {
|
3195
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3196
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), le.INVALID_VALUE, o) || this;
|
3196
3197
|
}
|
3197
3198
|
return t;
|
3198
|
-
}(
|
3199
|
-
),
|
3199
|
+
}(Le)
|
3200
|
+
), ci = (
|
3200
3201
|
/** @class */
|
3201
3202
|
function(e) {
|
3202
|
-
|
3203
|
+
Oe(t, e);
|
3203
3204
|
function t(r, n, i) {
|
3204
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3205
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), le.INVALID_VALUE, i) || this;
|
3205
3206
|
}
|
3206
3207
|
return t;
|
3207
|
-
}(
|
3208
|
-
),
|
3208
|
+
}(Le)
|
3209
|
+
), fi = (
|
3209
3210
|
/** @class */
|
3210
3211
|
function(e) {
|
3211
|
-
|
3212
|
+
Oe(t, e);
|
3212
3213
|
function t(r, n) {
|
3213
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3214
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), le.MISSING_VALUE, n) || this;
|
3214
3215
|
}
|
3215
3216
|
return t;
|
3216
|
-
}(
|
3217
|
+
}(Le)
|
3217
3218
|
), R;
|
3218
3219
|
(function(e) {
|
3219
3220
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3220
3221
|
})(R || (R = {}));
|
3221
|
-
function
|
3222
|
+
function mi(e) {
|
3222
3223
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3223
3224
|
var n = t[t.length - 1];
|
3224
3225
|
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
3225
3226
|
}, []);
|
3226
3227
|
}
|
3227
|
-
function
|
3228
|
+
function di(e) {
|
3228
3229
|
return typeof e == "function";
|
3229
3230
|
}
|
3230
3231
|
function Te(e, t, r, n, i, o, s) {
|
3231
|
-
if (e.length === 1 &&
|
3232
|
+
if (e.length === 1 && _t(e[0]))
|
3232
3233
|
return [
|
3233
3234
|
{
|
3234
3235
|
type: R.literal,
|
@@ -3237,14 +3238,14 @@ function Te(e, t, r, n, i, o, s) {
|
|
3237
3238
|
];
|
3238
3239
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3239
3240
|
var h = l[u];
|
3240
|
-
if (
|
3241
|
+
if (_t(h)) {
|
3241
3242
|
a.push({
|
3242
3243
|
type: R.literal,
|
3243
3244
|
value: h.value
|
3244
3245
|
});
|
3245
3246
|
continue;
|
3246
3247
|
}
|
3247
|
-
if (
|
3248
|
+
if (Fn(h)) {
|
3248
3249
|
typeof o == "number" && a.push({
|
3249
3250
|
type: R.literal,
|
3250
3251
|
value: r.getNumberFormat(t).format(o)
|
@@ -3253,44 +3254,44 @@ function Te(e, t, r, n, i, o, s) {
|
|
3253
3254
|
}
|
3254
3255
|
var m = h.value;
|
3255
3256
|
if (!(i && m in i))
|
3256
|
-
throw new
|
3257
|
+
throw new fi(m, s);
|
3257
3258
|
var f = i[m];
|
3258
|
-
if (
|
3259
|
+
if (Ln(h)) {
|
3259
3260
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3260
3261
|
type: typeof f == "string" ? R.literal : R.object,
|
3261
3262
|
value: f
|
3262
3263
|
});
|
3263
3264
|
continue;
|
3264
3265
|
}
|
3265
|
-
if (
|
3266
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
3266
|
+
if (er(h)) {
|
3267
|
+
var p = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
|
3267
3268
|
a.push({
|
3268
3269
|
type: R.literal,
|
3269
3270
|
value: r.getDateTimeFormat(t, p).format(f)
|
3270
3271
|
});
|
3271
3272
|
continue;
|
3272
3273
|
}
|
3273
|
-
if (
|
3274
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
3274
|
+
if (tr(h)) {
|
3275
|
+
var p = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
3275
3276
|
a.push({
|
3276
3277
|
type: R.literal,
|
3277
3278
|
value: r.getDateTimeFormat(t, p).format(f)
|
3278
3279
|
});
|
3279
3280
|
continue;
|
3280
3281
|
}
|
3281
|
-
if (
|
3282
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
3282
|
+
if (Kt(h)) {
|
3283
|
+
var p = typeof h.style == "string" ? n.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
|
3283
3284
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3284
3285
|
type: R.literal,
|
3285
3286
|
value: r.getNumberFormat(t, p).format(f)
|
3286
3287
|
});
|
3287
3288
|
continue;
|
3288
3289
|
}
|
3289
|
-
if (
|
3290
|
+
if (ir(h)) {
|
3290
3291
|
var g = h.children, b = h.value, d = i[b];
|
3291
|
-
if (!
|
3292
|
-
throw new
|
3293
|
-
var
|
3292
|
+
if (!di(d))
|
3293
|
+
throw new ci(b, "function", s);
|
3294
|
+
var C = Te(g, t, r, n, i, o), _ = d(C.map(function(I) {
|
3294
3295
|
return I.value;
|
3295
3296
|
}));
|
3296
3297
|
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(I) {
|
@@ -3300,42 +3301,42 @@ function Te(e, t, r, n, i, o, s) {
|
|
3300
3301
|
};
|
3301
3302
|
}));
|
3302
3303
|
}
|
3303
|
-
if (
|
3304
|
-
var
|
3305
|
-
if (!
|
3306
|
-
throw new
|
3307
|
-
a.push.apply(a, Te(
|
3304
|
+
if (rr(h)) {
|
3305
|
+
var E = h.options[f] || h.options.other;
|
3306
|
+
if (!E)
|
3307
|
+
throw new Tt(h.value, f, Object.keys(h.options), s);
|
3308
|
+
a.push.apply(a, Te(E.value, t, r, n, i));
|
3308
3309
|
continue;
|
3309
3310
|
}
|
3310
|
-
if (
|
3311
|
-
var
|
3312
|
-
if (!
|
3311
|
+
if (nr(h)) {
|
3312
|
+
var E = h.options["=".concat(f)];
|
3313
|
+
if (!E) {
|
3313
3314
|
if (!Intl.PluralRules)
|
3314
|
-
throw new
|
3315
|
+
throw new Le(`Intl.PluralRules is not available in this environment.
|
3315
3316
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3316
|
-
`,
|
3317
|
-
var
|
3318
|
-
|
3317
|
+
`, le.MISSING_INTL_API, s);
|
3318
|
+
var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3319
|
+
E = h.options[L] || h.options.other;
|
3319
3320
|
}
|
3320
|
-
if (!
|
3321
|
-
throw new
|
3322
|
-
a.push.apply(a, Te(
|
3321
|
+
if (!E)
|
3322
|
+
throw new Tt(h.value, f, Object.keys(h.options), s);
|
3323
|
+
a.push.apply(a, Te(E.value, t, r, n, i, f - (h.offset || 0)));
|
3323
3324
|
continue;
|
3324
3325
|
}
|
3325
3326
|
}
|
3326
|
-
return
|
3327
|
+
return mi(a);
|
3327
3328
|
}
|
3328
|
-
function
|
3329
|
-
return t ?
|
3330
|
-
return r[n] =
|
3329
|
+
function pi(e, t) {
|
3330
|
+
return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3331
|
+
return r[n] = j(j({}, e[n]), t[n] || {}), r;
|
3331
3332
|
}, {})) : e;
|
3332
3333
|
}
|
3333
|
-
function
|
3334
|
+
function gi(e, t) {
|
3334
3335
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3335
|
-
return r[n] =
|
3336
|
-
},
|
3336
|
+
return r[n] = pi(e[n], t[n]), r;
|
3337
|
+
}, j({}, e)) : e;
|
3337
3338
|
}
|
3338
|
-
function
|
3339
|
+
function Xe(e) {
|
3339
3340
|
return {
|
3340
3341
|
create: function() {
|
3341
3342
|
return {
|
@@ -3349,39 +3350,39 @@ function Ve(e) {
|
|
3349
3350
|
}
|
3350
3351
|
};
|
3351
3352
|
}
|
3352
|
-
function
|
3353
|
+
function bi(e) {
|
3353
3354
|
return e === void 0 && (e = {
|
3354
3355
|
number: {},
|
3355
3356
|
dateTime: {},
|
3356
3357
|
pluralRules: {}
|
3357
3358
|
}), {
|
3358
|
-
getNumberFormat:
|
3359
|
+
getNumberFormat: $e(function() {
|
3359
3360
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3360
3361
|
r[n] = arguments[n];
|
3361
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3362
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], r, !1)))();
|
3362
3363
|
}, {
|
3363
|
-
cache:
|
3364
|
-
strategy:
|
3364
|
+
cache: Xe(e.number),
|
3365
|
+
strategy: je.variadic
|
3365
3366
|
}),
|
3366
|
-
getDateTimeFormat:
|
3367
|
+
getDateTimeFormat: $e(function() {
|
3367
3368
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3368
3369
|
r[n] = arguments[n];
|
3369
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3370
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], r, !1)))();
|
3370
3371
|
}, {
|
3371
|
-
cache:
|
3372
|
-
strategy:
|
3372
|
+
cache: Xe(e.dateTime),
|
3373
|
+
strategy: je.variadic
|
3373
3374
|
}),
|
3374
|
-
getPluralRules:
|
3375
|
+
getPluralRules: $e(function() {
|
3375
3376
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3376
3377
|
r[n] = arguments[n];
|
3377
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3378
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], r, !1)))();
|
3378
3379
|
}, {
|
3379
|
-
cache:
|
3380
|
-
strategy:
|
3380
|
+
cache: Xe(e.pluralRules),
|
3381
|
+
strategy: je.variadic
|
3381
3382
|
})
|
3382
3383
|
};
|
3383
3384
|
}
|
3384
|
-
var
|
3385
|
+
var yi = (
|
3385
3386
|
/** @class */
|
3386
3387
|
function() {
|
3387
3388
|
function e(t, r, n, i) {
|
@@ -3413,13 +3414,13 @@ var bi = (
|
|
3413
3414
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3414
3415
|
var s = i || {};
|
3415
3416
|
s.formatters;
|
3416
|
-
var a =
|
3417
|
-
this.ast = e.__parse(t,
|
3417
|
+
var a = Tn(s, ["formatters"]);
|
3418
|
+
this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
|
3418
3419
|
} else
|
3419
3420
|
this.ast = t;
|
3420
3421
|
if (!Array.isArray(this.ast))
|
3421
3422
|
throw new TypeError("A message must be provided as a String or AST.");
|
3422
|
-
this.formats =
|
3423
|
+
this.formats = gi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
|
3423
3424
|
}
|
3424
3425
|
return Object.defineProperty(e, "defaultLocale", {
|
3425
3426
|
get: function() {
|
@@ -3432,7 +3433,7 @@ var bi = (
|
|
3432
3433
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3433
3434
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3434
3435
|
}
|
3435
|
-
}, e.__parse =
|
3436
|
+
}, e.__parse = hi, e.formats = {
|
3436
3437
|
number: {
|
3437
3438
|
integer: {
|
3438
3439
|
maximumFractionDigits: 0
|
@@ -3493,7 +3494,7 @@ var bi = (
|
|
3493
3494
|
}, e;
|
3494
3495
|
}()
|
3495
3496
|
);
|
3496
|
-
function
|
3497
|
+
function vi(e, t) {
|
3497
3498
|
if (t == null)
|
3498
3499
|
return;
|
3499
3500
|
if (t in e)
|
@@ -3514,92 +3515,92 @@ function yi(e, t) {
|
|
3514
3515
|
n = void 0;
|
3515
3516
|
return n;
|
3516
3517
|
}
|
3517
|
-
const
|
3518
|
+
const z = {}, _i = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), mr = (e, t) => {
|
3518
3519
|
if (t == null)
|
3519
3520
|
return;
|
3520
|
-
if (t in
|
3521
|
-
return
|
3522
|
-
const r =
|
3521
|
+
if (t in z && e in z[t])
|
3522
|
+
return z[t][e];
|
3523
|
+
const r = Fe(t);
|
3523
3524
|
for (let n = 0; n < r.length; n++) {
|
3524
|
-
const i = r[n], o =
|
3525
|
+
const i = r[n], o = xi(i, e);
|
3525
3526
|
if (o)
|
3526
|
-
return
|
3527
|
+
return _i(e, t, o);
|
3527
3528
|
}
|
3528
3529
|
};
|
3529
|
-
let
|
3530
|
-
const
|
3531
|
-
function
|
3532
|
-
return
|
3530
|
+
let st;
|
3531
|
+
const ce = Pe({});
|
3532
|
+
function Ei(e) {
|
3533
|
+
return st[e] || null;
|
3533
3534
|
}
|
3534
|
-
function
|
3535
|
-
return e in
|
3535
|
+
function dr(e) {
|
3536
|
+
return e in st;
|
3536
3537
|
}
|
3537
|
-
function
|
3538
|
-
if (!
|
3538
|
+
function xi(e, t) {
|
3539
|
+
if (!dr(e))
|
3539
3540
|
return null;
|
3540
|
-
const r =
|
3541
|
-
return
|
3541
|
+
const r = Ei(e);
|
3542
|
+
return vi(r, t);
|
3542
3543
|
}
|
3543
|
-
function
|
3544
|
+
function wi(e) {
|
3544
3545
|
if (e == null)
|
3545
3546
|
return;
|
3546
|
-
const t =
|
3547
|
+
const t = Fe(e);
|
3547
3548
|
for (let r = 0; r < t.length; r++) {
|
3548
3549
|
const n = t[r];
|
3549
|
-
if (
|
3550
|
+
if (dr(n))
|
3550
3551
|
return n;
|
3551
3552
|
}
|
3552
3553
|
}
|
3553
|
-
function
|
3554
|
-
delete
|
3554
|
+
function pr(e, ...t) {
|
3555
|
+
delete z[e], ce.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
|
3555
3556
|
}
|
3556
|
-
|
3557
|
-
[
|
3557
|
+
he(
|
3558
|
+
[ce],
|
3558
3559
|
([e]) => Object.keys(e)
|
3559
3560
|
);
|
3560
|
-
|
3561
|
+
ce.subscribe((e) => st = e);
|
3561
3562
|
const Ae = {};
|
3562
3563
|
function Ci(e, t) {
|
3563
3564
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
3564
3565
|
}
|
3565
|
-
function
|
3566
|
+
function gr(e) {
|
3566
3567
|
return Ae[e];
|
3567
3568
|
}
|
3568
|
-
function
|
3569
|
-
return
|
3570
|
-
const r =
|
3569
|
+
function Hi(e) {
|
3570
|
+
return Fe(e).map((t) => {
|
3571
|
+
const r = gr(t);
|
3571
3572
|
return [t, r ? [...r] : []];
|
3572
3573
|
}).filter(([, t]) => t.length > 0);
|
3573
3574
|
}
|
3574
|
-
function
|
3575
|
-
return e == null ? !1 :
|
3575
|
+
function rt(e) {
|
3576
|
+
return e == null ? !1 : Fe(e).some(
|
3576
3577
|
(t) => {
|
3577
3578
|
var r;
|
3578
|
-
return (r =
|
3579
|
+
return (r = gr(t)) == null ? void 0 : r.size;
|
3579
3580
|
}
|
3580
3581
|
);
|
3581
3582
|
}
|
3582
|
-
function
|
3583
|
+
function Si(e, t) {
|
3583
3584
|
return Promise.all(
|
3584
3585
|
t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
|
3585
|
-
).then((n) =>
|
3586
|
-
}
|
3587
|
-
const
|
3588
|
-
function
|
3589
|
-
if (!
|
3590
|
-
return e in
|
3591
|
-
const t =
|
3592
|
-
return
|
3586
|
+
).then((n) => pr(e, ...n));
|
3587
|
+
}
|
3588
|
+
const de = {};
|
3589
|
+
function br(e) {
|
3590
|
+
if (!rt(e))
|
3591
|
+
return e in de ? de[e] : Promise.resolve();
|
3592
|
+
const t = Hi(e);
|
3593
|
+
return de[e] = Promise.all(
|
3593
3594
|
t.map(
|
3594
|
-
([r, n]) =>
|
3595
|
+
([r, n]) => Si(r, n)
|
3595
3596
|
)
|
3596
3597
|
).then(() => {
|
3597
|
-
if (
|
3598
|
-
return
|
3599
|
-
delete
|
3600
|
-
}),
|
3598
|
+
if (rt(e))
|
3599
|
+
return br(e);
|
3600
|
+
delete de[e];
|
3601
|
+
}), de[e];
|
3601
3602
|
}
|
3602
|
-
const
|
3603
|
+
const Ti = {
|
3603
3604
|
number: {
|
3604
3605
|
scientific: { notation: "scientific" },
|
3605
3606
|
engineering: { notation: "engineering" },
|
@@ -3628,150 +3629,150 @@ const Si = {
|
|
3628
3629
|
timeZoneName: "short"
|
3629
3630
|
}
|
3630
3631
|
}
|
3631
|
-
},
|
3632
|
+
}, Ai = {
|
3632
3633
|
fallbackLocale: null,
|
3633
3634
|
loadingDelay: 200,
|
3634
|
-
formats:
|
3635
|
+
formats: Ti,
|
3635
3636
|
warnOnMissingMessages: !0,
|
3636
3637
|
handleMissingMessage: void 0,
|
3637
3638
|
ignoreTag: !0
|
3638
|
-
},
|
3639
|
-
function
|
3640
|
-
return
|
3639
|
+
}, Bi = Ai;
|
3640
|
+
function ue() {
|
3641
|
+
return Bi;
|
3641
3642
|
}
|
3642
|
-
const
|
3643
|
-
var
|
3643
|
+
const We = Pe(!1);
|
3644
|
+
var Ii = Object.defineProperty, Mi = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
|
3644
3645
|
for (var r in t || (t = {}))
|
3645
|
-
|
3646
|
-
if (
|
3647
|
-
for (var r of
|
3648
|
-
|
3646
|
+
Pi.call(t, r) && Bt(e, r, t[r]);
|
3647
|
+
if (At)
|
3648
|
+
for (var r of At(t))
|
3649
|
+
Oi.call(t, r) && Bt(e, r, t[r]);
|
3649
3650
|
return e;
|
3650
|
-
},
|
3651
|
-
let
|
3652
|
-
const
|
3653
|
-
function
|
3651
|
+
}, Fi = (e, t) => Mi(e, Ni(t));
|
3652
|
+
let nt;
|
3653
|
+
const Me = Pe(null);
|
3654
|
+
function It(e) {
|
3654
3655
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3655
3656
|
}
|
3656
|
-
function
|
3657
|
-
const r =
|
3658
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3657
|
+
function Fe(e, t = ue().fallbackLocale) {
|
3658
|
+
const r = It(e);
|
3659
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
|
3659
3660
|
}
|
3660
|
-
function
|
3661
|
-
return
|
3661
|
+
function K() {
|
3662
|
+
return nt != null ? nt : void 0;
|
3662
3663
|
}
|
3663
|
-
|
3664
|
-
|
3664
|
+
Me.subscribe((e) => {
|
3665
|
+
nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3665
3666
|
});
|
3666
|
-
const
|
3667
|
-
if (e &&
|
3668
|
-
const { loadingDelay: t } =
|
3667
|
+
const Ri = (e) => {
|
3668
|
+
if (e && wi(e) && rt(e)) {
|
3669
|
+
const { loadingDelay: t } = ue();
|
3669
3670
|
let r;
|
3670
|
-
return typeof window != "undefined" &&
|
3671
|
-
() =>
|
3671
|
+
return typeof window != "undefined" && K() != null && t ? r = window.setTimeout(
|
3672
|
+
() => We.set(!0),
|
3672
3673
|
t
|
3673
|
-
) :
|
3674
|
-
|
3674
|
+
) : We.set(!0), br(e).then(() => {
|
3675
|
+
Me.set(e);
|
3675
3676
|
}).finally(() => {
|
3676
|
-
clearTimeout(r),
|
3677
|
+
clearTimeout(r), We.set(!1);
|
3677
3678
|
});
|
3678
3679
|
}
|
3679
|
-
return
|
3680
|
-
},
|
3681
|
-
set:
|
3682
|
-
}),
|
3680
|
+
return Me.set(e);
|
3681
|
+
}, Z = Fi(Li({}, Me), {
|
3682
|
+
set: Ri
|
3683
|
+
}), Re = (e) => {
|
3683
3684
|
const t = /* @__PURE__ */ Object.create(null);
|
3684
3685
|
return (n) => {
|
3685
3686
|
const i = JSON.stringify(n);
|
3686
3687
|
return i in t ? t[i] : t[i] = e(n);
|
3687
3688
|
};
|
3688
3689
|
};
|
3689
|
-
var
|
3690
|
+
var Di = Object.defineProperty, Ne = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
3690
3691
|
for (var r in t || (t = {}))
|
3691
|
-
|
3692
|
-
if (
|
3693
|
-
for (var r of
|
3694
|
-
|
3692
|
+
yr.call(t, r) && Mt(e, r, t[r]);
|
3693
|
+
if (Ne)
|
3694
|
+
for (var r of Ne(t))
|
3695
|
+
vr.call(t, r) && Mt(e, r, t[r]);
|
3695
3696
|
return e;
|
3696
|
-
},
|
3697
|
+
}, fe = (e, t) => {
|
3697
3698
|
var r = {};
|
3698
3699
|
for (var n in e)
|
3699
|
-
|
3700
|
-
if (e != null &&
|
3701
|
-
for (var n of
|
3702
|
-
t.indexOf(n) < 0 &&
|
3700
|
+
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3701
|
+
if (e != null && Ne)
|
3702
|
+
for (var n of Ne(e))
|
3703
|
+
t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
|
3703
3704
|
return r;
|
3704
3705
|
};
|
3705
|
-
const
|
3706
|
-
const { formats: r } =
|
3706
|
+
const _e = (e, t) => {
|
3707
|
+
const { formats: r } = ue();
|
3707
3708
|
if (e in r && t in r[e])
|
3708
3709
|
return r[e][t];
|
3709
3710
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3710
|
-
},
|
3711
|
+
}, Ui = Re(
|
3711
3712
|
(e) => {
|
3712
|
-
var t = e, { locale: r, format: n } = t, i =
|
3713
|
+
var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
|
3713
3714
|
if (r == null)
|
3714
3715
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3715
|
-
return n && (i =
|
3716
|
+
return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
|
3716
3717
|
}
|
3717
|
-
),
|
3718
|
+
), Gi = Re(
|
3718
3719
|
(e) => {
|
3719
|
-
var t = e, { locale: r, format: n } = t, i =
|
3720
|
+
var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
|
3720
3721
|
if (r == null)
|
3721
3722
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3722
|
-
return n ? i =
|
3723
|
+
return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
|
3723
3724
|
}
|
3724
|
-
),
|
3725
|
+
), ki = Re(
|
3725
3726
|
(e) => {
|
3726
|
-
var t = e, { locale: r, format: n } = t, i =
|
3727
|
+
var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
|
3727
3728
|
if (r == null)
|
3728
3729
|
throw new Error(
|
3729
3730
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3730
3731
|
);
|
3731
|
-
return n ? i =
|
3732
|
+
return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
|
3732
3733
|
}
|
3733
|
-
),
|
3734
|
+
), $i = (e = {}) => {
|
3734
3735
|
var t = e, {
|
3735
|
-
locale: r =
|
3736
|
-
} = t, n =
|
3736
|
+
locale: r = K()
|
3737
|
+
} = t, n = fe(t, [
|
3737
3738
|
"locale"
|
3738
3739
|
]);
|
3739
|
-
return
|
3740
|
-
},
|
3740
|
+
return Ui(at({ locale: r }, n));
|
3741
|
+
}, ji = (e = {}) => {
|
3741
3742
|
var t = e, {
|
3742
|
-
locale: r =
|
3743
|
-
} = t, n =
|
3743
|
+
locale: r = K()
|
3744
|
+
} = t, n = fe(t, [
|
3744
3745
|
"locale"
|
3745
3746
|
]);
|
3746
|
-
return
|
3747
|
-
},
|
3747
|
+
return Gi(at({ locale: r }, n));
|
3748
|
+
}, Vi = (e = {}) => {
|
3748
3749
|
var t = e, {
|
3749
|
-
locale: r =
|
3750
|
-
} = t, n =
|
3750
|
+
locale: r = K()
|
3751
|
+
} = t, n = fe(t, [
|
3751
3752
|
"locale"
|
3752
3753
|
]);
|
3753
|
-
return
|
3754
|
-
},
|
3754
|
+
return ki(at({ locale: r }, n));
|
3755
|
+
}, Xi = Re(
|
3755
3756
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3756
|
-
(e, t =
|
3757
|
-
ignoreTag:
|
3757
|
+
(e, t = K()) => new yi(e, t, ue().formats, {
|
3758
|
+
ignoreTag: ue().ignoreTag
|
3758
3759
|
})
|
3759
|
-
),
|
3760
|
+
), Wi = (e, t = {}) => {
|
3760
3761
|
var r, n, i, o;
|
3761
3762
|
let s = t;
|
3762
3763
|
typeof e == "object" && (s = e, e = s.id);
|
3763
3764
|
const {
|
3764
3765
|
values: a,
|
3765
|
-
locale: u =
|
3766
|
+
locale: u = K(),
|
3766
3767
|
default: l
|
3767
3768
|
} = s;
|
3768
3769
|
if (u == null)
|
3769
3770
|
throw new Error(
|
3770
3771
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3771
3772
|
);
|
3772
|
-
let h =
|
3773
|
+
let h = mr(e, u);
|
3773
3774
|
if (!h)
|
3774
|
-
h = (o = (i = (n = (r =
|
3775
|
+
h = (o = (i = (n = (r = ue()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
3775
3776
|
else if (typeof h != "string")
|
3776
3777
|
return console.warn(
|
3777
3778
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -3780,7 +3781,7 @@ const ve = (e, t) => {
|
|
3780
3781
|
return h;
|
3781
3782
|
let m = h;
|
3782
3783
|
try {
|
3783
|
-
m =
|
3784
|
+
m = Xi(h, u).format(a);
|
3784
3785
|
} catch (f) {
|
3785
3786
|
f instanceof Error && console.warn(
|
3786
3787
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3788,24 +3789,24 @@ const ve = (e, t) => {
|
|
3788
3789
|
);
|
3789
3790
|
}
|
3790
3791
|
return m;
|
3791
|
-
},
|
3792
|
-
|
3793
|
-
|
3794
|
-
|
3795
|
-
|
3796
|
-
|
3797
|
-
function
|
3798
|
-
|
3799
|
-
r == null && (
|
3792
|
+
}, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ji(t).format(e), Qi = (e, t) => $i(t).format(e), qi = (e, t = K()) => mr(e, t);
|
3793
|
+
he([Z, ce], () => Wi);
|
3794
|
+
he([Z], () => zi);
|
3795
|
+
he([Z], () => Zi);
|
3796
|
+
he([Z], () => Qi);
|
3797
|
+
he([Z, ce], () => qi);
|
3798
|
+
function Ji({ withLocale: e, translations: t }) {
|
3799
|
+
Z.subscribe((r) => {
|
3800
|
+
r == null && (ce.set(t), Z.set(e));
|
3800
3801
|
});
|
3801
3802
|
}
|
3802
|
-
function
|
3803
|
-
|
3803
|
+
function Nt(e, t) {
|
3804
|
+
pr(e, t);
|
3804
3805
|
}
|
3805
|
-
function
|
3806
|
-
|
3806
|
+
function Yi(e) {
|
3807
|
+
Z.set(e);
|
3807
3808
|
}
|
3808
|
-
const
|
3809
|
+
const Pt = {
|
3809
3810
|
en: {
|
3810
3811
|
login: "Login",
|
3811
3812
|
register: "Register",
|
@@ -3862,23 +3863,23 @@ const Nt = {
|
|
3862
3863
|
deposit: "Deposit"
|
3863
3864
|
}
|
3864
3865
|
};
|
3865
|
-
function
|
3866
|
-
|
3866
|
+
function Ki(e) {
|
3867
|
+
Gr(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}');
|
3867
3868
|
}
|
3868
|
-
function
|
3869
|
+
function Ot(e, t, r) {
|
3869
3870
|
const n = e.slice();
|
3870
3871
|
return n[48] = t[r], n[50] = r, n;
|
3871
3872
|
}
|
3872
|
-
function
|
3873
|
+
function Lt(e, t, r) {
|
3873
3874
|
const n = e.slice();
|
3874
3875
|
return n[51] = t[r], n;
|
3875
3876
|
}
|
3876
|
-
function
|
3877
|
+
function Ft(e, t, r) {
|
3877
3878
|
const n = e.slice();
|
3878
3879
|
return n[54] = t[r], n[56] = r, n;
|
3879
3880
|
}
|
3880
|
-
function
|
3881
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
3881
|
+
function Rt(e) {
|
3882
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = oe(
|
3882
3883
|
/*sliderdata*/
|
3883
3884
|
e[9]
|
3884
3885
|
);
|
@@ -3887,14 +3888,14 @@ function Ft(e) {
|
|
3887
3888
|
s[48].id
|
3888
3889
|
);
|
3889
3890
|
for (let s = 0; s < i.length; s += 1) {
|
3890
|
-
let a =
|
3891
|
-
r.set(u, t[s] =
|
3891
|
+
let a = Ot(e, i, s), u = o(a);
|
3892
|
+
r.set(u, t[s] = jt(u, a));
|
3892
3893
|
}
|
3893
3894
|
return {
|
3894
3895
|
c() {
|
3895
3896
|
for (let s = 0; s < t.length; s += 1)
|
3896
3897
|
t[s].c();
|
3897
|
-
n =
|
3898
|
+
n = be();
|
3898
3899
|
},
|
3899
3900
|
m(s, a) {
|
3900
3901
|
for (let u = 0; u < t.length; u += 1)
|
@@ -3903,10 +3904,10 @@ function Ft(e) {
|
|
3903
3904
|
},
|
3904
3905
|
p(s, a) {
|
3905
3906
|
a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
3906
|
-
77775 && (i =
|
3907
|
+
77775 && (i = oe(
|
3907
3908
|
/*sliderdata*/
|
3908
3909
|
s[9]
|
3909
|
-
), t =
|
3910
|
+
), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, jt, n, Ot));
|
3910
3911
|
},
|
3911
3912
|
d(s) {
|
3912
3913
|
s && D(n);
|
@@ -3915,14 +3916,14 @@ function Ft(e) {
|
|
3915
3916
|
}
|
3916
3917
|
};
|
3917
3918
|
}
|
3918
|
-
function
|
3919
|
+
function eo(e) {
|
3919
3920
|
let t, r = (
|
3920
3921
|
/*category*/
|
3921
3922
|
e[48].name + ""
|
3922
3923
|
), n;
|
3923
3924
|
return {
|
3924
3925
|
c() {
|
3925
|
-
t =
|
3926
|
+
t = P("button"), n = Ee(r), H(t, "class", "CategoryButton");
|
3926
3927
|
},
|
3927
3928
|
m(i, o) {
|
3928
3929
|
G(i, t, o), B(t, n);
|
@@ -3930,21 +3931,21 @@ function Ki(e) {
|
|
3930
3931
|
p(i, o) {
|
3931
3932
|
o[0] & /*sliderdata*/
|
3932
3933
|
512 && r !== (r = /*category*/
|
3933
|
-
i[48].name + "") &&
|
3934
|
+
i[48].name + "") && ot(n, r);
|
3934
3935
|
},
|
3935
3936
|
d(i) {
|
3936
3937
|
i && D(t);
|
3937
3938
|
}
|
3938
3939
|
};
|
3939
3940
|
}
|
3940
|
-
function
|
3941
|
+
function to(e) {
|
3941
3942
|
let t, r = (
|
3942
3943
|
/*category*/
|
3943
3944
|
e[48].label + ""
|
3944
3945
|
), n, i;
|
3945
3946
|
return {
|
3946
3947
|
c() {
|
3947
|
-
t =
|
3948
|
+
t = P("a"), n = Ee(r), H(t, "href", i = /*category*/
|
3948
3949
|
e[48].path);
|
3949
3950
|
},
|
3950
3951
|
m(o, s) {
|
@@ -3953,24 +3954,24 @@ function eo(e) {
|
|
3953
3954
|
p(o, s) {
|
3954
3955
|
s[0] & /*sliderdata*/
|
3955
3956
|
512 && r !== (r = /*category*/
|
3956
|
-
o[48].label + "") &&
|
3957
|
+
o[48].label + "") && ot(n, r), s[0] & /*sliderdata*/
|
3957
3958
|
512 && i !== (i = /*category*/
|
3958
|
-
o[48].path) &&
|
3959
|
+
o[48].path) && H(t, "href", i);
|
3959
3960
|
},
|
3960
3961
|
d(o) {
|
3961
3962
|
o && D(t);
|
3962
3963
|
}
|
3963
3964
|
};
|
3964
3965
|
}
|
3965
|
-
function
|
3966
|
+
function Dt(e) {
|
3966
3967
|
let t, r = (
|
3967
3968
|
/*subGroupsData*/
|
3968
3969
|
e[10].length > 0 && /*showsubgroups*/
|
3969
|
-
e[2] == "true" &&
|
3970
|
+
e[2] == "true" && Ut(e)
|
3970
3971
|
);
|
3971
3972
|
return {
|
3972
3973
|
c() {
|
3973
|
-
r && r.c(), t =
|
3974
|
+
r && r.c(), t = be();
|
3974
3975
|
},
|
3975
3976
|
m(n, i) {
|
3976
3977
|
r && r.m(n, i), G(n, t, i);
|
@@ -3978,26 +3979,26 @@ function Rt(e) {
|
|
3978
3979
|
p(n, i) {
|
3979
3980
|
/*subGroupsData*/
|
3980
3981
|
n[10].length > 0 && /*showsubgroups*/
|
3981
|
-
n[2] == "true" ? r ? r.p(n, i) : (r =
|
3982
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = Ut(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3982
3983
|
},
|
3983
3984
|
d(n) {
|
3984
3985
|
n && D(t), r && r.d(n);
|
3985
3986
|
}
|
3986
3987
|
};
|
3987
3988
|
}
|
3988
|
-
function
|
3989
|
-
let t, r =
|
3989
|
+
function Ut(e) {
|
3990
|
+
let t, r = oe(
|
3990
3991
|
/*subGroupsData*/
|
3991
3992
|
e[10]
|
3992
3993
|
), n = [];
|
3993
3994
|
for (let i = 0; i < r.length; i += 1)
|
3994
|
-
n[i] =
|
3995
|
+
n[i] = $t(Lt(e, r, i));
|
3995
3996
|
return {
|
3996
3997
|
c() {
|
3997
|
-
t =
|
3998
|
+
t = P("ul");
|
3998
3999
|
for (let i = 0; i < n.length; i += 1)
|
3999
4000
|
n[i].c();
|
4000
|
-
|
4001
|
+
H(t, "class", "DropDown");
|
4001
4002
|
},
|
4002
4003
|
m(i, o) {
|
4003
4004
|
G(i, t, o);
|
@@ -4007,14 +4008,14 @@ function Dt(e) {
|
|
4007
4008
|
p(i, o) {
|
4008
4009
|
if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
4009
4010
|
10176) {
|
4010
|
-
r =
|
4011
|
+
r = oe(
|
4011
4012
|
/*subGroupsData*/
|
4012
4013
|
i[10]
|
4013
4014
|
);
|
4014
4015
|
let s;
|
4015
4016
|
for (s = 0; s < r.length; s += 1) {
|
4016
|
-
const a =
|
4017
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
4017
|
+
const a = Lt(i, r, s);
|
4018
|
+
n[s] ? n[s].p(a, o) : (n[s] = $t(a), n[s].c(), n[s].m(t, null));
|
4018
4019
|
}
|
4019
4020
|
for (; s < n.length; s += 1)
|
4020
4021
|
n[s].d(1);
|
@@ -4022,11 +4023,11 @@ function Dt(e) {
|
|
4022
4023
|
}
|
4023
4024
|
},
|
4024
4025
|
d(i) {
|
4025
|
-
i && D(t),
|
4026
|
+
i && D(t), jr(n, i);
|
4026
4027
|
}
|
4027
4028
|
};
|
4028
4029
|
}
|
4029
|
-
function
|
4030
|
+
function Gt(e) {
|
4030
4031
|
var h;
|
4031
4032
|
let t, r, n = (
|
4032
4033
|
/*subGroupItem*/
|
@@ -4050,7 +4051,7 @@ function Ut(e) {
|
|
4050
4051
|
}
|
4051
4052
|
return {
|
4052
4053
|
c() {
|
4053
|
-
t =
|
4054
|
+
t = P("li"), r = P("a"), i = Ee(n), s = J(), H(r, "class", o = "SubDropDown " + /*index*/
|
4054
4055
|
(e[50] == /*activeIndex*/
|
4055
4056
|
e[6] && /*activeSubIndex*/
|
4056
4057
|
(e[7] == /*subindex*/
|
@@ -4065,31 +4066,31 @@ function Ut(e) {
|
|
4065
4066
|
var p;
|
4066
4067
|
e = m, f[0] & /*subGroupsData*/
|
4067
4068
|
1024 && n !== (n = /*subGroupItem*/
|
4068
|
-
((p = e[54]) == null ? void 0 : p.name) + "") &&
|
4069
|
+
((p = e[54]) == null ? void 0 : p.name) + "") && ot(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4069
4070
|
1984 && o !== (o = "SubDropDown " + /*index*/
|
4070
4071
|
(e[50] == /*activeIndex*/
|
4071
4072
|
e[6] && /*activeSubIndex*/
|
4072
4073
|
(e[7] == /*subindex*/
|
4073
4074
|
e[56] || /*prevSubIndex*/
|
4074
4075
|
e[8] == /*subindex*/
|
4075
|
-
e[56]) ? "active" : "")) &&
|
4076
|
+
e[56]) ? "active" : "")) && H(r, "class", o);
|
4076
4077
|
},
|
4077
4078
|
d(m) {
|
4078
4079
|
m && D(t), a = !1, u();
|
4079
4080
|
}
|
4080
4081
|
};
|
4081
4082
|
}
|
4082
|
-
function
|
4083
|
+
function kt(e, t) {
|
4083
4084
|
let r, n, i = (
|
4084
4085
|
/*index*/
|
4085
4086
|
t[50] == /*subGroup*/
|
4086
|
-
t[51].index &&
|
4087
|
+
t[51].index && Gt(t)
|
4087
4088
|
);
|
4088
4089
|
return {
|
4089
4090
|
key: e,
|
4090
4091
|
first: null,
|
4091
4092
|
c() {
|
4092
|
-
r =
|
4093
|
+
r = be(), i && i.c(), n = be(), this.first = r;
|
4093
4094
|
},
|
4094
4095
|
m(o, s) {
|
4095
4096
|
G(o, r, s), i && i.m(o, s), G(o, n, s);
|
@@ -4097,15 +4098,15 @@ function Gt(e, t) {
|
|
4097
4098
|
p(o, s) {
|
4098
4099
|
t = o, /*index*/
|
4099
4100
|
t[50] == /*subGroup*/
|
4100
|
-
t[51].index ? i ? i.p(t, s) : (i =
|
4101
|
+
t[51].index ? i ? i.p(t, s) : (i = Gt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4101
4102
|
},
|
4102
4103
|
d(o) {
|
4103
4104
|
o && (D(r), D(n)), i && i.d(o);
|
4104
4105
|
}
|
4105
4106
|
};
|
4106
4107
|
}
|
4107
|
-
function
|
4108
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
4108
|
+
function $t(e) {
|
4109
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = oe(
|
4109
4110
|
/*subGroup*/
|
4110
4111
|
e[51].items
|
4111
4112
|
);
|
@@ -4114,14 +4115,14 @@ function kt(e) {
|
|
4114
4115
|
s[54].id
|
4115
4116
|
);
|
4116
4117
|
for (let s = 0; s < i.length; s += 1) {
|
4117
|
-
let a =
|
4118
|
-
r.set(u, t[s] =
|
4118
|
+
let a = Ft(e, i, s), u = o(a);
|
4119
|
+
r.set(u, t[s] = kt(u, a));
|
4119
4120
|
}
|
4120
4121
|
return {
|
4121
4122
|
c() {
|
4122
4123
|
for (let s = 0; s < t.length; s += 1)
|
4123
4124
|
t[s].c();
|
4124
|
-
n =
|
4125
|
+
n = be();
|
4125
4126
|
},
|
4126
4127
|
m(s, a) {
|
4127
4128
|
for (let u = 0; u < t.length; u += 1)
|
@@ -4130,10 +4131,10 @@ function kt(e) {
|
|
4130
4131
|
},
|
4131
4132
|
p(s, a) {
|
4132
4133
|
a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
4133
|
-
10176 && (i =
|
4134
|
+
10176 && (i = oe(
|
4134
4135
|
/*subGroup*/
|
4135
4136
|
s[51].items
|
4136
|
-
), t =
|
4137
|
+
), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, kt, n, Ft));
|
4137
4138
|
},
|
4138
4139
|
d(s) {
|
4139
4140
|
s && D(n);
|
@@ -4142,12 +4143,12 @@ function kt(e) {
|
|
4142
4143
|
}
|
4143
4144
|
};
|
4144
4145
|
}
|
4145
|
-
function
|
4146
|
+
function jt(e, t) {
|
4146
4147
|
let r, n, i, o, s, a, u, l, h, m, f;
|
4147
|
-
function p(_,
|
4148
|
+
function p(_, E) {
|
4148
4149
|
return (
|
4149
4150
|
/*location*/
|
4150
|
-
_[0] === "headerMain" ?
|
4151
|
+
_[0] === "headerMain" ? to : eo
|
4151
4152
|
);
|
4152
4153
|
}
|
4153
4154
|
let g = p(t), b = g(t), d = (
|
@@ -4155,9 +4156,9 @@ function $t(e, t) {
|
|
4155
4156
|
t[11][
|
4156
4157
|
/*index*/
|
4157
4158
|
t[50]
|
4158
|
-
] == !0 &&
|
4159
|
+
] == !0 && Dt(t)
|
4159
4160
|
);
|
4160
|
-
function
|
4161
|
+
function C(..._) {
|
4161
4162
|
return (
|
4162
4163
|
/*click_handler_2*/
|
4163
4164
|
t[34](
|
@@ -4173,16 +4174,16 @@ function $t(e, t) {
|
|
4173
4174
|
key: e,
|
4174
4175
|
first: null,
|
4175
4176
|
c() {
|
4176
|
-
var _,
|
4177
|
-
r =
|
4178
|
-
(t[3] === "true" ? "" : "DisplayNone")),
|
4177
|
+
var _, E;
|
4178
|
+
r = P("li"), n = P("div"), i = P("img"), a = J(), b.c(), u = J(), d && d.c(), l = J(), H(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
|
4179
|
+
(t[3] === "true" ? "" : "DisplayNone")), bt(i.src, s = /*handleSrc*/
|
4179
4180
|
t[16](
|
4180
4181
|
/*category*/
|
4181
4182
|
t[48]
|
4182
|
-
)) ||
|
4183
|
+
)) || H(i, "src", s), H(n, "class", "CategoryIcon"), H(r, "class", h = "CarouselItem " + /*activeindex*/
|
4183
4184
|
(((_ = t[1]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
|
4184
4185
|
/*activeindex*/
|
4185
|
-
((
|
4186
|
+
((E = t[1]) == null ? void 0 : E.split("$").pop()) == /*category*/
|
4186
4187
|
t[48].id.split("$").pop() ? "active" : ""
|
4187
4188
|
) : (
|
4188
4189
|
/*activeindex*/
|
@@ -4191,25 +4192,25 @@ function $t(e, t) {
|
|
4191
4192
|
)) + " " + /*location*/
|
4192
4193
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4193
4194
|
},
|
4194
|
-
m(_,
|
4195
|
-
G(_, r,
|
4195
|
+
m(_, E) {
|
4196
|
+
G(_, r, E), 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", C), m = !0);
|
4196
4197
|
},
|
4197
|
-
p(_,
|
4198
|
-
var
|
4199
|
-
t = _,
|
4198
|
+
p(_, E) {
|
4199
|
+
var L, I;
|
4200
|
+
t = _, E[0] & /*categoriesicon*/
|
4200
4201
|
8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
|
4201
|
-
(t[3] === "true" ? "" : "DisplayNone")) &&
|
4202
|
-
512 && !
|
4202
|
+
(t[3] === "true" ? "" : "DisplayNone")) && H(i, "class", o), E[0] & /*sliderdata*/
|
4203
|
+
512 && !bt(i.src, s = /*handleSrc*/
|
4203
4204
|
t[16](
|
4204
4205
|
/*category*/
|
4205
4206
|
t[48]
|
4206
|
-
)) &&
|
4207
|
+
)) && H(i, "src", s), g === (g = p(t)) && b ? b.p(t, E) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
|
4207
4208
|
t[11][
|
4208
4209
|
/*index*/
|
4209
4210
|
t[50]
|
4210
|
-
] == !0 ? d ? d.p(t,
|
4211
|
+
] == !0 ? d ? d.p(t, E) : (d = Dt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), E[0] & /*activeindex, sliderdata, location*/
|
4211
4212
|
515 && h !== (h = "CarouselItem " + /*activeindex*/
|
4212
|
-
(((
|
4213
|
+
(((L = t[1]) == null ? void 0 : L.toString().indexOf("$")) > -1 ? (
|
4213
4214
|
/*activeindex*/
|
4214
4215
|
((I = t[1]) == null ? void 0 : I.split("$").pop()) == /*category*/
|
4215
4216
|
t[48].id.split("$").pop() ? "active" : ""
|
@@ -4218,27 +4219,27 @@ function $t(e, t) {
|
|
4218
4219
|
t[1] == /*category*/
|
4219
4220
|
t[48].id ? "active" : ""
|
4220
4221
|
)) + " " + /*location*/
|
4221
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
4222
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && H(r, "class", h);
|
4222
4223
|
},
|
4223
4224
|
d(_) {
|
4224
4225
|
_ && D(r), b.d(), d && d.d(), m = !1, f();
|
4225
4226
|
}
|
4226
4227
|
};
|
4227
4228
|
}
|
4228
|
-
function
|
4229
|
+
function ro(e) {
|
4229
4230
|
let t, r, n, i, o, s, a, u, l, h, m, f, p, g, b, d = (
|
4230
4231
|
/*sliderdata*/
|
4231
|
-
e[9].length > 0 &&
|
4232
|
+
e[9].length > 0 && Rt(e)
|
4232
4233
|
);
|
4233
4234
|
return {
|
4234
4235
|
c() {
|
4235
|
-
t =
|
4236
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
4237
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
4236
|
+
t = P("div"), r = P("div"), n = P("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = J(), o = P("div"), s = P("ul"), a = P("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = J(), d && d.c(), l = J(), h = P("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>', H(n, "class", "CarouselLeftArrow"), H(a, "class", "TouchOnly"), H(s, "id", "CarouselNav"), H(s, "class", "CarouselItems"), H(o, "class", "CarouselNavWrap scroller"), H(h, "class", "CarouselRightArrow"), H(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4237
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), H(r, "style", f = /*location*/
|
4238
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), H(t, "class", p = "CarouselWrapper " + /*location*/
|
4238
4239
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4239
4240
|
},
|
4240
|
-
m(
|
4241
|
-
G(
|
4241
|
+
m(C, _) {
|
4242
|
+
G(C, 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 = [
|
4242
4243
|
Be(
|
4243
4244
|
n,
|
4244
4245
|
"click",
|
@@ -4253,173 +4254,173 @@ function to(e) {
|
|
4253
4254
|
)
|
4254
4255
|
], g = !0);
|
4255
4256
|
},
|
4256
|
-
p(
|
4257
|
+
p(C, _) {
|
4257
4258
|
/*sliderdata*/
|
4258
|
-
|
4259
|
+
C[9].length > 0 ? d ? d.p(C, _) : (d = Rt(C), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
|
4259
4260
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4260
|
-
|
4261
|
+
C[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && H(r, "class", m), _[0] & /*location*/
|
4261
4262
|
1 && f !== (f = /*location*/
|
4262
|
-
|
4263
|
+
C[0] === "headerMain" ? "max-width: auto" : void 0) && H(r, "style", f), _[0] & /*location*/
|
4263
4264
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4264
|
-
(
|
4265
|
+
(C[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && H(t, "class", p);
|
4265
4266
|
},
|
4266
4267
|
i: k,
|
4267
4268
|
o: k,
|
4268
|
-
d(
|
4269
|
-
|
4269
|
+
d(C) {
|
4270
|
+
C && D(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, Y(b);
|
4270
4271
|
}
|
4271
4272
|
};
|
4272
4273
|
}
|
4273
|
-
function
|
4274
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups:
|
4275
|
-
|
4274
|
+
function no(e, t, r) {
|
4275
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: C = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: E = "" } = t, { mygamesiconimage: L = "" } = t, { mbsource: I = "" } = t;
|
4276
|
+
Ji({ withLocale: "en", translations: {} });
|
4276
4277
|
const $ = () => {
|
4277
|
-
fetch(f).then((
|
4278
|
-
Object.keys(
|
4279
|
-
|
4278
|
+
fetch(f).then((x) => x.json()).then((x) => {
|
4279
|
+
Object.keys(x).forEach((F) => {
|
4280
|
+
Nt(F, x[F]);
|
4280
4281
|
});
|
4281
|
-
}).catch((
|
4282
|
-
console.log(
|
4282
|
+
}).catch((x) => {
|
4283
|
+
console.log(x);
|
4283
4284
|
});
|
4284
4285
|
};
|
4285
|
-
Object.keys(
|
4286
|
-
|
4286
|
+
Object.keys(Pt).forEach((c) => {
|
4287
|
+
Nt(c, Pt[c]);
|
4287
4288
|
});
|
4288
|
-
let w, M,
|
4289
|
-
var
|
4290
|
-
if (!(c.subGroups &&
|
4291
|
-
if (
|
4289
|
+
let w, M, O, X, V, me = [], xe = [], ee = [], N, De = (c, x, F, Q, W) => {
|
4290
|
+
var q;
|
4291
|
+
if (!(c.subGroups && Q === null)) {
|
4292
|
+
if (we(), r(6, M = x), r(6, M), W != "secondary") {
|
4292
4293
|
window.postMessage(
|
4293
4294
|
{
|
4294
4295
|
type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
4295
4296
|
buzz: "1",
|
4296
4297
|
itemId: c.id,
|
4297
|
-
index:
|
4298
|
+
index: x,
|
4298
4299
|
item: c,
|
4299
4300
|
path: c.path,
|
4300
4301
|
externalLink: c.externalLink || !1,
|
4301
|
-
target: ((
|
4302
|
+
target: ((q = c.attrs) == null ? void 0 : q.target) || null
|
4302
4303
|
},
|
4303
4304
|
window.location.href
|
4304
|
-
), r(7,
|
4305
|
+
), r(7, O = null), r(8, X = null);
|
4305
4306
|
return;
|
4306
4307
|
}
|
4307
|
-
r(7,
|
4308
|
+
r(7, O = Q), r(7, O), r(8, X = O), window.postMessage(
|
4308
4309
|
{
|
4309
4310
|
type: s,
|
4310
4311
|
itemId: F.id,
|
4311
|
-
subIndex:
|
4312
|
+
subIndex: Q,
|
4312
4313
|
subItem: F
|
4313
4314
|
},
|
4314
4315
|
window.location.href
|
4315
4316
|
);
|
4316
4317
|
}
|
4317
|
-
}, at = () => {
|
4318
|
-
N && (K.length !== M ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4319
4318
|
}, lt = () => {
|
4320
|
-
N && (
|
4319
|
+
N && (ee.length !== M ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4320
|
+
}, ut = () => {
|
4321
|
+
N && (ee.length !== M ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
|
4321
4322
|
};
|
4322
|
-
const
|
4323
|
-
c.data.type == "SliderData" && c.data.identity == m && (r(9,
|
4324
|
-
|
4323
|
+
const ht = (c) => {
|
4324
|
+
c.data.type == "SliderData" && c.data.identity == m && (r(9, me = c.data.data), r(11, ee = new Array(me.length).fill(!1)), C == "true" && xr()), c.data.type == "GoToHomepage" && me.forEach((x, F) => {
|
4325
|
+
x.path.endsWith("/casino") && (r(6, M = F), r(6, M));
|
4325
4326
|
});
|
4326
|
-
},
|
4327
|
-
|
4328
|
-
},
|
4327
|
+
}, _r = () => {
|
4328
|
+
Yi(b);
|
4329
|
+
}, Er = (c, x, F) => {
|
4329
4330
|
if (u == "secondaryMenu" && n && i && b && c.id) {
|
4330
|
-
let
|
4331
|
-
fetch(
|
4332
|
-
|
4331
|
+
let Q = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
|
4332
|
+
fetch(Q.href).then((W) => W.json()).then((W) => {
|
4333
|
+
W.index = x, r(10, xe = xe.concat(W)), C == "false" && window.postMessage(
|
4333
4334
|
{
|
4334
4335
|
type: s,
|
4335
4336
|
itemId: c.id,
|
4336
|
-
index:
|
4337
|
+
index: x,
|
4337
4338
|
item: c
|
4338
4339
|
},
|
4339
4340
|
window.location.href
|
4340
4341
|
);
|
4341
|
-
const
|
4342
|
-
|
4343
|
-
|
4344
|
-
}),
|
4342
|
+
const q = [];
|
4343
|
+
xe.map((Mr) => (Mr.items.forEach((ct) => {
|
4344
|
+
q.find((Nr) => ct.id == Nr) || q.push(ct.id);
|
4345
|
+
}), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
|
4345
4346
|
}).then(() => {
|
4346
|
-
w.querySelectorAll(".DropDown") &&
|
4347
|
+
w.querySelectorAll(".DropDown") && we();
|
4347
4348
|
});
|
4348
4349
|
}
|
4349
4350
|
u == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
|
4350
|
-
},
|
4351
|
+
}, we = () => {
|
4351
4352
|
const c = w.querySelectorAll(".DropDown");
|
4352
4353
|
document.activeElement.blur(), N.classList.add("isScrolling");
|
4353
|
-
for (let
|
4354
|
-
c[
|
4354
|
+
for (let x = 0; x < c.length; x++)
|
4355
|
+
c[x].style.transform = "translateX(-" + N.scrollLeft + "px)";
|
4355
4356
|
N.classList.remove("isScrolling");
|
4356
|
-
},
|
4357
|
-
|
4357
|
+
}, xr = () => {
|
4358
|
+
me.forEach((c, x) => {
|
4358
4359
|
var F;
|
4359
|
-
((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11,
|
4360
|
+
((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11, ee[x] = !0, ee), Er(c, x));
|
4360
4361
|
});
|
4361
|
-
},
|
4362
|
-
let
|
4363
|
-
return c.id === "LOBBY" ?
|
4362
|
+
}, wr = (c) => {
|
4363
|
+
let x = "";
|
4364
|
+
return c.id === "LOBBY" ? x = E : c.id === "MYGAMES" && (x = L), c.icon || x;
|
4364
4365
|
};
|
4365
|
-
|
4366
|
+
zr(() => (window.addEventListener("message", ht, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4366
4367
|
() => {
|
4367
|
-
N.addEventListener("scroll",
|
4368
|
+
N.addEventListener("scroll", we);
|
4368
4369
|
},
|
4369
4370
|
500
|
4370
4371
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4371
|
-
window.removeEventListener("message",
|
4372
|
+
window.removeEventListener("message", ht), w.removeEventListener("scroll", we);
|
4372
4373
|
}));
|
4373
|
-
const Cr = () =>
|
4374
|
-
|
4375
|
-
},
|
4376
|
-
|
4374
|
+
const Cr = () => lt(), Hr = (c, x, F, Q, W) => {
|
4375
|
+
De(c, x, F, Q, "secondary"), W.stopPropagation();
|
4376
|
+
}, Sr = (c, x, F) => {
|
4377
|
+
De(c, x, null, null, "main"), F.preventDefault();
|
4377
4378
|
};
|
4378
|
-
function
|
4379
|
-
|
4379
|
+
function Tr(c) {
|
4380
|
+
ge[c ? "unshift" : "push"](() => {
|
4380
4381
|
w = c, r(5, w);
|
4381
4382
|
});
|
4382
4383
|
}
|
4383
|
-
function
|
4384
|
-
|
4384
|
+
function Ar(c) {
|
4385
|
+
ge[c ? "unshift" : "push"](() => {
|
4385
4386
|
N = c, r(12, N);
|
4386
4387
|
});
|
4387
4388
|
}
|
4388
|
-
const
|
4389
|
-
function
|
4390
|
-
|
4391
|
-
|
4389
|
+
const Br = () => ut();
|
4390
|
+
function Ir(c) {
|
4391
|
+
ge[c ? "unshift" : "push"](() => {
|
4392
|
+
V = c, r(4, V);
|
4392
4393
|
});
|
4393
4394
|
}
|
4394
4395
|
return e.$$set = (c) => {
|
4395
|
-
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2,
|
4396
|
+
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, C = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, E = c.lobbyiconimage), "mygamesiconimage" in c && r(30, L = c.mygamesiconimage), "mbsource" in c && r(31, I = c.mbsource);
|
4396
4397
|
}, e.$$.update = () => {
|
4397
4398
|
e.$$.dirty[0] & /*activeindex*/
|
4398
4399
|
2, e.$$.dirty[0] & /*translationurl*/
|
4399
4400
|
33554432 && f && $(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4400
|
-
4194320 && l &&
|
4401
|
-
8388624 && h &&
|
4401
|
+
4194320 && l && V && an(V, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4402
|
+
8388624 && h && V && ln(V, h), e.$$.dirty[0] & /*customStylingContainer*/
|
4402
4403
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4403
|
-
1 && I &&
|
4404
|
-
268435456 && b &&
|
4404
|
+
1 && I && V && un(V, `${I}.Style`), e.$$.dirty[0] & /*lang*/
|
4405
|
+
268435456 && b && _r();
|
4405
4406
|
}, [
|
4406
4407
|
u,
|
4407
4408
|
d,
|
4408
|
-
|
4409
|
+
C,
|
4409
4410
|
_,
|
4410
|
-
|
4411
|
+
V,
|
4411
4412
|
w,
|
4412
4413
|
M,
|
4413
|
-
|
4414
|
-
|
4415
|
-
|
4416
|
-
|
4417
|
-
|
4414
|
+
O,
|
4415
|
+
X,
|
4416
|
+
me,
|
4417
|
+
xe,
|
4418
|
+
ee,
|
4418
4419
|
N,
|
4419
|
-
|
4420
|
-
at,
|
4420
|
+
De,
|
4421
4421
|
lt,
|
4422
|
-
|
4422
|
+
ut,
|
4423
|
+
wr,
|
4423
4424
|
n,
|
4424
4425
|
i,
|
4425
4426
|
o,
|
@@ -4432,26 +4433,26 @@ function ro(e, t, r) {
|
|
4432
4433
|
p,
|
4433
4434
|
g,
|
4434
4435
|
b,
|
4435
|
-
|
4436
|
-
|
4436
|
+
E,
|
4437
|
+
L,
|
4437
4438
|
I,
|
4438
4439
|
Cr,
|
4439
|
-
wr,
|
4440
4440
|
Hr,
|
4441
4441
|
Sr,
|
4442
4442
|
Tr,
|
4443
4443
|
Ar,
|
4444
|
-
Br
|
4444
|
+
Br,
|
4445
|
+
Ir
|
4445
4446
|
];
|
4446
4447
|
}
|
4447
|
-
class
|
4448
|
+
class io extends on {
|
4448
4449
|
constructor(t) {
|
4449
|
-
super(),
|
4450
|
+
super(), rn(
|
4450
4451
|
this,
|
4451
4452
|
t,
|
4453
|
+
no,
|
4452
4454
|
ro,
|
4453
|
-
|
4454
|
-
Vt,
|
4455
|
+
Xt,
|
4455
4456
|
{
|
4456
4457
|
endpoint: 17,
|
4457
4458
|
datasource: 18,
|
@@ -4473,7 +4474,7 @@ class no extends nn {
|
|
4473
4474
|
mygamesiconimage: 30,
|
4474
4475
|
mbsource: 31
|
4475
4476
|
},
|
4476
|
-
|
4477
|
+
Ki,
|
4477
4478
|
[-1, -1]
|
4478
4479
|
);
|
4479
4480
|
}
|
@@ -4592,7 +4593,7 @@ class no extends nn {
|
|
4592
4593
|
this.$$set({ mbsource: t }), A();
|
4593
4594
|
}
|
4594
4595
|
}
|
4595
|
-
|
4596
|
+
nn(io, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4596
4597
|
export {
|
4597
|
-
|
4598
|
+
io as default
|
4598
4599
|
};
|