@everymatrix/casino-slider 1.54.12 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Nr = Object.defineProperty, Pr = Object.defineProperties;
2
- var Or = Object.getOwnPropertyDescriptors;
3
- var ut = Object.getOwnPropertySymbols;
4
- var Lr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
5
- var Fe = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
1
+ var Mr = Object.defineProperty, Nr = Object.defineProperties;
2
+ var Pr = Object.getOwnPropertyDescriptors;
3
+ var ht = Object.getOwnPropertySymbols;
4
+ var Lr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable;
5
+ var Re = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Lr.call(t, r) && Fe(e, r, t[r]);
8
- if (ut)
9
- for (var r of ut(t))
10
- Fr.call(t, r) && Fe(e, r, t[r]);
7
+ Lr.call(t, r) && Re(e, r, t[r]);
8
+ if (ht)
9
+ for (var r of ht(t))
10
+ Or.call(t, r) && Re(e, r, t[r]);
11
11
  return e;
12
- }, ct = (e, t) => Pr(e, Or(t));
13
- var U = (e, t, r) => Fe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var ft = (e, t, r) => new Promise((n, i) => {
12
+ }, ft = (e, t) => Nr(e, Pr(t));
13
+ var D = (e, t, r) => Re(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var mt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -27,47 +27,47 @@ var ft = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function $() {
30
+ function G() {
31
31
  }
32
- function kt(e) {
32
+ function $t(e) {
33
33
  return e();
34
34
  }
35
- function mt() {
35
+ function dt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function q(e) {
39
- e.forEach(kt);
38
+ function J(e) {
39
+ e.forEach($t);
40
40
  }
41
- function tt(e) {
41
+ function rt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function $t(e, t) {
44
+ function jt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let xe;
48
- function dt(e, t) {
49
- return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
47
+ let Ce;
48
+ function pt(e, t) {
49
+ return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
50
50
  }
51
- function Rr(e) {
51
+ function Fr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Dr(e, ...t) {
54
+ function Rr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return $;
58
+ return G;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function I(e, t) {
63
+ function B(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function Gr(e, t, r) {
66
+ function Dr(e, t, r) {
67
67
  const n = Ur(e);
68
68
  if (!n.getElementById(t)) {
69
69
  const i = M("style");
70
- i.id = t, i.textContent = r, kr(n, i);
70
+ i.id = t, i.textContent = r, Gr(n, i);
71
71
  }
72
72
  }
73
73
  function Ur(e) {
@@ -79,49 +79,49 @@ function Ur(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function kr(e, t) {
83
- return I(
82
+ function Gr(e, t) {
83
+ return B(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function k(e, t, r) {
89
+ function U(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function D(e) {
92
+ function R(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function $r(e, t) {
95
+ function kr(e, t) {
96
96
  for (let r = 0; r < e.length; r += 1)
97
97
  e[r] && e[r].d(t);
98
98
  }
99
99
  function M(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function ye(e) {
102
+ function ve(e) {
103
103
  return document.createTextNode(e);
104
104
  }
105
- function Q() {
106
- return ye(" ");
105
+ function q() {
106
+ return ve(" ");
107
107
  }
108
- function de() {
109
- return ye("");
108
+ function pe() {
109
+ return ve("");
110
110
  }
111
- function Te(e, t, r, n) {
111
+ function Ae(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function S(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function jr(e) {
117
+ function $r(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function rt(e, t) {
120
+ function nt(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function Vr(e) {
124
+ function jr(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -130,124 +130,124 @@ function Vr(e) {
130
130
  }
131
131
  ), t;
132
132
  }
133
- let pe;
134
- function fe(e) {
135
- pe = e;
133
+ let ge;
134
+ function me(e) {
135
+ ge = e;
136
136
  }
137
- function Xr() {
138
- if (!pe) throw new Error("Function called outside component initialization");
139
- return pe;
137
+ function Vr() {
138
+ if (!ge) throw new Error("Function called outside component initialization");
139
+ return ge;
140
140
  }
141
- function Wr(e) {
142
- Xr().$$.on_mount.push(e);
141
+ function Xr(e) {
142
+ Vr().$$.on_mount.push(e);
143
143
  }
144
- const ee = [], me = [];
145
- let te = [];
146
- const pt = [], zr = /* @__PURE__ */ Promise.resolve();
147
- let Ve = !1;
148
- function Zr() {
149
- Ve || (Ve = !0, zr.then(A));
144
+ const te = [], de = [];
145
+ let re = [];
146
+ const gt = [], Wr = /* @__PURE__ */ Promise.resolve();
147
+ let Xe = !1;
148
+ function zr() {
149
+ Xe || (Xe = !0, Wr.then(A));
150
150
  }
151
- function Xe(e) {
152
- te.push(e);
151
+ function We(e) {
152
+ re.push(e);
153
153
  }
154
- const Re = /* @__PURE__ */ new Set();
155
- let Y = 0;
154
+ const De = /* @__PURE__ */ new Set();
155
+ let K = 0;
156
156
  function A() {
157
- if (Y !== 0)
157
+ if (K !== 0)
158
158
  return;
159
- const e = pe;
159
+ const e = ge;
160
160
  do {
161
161
  try {
162
- for (; Y < ee.length; ) {
163
- const t = ee[Y];
164
- Y++, fe(t), Qr(t.$$);
162
+ for (; K < te.length; ) {
163
+ const t = te[K];
164
+ K++, me(t), Zr(t.$$);
165
165
  }
166
166
  } catch (t) {
167
- throw ee.length = 0, Y = 0, t;
167
+ throw te.length = 0, K = 0, t;
168
168
  }
169
- for (fe(null), ee.length = 0, Y = 0; me.length; ) me.pop()();
170
- for (let t = 0; t < te.length; t += 1) {
171
- const r = te[t];
172
- Re.has(r) || (Re.add(r), r());
169
+ for (me(null), te.length = 0, K = 0; de.length; ) de.pop()();
170
+ for (let t = 0; t < re.length; t += 1) {
171
+ const r = re[t];
172
+ De.has(r) || (De.add(r), r());
173
173
  }
174
- te.length = 0;
175
- } while (ee.length);
176
- for (; pt.length; )
177
- pt.pop()();
178
- Ve = !1, Re.clear(), fe(e);
174
+ re.length = 0;
175
+ } while (te.length);
176
+ for (; gt.length; )
177
+ gt.pop()();
178
+ Xe = !1, De.clear(), me(e);
179
179
  }
180
- function Qr(e) {
180
+ function Zr(e) {
181
181
  if (e.fragment !== null) {
182
- e.update(), q(e.before_update);
182
+ e.update(), J(e.before_update);
183
183
  const t = e.dirty;
184
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
184
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
185
185
  }
186
186
  }
187
- function qr(e) {
187
+ function Qr(e) {
188
188
  const t = [], r = [];
189
- te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
189
+ re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
190
190
  }
191
- const Jr = /* @__PURE__ */ new Set();
192
- function jt(e, t) {
193
- e && e.i && (Jr.delete(e), e.i(t));
191
+ const qr = /* @__PURE__ */ new Set();
192
+ function Vt(e, t) {
193
+ e && e.i && (qr.delete(e), e.i(t));
194
194
  }
195
- function re(e) {
195
+ function ne(e) {
196
196
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
197
197
  }
198
- function Vt(e, t) {
198
+ function Xt(e, t) {
199
199
  e.d(1), t.delete(e.key);
200
200
  }
201
- function Xt(e, t, r, n, i, o, s, a, u, l, h, m) {
201
+ function Wt(e, t, r, n, i, o, s, a, u, l, h, m) {
202
202
  let f = e.length, p = o.length, g = f;
203
203
  const b = {};
204
204
  for (; g--; ) b[e[g].key] = g;
205
- const d = [], w = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), C = [];
205
+ const d = [], H = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), x = [];
206
206
  for (g = p; g--; ) {
207
- const H = m(i, o, g), N = r(H);
208
- let R = s.get(N);
209
- R ? C.push(() => R.p(H, t)) : (R = l(N, H), R.c()), w.set(N, d[g] = R), N in b && _.set(N, Math.abs(g - b[N]));
207
+ const w = m(i, o, g), N = r(w);
208
+ let P = s.get(N);
209
+ P ? x.push(() => P.p(w, t)) : (P = l(N, w), P.c()), H.set(N, d[g] = P), N in b && _.set(N, Math.abs(g - b[N]));
210
210
  }
211
- const P = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
212
- function L(H) {
213
- jt(H, 1), H.m(a, h), s.set(H.key, H), h = H.first, p--;
211
+ const L = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
212
+ function k(w) {
213
+ Vt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, p--;
214
214
  }
215
215
  for (; f && p; ) {
216
- const H = d[p - 1], N = e[f - 1], R = H.key, G = N.key;
217
- H === N ? (h = H.first, f--, p--) : w.has(G) ? !s.has(R) || P.has(R) ? L(H) : O.has(G) ? f-- : _.get(R) > _.get(G) ? (O.add(R), L(H)) : (P.add(G), f--) : (u(N, s), f--);
216
+ const w = d[p - 1], N = e[f - 1], P = w.key, V = N.key;
217
+ w === N ? (h = w.first, f--, p--) : H.has(V) ? !s.has(P) || L.has(P) ? k(w) : I.has(V) ? f-- : _.get(P) > _.get(V) ? (I.add(P), k(w)) : (L.add(V), f--) : (u(N, s), f--);
218
218
  }
219
219
  for (; f--; ) {
220
- const H = e[f];
221
- w.has(H.key) || u(H, s);
220
+ const w = e[f];
221
+ H.has(w.key) || u(w, s);
222
222
  }
223
- for (; p; ) L(d[p - 1]);
224
- return q(C), d;
223
+ for (; p; ) k(d[p - 1]);
224
+ return J(x), d;
225
225
  }
226
- function Yr(e, t, r) {
226
+ function Jr(e, t, r) {
227
227
  const { fragment: n, after_update: i } = e.$$;
228
- n && n.m(t, r), Xe(() => {
229
- const o = e.$$.on_mount.map(kt).filter(tt);
230
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
231
- }), i.forEach(Xe);
228
+ n && n.m(t, r), We(() => {
229
+ const o = e.$$.on_mount.map($t).filter(rt);
230
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
231
+ }), i.forEach(We);
232
232
  }
233
- function Kr(e, t) {
233
+ function Yr(e, t) {
234
234
  const r = e.$$;
235
- r.fragment !== null && (qr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
235
+ r.fragment !== null && (Qr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
236
236
  }
237
- function en(e, t) {
238
- e.$$.dirty[0] === -1 && (ee.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
237
+ function Kr(e, t) {
238
+ e.$$.dirty[0] === -1 && (te.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
239
239
  }
240
- function tn(e, t, r, n, i, o, s = null, a = [-1]) {
241
- const u = pe;
242
- fe(e);
240
+ function en(e, t, r, n, i, o, s = null, a = [-1]) {
241
+ const u = ge;
242
+ me(e);
243
243
  const l = e.$$ = {
244
244
  fragment: null,
245
245
  ctx: [],
246
246
  // state
247
247
  props: o,
248
- update: $,
248
+ update: G,
249
249
  not_equal: i,
250
- bound: mt(),
250
+ bound: dt(),
251
251
  // lifecycle
252
252
  on_mount: [],
253
253
  on_destroy: [],
@@ -256,7 +256,7 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
256
256
  after_update: [],
257
257
  context: new Map(t.context || (u ? u.$$.context : [])),
258
258
  // everything else
259
- callbacks: mt(),
259
+ callbacks: dt(),
260
260
  dirty: a,
261
261
  skip_bound: !1,
262
262
  root: t.target || u.$$.root
@@ -265,39 +265,39 @@ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
265
265
  let h = !1;
266
266
  if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
267
267
  const g = p.length ? p[0] : f;
268
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && en(e, m)), f;
269
- }) : [], l.update(), h = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
268
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && Kr(e, m)), f;
269
+ }) : [], l.update(), h = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
270
270
  if (t.hydrate) {
271
- const m = jr(t.target);
272
- l.fragment && l.fragment.l(m), m.forEach(D);
271
+ const m = $r(t.target);
272
+ l.fragment && l.fragment.l(m), m.forEach(R);
273
273
  } else
274
274
  l.fragment && l.fragment.c();
275
- t.intro && jt(e.$$.fragment), Yr(e, t.target, t.anchor), A();
275
+ t.intro && Vt(e.$$.fragment), Jr(e, t.target, t.anchor), A();
276
276
  }
277
- fe(u);
277
+ me(u);
278
278
  }
279
- let Wt;
280
- typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
279
+ let zt;
280
+ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
281
281
  constructor(t, r, n) {
282
282
  super();
283
283
  /** The Svelte component constructor */
284
- U(this, "$$ctor");
284
+ D(this, "$$ctor");
285
285
  /** Slots */
286
- U(this, "$$s");
286
+ D(this, "$$s");
287
287
  /** The Svelte component instance */
288
- U(this, "$$c");
288
+ D(this, "$$c");
289
289
  /** Whether or not the custom element is connected */
290
- U(this, "$$cn", !1);
290
+ D(this, "$$cn", !1);
291
291
  /** Component props data */
292
- U(this, "$$d", {});
292
+ D(this, "$$d", {});
293
293
  /** `true` if currently in the process of reflecting component props back to attributes */
294
- U(this, "$$r", !1);
294
+ D(this, "$$r", !1);
295
295
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
296
- U(this, "$$p_d", {});
296
+ D(this, "$$p_d", {});
297
297
  /** @type {Record<string, Function[]>} Event listeners */
298
- U(this, "$$l", {});
298
+ D(this, "$$l", {});
299
299
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
300
- U(this, "$$l_u", /* @__PURE__ */ new Map());
300
+ D(this, "$$l_u", /* @__PURE__ */ new Map());
301
301
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
302
302
  }
303
303
  addEventListener(t, r, n) {
@@ -314,7 +314,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
314
314
  }
315
315
  }
316
316
  connectedCallback() {
317
- return ft(this, null, function* () {
317
+ return mt(this, null, function* () {
318
318
  if (this.$$cn = !0, !this.$$c) {
319
319
  let t = function(o) {
320
320
  return () => {
@@ -328,28 +328,28 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
328
328
  * @param {HTMLElement} [anchor]
329
329
  */
330
330
  m: function(l, h) {
331
- k(l, s, h);
331
+ U(l, s, h);
332
332
  },
333
333
  d: function(l) {
334
- l && D(s);
334
+ l && R(s);
335
335
  }
336
336
  };
337
337
  };
338
338
  };
339
339
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
340
340
  return;
341
- const r = {}, n = Vr(this);
341
+ const r = {}, n = jr(this);
342
342
  for (const o of this.$$s)
343
343
  o in n && (r[o] = [t(o)]);
344
344
  for (const o of this.attributes) {
345
345
  const s = this.$$g_p(o.name);
346
- s in this.$$d || (this.$$d[s] = we(s, o.value, this.$$p_d, "toProp"));
346
+ s in this.$$d || (this.$$d[s] = He(s, o.value, this.$$p_d, "toProp"));
347
347
  }
348
348
  for (const o in this.$$p_d)
349
349
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
350
350
  this.$$c = new this.$$ctor({
351
351
  target: this.shadowRoot || this,
352
- props: ct(ht({}, this.$$d), {
352
+ props: ft(ct({}, this.$$d), {
353
353
  $$slots: r,
354
354
  $$scope: {
355
355
  ctx: []
@@ -360,7 +360,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
360
360
  this.$$r = !0;
361
361
  for (const o in this.$$p_d)
362
362
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
363
- const s = we(
363
+ const s = He(
364
364
  o,
365
365
  this.$$d[o],
366
366
  this.$$p_d,
@@ -384,7 +384,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
384
384
  // and setting attributes through setAttribute etc, this is helpful
385
385
  attributeChangedCallback(t, r, n) {
386
386
  var i;
387
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = we(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
387
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = He(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
388
388
  }
389
389
  disconnectedCallback() {
390
390
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -397,7 +397,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
397
397
  ) || t;
398
398
  }
399
399
  });
400
- function we(e, t, r, n) {
400
+ function He(e, t, r, n) {
401
401
  var o;
402
402
  const i = (o = r[e]) == null ? void 0 : o.type;
403
403
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -427,8 +427,8 @@ function we(e, t, r, n) {
427
427
  return t;
428
428
  }
429
429
  }
430
- function rn(e, t, r, n, i, o) {
431
- let s = class extends Wt {
430
+ function tn(e, t, r, n, i, o) {
431
+ let s = class extends zt {
432
432
  constructor() {
433
433
  super(e, r, i), this.$$p_d = t;
434
434
  }
@@ -445,7 +445,7 @@ function rn(e, t, r, n, i, o) {
445
445
  },
446
446
  set(u) {
447
447
  var l;
448
- u = we(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
448
+ u = He(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
449
449
  }
450
450
  });
451
451
  }), n.forEach((a) => {
@@ -458,7 +458,7 @@ function rn(e, t, r, n, i, o) {
458
458
  }), e.element = /** @type {any} */
459
459
  s, s;
460
460
  }
461
- class nn {
461
+ class rn {
462
462
  constructor() {
463
463
  /**
464
464
  * ### PRIVATE API
@@ -467,7 +467,7 @@ class nn {
467
467
  *
468
468
  * @type {any}
469
469
  */
470
- U(this, "$$");
470
+ D(this, "$$");
471
471
  /**
472
472
  * ### PRIVATE API
473
473
  *
@@ -475,11 +475,11 @@ class nn {
475
475
  *
476
476
  * @type {any}
477
477
  */
478
- U(this, "$$set");
478
+ D(this, "$$set");
479
479
  }
480
480
  /** @returns {void} */
481
481
  $destroy() {
482
- Kr(this, 1), this.$destroy = $;
482
+ Yr(this, 1), this.$destroy = G;
483
483
  }
484
484
  /**
485
485
  * @template {Extract<keyof Events, string>} K
@@ -488,8 +488,8 @@ class nn {
488
488
  * @returns {() => void}
489
489
  */
490
490
  $on(t, r) {
491
- if (!tt(r))
492
- return $;
491
+ if (!rt(r))
492
+ return G;
493
493
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
494
494
  return n.push(r), () => {
495
495
  const i = n.indexOf(r);
@@ -501,60 +501,83 @@ class nn {
501
501
  * @returns {void}
502
502
  */
503
503
  $set(t) {
504
- this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
504
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
505
+ }
506
+ }
507
+ const nn = "4";
508
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
509
+ function on(e, t) {
510
+ if (e) {
511
+ const r = document.createElement("style");
512
+ r.innerHTML = t, e.appendChild(r);
505
513
  }
506
514
  }
507
- const on = "4";
508
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
509
- const K = [];
510
515
  function sn(e, t) {
516
+ const r = new URL(t);
517
+ fetch(r.href).then((n) => n.text()).then((n) => {
518
+ const i = document.createElement("style");
519
+ i.innerHTML = n, e && e.appendChild(i);
520
+ }).catch((n) => {
521
+ console.error("There was an error while trying to load client styling from URL", n);
522
+ });
523
+ }
524
+ function an(e, t, r) {
525
+ if (window.emMessageBus) {
526
+ const n = document.createElement("style");
527
+ window.emMessageBus.subscribe(t, (i) => {
528
+ n.innerHTML = i, e && e.appendChild(n);
529
+ });
530
+ }
531
+ }
532
+ const ee = [];
533
+ function ln(e, t) {
511
534
  return {
512
- subscribe: Be(e, t).subscribe
535
+ subscribe: Me(e, t).subscribe
513
536
  };
514
537
  }
515
- function Be(e, t = $) {
538
+ function Me(e, t = G) {
516
539
  let r;
517
540
  const n = /* @__PURE__ */ new Set();
518
541
  function i(a) {
519
- if ($t(e, a) && (e = a, r)) {
520
- const u = !K.length;
542
+ if (jt(e, a) && (e = a, r)) {
543
+ const u = !ee.length;
521
544
  for (const l of n)
522
- l[1](), K.push(l, e);
545
+ l[1](), ee.push(l, e);
523
546
  if (u) {
524
- for (let l = 0; l < K.length; l += 2)
525
- K[l][0](K[l + 1]);
526
- K.length = 0;
547
+ for (let l = 0; l < ee.length; l += 2)
548
+ ee[l][0](ee[l + 1]);
549
+ ee.length = 0;
527
550
  }
528
551
  }
529
552
  }
530
553
  function o(a) {
531
554
  i(a(e));
532
555
  }
533
- function s(a, u = $) {
556
+ function s(a, u = G) {
534
557
  const l = [a, u];
535
- return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
558
+ return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
536
559
  n.delete(l), n.size === 0 && r && (r(), r = null);
537
560
  };
538
561
  }
539
562
  return { set: i, update: o, subscribe: s };
540
563
  }
541
- function ae(e, t, r) {
564
+ function le(e, t, r) {
542
565
  const n = !Array.isArray(e), i = n ? [e] : e;
543
566
  if (!i.every(Boolean))
544
567
  throw new Error("derived() expects stores as input, got a falsy value");
545
568
  const o = t.length < 2;
546
- return sn(r, (s, a) => {
569
+ return ln(r, (s, a) => {
547
570
  let u = !1;
548
571
  const l = [];
549
- let h = 0, m = $;
572
+ let h = 0, m = G;
550
573
  const f = () => {
551
574
  if (h)
552
575
  return;
553
576
  m();
554
577
  const g = t(n ? l[0] : l, s, a);
555
- o ? s(g) : m = tt(g) ? g : $;
578
+ o ? s(g) : m = rt(g) ? g : G;
556
579
  }, p = i.map(
557
- (g, b) => Dr(
580
+ (g, b) => Rr(
558
581
  g,
559
582
  (d) => {
560
583
  l[b] = d, h &= ~(1 << b), u && f();
@@ -565,95 +588,95 @@ function ae(e, t, r) {
565
588
  )
566
589
  );
567
590
  return u = !0, f(), function() {
568
- q(p), m(), u = !1;
591
+ J(p), m(), u = !1;
569
592
  };
570
593
  });
571
594
  }
572
- function an(e) {
595
+ function un(e) {
573
596
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
574
597
  }
575
- var ln = function(t) {
576
- return un(t) && !hn(t);
598
+ var hn = function(t) {
599
+ return cn(t) && !fn(t);
577
600
  };
578
- function un(e) {
601
+ function cn(e) {
579
602
  return !!e && typeof e == "object";
580
603
  }
581
- function hn(e) {
604
+ function fn(e) {
582
605
  var t = Object.prototype.toString.call(e);
583
- return t === "[object RegExp]" || t === "[object Date]" || mn(e);
606
+ return t === "[object RegExp]" || t === "[object Date]" || pn(e);
584
607
  }
585
- var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
586
- function mn(e) {
587
- return e.$$typeof === fn;
608
+ var mn = typeof Symbol == "function" && Symbol.for, dn = mn ? Symbol.for("react.element") : 60103;
609
+ function pn(e) {
610
+ return e.$$typeof === dn;
588
611
  }
589
- function dn(e) {
612
+ function gn(e) {
590
613
  return Array.isArray(e) ? [] : {};
591
614
  }
592
- function ge(e, t) {
593
- return t.clone !== !1 && t.isMergeableObject(e) ? ne(dn(e), e, t) : e;
615
+ function be(e, t) {
616
+ return t.clone !== !1 && t.isMergeableObject(e) ? ie(gn(e), e, t) : e;
594
617
  }
595
- function pn(e, t, r) {
618
+ function bn(e, t, r) {
596
619
  return e.concat(t).map(function(n) {
597
- return ge(n, r);
620
+ return be(n, r);
598
621
  });
599
622
  }
600
- function gn(e, t) {
623
+ function yn(e, t) {
601
624
  if (!t.customMerge)
602
- return ne;
625
+ return ie;
603
626
  var r = t.customMerge(e);
604
- return typeof r == "function" ? r : ne;
627
+ return typeof r == "function" ? r : ie;
605
628
  }
606
- function bn(e) {
629
+ function vn(e) {
607
630
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
608
631
  return Object.propertyIsEnumerable.call(e, t);
609
632
  }) : [];
610
633
  }
611
- function gt(e) {
612
- return Object.keys(e).concat(bn(e));
634
+ function bt(e) {
635
+ return Object.keys(e).concat(vn(e));
613
636
  }
614
- function zt(e, t) {
637
+ function Zt(e, t) {
615
638
  try {
616
639
  return t in e;
617
640
  } catch (r) {
618
641
  return !1;
619
642
  }
620
643
  }
621
- function yn(e, t) {
622
- return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
644
+ function _n(e, t) {
645
+ return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
623
646
  }
624
- function vn(e, t, r) {
647
+ function En(e, t, r) {
625
648
  var n = {};
626
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
627
- n[i] = ge(e[i], r);
628
- }), gt(t).forEach(function(i) {
629
- yn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
649
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
650
+ n[i] = be(e[i], r);
651
+ }), bt(t).forEach(function(i) {
652
+ _n(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = be(t[i], r));
630
653
  }), n;
631
654
  }
632
- function ne(e, t, r) {
633
- r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = ge;
655
+ function ie(e, t, r) {
656
+ r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = be;
634
657
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
635
- return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ge(t, r);
658
+ return o ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : be(t, r);
636
659
  }
637
- ne.all = function(t, r) {
660
+ ie.all = function(t, r) {
638
661
  if (!Array.isArray(t))
639
662
  throw new Error("first argument should be an array");
640
663
  return t.reduce(function(n, i) {
641
- return ne(n, i, r);
664
+ return ie(n, i, r);
642
665
  }, {});
643
666
  };
644
- var _n = ne, En = _n;
645
- const xn = /* @__PURE__ */ an(En);
646
- var We = function(e, t) {
647
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
667
+ var xn = ie, Cn = xn;
668
+ const wn = /* @__PURE__ */ un(Cn);
669
+ var ze = function(e, t) {
670
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
648
671
  r.__proto__ = n;
649
672
  } || function(r, n) {
650
673
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
651
- }, We(e, t);
674
+ }, ze(e, t);
652
675
  };
653
- function Me(e, t) {
676
+ function Ne(e, t) {
654
677
  if (typeof t != "function" && t !== null)
655
678
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
656
- We(e, t);
679
+ ze(e, t);
657
680
  function r() {
658
681
  this.constructor = e;
659
682
  }
@@ -668,7 +691,7 @@ var E = function() {
668
691
  return t;
669
692
  }, E.apply(this, arguments);
670
693
  };
671
- function Cn(e, t) {
694
+ function Hn(e, t) {
672
695
  var r = {};
673
696
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
674
697
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -676,42 +699,42 @@ function Cn(e, t) {
676
699
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
677
700
  return r;
678
701
  }
679
- function De(e, t, r) {
702
+ function Ue(e, t, r) {
680
703
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
681
704
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
682
705
  return e.concat(o || Array.prototype.slice.call(t));
683
706
  }
684
707
  function Ge(e, t) {
685
- var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Sn;
708
+ var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : An;
686
709
  return i(e, {
687
710
  cache: r,
688
711
  serializer: n
689
712
  });
690
713
  }
691
- function wn(e) {
714
+ function Sn(e) {
692
715
  return e == null || typeof e == "number" || typeof e == "boolean";
693
716
  }
694
- function Hn(e, t, r, n) {
695
- var i = wn(n) ? n : r(n), o = t.get(i);
717
+ function Tn(e, t, r, n) {
718
+ var i = Sn(n) ? n : r(n), o = t.get(i);
696
719
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
697
720
  }
698
- function Zt(e, t, r) {
721
+ function Qt(e, t, r) {
699
722
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
700
723
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
701
724
  }
702
- function Qt(e, t, r, n, i) {
725
+ function qt(e, t, r, n, i) {
703
726
  return r.bind(t, e, n, i);
704
727
  }
705
- function Sn(e, t) {
706
- var r = e.length === 1 ? Hn : Zt;
707
- return Qt(e, this, r, t.cache.create(), t.serializer);
728
+ function An(e, t) {
729
+ var r = e.length === 1 ? Tn : Qt;
730
+ return qt(e, this, r, t.cache.create(), t.serializer);
708
731
  }
709
- function Tn(e, t) {
710
- return Qt(e, this, Zt, t.cache.create(), t.serializer);
732
+ function Bn(e, t) {
733
+ return qt(e, this, Qt, t.cache.create(), t.serializer);
711
734
  }
712
- var An = function() {
735
+ var In = function() {
713
736
  return JSON.stringify(arguments);
714
- }, In = (
737
+ }, Mn = (
715
738
  /** @class */
716
739
  function() {
717
740
  function e() {
@@ -723,12 +746,12 @@ var An = function() {
723
746
  this.cache[t] = r;
724
747
  }, e;
725
748
  }()
726
- ), Bn = {
749
+ ), Nn = {
727
750
  create: function() {
728
- return new In();
751
+ return new Mn();
729
752
  }
730
- }, Ue = {
731
- variadic: Tn
753
+ }, ke = {
754
+ variadic: Bn
732
755
  }, y;
733
756
  (function(e) {
734
757
  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";
@@ -737,47 +760,47 @@ var T;
737
760
  (function(e) {
738
761
  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";
739
762
  })(T || (T = {}));
740
- var ie;
763
+ var oe;
741
764
  (function(e) {
742
765
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
743
- })(ie || (ie = {}));
744
- function bt(e) {
766
+ })(oe || (oe = {}));
767
+ function yt(e) {
745
768
  return e.type === T.literal;
746
769
  }
747
- function Mn(e) {
770
+ function Pn(e) {
748
771
  return e.type === T.argument;
749
772
  }
750
- function qt(e) {
773
+ function Jt(e) {
751
774
  return e.type === T.number;
752
775
  }
753
- function Jt(e) {
776
+ function Yt(e) {
754
777
  return e.type === T.date;
755
778
  }
756
- function Yt(e) {
779
+ function Kt(e) {
757
780
  return e.type === T.time;
758
781
  }
759
- function Kt(e) {
782
+ function er(e) {
760
783
  return e.type === T.select;
761
784
  }
762
- function er(e) {
785
+ function tr(e) {
763
786
  return e.type === T.plural;
764
787
  }
765
- function Nn(e) {
788
+ function Ln(e) {
766
789
  return e.type === T.pound;
767
790
  }
768
- function tr(e) {
791
+ function rr(e) {
769
792
  return e.type === T.tag;
770
793
  }
771
- function rr(e) {
772
- return !!(e && typeof e == "object" && e.type === ie.number);
794
+ function nr(e) {
795
+ return !!(e && typeof e == "object" && e.type === oe.number);
773
796
  }
774
- function ze(e) {
775
- return !!(e && typeof e == "object" && e.type === ie.dateTime);
797
+ function Ze(e) {
798
+ return !!(e && typeof e == "object" && e.type === oe.dateTime);
776
799
  }
777
- var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
778
- function On(e) {
800
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
801
+ function Fn(e) {
779
802
  var t = {};
780
- return e.replace(Pn, function(r) {
803
+ return e.replace(On, function(r) {
781
804
  var n = r.length;
782
805
  switch (r[0]) {
783
806
  case "G":
@@ -866,11 +889,11 @@ function On(e) {
866
889
  return "";
867
890
  }), t;
868
891
  }
869
- var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
870
- function Fn(e) {
892
+ var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
893
+ function Dn(e) {
871
894
  if (e.length === 0)
872
895
  throw new Error("Number skeleton cannot be empty");
873
- for (var t = e.split(Ln).filter(function(f) {
896
+ for (var t = e.split(Rn).filter(function(f) {
874
897
  return f.length > 0;
875
898
  }), r = [], n = 0, i = t; n < i.length; n++) {
876
899
  var o = i[n], s = o.split("/");
@@ -885,17 +908,17 @@ function Fn(e) {
885
908
  }
886
909
  return r;
887
910
  }
888
- function Rn(e) {
911
+ function Un(e) {
889
912
  return e.replace(/^(.*?)-/, "");
890
913
  }
891
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
892
- function vt(e) {
914
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
915
+ function _t(e) {
893
916
  var t = {};
894
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
917
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
895
918
  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)), "";
896
919
  }), t;
897
920
  }
898
- function sr(e) {
921
+ function ar(e) {
899
922
  switch (e) {
900
923
  case "sign-auto":
901
924
  return {
@@ -935,7 +958,7 @@ function sr(e) {
935
958
  };
936
959
  }
937
960
  }
938
- function Gn(e) {
961
+ function kn(e) {
939
962
  var t;
940
963
  if (e[0] === "E" && e[1] === "E" ? (t = {
941
964
  notation: "engineering"
@@ -943,17 +966,17 @@ function Gn(e) {
943
966
  notation: "scientific"
944
967
  }, e = e.slice(1)), t) {
945
968
  var r = e.slice(0, 2);
946
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
969
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
947
970
  throw new Error("Malformed concise eng/scientific notation");
948
971
  t.minimumIntegerDigits = e.length;
949
972
  }
950
973
  return t;
951
974
  }
952
- function _t(e) {
953
- var t = {}, r = sr(e);
975
+ function Et(e) {
976
+ var t = {}, r = ar(e);
954
977
  return r || t;
955
978
  }
956
- function Un(e) {
979
+ function $n(e) {
957
980
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
958
981
  var i = n[r];
959
982
  switch (i.stem) {
@@ -977,7 +1000,7 @@ function Un(e) {
977
1000
  continue;
978
1001
  case "measure-unit":
979
1002
  case "unit":
980
- t.style = "unit", t.unit = Rn(i.options[0]);
1003
+ t.style = "unit", t.unit = Un(i.options[0]);
981
1004
  continue;
982
1005
  case "compact-short":
983
1006
  case "K":
@@ -989,12 +1012,12 @@ function Un(e) {
989
1012
  continue;
990
1013
  case "scientific":
991
1014
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
992
- return E(E({}, u), _t(l));
1015
+ return E(E({}, u), Et(l));
993
1016
  }, {}));
994
1017
  continue;
995
1018
  case "engineering":
996
1019
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
997
- return E(E({}, u), _t(l));
1020
+ return E(E({}, u), Et(l));
998
1021
  }, {}));
999
1022
  continue;
1000
1023
  case "notation-simple":
@@ -1039,7 +1062,7 @@ function Un(e) {
1039
1062
  case "integer-width":
1040
1063
  if (i.options.length > 1)
1041
1064
  throw new RangeError("integer-width stems only accept a single optional option");
1042
- i.options[0].replace(Dn, function(u, l, h, m, f, p) {
1065
+ i.options[0].replace(Gn, function(u, l, h, m, f, p) {
1043
1066
  if (l)
1044
1067
  t.minimumIntegerDigits = h.length;
1045
1068
  else {
@@ -1052,32 +1075,32 @@ function Un(e) {
1052
1075
  });
1053
1076
  continue;
1054
1077
  }
1055
- if (or.test(i.stem)) {
1078
+ if (sr.test(i.stem)) {
1056
1079
  t.minimumIntegerDigits = i.stem.length;
1057
1080
  continue;
1058
1081
  }
1059
- if (yt.test(i.stem)) {
1082
+ if (vt.test(i.stem)) {
1060
1083
  if (i.options.length > 1)
1061
1084
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1062
- i.stem.replace(yt, function(u, l, h, m, f, p) {
1085
+ i.stem.replace(vt, function(u, l, h, m, f, p) {
1063
1086
  return h === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1064
1087
  });
1065
1088
  var o = i.options[0];
1066
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), vt(o)));
1089
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), _t(o)));
1067
1090
  continue;
1068
1091
  }
1069
- if (ir.test(i.stem)) {
1070
- t = E(E({}, t), vt(i.stem));
1092
+ if (or.test(i.stem)) {
1093
+ t = E(E({}, t), _t(i.stem));
1071
1094
  continue;
1072
1095
  }
1073
- var s = sr(i.stem);
1096
+ var s = ar(i.stem);
1074
1097
  s && (t = E(E({}, t), s));
1075
- var a = Gn(i.stem);
1098
+ var a = kn(i.stem);
1076
1099
  a && (t = E(E({}, t), a));
1077
1100
  }
1078
1101
  return t;
1079
1102
  }
1080
- var Ce = {
1103
+ var we = {
1081
1104
  "001": [
1082
1105
  "H",
1083
1106
  "h"
@@ -2492,13 +2515,13 @@ var Ce = {
2492
2515
  "h"
2493
2516
  ]
2494
2517
  };
2495
- function kn(e, t) {
2518
+ function jn(e, t) {
2496
2519
  for (var r = "", n = 0; n < e.length; n++) {
2497
2520
  var i = e.charAt(n);
2498
2521
  if (i === "j") {
2499
2522
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2500
2523
  o++, n++;
2501
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = $n(t);
2524
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Vn(t);
2502
2525
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2503
2526
  r += u;
2504
2527
  for (; s-- > 0; )
@@ -2507,7 +2530,7 @@ function kn(e, t) {
2507
2530
  }
2508
2531
  return r;
2509
2532
  }
2510
- function $n(e) {
2533
+ function Vn(e) {
2511
2534
  var t = e.hourCycle;
2512
2535
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2513
2536
  e.hourCycles && // @ts-ignore
@@ -2526,23 +2549,23 @@ function $n(e) {
2526
2549
  }
2527
2550
  var r = e.language, n;
2528
2551
  r !== "root" && (n = e.maximize().region);
2529
- var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2552
+ var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
2530
2553
  return i[0];
2531
2554
  }
2532
- var ke, jn = new RegExp("^".concat(nr.source, "*")), Vn = new RegExp("".concat(nr.source, "*$"));
2555
+ var $e, Xn = new RegExp("^".concat(ir.source, "*")), Wn = new RegExp("".concat(ir.source, "*$"));
2533
2556
  function v(e, t) {
2534
2557
  return { start: e, end: t };
2535
2558
  }
2536
- var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, Yn = Jn ? Number.isSafeInteger : function(e) {
2559
+ var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
2537
2560
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2538
- }, Ze = !0;
2561
+ }, Qe = !0;
2539
2562
  try {
2540
- var Kn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2541
- Ze = ((ke = Kn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2563
+ var ti = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2564
+ Qe = (($e = ti.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2542
2565
  } catch (e) {
2543
- Ze = !1;
2566
+ Qe = !1;
2544
2567
  }
2545
- var Et = Xn ? (
2568
+ var xt = zn ? (
2546
2569
  // Native
2547
2570
  function(t, r, n) {
2548
2571
  return t.startsWith(r, n);
@@ -2552,7 +2575,7 @@ var Et = Xn ? (
2552
2575
  function(t, r, n) {
2553
2576
  return t.slice(n, n + r.length) === r;
2554
2577
  }
2555
- ), Qe = Wn ? String.fromCodePoint : (
2578
+ ), qe = Zn ? String.fromCodePoint : (
2556
2579
  // IE11
2557
2580
  function() {
2558
2581
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2564,9 +2587,9 @@ var Et = Xn ? (
2564
2587
  }
2565
2588
  return n;
2566
2589
  }
2567
- ), xt = (
2590
+ ), Ct = (
2568
2591
  // native
2569
- zn ? Object.fromEntries : (
2592
+ Qn ? Object.fromEntries : (
2570
2593
  // Ponyfill
2571
2594
  function(t) {
2572
2595
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2576,7 +2599,7 @@ var Et = Xn ? (
2576
2599
  return r;
2577
2600
  }
2578
2601
  )
2579
- ), ar = Zn ? (
2602
+ ), lr = qn ? (
2580
2603
  // Native
2581
2604
  function(t, r) {
2582
2605
  return t.codePointAt(r);
@@ -2590,7 +2613,7 @@ var Et = Xn ? (
2590
2613
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2591
2614
  }
2592
2615
  }
2593
- ), ei = Qn ? (
2616
+ ), ri = Jn ? (
2594
2617
  // Native
2595
2618
  function(t) {
2596
2619
  return t.trimStart();
@@ -2598,9 +2621,9 @@ var Et = Xn ? (
2598
2621
  ) : (
2599
2622
  // Ponyfill
2600
2623
  function(t) {
2601
- return t.replace(jn, "");
2624
+ return t.replace(Xn, "");
2602
2625
  }
2603
- ), ti = qn ? (
2626
+ ), ni = Yn ? (
2604
2627
  // Native
2605
2628
  function(t) {
2606
2629
  return t.trimEnd();
@@ -2608,32 +2631,32 @@ var Et = Xn ? (
2608
2631
  ) : (
2609
2632
  // Ponyfill
2610
2633
  function(t) {
2611
- return t.replace(Vn, "");
2634
+ return t.replace(Wn, "");
2612
2635
  }
2613
2636
  );
2614
- function lr(e, t) {
2637
+ function ur(e, t) {
2615
2638
  return new RegExp(e, t);
2616
2639
  }
2617
- var qe;
2618
- if (Ze) {
2619
- var Ct = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2620
- qe = function(t, r) {
2640
+ var Je;
2641
+ if (Qe) {
2642
+ var wt = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2643
+ Je = function(t, r) {
2621
2644
  var n;
2622
- Ct.lastIndex = r;
2623
- var i = Ct.exec(t);
2645
+ wt.lastIndex = r;
2646
+ var i = wt.exec(t);
2624
2647
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2625
2648
  };
2626
2649
  } else
2627
- qe = function(t, r) {
2650
+ Je = function(t, r) {
2628
2651
  for (var n = []; ; ) {
2629
- var i = ar(t, r);
2630
- if (i === void 0 || ur(i) || oi(i))
2652
+ var i = lr(t, r);
2653
+ if (i === void 0 || hr(i) || ai(i))
2631
2654
  break;
2632
2655
  n.push(i), r += i >= 65536 ? 2 : 1;
2633
2656
  }
2634
- return Qe.apply(void 0, n);
2657
+ return qe.apply(void 0, n);
2635
2658
  };
2636
- var ri = (
2659
+ var ii = (
2637
2660
  /** @class */
2638
2661
  function() {
2639
2662
  function e(t, r) {
@@ -2664,7 +2687,7 @@ var ri = (
2664
2687
  if (n)
2665
2688
  break;
2666
2689
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2667
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2690
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
2668
2691
  var s = this.parseTag(t, r);
2669
2692
  if (s.err)
2670
2693
  return s;
@@ -2697,7 +2720,7 @@ var ri = (
2697
2720
  return o;
2698
2721
  var s = o.val, a = this.clonePosition();
2699
2722
  if (this.bumpIf("</")) {
2700
- if (this.isEOF() || !Je(this.char()))
2723
+ if (this.isEOF() || !Ye(this.char()))
2701
2724
  return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2702
2725
  var u = this.clonePosition(), l = this.parseTagName();
2703
2726
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2715,7 +2738,7 @@ var ri = (
2715
2738
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2716
2739
  }, e.prototype.parseTagName = function() {
2717
2740
  var t = this.offset();
2718
- for (this.bump(); !this.isEOF() && ii(this.char()); )
2741
+ for (this.bump(); !this.isEOF() && si(this.char()); )
2719
2742
  this.bump();
2720
2743
  return this.message.slice(t, this.offset());
2721
2744
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2744,7 +2767,7 @@ var ri = (
2744
2767
  };
2745
2768
  }, e.prototype.tryParseLeftAngleBracket = function() {
2746
2769
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2747
- !ni(this.peek() || 0)) ? (this.bump(), "<") : null;
2770
+ !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
2748
2771
  }, e.prototype.tryParseQuote = function(t) {
2749
2772
  if (this.isEOF() || this.char() !== 39)
2750
2773
  return null;
@@ -2778,12 +2801,12 @@ var ri = (
2778
2801
  r.push(n);
2779
2802
  this.bump();
2780
2803
  }
2781
- return Qe.apply(void 0, r);
2804
+ return qe.apply(void 0, r);
2782
2805
  }, e.prototype.tryParseUnquoted = function(t, r) {
2783
2806
  if (this.isEOF())
2784
2807
  return null;
2785
2808
  var n = this.char();
2786
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2809
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
2787
2810
  }, e.prototype.parseArgument = function(t, r) {
2788
2811
  var n = this.clonePosition();
2789
2812
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2812,7 +2835,7 @@ var ri = (
2812
2835
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2813
2836
  }
2814
2837
  }, e.prototype.parseIdentifierIfPossible = function() {
2815
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2838
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2816
2839
  this.bumpTo(i);
2817
2840
  var o = this.clonePosition(), s = v(t, o);
2818
2841
  return { value: n, location: s };
@@ -2831,7 +2854,7 @@ var ri = (
2831
2854
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2832
2855
  if (m.err)
2833
2856
  return m;
2834
- var f = ti(m.val);
2857
+ var f = ni(m.val);
2835
2858
  if (f.length === 0)
2836
2859
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2837
2860
  var p = v(h, this.clonePosition());
@@ -2841,8 +2864,8 @@ var ri = (
2841
2864
  if (g.err)
2842
2865
  return g;
2843
2866
  var b = v(i, this.clonePosition());
2844
- if (l && Et(l == null ? void 0 : l.style, "::", 0)) {
2845
- var d = ei(l.style.slice(2));
2867
+ if (l && xt(l == null ? void 0 : l.style, "::", 0)) {
2868
+ var d = ri(l.style.slice(2));
2846
2869
  if (a === "number") {
2847
2870
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2848
2871
  return m.err ? m : {
@@ -2852,13 +2875,13 @@ var ri = (
2852
2875
  } else {
2853
2876
  if (d.length === 0)
2854
2877
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2855
- var w = d;
2856
- this.locale && (w = kn(d, this.locale));
2878
+ var H = d;
2879
+ this.locale && (H = jn(d, this.locale));
2857
2880
  var f = {
2858
- type: ie.dateTime,
2859
- pattern: w,
2881
+ type: oe.dateTime,
2882
+ pattern: H,
2860
2883
  location: l.styleLocation,
2861
- parsedOptions: this.shouldParseSkeletons ? On(w) : {}
2884
+ parsedOptions: this.shouldParseSkeletons ? Fn(H) : {}
2862
2885
  }, _ = a === "date" ? T.date : T.time;
2863
2886
  return {
2864
2887
  val: { type: _, value: n, location: b, style: f },
@@ -2879,43 +2902,43 @@ var ri = (
2879
2902
  case "plural":
2880
2903
  case "selectordinal":
2881
2904
  case "select": {
2882
- var C = this.clonePosition();
2905
+ var x = this.clonePosition();
2883
2906
  if (this.bumpSpace(), !this.bumpIf(","))
2884
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(C, E({}, C)));
2907
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, E({}, x)));
2885
2908
  this.bumpSpace();
2886
- var P = this.parseIdentifierIfPossible(), O = 0;
2887
- if (a !== "select" && P.value === "offset") {
2909
+ var L = this.parseIdentifierIfPossible(), I = 0;
2910
+ if (a !== "select" && L.value === "offset") {
2888
2911
  if (!this.bumpIf(":"))
2889
2912
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2890
2913
  this.bumpSpace();
2891
2914
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2892
2915
  if (m.err)
2893
2916
  return m;
2894
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), O = m.val;
2917
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), I = m.val;
2895
2918
  }
2896
- var L = this.tryParsePluralOrSelectOptions(t, a, r, P);
2897
- if (L.err)
2898
- return L;
2919
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, L);
2920
+ if (k.err)
2921
+ return k;
2899
2922
  var g = this.tryParseArgumentClose(i);
2900
2923
  if (g.err)
2901
2924
  return g;
2902
- var H = v(i, this.clonePosition());
2925
+ var w = v(i, this.clonePosition());
2903
2926
  return a === "select" ? {
2904
2927
  val: {
2905
2928
  type: T.select,
2906
2929
  value: n,
2907
- options: xt(L.val),
2908
- location: H
2930
+ options: Ct(k.val),
2931
+ location: w
2909
2932
  },
2910
2933
  err: null
2911
2934
  } : {
2912
2935
  val: {
2913
2936
  type: T.plural,
2914
2937
  value: n,
2915
- options: xt(L.val),
2916
- offset: O,
2938
+ options: Ct(k.val),
2939
+ offset: I,
2917
2940
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2918
- location: H
2941
+ location: w
2919
2942
  },
2920
2943
  err: null
2921
2944
  };
@@ -2963,16 +2986,16 @@ var ri = (
2963
2986
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2964
2987
  var n = [];
2965
2988
  try {
2966
- n = Fn(t);
2989
+ n = Dn(t);
2967
2990
  } catch (i) {
2968
2991
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2969
2992
  }
2970
2993
  return {
2971
2994
  val: {
2972
- type: ie.number,
2995
+ type: oe.number,
2973
2996
  tokens: n,
2974
2997
  location: r,
2975
- parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
2998
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
2976
2999
  },
2977
3000
  err: null
2978
3001
  };
@@ -3020,7 +3043,7 @@ var ri = (
3020
3043
  break;
3021
3044
  }
3022
3045
  var u = v(i, this.clonePosition());
3023
- return o ? (s *= n, Yn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3046
+ return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3024
3047
  }, e.prototype.offset = function() {
3025
3048
  return this.position.offset;
3026
3049
  }, e.prototype.isEOF = function() {
@@ -3035,7 +3058,7 @@ var ri = (
3035
3058
  var t = this.position.offset;
3036
3059
  if (t >= this.message.length)
3037
3060
  throw Error("out of bound");
3038
- var r = ar(this.message, t);
3061
+ var r = lr(this.message, t);
3039
3062
  if (r === void 0)
3040
3063
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3041
3064
  return r;
@@ -3054,7 +3077,7 @@ var ri = (
3054
3077
  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);
3055
3078
  }
3056
3079
  }, e.prototype.bumpIf = function(t) {
3057
- if (Et(this.message, t, this.offset())) {
3080
+ if (xt(this.message, t, this.offset())) {
3058
3081
  for (var r = 0; r < t.length; r++)
3059
3082
  this.bump();
3060
3083
  return !0;
@@ -3076,7 +3099,7 @@ var ri = (
3076
3099
  break;
3077
3100
  }
3078
3101
  }, e.prototype.bumpSpace = function() {
3079
- for (; !this.isEOF() && ur(this.char()); )
3102
+ for (; !this.isEOF() && hr(this.char()); )
3080
3103
  this.bump();
3081
3104
  }, e.prototype.peek = function() {
3082
3105
  if (this.isEOF())
@@ -3086,46 +3109,46 @@ var ri = (
3086
3109
  }, e;
3087
3110
  }()
3088
3111
  );
3089
- function Je(e) {
3112
+ function Ye(e) {
3090
3113
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3091
3114
  }
3092
- function ni(e) {
3093
- return Je(e) || e === 47;
3115
+ function oi(e) {
3116
+ return Ye(e) || e === 47;
3094
3117
  }
3095
- function ii(e) {
3118
+ function si(e) {
3096
3119
  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;
3097
3120
  }
3098
- function ur(e) {
3121
+ function hr(e) {
3099
3122
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3100
3123
  }
3101
- function oi(e) {
3124
+ function ai(e) {
3102
3125
  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;
3103
3126
  }
3104
- function Ye(e) {
3127
+ function Ke(e) {
3105
3128
  e.forEach(function(t) {
3106
- if (delete t.location, Kt(t) || er(t))
3129
+ if (delete t.location, er(t) || tr(t))
3107
3130
  for (var r in t.options)
3108
- delete t.options[r].location, Ye(t.options[r].value);
3109
- else qt(t) && rr(t.style) || (Jt(t) || Yt(t)) && ze(t.style) ? delete t.style.location : tr(t) && Ye(t.children);
3131
+ delete t.options[r].location, Ke(t.options[r].value);
3132
+ else Jt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Ze(t.style) ? delete t.style.location : rr(t) && Ke(t.children);
3110
3133
  });
3111
3134
  }
3112
- function si(e, t) {
3135
+ function li(e, t) {
3113
3136
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3114
- var r = new ri(e, t).parse();
3137
+ var r = new ii(e, t).parse();
3115
3138
  if (r.err) {
3116
3139
  var n = SyntaxError(y[r.err.kind]);
3117
3140
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3118
3141
  }
3119
- return t != null && t.captureLocation || Ye(r.val), r.val;
3142
+ return t != null && t.captureLocation || Ke(r.val), r.val;
3120
3143
  }
3121
- var oe;
3144
+ var se;
3122
3145
  (function(e) {
3123
3146
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3124
- })(oe || (oe = {}));
3125
- var Ne = (
3147
+ })(se || (se = {}));
3148
+ var Pe = (
3126
3149
  /** @class */
3127
3150
  function(e) {
3128
- Me(t, e);
3151
+ Ne(t, e);
3129
3152
  function t(r, n, i) {
3130
3153
  var o = e.call(this, r) || this;
3131
3154
  return o.code = n, o.originalMessage = i, o;
@@ -3134,48 +3157,48 @@ var Ne = (
3134
3157
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3135
3158
  }, t;
3136
3159
  }(Error)
3137
- ), wt = (
3160
+ ), Ht = (
3138
3161
  /** @class */
3139
3162
  function(e) {
3140
- Me(t, e);
3163
+ Ne(t, e);
3141
3164
  function t(r, n, i, o) {
3142
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
3165
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
3143
3166
  }
3144
3167
  return t;
3145
- }(Ne)
3146
- ), ai = (
3168
+ }(Pe)
3169
+ ), ui = (
3147
3170
  /** @class */
3148
3171
  function(e) {
3149
- Me(t, e);
3172
+ Ne(t, e);
3150
3173
  function t(r, n, i) {
3151
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3174
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3152
3175
  }
3153
3176
  return t;
3154
- }(Ne)
3155
- ), li = (
3177
+ }(Pe)
3178
+ ), hi = (
3156
3179
  /** @class */
3157
3180
  function(e) {
3158
- Me(t, e);
3181
+ Ne(t, e);
3159
3182
  function t(r, n) {
3160
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3183
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3161
3184
  }
3162
3185
  return t;
3163
- }(Ne)
3186
+ }(Pe)
3164
3187
  ), F;
3165
3188
  (function(e) {
3166
3189
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3167
3190
  })(F || (F = {}));
3168
- function ui(e) {
3191
+ function ci(e) {
3169
3192
  return e.length < 2 ? e : e.reduce(function(t, r) {
3170
3193
  var n = t[t.length - 1];
3171
3194
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3172
3195
  }, []);
3173
3196
  }
3174
- function hi(e) {
3197
+ function fi(e) {
3175
3198
  return typeof e == "function";
3176
3199
  }
3177
- function He(e, t, r, n, i, o, s) {
3178
- if (e.length === 1 && bt(e[0]))
3200
+ function Se(e, t, r, n, i, o, s) {
3201
+ if (e.length === 1 && yt(e[0]))
3179
3202
  return [
3180
3203
  {
3181
3204
  type: F.literal,
@@ -3184,14 +3207,14 @@ function He(e, t, r, n, i, o, s) {
3184
3207
  ];
3185
3208
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3186
3209
  var h = l[u];
3187
- if (bt(h)) {
3210
+ if (yt(h)) {
3188
3211
  a.push({
3189
3212
  type: F.literal,
3190
3213
  value: h.value
3191
3214
  });
3192
3215
  continue;
3193
3216
  }
3194
- if (Nn(h)) {
3217
+ if (Ln(h)) {
3195
3218
  typeof o == "number" && a.push({
3196
3219
  type: F.literal,
3197
3220
  value: r.getNumberFormat(t).format(o)
@@ -3200,89 +3223,89 @@ function He(e, t, r, n, i, o, s) {
3200
3223
  }
3201
3224
  var m = h.value;
3202
3225
  if (!(i && m in i))
3203
- throw new li(m, s);
3226
+ throw new hi(m, s);
3204
3227
  var f = i[m];
3205
- if (Mn(h)) {
3228
+ if (Pn(h)) {
3206
3229
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3207
3230
  type: typeof f == "string" ? F.literal : F.object,
3208
3231
  value: f
3209
3232
  });
3210
3233
  continue;
3211
3234
  }
3212
- if (Jt(h)) {
3213
- var p = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3235
+ if (Yt(h)) {
3236
+ var p = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3214
3237
  a.push({
3215
3238
  type: F.literal,
3216
3239
  value: r.getDateTimeFormat(t, p).format(f)
3217
3240
  });
3218
3241
  continue;
3219
3242
  }
3220
- if (Yt(h)) {
3221
- var p = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3243
+ if (Kt(h)) {
3244
+ var p = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3222
3245
  a.push({
3223
3246
  type: F.literal,
3224
3247
  value: r.getDateTimeFormat(t, p).format(f)
3225
3248
  });
3226
3249
  continue;
3227
3250
  }
3228
- if (qt(h)) {
3229
- var p = typeof h.style == "string" ? n.number[h.style] : rr(h.style) ? h.style.parsedOptions : void 0;
3251
+ if (Jt(h)) {
3252
+ var p = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3230
3253
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3231
3254
  type: F.literal,
3232
3255
  value: r.getNumberFormat(t, p).format(f)
3233
3256
  });
3234
3257
  continue;
3235
3258
  }
3236
- if (tr(h)) {
3259
+ if (rr(h)) {
3237
3260
  var g = h.children, b = h.value, d = i[b];
3238
- if (!hi(d))
3239
- throw new ai(b, "function", s);
3240
- var w = He(g, t, r, n, i, o), _ = d(w.map(function(O) {
3241
- return O.value;
3261
+ if (!fi(d))
3262
+ throw new ui(b, "function", s);
3263
+ var H = Se(g, t, r, n, i, o), _ = d(H.map(function(I) {
3264
+ return I.value;
3242
3265
  }));
3243
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(O) {
3266
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(I) {
3244
3267
  return {
3245
- type: typeof O == "string" ? F.literal : F.object,
3246
- value: O
3268
+ type: typeof I == "string" ? F.literal : F.object,
3269
+ value: I
3247
3270
  };
3248
3271
  }));
3249
3272
  }
3250
- if (Kt(h)) {
3251
- var C = h.options[f] || h.options.other;
3252
- if (!C)
3253
- throw new wt(h.value, f, Object.keys(h.options), s);
3254
- a.push.apply(a, He(C.value, t, r, n, i));
3273
+ if (er(h)) {
3274
+ var x = h.options[f] || h.options.other;
3275
+ if (!x)
3276
+ throw new Ht(h.value, f, Object.keys(h.options), s);
3277
+ a.push.apply(a, Se(x.value, t, r, n, i));
3255
3278
  continue;
3256
3279
  }
3257
- if (er(h)) {
3258
- var C = h.options["=".concat(f)];
3259
- if (!C) {
3280
+ if (tr(h)) {
3281
+ var x = h.options["=".concat(f)];
3282
+ if (!x) {
3260
3283
  if (!Intl.PluralRules)
3261
- throw new Ne(`Intl.PluralRules is not available in this environment.
3284
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3262
3285
  Try polyfilling it using "@formatjs/intl-pluralrules"
3263
- `, oe.MISSING_INTL_API, s);
3264
- var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3265
- C = h.options[P] || h.options.other;
3286
+ `, se.MISSING_INTL_API, s);
3287
+ var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3288
+ x = h.options[L] || h.options.other;
3266
3289
  }
3267
- if (!C)
3268
- throw new wt(h.value, f, Object.keys(h.options), s);
3269
- a.push.apply(a, He(C.value, t, r, n, i, f - (h.offset || 0)));
3290
+ if (!x)
3291
+ throw new Ht(h.value, f, Object.keys(h.options), s);
3292
+ a.push.apply(a, Se(x.value, t, r, n, i, f - (h.offset || 0)));
3270
3293
  continue;
3271
3294
  }
3272
3295
  }
3273
- return ui(a);
3296
+ return ci(a);
3274
3297
  }
3275
- function ci(e, t) {
3298
+ function mi(e, t) {
3276
3299
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3277
3300
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3278
3301
  }, {})) : e;
3279
3302
  }
3280
- function fi(e, t) {
3303
+ function di(e, t) {
3281
3304
  return t ? Object.keys(e).reduce(function(r, n) {
3282
- return r[n] = ci(e[n], t[n]), r;
3305
+ return r[n] = mi(e[n], t[n]), r;
3283
3306
  }, E({}, e)) : e;
3284
3307
  }
3285
- function $e(e) {
3308
+ function je(e) {
3286
3309
  return {
3287
3310
  create: function() {
3288
3311
  return {
@@ -3296,7 +3319,7 @@ function $e(e) {
3296
3319
  }
3297
3320
  };
3298
3321
  }
3299
- function mi(e) {
3322
+ function pi(e) {
3300
3323
  return e === void 0 && (e = {
3301
3324
  number: {},
3302
3325
  dateTime: {},
@@ -3305,30 +3328,30 @@ function mi(e) {
3305
3328
  getNumberFormat: Ge(function() {
3306
3329
  for (var t, r = [], n = 0; n < arguments.length; n++)
3307
3330
  r[n] = arguments[n];
3308
- return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3331
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3309
3332
  }, {
3310
- cache: $e(e.number),
3311
- strategy: Ue.variadic
3333
+ cache: je(e.number),
3334
+ strategy: ke.variadic
3312
3335
  }),
3313
3336
  getDateTimeFormat: Ge(function() {
3314
3337
  for (var t, r = [], n = 0; n < arguments.length; n++)
3315
3338
  r[n] = arguments[n];
3316
- return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3339
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3317
3340
  }, {
3318
- cache: $e(e.dateTime),
3319
- strategy: Ue.variadic
3341
+ cache: je(e.dateTime),
3342
+ strategy: ke.variadic
3320
3343
  }),
3321
3344
  getPluralRules: Ge(function() {
3322
3345
  for (var t, r = [], n = 0; n < arguments.length; n++)
3323
3346
  r[n] = arguments[n];
3324
- return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3347
+ return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3325
3348
  }, {
3326
- cache: $e(e.pluralRules),
3327
- strategy: Ue.variadic
3349
+ cache: je(e.pluralRules),
3350
+ strategy: ke.variadic
3328
3351
  })
3329
3352
  };
3330
3353
  }
3331
- var di = (
3354
+ var gi = (
3332
3355
  /** @class */
3333
3356
  function() {
3334
3357
  function e(t, r, n, i) {
@@ -3347,7 +3370,7 @@ var di = (
3347
3370
  }, []);
3348
3371
  return h.length <= 1 ? h[0] || "" : h;
3349
3372
  }, this.formatToParts = function(u) {
3350
- return He(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3373
+ return Se(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3351
3374
  }, this.resolvedOptions = function() {
3352
3375
  var u;
3353
3376
  return {
@@ -3360,13 +3383,13 @@ var di = (
3360
3383
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3361
3384
  var s = i || {};
3362
3385
  s.formatters;
3363
- var a = Cn(s, ["formatters"]);
3386
+ var a = Hn(s, ["formatters"]);
3364
3387
  this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3365
3388
  } else
3366
3389
  this.ast = t;
3367
3390
  if (!Array.isArray(this.ast))
3368
3391
  throw new TypeError("A message must be provided as a String or AST.");
3369
- this.formats = fi(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
3392
+ this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3370
3393
  }
3371
3394
  return Object.defineProperty(e, "defaultLocale", {
3372
3395
  get: function() {
@@ -3379,7 +3402,7 @@ var di = (
3379
3402
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3380
3403
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3381
3404
  }
3382
- }, e.__parse = si, e.formats = {
3405
+ }, e.__parse = li, e.formats = {
3383
3406
  number: {
3384
3407
  integer: {
3385
3408
  maximumFractionDigits: 0
@@ -3440,7 +3463,7 @@ var di = (
3440
3463
  }, e;
3441
3464
  }()
3442
3465
  );
3443
- function pi(e, t) {
3466
+ function bi(e, t) {
3444
3467
  if (t == null)
3445
3468
  return;
3446
3469
  if (t in e)
@@ -3461,92 +3484,92 @@ function pi(e, t) {
3461
3484
  n = void 0;
3462
3485
  return n;
3463
3486
  }
3464
- const X = {}, gi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), hr = (e, t) => {
3487
+ const W = {}, yi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), cr = (e, t) => {
3465
3488
  if (t == null)
3466
3489
  return;
3467
- if (t in X && e in X[t])
3468
- return X[t][e];
3469
- const r = Pe(t);
3490
+ if (t in W && e in W[t])
3491
+ return W[t][e];
3492
+ const r = Le(t);
3470
3493
  for (let n = 0; n < r.length; n++) {
3471
- const i = r[n], o = yi(i, e);
3494
+ const i = r[n], o = _i(i, e);
3472
3495
  if (o)
3473
- return gi(e, t, o);
3496
+ return yi(e, t, o);
3474
3497
  }
3475
3498
  };
3476
- let nt;
3477
- const le = Be({});
3478
- function bi(e) {
3479
- return nt[e] || null;
3499
+ let it;
3500
+ const ue = Me({});
3501
+ function vi(e) {
3502
+ return it[e] || null;
3480
3503
  }
3481
- function cr(e) {
3482
- return e in nt;
3504
+ function fr(e) {
3505
+ return e in it;
3483
3506
  }
3484
- function yi(e, t) {
3485
- if (!cr(e))
3507
+ function _i(e, t) {
3508
+ if (!fr(e))
3486
3509
  return null;
3487
- const r = bi(e);
3488
- return pi(r, t);
3510
+ const r = vi(e);
3511
+ return bi(r, t);
3489
3512
  }
3490
- function vi(e) {
3513
+ function Ei(e) {
3491
3514
  if (e == null)
3492
3515
  return;
3493
- const t = Pe(e);
3516
+ const t = Le(e);
3494
3517
  for (let r = 0; r < t.length; r++) {
3495
3518
  const n = t[r];
3496
- if (cr(n))
3519
+ if (fr(n))
3497
3520
  return n;
3498
3521
  }
3499
3522
  }
3500
- function fr(e, ...t) {
3501
- delete X[e], le.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
3523
+ function mr(e, ...t) {
3524
+ delete W[e], ue.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3502
3525
  }
3503
- ae(
3504
- [le],
3526
+ le(
3527
+ [ue],
3505
3528
  ([e]) => Object.keys(e)
3506
3529
  );
3507
- le.subscribe((e) => nt = e);
3508
- const Se = {};
3509
- function _i(e, t) {
3510
- Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3530
+ ue.subscribe((e) => it = e);
3531
+ const Te = {};
3532
+ function xi(e, t) {
3533
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3511
3534
  }
3512
- function mr(e) {
3513
- return Se[e];
3535
+ function dr(e) {
3536
+ return Te[e];
3514
3537
  }
3515
- function Ei(e) {
3516
- return Pe(e).map((t) => {
3517
- const r = mr(t);
3538
+ function Ci(e) {
3539
+ return Le(e).map((t) => {
3540
+ const r = dr(t);
3518
3541
  return [t, r ? [...r] : []];
3519
3542
  }).filter(([, t]) => t.length > 0);
3520
3543
  }
3521
- function Ke(e) {
3522
- return e == null ? !1 : Pe(e).some(
3544
+ function et(e) {
3545
+ return e == null ? !1 : Le(e).some(
3523
3546
  (t) => {
3524
3547
  var r;
3525
- return (r = mr(t)) == null ? void 0 : r.size;
3548
+ return (r = dr(t)) == null ? void 0 : r.size;
3526
3549
  }
3527
3550
  );
3528
3551
  }
3529
- function xi(e, t) {
3552
+ function wi(e, t) {
3530
3553
  return Promise.all(
3531
- t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
3532
- ).then((n) => fr(e, ...n));
3533
- }
3534
- const ce = {};
3535
- function dr(e) {
3536
- if (!Ke(e))
3537
- return e in ce ? ce[e] : Promise.resolve();
3538
- const t = Ei(e);
3539
- return ce[e] = Promise.all(
3554
+ t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
3555
+ ).then((n) => mr(e, ...n));
3556
+ }
3557
+ const fe = {};
3558
+ function pr(e) {
3559
+ if (!et(e))
3560
+ return e in fe ? fe[e] : Promise.resolve();
3561
+ const t = Ci(e);
3562
+ return fe[e] = Promise.all(
3540
3563
  t.map(
3541
- ([r, n]) => xi(r, n)
3564
+ ([r, n]) => wi(r, n)
3542
3565
  )
3543
3566
  ).then(() => {
3544
- if (Ke(e))
3545
- return dr(e);
3546
- delete ce[e];
3547
- }), ce[e];
3567
+ if (et(e))
3568
+ return pr(e);
3569
+ delete fe[e];
3570
+ }), fe[e];
3548
3571
  }
3549
- const Ci = {
3572
+ const Hi = {
3550
3573
  number: {
3551
3574
  scientific: { notation: "scientific" },
3552
3575
  engineering: { notation: "engineering" },
@@ -3575,57 +3598,57 @@ const Ci = {
3575
3598
  timeZoneName: "short"
3576
3599
  }
3577
3600
  }
3578
- }, wi = {
3601
+ }, Si = {
3579
3602
  fallbackLocale: null,
3580
3603
  loadingDelay: 200,
3581
- formats: Ci,
3604
+ formats: Hi,
3582
3605
  warnOnMissingMessages: !0,
3583
3606
  handleMissingMessage: void 0,
3584
3607
  ignoreTag: !0
3585
- }, Hi = wi;
3586
- function se() {
3587
- return Hi;
3608
+ }, Ti = Si;
3609
+ function ae() {
3610
+ return Ti;
3588
3611
  }
3589
- const je = Be(!1);
3590
- var Si = Object.defineProperty, Ti = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
3612
+ const Ve = Me(!1);
3613
+ var Ai = Object.defineProperty, Bi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
3591
3614
  for (var r in t || (t = {}))
3592
- Ii.call(t, r) && St(e, r, t[r]);
3593
- if (Ht)
3594
- for (var r of Ht(t))
3595
- Bi.call(t, r) && St(e, r, t[r]);
3615
+ Mi.call(t, r) && Tt(e, r, t[r]);
3616
+ if (St)
3617
+ for (var r of St(t))
3618
+ Ni.call(t, r) && Tt(e, r, t[r]);
3596
3619
  return e;
3597
- }, Ni = (e, t) => Ti(e, Ai(t));
3598
- let et;
3599
- const Ae = Be(null);
3600
- function Tt(e) {
3620
+ }, Li = (e, t) => Bi(e, Ii(t));
3621
+ let tt;
3622
+ const Be = Me(null);
3623
+ function At(e) {
3601
3624
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3602
3625
  }
3603
- function Pe(e, t = se().fallbackLocale) {
3604
- const r = Tt(e);
3605
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
3626
+ function Le(e, t = ae().fallbackLocale) {
3627
+ const r = At(e);
3628
+ return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
3606
3629
  }
3607
- function J() {
3608
- return et != null ? et : void 0;
3630
+ function Y() {
3631
+ return tt != null ? tt : void 0;
3609
3632
  }
3610
- Ae.subscribe((e) => {
3611
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3633
+ Be.subscribe((e) => {
3634
+ tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3612
3635
  });
3613
- const Pi = (e) => {
3614
- if (e && vi(e) && Ke(e)) {
3615
- const { loadingDelay: t } = se();
3636
+ const Oi = (e) => {
3637
+ if (e && Ei(e) && et(e)) {
3638
+ const { loadingDelay: t } = ae();
3616
3639
  let r;
3617
- return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
3618
- () => je.set(!0),
3640
+ return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
3641
+ () => Ve.set(!0),
3619
3642
  t
3620
- ) : je.set(!0), dr(e).then(() => {
3621
- Ae.set(e);
3643
+ ) : Ve.set(!0), pr(e).then(() => {
3644
+ Be.set(e);
3622
3645
  }).finally(() => {
3623
- clearTimeout(r), je.set(!1);
3646
+ clearTimeout(r), Ve.set(!1);
3624
3647
  });
3625
3648
  }
3626
- return Ae.set(e);
3627
- }, W = Ni(Mi({}, Ae), {
3628
- set: Pi
3649
+ return Be.set(e);
3650
+ }, z = Li(Pi({}, Be), {
3651
+ set: Oi
3629
3652
  }), Oe = (e) => {
3630
3653
  const t = /* @__PURE__ */ Object.create(null);
3631
3654
  return (n) => {
@@ -3633,92 +3656,92 @@ const Pi = (e) => {
3633
3656
  return i in t ? t[i] : t[i] = e(n);
3634
3657
  };
3635
3658
  };
3636
- var Oi = Object.defineProperty, Ie = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3659
+ var Fi = Object.defineProperty, Ie = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3637
3660
  for (var r in t || (t = {}))
3638
- pr.call(t, r) && At(e, r, t[r]);
3661
+ gr.call(t, r) && Bt(e, r, t[r]);
3639
3662
  if (Ie)
3640
3663
  for (var r of Ie(t))
3641
- gr.call(t, r) && At(e, r, t[r]);
3664
+ br.call(t, r) && Bt(e, r, t[r]);
3642
3665
  return e;
3643
- }, ue = (e, t) => {
3666
+ }, he = (e, t) => {
3644
3667
  var r = {};
3645
3668
  for (var n in e)
3646
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3669
+ gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3647
3670
  if (e != null && Ie)
3648
3671
  for (var n of Ie(e))
3649
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
3672
+ t.indexOf(n) < 0 && br.call(e, n) && (r[n] = e[n]);
3650
3673
  return r;
3651
3674
  };
3652
- const be = (e, t) => {
3653
- const { formats: r } = se();
3675
+ const ye = (e, t) => {
3676
+ const { formats: r } = ae();
3654
3677
  if (e in r && t in r[e])
3655
3678
  return r[e][t];
3656
3679
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3657
- }, Li = Oe(
3680
+ }, Ri = Oe(
3658
3681
  (e) => {
3659
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3682
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3660
3683
  if (r == null)
3661
3684
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3662
- return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
3685
+ return n && (i = ye("number", n)), new Intl.NumberFormat(r, i);
3663
3686
  }
3664
- ), Fi = Oe(
3687
+ ), Di = Oe(
3665
3688
  (e) => {
3666
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3689
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3667
3690
  if (r == null)
3668
3691
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3669
- return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
3692
+ return n ? i = ye("date", n) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(r, i);
3670
3693
  }
3671
- ), Ri = Oe(
3694
+ ), Ui = Oe(
3672
3695
  (e) => {
3673
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3696
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3674
3697
  if (r == null)
3675
3698
  throw new Error(
3676
3699
  '[svelte-i18n] A "locale" must be set to format time values'
3677
3700
  );
3678
- return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
3701
+ return n ? i = ye("time", n) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(r, i);
3679
3702
  }
3680
- ), Di = (e = {}) => {
3703
+ ), Gi = (e = {}) => {
3681
3704
  var t = e, {
3682
- locale: r = J()
3683
- } = t, n = ue(t, [
3705
+ locale: r = Y()
3706
+ } = t, n = he(t, [
3684
3707
  "locale"
3685
3708
  ]);
3686
- return Li(it({ locale: r }, n));
3687
- }, Gi = (e = {}) => {
3709
+ return Ri(ot({ locale: r }, n));
3710
+ }, ki = (e = {}) => {
3688
3711
  var t = e, {
3689
- locale: r = J()
3690
- } = t, n = ue(t, [
3712
+ locale: r = Y()
3713
+ } = t, n = he(t, [
3691
3714
  "locale"
3692
3715
  ]);
3693
- return Fi(it({ locale: r }, n));
3694
- }, Ui = (e = {}) => {
3716
+ return Di(ot({ locale: r }, n));
3717
+ }, $i = (e = {}) => {
3695
3718
  var t = e, {
3696
- locale: r = J()
3697
- } = t, n = ue(t, [
3719
+ locale: r = Y()
3720
+ } = t, n = he(t, [
3698
3721
  "locale"
3699
3722
  ]);
3700
- return Ri(it({ locale: r }, n));
3701
- }, ki = Oe(
3723
+ return Ui(ot({ locale: r }, n));
3724
+ }, ji = Oe(
3702
3725
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3703
- (e, t = J()) => new di(e, t, se().formats, {
3704
- ignoreTag: se().ignoreTag
3726
+ (e, t = Y()) => new gi(e, t, ae().formats, {
3727
+ ignoreTag: ae().ignoreTag
3705
3728
  })
3706
- ), $i = (e, t = {}) => {
3729
+ ), Vi = (e, t = {}) => {
3707
3730
  var r, n, i, o;
3708
3731
  let s = t;
3709
3732
  typeof e == "object" && (s = e, e = s.id);
3710
3733
  const {
3711
3734
  values: a,
3712
- locale: u = J(),
3735
+ locale: u = Y(),
3713
3736
  default: l
3714
3737
  } = s;
3715
3738
  if (u == null)
3716
3739
  throw new Error(
3717
3740
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3718
3741
  );
3719
- let h = hr(e, u);
3742
+ let h = cr(e, u);
3720
3743
  if (!h)
3721
- h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3744
+ h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3722
3745
  else if (typeof h != "string")
3723
3746
  return console.warn(
3724
3747
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3727,7 +3750,7 @@ const be = (e, t) => {
3727
3750
  return h;
3728
3751
  let m = h;
3729
3752
  try {
3730
- m = ki(h, u).format(a);
3753
+ m = ji(h, u).format(a);
3731
3754
  } catch (f) {
3732
3755
  f instanceof Error && console.warn(
3733
3756
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3735,24 +3758,24 @@ const be = (e, t) => {
3735
3758
  );
3736
3759
  }
3737
3760
  return m;
3738
- }, ji = (e, t) => Ui(t).format(e), Vi = (e, t) => Gi(t).format(e), Xi = (e, t) => Di(t).format(e), Wi = (e, t = J()) => hr(e, t);
3739
- ae([W, le], () => $i);
3740
- ae([W], () => ji);
3741
- ae([W], () => Vi);
3742
- ae([W], () => Xi);
3743
- ae([W, le], () => Wi);
3744
- function zi({ withLocale: e, translations: t }) {
3745
- W.subscribe((r) => {
3746
- r == null && (le.set(t), W.set(e));
3761
+ }, Xi = (e, t) => $i(t).format(e), Wi = (e, t) => ki(t).format(e), zi = (e, t) => Gi(t).format(e), Zi = (e, t = Y()) => cr(e, t);
3762
+ le([z, ue], () => Vi);
3763
+ le([z], () => Xi);
3764
+ le([z], () => Wi);
3765
+ le([z], () => zi);
3766
+ le([z, ue], () => Zi);
3767
+ function Qi({ withLocale: e, translations: t }) {
3768
+ z.subscribe((r) => {
3769
+ r == null && (ue.set(t), z.set(e));
3747
3770
  });
3748
3771
  }
3749
3772
  function It(e, t) {
3750
- fr(e, t);
3773
+ mr(e, t);
3751
3774
  }
3752
- function Zi(e) {
3753
- W.set(e);
3775
+ function qi(e) {
3776
+ z.set(e);
3754
3777
  }
3755
- const Bt = {
3778
+ const Mt = {
3756
3779
  en: {
3757
3780
  login: "Login",
3758
3781
  register: "Register",
@@ -3809,136 +3832,136 @@ const Bt = {
3809
3832
  deposit: "Deposit"
3810
3833
  }
3811
3834
  };
3812
- function Qi(e) {
3813
- Gr(e, "svelte-1lgwoo3", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3814
- }
3815
- function Mt(e, t, r) {
3816
- const n = e.slice();
3817
- return n[49] = t[r], n[51] = r, n;
3835
+ function Ji(e) {
3836
+ Dr(e, "svelte-1lder3j", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3818
3837
  }
3819
3838
  function Nt(e, t, r) {
3820
3839
  const n = e.slice();
3821
- return n[52] = t[r], n;
3840
+ return n[48] = t[r], n[50] = r, n;
3822
3841
  }
3823
3842
  function Pt(e, t, r) {
3824
3843
  const n = e.slice();
3825
- return n[55] = t[r], n[57] = r, n;
3844
+ return n[51] = t[r], n;
3845
+ }
3846
+ function Lt(e, t, r) {
3847
+ const n = e.slice();
3848
+ return n[54] = t[r], n[56] = r, n;
3826
3849
  }
3827
3850
  function Ot(e) {
3828
- let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
3851
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ne(
3829
3852
  /*sliderdata*/
3830
3853
  e[9]
3831
3854
  );
3832
3855
  const o = (s) => (
3833
3856
  /*category*/
3834
- s[49].id
3857
+ s[48].id
3835
3858
  );
3836
3859
  for (let s = 0; s < i.length; s += 1) {
3837
- let a = Mt(e, i, s), u = o(a);
3838
- r.set(u, t[s] = Ut(u, a));
3860
+ let a = Nt(e, i, s), u = o(a);
3861
+ r.set(u, t[s] = kt(u, a));
3839
3862
  }
3840
3863
  return {
3841
3864
  c() {
3842
3865
  for (let s = 0; s < t.length; s += 1)
3843
3866
  t[s].c();
3844
- n = de();
3867
+ n = pe();
3845
3868
  },
3846
3869
  m(s, a) {
3847
3870
  for (let u = 0; u < t.length; u += 1)
3848
3871
  t[u] && t[u].m(s, a);
3849
- k(s, n, a);
3872
+ U(s, n, a);
3850
3873
  },
3851
3874
  p(s, a) {
3852
3875
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
3853
- 77775 && (i = re(
3876
+ 77775 && (i = ne(
3854
3877
  /*sliderdata*/
3855
3878
  s[9]
3856
- ), t = Xt(t, a, o, 1, s, i, r, n.parentNode, Vt, Ut, n, Mt));
3879
+ ), t = Wt(t, a, o, 1, s, i, r, n.parentNode, Xt, kt, n, Nt));
3857
3880
  },
3858
3881
  d(s) {
3859
- s && D(n);
3882
+ s && R(n);
3860
3883
  for (let a = 0; a < t.length; a += 1)
3861
3884
  t[a].d(s);
3862
3885
  }
3863
3886
  };
3864
3887
  }
3865
- function qi(e) {
3888
+ function Yi(e) {
3866
3889
  let t, r = (
3867
3890
  /*category*/
3868
- e[49].name + ""
3891
+ e[48].name + ""
3869
3892
  ), n;
3870
3893
  return {
3871
3894
  c() {
3872
- t = M("button"), n = ye(r), S(t, "class", "CategoryButton");
3895
+ t = M("button"), n = ve(r), S(t, "class", "CategoryButton");
3873
3896
  },
3874
3897
  m(i, o) {
3875
- k(i, t, o), I(t, n);
3898
+ U(i, t, o), B(t, n);
3876
3899
  },
3877
3900
  p(i, o) {
3878
3901
  o[0] & /*sliderdata*/
3879
3902
  512 && r !== (r = /*category*/
3880
- i[49].name + "") && rt(n, r);
3903
+ i[48].name + "") && nt(n, r);
3881
3904
  },
3882
3905
  d(i) {
3883
- i && D(t);
3906
+ i && R(t);
3884
3907
  }
3885
3908
  };
3886
3909
  }
3887
- function Ji(e) {
3910
+ function Ki(e) {
3888
3911
  let t, r = (
3889
3912
  /*category*/
3890
- e[49].label + ""
3913
+ e[48].label + ""
3891
3914
  ), n, i;
3892
3915
  return {
3893
3916
  c() {
3894
- t = M("a"), n = ye(r), S(t, "href", i = /*category*/
3895
- e[49].path);
3917
+ t = M("a"), n = ve(r), S(t, "href", i = /*category*/
3918
+ e[48].path);
3896
3919
  },
3897
3920
  m(o, s) {
3898
- k(o, t, s), I(t, n);
3921
+ U(o, t, s), B(t, n);
3899
3922
  },
3900
3923
  p(o, s) {
3901
3924
  s[0] & /*sliderdata*/
3902
3925
  512 && r !== (r = /*category*/
3903
- o[49].label + "") && rt(n, r), s[0] & /*sliderdata*/
3926
+ o[48].label + "") && nt(n, r), s[0] & /*sliderdata*/
3904
3927
  512 && i !== (i = /*category*/
3905
- o[49].path) && S(t, "href", i);
3928
+ o[48].path) && S(t, "href", i);
3906
3929
  },
3907
3930
  d(o) {
3908
- o && D(t);
3931
+ o && R(t);
3909
3932
  }
3910
3933
  };
3911
3934
  }
3912
- function Lt(e) {
3935
+ function Ft(e) {
3913
3936
  let t, r = (
3914
3937
  /*subGroupsData*/
3915
3938
  e[10].length > 0 && /*showsubgroups*/
3916
- e[2] == "true" && Ft(e)
3939
+ e[2] == "true" && Rt(e)
3917
3940
  );
3918
3941
  return {
3919
3942
  c() {
3920
- r && r.c(), t = de();
3943
+ r && r.c(), t = pe();
3921
3944
  },
3922
3945
  m(n, i) {
3923
- r && r.m(n, i), k(n, t, i);
3946
+ r && r.m(n, i), U(n, t, i);
3924
3947
  },
3925
3948
  p(n, i) {
3926
3949
  /*subGroupsData*/
3927
3950
  n[10].length > 0 && /*showsubgroups*/
3928
- n[2] == "true" ? r ? r.p(n, i) : (r = Ft(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3951
+ n[2] == "true" ? r ? r.p(n, i) : (r = Rt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3929
3952
  },
3930
3953
  d(n) {
3931
- n && D(t), r && r.d(n);
3954
+ n && R(t), r && r.d(n);
3932
3955
  }
3933
3956
  };
3934
3957
  }
3935
- function Ft(e) {
3936
- let t, r = re(
3958
+ function Rt(e) {
3959
+ let t, r = ne(
3937
3960
  /*subGroupsData*/
3938
3961
  e[10]
3939
3962
  ), n = [];
3940
3963
  for (let i = 0; i < r.length; i += 1)
3941
- n[i] = Gt(Nt(e, r, i));
3964
+ n[i] = Gt(Pt(e, r, i));
3942
3965
  return {
3943
3966
  c() {
3944
3967
  t = M("ul");
@@ -3947,20 +3970,20 @@ function Ft(e) {
3947
3970
  S(t, "class", "DropDown");
3948
3971
  },
3949
3972
  m(i, o) {
3950
- k(i, t, o);
3973
+ U(i, t, o);
3951
3974
  for (let s = 0; s < n.length; s += 1)
3952
3975
  n[s] && n[s].m(t, null);
3953
3976
  },
3954
3977
  p(i, o) {
3955
3978
  if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
3956
3979
  10176) {
3957
- r = re(
3980
+ r = ne(
3958
3981
  /*subGroupsData*/
3959
3982
  i[10]
3960
3983
  );
3961
3984
  let s;
3962
3985
  for (s = 0; s < r.length; s += 1) {
3963
- const a = Nt(i, r, s);
3986
+ const a = Pt(i, r, s);
3964
3987
  n[s] ? n[s].p(a, o) : (n[s] = Gt(a), n[s].c(), n[s].m(t, null));
3965
3988
  }
3966
3989
  for (; s < n.length; s += 1)
@@ -3969,149 +3992,149 @@ function Ft(e) {
3969
3992
  }
3970
3993
  },
3971
3994
  d(i) {
3972
- i && D(t), $r(n, i);
3995
+ i && R(t), kr(n, i);
3973
3996
  }
3974
3997
  };
3975
3998
  }
3976
- function Rt(e) {
3999
+ function Dt(e) {
3977
4000
  var h;
3978
4001
  let t, r, n = (
3979
4002
  /*subGroupItem*/
3980
- ((h = e[55]) == null ? void 0 : h.name) + ""
4003
+ ((h = e[54]) == null ? void 0 : h.name) + ""
3981
4004
  ), i, o, s, a, u;
3982
4005
  function l(...m) {
3983
4006
  return (
3984
4007
  /*click_handler_1*/
3985
- e[32](
4008
+ e[33](
3986
4009
  /*category*/
3987
- e[49],
4010
+ e[48],
3988
4011
  /*index*/
3989
- e[51],
4012
+ e[50],
3990
4013
  /*subGroupItem*/
3991
- e[55],
4014
+ e[54],
3992
4015
  /*subindex*/
3993
- e[57],
4016
+ e[56],
3994
4017
  ...m
3995
4018
  )
3996
4019
  );
3997
4020
  }
3998
4021
  return {
3999
4022
  c() {
4000
- t = M("li"), r = M("a"), i = ye(n), s = Q(), S(r, "class", o = "SubDropDown " + /*index*/
4001
- (e[51] == /*activeIndex*/
4023
+ t = M("li"), r = M("a"), i = ve(n), s = q(), S(r, "class", o = "SubDropDown " + /*index*/
4024
+ (e[50] == /*activeIndex*/
4002
4025
  e[6] && /*activeSubIndex*/
4003
4026
  (e[7] == /*subindex*/
4004
- e[57] || /*prevSubIndex*/
4027
+ e[56] || /*prevSubIndex*/
4005
4028
  e[8] == /*subindex*/
4006
- e[57]) ? "active" : ""));
4029
+ e[56]) ? "active" : ""));
4007
4030
  },
4008
4031
  m(m, f) {
4009
- k(m, t, f), I(t, r), I(r, i), I(t, s), a || (u = Te(t, "click", l), a = !0);
4032
+ U(m, t, f), B(t, r), B(r, i), B(t, s), a || (u = Ae(t, "click", l), a = !0);
4010
4033
  },
4011
4034
  p(m, f) {
4012
4035
  var p;
4013
4036
  e = m, f[0] & /*subGroupsData*/
4014
4037
  1024 && n !== (n = /*subGroupItem*/
4015
- ((p = e[55]) == null ? void 0 : p.name) + "") && rt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4038
+ ((p = e[54]) == null ? void 0 : p.name) + "") && nt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4016
4039
  1984 && o !== (o = "SubDropDown " + /*index*/
4017
- (e[51] == /*activeIndex*/
4040
+ (e[50] == /*activeIndex*/
4018
4041
  e[6] && /*activeSubIndex*/
4019
4042
  (e[7] == /*subindex*/
4020
- e[57] || /*prevSubIndex*/
4043
+ e[56] || /*prevSubIndex*/
4021
4044
  e[8] == /*subindex*/
4022
- e[57]) ? "active" : "")) && S(r, "class", o);
4045
+ e[56]) ? "active" : "")) && S(r, "class", o);
4023
4046
  },
4024
4047
  d(m) {
4025
- m && D(t), a = !1, u();
4048
+ m && R(t), a = !1, u();
4026
4049
  }
4027
4050
  };
4028
4051
  }
4029
- function Dt(e, t) {
4052
+ function Ut(e, t) {
4030
4053
  let r, n, i = (
4031
4054
  /*index*/
4032
- t[51] == /*subGroup*/
4033
- t[52].index && Rt(t)
4055
+ t[50] == /*subGroup*/
4056
+ t[51].index && Dt(t)
4034
4057
  );
4035
4058
  return {
4036
4059
  key: e,
4037
4060
  first: null,
4038
4061
  c() {
4039
- r = de(), i && i.c(), n = de(), this.first = r;
4062
+ r = pe(), i && i.c(), n = pe(), this.first = r;
4040
4063
  },
4041
4064
  m(o, s) {
4042
- k(o, r, s), i && i.m(o, s), k(o, n, s);
4065
+ U(o, r, s), i && i.m(o, s), U(o, n, s);
4043
4066
  },
4044
4067
  p(o, s) {
4045
4068
  t = o, /*index*/
4046
- t[51] == /*subGroup*/
4047
- t[52].index ? i ? i.p(t, s) : (i = Rt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4069
+ t[50] == /*subGroup*/
4070
+ t[51].index ? i ? i.p(t, s) : (i = Dt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4048
4071
  },
4049
4072
  d(o) {
4050
- o && (D(r), D(n)), i && i.d(o);
4073
+ o && (R(r), R(n)), i && i.d(o);
4051
4074
  }
4052
4075
  };
4053
4076
  }
4054
4077
  function Gt(e) {
4055
- let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
4078
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ne(
4056
4079
  /*subGroup*/
4057
- e[52].items
4080
+ e[51].items
4058
4081
  );
4059
4082
  const o = (s) => (
4060
4083
  /*subGroupItem*/
4061
- s[55].id
4084
+ s[54].id
4062
4085
  );
4063
4086
  for (let s = 0; s < i.length; s += 1) {
4064
- let a = Pt(e, i, s), u = o(a);
4065
- r.set(u, t[s] = Dt(u, a));
4087
+ let a = Lt(e, i, s), u = o(a);
4088
+ r.set(u, t[s] = Ut(u, a));
4066
4089
  }
4067
4090
  return {
4068
4091
  c() {
4069
4092
  for (let s = 0; s < t.length; s += 1)
4070
4093
  t[s].c();
4071
- n = de();
4094
+ n = pe();
4072
4095
  },
4073
4096
  m(s, a) {
4074
4097
  for (let u = 0; u < t.length; u += 1)
4075
4098
  t[u] && t[u].m(s, a);
4076
- k(s, n, a);
4099
+ U(s, n, a);
4077
4100
  },
4078
4101
  p(s, a) {
4079
4102
  a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
4080
- 10176 && (i = re(
4103
+ 10176 && (i = ne(
4081
4104
  /*subGroup*/
4082
- s[52].items
4083
- ), t = Xt(t, a, o, 1, s, i, r, n.parentNode, Vt, Dt, n, Pt));
4105
+ s[51].items
4106
+ ), t = Wt(t, a, o, 1, s, i, r, n.parentNode, Xt, Ut, n, Lt));
4084
4107
  },
4085
4108
  d(s) {
4086
- s && D(n);
4109
+ s && R(n);
4087
4110
  for (let a = 0; a < t.length; a += 1)
4088
4111
  t[a].d(s);
4089
4112
  }
4090
4113
  };
4091
4114
  }
4092
- function Ut(e, t) {
4115
+ function kt(e, t) {
4093
4116
  let r, n, i, o, s, a, u, l, h, m, f;
4094
- function p(_, C) {
4117
+ function p(_, x) {
4095
4118
  return (
4096
4119
  /*location*/
4097
- _[0] === "headerMain" ? Ji : qi
4120
+ _[0] === "headerMain" ? Ki : Yi
4098
4121
  );
4099
4122
  }
4100
4123
  let g = p(t), b = g(t), d = (
4101
4124
  /*itemsActive*/
4102
4125
  t[11][
4103
4126
  /*index*/
4104
- t[51]
4105
- ] == !0 && Lt(t)
4127
+ t[50]
4128
+ ] == !0 && Ft(t)
4106
4129
  );
4107
- function w(..._) {
4130
+ function H(..._) {
4108
4131
  return (
4109
4132
  /*click_handler_2*/
4110
- t[33](
4133
+ t[34](
4111
4134
  /*category*/
4112
- t[49],
4135
+ t[48],
4113
4136
  /*index*/
4114
- t[51],
4137
+ t[50],
4115
4138
  ..._
4116
4139
  )
4117
4140
  );
@@ -4120,264 +4143,253 @@ function Ut(e, t) {
4120
4143
  key: e,
4121
4144
  first: null,
4122
4145
  c() {
4123
- var _, C;
4124
- r = M("li"), n = M("div"), i = M("img"), a = Q(), b.c(), u = Q(), d && d.c(), l = Q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4125
- (t[3] === "true" ? "" : "DisplayNone")), dt(i.src, s = /*handleSrc*/
4146
+ var _, x;
4147
+ r = M("li"), n = M("div"), i = M("img"), a = q(), b.c(), u = q(), d && d.c(), l = q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4148
+ (t[3] === "true" ? "" : "DisplayNone")), pt(i.src, s = /*handleSrc*/
4126
4149
  t[16](
4127
4150
  /*category*/
4128
- t[49]
4151
+ t[48]
4129
4152
  )) || S(i, "src", s), S(n, "class", "CategoryIcon"), S(r, "class", h = "CarouselItem " + /*activeindex*/
4130
4153
  (((_ = t[1]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
4131
4154
  /*activeindex*/
4132
- ((C = t[1]) == null ? void 0 : C.split("$").pop()) == /*category*/
4133
- t[49].id.split("$").pop() ? "active" : ""
4155
+ ((x = t[1]) == null ? void 0 : x.split("$").pop()) == /*category*/
4156
+ t[48].id.split("$").pop() ? "active" : ""
4134
4157
  ) : (
4135
4158
  /*activeindex*/
4136
4159
  t[1] == /*category*/
4137
- t[49].id ? "active" : ""
4160
+ t[48].id ? "active" : ""
4138
4161
  )) + " " + /*location*/
4139
- (t[0] == "headerMain" ? "" : "SecondaryMenu")), S(r, "part", "CarouselItem"), this.first = r;
4162
+ (t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
4140
4163
  },
4141
- m(_, C) {
4142
- k(_, r, C), I(r, n), I(n, i), I(r, a), b.m(r, null), I(r, u), d && d.m(r, null), I(r, l), m || (f = Te(r, "click", w), m = !0);
4164
+ m(_, x) {
4165
+ U(_, r, x), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, u), d && d.m(r, null), B(r, l), m || (f = Ae(r, "click", H), m = !0);
4143
4166
  },
4144
- p(_, C) {
4145
- var P, O;
4146
- t = _, C[0] & /*categoriesicon*/
4167
+ p(_, x) {
4168
+ var L, I;
4169
+ t = _, x[0] & /*categoriesicon*/
4147
4170
  8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
4148
- (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), C[0] & /*sliderdata*/
4149
- 512 && !dt(i.src, s = /*handleSrc*/
4171
+ (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), x[0] & /*sliderdata*/
4172
+ 512 && !pt(i.src, s = /*handleSrc*/
4150
4173
  t[16](
4151
4174
  /*category*/
4152
- t[49]
4153
- )) && S(i, "src", s), g === (g = p(t)) && b ? b.p(t, C) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
4175
+ t[48]
4176
+ )) && S(i, "src", s), g === (g = p(t)) && b ? b.p(t, x) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
4154
4177
  t[11][
4155
4178
  /*index*/
4156
- t[51]
4157
- ] == !0 ? d ? d.p(t, C) : (d = Lt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), C[0] & /*activeindex, sliderdata, location*/
4179
+ t[50]
4180
+ ] == !0 ? d ? d.p(t, x) : (d = Ft(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), x[0] & /*activeindex, sliderdata, location*/
4158
4181
  515 && h !== (h = "CarouselItem " + /*activeindex*/
4159
- (((P = t[1]) == null ? void 0 : P.toString().indexOf("$")) > -1 ? (
4182
+ (((L = t[1]) == null ? void 0 : L.toString().indexOf("$")) > -1 ? (
4160
4183
  /*activeindex*/
4161
- ((O = t[1]) == null ? void 0 : O.split("$").pop()) == /*category*/
4162
- t[49].id.split("$").pop() ? "active" : ""
4184
+ ((I = t[1]) == null ? void 0 : I.split("$").pop()) == /*category*/
4185
+ t[48].id.split("$").pop() ? "active" : ""
4163
4186
  ) : (
4164
4187
  /*activeindex*/
4165
4188
  t[1] == /*category*/
4166
- t[49].id ? "active" : ""
4189
+ t[48].id ? "active" : ""
4167
4190
  )) + " " + /*location*/
4168
4191
  (t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", h);
4169
4192
  },
4170
4193
  d(_) {
4171
- _ && D(r), b.d(), d && d.d(), m = !1, f();
4194
+ _ && R(r), b.d(), d && d.d(), m = !1, f();
4172
4195
  }
4173
4196
  };
4174
4197
  }
4175
- function Yi(e) {
4198
+ function eo(e) {
4176
4199
  let t, r, n, i, o, s, a, u, l, h, m, f, p, g, b, d = (
4177
4200
  /*sliderdata*/
4178
4201
  e[9].length > 0 && Ot(e)
4179
4202
  );
4180
4203
  return {
4181
4204
  c() {
4182
- t = M("div"), r = M("div"), n = M("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Q(), o = M("div"), s = M("ul"), a = M("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = Q(), d && d.c(), l = Q(), h = M("div"), h.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap"), S(h, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4205
+ t = M("div"), r = M("div"), n = M("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = q(), o = M("div"), s = M("ul"), a = M("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = q(), d && d.c(), l = q(), h = M("div"), h.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap"), S(h, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4183
4206
  e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
4184
4207
  e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
4185
4208
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4186
4209
  },
4187
- m(w, _) {
4188
- k(w, t, _), I(t, r), I(r, n), I(r, i), I(r, o), I(o, s), I(s, a), I(s, u), d && d.m(s, null), e[34](s), e[35](o), I(r, l), I(r, h), e[37](t), g || (b = [
4189
- Te(
4210
+ m(H, _) {
4211
+ U(H, t, _), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, u), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, h), e[38](t), g || (b = [
4212
+ Ae(
4190
4213
  n,
4191
4214
  "click",
4192
4215
  /*click_handler*/
4193
- e[31]
4216
+ e[32]
4194
4217
  ),
4195
- Te(
4218
+ Ae(
4196
4219
  h,
4197
4220
  "click",
4198
4221
  /*click_handler_3*/
4199
- e[36]
4222
+ e[37]
4200
4223
  )
4201
4224
  ], g = !0);
4202
4225
  },
4203
- p(w, _) {
4226
+ p(H, _) {
4204
4227
  /*sliderdata*/
4205
- w[9].length > 0 ? d ? d.p(w, _) : (d = Ot(w), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
4228
+ H[9].length > 0 ? d ? d.p(H, _) : (d = Ot(H), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
4206
4229
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4207
- w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), _[0] & /*location*/
4230
+ H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), _[0] & /*location*/
4208
4231
  1 && f !== (f = /*location*/
4209
- w[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), _[0] & /*location*/
4232
+ H[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), _[0] & /*location*/
4210
4233
  1 && p !== (p = "CarouselWrapper " + /*location*/
4211
- (w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4234
+ (H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4212
4235
  },
4213
- i: $,
4214
- o: $,
4215
- d(w) {
4216
- w && D(t), d && d.d(), e[34](null), e[35](null), e[37](null), g = !1, q(b);
4236
+ i: G,
4237
+ o: G,
4238
+ d(H) {
4239
+ H && R(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, J(b);
4217
4240
  }
4218
4241
  };
4219
4242
  }
4220
- function Ki(e, t, r) {
4221
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: C = "" } = t, { mygamesiconimage: P = "" } = t;
4222
- zi({ withLocale: "en", translations: {} });
4223
- const O = () => {
4224
- fetch(f).then((x) => x.json()).then((x) => {
4225
- Object.keys(x).forEach((B) => {
4226
- It(B, x[B]);
4243
+ function to(e, t, r) {
4244
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: x = "" } = t, { mygamesiconimage: L = "" } = t, { mbsource: I = "" } = t;
4245
+ Qi({ withLocale: "en", translations: {} });
4246
+ const k = () => {
4247
+ fetch(f).then((C) => C.json()).then((C) => {
4248
+ Object.keys(C).forEach((O) => {
4249
+ It(O, C[O]);
4227
4250
  });
4228
- }).catch((x) => {
4229
- console.log(x);
4251
+ }).catch((C) => {
4252
+ console.log(C);
4230
4253
  });
4231
4254
  };
4232
- Object.keys(Bt).forEach((c) => {
4233
- It(c, Bt[c]);
4255
+ Object.keys(Mt).forEach((c) => {
4256
+ It(c, Mt[c]);
4234
4257
  });
4235
- let L, H, N, R, G, he = [], ve = [], _e = [], j, Le = (c, x, B, z, V) => {
4236
- var Z;
4237
- if (!(c.subGroups && z === null)) {
4238
- if (Ee(), r(6, H = x), r(6, H), V != "secondary") {
4258
+ let w, N, P, V, $, ce = [], _e = [], Ee = [], j, Fe = (c, C, O, Z, X) => {
4259
+ var Q;
4260
+ if (!(c.subGroups && Z === null)) {
4261
+ if (xe(), r(6, N = C), r(6, N), X != "secondary") {
4239
4262
  window.postMessage(
4240
4263
  {
4241
4264
  type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
4242
4265
  buzz: "1",
4243
4266
  itemId: c.id,
4244
- index: x,
4267
+ index: C,
4245
4268
  item: c,
4246
4269
  path: c.path,
4247
4270
  externalLink: c.externalLink || !1,
4248
- target: ((Z = c.attrs) == null ? void 0 : Z.target) || null
4271
+ target: ((Q = c.attrs) == null ? void 0 : Q.target) || null
4249
4272
  },
4250
4273
  window.location.href
4251
- ), r(7, N = null), r(8, R = null);
4274
+ ), r(7, P = null), r(8, V = null);
4252
4275
  return;
4253
4276
  }
4254
- r(7, N = z), r(7, N), r(8, R = N), window.postMessage(
4277
+ r(7, P = Z), r(7, P), r(8, V = P), window.postMessage(
4255
4278
  {
4256
4279
  type: s,
4257
- itemId: B.id,
4258
- subIndex: z,
4259
- subItem: B
4280
+ itemId: O.id,
4281
+ subIndex: Z,
4282
+ subItem: O
4260
4283
  },
4261
4284
  window.location.href
4262
4285
  );
4263
4286
  }
4264
- }, ot = () => {
4265
- j.scrollBy({ left: -250, behavior: "smooth" });
4266
4287
  }, st = () => {
4288
+ j.scrollBy({ left: -250, behavior: "smooth" });
4289
+ }, at = () => {
4267
4290
  j.scrollBy({ left: 250, behavior: "smooth" });
4268
4291
  };
4269
- const at = (c) => {
4270
- c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, _e = new Array(he.length).fill(!1)), w == "true" && vr()), c.data.type == "GoToHomepage" && he.forEach((x, B) => {
4271
- x.path.endsWith("/casino") && (r(6, H = B), r(6, H));
4292
+ const lt = (c) => {
4293
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, ce = c.data.data), r(11, Ee = new Array(ce.length).fill(!1)), H == "true" && _r()), c.data.type == "GoToHomepage" && ce.forEach((C, O) => {
4294
+ C.path.endsWith("/casino") && (r(6, N = O), r(6, N));
4272
4295
  });
4273
- }, br = () => {
4274
- Zi(b);
4275
- }, yr = (c, x, B) => {
4296
+ }, yr = () => {
4297
+ qi(b);
4298
+ }, vr = (c, C, O) => {
4276
4299
  if (u == "secondaryMenu" && n && i && b && c.id) {
4277
- let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4278
- fetch(z.href).then((V) => V.json()).then((V) => {
4279
- V.index = x, r(10, ve = ve.concat(V)), w == "false" && window.postMessage(
4300
+ let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4301
+ fetch(Z.href).then((X) => X.json()).then((X) => {
4302
+ X.index = C, r(10, _e = _e.concat(X)), H == "false" && window.postMessage(
4280
4303
  {
4281
4304
  type: s,
4282
4305
  itemId: c.id,
4283
- index: x,
4306
+ index: C,
4284
4307
  item: c
4285
4308
  },
4286
4309
  window.location.href
4287
4310
  );
4288
- const Z = [];
4289
- ve.map((Br) => (Br.items.forEach((lt) => {
4290
- Z.find((Mr) => lt.id == Mr) || Z.push(lt.id);
4291
- }), Z.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Z }, window.location.href);
4311
+ const Q = [];
4312
+ _e.map((Br) => (Br.items.forEach((ut) => {
4313
+ Q.find((Ir) => ut.id == Ir) || Q.push(ut.id);
4314
+ }), Q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Q }, window.location.href);
4292
4315
  }).then(() => {
4293
- L.querySelectorAll(".DropDown") && Ee();
4316
+ w.querySelectorAll(".DropDown") && xe();
4294
4317
  });
4295
4318
  }
4296
4319
  u == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
4297
- }, Ee = () => {
4298
- const c = L.querySelectorAll(".DropDown");
4320
+ }, xe = () => {
4321
+ const c = w.querySelectorAll(".DropDown");
4299
4322
  document.activeElement.blur(), j.classList.add("isScrolling");
4300
- for (let x = 0; x < c.length; x++)
4301
- c[x].style.transform = "translateX(-" + j.scrollLeft + "px)";
4323
+ for (let C = 0; C < c.length; C++)
4324
+ c[C].style.transform = "translateX(-" + j.scrollLeft + "px)";
4302
4325
  j.classList.remove("isScrolling");
4303
- }, vr = () => {
4304
- he.forEach((c, x) => {
4305
- var B;
4306
- ((B = c == null ? void 0 : c.subGroups) == null ? void 0 : B.count) > 0 && (r(11, _e[x] = !0, _e), yr(c, x));
4307
- });
4308
4326
  }, _r = () => {
4309
- let c = document.createElement("style");
4310
- c.innerHTML = l, G.appendChild(c);
4311
- }, Er = () => {
4312
- let c = document.createElement("style"), x = new URL(h);
4313
- fetch(x.href).then((B) => B.text()).then((B) => {
4314
- c.innerHTML = B, setTimeout(
4315
- () => {
4316
- G.appendChild(c);
4317
- },
4318
- 1
4319
- );
4327
+ ce.forEach((c, C) => {
4328
+ var O;
4329
+ ((O = c == null ? void 0 : c.subGroups) == null ? void 0 : O.count) > 0 && (r(11, Ee[C] = !0, Ee), vr(c, C));
4320
4330
  });
4321
- }, xr = (c) => {
4322
- let x = "";
4323
- return c.id === "LOBBY" ? x = C : c.id === "MYGAMES" && (x = P), c.icon || x;
4331
+ }, Er = (c) => {
4332
+ let C = "";
4333
+ return c.id === "LOBBY" ? C = x : c.id === "MYGAMES" && (C = L), c.icon || C;
4324
4334
  };
4325
- Wr(() => (window.addEventListener("message", at, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4335
+ Xr(() => (window.addEventListener("message", lt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4326
4336
  () => {
4327
- j.addEventListener("scroll", Ee);
4337
+ j.addEventListener("scroll", xe);
4328
4338
  },
4329
4339
  500
4330
4340
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4331
- window.removeEventListener("message", at), L.removeEventListener("scroll", Ee);
4341
+ window.removeEventListener("message", lt), w.removeEventListener("scroll", xe);
4332
4342
  }));
4333
- const Cr = () => ot(), wr = (c, x, B, z, V) => {
4334
- Le(c, x, B, z, "secondary"), V.stopPropagation();
4335
- }, Hr = (c, x, B) => {
4336
- Le(c, x, null, null, "main"), B.preventDefault();
4343
+ const xr = () => st(), Cr = (c, C, O, Z, X) => {
4344
+ Fe(c, C, O, Z, "secondary"), X.stopPropagation();
4345
+ }, wr = (c, C, O) => {
4346
+ Fe(c, C, null, null, "main"), O.preventDefault();
4337
4347
  };
4338
- function Sr(c) {
4339
- me[c ? "unshift" : "push"](() => {
4340
- L = c, r(5, L);
4348
+ function Hr(c) {
4349
+ de[c ? "unshift" : "push"](() => {
4350
+ w = c, r(5, w);
4341
4351
  });
4342
4352
  }
4343
- function Tr(c) {
4344
- me[c ? "unshift" : "push"](() => {
4353
+ function Sr(c) {
4354
+ de[c ? "unshift" : "push"](() => {
4345
4355
  j = c, r(12, j);
4346
4356
  });
4347
4357
  }
4348
- const Ar = () => st();
4349
- function Ir(c) {
4350
- me[c ? "unshift" : "push"](() => {
4351
- G = c, r(4, G);
4358
+ const Tr = () => at();
4359
+ function Ar(c) {
4360
+ de[c ? "unshift" : "push"](() => {
4361
+ $ = c, r(4, $);
4352
4362
  });
4353
4363
  }
4354
4364
  return e.$$set = (c) => {
4355
- "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, C = c.lobbyiconimage), "mygamesiconimage" in c && r(30, P = c.mygamesiconimage);
4365
+ "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, H = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, x = c.lobbyiconimage), "mygamesiconimage" in c && r(30, L = c.mygamesiconimage), "mbsource" in c && r(31, I = c.mbsource);
4356
4366
  }, e.$$.update = () => {
4357
4367
  e.$$.dirty[0] & /*activeindex*/
4358
4368
  2, e.$$.dirty[0] & /*translationurl*/
4359
- 33554432 && f && O(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4360
- 4194320 && l && G && _r(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4361
- 8388624 && h && G && Er(), e.$$.dirty[0] & /*lang*/
4362
- 268435456 && b && br();
4369
+ 33554432 && f && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4370
+ 4194320 && l && $ && on($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4371
+ 8388624 && h && $ && sn($, h), e.$$.dirty[0] & /*customStylingContainer*/
4372
+ 16 | e.$$.dirty[1] & /*mbsource*/
4373
+ 1 && I && $ && an($, `${I}.Style`), e.$$.dirty[0] & /*lang*/
4374
+ 268435456 && b && yr();
4363
4375
  }, [
4364
4376
  u,
4365
4377
  d,
4366
- w,
4367
- _,
4368
- G,
4369
- L,
4370
4378
  H,
4379
+ _,
4380
+ $,
4381
+ w,
4371
4382
  N,
4372
- R,
4373
- he,
4374
- ve,
4383
+ P,
4384
+ V,
4385
+ ce,
4375
4386
  _e,
4387
+ Ee,
4376
4388
  j,
4377
- Le,
4378
- ot,
4389
+ Fe,
4379
4390
  st,
4380
- xr,
4391
+ at,
4392
+ Er,
4381
4393
  n,
4382
4394
  i,
4383
4395
  o,
@@ -4390,25 +4402,26 @@ function Ki(e, t, r) {
4390
4402
  p,
4391
4403
  g,
4392
4404
  b,
4393
- C,
4394
- P,
4405
+ x,
4406
+ L,
4407
+ I,
4408
+ xr,
4395
4409
  Cr,
4396
4410
  wr,
4397
4411
  Hr,
4398
4412
  Sr,
4399
4413
  Tr,
4400
- Ar,
4401
- Ir
4414
+ Ar
4402
4415
  ];
4403
4416
  }
4404
- class eo extends nn {
4417
+ class ro extends rn {
4405
4418
  constructor(t) {
4406
- super(), tn(
4419
+ super(), en(
4407
4420
  this,
4408
4421
  t,
4409
- Ki,
4410
- Yi,
4411
- $t,
4422
+ to,
4423
+ eo,
4424
+ jt,
4412
4425
  {
4413
4426
  endpoint: 17,
4414
4427
  datasource: 18,
@@ -4427,9 +4440,10 @@ class eo extends nn {
4427
4440
  showsubgroups: 2,
4428
4441
  categoriesicon: 3,
4429
4442
  lobbyiconimage: 29,
4430
- mygamesiconimage: 30
4443
+ mygamesiconimage: 30,
4444
+ mbsource: 31
4431
4445
  },
4432
- Qi,
4446
+ Ji,
4433
4447
  [-1, -1]
4434
4448
  );
4435
4449
  }
@@ -4541,8 +4555,14 @@ class eo extends nn {
4541
4555
  set mygamesiconimage(t) {
4542
4556
  this.$$set({ mygamesiconimage: t }), A();
4543
4557
  }
4558
+ get mbsource() {
4559
+ return this.$$.ctx[31];
4560
+ }
4561
+ set mbsource(t) {
4562
+ this.$$set({ mbsource: t }), A();
4563
+ }
4544
4564
  }
4545
- rn(eo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4565
+ tn(ro, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4546
4566
  export {
4547
- eo as default
4567
+ ro as default
4548
4568
  };