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