@everymatrix/casino-wagering-bonus-slider-controller 1.74.10 → 1.75.0

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,24 +1,24 @@
1
1
  function se() {
2
2
  }
3
- function Rr(e) {
3
+ function Fr(e) {
4
4
  return e();
5
5
  }
6
- function lr() {
6
+ function fr() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Ae(e) {
10
- e.forEach(Rr);
10
+ e.forEach(Fr);
11
11
  }
12
- function nr(e) {
12
+ function ir(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Dr(e, t) {
15
+ function Ur(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function _n(e) {
18
+ function wn(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Fr(e, ...t) {
21
+ function $r(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function Fr(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function En(e, t, r) {
31
- e.$$.on_destroy.push(Fr(t, r));
30
+ function Sn(e, t, r) {
31
+ e.$$.on_destroy.push($r(t, r));
32
32
  }
33
33
  function G(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function xn(e, t, r) {
37
- const n = wn(e);
36
+ function Tn(e, t, r) {
37
+ const n = Hn(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = W("style");
40
- i.id = t, i.textContent = r, Sn(n, i);
40
+ i.id = t, i.textContent = r, An(n, i);
41
41
  }
42
42
  }
43
- function wn(e) {
43
+ function Hn(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,20 +50,20 @@ function wn(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function Sn(e, t) {
53
+ function An(e, t) {
54
54
  return G(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function be(e, t, r) {
60
+ function ve(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
63
  function ue(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function Tn(e, t) {
66
+ function Bn(e, t) {
67
67
  for (let r = 0; r < e.length; r += 1)
68
68
  e[r] && e[r].d(t);
69
69
  }
@@ -76,7 +76,7 @@ function pt(e) {
76
76
  function wt(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function ve() {
79
+ function be() {
80
80
  return wt(" ");
81
81
  }
82
82
  function He(e, t, r, n) {
@@ -89,14 +89,14 @@ function re(e, t, r) {
89
89
  const n = t.toLowerCase();
90
90
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
91
91
  }
92
- function Hn(e) {
92
+ function In(e) {
93
93
  return Array.from(e.childNodes);
94
94
  }
95
- function ir(e, t) {
95
+ function or(e, t) {
96
96
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
97
97
  t);
98
98
  }
99
- function An(e) {
99
+ function Ln(e) {
100
100
  const t = {};
101
101
  return e.childNodes.forEach(
102
102
  /** @param {Element} node */
@@ -109,22 +109,22 @@ let nt;
109
109
  function tt(e) {
110
110
  nt = e;
111
111
  }
112
- function Bn() {
112
+ function Cn() {
113
113
  if (!nt)
114
114
  throw new Error("Function called outside component initialization");
115
115
  return nt;
116
116
  }
117
- function In(e) {
118
- Bn().$$.on_mount.push(e);
117
+ function On(e) {
118
+ Cn().$$.on_mount.push(e);
119
119
  }
120
120
  const Me = [], rt = [];
121
121
  let Re = [];
122
- const hr = [], Ln = /* @__PURE__ */ Promise.resolve();
123
- let Gt = !1;
124
- function On() {
125
- Gt || (Gt = !0, Ln.then(oe));
122
+ const cr = [], Pn = /* @__PURE__ */ Promise.resolve();
123
+ let jt = !1;
124
+ function Nn() {
125
+ jt || (jt = !0, Pn.then(oe));
126
126
  }
127
- function jt(e) {
127
+ function Wt(e) {
128
128
  Re.push(e);
129
129
  }
130
130
  const Nt = /* @__PURE__ */ new Set();
@@ -137,7 +137,7 @@ function oe() {
137
137
  try {
138
138
  for (; Pe < Me.length; ) {
139
139
  const t = Me[Pe];
140
- Pe++, tt(t), Cn(t.$$);
140
+ Pe++, tt(t), Mn(t.$$);
141
141
  }
142
142
  } catch (t) {
143
143
  throw Me.length = 0, Pe = 0, t;
@@ -150,43 +150,43 @@ function oe() {
150
150
  }
151
151
  Re.length = 0;
152
152
  } while (Me.length);
153
- for (; hr.length; )
154
- hr.pop()();
155
- Gt = !1, Nt.clear(), tt(e);
153
+ for (; cr.length; )
154
+ cr.pop()();
155
+ jt = !1, Nt.clear(), tt(e);
156
156
  }
157
- function Cn(e) {
157
+ function Mn(e) {
158
158
  if (e.fragment !== null) {
159
159
  e.update(), Ae(e.before_update);
160
160
  const t = e.dirty;
161
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(jt);
161
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Wt);
162
162
  }
163
163
  }
164
- function Pn(e) {
164
+ function Rn(e) {
165
165
  const t = [], r = [];
166
166
  Re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Re = t;
167
167
  }
168
- const Nn = /* @__PURE__ */ new Set();
169
- function Mn(e, t) {
170
- e && e.i && (Nn.delete(e), e.i(t));
168
+ const Dn = /* @__PURE__ */ new Set();
169
+ function Fn(e, t) {
170
+ e && e.i && (Dn.delete(e), e.i(t));
171
171
  }
172
- function fr(e) {
172
+ function dr(e) {
173
173
  return e?.length !== void 0 ? e : Array.from(e);
174
174
  }
175
- function Rn(e, t, r) {
175
+ function Un(e, t, r) {
176
176
  const { fragment: n, after_update: i } = e.$$;
177
- n && n.m(t, r), jt(() => {
178
- const o = e.$$.on_mount.map(Rr).filter(nr);
177
+ n && n.m(t, r), Wt(() => {
178
+ const o = e.$$.on_mount.map(Fr).filter(ir);
179
179
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ae(o), e.$$.on_mount = [];
180
- }), i.forEach(jt);
180
+ }), i.forEach(Wt);
181
181
  }
182
- function Dn(e, t) {
182
+ function $n(e, t) {
183
183
  const r = e.$$;
184
- r.fragment !== null && (Pn(r.after_update), Ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
184
+ r.fragment !== null && (Rn(r.after_update), Ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
185
185
  }
186
- function Fn(e, t) {
187
- e.$$.dirty[0] === -1 && (Me.push(e), On(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
186
+ function Gn(e, t) {
187
+ e.$$.dirty[0] === -1 && (Me.push(e), Nn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
188
188
  }
189
- function Un(e, t, r, n, i, o, s = null, a = [-1]) {
189
+ function jn(e, t, r, n, i, o, s = null, a = [-1]) {
190
190
  const h = nt;
191
191
  tt(e);
192
192
  const l = e.$$ = {
@@ -196,7 +196,7 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
196
196
  props: o,
197
197
  update: se,
198
198
  not_equal: i,
199
- bound: lr(),
199
+ bound: fr(),
200
200
  // lifecycle
201
201
  on_mount: [],
202
202
  on_destroy: [],
@@ -205,7 +205,7 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
205
205
  after_update: [],
206
206
  context: new Map(t.context || (h ? h.$$.context : [])),
207
207
  // everything else
208
- callbacks: lr(),
208
+ callbacks: fr(),
209
209
  dirty: a,
210
210
  skip_bound: !1,
211
211
  root: t.target || h.$$.root
@@ -214,19 +214,19 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
214
214
  let f = !1;
215
215
  if (l.ctx = r ? r(e, t.props || {}, (p, g, ...y) => {
216
216
  const H = y.length ? y[0] : g;
217
- return l.ctx && i(l.ctx[p], l.ctx[p] = H) && (!l.skip_bound && l.bound[p] && l.bound[p](H), f && Fn(e, p)), g;
217
+ return l.ctx && i(l.ctx[p], l.ctx[p] = H) && (!l.skip_bound && l.bound[p] && l.bound[p](H), f && Gn(e, p)), g;
218
218
  }) : [], l.update(), f = !0, Ae(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
219
219
  if (t.hydrate) {
220
- const p = Hn(t.target);
220
+ const p = In(t.target);
221
221
  l.fragment && l.fragment.l(p), p.forEach(ue);
222
222
  } else
223
223
  l.fragment && l.fragment.c();
224
- t.intro && Mn(e.$$.fragment), Rn(e, t.target, t.anchor), oe();
224
+ t.intro && Fn(e.$$.fragment), Un(e, t.target, t.anchor), oe();
225
225
  }
226
226
  tt(h);
227
227
  }
228
- let Ur;
229
- typeof HTMLElement == "function" && (Ur = class extends HTMLElement {
228
+ let Gr;
229
+ typeof HTMLElement == "function" && (Gr = class extends HTMLElement {
230
230
  /** The Svelte component constructor */
231
231
  $$ctor;
232
232
  /** Slots */
@@ -275,7 +275,7 @@ typeof HTMLElement == "function" && (Ur = class extends HTMLElement {
275
275
  * @param {HTMLElement} [anchor]
276
276
  */
277
277
  m: function(h, l) {
278
- be(h, o, l);
278
+ ve(h, o, l);
279
279
  },
280
280
  d: function(h) {
281
281
  h && ue(o);
@@ -285,12 +285,12 @@ typeof HTMLElement == "function" && (Ur = class extends HTMLElement {
285
285
  };
286
286
  if (await Promise.resolve(), !this.$$cn || this.$$c)
287
287
  return;
288
- const t = {}, r = An(this);
288
+ const t = {}, r = Ln(this);
289
289
  for (const i of this.$$s)
290
290
  i in r && (t[i] = [e(i)]);
291
291
  for (const i of this.attributes) {
292
292
  const o = this.$$g_p(i.name);
293
- o in this.$$d || (this.$$d[o] = bt(o, i.value, this.$$p_d, "toProp"));
293
+ o in this.$$d || (this.$$d[o] = vt(o, i.value, this.$$p_d, "toProp"));
294
294
  }
295
295
  for (const i in this.$$p_d)
296
296
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -308,7 +308,7 @@ typeof HTMLElement == "function" && (Ur = class extends HTMLElement {
308
308
  this.$$r = !0;
309
309
  for (const i in this.$$p_d)
310
310
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
311
- const o = bt(
311
+ const o = vt(
312
312
  i,
313
313
  this.$$d[i],
314
314
  this.$$p_d,
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (Ur = class extends HTMLElement {
330
330
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
331
331
  // and setting attributes through setAttribute etc, this is helpful
332
332
  attributeChangedCallback(e, t, r) {
333
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = bt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
333
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = vt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
334
334
  }
335
335
  disconnectedCallback() {
336
336
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -343,7 +343,7 @@ typeof HTMLElement == "function" && (Ur = class extends HTMLElement {
343
343
  ) || e;
344
344
  }
345
345
  });
346
- function bt(e, t, r, n) {
346
+ function vt(e, t, r, n) {
347
347
  const i = r[e]?.type;
348
348
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
349
349
  return t;
@@ -372,8 +372,8 @@ function bt(e, t, r, n) {
372
372
  return t;
373
373
  }
374
374
  }
375
- function $n(e, t, r, n, i, o) {
376
- let s = class extends Ur {
375
+ function Wn(e, t, r, n, i, o) {
376
+ let s = class extends Gr {
377
377
  constructor() {
378
378
  super(e, r, i), this.$$p_d = t;
379
379
  }
@@ -389,7 +389,7 @@ function $n(e, t, r, n, i, o) {
389
389
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
390
390
  },
391
391
  set(h) {
392
- h = bt(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
392
+ h = vt(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
393
393
  }
394
394
  });
395
395
  }), n.forEach((a) => {
@@ -401,7 +401,7 @@ function $n(e, t, r, n, i, o) {
401
401
  }), e.element = /** @type {any} */
402
402
  s, s;
403
403
  }
404
- class Gn {
404
+ class kn {
405
405
  /**
406
406
  * ### PRIVATE API
407
407
  *
@@ -420,7 +420,7 @@ class Gn {
420
420
  $$set = void 0;
421
421
  /** @returns {void} */
422
422
  $destroy() {
423
- Dn(this, 1), this.$destroy = se;
423
+ $n(this, 1), this.$destroy = se;
424
424
  }
425
425
  /**
426
426
  * @template {Extract<keyof Events, string>} K
@@ -429,7 +429,7 @@ class Gn {
429
429
  * @returns {() => void}
430
430
  */
431
431
  $on(t, r) {
432
- if (!nr(r))
432
+ if (!ir(r))
433
433
  return se;
434
434
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
435
435
  return n.push(r), () => {
@@ -442,11 +442,11 @@ class Gn {
442
442
  * @returns {void}
443
443
  */
444
444
  $set(t) {
445
- this.$$set && !_n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
445
+ this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
446
446
  }
447
447
  }
448
- const jn = "4";
449
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jn);
448
+ const Xn = "4";
449
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Xn);
450
450
  /*! *****************************************************************************
451
451
  Copyright (c) Microsoft Corporation.
452
452
 
@@ -461,18 +461,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
461
461
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
462
462
  PERFORMANCE OF THIS SOFTWARE.
463
463
  ***************************************************************************** */
464
- var Wt = function(e, t) {
465
- return Wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
464
+ var kt = function(e, t) {
465
+ return kt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
466
466
  r.__proto__ = n;
467
467
  } || function(r, n) {
468
468
  for (var i in n)
469
469
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
470
- }, Wt(e, t);
470
+ }, kt(e, t);
471
471
  };
472
472
  function _e(e, t) {
473
473
  if (typeof t != "function" && t !== null)
474
474
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
475
- Wt(e, t);
475
+ kt(e, t);
476
476
  function r() {
477
477
  this.constructor = e;
478
478
  }
@@ -488,7 +488,7 @@ var U = function() {
488
488
  return t;
489
489
  }, U.apply(this, arguments);
490
490
  };
491
- function Wn(e, t) {
491
+ function Vn(e, t) {
492
492
  var r = {};
493
493
  for (var n in e)
494
494
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -497,7 +497,7 @@ function Wn(e, t) {
497
497
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
498
498
  return r;
499
499
  }
500
- function kt(e) {
500
+ function Xt(e) {
501
501
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
502
502
  if (r)
503
503
  return r.call(e);
@@ -509,7 +509,7 @@ function kt(e) {
509
509
  };
510
510
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
511
511
  }
512
- function Xt(e, t) {
512
+ function Vt(e, t) {
513
513
  var r = typeof Symbol == "function" && e[Symbol.iterator];
514
514
  if (!r)
515
515
  return e;
@@ -538,13 +538,13 @@ function De(e, t, r) {
538
538
  function ye(e) {
539
539
  return typeof e == "function";
540
540
  }
541
- function $r(e) {
541
+ function jr(e) {
542
542
  var t = function(n) {
543
543
  Error.call(n), n.stack = new Error().stack;
544
544
  }, r = e(t);
545
545
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
546
546
  }
547
- var Mt = $r(function(e) {
547
+ var Mt = jr(function(e) {
548
548
  return function(r) {
549
549
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
550
550
  ` + r.map(function(n, i) {
@@ -553,7 +553,7 @@ var Mt = $r(function(e) {
553
553
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
554
554
  };
555
555
  });
556
- function Vt(e, t) {
556
+ function zt(e, t) {
557
557
  if (e) {
558
558
  var r = e.indexOf(t);
559
559
  0 <= r && e.splice(r, 1);
@@ -571,7 +571,7 @@ var St = function() {
571
571
  if (s)
572
572
  if (this._parentage = null, Array.isArray(s))
573
573
  try {
574
- for (var a = kt(s), h = a.next(); !h.done; h = a.next()) {
574
+ for (var a = Xt(s), h = a.next(); !h.done; h = a.next()) {
575
575
  var l = h.value;
576
576
  l.remove(this);
577
577
  }
@@ -598,12 +598,12 @@ var St = function() {
598
598
  if (p) {
599
599
  this._finalizers = null;
600
600
  try {
601
- for (var g = kt(p), y = g.next(); !y.done; y = g.next()) {
601
+ for (var g = Xt(p), y = g.next(); !y.done; y = g.next()) {
602
602
  var H = y.value;
603
603
  try {
604
- cr(H);
604
+ pr(H);
605
605
  } catch (w) {
606
- o = o ?? [], w instanceof Mt ? o = De(De([], Xt(o)), Xt(w.errors)) : o.push(w);
606
+ o = o ?? [], w instanceof Mt ? o = De(De([], Vt(o)), Vt(w.errors)) : o.push(w);
607
607
  }
608
608
  }
609
609
  } catch (w) {
@@ -624,7 +624,7 @@ var St = function() {
624
624
  var r;
625
625
  if (t && t !== this)
626
626
  if (this.closed)
627
- cr(t);
627
+ pr(t);
628
628
  else {
629
629
  if (t instanceof e) {
630
630
  if (t.closed || t._hasParent(this))
@@ -641,56 +641,56 @@ var St = function() {
641
641
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
642
642
  }, e.prototype._removeParent = function(t) {
643
643
  var r = this._parentage;
644
- r === t ? this._parentage = null : Array.isArray(r) && Vt(r, t);
644
+ r === t ? this._parentage = null : Array.isArray(r) && zt(r, t);
645
645
  }, e.prototype.remove = function(t) {
646
646
  var r = this._finalizers;
647
- r && Vt(r, t), t instanceof e && t._removeParent(this);
647
+ r && zt(r, t), t instanceof e && t._removeParent(this);
648
648
  }, e.EMPTY = function() {
649
649
  var t = new e();
650
650
  return t.closed = !0, t;
651
651
  }(), e;
652
- }(), Gr = St.EMPTY;
653
- function jr(e) {
652
+ }(), Wr = St.EMPTY;
653
+ function kr(e) {
654
654
  return e instanceof St || e && "closed" in e && ye(e.remove) && ye(e.add) && ye(e.unsubscribe);
655
655
  }
656
- function cr(e) {
656
+ function pr(e) {
657
657
  ye(e) ? e() : e.unsubscribe();
658
658
  }
659
- var kn = {
659
+ var Xr = {
660
660
  onUnhandledError: null,
661
661
  onStoppedNotification: null,
662
662
  Promise: void 0,
663
663
  useDeprecatedSynchronousErrorHandling: !1,
664
664
  useDeprecatedNextContext: !1
665
- }, Xn = {
665
+ }, zn = {
666
666
  setTimeout: function(e, t) {
667
667
  for (var r = [], n = 2; n < arguments.length; n++)
668
668
  r[n - 2] = arguments[n];
669
- return setTimeout.apply(void 0, De([e, t], Xt(r)));
669
+ return setTimeout.apply(void 0, De([e, t], Vt(r)));
670
670
  },
671
671
  clearTimeout: function(e) {
672
672
  return clearTimeout(e);
673
673
  },
674
674
  delegate: void 0
675
675
  };
676
- function Vn(e) {
677
- Xn.setTimeout(function() {
676
+ function Zn(e) {
677
+ zn.setTimeout(function() {
678
678
  throw e;
679
679
  });
680
680
  }
681
- function dr() {
681
+ function mr() {
682
682
  }
683
- function vt(e) {
683
+ function bt(e) {
684
684
  e();
685
685
  }
686
- var Wr = function(e) {
686
+ var Vr = function(e) {
687
687
  _e(t, e);
688
688
  function t(r) {
689
689
  var n = e.call(this) || this;
690
- return n.isStopped = !1, r ? (n.destination = r, jr(r) && r.add(n)) : n.destination = qn, n;
690
+ return n.isStopped = !1, r ? (n.destination = r, kr(r) && r.add(n)) : n.destination = Jn, n;
691
691
  }
692
692
  return t.create = function(r, n, i) {
693
- return new zt(r, n, i);
693
+ return new Zt(r, n, i);
694
694
  }, t.prototype.next = function(r) {
695
695
  this.isStopped || this._next(r);
696
696
  }, t.prototype.error = function(r) {
@@ -714,7 +714,11 @@ var Wr = function(e) {
714
714
  this.unsubscribe();
715
715
  }
716
716
  }, t;
717
- }(St), zn = function() {
717
+ }(St), qn = Function.prototype.bind;
718
+ function Rt(e, t) {
719
+ return qn.call(e, t);
720
+ }
721
+ var Yn = function() {
718
722
  function e(t) {
719
723
  this.partialObserver = t;
720
724
  }
@@ -745,43 +749,55 @@ var Wr = function(e) {
745
749
  mt(r);
746
750
  }
747
751
  }, e;
748
- }(), zt = function(e) {
752
+ }(), Zt = function(e) {
749
753
  _e(t, e);
750
754
  function t(r, n, i) {
751
755
  var o = e.call(this) || this, s;
752
- return ye(r) || !r ? s = {
753
- next: r ?? void 0,
754
- error: n ?? void 0,
755
- complete: i ?? void 0
756
- } : s = r, o.destination = new zn(s), o;
756
+ if (ye(r) || !r)
757
+ s = {
758
+ next: r ?? void 0,
759
+ error: n ?? void 0,
760
+ complete: i ?? void 0
761
+ };
762
+ else {
763
+ var a;
764
+ o && Xr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
765
+ return o.unsubscribe();
766
+ }, s = {
767
+ next: r.next && Rt(r.next, a),
768
+ error: r.error && Rt(r.error, a),
769
+ complete: r.complete && Rt(r.complete, a)
770
+ }) : s = r;
771
+ }
772
+ return o.destination = new Yn(s), o;
757
773
  }
758
774
  return t;
759
- }(Wr);
775
+ }(Vr);
760
776
  function mt(e) {
761
- Vn(e);
777
+ Zn(e);
762
778
  }
763
- function Zn(e) {
779
+ function Qn(e) {
764
780
  throw e;
765
781
  }
766
- var qn = {
782
+ var Jn = {
767
783
  closed: !0,
768
- next: dr,
769
- error: Zn,
770
- complete: dr
771
- }, Yn = function() {
784
+ next: mr,
785
+ error: Qn,
786
+ complete: mr
787
+ }, Kn = function() {
772
788
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
773
789
  }();
774
- function Qn(e) {
790
+ function ei(e) {
775
791
  return e;
776
792
  }
777
- function Jn(e) {
778
- return e.length === 0 ? Qn : e.length === 1 ? e[0] : function(r) {
793
+ function ti(e) {
794
+ return e.length === 0 ? ei : e.length === 1 ? e[0] : function(r) {
779
795
  return e.reduce(function(n, i) {
780
796
  return i(n);
781
797
  }, r);
782
798
  };
783
799
  }
784
- var pr = function() {
800
+ var gr = function() {
785
801
  function e(t) {
786
802
  t && (this._subscribe = t);
787
803
  }
@@ -789,8 +805,8 @@ var pr = function() {
789
805
  var r = new e();
790
806
  return r.source = this, r.operator = t, r;
791
807
  }, e.prototype.subscribe = function(t, r, n) {
792
- var i = this, o = ei(t) ? t : new zt(t, r, n);
793
- return vt(function() {
808
+ var i = this, o = ni(t) ? t : new Zt(t, r, n);
809
+ return bt(function() {
794
810
  var s = i, a = s.operator, h = s.source;
795
811
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
796
812
  }), o;
@@ -802,8 +818,8 @@ var pr = function() {
802
818
  }
803
819
  }, e.prototype.forEach = function(t, r) {
804
820
  var n = this;
805
- return r = mr(r), new r(function(i, o) {
806
- var s = new zt({
821
+ return r = vr(r), new r(function(i, o) {
822
+ var s = new Zt({
807
823
  next: function(a) {
808
824
  try {
809
825
  t(a);
@@ -819,15 +835,15 @@ var pr = function() {
819
835
  }, e.prototype._subscribe = function(t) {
820
836
  var r;
821
837
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
822
- }, e.prototype[Yn] = function() {
838
+ }, e.prototype[Kn] = function() {
823
839
  return this;
824
840
  }, e.prototype.pipe = function() {
825
841
  for (var t = [], r = 0; r < arguments.length; r++)
826
842
  t[r] = arguments[r];
827
- return Jn(t)(this);
843
+ return ti(t)(this);
828
844
  }, e.prototype.toPromise = function(t) {
829
845
  var r = this;
830
- return t = mr(t), new t(function(n, i) {
846
+ return t = vr(t), new t(function(n, i) {
831
847
  var o;
832
848
  r.subscribe(function(s) {
833
849
  return o = s;
@@ -841,40 +857,40 @@ var pr = function() {
841
857
  return new e(t);
842
858
  }, e;
843
859
  }();
844
- function mr(e) {
860
+ function vr(e) {
845
861
  var t;
846
- return (t = e ?? kn.Promise) !== null && t !== void 0 ? t : Promise;
862
+ return (t = e ?? Xr.Promise) !== null && t !== void 0 ? t : Promise;
847
863
  }
848
- function Kn(e) {
864
+ function ri(e) {
849
865
  return e && ye(e.next) && ye(e.error) && ye(e.complete);
850
866
  }
851
- function ei(e) {
852
- return e && e instanceof Wr || Kn(e) && jr(e);
867
+ function ni(e) {
868
+ return e && e instanceof Vr || ri(e) && kr(e);
853
869
  }
854
- var ti = $r(function(e) {
870
+ var ii = jr(function(e) {
855
871
  return function() {
856
872
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
857
873
  };
858
- }), kr = function(e) {
874
+ }), zr = function(e) {
859
875
  _e(t, e);
860
876
  function t() {
861
877
  var r = e.call(this) || this;
862
878
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
863
879
  }
864
880
  return t.prototype.lift = function(r) {
865
- var n = new gr(this, this);
881
+ var n = new br(this, this);
866
882
  return n.operator = r, n;
867
883
  }, t.prototype._throwIfClosed = function() {
868
884
  if (this.closed)
869
- throw new ti();
885
+ throw new ii();
870
886
  }, t.prototype.next = function(r) {
871
887
  var n = this;
872
- vt(function() {
888
+ bt(function() {
873
889
  var i, o;
874
890
  if (n._throwIfClosed(), !n.isStopped) {
875
891
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
876
892
  try {
877
- for (var s = kt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
893
+ for (var s = Xt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
878
894
  var h = a.value;
879
895
  h.next(r);
880
896
  }
@@ -892,7 +908,7 @@ var ti = $r(function(e) {
892
908
  });
893
909
  }, t.prototype.error = function(r) {
894
910
  var n = this;
895
- vt(function() {
911
+ bt(function() {
896
912
  if (n._throwIfClosed(), !n.isStopped) {
897
913
  n.hasError = n.isStopped = !0, n.thrownError = r;
898
914
  for (var i = n.observers; i.length; )
@@ -901,7 +917,7 @@ var ti = $r(function(e) {
901
917
  });
902
918
  }, t.prototype.complete = function() {
903
919
  var r = this;
904
- vt(function() {
920
+ bt(function() {
905
921
  if (r._throwIfClosed(), !r.isStopped) {
906
922
  r.isStopped = !0;
907
923
  for (var n = r.observers; n.length; )
@@ -923,19 +939,19 @@ var ti = $r(function(e) {
923
939
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
924
940
  }, t.prototype._innerSubscribe = function(r) {
925
941
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
926
- return o || s ? Gr : (this.currentObservers = null, a.push(r), new St(function() {
927
- n.currentObservers = null, Vt(a, r);
942
+ return o || s ? Wr : (this.currentObservers = null, a.push(r), new St(function() {
943
+ n.currentObservers = null, zt(a, r);
928
944
  }));
929
945
  }, t.prototype._checkFinalizedStatuses = function(r) {
930
946
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
931
947
  i ? r.error(o) : s && r.complete();
932
948
  }, t.prototype.asObservable = function() {
933
- var r = new pr();
949
+ var r = new gr();
934
950
  return r.source = this, r;
935
951
  }, t.create = function(r, n) {
936
- return new gr(r, n);
952
+ return new br(r, n);
937
953
  }, t;
938
- }(pr), gr = function(e) {
954
+ }(gr), br = function(e) {
939
955
  _e(t, e);
940
956
  function t(r, n) {
941
957
  var i = e.call(this) || this;
@@ -952,17 +968,17 @@ var ti = $r(function(e) {
952
968
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
953
969
  }, t.prototype._subscribe = function(r) {
954
970
  var n, i;
955
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gr;
971
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Wr;
956
972
  }, t;
957
- }(kr), Xr = {
973
+ }(zr), Zr = {
958
974
  now: function() {
959
- return (Xr.delegate || Date).now();
975
+ return (Zr.delegate || Date).now();
960
976
  },
961
977
  delegate: void 0
962
- }, ri = function(e) {
978
+ }, oi = function(e) {
963
979
  _e(t, e);
964
980
  function t(r, n, i) {
965
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xr);
981
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zr);
966
982
  var o = e.call(this) || this;
967
983
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
968
984
  }
@@ -982,15 +998,15 @@ var ti = $r(function(e) {
982
998
  l && o.splice(0, l + 1);
983
999
  }
984
1000
  }, t;
985
- }(kr);
986
- const br = [], vr = {}, ni = (e, t = 0) => {
987
- if (br.indexOf(e) == -1) {
988
- const r = new ri(t);
989
- vr[e] = r, br.push(e);
1001
+ }(zr);
1002
+ const yr = [], _r = {}, si = (e, t = 0) => {
1003
+ if (yr.indexOf(e) == -1) {
1004
+ const r = new oi(t);
1005
+ _r[e] = r, yr.push(e);
990
1006
  }
991
- return vr[e];
1007
+ return _r[e];
992
1008
  }, Ne = [];
993
- function ii(e, t) {
1009
+ function ai(e, t) {
994
1010
  return {
995
1011
  subscribe: Tt(e, t).subscribe
996
1012
  };
@@ -999,7 +1015,7 @@ function Tt(e, t = se) {
999
1015
  let r;
1000
1016
  const n = /* @__PURE__ */ new Set();
1001
1017
  function i(a) {
1002
- if (Dr(e, a) && (e = a, r)) {
1018
+ if (Ur(e, a) && (e = a, r)) {
1003
1019
  const h = !Ne.length;
1004
1020
  for (const l of n)
1005
1021
  l[1](), Ne.push(l, e);
@@ -1026,7 +1042,7 @@ function je(e, t, r) {
1026
1042
  if (!i.every(Boolean))
1027
1043
  throw new Error("derived() expects stores as input, got a falsy value");
1028
1044
  const o = t.length < 2;
1029
- return ii(r, (s, a) => {
1045
+ return ai(r, (s, a) => {
1030
1046
  let h = !1;
1031
1047
  const l = [];
1032
1048
  let f = 0, p = se;
@@ -1035,12 +1051,12 @@ function je(e, t, r) {
1035
1051
  return;
1036
1052
  p();
1037
1053
  const H = t(n ? l[0] : l, s, a);
1038
- o ? s(H) : p = nr(H) ? H : se;
1054
+ o ? s(H) : p = ir(H) ? H : se;
1039
1055
  }, y = i.map(
1040
- (H, w) => Fr(
1056
+ (H, w) => $r(
1041
1057
  H,
1042
- (C) => {
1043
- l[w] = C, f &= ~(1 << w), h && g();
1058
+ (O) => {
1059
+ l[w] = O, f &= ~(1 << w), h && g();
1044
1060
  },
1045
1061
  () => {
1046
1062
  f |= 1 << w;
@@ -1052,71 +1068,71 @@ function je(e, t, r) {
1052
1068
  };
1053
1069
  });
1054
1070
  }
1055
- var oi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1056
- function si(e) {
1071
+ var ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1072
+ function li(e) {
1057
1073
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1058
1074
  }
1059
- var ai = function(t) {
1060
- return ui(t) && !li(t);
1075
+ var hi = function(t) {
1076
+ return fi(t) && !ci(t);
1061
1077
  };
1062
- function ui(e) {
1078
+ function fi(e) {
1063
1079
  return !!e && typeof e == "object";
1064
1080
  }
1065
- function li(e) {
1081
+ function ci(e) {
1066
1082
  var t = Object.prototype.toString.call(e);
1067
- return t === "[object RegExp]" || t === "[object Date]" || ci(e);
1083
+ return t === "[object RegExp]" || t === "[object Date]" || mi(e);
1068
1084
  }
1069
- var hi = typeof Symbol == "function" && Symbol.for, fi = hi ? Symbol.for("react.element") : 60103;
1070
- function ci(e) {
1071
- return e.$$typeof === fi;
1085
+ var di = typeof Symbol == "function" && Symbol.for, pi = di ? Symbol.for("react.element") : 60103;
1086
+ function mi(e) {
1087
+ return e.$$typeof === pi;
1072
1088
  }
1073
- function di(e) {
1089
+ function gi(e) {
1074
1090
  return Array.isArray(e) ? [] : {};
1075
1091
  }
1076
1092
  function it(e, t) {
1077
- return t.clone !== !1 && t.isMergeableObject(e) ? Fe(di(e), e, t) : e;
1093
+ return t.clone !== !1 && t.isMergeableObject(e) ? Fe(gi(e), e, t) : e;
1078
1094
  }
1079
- function pi(e, t, r) {
1095
+ function vi(e, t, r) {
1080
1096
  return e.concat(t).map(function(n) {
1081
1097
  return it(n, r);
1082
1098
  });
1083
1099
  }
1084
- function mi(e, t) {
1100
+ function bi(e, t) {
1085
1101
  if (!t.customMerge)
1086
1102
  return Fe;
1087
1103
  var r = t.customMerge(e);
1088
1104
  return typeof r == "function" ? r : Fe;
1089
1105
  }
1090
- function gi(e) {
1106
+ function yi(e) {
1091
1107
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1092
1108
  return Object.propertyIsEnumerable.call(e, t);
1093
1109
  }) : [];
1094
1110
  }
1095
- function yr(e) {
1096
- return Object.keys(e).concat(gi(e));
1111
+ function Er(e) {
1112
+ return Object.keys(e).concat(yi(e));
1097
1113
  }
1098
- function Vr(e, t) {
1114
+ function qr(e, t) {
1099
1115
  try {
1100
1116
  return t in e;
1101
1117
  } catch {
1102
1118
  return !1;
1103
1119
  }
1104
1120
  }
1105
- function bi(e, t) {
1106
- return Vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1121
+ function _i(e, t) {
1122
+ return qr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1107
1123
  }
1108
- function vi(e, t, r) {
1124
+ function Ei(e, t, r) {
1109
1125
  var n = {};
1110
- return r.isMergeableObject(e) && yr(e).forEach(function(i) {
1126
+ return r.isMergeableObject(e) && Er(e).forEach(function(i) {
1111
1127
  n[i] = it(e[i], r);
1112
- }), yr(t).forEach(function(i) {
1113
- bi(e, i) || (Vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = mi(i, r)(e[i], t[i], r) : n[i] = it(t[i], r));
1128
+ }), Er(t).forEach(function(i) {
1129
+ _i(e, i) || (qr(e, i) && r.isMergeableObject(t[i]) ? n[i] = bi(i, r)(e[i], t[i], r) : n[i] = it(t[i], r));
1114
1130
  }), n;
1115
1131
  }
1116
1132
  function Fe(e, t, r) {
1117
- r = r || {}, r.arrayMerge = r.arrayMerge || pi, r.isMergeableObject = r.isMergeableObject || ai, r.cloneUnlessOtherwiseSpecified = it;
1133
+ r = r || {}, r.arrayMerge = r.arrayMerge || vi, r.isMergeableObject = r.isMergeableObject || hi, r.cloneUnlessOtherwiseSpecified = it;
1118
1134
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1119
- return o ? n ? r.arrayMerge(e, t, r) : vi(e, t, r) : it(t, r);
1135
+ return o ? n ? r.arrayMerge(e, t, r) : Ei(e, t, r) : it(t, r);
1120
1136
  }
1121
1137
  Fe.all = function(t, r) {
1122
1138
  if (!Array.isArray(t))
@@ -1125,60 +1141,58 @@ Fe.all = function(t, r) {
1125
1141
  return Fe(n, i, r);
1126
1142
  }, {});
1127
1143
  };
1128
- var yi = Fe, _i = yi;
1129
- const Ei = /* @__PURE__ */ si(_i);
1130
- function Rt(e, t) {
1131
- var r = t && t.cache ? t.cache : Bi, n = t && t.serializer ? t.serializer : Hi, i = t && t.strategy ? t.strategy : wi;
1144
+ var xi = Fe, wi = xi;
1145
+ const Si = /* @__PURE__ */ li(wi);
1146
+ function Dt(e, t) {
1147
+ var r = t && t.cache ? t.cache : Li, n = t && t.serializer ? t.serializer : Ii, i = t && t.strategy ? t.strategy : Hi;
1132
1148
  return i(e, {
1133
1149
  cache: r,
1134
1150
  serializer: n
1135
1151
  });
1136
1152
  }
1137
- function xi(e) {
1153
+ function Ti(e) {
1138
1154
  return e == null || typeof e == "number" || typeof e == "boolean";
1139
1155
  }
1140
- function zr(e, t, r, n) {
1141
- var i = xi(n) ? n : r(n), o = t.get(i);
1156
+ function Yr(e, t, r, n) {
1157
+ var i = Ti(n) ? n : r(n), o = t.get(i);
1142
1158
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1143
1159
  }
1144
- function Zr(e, t, r) {
1160
+ function Qr(e, t, r) {
1145
1161
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1146
1162
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1147
1163
  }
1148
- function or(e, t, r, n, i) {
1164
+ function sr(e, t, r, n, i) {
1149
1165
  return r.bind(t, e, n, i);
1150
1166
  }
1151
- function wi(e, t) {
1152
- var r = e.length === 1 ? zr : Zr;
1153
- return or(e, this, r, t.cache.create(), t.serializer);
1167
+ function Hi(e, t) {
1168
+ var r = e.length === 1 ? Yr : Qr;
1169
+ return sr(e, this, r, t.cache.create(), t.serializer);
1154
1170
  }
1155
- function Si(e, t) {
1156
- return or(e, this, Zr, t.cache.create(), t.serializer);
1171
+ function Ai(e, t) {
1172
+ return sr(e, this, Qr, t.cache.create(), t.serializer);
1157
1173
  }
1158
- function Ti(e, t) {
1159
- return or(e, this, zr, t.cache.create(), t.serializer);
1174
+ function Bi(e, t) {
1175
+ return sr(e, this, Yr, t.cache.create(), t.serializer);
1160
1176
  }
1161
- var Hi = function() {
1177
+ var Ii = function() {
1162
1178
  return JSON.stringify(arguments);
1163
- }, Ai = (
1164
- /** @class */
1165
- function() {
1166
- function e() {
1167
- this.cache = /* @__PURE__ */ Object.create(null);
1168
- }
1169
- return e.prototype.get = function(t) {
1170
- return this.cache[t];
1171
- }, e.prototype.set = function(t, r) {
1172
- this.cache[t] = r;
1173
- }, e;
1174
- }()
1175
- ), Bi = {
1179
+ };
1180
+ function ar() {
1181
+ this.cache = /* @__PURE__ */ Object.create(null);
1182
+ }
1183
+ ar.prototype.get = function(e) {
1184
+ return this.cache[e];
1185
+ };
1186
+ ar.prototype.set = function(e, t) {
1187
+ this.cache[e] = t;
1188
+ };
1189
+ var Li = {
1176
1190
  create: function() {
1177
- return new Ai();
1191
+ return new ar();
1178
1192
  }
1179
- }, Dt = {
1180
- variadic: Si,
1181
- monadic: Ti
1193
+ }, Ft = {
1194
+ variadic: Ai,
1195
+ monadic: Bi
1182
1196
  }, N;
1183
1197
  (function(e) {
1184
1198
  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";
@@ -1191,43 +1205,43 @@ var Ue;
1191
1205
  (function(e) {
1192
1206
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1193
1207
  })(Ue || (Ue = {}));
1194
- function _r(e) {
1208
+ function xr(e) {
1195
1209
  return e.type === j.literal;
1196
1210
  }
1197
- function Ii(e) {
1211
+ function Ci(e) {
1198
1212
  return e.type === j.argument;
1199
1213
  }
1200
- function qr(e) {
1214
+ function Jr(e) {
1201
1215
  return e.type === j.number;
1202
1216
  }
1203
- function Yr(e) {
1217
+ function Kr(e) {
1204
1218
  return e.type === j.date;
1205
1219
  }
1206
- function Qr(e) {
1220
+ function en(e) {
1207
1221
  return e.type === j.time;
1208
1222
  }
1209
- function Jr(e) {
1223
+ function tn(e) {
1210
1224
  return e.type === j.select;
1211
1225
  }
1212
- function Kr(e) {
1226
+ function rn(e) {
1213
1227
  return e.type === j.plural;
1214
1228
  }
1215
- function Li(e) {
1229
+ function Oi(e) {
1216
1230
  return e.type === j.pound;
1217
1231
  }
1218
- function en(e) {
1232
+ function nn(e) {
1219
1233
  return e.type === j.tag;
1220
1234
  }
1221
- function tn(e) {
1235
+ function on(e) {
1222
1236
  return !!(e && typeof e == "object" && e.type === Ue.number);
1223
1237
  }
1224
- function Zt(e) {
1238
+ function qt(e) {
1225
1239
  return !!(e && typeof e == "object" && e.type === Ue.dateTime);
1226
1240
  }
1227
- var rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Oi = /(?:[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;
1228
- function Ci(e) {
1241
+ var sn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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;
1242
+ function Ni(e) {
1229
1243
  var t = {};
1230
- return e.replace(Oi, function(r) {
1244
+ return e.replace(Pi, function(r) {
1231
1245
  var n = r.length;
1232
1246
  switch (r[0]) {
1233
1247
  case "G":
@@ -1316,11 +1330,11 @@ function Ci(e) {
1316
1330
  return "";
1317
1331
  }), t;
1318
1332
  }
1319
- var Pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1320
- function Ni(e) {
1333
+ var Mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1334
+ function Ri(e) {
1321
1335
  if (e.length === 0)
1322
1336
  throw new Error("Number skeleton cannot be empty");
1323
- for (var t = e.split(Pi).filter(function(g) {
1337
+ for (var t = e.split(Mi).filter(function(g) {
1324
1338
  return g.length > 0;
1325
1339
  }), r = [], n = 0, i = t; n < i.length; n++) {
1326
1340
  var o = i[n], s = o.split("/");
@@ -1335,17 +1349,17 @@ function Ni(e) {
1335
1349
  }
1336
1350
  return r;
1337
1351
  }
1338
- function Mi(e) {
1352
+ function Di(e) {
1339
1353
  return e.replace(/^(.*?)-/, "");
1340
1354
  }
1341
- var Er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nn = /^(@+)?(\+|#+)?[rs]?$/g, Ri = /(\*)(0+)|(#+)(0+)|(0+)/g, on = /^(0+)$/;
1342
- function xr(e) {
1355
+ var wr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, an = /^(@+)?(\+|#+)?[rs]?$/g, Fi = /(\*)(0+)|(#+)(0+)|(0+)/g, un = /^(0+)$/;
1356
+ function Sr(e) {
1343
1357
  var t = {};
1344
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nn, function(r, n, i) {
1358
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(an, function(r, n, i) {
1345
1359
  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)), "";
1346
1360
  }), t;
1347
1361
  }
1348
- function sn(e) {
1362
+ function ln(e) {
1349
1363
  switch (e) {
1350
1364
  case "sign-auto":
1351
1365
  return {
@@ -1385,7 +1399,7 @@ function sn(e) {
1385
1399
  };
1386
1400
  }
1387
1401
  }
1388
- function Di(e) {
1402
+ function Ui(e) {
1389
1403
  var t;
1390
1404
  if (e[0] === "E" && e[1] === "E" ? (t = {
1391
1405
  notation: "engineering"
@@ -1393,17 +1407,17 @@ function Di(e) {
1393
1407
  notation: "scientific"
1394
1408
  }, e = e.slice(1)), t) {
1395
1409
  var r = e.slice(0, 2);
1396
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !on.test(e))
1410
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !un.test(e))
1397
1411
  throw new Error("Malformed concise eng/scientific notation");
1398
1412
  t.minimumIntegerDigits = e.length;
1399
1413
  }
1400
1414
  return t;
1401
1415
  }
1402
- function wr(e) {
1403
- var t = {}, r = sn(e);
1416
+ function Tr(e) {
1417
+ var t = {}, r = ln(e);
1404
1418
  return r || t;
1405
1419
  }
1406
- function Fi(e) {
1420
+ function $i(e) {
1407
1421
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1408
1422
  var i = n[r];
1409
1423
  switch (i.stem) {
@@ -1427,7 +1441,7 @@ function Fi(e) {
1427
1441
  continue;
1428
1442
  case "measure-unit":
1429
1443
  case "unit":
1430
- t.style = "unit", t.unit = Mi(i.options[0]);
1444
+ t.style = "unit", t.unit = Di(i.options[0]);
1431
1445
  continue;
1432
1446
  case "compact-short":
1433
1447
  case "K":
@@ -1439,12 +1453,12 @@ function Fi(e) {
1439
1453
  continue;
1440
1454
  case "scientific":
1441
1455
  t = U(U(U({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1442
- return U(U({}, h), wr(l));
1456
+ return U(U({}, h), Tr(l));
1443
1457
  }, {}));
1444
1458
  continue;
1445
1459
  case "engineering":
1446
1460
  t = U(U(U({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1447
- return U(U({}, h), wr(l));
1461
+ return U(U({}, h), Tr(l));
1448
1462
  }, {}));
1449
1463
  continue;
1450
1464
  case "notation-simple":
@@ -1489,7 +1503,7 @@ function Fi(e) {
1489
1503
  case "integer-width":
1490
1504
  if (i.options.length > 1)
1491
1505
  throw new RangeError("integer-width stems only accept a single optional option");
1492
- i.options[0].replace(Ri, function(h, l, f, p, g, y) {
1506
+ i.options[0].replace(Fi, function(h, l, f, p, g, y) {
1493
1507
  if (l)
1494
1508
  t.minimumIntegerDigits = f.length;
1495
1509
  else {
@@ -1502,27 +1516,27 @@ function Fi(e) {
1502
1516
  });
1503
1517
  continue;
1504
1518
  }
1505
- if (on.test(i.stem)) {
1519
+ if (un.test(i.stem)) {
1506
1520
  t.minimumIntegerDigits = i.stem.length;
1507
1521
  continue;
1508
1522
  }
1509
- if (Er.test(i.stem)) {
1523
+ if (wr.test(i.stem)) {
1510
1524
  if (i.options.length > 1)
1511
1525
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1512
- i.stem.replace(Er, function(h, l, f, p, g, y) {
1526
+ i.stem.replace(wr, function(h, l, f, p, g, y) {
1513
1527
  return f === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : g && y ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1514
1528
  });
1515
1529
  var o = i.options[0];
1516
- o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), xr(o)));
1530
+ o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), Sr(o)));
1517
1531
  continue;
1518
1532
  }
1519
- if (nn.test(i.stem)) {
1520
- t = U(U({}, t), xr(i.stem));
1533
+ if (an.test(i.stem)) {
1534
+ t = U(U({}, t), Sr(i.stem));
1521
1535
  continue;
1522
1536
  }
1523
- var s = sn(i.stem);
1537
+ var s = ln(i.stem);
1524
1538
  s && (t = U(U({}, t), s));
1525
- var a = Di(i.stem);
1539
+ var a = Ui(i.stem);
1526
1540
  a && (t = U(U({}, t), a));
1527
1541
  }
1528
1542
  return t;
@@ -2942,13 +2956,13 @@ var gt = {
2942
2956
  "h"
2943
2957
  ]
2944
2958
  };
2945
- function Ui(e, t) {
2959
+ function Gi(e, t) {
2946
2960
  for (var r = "", n = 0; n < e.length; n++) {
2947
2961
  var i = e.charAt(n);
2948
2962
  if (i === "j") {
2949
2963
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2950
2964
  o++, n++;
2951
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = $i(t);
2965
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = ji(t);
2952
2966
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2953
2967
  r += h;
2954
2968
  for (; s-- > 0; )
@@ -2958,7 +2972,7 @@ function Ui(e, t) {
2958
2972
  }
2959
2973
  return r;
2960
2974
  }
2961
- function $i(e) {
2975
+ function ji(e) {
2962
2976
  var t = e.hourCycle;
2963
2977
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2964
2978
  e.hourCycles && // @ts-ignore
@@ -2980,20 +2994,20 @@ function $i(e) {
2980
2994
  var i = gt[n || ""] || gt[r || ""] || gt["".concat(r, "-001")] || gt["001"];
2981
2995
  return i[0];
2982
2996
  }
2983
- var Ft, Gi = new RegExp("^".concat(rn.source, "*")), ji = new RegExp("".concat(rn.source, "*$"));
2997
+ var Ut, Wi = new RegExp("^".concat(sn.source, "*")), ki = new RegExp("".concat(sn.source, "*$"));
2984
2998
  function R(e, t) {
2985
2999
  return { start: e, end: t };
2986
3000
  }
2987
- var Wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ki = !!String.fromCodePoint, Xi = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, zi = !!String.prototype.trimStart, Zi = !!String.prototype.trimEnd, qi = !!Number.isSafeInteger, Yi = qi ? Number.isSafeInteger : function(e) {
3001
+ var Xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vi = !!String.fromCodePoint, zi = !!Object.fromEntries, Zi = !!String.prototype.codePointAt, qi = !!String.prototype.trimStart, Yi = !!String.prototype.trimEnd, Qi = !!Number.isSafeInteger, Ji = Qi ? Number.isSafeInteger : function(e) {
2988
3002
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2989
- }, qt = !0;
3003
+ }, Yt = !0;
2990
3004
  try {
2991
- var Qi = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2992
- qt = ((Ft = Qi.exec("a")) === null || Ft === void 0 ? void 0 : Ft[0]) === "a";
3005
+ var Ki = fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3006
+ Yt = ((Ut = Ki.exec("a")) === null || Ut === void 0 ? void 0 : Ut[0]) === "a";
2993
3007
  } catch {
2994
- qt = !1;
3008
+ Yt = !1;
2995
3009
  }
2996
- var Sr = Wi ? (
3010
+ var Hr = Xi ? (
2997
3011
  // Native
2998
3012
  function(t, r, n) {
2999
3013
  return t.startsWith(r, n);
@@ -3003,7 +3017,7 @@ var Sr = Wi ? (
3003
3017
  function(t, r, n) {
3004
3018
  return t.slice(n, n + r.length) === r;
3005
3019
  }
3006
- ), Yt = ki ? String.fromCodePoint : (
3020
+ ), Qt = Vi ? String.fromCodePoint : (
3007
3021
  // IE11
3008
3022
  function() {
3009
3023
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3015,9 +3029,9 @@ var Sr = Wi ? (
3015
3029
  }
3016
3030
  return n;
3017
3031
  }
3018
- ), Tr = (
3032
+ ), Ar = (
3019
3033
  // native
3020
- Xi ? Object.fromEntries : (
3034
+ zi ? Object.fromEntries : (
3021
3035
  // Ponyfill
3022
3036
  function(t) {
3023
3037
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3027,7 +3041,7 @@ var Sr = Wi ? (
3027
3041
  return r;
3028
3042
  }
3029
3043
  )
3030
- ), an = Vi ? (
3044
+ ), hn = Zi ? (
3031
3045
  // Native
3032
3046
  function(t, r) {
3033
3047
  return t.codePointAt(r);
@@ -3041,7 +3055,7 @@ var Sr = Wi ? (
3041
3055
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3042
3056
  }
3043
3057
  }
3044
- ), Ji = zi ? (
3058
+ ), eo = qi ? (
3045
3059
  // Native
3046
3060
  function(t) {
3047
3061
  return t.trimStart();
@@ -3049,9 +3063,9 @@ var Sr = Wi ? (
3049
3063
  ) : (
3050
3064
  // Ponyfill
3051
3065
  function(t) {
3052
- return t.replace(Gi, "");
3066
+ return t.replace(Wi, "");
3053
3067
  }
3054
- ), Ki = Zi ? (
3068
+ ), to = Yi ? (
3055
3069
  // Native
3056
3070
  function(t) {
3057
3071
  return t.trimEnd();
@@ -3059,32 +3073,32 @@ var Sr = Wi ? (
3059
3073
  ) : (
3060
3074
  // Ponyfill
3061
3075
  function(t) {
3062
- return t.replace(ji, "");
3076
+ return t.replace(ki, "");
3063
3077
  }
3064
3078
  );
3065
- function un(e, t) {
3079
+ function fn(e, t) {
3066
3080
  return new RegExp(e, t);
3067
3081
  }
3068
- var Qt;
3069
- if (qt) {
3070
- var Hr = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3071
- Qt = function(t, r) {
3082
+ var Jt;
3083
+ if (Yt) {
3084
+ var Br = fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3085
+ Jt = function(t, r) {
3072
3086
  var n;
3073
- Hr.lastIndex = r;
3074
- var i = Hr.exec(t);
3087
+ Br.lastIndex = r;
3088
+ var i = Br.exec(t);
3075
3089
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3076
3090
  };
3077
3091
  } else
3078
- Qt = function(t, r) {
3092
+ Jt = function(t, r) {
3079
3093
  for (var n = []; ; ) {
3080
- var i = an(t, r);
3081
- if (i === void 0 || ln(i) || no(i))
3094
+ var i = hn(t, r);
3095
+ if (i === void 0 || cn(i) || oo(i))
3082
3096
  break;
3083
3097
  n.push(i), r += i >= 65536 ? 2 : 1;
3084
3098
  }
3085
- return Yt.apply(void 0, n);
3099
+ return Qt.apply(void 0, n);
3086
3100
  };
3087
- var eo = (
3101
+ var ro = (
3088
3102
  /** @class */
3089
3103
  function() {
3090
3104
  function e(t, r) {
@@ -3115,7 +3129,7 @@ var eo = (
3115
3129
  if (n)
3116
3130
  break;
3117
3131
  return this.error(N.UNMATCHED_CLOSING_TAG, R(this.clonePosition(), this.clonePosition()));
3118
- } else if (o === 60 && !this.ignoreTag && Jt(this.peek() || 0)) {
3132
+ } else if (o === 60 && !this.ignoreTag && Kt(this.peek() || 0)) {
3119
3133
  var s = this.parseTag(t, r);
3120
3134
  if (s.err)
3121
3135
  return s;
@@ -3148,7 +3162,7 @@ var eo = (
3148
3162
  return o;
3149
3163
  var s = o.val, a = this.clonePosition();
3150
3164
  if (this.bumpIf("</")) {
3151
- if (this.isEOF() || !Jt(this.char()))
3165
+ if (this.isEOF() || !Kt(this.char()))
3152
3166
  return this.error(N.INVALID_TAG, R(a, this.clonePosition()));
3153
3167
  var h = this.clonePosition(), l = this.parseTagName();
3154
3168
  return i !== l ? this.error(N.UNMATCHED_CLOSING_TAG, R(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3166,7 +3180,7 @@ var eo = (
3166
3180
  return this.error(N.INVALID_TAG, R(n, this.clonePosition()));
3167
3181
  }, e.prototype.parseTagName = function() {
3168
3182
  var t = this.offset();
3169
- for (this.bump(); !this.isEOF() && ro(this.char()); )
3183
+ for (this.bump(); !this.isEOF() && io(this.char()); )
3170
3184
  this.bump();
3171
3185
  return this.message.slice(t, this.offset());
3172
3186
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3195,7 +3209,7 @@ var eo = (
3195
3209
  };
3196
3210
  }, e.prototype.tryParseLeftAngleBracket = function() {
3197
3211
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3198
- !to(this.peek() || 0)) ? (this.bump(), "<") : null;
3212
+ !no(this.peek() || 0)) ? (this.bump(), "<") : null;
3199
3213
  }, e.prototype.tryParseQuote = function(t) {
3200
3214
  if (this.isEOF() || this.char() !== 39)
3201
3215
  return null;
@@ -3229,12 +3243,12 @@ var eo = (
3229
3243
  r.push(n);
3230
3244
  this.bump();
3231
3245
  }
3232
- return Yt.apply(void 0, r);
3246
+ return Qt.apply(void 0, r);
3233
3247
  }, e.prototype.tryParseUnquoted = function(t, r) {
3234
3248
  if (this.isEOF())
3235
3249
  return null;
3236
3250
  var n = this.char();
3237
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Yt(n));
3251
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qt(n));
3238
3252
  }, e.prototype.parseArgument = function(t, r) {
3239
3253
  var n = this.clonePosition();
3240
3254
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3263,7 +3277,7 @@ var eo = (
3263
3277
  return this.error(N.MALFORMED_ARGUMENT, R(n, this.clonePosition()));
3264
3278
  }
3265
3279
  }, e.prototype.parseIdentifierIfPossible = function() {
3266
- var t = this.clonePosition(), r = this.offset(), n = Qt(this.message, r), i = r + n.length;
3280
+ var t = this.clonePosition(), r = this.offset(), n = Jt(this.message, r), i = r + n.length;
3267
3281
  this.bumpTo(i);
3268
3282
  var o = this.clonePosition(), s = R(t, o);
3269
3283
  return { value: n, location: s };
@@ -3282,7 +3296,7 @@ var eo = (
3282
3296
  var f = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3283
3297
  if (p.err)
3284
3298
  return p;
3285
- var g = Ki(p.val);
3299
+ var g = to(p.val);
3286
3300
  if (g.length === 0)
3287
3301
  return this.error(N.EXPECT_ARGUMENT_STYLE, R(this.clonePosition(), this.clonePosition()));
3288
3302
  var y = R(f, this.clonePosition());
@@ -3292,24 +3306,24 @@ var eo = (
3292
3306
  if (H.err)
3293
3307
  return H;
3294
3308
  var w = R(i, this.clonePosition());
3295
- if (l && Sr(l?.style, "::", 0)) {
3296
- var C = Ji(l.style.slice(2));
3309
+ if (l && Hr(l?.style, "::", 0)) {
3310
+ var O = eo(l.style.slice(2));
3297
3311
  if (a === "number") {
3298
- var p = this.parseNumberSkeletonFromString(C, l.styleLocation);
3312
+ var p = this.parseNumberSkeletonFromString(O, l.styleLocation);
3299
3313
  return p.err ? p : {
3300
3314
  val: { type: j.number, value: n, location: w, style: p.val },
3301
3315
  err: null
3302
3316
  };
3303
3317
  } else {
3304
- if (C.length === 0)
3318
+ if (O.length === 0)
3305
3319
  return this.error(N.EXPECT_DATE_TIME_SKELETON, w);
3306
- var P = C;
3307
- this.locale && (P = Ui(C, this.locale));
3320
+ var P = O;
3321
+ this.locale && (P = Gi(O, this.locale));
3308
3322
  var g = {
3309
3323
  type: Ue.dateTime,
3310
3324
  pattern: P,
3311
3325
  location: l.styleLocation,
3312
- parsedOptions: this.shouldParseSkeletons ? Ci(P) : {}
3326
+ parsedOptions: this.shouldParseSkeletons ? Ni(P) : {}
3313
3327
  }, I = a === "date" ? j.date : j.time;
3314
3328
  return {
3315
3329
  val: { type: I, value: n, location: w, style: g },
@@ -3355,7 +3369,7 @@ var eo = (
3355
3369
  val: {
3356
3370
  type: j.select,
3357
3371
  value: n,
3358
- options: Tr(M.val),
3372
+ options: Ar(M.val),
3359
3373
  location: $
3360
3374
  },
3361
3375
  err: null
@@ -3363,7 +3377,7 @@ var eo = (
3363
3377
  val: {
3364
3378
  type: j.plural,
3365
3379
  value: n,
3366
- options: Tr(M.val),
3380
+ options: Ar(M.val),
3367
3381
  offset: T,
3368
3382
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3369
3383
  location: $
@@ -3414,7 +3428,7 @@ var eo = (
3414
3428
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3415
3429
  var n = [];
3416
3430
  try {
3417
- n = Ni(t);
3431
+ n = Ri(t);
3418
3432
  } catch {
3419
3433
  return this.error(N.INVALID_NUMBER_SKELETON, r);
3420
3434
  }
@@ -3423,7 +3437,7 @@ var eo = (
3423
3437
  type: Ue.number,
3424
3438
  tokens: n,
3425
3439
  location: r,
3426
- parsedOptions: this.shouldParseSkeletons ? Fi(n) : {}
3440
+ parsedOptions: this.shouldParseSkeletons ? $i(n) : {}
3427
3441
  },
3428
3442
  err: null
3429
3443
  };
@@ -3471,7 +3485,7 @@ var eo = (
3471
3485
  break;
3472
3486
  }
3473
3487
  var h = R(i, this.clonePosition());
3474
- return o ? (s *= n, Yi(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3488
+ return o ? (s *= n, Ji(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3475
3489
  }, e.prototype.offset = function() {
3476
3490
  return this.position.offset;
3477
3491
  }, e.prototype.isEOF = function() {
@@ -3486,7 +3500,7 @@ var eo = (
3486
3500
  var t = this.position.offset;
3487
3501
  if (t >= this.message.length)
3488
3502
  throw Error("out of bound");
3489
- var r = an(this.message, t);
3503
+ var r = hn(this.message, t);
3490
3504
  if (r === void 0)
3491
3505
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3492
3506
  return r;
@@ -3505,7 +3519,7 @@ var eo = (
3505
3519
  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);
3506
3520
  }
3507
3521
  }, e.prototype.bumpIf = function(t) {
3508
- if (Sr(this.message, t, this.offset())) {
3522
+ if (Hr(this.message, t, this.offset())) {
3509
3523
  for (var r = 0; r < t.length; r++)
3510
3524
  this.bump();
3511
3525
  return !0;
@@ -3527,7 +3541,7 @@ var eo = (
3527
3541
  break;
3528
3542
  }
3529
3543
  }, e.prototype.bumpSpace = function() {
3530
- for (; !this.isEOF() && ln(this.char()); )
3544
+ for (; !this.isEOF() && cn(this.char()); )
3531
3545
  this.bump();
3532
3546
  }, e.prototype.peek = function() {
3533
3547
  if (this.isEOF())
@@ -3537,38 +3551,38 @@ var eo = (
3537
3551
  }, e;
3538
3552
  }()
3539
3553
  );
3540
- function Jt(e) {
3554
+ function Kt(e) {
3541
3555
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3542
3556
  }
3543
- function to(e) {
3544
- return Jt(e) || e === 47;
3557
+ function no(e) {
3558
+ return Kt(e) || e === 47;
3545
3559
  }
3546
- function ro(e) {
3560
+ function io(e) {
3547
3561
  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;
3548
3562
  }
3549
- function ln(e) {
3563
+ function cn(e) {
3550
3564
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3551
3565
  }
3552
- function no(e) {
3566
+ function oo(e) {
3553
3567
  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;
3554
3568
  }
3555
- function Kt(e) {
3569
+ function er(e) {
3556
3570
  e.forEach(function(t) {
3557
- if (delete t.location, Jr(t) || Kr(t))
3571
+ if (delete t.location, tn(t) || rn(t))
3558
3572
  for (var r in t.options)
3559
- delete t.options[r].location, Kt(t.options[r].value);
3573
+ delete t.options[r].location, er(t.options[r].value);
3560
3574
  else
3561
- qr(t) && tn(t.style) || (Yr(t) || Qr(t)) && Zt(t.style) ? delete t.style.location : en(t) && Kt(t.children);
3575
+ Jr(t) && on(t.style) || (Kr(t) || en(t)) && qt(t.style) ? delete t.style.location : nn(t) && er(t.children);
3562
3576
  });
3563
3577
  }
3564
- function io(e, t) {
3578
+ function so(e, t) {
3565
3579
  t === void 0 && (t = {}), t = U({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3566
- var r = new eo(e, t).parse();
3580
+ var r = new ro(e, t).parse();
3567
3581
  if (r.err) {
3568
3582
  var n = SyntaxError(N[r.err.kind]);
3569
3583
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3570
3584
  }
3571
- return t?.captureLocation || Kt(r.val), r.val;
3585
+ return t?.captureLocation || er(r.val), r.val;
3572
3586
  }
3573
3587
  var $e;
3574
3588
  (function(e) {
@@ -3586,7 +3600,7 @@ var Ht = (
3586
3600
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3587
3601
  }, t;
3588
3602
  }(Error)
3589
- ), Ar = (
3603
+ ), Ir = (
3590
3604
  /** @class */
3591
3605
  function(e) {
3592
3606
  _e(t, e);
@@ -3595,7 +3609,7 @@ var Ht = (
3595
3609
  }
3596
3610
  return t;
3597
3611
  }(Ht)
3598
- ), oo = (
3612
+ ), ao = (
3599
3613
  /** @class */
3600
3614
  function(e) {
3601
3615
  _e(t, e);
@@ -3604,7 +3618,7 @@ var Ht = (
3604
3618
  }
3605
3619
  return t;
3606
3620
  }(Ht)
3607
- ), so = (
3621
+ ), uo = (
3608
3622
  /** @class */
3609
3623
  function(e) {
3610
3624
  _e(t, e);
@@ -3617,17 +3631,17 @@ var Ht = (
3617
3631
  (function(e) {
3618
3632
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3619
3633
  })(Q || (Q = {}));
3620
- function ao(e) {
3634
+ function lo(e) {
3621
3635
  return e.length < 2 ? e : e.reduce(function(t, r) {
3622
3636
  var n = t[t.length - 1];
3623
3637
  return !n || n.type !== Q.literal || r.type !== Q.literal ? t.push(r) : n.value += r.value, t;
3624
3638
  }, []);
3625
3639
  }
3626
- function uo(e) {
3640
+ function ho(e) {
3627
3641
  return typeof e == "function";
3628
3642
  }
3629
3643
  function yt(e, t, r, n, i, o, s) {
3630
- if (e.length === 1 && _r(e[0]))
3644
+ if (e.length === 1 && xr(e[0]))
3631
3645
  return [
3632
3646
  {
3633
3647
  type: Q.literal,
@@ -3636,14 +3650,14 @@ function yt(e, t, r, n, i, o, s) {
3636
3650
  ];
3637
3651
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3638
3652
  var f = l[h];
3639
- if (_r(f)) {
3653
+ if (xr(f)) {
3640
3654
  a.push({
3641
3655
  type: Q.literal,
3642
3656
  value: f.value
3643
3657
  });
3644
3658
  continue;
3645
3659
  }
3646
- if (Li(f)) {
3660
+ if (Oi(f)) {
3647
3661
  typeof o == "number" && a.push({
3648
3662
  type: Q.literal,
3649
3663
  value: r.getNumberFormat(t).format(o)
@@ -3652,44 +3666,44 @@ function yt(e, t, r, n, i, o, s) {
3652
3666
  }
3653
3667
  var p = f.value;
3654
3668
  if (!(i && p in i))
3655
- throw new so(p, s);
3669
+ throw new uo(p, s);
3656
3670
  var g = i[p];
3657
- if (Ii(f)) {
3671
+ if (Ci(f)) {
3658
3672
  (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
3659
3673
  type: typeof g == "string" ? Q.literal : Q.object,
3660
3674
  value: g
3661
3675
  });
3662
3676
  continue;
3663
3677
  }
3664
- if (Yr(f)) {
3665
- var y = typeof f.style == "string" ? n.date[f.style] : Zt(f.style) ? f.style.parsedOptions : void 0;
3678
+ if (Kr(f)) {
3679
+ var y = typeof f.style == "string" ? n.date[f.style] : qt(f.style) ? f.style.parsedOptions : void 0;
3666
3680
  a.push({
3667
3681
  type: Q.literal,
3668
3682
  value: r.getDateTimeFormat(t, y).format(g)
3669
3683
  });
3670
3684
  continue;
3671
3685
  }
3672
- if (Qr(f)) {
3673
- var y = typeof f.style == "string" ? n.time[f.style] : Zt(f.style) ? f.style.parsedOptions : n.time.medium;
3686
+ if (en(f)) {
3687
+ var y = typeof f.style == "string" ? n.time[f.style] : qt(f.style) ? f.style.parsedOptions : n.time.medium;
3674
3688
  a.push({
3675
3689
  type: Q.literal,
3676
3690
  value: r.getDateTimeFormat(t, y).format(g)
3677
3691
  });
3678
3692
  continue;
3679
3693
  }
3680
- if (qr(f)) {
3681
- var y = typeof f.style == "string" ? n.number[f.style] : tn(f.style) ? f.style.parsedOptions : void 0;
3694
+ if (Jr(f)) {
3695
+ var y = typeof f.style == "string" ? n.number[f.style] : on(f.style) ? f.style.parsedOptions : void 0;
3682
3696
  y && y.scale && (g = g * (y.scale || 1)), a.push({
3683
3697
  type: Q.literal,
3684
3698
  value: r.getNumberFormat(t, y).format(g)
3685
3699
  });
3686
3700
  continue;
3687
3701
  }
3688
- if (en(f)) {
3689
- var H = f.children, w = f.value, C = i[w];
3690
- if (!uo(C))
3691
- throw new oo(w, "function", s);
3692
- var P = yt(H, t, r, n, i, o), I = C(P.map(function(T) {
3702
+ if (nn(f)) {
3703
+ var H = f.children, w = f.value, O = i[w];
3704
+ if (!ho(O))
3705
+ throw new ao(w, "function", s);
3706
+ var P = yt(H, t, r, n, i, o), I = O(P.map(function(T) {
3693
3707
  return T.value;
3694
3708
  }));
3695
3709
  Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(T) {
@@ -3699,14 +3713,14 @@ function yt(e, t, r, n, i, o, s) {
3699
3713
  };
3700
3714
  }));
3701
3715
  }
3702
- if (Jr(f)) {
3716
+ if (tn(f)) {
3703
3717
  var B = f.options[g] || f.options.other;
3704
3718
  if (!B)
3705
- throw new Ar(f.value, g, Object.keys(f.options), s);
3719
+ throw new Ir(f.value, g, Object.keys(f.options), s);
3706
3720
  a.push.apply(a, yt(B.value, t, r, n, i));
3707
3721
  continue;
3708
3722
  }
3709
- if (Kr(f)) {
3723
+ if (rn(f)) {
3710
3724
  var B = f.options["=".concat(g)];
3711
3725
  if (!B) {
3712
3726
  if (!Intl.PluralRules)
@@ -3717,24 +3731,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3717
3731
  B = f.options[L] || f.options.other;
3718
3732
  }
3719
3733
  if (!B)
3720
- throw new Ar(f.value, g, Object.keys(f.options), s);
3734
+ throw new Ir(f.value, g, Object.keys(f.options), s);
3721
3735
  a.push.apply(a, yt(B.value, t, r, n, i, g - (f.offset || 0)));
3722
3736
  continue;
3723
3737
  }
3724
3738
  }
3725
- return ao(a);
3739
+ return lo(a);
3726
3740
  }
3727
- function lo(e, t) {
3741
+ function fo(e, t) {
3728
3742
  return t ? U(U(U({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3729
3743
  return r[n] = U(U({}, e[n]), t[n] || {}), r;
3730
3744
  }, {})) : e;
3731
3745
  }
3732
- function ho(e, t) {
3746
+ function co(e, t) {
3733
3747
  return t ? Object.keys(e).reduce(function(r, n) {
3734
- return r[n] = lo(e[n], t[n]), r;
3748
+ return r[n] = fo(e[n], t[n]), r;
3735
3749
  }, U({}, e)) : e;
3736
3750
  }
3737
- function Ut(e) {
3751
+ function $t(e) {
3738
3752
  return {
3739
3753
  create: function() {
3740
3754
  return {
@@ -3748,39 +3762,39 @@ function Ut(e) {
3748
3762
  }
3749
3763
  };
3750
3764
  }
3751
- function fo(e) {
3765
+ function po(e) {
3752
3766
  return e === void 0 && (e = {
3753
3767
  number: {},
3754
3768
  dateTime: {},
3755
3769
  pluralRules: {}
3756
3770
  }), {
3757
- getNumberFormat: Rt(function() {
3771
+ getNumberFormat: Dt(function() {
3758
3772
  for (var t, r = [], n = 0; n < arguments.length; n++)
3759
3773
  r[n] = arguments[n];
3760
3774
  return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3761
3775
  }, {
3762
- cache: Ut(e.number),
3763
- strategy: Dt.variadic
3776
+ cache: $t(e.number),
3777
+ strategy: Ft.variadic
3764
3778
  }),
3765
- getDateTimeFormat: Rt(function() {
3779
+ getDateTimeFormat: Dt(function() {
3766
3780
  for (var t, r = [], n = 0; n < arguments.length; n++)
3767
3781
  r[n] = arguments[n];
3768
3782
  return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3769
3783
  }, {
3770
- cache: Ut(e.dateTime),
3771
- strategy: Dt.variadic
3784
+ cache: $t(e.dateTime),
3785
+ strategy: Ft.variadic
3772
3786
  }),
3773
- getPluralRules: Rt(function() {
3787
+ getPluralRules: Dt(function() {
3774
3788
  for (var t, r = [], n = 0; n < arguments.length; n++)
3775
3789
  r[n] = arguments[n];
3776
3790
  return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3777
3791
  }, {
3778
- cache: Ut(e.pluralRules),
3779
- strategy: Dt.variadic
3792
+ cache: $t(e.pluralRules),
3793
+ strategy: Ft.variadic
3780
3794
  })
3781
3795
  };
3782
3796
  }
3783
- var co = (
3797
+ var mo = (
3784
3798
  /** @class */
3785
3799
  function() {
3786
3800
  function e(t, r, n, i) {
@@ -3812,13 +3826,13 @@ var co = (
3812
3826
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3813
3827
  var s = i || {};
3814
3828
  s.formatters;
3815
- var a = Wn(s, ["formatters"]);
3829
+ var a = Vn(s, ["formatters"]);
3816
3830
  this.ast = e.__parse(t, U(U({}, a), { locale: this.resolvedLocale }));
3817
3831
  } else
3818
3832
  this.ast = t;
3819
3833
  if (!Array.isArray(this.ast))
3820
3834
  throw new TypeError("A message must be provided as a String or AST.");
3821
- this.formats = ho(e.formats, n), this.formatters = i && i.formatters || fo(this.formatterCache);
3835
+ this.formats = co(e.formats, n), this.formatters = i && i.formatters || po(this.formatterCache);
3822
3836
  }
3823
3837
  return Object.defineProperty(e, "defaultLocale", {
3824
3838
  get: function() {
@@ -3831,7 +3845,7 @@ var co = (
3831
3845
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3832
3846
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3833
3847
  }
3834
- }, e.__parse = io, e.formats = {
3848
+ }, e.__parse = so, e.formats = {
3835
3849
  number: {
3836
3850
  integer: {
3837
3851
  maximumFractionDigits: 0
@@ -3892,7 +3906,7 @@ var co = (
3892
3906
  }, e;
3893
3907
  }()
3894
3908
  );
3895
- function po(e, t) {
3909
+ function go(e, t) {
3896
3910
  if (t == null)
3897
3911
  return;
3898
3912
  if (t in e)
@@ -3913,92 +3927,92 @@ function po(e, t) {
3913
3927
  n = void 0;
3914
3928
  return n;
3915
3929
  }
3916
- const we = {}, mo = (e, t, r) => r && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = r), r), hn = (e, t) => {
3930
+ const we = {}, vo = (e, t, r) => r && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = r), r), dn = (e, t) => {
3917
3931
  if (t == null)
3918
3932
  return;
3919
3933
  if (t in we && e in we[t])
3920
3934
  return we[t][e];
3921
3935
  const r = At(t);
3922
3936
  for (let n = 0; n < r.length; n++) {
3923
- const i = r[n], o = bo(i, e);
3937
+ const i = r[n], o = yo(i, e);
3924
3938
  if (o)
3925
- return mo(e, t, o);
3939
+ return vo(e, t, o);
3926
3940
  }
3927
3941
  };
3928
- let sr;
3942
+ let ur;
3929
3943
  const We = Tt({});
3930
- function go(e) {
3931
- return sr[e] || null;
3944
+ function bo(e) {
3945
+ return ur[e] || null;
3932
3946
  }
3933
- function fn(e) {
3934
- return e in sr;
3947
+ function pn(e) {
3948
+ return e in ur;
3935
3949
  }
3936
- function bo(e, t) {
3937
- if (!fn(e))
3950
+ function yo(e, t) {
3951
+ if (!pn(e))
3938
3952
  return null;
3939
- const r = go(e);
3940
- return po(r, t);
3953
+ const r = bo(e);
3954
+ return go(r, t);
3941
3955
  }
3942
- function vo(e) {
3956
+ function _o(e) {
3943
3957
  if (e == null)
3944
3958
  return;
3945
3959
  const t = At(e);
3946
3960
  for (let r = 0; r < t.length; r++) {
3947
3961
  const n = t[r];
3948
- if (fn(n))
3962
+ if (pn(n))
3949
3963
  return n;
3950
3964
  }
3951
3965
  }
3952
- function cn(e, ...t) {
3953
- delete we[e], We.update((r) => (r[e] = Ei.all([r[e] || {}, ...t]), r));
3966
+ function mn(e, ...t) {
3967
+ delete we[e], We.update((r) => (r[e] = Si.all([r[e] || {}, ...t]), r));
3954
3968
  }
3955
3969
  je(
3956
3970
  [We],
3957
3971
  ([e]) => Object.keys(e)
3958
3972
  );
3959
- We.subscribe((e) => sr = e);
3973
+ We.subscribe((e) => ur = e);
3960
3974
  const _t = {};
3961
- function yo(e, t) {
3975
+ function Eo(e, t) {
3962
3976
  _t[e].delete(t), _t[e].size === 0 && delete _t[e];
3963
3977
  }
3964
- function dn(e) {
3978
+ function gn(e) {
3965
3979
  return _t[e];
3966
3980
  }
3967
- function _o(e) {
3981
+ function xo(e) {
3968
3982
  return At(e).map((t) => {
3969
- const r = dn(t);
3983
+ const r = gn(t);
3970
3984
  return [t, r ? [...r] : []];
3971
3985
  }).filter(([, t]) => t.length > 0);
3972
3986
  }
3973
- function er(e) {
3987
+ function tr(e) {
3974
3988
  return e == null ? !1 : At(e).some(
3975
3989
  (t) => {
3976
3990
  var r;
3977
- return (r = dn(t)) == null ? void 0 : r.size;
3991
+ return (r = gn(t)) == null ? void 0 : r.size;
3978
3992
  }
3979
3993
  );
3980
3994
  }
3981
- function Eo(e, t) {
3995
+ function wo(e, t) {
3982
3996
  return Promise.all(
3983
- t.map((n) => (yo(e, n), n().then((i) => i.default || i)))
3984
- ).then((n) => cn(e, ...n));
3997
+ t.map((n) => (Eo(e, n), n().then((i) => i.default || i)))
3998
+ ).then((n) => mn(e, ...n));
3985
3999
  }
3986
4000
  const et = {};
3987
- function pn(e) {
3988
- if (!er(e))
4001
+ function vn(e) {
4002
+ if (!tr(e))
3989
4003
  return e in et ? et[e] : Promise.resolve();
3990
- const t = _o(e);
4004
+ const t = xo(e);
3991
4005
  return et[e] = Promise.all(
3992
4006
  t.map(
3993
- ([r, n]) => Eo(r, n)
4007
+ ([r, n]) => wo(r, n)
3994
4008
  )
3995
4009
  ).then(() => {
3996
- if (er(e))
3997
- return pn(e);
4010
+ if (tr(e))
4011
+ return vn(e);
3998
4012
  delete et[e];
3999
4013
  }), et[e];
4000
4014
  }
4001
- const xo = {
4015
+ const So = {
4002
4016
  number: {
4003
4017
  scientific: { notation: "scientific" },
4004
4018
  engineering: { notation: "engineering" },
@@ -4027,57 +4041,57 @@ const xo = {
4027
4041
  timeZoneName: "short"
4028
4042
  }
4029
4043
  }
4030
- }, wo = {
4044
+ }, To = {
4031
4045
  fallbackLocale: null,
4032
4046
  loadingDelay: 200,
4033
- formats: xo,
4047
+ formats: So,
4034
4048
  warnOnMissingMessages: !0,
4035
4049
  handleMissingMessage: void 0,
4036
4050
  ignoreTag: !0
4037
- }, So = wo;
4051
+ }, Ho = To;
4038
4052
  function Ge() {
4039
- return So;
4040
- }
4041
- const $t = Tt(!1);
4042
- var To = Object.defineProperty, Ho = Object.defineProperties, Ao = Object.getOwnPropertyDescriptors, Br = Object.getOwnPropertySymbols, Bo = Object.prototype.hasOwnProperty, Io = Object.prototype.propertyIsEnumerable, Ir = (e, t, r) => t in e ? To(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lo = (e, t) => {
4043
- for (var r in t)
4044
- Bo.call(t, r) && Ir(e, r, t[r]);
4045
- if (Br)
4046
- for (var r of Br(t))
4047
- Io.call(t, r) && Ir(e, r, t[r]);
4053
+ return Ho;
4054
+ }
4055
+ const Gt = Tt(!1);
4056
+ var Ao = Object.defineProperty, Bo = Object.defineProperties, Io = Object.getOwnPropertyDescriptors, Lr = Object.getOwnPropertySymbols, Lo = Object.prototype.hasOwnProperty, Co = Object.prototype.propertyIsEnumerable, Cr = (e, t, r) => t in e ? Ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oo = (e, t) => {
4057
+ for (var r in t || (t = {}))
4058
+ Lo.call(t, r) && Cr(e, r, t[r]);
4059
+ if (Lr)
4060
+ for (var r of Lr(t))
4061
+ Co.call(t, r) && Cr(e, r, t[r]);
4048
4062
  return e;
4049
- }, Oo = (e, t) => Ho(e, Ao(t));
4050
- let tr;
4063
+ }, Po = (e, t) => Bo(e, Io(t));
4064
+ let rr;
4051
4065
  const Et = Tt(null);
4052
- function Lr(e) {
4066
+ function Or(e) {
4053
4067
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4054
4068
  }
4055
4069
  function At(e, t = Ge().fallbackLocale) {
4056
- const r = Lr(e);
4057
- return t ? [.../* @__PURE__ */ new Set([...r, ...Lr(t)])] : r;
4070
+ const r = Or(e);
4071
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Or(t)])] : r;
4058
4072
  }
4059
4073
  function Be() {
4060
- return tr ?? void 0;
4074
+ return rr ?? void 0;
4061
4075
  }
4062
4076
  Et.subscribe((e) => {
4063
- tr = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4077
+ rr = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4064
4078
  });
4065
- const Co = (e) => {
4066
- if (e && vo(e) && er(e)) {
4079
+ const No = (e) => {
4080
+ if (e && _o(e) && tr(e)) {
4067
4081
  const { loadingDelay: t } = Ge();
4068
4082
  let r;
4069
4083
  return typeof window < "u" && Be() != null && t ? r = window.setTimeout(
4070
- () => $t.set(!0),
4084
+ () => Gt.set(!0),
4071
4085
  t
4072
- ) : $t.set(!0), pn(e).then(() => {
4086
+ ) : Gt.set(!0), vn(e).then(() => {
4073
4087
  Et.set(e);
4074
4088
  }).finally(() => {
4075
- clearTimeout(r), $t.set(!1);
4089
+ clearTimeout(r), Gt.set(!1);
4076
4090
  });
4077
4091
  }
4078
4092
  return Et.set(e);
4079
- }, Se = Oo(Lo({}, Et), {
4080
- set: Co
4093
+ }, Se = Po(Oo({}, Et), {
4094
+ set: No
4081
4095
  }), Bt = (e) => {
4082
4096
  const t = /* @__PURE__ */ Object.create(null);
4083
4097
  return (n) => {
@@ -4085,20 +4099,20 @@ const Co = (e) => {
4085
4099
  return i in t ? t[i] : t[i] = e(n);
4086
4100
  };
4087
4101
  };
4088
- var Po = Object.defineProperty, xt = Object.getOwnPropertySymbols, mn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, Or = (e, t, r) => t in e ? Po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ar = (e, t) => {
4102
+ var Mo = Object.defineProperty, xt = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable, Pr = (e, t, r) => t in e ? Mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lr = (e, t) => {
4089
4103
  for (var r in t || (t = {}))
4090
- mn.call(t, r) && Or(e, r, t[r]);
4104
+ bn.call(t, r) && Pr(e, r, t[r]);
4091
4105
  if (xt)
4092
4106
  for (var r of xt(t))
4093
- gn.call(t, r) && Or(e, r, t[r]);
4107
+ yn.call(t, r) && Pr(e, r, t[r]);
4094
4108
  return e;
4095
4109
  }, ke = (e, t) => {
4096
4110
  var r = {};
4097
4111
  for (var n in e)
4098
- mn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4112
+ bn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4099
4113
  if (e != null && xt)
4100
4114
  for (var n of xt(e))
4101
- t.indexOf(n) < 0 && gn.call(e, n) && (r[n] = e[n]);
4115
+ t.indexOf(n) < 0 && yn.call(e, n) && (r[n] = e[n]);
4102
4116
  return r;
4103
4117
  };
4104
4118
  const ot = (e, t) => {
@@ -4106,21 +4120,21 @@ const ot = (e, t) => {
4106
4120
  if (e in r && t in r[e])
4107
4121
  return r[e][t];
4108
4122
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4109
- }, No = Bt(
4123
+ }, Ro = Bt(
4110
4124
  (e) => {
4111
4125
  var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
4112
4126
  if (r == null)
4113
4127
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4114
4128
  return n && (i = ot("number", n)), new Intl.NumberFormat(r, i);
4115
4129
  }
4116
- ), Mo = Bt(
4130
+ ), Do = Bt(
4117
4131
  (e) => {
4118
4132
  var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
4119
4133
  if (r == null)
4120
4134
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4121
4135
  return n ? i = ot("date", n) : Object.keys(i).length === 0 && (i = ot("date", "short")), new Intl.DateTimeFormat(r, i);
4122
4136
  }
4123
- ), Ro = Bt(
4137
+ ), Fo = Bt(
4124
4138
  (e) => {
4125
4139
  var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
4126
4140
  if (r == null)
@@ -4129,33 +4143,33 @@ const ot = (e, t) => {
4129
4143
  );
4130
4144
  return n ? i = ot("time", n) : Object.keys(i).length === 0 && (i = ot("time", "short")), new Intl.DateTimeFormat(r, i);
4131
4145
  }
4132
- ), Do = (e = {}) => {
4146
+ ), Uo = (e = {}) => {
4133
4147
  var t = e, {
4134
4148
  locale: r = Be()
4135
4149
  } = t, n = ke(t, [
4136
4150
  "locale"
4137
4151
  ]);
4138
- return No(ar({ locale: r }, n));
4139
- }, Fo = (e = {}) => {
4152
+ return Ro(lr({ locale: r }, n));
4153
+ }, $o = (e = {}) => {
4140
4154
  var t = e, {
4141
4155
  locale: r = Be()
4142
4156
  } = t, n = ke(t, [
4143
4157
  "locale"
4144
4158
  ]);
4145
- return Mo(ar({ locale: r }, n));
4146
- }, Uo = (e = {}) => {
4159
+ return Do(lr({ locale: r }, n));
4160
+ }, Go = (e = {}) => {
4147
4161
  var t = e, {
4148
4162
  locale: r = Be()
4149
4163
  } = t, n = ke(t, [
4150
4164
  "locale"
4151
4165
  ]);
4152
- return Ro(ar({ locale: r }, n));
4153
- }, $o = Bt(
4166
+ return Fo(lr({ locale: r }, n));
4167
+ }, jo = Bt(
4154
4168
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4155
- (e, t = Be()) => new co(e, t, Ge().formats, {
4169
+ (e, t = Be()) => new mo(e, t, Ge().formats, {
4156
4170
  ignoreTag: Ge().ignoreTag
4157
4171
  })
4158
- ), Go = (e, t = {}) => {
4172
+ ), Wo = (e, t = {}) => {
4159
4173
  var r, n, i, o;
4160
4174
  let s = t;
4161
4175
  typeof e == "object" && (s = e, e = s.id);
@@ -4168,7 +4182,7 @@ const ot = (e, t) => {
4168
4182
  throw new Error(
4169
4183
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4170
4184
  );
4171
- let f = hn(e, h);
4185
+ let f = dn(e, h);
4172
4186
  if (!f)
4173
4187
  f = (o = (i = (n = (r = Ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4174
4188
  else if (typeof f != "string")
@@ -4179,7 +4193,7 @@ const ot = (e, t) => {
4179
4193
  return f;
4180
4194
  let p = f;
4181
4195
  try {
4182
- p = $o(f, h).format(a);
4196
+ p = jo(f, h).format(a);
4183
4197
  } catch (g) {
4184
4198
  g instanceof Error && console.warn(
4185
4199
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4187,14 +4201,14 @@ const ot = (e, t) => {
4187
4201
  );
4188
4202
  }
4189
4203
  return p;
4190
- }, jo = (e, t) => Uo(t).format(e), Wo = (e, t) => Fo(t).format(e), ko = (e, t) => Do(t).format(e), Xo = (e, t = Be()) => hn(e, t), Vo = je([Se, We], () => Go);
4191
- je([Se], () => jo);
4192
- je([Se], () => Wo);
4204
+ }, ko = (e, t) => Go(t).format(e), Xo = (e, t) => $o(t).format(e), Vo = (e, t) => Uo(t).format(e), zo = (e, t = Be()) => dn(e, t), Zo = je([Se, We], () => Wo);
4193
4205
  je([Se], () => ko);
4194
- je([Se, We], () => Xo);
4195
- window.emWidgets = { topic: ni };
4196
- const zo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4197
- var rr = { exports: {} };
4206
+ je([Se], () => Xo);
4207
+ je([Se], () => Vo);
4208
+ je([Se, We], () => zo);
4209
+ window.emWidgets = { topic: si };
4210
+ const qo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4211
+ var nr = { exports: {} };
4198
4212
  /** @license
4199
4213
  * eventsource.js
4200
4214
  * Available under MIT License (MIT)
@@ -4208,18 +4222,18 @@ var rr = { exports: {} };
4208
4222
  }, !1)), o == null && a != null && (o = function() {
4209
4223
  return new a("Microsoft.XMLHTTP");
4210
4224
  }), Object.create == null && (Object.create = function(u) {
4211
- function b() {
4225
+ function v() {
4212
4226
  }
4213
- return b.prototype = u, new b();
4227
+ return v.prototype = u, new v();
4214
4228
  }), Date.now || (Date.now = function() {
4215
4229
  return (/* @__PURE__ */ new Date()).getTime();
4216
4230
  }), w == null) {
4217
- var C = p;
4218
- p = function(u, b) {
4219
- var v = b.signal;
4220
- return C(u, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(m) {
4231
+ var O = p;
4232
+ p = function(u, v) {
4233
+ var b = v.signal;
4234
+ return O(u, { headers: v.headers, credentials: v.credentials, cache: v.cache }).then(function(m) {
4221
4235
  var A = m.body.getReader();
4222
- return v._reader = A, v._aborted && v._reader.cancel(), {
4236
+ return b._reader = A, b._aborted && b._reader.cancel(), {
4223
4237
  status: m.status,
4224
4238
  statusText: m.statusText,
4225
4239
  headers: m.headers,
@@ -4243,7 +4257,7 @@ var rr = { exports: {} };
4243
4257
  this.bitsNeeded = 0, this.codePoint = 0;
4244
4258
  }
4245
4259
  P.prototype.decode = function(u) {
4246
- function b(x, D, _) {
4260
+ function v(x, D, _) {
4247
4261
  if (_ === 1)
4248
4262
  return x >= 128 >> D && x << D <= 2047;
4249
4263
  if (_ === 2)
@@ -4252,7 +4266,7 @@ var rr = { exports: {} };
4252
4266
  return x >= 65536 >> D && x << D <= 1114111;
4253
4267
  throw new Error();
4254
4268
  }
4255
- function v(x, D) {
4269
+ function b(x, D) {
4256
4270
  if (x === 6 * 1)
4257
4271
  return D >> 6 > 15 ? 3 : D > 31 ? 2 : 1;
4258
4272
  if (x === 6 * 2)
@@ -4261,11 +4275,11 @@ var rr = { exports: {} };
4261
4275
  return 3;
4262
4276
  throw new Error();
4263
4277
  }
4264
- for (var m = 65533, A = "", S = this.bitsNeeded, O = this.codePoint, c = 0; c < u.length; c += 1) {
4278
+ for (var m = 65533, A = "", S = this.bitsNeeded, C = this.codePoint, c = 0; c < u.length; c += 1) {
4265
4279
  var d = u[c];
4266
- S !== 0 && (d < 128 || d > 191 || !b(O << 6 | d & 63, S - 6, v(S, O))) && (S = 0, O = m, A += String.fromCharCode(O)), S === 0 ? (d >= 0 && d <= 127 ? (S = 0, O = d) : d >= 192 && d <= 223 ? (S = 6 * 1, O = d & 31) : d >= 224 && d <= 239 ? (S = 6 * 2, O = d & 15) : d >= 240 && d <= 247 ? (S = 6 * 3, O = d & 7) : (S = 0, O = m), S !== 0 && !b(O, S, v(S, O)) && (S = 0, O = m)) : (S -= 6, O = O << 6 | d & 63), S === 0 && (O <= 65535 ? A += String.fromCharCode(O) : (A += String.fromCharCode(55296 + (O - 65535 - 1 >> 10)), A += String.fromCharCode(56320 + (O - 65535 - 1 & 1023))));
4280
+ S !== 0 && (d < 128 || d > 191 || !v(C << 6 | d & 63, S - 6, b(S, C))) && (S = 0, C = m, A += String.fromCharCode(C)), S === 0 ? (d >= 0 && d <= 127 ? (S = 0, C = d) : d >= 192 && d <= 223 ? (S = 6 * 1, C = d & 31) : d >= 224 && d <= 239 ? (S = 6 * 2, C = d & 15) : d >= 240 && d <= 247 ? (S = 6 * 3, C = d & 7) : (S = 0, C = m), S !== 0 && !v(C, S, b(S, C)) && (S = 0, C = m)) : (S -= 6, C = C << 6 | d & 63), S === 0 && (C <= 65535 ? A += String.fromCharCode(C) : (A += String.fromCharCode(55296 + (C - 65535 - 1 >> 10)), A += String.fromCharCode(56320 + (C - 65535 - 1 & 1023))));
4267
4281
  }
4268
- return this.bitsNeeded = S, this.codePoint = O, A;
4282
+ return this.bitsNeeded = S, this.codePoint = C, A;
4269
4283
  };
4270
4284
  var I = function() {
4271
4285
  try {
@@ -4281,13 +4295,13 @@ var rr = { exports: {} };
4281
4295
  function L(u) {
4282
4296
  this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = B, this.onload = B, this.onerror = B, this.onreadystatechange = B, this._contentType = "", this._xhr = u, this._sendTimeout = 0, this._abort = B;
4283
4297
  }
4284
- L.prototype.open = function(u, b) {
4298
+ L.prototype.open = function(u, v) {
4285
4299
  this._abort(!0);
4286
- var v = this, m = this._xhr, A = 1, S = 0;
4300
+ var b = this, m = this._xhr, A = 1, S = 0;
4287
4301
  this._abort = function(_) {
4288
- v._sendTimeout !== 0 && (i(v._sendTimeout), v._sendTimeout = 0), (A === 1 || A === 2 || A === 3) && (A = 4, m.onload = B, m.onerror = B, m.onabort = B, m.onprogress = B, m.onreadystatechange = B, m.abort(), S !== 0 && (i(S), S = 0), _ || (v.readyState = 4, v.onabort(null), v.onreadystatechange())), A = 0;
4302
+ b._sendTimeout !== 0 && (i(b._sendTimeout), b._sendTimeout = 0), (A === 1 || A === 2 || A === 3) && (A = 4, m.onload = B, m.onerror = B, m.onabort = B, m.onprogress = B, m.onreadystatechange = B, m.abort(), S !== 0 && (i(S), S = 0), _ || (b.readyState = 4, b.onabort(null), b.onreadystatechange())), A = 0;
4289
4303
  };
4290
- var O = function() {
4304
+ var C = function() {
4291
4305
  if (A === 1) {
4292
4306
  var _ = 0, F = "", de = void 0;
4293
4307
  if ("contentType" in m)
@@ -4298,34 +4312,34 @@ var rr = { exports: {} };
4298
4312
  } catch {
4299
4313
  _ = 0, F = "", de = void 0;
4300
4314
  }
4301
- _ !== 0 && (A = 2, v.readyState = 2, v.status = _, v.statusText = F, v._contentType = de, v.onreadystatechange());
4315
+ _ !== 0 && (A = 2, b.readyState = 2, b.status = _, b.statusText = F, b._contentType = de, b.onreadystatechange());
4302
4316
  }
4303
4317
  }, c = function() {
4304
- if (O(), A === 2 || A === 3) {
4318
+ if (C(), A === 2 || A === 3) {
4305
4319
  A = 3;
4306
4320
  var _ = "";
4307
4321
  try {
4308
4322
  _ = m.responseText;
4309
4323
  } catch {
4310
4324
  }
4311
- v.readyState = 3, v.responseText = _, v.onprogress();
4325
+ b.readyState = 3, b.responseText = _, b.onprogress();
4312
4326
  }
4313
4327
  }, d = function(_, F) {
4314
4328
  if ((F == null || F.preventDefault == null) && (F = {
4315
4329
  preventDefault: B
4316
4330
  }), c(), A === 1 || A === 2 || A === 3) {
4317
- if (A = 4, S !== 0 && (i(S), S = 0), v.readyState = 4, _ === "load")
4318
- v.onload(F);
4331
+ if (A = 4, S !== 0 && (i(S), S = 0), b.readyState = 4, _ === "load")
4332
+ b.onload(F);
4319
4333
  else if (_ === "error")
4320
- v.onerror(F);
4334
+ b.onerror(F);
4321
4335
  else if (_ === "abort")
4322
- v.onabort(F);
4336
+ b.onabort(F);
4323
4337
  else
4324
4338
  throw new TypeError();
4325
- v.onreadystatechange();
4339
+ b.onreadystatechange();
4326
4340
  }
4327
4341
  }, x = function(_) {
4328
- m != null && (m.readyState === 4 ? (!("onload" in m) || !("onerror" in m) || !("onabort" in m)) && d(m.responseText === "" ? "error" : "load", _) : m.readyState === 3 ? "onprogress" in m || c() : m.readyState === 2 && O());
4342
+ m != null && (m.readyState === 4 ? (!("onload" in m) || !("onerror" in m) || !("onabort" in m)) && d(m.responseText === "" ? "error" : "load", _) : m.readyState === 3 ? "onprogress" in m || c() : m.readyState === 2 && C());
4329
4343
  }, D = function() {
4330
4344
  S = n(function() {
4331
4345
  D();
@@ -4339,16 +4353,16 @@ var rr = { exports: {} };
4339
4353
  d("abort", _);
4340
4354
  }), "onprogress" in m && (m.onprogress = c), "onreadystatechange" in m && (m.onreadystatechange = function(_) {
4341
4355
  x(_);
4342
- }), ("contentType" in m || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), m.open(u, b, !0), "readyState" in m && (S = n(function() {
4356
+ }), ("contentType" in m || !("ontimeout" in o.prototype)) && (v += (v.indexOf("?") === -1 ? "?" : "&") + "padding=true"), m.open(u, v, !0), "readyState" in m && (S = n(function() {
4343
4357
  D();
4344
4358
  }, 0));
4345
4359
  }, L.prototype.abort = function() {
4346
4360
  this._abort(!1);
4347
4361
  }, L.prototype.getResponseHeader = function(u) {
4348
4362
  return this._contentType;
4349
- }, L.prototype.setRequestHeader = function(u, b) {
4350
- var v = this._xhr;
4351
- "setRequestHeader" in v && v.setRequestHeader(u, b);
4363
+ }, L.prototype.setRequestHeader = function(u, v) {
4364
+ var b = this._xhr;
4365
+ "setRequestHeader" in b && b.setRequestHeader(u, v);
4352
4366
  }, L.prototype.getAllResponseHeaders = function() {
4353
4367
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4354
4368
  }, L.prototype.send = function() {
@@ -4359,38 +4373,38 @@ var rr = { exports: {} };
4359
4373
  }, 4);
4360
4374
  return;
4361
4375
  }
4362
- var b = this._xhr;
4363
- "withCredentials" in b && (b.withCredentials = this.withCredentials);
4376
+ var v = this._xhr;
4377
+ "withCredentials" in v && (v.withCredentials = this.withCredentials);
4364
4378
  try {
4365
- b.send(void 0);
4366
- } catch (v) {
4367
- throw v;
4379
+ v.send(void 0);
4380
+ } catch (b) {
4381
+ throw b;
4368
4382
  }
4369
4383
  };
4370
4384
  function T(u) {
4371
- return u.replace(/[A-Z]/g, function(b) {
4372
- return String.fromCharCode(b.charCodeAt(0) + 32);
4385
+ return u.replace(/[A-Z]/g, function(v) {
4386
+ return String.fromCharCode(v.charCodeAt(0) + 32);
4373
4387
  });
4374
4388
  }
4375
4389
  function M(u) {
4376
- for (var b = /* @__PURE__ */ Object.create(null), v = u.split(`\r
4377
- `), m = 0; m < v.length; m += 1) {
4378
- var A = v[m], S = A.split(": "), O = S.shift(), c = S.join(": ");
4379
- b[T(O)] = c;
4390
+ for (var v = /* @__PURE__ */ Object.create(null), b = u.split(`\r
4391
+ `), m = 0; m < b.length; m += 1) {
4392
+ var A = b[m], S = A.split(": "), C = S.shift(), c = S.join(": ");
4393
+ v[T(C)] = c;
4380
4394
  }
4381
- this._map = b;
4395
+ this._map = v;
4382
4396
  }
4383
4397
  M.prototype.get = function(u) {
4384
4398
  return this._map[T(u)];
4385
4399
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4386
4400
  function $() {
4387
4401
  }
4388
- $.prototype.open = function(u, b, v, m, A, S, O) {
4402
+ $.prototype.open = function(u, v, b, m, A, S, C) {
4389
4403
  u.open("GET", A);
4390
4404
  var c = 0;
4391
4405
  u.onprogress = function() {
4392
4406
  var x = u.responseText, D = x.slice(c);
4393
- c += D.length, v(D);
4407
+ c += D.length, b(D);
4394
4408
  }, u.onerror = function(x) {
4395
4409
  x.preventDefault(), m(new Error("NetworkError"));
4396
4410
  }, u.onload = function() {
@@ -4400,11 +4414,11 @@ var rr = { exports: {} };
4400
4414
  }, u.onreadystatechange = function() {
4401
4415
  if (u.readyState === o.HEADERS_RECEIVED) {
4402
4416
  var x = u.status, D = u.statusText, _ = u.getResponseHeader("Content-Type"), F = u.getAllResponseHeaders();
4403
- b(x, D, _, new M(F));
4417
+ v(x, D, _, new M(F));
4404
4418
  }
4405
4419
  }, u.withCredentials = S;
4406
- for (var d in O)
4407
- Object.prototype.hasOwnProperty.call(O, d) && u.setRequestHeader(d, O[d]);
4420
+ for (var d in C)
4421
+ Object.prototype.hasOwnProperty.call(C, d) && u.setRequestHeader(d, C[d]);
4408
4422
  return u.send(), u;
4409
4423
  };
4410
4424
  function ae(u) {
@@ -4415,22 +4429,22 @@ var rr = { exports: {} };
4415
4429
  };
4416
4430
  function Ie() {
4417
4431
  }
4418
- Ie.prototype.open = function(u, b, v, m, A, S, O) {
4432
+ Ie.prototype.open = function(u, v, b, m, A, S, C) {
4419
4433
  var c = null, d = new w(), x = d.signal, D = new y();
4420
4434
  return p(A, {
4421
- headers: O,
4435
+ headers: C,
4422
4436
  credentials: S ? "include" : "same-origin",
4423
4437
  signal: x,
4424
4438
  cache: "no-store"
4425
4439
  }).then(function(_) {
4426
- return c = _.body.getReader(), b(_.status, _.statusText, _.headers.get("Content-Type"), new ae(_.headers)), new f(function(F, de) {
4440
+ return c = _.body.getReader(), v(_.status, _.statusText, _.headers.get("Content-Type"), new ae(_.headers)), new f(function(F, de) {
4427
4441
  var Je = function() {
4428
4442
  c.read().then(function(K) {
4429
4443
  if (K.done)
4430
4444
  F(void 0);
4431
4445
  else {
4432
4446
  var Z = D.decode(K.value, { stream: !0 });
4433
- v(Z), Je();
4447
+ b(Z), Je();
4434
4448
  }
4435
4449
  }).catch(function(K) {
4436
4450
  de(K);
@@ -4459,69 +4473,69 @@ var rr = { exports: {} };
4459
4473
  }
4460
4474
  le.prototype.dispatchEvent = function(u) {
4461
4475
  u.target = this;
4462
- var b = this._listeners[u.type];
4463
- if (b != null)
4464
- for (var v = b.length, m = 0; m < v; m += 1) {
4465
- var A = b[m];
4476
+ var v = this._listeners[u.type];
4477
+ if (v != null)
4478
+ for (var b = v.length, m = 0; m < b; m += 1) {
4479
+ var A = v[m];
4466
4480
  try {
4467
4481
  typeof A.handleEvent == "function" ? A.handleEvent(u) : A.call(this, u);
4468
4482
  } catch (S) {
4469
4483
  Xe(S);
4470
4484
  }
4471
4485
  }
4472
- }, le.prototype.addEventListener = function(u, b) {
4486
+ }, le.prototype.addEventListener = function(u, v) {
4473
4487
  u = String(u);
4474
- var v = this._listeners, m = v[u];
4475
- m == null && (m = [], v[u] = m);
4488
+ var b = this._listeners, m = b[u];
4489
+ m == null && (m = [], b[u] = m);
4476
4490
  for (var A = !1, S = 0; S < m.length; S += 1)
4477
- m[S] === b && (A = !0);
4478
- A || m.push(b);
4479
- }, le.prototype.removeEventListener = function(u, b) {
4491
+ m[S] === v && (A = !0);
4492
+ A || m.push(v);
4493
+ }, le.prototype.removeEventListener = function(u, v) {
4480
4494
  u = String(u);
4481
- var v = this._listeners, m = v[u];
4495
+ var b = this._listeners, m = b[u];
4482
4496
  if (m != null) {
4483
4497
  for (var A = [], S = 0; S < m.length; S += 1)
4484
- m[S] !== b && A.push(m[S]);
4485
- A.length === 0 ? delete v[u] : v[u] = A;
4498
+ m[S] !== v && A.push(m[S]);
4499
+ A.length === 0 ? delete b[u] : b[u] = A;
4486
4500
  }
4487
4501
  };
4488
4502
  function Ee(u) {
4489
4503
  this.type = u, this.target = void 0;
4490
4504
  }
4491
- function st(u, b) {
4492
- Ee.call(this, u), this.data = b.data, this.lastEventId = b.lastEventId;
4505
+ function st(u, v) {
4506
+ Ee.call(this, u), this.data = v.data, this.lastEventId = v.lastEventId;
4493
4507
  }
4494
4508
  st.prototype = Object.create(Ee.prototype);
4495
- function Ve(u, b) {
4496
- Ee.call(this, u), this.status = b.status, this.statusText = b.statusText, this.headers = b.headers;
4509
+ function Ve(u, v) {
4510
+ Ee.call(this, u), this.status = v.status, this.statusText = v.statusText, this.headers = v.headers;
4497
4511
  }
4498
4512
  Ve.prototype = Object.create(Ee.prototype);
4499
- function at(u, b) {
4500
- Ee.call(this, u), this.error = b.error;
4513
+ function at(u, v) {
4514
+ Ee.call(this, u), this.error = v.error;
4501
4515
  }
4502
4516
  at.prototype = Object.create(Ee.prototype);
4503
- var xe = -1, z = 0, he = 1, fe = 2, ze = -1, ne = 0, Ze = 1, qe = 2, ut = 3, It = /^text\/event\-stream(;.*)?$/i, lt = 1e3, Ye = 18e6, Qe = function(u, b) {
4504
- var v = u == null ? b : parseInt(u, 10);
4505
- return v !== v && (v = b), Le(v);
4517
+ var xe = -1, z = 0, he = 1, fe = 2, ze = -1, ne = 0, Ze = 1, qe = 2, ut = 3, It = /^text\/event\-stream(;.*)?$/i, lt = 1e3, Ye = 18e6, Qe = function(u, v) {
4518
+ var b = u == null ? v : parseInt(u, 10);
4519
+ return b !== b && (b = v), Le(b);
4506
4520
  }, Le = function(u) {
4507
4521
  return Math.min(Math.max(u, lt), Ye);
4508
- }, ce = function(u, b, v) {
4522
+ }, ce = function(u, v, b) {
4509
4523
  try {
4510
- typeof b == "function" && b.call(u, v);
4524
+ typeof v == "function" && v.call(u, b);
4511
4525
  } catch (m) {
4512
4526
  Xe(m);
4513
4527
  }
4514
4528
  };
4515
- function J(u, b) {
4516
- le.call(this), b = b || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ot(this, u, b);
4529
+ function J(u, v) {
4530
+ le.call(this), v = v || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ct(this, u, v);
4517
4531
  }
4518
4532
  function ht() {
4519
4533
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4520
4534
  }
4521
4535
  var Lt = p != null && g != null && "body" in g.prototype;
4522
- function Ot(u, b, v) {
4523
- b = String(b);
4524
- var m = !!v.withCredentials, A = v.lastEventIdQueryParameterName || "lastEventId", S = Le(1e3), O = Qe(v.heartbeatTimeout, 45e3), c = "", d = S, x = !1, D = 0, _ = v.headers || {}, F = v.Transport, de = Lt && F == null ? void 0 : new L(F != null ? new F() : ht()), Je = F != null && typeof F != "string" ? new F() : de == null ? new Ie() : new $(), K = void 0, Z = 0, ie = xe, Oe = "", ct = "", pe = "", dt = "", q = ne, Ct = 0, Te = 0, vn = function(X, k, ee, te) {
4536
+ function Ct(u, v, b) {
4537
+ v = String(v);
4538
+ var m = !!b.withCredentials, A = b.lastEventIdQueryParameterName || "lastEventId", S = Le(1e3), C = Qe(b.heartbeatTimeout, 45e3), c = "", d = S, x = !1, D = 0, _ = b.headers || {}, F = b.Transport, de = Lt && F == null ? void 0 : new L(F != null ? new F() : ht()), Je = F != null && typeof F != "string" ? new F() : de == null ? new Ie() : new $(), K = void 0, Z = 0, ie = xe, Ce = "", ct = "", pe = "", dt = "", q = ne, Ot = 0, Te = 0, En = function(X, k, ee, te) {
4525
4539
  if (ie === z)
4526
4540
  if (X === 200 && ee != null && It.test(ee)) {
4527
4541
  ie = he, x = Date.now(), d = S, u.readyState = he;
@@ -4541,7 +4555,7 @@ var rr = { exports: {} };
4541
4555
  });
4542
4556
  u.dispatchEvent(Y), ce(u, u.onerror, Y), console.error(V);
4543
4557
  }
4544
- }, yn = function(X) {
4558
+ }, xn = function(X) {
4545
4559
  if (ie === he) {
4546
4560
  for (var k = -1, ee = 0; ee < X.length; ee += 1) {
4547
4561
  var te = X.charCodeAt(ee);
@@ -4556,30 +4570,30 @@ var rr = { exports: {} };
4556
4570
  else if (q === ze && (q = ne), te === 13 || te === 10) {
4557
4571
  if (q !== ne) {
4558
4572
  q === Ze && (Te = V + 1);
4559
- var me = Y.slice(Ct, Te - 1), ge = Y.slice(Te + (Te < V && Y.charCodeAt(Te) === 32 ? 1 : 0), V);
4560
- me === "data" ? (Oe += `
4561
- `, Oe += ge) : me === "id" ? ct = ge : me === "event" ? pe = ge : me === "retry" ? (S = Qe(ge, S), d = S) : me === "heartbeatTimeout" && (O = Qe(ge, O), Z !== 0 && (i(Z), Z = n(function() {
4573
+ var me = Y.slice(Ot, Te - 1), ge = Y.slice(Te + (Te < V && Y.charCodeAt(Te) === 32 ? 1 : 0), V);
4574
+ me === "data" ? (Ce += `
4575
+ `, Ce += ge) : me === "id" ? ct = ge : me === "event" ? pe = ge : me === "retry" ? (S = Qe(ge, S), d = S) : me === "heartbeatTimeout" && (C = Qe(ge, C), Z !== 0 && (i(Z), Z = n(function() {
4562
4576
  Ke();
4563
- }, O)));
4577
+ }, C)));
4564
4578
  }
4565
4579
  if (q === ne) {
4566
- if (Oe !== "") {
4580
+ if (Ce !== "") {
4567
4581
  c = ct, pe === "" && (pe = "message");
4568
- var Ce = new st(pe, {
4569
- data: Oe.slice(1),
4582
+ var Oe = new st(pe, {
4583
+ data: Ce.slice(1),
4570
4584
  lastEventId: ct
4571
4585
  });
4572
- if (u.dispatchEvent(Ce), pe === "open" ? ce(u, u.onopen, Ce) : pe === "message" ? ce(u, u.onmessage, Ce) : pe === "error" && ce(u, u.onerror, Ce), ie === fe)
4586
+ if (u.dispatchEvent(Oe), pe === "open" ? ce(u, u.onopen, Oe) : pe === "message" ? ce(u, u.onmessage, Oe) : pe === "error" && ce(u, u.onerror, Oe), ie === fe)
4573
4587
  return;
4574
4588
  }
4575
- Oe = "", pe = "";
4589
+ Ce = "", pe = "";
4576
4590
  }
4577
4591
  q = te === 13 ? ze : ne;
4578
4592
  } else
4579
- q === ne && (Ct = V, q = Ze), q === Ze ? te === 58 && (Te = V + 1, q = qe) : q === qe && (q = ut);
4593
+ q === ne && (Ot = V, q = Ze), q === Ze ? te === 58 && (Te = V + 1, q = qe) : q === qe && (q = ut);
4580
4594
  }
4581
4595
  }
4582
- }, ur = function(X) {
4596
+ }, hr = function(X) {
4583
4597
  if (ie === he || ie === z) {
4584
4598
  ie = xe, Z !== 0 && (i(Z), Z = 0), Z = n(function() {
4585
4599
  Ke();
@@ -4592,9 +4606,9 @@ var rr = { exports: {} };
4592
4606
  }, Ke = function() {
4593
4607
  if (Z = 0, ie !== xe) {
4594
4608
  if (!x && K != null)
4595
- ur(new Error("No activity within " + O + " milliseconds. " + (ie === z ? "No response received." : D + " chars received.") + " Reconnecting.")), K != null && (K.abort(), K = void 0);
4609
+ hr(new Error("No activity within " + C + " milliseconds. " + (ie === z ? "No response received." : D + " chars received.") + " Reconnecting.")), K != null && (K.abort(), K = void 0);
4596
4610
  else {
4597
- var X = Math.max((x || Date.now()) + O - Date.now(), 1);
4611
+ var X = Math.max((x || Date.now()) + C - Date.now(), 1);
4598
4612
  x = !1, Z = n(function() {
4599
4613
  Ke();
4600
4614
  }, X);
@@ -4603,13 +4617,13 @@ var rr = { exports: {} };
4603
4617
  }
4604
4618
  x = !1, D = 0, Z = n(function() {
4605
4619
  Ke();
4606
- }, O), ie = z, Oe = "", pe = "", ct = c, dt = "", Ct = 0, Te = 0, q = ne;
4607
- var k = b;
4608
- if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && c !== "") {
4609
- var ee = b.indexOf("?");
4610
- k = ee === -1 ? b : b.slice(0, ee + 1) + b.slice(ee + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ge, Ce) {
4611
- return Ce === A ? "" : ge;
4612
- }), k += (b.indexOf("?") === -1 ? "?" : "&") + A + "=" + encodeURIComponent(c);
4620
+ }, C), ie = z, Ce = "", pe = "", ct = c, dt = "", Ot = 0, Te = 0, q = ne;
4621
+ var k = v;
4622
+ if (v.slice(0, 5) !== "data:" && v.slice(0, 5) !== "blob:" && c !== "") {
4623
+ var ee = v.indexOf("?");
4624
+ k = ee === -1 ? v : v.slice(0, ee + 1) + v.slice(ee + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ge, Oe) {
4625
+ return Oe === A ? "" : ge;
4626
+ }), k += (v.indexOf("?") === -1 ? "?" : "&") + A + "=" + encodeURIComponent(c);
4613
4627
  }
4614
4628
  var te = u.withCredentials, Y = {};
4615
4629
  Y.Accept = "text/event-stream";
@@ -4618,12 +4632,12 @@ var rr = { exports: {} };
4618
4632
  for (var me in V)
4619
4633
  Object.prototype.hasOwnProperty.call(V, me) && (Y[me] = V[me]);
4620
4634
  try {
4621
- K = Je.open(de, vn, yn, ur, k, te, Y);
4635
+ K = Je.open(de, En, xn, hr, k, te, Y);
4622
4636
  } catch (ge) {
4623
4637
  throw Pt(), ge;
4624
4638
  }
4625
4639
  };
4626
- u.url = b, u.readyState = z, u.withCredentials = m, u.headers = _, u._close = Pt, Ke();
4640
+ u.url = v, u.readyState = z, u.withCredentials = m, u.headers = _, u._close = Pt, Ke();
4627
4641
  }
4628
4642
  J.prototype = Object.create(le.prototype), J.prototype.CONNECTING = z, J.prototype.OPEN = he, J.prototype.CLOSED = fe, J.prototype.close = function() {
4629
4643
  this._close();
@@ -4631,27 +4645,27 @@ var rr = { exports: {} };
4631
4645
  var ft = h;
4632
4646
  o != null && (h == null || !("withCredentials" in h.prototype)) && (ft = J), function(u) {
4633
4647
  {
4634
- var b = u(t);
4635
- b !== void 0 && (e.exports = b);
4648
+ var v = u(t);
4649
+ v !== void 0 && (e.exports = v);
4636
4650
  }
4637
4651
  }(function(u) {
4638
4652
  u.EventSourcePolyfill = J, u.NativeEventSource = h, u.EventSource = ft;
4639
4653
  });
4640
- })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : oi : globalThis);
4641
- })(rr, rr.exports);
4642
- var Zo = rr.exports;
4643
- function qo({ withLocale: e, translations: t }) {
4654
+ })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ui : globalThis);
4655
+ })(nr, nr.exports);
4656
+ var Yo = nr.exports;
4657
+ function Qo({ withLocale: e, translations: t }) {
4644
4658
  Se.subscribe((r) => {
4645
4659
  r == null && (We.set(t), Se.set(e));
4646
4660
  });
4647
4661
  }
4648
- function Cr(e, t) {
4649
- cn(e, t);
4662
+ function Nr(e, t) {
4663
+ mn(e, t);
4650
4664
  }
4651
- function Yo(e) {
4665
+ function Jo(e) {
4652
4666
  Se.set(e);
4653
4667
  }
4654
- const Pr = {
4668
+ const Mr = {
4655
4669
  en: {
4656
4670
  wageringSlider: {
4657
4671
  title: "- Wagering Bonus -",
@@ -4688,7 +4702,7 @@ const Pr = {
4688
4702
  noWageringMsg: "You don't have any wagering bonus."
4689
4703
  }
4690
4704
  }
4691
- }, Qo = (e) => {
4705
+ }, Ko = (e) => {
4692
4706
  const t = window.BigInt;
4693
4707
  if (!e || e == null || e.length === 0)
4694
4708
  return;
@@ -4703,15 +4717,15 @@ const Pr = {
4703
4717
  ),
4704
4718
  maxId: r.toString()
4705
4719
  };
4706
- }, Jo = (e, t) => JSON.stringify(
4720
+ }, es = (e, t) => JSON.stringify(
4707
4721
  e.map((r) => ({
4708
4722
  bonusWalletID: r.id,
4709
4723
  progressID: t[r.id] || 0
4710
4724
  }))
4711
- ), Ko = (e, t) => {
4725
+ ), ts = (e, t) => {
4712
4726
  let r = document.createElement("style");
4713
4727
  r.innerHTML = t, e.appendChild(r);
4714
- }, es = (e, t) => {
4728
+ }, rs = (e, t) => {
4715
4729
  let r = new URL(t), n = document.createElement("style");
4716
4730
  fetch(r.href).then((i) => i.text()).then((i) => {
4717
4731
  n.innerHTML = i, setTimeout(() => {
@@ -4731,19 +4745,19 @@ if (typeof window < "u") {
4731
4745
  }
4732
4746
  };
4733
4747
  };
4734
- customElements.define = e(customElements.define), import("./GeneralIconProgressBar-JveRAlQZ.js").then(({ default: t }) => {
4748
+ customElements.define = e(customElements.define), import("./GeneralIconProgressBar-C1TWUHTi.js").then(({ default: t }) => {
4735
4749
  !customElements.get("general-icon-progress-bar") && customElements.define("general-icon-progress-bar", t.element);
4736
4750
  });
4737
4751
  }
4738
- const bn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.67757%202.5647L3.72412%20-1.25356e-07L5.77067%202.5647L3.72412%205.12939L1.67757%202.5647Z'%20fill='%23FF8B03'/%3e%3crect%20x='0.468506'%20y='6.1134'%20width='6.55827'%20height='0.936896'%20fill='%23FF8B03'/%3e%3cpath%20d='M7.49512%201.42889L0.4684%205.64492H7.02667L7.49512%201.42889Z'%20fill='%23FFB82E'/%3e%3cpath%20d='M0%201.42889L7.02672%205.64492H0.468448L0%201.42889Z'%20fill='%23FFD700'/%3e%3c/svg%3e";
4739
- function ts(e) {
4740
- xn(e, "svelte-l28bzx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}div{vertical-align:middle}.WageringBonusWrapper,.SliderWrapper{overflow:hidden;width:100%;height:100%;min-width:150px;min-height:92px;max-width:188px;max-height:108px}.WageringBonusWrapper{position:relative}.SliderIcon{position:absolute;top:0px;right:0;cursor:pointer}.ShowWidget{transition:all 1s ease-in-out;transform:translateX(0);display:table;opacity:1}.HiddenWidget{transition:all 1s ease-in-out;transform:translateX(100%);opacity:0}.SliderWrapper{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;border:1px solid #FF8364;background:linear-gradient(90deg, rgba(40, 40, 40, 0.7) 0%, #847c7c 26.06%, #847c7c 72.19%, rgba(40, 40, 40, 0.7) 100%);border-radius:4px;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);display:table}.LeftArrow,.RightArrow{padding:3px;height:100%;display:table-cell;vertical-align:middle;cursor:pointer;color:var(--emw--bonus-card-red, var(--emw--color-red, #FF8364))}.LeftArrow.Disabled,.RightArrow.Disabled{background:var(--emw--color-gray-300, #A9A8A8)}.LeftArrow{padding-right:0px}.RightArrow{padding-left:0px}.SliderCenter{height:100%;overflow:hidden}.SliderCenter .Title{font-style:normal;font-weight:700;font-size:12px;line-height:12px;text-align:center;color:var(--emw--bonus-card-yellow, var(--emw--color-yellow, #FFD700));margin:5px auto 3px}.SliderCenter .Hidden{opacity:0;transition:opacity;animation:0.2s}.SliderCenter .WagerList{height:calc(100% - 20px);display:block;position:relative}.SliderCenter .WagerList .hiddenDiv{transform:translateX(var(--transformToValue, 100%));animation:slideOut 1s;-moz-animation:slideOut 1s;-webkit-animation:slideOut 1s;-o-animation:slideOut 1s}.SliderCenter .WagerList .shownDiv{animation:slideIn 1.5s;-moz-animation:slideIn 1.5s;-webkit-animation:slideIn 1.5s;-o-animation:slideIn 1.5s}.SliderCenter .WagerList .WageringBonusInfo{overflow:hidden;display:block;height:100%;width:100%;position:absolute;top:0}.SliderCenter .WagerList .WageringBonusInfo .trophy{display:table-cell;vertical-align:middle;padding:3px}.SliderCenter .WagerList .WageringBonusInfo .trophy img.MiniIcon{width:18px;height:18px}.SliderCenter .WagerList .WageringBonusInfo .BonusName{display:table;height:calc(100% - 25px)}.SliderCenter .WagerList .WageringBonusInfo .BonusName .gameInfo{cursor:pointer;font-style:normal;font-weight:400;font-size:11px;line-height:13px;display:table-cell;align-items:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));vertical-align:middle;overflow:hidden}.SliderCenter .bottom{width:100%;height:20px;vertical-align:bottom;margin-bottom:5px}.svg{height:12px}.svg img.MiniIcon{width:14px;height:14px}.restoreButton{display:table}.hideButton{transform:rotate(180deg);position:absolute;top:0px;right:2px;display:table;color:var(--emw--bonus-card-red, var(--emw--color-red, #FF8364));cursor:pointer}.NoWageringMsg{text-align:center;display:flex;align-items:center;height:100%;font-size:0.8rem;padding:10px}@keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue))}to{opacity:1;transform:translateX(0)}}@keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-moz-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 100%))}to{opacity:1;transform:translateX(0)}}@-moz-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-webkit-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-o-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-o-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}");
4752
+ const _n = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.67757%202.5647L3.72412%20-1.25356e-07L5.77067%202.5647L3.72412%205.12939L1.67757%202.5647Z'%20fill='%23FF8B03'/%3e%3crect%20x='0.468506'%20y='6.1134'%20width='6.55827'%20height='0.936896'%20fill='%23FF8B03'/%3e%3cpath%20d='M7.49512%201.42889L0.4684%205.64492H7.02667L7.49512%201.42889Z'%20fill='%23FFB82E'/%3e%3cpath%20d='M0%201.42889L7.02672%205.64492H0.468448L0%201.42889Z'%20fill='%23FFD700'/%3e%3c/svg%3e";
4753
+ function ns(e) {
4754
+ Tn(e, "svelte-l28bzx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}div{vertical-align:middle}.WageringBonusWrapper,.SliderWrapper{overflow:hidden;width:100%;height:100%;min-width:150px;min-height:92px;max-width:188px;max-height:108px}.WageringBonusWrapper{position:relative}.SliderIcon{position:absolute;top:0px;right:0;cursor:pointer}.ShowWidget{transition:all 1s ease-in-out;transform:translateX(0);display:table;opacity:1}.HiddenWidget{transition:all 1s ease-in-out;transform:translateX(100%);opacity:0}.SliderWrapper{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;border:1px solid #FF8364;background:linear-gradient(90deg, rgba(40, 40, 40, 0.7) 0%, #847c7c 26.06%, #847c7c 72.19%, rgba(40, 40, 40, 0.7) 100%);border-radius:4px;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);display:table}.LeftArrow,.RightArrow{padding:3px;height:100%;display:table-cell;vertical-align:middle;cursor:pointer;color:var(--emw--bonus-card-red, var(--emw--color-red, #FF8364))}.LeftArrow.Disabled,.RightArrow.Disabled{background:var(--emw--color-gray-300, #A9A8A8)}.LeftArrow{padding-right:0px}.RightArrow{padding-left:0px}.SliderCenter{height:100%;overflow:hidden}.SliderCenter .Title{font-style:normal;font-weight:700;font-size:12px;line-height:12px;text-align:center;color:var(--emw--bonus-card-yellow, var(--emw--color-yellow, #FFD700));margin:5px auto 3px}.SliderCenter .Hidden{opacity:0;transition:opacity;animation:0.2s}.SliderCenter .WagerList{height:calc(100% - 20px);display:block;position:relative}.SliderCenter .WagerList .hiddenDiv{transform:translateX(var(--transformToValue, 100%));animation:slideOut 1s;-moz-animation:slideOut 1s;-webkit-animation:slideOut 1s;-o-animation:slideOut 1s}.SliderCenter .WagerList .shownDiv{animation:slideIn 1.5s;-moz-animation:slideIn 1.5s;-webkit-animation:slideIn 1.5s;-o-animation:slideIn 1.5s}.SliderCenter .WagerList .WageringBonusInfo{overflow:hidden;display:block;height:100%;width:100%;position:absolute;top:0}.SliderCenter .WagerList .WageringBonusInfo .trophy{display:table-cell;vertical-align:middle;padding:3px}.SliderCenter .WagerList .WageringBonusInfo .trophy img.MiniIcon{width:18px;height:18px}.SliderCenter .WagerList .WageringBonusInfo .BonusName{display:table;height:calc(100% - 25px)}.SliderCenter .WagerList .WageringBonusInfo .BonusName .gameInfo{cursor:pointer;font-style:normal;font-weight:400;font-size:11px;line-height:13px;display:table-cell;align-items:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));vertical-align:middle;overflow:hidden}.SliderCenter .bottom{width:100%;height:20px;vertical-align:bottom;margin-bottom:5px}.svg{height:12px}.svg img.MiniIcon{width:14px;height:14px}.restoreButton{display:table}.hideButton{transform:rotate(180deg);position:absolute;top:0px;right:2px;display:table;color:var(--emw--bonus-card-red, var(--emw--color-red, #FF8364));cursor:pointer}.NoWageringMsg{text-align:center;display:flex;align-items:center;height:100%;font-size:0.8rem;padding:10px}@keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue))}to{opacity:1;transform:translateX(0)}}@keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-moz-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 100%))}to{opacity:1;transform:translateX(0)}}@-moz-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-webkit-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}@-o-keyframes slideIn{from{opacity:0;transform:translateX(var(--transformFromValue, 0))}to{opacity:1;transform:translateX(0)}}@-o-keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--transformToValue, 100%))}}");
4741
4755
  }
4742
- function Nr(e, t, r) {
4756
+ function Rr(e, t, r) {
4743
4757
  const n = e.slice();
4744
4758
  return n[60] = t[r], n[62] = r, n;
4745
4759
  }
4746
- function rs(e) {
4760
+ function is(e) {
4747
4761
  let t, r = (
4748
4762
  /*$_*/
4749
4763
  e[10]("wageringSlider.noWageringMsg") + ""
@@ -4753,42 +4767,42 @@ function rs(e) {
4753
4767
  t = W("div"), n = wt(r), E(t, "class", "NoWageringMsg");
4754
4768
  },
4755
4769
  m(i, o) {
4756
- be(i, t, o), G(t, n);
4770
+ ve(i, t, o), G(t, n);
4757
4771
  },
4758
4772
  p(i, o) {
4759
4773
  o[0] & /*$_*/
4760
4774
  1024 && r !== (r = /*$_*/
4761
- i[10]("wageringSlider.noWageringMsg") + "") && ir(n, r);
4775
+ i[10]("wageringSlider.noWageringMsg") + "") && or(n, r);
4762
4776
  },
4763
4777
  d(i) {
4764
4778
  i && ue(t);
4765
4779
  }
4766
4780
  };
4767
4781
  }
4768
- function ns(e) {
4782
+ function os(e) {
4769
4783
  let t, r, n, i, o, s, a, h = (
4770
4784
  /*$_*/
4771
4785
  e[10]("wageringSlider.title") + ""
4772
- ), l, f, p, g, y, H, w, C, P, I, B = fr(
4786
+ ), l, f, p, g, y, H, w, O, P, I, B = dr(
4773
4787
  /*wageringList*/
4774
4788
  e[2]
4775
4789
  ), L = [];
4776
4790
  for (let T = 0; T < B.length; T += 1)
4777
- L[T] = Mr(Nr(e, B, T));
4791
+ L[T] = Dr(Rr(e, B, T));
4778
4792
  return {
4779
4793
  c() {
4780
- t = W("div"), r = pt("svg"), n = pt("path"), o = ve(), s = W("div"), a = W("div"), l = wt(h), f = ve(), p = W("div");
4794
+ t = W("div"), r = pt("svg"), n = pt("path"), o = be(), s = W("div"), a = W("div"), l = wt(h), f = be(), p = W("div");
4781
4795
  for (let T = 0; T < L.length; T += 1)
4782
4796
  L[T].c();
4783
- g = ve(), y = W("div"), H = pt("svg"), w = pt("path"), E(n, "d", "M3 7L1 4L3 1"), E(n, "stroke", "currentColor"), E(n, "stroke-linecap", "round"), E(n, "stroke-linejoin", "round"), E(r, "width", "6"), E(r, "height", "14"), E(r, "viewBox", "0 0 4 8"), E(r, "fill", "none"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(t, "class", i = "LeftArrow " + /*isFirst*/
4784
- (e[5] ? "Disabled" : "")), E(t, "role", "button"), E(t, "tabindex", "0"), E(a, "class", "Title Top"), E(p, "class", "WagerList"), E(s, "class", "SliderCenter"), E(w, "d", "M1 1L3 4L1 7"), E(w, "stroke", "currentColor"), E(w, "stroke-linecap", "round"), E(w, "stroke-linejoin", "round"), E(H, "width", "6"), E(H, "height", "14"), E(H, "viewBox", "0 0 4 8"), E(H, "fill", "none"), E(H, "xmlns", "http://www.w3.org/2000/svg"), E(y, "class", C = "RightArrow " + /*isLast*/
4797
+ g = be(), y = W("div"), H = pt("svg"), w = pt("path"), E(n, "d", "M3 7L1 4L3 1"), E(n, "stroke", "currentColor"), E(n, "stroke-linecap", "round"), E(n, "stroke-linejoin", "round"), E(r, "width", "6"), E(r, "height", "14"), E(r, "viewBox", "0 0 4 8"), E(r, "fill", "none"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(t, "class", i = "LeftArrow " + /*isFirst*/
4798
+ (e[5] ? "Disabled" : "")), E(t, "role", "button"), E(t, "tabindex", "0"), E(a, "class", "Title Top"), E(p, "class", "WagerList"), E(s, "class", "SliderCenter"), E(w, "d", "M1 1L3 4L1 7"), E(w, "stroke", "currentColor"), E(w, "stroke-linecap", "round"), E(w, "stroke-linejoin", "round"), E(H, "width", "6"), E(H, "height", "14"), E(H, "viewBox", "0 0 4 8"), E(H, "fill", "none"), E(H, "xmlns", "http://www.w3.org/2000/svg"), E(y, "class", O = "RightArrow " + /*isLast*/
4785
4799
  (e[6] ? "Disabled" : "")), E(y, "role", "button"), E(y, "tabindex", "0");
4786
4800
  },
4787
4801
  m(T, M) {
4788
- be(T, t, M), G(t, r), G(r, n), be(T, o, M), be(T, s, M), G(s, a), G(a, l), G(s, f), G(s, p);
4802
+ ve(T, t, M), G(t, r), G(r, n), ve(T, o, M), ve(T, s, M), G(s, a), G(a, l), G(s, f), G(s, p);
4789
4803
  for (let $ = 0; $ < L.length; $ += 1)
4790
4804
  L[$] && L[$].m(p, null);
4791
- be(T, g, M), be(T, y, M), G(y, H), G(H, w), P || (I = [
4805
+ ve(T, g, M), ve(T, y, M), G(y, H), G(H, w), P || (I = [
4792
4806
  He(
4793
4807
  t,
4794
4808
  "click",
@@ -4820,35 +4834,35 @@ function ns(e) {
4820
4834
  32 && i !== (i = "LeftArrow " + /*isFirst*/
4821
4835
  (T[5] ? "Disabled" : "")) && E(t, "class", i), M[0] & /*$_*/
4822
4836
  1024 && h !== (h = /*$_*/
4823
- T[10]("wageringSlider.title") + "") && ir(l, h), M[0] & /*currentWagerIdx, hiddenDivClass, wageringList, progressfractiondigit, onWagingBonusTitleClick*/
4837
+ T[10]("wageringSlider.title") + "") && or(l, h), M[0] & /*currentWagerIdx, hiddenDivClass, wageringList, progressfractiondigit, onWagingBonusTitleClick*/
4824
4838
  16909) {
4825
- B = fr(
4839
+ B = dr(
4826
4840
  /*wageringList*/
4827
4841
  T[2]
4828
4842
  );
4829
4843
  let $;
4830
4844
  for ($ = 0; $ < B.length; $ += 1) {
4831
- const ae = Nr(T, B, $);
4832
- L[$] ? L[$].p(ae, M) : (L[$] = Mr(ae), L[$].c(), L[$].m(p, null));
4845
+ const ae = Rr(T, B, $);
4846
+ L[$] ? L[$].p(ae, M) : (L[$] = Dr(ae), L[$].c(), L[$].m(p, null));
4833
4847
  }
4834
4848
  for (; $ < L.length; $ += 1)
4835
4849
  L[$].d(1);
4836
4850
  L.length = B.length;
4837
4851
  }
4838
4852
  M[0] & /*isLast*/
4839
- 64 && C !== (C = "RightArrow " + /*isLast*/
4840
- (T[6] ? "Disabled" : "")) && E(y, "class", C);
4853
+ 64 && O !== (O = "RightArrow " + /*isLast*/
4854
+ (T[6] ? "Disabled" : "")) && E(y, "class", O);
4841
4855
  },
4842
4856
  d(T) {
4843
- T && (ue(t), ue(o), ue(s), ue(g), ue(y)), Tn(L, T), P = !1, Ae(I);
4857
+ T && (ue(t), ue(o), ue(s), ue(g), ue(y)), Bn(L, T), P = !1, Ae(I);
4844
4858
  }
4845
4859
  };
4846
4860
  }
4847
- function Mr(e) {
4861
+ function Dr(e) {
4848
4862
  let t, r, n, i, o, s = (
4849
4863
  /*wagerInfo*/
4850
4864
  e[60].title + ""
4851
- ), a, h, l, f, p, g, y, H, w, C, P, I, B;
4865
+ ), a, h, l, f, p, g, y, H, w, O, P, I, B;
4852
4866
  function L() {
4853
4867
  return (
4854
4868
  /*click_handler_2*/
@@ -4860,7 +4874,7 @@ function Mr(e) {
4860
4874
  }
4861
4875
  return {
4862
4876
  c() {
4863
- t = W("div"), r = W("div"), n = W("div"), n.innerHTML = `<img alt="crown" class="MiniIcon" src="${bn}"/>`, i = ve(), o = W("div"), a = wt(s), h = ve(), l = W("div"), f = W("general-icon-progress-bar"), C = ve(), E(n, "class", "trophy"), E(o, "class", "gameInfo"), E(o, "role", "button"), E(o, "tabindex", "0"), E(r, "class", "BonusName"), re(f, "currentstep", p = /*wagerInfo*/
4877
+ t = W("div"), r = W("div"), n = W("div"), n.innerHTML = `<img alt="crown" class="MiniIcon" src="${_n}"/>`, i = be(), o = W("div"), a = wt(s), h = be(), l = W("div"), f = W("general-icon-progress-bar"), O = be(), E(n, "class", "trophy"), E(o, "class", "gameInfo"), E(o, "role", "button"), E(o, "tabindex", "0"), E(r, "class", "BonusName"), re(f, "currentstep", p = /*wagerInfo*/
4864
4878
  e[60].currentStep), re(f, "status", g = /*wagerInfo*/
4865
4879
  e[60].status), re(f, "triggerreset", y = /*wagerInfo*/
4866
4880
  e[60].triggerreset), re(f, "total", H = /*wagerInfo*/
@@ -4878,12 +4892,12 @@ function Mr(e) {
4878
4892
  ) : "shownDiv"));
4879
4893
  },
4880
4894
  m(T, M) {
4881
- be(T, t, M), G(t, r), G(r, n), G(r, i), G(r, o), G(o, a), G(t, h), G(t, l), G(l, f), G(t, C), I || (B = He(o, "click", L), I = !0);
4895
+ ve(T, t, M), G(t, r), G(r, n), G(r, i), G(r, o), G(o, a), G(t, h), G(t, l), G(l, f), G(t, O), I || (B = He(o, "click", L), I = !0);
4882
4896
  },
4883
4897
  p(T, M) {
4884
4898
  e = T, M[0] & /*wageringList*/
4885
4899
  4 && s !== (s = /*wagerInfo*/
4886
- e[60].title + "") && ir(a, s), M[0] & /*wageringList*/
4900
+ e[60].title + "") && or(a, s), M[0] & /*wageringList*/
4887
4901
  4 && p !== (p = /*wagerInfo*/
4888
4902
  e[60].currentStep) && re(f, "currentstep", p), M[0] & /*wageringList*/
4889
4903
  4 && g !== (g = /*wagerInfo*/
@@ -4912,7 +4926,7 @@ function Mr(e) {
4912
4926
  }
4913
4927
  };
4914
4928
  }
4915
- function is(e) {
4929
+ function ss(e) {
4916
4930
  let t, r, n, i, o, s, a, h, l, f, p, g, y;
4917
4931
  function H(P, I) {
4918
4932
  if (
@@ -4920,23 +4934,23 @@ function is(e) {
4920
4934
  P[2] && /*wageringList*/
4921
4935
  P[2].length > 0
4922
4936
  )
4923
- return ns;
4937
+ return os;
4924
4938
  if (
4925
4939
  /*wageringList*/
4926
4940
  P[2] && /*wageringList*/
4927
4941
  P[2].length == 0
4928
4942
  )
4929
- return rs;
4943
+ return is;
4930
4944
  }
4931
- let w = H(e), C = w && w(e);
4945
+ let w = H(e), O = w && w(e);
4932
4946
  return {
4933
4947
  c() {
4934
- t = W("div"), r = W("div"), n = W("div"), n.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', i = ve(), C && C.c(), s = ve(), a = W("section"), h = W("div"), h.innerHTML = `<img alt="crown" part="Icon" class="MiniIcon" src="${bn}"/>`, l = ve(), f = W("div"), f.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', E(n, "class", "hideButton"), E(n, "role", "button"), E(n, "tabindex", "0"), E(r, "class", o = "SliderWrapper " + /*isIconMode*/
4948
+ t = W("div"), r = W("div"), n = W("div"), n.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', i = be(), O && O.c(), s = be(), a = W("section"), h = W("div"), h.innerHTML = `<img alt="crown" part="Icon" class="MiniIcon" src="${_n}"/>`, l = be(), f = W("div"), f.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', E(n, "class", "hideButton"), E(n, "role", "button"), E(n, "tabindex", "0"), E(r, "class", o = "SliderWrapper " + /*isIconMode*/
4935
4949
  (e[8] ? "HiddenWidget" : "ShowWidget")), E(h, "class", "svg"), E(h, "part", "AnimatorIconWrapper"), E(f, "class", "restoreButton"), E(f, "part", "RestoreButton"), E(a, "id", "animator"), E(a, "class", p = "SliderIcon " + /*isIconMode*/
4936
4950
  (e[8] ? "ShowWidget" : "HiddenWidget")), E(a, "role", "button"), E(a, "tabindex", "0"), E(t, "class", "WageringBonusWrapper");
4937
4951
  },
4938
4952
  m(P, I) {
4939
- be(P, t, I), G(t, r), G(r, n), G(r, i), C && C.m(r, null), e[30](r), G(t, s), G(t, a), G(a, h), G(a, l), G(a, f), e[31](a), e[33](t), g || (y = [
4953
+ ve(P, t, I), G(t, r), G(r, n), G(r, i), O && O.m(r, null), e[30](r), G(t, s), G(t, a), G(a, h), G(a, l), G(a, f), e[31](a), e[33](t), g || (y = [
4940
4954
  He(
4941
4955
  n,
4942
4956
  "click",
@@ -4952,7 +4966,7 @@ function is(e) {
4952
4966
  ], g = !0);
4953
4967
  },
4954
4968
  p(P, I) {
4955
- w === (w = H(P)) && C ? C.p(P, I) : (C && C.d(1), C = w && w(P), C && (C.c(), C.m(r, null))), I[0] & /*isIconMode*/
4969
+ w === (w = H(P)) && O ? O.p(P, I) : (O && O.d(1), O = w && w(P), O && (O.c(), O.m(r, null))), I[0] & /*isIconMode*/
4956
4970
  256 && o !== (o = "SliderWrapper " + /*isIconMode*/
4957
4971
  (P[8] ? "HiddenWidget" : "ShowWidget")) && E(r, "class", o), I[0] & /*isIconMode*/
4958
4972
  256 && p !== (p = "SliderIcon " + /*isIconMode*/
@@ -4961,29 +4975,29 @@ function is(e) {
4961
4975
  i: se,
4962
4976
  o: se,
4963
4977
  d(P) {
4964
- P && ue(t), C && C.d(), e[30](null), e[31](null), e[33](null), g = !1, Ae(y);
4978
+ P && ue(t), O && O.d(), e[30](null), e[31](null), e[33](null), g = !1, Ae(y);
4965
4979
  }
4966
4980
  };
4967
4981
  }
4968
- function os(e, t, r) {
4982
+ function as(e, t, r) {
4969
4983
  let n;
4970
- En(e, Vo, (c) => r(10, n = c));
4971
- let { endpoint: i } = t, { session: o } = t, { lang: s = "en" } = t, { numberofrecords: a = "5" } = t, { looptime: h = "5" } = t, { translationurl: l = "" } = t, { progressfractiondigit: f = "1" } = t, { clientstyling: p = "" } = t, { clientstylingurl: g = "" } = t, y, H = window.navigator.userAgent, w = !0, C = !1, P, I, B = 0, L, T, M, $ = null, ae = null, Ie = !1, le = "Hidden", Xe = {};
4972
- qo({ withLocale: "en", translations: {} });
4984
+ Sn(e, Zo, (c) => r(10, n = c));
4985
+ let { endpoint: i } = t, { session: o } = t, { lang: s = "en" } = t, { numberofrecords: a = "5" } = t, { looptime: h = "5" } = t, { translationurl: l = "" } = t, { progressfractiondigit: f = "1" } = t, { clientstyling: p = "" } = t, { clientstylingurl: g = "" } = t, y, H = window.navigator.userAgent, w = !0, O = !1, P, I, B = 0, L, T, M, $ = null, ae = null, Ie = !1, le = "Hidden", Xe = {};
4986
+ Qo({ withLocale: "en", translations: {} });
4973
4987
  const Ee = () => {
4974
4988
  fetch(l).then((d) => d.json()).then((d) => {
4975
4989
  Object.keys(d).forEach((x) => {
4976
- Cr(x, d[x]);
4990
+ Nr(x, d[x]);
4977
4991
  });
4978
4992
  }).catch((d) => {
4979
4993
  console.error(d);
4980
4994
  });
4981
4995
  };
4982
- Object.keys(Pr).forEach((c) => {
4983
- Cr(c, Pr[c]);
4996
+ Object.keys(Mr).forEach((c) => {
4997
+ Nr(c, Mr[c]);
4984
4998
  });
4985
4999
  const st = () => {
4986
- Yo(s);
5000
+ Jo(s);
4987
5001
  }, Ve = (c) => {
4988
5002
  let d = 0;
4989
5003
  for (let _ of c.levels || []) {
@@ -5025,7 +5039,7 @@ function os(e, t, r) {
5025
5039
  Number(h) * 1e3
5026
5040
  ));
5027
5041
  }, z = (c) => {
5028
- if (r(9, le = "hiddenDiv"), c > 0 && C || c < 0 && w)
5042
+ if (r(9, le = "hiddenDiv"), c > 0 && O || c < 0 && w)
5029
5043
  return;
5030
5044
  xe(), T.style.setProperty("--transformFromValue", c > 0 ? "100%" : "-100%"), T.style.setProperty("--transformToValue", c > 0 ? "-100%" : "100%");
5031
5045
  let d = B + c;
@@ -5039,7 +5053,7 @@ function os(e, t, r) {
5039
5053
  let x = c[d.bonusWalletID];
5040
5054
  if (!x)
5041
5055
  return;
5042
- const { maxIdObj: D, maxId: _ } = Qo(x);
5056
+ const { maxIdObj: D, maxId: _ } = Ko(x);
5043
5057
  Xe[d.id] = _;
5044
5058
  let F = D;
5045
5059
  d.status = F.status, F.levelIncrement == 0 && (F.levelIncrement = 1, F.gap == 0), d.gap = F.gap, d.levelIncrement = F.levelIncrement, d.currentStep = d.levelIncrement - d.gap, d.triggerreset += 1;
@@ -5065,8 +5079,8 @@ function os(e, t, r) {
5065
5079
  if (Ze(o))
5066
5080
  return;
5067
5081
  qe();
5068
- let c = `${i}/v1/bonus/wagering/updates?walletFilter=${Jo(I, Xe)}&XSessionId=${o}`;
5069
- L = new Zo.EventSourcePolyfill(
5082
+ let c = `${i}/v1/bonus/wagering/updates?walletFilter=${es(I, Xe)}&XSessionId=${o}`;
5083
+ L = new Yo.EventSourcePolyfill(
5070
5084
  c,
5071
5085
  {
5072
5086
  headers: { accept: "text/event-stream" }
@@ -5076,7 +5090,7 @@ function os(e, t, r) {
5076
5090
  if (!i || !o)
5077
5091
  return;
5078
5092
  let d = new URL(`${c}/v1/bonus/granted`), x = new Headers();
5079
- d.searchParams.append("language", s), d.searchParams.append("platform", zo(H)), d.searchParams.append("status", "active"), d.searchParams.append("type", "wagering"), d.searchParams.append("pagination", `limit=${a},offset=0`), o && x.append("X-SessionID", o), fetch(d, { method: "GET", headers: x }).then((_) => _.json()).then((_) => {
5093
+ d.searchParams.append("language", s), d.searchParams.append("platform", qo(H)), d.searchParams.append("status", "active"), d.searchParams.append("type", "wagering"), d.searchParams.append("pagination", `limit=${a},offset=0`), o && x.append("X-SessionID", o), fetch(d, { method: "GET", headers: x }).then((_) => _.json()).then((_) => {
5080
5094
  if (d.searchParams.toString(), r(2, I = []), _.items && at(_), _.errorMessage && console.error(_.errorMessage), !I || I.length == 0) {
5081
5095
  r(2, I = [...I]), qe();
5082
5096
  return;
@@ -5106,16 +5120,16 @@ function os(e, t, r) {
5106
5120
  }, ht = (c) => {
5107
5121
  c.data && c.data.type;
5108
5122
  };
5109
- In(() => (xe(), window.addEventListener("message", ht, !1), () => {
5123
+ On(() => (xe(), window.addEventListener("message", ht, !1), () => {
5110
5124
  window.removeEventListener("message", ht, !1), T.removeEventListener("touchstart", Le), T.removeEventListener("touchmove", ce);
5111
5125
  }));
5112
5126
  const Lt = () => {
5113
5127
  fe();
5114
- }, Ot = () => z(-1), ft = () => {
5128
+ }, Ct = () => z(-1), ft = () => {
5115
5129
  Ye(!0);
5116
5130
  }, u = () => {
5117
5131
  Ye(!1);
5118
- }, b = (c) => lt(c.bonusWalletID), v = () => z(1);
5132
+ }, v = (c) => lt(c.bonusWalletID), b = () => z(1);
5119
5133
  function m(c) {
5120
5134
  rt[c ? "unshift" : "push"](() => {
5121
5135
  T = c, r(4, T);
@@ -5127,7 +5141,7 @@ function os(e, t, r) {
5127
5141
  });
5128
5142
  }
5129
5143
  const S = () => he();
5130
- function O(c) {
5144
+ function C(c) {
5131
5145
  rt[c ? "unshift" : "push"](() => {
5132
5146
  y = c, r(1, y);
5133
5147
  });
@@ -5136,14 +5150,14 @@ function os(e, t, r) {
5136
5150
  "endpoint" in c && r(16, i = c.endpoint), "session" in c && r(17, o = c.session), "lang" in c && r(18, s = c.lang), "numberofrecords" in c && r(19, a = c.numberofrecords), "looptime" in c && r(20, h = c.looptime), "translationurl" in c && r(21, l = c.translationurl), "progressfractiondigit" in c && r(0, f = c.progressfractiondigit), "clientstyling" in c && r(22, p = c.clientstyling), "clientstylingurl" in c && r(23, g = c.clientstylingurl);
5137
5151
  }, e.$$.update = () => {
5138
5152
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
5139
- 4194306 && y && p && Ko(y, p), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
5140
- 8388610 && y && g && es(y, g), e.$$.dirty[0] & /*lang, endpoint, session*/
5153
+ 4194306 && y && p && ts(y, p), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
5154
+ 8388610 && y && g && rs(y, g), e.$$.dirty[0] & /*lang, endpoint, session*/
5141
5155
  458752 && s && i && o && It(i), e.$$.dirty[0] & /*lang*/
5142
5156
  262144 && s && st(), e.$$.dirty[0] & /*wagerSlider*/
5143
5157
  16 && T && J(), e.$$.dirty[0] & /*translationurl*/
5144
5158
  2097152 && l && Ee(), e.$$.dirty[0] & /*currentWagerIdx*/
5145
5159
  8 && r(5, w = B == 0), e.$$.dirty[0] & /*wageringList, currentWagerIdx*/
5146
- 12 && r(6, C = I ? B == I.length - 1 : !0);
5160
+ 12 && r(6, O = I ? B == I.length - 1 : !0);
5147
5161
  }, [
5148
5162
  f,
5149
5163
  y,
@@ -5151,7 +5165,7 @@ function os(e, t, r) {
5151
5165
  B,
5152
5166
  T,
5153
5167
  w,
5154
- C,
5168
+ O,
5155
5169
  M,
5156
5170
  Ie,
5157
5171
  le,
@@ -5170,25 +5184,25 @@ function os(e, t, r) {
5170
5184
  p,
5171
5185
  g,
5172
5186
  Lt,
5173
- Ot,
5187
+ Ct,
5174
5188
  ft,
5175
5189
  u,
5176
- b,
5177
5190
  v,
5191
+ b,
5178
5192
  m,
5179
5193
  A,
5180
5194
  S,
5181
- O
5195
+ C
5182
5196
  ];
5183
5197
  }
5184
- class ss extends Gn {
5198
+ class us extends kn {
5185
5199
  constructor(t) {
5186
- super(), Un(
5200
+ super(), jn(
5187
5201
  this,
5188
5202
  t,
5189
- os,
5190
- is,
5191
- Dr,
5203
+ as,
5204
+ ss,
5205
+ Ur,
5192
5206
  {
5193
5207
  endpoint: 16,
5194
5208
  session: 17,
@@ -5200,7 +5214,7 @@ class ss extends Gn {
5200
5214
  clientstyling: 22,
5201
5215
  clientstylingurl: 23
5202
5216
  },
5203
- ts,
5217
+ ns,
5204
5218
  [-1, -1, -1]
5205
5219
  );
5206
5220
  }
@@ -5259,27 +5273,27 @@ class ss extends Gn {
5259
5273
  this.$$set({ clientstylingurl: t }), oe();
5260
5274
  }
5261
5275
  }
5262
- $n(ss, { endpoint: {}, session: {}, lang: {}, numberofrecords: {}, looptime: {}, translationurl: {}, progressfractiondigit: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
5276
+ Wn(us, { endpoint: {}, session: {}, lang: {}, numberofrecords: {}, looptime: {}, translationurl: {}, progressfractiondigit: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
5263
5277
  export {
5264
5278
  Se as $,
5265
- ss as C,
5266
- Gn as S,
5279
+ us as C,
5280
+ kn as S,
5267
5281
  We as a,
5268
- cn as b,
5269
- $n as c,
5270
- xn as d,
5282
+ mn as b,
5283
+ Wn as c,
5284
+ Tn as d,
5271
5285
  W as e,
5272
5286
  oe as f,
5273
5287
  E as g,
5274
- be as h,
5275
- Un as i,
5288
+ ve as h,
5289
+ jn as i,
5276
5290
  G as j,
5277
- ir as k,
5291
+ or as k,
5278
5292
  ue as l,
5279
- En as m,
5293
+ Sn as m,
5280
5294
  se as n,
5281
5295
  rt as o,
5282
- Vo as p,
5283
- Dr as s,
5296
+ Zo as p,
5297
+ Ur as s,
5284
5298
  wt as t
5285
5299
  };