@everymatrix/casino-categories-slider 1.76.14 → 1.77.1

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,22 +1,22 @@
1
1
  function I() {
2
2
  }
3
- function Ut(e) {
3
+ function Dt(e) {
4
4
  return e();
5
5
  }
6
- function dt() {
6
+ function bt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function re(e) {
10
- e.forEach(Ut);
9
+ function te(e) {
10
+ e.forEach(Dt);
11
11
  }
12
- function nt(e) {
12
+ function at(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Dt(e, t) {
15
+ function $t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let pe;
19
- function ds(e, t) {
19
+ function bs(e, t) {
20
20
  return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
21
21
  }
22
22
  function Ir(e) {
@@ -31,13 +31,13 @@ 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) {
34
+ function Cr(e, t, r) {
35
35
  e.$$.on_destroy.push(Ft(t, r));
36
36
  }
37
- function $t(e, t) {
37
+ function jt(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Cr(e, t, r) {
40
+ function Mr(e, t, r) {
41
41
  const n = Rr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = k("style");
@@ -55,53 +55,53 @@ function Rr(e) {
55
55
  ) : e.ownerDocument;
56
56
  }
57
57
  function Gr(e, t) {
58
- return $t(
58
+ return jt(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ce(e, t, r) {
64
+ function le(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function ne(e) {
67
+ function re(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function bs(e, t) {
70
+ function ps(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 kt(e) {
78
78
  return document.createTextNode(e);
79
79
  }
80
- function ps() {
81
- return jt(" ");
80
+ function ys() {
81
+ return kt(" ");
82
82
  }
83
83
  function gs() {
84
- return jt("");
84
+ return kt("");
85
85
  }
86
- function ys(e, t, r, n) {
86
+ function vs(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 _s(e) {
90
90
  return function(t) {
91
91
  return t.preventDefault(), e.call(this, t);
92
92
  };
93
93
  }
94
- function fe(e, t, r) {
94
+ function ce(e, t, r) {
95
95
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
96
96
  }
97
- function _(e, t, r) {
97
+ function v(e, t, r) {
98
98
  const n = t.toLowerCase();
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);
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 : ce(e, t, r);
100
100
  }
101
101
  function Ur(e) {
102
102
  return Array.from(e.childNodes);
103
103
  }
104
- function _s(e, t) {
104
+ function Es(e, t) {
105
105
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
106
106
  t);
107
107
  }
@@ -114,67 +114,67 @@ function Dr(e) {
114
114
  }
115
115
  ), t;
116
116
  }
117
- let ue;
118
- function ae(e) {
119
- ue = e;
117
+ let ae;
118
+ function oe(e) {
119
+ ae = e;
120
120
  }
121
- function Fr() {
122
- if (!ue)
121
+ function $r() {
122
+ if (!ae)
123
123
  throw new Error("Function called outside component initialization");
124
- return ue;
124
+ return ae;
125
125
  }
126
- function $r(e) {
127
- Fr().$$.on_mount.push(e);
126
+ function Fr(e) {
127
+ $r().$$.on_mount.push(e);
128
128
  }
129
- function Es(e, t) {
129
+ function xs(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 = [], je = [];
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 pt = [], Vt = /* @__PURE__ */ Promise.resolve();
136
+ let ke = !1;
137
+ function Xt() {
138
+ ke || (ke = !0, Vt.then(x));
139
139
  }
140
140
  function jr() {
141
- return Vt(), kt;
141
+ return Xt(), Vt;
142
142
  }
143
- function je(e) {
143
+ function Ve(e) {
144
144
  Y.push(e);
145
145
  }
146
- const Le = /* @__PURE__ */ new Set();
146
+ const Ce = /* @__PURE__ */ new Set();
147
147
  let z = 0;
148
- function S() {
148
+ function x() {
149
149
  if (z !== 0)
150
150
  return;
151
- const e = ue;
151
+ const e = ae;
152
152
  do {
153
153
  try {
154
154
  for (; z < Q.length; ) {
155
155
  const t = Q[z];
156
- z++, ae(t), kr(t.$$);
156
+ z++, oe(t), kr(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 (oe(null), Q.length = 0, z = 0; je.length; )
162
+ je.pop()();
163
163
  for (let t = 0; t < Y.length; t += 1) {
164
164
  const r = Y[t];
165
- Le.has(r) || (Le.add(r), r());
165
+ Ce.has(r) || (Ce.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 (; pt.length; )
170
+ pt.pop()();
171
+ ke = !1, Ce.clear(), oe(e);
172
172
  }
173
173
  function kr(e) {
174
174
  if (e.fragment !== null) {
175
- e.update(), re(e.before_update);
175
+ e.update(), te(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(Ve);
178
178
  }
179
179
  }
180
180
  function Vr(e) {
@@ -182,59 +182,59 @@ function Vr(e) {
182
182
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
183
183
  }
184
184
  const Xr = /* @__PURE__ */ new Set();
185
- function Xt(e, t) {
185
+ function Wt(e, t) {
186
186
  e && e.i && (Xr.delete(e), e.i(t));
187
187
  }
188
- function xs(e) {
188
+ function Ss(e) {
189
189
  return e?.length !== void 0 ? e : Array.from(e);
190
190
  }
191
- function Ss(e, t) {
191
+ function ws(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 Ts(e, t, r, n, i, s, o, a, h, u, l, m) {
195
195
  let c = e.length, d = s.length, b = c;
196
- const y = {};
196
+ const g = {};
197
197
  for (; b--; )
198
- y[e[b].key] = b;
199
- const T = [], M = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
198
+ g[e[b].key] = b;
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 _ = m(i, s, b), A = r(_);
202
+ let L = o.get(A);
203
+ L ? w.push(() => L.p(_, t)) : (L = u(A, _), L.c()), C.set(A, T[b] = L), A in g && P.set(A, Math.abs(b - g[A]));
204
204
  }
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--;
205
+ const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
206
+ function M(_) {
207
+ Wt(_, 1), _.m(a, l), o.set(_.key, _), l = _.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 _ = T[d - 1], A = e[c - 1], L = _.key, $ = A.key;
211
+ _ === A ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || O.has(L) ? M(_) : N.has($) ? c-- : P.get(L) > P.get($) ? (N.add(L), M(_)) : (O.add($), c--) : (h(A, o), c--);
212
212
  }
213
213
  for (; c--; ) {
214
- const E = e[c];
215
- M.has(E.key) || h(E, o);
214
+ const _ = e[c];
215
+ C.has(_.key) || h(_, o);
216
216
  }
217
217
  for (; d; )
218
- C(T[d - 1]);
219
- return re(w), T;
218
+ M(T[d - 1]);
219
+ return te(w), T;
220
220
  }
221
221
  function Wr(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);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
226
- }), i.forEach(je);
223
+ n && n.m(t, r), Ve(() => {
224
+ const s = e.$$.on_mount.map(Dt).filter(at);
225
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
226
+ }), i.forEach(Ve);
227
227
  }
228
228
  function zr(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 && (Vr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
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;
233
+ e.$$.dirty[0] === -1 && (Q.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
235
  function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
236
- const h = ue;
237
- ae(e);
236
+ const h = ae;
237
+ oe(e);
238
238
  const u = e.$$ = {
239
239
  fragment: null,
240
240
  ctx: [],
@@ -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: bt(),
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: bt(),
255
255
  dirty: a,
256
256
  skip_bound: !1,
257
257
  root: t.target || h.$$.root
@@ -261,18 +261,18 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
261
261
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
262
262
  const b = d.length ? d[0] : c;
263
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;
264
- }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
264
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
266
  const m = Ur(t.target);
267
- u.fragment && u.fragment.l(m), m.forEach(ne);
267
+ u.fragment && u.fragment.l(m), m.forEach(re);
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 && Wt(e.$$.fragment), Wr(e, t.target, t.anchor), x();
271
271
  }
272
- ae(h);
272
+ oe(h);
273
273
  }
274
- let Wt;
275
- typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
274
+ let zt;
275
+ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
276
276
  /** The Svelte component constructor */
277
277
  $$ctor;
278
278
  /** Slots */
@@ -314,17 +314,17 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
314
314
  let s;
315
315
  return {
316
316
  c: function() {
317
- s = k("slot"), i !== "default" && fe(s, "name", i);
317
+ s = k("slot"), i !== "default" && ce(s, "name", i);
318
318
  },
319
319
  /**
320
320
  * @param {HTMLElement} target
321
321
  * @param {HTMLElement} [anchor]
322
322
  */
323
323
  m: function(h, u) {
324
- ce(h, s, u);
324
+ le(h, s, u);
325
325
  },
326
326
  d: function(h) {
327
- h && ne(s);
327
+ h && re(s);
328
328
  }
329
329
  };
330
330
  };
@@ -419,7 +419,7 @@ function ve(e, t, r, n) {
419
419
  }
420
420
  }
421
421
  function Yr(e, t, r, n, i, s) {
422
- let o = class extends Wt {
422
+ let o = class extends zt {
423
423
  constructor() {
424
424
  super(e, r, i), this.$$p_d = t;
425
425
  }
@@ -475,7 +475,7 @@ class qr {
475
475
  * @returns {() => void}
476
476
  */
477
477
  $on(t, r) {
478
- if (!nt(r))
478
+ if (!at(r))
479
479
  return I;
480
480
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
481
481
  return n.push(r), () => {
@@ -507,43 +507,24 @@ 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 Xe = function(e, t) {
511
+ return Xe = 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
+ }, Xe(e, t);
517
517
  };
518
- function U(e, t) {
518
+ function fe(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
+ Xe(e, t);
522
522
  function r() {
523
523
  this.constructor = e;
524
524
  }
525
525
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
526
526
  }
527
- var v = function() {
528
- return v = Object.assign || function(t) {
529
- for (var r, n = 1, i = arguments.length; n < i; n++) {
530
- r = arguments[n];
531
- for (var s in r)
532
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
533
- }
534
- return t;
535
- }, v.apply(this, arguments);
536
- };
537
- function Kr(e, t) {
538
- var r = {};
539
- for (var n in e)
540
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
541
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
542
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
543
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
544
- return r;
545
- }
546
- function Ve(e) {
527
+ function We(e) {
547
528
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
548
529
  if (r)
549
530
  return r.call(e);
@@ -555,7 +536,7 @@ function Ve(e) {
555
536
  };
556
537
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
557
538
  }
558
- function Xe(e, t) {
539
+ function ze(e, t) {
559
540
  var r = typeof Symbol == "function" && e[Symbol.iterator];
560
541
  if (!r)
561
542
  return e;
@@ -575,22 +556,22 @@ function Xe(e, t) {
575
556
  }
576
557
  return s;
577
558
  }
578
- function q(e, t, r) {
579
- if (r || arguments.length === 2)
559
+ function Ze(e, t, r) {
560
+ if (arguments.length === 2)
580
561
  for (var n = 0, i = t.length, s; n < i; n++)
581
562
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
582
563
  return e.concat(s || t);
583
564
  }
584
- function G(e) {
565
+ function U(e) {
585
566
  return typeof e == "function";
586
567
  }
587
- function zt(e) {
568
+ function Zt(e) {
588
569
  var t = function(n) {
589
570
  Error.call(n), n.stack = new Error().stack;
590
571
  }, r = e(t);
591
572
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
592
573
  }
593
- var Ie = zt(function(e) {
574
+ var Me = Zt(function(e) {
594
575
  return function(r) {
595
576
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
596
577
  ` + r.map(function(n, i) {
@@ -599,13 +580,13 @@ var Ie = zt(function(e) {
599
580
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
600
581
  };
601
582
  });
602
- function We(e, t) {
583
+ function Qe(e, t) {
603
584
  if (e) {
604
585
  var r = e.indexOf(t);
605
586
  0 <= r && e.splice(r, 1);
606
587
  }
607
588
  }
608
- var Te = function() {
589
+ var He = function() {
609
590
  function e(t) {
610
591
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
611
592
  }
@@ -617,12 +598,12 @@ var Te = function() {
617
598
  if (o)
618
599
  if (this._parentage = null, Array.isArray(o))
619
600
  try {
620
- for (var a = Ve(o), h = a.next(); !h.done; h = a.next()) {
601
+ for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
621
602
  var u = h.value;
622
603
  u.remove(this);
623
604
  }
624
- } catch (y) {
625
- t = { error: y };
605
+ } catch (g) {
606
+ t = { error: g };
626
607
  } finally {
627
608
  try {
628
609
  h && !h.done && (r = a.return) && r.call(a);
@@ -634,26 +615,26 @@ var Te = function() {
634
615
  else
635
616
  o.remove(this);
636
617
  var l = this.initialTeardown;
637
- if (G(l))
618
+ if (U(l))
638
619
  try {
639
620
  l();
640
- } catch (y) {
641
- s = y instanceof Ie ? y.errors : [y];
621
+ } catch (g) {
622
+ s = g instanceof Me ? g.errors : [g];
642
623
  }
643
624
  var m = this._finalizers;
644
625
  if (m) {
645
626
  this._finalizers = null;
646
627
  try {
647
- for (var c = Ve(m), d = c.next(); !d.done; d = c.next()) {
628
+ for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
648
629
  var b = d.value;
649
630
  try {
650
- pt(b);
651
- } catch (y) {
652
- s = s ?? [], y instanceof Ie ? s = q(q([], Xe(s)), Xe(y.errors)) : s.push(y);
631
+ yt(b);
632
+ } catch (g) {
633
+ s = s ?? [], g instanceof Me ? s = Ze(Ze([], ze(s)), ze(g.errors)) : s.push(g);
653
634
  }
654
635
  }
655
- } catch (y) {
656
- n = { error: y };
636
+ } catch (g) {
637
+ n = { error: g };
657
638
  } finally {
658
639
  try {
659
640
  d && !d.done && (i = c.return) && i.call(c);
@@ -664,13 +645,13 @@ var Te = function() {
664
645
  }
665
646
  }
666
647
  if (s)
667
- throw new Ie(s);
648
+ throw new Me(s);
668
649
  }
669
650
  }, e.prototype.add = function(t) {
670
651
  var r;
671
652
  if (t && t !== this)
672
653
  if (this.closed)
673
- pt(t);
654
+ yt(t);
674
655
  else {
675
656
  if (t instanceof e) {
676
657
  if (t.closed || t._hasParent(this))
@@ -687,32 +668,28 @@ var Te = function() {
687
668
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
688
669
  }, e.prototype._removeParent = function(t) {
689
670
  var r = this._parentage;
690
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
671
+ r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
691
672
  }, e.prototype.remove = function(t) {
692
673
  var r = this._finalizers;
693
- r && We(r, t), t instanceof e && t._removeParent(this);
674
+ r && Qe(r, t), t instanceof e && t._removeParent(this);
694
675
  }, e.EMPTY = function() {
695
676
  var t = new e();
696
677
  return t.closed = !0, t;
697
678
  }(), e;
698
- }(), Zt = Te.EMPTY;
699
- function Qt(e) {
700
- return e instanceof Te || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
701
- }
702
- function pt(e) {
703
- G(e) ? e() : e.unsubscribe();
704
- }
705
- var Yt = {
706
- onUnhandledError: null,
707
- onStoppedNotification: null,
708
- Promise: void 0,
709
- useDeprecatedSynchronousErrorHandling: !1,
710
- useDeprecatedNextContext: !1
679
+ }(), Qt = He.EMPTY;
680
+ function Yt(e) {
681
+ return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
682
+ }
683
+ function yt(e) {
684
+ U(e) ? e() : e.unsubscribe();
685
+ }
686
+ var Kr = {
687
+ Promise: void 0
711
688
  }, en = {
712
689
  setTimeout: function(e, t) {
713
690
  for (var r = [], n = 2; n < arguments.length; n++)
714
691
  r[n - 2] = arguments[n];
715
- return setTimeout.apply(void 0, q([e, t], Xe(r)));
692
+ return setTimeout.apply(void 0, Ze([e, t], ze(r)));
716
693
  },
717
694
  clearTimeout: function(e) {
718
695
  return clearTimeout(e);
@@ -730,13 +707,13 @@ function _e(e) {
730
707
  e();
731
708
  }
732
709
  var qt = function(e) {
733
- U(t, e);
710
+ fe(t, e);
734
711
  function t(r) {
735
712
  var n = e.call(this) || this;
736
- return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = on, n;
713
+ return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = sn, n;
737
714
  }
738
715
  return t.create = function(r, n, i) {
739
- return new ze(r, n, i);
716
+ return new Ye(r, n, i);
740
717
  }, t.prototype.next = function(r) {
741
718
  this.isStopped || this._next(r);
742
719
  }, t.prototype.error = function(r) {
@@ -760,11 +737,7 @@ var qt = function(e) {
760
737
  this.unsubscribe();
761
738
  }
762
739
  }, t;
763
- }(Te), rn = Function.prototype.bind;
764
- function Me(e, t) {
765
- return rn.call(e, t);
766
- }
767
- var nn = function() {
740
+ }(He), rn = function() {
768
741
  function e(t) {
769
742
  this.partialObserver = t;
770
743
  }
@@ -774,7 +747,7 @@ var nn = function() {
774
747
  try {
775
748
  r.next(t);
776
749
  } catch (n) {
777
- ge(n);
750
+ ye(n);
778
751
  }
779
752
  }, e.prototype.error = function(t) {
780
753
  var r = this.partialObserver;
@@ -782,68 +755,56 @@ var nn = function() {
782
755
  try {
783
756
  r.error(t);
784
757
  } catch (n) {
785
- ge(n);
758
+ ye(n);
786
759
  }
787
760
  else
788
- ge(t);
761
+ ye(t);
789
762
  }, e.prototype.complete = function() {
790
763
  var t = this.partialObserver;
791
764
  if (t.complete)
792
765
  try {
793
766
  t.complete();
794
767
  } catch (r) {
795
- ge(r);
768
+ ye(r);
796
769
  }
797
770
  }, e;
798
- }(), ze = function(e) {
799
- U(t, e);
771
+ }(), Ye = function(e) {
772
+ fe(t, e);
800
773
  function t(r, n, i) {
801
774
  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;
775
+ return U(r) || !r ? o = {
776
+ next: r ?? void 0,
777
+ error: n ?? void 0,
778
+ complete: i ?? void 0
779
+ } : o = r, s.destination = new rn(o), s;
819
780
  }
820
781
  return t;
821
782
  }(qt);
822
- function ge(e) {
783
+ function ye(e) {
823
784
  tn(e);
824
785
  }
825
- function sn(e) {
786
+ function nn(e) {
826
787
  throw e;
827
788
  }
828
- var on = {
789
+ var sn = {
829
790
  closed: !0,
830
791
  next: gt,
831
- error: sn,
792
+ error: nn,
832
793
  complete: gt
833
- }, an = function() {
794
+ }, on = function() {
834
795
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
835
796
  }();
836
- function un(e) {
797
+ function an(e) {
837
798
  return e;
838
799
  }
839
- function hn(e) {
840
- return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
800
+ function un(e) {
801
+ return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
841
802
  return e.reduce(function(n, i) {
842
803
  return i(n);
843
804
  }, r);
844
805
  };
845
806
  }
846
- var yt = function() {
807
+ var vt = function() {
847
808
  function e(t) {
848
809
  t && (this._subscribe = t);
849
810
  }
@@ -851,7 +812,7 @@ var yt = function() {
851
812
  var r = new e();
852
813
  return r.source = this, r.operator = t, r;
853
814
  }, e.prototype.subscribe = function(t, r, n) {
854
- var i = this, s = cn(t) ? t : new ze(t, r, n);
815
+ var i = this, s = ln(t) ? t : new Ye(t, r, n);
855
816
  return _e(function() {
856
817
  var o = i, a = o.operator, h = o.source;
857
818
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
@@ -864,8 +825,8 @@ var yt = function() {
864
825
  }
865
826
  }, e.prototype.forEach = function(t, r) {
866
827
  var n = this;
867
- return r = vt(r), new r(function(i, s) {
868
- var o = new ze({
828
+ return r = _t(r), new r(function(i, s) {
829
+ var o = new Ye({
869
830
  next: function(a) {
870
831
  try {
871
832
  t(a);
@@ -881,15 +842,15 @@ var yt = function() {
881
842
  }, e.prototype._subscribe = function(t) {
882
843
  var r;
883
844
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
884
- }, e.prototype[an] = function() {
845
+ }, e.prototype[on] = function() {
885
846
  return this;
886
847
  }, e.prototype.pipe = function() {
887
848
  for (var t = [], r = 0; r < arguments.length; r++)
888
849
  t[r] = arguments[r];
889
- return hn(t)(this);
850
+ return un(t)(this);
890
851
  }, e.prototype.toPromise = function(t) {
891
852
  var r = this;
892
- return t = vt(t), new t(function(n, i) {
853
+ return t = _t(t), new t(function(n, i) {
893
854
  var s;
894
855
  r.subscribe(function(o) {
895
856
  return s = o;
@@ -903,32 +864,32 @@ var yt = function() {
903
864
  return new e(t);
904
865
  }, e;
905
866
  }();
906
- function vt(e) {
867
+ function _t(e) {
907
868
  var t;
908
- return (t = e ?? Yt.Promise) !== null && t !== void 0 ? t : Promise;
869
+ return (t = e ?? Kr.Promise) !== null && t !== void 0 ? t : Promise;
909
870
  }
910
- function ln(e) {
911
- return e && G(e.next) && G(e.error) && G(e.complete);
871
+ function hn(e) {
872
+ return e && U(e.next) && U(e.error) && U(e.complete);
912
873
  }
913
- function cn(e) {
914
- return e && e instanceof qt || ln(e) && Qt(e);
874
+ function ln(e) {
875
+ return e && e instanceof qt || hn(e) && Yt(e);
915
876
  }
916
- var fn = zt(function(e) {
877
+ var cn = Zt(function(e) {
917
878
  return function() {
918
879
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
919
880
  };
920
881
  }), Jt = function(e) {
921
- U(t, e);
882
+ fe(t, e);
922
883
  function t() {
923
884
  var r = e.call(this) || this;
924
885
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
925
886
  }
926
887
  return t.prototype.lift = function(r) {
927
- var n = new _t(this, this);
888
+ var n = new Et(this, this);
928
889
  return n.operator = r, n;
929
890
  }, t.prototype._throwIfClosed = function() {
930
891
  if (this.closed)
931
- throw new fn();
892
+ throw new cn();
932
893
  }, t.prototype.next = function(r) {
933
894
  var n = this;
934
895
  _e(function() {
@@ -936,7 +897,7 @@ var fn = zt(function(e) {
936
897
  if (n._throwIfClosed(), !n.isStopped) {
937
898
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
938
899
  try {
939
- for (var o = Ve(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
900
+ for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
940
901
  var h = a.value;
941
902
  h.next(r);
942
903
  }
@@ -985,20 +946,20 @@ var fn = zt(function(e) {
985
946
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
986
947
  }, t.prototype._innerSubscribe = function(r) {
987
948
  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);
949
+ return s || o ? Qt : (this.currentObservers = null, a.push(r), new He(function() {
950
+ n.currentObservers = null, Qe(a, r);
990
951
  }));
991
952
  }, t.prototype._checkFinalizedStatuses = function(r) {
992
953
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
993
954
  i ? r.error(s) : o && r.complete();
994
955
  }, t.prototype.asObservable = function() {
995
- var r = new yt();
956
+ var r = new vt();
996
957
  return r.source = this, r;
997
958
  }, t.create = function(r, n) {
998
- return new _t(r, n);
959
+ return new Et(r, n);
999
960
  }, t;
1000
- }(yt), _t = function(e) {
1001
- U(t, e);
961
+ }(vt), Et = function(e) {
962
+ fe(t, e);
1002
963
  function t(r, n) {
1003
964
  var i = e.call(this) || this;
1004
965
  return i.destination = r, i.source = n, i;
@@ -1014,15 +975,15 @@ var fn = zt(function(e) {
1014
975
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1015
976
  }, t.prototype._subscribe = function(r) {
1016
977
  var n, i;
1017
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
978
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qt;
1018
979
  }, t;
1019
980
  }(Jt), Kt = {
1020
981
  now: function() {
1021
982
  return (Kt.delegate || Date).now();
1022
983
  },
1023
984
  delegate: void 0
1024
- }, mn = function(e) {
1025
- U(t, e);
985
+ }, fn = function(e) {
986
+ fe(t, e);
1026
987
  function t(r, n, i) {
1027
988
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1028
989
  var s = e.call(this) || this;
@@ -1045,23 +1006,23 @@ var fn = zt(function(e) {
1045
1006
  }
1046
1007
  }, t;
1047
1008
  }(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);
1009
+ const xt = [], St = {}, mn = (e, t = 0) => {
1010
+ if (xt.indexOf(e) == -1) {
1011
+ const r = new fn(t);
1012
+ St[e] = r, xt.push(e);
1052
1013
  }
1053
- return xt[e];
1014
+ return St[e];
1054
1015
  }, Z = [];
1055
- function bn(e, t) {
1016
+ function dn(e, t) {
1056
1017
  return {
1057
- subscribe: He(e, t).subscribe
1018
+ subscribe: Ae(e, t).subscribe
1058
1019
  };
1059
1020
  }
1060
- function He(e, t = I) {
1021
+ function Ae(e, t = I) {
1061
1022
  let r;
1062
1023
  const n = /* @__PURE__ */ new Set();
1063
1024
  function i(a) {
1064
- if (Dt(e, a) && (e = a, r)) {
1025
+ if ($t(e, a) && (e = a, r)) {
1065
1026
  const h = !Z.length;
1066
1027
  for (const u of n)
1067
1028
  u[1](), Z.push(u, e);
@@ -1083,12 +1044,12 @@ function He(e, t = I) {
1083
1044
  }
1084
1045
  return { set: i, update: s, subscribe: o };
1085
1046
  }
1086
- function ie(e, t, r) {
1047
+ function ne(e, t, r) {
1087
1048
  const n = !Array.isArray(e), i = n ? [e] : e;
1088
1049
  if (!i.every(Boolean))
1089
1050
  throw new Error("derived() expects stores as input, got a falsy value");
1090
1051
  const s = t.length < 2;
1091
- return bn(r, (o, a) => {
1052
+ return dn(r, (o, a) => {
1092
1053
  let h = !1;
1093
1054
  const u = [];
1094
1055
  let l = 0, m = I;
@@ -1097,64 +1058,64 @@ function ie(e, t, r) {
1097
1058
  return;
1098
1059
  m();
1099
1060
  const b = t(n ? u[0] : u, o, a);
1100
- s ? o(b) : m = nt(b) ? b : I;
1061
+ s ? o(b) : m = at(b) ? b : I;
1101
1062
  }, d = i.map(
1102
- (b, y) => Ft(
1063
+ (b, g) => Ft(
1103
1064
  b,
1104
1065
  (T) => {
1105
- u[y] = T, l &= ~(1 << y), h && c();
1066
+ u[g] = T, l &= ~(1 << g), h && c();
1106
1067
  },
1107
1068
  () => {
1108
- l |= 1 << y;
1069
+ l |= 1 << g;
1109
1070
  }
1110
1071
  )
1111
1072
  );
1112
1073
  return h = !0, c(), function() {
1113
- re(d), m(), h = !1;
1074
+ te(d), m(), h = !1;
1114
1075
  };
1115
1076
  });
1116
1077
  }
1117
- function pn(e) {
1078
+ function bn(e) {
1118
1079
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1119
1080
  }
1120
- var gn = function(t) {
1121
- return yn(t) && !vn(t);
1081
+ var pn = function(t) {
1082
+ return yn(t) && !gn(t);
1122
1083
  };
1123
1084
  function yn(e) {
1124
1085
  return !!e && typeof e == "object";
1125
1086
  }
1126
- function vn(e) {
1087
+ function gn(e) {
1127
1088
  var t = Object.prototype.toString.call(e);
1128
- return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1089
+ return t === "[object RegExp]" || t === "[object Date]" || En(e);
1129
1090
  }
1130
- var _n = typeof Symbol == "function" && Symbol.for, En = _n ? Symbol.for("react.element") : 60103;
1131
- function xn(e) {
1132
- return e.$$typeof === En;
1091
+ var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
1092
+ function En(e) {
1093
+ return e.$$typeof === _n;
1133
1094
  }
1134
- function Sn(e) {
1095
+ function xn(e) {
1135
1096
  return Array.isArray(e) ? [] : {};
1136
1097
  }
1137
- function he(e, t) {
1138
- return t.clone !== !1 && t.isMergeableObject(e) ? J(Sn(e), e, t) : e;
1098
+ function ue(e, t) {
1099
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(xn(e), e, t) : e;
1139
1100
  }
1140
- function wn(e, t, r) {
1101
+ function Sn(e, t, r) {
1141
1102
  return e.concat(t).map(function(n) {
1142
- return he(n, r);
1103
+ return ue(n, r);
1143
1104
  });
1144
1105
  }
1145
- function Tn(e, t) {
1106
+ function wn(e, t) {
1146
1107
  if (!t.customMerge)
1147
- return J;
1108
+ return q;
1148
1109
  var r = t.customMerge(e);
1149
- return typeof r == "function" ? r : J;
1110
+ return typeof r == "function" ? r : q;
1150
1111
  }
1151
- function Hn(e) {
1112
+ function Tn(e) {
1152
1113
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1153
1114
  return Object.propertyIsEnumerable.call(e, t);
1154
1115
  }) : [];
1155
1116
  }
1156
- function St(e) {
1157
- return Object.keys(e).concat(Hn(e));
1117
+ function wt(e) {
1118
+ return Object.keys(e).concat(Tn(e));
1158
1119
  }
1159
1120
  function er(e, t) {
1160
1121
  try {
@@ -1163,33 +1124,75 @@ function er(e, t) {
1163
1124
  return !1;
1164
1125
  }
1165
1126
  }
1166
- function Bn(e, t) {
1127
+ function Hn(e, t) {
1167
1128
  return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1168
1129
  }
1169
1130
  function An(e, t, r) {
1170
1131
  var n = {};
1171
- return r.isMergeableObject(e) && St(e).forEach(function(i) {
1172
- 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));
1132
+ return r.isMergeableObject(e) && wt(e).forEach(function(i) {
1133
+ n[i] = ue(e[i], r);
1134
+ }), wt(t).forEach(function(i) {
1135
+ Hn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1175
1136
  }), n;
1176
1137
  }
1177
- function J(e, t, r) {
1178
- r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = he;
1138
+ function q(e, t, r) {
1139
+ r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = ue;
1179
1140
  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);
1141
+ return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ue(t, r);
1181
1142
  }
1182
- J.all = function(t, r) {
1143
+ q.all = function(t, r) {
1183
1144
  if (!Array.isArray(t))
1184
1145
  throw new Error("first argument should be an array");
1185
1146
  return t.reduce(function(n, i) {
1186
- return J(n, i, r);
1147
+ return q(n, i, r);
1187
1148
  }, {});
1188
1149
  };
1189
- var Pn = J, Nn = Pn;
1190
- const On = /* @__PURE__ */ pn(Nn);
1191
- 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;
1150
+ var Bn = q, Pn = Bn;
1151
+ const On = /* @__PURE__ */ bn(Pn);
1152
+ var qe = function(e, t) {
1153
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1154
+ r.__proto__ = n;
1155
+ } || function(r, n) {
1156
+ for (var i in n)
1157
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1158
+ }, qe(e, t);
1159
+ };
1160
+ function Be(e, t) {
1161
+ if (typeof t != "function" && t !== null)
1162
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1163
+ qe(e, t);
1164
+ function r() {
1165
+ this.constructor = e;
1166
+ }
1167
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1168
+ }
1169
+ var R = function() {
1170
+ return R = Object.assign || function(t) {
1171
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1172
+ r = arguments[n];
1173
+ for (var s in r)
1174
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1175
+ }
1176
+ return t;
1177
+ }, R.apply(this, arguments);
1178
+ };
1179
+ function Nn(e, t) {
1180
+ var r = {};
1181
+ for (var n in e)
1182
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1183
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1184
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1185
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1186
+ return r;
1187
+ }
1188
+ function Re(e, t, r) {
1189
+ if (r || arguments.length === 2)
1190
+ for (var n = 0, i = t.length, s; n < i; n++)
1191
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1192
+ return e.concat(s || Array.prototype.slice.call(t));
1193
+ }
1194
+ function Ge(e, t) {
1195
+ var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Cn;
1193
1196
  return i(e, {
1194
1197
  cache: r,
1195
1198
  serializer: n
@@ -1198,93 +1201,101 @@ function Ce(e, t) {
1198
1201
  function Ln(e) {
1199
1202
  return e == null || typeof e == "number" || typeof e == "boolean";
1200
1203
  }
1201
- function tr(e, t, r, n) {
1204
+ function In(e, t, r, n) {
1202
1205
  var i = Ln(n) ? n : r(n), s = t.get(i);
1203
1206
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1204
1207
  }
1205
- function rr(e, t, r) {
1208
+ function tr(e, t, r) {
1206
1209
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1207
1210
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1208
1211
  }
1209
- function it(e, t, r, n, i) {
1212
+ function rr(e, t, r, n, i) {
1210
1213
  return r.bind(t, e, n, i);
1211
1214
  }
1212
- function In(e, t) {
1213
- var r = e.length === 1 ? tr : rr;
1214
- return it(e, this, r, t.cache.create(), t.serializer);
1215
+ function Cn(e, t) {
1216
+ var r = e.length === 1 ? In : tr;
1217
+ return rr(e, this, r, t.cache.create(), t.serializer);
1215
1218
  }
1216
1219
  function Mn(e, t) {
1217
- return it(e, this, rr, t.cache.create(), t.serializer);
1218
- }
1219
- function Cn(e, t) {
1220
- return it(e, this, tr, t.cache.create(), t.serializer);
1220
+ return rr(e, this, tr, t.cache.create(), t.serializer);
1221
1221
  }
1222
1222
  var Rn = function() {
1223
1223
  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 = {
1224
+ }, Gn = (
1225
+ /** @class */
1226
+ function() {
1227
+ function e() {
1228
+ this.cache = /* @__PURE__ */ Object.create(null);
1229
+ }
1230
+ return e.prototype.get = function(t) {
1231
+ return this.cache[t];
1232
+ }, e.prototype.set = function(t, r) {
1233
+ this.cache[t] = r;
1234
+ }, e;
1235
+ }()
1236
+ ), Un = {
1235
1237
  create: function() {
1236
- return new st();
1238
+ return new Gn();
1237
1239
  }
1238
- }, Re = {
1239
- variadic: Mn,
1240
- monadic: Cn
1241
- }, p;
1240
+ }, Ue = {
1241
+ variadic: Mn
1242
+ }, Se = function() {
1243
+ return Se = Object.assign || function(t) {
1244
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1245
+ r = arguments[n];
1246
+ for (var s in r)
1247
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1248
+ }
1249
+ return t;
1250
+ }, Se.apply(this, arguments);
1251
+ };
1252
+ var p;
1242
1253
  (function(e) {
1243
1254
  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";
1244
1255
  })(p || (p = {}));
1245
- var x;
1256
+ var E;
1246
1257
  (function(e) {
1247
1258
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1248
- })(x || (x = {}));
1249
- var K;
1259
+ })(E || (E = {}));
1260
+ var J;
1250
1261
  (function(e) {
1251
1262
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1252
- })(K || (K = {}));
1253
- function wt(e) {
1254
- return e.type === x.literal;
1263
+ })(J || (J = {}));
1264
+ function Tt(e) {
1265
+ return e.type === E.literal;
1255
1266
  }
1256
- function Un(e) {
1257
- return e.type === x.argument;
1267
+ function Dn(e) {
1268
+ return e.type === E.argument;
1258
1269
  }
1259
1270
  function nr(e) {
1260
- return e.type === x.number;
1271
+ return e.type === E.number;
1261
1272
  }
1262
1273
  function ir(e) {
1263
- return e.type === x.date;
1274
+ return e.type === E.date;
1264
1275
  }
1265
1276
  function sr(e) {
1266
- return e.type === x.time;
1277
+ return e.type === E.time;
1267
1278
  }
1268
1279
  function or(e) {
1269
- return e.type === x.select;
1280
+ return e.type === E.select;
1270
1281
  }
1271
1282
  function ar(e) {
1272
- return e.type === x.plural;
1283
+ return e.type === E.plural;
1273
1284
  }
1274
- function Dn(e) {
1275
- return e.type === x.pound;
1285
+ function $n(e) {
1286
+ return e.type === E.pound;
1276
1287
  }
1277
1288
  function ur(e) {
1278
- return e.type === x.tag;
1289
+ return e.type === E.tag;
1279
1290
  }
1280
1291
  function hr(e) {
1281
- return !!(e && typeof e == "object" && e.type === K.number);
1292
+ return !!(e && typeof e == "object" && e.type === J.number);
1282
1293
  }
1283
- function Ze(e) {
1284
- return !!(e && typeof e == "object" && e.type === K.dateTime);
1294
+ function Je(e) {
1295
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1285
1296
  }
1286
1297
  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) {
1298
+ function jn(e) {
1288
1299
  var t = {};
1289
1300
  return e.replace(Fn, function(r) {
1290
1301
  var n = r.length;
@@ -1375,11 +1386,21 @@ function $n(e) {
1375
1386
  return "";
1376
1387
  }), t;
1377
1388
  }
1378
- var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1379
- function kn(e) {
1389
+ var S = function() {
1390
+ return S = Object.assign || function(t) {
1391
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1392
+ r = arguments[n];
1393
+ for (var s in r)
1394
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1395
+ }
1396
+ return t;
1397
+ }, S.apply(this, arguments);
1398
+ };
1399
+ var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1400
+ function Vn(e) {
1380
1401
  if (e.length === 0)
1381
1402
  throw new Error("Number skeleton cannot be empty");
1382
- for (var t = e.split(jn).filter(function(c) {
1403
+ for (var t = e.split(kn).filter(function(c) {
1383
1404
  return c.length > 0;
1384
1405
  }), r = [], n = 0, i = t; n < i.length; n++) {
1385
1406
  var s = i[n], o = s.split("/");
@@ -1394,11 +1415,11 @@ function kn(e) {
1394
1415
  }
1395
1416
  return r;
1396
1417
  }
1397
- function Vn(e) {
1418
+ function Xn(e) {
1398
1419
  return e.replace(/^(.*?)-/, "");
1399
1420
  }
1400
- var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1401
- function Ht(e) {
1421
+ var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1422
+ function At(e) {
1402
1423
  var t = {};
1403
1424
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1404
1425
  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)), "";
@@ -1444,7 +1465,7 @@ function mr(e) {
1444
1465
  };
1445
1466
  }
1446
1467
  }
1447
- function Wn(e) {
1468
+ function zn(e) {
1448
1469
  var t;
1449
1470
  if (e[0] === "E" && e[1] === "E" ? (t = {
1450
1471
  notation: "engineering"
@@ -1462,7 +1483,7 @@ function Bt(e) {
1462
1483
  var t = {}, r = mr(e);
1463
1484
  return r || t;
1464
1485
  }
1465
- function zn(e) {
1486
+ function Zn(e) {
1466
1487
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1467
1488
  var i = n[r];
1468
1489
  switch (i.stem) {
@@ -1486,7 +1507,7 @@ function zn(e) {
1486
1507
  continue;
1487
1508
  case "measure-unit":
1488
1509
  case "unit":
1489
- t.style = "unit", t.unit = Vn(i.options[0]);
1510
+ t.style = "unit", t.unit = Xn(i.options[0]);
1490
1511
  continue;
1491
1512
  case "compact-short":
1492
1513
  case "K":
@@ -1497,13 +1518,13 @@ function zn(e) {
1497
1518
  t.notation = "compact", t.compactDisplay = "long";
1498
1519
  continue;
1499
1520
  case "scientific":
1500
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1501
- return v(v({}, h), Bt(u));
1521
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1522
+ return S(S({}, h), Bt(u));
1502
1523
  }, {}));
1503
1524
  continue;
1504
1525
  case "engineering":
1505
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1506
- return v(v({}, h), Bt(u));
1526
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1527
+ return S(S({}, h), Bt(u));
1507
1528
  }, {}));
1508
1529
  continue;
1509
1530
  case "notation-simple":
@@ -1548,7 +1569,7 @@ function zn(e) {
1548
1569
  case "integer-width":
1549
1570
  if (i.options.length > 1)
1550
1571
  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) {
1572
+ i.options[0].replace(Wn, function(h, u, l, m, c, d) {
1552
1573
  if (u)
1553
1574
  t.minimumIntegerDigits = l.length;
1554
1575
  else {
@@ -1565,28 +1586,28 @@ function zn(e) {
1565
1586
  t.minimumIntegerDigits = i.stem.length;
1566
1587
  continue;
1567
1588
  }
1568
- if (Tt.test(i.stem)) {
1589
+ if (Ht.test(i.stem)) {
1569
1590
  if (i.options.length > 1)
1570
1591
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1571
- i.stem.replace(Tt, function(h, u, l, m, c, d) {
1592
+ i.stem.replace(Ht, function(h, u, l, m, c, d) {
1572
1593
  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
1594
  });
1574
1595
  var s = i.options[0];
1575
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Ht(s)));
1596
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), At(s)));
1576
1597
  continue;
1577
1598
  }
1578
1599
  if (cr.test(i.stem)) {
1579
- t = v(v({}, t), Ht(i.stem));
1600
+ t = S(S({}, t), At(i.stem));
1580
1601
  continue;
1581
1602
  }
1582
1603
  var o = mr(i.stem);
1583
- o && (t = v(v({}, t), o));
1584
- var a = Wn(i.stem);
1585
- a && (t = v(v({}, t), a));
1604
+ o && (t = S(S({}, t), o));
1605
+ var a = zn(i.stem);
1606
+ a && (t = S(S({}, t), a));
1586
1607
  }
1587
1608
  return t;
1588
1609
  }
1589
- var ye = {
1610
+ var ge = {
1590
1611
  "001": [
1591
1612
  "H",
1592
1613
  "h"
@@ -3001,13 +3022,13 @@ var ye = {
3001
3022
  "h"
3002
3023
  ]
3003
3024
  };
3004
- function Zn(e, t) {
3025
+ function Qn(e, t) {
3005
3026
  for (var r = "", n = 0; n < e.length; n++) {
3006
3027
  var i = e.charAt(n);
3007
3028
  if (i === "j") {
3008
3029
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3009
3030
  s++, n++;
3010
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Qn(t);
3031
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Yn(t);
3011
3032
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3012
3033
  r += h;
3013
3034
  for (; o-- > 0; )
@@ -3017,7 +3038,7 @@ function Zn(e, t) {
3017
3038
  }
3018
3039
  return r;
3019
3040
  }
3020
- function Qn(e) {
3041
+ function Yn(e) {
3021
3042
  var t = e.hourCycle;
3022
3043
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3023
3044
  e.hourCycles && // @ts-ignore
@@ -3036,23 +3057,23 @@ function Qn(e) {
3036
3057
  }
3037
3058
  var r = e.language, n;
3038
3059
  r !== "root" && (n = e.maximize().region);
3039
- var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3060
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
3040
3061
  return i[0];
3041
3062
  }
3042
- var Ge, Yn = new RegExp("^".concat(lr.source, "*")), qn = new RegExp("".concat(lr.source, "*$"));
3043
- function g(e, t) {
3063
+ var De, qn = new RegExp("^".concat(lr.source, "*")), Jn = new RegExp("".concat(lr.source, "*$"));
3064
+ function y(e, t) {
3044
3065
  return { start: e, end: t };
3045
3066
  }
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) {
3067
+ var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, oi = si ? Number.isSafeInteger : function(e) {
3047
3068
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3048
- }, Qe = !0;
3069
+ }, Ke = !0;
3049
3070
  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";
3071
+ var ai = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3072
+ Ke = ((De = ai.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3052
3073
  } catch {
3053
- Qe = !1;
3074
+ Ke = !1;
3054
3075
  }
3055
- var At = Jn ? (
3076
+ var Pt = Kn ? (
3056
3077
  // Native
3057
3078
  function(t, r, n) {
3058
3079
  return t.startsWith(r, n);
@@ -3062,7 +3083,7 @@ var At = Jn ? (
3062
3083
  function(t, r, n) {
3063
3084
  return t.slice(n, n + r.length) === r;
3064
3085
  }
3065
- ), Ye = Kn ? String.fromCodePoint : (
3086
+ ), et = ei ? String.fromCodePoint : (
3066
3087
  // IE11
3067
3088
  function() {
3068
3089
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3074,9 +3095,9 @@ var At = Jn ? (
3074
3095
  }
3075
3096
  return n;
3076
3097
  }
3077
- ), Pt = (
3098
+ ), Ot = (
3078
3099
  // native
3079
- ei ? Object.fromEntries : (
3100
+ ti ? Object.fromEntries : (
3080
3101
  // Ponyfill
3081
3102
  function(t) {
3082
3103
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3086,7 +3107,7 @@ var At = Jn ? (
3086
3107
  return r;
3087
3108
  }
3088
3109
  )
3089
- ), dr = ti ? (
3110
+ ), dr = ri ? (
3090
3111
  // Native
3091
3112
  function(t, r) {
3092
3113
  return t.codePointAt(r);
@@ -3100,7 +3121,7 @@ var At = Jn ? (
3100
3121
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3101
3122
  }
3102
3123
  }
3103
- ), ai = ri ? (
3124
+ ), ui = ni ? (
3104
3125
  // Native
3105
3126
  function(t) {
3106
3127
  return t.trimStart();
@@ -3108,9 +3129,9 @@ var At = Jn ? (
3108
3129
  ) : (
3109
3130
  // Ponyfill
3110
3131
  function(t) {
3111
- return t.replace(Yn, "");
3132
+ return t.replace(qn, "");
3112
3133
  }
3113
- ), ui = ni ? (
3134
+ ), hi = ii ? (
3114
3135
  // Native
3115
3136
  function(t) {
3116
3137
  return t.trimEnd();
@@ -3118,32 +3139,32 @@ var At = Jn ? (
3118
3139
  ) : (
3119
3140
  // Ponyfill
3120
3141
  function(t) {
3121
- return t.replace(qn, "");
3142
+ return t.replace(Jn, "");
3122
3143
  }
3123
3144
  );
3124
3145
  function br(e, t) {
3125
3146
  return new RegExp(e, t);
3126
3147
  }
3127
- var qe;
3128
- if (Qe) {
3148
+ var tt;
3149
+ if (Ke) {
3129
3150
  var Nt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3130
- qe = function(t, r) {
3151
+ tt = function(t, r) {
3131
3152
  var n;
3132
3153
  Nt.lastIndex = r;
3133
3154
  var i = Nt.exec(t);
3134
3155
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3135
3156
  };
3136
3157
  } else
3137
- qe = function(t, r) {
3158
+ tt = function(t, r) {
3138
3159
  for (var n = []; ; ) {
3139
3160
  var i = dr(t, r);
3140
- if (i === void 0 || pr(i) || fi(i))
3161
+ if (i === void 0 || pr(i) || mi(i))
3141
3162
  break;
3142
3163
  n.push(i), r += i >= 65536 ? 2 : 1;
3143
3164
  }
3144
- return Ye.apply(void 0, n);
3165
+ return et.apply(void 0, n);
3145
3166
  };
3146
- var hi = (
3167
+ var li = (
3147
3168
  /** @class */
3148
3169
  function() {
3149
3170
  function e(t, r) {
@@ -3167,14 +3188,14 @@ var hi = (
3167
3188
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3168
3189
  var a = this.clonePosition();
3169
3190
  this.bump(), i.push({
3170
- type: x.pound,
3171
- location: g(a, this.clonePosition())
3191
+ type: E.pound,
3192
+ location: y(a, this.clonePosition())
3172
3193
  });
3173
3194
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3174
3195
  if (n)
3175
3196
  break;
3176
- return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3177
- } else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3197
+ return this.error(p.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3198
+ } else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3178
3199
  var o = this.parseTag(t, r);
3179
3200
  if (o.err)
3180
3201
  return o;
@@ -3195,9 +3216,9 @@ var hi = (
3195
3216
  if (this.bumpSpace(), this.bumpIf("/>"))
3196
3217
  return {
3197
3218
  val: {
3198
- type: x.literal,
3219
+ type: E.literal,
3199
3220
  value: "<".concat(i, "/>"),
3200
- location: g(n, this.clonePosition())
3221
+ location: y(n, this.clonePosition())
3201
3222
  },
3202
3223
  err: null
3203
3224
  };
@@ -3207,25 +3228,25 @@ var hi = (
3207
3228
  return s;
3208
3229
  var o = s.val, a = this.clonePosition();
3209
3230
  if (this.bumpIf("</")) {
3210
- if (this.isEOF() || !Je(this.char()))
3211
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3231
+ if (this.isEOF() || !rt(this.char()))
3232
+ return this.error(p.INVALID_TAG, y(a, this.clonePosition()));
3212
3233
  var h = this.clonePosition(), u = this.parseTagName();
3213
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3234
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3214
3235
  val: {
3215
- type: x.tag,
3236
+ type: E.tag,
3216
3237
  value: i,
3217
3238
  children: o,
3218
- location: g(n, this.clonePosition())
3239
+ location: y(n, this.clonePosition())
3219
3240
  },
3220
3241
  err: null
3221
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
3242
+ } : this.error(p.INVALID_TAG, y(a, this.clonePosition())));
3222
3243
  } else
3223
- return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
3244
+ return this.error(p.UNCLOSED_TAG, y(n, this.clonePosition()));
3224
3245
  } else
3225
- return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3246
+ return this.error(p.INVALID_TAG, y(n, this.clonePosition()));
3226
3247
  }, e.prototype.parseTagName = function() {
3227
3248
  var t = this.offset();
3228
- for (this.bump(); !this.isEOF() && ci(this.char()); )
3249
+ for (this.bump(); !this.isEOF() && fi(this.char()); )
3229
3250
  this.bump();
3230
3251
  return this.message.slice(t, this.offset());
3231
3252
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3247,14 +3268,14 @@ var hi = (
3247
3268
  }
3248
3269
  break;
3249
3270
  }
3250
- var h = g(n, this.clonePosition());
3271
+ var h = y(n, this.clonePosition());
3251
3272
  return {
3252
- val: { type: x.literal, value: i, location: h },
3273
+ val: { type: E.literal, value: i, location: h },
3253
3274
  err: null
3254
3275
  };
3255
3276
  }, e.prototype.tryParseLeftAngleBracket = function() {
3256
3277
  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;
3278
+ !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3258
3279
  }, e.prototype.tryParseQuote = function(t) {
3259
3280
  if (this.isEOF() || this.char() !== 39)
3260
3281
  return null;
@@ -3288,49 +3309,49 @@ var hi = (
3288
3309
  r.push(n);
3289
3310
  this.bump();
3290
3311
  }
3291
- return Ye.apply(void 0, r);
3312
+ return et.apply(void 0, r);
3292
3313
  }, e.prototype.tryParseUnquoted = function(t, r) {
3293
3314
  if (this.isEOF())
3294
3315
  return null;
3295
3316
  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));
3317
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3297
3318
  }, e.prototype.parseArgument = function(t, r) {
3298
3319
  var n = this.clonePosition();
3299
3320
  if (this.bump(), this.bumpSpace(), this.isEOF())
3300
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3321
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3301
3322
  if (this.char() === 125)
3302
- return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3323
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3303
3324
  var i = this.parseIdentifierIfPossible().value;
3304
3325
  if (!i)
3305
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3326
+ return this.error(p.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3306
3327
  if (this.bumpSpace(), this.isEOF())
3307
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3328
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3308
3329
  switch (this.char()) {
3309
3330
  case 125:
3310
3331
  return this.bump(), {
3311
3332
  val: {
3312
- type: x.argument,
3333
+ type: E.argument,
3313
3334
  // value does not include the opening and closing braces.
3314
3335
  value: i,
3315
- location: g(n, this.clonePosition())
3336
+ location: y(n, this.clonePosition())
3316
3337
  },
3317
3338
  err: null
3318
3339
  };
3319
3340
  case 44:
3320
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3341
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3321
3342
  default:
3322
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3343
+ return this.error(p.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3323
3344
  }
3324
3345
  }, e.prototype.parseIdentifierIfPossible = function() {
3325
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3346
+ var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3326
3347
  this.bumpTo(i);
3327
- var s = this.clonePosition(), o = g(t, s);
3348
+ var s = this.clonePosition(), o = y(t, s);
3328
3349
  return { value: n, location: o };
3329
3350
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3330
3351
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3331
3352
  switch (a) {
3332
3353
  case "":
3333
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(o, h));
3354
+ return this.error(p.EXPECT_ARGUMENT_TYPE, y(o, h));
3334
3355
  case "number":
3335
3356
  case "date":
3336
3357
  case "time": {
@@ -3341,46 +3362,46 @@ var hi = (
3341
3362
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3342
3363
  if (m.err)
3343
3364
  return m;
3344
- var c = ui(m.val);
3365
+ var c = hi(m.val);
3345
3366
  if (c.length === 0)
3346
- return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3347
- var d = g(l, this.clonePosition());
3367
+ return this.error(p.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3368
+ var d = y(l, this.clonePosition());
3348
3369
  u = { style: c, styleLocation: d };
3349
3370
  }
3350
3371
  var b = this.tryParseArgumentClose(i);
3351
3372
  if (b.err)
3352
3373
  return b;
3353
- var y = g(i, this.clonePosition());
3354
- if (u && At(u?.style, "::", 0)) {
3355
- var T = ai(u.style.slice(2));
3374
+ var g = y(i, this.clonePosition());
3375
+ if (u && Pt(u?.style, "::", 0)) {
3376
+ var T = ui(u.style.slice(2));
3356
3377
  if (a === "number") {
3357
3378
  var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3358
3379
  return m.err ? m : {
3359
- val: { type: x.number, value: n, location: y, style: m.val },
3380
+ val: { type: E.number, value: n, location: g, style: m.val },
3360
3381
  err: null
3361
3382
  };
3362
3383
  } else {
3363
3384
  if (T.length === 0)
3364
- return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3365
- var M = T;
3366
- this.locale && (M = Zn(T, this.locale));
3385
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
3386
+ var C = T;
3387
+ this.locale && (C = Qn(T, this.locale));
3367
3388
  var c = {
3368
- type: K.dateTime,
3369
- pattern: M,
3389
+ type: J.dateTime,
3390
+ pattern: C,
3370
3391
  location: u.styleLocation,
3371
- parsedOptions: this.shouldParseSkeletons ? $n(M) : {}
3372
- }, P = a === "date" ? x.date : x.time;
3392
+ parsedOptions: this.shouldParseSkeletons ? jn(C) : {}
3393
+ }, P = a === "date" ? E.date : E.time;
3373
3394
  return {
3374
- val: { type: P, value: n, location: y, style: c },
3395
+ val: { type: P, value: n, location: g, style: c },
3375
3396
  err: null
3376
3397
  };
3377
3398
  }
3378
3399
  }
3379
3400
  return {
3380
3401
  val: {
3381
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3402
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3382
3403
  value: n,
3383
- location: y,
3404
+ location: g,
3384
3405
  style: (s = u?.style) !== null && s !== void 0 ? s : null
3385
3406
  },
3386
3407
  err: null
@@ -3391,50 +3412,50 @@ var hi = (
3391
3412
  case "select": {
3392
3413
  var w = this.clonePosition();
3393
3414
  if (this.bumpSpace(), !this.bumpIf(","))
3394
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
3415
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, Se({}, w)));
3395
3416
  this.bumpSpace();
3396
- var N = this.parseIdentifierIfPossible(), O = 0;
3397
- if (a !== "select" && N.value === "offset") {
3417
+ var O = this.parseIdentifierIfPossible(), N = 0;
3418
+ if (a !== "select" && O.value === "offset") {
3398
3419
  if (!this.bumpIf(":"))
3399
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3420
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3400
3421
  this.bumpSpace();
3401
3422
  var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3402
3423
  if (m.err)
3403
3424
  return m;
3404
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3425
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), N = m.val;
3405
3426
  }
3406
- var C = this.tryParsePluralOrSelectOptions(t, a, r, N);
3407
- if (C.err)
3408
- return C;
3427
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, O);
3428
+ if (M.err)
3429
+ return M;
3409
3430
  var b = this.tryParseArgumentClose(i);
3410
3431
  if (b.err)
3411
3432
  return b;
3412
- var E = g(i, this.clonePosition());
3433
+ var _ = y(i, this.clonePosition());
3413
3434
  return a === "select" ? {
3414
3435
  val: {
3415
- type: x.select,
3436
+ type: E.select,
3416
3437
  value: n,
3417
- options: Pt(C.val),
3418
- location: E
3438
+ options: Ot(M.val),
3439
+ location: _
3419
3440
  },
3420
3441
  err: null
3421
3442
  } : {
3422
3443
  val: {
3423
- type: x.plural,
3444
+ type: E.plural,
3424
3445
  value: n,
3425
- options: Pt(C.val),
3426
- offset: O,
3446
+ options: Ot(M.val),
3447
+ offset: N,
3427
3448
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3428
- location: E
3449
+ location: _
3429
3450
  },
3430
3451
  err: null
3431
3452
  };
3432
3453
  }
3433
3454
  default:
3434
- return this.error(p.INVALID_ARGUMENT_TYPE, g(o, h));
3455
+ return this.error(p.INVALID_ARGUMENT_TYPE, y(o, h));
3435
3456
  }
3436
3457
  }, e.prototype.tryParseArgumentClose = function(t) {
3437
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3458
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3438
3459
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3439
3460
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3440
3461
  var n = this.char();
@@ -3443,7 +3464,7 @@ var hi = (
3443
3464
  this.bump();
3444
3465
  var i = this.clonePosition();
3445
3466
  if (!this.bumpUntil("'"))
3446
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3467
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3447
3468
  this.bump();
3448
3469
  break;
3449
3470
  }
@@ -3473,16 +3494,16 @@ var hi = (
3473
3494
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3474
3495
  var n = [];
3475
3496
  try {
3476
- n = kn(t);
3497
+ n = Vn(t);
3477
3498
  } catch {
3478
3499
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3479
3500
  }
3480
3501
  return {
3481
3502
  val: {
3482
- type: K.number,
3503
+ type: J.number,
3483
3504
  tokens: n,
3484
3505
  location: r,
3485
- parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
3506
+ parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
3486
3507
  },
3487
3508
  err: null
3488
3509
  };
@@ -3494,7 +3515,7 @@ var hi = (
3494
3515
  var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3495
3516
  if (c.err)
3496
3517
  return c;
3497
- l = g(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3518
+ l = y(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3498
3519
  } else
3499
3520
  break;
3500
3521
  }
@@ -3503,22 +3524,22 @@ var hi = (
3503
3524
  u === "other" && (o = !0), this.bumpSpace();
3504
3525
  var d = this.clonePosition();
3505
3526
  if (!this.bumpIf("{"))
3506
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3527
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3507
3528
  var b = this.parseMessage(t + 1, r, n);
3508
3529
  if (b.err)
3509
3530
  return b;
3510
- var y = this.tryParseArgumentClose(d);
3511
- if (y.err)
3512
- return y;
3531
+ var g = this.tryParseArgumentClose(d);
3532
+ if (g.err)
3533
+ return g;
3513
3534
  a.push([
3514
3535
  u,
3515
3536
  {
3516
3537
  value: b.val,
3517
- location: g(d, this.clonePosition())
3538
+ location: y(d, this.clonePosition())
3518
3539
  }
3519
3540
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3520
3541
  }
3521
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3542
+ return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3522
3543
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3523
3544
  var n = 1, i = this.clonePosition();
3524
3545
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3529,8 +3550,8 @@ var hi = (
3529
3550
  else
3530
3551
  break;
3531
3552
  }
3532
- 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);
3553
+ var h = y(i, this.clonePosition());
3554
+ return s ? (o *= n, oi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3534
3555
  }, e.prototype.offset = function() {
3535
3556
  return this.position.offset;
3536
3557
  }, e.prototype.isEOF = function() {
@@ -3564,7 +3585,7 @@ var hi = (
3564
3585
  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
3586
  }
3566
3587
  }, e.prototype.bumpIf = function(t) {
3567
- if (At(this.message, t, this.offset())) {
3588
+ if (Pt(this.message, t, this.offset())) {
3568
3589
  for (var r = 0; r < t.length; r++)
3569
3590
  this.bump();
3570
3591
  return !0;
@@ -3596,47 +3617,47 @@ var hi = (
3596
3617
  }, e;
3597
3618
  }()
3598
3619
  );
3599
- function Je(e) {
3620
+ function rt(e) {
3600
3621
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3601
3622
  }
3602
- function li(e) {
3603
- return Je(e) || e === 47;
3604
- }
3605
3623
  function ci(e) {
3624
+ return rt(e) || e === 47;
3625
+ }
3626
+ function fi(e) {
3606
3627
  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
3628
  }
3608
3629
  function pr(e) {
3609
3630
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3610
3631
  }
3611
- function fi(e) {
3632
+ function mi(e) {
3612
3633
  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
3634
  }
3614
- function Ke(e) {
3635
+ function nt(e) {
3615
3636
  e.forEach(function(t) {
3616
3637
  if (delete t.location, or(t) || ar(t))
3617
3638
  for (var r in t.options)
3618
- delete t.options[r].location, Ke(t.options[r].value);
3639
+ delete t.options[r].location, nt(t.options[r].value);
3619
3640
  else
3620
- nr(t) && hr(t.style) || (ir(t) || sr(t)) && Ze(t.style) ? delete t.style.location : ur(t) && Ke(t.children);
3641
+ nr(t) && hr(t.style) || (ir(t) || sr(t)) && Je(t.style) ? delete t.style.location : ur(t) && nt(t.children);
3621
3642
  });
3622
3643
  }
3623
- function mi(e, t) {
3624
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3625
- var r = new hi(e, t).parse();
3644
+ function di(e, t) {
3645
+ t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3646
+ var r = new li(e, t).parse();
3626
3647
  if (r.err) {
3627
3648
  var n = SyntaxError(p[r.err.kind]);
3628
3649
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3629
3650
  }
3630
- return t?.captureLocation || Ke(r.val), r.val;
3651
+ return t?.captureLocation || nt(r.val), r.val;
3631
3652
  }
3632
- var ee;
3653
+ var K;
3633
3654
  (function(e) {
3634
3655
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3635
- })(ee || (ee = {}));
3636
- var Be = (
3656
+ })(K || (K = {}));
3657
+ var Pe = (
3637
3658
  /** @class */
3638
3659
  function(e) {
3639
- U(t, e);
3660
+ Be(t, e);
3640
3661
  function t(r, n, i) {
3641
3662
  var s = e.call(this, r) || this;
3642
3663
  return s.code = n, s.originalMessage = i, s;
@@ -3645,38 +3666,38 @@ var Be = (
3645
3666
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3646
3667
  }, t;
3647
3668
  }(Error)
3648
- ), Ot = (
3669
+ ), Lt = (
3649
3670
  /** @class */
3650
3671
  function(e) {
3651
- U(t, e);
3672
+ Be(t, e);
3652
3673
  function t(r, n, i, s) {
3653
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3674
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
3654
3675
  }
3655
3676
  return t;
3656
- }(Be)
3657
- ), di = (
3677
+ }(Pe)
3678
+ ), bi = (
3658
3679
  /** @class */
3659
3680
  function(e) {
3660
- U(t, e);
3681
+ Be(t, e);
3661
3682
  function t(r, n, i) {
3662
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3683
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3663
3684
  }
3664
3685
  return t;
3665
- }(Be)
3666
- ), bi = (
3686
+ }(Pe)
3687
+ ), pi = (
3667
3688
  /** @class */
3668
3689
  function(e) {
3669
- U(t, e);
3690
+ Be(t, e);
3670
3691
  function t(r, n) {
3671
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3692
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3672
3693
  }
3673
3694
  return t;
3674
- }(Be)
3695
+ }(Pe)
3675
3696
  ), H;
3676
3697
  (function(e) {
3677
3698
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3678
3699
  })(H || (H = {}));
3679
- function pi(e) {
3700
+ function yi(e) {
3680
3701
  return e.length < 2 ? e : e.reduce(function(t, r) {
3681
3702
  var n = t[t.length - 1];
3682
3703
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
@@ -3686,7 +3707,7 @@ function gi(e) {
3686
3707
  return typeof e == "function";
3687
3708
  }
3688
3709
  function Ee(e, t, r, n, i, s, o) {
3689
- if (e.length === 1 && wt(e[0]))
3710
+ if (e.length === 1 && Tt(e[0]))
3690
3711
  return [
3691
3712
  {
3692
3713
  type: H.literal,
@@ -3695,14 +3716,14 @@ function Ee(e, t, r, n, i, s, o) {
3695
3716
  ];
3696
3717
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3697
3718
  var l = u[h];
3698
- if (wt(l)) {
3719
+ if (Tt(l)) {
3699
3720
  a.push({
3700
3721
  type: H.literal,
3701
3722
  value: l.value
3702
3723
  });
3703
3724
  continue;
3704
3725
  }
3705
- if (Dn(l)) {
3726
+ if ($n(l)) {
3706
3727
  typeof s == "number" && a.push({
3707
3728
  type: H.literal,
3708
3729
  value: r.getNumberFormat(t).format(s)
@@ -3711,9 +3732,9 @@ function Ee(e, t, r, n, i, s, o) {
3711
3732
  }
3712
3733
  var m = l.value;
3713
3734
  if (!(i && m in i))
3714
- throw new bi(m, o);
3735
+ throw new pi(m, o);
3715
3736
  var c = i[m];
3716
- if (Un(l)) {
3737
+ if (Dn(l)) {
3717
3738
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3718
3739
  type: typeof c == "string" ? H.literal : H.object,
3719
3740
  value: c
@@ -3721,7 +3742,7 @@ function Ee(e, t, r, n, i, s, o) {
3721
3742
  continue;
3722
3743
  }
3723
3744
  if (ir(l)) {
3724
- var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
3745
+ var d = typeof l.style == "string" ? n.date[l.style] : Je(l.style) ? l.style.parsedOptions : void 0;
3725
3746
  a.push({
3726
3747
  type: H.literal,
3727
3748
  value: r.getDateTimeFormat(t, d).format(c)
@@ -3729,7 +3750,7 @@ function Ee(e, t, r, n, i, s, o) {
3729
3750
  continue;
3730
3751
  }
3731
3752
  if (sr(l)) {
3732
- var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
3753
+ var d = typeof l.style == "string" ? n.time[l.style] : Je(l.style) ? l.style.parsedOptions : n.time.medium;
3733
3754
  a.push({
3734
3755
  type: H.literal,
3735
3756
  value: r.getDateTimeFormat(t, d).format(c)
@@ -3745,23 +3766,23 @@ function Ee(e, t, r, n, i, s, o) {
3745
3766
  continue;
3746
3767
  }
3747
3768
  if (ur(l)) {
3748
- var b = l.children, y = l.value, T = i[y];
3769
+ var b = l.children, g = l.value, T = i[g];
3749
3770
  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) {
3752
- return O.value;
3771
+ throw new bi(g, "function", o);
3772
+ var C = Ee(b, t, r, n, i, s), P = T(C.map(function(N) {
3773
+ return N.value;
3753
3774
  }));
3754
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3775
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(N) {
3755
3776
  return {
3756
- type: typeof O == "string" ? H.literal : H.object,
3757
- value: O
3777
+ type: typeof N == "string" ? H.literal : H.object,
3778
+ value: N
3758
3779
  };
3759
3780
  }));
3760
3781
  }
3761
3782
  if (or(l)) {
3762
3783
  var w = l.options[c] || l.options.other;
3763
3784
  if (!w)
3764
- throw new Ot(l.value, c, Object.keys(l.options), o);
3785
+ throw new Lt(l.value, c, Object.keys(l.options), o);
3765
3786
  a.push.apply(a, Ee(w.value, t, r, n, i));
3766
3787
  continue;
3767
3788
  }
@@ -3769,31 +3790,31 @@ function Ee(e, t, r, n, i, s, o) {
3769
3790
  var w = l.options["=".concat(c)];
3770
3791
  if (!w) {
3771
3792
  if (!Intl.PluralRules)
3772
- throw new Be(`Intl.PluralRules is not available in this environment.
3793
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3773
3794
  Try polyfilling it using "@formatjs/intl-pluralrules"
3774
- `, ee.MISSING_INTL_API, o);
3775
- var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3776
- w = l.options[N] || l.options.other;
3795
+ `, K.MISSING_INTL_API, o);
3796
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3797
+ w = l.options[O] || l.options.other;
3777
3798
  }
3778
3799
  if (!w)
3779
- throw new Ot(l.value, c, Object.keys(l.options), o);
3800
+ throw new Lt(l.value, c, Object.keys(l.options), o);
3780
3801
  a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
3781
3802
  continue;
3782
3803
  }
3783
3804
  }
3784
- return pi(a);
3805
+ return yi(a);
3785
3806
  }
3786
- function yi(e, t) {
3787
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3788
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3807
+ function vi(e, t) {
3808
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3809
+ return r[n] = R(R({}, e[n]), t[n] || {}), r;
3789
3810
  }, {})) : e;
3790
3811
  }
3791
- function vi(e, t) {
3812
+ function _i(e, t) {
3792
3813
  return t ? Object.keys(e).reduce(function(r, n) {
3793
- return r[n] = yi(e[n], t[n]), r;
3794
- }, v({}, e)) : e;
3814
+ return r[n] = vi(e[n], t[n]), r;
3815
+ }, R({}, e)) : e;
3795
3816
  }
3796
- function Ue(e) {
3817
+ function $e(e) {
3797
3818
  return {
3798
3819
  create: function() {
3799
3820
  return {
@@ -3807,39 +3828,39 @@ function Ue(e) {
3807
3828
  }
3808
3829
  };
3809
3830
  }
3810
- function _i(e) {
3831
+ function Ei(e) {
3811
3832
  return e === void 0 && (e = {
3812
3833
  number: {},
3813
3834
  dateTime: {},
3814
3835
  pluralRules: {}
3815
3836
  }), {
3816
- getNumberFormat: Ce(function() {
3837
+ getNumberFormat: Ge(function() {
3817
3838
  for (var t, r = [], n = 0; n < arguments.length; n++)
3818
3839
  r[n] = arguments[n];
3819
- return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3840
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3820
3841
  }, {
3821
- cache: Ue(e.number),
3822
- strategy: Re.variadic
3842
+ cache: $e(e.number),
3843
+ strategy: Ue.variadic
3823
3844
  }),
3824
- getDateTimeFormat: Ce(function() {
3845
+ getDateTimeFormat: Ge(function() {
3825
3846
  for (var t, r = [], n = 0; n < arguments.length; n++)
3826
3847
  r[n] = arguments[n];
3827
- return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3848
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3828
3849
  }, {
3829
- cache: Ue(e.dateTime),
3830
- strategy: Re.variadic
3850
+ cache: $e(e.dateTime),
3851
+ strategy: Ue.variadic
3831
3852
  }),
3832
- getPluralRules: Ce(function() {
3853
+ getPluralRules: Ge(function() {
3833
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3834
3855
  r[n] = arguments[n];
3835
- return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3856
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3836
3857
  }, {
3837
- cache: Ue(e.pluralRules),
3838
- strategy: Re.variadic
3858
+ cache: $e(e.pluralRules),
3859
+ strategy: Ue.variadic
3839
3860
  })
3840
3861
  };
3841
3862
  }
3842
- var Ei = (
3863
+ var xi = (
3843
3864
  /** @class */
3844
3865
  function() {
3845
3866
  function e(t, r, n, i) {
@@ -3871,13 +3892,13 @@ var Ei = (
3871
3892
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3872
3893
  var o = i || {};
3873
3894
  o.formatters;
3874
- var a = Kr(o, ["formatters"]);
3875
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3895
+ var a = Nn(o, ["formatters"]);
3896
+ this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
3876
3897
  } else
3877
3898
  this.ast = t;
3878
3899
  if (!Array.isArray(this.ast))
3879
3900
  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);
3901
+ this.formats = _i(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
3881
3902
  }
3882
3903
  return Object.defineProperty(e, "defaultLocale", {
3883
3904
  get: function() {
@@ -3890,7 +3911,7 @@ var Ei = (
3890
3911
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3891
3912
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3892
3913
  }
3893
- }, e.__parse = mi, e.formats = {
3914
+ }, e.__parse = di, e.formats = {
3894
3915
  number: {
3895
3916
  integer: {
3896
3917
  maximumFractionDigits: 0
@@ -3951,7 +3972,7 @@ var Ei = (
3951
3972
  }, e;
3952
3973
  }()
3953
3974
  );
3954
- function xi(e, t) {
3975
+ function Si(e, t) {
3955
3976
  if (t == null)
3956
3977
  return;
3957
3978
  if (t in e)
@@ -3972,50 +3993,50 @@ function xi(e, t) {
3972
3993
  n = void 0;
3973
3994
  return n;
3974
3995
  }
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) => {
3996
+ const D = {}, wi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), yr = (e, t) => {
3976
3997
  if (t == null)
3977
3998
  return;
3978
3999
  if (t in D && e in D[t])
3979
4000
  return D[t][e];
3980
- const r = Ae(t);
4001
+ const r = Oe(t);
3981
4002
  for (let n = 0; n < r.length; n++) {
3982
- const i = r[n], s = Ti(i, e);
4003
+ const i = r[n], s = Hi(i, e);
3983
4004
  if (s)
3984
- return Si(e, t, s);
4005
+ return wi(e, t, s);
3985
4006
  }
3986
4007
  };
3987
- let ot;
3988
- const me = He({});
3989
- function wi(e) {
3990
- return ot[e] || null;
4008
+ let ut;
4009
+ const me = Ae({});
4010
+ function Ti(e) {
4011
+ return ut[e] || null;
3991
4012
  }
3992
- function yr(e) {
3993
- return e in ot;
4013
+ function gr(e) {
4014
+ return e in ut;
3994
4015
  }
3995
- function Ti(e, t) {
3996
- if (!yr(e))
4016
+ function Hi(e, t) {
4017
+ if (!gr(e))
3997
4018
  return null;
3998
- const r = wi(e);
3999
- return xi(r, t);
4019
+ const r = Ti(e);
4020
+ return Si(r, t);
4000
4021
  }
4001
- function Hi(e) {
4022
+ function Ai(e) {
4002
4023
  if (e == null)
4003
4024
  return;
4004
- const t = Ae(e);
4025
+ const t = Oe(e);
4005
4026
  for (let r = 0; r < t.length; r++) {
4006
4027
  const n = t[r];
4007
- if (yr(n))
4028
+ if (gr(n))
4008
4029
  return n;
4009
4030
  }
4010
4031
  }
4011
4032
  function vr(e, ...t) {
4012
4033
  delete D[e], me.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
4013
4034
  }
4014
- ie(
4035
+ ne(
4015
4036
  [me],
4016
4037
  ([e]) => Object.keys(e)
4017
4038
  );
4018
- me.subscribe((e) => ot = e);
4039
+ me.subscribe((e) => ut = e);
4019
4040
  const xe = {};
4020
4041
  function Bi(e, t) {
4021
4042
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
@@ -4023,39 +4044,39 @@ function Bi(e, t) {
4023
4044
  function _r(e) {
4024
4045
  return xe[e];
4025
4046
  }
4026
- function Ai(e) {
4027
- return Ae(e).map((t) => {
4047
+ function Pi(e) {
4048
+ return Oe(e).map((t) => {
4028
4049
  const r = _r(t);
4029
4050
  return [t, r ? [...r] : []];
4030
4051
  }).filter(([, t]) => t.length > 0);
4031
4052
  }
4032
- function et(e) {
4033
- return e == null ? !1 : Ae(e).some(
4053
+ function it(e) {
4054
+ return e == null ? !1 : Oe(e).some(
4034
4055
  (t) => {
4035
4056
  var r;
4036
4057
  return (r = _r(t)) == null ? void 0 : r.size;
4037
4058
  }
4038
4059
  );
4039
4060
  }
4040
- function Pi(e, t) {
4061
+ function Oi(e, t) {
4041
4062
  return Promise.all(
4042
4063
  t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4043
4064
  ).then((n) => vr(e, ...n));
4044
4065
  }
4045
- const oe = {};
4066
+ const se = {};
4046
4067
  function Er(e) {
4047
- if (!et(e))
4048
- return e in oe ? oe[e] : Promise.resolve();
4049
- const t = Ai(e);
4050
- return oe[e] = Promise.all(
4068
+ if (!it(e))
4069
+ return e in se ? se[e] : Promise.resolve();
4070
+ const t = Pi(e);
4071
+ return se[e] = Promise.all(
4051
4072
  t.map(
4052
- ([r, n]) => Pi(r, n)
4073
+ ([r, n]) => Oi(r, n)
4053
4074
  )
4054
4075
  ).then(() => {
4055
- if (et(e))
4076
+ if (it(e))
4056
4077
  return Er(e);
4057
- delete oe[e];
4058
- }), oe[e];
4078
+ delete se[e];
4079
+ }), se[e];
4059
4080
  }
4060
4081
  const Ni = {
4061
4082
  number: {
@@ -4086,135 +4107,135 @@ const Ni = {
4086
4107
  timeZoneName: "short"
4087
4108
  }
4088
4109
  }
4089
- }, Oi = {
4110
+ }, Li = {
4090
4111
  fallbackLocale: null,
4091
4112
  loadingDelay: 200,
4092
4113
  formats: Ni,
4093
4114
  warnOnMissingMessages: !0,
4094
4115
  handleMissingMessage: void 0,
4095
4116
  ignoreTag: !0
4096
- }, Li = Oi;
4097
- function te() {
4098
- return Li;
4117
+ }, Ii = Li;
4118
+ function ee() {
4119
+ return Ii;
4099
4120
  }
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) => {
4121
+ const Fe = Ae(!1);
4122
+ var Ci = Object.defineProperty, Mi = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
4102
4123
  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]);
4124
+ Gi.call(t, r) && Ct(e, r, t[r]);
4125
+ if (It)
4126
+ for (var r of It(t))
4127
+ Ui.call(t, r) && Ct(e, r, t[r]);
4107
4128
  return e;
4108
- }, Di = (e, t) => Mi(e, Ci(t));
4109
- let tt;
4110
- const Se = He(null);
4129
+ }, $i = (e, t) => Mi(e, Ri(t));
4130
+ let st;
4131
+ const we = Ae(null);
4111
4132
  function Mt(e) {
4112
4133
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4113
4134
  }
4114
- function Ae(e, t = te().fallbackLocale) {
4135
+ function Oe(e, t = ee().fallbackLocale) {
4115
4136
  const r = Mt(e);
4116
4137
  return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4117
4138
  }
4118
4139
  function V() {
4119
- return tt ?? void 0;
4140
+ return st ?? void 0;
4120
4141
  }
4121
- Se.subscribe((e) => {
4122
- tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4142
+ we.subscribe((e) => {
4143
+ st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4123
4144
  });
4124
4145
  const Fi = (e) => {
4125
- if (e && Hi(e) && et(e)) {
4126
- const { loadingDelay: t } = te();
4146
+ if (e && Ai(e) && it(e)) {
4147
+ const { loadingDelay: t } = ee();
4127
4148
  let r;
4128
4149
  return typeof window < "u" && V() != null && t ? r = window.setTimeout(
4129
- () => De.set(!0),
4150
+ () => Fe.set(!0),
4130
4151
  t
4131
- ) : De.set(!0), Er(e).then(() => {
4132
- Se.set(e);
4152
+ ) : Fe.set(!0), Er(e).then(() => {
4153
+ we.set(e);
4133
4154
  }).finally(() => {
4134
- clearTimeout(r), De.set(!1);
4155
+ clearTimeout(r), Fe.set(!1);
4135
4156
  });
4136
4157
  }
4137
- return Se.set(e);
4138
- }, de = Di(Ui({}, Se), {
4158
+ return we.set(e);
4159
+ }, de = $i(Di({}, we), {
4139
4160
  set: Fi
4140
- }), Pe = (e) => {
4161
+ }), Ne = (e) => {
4141
4162
  const t = /* @__PURE__ */ Object.create(null);
4142
4163
  return (n) => {
4143
4164
  const i = JSON.stringify(n);
4144
4165
  return i in t ? t[i] : t[i] = e(n);
4145
4166
  };
4146
4167
  };
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) => {
4168
+ var ji = Object.defineProperty, Te = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4148
4169
  for (var r in t || (t = {}))
4149
- xr.call(t, r) && Ct(e, r, t[r]);
4150
- if (we)
4151
- for (var r of we(t))
4152
- Sr.call(t, r) && Ct(e, r, t[r]);
4170
+ xr.call(t, r) && Rt(e, r, t[r]);
4171
+ if (Te)
4172
+ for (var r of Te(t))
4173
+ Sr.call(t, r) && Rt(e, r, t[r]);
4153
4174
  return e;
4154
- }, se = (e, t) => {
4175
+ }, ie = (e, t) => {
4155
4176
  var r = {};
4156
4177
  for (var n in e)
4157
4178
  xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4158
- if (e != null && we)
4159
- for (var n of we(e))
4179
+ if (e != null && Te)
4180
+ for (var n of Te(e))
4160
4181
  t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4161
4182
  return r;
4162
4183
  };
4163
- const le = (e, t) => {
4164
- const { formats: r } = te();
4184
+ const he = (e, t) => {
4185
+ const { formats: r } = ee();
4165
4186
  if (e in r && t in r[e])
4166
4187
  return r[e][t];
4167
4188
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4168
- }, ji = Pe(
4189
+ }, ki = Ne(
4169
4190
  (e) => {
4170
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4191
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4171
4192
  if (r == null)
4172
4193
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4173
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4194
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4174
4195
  }
4175
- ), ki = Pe(
4196
+ ), Vi = Ne(
4176
4197
  (e) => {
4177
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4198
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4178
4199
  if (r == null)
4179
4200
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4180
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4201
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4181
4202
  }
4182
- ), Vi = Pe(
4203
+ ), Xi = Ne(
4183
4204
  (e) => {
4184
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4205
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4185
4206
  if (r == null)
4186
4207
  throw new Error(
4187
4208
  '[svelte-i18n] A "locale" must be set to format time values'
4188
4209
  );
4189
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4210
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4190
4211
  }
4191
- ), Xi = (e = {}) => {
4212
+ ), Wi = (e = {}) => {
4192
4213
  var t = e, {
4193
4214
  locale: r = V()
4194
- } = t, n = se(t, [
4215
+ } = t, n = ie(t, [
4195
4216
  "locale"
4196
4217
  ]);
4197
- return ji(at({ locale: r }, n));
4198
- }, Wi = (e = {}) => {
4218
+ return ki(ht({ locale: r }, n));
4219
+ }, zi = (e = {}) => {
4199
4220
  var t = e, {
4200
4221
  locale: r = V()
4201
- } = t, n = se(t, [
4222
+ } = t, n = ie(t, [
4202
4223
  "locale"
4203
4224
  ]);
4204
- return ki(at({ locale: r }, n));
4205
- }, zi = (e = {}) => {
4225
+ return Vi(ht({ locale: r }, n));
4226
+ }, Zi = (e = {}) => {
4206
4227
  var t = e, {
4207
4228
  locale: r = V()
4208
- } = t, n = se(t, [
4229
+ } = t, n = ie(t, [
4209
4230
  "locale"
4210
4231
  ]);
4211
- return Vi(at({ locale: r }, n));
4212
- }, Zi = Pe(
4232
+ return Xi(ht({ locale: r }, n));
4233
+ }, Qi = Ne(
4213
4234
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4214
- (e, t = V()) => new Ei(e, t, te().formats, {
4215
- ignoreTag: te().ignoreTag
4235
+ (e, t = V()) => new xi(e, t, ee().formats, {
4236
+ ignoreTag: ee().ignoreTag
4216
4237
  })
4217
- ), Qi = (e, t = {}) => {
4238
+ ), Yi = (e, t = {}) => {
4218
4239
  var r, n, i, s;
4219
4240
  let o = t;
4220
4241
  typeof e == "object" && (o = e, e = o.id);
@@ -4227,9 +4248,9 @@ const le = (e, t) => {
4227
4248
  throw new Error(
4228
4249
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4229
4250
  );
4230
- let l = gr(e, h);
4251
+ let l = yr(e, h);
4231
4252
  if (!l)
4232
- 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;
4253
+ l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4233
4254
  else if (typeof l != "string")
4234
4255
  return console.warn(
4235
4256
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4238,7 +4259,7 @@ const le = (e, t) => {
4238
4259
  return l;
4239
4260
  let m = l;
4240
4261
  try {
4241
- m = Zi(l, h).format(a);
4262
+ m = Qi(l, h).format(a);
4242
4263
  } catch (c) {
4243
4264
  c instanceof Error && console.warn(
4244
4265
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4246,20 +4267,20 @@ const le = (e, t) => {
4246
4267
  );
4247
4268
  }
4248
4269
  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) {
4270
+ }, qi = (e, t) => Zi(t).format(e), Ji = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), es = (e, t = V()) => yr(e, t), ts = ne([de, me], () => Yi);
4271
+ ne([de], () => qi);
4272
+ ne([de], () => Ji);
4273
+ ne([de], () => Ki);
4274
+ ne([de, me], () => es);
4275
+ window.emWidgets = { topic: mn };
4276
+ const rs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4277
+ function ns(e, t) {
4257
4278
  if (e) {
4258
4279
  const r = document.createElement("style");
4259
4280
  r.innerHTML = t, e.appendChild(r);
4260
4281
  }
4261
4282
  }
4262
- function ns(e, t) {
4283
+ function is(e, t) {
4263
4284
  const r = new URL(t);
4264
4285
  fetch(r.href).then((n) => n.text()).then((n) => {
4265
4286
  const i = document.createElement("style");
@@ -4268,7 +4289,7 @@ function ns(e, t) {
4268
4289
  console.error("There was an error while trying to load client styling from URL", n);
4269
4290
  });
4270
4291
  }
4271
- function is(e, t, r) {
4292
+ function ss(e, t, r) {
4272
4293
  if (window.emMessageBus) {
4273
4294
  const n = document.createElement("style");
4274
4295
  window.emMessageBus.subscribe(t, (i) => {
@@ -4276,10 +4297,10 @@ function is(e, t, r) {
4276
4297
  });
4277
4298
  }
4278
4299
  }
4279
- function Rt(e, t) {
4300
+ function Gt(e, t) {
4280
4301
  vr(e, t);
4281
4302
  }
4282
- const Gt = {
4303
+ const Ut = {
4283
4304
  en: {
4284
4305
  lobbyName: "Lobby",
4285
4306
  myGamesName: "My games"
@@ -4365,173 +4386,173 @@ if (typeof window < "u") {
4365
4386
  }
4366
4387
  };
4367
4388
  };
4368
- customElements.define = e(customElements.define), import("./CasinoSlider-DJ15xmwN.js").then(({ default: t }) => {
4389
+ customElements.define = e(customElements.define), import("./CasinoSlider-DmcFGzUe.js").then(({ default: t }) => {
4369
4390
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4370
4391
  });
4371
4392
  }
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))}");
4374
- }
4375
4393
  function os(e) {
4394
+ Mr(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))}");
4395
+ }
4396
+ function as(e) {
4376
4397
  let t, r;
4377
4398
  return {
4378
4399
  c() {
4379
- t = k("div"), r = k("casino-slider"), _(
4400
+ t = k("div"), r = k("casino-slider"), v(
4380
4401
  r,
4381
4402
  "lang",
4382
4403
  /*lang*/
4383
4404
  e[3]
4384
- ), _(
4405
+ ), v(
4385
4406
  r,
4386
4407
  "datasource",
4387
4408
  /*datasource*/
4388
4409
  e[2]
4389
- ), _(
4410
+ ), v(
4390
4411
  r,
4391
4412
  "endpoint",
4392
4413
  /*endpoint*/
4393
4414
  e[1]
4394
- ), _(r, "identity", rt), _(
4415
+ ), v(r, "identity", ot), v(
4395
4416
  r,
4396
4417
  "favoritesnumber",
4397
4418
  /*numberOfFavoredGames*/
4398
4419
  e[16]
4399
- ), _(
4420
+ ), v(
4400
4421
  r,
4401
4422
  "showsubgroups",
4402
4423
  /*showsubgroups*/
4403
4424
  e[8]
4404
- ), _(
4425
+ ), v(
4405
4426
  r,
4406
4427
  "clientstyling",
4407
4428
  /*clientstyling*/
4408
4429
  e[4]
4409
- ), _(
4430
+ ), v(
4410
4431
  r,
4411
4432
  "clientstylingurl",
4412
4433
  /*clientstylingurl*/
4413
4434
  e[5]
4414
- ), _(
4435
+ ), v(
4415
4436
  r,
4416
4437
  "mbsource",
4417
4438
  /*mbsource*/
4418
4439
  e[12]
4419
- ), _(
4440
+ ), v(
4420
4441
  r,
4421
4442
  "activeindex",
4422
4443
  /*activecategory*/
4423
4444
  e[0]
4424
- ), _(
4445
+ ), v(
4425
4446
  r,
4426
4447
  "actionevent",
4427
4448
  /*actionevent*/
4428
4449
  e[6]
4429
- ), _(
4450
+ ), v(
4430
4451
  r,
4431
4452
  "location",
4432
4453
  /*location*/
4433
4454
  e[7]
4434
- ), _(
4455
+ ), v(
4435
4456
  r,
4436
4457
  "categoriesicon",
4437
4458
  /*categoriesicon*/
4438
4459
  e[9]
4439
- ), _(
4460
+ ), v(
4440
4461
  r,
4441
4462
  "lobbyiconimage",
4442
4463
  /*lobbyiconimage*/
4443
4464
  e[10]
4444
- ), _(
4465
+ ), v(
4445
4466
  r,
4446
4467
  "mygamesiconimage",
4447
4468
  /*mygamesiconimage*/
4448
4469
  e[11]
4449
- ), fe(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4470
+ ), ce(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4450
4471
  },
4451
4472
  m(n, i) {
4452
- ce(n, t, i), $t(t, r);
4473
+ le(n, t, i), jt(t, r);
4453
4474
  },
4454
4475
  p(n, i) {
4455
4476
  i[0] & /*lang*/
4456
- 8 && _(
4477
+ 8 && v(
4457
4478
  r,
4458
4479
  "lang",
4459
4480
  /*lang*/
4460
4481
  n[3]
4461
4482
  ), i[0] & /*datasource*/
4462
- 4 && _(
4483
+ 4 && v(
4463
4484
  r,
4464
4485
  "datasource",
4465
4486
  /*datasource*/
4466
4487
  n[2]
4467
4488
  ), i[0] & /*endpoint*/
4468
- 2 && _(
4489
+ 2 && v(
4469
4490
  r,
4470
4491
  "endpoint",
4471
4492
  /*endpoint*/
4472
4493
  n[1]
4473
4494
  ), i[0] & /*numberOfFavoredGames*/
4474
- 65536 && _(
4495
+ 65536 && v(
4475
4496
  r,
4476
4497
  "favoritesnumber",
4477
4498
  /*numberOfFavoredGames*/
4478
4499
  n[16]
4479
4500
  ), i[0] & /*showsubgroups*/
4480
- 256 && _(
4501
+ 256 && v(
4481
4502
  r,
4482
4503
  "showsubgroups",
4483
4504
  /*showsubgroups*/
4484
4505
  n[8]
4485
4506
  ), i[0] & /*clientstyling*/
4486
- 16 && _(
4507
+ 16 && v(
4487
4508
  r,
4488
4509
  "clientstyling",
4489
4510
  /*clientstyling*/
4490
4511
  n[4]
4491
4512
  ), i[0] & /*clientstylingurl*/
4492
- 32 && _(
4513
+ 32 && v(
4493
4514
  r,
4494
4515
  "clientstylingurl",
4495
4516
  /*clientstylingurl*/
4496
4517
  n[5]
4497
4518
  ), i[0] & /*mbsource*/
4498
- 4096 && _(
4519
+ 4096 && v(
4499
4520
  r,
4500
4521
  "mbsource",
4501
4522
  /*mbsource*/
4502
4523
  n[12]
4503
4524
  ), i[0] & /*activecategory*/
4504
- 1 && _(
4525
+ 1 && v(
4505
4526
  r,
4506
4527
  "activeindex",
4507
4528
  /*activecategory*/
4508
4529
  n[0]
4509
4530
  ), i[0] & /*actionevent*/
4510
- 64 && _(
4531
+ 64 && v(
4511
4532
  r,
4512
4533
  "actionevent",
4513
4534
  /*actionevent*/
4514
4535
  n[6]
4515
4536
  ), i[0] & /*location*/
4516
- 128 && _(
4537
+ 128 && v(
4517
4538
  r,
4518
4539
  "location",
4519
4540
  /*location*/
4520
4541
  n[7]
4521
4542
  ), i[0] & /*categoriesicon*/
4522
- 512 && _(
4543
+ 512 && v(
4523
4544
  r,
4524
4545
  "categoriesicon",
4525
4546
  /*categoriesicon*/
4526
4547
  n[9]
4527
4548
  ), i[0] & /*lobbyiconimage*/
4528
- 1024 && _(
4549
+ 1024 && v(
4529
4550
  r,
4530
4551
  "lobbyiconimage",
4531
4552
  /*lobbyiconimage*/
4532
4553
  n[10]
4533
4554
  ), i[0] & /*mygamesiconimage*/
4534
- 2048 && _(
4555
+ 2048 && v(
4535
4556
  r,
4536
4557
  "mygamesiconimage",
4537
4558
  /*mygamesiconimage*/
@@ -4539,48 +4560,48 @@ function os(e) {
4539
4560
  );
4540
4561
  },
4541
4562
  d(n) {
4542
- n && ne(t);
4563
+ n && re(t);
4543
4564
  }
4544
4565
  };
4545
4566
  }
4546
- function as(e) {
4567
+ function us(e) {
4547
4568
  let t;
4548
4569
  return {
4549
4570
  c() {
4550
- t = k("p"), t.textContent = "500 Error - Internal Server Error.", fe(t, "class", "SearchLoading svelte-1my2wow");
4571
+ t = k("p"), t.textContent = "500 Error - Internal Server Error.", ce(t, "class", "SearchLoading svelte-1my2wow");
4551
4572
  },
4552
4573
  m(r, n) {
4553
- ce(r, t, n);
4574
+ le(r, t, n);
4554
4575
  },
4555
4576
  p: I,
4556
4577
  d(r) {
4557
- r && ne(t);
4578
+ r && re(t);
4558
4579
  }
4559
4580
  };
4560
4581
  }
4561
- function us(e) {
4582
+ function hs(e) {
4562
4583
  let t;
4563
4584
  return {
4564
4585
  c() {
4565
- t = k("div"), fe(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
4586
+ t = k("div"), ce(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
4566
4587
  },
4567
4588
  m(r, n) {
4568
- ce(r, t, n);
4589
+ le(r, t, n);
4569
4590
  },
4570
4591
  p: I,
4571
4592
  d(r) {
4572
- r && ne(t);
4593
+ r && re(t);
4573
4594
  }
4574
4595
  };
4575
4596
  }
4576
- function hs(e) {
4597
+ function ls(e) {
4577
4598
  let t;
4578
4599
  function r(s, o) {
4579
4600
  return (
4580
4601
  /*isLoading*/
4581
- s[13] || ls || cs ? us : (
4602
+ s[13] || cs || fs ? hs : (
4582
4603
  /*hasErrors*/
4583
- s[15] ? as : os
4604
+ s[15] ? us : as
4584
4605
  )
4585
4606
  );
4586
4607
  }
@@ -4590,7 +4611,7 @@ function hs(e) {
4590
4611
  t = k("div"), i.c();
4591
4612
  },
4592
4613
  m(s, o) {
4593
- ce(s, t, o), i.m(t, null), e[26](t);
4614
+ le(s, t, o), i.m(t, null), e[26](t);
4594
4615
  },
4595
4616
  p(s, o) {
4596
4617
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4598,114 +4619,114 @@ function hs(e) {
4598
4619
  i: I,
4599
4620
  o: I,
4600
4621
  d(s) {
4601
- s && ne(t), i.d(), e[26](null);
4622
+ s && re(t), i.d(), e[26](null);
4602
4623
  }
4603
4624
  };
4604
4625
  }
4605
- let rt = "CasinoSliderData", ls = !1, cs = !1;
4606
- function fs(e, t, r) {
4626
+ let ot = "CasinoSliderData", cs = !1, fs = !1;
4627
+ function ms(e, t, r) {
4607
4628
  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;
4629
+ Cr(e, ts, (f) => r(32, n = f));
4630
+ 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: g = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: N = "" } = t, { lobbyiconimage: M = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, L, $, F = !0, X, W = [], j = !1, wr = window.navigator.userAgent, G, lt, ct = !1, Le = !1;
4610
4631
  const Tr = () => {
4611
- fetch(N).then((A) => A.json()).then((A) => {
4612
- Object.keys(A).forEach((be) => {
4613
- Rt(be, A[be]);
4632
+ fetch(O).then((B) => B.json()).then((B) => {
4633
+ Object.keys(B).forEach((be) => {
4634
+ Gt(be, B[be]);
4614
4635
  });
4615
- }).catch((A) => {
4616
- console.log(A);
4636
+ }).catch((B) => {
4637
+ console.log(B);
4617
4638
  });
4618
4639
  };
4619
- Object.keys(Gt).forEach((f) => {
4620
- Rt(f, Gt[f]);
4640
+ Object.keys(Ut).forEach((f) => {
4641
+ Gt(f, Ut[f]);
4621
4642
  });
4622
4643
  const Hr = () => {
4623
- lt == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4644
+ ct == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4624
4645
  // @ts-ignore
4625
4646
  id: "MYGAMES",
4626
- name: F,
4647
+ name: L,
4627
4648
  href: "",
4628
4649
  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()) {
4650
+ }), jr(), ct = !0, r(25, Le = !0), ft();
4651
+ }, Ar = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, F = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, F = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, F = !1), console.error(X)), j), Br = () => {
4652
+ if (L = n("myGamesName"), $ = n("lobbyName"), !Ar()) {
4632
4653
  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) => {
4636
- let Oe = !1;
4637
- if (mt.games.total > 0 && (Oe = !0, w))
4654
+ f.searchParams.append("language", o), f.searchParams.append("platform", rs(wr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
4655
+ (B) => {
4656
+ let be = w.split(","), Nr = B.items.filter((dt) => {
4657
+ let Ie = !1;
4658
+ if (dt.games.total > 0 && (Ie = !0, w))
4638
4659
  for (let Lr of be)
4639
- mt.flags == Lr && (Oe = !1);
4640
- return Oe;
4660
+ dt.flags == Lr && (Ie = !1);
4661
+ return Ie;
4641
4662
  });
4642
- W = [], W = W.concat(Or), W.unshift({
4663
+ W = [], W = W.concat(Nr), W.unshift({
4643
4664
  // @ts-ignore
4644
4665
  id: "LOBBY",
4645
- name: ut,
4666
+ name: $,
4646
4667
  href: "",
4647
4668
  games: []
4648
- }), r(13, $ = !1);
4669
+ }), r(13, F = !1);
4649
4670
  },
4650
- (A) => {
4651
- r(15, j = !0), console.error("There was an error while fetching the categories", A);
4671
+ (B) => {
4672
+ r(15, j = !0), console.error("There was an error while fetching the categories", B);
4652
4673
  }
4653
- ).catch((A) => {
4654
- r(15, j = !0), console.error("There was an error while fetching the categories", A);
4674
+ ).catch((B) => {
4675
+ r(15, j = !0), console.error("There was an error while fetching the categories", B);
4655
4676
  });
4656
4677
  }
4657
4678
  }, Pr = () => {
4658
4679
  let f = b.split("$");
4659
4680
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4660
- }, ct = () => {
4681
+ }, ft = () => {
4661
4682
  window.postMessage(
4662
4683
  {
4663
4684
  type: "SliderData",
4664
- identity: rt,
4685
+ identity: ot,
4665
4686
  data: W
4666
4687
  },
4667
4688
  window.location.href
4668
4689
  );
4669
- }, ft = (f) => {
4670
- f.data && f.data.type == "SliderLoaded" && rt == f.data.identity && ct();
4690
+ }, mt = (f) => {
4691
+ f.data && f.data.type == "SliderLoaded" && ot == f.data.identity && ft();
4671
4692
  };
4672
- $r(() => (window.addEventListener("message", ft, !1), () => {
4673
- window.emMessageBus && L && L.unsubscribe(), window.removeEventListener("message", ft);
4693
+ Fr(() => (window.addEventListener("message", mt, !1), () => {
4694
+ window.removeEventListener("message", mt);
4674
4695
  }));
4675
- function Nr(f) {
4676
- Fe[f ? "unshift" : "push"](() => {
4677
- R = f, r(14, R);
4696
+ function Or(f) {
4697
+ je[f ? "unshift" : "push"](() => {
4698
+ G = f, r(14, G);
4678
4699
  });
4679
4700
  }
4680
4701
  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);
4702
+ "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, g = 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, O = f.translationurl), "categoriesicon" in f && r(9, N = f.categoriesicon), "lobbyiconimage" in f && r(10, M = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4682
4703
  }, e.$$.update = () => {
4683
4704
  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), [
4705
+ 14 && i && s && o && Br(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4706
+ 3940354 && i && h && (u || l || m) && !F && Hr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4707
+ 33824769 && !F && b && (!h || Le) && Pr(), e.$$.dirty[0] & /*translationurl*/
4708
+ 16777216 && O && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4709
+ 16400 && c && G && ns(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4710
+ 16416 && d && G && is(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4711
+ 20480 && G && ss(G, `${A}.Style`);
4712
+ }, r(16, lt = 0), [
4692
4713
  b,
4693
4714
  i,
4694
4715
  s,
4695
4716
  o,
4696
4717
  c,
4697
4718
  d,
4698
- y,
4699
- M,
4700
- P,
4701
- O,
4719
+ g,
4702
4720
  C,
4703
- E,
4704
- B,
4705
- $,
4706
- R,
4721
+ P,
4722
+ N,
4723
+ M,
4724
+ _,
4725
+ A,
4726
+ F,
4727
+ G,
4707
4728
  j,
4708
- ht,
4729
+ lt,
4709
4730
  a,
4710
4731
  h,
4711
4732
  u,
@@ -4713,19 +4734,19 @@ function fs(e, t, r) {
4713
4734
  m,
4714
4735
  T,
4715
4736
  w,
4716
- N,
4717
- Ne,
4718
- Nr
4737
+ O,
4738
+ Le,
4739
+ Or
4719
4740
  ];
4720
4741
  }
4721
- class ms extends qr {
4742
+ class ds extends qr {
4722
4743
  constructor(t) {
4723
4744
  super(), Qr(
4724
4745
  this,
4725
4746
  t,
4726
- fs,
4727
- hs,
4728
- Dt,
4747
+ ms,
4748
+ ls,
4749
+ $t,
4729
4750
  {
4730
4751
  endpoint: 1,
4731
4752
  datasource: 2,
@@ -4749,7 +4770,7 @@ class ms extends qr {
4749
4770
  mygamesiconimage: 11,
4750
4771
  mbsource: 12
4751
4772
  },
4752
- ss,
4773
+ os,
4753
4774
  [-1, -1]
4754
4775
  );
4755
4776
  }
@@ -4757,163 +4778,163 @@ class ms extends qr {
4757
4778
  return this.$$.ctx[1];
4758
4779
  }
4759
4780
  set endpoint(t) {
4760
- this.$$set({ endpoint: t }), S();
4781
+ this.$$set({ endpoint: t }), x();
4761
4782
  }
4762
4783
  get datasource() {
4763
4784
  return this.$$.ctx[2];
4764
4785
  }
4765
4786
  set datasource(t) {
4766
- this.$$set({ datasource: t }), S();
4787
+ this.$$set({ datasource: t }), x();
4767
4788
  }
4768
4789
  get lang() {
4769
4790
  return this.$$.ctx[3];
4770
4791
  }
4771
4792
  set lang(t) {
4772
- this.$$set({ lang: t }), S();
4793
+ this.$$set({ lang: t }), x();
4773
4794
  }
4774
4795
  get userid() {
4775
4796
  return this.$$.ctx[17];
4776
4797
  }
4777
4798
  set userid(t) {
4778
- this.$$set({ userid: t }), S();
4799
+ this.$$set({ userid: t }), x();
4779
4800
  }
4780
4801
  get session() {
4781
4802
  return this.$$.ctx[18];
4782
4803
  }
4783
4804
  set session(t) {
4784
- this.$$set({ session: t }), S();
4805
+ this.$$set({ session: t }), x();
4785
4806
  }
4786
4807
  get mostplayed() {
4787
4808
  return this.$$.ctx[19];
4788
4809
  }
4789
4810
  set mostplayed(t) {
4790
- this.$$set({ mostplayed: t }), S();
4811
+ this.$$set({ mostplayed: t }), x();
4791
4812
  }
4792
4813
  get lastplayed() {
4793
4814
  return this.$$.ctx[20];
4794
4815
  }
4795
4816
  set lastplayed(t) {
4796
- this.$$set({ lastplayed: t }), S();
4817
+ this.$$set({ lastplayed: t }), x();
4797
4818
  }
4798
4819
  get favorites() {
4799
4820
  return this.$$.ctx[21];
4800
4821
  }
4801
4822
  set favorites(t) {
4802
- this.$$set({ favorites: t }), S();
4823
+ this.$$set({ favorites: t }), x();
4803
4824
  }
4804
4825
  get clientstyling() {
4805
4826
  return this.$$.ctx[4];
4806
4827
  }
4807
4828
  set clientstyling(t) {
4808
- this.$$set({ clientstyling: t }), S();
4829
+ this.$$set({ clientstyling: t }), x();
4809
4830
  }
4810
4831
  get clientstylingurl() {
4811
4832
  return this.$$.ctx[5];
4812
4833
  }
4813
4834
  set clientstylingurl(t) {
4814
- this.$$set({ clientstylingurl: t }), S();
4835
+ this.$$set({ clientstylingurl: t }), x();
4815
4836
  }
4816
4837
  get activecategory() {
4817
4838
  return this.$$.ctx[0];
4818
4839
  }
4819
4840
  set activecategory(t) {
4820
- this.$$set({ activecategory: t }), S();
4841
+ this.$$set({ activecategory: t }), x();
4821
4842
  }
4822
4843
  get actionevent() {
4823
4844
  return this.$$.ctx[6];
4824
4845
  }
4825
4846
  set actionevent(t) {
4826
- this.$$set({ actionevent: t }), S();
4847
+ this.$$set({ actionevent: t }), x();
4827
4848
  }
4828
4849
  get sessioncheck() {
4829
4850
  return this.$$.ctx[22];
4830
4851
  }
4831
4852
  set sessioncheck(t) {
4832
- this.$$set({ sessioncheck: t }), S();
4853
+ this.$$set({ sessioncheck: t }), x();
4833
4854
  }
4834
4855
  get location() {
4835
4856
  return this.$$.ctx[7];
4836
4857
  }
4837
4858
  set location(t) {
4838
- this.$$set({ location: t }), S();
4859
+ this.$$set({ location: t }), x();
4839
4860
  }
4840
4861
  get showsubgroups() {
4841
4862
  return this.$$.ctx[8];
4842
4863
  }
4843
4864
  set showsubgroups(t) {
4844
- this.$$set({ showsubgroups: t }), S();
4865
+ this.$$set({ showsubgroups: t }), x();
4845
4866
  }
4846
4867
  get filteredcategories() {
4847
4868
  return this.$$.ctx[23];
4848
4869
  }
4849
4870
  set filteredcategories(t) {
4850
- this.$$set({ filteredcategories: t }), S();
4871
+ this.$$set({ filteredcategories: t }), x();
4851
4872
  }
4852
4873
  get translationurl() {
4853
4874
  return this.$$.ctx[24];
4854
4875
  }
4855
4876
  set translationurl(t) {
4856
- this.$$set({ translationurl: t }), S();
4877
+ this.$$set({ translationurl: t }), x();
4857
4878
  }
4858
4879
  get categoriesicon() {
4859
4880
  return this.$$.ctx[9];
4860
4881
  }
4861
4882
  set categoriesicon(t) {
4862
- this.$$set({ categoriesicon: t }), S();
4883
+ this.$$set({ categoriesicon: t }), x();
4863
4884
  }
4864
4885
  get lobbyiconimage() {
4865
4886
  return this.$$.ctx[10];
4866
4887
  }
4867
4888
  set lobbyiconimage(t) {
4868
- this.$$set({ lobbyiconimage: t }), S();
4889
+ this.$$set({ lobbyiconimage: t }), x();
4869
4890
  }
4870
4891
  get mygamesiconimage() {
4871
4892
  return this.$$.ctx[11];
4872
4893
  }
4873
4894
  set mygamesiconimage(t) {
4874
- this.$$set({ mygamesiconimage: t }), S();
4895
+ this.$$set({ mygamesiconimage: t }), x();
4875
4896
  }
4876
4897
  get mbsource() {
4877
4898
  return this.$$.ctx[12];
4878
4899
  }
4879
4900
  set mbsource(t) {
4880
- this.$$set({ mbsource: t }), S();
4901
+ this.$$set({ mbsource: t }), x();
4881
4902
  }
4882
4903
  }
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);
4904
+ Yr(ds, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4884
4905
  export {
4885
4906
  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,
4907
+ ps as A,
4908
+ ws as B,
4909
+ ns as C,
4910
+ is as D,
4911
+ ss as E,
4912
+ ds as F,
4892
4913
  qr as S,
4893
4914
  me as a,
4894
4915
  vr as b,
4895
4916
  Yr as c,
4896
- Cr as d,
4897
- k as e,
4898
- S as f,
4899
- ps as g,
4900
- fe as h,
4917
+ Mr as d,
4918
+ re as e,
4919
+ x as f,
4920
+ ce as g,
4921
+ le as h,
4901
4922
  Qr as i,
4902
- ce as j,
4903
- $t as k,
4904
- ys as l,
4905
- ne as m,
4923
+ jt as j,
4924
+ k,
4925
+ vs as l,
4926
+ ys as m,
4906
4927
  I as n,
4907
- $r as o,
4908
- vs as p,
4909
- ns as q,
4910
- 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,
4928
+ Fr as o,
4929
+ _s as p,
4930
+ Ss as q,
4931
+ te as r,
4932
+ $t as s,
4933
+ gs as t,
4934
+ Ts as u,
4935
+ xs as v,
4936
+ je as w,
4937
+ bs as x,
4917
4938
  Es as y,
4918
- Fe as z
4939
+ kt as z
4919
4940
  };