@everymatrix/casino-slider-nd 1.59.3 → 1.60.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,32 +1,32 @@
1
- function k() {
1
+ function D() {
2
2
  }
3
- function ir(e) {
3
+ function ar(e) {
4
4
  return e();
5
5
  }
6
- function Et() {
6
+ function xt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function z(e) {
10
- e.forEach(ir);
10
+ e.forEach(ar);
11
11
  }
12
- function bt(e) {
12
+ function gt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function or(e, t) {
15
+ function lr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Be;
19
19
  function Fe(e, t) {
20
20
  return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
21
21
  }
22
- function rn(e) {
22
+ function an(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function nn(e, ...t) {
25
+ function ln(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return k;
29
+ return D;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -34,14 +34,14 @@ function nn(e, ...t) {
34
34
  function C(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function on(e, t, r) {
38
- const n = sn(e);
37
+ function un(e, t, r) {
38
+ const n = hn(e);
39
39
  if (!n.getElementById(t)) {
40
40
  const i = B("style");
41
- i.id = t, i.textContent = r, an(n, i);
41
+ i.id = t, i.textContent = r, cn(n, i);
42
42
  }
43
43
  }
44
- function sn(e) {
44
+ function hn(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +51,7 @@ function sn(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function an(e, t) {
54
+ function cn(e, t) {
55
55
  return C(
56
56
  /** @type {Document} */
57
57
  e.head || e,
@@ -64,7 +64,7 @@ function A(e, t, r) {
64
64
  function H(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function ln(e, t) {
67
+ function fn(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
@@ -77,7 +77,7 @@ function Y(e) {
77
77
  function ee(e) {
78
78
  return document.createTextNode(e);
79
79
  }
80
- function j() {
80
+ function V() {
81
81
  return ee(" ");
82
82
  }
83
83
  function te() {
@@ -89,14 +89,14 @@ function q(e, t, r, n) {
89
89
  function p(e, t, r) {
90
90
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
91
91
  }
92
- function un(e) {
92
+ function dn(e) {
93
93
  return Array.from(e.childNodes);
94
94
  }
95
- function de(e, t) {
95
+ function pe(e, t) {
96
96
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
97
97
  t);
98
98
  }
99
- function hn(e) {
99
+ function pn(e) {
100
100
  const t = {};
101
101
  return e.childNodes.forEach(
102
102
  /** @param {Element} node */
@@ -105,128 +105,128 @@ function hn(e) {
105
105
  }
106
106
  ), t;
107
107
  }
108
- let we;
109
- function Ee(e) {
110
- we = e;
108
+ let xe;
109
+ function Ce(e) {
110
+ xe = e;
111
111
  }
112
- function cn() {
113
- if (!we)
112
+ function mn() {
113
+ if (!xe)
114
114
  throw new Error("Function called outside component initialization");
115
- return we;
115
+ return xe;
116
116
  }
117
- function fn(e) {
118
- cn().$$.on_mount.push(e);
117
+ function bn(e) {
118
+ mn().$$.on_mount.push(e);
119
119
  }
120
- const oe = [], Ce = [];
121
- let se = [];
122
- const Ct = [], dn = /* @__PURE__ */ Promise.resolve();
123
- let tt = !1;
124
- function pn() {
125
- tt || (tt = !0, dn.then(M));
120
+ const se = [], we = [];
121
+ let ae = [];
122
+ const St = [], gn = /* @__PURE__ */ Promise.resolve();
123
+ let rt = !1;
124
+ function yn() {
125
+ rt || (rt = !0, gn.then(M));
126
126
  }
127
- function rt(e) {
128
- se.push(e);
127
+ function nt(e) {
128
+ ae.push(e);
129
129
  }
130
130
  const ze = /* @__PURE__ */ new Set();
131
- let ne = 0;
131
+ let ie = 0;
132
132
  function M() {
133
- if (ne !== 0)
133
+ if (ie !== 0)
134
134
  return;
135
- const e = we;
135
+ const e = xe;
136
136
  do {
137
137
  try {
138
- for (; ne < oe.length; ) {
139
- const t = oe[ne];
140
- ne++, Ee(t), mn(t.$$);
138
+ for (; ie < se.length; ) {
139
+ const t = se[ie];
140
+ ie++, Ce(t), vn(t.$$);
141
141
  }
142
142
  } catch (t) {
143
- throw oe.length = 0, ne = 0, t;
143
+ throw se.length = 0, ie = 0, t;
144
144
  }
145
- for (Ee(null), oe.length = 0, ne = 0; Ce.length; )
146
- Ce.pop()();
147
- for (let t = 0; t < se.length; t += 1) {
148
- const r = se[t];
145
+ for (Ce(null), se.length = 0, ie = 0; we.length; )
146
+ we.pop()();
147
+ for (let t = 0; t < ae.length; t += 1) {
148
+ const r = ae[t];
149
149
  ze.has(r) || (ze.add(r), r());
150
150
  }
151
- se.length = 0;
152
- } while (oe.length);
153
- for (; Ct.length; )
154
- Ct.pop()();
155
- tt = !1, ze.clear(), Ee(e);
151
+ ae.length = 0;
152
+ } while (se.length);
153
+ for (; St.length; )
154
+ St.pop()();
155
+ rt = !1, ze.clear(), Ce(e);
156
156
  }
157
- function mn(e) {
157
+ function vn(e) {
158
158
  if (e.fragment !== null) {
159
159
  e.update(), z(e.before_update);
160
160
  const t = e.dirty;
161
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rt);
161
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
162
162
  }
163
163
  }
164
- function bn(e) {
164
+ function _n(e) {
165
165
  const t = [], r = [];
166
- se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
166
+ ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
167
167
  }
168
- const gn = /* @__PURE__ */ new Set();
169
- function sr(e, t) {
170
- e && e.i && (gn.delete(e), e.i(t));
168
+ const En = /* @__PURE__ */ new Set();
169
+ function ur(e, t) {
170
+ e && e.i && (En.delete(e), e.i(t));
171
171
  }
172
- function le(e) {
172
+ function ue(e) {
173
173
  return e?.length !== void 0 ? e : Array.from(e);
174
174
  }
175
- function ar(e, t) {
175
+ function hr(e, t) {
176
176
  e.d(1), t.delete(e.key);
177
177
  }
178
- function lr(e, t, r, n, i, o, s, a, l, h, u, c) {
178
+ function cr(e, t, r, n, i, o, s, a, l, h, u, c) {
179
179
  let d = e.length, b = o.length, m = d;
180
180
  const g = {};
181
181
  for (; m--; )
182
182
  g[e[m].key] = m;
183
- const y = [], x = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), L = [];
183
+ const y = [], x = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), N = [];
184
184
  for (m = b; m--; ) {
185
- const T = c(i, o, m), D = r(T);
186
- let O = s.get(D);
187
- O ? L.push(() => O.p(T, t)) : (O = h(D, T), O.c()), x.set(D, y[m] = O), D in g && I.set(D, Math.abs(m - g[D]));
185
+ const T = c(i, o, m), U = r(T);
186
+ let O = s.get(U);
187
+ O ? N.push(() => O.p(T, t)) : (O = h(U, T), O.c()), x.set(U, y[m] = O), U in g && I.set(U, Math.abs(m - g[U]));
188
188
  }
189
- const U = /* @__PURE__ */ new Set(), R = /* @__PURE__ */ new Set();
190
- function G(T) {
191
- sr(T, 1), T.m(a, u), s.set(T.key, T), u = T.first, b--;
189
+ const $ = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set();
190
+ function j(T) {
191
+ ur(T, 1), T.m(a, u), s.set(T.key, T), u = T.first, b--;
192
192
  }
193
193
  for (; d && b; ) {
194
- const T = y[b - 1], D = e[d - 1], O = T.key, $ = D.key;
195
- T === D ? (u = T.first, d--, b--) : x.has($) ? !s.has(O) || U.has(O) ? G(T) : R.has($) ? d-- : I.get(O) > I.get($) ? (R.add(O), G(T)) : (U.add($), d--) : (l(D, s), d--);
194
+ const T = y[b - 1], U = e[d - 1], O = T.key, G = U.key;
195
+ T === U ? (u = T.first, d--, b--) : x.has(G) ? !s.has(O) || $.has(O) ? j(T) : F.has(G) ? d-- : I.get(O) > I.get(G) ? (F.add(O), j(T)) : ($.add(G), d--) : (l(U, s), d--);
196
196
  }
197
197
  for (; d--; ) {
198
198
  const T = e[d];
199
199
  x.has(T.key) || l(T, s);
200
200
  }
201
201
  for (; b; )
202
- G(y[b - 1]);
203
- return z(L), y;
202
+ j(y[b - 1]);
203
+ return z(N), y;
204
204
  }
205
- function yn(e, t, r) {
205
+ function Cn(e, t, r) {
206
206
  const { fragment: n, after_update: i } = e.$$;
207
- n && n.m(t, r), rt(() => {
208
- const o = e.$$.on_mount.map(ir).filter(bt);
207
+ n && n.m(t, r), nt(() => {
208
+ const o = e.$$.on_mount.map(ar).filter(gt);
209
209
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
210
- }), i.forEach(rt);
210
+ }), i.forEach(nt);
211
211
  }
212
- function vn(e, t) {
212
+ function wn(e, t) {
213
213
  const r = e.$$;
214
- r.fragment !== null && (bn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
214
+ r.fragment !== null && (_n(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
215
  }
216
- function _n(e, t) {
217
- e.$$.dirty[0] === -1 && (oe.push(e), pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
216
+ function xn(e, t) {
217
+ e.$$.dirty[0] === -1 && (se.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
218
218
  }
219
- function En(e, t, r, n, i, o, s = null, a = [-1]) {
220
- const l = we;
221
- Ee(e);
219
+ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
220
+ const l = xe;
221
+ Ce(e);
222
222
  const h = e.$$ = {
223
223
  fragment: null,
224
224
  ctx: [],
225
225
  // state
226
226
  props: o,
227
- update: k,
227
+ update: D,
228
228
  not_equal: i,
229
- bound: Et(),
229
+ bound: xt(),
230
230
  // lifecycle
231
231
  on_mount: [],
232
232
  on_destroy: [],
@@ -235,7 +235,7 @@ function En(e, t, r, n, i, o, s = null, a = [-1]) {
235
235
  after_update: [],
236
236
  context: new Map(t.context || (l ? l.$$.context : [])),
237
237
  // everything else
238
- callbacks: Et(),
238
+ callbacks: xt(),
239
239
  dirty: a,
240
240
  skip_bound: !1,
241
241
  root: t.target || l.$$.root
@@ -244,19 +244,19 @@ function En(e, t, r, n, i, o, s = null, a = [-1]) {
244
244
  let u = !1;
245
245
  if (h.ctx = r ? r(e, t.props || {}, (c, d, ...b) => {
246
246
  const m = b.length ? b[0] : d;
247
- return h.ctx && i(h.ctx[c], h.ctx[c] = m) && (!h.skip_bound && h.bound[c] && h.bound[c](m), u && _n(e, c)), d;
247
+ return h.ctx && i(h.ctx[c], h.ctx[c] = m) && (!h.skip_bound && h.bound[c] && h.bound[c](m), u && xn(e, c)), d;
248
248
  }) : [], h.update(), u = !0, z(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
249
249
  if (t.hydrate) {
250
- const c = un(t.target);
250
+ const c = dn(t.target);
251
251
  h.fragment && h.fragment.l(c), c.forEach(H);
252
252
  } else
253
253
  h.fragment && h.fragment.c();
254
- t.intro && sr(e.$$.fragment), yn(e, t.target, t.anchor), M();
254
+ t.intro && ur(e.$$.fragment), Cn(e, t.target, t.anchor), M();
255
255
  }
256
- Ee(l);
256
+ Ce(l);
257
257
  }
258
- let ur;
259
- typeof HTMLElement == "function" && (ur = class extends HTMLElement {
258
+ let fr;
259
+ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
260
260
  /** The Svelte component constructor */
261
261
  $$ctor;
262
262
  /** Slots */
@@ -315,7 +315,7 @@ typeof HTMLElement == "function" && (ur = class extends HTMLElement {
315
315
  };
316
316
  if (await Promise.resolve(), !this.$$cn || this.$$c)
317
317
  return;
318
- const t = {}, r = hn(this);
318
+ const t = {}, r = pn(this);
319
319
  for (const i of this.$$s)
320
320
  i in r && (t[i] = [e(i)]);
321
321
  for (const i of this.attributes) {
@@ -402,8 +402,8 @@ function Oe(e, t, r, n) {
402
402
  return t;
403
403
  }
404
404
  }
405
- function Cn(e, t, r, n, i, o) {
406
- let s = class extends ur {
405
+ function Hn(e, t, r, n, i, o) {
406
+ let s = class extends fr {
407
407
  constructor() {
408
408
  super(e, r, i), this.$$p_d = t;
409
409
  }
@@ -431,7 +431,7 @@ function Cn(e, t, r, n, i, o) {
431
431
  }), e.element = /** @type {any} */
432
432
  s, s;
433
433
  }
434
- class wn {
434
+ class Tn {
435
435
  /**
436
436
  * ### PRIVATE API
437
437
  *
@@ -450,7 +450,7 @@ class wn {
450
450
  $$set = void 0;
451
451
  /** @returns {void} */
452
452
  $destroy() {
453
- vn(this, 1), this.$destroy = k;
453
+ wn(this, 1), this.$destroy = D;
454
454
  }
455
455
  /**
456
456
  * @template {Extract<keyof Events, string>} K
@@ -459,8 +459,8 @@ class wn {
459
459
  * @returns {() => void}
460
460
  */
461
461
  $on(t, r) {
462
- if (!bt(r))
463
- return k;
462
+ if (!gt(r))
463
+ return D;
464
464
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
465
465
  return n.push(r), () => {
466
466
  const i = n.indexOf(r);
@@ -472,11 +472,11 @@ class wn {
472
472
  * @returns {void}
473
473
  */
474
474
  $set(t) {
475
- this.$$set && !rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
+ this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
476
476
  }
477
477
  }
478
- const xn = "4";
479
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
478
+ const An = "4";
479
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(An);
480
480
  /*! *****************************************************************************
481
481
  Copyright (c) Microsoft Corporation.
482
482
 
@@ -491,18 +491,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
491
491
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
492
492
  PERFORMANCE OF THIS SOFTWARE.
493
493
  ***************************************************************************** */
494
- var nt = function(e, t) {
495
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
494
+ var it = function(e, t) {
495
+ return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
496
496
  r.__proto__ = n;
497
497
  } || function(r, n) {
498
498
  for (var i in n)
499
499
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
500
- }, nt(e, t);
500
+ }, it(e, t);
501
501
  };
502
502
  function Q(e, t) {
503
503
  if (typeof t != "function" && t !== null)
504
504
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
505
- nt(e, t);
505
+ it(e, t);
506
506
  function r() {
507
507
  this.constructor = e;
508
508
  }
@@ -518,7 +518,7 @@ var E = function() {
518
518
  return t;
519
519
  }, E.apply(this, arguments);
520
520
  };
521
- function Sn(e, t) {
521
+ function In(e, t) {
522
522
  var r = {};
523
523
  for (var n in e)
524
524
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -527,7 +527,7 @@ function Sn(e, t) {
527
527
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
528
528
  return r;
529
529
  }
530
- function it(e) {
530
+ function ot(e) {
531
531
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
532
532
  if (r)
533
533
  return r.call(e);
@@ -539,7 +539,7 @@ function it(e) {
539
539
  };
540
540
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
541
541
  }
542
- function ot(e, t) {
542
+ function st(e, t) {
543
543
  var r = typeof Symbol == "function" && e[Symbol.iterator];
544
544
  if (!r)
545
545
  return e;
@@ -559,7 +559,7 @@ function ot(e, t) {
559
559
  }
560
560
  return o;
561
561
  }
562
- function ae(e, t, r) {
562
+ function le(e, t, r) {
563
563
  if (r || arguments.length === 2)
564
564
  for (var n = 0, i = t.length, o; n < i; n++)
565
565
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -568,13 +568,13 @@ function ae(e, t, r) {
568
568
  function Z(e) {
569
569
  return typeof e == "function";
570
570
  }
571
- function hr(e) {
571
+ function dr(e) {
572
572
  var t = function(n) {
573
573
  Error.call(n), n.stack = new Error().stack;
574
574
  }, r = e(t);
575
575
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
576
576
  }
577
- var Qe = hr(function(e) {
577
+ var Qe = dr(function(e) {
578
578
  return function(r) {
579
579
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
580
580
  ` + r.map(function(n, i) {
@@ -583,7 +583,7 @@ var Qe = hr(function(e) {
583
583
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
584
584
  };
585
585
  });
586
- function st(e, t) {
586
+ function at(e, t) {
587
587
  if (e) {
588
588
  var r = e.indexOf(t);
589
589
  0 <= r && e.splice(r, 1);
@@ -601,7 +601,7 @@ var Ue = function() {
601
601
  if (s)
602
602
  if (this._parentage = null, Array.isArray(s))
603
603
  try {
604
- for (var a = it(s), l = a.next(); !l.done; l = a.next()) {
604
+ for (var a = ot(s), l = a.next(); !l.done; l = a.next()) {
605
605
  var h = l.value;
606
606
  h.remove(this);
607
607
  }
@@ -628,12 +628,12 @@ var Ue = function() {
628
628
  if (c) {
629
629
  this._finalizers = null;
630
630
  try {
631
- for (var d = it(c), b = d.next(); !b.done; b = d.next()) {
631
+ for (var d = ot(c), b = d.next(); !b.done; b = d.next()) {
632
632
  var m = b.value;
633
633
  try {
634
- wt(m);
634
+ Ht(m);
635
635
  } catch (g) {
636
- o = o ?? [], g instanceof Qe ? o = ae(ae([], ot(o)), ot(g.errors)) : o.push(g);
636
+ o = o ?? [], g instanceof Qe ? o = le(le([], st(o)), st(g.errors)) : o.push(g);
637
637
  }
638
638
  }
639
639
  } catch (g) {
@@ -654,7 +654,7 @@ var Ue = function() {
654
654
  var r;
655
655
  if (t && t !== this)
656
656
  if (this.closed)
657
- wt(t);
657
+ Ht(t);
658
658
  else {
659
659
  if (t instanceof e) {
660
660
  if (t.closed || t._hasParent(this))
@@ -671,52 +671,56 @@ var Ue = function() {
671
671
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
672
672
  }, e.prototype._removeParent = function(t) {
673
673
  var r = this._parentage;
674
- r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
674
+ r === t ? this._parentage = null : Array.isArray(r) && at(r, t);
675
675
  }, e.prototype.remove = function(t) {
676
676
  var r = this._finalizers;
677
- r && st(r, t), t instanceof e && t._removeParent(this);
677
+ r && at(r, t), t instanceof e && t._removeParent(this);
678
678
  }, e.EMPTY = function() {
679
679
  var t = new e();
680
680
  return t.closed = !0, t;
681
681
  }(), e;
682
- }(), cr = Ue.EMPTY;
683
- function fr(e) {
682
+ }(), pr = Ue.EMPTY;
683
+ function mr(e) {
684
684
  return e instanceof Ue || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
685
685
  }
686
- function wt(e) {
686
+ function Ht(e) {
687
687
  Z(e) ? e() : e.unsubscribe();
688
688
  }
689
- var Hn = {
690
- Promise: void 0
691
- }, Tn = {
689
+ var br = {
690
+ onUnhandledError: null,
691
+ onStoppedNotification: null,
692
+ Promise: void 0,
693
+ useDeprecatedSynchronousErrorHandling: !1,
694
+ useDeprecatedNextContext: !1
695
+ }, Bn = {
692
696
  setTimeout: function(e, t) {
693
697
  for (var r = [], n = 2; n < arguments.length; n++)
694
698
  r[n - 2] = arguments[n];
695
- return setTimeout.apply(void 0, ae([e, t], ot(r)));
699
+ return setTimeout.apply(void 0, le([e, t], st(r)));
696
700
  },
697
701
  clearTimeout: function(e) {
698
702
  return clearTimeout(e);
699
703
  },
700
704
  delegate: void 0
701
705
  };
702
- function An(e) {
703
- Tn.setTimeout(function() {
706
+ function Mn(e) {
707
+ Bn.setTimeout(function() {
704
708
  throw e;
705
709
  });
706
710
  }
707
- function xt() {
711
+ function Tt() {
708
712
  }
709
713
  function Le(e) {
710
714
  e();
711
715
  }
712
- var dr = function(e) {
716
+ var gr = function(e) {
713
717
  Q(t, e);
714
718
  function t(r) {
715
719
  var n = e.call(this) || this;
716
- return n.isStopped = !1, r ? (n.destination = r, fr(r) && r.add(n)) : n.destination = Mn, n;
720
+ return n.isStopped = !1, r ? (n.destination = r, mr(r) && r.add(n)) : n.destination = Nn, n;
717
721
  }
718
722
  return t.create = function(r, n, i) {
719
- return new at(r, n, i);
723
+ return new lt(r, n, i);
720
724
  }, t.prototype.next = function(r) {
721
725
  this.isStopped || this._next(r);
722
726
  }, t.prototype.error = function(r) {
@@ -740,7 +744,11 @@ var dr = function(e) {
740
744
  this.unsubscribe();
741
745
  }
742
746
  }, t;
743
- }(Ue), In = function() {
747
+ }(Ue), Pn = Function.prototype.bind;
748
+ function Ye(e, t) {
749
+ return Pn.call(e, t);
750
+ }
751
+ var On = function() {
744
752
  function e(t) {
745
753
  this.partialObserver = t;
746
754
  }
@@ -771,43 +779,55 @@ var dr = function(e) {
771
779
  Me(r);
772
780
  }
773
781
  }, e;
774
- }(), at = function(e) {
782
+ }(), lt = function(e) {
775
783
  Q(t, e);
776
784
  function t(r, n, i) {
777
785
  var o = e.call(this) || this, s;
778
- return Z(r) || !r ? s = {
779
- next: r ?? void 0,
780
- error: n ?? void 0,
781
- complete: i ?? void 0
782
- } : s = r, o.destination = new In(s), o;
786
+ if (Z(r) || !r)
787
+ s = {
788
+ next: r ?? void 0,
789
+ error: n ?? void 0,
790
+ complete: i ?? void 0
791
+ };
792
+ else {
793
+ var a;
794
+ o && br.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
795
+ return o.unsubscribe();
796
+ }, s = {
797
+ next: r.next && Ye(r.next, a),
798
+ error: r.error && Ye(r.error, a),
799
+ complete: r.complete && Ye(r.complete, a)
800
+ }) : s = r;
801
+ }
802
+ return o.destination = new On(s), o;
783
803
  }
784
804
  return t;
785
- }(dr);
805
+ }(gr);
786
806
  function Me(e) {
787
- An(e);
807
+ Mn(e);
788
808
  }
789
- function Bn(e) {
809
+ function Ln(e) {
790
810
  throw e;
791
811
  }
792
- var Mn = {
812
+ var Nn = {
793
813
  closed: !0,
794
- next: xt,
795
- error: Bn,
796
- complete: xt
797
- }, Pn = function() {
814
+ next: Tt,
815
+ error: Ln,
816
+ complete: Tt
817
+ }, Rn = function() {
798
818
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
799
819
  }();
800
- function On(e) {
820
+ function Fn(e) {
801
821
  return e;
802
822
  }
803
- function Ln(e) {
804
- return e.length === 0 ? On : e.length === 1 ? e[0] : function(r) {
823
+ function kn(e) {
824
+ return e.length === 0 ? Fn : e.length === 1 ? e[0] : function(r) {
805
825
  return e.reduce(function(n, i) {
806
826
  return i(n);
807
827
  }, r);
808
828
  };
809
829
  }
810
- var St = function() {
830
+ var At = function() {
811
831
  function e(t) {
812
832
  t && (this._subscribe = t);
813
833
  }
@@ -815,7 +835,7 @@ var St = function() {
815
835
  var r = new e();
816
836
  return r.source = this, r.operator = t, r;
817
837
  }, e.prototype.subscribe = function(t, r, n) {
818
- var i = this, o = Rn(t) ? t : new at(t, r, n);
838
+ var i = this, o = Un(t) ? t : new lt(t, r, n);
819
839
  return Le(function() {
820
840
  var s = i, a = s.operator, l = s.source;
821
841
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -828,8 +848,8 @@ var St = function() {
828
848
  }
829
849
  }, e.prototype.forEach = function(t, r) {
830
850
  var n = this;
831
- return r = Ht(r), new r(function(i, o) {
832
- var s = new at({
851
+ return r = It(r), new r(function(i, o) {
852
+ var s = new lt({
833
853
  next: function(a) {
834
854
  try {
835
855
  t(a);
@@ -845,15 +865,15 @@ var St = function() {
845
865
  }, e.prototype._subscribe = function(t) {
846
866
  var r;
847
867
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
848
- }, e.prototype[Pn] = function() {
868
+ }, e.prototype[Rn] = function() {
849
869
  return this;
850
870
  }, e.prototype.pipe = function() {
851
871
  for (var t = [], r = 0; r < arguments.length; r++)
852
872
  t[r] = arguments[r];
853
- return Ln(t)(this);
873
+ return kn(t)(this);
854
874
  }, e.prototype.toPromise = function(t) {
855
875
  var r = this;
856
- return t = Ht(t), new t(function(n, i) {
876
+ return t = It(t), new t(function(n, i) {
857
877
  var o;
858
878
  r.subscribe(function(s) {
859
879
  return o = s;
@@ -867,32 +887,32 @@ var St = function() {
867
887
  return new e(t);
868
888
  }, e;
869
889
  }();
870
- function Ht(e) {
890
+ function It(e) {
871
891
  var t;
872
- return (t = e ?? Hn.Promise) !== null && t !== void 0 ? t : Promise;
892
+ return (t = e ?? br.Promise) !== null && t !== void 0 ? t : Promise;
873
893
  }
874
- function Nn(e) {
894
+ function Dn(e) {
875
895
  return e && Z(e.next) && Z(e.error) && Z(e.complete);
876
896
  }
877
- function Rn(e) {
878
- return e && e instanceof dr || Nn(e) && fr(e);
897
+ function Un(e) {
898
+ return e && e instanceof gr || Dn(e) && mr(e);
879
899
  }
880
- var Fn = hr(function(e) {
900
+ var Gn = dr(function(e) {
881
901
  return function() {
882
902
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
883
903
  };
884
- }), pr = function(e) {
904
+ }), yr = function(e) {
885
905
  Q(t, e);
886
906
  function t() {
887
907
  var r = e.call(this) || this;
888
908
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
889
909
  }
890
910
  return t.prototype.lift = function(r) {
891
- var n = new Tt(this, this);
911
+ var n = new Bt(this, this);
892
912
  return n.operator = r, n;
893
913
  }, t.prototype._throwIfClosed = function() {
894
914
  if (this.closed)
895
- throw new Fn();
915
+ throw new Gn();
896
916
  }, t.prototype.next = function(r) {
897
917
  var n = this;
898
918
  Le(function() {
@@ -900,7 +920,7 @@ var Fn = hr(function(e) {
900
920
  if (n._throwIfClosed(), !n.isStopped) {
901
921
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
902
922
  try {
903
- for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
923
+ for (var s = ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
904
924
  var l = a.value;
905
925
  l.next(r);
906
926
  }
@@ -949,19 +969,19 @@ var Fn = hr(function(e) {
949
969
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
950
970
  }, t.prototype._innerSubscribe = function(r) {
951
971
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
952
- return o || s ? cr : (this.currentObservers = null, a.push(r), new Ue(function() {
953
- n.currentObservers = null, st(a, r);
972
+ return o || s ? pr : (this.currentObservers = null, a.push(r), new Ue(function() {
973
+ n.currentObservers = null, at(a, r);
954
974
  }));
955
975
  }, t.prototype._checkFinalizedStatuses = function(r) {
956
976
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
957
977
  i ? r.error(o) : s && r.complete();
958
978
  }, t.prototype.asObservable = function() {
959
- var r = new St();
979
+ var r = new At();
960
980
  return r.source = this, r;
961
981
  }, t.create = function(r, n) {
962
- return new Tt(r, n);
982
+ return new Bt(r, n);
963
983
  }, t;
964
- }(St), Tt = function(e) {
984
+ }(At), Bt = function(e) {
965
985
  Q(t, e);
966
986
  function t(r, n) {
967
987
  var i = e.call(this) || this;
@@ -978,17 +998,17 @@ var Fn = hr(function(e) {
978
998
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
979
999
  }, t.prototype._subscribe = function(r) {
980
1000
  var n, i;
981
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : cr;
1001
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : pr;
982
1002
  }, t;
983
- }(pr), mr = {
1003
+ }(yr), vr = {
984
1004
  now: function() {
985
- return (mr.delegate || Date).now();
1005
+ return (vr.delegate || Date).now();
986
1006
  },
987
1007
  delegate: void 0
988
- }, kn = function(e) {
1008
+ }, $n = function(e) {
989
1009
  Q(t, e);
990
1010
  function t(r, n, i) {
991
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = mr);
1011
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = vr);
992
1012
  var o = e.call(this) || this;
993
1013
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
994
1014
  }
@@ -1008,62 +1028,62 @@ var Fn = hr(function(e) {
1008
1028
  h && o.splice(0, h + 1);
1009
1029
  }
1010
1030
  }, t;
1011
- }(pr);
1012
- const At = [], It = {}, Dn = (e, t = 0) => {
1013
- if (At.indexOf(e) == -1) {
1014
- const r = new kn(t);
1015
- It[e] = r, At.push(e);
1031
+ }(yr);
1032
+ const Mt = [], Pt = {}, jn = (e, t = 0) => {
1033
+ if (Mt.indexOf(e) == -1) {
1034
+ const r = new $n(t);
1035
+ Pt[e] = r, Mt.push(e);
1016
1036
  }
1017
- return It[e];
1018
- }, ie = [];
1019
- function Un(e, t) {
1037
+ return Pt[e];
1038
+ }, oe = [];
1039
+ function Vn(e, t) {
1020
1040
  return {
1021
1041
  subscribe: Ge(e, t).subscribe
1022
1042
  };
1023
1043
  }
1024
- function Ge(e, t = k) {
1044
+ function Ge(e, t = D) {
1025
1045
  let r;
1026
1046
  const n = /* @__PURE__ */ new Set();
1027
1047
  function i(a) {
1028
- if (or(e, a) && (e = a, r)) {
1029
- const l = !ie.length;
1048
+ if (lr(e, a) && (e = a, r)) {
1049
+ const l = !oe.length;
1030
1050
  for (const h of n)
1031
- h[1](), ie.push(h, e);
1051
+ h[1](), oe.push(h, e);
1032
1052
  if (l) {
1033
- for (let h = 0; h < ie.length; h += 2)
1034
- ie[h][0](ie[h + 1]);
1035
- ie.length = 0;
1053
+ for (let h = 0; h < oe.length; h += 2)
1054
+ oe[h][0](oe[h + 1]);
1055
+ oe.length = 0;
1036
1056
  }
1037
1057
  }
1038
1058
  }
1039
1059
  function o(a) {
1040
1060
  i(a(e));
1041
1061
  }
1042
- function s(a, l = k) {
1062
+ function s(a, l = D) {
1043
1063
  const h = [a, l];
1044
- return n.add(h), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1064
+ return n.add(h), n.size === 1 && (r = t(i, o) || D), a(e), () => {
1045
1065
  n.delete(h), n.size === 0 && r && (r(), r = null);
1046
1066
  };
1047
1067
  }
1048
1068
  return { set: i, update: o, subscribe: s };
1049
1069
  }
1050
- function pe(e, t, r) {
1070
+ function me(e, t, r) {
1051
1071
  const n = !Array.isArray(e), i = n ? [e] : e;
1052
1072
  if (!i.every(Boolean))
1053
1073
  throw new Error("derived() expects stores as input, got a falsy value");
1054
1074
  const o = t.length < 2;
1055
- return Un(r, (s, a) => {
1075
+ return Vn(r, (s, a) => {
1056
1076
  let l = !1;
1057
1077
  const h = [];
1058
- let u = 0, c = k;
1078
+ let u = 0, c = D;
1059
1079
  const d = () => {
1060
1080
  if (u)
1061
1081
  return;
1062
1082
  c();
1063
1083
  const m = t(n ? h[0] : h, s, a);
1064
- o ? s(m) : c = bt(m) ? m : k;
1084
+ o ? s(m) : c = gt(m) ? m : D;
1065
1085
  }, b = i.map(
1066
- (m, g) => nn(
1086
+ (m, g) => ln(
1067
1087
  m,
1068
1088
  (y) => {
1069
1089
  h[g] = y, u &= ~(1 << g), l && d();
@@ -1078,128 +1098,130 @@ function pe(e, t, r) {
1078
1098
  };
1079
1099
  });
1080
1100
  }
1081
- function Gn(e) {
1101
+ function Wn(e) {
1082
1102
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1083
1103
  }
1084
- var $n = function(t) {
1085
- return jn(t) && !Vn(t);
1104
+ var Xn = function(t) {
1105
+ return Zn(t) && !zn(t);
1086
1106
  };
1087
- function jn(e) {
1107
+ function Zn(e) {
1088
1108
  return !!e && typeof e == "object";
1089
1109
  }
1090
- function Vn(e) {
1110
+ function zn(e) {
1091
1111
  var t = Object.prototype.toString.call(e);
1092
- return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
1112
+ return t === "[object RegExp]" || t === "[object Date]" || qn(e);
1093
1113
  }
1094
- var Wn = typeof Symbol == "function" && Symbol.for, Xn = Wn ? Symbol.for("react.element") : 60103;
1095
- function Zn(e) {
1096
- return e.$$typeof === Xn;
1114
+ var Qn = typeof Symbol == "function" && Symbol.for, Yn = Qn ? Symbol.for("react.element") : 60103;
1115
+ function qn(e) {
1116
+ return e.$$typeof === Yn;
1097
1117
  }
1098
- function zn(e) {
1118
+ function Jn(e) {
1099
1119
  return Array.isArray(e) ? [] : {};
1100
1120
  }
1101
- function xe(e, t) {
1102
- return t.clone !== !1 && t.isMergeableObject(e) ? ue(zn(e), e, t) : e;
1121
+ function Se(e, t) {
1122
+ return t.clone !== !1 && t.isMergeableObject(e) ? he(Jn(e), e, t) : e;
1103
1123
  }
1104
- function Qn(e, t, r) {
1124
+ function Kn(e, t, r) {
1105
1125
  return e.concat(t).map(function(n) {
1106
- return xe(n, r);
1126
+ return Se(n, r);
1107
1127
  });
1108
1128
  }
1109
- function Yn(e, t) {
1129
+ function ei(e, t) {
1110
1130
  if (!t.customMerge)
1111
- return ue;
1131
+ return he;
1112
1132
  var r = t.customMerge(e);
1113
- return typeof r == "function" ? r : ue;
1133
+ return typeof r == "function" ? r : he;
1114
1134
  }
1115
- function qn(e) {
1135
+ function ti(e) {
1116
1136
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1117
1137
  return Object.propertyIsEnumerable.call(e, t);
1118
1138
  }) : [];
1119
1139
  }
1120
- function Bt(e) {
1121
- return Object.keys(e).concat(qn(e));
1140
+ function Ot(e) {
1141
+ return Object.keys(e).concat(ti(e));
1122
1142
  }
1123
- function br(e, t) {
1143
+ function _r(e, t) {
1124
1144
  try {
1125
1145
  return t in e;
1126
1146
  } catch {
1127
1147
  return !1;
1128
1148
  }
1129
1149
  }
1130
- function Jn(e, t) {
1131
- return br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1150
+ function ri(e, t) {
1151
+ return _r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1132
1152
  }
1133
- function Kn(e, t, r) {
1153
+ function ni(e, t, r) {
1134
1154
  var n = {};
1135
- return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
1136
- n[i] = xe(e[i], r);
1137
- }), Bt(t).forEach(function(i) {
1138
- Jn(e, i) || (br(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yn(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
1155
+ return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
1156
+ n[i] = Se(e[i], r);
1157
+ }), Ot(t).forEach(function(i) {
1158
+ ri(e, i) || (_r(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1139
1159
  }), n;
1140
1160
  }
1141
- function ue(e, t, r) {
1142
- r = r || {}, r.arrayMerge = r.arrayMerge || Qn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = xe;
1161
+ function he(e, t, r) {
1162
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Se;
1143
1163
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1144
- return o ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : xe(t, r);
1164
+ return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Se(t, r);
1145
1165
  }
1146
- ue.all = function(t, r) {
1166
+ he.all = function(t, r) {
1147
1167
  if (!Array.isArray(t))
1148
1168
  throw new Error("first argument should be an array");
1149
1169
  return t.reduce(function(n, i) {
1150
- return ue(n, i, r);
1170
+ return he(n, i, r);
1151
1171
  }, {});
1152
1172
  };
1153
- var ei = ue, ti = ei;
1154
- const ri = /* @__PURE__ */ Gn(ti);
1155
- function Ye(e, t) {
1156
- var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : oi;
1173
+ var ii = he, oi = ii;
1174
+ const si = /* @__PURE__ */ Wn(oi);
1175
+ function qe(e, t) {
1176
+ var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : li;
1157
1177
  return i(e, {
1158
1178
  cache: r,
1159
1179
  serializer: n
1160
1180
  });
1161
1181
  }
1162
- function ni(e) {
1182
+ function ai(e) {
1163
1183
  return e == null || typeof e == "number" || typeof e == "boolean";
1164
1184
  }
1165
- function ii(e, t, r, n) {
1166
- var i = ni(n) ? n : r(n), o = t.get(i);
1185
+ function Er(e, t, r, n) {
1186
+ var i = ai(n) ? n : r(n), o = t.get(i);
1167
1187
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1168
1188
  }
1169
- function gr(e, t, r) {
1189
+ function Cr(e, t, r) {
1170
1190
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1171
1191
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1172
1192
  }
1173
- function yr(e, t, r, n, i) {
1193
+ function yt(e, t, r, n, i) {
1174
1194
  return r.bind(t, e, n, i);
1175
1195
  }
1176
- function oi(e, t) {
1177
- var r = e.length === 1 ? ii : gr;
1178
- return yr(e, this, r, t.cache.create(), t.serializer);
1196
+ function li(e, t) {
1197
+ var r = e.length === 1 ? Er : Cr;
1198
+ return yt(e, this, r, t.cache.create(), t.serializer);
1199
+ }
1200
+ function ui(e, t) {
1201
+ return yt(e, this, Cr, t.cache.create(), t.serializer);
1179
1202
  }
1180
- function si(e, t) {
1181
- return yr(e, this, gr, t.cache.create(), t.serializer);
1203
+ function hi(e, t) {
1204
+ return yt(e, this, Er, t.cache.create(), t.serializer);
1182
1205
  }
1183
- var ai = function() {
1206
+ var ci = function() {
1184
1207
  return JSON.stringify(arguments);
1185
- }, li = (
1186
- /** @class */
1187
- function() {
1188
- function e() {
1189
- this.cache = /* @__PURE__ */ Object.create(null);
1190
- }
1191
- return e.prototype.get = function(t) {
1192
- return this.cache[t];
1193
- }, e.prototype.set = function(t, r) {
1194
- this.cache[t] = r;
1195
- }, e;
1196
- }()
1197
- ), ui = {
1208
+ };
1209
+ function vt() {
1210
+ this.cache = /* @__PURE__ */ Object.create(null);
1211
+ }
1212
+ vt.prototype.get = function(e) {
1213
+ return this.cache[e];
1214
+ };
1215
+ vt.prototype.set = function(e, t) {
1216
+ this.cache[e] = t;
1217
+ };
1218
+ var fi = {
1198
1219
  create: function() {
1199
- return new li();
1220
+ return new vt();
1200
1221
  }
1201
- }, qe = {
1202
- variadic: si
1222
+ }, Je = {
1223
+ variadic: ui,
1224
+ monadic: hi
1203
1225
  }, v;
1204
1226
  (function(e) {
1205
1227
  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";
@@ -1208,47 +1230,47 @@ var S;
1208
1230
  (function(e) {
1209
1231
  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";
1210
1232
  })(S || (S = {}));
1211
- var he;
1233
+ var ce;
1212
1234
  (function(e) {
1213
1235
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1214
- })(he || (he = {}));
1215
- function Mt(e) {
1236
+ })(ce || (ce = {}));
1237
+ function Lt(e) {
1216
1238
  return e.type === S.literal;
1217
1239
  }
1218
- function hi(e) {
1240
+ function di(e) {
1219
1241
  return e.type === S.argument;
1220
1242
  }
1221
- function vr(e) {
1243
+ function wr(e) {
1222
1244
  return e.type === S.number;
1223
1245
  }
1224
- function _r(e) {
1246
+ function xr(e) {
1225
1247
  return e.type === S.date;
1226
1248
  }
1227
- function Er(e) {
1249
+ function Sr(e) {
1228
1250
  return e.type === S.time;
1229
1251
  }
1230
- function Cr(e) {
1252
+ function Hr(e) {
1231
1253
  return e.type === S.select;
1232
1254
  }
1233
- function wr(e) {
1255
+ function Tr(e) {
1234
1256
  return e.type === S.plural;
1235
1257
  }
1236
- function ci(e) {
1258
+ function pi(e) {
1237
1259
  return e.type === S.pound;
1238
1260
  }
1239
- function xr(e) {
1261
+ function Ar(e) {
1240
1262
  return e.type === S.tag;
1241
1263
  }
1242
- function Sr(e) {
1243
- return !!(e && typeof e == "object" && e.type === he.number);
1264
+ function Ir(e) {
1265
+ return !!(e && typeof e == "object" && e.type === ce.number);
1244
1266
  }
1245
- function lt(e) {
1246
- return !!(e && typeof e == "object" && e.type === he.dateTime);
1267
+ function ut(e) {
1268
+ return !!(e && typeof e == "object" && e.type === ce.dateTime);
1247
1269
  }
1248
- var Hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
1249
- function di(e) {
1270
+ var Br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mi = /(?:[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;
1271
+ function bi(e) {
1250
1272
  var t = {};
1251
- return e.replace(fi, function(r) {
1273
+ return e.replace(mi, function(r) {
1252
1274
  var n = r.length;
1253
1275
  switch (r[0]) {
1254
1276
  case "G":
@@ -1337,11 +1359,11 @@ function di(e) {
1337
1359
  return "";
1338
1360
  }), t;
1339
1361
  }
1340
- var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1341
- function mi(e) {
1362
+ var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1363
+ function yi(e) {
1342
1364
  if (e.length === 0)
1343
1365
  throw new Error("Number skeleton cannot be empty");
1344
- for (var t = e.split(pi).filter(function(d) {
1366
+ for (var t = e.split(gi).filter(function(d) {
1345
1367
  return d.length > 0;
1346
1368
  }), r = [], n = 0, i = t; n < i.length; n++) {
1347
1369
  var o = i[n], s = o.split("/");
@@ -1356,17 +1378,17 @@ function mi(e) {
1356
1378
  }
1357
1379
  return r;
1358
1380
  }
1359
- function bi(e) {
1381
+ function vi(e) {
1360
1382
  return e.replace(/^(.*?)-/, "");
1361
1383
  }
1362
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ar = /^(0+)$/;
1363
- function Ot(e) {
1384
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Pr = /^(0+)$/;
1385
+ function Rt(e) {
1364
1386
  var t = {};
1365
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tr, function(r, n, i) {
1387
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mr, function(r, n, i) {
1366
1388
  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)), "";
1367
1389
  }), t;
1368
1390
  }
1369
- function Ir(e) {
1391
+ function Or(e) {
1370
1392
  switch (e) {
1371
1393
  case "sign-auto":
1372
1394
  return {
@@ -1406,7 +1428,7 @@ function Ir(e) {
1406
1428
  };
1407
1429
  }
1408
1430
  }
1409
- function yi(e) {
1431
+ function Ei(e) {
1410
1432
  var t;
1411
1433
  if (e[0] === "E" && e[1] === "E" ? (t = {
1412
1434
  notation: "engineering"
@@ -1414,17 +1436,17 @@ function yi(e) {
1414
1436
  notation: "scientific"
1415
1437
  }, e = e.slice(1)), t) {
1416
1438
  var r = e.slice(0, 2);
1417
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ar.test(e))
1439
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pr.test(e))
1418
1440
  throw new Error("Malformed concise eng/scientific notation");
1419
1441
  t.minimumIntegerDigits = e.length;
1420
1442
  }
1421
1443
  return t;
1422
1444
  }
1423
- function Lt(e) {
1424
- var t = {}, r = Ir(e);
1445
+ function Ft(e) {
1446
+ var t = {}, r = Or(e);
1425
1447
  return r || t;
1426
1448
  }
1427
- function vi(e) {
1449
+ function Ci(e) {
1428
1450
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1429
1451
  var i = n[r];
1430
1452
  switch (i.stem) {
@@ -1448,7 +1470,7 @@ function vi(e) {
1448
1470
  continue;
1449
1471
  case "measure-unit":
1450
1472
  case "unit":
1451
- t.style = "unit", t.unit = bi(i.options[0]);
1473
+ t.style = "unit", t.unit = vi(i.options[0]);
1452
1474
  continue;
1453
1475
  case "compact-short":
1454
1476
  case "K":
@@ -1460,12 +1482,12 @@ function vi(e) {
1460
1482
  continue;
1461
1483
  case "scientific":
1462
1484
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
1463
- return E(E({}, l), Lt(h));
1485
+ return E(E({}, l), Ft(h));
1464
1486
  }, {}));
1465
1487
  continue;
1466
1488
  case "engineering":
1467
1489
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
1468
- return E(E({}, l), Lt(h));
1490
+ return E(E({}, l), Ft(h));
1469
1491
  }, {}));
1470
1492
  continue;
1471
1493
  case "notation-simple":
@@ -1510,7 +1532,7 @@ function vi(e) {
1510
1532
  case "integer-width":
1511
1533
  if (i.options.length > 1)
1512
1534
  throw new RangeError("integer-width stems only accept a single optional option");
1513
- i.options[0].replace(gi, function(l, h, u, c, d, b) {
1535
+ i.options[0].replace(_i, function(l, h, u, c, d, b) {
1514
1536
  if (h)
1515
1537
  t.minimumIntegerDigits = u.length;
1516
1538
  else {
@@ -1523,27 +1545,27 @@ function vi(e) {
1523
1545
  });
1524
1546
  continue;
1525
1547
  }
1526
- if (Ar.test(i.stem)) {
1548
+ if (Pr.test(i.stem)) {
1527
1549
  t.minimumIntegerDigits = i.stem.length;
1528
1550
  continue;
1529
1551
  }
1530
- if (Pt.test(i.stem)) {
1552
+ if (Nt.test(i.stem)) {
1531
1553
  if (i.options.length > 1)
1532
1554
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1533
- i.stem.replace(Pt, function(l, h, u, c, d, b) {
1555
+ i.stem.replace(Nt, function(l, h, u, c, d, b) {
1534
1556
  return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1535
1557
  });
1536
1558
  var o = i.options[0];
1537
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ot(o)));
1559
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Rt(o)));
1538
1560
  continue;
1539
1561
  }
1540
- if (Tr.test(i.stem)) {
1541
- t = E(E({}, t), Ot(i.stem));
1562
+ if (Mr.test(i.stem)) {
1563
+ t = E(E({}, t), Rt(i.stem));
1542
1564
  continue;
1543
1565
  }
1544
- var s = Ir(i.stem);
1566
+ var s = Or(i.stem);
1545
1567
  s && (t = E(E({}, t), s));
1546
- var a = yi(i.stem);
1568
+ var a = Ei(i.stem);
1547
1569
  a && (t = E(E({}, t), a));
1548
1570
  }
1549
1571
  return t;
@@ -2963,13 +2985,13 @@ var Pe = {
2963
2985
  "h"
2964
2986
  ]
2965
2987
  };
2966
- function _i(e, t) {
2988
+ function wi(e, t) {
2967
2989
  for (var r = "", n = 0; n < e.length; n++) {
2968
2990
  var i = e.charAt(n);
2969
2991
  if (i === "j") {
2970
2992
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2971
2993
  o++, n++;
2972
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Ei(t);
2994
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = xi(t);
2973
2995
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2974
2996
  r += l;
2975
2997
  for (; s-- > 0; )
@@ -2979,7 +3001,7 @@ function _i(e, t) {
2979
3001
  }
2980
3002
  return r;
2981
3003
  }
2982
- function Ei(e) {
3004
+ function xi(e) {
2983
3005
  var t = e.hourCycle;
2984
3006
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2985
3007
  e.hourCycles && // @ts-ignore
@@ -3001,20 +3023,20 @@ function Ei(e) {
3001
3023
  var i = Pe[n || ""] || Pe[r || ""] || Pe["".concat(r, "-001")] || Pe["001"];
3002
3024
  return i[0];
3003
3025
  }
3004
- var Je, Ci = new RegExp("^".concat(Hr.source, "*")), wi = new RegExp("".concat(Hr.source, "*$"));
3026
+ var Ke, Si = new RegExp("^".concat(Br.source, "*")), Hi = new RegExp("".concat(Br.source, "*$"));
3005
3027
  function _(e, t) {
3006
3028
  return { start: e, end: t };
3007
3029
  }
3008
- var xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Si = !!String.fromCodePoint, Hi = !!Object.fromEntries, Ti = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Bi = !!Number.isSafeInteger, Mi = Bi ? Number.isSafeInteger : function(e) {
3030
+ var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Ii = !!Object.fromEntries, Bi = !!String.prototype.codePointAt, Mi = !!String.prototype.trimStart, Pi = !!String.prototype.trimEnd, Oi = !!Number.isSafeInteger, Li = Oi ? Number.isSafeInteger : function(e) {
3009
3031
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3010
- }, ut = !0;
3032
+ }, ht = !0;
3011
3033
  try {
3012
- var Pi = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3013
- ut = ((Je = Pi.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3034
+ var Ni = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3035
+ ht = ((Ke = Ni.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3014
3036
  } catch {
3015
- ut = !1;
3037
+ ht = !1;
3016
3038
  }
3017
- var Nt = xi ? (
3039
+ var kt = Ti ? (
3018
3040
  // Native
3019
3041
  function(t, r, n) {
3020
3042
  return t.startsWith(r, n);
@@ -3024,7 +3046,7 @@ var Nt = xi ? (
3024
3046
  function(t, r, n) {
3025
3047
  return t.slice(n, n + r.length) === r;
3026
3048
  }
3027
- ), ht = Si ? String.fromCodePoint : (
3049
+ ), ct = Ai ? String.fromCodePoint : (
3028
3050
  // IE11
3029
3051
  function() {
3030
3052
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3036,9 +3058,9 @@ var Nt = xi ? (
3036
3058
  }
3037
3059
  return n;
3038
3060
  }
3039
- ), Rt = (
3061
+ ), Dt = (
3040
3062
  // native
3041
- Hi ? Object.fromEntries : (
3063
+ Ii ? Object.fromEntries : (
3042
3064
  // Ponyfill
3043
3065
  function(t) {
3044
3066
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3048,7 +3070,7 @@ var Nt = xi ? (
3048
3070
  return r;
3049
3071
  }
3050
3072
  )
3051
- ), Br = Ti ? (
3073
+ ), Lr = Bi ? (
3052
3074
  // Native
3053
3075
  function(t, r) {
3054
3076
  return t.codePointAt(r);
@@ -3062,7 +3084,7 @@ var Nt = xi ? (
3062
3084
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3063
3085
  }
3064
3086
  }
3065
- ), Oi = Ai ? (
3087
+ ), Ri = Mi ? (
3066
3088
  // Native
3067
3089
  function(t) {
3068
3090
  return t.trimStart();
@@ -3070,9 +3092,9 @@ var Nt = xi ? (
3070
3092
  ) : (
3071
3093
  // Ponyfill
3072
3094
  function(t) {
3073
- return t.replace(Ci, "");
3095
+ return t.replace(Si, "");
3074
3096
  }
3075
- ), Li = Ii ? (
3097
+ ), Fi = Pi ? (
3076
3098
  // Native
3077
3099
  function(t) {
3078
3100
  return t.trimEnd();
@@ -3080,32 +3102,32 @@ var Nt = xi ? (
3080
3102
  ) : (
3081
3103
  // Ponyfill
3082
3104
  function(t) {
3083
- return t.replace(wi, "");
3105
+ return t.replace(Hi, "");
3084
3106
  }
3085
3107
  );
3086
- function Mr(e, t) {
3108
+ function Nr(e, t) {
3087
3109
  return new RegExp(e, t);
3088
3110
  }
3089
- var ct;
3090
- if (ut) {
3091
- var Ft = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3092
- ct = function(t, r) {
3111
+ var ft;
3112
+ if (ht) {
3113
+ var Ut = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
+ ft = function(t, r) {
3093
3115
  var n;
3094
- Ft.lastIndex = r;
3095
- var i = Ft.exec(t);
3116
+ Ut.lastIndex = r;
3117
+ var i = Ut.exec(t);
3096
3118
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3097
3119
  };
3098
3120
  } else
3099
- ct = function(t, r) {
3121
+ ft = function(t, r) {
3100
3122
  for (var n = []; ; ) {
3101
- var i = Br(t, r);
3102
- if (i === void 0 || Pr(i) || ki(i))
3123
+ var i = Lr(t, r);
3124
+ if (i === void 0 || Rr(i) || Gi(i))
3103
3125
  break;
3104
3126
  n.push(i), r += i >= 65536 ? 2 : 1;
3105
3127
  }
3106
- return ht.apply(void 0, n);
3128
+ return ct.apply(void 0, n);
3107
3129
  };
3108
- var Ni = (
3130
+ var ki = (
3109
3131
  /** @class */
3110
3132
  function() {
3111
3133
  function e(t, r) {
@@ -3136,7 +3158,7 @@ var Ni = (
3136
3158
  if (n)
3137
3159
  break;
3138
3160
  return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3139
- } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3161
+ } else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
3140
3162
  var s = this.parseTag(t, r);
3141
3163
  if (s.err)
3142
3164
  return s;
@@ -3169,7 +3191,7 @@ var Ni = (
3169
3191
  return o;
3170
3192
  var s = o.val, a = this.clonePosition();
3171
3193
  if (this.bumpIf("</")) {
3172
- if (this.isEOF() || !ft(this.char()))
3194
+ if (this.isEOF() || !dt(this.char()))
3173
3195
  return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
3174
3196
  var l = this.clonePosition(), h = this.parseTagName();
3175
3197
  return i !== h ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3187,7 +3209,7 @@ var Ni = (
3187
3209
  return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3188
3210
  }, e.prototype.parseTagName = function() {
3189
3211
  var t = this.offset();
3190
- for (this.bump(); !this.isEOF() && Fi(this.char()); )
3212
+ for (this.bump(); !this.isEOF() && Ui(this.char()); )
3191
3213
  this.bump();
3192
3214
  return this.message.slice(t, this.offset());
3193
3215
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3216,7 +3238,7 @@ var Ni = (
3216
3238
  };
3217
3239
  }, e.prototype.tryParseLeftAngleBracket = function() {
3218
3240
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3219
- !Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3241
+ !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
3220
3242
  }, e.prototype.tryParseQuote = function(t) {
3221
3243
  if (this.isEOF() || this.char() !== 39)
3222
3244
  return null;
@@ -3250,12 +3272,12 @@ var Ni = (
3250
3272
  r.push(n);
3251
3273
  this.bump();
3252
3274
  }
3253
- return ht.apply(void 0, r);
3275
+ return ct.apply(void 0, r);
3254
3276
  }, e.prototype.tryParseUnquoted = function(t, r) {
3255
3277
  if (this.isEOF())
3256
3278
  return null;
3257
3279
  var n = this.char();
3258
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ht(n));
3280
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ct(n));
3259
3281
  }, e.prototype.parseArgument = function(t, r) {
3260
3282
  var n = this.clonePosition();
3261
3283
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3284,7 +3306,7 @@ var Ni = (
3284
3306
  return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3285
3307
  }
3286
3308
  }, e.prototype.parseIdentifierIfPossible = function() {
3287
- var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
3309
+ var t = this.clonePosition(), r = this.offset(), n = ft(this.message, r), i = r + n.length;
3288
3310
  this.bumpTo(i);
3289
3311
  var o = this.clonePosition(), s = _(t, o);
3290
3312
  return { value: n, location: s };
@@ -3303,7 +3325,7 @@ var Ni = (
3303
3325
  var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3304
3326
  if (c.err)
3305
3327
  return c;
3306
- var d = Li(c.val);
3328
+ var d = Fi(c.val);
3307
3329
  if (d.length === 0)
3308
3330
  return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3309
3331
  var b = _(u, this.clonePosition());
@@ -3313,8 +3335,8 @@ var Ni = (
3313
3335
  if (m.err)
3314
3336
  return m;
3315
3337
  var g = _(i, this.clonePosition());
3316
- if (h && Nt(h?.style, "::", 0)) {
3317
- var y = Oi(h.style.slice(2));
3338
+ if (h && kt(h?.style, "::", 0)) {
3339
+ var y = Ri(h.style.slice(2));
3318
3340
  if (a === "number") {
3319
3341
  var c = this.parseNumberSkeletonFromString(y, h.styleLocation);
3320
3342
  return c.err ? c : {
@@ -3325,12 +3347,12 @@ var Ni = (
3325
3347
  if (y.length === 0)
3326
3348
  return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
3327
3349
  var x = y;
3328
- this.locale && (x = _i(y, this.locale));
3350
+ this.locale && (x = wi(y, this.locale));
3329
3351
  var d = {
3330
- type: he.dateTime,
3352
+ type: ce.dateTime,
3331
3353
  pattern: x,
3332
3354
  location: h.styleLocation,
3333
- parsedOptions: this.shouldParseSkeletons ? di(x) : {}
3355
+ parsedOptions: this.shouldParseSkeletons ? bi(x) : {}
3334
3356
  }, I = a === "date" ? S.date : S.time;
3335
3357
  return {
3336
3358
  val: { type: I, value: n, location: g, style: d },
@@ -3351,23 +3373,23 @@ var Ni = (
3351
3373
  case "plural":
3352
3374
  case "selectordinal":
3353
3375
  case "select": {
3354
- var L = this.clonePosition();
3376
+ var N = this.clonePosition();
3355
3377
  if (this.bumpSpace(), !this.bumpIf(","))
3356
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(L, E({}, L)));
3378
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(N, E({}, N)));
3357
3379
  this.bumpSpace();
3358
- var U = this.parseIdentifierIfPossible(), R = 0;
3359
- if (a !== "select" && U.value === "offset") {
3380
+ var $ = this.parseIdentifierIfPossible(), F = 0;
3381
+ if (a !== "select" && $.value === "offset") {
3360
3382
  if (!this.bumpIf(":"))
3361
3383
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3362
3384
  this.bumpSpace();
3363
3385
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3364
3386
  if (c.err)
3365
3387
  return c;
3366
- this.bumpSpace(), U = this.parseIdentifierIfPossible(), R = c.val;
3388
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), F = c.val;
3367
3389
  }
3368
- var G = this.tryParsePluralOrSelectOptions(t, a, r, U);
3369
- if (G.err)
3370
- return G;
3390
+ var j = this.tryParsePluralOrSelectOptions(t, a, r, $);
3391
+ if (j.err)
3392
+ return j;
3371
3393
  var m = this.tryParseArgumentClose(i);
3372
3394
  if (m.err)
3373
3395
  return m;
@@ -3376,7 +3398,7 @@ var Ni = (
3376
3398
  val: {
3377
3399
  type: S.select,
3378
3400
  value: n,
3379
- options: Rt(G.val),
3401
+ options: Dt(j.val),
3380
3402
  location: T
3381
3403
  },
3382
3404
  err: null
@@ -3384,8 +3406,8 @@ var Ni = (
3384
3406
  val: {
3385
3407
  type: S.plural,
3386
3408
  value: n,
3387
- options: Rt(G.val),
3388
- offset: R,
3409
+ options: Dt(j.val),
3410
+ offset: F,
3389
3411
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3390
3412
  location: T
3391
3413
  },
@@ -3435,16 +3457,16 @@ var Ni = (
3435
3457
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3436
3458
  var n = [];
3437
3459
  try {
3438
- n = mi(t);
3460
+ n = yi(t);
3439
3461
  } catch {
3440
3462
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3441
3463
  }
3442
3464
  return {
3443
3465
  val: {
3444
- type: he.number,
3466
+ type: ce.number,
3445
3467
  tokens: n,
3446
3468
  location: r,
3447
- parsedOptions: this.shouldParseSkeletons ? vi(n) : {}
3469
+ parsedOptions: this.shouldParseSkeletons ? Ci(n) : {}
3448
3470
  },
3449
3471
  err: null
3450
3472
  };
@@ -3492,7 +3514,7 @@ var Ni = (
3492
3514
  break;
3493
3515
  }
3494
3516
  var l = _(i, this.clonePosition());
3495
- return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3517
+ return o ? (s *= n, Li(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3496
3518
  }, e.prototype.offset = function() {
3497
3519
  return this.position.offset;
3498
3520
  }, e.prototype.isEOF = function() {
@@ -3507,7 +3529,7 @@ var Ni = (
3507
3529
  var t = this.position.offset;
3508
3530
  if (t >= this.message.length)
3509
3531
  throw Error("out of bound");
3510
- var r = Br(this.message, t);
3532
+ var r = Lr(this.message, t);
3511
3533
  if (r === void 0)
3512
3534
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3513
3535
  return r;
@@ -3526,7 +3548,7 @@ var Ni = (
3526
3548
  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);
3527
3549
  }
3528
3550
  }, e.prototype.bumpIf = function(t) {
3529
- if (Nt(this.message, t, this.offset())) {
3551
+ if (kt(this.message, t, this.offset())) {
3530
3552
  for (var r = 0; r < t.length; r++)
3531
3553
  this.bump();
3532
3554
  return !0;
@@ -3548,7 +3570,7 @@ var Ni = (
3548
3570
  break;
3549
3571
  }
3550
3572
  }, e.prototype.bumpSpace = function() {
3551
- for (; !this.isEOF() && Pr(this.char()); )
3573
+ for (; !this.isEOF() && Rr(this.char()); )
3552
3574
  this.bump();
3553
3575
  }, e.prototype.peek = function() {
3554
3576
  if (this.isEOF())
@@ -3558,43 +3580,43 @@ var Ni = (
3558
3580
  }, e;
3559
3581
  }()
3560
3582
  );
3561
- function ft(e) {
3583
+ function dt(e) {
3562
3584
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3563
3585
  }
3564
- function Ri(e) {
3565
- return ft(e) || e === 47;
3586
+ function Di(e) {
3587
+ return dt(e) || e === 47;
3566
3588
  }
3567
- function Fi(e) {
3589
+ function Ui(e) {
3568
3590
  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;
3569
3591
  }
3570
- function Pr(e) {
3592
+ function Rr(e) {
3571
3593
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3572
3594
  }
3573
- function ki(e) {
3595
+ function Gi(e) {
3574
3596
  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;
3575
3597
  }
3576
- function dt(e) {
3598
+ function pt(e) {
3577
3599
  e.forEach(function(t) {
3578
- if (delete t.location, Cr(t) || wr(t))
3600
+ if (delete t.location, Hr(t) || Tr(t))
3579
3601
  for (var r in t.options)
3580
- delete t.options[r].location, dt(t.options[r].value);
3602
+ delete t.options[r].location, pt(t.options[r].value);
3581
3603
  else
3582
- vr(t) && Sr(t.style) || (_r(t) || Er(t)) && lt(t.style) ? delete t.style.location : xr(t) && dt(t.children);
3604
+ wr(t) && Ir(t.style) || (xr(t) || Sr(t)) && ut(t.style) ? delete t.style.location : Ar(t) && pt(t.children);
3583
3605
  });
3584
3606
  }
3585
- function Di(e, t) {
3607
+ function $i(e, t) {
3586
3608
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3587
- var r = new Ni(e, t).parse();
3609
+ var r = new ki(e, t).parse();
3588
3610
  if (r.err) {
3589
3611
  var n = SyntaxError(v[r.err.kind]);
3590
3612
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3591
3613
  }
3592
- return t?.captureLocation || dt(r.val), r.val;
3614
+ return t?.captureLocation || pt(r.val), r.val;
3593
3615
  }
3594
- var ce;
3616
+ var fe;
3595
3617
  (function(e) {
3596
3618
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3597
- })(ce || (ce = {}));
3619
+ })(fe || (fe = {}));
3598
3620
  var $e = (
3599
3621
  /** @class */
3600
3622
  function(e) {
@@ -3607,155 +3629,155 @@ var $e = (
3607
3629
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3608
3630
  }, t;
3609
3631
  }(Error)
3610
- ), kt = (
3632
+ ), Gt = (
3611
3633
  /** @class */
3612
3634
  function(e) {
3613
3635
  Q(t, e);
3614
3636
  function t(r, n, i, o) {
3615
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3637
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3616
3638
  }
3617
3639
  return t;
3618
3640
  }($e)
3619
- ), Ui = (
3641
+ ), ji = (
3620
3642
  /** @class */
3621
3643
  function(e) {
3622
3644
  Q(t, e);
3623
3645
  function t(r, n, i) {
3624
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3646
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3625
3647
  }
3626
3648
  return t;
3627
3649
  }($e)
3628
- ), Gi = (
3650
+ ), Vi = (
3629
3651
  /** @class */
3630
3652
  function(e) {
3631
3653
  Q(t, e);
3632
3654
  function t(r, n) {
3633
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3655
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3634
3656
  }
3635
3657
  return t;
3636
3658
  }($e)
3637
- ), N;
3659
+ ), R;
3638
3660
  (function(e) {
3639
3661
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3640
- })(N || (N = {}));
3641
- function $i(e) {
3662
+ })(R || (R = {}));
3663
+ function Wi(e) {
3642
3664
  return e.length < 2 ? e : e.reduce(function(t, r) {
3643
3665
  var n = t[t.length - 1];
3644
- return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
3666
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3645
3667
  }, []);
3646
3668
  }
3647
- function ji(e) {
3669
+ function Xi(e) {
3648
3670
  return typeof e == "function";
3649
3671
  }
3650
3672
  function Ne(e, t, r, n, i, o, s) {
3651
- if (e.length === 1 && Mt(e[0]))
3673
+ if (e.length === 1 && Lt(e[0]))
3652
3674
  return [
3653
3675
  {
3654
- type: N.literal,
3676
+ type: R.literal,
3655
3677
  value: e[0].value
3656
3678
  }
3657
3679
  ];
3658
3680
  for (var a = [], l = 0, h = e; l < h.length; l++) {
3659
3681
  var u = h[l];
3660
- if (Mt(u)) {
3682
+ if (Lt(u)) {
3661
3683
  a.push({
3662
- type: N.literal,
3684
+ type: R.literal,
3663
3685
  value: u.value
3664
3686
  });
3665
3687
  continue;
3666
3688
  }
3667
- if (ci(u)) {
3689
+ if (pi(u)) {
3668
3690
  typeof o == "number" && a.push({
3669
- type: N.literal,
3691
+ type: R.literal,
3670
3692
  value: r.getNumberFormat(t).format(o)
3671
3693
  });
3672
3694
  continue;
3673
3695
  }
3674
3696
  var c = u.value;
3675
3697
  if (!(i && c in i))
3676
- throw new Gi(c, s);
3698
+ throw new Vi(c, s);
3677
3699
  var d = i[c];
3678
- if (hi(u)) {
3700
+ if (di(u)) {
3679
3701
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3680
- type: typeof d == "string" ? N.literal : N.object,
3702
+ type: typeof d == "string" ? R.literal : R.object,
3681
3703
  value: d
3682
3704
  });
3683
3705
  continue;
3684
3706
  }
3685
- if (_r(u)) {
3686
- var b = typeof u.style == "string" ? n.date[u.style] : lt(u.style) ? u.style.parsedOptions : void 0;
3707
+ if (xr(u)) {
3708
+ var b = typeof u.style == "string" ? n.date[u.style] : ut(u.style) ? u.style.parsedOptions : void 0;
3687
3709
  a.push({
3688
- type: N.literal,
3710
+ type: R.literal,
3689
3711
  value: r.getDateTimeFormat(t, b).format(d)
3690
3712
  });
3691
3713
  continue;
3692
3714
  }
3693
- if (Er(u)) {
3694
- var b = typeof u.style == "string" ? n.time[u.style] : lt(u.style) ? u.style.parsedOptions : n.time.medium;
3715
+ if (Sr(u)) {
3716
+ var b = typeof u.style == "string" ? n.time[u.style] : ut(u.style) ? u.style.parsedOptions : n.time.medium;
3695
3717
  a.push({
3696
- type: N.literal,
3718
+ type: R.literal,
3697
3719
  value: r.getDateTimeFormat(t, b).format(d)
3698
3720
  });
3699
3721
  continue;
3700
3722
  }
3701
- if (vr(u)) {
3702
- var b = typeof u.style == "string" ? n.number[u.style] : Sr(u.style) ? u.style.parsedOptions : void 0;
3723
+ if (wr(u)) {
3724
+ var b = typeof u.style == "string" ? n.number[u.style] : Ir(u.style) ? u.style.parsedOptions : void 0;
3703
3725
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3704
- type: N.literal,
3726
+ type: R.literal,
3705
3727
  value: r.getNumberFormat(t, b).format(d)
3706
3728
  });
3707
3729
  continue;
3708
3730
  }
3709
- if (xr(u)) {
3731
+ if (Ar(u)) {
3710
3732
  var m = u.children, g = u.value, y = i[g];
3711
- if (!ji(y))
3712
- throw new Ui(g, "function", s);
3713
- var x = Ne(m, t, r, n, i, o), I = y(x.map(function(R) {
3714
- return R.value;
3733
+ if (!Xi(y))
3734
+ throw new ji(g, "function", s);
3735
+ var x = Ne(m, t, r, n, i, o), I = y(x.map(function(F) {
3736
+ return F.value;
3715
3737
  }));
3716
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(R) {
3738
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(F) {
3717
3739
  return {
3718
- type: typeof R == "string" ? N.literal : N.object,
3719
- value: R
3740
+ type: typeof F == "string" ? R.literal : R.object,
3741
+ value: F
3720
3742
  };
3721
3743
  }));
3722
3744
  }
3723
- if (Cr(u)) {
3724
- var L = u.options[d] || u.options.other;
3725
- if (!L)
3726
- throw new kt(u.value, d, Object.keys(u.options), s);
3727
- a.push.apply(a, Ne(L.value, t, r, n, i));
3745
+ if (Hr(u)) {
3746
+ var N = u.options[d] || u.options.other;
3747
+ if (!N)
3748
+ throw new Gt(u.value, d, Object.keys(u.options), s);
3749
+ a.push.apply(a, Ne(N.value, t, r, n, i));
3728
3750
  continue;
3729
3751
  }
3730
- if (wr(u)) {
3731
- var L = u.options["=".concat(d)];
3732
- if (!L) {
3752
+ if (Tr(u)) {
3753
+ var N = u.options["=".concat(d)];
3754
+ if (!N) {
3733
3755
  if (!Intl.PluralRules)
3734
3756
  throw new $e(`Intl.PluralRules is not available in this environment.
3735
3757
  Try polyfilling it using "@formatjs/intl-pluralrules"
3736
- `, ce.MISSING_INTL_API, s);
3737
- var U = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3738
- L = u.options[U] || u.options.other;
3758
+ `, fe.MISSING_INTL_API, s);
3759
+ var $ = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3760
+ N = u.options[$] || u.options.other;
3739
3761
  }
3740
- if (!L)
3741
- throw new kt(u.value, d, Object.keys(u.options), s);
3742
- a.push.apply(a, Ne(L.value, t, r, n, i, d - (u.offset || 0)));
3762
+ if (!N)
3763
+ throw new Gt(u.value, d, Object.keys(u.options), s);
3764
+ a.push.apply(a, Ne(N.value, t, r, n, i, d - (u.offset || 0)));
3743
3765
  continue;
3744
3766
  }
3745
3767
  }
3746
- return $i(a);
3768
+ return Wi(a);
3747
3769
  }
3748
- function Vi(e, t) {
3770
+ function Zi(e, t) {
3749
3771
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3750
3772
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3751
3773
  }, {})) : e;
3752
3774
  }
3753
- function Wi(e, t) {
3775
+ function zi(e, t) {
3754
3776
  return t ? Object.keys(e).reduce(function(r, n) {
3755
- return r[n] = Vi(e[n], t[n]), r;
3777
+ return r[n] = Zi(e[n], t[n]), r;
3756
3778
  }, E({}, e)) : e;
3757
3779
  }
3758
- function Ke(e) {
3780
+ function et(e) {
3759
3781
  return {
3760
3782
  create: function() {
3761
3783
  return {
@@ -3769,39 +3791,39 @@ function Ke(e) {
3769
3791
  }
3770
3792
  };
3771
3793
  }
3772
- function Xi(e) {
3794
+ function Qi(e) {
3773
3795
  return e === void 0 && (e = {
3774
3796
  number: {},
3775
3797
  dateTime: {},
3776
3798
  pluralRules: {}
3777
3799
  }), {
3778
- getNumberFormat: Ye(function() {
3800
+ getNumberFormat: qe(function() {
3779
3801
  for (var t, r = [], n = 0; n < arguments.length; n++)
3780
3802
  r[n] = arguments[n];
3781
- return new ((t = Intl.NumberFormat).bind.apply(t, ae([void 0], r, !1)))();
3803
+ return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], r, !1)))();
3782
3804
  }, {
3783
- cache: Ke(e.number),
3784
- strategy: qe.variadic
3805
+ cache: et(e.number),
3806
+ strategy: Je.variadic
3785
3807
  }),
3786
- getDateTimeFormat: Ye(function() {
3808
+ getDateTimeFormat: qe(function() {
3787
3809
  for (var t, r = [], n = 0; n < arguments.length; n++)
3788
3810
  r[n] = arguments[n];
3789
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ae([void 0], r, !1)))();
3811
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], r, !1)))();
3790
3812
  }, {
3791
- cache: Ke(e.dateTime),
3792
- strategy: qe.variadic
3813
+ cache: et(e.dateTime),
3814
+ strategy: Je.variadic
3793
3815
  }),
3794
- getPluralRules: Ye(function() {
3816
+ getPluralRules: qe(function() {
3795
3817
  for (var t, r = [], n = 0; n < arguments.length; n++)
3796
3818
  r[n] = arguments[n];
3797
- return new ((t = Intl.PluralRules).bind.apply(t, ae([void 0], r, !1)))();
3819
+ return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], r, !1)))();
3798
3820
  }, {
3799
- cache: Ke(e.pluralRules),
3800
- strategy: qe.variadic
3821
+ cache: et(e.pluralRules),
3822
+ strategy: Je.variadic
3801
3823
  })
3802
3824
  };
3803
3825
  }
3804
- var Zi = (
3826
+ var Yi = (
3805
3827
  /** @class */
3806
3828
  function() {
3807
3829
  function e(t, r, n, i) {
@@ -3816,7 +3838,7 @@ var Zi = (
3816
3838
  if (h.length === 1)
3817
3839
  return h[0].value;
3818
3840
  var u = h.reduce(function(c, d) {
3819
- return !c.length || d.type !== N.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
3841
+ return !c.length || d.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
3820
3842
  }, []);
3821
3843
  return u.length <= 1 ? u[0] || "" : u;
3822
3844
  }, this.formatToParts = function(l) {
@@ -3833,13 +3855,13 @@ var Zi = (
3833
3855
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3834
3856
  var s = i || {};
3835
3857
  s.formatters;
3836
- var a = Sn(s, ["formatters"]);
3858
+ var a = In(s, ["formatters"]);
3837
3859
  this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3838
3860
  } else
3839
3861
  this.ast = t;
3840
3862
  if (!Array.isArray(this.ast))
3841
3863
  throw new TypeError("A message must be provided as a String or AST.");
3842
- this.formats = Wi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
3864
+ this.formats = zi(e.formats, n), this.formatters = i && i.formatters || Qi(this.formatterCache);
3843
3865
  }
3844
3866
  return Object.defineProperty(e, "defaultLocale", {
3845
3867
  get: function() {
@@ -3852,7 +3874,7 @@ var Zi = (
3852
3874
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3853
3875
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3854
3876
  }
3855
- }, e.__parse = Di, e.formats = {
3877
+ }, e.__parse = $i, e.formats = {
3856
3878
  number: {
3857
3879
  integer: {
3858
3880
  maximumFractionDigits: 0
@@ -3913,7 +3935,7 @@ var Zi = (
3913
3935
  }, e;
3914
3936
  }()
3915
3937
  );
3916
- function zi(e, t) {
3938
+ function qi(e, t) {
3917
3939
  if (t == null)
3918
3940
  return;
3919
3941
  if (t in e)
@@ -3934,92 +3956,92 @@ function zi(e, t) {
3934
3956
  n = void 0;
3935
3957
  return n;
3936
3958
  }
3937
- const J = {}, Qi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Or = (e, t) => {
3959
+ const J = {}, Ji = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Fr = (e, t) => {
3938
3960
  if (t == null)
3939
3961
  return;
3940
3962
  if (t in J && e in J[t])
3941
3963
  return J[t][e];
3942
3964
  const r = je(t);
3943
3965
  for (let n = 0; n < r.length; n++) {
3944
- const i = r[n], o = qi(i, e);
3966
+ const i = r[n], o = eo(i, e);
3945
3967
  if (o)
3946
- return Qi(e, t, o);
3968
+ return Ji(e, t, o);
3947
3969
  }
3948
3970
  };
3949
- let gt;
3950
- const me = Ge({});
3951
- function Yi(e) {
3952
- return gt[e] || null;
3971
+ let _t;
3972
+ const be = Ge({});
3973
+ function Ki(e) {
3974
+ return _t[e] || null;
3953
3975
  }
3954
- function Lr(e) {
3955
- return e in gt;
3976
+ function kr(e) {
3977
+ return e in _t;
3956
3978
  }
3957
- function qi(e, t) {
3958
- if (!Lr(e))
3979
+ function eo(e, t) {
3980
+ if (!kr(e))
3959
3981
  return null;
3960
- const r = Yi(e);
3961
- return zi(r, t);
3982
+ const r = Ki(e);
3983
+ return qi(r, t);
3962
3984
  }
3963
- function Ji(e) {
3985
+ function to(e) {
3964
3986
  if (e == null)
3965
3987
  return;
3966
3988
  const t = je(e);
3967
3989
  for (let r = 0; r < t.length; r++) {
3968
3990
  const n = t[r];
3969
- if (Lr(n))
3991
+ if (kr(n))
3970
3992
  return n;
3971
3993
  }
3972
3994
  }
3973
- function Nr(e, ...t) {
3974
- delete J[e], me.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
3995
+ function Dr(e, ...t) {
3996
+ delete J[e], be.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3975
3997
  }
3976
- pe(
3977
- [me],
3998
+ me(
3999
+ [be],
3978
4000
  ([e]) => Object.keys(e)
3979
4001
  );
3980
- me.subscribe((e) => gt = e);
4002
+ be.subscribe((e) => _t = e);
3981
4003
  const Re = {};
3982
- function Ki(e, t) {
4004
+ function ro(e, t) {
3983
4005
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
3984
4006
  }
3985
- function Rr(e) {
4007
+ function Ur(e) {
3986
4008
  return Re[e];
3987
4009
  }
3988
- function eo(e) {
4010
+ function no(e) {
3989
4011
  return je(e).map((t) => {
3990
- const r = Rr(t);
4012
+ const r = Ur(t);
3991
4013
  return [t, r ? [...r] : []];
3992
4014
  }).filter(([, t]) => t.length > 0);
3993
4015
  }
3994
- function pt(e) {
4016
+ function mt(e) {
3995
4017
  return e == null ? !1 : je(e).some(
3996
4018
  (t) => {
3997
4019
  var r;
3998
- return (r = Rr(t)) == null ? void 0 : r.size;
4020
+ return (r = Ur(t)) == null ? void 0 : r.size;
3999
4021
  }
4000
4022
  );
4001
4023
  }
4002
- function to(e, t) {
4024
+ function io(e, t) {
4003
4025
  return Promise.all(
4004
- t.map((n) => (Ki(e, n), n().then((i) => i.default || i)))
4005
- ).then((n) => Nr(e, ...n));
4006
- }
4007
- const _e = {};
4008
- function Fr(e) {
4009
- if (!pt(e))
4010
- return e in _e ? _e[e] : Promise.resolve();
4011
- const t = eo(e);
4012
- return _e[e] = Promise.all(
4026
+ t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
4027
+ ).then((n) => Dr(e, ...n));
4028
+ }
4029
+ const Ee = {};
4030
+ function Gr(e) {
4031
+ if (!mt(e))
4032
+ return e in Ee ? Ee[e] : Promise.resolve();
4033
+ const t = no(e);
4034
+ return Ee[e] = Promise.all(
4013
4035
  t.map(
4014
- ([r, n]) => to(r, n)
4036
+ ([r, n]) => io(r, n)
4015
4037
  )
4016
4038
  ).then(() => {
4017
- if (pt(e))
4018
- return Fr(e);
4019
- delete _e[e];
4020
- }), _e[e];
4039
+ if (mt(e))
4040
+ return Gr(e);
4041
+ delete Ee[e];
4042
+ }), Ee[e];
4021
4043
  }
4022
- const ro = {
4044
+ const oo = {
4023
4045
  number: {
4024
4046
  scientific: { notation: "scientific" },
4025
4047
  engineering: { notation: "engineering" },
@@ -4048,57 +4070,57 @@ const ro = {
4048
4070
  timeZoneName: "short"
4049
4071
  }
4050
4072
  }
4051
- }, no = {
4073
+ }, so = {
4052
4074
  fallbackLocale: null,
4053
4075
  loadingDelay: 200,
4054
- formats: ro,
4076
+ formats: oo,
4055
4077
  warnOnMissingMessages: !0,
4056
4078
  handleMissingMessage: void 0,
4057
4079
  ignoreTag: !0
4058
- }, io = no;
4059
- function fe() {
4060
- return io;
4080
+ }, ao = so;
4081
+ function de() {
4082
+ return ao;
4061
4083
  }
4062
- const et = Ge(!1);
4063
- var oo = Object.defineProperty, so = Object.defineProperties, ao = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, uo = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ho = (e, t) => {
4084
+ const tt = Ge(!1);
4085
+ var lo = Object.defineProperty, uo = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, co = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
4064
4086
  for (var r in t || (t = {}))
4065
- lo.call(t, r) && Ut(e, r, t[r]);
4066
- if (Dt)
4067
- for (var r of Dt(t))
4068
- uo.call(t, r) && Ut(e, r, t[r]);
4087
+ co.call(t, r) && jt(e, r, t[r]);
4088
+ if ($t)
4089
+ for (var r of $t(t))
4090
+ fo.call(t, r) && jt(e, r, t[r]);
4069
4091
  return e;
4070
- }, co = (e, t) => so(e, ao(t));
4071
- let mt;
4092
+ }, mo = (e, t) => uo(e, ho(t));
4093
+ let bt;
4072
4094
  const ke = Ge(null);
4073
- function Gt(e) {
4095
+ function Vt(e) {
4074
4096
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4075
4097
  }
4076
- function je(e, t = fe().fallbackLocale) {
4077
- const r = Gt(e);
4078
- return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4098
+ function je(e, t = de().fallbackLocale) {
4099
+ const r = Vt(e);
4100
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
4079
4101
  }
4080
4102
  function re() {
4081
- return mt ?? void 0;
4103
+ return bt ?? void 0;
4082
4104
  }
4083
4105
  ke.subscribe((e) => {
4084
- mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4106
+ bt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4085
4107
  });
4086
- const fo = (e) => {
4087
- if (e && Ji(e) && pt(e)) {
4088
- const { loadingDelay: t } = fe();
4108
+ const bo = (e) => {
4109
+ if (e && to(e) && mt(e)) {
4110
+ const { loadingDelay: t } = de();
4089
4111
  let r;
4090
4112
  return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4091
- () => et.set(!0),
4113
+ () => tt.set(!0),
4092
4114
  t
4093
- ) : et.set(!0), Fr(e).then(() => {
4115
+ ) : tt.set(!0), Gr(e).then(() => {
4094
4116
  ke.set(e);
4095
4117
  }).finally(() => {
4096
- clearTimeout(r), et.set(!1);
4118
+ clearTimeout(r), tt.set(!1);
4097
4119
  });
4098
4120
  }
4099
4121
  return ke.set(e);
4100
- }, K = co(ho({}, ke), {
4101
- set: fo
4122
+ }, K = mo(po({}, ke), {
4123
+ set: bo
4102
4124
  }), Ve = (e) => {
4103
4125
  const t = /* @__PURE__ */ Object.create(null);
4104
4126
  return (n) => {
@@ -4106,77 +4128,77 @@ const fo = (e) => {
4106
4128
  return i in t ? t[i] : t[i] = e(n);
4107
4129
  };
4108
4130
  };
4109
- var po = Object.defineProperty, De = Object.getOwnPropertySymbols, kr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
4131
+ var go = Object.defineProperty, De = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
4110
4132
  for (var r in t || (t = {}))
4111
- kr.call(t, r) && $t(e, r, t[r]);
4133
+ $r.call(t, r) && Wt(e, r, t[r]);
4112
4134
  if (De)
4113
4135
  for (var r of De(t))
4114
- Dr.call(t, r) && $t(e, r, t[r]);
4136
+ jr.call(t, r) && Wt(e, r, t[r]);
4115
4137
  return e;
4116
- }, be = (e, t) => {
4138
+ }, ge = (e, t) => {
4117
4139
  var r = {};
4118
4140
  for (var n in e)
4119
- kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
+ $r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4120
4142
  if (e != null && De)
4121
4143
  for (var n of De(e))
4122
- t.indexOf(n) < 0 && Dr.call(e, n) && (r[n] = e[n]);
4144
+ t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
4123
4145
  return r;
4124
4146
  };
4125
- const Se = (e, t) => {
4126
- const { formats: r } = fe();
4147
+ const He = (e, t) => {
4148
+ const { formats: r } = de();
4127
4149
  if (e in r && t in r[e])
4128
4150
  return r[e][t];
4129
4151
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4130
- }, mo = Ve(
4152
+ }, yo = Ve(
4131
4153
  (e) => {
4132
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4154
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4133
4155
  if (r == null)
4134
4156
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4135
- return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4157
+ return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4136
4158
  }
4137
- ), bo = Ve(
4159
+ ), vo = Ve(
4138
4160
  (e) => {
4139
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4161
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4140
4162
  if (r == null)
4141
4163
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4142
- return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4164
+ return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4143
4165
  }
4144
- ), go = Ve(
4166
+ ), _o = Ve(
4145
4167
  (e) => {
4146
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4168
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4147
4169
  if (r == null)
4148
4170
  throw new Error(
4149
4171
  '[svelte-i18n] A "locale" must be set to format time values'
4150
4172
  );
4151
- return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4173
+ return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4152
4174
  }
4153
- ), yo = (e = {}) => {
4175
+ ), Eo = (e = {}) => {
4154
4176
  var t = e, {
4155
4177
  locale: r = re()
4156
- } = t, n = be(t, [
4178
+ } = t, n = ge(t, [
4157
4179
  "locale"
4158
4180
  ]);
4159
- return mo(yt({ locale: r }, n));
4160
- }, vo = (e = {}) => {
4181
+ return yo(Et({ locale: r }, n));
4182
+ }, Co = (e = {}) => {
4161
4183
  var t = e, {
4162
4184
  locale: r = re()
4163
- } = t, n = be(t, [
4185
+ } = t, n = ge(t, [
4164
4186
  "locale"
4165
4187
  ]);
4166
- return bo(yt({ locale: r }, n));
4167
- }, _o = (e = {}) => {
4188
+ return vo(Et({ locale: r }, n));
4189
+ }, wo = (e = {}) => {
4168
4190
  var t = e, {
4169
4191
  locale: r = re()
4170
- } = t, n = be(t, [
4192
+ } = t, n = ge(t, [
4171
4193
  "locale"
4172
4194
  ]);
4173
- return go(yt({ locale: r }, n));
4174
- }, Eo = Ve(
4195
+ return _o(Et({ locale: r }, n));
4196
+ }, xo = Ve(
4175
4197
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4176
- (e, t = re()) => new Zi(e, t, fe().formats, {
4177
- ignoreTag: fe().ignoreTag
4198
+ (e, t = re()) => new Yi(e, t, de().formats, {
4199
+ ignoreTag: de().ignoreTag
4178
4200
  })
4179
- ), Co = (e, t = {}) => {
4201
+ ), So = (e, t = {}) => {
4180
4202
  var r, n, i, o;
4181
4203
  let s = t;
4182
4204
  typeof e == "object" && (s = e, e = s.id);
@@ -4189,9 +4211,9 @@ const Se = (e, t) => {
4189
4211
  throw new Error(
4190
4212
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4191
4213
  );
4192
- let u = Or(e, l);
4214
+ let u = Fr(e, l);
4193
4215
  if (!u)
4194
- u = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4216
+ u = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4195
4217
  else if (typeof u != "string")
4196
4218
  return console.warn(
4197
4219
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4200,7 +4222,7 @@ const Se = (e, t) => {
4200
4222
  return u;
4201
4223
  let c = u;
4202
4224
  try {
4203
- c = Eo(u, l).format(a);
4225
+ c = xo(u, l).format(a);
4204
4226
  } catch (d) {
4205
4227
  d instanceof Error && console.warn(
4206
4228
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4208,21 +4230,21 @@ const Se = (e, t) => {
4208
4230
  );
4209
4231
  }
4210
4232
  return c;
4211
- }, wo = (e, t) => _o(t).format(e), xo = (e, t) => vo(t).format(e), So = (e, t) => yo(t).format(e), Ho = (e, t = re()) => Or(e, t);
4212
- pe([K, me], () => Co);
4213
- pe([K], () => wo);
4214
- pe([K], () => xo);
4215
- pe([K], () => So);
4216
- pe([K, me], () => Ho);
4217
- window.emWidgets = { topic: Dn };
4218
- const To = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4219
- function Ao(e, t) {
4233
+ }, Ho = (e, t) => wo(t).format(e), To = (e, t) => Co(t).format(e), Ao = (e, t) => Eo(t).format(e), Io = (e, t = re()) => Fr(e, t);
4234
+ me([K, be], () => So);
4235
+ me([K], () => Ho);
4236
+ me([K], () => To);
4237
+ me([K], () => Ao);
4238
+ me([K, be], () => Io);
4239
+ window.emWidgets = { topic: jn };
4240
+ const Bo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4241
+ function Mo(e, t) {
4220
4242
  if (e) {
4221
4243
  const r = document.createElement("style");
4222
4244
  r.innerHTML = t, e.appendChild(r);
4223
4245
  }
4224
4246
  }
4225
- function Io(e, t) {
4247
+ function Po(e, t) {
4226
4248
  const r = new URL(t);
4227
4249
  fetch(r.href).then((n) => n.text()).then((n) => {
4228
4250
  const i = document.createElement("style");
@@ -4231,7 +4253,7 @@ function Io(e, t) {
4231
4253
  console.error("There was an error while trying to load client styling from URL", n);
4232
4254
  });
4233
4255
  }
4234
- function Bo(e, t, r) {
4256
+ function Oo(e, t, r) {
4235
4257
  if (window.emMessageBus) {
4236
4258
  const n = document.createElement("style");
4237
4259
  window.emMessageBus.subscribe(t, (i) => {
@@ -4239,18 +4261,18 @@ function Bo(e, t, r) {
4239
4261
  });
4240
4262
  }
4241
4263
  }
4242
- function Mo({ withLocale: e, translations: t }) {
4264
+ function Lo({ withLocale: e, translations: t }) {
4243
4265
  K.subscribe((r) => {
4244
- r == null && (me.set(t), K.set(e));
4266
+ r == null && (be.set(t), K.set(e));
4245
4267
  });
4246
4268
  }
4247
- function jt(e, t) {
4248
- Nr(e, t);
4269
+ function Xt(e, t) {
4270
+ Dr(e, t);
4249
4271
  }
4250
- function Po(e) {
4272
+ function No(e) {
4251
4273
  K.set(e);
4252
4274
  }
4253
- const Vt = {
4275
+ const Zt = {
4254
4276
  en: {
4255
4277
  login: "Login",
4256
4278
  register: "Register",
@@ -4307,23 +4329,23 @@ const Vt = {
4307
4329
  deposit: "Deposit"
4308
4330
  }
4309
4331
  };
4310
- function Oo(e) {
4311
- on(e, "svelte-12smsyp", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CarouselWrapper{background:var(--emw--color-primary, #194127);background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));border-radius:var(--emw--border-radius-medium, 20px);max-width:1300px;margin:0 auto}.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;list-style:none;padding:0;margin:0}.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;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus-within button{border-bottom:2px solid #23B04E;position:relative}.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}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;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{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{margin-right:5px;position:relative;top:5px;max-height:25px}.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;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:50%;padding:3px;width:20px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:11px}.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:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D))}.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 span,.CarouselContainer .SubDropDown.active span{color:var(--emw--categories-contrast, var(--emw--color-contrast, #23B04E))}.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}.CarouselWrapperMobile{margin:0 10px;border-radius:20px;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static}.CarouselWrapperMobile .CategoryIconContainer{height:25px}');
4332
+ function Ro(e) {
4333
+ un(e, "svelte-1n5xxlo", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127);background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));border-radius:var(--emw--border-radius-medium, 20px);max-width:1300px;margin:0 auto}.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;list-style:none;padding:0;margin:0}.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;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus-within button{border-bottom:2px solid #23B04E;position:relative}.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}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;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{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{margin-right:5px;position:relative;top:5px;max-height:25px}.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;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:50%;padding:3px;width:20px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:11px}.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:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D))}.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 span,.CarouselContainer .SubDropDown.active span{color:var(--emw--categories-contrast, var(--emw--color-contrast, #23B04E))}.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}.CarouselWrapperMobile{margin:0 10px;border-radius:20px;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static}.CarouselWrapperMobile .CategoryIconContainer{height:25px}');
4312
4334
  }
4313
- function Wt(e, t, r) {
4335
+ function zt(e, t, r) {
4314
4336
  const n = e.slice();
4315
4337
  return n[53] = t[r], n[55] = r, n;
4316
4338
  }
4317
- function Xt(e, t, r) {
4339
+ function Qt(e, t, r) {
4318
4340
  const n = e.slice();
4319
4341
  return n[56] = t[r], n;
4320
4342
  }
4321
- function Zt(e, t, r) {
4343
+ function Yt(e, t, r) {
4322
4344
  const n = e.slice();
4323
4345
  return n[59] = t[r], n[61] = r, n;
4324
4346
  }
4325
- function zt(e) {
4326
- let t = [], r = /* @__PURE__ */ new Map(), n, i = le(
4347
+ function qt(e) {
4348
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ue(
4327
4349
  /*sliderdata*/
4328
4350
  e[9]
4329
4351
  );
@@ -4332,8 +4354,8 @@ function zt(e) {
4332
4354
  s[53].id
4333
4355
  );
4334
4356
  for (let s = 0; s < i.length; s += 1) {
4335
- let a = Wt(e, i, s), l = o(a);
4336
- r.set(l, t[s] = nr(l, a));
4357
+ let a = zt(e, i, s), l = o(a);
4358
+ r.set(l, t[s] = sr(l, a));
4337
4359
  }
4338
4360
  return {
4339
4361
  c() {
@@ -4348,10 +4370,10 @@ function zt(e) {
4348
4370
  },
4349
4371
  p(s, a) {
4350
4372
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, isMobile, categoriesicon*/
4351
- 28623 && (i = le(
4373
+ 28623 && (i = ue(
4352
4374
  /*sliderdata*/
4353
4375
  s[9]
4354
- ), t = lr(t, a, o, 1, s, i, r, n.parentNode, ar, nr, n, Wt));
4376
+ ), t = cr(t, a, o, 1, s, i, r, n.parentNode, hr, sr, n, zt));
4355
4377
  },
4356
4378
  d(s) {
4357
4379
  s && H(n);
@@ -4360,7 +4382,7 @@ function zt(e) {
4360
4382
  }
4361
4383
  };
4362
4384
  }
4363
- function Lo(e) {
4385
+ function Fo(e) {
4364
4386
  let t, r, n = (
4365
4387
  /*category*/
4366
4388
  e[53].name + ""
@@ -4371,27 +4393,27 @@ function Lo(e) {
4371
4393
  u[55] === 0 && /*categoriesicon*/
4372
4394
  u[3] !== "false"
4373
4395
  )
4374
- return ko;
4396
+ return Go;
4375
4397
  if (
4376
4398
  /*category*/
4377
4399
  u[53]?.icon && /*categoriesicon*/
4378
4400
  u[3] !== "false"
4379
4401
  )
4380
- return Fo;
4402
+ return Uo;
4381
4403
  if (
4382
4404
  /*categoriesicon*/
4383
4405
  u[3] !== "false"
4384
4406
  )
4385
- return Ro;
4407
+ return Do;
4386
4408
  }
4387
4409
  let a = s(e), l = a && a(e), h = (
4388
4410
  /*category*/
4389
4411
  e[53]?.games.count && !/*isMobile*/
4390
- e[13] && qt(e)
4412
+ e[13] && er(e)
4391
4413
  );
4392
4414
  return {
4393
4415
  c() {
4394
- l && l.c(), t = j(), r = B("button"), i = ee(n), o = j(), h && h.c(), p(r, "class", "CategoryButton");
4416
+ l && l.c(), t = V(), r = B("button"), i = ee(n), o = V(), h && h.c(), p(r, "class", "CategoryButton");
4395
4417
  },
4396
4418
  m(u, c) {
4397
4419
  l && l.m(u, c), A(u, t, c), A(u, r, c), C(r, i), C(r, o), h && h.m(r, null);
@@ -4399,16 +4421,16 @@ function Lo(e) {
4399
4421
  p(u, c) {
4400
4422
  a === (a = s(u)) && l ? l.p(u, c) : (l && l.d(1), l = a && a(u), l && (l.c(), l.m(t.parentNode, t))), c[0] & /*sliderdata*/
4401
4423
  512 && n !== (n = /*category*/
4402
- u[53].name + "") && de(i, n), /*category*/
4424
+ u[53].name + "") && pe(i, n), /*category*/
4403
4425
  u[53]?.games.count && !/*isMobile*/
4404
- u[13] ? h ? h.p(u, c) : (h = qt(u), h.c(), h.m(r, null)) : h && (h.d(1), h = null);
4426
+ u[13] ? h ? h.p(u, c) : (h = er(u), h.c(), h.m(r, null)) : h && (h.d(1), h = null);
4405
4427
  },
4406
4428
  d(u) {
4407
4429
  u && (H(t), H(r)), l && l.d(u), h && h.d();
4408
4430
  }
4409
4431
  };
4410
4432
  }
4411
- function No(e) {
4433
+ function ko(e) {
4412
4434
  let t, r = (
4413
4435
  /*category*/
4414
4436
  e[53].label + ""
@@ -4424,7 +4446,7 @@ function No(e) {
4424
4446
  p(o, s) {
4425
4447
  s[0] & /*sliderdata*/
4426
4448
  512 && r !== (r = /*category*/
4427
- o[53].label + "") && de(n, r), s[0] & /*sliderdata*/
4449
+ o[53].label + "") && pe(n, r), s[0] & /*sliderdata*/
4428
4450
  512 && i !== (i = /*category*/
4429
4451
  o[53].path) && p(t, "href", i);
4430
4452
  },
@@ -4433,12 +4455,12 @@ function No(e) {
4433
4455
  }
4434
4456
  };
4435
4457
  }
4436
- function Ro(e) {
4458
+ function Do(e) {
4437
4459
  let t;
4438
4460
  function r(o, s) {
4439
4461
  return (
4440
4462
  /*isMobile*/
4441
- o[13] ? Uo : Do
4463
+ o[13] ? jo : $o
4442
4464
  );
4443
4465
  }
4444
4466
  let i = r(e)(e);
@@ -4457,12 +4479,12 @@ function Ro(e) {
4457
4479
  }
4458
4480
  };
4459
4481
  }
4460
- function Fo(e) {
4482
+ function Uo(e) {
4461
4483
  let t;
4462
4484
  function r(o, s) {
4463
4485
  return (
4464
4486
  /*isMobile*/
4465
- o[13] ? $o : Go
4487
+ o[13] ? Wo : Vo
4466
4488
  );
4467
4489
  }
4468
4490
  let i = r(e)(e);
@@ -4481,7 +4503,7 @@ function Fo(e) {
4481
4503
  }
4482
4504
  };
4483
4505
  }
4484
- function ko(e) {
4506
+ function Go(e) {
4485
4507
  let t, r, n, i;
4486
4508
  return {
4487
4509
  c() {
@@ -4490,13 +4512,13 @@ function ko(e) {
4490
4512
  m(o, s) {
4491
4513
  A(o, t, s), C(t, r), C(r, n), C(r, i);
4492
4514
  },
4493
- p: k,
4515
+ p: D,
4494
4516
  d(o) {
4495
4517
  o && H(t);
4496
4518
  }
4497
4519
  };
4498
4520
  }
4499
- function Do(e) {
4521
+ function $o(e) {
4500
4522
  let t, r;
4501
4523
  return {
4502
4524
  c() {
@@ -4505,34 +4527,34 @@ function Do(e) {
4505
4527
  m(n, i) {
4506
4528
  A(n, t, i), C(t, r);
4507
4529
  },
4508
- p: k,
4530
+ p: D,
4509
4531
  d(n) {
4510
4532
  n && H(t);
4511
4533
  }
4512
4534
  };
4513
4535
  }
4514
- function Uo(e) {
4536
+ function jo(e) {
4515
4537
  let t, r, n, i, o = (
4516
4538
  /*category*/
4517
- e[53]?.games.count && Qt(e)
4539
+ e[53]?.games.count && Jt(e)
4518
4540
  );
4519
4541
  return {
4520
4542
  c() {
4521
- t = B("div"), r = Y("svg"), n = Y("path"), i = j(), o && o.c(), p(n, "id", "noun-dice-number-5396160"), p(n, "d", "M56.69,35.168H39.63a4.475,4.475,0,0,0-4.47,4.47V56.7a4.475,4.475,0,0,0,4.47,4.47H56.69a4.475,4.475,0,0,0,4.47-4.47V39.638a4.475,4.475,0,0,0-4.47-4.47ZM41.91,56.605A2.187,2.187,0,1,1,44.1,54.418,2.188,2.188,0,0,1,41.91,56.605Zm-2.188-8.438a2.187,2.187,0,1,1,2.187,2.187A2.188,2.188,0,0,1,39.722,48.168Zm2.188-4.062A2.187,2.187,0,1,1,44.1,41.918,2.188,2.188,0,0,1,41.91,44.105Zm12.5,12.5A2.187,2.187,0,1,1,56.6,54.418,2.187,2.187,0,0,1,54.41,56.605Zm0-6.25A2.187,2.187,0,1,1,56.6,48.168,2.187,2.187,0,0,1,54.41,50.356Zm0-6.25A2.187,2.187,0,1,1,56.6,41.918,2.187,2.187,0,0,1,54.41,44.106Z"), p(n, "transform", "translate(-35.16 -35.168)"), p(n, "fill", "#fff"), p(r, "class", "CasinoCategoryIcon"), p(r, "xmlns", "http://www.w3.org/2000/svg"), p(r, "width", "20"), p(r, "height", "20"), p(r, "viewBox", "0 0 26 26"), p(t, "class", "CategoryIconContainer");
4543
+ t = B("div"), r = Y("svg"), n = Y("path"), i = V(), o && o.c(), p(n, "id", "noun-dice-number-5396160"), p(n, "d", "M56.69,35.168H39.63a4.475,4.475,0,0,0-4.47,4.47V56.7a4.475,4.475,0,0,0,4.47,4.47H56.69a4.475,4.475,0,0,0,4.47-4.47V39.638a4.475,4.475,0,0,0-4.47-4.47ZM41.91,56.605A2.187,2.187,0,1,1,44.1,54.418,2.188,2.188,0,0,1,41.91,56.605Zm-2.188-8.438a2.187,2.187,0,1,1,2.187,2.187A2.188,2.188,0,0,1,39.722,48.168Zm2.188-4.062A2.187,2.187,0,1,1,44.1,41.918,2.188,2.188,0,0,1,41.91,44.105Zm12.5,12.5A2.187,2.187,0,1,1,56.6,54.418,2.187,2.187,0,0,1,54.41,56.605Zm0-6.25A2.187,2.187,0,1,1,56.6,48.168,2.187,2.187,0,0,1,54.41,50.356Zm0-6.25A2.187,2.187,0,1,1,56.6,41.918,2.187,2.187,0,0,1,54.41,44.106Z"), p(n, "transform", "translate(-35.16 -35.168)"), p(n, "fill", "#fff"), p(r, "class", "CasinoCategoryIcon"), p(r, "xmlns", "http://www.w3.org/2000/svg"), p(r, "width", "20"), p(r, "height", "20"), p(r, "viewBox", "0 0 26 26"), p(t, "class", "CategoryIconContainer");
4522
4544
  },
4523
4545
  m(s, a) {
4524
4546
  A(s, t, a), C(t, r), C(r, n), C(t, i), o && o.m(t, null);
4525
4547
  },
4526
4548
  p(s, a) {
4527
4549
  /*category*/
4528
- s[53]?.games.count ? o ? o.p(s, a) : (o = Qt(s), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
4550
+ s[53]?.games.count ? o ? o.p(s, a) : (o = Jt(s), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
4529
4551
  },
4530
4552
  d(s) {
4531
4553
  s && H(t), o && o.d();
4532
4554
  }
4533
4555
  };
4534
4556
  }
4535
- function Qt(e) {
4557
+ function Jt(e) {
4536
4558
  let t, r = (
4537
4559
  /*category*/
4538
4560
  e[53]?.games.count + ""
@@ -4547,14 +4569,14 @@ function Qt(e) {
4547
4569
  p(i, o) {
4548
4570
  o[0] & /*sliderdata*/
4549
4571
  512 && r !== (r = /*category*/
4550
- i[53]?.games.count + "") && de(n, r);
4572
+ i[53]?.games.count + "") && pe(n, r);
4551
4573
  },
4552
4574
  d(i) {
4553
4575
  i && H(t);
4554
4576
  }
4555
4577
  };
4556
4578
  }
4557
- function Go(e) {
4579
+ function Vo(e) {
4558
4580
  let t, r, n;
4559
4581
  return {
4560
4582
  c() {
@@ -4577,14 +4599,14 @@ function Go(e) {
4577
4599
  }
4578
4600
  };
4579
4601
  }
4580
- function $o(e) {
4602
+ function Wo(e) {
4581
4603
  let t, r, n, i, o, s = (
4582
4604
  /*category*/
4583
- e[53]?.games.count && Yt(e)
4605
+ e[53]?.games.count && Kt(e)
4584
4606
  );
4585
4607
  return {
4586
4608
  c() {
4587
- t = B("div"), r = B("img"), o = j(), s && s.c(), p(r, "class", "CasinoCategoryIcon"), Fe(r.src, n = /*category*/
4609
+ t = B("div"), r = B("img"), o = V(), s && s.c(), p(r, "class", "CasinoCategoryIcon"), Fe(r.src, n = /*category*/
4588
4610
  e[53].icon) || p(r, "src", n), p(r, "alt", i = /*category*/
4589
4611
  e[53].name), p(t, "class", "CategoryIconContainer");
4590
4612
  },
@@ -4597,14 +4619,14 @@ function $o(e) {
4597
4619
  a[53].icon) && p(r, "src", n), l[0] & /*sliderdata*/
4598
4620
  512 && i !== (i = /*category*/
4599
4621
  a[53].name) && p(r, "alt", i), /*category*/
4600
- a[53]?.games.count ? s ? s.p(a, l) : (s = Yt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4622
+ a[53]?.games.count ? s ? s.p(a, l) : (s = Kt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4601
4623
  },
4602
4624
  d(a) {
4603
4625
  a && H(t), s && s.d();
4604
4626
  }
4605
4627
  };
4606
4628
  }
4607
- function Yt(e) {
4629
+ function Kt(e) {
4608
4630
  let t, r = (
4609
4631
  /*category*/
4610
4632
  e[53]?.games.count + ""
@@ -4619,14 +4641,14 @@ function Yt(e) {
4619
4641
  p(i, o) {
4620
4642
  o[0] & /*sliderdata*/
4621
4643
  512 && r !== (r = /*category*/
4622
- i[53]?.games.count + "") && de(n, r);
4644
+ i[53]?.games.count + "") && pe(n, r);
4623
4645
  },
4624
4646
  d(i) {
4625
4647
  i && H(t);
4626
4648
  }
4627
4649
  };
4628
4650
  }
4629
- function qt(e) {
4651
+ function er(e) {
4630
4652
  let t, r = (
4631
4653
  /*category*/
4632
4654
  e[53]?.games.count + ""
@@ -4641,18 +4663,18 @@ function qt(e) {
4641
4663
  p(i, o) {
4642
4664
  o[0] & /*sliderdata*/
4643
4665
  512 && r !== (r = /*category*/
4644
- i[53]?.games.count + "") && de(n, r);
4666
+ i[53]?.games.count + "") && pe(n, r);
4645
4667
  },
4646
4668
  d(i) {
4647
4669
  i && H(t);
4648
4670
  }
4649
4671
  };
4650
4672
  }
4651
- function Jt(e) {
4673
+ function tr(e) {
4652
4674
  let t, r = (
4653
4675
  /*subGroupsData*/
4654
4676
  e[10].length > 0 && /*showsubgroups*/
4655
- e[2] == "true" && Kt(e)
4677
+ e[2] == "true" && rr(e)
4656
4678
  );
4657
4679
  return {
4658
4680
  c() {
@@ -4664,20 +4686,20 @@ function Jt(e) {
4664
4686
  p(n, i) {
4665
4687
  /*subGroupsData*/
4666
4688
  n[10].length > 0 && /*showsubgroups*/
4667
- n[2] == "true" ? r ? r.p(n, i) : (r = Kt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4689
+ n[2] == "true" ? r ? r.p(n, i) : (r = rr(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4668
4690
  },
4669
4691
  d(n) {
4670
4692
  n && H(t), r && r.d(n);
4671
4693
  }
4672
4694
  };
4673
4695
  }
4674
- function Kt(e) {
4675
- let t, r = le(
4696
+ function rr(e) {
4697
+ let t, r = ue(
4676
4698
  /*subGroupsData*/
4677
4699
  e[10]
4678
4700
  ), n = [];
4679
4701
  for (let i = 0; i < r.length; i += 1)
4680
- n[i] = rr(Xt(e, r, i));
4702
+ n[i] = or(Qt(e, r, i));
4681
4703
  return {
4682
4704
  c() {
4683
4705
  t = B("ul");
@@ -4693,14 +4715,14 @@ function Kt(e) {
4693
4715
  p(i, o) {
4694
4716
  if (o[0] & /*subGroupsData, sliderdata, activeIndex, activeSubIndex, prevSubIndex, handleClick*/
4695
4717
  18368) {
4696
- r = le(
4718
+ r = ue(
4697
4719
  /*subGroupsData*/
4698
4720
  i[10]
4699
4721
  );
4700
4722
  let s;
4701
4723
  for (s = 0; s < r.length; s += 1) {
4702
- const a = Xt(i, r, s);
4703
- n[s] ? n[s].p(a, o) : (n[s] = rr(a), n[s].c(), n[s].m(t, null));
4724
+ const a = Qt(i, r, s);
4725
+ n[s] ? n[s].p(a, o) : (n[s] = or(a), n[s].c(), n[s].m(t, null));
4704
4726
  }
4705
4727
  for (; s < n.length; s += 1)
4706
4728
  n[s].d(1);
@@ -4708,11 +4730,11 @@ function Kt(e) {
4708
4730
  }
4709
4731
  },
4710
4732
  d(i) {
4711
- i && H(t), ln(n, i);
4733
+ i && H(t), fn(n, i);
4712
4734
  }
4713
4735
  };
4714
4736
  }
4715
- function er(e) {
4737
+ function nr(e) {
4716
4738
  let t, r, n = (
4717
4739
  /*subGroupItem*/
4718
4740
  e[59]?.name + ""
@@ -4751,7 +4773,7 @@ function er(e) {
4751
4773
  }
4752
4774
  return {
4753
4775
  c() {
4754
- t = B("li"), r = B("span"), i = ee(n), o = j(), p(t, "class", s = "SubDropDown " + /*index*/
4776
+ t = B("li"), r = B("span"), i = ee(n), o = V(), p(t, "class", s = "SubDropDown " + /*index*/
4755
4777
  (e[55] == /*activeIndex*/
4756
4778
  e[6] && /*activeSubIndex*/
4757
4779
  (e[7] == /*subindex*/
@@ -4768,7 +4790,7 @@ function er(e) {
4768
4790
  p(c, d) {
4769
4791
  e = c, d[0] & /*subGroupsData*/
4770
4792
  1024 && n !== (n = /*subGroupItem*/
4771
- e[59]?.name + "") && de(i, n), d[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4793
+ e[59]?.name + "") && pe(i, n), d[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4772
4794
  1984 && s !== (s = "SubDropDown " + /*index*/
4773
4795
  (e[55] == /*activeIndex*/
4774
4796
  e[6] && /*activeSubIndex*/
@@ -4782,11 +4804,11 @@ function er(e) {
4782
4804
  }
4783
4805
  };
4784
4806
  }
4785
- function tr(e, t) {
4807
+ function ir(e, t) {
4786
4808
  let r, n, i = (
4787
4809
  /*index*/
4788
4810
  t[55] == /*subGroup*/
4789
- t[56].index && er(t)
4811
+ t[56].index && nr(t)
4790
4812
  );
4791
4813
  return {
4792
4814
  key: e,
@@ -4800,15 +4822,15 @@ function tr(e, t) {
4800
4822
  p(o, s) {
4801
4823
  t = o, /*index*/
4802
4824
  t[55] == /*subGroup*/
4803
- t[56].index ? i ? i.p(t, s) : (i = er(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4825
+ t[56].index ? i ? i.p(t, s) : (i = nr(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4804
4826
  },
4805
4827
  d(o) {
4806
4828
  o && (H(r), H(n)), i && i.d(o);
4807
4829
  }
4808
4830
  };
4809
4831
  }
4810
- function rr(e) {
4811
- let t = [], r = /* @__PURE__ */ new Map(), n, i = le(
4832
+ function or(e) {
4833
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ue(
4812
4834
  /*subGroup*/
4813
4835
  e[56].items
4814
4836
  );
@@ -4817,8 +4839,8 @@ function rr(e) {
4817
4839
  s[59].id
4818
4840
  );
4819
4841
  for (let s = 0; s < i.length; s += 1) {
4820
- let a = Zt(e, i, s), l = o(a);
4821
- r.set(l, t[s] = tr(l, a));
4842
+ let a = Yt(e, i, s), l = o(a);
4843
+ r.set(l, t[s] = ir(l, a));
4822
4844
  }
4823
4845
  return {
4824
4846
  c() {
@@ -4833,10 +4855,10 @@ function rr(e) {
4833
4855
  },
4834
4856
  p(s, a) {
4835
4857
  a[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex, handleClick*/
4836
- 18368 && (i = le(
4858
+ 18368 && (i = ue(
4837
4859
  /*subGroup*/
4838
4860
  s[56].items
4839
- ), t = lr(t, a, o, 1, s, i, r, n.parentNode, ar, tr, n, Zt));
4861
+ ), t = cr(t, a, o, 1, s, i, r, n.parentNode, hr, ir, n, Yt));
4840
4862
  },
4841
4863
  d(s) {
4842
4864
  s && H(n);
@@ -4845,12 +4867,12 @@ function rr(e) {
4845
4867
  }
4846
4868
  };
4847
4869
  }
4848
- function nr(e, t) {
4870
+ function sr(e, t) {
4849
4871
  let r, n, i, o, s, a;
4850
4872
  function l(m, g) {
4851
4873
  return (
4852
4874
  /*location*/
4853
- m[0] === "headerMain" ? No : Lo
4875
+ m[0] === "headerMain" ? ko : Fo
4854
4876
  );
4855
4877
  }
4856
4878
  let h = l(t), u = h(t), c = (
@@ -4858,7 +4880,7 @@ function nr(e, t) {
4858
4880
  t[11][
4859
4881
  /*index*/
4860
4882
  t[55]
4861
- ] == !0 && Jt(t)
4883
+ ] == !0 && tr(t)
4862
4884
  );
4863
4885
  function d(...m) {
4864
4886
  return (
@@ -4888,7 +4910,7 @@ function nr(e, t) {
4888
4910
  key: e,
4889
4911
  first: null,
4890
4912
  c() {
4891
- r = B("li"), u.c(), n = j(), c && c.c(), i = j(), p(r, "class", o = "CarouselItem " + /*activeindex*/
4913
+ r = B("li"), u.c(), n = V(), c && c.c(), i = V(), p(r, "class", o = "CarouselItem " + /*activeindex*/
4892
4914
  (t[1]?.toString().indexOf("$") > -1 ? (
4893
4915
  /*activeindex*/
4894
4916
  t[1]?.split("$").pop() == /*category*/
@@ -4911,7 +4933,7 @@ function nr(e, t) {
4911
4933
  t[11][
4912
4934
  /*index*/
4913
4935
  t[55]
4914
- ] == !0 ? c ? c.p(t, g) : (c = Jt(t), c.c(), c.m(r, i)) : c && (c.d(1), c = null), g[0] & /*activeindex, sliderdata, location*/
4936
+ ] == !0 ? c ? c.p(t, g) : (c = tr(t), c.c(), c.m(r, i)) : c && (c.d(1), c = null), g[0] & /*activeindex, sliderdata, location*/
4915
4937
  515 && o !== (o = "CarouselItem " + /*activeindex*/
4916
4938
  (t[1]?.toString().indexOf("$") > -1 ? (
4917
4939
  /*activeindex*/
@@ -4929,14 +4951,14 @@ function nr(e, t) {
4929
4951
  }
4930
4952
  };
4931
4953
  }
4932
- function jo(e) {
4954
+ function Xo(e) {
4933
4955
  let t, r, n, i, o, s, a, l, h, u, c, d, b, m, g, y = (
4934
4956
  /*sliderdata*/
4935
- e[9].length > 0 && zt(e)
4957
+ e[9].length > 0 && qt(e)
4936
4958
  );
4937
4959
  return {
4938
4960
  c() {
4939
- t = B("div"), r = B("div"), n = B("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="3" d="M15 19l-7-7 7-7"></path></svg>', i = j(), o = B("div"), s = B("ul"), a = B("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', l = j(), y && y.c(), h = j(), u = B("div"), u.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="3" d="M9 5l7 7-7 7"></path></svg>', p(n, "class", "CarouselLeftArrow"), p(a, "class", "TouchOnly"), p(s, "id", "CarouselNav"), p(s, "class", "CarouselItems"), p(o, "class", "CarouselNavWrap"), p(u, "class", "CarouselRightArrow"), p(r, "class", c = `CarouselContainer CarouselContainerMobile ${/*location*/
4961
+ t = B("div"), r = B("div"), n = B("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="3" d="M15 19l-7-7 7-7"></path></svg>', i = V(), o = B("div"), s = B("ul"), a = B("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', l = V(), y && y.c(), h = V(), u = B("div"), u.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="3" d="M9 5l7 7-7 7"></path></svg>', p(n, "class", "CarouselLeftArrow"), p(a, "class", "TouchOnly"), p(s, "id", "CarouselNav"), p(s, "class", "CarouselItems"), p(o, "class", "CarouselNavWrap scroller"), p(u, "class", "CarouselRightArrow"), p(r, "class", c = `CarouselContainer CarouselContainerMobile ${/*location*/
4940
4962
  e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), p(r, "style", d = /*location*/
4941
4963
  e[0] === "headerMain" ? "max-width: auto" : void 0), p(t, "class", b = "CarouselWrapper " + /*location*/
4942
4964
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " " + /*isMobile*/
@@ -4972,7 +4994,7 @@ function jo(e) {
4972
4994
  },
4973
4995
  p(x, I) {
4974
4996
  /*sliderdata*/
4975
- x[9].length > 0 ? y ? y.p(x, I) : (y = zt(x), y.c(), y.m(s, null)) : y && (y.d(1), y = null), I[0] & /*location*/
4997
+ x[9].length > 0 ? y ? y.p(x, I) : (y = qt(x), y.c(), y.m(s, null)) : y && (y.d(1), y = null), I[0] & /*location*/
4976
4998
  1 && c !== (c = `CarouselContainer CarouselContainerMobile ${/*location*/
4977
4999
  x[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && p(r, "class", c), I[0] & /*location*/
4978
5000
  1 && d !== (d = /*location*/
@@ -4981,31 +5003,31 @@ function jo(e) {
4981
5003
  (x[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " " + /*isMobile*/
4982
5004
  (x[13] ? "CarouselWrapperMobile" : "")) && p(t, "class", b);
4983
5005
  },
4984
- i: k,
4985
- o: k,
5006
+ i: D,
5007
+ o: D,
4986
5008
  d(x) {
4987
5009
  x && H(t), y && y.d(), e[38](null), e[39](null), e[42](null), m = !1, z(g);
4988
5010
  }
4989
5011
  };
4990
5012
  }
4991
- function Vo(e, t, r) {
4992
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: l = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { identity: d = "" } = t, { translationurl: b = "" } = t, { isprimarymenu: m = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: y = "" } = t, { activeindex: x = "0" } = t, { showsubgroups: I = "false" } = t, { categoriesicon: L = "false" } = t, { lobbyiconimage: U = "" } = t, { mygamesiconimage: R = "" } = t;
4993
- Mo({ withLocale: "en", translations: {} });
4994
- const G = () => {
5013
+ function Zo(e, t, r) {
5014
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: l = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { identity: d = "" } = t, { translationurl: b = "" } = t, { isprimarymenu: m = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: y = "" } = t, { activeindex: x = "0" } = t, { showsubgroups: I = "false" } = t, { categoriesicon: N = "false" } = t, { lobbyiconimage: $ = "" } = t, { mygamesiconimage: F = "" } = t;
5015
+ Lo({ withLocale: "en", translations: {} });
5016
+ const j = () => {
4995
5017
  fetch(b).then((w) => w.json()).then((w) => {
4996
5018
  Object.keys(w).forEach((P) => {
4997
- jt(P, w[P]);
5019
+ Xt(P, w[P]);
4998
5020
  });
4999
5021
  }).catch((w) => {
5000
5022
  console.log(w);
5001
5023
  });
5002
5024
  };
5003
- Object.keys(Vt).forEach((f) => {
5004
- jt(f, Vt[f]);
5025
+ Object.keys(Zt).forEach((f) => {
5026
+ Xt(f, Zt[f]);
5005
5027
  });
5006
- let T = window.navigator.userAgent, D = To(T) !== "PC", O, $, ge, We, V, ye = [], He = [], Te = [], W, ve = (f, w, P, X, F) => {
5028
+ let T = window.navigator.userAgent, U = Bo(T) !== "PC", O, G, ye, We, W, ve = [], Te = [], ne = [], L, _e = (f, w, P, X, k) => {
5007
5029
  if (!(f.subGroups && X === null)) {
5008
- if (Ae(), r(6, $ = w), r(6, $), F != "secondary") {
5030
+ if (Ae(), r(6, G = w), r(6, G), k != "secondary") {
5009
5031
  window.postMessage(
5010
5032
  {
5011
5033
  type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
@@ -5018,10 +5040,10 @@ function Vo(e, t, r) {
5018
5040
  target: f.attrs?.target || null
5019
5041
  },
5020
5042
  window.location.href
5021
- ), r(7, ge = null), r(8, We = null);
5043
+ ), r(7, ye = null), r(8, We = null);
5022
5044
  return;
5023
5045
  }
5024
- r(7, ge = X), r(7, ge), r(8, We = ge), window.postMessage(
5046
+ r(7, ye = X), r(7, ye), r(8, We = ye), window.postMessage(
5025
5047
  {
5026
5048
  type: s,
5027
5049
  itemId: P.id,
@@ -5032,21 +5054,21 @@ function Vo(e, t, r) {
5032
5054
  );
5033
5055
  }
5034
5056
  }, Xe = () => {
5035
- W.scrollBy({ left: -250, behavior: "smooth" });
5057
+ L && (ne.length !== G ? r(12, L.scrollLeft -= 250, L) : r(12, L.scrollLeft = 0, L));
5036
5058
  }, Ze = () => {
5037
- W.scrollBy({ left: 250, behavior: "smooth" });
5059
+ L && (ne.length !== G ? r(12, L.scrollLeft += 250, L) : r(12, L.scrollLeft = 0, L));
5038
5060
  };
5039
- const vt = (f) => {
5040
- f.data.type == "SliderData" && f.data.identity == d && (r(9, ye = f.data.data), r(11, Te = new Array(ye.length).fill(!1)), I == "true" && $r()), f.data.type == "GoToHomepage" && ye.forEach((w, P) => {
5041
- w.path.endsWith("/casino") && (r(6, $ = P), r(6, $));
5061
+ const Ct = (f) => {
5062
+ f.data.type == "SliderData" && f.data.identity == d && (r(9, ve = f.data.data), r(11, ne = new Array(ve.length).fill(!1)), I == "true" && Xr()), f.data.type == "GoToHomepage" && ve.forEach((w, P) => {
5063
+ w.path.endsWith("/casino") && (r(6, G = P), r(6, G));
5042
5064
  });
5043
- }, Ur = () => {
5044
- Po(y);
5045
- }, Gr = (f, w, P) => {
5065
+ }, Vr = () => {
5066
+ No(y);
5067
+ }, Wr = (f, w, P) => {
5046
5068
  if (l == "secondaryMenu" && n && i && y && f.id) {
5047
5069
  let X = new URL(`${n}/v1/casino/groups/${i}/${f.id}/subGroups?language=${y}`);
5048
- fetch(X.href).then((F) => F.json()).then((F) => {
5049
- F.index = w, r(10, He = He.concat(F)), I == "false" && window.postMessage(
5070
+ fetch(X.href).then((k) => k.json()).then((k) => {
5071
+ k.index = w, r(10, Te = Te.concat(k)), I == "false" && window.postMessage(
5050
5072
  {
5051
5073
  type: s,
5052
5074
  itemId: f.id,
@@ -5056,8 +5078,8 @@ function Vo(e, t, r) {
5056
5078
  window.location.href
5057
5079
  );
5058
5080
  const Ie = [];
5059
- He.map((en) => (en.items.forEach((_t) => {
5060
- Ie.find((tn) => _t.id == tn) || Ie.push(_t.id);
5081
+ Te.map((on) => (on.items.forEach((wt) => {
5082
+ Ie.find((sn) => wt.id == sn) || Ie.push(wt.id);
5061
5083
  }), Ie.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Ie }, window.location.href);
5062
5084
  }).then(() => {
5063
5085
  O.querySelectorAll(".DropDown") && Ae();
@@ -5066,78 +5088,78 @@ function Vo(e, t, r) {
5066
5088
  l == "headerMain" && window.postMessage({ type: s, item: f }, window.location.href);
5067
5089
  }, Ae = () => {
5068
5090
  const f = O.querySelectorAll(".DropDown");
5069
- document.activeElement.blur(), W.classList.add("isScrolling");
5091
+ document.activeElement.blur(), L.classList.add("isScrolling");
5070
5092
  for (let w = 0; w < f.length; w++)
5071
- f[w].style.transform = "translateX(-" + W.scrollLeft + "px)";
5072
- W.classList.remove("isScrolling");
5073
- }, $r = () => {
5074
- ye.forEach((f, w) => {
5075
- f?.subGroups?.count > 0 && (r(11, Te[w] = !0, Te), Gr(f, w));
5093
+ f[w].style.transform = "translateX(-" + L.scrollLeft + "px)";
5094
+ L.classList.remove("isScrolling");
5095
+ }, Xr = () => {
5096
+ ve.forEach((f, w) => {
5097
+ f?.subGroups?.count > 0 && (r(11, ne[w] = !0, ne), Wr(f, w));
5076
5098
  });
5077
5099
  };
5078
- fn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), window.addEventListener("message", vt, !1), setTimeout(
5100
+ bn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), window.addEventListener("message", Ct, !1), setTimeout(
5079
5101
  () => {
5080
- W.addEventListener("scroll", Ae);
5102
+ L.addEventListener("scroll", Ae);
5081
5103
  },
5082
5104
  500
5083
5105
  ), () => {
5084
- window.removeEventListener("message", vt), O.removeEventListener("scroll", Ae);
5106
+ window.removeEventListener("message", Ct), O.removeEventListener("scroll", Ae);
5085
5107
  }));
5086
- const jr = () => Xe(), Vr = (f) => {
5108
+ const Zr = () => Xe(), zr = (f) => {
5087
5109
  (f.key === "Enter" || f.key === " ") && (Xe(), f.preventDefault());
5088
- }, Wr = (f, w, P, X, F) => {
5089
- ve(f, w, P, X, "secondary"), F.stopPropagation();
5090
- }, Xr = (f, w, P, X, F) => {
5091
- (F.key === "Enter" || F.key === " ") && (ve(f, w, P, X, "secondary"), F.stopPropagation(), F.preventDefault());
5092
- }, Zr = (f, w, P) => {
5093
- ve(f, w, null, null, "main"), P.preventDefault();
5094
- }, zr = (f, w, P) => {
5095
- (P.key === "Enter" || P.key === " ") && (ve(f, w, null, null, "main"), P.preventDefault());
5110
+ }, Qr = (f, w, P, X, k) => {
5111
+ _e(f, w, P, X, "secondary"), k.stopPropagation();
5112
+ }, Yr = (f, w, P, X, k) => {
5113
+ (k.key === "Enter" || k.key === " ") && (_e(f, w, P, X, "secondary"), k.stopPropagation(), k.preventDefault());
5114
+ }, qr = (f, w, P) => {
5115
+ _e(f, w, null, null, "main"), P.preventDefault();
5116
+ }, Jr = (f, w, P) => {
5117
+ (P.key === "Enter" || P.key === " ") && (_e(f, w, null, null, "main"), P.preventDefault());
5096
5118
  };
5097
- function Qr(f) {
5098
- Ce[f ? "unshift" : "push"](() => {
5119
+ function Kr(f) {
5120
+ we[f ? "unshift" : "push"](() => {
5099
5121
  O = f, r(5, O);
5100
5122
  });
5101
5123
  }
5102
- function Yr(f) {
5103
- Ce[f ? "unshift" : "push"](() => {
5104
- W = f, r(12, W);
5124
+ function en(f) {
5125
+ we[f ? "unshift" : "push"](() => {
5126
+ L = f, r(12, L);
5105
5127
  });
5106
5128
  }
5107
- const qr = () => Ze(), Jr = (f) => {
5129
+ const tn = () => Ze(), rn = (f) => {
5108
5130
  (f.key === "Enter" || f.key === " ") && (Ze(), f.preventDefault());
5109
5131
  };
5110
- function Kr(f) {
5111
- Ce[f ? "unshift" : "push"](() => {
5112
- V = f, r(4, V);
5132
+ function nn(f) {
5133
+ we[f ? "unshift" : "push"](() => {
5134
+ W = f, r(4, W);
5113
5135
  });
5114
5136
  }
5115
5137
  return e.$$set = (f) => {
5116
- "endpoint" in f && r(17, n = f.endpoint), "datasource" in f && r(18, i = f.datasource), "onclickeventname" in f && r(19, o = f.onclickeventname), "actionevent" in f && r(20, s = f.actionevent), "favoritesnumber" in f && r(21, a = f.favoritesnumber), "location" in f && r(0, l = f.location), "mbsource" in f && r(22, h = f.mbsource), "clientstyling" in f && r(23, u = f.clientstyling), "clientstylingurl" in f && r(24, c = f.clientstylingurl), "identity" in f && r(25, d = f.identity), "translationurl" in f && r(26, b = f.translationurl), "isprimarymenu" in f && r(27, m = f.isprimarymenu), "issecondarymenu" in f && r(28, g = f.issecondarymenu), "lang" in f && r(29, y = f.lang), "activeindex" in f && r(1, x = f.activeindex), "showsubgroups" in f && r(2, I = f.showsubgroups), "categoriesicon" in f && r(3, L = f.categoriesicon), "lobbyiconimage" in f && r(30, U = f.lobbyiconimage), "mygamesiconimage" in f && r(31, R = f.mygamesiconimage);
5138
+ "endpoint" in f && r(17, n = f.endpoint), "datasource" in f && r(18, i = f.datasource), "onclickeventname" in f && r(19, o = f.onclickeventname), "actionevent" in f && r(20, s = f.actionevent), "favoritesnumber" in f && r(21, a = f.favoritesnumber), "location" in f && r(0, l = f.location), "mbsource" in f && r(22, h = f.mbsource), "clientstyling" in f && r(23, u = f.clientstyling), "clientstylingurl" in f && r(24, c = f.clientstylingurl), "identity" in f && r(25, d = f.identity), "translationurl" in f && r(26, b = f.translationurl), "isprimarymenu" in f && r(27, m = f.isprimarymenu), "issecondarymenu" in f && r(28, g = f.issecondarymenu), "lang" in f && r(29, y = f.lang), "activeindex" in f && r(1, x = f.activeindex), "showsubgroups" in f && r(2, I = f.showsubgroups), "categoriesicon" in f && r(3, N = f.categoriesicon), "lobbyiconimage" in f && r(30, $ = f.lobbyiconimage), "mygamesiconimage" in f && r(31, F = f.mygamesiconimage);
5117
5139
  }, e.$$.update = () => {
5118
5140
  e.$$.dirty[0] & /*activeindex*/
5119
5141
  2, e.$$.dirty[0] & /*translationurl*/
5120
- 67108864 && b && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5121
- 8388624 && u && V && Ao(V, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5122
- 16777232 && c && V && Io(V, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5123
- 4194320 && h && V && Bo(V, `${h}.Style`), e.$$.dirty[0] & /*lang*/
5124
- 536870912 && y && Ur();
5142
+ 67108864 && b && j(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5143
+ 8388624 && u && W && Mo(W, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5144
+ 16777232 && c && W && Po(W, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5145
+ 4194320 && h && W && Oo(W, `${h}.Style`), e.$$.dirty[0] & /*lang*/
5146
+ 536870912 && y && Vr();
5125
5147
  }, [
5126
5148
  l,
5127
5149
  x,
5128
5150
  I,
5129
- L,
5130
- V,
5151
+ N,
5152
+ W,
5131
5153
  O,
5132
- $,
5133
- ge,
5134
- We,
5154
+ G,
5135
5155
  ye,
5136
- He,
5137
- Te,
5138
- W,
5139
- D,
5156
+ We,
5140
5157
  ve,
5158
+ Te,
5159
+ ne,
5160
+ L,
5161
+ U,
5162
+ _e,
5141
5163
  Xe,
5142
5164
  Ze,
5143
5165
  n,
@@ -5153,29 +5175,29 @@ function Vo(e, t, r) {
5153
5175
  m,
5154
5176
  g,
5155
5177
  y,
5156
- U,
5157
- R,
5158
- jr,
5159
- Vr,
5160
- Wr,
5161
- Xr,
5178
+ $,
5179
+ F,
5162
5180
  Zr,
5163
5181
  zr,
5164
5182
  Qr,
5165
5183
  Yr,
5166
5184
  qr,
5167
5185
  Jr,
5168
- Kr
5186
+ Kr,
5187
+ en,
5188
+ tn,
5189
+ rn,
5190
+ nn
5169
5191
  ];
5170
5192
  }
5171
- class Wo extends wn {
5193
+ class zo extends Tn {
5172
5194
  constructor(t) {
5173
- super(), En(
5195
+ super(), Sn(
5174
5196
  this,
5175
5197
  t,
5176
- Vo,
5177
- jo,
5178
- or,
5198
+ Zo,
5199
+ Xo,
5200
+ lr,
5179
5201
  {
5180
5202
  endpoint: 17,
5181
5203
  datasource: 18,
@@ -5197,7 +5219,7 @@ class Wo extends wn {
5197
5219
  lobbyiconimage: 30,
5198
5220
  mygamesiconimage: 31
5199
5221
  },
5200
- Oo,
5222
+ Ro,
5201
5223
  [-1, -1]
5202
5224
  );
5203
5225
  }
@@ -5316,7 +5338,7 @@ class Wo extends wn {
5316
5338
  this.$$set({ mygamesiconimage: t }), M();
5317
5339
  }
5318
5340
  }
5319
- Cn(Wo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
5341
+ Hn(zo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
5320
5342
  export {
5321
- Wo as C
5343
+ zo as C
5322
5344
  };