@everymatrix/player-active-bonuses 1.90.28 → 1.90.30

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,50 +1,50 @@
1
- function Y() {
1
+ function Q() {
2
2
  }
3
- function sn(e) {
3
+ function an(e) {
4
4
  return e();
5
5
  }
6
- function At() {
6
+ function Tt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function se(e) {
10
- e.forEach(sn);
10
+ e.forEach(an);
11
11
  }
12
12
  function _t(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function an(e, t) {
15
+ function un(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Me;
19
- function Xi(e, t) {
19
+ function qi(e, t) {
20
20
  return e === t ? !0 : (Me || (Me = document.createElement("a")), Me.href = t, e === Me.href);
21
21
  }
22
- function rr(e) {
22
+ function or(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function un(e, ...t) {
25
+ function ln(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 or(e, t, n) {
35
- e.$$.on_destroy.push(un(t, n));
34
+ function ir(e, t, n) {
35
+ e.$$.on_destroy.push(ln(t, n));
36
36
  }
37
- function _(e, t) {
37
+ function E(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function ir(e, t, n) {
41
- const r = sr(e);
40
+ function sr(e, t, n) {
41
+ const r = ar(e);
42
42
  if (!r.getElementById(t)) {
43
- const o = A("style");
44
- o.id = t, o.textContent = n, ar(r, o);
43
+ const o = T("style");
44
+ o.id = t, o.textContent = n, ur(r, o);
45
45
  }
46
46
  }
47
- function sr(e) {
47
+ function ar(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,39 +54,39 @@ function sr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function ar(e, t) {
58
- return _(
57
+ function ur(e, t) {
58
+ return E(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function G(e, t, n) {
64
+ function k(e, t, n) {
65
65
  e.insertBefore(t, n || null);
66
66
  }
67
- function U(e) {
67
+ function D(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function ln(e, t) {
70
+ function cn(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
77
  function ue(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function F(e) {
80
+ function $(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function X() {
84
- return F(" ");
83
+ function z() {
84
+ return $(" ");
85
85
  }
86
86
  function Bt() {
87
- return F("");
87
+ return $("");
88
88
  }
89
- function J(e, t, n, r) {
89
+ function Y(e, t, n, r) {
90
90
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
91
91
  }
92
92
  function x(e, t, n) {
@@ -96,17 +96,17 @@ function h(e, t, n) {
96
96
  const r = t.toLowerCase();
97
97
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : x(e, t, n);
98
98
  }
99
- function ur(e) {
99
+ function lr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
102
  function re(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function Tt(e, t) {
106
+ function Pt(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function lr(e) {
109
+ function cr(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -119,27 +119,27 @@ let we;
119
119
  function Ee(e) {
120
120
  we = e;
121
121
  }
122
- function cr() {
122
+ function hr() {
123
123
  if (!we)
124
124
  throw new Error("Function called outside component initialization");
125
125
  return we;
126
126
  }
127
- function hr(e) {
128
- cr().$$.on_mount.push(e);
127
+ function fr(e) {
128
+ hr().$$.on_mount.push(e);
129
129
  }
130
130
  const he = [], nt = [];
131
131
  let de = [];
132
- const Pt = [], fr = /* @__PURE__ */ Promise.resolve();
132
+ const Mt = [], dr = /* @__PURE__ */ Promise.resolve();
133
133
  let rt = !1;
134
- function dr() {
135
- rt || (rt = !0, fr.then(V));
134
+ function pr() {
135
+ rt || (rt = !0, dr.then(G));
136
136
  }
137
137
  function ot(e) {
138
138
  de.push(e);
139
139
  }
140
- const Ze = /* @__PURE__ */ new Set();
140
+ const qe = /* @__PURE__ */ new Set();
141
141
  let le = 0;
142
- function V() {
142
+ function G() {
143
143
  if (le !== 0)
144
144
  return;
145
145
  const e = we;
@@ -147,7 +147,7 @@ function V() {
147
147
  try {
148
148
  for (; le < he.length; ) {
149
149
  const t = he[le];
150
- le++, Ee(t), pr(t.$$);
150
+ le++, Ee(t), mr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
153
  throw he.length = 0, le = 0, t;
@@ -156,47 +156,47 @@ function V() {
156
156
  nt.pop()();
157
157
  for (let t = 0; t < de.length; t += 1) {
158
158
  const n = de[t];
159
- Ze.has(n) || (Ze.add(n), n());
159
+ qe.has(n) || (qe.add(n), n());
160
160
  }
161
161
  de.length = 0;
162
162
  } while (he.length);
163
- for (; Pt.length; )
164
- Pt.pop()();
165
- rt = !1, Ze.clear(), Ee(e);
163
+ for (; Mt.length; )
164
+ Mt.pop()();
165
+ rt = !1, qe.clear(), Ee(e);
166
166
  }
167
- function pr(e) {
167
+ function mr(e) {
168
168
  if (e.fragment !== null) {
169
169
  e.update(), se(e.before_update);
170
170
  const t = e.dirty;
171
171
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
172
172
  }
173
173
  }
174
- function mr(e) {
174
+ function br(e) {
175
175
  const t = [], n = [];
176
176
  de.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), de = t;
177
177
  }
178
- const br = /* @__PURE__ */ new Set();
179
- function gr(e, t) {
180
- e && e.i && (br.delete(e), e.i(t));
178
+ const gr = /* @__PURE__ */ new Set();
179
+ function vr(e, t) {
180
+ e && e.i && (gr.delete(e), e.i(t));
181
181
  }
182
182
  function Fe(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function vr(e, t, n) {
185
+ function yr(e, t, n) {
186
186
  const { fragment: r, after_update: o } = e.$$;
187
187
  r && r.m(t, n), ot(() => {
188
- const i = e.$$.on_mount.map(sn).filter(_t);
188
+ const i = e.$$.on_mount.map(an).filter(_t);
189
189
  e.$$.on_destroy ? e.$$.on_destroy.push(...i) : se(i), e.$$.on_mount = [];
190
190
  }), o.forEach(ot);
191
191
  }
192
- function yr(e, t) {
192
+ function _r(e, t) {
193
193
  const n = e.$$;
194
- n.fragment !== null && (mr(n.after_update), se(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
194
+ n.fragment !== null && (br(n.after_update), se(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
195
195
  }
196
- function _r(e, t) {
197
- e.$$.dirty[0] === -1 && (he.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function Br(e, t) {
197
+ e.$$.dirty[0] === -1 && (he.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function Br(e, t, n, r, o, i, s = null, a = [-1]) {
199
+ function Er(e, t, n, r, o, i, s = null, a = [-1]) {
200
200
  const u = we;
201
201
  Ee(e);
202
202
  const l = e.$$ = {
@@ -204,9 +204,9 @@ function Br(e, t, n, r, o, i, s = null, a = [-1]) {
204
204
  ctx: [],
205
205
  // state
206
206
  props: i,
207
- update: Y,
207
+ update: Q,
208
208
  not_equal: o,
209
- bound: At(),
209
+ bound: Tt(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
@@ -215,7 +215,7 @@ function Br(e, t, n, r, o, i, s = null, a = [-1]) {
215
215
  after_update: [],
216
216
  context: new Map(t.context || (u ? u.$$.context : [])),
217
217
  // everything else
218
- callbacks: At(),
218
+ callbacks: Tt(),
219
219
  dirty: a,
220
220
  skip_bound: !1,
221
221
  root: t.target || u.$$.root
@@ -223,20 +223,20 @@ function Br(e, t, n, r, o, i, s = null, a = [-1]) {
223
223
  s && s(l.root);
224
224
  let c = !1;
225
225
  if (l.ctx = n ? n(e, t.props || {}, (f, d, ...p) => {
226
- const y = p.length ? p[0] : d;
227
- return l.ctx && o(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && _r(e, f)), d;
226
+ const _ = p.length ? p[0] : d;
227
+ return l.ctx && o(l.ctx[f], l.ctx[f] = _) && (!l.skip_bound && l.bound[f] && l.bound[f](_), c && Br(e, f)), d;
228
228
  }) : [], l.update(), c = !0, se(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const f = ur(t.target);
231
- l.fragment && l.fragment.l(f), f.forEach(U);
230
+ const f = lr(t.target);
231
+ l.fragment && l.fragment.l(f), f.forEach(D);
232
232
  } else
233
233
  l.fragment && l.fragment.c();
234
- t.intro && gr(e.$$.fragment), vr(e, t.target, t.anchor), V();
234
+ t.intro && vr(e.$$.fragment), yr(e, t.target, t.anchor), G();
235
235
  }
236
236
  Ee(u);
237
237
  }
238
- let cn;
239
- typeof HTMLElement == "function" && (cn = class extends HTMLElement {
238
+ let hn;
239
+ typeof HTMLElement == "function" && (hn = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -278,24 +278,24 @@ typeof HTMLElement == "function" && (cn = 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" && x(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
- G(u, i, l);
288
+ k(u, i, l);
289
289
  },
290
290
  d: function(u) {
291
- u && U(i);
291
+ u && D(i);
292
292
  }
293
293
  };
294
294
  };
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, n = lr(this);
298
+ const t = {}, n = cr(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,8 +382,8 @@ function Ie(e, t, n, r) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function Er(e, t, n, r, o, i) {
386
- let s = class extends cn {
385
+ function wr(e, t, n, r, o, i) {
386
+ let s = class extends hn {
387
387
  constructor() {
388
388
  super(e, n, o), this.$$p_d = t;
389
389
  }
@@ -411,7 +411,7 @@ function Er(e, t, n, r, o, i) {
411
411
  }), e.element = /** @type {any} */
412
412
  s, s;
413
413
  }
414
- class wr {
414
+ class xr {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class wr {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- yr(this, 1), this.$destroy = Y;
433
+ _r(this, 1), this.$destroy = Q;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -440,7 +440,7 @@ class wr {
440
440
  */
441
441
  $on(t, n) {
442
442
  if (!_t(n))
443
- return Y;
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 wr {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const xr = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
458
+ const Cr = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
460
460
  /*! *****************************************************************************
461
461
  Copyright (c) Microsoft Corporation.
462
462
 
@@ -529,13 +529,13 @@ function ut(e, t, n) {
529
529
  function oe(e) {
530
530
  return typeof e == "function";
531
531
  }
532
- function hn(e) {
532
+ function fn(e) {
533
533
  var t = function(r) {
534
534
  Error.call(r), r.stack = new Error().stack;
535
535
  }, n = e(t);
536
536
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
537
537
  }
538
- var qe = hn(function(e) {
538
+ var Ze = fn(function(e) {
539
539
  return function(n) {
540
540
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
541
541
  ` + n.map(function(r, o) {
@@ -566,8 +566,8 @@ var Ge = function() {
566
566
  var l = u.value;
567
567
  l.remove(this);
568
568
  }
569
- } catch (g) {
570
- t = { error: g };
569
+ } catch (y) {
570
+ t = { error: y };
571
571
  } finally {
572
572
  try {
573
573
  u && !u.done && (n = a.return) && n.call(a);
@@ -582,23 +582,23 @@ var Ge = function() {
582
582
  if (oe(c))
583
583
  try {
584
584
  c();
585
- } catch (g) {
586
- i = g instanceof qe ? g.errors : [g];
585
+ } catch (y) {
586
+ i = y instanceof Ze ? y.errors : [y];
587
587
  }
588
588
  var f = this._finalizers;
589
589
  if (f) {
590
590
  this._finalizers = null;
591
591
  try {
592
592
  for (var d = st(f), p = d.next(); !p.done; p = d.next()) {
593
- var y = p.value;
593
+ var _ = p.value;
594
594
  try {
595
- Mt(y);
596
- } catch (g) {
597
- i = i ?? [], g instanceof qe ? i = ut(ut([], at(i)), at(g.errors)) : i.push(g);
595
+ Ht(_);
596
+ } catch (y) {
597
+ i = i ?? [], y instanceof Ze ? i = ut(ut([], at(i)), at(y.errors)) : i.push(y);
598
598
  }
599
599
  }
600
- } catch (g) {
601
- r = { error: g };
600
+ } catch (y) {
601
+ r = { error: y };
602
602
  } finally {
603
603
  try {
604
604
  p && !p.done && (o = d.return) && o.call(d);
@@ -609,13 +609,13 @@ var Ge = function() {
609
609
  }
610
610
  }
611
611
  if (i)
612
- throw new qe(i);
612
+ throw new Ze(i);
613
613
  }
614
614
  }, e.prototype.add = function(t) {
615
615
  var n;
616
616
  if (t && t !== this)
617
617
  if (this.closed)
618
- Mt(t);
618
+ Ht(t);
619
619
  else {
620
620
  if (t instanceof e) {
621
621
  if (t.closed || t._hasParent(this))
@@ -640,16 +640,16 @@ var Ge = function() {
640
640
  var t = new e();
641
641
  return t.closed = !0, t;
642
642
  }(), e;
643
- }(), fn = Ge.EMPTY;
644
- function dn(e) {
643
+ }(), dn = Ge.EMPTY;
644
+ function pn(e) {
645
645
  return e instanceof Ge || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
646
646
  }
647
- function Mt(e) {
647
+ function Ht(e) {
648
648
  oe(e) ? e() : e.unsubscribe();
649
649
  }
650
- var Cr = {
650
+ var Sr = {
651
651
  Promise: void 0
652
- }, Sr = {
652
+ }, Ar = {
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,21 +660,21 @@ var Cr = {
660
660
  },
661
661
  delegate: void 0
662
662
  };
663
- function Ar(e) {
664
- Sr.setTimeout(function() {
663
+ function Tr(e) {
664
+ Ar.setTimeout(function() {
665
665
  throw e;
666
666
  });
667
667
  }
668
- function Ht() {
668
+ function Ot() {
669
669
  }
670
670
  function Ne(e) {
671
671
  e();
672
672
  }
673
- var pn = function(e) {
673
+ var mn = function(e) {
674
674
  Se(t, e);
675
675
  function t(n) {
676
676
  var r = e.call(this) || this;
677
- return r.isStopped = !1, n ? (r.destination = n, dn(n) && n.add(r)) : r.destination = Mr, r;
677
+ return r.isStopped = !1, n ? (r.destination = n, pn(n) && n.add(r)) : r.destination = Hr, r;
678
678
  }
679
679
  return t.create = function(n, r, o) {
680
680
  return new ct(n, r, o);
@@ -701,7 +701,7 @@ var pn = function(e) {
701
701
  this.unsubscribe();
702
702
  }
703
703
  }, t;
704
- }(Ge), Tr = function() {
704
+ }(Ge), Pr = function() {
705
705
  function e(t) {
706
706
  this.partialObserver = t;
707
707
  }
@@ -740,35 +740,35 @@ var pn = 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 Tr(s), i;
743
+ } : s = n, i.destination = new Pr(s), i;
744
744
  }
745
745
  return t;
746
- }(pn);
746
+ }(mn);
747
747
  function He(e) {
748
- Ar(e);
748
+ Tr(e);
749
749
  }
750
- function Pr(e) {
750
+ function Mr(e) {
751
751
  throw e;
752
752
  }
753
- var Mr = {
753
+ var Hr = {
754
754
  closed: !0,
755
- next: Ht,
756
- error: Pr,
757
- complete: Ht
758
- }, Hr = function() {
755
+ next: Ot,
756
+ error: Mr,
757
+ complete: Ot
758
+ }, Or = function() {
759
759
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
760
760
  }();
761
- function Or(e) {
761
+ function Ir(e) {
762
762
  return e;
763
763
  }
764
- function Ir(e) {
765
- return e.length === 0 ? Or : e.length === 1 ? e[0] : function(n) {
764
+ function Nr(e) {
765
+ return e.length === 0 ? Ir : e.length === 1 ? e[0] : function(n) {
766
766
  return e.reduce(function(r, o) {
767
767
  return o(r);
768
768
  }, n);
769
769
  };
770
770
  }
771
- var Ot = function() {
771
+ var It = function() {
772
772
  function e(t) {
773
773
  t && (this._subscribe = t);
774
774
  }
@@ -776,7 +776,7 @@ var Ot = 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 = Lr(t) ? t : new ct(t, n, r);
779
+ var o = this, i = Rr(t) ? t : new ct(t, n, r);
780
780
  return Ne(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 Ot = function() {
789
789
  }
790
790
  }, e.prototype.forEach = function(t, n) {
791
791
  var r = this;
792
- return n = It(n), new n(function(o, i) {
792
+ return n = Nt(n), new n(function(o, i) {
793
793
  var s = new ct({
794
794
  next: function(a) {
795
795
  try {
@@ -806,15 +806,15 @@ var Ot = 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[Hr] = function() {
809
+ }, e.prototype[Or] = 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 Ir(t)(this);
814
+ return Nr(t)(this);
815
815
  }, e.prototype.toPromise = function(t) {
816
816
  var n = this;
817
- return t = It(t), new t(function(r, o) {
817
+ return t = Nt(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 Ot = function() {
828
828
  return new e(t);
829
829
  }, e;
830
830
  }();
831
- function It(e) {
831
+ function Nt(e) {
832
832
  var t;
833
- return (t = e ?? Cr.Promise) !== null && t !== void 0 ? t : Promise;
833
+ return (t = e ?? Sr.Promise) !== null && t !== void 0 ? t : Promise;
834
834
  }
835
- function Nr(e) {
835
+ function Lr(e) {
836
836
  return e && oe(e.next) && oe(e.error) && oe(e.complete);
837
837
  }
838
- function Lr(e) {
839
- return e && e instanceof pn || Nr(e) && dn(e);
838
+ function Rr(e) {
839
+ return e && e instanceof mn || Lr(e) && pn(e);
840
840
  }
841
- var Rr = hn(function(e) {
841
+ var Fr = fn(function(e) {
842
842
  return function() {
843
843
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
844
844
  };
845
- }), mn = function(e) {
845
+ }), bn = function(e) {
846
846
  Se(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 Nt(this, this);
852
+ var r = new Lt(this, this);
853
853
  return r.operator = n, r;
854
854
  }, t.prototype._throwIfClosed = function() {
855
855
  if (this.closed)
856
- throw new Rr();
856
+ throw new Fr();
857
857
  }, t.prototype.next = function(n) {
858
858
  var r = this;
859
859
  Ne(function() {
@@ -910,19 +910,19 @@ var Rr = hn(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 ? fn : (this.currentObservers = null, a.push(n), new Ge(function() {
913
+ return i || s ? dn : (this.currentObservers = null, a.push(n), new Ge(function() {
914
914
  r.currentObservers = null, lt(a, n);
915
915
  }));
916
916
  }, t.prototype._checkFinalizedStatuses = function(n) {
917
917
  var r = this, o = r.hasError, i = r.thrownError, s = r.isStopped;
918
918
  o ? n.error(i) : s && n.complete();
919
919
  }, t.prototype.asObservable = function() {
920
- var n = new Ot();
920
+ var n = new It();
921
921
  return n.source = this, n;
922
922
  }, t.create = function(n, r) {
923
- return new Nt(n, r);
923
+ return new Lt(n, r);
924
924
  }, t;
925
- }(Ot), Nt = function(e) {
925
+ }(It), Lt = function(e) {
926
926
  Se(t, e);
927
927
  function t(n, r) {
928
928
  var o = e.call(this) || this;
@@ -939,17 +939,17 @@ var Rr = hn(function(e) {
939
939
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
940
940
  }, t.prototype._subscribe = function(n) {
941
941
  var r, o;
942
- return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : fn;
942
+ return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : dn;
943
943
  }, t;
944
- }(mn), bn = {
944
+ }(bn), gn = {
945
945
  now: function() {
946
- return (bn.delegate || Date).now();
946
+ return (gn.delegate || Date).now();
947
947
  },
948
948
  delegate: void 0
949
- }, Fr = function(e) {
949
+ }, Ur = function(e) {
950
950
  Se(t, e);
951
951
  function t(n, r, o) {
952
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = bn);
952
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = gn);
953
953
  var i = e.call(this) || this;
954
954
  return i._bufferSize = n, i._windowTime = r, i._timestampProvider = o, i._buffer = [], i._infiniteTimeWindow = !0, i._infiniteTimeWindow = r === 1 / 0, i._bufferSize = Math.max(1, n), i._windowTime = Math.max(1, r), i;
955
955
  }
@@ -969,24 +969,24 @@ var Rr = hn(function(e) {
969
969
  l && i.splice(0, l + 1);
970
970
  }
971
971
  }, t;
972
- }(mn);
973
- const Lt = [], Rt = {}, Ur = (e, t = 0) => {
974
- if (Lt.indexOf(e) == -1) {
975
- const n = new Fr(t);
976
- Rt[e] = n, Lt.push(e);
972
+ }(bn);
973
+ const Rt = [], Ft = {}, $r = (e, t = 0) => {
974
+ if (Rt.indexOf(e) == -1) {
975
+ const n = new Ur(t);
976
+ Ft[e] = n, Rt.push(e);
977
977
  }
978
- return Rt[e];
978
+ return Ft[e];
979
979
  }, ce = [];
980
- function $r(e, t) {
980
+ function Dr(e, t) {
981
981
  return {
982
982
  subscribe: ke(e, t).subscribe
983
983
  };
984
984
  }
985
- function ke(e, t = Y) {
985
+ function ke(e, t = Q) {
986
986
  let n;
987
987
  const r = /* @__PURE__ */ new Set();
988
988
  function o(a) {
989
- if (an(e, a) && (e = a, n)) {
989
+ if (un(e, a) && (e = a, n)) {
990
990
  const u = !ce.length;
991
991
  for (const l of r)
992
992
  l[1](), ce.push(l, e);
@@ -1000,9 +1000,9 @@ function ke(e, t = Y) {
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
  }
@@ -1013,24 +1013,24 @@ function ve(e, t, n) {
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 $r(n, (s, a) => {
1016
+ return Dr(n, (s, a) => {
1017
1017
  let u = !1;
1018
1018
  const l = [];
1019
- let c = 0, f = Y;
1019
+ let c = 0, f = Q;
1020
1020
  const d = () => {
1021
1021
  if (c)
1022
1022
  return;
1023
1023
  f();
1024
- const y = t(r ? l[0] : l, s, a);
1025
- i ? s(y) : f = _t(y) ? y : Y;
1024
+ const _ = t(r ? l[0] : l, s, a);
1025
+ i ? s(_) : f = _t(_) ? _ : Q;
1026
1026
  }, p = o.map(
1027
- (y, g) => un(
1028
- y,
1029
- (b) => {
1030
- l[g] = b, c &= ~(1 << g), u && d();
1027
+ (_, y) => ln(
1028
+ _,
1029
+ (m) => {
1030
+ l[y] = m, c &= ~(1 << y), u && d();
1031
1031
  },
1032
1032
  () => {
1033
- c |= 1 << g;
1033
+ c |= 1 << y;
1034
1034
  }
1035
1035
  )
1036
1036
  );
@@ -1039,35 +1039,35 @@ function ve(e, t, n) {
1039
1039
  };
1040
1040
  });
1041
1041
  }
1042
- function Dr(e) {
1042
+ function Gr(e) {
1043
1043
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1044
1044
  }
1045
- var Gr = function(t) {
1046
- return kr(t) && !jr(t);
1045
+ var kr = function(t) {
1046
+ return jr(t) && !Wr(t);
1047
1047
  };
1048
- function kr(e) {
1048
+ function jr(e) {
1049
1049
  return !!e && typeof e == "object";
1050
1050
  }
1051
- function jr(e) {
1051
+ function Wr(e) {
1052
1052
  var t = Object.prototype.toString.call(e);
1053
- return t === "[object RegExp]" || t === "[object Date]" || zr(e);
1054
- }
1055
- var Wr = typeof Symbol == "function" && Symbol.for, Vr = Wr ? Symbol.for("react.element") : 60103;
1056
- function zr(e) {
1057
- return e.$$typeof === Vr;
1053
+ return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
1058
1054
  }
1055
+ var Vr = typeof Symbol == "function" && Symbol.for, zr = Vr ? Symbol.for("react.element") : 60103;
1059
1056
  function Xr(e) {
1057
+ return e.$$typeof === zr;
1058
+ }
1059
+ function qr(e) {
1060
1060
  return Array.isArray(e) ? [] : {};
1061
1061
  }
1062
1062
  function xe(e, t) {
1063
- return t.clone !== !1 && t.isMergeableObject(e) ? pe(Xr(e), e, t) : e;
1063
+ return t.clone !== !1 && t.isMergeableObject(e) ? pe(qr(e), e, t) : e;
1064
1064
  }
1065
1065
  function Zr(e, t, n) {
1066
1066
  return e.concat(t).map(function(r) {
1067
1067
  return xe(r, n);
1068
1068
  });
1069
1069
  }
1070
- function qr(e, t) {
1070
+ function Jr(e, t) {
1071
1071
  if (!t.customMerge)
1072
1072
  return pe;
1073
1073
  var n = t.customMerge(e);
@@ -1078,10 +1078,10 @@ function Qr(e) {
1078
1078
  return Object.propertyIsEnumerable.call(e, t);
1079
1079
  }) : [];
1080
1080
  }
1081
- function Ft(e) {
1081
+ function Ut(e) {
1082
1082
  return Object.keys(e).concat(Qr(e));
1083
1083
  }
1084
- function gn(e, t) {
1084
+ function vn(e, t) {
1085
1085
  try {
1086
1086
  return t in e;
1087
1087
  } catch {
@@ -1089,20 +1089,20 @@ function gn(e, t) {
1089
1089
  }
1090
1090
  }
1091
1091
  function Yr(e, t) {
1092
- return gn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1092
+ return vn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1093
1093
  }
1094
- function Jr(e, t, n) {
1094
+ function Kr(e, t, n) {
1095
1095
  var r = {};
1096
- return n.isMergeableObject(e) && Ft(e).forEach(function(o) {
1096
+ return n.isMergeableObject(e) && Ut(e).forEach(function(o) {
1097
1097
  r[o] = xe(e[o], n);
1098
- }), Ft(t).forEach(function(o) {
1099
- Yr(e, o) || (gn(e, o) && n.isMergeableObject(t[o]) ? r[o] = qr(o, n)(e[o], t[o], n) : r[o] = xe(t[o], n));
1098
+ }), Ut(t).forEach(function(o) {
1099
+ Yr(e, o) || (vn(e, o) && n.isMergeableObject(t[o]) ? r[o] = Jr(o, n)(e[o], t[o], n) : r[o] = xe(t[o], n));
1100
1100
  }), r;
1101
1101
  }
1102
1102
  function pe(e, t, n) {
1103
- n = n || {}, n.arrayMerge = n.arrayMerge || Zr, n.isMergeableObject = n.isMergeableObject || Gr, n.cloneUnlessOtherwiseSpecified = xe;
1103
+ n = n || {}, n.arrayMerge = n.arrayMerge || Zr, n.isMergeableObject = n.isMergeableObject || kr, n.cloneUnlessOtherwiseSpecified = xe;
1104
1104
  var r = Array.isArray(t), o = Array.isArray(e), i = r === o;
1105
- return i ? r ? n.arrayMerge(e, t, n) : Jr(e, t, n) : xe(t, n);
1105
+ return i ? r ? n.arrayMerge(e, t, n) : Kr(e, t, n) : xe(t, n);
1106
1106
  }
1107
1107
  pe.all = function(t, n) {
1108
1108
  if (!Array.isArray(t))
@@ -1111,8 +1111,8 @@ pe.all = function(t, n) {
1111
1111
  return pe(r, o, n);
1112
1112
  }, {});
1113
1113
  };
1114
- var Kr = pe, eo = Kr;
1115
- const to = /* @__PURE__ */ Dr(eo);
1114
+ var eo = pe, to = eo;
1115
+ const no = /* @__PURE__ */ Gr(to);
1116
1116
  var ht = function(e, t) {
1117
1117
  return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1118
1118
  n.__proto__ = r;
@@ -1130,17 +1130,17 @@ function je(e, t) {
1130
1130
  }
1131
1131
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
1132
1132
  }
1133
- var K = function() {
1134
- return K = Object.assign || function(t) {
1133
+ var ee = function() {
1134
+ return ee = Object.assign || function(t) {
1135
1135
  for (var n, r = 1, o = arguments.length; r < o; r++) {
1136
1136
  n = arguments[r];
1137
1137
  for (var i in n)
1138
1138
  Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1139
1139
  }
1140
1140
  return t;
1141
- }, K.apply(this, arguments);
1141
+ }, ee.apply(this, arguments);
1142
1142
  };
1143
- function no(e, t) {
1143
+ function ro(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]);
@@ -1149,43 +1149,43 @@ function no(e, t) {
1149
1149
  t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
1150
1150
  return n;
1151
1151
  }
1152
- function Qe(e, t, n) {
1152
+ function Je(e, t, n) {
1153
1153
  if (n || arguments.length === 2)
1154
1154
  for (var r = 0, o = t.length, i; r < o; r++)
1155
1155
  (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
1156
1156
  return e.concat(i || Array.prototype.slice.call(t));
1157
1157
  }
1158
- function Ye(e, t) {
1159
- var n = t && t.cache ? t.cache : lo, r = t && t.serializer ? t.serializer : ao, o = t && t.strategy ? t.strategy : io;
1158
+ function Qe(e, t) {
1159
+ var n = t && t.cache ? t.cache : co, r = t && t.serializer ? t.serializer : uo, o = t && t.strategy ? t.strategy : so;
1160
1160
  return o(e, {
1161
1161
  cache: n,
1162
1162
  serializer: r
1163
1163
  });
1164
1164
  }
1165
- function ro(e) {
1165
+ function oo(e) {
1166
1166
  return e == null || typeof e == "number" || typeof e == "boolean";
1167
1167
  }
1168
- function oo(e, t, n, r) {
1169
- var o = ro(r) ? r : n(r), i = t.get(o);
1168
+ function io(e, t, n, r) {
1169
+ var o = oo(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
- function vn(e, t, n) {
1172
+ function yn(e, t, n) {
1173
1173
  var r = Array.prototype.slice.call(arguments, 3), o = n(r), i = t.get(o);
1174
1174
  return typeof i > "u" && (i = e.apply(this, r), t.set(o, i)), i;
1175
1175
  }
1176
- function yn(e, t, n, r, o) {
1176
+ function _n(e, t, n, r, o) {
1177
1177
  return n.bind(t, e, r, o);
1178
1178
  }
1179
- function io(e, t) {
1180
- var n = e.length === 1 ? oo : vn;
1181
- return yn(e, this, n, t.cache.create(), t.serializer);
1182
- }
1183
1179
  function so(e, t) {
1184
- return yn(e, this, vn, t.cache.create(), t.serializer);
1180
+ var n = e.length === 1 ? io : yn;
1181
+ return _n(e, this, n, t.cache.create(), t.serializer);
1182
+ }
1183
+ function ao(e, t) {
1184
+ return _n(e, this, yn, t.cache.create(), t.serializer);
1185
1185
  }
1186
- var ao = function() {
1186
+ var uo = function() {
1187
1187
  return JSON.stringify(arguments);
1188
- }, uo = (
1188
+ }, lo = (
1189
1189
  /** @class */
1190
1190
  function() {
1191
1191
  function e() {
@@ -1197,12 +1197,12 @@ var ao = function() {
1197
1197
  this.cache[t] = n;
1198
1198
  }, e;
1199
1199
  }()
1200
- ), lo = {
1200
+ ), co = {
1201
1201
  create: function() {
1202
- return new uo();
1202
+ return new lo();
1203
1203
  }
1204
- }, Je = {
1205
- variadic: so
1204
+ }, Ye = {
1205
+ variadic: ao
1206
1206
  }, Ue = function() {
1207
1207
  return Ue = Object.assign || function(t) {
1208
1208
  for (var n, r = 1, o = arguments.length; r < o; r++) {
@@ -1217,51 +1217,51 @@ var 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 = {}));
1223
+ })(O || (O = {}));
1224
1224
  var me;
1225
1225
  (function(e) {
1226
1226
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1227
1227
  })(me || (me = {}));
1228
- function Ut(e) {
1229
- return e.type === H.literal;
1228
+ function $t(e) {
1229
+ return e.type === O.literal;
1230
1230
  }
1231
- function co(e) {
1232
- return e.type === H.argument;
1233
- }
1234
- function _n(e) {
1235
- return e.type === H.number;
1231
+ function ho(e) {
1232
+ return e.type === O.argument;
1236
1233
  }
1237
1234
  function Bn(e) {
1238
- return e.type === H.date;
1235
+ return e.type === O.number;
1239
1236
  }
1240
1237
  function En(e) {
1241
- return e.type === H.time;
1238
+ return e.type === O.date;
1242
1239
  }
1243
1240
  function wn(e) {
1244
- return e.type === H.select;
1241
+ return e.type === O.time;
1245
1242
  }
1246
1243
  function xn(e) {
1247
- return e.type === H.plural;
1248
- }
1249
- function ho(e) {
1250
- return e.type === H.pound;
1244
+ return e.type === O.select;
1251
1245
  }
1252
1246
  function Cn(e) {
1253
- return e.type === H.tag;
1247
+ return e.type === O.plural;
1248
+ }
1249
+ function fo(e) {
1250
+ return e.type === O.pound;
1254
1251
  }
1255
1252
  function Sn(e) {
1253
+ return e.type === O.tag;
1254
+ }
1255
+ function An(e) {
1256
1256
  return !!(e && typeof e == "object" && e.type === me.number);
1257
1257
  }
1258
1258
  function ft(e) {
1259
1259
  return !!(e && typeof e == "object" && e.type === me.dateTime);
1260
1260
  }
1261
- var An = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fo = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1262
- function po(e) {
1261
+ var Tn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, po = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1262
+ function mo(e) {
1263
1263
  var t = {};
1264
- return e.replace(fo, function(n) {
1264
+ return e.replace(po, function(n) {
1265
1265
  var r = n.length;
1266
1266
  switch (n[0]) {
1267
1267
  case "G":
@@ -1350,21 +1350,21 @@ function po(e) {
1350
1350
  return "";
1351
1351
  }), t;
1352
1352
  }
1353
- var O = function() {
1354
- return O = Object.assign || function(t) {
1353
+ var I = function() {
1354
+ return I = 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
+ }, I.apply(this, arguments);
1362
1362
  };
1363
- var mo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1364
- function bo(e) {
1363
+ var bo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1364
+ function go(e) {
1365
1365
  if (e.length === 0)
1366
1366
  throw new Error("Number skeleton cannot be empty");
1367
- for (var t = e.split(mo).filter(function(d) {
1367
+ for (var t = e.split(bo).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,17 +1379,17 @@ function bo(e) {
1379
1379
  }
1380
1380
  return n;
1381
1381
  }
1382
- function go(e) {
1382
+ function vo(e) {
1383
1383
  return e.replace(/^(.*?)-/, "");
1384
1384
  }
1385
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tn = /^(@+)?(\+|#+)?[rs]?$/g, vo = /(\*)(0+)|(#+)(0+)|(0+)/g, Pn = /^(0+)$/;
1386
- function Dt(e) {
1385
+ var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pn = /^(@+)?(\+|#+)?[rs]?$/g, yo = /(\*)(0+)|(#+)(0+)|(0+)/g, Mn = /^(0+)$/;
1386
+ function Gt(e) {
1387
1387
  var t = {};
1388
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tn, function(n, r, o) {
1388
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pn, function(n, r, o) {
1389
1389
  return typeof o != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : o === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof o == "string" ? o.length : 0)), "";
1390
1390
  }), t;
1391
1391
  }
1392
- function Mn(e) {
1392
+ function Hn(e) {
1393
1393
  switch (e) {
1394
1394
  case "sign-auto":
1395
1395
  return {
@@ -1429,7 +1429,7 @@ function Mn(e) {
1429
1429
  };
1430
1430
  }
1431
1431
  }
1432
- function yo(e) {
1432
+ function _o(e) {
1433
1433
  var t;
1434
1434
  if (e[0] === "E" && e[1] === "E" ? (t = {
1435
1435
  notation: "engineering"
@@ -1437,17 +1437,17 @@ function yo(e) {
1437
1437
  notation: "scientific"
1438
1438
  }, e = e.slice(1)), t) {
1439
1439
  var n = e.slice(0, 2);
1440
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pn.test(e))
1440
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mn.test(e))
1441
1441
  throw new Error("Malformed concise eng/scientific notation");
1442
1442
  t.minimumIntegerDigits = e.length;
1443
1443
  }
1444
1444
  return t;
1445
1445
  }
1446
- function Gt(e) {
1447
- var t = {}, n = Mn(e);
1446
+ function kt(e) {
1447
+ var t = {}, n = Hn(e);
1448
1448
  return n || t;
1449
1449
  }
1450
- function _o(e) {
1450
+ function Bo(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 _o(e) {
1471
1471
  continue;
1472
1472
  case "measure-unit":
1473
1473
  case "unit":
1474
- t.style = "unit", t.unit = go(o.options[0]);
1474
+ t.style = "unit", t.unit = vo(o.options[0]);
1475
1475
  continue;
1476
1476
  case "compact-short":
1477
1477
  case "K":
@@ -1482,13 +1482,13 @@ function _o(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), Gt(l));
1485
+ t = I(I(I({}, t), { notation: "scientific" }), o.options.reduce(function(u, l) {
1486
+ return I(I({}, u), kt(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), Gt(l));
1490
+ t = I(I(I({}, t), { notation: "engineering" }), o.options.reduce(function(u, l) {
1491
+ return I(I({}, u), kt(l));
1492
1492
  }, {}));
1493
1493
  continue;
1494
1494
  case "notation-simple":
@@ -1533,7 +1533,7 @@ function _o(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(vo, function(u, l, c, f, d, p) {
1536
+ o.options[0].replace(yo, function(u, l, c, f, d, p) {
1537
1537
  if (l)
1538
1538
  t.minimumIntegerDigits = c.length;
1539
1539
  else {
@@ -1546,28 +1546,28 @@ function _o(e) {
1546
1546
  });
1547
1547
  continue;
1548
1548
  }
1549
- if (Pn.test(o.stem)) {
1549
+ if (Mn.test(o.stem)) {
1550
1550
  t.minimumIntegerDigits = o.stem.length;
1551
1551
  continue;
1552
1552
  }
1553
- if ($t.test(o.stem)) {
1553
+ if (Dt.test(o.stem)) {
1554
1554
  if (o.options.length > 1)
1555
1555
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1556
- o.stem.replace($t, function(u, l, c, f, d, p) {
1556
+ o.stem.replace(Dt, function(u, l, c, f, d, p) {
1557
1557
  return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && p ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + p.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), Dt(i)));
1560
+ i === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = I(I({}, t), Gt(i)));
1561
1561
  continue;
1562
1562
  }
1563
- if (Tn.test(o.stem)) {
1564
- t = O(O({}, t), Dt(o.stem));
1563
+ if (Pn.test(o.stem)) {
1564
+ t = I(I({}, t), Gt(o.stem));
1565
1565
  continue;
1566
1566
  }
1567
- var s = Mn(o.stem);
1568
- s && (t = O(O({}, t), s));
1569
- var a = yo(o.stem);
1570
- a && (t = O(O({}, t), a));
1567
+ var s = Hn(o.stem);
1568
+ s && (t = I(I({}, t), s));
1569
+ var a = _o(o.stem);
1570
+ a && (t = I(I({}, t), a));
1571
1571
  }
1572
1572
  return t;
1573
1573
  }
@@ -2986,13 +2986,13 @@ var Oe = {
2986
2986
  "h"
2987
2987
  ]
2988
2988
  };
2989
- function Bo(e, t) {
2989
+ function Eo(e, t) {
2990
2990
  for (var n = "", r = 0; r < e.length; r++) {
2991
2991
  var o = e.charAt(r);
2992
2992
  if (o === "j") {
2993
2993
  for (var i = 0; r + 1 < e.length && e.charAt(r + 1) === o; )
2994
2994
  i++, r++;
2995
- var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = Eo(t);
2995
+ var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = wo(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 Bo(e, t) {
3002
3002
  }
3003
3003
  return n;
3004
3004
  }
3005
- function Eo(e) {
3005
+ function wo(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 Eo(e) {
3024
3024
  var o = Oe[r || ""] || Oe[n || ""] || Oe["".concat(n, "-001")] || Oe["001"];
3025
3025
  return o[0];
3026
3026
  }
3027
- var Ke, wo = new RegExp("^".concat(An.source, "*")), xo = new RegExp("".concat(An.source, "*$"));
3027
+ var Ke, xo = new RegExp("^".concat(Tn.source, "*")), Co = new RegExp("".concat(Tn.source, "*$"));
3028
3028
  function S(e, t) {
3029
3029
  return { start: e, end: t };
3030
3030
  }
3031
- var Co = !!String.prototype.startsWith && "_a".startsWith("a", 1), So = !!String.fromCodePoint, Ao = !!Object.fromEntries, To = !!String.prototype.codePointAt, Po = !!String.prototype.trimStart, Mo = !!String.prototype.trimEnd, Ho = !!Number.isSafeInteger, Oo = Ho ? Number.isSafeInteger : function(e) {
3031
+ var So = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ao = !!String.fromCodePoint, To = !!Object.fromEntries, Po = !!String.prototype.codePointAt, Mo = !!String.prototype.trimStart, Ho = !!String.prototype.trimEnd, Oo = !!Number.isSafeInteger, Io = Oo ? Number.isSafeInteger : function(e) {
3032
3032
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3033
3033
  }, dt = !0;
3034
3034
  try {
3035
- var Io = On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3036
- dt = ((Ke = Io.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3035
+ var No = In("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3036
+ dt = ((Ke = No.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3037
3037
  } catch {
3038
3038
  dt = !1;
3039
3039
  }
3040
- var kt = Co ? (
3040
+ var jt = So ? (
3041
3041
  // Native
3042
3042
  function(t, n, r) {
3043
3043
  return t.startsWith(n, r);
@@ -3047,7 +3047,7 @@ var kt = Co ? (
3047
3047
  function(t, n, r) {
3048
3048
  return t.slice(r, r + n.length) === n;
3049
3049
  }
3050
- ), pt = So ? String.fromCodePoint : (
3050
+ ), pt = Ao ? String.fromCodePoint : (
3051
3051
  // IE11
3052
3052
  function() {
3053
3053
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3059,9 +3059,9 @@ var kt = Co ? (
3059
3059
  }
3060
3060
  return r;
3061
3061
  }
3062
- ), jt = (
3062
+ ), Wt = (
3063
3063
  // native
3064
- Ao ? Object.fromEntries : (
3064
+ To ? 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 kt = Co ? (
3071
3071
  return n;
3072
3072
  }
3073
3073
  )
3074
- ), Hn = To ? (
3074
+ ), On = Po ? (
3075
3075
  // Native
3076
3076
  function(t, n) {
3077
3077
  return t.codePointAt(n);
@@ -3085,7 +3085,7 @@ var kt = Co ? (
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
- ), No = Po ? (
3088
+ ), Lo = Mo ? (
3089
3089
  // Native
3090
3090
  function(t) {
3091
3091
  return t.trimStart();
@@ -3093,9 +3093,9 @@ var kt = Co ? (
3093
3093
  ) : (
3094
3094
  // Ponyfill
3095
3095
  function(t) {
3096
- return t.replace(wo, "");
3096
+ return t.replace(xo, "");
3097
3097
  }
3098
- ), Lo = Mo ? (
3098
+ ), Ro = Ho ? (
3099
3099
  // Native
3100
3100
  function(t) {
3101
3101
  return t.trimEnd();
@@ -3103,32 +3103,32 @@ var kt = Co ? (
3103
3103
  ) : (
3104
3104
  // Ponyfill
3105
3105
  function(t) {
3106
- return t.replace(xo, "");
3106
+ return t.replace(Co, "");
3107
3107
  }
3108
3108
  );
3109
- function On(e, t) {
3109
+ function In(e, t) {
3110
3110
  return new RegExp(e, t);
3111
3111
  }
3112
3112
  var mt;
3113
3113
  if (dt) {
3114
- var Wt = On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
+ var Vt = In("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3115
3115
  mt = function(t, n) {
3116
3116
  var r;
3117
- Wt.lastIndex = n;
3118
- var o = Wt.exec(t);
3117
+ Vt.lastIndex = n;
3118
+ var o = Vt.exec(t);
3119
3119
  return (r = o[1]) !== null && r !== void 0 ? r : "";
3120
3120
  };
3121
3121
  } else
3122
3122
  mt = function(t, n) {
3123
3123
  for (var r = []; ; ) {
3124
- var o = Hn(t, n);
3125
- if (o === void 0 || In(o) || $o(o))
3124
+ var o = On(t, n);
3125
+ if (o === void 0 || Nn(o) || Do(o))
3126
3126
  break;
3127
3127
  r.push(o), n += o >= 65536 ? 2 : 1;
3128
3128
  }
3129
3129
  return pt.apply(void 0, r);
3130
3130
  };
3131
- var Ro = (
3131
+ var Fo = (
3132
3132
  /** @class */
3133
3133
  function() {
3134
3134
  function e(t, n) {
@@ -3152,7 +3152,7 @@ var Ro = (
3152
3152
  if (i === 35 && (n === "plural" || n === "selectordinal")) {
3153
3153
  var a = this.clonePosition();
3154
3154
  this.bump(), o.push({
3155
- type: H.pound,
3155
+ type: O.pound,
3156
3156
  location: S(a, this.clonePosition())
3157
3157
  });
3158
3158
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -3180,7 +3180,7 @@ var Ro = (
3180
3180
  if (this.bumpSpace(), this.bumpIf("/>"))
3181
3181
  return {
3182
3182
  val: {
3183
- type: H.literal,
3183
+ type: O.literal,
3184
3184
  value: "<".concat(o, "/>"),
3185
3185
  location: S(r, this.clonePosition())
3186
3186
  },
@@ -3197,7 +3197,7 @@ var Ro = (
3197
3197
  var u = this.clonePosition(), l = this.parseTagName();
3198
3198
  return o !== l ? this.error(C.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3199
3199
  val: {
3200
- type: H.tag,
3200
+ type: O.tag,
3201
3201
  value: o,
3202
3202
  children: s,
3203
3203
  location: S(r, this.clonePosition())
@@ -3210,7 +3210,7 @@ var Ro = (
3210
3210
  return this.error(C.INVALID_TAG, S(r, this.clonePosition()));
3211
3211
  }, e.prototype.parseTagName = function() {
3212
3212
  var t = this.offset();
3213
- for (this.bump(); !this.isEOF() && Uo(this.char()); )
3213
+ for (this.bump(); !this.isEOF() && $o(this.char()); )
3214
3214
  this.bump();
3215
3215
  return this.message.slice(t, this.offset());
3216
3216
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3234,12 +3234,12 @@ var Ro = (
3234
3234
  }
3235
3235
  var u = S(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
- !Fo(this.peek() || 0)) ? (this.bump(), "<") : null;
3242
+ !Uo(this.peek() || 0)) ? (this.bump(), "<") : null;
3243
3243
  }, e.prototype.tryParseQuote = function(t) {
3244
3244
  if (this.isEOF() || this.char() !== 39)
3245
3245
  return null;
@@ -3294,7 +3294,7 @@ var Ro = (
3294
3294
  case 125:
3295
3295
  return this.bump(), {
3296
3296
  val: {
3297
- type: H.argument,
3297
+ type: O.argument,
3298
3298
  // value does not include the opening and closing braces.
3299
3299
  value: o,
3300
3300
  location: S(r, this.clonePosition())
@@ -3326,46 +3326,46 @@ var Ro = (
3326
3326
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3327
3327
  if (f.err)
3328
3328
  return f;
3329
- var d = Lo(f.val);
3329
+ var d = Ro(f.val);
3330
3330
  if (d.length === 0)
3331
3331
  return this.error(C.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3332
3332
  var p = S(c, this.clonePosition());
3333
3333
  l = { style: d, styleLocation: p };
3334
3334
  }
3335
- var y = this.tryParseArgumentClose(o);
3336
- if (y.err)
3337
- return y;
3338
- var g = S(o, this.clonePosition());
3339
- if (l && kt(l?.style, "::", 0)) {
3340
- var b = No(l.style.slice(2));
3335
+ var _ = this.tryParseArgumentClose(o);
3336
+ if (_.err)
3337
+ return _;
3338
+ var y = S(o, this.clonePosition());
3339
+ if (l && jt(l?.style, "::", 0)) {
3340
+ var m = Lo(l.style.slice(2));
3341
3341
  if (a === "number") {
3342
- var f = this.parseNumberSkeletonFromString(b, l.styleLocation);
3342
+ var f = this.parseNumberSkeletonFromString(m, l.styleLocation);
3343
3343
  return f.err ? f : {
3344
- val: { type: H.number, value: r, location: g, style: f.val },
3344
+ val: { type: O.number, value: r, location: y, style: f.val },
3345
3345
  err: null
3346
3346
  };
3347
3347
  } else {
3348
- if (b.length === 0)
3349
- return this.error(C.EXPECT_DATE_TIME_SKELETON, g);
3350
- var E = b;
3351
- this.locale && (E = Bo(b, this.locale));
3348
+ if (m.length === 0)
3349
+ return this.error(C.EXPECT_DATE_TIME_SKELETON, y);
3350
+ var B = m;
3351
+ this.locale && (B = Eo(m, this.locale));
3352
3352
  var d = {
3353
3353
  type: me.dateTime,
3354
- pattern: E,
3354
+ pattern: B,
3355
3355
  location: l.styleLocation,
3356
- parsedOptions: this.shouldParseSkeletons ? po(E) : {}
3357
- }, m = a === "date" ? H.date : H.time;
3356
+ parsedOptions: this.shouldParseSkeletons ? mo(B) : {}
3357
+ }, b = a === "date" ? O.date : O.time;
3358
3358
  return {
3359
- val: { type: m, value: r, location: g, style: d },
3359
+ val: { type: b, value: r, location: y, style: d },
3360
3360
  err: null
3361
3361
  };
3362
3362
  }
3363
3363
  }
3364
3364
  return {
3365
3365
  val: {
3366
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3366
+ type: a === "number" ? O.number : a === "date" ? O.date : O.time,
3367
3367
  value: r,
3368
- location: g,
3368
+ location: y,
3369
3369
  style: (i = l?.style) !== null && i !== void 0 ? i : null
3370
3370
  },
3371
3371
  err: null
@@ -3374,41 +3374,41 @@ var Ro = (
3374
3374
  case "plural":
3375
3375
  case "selectordinal":
3376
3376
  case "select": {
3377
- var B = this.clonePosition();
3377
+ var v = this.clonePosition();
3378
3378
  if (this.bumpSpace(), !this.bumpIf(","))
3379
- return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, S(B, Ue({}, B)));
3379
+ return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, S(v, Ue({}, v)));
3380
3380
  this.bumpSpace();
3381
- var k = this.parseIdentifierIfPossible(), N = 0;
3382
- if (a !== "select" && k.value === "offset") {
3381
+ var j = this.parseIdentifierIfPossible(), R = 0;
3382
+ if (a !== "select" && j.value === "offset") {
3383
3383
  if (!this.bumpIf(":"))
3384
3384
  return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3385
3385
  this.bumpSpace();
3386
3386
  var f = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3387
3387
  if (f.err)
3388
3388
  return f;
3389
- this.bumpSpace(), k = this.parseIdentifierIfPossible(), N = f.val;
3389
+ this.bumpSpace(), j = this.parseIdentifierIfPossible(), R = f.val;
3390
3390
  }
3391
- var j = this.tryParsePluralOrSelectOptions(t, a, n, k);
3392
- if (j.err)
3393
- return j;
3394
- var y = this.tryParseArgumentClose(o);
3395
- if (y.err)
3396
- return y;
3391
+ var X = this.tryParsePluralOrSelectOptions(t, a, n, j);
3392
+ if (X.err)
3393
+ return X;
3394
+ var _ = this.tryParseArgumentClose(o);
3395
+ if (_.err)
3396
+ return _;
3397
3397
  var Z = S(o, this.clonePosition());
3398
3398
  return a === "select" ? {
3399
3399
  val: {
3400
- type: H.select,
3400
+ type: O.select,
3401
3401
  value: r,
3402
- options: jt(j.val),
3402
+ options: Wt(X.val),
3403
3403
  location: Z
3404
3404
  },
3405
3405
  err: null
3406
3406
  } : {
3407
3407
  val: {
3408
- type: H.plural,
3408
+ type: O.plural,
3409
3409
  value: r,
3410
- options: jt(j.val),
3411
- offset: N,
3410
+ options: Wt(X.val),
3411
+ offset: R,
3412
3412
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3413
3413
  location: Z
3414
3414
  },
@@ -3458,7 +3458,7 @@ var Ro = (
3458
3458
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3459
3459
  var r = [];
3460
3460
  try {
3461
- r = bo(t);
3461
+ r = go(t);
3462
3462
  } catch {
3463
3463
  return this.error(C.INVALID_NUMBER_SKELETON, n);
3464
3464
  }
@@ -3467,7 +3467,7 @@ var Ro = (
3467
3467
  type: me.number,
3468
3468
  tokens: r,
3469
3469
  location: n,
3470
- parsedOptions: this.shouldParseSkeletons ? _o(r) : {}
3470
+ parsedOptions: this.shouldParseSkeletons ? Bo(r) : {}
3471
3471
  },
3472
3472
  err: null
3473
3473
  };
@@ -3489,16 +3489,16 @@ var Ro = (
3489
3489
  var p = this.clonePosition();
3490
3490
  if (!this.bumpIf("{"))
3491
3491
  return this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : C.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3492
- var y = this.parseMessage(t + 1, n, r);
3492
+ var _ = this.parseMessage(t + 1, n, r);
3493
+ if (_.err)
3494
+ return _;
3495
+ var y = this.tryParseArgumentClose(p);
3493
3496
  if (y.err)
3494
3497
  return y;
3495
- var g = this.tryParseArgumentClose(p);
3496
- if (g.err)
3497
- return g;
3498
3498
  a.push([
3499
3499
  l,
3500
3500
  {
3501
- value: y.val,
3501
+ value: _.val,
3502
3502
  location: S(p, this.clonePosition())
3503
3503
  }
3504
3504
  ]), u.add(l), this.bumpSpace(), i = this.parseIdentifierIfPossible(), l = i.value, c = i.location;
@@ -3515,7 +3515,7 @@ var Ro = (
3515
3515
  break;
3516
3516
  }
3517
3517
  var u = S(o, this.clonePosition());
3518
- return i ? (s *= r, Oo(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3518
+ return i ? (s *= r, Io(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3519
3519
  }, e.prototype.offset = function() {
3520
3520
  return this.position.offset;
3521
3521
  }, e.prototype.isEOF = function() {
@@ -3530,7 +3530,7 @@ var Ro = (
3530
3530
  var t = this.position.offset;
3531
3531
  if (t >= this.message.length)
3532
3532
  throw Error("out of bound");
3533
- var n = Hn(this.message, t);
3533
+ var n = On(this.message, t);
3534
3534
  if (n === void 0)
3535
3535
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3536
3536
  return n;
@@ -3549,7 +3549,7 @@ var Ro = (
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 (kt(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 Ro = (
3571
3571
  break;
3572
3572
  }
3573
3573
  }, e.prototype.bumpSpace = function() {
3574
- for (; !this.isEOF() && In(this.char()); )
3574
+ for (; !this.isEOF() && Nn(this.char()); )
3575
3575
  this.bump();
3576
3576
  }, e.prototype.peek = function() {
3577
3577
  if (this.isEOF())
@@ -3584,30 +3584,30 @@ var Ro = (
3584
3584
  function bt(e) {
3585
3585
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3586
3586
  }
3587
- function Fo(e) {
3587
+ function Uo(e) {
3588
3588
  return bt(e) || e === 47;
3589
3589
  }
3590
- function Uo(e) {
3590
+ function $o(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 In(e) {
3593
+ function Nn(e) {
3594
3594
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3595
3595
  }
3596
- function $o(e) {
3596
+ function Do(e) {
3597
3597
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3598
3598
  }
3599
3599
  function gt(e) {
3600
3600
  e.forEach(function(t) {
3601
- if (delete t.location, wn(t) || xn(t))
3601
+ if (delete t.location, xn(t) || Cn(t))
3602
3602
  for (var n in t.options)
3603
3603
  delete t.options[n].location, gt(t.options[n].value);
3604
3604
  else
3605
- _n(t) && Sn(t.style) || (Bn(t) || En(t)) && ft(t.style) ? delete t.style.location : Cn(t) && gt(t.children);
3605
+ Bn(t) && An(t.style) || (En(t) || wn(t)) && ft(t.style) ? delete t.style.location : Sn(t) && gt(t.children);
3606
3606
  });
3607
3607
  }
3608
- function Do(e, t) {
3608
+ function Go(e, t) {
3609
3609
  t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3610
- var n = new Ro(e, t).parse();
3610
+ var n = new Fo(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;
@@ -3630,7 +3630,7 @@ var We = (
3630
3630
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3631
3631
  }, t;
3632
3632
  }(Error)
3633
- ), Vt = (
3633
+ ), zt = (
3634
3634
  /** @class */
3635
3635
  function(e) {
3636
3636
  je(t, e);
@@ -3639,7 +3639,7 @@ var We = (
3639
3639
  }
3640
3640
  return t;
3641
3641
  }(We)
3642
- ), Go = (
3642
+ ), ko = (
3643
3643
  /** @class */
3644
3644
  function(e) {
3645
3645
  je(t, e);
@@ -3648,7 +3648,7 @@ var We = (
3648
3648
  }
3649
3649
  return t;
3650
3650
  }(We)
3651
- ), ko = (
3651
+ ), jo = (
3652
3652
  /** @class */
3653
3653
  function(e) {
3654
3654
  je(t, e);
@@ -3657,126 +3657,126 @@ var We = (
3657
3657
  }
3658
3658
  return t;
3659
3659
  }(We)
3660
- ), z;
3660
+ ), V;
3661
3661
  (function(e) {
3662
3662
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3663
- })(z || (z = {}));
3664
- function jo(e) {
3663
+ })(V || (V = {}));
3664
+ function Wo(e) {
3665
3665
  return e.length < 2 ? e : e.reduce(function(t, n) {
3666
3666
  var r = t[t.length - 1];
3667
- return !r || r.type !== z.literal || n.type !== z.literal ? t.push(n) : r.value += n.value, t;
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 Wo(e) {
3670
+ function Vo(e) {
3671
3671
  return typeof e == "function";
3672
3672
  }
3673
3673
  function Le(e, t, n, r, o, i, s) {
3674
- if (e.length === 1 && Ut(e[0]))
3674
+ if (e.length === 1 && $t(e[0]))
3675
3675
  return [
3676
3676
  {
3677
- type: z.literal,
3677
+ type: V.literal,
3678
3678
  value: e[0].value
3679
3679
  }
3680
3680
  ];
3681
3681
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3682
3682
  var c = l[u];
3683
- if (Ut(c)) {
3683
+ if ($t(c)) {
3684
3684
  a.push({
3685
- type: z.literal,
3685
+ type: V.literal,
3686
3686
  value: c.value
3687
3687
  });
3688
3688
  continue;
3689
3689
  }
3690
- if (ho(c)) {
3690
+ if (fo(c)) {
3691
3691
  typeof i == "number" && a.push({
3692
- type: z.literal,
3692
+ type: V.literal,
3693
3693
  value: n.getNumberFormat(t).format(i)
3694
3694
  });
3695
3695
  continue;
3696
3696
  }
3697
3697
  var f = c.value;
3698
3698
  if (!(o && f in o))
3699
- throw new ko(f, s);
3699
+ throw new jo(f, s);
3700
3700
  var d = o[f];
3701
- if (co(c)) {
3701
+ if (ho(c)) {
3702
3702
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3703
- type: typeof d == "string" ? z.literal : z.object,
3703
+ type: typeof d == "string" ? V.literal : V.object,
3704
3704
  value: d
3705
3705
  });
3706
3706
  continue;
3707
3707
  }
3708
- if (Bn(c)) {
3708
+ if (En(c)) {
3709
3709
  var p = typeof c.style == "string" ? r.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3710
3710
  a.push({
3711
- type: z.literal,
3711
+ type: V.literal,
3712
3712
  value: n.getDateTimeFormat(t, p).format(d)
3713
3713
  });
3714
3714
  continue;
3715
3715
  }
3716
- if (En(c)) {
3716
+ if (wn(c)) {
3717
3717
  var p = typeof c.style == "string" ? r.time[c.style] : ft(c.style) ? c.style.parsedOptions : r.time.medium;
3718
3718
  a.push({
3719
- type: z.literal,
3719
+ type: V.literal,
3720
3720
  value: n.getDateTimeFormat(t, p).format(d)
3721
3721
  });
3722
3722
  continue;
3723
3723
  }
3724
- if (_n(c)) {
3725
- var p = typeof c.style == "string" ? r.number[c.style] : Sn(c.style) ? c.style.parsedOptions : void 0;
3724
+ if (Bn(c)) {
3725
+ var p = typeof c.style == "string" ? r.number[c.style] : An(c.style) ? c.style.parsedOptions : void 0;
3726
3726
  p && p.scale && (d = d * (p.scale || 1)), a.push({
3727
- type: z.literal,
3727
+ type: V.literal,
3728
3728
  value: n.getNumberFormat(t, p).format(d)
3729
3729
  });
3730
3730
  continue;
3731
3731
  }
3732
- if (Cn(c)) {
3733
- var y = c.children, g = c.value, b = o[g];
3734
- if (!Wo(b))
3735
- throw new Go(g, "function", s);
3736
- var E = Le(y, t, n, r, o, i), m = b(E.map(function(N) {
3737
- return N.value;
3732
+ if (Sn(c)) {
3733
+ var _ = c.children, y = c.value, m = o[y];
3734
+ if (!Vo(m))
3735
+ throw new ko(y, "function", s);
3736
+ var B = Le(_, t, n, r, o, i), b = m(B.map(function(R) {
3737
+ return R.value;
3738
3738
  }));
3739
- Array.isArray(m) || (m = [m]), a.push.apply(a, m.map(function(N) {
3739
+ Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(R) {
3740
3740
  return {
3741
- type: typeof N == "string" ? z.literal : z.object,
3742
- value: N
3741
+ type: typeof R == "string" ? V.literal : V.object,
3742
+ value: R
3743
3743
  };
3744
3744
  }));
3745
3745
  }
3746
- if (wn(c)) {
3747
- var B = c.options[d] || c.options.other;
3748
- if (!B)
3749
- throw new Vt(c.value, d, Object.keys(c.options), s);
3750
- a.push.apply(a, Le(B.value, t, n, r, o));
3746
+ if (xn(c)) {
3747
+ var v = c.options[d] || c.options.other;
3748
+ if (!v)
3749
+ throw new zt(c.value, d, Object.keys(c.options), s);
3750
+ a.push.apply(a, Le(v.value, t, n, r, o));
3751
3751
  continue;
3752
3752
  }
3753
- if (xn(c)) {
3754
- var B = c.options["=".concat(d)];
3755
- if (!B) {
3753
+ if (Cn(c)) {
3754
+ var v = c.options["=".concat(d)];
3755
+ if (!v) {
3756
3756
  if (!Intl.PluralRules)
3757
3757
  throw new We(`Intl.PluralRules is not available in this environment.
3758
3758
  Try polyfilling it using "@formatjs/intl-pluralrules"
3759
3759
  `, be.MISSING_INTL_API, s);
3760
- var k = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3761
- B = c.options[k] || c.options.other;
3760
+ var j = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3761
+ v = c.options[j] || c.options.other;
3762
3762
  }
3763
- if (!B)
3764
- throw new Vt(c.value, d, Object.keys(c.options), s);
3765
- a.push.apply(a, Le(B.value, t, n, r, o, d - (c.offset || 0)));
3763
+ if (!v)
3764
+ throw new zt(c.value, d, Object.keys(c.options), s);
3765
+ a.push.apply(a, Le(v.value, t, n, r, o, d - (c.offset || 0)));
3766
3766
  continue;
3767
3767
  }
3768
3768
  }
3769
- return jo(a);
3769
+ return Wo(a);
3770
3770
  }
3771
- function Vo(e, t) {
3772
- return t ? K(K(K({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3773
- return n[r] = K(K({}, e[r]), t[r] || {}), n;
3771
+ function zo(e, t) {
3772
+ return t ? ee(ee(ee({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3773
+ return n[r] = ee(ee({}, e[r]), t[r] || {}), n;
3774
3774
  }, {})) : e;
3775
3775
  }
3776
- function zo(e, t) {
3776
+ function Xo(e, t) {
3777
3777
  return t ? Object.keys(e).reduce(function(n, r) {
3778
- return n[r] = Vo(e[r], t[r]), n;
3779
- }, K({}, e)) : e;
3778
+ return n[r] = zo(e[r], t[r]), n;
3779
+ }, ee({}, e)) : e;
3780
3780
  }
3781
3781
  function et(e) {
3782
3782
  return {
@@ -3792,35 +3792,35 @@ function et(e) {
3792
3792
  }
3793
3793
  };
3794
3794
  }
3795
- function Xo(e) {
3795
+ function qo(e) {
3796
3796
  return e === void 0 && (e = {
3797
3797
  number: {},
3798
3798
  dateTime: {},
3799
3799
  pluralRules: {}
3800
3800
  }), {
3801
- getNumberFormat: Ye(function() {
3801
+ getNumberFormat: Qe(function() {
3802
3802
  for (var t, n = [], r = 0; r < arguments.length; r++)
3803
3803
  n[r] = arguments[r];
3804
- return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], n, !1)))();
3804
+ return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], n, !1)))();
3805
3805
  }, {
3806
3806
  cache: et(e.number),
3807
- strategy: Je.variadic
3807
+ strategy: Ye.variadic
3808
3808
  }),
3809
- getDateTimeFormat: Ye(function() {
3809
+ getDateTimeFormat: Qe(function() {
3810
3810
  for (var t, n = [], r = 0; r < arguments.length; r++)
3811
3811
  n[r] = arguments[r];
3812
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], n, !1)))();
3812
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], n, !1)))();
3813
3813
  }, {
3814
3814
  cache: et(e.dateTime),
3815
- strategy: Je.variadic
3815
+ strategy: Ye.variadic
3816
3816
  }),
3817
- getPluralRules: Ye(function() {
3817
+ getPluralRules: Qe(function() {
3818
3818
  for (var t, n = [], r = 0; r < arguments.length; r++)
3819
3819
  n[r] = arguments[r];
3820
- return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], n, !1)))();
3820
+ return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], n, !1)))();
3821
3821
  }, {
3822
3822
  cache: et(e.pluralRules),
3823
- strategy: Je.variadic
3823
+ strategy: Ye.variadic
3824
3824
  })
3825
3825
  };
3826
3826
  }
@@ -3839,7 +3839,7 @@ var Zo = (
3839
3839
  if (l.length === 1)
3840
3840
  return l[0].value;
3841
3841
  var c = l.reduce(function(f, d) {
3842
- return !f.length || d.type !== z.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3842
+ return !f.length || d.type !== V.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3843
3843
  }, []);
3844
3844
  return c.length <= 1 ? c[0] || "" : c;
3845
3845
  }, this.formatToParts = function(u) {
@@ -3856,13 +3856,13 @@ var Zo = (
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 = no(s, ["formatters"]);
3860
- this.ast = e.__parse(t, K(K({}, a), { locale: this.resolvedLocale }));
3859
+ var a = ro(s, ["formatters"]);
3860
+ this.ast = e.__parse(t, ee(ee({}, 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 = zo(e.formats, r), this.formatters = o && o.formatters || Xo(this.formatterCache);
3865
+ this.formats = Xo(e.formats, r), this.formatters = o && o.formatters || qo(this.formatterCache);
3866
3866
  }
3867
3867
  return Object.defineProperty(e, "defaultLocale", {
3868
3868
  get: function() {
@@ -3875,7 +3875,7 @@ var Zo = (
3875
3875
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3876
3876
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3877
3877
  }
3878
- }, e.__parse = Do, e.formats = {
3878
+ }, e.__parse = Go, e.formats = {
3879
3879
  number: {
3880
3880
  integer: {
3881
3881
  maximumFractionDigits: 0
@@ -3936,7 +3936,7 @@ var Zo = (
3936
3936
  }, e;
3937
3937
  }()
3938
3938
  );
3939
- function qo(e, t) {
3939
+ function Jo(e, t) {
3940
3940
  if (t == null)
3941
3941
  return;
3942
3942
  if (t in e)
@@ -3957,14 +3957,14 @@ function qo(e, t) {
3957
3957
  r = void 0;
3958
3958
  return r;
3959
3959
  }
3960
- const ie = {}, Qo = (e, t, n) => n && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = n), n), Nn = (e, t) => {
3960
+ const ie = {}, Qo = (e, t, n) => n && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = n), n), Ln = (e, t) => {
3961
3961
  if (t == null)
3962
3962
  return;
3963
3963
  if (t in ie && e in ie[t])
3964
3964
  return ie[t][e];
3965
3965
  const n = Ve(t);
3966
3966
  for (let r = 0; r < n.length; r++) {
3967
- const o = n[r], i = Jo(o, e);
3967
+ const o = n[r], i = Ko(o, e);
3968
3968
  if (i)
3969
3969
  return Qo(e, t, i);
3970
3970
  }
@@ -3974,27 +3974,27 @@ const Ae = ke({});
3974
3974
  function Yo(e) {
3975
3975
  return Et[e] || null;
3976
3976
  }
3977
- function Ln(e) {
3977
+ function Rn(e) {
3978
3978
  return e in Et;
3979
3979
  }
3980
- function Jo(e, t) {
3981
- if (!Ln(e))
3980
+ function Ko(e, t) {
3981
+ if (!Rn(e))
3982
3982
  return null;
3983
3983
  const n = Yo(e);
3984
- return qo(n, t);
3984
+ return Jo(n, t);
3985
3985
  }
3986
- function Ko(e) {
3986
+ function ei(e) {
3987
3987
  if (e == null)
3988
3988
  return;
3989
3989
  const t = Ve(e);
3990
3990
  for (let n = 0; n < t.length; n++) {
3991
3991
  const r = t[n];
3992
- if (Ln(r))
3992
+ if (Rn(r))
3993
3993
  return r;
3994
3994
  }
3995
3995
  }
3996
- function Rn(e, ...t) {
3997
- delete ie[e], Ae.update((n) => (n[e] = to.all([n[e] || {}, ...t]), n));
3996
+ function Fn(e, ...t) {
3997
+ delete ie[e], Ae.update((n) => (n[e] = no.all([n[e] || {}, ...t]), n));
3998
3998
  }
3999
3999
  ve(
4000
4000
  [Ae],
@@ -4002,15 +4002,15 @@ ve(
4002
4002
  );
4003
4003
  Ae.subscribe((e) => Et = e);
4004
4004
  const Re = {};
4005
- function ei(e, t) {
4005
+ function ti(e, t) {
4006
4006
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4007
4007
  }
4008
- function Fn(e) {
4008
+ function Un(e) {
4009
4009
  return Re[e];
4010
4010
  }
4011
- function ti(e) {
4011
+ function ni(e) {
4012
4012
  return Ve(e).map((t) => {
4013
- const n = Fn(t);
4013
+ const n = Un(t);
4014
4014
  return [t, n ? [...n] : []];
4015
4015
  }).filter(([, t]) => t.length > 0);
4016
4016
  }
@@ -4018,31 +4018,31 @@ function vt(e) {
4018
4018
  return e == null ? !1 : Ve(e).some(
4019
4019
  (t) => {
4020
4020
  var n;
4021
- return (n = Fn(t)) == null ? void 0 : n.size;
4021
+ return (n = Un(t)) == null ? void 0 : n.size;
4022
4022
  }
4023
4023
  );
4024
4024
  }
4025
- function ni(e, t) {
4025
+ function ri(e, t) {
4026
4026
  return Promise.all(
4027
- t.map((r) => (ei(e, r), r().then((o) => o.default || o)))
4028
- ).then((r) => Rn(e, ...r));
4027
+ t.map((r) => (ti(e, r), r().then((o) => o.default || o)))
4028
+ ).then((r) => Fn(e, ...r));
4029
4029
  }
4030
4030
  const Be = {};
4031
- function Un(e) {
4031
+ function $n(e) {
4032
4032
  if (!vt(e))
4033
4033
  return e in Be ? Be[e] : Promise.resolve();
4034
- const t = ti(e);
4034
+ const t = ni(e);
4035
4035
  return Be[e] = Promise.all(
4036
4036
  t.map(
4037
- ([n, r]) => ni(n, r)
4037
+ ([n, r]) => ri(n, r)
4038
4038
  )
4039
4039
  ).then(() => {
4040
4040
  if (vt(e))
4041
- return Un(e);
4041
+ return $n(e);
4042
4042
  delete Be[e];
4043
4043
  }), Be[e];
4044
4044
  }
4045
- const ri = {
4045
+ const oi = {
4046
4046
  number: {
4047
4047
  scientific: { notation: "scientific" },
4048
4048
  engineering: { notation: "engineering" },
@@ -4071,26 +4071,26 @@ const ri = {
4071
4071
  timeZoneName: "short"
4072
4072
  }
4073
4073
  }
4074
- }, oi = {
4074
+ }, ii = {
4075
4075
  fallbackLocale: null,
4076
4076
  loadingDelay: 200,
4077
- formats: ri,
4077
+ formats: oi,
4078
4078
  warnOnMissingMessages: !0,
4079
4079
  handleMissingMessage: void 0,
4080
4080
  ignoreTag: !0
4081
- }, ii = oi;
4081
+ }, si = ii;
4082
4082
  function ge() {
4083
- return ii;
4083
+ return si;
4084
4084
  }
4085
4085
  const tt = ke(!1);
4086
- var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, Xt = (e, t, n) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, hi = (e, t) => {
4086
+ var ai = Object.defineProperty, ui = Object.defineProperties, li = Object.getOwnPropertyDescriptors, Xt = Object.getOwnPropertySymbols, ci = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, qt = (e, t, n) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, fi = (e, t) => {
4087
4087
  for (var n in t || (t = {}))
4088
- li.call(t, n) && Xt(e, n, t[n]);
4089
- if (zt)
4090
- for (var n of zt(t))
4091
- ci.call(t, n) && Xt(e, n, t[n]);
4088
+ ci.call(t, n) && qt(e, n, t[n]);
4089
+ if (Xt)
4090
+ for (var n of Xt(t))
4091
+ hi.call(t, n) && qt(e, n, t[n]);
4092
4092
  return e;
4093
- }, fi = (e, t) => ai(e, ui(t));
4093
+ }, di = (e, t) => ui(e, li(t));
4094
4094
  let yt;
4095
4095
  const $e = ke(null);
4096
4096
  function Zt(e) {
@@ -4106,22 +4106,22 @@ function ae() {
4106
4106
  $e.subscribe((e) => {
4107
4107
  yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4108
4108
  });
4109
- const di = (e) => {
4110
- if (e && Ko(e) && vt(e)) {
4109
+ const pi = (e) => {
4110
+ if (e && ei(e) && vt(e)) {
4111
4111
  const { loadingDelay: t } = ge();
4112
4112
  let n;
4113
4113
  return typeof window < "u" && ae() != null && t ? n = window.setTimeout(
4114
4114
  () => tt.set(!0),
4115
4115
  t
4116
- ) : tt.set(!0), Un(e).then(() => {
4116
+ ) : tt.set(!0), $n(e).then(() => {
4117
4117
  $e.set(e);
4118
4118
  }).finally(() => {
4119
4119
  clearTimeout(n), tt.set(!1);
4120
4120
  });
4121
4121
  }
4122
4122
  return $e.set(e);
4123
- }, ye = fi(hi({}, $e), {
4124
- set: di
4123
+ }, ye = di(fi({}, $e), {
4124
+ set: pi
4125
4125
  }), ze = (e) => {
4126
4126
  const t = /* @__PURE__ */ Object.create(null);
4127
4127
  return (r) => {
@@ -4129,20 +4129,20 @@ const di = (e) => {
4129
4129
  return o in t ? t[o] : t[o] = e(r);
4130
4130
  };
4131
4131
  };
4132
- var pi = Object.defineProperty, De = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, qt = (e, t, n) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, wt = (e, t) => {
4132
+ var mi = Object.defineProperty, De = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, Jt = (e, t, n) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, wt = (e, t) => {
4133
4133
  for (var n in t || (t = {}))
4134
- $n.call(t, n) && qt(e, n, t[n]);
4134
+ Dn.call(t, n) && Jt(e, n, t[n]);
4135
4135
  if (De)
4136
4136
  for (var n of De(t))
4137
- Dn.call(t, n) && qt(e, n, t[n]);
4137
+ Gn.call(t, n) && Jt(e, n, t[n]);
4138
4138
  return e;
4139
4139
  }, _e = (e, t) => {
4140
4140
  var n = {};
4141
4141
  for (var r in e)
4142
- $n.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4142
+ Dn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4143
4143
  if (e != null && De)
4144
4144
  for (var r of De(e))
4145
- t.indexOf(r) < 0 && Dn.call(e, r) && (n[r] = e[r]);
4145
+ t.indexOf(r) < 0 && Gn.call(e, r) && (n[r] = e[r]);
4146
4146
  return n;
4147
4147
  };
4148
4148
  const Ce = (e, t) => {
@@ -4150,21 +4150,21 @@ const Ce = (e, t) => {
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
- }, mi = ze(
4153
+ }, bi = ze(
4154
4154
  (e) => {
4155
4155
  var t = e, { locale: n, format: r } = t, o = _e(t, ["locale", "format"]);
4156
4156
  if (n == null)
4157
4157
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4158
4158
  return r && (o = Ce("number", r)), new Intl.NumberFormat(n, o);
4159
4159
  }
4160
- ), bi = ze(
4160
+ ), gi = ze(
4161
4161
  (e) => {
4162
4162
  var t = e, { locale: n, format: r } = t, o = _e(t, ["locale", "format"]);
4163
4163
  if (n == null)
4164
4164
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4165
4165
  return r ? o = Ce("date", r) : Object.keys(o).length === 0 && (o = Ce("date", "short")), new Intl.DateTimeFormat(n, o);
4166
4166
  }
4167
- ), gi = ze(
4167
+ ), vi = ze(
4168
4168
  (e) => {
4169
4169
  var t = e, { locale: n, format: r } = t, o = _e(t, ["locale", "format"]);
4170
4170
  if (n == null)
@@ -4173,33 +4173,33 @@ const Ce = (e, t) => {
4173
4173
  );
4174
4174
  return r ? o = Ce("time", r) : Object.keys(o).length === 0 && (o = Ce("time", "short")), new Intl.DateTimeFormat(n, o);
4175
4175
  }
4176
- ), vi = (e = {}) => {
4176
+ ), yi = (e = {}) => {
4177
4177
  var t = e, {
4178
4178
  locale: n = ae()
4179
4179
  } = t, r = _e(t, [
4180
4180
  "locale"
4181
4181
  ]);
4182
- return mi(wt({ locale: n }, r));
4183
- }, yi = (e = {}) => {
4182
+ return bi(wt({ locale: n }, r));
4183
+ }, _i = (e = {}) => {
4184
4184
  var t = e, {
4185
4185
  locale: n = ae()
4186
4186
  } = t, r = _e(t, [
4187
4187
  "locale"
4188
4188
  ]);
4189
- return bi(wt({ locale: n }, r));
4190
- }, _i = (e = {}) => {
4189
+ return gi(wt({ locale: n }, r));
4190
+ }, Bi = (e = {}) => {
4191
4191
  var t = e, {
4192
4192
  locale: n = ae()
4193
4193
  } = t, r = _e(t, [
4194
4194
  "locale"
4195
4195
  ]);
4196
- return gi(wt({ locale: n }, r));
4197
- }, Bi = ze(
4196
+ return vi(wt({ locale: n }, r));
4197
+ }, Ei = ze(
4198
4198
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4199
4199
  (e, t = ae()) => new Zo(e, t, ge().formats, {
4200
4200
  ignoreTag: ge().ignoreTag
4201
4201
  })
4202
- ), Ei = (e, t = {}) => {
4202
+ ), wi = (e, t = {}) => {
4203
4203
  var n, r, o, i;
4204
4204
  let s = t;
4205
4205
  typeof e == "object" && (s = e, e = s.id);
@@ -4212,7 +4212,7 @@ const Ce = (e, t) => {
4212
4212
  throw new Error(
4213
4213
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4214
4214
  );
4215
- let c = Nn(e, u);
4215
+ let c = Ln(e, u);
4216
4216
  if (!c)
4217
4217
  c = (i = (o = (r = (n = ge()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? o : l) != null ? i : e;
4218
4218
  else if (typeof c != "string")
@@ -4223,7 +4223,7 @@ const Ce = (e, t) => {
4223
4223
  return c;
4224
4224
  let f = c;
4225
4225
  try {
4226
- f = Bi(c, u).format(a);
4226
+ f = Ei(c, u).format(a);
4227
4227
  } catch (d) {
4228
4228
  d instanceof Error && console.warn(
4229
4229
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4231,18 +4231,18 @@ const Ce = (e, t) => {
4231
4231
  );
4232
4232
  }
4233
4233
  return f;
4234
- }, wi = (e, t) => _i(t).format(e), xi = (e, t) => yi(t).format(e), Ci = (e, t) => vi(t).format(e), Si = (e, t = ae()) => Nn(e, t), Ai = ve([ye, Ae], () => Ei);
4235
- ve([ye], () => wi);
4234
+ }, xi = (e, t) => Bi(t).format(e), Ci = (e, t) => _i(t).format(e), Si = (e, t) => yi(t).format(e), Ai = (e, t = ae()) => Ln(e, t), Ti = ve([ye, Ae], () => wi);
4236
4235
  ve([ye], () => xi);
4237
4236
  ve([ye], () => Ci);
4238
- ve([ye, Ae], () => Si);
4239
- window.emWidgets = { topic: Ur };
4240
- const Ti = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4237
+ ve([ye], () => Si);
4238
+ ve([ye, Ae], () => Ai);
4239
+ window.emWidgets = { topic: $r };
4240
+ const Pi = (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 Qt(e, t) {
4243
- Rn(e, t);
4243
+ Fn(e, t);
4244
4244
  }
4245
- function Pi(e) {
4245
+ function Mi(e) {
4246
4246
  ye.set(e);
4247
4247
  }
4248
4248
  const Yt = {
@@ -4379,13 +4379,13 @@ const Yt = {
4379
4379
  bonusClaimErrorMessage: "Invalid bonus"
4380
4380
  }
4381
4381
  }, fe = "__WIDGET_GLOBAL_STYLE_CACHE__";
4382
- function Mi(e, t) {
4382
+ function Hi(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 Hi(e, t) {
4388
+ function Oi(e, t) {
4389
4389
  if (!e || !t)
4390
4390
  return;
4391
4391
  const n = new URL(t);
@@ -4396,12 +4396,12 @@ function Hi(e, t) {
4396
4396
  console.error("There was an error while trying to load client styling from URL", r);
4397
4397
  });
4398
4398
  }
4399
- function Oi(e, t, n, r = !1) {
4399
+ function Ii(e, t, n, r = !1) {
4400
4400
  if (!window.emMessageBus)
4401
4401
  return;
4402
4402
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
4403
- return n = Ii(e, t), n;
4404
- window[fe] || (window[fe] = {}), n = Ni(e, t);
4403
+ return n = Ni(e, t), n;
4404
+ window[fe] || (window[fe] = {}), n = Li(e, t);
4405
4405
  const i = n.unsubscribe.bind(n), s = () => {
4406
4406
  if (window[fe][t]) {
4407
4407
  const a = window[fe][t];
@@ -4411,13 +4411,13 @@ function Oi(e, t, n, r = !1) {
4411
4411
  };
4412
4412
  return n.unsubscribe = s, n;
4413
4413
  }
4414
- function Ii(e, t) {
4414
+ function Ni(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 Ni(e, t) {
4420
+ function Li(e, t) {
4421
4421
  return window.emMessageBus.subscribe(t, (n) => {
4422
4422
  if (!e)
4423
4423
  return;
@@ -4443,62 +4443,62 @@ if (typeof window < "u") {
4443
4443
  }
4444
4444
  };
4445
4445
  };
4446
- customElements.define = e(customElements.define), import("./PlayerBonusCard-AT_tmQxz.js").then(({ default: t }) => {
4446
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-BSC5fKA0.js").then(({ default: t }) => {
4447
4447
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4448
4448
  });
4449
4449
  }
4450
- function Li(e) {
4451
- ir(e, "svelte-154bfm9", '.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)}}');
4450
+ function Ri(e) {
4451
+ sr(e, "svelte-154bfm9", '.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)}}');
4452
4452
  }
4453
- function Jt(e, t, n) {
4453
+ function Kt(e, t, n) {
4454
4454
  const r = e.slice();
4455
- return r[52] = t[n], r[54] = n, r;
4455
+ return r[53] = t[n], r[55] = n, r;
4456
4456
  }
4457
- function Kt(e, t, n) {
4457
+ function en(e, t, n) {
4458
4458
  const r = e.slice();
4459
- return r[55] = t[n], r;
4459
+ return r[56] = t[n], r;
4460
4460
  }
4461
- function Ri(e) {
4461
+ function Fi(e) {
4462
4462
  let t, n, r, o, i, s, a, u, l, c, f = (
4463
4463
  /*$_*/
4464
4464
  e[20]("titleBonuses") + ""
4465
- ), d, p, y;
4465
+ ), d, p, _;
4466
4466
  return {
4467
4467
  c() {
4468
- t = A("div"), n = ue("svg"), r = ue("defs"), o = ue("style"), i = F(`.aaa {
4468
+ t = T("div"), n = ue("svg"), r = ue("defs"), o = ue("style"), i = $(`.aaa {
4469
4469
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
4470
4470
  }
4471
- `), s = ue("g"), a = ue("g"), u = ue("path"), l = X(), c = A("h2"), d = F(f), 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");
4471
+ `), s = ue("g"), a = ue("g"), u = ue("path"), l = z(), c = T("h2"), d = $(f), 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");
4472
4472
  },
4473
- m(g, b) {
4474
- G(g, t, b), _(t, n), _(n, r), _(r, o), _(o, i), _(n, s), _(s, a), _(a, u), _(t, l), _(t, c), _(c, d), p || (y = J(
4473
+ m(y, m) {
4474
+ k(y, 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(
4475
4475
  t,
4476
4476
  "click",
4477
4477
  /*click_handler*/
4478
- e[34]
4478
+ e[35]
4479
4479
  ), p = !0);
4480
4480
  },
4481
- p(g, b) {
4482
- b[0] & /*$_*/
4481
+ p(y, m) {
4482
+ m[0] & /*$_*/
4483
4483
  1048576 && f !== (f = /*$_*/
4484
- g[20]("titleBonuses") + "") && re(d, f);
4484
+ y[20]("titleBonuses") + "") && re(d, f);
4485
4485
  },
4486
- d(g) {
4487
- g && U(t), p = !1, y();
4486
+ d(y) {
4487
+ y && D(t), p = !1, _();
4488
4488
  }
4489
4489
  };
4490
4490
  }
4491
- function en(e) {
4491
+ function tn(e) {
4492
4492
  let t, n = (
4493
4493
  /*$_*/
4494
4494
  e[20]("invalidBonusCode") + ""
4495
4495
  ), r;
4496
4496
  return {
4497
4497
  c() {
4498
- t = A("p"), r = F(n), x(t, "class", "InvalidBonusCodeMessage");
4498
+ t = T("p"), r = $(n), x(t, "class", "InvalidBonusCodeMessage");
4499
4499
  },
4500
4500
  m(o, i) {
4501
- G(o, t, i), _(t, r);
4501
+ k(o, t, i), E(t, r);
4502
4502
  },
4503
4503
  p(o, i) {
4504
4504
  i[0] & /*$_*/
@@ -4506,61 +4506,61 @@ function en(e) {
4506
4506
  o[20]("invalidBonusCode") + "") && re(r, n);
4507
4507
  },
4508
4508
  d(o) {
4509
- o && U(t);
4509
+ o && D(t);
4510
4510
  }
4511
4511
  };
4512
4512
  }
4513
- function Fi(e) {
4513
+ function Ui(e) {
4514
4514
  let t, n, r;
4515
4515
  function o(u, l) {
4516
4516
  return (
4517
4517
  /*activeBonusesList*/
4518
- u[18].length === 0 ? Di : $i
4518
+ u[18].length === 0 ? Gi : Di
4519
4519
  );
4520
4520
  }
4521
4521
  let i = o(e), s = i(e), a = (
4522
4522
  /*activeBonusesList*/
4523
- e[18].length !== 0 && nn(e)
4523
+ e[18].length !== 0 && rn(e)
4524
4524
  );
4525
4525
  return {
4526
4526
  c() {
4527
- t = A("div"), s.c(), n = X(), a && a.c(), r = Bt(), x(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4527
+ t = T("div"), s.c(), n = z(), a && a.c(), r = Bt(), x(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4528
4528
  (e[21] ? "ActiveBonusesGridMobile" : ""));
4529
4529
  },
4530
4530
  m(u, l) {
4531
- G(u, t, l), s.m(t, null), G(u, n, l), a && a.m(u, l), G(u, r, l);
4531
+ k(u, t, l), s.m(t, null), k(u, n, l), a && a.m(u, l), k(u, r, l);
4532
4532
  },
4533
4533
  p(u, l) {
4534
4534
  i === (i = o(u)) && s ? s.p(u, l) : (s.d(1), s = i(u), s && (s.c(), s.m(t, null))), /*activeBonusesList*/
4535
- u[18].length !== 0 ? a ? a.p(u, l) : (a = nn(u), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
4535
+ u[18].length !== 0 ? a ? a.p(u, l) : (a = rn(u), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
4536
4536
  },
4537
4537
  d(u) {
4538
- u && (U(t), U(n), U(r)), s.d(), a && a.d(u);
4538
+ u && (D(t), D(n), D(r)), s.d(), a && a.d(u);
4539
4539
  }
4540
4540
  };
4541
4541
  }
4542
- function Ui(e) {
4542
+ function $i(e) {
4543
4543
  let t;
4544
4544
  return {
4545
4545
  c() {
4546
- t = A("div"), x(t, "class", "ModalLoader"), x(t, "part", "ModalLoader");
4546
+ t = T("div"), x(t, "class", "ModalLoader"), x(t, "part", "ModalLoader");
4547
4547
  },
4548
4548
  m(n, r) {
4549
- G(n, t, r);
4549
+ k(n, t, r);
4550
4550
  },
4551
- p: Y,
4551
+ p: Q,
4552
4552
  d(n) {
4553
- n && U(t);
4553
+ n && D(t);
4554
4554
  }
4555
4555
  };
4556
4556
  }
4557
- function $i(e) {
4557
+ function Di(e) {
4558
4558
  let t, n = Fe(
4559
4559
  /*activeBonusesList*/
4560
4560
  e[18]
4561
4561
  ), r = [];
4562
4562
  for (let o = 0; o < n.length; o += 1)
4563
- r[o] = tn(Kt(e, n, o));
4563
+ r[o] = nn(en(e, n, o));
4564
4564
  return {
4565
4565
  c() {
4566
4566
  for (let o = 0; o < r.length; o += 1)
@@ -4570,7 +4570,7 @@ function $i(e) {
4570
4570
  m(o, i) {
4571
4571
  for (let s = 0; s < r.length; s += 1)
4572
4572
  r[s] && r[s].m(o, i);
4573
- G(o, t, i);
4573
+ k(o, t, i);
4574
4574
  },
4575
4575
  p(o, i) {
4576
4576
  if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
@@ -4581,8 +4581,8 @@ function $i(e) {
4581
4581
  );
4582
4582
  let s;
4583
4583
  for (s = 0; s < n.length; s += 1) {
4584
- const a = Kt(o, n, s);
4585
- r[s] ? r[s].p(a, i) : (r[s] = tn(a), r[s].c(), r[s].m(t.parentNode, t));
4584
+ const a = en(o, n, s);
4585
+ r[s] ? r[s].p(a, i) : (r[s] = nn(a), r[s].c(), r[s].m(t.parentNode, t));
4586
4586
  }
4587
4587
  for (; s < r.length; s += 1)
4588
4588
  r[s].d(1);
@@ -4590,21 +4590,21 @@ function $i(e) {
4590
4590
  }
4591
4591
  },
4592
4592
  d(o) {
4593
- o && U(t), ln(r, o);
4593
+ o && D(t), cn(r, o);
4594
4594
  }
4595
4595
  };
4596
4596
  }
4597
- function Di(e) {
4597
+ function Gi(e) {
4598
4598
  let t, n = (
4599
4599
  /*$_*/
4600
4600
  e[20]("noActiveBonuses") + ""
4601
4601
  ), r;
4602
4602
  return {
4603
4603
  c() {
4604
- t = A("p"), r = F(n);
4604
+ t = T("p"), r = $(n);
4605
4605
  },
4606
4606
  m(o, i) {
4607
- G(o, t, i), _(t, r);
4607
+ k(o, t, i), E(t, r);
4608
4608
  },
4609
4609
  p(o, i) {
4610
4610
  i[0] & /*$_*/
@@ -4612,32 +4612,32 @@ function Di(e) {
4612
4612
  o[20]("noActiveBonuses") + "") && re(r, n);
4613
4613
  },
4614
4614
  d(o) {
4615
- o && U(t);
4615
+ o && D(t);
4616
4616
  }
4617
4617
  };
4618
4618
  }
4619
- function Gi(e) {
4620
- let t, n, r, o, i, s, a, u, l, c, f, d, p, y, g, b, E;
4619
+ function ki(e) {
4620
+ let t, n, r, o, i, s, a, u, l, c, f, d, p, _, y, m, B;
4621
4621
  return {
4622
4622
  c() {
4623
- t = A("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4624
- e[55].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4625
- e[55].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4626
- e[55].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4627
- e[55].endpoint), h(t, "playerid", s = /*activeBonus*/
4628
- e[55].playerid), h(t, "session", a = /*activeBonus*/
4629
- e[55].session), h(t, "bonuswalletid", u = /*activeBonus*/
4630
- e[55].walletId), h(t, "bonusdate", l = /*activeBonus*/
4631
- e[55].granted), h(t, "bonusexpirationdate", c = /*activeBonus*/
4632
- e[55].expiryTime), h(t, "bonusstatus", f = /*activeBonus*/
4633
- e[55].status), h(t, "bonusname", d = /*activeBonus*/
4634
- e[55].name), h(t, "bonustype", p = /*activeBonus*/
4635
- e[55].type), h(t, "bonusamount", y = /*activeBonus*/
4636
- e[55].extension.grantedPlayerCurrencyAmount), h(t, "bonuswageringamount", g = `${/*activeBonus*/
4637
- e[55].fulfilledWR} / ${/*activeBonus*/
4638
- e[55].originalWageringRequirement}`), h(t, "bonusremainingamount", b = /*activeBonus*/
4639
- e[55].currentAmount), h(t, "bonuscurrency", E = /*activeBonus*/
4640
- e[55].currency), h(
4623
+ t = T("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4624
+ e[56].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4625
+ e[56].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4626
+ e[56].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4627
+ e[56].endpoint), h(t, "playerid", s = /*activeBonus*/
4628
+ e[56].playerid), h(t, "session", a = /*activeBonus*/
4629
+ e[56].session), h(t, "bonuswalletid", u = /*activeBonus*/
4630
+ e[56].walletId), h(t, "bonusdate", l = /*activeBonus*/
4631
+ e[56].granted), h(t, "bonusexpirationdate", c = /*activeBonus*/
4632
+ e[56].expiryTime), h(t, "bonusstatus", f = /*activeBonus*/
4633
+ e[56].status), h(t, "bonusname", d = /*activeBonus*/
4634
+ e[56].name), h(t, "bonustype", p = /*activeBonus*/
4635
+ e[56].type), h(t, "bonusamount", _ = /*activeBonus*/
4636
+ e[56].extension.grantedPlayerCurrencyAmount), h(t, "bonuswageringamount", y = `${/*activeBonus*/
4637
+ e[56].fulfilledWR} / ${/*activeBonus*/
4638
+ e[56].originalWageringRequirement}`), h(t, "bonusremainingamount", m = /*activeBonus*/
4639
+ e[56].currentAmount), h(t, "bonuscurrency", B = /*activeBonus*/
4640
+ e[56].currency), h(
4641
4641
  t,
4642
4642
  "lang",
4643
4643
  /*lang*/
@@ -4679,117 +4679,117 @@ function Gi(e) {
4679
4679
  e[7]
4680
4680
  );
4681
4681
  },
4682
- m(m, B) {
4683
- G(m, t, B);
4682
+ m(b, v) {
4683
+ k(b, t, v);
4684
4684
  },
4685
- p(m, B) {
4686
- B[0] & /*activeBonusesList*/
4685
+ p(b, v) {
4686
+ v[0] & /*activeBonusesList*/
4687
4687
  262144 && n !== (n = /*activeBonus*/
4688
- m[55].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), B[0] & /*activeBonusesList*/
4688
+ b[56].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), v[0] & /*activeBonusesList*/
4689
4689
  262144 && r !== (r = /*activeBonus*/
4690
- m[55].termsandconditionsurl) && h(t, "termsandconditionsurl", r), B[0] & /*activeBonusesList*/
4690
+ b[56].termsandconditionsurl) && h(t, "termsandconditionsurl", r), v[0] & /*activeBonusesList*/
4691
4691
  262144 && o !== (o = /*activeBonus*/
4692
- m[55].termsandconditionsasset) && h(t, "termsandconditionsasset", o), B[0] & /*activeBonusesList*/
4692
+ b[56].termsandconditionsasset) && h(t, "termsandconditionsasset", o), v[0] & /*activeBonusesList*/
4693
4693
  262144 && i !== (i = /*activeBonus*/
4694
- m[55].endpoint) && h(t, "endpoint", i), B[0] & /*activeBonusesList*/
4694
+ b[56].endpoint) && h(t, "endpoint", i), v[0] & /*activeBonusesList*/
4695
4695
  262144 && s !== (s = /*activeBonus*/
4696
- m[55].playerid) && h(t, "playerid", s), B[0] & /*activeBonusesList*/
4696
+ b[56].playerid) && h(t, "playerid", s), v[0] & /*activeBonusesList*/
4697
4697
  262144 && a !== (a = /*activeBonus*/
4698
- m[55].session) && h(t, "session", a), B[0] & /*activeBonusesList*/
4698
+ b[56].session) && h(t, "session", a), v[0] & /*activeBonusesList*/
4699
4699
  262144 && u !== (u = /*activeBonus*/
4700
- m[55].walletId) && h(t, "bonuswalletid", u), B[0] & /*activeBonusesList*/
4700
+ b[56].walletId) && h(t, "bonuswalletid", u), v[0] & /*activeBonusesList*/
4701
4701
  262144 && l !== (l = /*activeBonus*/
4702
- m[55].granted) && h(t, "bonusdate", l), B[0] & /*activeBonusesList*/
4702
+ b[56].granted) && h(t, "bonusdate", l), v[0] & /*activeBonusesList*/
4703
4703
  262144 && c !== (c = /*activeBonus*/
4704
- m[55].expiryTime) && h(t, "bonusexpirationdate", c), B[0] & /*activeBonusesList*/
4704
+ b[56].expiryTime) && h(t, "bonusexpirationdate", c), v[0] & /*activeBonusesList*/
4705
4705
  262144 && f !== (f = /*activeBonus*/
4706
- m[55].status) && h(t, "bonusstatus", f), B[0] & /*activeBonusesList*/
4706
+ b[56].status) && h(t, "bonusstatus", f), v[0] & /*activeBonusesList*/
4707
4707
  262144 && d !== (d = /*activeBonus*/
4708
- m[55].name) && h(t, "bonusname", d), B[0] & /*activeBonusesList*/
4708
+ b[56].name) && h(t, "bonusname", d), v[0] & /*activeBonusesList*/
4709
4709
  262144 && p !== (p = /*activeBonus*/
4710
- m[55].type) && h(t, "bonustype", p), B[0] & /*activeBonusesList*/
4711
- 262144 && y !== (y = /*activeBonus*/
4712
- m[55].extension.grantedPlayerCurrencyAmount) && h(t, "bonusamount", y), B[0] & /*activeBonusesList*/
4713
- 262144 && g !== (g = `${/*activeBonus*/
4714
- m[55].fulfilledWR} / ${/*activeBonus*/
4715
- m[55].originalWageringRequirement}`) && h(t, "bonuswageringamount", g), B[0] & /*activeBonusesList*/
4716
- 262144 && b !== (b = /*activeBonus*/
4717
- m[55].currentAmount) && h(t, "bonusremainingamount", b), B[0] & /*activeBonusesList*/
4718
- 262144 && E !== (E = /*activeBonus*/
4719
- m[55].currency) && h(t, "bonuscurrency", E), B[0] & /*lang*/
4710
+ b[56].type) && h(t, "bonustype", p), v[0] & /*activeBonusesList*/
4711
+ 262144 && _ !== (_ = /*activeBonus*/
4712
+ b[56].extension.grantedPlayerCurrencyAmount) && h(t, "bonusamount", _), v[0] & /*activeBonusesList*/
4713
+ 262144 && y !== (y = `${/*activeBonus*/
4714
+ b[56].fulfilledWR} / ${/*activeBonus*/
4715
+ b[56].originalWageringRequirement}`) && h(t, "bonuswageringamount", y), v[0] & /*activeBonusesList*/
4716
+ 262144 && m !== (m = /*activeBonus*/
4717
+ b[56].currentAmount) && h(t, "bonusremainingamount", m), v[0] & /*activeBonusesList*/
4718
+ 262144 && B !== (B = /*activeBonus*/
4719
+ b[56].currency) && h(t, "bonuscurrency", B), v[0] & /*lang*/
4720
4720
  1 && h(
4721
4721
  t,
4722
4722
  "lang",
4723
4723
  /*lang*/
4724
- m[0]
4725
- ), B[0] & /*dateformat*/
4724
+ b[0]
4725
+ ), v[0] & /*dateformat*/
4726
4726
  64 && h(
4727
4727
  t,
4728
4728
  "dateformat",
4729
4729
  /*dateformat*/
4730
- m[6]
4731
- ), B[0] & /*clientstyling*/
4730
+ b[6]
4731
+ ), v[0] & /*clientstyling*/
4732
4732
  2 && h(
4733
4733
  t,
4734
4734
  "clientstyling",
4735
4735
  /*clientstyling*/
4736
- m[1]
4737
- ), B[0] & /*clientstylingurl*/
4736
+ b[1]
4737
+ ), v[0] & /*clientstylingurl*/
4738
4738
  4 && h(
4739
4739
  t,
4740
4740
  "clientstylingurl",
4741
4741
  /*clientstylingurl*/
4742
- m[2]
4743
- ), B[0] & /*mbsource*/
4742
+ b[2]
4743
+ ), v[0] & /*mbsource*/
4744
4744
  8 && h(
4745
4745
  t,
4746
4746
  "mbsource",
4747
4747
  /*mbsource*/
4748
- m[3]
4749
- ), B[0] & /*translationurl*/
4748
+ b[3]
4749
+ ), v[0] & /*translationurl*/
4750
4750
  16 && h(
4751
4751
  t,
4752
4752
  "translationurl",
4753
4753
  /*translationurl*/
4754
- m[4]
4755
- ), B[0] & /*currencylocale*/
4754
+ b[4]
4755
+ ), v[0] & /*currencylocale*/
4756
4756
  32 && h(
4757
4757
  t,
4758
4758
  "currencylocale",
4759
4759
  /*currencylocale*/
4760
- m[5]
4761
- ), B[0] & /*ishiddenwageringbonus*/
4760
+ b[5]
4761
+ ), v[0] & /*ishiddenwageringbonus*/
4762
4762
  128 && h(
4763
4763
  t,
4764
4764
  "ishiddenwageringbonus",
4765
4765
  /*ishiddenwageringbonus*/
4766
- m[7]
4766
+ b[7]
4767
4767
  );
4768
4768
  },
4769
- d(m) {
4770
- m && U(t);
4769
+ d(b) {
4770
+ b && D(t);
4771
4771
  }
4772
4772
  };
4773
4773
  }
4774
- function ki(e) {
4775
- let t, n, r, o, i, s, a, u, l, c, f, d, p, y, g;
4774
+ function ji(e) {
4775
+ let t, n, r, o, i, s, a, u, l, c, f, d, p, _, y;
4776
4776
  return {
4777
4777
  c() {
4778
- t = A("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4779
- e[55].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4780
- e[55].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4781
- e[55].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4782
- e[55].endpoint), h(t, "playerid", s = /*activeBonus*/
4783
- e[55].playerid), h(t, "session", a = /*activeBonus*/
4784
- e[55].session), h(t, "bonuswalletid", u = /*activeBonus*/
4785
- e[55].walletId), h(t, "bonusdate", l = /*activeBonus*/
4786
- e[55].granted), h(t, "bonusexpirationdate", c = /*activeBonus*/
4787
- e[55].expiryTime), h(t, "bonusstatus", f = /*activeBonus*/
4788
- e[55].status), h(t, "bonusname", d = /*activeBonus*/
4789
- e[55].name), h(t, "bonustype", p = /*activeBonus*/
4790
- e[55].type), h(t, "bonuscurrency", y = /*activeBonus*/
4791
- e[55].currency), h(t, "bonusfreespins", g = /*activeBonus*/
4792
- e[55].freeRoundNumber), h(
4778
+ t = T("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4779
+ e[56].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4780
+ e[56].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4781
+ e[56].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4782
+ e[56].endpoint), h(t, "playerid", s = /*activeBonus*/
4783
+ e[56].playerid), h(t, "session", a = /*activeBonus*/
4784
+ e[56].session), h(t, "bonuswalletid", u = /*activeBonus*/
4785
+ e[56].walletId), h(t, "bonusdate", l = /*activeBonus*/
4786
+ e[56].granted), h(t, "bonusexpirationdate", c = /*activeBonus*/
4787
+ e[56].expiryTime), h(t, "bonusstatus", f = /*activeBonus*/
4788
+ e[56].status), h(t, "bonusname", d = /*activeBonus*/
4789
+ e[56].name), h(t, "bonustype", p = /*activeBonus*/
4790
+ e[56].type), h(t, "bonuscurrency", _ = /*activeBonus*/
4791
+ e[56].currency), h(t, "bonusfreespins", y = /*activeBonus*/
4792
+ e[56].freeRoundNumber), h(
4793
4793
  t,
4794
4794
  "lang",
4795
4795
  /*lang*/
@@ -4831,99 +4831,99 @@ function ki(e) {
4831
4831
  e[7]
4832
4832
  );
4833
4833
  },
4834
- m(b, E) {
4835
- G(b, t, E);
4834
+ m(m, B) {
4835
+ k(m, t, B);
4836
4836
  },
4837
- p(b, E) {
4838
- E[0] & /*activeBonusesList*/
4837
+ p(m, B) {
4838
+ B[0] & /*activeBonusesList*/
4839
4839
  262144 && n !== (n = /*activeBonus*/
4840
- b[55].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), E[0] & /*activeBonusesList*/
4840
+ m[56].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), B[0] & /*activeBonusesList*/
4841
4841
  262144 && r !== (r = /*activeBonus*/
4842
- b[55].termsandconditionsurl) && h(t, "termsandconditionsurl", r), E[0] & /*activeBonusesList*/
4842
+ m[56].termsandconditionsurl) && h(t, "termsandconditionsurl", r), B[0] & /*activeBonusesList*/
4843
4843
  262144 && o !== (o = /*activeBonus*/
4844
- b[55].termsandconditionsasset) && h(t, "termsandconditionsasset", o), E[0] & /*activeBonusesList*/
4844
+ m[56].termsandconditionsasset) && h(t, "termsandconditionsasset", o), B[0] & /*activeBonusesList*/
4845
4845
  262144 && i !== (i = /*activeBonus*/
4846
- b[55].endpoint) && h(t, "endpoint", i), E[0] & /*activeBonusesList*/
4846
+ m[56].endpoint) && h(t, "endpoint", i), B[0] & /*activeBonusesList*/
4847
4847
  262144 && s !== (s = /*activeBonus*/
4848
- b[55].playerid) && h(t, "playerid", s), E[0] & /*activeBonusesList*/
4848
+ m[56].playerid) && h(t, "playerid", s), B[0] & /*activeBonusesList*/
4849
4849
  262144 && a !== (a = /*activeBonus*/
4850
- b[55].session) && h(t, "session", a), E[0] & /*activeBonusesList*/
4850
+ m[56].session) && h(t, "session", a), B[0] & /*activeBonusesList*/
4851
4851
  262144 && u !== (u = /*activeBonus*/
4852
- b[55].walletId) && h(t, "bonuswalletid", u), E[0] & /*activeBonusesList*/
4852
+ m[56].walletId) && h(t, "bonuswalletid", u), B[0] & /*activeBonusesList*/
4853
4853
  262144 && l !== (l = /*activeBonus*/
4854
- b[55].granted) && h(t, "bonusdate", l), E[0] & /*activeBonusesList*/
4854
+ m[56].granted) && h(t, "bonusdate", l), B[0] & /*activeBonusesList*/
4855
4855
  262144 && c !== (c = /*activeBonus*/
4856
- b[55].expiryTime) && h(t, "bonusexpirationdate", c), E[0] & /*activeBonusesList*/
4856
+ m[56].expiryTime) && h(t, "bonusexpirationdate", c), B[0] & /*activeBonusesList*/
4857
4857
  262144 && f !== (f = /*activeBonus*/
4858
- b[55].status) && h(t, "bonusstatus", f), E[0] & /*activeBonusesList*/
4858
+ m[56].status) && h(t, "bonusstatus", f), B[0] & /*activeBonusesList*/
4859
4859
  262144 && d !== (d = /*activeBonus*/
4860
- b[55].name) && h(t, "bonusname", d), E[0] & /*activeBonusesList*/
4860
+ m[56].name) && h(t, "bonusname", d), B[0] & /*activeBonusesList*/
4861
4861
  262144 && p !== (p = /*activeBonus*/
4862
- b[55].type) && h(t, "bonustype", p), E[0] & /*activeBonusesList*/
4862
+ m[56].type) && h(t, "bonustype", p), B[0] & /*activeBonusesList*/
4863
+ 262144 && _ !== (_ = /*activeBonus*/
4864
+ m[56].currency) && h(t, "bonuscurrency", _), B[0] & /*activeBonusesList*/
4863
4865
  262144 && y !== (y = /*activeBonus*/
4864
- b[55].currency) && h(t, "bonuscurrency", y), E[0] & /*activeBonusesList*/
4865
- 262144 && g !== (g = /*activeBonus*/
4866
- b[55].freeRoundNumber) && h(t, "bonusfreespins", g), E[0] & /*lang*/
4866
+ m[56].freeRoundNumber) && h(t, "bonusfreespins", y), B[0] & /*lang*/
4867
4867
  1 && h(
4868
4868
  t,
4869
4869
  "lang",
4870
4870
  /*lang*/
4871
- b[0]
4872
- ), E[0] & /*dateformat*/
4871
+ m[0]
4872
+ ), B[0] & /*dateformat*/
4873
4873
  64 && h(
4874
4874
  t,
4875
4875
  "dateformat",
4876
4876
  /*dateformat*/
4877
- b[6]
4878
- ), E[0] & /*clientstyling*/
4877
+ m[6]
4878
+ ), B[0] & /*clientstyling*/
4879
4879
  2 && h(
4880
4880
  t,
4881
4881
  "clientstyling",
4882
4882
  /*clientstyling*/
4883
- b[1]
4884
- ), E[0] & /*clientstylingurl*/
4883
+ m[1]
4884
+ ), B[0] & /*clientstylingurl*/
4885
4885
  4 && h(
4886
4886
  t,
4887
4887
  "clientstylingurl",
4888
4888
  /*clientstylingurl*/
4889
- b[2]
4890
- ), E[0] & /*mbsource*/
4889
+ m[2]
4890
+ ), B[0] & /*mbsource*/
4891
4891
  8 && h(
4892
4892
  t,
4893
4893
  "mbsource",
4894
4894
  /*mbsource*/
4895
- b[3]
4896
- ), E[0] & /*translationurl*/
4895
+ m[3]
4896
+ ), B[0] & /*translationurl*/
4897
4897
  16 && h(
4898
4898
  t,
4899
4899
  "translationurl",
4900
4900
  /*translationurl*/
4901
- b[4]
4902
- ), E[0] & /*currencylocale*/
4901
+ m[4]
4902
+ ), B[0] & /*currencylocale*/
4903
4903
  32 && h(
4904
4904
  t,
4905
4905
  "currencylocale",
4906
4906
  /*currencylocale*/
4907
- b[5]
4908
- ), E[0] & /*ishiddenwageringbonus*/
4907
+ m[5]
4908
+ ), B[0] & /*ishiddenwageringbonus*/
4909
4909
  128 && h(
4910
4910
  t,
4911
4911
  "ishiddenwageringbonus",
4912
4912
  /*ishiddenwageringbonus*/
4913
- b[7]
4913
+ m[7]
4914
4914
  );
4915
4915
  },
4916
- d(b) {
4917
- b && U(t);
4916
+ d(m) {
4917
+ m && D(t);
4918
4918
  }
4919
4919
  };
4920
4920
  }
4921
- function tn(e) {
4921
+ function nn(e) {
4922
4922
  let t;
4923
4923
  function n(i, s) {
4924
4924
  return (
4925
4925
  /*activeBonus*/
4926
- i[55].type === "freeRound" ? ki : Gi
4926
+ i[56].type === "freeRound" ? ji : ki
4927
4927
  );
4928
4928
  }
4929
4929
  let r = n(e), o = r(e);
@@ -4932,181 +4932,181 @@ function tn(e) {
4932
4932
  o.c(), t = Bt();
4933
4933
  },
4934
4934
  m(i, s) {
4935
- o.m(i, s), G(i, t, s);
4935
+ o.m(i, s), k(i, t, s);
4936
4936
  },
4937
4937
  p(i, s) {
4938
4938
  r === (r = n(i)) && o ? o.p(i, s) : (o.d(1), o = r(i), o && (o.c(), o.m(t.parentNode, t)));
4939
4939
  },
4940
4940
  d(i) {
4941
- i && U(t), o.d(i);
4941
+ i && D(t), o.d(i);
4942
4942
  }
4943
4943
  };
4944
4944
  }
4945
- function nn(e) {
4946
- let t, n, r, o, i, s, a, u, l, c, f, d, p, y, g, b, E, m, B, k, N, j, Z, R = Fe(Array(
4945
+ function rn(e) {
4946
+ let t, n, r, o, i, s, a, u, l, c, f, d, p, _, y, m, B, b, v, j, R, X, Z, q = Fe(Array(
4947
4947
  /*numberOfPages*/
4948
4948
  e[16]
4949
- )), T = [];
4950
- for (let w = 0; w < R.length; w += 1)
4951
- T[w] = rn(Jt(e, R, w));
4949
+ )), A = [];
4950
+ for (let w = 0; w < q.length; w += 1)
4951
+ A[w] = on(Kt(e, q, w));
4952
4952
  return {
4953
4953
  c() {
4954
- t = A("div"), n = A("button"), r = F("|<"), s = X(), a = A("button"), u = F("<"), f = X();
4955
- for (let w = 0; w < T.length; w += 1)
4956
- T[w].c();
4957
- d = X(), p = A("button"), y = F(">"), E = X(), m = A("button"), B = F(">|"), n.disabled = o = /*currentPage*/
4954
+ t = T("div"), n = T("button"), r = $("|<"), s = z(), a = T("button"), u = $("<"), f = z();
4955
+ for (let w = 0; w < A.length; w += 1)
4956
+ A[w].c();
4957
+ d = z(), p = T("button"), _ = $(">"), B = z(), b = T("button"), v = $(">|"), n.disabled = o = /*currentPage*/
4958
4958
  e[17] === 0, x(n, "class", i = "BonusesFirst " + /*currentPage*/
4959
4959
  (e[17] === 0 ? "Inactive" : "")), a.disabled = l = /*currentPage*/
4960
4960
  e[17] === 0, x(a, "class", c = "BonusesPrev " + /*currentPage*/
4961
- (e[17] === 0 ? "Inactive" : "")), p.disabled = g = /*currentPage*/
4961
+ (e[17] === 0 ? "Inactive" : "")), p.disabled = y = /*currentPage*/
4962
4962
  e[17] === /*numberOfPages*/
4963
- e[16] - 1, x(p, "class", b = "BonusesNext " + /*currentPage*/
4963
+ e[16] - 1, x(p, "class", m = "BonusesNext " + /*currentPage*/
4964
4964
  (e[17] === /*numberOfPages*/
4965
- e[16] - 1 ? "Inactive" : "")), m.disabled = k = /*currentPage*/
4965
+ e[16] - 1 ? "Inactive" : "")), b.disabled = j = /*currentPage*/
4966
4966
  e[17] === /*numberOfPages*/
4967
- e[16] - 1, x(m, "class", N = "BonusesLast " + /*currentPage*/
4967
+ e[16] - 1, x(b, "class", R = "BonusesLast " + /*currentPage*/
4968
4968
  (e[17] === /*numberOfPages*/
4969
4969
  e[16] - 1 ? "Inactive" : "")), x(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
4970
4970
  (e[21] ? "BonusesPaginationWrapperMobile" : ""));
4971
4971
  },
4972
- m(w, I) {
4973
- G(w, t, I), _(t, n), _(n, r), _(t, s), _(t, a), _(a, u), _(t, f);
4974
- for (let M = 0; M < T.length; M += 1)
4975
- T[M] && T[M].m(t, null);
4976
- _(t, d), _(t, p), _(p, y), _(t, E), _(t, m), _(m, B), j || (Z = [
4977
- J(
4972
+ m(w, N) {
4973
+ k(w, t, N), E(t, n), E(n, r), E(t, s), E(t, a), E(a, u), E(t, f);
4974
+ for (let H = 0; H < A.length; H += 1)
4975
+ A[H] && A[H].m(t, null);
4976
+ E(t, d), E(t, p), E(p, _), E(t, B), E(t, b), E(b, v), X || (Z = [
4977
+ Y(
4978
4978
  n,
4979
4979
  "click",
4980
4980
  /*click_handler_1*/
4981
- e[36]
4981
+ e[37]
4982
4982
  ),
4983
- J(
4983
+ Y(
4984
4984
  a,
4985
4985
  "click",
4986
4986
  /*click_handler_2*/
4987
- e[37]
4987
+ e[38]
4988
4988
  ),
4989
- J(
4989
+ Y(
4990
4990
  p,
4991
4991
  "click",
4992
4992
  /*click_handler_4*/
4993
- e[39]
4993
+ e[40]
4994
4994
  ),
4995
- J(
4996
- m,
4995
+ Y(
4996
+ b,
4997
4997
  "click",
4998
4998
  /*click_handler_5*/
4999
- e[40]
4999
+ e[41]
5000
5000
  )
5001
- ], j = !0);
5001
+ ], X = !0);
5002
5002
  },
5003
- p(w, I) {
5004
- if (I[0] & /*currentPage*/
5003
+ p(w, N) {
5004
+ if (N[0] & /*currentPage*/
5005
5005
  131072 && o !== (o = /*currentPage*/
5006
- w[17] === 0) && (n.disabled = o), I[0] & /*currentPage*/
5006
+ w[17] === 0) && (n.disabled = o), N[0] & /*currentPage*/
5007
5007
  131072 && i !== (i = "BonusesFirst " + /*currentPage*/
5008
- (w[17] === 0 ? "Inactive" : "")) && x(n, "class", i), I[0] & /*currentPage*/
5008
+ (w[17] === 0 ? "Inactive" : "")) && x(n, "class", i), N[0] & /*currentPage*/
5009
5009
  131072 && l !== (l = /*currentPage*/
5010
- w[17] === 0) && (a.disabled = l), I[0] & /*currentPage*/
5010
+ w[17] === 0) && (a.disabled = l), N[0] & /*currentPage*/
5011
5011
  131072 && c !== (c = "BonusesPrev " + /*currentPage*/
5012
- (w[17] === 0 ? "Inactive" : "")) && x(a, "class", c), I[0] & /*currentPage, getActiveBonuses, numberOfPages*/
5012
+ (w[17] === 0 ? "Inactive" : "")) && x(a, "class", c), N[0] & /*currentPage, getActiveBonuses, numberOfPages*/
5013
5013
  16973824) {
5014
- R = Fe(Array(
5014
+ q = Fe(Array(
5015
5015
  /*numberOfPages*/
5016
5016
  w[16]
5017
5017
  ));
5018
- let M;
5019
- for (M = 0; M < R.length; M += 1) {
5020
- const $ = Jt(w, R, M);
5021
- T[M] ? T[M].p($, I) : (T[M] = rn($), T[M].c(), T[M].m(t, d));
5018
+ let H;
5019
+ for (H = 0; H < q.length; H += 1) {
5020
+ const F = Kt(w, q, H);
5021
+ A[H] ? A[H].p(F, N) : (A[H] = on(F), A[H].c(), A[H].m(t, d));
5022
5022
  }
5023
- for (; M < T.length; M += 1)
5024
- T[M].d(1);
5025
- T.length = R.length;
5023
+ for (; H < A.length; H += 1)
5024
+ A[H].d(1);
5025
+ A.length = q.length;
5026
5026
  }
5027
- I[0] & /*currentPage, numberOfPages*/
5028
- 196608 && g !== (g = /*currentPage*/
5027
+ N[0] & /*currentPage, numberOfPages*/
5028
+ 196608 && y !== (y = /*currentPage*/
5029
5029
  w[17] === /*numberOfPages*/
5030
- w[16] - 1) && (p.disabled = g), I[0] & /*currentPage, numberOfPages*/
5031
- 196608 && b !== (b = "BonusesNext " + /*currentPage*/
5030
+ w[16] - 1) && (p.disabled = y), N[0] & /*currentPage, numberOfPages*/
5031
+ 196608 && m !== (m = "BonusesNext " + /*currentPage*/
5032
5032
  (w[17] === /*numberOfPages*/
5033
- w[16] - 1 ? "Inactive" : "")) && x(p, "class", b), I[0] & /*currentPage, numberOfPages*/
5034
- 196608 && k !== (k = /*currentPage*/
5033
+ w[16] - 1 ? "Inactive" : "")) && x(p, "class", m), N[0] & /*currentPage, numberOfPages*/
5034
+ 196608 && j !== (j = /*currentPage*/
5035
5035
  w[17] === /*numberOfPages*/
5036
- w[16] - 1) && (m.disabled = k), I[0] & /*currentPage, numberOfPages*/
5037
- 196608 && N !== (N = "BonusesLast " + /*currentPage*/
5036
+ w[16] - 1) && (b.disabled = j), N[0] & /*currentPage, numberOfPages*/
5037
+ 196608 && R !== (R = "BonusesLast " + /*currentPage*/
5038
5038
  (w[17] === /*numberOfPages*/
5039
- w[16] - 1 ? "Inactive" : "")) && x(m, "class", N);
5039
+ w[16] - 1 ? "Inactive" : "")) && x(b, "class", R);
5040
5040
  },
5041
5041
  d(w) {
5042
- w && U(t), ln(T, w), j = !1, se(Z);
5042
+ w && D(t), cn(A, w), X = !1, se(Z);
5043
5043
  }
5044
5044
  };
5045
5045
  }
5046
- function rn(e) {
5046
+ function on(e) {
5047
5047
  let t, n = (
5048
5048
  /*i*/
5049
- e[54] + 1 + ""
5049
+ e[55] + 1 + ""
5050
5050
  ), r, o, i, s, a;
5051
5051
  function u() {
5052
5052
  return (
5053
5053
  /*click_handler_3*/
5054
- e[38](
5054
+ e[39](
5055
5055
  /*i*/
5056
- e[54]
5056
+ e[55]
5057
5057
  )
5058
5058
  );
5059
5059
  }
5060
5060
  return {
5061
5061
  c() {
5062
- t = A("button"), r = F(n), t.disabled = o = /*i*/
5063
- e[54] === /*currentPage*/
5062
+ t = T("button"), r = $(n), t.disabled = o = /*i*/
5063
+ e[55] === /*currentPage*/
5064
5064
  e[17], x(t, "class", i = "BonusesPage " + /*i*/
5065
- (e[54] === /*currentPage*/
5065
+ (e[55] === /*currentPage*/
5066
5066
  e[17] ? "BonusPageActive" : ""));
5067
5067
  },
5068
5068
  m(l, c) {
5069
- G(l, t, c), _(t, r), s || (a = J(t, "click", u), s = !0);
5069
+ k(l, t, c), E(t, r), s || (a = Y(t, "click", u), s = !0);
5070
5070
  },
5071
5071
  p(l, c) {
5072
5072
  e = l, c[0] & /*currentPage*/
5073
5073
  131072 && o !== (o = /*i*/
5074
- e[54] === /*currentPage*/
5074
+ e[55] === /*currentPage*/
5075
5075
  e[17]) && (t.disabled = o), c[0] & /*currentPage*/
5076
5076
  131072 && i !== (i = "BonusesPage " + /*i*/
5077
- (e[54] === /*currentPage*/
5077
+ (e[55] === /*currentPage*/
5078
5078
  e[17] ? "BonusPageActive" : "")) && x(t, "class", i);
5079
5079
  },
5080
5080
  d(l) {
5081
- l && U(t), s = !1, a();
5081
+ l && D(t), s = !1, a();
5082
5082
  }
5083
5083
  };
5084
5084
  }
5085
- function on(e) {
5085
+ function sn(e) {
5086
5086
  let t, n, r, o, i = (
5087
5087
  /*$_*/
5088
5088
  e[20]("forfeitBonus") + ""
5089
5089
  ), s, a, u, l, c = (
5090
5090
  /*$_*/
5091
5091
  e[20]("forfeitBonusCancel") + ""
5092
- ), f, d, p, y = (
5092
+ ), f, d, p, _ = (
5093
5093
  /*$_*/
5094
5094
  e[20]("forfeitBonusConfirm") + ""
5095
- ), g, b, E;
5095
+ ), y, m, B;
5096
5096
  return {
5097
5097
  c() {
5098
- t = A("div"), n = A("div"), r = A("div"), o = A("p"), s = F(i), a = X(), u = A("div"), l = A("button"), f = F(c), d = X(), p = A("button"), g = F(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*/
5098
+ t = T("div"), n = T("div"), r = T("div"), o = T("p"), s = $(i), a = z(), u = T("div"), l = T("button"), f = $(c), d = z(), p = T("button"), 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*/
5099
5099
  (e[21] ? "ModalWrapperMobile" : ""));
5100
5100
  },
5101
- m(m, B) {
5102
- G(m, t, B), _(t, n), _(n, r), _(r, o), _(o, s), _(r, a), _(r, u), _(u, l), _(l, f), _(u, d), _(u, p), _(p, g), b || (E = [
5103
- J(
5101
+ m(b, v) {
5102
+ k(b, t, v), E(t, n), E(n, r), E(r, o), E(o, s), E(r, a), E(r, u), E(u, l), E(l, f), E(u, d), E(u, p), E(p, y), m || (B = [
5103
+ Y(
5104
5104
  l,
5105
5105
  "click",
5106
5106
  /*closeBonusModal*/
5107
5107
  e[26]
5108
5108
  ),
5109
- J(
5109
+ Y(
5110
5110
  p,
5111
5111
  "click",
5112
5112
  /*debouncedFunction*/
@@ -5115,192 +5115,202 @@ function on(e) {
5115
5115
  e[27]
5116
5116
  )
5117
5117
  )
5118
- ], b = !0);
5118
+ ], m = !0);
5119
5119
  },
5120
- p(m, B) {
5121
- B[0] & /*$_*/
5120
+ p(b, v) {
5121
+ v[0] & /*$_*/
5122
5122
  1048576 && i !== (i = /*$_*/
5123
- m[20]("forfeitBonus") + "") && re(s, i), B[0] & /*$_*/
5123
+ b[20]("forfeitBonus") + "") && re(s, i), v[0] & /*$_*/
5124
5124
  1048576 && c !== (c = /*$_*/
5125
- m[20]("forfeitBonusCancel") + "") && re(f, c), B[0] & /*$_*/
5126
- 1048576 && y !== (y = /*$_*/
5127
- m[20]("forfeitBonusConfirm") + "") && re(g, y);
5125
+ b[20]("forfeitBonusCancel") + "") && re(f, c), v[0] & /*$_*/
5126
+ 1048576 && _ !== (_ = /*$_*/
5127
+ b[20]("forfeitBonusConfirm") + "") && re(y, _);
5128
5128
  },
5129
- d(m) {
5130
- m && U(t), b = !1, se(E);
5129
+ d(b) {
5130
+ b && D(t), m = !1, se(B);
5131
5131
  }
5132
5132
  };
5133
5133
  }
5134
- function ji(e) {
5134
+ function Wi(e) {
5135
5135
  let t, n, r, o, i = (
5136
5136
  /*$_*/
5137
5137
  e[20]("titleBonuses") + ""
5138
5138
  ), s, a, u, l, c = (
5139
5139
  /*$_*/
5140
5140
  e[20]("bonusCode") + ""
5141
- ), f, d, p, y, g, b, E = (
5141
+ ), f, d, p, _, y, m, B = (
5142
5142
  /*$_*/
5143
5143
  e[20]("getBonus") + ""
5144
- ), m, B, k, N, j, Z, R, T = (
5144
+ ), b, v, j, R, X, Z, q, A = (
5145
5145
  /*isMobile*/
5146
- e[21] && Ri(e)
5146
+ e[21] && Fi(e)
5147
5147
  ), w = (
5148
5148
  /*invalidBonusCode*/
5149
- e[11] && en(e)
5149
+ e[11] && tn(e)
5150
5150
  );
5151
- function I(P, W) {
5151
+ function N(M, W) {
5152
5152
  return (
5153
5153
  /*isLoading*/
5154
- P[9] ? Ui : Fi
5154
+ M[9] ? $i : Ui
5155
5155
  );
5156
5156
  }
5157
- let M = I(e), $ = M(e), L = (
5157
+ let H = N(e), F = H(e), U = (
5158
5158
  /*bonusModal*/
5159
- e[19] && on(e)
5159
+ e[19] && sn(e)
5160
5160
  );
5161
5161
  return {
5162
5162
  c() {
5163
- t = A("div"), n = A("div"), T && T.c(), r = X(), o = A("h2"), s = F(i), a = X(), u = A("div"), l = A("label"), f = F(c), d = X(), p = A("div"), y = A("input"), g = X(), b = A("button"), m = F(E), k = X(), w && w.c(), N = X(), $.c(), j = X(), L && L.c(), x(o, "class", "ActiveBonusesTitle " + /*isMobile*/
5164
- (e[21] ? "ActiveBonusesTitleNone" : "")), x(l, "for", "BonusCode"), x(y, "class", "BonusCodeInput " + /*isMobile*/
5165
- (e[21] ? "BonusCodeInputMobile" : "")), x(y, "type", "text"), x(y, "id", "BonusCode"), x(b, "class", "SubmitBonusCode " + /*isMobile*/
5166
- (e[21] ? "SubmitBonusCodeMobile" : "")), b.disabled = B = /*invalidBonusField*/
5163
+ t = T("div"), n = T("div"), A && A.c(), r = z(), o = T("h2"), s = $(i), a = z(), u = T("div"), l = T("label"), f = $(c), d = z(), p = T("div"), _ = T("input"), y = z(), m = T("button"), b = $(B), j = z(), w && w.c(), R = z(), F.c(), X = z(), U && U.c(), x(o, "class", "ActiveBonusesTitle " + /*isMobile*/
5164
+ (e[21] ? "ActiveBonusesTitleNone" : "")), x(l, "for", "BonusCode"), x(_, "class", "BonusCodeInput " + /*isMobile*/
5165
+ (e[21] ? "BonusCodeInputMobile" : "")), x(_, "type", "text"), x(_, "id", "BonusCode"), x(m, "class", "SubmitBonusCode " + /*isMobile*/
5166
+ (e[21] ? "SubmitBonusCodeMobile" : "")), m.disabled = v = /*invalidBonusField*/
5167
5167
  e[10] || /*isLoading*/
5168
5168
  e[9], x(p, "class", "BonusCodeWrapper " + /*isMobile*/
5169
5169
  (e[21] ? "BonusCodeWrapperMobile" : "")), x(u, "class", "BonusCodeContainer " + /*isMobile*/
5170
5170
  (e[21] ? "BonusCodeContainerMobile" : "")), x(n, "class", "ActiveBonusesWrapper " + /*isMobile*/
5171
5171
  (e[21] ? "ActiveBonusesWrapperMobile" : ""));
5172
5172
  },
5173
- m(P, W) {
5174
- G(P, t, W), _(t, n), T && T.m(n, null), _(n, r), _(n, o), _(o, s), _(n, a), _(n, u), _(u, l), _(l, f), _(u, d), _(u, p), _(p, y), Tt(
5175
- y,
5173
+ m(M, W) {
5174
+ k(M, t, W), E(t, n), A && A.m(n, null), E(n, r), E(n, o), E(o, s), E(n, a), E(n, u), E(u, l), E(l, f), E(u, d), E(u, p), E(p, _), Pt(
5175
+ _,
5176
5176
  /*bonusCode*/
5177
5177
  e[12]
5178
- ), _(p, g), _(p, b), _(b, m), _(u, k), w && w.m(u, null), _(n, N), $.m(n, null), _(t, j), L && L.m(t, null), e[41](t), Z || (R = [
5179
- J(
5180
- y,
5178
+ ), E(p, y), E(p, m), E(m, b), E(u, j), w && w.m(u, null), E(n, R), F.m(n, null), E(t, X), U && U.m(t, null), e[42](t), Z || (q = [
5179
+ Y(
5180
+ _,
5181
5181
  "input",
5182
5182
  /*input_input_handler*/
5183
- e[35]
5183
+ e[36]
5184
5184
  ),
5185
- J(
5186
- y,
5185
+ Y(
5186
+ _,
5187
5187
  "keyup",
5188
5188
  /*validateBonusCode*/
5189
5189
  e[23]
5190
5190
  ),
5191
- J(
5192
- b,
5191
+ Y(
5192
+ m,
5193
5193
  "click",
5194
5194
  /*claimBonus*/
5195
5195
  e[25]
5196
5196
  )
5197
5197
  ], Z = !0);
5198
5198
  },
5199
- p(P, W) {
5199
+ p(M, W) {
5200
5200
  /*isMobile*/
5201
- P[21] && T.p(P, W), W[0] & /*$_*/
5201
+ M[21] && A.p(M, W), W[0] & /*$_*/
5202
5202
  1048576 && i !== (i = /*$_*/
5203
- P[20]("titleBonuses") + "") && re(s, i), W[0] & /*$_*/
5203
+ M[20]("titleBonuses") + "") && re(s, i), W[0] & /*$_*/
5204
5204
  1048576 && c !== (c = /*$_*/
5205
- P[20]("bonusCode") + "") && re(f, c), W[0] & /*bonusCode*/
5206
- 4096 && y.value !== /*bonusCode*/
5207
- P[12] && Tt(
5208
- y,
5205
+ M[20]("bonusCode") + "") && re(f, c), W[0] & /*bonusCode*/
5206
+ 4096 && _.value !== /*bonusCode*/
5207
+ M[12] && Pt(
5208
+ _,
5209
5209
  /*bonusCode*/
5210
- P[12]
5210
+ M[12]
5211
5211
  ), W[0] & /*$_*/
5212
- 1048576 && E !== (E = /*$_*/
5213
- P[20]("getBonus") + "") && re(m, E), W[0] & /*invalidBonusField, isLoading*/
5214
- 1536 && B !== (B = /*invalidBonusField*/
5215
- P[10] || /*isLoading*/
5216
- P[9]) && (b.disabled = B), /*invalidBonusCode*/
5217
- P[11] ? w ? w.p(P, W) : (w = en(P), w.c(), w.m(u, null)) : w && (w.d(1), w = null), M === (M = I(P)) && $ ? $.p(P, W) : ($.d(1), $ = M(P), $ && ($.c(), $.m(n, null))), /*bonusModal*/
5218
- P[19] ? L ? L.p(P, W) : (L = on(P), L.c(), L.m(t, null)) : L && (L.d(1), L = null);
5212
+ 1048576 && B !== (B = /*$_*/
5213
+ M[20]("getBonus") + "") && re(b, B), W[0] & /*invalidBonusField, isLoading*/
5214
+ 1536 && v !== (v = /*invalidBonusField*/
5215
+ M[10] || /*isLoading*/
5216
+ M[9]) && (m.disabled = v), /*invalidBonusCode*/
5217
+ M[11] ? w ? w.p(M, W) : (w = tn(M), w.c(), w.m(u, null)) : w && (w.d(1), w = null), H === (H = N(M)) && F ? F.p(M, W) : (F.d(1), F = H(M), F && (F.c(), F.m(n, null))), /*bonusModal*/
5218
+ M[19] ? U ? U.p(M, W) : (U = sn(M), U.c(), U.m(t, null)) : U && (U.d(1), U = null);
5219
5219
  },
5220
- i: Y,
5221
- o: Y,
5222
- d(P) {
5223
- P && U(t), T && T.d(), w && w.d(), $.d(), L && L.d(), e[41](null), Z = !1, se(R);
5220
+ i: Q,
5221
+ o: Q,
5222
+ d(M) {
5223
+ M && D(t), A && A.d(), w && w.d(), F.d(), U && U.d(), e[42](null), Z = !1, se(q);
5224
5224
  }
5225
5225
  };
5226
5226
  }
5227
- let Wi = "status=active", ne = 6;
5228
- function Vi(e, t, n) {
5227
+ let Vi = "status=active", ne = 6;
5228
+ function zi(e, t, n) {
5229
5229
  let r;
5230
- or(e, Ai, (v) => n(20, r = v));
5231
- let { endpoint: o = "" } = t, { session: i = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: f } = t, { translationurl: d = "" } = t, { currencylocale: p = "" } = t, { dateformat: y = "" } = t, { bonuscoderegex: g = "" } = t, { ishiddenwageringbonus: b = "false" } = t, E = !1, m, B, k = window.navigator.userAgent, N = Ti(k) !== "PC", j = !0, Z = !1, R = "", T = 0, w = 0, I = 0, M = 0, $ = 0, L = [], P, W = "", Xe = !1;
5232
- const Gn = () => {
5233
- fetch(d).then((D) => D.json()).then((D) => {
5234
- Object.keys(D).forEach((Q) => {
5235
- Qt(Q, D[Q]);
5230
+ ir(e, Ti, (g) => n(20, r = g));
5231
+ let { endpoint: o = "" } = t, { session: i = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: f } = t, { translationurl: d = "" } = t, { currencylocale: p = "" } = t, { dateformat: _ = "" } = t, { bonuscoderegex: y = "" } = t, { ishiddenwageringbonus: m = "false" } = t, { gmversion: B = "" } = t, b = !1, v, j, R = window.navigator.userAgent, X = Pi(R) !== "PC", Z = !0, q = !1, A = "", w = 0, N = 0, H = 0, F = 0, U = 0, M = [], W, xt = "", Xe = !1;
5232
+ const kn = () => {
5233
+ fetch(d).then((L) => L.json()).then((L) => {
5234
+ Object.keys(L).forEach((J) => {
5235
+ Qt(J, L[J]);
5236
5236
  });
5237
- }).catch((D) => {
5238
- console.log(D);
5237
+ }).catch((L) => {
5238
+ console.log(L);
5239
5239
  });
5240
5240
  };
5241
- Object.keys(Yt).forEach((v) => {
5242
- Qt(v, Yt[v]);
5241
+ Object.keys(Yt).forEach((g) => {
5242
+ Qt(g, Yt[g]);
5243
5243
  });
5244
- const xt = (v) => {
5245
- if (v.data)
5246
- switch (v.data.type) {
5244
+ const Ct = (g) => {
5245
+ if (g.data)
5246
+ switch (g.data.type) {
5247
5247
  case "DeleteActiveBonus":
5248
- W = v.data.bonuswalletid, n(19, Xe = !0);
5248
+ xt = g.data.bonuswalletid, n(19, Xe = !0);
5249
5249
  break;
5250
5250
  }
5251
5251
  };
5252
- function kn(v, D) {
5253
- return (...Q) => {
5254
- clearTimeout(P), P = setTimeout(
5252
+ function jn(g, L) {
5253
+ return (...J) => {
5254
+ clearTimeout(W), W = setTimeout(
5255
5255
  () => {
5256
- v.apply(this, Q);
5256
+ g.apply(this, J);
5257
5257
  },
5258
- D
5258
+ L
5259
5259
  );
5260
5260
  };
5261
5261
  }
5262
- const Ct = () => {
5262
+ const St = () => {
5263
5263
  window.postMessage(
5264
5264
  {
5265
5265
  type: "PlayerAccountMenuActive",
5266
- isMobile: N
5266
+ isMobile: X
5267
5267
  },
5268
5268
  window.location.href
5269
5269
  );
5270
- }, jn = () => R ? g ? new RegExp(g).test(R) : !0 : !1, Wn = () => {
5271
- n(10, j = !jn()), g && n(11, Z = j);
5272
- }, ee = (v) => {
5273
- n(9, E = !0);
5274
- let D = {
5270
+ }, Wn = () => A ? y ? new RegExp(y).test(A) : !0 : !1, Vn = () => {
5271
+ n(10, Z = !Wn()), y && n(11, q = Z);
5272
+ }, te = (g) => {
5273
+ n(9, b = !0);
5274
+ let L = {
5275
5275
  method: "GET",
5276
5276
  headers: { "X-SessionId": i }
5277
- }, Q = new URL(`${o}/v1/player/${s}/bonusWallet`);
5278
- Q.searchParams.append("filter", Wi), Q.searchParams.append("pagination", `offset=${v},limit=${ne}`), fetch(Q, D).then((te) => te.json()).then(
5279
- (te) => {
5280
- Array.isArray(te.items) && te.items.forEach((q) => {
5281
- const Pe = q?.extension?.bonus?.presentation;
5282
- Pe && (q.termsandconditionsurl = Pe.url, q.termsandconditionsdescription = Pe.description, q.termsandconditionsasset = Pe.assets);
5283
- }), n(16, M = Math.ceil(te.total / ne)), v - ne >= 0 && n(13, T = v - ne), v + ne < te.total && n(14, w = v + ne), n(15, I = (M - 1) * ne), n(17, $ = v / ne), n(18, L = te?.items || []), p && L.forEach((q) => {
5284
- q.fulfilledWR = Te(q.fulfilledWR), q.originalWageringRequirement = Te(q.originalWageringRequirement), q.currentAmount = Te(q.currentAmount), q.extension.grantedPlayerCurrencyAmount = Te(q.extension.grantedPlayerCurrencyAmount);
5277
+ }, J = new URL(`${o}${B === "gm2" ? "/v1/bonus/granted" : `/v1/player/${s}/bonusWallet`}`);
5278
+ J.searchParams.append("filter", Vi), J.searchParams.append("pagination", `offset=${g},limit=${ne}`), fetch(J, L).then((K) => K.json()).then(
5279
+ (K) => {
5280
+ Array.isArray(K.items) && (B === "gm2" ? K.items.forEach((P) => {
5281
+ P.walletId = P.bonusWalletID, P.granted = P.grantedDate, P.expiryTime = P.expiryDate, P.currentAmount = P.remainingAmount, P.originalWageringRequirement = P.initialWagerRequirementAmount, P.fulfilledWR = P.initialWagerRequirementAmount - P.remainingWagerRequirementAmount, P.extension = { grantedPlayerCurrencyAmount: P.amount };
5282
+ }) : K.items.forEach((P) => {
5283
+ const Pe = P?.extension?.bonus?.presentation;
5284
+ Pe && (P.termsandconditionsurl = Pe.url, P.termsandconditionsdescription = Pe.description, P.termsandconditionsasset = Pe.assets);
5285
+ })), n(16, F = Math.ceil(K.total / ne)), g - ne >= 0 && n(13, w = g - ne), g + ne < K.total && n(14, N = g + ne), n(15, H = (F - 1) * ne), n(17, U = g / ne), n(18, M = K?.items || []), p && M.forEach((P) => {
5286
+ P.fulfilledWR = Te(P.fulfilledWR), P.originalWageringRequirement = Te(P.originalWageringRequirement), P.currentAmount = Te(P.currentAmount), P.extension.grantedPlayerCurrencyAmount = Te(P.extension.grantedPlayerCurrencyAmount);
5285
5287
  }), window.scrollTo({ top: 0, behavior: "smooth" });
5286
5288
  },
5287
- (te) => {
5288
- console.error(te);
5289
+ (K) => {
5290
+ console.error(K);
5289
5291
  }
5290
5292
  ).finally(() => {
5291
- n(9, E = !1);
5293
+ n(9, b = !1);
5292
5294
  });
5293
- }, Te = (v) => new Intl.NumberFormat(p, { style: "currency", currency: u }).format(v).replace(/\s/g, ""), Vn = () => {
5294
- n(9, E = !0);
5295
- let v = new URL(`${o}/v1/player/${s}/claimbonus`), D = {
5295
+ }, Te = (g) => new Intl.NumberFormat(p, { style: "currency", currency: u }).format(g).replace(/\s/g, ""), zn = () => {
5296
+ n(9, b = !0);
5297
+ let g = new URL(`${o}${B === "gm2" ? "/v1/bonus/claim" : `/v1/player/${s}/claimbonus`}`), L;
5298
+ B === "gm2" ? L = {
5299
+ method: "PUT",
5300
+ headers: {
5301
+ "X-SessionId": i,
5302
+ accept: "application/json",
5303
+ "Content-Type": "application/json"
5304
+ },
5305
+ body: JSON.stringify({ bonusCode: A, currency: u })
5306
+ } : (L = {
5296
5307
  method: "POST",
5297
5308
  headers: {
5298
5309
  "X-SessionId": i,
5299
5310
  accept: "application/json"
5300
5311
  }
5301
- };
5302
- v.searchParams.append("currency", u), v.searchParams.append("bonusCode", R), fetch(v.href, D).then((Q) => {
5303
- Q.status == 200 ? (n(11, Z = !1), ee(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
5312
+ }, g.searchParams.append("currency", u), g.searchParams.append("bonusCode", A)), fetch(g.href, L).then((J) => {
5313
+ J.status == 200 ? (n(11, q = !1), te(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
5304
5314
  {
5305
5315
  type: "WidgetNotification",
5306
5316
  data: {
@@ -5312,8 +5322,8 @@ function Vi(e, t, n) {
5312
5322
  ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
5313
5323
  context: "PlayerActiveBonuses",
5314
5324
  userId: `${s || "Not logged in"}`,
5315
- bonusCode: `${R}`
5316
- })) : (n(11, Z = !0), window.postMessage(
5325
+ bonusCode: `${A}`
5326
+ })) : (n(11, q = !0), window.postMessage(
5317
5327
  {
5318
5328
  type: "WidgetNotification",
5319
5329
  data: {
@@ -5324,52 +5334,52 @@ function Vi(e, t, n) {
5324
5334
  window.location.href
5325
5335
  ));
5326
5336
  }).finally(() => {
5327
- n(9, E = !1);
5337
+ n(9, b = !1);
5328
5338
  });
5329
- }, St = () => {
5339
+ }, At = () => {
5330
5340
  window.postMessage({ type: "EnableScroll" }, window.location.href), n(19, Xe = !1);
5331
- }, zn = () => {
5332
- let v = {
5341
+ }, Xn = () => {
5342
+ let g = {
5333
5343
  method: "DELETE",
5334
5344
  headers: {
5335
5345
  "X-SessionId": i,
5336
5346
  "Content-Type": "application/json",
5337
5347
  Accept: "application/json"
5338
5348
  }
5339
- }, D = new URL(`${o}/v1/player/${s}/bonusWallet`);
5340
- D.searchParams.append("bonusWalletID", W), fetch(D, v).then((Q) => {
5341
- Q.status == 200 && (ee(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), St());
5349
+ }, L = new URL(`${o}${B === "gm2" ? "/v1/bonus/forfeit" : `/v1/player/${s}/bonusWallet`}`);
5350
+ L.searchParams.append("bonusWalletID", xt), fetch(L, g).then((J) => {
5351
+ J.status == 200 && (te(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), At());
5342
5352
  });
5343
- }, Xn = () => {
5344
- Pi(a);
5353
+ }, qn = () => {
5354
+ Mi(a);
5345
5355
  };
5346
- function Zn(v) {
5347
- return kn(v, 1e3);
5356
+ function Zn(g) {
5357
+ return jn(g, 1e3);
5348
5358
  }
5349
- hr(() => (window.addEventListener("message", xt, !1), () => {
5350
- window.removeEventListener("message", xt);
5359
+ fr(() => (window.addEventListener("message", Ct, !1), () => {
5360
+ window.removeEventListener("message", Ct);
5351
5361
  }));
5352
- const qn = () => Ct();
5362
+ const Jn = () => St();
5353
5363
  function Qn() {
5354
- R = this.value, n(12, R);
5364
+ A = this.value, n(12, A);
5355
5365
  }
5356
- const Yn = () => ee(0), Jn = () => ee(T), Kn = (v) => ee(v * ne), er = () => ee(w), tr = () => ee(I);
5357
- function nr(v) {
5358
- nt[v ? "unshift" : "push"](() => {
5359
- m = v, n(8, m);
5366
+ const Yn = () => te(0), Kn = () => te(w), er = (g) => te(g * ne), tr = () => te(N), nr = () => te(H);
5367
+ function rr(g) {
5368
+ nt[g ? "unshift" : "push"](() => {
5369
+ v = g, n(8, v);
5360
5370
  });
5361
5371
  }
5362
- return e.$$set = (v) => {
5363
- "endpoint" in v && n(29, o = v.endpoint), "session" in v && n(30, i = v.session), "playerid" in v && n(31, s = v.playerid), "lang" in v && n(0, a = v.lang), "currency" in v && n(32, u = v.currency), "clientstyling" in v && n(1, l = v.clientstyling), "clientstylingurl" in v && n(2, c = v.clientstylingurl), "mbsource" in v && n(3, f = v.mbsource), "translationurl" in v && n(4, d = v.translationurl), "currencylocale" in v && n(5, p = v.currencylocale), "dateformat" in v && n(6, y = v.dateformat), "bonuscoderegex" in v && n(33, g = v.bonuscoderegex), "ishiddenwageringbonus" in v && n(7, b = v.ishiddenwageringbonus);
5372
+ return e.$$set = (g) => {
5373
+ "endpoint" in g && n(29, o = g.endpoint), "session" in g && n(30, i = g.session), "playerid" in g && n(31, s = g.playerid), "lang" in g && n(0, a = g.lang), "currency" in g && n(32, u = g.currency), "clientstyling" in g && n(1, l = g.clientstyling), "clientstylingurl" in g && n(2, c = g.clientstylingurl), "mbsource" in g && n(3, f = g.mbsource), "translationurl" in g && n(4, d = g.translationurl), "currencylocale" in g && n(5, p = g.currencylocale), "dateformat" in g && n(6, _ = g.dateformat), "bonuscoderegex" in g && n(33, y = g.bonuscoderegex), "ishiddenwageringbonus" in g && n(7, m = g.ishiddenwageringbonus), "gmversion" in g && n(34, B = g.gmversion);
5364
5374
  }, e.$$.update = () => {
5365
5375
  e.$$.dirty[0] & /*lang*/
5366
- 1 && a && Xn(), e.$$.dirty[0] & /*session, endpoint*/
5376
+ 1 && a && qn(), e.$$.dirty[0] & /*session, endpoint*/
5367
5377
  1610612736 | e.$$.dirty[1] & /*playerid*/
5368
- 1 && i && s && o && ee(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5369
- 258 && l && m && Mi(m, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5370
- 260 && c && m && Hi(m, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5371
- 264 && f && m && Oi(m, `${f}.Style`, B), e.$$.dirty[0] & /*translationurl*/
5372
- 16 && d && Gn();
5378
+ 1 && i && s && o && te(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5379
+ 258 && l && v && Hi(v, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5380
+ 260 && c && v && Oi(v, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5381
+ 264 && f && v && Ii(v, `${f}.Style`, j), e.$$.dirty[0] & /*translationurl*/
5382
+ 16 && d && kn();
5373
5383
  }, [
5374
5384
  a,
5375
5385
  l,
@@ -5377,52 +5387,53 @@ function Vi(e, t, n) {
5377
5387
  f,
5378
5388
  d,
5379
5389
  p,
5380
- y,
5381
- b,
5390
+ _,
5382
5391
  m,
5383
- E,
5384
- j,
5392
+ v,
5393
+ b,
5385
5394
  Z,
5386
- R,
5387
- T,
5395
+ q,
5396
+ A,
5388
5397
  w,
5389
- I,
5398
+ N,
5399
+ H,
5400
+ F,
5401
+ U,
5390
5402
  M,
5391
- $,
5392
- L,
5393
5403
  Xe,
5394
5404
  r,
5395
- N,
5396
- Ct,
5397
- Wn,
5398
- ee,
5399
- Vn,
5405
+ X,
5400
5406
  St,
5407
+ Vn,
5408
+ te,
5401
5409
  zn,
5410
+ At,
5411
+ Xn,
5402
5412
  Zn,
5403
5413
  o,
5404
5414
  i,
5405
5415
  s,
5406
5416
  u,
5407
- g,
5408
- qn,
5417
+ y,
5418
+ B,
5419
+ Jn,
5409
5420
  Qn,
5410
5421
  Yn,
5411
- Jn,
5412
5422
  Kn,
5413
5423
  er,
5414
5424
  tr,
5415
- nr
5425
+ nr,
5426
+ rr
5416
5427
  ];
5417
5428
  }
5418
- class zi extends wr {
5429
+ class Xi extends xr {
5419
5430
  constructor(t) {
5420
- super(), Br(
5431
+ super(), Er(
5421
5432
  this,
5422
5433
  t,
5423
- Vi,
5424
- ji,
5425
- an,
5434
+ zi,
5435
+ Wi,
5436
+ un,
5426
5437
  {
5427
5438
  endpoint: 29,
5428
5439
  session: 30,
@@ -5436,9 +5447,10 @@ class zi extends wr {
5436
5447
  currencylocale: 5,
5437
5448
  dateformat: 6,
5438
5449
  bonuscoderegex: 33,
5439
- ishiddenwageringbonus: 7
5450
+ ishiddenwageringbonus: 7,
5451
+ gmversion: 34
5440
5452
  },
5441
- Li,
5453
+ Ri,
5442
5454
  [-1, -1]
5443
5455
  );
5444
5456
  }
@@ -5446,109 +5458,115 @@ class zi extends wr {
5446
5458
  return this.$$.ctx[29];
5447
5459
  }
5448
5460
  set endpoint(t) {
5449
- this.$$set({ endpoint: t }), V();
5461
+ this.$$set({ endpoint: t }), G();
5450
5462
  }
5451
5463
  get session() {
5452
5464
  return this.$$.ctx[30];
5453
5465
  }
5454
5466
  set session(t) {
5455
- this.$$set({ session: t }), V();
5467
+ this.$$set({ session: t }), G();
5456
5468
  }
5457
5469
  get playerid() {
5458
5470
  return this.$$.ctx[31];
5459
5471
  }
5460
5472
  set playerid(t) {
5461
- this.$$set({ playerid: t }), V();
5473
+ this.$$set({ playerid: t }), G();
5462
5474
  }
5463
5475
  get lang() {
5464
5476
  return this.$$.ctx[0];
5465
5477
  }
5466
5478
  set lang(t) {
5467
- this.$$set({ lang: t }), V();
5479
+ this.$$set({ lang: t }), G();
5468
5480
  }
5469
5481
  get currency() {
5470
5482
  return this.$$.ctx[32];
5471
5483
  }
5472
5484
  set currency(t) {
5473
- this.$$set({ currency: t }), V();
5485
+ this.$$set({ currency: t }), G();
5474
5486
  }
5475
5487
  get clientstyling() {
5476
5488
  return this.$$.ctx[1];
5477
5489
  }
5478
5490
  set clientstyling(t) {
5479
- this.$$set({ clientstyling: t }), V();
5491
+ this.$$set({ clientstyling: t }), G();
5480
5492
  }
5481
5493
  get clientstylingurl() {
5482
5494
  return this.$$.ctx[2];
5483
5495
  }
5484
5496
  set clientstylingurl(t) {
5485
- this.$$set({ clientstylingurl: t }), V();
5497
+ this.$$set({ clientstylingurl: t }), G();
5486
5498
  }
5487
5499
  get mbsource() {
5488
5500
  return this.$$.ctx[3];
5489
5501
  }
5490
5502
  set mbsource(t) {
5491
- this.$$set({ mbsource: t }), V();
5503
+ this.$$set({ mbsource: t }), G();
5492
5504
  }
5493
5505
  get translationurl() {
5494
5506
  return this.$$.ctx[4];
5495
5507
  }
5496
5508
  set translationurl(t) {
5497
- this.$$set({ translationurl: t }), V();
5509
+ this.$$set({ translationurl: t }), G();
5498
5510
  }
5499
5511
  get currencylocale() {
5500
5512
  return this.$$.ctx[5];
5501
5513
  }
5502
5514
  set currencylocale(t) {
5503
- this.$$set({ currencylocale: t }), V();
5515
+ this.$$set({ currencylocale: t }), G();
5504
5516
  }
5505
5517
  get dateformat() {
5506
5518
  return this.$$.ctx[6];
5507
5519
  }
5508
5520
  set dateformat(t) {
5509
- this.$$set({ dateformat: t }), V();
5521
+ this.$$set({ dateformat: t }), G();
5510
5522
  }
5511
5523
  get bonuscoderegex() {
5512
5524
  return this.$$.ctx[33];
5513
5525
  }
5514
5526
  set bonuscoderegex(t) {
5515
- this.$$set({ bonuscoderegex: t }), V();
5527
+ this.$$set({ bonuscoderegex: t }), G();
5516
5528
  }
5517
5529
  get ishiddenwageringbonus() {
5518
5530
  return this.$$.ctx[7];
5519
5531
  }
5520
5532
  set ishiddenwageringbonus(t) {
5521
- this.$$set({ ishiddenwageringbonus: t }), V();
5533
+ this.$$set({ ishiddenwageringbonus: t }), G();
5534
+ }
5535
+ get gmversion() {
5536
+ return this.$$.ctx[34];
5537
+ }
5538
+ set gmversion(t) {
5539
+ this.$$set({ gmversion: t }), G();
5522
5540
  }
5523
5541
  }
5524
- Er(zi, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {} }, [], [], !0);
5542
+ wr(Xi, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {} }, [], [], !0);
5525
5543
  export {
5526
5544
  ye as $,
5527
- zi as P,
5528
- wr as S,
5529
- Rn as a,
5530
- ir as b,
5531
- Er as c,
5532
- U as d,
5545
+ Xi as P,
5546
+ xr as S,
5547
+ Fn as a,
5548
+ sr as b,
5549
+ wr as c,
5550
+ D as d,
5533
5551
  re as e,
5534
- V as f,
5552
+ G as f,
5535
5553
  x as g,
5536
- G as h,
5537
- Br as i,
5538
- _ as j,
5539
- A as k,
5540
- X as l,
5541
- or as m,
5542
- Y as n,
5543
- Ti as o,
5544
- hr as p,
5545
- Xi as q,
5546
- J as r,
5547
- an as s,
5548
- F as t,
5554
+ k as h,
5555
+ Er as i,
5556
+ E as j,
5557
+ T as k,
5558
+ z as l,
5559
+ ir as m,
5560
+ Q as n,
5561
+ Pi as o,
5562
+ fr as p,
5563
+ qi as q,
5564
+ Y as r,
5565
+ un as s,
5566
+ $ as t,
5549
5567
  nt as u,
5550
- Ai as v,
5551
- Mi as w,
5552
- Hi as x,
5553
- Oi as y
5568
+ Ti as v,
5569
+ Hi as w,
5570
+ Oi as x,
5571
+ Ii as y
5554
5572
  };