@everymatrix/player-active-bonuses 1.68.0 → 1.69.2

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,4 +1,4 @@
1
- function Q() {
1
+ function J() {
2
2
  }
3
3
  function rn(e) {
4
4
  return e();
@@ -6,7 +6,7 @@ function rn(e) {
6
6
  function Ct() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function se(e) {
9
+ function ae(e) {
10
10
  e.forEach(rn);
11
11
  }
12
12
  function _t(e) {
@@ -16,35 +16,35 @@ function on(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let He;
19
- function Fi(e, t) {
19
+ function Ui(e, t) {
20
20
  return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
21
21
  }
22
- function Jn(e) {
22
+ function Yn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
25
  function sn(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const r of t)
28
28
  r(void 0);
29
- return Q;
29
+ return J;
30
30
  }
31
31
  const n = e.subscribe(...t);
32
32
  return n.unsubscribe ? () => n.unsubscribe() : n;
33
33
  }
34
- function Yn(e, t, n) {
34
+ function Kn(e, t, n) {
35
35
  e.$$.on_destroy.push(sn(t, n));
36
36
  }
37
37
  function v(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Kn(e, t, n) {
41
- const r = er(e);
40
+ function er(e, t, n) {
41
+ const r = tr(e);
42
42
  if (!r.getElementById(t)) {
43
43
  const o = T("style");
44
- o.id = t, o.textContent = n, tr(r, o);
44
+ o.id = t, o.textContent = n, nr(r, o);
45
45
  }
46
46
  }
47
- function er(e) {
47
+ function tr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function er(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function tr(e, t) {
57
+ function nr(e, t) {
58
58
  return v(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -74,7 +74,7 @@ function an(e, t) {
74
74
  function T(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function ce(e) {
77
+ function le(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
80
  function F(e) {
@@ -86,7 +86,7 @@ function j() {
86
86
  function Bt() {
87
87
  return F("");
88
88
  }
89
- function q(e, t, n, r) {
89
+ function Q(e, t, n, r) {
90
90
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
91
91
  }
92
92
  function B(e, t, n) {
@@ -96,17 +96,17 @@ function p(e, t, n) {
96
96
  const r = t.toLowerCase();
97
97
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : B(e, t, n);
98
98
  }
99
- function nr(e) {
99
+ function rr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function re(e, t) {
102
+ function ne(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
106
  function St(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function rr(e) {
109
+ function or(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -119,84 +119,84 @@ let we;
119
119
  function xe(e) {
120
120
  we = e;
121
121
  }
122
- function or() {
122
+ function ir() {
123
123
  if (!we)
124
124
  throw new Error("Function called outside component initialization");
125
125
  return we;
126
126
  }
127
- function ir(e) {
128
- or().$$.on_mount.push(e);
127
+ function sr(e) {
128
+ ir().$$.on_mount.push(e);
129
129
  }
130
- const de = [], nt = [];
131
- let pe = [];
132
- const At = [], sr = /* @__PURE__ */ Promise.resolve();
130
+ const fe = [], nt = [];
131
+ let de = [];
132
+ const At = [], ar = /* @__PURE__ */ Promise.resolve();
133
133
  let rt = !1;
134
- function ar() {
135
- rt || (rt = !0, sr.then(Z));
134
+ function ur() {
135
+ rt || (rt = !0, ar.then(z));
136
136
  }
137
137
  function ot(e) {
138
- pe.push(e);
138
+ de.push(e);
139
139
  }
140
140
  const Ze = /* @__PURE__ */ new Set();
141
- let he = 0;
142
- function Z() {
143
- if (he !== 0)
141
+ let ce = 0;
142
+ function z() {
143
+ if (ce !== 0)
144
144
  return;
145
145
  const e = we;
146
146
  do {
147
147
  try {
148
- for (; he < de.length; ) {
149
- const t = de[he];
150
- he++, xe(t), ur(t.$$);
148
+ for (; ce < fe.length; ) {
149
+ const t = fe[ce];
150
+ ce++, xe(t), lr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
- throw de.length = 0, he = 0, t;
153
+ throw fe.length = 0, ce = 0, t;
154
154
  }
155
- for (xe(null), de.length = 0, he = 0; nt.length; )
155
+ for (xe(null), fe.length = 0, ce = 0; nt.length; )
156
156
  nt.pop()();
157
- for (let t = 0; t < pe.length; t += 1) {
158
- const n = pe[t];
157
+ for (let t = 0; t < de.length; t += 1) {
158
+ const n = de[t];
159
159
  Ze.has(n) || (Ze.add(n), n());
160
160
  }
161
- pe.length = 0;
162
- } while (de.length);
161
+ de.length = 0;
162
+ } while (fe.length);
163
163
  for (; At.length; )
164
164
  At.pop()();
165
165
  rt = !1, Ze.clear(), xe(e);
166
166
  }
167
- function ur(e) {
167
+ function lr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), se(e.before_update);
169
+ e.update(), ae(e.before_update);
170
170
  const t = e.dirty;
171
171
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
172
172
  }
173
173
  }
174
- function lr(e) {
174
+ function cr(e) {
175
175
  const t = [], n = [];
176
- pe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), pe = t;
176
+ de.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), de = t;
177
177
  }
178
- const cr = /* @__PURE__ */ new Set();
179
- function hr(e, t) {
180
- e && e.i && (cr.delete(e), e.i(t));
178
+ const hr = /* @__PURE__ */ new Set();
179
+ function fr(e, t) {
180
+ e && e.i && (hr.delete(e), e.i(t));
181
181
  }
182
182
  function Fe(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function fr(e, t, n) {
185
+ function dr(e, t, n) {
186
186
  const { fragment: r, after_update: o } = e.$$;
187
187
  r && r.m(t, n), ot(() => {
188
188
  const i = e.$$.on_mount.map(rn).filter(_t);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...i) : se(i), e.$$.on_mount = [];
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...i) : ae(i), e.$$.on_mount = [];
190
190
  }), o.forEach(ot);
191
191
  }
192
- function dr(e, t) {
192
+ function pr(e, t) {
193
193
  const n = e.$$;
194
- n.fragment !== null && (lr(n.after_update), se(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
194
+ n.fragment !== null && (cr(n.after_update), ae(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
195
195
  }
196
- function pr(e, t) {
197
- e.$$.dirty[0] === -1 && (de.push(e), ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function mr(e, t) {
197
+ e.$$.dirty[0] === -1 && (fe.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function mr(e, t, n, r, o, i, s = null, a = [-1]) {
199
+ function br(e, t, n, r, o, i, s = null, a = [-1]) {
200
200
  const u = we;
201
201
  xe(e);
202
202
  const l = e.$$ = {
@@ -204,7 +204,7 @@ function mr(e, t, n, r, o, i, s = null, a = [-1]) {
204
204
  ctx: [],
205
205
  // state
206
206
  props: i,
207
- update: Q,
207
+ update: J,
208
208
  not_equal: o,
209
209
  bound: Ct(),
210
210
  // lifecycle
@@ -222,16 +222,16 @@ function mr(e, t, n, r, o, i, s = null, a = [-1]) {
222
222
  };
223
223
  s && s(l.root);
224
224
  let c = !1;
225
- if (l.ctx = n ? n(e, t.props || {}, (h, f, ...b) => {
226
- const m = b.length ? b[0] : f;
227
- return l.ctx && o(l.ctx[h], l.ctx[h] = m) && (!l.skip_bound && l.bound[h] && l.bound[h](m), c && pr(e, h)), f;
228
- }) : [], l.update(), c = !0, se(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
225
+ if (l.ctx = n ? n(e, t.props || {}, (f, d, ...m) => {
226
+ const b = m.length ? m[0] : d;
227
+ return l.ctx && o(l.ctx[f], l.ctx[f] = b) && (!l.skip_bound && l.bound[f] && l.bound[f](b), c && mr(e, f)), d;
228
+ }) : [], l.update(), c = !0, ae(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const h = nr(t.target);
231
- l.fragment && l.fragment.l(h), h.forEach(G);
230
+ const f = rr(t.target);
231
+ l.fragment && l.fragment.l(f), f.forEach(G);
232
232
  } else
233
233
  l.fragment && l.fragment.c();
234
- t.intro && hr(e.$$.fragment), fr(e, t.target, t.anchor), Z();
234
+ t.intro && fr(e.$$.fragment), dr(e, t.target, t.anchor), z();
235
235
  }
236
236
  xe(u);
237
237
  }
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (un = class extends HTMLElement {
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, n = rr(this);
298
+ const t = {}, n = or(this);
299
299
  for (const o of this.$$s)
300
300
  o in n && (t[o] = [e(o)]);
301
301
  for (const o of this.attributes) {
@@ -382,7 +382,7 @@ function Ne(e, t, n, r) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function br(e, t, n, r, o, i) {
385
+ function gr(e, t, n, r, o, i) {
386
386
  let s = class extends un {
387
387
  constructor() {
388
388
  super(e, n, o), this.$$p_d = t;
@@ -411,7 +411,7 @@ function br(e, t, n, r, o, i) {
411
411
  }), e.element = /** @type {any} */
412
412
  s, s;
413
413
  }
414
- class gr {
414
+ class vr {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class gr {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- dr(this, 1), this.$destroy = Q;
433
+ pr(this, 1), this.$destroy = J;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -440,7 +440,7 @@ class gr {
440
440
  */
441
441
  $on(t, n) {
442
442
  if (!_t(n))
443
- return Q;
443
+ return J;
444
444
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return r.push(n), () => {
446
446
  const o = r.indexOf(n);
@@ -452,11 +452,11 @@ class gr {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !Jn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const vr = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
458
+ const yr = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yr);
460
460
  /*! *****************************************************************************
461
461
  Copyright (c) Microsoft Corporation.
462
462
 
@@ -526,7 +526,7 @@ function ut(e, t, n) {
526
526
  (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
527
527
  return e.concat(i || t);
528
528
  }
529
- function oe(e) {
529
+ function re(e) {
530
530
  return typeof e == "function";
531
531
  }
532
532
  function ln(e) {
@@ -566,8 +566,8 @@ var ke = function() {
566
566
  var l = u.value;
567
567
  l.remove(this);
568
568
  }
569
- } catch (d) {
570
- t = { error: d };
569
+ } catch (h) {
570
+ t = { error: h };
571
571
  } finally {
572
572
  try {
573
573
  u && !u.done && (n = a.return) && n.call(a);
@@ -579,29 +579,29 @@ var ke = function() {
579
579
  else
580
580
  s.remove(this);
581
581
  var c = this.initialTeardown;
582
- if (oe(c))
582
+ if (re(c))
583
583
  try {
584
584
  c();
585
- } catch (d) {
586
- i = d instanceof qe ? d.errors : [d];
585
+ } catch (h) {
586
+ i = h instanceof qe ? h.errors : [h];
587
587
  }
588
- var h = this._finalizers;
589
- if (h) {
588
+ var f = this._finalizers;
589
+ if (f) {
590
590
  this._finalizers = null;
591
591
  try {
592
- for (var f = st(h), b = f.next(); !b.done; b = f.next()) {
593
- var m = b.value;
592
+ for (var d = st(f), m = d.next(); !m.done; m = d.next()) {
593
+ var b = m.value;
594
594
  try {
595
- Tt(m);
596
- } catch (d) {
597
- i = i ?? [], d instanceof qe ? i = ut(ut([], at(i)), at(d.errors)) : i.push(d);
595
+ Tt(b);
596
+ } catch (h) {
597
+ i = i ?? [], h instanceof qe ? i = ut(ut([], at(i)), at(h.errors)) : i.push(h);
598
598
  }
599
599
  }
600
- } catch (d) {
601
- r = { error: d };
600
+ } catch (h) {
601
+ r = { error: h };
602
602
  } finally {
603
603
  try {
604
- b && !b.done && (o = f.return) && o.call(f);
604
+ m && !m.done && (o = d.return) && o.call(d);
605
605
  } finally {
606
606
  if (r)
607
607
  throw r.error;
@@ -642,14 +642,14 @@ var ke = function() {
642
642
  }(), e;
643
643
  }(), cn = ke.EMPTY;
644
644
  function hn(e) {
645
- return e instanceof ke || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
645
+ return e instanceof ke || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
646
646
  }
647
647
  function Tt(e) {
648
- oe(e) ? e() : e.unsubscribe();
648
+ re(e) ? e() : e.unsubscribe();
649
649
  }
650
- var yr = {
650
+ var _r = {
651
651
  Promise: void 0
652
- }, _r = {
652
+ }, Br = {
653
653
  setTimeout: function(e, t) {
654
654
  for (var n = [], r = 2; r < arguments.length; r++)
655
655
  n[r - 2] = arguments[r];
@@ -660,8 +660,8 @@ var yr = {
660
660
  },
661
661
  delegate: void 0
662
662
  };
663
- function Br(e) {
664
- _r.setTimeout(function() {
663
+ function Er(e) {
664
+ Br.setTimeout(function() {
665
665
  throw e;
666
666
  });
667
667
  }
@@ -674,7 +674,7 @@ var fn = function(e) {
674
674
  Ae(t, e);
675
675
  function t(n) {
676
676
  var r = e.call(this) || this;
677
- return r.isStopped = !1, n ? (r.destination = n, hn(n) && n.add(r)) : r.destination = wr, r;
677
+ return r.isStopped = !1, n ? (r.destination = n, hn(n) && n.add(r)) : r.destination = Cr, r;
678
678
  }
679
679
  return t.create = function(n, r, o) {
680
680
  return new ct(n, r, o);
@@ -701,7 +701,7 @@ var fn = function(e) {
701
701
  this.unsubscribe();
702
702
  }
703
703
  }, t;
704
- }(ke), Er = function() {
704
+ }(ke), xr = function() {
705
705
  function e(t) {
706
706
  this.partialObserver = t;
707
707
  }
@@ -736,33 +736,33 @@ var fn = function(e) {
736
736
  Ae(t, e);
737
737
  function t(n, r, o) {
738
738
  var i = e.call(this) || this, s;
739
- return oe(n) || !n ? s = {
739
+ return re(n) || !n ? s = {
740
740
  next: n ?? void 0,
741
741
  error: r ?? void 0,
742
742
  complete: o ?? void 0
743
- } : s = n, i.destination = new Er(s), i;
743
+ } : s = n, i.destination = new xr(s), i;
744
744
  }
745
745
  return t;
746
746
  }(fn);
747
747
  function Oe(e) {
748
- Br(e);
748
+ Er(e);
749
749
  }
750
- function xr(e) {
750
+ function wr(e) {
751
751
  throw e;
752
752
  }
753
- var wr = {
753
+ var Cr = {
754
754
  closed: !0,
755
755
  next: Pt,
756
- error: xr,
756
+ error: wr,
757
757
  complete: Pt
758
- }, Cr = function() {
758
+ }, Sr = function() {
759
759
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
760
760
  }();
761
- function Sr(e) {
761
+ function Ar(e) {
762
762
  return e;
763
763
  }
764
- function Ar(e) {
765
- return e.length === 0 ? Sr : e.length === 1 ? e[0] : function(n) {
764
+ function Tr(e) {
765
+ return e.length === 0 ? Ar : e.length === 1 ? e[0] : function(n) {
766
766
  return e.reduce(function(r, o) {
767
767
  return o(r);
768
768
  }, n);
@@ -776,7 +776,7 @@ var Mt = function() {
776
776
  var n = new e();
777
777
  return n.source = this, n.operator = t, n;
778
778
  }, e.prototype.subscribe = function(t, n, r) {
779
- var o = this, i = Pr(t) ? t : new ct(t, n, r);
779
+ var o = this, i = Mr(t) ? t : new ct(t, n, r);
780
780
  return Le(function() {
781
781
  var s = o, a = s.operator, u = s.source;
782
782
  i.add(a ? a.call(i, u) : u ? o._subscribe(i) : o._trySubscribe(i));
@@ -806,12 +806,12 @@ var Mt = function() {
806
806
  }, e.prototype._subscribe = function(t) {
807
807
  var n;
808
808
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
809
- }, e.prototype[Cr] = function() {
809
+ }, e.prototype[Sr] = function() {
810
810
  return this;
811
811
  }, e.prototype.pipe = function() {
812
812
  for (var t = [], n = 0; n < arguments.length; n++)
813
813
  t[n] = arguments[n];
814
- return Ar(t)(this);
814
+ return Tr(t)(this);
815
815
  }, e.prototype.toPromise = function(t) {
816
816
  var n = this;
817
817
  return t = Ht(t), new t(function(r, o) {
@@ -830,15 +830,15 @@ var Mt = function() {
830
830
  }();
831
831
  function Ht(e) {
832
832
  var t;
833
- return (t = e ?? yr.Promise) !== null && t !== void 0 ? t : Promise;
834
- }
835
- function Tr(e) {
836
- return e && oe(e.next) && oe(e.error) && oe(e.complete);
833
+ return (t = e ?? _r.Promise) !== null && t !== void 0 ? t : Promise;
837
834
  }
838
835
  function Pr(e) {
839
- return e && e instanceof fn || Tr(e) && hn(e);
836
+ return e && re(e.next) && re(e.error) && re(e.complete);
837
+ }
838
+ function Mr(e) {
839
+ return e && e instanceof fn || Pr(e) && hn(e);
840
840
  }
841
- var Mr = ln(function(e) {
841
+ var Hr = ln(function(e) {
842
842
  return function() {
843
843
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
844
844
  };
@@ -853,7 +853,7 @@ var Mr = ln(function(e) {
853
853
  return r.operator = n, r;
854
854
  }, t.prototype._throwIfClosed = function() {
855
855
  if (this.closed)
856
- throw new Mr();
856
+ throw new Hr();
857
857
  }, t.prototype.next = function(n) {
858
858
  var r = this;
859
859
  Le(function() {
@@ -946,7 +946,7 @@ var Mr = ln(function(e) {
946
946
  return (pn.delegate || Date).now();
947
947
  },
948
948
  delegate: void 0
949
- }, Hr = function(e) {
949
+ }, Or = function(e) {
950
950
  Ae(t, e);
951
951
  function t(n, r, o) {
952
952
  n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = pn);
@@ -970,116 +970,116 @@ var Mr = ln(function(e) {
970
970
  }
971
971
  }, t;
972
972
  }(dn);
973
- const It = [], Nt = {}, Or = (e, t = 0) => {
973
+ const It = [], Nt = {}, Ir = (e, t = 0) => {
974
974
  if (It.indexOf(e) == -1) {
975
- const n = new Hr(t);
975
+ const n = new Or(t);
976
976
  Nt[e] = n, It.push(e);
977
977
  }
978
978
  return Nt[e];
979
- }, fe = [];
980
- function Ir(e, t) {
979
+ }, he = [];
980
+ function Nr(e, t) {
981
981
  return {
982
982
  subscribe: je(e, t).subscribe
983
983
  };
984
984
  }
985
- function je(e, t = Q) {
985
+ function je(e, t = J) {
986
986
  let n;
987
987
  const r = /* @__PURE__ */ new Set();
988
988
  function o(a) {
989
989
  if (on(e, a) && (e = a, n)) {
990
- const u = !fe.length;
990
+ const u = !he.length;
991
991
  for (const l of r)
992
- l[1](), fe.push(l, e);
992
+ l[1](), he.push(l, e);
993
993
  if (u) {
994
- for (let l = 0; l < fe.length; l += 2)
995
- fe[l][0](fe[l + 1]);
996
- fe.length = 0;
994
+ for (let l = 0; l < he.length; l += 2)
995
+ he[l][0](he[l + 1]);
996
+ he.length = 0;
997
997
  }
998
998
  }
999
999
  }
1000
1000
  function i(a) {
1001
1001
  o(a(e));
1002
1002
  }
1003
- function s(a, u = Q) {
1003
+ function s(a, u = J) {
1004
1004
  const l = [a, u];
1005
- return r.add(l), r.size === 1 && (n = t(o, i) || Q), a(e), () => {
1005
+ return r.add(l), r.size === 1 && (n = t(o, i) || J), a(e), () => {
1006
1006
  r.delete(l), r.size === 0 && n && (n(), n = null);
1007
1007
  };
1008
1008
  }
1009
1009
  return { set: o, update: i, subscribe: s };
1010
1010
  }
1011
- function ye(e, t, n) {
1011
+ function ve(e, t, n) {
1012
1012
  const r = !Array.isArray(e), o = r ? [e] : e;
1013
1013
  if (!o.every(Boolean))
1014
1014
  throw new Error("derived() expects stores as input, got a falsy value");
1015
1015
  const i = t.length < 2;
1016
- return Ir(n, (s, a) => {
1016
+ return Nr(n, (s, a) => {
1017
1017
  let u = !1;
1018
1018
  const l = [];
1019
- let c = 0, h = Q;
1020
- const f = () => {
1019
+ let c = 0, f = J;
1020
+ const d = () => {
1021
1021
  if (c)
1022
1022
  return;
1023
- h();
1024
- const m = t(r ? l[0] : l, s, a);
1025
- i ? s(m) : h = _t(m) ? m : Q;
1026
- }, b = o.map(
1027
- (m, d) => sn(
1028
- m,
1029
- (C) => {
1030
- l[d] = C, c &= ~(1 << d), u && f();
1023
+ f();
1024
+ const b = t(r ? l[0] : l, s, a);
1025
+ i ? s(b) : f = _t(b) ? b : J;
1026
+ }, m = o.map(
1027
+ (b, h) => sn(
1028
+ b,
1029
+ (S) => {
1030
+ l[h] = S, c &= ~(1 << h), u && d();
1031
1031
  },
1032
1032
  () => {
1033
- c |= 1 << d;
1033
+ c |= 1 << h;
1034
1034
  }
1035
1035
  )
1036
1036
  );
1037
- return u = !0, f(), function() {
1038
- se(b), h(), u = !1;
1037
+ return u = !0, d(), function() {
1038
+ ae(m), f(), u = !1;
1039
1039
  };
1040
1040
  });
1041
1041
  }
1042
- function Nr(e) {
1042
+ function Lr(e) {
1043
1043
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1044
1044
  }
1045
- var Lr = function(t) {
1046
- return Rr(t) && !$r(t);
1045
+ var Rr = function(t) {
1046
+ return $r(t) && !Fr(t);
1047
1047
  };
1048
- function Rr(e) {
1048
+ function $r(e) {
1049
1049
  return !!e && typeof e == "object";
1050
1050
  }
1051
- function $r(e) {
1051
+ function Fr(e) {
1052
1052
  var t = Object.prototype.toString.call(e);
1053
- return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
1054
- }
1055
- var Fr = typeof Symbol == "function" && Symbol.for, Ur = Fr ? Symbol.for("react.element") : 60103;
1056
- function Dr(e) {
1057
- return e.$$typeof === Ur;
1053
+ return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
1058
1054
  }
1055
+ var Ur = typeof Symbol == "function" && Symbol.for, Dr = Ur ? Symbol.for("react.element") : 60103;
1059
1056
  function Gr(e) {
1057
+ return e.$$typeof === Dr;
1058
+ }
1059
+ function kr(e) {
1060
1060
  return Array.isArray(e) ? [] : {};
1061
1061
  }
1062
1062
  function Ce(e, t) {
1063
- return t.clone !== !1 && t.isMergeableObject(e) ? me(Gr(e), e, t) : e;
1063
+ return t.clone !== !1 && t.isMergeableObject(e) ? pe(kr(e), e, t) : e;
1064
1064
  }
1065
- function kr(e, t, n) {
1065
+ function jr(e, t, n) {
1066
1066
  return e.concat(t).map(function(r) {
1067
1067
  return Ce(r, n);
1068
1068
  });
1069
1069
  }
1070
- function jr(e, t) {
1070
+ function Wr(e, t) {
1071
1071
  if (!t.customMerge)
1072
- return me;
1072
+ return pe;
1073
1073
  var n = t.customMerge(e);
1074
- return typeof n == "function" ? n : me;
1074
+ return typeof n == "function" ? n : pe;
1075
1075
  }
1076
- function Wr(e) {
1076
+ function Vr(e) {
1077
1077
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1078
1078
  return Object.propertyIsEnumerable.call(e, t);
1079
1079
  }) : [];
1080
1080
  }
1081
1081
  function Lt(e) {
1082
- return Object.keys(e).concat(Wr(e));
1082
+ return Object.keys(e).concat(Vr(e));
1083
1083
  }
1084
1084
  function mn(e, t) {
1085
1085
  try {
@@ -1088,31 +1088,31 @@ function mn(e, t) {
1088
1088
  return !1;
1089
1089
  }
1090
1090
  }
1091
- function Vr(e, t) {
1091
+ function zr(e, t) {
1092
1092
  return mn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1093
1093
  }
1094
- function zr(e, t, n) {
1094
+ function Xr(e, t, n) {
1095
1095
  var r = {};
1096
1096
  return n.isMergeableObject(e) && Lt(e).forEach(function(o) {
1097
1097
  r[o] = Ce(e[o], n);
1098
1098
  }), Lt(t).forEach(function(o) {
1099
- Vr(e, o) || (mn(e, o) && n.isMergeableObject(t[o]) ? r[o] = jr(o, n)(e[o], t[o], n) : r[o] = Ce(t[o], n));
1099
+ zr(e, o) || (mn(e, o) && n.isMergeableObject(t[o]) ? r[o] = Wr(o, n)(e[o], t[o], n) : r[o] = Ce(t[o], n));
1100
1100
  }), r;
1101
1101
  }
1102
- function me(e, t, n) {
1103
- n = n || {}, n.arrayMerge = n.arrayMerge || kr, n.isMergeableObject = n.isMergeableObject || Lr, n.cloneUnlessOtherwiseSpecified = Ce;
1102
+ function pe(e, t, n) {
1103
+ n = n || {}, n.arrayMerge = n.arrayMerge || jr, n.isMergeableObject = n.isMergeableObject || Rr, n.cloneUnlessOtherwiseSpecified = Ce;
1104
1104
  var r = Array.isArray(t), o = Array.isArray(e), i = r === o;
1105
- return i ? r ? n.arrayMerge(e, t, n) : zr(e, t, n) : Ce(t, n);
1105
+ return i ? r ? n.arrayMerge(e, t, n) : Xr(e, t, n) : Ce(t, n);
1106
1106
  }
1107
- me.all = function(t, n) {
1107
+ pe.all = function(t, n) {
1108
1108
  if (!Array.isArray(t))
1109
1109
  throw new Error("first argument should be an array");
1110
1110
  return t.reduce(function(r, o) {
1111
- return me(r, o, n);
1111
+ return pe(r, o, n);
1112
1112
  }, {});
1113
1113
  };
1114
- var Xr = me, Zr = Xr;
1115
- const qr = /* @__PURE__ */ Nr(Zr);
1114
+ var Zr = pe, qr = Zr;
1115
+ const Qr = /* @__PURE__ */ Lr(qr);
1116
1116
  var ht = function(e, t) {
1117
1117
  return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1118
1118
  n.__proto__ = r;
@@ -1140,7 +1140,7 @@ var Y = function() {
1140
1140
  return t;
1141
1141
  }, Y.apply(this, arguments);
1142
1142
  };
1143
- function Qr(e, t) {
1143
+ function Jr(e, t) {
1144
1144
  var n = {};
1145
1145
  for (var r in e)
1146
1146
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -1156,17 +1156,17 @@ function Qe(e, t, n) {
1156
1156
  return e.concat(i || Array.prototype.slice.call(t));
1157
1157
  }
1158
1158
  function Je(e, t) {
1159
- var n = t && t.cache ? t.cache : ro, r = t && t.serializer ? t.serializer : to, o = t && t.strategy ? t.strategy : Kr;
1159
+ var n = t && t.cache ? t.cache : oo, r = t && t.serializer ? t.serializer : no, o = t && t.strategy ? t.strategy : eo;
1160
1160
  return o(e, {
1161
1161
  cache: n,
1162
1162
  serializer: r
1163
1163
  });
1164
1164
  }
1165
- function Jr(e) {
1165
+ function Yr(e) {
1166
1166
  return e == null || typeof e == "number" || typeof e == "boolean";
1167
1167
  }
1168
- function Yr(e, t, n, r) {
1169
- var o = Jr(r) ? r : n(r), i = t.get(o);
1168
+ function Kr(e, t, n, r) {
1169
+ var o = Yr(r) ? r : n(r), i = t.get(o);
1170
1170
  return typeof i > "u" && (i = e.call(this, r), t.set(o, i)), i;
1171
1171
  }
1172
1172
  function bn(e, t, n) {
@@ -1176,16 +1176,16 @@ function bn(e, t, n) {
1176
1176
  function gn(e, t, n, r, o) {
1177
1177
  return n.bind(t, e, r, o);
1178
1178
  }
1179
- function Kr(e, t) {
1180
- var n = e.length === 1 ? Yr : bn;
1179
+ function eo(e, t) {
1180
+ var n = e.length === 1 ? Kr : bn;
1181
1181
  return gn(e, this, n, t.cache.create(), t.serializer);
1182
1182
  }
1183
- function eo(e, t) {
1183
+ function to(e, t) {
1184
1184
  return gn(e, this, bn, t.cache.create(), t.serializer);
1185
1185
  }
1186
- var to = function() {
1186
+ var no = function() {
1187
1187
  return JSON.stringify(arguments);
1188
- }, no = (
1188
+ }, ro = (
1189
1189
  /** @class */
1190
1190
  function() {
1191
1191
  function e() {
@@ -1197,12 +1197,12 @@ var to = function() {
1197
1197
  this.cache[t] = n;
1198
1198
  }, e;
1199
1199
  }()
1200
- ), ro = {
1200
+ ), oo = {
1201
1201
  create: function() {
1202
- return new no();
1202
+ return new ro();
1203
1203
  }
1204
1204
  }, Ye = {
1205
- variadic: eo
1205
+ variadic: to
1206
1206
  }, Ue = function() {
1207
1207
  return Ue = Object.assign || function(t) {
1208
1208
  for (var n, r = 1, o = arguments.length; r < o; r++) {
@@ -1217,51 +1217,51 @@ var x;
1217
1217
  (function(e) {
1218
1218
  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";
1219
1219
  })(x || (x = {}));
1220
- var H;
1220
+ var O;
1221
1221
  (function(e) {
1222
1222
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1223
- })(H || (H = {}));
1224
- var be;
1223
+ })(O || (O = {}));
1224
+ var me;
1225
1225
  (function(e) {
1226
1226
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1227
- })(be || (be = {}));
1227
+ })(me || (me = {}));
1228
1228
  function Rt(e) {
1229
- return e.type === H.literal;
1229
+ return e.type === O.literal;
1230
1230
  }
1231
- function oo(e) {
1232
- return e.type === H.argument;
1231
+ function io(e) {
1232
+ return e.type === O.argument;
1233
1233
  }
1234
1234
  function vn(e) {
1235
- return e.type === H.number;
1235
+ return e.type === O.number;
1236
1236
  }
1237
1237
  function yn(e) {
1238
- return e.type === H.date;
1238
+ return e.type === O.date;
1239
1239
  }
1240
1240
  function _n(e) {
1241
- return e.type === H.time;
1241
+ return e.type === O.time;
1242
1242
  }
1243
1243
  function Bn(e) {
1244
- return e.type === H.select;
1244
+ return e.type === O.select;
1245
1245
  }
1246
1246
  function En(e) {
1247
- return e.type === H.plural;
1247
+ return e.type === O.plural;
1248
1248
  }
1249
- function io(e) {
1250
- return e.type === H.pound;
1249
+ function so(e) {
1250
+ return e.type === O.pound;
1251
1251
  }
1252
1252
  function xn(e) {
1253
- return e.type === H.tag;
1253
+ return e.type === O.tag;
1254
1254
  }
1255
1255
  function wn(e) {
1256
- return !!(e && typeof e == "object" && e.type === be.number);
1256
+ return !!(e && typeof e == "object" && e.type === me.number);
1257
1257
  }
1258
1258
  function ft(e) {
1259
- return !!(e && typeof e == "object" && e.type === be.dateTime);
1259
+ return !!(e && typeof e == "object" && e.type === me.dateTime);
1260
1260
  }
1261
- var Cn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, so = /(?:[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;
1262
- function ao(e) {
1261
+ var Cn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ao = /(?:[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;
1262
+ function uo(e) {
1263
1263
  var t = {};
1264
- return e.replace(so, function(n) {
1264
+ return e.replace(ao, function(n) {
1265
1265
  var r = n.length;
1266
1266
  switch (n[0]) {
1267
1267
  case "G":
@@ -1360,29 +1360,29 @@ var I = function() {
1360
1360
  return t;
1361
1361
  }, I.apply(this, arguments);
1362
1362
  };
1363
- var uo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1364
- function lo(e) {
1363
+ var lo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1364
+ function co(e) {
1365
1365
  if (e.length === 0)
1366
1366
  throw new Error("Number skeleton cannot be empty");
1367
- for (var t = e.split(uo).filter(function(f) {
1368
- return f.length > 0;
1367
+ for (var t = e.split(lo).filter(function(d) {
1368
+ return d.length > 0;
1369
1369
  }), n = [], r = 0, o = t; r < o.length; r++) {
1370
1370
  var i = o[r], s = i.split("/");
1371
1371
  if (s.length === 0)
1372
1372
  throw new Error("Invalid number skeleton");
1373
1373
  for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
1374
- var h = c[l];
1375
- if (h.length === 0)
1374
+ var f = c[l];
1375
+ if (f.length === 0)
1376
1376
  throw new Error("Invalid number skeleton");
1377
1377
  }
1378
1378
  n.push({ stem: a, options: u });
1379
1379
  }
1380
1380
  return n;
1381
1381
  }
1382
- function co(e) {
1382
+ function ho(e) {
1383
1383
  return e.replace(/^(.*?)-/, "");
1384
1384
  }
1385
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sn = /^(@+)?(\+|#+)?[rs]?$/g, ho = /(\*)(0+)|(#+)(0+)|(0+)/g, An = /^(0+)$/;
1385
+ var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sn = /^(@+)?(\+|#+)?[rs]?$/g, fo = /(\*)(0+)|(#+)(0+)|(0+)/g, An = /^(0+)$/;
1386
1386
  function Ft(e) {
1387
1387
  var t = {};
1388
1388
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sn, function(n, r, o) {
@@ -1429,7 +1429,7 @@ function Tn(e) {
1429
1429
  };
1430
1430
  }
1431
1431
  }
1432
- function fo(e) {
1432
+ function po(e) {
1433
1433
  var t;
1434
1434
  if (e[0] === "E" && e[1] === "E" ? (t = {
1435
1435
  notation: "engineering"
@@ -1447,7 +1447,7 @@ function Ut(e) {
1447
1447
  var t = {}, n = Tn(e);
1448
1448
  return n || t;
1449
1449
  }
1450
- function po(e) {
1450
+ function mo(e) {
1451
1451
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1452
1452
  var o = r[n];
1453
1453
  switch (o.stem) {
@@ -1471,7 +1471,7 @@ function po(e) {
1471
1471
  continue;
1472
1472
  case "measure-unit":
1473
1473
  case "unit":
1474
- t.style = "unit", t.unit = co(o.options[0]);
1474
+ t.style = "unit", t.unit = ho(o.options[0]);
1475
1475
  continue;
1476
1476
  case "compact-short":
1477
1477
  case "K":
@@ -1533,13 +1533,13 @@ function po(e) {
1533
1533
  case "integer-width":
1534
1534
  if (o.options.length > 1)
1535
1535
  throw new RangeError("integer-width stems only accept a single optional option");
1536
- o.options[0].replace(ho, function(u, l, c, h, f, b) {
1536
+ o.options[0].replace(fo, function(u, l, c, f, d, m) {
1537
1537
  if (l)
1538
1538
  t.minimumIntegerDigits = c.length;
1539
1539
  else {
1540
- if (h && f)
1540
+ if (f && d)
1541
1541
  throw new Error("We currently do not support maximum integer digits");
1542
- if (b)
1542
+ if (m)
1543
1543
  throw new Error("We currently do not support exact integer digits");
1544
1544
  }
1545
1545
  return "";
@@ -1553,8 +1553,8 @@ function po(e) {
1553
1553
  if ($t.test(o.stem)) {
1554
1554
  if (o.options.length > 1)
1555
1555
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1556
- o.stem.replace($t, function(u, l, c, h, f, b) {
1557
- return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1556
+ o.stem.replace($t, function(u, l, c, f, d, m) {
1557
+ return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && m ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1558
1558
  });
1559
1559
  var i = o.options[0];
1560
1560
  i === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = I(I({}, t), Ft(i)));
@@ -1566,7 +1566,7 @@ function po(e) {
1566
1566
  }
1567
1567
  var s = Tn(o.stem);
1568
1568
  s && (t = I(I({}, t), s));
1569
- var a = fo(o.stem);
1569
+ var a = po(o.stem);
1570
1570
  a && (t = I(I({}, t), a));
1571
1571
  }
1572
1572
  return t;
@@ -2986,13 +2986,13 @@ var Ie = {
2986
2986
  "h"
2987
2987
  ]
2988
2988
  };
2989
- function mo(e, t) {
2989
+ function bo(e, t) {
2990
2990
  for (var n = "", r = 0; r < e.length; r++) {
2991
2991
  var o = e.charAt(r);
2992
2992
  if (o === "j") {
2993
2993
  for (var i = 0; r + 1 < e.length && e.charAt(r + 1) === o; )
2994
2994
  i++, r++;
2995
- var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = bo(t);
2995
+ var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = go(t);
2996
2996
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2997
2997
  n += u;
2998
2998
  for (; s-- > 0; )
@@ -3002,7 +3002,7 @@ function mo(e, t) {
3002
3002
  }
3003
3003
  return n;
3004
3004
  }
3005
- function bo(e) {
3005
+ function go(e) {
3006
3006
  var t = e.hourCycle;
3007
3007
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3008
3008
  e.hourCycles && // @ts-ignore
@@ -3024,20 +3024,20 @@ function bo(e) {
3024
3024
  var o = Ie[r || ""] || Ie[n || ""] || Ie["".concat(n, "-001")] || Ie["001"];
3025
3025
  return o[0];
3026
3026
  }
3027
- var Ke, go = new RegExp("^".concat(Cn.source, "*")), vo = new RegExp("".concat(Cn.source, "*$"));
3027
+ var Ke, vo = new RegExp("^".concat(Cn.source, "*")), yo = new RegExp("".concat(Cn.source, "*$"));
3028
3028
  function w(e, t) {
3029
3029
  return { start: e, end: t };
3030
3030
  }
3031
- var yo = !!String.prototype.startsWith && "_a".startsWith("a", 1), _o = !!String.fromCodePoint, Bo = !!Object.fromEntries, Eo = !!String.prototype.codePointAt, xo = !!String.prototype.trimStart, wo = !!String.prototype.trimEnd, Co = !!Number.isSafeInteger, So = Co ? Number.isSafeInteger : function(e) {
3031
+ var _o = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bo = !!String.fromCodePoint, Eo = !!Object.fromEntries, xo = !!String.prototype.codePointAt, wo = !!String.prototype.trimStart, Co = !!String.prototype.trimEnd, So = !!Number.isSafeInteger, Ao = So ? Number.isSafeInteger : function(e) {
3032
3032
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3033
3033
  }, dt = !0;
3034
3034
  try {
3035
- var Ao = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3036
- dt = ((Ke = Ao.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3035
+ var To = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3036
+ dt = ((Ke = To.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3037
3037
  } catch {
3038
3038
  dt = !1;
3039
3039
  }
3040
- var Dt = yo ? (
3040
+ var Dt = _o ? (
3041
3041
  // Native
3042
3042
  function(t, n, r) {
3043
3043
  return t.startsWith(n, r);
@@ -3047,7 +3047,7 @@ var Dt = yo ? (
3047
3047
  function(t, n, r) {
3048
3048
  return t.slice(r, r + n.length) === n;
3049
3049
  }
3050
- ), pt = _o ? String.fromCodePoint : (
3050
+ ), pt = Bo ? String.fromCodePoint : (
3051
3051
  // IE11
3052
3052
  function() {
3053
3053
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3061,7 +3061,7 @@ var Dt = yo ? (
3061
3061
  }
3062
3062
  ), Gt = (
3063
3063
  // native
3064
- Bo ? Object.fromEntries : (
3064
+ Eo ? Object.fromEntries : (
3065
3065
  // Ponyfill
3066
3066
  function(t) {
3067
3067
  for (var n = {}, r = 0, o = t; r < o.length; r++) {
@@ -3071,7 +3071,7 @@ var Dt = yo ? (
3071
3071
  return n;
3072
3072
  }
3073
3073
  )
3074
- ), Pn = Eo ? (
3074
+ ), Pn = xo ? (
3075
3075
  // Native
3076
3076
  function(t, n) {
3077
3077
  return t.codePointAt(n);
@@ -3085,7 +3085,7 @@ var Dt = yo ? (
3085
3085
  return o < 55296 || o > 56319 || n + 1 === r || (i = t.charCodeAt(n + 1)) < 56320 || i > 57343 ? o : (o - 55296 << 10) + (i - 56320) + 65536;
3086
3086
  }
3087
3087
  }
3088
- ), To = xo ? (
3088
+ ), Po = wo ? (
3089
3089
  // Native
3090
3090
  function(t) {
3091
3091
  return t.trimStart();
@@ -3093,9 +3093,9 @@ var Dt = yo ? (
3093
3093
  ) : (
3094
3094
  // Ponyfill
3095
3095
  function(t) {
3096
- return t.replace(go, "");
3096
+ return t.replace(vo, "");
3097
3097
  }
3098
- ), Po = wo ? (
3098
+ ), Mo = Co ? (
3099
3099
  // Native
3100
3100
  function(t) {
3101
3101
  return t.trimEnd();
@@ -3103,7 +3103,7 @@ var Dt = yo ? (
3103
3103
  ) : (
3104
3104
  // Ponyfill
3105
3105
  function(t) {
3106
- return t.replace(vo, "");
3106
+ return t.replace(yo, "");
3107
3107
  }
3108
3108
  );
3109
3109
  function Mn(e, t) {
@@ -3122,13 +3122,13 @@ if (dt) {
3122
3122
  mt = function(t, n) {
3123
3123
  for (var r = []; ; ) {
3124
3124
  var o = Pn(t, n);
3125
- if (o === void 0 || Hn(o) || Io(o))
3125
+ if (o === void 0 || Hn(o) || No(o))
3126
3126
  break;
3127
3127
  r.push(o), n += o >= 65536 ? 2 : 1;
3128
3128
  }
3129
3129
  return pt.apply(void 0, r);
3130
3130
  };
3131
- var Mo = (
3131
+ var Ho = (
3132
3132
  /** @class */
3133
3133
  function() {
3134
3134
  function e(t, n) {
@@ -3152,7 +3152,7 @@ var Mo = (
3152
3152
  if (i === 35 && (n === "plural" || n === "selectordinal")) {
3153
3153
  var a = this.clonePosition();
3154
3154
  this.bump(), o.push({
3155
- type: H.pound,
3155
+ type: O.pound,
3156
3156
  location: w(a, this.clonePosition())
3157
3157
  });
3158
3158
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -3180,7 +3180,7 @@ var Mo = (
3180
3180
  if (this.bumpSpace(), this.bumpIf("/>"))
3181
3181
  return {
3182
3182
  val: {
3183
- type: H.literal,
3183
+ type: O.literal,
3184
3184
  value: "<".concat(o, "/>"),
3185
3185
  location: w(r, this.clonePosition())
3186
3186
  },
@@ -3197,7 +3197,7 @@ var Mo = (
3197
3197
  var u = this.clonePosition(), l = this.parseTagName();
3198
3198
  return o !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3199
3199
  val: {
3200
- type: H.tag,
3200
+ type: O.tag,
3201
3201
  value: o,
3202
3202
  children: s,
3203
3203
  location: w(r, this.clonePosition())
@@ -3210,7 +3210,7 @@ var Mo = (
3210
3210
  return this.error(x.INVALID_TAG, w(r, this.clonePosition()));
3211
3211
  }, e.prototype.parseTagName = function() {
3212
3212
  var t = this.offset();
3213
- for (this.bump(); !this.isEOF() && Oo(this.char()); )
3213
+ for (this.bump(); !this.isEOF() && Io(this.char()); )
3214
3214
  this.bump();
3215
3215
  return this.message.slice(t, this.offset());
3216
3216
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3234,12 +3234,12 @@ var Mo = (
3234
3234
  }
3235
3235
  var u = w(r, this.clonePosition());
3236
3236
  return {
3237
- val: { type: H.literal, value: o, location: u },
3237
+ val: { type: O.literal, value: o, location: u },
3238
3238
  err: null
3239
3239
  };
3240
3240
  }, e.prototype.tryParseLeftAngleBracket = function() {
3241
3241
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3242
- !Ho(this.peek() || 0)) ? (this.bump(), "<") : null;
3242
+ !Oo(this.peek() || 0)) ? (this.bump(), "<") : null;
3243
3243
  }, e.prototype.tryParseQuote = function(t) {
3244
3244
  if (this.isEOF() || this.char() !== 39)
3245
3245
  return null;
@@ -3294,7 +3294,7 @@ var Mo = (
3294
3294
  case 125:
3295
3295
  return this.bump(), {
3296
3296
  val: {
3297
- type: H.argument,
3297
+ type: O.argument,
3298
3298
  // value does not include the opening and closing braces.
3299
3299
  value: o,
3300
3300
  location: w(r, this.clonePosition())
@@ -3323,49 +3323,49 @@ var Mo = (
3323
3323
  var l = null;
3324
3324
  if (this.bumpIf(",")) {
3325
3325
  this.bumpSpace();
3326
- var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3327
- if (h.err)
3328
- return h;
3329
- var f = Po(h.val);
3330
- if (f.length === 0)
3326
+ var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3327
+ if (f.err)
3328
+ return f;
3329
+ var d = Mo(f.val);
3330
+ if (d.length === 0)
3331
3331
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3332
- var b = w(c, this.clonePosition());
3333
- l = { style: f, styleLocation: b };
3332
+ var m = w(c, this.clonePosition());
3333
+ l = { style: d, styleLocation: m };
3334
3334
  }
3335
- var m = this.tryParseArgumentClose(o);
3336
- if (m.err)
3337
- return m;
3338
- var d = w(o, this.clonePosition());
3335
+ var b = this.tryParseArgumentClose(o);
3336
+ if (b.err)
3337
+ return b;
3338
+ var h = w(o, this.clonePosition());
3339
3339
  if (l && Dt(l?.style, "::", 0)) {
3340
- var C = To(l.style.slice(2));
3340
+ var S = Po(l.style.slice(2));
3341
3341
  if (a === "number") {
3342
- var h = this.parseNumberSkeletonFromString(C, l.styleLocation);
3343
- return h.err ? h : {
3344
- val: { type: H.number, value: r, location: d, style: h.val },
3342
+ var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
3343
+ return f.err ? f : {
3344
+ val: { type: O.number, value: r, location: h, style: f.val },
3345
3345
  err: null
3346
3346
  };
3347
3347
  } else {
3348
- if (C.length === 0)
3349
- return this.error(x.EXPECT_DATE_TIME_SKELETON, d);
3350
- var _ = C;
3351
- this.locale && (_ = mo(C, this.locale));
3352
- var f = {
3353
- type: be.dateTime,
3348
+ if (S.length === 0)
3349
+ return this.error(x.EXPECT_DATE_TIME_SKELETON, h);
3350
+ var _ = S;
3351
+ this.locale && (_ = bo(S, this.locale));
3352
+ var d = {
3353
+ type: me.dateTime,
3354
3354
  pattern: _,
3355
3355
  location: l.styleLocation,
3356
- parsedOptions: this.shouldParseSkeletons ? ao(_) : {}
3357
- }, y = a === "date" ? H.date : H.time;
3356
+ parsedOptions: this.shouldParseSkeletons ? uo(_) : {}
3357
+ }, y = a === "date" ? O.date : O.time;
3358
3358
  return {
3359
- val: { type: y, value: r, location: d, style: f },
3359
+ val: { type: y, value: r, location: h, style: d },
3360
3360
  err: null
3361
3361
  };
3362
3362
  }
3363
3363
  }
3364
3364
  return {
3365
3365
  val: {
3366
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3366
+ type: a === "number" ? O.number : a === "date" ? O.date : O.time,
3367
3367
  value: r,
3368
- location: d,
3368
+ location: h,
3369
3369
  style: (i = l?.style) !== null && i !== void 0 ? i : null
3370
3370
  },
3371
3371
  err: null
@@ -3378,26 +3378,26 @@ var Mo = (
3378
3378
  if (this.bumpSpace(), !this.bumpIf(","))
3379
3379
  return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(P, Ue({}, P)));
3380
3380
  this.bumpSpace();
3381
- var O = this.parseIdentifierIfPossible(), A = 0;
3382
- if (a !== "select" && O.value === "offset") {
3381
+ var M = this.parseIdentifierIfPossible(), A = 0;
3382
+ if (a !== "select" && M.value === "offset") {
3383
3383
  if (!this.bumpIf(":"))
3384
3384
  return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3385
3385
  this.bumpSpace();
3386
- var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3387
- if (h.err)
3388
- return h;
3389
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), A = h.val;
3386
+ var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3387
+ if (f.err)
3388
+ return f;
3389
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), A = f.val;
3390
3390
  }
3391
- var E = this.tryParsePluralOrSelectOptions(t, a, n, O);
3391
+ var E = this.tryParsePluralOrSelectOptions(t, a, n, M);
3392
3392
  if (E.err)
3393
3393
  return E;
3394
- var m = this.tryParseArgumentClose(o);
3395
- if (m.err)
3396
- return m;
3394
+ var b = this.tryParseArgumentClose(o);
3395
+ if (b.err)
3396
+ return b;
3397
3397
  var N = w(o, this.clonePosition());
3398
3398
  return a === "select" ? {
3399
3399
  val: {
3400
- type: H.select,
3400
+ type: O.select,
3401
3401
  value: r,
3402
3402
  options: Gt(E.val),
3403
3403
  location: N
@@ -3405,7 +3405,7 @@ var Mo = (
3405
3405
  err: null
3406
3406
  } : {
3407
3407
  val: {
3408
- type: H.plural,
3408
+ type: O.plural,
3409
3409
  value: r,
3410
3410
  options: Gt(E.val),
3411
3411
  offset: A,
@@ -3458,48 +3458,48 @@ var Mo = (
3458
3458
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3459
3459
  var r = [];
3460
3460
  try {
3461
- r = lo(t);
3461
+ r = co(t);
3462
3462
  } catch {
3463
3463
  return this.error(x.INVALID_NUMBER_SKELETON, n);
3464
3464
  }
3465
3465
  return {
3466
3466
  val: {
3467
- type: be.number,
3467
+ type: me.number,
3468
3468
  tokens: r,
3469
3469
  location: n,
3470
- parsedOptions: this.shouldParseSkeletons ? po(r) : {}
3470
+ parsedOptions: this.shouldParseSkeletons ? mo(r) : {}
3471
3471
  },
3472
3472
  err: null
3473
3473
  };
3474
3474
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, o) {
3475
3475
  for (var i, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = o.value, c = o.location; ; ) {
3476
3476
  if (l.length === 0) {
3477
- var h = this.clonePosition();
3477
+ var f = this.clonePosition();
3478
3478
  if (n !== "select" && this.bumpIf("=")) {
3479
- var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3480
- if (f.err)
3481
- return f;
3482
- c = w(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3479
+ var d = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3480
+ if (d.err)
3481
+ return d;
3482
+ c = w(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3483
3483
  } else
3484
3484
  break;
3485
3485
  }
3486
3486
  if (u.has(l))
3487
3487
  return this.error(n === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3488
3488
  l === "other" && (s = !0), this.bumpSpace();
3489
- var b = this.clonePosition();
3489
+ var m = this.clonePosition();
3490
3490
  if (!this.bumpIf("{"))
3491
3491
  return this.error(n === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3492
- var m = this.parseMessage(t + 1, n, r);
3493
- if (m.err)
3494
- return m;
3495
- var d = this.tryParseArgumentClose(b);
3496
- if (d.err)
3497
- return d;
3492
+ var b = this.parseMessage(t + 1, n, r);
3493
+ if (b.err)
3494
+ return b;
3495
+ var h = this.tryParseArgumentClose(m);
3496
+ if (h.err)
3497
+ return h;
3498
3498
  a.push([
3499
3499
  l,
3500
3500
  {
3501
- value: m.val,
3502
- location: w(b, this.clonePosition())
3501
+ value: b.val,
3502
+ location: w(m, this.clonePosition())
3503
3503
  }
3504
3504
  ]), u.add(l), this.bumpSpace(), i = this.parseIdentifierIfPossible(), l = i.value, c = i.location;
3505
3505
  }
@@ -3515,7 +3515,7 @@ var Mo = (
3515
3515
  break;
3516
3516
  }
3517
3517
  var u = w(o, this.clonePosition());
3518
- return i ? (s *= r, So(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3518
+ return i ? (s *= r, Ao(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3519
3519
  }, e.prototype.offset = function() {
3520
3520
  return this.position.offset;
3521
3521
  }, e.prototype.isEOF = function() {
@@ -3584,16 +3584,16 @@ var Mo = (
3584
3584
  function bt(e) {
3585
3585
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3586
3586
  }
3587
- function Ho(e) {
3587
+ function Oo(e) {
3588
3588
  return bt(e) || e === 47;
3589
3589
  }
3590
- function Oo(e) {
3590
+ function Io(e) {
3591
3591
  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;
3592
3592
  }
3593
3593
  function Hn(e) {
3594
3594
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3595
3595
  }
3596
- function Io(e) {
3596
+ function No(e) {
3597
3597
  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;
3598
3598
  }
3599
3599
  function gt(e) {
@@ -3605,19 +3605,19 @@ function gt(e) {
3605
3605
  vn(t) && wn(t.style) || (yn(t) || _n(t)) && ft(t.style) ? delete t.style.location : xn(t) && gt(t.children);
3606
3606
  });
3607
3607
  }
3608
- function No(e, t) {
3608
+ function Lo(e, t) {
3609
3609
  t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3610
- var n = new Mo(e, t).parse();
3610
+ var n = new Ho(e, t).parse();
3611
3611
  if (n.err) {
3612
3612
  var r = SyntaxError(x[n.err.kind]);
3613
3613
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3614
3614
  }
3615
3615
  return t?.captureLocation || gt(n.val), n.val;
3616
3616
  }
3617
- var ge;
3617
+ var be;
3618
3618
  (function(e) {
3619
3619
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3620
- })(ge || (ge = {}));
3620
+ })(be || (be = {}));
3621
3621
  var Ve = (
3622
3622
  /** @class */
3623
3623
  function(e) {
@@ -3635,25 +3635,25 @@ var Ve = (
3635
3635
  function(e) {
3636
3636
  We(t, e);
3637
3637
  function t(n, r, o, i) {
3638
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(o).join('", "'), '"'), ge.INVALID_VALUE, i) || this;
3638
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(o).join('", "'), '"'), be.INVALID_VALUE, i) || this;
3639
3639
  }
3640
3640
  return t;
3641
3641
  }(Ve)
3642
- ), Lo = (
3642
+ ), Ro = (
3643
3643
  /** @class */
3644
3644
  function(e) {
3645
3645
  We(t, e);
3646
3646
  function t(n, r, o) {
3647
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ge.INVALID_VALUE, o) || this;
3647
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), be.INVALID_VALUE, o) || this;
3648
3648
  }
3649
3649
  return t;
3650
3650
  }(Ve)
3651
- ), Ro = (
3651
+ ), $o = (
3652
3652
  /** @class */
3653
3653
  function(e) {
3654
3654
  We(t, e);
3655
3655
  function t(n, r) {
3656
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ge.MISSING_VALUE, r) || this;
3656
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), be.MISSING_VALUE, r) || this;
3657
3657
  }
3658
3658
  return t;
3659
3659
  }(Ve)
@@ -3661,13 +3661,13 @@ var Ve = (
3661
3661
  (function(e) {
3662
3662
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3663
3663
  })(k || (k = {}));
3664
- function $o(e) {
3664
+ function Fo(e) {
3665
3665
  return e.length < 2 ? e : e.reduce(function(t, n) {
3666
3666
  var r = t[t.length - 1];
3667
3667
  return !r || r.type !== k.literal || n.type !== k.literal ? t.push(n) : r.value += n.value, t;
3668
3668
  }, []);
3669
3669
  }
3670
- function Fo(e) {
3670
+ function Uo(e) {
3671
3671
  return typeof e == "function";
3672
3672
  }
3673
3673
  function Re(e, t, n, r, o, i, s) {
@@ -3687,53 +3687,53 @@ function Re(e, t, n, r, o, i, s) {
3687
3687
  });
3688
3688
  continue;
3689
3689
  }
3690
- if (io(c)) {
3690
+ if (so(c)) {
3691
3691
  typeof i == "number" && a.push({
3692
3692
  type: k.literal,
3693
3693
  value: n.getNumberFormat(t).format(i)
3694
3694
  });
3695
3695
  continue;
3696
3696
  }
3697
- var h = c.value;
3698
- if (!(o && h in o))
3699
- throw new Ro(h, s);
3700
- var f = o[h];
3701
- if (oo(c)) {
3702
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3703
- type: typeof f == "string" ? k.literal : k.object,
3704
- value: f
3697
+ var f = c.value;
3698
+ if (!(o && f in o))
3699
+ throw new $o(f, s);
3700
+ var d = o[f];
3701
+ if (io(c)) {
3702
+ (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3703
+ type: typeof d == "string" ? k.literal : k.object,
3704
+ value: d
3705
3705
  });
3706
3706
  continue;
3707
3707
  }
3708
3708
  if (yn(c)) {
3709
- var b = typeof c.style == "string" ? r.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3709
+ var m = typeof c.style == "string" ? r.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3710
3710
  a.push({
3711
3711
  type: k.literal,
3712
- value: n.getDateTimeFormat(t, b).format(f)
3712
+ value: n.getDateTimeFormat(t, m).format(d)
3713
3713
  });
3714
3714
  continue;
3715
3715
  }
3716
3716
  if (_n(c)) {
3717
- var b = typeof c.style == "string" ? r.time[c.style] : ft(c.style) ? c.style.parsedOptions : r.time.medium;
3717
+ var m = typeof c.style == "string" ? r.time[c.style] : ft(c.style) ? c.style.parsedOptions : r.time.medium;
3718
3718
  a.push({
3719
3719
  type: k.literal,
3720
- value: n.getDateTimeFormat(t, b).format(f)
3720
+ value: n.getDateTimeFormat(t, m).format(d)
3721
3721
  });
3722
3722
  continue;
3723
3723
  }
3724
3724
  if (vn(c)) {
3725
- var b = typeof c.style == "string" ? r.number[c.style] : wn(c.style) ? c.style.parsedOptions : void 0;
3726
- b && b.scale && (f = f * (b.scale || 1)), a.push({
3725
+ var m = typeof c.style == "string" ? r.number[c.style] : wn(c.style) ? c.style.parsedOptions : void 0;
3726
+ m && m.scale && (d = d * (m.scale || 1)), a.push({
3727
3727
  type: k.literal,
3728
- value: n.getNumberFormat(t, b).format(f)
3728
+ value: n.getNumberFormat(t, m).format(d)
3729
3729
  });
3730
3730
  continue;
3731
3731
  }
3732
3732
  if (xn(c)) {
3733
- var m = c.children, d = c.value, C = o[d];
3734
- if (!Fo(C))
3735
- throw new Lo(d, "function", s);
3736
- var _ = Re(m, t, n, r, o, i), y = C(_.map(function(A) {
3733
+ var b = c.children, h = c.value, S = o[h];
3734
+ if (!Uo(S))
3735
+ throw new Ro(h, "function", s);
3736
+ var _ = Re(b, t, n, r, o, i), y = S(_.map(function(A) {
3737
3737
  return A.value;
3738
3738
  }));
3739
3739
  Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(A) {
@@ -3744,38 +3744,38 @@ function Re(e, t, n, r, o, i, s) {
3744
3744
  }));
3745
3745
  }
3746
3746
  if (Bn(c)) {
3747
- var P = c.options[f] || c.options.other;
3747
+ var P = c.options[d] || c.options.other;
3748
3748
  if (!P)
3749
- throw new jt(c.value, f, Object.keys(c.options), s);
3749
+ throw new jt(c.value, d, Object.keys(c.options), s);
3750
3750
  a.push.apply(a, Re(P.value, t, n, r, o));
3751
3751
  continue;
3752
3752
  }
3753
3753
  if (En(c)) {
3754
- var P = c.options["=".concat(f)];
3754
+ var P = c.options["=".concat(d)];
3755
3755
  if (!P) {
3756
3756
  if (!Intl.PluralRules)
3757
3757
  throw new Ve(`Intl.PluralRules is not available in this environment.
3758
3758
  Try polyfilling it using "@formatjs/intl-pluralrules"
3759
- `, ge.MISSING_INTL_API, s);
3760
- var O = n.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3761
- P = c.options[O] || c.options.other;
3759
+ `, be.MISSING_INTL_API, s);
3760
+ var M = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3761
+ P = c.options[M] || c.options.other;
3762
3762
  }
3763
3763
  if (!P)
3764
- throw new jt(c.value, f, Object.keys(c.options), s);
3765
- a.push.apply(a, Re(P.value, t, n, r, o, f - (c.offset || 0)));
3764
+ throw new jt(c.value, d, Object.keys(c.options), s);
3765
+ a.push.apply(a, Re(P.value, t, n, r, o, d - (c.offset || 0)));
3766
3766
  continue;
3767
3767
  }
3768
3768
  }
3769
- return $o(a);
3769
+ return Fo(a);
3770
3770
  }
3771
- function Uo(e, t) {
3771
+ function Do(e, t) {
3772
3772
  return t ? Y(Y(Y({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3773
3773
  return n[r] = Y(Y({}, e[r]), t[r] || {}), n;
3774
3774
  }, {})) : e;
3775
3775
  }
3776
- function Do(e, t) {
3776
+ function Go(e, t) {
3777
3777
  return t ? Object.keys(e).reduce(function(n, r) {
3778
- return n[r] = Uo(e[r], t[r]), n;
3778
+ return n[r] = Do(e[r], t[r]), n;
3779
3779
  }, Y({}, e)) : e;
3780
3780
  }
3781
3781
  function et(e) {
@@ -3792,7 +3792,7 @@ function et(e) {
3792
3792
  }
3793
3793
  };
3794
3794
  }
3795
- function Go(e) {
3795
+ function ko(e) {
3796
3796
  return e === void 0 && (e = {
3797
3797
  number: {},
3798
3798
  dateTime: {},
@@ -3824,7 +3824,7 @@ function Go(e) {
3824
3824
  })
3825
3825
  };
3826
3826
  }
3827
- var ko = (
3827
+ var jo = (
3828
3828
  /** @class */
3829
3829
  function() {
3830
3830
  function e(t, n, r, o) {
@@ -3838,8 +3838,8 @@ var ko = (
3838
3838
  var l = i.formatToParts(u);
3839
3839
  if (l.length === 1)
3840
3840
  return l[0].value;
3841
- var c = l.reduce(function(h, f) {
3842
- return !h.length || f.type !== k.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
3841
+ var c = l.reduce(function(f, d) {
3842
+ return !f.length || d.type !== k.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3843
3843
  }, []);
3844
3844
  return c.length <= 1 ? c[0] || "" : c;
3845
3845
  }, this.formatToParts = function(u) {
@@ -3856,13 +3856,13 @@ var ko = (
3856
3856
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3857
3857
  var s = o || {};
3858
3858
  s.formatters;
3859
- var a = Qr(s, ["formatters"]);
3859
+ var a = Jr(s, ["formatters"]);
3860
3860
  this.ast = e.__parse(t, Y(Y({}, a), { locale: this.resolvedLocale }));
3861
3861
  } else
3862
3862
  this.ast = t;
3863
3863
  if (!Array.isArray(this.ast))
3864
3864
  throw new TypeError("A message must be provided as a String or AST.");
3865
- this.formats = Do(e.formats, r), this.formatters = o && o.formatters || Go(this.formatterCache);
3865
+ this.formats = Go(e.formats, r), this.formatters = o && o.formatters || ko(this.formatterCache);
3866
3866
  }
3867
3867
  return Object.defineProperty(e, "defaultLocale", {
3868
3868
  get: function() {
@@ -3875,7 +3875,7 @@ var ko = (
3875
3875
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3876
3876
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3877
3877
  }
3878
- }, e.__parse = No, e.formats = {
3878
+ }, e.__parse = Lo, e.formats = {
3879
3879
  number: {
3880
3880
  integer: {
3881
3881
  maximumFractionDigits: 0
@@ -3936,7 +3936,7 @@ var ko = (
3936
3936
  }, e;
3937
3937
  }()
3938
3938
  );
3939
- function jo(e, t) {
3939
+ function Wo(e, t) {
3940
3940
  if (t == null)
3941
3941
  return;
3942
3942
  if (t in e)
@@ -3957,33 +3957,33 @@ function jo(e, t) {
3957
3957
  r = void 0;
3958
3958
  return r;
3959
3959
  }
3960
- const ie = {}, Wo = (e, t, n) => n && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = n), n), On = (e, t) => {
3960
+ const se = {}, Vo = (e, t, n) => n && (t in se || (se[t] = {}), e in se[t] || (se[t][e] = n), n), On = (e, t) => {
3961
3961
  if (t == null)
3962
3962
  return;
3963
- if (t in ie && e in ie[t])
3964
- return ie[t][e];
3963
+ if (t in se && e in se[t])
3964
+ return se[t][e];
3965
3965
  const n = ze(t);
3966
3966
  for (let r = 0; r < n.length; r++) {
3967
- const o = n[r], i = zo(o, e);
3967
+ const o = n[r], i = Xo(o, e);
3968
3968
  if (i)
3969
- return Wo(e, t, i);
3969
+ return Vo(e, t, i);
3970
3970
  }
3971
3971
  };
3972
3972
  let Et;
3973
3973
  const Te = je({});
3974
- function Vo(e) {
3974
+ function zo(e) {
3975
3975
  return Et[e] || null;
3976
3976
  }
3977
3977
  function In(e) {
3978
3978
  return e in Et;
3979
3979
  }
3980
- function zo(e, t) {
3980
+ function Xo(e, t) {
3981
3981
  if (!In(e))
3982
3982
  return null;
3983
- const n = Vo(e);
3984
- return jo(n, t);
3983
+ const n = zo(e);
3984
+ return Wo(n, t);
3985
3985
  }
3986
- function Xo(e) {
3986
+ function Zo(e) {
3987
3987
  if (e == null)
3988
3988
  return;
3989
3989
  const t = ze(e);
@@ -3994,21 +3994,21 @@ function Xo(e) {
3994
3994
  }
3995
3995
  }
3996
3996
  function Nn(e, ...t) {
3997
- delete ie[e], Te.update((n) => (n[e] = qr.all([n[e] || {}, ...t]), n));
3997
+ delete se[e], Te.update((n) => (n[e] = Qr.all([n[e] || {}, ...t]), n));
3998
3998
  }
3999
- ye(
3999
+ ve(
4000
4000
  [Te],
4001
4001
  ([e]) => Object.keys(e)
4002
4002
  );
4003
4003
  Te.subscribe((e) => Et = e);
4004
4004
  const $e = {};
4005
- function Zo(e, t) {
4005
+ function qo(e, t) {
4006
4006
  $e[e].delete(t), $e[e].size === 0 && delete $e[e];
4007
4007
  }
4008
4008
  function Ln(e) {
4009
4009
  return $e[e];
4010
4010
  }
4011
- function qo(e) {
4011
+ function Qo(e) {
4012
4012
  return ze(e).map((t) => {
4013
4013
  const n = Ln(t);
4014
4014
  return [t, n ? [...n] : []];
@@ -4022,19 +4022,19 @@ function vt(e) {
4022
4022
  }
4023
4023
  );
4024
4024
  }
4025
- function Qo(e, t) {
4025
+ function Jo(e, t) {
4026
4026
  return Promise.all(
4027
- t.map((r) => (Zo(e, r), r().then((o) => o.default || o)))
4027
+ t.map((r) => (qo(e, r), r().then((o) => o.default || o)))
4028
4028
  ).then((r) => Nn(e, ...r));
4029
4029
  }
4030
4030
  const Ee = {};
4031
4031
  function Rn(e) {
4032
4032
  if (!vt(e))
4033
4033
  return e in Ee ? Ee[e] : Promise.resolve();
4034
- const t = qo(e);
4034
+ const t = Qo(e);
4035
4035
  return Ee[e] = Promise.all(
4036
4036
  t.map(
4037
- ([n, r]) => Qo(n, r)
4037
+ ([n, r]) => Jo(n, r)
4038
4038
  )
4039
4039
  ).then(() => {
4040
4040
  if (vt(e))
@@ -4042,7 +4042,7 @@ function Rn(e) {
4042
4042
  delete Ee[e];
4043
4043
  }), Ee[e];
4044
4044
  }
4045
- const Jo = {
4045
+ const Yo = {
4046
4046
  number: {
4047
4047
  scientific: { notation: "scientific" },
4048
4048
  engineering: { notation: "engineering" },
@@ -4071,46 +4071,46 @@ const Jo = {
4071
4071
  timeZoneName: "short"
4072
4072
  }
4073
4073
  }
4074
- }, Yo = {
4074
+ }, Ko = {
4075
4075
  fallbackLocale: null,
4076
4076
  loadingDelay: 200,
4077
- formats: Jo,
4077
+ formats: Yo,
4078
4078
  warnOnMissingMessages: !0,
4079
4079
  handleMissingMessage: void 0,
4080
4080
  ignoreTag: !0
4081
- }, Ko = Yo;
4082
- function ve() {
4083
- return Ko;
4081
+ }, ei = Ko;
4082
+ function ge() {
4083
+ return ei;
4084
4084
  }
4085
4085
  const tt = je(!1);
4086
- var ei = Object.defineProperty, ti = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, Vt = (e, t, n) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ii = (e, t) => {
4086
+ var ti = Object.defineProperty, ni = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, Vt = (e, t, n) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, si = (e, t) => {
4087
4087
  for (var n in t || (t = {}))
4088
- ri.call(t, n) && Vt(e, n, t[n]);
4088
+ oi.call(t, n) && Vt(e, n, t[n]);
4089
4089
  if (Wt)
4090
4090
  for (var n of Wt(t))
4091
- oi.call(t, n) && Vt(e, n, t[n]);
4091
+ ii.call(t, n) && Vt(e, n, t[n]);
4092
4092
  return e;
4093
- }, si = (e, t) => ti(e, ni(t));
4093
+ }, ai = (e, t) => ni(e, ri(t));
4094
4094
  let yt;
4095
4095
  const De = je(null);
4096
4096
  function zt(e) {
4097
4097
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4098
4098
  }
4099
- function ze(e, t = ve().fallbackLocale) {
4099
+ function ze(e, t = ge().fallbackLocale) {
4100
4100
  const n = zt(e);
4101
4101
  return t ? [.../* @__PURE__ */ new Set([...n, ...zt(t)])] : n;
4102
4102
  }
4103
- function ae() {
4103
+ function ue() {
4104
4104
  return yt ?? void 0;
4105
4105
  }
4106
4106
  De.subscribe((e) => {
4107
4107
  yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4108
4108
  });
4109
- const ai = (e) => {
4110
- if (e && Xo(e) && vt(e)) {
4111
- const { loadingDelay: t } = ve();
4109
+ const ui = (e) => {
4110
+ if (e && Zo(e) && vt(e)) {
4111
+ const { loadingDelay: t } = ge();
4112
4112
  let n;
4113
- return typeof window < "u" && ae() != null && t ? n = window.setTimeout(
4113
+ return typeof window < "u" && ue() != null && t ? n = window.setTimeout(
4114
4114
  () => tt.set(!0),
4115
4115
  t
4116
4116
  ) : tt.set(!0), Rn(e).then(() => {
@@ -4120,8 +4120,8 @@ const ai = (e) => {
4120
4120
  });
4121
4121
  }
4122
4122
  return De.set(e);
4123
- }, _e = si(ii({}, De), {
4124
- set: ai
4123
+ }, ye = ai(si({}, De), {
4124
+ set: ui
4125
4125
  }), Xe = (e) => {
4126
4126
  const t = /* @__PURE__ */ Object.create(null);
4127
4127
  return (r) => {
@@ -4129,14 +4129,14 @@ const ai = (e) => {
4129
4129
  return o in t ? t[o] : t[o] = e(r);
4130
4130
  };
4131
4131
  };
4132
- var ui = Object.defineProperty, Ge = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, Xt = (e, t, n) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xt = (e, t) => {
4132
+ var li = Object.defineProperty, Ge = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, Xt = (e, t, n) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xt = (e, t) => {
4133
4133
  for (var n in t || (t = {}))
4134
4134
  $n.call(t, n) && Xt(e, n, t[n]);
4135
4135
  if (Ge)
4136
4136
  for (var n of Ge(t))
4137
4137
  Fn.call(t, n) && Xt(e, n, t[n]);
4138
4138
  return e;
4139
- }, Be = (e, t) => {
4139
+ }, _e = (e, t) => {
4140
4140
  var n = {};
4141
4141
  for (var r in e)
4142
4142
  $n.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -4146,66 +4146,66 @@ var ui = Object.defineProperty, Ge = Object.getOwnPropertySymbols, $n = Object.p
4146
4146
  return n;
4147
4147
  };
4148
4148
  const Se = (e, t) => {
4149
- const { formats: n } = ve();
4149
+ const { formats: n } = ge();
4150
4150
  if (e in n && t in n[e])
4151
4151
  return n[e][t];
4152
4152
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4153
- }, li = Xe(
4153
+ }, ci = Xe(
4154
4154
  (e) => {
4155
- var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4155
+ var t = e, { locale: n, format: r } = t, o = _e(t, ["locale", "format"]);
4156
4156
  if (n == null)
4157
4157
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4158
4158
  return r && (o = Se("number", r)), new Intl.NumberFormat(n, o);
4159
4159
  }
4160
- ), ci = Xe(
4160
+ ), hi = Xe(
4161
4161
  (e) => {
4162
- var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4162
+ var t = e, { locale: n, format: r } = t, o = _e(t, ["locale", "format"]);
4163
4163
  if (n == null)
4164
4164
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4165
4165
  return r ? o = Se("date", r) : Object.keys(o).length === 0 && (o = Se("date", "short")), new Intl.DateTimeFormat(n, o);
4166
4166
  }
4167
- ), hi = Xe(
4167
+ ), fi = Xe(
4168
4168
  (e) => {
4169
- var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4169
+ var t = e, { locale: n, format: r } = t, o = _e(t, ["locale", "format"]);
4170
4170
  if (n == null)
4171
4171
  throw new Error(
4172
4172
  '[svelte-i18n] A "locale" must be set to format time values'
4173
4173
  );
4174
4174
  return r ? o = Se("time", r) : Object.keys(o).length === 0 && (o = Se("time", "short")), new Intl.DateTimeFormat(n, o);
4175
4175
  }
4176
- ), fi = (e = {}) => {
4176
+ ), di = (e = {}) => {
4177
4177
  var t = e, {
4178
- locale: n = ae()
4179
- } = t, r = Be(t, [
4180
- "locale"
4181
- ]);
4182
- return li(xt({ locale: n }, r));
4183
- }, di = (e = {}) => {
4184
- var t = e, {
4185
- locale: n = ae()
4186
- } = t, r = Be(t, [
4178
+ locale: n = ue()
4179
+ } = t, r = _e(t, [
4187
4180
  "locale"
4188
4181
  ]);
4189
4182
  return ci(xt({ locale: n }, r));
4190
4183
  }, pi = (e = {}) => {
4191
4184
  var t = e, {
4192
- locale: n = ae()
4193
- } = t, r = Be(t, [
4185
+ locale: n = ue()
4186
+ } = t, r = _e(t, [
4194
4187
  "locale"
4195
4188
  ]);
4196
4189
  return hi(xt({ locale: n }, r));
4197
- }, mi = Xe(
4190
+ }, mi = (e = {}) => {
4191
+ var t = e, {
4192
+ locale: n = ue()
4193
+ } = t, r = _e(t, [
4194
+ "locale"
4195
+ ]);
4196
+ return fi(xt({ locale: n }, r));
4197
+ }, bi = Xe(
4198
4198
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4199
- (e, t = ae()) => new ko(e, t, ve().formats, {
4200
- ignoreTag: ve().ignoreTag
4199
+ (e, t = ue()) => new jo(e, t, ge().formats, {
4200
+ ignoreTag: ge().ignoreTag
4201
4201
  })
4202
- ), bi = (e, t = {}) => {
4202
+ ), gi = (e, t = {}) => {
4203
4203
  var n, r, o, i;
4204
4204
  let s = t;
4205
4205
  typeof e == "object" && (s = e, e = s.id);
4206
4206
  const {
4207
4207
  values: a,
4208
- locale: u = ae(),
4208
+ locale: u = ue(),
4209
4209
  default: l
4210
4210
  } = s;
4211
4211
  if (u == null)
@@ -4214,35 +4214,35 @@ const Se = (e, t) => {
4214
4214
  );
4215
4215
  let c = On(e, u);
4216
4216
  if (!c)
4217
- c = (i = (o = (r = (n = ve()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? o : l) != null ? i : e;
4217
+ c = (i = (o = (r = (n = ge()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? o : l) != null ? i : e;
4218
4218
  else if (typeof c != "string")
4219
4219
  return console.warn(
4220
4220
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4221
4221
  ), c;
4222
4222
  if (!a)
4223
4223
  return c;
4224
- let h = c;
4224
+ let f = c;
4225
4225
  try {
4226
- h = mi(c, u).format(a);
4227
- } catch (f) {
4228
- f instanceof Error && console.warn(
4226
+ f = bi(c, u).format(a);
4227
+ } catch (d) {
4228
+ d instanceof Error && console.warn(
4229
4229
  `[svelte-i18n] Message "${e}" has syntax error:`,
4230
- f.message
4230
+ d.message
4231
4231
  );
4232
4232
  }
4233
- return h;
4234
- }, gi = (e, t) => pi(t).format(e), vi = (e, t) => di(t).format(e), yi = (e, t) => fi(t).format(e), _i = (e, t = ae()) => On(e, t), Bi = ye([_e, Te], () => bi);
4235
- ye([_e], () => gi);
4236
- ye([_e], () => vi);
4237
- ye([_e], () => yi);
4238
- ye([_e, Te], () => _i);
4239
- window.emWidgets = { topic: Or };
4240
- const Ei = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4233
+ return f;
4234
+ }, vi = (e, t) => mi(t).format(e), yi = (e, t) => pi(t).format(e), _i = (e, t) => di(t).format(e), Bi = (e, t = ue()) => On(e, t), Ei = ve([ye, Te], () => gi);
4235
+ ve([ye], () => vi);
4236
+ ve([ye], () => yi);
4237
+ ve([ye], () => _i);
4238
+ ve([ye, Te], () => Bi);
4239
+ window.emWidgets = { topic: Ir };
4240
+ const xi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4241
4241
  function Zt(e, t) {
4242
4242
  Nn(e, t);
4243
4243
  }
4244
- function xi(e) {
4245
- _e.set(e);
4244
+ function wi(e) {
4245
+ ye.set(e);
4246
4246
  }
4247
4247
  const qt = {
4248
4248
  en: {
@@ -4378,13 +4378,13 @@ const qt = {
4378
4378
  bonusClaimErrorMessage: "Invalid bonus"
4379
4379
  }
4380
4380
  };
4381
- function wi(e, t) {
4381
+ function Ci(e, t) {
4382
4382
  if (e) {
4383
4383
  const n = document.createElement("style");
4384
4384
  n.innerHTML = t, e.appendChild(n);
4385
4385
  }
4386
4386
  }
4387
- function Ci(e, t) {
4387
+ function Si(e, t) {
4388
4388
  const n = new URL(t);
4389
4389
  fetch(n.href).then((r) => r.text()).then((r) => {
4390
4390
  const o = document.createElement("style");
@@ -4393,7 +4393,7 @@ function Ci(e, t) {
4393
4393
  console.error("There was an error while trying to load client styling from URL", r);
4394
4394
  });
4395
4395
  }
4396
- function Si(e, t, n) {
4396
+ function Ai(e, t, n) {
4397
4397
  if (window.emMessageBus) {
4398
4398
  const r = document.createElement("style");
4399
4399
  window.emMessageBus.subscribe(t, (o) => {
@@ -4413,149 +4413,149 @@ if (typeof window < "u") {
4413
4413
  }
4414
4414
  };
4415
4415
  };
4416
- customElements.define = e(customElements.define), import("./PlayerBonusCard-Ck7zbgpY.js").then(({ default: t }) => {
4416
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-CiGDdQJS.js").then(({ default: t }) => {
4417
4417
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4418
4418
  });
4419
4419
  }
4420
- function Ai(e) {
4421
- Kn(e, "svelte-1nt8h6r", ".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
4420
+ function Ti(e) {
4421
+ er(e, "svelte-1nt8h6r", ".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
4422
4422
  }
4423
4423
  function Qt(e, t, n) {
4424
4424
  const r = e.slice();
4425
- return r[48] = t[n], r[50] = n, r;
4425
+ return r[49] = t[n], r[51] = n, r;
4426
4426
  }
4427
4427
  function Jt(e, t, n) {
4428
4428
  const r = e.slice();
4429
- return r[51] = t[n], r;
4429
+ return r[52] = t[n], r;
4430
4430
  }
4431
- function Ti(e) {
4431
+ function Pi(e) {
4432
4432
  let t, n, r, o = (
4433
4433
  /*$_*/
4434
- e[17]("titleBonuses") + ""
4434
+ e[18]("titleBonuses") + ""
4435
4435
  ), i, s, a, u, l = (
4436
4436
  /*$_*/
4437
- e[17]("bonusCode") + ""
4438
- ), c, h, f, b, m, d, C = (
4437
+ e[18]("bonusCode") + ""
4438
+ ), c, f, d, m, b, h, S = (
4439
4439
  /*$_*/
4440
- e[17]("getBonus") + ""
4441
- ), _, y, P, O, A, E, N, M, K, J = (
4440
+ e[18]("getBonus") + ""
4441
+ ), _, y, P, M, A, E, N, H, oe, q = (
4442
4442
  /*isMobile*/
4443
- e[18] && Pi(e)
4443
+ e[19] && Mi(e)
4444
4444
  ), R = (
4445
4445
  /*invalidBonusCode*/
4446
- e[8] && Yt(e)
4446
+ e[9] && Yt(e)
4447
4447
  );
4448
- function ue(S, L) {
4448
+ function Be(C, L) {
4449
4449
  return (
4450
4450
  /*activeBonusesList*/
4451
- S[15].length === 0 ? Hi : Mi
4451
+ C[16].length === 0 ? Oi : Hi
4452
4452
  );
4453
4453
  }
4454
- let le = ue(e), V = le(e), U = (
4454
+ let ie = Be(e), X = ie(e), $ = (
4455
4455
  /*activeBonusesList*/
4456
- e[15].length !== 0 && en(e)
4457
- ), $ = (
4456
+ e[16].length !== 0 && en(e)
4457
+ ), U = (
4458
4458
  /*bonusModal*/
4459
- e[16] && nn(e)
4459
+ e[17] && nn(e)
4460
4460
  );
4461
4461
  return {
4462
4462
  c() {
4463
- t = T("div"), J && J.c(), n = j(), r = T("h2"), i = F(o), s = j(), a = T("div"), u = T("label"), c = F(l), h = j(), f = T("div"), b = T("input"), m = j(), d = T("button"), _ = F(C), y = j(), R && R.c(), P = j(), O = T("div"), V.c(), A = j(), U && U.c(), E = j(), $ && $.c(), N = Bt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4464
- (e[18] ? "ActiveBonusesTitleNone" : "")), B(u, "for", "BonusCode"), B(b, "class", "BonusCodeInput " + /*isMobile*/
4465
- (e[18] ? "BonusCodeInputMobile" : "")), B(b, "type", "text"), B(b, "id", "BonusCode"), B(d, "class", "SubmitBonusCode " + /*isMobile*/
4466
- (e[18] ? "SubmitBonusCodeMobile" : "")), d.disabled = /*invalidBonusField*/
4467
- e[7], B(f, "class", "BonusCodeWrapper " + /*isMobile*/
4468
- (e[18] ? "BonusCodeWrapperMobile" : "")), B(a, "class", "BonusCodeContainer " + /*isMobile*/
4469
- (e[18] ? "BonusCodeContainerMobile" : "")), B(O, "class", "ActiveBonusesGrid " + /*isMobile*/
4470
- (e[18] ? "ActiveBonusesGridMobile" : "")), B(t, "class", "ActiveBonusesWrapper " + /*isMobile*/
4471
- (e[18] ? "ActiveBonusesWrapperMobile" : ""));
4463
+ t = T("div"), q && q.c(), n = j(), r = T("h2"), i = F(o), s = j(), a = T("div"), u = T("label"), c = F(l), f = j(), d = T("div"), m = T("input"), b = j(), h = T("button"), _ = F(S), y = j(), R && R.c(), P = j(), M = T("div"), X.c(), A = j(), $ && $.c(), E = j(), U && U.c(), N = Bt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4464
+ (e[19] ? "ActiveBonusesTitleNone" : "")), B(u, "for", "BonusCode"), B(m, "class", "BonusCodeInput " + /*isMobile*/
4465
+ (e[19] ? "BonusCodeInputMobile" : "")), B(m, "type", "text"), B(m, "id", "BonusCode"), B(h, "class", "SubmitBonusCode " + /*isMobile*/
4466
+ (e[19] ? "SubmitBonusCodeMobile" : "")), h.disabled = /*invalidBonusField*/
4467
+ e[8], B(d, "class", "BonusCodeWrapper " + /*isMobile*/
4468
+ (e[19] ? "BonusCodeWrapperMobile" : "")), B(a, "class", "BonusCodeContainer " + /*isMobile*/
4469
+ (e[19] ? "BonusCodeContainerMobile" : "")), B(M, "class", "ActiveBonusesGrid " + /*isMobile*/
4470
+ (e[19] ? "ActiveBonusesGridMobile" : "")), B(t, "class", "ActiveBonusesWrapper " + /*isMobile*/
4471
+ (e[19] ? "ActiveBonusesWrapperMobile" : ""));
4472
4472
  },
4473
- m(S, L) {
4474
- W(S, t, L), J && J.m(t, null), v(t, n), v(t, r), v(r, i), v(t, s), v(t, a), v(a, u), v(u, c), v(a, h), v(a, f), v(f, b), St(
4475
- b,
4473
+ m(C, L) {
4474
+ W(C, t, L), q && q.m(t, null), v(t, n), v(t, r), v(r, i), v(t, s), v(t, a), v(a, u), v(u, c), v(a, f), v(a, d), v(d, m), St(
4475
+ m,
4476
4476
  /*bonusCode*/
4477
- e[9]
4478
- ), v(f, m), v(f, d), v(d, _), v(a, y), R && R.m(a, null), v(t, P), v(t, O), V.m(O, null), v(t, A), U && U.m(t, null), W(S, E, L), $ && $.m(S, L), W(S, N, L), M || (K = [
4479
- q(
4480
- b,
4477
+ e[10]
4478
+ ), v(d, b), v(d, h), v(h, _), v(a, y), R && R.m(a, null), v(t, P), v(t, M), X.m(M, null), v(t, A), $ && $.m(t, null), W(C, E, L), U && U.m(C, L), W(C, N, L), H || (oe = [
4479
+ Q(
4480
+ m,
4481
4481
  "input",
4482
4482
  /*input_input_handler*/
4483
- e[31]
4483
+ e[32]
4484
4484
  ),
4485
- q(
4486
- b,
4485
+ Q(
4486
+ m,
4487
4487
  "keyup",
4488
4488
  /*validateBonusCode*/
4489
- e[20]
4489
+ e[21]
4490
4490
  ),
4491
- q(
4492
- d,
4491
+ Q(
4492
+ h,
4493
4493
  "click",
4494
4494
  /*debouncedFunction*/
4495
- e[25](
4495
+ e[26](
4496
4496
  /*claimBonus*/
4497
- e[22]
4497
+ e[23]
4498
4498
  )
4499
4499
  )
4500
- ], M = !0);
4500
+ ], H = !0);
4501
4501
  },
4502
- p(S, L) {
4502
+ p(C, L) {
4503
4503
  /*isMobile*/
4504
- S[18] && J.p(S, L), L[0] & /*$_*/
4505
- 131072 && o !== (o = /*$_*/
4506
- S[17]("titleBonuses") + "") && re(i, o), L[0] & /*$_*/
4507
- 131072 && l !== (l = /*$_*/
4508
- S[17]("bonusCode") + "") && re(c, l), L[0] & /*bonusCode*/
4509
- 512 && b.value !== /*bonusCode*/
4510
- S[9] && St(
4511
- b,
4504
+ C[19] && q.p(C, L), L[0] & /*$_*/
4505
+ 262144 && o !== (o = /*$_*/
4506
+ C[18]("titleBonuses") + "") && ne(i, o), L[0] & /*$_*/
4507
+ 262144 && l !== (l = /*$_*/
4508
+ C[18]("bonusCode") + "") && ne(c, l), L[0] & /*bonusCode*/
4509
+ 1024 && m.value !== /*bonusCode*/
4510
+ C[10] && St(
4511
+ m,
4512
4512
  /*bonusCode*/
4513
- S[9]
4513
+ C[10]
4514
4514
  ), L[0] & /*$_*/
4515
- 131072 && C !== (C = /*$_*/
4516
- S[17]("getBonus") + "") && re(_, C), L[0] & /*invalidBonusField*/
4517
- 128 && (d.disabled = /*invalidBonusField*/
4518
- S[7]), /*invalidBonusCode*/
4519
- S[8] ? R ? R.p(S, L) : (R = Yt(S), R.c(), R.m(a, null)) : R && (R.d(1), R = null), le === (le = ue(S)) && V ? V.p(S, L) : (V.d(1), V = le(S), V && (V.c(), V.m(O, null))), /*activeBonusesList*/
4520
- S[15].length !== 0 ? U ? U.p(S, L) : (U = en(S), U.c(), U.m(t, null)) : U && (U.d(1), U = null), /*bonusModal*/
4521
- S[16] ? $ ? $.p(S, L) : ($ = nn(S), $.c(), $.m(N.parentNode, N)) : $ && ($.d(1), $ = null);
4515
+ 262144 && S !== (S = /*$_*/
4516
+ C[18]("getBonus") + "") && ne(_, S), L[0] & /*invalidBonusField*/
4517
+ 256 && (h.disabled = /*invalidBonusField*/
4518
+ C[8]), /*invalidBonusCode*/
4519
+ C[9] ? R ? R.p(C, L) : (R = Yt(C), R.c(), R.m(a, null)) : R && (R.d(1), R = null), ie === (ie = Be(C)) && X ? X.p(C, L) : (X.d(1), X = ie(C), X && (X.c(), X.m(M, null))), /*activeBonusesList*/
4520
+ C[16].length !== 0 ? $ ? $.p(C, L) : ($ = en(C), $.c(), $.m(t, null)) : $ && ($.d(1), $ = null), /*bonusModal*/
4521
+ C[17] ? U ? U.p(C, L) : (U = nn(C), U.c(), U.m(N.parentNode, N)) : U && (U.d(1), U = null);
4522
4522
  },
4523
- d(S) {
4524
- S && (G(t), G(E), G(N)), J && J.d(), R && R.d(), V.d(), U && U.d(), $ && $.d(S), M = !1, se(K);
4523
+ d(C) {
4524
+ C && (G(t), G(E), G(N)), q && q.d(), R && R.d(), X.d(), $ && $.d(), U && U.d(C), H = !1, ae(oe);
4525
4525
  }
4526
4526
  };
4527
4527
  }
4528
- function Pi(e) {
4529
- let t, n, r, o, i, s, a, u, l, c, h = (
4528
+ function Mi(e) {
4529
+ let t, n, r, o, i, s, a, u, l, c, f = (
4530
4530
  /*$_*/
4531
- e[17]("titleBonuses") + ""
4532
- ), f, b, m;
4531
+ e[18]("titleBonuses") + ""
4532
+ ), d, m, b;
4533
4533
  return {
4534
4534
  c() {
4535
- t = T("div"), n = ce("svg"), r = ce("defs"), o = ce("style"), i = F(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = ce("g"), a = ce("g"), u = ce("path"), l = j(), c = T("h2"), f = F(h), B(u, "class", "aaa"), B(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(u, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "width", "15"), B(n, "height", "15"), B(n, "viewBox", "0 0 15 15"), B(c, "class", "ActiveBonusesTitleMobile"), B(t, "class", "MenuReturnButton");
4535
+ t = T("div"), n = le("svg"), r = le("defs"), o = le("style"), i = F(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = le("g"), a = le("g"), u = le("path"), l = j(), c = T("h2"), d = F(f), B(u, "class", "aaa"), B(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(u, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "width", "15"), B(n, "height", "15"), B(n, "viewBox", "0 0 15 15"), B(c, "class", "ActiveBonusesTitleMobile"), B(t, "class", "MenuReturnButton");
4536
4536
  },
4537
- m(d, C) {
4538
- W(d, t, C), v(t, n), v(n, r), v(r, o), v(o, i), v(n, s), v(s, a), v(a, u), v(t, l), v(t, c), v(c, f), b || (m = q(
4537
+ m(h, S) {
4538
+ W(h, t, S), v(t, n), v(n, r), v(r, o), v(o, i), v(n, s), v(s, a), v(a, u), v(t, l), v(t, c), v(c, d), m || (b = Q(
4539
4539
  t,
4540
4540
  "click",
4541
4541
  /*click_handler*/
4542
- e[30]
4543
- ), b = !0);
4542
+ e[31]
4543
+ ), m = !0);
4544
4544
  },
4545
- p(d, C) {
4546
- C[0] & /*$_*/
4547
- 131072 && h !== (h = /*$_*/
4548
- d[17]("titleBonuses") + "") && re(f, h);
4545
+ p(h, S) {
4546
+ S[0] & /*$_*/
4547
+ 262144 && f !== (f = /*$_*/
4548
+ h[18]("titleBonuses") + "") && ne(d, f);
4549
4549
  },
4550
- d(d) {
4551
- d && G(t), b = !1, m();
4550
+ d(h) {
4551
+ h && G(t), m = !1, b();
4552
4552
  }
4553
4553
  };
4554
4554
  }
4555
4555
  function Yt(e) {
4556
4556
  let t, n = (
4557
4557
  /*$_*/
4558
- e[17]("invalidBonusCode") + ""
4558
+ e[18]("invalidBonusCode") + ""
4559
4559
  ), r;
4560
4560
  return {
4561
4561
  c() {
@@ -4566,18 +4566,18 @@ function Yt(e) {
4566
4566
  },
4567
4567
  p(o, i) {
4568
4568
  i[0] & /*$_*/
4569
- 131072 && n !== (n = /*$_*/
4570
- o[17]("invalidBonusCode") + "") && re(r, n);
4569
+ 262144 && n !== (n = /*$_*/
4570
+ o[18]("invalidBonusCode") + "") && ne(r, n);
4571
4571
  },
4572
4572
  d(o) {
4573
4573
  o && G(t);
4574
4574
  }
4575
4575
  };
4576
4576
  }
4577
- function Mi(e) {
4577
+ function Hi(e) {
4578
4578
  let t, n = Fe(
4579
4579
  /*activeBonusesList*/
4580
- e[15]
4580
+ e[16]
4581
4581
  ), r = [];
4582
4582
  for (let o = 0; o < n.length; o += 1)
4583
4583
  r[o] = Kt(Jt(e, n, o));
@@ -4593,11 +4593,11 @@ function Mi(e) {
4593
4593
  W(o, t, i);
4594
4594
  },
4595
4595
  p(o, i) {
4596
- if (i[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
4597
- 32831) {
4596
+ if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
4597
+ 65663) {
4598
4598
  n = Fe(
4599
4599
  /*activeBonusesList*/
4600
- o[15]
4600
+ o[16]
4601
4601
  );
4602
4602
  let s;
4603
4603
  for (s = 0; s < n.length; s += 1) {
@@ -4614,10 +4614,10 @@ function Mi(e) {
4614
4614
  }
4615
4615
  };
4616
4616
  }
4617
- function Hi(e) {
4617
+ function Oi(e) {
4618
4618
  let t, n = (
4619
4619
  /*$_*/
4620
- e[17]("noActiveBonuses") + ""
4620
+ e[18]("noActiveBonuses") + ""
4621
4621
  ), r;
4622
4622
  return {
4623
4623
  c() {
@@ -4628,39 +4628,44 @@ function Hi(e) {
4628
4628
  },
4629
4629
  p(o, i) {
4630
4630
  i[0] & /*$_*/
4631
- 131072 && n !== (n = /*$_*/
4632
- o[17]("noActiveBonuses") + "") && re(r, n);
4631
+ 262144 && n !== (n = /*$_*/
4632
+ o[18]("noActiveBonuses") + "") && ne(r, n);
4633
4633
  },
4634
4634
  d(o) {
4635
4635
  o && G(t);
4636
4636
  }
4637
4637
  };
4638
4638
  }
4639
- function Oi(e) {
4640
- let t, n, r, o, i, s, a, u, l, c, h, f, b, m, d, C;
4639
+ function Ii(e) {
4640
+ let t, n, r, o, i, s, a, u, l, c, f, d, m, b, h, S;
4641
4641
  return {
4642
4642
  c() {
4643
4643
  t = T("player-bonus-card"), p(t, "termsandconditionsdescription", n = /*activeBonus*/
4644
- e[51].termsandconditionsdescription), p(t, "termsandconditionsurl", r = /*activeBonus*/
4645
- e[51].termsandconditionsurl), p(t, "termsandconditionsasset", o = /*activeBonus*/
4646
- e[51].termsandconditionsasset), p(t, "endpoint", i = /*activeBonus*/
4647
- e[51].endpoint), p(t, "playerid", s = /*activeBonus*/
4648
- e[51].playerid), p(t, "session", a = /*activeBonus*/
4649
- e[51].session), p(t, "bonuswalletid", u = /*activeBonus*/
4650
- e[51].walletId), p(t, "bonusdate", l = /*activeBonus*/
4651
- e[51].granted), p(t, "bonusstatus", c = /*activeBonus*/
4652
- e[51].status), p(t, "bonusname", h = /*activeBonus*/
4653
- e[51].name), p(t, "bonustype", f = /*activeBonus*/
4654
- e[51].type), p(t, "bonusamount", b = /*activeBonus*/
4655
- e[51].extension.grantedPlayerCurrencyAmount), p(t, "bonuswageringamount", m = `${/*activeBonus*/
4656
- e[51].fulfilledWR} / ${/*activeBonus*/
4657
- e[51].originalWageringRequirement}`), p(t, "bonusremainingamount", d = /*activeBonus*/
4658
- e[51].currentAmount), p(t, "bonuscurrency", C = /*activeBonus*/
4659
- e[51].currency), p(
4644
+ e[52].termsandconditionsdescription), p(t, "termsandconditionsurl", r = /*activeBonus*/
4645
+ e[52].termsandconditionsurl), p(t, "termsandconditionsasset", o = /*activeBonus*/
4646
+ e[52].termsandconditionsasset), p(t, "endpoint", i = /*activeBonus*/
4647
+ e[52].endpoint), p(t, "playerid", s = /*activeBonus*/
4648
+ e[52].playerid), p(t, "session", a = /*activeBonus*/
4649
+ e[52].session), p(t, "bonuswalletid", u = /*activeBonus*/
4650
+ e[52].walletId), p(t, "bonusdate", l = /*activeBonus*/
4651
+ e[52].granted), p(t, "bonusstatus", c = /*activeBonus*/
4652
+ e[52].status), p(t, "bonusname", f = /*activeBonus*/
4653
+ e[52].name), p(t, "bonustype", d = /*activeBonus*/
4654
+ e[52].type), p(t, "bonusamount", m = /*activeBonus*/
4655
+ e[52].extension.grantedPlayerCurrencyAmount), p(t, "bonuswageringamount", b = `${/*activeBonus*/
4656
+ e[52].fulfilledWR} / ${/*activeBonus*/
4657
+ e[52].originalWageringRequirement}`), p(t, "bonusremainingamount", h = /*activeBonus*/
4658
+ e[52].currentAmount), p(t, "bonuscurrency", S = /*activeBonus*/
4659
+ e[52].currency), p(
4660
4660
  t,
4661
4661
  "lang",
4662
4662
  /*lang*/
4663
4663
  e[0]
4664
+ ), p(
4665
+ t,
4666
+ "dateformat",
4667
+ /*dateformat*/
4668
+ e[6]
4664
4669
  ), p(
4665
4670
  t,
4666
4671
  "clientstyling",
@@ -4693,42 +4698,48 @@ function Oi(e) {
4693
4698
  },
4694
4699
  p(_, y) {
4695
4700
  y[0] & /*activeBonusesList*/
4696
- 32768 && n !== (n = /*activeBonus*/
4697
- _[51].termsandconditionsdescription) && p(t, "termsandconditionsdescription", n), y[0] & /*activeBonusesList*/
4698
- 32768 && r !== (r = /*activeBonus*/
4699
- _[51].termsandconditionsurl) && p(t, "termsandconditionsurl", r), y[0] & /*activeBonusesList*/
4700
- 32768 && o !== (o = /*activeBonus*/
4701
- _[51].termsandconditionsasset) && p(t, "termsandconditionsasset", o), y[0] & /*activeBonusesList*/
4702
- 32768 && i !== (i = /*activeBonus*/
4703
- _[51].endpoint) && p(t, "endpoint", i), y[0] & /*activeBonusesList*/
4704
- 32768 && s !== (s = /*activeBonus*/
4705
- _[51].playerid) && p(t, "playerid", s), y[0] & /*activeBonusesList*/
4706
- 32768 && a !== (a = /*activeBonus*/
4707
- _[51].session) && p(t, "session", a), y[0] & /*activeBonusesList*/
4708
- 32768 && u !== (u = /*activeBonus*/
4709
- _[51].walletId) && p(t, "bonuswalletid", u), y[0] & /*activeBonusesList*/
4710
- 32768 && l !== (l = /*activeBonus*/
4711
- _[51].granted) && p(t, "bonusdate", l), y[0] & /*activeBonusesList*/
4712
- 32768 && c !== (c = /*activeBonus*/
4713
- _[51].status) && p(t, "bonusstatus", c), y[0] & /*activeBonusesList*/
4714
- 32768 && h !== (h = /*activeBonus*/
4715
- _[51].name) && p(t, "bonusname", h), y[0] & /*activeBonusesList*/
4716
- 32768 && f !== (f = /*activeBonus*/
4717
- _[51].type) && p(t, "bonustype", f), y[0] & /*activeBonusesList*/
4718
- 32768 && b !== (b = /*activeBonus*/
4719
- _[51].extension.grantedPlayerCurrencyAmount) && p(t, "bonusamount", b), y[0] & /*activeBonusesList*/
4720
- 32768 && m !== (m = `${/*activeBonus*/
4721
- _[51].fulfilledWR} / ${/*activeBonus*/
4722
- _[51].originalWageringRequirement}`) && p(t, "bonuswageringamount", m), y[0] & /*activeBonusesList*/
4723
- 32768 && d !== (d = /*activeBonus*/
4724
- _[51].currentAmount) && p(t, "bonusremainingamount", d), y[0] & /*activeBonusesList*/
4725
- 32768 && C !== (C = /*activeBonus*/
4726
- _[51].currency) && p(t, "bonuscurrency", C), y[0] & /*lang*/
4701
+ 65536 && n !== (n = /*activeBonus*/
4702
+ _[52].termsandconditionsdescription) && p(t, "termsandconditionsdescription", n), y[0] & /*activeBonusesList*/
4703
+ 65536 && r !== (r = /*activeBonus*/
4704
+ _[52].termsandconditionsurl) && p(t, "termsandconditionsurl", r), y[0] & /*activeBonusesList*/
4705
+ 65536 && o !== (o = /*activeBonus*/
4706
+ _[52].termsandconditionsasset) && p(t, "termsandconditionsasset", o), y[0] & /*activeBonusesList*/
4707
+ 65536 && i !== (i = /*activeBonus*/
4708
+ _[52].endpoint) && p(t, "endpoint", i), y[0] & /*activeBonusesList*/
4709
+ 65536 && s !== (s = /*activeBonus*/
4710
+ _[52].playerid) && p(t, "playerid", s), y[0] & /*activeBonusesList*/
4711
+ 65536 && a !== (a = /*activeBonus*/
4712
+ _[52].session) && p(t, "session", a), y[0] & /*activeBonusesList*/
4713
+ 65536 && u !== (u = /*activeBonus*/
4714
+ _[52].walletId) && p(t, "bonuswalletid", u), y[0] & /*activeBonusesList*/
4715
+ 65536 && l !== (l = /*activeBonus*/
4716
+ _[52].granted) && p(t, "bonusdate", l), y[0] & /*activeBonusesList*/
4717
+ 65536 && c !== (c = /*activeBonus*/
4718
+ _[52].status) && p(t, "bonusstatus", c), y[0] & /*activeBonusesList*/
4719
+ 65536 && f !== (f = /*activeBonus*/
4720
+ _[52].name) && p(t, "bonusname", f), y[0] & /*activeBonusesList*/
4721
+ 65536 && d !== (d = /*activeBonus*/
4722
+ _[52].type) && p(t, "bonustype", d), y[0] & /*activeBonusesList*/
4723
+ 65536 && m !== (m = /*activeBonus*/
4724
+ _[52].extension.grantedPlayerCurrencyAmount) && p(t, "bonusamount", m), y[0] & /*activeBonusesList*/
4725
+ 65536 && b !== (b = `${/*activeBonus*/
4726
+ _[52].fulfilledWR} / ${/*activeBonus*/
4727
+ _[52].originalWageringRequirement}`) && p(t, "bonuswageringamount", b), y[0] & /*activeBonusesList*/
4728
+ 65536 && h !== (h = /*activeBonus*/
4729
+ _[52].currentAmount) && p(t, "bonusremainingamount", h), y[0] & /*activeBonusesList*/
4730
+ 65536 && S !== (S = /*activeBonus*/
4731
+ _[52].currency) && p(t, "bonuscurrency", S), y[0] & /*lang*/
4727
4732
  1 && p(
4728
4733
  t,
4729
4734
  "lang",
4730
4735
  /*lang*/
4731
4736
  _[0]
4737
+ ), y[0] & /*dateformat*/
4738
+ 64 && p(
4739
+ t,
4740
+ "dateformat",
4741
+ /*dateformat*/
4742
+ _[6]
4732
4743
  ), y[0] & /*clientstyling*/
4733
4744
  2 && p(
4734
4745
  t,
@@ -4766,27 +4777,32 @@ function Oi(e) {
4766
4777
  }
4767
4778
  };
4768
4779
  }
4769
- function Ii(e) {
4770
- let t, n, r, o, i, s, a, u, l, c, h, f, b;
4780
+ function Ni(e) {
4781
+ let t, n, r, o, i, s, a, u, l, c, f, d, m;
4771
4782
  return {
4772
4783
  c() {
4773
4784
  t = T("player-bonus-card"), p(t, "termsandconditionsdescription", n = /*activeBonus*/
4774
- e[51].termsandconditionsdescription), p(t, "termsandconditionsurl", r = /*activeBonus*/
4775
- e[51].termsandconditionsurl), p(t, "termsandconditionsasset", o = /*activeBonus*/
4776
- e[51].termsandconditionsasset), p(t, "endpoint", i = /*activeBonus*/
4777
- e[51].endpoint), p(t, "playerid", s = /*activeBonus*/
4778
- e[51].playerid), p(t, "session", a = /*activeBonus*/
4779
- e[51].session), p(t, "bonuswalletid", u = /*activeBonus*/
4780
- e[51].walletId), p(t, "bonusdate", l = /*activeBonus*/
4781
- e[51].granted), p(t, "bonusstatus", c = /*activeBonus*/
4782
- e[51].status), p(t, "bonusname", h = /*activeBonus*/
4783
- e[51].name), p(t, "bonustype", f = /*activeBonus*/
4784
- e[51].type), p(t, "bonuscurrency", b = /*activeBonus*/
4785
- e[51].currency), p(
4785
+ e[52].termsandconditionsdescription), p(t, "termsandconditionsurl", r = /*activeBonus*/
4786
+ e[52].termsandconditionsurl), p(t, "termsandconditionsasset", o = /*activeBonus*/
4787
+ e[52].termsandconditionsasset), p(t, "endpoint", i = /*activeBonus*/
4788
+ e[52].endpoint), p(t, "playerid", s = /*activeBonus*/
4789
+ e[52].playerid), p(t, "session", a = /*activeBonus*/
4790
+ e[52].session), p(t, "bonuswalletid", u = /*activeBonus*/
4791
+ e[52].walletId), p(t, "bonusdate", l = /*activeBonus*/
4792
+ e[52].granted), p(t, "bonusstatus", c = /*activeBonus*/
4793
+ e[52].status), p(t, "bonusname", f = /*activeBonus*/
4794
+ e[52].name), p(t, "bonustype", d = /*activeBonus*/
4795
+ e[52].type), p(t, "bonuscurrency", m = /*activeBonus*/
4796
+ e[52].currency), p(
4786
4797
  t,
4787
4798
  "lang",
4788
4799
  /*lang*/
4789
4800
  e[0]
4801
+ ), p(
4802
+ t,
4803
+ "dateformat",
4804
+ /*dateformat*/
4805
+ e[6]
4790
4806
  ), p(
4791
4807
  t,
4792
4808
  "clientstyling",
@@ -4814,74 +4830,80 @@ function Ii(e) {
4814
4830
  e[5]
4815
4831
  );
4816
4832
  },
4817
- m(m, d) {
4818
- W(m, t, d);
4833
+ m(b, h) {
4834
+ W(b, t, h);
4819
4835
  },
4820
- p(m, d) {
4821
- d[0] & /*activeBonusesList*/
4822
- 32768 && n !== (n = /*activeBonus*/
4823
- m[51].termsandconditionsdescription) && p(t, "termsandconditionsdescription", n), d[0] & /*activeBonusesList*/
4824
- 32768 && r !== (r = /*activeBonus*/
4825
- m[51].termsandconditionsurl) && p(t, "termsandconditionsurl", r), d[0] & /*activeBonusesList*/
4826
- 32768 && o !== (o = /*activeBonus*/
4827
- m[51].termsandconditionsasset) && p(t, "termsandconditionsasset", o), d[0] & /*activeBonusesList*/
4828
- 32768 && i !== (i = /*activeBonus*/
4829
- m[51].endpoint) && p(t, "endpoint", i), d[0] & /*activeBonusesList*/
4830
- 32768 && s !== (s = /*activeBonus*/
4831
- m[51].playerid) && p(t, "playerid", s), d[0] & /*activeBonusesList*/
4832
- 32768 && a !== (a = /*activeBonus*/
4833
- m[51].session) && p(t, "session", a), d[0] & /*activeBonusesList*/
4834
- 32768 && u !== (u = /*activeBonus*/
4835
- m[51].walletId) && p(t, "bonuswalletid", u), d[0] & /*activeBonusesList*/
4836
- 32768 && l !== (l = /*activeBonus*/
4837
- m[51].granted) && p(t, "bonusdate", l), d[0] & /*activeBonusesList*/
4838
- 32768 && c !== (c = /*activeBonus*/
4839
- m[51].status) && p(t, "bonusstatus", c), d[0] & /*activeBonusesList*/
4840
- 32768 && h !== (h = /*activeBonus*/
4841
- m[51].name) && p(t, "bonusname", h), d[0] & /*activeBonusesList*/
4842
- 32768 && f !== (f = /*activeBonus*/
4843
- m[51].type) && p(t, "bonustype", f), d[0] & /*activeBonusesList*/
4844
- 32768 && b !== (b = /*activeBonus*/
4845
- m[51].currency) && p(t, "bonuscurrency", b), d[0] & /*lang*/
4836
+ p(b, h) {
4837
+ h[0] & /*activeBonusesList*/
4838
+ 65536 && n !== (n = /*activeBonus*/
4839
+ b[52].termsandconditionsdescription) && p(t, "termsandconditionsdescription", n), h[0] & /*activeBonusesList*/
4840
+ 65536 && r !== (r = /*activeBonus*/
4841
+ b[52].termsandconditionsurl) && p(t, "termsandconditionsurl", r), h[0] & /*activeBonusesList*/
4842
+ 65536 && o !== (o = /*activeBonus*/
4843
+ b[52].termsandconditionsasset) && p(t, "termsandconditionsasset", o), h[0] & /*activeBonusesList*/
4844
+ 65536 && i !== (i = /*activeBonus*/
4845
+ b[52].endpoint) && p(t, "endpoint", i), h[0] & /*activeBonusesList*/
4846
+ 65536 && s !== (s = /*activeBonus*/
4847
+ b[52].playerid) && p(t, "playerid", s), h[0] & /*activeBonusesList*/
4848
+ 65536 && a !== (a = /*activeBonus*/
4849
+ b[52].session) && p(t, "session", a), h[0] & /*activeBonusesList*/
4850
+ 65536 && u !== (u = /*activeBonus*/
4851
+ b[52].walletId) && p(t, "bonuswalletid", u), h[0] & /*activeBonusesList*/
4852
+ 65536 && l !== (l = /*activeBonus*/
4853
+ b[52].granted) && p(t, "bonusdate", l), h[0] & /*activeBonusesList*/
4854
+ 65536 && c !== (c = /*activeBonus*/
4855
+ b[52].status) && p(t, "bonusstatus", c), h[0] & /*activeBonusesList*/
4856
+ 65536 && f !== (f = /*activeBonus*/
4857
+ b[52].name) && p(t, "bonusname", f), h[0] & /*activeBonusesList*/
4858
+ 65536 && d !== (d = /*activeBonus*/
4859
+ b[52].type) && p(t, "bonustype", d), h[0] & /*activeBonusesList*/
4860
+ 65536 && m !== (m = /*activeBonus*/
4861
+ b[52].currency) && p(t, "bonuscurrency", m), h[0] & /*lang*/
4846
4862
  1 && p(
4847
4863
  t,
4848
4864
  "lang",
4849
4865
  /*lang*/
4850
- m[0]
4851
- ), d[0] & /*clientstyling*/
4866
+ b[0]
4867
+ ), h[0] & /*dateformat*/
4868
+ 64 && p(
4869
+ t,
4870
+ "dateformat",
4871
+ /*dateformat*/
4872
+ b[6]
4873
+ ), h[0] & /*clientstyling*/
4852
4874
  2 && p(
4853
4875
  t,
4854
4876
  "clientstyling",
4855
4877
  /*clientstyling*/
4856
- m[1]
4857
- ), d[0] & /*clientstylingurl*/
4878
+ b[1]
4879
+ ), h[0] & /*clientstylingurl*/
4858
4880
  4 && p(
4859
4881
  t,
4860
4882
  "clientstylingurl",
4861
4883
  /*clientstylingurl*/
4862
- m[2]
4863
- ), d[0] & /*mbsource*/
4884
+ b[2]
4885
+ ), h[0] & /*mbsource*/
4864
4886
  8 && p(
4865
4887
  t,
4866
4888
  "mbsource",
4867
4889
  /*mbsource*/
4868
- m[3]
4869
- ), d[0] & /*translationurl*/
4890
+ b[3]
4891
+ ), h[0] & /*translationurl*/
4870
4892
  16 && p(
4871
4893
  t,
4872
4894
  "translationurl",
4873
4895
  /*translationurl*/
4874
- m[4]
4875
- ), d[0] & /*currencylocale*/
4896
+ b[4]
4897
+ ), h[0] & /*currencylocale*/
4876
4898
  32 && p(
4877
4899
  t,
4878
4900
  "currencylocale",
4879
4901
  /*currencylocale*/
4880
- m[5]
4902
+ b[5]
4881
4903
  );
4882
4904
  },
4883
- d(m) {
4884
- m && G(t);
4905
+ d(b) {
4906
+ b && G(t);
4885
4907
  }
4886
4908
  };
4887
4909
  }
@@ -4890,7 +4912,7 @@ function Kt(e) {
4890
4912
  function n(i, s) {
4891
4913
  return (
4892
4914
  /*activeBonus*/
4893
- i[51].type === "freeRound" ? Ii : Oi
4915
+ i[52].type === "freeRound" ? Ni : Ii
4894
4916
  );
4895
4917
  }
4896
4918
  let r = n(e), o = r(e);
@@ -4910,118 +4932,118 @@ function Kt(e) {
4910
4932
  };
4911
4933
  }
4912
4934
  function en(e) {
4913
- let t, n, r, o, i, s, a, u, l, c, h, f, b, m, d, C, _, y, P, O = Fe(Array(
4935
+ let t, n, r, o, i, s, a, u, l, c, f, d, m, b, h, S, _, y, P, M = Fe(Array(
4914
4936
  /*numberOfPages*/
4915
- e[13]
4937
+ e[14]
4916
4938
  )), A = [];
4917
- for (let E = 0; E < O.length; E += 1)
4918
- A[E] = tn(Qt(e, O, E));
4939
+ for (let E = 0; E < M.length; E += 1)
4940
+ A[E] = tn(Qt(e, M, E));
4919
4941
  return {
4920
4942
  c() {
4921
4943
  t = T("div"), n = T("span"), r = F("|<"), i = j(), s = T("span"), a = F("<"), l = j();
4922
4944
  for (let E = 0; E < A.length; E += 1)
4923
4945
  A[E].c();
4924
- c = j(), h = T("span"), f = F(">"), m = j(), d = T("span"), C = F(">|"), B(n, "class", o = "BonusesFirst " + /*currentPage*/
4925
- (e[14] === 0 ? "Inactive" : "")), B(s, "class", u = "BonusesPrev " + /*currentPage*/
4926
- (e[14] === 0 ? "Inactive" : "")), B(h, "class", b = "BonusesNext " + /*currentPage*/
4927
- (e[14] === /*numberOfPages*/
4928
- e[13] - 1 ? "Inactive" : "")), B(d, "class", _ = "BonusesLast " + /*currentPage*/
4929
- (e[14] === /*numberOfPages*/
4930
- e[13] - 1 ? "Inactive" : "")), B(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
4931
- (e[18] ? "BonusesPaginationWrapperMobile" : ""));
4946
+ c = j(), f = T("span"), d = F(">"), b = j(), h = T("span"), S = F(">|"), B(n, "class", o = "BonusesFirst " + /*currentPage*/
4947
+ (e[15] === 0 ? "Inactive" : "")), B(s, "class", u = "BonusesPrev " + /*currentPage*/
4948
+ (e[15] === 0 ? "Inactive" : "")), B(f, "class", m = "BonusesNext " + /*currentPage*/
4949
+ (e[15] === /*numberOfPages*/
4950
+ e[14] - 1 ? "Inactive" : "")), B(h, "class", _ = "BonusesLast " + /*currentPage*/
4951
+ (e[15] === /*numberOfPages*/
4952
+ e[14] - 1 ? "Inactive" : "")), B(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
4953
+ (e[19] ? "BonusesPaginationWrapperMobile" : ""));
4932
4954
  },
4933
4955
  m(E, N) {
4934
4956
  W(E, t, N), v(t, n), v(n, r), v(t, i), v(t, s), v(s, a), v(t, l);
4935
- for (let M = 0; M < A.length; M += 1)
4936
- A[M] && A[M].m(t, null);
4937
- v(t, c), v(t, h), v(h, f), v(t, m), v(t, d), v(d, C), y || (P = [
4938
- q(
4957
+ for (let H = 0; H < A.length; H += 1)
4958
+ A[H] && A[H].m(t, null);
4959
+ v(t, c), v(t, f), v(f, d), v(t, b), v(t, h), v(h, S), y || (P = [
4960
+ Q(
4939
4961
  n,
4940
4962
  "click",
4941
4963
  /*click_handler_1*/
4942
- e[32]
4964
+ e[33]
4943
4965
  ),
4944
- q(
4966
+ Q(
4945
4967
  s,
4946
4968
  "click",
4947
4969
  /*click_handler_2*/
4948
- e[33]
4970
+ e[34]
4949
4971
  ),
4950
- q(
4951
- h,
4972
+ Q(
4973
+ f,
4952
4974
  "click",
4953
4975
  /*click_handler_4*/
4954
- e[35]
4976
+ e[36]
4955
4977
  ),
4956
- q(
4957
- d,
4978
+ Q(
4979
+ h,
4958
4980
  "click",
4959
4981
  /*click_handler_5*/
4960
- e[36]
4982
+ e[37]
4961
4983
  )
4962
4984
  ], y = !0);
4963
4985
  },
4964
4986
  p(E, N) {
4965
4987
  if (N[0] & /*currentPage*/
4966
- 16384 && o !== (o = "BonusesFirst " + /*currentPage*/
4967
- (E[14] === 0 ? "Inactive" : "")) && B(n, "class", o), N[0] & /*currentPage*/
4968
- 16384 && u !== (u = "BonusesPrev " + /*currentPage*/
4969
- (E[14] === 0 ? "Inactive" : "")) && B(s, "class", u), N[0] & /*currentPage, getActiveBonuses, numberOfPages*/
4970
- 2121728) {
4971
- O = Fe(Array(
4988
+ 32768 && o !== (o = "BonusesFirst " + /*currentPage*/
4989
+ (E[15] === 0 ? "Inactive" : "")) && B(n, "class", o), N[0] & /*currentPage*/
4990
+ 32768 && u !== (u = "BonusesPrev " + /*currentPage*/
4991
+ (E[15] === 0 ? "Inactive" : "")) && B(s, "class", u), N[0] & /*currentPage, getActiveBonuses, numberOfPages*/
4992
+ 4243456) {
4993
+ M = Fe(Array(
4972
4994
  /*numberOfPages*/
4973
- E[13]
4995
+ E[14]
4974
4996
  ));
4975
- let M;
4976
- for (M = 0; M < O.length; M += 1) {
4977
- const K = Qt(E, O, M);
4978
- A[M] ? A[M].p(K, N) : (A[M] = tn(K), A[M].c(), A[M].m(t, c));
4997
+ let H;
4998
+ for (H = 0; H < M.length; H += 1) {
4999
+ const oe = Qt(E, M, H);
5000
+ A[H] ? A[H].p(oe, N) : (A[H] = tn(oe), A[H].c(), A[H].m(t, c));
4979
5001
  }
4980
- for (; M < A.length; M += 1)
4981
- A[M].d(1);
4982
- A.length = O.length;
5002
+ for (; H < A.length; H += 1)
5003
+ A[H].d(1);
5004
+ A.length = M.length;
4983
5005
  }
4984
5006
  N[0] & /*currentPage, numberOfPages*/
4985
- 24576 && b !== (b = "BonusesNext " + /*currentPage*/
4986
- (E[14] === /*numberOfPages*/
4987
- E[13] - 1 ? "Inactive" : "")) && B(h, "class", b), N[0] & /*currentPage, numberOfPages*/
4988
- 24576 && _ !== (_ = "BonusesLast " + /*currentPage*/
4989
- (E[14] === /*numberOfPages*/
4990
- E[13] - 1 ? "Inactive" : "")) && B(d, "class", _);
5007
+ 49152 && m !== (m = "BonusesNext " + /*currentPage*/
5008
+ (E[15] === /*numberOfPages*/
5009
+ E[14] - 1 ? "Inactive" : "")) && B(f, "class", m), N[0] & /*currentPage, numberOfPages*/
5010
+ 49152 && _ !== (_ = "BonusesLast " + /*currentPage*/
5011
+ (E[15] === /*numberOfPages*/
5012
+ E[14] - 1 ? "Inactive" : "")) && B(h, "class", _);
4991
5013
  },
4992
5014
  d(E) {
4993
- E && G(t), an(A, E), y = !1, se(P);
5015
+ E && G(t), an(A, E), y = !1, ae(P);
4994
5016
  }
4995
5017
  };
4996
5018
  }
4997
5019
  function tn(e) {
4998
5020
  let t, n = (
4999
5021
  /*i*/
5000
- e[50] + 1 + ""
5022
+ e[51] + 1 + ""
5001
5023
  ), r, o, i, s;
5002
5024
  function a() {
5003
5025
  return (
5004
5026
  /*click_handler_3*/
5005
- e[34](
5027
+ e[35](
5006
5028
  /*i*/
5007
- e[50]
5029
+ e[51]
5008
5030
  )
5009
5031
  );
5010
5032
  }
5011
5033
  return {
5012
5034
  c() {
5013
5035
  t = T("span"), r = F(n), B(t, "class", o = "BonusesPage " + /*i*/
5014
- (e[50] === /*currentPage*/
5015
- e[14] ? "BonusPageActive" : ""));
5036
+ (e[51] === /*currentPage*/
5037
+ e[15] ? "BonusPageActive" : ""));
5016
5038
  },
5017
5039
  m(u, l) {
5018
- W(u, t, l), v(t, r), i || (s = q(t, "click", a), i = !0);
5040
+ W(u, t, l), v(t, r), i || (s = Q(t, "click", a), i = !0);
5019
5041
  },
5020
5042
  p(u, l) {
5021
5043
  e = u, l[0] & /*currentPage*/
5022
- 16384 && o !== (o = "BonusesPage " + /*i*/
5023
- (e[50] === /*currentPage*/
5024
- e[14] ? "BonusPageActive" : "")) && B(t, "class", o);
5044
+ 32768 && o !== (o = "BonusesPage " + /*i*/
5045
+ (e[51] === /*currentPage*/
5046
+ e[15] ? "BonusPageActive" : "")) && B(t, "class", o);
5025
5047
  },
5026
5048
  d(u) {
5027
5049
  u && G(t), i = !1, s();
@@ -5031,56 +5053,56 @@ function tn(e) {
5031
5053
  function nn(e) {
5032
5054
  let t, n, r, o, i = (
5033
5055
  /*$_*/
5034
- e[17]("forfeitBonus") + ""
5056
+ e[18]("forfeitBonus") + ""
5035
5057
  ), s, a, u, l, c = (
5036
5058
  /*$_*/
5037
- e[17]("forfeitBonusCancel") + ""
5038
- ), h, f, b, m = (
5059
+ e[18]("forfeitBonusCancel") + ""
5060
+ ), f, d, m, b = (
5039
5061
  /*$_*/
5040
- e[17]("forfeitBonusConfirm") + ""
5041
- ), d, C, _;
5062
+ e[18]("forfeitBonusConfirm") + ""
5063
+ ), h, S, _;
5042
5064
  return {
5043
5065
  c() {
5044
- t = T("div"), n = T("div"), r = T("div"), o = T("p"), s = F(i), a = j(), u = T("div"), l = T("button"), h = F(c), f = j(), b = T("button"), d = F(m), B(o, "class", "ModalText"), B(l, "class", "ModalCancel"), B(b, "class", "ModalConfirm"), B(u, "class", "ModalButtons"), B(r, "class", "ModalBody"), B(n, "class", "ModalContent"), B(t, "class", "ModalWrapper " + /*isMobile*/
5045
- (e[18] ? "ModalWrapperMobile" : ""));
5066
+ t = T("div"), n = T("div"), r = T("div"), o = T("p"), s = F(i), a = j(), u = T("div"), l = T("button"), f = F(c), d = j(), m = T("button"), h = F(b), B(o, "class", "ModalText"), B(l, "class", "ModalCancel"), B(m, "class", "ModalConfirm"), B(u, "class", "ModalButtons"), B(r, "class", "ModalBody"), B(n, "class", "ModalContent"), B(t, "class", "ModalWrapper " + /*isMobile*/
5067
+ (e[19] ? "ModalWrapperMobile" : ""));
5046
5068
  },
5047
5069
  m(y, P) {
5048
- W(y, t, P), v(t, n), v(n, r), v(r, o), v(o, s), v(r, a), v(r, u), v(u, l), v(l, h), v(u, f), v(u, b), v(b, d), C || (_ = [
5049
- q(
5070
+ W(y, t, P), v(t, n), v(n, r), v(r, o), v(o, s), v(r, a), v(r, u), v(u, l), v(l, f), v(u, d), v(u, m), v(m, h), S || (_ = [
5071
+ Q(
5050
5072
  l,
5051
5073
  "click",
5052
5074
  /*closeBonusModal*/
5053
- e[23]
5075
+ e[24]
5054
5076
  ),
5055
- q(
5056
- b,
5077
+ Q(
5078
+ m,
5057
5079
  "click",
5058
5080
  /*debouncedFunction*/
5059
- e[25](
5081
+ e[26](
5060
5082
  /*deleteBonus*/
5061
- e[24]
5083
+ e[25]
5062
5084
  )
5063
5085
  )
5064
- ], C = !0);
5086
+ ], S = !0);
5065
5087
  },
5066
5088
  p(y, P) {
5067
5089
  P[0] & /*$_*/
5068
- 131072 && i !== (i = /*$_*/
5069
- y[17]("forfeitBonus") + "") && re(s, i), P[0] & /*$_*/
5070
- 131072 && c !== (c = /*$_*/
5071
- y[17]("forfeitBonusCancel") + "") && re(h, c), P[0] & /*$_*/
5072
- 131072 && m !== (m = /*$_*/
5073
- y[17]("forfeitBonusConfirm") + "") && re(d, m);
5090
+ 262144 && i !== (i = /*$_*/
5091
+ y[18]("forfeitBonus") + "") && ne(s, i), P[0] & /*$_*/
5092
+ 262144 && c !== (c = /*$_*/
5093
+ y[18]("forfeitBonusCancel") + "") && ne(f, c), P[0] & /*$_*/
5094
+ 262144 && b !== (b = /*$_*/
5095
+ y[18]("forfeitBonusConfirm") + "") && ne(h, b);
5074
5096
  },
5075
5097
  d(y) {
5076
- y && G(t), C = !1, se(_);
5098
+ y && G(t), S = !1, ae(_);
5077
5099
  }
5078
5100
  };
5079
5101
  }
5080
- function Ni(e) {
5102
+ function Li(e) {
5081
5103
  let t;
5082
5104
  function n(i, s) {
5083
- return Ti;
5105
+ return Pi;
5084
5106
  }
5085
5107
  let o = n()(e);
5086
5108
  return {
@@ -5088,27 +5110,27 @@ function Ni(e) {
5088
5110
  t = T("div"), o.c();
5089
5111
  },
5090
5112
  m(i, s) {
5091
- W(i, t, s), o.m(t, null), e[37](t);
5113
+ W(i, t, s), o.m(t, null), e[38](t);
5092
5114
  },
5093
5115
  p(i, s) {
5094
5116
  o.p(i, s);
5095
5117
  },
5096
- i: Q,
5097
- o: Q,
5118
+ i: J,
5119
+ o: J,
5098
5120
  d(i) {
5099
- i && G(t), o.d(), e[37](null);
5121
+ i && G(t), o.d(), e[38](null);
5100
5122
  }
5101
5123
  };
5102
5124
  }
5103
- let Li = "status=active", ne = 6;
5104
- function Ri(e, t, n) {
5125
+ let Ri = "status=active", te = 6;
5126
+ function $i(e, t, n) {
5105
5127
  let r;
5106
- Yn(e, Bi, (g) => n(17, r = g));
5107
- let { endpoint: o = "" } = t, { session: i = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h } = t, { translationurl: f = "" } = t, { currencylocale: b = "" } = t, m, d = window.navigator.userAgent, C = Ei(d) !== "PC", _ = !0, y = !1, P = "", O = 0, A = 0, E = 0, N = 0, M = 0, K = [], J, R = "", ue = !1;
5108
- const le = () => {
5109
- fetch(f).then((D) => D.json()).then((D) => {
5110
- Object.keys(D).forEach((X) => {
5111
- Zt(X, D[X]);
5128
+ Kn(e, Ei, (g) => n(18, r = g));
5129
+ let { endpoint: o = "" } = t, { session: i = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: f } = t, { translationurl: d = "" } = t, { currencylocale: m = "" } = t, { dateformat: b = "" } = t, h, S = window.navigator.userAgent, _ = xi(S) !== "PC", y = !0, P = !1, M = "", A = 0, E = 0, N = 0, H = 0, oe = 0, q = [], R, Be = "", ie = !1;
5130
+ const X = () => {
5131
+ fetch(d).then((D) => D.json()).then((D) => {
5132
+ Object.keys(D).forEach((Z) => {
5133
+ Zt(Z, D[Z]);
5112
5134
  });
5113
5135
  }).catch((D) => {
5114
5136
  console.log(D);
@@ -5117,53 +5139,53 @@ function Ri(e, t, n) {
5117
5139
  Object.keys(qt).forEach((g) => {
5118
5140
  Zt(g, qt[g]);
5119
5141
  });
5120
- const V = (g) => {
5142
+ const $ = (g) => {
5121
5143
  if (g.data)
5122
5144
  switch (g.data.type) {
5123
5145
  case "DeleteActiveBonus":
5124
- R = g.data.bonuswalletid, n(16, ue = !0);
5146
+ Be = g.data.bonuswalletid, n(17, ie = !0);
5125
5147
  break;
5126
5148
  }
5127
5149
  };
5128
5150
  function U(g, D) {
5129
- return (...X) => {
5130
- clearTimeout(J), J = setTimeout(
5151
+ return (...Z) => {
5152
+ clearTimeout(R), R = setTimeout(
5131
5153
  () => {
5132
- g.apply(this, X);
5154
+ g.apply(this, Z);
5133
5155
  },
5134
5156
  D
5135
5157
  );
5136
5158
  };
5137
5159
  }
5138
- const $ = () => {
5160
+ const C = () => {
5139
5161
  window.postMessage(
5140
5162
  {
5141
5163
  type: "PlayerAccountMenuActive",
5142
- isMobile: C
5164
+ isMobile: _
5143
5165
  },
5144
5166
  window.location.href
5145
5167
  );
5146
- }, S = () => !!P, L = () => {
5147
- n(7, _ = !S());
5148
- }, ee = (g) => {
5168
+ }, L = () => !!M, Un = () => {
5169
+ n(8, y = !L());
5170
+ }, K = (g) => {
5149
5171
  let D = {
5150
5172
  method: "GET",
5151
5173
  headers: { "X-SessionId": i }
5152
- }, X = new URL(`${o}/v1/player/${s}/bonusWallet`);
5153
- X.searchParams.append("filter", Li), X.searchParams.append("pagination", `offset=${g},limit=${ne}`), fetch(X, D).then((te) => te.json()).then(
5154
- (te) => {
5155
- Array.isArray(te.items) && te.items.forEach((z) => {
5156
- const Me = z?.extension?.bonus?.presentation;
5157
- Me && (z.termsandconditionsurl = Me.url, z.termsandconditionsdescription = Me.description, z.termsandconditionsasset = Me.assets);
5158
- }), n(13, N = Math.ceil(te.total / ne)), g - ne >= 0 && n(10, O = g - ne), g + ne < te.total && n(11, A = g + ne), n(12, E = (N - 1) * ne), n(14, M = g / ne), n(15, K = te?.items || []), b && K.forEach((z) => {
5159
- z.fulfilledWR = Pe(z.fulfilledWR), z.originalWageringRequirement = Pe(z.originalWageringRequirement), z.currentAmount = Pe(z.currentAmount), z.extension.grantedPlayerCurrencyAmount = Pe(z.extension.grantedPlayerCurrencyAmount);
5174
+ }, Z = new URL(`${o}/v1/player/${s}/bonusWallet`);
5175
+ Z.searchParams.append("filter", Ri), Z.searchParams.append("pagination", `offset=${g},limit=${te}`), fetch(Z, D).then((ee) => ee.json()).then(
5176
+ (ee) => {
5177
+ Array.isArray(ee.items) && ee.items.forEach((V) => {
5178
+ const Me = V?.extension?.bonus?.presentation;
5179
+ Me && (V.termsandconditionsurl = Me.url, V.termsandconditionsdescription = Me.description, V.termsandconditionsasset = Me.assets);
5180
+ }), n(14, H = Math.ceil(ee.total / te)), g - te >= 0 && n(11, A = g - te), g + te < ee.total && n(12, E = g + te), n(13, N = (H - 1) * te), n(15, oe = g / te), n(16, q = ee?.items || []), m && q.forEach((V) => {
5181
+ V.fulfilledWR = Pe(V.fulfilledWR), V.originalWageringRequirement = Pe(V.originalWageringRequirement), V.currentAmount = Pe(V.currentAmount), V.extension.grantedPlayerCurrencyAmount = Pe(V.extension.grantedPlayerCurrencyAmount);
5160
5182
  }), window.scrollTo({ top: 0, behavior: "smooth" });
5161
5183
  },
5162
- (te) => {
5163
- console.error(te);
5184
+ (ee) => {
5185
+ console.error(ee);
5164
5186
  }
5165
5187
  );
5166
- }, Pe = (g) => new Intl.NumberFormat(b, { style: "currency", currency: u }).format(g).replace(/\s/g, ""), Un = () => {
5188
+ }, Pe = (g) => new Intl.NumberFormat(m, { style: "currency", currency: u }).format(g).replace(/\s/g, ""), Dn = () => {
5167
5189
  let g = new URL(`${o}/v1/player/${s}/claimbonus`), D = {
5168
5190
  method: "POST",
5169
5191
  headers: {
@@ -5171,8 +5193,8 @@ function Ri(e, t, n) {
5171
5193
  accept: "application/json"
5172
5194
  }
5173
5195
  };
5174
- g.searchParams.append("currency", u), g.searchParams.append("bonusCode", P), fetch(g.href, D).then((X) => {
5175
- X.status == 200 ? (n(8, y = !1), ee(0), window.postMessage(
5196
+ g.searchParams.append("currency", u), g.searchParams.append("bonusCode", M), fetch(g.href, D).then((Z) => {
5197
+ Z.status == 200 ? (n(9, P = !1), K(0), window.postMessage(
5176
5198
  {
5177
5199
  type: "WidgetNotification",
5178
5200
  data: {
@@ -5184,8 +5206,8 @@ function Ri(e, t, n) {
5184
5206
  ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
5185
5207
  context: "PlayerActiveBonuses",
5186
5208
  userId: `${s || "Not logged in"}`,
5187
- bonusCode: `${P}`
5188
- })) : (n(8, y = !0), window.postMessage(
5209
+ bonusCode: `${M}`
5210
+ })) : (n(9, P = !0), window.postMessage(
5189
5211
  {
5190
5212
  type: "WidgetNotification",
5191
5213
  data: {
@@ -5197,8 +5219,8 @@ function Ri(e, t, n) {
5197
5219
  ));
5198
5220
  });
5199
5221
  }, wt = () => {
5200
- window.postMessage({ type: "EnableScroll" }, window.location.href), n(16, ue = !1);
5201
- }, Dn = () => {
5222
+ window.postMessage({ type: "EnableScroll" }, window.location.href), n(17, ie = !1);
5223
+ }, Gn = () => {
5202
5224
  let g = {
5203
5225
  method: "DELETE",
5204
5226
  headers: {
@@ -5207,192 +5229,200 @@ function Ri(e, t, n) {
5207
5229
  Accept: "application/json"
5208
5230
  }
5209
5231
  }, D = new URL(`${o}/v1/player/${s}/bonusWallet`);
5210
- D.searchParams.append("bonusWalletID", R), fetch(D, g).then((X) => {
5211
- X.status == 200 && (ee(0), wt());
5232
+ D.searchParams.append("bonusWalletID", Be), fetch(D, g).then((Z) => {
5233
+ Z.status == 200 && (K(0), wt());
5212
5234
  });
5213
- }, Gn = () => {
5214
- xi(a);
5235
+ }, kn = () => {
5236
+ wi(a);
5215
5237
  };
5216
- function kn(g) {
5238
+ function jn(g) {
5217
5239
  return U(g, 1e3);
5218
5240
  }
5219
- ir(() => (window.addEventListener("message", V, !1), () => {
5220
- window.removeEventListener("message", V);
5241
+ sr(() => (window.addEventListener("message", $, !1), () => {
5242
+ window.removeEventListener("message", $);
5221
5243
  }));
5222
- const jn = () => $();
5223
- function Wn() {
5224
- P = this.value, n(9, P);
5244
+ const Wn = () => C();
5245
+ function Vn() {
5246
+ M = this.value, n(10, M);
5225
5247
  }
5226
- const Vn = () => ee(0), zn = () => ee(O), Xn = (g) => ee(g * ne), Zn = () => ee(A), qn = () => ee(E);
5227
- function Qn(g) {
5248
+ const zn = () => K(0), Xn = () => K(A), Zn = (g) => K(g * te), qn = () => K(E), Qn = () => K(N);
5249
+ function Jn(g) {
5228
5250
  nt[g ? "unshift" : "push"](() => {
5229
- m = g, n(6, m);
5251
+ h = g, n(7, h);
5230
5252
  });
5231
5253
  }
5232
5254
  return e.$$set = (g) => {
5233
- "endpoint" in g && n(26, o = g.endpoint), "session" in g && n(27, i = g.session), "playerid" in g && n(28, s = g.playerid), "lang" in g && n(0, a = g.lang), "currency" in g && n(29, u = g.currency), "clientstyling" in g && n(1, l = g.clientstyling), "clientstylingurl" in g && n(2, c = g.clientstylingurl), "mbsource" in g && n(3, h = g.mbsource), "translationurl" in g && n(4, f = g.translationurl), "currencylocale" in g && n(5, b = g.currencylocale);
5255
+ "endpoint" in g && n(27, o = g.endpoint), "session" in g && n(28, i = g.session), "playerid" in g && n(29, s = g.playerid), "lang" in g && n(0, a = g.lang), "currency" in g && n(30, u = g.currency), "clientstyling" in g && n(1, l = g.clientstyling), "clientstylingurl" in g && n(2, c = g.clientstylingurl), "mbsource" in g && n(3, f = g.mbsource), "translationurl" in g && n(4, d = g.translationurl), "currencylocale" in g && n(5, m = g.currencylocale), "dateformat" in g && n(6, b = g.dateformat);
5234
5256
  }, e.$$.update = () => {
5235
5257
  e.$$.dirty[0] & /*lang*/
5236
- 1 && a && Gn(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5237
- 469762048 && i && s && o && ee(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5238
- 66 && l && m && wi(m, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5239
- 68 && c && m && Ci(m, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5240
- 72 && h && m && Si(m, `${h}.Style`), e.$$.dirty[0] & /*translationurl*/
5241
- 16 && f && le();
5258
+ 1 && a && kn(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5259
+ 939524096 && i && s && o && K(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5260
+ 130 && l && h && Ci(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5261
+ 132 && c && h && Si(h, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5262
+ 136 && f && h && Ai(h, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
5263
+ 16 && d && X();
5242
5264
  }, [
5243
5265
  a,
5244
5266
  l,
5245
5267
  c,
5246
- h,
5247
5268
  f,
5248
- b,
5269
+ d,
5249
5270
  m,
5250
- _,
5271
+ b,
5272
+ h,
5251
5273
  y,
5252
5274
  P,
5253
- O,
5275
+ M,
5254
5276
  A,
5255
5277
  E,
5256
5278
  N,
5257
- M,
5258
- K,
5259
- ue,
5279
+ H,
5280
+ oe,
5281
+ q,
5282
+ ie,
5260
5283
  r,
5284
+ _,
5261
5285
  C,
5262
- $,
5263
- L,
5264
- ee,
5265
5286
  Un,
5266
- wt,
5287
+ K,
5267
5288
  Dn,
5268
- kn,
5289
+ wt,
5290
+ Gn,
5291
+ jn,
5269
5292
  o,
5270
5293
  i,
5271
5294
  s,
5272
5295
  u,
5273
- jn,
5274
5296
  Wn,
5275
5297
  Vn,
5276
5298
  zn,
5277
5299
  Xn,
5278
5300
  Zn,
5279
5301
  qn,
5280
- Qn
5302
+ Qn,
5303
+ Jn
5281
5304
  ];
5282
5305
  }
5283
- class $i extends gr {
5306
+ class Fi extends vr {
5284
5307
  constructor(t) {
5285
- super(), mr(
5308
+ super(), br(
5286
5309
  this,
5287
5310
  t,
5288
- Ri,
5289
- Ni,
5311
+ $i,
5312
+ Li,
5290
5313
  on,
5291
5314
  {
5292
- endpoint: 26,
5293
- session: 27,
5294
- playerid: 28,
5315
+ endpoint: 27,
5316
+ session: 28,
5317
+ playerid: 29,
5295
5318
  lang: 0,
5296
- currency: 29,
5319
+ currency: 30,
5297
5320
  clientstyling: 1,
5298
5321
  clientstylingurl: 2,
5299
5322
  mbsource: 3,
5300
5323
  translationurl: 4,
5301
- currencylocale: 5
5324
+ currencylocale: 5,
5325
+ dateformat: 6
5302
5326
  },
5303
- Ai,
5327
+ Ti,
5304
5328
  [-1, -1]
5305
5329
  );
5306
5330
  }
5307
5331
  get endpoint() {
5308
- return this.$$.ctx[26];
5332
+ return this.$$.ctx[27];
5309
5333
  }
5310
5334
  set endpoint(t) {
5311
- this.$$set({ endpoint: t }), Z();
5335
+ this.$$set({ endpoint: t }), z();
5312
5336
  }
5313
5337
  get session() {
5314
- return this.$$.ctx[27];
5338
+ return this.$$.ctx[28];
5315
5339
  }
5316
5340
  set session(t) {
5317
- this.$$set({ session: t }), Z();
5341
+ this.$$set({ session: t }), z();
5318
5342
  }
5319
5343
  get playerid() {
5320
- return this.$$.ctx[28];
5344
+ return this.$$.ctx[29];
5321
5345
  }
5322
5346
  set playerid(t) {
5323
- this.$$set({ playerid: t }), Z();
5347
+ this.$$set({ playerid: t }), z();
5324
5348
  }
5325
5349
  get lang() {
5326
5350
  return this.$$.ctx[0];
5327
5351
  }
5328
5352
  set lang(t) {
5329
- this.$$set({ lang: t }), Z();
5353
+ this.$$set({ lang: t }), z();
5330
5354
  }
5331
5355
  get currency() {
5332
- return this.$$.ctx[29];
5356
+ return this.$$.ctx[30];
5333
5357
  }
5334
5358
  set currency(t) {
5335
- this.$$set({ currency: t }), Z();
5359
+ this.$$set({ currency: t }), z();
5336
5360
  }
5337
5361
  get clientstyling() {
5338
5362
  return this.$$.ctx[1];
5339
5363
  }
5340
5364
  set clientstyling(t) {
5341
- this.$$set({ clientstyling: t }), Z();
5365
+ this.$$set({ clientstyling: t }), z();
5342
5366
  }
5343
5367
  get clientstylingurl() {
5344
5368
  return this.$$.ctx[2];
5345
5369
  }
5346
5370
  set clientstylingurl(t) {
5347
- this.$$set({ clientstylingurl: t }), Z();
5371
+ this.$$set({ clientstylingurl: t }), z();
5348
5372
  }
5349
5373
  get mbsource() {
5350
5374
  return this.$$.ctx[3];
5351
5375
  }
5352
5376
  set mbsource(t) {
5353
- this.$$set({ mbsource: t }), Z();
5377
+ this.$$set({ mbsource: t }), z();
5354
5378
  }
5355
5379
  get translationurl() {
5356
5380
  return this.$$.ctx[4];
5357
5381
  }
5358
5382
  set translationurl(t) {
5359
- this.$$set({ translationurl: t }), Z();
5383
+ this.$$set({ translationurl: t }), z();
5360
5384
  }
5361
5385
  get currencylocale() {
5362
5386
  return this.$$.ctx[5];
5363
5387
  }
5364
5388
  set currencylocale(t) {
5365
- this.$$set({ currencylocale: t }), Z();
5389
+ this.$$set({ currencylocale: t }), z();
5390
+ }
5391
+ get dateformat() {
5392
+ return this.$$.ctx[6];
5393
+ }
5394
+ set dateformat(t) {
5395
+ this.$$set({ dateformat: t }), z();
5366
5396
  }
5367
5397
  }
5368
- br($i, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {} }, [], [], !0);
5398
+ gr(Fi, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
5369
5399
  export {
5370
- _e as $,
5371
- $i as P,
5372
- gr as S,
5400
+ ye as $,
5401
+ Fi as P,
5402
+ vr as S,
5373
5403
  Nn as a,
5374
- Kn as b,
5375
- br as c,
5404
+ er as b,
5405
+ gr as c,
5376
5406
  G as d,
5377
- re as e,
5378
- Z as f,
5407
+ ne as e,
5408
+ z as f,
5379
5409
  B as g,
5380
5410
  W as h,
5381
- mr as i,
5411
+ br as i,
5382
5412
  v as j,
5383
5413
  T as k,
5384
5414
  j as l,
5385
- Yn as m,
5386
- Q as n,
5387
- Ei as o,
5388
- ir as p,
5389
- Fi as q,
5390
- q as r,
5415
+ Kn as m,
5416
+ J as n,
5417
+ xi as o,
5418
+ sr as p,
5419
+ Ui as q,
5420
+ Q as r,
5391
5421
  on as s,
5392
5422
  F as t,
5393
5423
  nt as u,
5394
- Bi as v,
5395
- wi as w,
5396
- Ci as x,
5397
- Si as y
5424
+ Ei as v,
5425
+ Ci as w,
5426
+ Si as x,
5427
+ Ai as y
5398
5428
  };