@everymatrix/player-active-bonuses 1.94.45 → 1.94.46

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 Y() {
1
+ function Q() {
2
2
  }
3
3
  function gn(e) {
4
4
  return e();
@@ -9,42 +9,42 @@ function Ut() {
9
9
  function ie(e) {
10
10
  e.forEach(gn);
11
11
  }
12
- function St(e) {
12
+ function Ct(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function vn(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Oe;
19
- function ls(e, t) {
20
- return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
18
+ let Ie;
19
+ function cs(e, t) {
20
+ return e === t ? !0 : (Ie || (Ie = document.createElement("a")), Ie.href = t, e === Ie.href);
21
21
  }
22
- function pr(e) {
22
+ function mr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
25
  function yn(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const r of t)
28
28
  r(void 0);
29
- return Y;
29
+ return Q;
30
30
  }
31
31
  const n = e.subscribe(...t);
32
32
  return n.unsubscribe ? () => n.unsubscribe() : n;
33
33
  }
34
- function mr(e, t, n) {
34
+ function br(e, t, n) {
35
35
  e.$$.on_destroy.push(yn(t, n));
36
36
  }
37
- function E(e, t) {
37
+ function B(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function br(e, t, n) {
41
- const r = gr(e);
40
+ function gr(e, t, n) {
41
+ const r = vr(e);
42
42
  if (!r.getElementById(t)) {
43
- const o = A("style");
44
- o.id = t, o.textContent = n, vr(r, o);
43
+ const o = T("style");
44
+ o.id = t, o.textContent = n, yr(r, o);
45
45
  }
46
46
  }
47
- function gr(e) {
47
+ function vr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,14 +54,14 @@ function gr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function vr(e, t) {
58
- return E(
57
+ function yr(e, t) {
58
+ return B(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function W(e, t, n) {
64
+ function j(e, t, n) {
65
65
  e.insertBefore(t, n || null);
66
66
  }
67
67
  function G(e) {
@@ -71,10 +71,10 @@ function _n(e, t) {
71
71
  for (let n = 0; n < e.length; n += 1)
72
72
  e[n] && e[n].d(t);
73
73
  }
74
- function A(e) {
74
+ function T(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function ue(e) {
77
+ function ae(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
80
  function $(e) {
@@ -86,17 +86,17 @@ function z() {
86
86
  function At() {
87
87
  return $("");
88
88
  }
89
- function Q(e, t, n, r) {
89
+ function J(e, t, n, r) {
90
90
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
91
91
  }
92
- function x(e, t, n) {
92
+ function S(e, t, n) {
93
93
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
94
94
  }
95
95
  function f(e, t, n) {
96
96
  const r = t.toLowerCase();
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 : x(e, t, n);
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 : S(e, t, n);
98
98
  }
99
- function yr(e) {
99
+ function _r(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
102
  function ne(e, t) {
@@ -106,7 +106,7 @@ function ne(e, t) {
106
106
  function Ft(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function _r(e) {
109
+ function Br(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -115,51 +115,51 @@ function _r(e) {
115
115
  }
116
116
  ), t;
117
117
  }
118
- let Ce;
118
+ let Se;
119
119
  function xe(e) {
120
- Ce = e;
120
+ Se = e;
121
121
  }
122
- function Br() {
123
- if (!Ce)
122
+ function Er() {
123
+ if (!Se)
124
124
  throw new Error("Function called outside component initialization");
125
- return Ce;
125
+ return Se;
126
126
  }
127
- function Er(e) {
128
- Br().$$.on_mount.push(e);
127
+ function wr(e) {
128
+ Er().$$.on_mount.push(e);
129
129
  }
130
- const fe = [], ut = [];
131
- let de = [];
132
- const Dt = [], wr = /* @__PURE__ */ Promise.resolve();
130
+ const ce = [], ut = [];
131
+ let he = [];
132
+ const Dt = [], xr = /* @__PURE__ */ Promise.resolve();
133
133
  let lt = !1;
134
- function xr() {
135
- lt || (lt = !0, wr.then(D));
134
+ function Sr() {
135
+ lt || (lt = !0, xr.then(D));
136
136
  }
137
137
  function ct(e) {
138
- de.push(e);
138
+ he.push(e);
139
139
  }
140
140
  const et = /* @__PURE__ */ new Set();
141
- let le = 0;
141
+ let ue = 0;
142
142
  function D() {
143
- if (le !== 0)
143
+ if (ue !== 0)
144
144
  return;
145
- const e = Ce;
145
+ const e = Se;
146
146
  do {
147
147
  try {
148
- for (; le < fe.length; ) {
149
- const t = fe[le];
150
- le++, xe(t), Cr(t.$$);
148
+ for (; ue < ce.length; ) {
149
+ const t = ce[ue];
150
+ ue++, xe(t), Cr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
- throw fe.length = 0, le = 0, t;
153
+ throw ce.length = 0, ue = 0, t;
154
154
  }
155
- for (xe(null), fe.length = 0, le = 0; ut.length; )
155
+ for (xe(null), ce.length = 0, ue = 0; ut.length; )
156
156
  ut.pop()();
157
- for (let t = 0; t < de.length; t += 1) {
158
- const n = de[t];
157
+ for (let t = 0; t < he.length; t += 1) {
158
+ const n = he[t];
159
159
  et.has(n) || (et.add(n), n());
160
160
  }
161
- de.length = 0;
162
- } while (fe.length);
161
+ he.length = 0;
162
+ } while (ce.length);
163
163
  for (; Dt.length; )
164
164
  Dt.pop()();
165
165
  lt = !1, et.clear(), xe(e);
@@ -171,40 +171,40 @@ function Cr(e) {
171
171
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ct);
172
172
  }
173
173
  }
174
- function Sr(e) {
174
+ function Ar(e) {
175
175
  const t = [], n = [];
176
- de.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), de = t;
176
+ he.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), he = t;
177
177
  }
178
- const Ar = /* @__PURE__ */ new Set();
179
- function Tr(e, t) {
180
- e && e.i && (Ar.delete(e), e.i(t));
178
+ const Tr = /* @__PURE__ */ new Set();
179
+ function Pr(e, t) {
180
+ e && e.i && (Tr.delete(e), e.i(t));
181
181
  }
182
182
  function $e(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function Pr(e, t, n) {
185
+ function Mr(e, t, n) {
186
186
  const { fragment: r, after_update: o } = e.$$;
187
187
  r && r.m(t, n), ct(() => {
188
- const i = e.$$.on_mount.map(gn).filter(St);
188
+ const i = e.$$.on_mount.map(gn).filter(Ct);
189
189
  e.$$.on_destroy ? e.$$.on_destroy.push(...i) : ie(i), e.$$.on_mount = [];
190
190
  }), o.forEach(ct);
191
191
  }
192
- function Mr(e, t) {
192
+ function Hr(e, t) {
193
193
  const n = e.$$;
194
- n.fragment !== null && (Sr(n.after_update), ie(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
194
+ n.fragment !== null && (Ar(n.after_update), ie(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
195
195
  }
196
- function Hr(e, t) {
197
- e.$$.dirty[0] === -1 && (fe.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function Or(e, t) {
197
+ e.$$.dirty[0] === -1 && (ce.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
199
  function Ir(e, t, n, r, o, i, s = null, a = [-1]) {
200
- const u = Ce;
200
+ const u = Se;
201
201
  xe(e);
202
202
  const l = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
205
205
  // state
206
206
  props: i,
207
- update: Y,
207
+ update: Q,
208
208
  not_equal: o,
209
209
  bound: Ut(),
210
210
  // lifecycle
@@ -222,16 +222,16 @@ function Ir(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, d, ...p) => {
226
- const y = p.length ? p[0] : d;
227
- return l.ctx && o(l.ctx[h], l.ctx[h] = y) && (!l.skip_bound && l.bound[h] && l.bound[h](y), c && Hr(e, h)), d;
225
+ if (l.ctx = n ? n(e, t.props || {}, (h, d, ...m) => {
226
+ const y = m.length ? m[0] : d;
227
+ return l.ctx && o(l.ctx[h], l.ctx[h] = y) && (!l.skip_bound && l.bound[h] && l.bound[h](y), c && Or(e, h)), d;
228
228
  }) : [], l.update(), c = !0, ie(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const h = yr(t.target);
230
+ const h = _r(t.target);
231
231
  l.fragment && l.fragment.l(h), h.forEach(G);
232
232
  } else
233
233
  l.fragment && l.fragment.c();
234
- t.intro && Tr(e.$$.fragment), Pr(e, t.target, t.anchor), D();
234
+ t.intro && Pr(e.$$.fragment), Mr(e, t.target, t.anchor), D();
235
235
  }
236
236
  xe(u);
237
237
  }
@@ -278,14 +278,14 @@ typeof HTMLElement == "function" && (Bn = class extends HTMLElement {
278
278
  let i;
279
279
  return {
280
280
  c: function() {
281
- i = A("slot"), o !== "default" && x(i, "name", o);
281
+ i = T("slot"), o !== "default" && S(i, "name", o);
282
282
  },
283
283
  /**
284
284
  * @param {HTMLElement} target
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
287
  m: function(u, l) {
288
- W(u, i, l);
288
+ j(u, i, l);
289
289
  },
290
290
  d: function(u) {
291
291
  u && G(i);
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (Bn = class extends HTMLElement {
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, n = _r(this);
298
+ const t = {}, n = Br(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 Re(e, t, n, r) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function Or(e, t, n, r, o, i) {
385
+ function Nr(e, t, n, r, o, i) {
386
386
  let s = class extends Bn {
387
387
  constructor() {
388
388
  super(e, n, o), this.$$p_d = t;
@@ -411,7 +411,7 @@ function Or(e, t, n, r, o, i) {
411
411
  }), e.element = /** @type {any} */
412
412
  s, s;
413
413
  }
414
- class Nr {
414
+ class Lr {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class Nr {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Mr(this, 1), this.$destroy = Y;
433
+ Hr(this, 1), this.$destroy = Q;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -439,8 +439,8 @@ class Nr {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, n) {
442
- if (!St(n))
443
- return Y;
442
+ if (!Ct(n))
443
+ return Q;
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 Nr {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const Lr = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
458
+ const Rr = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
460
460
  /*! *****************************************************************************
461
461
  Copyright (c) Microsoft Corporation.
462
462
 
@@ -550,7 +550,7 @@ function mt(e, t) {
550
550
  0 <= n && e.splice(n, 1);
551
551
  }
552
552
  }
553
- var We = function() {
553
+ var je = function() {
554
554
  function e(t) {
555
555
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
556
556
  }
@@ -589,8 +589,8 @@ var We = function() {
589
589
  if (h) {
590
590
  this._finalizers = null;
591
591
  try {
592
- for (var d = ht(h), p = d.next(); !p.done; p = d.next()) {
593
- var y = p.value;
592
+ for (var d = ht(h), m = d.next(); !m.done; m = d.next()) {
593
+ var y = m.value;
594
594
  try {
595
595
  $t(y);
596
596
  } catch (v) {
@@ -601,7 +601,7 @@ var We = function() {
601
601
  r = { error: v };
602
602
  } finally {
603
603
  try {
604
- p && !p.done && (o = d.return) && o.call(d);
604
+ m && !m.done && (o = d.return) && o.call(d);
605
605
  } finally {
606
606
  if (r)
607
607
  throw r.error;
@@ -640,16 +640,16 @@ var We = function() {
640
640
  var t = new e();
641
641
  return t.closed = !0, t;
642
642
  }(), e;
643
- }(), wn = We.EMPTY;
643
+ }(), wn = je.EMPTY;
644
644
  function xn(e) {
645
- return e instanceof We || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
645
+ return e instanceof je || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
646
646
  }
647
647
  function $t(e) {
648
648
  re(e) ? e() : e.unsubscribe();
649
649
  }
650
- var Rr = {
650
+ var Ur = {
651
651
  Promise: void 0
652
- }, Ur = {
652
+ }, Fr = {
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 Rr = {
660
660
  },
661
661
  delegate: void 0
662
662
  };
663
- function Fr(e) {
664
- Ur.setTimeout(function() {
663
+ function Dr(e) {
664
+ Fr.setTimeout(function() {
665
665
  throw e;
666
666
  });
667
667
  }
@@ -670,11 +670,11 @@ function Gt() {
670
670
  function Ue(e) {
671
671
  e();
672
672
  }
673
- var Cn = function(e) {
673
+ var Sn = function(e) {
674
674
  Te(t, e);
675
675
  function t(n) {
676
676
  var r = e.call(this) || this;
677
- return r.isStopped = !1, n ? (r.destination = n, xn(n) && n.add(r)) : r.destination = Gr, r;
677
+ return r.isStopped = !1, n ? (r.destination = n, xn(n) && n.add(r)) : r.destination = kr, r;
678
678
  }
679
679
  return t.create = function(n, r, o) {
680
680
  return new bt(n, r, o);
@@ -701,7 +701,7 @@ var Cn = function(e) {
701
701
  this.unsubscribe();
702
702
  }
703
703
  }, t;
704
- }(We), Dr = function() {
704
+ }(je), $r = function() {
705
705
  function e(t) {
706
706
  this.partialObserver = t;
707
707
  }
@@ -740,28 +740,28 @@ var Cn = function(e) {
740
740
  next: n ?? void 0,
741
741
  error: r ?? void 0,
742
742
  complete: o ?? void 0
743
- } : s = n, i.destination = new Dr(s), i;
743
+ } : s = n, i.destination = new $r(s), i;
744
744
  }
745
745
  return t;
746
- }(Cn);
746
+ }(Sn);
747
747
  function Ne(e) {
748
- Fr(e);
748
+ Dr(e);
749
749
  }
750
- function $r(e) {
750
+ function Gr(e) {
751
751
  throw e;
752
752
  }
753
- var Gr = {
753
+ var kr = {
754
754
  closed: !0,
755
755
  next: Gt,
756
- error: $r,
756
+ error: Gr,
757
757
  complete: Gt
758
- }, kr = function() {
758
+ }, Wr = function() {
759
759
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
760
760
  }();
761
761
  function jr(e) {
762
762
  return e;
763
763
  }
764
- function Wr(e) {
764
+ function Vr(e) {
765
765
  return e.length === 0 ? jr : e.length === 1 ? e[0] : function(n) {
766
766
  return e.reduce(function(r, o) {
767
767
  return o(r);
@@ -776,7 +776,7 @@ var kt = 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 = zr(t) ? t : new bt(t, n, r);
779
+ var o = this, i = Xr(t) ? t : new bt(t, n, r);
780
780
  return Ue(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));
@@ -789,7 +789,7 @@ var kt = function() {
789
789
  }
790
790
  }, e.prototype.forEach = function(t, n) {
791
791
  var r = this;
792
- return n = jt(n), new n(function(o, i) {
792
+ return n = Wt(n), new n(function(o, i) {
793
793
  var s = new bt({
794
794
  next: function(a) {
795
795
  try {
@@ -806,15 +806,15 @@ var kt = 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[kr] = function() {
809
+ }, e.prototype[Wr] = 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 Wr(t)(this);
814
+ return Vr(t)(this);
815
815
  }, e.prototype.toPromise = function(t) {
816
816
  var n = this;
817
- return t = jt(t), new t(function(r, o) {
817
+ return t = Wt(t), new t(function(r, o) {
818
818
  var i;
819
819
  n.subscribe(function(s) {
820
820
  return i = s;
@@ -828,32 +828,32 @@ var kt = function() {
828
828
  return new e(t);
829
829
  }, e;
830
830
  }();
831
- function jt(e) {
831
+ function Wt(e) {
832
832
  var t;
833
- return (t = e ?? Rr.Promise) !== null && t !== void 0 ? t : Promise;
833
+ return (t = e ?? Ur.Promise) !== null && t !== void 0 ? t : Promise;
834
834
  }
835
- function Vr(e) {
835
+ function zr(e) {
836
836
  return e && re(e.next) && re(e.error) && re(e.complete);
837
837
  }
838
- function zr(e) {
839
- return e && e instanceof Cn || Vr(e) && xn(e);
838
+ function Xr(e) {
839
+ return e && e instanceof Sn || zr(e) && xn(e);
840
840
  }
841
- var Xr = En(function(e) {
841
+ var qr = En(function(e) {
842
842
  return function() {
843
843
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
844
844
  };
845
- }), Sn = function(e) {
845
+ }), Cn = function(e) {
846
846
  Te(t, e);
847
847
  function t() {
848
848
  var n = e.call(this) || this;
849
849
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
850
850
  }
851
851
  return t.prototype.lift = function(n) {
852
- var r = new Wt(this, this);
852
+ var r = new jt(this, this);
853
853
  return r.operator = n, r;
854
854
  }, t.prototype._throwIfClosed = function() {
855
855
  if (this.closed)
856
- throw new Xr();
856
+ throw new qr();
857
857
  }, t.prototype.next = function(n) {
858
858
  var r = this;
859
859
  Ue(function() {
@@ -910,7 +910,7 @@ var Xr = En(function(e) {
910
910
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
911
911
  }, t.prototype._innerSubscribe = function(n) {
912
912
  var r = this, o = this, i = o.hasError, s = o.isStopped, a = o.observers;
913
- return i || s ? wn : (this.currentObservers = null, a.push(n), new We(function() {
913
+ return i || s ? wn : (this.currentObservers = null, a.push(n), new je(function() {
914
914
  r.currentObservers = null, mt(a, n);
915
915
  }));
916
916
  }, t.prototype._checkFinalizedStatuses = function(n) {
@@ -920,9 +920,9 @@ var Xr = En(function(e) {
920
920
  var n = new kt();
921
921
  return n.source = this, n;
922
922
  }, t.create = function(n, r) {
923
- return new Wt(n, r);
923
+ return new jt(n, r);
924
924
  }, t;
925
- }(kt), Wt = function(e) {
925
+ }(kt), jt = function(e) {
926
926
  Te(t, e);
927
927
  function t(n, r) {
928
928
  var o = e.call(this) || this;
@@ -941,12 +941,12 @@ var Xr = En(function(e) {
941
941
  var r, o;
942
942
  return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : wn;
943
943
  }, t;
944
- }(Sn), An = {
944
+ }(Cn), An = {
945
945
  now: function() {
946
946
  return (An.delegate || Date).now();
947
947
  },
948
948
  delegate: void 0
949
- }, qr = function(e) {
949
+ }, Zr = function(e) {
950
950
  Te(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 = An);
@@ -969,65 +969,65 @@ var Xr = En(function(e) {
969
969
  l && i.splice(0, l + 1);
970
970
  }
971
971
  }, t;
972
- }(Sn);
973
- const Vt = [], zt = {}, Zr = (e, t = 0) => {
972
+ }(Cn);
973
+ const Vt = [], zt = {}, Yr = (e, t = 0) => {
974
974
  if (Vt.indexOf(e) == -1) {
975
- const n = new qr(t);
975
+ const n = new Zr(t);
976
976
  zt[e] = n, Vt.push(e);
977
977
  }
978
978
  return zt[e];
979
- }, ce = [];
980
- function Yr(e, t) {
979
+ }, le = [];
980
+ function Qr(e, t) {
981
981
  return {
982
982
  subscribe: Ve(e, t).subscribe
983
983
  };
984
984
  }
985
- function Ve(e, t = Y) {
985
+ function Ve(e, t = Q) {
986
986
  let n;
987
987
  const r = /* @__PURE__ */ new Set();
988
988
  function o(a) {
989
989
  if (vn(e, a) && (e = a, n)) {
990
- const u = !ce.length;
990
+ const u = !le.length;
991
991
  for (const l of r)
992
- l[1](), ce.push(l, e);
992
+ l[1](), le.push(l, e);
993
993
  if (u) {
994
- for (let l = 0; l < ce.length; l += 2)
995
- ce[l][0](ce[l + 1]);
996
- ce.length = 0;
994
+ for (let l = 0; l < le.length; l += 2)
995
+ le[l][0](le[l + 1]);
996
+ le.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 = Y) {
1003
+ function s(a, u = Q) {
1004
1004
  const l = [a, u];
1005
- return r.add(l), r.size === 1 && (n = t(o, i) || Y), a(e), () => {
1005
+ return r.add(l), r.size === 1 && (n = t(o, i) || Q), 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 ve(e, t, n) {
1011
+ function ge(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 Yr(n, (s, a) => {
1016
+ return Qr(n, (s, a) => {
1017
1017
  let u = !1;
1018
1018
  const l = [];
1019
- let c = 0, h = Y;
1019
+ let c = 0, h = Q;
1020
1020
  const d = () => {
1021
1021
  if (c)
1022
1022
  return;
1023
1023
  h();
1024
1024
  const y = t(r ? l[0] : l, s, a);
1025
- i ? s(y) : h = St(y) ? y : Y;
1026
- }, p = o.map(
1025
+ i ? s(y) : h = Ct(y) ? y : Q;
1026
+ }, m = o.map(
1027
1027
  (y, v) => yn(
1028
1028
  y,
1029
- (m) => {
1030
- l[v] = m, c &= ~(1 << v), u && d();
1029
+ (x) => {
1030
+ l[v] = x, c &= ~(1 << v), u && d();
1031
1031
  },
1032
1032
  () => {
1033
1033
  c |= 1 << v;
@@ -1035,51 +1035,51 @@ function ve(e, t, n) {
1035
1035
  )
1036
1036
  );
1037
1037
  return u = !0, d(), function() {
1038
- ie(p), h(), u = !1;
1038
+ ie(m), h(), u = !1;
1039
1039
  };
1040
1040
  });
1041
1041
  }
1042
1042
  function Jr(e) {
1043
1043
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1044
1044
  }
1045
- var Qr = function(t) {
1046
- return Kr(t) && !eo(t);
1045
+ var Kr = function(t) {
1046
+ return eo(t) && !to(t);
1047
1047
  };
1048
- function Kr(e) {
1048
+ function eo(e) {
1049
1049
  return !!e && typeof e == "object";
1050
1050
  }
1051
- function eo(e) {
1051
+ function to(e) {
1052
1052
  var t = Object.prototype.toString.call(e);
1053
- return t === "[object RegExp]" || t === "[object Date]" || ro(e);
1054
- }
1055
- var to = typeof Symbol == "function" && Symbol.for, no = to ? Symbol.for("react.element") : 60103;
1056
- function ro(e) {
1057
- return e.$$typeof === no;
1053
+ return t === "[object RegExp]" || t === "[object Date]" || oo(e);
1058
1054
  }
1055
+ var no = typeof Symbol == "function" && Symbol.for, ro = no ? Symbol.for("react.element") : 60103;
1059
1056
  function oo(e) {
1057
+ return e.$$typeof === ro;
1058
+ }
1059
+ function io(e) {
1060
1060
  return Array.isArray(e) ? [] : {};
1061
1061
  }
1062
- function Se(e, t) {
1063
- return t.clone !== !1 && t.isMergeableObject(e) ? pe(oo(e), e, t) : e;
1062
+ function Ce(e, t) {
1063
+ return t.clone !== !1 && t.isMergeableObject(e) ? de(io(e), e, t) : e;
1064
1064
  }
1065
- function io(e, t, n) {
1065
+ function so(e, t, n) {
1066
1066
  return e.concat(t).map(function(r) {
1067
- return Se(r, n);
1067
+ return Ce(r, n);
1068
1068
  });
1069
1069
  }
1070
- function so(e, t) {
1070
+ function ao(e, t) {
1071
1071
  if (!t.customMerge)
1072
- return pe;
1072
+ return de;
1073
1073
  var n = t.customMerge(e);
1074
- return typeof n == "function" ? n : pe;
1074
+ return typeof n == "function" ? n : de;
1075
1075
  }
1076
- function ao(e) {
1076
+ function uo(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 Xt(e) {
1082
- return Object.keys(e).concat(ao(e));
1082
+ return Object.keys(e).concat(uo(e));
1083
1083
  }
1084
1084
  function Tn(e, t) {
1085
1085
  try {
@@ -1088,31 +1088,31 @@ function Tn(e, t) {
1088
1088
  return !1;
1089
1089
  }
1090
1090
  }
1091
- function uo(e, t) {
1091
+ function lo(e, t) {
1092
1092
  return Tn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1093
1093
  }
1094
- function lo(e, t, n) {
1094
+ function co(e, t, n) {
1095
1095
  var r = {};
1096
1096
  return n.isMergeableObject(e) && Xt(e).forEach(function(o) {
1097
- r[o] = Se(e[o], n);
1097
+ r[o] = Ce(e[o], n);
1098
1098
  }), Xt(t).forEach(function(o) {
1099
- uo(e, o) || (Tn(e, o) && n.isMergeableObject(t[o]) ? r[o] = so(o, n)(e[o], t[o], n) : r[o] = Se(t[o], n));
1099
+ lo(e, o) || (Tn(e, o) && n.isMergeableObject(t[o]) ? r[o] = ao(o, n)(e[o], t[o], n) : r[o] = Ce(t[o], n));
1100
1100
  }), r;
1101
1101
  }
1102
- function pe(e, t, n) {
1103
- n = n || {}, n.arrayMerge = n.arrayMerge || io, n.isMergeableObject = n.isMergeableObject || Qr, n.cloneUnlessOtherwiseSpecified = Se;
1102
+ function de(e, t, n) {
1103
+ n = n || {}, n.arrayMerge = n.arrayMerge || so, n.isMergeableObject = n.isMergeableObject || Kr, 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) : lo(e, t, n) : Se(t, n);
1105
+ return i ? r ? n.arrayMerge(e, t, n) : co(e, t, n) : Ce(t, n);
1106
1106
  }
1107
- pe.all = function(t, n) {
1107
+ de.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 pe(r, o, n);
1111
+ return de(r, o, n);
1112
1112
  }, {});
1113
1113
  };
1114
- var co = pe, fo = co;
1115
- const ho = /* @__PURE__ */ Jr(fo);
1114
+ var fo = de, ho = fo;
1115
+ const po = /* @__PURE__ */ Jr(ho);
1116
1116
  var gt = function(e, t) {
1117
1117
  return gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1118
1118
  n.__proto__ = r;
@@ -1140,7 +1140,7 @@ var te = function() {
1140
1140
  return t;
1141
1141
  }, te.apply(this, arguments);
1142
1142
  };
1143
- function po(e, t) {
1143
+ function mo(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 nt(e, t, n) {
1156
1156
  return e.concat(i || Array.prototype.slice.call(t));
1157
1157
  }
1158
1158
  function rt(e, t) {
1159
- var n = t && t.cache ? t.cache : Bo, r = t && t.serializer ? t.serializer : yo, o = t && t.strategy ? t.strategy : go;
1159
+ var n = t && t.cache ? t.cache : Eo, r = t && t.serializer ? t.serializer : _o, o = t && t.strategy ? t.strategy : vo;
1160
1160
  return o(e, {
1161
1161
  cache: n,
1162
1162
  serializer: r
1163
1163
  });
1164
1164
  }
1165
- function mo(e) {
1165
+ function bo(e) {
1166
1166
  return e == null || typeof e == "number" || typeof e == "boolean";
1167
1167
  }
1168
- function bo(e, t, n, r) {
1169
- var o = mo(r) ? r : n(r), i = t.get(o);
1168
+ function go(e, t, n, r) {
1169
+ var o = bo(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 Pn(e, t, n) {
@@ -1176,16 +1176,16 @@ function Pn(e, t, n) {
1176
1176
  function Mn(e, t, n, r, o) {
1177
1177
  return n.bind(t, e, r, o);
1178
1178
  }
1179
- function go(e, t) {
1180
- var n = e.length === 1 ? bo : Pn;
1179
+ function vo(e, t) {
1180
+ var n = e.length === 1 ? go : Pn;
1181
1181
  return Mn(e, this, n, t.cache.create(), t.serializer);
1182
1182
  }
1183
- function vo(e, t) {
1183
+ function yo(e, t) {
1184
1184
  return Mn(e, this, Pn, t.cache.create(), t.serializer);
1185
1185
  }
1186
- var yo = function() {
1186
+ var _o = function() {
1187
1187
  return JSON.stringify(arguments);
1188
- }, _o = (
1188
+ }, Bo = (
1189
1189
  /** @class */
1190
1190
  function() {
1191
1191
  function e() {
@@ -1197,12 +1197,12 @@ var yo = function() {
1197
1197
  this.cache[t] = n;
1198
1198
  }, e;
1199
1199
  }()
1200
- ), Bo = {
1200
+ ), Eo = {
1201
1201
  create: function() {
1202
- return new _o();
1202
+ return new Bo();
1203
1203
  }
1204
1204
  }, ot = {
1205
- variadic: vo
1205
+ variadic: yo
1206
1206
  }, Ge = function() {
1207
1207
  return Ge = Object.assign || function(t) {
1208
1208
  for (var n, r = 1, o = arguments.length; r < o; r++) {
@@ -1217,51 +1217,51 @@ var C;
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
  })(C || (C = {}));
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 me;
1223
+ })(O || (O = {}));
1224
+ var pe;
1225
1225
  (function(e) {
1226
1226
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1227
- })(me || (me = {}));
1227
+ })(pe || (pe = {}));
1228
1228
  function qt(e) {
1229
- return e.type === H.literal;
1229
+ return e.type === O.literal;
1230
1230
  }
1231
- function Eo(e) {
1232
- return e.type === H.argument;
1231
+ function wo(e) {
1232
+ return e.type === O.argument;
1233
1233
  }
1234
1234
  function Hn(e) {
1235
- return e.type === H.number;
1236
- }
1237
- function In(e) {
1238
- return e.type === H.date;
1235
+ return e.type === O.number;
1239
1236
  }
1240
1237
  function On(e) {
1241
- return e.type === H.time;
1238
+ return e.type === O.date;
1239
+ }
1240
+ function In(e) {
1241
+ return e.type === O.time;
1242
1242
  }
1243
1243
  function Nn(e) {
1244
- return e.type === H.select;
1244
+ return e.type === O.select;
1245
1245
  }
1246
1246
  function Ln(e) {
1247
- return e.type === H.plural;
1247
+ return e.type === O.plural;
1248
1248
  }
1249
- function wo(e) {
1250
- return e.type === H.pound;
1249
+ function xo(e) {
1250
+ return e.type === O.pound;
1251
1251
  }
1252
1252
  function Rn(e) {
1253
- return e.type === H.tag;
1253
+ return e.type === O.tag;
1254
1254
  }
1255
1255
  function Un(e) {
1256
- return !!(e && typeof e == "object" && e.type === me.number);
1256
+ return !!(e && typeof e == "object" && e.type === pe.number);
1257
1257
  }
1258
1258
  function vt(e) {
1259
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1259
+ return !!(e && typeof e == "object" && e.type === pe.dateTime);
1260
1260
  }
1261
- var Fn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xo = /(?:[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;
1261
+ var Fn = /[ \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
1262
  function Co(e) {
1263
1263
  var t = {};
1264
- return e.replace(xo, function(n) {
1264
+ return e.replace(So, function(n) {
1265
1265
  var r = n.length;
1266
1266
  switch (n[0]) {
1267
1267
  case "G":
@@ -1350,21 +1350,21 @@ function Co(e) {
1350
1350
  return "";
1351
1351
  }), t;
1352
1352
  }
1353
- var O = function() {
1354
- return O = Object.assign || function(t) {
1353
+ var N = function() {
1354
+ return N = Object.assign || function(t) {
1355
1355
  for (var n, r = 1, o = arguments.length; r < o; r++) {
1356
1356
  n = arguments[r];
1357
1357
  for (var i in n)
1358
1358
  Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1359
1359
  }
1360
1360
  return t;
1361
- }, O.apply(this, arguments);
1361
+ }, N.apply(this, arguments);
1362
1362
  };
1363
- var So = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1364
- function Ao(e) {
1363
+ var Ao = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1364
+ function To(e) {
1365
1365
  if (e.length === 0)
1366
1366
  throw new Error("Number skeleton cannot be empty");
1367
- for (var t = e.split(So).filter(function(d) {
1367
+ for (var t = e.split(Ao).filter(function(d) {
1368
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("/");
@@ -1379,10 +1379,10 @@ function Ao(e) {
1379
1379
  }
1380
1380
  return n;
1381
1381
  }
1382
- function To(e) {
1382
+ function Po(e) {
1383
1383
  return e.replace(/^(.*?)-/, "");
1384
1384
  }
1385
- var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dn = /^(@+)?(\+|#+)?[rs]?$/g, Po = /(\*)(0+)|(#+)(0+)|(0+)/g, $n = /^(0+)$/;
1385
+ var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dn = /^(@+)?(\+|#+)?[rs]?$/g, Mo = /(\*)(0+)|(#+)(0+)|(0+)/g, $n = /^(0+)$/;
1386
1386
  function Yt(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(Dn, function(n, r, o) {
@@ -1429,7 +1429,7 @@ function Gn(e) {
1429
1429
  };
1430
1430
  }
1431
1431
  }
1432
- function Mo(e) {
1432
+ function Ho(e) {
1433
1433
  var t;
1434
1434
  if (e[0] === "E" && e[1] === "E" ? (t = {
1435
1435
  notation: "engineering"
@@ -1443,11 +1443,11 @@ function Mo(e) {
1443
1443
  }
1444
1444
  return t;
1445
1445
  }
1446
- function Jt(e) {
1446
+ function Qt(e) {
1447
1447
  var t = {}, n = Gn(e);
1448
1448
  return n || t;
1449
1449
  }
1450
- function Ho(e) {
1450
+ function Oo(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 Ho(e) {
1471
1471
  continue;
1472
1472
  case "measure-unit":
1473
1473
  case "unit":
1474
- t.style = "unit", t.unit = To(o.options[0]);
1474
+ t.style = "unit", t.unit = Po(o.options[0]);
1475
1475
  continue;
1476
1476
  case "compact-short":
1477
1477
  case "K":
@@ -1482,13 +1482,13 @@ function Ho(e) {
1482
1482
  t.notation = "compact", t.compactDisplay = "long";
1483
1483
  continue;
1484
1484
  case "scientific":
1485
- t = O(O(O({}, t), { notation: "scientific" }), o.options.reduce(function(u, l) {
1486
- return O(O({}, u), Jt(l));
1485
+ t = N(N(N({}, t), { notation: "scientific" }), o.options.reduce(function(u, l) {
1486
+ return N(N({}, u), Qt(l));
1487
1487
  }, {}));
1488
1488
  continue;
1489
1489
  case "engineering":
1490
- t = O(O(O({}, t), { notation: "engineering" }), o.options.reduce(function(u, l) {
1491
- return O(O({}, u), Jt(l));
1490
+ t = N(N(N({}, t), { notation: "engineering" }), o.options.reduce(function(u, l) {
1491
+ return N(N({}, u), Qt(l));
1492
1492
  }, {}));
1493
1493
  continue;
1494
1494
  case "notation-simple":
@@ -1533,13 +1533,13 @@ function Ho(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(Po, function(u, l, c, h, d, p) {
1536
+ o.options[0].replace(Mo, function(u, l, c, h, d, m) {
1537
1537
  if (l)
1538
1538
  t.minimumIntegerDigits = c.length;
1539
1539
  else {
1540
1540
  if (h && d)
1541
1541
  throw new Error("We currently do not support maximum integer digits");
1542
- if (p)
1542
+ if (m)
1543
1543
  throw new Error("We currently do not support exact integer digits");
1544
1544
  }
1545
1545
  return "";
@@ -1553,21 +1553,21 @@ function Ho(e) {
1553
1553
  if (Zt.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(Zt, function(u, l, c, h, d, p) {
1557
- return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && p ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1556
+ o.stem.replace(Zt, function(u, l, c, h, d, m) {
1557
+ return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.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
- i === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = O(O({}, t), Yt(i)));
1560
+ i === "w" ? t = N(N({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = N(N({}, t), Yt(i)));
1561
1561
  continue;
1562
1562
  }
1563
1563
  if (Dn.test(o.stem)) {
1564
- t = O(O({}, t), Yt(o.stem));
1564
+ t = N(N({}, t), Yt(o.stem));
1565
1565
  continue;
1566
1566
  }
1567
1567
  var s = Gn(o.stem);
1568
- s && (t = O(O({}, t), s));
1569
- var a = Mo(o.stem);
1570
- a && (t = O(O({}, t), a));
1568
+ s && (t = N(N({}, t), s));
1569
+ var a = Ho(o.stem);
1570
+ a && (t = N(N({}, t), a));
1571
1571
  }
1572
1572
  return t;
1573
1573
  }
@@ -2992,7 +2992,7 @@ function Io(e, t) {
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 = Oo(t);
2995
+ var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = No(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 Io(e, t) {
3002
3002
  }
3003
3003
  return n;
3004
3004
  }
3005
- function Oo(e) {
3005
+ function No(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 Oo(e) {
3024
3024
  var o = Le[r || ""] || Le[n || ""] || Le["".concat(n, "-001")] || Le["001"];
3025
3025
  return o[0];
3026
3026
  }
3027
- var it, No = new RegExp("^".concat(Fn.source, "*")), Lo = new RegExp("".concat(Fn.source, "*$"));
3028
- function S(e, t) {
3027
+ var it, Lo = new RegExp("^".concat(Fn.source, "*")), Ro = new RegExp("".concat(Fn.source, "*$"));
3028
+ function A(e, t) {
3029
3029
  return { start: e, end: t };
3030
3030
  }
3031
- var Ro = !!String.prototype.startsWith && "_a".startsWith("a", 1), Uo = !!String.fromCodePoint, Fo = !!Object.fromEntries, Do = !!String.prototype.codePointAt, $o = !!String.prototype.trimStart, Go = !!String.prototype.trimEnd, ko = !!Number.isSafeInteger, jo = ko ? Number.isSafeInteger : function(e) {
3031
+ var Uo = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fo = !!String.fromCodePoint, Do = !!Object.fromEntries, $o = !!String.prototype.codePointAt, Go = !!String.prototype.trimStart, ko = !!String.prototype.trimEnd, Wo = !!Number.isSafeInteger, jo = Wo ? Number.isSafeInteger : function(e) {
3032
3032
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3033
3033
  }, yt = !0;
3034
3034
  try {
3035
- var Wo = jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3036
- yt = ((it = Wo.exec("a")) === null || it === void 0 ? void 0 : it[0]) === "a";
3035
+ var Vo = Wn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3036
+ yt = ((it = Vo.exec("a")) === null || it === void 0 ? void 0 : it[0]) === "a";
3037
3037
  } catch {
3038
3038
  yt = !1;
3039
3039
  }
3040
- var Qt = Ro ? (
3040
+ var Jt = Uo ? (
3041
3041
  // Native
3042
3042
  function(t, n, r) {
3043
3043
  return t.startsWith(n, r);
@@ -3047,7 +3047,7 @@ var Qt = Ro ? (
3047
3047
  function(t, n, r) {
3048
3048
  return t.slice(r, r + n.length) === n;
3049
3049
  }
3050
- ), _t = Uo ? String.fromCodePoint : (
3050
+ ), _t = Fo ? String.fromCodePoint : (
3051
3051
  // IE11
3052
3052
  function() {
3053
3053
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3061,7 +3061,7 @@ var Qt = Ro ? (
3061
3061
  }
3062
3062
  ), Kt = (
3063
3063
  // native
3064
- Fo ? Object.fromEntries : (
3064
+ Do ? 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 Qt = Ro ? (
3071
3071
  return n;
3072
3072
  }
3073
3073
  )
3074
- ), kn = Do ? (
3074
+ ), kn = $o ? (
3075
3075
  // Native
3076
3076
  function(t, n) {
3077
3077
  return t.codePointAt(n);
@@ -3085,7 +3085,7 @@ var Qt = Ro ? (
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
- ), Vo = $o ? (
3088
+ ), zo = Go ? (
3089
3089
  // Native
3090
3090
  function(t) {
3091
3091
  return t.trimStart();
@@ -3093,9 +3093,9 @@ var Qt = Ro ? (
3093
3093
  ) : (
3094
3094
  // Ponyfill
3095
3095
  function(t) {
3096
- return t.replace(No, "");
3096
+ return t.replace(Lo, "");
3097
3097
  }
3098
- ), zo = Go ? (
3098
+ ), Xo = ko ? (
3099
3099
  // Native
3100
3100
  function(t) {
3101
3101
  return t.trimEnd();
@@ -3103,15 +3103,15 @@ var Qt = Ro ? (
3103
3103
  ) : (
3104
3104
  // Ponyfill
3105
3105
  function(t) {
3106
- return t.replace(Lo, "");
3106
+ return t.replace(Ro, "");
3107
3107
  }
3108
3108
  );
3109
- function jn(e, t) {
3109
+ function Wn(e, t) {
3110
3110
  return new RegExp(e, t);
3111
3111
  }
3112
3112
  var Bt;
3113
3113
  if (yt) {
3114
- var en = jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
+ var en = Wn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3115
3115
  Bt = function(t, n) {
3116
3116
  var r;
3117
3117
  en.lastIndex = n;
@@ -3122,13 +3122,13 @@ if (yt) {
3122
3122
  Bt = function(t, n) {
3123
3123
  for (var r = []; ; ) {
3124
3124
  var o = kn(t, n);
3125
- if (o === void 0 || Wn(o) || Yo(o))
3125
+ if (o === void 0 || jn(o) || Qo(o))
3126
3126
  break;
3127
3127
  r.push(o), n += o >= 65536 ? 2 : 1;
3128
3128
  }
3129
3129
  return _t.apply(void 0, r);
3130
3130
  };
3131
- var Xo = (
3131
+ var qo = (
3132
3132
  /** @class */
3133
3133
  function() {
3134
3134
  function e(t, n) {
@@ -3152,13 +3152,13 @@ var Xo = (
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,
3156
- location: S(a, this.clonePosition())
3155
+ type: O.pound,
3156
+ location: A(a, this.clonePosition())
3157
3157
  });
3158
3158
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
3159
3159
  if (r)
3160
3160
  break;
3161
- return this.error(C.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
3161
+ return this.error(C.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
3162
3162
  } else if (i === 60 && !this.ignoreTag && Et(this.peek() || 0)) {
3163
3163
  var s = this.parseTag(t, n);
3164
3164
  if (s.err)
@@ -3180,9 +3180,9 @@ var Xo = (
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
- location: S(r, this.clonePosition())
3185
+ location: A(r, this.clonePosition())
3186
3186
  },
3187
3187
  err: null
3188
3188
  };
@@ -3193,24 +3193,24 @@ var Xo = (
3193
3193
  var s = i.val, a = this.clonePosition();
3194
3194
  if (this.bumpIf("</")) {
3195
3195
  if (this.isEOF() || !Et(this.char()))
3196
- return this.error(C.INVALID_TAG, S(a, this.clonePosition()));
3196
+ return this.error(C.INVALID_TAG, A(a, this.clonePosition()));
3197
3197
  var u = this.clonePosition(), l = this.parseTagName();
3198
- return o !== l ? this.error(C.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3198
+ return o !== l ? this.error(C.UNMATCHED_CLOSING_TAG, A(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
- location: S(r, this.clonePosition())
3203
+ location: A(r, this.clonePosition())
3204
3204
  },
3205
3205
  err: null
3206
- } : this.error(C.INVALID_TAG, S(a, this.clonePosition())));
3206
+ } : this.error(C.INVALID_TAG, A(a, this.clonePosition())));
3207
3207
  } else
3208
- return this.error(C.UNCLOSED_TAG, S(r, this.clonePosition()));
3208
+ return this.error(C.UNCLOSED_TAG, A(r, this.clonePosition()));
3209
3209
  } else
3210
- return this.error(C.INVALID_TAG, S(r, this.clonePosition()));
3210
+ return this.error(C.INVALID_TAG, A(r, this.clonePosition()));
3211
3211
  }, e.prototype.parseTagName = function() {
3212
3212
  var t = this.offset();
3213
- for (this.bump(); !this.isEOF() && Zo(this.char()); )
3213
+ for (this.bump(); !this.isEOF() && Yo(this.char()); )
3214
3214
  this.bump();
3215
3215
  return this.message.slice(t, this.offset());
3216
3216
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3232,14 +3232,14 @@ var Xo = (
3232
3232
  }
3233
3233
  break;
3234
3234
  }
3235
- var u = S(r, this.clonePosition());
3235
+ var u = A(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
- !qo(this.peek() || 0)) ? (this.bump(), "<") : null;
3242
+ !Zo(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;
@@ -3282,40 +3282,40 @@ var Xo = (
3282
3282
  }, e.prototype.parseArgument = function(t, n) {
3283
3283
  var r = this.clonePosition();
3284
3284
  if (this.bump(), this.bumpSpace(), this.isEOF())
3285
- return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition()));
3285
+ return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, A(r, this.clonePosition()));
3286
3286
  if (this.char() === 125)
3287
- return this.bump(), this.error(C.EMPTY_ARGUMENT, S(r, this.clonePosition()));
3287
+ return this.bump(), this.error(C.EMPTY_ARGUMENT, A(r, this.clonePosition()));
3288
3288
  var o = this.parseIdentifierIfPossible().value;
3289
3289
  if (!o)
3290
- return this.error(C.MALFORMED_ARGUMENT, S(r, this.clonePosition()));
3290
+ return this.error(C.MALFORMED_ARGUMENT, A(r, this.clonePosition()));
3291
3291
  if (this.bumpSpace(), this.isEOF())
3292
- return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition()));
3292
+ return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, A(r, this.clonePosition()));
3293
3293
  switch (this.char()) {
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
- location: S(r, this.clonePosition())
3300
+ location: A(r, this.clonePosition())
3301
3301
  },
3302
3302
  err: null
3303
3303
  };
3304
3304
  case 44:
3305
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition())) : this.parseArgumentOptions(t, n, o, r);
3305
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, A(r, this.clonePosition())) : this.parseArgumentOptions(t, n, o, r);
3306
3306
  default:
3307
- return this.error(C.MALFORMED_ARGUMENT, S(r, this.clonePosition()));
3307
+ return this.error(C.MALFORMED_ARGUMENT, A(r, this.clonePosition()));
3308
3308
  }
3309
3309
  }, e.prototype.parseIdentifierIfPossible = function() {
3310
3310
  var t = this.clonePosition(), n = this.offset(), r = Bt(this.message, n), o = n + r.length;
3311
3311
  this.bumpTo(o);
3312
- var i = this.clonePosition(), s = S(t, i);
3312
+ var i = this.clonePosition(), s = A(t, i);
3313
3313
  return { value: r, location: s };
3314
3314
  }, e.prototype.parseArgumentOptions = function(t, n, r, o) {
3315
3315
  var i, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3316
3316
  switch (a) {
3317
3317
  case "":
3318
- return this.error(C.EXPECT_ARGUMENT_TYPE, S(s, u));
3318
+ return this.error(C.EXPECT_ARGUMENT_TYPE, A(s, u));
3319
3319
  case "number":
3320
3320
  case "date":
3321
3321
  case "time": {
@@ -3326,44 +3326,44 @@ var Xo = (
3326
3326
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3327
3327
  if (h.err)
3328
3328
  return h;
3329
- var d = zo(h.val);
3329
+ var d = Xo(h.val);
3330
3330
  if (d.length === 0)
3331
- return this.error(C.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3332
- var p = S(c, this.clonePosition());
3333
- l = { style: d, styleLocation: p };
3331
+ return this.error(C.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
3332
+ var m = A(c, this.clonePosition());
3333
+ l = { style: d, styleLocation: m };
3334
3334
  }
3335
3335
  var y = this.tryParseArgumentClose(o);
3336
3336
  if (y.err)
3337
3337
  return y;
3338
- var v = S(o, this.clonePosition());
3339
- if (l && Qt(l?.style, "::", 0)) {
3340
- var m = Vo(l.style.slice(2));
3338
+ var v = A(o, this.clonePosition());
3339
+ if (l && Jt(l?.style, "::", 0)) {
3340
+ var x = zo(l.style.slice(2));
3341
3341
  if (a === "number") {
3342
- var h = this.parseNumberSkeletonFromString(m, l.styleLocation);
3342
+ var h = this.parseNumberSkeletonFromString(x, l.styleLocation);
3343
3343
  return h.err ? h : {
3344
- val: { type: H.number, value: r, location: v, style: h.val },
3344
+ val: { type: O.number, value: r, location: v, style: h.val },
3345
3345
  err: null
3346
3346
  };
3347
3347
  } else {
3348
- if (m.length === 0)
3348
+ if (x.length === 0)
3349
3349
  return this.error(C.EXPECT_DATE_TIME_SKELETON, v);
3350
- var B = m;
3351
- this.locale && (B = Io(m, this.locale));
3350
+ var _ = x;
3351
+ this.locale && (_ = Io(x, this.locale));
3352
3352
  var d = {
3353
- type: me.dateTime,
3354
- pattern: B,
3353
+ type: pe.dateTime,
3354
+ pattern: _,
3355
3355
  location: l.styleLocation,
3356
- parsedOptions: this.shouldParseSkeletons ? Co(B) : {}
3357
- }, g = a === "date" ? H.date : H.time;
3356
+ parsedOptions: this.shouldParseSkeletons ? Co(_) : {}
3357
+ }, b = a === "date" ? O.date : O.time;
3358
3358
  return {
3359
- val: { type: g, value: r, location: v, style: d },
3359
+ val: { type: b, value: r, location: v, 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
3368
  location: v,
3369
3369
  style: (i = l?.style) !== null && i !== void 0 ? i : null
@@ -3374,52 +3374,52 @@ var Xo = (
3374
3374
  case "plural":
3375
3375
  case "selectordinal":
3376
3376
  case "select": {
3377
- var _ = this.clonePosition();
3377
+ var g = this.clonePosition();
3378
3378
  if (this.bumpSpace(), !this.bumpIf(","))
3379
- return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, S(_, Ge({}, _)));
3379
+ return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, A(g, Ge({}, g)));
3380
3380
  this.bumpSpace();
3381
- var I = this.parseIdentifierIfPossible(), U = 0;
3382
- if (a !== "select" && I.value === "offset") {
3381
+ var E = this.parseIdentifierIfPossible(), U = 0;
3382
+ if (a !== "select" && E.value === "offset") {
3383
3383
  if (!this.bumpIf(":"))
3384
- return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3384
+ return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
3385
3385
  this.bumpSpace();
3386
3386
  var h = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3387
3387
  if (h.err)
3388
3388
  return h;
3389
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), U = h.val;
3389
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), U = h.val;
3390
3390
  }
3391
- var X = this.tryParsePluralOrSelectOptions(t, a, n, I);
3391
+ var X = this.tryParsePluralOrSelectOptions(t, a, n, E);
3392
3392
  if (X.err)
3393
3393
  return X;
3394
3394
  var y = this.tryParseArgumentClose(o);
3395
3395
  if (y.err)
3396
3396
  return y;
3397
- var Z = S(o, this.clonePosition());
3397
+ var Y = A(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: Kt(X.val),
3403
- location: Z
3403
+ location: Y
3404
3404
  },
3405
3405
  err: null
3406
3406
  } : {
3407
3407
  val: {
3408
- type: H.plural,
3408
+ type: O.plural,
3409
3409
  value: r,
3410
3410
  options: Kt(X.val),
3411
3411
  offset: U,
3412
3412
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3413
- location: Z
3413
+ location: Y
3414
3414
  },
3415
3415
  err: null
3416
3416
  };
3417
3417
  }
3418
3418
  default:
3419
- return this.error(C.INVALID_ARGUMENT_TYPE, S(s, u));
3419
+ return this.error(C.INVALID_ARGUMENT_TYPE, A(s, u));
3420
3420
  }
3421
3421
  }, e.prototype.tryParseArgumentClose = function(t) {
3422
- return this.isEOF() || this.char() !== 125 ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3422
+ return this.isEOF() || this.char() !== 125 ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3423
3423
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3424
3424
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3425
3425
  var r = this.char();
@@ -3428,7 +3428,7 @@ var Xo = (
3428
3428
  this.bump();
3429
3429
  var o = this.clonePosition();
3430
3430
  if (!this.bumpUntil("'"))
3431
- return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(o, this.clonePosition()));
3431
+ return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(o, this.clonePosition()));
3432
3432
  this.bump();
3433
3433
  break;
3434
3434
  }
@@ -3458,16 +3458,16 @@ var Xo = (
3458
3458
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3459
3459
  var r = [];
3460
3460
  try {
3461
- r = Ao(t);
3461
+ r = To(t);
3462
3462
  } catch {
3463
3463
  return this.error(C.INVALID_NUMBER_SKELETON, n);
3464
3464
  }
3465
3465
  return {
3466
3466
  val: {
3467
- type: me.number,
3467
+ type: pe.number,
3468
3468
  tokens: r,
3469
3469
  location: n,
3470
- parsedOptions: this.shouldParseSkeletons ? Ho(r) : {}
3470
+ parsedOptions: this.shouldParseSkeletons ? Oo(r) : {}
3471
3471
  },
3472
3472
  err: null
3473
3473
  };
@@ -3479,31 +3479,31 @@ var Xo = (
3479
3479
  var d = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_SELECTOR, C.INVALID_PLURAL_ARGUMENT_SELECTOR);
3480
3480
  if (d.err)
3481
3481
  return d;
3482
- c = S(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3482
+ c = A(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3483
3483
  } else
3484
3484
  break;
3485
3485
  }
3486
3486
  if (u.has(l))
3487
3487
  return this.error(n === "select" ? C.DUPLICATE_SELECT_ARGUMENT_SELECTOR : C.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3488
3488
  l === "other" && (s = !0), this.bumpSpace();
3489
- var p = this.clonePosition();
3489
+ var m = this.clonePosition();
3490
3490
  if (!this.bumpIf("{"))
3491
- return this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : C.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3491
+ return this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : C.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
3492
3492
  var y = this.parseMessage(t + 1, n, r);
3493
3493
  if (y.err)
3494
3494
  return y;
3495
- var v = this.tryParseArgumentClose(p);
3495
+ var v = this.tryParseArgumentClose(m);
3496
3496
  if (v.err)
3497
3497
  return v;
3498
3498
  a.push([
3499
3499
  l,
3500
3500
  {
3501
3501
  value: y.val,
3502
- location: S(p, this.clonePosition())
3502
+ location: A(m, this.clonePosition())
3503
3503
  }
3504
3504
  ]), u.add(l), this.bumpSpace(), i = this.parseIdentifierIfPossible(), l = i.value, c = i.location;
3505
3505
  }
3506
- return a.length === 0 ? this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR : C.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(C.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3506
+ return a.length === 0 ? this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR : C.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(C.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3507
3507
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3508
3508
  var r = 1, o = this.clonePosition();
3509
3509
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
@@ -3514,7 +3514,7 @@ var Xo = (
3514
3514
  else
3515
3515
  break;
3516
3516
  }
3517
- var u = S(o, this.clonePosition());
3517
+ var u = A(o, this.clonePosition());
3518
3518
  return i ? (s *= r, jo(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;
@@ -3549,7 +3549,7 @@ var Xo = (
3549
3549
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3550
3550
  }
3551
3551
  }, e.prototype.bumpIf = function(t) {
3552
- if (Qt(this.message, t, this.offset())) {
3552
+ if (Jt(this.message, t, this.offset())) {
3553
3553
  for (var n = 0; n < t.length; n++)
3554
3554
  this.bump();
3555
3555
  return !0;
@@ -3571,7 +3571,7 @@ var Xo = (
3571
3571
  break;
3572
3572
  }
3573
3573
  }, e.prototype.bumpSpace = function() {
3574
- for (; !this.isEOF() && Wn(this.char()); )
3574
+ for (; !this.isEOF() && jn(this.char()); )
3575
3575
  this.bump();
3576
3576
  }, e.prototype.peek = function() {
3577
3577
  if (this.isEOF())
@@ -3584,16 +3584,16 @@ var Xo = (
3584
3584
  function Et(e) {
3585
3585
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3586
3586
  }
3587
- function qo(e) {
3587
+ function Zo(e) {
3588
3588
  return Et(e) || e === 47;
3589
3589
  }
3590
- function Zo(e) {
3590
+ function Yo(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
- function Wn(e) {
3593
+ function jn(e) {
3594
3594
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3595
3595
  }
3596
- function Yo(e) {
3596
+ function Qo(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 wt(e) {
@@ -3602,22 +3602,22 @@ function wt(e) {
3602
3602
  for (var n in t.options)
3603
3603
  delete t.options[n].location, wt(t.options[n].value);
3604
3604
  else
3605
- Hn(t) && Un(t.style) || (In(t) || On(t)) && vt(t.style) ? delete t.style.location : Rn(t) && wt(t.children);
3605
+ Hn(t) && Un(t.style) || (On(t) || In(t)) && vt(t.style) ? delete t.style.location : Rn(t) && wt(t.children);
3606
3606
  });
3607
3607
  }
3608
3608
  function Jo(e, t) {
3609
3609
  t === void 0 && (t = {}), t = Ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3610
- var n = new Xo(e, t).parse();
3610
+ var n = new qo(e, t).parse();
3611
3611
  if (n.err) {
3612
3612
  var r = SyntaxError(C[n.err.kind]);
3613
3613
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3614
3614
  }
3615
3615
  return t?.captureLocation || wt(n.val), n.val;
3616
3616
  }
3617
- var be;
3617
+ var me;
3618
3618
  (function(e) {
3619
3619
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3620
- })(be || (be = {}));
3620
+ })(me || (me = {}));
3621
3621
  var Xe = (
3622
3622
  /** @class */
3623
3623
  function(e) {
@@ -3635,25 +3635,25 @@ var Xe = (
3635
3635
  function(e) {
3636
3636
  ze(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('", "'), '"'), be.INVALID_VALUE, i) || this;
3638
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(o).join('", "'), '"'), me.INVALID_VALUE, i) || this;
3639
3639
  }
3640
3640
  return t;
3641
3641
  }(Xe)
3642
- ), Qo = (
3642
+ ), Ko = (
3643
3643
  /** @class */
3644
3644
  function(e) {
3645
3645
  ze(t, e);
3646
3646
  function t(n, r, o) {
3647
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), be.INVALID_VALUE, o) || this;
3647
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), me.INVALID_VALUE, o) || this;
3648
3648
  }
3649
3649
  return t;
3650
3650
  }(Xe)
3651
- ), Ko = (
3651
+ ), ei = (
3652
3652
  /** @class */
3653
3653
  function(e) {
3654
3654
  ze(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, '"'), be.MISSING_VALUE, r) || this;
3656
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), me.MISSING_VALUE, r) || this;
3657
3657
  }
3658
3658
  return t;
3659
3659
  }(Xe)
@@ -3661,13 +3661,13 @@ var Xe = (
3661
3661
  (function(e) {
3662
3662
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3663
3663
  })(V || (V = {}));
3664
- function ei(e) {
3664
+ function ti(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 !== V.literal || n.type !== V.literal ? t.push(n) : r.value += n.value, t;
3668
3668
  }, []);
3669
3669
  }
3670
- function ti(e) {
3670
+ function ni(e) {
3671
3671
  return typeof e == "function";
3672
3672
  }
3673
3673
  function Fe(e, t, n, r, o, i, s) {
@@ -3687,7 +3687,7 @@ function Fe(e, t, n, r, o, i, s) {
3687
3687
  });
3688
3688
  continue;
3689
3689
  }
3690
- if (wo(c)) {
3690
+ if (xo(c)) {
3691
3691
  typeof i == "number" && a.push({
3692
3692
  type: V.literal,
3693
3693
  value: n.getNumberFormat(t).format(i)
@@ -3696,47 +3696,47 @@ function Fe(e, t, n, r, o, i, s) {
3696
3696
  }
3697
3697
  var h = c.value;
3698
3698
  if (!(o && h in o))
3699
- throw new Ko(h, s);
3699
+ throw new ei(h, s);
3700
3700
  var d = o[h];
3701
- if (Eo(c)) {
3701
+ if (wo(c)) {
3702
3702
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3703
3703
  type: typeof d == "string" ? V.literal : V.object,
3704
3704
  value: d
3705
3705
  });
3706
3706
  continue;
3707
3707
  }
3708
- if (In(c)) {
3709
- var p = typeof c.style == "string" ? r.date[c.style] : vt(c.style) ? c.style.parsedOptions : void 0;
3708
+ if (On(c)) {
3709
+ var m = typeof c.style == "string" ? r.date[c.style] : vt(c.style) ? c.style.parsedOptions : void 0;
3710
3710
  a.push({
3711
3711
  type: V.literal,
3712
- value: n.getDateTimeFormat(t, p).format(d)
3712
+ value: n.getDateTimeFormat(t, m).format(d)
3713
3713
  });
3714
3714
  continue;
3715
3715
  }
3716
- if (On(c)) {
3717
- var p = typeof c.style == "string" ? r.time[c.style] : vt(c.style) ? c.style.parsedOptions : r.time.medium;
3716
+ if (In(c)) {
3717
+ var m = typeof c.style == "string" ? r.time[c.style] : vt(c.style) ? c.style.parsedOptions : r.time.medium;
3718
3718
  a.push({
3719
3719
  type: V.literal,
3720
- value: n.getDateTimeFormat(t, p).format(d)
3720
+ value: n.getDateTimeFormat(t, m).format(d)
3721
3721
  });
3722
3722
  continue;
3723
3723
  }
3724
3724
  if (Hn(c)) {
3725
- var p = typeof c.style == "string" ? r.number[c.style] : Un(c.style) ? c.style.parsedOptions : void 0;
3726
- p && p.scale && (d = d * (p.scale || 1)), a.push({
3725
+ var m = typeof c.style == "string" ? r.number[c.style] : Un(c.style) ? c.style.parsedOptions : void 0;
3726
+ m && m.scale && (d = d * (m.scale || 1)), a.push({
3727
3727
  type: V.literal,
3728
- value: n.getNumberFormat(t, p).format(d)
3728
+ value: n.getNumberFormat(t, m).format(d)
3729
3729
  });
3730
3730
  continue;
3731
3731
  }
3732
3732
  if (Rn(c)) {
3733
- var y = c.children, v = c.value, m = o[v];
3734
- if (!ti(m))
3735
- throw new Qo(v, "function", s);
3736
- var B = Fe(y, t, n, r, o, i), g = m(B.map(function(U) {
3733
+ var y = c.children, v = c.value, x = o[v];
3734
+ if (!ni(x))
3735
+ throw new Ko(v, "function", s);
3736
+ var _ = Fe(y, t, n, r, o, i), b = x(_.map(function(U) {
3737
3737
  return U.value;
3738
3738
  }));
3739
- Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(U) {
3739
+ Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(U) {
3740
3740
  return {
3741
3741
  type: typeof U == "string" ? V.literal : V.object,
3742
3742
  value: U
@@ -3744,38 +3744,38 @@ function Fe(e, t, n, r, o, i, s) {
3744
3744
  }));
3745
3745
  }
3746
3746
  if (Nn(c)) {
3747
- var _ = c.options[d] || c.options.other;
3748
- if (!_)
3747
+ var g = c.options[d] || c.options.other;
3748
+ if (!g)
3749
3749
  throw new tn(c.value, d, Object.keys(c.options), s);
3750
- a.push.apply(a, Fe(_.value, t, n, r, o));
3750
+ a.push.apply(a, Fe(g.value, t, n, r, o));
3751
3751
  continue;
3752
3752
  }
3753
3753
  if (Ln(c)) {
3754
- var _ = c.options["=".concat(d)];
3755
- if (!_) {
3754
+ var g = c.options["=".concat(d)];
3755
+ if (!g) {
3756
3756
  if (!Intl.PluralRules)
3757
3757
  throw new Xe(`Intl.PluralRules is not available in this environment.
3758
3758
  Try polyfilling it using "@formatjs/intl-pluralrules"
3759
- `, be.MISSING_INTL_API, s);
3760
- var I = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3761
- _ = c.options[I] || c.options.other;
3759
+ `, me.MISSING_INTL_API, s);
3760
+ var E = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3761
+ g = c.options[E] || c.options.other;
3762
3762
  }
3763
- if (!_)
3763
+ if (!g)
3764
3764
  throw new tn(c.value, d, Object.keys(c.options), s);
3765
- a.push.apply(a, Fe(_.value, t, n, r, o, d - (c.offset || 0)));
3765
+ a.push.apply(a, Fe(g.value, t, n, r, o, d - (c.offset || 0)));
3766
3766
  continue;
3767
3767
  }
3768
3768
  }
3769
- return ei(a);
3769
+ return ti(a);
3770
3770
  }
3771
- function ni(e, t) {
3771
+ function ri(e, t) {
3772
3772
  return t ? te(te(te({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3773
3773
  return n[r] = te(te({}, e[r]), t[r] || {}), n;
3774
3774
  }, {})) : e;
3775
3775
  }
3776
- function ri(e, t) {
3776
+ function oi(e, t) {
3777
3777
  return t ? Object.keys(e).reduce(function(n, r) {
3778
- return n[r] = ni(e[r], t[r]), n;
3778
+ return n[r] = ri(e[r], t[r]), n;
3779
3779
  }, te({}, e)) : e;
3780
3780
  }
3781
3781
  function st(e) {
@@ -3792,7 +3792,7 @@ function st(e) {
3792
3792
  }
3793
3793
  };
3794
3794
  }
3795
- function oi(e) {
3795
+ function ii(e) {
3796
3796
  return e === void 0 && (e = {
3797
3797
  number: {},
3798
3798
  dateTime: {},
@@ -3824,7 +3824,7 @@ function oi(e) {
3824
3824
  })
3825
3825
  };
3826
3826
  }
3827
- var ii = (
3827
+ var si = (
3828
3828
  /** @class */
3829
3829
  function() {
3830
3830
  function e(t, n, r, o) {
@@ -3856,13 +3856,13 @@ var ii = (
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 = po(s, ["formatters"]);
3859
+ var a = mo(s, ["formatters"]);
3860
3860
  this.ast = e.__parse(t, te(te({}, 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 = ri(e.formats, r), this.formatters = o && o.formatters || oi(this.formatterCache);
3865
+ this.formats = oi(e.formats, r), this.formatters = o && o.formatters || ii(this.formatterCache);
3866
3866
  }
3867
3867
  return Object.defineProperty(e, "defaultLocale", {
3868
3868
  get: function() {
@@ -3936,7 +3936,7 @@ var ii = (
3936
3936
  }, e;
3937
3937
  }()
3938
3938
  );
3939
- function si(e, t) {
3939
+ function ai(e, t) {
3940
3940
  if (t == null)
3941
3941
  return;
3942
3942
  if (t in e)
@@ -3957,33 +3957,33 @@ function si(e, t) {
3957
3957
  r = void 0;
3958
3958
  return r;
3959
3959
  }
3960
- const oe = {}, ai = (e, t, n) => n && (t in oe || (oe[t] = {}), e in oe[t] || (oe[t][e] = n), n), Vn = (e, t) => {
3960
+ const oe = {}, ui = (e, t, n) => n && (t in oe || (oe[t] = {}), e in oe[t] || (oe[t][e] = n), n), Vn = (e, t) => {
3961
3961
  if (t == null)
3962
3962
  return;
3963
3963
  if (t in oe && e in oe[t])
3964
3964
  return oe[t][e];
3965
3965
  const n = qe(t);
3966
3966
  for (let r = 0; r < n.length; r++) {
3967
- const o = n[r], i = li(o, e);
3967
+ const o = n[r], i = ci(o, e);
3968
3968
  if (i)
3969
- return ai(e, t, i);
3969
+ return ui(e, t, i);
3970
3970
  }
3971
3971
  };
3972
3972
  let Tt;
3973
3973
  const Pe = Ve({});
3974
- function ui(e) {
3974
+ function li(e) {
3975
3975
  return Tt[e] || null;
3976
3976
  }
3977
3977
  function zn(e) {
3978
3978
  return e in Tt;
3979
3979
  }
3980
- function li(e, t) {
3980
+ function ci(e, t) {
3981
3981
  if (!zn(e))
3982
3982
  return null;
3983
- const n = ui(e);
3984
- return si(n, t);
3983
+ const n = li(e);
3984
+ return ai(n, t);
3985
3985
  }
3986
- function ci(e) {
3986
+ function fi(e) {
3987
3987
  if (e == null)
3988
3988
  return;
3989
3989
  const t = qe(e);
@@ -3994,21 +3994,21 @@ function ci(e) {
3994
3994
  }
3995
3995
  }
3996
3996
  function Xn(e, ...t) {
3997
- delete oe[e], Pe.update((n) => (n[e] = ho.all([n[e] || {}, ...t]), n));
3997
+ delete oe[e], Pe.update((n) => (n[e] = po.all([n[e] || {}, ...t]), n));
3998
3998
  }
3999
- ve(
3999
+ ge(
4000
4000
  [Pe],
4001
4001
  ([e]) => Object.keys(e)
4002
4002
  );
4003
4003
  Pe.subscribe((e) => Tt = e);
4004
4004
  const De = {};
4005
- function fi(e, t) {
4005
+ function hi(e, t) {
4006
4006
  De[e].delete(t), De[e].size === 0 && delete De[e];
4007
4007
  }
4008
4008
  function qn(e) {
4009
4009
  return De[e];
4010
4010
  }
4011
- function hi(e) {
4011
+ function di(e) {
4012
4012
  return qe(e).map((t) => {
4013
4013
  const n = qn(t);
4014
4014
  return [t, n ? [...n] : []];
@@ -4022,19 +4022,19 @@ function xt(e) {
4022
4022
  }
4023
4023
  );
4024
4024
  }
4025
- function di(e, t) {
4025
+ function pi(e, t) {
4026
4026
  return Promise.all(
4027
- t.map((r) => (fi(e, r), r().then((o) => o.default || o)))
4027
+ t.map((r) => (hi(e, r), r().then((o) => o.default || o)))
4028
4028
  ).then((r) => Xn(e, ...r));
4029
4029
  }
4030
4030
  const we = {};
4031
4031
  function Zn(e) {
4032
4032
  if (!xt(e))
4033
4033
  return e in we ? we[e] : Promise.resolve();
4034
- const t = hi(e);
4034
+ const t = di(e);
4035
4035
  return we[e] = Promise.all(
4036
4036
  t.map(
4037
- ([n, r]) => di(n, r)
4037
+ ([n, r]) => pi(n, r)
4038
4038
  )
4039
4039
  ).then(() => {
4040
4040
  if (xt(e))
@@ -4042,7 +4042,7 @@ function Zn(e) {
4042
4042
  delete we[e];
4043
4043
  }), we[e];
4044
4044
  }
4045
- const pi = {
4045
+ const mi = {
4046
4046
  number: {
4047
4047
  scientific: { notation: "scientific" },
4048
4048
  engineering: { notation: "engineering" },
@@ -4071,44 +4071,44 @@ const pi = {
4071
4071
  timeZoneName: "short"
4072
4072
  }
4073
4073
  }
4074
- }, mi = {
4074
+ }, bi = {
4075
4075
  fallbackLocale: null,
4076
4076
  loadingDelay: 200,
4077
- formats: pi,
4077
+ formats: mi,
4078
4078
  warnOnMissingMessages: !0,
4079
4079
  handleMissingMessage: void 0,
4080
4080
  ignoreTag: !0
4081
- }, bi = mi;
4082
- function ge() {
4083
- return bi;
4081
+ }, gi = bi;
4082
+ function be() {
4083
+ return gi;
4084
4084
  }
4085
4085
  const at = Ve(!1);
4086
- var gi = Object.defineProperty, vi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, nn = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, rn = (e, t, n) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ei = (e, t) => {
4086
+ var vi = Object.defineProperty, yi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, nn = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, rn = (e, t, n) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, wi = (e, t) => {
4087
4087
  for (var n in t || (t = {}))
4088
- _i.call(t, n) && rn(e, n, t[n]);
4088
+ Bi.call(t, n) && rn(e, n, t[n]);
4089
4089
  if (nn)
4090
4090
  for (var n of nn(t))
4091
- Bi.call(t, n) && rn(e, n, t[n]);
4091
+ Ei.call(t, n) && rn(e, n, t[n]);
4092
4092
  return e;
4093
- }, wi = (e, t) => vi(e, yi(t));
4094
- let Ct;
4093
+ }, xi = (e, t) => yi(e, _i(t));
4094
+ let St;
4095
4095
  const ke = Ve(null);
4096
4096
  function on(e) {
4097
4097
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4098
4098
  }
4099
- function qe(e, t = ge().fallbackLocale) {
4099
+ function qe(e, t = be().fallbackLocale) {
4100
4100
  const n = on(e);
4101
4101
  return t ? [.../* @__PURE__ */ new Set([...n, ...on(t)])] : n;
4102
4102
  }
4103
4103
  function se() {
4104
- return Ct ?? void 0;
4104
+ return St ?? void 0;
4105
4105
  }
4106
4106
  ke.subscribe((e) => {
4107
- Ct = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4107
+ St = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4108
4108
  });
4109
- const xi = (e) => {
4110
- if (e && ci(e) && xt(e)) {
4111
- const { loadingDelay: t } = ge();
4109
+ const Si = (e) => {
4110
+ if (e && fi(e) && xt(e)) {
4111
+ const { loadingDelay: t } = be();
4112
4112
  let n;
4113
4113
  return typeof window < "u" && se() != null && t ? n = window.setTimeout(
4114
4114
  () => at.set(!0),
@@ -4120,8 +4120,8 @@ const xi = (e) => {
4120
4120
  });
4121
4121
  }
4122
4122
  return ke.set(e);
4123
- }, ye = wi(Ei({}, ke), {
4124
- set: xi
4123
+ }, ve = xi(wi({}, ke), {
4124
+ set: Si
4125
4125
  }), Ze = (e) => {
4126
4126
  const t = /* @__PURE__ */ Object.create(null);
4127
4127
  return (r) => {
@@ -4129,77 +4129,77 @@ const xi = (e) => {
4129
4129
  return o in t ? t[o] : t[o] = e(r);
4130
4130
  };
4131
4131
  };
4132
- var Ci = Object.defineProperty, je = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, sn = (e, t, n) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pt = (e, t) => {
4132
+ var Ci = Object.defineProperty, We = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, sn = (e, t, n) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pt = (e, t) => {
4133
4133
  for (var n in t || (t = {}))
4134
4134
  Yn.call(t, n) && sn(e, n, t[n]);
4135
- if (je)
4136
- for (var n of je(t))
4137
- Jn.call(t, n) && sn(e, n, t[n]);
4135
+ if (We)
4136
+ for (var n of We(t))
4137
+ Qn.call(t, n) && sn(e, n, t[n]);
4138
4138
  return e;
4139
- }, _e = (e, t) => {
4139
+ }, ye = (e, t) => {
4140
4140
  var n = {};
4141
4141
  for (var r in e)
4142
4142
  Yn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4143
- if (e != null && je)
4144
- for (var r of je(e))
4145
- t.indexOf(r) < 0 && Jn.call(e, r) && (n[r] = e[r]);
4143
+ if (e != null && We)
4144
+ for (var r of We(e))
4145
+ t.indexOf(r) < 0 && Qn.call(e, r) && (n[r] = e[r]);
4146
4146
  return n;
4147
4147
  };
4148
4148
  const Ae = (e, t) => {
4149
- const { formats: n } = ge();
4149
+ const { formats: n } = be();
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
- }, Si = Ze(
4153
+ }, Ai = Ze(
4154
4154
  (e) => {
4155
- var t = e, { locale: n, format: r } = t, o = _e(t, ["locale", "format"]);
4155
+ var t = e, { locale: n, format: r } = t, o = ye(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 = Ae("number", r)), new Intl.NumberFormat(n, o);
4159
4159
  }
4160
- ), Ai = Ze(
4160
+ ), Ti = Ze(
4161
4161
  (e) => {
4162
- var t = e, { locale: n, format: r } = t, o = _e(t, ["locale", "format"]);
4162
+ var t = e, { locale: n, format: r } = t, o = ye(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 = Ae("date", r) : Object.keys(o).length === 0 && (o = Ae("date", "short")), new Intl.DateTimeFormat(n, o);
4166
4166
  }
4167
- ), Ti = Ze(
4167
+ ), Pi = Ze(
4168
4168
  (e) => {
4169
- var t = e, { locale: n, format: r } = t, o = _e(t, ["locale", "format"]);
4169
+ var t = e, { locale: n, format: r } = t, o = ye(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 = Ae("time", r) : Object.keys(o).length === 0 && (o = Ae("time", "short")), new Intl.DateTimeFormat(n, o);
4175
4175
  }
4176
- ), Pi = (e = {}) => {
4176
+ ), Mi = (e = {}) => {
4177
4177
  var t = e, {
4178
4178
  locale: n = se()
4179
- } = t, r = _e(t, [
4179
+ } = t, r = ye(t, [
4180
4180
  "locale"
4181
4181
  ]);
4182
- return Si(Pt({ locale: n }, r));
4183
- }, Mi = (e = {}) => {
4182
+ return Ai(Pt({ locale: n }, r));
4183
+ }, Hi = (e = {}) => {
4184
4184
  var t = e, {
4185
4185
  locale: n = se()
4186
- } = t, r = _e(t, [
4186
+ } = t, r = ye(t, [
4187
4187
  "locale"
4188
4188
  ]);
4189
- return Ai(Pt({ locale: n }, r));
4190
- }, Hi = (e = {}) => {
4189
+ return Ti(Pt({ locale: n }, r));
4190
+ }, Oi = (e = {}) => {
4191
4191
  var t = e, {
4192
4192
  locale: n = se()
4193
- } = t, r = _e(t, [
4193
+ } = t, r = ye(t, [
4194
4194
  "locale"
4195
4195
  ]);
4196
- return Ti(Pt({ locale: n }, r));
4196
+ return Pi(Pt({ locale: n }, r));
4197
4197
  }, Ii = Ze(
4198
4198
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4199
- (e, t = se()) => new ii(e, t, ge().formats, {
4200
- ignoreTag: ge().ignoreTag
4199
+ (e, t = se()) => new si(e, t, be().formats, {
4200
+ ignoreTag: be().ignoreTag
4201
4201
  })
4202
- ), Oi = (e, t = {}) => {
4202
+ ), Ni = (e, t = {}) => {
4203
4203
  var n, r, o, i;
4204
4204
  let s = t;
4205
4205
  typeof e == "object" && (s = e, e = s.id);
@@ -4214,7 +4214,7 @@ const Ae = (e, t) => {
4214
4214
  );
4215
4215
  let c = Vn(e, u);
4216
4216
  if (!c)
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;
4217
+ c = (i = (o = (r = (n = be()).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.`
@@ -4231,19 +4231,19 @@ const Ae = (e, t) => {
4231
4231
  );
4232
4232
  }
4233
4233
  return h;
4234
- }, Ni = (e, t) => Hi(t).format(e), Li = (e, t) => Mi(t).format(e), Ri = (e, t) => Pi(t).format(e), Ui = (e, t = se()) => Vn(e, t), Fi = ve([ye, Pe], () => Oi);
4235
- ve([ye], () => Ni);
4236
- ve([ye], () => Li);
4237
- ve([ye], () => Ri);
4238
- ve([ye, Pe], () => Ui);
4239
- window.emWidgets = { topic: Zr };
4240
- const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4234
+ }, Li = (e, t) => Oi(t).format(e), Ri = (e, t) => Hi(t).format(e), Ui = (e, t) => Mi(t).format(e), Fi = (e, t = se()) => Vn(e, t), Di = ge([ve, Pe], () => Ni);
4235
+ ge([ve], () => Li);
4236
+ ge([ve], () => Ri);
4237
+ ge([ve], () => Ui);
4238
+ ge([ve, Pe], () => Fi);
4239
+ window.emWidgets = { topic: Yr };
4240
+ const $i = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4241
4241
  String(Number.MAX_SAFE_INTEGER).length;
4242
4242
  function an(e, t) {
4243
4243
  Xn(e, t);
4244
4244
  }
4245
- function $i(e) {
4246
- ye.set(e);
4245
+ function Gi(e) {
4246
+ ve.set(e);
4247
4247
  }
4248
4248
  const un = {
4249
4249
  en: {
@@ -4378,14 +4378,14 @@ const un = {
4378
4378
  bonusClaimSuccessMessage: "Bonus claimed!",
4379
4379
  bonusClaimErrorMessage: "Invalid bonus"
4380
4380
  }
4381
- }, he = "__WIDGET_GLOBAL_STYLE_CACHE__";
4382
- function Gi(e, t) {
4381
+ }, fe = "__WIDGET_GLOBAL_STYLE_CACHE__";
4382
+ function ki(e, t) {
4383
4383
  if (e) {
4384
4384
  const n = document.createElement("style");
4385
4385
  n.innerHTML = t, e.appendChild(n);
4386
4386
  }
4387
4387
  }
4388
- function ki(e, t) {
4388
+ function Wi(e, t) {
4389
4389
  if (!e || !t)
4390
4390
  return;
4391
4391
  const n = new URL(t);
@@ -4400,28 +4400,28 @@ function ji(e, t, n, r = !1) {
4400
4400
  if (!window.emMessageBus)
4401
4401
  return;
4402
4402
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
4403
- return n = Wi(e, t), n;
4404
- window[he] || (window[he] = {}), n = Vi(e, t);
4403
+ return n = Vi(e, t), n;
4404
+ window[fe] || (window[fe] = {}), n = zi(e, t);
4405
4405
  const i = n.unsubscribe.bind(n), s = () => {
4406
- if (window[he][t]) {
4407
- const a = window[he][t];
4408
- a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[he][t];
4406
+ if (window[fe][t]) {
4407
+ const a = window[fe][t];
4408
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[fe][t];
4409
4409
  }
4410
4410
  i();
4411
4411
  };
4412
4412
  return n.unsubscribe = s, n;
4413
4413
  }
4414
- function Wi(e, t) {
4414
+ function Vi(e, t) {
4415
4415
  const n = document.createElement("style");
4416
4416
  return window.emMessageBus.subscribe(t, (r) => {
4417
4417
  e && (n.innerHTML = r, e.appendChild(n));
4418
4418
  });
4419
4419
  }
4420
- function Vi(e, t) {
4420
+ function zi(e, t) {
4421
4421
  return window.emMessageBus.subscribe(t, (n) => {
4422
4422
  if (!e)
4423
4423
  return;
4424
- const r = e.getRootNode(), o = window[he];
4424
+ const r = e.getRootNode(), o = window[fe];
4425
4425
  let i = o[t] && o[t].sheet;
4426
4426
  i ? o[t].refCount = o[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(n), o[t] = {
4427
4427
  sheet: i,
@@ -4439,6 +4439,8 @@ const Mt = {
4439
4439
  TYPES: "standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",
4440
4440
  STATUS_ACTIVE: "active",
4441
4441
  STATUS_COMPLETED: "completed,released,forfeited,expired,closed"
4442
+ }, Xi = {
4443
+ ODDS_BOOST: "oddsBoost"
4442
4444
  };
4443
4445
  async function Ht(e, t = {}) {
4444
4446
  const n = typeof e == "string" ? e : e.toString(), r = await fetch(n, t);
@@ -4457,7 +4459,7 @@ async function Ht(e, t = {}) {
4457
4459
  };
4458
4460
  return { ...i, ...s };
4459
4461
  }
4460
- async function zi(e, t, n) {
4462
+ async function qi(e, t, n) {
4461
4463
  const r = `${e}${Mt.CLAIM}`;
4462
4464
  return Ht(r, {
4463
4465
  method: "PUT",
@@ -4469,7 +4471,7 @@ async function zi(e, t, n) {
4469
4471
  body: JSON.stringify(n)
4470
4472
  });
4471
4473
  }
4472
- async function Xi(e, t, n) {
4474
+ async function Zi(e, t, n) {
4473
4475
  const r = new URL(`${e}${Mt.FORFEIT}`);
4474
4476
  return r.searchParams.append("bonusWalletID", n.bonusWalletID), Ht(r, {
4475
4477
  method: "DELETE",
@@ -4479,7 +4481,7 @@ async function Xi(e, t, n) {
4479
4481
  }
4480
4482
  });
4481
4483
  }
4482
- async function qi(e, t, n) {
4484
+ async function Yi(e, t, n) {
4483
4485
  const r = new URL(`${e}${Mt.GRANTED}`);
4484
4486
  Object.entries(n).forEach(([i, s]) => {
4485
4487
  s != null && r.searchParams.append(i, String(s));
@@ -4501,48 +4503,48 @@ if (typeof window < "u") {
4501
4503
  }
4502
4504
  };
4503
4505
  };
4504
- customElements.define = e(customElements.define), import("./PlayerBonusCard-BkOlwjWw.js").then(({ default: t }) => {
4506
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-DwRGT3uf.js").then(({ default: t }) => {
4505
4507
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4506
4508
  });
4507
4509
  }
4508
- function Zi(e) {
4509
- br(e, "svelte-2jgm79", '.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,.BonusesPaginationWrapper .BonusesPage{all:unset;box-sizing:border-box;cursor:pointer}.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;cursor:default}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4510
+ function Qi(e) {
4511
+ gr(e, "svelte-2jgm79", '.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,.BonusesPaginationWrapper .BonusesPage{all:unset;box-sizing:border-box;cursor:pointer}.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;cursor:default}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4510
4512
  }
4511
4513
  function cn(e, t, n) {
4512
4514
  const r = e.slice();
4513
- return r[56] = t[n], r[58] = n, r;
4515
+ return r[57] = t[n], r[59] = n, r;
4514
4516
  }
4515
4517
  function fn(e, t, n) {
4516
4518
  const r = e.slice();
4517
- return r[59] = t[n], r;
4519
+ return r[60] = t[n], r;
4518
4520
  }
4519
- function Yi(e) {
4521
+ function Ji(e) {
4520
4522
  let t, n, r, o, i, s, a, u, l, c, h = (
4521
4523
  /*$_*/
4522
4524
  e[21]("titleBonuses") + ""
4523
- ), d, p, y;
4525
+ ), d, m, y;
4524
4526
  return {
4525
4527
  c() {
4526
- t = A("div"), n = ue("svg"), r = ue("defs"), o = ue("style"), i = $(`.aaa {
4528
+ t = T("div"), n = ae("svg"), r = ae("defs"), o = ae("style"), i = $(`.aaa {
4527
4529
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
4528
4530
  }
4529
- `), s = ue("g"), a = ue("g"), u = ue("path"), l = z(), c = A("h2"), d = $(h), x(u, "class", "aaa"), x(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(u, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "15"), x(n, "height", "15"), x(n, "viewBox", "0 0 15 15"), x(c, "class", "ActiveBonusesTitleMobile"), x(t, "class", "MenuReturnButton");
4531
+ `), s = ae("g"), a = ae("g"), u = ae("path"), l = z(), c = T("h2"), d = $(h), S(u, "class", "aaa"), S(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), S(u, "transform", "translate(15 15) rotate(180)"), S(a, "transform", "translate(20 158)"), S(s, "transform", "translate(-20 -158)"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "width", "15"), S(n, "height", "15"), S(n, "viewBox", "0 0 15 15"), S(c, "class", "ActiveBonusesTitleMobile"), S(t, "class", "MenuReturnButton");
4530
4532
  },
4531
- m(v, m) {
4532
- W(v, t, m), E(t, n), E(n, r), E(r, o), E(o, i), E(n, s), E(s, a), E(a, u), E(t, l), E(t, c), E(c, d), p || (y = Q(
4533
+ m(v, x) {
4534
+ j(v, t, x), B(t, n), B(n, r), B(r, o), B(o, i), B(n, s), B(s, a), B(a, u), B(t, l), B(t, c), B(c, d), m || (y = J(
4533
4535
  t,
4534
4536
  "click",
4535
4537
  /*click_handler*/
4536
4538
  e[36]
4537
- ), p = !0);
4539
+ ), m = !0);
4538
4540
  },
4539
- p(v, m) {
4540
- m[0] & /*$_*/
4541
+ p(v, x) {
4542
+ x[0] & /*$_*/
4541
4543
  2097152 && h !== (h = /*$_*/
4542
4544
  v[21]("titleBonuses") + "") && ne(d, h);
4543
4545
  },
4544
4546
  d(v) {
4545
- v && G(t), p = !1, y();
4547
+ v && G(t), m = !1, y();
4546
4548
  }
4547
4549
  };
4548
4550
  }
@@ -4553,10 +4555,10 @@ function hn(e) {
4553
4555
  ), r;
4554
4556
  return {
4555
4557
  c() {
4556
- t = A("p"), r = $(n), x(t, "class", "InvalidBonusCodeMessage");
4558
+ t = T("p"), r = $(n), S(t, "class", "InvalidBonusCodeMessage");
4557
4559
  },
4558
4560
  m(o, i) {
4559
- W(o, t, i), E(t, r);
4561
+ j(o, t, i), B(t, r);
4560
4562
  },
4561
4563
  p(o, i) {
4562
4564
  i[0] & /*$_*/
@@ -4568,12 +4570,12 @@ function hn(e) {
4568
4570
  }
4569
4571
  };
4570
4572
  }
4571
- function Ji(e) {
4573
+ function Ki(e) {
4572
4574
  let t, n, r;
4573
4575
  function o(u, l) {
4574
4576
  return (
4575
4577
  /*activeBonusesList*/
4576
- u[19].length === 0 ? es : Ki
4578
+ u[19].length === 0 ? ns : ts
4577
4579
  );
4578
4580
  }
4579
4581
  let i = o(e), s = i(e), a = (
@@ -4582,11 +4584,11 @@ function Ji(e) {
4582
4584
  );
4583
4585
  return {
4584
4586
  c() {
4585
- t = A("div"), s.c(), n = z(), a && a.c(), r = At(), x(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4587
+ t = T("div"), s.c(), n = z(), a && a.c(), r = At(), S(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4586
4588
  (e[22] ? "ActiveBonusesGridMobile" : ""));
4587
4589
  },
4588
4590
  m(u, l) {
4589
- W(u, t, l), s.m(t, null), W(u, n, l), a && a.m(u, l), W(u, r, l);
4591
+ j(u, t, l), s.m(t, null), j(u, n, l), a && a.m(u, l), j(u, r, l);
4590
4592
  },
4591
4593
  p(u, l) {
4592
4594
  i === (i = o(u)) && s ? s.p(u, l) : (s.d(1), s = i(u), s && (s.c(), s.m(t, null))), /*activeBonusesList*/
@@ -4597,22 +4599,22 @@ function Ji(e) {
4597
4599
  }
4598
4600
  };
4599
4601
  }
4600
- function Qi(e) {
4602
+ function es(e) {
4601
4603
  let t;
4602
4604
  return {
4603
4605
  c() {
4604
- t = A("div"), x(t, "class", "ModalLoader"), x(t, "part", "ModalLoader");
4606
+ t = T("div"), S(t, "class", "ModalLoader"), S(t, "part", "ModalLoader");
4605
4607
  },
4606
4608
  m(n, r) {
4607
- W(n, t, r);
4609
+ j(n, t, r);
4608
4610
  },
4609
- p: Y,
4611
+ p: Q,
4610
4612
  d(n) {
4611
4613
  n && G(t);
4612
4614
  }
4613
4615
  };
4614
4616
  }
4615
- function Ki(e) {
4617
+ function ts(e) {
4616
4618
  let t, n = $e(
4617
4619
  /*activeBonusesList*/
4618
4620
  e[19]
@@ -4628,7 +4630,7 @@ function Ki(e) {
4628
4630
  m(o, i) {
4629
4631
  for (let s = 0; s < r.length; s += 1)
4630
4632
  r[s] && r[s].m(o, i);
4631
- W(o, t, i);
4633
+ j(o, t, i);
4632
4634
  },
4633
4635
  p(o, i) {
4634
4636
  if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus, filterbonusbalance*/
@@ -4652,17 +4654,17 @@ function Ki(e) {
4652
4654
  }
4653
4655
  };
4654
4656
  }
4655
- function es(e) {
4657
+ function ns(e) {
4656
4658
  let t, n = (
4657
4659
  /*$_*/
4658
4660
  e[21]("noActiveBonuses") + ""
4659
4661
  ), r;
4660
4662
  return {
4661
4663
  c() {
4662
- t = A("p"), r = $(n);
4664
+ t = T("p"), r = $(n);
4663
4665
  },
4664
4666
  m(o, i) {
4665
- W(o, t, i), E(t, r);
4667
+ j(o, t, i), B(t, r);
4666
4668
  },
4667
4669
  p(o, i) {
4668
4670
  i[0] & /*$_*/
@@ -4674,28 +4676,29 @@ function es(e) {
4674
4676
  }
4675
4677
  };
4676
4678
  }
4677
- function ts(e) {
4678
- let t, n, r, o, i, s, a, u, l, c, h, d, p, y, v, m, B;
4679
+ function rs(e) {
4680
+ let t, n, r, o, i, s, a, u, l, c, h, d, m, y, v, x, _, b;
4679
4681
  return {
4680
4682
  c() {
4681
- t = A("player-bonus-card"), f(t, "termsandconditionsdescription", n = /*activeBonus*/
4682
- e[59].termsandconditionsdescription), f(t, "termsandconditionsurl", r = /*activeBonus*/
4683
- e[59].termsandconditionsurl), f(t, "termsandconditionsasset", o = /*activeBonus*/
4684
- e[59].termsandconditionsasset), f(t, "endpoint", i = /*activeBonus*/
4685
- e[59].endpoint), f(t, "playerid", s = /*activeBonus*/
4686
- e[59].playerid), f(t, "session", a = /*activeBonus*/
4687
- e[59].session), f(t, "bonuswalletid", u = /*activeBonus*/
4688
- e[59].walletId), f(t, "bonusdate", l = /*activeBonus*/
4689
- e[59].granted), f(t, "bonusexpirationdate", c = /*activeBonus*/
4690
- e[59].expiryTime), f(t, "bonusstatus", h = /*activeBonus*/
4691
- e[59].status), f(t, "bonusname", d = /*activeBonus*/
4692
- e[59].name), f(t, "bonustype", p = /*activeBonus*/
4693
- e[59].type), f(t, "bonusamount", y = /*activeBonus*/
4694
- e[59].extension.grantedPlayerCurrencyAmount), f(t, "bonuswageringamount", v = `${/*activeBonus*/
4695
- e[59].fulfilledWR} / ${/*activeBonus*/
4696
- e[59].originalWageringRequirement}`), f(t, "bonusremainingamount", m = /*activeBonus*/
4697
- e[59].currentAmount), f(t, "bonuscurrency", B = /*activeBonus*/
4698
- e[59].currency), f(
4683
+ t = T("player-bonus-card"), f(t, "termsandconditionsdescription", n = /*activeBonus*/
4684
+ e[60].termsandconditionsdescription), f(t, "termsandconditionsurl", r = /*activeBonus*/
4685
+ e[60].termsandconditionsurl), f(t, "termsandconditionsasset", o = /*activeBonus*/
4686
+ e[60].termsandconditionsasset), f(t, "endpoint", i = /*activeBonus*/
4687
+ e[60].endpoint), f(t, "playerid", s = /*activeBonus*/
4688
+ e[60].playerid), f(t, "session", a = /*activeBonus*/
4689
+ e[60].session), f(t, "bonuswalletid", u = /*activeBonus*/
4690
+ e[60].walletId), f(t, "bonusdate", l = /*activeBonus*/
4691
+ e[60].granted), f(t, "bonusexpirationdate", c = /*activeBonus*/
4692
+ e[60].expiryTime), f(t, "bonusstatus", h = /*activeBonus*/
4693
+ e[60].status), f(t, "bonusname", d = /*activeBonus*/
4694
+ e[60].name), f(t, "bonustype", m = /*activeBonus*/
4695
+ e[60].type), f(t, "bonusamount", y = /*activeBonus*/
4696
+ e[60].extension.grantedPlayerCurrencyAmount), f(t, "bonuswageringamount", v = `${/*activeBonus*/
4697
+ e[60].fulfilledWR} / ${/*activeBonus*/
4698
+ e[60].originalWageringRequirement}`), f(t, "bonusremainingamount", x = /*activeBonus*/
4699
+ e[60].currentAmount), f(t, "bonuscurrency", _ = /*activeBonus*/
4700
+ e[60].currency), f(t, "isWinBonus", b = /*activeBonus*/
4701
+ e[60].isWinBonus), f(
4699
4702
  t,
4700
4703
  "lang",
4701
4704
  /*lang*/
@@ -4742,92 +4745,94 @@ function ts(e) {
4742
4745
  e[8]
4743
4746
  );
4744
4747
  },
4745
- m(g, _) {
4746
- W(g, t, _);
4748
+ m(g, E) {
4749
+ j(g, t, E);
4747
4750
  },
4748
- p(g, _) {
4749
- _[0] & /*activeBonusesList*/
4751
+ p(g, E) {
4752
+ E[0] & /*activeBonusesList*/
4750
4753
  524288 && n !== (n = /*activeBonus*/
4751
- g[59].termsandconditionsdescription) && f(t, "termsandconditionsdescription", n), _[0] & /*activeBonusesList*/
4754
+ g[60].termsandconditionsdescription) && f(t, "termsandconditionsdescription", n), E[0] & /*activeBonusesList*/
4752
4755
  524288 && r !== (r = /*activeBonus*/
4753
- g[59].termsandconditionsurl) && f(t, "termsandconditionsurl", r), _[0] & /*activeBonusesList*/
4756
+ g[60].termsandconditionsurl) && f(t, "termsandconditionsurl", r), E[0] & /*activeBonusesList*/
4754
4757
  524288 && o !== (o = /*activeBonus*/
4755
- g[59].termsandconditionsasset) && f(t, "termsandconditionsasset", o), _[0] & /*activeBonusesList*/
4758
+ g[60].termsandconditionsasset) && f(t, "termsandconditionsasset", o), E[0] & /*activeBonusesList*/
4756
4759
  524288 && i !== (i = /*activeBonus*/
4757
- g[59].endpoint) && f(t, "endpoint", i), _[0] & /*activeBonusesList*/
4760
+ g[60].endpoint) && f(t, "endpoint", i), E[0] & /*activeBonusesList*/
4758
4761
  524288 && s !== (s = /*activeBonus*/
4759
- g[59].playerid) && f(t, "playerid", s), _[0] & /*activeBonusesList*/
4762
+ g[60].playerid) && f(t, "playerid", s), E[0] & /*activeBonusesList*/
4760
4763
  524288 && a !== (a = /*activeBonus*/
4761
- g[59].session) && f(t, "session", a), _[0] & /*activeBonusesList*/
4764
+ g[60].session) && f(t, "session", a), E[0] & /*activeBonusesList*/
4762
4765
  524288 && u !== (u = /*activeBonus*/
4763
- g[59].walletId) && f(t, "bonuswalletid", u), _[0] & /*activeBonusesList*/
4766
+ g[60].walletId) && f(t, "bonuswalletid", u), E[0] & /*activeBonusesList*/
4764
4767
  524288 && l !== (l = /*activeBonus*/
4765
- g[59].granted) && f(t, "bonusdate", l), _[0] & /*activeBonusesList*/
4768
+ g[60].granted) && f(t, "bonusdate", l), E[0] & /*activeBonusesList*/
4766
4769
  524288 && c !== (c = /*activeBonus*/
4767
- g[59].expiryTime) && f(t, "bonusexpirationdate", c), _[0] & /*activeBonusesList*/
4770
+ g[60].expiryTime) && f(t, "bonusexpirationdate", c), E[0] & /*activeBonusesList*/
4768
4771
  524288 && h !== (h = /*activeBonus*/
4769
- g[59].status) && f(t, "bonusstatus", h), _[0] & /*activeBonusesList*/
4772
+ g[60].status) && f(t, "bonusstatus", h), E[0] & /*activeBonusesList*/
4770
4773
  524288 && d !== (d = /*activeBonus*/
4771
- g[59].name) && f(t, "bonusname", d), _[0] & /*activeBonusesList*/
4772
- 524288 && p !== (p = /*activeBonus*/
4773
- g[59].type) && f(t, "bonustype", p), _[0] & /*activeBonusesList*/
4774
+ g[60].name) && f(t, "bonusname", d), E[0] & /*activeBonusesList*/
4775
+ 524288 && m !== (m = /*activeBonus*/
4776
+ g[60].type) && f(t, "bonustype", m), E[0] & /*activeBonusesList*/
4774
4777
  524288 && y !== (y = /*activeBonus*/
4775
- g[59].extension.grantedPlayerCurrencyAmount) && f(t, "bonusamount", y), _[0] & /*activeBonusesList*/
4778
+ g[60].extension.grantedPlayerCurrencyAmount) && f(t, "bonusamount", y), E[0] & /*activeBonusesList*/
4776
4779
  524288 && v !== (v = `${/*activeBonus*/
4777
- g[59].fulfilledWR} / ${/*activeBonus*/
4778
- g[59].originalWageringRequirement}`) && f(t, "bonuswageringamount", v), _[0] & /*activeBonusesList*/
4779
- 524288 && m !== (m = /*activeBonus*/
4780
- g[59].currentAmount) && f(t, "bonusremainingamount", m), _[0] & /*activeBonusesList*/
4781
- 524288 && B !== (B = /*activeBonus*/
4782
- g[59].currency) && f(t, "bonuscurrency", B), _[0] & /*lang*/
4780
+ g[60].fulfilledWR} / ${/*activeBonus*/
4781
+ g[60].originalWageringRequirement}`) && f(t, "bonuswageringamount", v), E[0] & /*activeBonusesList*/
4782
+ 524288 && x !== (x = /*activeBonus*/
4783
+ g[60].currentAmount) && f(t, "bonusremainingamount", x), E[0] & /*activeBonusesList*/
4784
+ 524288 && _ !== (_ = /*activeBonus*/
4785
+ g[60].currency) && f(t, "bonuscurrency", _), E[0] & /*activeBonusesList*/
4786
+ 524288 && b !== (b = /*activeBonus*/
4787
+ g[60].isWinBonus) && f(t, "isWinBonus", b), E[0] & /*lang*/
4783
4788
  1 && f(
4784
4789
  t,
4785
4790
  "lang",
4786
4791
  /*lang*/
4787
4792
  g[0]
4788
- ), _[0] & /*dateformat*/
4793
+ ), E[0] & /*dateformat*/
4789
4794
  64 && f(
4790
4795
  t,
4791
4796
  "dateformat",
4792
4797
  /*dateformat*/
4793
4798
  g[6]
4794
- ), _[0] & /*clientstyling*/
4799
+ ), E[0] & /*clientstyling*/
4795
4800
  2 && f(
4796
4801
  t,
4797
4802
  "clientstyling",
4798
4803
  /*clientstyling*/
4799
4804
  g[1]
4800
- ), _[0] & /*clientstylingurl*/
4805
+ ), E[0] & /*clientstylingurl*/
4801
4806
  4 && f(
4802
4807
  t,
4803
4808
  "clientstylingurl",
4804
4809
  /*clientstylingurl*/
4805
4810
  g[2]
4806
- ), _[0] & /*mbsource*/
4811
+ ), E[0] & /*mbsource*/
4807
4812
  8 && f(
4808
4813
  t,
4809
4814
  "mbsource",
4810
4815
  /*mbsource*/
4811
4816
  g[3]
4812
- ), _[0] & /*translationurl*/
4817
+ ), E[0] & /*translationurl*/
4813
4818
  16 && f(
4814
4819
  t,
4815
4820
  "translationurl",
4816
4821
  /*translationurl*/
4817
4822
  g[4]
4818
- ), _[0] & /*currencylocale*/
4823
+ ), E[0] & /*currencylocale*/
4819
4824
  32 && f(
4820
4825
  t,
4821
4826
  "currencylocale",
4822
4827
  /*currencylocale*/
4823
4828
  g[5]
4824
- ), _[0] & /*ishiddenwageringbonus*/
4829
+ ), E[0] & /*ishiddenwageringbonus*/
4825
4830
  128 && f(
4826
4831
  t,
4827
4832
  "ishiddenwageringbonus",
4828
4833
  /*ishiddenwageringbonus*/
4829
4834
  g[7]
4830
- ), _[0] & /*filterbonusbalance*/
4835
+ ), E[0] & /*filterbonusbalance*/
4831
4836
  256 && f(
4832
4837
  t,
4833
4838
  "filterbonusbalance",
@@ -4840,25 +4845,26 @@ function ts(e) {
4840
4845
  }
4841
4846
  };
4842
4847
  }
4843
- function ns(e) {
4844
- let t, n, r, o, i, s, a, u, l, c, h, d, p, y, v;
4848
+ function os(e) {
4849
+ let t, n, r, o, i, s, a, u, l, c, h, d, m, y, v, x;
4845
4850
  return {
4846
4851
  c() {
4847
- t = A("player-bonus-card"), f(t, "termsandconditionsdescription", n = /*activeBonus*/
4848
- e[59].termsandconditionsdescription), f(t, "termsandconditionsurl", r = /*activeBonus*/
4849
- e[59].termsandconditionsurl), f(t, "termsandconditionsasset", o = /*activeBonus*/
4850
- e[59].termsandconditionsasset), f(t, "endpoint", i = /*activeBonus*/
4851
- e[59].endpoint), f(t, "playerid", s = /*activeBonus*/
4852
- e[59].playerid), f(t, "session", a = /*activeBonus*/
4853
- e[59].session), f(t, "bonuswalletid", u = /*activeBonus*/
4854
- e[59].walletId), f(t, "bonusdate", l = /*activeBonus*/
4855
- e[59].granted), f(t, "bonusexpirationdate", c = /*activeBonus*/
4856
- e[59].expiryTime), f(t, "bonusstatus", h = /*activeBonus*/
4857
- e[59].status), f(t, "bonusname", d = /*activeBonus*/
4858
- e[59].name), f(t, "bonustype", p = /*activeBonus*/
4859
- e[59].type), f(t, "bonuscurrency", y = /*activeBonus*/
4860
- e[59].currency), f(t, "bonusfreespins", v = /*activeBonus*/
4861
- e[59].freeRoundNumber), f(
4852
+ t = T("player-bonus-card"), f(t, "termsandconditionsdescription", n = /*activeBonus*/
4853
+ e[60].termsandconditionsdescription), f(t, "termsandconditionsurl", r = /*activeBonus*/
4854
+ e[60].termsandconditionsurl), f(t, "termsandconditionsasset", o = /*activeBonus*/
4855
+ e[60].termsandconditionsasset), f(t, "endpoint", i = /*activeBonus*/
4856
+ e[60].endpoint), f(t, "playerid", s = /*activeBonus*/
4857
+ e[60].playerid), f(t, "session", a = /*activeBonus*/
4858
+ e[60].session), f(t, "bonuswalletid", u = /*activeBonus*/
4859
+ e[60].walletId), f(t, "bonusdate", l = /*activeBonus*/
4860
+ e[60].granted), f(t, "bonusexpirationdate", c = /*activeBonus*/
4861
+ e[60].expiryTime), f(t, "bonusstatus", h = /*activeBonus*/
4862
+ e[60].status), f(t, "bonusname", d = /*activeBonus*/
4863
+ e[60].name), f(t, "bonustype", m = /*activeBonus*/
4864
+ e[60].type), f(t, "bonuscurrency", y = /*activeBonus*/
4865
+ e[60].currency), f(t, "bonusfreespins", v = /*activeBonus*/
4866
+ e[60].freeRoundNumber), f(t, "isWinBonus", x = /*activeBonus*/
4867
+ e[60].isWinBonus), f(
4862
4868
  t,
4863
4869
  "lang",
4864
4870
  /*lang*/
@@ -4905,96 +4911,98 @@ function ns(e) {
4905
4911
  e[8]
4906
4912
  );
4907
4913
  },
4908
- m(m, B) {
4909
- W(m, t, B);
4914
+ m(_, b) {
4915
+ j(_, t, b);
4910
4916
  },
4911
- p(m, B) {
4912
- B[0] & /*activeBonusesList*/
4917
+ p(_, b) {
4918
+ b[0] & /*activeBonusesList*/
4913
4919
  524288 && n !== (n = /*activeBonus*/
4914
- m[59].termsandconditionsdescription) && f(t, "termsandconditionsdescription", n), B[0] & /*activeBonusesList*/
4920
+ _[60].termsandconditionsdescription) && f(t, "termsandconditionsdescription", n), b[0] & /*activeBonusesList*/
4915
4921
  524288 && r !== (r = /*activeBonus*/
4916
- m[59].termsandconditionsurl) && f(t, "termsandconditionsurl", r), B[0] & /*activeBonusesList*/
4922
+ _[60].termsandconditionsurl) && f(t, "termsandconditionsurl", r), b[0] & /*activeBonusesList*/
4917
4923
  524288 && o !== (o = /*activeBonus*/
4918
- m[59].termsandconditionsasset) && f(t, "termsandconditionsasset", o), B[0] & /*activeBonusesList*/
4924
+ _[60].termsandconditionsasset) && f(t, "termsandconditionsasset", o), b[0] & /*activeBonusesList*/
4919
4925
  524288 && i !== (i = /*activeBonus*/
4920
- m[59].endpoint) && f(t, "endpoint", i), B[0] & /*activeBonusesList*/
4926
+ _[60].endpoint) && f(t, "endpoint", i), b[0] & /*activeBonusesList*/
4921
4927
  524288 && s !== (s = /*activeBonus*/
4922
- m[59].playerid) && f(t, "playerid", s), B[0] & /*activeBonusesList*/
4928
+ _[60].playerid) && f(t, "playerid", s), b[0] & /*activeBonusesList*/
4923
4929
  524288 && a !== (a = /*activeBonus*/
4924
- m[59].session) && f(t, "session", a), B[0] & /*activeBonusesList*/
4930
+ _[60].session) && f(t, "session", a), b[0] & /*activeBonusesList*/
4925
4931
  524288 && u !== (u = /*activeBonus*/
4926
- m[59].walletId) && f(t, "bonuswalletid", u), B[0] & /*activeBonusesList*/
4932
+ _[60].walletId) && f(t, "bonuswalletid", u), b[0] & /*activeBonusesList*/
4927
4933
  524288 && l !== (l = /*activeBonus*/
4928
- m[59].granted) && f(t, "bonusdate", l), B[0] & /*activeBonusesList*/
4934
+ _[60].granted) && f(t, "bonusdate", l), b[0] & /*activeBonusesList*/
4929
4935
  524288 && c !== (c = /*activeBonus*/
4930
- m[59].expiryTime) && f(t, "bonusexpirationdate", c), B[0] & /*activeBonusesList*/
4936
+ _[60].expiryTime) && f(t, "bonusexpirationdate", c), b[0] & /*activeBonusesList*/
4931
4937
  524288 && h !== (h = /*activeBonus*/
4932
- m[59].status) && f(t, "bonusstatus", h), B[0] & /*activeBonusesList*/
4938
+ _[60].status) && f(t, "bonusstatus", h), b[0] & /*activeBonusesList*/
4933
4939
  524288 && d !== (d = /*activeBonus*/
4934
- m[59].name) && f(t, "bonusname", d), B[0] & /*activeBonusesList*/
4935
- 524288 && p !== (p = /*activeBonus*/
4936
- m[59].type) && f(t, "bonustype", p), B[0] & /*activeBonusesList*/
4940
+ _[60].name) && f(t, "bonusname", d), b[0] & /*activeBonusesList*/
4941
+ 524288 && m !== (m = /*activeBonus*/
4942
+ _[60].type) && f(t, "bonustype", m), b[0] & /*activeBonusesList*/
4937
4943
  524288 && y !== (y = /*activeBonus*/
4938
- m[59].currency) && f(t, "bonuscurrency", y), B[0] & /*activeBonusesList*/
4944
+ _[60].currency) && f(t, "bonuscurrency", y), b[0] & /*activeBonusesList*/
4939
4945
  524288 && v !== (v = /*activeBonus*/
4940
- m[59].freeRoundNumber) && f(t, "bonusfreespins", v), B[0] & /*lang*/
4946
+ _[60].freeRoundNumber) && f(t, "bonusfreespins", v), b[0] & /*activeBonusesList*/
4947
+ 524288 && x !== (x = /*activeBonus*/
4948
+ _[60].isWinBonus) && f(t, "isWinBonus", x), b[0] & /*lang*/
4941
4949
  1 && f(
4942
4950
  t,
4943
4951
  "lang",
4944
4952
  /*lang*/
4945
- m[0]
4946
- ), B[0] & /*dateformat*/
4953
+ _[0]
4954
+ ), b[0] & /*dateformat*/
4947
4955
  64 && f(
4948
4956
  t,
4949
4957
  "dateformat",
4950
4958
  /*dateformat*/
4951
- m[6]
4952
- ), B[0] & /*clientstyling*/
4959
+ _[6]
4960
+ ), b[0] & /*clientstyling*/
4953
4961
  2 && f(
4954
4962
  t,
4955
4963
  "clientstyling",
4956
4964
  /*clientstyling*/
4957
- m[1]
4958
- ), B[0] & /*clientstylingurl*/
4965
+ _[1]
4966
+ ), b[0] & /*clientstylingurl*/
4959
4967
  4 && f(
4960
4968
  t,
4961
4969
  "clientstylingurl",
4962
4970
  /*clientstylingurl*/
4963
- m[2]
4964
- ), B[0] & /*mbsource*/
4971
+ _[2]
4972
+ ), b[0] & /*mbsource*/
4965
4973
  8 && f(
4966
4974
  t,
4967
4975
  "mbsource",
4968
4976
  /*mbsource*/
4969
- m[3]
4970
- ), B[0] & /*translationurl*/
4977
+ _[3]
4978
+ ), b[0] & /*translationurl*/
4971
4979
  16 && f(
4972
4980
  t,
4973
4981
  "translationurl",
4974
4982
  /*translationurl*/
4975
- m[4]
4976
- ), B[0] & /*currencylocale*/
4983
+ _[4]
4984
+ ), b[0] & /*currencylocale*/
4977
4985
  32 && f(
4978
4986
  t,
4979
4987
  "currencylocale",
4980
4988
  /*currencylocale*/
4981
- m[5]
4982
- ), B[0] & /*ishiddenwageringbonus*/
4989
+ _[5]
4990
+ ), b[0] & /*ishiddenwageringbonus*/
4983
4991
  128 && f(
4984
4992
  t,
4985
4993
  "ishiddenwageringbonus",
4986
4994
  /*ishiddenwageringbonus*/
4987
- m[7]
4988
- ), B[0] & /*filterbonusbalance*/
4995
+ _[7]
4996
+ ), b[0] & /*filterbonusbalance*/
4989
4997
  256 && f(
4990
4998
  t,
4991
4999
  "filterbonusbalance",
4992
5000
  /*filterbonusbalance*/
4993
- m[8]
5001
+ _[8]
4994
5002
  );
4995
5003
  },
4996
- d(m) {
4997
- m && G(t);
5004
+ d(_) {
5005
+ _ && G(t);
4998
5006
  }
4999
5007
  };
5000
5008
  }
@@ -5003,7 +5011,7 @@ function dn(e) {
5003
5011
  function n(i, s) {
5004
5012
  return (
5005
5013
  /*activeBonus*/
5006
- i[59].type === "freeRound" ? ns : ts
5014
+ i[60].type === "freeRound" ? os : rs
5007
5015
  );
5008
5016
  }
5009
5017
  let r = n(e), o = r(e);
@@ -5012,7 +5020,7 @@ function dn(e) {
5012
5020
  o.c(), t = At();
5013
5021
  },
5014
5022
  m(i, s) {
5015
- o.m(i, s), W(i, t, s);
5023
+ o.m(i, s), j(i, t, s);
5016
5024
  },
5017
5025
  p(i, s) {
5018
5026
  r === (r = n(i)) && o ? o.p(i, s) : (o.d(1), o = r(i), o && (o.c(), o.m(t.parentNode, t)));
@@ -5023,57 +5031,57 @@ function dn(e) {
5023
5031
  };
5024
5032
  }
5025
5033
  function pn(e) {
5026
- let t, n, r, o, i, s, a, u, l, c, h, d, p, y, v, m, B, g, _, I, U, X, Z, q = $e(Array(
5034
+ let t, n, r, o, i, s, a, u, l, c, h, d, m, y, v, x, _, b, g, E, U, X, Y, q = $e(Array(
5027
5035
  /*numberOfPages*/
5028
5036
  e[17]
5029
- )), T = [];
5037
+ )), P = [];
5030
5038
  for (let w = 0; w < q.length; w += 1)
5031
- T[w] = mn(cn(e, q, w));
5039
+ P[w] = mn(cn(e, q, w));
5032
5040
  return {
5033
5041
  c() {
5034
- t = A("div"), n = A("button"), r = $("|<"), s = z(), a = A("button"), u = $("<"), h = z();
5035
- for (let w = 0; w < T.length; w += 1)
5036
- T[w].c();
5037
- d = z(), p = A("button"), y = $(">"), B = z(), g = A("button"), _ = $(">|"), n.disabled = o = /*currentPage*/
5038
- e[18] === 0, x(n, "class", i = "BonusesFirst " + /*currentPage*/
5042
+ t = T("div"), n = T("button"), r = $("|<"), s = z(), a = T("button"), u = $("<"), h = z();
5043
+ for (let w = 0; w < P.length; w += 1)
5044
+ P[w].c();
5045
+ d = z(), m = T("button"), y = $(">"), _ = z(), b = T("button"), g = $(">|"), n.disabled = o = /*currentPage*/
5046
+ e[18] === 0, S(n, "class", i = "BonusesFirst " + /*currentPage*/
5039
5047
  (e[18] === 0 ? "Inactive" : "")), a.disabled = l = /*currentPage*/
5040
- e[18] === 0, x(a, "class", c = "BonusesPrev " + /*currentPage*/
5041
- (e[18] === 0 ? "Inactive" : "")), p.disabled = v = /*currentPage*/
5048
+ e[18] === 0, S(a, "class", c = "BonusesPrev " + /*currentPage*/
5049
+ (e[18] === 0 ? "Inactive" : "")), m.disabled = v = /*currentPage*/
5042
5050
  e[18] === /*numberOfPages*/
5043
- e[17] - 1, x(p, "class", m = "BonusesNext " + /*currentPage*/
5051
+ e[17] - 1, S(m, "class", x = "BonusesNext " + /*currentPage*/
5044
5052
  (e[18] === /*numberOfPages*/
5045
- e[17] - 1 ? "Inactive" : "")), g.disabled = I = /*currentPage*/
5053
+ e[17] - 1 ? "Inactive" : "")), b.disabled = E = /*currentPage*/
5046
5054
  e[18] === /*numberOfPages*/
5047
- e[17] - 1, x(g, "class", U = "BonusesLast " + /*currentPage*/
5055
+ e[17] - 1, S(b, "class", U = "BonusesLast " + /*currentPage*/
5048
5056
  (e[18] === /*numberOfPages*/
5049
- e[17] - 1 ? "Inactive" : "")), x(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
5057
+ e[17] - 1 ? "Inactive" : "")), S(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
5050
5058
  (e[22] ? "BonusesPaginationWrapperMobile" : ""));
5051
5059
  },
5052
5060
  m(w, L) {
5053
- W(w, t, L), E(t, n), E(n, r), E(t, s), E(t, a), E(a, u), E(t, h);
5054
- for (let M = 0; M < T.length; M += 1)
5055
- T[M] && T[M].m(t, null);
5056
- E(t, d), E(t, p), E(p, y), E(t, B), E(t, g), E(g, _), X || (Z = [
5057
- Q(
5061
+ j(w, t, L), B(t, n), B(n, r), B(t, s), B(t, a), B(a, u), B(t, h);
5062
+ for (let H = 0; H < P.length; H += 1)
5063
+ P[H] && P[H].m(t, null);
5064
+ B(t, d), B(t, m), B(m, y), B(t, _), B(t, b), B(b, g), X || (Y = [
5065
+ J(
5058
5066
  n,
5059
5067
  "click",
5060
5068
  /*click_handler_1*/
5061
5069
  e[38]
5062
5070
  ),
5063
- Q(
5071
+ J(
5064
5072
  a,
5065
5073
  "click",
5066
5074
  /*click_handler_2*/
5067
5075
  e[39]
5068
5076
  ),
5069
- Q(
5070
- p,
5077
+ J(
5078
+ m,
5071
5079
  "click",
5072
5080
  /*click_handler_4*/
5073
5081
  e[41]
5074
5082
  ),
5075
- Q(
5076
- g,
5083
+ J(
5084
+ b,
5077
5085
  "click",
5078
5086
  /*click_handler_5*/
5079
5087
  e[42]
@@ -5085,77 +5093,77 @@ function pn(e) {
5085
5093
  262144 && o !== (o = /*currentPage*/
5086
5094
  w[18] === 0) && (n.disabled = o), L[0] & /*currentPage*/
5087
5095
  262144 && i !== (i = "BonusesFirst " + /*currentPage*/
5088
- (w[18] === 0 ? "Inactive" : "")) && x(n, "class", i), L[0] & /*currentPage*/
5096
+ (w[18] === 0 ? "Inactive" : "")) && S(n, "class", i), L[0] & /*currentPage*/
5089
5097
  262144 && l !== (l = /*currentPage*/
5090
5098
  w[18] === 0) && (a.disabled = l), L[0] & /*currentPage*/
5091
5099
  262144 && c !== (c = "BonusesPrev " + /*currentPage*/
5092
- (w[18] === 0 ? "Inactive" : "")) && x(a, "class", c), L[0] & /*currentPage, getActiveBonuses, numberOfPages*/
5100
+ (w[18] === 0 ? "Inactive" : "")) && S(a, "class", c), L[0] & /*currentPage, getActiveBonuses, numberOfPages*/
5093
5101
  33947648) {
5094
5102
  q = $e(Array(
5095
5103
  /*numberOfPages*/
5096
5104
  w[17]
5097
5105
  ));
5098
- let M;
5099
- for (M = 0; M < q.length; M += 1) {
5100
- const F = cn(w, q, M);
5101
- T[M] ? T[M].p(F, L) : (T[M] = mn(F), T[M].c(), T[M].m(t, d));
5106
+ let H;
5107
+ for (H = 0; H < q.length; H += 1) {
5108
+ const F = cn(w, q, H);
5109
+ P[H] ? P[H].p(F, L) : (P[H] = mn(F), P[H].c(), P[H].m(t, d));
5102
5110
  }
5103
- for (; M < T.length; M += 1)
5104
- T[M].d(1);
5105
- T.length = q.length;
5111
+ for (; H < P.length; H += 1)
5112
+ P[H].d(1);
5113
+ P.length = q.length;
5106
5114
  }
5107
5115
  L[0] & /*currentPage, numberOfPages*/
5108
5116
  393216 && v !== (v = /*currentPage*/
5109
5117
  w[18] === /*numberOfPages*/
5110
- w[17] - 1) && (p.disabled = v), L[0] & /*currentPage, numberOfPages*/
5111
- 393216 && m !== (m = "BonusesNext " + /*currentPage*/
5118
+ w[17] - 1) && (m.disabled = v), L[0] & /*currentPage, numberOfPages*/
5119
+ 393216 && x !== (x = "BonusesNext " + /*currentPage*/
5112
5120
  (w[18] === /*numberOfPages*/
5113
- w[17] - 1 ? "Inactive" : "")) && x(p, "class", m), L[0] & /*currentPage, numberOfPages*/
5114
- 393216 && I !== (I = /*currentPage*/
5121
+ w[17] - 1 ? "Inactive" : "")) && S(m, "class", x), L[0] & /*currentPage, numberOfPages*/
5122
+ 393216 && E !== (E = /*currentPage*/
5115
5123
  w[18] === /*numberOfPages*/
5116
- w[17] - 1) && (g.disabled = I), L[0] & /*currentPage, numberOfPages*/
5124
+ w[17] - 1) && (b.disabled = E), L[0] & /*currentPage, numberOfPages*/
5117
5125
  393216 && U !== (U = "BonusesLast " + /*currentPage*/
5118
5126
  (w[18] === /*numberOfPages*/
5119
- w[17] - 1 ? "Inactive" : "")) && x(g, "class", U);
5127
+ w[17] - 1 ? "Inactive" : "")) && S(b, "class", U);
5120
5128
  },
5121
5129
  d(w) {
5122
- w && G(t), _n(T, w), X = !1, ie(Z);
5130
+ w && G(t), _n(P, w), X = !1, ie(Y);
5123
5131
  }
5124
5132
  };
5125
5133
  }
5126
5134
  function mn(e) {
5127
5135
  let t, n = (
5128
5136
  /*i*/
5129
- e[58] + 1 + ""
5137
+ e[59] + 1 + ""
5130
5138
  ), r, o, i, s, a;
5131
5139
  function u() {
5132
5140
  return (
5133
5141
  /*click_handler_3*/
5134
5142
  e[40](
5135
5143
  /*i*/
5136
- e[58]
5144
+ e[59]
5137
5145
  )
5138
5146
  );
5139
5147
  }
5140
5148
  return {
5141
5149
  c() {
5142
- t = A("button"), r = $(n), t.disabled = o = /*i*/
5143
- e[58] === /*currentPage*/
5144
- e[18], x(t, "class", i = "BonusesPage " + /*i*/
5145
- (e[58] === /*currentPage*/
5150
+ t = T("button"), r = $(n), t.disabled = o = /*i*/
5151
+ e[59] === /*currentPage*/
5152
+ e[18], S(t, "class", i = "BonusesPage " + /*i*/
5153
+ (e[59] === /*currentPage*/
5146
5154
  e[18] ? "BonusPageActive" : ""));
5147
5155
  },
5148
5156
  m(l, c) {
5149
- W(l, t, c), E(t, r), s || (a = Q(t, "click", u), s = !0);
5157
+ j(l, t, c), B(t, r), s || (a = J(t, "click", u), s = !0);
5150
5158
  },
5151
5159
  p(l, c) {
5152
5160
  e = l, c[0] & /*currentPage*/
5153
5161
  262144 && o !== (o = /*i*/
5154
- e[58] === /*currentPage*/
5162
+ e[59] === /*currentPage*/
5155
5163
  e[18]) && (t.disabled = o), c[0] & /*currentPage*/
5156
5164
  262144 && i !== (i = "BonusesPage " + /*i*/
5157
- (e[58] === /*currentPage*/
5158
- e[18] ? "BonusPageActive" : "")) && x(t, "class", i);
5165
+ (e[59] === /*currentPage*/
5166
+ e[18] ? "BonusPageActive" : "")) && S(t, "class", i);
5159
5167
  },
5160
5168
  d(l) {
5161
5169
  l && G(t), s = !1, a();
@@ -5169,25 +5177,25 @@ function bn(e) {
5169
5177
  ), s, a, u, l, c = (
5170
5178
  /*$_*/
5171
5179
  e[21]("forfeitBonusCancel") + ""
5172
- ), h, d, p, y = (
5180
+ ), h, d, m, y = (
5173
5181
  /*$_*/
5174
5182
  e[21]("forfeitBonusConfirm") + ""
5175
- ), v, m, B;
5183
+ ), v, x, _;
5176
5184
  return {
5177
5185
  c() {
5178
- t = A("div"), n = A("div"), r = A("div"), o = A("p"), s = $(i), a = z(), u = A("div"), l = A("button"), h = $(c), d = z(), p = A("button"), v = $(y), x(o, "class", "ModalText"), x(l, "class", "ModalCancel"), x(p, "class", "ModalConfirm"), x(u, "class", "ModalButtons"), x(r, "class", "ModalBody"), x(n, "class", "ModalContent"), x(t, "class", "ModalWrapper " + /*isMobile*/
5186
+ t = T("div"), n = T("div"), r = T("div"), o = T("p"), s = $(i), a = z(), u = T("div"), l = T("button"), h = $(c), d = z(), m = T("button"), v = $(y), S(o, "class", "ModalText"), S(l, "class", "ModalCancel"), S(m, "class", "ModalConfirm"), S(u, "class", "ModalButtons"), S(r, "class", "ModalBody"), S(n, "class", "ModalContent"), S(t, "class", "ModalWrapper " + /*isMobile*/
5179
5187
  (e[22] ? "ModalWrapperMobile" : ""));
5180
5188
  },
5181
- m(g, _) {
5182
- W(g, t, _), E(t, n), E(n, r), E(r, o), E(o, s), E(r, a), E(r, u), E(u, l), E(l, h), E(u, d), E(u, p), E(p, v), m || (B = [
5183
- Q(
5189
+ m(b, g) {
5190
+ j(b, t, g), B(t, n), B(n, r), B(r, o), B(o, s), B(r, a), B(r, u), B(u, l), B(l, h), B(u, d), B(u, m), B(m, v), x || (_ = [
5191
+ J(
5184
5192
  l,
5185
5193
  "click",
5186
5194
  /*closeBonusModal*/
5187
5195
  e[27]
5188
5196
  ),
5189
- Q(
5190
- p,
5197
+ J(
5198
+ m,
5191
5199
  "click",
5192
5200
  /*debouncedFunction*/
5193
5201
  e[29](
@@ -5195,166 +5203,147 @@ function bn(e) {
5195
5203
  e[28]
5196
5204
  )
5197
5205
  )
5198
- ], m = !0);
5206
+ ], x = !0);
5199
5207
  },
5200
- p(g, _) {
5201
- _[0] & /*$_*/
5208
+ p(b, g) {
5209
+ g[0] & /*$_*/
5202
5210
  2097152 && i !== (i = /*$_*/
5203
- g[21]("forfeitBonus") + "") && ne(s, i), _[0] & /*$_*/
5211
+ b[21]("forfeitBonus") + "") && ne(s, i), g[0] & /*$_*/
5204
5212
  2097152 && c !== (c = /*$_*/
5205
- g[21]("forfeitBonusCancel") + "") && ne(h, c), _[0] & /*$_*/
5213
+ b[21]("forfeitBonusCancel") + "") && ne(h, c), g[0] & /*$_*/
5206
5214
  2097152 && y !== (y = /*$_*/
5207
- g[21]("forfeitBonusConfirm") + "") && ne(v, y);
5215
+ b[21]("forfeitBonusConfirm") + "") && ne(v, y);
5208
5216
  },
5209
- d(g) {
5210
- g && G(t), m = !1, ie(B);
5217
+ d(b) {
5218
+ b && G(t), x = !1, ie(_);
5211
5219
  }
5212
5220
  };
5213
5221
  }
5214
- function rs(e) {
5222
+ function is(e) {
5215
5223
  let t, n, r, o, i = (
5216
5224
  /*$_*/
5217
5225
  e[21]("titleBonuses") + ""
5218
5226
  ), s, a, u, l, c = (
5219
5227
  /*$_*/
5220
5228
  e[21]("bonusCode") + ""
5221
- ), h, d, p, y, v, m, B = (
5229
+ ), h, d, m, y, v, x, _ = (
5222
5230
  /*$_*/
5223
5231
  e[21]("getBonus") + ""
5224
- ), g, _, I, U, X, Z, q, T = (
5232
+ ), b, g, E, U, X, Y, q, P = (
5225
5233
  /*isMobile*/
5226
- e[22] && Yi(e)
5234
+ e[22] && Ji(e)
5227
5235
  ), w = (
5228
5236
  /*invalidBonusCode*/
5229
5237
  e[12] && hn(e)
5230
5238
  );
5231
- function L(P, k) {
5239
+ function L(M, k) {
5232
5240
  return (
5233
5241
  /*isLoading*/
5234
- P[10] ? Qi : Ji
5242
+ M[10] ? es : Ki
5235
5243
  );
5236
5244
  }
5237
- let M = L(e), F = M(e), R = (
5245
+ let H = L(e), F = H(e), R = (
5238
5246
  /*bonusModal*/
5239
5247
  e[20] && bn(e)
5240
5248
  );
5241
5249
  return {
5242
5250
  c() {
5243
- t = A("div"), n = A("div"), T && T.c(), r = z(), o = A("h2"), s = $(i), a = z(), u = A("div"), l = A("label"), h = $(c), d = z(), p = A("div"), y = A("input"), v = z(), m = A("button"), g = $(B), I = z(), w && w.c(), U = z(), F.c(), X = z(), R && R.c(), x(o, "class", "ActiveBonusesTitle " + /*isMobile*/
5244
- (e[22] ? "ActiveBonusesTitleNone" : "")), x(l, "for", "BonusCode"), x(y, "class", "BonusCodeInput " + /*isMobile*/
5245
- (e[22] ? "BonusCodeInputMobile" : "")), x(y, "type", "text"), x(y, "id", "BonusCode"), x(m, "class", "SubmitBonusCode " + /*isMobile*/
5246
- (e[22] ? "SubmitBonusCodeMobile" : "")), m.disabled = _ = /*invalidBonusField*/
5251
+ t = T("div"), n = T("div"), P && P.c(), r = z(), o = T("h2"), s = $(i), a = z(), u = T("div"), l = T("label"), h = $(c), d = z(), m = T("div"), y = T("input"), v = z(), x = T("button"), b = $(_), E = z(), w && w.c(), U = z(), F.c(), X = z(), R && R.c(), S(o, "class", "ActiveBonusesTitle " + /*isMobile*/
5252
+ (e[22] ? "ActiveBonusesTitleNone" : "")), S(l, "for", "BonusCode"), S(y, "class", "BonusCodeInput " + /*isMobile*/
5253
+ (e[22] ? "BonusCodeInputMobile" : "")), S(y, "type", "text"), S(y, "id", "BonusCode"), S(x, "class", "SubmitBonusCode " + /*isMobile*/
5254
+ (e[22] ? "SubmitBonusCodeMobile" : "")), x.disabled = g = /*invalidBonusField*/
5247
5255
  e[11] || /*isLoading*/
5248
- e[10], x(p, "class", "BonusCodeWrapper " + /*isMobile*/
5249
- (e[22] ? "BonusCodeWrapperMobile" : "")), x(u, "class", "BonusCodeContainer " + /*isMobile*/
5250
- (e[22] ? "BonusCodeContainerMobile" : "")), x(n, "class", "ActiveBonusesWrapper " + /*isMobile*/
5256
+ e[10], S(m, "class", "BonusCodeWrapper " + /*isMobile*/
5257
+ (e[22] ? "BonusCodeWrapperMobile" : "")), S(u, "class", "BonusCodeContainer " + /*isMobile*/
5258
+ (e[22] ? "BonusCodeContainerMobile" : "")), S(n, "class", "ActiveBonusesWrapper " + /*isMobile*/
5251
5259
  (e[22] ? "ActiveBonusesWrapperMobile" : ""));
5252
5260
  },
5253
- m(P, k) {
5254
- W(P, t, k), E(t, n), T && T.m(n, null), E(n, r), E(n, o), E(o, s), E(n, a), E(n, u), E(u, l), E(l, h), E(u, d), E(u, p), E(p, y), Ft(
5261
+ m(M, k) {
5262
+ j(M, t, k), B(t, n), P && P.m(n, null), B(n, r), B(n, o), B(o, s), B(n, a), B(n, u), B(u, l), B(l, h), B(u, d), B(u, m), B(m, y), Ft(
5255
5263
  y,
5256
5264
  /*bonusCode*/
5257
5265
  e[13]
5258
- ), E(p, v), E(p, m), E(m, g), E(u, I), w && w.m(u, null), E(n, U), F.m(n, null), E(t, X), R && R.m(t, null), e[43](t), Z || (q = [
5259
- Q(
5266
+ ), B(m, v), B(m, x), B(x, b), B(u, E), w && w.m(u, null), B(n, U), F.m(n, null), B(t, X), R && R.m(t, null), e[43](t), Y || (q = [
5267
+ J(
5260
5268
  y,
5261
5269
  "input",
5262
5270
  /*input_input_handler*/
5263
5271
  e[37]
5264
5272
  ),
5265
- Q(
5273
+ J(
5266
5274
  y,
5267
5275
  "keyup",
5268
5276
  /*validateBonusCode*/
5269
5277
  e[24]
5270
5278
  ),
5271
- Q(
5272
- m,
5279
+ J(
5280
+ x,
5273
5281
  "click",
5274
5282
  /*claimBonus*/
5275
5283
  e[26]
5276
5284
  )
5277
- ], Z = !0);
5285
+ ], Y = !0);
5278
5286
  },
5279
- p(P, k) {
5287
+ p(M, k) {
5280
5288
  /*isMobile*/
5281
- P[22] && T.p(P, k), k[0] & /*$_*/
5289
+ M[22] && P.p(M, k), k[0] & /*$_*/
5282
5290
  2097152 && i !== (i = /*$_*/
5283
- P[21]("titleBonuses") + "") && ne(s, i), k[0] & /*$_*/
5291
+ M[21]("titleBonuses") + "") && ne(s, i), k[0] & /*$_*/
5284
5292
  2097152 && c !== (c = /*$_*/
5285
- P[21]("bonusCode") + "") && ne(h, c), k[0] & /*bonusCode*/
5293
+ M[21]("bonusCode") + "") && ne(h, c), k[0] & /*bonusCode*/
5286
5294
  8192 && y.value !== /*bonusCode*/
5287
- P[13] && Ft(
5295
+ M[13] && Ft(
5288
5296
  y,
5289
5297
  /*bonusCode*/
5290
- P[13]
5298
+ M[13]
5291
5299
  ), k[0] & /*$_*/
5292
- 2097152 && B !== (B = /*$_*/
5293
- P[21]("getBonus") + "") && ne(g, B), k[0] & /*invalidBonusField, isLoading*/
5294
- 3072 && _ !== (_ = /*invalidBonusField*/
5295
- P[11] || /*isLoading*/
5296
- P[10]) && (m.disabled = _), /*invalidBonusCode*/
5297
- P[12] ? w ? w.p(P, k) : (w = hn(P), w.c(), w.m(u, null)) : w && (w.d(1), w = null), M === (M = L(P)) && F ? F.p(P, k) : (F.d(1), F = M(P), F && (F.c(), F.m(n, null))), /*bonusModal*/
5298
- P[20] ? R ? R.p(P, k) : (R = bn(P), R.c(), R.m(t, null)) : R && (R.d(1), R = null);
5300
+ 2097152 && _ !== (_ = /*$_*/
5301
+ M[21]("getBonus") + "") && ne(b, _), k[0] & /*invalidBonusField, isLoading*/
5302
+ 3072 && g !== (g = /*invalidBonusField*/
5303
+ M[11] || /*isLoading*/
5304
+ M[10]) && (x.disabled = g), /*invalidBonusCode*/
5305
+ M[12] ? w ? w.p(M, k) : (w = hn(M), w.c(), w.m(u, null)) : w && (w.d(1), w = null), H === (H = L(M)) && F ? F.p(M, k) : (F.d(1), F = H(M), F && (F.c(), F.m(n, null))), /*bonusModal*/
5306
+ M[20] ? R ? R.p(M, k) : (R = bn(M), R.c(), R.m(t, null)) : R && (R.d(1), R = null);
5299
5307
  },
5300
- i: Y,
5301
- o: Y,
5302
- d(P) {
5303
- P && G(t), T && T.d(), w && w.d(), F.d(), R && R.d(), e[43](null), Z = !1, ie(q);
5308
+ i: Q,
5309
+ o: Q,
5310
+ d(M) {
5311
+ M && G(t), P && P.d(), w && w.d(), F.d(), R && R.d(), e[43](null), Y = !1, ie(q);
5304
5312
  }
5305
5313
  };
5306
5314
  }
5307
- let os = "status=active", ee = 6;
5308
- function is(e) {
5309
- const t = e.initialWagerRequirementAmount ?? 0, n = e.remainingWagerRequirementAmount ?? 0;
5310
- return {
5311
- ...e,
5312
- freeRoundNumber: e.numberOfFreeSpin ?? void 0,
5313
- walletId: e.bonusWalletID ?? void 0,
5314
- granted: e.grantedDate ?? void 0,
5315
- expiryTime: e.expiryDate ?? void 0,
5316
- currentAmount: e.remainingAmount ?? void 0,
5317
- originalWageringRequirement: e.initialWagerRequirementAmount ?? void 0,
5318
- fulfilledWR: t - n,
5319
- extension: {
5320
- grantedPlayerCurrencyAmount: e.amount ?? void 0
5321
- },
5322
- termsandconditionsurl: e.url ?? void 0,
5323
- termsandconditionsdescription: e.description ?? void 0,
5324
- termsandconditionsasset: e.assets ?? void 0
5325
- };
5326
- }
5327
- function ss(e, t, n) {
5315
+ let ss = "status=active", ee = 6;
5316
+ function as(e, t, n) {
5328
5317
  let r;
5329
- mr(e, Fi, (b) => n(21, r = b));
5330
- 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: d = "" } = t, { currencylocale: p = "" } = t, { dateformat: y = "" } = t, { bonuscoderegex: v = "" } = t, { ishiddenwageringbonus: m = "false" } = t, { gmversion: B = "" } = t, { filterbonusbalance: g = "false" } = t, _ = !1, I, U, X = window.navigator.userAgent, Z = Di(X) !== "PC", q = !0, T = !1, w = "", L = 0, M = 0, F = 0, R = 0, P = 0, k = [], It, Ye = "", Je = !1;
5331
- const Qn = () => {
5332
- fetch(d).then((N) => N.json()).then((N) => {
5333
- Object.keys(N).forEach((J) => {
5334
- an(J, N[J]);
5318
+ br(e, Di, (p) => n(21, r = p));
5319
+ 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: d = "" } = t, { currencylocale: m = "" } = t, { dateformat: y = "" } = t, { bonuscoderegex: v = "" } = t, { ishiddenwageringbonus: x = "false" } = t, { gmversion: _ = "" } = t, { filterbonusbalance: b = "false" } = t, g = !1, E, U, X = window.navigator.userAgent, Y = $i(X) !== "PC", q = !0, P = !1, w = "", L = 0, H = 0, F = 0, R = 0, M = 0, k = [], Ot, Ye = "", Qe = !1;
5320
+ const Jn = () => {
5321
+ fetch(d).then((I) => I.json()).then((I) => {
5322
+ Object.keys(I).forEach((Z) => {
5323
+ an(Z, I[Z]);
5335
5324
  });
5336
- }).catch((N) => {
5337
- console.log(N);
5325
+ }).catch((I) => {
5326
+ console.log(I);
5338
5327
  });
5339
5328
  };
5340
- Object.keys(un).forEach((b) => {
5341
- an(b, un[b]);
5329
+ Object.keys(un).forEach((p) => {
5330
+ an(p, un[p]);
5342
5331
  });
5343
- const Ot = (b) => {
5344
- if (b.data)
5345
- switch (b.data.type) {
5332
+ const It = (p) => {
5333
+ if (p.data)
5334
+ switch (p.data.type) {
5346
5335
  case "DeleteActiveBonus":
5347
- Ye = b.data.bonuswalletid, n(20, Je = !0);
5336
+ Ye = p.data.bonuswalletid, n(20, Qe = !0);
5348
5337
  break;
5349
5338
  }
5350
5339
  };
5351
- function Kn(b, N) {
5352
- return (...J) => {
5353
- clearTimeout(It), It = setTimeout(
5340
+ function Kn(p, I) {
5341
+ return (...Z) => {
5342
+ clearTimeout(Ot), Ot = setTimeout(
5354
5343
  () => {
5355
- b.apply(this, J);
5344
+ p.apply(this, Z);
5356
5345
  },
5357
- N
5346
+ I
5358
5347
  );
5359
5348
  };
5360
5349
  }
@@ -5362,59 +5351,78 @@ function ss(e, t, n) {
5362
5351
  window.postMessage(
5363
5352
  {
5364
5353
  type: "PlayerAccountMenuActive",
5365
- isMobile: Z
5354
+ isMobile: Y
5366
5355
  },
5367
5356
  window.location.href
5368
5357
  );
5369
5358
  }, er = () => w ? v ? new RegExp(v).test(w) : !0 : !1, tr = () => {
5370
- n(11, q = !er()), v && n(12, T = q);
5371
- }, K = async (b) => {
5372
- n(10, _ = !0);
5359
+ n(11, q = !er()), v && n(12, P = q);
5360
+ };
5361
+ function nr(p) {
5362
+ const I = p.initialWagerRequirementAmount ?? 0, Z = p.remainingWagerRequirementAmount ?? 0;
5363
+ return {
5364
+ ...p,
5365
+ freeRoundNumber: p.numberOfFreeSpin ?? void 0,
5366
+ walletId: p.bonusWalletID ?? void 0,
5367
+ granted: p.grantedDate ?? void 0,
5368
+ expiryTime: p.expiryDate ?? void 0,
5369
+ currentAmount: p.remainingAmount ?? void 0,
5370
+ originalWageringRequirement: p.initialWagerRequirementAmount ?? void 0,
5371
+ fulfilledWR: I - Z,
5372
+ extension: {
5373
+ grantedPlayerCurrencyAmount: p.amount ?? void 0
5374
+ },
5375
+ termsandconditionsurl: p.url ?? void 0,
5376
+ termsandconditionsdescription: p.description ?? void 0,
5377
+ termsandconditionsasset: p.assets ?? void 0,
5378
+ isWinBonus: p?.tags?.includes("auto_apply") === !0 && p.type === Xi.ODDS_BOOST
5379
+ };
5380
+ }
5381
+ const K = async (p) => {
5382
+ n(10, g = !0);
5373
5383
  try {
5374
- let N = [], J = 0;
5375
- if (B === "gm2") {
5376
- console.log("getActiveBonuses - gm2", B);
5377
- const j = {
5378
- pagination: `limit=${ee},offset=${b}`,
5384
+ let I = [], Z = 0;
5385
+ if (_ === "gm2") {
5386
+ console.log("getActiveBonuses - gm2", _);
5387
+ const W = {
5388
+ pagination: `limit=${ee},offset=${p}`,
5379
5389
  language: a || "en",
5380
5390
  sortOrder: "desc",
5381
5391
  status: ln.STATUS_ACTIVE,
5382
5392
  type: ln.TYPES,
5383
5393
  expand: "freeSpin"
5384
5394
  };
5385
- m === "true" && (j.includeHiddenWallet = !0);
5386
- const ae = await qi(o, i, j);
5387
- console.log("data from getActiveBonuses", ae);
5388
- const Be = ae.items;
5389
- Array.isArray(Be) ? N = Be.map(is) : console.error("Unexpected granted bonuses payload", ae), J = ae.total ?? 0;
5395
+ x === "true" && (W.includeHiddenWallet = !0);
5396
+ const _e = await Yi(o, i, W), Be = _e.items;
5397
+ Array.isArray(Be) ? I = Be.map(nr) : console.error("Unexpected granted bonuses payload", _e), Z = _e.total ?? 0;
5390
5398
  } else {
5391
- console.log("getActiveBonuses - /bonusWallet", B);
5392
- const j = {
5399
+ console.log("getActiveBonuses - /bonusWallet", _);
5400
+ const W = {
5393
5401
  method: "GET",
5394
5402
  headers: { "X-SessionId": i }
5395
- }, ae = `/v1/player/${s}/bonusWallet`, Be = new URL(`${o}${ae}`), Ke = new URLSearchParams();
5396
- Ke.set("filter", os), Ke.set("pagination", `offset=${b},limit=${ee}`), Be.search = Ke.toString();
5397
- const Ee = await (await fetch(Be, j)).json();
5403
+ }, _e = `/v1/player/${s}/bonusWallet`, Be = new URL(`${o}${_e}`), Ke = new URLSearchParams();
5404
+ Ke.set("filter", ss), Ke.set("pagination", `offset=${p},limit=${ee}`), Be.search = Ke.toString();
5405
+ const Ee = await (await fetch(Be, W)).json();
5398
5406
  if (Array.isArray(Ee.items)) {
5399
5407
  for (const He of Ee.items) {
5400
- const Ie = He?.extension?.bonus?.presentation;
5401
- Ie && (He.termsandconditionsurl = Ie.url, He.termsandconditionsdescription = Ie.description, He.termsandconditionsasset = Ie.assets);
5408
+ const Oe = He?.extension?.bonus?.presentation;
5409
+ Oe && (He.termsandconditionsurl = Oe.url, He.termsandconditionsdescription = Oe.description, He.termsandconditionsasset = Oe.assets);
5402
5410
  }
5403
- N = Ee.items;
5411
+ I = Ee.items;
5404
5412
  } else
5405
5413
  console.error("Unexpected legacy bonus list payload", Ee);
5406
- J = Ee.total ?? 0;
5414
+ Z = Ee.total ?? 0;
5407
5415
  }
5408
- n(17, R = Math.ceil(J / ee)), b - ee >= 0 && n(14, L = b - ee), b + ee < J && n(15, M = b + ee), n(16, F = (R - 1) * ee), n(18, P = b / ee), n(19, k = N), p && k.forEach((j) => {
5409
- j.fulfilledWR = Me(j.fulfilledWR), j.originalWageringRequirement = Me(j.originalWageringRequirement), j.currentAmount = Me(j.currentAmount), j.extension && (j.extension.grantedPlayerCurrencyAmount = Me(j.extension.grantedPlayerCurrencyAmount));
5416
+ n(17, R = Math.ceil(Z / ee)), p - ee >= 0 && n(14, L = p - ee), p + ee < Z && n(15, H = p + ee), n(16, F = (R - 1) * ee), n(18, M = p / ee), n(19, k = I), m && k.forEach((W) => {
5417
+ W.fulfilledWR = Me(W.fulfilledWR), W.originalWageringRequirement = Me(W.originalWageringRequirement), W.currentAmount = Me(W.currentAmount), W.extension && (W.extension.grantedPlayerCurrencyAmount = Me(W.extension.grantedPlayerCurrencyAmount));
5410
5418
  }), window.scrollTo({ top: 0, behavior: "smooth" });
5411
- } catch (N) {
5412
- console.error(N);
5419
+ } catch (I) {
5420
+ console.error(I);
5413
5421
  } finally {
5414
- n(10, _ = !1);
5422
+ n(10, g = !1);
5415
5423
  }
5416
- }, Me = (b) => new Intl.NumberFormat(p, { style: "currency", currency: u }).format(b).replace(/\s/g, ""), Lt = () => {
5417
- console.log("post claim success, status 200"), n(12, T = !1), K(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
5424
+ }, Me = (p) => new Intl.NumberFormat(m, { style: "currency", currency: u }).format(p).replace(/\s/g, ""), Lt = () => {
5425
+ console.log("post claim success, status 200"), n(12, P = !1), K(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
5418
5426
  {
5419
5427
  type: "WidgetNotification",
5420
5428
  data: {
@@ -5429,7 +5437,7 @@ function ss(e, t, n) {
5429
5437
  bonusCode: `${w}`
5430
5438
  });
5431
5439
  }, Rt = () => {
5432
- n(12, T = !0), console.log("post claim error - status not 200"), window.postMessage(
5440
+ n(12, P = !0), console.log("post claim error - status not 200"), window.postMessage(
5433
5441
  {
5434
5442
  type: "WidgetNotification",
5435
5443
  data: {
@@ -5439,11 +5447,11 @@ function ss(e, t, n) {
5439
5447
  },
5440
5448
  window.location.href
5441
5449
  );
5442
- }, nr = async () => {
5443
- n(10, _ = !0);
5450
+ }, rr = async () => {
5451
+ n(10, g = !0);
5444
5452
  try {
5445
- if (B === "gm2") {
5446
- if (!(await zi(o, i, { bonusCode: w, currency: u })).success) {
5453
+ if (_ === "gm2") {
5454
+ if (!(await qi(o, i, { bonusCode: w, currency: u })).success) {
5447
5455
  Rt();
5448
5456
  //!
5449
5457
  return;
@@ -5451,121 +5459,121 @@ function ss(e, t, n) {
5451
5459
  Lt();
5452
5460
  return;
5453
5461
  }
5454
- const b = new URL(`${o}/v1/player/${s}/claimbonus`);
5455
- b.searchParams.append("currency", u), b.searchParams.append("bonusCode", w);
5456
- const N = {
5462
+ const p = new URL(`${o}/v1/player/${s}/claimbonus`);
5463
+ p.searchParams.append("currency", u), p.searchParams.append("bonusCode", w);
5464
+ const I = {
5457
5465
  method: "POST",
5458
5466
  headers: {
5459
5467
  "X-SessionId": i,
5460
5468
  accept: "application/json"
5461
5469
  }
5462
5470
  };
5463
- (await fetch(b.href, N)).status == 200 ? Lt() : Rt();
5471
+ (await fetch(p.href, I)).status == 200 ? Lt() : Rt();
5464
5472
  } finally {
5465
- n(10, _ = !1);
5473
+ n(10, g = !1);
5466
5474
  }
5467
- }, Qe = () => {
5468
- window.postMessage({ type: "EnableScroll" }, window.location.href), n(20, Je = !1);
5469
- }, rr = async () => {
5470
- if (B === "gm2") {
5471
- if (!(await Xi(o, i, { bonusWalletID: Ye })).success)
5475
+ }, Je = () => {
5476
+ window.postMessage({ type: "EnableScroll" }, window.location.href), n(20, Qe = !1);
5477
+ }, or = async () => {
5478
+ if (_ === "gm2") {
5479
+ if (!(await Zi(o, i, { bonusWalletID: Ye })).success)
5472
5480
  return;
5473
- K(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), Qe();
5481
+ K(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), Je();
5474
5482
  return;
5475
5483
  }
5476
- const b = {
5484
+ const p = {
5477
5485
  method: "DELETE",
5478
5486
  headers: {
5479
5487
  "X-SessionId": i,
5480
5488
  "Content-Type": "application/json",
5481
5489
  Accept: "application/json"
5482
5490
  }
5483
- }, N = new URL(`${o}/v1/player/${s}/bonusWallet`);
5484
- N.searchParams.append("bonusWalletID", Ye), (await fetch(N, b)).status == 200 && (K(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), Qe());
5485
- }, or = () => {
5486
- $i(a);
5491
+ }, I = new URL(`${o}/v1/player/${s}/bonusWallet`);
5492
+ I.searchParams.append("bonusWalletID", Ye), (await fetch(I, p)).status == 200 && (K(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), Je());
5493
+ }, ir = () => {
5494
+ Gi(a);
5487
5495
  };
5488
- function ir(b) {
5489
- return Kn(b, 1e3);
5496
+ function sr(p) {
5497
+ return Kn(p, 1e3);
5490
5498
  }
5491
- Er(() => (window.addEventListener("message", Ot, !1), () => {
5492
- window.removeEventListener("message", Ot);
5499
+ wr(() => (window.addEventListener("message", It, !1), () => {
5500
+ window.removeEventListener("message", It);
5493
5501
  }));
5494
- const sr = () => Nt();
5495
- function ar() {
5502
+ const ar = () => Nt();
5503
+ function ur() {
5496
5504
  w = this.value, n(13, w);
5497
5505
  }
5498
- const ur = () => K(0), lr = () => K(L), cr = (b) => K(b * ee), fr = () => K(M), hr = () => K(F);
5499
- function dr(b) {
5500
- ut[b ? "unshift" : "push"](() => {
5501
- I = b, n(9, I);
5506
+ const lr = () => K(0), cr = () => K(L), fr = (p) => K(p * ee), hr = () => K(H), dr = () => K(F);
5507
+ function pr(p) {
5508
+ ut[p ? "unshift" : "push"](() => {
5509
+ E = p, n(9, E);
5502
5510
  });
5503
5511
  }
5504
- return e.$$set = (b) => {
5505
- "endpoint" in b && n(30, o = b.endpoint), "session" in b && n(31, i = b.session), "playerid" in b && n(32, s = b.playerid), "lang" in b && n(0, a = b.lang), "currency" in b && n(33, u = b.currency), "clientstyling" in b && n(1, l = b.clientstyling), "clientstylingurl" in b && n(2, c = b.clientstylingurl), "mbsource" in b && n(3, h = b.mbsource), "translationurl" in b && n(4, d = b.translationurl), "currencylocale" in b && n(5, p = b.currencylocale), "dateformat" in b && n(6, y = b.dateformat), "bonuscoderegex" in b && n(34, v = b.bonuscoderegex), "ishiddenwageringbonus" in b && n(7, m = b.ishiddenwageringbonus), "gmversion" in b && n(35, B = b.gmversion), "filterbonusbalance" in b && n(8, g = b.filterbonusbalance);
5512
+ return e.$$set = (p) => {
5513
+ "endpoint" in p && n(30, o = p.endpoint), "session" in p && n(31, i = p.session), "playerid" in p && n(32, s = p.playerid), "lang" in p && n(0, a = p.lang), "currency" in p && n(33, u = p.currency), "clientstyling" in p && n(1, l = p.clientstyling), "clientstylingurl" in p && n(2, c = p.clientstylingurl), "mbsource" in p && n(3, h = p.mbsource), "translationurl" in p && n(4, d = p.translationurl), "currencylocale" in p && n(5, m = p.currencylocale), "dateformat" in p && n(6, y = p.dateformat), "bonuscoderegex" in p && n(34, v = p.bonuscoderegex), "ishiddenwageringbonus" in p && n(7, x = p.ishiddenwageringbonus), "gmversion" in p && n(35, _ = p.gmversion), "filterbonusbalance" in p && n(8, b = p.filterbonusbalance);
5506
5514
  }, e.$$.update = () => {
5507
5515
  e.$$.dirty[0] & /*lang*/
5508
- 1 && a && or(), e.$$.dirty[0] & /*endpoint*/
5516
+ 1 && a && ir(), e.$$.dirty[0] & /*endpoint*/
5509
5517
  1073741824 | e.$$.dirty[1] & /*session, playerid*/
5510
5518
  3 && i && s && o && K(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5511
- 514 && l && I && Gi(I, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5512
- 516 && c && I && ki(I, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5513
- 520 && h && I && ji(I, `${h}.Style`, U), e.$$.dirty[0] & /*translationurl*/
5514
- 16 && d && Qn();
5519
+ 514 && l && E && ki(E, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5520
+ 516 && c && E && Wi(E, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5521
+ 520 && h && E && ji(E, `${h}.Style`, U), e.$$.dirty[0] & /*translationurl*/
5522
+ 16 && d && Jn();
5515
5523
  }, [
5516
5524
  a,
5517
5525
  l,
5518
5526
  c,
5519
5527
  h,
5520
5528
  d,
5521
- p,
5522
- y,
5523
5529
  m,
5530
+ y,
5531
+ x,
5532
+ b,
5533
+ E,
5524
5534
  g,
5525
- I,
5526
- _,
5527
5535
  q,
5528
- T,
5536
+ P,
5529
5537
  w,
5530
5538
  L,
5531
- M,
5539
+ H,
5532
5540
  F,
5533
5541
  R,
5534
- P,
5542
+ M,
5535
5543
  k,
5536
- Je,
5544
+ Qe,
5537
5545
  r,
5538
- Z,
5546
+ Y,
5539
5547
  Nt,
5540
5548
  tr,
5541
5549
  K,
5542
- nr,
5543
- Qe,
5544
5550
  rr,
5545
- ir,
5551
+ Je,
5552
+ or,
5553
+ sr,
5546
5554
  o,
5547
5555
  i,
5548
5556
  s,
5549
5557
  u,
5550
5558
  v,
5551
- B,
5552
- sr,
5559
+ _,
5553
5560
  ar,
5554
5561
  ur,
5555
5562
  lr,
5556
5563
  cr,
5557
5564
  fr,
5558
5565
  hr,
5559
- dr
5566
+ dr,
5567
+ pr
5560
5568
  ];
5561
5569
  }
5562
- class as extends Nr {
5570
+ class us extends Lr {
5563
5571
  constructor(t) {
5564
5572
  super(), Ir(
5565
5573
  this,
5566
5574
  t,
5567
- ss,
5568
- rs,
5575
+ as,
5576
+ is,
5569
5577
  vn,
5570
5578
  {
5571
5579
  endpoint: 30,
@@ -5584,8 +5592,8 @@ class as extends Nr {
5584
5592
  gmversion: 35,
5585
5593
  filterbonusbalance: 8
5586
5594
  },
5587
- Zi,
5588
- [-1, -1]
5595
+ Qi,
5596
+ [-1, -1, -1]
5589
5597
  );
5590
5598
  }
5591
5599
  get endpoint() {
@@ -5679,34 +5687,34 @@ class as extends Nr {
5679
5687
  this.$$set({ filterbonusbalance: t }), D();
5680
5688
  }
5681
5689
  }
5682
- Or(as, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {}, filterbonusbalance: {} }, [], [], !0);
5690
+ Nr(us, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {}, filterbonusbalance: {} }, [], [], !0);
5683
5691
  export {
5684
- ye as $,
5685
- as as P,
5686
- Nr as S,
5692
+ ve as $,
5693
+ us as P,
5694
+ Lr as S,
5687
5695
  Xn as a,
5688
- br as b,
5689
- Or as c,
5696
+ gr as b,
5697
+ Nr as c,
5690
5698
  G as d,
5691
5699
  ne as e,
5692
5700
  D as f,
5693
- x as g,
5694
- W as h,
5701
+ S as g,
5702
+ j as h,
5695
5703
  Ir as i,
5696
- E as j,
5697
- A as k,
5704
+ B as j,
5705
+ T as k,
5698
5706
  z as l,
5699
- mr as m,
5700
- Y as n,
5701
- Di as o,
5702
- Er as p,
5703
- ls as q,
5704
- Q as r,
5707
+ br as m,
5708
+ Q as n,
5709
+ $i as o,
5710
+ wr as p,
5711
+ cs as q,
5712
+ J as r,
5705
5713
  vn as s,
5706
5714
  $ as t,
5707
5715
  ut as u,
5708
- Fi as v,
5709
- Gi as w,
5710
- ki as x,
5716
+ Di as v,
5717
+ ki as w,
5718
+ Wi as x,
5711
5719
  ji as y
5712
5720
  };