@everymatrix/casino-categories-slider 1.74.7 → 1.74.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function I() {
2
2
  }
3
- function Ut(e) {
3
+ function Mt(e) {
4
4
  return e();
5
5
  }
6
- function dt() {
6
+ function ct() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function re(e) {
10
- e.forEach(Ut);
10
+ e.forEach(Mt);
11
11
  }
12
- function nt(e) {
12
+ function rt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Dt(e, t) {
15
+ function Rt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let pe;
19
- function ds(e, t) {
19
+ function cs(e, t) {
20
20
  return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
21
21
  }
22
- function Ir(e) {
22
+ function Pr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Ft(e, ...t) {
25
+ function Gt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Ft(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Mr(e, t, r) {
35
- e.$$.on_destroy.push(Ft(t, r));
34
+ function Nr(e, t, r) {
35
+ e.$$.on_destroy.push(Gt(t, r));
36
36
  }
37
- function $t(e, t) {
37
+ function Ut(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Cr(e, t, r) {
41
- const n = Rr(e);
40
+ function Or(e, t, r) {
41
+ const n = Lr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = k("style");
44
- i.id = t, i.textContent = r, Gr(n, i);
44
+ i.id = t, i.textContent = r, Ir(n, i);
45
45
  }
46
46
  }
47
- function Rr(e) {
47
+ function Lr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,8 +54,8 @@ function Rr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Gr(e, t) {
58
- return $t(
57
+ function Ir(e, t) {
58
+ return Ut(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
@@ -67,26 +67,26 @@ function ce(e, t, r) {
67
67
  function ne(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function bs(e, t) {
70
+ function fs(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function k(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function jt(e) {
77
+ function Dt(e) {
78
78
  return document.createTextNode(e);
79
79
  }
80
- function ps() {
81
- return jt(" ");
80
+ function ms() {
81
+ return Dt(" ");
82
82
  }
83
- function gs() {
84
- return jt("");
83
+ function ds() {
84
+ return Dt("");
85
85
  }
86
- function ys(e, t, r, n) {
86
+ function bs(e, t, r, n) {
87
87
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
88
88
  }
89
- function vs(e) {
89
+ function ps(e) {
90
90
  return function(t) {
91
91
  return t.preventDefault(), e.call(this, t);
92
92
  };
@@ -98,14 +98,14 @@ function _(e, t, r) {
98
98
  const n = t.toLowerCase();
99
99
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : fe(e, t, r);
100
100
  }
101
- function Ur(e) {
101
+ function Cr(e) {
102
102
  return Array.from(e.childNodes);
103
103
  }
104
- function _s(e, t) {
104
+ function gs(e, t) {
105
105
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
106
106
  t);
107
107
  }
108
- function Dr(e) {
108
+ function Mr(e) {
109
109
  const t = {};
110
110
  return e.childNodes.forEach(
111
111
  /** @param {Element} node */
@@ -118,29 +118,29 @@ let ue;
118
118
  function ae(e) {
119
119
  ue = e;
120
120
  }
121
- function Fr() {
121
+ function Rr() {
122
122
  if (!ue)
123
123
  throw new Error("Function called outside component initialization");
124
124
  return ue;
125
125
  }
126
- function $r(e) {
127
- Fr().$$.on_mount.push(e);
126
+ function Gr(e) {
127
+ Rr().$$.on_mount.push(e);
128
128
  }
129
- function Es(e, t) {
129
+ function ys(e, t) {
130
130
  const r = e.$$.callbacks[t.type];
131
131
  r && r.slice().forEach((n) => n.call(this, t));
132
132
  }
133
- const Q = [], Fe = [];
133
+ const Q = [], De = [];
134
134
  let Y = [];
135
- const bt = [], kt = /* @__PURE__ */ Promise.resolve();
136
- let $e = !1;
137
- function Vt() {
138
- $e || ($e = !0, kt.then(S));
135
+ const ft = [], Ft = /* @__PURE__ */ Promise.resolve();
136
+ let Fe = !1;
137
+ function $t() {
138
+ Fe || (Fe = !0, Ft.then(S));
139
139
  }
140
- function jr() {
141
- return Vt(), kt;
140
+ function Ur() {
141
+ return $t(), Ft;
142
142
  }
143
- function je(e) {
143
+ function $e(e) {
144
144
  Y.push(e);
145
145
  }
146
146
  const Le = /* @__PURE__ */ new Set();
@@ -153,86 +153,86 @@ function S() {
153
153
  try {
154
154
  for (; z < Q.length; ) {
155
155
  const t = Q[z];
156
- z++, ae(t), kr(t.$$);
156
+ z++, ae(t), Dr(t.$$);
157
157
  }
158
158
  } catch (t) {
159
159
  throw Q.length = 0, z = 0, t;
160
160
  }
161
- for (ae(null), Q.length = 0, z = 0; Fe.length; )
162
- Fe.pop()();
161
+ for (ae(null), Q.length = 0, z = 0; De.length; )
162
+ De.pop()();
163
163
  for (let t = 0; t < Y.length; t += 1) {
164
164
  const r = Y[t];
165
165
  Le.has(r) || (Le.add(r), r());
166
166
  }
167
167
  Y.length = 0;
168
168
  } while (Q.length);
169
- for (; bt.length; )
170
- bt.pop()();
171
- $e = !1, Le.clear(), ae(e);
169
+ for (; ft.length; )
170
+ ft.pop()();
171
+ Fe = !1, Le.clear(), ae(e);
172
172
  }
173
- function kr(e) {
173
+ function Dr(e) {
174
174
  if (e.fragment !== null) {
175
175
  e.update(), re(e.before_update);
176
176
  const t = e.dirty;
177
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
177
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
178
178
  }
179
179
  }
180
- function Vr(e) {
180
+ function Fr(e) {
181
181
  const t = [], r = [];
182
182
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
183
183
  }
184
- const Xr = /* @__PURE__ */ new Set();
185
- function Xt(e, t) {
186
- e && e.i && (Xr.delete(e), e.i(t));
184
+ const $r = /* @__PURE__ */ new Set();
185
+ function jt(e, t) {
186
+ e && e.i && ($r.delete(e), e.i(t));
187
187
  }
188
- function xs(e) {
188
+ function vs(e) {
189
189
  return e?.length !== void 0 ? e : Array.from(e);
190
190
  }
191
- function Ss(e, t) {
191
+ function _s(e, t) {
192
192
  e.d(1), t.delete(e.key);
193
193
  }
194
- function ws(e, t, r, n, i, s, o, a, h, u, l, m) {
194
+ function Es(e, t, r, n, i, s, o, a, h, u, l, m) {
195
195
  let c = e.length, d = s.length, b = c;
196
196
  const y = {};
197
197
  for (; b--; )
198
198
  y[e[b].key] = b;
199
- const T = [], M = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
199
+ const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
200
200
  for (b = d; b--; ) {
201
- const E = m(i, s, b), B = r(E);
202
- let L = o.get(B);
203
- L ? w.push(() => L.p(E, t)) : (L = u(B, E), L.c()), M.set(B, T[b] = L), B in y && P.set(B, Math.abs(b - y[B]));
201
+ const E = m(i, s, b), A = r(E);
202
+ let L = o.get(A);
203
+ L ? w.push(() => L.p(E, t)) : (L = u(A, E), L.c()), C.set(A, T[b] = L), A in y && P.set(A, Math.abs(b - y[A]));
204
204
  }
205
205
  const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
206
- function C(E) {
207
- Xt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
206
+ function M(E) {
207
+ jt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
208
208
  }
209
209
  for (; c && d; ) {
210
- const E = T[d - 1], B = e[c - 1], L = E.key, F = B.key;
211
- E === B ? (l = E.first, c--, d--) : M.has(F) ? !o.has(L) || N.has(L) ? C(E) : O.has(F) ? c-- : P.get(L) > P.get(F) ? (O.add(L), C(E)) : (N.add(F), c--) : (h(B, o), c--);
210
+ const E = T[d - 1], A = e[c - 1], L = E.key, F = A.key;
211
+ E === A ? (l = E.first, c--, d--) : C.has(F) ? !o.has(L) || N.has(L) ? M(E) : O.has(F) ? c-- : P.get(L) > P.get(F) ? (O.add(L), M(E)) : (N.add(F), c--) : (h(A, o), c--);
212
212
  }
213
213
  for (; c--; ) {
214
214
  const E = e[c];
215
- M.has(E.key) || h(E, o);
215
+ C.has(E.key) || h(E, o);
216
216
  }
217
217
  for (; d; )
218
- C(T[d - 1]);
218
+ M(T[d - 1]);
219
219
  return re(w), T;
220
220
  }
221
- function Wr(e, t, r) {
221
+ function jr(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
- n && n.m(t, r), je(() => {
224
- const s = e.$$.on_mount.map(Ut).filter(nt);
223
+ n && n.m(t, r), $e(() => {
224
+ const s = e.$$.on_mount.map(Mt).filter(rt);
225
225
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
226
- }), i.forEach(je);
226
+ }), i.forEach($e);
227
227
  }
228
- function zr(e, t) {
228
+ function kr(e, t) {
229
229
  const r = e.$$;
230
- r.fragment !== null && (Vr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
230
+ r.fragment !== null && (Fr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
- function Zr(e, t) {
233
- e.$$.dirty[0] === -1 && (Q.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
+ function Vr(e, t) {
233
+ e.$$.dirty[0] === -1 && (Q.push(e), $t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
- function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
235
+ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
236
236
  const h = ue;
237
237
  ae(e);
238
238
  const u = e.$$ = {
@@ -242,7 +242,7 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
242
242
  props: s,
243
243
  update: I,
244
244
  not_equal: i,
245
- bound: dt(),
245
+ bound: ct(),
246
246
  // lifecycle
247
247
  on_mount: [],
248
248
  on_destroy: [],
@@ -251,7 +251,7 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
251
251
  after_update: [],
252
252
  context: new Map(t.context || (h ? h.$$.context : [])),
253
253
  // everything else
254
- callbacks: dt(),
254
+ callbacks: ct(),
255
255
  dirty: a,
256
256
  skip_bound: !1,
257
257
  root: t.target || h.$$.root
@@ -260,19 +260,19 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
260
260
  let l = !1;
261
261
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
262
262
  const b = d.length ? d[0] : c;
263
- return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Zr(e, m)), c;
263
+ return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Vr(e, m)), c;
264
264
  }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
- const m = Ur(t.target);
266
+ const m = Cr(t.target);
267
267
  u.fragment && u.fragment.l(m), m.forEach(ne);
268
268
  } else
269
269
  u.fragment && u.fragment.c();
270
- t.intro && Xt(e.$$.fragment), Wr(e, t.target, t.anchor), S();
270
+ t.intro && jt(e.$$.fragment), jr(e, t.target, t.anchor), S();
271
271
  }
272
272
  ae(h);
273
273
  }
274
- let Wt;
275
- typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
274
+ let kt;
275
+ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
276
276
  /** The Svelte component constructor */
277
277
  $$ctor;
278
278
  /** Slots */
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
331
331
  };
332
332
  if (await Promise.resolve(), !this.$$cn || this.$$c)
333
333
  return;
334
- const t = {}, r = Dr(this);
334
+ const t = {}, r = Mr(this);
335
335
  for (const i of this.$$s)
336
336
  i in r && (t[i] = [e(i)]);
337
337
  for (const i of this.attributes) {
@@ -418,8 +418,8 @@ function ve(e, t, r, n) {
418
418
  return t;
419
419
  }
420
420
  }
421
- function Yr(e, t, r, n, i, s) {
422
- let o = class extends Wt {
421
+ function Wr(e, t, r, n, i, s) {
422
+ let o = class extends kt {
423
423
  constructor() {
424
424
  super(e, r, i), this.$$p_d = t;
425
425
  }
@@ -447,7 +447,7 @@ function Yr(e, t, r, n, i, s) {
447
447
  }), e.element = /** @type {any} */
448
448
  o, o;
449
449
  }
450
- class qr {
450
+ class zr {
451
451
  /**
452
452
  * ### PRIVATE API
453
453
  *
@@ -466,7 +466,7 @@ class qr {
466
466
  $$set = void 0;
467
467
  /** @returns {void} */
468
468
  $destroy() {
469
- zr(this, 1), this.$destroy = I;
469
+ kr(this, 1), this.$destroy = I;
470
470
  }
471
471
  /**
472
472
  * @template {Extract<keyof Events, string>} K
@@ -475,7 +475,7 @@ class qr {
475
475
  * @returns {() => void}
476
476
  */
477
477
  $on(t, r) {
478
- if (!nt(r))
478
+ if (!rt(r))
479
479
  return I;
480
480
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
481
481
  return n.push(r), () => {
@@ -488,11 +488,11 @@ class qr {
488
488
  * @returns {void}
489
489
  */
490
490
  $set(t) {
491
- this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
491
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
492
  }
493
493
  }
494
- const Jr = "4";
495
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
494
+ const Zr = "4";
495
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
496
496
  /*! *****************************************************************************
497
497
  Copyright (c) Microsoft Corporation.
498
498
 
@@ -507,18 +507,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
507
507
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
508
508
  PERFORMANCE OF THIS SOFTWARE.
509
509
  ***************************************************************************** */
510
- var ke = function(e, t) {
511
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
510
+ var je = function(e, t) {
511
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
512
512
  r.__proto__ = n;
513
513
  } || function(r, n) {
514
514
  for (var i in n)
515
515
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
516
- }, ke(e, t);
516
+ }, je(e, t);
517
517
  };
518
518
  function U(e, t) {
519
519
  if (typeof t != "function" && t !== null)
520
520
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
521
- ke(e, t);
521
+ je(e, t);
522
522
  function r() {
523
523
  this.constructor = e;
524
524
  }
@@ -534,7 +534,7 @@ var v = function() {
534
534
  return t;
535
535
  }, v.apply(this, arguments);
536
536
  };
537
- function Kr(e, t) {
537
+ function Qr(e, t) {
538
538
  var r = {};
539
539
  for (var n in e)
540
540
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -543,7 +543,7 @@ function Kr(e, t) {
543
543
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
544
544
  return r;
545
545
  }
546
- function Ve(e) {
546
+ function ke(e) {
547
547
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
548
548
  if (r)
549
549
  return r.call(e);
@@ -555,7 +555,7 @@ function Ve(e) {
555
555
  };
556
556
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
557
557
  }
558
- function Xe(e, t) {
558
+ function Ve(e, t) {
559
559
  var r = typeof Symbol == "function" && e[Symbol.iterator];
560
560
  if (!r)
561
561
  return e;
@@ -584,13 +584,13 @@ function q(e, t, r) {
584
584
  function G(e) {
585
585
  return typeof e == "function";
586
586
  }
587
- function zt(e) {
587
+ function Vt(e) {
588
588
  var t = function(n) {
589
589
  Error.call(n), n.stack = new Error().stack;
590
590
  }, r = e(t);
591
591
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
592
592
  }
593
- var Ie = zt(function(e) {
593
+ var Ie = Vt(function(e) {
594
594
  return function(r) {
595
595
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
596
596
  ` + r.map(function(n, i) {
@@ -599,7 +599,7 @@ var Ie = zt(function(e) {
599
599
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
600
600
  };
601
601
  });
602
- function We(e, t) {
602
+ function Xe(e, t) {
603
603
  if (e) {
604
604
  var r = e.indexOf(t);
605
605
  0 <= r && e.splice(r, 1);
@@ -617,7 +617,7 @@ var Te = function() {
617
617
  if (o)
618
618
  if (this._parentage = null, Array.isArray(o))
619
619
  try {
620
- for (var a = Ve(o), h = a.next(); !h.done; h = a.next()) {
620
+ for (var a = ke(o), h = a.next(); !h.done; h = a.next()) {
621
621
  var u = h.value;
622
622
  u.remove(this);
623
623
  }
@@ -644,12 +644,12 @@ var Te = function() {
644
644
  if (m) {
645
645
  this._finalizers = null;
646
646
  try {
647
- for (var c = Ve(m), d = c.next(); !d.done; d = c.next()) {
647
+ for (var c = ke(m), d = c.next(); !d.done; d = c.next()) {
648
648
  var b = d.value;
649
649
  try {
650
- pt(b);
650
+ mt(b);
651
651
  } catch (y) {
652
- s = s ?? [], y instanceof Ie ? s = q(q([], Xe(s)), Xe(y.errors)) : s.push(y);
652
+ s = s ?? [], y instanceof Ie ? s = q(q([], Ve(s)), Ve(y.errors)) : s.push(y);
653
653
  }
654
654
  }
655
655
  } catch (y) {
@@ -670,7 +670,7 @@ var Te = function() {
670
670
  var r;
671
671
  if (t && t !== this)
672
672
  if (this.closed)
673
- pt(t);
673
+ mt(t);
674
674
  else {
675
675
  if (t instanceof e) {
676
676
  if (t.closed || t._hasParent(this))
@@ -687,56 +687,56 @@ var Te = function() {
687
687
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
688
688
  }, e.prototype._removeParent = function(t) {
689
689
  var r = this._parentage;
690
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
690
+ r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
691
691
  }, e.prototype.remove = function(t) {
692
692
  var r = this._finalizers;
693
- r && We(r, t), t instanceof e && t._removeParent(this);
693
+ r && Xe(r, t), t instanceof e && t._removeParent(this);
694
694
  }, e.EMPTY = function() {
695
695
  var t = new e();
696
696
  return t.closed = !0, t;
697
697
  }(), e;
698
- }(), Zt = Te.EMPTY;
699
- function Qt(e) {
698
+ }(), Xt = Te.EMPTY;
699
+ function Wt(e) {
700
700
  return e instanceof Te || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
701
701
  }
702
- function pt(e) {
702
+ function mt(e) {
703
703
  G(e) ? e() : e.unsubscribe();
704
704
  }
705
- var Yt = {
705
+ var Yr = {
706
706
  onUnhandledError: null,
707
707
  onStoppedNotification: null,
708
708
  Promise: void 0,
709
709
  useDeprecatedSynchronousErrorHandling: !1,
710
710
  useDeprecatedNextContext: !1
711
- }, en = {
711
+ }, qr = {
712
712
  setTimeout: function(e, t) {
713
713
  for (var r = [], n = 2; n < arguments.length; n++)
714
714
  r[n - 2] = arguments[n];
715
- return setTimeout.apply(void 0, q([e, t], Xe(r)));
715
+ return setTimeout.apply(void 0, q([e, t], Ve(r)));
716
716
  },
717
717
  clearTimeout: function(e) {
718
718
  return clearTimeout(e);
719
719
  },
720
720
  delegate: void 0
721
721
  };
722
- function tn(e) {
723
- en.setTimeout(function() {
722
+ function Jr(e) {
723
+ qr.setTimeout(function() {
724
724
  throw e;
725
725
  });
726
726
  }
727
- function gt() {
727
+ function dt() {
728
728
  }
729
729
  function _e(e) {
730
730
  e();
731
731
  }
732
- var qt = function(e) {
732
+ var zt = function(e) {
733
733
  U(t, e);
734
734
  function t(r) {
735
735
  var n = e.call(this) || this;
736
- return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = on, n;
736
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = tn, n;
737
737
  }
738
738
  return t.create = function(r, n, i) {
739
- return new ze(r, n, i);
739
+ return new We(r, n, i);
740
740
  }, t.prototype.next = function(r) {
741
741
  this.isStopped || this._next(r);
742
742
  }, t.prototype.error = function(r) {
@@ -760,11 +760,7 @@ var qt = function(e) {
760
760
  this.unsubscribe();
761
761
  }
762
762
  }, t;
763
- }(Te), rn = Function.prototype.bind;
764
- function Me(e, t) {
765
- return rn.call(e, t);
766
- }
767
- var nn = function() {
763
+ }(Te), Kr = function() {
768
764
  function e(t) {
769
765
  this.partialObserver = t;
770
766
  }
@@ -795,55 +791,43 @@ var nn = function() {
795
791
  ge(r);
796
792
  }
797
793
  }, e;
798
- }(), ze = function(e) {
794
+ }(), We = function(e) {
799
795
  U(t, e);
800
796
  function t(r, n, i) {
801
797
  var s = e.call(this) || this, o;
802
- if (G(r) || !r)
803
- o = {
804
- next: r ?? void 0,
805
- error: n ?? void 0,
806
- complete: i ?? void 0
807
- };
808
- else {
809
- var a;
810
- s && Yt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
811
- return s.unsubscribe();
812
- }, o = {
813
- next: r.next && Me(r.next, a),
814
- error: r.error && Me(r.error, a),
815
- complete: r.complete && Me(r.complete, a)
816
- }) : o = r;
817
- }
818
- return s.destination = new nn(o), s;
798
+ return G(r) || !r ? o = {
799
+ next: r ?? void 0,
800
+ error: n ?? void 0,
801
+ complete: i ?? void 0
802
+ } : o = r, s.destination = new Kr(o), s;
819
803
  }
820
804
  return t;
821
- }(qt);
805
+ }(zt);
822
806
  function ge(e) {
823
- tn(e);
807
+ Jr(e);
824
808
  }
825
- function sn(e) {
809
+ function en(e) {
826
810
  throw e;
827
811
  }
828
- var on = {
812
+ var tn = {
829
813
  closed: !0,
830
- next: gt,
831
- error: sn,
832
- complete: gt
833
- }, an = function() {
814
+ next: dt,
815
+ error: en,
816
+ complete: dt
817
+ }, rn = function() {
834
818
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
835
819
  }();
836
- function un(e) {
820
+ function nn(e) {
837
821
  return e;
838
822
  }
839
- function hn(e) {
840
- return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
823
+ function sn(e) {
824
+ return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
841
825
  return e.reduce(function(n, i) {
842
826
  return i(n);
843
827
  }, r);
844
828
  };
845
829
  }
846
- var yt = function() {
830
+ var bt = function() {
847
831
  function e(t) {
848
832
  t && (this._subscribe = t);
849
833
  }
@@ -851,7 +835,7 @@ var yt = function() {
851
835
  var r = new e();
852
836
  return r.source = this, r.operator = t, r;
853
837
  }, e.prototype.subscribe = function(t, r, n) {
854
- var i = this, s = cn(t) ? t : new ze(t, r, n);
838
+ var i = this, s = an(t) ? t : new We(t, r, n);
855
839
  return _e(function() {
856
840
  var o = i, a = o.operator, h = o.source;
857
841
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
@@ -864,8 +848,8 @@ var yt = function() {
864
848
  }
865
849
  }, e.prototype.forEach = function(t, r) {
866
850
  var n = this;
867
- return r = vt(r), new r(function(i, s) {
868
- var o = new ze({
851
+ return r = pt(r), new r(function(i, s) {
852
+ var o = new We({
869
853
  next: function(a) {
870
854
  try {
871
855
  t(a);
@@ -881,15 +865,15 @@ var yt = function() {
881
865
  }, e.prototype._subscribe = function(t) {
882
866
  var r;
883
867
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
884
- }, e.prototype[an] = function() {
868
+ }, e.prototype[rn] = function() {
885
869
  return this;
886
870
  }, e.prototype.pipe = function() {
887
871
  for (var t = [], r = 0; r < arguments.length; r++)
888
872
  t[r] = arguments[r];
889
- return hn(t)(this);
873
+ return sn(t)(this);
890
874
  }, e.prototype.toPromise = function(t) {
891
875
  var r = this;
892
- return t = vt(t), new t(function(n, i) {
876
+ return t = pt(t), new t(function(n, i) {
893
877
  var s;
894
878
  r.subscribe(function(o) {
895
879
  return s = o;
@@ -903,32 +887,32 @@ var yt = function() {
903
887
  return new e(t);
904
888
  }, e;
905
889
  }();
906
- function vt(e) {
890
+ function pt(e) {
907
891
  var t;
908
- return (t = e ?? Yt.Promise) !== null && t !== void 0 ? t : Promise;
892
+ return (t = e ?? Yr.Promise) !== null && t !== void 0 ? t : Promise;
909
893
  }
910
- function ln(e) {
894
+ function on(e) {
911
895
  return e && G(e.next) && G(e.error) && G(e.complete);
912
896
  }
913
- function cn(e) {
914
- return e && e instanceof qt || ln(e) && Qt(e);
897
+ function an(e) {
898
+ return e && e instanceof zt || on(e) && Wt(e);
915
899
  }
916
- var fn = zt(function(e) {
900
+ var un = Vt(function(e) {
917
901
  return function() {
918
902
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
919
903
  };
920
- }), Jt = function(e) {
904
+ }), Zt = function(e) {
921
905
  U(t, e);
922
906
  function t() {
923
907
  var r = e.call(this) || this;
924
908
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
925
909
  }
926
910
  return t.prototype.lift = function(r) {
927
- var n = new _t(this, this);
911
+ var n = new gt(this, this);
928
912
  return n.operator = r, n;
929
913
  }, t.prototype._throwIfClosed = function() {
930
914
  if (this.closed)
931
- throw new fn();
915
+ throw new un();
932
916
  }, t.prototype.next = function(r) {
933
917
  var n = this;
934
918
  _e(function() {
@@ -936,7 +920,7 @@ var fn = zt(function(e) {
936
920
  if (n._throwIfClosed(), !n.isStopped) {
937
921
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
938
922
  try {
939
- for (var o = Ve(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
923
+ for (var o = ke(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
940
924
  var h = a.value;
941
925
  h.next(r);
942
926
  }
@@ -985,19 +969,19 @@ var fn = zt(function(e) {
985
969
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
986
970
  }, t.prototype._innerSubscribe = function(r) {
987
971
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
988
- return s || o ? Zt : (this.currentObservers = null, a.push(r), new Te(function() {
989
- n.currentObservers = null, We(a, r);
972
+ return s || o ? Xt : (this.currentObservers = null, a.push(r), new Te(function() {
973
+ n.currentObservers = null, Xe(a, r);
990
974
  }));
991
975
  }, t.prototype._checkFinalizedStatuses = function(r) {
992
976
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
993
977
  i ? r.error(s) : o && r.complete();
994
978
  }, t.prototype.asObservable = function() {
995
- var r = new yt();
979
+ var r = new bt();
996
980
  return r.source = this, r;
997
981
  }, t.create = function(r, n) {
998
- return new _t(r, n);
982
+ return new gt(r, n);
999
983
  }, t;
1000
- }(yt), _t = function(e) {
984
+ }(bt), gt = function(e) {
1001
985
  U(t, e);
1002
986
  function t(r, n) {
1003
987
  var i = e.call(this) || this;
@@ -1014,17 +998,17 @@ var fn = zt(function(e) {
1014
998
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1015
999
  }, t.prototype._subscribe = function(r) {
1016
1000
  var n, i;
1017
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
1001
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
1018
1002
  }, t;
1019
- }(Jt), Kt = {
1003
+ }(Zt), Qt = {
1020
1004
  now: function() {
1021
- return (Kt.delegate || Date).now();
1005
+ return (Qt.delegate || Date).now();
1022
1006
  },
1023
1007
  delegate: void 0
1024
- }, mn = function(e) {
1008
+ }, hn = function(e) {
1025
1009
  U(t, e);
1026
1010
  function t(r, n, i) {
1027
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1011
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
1028
1012
  var s = e.call(this) || this;
1029
1013
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1030
1014
  }
@@ -1044,15 +1028,15 @@ var fn = zt(function(e) {
1044
1028
  u && s.splice(0, u + 1);
1045
1029
  }
1046
1030
  }, t;
1047
- }(Jt);
1048
- const Et = [], xt = {}, dn = (e, t = 0) => {
1049
- if (Et.indexOf(e) == -1) {
1050
- const r = new mn(t);
1051
- xt[e] = r, Et.push(e);
1031
+ }(Zt);
1032
+ const yt = [], vt = {}, ln = (e, t = 0) => {
1033
+ if (yt.indexOf(e) == -1) {
1034
+ const r = new hn(t);
1035
+ vt[e] = r, yt.push(e);
1052
1036
  }
1053
- return xt[e];
1037
+ return vt[e];
1054
1038
  }, Z = [];
1055
- function bn(e, t) {
1039
+ function cn(e, t) {
1056
1040
  return {
1057
1041
  subscribe: He(e, t).subscribe
1058
1042
  };
@@ -1061,7 +1045,7 @@ function He(e, t = I) {
1061
1045
  let r;
1062
1046
  const n = /* @__PURE__ */ new Set();
1063
1047
  function i(a) {
1064
- if (Dt(e, a) && (e = a, r)) {
1048
+ if (Rt(e, a) && (e = a, r)) {
1065
1049
  const h = !Z.length;
1066
1050
  for (const u of n)
1067
1051
  u[1](), Z.push(u, e);
@@ -1088,7 +1072,7 @@ function ie(e, t, r) {
1088
1072
  if (!i.every(Boolean))
1089
1073
  throw new Error("derived() expects stores as input, got a falsy value");
1090
1074
  const s = t.length < 2;
1091
- return bn(r, (o, a) => {
1075
+ return cn(r, (o, a) => {
1092
1076
  let h = !1;
1093
1077
  const u = [];
1094
1078
  let l = 0, m = I;
@@ -1097,9 +1081,9 @@ function ie(e, t, r) {
1097
1081
  return;
1098
1082
  m();
1099
1083
  const b = t(n ? u[0] : u, o, a);
1100
- s ? o(b) : m = nt(b) ? b : I;
1084
+ s ? o(b) : m = rt(b) ? b : I;
1101
1085
  }, d = i.map(
1102
- (b, y) => Ft(
1086
+ (b, y) => Gt(
1103
1087
  b,
1104
1088
  (T) => {
1105
1089
  u[y] = T, l &= ~(1 << y), h && c();
@@ -1114,70 +1098,70 @@ function ie(e, t, r) {
1114
1098
  };
1115
1099
  });
1116
1100
  }
1117
- function pn(e) {
1118
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1101
+ function fn(e) {
1102
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1119
1103
  }
1120
- var gn = function(t) {
1121
- return yn(t) && !vn(t);
1104
+ var mn = function(t) {
1105
+ return dn(t) && !bn(t);
1122
1106
  };
1123
- function yn(e) {
1107
+ function dn(e) {
1124
1108
  return !!e && typeof e == "object";
1125
1109
  }
1126
- function vn(e) {
1110
+ function bn(e) {
1127
1111
  var t = Object.prototype.toString.call(e);
1128
- return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1112
+ return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1129
1113
  }
1130
- var _n = typeof Symbol == "function" && Symbol.for, En = _n ? Symbol.for("react.element") : 60103;
1131
- function xn(e) {
1132
- return e.$$typeof === En;
1114
+ var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
1115
+ function yn(e) {
1116
+ return e.$$typeof === gn;
1133
1117
  }
1134
- function Sn(e) {
1118
+ function vn(e) {
1135
1119
  return Array.isArray(e) ? [] : {};
1136
1120
  }
1137
1121
  function he(e, t) {
1138
- return t.clone !== !1 && t.isMergeableObject(e) ? J(Sn(e), e, t) : e;
1122
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(vn(e), e, t) : e;
1139
1123
  }
1140
- function wn(e, t, r) {
1124
+ function _n(e, t, r) {
1141
1125
  return e.concat(t).map(function(n) {
1142
1126
  return he(n, r);
1143
1127
  });
1144
1128
  }
1145
- function Tn(e, t) {
1129
+ function En(e, t) {
1146
1130
  if (!t.customMerge)
1147
1131
  return J;
1148
1132
  var r = t.customMerge(e);
1149
1133
  return typeof r == "function" ? r : J;
1150
1134
  }
1151
- function Hn(e) {
1135
+ function xn(e) {
1152
1136
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1153
1137
  return Object.propertyIsEnumerable.call(e, t);
1154
1138
  }) : [];
1155
1139
  }
1156
- function St(e) {
1157
- return Object.keys(e).concat(Hn(e));
1140
+ function _t(e) {
1141
+ return Object.keys(e).concat(xn(e));
1158
1142
  }
1159
- function er(e, t) {
1143
+ function Yt(e, t) {
1160
1144
  try {
1161
1145
  return t in e;
1162
1146
  } catch {
1163
1147
  return !1;
1164
1148
  }
1165
1149
  }
1166
- function Bn(e, t) {
1167
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1150
+ function Sn(e, t) {
1151
+ return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1168
1152
  }
1169
- function An(e, t, r) {
1153
+ function wn(e, t, r) {
1170
1154
  var n = {};
1171
- return r.isMergeableObject(e) && St(e).forEach(function(i) {
1155
+ return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1172
1156
  n[i] = he(e[i], r);
1173
- }), St(t).forEach(function(i) {
1174
- Bn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1157
+ }), _t(t).forEach(function(i) {
1158
+ Sn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1175
1159
  }), n;
1176
1160
  }
1177
1161
  function J(e, t, r) {
1178
- r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = he;
1162
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = he;
1179
1163
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1180
- return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : he(t, r);
1164
+ return s ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : he(t, r);
1181
1165
  }
1182
1166
  J.all = function(t, r) {
1183
1167
  if (!Array.isArray(t))
@@ -1186,58 +1170,60 @@ J.all = function(t, r) {
1186
1170
  return J(n, i, r);
1187
1171
  }, {});
1188
1172
  };
1189
- var Pn = J, Nn = Pn;
1190
- const On = /* @__PURE__ */ pn(Nn);
1173
+ var Tn = J, Hn = Tn;
1174
+ const An = /* @__PURE__ */ fn(Hn);
1191
1175
  function Ce(e, t) {
1192
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : In;
1176
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Pn;
1193
1177
  return i(e, {
1194
1178
  cache: r,
1195
1179
  serializer: n
1196
1180
  });
1197
1181
  }
1198
- function Ln(e) {
1182
+ function Bn(e) {
1199
1183
  return e == null || typeof e == "number" || typeof e == "boolean";
1200
1184
  }
1201
- function tr(e, t, r, n) {
1202
- var i = Ln(n) ? n : r(n), s = t.get(i);
1185
+ function qt(e, t, r, n) {
1186
+ var i = Bn(n) ? n : r(n), s = t.get(i);
1203
1187
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1204
1188
  }
1205
- function rr(e, t, r) {
1189
+ function Jt(e, t, r) {
1206
1190
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1207
1191
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1208
1192
  }
1209
- function it(e, t, r, n, i) {
1193
+ function nt(e, t, r, n, i) {
1210
1194
  return r.bind(t, e, n, i);
1211
1195
  }
1212
- function In(e, t) {
1213
- var r = e.length === 1 ? tr : rr;
1214
- return it(e, this, r, t.cache.create(), t.serializer);
1196
+ function Pn(e, t) {
1197
+ var r = e.length === 1 ? qt : Jt;
1198
+ return nt(e, this, r, t.cache.create(), t.serializer);
1215
1199
  }
1216
- function Mn(e, t) {
1217
- return it(e, this, rr, t.cache.create(), t.serializer);
1200
+ function Nn(e, t) {
1201
+ return nt(e, this, Jt, t.cache.create(), t.serializer);
1218
1202
  }
1219
- function Cn(e, t) {
1220
- return it(e, this, tr, t.cache.create(), t.serializer);
1203
+ function On(e, t) {
1204
+ return nt(e, this, qt, t.cache.create(), t.serializer);
1221
1205
  }
1222
- var Rn = function() {
1206
+ var Ln = function() {
1223
1207
  return JSON.stringify(arguments);
1224
- };
1225
- function st() {
1226
- this.cache = /* @__PURE__ */ Object.create(null);
1227
- }
1228
- st.prototype.get = function(e) {
1229
- return this.cache[e];
1230
- };
1231
- st.prototype.set = function(e, t) {
1232
- this.cache[e] = t;
1233
- };
1234
- var Gn = {
1208
+ }, In = (
1209
+ /** @class */
1210
+ function() {
1211
+ function e() {
1212
+ this.cache = /* @__PURE__ */ Object.create(null);
1213
+ }
1214
+ return e.prototype.get = function(t) {
1215
+ return this.cache[t];
1216
+ }, e.prototype.set = function(t, r) {
1217
+ this.cache[t] = r;
1218
+ }, e;
1219
+ }()
1220
+ ), Cn = {
1235
1221
  create: function() {
1236
- return new st();
1222
+ return new In();
1237
1223
  }
1238
- }, Re = {
1239
- variadic: Mn,
1240
- monadic: Cn
1224
+ }, Me = {
1225
+ variadic: Nn,
1226
+ monadic: On
1241
1227
  }, p;
1242
1228
  (function(e) {
1243
1229
  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";
@@ -1250,43 +1236,43 @@ var K;
1250
1236
  (function(e) {
1251
1237
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1252
1238
  })(K || (K = {}));
1253
- function wt(e) {
1239
+ function Et(e) {
1254
1240
  return e.type === x.literal;
1255
1241
  }
1256
- function Un(e) {
1242
+ function Mn(e) {
1257
1243
  return e.type === x.argument;
1258
1244
  }
1259
- function nr(e) {
1245
+ function Kt(e) {
1260
1246
  return e.type === x.number;
1261
1247
  }
1262
- function ir(e) {
1248
+ function er(e) {
1263
1249
  return e.type === x.date;
1264
1250
  }
1265
- function sr(e) {
1251
+ function tr(e) {
1266
1252
  return e.type === x.time;
1267
1253
  }
1268
- function or(e) {
1254
+ function rr(e) {
1269
1255
  return e.type === x.select;
1270
1256
  }
1271
- function ar(e) {
1257
+ function nr(e) {
1272
1258
  return e.type === x.plural;
1273
1259
  }
1274
- function Dn(e) {
1260
+ function Rn(e) {
1275
1261
  return e.type === x.pound;
1276
1262
  }
1277
- function ur(e) {
1263
+ function ir(e) {
1278
1264
  return e.type === x.tag;
1279
1265
  }
1280
- function hr(e) {
1266
+ function sr(e) {
1281
1267
  return !!(e && typeof e == "object" && e.type === K.number);
1282
1268
  }
1283
- function Ze(e) {
1269
+ function ze(e) {
1284
1270
  return !!(e && typeof e == "object" && e.type === K.dateTime);
1285
1271
  }
1286
- var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
1287
- function $n(e) {
1272
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1273
+ function Un(e) {
1288
1274
  var t = {};
1289
- return e.replace(Fn, function(r) {
1275
+ return e.replace(Gn, function(r) {
1290
1276
  var n = r.length;
1291
1277
  switch (r[0]) {
1292
1278
  case "G":
@@ -1375,11 +1361,11 @@ function $n(e) {
1375
1361
  return "";
1376
1362
  }), t;
1377
1363
  }
1378
- var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1379
- function kn(e) {
1364
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1365
+ function Fn(e) {
1380
1366
  if (e.length === 0)
1381
1367
  throw new Error("Number skeleton cannot be empty");
1382
- for (var t = e.split(jn).filter(function(c) {
1368
+ for (var t = e.split(Dn).filter(function(c) {
1383
1369
  return c.length > 0;
1384
1370
  }), r = [], n = 0, i = t; n < i.length; n++) {
1385
1371
  var s = i[n], o = s.split("/");
@@ -1394,17 +1380,17 @@ function kn(e) {
1394
1380
  }
1395
1381
  return r;
1396
1382
  }
1397
- function Vn(e) {
1383
+ function $n(e) {
1398
1384
  return e.replace(/^(.*?)-/, "");
1399
1385
  }
1400
- var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1401
- function Ht(e) {
1386
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1387
+ function St(e) {
1402
1388
  var t = {};
1403
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1389
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1404
1390
  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)), "";
1405
1391
  }), t;
1406
1392
  }
1407
- function mr(e) {
1393
+ function hr(e) {
1408
1394
  switch (e) {
1409
1395
  case "sign-auto":
1410
1396
  return {
@@ -1444,7 +1430,7 @@ function mr(e) {
1444
1430
  };
1445
1431
  }
1446
1432
  }
1447
- function Wn(e) {
1433
+ function kn(e) {
1448
1434
  var t;
1449
1435
  if (e[0] === "E" && e[1] === "E" ? (t = {
1450
1436
  notation: "engineering"
@@ -1452,17 +1438,17 @@ function Wn(e) {
1452
1438
  notation: "scientific"
1453
1439
  }, e = e.slice(1)), t) {
1454
1440
  var r = e.slice(0, 2);
1455
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1441
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1456
1442
  throw new Error("Malformed concise eng/scientific notation");
1457
1443
  t.minimumIntegerDigits = e.length;
1458
1444
  }
1459
1445
  return t;
1460
1446
  }
1461
- function Bt(e) {
1462
- var t = {}, r = mr(e);
1447
+ function wt(e) {
1448
+ var t = {}, r = hr(e);
1463
1449
  return r || t;
1464
1450
  }
1465
- function zn(e) {
1451
+ function Vn(e) {
1466
1452
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1467
1453
  var i = n[r];
1468
1454
  switch (i.stem) {
@@ -1486,7 +1472,7 @@ function zn(e) {
1486
1472
  continue;
1487
1473
  case "measure-unit":
1488
1474
  case "unit":
1489
- t.style = "unit", t.unit = Vn(i.options[0]);
1475
+ t.style = "unit", t.unit = $n(i.options[0]);
1490
1476
  continue;
1491
1477
  case "compact-short":
1492
1478
  case "K":
@@ -1498,12 +1484,12 @@ function zn(e) {
1498
1484
  continue;
1499
1485
  case "scientific":
1500
1486
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1501
- return v(v({}, h), Bt(u));
1487
+ return v(v({}, h), wt(u));
1502
1488
  }, {}));
1503
1489
  continue;
1504
1490
  case "engineering":
1505
1491
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1506
- return v(v({}, h), Bt(u));
1492
+ return v(v({}, h), wt(u));
1507
1493
  }, {}));
1508
1494
  continue;
1509
1495
  case "notation-simple":
@@ -1548,7 +1534,7 @@ function zn(e) {
1548
1534
  case "integer-width":
1549
1535
  if (i.options.length > 1)
1550
1536
  throw new RangeError("integer-width stems only accept a single optional option");
1551
- i.options[0].replace(Xn, function(h, u, l, m, c, d) {
1537
+ i.options[0].replace(jn, function(h, u, l, m, c, d) {
1552
1538
  if (u)
1553
1539
  t.minimumIntegerDigits = l.length;
1554
1540
  else {
@@ -1561,27 +1547,27 @@ function zn(e) {
1561
1547
  });
1562
1548
  continue;
1563
1549
  }
1564
- if (fr.test(i.stem)) {
1550
+ if (ur.test(i.stem)) {
1565
1551
  t.minimumIntegerDigits = i.stem.length;
1566
1552
  continue;
1567
1553
  }
1568
- if (Tt.test(i.stem)) {
1554
+ if (xt.test(i.stem)) {
1569
1555
  if (i.options.length > 1)
1570
1556
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1571
- i.stem.replace(Tt, function(h, u, l, m, c, d) {
1557
+ i.stem.replace(xt, function(h, u, l, m, c, d) {
1572
1558
  return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1573
1559
  });
1574
1560
  var s = i.options[0];
1575
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Ht(s)));
1561
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), St(s)));
1576
1562
  continue;
1577
1563
  }
1578
- if (cr.test(i.stem)) {
1579
- t = v(v({}, t), Ht(i.stem));
1564
+ if (ar.test(i.stem)) {
1565
+ t = v(v({}, t), St(i.stem));
1580
1566
  continue;
1581
1567
  }
1582
- var o = mr(i.stem);
1568
+ var o = hr(i.stem);
1583
1569
  o && (t = v(v({}, t), o));
1584
- var a = Wn(i.stem);
1570
+ var a = kn(i.stem);
1585
1571
  a && (t = v(v({}, t), a));
1586
1572
  }
1587
1573
  return t;
@@ -3001,13 +2987,13 @@ var ye = {
3001
2987
  "h"
3002
2988
  ]
3003
2989
  };
3004
- function Zn(e, t) {
2990
+ function Xn(e, t) {
3005
2991
  for (var r = "", n = 0; n < e.length; n++) {
3006
2992
  var i = e.charAt(n);
3007
2993
  if (i === "j") {
3008
2994
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3009
2995
  s++, n++;
3010
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Qn(t);
2996
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Wn(t);
3011
2997
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3012
2998
  r += h;
3013
2999
  for (; o-- > 0; )
@@ -3017,7 +3003,7 @@ function Zn(e, t) {
3017
3003
  }
3018
3004
  return r;
3019
3005
  }
3020
- function Qn(e) {
3006
+ function Wn(e) {
3021
3007
  var t = e.hourCycle;
3022
3008
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3023
3009
  e.hourCycles && // @ts-ignore
@@ -3039,20 +3025,20 @@ function Qn(e) {
3039
3025
  var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3040
3026
  return i[0];
3041
3027
  }
3042
- var Ge, Yn = new RegExp("^".concat(lr.source, "*")), qn = new RegExp("".concat(lr.source, "*$"));
3028
+ var Re, zn = new RegExp("^".concat(or.source, "*")), Zn = new RegExp("".concat(or.source, "*$"));
3043
3029
  function g(e, t) {
3044
3030
  return { start: e, end: t };
3045
3031
  }
3046
- var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, si = ii ? Number.isSafeInteger : function(e) {
3032
+ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3047
3033
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3048
- }, Qe = !0;
3034
+ }, Ze = !0;
3049
3035
  try {
3050
- var oi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3051
- Qe = ((Ge = oi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3036
+ var ni = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3037
+ Ze = ((Re = ni.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3052
3038
  } catch {
3053
- Qe = !1;
3039
+ Ze = !1;
3054
3040
  }
3055
- var At = Jn ? (
3041
+ var Tt = Qn ? (
3056
3042
  // Native
3057
3043
  function(t, r, n) {
3058
3044
  return t.startsWith(r, n);
@@ -3062,7 +3048,7 @@ var At = Jn ? (
3062
3048
  function(t, r, n) {
3063
3049
  return t.slice(n, n + r.length) === r;
3064
3050
  }
3065
- ), Ye = Kn ? String.fromCodePoint : (
3051
+ ), Qe = Yn ? String.fromCodePoint : (
3066
3052
  // IE11
3067
3053
  function() {
3068
3054
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3074,9 +3060,9 @@ var At = Jn ? (
3074
3060
  }
3075
3061
  return n;
3076
3062
  }
3077
- ), Pt = (
3063
+ ), Ht = (
3078
3064
  // native
3079
- ei ? Object.fromEntries : (
3065
+ qn ? Object.fromEntries : (
3080
3066
  // Ponyfill
3081
3067
  function(t) {
3082
3068
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3086,7 +3072,7 @@ var At = Jn ? (
3086
3072
  return r;
3087
3073
  }
3088
3074
  )
3089
- ), dr = ti ? (
3075
+ ), lr = Jn ? (
3090
3076
  // Native
3091
3077
  function(t, r) {
3092
3078
  return t.codePointAt(r);
@@ -3100,7 +3086,7 @@ var At = Jn ? (
3100
3086
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3101
3087
  }
3102
3088
  }
3103
- ), ai = ri ? (
3089
+ ), ii = Kn ? (
3104
3090
  // Native
3105
3091
  function(t) {
3106
3092
  return t.trimStart();
@@ -3108,9 +3094,9 @@ var At = Jn ? (
3108
3094
  ) : (
3109
3095
  // Ponyfill
3110
3096
  function(t) {
3111
- return t.replace(Yn, "");
3097
+ return t.replace(zn, "");
3112
3098
  }
3113
- ), ui = ni ? (
3099
+ ), si = ei ? (
3114
3100
  // Native
3115
3101
  function(t) {
3116
3102
  return t.trimEnd();
@@ -3118,32 +3104,32 @@ var At = Jn ? (
3118
3104
  ) : (
3119
3105
  // Ponyfill
3120
3106
  function(t) {
3121
- return t.replace(qn, "");
3107
+ return t.replace(Zn, "");
3122
3108
  }
3123
3109
  );
3124
- function br(e, t) {
3110
+ function cr(e, t) {
3125
3111
  return new RegExp(e, t);
3126
3112
  }
3127
- var qe;
3128
- if (Qe) {
3129
- var Nt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3130
- qe = function(t, r) {
3113
+ var Ye;
3114
+ if (Ze) {
3115
+ var At = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3116
+ Ye = function(t, r) {
3131
3117
  var n;
3132
- Nt.lastIndex = r;
3133
- var i = Nt.exec(t);
3118
+ At.lastIndex = r;
3119
+ var i = At.exec(t);
3134
3120
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3135
3121
  };
3136
3122
  } else
3137
- qe = function(t, r) {
3123
+ Ye = function(t, r) {
3138
3124
  for (var n = []; ; ) {
3139
- var i = dr(t, r);
3140
- if (i === void 0 || pr(i) || fi(i))
3125
+ var i = lr(t, r);
3126
+ if (i === void 0 || fr(i) || hi(i))
3141
3127
  break;
3142
3128
  n.push(i), r += i >= 65536 ? 2 : 1;
3143
3129
  }
3144
- return Ye.apply(void 0, n);
3130
+ return Qe.apply(void 0, n);
3145
3131
  };
3146
- var hi = (
3132
+ var oi = (
3147
3133
  /** @class */
3148
3134
  function() {
3149
3135
  function e(t, r) {
@@ -3174,7 +3160,7 @@ var hi = (
3174
3160
  if (n)
3175
3161
  break;
3176
3162
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3177
- } else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3163
+ } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3178
3164
  var o = this.parseTag(t, r);
3179
3165
  if (o.err)
3180
3166
  return o;
@@ -3207,7 +3193,7 @@ var hi = (
3207
3193
  return s;
3208
3194
  var o = s.val, a = this.clonePosition();
3209
3195
  if (this.bumpIf("</")) {
3210
- if (this.isEOF() || !Je(this.char()))
3196
+ if (this.isEOF() || !qe(this.char()))
3211
3197
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3212
3198
  var h = this.clonePosition(), u = this.parseTagName();
3213
3199
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3225,7 +3211,7 @@ var hi = (
3225
3211
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3226
3212
  }, e.prototype.parseTagName = function() {
3227
3213
  var t = this.offset();
3228
- for (this.bump(); !this.isEOF() && ci(this.char()); )
3214
+ for (this.bump(); !this.isEOF() && ui(this.char()); )
3229
3215
  this.bump();
3230
3216
  return this.message.slice(t, this.offset());
3231
3217
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3254,7 +3240,7 @@ var hi = (
3254
3240
  };
3255
3241
  }, e.prototype.tryParseLeftAngleBracket = function() {
3256
3242
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3257
- !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3243
+ !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3258
3244
  }, e.prototype.tryParseQuote = function(t) {
3259
3245
  if (this.isEOF() || this.char() !== 39)
3260
3246
  return null;
@@ -3288,12 +3274,12 @@ var hi = (
3288
3274
  r.push(n);
3289
3275
  this.bump();
3290
3276
  }
3291
- return Ye.apply(void 0, r);
3277
+ return Qe.apply(void 0, r);
3292
3278
  }, e.prototype.tryParseUnquoted = function(t, r) {
3293
3279
  if (this.isEOF())
3294
3280
  return null;
3295
3281
  var n = this.char();
3296
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3282
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3297
3283
  }, e.prototype.parseArgument = function(t, r) {
3298
3284
  var n = this.clonePosition();
3299
3285
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3322,7 +3308,7 @@ var hi = (
3322
3308
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3323
3309
  }
3324
3310
  }, e.prototype.parseIdentifierIfPossible = function() {
3325
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3311
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3326
3312
  this.bumpTo(i);
3327
3313
  var s = this.clonePosition(), o = g(t, s);
3328
3314
  return { value: n, location: o };
@@ -3341,7 +3327,7 @@ var hi = (
3341
3327
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3342
3328
  if (m.err)
3343
3329
  return m;
3344
- var c = ui(m.val);
3330
+ var c = si(m.val);
3345
3331
  if (c.length === 0)
3346
3332
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3347
3333
  var d = g(l, this.clonePosition());
@@ -3351,8 +3337,8 @@ var hi = (
3351
3337
  if (b.err)
3352
3338
  return b;
3353
3339
  var y = g(i, this.clonePosition());
3354
- if (u && At(u?.style, "::", 0)) {
3355
- var T = ai(u.style.slice(2));
3340
+ if (u && Tt(u?.style, "::", 0)) {
3341
+ var T = ii(u.style.slice(2));
3356
3342
  if (a === "number") {
3357
3343
  var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3358
3344
  return m.err ? m : {
@@ -3362,13 +3348,13 @@ var hi = (
3362
3348
  } else {
3363
3349
  if (T.length === 0)
3364
3350
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3365
- var M = T;
3366
- this.locale && (M = Zn(T, this.locale));
3351
+ var C = T;
3352
+ this.locale && (C = Xn(T, this.locale));
3367
3353
  var c = {
3368
3354
  type: K.dateTime,
3369
- pattern: M,
3355
+ pattern: C,
3370
3356
  location: u.styleLocation,
3371
- parsedOptions: this.shouldParseSkeletons ? $n(M) : {}
3357
+ parsedOptions: this.shouldParseSkeletons ? Un(C) : {}
3372
3358
  }, P = a === "date" ? x.date : x.time;
3373
3359
  return {
3374
3360
  val: { type: P, value: n, location: y, style: c },
@@ -3403,9 +3389,9 @@ var hi = (
3403
3389
  return m;
3404
3390
  this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3405
3391
  }
3406
- var C = this.tryParsePluralOrSelectOptions(t, a, r, N);
3407
- if (C.err)
3408
- return C;
3392
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, N);
3393
+ if (M.err)
3394
+ return M;
3409
3395
  var b = this.tryParseArgumentClose(i);
3410
3396
  if (b.err)
3411
3397
  return b;
@@ -3414,7 +3400,7 @@ var hi = (
3414
3400
  val: {
3415
3401
  type: x.select,
3416
3402
  value: n,
3417
- options: Pt(C.val),
3403
+ options: Ht(M.val),
3418
3404
  location: E
3419
3405
  },
3420
3406
  err: null
@@ -3422,7 +3408,7 @@ var hi = (
3422
3408
  val: {
3423
3409
  type: x.plural,
3424
3410
  value: n,
3425
- options: Pt(C.val),
3411
+ options: Ht(M.val),
3426
3412
  offset: O,
3427
3413
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3428
3414
  location: E
@@ -3473,7 +3459,7 @@ var hi = (
3473
3459
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3474
3460
  var n = [];
3475
3461
  try {
3476
- n = kn(t);
3462
+ n = Fn(t);
3477
3463
  } catch {
3478
3464
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3479
3465
  }
@@ -3482,7 +3468,7 @@ var hi = (
3482
3468
  type: K.number,
3483
3469
  tokens: n,
3484
3470
  location: r,
3485
- parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
3471
+ parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3486
3472
  },
3487
3473
  err: null
3488
3474
  };
@@ -3530,7 +3516,7 @@ var hi = (
3530
3516
  break;
3531
3517
  }
3532
3518
  var h = g(i, this.clonePosition());
3533
- return s ? (o *= n, si(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3519
+ return s ? (o *= n, ri(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3534
3520
  }, e.prototype.offset = function() {
3535
3521
  return this.position.offset;
3536
3522
  }, e.prototype.isEOF = function() {
@@ -3545,7 +3531,7 @@ var hi = (
3545
3531
  var t = this.position.offset;
3546
3532
  if (t >= this.message.length)
3547
3533
  throw Error("out of bound");
3548
- var r = dr(this.message, t);
3534
+ var r = lr(this.message, t);
3549
3535
  if (r === void 0)
3550
3536
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3551
3537
  return r;
@@ -3564,7 +3550,7 @@ var hi = (
3564
3550
  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);
3565
3551
  }
3566
3552
  }, e.prototype.bumpIf = function(t) {
3567
- if (At(this.message, t, this.offset())) {
3553
+ if (Tt(this.message, t, this.offset())) {
3568
3554
  for (var r = 0; r < t.length; r++)
3569
3555
  this.bump();
3570
3556
  return !0;
@@ -3586,7 +3572,7 @@ var hi = (
3586
3572
  break;
3587
3573
  }
3588
3574
  }, e.prototype.bumpSpace = function() {
3589
- for (; !this.isEOF() && pr(this.char()); )
3575
+ for (; !this.isEOF() && fr(this.char()); )
3590
3576
  this.bump();
3591
3577
  }, e.prototype.peek = function() {
3592
3578
  if (this.isEOF())
@@ -3596,44 +3582,44 @@ var hi = (
3596
3582
  }, e;
3597
3583
  }()
3598
3584
  );
3599
- function Je(e) {
3585
+ function qe(e) {
3600
3586
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3601
3587
  }
3602
- function li(e) {
3603
- return Je(e) || e === 47;
3588
+ function ai(e) {
3589
+ return qe(e) || e === 47;
3604
3590
  }
3605
- function ci(e) {
3591
+ function ui(e) {
3606
3592
  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;
3607
3593
  }
3608
- function pr(e) {
3594
+ function fr(e) {
3609
3595
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3610
3596
  }
3611
- function fi(e) {
3597
+ function hi(e) {
3612
3598
  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;
3613
3599
  }
3614
- function Ke(e) {
3600
+ function Je(e) {
3615
3601
  e.forEach(function(t) {
3616
- if (delete t.location, or(t) || ar(t))
3602
+ if (delete t.location, rr(t) || nr(t))
3617
3603
  for (var r in t.options)
3618
- delete t.options[r].location, Ke(t.options[r].value);
3604
+ delete t.options[r].location, Je(t.options[r].value);
3619
3605
  else
3620
- nr(t) && hr(t.style) || (ir(t) || sr(t)) && Ze(t.style) ? delete t.style.location : ur(t) && Ke(t.children);
3606
+ Kt(t) && sr(t.style) || (er(t) || tr(t)) && ze(t.style) ? delete t.style.location : ir(t) && Je(t.children);
3621
3607
  });
3622
3608
  }
3623
- function mi(e, t) {
3609
+ function li(e, t) {
3624
3610
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3625
- var r = new hi(e, t).parse();
3611
+ var r = new oi(e, t).parse();
3626
3612
  if (r.err) {
3627
3613
  var n = SyntaxError(p[r.err.kind]);
3628
3614
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3629
3615
  }
3630
- return t?.captureLocation || Ke(r.val), r.val;
3616
+ return t?.captureLocation || Je(r.val), r.val;
3631
3617
  }
3632
3618
  var ee;
3633
3619
  (function(e) {
3634
3620
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3635
3621
  })(ee || (ee = {}));
3636
- var Be = (
3622
+ var Ae = (
3637
3623
  /** @class */
3638
3624
  function(e) {
3639
3625
  U(t, e);
@@ -3645,7 +3631,7 @@ var Be = (
3645
3631
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3646
3632
  }, t;
3647
3633
  }(Error)
3648
- ), Ot = (
3634
+ ), Bt = (
3649
3635
  /** @class */
3650
3636
  function(e) {
3651
3637
  U(t, e);
@@ -3653,8 +3639,8 @@ var Be = (
3653
3639
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3654
3640
  }
3655
3641
  return t;
3656
- }(Be)
3657
- ), di = (
3642
+ }(Ae)
3643
+ ), ci = (
3658
3644
  /** @class */
3659
3645
  function(e) {
3660
3646
  U(t, e);
@@ -3662,8 +3648,8 @@ var Be = (
3662
3648
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3663
3649
  }
3664
3650
  return t;
3665
- }(Be)
3666
- ), bi = (
3651
+ }(Ae)
3652
+ ), fi = (
3667
3653
  /** @class */
3668
3654
  function(e) {
3669
3655
  U(t, e);
@@ -3671,22 +3657,22 @@ var Be = (
3671
3657
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3672
3658
  }
3673
3659
  return t;
3674
- }(Be)
3660
+ }(Ae)
3675
3661
  ), H;
3676
3662
  (function(e) {
3677
3663
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3678
3664
  })(H || (H = {}));
3679
- function pi(e) {
3665
+ function mi(e) {
3680
3666
  return e.length < 2 ? e : e.reduce(function(t, r) {
3681
3667
  var n = t[t.length - 1];
3682
3668
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3683
3669
  }, []);
3684
3670
  }
3685
- function gi(e) {
3671
+ function di(e) {
3686
3672
  return typeof e == "function";
3687
3673
  }
3688
3674
  function Ee(e, t, r, n, i, s, o) {
3689
- if (e.length === 1 && wt(e[0]))
3675
+ if (e.length === 1 && Et(e[0]))
3690
3676
  return [
3691
3677
  {
3692
3678
  type: H.literal,
@@ -3695,14 +3681,14 @@ function Ee(e, t, r, n, i, s, o) {
3695
3681
  ];
3696
3682
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3697
3683
  var l = u[h];
3698
- if (wt(l)) {
3684
+ if (Et(l)) {
3699
3685
  a.push({
3700
3686
  type: H.literal,
3701
3687
  value: l.value
3702
3688
  });
3703
3689
  continue;
3704
3690
  }
3705
- if (Dn(l)) {
3691
+ if (Rn(l)) {
3706
3692
  typeof s == "number" && a.push({
3707
3693
  type: H.literal,
3708
3694
  value: r.getNumberFormat(t).format(s)
@@ -3711,44 +3697,44 @@ function Ee(e, t, r, n, i, s, o) {
3711
3697
  }
3712
3698
  var m = l.value;
3713
3699
  if (!(i && m in i))
3714
- throw new bi(m, o);
3700
+ throw new fi(m, o);
3715
3701
  var c = i[m];
3716
- if (Un(l)) {
3702
+ if (Mn(l)) {
3717
3703
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3718
3704
  type: typeof c == "string" ? H.literal : H.object,
3719
3705
  value: c
3720
3706
  });
3721
3707
  continue;
3722
3708
  }
3723
- if (ir(l)) {
3724
- var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
3709
+ if (er(l)) {
3710
+ var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3725
3711
  a.push({
3726
3712
  type: H.literal,
3727
3713
  value: r.getDateTimeFormat(t, d).format(c)
3728
3714
  });
3729
3715
  continue;
3730
3716
  }
3731
- if (sr(l)) {
3732
- var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
3717
+ if (tr(l)) {
3718
+ var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3733
3719
  a.push({
3734
3720
  type: H.literal,
3735
3721
  value: r.getDateTimeFormat(t, d).format(c)
3736
3722
  });
3737
3723
  continue;
3738
3724
  }
3739
- if (nr(l)) {
3740
- var d = typeof l.style == "string" ? n.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
3725
+ if (Kt(l)) {
3726
+ var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3741
3727
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3742
3728
  type: H.literal,
3743
3729
  value: r.getNumberFormat(t, d).format(c)
3744
3730
  });
3745
3731
  continue;
3746
3732
  }
3747
- if (ur(l)) {
3733
+ if (ir(l)) {
3748
3734
  var b = l.children, y = l.value, T = i[y];
3749
- if (!gi(T))
3750
- throw new di(y, "function", o);
3751
- var M = Ee(b, t, r, n, i, s), P = T(M.map(function(O) {
3735
+ if (!di(T))
3736
+ throw new ci(y, "function", o);
3737
+ var C = Ee(b, t, r, n, i, s), P = T(C.map(function(O) {
3752
3738
  return O.value;
3753
3739
  }));
3754
3740
  Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
@@ -3758,42 +3744,42 @@ function Ee(e, t, r, n, i, s, o) {
3758
3744
  };
3759
3745
  }));
3760
3746
  }
3761
- if (or(l)) {
3747
+ if (rr(l)) {
3762
3748
  var w = l.options[c] || l.options.other;
3763
3749
  if (!w)
3764
- throw new Ot(l.value, c, Object.keys(l.options), o);
3750
+ throw new Bt(l.value, c, Object.keys(l.options), o);
3765
3751
  a.push.apply(a, Ee(w.value, t, r, n, i));
3766
3752
  continue;
3767
3753
  }
3768
- if (ar(l)) {
3754
+ if (nr(l)) {
3769
3755
  var w = l.options["=".concat(c)];
3770
3756
  if (!w) {
3771
3757
  if (!Intl.PluralRules)
3772
- throw new Be(`Intl.PluralRules is not available in this environment.
3758
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3773
3759
  Try polyfilling it using "@formatjs/intl-pluralrules"
3774
3760
  `, ee.MISSING_INTL_API, o);
3775
3761
  var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3776
3762
  w = l.options[N] || l.options.other;
3777
3763
  }
3778
3764
  if (!w)
3779
- throw new Ot(l.value, c, Object.keys(l.options), o);
3765
+ throw new Bt(l.value, c, Object.keys(l.options), o);
3780
3766
  a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
3781
3767
  continue;
3782
3768
  }
3783
3769
  }
3784
- return pi(a);
3770
+ return mi(a);
3785
3771
  }
3786
- function yi(e, t) {
3772
+ function bi(e, t) {
3787
3773
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3788
3774
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3789
3775
  }, {})) : e;
3790
3776
  }
3791
- function vi(e, t) {
3777
+ function pi(e, t) {
3792
3778
  return t ? Object.keys(e).reduce(function(r, n) {
3793
- return r[n] = yi(e[n], t[n]), r;
3779
+ return r[n] = bi(e[n], t[n]), r;
3794
3780
  }, v({}, e)) : e;
3795
3781
  }
3796
- function Ue(e) {
3782
+ function Ge(e) {
3797
3783
  return {
3798
3784
  create: function() {
3799
3785
  return {
@@ -3807,7 +3793,7 @@ function Ue(e) {
3807
3793
  }
3808
3794
  };
3809
3795
  }
3810
- function _i(e) {
3796
+ function gi(e) {
3811
3797
  return e === void 0 && (e = {
3812
3798
  number: {},
3813
3799
  dateTime: {},
@@ -3818,28 +3804,28 @@ function _i(e) {
3818
3804
  r[n] = arguments[n];
3819
3805
  return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3820
3806
  }, {
3821
- cache: Ue(e.number),
3822
- strategy: Re.variadic
3807
+ cache: Ge(e.number),
3808
+ strategy: Me.variadic
3823
3809
  }),
3824
3810
  getDateTimeFormat: Ce(function() {
3825
3811
  for (var t, r = [], n = 0; n < arguments.length; n++)
3826
3812
  r[n] = arguments[n];
3827
3813
  return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3828
3814
  }, {
3829
- cache: Ue(e.dateTime),
3830
- strategy: Re.variadic
3815
+ cache: Ge(e.dateTime),
3816
+ strategy: Me.variadic
3831
3817
  }),
3832
3818
  getPluralRules: Ce(function() {
3833
3819
  for (var t, r = [], n = 0; n < arguments.length; n++)
3834
3820
  r[n] = arguments[n];
3835
3821
  return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3836
3822
  }, {
3837
- cache: Ue(e.pluralRules),
3838
- strategy: Re.variadic
3823
+ cache: Ge(e.pluralRules),
3824
+ strategy: Me.variadic
3839
3825
  })
3840
3826
  };
3841
3827
  }
3842
- var Ei = (
3828
+ var yi = (
3843
3829
  /** @class */
3844
3830
  function() {
3845
3831
  function e(t, r, n, i) {
@@ -3871,13 +3857,13 @@ var Ei = (
3871
3857
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3872
3858
  var o = i || {};
3873
3859
  o.formatters;
3874
- var a = Kr(o, ["formatters"]);
3860
+ var a = Qr(o, ["formatters"]);
3875
3861
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3876
3862
  } else
3877
3863
  this.ast = t;
3878
3864
  if (!Array.isArray(this.ast))
3879
3865
  throw new TypeError("A message must be provided as a String or AST.");
3880
- this.formats = vi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
3866
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3881
3867
  }
3882
3868
  return Object.defineProperty(e, "defaultLocale", {
3883
3869
  get: function() {
@@ -3890,7 +3876,7 @@ var Ei = (
3890
3876
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3891
3877
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3892
3878
  }
3893
- }, e.__parse = mi, e.formats = {
3879
+ }, e.__parse = li, e.formats = {
3894
3880
  number: {
3895
3881
  integer: {
3896
3882
  maximumFractionDigits: 0
@@ -3951,7 +3937,7 @@ var Ei = (
3951
3937
  }, e;
3952
3938
  }()
3953
3939
  );
3954
- function xi(e, t) {
3940
+ function vi(e, t) {
3955
3941
  if (t == null)
3956
3942
  return;
3957
3943
  if (t in e)
@@ -3972,92 +3958,92 @@ function xi(e, t) {
3972
3958
  n = void 0;
3973
3959
  return n;
3974
3960
  }
3975
- const D = {}, Si = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), gr = (e, t) => {
3961
+ const D = {}, _i = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), mr = (e, t) => {
3976
3962
  if (t == null)
3977
3963
  return;
3978
3964
  if (t in D && e in D[t])
3979
3965
  return D[t][e];
3980
- const r = Ae(t);
3966
+ const r = Be(t);
3981
3967
  for (let n = 0; n < r.length; n++) {
3982
- const i = r[n], s = Ti(i, e);
3968
+ const i = r[n], s = xi(i, e);
3983
3969
  if (s)
3984
- return Si(e, t, s);
3970
+ return _i(e, t, s);
3985
3971
  }
3986
3972
  };
3987
- let ot;
3973
+ let it;
3988
3974
  const me = He({});
3989
- function wi(e) {
3990
- return ot[e] || null;
3975
+ function Ei(e) {
3976
+ return it[e] || null;
3991
3977
  }
3992
- function yr(e) {
3993
- return e in ot;
3978
+ function dr(e) {
3979
+ return e in it;
3994
3980
  }
3995
- function Ti(e, t) {
3996
- if (!yr(e))
3981
+ function xi(e, t) {
3982
+ if (!dr(e))
3997
3983
  return null;
3998
- const r = wi(e);
3999
- return xi(r, t);
3984
+ const r = Ei(e);
3985
+ return vi(r, t);
4000
3986
  }
4001
- function Hi(e) {
3987
+ function Si(e) {
4002
3988
  if (e == null)
4003
3989
  return;
4004
- const t = Ae(e);
3990
+ const t = Be(e);
4005
3991
  for (let r = 0; r < t.length; r++) {
4006
3992
  const n = t[r];
4007
- if (yr(n))
3993
+ if (dr(n))
4008
3994
  return n;
4009
3995
  }
4010
3996
  }
4011
- function vr(e, ...t) {
4012
- delete D[e], me.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
3997
+ function br(e, ...t) {
3998
+ delete D[e], me.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4013
3999
  }
4014
4000
  ie(
4015
4001
  [me],
4016
4002
  ([e]) => Object.keys(e)
4017
4003
  );
4018
- me.subscribe((e) => ot = e);
4004
+ me.subscribe((e) => it = e);
4019
4005
  const xe = {};
4020
- function Bi(e, t) {
4006
+ function wi(e, t) {
4021
4007
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4022
4008
  }
4023
- function _r(e) {
4009
+ function pr(e) {
4024
4010
  return xe[e];
4025
4011
  }
4026
- function Ai(e) {
4027
- return Ae(e).map((t) => {
4028
- const r = _r(t);
4012
+ function Ti(e) {
4013
+ return Be(e).map((t) => {
4014
+ const r = pr(t);
4029
4015
  return [t, r ? [...r] : []];
4030
4016
  }).filter(([, t]) => t.length > 0);
4031
4017
  }
4032
- function et(e) {
4033
- return e == null ? !1 : Ae(e).some(
4018
+ function Ke(e) {
4019
+ return e == null ? !1 : Be(e).some(
4034
4020
  (t) => {
4035
4021
  var r;
4036
- return (r = _r(t)) == null ? void 0 : r.size;
4022
+ return (r = pr(t)) == null ? void 0 : r.size;
4037
4023
  }
4038
4024
  );
4039
4025
  }
4040
- function Pi(e, t) {
4026
+ function Hi(e, t) {
4041
4027
  return Promise.all(
4042
- t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4043
- ).then((n) => vr(e, ...n));
4028
+ t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4029
+ ).then((n) => br(e, ...n));
4044
4030
  }
4045
4031
  const oe = {};
4046
- function Er(e) {
4047
- if (!et(e))
4032
+ function gr(e) {
4033
+ if (!Ke(e))
4048
4034
  return e in oe ? oe[e] : Promise.resolve();
4049
- const t = Ai(e);
4035
+ const t = Ti(e);
4050
4036
  return oe[e] = Promise.all(
4051
4037
  t.map(
4052
- ([r, n]) => Pi(r, n)
4038
+ ([r, n]) => Hi(r, n)
4053
4039
  )
4054
4040
  ).then(() => {
4055
- if (et(e))
4056
- return Er(e);
4041
+ if (Ke(e))
4042
+ return gr(e);
4057
4043
  delete oe[e];
4058
4044
  }), oe[e];
4059
4045
  }
4060
- const Ni = {
4046
+ const Ai = {
4061
4047
  number: {
4062
4048
  scientific: { notation: "scientific" },
4063
4049
  engineering: { notation: "engineering" },
@@ -4086,57 +4072,57 @@ const Ni = {
4086
4072
  timeZoneName: "short"
4087
4073
  }
4088
4074
  }
4089
- }, Oi = {
4075
+ }, Bi = {
4090
4076
  fallbackLocale: null,
4091
4077
  loadingDelay: 200,
4092
- formats: Ni,
4078
+ formats: Ai,
4093
4079
  warnOnMissingMessages: !0,
4094
4080
  handleMissingMessage: void 0,
4095
4081
  ignoreTag: !0
4096
- }, Li = Oi;
4082
+ }, Pi = Bi;
4097
4083
  function te() {
4098
- return Li;
4099
- }
4100
- const De = He(!1);
4101
- var Ii = Object.defineProperty, Mi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
4102
- for (var r in t || (t = {}))
4103
- Ri.call(t, r) && It(e, r, t[r]);
4104
- if (Lt)
4105
- for (var r of Lt(t))
4106
- Gi.call(t, r) && It(e, r, t[r]);
4084
+ return Pi;
4085
+ }
4086
+ const Ue = He(!1);
4087
+ var Ni = Object.defineProperty, Oi = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4088
+ for (var r in t)
4089
+ Ii.call(t, r) && Nt(e, r, t[r]);
4090
+ if (Pt)
4091
+ for (var r of Pt(t))
4092
+ Ci.call(t, r) && Nt(e, r, t[r]);
4107
4093
  return e;
4108
- }, Di = (e, t) => Mi(e, Ci(t));
4109
- let tt;
4094
+ }, Ri = (e, t) => Oi(e, Li(t));
4095
+ let et;
4110
4096
  const Se = He(null);
4111
- function Mt(e) {
4097
+ function Ot(e) {
4112
4098
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4113
4099
  }
4114
- function Ae(e, t = te().fallbackLocale) {
4115
- const r = Mt(e);
4116
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4100
+ function Be(e, t = te().fallbackLocale) {
4101
+ const r = Ot(e);
4102
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4117
4103
  }
4118
4104
  function V() {
4119
- return tt ?? void 0;
4105
+ return et ?? void 0;
4120
4106
  }
4121
4107
  Se.subscribe((e) => {
4122
- tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4108
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4123
4109
  });
4124
- const Fi = (e) => {
4125
- if (e && Hi(e) && et(e)) {
4110
+ const Gi = (e) => {
4111
+ if (e && Si(e) && Ke(e)) {
4126
4112
  const { loadingDelay: t } = te();
4127
4113
  let r;
4128
4114
  return typeof window < "u" && V() != null && t ? r = window.setTimeout(
4129
- () => De.set(!0),
4115
+ () => Ue.set(!0),
4130
4116
  t
4131
- ) : De.set(!0), Er(e).then(() => {
4117
+ ) : Ue.set(!0), gr(e).then(() => {
4132
4118
  Se.set(e);
4133
4119
  }).finally(() => {
4134
- clearTimeout(r), De.set(!1);
4120
+ clearTimeout(r), Ue.set(!1);
4135
4121
  });
4136
4122
  }
4137
4123
  return Se.set(e);
4138
- }, de = Di(Ui({}, Se), {
4139
- set: Fi
4124
+ }, de = Ri(Mi({}, Se), {
4125
+ set: Gi
4140
4126
  }), Pe = (e) => {
4141
4127
  const t = /* @__PURE__ */ Object.create(null);
4142
4128
  return (n) => {
@@ -4144,20 +4130,20 @@ const Fi = (e) => {
4144
4130
  return i in t ? t[i] : t[i] = e(n);
4145
4131
  };
4146
4132
  };
4147
- var $i = Object.defineProperty, we = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4133
+ var Ui = Object.defineProperty, we = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4148
4134
  for (var r in t || (t = {}))
4149
- xr.call(t, r) && Ct(e, r, t[r]);
4135
+ yr.call(t, r) && Lt(e, r, t[r]);
4150
4136
  if (we)
4151
4137
  for (var r of we(t))
4152
- Sr.call(t, r) && Ct(e, r, t[r]);
4138
+ vr.call(t, r) && Lt(e, r, t[r]);
4153
4139
  return e;
4154
4140
  }, se = (e, t) => {
4155
4141
  var r = {};
4156
4142
  for (var n in e)
4157
- xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4143
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4158
4144
  if (e != null && we)
4159
4145
  for (var n of we(e))
4160
- t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4146
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4161
4147
  return r;
4162
4148
  };
4163
4149
  const le = (e, t) => {
@@ -4165,21 +4151,21 @@ const le = (e, t) => {
4165
4151
  if (e in r && t in r[e])
4166
4152
  return r[e][t];
4167
4153
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4168
- }, ji = Pe(
4154
+ }, Di = Pe(
4169
4155
  (e) => {
4170
4156
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4171
4157
  if (r == null)
4172
4158
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4173
4159
  return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4174
4160
  }
4175
- ), ki = Pe(
4161
+ ), Fi = Pe(
4176
4162
  (e) => {
4177
4163
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4178
4164
  if (r == null)
4179
4165
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4180
4166
  return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4181
4167
  }
4182
- ), Vi = Pe(
4168
+ ), $i = Pe(
4183
4169
  (e) => {
4184
4170
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4185
4171
  if (r == null)
@@ -4188,33 +4174,33 @@ const le = (e, t) => {
4188
4174
  );
4189
4175
  return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4190
4176
  }
4191
- ), Xi = (e = {}) => {
4177
+ ), ji = (e = {}) => {
4192
4178
  var t = e, {
4193
4179
  locale: r = V()
4194
4180
  } = t, n = se(t, [
4195
4181
  "locale"
4196
4182
  ]);
4197
- return ji(at({ locale: r }, n));
4198
- }, Wi = (e = {}) => {
4183
+ return Di(st({ locale: r }, n));
4184
+ }, ki = (e = {}) => {
4199
4185
  var t = e, {
4200
4186
  locale: r = V()
4201
4187
  } = t, n = se(t, [
4202
4188
  "locale"
4203
4189
  ]);
4204
- return ki(at({ locale: r }, n));
4205
- }, zi = (e = {}) => {
4190
+ return Fi(st({ locale: r }, n));
4191
+ }, Vi = (e = {}) => {
4206
4192
  var t = e, {
4207
4193
  locale: r = V()
4208
4194
  } = t, n = se(t, [
4209
4195
  "locale"
4210
4196
  ]);
4211
- return Vi(at({ locale: r }, n));
4212
- }, Zi = Pe(
4197
+ return $i(st({ locale: r }, n));
4198
+ }, Xi = Pe(
4213
4199
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4214
- (e, t = V()) => new Ei(e, t, te().formats, {
4200
+ (e, t = V()) => new yi(e, t, te().formats, {
4215
4201
  ignoreTag: te().ignoreTag
4216
4202
  })
4217
- ), Qi = (e, t = {}) => {
4203
+ ), Wi = (e, t = {}) => {
4218
4204
  var r, n, i, s;
4219
4205
  let o = t;
4220
4206
  typeof e == "object" && (o = e, e = o.id);
@@ -4227,7 +4213,7 @@ const le = (e, t) => {
4227
4213
  throw new Error(
4228
4214
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4229
4215
  );
4230
- let l = gr(e, h);
4216
+ let l = mr(e, h);
4231
4217
  if (!l)
4232
4218
  l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4233
4219
  else if (typeof l != "string")
@@ -4238,7 +4224,7 @@ const le = (e, t) => {
4238
4224
  return l;
4239
4225
  let m = l;
4240
4226
  try {
4241
- m = Zi(l, h).format(a);
4227
+ m = Xi(l, h).format(a);
4242
4228
  } catch (c) {
4243
4229
  c instanceof Error && console.warn(
4244
4230
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4246,20 +4232,20 @@ const le = (e, t) => {
4246
4232
  );
4247
4233
  }
4248
4234
  return m;
4249
- }, Yi = (e, t) => zi(t).format(e), qi = (e, t) => Wi(t).format(e), Ji = (e, t) => Xi(t).format(e), Ki = (e, t = V()) => gr(e, t), es = ie([de, me], () => Qi);
4250
- ie([de], () => Yi);
4251
- ie([de], () => qi);
4252
- ie([de], () => Ji);
4253
- ie([de, me], () => Ki);
4254
- window.emWidgets = { topic: dn };
4255
- const ts = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4256
- function rs(e, t) {
4235
+ }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Yi = (e, t = V()) => mr(e, t), qi = ie([de, me], () => Wi);
4236
+ ie([de], () => zi);
4237
+ ie([de], () => Zi);
4238
+ ie([de], () => Qi);
4239
+ ie([de, me], () => Yi);
4240
+ window.emWidgets = { topic: ln };
4241
+ const Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4242
+ function Ki(e, t) {
4257
4243
  if (e) {
4258
4244
  const r = document.createElement("style");
4259
4245
  r.innerHTML = t, e.appendChild(r);
4260
4246
  }
4261
4247
  }
4262
- function ns(e, t) {
4248
+ function es(e, t) {
4263
4249
  const r = new URL(t);
4264
4250
  fetch(r.href).then((n) => n.text()).then((n) => {
4265
4251
  const i = document.createElement("style");
@@ -4268,7 +4254,7 @@ function ns(e, t) {
4268
4254
  console.error("There was an error while trying to load client styling from URL", n);
4269
4255
  });
4270
4256
  }
4271
- function is(e, t, r) {
4257
+ function ts(e, t, r) {
4272
4258
  if (window.emMessageBus) {
4273
4259
  const n = document.createElement("style");
4274
4260
  window.emMessageBus.subscribe(t, (i) => {
@@ -4276,10 +4262,10 @@ function is(e, t, r) {
4276
4262
  });
4277
4263
  }
4278
4264
  }
4279
- function Rt(e, t) {
4280
- vr(e, t);
4265
+ function It(e, t) {
4266
+ br(e, t);
4281
4267
  }
4282
- const Gt = {
4268
+ const Ct = {
4283
4269
  en: {
4284
4270
  lobbyName: "Lobby",
4285
4271
  myGamesName: "My games"
@@ -4365,14 +4351,14 @@ if (typeof window < "u") {
4365
4351
  }
4366
4352
  };
4367
4353
  };
4368
- customElements.define = e(customElements.define), import("./CasinoSlider-DJ15xmwN.js").then(({ default: t }) => {
4354
+ customElements.define = e(customElements.define), import("./CasinoSlider-Dy1Nt1Nx.js").then(({ default: t }) => {
4369
4355
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4370
4356
  });
4371
4357
  }
4372
- function ss(e) {
4373
- Cr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
4358
+ function rs(e) {
4359
+ Or(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
4374
4360
  }
4375
- function os(e) {
4361
+ function ns(e) {
4376
4362
  let t, r;
4377
4363
  return {
4378
4364
  c() {
@@ -4391,7 +4377,7 @@ function os(e) {
4391
4377
  "endpoint",
4392
4378
  /*endpoint*/
4393
4379
  e[1]
4394
- ), _(r, "identity", rt), _(
4380
+ ), _(r, "identity", tt), _(
4395
4381
  r,
4396
4382
  "favoritesnumber",
4397
4383
  /*numberOfFavoredGames*/
@@ -4449,7 +4435,7 @@ function os(e) {
4449
4435
  ), fe(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4450
4436
  },
4451
4437
  m(n, i) {
4452
- ce(n, t, i), $t(t, r);
4438
+ ce(n, t, i), Ut(t, r);
4453
4439
  },
4454
4440
  p(n, i) {
4455
4441
  i[0] & /*lang*/
@@ -4543,7 +4529,7 @@ function os(e) {
4543
4529
  }
4544
4530
  };
4545
4531
  }
4546
- function as(e) {
4532
+ function is(e) {
4547
4533
  let t;
4548
4534
  return {
4549
4535
  c() {
@@ -4558,7 +4544,7 @@ function as(e) {
4558
4544
  }
4559
4545
  };
4560
4546
  }
4561
- function us(e) {
4547
+ function ss(e) {
4562
4548
  let t;
4563
4549
  return {
4564
4550
  c() {
@@ -4573,14 +4559,14 @@ function us(e) {
4573
4559
  }
4574
4560
  };
4575
4561
  }
4576
- function hs(e) {
4562
+ function os(e) {
4577
4563
  let t;
4578
4564
  function r(s, o) {
4579
4565
  return (
4580
4566
  /*isLoading*/
4581
- s[13] || ls || cs ? us : (
4567
+ s[13] || as || us ? ss : (
4582
4568
  /*hasErrors*/
4583
- s[15] ? as : os
4569
+ s[15] ? is : ns
4584
4570
  )
4585
4571
  );
4586
4572
  }
@@ -4602,93 +4588,93 @@ function hs(e) {
4602
4588
  }
4603
4589
  };
4604
4590
  }
4605
- let rt = "CasinoSliderData", ls = !1, cs = !1;
4606
- function fs(e, t, r) {
4591
+ let tt = "CasinoSliderData", as = !1, us = !1;
4592
+ function hs(e, t, r) {
4607
4593
  let n;
4608
- Mr(e, es, (f) => r(32, n = f));
4609
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: M = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: C = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: B } = t, L, F, ut, $ = !0, X, W = [], j = !1, wr = window.navigator.userAgent, R, ht, lt = !1, Ne = !1;
4610
- const Tr = () => {
4611
- fetch(N).then((A) => A.json()).then((A) => {
4612
- Object.keys(A).forEach((be) => {
4613
- Rt(be, A[be]);
4594
+ Nr(e, qi, (f) => r(32, n = f));
4595
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: M = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: A } = t, L, F, $ = !0, X, W = [], j = !1, _r = window.navigator.userAgent, R, ot, at = !1, Ne = !1;
4596
+ const Er = () => {
4597
+ fetch(N).then((B) => B.json()).then((B) => {
4598
+ Object.keys(B).forEach((be) => {
4599
+ It(be, B[be]);
4614
4600
  });
4615
- }).catch((A) => {
4616
- console.log(A);
4601
+ }).catch((B) => {
4602
+ console.log(B);
4617
4603
  });
4618
4604
  };
4619
- Object.keys(Gt).forEach((f) => {
4620
- Rt(f, Gt[f]);
4605
+ Object.keys(Ct).forEach((f) => {
4606
+ It(f, Ct[f]);
4621
4607
  });
4622
- const Hr = () => {
4623
- lt == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4608
+ const xr = () => {
4609
+ at == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4624
4610
  // @ts-ignore
4625
4611
  id: "MYGAMES",
4626
- name: F,
4612
+ name: L,
4627
4613
  href: "",
4628
4614
  games: []
4629
- }), jr(), lt = !0, r(25, Ne = !0), ct();
4630
- }, Br = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, $ = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, $ = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, $ = !1), console.error(X)), j), Ar = () => {
4631
- if (F = n("myGamesName"), ut = n("lobbyName"), !Br()) {
4615
+ }), Ur(), at = !0, r(25, Ne = !0), ut();
4616
+ }, Sr = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, $ = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, $ = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, $ = !1), console.error(X)), j), wr = () => {
4617
+ if (L = n("myGamesName"), F = n("lobbyName"), !Sr()) {
4632
4618
  let f = new URL(`${i}/v2/casino/groups/${s}`);
4633
- f.searchParams.append("language", o), f.searchParams.append("platform", ts(wr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((A) => A.json()).then(
4634
- (A) => {
4635
- let be = w.split(","), Or = A.items.filter((mt) => {
4619
+ f.searchParams.append("language", o), f.searchParams.append("platform", Ji(_r)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
4620
+ (B) => {
4621
+ let be = w.split(","), Ar = B.items.filter((lt) => {
4636
4622
  let Oe = !1;
4637
- if (mt.games.total > 0 && (Oe = !0, w))
4638
- for (let Lr of be)
4639
- mt.flags == Lr && (Oe = !1);
4623
+ if (lt.games.total > 0 && (Oe = !0, w))
4624
+ for (let Br of be)
4625
+ lt.flags == Br && (Oe = !1);
4640
4626
  return Oe;
4641
4627
  });
4642
- W = [], W = W.concat(Or), W.unshift({
4628
+ W = [], W = W.concat(Ar), W.unshift({
4643
4629
  // @ts-ignore
4644
4630
  id: "LOBBY",
4645
- name: ut,
4631
+ name: F,
4646
4632
  href: "",
4647
4633
  games: []
4648
4634
  }), r(13, $ = !1);
4649
4635
  },
4650
- (A) => {
4651
- r(15, j = !0), console.error("There was an error while fetching the categories", A);
4636
+ (B) => {
4637
+ r(15, j = !0), console.error("There was an error while fetching the categories", B);
4652
4638
  }
4653
- ).catch((A) => {
4654
- r(15, j = !0), console.error("There was an error while fetching the categories", A);
4639
+ ).catch((B) => {
4640
+ r(15, j = !0), console.error("There was an error while fetching the categories", B);
4655
4641
  });
4656
4642
  }
4657
- }, Pr = () => {
4643
+ }, Tr = () => {
4658
4644
  let f = b.split("$");
4659
4645
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4660
- }, ct = () => {
4646
+ }, ut = () => {
4661
4647
  window.postMessage(
4662
4648
  {
4663
4649
  type: "SliderData",
4664
- identity: rt,
4650
+ identity: tt,
4665
4651
  data: W
4666
4652
  },
4667
4653
  window.location.href
4668
4654
  );
4669
- }, ft = (f) => {
4670
- f.data && f.data.type == "SliderLoaded" && rt == f.data.identity && ct();
4655
+ }, ht = (f) => {
4656
+ f.data && f.data.type == "SliderLoaded" && tt == f.data.identity && ut();
4671
4657
  };
4672
- $r(() => (window.addEventListener("message", ft, !1), () => {
4673
- window.emMessageBus && L && L.unsubscribe(), window.removeEventListener("message", ft);
4658
+ Gr(() => (window.addEventListener("message", ht, !1), () => {
4659
+ window.removeEventListener("message", ht);
4674
4660
  }));
4675
- function Nr(f) {
4676
- Fe[f ? "unshift" : "push"](() => {
4661
+ function Hr(f) {
4662
+ De[f ? "unshift" : "push"](() => {
4677
4663
  R = f, r(14, R);
4678
4664
  });
4679
4665
  }
4680
4666
  return e.$$set = (f) => {
4681
- "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, M = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, C = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage), "mbsource" in f && r(12, B = f.mbsource);
4667
+ "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, M = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4682
4668
  }, e.$$.update = () => {
4683
4669
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4684
- 14 && i && s && o && Ar(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4685
- 3940354 && i && h && (u || l || m) && !$ && Hr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4686
- 33824769 && !$ && b && (!h || Ne) && Pr(), e.$$.dirty[0] & /*translationurl*/
4687
- 16777216 && N && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4688
- 16400 && c && R && rs(R, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4689
- 16416 && d && R && ns(R, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4690
- 20480 && R && is(R, `${B}.Style`);
4691
- }, r(16, ht = 0), [
4670
+ 14 && i && s && o && wr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4671
+ 3940354 && i && h && (u || l || m) && !$ && xr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4672
+ 33824769 && !$ && b && (!h || Ne) && Tr(), e.$$.dirty[0] & /*translationurl*/
4673
+ 16777216 && N && Er(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4674
+ 16400 && c && R && Ki(R, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4675
+ 16416 && d && R && es(R, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4676
+ 20480 && R && ts(R, `${A}.Style`);
4677
+ }, r(16, ot = 0), [
4692
4678
  b,
4693
4679
  i,
4694
4680
  s,
@@ -4696,16 +4682,16 @@ function fs(e, t, r) {
4696
4682
  c,
4697
4683
  d,
4698
4684
  y,
4699
- M,
4685
+ C,
4700
4686
  P,
4701
4687
  O,
4702
- C,
4688
+ M,
4703
4689
  E,
4704
- B,
4690
+ A,
4705
4691
  $,
4706
4692
  R,
4707
4693
  j,
4708
- ht,
4694
+ ot,
4709
4695
  a,
4710
4696
  h,
4711
4697
  u,
@@ -4715,17 +4701,17 @@ function fs(e, t, r) {
4715
4701
  w,
4716
4702
  N,
4717
4703
  Ne,
4718
- Nr
4704
+ Hr
4719
4705
  ];
4720
4706
  }
4721
- class ms extends qr {
4707
+ class ls extends zr {
4722
4708
  constructor(t) {
4723
- super(), Qr(
4709
+ super(), Xr(
4724
4710
  this,
4725
4711
  t,
4726
- fs,
4727
4712
  hs,
4728
- Dt,
4713
+ os,
4714
+ Rt,
4729
4715
  {
4730
4716
  endpoint: 1,
4731
4717
  datasource: 2,
@@ -4749,7 +4735,7 @@ class ms extends qr {
4749
4735
  mygamesiconimage: 11,
4750
4736
  mbsource: 12
4751
4737
  },
4752
- ss,
4738
+ rs,
4753
4739
  [-1, -1]
4754
4740
  );
4755
4741
  }
@@ -4880,40 +4866,40 @@ class ms extends qr {
4880
4866
  this.$$set({ mbsource: t }), S();
4881
4867
  }
4882
4868
  }
4883
- Yr(ms, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4869
+ Wr(ls, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4884
4870
  export {
4885
4871
  de as $,
4886
- rs as A,
4887
- Ss as B,
4888
- bs as C,
4889
- jt as D,
4890
- _s as E,
4891
- ms as F,
4892
- qr as S,
4872
+ ts as A,
4873
+ _s as B,
4874
+ fs as C,
4875
+ Dt as D,
4876
+ gs as E,
4877
+ ls as F,
4878
+ zr as S,
4893
4879
  me as a,
4894
- vr as b,
4895
- Yr as c,
4896
- Cr as d,
4880
+ br as b,
4881
+ Wr as c,
4882
+ Or as d,
4897
4883
  k as e,
4898
4884
  S as f,
4899
- ps as g,
4885
+ ms as g,
4900
4886
  fe as h,
4901
- Qr as i,
4887
+ Xr as i,
4902
4888
  ce as j,
4903
- $t as k,
4904
- ys as l,
4889
+ Ut as k,
4890
+ bs as l,
4905
4891
  ne as m,
4906
4892
  I as n,
4907
- $r as o,
4908
- vs as p,
4909
- ns as q,
4893
+ Gr as o,
4894
+ ps as p,
4895
+ vs as q,
4910
4896
  re as r,
4911
- Dt as s,
4912
- is as t,
4913
- xs as u,
4914
- gs as v,
4915
- ws as w,
4916
- ds as x,
4917
- Es as y,
4918
- Fe as z
4897
+ Rt as s,
4898
+ ds as t,
4899
+ Es as u,
4900
+ cs as v,
4901
+ ys as w,
4902
+ De as x,
4903
+ Ki as y,
4904
+ es as z
4919
4905
  };