@everymatrix/casino-slider 1.74.2 → 1.74.4
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-B7m3YqGa.js → CasinoSlider-5lZXuYHt.js} +1210 -1151
- package/components/{CasinoSlider-CPOaJyYS.js → CasinoSlider-CMPyMc_g.js} +924 -866
- package/components/CasinoSlider-CeKQcPVb.cjs +16 -0
- package/es2015/casino-slider.cjs +1 -1
- package/es2015/casino-slider.js +1 -1
- package/esnext/casino-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-CrkuJukb.cjs +0 -16
@@ -1,76 +1,76 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var kr = Object.defineProperty, $r = Object.defineProperties;
|
2
|
+
var jr = Object.getOwnPropertyDescriptors;
|
3
|
+
var pt = Object.getOwnPropertySymbols;
|
4
|
+
var Vr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ge = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Vr.call(t, r) && Ge(e, r, t[r]);
|
8
|
+
if (pt)
|
9
|
+
for (var r of pt(t))
|
10
|
+
Xr.call(t, r) && Ge(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var
|
14
|
-
var
|
15
|
-
var
|
12
|
+
}, bt = (e, t) => $r(e, jr(t));
|
13
|
+
var G = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var yt = (e, t, r) => new Promise((n, i) => {
|
15
|
+
var s = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
18
18
|
} catch (l) {
|
19
19
|
i(l);
|
20
20
|
}
|
21
|
-
},
|
21
|
+
}, o = (u) => {
|
22
22
|
try {
|
23
23
|
a(r.throw(u));
|
24
24
|
} catch (l) {
|
25
25
|
i(l);
|
26
26
|
}
|
27
|
-
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(
|
27
|
+
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, o);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
-
function
|
30
|
+
function $() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function zt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function vt() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
|
-
function
|
39
|
-
e.forEach(
|
38
|
+
function Y(e) {
|
39
|
+
e.forEach(zt);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function ot(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function Zt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
|
-
let
|
48
|
-
function
|
49
|
-
return e === t ? !0 : (
|
47
|
+
let Se;
|
48
|
+
function _t(e, t) {
|
49
|
+
return e === t ? !0 : (Se || (Se = document.createElement("a")), Se.href = t, e === Se.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function Wr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function zr(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
58
|
-
return
|
58
|
+
return $;
|
59
59
|
}
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
63
|
+
function M(e, t) {
|
64
64
|
e.appendChild(t);
|
65
65
|
}
|
66
|
-
function
|
67
|
-
const n =
|
66
|
+
function Zr(e, t, r) {
|
67
|
+
const n = Qr(e);
|
68
68
|
if (!n.getElementById(t)) {
|
69
|
-
const i =
|
70
|
-
i.id = t, i.textContent = r,
|
69
|
+
const i = P("style");
|
70
|
+
i.id = t, i.textContent = r, qr(n, i);
|
71
71
|
}
|
72
72
|
}
|
73
|
-
function
|
73
|
+
function Qr(e) {
|
74
74
|
if (!e)
|
75
75
|
return document;
|
76
76
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -80,49 +80,54 @@ function kr(e) {
|
|
80
80
|
t
|
81
81
|
) : e.ownerDocument;
|
82
82
|
}
|
83
|
-
function
|
84
|
-
return
|
83
|
+
function qr(e, t) {
|
84
|
+
return M(
|
85
85
|
/** @type {Document} */
|
86
86
|
e.head || e,
|
87
87
|
t
|
88
88
|
), t.sheet;
|
89
89
|
}
|
90
|
-
function
|
90
|
+
function k(e, t, r) {
|
91
91
|
e.insertBefore(t, r || null);
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function U(e) {
|
94
94
|
e.parentNode && e.parentNode.removeChild(e);
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function Jr(e, t) {
|
97
97
|
for (let r = 0; r < e.length; r += 1)
|
98
98
|
e[r] && e[r].d(t);
|
99
99
|
}
|
100
|
-
function
|
100
|
+
function P(e) {
|
101
101
|
return document.createElement(e);
|
102
102
|
}
|
103
|
-
function
|
103
|
+
function Ce(e) {
|
104
104
|
return document.createTextNode(e);
|
105
105
|
}
|
106
|
-
function
|
107
|
-
return
|
106
|
+
function J() {
|
107
|
+
return Ce(" ");
|
108
108
|
}
|
109
|
-
function
|
110
|
-
return
|
109
|
+
function ve() {
|
110
|
+
return Ce("");
|
111
111
|
}
|
112
|
-
function
|
112
|
+
function V(e, t, r, n) {
|
113
113
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function Yr(e) {
|
116
|
+
return function(t) {
|
117
|
+
return t.preventDefault(), e.call(this, t);
|
118
|
+
};
|
119
|
+
}
|
120
|
+
function T(e, t, r) {
|
116
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
117
122
|
}
|
118
|
-
function
|
123
|
+
function Kr(e) {
|
119
124
|
return Array.from(e.childNodes);
|
120
125
|
}
|
121
|
-
function
|
126
|
+
function st(e, t) {
|
122
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
123
128
|
t);
|
124
129
|
}
|
125
|
-
function
|
130
|
+
function en(e) {
|
126
131
|
const t = {};
|
127
132
|
return e.childNodes.forEach(
|
128
133
|
/** @param {Element} node */
|
@@ -131,128 +136,132 @@ function Xr(e) {
|
|
131
136
|
}
|
132
137
|
), t;
|
133
138
|
}
|
134
|
-
let
|
135
|
-
function
|
136
|
-
|
139
|
+
let _e;
|
140
|
+
function be(e) {
|
141
|
+
_e = e;
|
137
142
|
}
|
138
|
-
function
|
139
|
-
if (!
|
143
|
+
function tn() {
|
144
|
+
if (!_e)
|
140
145
|
throw new Error("Function called outside component initialization");
|
141
|
-
return
|
146
|
+
return _e;
|
142
147
|
}
|
143
|
-
function
|
144
|
-
|
148
|
+
function rn(e) {
|
149
|
+
tn().$$.on_mount.push(e);
|
145
150
|
}
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
let Xe = !1;
|
150
|
-
function Qr() {
|
151
|
-
Xe || (Xe = !0, Zr.then(A));
|
151
|
+
function nn(e, t) {
|
152
|
+
const r = e.$$.callbacks[t.type];
|
153
|
+
r && r.slice().forEach((n) => n.call(this, t));
|
152
154
|
}
|
153
|
-
|
154
|
-
|
155
|
+
const ie = [], ye = [];
|
156
|
+
let oe = [];
|
157
|
+
const Et = [], on = /* @__PURE__ */ Promise.resolve();
|
158
|
+
let Ze = !1;
|
159
|
+
function sn() {
|
160
|
+
Ze || (Ze = !0, on.then(B));
|
161
|
+
}
|
162
|
+
function Qe(e) {
|
163
|
+
oe.push(e);
|
155
164
|
}
|
156
|
-
const
|
157
|
-
let
|
158
|
-
function
|
159
|
-
if (
|
165
|
+
const ke = /* @__PURE__ */ new Set();
|
166
|
+
let re = 0;
|
167
|
+
function B() {
|
168
|
+
if (re !== 0)
|
160
169
|
return;
|
161
|
-
const e =
|
170
|
+
const e = _e;
|
162
171
|
do {
|
163
172
|
try {
|
164
|
-
for (;
|
165
|
-
const t = re
|
166
|
-
|
173
|
+
for (; re < ie.length; ) {
|
174
|
+
const t = ie[re];
|
175
|
+
re++, be(t), an(t.$$);
|
167
176
|
}
|
168
177
|
} catch (t) {
|
169
|
-
throw
|
178
|
+
throw ie.length = 0, re = 0, t;
|
170
179
|
}
|
171
|
-
for (
|
172
|
-
|
173
|
-
for (let t = 0; t <
|
174
|
-
const r =
|
175
|
-
|
180
|
+
for (be(null), ie.length = 0, re = 0; ye.length; )
|
181
|
+
ye.pop()();
|
182
|
+
for (let t = 0; t < oe.length; t += 1) {
|
183
|
+
const r = oe[t];
|
184
|
+
ke.has(r) || (ke.add(r), r());
|
176
185
|
}
|
177
|
-
|
178
|
-
} while (
|
179
|
-
for (;
|
180
|
-
|
181
|
-
|
186
|
+
oe.length = 0;
|
187
|
+
} while (ie.length);
|
188
|
+
for (; Et.length; )
|
189
|
+
Et.pop()();
|
190
|
+
Ze = !1, ke.clear(), be(e);
|
182
191
|
}
|
183
|
-
function
|
192
|
+
function an(e) {
|
184
193
|
if (e.fragment !== null) {
|
185
|
-
e.update(),
|
194
|
+
e.update(), Y(e.before_update);
|
186
195
|
const t = e.dirty;
|
187
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
196
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
188
197
|
}
|
189
198
|
}
|
190
|
-
function
|
199
|
+
function ln(e) {
|
191
200
|
const t = [], r = [];
|
192
|
-
|
201
|
+
oe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), oe = t;
|
193
202
|
}
|
194
|
-
const
|
195
|
-
function
|
196
|
-
e && e.i && (
|
203
|
+
const un = /* @__PURE__ */ new Set();
|
204
|
+
function Qt(e, t) {
|
205
|
+
e && e.i && (un.delete(e), e.i(t));
|
197
206
|
}
|
198
|
-
function
|
207
|
+
function se(e) {
|
199
208
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
200
209
|
}
|
201
|
-
function
|
210
|
+
function qt(e, t) {
|
202
211
|
e.d(1), t.delete(e.key);
|
203
212
|
}
|
204
|
-
function
|
205
|
-
let f = e.length, p =
|
213
|
+
function Jt(e, t, r, n, i, s, o, a, u, l, c, m) {
|
214
|
+
let f = e.length, p = s.length, g = f;
|
206
215
|
const b = {};
|
207
216
|
for (; g--; )
|
208
217
|
b[e[g].key] = g;
|
209
|
-
const d = [], H = /* @__PURE__ */ new Map(),
|
218
|
+
const d = [], H = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), w = [];
|
210
219
|
for (g = p; g--; ) {
|
211
|
-
const
|
212
|
-
let
|
213
|
-
|
220
|
+
const S = m(i, s, g), R = r(S);
|
221
|
+
let D = o.get(R);
|
222
|
+
D ? w.push(() => D.p(S, t)) : (D = l(R, S), D.c()), H.set(R, d[g] = D), R in b && E.set(R, Math.abs(g - b[R]));
|
214
223
|
}
|
215
|
-
const O = /* @__PURE__ */ new Set(),
|
216
|
-
function
|
217
|
-
|
224
|
+
const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
225
|
+
function v(S) {
|
226
|
+
Qt(S, 1), S.m(a, c), o.set(S.key, S), c = S.first, p--;
|
218
227
|
}
|
219
228
|
for (; f && p; ) {
|
220
|
-
const
|
221
|
-
|
229
|
+
const S = d[p - 1], R = e[f - 1], D = S.key, ee = R.key;
|
230
|
+
S === R ? (c = S.first, f--, p--) : H.has(ee) ? !o.has(D) || O.has(D) ? v(S) : L.has(ee) ? f-- : E.get(D) > E.get(ee) ? (L.add(D), v(S)) : (O.add(ee), f--) : (u(R, o), f--);
|
222
231
|
}
|
223
232
|
for (; f--; ) {
|
224
|
-
const
|
225
|
-
H.has(
|
233
|
+
const S = e[f];
|
234
|
+
H.has(S.key) || u(S, o);
|
226
235
|
}
|
227
236
|
for (; p; )
|
228
|
-
|
229
|
-
return
|
237
|
+
v(d[p - 1]);
|
238
|
+
return Y(w), d;
|
230
239
|
}
|
231
|
-
function
|
240
|
+
function hn(e, t, r) {
|
232
241
|
const { fragment: n, after_update: i } = e.$$;
|
233
|
-
n && n.m(t, r),
|
234
|
-
const
|
235
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
236
|
-
}), i.forEach(
|
242
|
+
n && n.m(t, r), Qe(() => {
|
243
|
+
const s = e.$$.on_mount.map(zt).filter(ot);
|
244
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Y(s), e.$$.on_mount = [];
|
245
|
+
}), i.forEach(Qe);
|
237
246
|
}
|
238
|
-
function
|
247
|
+
function cn(e, t) {
|
239
248
|
const r = e.$$;
|
240
|
-
r.fragment !== null && (
|
249
|
+
r.fragment !== null && (ln(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
241
250
|
}
|
242
|
-
function
|
243
|
-
e.$$.dirty[0] === -1 && (
|
251
|
+
function fn(e, t) {
|
252
|
+
e.$$.dirty[0] === -1 && (ie.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
244
253
|
}
|
245
|
-
function
|
246
|
-
const u =
|
247
|
-
|
254
|
+
function mn(e, t, r, n, i, s, o = null, a = [-1]) {
|
255
|
+
const u = _e;
|
256
|
+
be(e);
|
248
257
|
const l = e.$$ = {
|
249
258
|
fragment: null,
|
250
259
|
ctx: [],
|
251
260
|
// state
|
252
|
-
props:
|
253
|
-
update:
|
261
|
+
props: s,
|
262
|
+
update: $,
|
254
263
|
not_equal: i,
|
255
|
-
bound:
|
264
|
+
bound: vt(),
|
256
265
|
// lifecycle
|
257
266
|
on_mount: [],
|
258
267
|
on_destroy: [],
|
@@ -261,48 +270,48 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
261
270
|
after_update: [],
|
262
271
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
263
272
|
// everything else
|
264
|
-
callbacks:
|
273
|
+
callbacks: vt(),
|
265
274
|
dirty: a,
|
266
275
|
skip_bound: !1,
|
267
276
|
root: t.target || u.$$.root
|
268
277
|
};
|
269
|
-
|
270
|
-
let
|
278
|
+
o && o(l.root);
|
279
|
+
let c = !1;
|
271
280
|
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
272
281
|
const g = p.length ? p[0] : f;
|
273
|
-
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g),
|
274
|
-
}) : [], l.update(),
|
282
|
+
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && fn(e, m)), f;
|
283
|
+
}) : [], l.update(), c = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
275
284
|
if (t.hydrate) {
|
276
|
-
const m =
|
277
|
-
l.fragment && l.fragment.l(m), m.forEach(
|
285
|
+
const m = Kr(t.target);
|
286
|
+
l.fragment && l.fragment.l(m), m.forEach(U);
|
278
287
|
} else
|
279
288
|
l.fragment && l.fragment.c();
|
280
|
-
t.intro &&
|
289
|
+
t.intro && Qt(e.$$.fragment), hn(e, t.target, t.anchor), B();
|
281
290
|
}
|
282
|
-
|
291
|
+
be(u);
|
283
292
|
}
|
284
|
-
let
|
285
|
-
typeof HTMLElement == "function" && (
|
293
|
+
let Yt;
|
294
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
286
295
|
constructor(t, r, n) {
|
287
296
|
super();
|
288
297
|
/** The Svelte component constructor */
|
289
|
-
|
298
|
+
G(this, "$$ctor");
|
290
299
|
/** Slots */
|
291
|
-
|
300
|
+
G(this, "$$s");
|
292
301
|
/** The Svelte component instance */
|
293
|
-
|
302
|
+
G(this, "$$c");
|
294
303
|
/** Whether or not the custom element is connected */
|
295
|
-
|
304
|
+
G(this, "$$cn", !1);
|
296
305
|
/** Component props data */
|
297
|
-
|
306
|
+
G(this, "$$d", {});
|
298
307
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
299
|
-
|
308
|
+
G(this, "$$r", !1);
|
300
309
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
301
|
-
|
310
|
+
G(this, "$$p_d", {});
|
302
311
|
/** @type {Record<string, Function[]>} Event listeners */
|
303
|
-
|
312
|
+
G(this, "$$l", {});
|
304
313
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
305
|
-
|
314
|
+
G(this, "$$l_u", /* @__PURE__ */ new Map());
|
306
315
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
307
316
|
}
|
308
317
|
addEventListener(t, r, n) {
|
@@ -319,42 +328,42 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
319
328
|
}
|
320
329
|
}
|
321
330
|
connectedCallback() {
|
322
|
-
return
|
331
|
+
return yt(this, null, function* () {
|
323
332
|
if (this.$$cn = !0, !this.$$c) {
|
324
|
-
let t = function(
|
333
|
+
let t = function(s) {
|
325
334
|
return () => {
|
326
|
-
let
|
335
|
+
let o;
|
327
336
|
return {
|
328
337
|
c: function() {
|
329
|
-
|
338
|
+
o = P("slot"), s !== "default" && T(o, "name", s);
|
330
339
|
},
|
331
340
|
/**
|
332
341
|
* @param {HTMLElement} target
|
333
342
|
* @param {HTMLElement} [anchor]
|
334
343
|
*/
|
335
|
-
m: function(l,
|
336
|
-
|
344
|
+
m: function(l, c) {
|
345
|
+
k(l, o, c);
|
337
346
|
},
|
338
347
|
d: function(l) {
|
339
|
-
l &&
|
348
|
+
l && U(o);
|
340
349
|
}
|
341
350
|
};
|
342
351
|
};
|
343
352
|
};
|
344
353
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
345
354
|
return;
|
346
|
-
const r = {}, n =
|
347
|
-
for (const
|
348
|
-
|
349
|
-
for (const
|
350
|
-
const
|
351
|
-
|
355
|
+
const r = {}, n = en(this);
|
356
|
+
for (const s of this.$$s)
|
357
|
+
s in n && (r[s] = [t(s)]);
|
358
|
+
for (const s of this.attributes) {
|
359
|
+
const o = this.$$g_p(s.name);
|
360
|
+
o in this.$$d || (this.$$d[o] = Ae(o, s.value, this.$$p_d, "toProp"));
|
352
361
|
}
|
353
|
-
for (const
|
354
|
-
!(
|
362
|
+
for (const s in this.$$p_d)
|
363
|
+
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
355
364
|
this.$$c = new this.$$ctor({
|
356
365
|
target: this.shadowRoot || this,
|
357
|
-
props:
|
366
|
+
props: bt(gt({}, this.$$d), {
|
358
367
|
$$slots: r,
|
359
368
|
$$scope: {
|
360
369
|
ctx: []
|
@@ -363,23 +372,23 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
363
372
|
});
|
364
373
|
const i = () => {
|
365
374
|
this.$$r = !0;
|
366
|
-
for (const
|
367
|
-
if (this.$$d[
|
368
|
-
const
|
369
|
-
|
370
|
-
this.$$d[
|
375
|
+
for (const s in this.$$p_d)
|
376
|
+
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
377
|
+
const o = Ae(
|
378
|
+
s,
|
379
|
+
this.$$d[s],
|
371
380
|
this.$$p_d,
|
372
381
|
"toAttribute"
|
373
382
|
);
|
374
|
-
|
383
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
375
384
|
}
|
376
385
|
this.$$r = !1;
|
377
386
|
};
|
378
387
|
this.$$c.$$.after_update.push(i), i();
|
379
|
-
for (const
|
380
|
-
for (const
|
381
|
-
const a = this.$$c.$on(
|
382
|
-
this.$$l_u.set(
|
388
|
+
for (const s in this.$$l)
|
389
|
+
for (const o of this.$$l[s]) {
|
390
|
+
const a = this.$$c.$on(s, o);
|
391
|
+
this.$$l_u.set(o, a);
|
383
392
|
}
|
384
393
|
this.$$l = {};
|
385
394
|
}
|
@@ -389,7 +398,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
389
398
|
// and setting attributes through setAttribute etc, this is helpful
|
390
399
|
attributeChangedCallback(t, r, n) {
|
391
400
|
var i;
|
392
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
401
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
393
402
|
}
|
394
403
|
disconnectedCallback() {
|
395
404
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -402,9 +411,9 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
402
411
|
) || t;
|
403
412
|
}
|
404
413
|
});
|
405
|
-
function
|
406
|
-
var
|
407
|
-
const i = (
|
414
|
+
function Ae(e, t, r, n) {
|
415
|
+
var s;
|
416
|
+
const i = (s = r[e]) == null ? void 0 : s.type;
|
408
417
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
409
418
|
return t;
|
410
419
|
if (n === "toAttribute")
|
@@ -432,8 +441,8 @@ function He(e, t, r, n) {
|
|
432
441
|
return t;
|
433
442
|
}
|
434
443
|
}
|
435
|
-
function
|
436
|
-
let
|
444
|
+
function dn(e, t, r, n, i, s) {
|
445
|
+
let o = class extends Yt {
|
437
446
|
constructor() {
|
438
447
|
super(e, r, i), this.$$p_d = t;
|
439
448
|
}
|
@@ -444,26 +453,26 @@ function nn(e, t, r, n, i, o) {
|
|
444
453
|
}
|
445
454
|
};
|
446
455
|
return Object.keys(t).forEach((a) => {
|
447
|
-
Object.defineProperty(
|
456
|
+
Object.defineProperty(o.prototype, a, {
|
448
457
|
get() {
|
449
458
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
450
459
|
},
|
451
460
|
set(u) {
|
452
461
|
var l;
|
453
|
-
u =
|
462
|
+
u = Ae(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
454
463
|
}
|
455
464
|
});
|
456
465
|
}), n.forEach((a) => {
|
457
|
-
Object.defineProperty(
|
466
|
+
Object.defineProperty(o.prototype, a, {
|
458
467
|
get() {
|
459
468
|
var u;
|
460
469
|
return (u = this.$$c) == null ? void 0 : u[a];
|
461
470
|
}
|
462
471
|
});
|
463
472
|
}), e.element = /** @type {any} */
|
464
|
-
|
473
|
+
o, o;
|
465
474
|
}
|
466
|
-
class
|
475
|
+
class pn {
|
467
476
|
constructor() {
|
468
477
|
/**
|
469
478
|
* ### PRIVATE API
|
@@ -472,7 +481,7 @@ class on {
|
|
472
481
|
*
|
473
482
|
* @type {any}
|
474
483
|
*/
|
475
|
-
|
484
|
+
G(this, "$$");
|
476
485
|
/**
|
477
486
|
* ### PRIVATE API
|
478
487
|
*
|
@@ -480,11 +489,11 @@ class on {
|
|
480
489
|
*
|
481
490
|
* @type {any}
|
482
491
|
*/
|
483
|
-
|
492
|
+
G(this, "$$set");
|
484
493
|
}
|
485
494
|
/** @returns {void} */
|
486
495
|
$destroy() {
|
487
|
-
|
496
|
+
cn(this, 1), this.$destroy = $;
|
488
497
|
}
|
489
498
|
/**
|
490
499
|
* @template {Extract<keyof Events, string>} K
|
@@ -493,8 +502,8 @@ class on {
|
|
493
502
|
* @returns {() => void}
|
494
503
|
*/
|
495
504
|
$on(t, r) {
|
496
|
-
if (!
|
497
|
-
return
|
505
|
+
if (!ot(r))
|
506
|
+
return $;
|
498
507
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
499
508
|
return n.push(r), () => {
|
500
509
|
const i = n.indexOf(r);
|
@@ -506,18 +515,18 @@ class on {
|
|
506
515
|
* @returns {void}
|
507
516
|
*/
|
508
517
|
$set(t) {
|
509
|
-
this.$$set && !
|
518
|
+
this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
510
519
|
}
|
511
520
|
}
|
512
|
-
const
|
513
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
514
|
-
function
|
521
|
+
const gn = "4";
|
522
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
523
|
+
function bn(e, t) {
|
515
524
|
if (e) {
|
516
525
|
const r = document.createElement("style");
|
517
526
|
r.innerHTML = t, e.appendChild(r);
|
518
527
|
}
|
519
528
|
}
|
520
|
-
function
|
529
|
+
function yn(e, t) {
|
521
530
|
const r = new URL(t);
|
522
531
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
523
532
|
const i = document.createElement("style");
|
@@ -526,7 +535,7 @@ function ln(e, t) {
|
|
526
535
|
console.error("There was an error while trying to load client styling from URL", n);
|
527
536
|
});
|
528
537
|
}
|
529
|
-
function
|
538
|
+
function vn(e, t, r) {
|
530
539
|
if (window.emMessageBus) {
|
531
540
|
const n = document.createElement("style");
|
532
541
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -534,143 +543,143 @@ function un(e, t, r) {
|
|
534
543
|
});
|
535
544
|
}
|
536
545
|
}
|
537
|
-
const
|
538
|
-
function
|
546
|
+
const ne = [];
|
547
|
+
function _n(e, t) {
|
539
548
|
return {
|
540
|
-
subscribe:
|
549
|
+
subscribe: Ne(e, t).subscribe
|
541
550
|
};
|
542
551
|
}
|
543
|
-
function
|
552
|
+
function Ne(e, t = $) {
|
544
553
|
let r;
|
545
554
|
const n = /* @__PURE__ */ new Set();
|
546
555
|
function i(a) {
|
547
|
-
if (
|
548
|
-
const u = !
|
556
|
+
if (Zt(e, a) && (e = a, r)) {
|
557
|
+
const u = !ne.length;
|
549
558
|
for (const l of n)
|
550
|
-
l[1](),
|
559
|
+
l[1](), ne.push(l, e);
|
551
560
|
if (u) {
|
552
|
-
for (let l = 0; l <
|
553
|
-
|
554
|
-
|
561
|
+
for (let l = 0; l < ne.length; l += 2)
|
562
|
+
ne[l][0](ne[l + 1]);
|
563
|
+
ne.length = 0;
|
555
564
|
}
|
556
565
|
}
|
557
566
|
}
|
558
|
-
function
|
567
|
+
function s(a) {
|
559
568
|
i(a(e));
|
560
569
|
}
|
561
|
-
function
|
570
|
+
function o(a, u = $) {
|
562
571
|
const l = [a, u];
|
563
|
-
return n.add(l), n.size === 1 && (r = t(i,
|
572
|
+
return n.add(l), n.size === 1 && (r = t(i, s) || $), a(e), () => {
|
564
573
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
565
574
|
};
|
566
575
|
}
|
567
|
-
return { set: i, update:
|
576
|
+
return { set: i, update: s, subscribe: o };
|
568
577
|
}
|
569
|
-
function
|
578
|
+
function ce(e, t, r) {
|
570
579
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
571
580
|
if (!i.every(Boolean))
|
572
581
|
throw new Error("derived() expects stores as input, got a falsy value");
|
573
|
-
const
|
574
|
-
return
|
582
|
+
const s = t.length < 2;
|
583
|
+
return _n(r, (o, a) => {
|
575
584
|
let u = !1;
|
576
585
|
const l = [];
|
577
|
-
let
|
586
|
+
let c = 0, m = $;
|
578
587
|
const f = () => {
|
579
|
-
if (
|
588
|
+
if (c)
|
580
589
|
return;
|
581
590
|
m();
|
582
|
-
const g = t(n ? l[0] : l,
|
583
|
-
|
591
|
+
const g = t(n ? l[0] : l, o, a);
|
592
|
+
s ? o(g) : m = ot(g) ? g : $;
|
584
593
|
}, p = i.map(
|
585
|
-
(g, b) =>
|
594
|
+
(g, b) => zr(
|
586
595
|
g,
|
587
596
|
(d) => {
|
588
|
-
l[b] = d,
|
597
|
+
l[b] = d, c &= ~(1 << b), u && f();
|
589
598
|
},
|
590
599
|
() => {
|
591
|
-
|
600
|
+
c |= 1 << b;
|
592
601
|
}
|
593
602
|
)
|
594
603
|
);
|
595
604
|
return u = !0, f(), function() {
|
596
|
-
|
605
|
+
Y(p), m(), u = !1;
|
597
606
|
};
|
598
607
|
});
|
599
608
|
}
|
600
|
-
function
|
609
|
+
function En(e) {
|
601
610
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
602
611
|
}
|
603
|
-
var
|
604
|
-
return
|
612
|
+
var xn = function(t) {
|
613
|
+
return Cn(t) && !wn(t);
|
605
614
|
};
|
606
|
-
function
|
615
|
+
function Cn(e) {
|
607
616
|
return !!e && typeof e == "object";
|
608
617
|
}
|
609
|
-
function
|
618
|
+
function wn(e) {
|
610
619
|
var t = Object.prototype.toString.call(e);
|
611
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
620
|
+
return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
|
612
621
|
}
|
613
|
-
var
|
614
|
-
function
|
615
|
-
return e.$$typeof ===
|
622
|
+
var Hn = typeof Symbol == "function" && Symbol.for, Sn = Hn ? Symbol.for("react.element") : 60103;
|
623
|
+
function Tn(e) {
|
624
|
+
return e.$$typeof === Sn;
|
616
625
|
}
|
617
|
-
function
|
626
|
+
function An(e) {
|
618
627
|
return Array.isArray(e) ? [] : {};
|
619
628
|
}
|
620
|
-
function
|
621
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
629
|
+
function Ee(e, t) {
|
630
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ae(An(e), e, t) : e;
|
622
631
|
}
|
623
|
-
function
|
632
|
+
function Bn(e, t, r) {
|
624
633
|
return e.concat(t).map(function(n) {
|
625
|
-
return
|
634
|
+
return Ee(n, r);
|
626
635
|
});
|
627
636
|
}
|
628
|
-
function
|
637
|
+
function In(e, t) {
|
629
638
|
if (!t.customMerge)
|
630
|
-
return
|
639
|
+
return ae;
|
631
640
|
var r = t.customMerge(e);
|
632
|
-
return typeof r == "function" ? r :
|
641
|
+
return typeof r == "function" ? r : ae;
|
633
642
|
}
|
634
|
-
function
|
643
|
+
function Mn(e) {
|
635
644
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
636
645
|
return Object.propertyIsEnumerable.call(e, t);
|
637
646
|
}) : [];
|
638
647
|
}
|
639
|
-
function
|
640
|
-
return Object.keys(e).concat(
|
648
|
+
function xt(e) {
|
649
|
+
return Object.keys(e).concat(Mn(e));
|
641
650
|
}
|
642
|
-
function
|
651
|
+
function Kt(e, t) {
|
643
652
|
try {
|
644
653
|
return t in e;
|
645
654
|
} catch (r) {
|
646
655
|
return !1;
|
647
656
|
}
|
648
657
|
}
|
649
|
-
function
|
650
|
-
return
|
658
|
+
function Ln(e, t) {
|
659
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
651
660
|
}
|
652
|
-
function
|
661
|
+
function Nn(e, t, r) {
|
653
662
|
var n = {};
|
654
|
-
return r.isMergeableObject(e) &&
|
655
|
-
n[i] =
|
656
|
-
}),
|
657
|
-
|
663
|
+
return r.isMergeableObject(e) && xt(e).forEach(function(i) {
|
664
|
+
n[i] = Ee(e[i], r);
|
665
|
+
}), xt(t).forEach(function(i) {
|
666
|
+
Ln(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
|
658
667
|
}), n;
|
659
668
|
}
|
660
|
-
function
|
661
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
662
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
663
|
-
return
|
669
|
+
function ae(e, t, r) {
|
670
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = Ee;
|
671
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
672
|
+
return s ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : Ee(t, r);
|
664
673
|
}
|
665
|
-
|
674
|
+
ae.all = function(t, r) {
|
666
675
|
if (!Array.isArray(t))
|
667
676
|
throw new Error("first argument should be an array");
|
668
677
|
return t.reduce(function(n, i) {
|
669
|
-
return
|
678
|
+
return ae(n, i, r);
|
670
679
|
}, {});
|
671
680
|
};
|
672
|
-
var
|
673
|
-
const
|
681
|
+
var Pn = ae, On = Pn;
|
682
|
+
const Fn = /* @__PURE__ */ En(On);
|
674
683
|
/*! *****************************************************************************
|
675
684
|
Copyright (c) Microsoft Corporation.
|
676
685
|
|
@@ -685,34 +694,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
685
694
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
686
695
|
PERFORMANCE OF THIS SOFTWARE.
|
687
696
|
***************************************************************************** */
|
688
|
-
var
|
689
|
-
return
|
697
|
+
var qe = function(e, t) {
|
698
|
+
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
690
699
|
r.__proto__ = n;
|
691
700
|
} || function(r, n) {
|
692
701
|
for (var i in n)
|
693
702
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
694
|
-
},
|
703
|
+
}, qe(e, t);
|
695
704
|
};
|
696
|
-
function
|
705
|
+
function Pe(e, t) {
|
697
706
|
if (typeof t != "function" && t !== null)
|
698
707
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
699
|
-
|
708
|
+
qe(e, t);
|
700
709
|
function r() {
|
701
710
|
this.constructor = e;
|
702
711
|
}
|
703
712
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
704
713
|
}
|
705
|
-
var
|
706
|
-
return
|
714
|
+
var C = function() {
|
715
|
+
return C = Object.assign || function(t) {
|
707
716
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
708
717
|
r = arguments[n];
|
709
|
-
for (var
|
710
|
-
Object.prototype.hasOwnProperty.call(r,
|
718
|
+
for (var s in r)
|
719
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
711
720
|
}
|
712
721
|
return t;
|
713
|
-
},
|
722
|
+
}, C.apply(this, arguments);
|
714
723
|
};
|
715
|
-
function
|
724
|
+
function Rn(e, t) {
|
716
725
|
var r = {};
|
717
726
|
for (var n in e)
|
718
727
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -721,111 +730,111 @@ function Tn(e, t) {
|
|
721
730
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
722
731
|
return r;
|
723
732
|
}
|
724
|
-
function
|
733
|
+
function $e(e, t, r) {
|
725
734
|
if (arguments.length === 2)
|
726
|
-
for (var n = 0, i = t.length,
|
727
|
-
(
|
728
|
-
return e.concat(
|
735
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
736
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
737
|
+
return e.concat(s || t);
|
729
738
|
}
|
730
|
-
function
|
731
|
-
var r = t && t.cache ? t.cache :
|
739
|
+
function je(e, t) {
|
740
|
+
var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Un;
|
732
741
|
return i(e, {
|
733
742
|
cache: r,
|
734
743
|
serializer: n
|
735
744
|
});
|
736
745
|
}
|
737
|
-
function
|
746
|
+
function Dn(e) {
|
738
747
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
739
748
|
}
|
740
|
-
function
|
741
|
-
var i =
|
742
|
-
return typeof
|
749
|
+
function er(e, t, r, n) {
|
750
|
+
var i = Dn(n) ? n : r(n), s = t.get(i);
|
751
|
+
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
743
752
|
}
|
744
|
-
function
|
745
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
746
|
-
return typeof
|
753
|
+
function tr(e, t, r) {
|
754
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
755
|
+
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
747
756
|
}
|
748
|
-
function
|
757
|
+
function at(e, t, r, n, i) {
|
749
758
|
return r.bind(t, e, n, i);
|
750
759
|
}
|
751
|
-
function
|
752
|
-
var r = e.length === 1 ?
|
753
|
-
return
|
760
|
+
function Un(e, t) {
|
761
|
+
var r = e.length === 1 ? er : tr;
|
762
|
+
return at(e, this, r, t.cache.create(), t.serializer);
|
754
763
|
}
|
755
|
-
function
|
756
|
-
return
|
764
|
+
function Gn(e, t) {
|
765
|
+
return at(e, this, tr, t.cache.create(), t.serializer);
|
757
766
|
}
|
758
|
-
function
|
759
|
-
return
|
767
|
+
function kn(e, t) {
|
768
|
+
return at(e, this, er, t.cache.create(), t.serializer);
|
760
769
|
}
|
761
|
-
var
|
770
|
+
var $n = function() {
|
762
771
|
return JSON.stringify(arguments);
|
763
772
|
};
|
764
|
-
function
|
773
|
+
function lt() {
|
765
774
|
this.cache = /* @__PURE__ */ Object.create(null);
|
766
775
|
}
|
767
|
-
|
776
|
+
lt.prototype.get = function(e) {
|
768
777
|
return this.cache[e];
|
769
778
|
};
|
770
|
-
|
779
|
+
lt.prototype.set = function(e, t) {
|
771
780
|
this.cache[e] = t;
|
772
781
|
};
|
773
|
-
var
|
782
|
+
var jn = {
|
774
783
|
create: function() {
|
775
|
-
return new
|
784
|
+
return new lt();
|
776
785
|
}
|
777
|
-
},
|
778
|
-
variadic:
|
779
|
-
monadic:
|
786
|
+
}, Ve = {
|
787
|
+
variadic: Gn,
|
788
|
+
monadic: kn
|
780
789
|
}, y;
|
781
790
|
(function(e) {
|
782
791
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
783
792
|
})(y || (y = {}));
|
784
|
-
var
|
793
|
+
var A;
|
785
794
|
(function(e) {
|
786
795
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
787
|
-
})(
|
788
|
-
var
|
796
|
+
})(A || (A = {}));
|
797
|
+
var le;
|
789
798
|
(function(e) {
|
790
799
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
791
|
-
})(
|
792
|
-
function
|
793
|
-
return e.type ===
|
794
|
-
}
|
795
|
-
function Pn(e) {
|
796
|
-
return e.type === T.argument;
|
797
|
-
}
|
798
|
-
function Kt(e) {
|
799
|
-
return e.type === T.number;
|
800
|
-
}
|
801
|
-
function er(e) {
|
802
|
-
return e.type === T.date;
|
800
|
+
})(le || (le = {}));
|
801
|
+
function Ct(e) {
|
802
|
+
return e.type === A.literal;
|
803
803
|
}
|
804
|
-
function
|
805
|
-
return e.type ===
|
804
|
+
function Vn(e) {
|
805
|
+
return e.type === A.argument;
|
806
806
|
}
|
807
807
|
function rr(e) {
|
808
|
-
return e.type ===
|
808
|
+
return e.type === A.number;
|
809
809
|
}
|
810
810
|
function nr(e) {
|
811
|
-
return e.type ===
|
812
|
-
}
|
813
|
-
function On(e) {
|
814
|
-
return e.type === T.pound;
|
811
|
+
return e.type === A.date;
|
815
812
|
}
|
816
813
|
function ir(e) {
|
817
|
-
return e.type ===
|
814
|
+
return e.type === A.time;
|
818
815
|
}
|
819
816
|
function or(e) {
|
820
|
-
return
|
817
|
+
return e.type === A.select;
|
818
|
+
}
|
819
|
+
function sr(e) {
|
820
|
+
return e.type === A.plural;
|
821
|
+
}
|
822
|
+
function Xn(e) {
|
823
|
+
return e.type === A.pound;
|
821
824
|
}
|
822
|
-
function
|
823
|
-
return
|
825
|
+
function ar(e) {
|
826
|
+
return e.type === A.tag;
|
824
827
|
}
|
825
|
-
|
826
|
-
|
828
|
+
function lr(e) {
|
829
|
+
return !!(e && typeof e == "object" && e.type === le.number);
|
830
|
+
}
|
831
|
+
function Je(e) {
|
832
|
+
return !!(e && typeof e == "object" && e.type === le.dateTime);
|
833
|
+
}
|
834
|
+
var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
835
|
+
function zn(e) {
|
827
836
|
var t = {};
|
828
|
-
return e.replace(
|
837
|
+
return e.replace(Wn, function(r) {
|
829
838
|
var n = r.length;
|
830
839
|
switch (r[0]) {
|
831
840
|
case "G":
|
@@ -914,18 +923,18 @@ function Rn(e) {
|
|
914
923
|
return "";
|
915
924
|
}), t;
|
916
925
|
}
|
917
|
-
var
|
918
|
-
function
|
926
|
+
var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
927
|
+
function Qn(e) {
|
919
928
|
if (e.length === 0)
|
920
929
|
throw new Error("Number skeleton cannot be empty");
|
921
|
-
for (var t = e.split(
|
930
|
+
for (var t = e.split(Zn).filter(function(f) {
|
922
931
|
return f.length > 0;
|
923
932
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
924
|
-
var
|
925
|
-
if (
|
933
|
+
var s = i[n], o = s.split("/");
|
934
|
+
if (o.length === 0)
|
926
935
|
throw new Error("Invalid number skeleton");
|
927
|
-
for (var a =
|
928
|
-
var m =
|
936
|
+
for (var a = o[0], u = o.slice(1), l = 0, c = u; l < c.length; l++) {
|
937
|
+
var m = c[l];
|
929
938
|
if (m.length === 0)
|
930
939
|
throw new Error("Invalid number skeleton");
|
931
940
|
}
|
@@ -933,17 +942,17 @@ function Un(e) {
|
|
933
942
|
}
|
934
943
|
return r;
|
935
944
|
}
|
936
|
-
function
|
945
|
+
function qn(e) {
|
937
946
|
return e.replace(/^(.*?)-/, "");
|
938
947
|
}
|
939
|
-
var
|
940
|
-
function
|
948
|
+
var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
949
|
+
function Ht(e) {
|
941
950
|
var t = {};
|
942
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
951
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
|
943
952
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
944
953
|
}), t;
|
945
954
|
}
|
946
|
-
function
|
955
|
+
function fr(e) {
|
947
956
|
switch (e) {
|
948
957
|
case "sign-auto":
|
949
958
|
return {
|
@@ -983,7 +992,7 @@ function ur(e) {
|
|
983
992
|
};
|
984
993
|
}
|
985
994
|
}
|
986
|
-
function
|
995
|
+
function Yn(e) {
|
987
996
|
var t;
|
988
997
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
989
998
|
notation: "engineering"
|
@@ -991,17 +1000,17 @@ function $n(e) {
|
|
991
1000
|
notation: "scientific"
|
992
1001
|
}, e = e.slice(1)), t) {
|
993
1002
|
var r = e.slice(0, 2);
|
994
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1003
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
|
995
1004
|
throw new Error("Malformed concise eng/scientific notation");
|
996
1005
|
t.minimumIntegerDigits = e.length;
|
997
1006
|
}
|
998
1007
|
return t;
|
999
1008
|
}
|
1000
|
-
function
|
1001
|
-
var t = {}, r =
|
1009
|
+
function St(e) {
|
1010
|
+
var t = {}, r = fr(e);
|
1002
1011
|
return r || t;
|
1003
1012
|
}
|
1004
|
-
function
|
1013
|
+
function Kn(e) {
|
1005
1014
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1006
1015
|
var i = n[r];
|
1007
1016
|
switch (i.stem) {
|
@@ -1025,7 +1034,7 @@ function jn(e) {
|
|
1025
1034
|
continue;
|
1026
1035
|
case "measure-unit":
|
1027
1036
|
case "unit":
|
1028
|
-
t.style = "unit", t.unit =
|
1037
|
+
t.style = "unit", t.unit = qn(i.options[0]);
|
1029
1038
|
continue;
|
1030
1039
|
case "compact-short":
|
1031
1040
|
case "K":
|
@@ -1036,13 +1045,13 @@ function jn(e) {
|
|
1036
1045
|
t.notation = "compact", t.compactDisplay = "long";
|
1037
1046
|
continue;
|
1038
1047
|
case "scientific":
|
1039
|
-
t =
|
1040
|
-
return
|
1048
|
+
t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1049
|
+
return C(C({}, u), St(l));
|
1041
1050
|
}, {}));
|
1042
1051
|
continue;
|
1043
1052
|
case "engineering":
|
1044
|
-
t =
|
1045
|
-
return
|
1053
|
+
t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1054
|
+
return C(C({}, u), St(l));
|
1046
1055
|
}, {}));
|
1047
1056
|
continue;
|
1048
1057
|
case "notation-simple":
|
@@ -1087,9 +1096,9 @@ function jn(e) {
|
|
1087
1096
|
case "integer-width":
|
1088
1097
|
if (i.options.length > 1)
|
1089
1098
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1090
|
-
i.options[0].replace(
|
1099
|
+
i.options[0].replace(Jn, function(u, l, c, m, f, p) {
|
1091
1100
|
if (l)
|
1092
|
-
t.minimumIntegerDigits =
|
1101
|
+
t.minimumIntegerDigits = c.length;
|
1093
1102
|
else {
|
1094
1103
|
if (m && f)
|
1095
1104
|
throw new Error("We currently do not support maximum integer digits");
|
@@ -1100,32 +1109,32 @@ function jn(e) {
|
|
1100
1109
|
});
|
1101
1110
|
continue;
|
1102
1111
|
}
|
1103
|
-
if (
|
1112
|
+
if (cr.test(i.stem)) {
|
1104
1113
|
t.minimumIntegerDigits = i.stem.length;
|
1105
1114
|
continue;
|
1106
1115
|
}
|
1107
|
-
if (
|
1116
|
+
if (wt.test(i.stem)) {
|
1108
1117
|
if (i.options.length > 1)
|
1109
1118
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1110
|
-
i.stem.replace(
|
1111
|
-
return
|
1119
|
+
i.stem.replace(wt, function(u, l, c, m, f, p) {
|
1120
|
+
return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1112
1121
|
});
|
1113
|
-
var
|
1114
|
-
|
1122
|
+
var s = i.options[0];
|
1123
|
+
s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), Ht(s)));
|
1115
1124
|
continue;
|
1116
1125
|
}
|
1117
|
-
if (
|
1118
|
-
t =
|
1126
|
+
if (hr.test(i.stem)) {
|
1127
|
+
t = C(C({}, t), Ht(i.stem));
|
1119
1128
|
continue;
|
1120
1129
|
}
|
1121
|
-
var
|
1122
|
-
|
1123
|
-
var a =
|
1124
|
-
a && (t =
|
1130
|
+
var o = fr(i.stem);
|
1131
|
+
o && (t = C(C({}, t), o));
|
1132
|
+
var a = Yn(i.stem);
|
1133
|
+
a && (t = C(C({}, t), a));
|
1125
1134
|
}
|
1126
1135
|
return t;
|
1127
1136
|
}
|
1128
|
-
var
|
1137
|
+
var Te = {
|
1129
1138
|
"001": [
|
1130
1139
|
"H",
|
1131
1140
|
"h"
|
@@ -2540,23 +2549,23 @@ var we = {
|
|
2540
2549
|
"h"
|
2541
2550
|
]
|
2542
2551
|
};
|
2543
|
-
function
|
2552
|
+
function ei(e, t) {
|
2544
2553
|
for (var r = "", n = 0; n < e.length; n++) {
|
2545
2554
|
var i = e.charAt(n);
|
2546
2555
|
if (i === "j") {
|
2547
|
-
for (var
|
2548
|
-
|
2549
|
-
var
|
2556
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2557
|
+
s++, n++;
|
2558
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", l = ti(t);
|
2550
2559
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2551
2560
|
r += u;
|
2552
|
-
for (;
|
2561
|
+
for (; o-- > 0; )
|
2553
2562
|
r = l + r;
|
2554
2563
|
} else
|
2555
2564
|
i === "J" ? r += "H" : r += i;
|
2556
2565
|
}
|
2557
2566
|
return r;
|
2558
2567
|
}
|
2559
|
-
function
|
2568
|
+
function ti(e) {
|
2560
2569
|
var t = e.hourCycle;
|
2561
2570
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2562
2571
|
e.hourCycles && // @ts-ignore
|
@@ -2575,23 +2584,23 @@ function Xn(e) {
|
|
2575
2584
|
}
|
2576
2585
|
var r = e.language, n;
|
2577
2586
|
r !== "root" && (n = e.maximize().region);
|
2578
|
-
var i =
|
2587
|
+
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
2579
2588
|
return i[0];
|
2580
2589
|
}
|
2581
|
-
var
|
2582
|
-
function
|
2590
|
+
var Xe, ri = new RegExp("^".concat(ur.source, "*")), ni = new RegExp("".concat(ur.source, "*$"));
|
2591
|
+
function _(e, t) {
|
2583
2592
|
return { start: e, end: t };
|
2584
2593
|
}
|
2585
|
-
var
|
2594
|
+
var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, ui = !!String.prototype.trimEnd, hi = !!Number.isSafeInteger, ci = hi ? Number.isSafeInteger : function(e) {
|
2586
2595
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2587
|
-
},
|
2596
|
+
}, Ye = !0;
|
2588
2597
|
try {
|
2589
|
-
var
|
2590
|
-
|
2598
|
+
var fi = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2599
|
+
Ye = ((Xe = fi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
|
2591
2600
|
} catch (e) {
|
2592
|
-
|
2601
|
+
Ye = !1;
|
2593
2602
|
}
|
2594
|
-
var
|
2603
|
+
var Tt = ii ? (
|
2595
2604
|
// Native
|
2596
2605
|
function(t, r, n) {
|
2597
2606
|
return t.startsWith(r, n);
|
@@ -2601,31 +2610,31 @@ var wt = Zn ? (
|
|
2601
2610
|
function(t, r, n) {
|
2602
2611
|
return t.slice(n, n + r.length) === r;
|
2603
2612
|
}
|
2604
|
-
),
|
2613
|
+
), Ke = oi ? String.fromCodePoint : (
|
2605
2614
|
// IE11
|
2606
2615
|
function() {
|
2607
2616
|
for (var t = [], r = 0; r < arguments.length; r++)
|
2608
2617
|
t[r] = arguments[r];
|
2609
|
-
for (var n = "", i = t.length,
|
2610
|
-
if (
|
2611
|
-
throw RangeError(
|
2612
|
-
n +=
|
2618
|
+
for (var n = "", i = t.length, s = 0, o; i > s; ) {
|
2619
|
+
if (o = t[s++], o > 1114111)
|
2620
|
+
throw RangeError(o + " is not a valid code point");
|
2621
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
2613
2622
|
}
|
2614
2623
|
return n;
|
2615
2624
|
}
|
2616
|
-
),
|
2625
|
+
), At = (
|
2617
2626
|
// native
|
2618
|
-
|
2627
|
+
si ? Object.fromEntries : (
|
2619
2628
|
// Ponyfill
|
2620
2629
|
function(t) {
|
2621
2630
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2622
|
-
var
|
2623
|
-
r[
|
2631
|
+
var s = i[n], o = s[0], a = s[1];
|
2632
|
+
r[o] = a;
|
2624
2633
|
}
|
2625
2634
|
return r;
|
2626
2635
|
}
|
2627
2636
|
)
|
2628
|
-
),
|
2637
|
+
), mr = ai ? (
|
2629
2638
|
// Native
|
2630
2639
|
function(t, r) {
|
2631
2640
|
return t.codePointAt(r);
|
@@ -2635,11 +2644,11 @@ var wt = Zn ? (
|
|
2635
2644
|
function(t, r) {
|
2636
2645
|
var n = t.length;
|
2637
2646
|
if (!(r < 0 || r >= n)) {
|
2638
|
-
var i = t.charCodeAt(r),
|
2639
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
2647
|
+
var i = t.charCodeAt(r), s;
|
2648
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2640
2649
|
}
|
2641
2650
|
}
|
2642
|
-
),
|
2651
|
+
), mi = li ? (
|
2643
2652
|
// Native
|
2644
2653
|
function(t) {
|
2645
2654
|
return t.trimStart();
|
@@ -2647,9 +2656,9 @@ var wt = Zn ? (
|
|
2647
2656
|
) : (
|
2648
2657
|
// Ponyfill
|
2649
2658
|
function(t) {
|
2650
|
-
return t.replace(
|
2659
|
+
return t.replace(ri, "");
|
2651
2660
|
}
|
2652
|
-
),
|
2661
|
+
), di = ui ? (
|
2653
2662
|
// Native
|
2654
2663
|
function(t) {
|
2655
2664
|
return t.trimEnd();
|
@@ -2657,32 +2666,32 @@ var wt = Zn ? (
|
|
2657
2666
|
) : (
|
2658
2667
|
// Ponyfill
|
2659
2668
|
function(t) {
|
2660
|
-
return t.replace(
|
2669
|
+
return t.replace(ni, "");
|
2661
2670
|
}
|
2662
2671
|
);
|
2663
|
-
function
|
2672
|
+
function dr(e, t) {
|
2664
2673
|
return new RegExp(e, t);
|
2665
2674
|
}
|
2666
|
-
var
|
2667
|
-
if (
|
2668
|
-
var
|
2669
|
-
|
2675
|
+
var et;
|
2676
|
+
if (Ye) {
|
2677
|
+
var Bt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2678
|
+
et = function(t, r) {
|
2670
2679
|
var n;
|
2671
|
-
|
2672
|
-
var i =
|
2680
|
+
Bt.lastIndex = r;
|
2681
|
+
var i = Bt.exec(t);
|
2673
2682
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2674
2683
|
};
|
2675
2684
|
} else
|
2676
|
-
|
2685
|
+
et = function(t, r) {
|
2677
2686
|
for (var n = []; ; ) {
|
2678
|
-
var i =
|
2679
|
-
if (i === void 0 ||
|
2687
|
+
var i = mr(t, r);
|
2688
|
+
if (i === void 0 || pr(i) || yi(i))
|
2680
2689
|
break;
|
2681
2690
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2682
2691
|
}
|
2683
|
-
return
|
2692
|
+
return Ke.apply(void 0, n);
|
2684
2693
|
};
|
2685
|
-
var
|
2694
|
+
var pi = (
|
2686
2695
|
/** @class */
|
2687
2696
|
function() {
|
2688
2697
|
function e(t, r) {
|
@@ -2694,35 +2703,35 @@ var oi = (
|
|
2694
2703
|
return this.parseMessage(0, "", !1);
|
2695
2704
|
}, e.prototype.parseMessage = function(t, r, n) {
|
2696
2705
|
for (var i = []; !this.isEOF(); ) {
|
2697
|
-
var
|
2698
|
-
if (
|
2699
|
-
var
|
2700
|
-
if (
|
2701
|
-
return
|
2702
|
-
i.push(
|
2706
|
+
var s = this.char();
|
2707
|
+
if (s === 123) {
|
2708
|
+
var o = this.parseArgument(t, n);
|
2709
|
+
if (o.err)
|
2710
|
+
return o;
|
2711
|
+
i.push(o.val);
|
2703
2712
|
} else {
|
2704
|
-
if (
|
2713
|
+
if (s === 125 && t > 0)
|
2705
2714
|
break;
|
2706
|
-
if (
|
2715
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
2707
2716
|
var a = this.clonePosition();
|
2708
2717
|
this.bump(), i.push({
|
2709
|
-
type:
|
2710
|
-
location:
|
2718
|
+
type: A.pound,
|
2719
|
+
location: _(a, this.clonePosition())
|
2711
2720
|
});
|
2712
|
-
} else if (
|
2721
|
+
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
2713
2722
|
if (n)
|
2714
2723
|
break;
|
2715
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
2716
|
-
} else if (
|
2717
|
-
var
|
2718
|
-
if (
|
2719
|
-
return
|
2720
|
-
i.push(
|
2724
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
2725
|
+
} else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
|
2726
|
+
var o = this.parseTag(t, r);
|
2727
|
+
if (o.err)
|
2728
|
+
return o;
|
2729
|
+
i.push(o.val);
|
2721
2730
|
} else {
|
2722
|
-
var
|
2723
|
-
if (
|
2724
|
-
return
|
2725
|
-
i.push(
|
2731
|
+
var o = this.parseLiteral(t, r);
|
2732
|
+
if (o.err)
|
2733
|
+
return o;
|
2734
|
+
i.push(o.val);
|
2726
2735
|
}
|
2727
2736
|
}
|
2728
2737
|
}
|
@@ -2734,51 +2743,51 @@ var oi = (
|
|
2734
2743
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2735
2744
|
return {
|
2736
2745
|
val: {
|
2737
|
-
type:
|
2746
|
+
type: A.literal,
|
2738
2747
|
value: "<".concat(i, "/>"),
|
2739
|
-
location:
|
2748
|
+
location: _(n, this.clonePosition())
|
2740
2749
|
},
|
2741
2750
|
err: null
|
2742
2751
|
};
|
2743
2752
|
if (this.bumpIf(">")) {
|
2744
|
-
var
|
2745
|
-
if (
|
2746
|
-
return
|
2747
|
-
var
|
2753
|
+
var s = this.parseMessage(t + 1, r, !0);
|
2754
|
+
if (s.err)
|
2755
|
+
return s;
|
2756
|
+
var o = s.val, a = this.clonePosition();
|
2748
2757
|
if (this.bumpIf("</")) {
|
2749
|
-
if (this.isEOF() || !
|
2750
|
-
return this.error(y.INVALID_TAG,
|
2758
|
+
if (this.isEOF() || !tt(this.char()))
|
2759
|
+
return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
|
2751
2760
|
var u = this.clonePosition(), l = this.parseTagName();
|
2752
|
-
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG,
|
2761
|
+
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2753
2762
|
val: {
|
2754
|
-
type:
|
2763
|
+
type: A.tag,
|
2755
2764
|
value: i,
|
2756
|
-
children:
|
2757
|
-
location:
|
2765
|
+
children: o,
|
2766
|
+
location: _(n, this.clonePosition())
|
2758
2767
|
},
|
2759
2768
|
err: null
|
2760
|
-
} : this.error(y.INVALID_TAG,
|
2769
|
+
} : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
|
2761
2770
|
} else
|
2762
|
-
return this.error(y.UNCLOSED_TAG,
|
2771
|
+
return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
|
2763
2772
|
} else
|
2764
|
-
return this.error(y.INVALID_TAG,
|
2773
|
+
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
2765
2774
|
}, e.prototype.parseTagName = function() {
|
2766
2775
|
var t = this.offset();
|
2767
|
-
for (this.bump(); !this.isEOF() &&
|
2776
|
+
for (this.bump(); !this.isEOF() && bi(this.char()); )
|
2768
2777
|
this.bump();
|
2769
2778
|
return this.message.slice(t, this.offset());
|
2770
2779
|
}, e.prototype.parseLiteral = function(t, r) {
|
2771
2780
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
2772
|
-
var
|
2773
|
-
if (o) {
|
2774
|
-
i += o;
|
2775
|
-
continue;
|
2776
|
-
}
|
2777
|
-
var s = this.tryParseUnquoted(t, r);
|
2781
|
+
var s = this.tryParseQuote(r);
|
2778
2782
|
if (s) {
|
2779
2783
|
i += s;
|
2780
2784
|
continue;
|
2781
2785
|
}
|
2786
|
+
var o = this.tryParseUnquoted(t, r);
|
2787
|
+
if (o) {
|
2788
|
+
i += o;
|
2789
|
+
continue;
|
2790
|
+
}
|
2782
2791
|
var a = this.tryParseLeftAngleBracket();
|
2783
2792
|
if (a) {
|
2784
2793
|
i += a;
|
@@ -2786,14 +2795,14 @@ var oi = (
|
|
2786
2795
|
}
|
2787
2796
|
break;
|
2788
2797
|
}
|
2789
|
-
var u =
|
2798
|
+
var u = _(n, this.clonePosition());
|
2790
2799
|
return {
|
2791
|
-
val: { type:
|
2800
|
+
val: { type: A.literal, value: i, location: u },
|
2792
2801
|
err: null
|
2793
2802
|
};
|
2794
2803
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2795
2804
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2796
|
-
!
|
2805
|
+
!gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2797
2806
|
}, e.prototype.tryParseQuote = function(t) {
|
2798
2807
|
if (this.isEOF() || this.char() !== 39)
|
2799
2808
|
return null;
|
@@ -2827,49 +2836,49 @@ var oi = (
|
|
2827
2836
|
r.push(n);
|
2828
2837
|
this.bump();
|
2829
2838
|
}
|
2830
|
-
return
|
2839
|
+
return Ke.apply(void 0, r);
|
2831
2840
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2832
2841
|
if (this.isEOF())
|
2833
2842
|
return null;
|
2834
2843
|
var n = this.char();
|
2835
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2844
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
|
2836
2845
|
}, e.prototype.parseArgument = function(t, r) {
|
2837
2846
|
var n = this.clonePosition();
|
2838
2847
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
2839
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2848
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
2840
2849
|
if (this.char() === 125)
|
2841
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
2850
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
2842
2851
|
var i = this.parseIdentifierIfPossible().value;
|
2843
2852
|
if (!i)
|
2844
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
2853
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
2845
2854
|
if (this.bumpSpace(), this.isEOF())
|
2846
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2855
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
2847
2856
|
switch (this.char()) {
|
2848
2857
|
case 125:
|
2849
2858
|
return this.bump(), {
|
2850
2859
|
val: {
|
2851
|
-
type:
|
2860
|
+
type: A.argument,
|
2852
2861
|
// value does not include the opening and closing braces.
|
2853
2862
|
value: i,
|
2854
|
-
location:
|
2863
|
+
location: _(n, this.clonePosition())
|
2855
2864
|
},
|
2856
2865
|
err: null
|
2857
2866
|
};
|
2858
2867
|
case 44:
|
2859
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2868
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
2860
2869
|
default:
|
2861
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
2870
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
2862
2871
|
}
|
2863
2872
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2864
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2873
|
+
var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
|
2865
2874
|
this.bumpTo(i);
|
2866
|
-
var
|
2867
|
-
return { value: n, location:
|
2875
|
+
var s = this.clonePosition(), o = _(t, s);
|
2876
|
+
return { value: n, location: o };
|
2868
2877
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2869
|
-
var
|
2878
|
+
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
2870
2879
|
switch (a) {
|
2871
2880
|
case "":
|
2872
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
2881
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, u));
|
2873
2882
|
case "number":
|
2874
2883
|
case "date":
|
2875
2884
|
case "time": {
|
@@ -2877,50 +2886,50 @@ var oi = (
|
|
2877
2886
|
var l = null;
|
2878
2887
|
if (this.bumpIf(",")) {
|
2879
2888
|
this.bumpSpace();
|
2880
|
-
var
|
2889
|
+
var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2881
2890
|
if (m.err)
|
2882
2891
|
return m;
|
2883
|
-
var f =
|
2892
|
+
var f = di(m.val);
|
2884
2893
|
if (f.length === 0)
|
2885
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
2886
|
-
var p =
|
2894
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
2895
|
+
var p = _(c, this.clonePosition());
|
2887
2896
|
l = { style: f, styleLocation: p };
|
2888
2897
|
}
|
2889
2898
|
var g = this.tryParseArgumentClose(i);
|
2890
2899
|
if (g.err)
|
2891
2900
|
return g;
|
2892
|
-
var b =
|
2893
|
-
if (l &&
|
2894
|
-
var d =
|
2901
|
+
var b = _(i, this.clonePosition());
|
2902
|
+
if (l && Tt(l == null ? void 0 : l.style, "::", 0)) {
|
2903
|
+
var d = mi(l.style.slice(2));
|
2895
2904
|
if (a === "number") {
|
2896
2905
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2897
2906
|
return m.err ? m : {
|
2898
|
-
val: { type:
|
2907
|
+
val: { type: A.number, value: n, location: b, style: m.val },
|
2899
2908
|
err: null
|
2900
2909
|
};
|
2901
2910
|
} else {
|
2902
2911
|
if (d.length === 0)
|
2903
2912
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2904
2913
|
var H = d;
|
2905
|
-
this.locale && (H =
|
2914
|
+
this.locale && (H = ei(d, this.locale));
|
2906
2915
|
var f = {
|
2907
|
-
type:
|
2916
|
+
type: le.dateTime,
|
2908
2917
|
pattern: H,
|
2909
2918
|
location: l.styleLocation,
|
2910
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2911
|
-
},
|
2919
|
+
parsedOptions: this.shouldParseSkeletons ? zn(H) : {}
|
2920
|
+
}, E = a === "date" ? A.date : A.time;
|
2912
2921
|
return {
|
2913
|
-
val: { type:
|
2922
|
+
val: { type: E, value: n, location: b, style: f },
|
2914
2923
|
err: null
|
2915
2924
|
};
|
2916
2925
|
}
|
2917
2926
|
}
|
2918
2927
|
return {
|
2919
2928
|
val: {
|
2920
|
-
type: a === "number" ?
|
2929
|
+
type: a === "number" ? A.number : a === "date" ? A.date : A.time,
|
2921
2930
|
value: n,
|
2922
2931
|
location: b,
|
2923
|
-
style: (
|
2932
|
+
style: (s = l == null ? void 0 : l.style) !== null && s !== void 0 ? s : null
|
2924
2933
|
},
|
2925
2934
|
err: null
|
2926
2935
|
};
|
@@ -2928,52 +2937,52 @@ var oi = (
|
|
2928
2937
|
case "plural":
|
2929
2938
|
case "selectordinal":
|
2930
2939
|
case "select": {
|
2931
|
-
var
|
2940
|
+
var w = this.clonePosition();
|
2932
2941
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2933
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
2942
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, C({}, w)));
|
2934
2943
|
this.bumpSpace();
|
2935
|
-
var O = this.parseIdentifierIfPossible(),
|
2944
|
+
var O = this.parseIdentifierIfPossible(), L = 0;
|
2936
2945
|
if (a !== "select" && O.value === "offset") {
|
2937
2946
|
if (!this.bumpIf(":"))
|
2938
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
2947
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
2939
2948
|
this.bumpSpace();
|
2940
2949
|
var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2941
2950
|
if (m.err)
|
2942
2951
|
return m;
|
2943
|
-
this.bumpSpace(), O = this.parseIdentifierIfPossible(),
|
2952
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = m.val;
|
2944
2953
|
}
|
2945
|
-
var
|
2946
|
-
if (
|
2947
|
-
return
|
2954
|
+
var v = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
2955
|
+
if (v.err)
|
2956
|
+
return v;
|
2948
2957
|
var g = this.tryParseArgumentClose(i);
|
2949
2958
|
if (g.err)
|
2950
2959
|
return g;
|
2951
|
-
var
|
2960
|
+
var S = _(i, this.clonePosition());
|
2952
2961
|
return a === "select" ? {
|
2953
2962
|
val: {
|
2954
|
-
type:
|
2963
|
+
type: A.select,
|
2955
2964
|
value: n,
|
2956
|
-
options:
|
2957
|
-
location:
|
2965
|
+
options: At(v.val),
|
2966
|
+
location: S
|
2958
2967
|
},
|
2959
2968
|
err: null
|
2960
2969
|
} : {
|
2961
2970
|
val: {
|
2962
|
-
type:
|
2971
|
+
type: A.plural,
|
2963
2972
|
value: n,
|
2964
|
-
options:
|
2965
|
-
offset:
|
2973
|
+
options: At(v.val),
|
2974
|
+
offset: L,
|
2966
2975
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2967
|
-
location:
|
2976
|
+
location: S
|
2968
2977
|
},
|
2969
2978
|
err: null
|
2970
2979
|
};
|
2971
2980
|
}
|
2972
2981
|
default:
|
2973
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
2982
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(o, u));
|
2974
2983
|
}
|
2975
2984
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2976
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2985
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
2977
2986
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
2978
2987
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
2979
2988
|
var n = this.char();
|
@@ -2982,7 +2991,7 @@ var oi = (
|
|
2982
2991
|
this.bump();
|
2983
2992
|
var i = this.clonePosition();
|
2984
2993
|
if (!this.bumpUntil("'"))
|
2985
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
2994
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
2986
2995
|
this.bump();
|
2987
2996
|
break;
|
2988
2997
|
}
|
@@ -3012,37 +3021,37 @@ var oi = (
|
|
3012
3021
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3013
3022
|
var n = [];
|
3014
3023
|
try {
|
3015
|
-
n =
|
3024
|
+
n = Qn(t);
|
3016
3025
|
} catch (i) {
|
3017
3026
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
3018
3027
|
}
|
3019
3028
|
return {
|
3020
3029
|
val: {
|
3021
|
-
type:
|
3030
|
+
type: le.number,
|
3022
3031
|
tokens: n,
|
3023
3032
|
location: r,
|
3024
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3033
|
+
parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
|
3025
3034
|
},
|
3026
3035
|
err: null
|
3027
3036
|
};
|
3028
3037
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
3029
|
-
for (var
|
3038
|
+
for (var s, o = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
|
3030
3039
|
if (l.length === 0) {
|
3031
3040
|
var m = this.clonePosition();
|
3032
3041
|
if (r !== "select" && this.bumpIf("=")) {
|
3033
3042
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3034
3043
|
if (f.err)
|
3035
3044
|
return f;
|
3036
|
-
|
3045
|
+
c = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
|
3037
3046
|
} else
|
3038
3047
|
break;
|
3039
3048
|
}
|
3040
3049
|
if (u.has(l))
|
3041
|
-
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
3042
|
-
l === "other" && (
|
3050
|
+
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
3051
|
+
l === "other" && (o = !0), this.bumpSpace();
|
3043
3052
|
var p = this.clonePosition();
|
3044
3053
|
if (!this.bumpIf("{"))
|
3045
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
3054
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
3046
3055
|
var g = this.parseMessage(t + 1, r, n);
|
3047
3056
|
if (g.err)
|
3048
3057
|
return g;
|
@@ -3053,23 +3062,23 @@ var oi = (
|
|
3053
3062
|
l,
|
3054
3063
|
{
|
3055
3064
|
value: g.val,
|
3056
|
-
location:
|
3065
|
+
location: _(p, this.clonePosition())
|
3057
3066
|
}
|
3058
|
-
]), u.add(l), this.bumpSpace(),
|
3067
|
+
]), u.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, c = s.location;
|
3059
3068
|
}
|
3060
|
-
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
3069
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3061
3070
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3062
3071
|
var n = 1, i = this.clonePosition();
|
3063
3072
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
3064
|
-
for (var
|
3073
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
3065
3074
|
var a = this.char();
|
3066
3075
|
if (a >= 48 && a <= 57)
|
3067
|
-
|
3076
|
+
s = !0, o = o * 10 + (a - 48), this.bump();
|
3068
3077
|
else
|
3069
3078
|
break;
|
3070
3079
|
}
|
3071
|
-
var u =
|
3072
|
-
return
|
3080
|
+
var u = _(i, this.clonePosition());
|
3081
|
+
return s ? (o *= n, ci(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
|
3073
3082
|
}, e.prototype.offset = function() {
|
3074
3083
|
return this.position.offset;
|
3075
3084
|
}, e.prototype.isEOF = function() {
|
@@ -3084,7 +3093,7 @@ var oi = (
|
|
3084
3093
|
var t = this.position.offset;
|
3085
3094
|
if (t >= this.message.length)
|
3086
3095
|
throw Error("out of bound");
|
3087
|
-
var r =
|
3096
|
+
var r = mr(this.message, t);
|
3088
3097
|
if (r === void 0)
|
3089
3098
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3090
3099
|
return r;
|
@@ -3103,7 +3112,7 @@ var oi = (
|
|
3103
3112
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3104
3113
|
}
|
3105
3114
|
}, e.prototype.bumpIf = function(t) {
|
3106
|
-
if (
|
3115
|
+
if (Tt(this.message, t, this.offset())) {
|
3107
3116
|
for (var r = 0; r < t.length; r++)
|
3108
3117
|
this.bump();
|
3109
3118
|
return !0;
|
@@ -3125,7 +3134,7 @@ var oi = (
|
|
3125
3134
|
break;
|
3126
3135
|
}
|
3127
3136
|
}, e.prototype.bumpSpace = function() {
|
3128
|
-
for (; !this.isEOF() &&
|
3137
|
+
for (; !this.isEOF() && pr(this.char()); )
|
3129
3138
|
this.bump();
|
3130
3139
|
}, e.prototype.peek = function() {
|
3131
3140
|
if (this.isEOF())
|
@@ -3135,204 +3144,204 @@ var oi = (
|
|
3135
3144
|
}, e;
|
3136
3145
|
}()
|
3137
3146
|
);
|
3138
|
-
function
|
3147
|
+
function tt(e) {
|
3139
3148
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3140
3149
|
}
|
3141
|
-
function
|
3142
|
-
return
|
3150
|
+
function gi(e) {
|
3151
|
+
return tt(e) || e === 47;
|
3143
3152
|
}
|
3144
|
-
function
|
3153
|
+
function bi(e) {
|
3145
3154
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
3146
3155
|
}
|
3147
|
-
function
|
3156
|
+
function pr(e) {
|
3148
3157
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3149
3158
|
}
|
3150
|
-
function
|
3159
|
+
function yi(e) {
|
3151
3160
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
3152
3161
|
}
|
3153
|
-
function
|
3162
|
+
function rt(e) {
|
3154
3163
|
e.forEach(function(t) {
|
3155
|
-
if (delete t.location,
|
3164
|
+
if (delete t.location, or(t) || sr(t))
|
3156
3165
|
for (var r in t.options)
|
3157
|
-
delete t.options[r].location,
|
3166
|
+
delete t.options[r].location, rt(t.options[r].value);
|
3158
3167
|
else
|
3159
|
-
|
3168
|
+
rr(t) && lr(t.style) || (nr(t) || ir(t)) && Je(t.style) ? delete t.style.location : ar(t) && rt(t.children);
|
3160
3169
|
});
|
3161
3170
|
}
|
3162
|
-
function
|
3163
|
-
t === void 0 && (t = {}), t =
|
3164
|
-
var r = new
|
3171
|
+
function vi(e, t) {
|
3172
|
+
t === void 0 && (t = {}), t = C({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3173
|
+
var r = new pi(e, t).parse();
|
3165
3174
|
if (r.err) {
|
3166
3175
|
var n = SyntaxError(y[r.err.kind]);
|
3167
3176
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3168
3177
|
}
|
3169
|
-
return t != null && t.captureLocation ||
|
3178
|
+
return t != null && t.captureLocation || rt(r.val), r.val;
|
3170
3179
|
}
|
3171
|
-
var
|
3180
|
+
var ue;
|
3172
3181
|
(function(e) {
|
3173
3182
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3174
|
-
})(
|
3175
|
-
var
|
3183
|
+
})(ue || (ue = {}));
|
3184
|
+
var Oe = (
|
3176
3185
|
/** @class */
|
3177
3186
|
function(e) {
|
3178
|
-
|
3187
|
+
Pe(t, e);
|
3179
3188
|
function t(r, n, i) {
|
3180
|
-
var
|
3181
|
-
return
|
3189
|
+
var s = e.call(this, r) || this;
|
3190
|
+
return s.code = n, s.originalMessage = i, s;
|
3182
3191
|
}
|
3183
3192
|
return t.prototype.toString = function() {
|
3184
3193
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3185
3194
|
}, t;
|
3186
3195
|
}(Error)
|
3187
|
-
),
|
3196
|
+
), It = (
|
3188
3197
|
/** @class */
|
3189
3198
|
function(e) {
|
3190
|
-
|
3191
|
-
function t(r, n, i,
|
3192
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3199
|
+
Pe(t, e);
|
3200
|
+
function t(r, n, i, s) {
|
3201
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ue.INVALID_VALUE, s) || this;
|
3193
3202
|
}
|
3194
3203
|
return t;
|
3195
|
-
}(
|
3196
|
-
),
|
3204
|
+
}(Oe)
|
3205
|
+
), _i = (
|
3197
3206
|
/** @class */
|
3198
3207
|
function(e) {
|
3199
|
-
|
3208
|
+
Pe(t, e);
|
3200
3209
|
function t(r, n, i) {
|
3201
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3210
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ue.INVALID_VALUE, i) || this;
|
3202
3211
|
}
|
3203
3212
|
return t;
|
3204
|
-
}(
|
3205
|
-
),
|
3213
|
+
}(Oe)
|
3214
|
+
), Ei = (
|
3206
3215
|
/** @class */
|
3207
3216
|
function(e) {
|
3208
|
-
|
3217
|
+
Pe(t, e);
|
3209
3218
|
function t(r, n) {
|
3210
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3219
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ue.MISSING_VALUE, n) || this;
|
3211
3220
|
}
|
3212
3221
|
return t;
|
3213
|
-
}(
|
3214
|
-
),
|
3222
|
+
}(Oe)
|
3223
|
+
), F;
|
3215
3224
|
(function(e) {
|
3216
3225
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3217
|
-
})(
|
3218
|
-
function
|
3226
|
+
})(F || (F = {}));
|
3227
|
+
function xi(e) {
|
3219
3228
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3220
3229
|
var n = t[t.length - 1];
|
3221
|
-
return !n || n.type !==
|
3230
|
+
return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
|
3222
3231
|
}, []);
|
3223
3232
|
}
|
3224
|
-
function
|
3233
|
+
function Ci(e) {
|
3225
3234
|
return typeof e == "function";
|
3226
3235
|
}
|
3227
|
-
function
|
3228
|
-
if (e.length === 1 &&
|
3236
|
+
function Be(e, t, r, n, i, s, o) {
|
3237
|
+
if (e.length === 1 && Ct(e[0]))
|
3229
3238
|
return [
|
3230
3239
|
{
|
3231
|
-
type:
|
3240
|
+
type: F.literal,
|
3232
3241
|
value: e[0].value
|
3233
3242
|
}
|
3234
3243
|
];
|
3235
3244
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3236
|
-
var
|
3237
|
-
if (
|
3245
|
+
var c = l[u];
|
3246
|
+
if (Ct(c)) {
|
3238
3247
|
a.push({
|
3239
|
-
type:
|
3240
|
-
value:
|
3248
|
+
type: F.literal,
|
3249
|
+
value: c.value
|
3241
3250
|
});
|
3242
3251
|
continue;
|
3243
3252
|
}
|
3244
|
-
if (
|
3245
|
-
typeof
|
3246
|
-
type:
|
3247
|
-
value: r.getNumberFormat(t).format(
|
3253
|
+
if (Xn(c)) {
|
3254
|
+
typeof s == "number" && a.push({
|
3255
|
+
type: F.literal,
|
3256
|
+
value: r.getNumberFormat(t).format(s)
|
3248
3257
|
});
|
3249
3258
|
continue;
|
3250
3259
|
}
|
3251
|
-
var m =
|
3260
|
+
var m = c.value;
|
3252
3261
|
if (!(i && m in i))
|
3253
|
-
throw new
|
3262
|
+
throw new Ei(m, o);
|
3254
3263
|
var f = i[m];
|
3255
|
-
if (
|
3264
|
+
if (Vn(c)) {
|
3256
3265
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3257
|
-
type: typeof f == "string" ?
|
3266
|
+
type: typeof f == "string" ? F.literal : F.object,
|
3258
3267
|
value: f
|
3259
3268
|
});
|
3260
3269
|
continue;
|
3261
3270
|
}
|
3262
|
-
if (
|
3263
|
-
var p = typeof
|
3271
|
+
if (nr(c)) {
|
3272
|
+
var p = typeof c.style == "string" ? n.date[c.style] : Je(c.style) ? c.style.parsedOptions : void 0;
|
3264
3273
|
a.push({
|
3265
|
-
type:
|
3274
|
+
type: F.literal,
|
3266
3275
|
value: r.getDateTimeFormat(t, p).format(f)
|
3267
3276
|
});
|
3268
3277
|
continue;
|
3269
3278
|
}
|
3270
|
-
if (
|
3271
|
-
var p = typeof
|
3279
|
+
if (ir(c)) {
|
3280
|
+
var p = typeof c.style == "string" ? n.time[c.style] : Je(c.style) ? c.style.parsedOptions : n.time.medium;
|
3272
3281
|
a.push({
|
3273
|
-
type:
|
3282
|
+
type: F.literal,
|
3274
3283
|
value: r.getDateTimeFormat(t, p).format(f)
|
3275
3284
|
});
|
3276
3285
|
continue;
|
3277
3286
|
}
|
3278
|
-
if (
|
3279
|
-
var p = typeof
|
3287
|
+
if (rr(c)) {
|
3288
|
+
var p = typeof c.style == "string" ? n.number[c.style] : lr(c.style) ? c.style.parsedOptions : void 0;
|
3280
3289
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3281
|
-
type:
|
3290
|
+
type: F.literal,
|
3282
3291
|
value: r.getNumberFormat(t, p).format(f)
|
3283
3292
|
});
|
3284
3293
|
continue;
|
3285
3294
|
}
|
3286
|
-
if (
|
3287
|
-
var g =
|
3288
|
-
if (!
|
3289
|
-
throw new
|
3290
|
-
var H =
|
3291
|
-
return
|
3295
|
+
if (ar(c)) {
|
3296
|
+
var g = c.children, b = c.value, d = i[b];
|
3297
|
+
if (!Ci(d))
|
3298
|
+
throw new _i(b, "function", o);
|
3299
|
+
var H = Be(g, t, r, n, i, s), E = d(H.map(function(L) {
|
3300
|
+
return L.value;
|
3292
3301
|
}));
|
3293
|
-
Array.isArray(
|
3302
|
+
Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
|
3294
3303
|
return {
|
3295
|
-
type: typeof
|
3296
|
-
value:
|
3304
|
+
type: typeof L == "string" ? F.literal : F.object,
|
3305
|
+
value: L
|
3297
3306
|
};
|
3298
3307
|
}));
|
3299
3308
|
}
|
3300
|
-
if (
|
3301
|
-
var
|
3302
|
-
if (!
|
3303
|
-
throw new
|
3304
|
-
a.push.apply(a,
|
3309
|
+
if (or(c)) {
|
3310
|
+
var w = c.options[f] || c.options.other;
|
3311
|
+
if (!w)
|
3312
|
+
throw new It(c.value, f, Object.keys(c.options), o);
|
3313
|
+
a.push.apply(a, Be(w.value, t, r, n, i));
|
3305
3314
|
continue;
|
3306
3315
|
}
|
3307
|
-
if (
|
3308
|
-
var
|
3309
|
-
if (!
|
3316
|
+
if (sr(c)) {
|
3317
|
+
var w = c.options["=".concat(f)];
|
3318
|
+
if (!w) {
|
3310
3319
|
if (!Intl.PluralRules)
|
3311
|
-
throw new
|
3320
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
3312
3321
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3313
|
-
`,
|
3314
|
-
var O = r.getPluralRules(t, { type:
|
3315
|
-
|
3322
|
+
`, ue.MISSING_INTL_API, o);
|
3323
|
+
var O = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
|
3324
|
+
w = c.options[O] || c.options.other;
|
3316
3325
|
}
|
3317
|
-
if (!
|
3318
|
-
throw new
|
3319
|
-
a.push.apply(a,
|
3326
|
+
if (!w)
|
3327
|
+
throw new It(c.value, f, Object.keys(c.options), o);
|
3328
|
+
a.push.apply(a, Be(w.value, t, r, n, i, f - (c.offset || 0)));
|
3320
3329
|
continue;
|
3321
3330
|
}
|
3322
3331
|
}
|
3323
|
-
return
|
3332
|
+
return xi(a);
|
3324
3333
|
}
|
3325
|
-
function
|
3326
|
-
return t ?
|
3327
|
-
return r[n] =
|
3334
|
+
function wi(e, t) {
|
3335
|
+
return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3336
|
+
return r[n] = C(C({}, e[n]), t[n] || {}), r;
|
3328
3337
|
}, {})) : e;
|
3329
3338
|
}
|
3330
|
-
function
|
3339
|
+
function Hi(e, t) {
|
3331
3340
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3332
|
-
return r[n] =
|
3333
|
-
},
|
3341
|
+
return r[n] = wi(e[n], t[n]), r;
|
3342
|
+
}, C({}, e)) : e;
|
3334
3343
|
}
|
3335
|
-
function
|
3344
|
+
function We(e) {
|
3336
3345
|
return {
|
3337
3346
|
create: function() {
|
3338
3347
|
return {
|
@@ -3346,77 +3355,77 @@ function je(e) {
|
|
3346
3355
|
}
|
3347
3356
|
};
|
3348
3357
|
}
|
3349
|
-
function
|
3358
|
+
function Si(e) {
|
3350
3359
|
return e === void 0 && (e = {
|
3351
3360
|
number: {},
|
3352
3361
|
dateTime: {},
|
3353
3362
|
pluralRules: {}
|
3354
3363
|
}), {
|
3355
|
-
getNumberFormat:
|
3364
|
+
getNumberFormat: je(function() {
|
3356
3365
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3357
3366
|
r[n] = arguments[n];
|
3358
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3367
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
|
3359
3368
|
}, {
|
3360
|
-
cache:
|
3361
|
-
strategy:
|
3369
|
+
cache: We(e.number),
|
3370
|
+
strategy: Ve.variadic
|
3362
3371
|
}),
|
3363
|
-
getDateTimeFormat:
|
3372
|
+
getDateTimeFormat: je(function() {
|
3364
3373
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3365
3374
|
r[n] = arguments[n];
|
3366
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3375
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
|
3367
3376
|
}, {
|
3368
|
-
cache:
|
3369
|
-
strategy:
|
3377
|
+
cache: We(e.dateTime),
|
3378
|
+
strategy: Ve.variadic
|
3370
3379
|
}),
|
3371
|
-
getPluralRules:
|
3380
|
+
getPluralRules: je(function() {
|
3372
3381
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3373
3382
|
r[n] = arguments[n];
|
3374
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3383
|
+
return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
|
3375
3384
|
}, {
|
3376
|
-
cache:
|
3377
|
-
strategy:
|
3385
|
+
cache: We(e.pluralRules),
|
3386
|
+
strategy: Ve.variadic
|
3378
3387
|
})
|
3379
3388
|
};
|
3380
3389
|
}
|
3381
|
-
var
|
3390
|
+
var Ti = (
|
3382
3391
|
/** @class */
|
3383
3392
|
function() {
|
3384
3393
|
function e(t, r, n, i) {
|
3385
3394
|
r === void 0 && (r = e.defaultLocale);
|
3386
|
-
var
|
3395
|
+
var s = this;
|
3387
3396
|
if (this.formatterCache = {
|
3388
3397
|
number: {},
|
3389
3398
|
dateTime: {},
|
3390
3399
|
pluralRules: {}
|
3391
3400
|
}, this.format = function(u) {
|
3392
|
-
var l =
|
3401
|
+
var l = s.formatToParts(u);
|
3393
3402
|
if (l.length === 1)
|
3394
3403
|
return l[0].value;
|
3395
|
-
var
|
3396
|
-
return !m.length || f.type !==
|
3404
|
+
var c = l.reduce(function(m, f) {
|
3405
|
+
return !m.length || f.type !== F.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
3397
3406
|
}, []);
|
3398
|
-
return
|
3407
|
+
return c.length <= 1 ? c[0] || "" : c;
|
3399
3408
|
}, this.formatToParts = function(u) {
|
3400
|
-
return
|
3409
|
+
return Be(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
|
3401
3410
|
}, this.resolvedOptions = function() {
|
3402
3411
|
var u;
|
3403
3412
|
return {
|
3404
|
-
locale: ((u =
|
3413
|
+
locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
3405
3414
|
};
|
3406
3415
|
}, this.getAst = function() {
|
3407
|
-
return
|
3416
|
+
return s.ast;
|
3408
3417
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
3409
3418
|
if (this.message = t, !e.__parse)
|
3410
3419
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3411
|
-
var
|
3412
|
-
|
3413
|
-
var a =
|
3414
|
-
this.ast = e.__parse(t,
|
3420
|
+
var o = i || {};
|
3421
|
+
o.formatters;
|
3422
|
+
var a = Rn(o, ["formatters"]);
|
3423
|
+
this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
|
3415
3424
|
} else
|
3416
3425
|
this.ast = t;
|
3417
3426
|
if (!Array.isArray(this.ast))
|
3418
3427
|
throw new TypeError("A message must be provided as a String or AST.");
|
3419
|
-
this.formats =
|
3428
|
+
this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
|
3420
3429
|
}
|
3421
3430
|
return Object.defineProperty(e, "defaultLocale", {
|
3422
3431
|
get: function() {
|
@@ -3429,7 +3438,7 @@ var bi = (
|
|
3429
3438
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3430
3439
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3431
3440
|
}
|
3432
|
-
}, e.__parse =
|
3441
|
+
}, e.__parse = vi, e.formats = {
|
3433
3442
|
number: {
|
3434
3443
|
integer: {
|
3435
3444
|
maximumFractionDigits: 0
|
@@ -3490,7 +3499,7 @@ var bi = (
|
|
3490
3499
|
}, e;
|
3491
3500
|
}()
|
3492
3501
|
);
|
3493
|
-
function
|
3502
|
+
function Ai(e, t) {
|
3494
3503
|
if (t == null)
|
3495
3504
|
return;
|
3496
3505
|
if (t in e)
|
@@ -3500,9 +3509,9 @@ function yi(e, t) {
|
|
3500
3509
|
for (let i = 0; i < r.length; i++)
|
3501
3510
|
if (typeof n == "object") {
|
3502
3511
|
if (i > 0) {
|
3503
|
-
const
|
3504
|
-
if (
|
3505
|
-
n = n[
|
3512
|
+
const s = r.slice(i, r.length).join(".");
|
3513
|
+
if (s in n) {
|
3514
|
+
n = n[s];
|
3506
3515
|
break;
|
3507
3516
|
}
|
3508
3517
|
}
|
@@ -3511,92 +3520,92 @@ function yi(e, t) {
|
|
3511
3520
|
n = void 0;
|
3512
3521
|
return n;
|
3513
3522
|
}
|
3514
|
-
const W = {},
|
3523
|
+
const W = {}, Bi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), gr = (e, t) => {
|
3515
3524
|
if (t == null)
|
3516
3525
|
return;
|
3517
3526
|
if (t in W && e in W[t])
|
3518
3527
|
return W[t][e];
|
3519
|
-
const r =
|
3528
|
+
const r = Fe(t);
|
3520
3529
|
for (let n = 0; n < r.length; n++) {
|
3521
|
-
const i = r[n],
|
3522
|
-
if (
|
3523
|
-
return
|
3530
|
+
const i = r[n], s = Mi(i, e);
|
3531
|
+
if (s)
|
3532
|
+
return Bi(e, t, s);
|
3524
3533
|
}
|
3525
3534
|
};
|
3526
|
-
let
|
3527
|
-
const
|
3528
|
-
function
|
3529
|
-
return
|
3535
|
+
let ut;
|
3536
|
+
const fe = Ne({});
|
3537
|
+
function Ii(e) {
|
3538
|
+
return ut[e] || null;
|
3530
3539
|
}
|
3531
|
-
function
|
3532
|
-
return e in
|
3540
|
+
function br(e) {
|
3541
|
+
return e in ut;
|
3533
3542
|
}
|
3534
|
-
function
|
3535
|
-
if (!
|
3543
|
+
function Mi(e, t) {
|
3544
|
+
if (!br(e))
|
3536
3545
|
return null;
|
3537
|
-
const r =
|
3538
|
-
return
|
3546
|
+
const r = Ii(e);
|
3547
|
+
return Ai(r, t);
|
3539
3548
|
}
|
3540
|
-
function
|
3549
|
+
function Li(e) {
|
3541
3550
|
if (e == null)
|
3542
3551
|
return;
|
3543
|
-
const t =
|
3552
|
+
const t = Fe(e);
|
3544
3553
|
for (let r = 0; r < t.length; r++) {
|
3545
3554
|
const n = t[r];
|
3546
|
-
if (
|
3555
|
+
if (br(n))
|
3547
3556
|
return n;
|
3548
3557
|
}
|
3549
3558
|
}
|
3550
|
-
function
|
3551
|
-
delete W[e],
|
3559
|
+
function yr(e, ...t) {
|
3560
|
+
delete W[e], fe.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
|
3552
3561
|
}
|
3553
|
-
|
3554
|
-
[
|
3562
|
+
ce(
|
3563
|
+
[fe],
|
3555
3564
|
([e]) => Object.keys(e)
|
3556
3565
|
);
|
3557
|
-
|
3558
|
-
const
|
3559
|
-
function
|
3560
|
-
|
3566
|
+
fe.subscribe((e) => ut = e);
|
3567
|
+
const Ie = {};
|
3568
|
+
function Ni(e, t) {
|
3569
|
+
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
3561
3570
|
}
|
3562
|
-
function
|
3563
|
-
return
|
3571
|
+
function vr(e) {
|
3572
|
+
return Ie[e];
|
3564
3573
|
}
|
3565
|
-
function
|
3566
|
-
return
|
3567
|
-
const r =
|
3574
|
+
function Pi(e) {
|
3575
|
+
return Fe(e).map((t) => {
|
3576
|
+
const r = vr(t);
|
3568
3577
|
return [t, r ? [...r] : []];
|
3569
3578
|
}).filter(([, t]) => t.length > 0);
|
3570
3579
|
}
|
3571
|
-
function
|
3572
|
-
return e == null ? !1 :
|
3580
|
+
function nt(e) {
|
3581
|
+
return e == null ? !1 : Fe(e).some(
|
3573
3582
|
(t) => {
|
3574
3583
|
var r;
|
3575
|
-
return (r =
|
3584
|
+
return (r = vr(t)) == null ? void 0 : r.size;
|
3576
3585
|
}
|
3577
3586
|
);
|
3578
3587
|
}
|
3579
|
-
function
|
3588
|
+
function Oi(e, t) {
|
3580
3589
|
return Promise.all(
|
3581
|
-
t.map((n) => (
|
3582
|
-
).then((n) =>
|
3583
|
-
}
|
3584
|
-
const
|
3585
|
-
function
|
3586
|
-
if (!
|
3587
|
-
return e in
|
3588
|
-
const t =
|
3589
|
-
return
|
3590
|
+
t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
|
3591
|
+
).then((n) => yr(e, ...n));
|
3592
|
+
}
|
3593
|
+
const ge = {};
|
3594
|
+
function _r(e) {
|
3595
|
+
if (!nt(e))
|
3596
|
+
return e in ge ? ge[e] : Promise.resolve();
|
3597
|
+
const t = Pi(e);
|
3598
|
+
return ge[e] = Promise.all(
|
3590
3599
|
t.map(
|
3591
|
-
([r, n]) =>
|
3600
|
+
([r, n]) => Oi(r, n)
|
3592
3601
|
)
|
3593
3602
|
).then(() => {
|
3594
|
-
if (
|
3595
|
-
return
|
3596
|
-
delete
|
3597
|
-
}),
|
3603
|
+
if (nt(e))
|
3604
|
+
return _r(e);
|
3605
|
+
delete ge[e];
|
3606
|
+
}), ge[e];
|
3598
3607
|
}
|
3599
|
-
const
|
3608
|
+
const Fi = {
|
3600
3609
|
number: {
|
3601
3610
|
scientific: { notation: "scientific" },
|
3602
3611
|
engineering: { notation: "engineering" },
|
@@ -3625,159 +3634,159 @@ const Si = {
|
|
3625
3634
|
timeZoneName: "short"
|
3626
3635
|
}
|
3627
3636
|
}
|
3628
|
-
},
|
3637
|
+
}, Ri = {
|
3629
3638
|
fallbackLocale: null,
|
3630
3639
|
loadingDelay: 200,
|
3631
|
-
formats:
|
3640
|
+
formats: Fi,
|
3632
3641
|
warnOnMissingMessages: !0,
|
3633
3642
|
handleMissingMessage: void 0,
|
3634
3643
|
ignoreTag: !0
|
3635
|
-
},
|
3636
|
-
function
|
3637
|
-
return
|
3644
|
+
}, Di = Ri;
|
3645
|
+
function he() {
|
3646
|
+
return Di;
|
3638
3647
|
}
|
3639
|
-
const
|
3640
|
-
var
|
3648
|
+
const ze = Ne(!1);
|
3649
|
+
var Ui = Object.defineProperty, Gi = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
|
3641
3650
|
for (var r in t || (t = {}))
|
3642
|
-
|
3643
|
-
if (
|
3644
|
-
for (var r of
|
3645
|
-
|
3651
|
+
$i.call(t, r) && Lt(e, r, t[r]);
|
3652
|
+
if (Mt)
|
3653
|
+
for (var r of Mt(t))
|
3654
|
+
ji.call(t, r) && Lt(e, r, t[r]);
|
3646
3655
|
return e;
|
3647
|
-
},
|
3648
|
-
let
|
3649
|
-
const
|
3650
|
-
function
|
3656
|
+
}, Xi = (e, t) => Gi(e, ki(t));
|
3657
|
+
let it;
|
3658
|
+
const Me = Ne(null);
|
3659
|
+
function Nt(e) {
|
3651
3660
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3652
3661
|
}
|
3653
|
-
function
|
3654
|
-
const r =
|
3655
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3662
|
+
function Fe(e, t = he().fallbackLocale) {
|
3663
|
+
const r = Nt(e);
|
3664
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
|
3656
3665
|
}
|
3657
|
-
function
|
3658
|
-
return
|
3666
|
+
function K() {
|
3667
|
+
return it != null ? it : void 0;
|
3659
3668
|
}
|
3660
|
-
|
3661
|
-
|
3669
|
+
Me.subscribe((e) => {
|
3670
|
+
it = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3662
3671
|
});
|
3663
|
-
const
|
3664
|
-
if (e &&
|
3665
|
-
const { loadingDelay: t } =
|
3672
|
+
const Wi = (e) => {
|
3673
|
+
if (e && Li(e) && nt(e)) {
|
3674
|
+
const { loadingDelay: t } = he();
|
3666
3675
|
let r;
|
3667
|
-
return typeof window != "undefined" &&
|
3668
|
-
() =>
|
3676
|
+
return typeof window != "undefined" && K() != null && t ? r = window.setTimeout(
|
3677
|
+
() => ze.set(!0),
|
3669
3678
|
t
|
3670
|
-
) :
|
3671
|
-
|
3679
|
+
) : ze.set(!0), _r(e).then(() => {
|
3680
|
+
Me.set(e);
|
3672
3681
|
}).finally(() => {
|
3673
|
-
clearTimeout(r),
|
3682
|
+
clearTimeout(r), ze.set(!1);
|
3674
3683
|
});
|
3675
3684
|
}
|
3676
|
-
return
|
3677
|
-
}, z =
|
3678
|
-
set:
|
3679
|
-
}),
|
3685
|
+
return Me.set(e);
|
3686
|
+
}, z = Xi(Vi({}, Me), {
|
3687
|
+
set: Wi
|
3688
|
+
}), Re = (e) => {
|
3680
3689
|
const t = /* @__PURE__ */ Object.create(null);
|
3681
3690
|
return (n) => {
|
3682
3691
|
const i = JSON.stringify(n);
|
3683
3692
|
return i in t ? t[i] : t[i] = e(n);
|
3684
3693
|
};
|
3685
3694
|
};
|
3686
|
-
var
|
3695
|
+
var zi = Object.defineProperty, Le = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
3687
3696
|
for (var r in t || (t = {}))
|
3688
|
-
|
3689
|
-
if (
|
3690
|
-
for (var r of
|
3691
|
-
|
3697
|
+
Er.call(t, r) && Pt(e, r, t[r]);
|
3698
|
+
if (Le)
|
3699
|
+
for (var r of Le(t))
|
3700
|
+
xr.call(t, r) && Pt(e, r, t[r]);
|
3692
3701
|
return e;
|
3693
|
-
},
|
3702
|
+
}, me = (e, t) => {
|
3694
3703
|
var r = {};
|
3695
3704
|
for (var n in e)
|
3696
|
-
|
3697
|
-
if (e != null &&
|
3698
|
-
for (var n of
|
3699
|
-
t.indexOf(n) < 0 &&
|
3705
|
+
Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3706
|
+
if (e != null && Le)
|
3707
|
+
for (var n of Le(e))
|
3708
|
+
t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
|
3700
3709
|
return r;
|
3701
3710
|
};
|
3702
|
-
const
|
3703
|
-
const { formats: r } =
|
3711
|
+
const xe = (e, t) => {
|
3712
|
+
const { formats: r } = he();
|
3704
3713
|
if (e in r && t in r[e])
|
3705
3714
|
return r[e][t];
|
3706
3715
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3707
|
-
},
|
3716
|
+
}, Zi = Re(
|
3708
3717
|
(e) => {
|
3709
|
-
var t = e, { locale: r, format: n } = t, i =
|
3718
|
+
var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
|
3710
3719
|
if (r == null)
|
3711
3720
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3712
|
-
return n && (i =
|
3721
|
+
return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
|
3713
3722
|
}
|
3714
|
-
),
|
3723
|
+
), Qi = Re(
|
3715
3724
|
(e) => {
|
3716
|
-
var t = e, { locale: r, format: n } = t, i =
|
3725
|
+
var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
|
3717
3726
|
if (r == null)
|
3718
3727
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3719
|
-
return n ? i =
|
3728
|
+
return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
|
3720
3729
|
}
|
3721
|
-
),
|
3730
|
+
), qi = Re(
|
3722
3731
|
(e) => {
|
3723
|
-
var t = e, { locale: r, format: n } = t, i =
|
3732
|
+
var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
|
3724
3733
|
if (r == null)
|
3725
3734
|
throw new Error(
|
3726
3735
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3727
3736
|
);
|
3728
|
-
return n ? i =
|
3737
|
+
return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
|
3729
3738
|
}
|
3730
|
-
),
|
3739
|
+
), Ji = (e = {}) => {
|
3731
3740
|
var t = e, {
|
3732
|
-
locale: r =
|
3733
|
-
} = t, n =
|
3741
|
+
locale: r = K()
|
3742
|
+
} = t, n = me(t, [
|
3734
3743
|
"locale"
|
3735
3744
|
]);
|
3736
|
-
return
|
3737
|
-
},
|
3745
|
+
return Zi(ht({ locale: r }, n));
|
3746
|
+
}, Yi = (e = {}) => {
|
3738
3747
|
var t = e, {
|
3739
|
-
locale: r =
|
3740
|
-
} = t, n =
|
3748
|
+
locale: r = K()
|
3749
|
+
} = t, n = me(t, [
|
3741
3750
|
"locale"
|
3742
3751
|
]);
|
3743
|
-
return
|
3744
|
-
},
|
3752
|
+
return Qi(ht({ locale: r }, n));
|
3753
|
+
}, Ki = (e = {}) => {
|
3745
3754
|
var t = e, {
|
3746
|
-
locale: r =
|
3747
|
-
} = t, n =
|
3755
|
+
locale: r = K()
|
3756
|
+
} = t, n = me(t, [
|
3748
3757
|
"locale"
|
3749
3758
|
]);
|
3750
|
-
return
|
3751
|
-
},
|
3759
|
+
return qi(ht({ locale: r }, n));
|
3760
|
+
}, eo = Re(
|
3752
3761
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3753
|
-
(e, t =
|
3754
|
-
ignoreTag:
|
3762
|
+
(e, t = K()) => new Ti(e, t, he().formats, {
|
3763
|
+
ignoreTag: he().ignoreTag
|
3755
3764
|
})
|
3756
|
-
),
|
3757
|
-
var r, n, i,
|
3758
|
-
let
|
3759
|
-
typeof e == "object" && (
|
3765
|
+
), to = (e, t = {}) => {
|
3766
|
+
var r, n, i, s;
|
3767
|
+
let o = t;
|
3768
|
+
typeof e == "object" && (o = e, e = o.id);
|
3760
3769
|
const {
|
3761
3770
|
values: a,
|
3762
|
-
locale: u =
|
3771
|
+
locale: u = K(),
|
3763
3772
|
default: l
|
3764
|
-
} =
|
3773
|
+
} = o;
|
3765
3774
|
if (u == null)
|
3766
3775
|
throw new Error(
|
3767
3776
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3768
3777
|
);
|
3769
|
-
let
|
3770
|
-
if (!
|
3771
|
-
|
3772
|
-
else if (typeof
|
3778
|
+
let c = gr(e, u);
|
3779
|
+
if (!c)
|
3780
|
+
c = (s = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
|
3781
|
+
else if (typeof c != "string")
|
3773
3782
|
return console.warn(
|
3774
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
3775
|
-
),
|
3783
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
3784
|
+
), c;
|
3776
3785
|
if (!a)
|
3777
|
-
return
|
3778
|
-
let m =
|
3786
|
+
return c;
|
3787
|
+
let m = c;
|
3779
3788
|
try {
|
3780
|
-
m =
|
3789
|
+
m = eo(c, u).format(a);
|
3781
3790
|
} catch (f) {
|
3782
3791
|
f instanceof Error && console.warn(
|
3783
3792
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3785,24 +3794,24 @@ const ve = (e, t) => {
|
|
3785
3794
|
);
|
3786
3795
|
}
|
3787
3796
|
return m;
|
3788
|
-
},
|
3789
|
-
|
3790
|
-
|
3791
|
-
|
3792
|
-
|
3793
|
-
|
3794
|
-
function
|
3797
|
+
}, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = K()) => gr(e, t);
|
3798
|
+
ce([z, fe], () => to);
|
3799
|
+
ce([z], () => ro);
|
3800
|
+
ce([z], () => no);
|
3801
|
+
ce([z], () => io);
|
3802
|
+
ce([z, fe], () => oo);
|
3803
|
+
function so({ withLocale: e, translations: t }) {
|
3795
3804
|
z.subscribe((r) => {
|
3796
|
-
r == null && (
|
3805
|
+
r == null && (fe.set(t), z.set(e));
|
3797
3806
|
});
|
3798
3807
|
}
|
3799
|
-
function
|
3800
|
-
|
3808
|
+
function Ot(e, t) {
|
3809
|
+
yr(e, t);
|
3801
3810
|
}
|
3802
|
-
function
|
3811
|
+
function ao(e) {
|
3803
3812
|
z.set(e);
|
3804
3813
|
}
|
3805
|
-
const
|
3814
|
+
const Ft = {
|
3806
3815
|
en: {
|
3807
3816
|
login: "Login",
|
3808
3817
|
register: "Register",
|
@@ -3859,310 +3868,310 @@ const Lt = {
|
|
3859
3868
|
deposit: "Deposit"
|
3860
3869
|
}
|
3861
3870
|
};
|
3862
|
-
function
|
3863
|
-
|
3871
|
+
function lo(e) {
|
3872
|
+
Zr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
3864
3873
|
}
|
3865
|
-
function
|
3874
|
+
function Rt(e, t, r) {
|
3866
3875
|
const n = e.slice();
|
3867
|
-
return n[
|
3876
|
+
return n[57] = t[r], n[59] = r, n;
|
3868
3877
|
}
|
3869
|
-
function
|
3878
|
+
function Dt(e, t, r) {
|
3870
3879
|
const n = e.slice();
|
3871
|
-
return n[
|
3880
|
+
return n[60] = t[r], n;
|
3872
3881
|
}
|
3873
|
-
function
|
3882
|
+
function Ut(e, t, r) {
|
3874
3883
|
const n = e.slice();
|
3875
|
-
return n[
|
3884
|
+
return n[63] = t[r], n[65] = r, n;
|
3876
3885
|
}
|
3877
|
-
function
|
3878
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
3886
|
+
function Gt(e) {
|
3887
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
|
3879
3888
|
/*sliderdata*/
|
3880
3889
|
e[9]
|
3881
3890
|
);
|
3882
|
-
const
|
3891
|
+
const s = (o) => (
|
3883
3892
|
/*category*/
|
3884
|
-
|
3893
|
+
o[57].id
|
3885
3894
|
);
|
3886
|
-
for (let
|
3887
|
-
let a =
|
3888
|
-
r.set(u, t[
|
3895
|
+
for (let o = 0; o < i.length; o += 1) {
|
3896
|
+
let a = Rt(e, i, o), u = s(a);
|
3897
|
+
r.set(u, t[o] = Wt(u, a));
|
3889
3898
|
}
|
3890
3899
|
return {
|
3891
3900
|
c() {
|
3892
|
-
for (let
|
3893
|
-
t[
|
3894
|
-
n =
|
3901
|
+
for (let o = 0; o < t.length; o += 1)
|
3902
|
+
t[o].c();
|
3903
|
+
n = ve();
|
3895
3904
|
},
|
3896
|
-
m(
|
3905
|
+
m(o, a) {
|
3897
3906
|
for (let u = 0; u < t.length; u += 1)
|
3898
|
-
t[u] && t[u].m(
|
3899
|
-
|
3907
|
+
t[u] && t[u].m(o, a);
|
3908
|
+
k(o, n, a);
|
3900
3909
|
},
|
3901
|
-
p(
|
3910
|
+
p(o, a) {
|
3902
3911
|
a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
3903
|
-
|
3912
|
+
1183695 && (i = se(
|
3904
3913
|
/*sliderdata*/
|
3905
|
-
|
3906
|
-
), t =
|
3914
|
+
o[9]
|
3915
|
+
), t = Jt(t, a, s, 1, o, i, r, n.parentNode, qt, Wt, n, Rt));
|
3907
3916
|
},
|
3908
|
-
d(
|
3909
|
-
|
3917
|
+
d(o) {
|
3918
|
+
o && U(n);
|
3910
3919
|
for (let a = 0; a < t.length; a += 1)
|
3911
|
-
t[a].d(
|
3920
|
+
t[a].d(o);
|
3912
3921
|
}
|
3913
3922
|
};
|
3914
3923
|
}
|
3915
|
-
function
|
3924
|
+
function uo(e) {
|
3916
3925
|
let t, r = (
|
3917
3926
|
/*category*/
|
3918
|
-
e[
|
3927
|
+
e[57].name + ""
|
3919
3928
|
), n;
|
3920
3929
|
return {
|
3921
3930
|
c() {
|
3922
|
-
t =
|
3931
|
+
t = P("button"), n = Ce(r), T(t, "class", "CategoryButton");
|
3923
3932
|
},
|
3924
|
-
m(i,
|
3925
|
-
|
3933
|
+
m(i, s) {
|
3934
|
+
k(i, t, s), M(t, n);
|
3926
3935
|
},
|
3927
|
-
p(i,
|
3928
|
-
|
3936
|
+
p(i, s) {
|
3937
|
+
s[0] & /*sliderdata*/
|
3929
3938
|
512 && r !== (r = /*category*/
|
3930
|
-
i[
|
3939
|
+
i[57].name + "") && st(n, r);
|
3931
3940
|
},
|
3932
3941
|
d(i) {
|
3933
|
-
i &&
|
3942
|
+
i && U(t);
|
3934
3943
|
}
|
3935
3944
|
};
|
3936
3945
|
}
|
3937
|
-
function
|
3946
|
+
function ho(e) {
|
3938
3947
|
let t, r = (
|
3939
3948
|
/*category*/
|
3940
|
-
e[
|
3949
|
+
e[57].label + ""
|
3941
3950
|
), n, i;
|
3942
3951
|
return {
|
3943
3952
|
c() {
|
3944
|
-
t =
|
3945
|
-
e[
|
3953
|
+
t = P("a"), n = Ce(r), T(t, "href", i = /*category*/
|
3954
|
+
e[57].path);
|
3946
3955
|
},
|
3947
|
-
m(
|
3948
|
-
|
3956
|
+
m(s, o) {
|
3957
|
+
k(s, t, o), M(t, n);
|
3949
3958
|
},
|
3950
|
-
p(
|
3951
|
-
|
3959
|
+
p(s, o) {
|
3960
|
+
o[0] & /*sliderdata*/
|
3952
3961
|
512 && r !== (r = /*category*/
|
3953
|
-
|
3962
|
+
s[57].label + "") && st(n, r), o[0] & /*sliderdata*/
|
3954
3963
|
512 && i !== (i = /*category*/
|
3955
|
-
|
3964
|
+
s[57].path) && T(t, "href", i);
|
3956
3965
|
},
|
3957
|
-
d(
|
3958
|
-
|
3966
|
+
d(s) {
|
3967
|
+
s && U(t);
|
3959
3968
|
}
|
3960
3969
|
};
|
3961
3970
|
}
|
3962
|
-
function
|
3971
|
+
function kt(e) {
|
3963
3972
|
let t, r = (
|
3964
3973
|
/*subGroupsData*/
|
3965
3974
|
e[10].length > 0 && /*showsubgroups*/
|
3966
|
-
e[2] == "true" &&
|
3975
|
+
e[2] == "true" && $t(e)
|
3967
3976
|
);
|
3968
3977
|
return {
|
3969
3978
|
c() {
|
3970
|
-
r && r.c(), t =
|
3979
|
+
r && r.c(), t = ve();
|
3971
3980
|
},
|
3972
3981
|
m(n, i) {
|
3973
|
-
r && r.m(n, i),
|
3982
|
+
r && r.m(n, i), k(n, t, i);
|
3974
3983
|
},
|
3975
3984
|
p(n, i) {
|
3976
3985
|
/*subGroupsData*/
|
3977
3986
|
n[10].length > 0 && /*showsubgroups*/
|
3978
|
-
n[2] == "true" ? r ? r.p(n, i) : (r =
|
3987
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = $t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3979
3988
|
},
|
3980
3989
|
d(n) {
|
3981
|
-
n &&
|
3990
|
+
n && U(t), r && r.d(n);
|
3982
3991
|
}
|
3983
3992
|
};
|
3984
3993
|
}
|
3985
|
-
function
|
3986
|
-
let t, r =
|
3994
|
+
function $t(e) {
|
3995
|
+
let t, r = se(
|
3987
3996
|
/*subGroupsData*/
|
3988
3997
|
e[10]
|
3989
3998
|
), n = [];
|
3990
3999
|
for (let i = 0; i < r.length; i += 1)
|
3991
|
-
n[i] =
|
4000
|
+
n[i] = Xt(Dt(e, r, i));
|
3992
4001
|
return {
|
3993
4002
|
c() {
|
3994
|
-
t =
|
4003
|
+
t = P("ul");
|
3995
4004
|
for (let i = 0; i < n.length; i += 1)
|
3996
4005
|
n[i].c();
|
3997
|
-
|
4006
|
+
T(t, "class", "DropDown");
|
3998
4007
|
},
|
3999
|
-
m(i,
|
4000
|
-
|
4001
|
-
for (let
|
4002
|
-
n[
|
4008
|
+
m(i, s) {
|
4009
|
+
k(i, t, s);
|
4010
|
+
for (let o = 0; o < n.length; o += 1)
|
4011
|
+
n[o] && n[o].m(t, null);
|
4003
4012
|
},
|
4004
|
-
p(i,
|
4005
|
-
if (
|
4006
|
-
|
4007
|
-
r =
|
4013
|
+
p(i, s) {
|
4014
|
+
if (s[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
4015
|
+
133056) {
|
4016
|
+
r = se(
|
4008
4017
|
/*subGroupsData*/
|
4009
4018
|
i[10]
|
4010
4019
|
);
|
4011
|
-
let
|
4012
|
-
for (
|
4013
|
-
const a =
|
4014
|
-
n[
|
4020
|
+
let o;
|
4021
|
+
for (o = 0; o < r.length; o += 1) {
|
4022
|
+
const a = Dt(i, r, o);
|
4023
|
+
n[o] ? n[o].p(a, s) : (n[o] = Xt(a), n[o].c(), n[o].m(t, null));
|
4015
4024
|
}
|
4016
|
-
for (;
|
4017
|
-
n[
|
4025
|
+
for (; o < n.length; o += 1)
|
4026
|
+
n[o].d(1);
|
4018
4027
|
n.length = r.length;
|
4019
4028
|
}
|
4020
4029
|
},
|
4021
4030
|
d(i) {
|
4022
|
-
i &&
|
4031
|
+
i && U(t), Jr(n, i);
|
4023
4032
|
}
|
4024
4033
|
};
|
4025
4034
|
}
|
4026
|
-
function
|
4027
|
-
var
|
4035
|
+
function jt(e) {
|
4036
|
+
var c;
|
4028
4037
|
let t, r, n = (
|
4029
4038
|
/*subGroupItem*/
|
4030
|
-
((
|
4031
|
-
), i,
|
4039
|
+
((c = e[63]) == null ? void 0 : c.name) + ""
|
4040
|
+
), i, s, o, a, u;
|
4032
4041
|
function l(...m) {
|
4033
4042
|
return (
|
4034
|
-
/*
|
4035
|
-
e[
|
4043
|
+
/*click_handler_2*/
|
4044
|
+
e[38](
|
4036
4045
|
/*category*/
|
4037
|
-
e[
|
4046
|
+
e[57],
|
4038
4047
|
/*index*/
|
4039
|
-
e[
|
4048
|
+
e[59],
|
4040
4049
|
/*subGroupItem*/
|
4041
|
-
e[
|
4050
|
+
e[63],
|
4042
4051
|
/*subindex*/
|
4043
|
-
e[
|
4052
|
+
e[65],
|
4044
4053
|
...m
|
4045
4054
|
)
|
4046
4055
|
);
|
4047
4056
|
}
|
4048
4057
|
return {
|
4049
4058
|
c() {
|
4050
|
-
t =
|
4051
|
-
(e[
|
4059
|
+
t = P("li"), r = P("a"), i = Ce(n), o = J(), T(r, "class", s = "SubDropDown " + /*index*/
|
4060
|
+
(e[59] == /*activeIndex*/
|
4052
4061
|
e[6] && /*activeSubIndex*/
|
4053
4062
|
(e[7] == /*subindex*/
|
4054
|
-
e[
|
4063
|
+
e[65] || /*prevSubIndex*/
|
4055
4064
|
e[8] == /*subindex*/
|
4056
|
-
e[
|
4065
|
+
e[65]) ? "active" : ""));
|
4057
4066
|
},
|
4058
4067
|
m(m, f) {
|
4059
|
-
|
4068
|
+
k(m, t, f), M(t, r), M(r, i), M(t, o), a || (u = V(t, "click", l), a = !0);
|
4060
4069
|
},
|
4061
4070
|
p(m, f) {
|
4062
4071
|
var p;
|
4063
4072
|
e = m, f[0] & /*subGroupsData*/
|
4064
4073
|
1024 && n !== (n = /*subGroupItem*/
|
4065
|
-
((p = e[
|
4066
|
-
1984 &&
|
4067
|
-
(e[
|
4074
|
+
((p = e[63]) == null ? void 0 : p.name) + "") && st(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4075
|
+
1984 && s !== (s = "SubDropDown " + /*index*/
|
4076
|
+
(e[59] == /*activeIndex*/
|
4068
4077
|
e[6] && /*activeSubIndex*/
|
4069
4078
|
(e[7] == /*subindex*/
|
4070
|
-
e[
|
4079
|
+
e[65] || /*prevSubIndex*/
|
4071
4080
|
e[8] == /*subindex*/
|
4072
|
-
e[
|
4081
|
+
e[65]) ? "active" : "")) && T(r, "class", s);
|
4073
4082
|
},
|
4074
4083
|
d(m) {
|
4075
|
-
m &&
|
4084
|
+
m && U(t), a = !1, u();
|
4076
4085
|
}
|
4077
4086
|
};
|
4078
4087
|
}
|
4079
|
-
function
|
4088
|
+
function Vt(e, t) {
|
4080
4089
|
let r, n, i = (
|
4081
4090
|
/*index*/
|
4082
|
-
t[
|
4083
|
-
t[
|
4091
|
+
t[59] == /*subGroup*/
|
4092
|
+
t[60].index && jt(t)
|
4084
4093
|
);
|
4085
4094
|
return {
|
4086
4095
|
key: e,
|
4087
4096
|
first: null,
|
4088
4097
|
c() {
|
4089
|
-
r =
|
4098
|
+
r = ve(), i && i.c(), n = ve(), this.first = r;
|
4090
4099
|
},
|
4091
|
-
m(
|
4092
|
-
|
4100
|
+
m(s, o) {
|
4101
|
+
k(s, r, o), i && i.m(s, o), k(s, n, o);
|
4093
4102
|
},
|
4094
|
-
p(
|
4095
|
-
t =
|
4096
|
-
t[
|
4097
|
-
t[
|
4103
|
+
p(s, o) {
|
4104
|
+
t = s, /*index*/
|
4105
|
+
t[59] == /*subGroup*/
|
4106
|
+
t[60].index ? i ? i.p(t, o) : (i = jt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4098
4107
|
},
|
4099
|
-
d(
|
4100
|
-
|
4108
|
+
d(s) {
|
4109
|
+
s && (U(r), U(n)), i && i.d(s);
|
4101
4110
|
}
|
4102
4111
|
};
|
4103
4112
|
}
|
4104
|
-
function
|
4105
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
4113
|
+
function Xt(e) {
|
4114
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
|
4106
4115
|
/*subGroup*/
|
4107
|
-
e[
|
4116
|
+
e[60].items
|
4108
4117
|
);
|
4109
|
-
const
|
4118
|
+
const s = (o) => (
|
4110
4119
|
/*subGroupItem*/
|
4111
|
-
|
4120
|
+
o[63].id
|
4112
4121
|
);
|
4113
|
-
for (let
|
4114
|
-
let a =
|
4115
|
-
r.set(u, t[
|
4122
|
+
for (let o = 0; o < i.length; o += 1) {
|
4123
|
+
let a = Ut(e, i, o), u = s(a);
|
4124
|
+
r.set(u, t[o] = Vt(u, a));
|
4116
4125
|
}
|
4117
4126
|
return {
|
4118
4127
|
c() {
|
4119
|
-
for (let
|
4120
|
-
t[
|
4121
|
-
n =
|
4128
|
+
for (let o = 0; o < t.length; o += 1)
|
4129
|
+
t[o].c();
|
4130
|
+
n = ve();
|
4122
4131
|
},
|
4123
|
-
m(
|
4132
|
+
m(o, a) {
|
4124
4133
|
for (let u = 0; u < t.length; u += 1)
|
4125
|
-
t[u] && t[u].m(
|
4126
|
-
|
4134
|
+
t[u] && t[u].m(o, a);
|
4135
|
+
k(o, n, a);
|
4127
4136
|
},
|
4128
|
-
p(
|
4137
|
+
p(o, a) {
|
4129
4138
|
a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
4130
|
-
|
4139
|
+
133056 && (i = se(
|
4131
4140
|
/*subGroup*/
|
4132
|
-
|
4133
|
-
), t =
|
4141
|
+
o[60].items
|
4142
|
+
), t = Jt(t, a, s, 1, o, i, r, n.parentNode, qt, Vt, n, Ut));
|
4134
4143
|
},
|
4135
|
-
d(
|
4136
|
-
|
4144
|
+
d(o) {
|
4145
|
+
o && U(n);
|
4137
4146
|
for (let a = 0; a < t.length; a += 1)
|
4138
|
-
t[a].d(
|
4147
|
+
t[a].d(o);
|
4139
4148
|
}
|
4140
4149
|
};
|
4141
4150
|
}
|
4142
|
-
function
|
4143
|
-
let r, n, i,
|
4144
|
-
function p(
|
4151
|
+
function Wt(e, t) {
|
4152
|
+
let r, n, i, s, o, a, u, l, c, m, f;
|
4153
|
+
function p(E, w) {
|
4145
4154
|
return (
|
4146
4155
|
/*location*/
|
4147
|
-
|
4156
|
+
E[0] === "headerMain" ? ho : uo
|
4148
4157
|
);
|
4149
4158
|
}
|
4150
4159
|
let g = p(t), b = g(t), d = (
|
4151
4160
|
/*itemsActive*/
|
4152
4161
|
t[11][
|
4153
4162
|
/*index*/
|
4154
|
-
t[
|
4155
|
-
] == !0 &&
|
4163
|
+
t[59]
|
4164
|
+
] == !0 && kt(t)
|
4156
4165
|
);
|
4157
|
-
function H(...
|
4166
|
+
function H(...E) {
|
4158
4167
|
return (
|
4159
|
-
/*
|
4160
|
-
t[
|
4168
|
+
/*click_handler_3*/
|
4169
|
+
t[39](
|
4161
4170
|
/*category*/
|
4162
|
-
t[
|
4171
|
+
t[57],
|
4163
4172
|
/*index*/
|
4164
|
-
t[
|
4165
|
-
...
|
4173
|
+
t[59],
|
4174
|
+
...E
|
4166
4175
|
)
|
4167
4176
|
);
|
4168
4177
|
}
|
@@ -4170,426 +4179,476 @@ function jt(e, t) {
|
|
4170
4179
|
key: e,
|
4171
4180
|
first: null,
|
4172
4181
|
c() {
|
4173
|
-
var
|
4174
|
-
r =
|
4175
|
-
(t[3] === "true" ? "" : "DisplayNone")),
|
4176
|
-
t[
|
4182
|
+
var E, w;
|
4183
|
+
r = P("li"), n = P("div"), i = P("img"), a = J(), b.c(), u = J(), d && d.c(), l = J(), T(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
|
4184
|
+
(t[3] === "true" ? "" : "DisplayNone")), _t(i.src, o = /*handleSrc*/
|
4185
|
+
t[20](
|
4177
4186
|
/*category*/
|
4178
|
-
t[
|
4179
|
-
)) ||
|
4180
|
-
(((
|
4187
|
+
t[57]
|
4188
|
+
)) || T(i, "src", o), T(n, "class", "CategoryIcon"), T(r, "class", c = "CarouselItem " + /*activeindex*/
|
4189
|
+
(((E = t[1]) == null ? void 0 : E.toString().indexOf("$")) > -1 ? (
|
4181
4190
|
/*activeindex*/
|
4182
|
-
((
|
4183
|
-
t[
|
4191
|
+
((w = t[1]) == null ? void 0 : w.split("$").pop()) == /*category*/
|
4192
|
+
t[57].id.split("$").pop() ? "active" : ""
|
4184
4193
|
) : (
|
4185
4194
|
/*activeindex*/
|
4186
4195
|
t[1] == /*category*/
|
4187
|
-
t[
|
4196
|
+
t[57].id ? "active" : ""
|
4188
4197
|
)) + " " + /*location*/
|
4189
4198
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4190
4199
|
},
|
4191
|
-
m(
|
4192
|
-
|
4200
|
+
m(E, w) {
|
4201
|
+
k(E, r, w), M(r, n), M(n, i), M(r, a), b.m(r, null), M(r, u), d && d.m(r, null), M(r, l), m || (f = V(r, "click", H), m = !0);
|
4193
4202
|
},
|
4194
|
-
p(
|
4195
|
-
var O,
|
4196
|
-
t =
|
4197
|
-
8 &&
|
4198
|
-
(t[3] === "true" ? "" : "DisplayNone")) &&
|
4199
|
-
512 && !
|
4200
|
-
t[
|
4203
|
+
p(E, w) {
|
4204
|
+
var O, L;
|
4205
|
+
t = E, w[0] & /*categoriesicon*/
|
4206
|
+
8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
|
4207
|
+
(t[3] === "true" ? "" : "DisplayNone")) && T(i, "class", s), w[0] & /*sliderdata*/
|
4208
|
+
512 && !_t(i.src, o = /*handleSrc*/
|
4209
|
+
t[20](
|
4201
4210
|
/*category*/
|
4202
|
-
t[
|
4203
|
-
)) &&
|
4211
|
+
t[57]
|
4212
|
+
)) && T(i, "src", o), g === (g = p(t)) && b ? b.p(t, w) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
|
4204
4213
|
t[11][
|
4205
4214
|
/*index*/
|
4206
|
-
t[
|
4207
|
-
] == !0 ? d ? d.p(t,
|
4208
|
-
515 &&
|
4215
|
+
t[59]
|
4216
|
+
] == !0 ? d ? d.p(t, w) : (d = kt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
|
4217
|
+
515 && c !== (c = "CarouselItem " + /*activeindex*/
|
4209
4218
|
(((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
|
4210
4219
|
/*activeindex*/
|
4211
|
-
((
|
4212
|
-
t[
|
4220
|
+
((L = t[1]) == null ? void 0 : L.split("$").pop()) == /*category*/
|
4221
|
+
t[57].id.split("$").pop() ? "active" : ""
|
4213
4222
|
) : (
|
4214
4223
|
/*activeindex*/
|
4215
4224
|
t[1] == /*category*/
|
4216
|
-
t[
|
4225
|
+
t[57].id ? "active" : ""
|
4217
4226
|
)) + " " + /*location*/
|
4218
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
4227
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && T(r, "class", c);
|
4219
4228
|
},
|
4220
|
-
d(
|
4221
|
-
|
4229
|
+
d(E) {
|
4230
|
+
E && U(r), b.d(), d && d.d(), m = !1, f();
|
4222
4231
|
}
|
4223
4232
|
};
|
4224
4233
|
}
|
4225
|
-
function
|
4226
|
-
let t, r, n, i,
|
4234
|
+
function co(e) {
|
4235
|
+
let t, r, n, i, s, o, a, u, l, c, m, f, p, g, b, d = (
|
4227
4236
|
/*sliderdata*/
|
4228
|
-
e[9].length > 0 &&
|
4237
|
+
e[9].length > 0 && Gt(e)
|
4229
4238
|
);
|
4230
4239
|
return {
|
4231
4240
|
c() {
|
4232
|
-
t =
|
4233
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
4234
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
4241
|
+
t = P("div"), r = P("div"), n = P("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = J(), s = P("div"), o = P("ul"), a = P("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = J(), d && d.c(), l = J(), c = P("div"), c.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', T(n, "class", "CarouselLeftArrow"), T(a, "class", "TouchOnly"), T(o, "id", "CarouselNav"), T(o, "class", "CarouselItems"), T(s, "class", "CarouselNavWrap scroller"), T(c, "class", "CarouselRightArrow"), T(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4242
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), T(r, "style", f = /*location*/
|
4243
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), T(t, "class", p = "CarouselWrapper " + /*location*/
|
4235
4244
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4236
4245
|
},
|
4237
|
-
m(H,
|
4238
|
-
|
4239
|
-
|
4246
|
+
m(H, E) {
|
4247
|
+
k(H, t, E), M(t, r), M(r, n), M(r, i), M(r, s), M(s, o), M(o, a), M(o, u), d && d.m(o, null), e[40](o), e[41](s), M(r, l), M(r, c), e[43](t), g || (b = [
|
4248
|
+
V(
|
4240
4249
|
n,
|
4241
4250
|
"click",
|
4242
|
-
/*
|
4243
|
-
e[
|
4251
|
+
/*click_handler_1*/
|
4252
|
+
e[37]
|
4253
|
+
),
|
4254
|
+
V(
|
4255
|
+
o,
|
4256
|
+
"mousedown",
|
4257
|
+
/*handleMouseDown*/
|
4258
|
+
e[13]
|
4259
|
+
),
|
4260
|
+
V(
|
4261
|
+
o,
|
4262
|
+
"mouseleave",
|
4263
|
+
/*handleMouseLeave*/
|
4264
|
+
e[14]
|
4244
4265
|
),
|
4245
|
-
|
4246
|
-
|
4266
|
+
V(
|
4267
|
+
o,
|
4268
|
+
"mouseup",
|
4269
|
+
/*handleMouseUp*/
|
4270
|
+
e[15]
|
4271
|
+
),
|
4272
|
+
V(
|
4273
|
+
o,
|
4274
|
+
"mousemove",
|
4275
|
+
/*handleMouseMove*/
|
4276
|
+
e[16]
|
4277
|
+
),
|
4278
|
+
V(o, "click", Yr(
|
4279
|
+
/*click_handler*/
|
4280
|
+
e[36]
|
4281
|
+
)),
|
4282
|
+
V(
|
4283
|
+
c,
|
4247
4284
|
"click",
|
4248
|
-
/*
|
4249
|
-
e[
|
4285
|
+
/*click_handler_4*/
|
4286
|
+
e[42]
|
4250
4287
|
)
|
4251
4288
|
], g = !0);
|
4252
4289
|
},
|
4253
|
-
p(H,
|
4290
|
+
p(H, E) {
|
4254
4291
|
/*sliderdata*/
|
4255
|
-
H[9].length > 0 ? d ? d.p(H,
|
4292
|
+
H[9].length > 0 ? d ? d.p(H, E) : (d = Gt(H), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
|
4256
4293
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4257
|
-
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) &&
|
4294
|
+
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && T(r, "class", m), E[0] & /*location*/
|
4258
4295
|
1 && f !== (f = /*location*/
|
4259
|
-
H[0] === "headerMain" ? "max-width: auto" : void 0) &&
|
4296
|
+
H[0] === "headerMain" ? "max-width: auto" : void 0) && T(r, "style", f), E[0] & /*location*/
|
4260
4297
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4261
|
-
(H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) &&
|
4298
|
+
(H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && T(t, "class", p);
|
4262
4299
|
},
|
4263
|
-
i:
|
4264
|
-
o:
|
4300
|
+
i: $,
|
4301
|
+
o: $,
|
4265
4302
|
d(H) {
|
4266
|
-
H &&
|
4303
|
+
H && U(t), d && d.d(), e[40](null), e[41](null), e[43](null), g = !1, Y(b);
|
4267
4304
|
}
|
4268
4305
|
};
|
4269
4306
|
}
|
4270
|
-
function
|
4271
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname:
|
4272
|
-
|
4273
|
-
|
4274
|
-
|
4275
|
-
|
4276
|
-
|
4307
|
+
function fo(e, t, r) {
|
4308
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: L = "" } = t, v;
|
4309
|
+
so({ withLocale: "en", translations: {} });
|
4310
|
+
let S = !1, R = 0, D = 0;
|
4311
|
+
const ee = (h) => {
|
4312
|
+
var x, I;
|
4313
|
+
h.preventDefault(), S = !0, v == null || v.classList.add("dragging"), R = h.pageX - ((x = v == null ? void 0 : v.offsetLeft) != null ? x : 0), D = (I = v == null ? void 0 : v.scrollLeft) != null ? I : 0;
|
4314
|
+
}, Cr = (h) => {
|
4315
|
+
h.preventDefault(), S = !1, v == null || v.classList.remove("dragging");
|
4316
|
+
}, wr = (h) => {
|
4317
|
+
S = !1, v == null || v.classList.remove("dragging");
|
4318
|
+
}, Hr = (h) => {
|
4319
|
+
if (!S || !v)
|
4320
|
+
return;
|
4321
|
+
h.preventDefault();
|
4322
|
+
const I = (h.pageX - v.offsetLeft - R) * 2.5;
|
4323
|
+
r(5, v.scrollLeft = D - I, v);
|
4324
|
+
}, Sr = () => {
|
4325
|
+
fetch(f).then((x) => x.json()).then((x) => {
|
4326
|
+
Object.keys(x).forEach((I) => {
|
4327
|
+
Ot(I, x[I]);
|
4277
4328
|
});
|
4278
|
-
}).catch((
|
4279
|
-
console.log(
|
4329
|
+
}).catch((x) => {
|
4330
|
+
console.log(x);
|
4280
4331
|
});
|
4281
4332
|
};
|
4282
|
-
Object.keys(
|
4283
|
-
|
4333
|
+
Object.keys(Ft).forEach((h) => {
|
4334
|
+
Ot(h, Ft[h]);
|
4284
4335
|
});
|
4285
|
-
let
|
4286
|
-
var
|
4287
|
-
if (!(
|
4288
|
-
if (
|
4336
|
+
let Z, de, De, j, pe = [], we = [], te = [], N, Ue = (h, x, I, Q, X) => {
|
4337
|
+
var q;
|
4338
|
+
if (!(h.subGroups && Q === null)) {
|
4339
|
+
if (He(), r(6, Z = x), r(6, Z), X != "secondary") {
|
4289
4340
|
window.postMessage(
|
4290
4341
|
{
|
4291
|
-
type:
|
4342
|
+
type: o == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
4292
4343
|
buzz: "1",
|
4293
|
-
itemId:
|
4294
|
-
index:
|
4295
|
-
item:
|
4296
|
-
path:
|
4297
|
-
externalLink:
|
4298
|
-
target: ((
|
4344
|
+
itemId: h.id,
|
4345
|
+
index: x,
|
4346
|
+
item: h,
|
4347
|
+
path: h.path,
|
4348
|
+
externalLink: h.externalLink || !1,
|
4349
|
+
target: ((q = h.attrs) == null ? void 0 : q.target) || null
|
4299
4350
|
},
|
4300
4351
|
window.location.href
|
4301
|
-
), r(7,
|
4352
|
+
), r(7, de = null), r(8, De = null);
|
4302
4353
|
return;
|
4303
4354
|
}
|
4304
|
-
r(7,
|
4355
|
+
r(7, de = Q), r(7, de), r(8, De = de), window.postMessage(
|
4305
4356
|
{
|
4306
|
-
type:
|
4307
|
-
itemId:
|
4308
|
-
subIndex:
|
4309
|
-
subItem:
|
4357
|
+
type: o,
|
4358
|
+
itemId: I.id,
|
4359
|
+
subIndex: Q,
|
4360
|
+
subItem: I
|
4310
4361
|
},
|
4311
4362
|
window.location.href
|
4312
4363
|
);
|
4313
4364
|
}
|
4314
|
-
},
|
4315
|
-
N && (
|
4316
|
-
},
|
4317
|
-
N && (
|
4365
|
+
}, ct = () => {
|
4366
|
+
N && (te.length !== Z ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4367
|
+
}, ft = () => {
|
4368
|
+
N && (te.length !== Z ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
|
4318
4369
|
};
|
4319
|
-
const
|
4320
|
-
|
4321
|
-
|
4370
|
+
const mt = (h) => {
|
4371
|
+
h.data.type == "SliderData" && h.data.identity == m && (r(9, pe = h.data.data), r(11, te = new Array(pe.length).fill(!1)), H == "true" && Br()), h.data.type == "GoToHomepage" && pe.forEach((x, I) => {
|
4372
|
+
x.path.endsWith("/casino") && (r(6, Z = I), r(6, Z));
|
4322
4373
|
});
|
4323
|
-
},
|
4324
|
-
|
4325
|
-
},
|
4326
|
-
if (u == "secondaryMenu" && n && i && b &&
|
4327
|
-
let
|
4328
|
-
fetch(
|
4329
|
-
X.index =
|
4374
|
+
}, Tr = () => {
|
4375
|
+
ao(b);
|
4376
|
+
}, Ar = (h, x, I) => {
|
4377
|
+
if (u == "secondaryMenu" && n && i && b && h.id) {
|
4378
|
+
let Q = new URL(`${n}/v1/casino/groups/${i}/${h.id}/subGroups?language=${b}`);
|
4379
|
+
fetch(Q.href).then((X) => X.json()).then((X) => {
|
4380
|
+
X.index = x, r(10, we = we.concat(X)), H == "false" && window.postMessage(
|
4330
4381
|
{
|
4331
|
-
type:
|
4332
|
-
itemId:
|
4333
|
-
index:
|
4334
|
-
item:
|
4382
|
+
type: o,
|
4383
|
+
itemId: h.id,
|
4384
|
+
index: x,
|
4385
|
+
item: h
|
4335
4386
|
},
|
4336
4387
|
window.location.href
|
4337
4388
|
);
|
4338
|
-
const
|
4339
|
-
|
4340
|
-
|
4341
|
-
}),
|
4389
|
+
const q = [];
|
4390
|
+
we.map((Ur) => (Ur.items.forEach((dt) => {
|
4391
|
+
q.find((Gr) => dt.id == Gr) || q.push(dt.id);
|
4392
|
+
}), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
|
4342
4393
|
}).then(() => {
|
4343
|
-
|
4394
|
+
v.querySelectorAll(".DropDown") && He();
|
4344
4395
|
});
|
4345
4396
|
}
|
4346
|
-
u == "headerMain" && window.postMessage({ type:
|
4347
|
-
},
|
4348
|
-
const
|
4397
|
+
u == "headerMain" && window.postMessage({ type: o, item: h }, window.location.href);
|
4398
|
+
}, He = () => {
|
4399
|
+
const h = v.querySelectorAll(".DropDown");
|
4349
4400
|
document.activeElement.blur(), N.classList.add("isScrolling");
|
4350
|
-
for (let
|
4351
|
-
|
4401
|
+
for (let x = 0; x < h.length; x++)
|
4402
|
+
h[x].style.transform = "translateX(-" + N.scrollLeft + "px)";
|
4352
4403
|
N.classList.remove("isScrolling");
|
4353
|
-
},
|
4354
|
-
|
4355
|
-
var
|
4356
|
-
((
|
4404
|
+
}, Br = () => {
|
4405
|
+
pe.forEach((h, x) => {
|
4406
|
+
var I;
|
4407
|
+
((I = h == null ? void 0 : h.subGroups) == null ? void 0 : I.count) > 0 && (r(11, te[x] = !0, te), Ar(h, x));
|
4357
4408
|
});
|
4358
|
-
},
|
4359
|
-
let
|
4360
|
-
return
|
4409
|
+
}, Ir = (h) => {
|
4410
|
+
let x = "";
|
4411
|
+
return h.id === "LOBBY" ? x = w : h.id === "MYGAMES" && (x = O), h.icon || x;
|
4361
4412
|
};
|
4362
|
-
|
4413
|
+
rn(() => (window.addEventListener("message", mt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4363
4414
|
() => {
|
4364
|
-
N.addEventListener("scroll",
|
4415
|
+
N.addEventListener("scroll", He);
|
4365
4416
|
},
|
4366
4417
|
500
|
4367
4418
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4368
|
-
window.removeEventListener("message",
|
4419
|
+
window.removeEventListener("message", mt), v.removeEventListener("scroll", He);
|
4369
4420
|
}));
|
4370
|
-
|
4371
|
-
|
4372
|
-
}
|
4373
|
-
|
4421
|
+
function Mr(h) {
|
4422
|
+
nn.call(this, e, h);
|
4423
|
+
}
|
4424
|
+
const Lr = () => ct(), Nr = (h, x, I, Q, X) => {
|
4425
|
+
Ue(h, x, I, Q, "secondary"), X.stopPropagation();
|
4426
|
+
}, Pr = (h, x, I) => {
|
4427
|
+
Ue(h, x, null, null, "main"), I.preventDefault();
|
4374
4428
|
};
|
4375
|
-
function
|
4376
|
-
|
4377
|
-
|
4429
|
+
function Or(h) {
|
4430
|
+
ye[h ? "unshift" : "push"](() => {
|
4431
|
+
v = h, r(5, v);
|
4378
4432
|
});
|
4379
4433
|
}
|
4380
|
-
function
|
4381
|
-
|
4382
|
-
N =
|
4434
|
+
function Fr(h) {
|
4435
|
+
ye[h ? "unshift" : "push"](() => {
|
4436
|
+
N = h, r(12, N);
|
4383
4437
|
});
|
4384
4438
|
}
|
4385
|
-
const
|
4386
|
-
function
|
4387
|
-
|
4388
|
-
j =
|
4439
|
+
const Rr = () => ft();
|
4440
|
+
function Dr(h) {
|
4441
|
+
ye[h ? "unshift" : "push"](() => {
|
4442
|
+
j = h, r(4, j);
|
4389
4443
|
});
|
4390
4444
|
}
|
4391
|
-
return e.$$set = (
|
4392
|
-
"endpoint" in
|
4445
|
+
return e.$$set = (h) => {
|
4446
|
+
"endpoint" in h && r(21, n = h.endpoint), "datasource" in h && r(22, i = h.datasource), "onclickeventname" in h && r(23, s = h.onclickeventname), "actionevent" in h && r(24, o = h.actionevent), "favoritesnumber" in h && r(25, a = h.favoritesnumber), "location" in h && r(0, u = h.location), "clientstyling" in h && r(26, l = h.clientstyling), "clientstylingurl" in h && r(27, c = h.clientstylingurl), "identity" in h && r(28, m = h.identity), "translationurl" in h && r(29, f = h.translationurl), "isprimarymenu" in h && r(30, p = h.isprimarymenu), "issecondarymenu" in h && r(31, g = h.issecondarymenu), "lang" in h && r(32, b = h.lang), "activeindex" in h && r(1, d = h.activeindex), "showsubgroups" in h && r(2, H = h.showsubgroups), "categoriesicon" in h && r(3, E = h.categoriesicon), "lobbyiconimage" in h && r(33, w = h.lobbyiconimage), "mygamesiconimage" in h && r(34, O = h.mygamesiconimage), "mbsource" in h && r(35, L = h.mbsource);
|
4393
4447
|
}, e.$$.update = () => {
|
4394
4448
|
e.$$.dirty[0] & /*activeindex*/
|
4395
4449
|
2, e.$$.dirty[0] & /*translationurl*/
|
4396
|
-
|
4397
|
-
|
4398
|
-
|
4450
|
+
536870912 && f && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4451
|
+
67108880 && l && j && bn(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4452
|
+
134217744 && c && j && yn(j, c), e.$$.dirty[0] & /*customStylingContainer*/
|
4399
4453
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4400
|
-
|
4401
|
-
|
4454
|
+
16 && L && j && vn(j, `${L}.Style`), e.$$.dirty[1] & /*lang*/
|
4455
|
+
2 && b && Tr();
|
4402
4456
|
}, [
|
4403
4457
|
u,
|
4404
4458
|
d,
|
4405
4459
|
H,
|
4406
|
-
|
4460
|
+
E,
|
4407
4461
|
j,
|
4408
|
-
|
4409
|
-
|
4410
|
-
|
4411
|
-
|
4412
|
-
|
4413
|
-
|
4414
|
-
|
4462
|
+
v,
|
4463
|
+
Z,
|
4464
|
+
de,
|
4465
|
+
De,
|
4466
|
+
pe,
|
4467
|
+
we,
|
4468
|
+
te,
|
4415
4469
|
N,
|
4416
|
-
|
4417
|
-
lt,
|
4418
|
-
ut,
|
4470
|
+
ee,
|
4419
4471
|
Cr,
|
4472
|
+
wr,
|
4473
|
+
Hr,
|
4474
|
+
Ue,
|
4475
|
+
ct,
|
4476
|
+
ft,
|
4477
|
+
Ir,
|
4420
4478
|
n,
|
4421
4479
|
i,
|
4422
|
-
o,
|
4423
4480
|
s,
|
4481
|
+
o,
|
4424
4482
|
a,
|
4425
4483
|
l,
|
4426
|
-
|
4484
|
+
c,
|
4427
4485
|
m,
|
4428
4486
|
f,
|
4429
4487
|
p,
|
4430
4488
|
g,
|
4431
4489
|
b,
|
4432
|
-
|
4490
|
+
w,
|
4433
4491
|
O,
|
4434
|
-
|
4435
|
-
|
4436
|
-
|
4437
|
-
|
4438
|
-
|
4439
|
-
|
4440
|
-
|
4441
|
-
|
4492
|
+
L,
|
4493
|
+
Mr,
|
4494
|
+
Lr,
|
4495
|
+
Nr,
|
4496
|
+
Pr,
|
4497
|
+
Or,
|
4498
|
+
Fr,
|
4499
|
+
Rr,
|
4500
|
+
Dr
|
4442
4501
|
];
|
4443
4502
|
}
|
4444
|
-
class
|
4503
|
+
class mo extends pn {
|
4445
4504
|
constructor(t) {
|
4446
|
-
super(),
|
4505
|
+
super(), mn(
|
4447
4506
|
this,
|
4448
4507
|
t,
|
4449
|
-
|
4450
|
-
|
4451
|
-
|
4508
|
+
fo,
|
4509
|
+
co,
|
4510
|
+
Zt,
|
4452
4511
|
{
|
4453
|
-
endpoint:
|
4454
|
-
datasource:
|
4455
|
-
onclickeventname:
|
4456
|
-
actionevent:
|
4457
|
-
favoritesnumber:
|
4512
|
+
endpoint: 21,
|
4513
|
+
datasource: 22,
|
4514
|
+
onclickeventname: 23,
|
4515
|
+
actionevent: 24,
|
4516
|
+
favoritesnumber: 25,
|
4458
4517
|
location: 0,
|
4459
|
-
clientstyling:
|
4460
|
-
clientstylingurl:
|
4461
|
-
identity:
|
4462
|
-
translationurl:
|
4463
|
-
isprimarymenu:
|
4464
|
-
issecondarymenu:
|
4465
|
-
lang:
|
4518
|
+
clientstyling: 26,
|
4519
|
+
clientstylingurl: 27,
|
4520
|
+
identity: 28,
|
4521
|
+
translationurl: 29,
|
4522
|
+
isprimarymenu: 30,
|
4523
|
+
issecondarymenu: 31,
|
4524
|
+
lang: 32,
|
4466
4525
|
activeindex: 1,
|
4467
4526
|
showsubgroups: 2,
|
4468
4527
|
categoriesicon: 3,
|
4469
|
-
lobbyiconimage:
|
4470
|
-
mygamesiconimage:
|
4471
|
-
mbsource:
|
4528
|
+
lobbyiconimage: 33,
|
4529
|
+
mygamesiconimage: 34,
|
4530
|
+
mbsource: 35
|
4472
4531
|
},
|
4473
|
-
|
4474
|
-
[-1, -1]
|
4532
|
+
lo,
|
4533
|
+
[-1, -1, -1]
|
4475
4534
|
);
|
4476
4535
|
}
|
4477
4536
|
get endpoint() {
|
4478
|
-
return this.$$.ctx[
|
4537
|
+
return this.$$.ctx[21];
|
4479
4538
|
}
|
4480
4539
|
set endpoint(t) {
|
4481
|
-
this.$$set({ endpoint: t }),
|
4540
|
+
this.$$set({ endpoint: t }), B();
|
4482
4541
|
}
|
4483
4542
|
get datasource() {
|
4484
|
-
return this.$$.ctx[
|
4543
|
+
return this.$$.ctx[22];
|
4485
4544
|
}
|
4486
4545
|
set datasource(t) {
|
4487
|
-
this.$$set({ datasource: t }),
|
4546
|
+
this.$$set({ datasource: t }), B();
|
4488
4547
|
}
|
4489
4548
|
get onclickeventname() {
|
4490
|
-
return this.$$.ctx[
|
4549
|
+
return this.$$.ctx[23];
|
4491
4550
|
}
|
4492
4551
|
set onclickeventname(t) {
|
4493
|
-
this.$$set({ onclickeventname: t }),
|
4552
|
+
this.$$set({ onclickeventname: t }), B();
|
4494
4553
|
}
|
4495
4554
|
get actionevent() {
|
4496
|
-
return this.$$.ctx[
|
4555
|
+
return this.$$.ctx[24];
|
4497
4556
|
}
|
4498
4557
|
set actionevent(t) {
|
4499
|
-
this.$$set({ actionevent: t }),
|
4558
|
+
this.$$set({ actionevent: t }), B();
|
4500
4559
|
}
|
4501
4560
|
get favoritesnumber() {
|
4502
|
-
return this.$$.ctx[
|
4561
|
+
return this.$$.ctx[25];
|
4503
4562
|
}
|
4504
4563
|
set favoritesnumber(t) {
|
4505
|
-
this.$$set({ favoritesnumber: t }),
|
4564
|
+
this.$$set({ favoritesnumber: t }), B();
|
4506
4565
|
}
|
4507
4566
|
get location() {
|
4508
4567
|
return this.$$.ctx[0];
|
4509
4568
|
}
|
4510
4569
|
set location(t) {
|
4511
|
-
this.$$set({ location: t }),
|
4570
|
+
this.$$set({ location: t }), B();
|
4512
4571
|
}
|
4513
4572
|
get clientstyling() {
|
4514
|
-
return this.$$.ctx[
|
4573
|
+
return this.$$.ctx[26];
|
4515
4574
|
}
|
4516
4575
|
set clientstyling(t) {
|
4517
|
-
this.$$set({ clientstyling: t }),
|
4576
|
+
this.$$set({ clientstyling: t }), B();
|
4518
4577
|
}
|
4519
4578
|
get clientstylingurl() {
|
4520
|
-
return this.$$.ctx[
|
4579
|
+
return this.$$.ctx[27];
|
4521
4580
|
}
|
4522
4581
|
set clientstylingurl(t) {
|
4523
|
-
this.$$set({ clientstylingurl: t }),
|
4582
|
+
this.$$set({ clientstylingurl: t }), B();
|
4524
4583
|
}
|
4525
4584
|
get identity() {
|
4526
|
-
return this.$$.ctx[
|
4585
|
+
return this.$$.ctx[28];
|
4527
4586
|
}
|
4528
4587
|
set identity(t) {
|
4529
|
-
this.$$set({ identity: t }),
|
4588
|
+
this.$$set({ identity: t }), B();
|
4530
4589
|
}
|
4531
4590
|
get translationurl() {
|
4532
|
-
return this.$$.ctx[
|
4591
|
+
return this.$$.ctx[29];
|
4533
4592
|
}
|
4534
4593
|
set translationurl(t) {
|
4535
|
-
this.$$set({ translationurl: t }),
|
4594
|
+
this.$$set({ translationurl: t }), B();
|
4536
4595
|
}
|
4537
4596
|
get isprimarymenu() {
|
4538
|
-
return this.$$.ctx[
|
4597
|
+
return this.$$.ctx[30];
|
4539
4598
|
}
|
4540
4599
|
set isprimarymenu(t) {
|
4541
|
-
this.$$set({ isprimarymenu: t }),
|
4600
|
+
this.$$set({ isprimarymenu: t }), B();
|
4542
4601
|
}
|
4543
4602
|
get issecondarymenu() {
|
4544
|
-
return this.$$.ctx[
|
4603
|
+
return this.$$.ctx[31];
|
4545
4604
|
}
|
4546
4605
|
set issecondarymenu(t) {
|
4547
|
-
this.$$set({ issecondarymenu: t }),
|
4606
|
+
this.$$set({ issecondarymenu: t }), B();
|
4548
4607
|
}
|
4549
4608
|
get lang() {
|
4550
|
-
return this.$$.ctx[
|
4609
|
+
return this.$$.ctx[32];
|
4551
4610
|
}
|
4552
4611
|
set lang(t) {
|
4553
|
-
this.$$set({ lang: t }),
|
4612
|
+
this.$$set({ lang: t }), B();
|
4554
4613
|
}
|
4555
4614
|
get activeindex() {
|
4556
4615
|
return this.$$.ctx[1];
|
4557
4616
|
}
|
4558
4617
|
set activeindex(t) {
|
4559
|
-
this.$$set({ activeindex: t }),
|
4618
|
+
this.$$set({ activeindex: t }), B();
|
4560
4619
|
}
|
4561
4620
|
get showsubgroups() {
|
4562
4621
|
return this.$$.ctx[2];
|
4563
4622
|
}
|
4564
4623
|
set showsubgroups(t) {
|
4565
|
-
this.$$set({ showsubgroups: t }),
|
4624
|
+
this.$$set({ showsubgroups: t }), B();
|
4566
4625
|
}
|
4567
4626
|
get categoriesicon() {
|
4568
4627
|
return this.$$.ctx[3];
|
4569
4628
|
}
|
4570
4629
|
set categoriesicon(t) {
|
4571
|
-
this.$$set({ categoriesicon: t }),
|
4630
|
+
this.$$set({ categoriesicon: t }), B();
|
4572
4631
|
}
|
4573
4632
|
get lobbyiconimage() {
|
4574
|
-
return this.$$.ctx[
|
4633
|
+
return this.$$.ctx[33];
|
4575
4634
|
}
|
4576
4635
|
set lobbyiconimage(t) {
|
4577
|
-
this.$$set({ lobbyiconimage: t }),
|
4636
|
+
this.$$set({ lobbyiconimage: t }), B();
|
4578
4637
|
}
|
4579
4638
|
get mygamesiconimage() {
|
4580
|
-
return this.$$.ctx[
|
4639
|
+
return this.$$.ctx[34];
|
4581
4640
|
}
|
4582
4641
|
set mygamesiconimage(t) {
|
4583
|
-
this.$$set({ mygamesiconimage: t }),
|
4642
|
+
this.$$set({ mygamesiconimage: t }), B();
|
4584
4643
|
}
|
4585
4644
|
get mbsource() {
|
4586
|
-
return this.$$.ctx[
|
4645
|
+
return this.$$.ctx[35];
|
4587
4646
|
}
|
4588
4647
|
set mbsource(t) {
|
4589
|
-
this.$$set({ mbsource: t }),
|
4648
|
+
this.$$set({ mbsource: t }), B();
|
4590
4649
|
}
|
4591
4650
|
}
|
4592
|
-
|
4651
|
+
dn(mo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4593
4652
|
export {
|
4594
|
-
|
4653
|
+
mo as default
|
4595
4654
|
};
|