@everymatrix/casino-categories-slider 1.61.1 → 1.62.1

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