@everymatrix/casino-slider 1.74.10 → 1.75.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,28 +1,28 @@
1
1
  function k() {
2
2
  }
3
- function Gt(e) {
3
+ function kt(e) {
4
4
  return e();
5
5
  }
6
- function ft() {
6
+ function mt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function q(e) {
10
- e.forEach(Gt);
10
+ e.forEach(kt);
11
11
  }
12
12
  function nt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function kt(e, t) {
15
+ function $t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let He;
19
- function mt(e, t) {
19
+ function dt(e, t) {
20
20
  return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
21
21
  }
22
- function Pr(e) {
22
+ function Or(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Or(e, ...t) {
25
+ function Fr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -34,14 +34,14 @@ function Or(e, ...t) {
34
34
  function I(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function Fr(e, t, r) {
38
- const n = Rr(e);
37
+ function Rr(e, t, r) {
38
+ const n = Dr(e);
39
39
  if (!n.getElementById(t)) {
40
40
  const i = L("style");
41
- i.id = t, i.textContent = r, Dr(n, i);
41
+ i.id = t, i.textContent = r, Ur(n, i);
42
42
  }
43
43
  }
44
- function Rr(e) {
44
+ function Dr(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +51,7 @@ function Rr(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function Dr(e, t) {
54
+ function Ur(e, t) {
55
55
  return I(
56
56
  /** @type {Document} */
57
57
  e.head || e,
@@ -64,7 +64,7 @@ function G(e, t, r) {
64
64
  function D(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function Ur(e, t) {
67
+ function Gr(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
@@ -83,7 +83,7 @@ function be() {
83
83
  function j(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
- function Gr(e) {
86
+ function kr(e) {
87
87
  return function(t) {
88
88
  return t.preventDefault(), e.call(this, t);
89
89
  };
@@ -91,14 +91,14 @@ function Gr(e) {
91
91
  function S(e, t, r) {
92
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
93
  }
94
- function kr(e) {
94
+ function $r(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
97
  function it(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
- function $r(e) {
101
+ function jr(e) {
102
102
  const t = {};
103
103
  return e.childNodes.forEach(
104
104
  /** @param {Element} node */
@@ -111,24 +111,24 @@ let ye;
111
111
  function pe(e) {
112
112
  ye = e;
113
113
  }
114
- function jr() {
114
+ function Vr() {
115
115
  if (!ye)
116
116
  throw new Error("Function called outside component initialization");
117
117
  return ye;
118
118
  }
119
- function Vr(e) {
120
- jr().$$.on_mount.push(e);
119
+ function Xr(e) {
120
+ Vr().$$.on_mount.push(e);
121
121
  }
122
- function Xr(e, t) {
122
+ function Wr(e, t) {
123
123
  const r = e.$$.callbacks[t.type];
124
124
  r && r.slice().forEach((n) => n.call(this, t));
125
125
  }
126
126
  const re = [], ge = [];
127
127
  let ne = [];
128
- const dt = [], Wr = /* @__PURE__ */ Promise.resolve();
128
+ const pt = [], zr = /* @__PURE__ */ Promise.resolve();
129
129
  let We = !1;
130
- function zr() {
131
- We || (We = !0, Wr.then(B));
130
+ function Zr() {
131
+ We || (We = !0, zr.then(B));
132
132
  }
133
133
  function ze(e) {
134
134
  ne.push(e);
@@ -143,7 +143,7 @@ function B() {
143
143
  try {
144
144
  for (; ee < re.length; ) {
145
145
  const t = re[ee];
146
- ee++, pe(t), Zr(t.$$);
146
+ ee++, pe(t), Qr(t.$$);
147
147
  }
148
148
  } catch (t) {
149
149
  throw re.length = 0, ee = 0, t;
@@ -156,32 +156,32 @@ function B() {
156
156
  }
157
157
  ne.length = 0;
158
158
  } while (re.length);
159
- for (; dt.length; )
160
- dt.pop()();
159
+ for (; pt.length; )
160
+ pt.pop()();
161
161
  We = !1, Ue.clear(), pe(e);
162
162
  }
163
- function Zr(e) {
163
+ function Qr(e) {
164
164
  if (e.fragment !== null) {
165
165
  e.update(), q(e.before_update);
166
166
  const t = e.dirty;
167
167
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
168
168
  }
169
169
  }
170
- function Qr(e) {
170
+ function qr(e) {
171
171
  const t = [], r = [];
172
172
  ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
173
173
  }
174
- const qr = /* @__PURE__ */ new Set();
175
- function $t(e, t) {
176
- e && e.i && (qr.delete(e), e.i(t));
174
+ const Jr = /* @__PURE__ */ new Set();
175
+ function jt(e, t) {
176
+ e && e.i && (Jr.delete(e), e.i(t));
177
177
  }
178
178
  function ie(e) {
179
179
  return e?.length !== void 0 ? e : Array.from(e);
180
180
  }
181
- function jt(e, t) {
181
+ function Vt(e, t) {
182
182
  e.d(1), t.delete(e.key);
183
183
  }
184
- function Vt(e, t, r, n, i, s, o, a, h, l, u, m) {
184
+ function Xt(e, t, r, n, i, s, o, a, h, l, u, m) {
185
185
  let f = e.length, p = s.length, g = f;
186
186
  const b = {};
187
187
  for (; g--; )
@@ -194,7 +194,7 @@ function Vt(e, t, r, n, i, s, o, a, h, l, u, m) {
194
194
  }
195
195
  const U = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
196
196
  function T(H) {
197
- $t(H, 1), H.m(a, u), o.set(H.key, H), u = H.first, p--;
197
+ jt(H, 1), H.m(a, u), o.set(H.key, H), u = H.first, p--;
198
198
  }
199
199
  for (; f && p; ) {
200
200
  const H = d[p - 1], F = e[f - 1], R = H.key, Y = F.key;
@@ -208,21 +208,21 @@ function Vt(e, t, r, n, i, s, o, a, h, l, u, m) {
208
208
  T(d[p - 1]);
209
209
  return q(w), d;
210
210
  }
211
- function Jr(e, t, r) {
211
+ function Yr(e, t, r) {
212
212
  const { fragment: n, after_update: i } = e.$$;
213
213
  n && n.m(t, r), ze(() => {
214
- const s = e.$$.on_mount.map(Gt).filter(nt);
214
+ const s = e.$$.on_mount.map(kt).filter(nt);
215
215
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
216
216
  }), i.forEach(ze);
217
217
  }
218
- function Yr(e, t) {
218
+ function Kr(e, t) {
219
219
  const r = e.$$;
220
- 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 = []);
220
+ 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 = []);
221
221
  }
222
- function Kr(e, t) {
223
- e.$$.dirty[0] === -1 && (re.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
+ function en(e, t) {
223
+ e.$$.dirty[0] === -1 && (re.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
224
  }
225
- function en(e, t, r, n, i, s, o = null, a = [-1]) {
225
+ function tn(e, t, r, n, i, s, o = null, a = [-1]) {
226
226
  const h = ye;
227
227
  pe(e);
228
228
  const l = e.$$ = {
@@ -232,7 +232,7 @@ function en(e, t, r, n, i, s, o = null, a = [-1]) {
232
232
  props: s,
233
233
  update: k,
234
234
  not_equal: i,
235
- bound: ft(),
235
+ bound: mt(),
236
236
  // lifecycle
237
237
  on_mount: [],
238
238
  on_destroy: [],
@@ -241,28 +241,28 @@ function en(e, t, r, n, i, s, o = null, a = [-1]) {
241
241
  after_update: [],
242
242
  context: new Map(t.context || (h ? h.$$.context : [])),
243
243
  // everything else
244
- callbacks: ft(),
244
+ callbacks: mt(),
245
245
  dirty: a,
246
246
  skip_bound: !1,
247
247
  root: t.target || h.$$.root
248
248
  };
249
249
  o && o(l.root);
250
250
  let u = !1;
251
- if (l.ctx = r(e, t.props || {}, (m, f, ...p) => {
251
+ if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
252
252
  const g = p.length ? p[0] : f;
253
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && Kr(e, m)), f;
254
- }), l.update(), u = !0, q(l.before_update), l.fragment = n(l.ctx), t.target) {
253
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && en(e, m)), f;
254
+ }) : [], l.update(), u = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
255
255
  if (t.hydrate) {
256
- const m = kr(t.target);
256
+ const m = $r(t.target);
257
257
  l.fragment && l.fragment.l(m), m.forEach(D);
258
258
  } else
259
259
  l.fragment && l.fragment.c();
260
- t.intro && $t(e.$$.fragment), Jr(e, t.target, t.anchor), B();
260
+ t.intro && jt(e.$$.fragment), Yr(e, t.target, t.anchor), B();
261
261
  }
262
262
  pe(h);
263
263
  }
264
- let Xt;
265
- typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
264
+ let Wt;
265
+ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
266
266
  /** The Svelte component constructor */
267
267
  $$ctor;
268
268
  /** Slots */
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
321
321
  };
322
322
  if (await Promise.resolve(), !this.$$cn || this.$$c)
323
323
  return;
324
- const t = {}, r = $r(this);
324
+ const t = {}, r = jr(this);
325
325
  for (const i of this.$$s)
326
326
  i in r && (t[i] = [e(i)]);
327
327
  for (const i of this.attributes) {
@@ -408,8 +408,8 @@ function Te(e, t, r, n) {
408
408
  return t;
409
409
  }
410
410
  }
411
- function tn(e, t, r, n, i, s) {
412
- let o = class extends Xt {
411
+ function rn(e, t, r, n, i, s) {
412
+ let o = class extends Wt {
413
413
  constructor() {
414
414
  super(e, r, i), this.$$p_d = t;
415
415
  }
@@ -437,7 +437,7 @@ function tn(e, t, r, n, i, s) {
437
437
  }), e.element = /** @type {any} */
438
438
  o, o;
439
439
  }
440
- class rn {
440
+ class nn {
441
441
  /**
442
442
  * ### PRIVATE API
443
443
  *
@@ -456,7 +456,7 @@ class rn {
456
456
  $$set = void 0;
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- Yr(this, 1), this.$destroy = k;
459
+ Kr(this, 1), this.$destroy = k;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -478,18 +478,18 @@ class rn {
478
478
  * @returns {void}
479
479
  */
480
480
  $set(t) {
481
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
482
  }
483
483
  }
484
- const nn = "4";
485
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
486
- function on(e, t) {
484
+ const on = "4";
485
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
486
+ function sn(e, t) {
487
487
  if (e) {
488
488
  const r = document.createElement("style");
489
489
  r.innerHTML = t, e.appendChild(r);
490
490
  }
491
491
  }
492
- function sn(e, t) {
492
+ function an(e, t) {
493
493
  const r = new URL(t);
494
494
  fetch(r.href).then((n) => n.text()).then((n) => {
495
495
  const i = document.createElement("style");
@@ -498,7 +498,7 @@ function sn(e, t) {
498
498
  console.error("There was an error while trying to load client styling from URL", n);
499
499
  });
500
500
  }
501
- function an(e, t, r) {
501
+ function ln(e, t, r) {
502
502
  if (window.emMessageBus) {
503
503
  const n = document.createElement("style");
504
504
  window.emMessageBus.subscribe(t, (i) => {
@@ -507,7 +507,7 @@ function an(e, t, r) {
507
507
  }
508
508
  }
509
509
  const te = [];
510
- function ln(e, t) {
510
+ function un(e, t) {
511
511
  return {
512
512
  subscribe: Le(e, t).subscribe
513
513
  };
@@ -516,7 +516,7 @@ function Le(e, t = k) {
516
516
  let r;
517
517
  const n = /* @__PURE__ */ new Set();
518
518
  function i(a) {
519
- if (kt(e, a) && (e = a, r)) {
519
+ if ($t(e, a) && (e = a, r)) {
520
520
  const h = !te.length;
521
521
  for (const l of n)
522
522
  l[1](), te.push(l, e);
@@ -543,7 +543,7 @@ function ue(e, t, r) {
543
543
  if (!i.every(Boolean))
544
544
  throw new Error("derived() expects stores as input, got a falsy value");
545
545
  const s = t.length < 2;
546
- return ln(r, (o, a) => {
546
+ return un(r, (o, a) => {
547
547
  let h = !1;
548
548
  const l = [];
549
549
  let u = 0, m = k;
@@ -554,7 +554,7 @@ function ue(e, t, r) {
554
554
  const g = t(n ? l[0] : l, o, a);
555
555
  s ? o(g) : m = nt(g) ? g : k;
556
556
  }, p = i.map(
557
- (g, b) => Or(
557
+ (g, b) => Fr(
558
558
  g,
559
559
  (d) => {
560
560
  l[b] = d, u &= ~(1 << b), h && f();
@@ -569,35 +569,35 @@ function ue(e, t, r) {
569
569
  };
570
570
  });
571
571
  }
572
- function un(e) {
573
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
572
+ function hn(e) {
573
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
574
574
  }
575
- var hn = function(t) {
576
- return cn(t) && !fn(t);
575
+ var cn = function(t) {
576
+ return fn(t) && !mn(t);
577
577
  };
578
- function cn(e) {
578
+ function fn(e) {
579
579
  return !!e && typeof e == "object";
580
580
  }
581
- function fn(e) {
581
+ function mn(e) {
582
582
  var t = Object.prototype.toString.call(e);
583
- return t === "[object RegExp]" || t === "[object Date]" || pn(e);
584
- }
585
- var mn = typeof Symbol == "function" && Symbol.for, dn = mn ? Symbol.for("react.element") : 60103;
586
- function pn(e) {
587
- return e.$$typeof === dn;
583
+ return t === "[object RegExp]" || t === "[object Date]" || gn(e);
588
584
  }
585
+ var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
589
586
  function gn(e) {
587
+ return e.$$typeof === pn;
588
+ }
589
+ function bn(e) {
590
590
  return Array.isArray(e) ? [] : {};
591
591
  }
592
- function _e(e, t) {
593
- return t.clone !== !1 && t.isMergeableObject(e) ? oe(gn(e), e, t) : e;
592
+ function ve(e, t) {
593
+ return t.clone !== !1 && t.isMergeableObject(e) ? oe(bn(e), e, t) : e;
594
594
  }
595
- function bn(e, t, r) {
595
+ function yn(e, t, r) {
596
596
  return e.concat(t).map(function(n) {
597
- return _e(n, r);
597
+ return ve(n, r);
598
598
  });
599
599
  }
600
- function yn(e, t) {
600
+ function vn(e, t) {
601
601
  if (!t.customMerge)
602
602
  return oe;
603
603
  var r = t.customMerge(e);
@@ -608,31 +608,31 @@ function _n(e) {
608
608
  return Object.propertyIsEnumerable.call(e, t);
609
609
  }) : [];
610
610
  }
611
- function pt(e) {
611
+ function gt(e) {
612
612
  return Object.keys(e).concat(_n(e));
613
613
  }
614
- function Wt(e, t) {
614
+ function zt(e, t) {
615
615
  try {
616
616
  return t in e;
617
617
  } catch {
618
618
  return !1;
619
619
  }
620
620
  }
621
- function vn(e, t) {
622
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
621
+ function En(e, t) {
622
+ return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
623
623
  }
624
- function En(e, t, r) {
624
+ function xn(e, t, r) {
625
625
  var n = {};
626
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
627
- n[i] = _e(e[i], r);
628
- }), pt(t).forEach(function(i) {
629
- vn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
626
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
627
+ n[i] = ve(e[i], r);
628
+ }), gt(t).forEach(function(i) {
629
+ En(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
630
630
  }), n;
631
631
  }
632
632
  function oe(e, t, r) {
633
- r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = _e;
633
+ r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = ve;
634
634
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
635
- return s ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : _e(t, r);
635
+ return s ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ve(t, r);
636
636
  }
637
637
  oe.all = function(t, r) {
638
638
  if (!Array.isArray(t))
@@ -641,8 +641,8 @@ oe.all = function(t, r) {
641
641
  return oe(n, i, r);
642
642
  }, {});
643
643
  };
644
- var xn = oe, Cn = xn;
645
- const wn = /* @__PURE__ */ un(Cn);
644
+ var Cn = oe, wn = Cn;
645
+ const Hn = /* @__PURE__ */ hn(wn);
646
646
  /*! *****************************************************************************
647
647
  Copyright (c) Microsoft Corporation.
648
648
 
@@ -674,17 +674,17 @@ function Ne(e, t) {
674
674
  }
675
675
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
676
676
  }
677
- var v = function() {
678
- return v = Object.assign || function(t) {
677
+ var _ = function() {
678
+ return _ = Object.assign || function(t) {
679
679
  for (var r, n = 1, i = arguments.length; n < i; n++) {
680
680
  r = arguments[n];
681
681
  for (var s in r)
682
682
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
683
683
  }
684
684
  return t;
685
- }, v.apply(this, arguments);
685
+ }, _.apply(this, arguments);
686
686
  };
687
- function Hn(e, t) {
687
+ function Sn(e, t) {
688
688
  var r = {};
689
689
  for (var n in e)
690
690
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -700,57 +700,55 @@ function Ge(e, t, r) {
700
700
  return e.concat(s || t);
701
701
  }
702
702
  function ke(e, t) {
703
- var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Tn;
703
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : An;
704
704
  return i(e, {
705
705
  cache: r,
706
706
  serializer: n
707
707
  });
708
708
  }
709
- function Sn(e) {
709
+ function Tn(e) {
710
710
  return e == null || typeof e == "number" || typeof e == "boolean";
711
711
  }
712
- function zt(e, t, r, n) {
713
- var i = Sn(n) ? n : r(n), s = t.get(i);
712
+ function Zt(e, t, r, n) {
713
+ var i = Tn(n) ? n : r(n), s = t.get(i);
714
714
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
715
715
  }
716
- function Zt(e, t, r) {
716
+ function Qt(e, t, r) {
717
717
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
718
718
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
719
719
  }
720
720
  function ot(e, t, r, n, i) {
721
721
  return r.bind(t, e, n, i);
722
722
  }
723
- function Tn(e, t) {
724
- var r = e.length === 1 ? zt : Zt;
725
- return ot(e, this, r, t.cache.create(), t.serializer);
726
- }
727
723
  function An(e, t) {
728
- return ot(e, this, Zt, t.cache.create(), t.serializer);
724
+ var r = e.length === 1 ? Zt : Qt;
725
+ return ot(e, this, r, t.cache.create(), t.serializer);
729
726
  }
730
727
  function Bn(e, t) {
731
- return ot(e, this, zt, t.cache.create(), t.serializer);
728
+ return ot(e, this, Qt, t.cache.create(), t.serializer);
732
729
  }
733
- var In = function() {
730
+ function In(e, t) {
731
+ return ot(e, this, Zt, t.cache.create(), t.serializer);
732
+ }
733
+ var Mn = function() {
734
734
  return JSON.stringify(arguments);
735
- }, Mn = (
736
- /** @class */
737
- function() {
738
- function e() {
739
- this.cache = /* @__PURE__ */ Object.create(null);
740
- }
741
- return e.prototype.get = function(t) {
742
- return this.cache[t];
743
- }, e.prototype.set = function(t, r) {
744
- this.cache[t] = r;
745
- }, e;
746
- }()
747
- ), Ln = {
735
+ };
736
+ function st() {
737
+ this.cache = /* @__PURE__ */ Object.create(null);
738
+ }
739
+ st.prototype.get = function(e) {
740
+ return this.cache[e];
741
+ };
742
+ st.prototype.set = function(e, t) {
743
+ this.cache[e] = t;
744
+ };
745
+ var Ln = {
748
746
  create: function() {
749
- return new Mn();
747
+ return new st();
750
748
  }
751
749
  }, $e = {
752
- variadic: An,
753
- monadic: Bn
750
+ variadic: Bn,
751
+ monadic: In
754
752
  }, y;
755
753
  (function(e) {
756
754
  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";
@@ -763,40 +761,40 @@ var se;
763
761
  (function(e) {
764
762
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
765
763
  })(se || (se = {}));
766
- function gt(e) {
764
+ function bt(e) {
767
765
  return e.type === A.literal;
768
766
  }
769
767
  function Nn(e) {
770
768
  return e.type === A.argument;
771
769
  }
772
- function Qt(e) {
770
+ function qt(e) {
773
771
  return e.type === A.number;
774
772
  }
775
- function qt(e) {
773
+ function Jt(e) {
776
774
  return e.type === A.date;
777
775
  }
778
- function Jt(e) {
776
+ function Yt(e) {
779
777
  return e.type === A.time;
780
778
  }
781
- function Yt(e) {
779
+ function Kt(e) {
782
780
  return e.type === A.select;
783
781
  }
784
- function Kt(e) {
782
+ function er(e) {
785
783
  return e.type === A.plural;
786
784
  }
787
785
  function Pn(e) {
788
786
  return e.type === A.pound;
789
787
  }
790
- function er(e) {
788
+ function tr(e) {
791
789
  return e.type === A.tag;
792
790
  }
793
- function tr(e) {
791
+ function rr(e) {
794
792
  return !!(e && typeof e == "object" && e.type === se.number);
795
793
  }
796
794
  function Qe(e) {
797
795
  return !!(e && typeof e == "object" && e.type === se.dateTime);
798
796
  }
799
- var rr = /[ \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;
797
+ var nr = /[ \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;
800
798
  function Fn(e) {
801
799
  var t = {};
802
800
  return e.replace(On, function(r) {
@@ -910,14 +908,14 @@ function Dn(e) {
910
908
  function Un(e) {
911
909
  return e.replace(/^(.*?)-/, "");
912
910
  }
913
- var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
914
- function yt(e) {
911
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
912
+ function vt(e) {
915
913
  var t = {};
916
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
914
+ 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
915
  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)), "";
918
916
  }), t;
919
917
  }
920
- function or(e) {
918
+ function sr(e) {
921
919
  switch (e) {
922
920
  case "sign-auto":
923
921
  return {
@@ -965,14 +963,14 @@ function kn(e) {
965
963
  notation: "scientific"
966
964
  }, e = e.slice(1)), t) {
967
965
  var r = e.slice(0, 2);
968
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
966
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
969
967
  throw new Error("Malformed concise eng/scientific notation");
970
968
  t.minimumIntegerDigits = e.length;
971
969
  }
972
970
  return t;
973
971
  }
974
972
  function _t(e) {
975
- var t = {}, r = or(e);
973
+ var t = {}, r = sr(e);
976
974
  return r || t;
977
975
  }
978
976
  function $n(e) {
@@ -1010,13 +1008,13 @@ function $n(e) {
1010
1008
  t.notation = "compact", t.compactDisplay = "long";
1011
1009
  continue;
1012
1010
  case "scientific":
1013
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1014
- return v(v({}, h), _t(l));
1011
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1012
+ return _(_({}, h), _t(l));
1015
1013
  }, {}));
1016
1014
  continue;
1017
1015
  case "engineering":
1018
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1019
- return v(v({}, h), _t(l));
1016
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1017
+ return _(_({}, h), _t(l));
1020
1018
  }, {}));
1021
1019
  continue;
1022
1020
  case "notation-simple":
@@ -1074,28 +1072,28 @@ function $n(e) {
1074
1072
  });
1075
1073
  continue;
1076
1074
  }
1077
- if (ir.test(i.stem)) {
1075
+ if (or.test(i.stem)) {
1078
1076
  t.minimumIntegerDigits = i.stem.length;
1079
1077
  continue;
1080
1078
  }
1081
- if (bt.test(i.stem)) {
1079
+ if (yt.test(i.stem)) {
1082
1080
  if (i.options.length > 1)
1083
1081
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1084
- i.stem.replace(bt, function(h, l, u, m, f, p) {
1082
+ i.stem.replace(yt, function(h, l, u, m, f, p) {
1085
1083
  return u === "*" ? 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), "";
1086
1084
  });
1087
1085
  var s = i.options[0];
1088
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), yt(s)));
1086
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), vt(s)));
1089
1087
  continue;
1090
1088
  }
1091
- if (nr.test(i.stem)) {
1092
- t = v(v({}, t), yt(i.stem));
1089
+ if (ir.test(i.stem)) {
1090
+ t = _(_({}, t), vt(i.stem));
1093
1091
  continue;
1094
1092
  }
1095
- var o = or(i.stem);
1096
- o && (t = v(v({}, t), o));
1093
+ var o = sr(i.stem);
1094
+ o && (t = _(_({}, t), o));
1097
1095
  var a = kn(i.stem);
1098
- a && (t = v(v({}, t), a));
1096
+ a && (t = _(_({}, t), a));
1099
1097
  }
1100
1098
  return t;
1101
1099
  }
@@ -2552,20 +2550,20 @@ function Vn(e) {
2552
2550
  var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
2553
2551
  return i[0];
2554
2552
  }
2555
- var je, Xn = new RegExp("^".concat(rr.source, "*")), Wn = new RegExp("".concat(rr.source, "*$"));
2556
- function _(e, t) {
2553
+ var je, Xn = new RegExp("^".concat(nr.source, "*")), Wn = new RegExp("".concat(nr.source, "*$"));
2554
+ function v(e, t) {
2557
2555
  return { start: e, end: t };
2558
2556
  }
2559
2557
  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) {
2560
2558
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2561
2559
  }, qe = !0;
2562
2560
  try {
2563
- var ti = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2561
+ var ti = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2564
2562
  qe = ((je = ti.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
2565
2563
  } catch {
2566
2564
  qe = !1;
2567
2565
  }
2568
- var vt = zn ? (
2566
+ var Et = zn ? (
2569
2567
  // Native
2570
2568
  function(t, r, n) {
2571
2569
  return t.startsWith(r, n);
@@ -2587,7 +2585,7 @@ var vt = zn ? (
2587
2585
  }
2588
2586
  return n;
2589
2587
  }
2590
- ), Et = (
2588
+ ), xt = (
2591
2589
  // native
2592
2590
  Qn ? Object.fromEntries : (
2593
2591
  // Ponyfill
@@ -2599,7 +2597,7 @@ var vt = zn ? (
2599
2597
  return r;
2600
2598
  }
2601
2599
  )
2602
- ), sr = qn ? (
2600
+ ), ar = qn ? (
2603
2601
  // Native
2604
2602
  function(t, r) {
2605
2603
  return t.codePointAt(r);
@@ -2634,23 +2632,23 @@ var vt = zn ? (
2634
2632
  return t.replace(Wn, "");
2635
2633
  }
2636
2634
  );
2637
- function ar(e, t) {
2635
+ function lr(e, t) {
2638
2636
  return new RegExp(e, t);
2639
2637
  }
2640
2638
  var Ye;
2641
2639
  if (qe) {
2642
- var xt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2640
+ var Ct = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2643
2641
  Ye = function(t, r) {
2644
2642
  var n;
2645
- xt.lastIndex = r;
2646
- var i = xt.exec(t);
2643
+ Ct.lastIndex = r;
2644
+ var i = Ct.exec(t);
2647
2645
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2648
2646
  };
2649
2647
  } else
2650
2648
  Ye = function(t, r) {
2651
2649
  for (var n = []; ; ) {
2652
- var i = sr(t, r);
2653
- if (i === void 0 || lr(i) || ai(i))
2650
+ var i = ar(t, r);
2651
+ if (i === void 0 || ur(i) || ai(i))
2654
2652
  break;
2655
2653
  n.push(i), r += i >= 65536 ? 2 : 1;
2656
2654
  }
@@ -2681,12 +2679,12 @@ var ii = (
2681
2679
  var a = this.clonePosition();
2682
2680
  this.bump(), i.push({
2683
2681
  type: A.pound,
2684
- location: _(a, this.clonePosition())
2682
+ location: v(a, this.clonePosition())
2685
2683
  });
2686
2684
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2687
2685
  if (n)
2688
2686
  break;
2689
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2687
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2690
2688
  } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
2691
2689
  var o = this.parseTag(t, r);
2692
2690
  if (o.err)
@@ -2710,7 +2708,7 @@ var ii = (
2710
2708
  val: {
2711
2709
  type: A.literal,
2712
2710
  value: "<".concat(i, "/>"),
2713
- location: _(n, this.clonePosition())
2711
+ location: v(n, this.clonePosition())
2714
2712
  },
2715
2713
  err: null
2716
2714
  };
@@ -2721,21 +2719,21 @@ var ii = (
2721
2719
  var o = s.val, a = this.clonePosition();
2722
2720
  if (this.bumpIf("</")) {
2723
2721
  if (this.isEOF() || !Ke(this.char()))
2724
- return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2722
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2725
2723
  var h = this.clonePosition(), l = this.parseTagName();
2726
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2724
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2727
2725
  val: {
2728
2726
  type: A.tag,
2729
2727
  value: i,
2730
2728
  children: o,
2731
- location: _(n, this.clonePosition())
2729
+ location: v(n, this.clonePosition())
2732
2730
  },
2733
2731
  err: null
2734
- } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2732
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
2735
2733
  } else
2736
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2734
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2737
2735
  } else
2738
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2736
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2739
2737
  }, e.prototype.parseTagName = function() {
2740
2738
  var t = this.offset();
2741
2739
  for (this.bump(); !this.isEOF() && si(this.char()); )
@@ -2760,7 +2758,7 @@ var ii = (
2760
2758
  }
2761
2759
  break;
2762
2760
  }
2763
- var h = _(n, this.clonePosition());
2761
+ var h = v(n, this.clonePosition());
2764
2762
  return {
2765
2763
  val: { type: A.literal, value: i, location: h },
2766
2764
  err: null
@@ -2810,14 +2808,14 @@ var ii = (
2810
2808
  }, e.prototype.parseArgument = function(t, r) {
2811
2809
  var n = this.clonePosition();
2812
2810
  if (this.bump(), this.bumpSpace(), this.isEOF())
2813
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2811
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2814
2812
  if (this.char() === 125)
2815
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2813
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2816
2814
  var i = this.parseIdentifierIfPossible().value;
2817
2815
  if (!i)
2818
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2816
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2819
2817
  if (this.bumpSpace(), this.isEOF())
2820
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2818
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2821
2819
  switch (this.char()) {
2822
2820
  case 125:
2823
2821
  return this.bump(), {
@@ -2825,25 +2823,25 @@ var ii = (
2825
2823
  type: A.argument,
2826
2824
  // value does not include the opening and closing braces.
2827
2825
  value: i,
2828
- location: _(n, this.clonePosition())
2826
+ location: v(n, this.clonePosition())
2829
2827
  },
2830
2828
  err: null
2831
2829
  };
2832
2830
  case 44:
2833
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2831
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2834
2832
  default:
2835
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2833
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2836
2834
  }
2837
2835
  }, e.prototype.parseIdentifierIfPossible = function() {
2838
2836
  var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
2839
2837
  this.bumpTo(i);
2840
- var s = this.clonePosition(), o = _(t, s);
2838
+ var s = this.clonePosition(), o = v(t, s);
2841
2839
  return { value: n, location: o };
2842
2840
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2843
2841
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2844
2842
  switch (a) {
2845
2843
  case "":
2846
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
2844
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, h));
2847
2845
  case "number":
2848
2846
  case "date":
2849
2847
  case "time": {
@@ -2856,15 +2854,15 @@ var ii = (
2856
2854
  return m;
2857
2855
  var f = ni(m.val);
2858
2856
  if (f.length === 0)
2859
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2860
- var p = _(u, this.clonePosition());
2857
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2858
+ var p = v(u, this.clonePosition());
2861
2859
  l = { style: f, styleLocation: p };
2862
2860
  }
2863
2861
  var g = this.tryParseArgumentClose(i);
2864
2862
  if (g.err)
2865
2863
  return g;
2866
- var b = _(i, this.clonePosition());
2867
- if (l && vt(l?.style, "::", 0)) {
2864
+ var b = v(i, this.clonePosition());
2865
+ if (l && Et(l?.style, "::", 0)) {
2868
2866
  var d = ri(l.style.slice(2));
2869
2867
  if (a === "number") {
2870
2868
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
@@ -2904,12 +2902,12 @@ var ii = (
2904
2902
  case "select": {
2905
2903
  var w = this.clonePosition();
2906
2904
  if (this.bumpSpace(), !this.bumpIf(","))
2907
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, v({}, w)));
2905
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
2908
2906
  this.bumpSpace();
2909
2907
  var U = this.parseIdentifierIfPossible(), N = 0;
2910
2908
  if (a !== "select" && U.value === "offset") {
2911
2909
  if (!this.bumpIf(":"))
2912
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2910
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2913
2911
  this.bumpSpace();
2914
2912
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2915
2913
  if (m.err)
@@ -2922,12 +2920,12 @@ var ii = (
2922
2920
  var g = this.tryParseArgumentClose(i);
2923
2921
  if (g.err)
2924
2922
  return g;
2925
- var H = _(i, this.clonePosition());
2923
+ var H = v(i, this.clonePosition());
2926
2924
  return a === "select" ? {
2927
2925
  val: {
2928
2926
  type: A.select,
2929
2927
  value: n,
2930
- options: Et(T.val),
2928
+ options: xt(T.val),
2931
2929
  location: H
2932
2930
  },
2933
2931
  err: null
@@ -2935,7 +2933,7 @@ var ii = (
2935
2933
  val: {
2936
2934
  type: A.plural,
2937
2935
  value: n,
2938
- options: Et(T.val),
2936
+ options: xt(T.val),
2939
2937
  offset: N,
2940
2938
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2941
2939
  location: H
@@ -2944,10 +2942,10 @@ var ii = (
2944
2942
  };
2945
2943
  }
2946
2944
  default:
2947
- return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
2945
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(o, h));
2948
2946
  }
2949
2947
  }, e.prototype.tryParseArgumentClose = function(t) {
2950
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2948
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2951
2949
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2952
2950
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2953
2951
  var n = this.char();
@@ -2956,7 +2954,7 @@ var ii = (
2956
2954
  this.bump();
2957
2955
  var i = this.clonePosition();
2958
2956
  if (!this.bumpUntil("'"))
2959
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2957
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2960
2958
  this.bump();
2961
2959
  break;
2962
2960
  }
@@ -3007,7 +3005,7 @@ var ii = (
3007
3005
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3008
3006
  if (f.err)
3009
3007
  return f;
3010
- u = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3008
+ u = v(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3011
3009
  } else
3012
3010
  break;
3013
3011
  }
@@ -3016,7 +3014,7 @@ var ii = (
3016
3014
  l === "other" && (o = !0), this.bumpSpace();
3017
3015
  var p = this.clonePosition();
3018
3016
  if (!this.bumpIf("{"))
3019
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3017
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3020
3018
  var g = this.parseMessage(t + 1, r, n);
3021
3019
  if (g.err)
3022
3020
  return g;
@@ -3027,11 +3025,11 @@ var ii = (
3027
3025
  l,
3028
3026
  {
3029
3027
  value: g.val,
3030
- location: _(p, this.clonePosition())
3028
+ location: v(p, this.clonePosition())
3031
3029
  }
3032
3030
  ]), h.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, u = s.location;
3033
3031
  }
3034
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3032
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3035
3033
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3036
3034
  var n = 1, i = this.clonePosition();
3037
3035
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3042,7 +3040,7 @@ var ii = (
3042
3040
  else
3043
3041
  break;
3044
3042
  }
3045
- var h = _(i, this.clonePosition());
3043
+ var h = v(i, this.clonePosition());
3046
3044
  return s ? (o *= n, ei(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3047
3045
  }, e.prototype.offset = function() {
3048
3046
  return this.position.offset;
@@ -3058,7 +3056,7 @@ var ii = (
3058
3056
  var t = this.position.offset;
3059
3057
  if (t >= this.message.length)
3060
3058
  throw Error("out of bound");
3061
- var r = sr(this.message, t);
3059
+ var r = ar(this.message, t);
3062
3060
  if (r === void 0)
3063
3061
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3064
3062
  return r;
@@ -3077,7 +3075,7 @@ var ii = (
3077
3075
  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);
3078
3076
  }
3079
3077
  }, e.prototype.bumpIf = function(t) {
3080
- if (vt(this.message, t, this.offset())) {
3078
+ if (Et(this.message, t, this.offset())) {
3081
3079
  for (var r = 0; r < t.length; r++)
3082
3080
  this.bump();
3083
3081
  return !0;
@@ -3099,7 +3097,7 @@ var ii = (
3099
3097
  break;
3100
3098
  }
3101
3099
  }, e.prototype.bumpSpace = function() {
3102
- for (; !this.isEOF() && lr(this.char()); )
3100
+ for (; !this.isEOF() && ur(this.char()); )
3103
3101
  this.bump();
3104
3102
  }, e.prototype.peek = function() {
3105
3103
  if (this.isEOF())
@@ -3118,7 +3116,7 @@ function oi(e) {
3118
3116
  function si(e) {
3119
3117
  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;
3120
3118
  }
3121
- function lr(e) {
3119
+ function ur(e) {
3122
3120
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3123
3121
  }
3124
3122
  function ai(e) {
@@ -3126,15 +3124,15 @@ function ai(e) {
3126
3124
  }
3127
3125
  function et(e) {
3128
3126
  e.forEach(function(t) {
3129
- if (delete t.location, Yt(t) || Kt(t))
3127
+ if (delete t.location, Kt(t) || er(t))
3130
3128
  for (var r in t.options)
3131
3129
  delete t.options[r].location, et(t.options[r].value);
3132
3130
  else
3133
- Qt(t) && tr(t.style) || (qt(t) || Jt(t)) && Qe(t.style) ? delete t.style.location : er(t) && et(t.children);
3131
+ qt(t) && rr(t.style) || (Jt(t) || Yt(t)) && Qe(t.style) ? delete t.style.location : tr(t) && et(t.children);
3134
3132
  });
3135
3133
  }
3136
3134
  function li(e, t) {
3137
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3135
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3138
3136
  var r = new ii(e, t).parse();
3139
3137
  if (r.err) {
3140
3138
  var n = SyntaxError(y[r.err.kind]);
@@ -3158,7 +3156,7 @@ var Pe = (
3158
3156
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3159
3157
  }, t;
3160
3158
  }(Error)
3161
- ), Ct = (
3159
+ ), wt = (
3162
3160
  /** @class */
3163
3161
  function(e) {
3164
3162
  Ne(t, e);
@@ -3199,7 +3197,7 @@ function fi(e) {
3199
3197
  return typeof e == "function";
3200
3198
  }
3201
3199
  function Ae(e, t, r, n, i, s, o) {
3202
- if (e.length === 1 && gt(e[0]))
3200
+ if (e.length === 1 && bt(e[0]))
3203
3201
  return [
3204
3202
  {
3205
3203
  type: P.literal,
@@ -3208,7 +3206,7 @@ function Ae(e, t, r, n, i, s, o) {
3208
3206
  ];
3209
3207
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3210
3208
  var u = l[h];
3211
- if (gt(u)) {
3209
+ if (bt(u)) {
3212
3210
  a.push({
3213
3211
  type: P.literal,
3214
3212
  value: u.value
@@ -3233,7 +3231,7 @@ function Ae(e, t, r, n, i, s, o) {
3233
3231
  });
3234
3232
  continue;
3235
3233
  }
3236
- if (qt(u)) {
3234
+ if (Jt(u)) {
3237
3235
  var p = typeof u.style == "string" ? n.date[u.style] : Qe(u.style) ? u.style.parsedOptions : void 0;
3238
3236
  a.push({
3239
3237
  type: P.literal,
@@ -3241,7 +3239,7 @@ function Ae(e, t, r, n, i, s, o) {
3241
3239
  });
3242
3240
  continue;
3243
3241
  }
3244
- if (Jt(u)) {
3242
+ if (Yt(u)) {
3245
3243
  var p = typeof u.style == "string" ? n.time[u.style] : Qe(u.style) ? u.style.parsedOptions : n.time.medium;
3246
3244
  a.push({
3247
3245
  type: P.literal,
@@ -3249,15 +3247,15 @@ function Ae(e, t, r, n, i, s, o) {
3249
3247
  });
3250
3248
  continue;
3251
3249
  }
3252
- if (Qt(u)) {
3253
- var p = typeof u.style == "string" ? n.number[u.style] : tr(u.style) ? u.style.parsedOptions : void 0;
3250
+ if (qt(u)) {
3251
+ var p = typeof u.style == "string" ? n.number[u.style] : rr(u.style) ? u.style.parsedOptions : void 0;
3254
3252
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3255
3253
  type: P.literal,
3256
3254
  value: r.getNumberFormat(t, p).format(f)
3257
3255
  });
3258
3256
  continue;
3259
3257
  }
3260
- if (er(u)) {
3258
+ if (tr(u)) {
3261
3259
  var g = u.children, b = u.value, d = i[b];
3262
3260
  if (!fi(d))
3263
3261
  throw new ui(b, "function", o);
@@ -3271,14 +3269,14 @@ function Ae(e, t, r, n, i, s, o) {
3271
3269
  };
3272
3270
  }));
3273
3271
  }
3274
- if (Yt(u)) {
3272
+ if (Kt(u)) {
3275
3273
  var w = u.options[f] || u.options.other;
3276
3274
  if (!w)
3277
- throw new Ct(u.value, f, Object.keys(u.options), o);
3275
+ throw new wt(u.value, f, Object.keys(u.options), o);
3278
3276
  a.push.apply(a, Ae(w.value, t, r, n, i));
3279
3277
  continue;
3280
3278
  }
3281
- if (Kt(u)) {
3279
+ if (er(u)) {
3282
3280
  var w = u.options["=".concat(f)];
3283
3281
  if (!w) {
3284
3282
  if (!Intl.PluralRules)
@@ -3289,7 +3287,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3289
3287
  w = u.options[U] || u.options.other;
3290
3288
  }
3291
3289
  if (!w)
3292
- throw new Ct(u.value, f, Object.keys(u.options), o);
3290
+ throw new wt(u.value, f, Object.keys(u.options), o);
3293
3291
  a.push.apply(a, Ae(w.value, t, r, n, i, f - (u.offset || 0)));
3294
3292
  continue;
3295
3293
  }
@@ -3297,14 +3295,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3297
3295
  return ci(a);
3298
3296
  }
3299
3297
  function mi(e, t) {
3300
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3301
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3298
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3299
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3302
3300
  }, {})) : e;
3303
3301
  }
3304
3302
  function di(e, t) {
3305
3303
  return t ? Object.keys(e).reduce(function(r, n) {
3306
3304
  return r[n] = mi(e[n], t[n]), r;
3307
- }, v({}, e)) : e;
3305
+ }, _({}, e)) : e;
3308
3306
  }
3309
3307
  function Ve(e) {
3310
3308
  return {
@@ -3384,8 +3382,8 @@ var gi = (
3384
3382
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3385
3383
  var o = i || {};
3386
3384
  o.formatters;
3387
- var a = Hn(o, ["formatters"]);
3388
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3385
+ var a = Sn(o, ["formatters"]);
3386
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3389
3387
  } else
3390
3388
  this.ast = t;
3391
3389
  if (!Array.isArray(this.ast))
@@ -3485,30 +3483,30 @@ function bi(e, t) {
3485
3483
  n = void 0;
3486
3484
  return n;
3487
3485
  }
3488
- const X = {}, yi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), ur = (e, t) => {
3486
+ const X = {}, yi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), hr = (e, t) => {
3489
3487
  if (t == null)
3490
3488
  return;
3491
3489
  if (t in X && e in X[t])
3492
3490
  return X[t][e];
3493
3491
  const r = Oe(t);
3494
3492
  for (let n = 0; n < r.length; n++) {
3495
- const i = r[n], s = vi(i, e);
3493
+ const i = r[n], s = _i(i, e);
3496
3494
  if (s)
3497
3495
  return yi(e, t, s);
3498
3496
  }
3499
3497
  };
3500
- let st;
3498
+ let at;
3501
3499
  const he = Le({});
3502
- function _i(e) {
3503
- return st[e] || null;
3500
+ function vi(e) {
3501
+ return at[e] || null;
3504
3502
  }
3505
- function hr(e) {
3506
- return e in st;
3503
+ function cr(e) {
3504
+ return e in at;
3507
3505
  }
3508
- function vi(e, t) {
3509
- if (!hr(e))
3506
+ function _i(e, t) {
3507
+ if (!cr(e))
3510
3508
  return null;
3511
- const r = _i(e);
3509
+ const r = vi(e);
3512
3510
  return bi(r, t);
3513
3511
  }
3514
3512
  function Ei(e) {
@@ -3517,28 +3515,28 @@ function Ei(e) {
3517
3515
  const t = Oe(e);
3518
3516
  for (let r = 0; r < t.length; r++) {
3519
3517
  const n = t[r];
3520
- if (hr(n))
3518
+ if (cr(n))
3521
3519
  return n;
3522
3520
  }
3523
3521
  }
3524
- function cr(e, ...t) {
3525
- delete X[e], he.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3522
+ function fr(e, ...t) {
3523
+ delete X[e], he.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
3526
3524
  }
3527
3525
  ue(
3528
3526
  [he],
3529
3527
  ([e]) => Object.keys(e)
3530
3528
  );
3531
- he.subscribe((e) => st = e);
3529
+ he.subscribe((e) => at = e);
3532
3530
  const Be = {};
3533
3531
  function xi(e, t) {
3534
3532
  Be[e].delete(t), Be[e].size === 0 && delete Be[e];
3535
3533
  }
3536
- function fr(e) {
3534
+ function mr(e) {
3537
3535
  return Be[e];
3538
3536
  }
3539
3537
  function Ci(e) {
3540
3538
  return Oe(e).map((t) => {
3541
- const r = fr(t);
3539
+ const r = mr(t);
3542
3540
  return [t, r ? [...r] : []];
3543
3541
  }).filter(([, t]) => t.length > 0);
3544
3542
  }
@@ -3546,17 +3544,17 @@ function tt(e) {
3546
3544
  return e == null ? !1 : Oe(e).some(
3547
3545
  (t) => {
3548
3546
  var r;
3549
- return (r = fr(t)) == null ? void 0 : r.size;
3547
+ return (r = mr(t)) == null ? void 0 : r.size;
3550
3548
  }
3551
3549
  );
3552
3550
  }
3553
3551
  function wi(e, t) {
3554
3552
  return Promise.all(
3555
3553
  t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
3556
- ).then((n) => cr(e, ...n));
3554
+ ).then((n) => fr(e, ...n));
3557
3555
  }
3558
3556
  const de = {};
3559
- function mr(e) {
3557
+ function dr(e) {
3560
3558
  if (!tt(e))
3561
3559
  return e in de ? de[e] : Promise.resolve();
3562
3560
  const t = Ci(e);
@@ -3566,7 +3564,7 @@ function mr(e) {
3566
3564
  )
3567
3565
  ).then(() => {
3568
3566
  if (tt(e))
3569
- return mr(e);
3567
+ return dr(e);
3570
3568
  delete de[e];
3571
3569
  }), de[e];
3572
3570
  }
@@ -3611,22 +3609,22 @@ function le() {
3611
3609
  return Ti;
3612
3610
  }
3613
3611
  const Xe = Le(!1);
3614
- var Ai = Object.defineProperty, Bi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
3615
- for (var r in t)
3616
- Mi.call(t, r) && Ht(e, r, t[r]);
3617
- if (wt)
3618
- for (var r of wt(t))
3619
- Li.call(t, r) && Ht(e, r, t[r]);
3612
+ var Ai = Object.defineProperty, Bi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
3613
+ for (var r in t || (t = {}))
3614
+ Mi.call(t, r) && St(e, r, t[r]);
3615
+ if (Ht)
3616
+ for (var r of Ht(t))
3617
+ Li.call(t, r) && St(e, r, t[r]);
3620
3618
  return e;
3621
3619
  }, Pi = (e, t) => Bi(e, Ii(t));
3622
3620
  let rt;
3623
3621
  const Ie = Le(null);
3624
- function St(e) {
3622
+ function Tt(e) {
3625
3623
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3626
3624
  }
3627
3625
  function Oe(e, t = le().fallbackLocale) {
3628
- const r = St(e);
3629
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3626
+ const r = Tt(e);
3627
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
3630
3628
  }
3631
3629
  function J() {
3632
3630
  return rt ?? void 0;
@@ -3641,7 +3639,7 @@ const Oi = (e) => {
3641
3639
  return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3642
3640
  () => Xe.set(!0),
3643
3641
  t
3644
- ) : Xe.set(!0), mr(e).then(() => {
3642
+ ) : Xe.set(!0), dr(e).then(() => {
3645
3643
  Ie.set(e);
3646
3644
  }).finally(() => {
3647
3645
  clearTimeout(r), Xe.set(!1);
@@ -3657,23 +3655,23 @@ const Oi = (e) => {
3657
3655
  return i in t ? t[i] : t[i] = e(n);
3658
3656
  };
3659
3657
  };
3660
- var Fi = Object.defineProperty, Me = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
3658
+ var Fi = Object.defineProperty, Me = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3661
3659
  for (var r in t || (t = {}))
3662
- dr.call(t, r) && Tt(e, r, t[r]);
3660
+ pr.call(t, r) && At(e, r, t[r]);
3663
3661
  if (Me)
3664
3662
  for (var r of Me(t))
3665
- pr.call(t, r) && Tt(e, r, t[r]);
3663
+ gr.call(t, r) && At(e, r, t[r]);
3666
3664
  return e;
3667
3665
  }, ce = (e, t) => {
3668
3666
  var r = {};
3669
3667
  for (var n in e)
3670
- dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3668
+ pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3671
3669
  if (e != null && Me)
3672
3670
  for (var n of Me(e))
3673
- t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
3671
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
3674
3672
  return r;
3675
3673
  };
3676
- const ve = (e, t) => {
3674
+ const _e = (e, t) => {
3677
3675
  const { formats: r } = le();
3678
3676
  if (e in r && t in r[e])
3679
3677
  return r[e][t];
@@ -3683,14 +3681,14 @@ const ve = (e, t) => {
3683
3681
  var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3684
3682
  if (r == null)
3685
3683
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3686
- return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
3684
+ return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
3687
3685
  }
3688
3686
  ), Di = Fe(
3689
3687
  (e) => {
3690
3688
  var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3691
3689
  if (r == null)
3692
3690
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3693
- return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
3691
+ return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
3694
3692
  }
3695
3693
  ), Ui = Fe(
3696
3694
  (e) => {
@@ -3699,7 +3697,7 @@ const ve = (e, t) => {
3699
3697
  throw new Error(
3700
3698
  '[svelte-i18n] A "locale" must be set to format time values'
3701
3699
  );
3702
- return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
3700
+ return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
3703
3701
  }
3704
3702
  ), Gi = (e = {}) => {
3705
3703
  var t = e, {
@@ -3707,21 +3705,21 @@ const ve = (e, t) => {
3707
3705
  } = t, n = ce(t, [
3708
3706
  "locale"
3709
3707
  ]);
3710
- return Ri(at({ locale: r }, n));
3708
+ return Ri(lt({ locale: r }, n));
3711
3709
  }, ki = (e = {}) => {
3712
3710
  var t = e, {
3713
3711
  locale: r = J()
3714
3712
  } = t, n = ce(t, [
3715
3713
  "locale"
3716
3714
  ]);
3717
- return Di(at({ locale: r }, n));
3715
+ return Di(lt({ locale: r }, n));
3718
3716
  }, $i = (e = {}) => {
3719
3717
  var t = e, {
3720
3718
  locale: r = J()
3721
3719
  } = t, n = ce(t, [
3722
3720
  "locale"
3723
3721
  ]);
3724
- return Ui(at({ locale: r }, n));
3722
+ return Ui(lt({ locale: r }, n));
3725
3723
  }, ji = Fe(
3726
3724
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3727
3725
  (e, t = J()) => new gi(e, t, le().formats, {
@@ -3740,7 +3738,7 @@ const ve = (e, t) => {
3740
3738
  throw new Error(
3741
3739
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3742
3740
  );
3743
- let u = ur(e, h);
3741
+ let u = hr(e, h);
3744
3742
  if (!u)
3745
3743
  u = (s = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3746
3744
  else if (typeof u != "string")
@@ -3759,7 +3757,7 @@ const ve = (e, t) => {
3759
3757
  );
3760
3758
  }
3761
3759
  return m;
3762
- }, Xi = (e, t) => $i(t).format(e), Wi = (e, t) => ki(t).format(e), zi = (e, t) => Gi(t).format(e), Zi = (e, t = J()) => ur(e, t);
3760
+ }, Xi = (e, t) => $i(t).format(e), Wi = (e, t) => ki(t).format(e), zi = (e, t) => Gi(t).format(e), Zi = (e, t = J()) => hr(e, t);
3763
3761
  ue([W, he], () => Vi);
3764
3762
  ue([W], () => Xi);
3765
3763
  ue([W], () => Wi);
@@ -3770,13 +3768,13 @@ function Qi({ withLocale: e, translations: t }) {
3770
3768
  r == null && (he.set(t), W.set(e));
3771
3769
  });
3772
3770
  }
3773
- function At(e, t) {
3774
- cr(e, t);
3771
+ function Bt(e, t) {
3772
+ fr(e, t);
3775
3773
  }
3776
3774
  function qi(e) {
3777
3775
  W.set(e);
3778
3776
  }
3779
- const Bt = {
3777
+ const It = {
3780
3778
  en: {
3781
3779
  login: "Login",
3782
3780
  register: "Register",
@@ -3834,21 +3832,21 @@ const Bt = {
3834
3832
  }
3835
3833
  };
3836
3834
  function Ji(e) {
3837
- Fr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3835
+ Rr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3838
3836
  }
3839
- function It(e, t, r) {
3837
+ function Mt(e, t, r) {
3840
3838
  const n = e.slice();
3841
3839
  return n[57] = t[r], n[59] = r, n;
3842
3840
  }
3843
- function Mt(e, t, r) {
3841
+ function Lt(e, t, r) {
3844
3842
  const n = e.slice();
3845
3843
  return n[60] = t[r], n;
3846
3844
  }
3847
- function Lt(e, t, r) {
3845
+ function Nt(e, t, r) {
3848
3846
  const n = e.slice();
3849
3847
  return n[63] = t[r], n[65] = r, n;
3850
3848
  }
3851
- function Nt(e) {
3849
+ function Pt(e) {
3852
3850
  let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
3853
3851
  /*sliderdata*/
3854
3852
  e[9]
@@ -3858,8 +3856,8 @@ function Nt(e) {
3858
3856
  o[57].id
3859
3857
  );
3860
3858
  for (let o = 0; o < i.length; o += 1) {
3861
- let a = It(e, i, o), h = s(a);
3862
- r.set(h, t[o] = Ut(h, a));
3859
+ let a = Mt(e, i, o), h = s(a);
3860
+ r.set(h, t[o] = Gt(h, a));
3863
3861
  }
3864
3862
  return {
3865
3863
  c() {
@@ -3877,7 +3875,7 @@ function Nt(e) {
3877
3875
  1183695 && (i = ie(
3878
3876
  /*sliderdata*/
3879
3877
  o[9]
3880
- ), t = Vt(t, a, s, 1, o, i, r, n.parentNode, jt, Ut, n, It));
3878
+ ), t = Xt(t, a, s, 1, o, i, r, n.parentNode, Vt, Gt, n, Mt));
3881
3879
  },
3882
3880
  d(o) {
3883
3881
  o && D(n);
@@ -3933,11 +3931,11 @@ function Ki(e) {
3933
3931
  }
3934
3932
  };
3935
3933
  }
3936
- function Pt(e) {
3934
+ function Ot(e) {
3937
3935
  let t, r = (
3938
3936
  /*subGroupsData*/
3939
3937
  e[10].length > 0 && /*showsubgroups*/
3940
- e[2] == "true" && Ot(e)
3938
+ e[2] == "true" && Ft(e)
3941
3939
  );
3942
3940
  return {
3943
3941
  c() {
@@ -3949,20 +3947,20 @@ function Pt(e) {
3949
3947
  p(n, i) {
3950
3948
  /*subGroupsData*/
3951
3949
  n[10].length > 0 && /*showsubgroups*/
3952
- n[2] == "true" ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3950
+ n[2] == "true" ? r ? r.p(n, i) : (r = Ft(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3953
3951
  },
3954
3952
  d(n) {
3955
3953
  n && D(t), r && r.d(n);
3956
3954
  }
3957
3955
  };
3958
3956
  }
3959
- function Ot(e) {
3957
+ function Ft(e) {
3960
3958
  let t, r = ie(
3961
3959
  /*subGroupsData*/
3962
3960
  e[10]
3963
3961
  ), n = [];
3964
3962
  for (let i = 0; i < r.length; i += 1)
3965
- n[i] = Dt(Mt(e, r, i));
3963
+ n[i] = Ut(Lt(e, r, i));
3966
3964
  return {
3967
3965
  c() {
3968
3966
  t = L("ul");
@@ -3984,8 +3982,8 @@ function Ot(e) {
3984
3982
  );
3985
3983
  let o;
3986
3984
  for (o = 0; o < r.length; o += 1) {
3987
- const a = Mt(i, r, o);
3988
- n[o] ? n[o].p(a, s) : (n[o] = Dt(a), n[o].c(), n[o].m(t, null));
3985
+ const a = Lt(i, r, o);
3986
+ n[o] ? n[o].p(a, s) : (n[o] = Ut(a), n[o].c(), n[o].m(t, null));
3989
3987
  }
3990
3988
  for (; o < n.length; o += 1)
3991
3989
  n[o].d(1);
@@ -3993,11 +3991,11 @@ function Ot(e) {
3993
3991
  }
3994
3992
  },
3995
3993
  d(i) {
3996
- i && D(t), Ur(n, i);
3994
+ i && D(t), Gr(n, i);
3997
3995
  }
3998
3996
  };
3999
3997
  }
4000
- function Ft(e) {
3998
+ function Rt(e) {
4001
3999
  let t, r, n = (
4002
4000
  /*subGroupItem*/
4003
4001
  e[63]?.name + ""
@@ -4048,11 +4046,11 @@ function Ft(e) {
4048
4046
  }
4049
4047
  };
4050
4048
  }
4051
- function Rt(e, t) {
4049
+ function Dt(e, t) {
4052
4050
  let r, n, i = (
4053
4051
  /*index*/
4054
4052
  t[59] == /*subGroup*/
4055
- t[60].index && Ft(t)
4053
+ t[60].index && Rt(t)
4056
4054
  );
4057
4055
  return {
4058
4056
  key: e,
@@ -4066,14 +4064,14 @@ function Rt(e, t) {
4066
4064
  p(s, o) {
4067
4065
  t = s, /*index*/
4068
4066
  t[59] == /*subGroup*/
4069
- t[60].index ? i ? i.p(t, o) : (i = Ft(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4067
+ t[60].index ? i ? i.p(t, o) : (i = Rt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4070
4068
  },
4071
4069
  d(s) {
4072
4070
  s && (D(r), D(n)), i && i.d(s);
4073
4071
  }
4074
4072
  };
4075
4073
  }
4076
- function Dt(e) {
4074
+ function Ut(e) {
4077
4075
  let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
4078
4076
  /*subGroup*/
4079
4077
  e[60].items
@@ -4083,8 +4081,8 @@ function Dt(e) {
4083
4081
  o[63].id
4084
4082
  );
4085
4083
  for (let o = 0; o < i.length; o += 1) {
4086
- let a = Lt(e, i, o), h = s(a);
4087
- r.set(h, t[o] = Rt(h, a));
4084
+ let a = Nt(e, i, o), h = s(a);
4085
+ r.set(h, t[o] = Dt(h, a));
4088
4086
  }
4089
4087
  return {
4090
4088
  c() {
@@ -4102,7 +4100,7 @@ function Dt(e) {
4102
4100
  133056 && (i = ie(
4103
4101
  /*subGroup*/
4104
4102
  o[60].items
4105
- ), t = Vt(t, a, s, 1, o, i, r, n.parentNode, jt, Rt, n, Lt));
4103
+ ), t = Xt(t, a, s, 1, o, i, r, n.parentNode, Vt, Dt, n, Nt));
4106
4104
  },
4107
4105
  d(o) {
4108
4106
  o && D(n);
@@ -4111,7 +4109,7 @@ function Dt(e) {
4111
4109
  }
4112
4110
  };
4113
4111
  }
4114
- function Ut(e, t) {
4112
+ function Gt(e, t) {
4115
4113
  let r, n, i, s, o, a, h, l, u, m, f;
4116
4114
  function p(E, w) {
4117
4115
  return (
@@ -4124,7 +4122,7 @@ function Ut(e, t) {
4124
4122
  t[11][
4125
4123
  /*index*/
4126
4124
  t[59]
4127
- ] == !0 && Pt(t)
4125
+ ] == !0 && Ot(t)
4128
4126
  );
4129
4127
  function C(...E) {
4130
4128
  return (
@@ -4143,7 +4141,7 @@ function Ut(e, t) {
4143
4141
  first: null,
4144
4142
  c() {
4145
4143
  r = L("li"), n = L("div"), i = L("img"), a = Q(), b.c(), h = Q(), d && d.c(), l = Q(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4146
- (t[3] === "true" ? "" : "DisplayNone")), mt(i.src, o = /*handleSrc*/
4144
+ (t[3] === "true" ? "" : "DisplayNone")), dt(i.src, o = /*handleSrc*/
4147
4145
  t[20](
4148
4146
  /*category*/
4149
4147
  t[57]
@@ -4166,7 +4164,7 @@ function Ut(e, t) {
4166
4164
  t = E, w[0] & /*categoriesicon*/
4167
4165
  8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
4168
4166
  (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), w[0] & /*sliderdata*/
4169
- 512 && !mt(i.src, o = /*handleSrc*/
4167
+ 512 && !dt(i.src, o = /*handleSrc*/
4170
4168
  t[20](
4171
4169
  /*category*/
4172
4170
  t[57]
@@ -4174,7 +4172,7 @@ function Ut(e, t) {
4174
4172
  t[11][
4175
4173
  /*index*/
4176
4174
  t[59]
4177
- ] == !0 ? d ? d.p(t, w) : (d = Pt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4175
+ ] == !0 ? d ? d.p(t, w) : (d = Ot(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4178
4176
  515 && u !== (u = "CarouselItem " + /*activeindex*/
4179
4177
  (t[1]?.toString().indexOf("$") > -1 ? (
4180
4178
  /*activeindex*/
@@ -4195,7 +4193,7 @@ function Ut(e, t) {
4195
4193
  function eo(e) {
4196
4194
  let t, r, n, i, s, o, a, h, l, u, m, f, p, g, b, d = (
4197
4195
  /*sliderdata*/
4198
- e[9].length > 0 && Nt(e)
4196
+ e[9].length > 0 && Pt(e)
4199
4197
  );
4200
4198
  return {
4201
4199
  c() {
@@ -4236,7 +4234,7 @@ function eo(e) {
4236
4234
  /*handleMouseMove*/
4237
4235
  e[16]
4238
4236
  ),
4239
- j(o, "click", Gr(
4237
+ j(o, "click", kr(
4240
4238
  /*click_handler*/
4241
4239
  e[36]
4242
4240
  )),
@@ -4250,7 +4248,7 @@ function eo(e) {
4250
4248
  },
4251
4249
  p(C, E) {
4252
4250
  /*sliderdata*/
4253
- C[9].length > 0 ? d ? d.p(C, E) : (d = Nt(C), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4251
+ C[9].length > 0 ? d ? d.p(C, E) : (d = Pt(C), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4254
4252
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4255
4253
  C[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
4256
4254
  1 && f !== (f = /*location*/
@@ -4271,11 +4269,11 @@ function to(e, t, r) {
4271
4269
  let H = !1, F = 0, R = 0;
4272
4270
  const Y = (c) => {
4273
4271
  c.preventDefault(), H = !0, T?.classList.add("dragging"), F = c.pageX - (T?.offsetLeft ?? 0), R = T?.scrollLeft ?? 0;
4274
- }, gr = (c) => {
4275
- c.preventDefault(), H = !1, T?.classList.remove("dragging");
4276
4272
  }, br = (c) => {
4277
- H = !1, T?.classList.remove("dragging");
4273
+ c.preventDefault(), H = !1, T?.classList.remove("dragging");
4278
4274
  }, yr = (c) => {
4275
+ H = !1, T?.classList.remove("dragging");
4276
+ }, vr = (c) => {
4279
4277
  if (!H || !T)
4280
4278
  return;
4281
4279
  c.preventDefault();
@@ -4284,14 +4282,14 @@ function to(e, t, r) {
4284
4282
  }, _r = () => {
4285
4283
  fetch(f).then((x) => x.json()).then((x) => {
4286
4284
  Object.keys(x).forEach((O) => {
4287
- At(O, x[O]);
4285
+ Bt(O, x[O]);
4288
4286
  });
4289
4287
  }).catch((x) => {
4290
4288
  console.log(x);
4291
4289
  });
4292
4290
  };
4293
- Object.keys(Bt).forEach((c) => {
4294
- At(c, Bt[c]);
4291
+ Object.keys(It).forEach((c) => {
4292
+ Bt(c, It[c]);
4295
4293
  });
4296
4294
  let z, fe, Re, $, me = [], xe = [], K = [], M, De = (c, x, O, Z, V) => {
4297
4295
  if (!(c.subGroups && Z === null)) {
@@ -4321,18 +4319,18 @@ function to(e, t, r) {
4321
4319
  window.location.href
4322
4320
  );
4323
4321
  }
4324
- }, lt = () => {
4325
- M && (K.length !== z ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4326
4322
  }, ut = () => {
4323
+ M && (K.length !== z ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4324
+ }, ht = () => {
4327
4325
  M && (K.length !== z ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4328
4326
  };
4329
- const ht = (c) => {
4330
- c.data.type == "SliderData" && c.data.identity == m && (r(9, me = c.data.data), r(11, K = new Array(me.length).fill(!1)), C == "true" && xr()), c.data.type == "GoToHomepage" && me.forEach((x, O) => {
4327
+ const ct = (c) => {
4328
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, me = c.data.data), r(11, K = new Array(me.length).fill(!1)), C == "true" && Cr()), c.data.type == "GoToHomepage" && me.forEach((x, O) => {
4331
4329
  x.path.endsWith("/casino") && (r(6, z = O), r(6, z));
4332
4330
  });
4333
- }, vr = () => {
4331
+ }, Er = () => {
4334
4332
  qi(b);
4335
- }, Er = (c, x, O) => {
4333
+ }, xr = (c, x, O) => {
4336
4334
  if (h == "secondaryMenu" && n && i && b && c.id) {
4337
4335
  let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4338
4336
  fetch(Z.href).then((V) => V.json()).then((V) => {
@@ -4346,8 +4344,8 @@ function to(e, t, r) {
4346
4344
  window.location.href
4347
4345
  );
4348
4346
  const we = [];
4349
- xe.map((Lr) => (Lr.items.forEach((ct) => {
4350
- we.find((Nr) => ct.id == Nr) || we.push(ct.id);
4347
+ xe.map((Nr) => (Nr.items.forEach((ft) => {
4348
+ we.find((Pr) => ft.id == Pr) || we.push(ft.id);
4351
4349
  }), we.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: we }, window.location.href);
4352
4350
  }).then(() => {
4353
4351
  T.querySelectorAll(".DropDown") && Ce();
@@ -4360,42 +4358,42 @@ function to(e, t, r) {
4360
4358
  for (let x = 0; x < c.length; x++)
4361
4359
  c[x].style.transform = "translateX(-" + M.scrollLeft + "px)";
4362
4360
  M.classList.remove("isScrolling");
4363
- }, xr = () => {
4361
+ }, Cr = () => {
4364
4362
  me.forEach((c, x) => {
4365
- c?.subGroups?.count > 0 && (r(11, K[x] = !0, K), Er(c, x));
4363
+ c?.subGroups?.count > 0 && (r(11, K[x] = !0, K), xr(c, x));
4366
4364
  });
4367
- }, Cr = (c) => {
4365
+ }, wr = (c) => {
4368
4366
  let x = "";
4369
4367
  return c.id === "LOBBY" ? x = w : c.id === "MYGAMES" && (x = U), c.icon || x;
4370
4368
  };
4371
- Vr(() => (window.addEventListener("message", ht, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4369
+ Xr(() => (window.addEventListener("message", ct, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4372
4370
  () => {
4373
4371
  M.addEventListener("scroll", Ce);
4374
4372
  },
4375
4373
  500
4376
4374
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4377
- window.removeEventListener("message", ht), T.removeEventListener("scroll", Ce);
4375
+ window.removeEventListener("message", ct), T.removeEventListener("scroll", Ce);
4378
4376
  }));
4379
- function wr(c) {
4380
- Xr.call(this, e, c);
4377
+ function Hr(c) {
4378
+ Wr.call(this, e, c);
4381
4379
  }
4382
- const Hr = () => lt(), Sr = (c, x, O, Z, V) => {
4380
+ const Sr = () => ut(), Tr = (c, x, O, Z, V) => {
4383
4381
  De(c, x, O, Z, "secondary"), V.stopPropagation();
4384
- }, Tr = (c, x, O) => {
4382
+ }, Ar = (c, x, O) => {
4385
4383
  De(c, x, null, null, "main"), O.preventDefault();
4386
4384
  };
4387
- function Ar(c) {
4385
+ function Br(c) {
4388
4386
  ge[c ? "unshift" : "push"](() => {
4389
4387
  T = c, r(5, T);
4390
4388
  });
4391
4389
  }
4392
- function Br(c) {
4390
+ function Ir(c) {
4393
4391
  ge[c ? "unshift" : "push"](() => {
4394
4392
  M = c, r(12, M);
4395
4393
  });
4396
4394
  }
4397
- const Ir = () => ut();
4398
- function Mr(c) {
4395
+ const Mr = () => ht();
4396
+ function Lr(c) {
4399
4397
  ge[c ? "unshift" : "push"](() => {
4400
4398
  $ = c, r(4, $);
4401
4399
  });
@@ -4406,11 +4404,11 @@ function to(e, t, r) {
4406
4404
  e.$$.dirty[0] & /*activeindex*/
4407
4405
  2, e.$$.dirty[0] & /*translationurl*/
4408
4406
  536870912 && f && _r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4409
- 67108880 && l && $ && on($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4410
- 134217744 && u && $ && sn($, u), e.$$.dirty[0] & /*customStylingContainer*/
4407
+ 67108880 && l && $ && sn($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4408
+ 134217744 && u && $ && an($, u), e.$$.dirty[0] & /*customStylingContainer*/
4411
4409
  16 | e.$$.dirty[1] & /*mbsource*/
4412
- 16 && N && $ && an($, `${N}.Style`), e.$$.dirty[1] & /*lang*/
4413
- 2 && b && vr();
4410
+ 16 && N && $ && ln($, `${N}.Style`), e.$$.dirty[1] & /*lang*/
4411
+ 2 && b && Er();
4414
4412
  }, [
4415
4413
  h,
4416
4414
  d,
@@ -4426,13 +4424,13 @@ function to(e, t, r) {
4426
4424
  K,
4427
4425
  M,
4428
4426
  Y,
4429
- gr,
4430
4427
  br,
4431
4428
  yr,
4429
+ vr,
4432
4430
  De,
4433
- lt,
4434
4431
  ut,
4435
- Cr,
4432
+ ht,
4433
+ wr,
4436
4434
  n,
4437
4435
  i,
4438
4436
  s,
@@ -4448,24 +4446,24 @@ function to(e, t, r) {
4448
4446
  w,
4449
4447
  U,
4450
4448
  N,
4451
- wr,
4452
4449
  Hr,
4453
4450
  Sr,
4454
4451
  Tr,
4455
4452
  Ar,
4456
4453
  Br,
4457
4454
  Ir,
4458
- Mr
4455
+ Mr,
4456
+ Lr
4459
4457
  ];
4460
4458
  }
4461
- class ro extends rn {
4459
+ class ro extends nn {
4462
4460
  constructor(t) {
4463
- super(), en(
4461
+ super(), tn(
4464
4462
  this,
4465
4463
  t,
4466
4464
  to,
4467
4465
  eo,
4468
- kt,
4466
+ $t,
4469
4467
  {
4470
4468
  endpoint: 21,
4471
4469
  datasource: 22,
@@ -4606,7 +4604,7 @@ class ro extends rn {
4606
4604
  this.$$set({ mbsource: t }), B();
4607
4605
  }
4608
4606
  }
4609
- 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);
4607
+ rn(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);
4610
4608
  export {
4611
4609
  ro as C
4612
4610
  };