@everymatrix/casino-categories-slider-nd 1.86.4 → 1.86.6

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