@everymatrix/casino-categories-slider-nd 1.76.0 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function I() {
2
2
  }
3
- function Dt(e) {
3
+ function Mt(e) {
4
4
  return e();
5
5
  }
6
- function bt() {
6
+ function ct() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function te(e) {
10
- e.forEach(Dt);
9
+ function re(e) {
10
+ e.forEach(Mt);
11
11
  }
12
- function at(e) {
12
+ function rt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function $t(e, t) {
15
+ function Rt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let pe;
19
- function bs(e, t) {
19
+ function cs(e, t) {
20
20
  return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
21
21
  }
22
- function Ir(e) {
22
+ function Pr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Ft(e, ...t) {
25
+ function Gt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Ft(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Cr(e, t, r) {
35
- e.$$.on_destroy.push(Ft(t, r));
34
+ function Nr(e, t, r) {
35
+ e.$$.on_destroy.push(Gt(t, r));
36
36
  }
37
- function jt(e, t) {
37
+ function Ut(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Mr(e, t, r) {
41
- const n = Rr(e);
40
+ function Or(e, t, r) {
41
+ const n = Lr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = k("style");
44
- i.id = t, i.textContent = r, Gr(n, i);
44
+ i.id = t, i.textContent = r, Ir(n, i);
45
45
  }
46
46
  }
47
- function Rr(e) {
47
+ function Lr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,56 +54,56 @@ function Rr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Gr(e, t) {
58
- return jt(
57
+ function Ir(e, t) {
58
+ return Ut(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ce(e, t, r) {
64
+ function fe(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 fs(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function k(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function gs(e) {
77
+ function ms(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function kt(e) {
80
+ function Dt(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function ys() {
84
- return kt(" ");
83
+ function ds() {
84
+ return Dt(" ");
85
85
  }
86
- function vs() {
87
- return kt("");
86
+ function bs() {
87
+ return Dt("");
88
88
  }
89
- function _s(e, t, r, n) {
89
+ function ps(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
- function ne(e, t, r) {
92
+ function ie(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function v(e, t, r) {
95
+ function _(e, t, r) {
96
96
  const n = t.toLowerCase();
97
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ne(e, t, r);
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ie(e, t, r);
98
98
  }
99
- function Ur(e) {
99
+ function Cr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function Es(e, t) {
102
+ function gs(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function Dr(e) {
106
+ function Mr(e) {
107
107
  const t = {};
108
108
  return e.childNodes.forEach(
109
109
  /** @param {Element} node */
@@ -112,123 +112,123 @@ function Dr(e) {
112
112
  }
113
113
  ), t;
114
114
  }
115
- let ue;
116
- function ae(e) {
117
- ue = e;
115
+ let he;
116
+ function ue(e) {
117
+ he = e;
118
118
  }
119
- function $r() {
120
- if (!ue)
119
+ function Rr() {
120
+ if (!he)
121
121
  throw new Error("Function called outside component initialization");
122
- return ue;
122
+ return he;
123
123
  }
124
- function Fr(e) {
125
- $r().$$.on_mount.push(e);
124
+ function Gr(e) {
125
+ Rr().$$.on_mount.push(e);
126
126
  }
127
- const q = [], je = [];
127
+ const q = [], De = [];
128
128
  let Q = [];
129
- const pt = [], Vt = /* @__PURE__ */ Promise.resolve();
130
- let ke = !1;
131
- function Xt() {
132
- ke || (ke = !0, Vt.then(x));
129
+ const ft = [], Ft = /* @__PURE__ */ Promise.resolve();
130
+ let Fe = !1;
131
+ function $t() {
132
+ Fe || (Fe = !0, Ft.then(S));
133
133
  }
134
- function jr() {
135
- return Xt(), Vt;
134
+ function Ur() {
135
+ return $t(), Ft;
136
136
  }
137
- function Ve(e) {
137
+ function $e(e) {
138
138
  Q.push(e);
139
139
  }
140
- const Ce = /* @__PURE__ */ new Set();
140
+ const Le = /* @__PURE__ */ new Set();
141
141
  let z = 0;
142
- function x() {
142
+ function S() {
143
143
  if (z !== 0)
144
144
  return;
145
- const e = ue;
145
+ const e = he;
146
146
  do {
147
147
  try {
148
148
  for (; z < q.length; ) {
149
149
  const t = q[z];
150
- z++, ae(t), kr(t.$$);
150
+ z++, ue(t), Dr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
153
  throw q.length = 0, z = 0, t;
154
154
  }
155
- for (ae(null), q.length = 0, z = 0; je.length; )
156
- je.pop()();
155
+ for (ue(null), q.length = 0, z = 0; De.length; )
156
+ De.pop()();
157
157
  for (let t = 0; t < Q.length; t += 1) {
158
158
  const r = Q[t];
159
- Ce.has(r) || (Ce.add(r), r());
159
+ Le.has(r) || (Le.add(r), r());
160
160
  }
161
161
  Q.length = 0;
162
162
  } while (q.length);
163
- for (; pt.length; )
164
- pt.pop()();
165
- ke = !1, Ce.clear(), ae(e);
163
+ for (; ft.length; )
164
+ ft.pop()();
165
+ Fe = !1, Le.clear(), ue(e);
166
166
  }
167
- function kr(e) {
167
+ function Dr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), te(e.before_update);
169
+ e.update(), re(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
172
172
  }
173
173
  }
174
- function Vr(e) {
174
+ function Fr(e) {
175
175
  const t = [], r = [];
176
176
  Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
177
177
  }
178
- const Xr = /* @__PURE__ */ new Set();
179
- function Wt(e, t) {
180
- e && e.i && (Xr.delete(e), e.i(t));
178
+ const $r = /* @__PURE__ */ new Set();
179
+ function jt(e, t) {
180
+ e && e.i && ($r.delete(e), e.i(t));
181
181
  }
182
- function xs(e) {
182
+ function ys(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function Ss(e, t) {
185
+ function vs(e, t) {
186
186
  e.d(1), t.delete(e.key);
187
187
  }
188
- function ws(e, t, r, n, i, s, o, a, h, u, l, m) {
188
+ function _s(e, t, r, n, i, s, o, a, h, u, l, m) {
189
189
  let c = e.length, d = s.length, p = c;
190
190
  const b = {};
191
191
  for (; p--; )
192
192
  b[e[p].key] = p;
193
193
  const w = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
194
194
  for (p = d; p--; ) {
195
- const _ = m(i, s, p), N = r(_);
196
- let L = o.get(N);
197
- L ? T.push(() => L.p(_, t)) : (L = u(N, _), L.c()), C.set(N, w[p] = L), N in b && P.set(N, Math.abs(p - b[N]));
195
+ const E = m(i, s, p), O = r(E);
196
+ let L = o.get(O);
197
+ L ? T.push(() => L.p(E, t)) : (L = u(O, E), L.c()), C.set(O, w[p] = L), O in b && P.set(O, Math.abs(p - b[O]));
198
198
  }
199
- const O = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set();
200
- function M(_) {
201
- Wt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
199
+ const N = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set();
200
+ function M(E) {
201
+ jt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
202
202
  }
203
203
  for (; c && d; ) {
204
- const _ = w[d - 1], N = e[c - 1], L = _.key, $ = N.key;
205
- _ === N ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || O.has(L) ? M(_) : H.has($) ? c-- : P.get(L) > P.get($) ? (H.add(L), M(_)) : (O.add($), c--) : (h(N, o), c--);
204
+ const E = w[d - 1], O = e[c - 1], L = E.key, F = O.key;
205
+ E === O ? (l = E.first, c--, d--) : C.has(F) ? !o.has(L) || N.has(L) ? M(E) : H.has(F) ? c-- : P.get(L) > P.get(F) ? (H.add(L), M(E)) : (N.add(F), c--) : (h(O, o), c--);
206
206
  }
207
207
  for (; c--; ) {
208
- const _ = e[c];
209
- C.has(_.key) || h(_, o);
208
+ const E = e[c];
209
+ C.has(E.key) || h(E, o);
210
210
  }
211
211
  for (; d; )
212
212
  M(w[d - 1]);
213
- return te(T), w;
213
+ return re(T), w;
214
214
  }
215
- function Wr(e, t, r) {
215
+ function jr(e, t, r) {
216
216
  const { fragment: n, after_update: i } = e.$$;
217
- n && n.m(t, r), Ve(() => {
218
- const s = e.$$.on_mount.map(Dt).filter(at);
219
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
220
- }), i.forEach(Ve);
217
+ n && n.m(t, r), $e(() => {
218
+ const s = e.$$.on_mount.map(Mt).filter(rt);
219
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
220
+ }), i.forEach($e);
221
221
  }
222
- function zr(e, t) {
222
+ function kr(e, t) {
223
223
  const r = e.$$;
224
- 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 = []);
224
+ r.fragment !== null && (Fr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
225
225
  }
226
- function Zr(e, t) {
227
- e.$$.dirty[0] === -1 && (q.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
226
+ function Vr(e, t) {
227
+ e.$$.dirty[0] === -1 && (q.push(e), $t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
228
228
  }
229
- function qr(e, t, r, n, i, s, o = null, a = [-1]) {
230
- const h = ue;
231
- ae(e);
229
+ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
230
+ const h = he;
231
+ ue(e);
232
232
  const u = e.$$ = {
233
233
  fragment: null,
234
234
  ctx: [],
@@ -236,7 +236,7 @@ function qr(e, t, r, n, i, s, o = null, a = [-1]) {
236
236
  props: s,
237
237
  update: I,
238
238
  not_equal: i,
239
- bound: bt(),
239
+ bound: ct(),
240
240
  // lifecycle
241
241
  on_mount: [],
242
242
  on_destroy: [],
@@ -245,7 +245,7 @@ function qr(e, t, r, n, i, s, o = null, a = [-1]) {
245
245
  after_update: [],
246
246
  context: new Map(t.context || (h ? h.$$.context : [])),
247
247
  // everything else
248
- callbacks: bt(),
248
+ callbacks: ct(),
249
249
  dirty: a,
250
250
  skip_bound: !1,
251
251
  root: t.target || h.$$.root
@@ -254,19 +254,19 @@ function qr(e, t, r, n, i, s, o = null, a = [-1]) {
254
254
  let l = !1;
255
255
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
256
256
  const p = d.length ? d[0] : c;
257
- return u.ctx && i(u.ctx[m], u.ctx[m] = p) && (!u.skip_bound && u.bound[m] && u.bound[m](p), l && Zr(e, m)), c;
258
- }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
257
+ return u.ctx && i(u.ctx[m], u.ctx[m] = p) && (!u.skip_bound && u.bound[m] && u.bound[m](p), l && Vr(e, m)), c;
258
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
259
259
  if (t.hydrate) {
260
- const m = Ur(t.target);
261
- u.fragment && u.fragment.l(m), m.forEach(re);
260
+ const m = Cr(t.target);
261
+ u.fragment && u.fragment.l(m), m.forEach(ne);
262
262
  } else
263
263
  u.fragment && u.fragment.c();
264
- t.intro && Wt(e.$$.fragment), Wr(e, t.target, t.anchor), x();
264
+ t.intro && jt(e.$$.fragment), jr(e, t.target, t.anchor), S();
265
265
  }
266
- ae(h);
266
+ ue(h);
267
267
  }
268
- let zt;
269
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
268
+ let kt;
269
+ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
270
270
  /** The Svelte component constructor */
271
271
  $$ctor;
272
272
  /** Slots */
@@ -308,24 +308,24 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
308
308
  let s;
309
309
  return {
310
310
  c: function() {
311
- s = k("slot"), i !== "default" && ne(s, "name", i);
311
+ s = k("slot"), i !== "default" && ie(s, "name", i);
312
312
  },
313
313
  /**
314
314
  * @param {HTMLElement} target
315
315
  * @param {HTMLElement} [anchor]
316
316
  */
317
317
  m: function(h, u) {
318
- ce(h, s, u);
318
+ fe(h, s, u);
319
319
  },
320
320
  d: function(h) {
321
- h && re(s);
321
+ h && ne(s);
322
322
  }
323
323
  };
324
324
  };
325
325
  };
326
326
  if (await Promise.resolve(), !this.$$cn || this.$$c)
327
327
  return;
328
- const t = {}, r = Dr(this);
328
+ const t = {}, r = Mr(this);
329
329
  for (const i of this.$$s)
330
330
  i in r && (t[i] = [e(i)]);
331
331
  for (const i of this.attributes) {
@@ -412,8 +412,8 @@ function ve(e, t, r, n) {
412
412
  return t;
413
413
  }
414
414
  }
415
- function Qr(e, t, r, n, i, s) {
416
- let o = class extends zt {
415
+ function Wr(e, t, r, n, i, s) {
416
+ let o = class extends kt {
417
417
  constructor() {
418
418
  super(e, r, i), this.$$p_d = t;
419
419
  }
@@ -441,7 +441,7 @@ function Qr(e, t, r, n, i, s) {
441
441
  }), e.element = /** @type {any} */
442
442
  o, o;
443
443
  }
444
- class Yr {
444
+ class zr {
445
445
  /**
446
446
  * ### PRIVATE API
447
447
  *
@@ -460,7 +460,7 @@ class Yr {
460
460
  $$set = void 0;
461
461
  /** @returns {void} */
462
462
  $destroy() {
463
- zr(this, 1), this.$destroy = I;
463
+ kr(this, 1), this.$destroy = I;
464
464
  }
465
465
  /**
466
466
  * @template {Extract<keyof Events, string>} K
@@ -469,7 +469,7 @@ class Yr {
469
469
  * @returns {() => void}
470
470
  */
471
471
  $on(t, r) {
472
- if (!at(r))
472
+ if (!rt(r))
473
473
  return I;
474
474
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
475
475
  return n.push(r), () => {
@@ -482,11 +482,11 @@ class Yr {
482
482
  * @returns {void}
483
483
  */
484
484
  $set(t) {
485
- this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
486
486
  }
487
487
  }
488
- const Jr = "4";
489
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
488
+ const Zr = "4";
489
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
490
490
  /*! *****************************************************************************
491
491
  Copyright (c) Microsoft Corporation.
492
492
 
@@ -501,24 +501,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
501
501
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
502
502
  PERFORMANCE OF THIS SOFTWARE.
503
503
  ***************************************************************************** */
504
- var Xe = function(e, t) {
505
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
504
+ var je = function(e, t) {
505
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
506
506
  r.__proto__ = n;
507
507
  } || function(r, n) {
508
508
  for (var i in n)
509
509
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
510
- }, Xe(e, t);
510
+ }, je(e, t);
511
511
  };
512
- function fe(e, t) {
512
+ function U(e, t) {
513
513
  if (typeof t != "function" && t !== null)
514
514
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
515
- Xe(e, t);
515
+ je(e, t);
516
516
  function r() {
517
517
  this.constructor = e;
518
518
  }
519
519
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
520
520
  }
521
- function We(e) {
521
+ var v = function() {
522
+ return v = Object.assign || function(t) {
523
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
524
+ r = arguments[n];
525
+ for (var s in r)
526
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
527
+ }
528
+ return t;
529
+ }, v.apply(this, arguments);
530
+ };
531
+ function qr(e, t) {
532
+ var r = {};
533
+ for (var n in e)
534
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
535
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
536
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
537
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
538
+ return r;
539
+ }
540
+ function ke(e) {
522
541
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
523
542
  if (r)
524
543
  return r.call(e);
@@ -530,7 +549,7 @@ function We(e) {
530
549
  };
531
550
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
532
551
  }
533
- function ze(e, t) {
552
+ function Ve(e, t) {
534
553
  var r = typeof Symbol == "function" && e[Symbol.iterator];
535
554
  if (!r)
536
555
  return e;
@@ -550,22 +569,22 @@ function ze(e, t) {
550
569
  }
551
570
  return s;
552
571
  }
553
- function Ze(e, t, r) {
554
- if (arguments.length === 2)
572
+ function Y(e, t, r) {
573
+ if (r || arguments.length === 2)
555
574
  for (var n = 0, i = t.length, s; n < i; n++)
556
575
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
557
576
  return e.concat(s || t);
558
577
  }
559
- function U(e) {
578
+ function G(e) {
560
579
  return typeof e == "function";
561
580
  }
562
- function Zt(e) {
581
+ function Vt(e) {
563
582
  var t = function(n) {
564
583
  Error.call(n), n.stack = new Error().stack;
565
584
  }, r = e(t);
566
585
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
567
586
  }
568
- var Me = Zt(function(e) {
587
+ var Ie = Vt(function(e) {
569
588
  return function(r) {
570
589
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
571
590
  ` + r.map(function(n, i) {
@@ -574,13 +593,13 @@ var Me = Zt(function(e) {
574
593
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
575
594
  };
576
595
  });
577
- function qe(e, t) {
596
+ function Xe(e, t) {
578
597
  if (e) {
579
598
  var r = e.indexOf(t);
580
599
  0 <= r && e.splice(r, 1);
581
600
  }
582
601
  }
583
- var He = function() {
602
+ var Te = function() {
584
603
  function e(t) {
585
604
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
586
605
  }
@@ -592,7 +611,7 @@ var He = function() {
592
611
  if (o)
593
612
  if (this._parentage = null, Array.isArray(o))
594
613
  try {
595
- for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
614
+ for (var a = ke(o), h = a.next(); !h.done; h = a.next()) {
596
615
  var u = h.value;
597
616
  u.remove(this);
598
617
  }
@@ -609,22 +628,22 @@ var He = function() {
609
628
  else
610
629
  o.remove(this);
611
630
  var l = this.initialTeardown;
612
- if (U(l))
631
+ if (G(l))
613
632
  try {
614
633
  l();
615
634
  } catch (b) {
616
- s = b instanceof Me ? b.errors : [b];
635
+ s = b instanceof Ie ? b.errors : [b];
617
636
  }
618
637
  var m = this._finalizers;
619
638
  if (m) {
620
639
  this._finalizers = null;
621
640
  try {
622
- for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
641
+ for (var c = ke(m), d = c.next(); !d.done; d = c.next()) {
623
642
  var p = d.value;
624
643
  try {
625
- gt(p);
644
+ mt(p);
626
645
  } catch (b) {
627
- s = s ?? [], b instanceof Me ? s = Ze(Ze([], ze(s)), ze(b.errors)) : s.push(b);
646
+ s = s ?? [], b instanceof Ie ? s = Y(Y([], Ve(s)), Ve(b.errors)) : s.push(b);
628
647
  }
629
648
  }
630
649
  } catch (b) {
@@ -639,13 +658,13 @@ var He = function() {
639
658
  }
640
659
  }
641
660
  if (s)
642
- throw new Me(s);
661
+ throw new Ie(s);
643
662
  }
644
663
  }, e.prototype.add = function(t) {
645
664
  var r;
646
665
  if (t && t !== this)
647
666
  if (this.closed)
648
- gt(t);
667
+ mt(t);
649
668
  else {
650
669
  if (t instanceof e) {
651
670
  if (t.closed || t._hasParent(this))
@@ -662,52 +681,56 @@ var He = function() {
662
681
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
663
682
  }, e.prototype._removeParent = function(t) {
664
683
  var r = this._parentage;
665
- r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
684
+ r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
666
685
  }, e.prototype.remove = function(t) {
667
686
  var r = this._finalizers;
668
- r && qe(r, t), t instanceof e && t._removeParent(this);
687
+ r && Xe(r, t), t instanceof e && t._removeParent(this);
669
688
  }, e.EMPTY = function() {
670
689
  var t = new e();
671
690
  return t.closed = !0, t;
672
691
  }(), e;
673
- }(), qt = He.EMPTY;
674
- function Qt(e) {
675
- return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
676
- }
677
- function gt(e) {
678
- U(e) ? e() : e.unsubscribe();
679
- }
680
- var Kr = {
681
- Promise: void 0
682
- }, en = {
692
+ }(), Xt = Te.EMPTY;
693
+ function Wt(e) {
694
+ return e instanceof Te || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
695
+ }
696
+ function mt(e) {
697
+ G(e) ? e() : e.unsubscribe();
698
+ }
699
+ var Qr = {
700
+ onUnhandledError: null,
701
+ onStoppedNotification: null,
702
+ Promise: void 0,
703
+ useDeprecatedSynchronousErrorHandling: !1,
704
+ useDeprecatedNextContext: !1
705
+ }, Yr = {
683
706
  setTimeout: function(e, t) {
684
707
  for (var r = [], n = 2; n < arguments.length; n++)
685
708
  r[n - 2] = arguments[n];
686
- return setTimeout.apply(void 0, Ze([e, t], ze(r)));
709
+ return setTimeout.apply(void 0, Y([e, t], Ve(r)));
687
710
  },
688
711
  clearTimeout: function(e) {
689
712
  return clearTimeout(e);
690
713
  },
691
714
  delegate: void 0
692
715
  };
693
- function tn(e) {
694
- en.setTimeout(function() {
716
+ function Jr(e) {
717
+ Yr.setTimeout(function() {
695
718
  throw e;
696
719
  });
697
720
  }
698
- function yt() {
721
+ function dt() {
699
722
  }
700
723
  function _e(e) {
701
724
  e();
702
725
  }
703
- var Yt = function(e) {
704
- fe(t, e);
726
+ var zt = function(e) {
727
+ U(t, e);
705
728
  function t(r) {
706
729
  var n = e.call(this) || this;
707
- return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = sn, n;
730
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = tn, n;
708
731
  }
709
732
  return t.create = function(r, n, i) {
710
- return new Qe(r, n, i);
733
+ return new We(r, n, i);
711
734
  }, t.prototype.next = function(r) {
712
735
  this.isStopped || this._next(r);
713
736
  }, t.prototype.error = function(r) {
@@ -731,7 +754,7 @@ var Yt = function(e) {
731
754
  this.unsubscribe();
732
755
  }
733
756
  }, t;
734
- }(He), rn = function() {
757
+ }(Te), Kr = function() {
735
758
  function e(t) {
736
759
  this.partialObserver = t;
737
760
  }
@@ -762,43 +785,43 @@ var Yt = function(e) {
762
785
  ge(r);
763
786
  }
764
787
  }, e;
765
- }(), Qe = function(e) {
766
- fe(t, e);
788
+ }(), We = function(e) {
789
+ U(t, e);
767
790
  function t(r, n, i) {
768
791
  var s = e.call(this) || this, o;
769
- return U(r) || !r ? o = {
792
+ return G(r) || !r ? o = {
770
793
  next: r ?? void 0,
771
794
  error: n ?? void 0,
772
795
  complete: i ?? void 0
773
- } : o = r, s.destination = new rn(o), s;
796
+ } : o = r, s.destination = new Kr(o), s;
774
797
  }
775
798
  return t;
776
- }(Yt);
799
+ }(zt);
777
800
  function ge(e) {
778
- tn(e);
801
+ Jr(e);
779
802
  }
780
- function nn(e) {
803
+ function en(e) {
781
804
  throw e;
782
805
  }
783
- var sn = {
806
+ var tn = {
784
807
  closed: !0,
785
- next: yt,
786
- error: nn,
787
- complete: yt
788
- }, on = function() {
808
+ next: dt,
809
+ error: en,
810
+ complete: dt
811
+ }, rn = function() {
789
812
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
790
813
  }();
791
- function an(e) {
814
+ function nn(e) {
792
815
  return e;
793
816
  }
794
- function un(e) {
795
- return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
817
+ function sn(e) {
818
+ return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
796
819
  return e.reduce(function(n, i) {
797
820
  return i(n);
798
821
  }, r);
799
822
  };
800
823
  }
801
- var vt = function() {
824
+ var bt = function() {
802
825
  function e(t) {
803
826
  t && (this._subscribe = t);
804
827
  }
@@ -806,7 +829,7 @@ var vt = function() {
806
829
  var r = new e();
807
830
  return r.source = this, r.operator = t, r;
808
831
  }, e.prototype.subscribe = function(t, r, n) {
809
- var i = this, s = ln(t) ? t : new Qe(t, r, n);
832
+ var i = this, s = an(t) ? t : new We(t, r, n);
810
833
  return _e(function() {
811
834
  var o = i, a = o.operator, h = o.source;
812
835
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
@@ -819,8 +842,8 @@ var vt = function() {
819
842
  }
820
843
  }, e.prototype.forEach = function(t, r) {
821
844
  var n = this;
822
- return r = _t(r), new r(function(i, s) {
823
- var o = new Qe({
845
+ return r = pt(r), new r(function(i, s) {
846
+ var o = new We({
824
847
  next: function(a) {
825
848
  try {
826
849
  t(a);
@@ -836,15 +859,15 @@ var vt = function() {
836
859
  }, e.prototype._subscribe = function(t) {
837
860
  var r;
838
861
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
839
- }, e.prototype[on] = function() {
862
+ }, e.prototype[rn] = function() {
840
863
  return this;
841
864
  }, e.prototype.pipe = function() {
842
865
  for (var t = [], r = 0; r < arguments.length; r++)
843
866
  t[r] = arguments[r];
844
- return un(t)(this);
867
+ return sn(t)(this);
845
868
  }, e.prototype.toPromise = function(t) {
846
869
  var r = this;
847
- return t = _t(t), new t(function(n, i) {
870
+ return t = pt(t), new t(function(n, i) {
848
871
  var s;
849
872
  r.subscribe(function(o) {
850
873
  return s = o;
@@ -858,32 +881,32 @@ var vt = function() {
858
881
  return new e(t);
859
882
  }, e;
860
883
  }();
861
- function _t(e) {
884
+ function pt(e) {
862
885
  var t;
863
- return (t = e ?? Kr.Promise) !== null && t !== void 0 ? t : Promise;
886
+ return (t = e ?? Qr.Promise) !== null && t !== void 0 ? t : Promise;
864
887
  }
865
- function hn(e) {
866
- return e && U(e.next) && U(e.error) && U(e.complete);
888
+ function on(e) {
889
+ return e && G(e.next) && G(e.error) && G(e.complete);
867
890
  }
868
- function ln(e) {
869
- return e && e instanceof Yt || hn(e) && Qt(e);
891
+ function an(e) {
892
+ return e && e instanceof zt || on(e) && Wt(e);
870
893
  }
871
- var cn = Zt(function(e) {
894
+ var un = Vt(function(e) {
872
895
  return function() {
873
896
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
874
897
  };
875
- }), Jt = function(e) {
876
- fe(t, e);
898
+ }), Zt = function(e) {
899
+ U(t, e);
877
900
  function t() {
878
901
  var r = e.call(this) || this;
879
902
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
880
903
  }
881
904
  return t.prototype.lift = function(r) {
882
- var n = new Et(this, this);
905
+ var n = new gt(this, this);
883
906
  return n.operator = r, n;
884
907
  }, t.prototype._throwIfClosed = function() {
885
908
  if (this.closed)
886
- throw new cn();
909
+ throw new un();
887
910
  }, t.prototype.next = function(r) {
888
911
  var n = this;
889
912
  _e(function() {
@@ -891,7 +914,7 @@ var cn = Zt(function(e) {
891
914
  if (n._throwIfClosed(), !n.isStopped) {
892
915
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
893
916
  try {
894
- for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
917
+ for (var o = ke(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
895
918
  var h = a.value;
896
919
  h.next(r);
897
920
  }
@@ -940,20 +963,20 @@ var cn = Zt(function(e) {
940
963
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
941
964
  }, t.prototype._innerSubscribe = function(r) {
942
965
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
943
- return s || o ? qt : (this.currentObservers = null, a.push(r), new He(function() {
944
- n.currentObservers = null, qe(a, r);
966
+ return s || o ? Xt : (this.currentObservers = null, a.push(r), new Te(function() {
967
+ n.currentObservers = null, Xe(a, r);
945
968
  }));
946
969
  }, t.prototype._checkFinalizedStatuses = function(r) {
947
970
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
948
971
  i ? r.error(s) : o && r.complete();
949
972
  }, t.prototype.asObservable = function() {
950
- var r = new vt();
973
+ var r = new bt();
951
974
  return r.source = this, r;
952
975
  }, t.create = function(r, n) {
953
- return new Et(r, n);
976
+ return new gt(r, n);
954
977
  }, t;
955
- }(vt), Et = function(e) {
956
- fe(t, e);
978
+ }(bt), gt = function(e) {
979
+ U(t, e);
957
980
  function t(r, n) {
958
981
  var i = e.call(this) || this;
959
982
  return i.destination = r, i.source = n, i;
@@ -969,17 +992,17 @@ var cn = Zt(function(e) {
969
992
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
970
993
  }, t.prototype._subscribe = function(r) {
971
994
  var n, i;
972
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
995
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
973
996
  }, t;
974
- }(Jt), Kt = {
997
+ }(Zt), qt = {
975
998
  now: function() {
976
- return (Kt.delegate || Date).now();
999
+ return (qt.delegate || Date).now();
977
1000
  },
978
1001
  delegate: void 0
979
- }, fn = function(e) {
980
- fe(t, e);
1002
+ }, hn = function(e) {
1003
+ U(t, e);
981
1004
  function t(r, n, i) {
982
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1005
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
983
1006
  var s = e.call(this) || this;
984
1007
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
985
1008
  }
@@ -999,24 +1022,24 @@ var cn = Zt(function(e) {
999
1022
  u && s.splice(0, u + 1);
1000
1023
  }
1001
1024
  }, t;
1002
- }(Jt);
1003
- const xt = [], St = {}, mn = (e, t = 0) => {
1004
- if (xt.indexOf(e) == -1) {
1005
- const r = new fn(t);
1006
- St[e] = r, xt.push(e);
1025
+ }(Zt);
1026
+ const yt = [], vt = {}, ln = (e, t = 0) => {
1027
+ if (yt.indexOf(e) == -1) {
1028
+ const r = new hn(t);
1029
+ vt[e] = r, yt.push(e);
1007
1030
  }
1008
- return St[e];
1031
+ return vt[e];
1009
1032
  }, Z = [];
1010
- function dn(e, t) {
1033
+ function cn(e, t) {
1011
1034
  return {
1012
- subscribe: Ae(e, t).subscribe
1035
+ subscribe: He(e, t).subscribe
1013
1036
  };
1014
1037
  }
1015
- function Ae(e, t = I) {
1038
+ function He(e, t = I) {
1016
1039
  let r;
1017
1040
  const n = /* @__PURE__ */ new Set();
1018
1041
  function i(a) {
1019
- if ($t(e, a) && (e = a, r)) {
1042
+ if (Rt(e, a) && (e = a, r)) {
1020
1043
  const h = !Z.length;
1021
1044
  for (const u of n)
1022
1045
  u[1](), Z.push(u, e);
@@ -1038,12 +1061,12 @@ function Ae(e, t = I) {
1038
1061
  }
1039
1062
  return { set: i, update: s, subscribe: o };
1040
1063
  }
1041
- function ie(e, t, r) {
1064
+ function se(e, t, r) {
1042
1065
  const n = !Array.isArray(e), i = n ? [e] : e;
1043
1066
  if (!i.every(Boolean))
1044
1067
  throw new Error("derived() expects stores as input, got a falsy value");
1045
1068
  const s = t.length < 2;
1046
- return dn(r, (o, a) => {
1069
+ return cn(r, (o, a) => {
1047
1070
  let h = !1;
1048
1071
  const u = [];
1049
1072
  let l = 0, m = I;
@@ -1052,9 +1075,9 @@ function ie(e, t, r) {
1052
1075
  return;
1053
1076
  m();
1054
1077
  const p = t(n ? u[0] : u, o, a);
1055
- s ? o(p) : m = at(p) ? p : I;
1078
+ s ? o(p) : m = rt(p) ? p : I;
1056
1079
  }, d = i.map(
1057
- (p, b) => Ft(
1080
+ (p, b) => Gt(
1058
1081
  p,
1059
1082
  (w) => {
1060
1083
  u[b] = w, l &= ~(1 << b), h && c();
@@ -1065,157 +1088,118 @@ function ie(e, t, r) {
1065
1088
  )
1066
1089
  );
1067
1090
  return h = !0, c(), function() {
1068
- te(d), m(), h = !1;
1091
+ re(d), m(), h = !1;
1069
1092
  };
1070
1093
  });
1071
1094
  }
1072
- function bn(e) {
1073
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1095
+ function fn(e) {
1096
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1074
1097
  }
1075
- var pn = function(t) {
1076
- return gn(t) && !yn(t);
1098
+ var mn = function(t) {
1099
+ return dn(t) && !bn(t);
1077
1100
  };
1078
- function gn(e) {
1101
+ function dn(e) {
1079
1102
  return !!e && typeof e == "object";
1080
1103
  }
1081
- function yn(e) {
1104
+ function bn(e) {
1082
1105
  var t = Object.prototype.toString.call(e);
1083
- return t === "[object RegExp]" || t === "[object Date]" || En(e);
1106
+ return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1084
1107
  }
1085
- var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
1086
- function En(e) {
1087
- return e.$$typeof === _n;
1108
+ var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
1109
+ function yn(e) {
1110
+ return e.$$typeof === gn;
1088
1111
  }
1089
- function xn(e) {
1112
+ function vn(e) {
1090
1113
  return Array.isArray(e) ? [] : {};
1091
1114
  }
1092
- function he(e, t) {
1093
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(xn(e), e, t) : e;
1115
+ function le(e, t) {
1116
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(vn(e), e, t) : e;
1094
1117
  }
1095
- function Sn(e, t, r) {
1118
+ function _n(e, t, r) {
1096
1119
  return e.concat(t).map(function(n) {
1097
- return he(n, r);
1120
+ return le(n, r);
1098
1121
  });
1099
1122
  }
1100
- function wn(e, t) {
1123
+ function En(e, t) {
1101
1124
  if (!t.customMerge)
1102
- return Y;
1125
+ return J;
1103
1126
  var r = t.customMerge(e);
1104
- return typeof r == "function" ? r : Y;
1127
+ return typeof r == "function" ? r : J;
1105
1128
  }
1106
- function Tn(e) {
1129
+ function xn(e) {
1107
1130
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1108
1131
  return Object.propertyIsEnumerable.call(e, t);
1109
1132
  }) : [];
1110
1133
  }
1111
- function wt(e) {
1112
- return Object.keys(e).concat(Tn(e));
1134
+ function _t(e) {
1135
+ return Object.keys(e).concat(xn(e));
1113
1136
  }
1114
- function er(e, t) {
1137
+ function Qt(e, t) {
1115
1138
  try {
1116
1139
  return t in e;
1117
1140
  } catch {
1118
1141
  return !1;
1119
1142
  }
1120
1143
  }
1121
- function Hn(e, t) {
1122
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1144
+ function Sn(e, t) {
1145
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1123
1146
  }
1124
- function An(e, t, r) {
1147
+ function wn(e, t, r) {
1125
1148
  var n = {};
1126
- return r.isMergeableObject(e) && wt(e).forEach(function(i) {
1127
- n[i] = he(e[i], r);
1128
- }), wt(t).forEach(function(i) {
1129
- Hn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1149
+ return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1150
+ n[i] = le(e[i], r);
1151
+ }), _t(t).forEach(function(i) {
1152
+ Sn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1130
1153
  }), n;
1131
1154
  }
1132
- function Y(e, t, r) {
1133
- r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = he;
1155
+ function J(e, t, r) {
1156
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = le;
1134
1157
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1135
- return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : he(t, r);
1158
+ return s ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : le(t, r);
1136
1159
  }
1137
- Y.all = function(t, r) {
1160
+ J.all = function(t, r) {
1138
1161
  if (!Array.isArray(t))
1139
1162
  throw new Error("first argument should be an array");
1140
1163
  return t.reduce(function(n, i) {
1141
- return Y(n, i, r);
1164
+ return J(n, i, r);
1142
1165
  }, {});
1143
1166
  };
1144
- var Bn = Y, Pn = Bn;
1145
- const On = /* @__PURE__ */ bn(Pn);
1146
- var Ye = function(e, t) {
1147
- return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1148
- r.__proto__ = n;
1149
- } || function(r, n) {
1150
- for (var i in n)
1151
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1152
- }, Ye(e, t);
1153
- };
1154
- function Be(e, t) {
1155
- if (typeof t != "function" && t !== null)
1156
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1157
- Ye(e, t);
1158
- function r() {
1159
- this.constructor = e;
1160
- }
1161
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1162
- }
1163
- var R = function() {
1164
- return R = Object.assign || function(t) {
1165
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1166
- r = arguments[n];
1167
- for (var s in r)
1168
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1169
- }
1170
- return t;
1171
- }, R.apply(this, arguments);
1172
- };
1173
- function Nn(e, t) {
1174
- var r = {};
1175
- for (var n in e)
1176
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1177
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1178
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1179
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1180
- return r;
1181
- }
1182
- function Re(e, t, r) {
1183
- if (r || arguments.length === 2)
1184
- for (var n = 0, i = t.length, s; n < i; n++)
1185
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1186
- return e.concat(s || Array.prototype.slice.call(t));
1187
- }
1188
- function Ge(e, t) {
1189
- var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Cn;
1167
+ var Tn = J, Hn = Tn;
1168
+ const An = /* @__PURE__ */ fn(Hn);
1169
+ function Ce(e, t) {
1170
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Pn;
1190
1171
  return i(e, {
1191
1172
  cache: r,
1192
1173
  serializer: n
1193
1174
  });
1194
1175
  }
1195
- function Ln(e) {
1176
+ function Bn(e) {
1196
1177
  return e == null || typeof e == "number" || typeof e == "boolean";
1197
1178
  }
1198
- function In(e, t, r, n) {
1199
- var i = Ln(n) ? n : r(n), s = t.get(i);
1179
+ function Yt(e, t, r, n) {
1180
+ var i = Bn(n) ? n : r(n), s = t.get(i);
1200
1181
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1201
1182
  }
1202
- function tr(e, t, r) {
1183
+ function Jt(e, t, r) {
1203
1184
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1204
1185
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1205
1186
  }
1206
- function rr(e, t, r, n, i) {
1187
+ function nt(e, t, r, n, i) {
1207
1188
  return r.bind(t, e, n, i);
1208
1189
  }
1209
- function Cn(e, t) {
1210
- var r = e.length === 1 ? In : tr;
1211
- return rr(e, this, r, t.cache.create(), t.serializer);
1190
+ function Pn(e, t) {
1191
+ var r = e.length === 1 ? Yt : Jt;
1192
+ return nt(e, this, r, t.cache.create(), t.serializer);
1212
1193
  }
1213
- function Mn(e, t) {
1214
- return rr(e, this, tr, t.cache.create(), t.serializer);
1194
+ function Nn(e, t) {
1195
+ return nt(e, this, Jt, t.cache.create(), t.serializer);
1215
1196
  }
1216
- var Rn = function() {
1197
+ function On(e, t) {
1198
+ return nt(e, this, Yt, t.cache.create(), t.serializer);
1199
+ }
1200
+ var Ln = function() {
1217
1201
  return JSON.stringify(arguments);
1218
- }, Gn = (
1202
+ }, In = (
1219
1203
  /** @class */
1220
1204
  function() {
1221
1205
  function e() {
@@ -1227,71 +1211,62 @@ var Rn = function() {
1227
1211
  this.cache[t] = r;
1228
1212
  }, e;
1229
1213
  }()
1230
- ), Un = {
1214
+ ), Cn = {
1231
1215
  create: function() {
1232
- return new Gn();
1216
+ return new In();
1233
1217
  }
1234
- }, Ue = {
1235
- variadic: Mn
1236
- }, Se = function() {
1237
- return Se = Object.assign || function(t) {
1238
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1239
- r = arguments[n];
1240
- for (var s in r)
1241
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1242
- }
1243
- return t;
1244
- }, Se.apply(this, arguments);
1245
- };
1246
- var g;
1218
+ }, Me = {
1219
+ variadic: Nn,
1220
+ monadic: On
1221
+ }, g;
1247
1222
  (function(e) {
1248
1223
  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";
1249
1224
  })(g || (g = {}));
1250
- var E;
1225
+ var x;
1251
1226
  (function(e) {
1252
1227
  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";
1253
- })(E || (E = {}));
1254
- var J;
1228
+ })(x || (x = {}));
1229
+ var K;
1255
1230
  (function(e) {
1256
1231
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1257
- })(J || (J = {}));
1258
- function Tt(e) {
1259
- return e.type === E.literal;
1232
+ })(K || (K = {}));
1233
+ function Et(e) {
1234
+ return e.type === x.literal;
1260
1235
  }
1261
- function Dn(e) {
1262
- return e.type === E.argument;
1236
+ function Mn(e) {
1237
+ return e.type === x.argument;
1263
1238
  }
1264
- function nr(e) {
1265
- return e.type === E.number;
1239
+ function Kt(e) {
1240
+ return e.type === x.number;
1266
1241
  }
1267
- function ir(e) {
1268
- return e.type === E.date;
1242
+ function er(e) {
1243
+ return e.type === x.date;
1269
1244
  }
1270
- function sr(e) {
1271
- return e.type === E.time;
1245
+ function tr(e) {
1246
+ return e.type === x.time;
1272
1247
  }
1273
- function or(e) {
1274
- return e.type === E.select;
1248
+ function rr(e) {
1249
+ return e.type === x.select;
1275
1250
  }
1276
- function ar(e) {
1277
- return e.type === E.plural;
1251
+ function nr(e) {
1252
+ return e.type === x.plural;
1278
1253
  }
1279
- function $n(e) {
1280
- return e.type === E.pound;
1254
+ function Rn(e) {
1255
+ return e.type === x.pound;
1281
1256
  }
1282
- function ur(e) {
1283
- return e.type === E.tag;
1257
+ function ir(e) {
1258
+ return e.type === x.tag;
1284
1259
  }
1285
- function hr(e) {
1286
- return !!(e && typeof e == "object" && e.type === J.number);
1260
+ function sr(e) {
1261
+ return !!(e && typeof e == "object" && e.type === K.number);
1287
1262
  }
1288
- function Je(e) {
1289
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1263
+ function ze(e) {
1264
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1290
1265
  }
1291
- 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;
1292
- function jn(e) {
1266
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1267
+ function Un(e) {
1293
1268
  var t = {};
1294
- return e.replace(Fn, function(r) {
1269
+ return e.replace(Gn, function(r) {
1295
1270
  var n = r.length;
1296
1271
  switch (r[0]) {
1297
1272
  case "G":
@@ -1380,21 +1355,11 @@ function jn(e) {
1380
1355
  return "";
1381
1356
  }), t;
1382
1357
  }
1383
- var S = function() {
1384
- return S = Object.assign || function(t) {
1385
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1386
- r = arguments[n];
1387
- for (var s in r)
1388
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1389
- }
1390
- return t;
1391
- }, S.apply(this, arguments);
1392
- };
1393
- var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1394
- function Vn(e) {
1358
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1359
+ function Fn(e) {
1395
1360
  if (e.length === 0)
1396
1361
  throw new Error("Number skeleton cannot be empty");
1397
- for (var t = e.split(kn).filter(function(c) {
1362
+ for (var t = e.split(Dn).filter(function(c) {
1398
1363
  return c.length > 0;
1399
1364
  }), r = [], n = 0, i = t; n < i.length; n++) {
1400
1365
  var s = i[n], o = s.split("/");
@@ -1409,17 +1374,17 @@ function Vn(e) {
1409
1374
  }
1410
1375
  return r;
1411
1376
  }
1412
- function Xn(e) {
1377
+ function $n(e) {
1413
1378
  return e.replace(/^(.*?)-/, "");
1414
1379
  }
1415
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1416
- function At(e) {
1380
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1381
+ function St(e) {
1417
1382
  var t = {};
1418
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1383
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1419
1384
  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)), "";
1420
1385
  }), t;
1421
1386
  }
1422
- function mr(e) {
1387
+ function hr(e) {
1423
1388
  switch (e) {
1424
1389
  case "sign-auto":
1425
1390
  return {
@@ -1459,7 +1424,7 @@ function mr(e) {
1459
1424
  };
1460
1425
  }
1461
1426
  }
1462
- function zn(e) {
1427
+ function kn(e) {
1463
1428
  var t;
1464
1429
  if (e[0] === "E" && e[1] === "E" ? (t = {
1465
1430
  notation: "engineering"
@@ -1467,17 +1432,17 @@ function zn(e) {
1467
1432
  notation: "scientific"
1468
1433
  }, e = e.slice(1)), t) {
1469
1434
  var r = e.slice(0, 2);
1470
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1435
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1471
1436
  throw new Error("Malformed concise eng/scientific notation");
1472
1437
  t.minimumIntegerDigits = e.length;
1473
1438
  }
1474
1439
  return t;
1475
1440
  }
1476
- function Bt(e) {
1477
- var t = {}, r = mr(e);
1441
+ function wt(e) {
1442
+ var t = {}, r = hr(e);
1478
1443
  return r || t;
1479
1444
  }
1480
- function Zn(e) {
1445
+ function Vn(e) {
1481
1446
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1482
1447
  var i = n[r];
1483
1448
  switch (i.stem) {
@@ -1501,7 +1466,7 @@ function Zn(e) {
1501
1466
  continue;
1502
1467
  case "measure-unit":
1503
1468
  case "unit":
1504
- t.style = "unit", t.unit = Xn(i.options[0]);
1469
+ t.style = "unit", t.unit = $n(i.options[0]);
1505
1470
  continue;
1506
1471
  case "compact-short":
1507
1472
  case "K":
@@ -1512,13 +1477,13 @@ function Zn(e) {
1512
1477
  t.notation = "compact", t.compactDisplay = "long";
1513
1478
  continue;
1514
1479
  case "scientific":
1515
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1516
- return S(S({}, h), Bt(u));
1480
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1481
+ return v(v({}, h), wt(u));
1517
1482
  }, {}));
1518
1483
  continue;
1519
1484
  case "engineering":
1520
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1521
- return S(S({}, h), Bt(u));
1485
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1486
+ return v(v({}, h), wt(u));
1522
1487
  }, {}));
1523
1488
  continue;
1524
1489
  case "notation-simple":
@@ -1563,7 +1528,7 @@ function Zn(e) {
1563
1528
  case "integer-width":
1564
1529
  if (i.options.length > 1)
1565
1530
  throw new RangeError("integer-width stems only accept a single optional option");
1566
- i.options[0].replace(Wn, function(h, u, l, m, c, d) {
1531
+ i.options[0].replace(jn, function(h, u, l, m, c, d) {
1567
1532
  if (u)
1568
1533
  t.minimumIntegerDigits = l.length;
1569
1534
  else {
@@ -1576,28 +1541,28 @@ function Zn(e) {
1576
1541
  });
1577
1542
  continue;
1578
1543
  }
1579
- if (fr.test(i.stem)) {
1544
+ if (ur.test(i.stem)) {
1580
1545
  t.minimumIntegerDigits = i.stem.length;
1581
1546
  continue;
1582
1547
  }
1583
- if (Ht.test(i.stem)) {
1548
+ if (xt.test(i.stem)) {
1584
1549
  if (i.options.length > 1)
1585
1550
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1586
- i.stem.replace(Ht, function(h, u, l, m, c, d) {
1551
+ i.stem.replace(xt, function(h, u, l, m, c, d) {
1587
1552
  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), "";
1588
1553
  });
1589
1554
  var s = i.options[0];
1590
- s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), At(s)));
1555
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), St(s)));
1591
1556
  continue;
1592
1557
  }
1593
- if (cr.test(i.stem)) {
1594
- t = S(S({}, t), At(i.stem));
1558
+ if (ar.test(i.stem)) {
1559
+ t = v(v({}, t), St(i.stem));
1595
1560
  continue;
1596
1561
  }
1597
- var o = mr(i.stem);
1598
- o && (t = S(S({}, t), o));
1599
- var a = zn(i.stem);
1600
- a && (t = S(S({}, t), a));
1562
+ var o = hr(i.stem);
1563
+ o && (t = v(v({}, t), o));
1564
+ var a = kn(i.stem);
1565
+ a && (t = v(v({}, t), a));
1601
1566
  }
1602
1567
  return t;
1603
1568
  }
@@ -3016,13 +2981,13 @@ var ye = {
3016
2981
  "h"
3017
2982
  ]
3018
2983
  };
3019
- function qn(e, t) {
2984
+ function Xn(e, t) {
3020
2985
  for (var r = "", n = 0; n < e.length; n++) {
3021
2986
  var i = e.charAt(n);
3022
2987
  if (i === "j") {
3023
2988
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3024
2989
  s++, n++;
3025
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Qn(t);
2990
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Wn(t);
3026
2991
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3027
2992
  r += h;
3028
2993
  for (; o-- > 0; )
@@ -3032,7 +2997,7 @@ function qn(e, t) {
3032
2997
  }
3033
2998
  return r;
3034
2999
  }
3035
- function Qn(e) {
3000
+ function Wn(e) {
3036
3001
  var t = e.hourCycle;
3037
3002
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3038
3003
  e.hourCycles && // @ts-ignore
@@ -3054,20 +3019,20 @@ function Qn(e) {
3054
3019
  var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3055
3020
  return i[0];
3056
3021
  }
3057
- var De, Yn = new RegExp("^".concat(lr.source, "*")), Jn = new RegExp("".concat(lr.source, "*$"));
3022
+ var Re, zn = new RegExp("^".concat(or.source, "*")), Zn = new RegExp("".concat(or.source, "*$"));
3058
3023
  function y(e, t) {
3059
3024
  return { start: e, end: t };
3060
3025
  }
3061
- 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) {
3026
+ var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3062
3027
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3063
- }, Ke = !0;
3028
+ }, Ze = !0;
3064
3029
  try {
3065
- var ai = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3066
- Ke = ((De = ai.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3030
+ var ni = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3031
+ Ze = ((Re = ni.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3067
3032
  } catch {
3068
- Ke = !1;
3033
+ Ze = !1;
3069
3034
  }
3070
- var Pt = Kn ? (
3035
+ var Tt = qn ? (
3071
3036
  // Native
3072
3037
  function(t, r, n) {
3073
3038
  return t.startsWith(r, n);
@@ -3077,7 +3042,7 @@ var Pt = Kn ? (
3077
3042
  function(t, r, n) {
3078
3043
  return t.slice(n, n + r.length) === r;
3079
3044
  }
3080
- ), et = ei ? String.fromCodePoint : (
3045
+ ), qe = Qn ? String.fromCodePoint : (
3081
3046
  // IE11
3082
3047
  function() {
3083
3048
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3089,9 +3054,9 @@ var Pt = Kn ? (
3089
3054
  }
3090
3055
  return n;
3091
3056
  }
3092
- ), Ot = (
3057
+ ), Ht = (
3093
3058
  // native
3094
- ti ? Object.fromEntries : (
3059
+ Yn ? Object.fromEntries : (
3095
3060
  // Ponyfill
3096
3061
  function(t) {
3097
3062
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3101,7 +3066,7 @@ var Pt = Kn ? (
3101
3066
  return r;
3102
3067
  }
3103
3068
  )
3104
- ), dr = ri ? (
3069
+ ), lr = Jn ? (
3105
3070
  // Native
3106
3071
  function(t, r) {
3107
3072
  return t.codePointAt(r);
@@ -3115,7 +3080,7 @@ var Pt = Kn ? (
3115
3080
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3116
3081
  }
3117
3082
  }
3118
- ), ui = ni ? (
3083
+ ), ii = Kn ? (
3119
3084
  // Native
3120
3085
  function(t) {
3121
3086
  return t.trimStart();
@@ -3123,9 +3088,9 @@ var Pt = Kn ? (
3123
3088
  ) : (
3124
3089
  // Ponyfill
3125
3090
  function(t) {
3126
- return t.replace(Yn, "");
3091
+ return t.replace(zn, "");
3127
3092
  }
3128
- ), hi = ii ? (
3093
+ ), si = ei ? (
3129
3094
  // Native
3130
3095
  function(t) {
3131
3096
  return t.trimEnd();
@@ -3133,32 +3098,32 @@ var Pt = Kn ? (
3133
3098
  ) : (
3134
3099
  // Ponyfill
3135
3100
  function(t) {
3136
- return t.replace(Jn, "");
3101
+ return t.replace(Zn, "");
3137
3102
  }
3138
3103
  );
3139
- function br(e, t) {
3104
+ function cr(e, t) {
3140
3105
  return new RegExp(e, t);
3141
3106
  }
3142
- var tt;
3143
- if (Ke) {
3144
- var Nt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3145
- tt = function(t, r) {
3107
+ var Qe;
3108
+ if (Ze) {
3109
+ var At = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3110
+ Qe = function(t, r) {
3146
3111
  var n;
3147
- Nt.lastIndex = r;
3148
- var i = Nt.exec(t);
3112
+ At.lastIndex = r;
3113
+ var i = At.exec(t);
3149
3114
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3150
3115
  };
3151
3116
  } else
3152
- tt = function(t, r) {
3117
+ Qe = function(t, r) {
3153
3118
  for (var n = []; ; ) {
3154
- var i = dr(t, r);
3155
- if (i === void 0 || pr(i) || mi(i))
3119
+ var i = lr(t, r);
3120
+ if (i === void 0 || fr(i) || hi(i))
3156
3121
  break;
3157
3122
  n.push(i), r += i >= 65536 ? 2 : 1;
3158
3123
  }
3159
- return et.apply(void 0, n);
3124
+ return qe.apply(void 0, n);
3160
3125
  };
3161
- var li = (
3126
+ var oi = (
3162
3127
  /** @class */
3163
3128
  function() {
3164
3129
  function e(t, r) {
@@ -3182,14 +3147,14 @@ var li = (
3182
3147
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3183
3148
  var a = this.clonePosition();
3184
3149
  this.bump(), i.push({
3185
- type: E.pound,
3150
+ type: x.pound,
3186
3151
  location: y(a, this.clonePosition())
3187
3152
  });
3188
3153
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3189
3154
  if (n)
3190
3155
  break;
3191
3156
  return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3192
- } else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3157
+ } else if (s === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3193
3158
  var o = this.parseTag(t, r);
3194
3159
  if (o.err)
3195
3160
  return o;
@@ -3210,7 +3175,7 @@ var li = (
3210
3175
  if (this.bumpSpace(), this.bumpIf("/>"))
3211
3176
  return {
3212
3177
  val: {
3213
- type: E.literal,
3178
+ type: x.literal,
3214
3179
  value: "<".concat(i, "/>"),
3215
3180
  location: y(n, this.clonePosition())
3216
3181
  },
@@ -3222,12 +3187,12 @@ var li = (
3222
3187
  return s;
3223
3188
  var o = s.val, a = this.clonePosition();
3224
3189
  if (this.bumpIf("</")) {
3225
- if (this.isEOF() || !rt(this.char()))
3190
+ if (this.isEOF() || !Ye(this.char()))
3226
3191
  return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
3227
3192
  var h = this.clonePosition(), u = this.parseTagName();
3228
3193
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3229
3194
  val: {
3230
- type: E.tag,
3195
+ type: x.tag,
3231
3196
  value: i,
3232
3197
  children: o,
3233
3198
  location: y(n, this.clonePosition())
@@ -3240,7 +3205,7 @@ var li = (
3240
3205
  return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3241
3206
  }, e.prototype.parseTagName = function() {
3242
3207
  var t = this.offset();
3243
- for (this.bump(); !this.isEOF() && fi(this.char()); )
3208
+ for (this.bump(); !this.isEOF() && ui(this.char()); )
3244
3209
  this.bump();
3245
3210
  return this.message.slice(t, this.offset());
3246
3211
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3264,12 +3229,12 @@ var li = (
3264
3229
  }
3265
3230
  var h = y(n, this.clonePosition());
3266
3231
  return {
3267
- val: { type: E.literal, value: i, location: h },
3232
+ val: { type: x.literal, value: i, location: h },
3268
3233
  err: null
3269
3234
  };
3270
3235
  }, e.prototype.tryParseLeftAngleBracket = function() {
3271
3236
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3272
- !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3237
+ !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3273
3238
  }, e.prototype.tryParseQuote = function(t) {
3274
3239
  if (this.isEOF() || this.char() !== 39)
3275
3240
  return null;
@@ -3303,12 +3268,12 @@ var li = (
3303
3268
  r.push(n);
3304
3269
  this.bump();
3305
3270
  }
3306
- return et.apply(void 0, r);
3271
+ return qe.apply(void 0, r);
3307
3272
  }, e.prototype.tryParseUnquoted = function(t, r) {
3308
3273
  if (this.isEOF())
3309
3274
  return null;
3310
3275
  var n = this.char();
3311
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3276
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3312
3277
  }, e.prototype.parseArgument = function(t, r) {
3313
3278
  var n = this.clonePosition();
3314
3279
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3324,7 +3289,7 @@ var li = (
3324
3289
  case 125:
3325
3290
  return this.bump(), {
3326
3291
  val: {
3327
- type: E.argument,
3292
+ type: x.argument,
3328
3293
  // value does not include the opening and closing braces.
3329
3294
  value: i,
3330
3295
  location: y(n, this.clonePosition())
@@ -3337,7 +3302,7 @@ var li = (
3337
3302
  return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3338
3303
  }
3339
3304
  }, e.prototype.parseIdentifierIfPossible = function() {
3340
- var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3305
+ var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3341
3306
  this.bumpTo(i);
3342
3307
  var s = this.clonePosition(), o = y(t, s);
3343
3308
  return { value: n, location: o };
@@ -3356,7 +3321,7 @@ var li = (
3356
3321
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3357
3322
  if (m.err)
3358
3323
  return m;
3359
- var c = hi(m.val);
3324
+ var c = si(m.val);
3360
3325
  if (c.length === 0)
3361
3326
  return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3362
3327
  var d = y(l, this.clonePosition());
@@ -3366,25 +3331,25 @@ var li = (
3366
3331
  if (p.err)
3367
3332
  return p;
3368
3333
  var b = y(i, this.clonePosition());
3369
- if (u && Pt(u?.style, "::", 0)) {
3370
- var w = ui(u.style.slice(2));
3334
+ if (u && Tt(u?.style, "::", 0)) {
3335
+ var w = ii(u.style.slice(2));
3371
3336
  if (a === "number") {
3372
3337
  var m = this.parseNumberSkeletonFromString(w, u.styleLocation);
3373
3338
  return m.err ? m : {
3374
- val: { type: E.number, value: n, location: b, style: m.val },
3339
+ val: { type: x.number, value: n, location: b, style: m.val },
3375
3340
  err: null
3376
3341
  };
3377
3342
  } else {
3378
3343
  if (w.length === 0)
3379
3344
  return this.error(g.EXPECT_DATE_TIME_SKELETON, b);
3380
3345
  var C = w;
3381
- this.locale && (C = qn(w, this.locale));
3346
+ this.locale && (C = Xn(w, this.locale));
3382
3347
  var c = {
3383
- type: J.dateTime,
3348
+ type: K.dateTime,
3384
3349
  pattern: C,
3385
3350
  location: u.styleLocation,
3386
- parsedOptions: this.shouldParseSkeletons ? jn(C) : {}
3387
- }, P = a === "date" ? E.date : E.time;
3351
+ parsedOptions: this.shouldParseSkeletons ? Un(C) : {}
3352
+ }, P = a === "date" ? x.date : x.time;
3388
3353
  return {
3389
3354
  val: { type: P, value: n, location: b, style: c },
3390
3355
  err: null
@@ -3393,7 +3358,7 @@ var li = (
3393
3358
  }
3394
3359
  return {
3395
3360
  val: {
3396
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3361
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3397
3362
  value: n,
3398
3363
  location: b,
3399
3364
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -3406,41 +3371,41 @@ var li = (
3406
3371
  case "select": {
3407
3372
  var T = this.clonePosition();
3408
3373
  if (this.bumpSpace(), !this.bumpIf(","))
3409
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, Se({}, T)));
3374
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, v({}, T)));
3410
3375
  this.bumpSpace();
3411
- var O = this.parseIdentifierIfPossible(), H = 0;
3412
- if (a !== "select" && O.value === "offset") {
3376
+ var N = this.parseIdentifierIfPossible(), H = 0;
3377
+ if (a !== "select" && N.value === "offset") {
3413
3378
  if (!this.bumpIf(":"))
3414
3379
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3415
3380
  this.bumpSpace();
3416
3381
  var m = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3417
3382
  if (m.err)
3418
3383
  return m;
3419
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = m.val;
3384
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), H = m.val;
3420
3385
  }
3421
- var M = this.tryParsePluralOrSelectOptions(t, a, r, O);
3386
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, N);
3422
3387
  if (M.err)
3423
3388
  return M;
3424
3389
  var p = this.tryParseArgumentClose(i);
3425
3390
  if (p.err)
3426
3391
  return p;
3427
- var _ = y(i, this.clonePosition());
3392
+ var E = y(i, this.clonePosition());
3428
3393
  return a === "select" ? {
3429
3394
  val: {
3430
- type: E.select,
3395
+ type: x.select,
3431
3396
  value: n,
3432
- options: Ot(M.val),
3433
- location: _
3397
+ options: Ht(M.val),
3398
+ location: E
3434
3399
  },
3435
3400
  err: null
3436
3401
  } : {
3437
3402
  val: {
3438
- type: E.plural,
3403
+ type: x.plural,
3439
3404
  value: n,
3440
- options: Ot(M.val),
3405
+ options: Ht(M.val),
3441
3406
  offset: H,
3442
3407
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3443
- location: _
3408
+ location: E
3444
3409
  },
3445
3410
  err: null
3446
3411
  };
@@ -3488,16 +3453,16 @@ var li = (
3488
3453
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3489
3454
  var n = [];
3490
3455
  try {
3491
- n = Vn(t);
3456
+ n = Fn(t);
3492
3457
  } catch {
3493
3458
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3494
3459
  }
3495
3460
  return {
3496
3461
  val: {
3497
- type: J.number,
3462
+ type: K.number,
3498
3463
  tokens: n,
3499
3464
  location: r,
3500
- parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
3465
+ parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3501
3466
  },
3502
3467
  err: null
3503
3468
  };
@@ -3545,7 +3510,7 @@ var li = (
3545
3510
  break;
3546
3511
  }
3547
3512
  var h = y(i, this.clonePosition());
3548
- return s ? (o *= n, oi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3513
+ return s ? (o *= n, ri(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3549
3514
  }, e.prototype.offset = function() {
3550
3515
  return this.position.offset;
3551
3516
  }, e.prototype.isEOF = function() {
@@ -3560,7 +3525,7 @@ var li = (
3560
3525
  var t = this.position.offset;
3561
3526
  if (t >= this.message.length)
3562
3527
  throw Error("out of bound");
3563
- var r = dr(this.message, t);
3528
+ var r = lr(this.message, t);
3564
3529
  if (r === void 0)
3565
3530
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3566
3531
  return r;
@@ -3579,7 +3544,7 @@ var li = (
3579
3544
  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);
3580
3545
  }
3581
3546
  }, e.prototype.bumpIf = function(t) {
3582
- if (Pt(this.message, t, this.offset())) {
3547
+ if (Tt(this.message, t, this.offset())) {
3583
3548
  for (var r = 0; r < t.length; r++)
3584
3549
  this.bump();
3585
3550
  return !0;
@@ -3601,7 +3566,7 @@ var li = (
3601
3566
  break;
3602
3567
  }
3603
3568
  }, e.prototype.bumpSpace = function() {
3604
- for (; !this.isEOF() && pr(this.char()); )
3569
+ for (; !this.isEOF() && fr(this.char()); )
3605
3570
  this.bump();
3606
3571
  }, e.prototype.peek = function() {
3607
3572
  if (this.isEOF())
@@ -3611,47 +3576,47 @@ var li = (
3611
3576
  }, e;
3612
3577
  }()
3613
3578
  );
3614
- function rt(e) {
3579
+ function Ye(e) {
3615
3580
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3616
3581
  }
3617
- function ci(e) {
3618
- return rt(e) || e === 47;
3582
+ function ai(e) {
3583
+ return Ye(e) || e === 47;
3619
3584
  }
3620
- function fi(e) {
3585
+ function ui(e) {
3621
3586
  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;
3622
3587
  }
3623
- function pr(e) {
3588
+ function fr(e) {
3624
3589
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3625
3590
  }
3626
- function mi(e) {
3591
+ function hi(e) {
3627
3592
  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;
3628
3593
  }
3629
- function nt(e) {
3594
+ function Je(e) {
3630
3595
  e.forEach(function(t) {
3631
- if (delete t.location, or(t) || ar(t))
3596
+ if (delete t.location, rr(t) || nr(t))
3632
3597
  for (var r in t.options)
3633
- delete t.options[r].location, nt(t.options[r].value);
3598
+ delete t.options[r].location, Je(t.options[r].value);
3634
3599
  else
3635
- nr(t) && hr(t.style) || (ir(t) || sr(t)) && Je(t.style) ? delete t.style.location : ur(t) && nt(t.children);
3600
+ Kt(t) && sr(t.style) || (er(t) || tr(t)) && ze(t.style) ? delete t.style.location : ir(t) && Je(t.children);
3636
3601
  });
3637
3602
  }
3638
- function di(e, t) {
3639
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3640
- var r = new li(e, t).parse();
3603
+ function li(e, t) {
3604
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3605
+ var r = new oi(e, t).parse();
3641
3606
  if (r.err) {
3642
3607
  var n = SyntaxError(g[r.err.kind]);
3643
3608
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3644
3609
  }
3645
- return t?.captureLocation || nt(r.val), r.val;
3610
+ return t?.captureLocation || Je(r.val), r.val;
3646
3611
  }
3647
- var K;
3612
+ var ee;
3648
3613
  (function(e) {
3649
3614
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3650
- })(K || (K = {}));
3651
- var Pe = (
3615
+ })(ee || (ee = {}));
3616
+ var Ae = (
3652
3617
  /** @class */
3653
3618
  function(e) {
3654
- Be(t, e);
3619
+ U(t, e);
3655
3620
  function t(r, n, i) {
3656
3621
  var s = e.call(this, r) || this;
3657
3622
  return s.code = n, s.originalMessage = i, s;
@@ -3660,48 +3625,48 @@ var Pe = (
3660
3625
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3661
3626
  }, t;
3662
3627
  }(Error)
3663
- ), Lt = (
3628
+ ), Bt = (
3664
3629
  /** @class */
3665
3630
  function(e) {
3666
- Be(t, e);
3631
+ U(t, e);
3667
3632
  function t(r, n, i, s) {
3668
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
3633
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3669
3634
  }
3670
3635
  return t;
3671
- }(Pe)
3672
- ), bi = (
3636
+ }(Ae)
3637
+ ), ci = (
3673
3638
  /** @class */
3674
3639
  function(e) {
3675
- Be(t, e);
3640
+ U(t, e);
3676
3641
  function t(r, n, i) {
3677
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3642
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3678
3643
  }
3679
3644
  return t;
3680
- }(Pe)
3681
- ), pi = (
3645
+ }(Ae)
3646
+ ), fi = (
3682
3647
  /** @class */
3683
3648
  function(e) {
3684
- Be(t, e);
3649
+ U(t, e);
3685
3650
  function t(r, n) {
3686
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3651
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3687
3652
  }
3688
3653
  return t;
3689
- }(Pe)
3654
+ }(Ae)
3690
3655
  ), A;
3691
3656
  (function(e) {
3692
3657
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3693
3658
  })(A || (A = {}));
3694
- function gi(e) {
3659
+ function mi(e) {
3695
3660
  return e.length < 2 ? e : e.reduce(function(t, r) {
3696
3661
  var n = t[t.length - 1];
3697
3662
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3698
3663
  }, []);
3699
3664
  }
3700
- function yi(e) {
3665
+ function di(e) {
3701
3666
  return typeof e == "function";
3702
3667
  }
3703
3668
  function Ee(e, t, r, n, i, s, o) {
3704
- if (e.length === 1 && Tt(e[0]))
3669
+ if (e.length === 1 && Et(e[0]))
3705
3670
  return [
3706
3671
  {
3707
3672
  type: A.literal,
@@ -3710,14 +3675,14 @@ function Ee(e, t, r, n, i, s, o) {
3710
3675
  ];
3711
3676
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3712
3677
  var l = u[h];
3713
- if (Tt(l)) {
3678
+ if (Et(l)) {
3714
3679
  a.push({
3715
3680
  type: A.literal,
3716
3681
  value: l.value
3717
3682
  });
3718
3683
  continue;
3719
3684
  }
3720
- if ($n(l)) {
3685
+ if (Rn(l)) {
3721
3686
  typeof s == "number" && a.push({
3722
3687
  type: A.literal,
3723
3688
  value: r.getNumberFormat(t).format(s)
@@ -3726,43 +3691,43 @@ function Ee(e, t, r, n, i, s, o) {
3726
3691
  }
3727
3692
  var m = l.value;
3728
3693
  if (!(i && m in i))
3729
- throw new pi(m, o);
3694
+ throw new fi(m, o);
3730
3695
  var c = i[m];
3731
- if (Dn(l)) {
3696
+ if (Mn(l)) {
3732
3697
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3733
3698
  type: typeof c == "string" ? A.literal : A.object,
3734
3699
  value: c
3735
3700
  });
3736
3701
  continue;
3737
3702
  }
3738
- if (ir(l)) {
3739
- var d = typeof l.style == "string" ? n.date[l.style] : Je(l.style) ? l.style.parsedOptions : void 0;
3703
+ if (er(l)) {
3704
+ var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3740
3705
  a.push({
3741
3706
  type: A.literal,
3742
3707
  value: r.getDateTimeFormat(t, d).format(c)
3743
3708
  });
3744
3709
  continue;
3745
3710
  }
3746
- if (sr(l)) {
3747
- var d = typeof l.style == "string" ? n.time[l.style] : Je(l.style) ? l.style.parsedOptions : n.time.medium;
3711
+ if (tr(l)) {
3712
+ var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3748
3713
  a.push({
3749
3714
  type: A.literal,
3750
3715
  value: r.getDateTimeFormat(t, d).format(c)
3751
3716
  });
3752
3717
  continue;
3753
3718
  }
3754
- if (nr(l)) {
3755
- var d = typeof l.style == "string" ? n.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
3719
+ if (Kt(l)) {
3720
+ var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3756
3721
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3757
3722
  type: A.literal,
3758
3723
  value: r.getNumberFormat(t, d).format(c)
3759
3724
  });
3760
3725
  continue;
3761
3726
  }
3762
- if (ur(l)) {
3727
+ if (ir(l)) {
3763
3728
  var p = l.children, b = l.value, w = i[b];
3764
- if (!yi(w))
3765
- throw new bi(b, "function", o);
3729
+ if (!di(w))
3730
+ throw new ci(b, "function", o);
3766
3731
  var C = Ee(p, t, r, n, i, s), P = w(C.map(function(H) {
3767
3732
  return H.value;
3768
3733
  }));
@@ -3773,42 +3738,42 @@ function Ee(e, t, r, n, i, s, o) {
3773
3738
  };
3774
3739
  }));
3775
3740
  }
3776
- if (or(l)) {
3741
+ if (rr(l)) {
3777
3742
  var T = l.options[c] || l.options.other;
3778
3743
  if (!T)
3779
- throw new Lt(l.value, c, Object.keys(l.options), o);
3744
+ throw new Bt(l.value, c, Object.keys(l.options), o);
3780
3745
  a.push.apply(a, Ee(T.value, t, r, n, i));
3781
3746
  continue;
3782
3747
  }
3783
- if (ar(l)) {
3748
+ if (nr(l)) {
3784
3749
  var T = l.options["=".concat(c)];
3785
3750
  if (!T) {
3786
3751
  if (!Intl.PluralRules)
3787
- throw new Pe(`Intl.PluralRules is not available in this environment.
3752
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3788
3753
  Try polyfilling it using "@formatjs/intl-pluralrules"
3789
- `, K.MISSING_INTL_API, o);
3790
- var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3791
- T = l.options[O] || l.options.other;
3754
+ `, ee.MISSING_INTL_API, o);
3755
+ var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3756
+ T = l.options[N] || l.options.other;
3792
3757
  }
3793
3758
  if (!T)
3794
- throw new Lt(l.value, c, Object.keys(l.options), o);
3759
+ throw new Bt(l.value, c, Object.keys(l.options), o);
3795
3760
  a.push.apply(a, Ee(T.value, t, r, n, i, c - (l.offset || 0)));
3796
3761
  continue;
3797
3762
  }
3798
3763
  }
3799
- return gi(a);
3764
+ return mi(a);
3800
3765
  }
3801
- function vi(e, t) {
3802
- return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3803
- return r[n] = R(R({}, e[n]), t[n] || {}), r;
3766
+ function bi(e, t) {
3767
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3768
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3804
3769
  }, {})) : e;
3805
3770
  }
3806
- function _i(e, t) {
3771
+ function pi(e, t) {
3807
3772
  return t ? Object.keys(e).reduce(function(r, n) {
3808
- return r[n] = vi(e[n], t[n]), r;
3809
- }, R({}, e)) : e;
3773
+ return r[n] = bi(e[n], t[n]), r;
3774
+ }, v({}, e)) : e;
3810
3775
  }
3811
- function $e(e) {
3776
+ function Ge(e) {
3812
3777
  return {
3813
3778
  create: function() {
3814
3779
  return {
@@ -3822,39 +3787,39 @@ function $e(e) {
3822
3787
  }
3823
3788
  };
3824
3789
  }
3825
- function Ei(e) {
3790
+ function gi(e) {
3826
3791
  return e === void 0 && (e = {
3827
3792
  number: {},
3828
3793
  dateTime: {},
3829
3794
  pluralRules: {}
3830
3795
  }), {
3831
- getNumberFormat: Ge(function() {
3796
+ getNumberFormat: Ce(function() {
3832
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3833
3798
  r[n] = arguments[n];
3834
- return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3799
+ return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
3835
3800
  }, {
3836
- cache: $e(e.number),
3837
- strategy: Ue.variadic
3801
+ cache: Ge(e.number),
3802
+ strategy: Me.variadic
3838
3803
  }),
3839
- getDateTimeFormat: Ge(function() {
3804
+ getDateTimeFormat: Ce(function() {
3840
3805
  for (var t, r = [], n = 0; n < arguments.length; n++)
3841
3806
  r[n] = arguments[n];
3842
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3807
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
3843
3808
  }, {
3844
- cache: $e(e.dateTime),
3845
- strategy: Ue.variadic
3809
+ cache: Ge(e.dateTime),
3810
+ strategy: Me.variadic
3846
3811
  }),
3847
- getPluralRules: Ge(function() {
3812
+ getPluralRules: Ce(function() {
3848
3813
  for (var t, r = [], n = 0; n < arguments.length; n++)
3849
3814
  r[n] = arguments[n];
3850
- return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3815
+ return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
3851
3816
  }, {
3852
- cache: $e(e.pluralRules),
3853
- strategy: Ue.variadic
3817
+ cache: Ge(e.pluralRules),
3818
+ strategy: Me.variadic
3854
3819
  })
3855
3820
  };
3856
3821
  }
3857
- var xi = (
3822
+ var yi = (
3858
3823
  /** @class */
3859
3824
  function() {
3860
3825
  function e(t, r, n, i) {
@@ -3886,13 +3851,13 @@ var xi = (
3886
3851
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3887
3852
  var o = i || {};
3888
3853
  o.formatters;
3889
- var a = Nn(o, ["formatters"]);
3890
- this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
3854
+ var a = qr(o, ["formatters"]);
3855
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3891
3856
  } else
3892
3857
  this.ast = t;
3893
3858
  if (!Array.isArray(this.ast))
3894
3859
  throw new TypeError("A message must be provided as a String or AST.");
3895
- this.formats = _i(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
3860
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3896
3861
  }
3897
3862
  return Object.defineProperty(e, "defaultLocale", {
3898
3863
  get: function() {
@@ -3905,7 +3870,7 @@ var xi = (
3905
3870
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3906
3871
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3907
3872
  }
3908
- }, e.__parse = di, e.formats = {
3873
+ }, e.__parse = li, e.formats = {
3909
3874
  number: {
3910
3875
  integer: {
3911
3876
  maximumFractionDigits: 0
@@ -3966,7 +3931,7 @@ var xi = (
3966
3931
  }, e;
3967
3932
  }()
3968
3933
  );
3969
- function Si(e, t) {
3934
+ function vi(e, t) {
3970
3935
  if (t == null)
3971
3936
  return;
3972
3937
  if (t in e)
@@ -3987,92 +3952,92 @@ function Si(e, t) {
3987
3952
  n = void 0;
3988
3953
  return n;
3989
3954
  }
3990
- const D = {}, wi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), gr = (e, t) => {
3955
+ const D = {}, _i = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), mr = (e, t) => {
3991
3956
  if (t == null)
3992
3957
  return;
3993
3958
  if (t in D && e in D[t])
3994
3959
  return D[t][e];
3995
- const r = Oe(t);
3960
+ const r = Be(t);
3996
3961
  for (let n = 0; n < r.length; n++) {
3997
- const i = r[n], s = Hi(i, e);
3962
+ const i = r[n], s = xi(i, e);
3998
3963
  if (s)
3999
- return wi(e, t, s);
3964
+ return _i(e, t, s);
4000
3965
  }
4001
3966
  };
4002
- let ut;
4003
- const me = Ae({});
4004
- function Ti(e) {
4005
- return ut[e] || null;
3967
+ let it;
3968
+ const me = He({});
3969
+ function Ei(e) {
3970
+ return it[e] || null;
4006
3971
  }
4007
- function yr(e) {
4008
- return e in ut;
3972
+ function dr(e) {
3973
+ return e in it;
4009
3974
  }
4010
- function Hi(e, t) {
4011
- if (!yr(e))
3975
+ function xi(e, t) {
3976
+ if (!dr(e))
4012
3977
  return null;
4013
- const r = Ti(e);
4014
- return Si(r, t);
3978
+ const r = Ei(e);
3979
+ return vi(r, t);
4015
3980
  }
4016
- function Ai(e) {
3981
+ function Si(e) {
4017
3982
  if (e == null)
4018
3983
  return;
4019
- const t = Oe(e);
3984
+ const t = Be(e);
4020
3985
  for (let r = 0; r < t.length; r++) {
4021
3986
  const n = t[r];
4022
- if (yr(n))
3987
+ if (dr(n))
4023
3988
  return n;
4024
3989
  }
4025
3990
  }
4026
- function vr(e, ...t) {
4027
- delete D[e], me.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
3991
+ function br(e, ...t) {
3992
+ delete D[e], me.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4028
3993
  }
4029
- ie(
3994
+ se(
4030
3995
  [me],
4031
3996
  ([e]) => Object.keys(e)
4032
3997
  );
4033
- me.subscribe((e) => ut = e);
3998
+ me.subscribe((e) => it = e);
4034
3999
  const xe = {};
4035
- function Bi(e, t) {
4000
+ function wi(e, t) {
4036
4001
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4037
4002
  }
4038
- function _r(e) {
4003
+ function pr(e) {
4039
4004
  return xe[e];
4040
4005
  }
4041
- function Pi(e) {
4042
- return Oe(e).map((t) => {
4043
- const r = _r(t);
4006
+ function Ti(e) {
4007
+ return Be(e).map((t) => {
4008
+ const r = pr(t);
4044
4009
  return [t, r ? [...r] : []];
4045
4010
  }).filter(([, t]) => t.length > 0);
4046
4011
  }
4047
- function it(e) {
4048
- return e == null ? !1 : Oe(e).some(
4012
+ function Ke(e) {
4013
+ return e == null ? !1 : Be(e).some(
4049
4014
  (t) => {
4050
4015
  var r;
4051
- return (r = _r(t)) == null ? void 0 : r.size;
4016
+ return (r = pr(t)) == null ? void 0 : r.size;
4052
4017
  }
4053
4018
  );
4054
4019
  }
4055
- function Oi(e, t) {
4020
+ function Hi(e, t) {
4056
4021
  return Promise.all(
4057
- t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4058
- ).then((n) => vr(e, ...n));
4059
- }
4060
- const oe = {};
4061
- function Er(e) {
4062
- if (!it(e))
4063
- return e in oe ? oe[e] : Promise.resolve();
4064
- const t = Pi(e);
4065
- return oe[e] = Promise.all(
4022
+ t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4023
+ ).then((n) => br(e, ...n));
4024
+ }
4025
+ const ae = {};
4026
+ function gr(e) {
4027
+ if (!Ke(e))
4028
+ return e in ae ? ae[e] : Promise.resolve();
4029
+ const t = Ti(e);
4030
+ return ae[e] = Promise.all(
4066
4031
  t.map(
4067
- ([r, n]) => Oi(r, n)
4032
+ ([r, n]) => Hi(r, n)
4068
4033
  )
4069
4034
  ).then(() => {
4070
- if (it(e))
4071
- return Er(e);
4072
- delete oe[e];
4073
- }), oe[e];
4035
+ if (Ke(e))
4036
+ return gr(e);
4037
+ delete ae[e];
4038
+ }), ae[e];
4074
4039
  }
4075
- const Ni = {
4040
+ const Ai = {
4076
4041
  number: {
4077
4042
  scientific: { notation: "scientific" },
4078
4043
  engineering: { notation: "engineering" },
@@ -4101,135 +4066,135 @@ const Ni = {
4101
4066
  timeZoneName: "short"
4102
4067
  }
4103
4068
  }
4104
- }, Li = {
4069
+ }, Bi = {
4105
4070
  fallbackLocale: null,
4106
4071
  loadingDelay: 200,
4107
- formats: Ni,
4072
+ formats: Ai,
4108
4073
  warnOnMissingMessages: !0,
4109
4074
  handleMissingMessage: void 0,
4110
4075
  ignoreTag: !0
4111
- }, Ii = Li;
4112
- function ee() {
4113
- return Ii;
4114
- }
4115
- const Fe = Ae(!1);
4116
- 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) => {
4117
- for (var r in t || (t = {}))
4118
- Gi.call(t, r) && Ct(e, r, t[r]);
4119
- if (It)
4120
- for (var r of It(t))
4121
- Ui.call(t, r) && Ct(e, r, t[r]);
4076
+ }, Pi = Bi;
4077
+ function te() {
4078
+ return Pi;
4079
+ }
4080
+ const Ue = He(!1);
4081
+ var Ni = Object.defineProperty, Oi = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4082
+ for (var r in t)
4083
+ Ii.call(t, r) && Nt(e, r, t[r]);
4084
+ if (Pt)
4085
+ for (var r of Pt(t))
4086
+ Ci.call(t, r) && Nt(e, r, t[r]);
4122
4087
  return e;
4123
- }, $i = (e, t) => Mi(e, Ri(t));
4124
- let st;
4125
- const we = Ae(null);
4126
- function Mt(e) {
4088
+ }, Ri = (e, t) => Oi(e, Li(t));
4089
+ let et;
4090
+ const Se = He(null);
4091
+ function Ot(e) {
4127
4092
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4128
4093
  }
4129
- function Oe(e, t = ee().fallbackLocale) {
4130
- const r = Mt(e);
4131
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4094
+ function Be(e, t = te().fallbackLocale) {
4095
+ const r = Ot(e);
4096
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4132
4097
  }
4133
4098
  function V() {
4134
- return st ?? void 0;
4099
+ return et ?? void 0;
4135
4100
  }
4136
- we.subscribe((e) => {
4137
- st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4101
+ Se.subscribe((e) => {
4102
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4138
4103
  });
4139
- const Fi = (e) => {
4140
- if (e && Ai(e) && it(e)) {
4141
- const { loadingDelay: t } = ee();
4104
+ const Gi = (e) => {
4105
+ if (e && Si(e) && Ke(e)) {
4106
+ const { loadingDelay: t } = te();
4142
4107
  let r;
4143
4108
  return typeof window < "u" && V() != null && t ? r = window.setTimeout(
4144
- () => Fe.set(!0),
4109
+ () => Ue.set(!0),
4145
4110
  t
4146
- ) : Fe.set(!0), Er(e).then(() => {
4147
- we.set(e);
4111
+ ) : Ue.set(!0), gr(e).then(() => {
4112
+ Se.set(e);
4148
4113
  }).finally(() => {
4149
- clearTimeout(r), Fe.set(!1);
4114
+ clearTimeout(r), Ue.set(!1);
4150
4115
  });
4151
4116
  }
4152
- return we.set(e);
4153
- }, de = $i(Di({}, we), {
4154
- set: Fi
4155
- }), Ne = (e) => {
4117
+ return Se.set(e);
4118
+ }, de = Ri(Mi({}, Se), {
4119
+ set: Gi
4120
+ }), Pe = (e) => {
4156
4121
  const t = /* @__PURE__ */ Object.create(null);
4157
4122
  return (n) => {
4158
4123
  const i = JSON.stringify(n);
4159
4124
  return i in t ? t[i] : t[i] = e(n);
4160
4125
  };
4161
4126
  };
4162
- 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) => {
4127
+ var Ui = Object.defineProperty, we = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4163
4128
  for (var r in t || (t = {}))
4164
- xr.call(t, r) && Rt(e, r, t[r]);
4165
- if (Te)
4166
- for (var r of Te(t))
4167
- Sr.call(t, r) && Rt(e, r, t[r]);
4129
+ yr.call(t, r) && Lt(e, r, t[r]);
4130
+ if (we)
4131
+ for (var r of we(t))
4132
+ vr.call(t, r) && Lt(e, r, t[r]);
4168
4133
  return e;
4169
- }, se = (e, t) => {
4134
+ }, oe = (e, t) => {
4170
4135
  var r = {};
4171
4136
  for (var n in e)
4172
- xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4173
- if (e != null && Te)
4174
- for (var n of Te(e))
4175
- t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4137
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4138
+ if (e != null && we)
4139
+ for (var n of we(e))
4140
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4176
4141
  return r;
4177
4142
  };
4178
- const le = (e, t) => {
4179
- const { formats: r } = ee();
4143
+ const ce = (e, t) => {
4144
+ const { formats: r } = te();
4180
4145
  if (e in r && t in r[e])
4181
4146
  return r[e][t];
4182
4147
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4183
- }, ki = Ne(
4148
+ }, Di = Pe(
4184
4149
  (e) => {
4185
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4150
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4186
4151
  if (r == null)
4187
4152
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4188
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4153
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4189
4154
  }
4190
- ), Vi = Ne(
4155
+ ), Fi = Pe(
4191
4156
  (e) => {
4192
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4157
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4193
4158
  if (r == null)
4194
4159
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4195
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4160
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4196
4161
  }
4197
- ), Xi = Ne(
4162
+ ), $i = Pe(
4198
4163
  (e) => {
4199
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4164
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4200
4165
  if (r == null)
4201
4166
  throw new Error(
4202
4167
  '[svelte-i18n] A "locale" must be set to format time values'
4203
4168
  );
4204
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4169
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4205
4170
  }
4206
- ), Wi = (e = {}) => {
4171
+ ), ji = (e = {}) => {
4207
4172
  var t = e, {
4208
4173
  locale: r = V()
4209
- } = t, n = se(t, [
4174
+ } = t, n = oe(t, [
4210
4175
  "locale"
4211
4176
  ]);
4212
- return ki(ht({ locale: r }, n));
4213
- }, zi = (e = {}) => {
4177
+ return Di(st({ locale: r }, n));
4178
+ }, ki = (e = {}) => {
4214
4179
  var t = e, {
4215
4180
  locale: r = V()
4216
- } = t, n = se(t, [
4181
+ } = t, n = oe(t, [
4217
4182
  "locale"
4218
4183
  ]);
4219
- return Vi(ht({ locale: r }, n));
4220
- }, Zi = (e = {}) => {
4184
+ return Fi(st({ locale: r }, n));
4185
+ }, Vi = (e = {}) => {
4221
4186
  var t = e, {
4222
4187
  locale: r = V()
4223
- } = t, n = se(t, [
4188
+ } = t, n = oe(t, [
4224
4189
  "locale"
4225
4190
  ]);
4226
- return Xi(ht({ locale: r }, n));
4227
- }, qi = Ne(
4191
+ return $i(st({ locale: r }, n));
4192
+ }, Xi = Pe(
4228
4193
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4229
- (e, t = V()) => new xi(e, t, ee().formats, {
4230
- ignoreTag: ee().ignoreTag
4194
+ (e, t = V()) => new yi(e, t, te().formats, {
4195
+ ignoreTag: te().ignoreTag
4231
4196
  })
4232
- ), Qi = (e, t = {}) => {
4197
+ ), Wi = (e, t = {}) => {
4233
4198
  var r, n, i, s;
4234
4199
  let o = t;
4235
4200
  typeof e == "object" && (o = e, e = o.id);
@@ -4242,9 +4207,9 @@ const le = (e, t) => {
4242
4207
  throw new Error(
4243
4208
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4244
4209
  );
4245
- let l = gr(e, h);
4210
+ let l = mr(e, h);
4246
4211
  if (!l)
4247
- 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;
4212
+ 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;
4248
4213
  else if (typeof l != "string")
4249
4214
  return console.warn(
4250
4215
  `[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.`
@@ -4253,7 +4218,7 @@ const le = (e, t) => {
4253
4218
  return l;
4254
4219
  let m = l;
4255
4220
  try {
4256
- m = qi(l, h).format(a);
4221
+ m = Xi(l, h).format(a);
4257
4222
  } catch (c) {
4258
4223
  c instanceof Error && console.warn(
4259
4224
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4261,17 +4226,17 @@ const le = (e, t) => {
4261
4226
  );
4262
4227
  }
4263
4228
  return m;
4264
- }, Yi = (e, t) => Zi(t).format(e), Ji = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), es = (e, t = V()) => gr(e, t), ts = ie([de, me], () => Qi);
4265
- ie([de], () => Yi);
4266
- ie([de], () => Ji);
4267
- ie([de], () => Ki);
4268
- ie([de, me], () => es);
4269
- window.emWidgets = { topic: mn };
4270
- const rs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4271
- function Gt(e, t) {
4272
- vr(e, t);
4273
- }
4274
- const Ut = {
4229
+ }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), qi = (e, t) => ji(t).format(e), Qi = (e, t = V()) => mr(e, t), Yi = se([de, me], () => Wi);
4230
+ se([de], () => zi);
4231
+ se([de], () => Zi);
4232
+ se([de], () => qi);
4233
+ se([de, me], () => Qi);
4234
+ window.emWidgets = { topic: ln };
4235
+ const Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4236
+ function It(e, t) {
4237
+ br(e, t);
4238
+ }
4239
+ const Ct = {
4275
4240
  en: {
4276
4241
  lobbyName: "Lobby",
4277
4242
  myGamesName: "My games"
@@ -4345,13 +4310,13 @@ const Ut = {
4345
4310
  myGamesName: "My games"
4346
4311
  }
4347
4312
  };
4348
- function ns(e, t) {
4313
+ function Ki(e, t) {
4349
4314
  if (e) {
4350
4315
  const r = document.createElement("style");
4351
4316
  r.innerHTML = t, e.appendChild(r);
4352
4317
  }
4353
4318
  }
4354
- function is(e, t) {
4319
+ function es(e, t) {
4355
4320
  const r = new URL(t);
4356
4321
  fetch(r.href).then((n) => n.text()).then((n) => {
4357
4322
  const i = document.createElement("style");
@@ -4360,7 +4325,7 @@ function is(e, t) {
4360
4325
  console.error("There was an error while trying to load client styling from URL", n);
4361
4326
  });
4362
4327
  }
4363
- function ss(e, t, r) {
4328
+ function ts(e, t, r) {
4364
4329
  if (window.emMessageBus) {
4365
4330
  const n = document.createElement("style");
4366
4331
  window.emMessageBus.subscribe(t, (i) => {
@@ -4380,173 +4345,173 @@ if (typeof window < "u") {
4380
4345
  }
4381
4346
  };
4382
4347
  };
4383
- customElements.define = e(customElements.define), import("./CasinoSliderNd-Byj5IZ7t.js").then(({ default: t }) => {
4348
+ customElements.define = e(customElements.define), import("./CasinoSliderNd-CHo6EY-Z.js").then(({ default: t }) => {
4384
4349
  !customElements.get("casino-slider-nd") && customElements.define("casino-slider-nd", t.element);
4385
4350
  });
4386
4351
  }
4387
- function os(e) {
4388
- Mr(e, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
4352
+ function rs(e) {
4353
+ Or(e, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
4389
4354
  }
4390
- function as(e) {
4355
+ function ns(e) {
4391
4356
  let t, r;
4392
4357
  return {
4393
4358
  c() {
4394
- t = k("div"), r = k("casino-slider-nd"), v(
4359
+ t = k("div"), r = k("casino-slider-nd"), _(
4395
4360
  r,
4396
4361
  "lang",
4397
4362
  /*lang*/
4398
4363
  e[3]
4399
- ), v(
4364
+ ), _(
4400
4365
  r,
4401
4366
  "datasource",
4402
4367
  /*datasource*/
4403
4368
  e[2]
4404
- ), v(
4369
+ ), _(
4405
4370
  r,
4406
4371
  "endpoint",
4407
4372
  /*endpoint*/
4408
4373
  e[1]
4409
- ), v(r, "identity", ot), v(
4374
+ ), _(r, "identity", tt), _(
4410
4375
  r,
4411
4376
  "favoritesnumber",
4412
4377
  /*numberOfFavoredGames*/
4413
4378
  e[16]
4414
- ), v(
4379
+ ), _(
4415
4380
  r,
4416
4381
  "showsubgroups",
4417
4382
  /*showsubgroups*/
4418
4383
  e[9]
4419
- ), v(
4384
+ ), _(
4420
4385
  r,
4421
4386
  "clientstyling",
4422
4387
  /*clientstyling*/
4423
4388
  e[5]
4424
- ), v(
4389
+ ), _(
4425
4390
  r,
4426
4391
  "clientstylingurl",
4427
4392
  /*clientstylingurl*/
4428
4393
  e[6]
4429
- ), v(
4394
+ ), _(
4430
4395
  r,
4431
4396
  "activeindex",
4432
4397
  /*activecategory*/
4433
4398
  e[0]
4434
- ), v(
4399
+ ), _(
4435
4400
  r,
4436
4401
  "actionevent",
4437
4402
  /*actionevent*/
4438
4403
  e[7]
4439
- ), v(
4404
+ ), _(
4440
4405
  r,
4441
4406
  "location",
4442
4407
  /*location*/
4443
4408
  e[8]
4444
- ), v(
4409
+ ), _(
4445
4410
  r,
4446
4411
  "categoriesicon",
4447
4412
  /*categoriesicon*/
4448
4413
  e[10]
4449
- ), v(
4414
+ ), _(
4450
4415
  r,
4451
4416
  "lobbyiconimage",
4452
4417
  /*lobbyiconimage*/
4453
4418
  e[11]
4454
- ), v(
4419
+ ), _(
4455
4420
  r,
4456
4421
  "mygamesiconimage",
4457
4422
  /*mygamesiconimage*/
4458
4423
  e[12]
4459
- ), v(
4424
+ ), _(
4460
4425
  r,
4461
4426
  "mbsource",
4462
4427
  /*mbsource*/
4463
4428
  e[4]
4464
- ), v(r, "class", "svelte-ciaihq"), ne(t, "class", "CasinoCategoriesContainer svelte-ciaihq");
4429
+ ), _(r, "class", "svelte-ciaihq"), ie(t, "class", "CasinoCategoriesContainer svelte-ciaihq");
4465
4430
  },
4466
4431
  m(n, i) {
4467
- ce(n, t, i), jt(t, r);
4432
+ fe(n, t, i), Ut(t, r);
4468
4433
  },
4469
4434
  p(n, i) {
4470
4435
  i[0] & /*lang*/
4471
- 8 && v(
4436
+ 8 && _(
4472
4437
  r,
4473
4438
  "lang",
4474
4439
  /*lang*/
4475
4440
  n[3]
4476
4441
  ), i[0] & /*datasource*/
4477
- 4 && v(
4442
+ 4 && _(
4478
4443
  r,
4479
4444
  "datasource",
4480
4445
  /*datasource*/
4481
4446
  n[2]
4482
4447
  ), i[0] & /*endpoint*/
4483
- 2 && v(
4448
+ 2 && _(
4484
4449
  r,
4485
4450
  "endpoint",
4486
4451
  /*endpoint*/
4487
4452
  n[1]
4488
4453
  ), i[0] & /*numberOfFavoredGames*/
4489
- 65536 && v(
4454
+ 65536 && _(
4490
4455
  r,
4491
4456
  "favoritesnumber",
4492
4457
  /*numberOfFavoredGames*/
4493
4458
  n[16]
4494
4459
  ), i[0] & /*showsubgroups*/
4495
- 512 && v(
4460
+ 512 && _(
4496
4461
  r,
4497
4462
  "showsubgroups",
4498
4463
  /*showsubgroups*/
4499
4464
  n[9]
4500
4465
  ), i[0] & /*clientstyling*/
4501
- 32 && v(
4466
+ 32 && _(
4502
4467
  r,
4503
4468
  "clientstyling",
4504
4469
  /*clientstyling*/
4505
4470
  n[5]
4506
4471
  ), i[0] & /*clientstylingurl*/
4507
- 64 && v(
4472
+ 64 && _(
4508
4473
  r,
4509
4474
  "clientstylingurl",
4510
4475
  /*clientstylingurl*/
4511
4476
  n[6]
4512
4477
  ), i[0] & /*activecategory*/
4513
- 1 && v(
4478
+ 1 && _(
4514
4479
  r,
4515
4480
  "activeindex",
4516
4481
  /*activecategory*/
4517
4482
  n[0]
4518
4483
  ), i[0] & /*actionevent*/
4519
- 128 && v(
4484
+ 128 && _(
4520
4485
  r,
4521
4486
  "actionevent",
4522
4487
  /*actionevent*/
4523
4488
  n[7]
4524
4489
  ), i[0] & /*location*/
4525
- 256 && v(
4490
+ 256 && _(
4526
4491
  r,
4527
4492
  "location",
4528
4493
  /*location*/
4529
4494
  n[8]
4530
4495
  ), i[0] & /*categoriesicon*/
4531
- 1024 && v(
4496
+ 1024 && _(
4532
4497
  r,
4533
4498
  "categoriesicon",
4534
4499
  /*categoriesicon*/
4535
4500
  n[10]
4536
4501
  ), i[0] & /*lobbyiconimage*/
4537
- 2048 && v(
4502
+ 2048 && _(
4538
4503
  r,
4539
4504
  "lobbyiconimage",
4540
4505
  /*lobbyiconimage*/
4541
4506
  n[11]
4542
4507
  ), i[0] & /*mygamesiconimage*/
4543
- 4096 && v(
4508
+ 4096 && _(
4544
4509
  r,
4545
4510
  "mygamesiconimage",
4546
4511
  /*mygamesiconimage*/
4547
4512
  n[12]
4548
4513
  ), i[0] & /*mbsource*/
4549
- 16 && v(
4514
+ 16 && _(
4550
4515
  r,
4551
4516
  "mbsource",
4552
4517
  /*mbsource*/
@@ -4554,58 +4519,58 @@ function as(e) {
4554
4519
  );
4555
4520
  },
4556
4521
  d(n) {
4557
- n && re(t);
4522
+ n && ne(t);
4558
4523
  }
4559
4524
  };
4560
4525
  }
4561
- function us(e) {
4526
+ function is(e) {
4562
4527
  let t;
4563
4528
  return {
4564
4529
  c() {
4565
- t = k("p"), t.textContent = "500 Error - Internal Server Error.", ne(t, "class", "SearchLoading svelte-ciaihq");
4530
+ t = k("p"), t.textContent = "500 Error - Internal Server Error.", ie(t, "class", "SearchLoading svelte-ciaihq");
4566
4531
  },
4567
4532
  m(r, n) {
4568
- ce(r, t, n);
4533
+ fe(r, t, n);
4569
4534
  },
4570
4535
  p: I,
4571
4536
  d(r) {
4572
- r && re(t);
4537
+ r && ne(t);
4573
4538
  }
4574
4539
  };
4575
4540
  }
4576
- function hs(e) {
4541
+ function ss(e) {
4577
4542
  let t;
4578
4543
  return {
4579
4544
  c() {
4580
- t = k("div"), ne(t, "class", "CasinoCategoriesLoading svelte-ciaihq");
4545
+ t = k("div"), ie(t, "class", "CasinoCategoriesLoading svelte-ciaihq");
4581
4546
  },
4582
4547
  m(r, n) {
4583
- ce(r, t, n);
4548
+ fe(r, t, n);
4584
4549
  },
4585
4550
  p: I,
4586
4551
  d(r) {
4587
- r && re(t);
4552
+ r && ne(t);
4588
4553
  }
4589
4554
  };
4590
4555
  }
4591
- function ls(e) {
4556
+ function os(e) {
4592
4557
  let t;
4593
4558
  function r(s, o) {
4594
4559
  return (
4595
4560
  /*isLoading*/
4596
- s[13] || cs || fs ? hs : (
4561
+ s[13] || as || us ? ss : (
4597
4562
  /*hasErrors*/
4598
- s[15] ? us : as
4563
+ s[15] ? is : ns
4599
4564
  )
4600
4565
  );
4601
4566
  }
4602
4567
  let n = r(e), i = n(e);
4603
4568
  return {
4604
4569
  c() {
4605
- t = k("div"), i.c(), ne(t, "class", "svelte-ciaihq");
4570
+ t = k("div"), i.c(), ie(t, "class", "svelte-ciaihq");
4606
4571
  },
4607
4572
  m(s, o) {
4608
- ce(s, t, o), i.m(t, null), e[26](t);
4573
+ fe(s, t, o), i.m(t, null), e[26](t);
4609
4574
  },
4610
4575
  p(s, o) {
4611
4576
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4613,54 +4578,54 @@ function ls(e) {
4613
4578
  i: I,
4614
4579
  o: I,
4615
4580
  d(s) {
4616
- s && re(t), i.d(), e[26](null);
4581
+ s && ne(t), i.d(), e[26](null);
4617
4582
  }
4618
4583
  };
4619
4584
  }
4620
- let ot = "CasinoSliderData", cs = !1, fs = !1;
4621
- function ms(e, t, r) {
4585
+ let tt = "CasinoSliderData", as = !1, us = !1;
4586
+ function hs(e, t, r) {
4622
4587
  let n;
4623
- Cr(e, ts, (f) => r(32, n = f));
4624
- 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, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck: C = "" } = t, { location: P = "secondaryMenu" } = t, { showsubgroups: T = "false" } = t, { filteredcategories: O = "" } = t, { translationurl: H = "" } = t, { categoriesicon: M = "" } = t, { lobbyiconimage: _ = "" } = t, { mygamesiconimage: N = "" } = t, L, $, F = !0, X, W = [], j = !1, wr = window.navigator.userAgent, G, lt, ct = !1, Le = !1;
4625
- const Tr = () => {
4588
+ Nr(e, Yi, (f) => r(32, n = f));
4589
+ 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, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck: C = "" } = t, { location: P = "secondaryMenu" } = t, { showsubgroups: T = "false" } = t, { filteredcategories: N = "" } = t, { translationurl: H = "" } = t, { categoriesicon: M = "" } = t, { lobbyiconimage: E = "" } = t, { mygamesiconimage: O = "" } = t, L, F, $ = !0, X, W = [], j = !1, _r = window.navigator.userAgent, R, ot, at = !1, Ne = !1;
4590
+ const Er = () => {
4626
4591
  fetch(H).then((B) => B.json()).then((B) => {
4627
4592
  Object.keys(B).forEach((be) => {
4628
- Gt(be, B[be]);
4593
+ It(be, B[be]);
4629
4594
  });
4630
4595
  }).catch((B) => {
4631
4596
  console.log(B);
4632
4597
  });
4633
4598
  };
4634
- Object.keys(Ut).forEach((f) => {
4635
- Gt(f, Ut[f]);
4599
+ Object.keys(Ct).forEach((f) => {
4600
+ It(f, Ct[f]);
4636
4601
  });
4637
- const Hr = () => {
4638
- ct == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4602
+ const xr = () => {
4603
+ at == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4639
4604
  // @ts-ignore
4640
4605
  id: "MYGAMES",
4641
4606
  name: L,
4642
4607
  href: "",
4643
4608
  games: []
4644
- }), jr(), ct = !0, r(25, Le = !0), ft();
4645
- }, 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 = () => {
4646
- if (L = n("myGamesName"), $ = n("lobbyName"), !Ar()) {
4609
+ }), Ur(), at = !0, r(25, Ne = !0), ut();
4610
+ }, Sr = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, $ = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, $ = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, $ = !1), console.error(X)), j), wr = () => {
4611
+ if (L = n("myGamesName"), F = n("lobbyName"), !Sr()) {
4647
4612
  let f = new URL(`${i}/v2/casino/groups/${s}`);
4648
- 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(
4613
+ f.searchParams.append("language", o), f.searchParams.append("platform", Ji(_r)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
4649
4614
  (B) => {
4650
- let be = O.split(","), Nr = B.items.filter((dt) => {
4651
- let Ie = !1;
4652
- if (dt.games.total > 0 && (Ie = !0, O))
4653
- for (let Lr of be)
4654
- dt.flags == Lr && (Ie = !1);
4655
- return Ie;
4615
+ let be = N.split(","), Ar = B.items.filter((lt) => {
4616
+ let Oe = !1;
4617
+ if (lt.games.total > 0 && (Oe = !0, N))
4618
+ for (let Br of be)
4619
+ lt.flags == Br && (Oe = !1);
4620
+ return Oe;
4656
4621
  });
4657
- W = [], W = W.concat(Nr), W.unshift({
4622
+ W = [], W = W.concat(Ar), W.unshift({
4658
4623
  // @ts-ignore
4659
4624
  id: "LOBBY",
4660
- name: $,
4625
+ name: F,
4661
4626
  href: "",
4662
4627
  games: []
4663
- }), r(13, F = !1);
4628
+ }), r(13, $ = !1);
4664
4629
  },
4665
4630
  (B) => {
4666
4631
  r(15, j = !0), console.error("There was an error while fetching the categories", B);
@@ -4669,41 +4634,41 @@ function ms(e, t, r) {
4669
4634
  r(15, j = !0), console.error("There was an error while fetching the categories", B);
4670
4635
  });
4671
4636
  }
4672
- }, Pr = () => {
4637
+ }, Tr = () => {
4673
4638
  let f = b.split("$");
4674
4639
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4675
- }, ft = () => {
4640
+ }, ut = () => {
4676
4641
  window.postMessage(
4677
4642
  {
4678
4643
  type: "SliderData",
4679
- identity: ot,
4644
+ identity: tt,
4680
4645
  data: W
4681
4646
  },
4682
4647
  window.location.href
4683
4648
  );
4684
- }, mt = (f) => {
4685
- f.data && f.data.type == "SliderMounted" && f.data.identity == ot && ft();
4649
+ }, ht = (f) => {
4650
+ f.data && f.data.type == "SliderMounted" && f.data.identity == tt && ut();
4686
4651
  };
4687
- Fr(() => (window.addEventListener("message", mt), () => {
4688
- window.removeEventListener("message", mt);
4652
+ Gr(() => (window.addEventListener("message", ht), () => {
4653
+ window.removeEventListener("message", ht);
4689
4654
  }));
4690
- function Or(f) {
4691
- je[f ? "unshift" : "push"](() => {
4692
- G = f, r(14, G);
4655
+ function Hr(f) {
4656
+ De[f ? "unshift" : "push"](() => {
4657
+ R = f, r(14, R);
4693
4658
  });
4694
4659
  }
4695
4660
  return e.$$set = (f) => {
4696
- "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), "mbsource" in f && r(4, c = f.mbsource), "clientstyling" in f && r(5, d = f.clientstyling), "clientstylingurl" in f && r(6, p = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(7, w = f.actionevent), "sessioncheck" in f && r(22, C = f.sessioncheck), "location" in f && r(8, P = f.location), "showsubgroups" in f && r(9, T = f.showsubgroups), "filteredcategories" in f && r(23, O = f.filteredcategories), "translationurl" in f && r(24, H = f.translationurl), "categoriesicon" in f && r(10, M = f.categoriesicon), "lobbyiconimage" in f && r(11, _ = f.lobbyiconimage), "mygamesiconimage" in f && r(12, N = f.mygamesiconimage);
4661
+ "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), "mbsource" in f && r(4, c = f.mbsource), "clientstyling" in f && r(5, d = f.clientstyling), "clientstylingurl" in f && r(6, p = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(7, w = f.actionevent), "sessioncheck" in f && r(22, C = f.sessioncheck), "location" in f && r(8, P = f.location), "showsubgroups" in f && r(9, T = f.showsubgroups), "filteredcategories" in f && r(23, N = f.filteredcategories), "translationurl" in f && r(24, H = f.translationurl), "categoriesicon" in f && r(10, M = f.categoriesicon), "lobbyiconimage" in f && r(11, E = f.lobbyiconimage), "mygamesiconimage" in f && r(12, O = f.mygamesiconimage);
4697
4662
  }, e.$$.update = () => {
4698
4663
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4699
- 14 && i && s && o && Br(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4700
- 3940354 && i && h && (u || l || m) && !F && Hr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4701
- 33824769 && !F && b && (!h || Le) && Pr(), e.$$.dirty[0] & /*translationurl*/
4702
- 16777216 && H && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4703
- 16416 && d && G && ns(G, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4704
- 16448 && p && G && is(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4705
- 16400 && c && G && ss(G, `${c}.Style`);
4706
- }, r(16, lt = 0), [
4664
+ 14 && i && s && o && wr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4665
+ 3940354 && i && h && (u || l || m) && !$ && xr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4666
+ 33824769 && !$ && b && (!h || Ne) && Tr(), e.$$.dirty[0] & /*translationurl*/
4667
+ 16777216 && H && Er(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4668
+ 16416 && d && R && Ki(R, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4669
+ 16448 && p && R && es(R, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4670
+ 16400 && c && R && ts(R, `${c}.Style`);
4671
+ }, r(16, ot = 0), [
4707
4672
  b,
4708
4673
  i,
4709
4674
  s,
@@ -4715,32 +4680,32 @@ function ms(e, t, r) {
4715
4680
  P,
4716
4681
  T,
4717
4682
  M,
4718
- _,
4719
- N,
4720
- F,
4721
- G,
4683
+ E,
4684
+ O,
4685
+ $,
4686
+ R,
4722
4687
  j,
4723
- lt,
4688
+ ot,
4724
4689
  a,
4725
4690
  h,
4726
4691
  u,
4727
4692
  l,
4728
4693
  m,
4729
4694
  C,
4730
- O,
4695
+ N,
4731
4696
  H,
4732
- Le,
4733
- Or
4697
+ Ne,
4698
+ Hr
4734
4699
  ];
4735
4700
  }
4736
- class ds extends Yr {
4701
+ class ls extends zr {
4737
4702
  constructor(t) {
4738
- super(), qr(
4703
+ super(), Xr(
4739
4704
  this,
4740
4705
  t,
4741
- ms,
4742
- ls,
4743
- $t,
4706
+ hs,
4707
+ os,
4708
+ Rt,
4744
4709
  {
4745
4710
  endpoint: 1,
4746
4711
  datasource: 2,
@@ -4764,7 +4729,7 @@ class ds extends Yr {
4764
4729
  lobbyiconimage: 11,
4765
4730
  mygamesiconimage: 12
4766
4731
  },
4767
- os,
4732
+ rs,
4768
4733
  [-1, -1]
4769
4734
  );
4770
4735
  }
@@ -4772,163 +4737,163 @@ class ds extends Yr {
4772
4737
  return this.$$.ctx[1];
4773
4738
  }
4774
4739
  set endpoint(t) {
4775
- this.$$set({ endpoint: t }), x();
4740
+ this.$$set({ endpoint: t }), S();
4776
4741
  }
4777
4742
  get datasource() {
4778
4743
  return this.$$.ctx[2];
4779
4744
  }
4780
4745
  set datasource(t) {
4781
- this.$$set({ datasource: t }), x();
4746
+ this.$$set({ datasource: t }), S();
4782
4747
  }
4783
4748
  get lang() {
4784
4749
  return this.$$.ctx[3];
4785
4750
  }
4786
4751
  set lang(t) {
4787
- this.$$set({ lang: t }), x();
4752
+ this.$$set({ lang: t }), S();
4788
4753
  }
4789
4754
  get userid() {
4790
4755
  return this.$$.ctx[17];
4791
4756
  }
4792
4757
  set userid(t) {
4793
- this.$$set({ userid: t }), x();
4758
+ this.$$set({ userid: t }), S();
4794
4759
  }
4795
4760
  get session() {
4796
4761
  return this.$$.ctx[18];
4797
4762
  }
4798
4763
  set session(t) {
4799
- this.$$set({ session: t }), x();
4764
+ this.$$set({ session: t }), S();
4800
4765
  }
4801
4766
  get mostplayed() {
4802
4767
  return this.$$.ctx[19];
4803
4768
  }
4804
4769
  set mostplayed(t) {
4805
- this.$$set({ mostplayed: t }), x();
4770
+ this.$$set({ mostplayed: t }), S();
4806
4771
  }
4807
4772
  get lastplayed() {
4808
4773
  return this.$$.ctx[20];
4809
4774
  }
4810
4775
  set lastplayed(t) {
4811
- this.$$set({ lastplayed: t }), x();
4776
+ this.$$set({ lastplayed: t }), S();
4812
4777
  }
4813
4778
  get favorites() {
4814
4779
  return this.$$.ctx[21];
4815
4780
  }
4816
4781
  set favorites(t) {
4817
- this.$$set({ favorites: t }), x();
4782
+ this.$$set({ favorites: t }), S();
4818
4783
  }
4819
4784
  get mbsource() {
4820
4785
  return this.$$.ctx[4];
4821
4786
  }
4822
4787
  set mbsource(t) {
4823
- this.$$set({ mbsource: t }), x();
4788
+ this.$$set({ mbsource: t }), S();
4824
4789
  }
4825
4790
  get clientstyling() {
4826
4791
  return this.$$.ctx[5];
4827
4792
  }
4828
4793
  set clientstyling(t) {
4829
- this.$$set({ clientstyling: t }), x();
4794
+ this.$$set({ clientstyling: t }), S();
4830
4795
  }
4831
4796
  get clientstylingurl() {
4832
4797
  return this.$$.ctx[6];
4833
4798
  }
4834
4799
  set clientstylingurl(t) {
4835
- this.$$set({ clientstylingurl: t }), x();
4800
+ this.$$set({ clientstylingurl: t }), S();
4836
4801
  }
4837
4802
  get activecategory() {
4838
4803
  return this.$$.ctx[0];
4839
4804
  }
4840
4805
  set activecategory(t) {
4841
- this.$$set({ activecategory: t }), x();
4806
+ this.$$set({ activecategory: t }), S();
4842
4807
  }
4843
4808
  get actionevent() {
4844
4809
  return this.$$.ctx[7];
4845
4810
  }
4846
4811
  set actionevent(t) {
4847
- this.$$set({ actionevent: t }), x();
4812
+ this.$$set({ actionevent: t }), S();
4848
4813
  }
4849
4814
  get sessioncheck() {
4850
4815
  return this.$$.ctx[22];
4851
4816
  }
4852
4817
  set sessioncheck(t) {
4853
- this.$$set({ sessioncheck: t }), x();
4818
+ this.$$set({ sessioncheck: t }), S();
4854
4819
  }
4855
4820
  get location() {
4856
4821
  return this.$$.ctx[8];
4857
4822
  }
4858
4823
  set location(t) {
4859
- this.$$set({ location: t }), x();
4824
+ this.$$set({ location: t }), S();
4860
4825
  }
4861
4826
  get showsubgroups() {
4862
4827
  return this.$$.ctx[9];
4863
4828
  }
4864
4829
  set showsubgroups(t) {
4865
- this.$$set({ showsubgroups: t }), x();
4830
+ this.$$set({ showsubgroups: t }), S();
4866
4831
  }
4867
4832
  get filteredcategories() {
4868
4833
  return this.$$.ctx[23];
4869
4834
  }
4870
4835
  set filteredcategories(t) {
4871
- this.$$set({ filteredcategories: t }), x();
4836
+ this.$$set({ filteredcategories: t }), S();
4872
4837
  }
4873
4838
  get translationurl() {
4874
4839
  return this.$$.ctx[24];
4875
4840
  }
4876
4841
  set translationurl(t) {
4877
- this.$$set({ translationurl: t }), x();
4842
+ this.$$set({ translationurl: t }), S();
4878
4843
  }
4879
4844
  get categoriesicon() {
4880
4845
  return this.$$.ctx[10];
4881
4846
  }
4882
4847
  set categoriesicon(t) {
4883
- this.$$set({ categoriesicon: t }), x();
4848
+ this.$$set({ categoriesicon: t }), S();
4884
4849
  }
4885
4850
  get lobbyiconimage() {
4886
4851
  return this.$$.ctx[11];
4887
4852
  }
4888
4853
  set lobbyiconimage(t) {
4889
- this.$$set({ lobbyiconimage: t }), x();
4854
+ this.$$set({ lobbyiconimage: t }), S();
4890
4855
  }
4891
4856
  get mygamesiconimage() {
4892
4857
  return this.$$.ctx[12];
4893
4858
  }
4894
4859
  set mygamesiconimage(t) {
4895
- this.$$set({ mygamesiconimage: t }), x();
4860
+ this.$$set({ mygamesiconimage: t }), S();
4896
4861
  }
4897
4862
  }
4898
- Qr(ds, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4863
+ Wr(ls, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4899
4864
  export {
4900
4865
  de as $,
4901
- gs as A,
4902
- bs as B,
4903
- ns as C,
4904
- is as D,
4905
- ss as E,
4906
- ds as F,
4907
- Yr as S,
4866
+ fs as A,
4867
+ Dt as B,
4868
+ gs as C,
4869
+ ms as D,
4870
+ cs as E,
4871
+ ls as F,
4872
+ zr as S,
4908
4873
  me as a,
4909
- vr as b,
4910
- Qr as c,
4911
- Mr as d,
4912
- re as e,
4913
- x as f,
4914
- ne as g,
4915
- ce as h,
4916
- qr as i,
4917
- jt as j,
4918
- k,
4919
- _s as l,
4920
- ys as m,
4874
+ br as b,
4875
+ Wr as c,
4876
+ Or as d,
4877
+ k as e,
4878
+ S as f,
4879
+ ds as g,
4880
+ ie as h,
4881
+ Xr as i,
4882
+ fe as j,
4883
+ Ut as k,
4884
+ ps as l,
4885
+ ne as m,
4921
4886
  I as n,
4922
- rs as o,
4923
- Fr as p,
4924
- xs as q,
4925
- te as r,
4926
- $t as s,
4927
- vs as t,
4928
- ws as u,
4929
- je as v,
4930
- Es as w,
4931
- kt as x,
4932
- ps as y,
4933
- Ss as z
4887
+ Ji as o,
4888
+ Gr as p,
4889
+ ys as q,
4890
+ re as r,
4891
+ Rt as s,
4892
+ bs as t,
4893
+ _s as u,
4894
+ De as v,
4895
+ Ki as w,
4896
+ es as x,
4897
+ ts as y,
4898
+ vs as z
4934
4899
  };