@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,17 +1,17 @@
1
- var fr = Object.defineProperty, dr = Object.defineProperties;
2
- var pr = Object.getOwnPropertyDescriptors;
3
- var Ht = Object.getOwnPropertySymbols;
4
- var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
- var qe = (e, t, n) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ot = (e, t) => {
1
+ var dr = Object.defineProperty, pr = Object.defineProperties;
2
+ var mr = Object.getOwnPropertyDescriptors;
3
+ var Ot = Object.getOwnPropertySymbols;
4
+ var br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
5
+ var Ze = (e, t, n) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, It = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- mr.call(t, n) && qe(e, n, t[n]);
8
- if (Ht)
9
- for (var n of Ht(t))
10
- br.call(t, n) && qe(e, n, t[n]);
7
+ br.call(t, n) && Ze(e, n, t[n]);
8
+ if (Ot)
9
+ for (var n of Ot(t))
10
+ gr.call(t, n) && Ze(e, n, t[n]);
11
11
  return e;
12
- }, It = (e, t) => dr(e, pr(t));
13
- var Y = (e, t, n) => (qe(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var Nt = (e, t, n) => new Promise((r, o) => {
12
+ }, Nt = (e, t) => pr(e, mr(t));
13
+ var Y = (e, t, n) => (Ze(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var Lt = (e, t, n) => new Promise((r, o) => {
15
15
  var i = (u) => {
16
16
  try {
17
17
  a(n.next(u));
@@ -27,53 +27,53 @@ var Nt = (e, t, n) => new Promise((r, o) => {
27
27
  }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(i, s);
28
28
  a((n = n.apply(e, t)).next());
29
29
  });
30
- function J() {
30
+ function K() {
31
31
  }
32
- function pn(e) {
32
+ function mn(e) {
33
33
  return e();
34
34
  }
35
- function Lt() {
35
+ function Rt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ae(e) {
39
- e.forEach(pn);
39
+ e.forEach(mn);
40
40
  }
41
41
  function Et(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function mn(e, t) {
44
+ function bn(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let He;
48
- function as(e, t) {
48
+ function us(e, t) {
49
49
  return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
50
50
  }
51
- function gr(e) {
51
+ function vr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function bn(e, ...t) {
54
+ function gn(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const r of t)
57
57
  r(void 0);
58
- return J;
58
+ return K;
59
59
  }
60
60
  const n = e.subscribe(...t);
61
61
  return n.unsubscribe ? () => n.unsubscribe() : n;
62
62
  }
63
- function vr(e, t, n) {
64
- e.$$.on_destroy.push(bn(t, n));
63
+ function yr(e, t, n) {
64
+ e.$$.on_destroy.push(gn(t, n));
65
65
  }
66
- function _(e, t) {
66
+ function E(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function yr(e, t, n) {
70
- const r = _r(e);
69
+ function _r(e, t, n) {
70
+ const r = Br(e);
71
71
  if (!r.getElementById(t)) {
72
- const o = A("style");
73
- o.id = t, o.textContent = n, Br(r, o);
72
+ const o = P("style");
73
+ o.id = t, o.textContent = n, Er(r, o);
74
74
  }
75
75
  }
76
- function _r(e) {
76
+ function Br(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,37 +83,37 @@ function _r(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Br(e, t) {
87
- return _(
86
+ function Er(e, t) {
87
+ return E(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function G(e, t, n) {
93
+ function k(e, t, n) {
94
94
  e.insertBefore(t, n || null);
95
95
  }
96
- function U(e) {
96
+ function D(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function gn(e, t) {
99
+ function vn(e, t) {
100
100
  for (let n = 0; n < e.length; n += 1)
101
101
  e[n] && e[n].d(t);
102
102
  }
103
- function A(e) {
103
+ function P(e) {
104
104
  return document.createElement(e);
105
105
  }
106
106
  function le(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function F(e) {
109
+ function $(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function Z() {
113
- return F(" ");
112
+ function z() {
113
+ return $(" ");
114
114
  }
115
115
  function wt() {
116
- return F("");
116
+ return $("");
117
117
  }
118
118
  function ee(e, t, n, r) {
119
119
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
@@ -125,17 +125,17 @@ function h(e, t, n) {
125
125
  const r = t.toLowerCase();
126
126
  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);
127
127
  }
128
- function Er(e) {
128
+ function wr(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
131
  function oe(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function Rt(e, t) {
135
+ function Ft(e, t) {
136
136
  e.value = t == null ? "" : t;
137
137
  }
138
- function wr(e) {
138
+ function xr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -148,27 +148,27 @@ let xe;
148
148
  function we(e) {
149
149
  xe = e;
150
150
  }
151
- function xr() {
151
+ function Cr() {
152
152
  if (!xe)
153
153
  throw new Error("Function called outside component initialization");
154
154
  return xe;
155
155
  }
156
- function Cr(e) {
157
- xr().$$.on_mount.push(e);
156
+ function Sr(e) {
157
+ Cr().$$.on_mount.push(e);
158
158
  }
159
159
  const fe = [], ot = [];
160
160
  let pe = [];
161
- const Ft = [], Sr = /* @__PURE__ */ Promise.resolve();
161
+ const Ut = [], Ar = /* @__PURE__ */ Promise.resolve();
162
162
  let it = !1;
163
- function Ar() {
164
- it || (it = !0, Sr.then(z));
163
+ function Tr() {
164
+ it || (it = !0, Ar.then(G));
165
165
  }
166
166
  function st(e) {
167
167
  pe.push(e);
168
168
  }
169
- const Qe = /* @__PURE__ */ new Set();
169
+ const Je = /* @__PURE__ */ new Set();
170
170
  let ce = 0;
171
- function z() {
171
+ function G() {
172
172
  if (ce !== 0)
173
173
  return;
174
174
  const e = xe;
@@ -176,7 +176,7 @@ function z() {
176
176
  try {
177
177
  for (; ce < fe.length; ) {
178
178
  const t = fe[ce];
179
- ce++, we(t), Tr(t.$$);
179
+ ce++, we(t), Pr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw fe.length = 0, ce = 0, t;
@@ -185,47 +185,47 @@ function z() {
185
185
  ot.pop()();
186
186
  for (let t = 0; t < pe.length; t += 1) {
187
187
  const n = pe[t];
188
- Qe.has(n) || (Qe.add(n), n());
188
+ Je.has(n) || (Je.add(n), n());
189
189
  }
190
190
  pe.length = 0;
191
191
  } while (fe.length);
192
- for (; Ft.length; )
193
- Ft.pop()();
194
- it = !1, Qe.clear(), we(e);
192
+ for (; Ut.length; )
193
+ Ut.pop()();
194
+ it = !1, Je.clear(), we(e);
195
195
  }
196
- function Tr(e) {
196
+ function Pr(e) {
197
197
  if (e.fragment !== null) {
198
198
  e.update(), ae(e.before_update);
199
199
  const t = e.dirty;
200
200
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(st);
201
201
  }
202
202
  }
203
- function Pr(e) {
203
+ function Mr(e) {
204
204
  const t = [], n = [];
205
205
  pe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), pe = t;
206
206
  }
207
- const Mr = /* @__PURE__ */ new Set();
208
- function Hr(e, t) {
209
- e && e.i && (Mr.delete(e), e.i(t));
207
+ const Hr = /* @__PURE__ */ new Set();
208
+ function Or(e, t) {
209
+ e && e.i && (Hr.delete(e), e.i(t));
210
210
  }
211
211
  function Ue(e) {
212
212
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
213
213
  }
214
- function Or(e, t, n) {
214
+ function Ir(e, t, n) {
215
215
  const { fragment: r, after_update: o } = e.$$;
216
216
  r && r.m(t, n), st(() => {
217
- const i = e.$$.on_mount.map(pn).filter(Et);
217
+ const i = e.$$.on_mount.map(mn).filter(Et);
218
218
  e.$$.on_destroy ? e.$$.on_destroy.push(...i) : ae(i), e.$$.on_mount = [];
219
219
  }), o.forEach(st);
220
220
  }
221
- function Ir(e, t) {
221
+ function Nr(e, t) {
222
222
  const n = e.$$;
223
- n.fragment !== null && (Pr(n.after_update), ae(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
223
+ n.fragment !== null && (Mr(n.after_update), ae(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
224
224
  }
225
- function Nr(e, t) {
226
- e.$$.dirty[0] === -1 && (fe.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
+ function Lr(e, t) {
226
+ e.$$.dirty[0] === -1 && (fe.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
227
  }
228
- function Lr(e, t, n, r, o, i, s = null, a = [-1]) {
228
+ function Rr(e, t, n, r, o, i, s = null, a = [-1]) {
229
229
  const u = xe;
230
230
  we(e);
231
231
  const l = e.$$ = {
@@ -233,9 +233,9 @@ function Lr(e, t, n, r, o, i, s = null, a = [-1]) {
233
233
  ctx: [],
234
234
  // state
235
235
  props: i,
236
- update: J,
236
+ update: K,
237
237
  not_equal: o,
238
- bound: Lt(),
238
+ bound: Rt(),
239
239
  // lifecycle
240
240
  on_mount: [],
241
241
  on_destroy: [],
@@ -244,7 +244,7 @@ function Lr(e, t, n, r, o, i, s = null, a = [-1]) {
244
244
  after_update: [],
245
245
  context: new Map(t.context || (u ? u.$$.context : [])),
246
246
  // everything else
247
- callbacks: Lt(),
247
+ callbacks: Rt(),
248
248
  dirty: a,
249
249
  skip_bound: !1,
250
250
  root: t.target || u.$$.root
@@ -252,20 +252,20 @@ function Lr(e, t, n, r, o, i, s = null, a = [-1]) {
252
252
  s && s(l.root);
253
253
  let c = !1;
254
254
  if (l.ctx = n ? n(e, t.props || {}, (f, d, ...p) => {
255
- const y = p.length ? p[0] : d;
256
- return l.ctx && o(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Nr(e, f)), d;
255
+ const _ = p.length ? p[0] : d;
256
+ return l.ctx && o(l.ctx[f], l.ctx[f] = _) && (!l.skip_bound && l.bound[f] && l.bound[f](_), c && Lr(e, f)), d;
257
257
  }) : [], l.update(), c = !0, ae(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
258
258
  if (t.hydrate) {
259
- const f = Er(t.target);
260
- l.fragment && l.fragment.l(f), f.forEach(U);
259
+ const f = wr(t.target);
260
+ l.fragment && l.fragment.l(f), f.forEach(D);
261
261
  } else
262
262
  l.fragment && l.fragment.c();
263
- t.intro && Hr(e.$$.fragment), Or(e, t.target, t.anchor), z();
263
+ t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), G();
264
264
  }
265
265
  we(u);
266
266
  }
267
- let vn;
268
- typeof HTMLElement == "function" && (vn = class extends HTMLElement {
267
+ let yn;
268
+ typeof HTMLElement == "function" && (yn = class extends HTMLElement {
269
269
  constructor(t, n, r) {
270
270
  super();
271
271
  /** The Svelte component constructor */
@@ -302,31 +302,31 @@ typeof HTMLElement == "function" && (vn = class extends HTMLElement {
302
302
  }
303
303
  }
304
304
  connectedCallback() {
305
- return Nt(this, null, function* () {
305
+ return Lt(this, null, function* () {
306
306
  if (this.$$cn = !0, !this.$$c) {
307
307
  let t = function(i) {
308
308
  return () => {
309
309
  let s;
310
310
  return {
311
311
  c: function() {
312
- s = A("slot"), i !== "default" && x(s, "name", i);
312
+ s = P("slot"), i !== "default" && x(s, "name", i);
313
313
  },
314
314
  /**
315
315
  * @param {HTMLElement} target
316
316
  * @param {HTMLElement} [anchor]
317
317
  */
318
318
  m: function(l, c) {
319
- G(l, s, c);
319
+ k(l, s, c);
320
320
  },
321
321
  d: function(l) {
322
- l && U(s);
322
+ l && D(s);
323
323
  }
324
324
  };
325
325
  };
326
326
  };
327
327
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
328
328
  return;
329
- const n = {}, r = wr(this);
329
+ const n = {}, r = xr(this);
330
330
  for (const i of this.$$s)
331
331
  i in r && (n[i] = [t(i)]);
332
332
  for (const i of this.attributes) {
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (vn = class extends HTMLElement {
337
337
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
338
338
  this.$$c = new this.$$ctor({
339
339
  target: this.shadowRoot || this,
340
- props: It(Ot({}, this.$$d), {
340
+ props: Nt(It({}, this.$$d), {
341
341
  $$slots: n,
342
342
  $$scope: {
343
343
  ctx: []
@@ -415,8 +415,8 @@ function Ne(e, t, n, r) {
415
415
  return t;
416
416
  }
417
417
  }
418
- function Rr(e, t, n, r, o, i) {
419
- let s = class extends vn {
418
+ function Fr(e, t, n, r, o, i) {
419
+ let s = class extends yn {
420
420
  constructor() {
421
421
  super(e, n, o), this.$$p_d = t;
422
422
  }
@@ -446,7 +446,7 @@ function Rr(e, t, n, r, o, i) {
446
446
  }), e.element = /** @type {any} */
447
447
  s, s;
448
448
  }
449
- class Fr {
449
+ class Ur {
450
450
  constructor() {
451
451
  /**
452
452
  * ### PRIVATE API
@@ -467,7 +467,7 @@ class Fr {
467
467
  }
468
468
  /** @returns {void} */
469
469
  $destroy() {
470
- Ir(this, 1), this.$destroy = J;
470
+ Nr(this, 1), this.$destroy = K;
471
471
  }
472
472
  /**
473
473
  * @template {Extract<keyof Events, string>} K
@@ -477,7 +477,7 @@ class Fr {
477
477
  */
478
478
  $on(t, n) {
479
479
  if (!Et(n))
480
- return J;
480
+ return K;
481
481
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
482
482
  return r.push(n), () => {
483
483
  const o = r.indexOf(n);
@@ -489,11 +489,11 @@ class Fr {
489
489
  * @returns {void}
490
490
  */
491
491
  $set(t) {
492
- this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
+ this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
493
  }
494
494
  }
495
- const Ur = "4";
496
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
495
+ const $r = "4";
496
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
497
497
  /*! *****************************************************************************
498
498
  Copyright (c) Microsoft Corporation.
499
499
 
@@ -566,13 +566,13 @@ function ct(e, t, n) {
566
566
  function ie(e) {
567
567
  return typeof e == "function";
568
568
  }
569
- function yn(e) {
569
+ function _n(e) {
570
570
  var t = function(r) {
571
571
  Error.call(r), r.stack = new Error().stack;
572
572
  }, n = e(t);
573
573
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
574
574
  }
575
- var Ye = yn(function(e) {
575
+ var Qe = _n(function(e) {
576
576
  return function(n) {
577
577
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
578
578
  ` + n.map(function(r, o) {
@@ -603,8 +603,8 @@ var ke = function() {
603
603
  var l = u.value;
604
604
  l.remove(this);
605
605
  }
606
- } catch (g) {
607
- t = { error: g };
606
+ } catch (y) {
607
+ t = { error: y };
608
608
  } finally {
609
609
  try {
610
610
  u && !u.done && (n = a.return) && n.call(a);
@@ -619,23 +619,23 @@ var ke = function() {
619
619
  if (ie(c))
620
620
  try {
621
621
  c();
622
- } catch (g) {
623
- i = g instanceof Ye ? g.errors : [g];
622
+ } catch (y) {
623
+ i = y instanceof Qe ? y.errors : [y];
624
624
  }
625
625
  var f = this._finalizers;
626
626
  if (f) {
627
627
  this._finalizers = null;
628
628
  try {
629
629
  for (var d = ut(f), p = d.next(); !p.done; p = d.next()) {
630
- var y = p.value;
630
+ var _ = p.value;
631
631
  try {
632
- Ut(y);
633
- } catch (g) {
634
- i = i != null ? i : [], g instanceof Ye ? i = ct(ct([], lt(i)), lt(g.errors)) : i.push(g);
632
+ $t(_);
633
+ } catch (y) {
634
+ i = i != null ? i : [], y instanceof Qe ? i = ct(ct([], lt(i)), lt(y.errors)) : i.push(y);
635
635
  }
636
636
  }
637
- } catch (g) {
638
- r = { error: g };
637
+ } catch (y) {
638
+ r = { error: y };
639
639
  } finally {
640
640
  try {
641
641
  p && !p.done && (o = d.return) && o.call(d);
@@ -646,13 +646,13 @@ var ke = function() {
646
646
  }
647
647
  }
648
648
  if (i)
649
- throw new Ye(i);
649
+ throw new Qe(i);
650
650
  }
651
651
  }, e.prototype.add = function(t) {
652
652
  var n;
653
653
  if (t && t !== this)
654
654
  if (this.closed)
655
- Ut(t);
655
+ $t(t);
656
656
  else {
657
657
  if (t instanceof e) {
658
658
  if (t.closed || t._hasParent(this))
@@ -677,16 +677,16 @@ var ke = function() {
677
677
  var t = new e();
678
678
  return t.closed = !0, t;
679
679
  }(), e;
680
- }(), _n = ke.EMPTY;
681
- function Bn(e) {
680
+ }(), Bn = ke.EMPTY;
681
+ function En(e) {
682
682
  return e instanceof ke || e && "closed" in e && ie(e.remove) && ie(e.add) && ie(e.unsubscribe);
683
683
  }
684
- function Ut(e) {
684
+ function $t(e) {
685
685
  ie(e) ? e() : e.unsubscribe();
686
686
  }
687
- var $r = {
687
+ var Dr = {
688
688
  Promise: void 0
689
- }, Dr = {
689
+ }, Gr = {
690
690
  setTimeout: function(e, t) {
691
691
  for (var n = [], r = 2; r < arguments.length; r++)
692
692
  n[r - 2] = arguments[r];
@@ -697,21 +697,21 @@ var $r = {
697
697
  },
698
698
  delegate: void 0
699
699
  };
700
- function Gr(e) {
701
- Dr.setTimeout(function() {
700
+ function kr(e) {
701
+ Gr.setTimeout(function() {
702
702
  throw e;
703
703
  });
704
704
  }
705
- function $t() {
705
+ function Dt() {
706
706
  }
707
707
  function Le(e) {
708
708
  e();
709
709
  }
710
- var En = function(e) {
710
+ var wn = function(e) {
711
711
  Ae(t, e);
712
712
  function t(n) {
713
713
  var r = e.call(this) || this;
714
- return r.isStopped = !1, n ? (r.destination = n, Bn(n) && n.add(r)) : r.destination = Wr, r;
714
+ return r.isStopped = !1, n ? (r.destination = n, En(n) && n.add(r)) : r.destination = Vr, r;
715
715
  }
716
716
  return t.create = function(n, r, o) {
717
717
  return new ft(n, r, o);
@@ -738,7 +738,7 @@ var En = function(e) {
738
738
  this.unsubscribe();
739
739
  }
740
740
  }, t;
741
- }(ke), kr = function() {
741
+ }(ke), jr = function() {
742
742
  function e(t) {
743
743
  this.partialObserver = t;
744
744
  }
@@ -777,35 +777,35 @@ var En = function(e) {
777
777
  next: n != null ? n : void 0,
778
778
  error: r != null ? r : void 0,
779
779
  complete: o != null ? o : void 0
780
- } : s = n, i.destination = new kr(s), i;
780
+ } : s = n, i.destination = new jr(s), i;
781
781
  }
782
782
  return t;
783
- }(En);
783
+ }(wn);
784
784
  function Oe(e) {
785
- Gr(e);
785
+ kr(e);
786
786
  }
787
- function jr(e) {
787
+ function Wr(e) {
788
788
  throw e;
789
789
  }
790
- var Wr = {
790
+ var Vr = {
791
791
  closed: !0,
792
- next: $t,
793
- error: jr,
794
- complete: $t
795
- }, Vr = function() {
792
+ next: Dt,
793
+ error: Wr,
794
+ complete: Dt
795
+ }, zr = function() {
796
796
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
797
797
  }();
798
- function zr(e) {
798
+ function Xr(e) {
799
799
  return e;
800
800
  }
801
- function Xr(e) {
802
- return e.length === 0 ? zr : e.length === 1 ? e[0] : function(n) {
801
+ function qr(e) {
802
+ return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(n) {
803
803
  return e.reduce(function(r, o) {
804
804
  return o(r);
805
805
  }, n);
806
806
  };
807
807
  }
808
- var Dt = function() {
808
+ var Gt = function() {
809
809
  function e(t) {
810
810
  t && (this._subscribe = t);
811
811
  }
@@ -813,7 +813,7 @@ var Dt = function() {
813
813
  var n = new e();
814
814
  return n.source = this, n.operator = t, n;
815
815
  }, e.prototype.subscribe = function(t, n, r) {
816
- var o = this, i = qr(t) ? t : new ft(t, n, r);
816
+ var o = this, i = Jr(t) ? t : new ft(t, n, r);
817
817
  return Le(function() {
818
818
  var s = o, a = s.operator, u = s.source;
819
819
  i.add(a ? a.call(i, u) : u ? o._subscribe(i) : o._trySubscribe(i));
@@ -826,7 +826,7 @@ var Dt = function() {
826
826
  }
827
827
  }, e.prototype.forEach = function(t, n) {
828
828
  var r = this;
829
- return n = Gt(n), new n(function(o, i) {
829
+ return n = kt(n), new n(function(o, i) {
830
830
  var s = new ft({
831
831
  next: function(a) {
832
832
  try {
@@ -843,15 +843,15 @@ var Dt = function() {
843
843
  }, e.prototype._subscribe = function(t) {
844
844
  var n;
845
845
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
846
- }, e.prototype[Vr] = function() {
846
+ }, e.prototype[zr] = function() {
847
847
  return this;
848
848
  }, e.prototype.pipe = function() {
849
849
  for (var t = [], n = 0; n < arguments.length; n++)
850
850
  t[n] = arguments[n];
851
- return Xr(t)(this);
851
+ return qr(t)(this);
852
852
  }, e.prototype.toPromise = function(t) {
853
853
  var n = this;
854
- return t = Gt(t), new t(function(r, o) {
854
+ return t = kt(t), new t(function(r, o) {
855
855
  var i;
856
856
  n.subscribe(function(s) {
857
857
  return i = s;
@@ -865,28 +865,28 @@ var Dt = function() {
865
865
  return new e(t);
866
866
  }, e;
867
867
  }();
868
- function Gt(e) {
868
+ function kt(e) {
869
869
  var t;
870
- return (t = e != null ? e : $r.Promise) !== null && t !== void 0 ? t : Promise;
870
+ return (t = e != null ? e : Dr.Promise) !== null && t !== void 0 ? t : Promise;
871
871
  }
872
872
  function Zr(e) {
873
873
  return e && ie(e.next) && ie(e.error) && ie(e.complete);
874
874
  }
875
- function qr(e) {
876
- return e && e instanceof En || Zr(e) && Bn(e);
875
+ function Jr(e) {
876
+ return e && e instanceof wn || Zr(e) && En(e);
877
877
  }
878
- var Qr = yn(function(e) {
878
+ var Qr = _n(function(e) {
879
879
  return function() {
880
880
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
881
881
  };
882
- }), wn = function(e) {
882
+ }), xn = function(e) {
883
883
  Ae(t, e);
884
884
  function t() {
885
885
  var n = e.call(this) || this;
886
886
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
887
887
  }
888
888
  return t.prototype.lift = function(n) {
889
- var r = new kt(this, this);
889
+ var r = new jt(this, this);
890
890
  return r.operator = n, r;
891
891
  }, t.prototype._throwIfClosed = function() {
892
892
  if (this.closed)
@@ -947,19 +947,19 @@ var Qr = yn(function(e) {
947
947
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
948
948
  }, t.prototype._innerSubscribe = function(n) {
949
949
  var r = this, o = this, i = o.hasError, s = o.isStopped, a = o.observers;
950
- return i || s ? _n : (this.currentObservers = null, a.push(n), new ke(function() {
950
+ return i || s ? Bn : (this.currentObservers = null, a.push(n), new ke(function() {
951
951
  r.currentObservers = null, ht(a, n);
952
952
  }));
953
953
  }, t.prototype._checkFinalizedStatuses = function(n) {
954
954
  var r = this, o = r.hasError, i = r.thrownError, s = r.isStopped;
955
955
  o ? n.error(i) : s && n.complete();
956
956
  }, t.prototype.asObservable = function() {
957
- var n = new Dt();
957
+ var n = new Gt();
958
958
  return n.source = this, n;
959
959
  }, t.create = function(n, r) {
960
- return new kt(n, r);
960
+ return new jt(n, r);
961
961
  }, t;
962
- }(Dt), kt = function(e) {
962
+ }(Gt), jt = function(e) {
963
963
  Ae(t, e);
964
964
  function t(n, r) {
965
965
  var o = e.call(this) || this;
@@ -976,17 +976,17 @@ var Qr = yn(function(e) {
976
976
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
977
977
  }, t.prototype._subscribe = function(n) {
978
978
  var r, o;
979
- return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : _n;
979
+ return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : Bn;
980
980
  }, t;
981
- }(wn), xn = {
981
+ }(xn), Cn = {
982
982
  now: function() {
983
- return (xn.delegate || Date).now();
983
+ return (Cn.delegate || Date).now();
984
984
  },
985
985
  delegate: void 0
986
986
  }, Yr = function(e) {
987
987
  Ae(t, e);
988
988
  function t(n, r, o) {
989
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = xn);
989
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = Cn);
990
990
  var i = e.call(this) || this;
991
991
  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;
992
992
  }
@@ -1006,24 +1006,24 @@ var Qr = yn(function(e) {
1006
1006
  l && i.splice(0, l + 1);
1007
1007
  }
1008
1008
  }, t;
1009
- }(wn);
1010
- const jt = [], Wt = {}, Jr = (e, t = 0) => {
1011
- if (jt.indexOf(e) == -1) {
1009
+ }(xn);
1010
+ const Wt = [], Vt = {}, Kr = (e, t = 0) => {
1011
+ if (Wt.indexOf(e) == -1) {
1012
1012
  const n = new Yr(t);
1013
- Wt[e] = n, jt.push(e);
1013
+ Vt[e] = n, Wt.push(e);
1014
1014
  }
1015
- return Wt[e];
1015
+ return Vt[e];
1016
1016
  }, he = [];
1017
- function Kr(e, t) {
1017
+ function eo(e, t) {
1018
1018
  return {
1019
1019
  subscribe: je(e, t).subscribe
1020
1020
  };
1021
1021
  }
1022
- function je(e, t = J) {
1022
+ function je(e, t = K) {
1023
1023
  let n;
1024
1024
  const r = /* @__PURE__ */ new Set();
1025
1025
  function o(a) {
1026
- if (mn(e, a) && (e = a, n)) {
1026
+ if (bn(e, a) && (e = a, n)) {
1027
1027
  const u = !he.length;
1028
1028
  for (const l of r)
1029
1029
  l[1](), he.push(l, e);
@@ -1037,9 +1037,9 @@ function je(e, t = J) {
1037
1037
  function i(a) {
1038
1038
  o(a(e));
1039
1039
  }
1040
- function s(a, u = J) {
1040
+ function s(a, u = K) {
1041
1041
  const l = [a, u];
1042
- return r.add(l), r.size === 1 && (n = t(o, i) || J), a(e), () => {
1042
+ return r.add(l), r.size === 1 && (n = t(o, i) || K), a(e), () => {
1043
1043
  r.delete(l), r.size === 0 && n && (n(), n = null);
1044
1044
  };
1045
1045
  }
@@ -1050,24 +1050,24 @@ function ye(e, t, n) {
1050
1050
  if (!o.every(Boolean))
1051
1051
  throw new Error("derived() expects stores as input, got a falsy value");
1052
1052
  const i = t.length < 2;
1053
- return Kr(n, (s, a) => {
1053
+ return eo(n, (s, a) => {
1054
1054
  let u = !1;
1055
1055
  const l = [];
1056
- let c = 0, f = J;
1056
+ let c = 0, f = K;
1057
1057
  const d = () => {
1058
1058
  if (c)
1059
1059
  return;
1060
1060
  f();
1061
- const y = t(r ? l[0] : l, s, a);
1062
- i ? s(y) : f = Et(y) ? y : J;
1061
+ const _ = t(r ? l[0] : l, s, a);
1062
+ i ? s(_) : f = Et(_) ? _ : K;
1063
1063
  }, p = o.map(
1064
- (y, g) => bn(
1065
- y,
1066
- (b) => {
1067
- l[g] = b, c &= ~(1 << g), u && d();
1064
+ (_, y) => gn(
1065
+ _,
1066
+ (m) => {
1067
+ l[y] = m, c &= ~(1 << y), u && d();
1068
1068
  },
1069
1069
  () => {
1070
- c |= 1 << g;
1070
+ c |= 1 << y;
1071
1071
  }
1072
1072
  )
1073
1073
  );
@@ -1076,70 +1076,70 @@ function ye(e, t, n) {
1076
1076
  };
1077
1077
  });
1078
1078
  }
1079
- function eo(e) {
1079
+ function to(e) {
1080
1080
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1081
1081
  }
1082
- var to = function(t) {
1083
- return no(t) && !ro(t);
1082
+ var no = function(t) {
1083
+ return ro(t) && !oo(t);
1084
1084
  };
1085
- function no(e) {
1085
+ function ro(e) {
1086
1086
  return !!e && typeof e == "object";
1087
1087
  }
1088
- function ro(e) {
1088
+ function oo(e) {
1089
1089
  var t = Object.prototype.toString.call(e);
1090
- return t === "[object RegExp]" || t === "[object Date]" || so(e);
1091
- }
1092
- var oo = typeof Symbol == "function" && Symbol.for, io = oo ? Symbol.for("react.element") : 60103;
1093
- function so(e) {
1094
- return e.$$typeof === io;
1090
+ return t === "[object RegExp]" || t === "[object Date]" || ao(e);
1095
1091
  }
1092
+ var io = typeof Symbol == "function" && Symbol.for, so = io ? Symbol.for("react.element") : 60103;
1096
1093
  function ao(e) {
1094
+ return e.$$typeof === so;
1095
+ }
1096
+ function uo(e) {
1097
1097
  return Array.isArray(e) ? [] : {};
1098
1098
  }
1099
1099
  function Ce(e, t) {
1100
- return t.clone !== !1 && t.isMergeableObject(e) ? me(ao(e), e, t) : e;
1100
+ return t.clone !== !1 && t.isMergeableObject(e) ? me(uo(e), e, t) : e;
1101
1101
  }
1102
- function uo(e, t, n) {
1102
+ function lo(e, t, n) {
1103
1103
  return e.concat(t).map(function(r) {
1104
1104
  return Ce(r, n);
1105
1105
  });
1106
1106
  }
1107
- function lo(e, t) {
1107
+ function co(e, t) {
1108
1108
  if (!t.customMerge)
1109
1109
  return me;
1110
1110
  var n = t.customMerge(e);
1111
1111
  return typeof n == "function" ? n : me;
1112
1112
  }
1113
- function co(e) {
1113
+ function ho(e) {
1114
1114
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1115
1115
  return Object.propertyIsEnumerable.call(e, t);
1116
1116
  }) : [];
1117
1117
  }
1118
- function Vt(e) {
1119
- return Object.keys(e).concat(co(e));
1118
+ function zt(e) {
1119
+ return Object.keys(e).concat(ho(e));
1120
1120
  }
1121
- function Cn(e, t) {
1121
+ function Sn(e, t) {
1122
1122
  try {
1123
1123
  return t in e;
1124
1124
  } catch (n) {
1125
1125
  return !1;
1126
1126
  }
1127
1127
  }
1128
- function ho(e, t) {
1129
- return Cn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1128
+ function fo(e, t) {
1129
+ return Sn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1130
1130
  }
1131
- function fo(e, t, n) {
1131
+ function po(e, t, n) {
1132
1132
  var r = {};
1133
- return n.isMergeableObject(e) && Vt(e).forEach(function(o) {
1133
+ return n.isMergeableObject(e) && zt(e).forEach(function(o) {
1134
1134
  r[o] = Ce(e[o], n);
1135
- }), Vt(t).forEach(function(o) {
1136
- ho(e, o) || (Cn(e, o) && n.isMergeableObject(t[o]) ? r[o] = lo(o, n)(e[o], t[o], n) : r[o] = Ce(t[o], n));
1135
+ }), zt(t).forEach(function(o) {
1136
+ fo(e, o) || (Sn(e, o) && n.isMergeableObject(t[o]) ? r[o] = co(o, n)(e[o], t[o], n) : r[o] = Ce(t[o], n));
1137
1137
  }), r;
1138
1138
  }
1139
1139
  function me(e, t, n) {
1140
- n = n || {}, n.arrayMerge = n.arrayMerge || uo, n.isMergeableObject = n.isMergeableObject || to, n.cloneUnlessOtherwiseSpecified = Ce;
1140
+ n = n || {}, n.arrayMerge = n.arrayMerge || lo, n.isMergeableObject = n.isMergeableObject || no, n.cloneUnlessOtherwiseSpecified = Ce;
1141
1141
  var r = Array.isArray(t), o = Array.isArray(e), i = r === o;
1142
- return i ? r ? n.arrayMerge(e, t, n) : fo(e, t, n) : Ce(t, n);
1142
+ return i ? r ? n.arrayMerge(e, t, n) : po(e, t, n) : Ce(t, n);
1143
1143
  }
1144
1144
  me.all = function(t, n) {
1145
1145
  if (!Array.isArray(t))
@@ -1148,8 +1148,8 @@ me.all = function(t, n) {
1148
1148
  return me(r, o, n);
1149
1149
  }, {});
1150
1150
  };
1151
- var po = me, mo = po;
1152
- const bo = /* @__PURE__ */ eo(mo);
1151
+ var mo = me, bo = mo;
1152
+ const go = /* @__PURE__ */ to(bo);
1153
1153
  var dt = function(e, t) {
1154
1154
  return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1155
1155
  n.__proto__ = r;
@@ -1177,7 +1177,7 @@ var te = function() {
1177
1177
  return t;
1178
1178
  }, te.apply(this, arguments);
1179
1179
  };
1180
- function go(e, t) {
1180
+ function vo(e, t) {
1181
1181
  var n = {};
1182
1182
  for (var r in e)
1183
1183
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -1186,43 +1186,43 @@ function go(e, t) {
1186
1186
  t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
1187
1187
  return n;
1188
1188
  }
1189
- function Je(e, t, n) {
1189
+ function Ye(e, t, n) {
1190
1190
  if (n || arguments.length === 2)
1191
1191
  for (var r = 0, o = t.length, i; r < o; r++)
1192
1192
  (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
1193
1193
  return e.concat(i || Array.prototype.slice.call(t));
1194
1194
  }
1195
1195
  function Ke(e, t) {
1196
- var n = t && t.cache ? t.cache : xo, r = t && t.serializer ? t.serializer : Eo, o = t && t.strategy ? t.strategy : _o;
1196
+ var n = t && t.cache ? t.cache : Co, r = t && t.serializer ? t.serializer : wo, o = t && t.strategy ? t.strategy : Bo;
1197
1197
  return o(e, {
1198
1198
  cache: n,
1199
1199
  serializer: r
1200
1200
  });
1201
1201
  }
1202
- function vo(e) {
1202
+ function yo(e) {
1203
1203
  return e == null || typeof e == "number" || typeof e == "boolean";
1204
1204
  }
1205
- function yo(e, t, n, r) {
1206
- var o = vo(r) ? r : n(r), i = t.get(o);
1205
+ function _o(e, t, n, r) {
1206
+ var o = yo(r) ? r : n(r), i = t.get(o);
1207
1207
  return typeof i == "undefined" && (i = e.call(this, r), t.set(o, i)), i;
1208
1208
  }
1209
- function Sn(e, t, n) {
1209
+ function An(e, t, n) {
1210
1210
  var r = Array.prototype.slice.call(arguments, 3), o = n(r), i = t.get(o);
1211
1211
  return typeof i == "undefined" && (i = e.apply(this, r), t.set(o, i)), i;
1212
1212
  }
1213
- function An(e, t, n, r, o) {
1213
+ function Tn(e, t, n, r, o) {
1214
1214
  return n.bind(t, e, r, o);
1215
1215
  }
1216
- function _o(e, t) {
1217
- var n = e.length === 1 ? yo : Sn;
1218
- return An(e, this, n, t.cache.create(), t.serializer);
1219
- }
1220
1216
  function Bo(e, t) {
1221
- return An(e, this, Sn, t.cache.create(), t.serializer);
1217
+ var n = e.length === 1 ? _o : An;
1218
+ return Tn(e, this, n, t.cache.create(), t.serializer);
1219
+ }
1220
+ function Eo(e, t) {
1221
+ return Tn(e, this, An, t.cache.create(), t.serializer);
1222
1222
  }
1223
- var Eo = function() {
1223
+ var wo = function() {
1224
1224
  return JSON.stringify(arguments);
1225
- }, wo = (
1225
+ }, xo = (
1226
1226
  /** @class */
1227
1227
  function() {
1228
1228
  function e() {
@@ -1234,12 +1234,12 @@ var Eo = function() {
1234
1234
  this.cache[t] = n;
1235
1235
  }, e;
1236
1236
  }()
1237
- ), xo = {
1237
+ ), Co = {
1238
1238
  create: function() {
1239
- return new wo();
1239
+ return new xo();
1240
1240
  }
1241
1241
  }, et = {
1242
- variadic: Bo
1242
+ variadic: Eo
1243
1243
  }, $e = function() {
1244
1244
  return $e = Object.assign || function(t) {
1245
1245
  for (var n, r = 1, o = arguments.length; r < o; r++) {
@@ -1254,51 +1254,51 @@ var C;
1254
1254
  (function(e) {
1255
1255
  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";
1256
1256
  })(C || (C = {}));
1257
- var H;
1257
+ var O;
1258
1258
  (function(e) {
1259
1259
  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";
1260
- })(H || (H = {}));
1260
+ })(O || (O = {}));
1261
1261
  var be;
1262
1262
  (function(e) {
1263
1263
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1264
1264
  })(be || (be = {}));
1265
- function zt(e) {
1266
- return e.type === H.literal;
1267
- }
1268
- function Co(e) {
1269
- return e.type === H.argument;
1265
+ function Xt(e) {
1266
+ return e.type === O.literal;
1270
1267
  }
1271
- function Tn(e) {
1272
- return e.type === H.number;
1268
+ function So(e) {
1269
+ return e.type === O.argument;
1273
1270
  }
1274
1271
  function Pn(e) {
1275
- return e.type === H.date;
1272
+ return e.type === O.number;
1276
1273
  }
1277
1274
  function Mn(e) {
1278
- return e.type === H.time;
1275
+ return e.type === O.date;
1279
1276
  }
1280
1277
  function Hn(e) {
1281
- return e.type === H.select;
1278
+ return e.type === O.time;
1282
1279
  }
1283
1280
  function On(e) {
1284
- return e.type === H.plural;
1285
- }
1286
- function So(e) {
1287
- return e.type === H.pound;
1281
+ return e.type === O.select;
1288
1282
  }
1289
1283
  function In(e) {
1290
- return e.type === H.tag;
1284
+ return e.type === O.plural;
1285
+ }
1286
+ function Ao(e) {
1287
+ return e.type === O.pound;
1291
1288
  }
1292
1289
  function Nn(e) {
1290
+ return e.type === O.tag;
1291
+ }
1292
+ function Ln(e) {
1293
1293
  return !!(e && typeof e == "object" && e.type === be.number);
1294
1294
  }
1295
1295
  function pt(e) {
1296
1296
  return !!(e && typeof e == "object" && e.type === be.dateTime);
1297
1297
  }
1298
- var Ln = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ao = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1299
- function To(e) {
1298
+ var Rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, To = /(?:[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;
1299
+ function Po(e) {
1300
1300
  var t = {};
1301
- return e.replace(Ao, function(n) {
1301
+ return e.replace(To, function(n) {
1302
1302
  var r = n.length;
1303
1303
  switch (n[0]) {
1304
1304
  case "G":
@@ -1387,21 +1387,21 @@ function To(e) {
1387
1387
  return "";
1388
1388
  }), t;
1389
1389
  }
1390
- var O = function() {
1391
- return O = Object.assign || function(t) {
1390
+ var I = function() {
1391
+ return I = Object.assign || function(t) {
1392
1392
  for (var n, r = 1, o = arguments.length; r < o; r++) {
1393
1393
  n = arguments[r];
1394
1394
  for (var i in n)
1395
1395
  Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1396
1396
  }
1397
1397
  return t;
1398
- }, O.apply(this, arguments);
1398
+ }, I.apply(this, arguments);
1399
1399
  };
1400
- var Po = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1401
- function Mo(e) {
1400
+ var Mo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1401
+ function Ho(e) {
1402
1402
  if (e.length === 0)
1403
1403
  throw new Error("Number skeleton cannot be empty");
1404
- for (var t = e.split(Po).filter(function(d) {
1404
+ for (var t = e.split(Mo).filter(function(d) {
1405
1405
  return d.length > 0;
1406
1406
  }), n = [], r = 0, o = t; r < o.length; r++) {
1407
1407
  var i = o[r], s = i.split("/");
@@ -1416,17 +1416,17 @@ function Mo(e) {
1416
1416
  }
1417
1417
  return n;
1418
1418
  }
1419
- function Ho(e) {
1419
+ function Oo(e) {
1420
1420
  return e.replace(/^(.*?)-/, "");
1421
1421
  }
1422
- var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rn = /^(@+)?(\+|#+)?[rs]?$/g, Oo = /(\*)(0+)|(#+)(0+)|(0+)/g, Fn = /^(0+)$/;
1422
+ var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fn = /^(@+)?(\+|#+)?[rs]?$/g, Io = /(\*)(0+)|(#+)(0+)|(0+)/g, Un = /^(0+)$/;
1423
1423
  function Zt(e) {
1424
1424
  var t = {};
1425
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rn, function(n, r, o) {
1425
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fn, function(n, r, o) {
1426
1426
  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)), "";
1427
1427
  }), t;
1428
1428
  }
1429
- function Un(e) {
1429
+ function $n(e) {
1430
1430
  switch (e) {
1431
1431
  case "sign-auto":
1432
1432
  return {
@@ -1466,7 +1466,7 @@ function Un(e) {
1466
1466
  };
1467
1467
  }
1468
1468
  }
1469
- function Io(e) {
1469
+ function No(e) {
1470
1470
  var t;
1471
1471
  if (e[0] === "E" && e[1] === "E" ? (t = {
1472
1472
  notation: "engineering"
@@ -1474,17 +1474,17 @@ function Io(e) {
1474
1474
  notation: "scientific"
1475
1475
  }, e = e.slice(1)), t) {
1476
1476
  var n = e.slice(0, 2);
1477
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fn.test(e))
1477
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Un.test(e))
1478
1478
  throw new Error("Malformed concise eng/scientific notation");
1479
1479
  t.minimumIntegerDigits = e.length;
1480
1480
  }
1481
1481
  return t;
1482
1482
  }
1483
- function qt(e) {
1484
- var t = {}, n = Un(e);
1483
+ function Jt(e) {
1484
+ var t = {}, n = $n(e);
1485
1485
  return n || t;
1486
1486
  }
1487
- function No(e) {
1487
+ function Lo(e) {
1488
1488
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1489
1489
  var o = r[n];
1490
1490
  switch (o.stem) {
@@ -1508,7 +1508,7 @@ function No(e) {
1508
1508
  continue;
1509
1509
  case "measure-unit":
1510
1510
  case "unit":
1511
- t.style = "unit", t.unit = Ho(o.options[0]);
1511
+ t.style = "unit", t.unit = Oo(o.options[0]);
1512
1512
  continue;
1513
1513
  case "compact-short":
1514
1514
  case "K":
@@ -1519,13 +1519,13 @@ function No(e) {
1519
1519
  t.notation = "compact", t.compactDisplay = "long";
1520
1520
  continue;
1521
1521
  case "scientific":
1522
- t = O(O(O({}, t), { notation: "scientific" }), o.options.reduce(function(u, l) {
1523
- return O(O({}, u), qt(l));
1522
+ t = I(I(I({}, t), { notation: "scientific" }), o.options.reduce(function(u, l) {
1523
+ return I(I({}, u), Jt(l));
1524
1524
  }, {}));
1525
1525
  continue;
1526
1526
  case "engineering":
1527
- t = O(O(O({}, t), { notation: "engineering" }), o.options.reduce(function(u, l) {
1528
- return O(O({}, u), qt(l));
1527
+ t = I(I(I({}, t), { notation: "engineering" }), o.options.reduce(function(u, l) {
1528
+ return I(I({}, u), Jt(l));
1529
1529
  }, {}));
1530
1530
  continue;
1531
1531
  case "notation-simple":
@@ -1570,7 +1570,7 @@ function No(e) {
1570
1570
  case "integer-width":
1571
1571
  if (o.options.length > 1)
1572
1572
  throw new RangeError("integer-width stems only accept a single optional option");
1573
- o.options[0].replace(Oo, function(u, l, c, f, d, p) {
1573
+ o.options[0].replace(Io, function(u, l, c, f, d, p) {
1574
1574
  if (l)
1575
1575
  t.minimumIntegerDigits = c.length;
1576
1576
  else {
@@ -1583,28 +1583,28 @@ function No(e) {
1583
1583
  });
1584
1584
  continue;
1585
1585
  }
1586
- if (Fn.test(o.stem)) {
1586
+ if (Un.test(o.stem)) {
1587
1587
  t.minimumIntegerDigits = o.stem.length;
1588
1588
  continue;
1589
1589
  }
1590
- if (Xt.test(o.stem)) {
1590
+ if (qt.test(o.stem)) {
1591
1591
  if (o.options.length > 1)
1592
1592
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1593
- o.stem.replace(Xt, function(u, l, c, f, d, p) {
1593
+ o.stem.replace(qt, function(u, l, c, f, d, p) {
1594
1594
  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), "";
1595
1595
  });
1596
1596
  var i = o.options[0];
1597
- i === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = O(O({}, t), Zt(i)));
1597
+ i === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = I(I({}, t), Zt(i)));
1598
1598
  continue;
1599
1599
  }
1600
- if (Rn.test(o.stem)) {
1601
- t = O(O({}, t), Zt(o.stem));
1600
+ if (Fn.test(o.stem)) {
1601
+ t = I(I({}, t), Zt(o.stem));
1602
1602
  continue;
1603
1603
  }
1604
- var s = Un(o.stem);
1605
- s && (t = O(O({}, t), s));
1606
- var a = Io(o.stem);
1607
- a && (t = O(O({}, t), a));
1604
+ var s = $n(o.stem);
1605
+ s && (t = I(I({}, t), s));
1606
+ var a = No(o.stem);
1607
+ a && (t = I(I({}, t), a));
1608
1608
  }
1609
1609
  return t;
1610
1610
  }
@@ -3023,13 +3023,13 @@ var Ie = {
3023
3023
  "h"
3024
3024
  ]
3025
3025
  };
3026
- function Lo(e, t) {
3026
+ function Ro(e, t) {
3027
3027
  for (var n = "", r = 0; r < e.length; r++) {
3028
3028
  var o = e.charAt(r);
3029
3029
  if (o === "j") {
3030
3030
  for (var i = 0; r + 1 < e.length && e.charAt(r + 1) === o; )
3031
3031
  i++, r++;
3032
- var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = Ro(t);
3032
+ var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = Fo(t);
3033
3033
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3034
3034
  n += u;
3035
3035
  for (; s-- > 0; )
@@ -3039,7 +3039,7 @@ function Lo(e, t) {
3039
3039
  }
3040
3040
  return n;
3041
3041
  }
3042
- function Ro(e) {
3042
+ function Fo(e) {
3043
3043
  var t = e.hourCycle;
3044
3044
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3045
3045
  e.hourCycles && // @ts-ignore
@@ -3061,20 +3061,20 @@ function Ro(e) {
3061
3061
  var o = Ie[r || ""] || Ie[n || ""] || Ie["".concat(n, "-001")] || Ie["001"];
3062
3062
  return o[0];
3063
3063
  }
3064
- var tt, Fo = new RegExp("^".concat(Ln.source, "*")), Uo = new RegExp("".concat(Ln.source, "*$"));
3064
+ var tt, Uo = new RegExp("^".concat(Rn.source, "*")), $o = new RegExp("".concat(Rn.source, "*$"));
3065
3065
  function S(e, t) {
3066
3066
  return { start: e, end: t };
3067
3067
  }
3068
- var $o = !!String.prototype.startsWith && "_a".startsWith("a", 1), Do = !!String.fromCodePoint, Go = !!Object.fromEntries, ko = !!String.prototype.codePointAt, jo = !!String.prototype.trimStart, Wo = !!String.prototype.trimEnd, Vo = !!Number.isSafeInteger, zo = Vo ? Number.isSafeInteger : function(e) {
3068
+ var Do = !!String.prototype.startsWith && "_a".startsWith("a", 1), Go = !!String.fromCodePoint, ko = !!Object.fromEntries, jo = !!String.prototype.codePointAt, Wo = !!String.prototype.trimStart, Vo = !!String.prototype.trimEnd, zo = !!Number.isSafeInteger, Xo = zo ? Number.isSafeInteger : function(e) {
3069
3069
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3070
3070
  }, mt = !0;
3071
3071
  try {
3072
- var Xo = Dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3073
- mt = ((tt = Xo.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3072
+ var qo = Gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3073
+ mt = ((tt = qo.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3074
3074
  } catch (e) {
3075
3075
  mt = !1;
3076
3076
  }
3077
- var Qt = $o ? (
3077
+ var Qt = Do ? (
3078
3078
  // Native
3079
3079
  function(t, n, r) {
3080
3080
  return t.startsWith(n, r);
@@ -3084,7 +3084,7 @@ var Qt = $o ? (
3084
3084
  function(t, n, r) {
3085
3085
  return t.slice(r, r + n.length) === n;
3086
3086
  }
3087
- ), bt = Do ? String.fromCodePoint : (
3087
+ ), bt = Go ? String.fromCodePoint : (
3088
3088
  // IE11
3089
3089
  function() {
3090
3090
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3098,7 +3098,7 @@ var Qt = $o ? (
3098
3098
  }
3099
3099
  ), Yt = (
3100
3100
  // native
3101
- Go ? Object.fromEntries : (
3101
+ ko ? Object.fromEntries : (
3102
3102
  // Ponyfill
3103
3103
  function(t) {
3104
3104
  for (var n = {}, r = 0, o = t; r < o.length; r++) {
@@ -3108,7 +3108,7 @@ var Qt = $o ? (
3108
3108
  return n;
3109
3109
  }
3110
3110
  )
3111
- ), $n = ko ? (
3111
+ ), Dn = jo ? (
3112
3112
  // Native
3113
3113
  function(t, n) {
3114
3114
  return t.codePointAt(n);
@@ -3122,7 +3122,7 @@ var Qt = $o ? (
3122
3122
  return o < 55296 || o > 56319 || n + 1 === r || (i = t.charCodeAt(n + 1)) < 56320 || i > 57343 ? o : (o - 55296 << 10) + (i - 56320) + 65536;
3123
3123
  }
3124
3124
  }
3125
- ), Zo = jo ? (
3125
+ ), Zo = Wo ? (
3126
3126
  // Native
3127
3127
  function(t) {
3128
3128
  return t.trimStart();
@@ -3130,9 +3130,9 @@ var Qt = $o ? (
3130
3130
  ) : (
3131
3131
  // Ponyfill
3132
3132
  function(t) {
3133
- return t.replace(Fo, "");
3133
+ return t.replace(Uo, "");
3134
3134
  }
3135
- ), qo = Wo ? (
3135
+ ), Jo = Vo ? (
3136
3136
  // Native
3137
3137
  function(t) {
3138
3138
  return t.trimEnd();
@@ -3140,26 +3140,26 @@ var Qt = $o ? (
3140
3140
  ) : (
3141
3141
  // Ponyfill
3142
3142
  function(t) {
3143
- return t.replace(Uo, "");
3143
+ return t.replace($o, "");
3144
3144
  }
3145
3145
  );
3146
- function Dn(e, t) {
3146
+ function Gn(e, t) {
3147
3147
  return new RegExp(e, t);
3148
3148
  }
3149
3149
  var gt;
3150
3150
  if (mt) {
3151
- var Jt = Dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3151
+ var Kt = Gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3152
3152
  gt = function(t, n) {
3153
3153
  var r;
3154
- Jt.lastIndex = n;
3155
- var o = Jt.exec(t);
3154
+ Kt.lastIndex = n;
3155
+ var o = Kt.exec(t);
3156
3156
  return (r = o[1]) !== null && r !== void 0 ? r : "";
3157
3157
  };
3158
3158
  } else
3159
3159
  gt = function(t, n) {
3160
3160
  for (var r = []; ; ) {
3161
- var o = $n(t, n);
3162
- if (o === void 0 || Gn(o) || Ko(o))
3161
+ var o = Dn(t, n);
3162
+ if (o === void 0 || kn(o) || ei(o))
3163
3163
  break;
3164
3164
  r.push(o), n += o >= 65536 ? 2 : 1;
3165
3165
  }
@@ -3189,7 +3189,7 @@ var Qo = (
3189
3189
  if (i === 35 && (n === "plural" || n === "selectordinal")) {
3190
3190
  var a = this.clonePosition();
3191
3191
  this.bump(), o.push({
3192
- type: H.pound,
3192
+ type: O.pound,
3193
3193
  location: S(a, this.clonePosition())
3194
3194
  });
3195
3195
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -3217,7 +3217,7 @@ var Qo = (
3217
3217
  if (this.bumpSpace(), this.bumpIf("/>"))
3218
3218
  return {
3219
3219
  val: {
3220
- type: H.literal,
3220
+ type: O.literal,
3221
3221
  value: "<".concat(o, "/>"),
3222
3222
  location: S(r, this.clonePosition())
3223
3223
  },
@@ -3234,7 +3234,7 @@ var Qo = (
3234
3234
  var u = this.clonePosition(), l = this.parseTagName();
3235
3235
  return o !== l ? this.error(C.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3236
3236
  val: {
3237
- type: H.tag,
3237
+ type: O.tag,
3238
3238
  value: o,
3239
3239
  children: s,
3240
3240
  location: S(r, this.clonePosition())
@@ -3247,7 +3247,7 @@ var Qo = (
3247
3247
  return this.error(C.INVALID_TAG, S(r, this.clonePosition()));
3248
3248
  }, e.prototype.parseTagName = function() {
3249
3249
  var t = this.offset();
3250
- for (this.bump(); !this.isEOF() && Jo(this.char()); )
3250
+ for (this.bump(); !this.isEOF() && Ko(this.char()); )
3251
3251
  this.bump();
3252
3252
  return this.message.slice(t, this.offset());
3253
3253
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3271,7 +3271,7 @@ var Qo = (
3271
3271
  }
3272
3272
  var u = S(r, this.clonePosition());
3273
3273
  return {
3274
- val: { type: H.literal, value: o, location: u },
3274
+ val: { type: O.literal, value: o, location: u },
3275
3275
  err: null
3276
3276
  };
3277
3277
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3331,7 +3331,7 @@ var Qo = (
3331
3331
  case 125:
3332
3332
  return this.bump(), {
3333
3333
  val: {
3334
- type: H.argument,
3334
+ type: O.argument,
3335
3335
  // value does not include the opening and closing braces.
3336
3336
  value: o,
3337
3337
  location: S(r, this.clonePosition())
@@ -3363,46 +3363,46 @@ var Qo = (
3363
3363
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3364
3364
  if (f.err)
3365
3365
  return f;
3366
- var d = qo(f.val);
3366
+ var d = Jo(f.val);
3367
3367
  if (d.length === 0)
3368
3368
  return this.error(C.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3369
3369
  var p = S(c, this.clonePosition());
3370
3370
  l = { style: d, styleLocation: p };
3371
3371
  }
3372
- var y = this.tryParseArgumentClose(o);
3373
- if (y.err)
3374
- return y;
3375
- var g = S(o, this.clonePosition());
3372
+ var _ = this.tryParseArgumentClose(o);
3373
+ if (_.err)
3374
+ return _;
3375
+ var y = S(o, this.clonePosition());
3376
3376
  if (l && Qt(l == null ? void 0 : l.style, "::", 0)) {
3377
- var b = Zo(l.style.slice(2));
3377
+ var m = Zo(l.style.slice(2));
3378
3378
  if (a === "number") {
3379
- var f = this.parseNumberSkeletonFromString(b, l.styleLocation);
3379
+ var f = this.parseNumberSkeletonFromString(m, l.styleLocation);
3380
3380
  return f.err ? f : {
3381
- val: { type: H.number, value: r, location: g, style: f.val },
3381
+ val: { type: O.number, value: r, location: y, style: f.val },
3382
3382
  err: null
3383
3383
  };
3384
3384
  } else {
3385
- if (b.length === 0)
3386
- return this.error(C.EXPECT_DATE_TIME_SKELETON, g);
3387
- var E = b;
3388
- this.locale && (E = Lo(b, this.locale));
3385
+ if (m.length === 0)
3386
+ return this.error(C.EXPECT_DATE_TIME_SKELETON, y);
3387
+ var B = m;
3388
+ this.locale && (B = Ro(m, this.locale));
3389
3389
  var d = {
3390
3390
  type: be.dateTime,
3391
- pattern: E,
3391
+ pattern: B,
3392
3392
  location: l.styleLocation,
3393
- parsedOptions: this.shouldParseSkeletons ? To(E) : {}
3394
- }, m = a === "date" ? H.date : H.time;
3393
+ parsedOptions: this.shouldParseSkeletons ? Po(B) : {}
3394
+ }, b = a === "date" ? O.date : O.time;
3395
3395
  return {
3396
- val: { type: m, value: r, location: g, style: d },
3396
+ val: { type: b, value: r, location: y, style: d },
3397
3397
  err: null
3398
3398
  };
3399
3399
  }
3400
3400
  }
3401
3401
  return {
3402
3402
  val: {
3403
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3403
+ type: a === "number" ? O.number : a === "date" ? O.date : O.time,
3404
3404
  value: r,
3405
- location: g,
3405
+ location: y,
3406
3406
  style: (i = l == null ? void 0 : l.style) !== null && i !== void 0 ? i : null
3407
3407
  },
3408
3408
  err: null
@@ -3411,43 +3411,43 @@ var Qo = (
3411
3411
  case "plural":
3412
3412
  case "selectordinal":
3413
3413
  case "select": {
3414
- var B = this.clonePosition();
3414
+ var v = this.clonePosition();
3415
3415
  if (this.bumpSpace(), !this.bumpIf(","))
3416
- return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, S(B, $e({}, B)));
3416
+ return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, S(v, $e({}, v)));
3417
3417
  this.bumpSpace();
3418
- var k = this.parseIdentifierIfPossible(), N = 0;
3419
- if (a !== "select" && k.value === "offset") {
3418
+ var j = this.parseIdentifierIfPossible(), R = 0;
3419
+ if (a !== "select" && j.value === "offset") {
3420
3420
  if (!this.bumpIf(":"))
3421
3421
  return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3422
3422
  this.bumpSpace();
3423
3423
  var f = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3424
3424
  if (f.err)
3425
3425
  return f;
3426
- this.bumpSpace(), k = this.parseIdentifierIfPossible(), N = f.val;
3426
+ this.bumpSpace(), j = this.parseIdentifierIfPossible(), R = f.val;
3427
3427
  }
3428
- var j = this.tryParsePluralOrSelectOptions(t, a, n, k);
3429
- if (j.err)
3430
- return j;
3431
- var y = this.tryParseArgumentClose(o);
3432
- if (y.err)
3433
- return y;
3434
- var q = S(o, this.clonePosition());
3428
+ var X = this.tryParsePluralOrSelectOptions(t, a, n, j);
3429
+ if (X.err)
3430
+ return X;
3431
+ var _ = this.tryParseArgumentClose(o);
3432
+ if (_.err)
3433
+ return _;
3434
+ var Z = S(o, this.clonePosition());
3435
3435
  return a === "select" ? {
3436
3436
  val: {
3437
- type: H.select,
3437
+ type: O.select,
3438
3438
  value: r,
3439
- options: Yt(j.val),
3440
- location: q
3439
+ options: Yt(X.val),
3440
+ location: Z
3441
3441
  },
3442
3442
  err: null
3443
3443
  } : {
3444
3444
  val: {
3445
- type: H.plural,
3445
+ type: O.plural,
3446
3446
  value: r,
3447
- options: Yt(j.val),
3448
- offset: N,
3447
+ options: Yt(X.val),
3448
+ offset: R,
3449
3449
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3450
- location: q
3450
+ location: Z
3451
3451
  },
3452
3452
  err: null
3453
3453
  };
@@ -3495,7 +3495,7 @@ var Qo = (
3495
3495
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3496
3496
  var r = [];
3497
3497
  try {
3498
- r = Mo(t);
3498
+ r = Ho(t);
3499
3499
  } catch (o) {
3500
3500
  return this.error(C.INVALID_NUMBER_SKELETON, n);
3501
3501
  }
@@ -3504,7 +3504,7 @@ var Qo = (
3504
3504
  type: be.number,
3505
3505
  tokens: r,
3506
3506
  location: n,
3507
- parsedOptions: this.shouldParseSkeletons ? No(r) : {}
3507
+ parsedOptions: this.shouldParseSkeletons ? Lo(r) : {}
3508
3508
  },
3509
3509
  err: null
3510
3510
  };
@@ -3526,16 +3526,16 @@ var Qo = (
3526
3526
  var p = this.clonePosition();
3527
3527
  if (!this.bumpIf("{"))
3528
3528
  return this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : C.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3529
- var y = this.parseMessage(t + 1, n, r);
3529
+ var _ = this.parseMessage(t + 1, n, r);
3530
+ if (_.err)
3531
+ return _;
3532
+ var y = this.tryParseArgumentClose(p);
3530
3533
  if (y.err)
3531
3534
  return y;
3532
- var g = this.tryParseArgumentClose(p);
3533
- if (g.err)
3534
- return g;
3535
3535
  a.push([
3536
3536
  l,
3537
3537
  {
3538
- value: y.val,
3538
+ value: _.val,
3539
3539
  location: S(p, this.clonePosition())
3540
3540
  }
3541
3541
  ]), u.add(l), this.bumpSpace(), i = this.parseIdentifierIfPossible(), l = i.value, c = i.location;
@@ -3552,7 +3552,7 @@ var Qo = (
3552
3552
  break;
3553
3553
  }
3554
3554
  var u = S(o, this.clonePosition());
3555
- return i ? (s *= r, zo(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3555
+ return i ? (s *= r, Xo(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3556
3556
  }, e.prototype.offset = function() {
3557
3557
  return this.position.offset;
3558
3558
  }, e.prototype.isEOF = function() {
@@ -3567,7 +3567,7 @@ var Qo = (
3567
3567
  var t = this.position.offset;
3568
3568
  if (t >= this.message.length)
3569
3569
  throw Error("out of bound");
3570
- var n = $n(this.message, t);
3570
+ var n = Dn(this.message, t);
3571
3571
  if (n === void 0)
3572
3572
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3573
3573
  return n;
@@ -3608,7 +3608,7 @@ var Qo = (
3608
3608
  break;
3609
3609
  }
3610
3610
  }, e.prototype.bumpSpace = function() {
3611
- for (; !this.isEOF() && Gn(this.char()); )
3611
+ for (; !this.isEOF() && kn(this.char()); )
3612
3612
  this.bump();
3613
3613
  }, e.prototype.peek = function() {
3614
3614
  if (this.isEOF())
@@ -3624,25 +3624,25 @@ function vt(e) {
3624
3624
  function Yo(e) {
3625
3625
  return vt(e) || e === 47;
3626
3626
  }
3627
- function Jo(e) {
3627
+ function Ko(e) {
3628
3628
  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;
3629
3629
  }
3630
- function Gn(e) {
3630
+ function kn(e) {
3631
3631
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3632
3632
  }
3633
- function Ko(e) {
3633
+ function ei(e) {
3634
3634
  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;
3635
3635
  }
3636
3636
  function yt(e) {
3637
3637
  e.forEach(function(t) {
3638
- if (delete t.location, Hn(t) || On(t))
3638
+ if (delete t.location, On(t) || In(t))
3639
3639
  for (var n in t.options)
3640
3640
  delete t.options[n].location, yt(t.options[n].value);
3641
3641
  else
3642
- Tn(t) && Nn(t.style) || (Pn(t) || Mn(t)) && pt(t.style) ? delete t.style.location : In(t) && yt(t.children);
3642
+ Pn(t) && Ln(t.style) || (Mn(t) || Hn(t)) && pt(t.style) ? delete t.style.location : Nn(t) && yt(t.children);
3643
3643
  });
3644
3644
  }
3645
- function ei(e, t) {
3645
+ function ti(e, t) {
3646
3646
  t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3647
3647
  var n = new Qo(e, t).parse();
3648
3648
  if (n.err) {
@@ -3667,7 +3667,7 @@ var Ve = (
3667
3667
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3668
3668
  }, t;
3669
3669
  }(Error)
3670
- ), Kt = (
3670
+ ), en = (
3671
3671
  /** @class */
3672
3672
  function(e) {
3673
3673
  We(t, e);
@@ -3676,7 +3676,7 @@ var Ve = (
3676
3676
  }
3677
3677
  return t;
3678
3678
  }(Ve)
3679
- ), ti = (
3679
+ ), ni = (
3680
3680
  /** @class */
3681
3681
  function(e) {
3682
3682
  We(t, e);
@@ -3685,7 +3685,7 @@ var Ve = (
3685
3685
  }
3686
3686
  return t;
3687
3687
  }(Ve)
3688
- ), ni = (
3688
+ ), ri = (
3689
3689
  /** @class */
3690
3690
  function(e) {
3691
3691
  We(t, e);
@@ -3694,125 +3694,125 @@ var Ve = (
3694
3694
  }
3695
3695
  return t;
3696
3696
  }(Ve)
3697
- ), X;
3697
+ ), V;
3698
3698
  (function(e) {
3699
3699
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3700
- })(X || (X = {}));
3701
- function ri(e) {
3700
+ })(V || (V = {}));
3701
+ function oi(e) {
3702
3702
  return e.length < 2 ? e : e.reduce(function(t, n) {
3703
3703
  var r = t[t.length - 1];
3704
- return !r || r.type !== X.literal || n.type !== X.literal ? t.push(n) : r.value += n.value, t;
3704
+ return !r || r.type !== V.literal || n.type !== V.literal ? t.push(n) : r.value += n.value, t;
3705
3705
  }, []);
3706
3706
  }
3707
- function oi(e) {
3707
+ function ii(e) {
3708
3708
  return typeof e == "function";
3709
3709
  }
3710
3710
  function Re(e, t, n, r, o, i, s) {
3711
- if (e.length === 1 && zt(e[0]))
3711
+ if (e.length === 1 && Xt(e[0]))
3712
3712
  return [
3713
3713
  {
3714
- type: X.literal,
3714
+ type: V.literal,
3715
3715
  value: e[0].value
3716
3716
  }
3717
3717
  ];
3718
3718
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3719
3719
  var c = l[u];
3720
- if (zt(c)) {
3720
+ if (Xt(c)) {
3721
3721
  a.push({
3722
- type: X.literal,
3722
+ type: V.literal,
3723
3723
  value: c.value
3724
3724
  });
3725
3725
  continue;
3726
3726
  }
3727
- if (So(c)) {
3727
+ if (Ao(c)) {
3728
3728
  typeof i == "number" && a.push({
3729
- type: X.literal,
3729
+ type: V.literal,
3730
3730
  value: n.getNumberFormat(t).format(i)
3731
3731
  });
3732
3732
  continue;
3733
3733
  }
3734
3734
  var f = c.value;
3735
3735
  if (!(o && f in o))
3736
- throw new ni(f, s);
3736
+ throw new ri(f, s);
3737
3737
  var d = o[f];
3738
- if (Co(c)) {
3738
+ if (So(c)) {
3739
3739
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3740
- type: typeof d == "string" ? X.literal : X.object,
3740
+ type: typeof d == "string" ? V.literal : V.object,
3741
3741
  value: d
3742
3742
  });
3743
3743
  continue;
3744
3744
  }
3745
- if (Pn(c)) {
3745
+ if (Mn(c)) {
3746
3746
  var p = typeof c.style == "string" ? r.date[c.style] : pt(c.style) ? c.style.parsedOptions : void 0;
3747
3747
  a.push({
3748
- type: X.literal,
3748
+ type: V.literal,
3749
3749
  value: n.getDateTimeFormat(t, p).format(d)
3750
3750
  });
3751
3751
  continue;
3752
3752
  }
3753
- if (Mn(c)) {
3753
+ if (Hn(c)) {
3754
3754
  var p = typeof c.style == "string" ? r.time[c.style] : pt(c.style) ? c.style.parsedOptions : r.time.medium;
3755
3755
  a.push({
3756
- type: X.literal,
3756
+ type: V.literal,
3757
3757
  value: n.getDateTimeFormat(t, p).format(d)
3758
3758
  });
3759
3759
  continue;
3760
3760
  }
3761
- if (Tn(c)) {
3762
- var p = typeof c.style == "string" ? r.number[c.style] : Nn(c.style) ? c.style.parsedOptions : void 0;
3761
+ if (Pn(c)) {
3762
+ var p = typeof c.style == "string" ? r.number[c.style] : Ln(c.style) ? c.style.parsedOptions : void 0;
3763
3763
  p && p.scale && (d = d * (p.scale || 1)), a.push({
3764
- type: X.literal,
3764
+ type: V.literal,
3765
3765
  value: n.getNumberFormat(t, p).format(d)
3766
3766
  });
3767
3767
  continue;
3768
3768
  }
3769
- if (In(c)) {
3770
- var y = c.children, g = c.value, b = o[g];
3771
- if (!oi(b))
3772
- throw new ti(g, "function", s);
3773
- var E = Re(y, t, n, r, o, i), m = b(E.map(function(N) {
3774
- return N.value;
3769
+ if (Nn(c)) {
3770
+ var _ = c.children, y = c.value, m = o[y];
3771
+ if (!ii(m))
3772
+ throw new ni(y, "function", s);
3773
+ var B = Re(_, t, n, r, o, i), b = m(B.map(function(R) {
3774
+ return R.value;
3775
3775
  }));
3776
- Array.isArray(m) || (m = [m]), a.push.apply(a, m.map(function(N) {
3776
+ Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(R) {
3777
3777
  return {
3778
- type: typeof N == "string" ? X.literal : X.object,
3779
- value: N
3778
+ type: typeof R == "string" ? V.literal : V.object,
3779
+ value: R
3780
3780
  };
3781
3781
  }));
3782
3782
  }
3783
- if (Hn(c)) {
3784
- var B = c.options[d] || c.options.other;
3785
- if (!B)
3786
- throw new Kt(c.value, d, Object.keys(c.options), s);
3787
- a.push.apply(a, Re(B.value, t, n, r, o));
3783
+ if (On(c)) {
3784
+ var v = c.options[d] || c.options.other;
3785
+ if (!v)
3786
+ throw new en(c.value, d, Object.keys(c.options), s);
3787
+ a.push.apply(a, Re(v.value, t, n, r, o));
3788
3788
  continue;
3789
3789
  }
3790
- if (On(c)) {
3791
- var B = c.options["=".concat(d)];
3792
- if (!B) {
3790
+ if (In(c)) {
3791
+ var v = c.options["=".concat(d)];
3792
+ if (!v) {
3793
3793
  if (!Intl.PluralRules)
3794
3794
  throw new Ve(`Intl.PluralRules is not available in this environment.
3795
3795
  Try polyfilling it using "@formatjs/intl-pluralrules"
3796
3796
  `, ge.MISSING_INTL_API, s);
3797
- var k = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3798
- B = c.options[k] || c.options.other;
3797
+ var j = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3798
+ v = c.options[j] || c.options.other;
3799
3799
  }
3800
- if (!B)
3801
- throw new Kt(c.value, d, Object.keys(c.options), s);
3802
- a.push.apply(a, Re(B.value, t, n, r, o, d - (c.offset || 0)));
3800
+ if (!v)
3801
+ throw new en(c.value, d, Object.keys(c.options), s);
3802
+ a.push.apply(a, Re(v.value, t, n, r, o, d - (c.offset || 0)));
3803
3803
  continue;
3804
3804
  }
3805
3805
  }
3806
- return ri(a);
3806
+ return oi(a);
3807
3807
  }
3808
- function ii(e, t) {
3808
+ function si(e, t) {
3809
3809
  return t ? te(te(te({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3810
3810
  return n[r] = te(te({}, e[r]), t[r] || {}), n;
3811
3811
  }, {})) : e;
3812
3812
  }
3813
- function si(e, t) {
3813
+ function ai(e, t) {
3814
3814
  return t ? Object.keys(e).reduce(function(n, r) {
3815
- return n[r] = ii(e[r], t[r]), n;
3815
+ return n[r] = si(e[r], t[r]), n;
3816
3816
  }, te({}, e)) : e;
3817
3817
  }
3818
3818
  function nt(e) {
@@ -3829,7 +3829,7 @@ function nt(e) {
3829
3829
  }
3830
3830
  };
3831
3831
  }
3832
- function ai(e) {
3832
+ function ui(e) {
3833
3833
  return e === void 0 && (e = {
3834
3834
  number: {},
3835
3835
  dateTime: {},
@@ -3838,7 +3838,7 @@ function ai(e) {
3838
3838
  getNumberFormat: Ke(function() {
3839
3839
  for (var t, n = [], r = 0; r < arguments.length; r++)
3840
3840
  n[r] = arguments[r];
3841
- return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], n, !1)))();
3841
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ye([void 0], n, !1)))();
3842
3842
  }, {
3843
3843
  cache: nt(e.number),
3844
3844
  strategy: et.variadic
@@ -3846,7 +3846,7 @@ function ai(e) {
3846
3846
  getDateTimeFormat: Ke(function() {
3847
3847
  for (var t, n = [], r = 0; r < arguments.length; r++)
3848
3848
  n[r] = arguments[r];
3849
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], n, !1)))();
3849
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ye([void 0], n, !1)))();
3850
3850
  }, {
3851
3851
  cache: nt(e.dateTime),
3852
3852
  strategy: et.variadic
@@ -3854,14 +3854,14 @@ function ai(e) {
3854
3854
  getPluralRules: Ke(function() {
3855
3855
  for (var t, n = [], r = 0; r < arguments.length; r++)
3856
3856
  n[r] = arguments[r];
3857
- return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], n, !1)))();
3857
+ return new ((t = Intl.PluralRules).bind.apply(t, Ye([void 0], n, !1)))();
3858
3858
  }, {
3859
3859
  cache: nt(e.pluralRules),
3860
3860
  strategy: et.variadic
3861
3861
  })
3862
3862
  };
3863
3863
  }
3864
- var ui = (
3864
+ var li = (
3865
3865
  /** @class */
3866
3866
  function() {
3867
3867
  function e(t, n, r, o) {
@@ -3876,7 +3876,7 @@ var ui = (
3876
3876
  if (l.length === 1)
3877
3877
  return l[0].value;
3878
3878
  var c = l.reduce(function(f, d) {
3879
- return !f.length || d.type !== X.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3879
+ return !f.length || d.type !== V.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3880
3880
  }, []);
3881
3881
  return c.length <= 1 ? c[0] || "" : c;
3882
3882
  }, this.formatToParts = function(u) {
@@ -3893,13 +3893,13 @@ var ui = (
3893
3893
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3894
3894
  var s = o || {};
3895
3895
  s.formatters;
3896
- var a = go(s, ["formatters"]);
3896
+ var a = vo(s, ["formatters"]);
3897
3897
  this.ast = e.__parse(t, te(te({}, a), { locale: this.resolvedLocale }));
3898
3898
  } else
3899
3899
  this.ast = t;
3900
3900
  if (!Array.isArray(this.ast))
3901
3901
  throw new TypeError("A message must be provided as a String or AST.");
3902
- this.formats = si(e.formats, r), this.formatters = o && o.formatters || ai(this.formatterCache);
3902
+ this.formats = ai(e.formats, r), this.formatters = o && o.formatters || ui(this.formatterCache);
3903
3903
  }
3904
3904
  return Object.defineProperty(e, "defaultLocale", {
3905
3905
  get: function() {
@@ -3912,7 +3912,7 @@ var ui = (
3912
3912
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3913
3913
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3914
3914
  }
3915
- }, e.__parse = ei, e.formats = {
3915
+ }, e.__parse = ti, e.formats = {
3916
3916
  number: {
3917
3917
  integer: {
3918
3918
  maximumFractionDigits: 0
@@ -3973,7 +3973,7 @@ var ui = (
3973
3973
  }, e;
3974
3974
  }()
3975
3975
  );
3976
- function li(e, t) {
3976
+ function ci(e, t) {
3977
3977
  if (t == null)
3978
3978
  return;
3979
3979
  if (t in e)
@@ -3994,44 +3994,44 @@ function li(e, t) {
3994
3994
  r = void 0;
3995
3995
  return r;
3996
3996
  }
3997
- const se = {}, ci = (e, t, n) => n && (t in se || (se[t] = {}), e in se[t] || (se[t][e] = n), n), kn = (e, t) => {
3997
+ const se = {}, hi = (e, t, n) => n && (t in se || (se[t] = {}), e in se[t] || (se[t][e] = n), n), jn = (e, t) => {
3998
3998
  if (t == null)
3999
3999
  return;
4000
4000
  if (t in se && e in se[t])
4001
4001
  return se[t][e];
4002
4002
  const n = ze(t);
4003
4003
  for (let r = 0; r < n.length; r++) {
4004
- const o = n[r], i = fi(o, e);
4004
+ const o = n[r], i = di(o, e);
4005
4005
  if (i)
4006
- return ci(e, t, i);
4006
+ return hi(e, t, i);
4007
4007
  }
4008
4008
  };
4009
4009
  let xt;
4010
4010
  const Te = je({});
4011
- function hi(e) {
4011
+ function fi(e) {
4012
4012
  return xt[e] || null;
4013
4013
  }
4014
- function jn(e) {
4014
+ function Wn(e) {
4015
4015
  return e in xt;
4016
4016
  }
4017
- function fi(e, t) {
4018
- if (!jn(e))
4017
+ function di(e, t) {
4018
+ if (!Wn(e))
4019
4019
  return null;
4020
- const n = hi(e);
4021
- return li(n, t);
4020
+ const n = fi(e);
4021
+ return ci(n, t);
4022
4022
  }
4023
- function di(e) {
4023
+ function pi(e) {
4024
4024
  if (e == null)
4025
4025
  return;
4026
4026
  const t = ze(e);
4027
4027
  for (let n = 0; n < t.length; n++) {
4028
4028
  const r = t[n];
4029
- if (jn(r))
4029
+ if (Wn(r))
4030
4030
  return r;
4031
4031
  }
4032
4032
  }
4033
- function Wn(e, ...t) {
4034
- delete se[e], Te.update((n) => (n[e] = bo.all([n[e] || {}, ...t]), n));
4033
+ function Vn(e, ...t) {
4034
+ delete se[e], Te.update((n) => (n[e] = go.all([n[e] || {}, ...t]), n));
4035
4035
  }
4036
4036
  ye(
4037
4037
  [Te],
@@ -4039,15 +4039,15 @@ ye(
4039
4039
  );
4040
4040
  Te.subscribe((e) => xt = e);
4041
4041
  const Fe = {};
4042
- function pi(e, t) {
4042
+ function mi(e, t) {
4043
4043
  Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
4044
4044
  }
4045
- function Vn(e) {
4045
+ function zn(e) {
4046
4046
  return Fe[e];
4047
4047
  }
4048
- function mi(e) {
4048
+ function bi(e) {
4049
4049
  return ze(e).map((t) => {
4050
- const n = Vn(t);
4050
+ const n = zn(t);
4051
4051
  return [t, n ? [...n] : []];
4052
4052
  }).filter(([, t]) => t.length > 0);
4053
4053
  }
@@ -4055,31 +4055,31 @@ function _t(e) {
4055
4055
  return e == null ? !1 : ze(e).some(
4056
4056
  (t) => {
4057
4057
  var n;
4058
- return (n = Vn(t)) == null ? void 0 : n.size;
4058
+ return (n = zn(t)) == null ? void 0 : n.size;
4059
4059
  }
4060
4060
  );
4061
4061
  }
4062
- function bi(e, t) {
4062
+ function gi(e, t) {
4063
4063
  return Promise.all(
4064
- t.map((r) => (pi(e, r), r().then((o) => o.default || o)))
4065
- ).then((r) => Wn(e, ...r));
4064
+ t.map((r) => (mi(e, r), r().then((o) => o.default || o)))
4065
+ ).then((r) => Vn(e, ...r));
4066
4066
  }
4067
4067
  const Ee = {};
4068
- function zn(e) {
4068
+ function Xn(e) {
4069
4069
  if (!_t(e))
4070
4070
  return e in Ee ? Ee[e] : Promise.resolve();
4071
- const t = mi(e);
4071
+ const t = bi(e);
4072
4072
  return Ee[e] = Promise.all(
4073
4073
  t.map(
4074
- ([n, r]) => bi(n, r)
4074
+ ([n, r]) => gi(n, r)
4075
4075
  )
4076
4076
  ).then(() => {
4077
4077
  if (_t(e))
4078
- return zn(e);
4078
+ return Xn(e);
4079
4079
  delete Ee[e];
4080
4080
  }), Ee[e];
4081
4081
  }
4082
- const gi = {
4082
+ const vi = {
4083
4083
  number: {
4084
4084
  scientific: { notation: "scientific" },
4085
4085
  engineering: { notation: "engineering" },
@@ -4108,34 +4108,34 @@ const gi = {
4108
4108
  timeZoneName: "short"
4109
4109
  }
4110
4110
  }
4111
- }, vi = {
4111
+ }, yi = {
4112
4112
  fallbackLocale: null,
4113
4113
  loadingDelay: 200,
4114
- formats: gi,
4114
+ formats: vi,
4115
4115
  warnOnMissingMessages: !0,
4116
4116
  handleMissingMessage: void 0,
4117
4117
  ignoreTag: !0
4118
- }, yi = vi;
4118
+ }, _i = yi;
4119
4119
  function ve() {
4120
- return yi;
4120
+ return _i;
4121
4121
  }
4122
4122
  const rt = je(!1);
4123
- var _i = Object.defineProperty, Bi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, en = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, tn = (e, t, n) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ci = (e, t) => {
4123
+ var Bi = Object.defineProperty, Ei = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, tn = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, nn = (e, t, n) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Si = (e, t) => {
4124
4124
  for (var n in t || (t = {}))
4125
- wi.call(t, n) && tn(e, n, t[n]);
4126
- if (en)
4127
- for (var n of en(t))
4128
- xi.call(t, n) && tn(e, n, t[n]);
4125
+ xi.call(t, n) && nn(e, n, t[n]);
4126
+ if (tn)
4127
+ for (var n of tn(t))
4128
+ Ci.call(t, n) && nn(e, n, t[n]);
4129
4129
  return e;
4130
- }, Si = (e, t) => Bi(e, Ei(t));
4130
+ }, Ai = (e, t) => Ei(e, wi(t));
4131
4131
  let Bt;
4132
4132
  const De = je(null);
4133
- function nn(e) {
4133
+ function rn(e) {
4134
4134
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4135
4135
  }
4136
4136
  function ze(e, t = ve().fallbackLocale) {
4137
- const n = nn(e);
4138
- return t ? [.../* @__PURE__ */ new Set([...n, ...nn(t)])] : n;
4137
+ const n = rn(e);
4138
+ return t ? [.../* @__PURE__ */ new Set([...n, ...rn(t)])] : n;
4139
4139
  }
4140
4140
  function ue() {
4141
4141
  return Bt != null ? Bt : void 0;
@@ -4143,22 +4143,22 @@ function ue() {
4143
4143
  De.subscribe((e) => {
4144
4144
  Bt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4145
4145
  });
4146
- const Ai = (e) => {
4147
- if (e && di(e) && _t(e)) {
4146
+ const Ti = (e) => {
4147
+ if (e && pi(e) && _t(e)) {
4148
4148
  const { loadingDelay: t } = ve();
4149
4149
  let n;
4150
4150
  return typeof window != "undefined" && ue() != null && t ? n = window.setTimeout(
4151
4151
  () => rt.set(!0),
4152
4152
  t
4153
- ) : rt.set(!0), zn(e).then(() => {
4153
+ ) : rt.set(!0), Xn(e).then(() => {
4154
4154
  De.set(e);
4155
4155
  }).finally(() => {
4156
4156
  clearTimeout(n), rt.set(!1);
4157
4157
  });
4158
4158
  }
4159
4159
  return De.set(e);
4160
- }, _e = Si(Ci({}, De), {
4161
- set: Ai
4160
+ }, _e = Ai(Si({}, De), {
4161
+ set: Ti
4162
4162
  }), Xe = (e) => {
4163
4163
  const t = /* @__PURE__ */ Object.create(null);
4164
4164
  return (r) => {
@@ -4166,17 +4166,17 @@ const Ai = (e) => {
4166
4166
  return o in t ? t[o] : t[o] = e(r);
4167
4167
  };
4168
4168
  };
4169
- var Ti = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, Zn = Object.prototype.propertyIsEnumerable, rn = (e, t, n) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ct = (e, t) => {
4169
+ var Pi = Object.defineProperty, Ge = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Zn = Object.prototype.propertyIsEnumerable, on = (e, t, n) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ct = (e, t) => {
4170
4170
  for (var n in t || (t = {}))
4171
- Xn.call(t, n) && rn(e, n, t[n]);
4171
+ qn.call(t, n) && on(e, n, t[n]);
4172
4172
  if (Ge)
4173
4173
  for (var n of Ge(t))
4174
- Zn.call(t, n) && rn(e, n, t[n]);
4174
+ Zn.call(t, n) && on(e, n, t[n]);
4175
4175
  return e;
4176
4176
  }, Be = (e, t) => {
4177
4177
  var n = {};
4178
4178
  for (var r in e)
4179
- Xn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4179
+ qn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4180
4180
  if (e != null && Ge)
4181
4181
  for (var r of Ge(e))
4182
4182
  t.indexOf(r) < 0 && Zn.call(e, r) && (n[r] = e[r]);
@@ -4187,21 +4187,21 @@ const Se = (e, t) => {
4187
4187
  if (e in n && t in n[e])
4188
4188
  return n[e][t];
4189
4189
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4190
- }, Pi = Xe(
4190
+ }, Mi = Xe(
4191
4191
  (e) => {
4192
4192
  var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4193
4193
  if (n == null)
4194
4194
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4195
4195
  return r && (o = Se("number", r)), new Intl.NumberFormat(n, o);
4196
4196
  }
4197
- ), Mi = Xe(
4197
+ ), Hi = Xe(
4198
4198
  (e) => {
4199
4199
  var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4200
4200
  if (n == null)
4201
4201
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4202
4202
  return r ? o = Se("date", r) : Object.keys(o).length === 0 && (o = Se("date", "short")), new Intl.DateTimeFormat(n, o);
4203
4203
  }
4204
- ), Hi = Xe(
4204
+ ), Oi = Xe(
4205
4205
  (e) => {
4206
4206
  var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4207
4207
  if (n == null)
@@ -4210,33 +4210,33 @@ const Se = (e, t) => {
4210
4210
  );
4211
4211
  return r ? o = Se("time", r) : Object.keys(o).length === 0 && (o = Se("time", "short")), new Intl.DateTimeFormat(n, o);
4212
4212
  }
4213
- ), Oi = (e = {}) => {
4213
+ ), Ii = (e = {}) => {
4214
4214
  var t = e, {
4215
4215
  locale: n = ue()
4216
4216
  } = t, r = Be(t, [
4217
4217
  "locale"
4218
4218
  ]);
4219
- return Pi(Ct({ locale: n }, r));
4220
- }, Ii = (e = {}) => {
4219
+ return Mi(Ct({ locale: n }, r));
4220
+ }, Ni = (e = {}) => {
4221
4221
  var t = e, {
4222
4222
  locale: n = ue()
4223
4223
  } = t, r = Be(t, [
4224
4224
  "locale"
4225
4225
  ]);
4226
- return Mi(Ct({ locale: n }, r));
4227
- }, Ni = (e = {}) => {
4226
+ return Hi(Ct({ locale: n }, r));
4227
+ }, Li = (e = {}) => {
4228
4228
  var t = e, {
4229
4229
  locale: n = ue()
4230
4230
  } = t, r = Be(t, [
4231
4231
  "locale"
4232
4232
  ]);
4233
- return Hi(Ct({ locale: n }, r));
4234
- }, Li = Xe(
4233
+ return Oi(Ct({ locale: n }, r));
4234
+ }, Ri = Xe(
4235
4235
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4236
- (e, t = ue()) => new ui(e, t, ve().formats, {
4236
+ (e, t = ue()) => new li(e, t, ve().formats, {
4237
4237
  ignoreTag: ve().ignoreTag
4238
4238
  })
4239
- ), Ri = (e, t = {}) => {
4239
+ ), Fi = (e, t = {}) => {
4240
4240
  var n, r, o, i;
4241
4241
  let s = t;
4242
4242
  typeof e == "object" && (s = e, e = s.id);
@@ -4249,7 +4249,7 @@ const Se = (e, t) => {
4249
4249
  throw new Error(
4250
4250
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4251
4251
  );
4252
- let c = kn(e, u);
4252
+ let c = jn(e, u);
4253
4253
  if (!c)
4254
4254
  c = (i = (o = (r = (n = ve()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? o : l) != null ? i : e;
4255
4255
  else if (typeof c != "string")
@@ -4260,7 +4260,7 @@ const Se = (e, t) => {
4260
4260
  return c;
4261
4261
  let f = c;
4262
4262
  try {
4263
- f = Li(c, u).format(a);
4263
+ f = Ri(c, u).format(a);
4264
4264
  } catch (d) {
4265
4265
  d instanceof Error && console.warn(
4266
4266
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4268,21 +4268,21 @@ const Se = (e, t) => {
4268
4268
  );
4269
4269
  }
4270
4270
  return f;
4271
- }, Fi = (e, t) => Ni(t).format(e), Ui = (e, t) => Ii(t).format(e), $i = (e, t) => Oi(t).format(e), Di = (e, t = ue()) => kn(e, t), Gi = ye([_e, Te], () => Ri);
4272
- ye([_e], () => Fi);
4271
+ }, Ui = (e, t) => Li(t).format(e), $i = (e, t) => Ni(t).format(e), Di = (e, t) => Ii(t).format(e), Gi = (e, t = ue()) => jn(e, t), ki = ye([_e, Te], () => Fi);
4273
4272
  ye([_e], () => Ui);
4274
4273
  ye([_e], () => $i);
4275
- ye([_e, Te], () => Di);
4276
- window.emWidgets = { topic: Jr };
4277
- const ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4274
+ ye([_e], () => Di);
4275
+ ye([_e, Te], () => Gi);
4276
+ window.emWidgets = { topic: Kr };
4277
+ const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4278
4278
  String(Number.MAX_SAFE_INTEGER).length;
4279
- function on(e, t) {
4280
- Wn(e, t);
4279
+ function sn(e, t) {
4280
+ Vn(e, t);
4281
4281
  }
4282
- function ji(e) {
4282
+ function Wi(e) {
4283
4283
  _e.set(e);
4284
4284
  }
4285
- const sn = {
4285
+ const an = {
4286
4286
  en: {
4287
4287
  titleBonuses: "Active Bonuses",
4288
4288
  bonusCode: "Do you have a bonus code?",
@@ -4416,13 +4416,13 @@ const sn = {
4416
4416
  bonusClaimErrorMessage: "Invalid bonus"
4417
4417
  }
4418
4418
  }, de = "__WIDGET_GLOBAL_STYLE_CACHE__";
4419
- function Wi(e, t) {
4419
+ function Vi(e, t) {
4420
4420
  if (e) {
4421
4421
  const n = document.createElement("style");
4422
4422
  n.innerHTML = t, e.appendChild(n);
4423
4423
  }
4424
4424
  }
4425
- function Vi(e, t) {
4425
+ function zi(e, t) {
4426
4426
  if (!e || !t)
4427
4427
  return;
4428
4428
  const n = new URL(t);
@@ -4433,11 +4433,11 @@ function Vi(e, t) {
4433
4433
  console.error("There was an error while trying to load client styling from URL", r);
4434
4434
  });
4435
4435
  }
4436
- function zi(e, t, n, r = !1) {
4436
+ function Xi(e, t, n, r = !1) {
4437
4437
  if (!window.emMessageBus)
4438
4438
  return;
4439
4439
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
4440
- return n = Xi(e, t), n;
4440
+ return n = qi(e, t), n;
4441
4441
  window[de] || (window[de] = {}), n = Zi(e, t);
4442
4442
  const i = n.unsubscribe.bind(n), s = () => {
4443
4443
  if (window[de][t]) {
@@ -4448,7 +4448,7 @@ function zi(e, t, n, r = !1) {
4448
4448
  };
4449
4449
  return n.unsubscribe = s, n;
4450
4450
  }
4451
- function Xi(e, t) {
4451
+ function qi(e, t) {
4452
4452
  const n = document.createElement("style");
4453
4453
  return window.emMessageBus.subscribe(t, (r) => {
4454
4454
  e && (n.innerHTML = r, e.appendChild(n));
@@ -4480,62 +4480,62 @@ if (typeof window != "undefined") {
4480
4480
  }
4481
4481
  };
4482
4482
  };
4483
- customElements.define = e(customElements.define), import("./PlayerBonusCard-Dj2xNVB2.js").then(({ default: t }) => {
4483
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-t2Q1f1jr.js").then(({ default: t }) => {
4484
4484
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4485
4485
  });
4486
4486
  }
4487
- function qi(e) {
4488
- yr(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)}}');
4487
+ function Ji(e) {
4488
+ _r(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)}}');
4489
4489
  }
4490
- function an(e, t, n) {
4490
+ function un(e, t, n) {
4491
4491
  const r = e.slice();
4492
- return r[52] = t[n], r[54] = n, r;
4492
+ return r[53] = t[n], r[55] = n, r;
4493
4493
  }
4494
- function un(e, t, n) {
4494
+ function ln(e, t, n) {
4495
4495
  const r = e.slice();
4496
- return r[55] = t[n], r;
4496
+ return r[56] = t[n], r;
4497
4497
  }
4498
4498
  function Qi(e) {
4499
4499
  let t, n, r, o, i, s, a, u, l, c, f = (
4500
4500
  /*$_*/
4501
4501
  e[20]("titleBonuses") + ""
4502
- ), d, p, y;
4502
+ ), d, p, _;
4503
4503
  return {
4504
4504
  c() {
4505
- t = A("div"), n = le("svg"), r = le("defs"), o = le("style"), i = F(`.aaa {
4505
+ t = P("div"), n = le("svg"), r = le("defs"), o = le("style"), i = $(`.aaa {
4506
4506
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
4507
4507
  }
4508
- `), s = le("g"), a = le("g"), u = le("path"), l = Z(), 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");
4508
+ `), s = le("g"), a = le("g"), u = le("path"), l = z(), c = P("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");
4509
4509
  },
4510
- m(g, b) {
4511
- 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 = ee(
4510
+ m(y, m) {
4511
+ 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 || (_ = ee(
4512
4512
  t,
4513
4513
  "click",
4514
4514
  /*click_handler*/
4515
- e[34]
4515
+ e[35]
4516
4516
  ), p = !0);
4517
4517
  },
4518
- p(g, b) {
4519
- b[0] & /*$_*/
4518
+ p(y, m) {
4519
+ m[0] & /*$_*/
4520
4520
  1048576 && f !== (f = /*$_*/
4521
- g[20]("titleBonuses") + "") && oe(d, f);
4521
+ y[20]("titleBonuses") + "") && oe(d, f);
4522
4522
  },
4523
- d(g) {
4524
- g && U(t), p = !1, y();
4523
+ d(y) {
4524
+ y && D(t), p = !1, _();
4525
4525
  }
4526
4526
  };
4527
4527
  }
4528
- function ln(e) {
4528
+ function cn(e) {
4529
4529
  let t, n = (
4530
4530
  /*$_*/
4531
4531
  e[20]("invalidBonusCode") + ""
4532
4532
  ), r;
4533
4533
  return {
4534
4534
  c() {
4535
- t = A("p"), r = F(n), x(t, "class", "InvalidBonusCodeMessage");
4535
+ t = P("p"), r = $(n), x(t, "class", "InvalidBonusCodeMessage");
4536
4536
  },
4537
4537
  m(o, i) {
4538
- G(o, t, i), _(t, r);
4538
+ k(o, t, i), E(t, r);
4539
4539
  },
4540
4540
  p(o, i) {
4541
4541
  i[0] & /*$_*/
@@ -4543,7 +4543,7 @@ function ln(e) {
4543
4543
  o[20]("invalidBonusCode") + "") && oe(r, n);
4544
4544
  },
4545
4545
  d(o) {
4546
- o && U(t);
4546
+ o && D(t);
4547
4547
  }
4548
4548
  };
4549
4549
  }
@@ -4552,52 +4552,52 @@ function Yi(e) {
4552
4552
  function o(u, l) {
4553
4553
  return (
4554
4554
  /*activeBonusesList*/
4555
- u[18].length === 0 ? es : Ki
4555
+ u[18].length === 0 ? ts : es
4556
4556
  );
4557
4557
  }
4558
4558
  let i = o(e), s = i(e), a = (
4559
4559
  /*activeBonusesList*/
4560
- e[18].length !== 0 && hn(e)
4560
+ e[18].length !== 0 && fn(e)
4561
4561
  );
4562
4562
  return {
4563
4563
  c() {
4564
- t = A("div"), s.c(), n = Z(), a && a.c(), r = wt(), x(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4564
+ t = P("div"), s.c(), n = z(), a && a.c(), r = wt(), x(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4565
4565
  (e[21] ? "ActiveBonusesGridMobile" : ""));
4566
4566
  },
4567
4567
  m(u, l) {
4568
- G(u, t, l), s.m(t, null), G(u, n, l), a && a.m(u, l), G(u, r, l);
4568
+ k(u, t, l), s.m(t, null), k(u, n, l), a && a.m(u, l), k(u, r, l);
4569
4569
  },
4570
4570
  p(u, l) {
4571
4571
  i === (i = o(u)) && s ? s.p(u, l) : (s.d(1), s = i(u), s && (s.c(), s.m(t, null))), /*activeBonusesList*/
4572
- u[18].length !== 0 ? a ? a.p(u, l) : (a = hn(u), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
4572
+ u[18].length !== 0 ? a ? a.p(u, l) : (a = fn(u), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
4573
4573
  },
4574
4574
  d(u) {
4575
- u && (U(t), U(n), U(r)), s.d(), a && a.d(u);
4575
+ u && (D(t), D(n), D(r)), s.d(), a && a.d(u);
4576
4576
  }
4577
4577
  };
4578
4578
  }
4579
- function Ji(e) {
4579
+ function Ki(e) {
4580
4580
  let t;
4581
4581
  return {
4582
4582
  c() {
4583
- t = A("div"), x(t, "class", "ModalLoader"), x(t, "part", "ModalLoader");
4583
+ t = P("div"), x(t, "class", "ModalLoader"), x(t, "part", "ModalLoader");
4584
4584
  },
4585
4585
  m(n, r) {
4586
- G(n, t, r);
4586
+ k(n, t, r);
4587
4587
  },
4588
- p: J,
4588
+ p: K,
4589
4589
  d(n) {
4590
- n && U(t);
4590
+ n && D(t);
4591
4591
  }
4592
4592
  };
4593
4593
  }
4594
- function Ki(e) {
4594
+ function es(e) {
4595
4595
  let t, n = Ue(
4596
4596
  /*activeBonusesList*/
4597
4597
  e[18]
4598
4598
  ), r = [];
4599
4599
  for (let o = 0; o < n.length; o += 1)
4600
- r[o] = cn(un(e, n, o));
4600
+ r[o] = hn(ln(e, n, o));
4601
4601
  return {
4602
4602
  c() {
4603
4603
  for (let o = 0; o < r.length; o += 1)
@@ -4607,7 +4607,7 @@ function Ki(e) {
4607
4607
  m(o, i) {
4608
4608
  for (let s = 0; s < r.length; s += 1)
4609
4609
  r[s] && r[s].m(o, i);
4610
- G(o, t, i);
4610
+ k(o, t, i);
4611
4611
  },
4612
4612
  p(o, i) {
4613
4613
  if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
@@ -4618,8 +4618,8 @@ function Ki(e) {
4618
4618
  );
4619
4619
  let s;
4620
4620
  for (s = 0; s < n.length; s += 1) {
4621
- const a = un(o, n, s);
4622
- r[s] ? r[s].p(a, i) : (r[s] = cn(a), r[s].c(), r[s].m(t.parentNode, t));
4621
+ const a = ln(o, n, s);
4622
+ r[s] ? r[s].p(a, i) : (r[s] = hn(a), r[s].c(), r[s].m(t.parentNode, t));
4623
4623
  }
4624
4624
  for (; s < r.length; s += 1)
4625
4625
  r[s].d(1);
@@ -4627,21 +4627,21 @@ function Ki(e) {
4627
4627
  }
4628
4628
  },
4629
4629
  d(o) {
4630
- o && U(t), gn(r, o);
4630
+ o && D(t), vn(r, o);
4631
4631
  }
4632
4632
  };
4633
4633
  }
4634
- function es(e) {
4634
+ function ts(e) {
4635
4635
  let t, n = (
4636
4636
  /*$_*/
4637
4637
  e[20]("noActiveBonuses") + ""
4638
4638
  ), r;
4639
4639
  return {
4640
4640
  c() {
4641
- t = A("p"), r = F(n);
4641
+ t = P("p"), r = $(n);
4642
4642
  },
4643
4643
  m(o, i) {
4644
- G(o, t, i), _(t, r);
4644
+ k(o, t, i), E(t, r);
4645
4645
  },
4646
4646
  p(o, i) {
4647
4647
  i[0] & /*$_*/
@@ -4649,32 +4649,32 @@ function es(e) {
4649
4649
  o[20]("noActiveBonuses") + "") && oe(r, n);
4650
4650
  },
4651
4651
  d(o) {
4652
- o && U(t);
4652
+ o && D(t);
4653
4653
  }
4654
4654
  };
4655
4655
  }
4656
- function ts(e) {
4657
- let t, n, r, o, i, s, a, u, l, c, f, d, p, y, g, b, E;
4656
+ function ns(e) {
4657
+ let t, n, r, o, i, s, a, u, l, c, f, d, p, _, y, m, B;
4658
4658
  return {
4659
4659
  c() {
4660
- t = A("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4661
- e[55].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4662
- e[55].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4663
- e[55].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4664
- e[55].endpoint), h(t, "playerid", s = /*activeBonus*/
4665
- e[55].playerid), h(t, "session", a = /*activeBonus*/
4666
- e[55].session), h(t, "bonuswalletid", u = /*activeBonus*/
4667
- e[55].walletId), h(t, "bonusdate", l = /*activeBonus*/
4668
- e[55].granted), h(t, "bonusexpirationdate", c = /*activeBonus*/
4669
- e[55].expiryTime), h(t, "bonusstatus", f = /*activeBonus*/
4670
- e[55].status), h(t, "bonusname", d = /*activeBonus*/
4671
- e[55].name), h(t, "bonustype", p = /*activeBonus*/
4672
- e[55].type), h(t, "bonusamount", y = /*activeBonus*/
4673
- e[55].extension.grantedPlayerCurrencyAmount), h(t, "bonuswageringamount", g = `${/*activeBonus*/
4674
- e[55].fulfilledWR} / ${/*activeBonus*/
4675
- e[55].originalWageringRequirement}`), h(t, "bonusremainingamount", b = /*activeBonus*/
4676
- e[55].currentAmount), h(t, "bonuscurrency", E = /*activeBonus*/
4677
- e[55].currency), h(
4660
+ t = P("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4661
+ e[56].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4662
+ e[56].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4663
+ e[56].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4664
+ e[56].endpoint), h(t, "playerid", s = /*activeBonus*/
4665
+ e[56].playerid), h(t, "session", a = /*activeBonus*/
4666
+ e[56].session), h(t, "bonuswalletid", u = /*activeBonus*/
4667
+ e[56].walletId), h(t, "bonusdate", l = /*activeBonus*/
4668
+ e[56].granted), h(t, "bonusexpirationdate", c = /*activeBonus*/
4669
+ e[56].expiryTime), h(t, "bonusstatus", f = /*activeBonus*/
4670
+ e[56].status), h(t, "bonusname", d = /*activeBonus*/
4671
+ e[56].name), h(t, "bonustype", p = /*activeBonus*/
4672
+ e[56].type), h(t, "bonusamount", _ = /*activeBonus*/
4673
+ e[56].extension.grantedPlayerCurrencyAmount), h(t, "bonuswageringamount", y = `${/*activeBonus*/
4674
+ e[56].fulfilledWR} / ${/*activeBonus*/
4675
+ e[56].originalWageringRequirement}`), h(t, "bonusremainingamount", m = /*activeBonus*/
4676
+ e[56].currentAmount), h(t, "bonuscurrency", B = /*activeBonus*/
4677
+ e[56].currency), h(
4678
4678
  t,
4679
4679
  "lang",
4680
4680
  /*lang*/
@@ -4716,117 +4716,117 @@ function ts(e) {
4716
4716
  e[7]
4717
4717
  );
4718
4718
  },
4719
- m(m, B) {
4720
- G(m, t, B);
4719
+ m(b, v) {
4720
+ k(b, t, v);
4721
4721
  },
4722
- p(m, B) {
4723
- B[0] & /*activeBonusesList*/
4722
+ p(b, v) {
4723
+ v[0] & /*activeBonusesList*/
4724
4724
  262144 && n !== (n = /*activeBonus*/
4725
- m[55].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), B[0] & /*activeBonusesList*/
4725
+ b[56].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), v[0] & /*activeBonusesList*/
4726
4726
  262144 && r !== (r = /*activeBonus*/
4727
- m[55].termsandconditionsurl) && h(t, "termsandconditionsurl", r), B[0] & /*activeBonusesList*/
4727
+ b[56].termsandconditionsurl) && h(t, "termsandconditionsurl", r), v[0] & /*activeBonusesList*/
4728
4728
  262144 && o !== (o = /*activeBonus*/
4729
- m[55].termsandconditionsasset) && h(t, "termsandconditionsasset", o), B[0] & /*activeBonusesList*/
4729
+ b[56].termsandconditionsasset) && h(t, "termsandconditionsasset", o), v[0] & /*activeBonusesList*/
4730
4730
  262144 && i !== (i = /*activeBonus*/
4731
- m[55].endpoint) && h(t, "endpoint", i), B[0] & /*activeBonusesList*/
4731
+ b[56].endpoint) && h(t, "endpoint", i), v[0] & /*activeBonusesList*/
4732
4732
  262144 && s !== (s = /*activeBonus*/
4733
- m[55].playerid) && h(t, "playerid", s), B[0] & /*activeBonusesList*/
4733
+ b[56].playerid) && h(t, "playerid", s), v[0] & /*activeBonusesList*/
4734
4734
  262144 && a !== (a = /*activeBonus*/
4735
- m[55].session) && h(t, "session", a), B[0] & /*activeBonusesList*/
4735
+ b[56].session) && h(t, "session", a), v[0] & /*activeBonusesList*/
4736
4736
  262144 && u !== (u = /*activeBonus*/
4737
- m[55].walletId) && h(t, "bonuswalletid", u), B[0] & /*activeBonusesList*/
4737
+ b[56].walletId) && h(t, "bonuswalletid", u), v[0] & /*activeBonusesList*/
4738
4738
  262144 && l !== (l = /*activeBonus*/
4739
- m[55].granted) && h(t, "bonusdate", l), B[0] & /*activeBonusesList*/
4739
+ b[56].granted) && h(t, "bonusdate", l), v[0] & /*activeBonusesList*/
4740
4740
  262144 && c !== (c = /*activeBonus*/
4741
- m[55].expiryTime) && h(t, "bonusexpirationdate", c), B[0] & /*activeBonusesList*/
4741
+ b[56].expiryTime) && h(t, "bonusexpirationdate", c), v[0] & /*activeBonusesList*/
4742
4742
  262144 && f !== (f = /*activeBonus*/
4743
- m[55].status) && h(t, "bonusstatus", f), B[0] & /*activeBonusesList*/
4743
+ b[56].status) && h(t, "bonusstatus", f), v[0] & /*activeBonusesList*/
4744
4744
  262144 && d !== (d = /*activeBonus*/
4745
- m[55].name) && h(t, "bonusname", d), B[0] & /*activeBonusesList*/
4745
+ b[56].name) && h(t, "bonusname", d), v[0] & /*activeBonusesList*/
4746
4746
  262144 && p !== (p = /*activeBonus*/
4747
- m[55].type) && h(t, "bonustype", p), B[0] & /*activeBonusesList*/
4748
- 262144 && y !== (y = /*activeBonus*/
4749
- m[55].extension.grantedPlayerCurrencyAmount) && h(t, "bonusamount", y), B[0] & /*activeBonusesList*/
4750
- 262144 && g !== (g = `${/*activeBonus*/
4751
- m[55].fulfilledWR} / ${/*activeBonus*/
4752
- m[55].originalWageringRequirement}`) && h(t, "bonuswageringamount", g), B[0] & /*activeBonusesList*/
4753
- 262144 && b !== (b = /*activeBonus*/
4754
- m[55].currentAmount) && h(t, "bonusremainingamount", b), B[0] & /*activeBonusesList*/
4755
- 262144 && E !== (E = /*activeBonus*/
4756
- m[55].currency) && h(t, "bonuscurrency", E), B[0] & /*lang*/
4747
+ b[56].type) && h(t, "bonustype", p), v[0] & /*activeBonusesList*/
4748
+ 262144 && _ !== (_ = /*activeBonus*/
4749
+ b[56].extension.grantedPlayerCurrencyAmount) && h(t, "bonusamount", _), v[0] & /*activeBonusesList*/
4750
+ 262144 && y !== (y = `${/*activeBonus*/
4751
+ b[56].fulfilledWR} / ${/*activeBonus*/
4752
+ b[56].originalWageringRequirement}`) && h(t, "bonuswageringamount", y), v[0] & /*activeBonusesList*/
4753
+ 262144 && m !== (m = /*activeBonus*/
4754
+ b[56].currentAmount) && h(t, "bonusremainingamount", m), v[0] & /*activeBonusesList*/
4755
+ 262144 && B !== (B = /*activeBonus*/
4756
+ b[56].currency) && h(t, "bonuscurrency", B), v[0] & /*lang*/
4757
4757
  1 && h(
4758
4758
  t,
4759
4759
  "lang",
4760
4760
  /*lang*/
4761
- m[0]
4762
- ), B[0] & /*dateformat*/
4761
+ b[0]
4762
+ ), v[0] & /*dateformat*/
4763
4763
  64 && h(
4764
4764
  t,
4765
4765
  "dateformat",
4766
4766
  /*dateformat*/
4767
- m[6]
4768
- ), B[0] & /*clientstyling*/
4767
+ b[6]
4768
+ ), v[0] & /*clientstyling*/
4769
4769
  2 && h(
4770
4770
  t,
4771
4771
  "clientstyling",
4772
4772
  /*clientstyling*/
4773
- m[1]
4774
- ), B[0] & /*clientstylingurl*/
4773
+ b[1]
4774
+ ), v[0] & /*clientstylingurl*/
4775
4775
  4 && h(
4776
4776
  t,
4777
4777
  "clientstylingurl",
4778
4778
  /*clientstylingurl*/
4779
- m[2]
4780
- ), B[0] & /*mbsource*/
4779
+ b[2]
4780
+ ), v[0] & /*mbsource*/
4781
4781
  8 && h(
4782
4782
  t,
4783
4783
  "mbsource",
4784
4784
  /*mbsource*/
4785
- m[3]
4786
- ), B[0] & /*translationurl*/
4785
+ b[3]
4786
+ ), v[0] & /*translationurl*/
4787
4787
  16 && h(
4788
4788
  t,
4789
4789
  "translationurl",
4790
4790
  /*translationurl*/
4791
- m[4]
4792
- ), B[0] & /*currencylocale*/
4791
+ b[4]
4792
+ ), v[0] & /*currencylocale*/
4793
4793
  32 && h(
4794
4794
  t,
4795
4795
  "currencylocale",
4796
4796
  /*currencylocale*/
4797
- m[5]
4798
- ), B[0] & /*ishiddenwageringbonus*/
4797
+ b[5]
4798
+ ), v[0] & /*ishiddenwageringbonus*/
4799
4799
  128 && h(
4800
4800
  t,
4801
4801
  "ishiddenwageringbonus",
4802
4802
  /*ishiddenwageringbonus*/
4803
- m[7]
4803
+ b[7]
4804
4804
  );
4805
4805
  },
4806
- d(m) {
4807
- m && U(t);
4806
+ d(b) {
4807
+ b && D(t);
4808
4808
  }
4809
4809
  };
4810
4810
  }
4811
- function ns(e) {
4812
- let t, n, r, o, i, s, a, u, l, c, f, d, p, y, g;
4811
+ function rs(e) {
4812
+ let t, n, r, o, i, s, a, u, l, c, f, d, p, _, y;
4813
4813
  return {
4814
4814
  c() {
4815
- t = A("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4816
- e[55].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4817
- e[55].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4818
- e[55].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4819
- e[55].endpoint), h(t, "playerid", s = /*activeBonus*/
4820
- e[55].playerid), h(t, "session", a = /*activeBonus*/
4821
- e[55].session), h(t, "bonuswalletid", u = /*activeBonus*/
4822
- e[55].walletId), h(t, "bonusdate", l = /*activeBonus*/
4823
- e[55].granted), h(t, "bonusexpirationdate", c = /*activeBonus*/
4824
- e[55].expiryTime), h(t, "bonusstatus", f = /*activeBonus*/
4825
- e[55].status), h(t, "bonusname", d = /*activeBonus*/
4826
- e[55].name), h(t, "bonustype", p = /*activeBonus*/
4827
- e[55].type), h(t, "bonuscurrency", y = /*activeBonus*/
4828
- e[55].currency), h(t, "bonusfreespins", g = /*activeBonus*/
4829
- e[55].freeRoundNumber), h(
4815
+ t = P("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4816
+ e[56].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4817
+ e[56].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4818
+ e[56].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4819
+ e[56].endpoint), h(t, "playerid", s = /*activeBonus*/
4820
+ e[56].playerid), h(t, "session", a = /*activeBonus*/
4821
+ e[56].session), h(t, "bonuswalletid", u = /*activeBonus*/
4822
+ e[56].walletId), h(t, "bonusdate", l = /*activeBonus*/
4823
+ e[56].granted), h(t, "bonusexpirationdate", c = /*activeBonus*/
4824
+ e[56].expiryTime), h(t, "bonusstatus", f = /*activeBonus*/
4825
+ e[56].status), h(t, "bonusname", d = /*activeBonus*/
4826
+ e[56].name), h(t, "bonustype", p = /*activeBonus*/
4827
+ e[56].type), h(t, "bonuscurrency", _ = /*activeBonus*/
4828
+ e[56].currency), h(t, "bonusfreespins", y = /*activeBonus*/
4829
+ e[56].freeRoundNumber), h(
4830
4830
  t,
4831
4831
  "lang",
4832
4832
  /*lang*/
@@ -4868,99 +4868,99 @@ function ns(e) {
4868
4868
  e[7]
4869
4869
  );
4870
4870
  },
4871
- m(b, E) {
4872
- G(b, t, E);
4871
+ m(m, B) {
4872
+ k(m, t, B);
4873
4873
  },
4874
- p(b, E) {
4875
- E[0] & /*activeBonusesList*/
4874
+ p(m, B) {
4875
+ B[0] & /*activeBonusesList*/
4876
4876
  262144 && n !== (n = /*activeBonus*/
4877
- b[55].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), E[0] & /*activeBonusesList*/
4877
+ m[56].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), B[0] & /*activeBonusesList*/
4878
4878
  262144 && r !== (r = /*activeBonus*/
4879
- b[55].termsandconditionsurl) && h(t, "termsandconditionsurl", r), E[0] & /*activeBonusesList*/
4879
+ m[56].termsandconditionsurl) && h(t, "termsandconditionsurl", r), B[0] & /*activeBonusesList*/
4880
4880
  262144 && o !== (o = /*activeBonus*/
4881
- b[55].termsandconditionsasset) && h(t, "termsandconditionsasset", o), E[0] & /*activeBonusesList*/
4881
+ m[56].termsandconditionsasset) && h(t, "termsandconditionsasset", o), B[0] & /*activeBonusesList*/
4882
4882
  262144 && i !== (i = /*activeBonus*/
4883
- b[55].endpoint) && h(t, "endpoint", i), E[0] & /*activeBonusesList*/
4883
+ m[56].endpoint) && h(t, "endpoint", i), B[0] & /*activeBonusesList*/
4884
4884
  262144 && s !== (s = /*activeBonus*/
4885
- b[55].playerid) && h(t, "playerid", s), E[0] & /*activeBonusesList*/
4885
+ m[56].playerid) && h(t, "playerid", s), B[0] & /*activeBonusesList*/
4886
4886
  262144 && a !== (a = /*activeBonus*/
4887
- b[55].session) && h(t, "session", a), E[0] & /*activeBonusesList*/
4887
+ m[56].session) && h(t, "session", a), B[0] & /*activeBonusesList*/
4888
4888
  262144 && u !== (u = /*activeBonus*/
4889
- b[55].walletId) && h(t, "bonuswalletid", u), E[0] & /*activeBonusesList*/
4889
+ m[56].walletId) && h(t, "bonuswalletid", u), B[0] & /*activeBonusesList*/
4890
4890
  262144 && l !== (l = /*activeBonus*/
4891
- b[55].granted) && h(t, "bonusdate", l), E[0] & /*activeBonusesList*/
4891
+ m[56].granted) && h(t, "bonusdate", l), B[0] & /*activeBonusesList*/
4892
4892
  262144 && c !== (c = /*activeBonus*/
4893
- b[55].expiryTime) && h(t, "bonusexpirationdate", c), E[0] & /*activeBonusesList*/
4893
+ m[56].expiryTime) && h(t, "bonusexpirationdate", c), B[0] & /*activeBonusesList*/
4894
4894
  262144 && f !== (f = /*activeBonus*/
4895
- b[55].status) && h(t, "bonusstatus", f), E[0] & /*activeBonusesList*/
4895
+ m[56].status) && h(t, "bonusstatus", f), B[0] & /*activeBonusesList*/
4896
4896
  262144 && d !== (d = /*activeBonus*/
4897
- b[55].name) && h(t, "bonusname", d), E[0] & /*activeBonusesList*/
4897
+ m[56].name) && h(t, "bonusname", d), B[0] & /*activeBonusesList*/
4898
4898
  262144 && p !== (p = /*activeBonus*/
4899
- b[55].type) && h(t, "bonustype", p), E[0] & /*activeBonusesList*/
4899
+ m[56].type) && h(t, "bonustype", p), B[0] & /*activeBonusesList*/
4900
+ 262144 && _ !== (_ = /*activeBonus*/
4901
+ m[56].currency) && h(t, "bonuscurrency", _), B[0] & /*activeBonusesList*/
4900
4902
  262144 && y !== (y = /*activeBonus*/
4901
- b[55].currency) && h(t, "bonuscurrency", y), E[0] & /*activeBonusesList*/
4902
- 262144 && g !== (g = /*activeBonus*/
4903
- b[55].freeRoundNumber) && h(t, "bonusfreespins", g), E[0] & /*lang*/
4903
+ m[56].freeRoundNumber) && h(t, "bonusfreespins", y), B[0] & /*lang*/
4904
4904
  1 && h(
4905
4905
  t,
4906
4906
  "lang",
4907
4907
  /*lang*/
4908
- b[0]
4909
- ), E[0] & /*dateformat*/
4908
+ m[0]
4909
+ ), B[0] & /*dateformat*/
4910
4910
  64 && h(
4911
4911
  t,
4912
4912
  "dateformat",
4913
4913
  /*dateformat*/
4914
- b[6]
4915
- ), E[0] & /*clientstyling*/
4914
+ m[6]
4915
+ ), B[0] & /*clientstyling*/
4916
4916
  2 && h(
4917
4917
  t,
4918
4918
  "clientstyling",
4919
4919
  /*clientstyling*/
4920
- b[1]
4921
- ), E[0] & /*clientstylingurl*/
4920
+ m[1]
4921
+ ), B[0] & /*clientstylingurl*/
4922
4922
  4 && h(
4923
4923
  t,
4924
4924
  "clientstylingurl",
4925
4925
  /*clientstylingurl*/
4926
- b[2]
4927
- ), E[0] & /*mbsource*/
4926
+ m[2]
4927
+ ), B[0] & /*mbsource*/
4928
4928
  8 && h(
4929
4929
  t,
4930
4930
  "mbsource",
4931
4931
  /*mbsource*/
4932
- b[3]
4933
- ), E[0] & /*translationurl*/
4932
+ m[3]
4933
+ ), B[0] & /*translationurl*/
4934
4934
  16 && h(
4935
4935
  t,
4936
4936
  "translationurl",
4937
4937
  /*translationurl*/
4938
- b[4]
4939
- ), E[0] & /*currencylocale*/
4938
+ m[4]
4939
+ ), B[0] & /*currencylocale*/
4940
4940
  32 && h(
4941
4941
  t,
4942
4942
  "currencylocale",
4943
4943
  /*currencylocale*/
4944
- b[5]
4945
- ), E[0] & /*ishiddenwageringbonus*/
4944
+ m[5]
4945
+ ), B[0] & /*ishiddenwageringbonus*/
4946
4946
  128 && h(
4947
4947
  t,
4948
4948
  "ishiddenwageringbonus",
4949
4949
  /*ishiddenwageringbonus*/
4950
- b[7]
4950
+ m[7]
4951
4951
  );
4952
4952
  },
4953
- d(b) {
4954
- b && U(t);
4953
+ d(m) {
4954
+ m && D(t);
4955
4955
  }
4956
4956
  };
4957
4957
  }
4958
- function cn(e) {
4958
+ function hn(e) {
4959
4959
  let t;
4960
4960
  function n(i, s) {
4961
4961
  return (
4962
4962
  /*activeBonus*/
4963
- i[55].type === "freeRound" ? ns : ts
4963
+ i[56].type === "freeRound" ? rs : ns
4964
4964
  );
4965
4965
  }
4966
4966
  let r = n(e), o = r(e);
@@ -4969,174 +4969,174 @@ function cn(e) {
4969
4969
  o.c(), t = wt();
4970
4970
  },
4971
4971
  m(i, s) {
4972
- o.m(i, s), G(i, t, s);
4972
+ o.m(i, s), k(i, t, s);
4973
4973
  },
4974
4974
  p(i, s) {
4975
4975
  r === (r = n(i)) && o ? o.p(i, s) : (o.d(1), o = r(i), o && (o.c(), o.m(t.parentNode, t)));
4976
4976
  },
4977
4977
  d(i) {
4978
- i && U(t), o.d(i);
4978
+ i && D(t), o.d(i);
4979
4979
  }
4980
4980
  };
4981
4981
  }
4982
- function hn(e) {
4983
- let t, n, r, o, i, s, a, u, l, c, f, d, p, y, g, b, E, m, B, k, N, j, q, R = Ue(Array(
4982
+ function fn(e) {
4983
+ let t, n, r, o, i, s, a, u, l, c, f, d, p, _, y, m, B, b, v, j, R, X, Z, q = Ue(Array(
4984
4984
  /*numberOfPages*/
4985
4985
  e[16]
4986
- )), T = [];
4987
- for (let w = 0; w < R.length; w += 1)
4988
- T[w] = fn(an(e, R, w));
4986
+ )), A = [];
4987
+ for (let w = 0; w < q.length; w += 1)
4988
+ A[w] = dn(un(e, q, w));
4989
4989
  return {
4990
4990
  c() {
4991
- t = A("div"), n = A("button"), r = F("|<"), s = Z(), a = A("button"), u = F("<"), f = Z();
4992
- for (let w = 0; w < T.length; w += 1)
4993
- T[w].c();
4994
- d = Z(), p = A("button"), y = F(">"), E = Z(), m = A("button"), B = F(">|"), n.disabled = o = /*currentPage*/
4991
+ t = P("div"), n = P("button"), r = $("|<"), s = z(), a = P("button"), u = $("<"), f = z();
4992
+ for (let w = 0; w < A.length; w += 1)
4993
+ A[w].c();
4994
+ d = z(), p = P("button"), _ = $(">"), B = z(), b = P("button"), v = $(">|"), n.disabled = o = /*currentPage*/
4995
4995
  e[17] === 0, x(n, "class", i = "BonusesFirst " + /*currentPage*/
4996
4996
  (e[17] === 0 ? "Inactive" : "")), a.disabled = l = /*currentPage*/
4997
4997
  e[17] === 0, x(a, "class", c = "BonusesPrev " + /*currentPage*/
4998
- (e[17] === 0 ? "Inactive" : "")), p.disabled = g = /*currentPage*/
4998
+ (e[17] === 0 ? "Inactive" : "")), p.disabled = y = /*currentPage*/
4999
4999
  e[17] === /*numberOfPages*/
5000
- e[16] - 1, x(p, "class", b = "BonusesNext " + /*currentPage*/
5000
+ e[16] - 1, x(p, "class", m = "BonusesNext " + /*currentPage*/
5001
5001
  (e[17] === /*numberOfPages*/
5002
- e[16] - 1 ? "Inactive" : "")), m.disabled = k = /*currentPage*/
5002
+ e[16] - 1 ? "Inactive" : "")), b.disabled = j = /*currentPage*/
5003
5003
  e[17] === /*numberOfPages*/
5004
- e[16] - 1, x(m, "class", N = "BonusesLast " + /*currentPage*/
5004
+ e[16] - 1, x(b, "class", R = "BonusesLast " + /*currentPage*/
5005
5005
  (e[17] === /*numberOfPages*/
5006
5006
  e[16] - 1 ? "Inactive" : "")), x(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
5007
5007
  (e[21] ? "BonusesPaginationWrapperMobile" : ""));
5008
5008
  },
5009
- m(w, I) {
5010
- G(w, t, I), _(t, n), _(n, r), _(t, s), _(t, a), _(a, u), _(t, f);
5011
- for (let M = 0; M < T.length; M += 1)
5012
- T[M] && T[M].m(t, null);
5013
- _(t, d), _(t, p), _(p, y), _(t, E), _(t, m), _(m, B), j || (q = [
5009
+ m(w, N) {
5010
+ k(w, t, N), E(t, n), E(n, r), E(t, s), E(t, a), E(a, u), E(t, f);
5011
+ for (let H = 0; H < A.length; H += 1)
5012
+ A[H] && A[H].m(t, null);
5013
+ E(t, d), E(t, p), E(p, _), E(t, B), E(t, b), E(b, v), X || (Z = [
5014
5014
  ee(
5015
5015
  n,
5016
5016
  "click",
5017
5017
  /*click_handler_1*/
5018
- e[36]
5018
+ e[37]
5019
5019
  ),
5020
5020
  ee(
5021
5021
  a,
5022
5022
  "click",
5023
5023
  /*click_handler_2*/
5024
- e[37]
5024
+ e[38]
5025
5025
  ),
5026
5026
  ee(
5027
5027
  p,
5028
5028
  "click",
5029
5029
  /*click_handler_4*/
5030
- e[39]
5030
+ e[40]
5031
5031
  ),
5032
5032
  ee(
5033
- m,
5033
+ b,
5034
5034
  "click",
5035
5035
  /*click_handler_5*/
5036
- e[40]
5036
+ e[41]
5037
5037
  )
5038
- ], j = !0);
5038
+ ], X = !0);
5039
5039
  },
5040
- p(w, I) {
5041
- if (I[0] & /*currentPage*/
5040
+ p(w, N) {
5041
+ if (N[0] & /*currentPage*/
5042
5042
  131072 && o !== (o = /*currentPage*/
5043
- w[17] === 0) && (n.disabled = o), I[0] & /*currentPage*/
5043
+ w[17] === 0) && (n.disabled = o), N[0] & /*currentPage*/
5044
5044
  131072 && i !== (i = "BonusesFirst " + /*currentPage*/
5045
- (w[17] === 0 ? "Inactive" : "")) && x(n, "class", i), I[0] & /*currentPage*/
5045
+ (w[17] === 0 ? "Inactive" : "")) && x(n, "class", i), N[0] & /*currentPage*/
5046
5046
  131072 && l !== (l = /*currentPage*/
5047
- w[17] === 0) && (a.disabled = l), I[0] & /*currentPage*/
5047
+ w[17] === 0) && (a.disabled = l), N[0] & /*currentPage*/
5048
5048
  131072 && c !== (c = "BonusesPrev " + /*currentPage*/
5049
- (w[17] === 0 ? "Inactive" : "")) && x(a, "class", c), I[0] & /*currentPage, getActiveBonuses, numberOfPages*/
5049
+ (w[17] === 0 ? "Inactive" : "")) && x(a, "class", c), N[0] & /*currentPage, getActiveBonuses, numberOfPages*/
5050
5050
  16973824) {
5051
- R = Ue(Array(
5051
+ q = Ue(Array(
5052
5052
  /*numberOfPages*/
5053
5053
  w[16]
5054
5054
  ));
5055
- let M;
5056
- for (M = 0; M < R.length; M += 1) {
5057
- const $ = an(w, R, M);
5058
- T[M] ? T[M].p($, I) : (T[M] = fn($), T[M].c(), T[M].m(t, d));
5055
+ let H;
5056
+ for (H = 0; H < q.length; H += 1) {
5057
+ const F = un(w, q, H);
5058
+ A[H] ? A[H].p(F, N) : (A[H] = dn(F), A[H].c(), A[H].m(t, d));
5059
5059
  }
5060
- for (; M < T.length; M += 1)
5061
- T[M].d(1);
5062
- T.length = R.length;
5060
+ for (; H < A.length; H += 1)
5061
+ A[H].d(1);
5062
+ A.length = q.length;
5063
5063
  }
5064
- I[0] & /*currentPage, numberOfPages*/
5065
- 196608 && g !== (g = /*currentPage*/
5064
+ N[0] & /*currentPage, numberOfPages*/
5065
+ 196608 && y !== (y = /*currentPage*/
5066
5066
  w[17] === /*numberOfPages*/
5067
- w[16] - 1) && (p.disabled = g), I[0] & /*currentPage, numberOfPages*/
5068
- 196608 && b !== (b = "BonusesNext " + /*currentPage*/
5067
+ w[16] - 1) && (p.disabled = y), N[0] & /*currentPage, numberOfPages*/
5068
+ 196608 && m !== (m = "BonusesNext " + /*currentPage*/
5069
5069
  (w[17] === /*numberOfPages*/
5070
- w[16] - 1 ? "Inactive" : "")) && x(p, "class", b), I[0] & /*currentPage, numberOfPages*/
5071
- 196608 && k !== (k = /*currentPage*/
5070
+ w[16] - 1 ? "Inactive" : "")) && x(p, "class", m), N[0] & /*currentPage, numberOfPages*/
5071
+ 196608 && j !== (j = /*currentPage*/
5072
5072
  w[17] === /*numberOfPages*/
5073
- w[16] - 1) && (m.disabled = k), I[0] & /*currentPage, numberOfPages*/
5074
- 196608 && N !== (N = "BonusesLast " + /*currentPage*/
5073
+ w[16] - 1) && (b.disabled = j), N[0] & /*currentPage, numberOfPages*/
5074
+ 196608 && R !== (R = "BonusesLast " + /*currentPage*/
5075
5075
  (w[17] === /*numberOfPages*/
5076
- w[16] - 1 ? "Inactive" : "")) && x(m, "class", N);
5076
+ w[16] - 1 ? "Inactive" : "")) && x(b, "class", R);
5077
5077
  },
5078
5078
  d(w) {
5079
- w && U(t), gn(T, w), j = !1, ae(q);
5079
+ w && D(t), vn(A, w), X = !1, ae(Z);
5080
5080
  }
5081
5081
  };
5082
5082
  }
5083
- function fn(e) {
5083
+ function dn(e) {
5084
5084
  let t, n = (
5085
5085
  /*i*/
5086
- e[54] + 1 + ""
5086
+ e[55] + 1 + ""
5087
5087
  ), r, o, i, s, a;
5088
5088
  function u() {
5089
5089
  return (
5090
5090
  /*click_handler_3*/
5091
- e[38](
5091
+ e[39](
5092
5092
  /*i*/
5093
- e[54]
5093
+ e[55]
5094
5094
  )
5095
5095
  );
5096
5096
  }
5097
5097
  return {
5098
5098
  c() {
5099
- t = A("button"), r = F(n), t.disabled = o = /*i*/
5100
- e[54] === /*currentPage*/
5099
+ t = P("button"), r = $(n), t.disabled = o = /*i*/
5100
+ e[55] === /*currentPage*/
5101
5101
  e[17], x(t, "class", i = "BonusesPage " + /*i*/
5102
- (e[54] === /*currentPage*/
5102
+ (e[55] === /*currentPage*/
5103
5103
  e[17] ? "BonusPageActive" : ""));
5104
5104
  },
5105
5105
  m(l, c) {
5106
- G(l, t, c), _(t, r), s || (a = ee(t, "click", u), s = !0);
5106
+ k(l, t, c), E(t, r), s || (a = ee(t, "click", u), s = !0);
5107
5107
  },
5108
5108
  p(l, c) {
5109
5109
  e = l, c[0] & /*currentPage*/
5110
5110
  131072 && o !== (o = /*i*/
5111
- e[54] === /*currentPage*/
5111
+ e[55] === /*currentPage*/
5112
5112
  e[17]) && (t.disabled = o), c[0] & /*currentPage*/
5113
5113
  131072 && i !== (i = "BonusesPage " + /*i*/
5114
- (e[54] === /*currentPage*/
5114
+ (e[55] === /*currentPage*/
5115
5115
  e[17] ? "BonusPageActive" : "")) && x(t, "class", i);
5116
5116
  },
5117
5117
  d(l) {
5118
- l && U(t), s = !1, a();
5118
+ l && D(t), s = !1, a();
5119
5119
  }
5120
5120
  };
5121
5121
  }
5122
- function dn(e) {
5122
+ function pn(e) {
5123
5123
  let t, n, r, o, i = (
5124
5124
  /*$_*/
5125
5125
  e[20]("forfeitBonus") + ""
5126
5126
  ), s, a, u, l, c = (
5127
5127
  /*$_*/
5128
5128
  e[20]("forfeitBonusCancel") + ""
5129
- ), f, d, p, y = (
5129
+ ), f, d, p, _ = (
5130
5130
  /*$_*/
5131
5131
  e[20]("forfeitBonusConfirm") + ""
5132
- ), g, b, E;
5132
+ ), y, m, B;
5133
5133
  return {
5134
5134
  c() {
5135
- t = A("div"), n = A("div"), r = A("div"), o = A("p"), s = F(i), a = Z(), u = A("div"), l = A("button"), f = F(c), d = Z(), 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*/
5135
+ t = P("div"), n = P("div"), r = P("div"), o = P("p"), s = $(i), a = z(), u = P("div"), l = P("button"), f = $(c), d = z(), p = P("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*/
5136
5136
  (e[21] ? "ModalWrapperMobile" : ""));
5137
5137
  },
5138
- m(m, B) {
5139
- 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 = [
5138
+ m(b, v) {
5139
+ 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 = [
5140
5140
  ee(
5141
5141
  l,
5142
5142
  "click",
@@ -5152,193 +5152,203 @@ function dn(e) {
5152
5152
  e[27]
5153
5153
  )
5154
5154
  )
5155
- ], b = !0);
5155
+ ], m = !0);
5156
5156
  },
5157
- p(m, B) {
5158
- B[0] & /*$_*/
5157
+ p(b, v) {
5158
+ v[0] & /*$_*/
5159
5159
  1048576 && i !== (i = /*$_*/
5160
- m[20]("forfeitBonus") + "") && oe(s, i), B[0] & /*$_*/
5160
+ b[20]("forfeitBonus") + "") && oe(s, i), v[0] & /*$_*/
5161
5161
  1048576 && c !== (c = /*$_*/
5162
- m[20]("forfeitBonusCancel") + "") && oe(f, c), B[0] & /*$_*/
5163
- 1048576 && y !== (y = /*$_*/
5164
- m[20]("forfeitBonusConfirm") + "") && oe(g, y);
5162
+ b[20]("forfeitBonusCancel") + "") && oe(f, c), v[0] & /*$_*/
5163
+ 1048576 && _ !== (_ = /*$_*/
5164
+ b[20]("forfeitBonusConfirm") + "") && oe(y, _);
5165
5165
  },
5166
- d(m) {
5167
- m && U(t), b = !1, ae(E);
5166
+ d(b) {
5167
+ b && D(t), m = !1, ae(B);
5168
5168
  }
5169
5169
  };
5170
5170
  }
5171
- function rs(e) {
5171
+ function os(e) {
5172
5172
  let t, n, r, o, i = (
5173
5173
  /*$_*/
5174
5174
  e[20]("titleBonuses") + ""
5175
5175
  ), s, a, u, l, c = (
5176
5176
  /*$_*/
5177
5177
  e[20]("bonusCode") + ""
5178
- ), f, d, p, y, g, b, E = (
5178
+ ), f, d, p, _, y, m, B = (
5179
5179
  /*$_*/
5180
5180
  e[20]("getBonus") + ""
5181
- ), m, B, k, N, j, q, R, T = (
5181
+ ), b, v, j, R, X, Z, q, A = (
5182
5182
  /*isMobile*/
5183
5183
  e[21] && Qi(e)
5184
5184
  ), w = (
5185
5185
  /*invalidBonusCode*/
5186
- e[11] && ln(e)
5186
+ e[11] && cn(e)
5187
5187
  );
5188
- function I(P, W) {
5188
+ function N(M, W) {
5189
5189
  return (
5190
5190
  /*isLoading*/
5191
- P[9] ? Ji : Yi
5191
+ M[9] ? Ki : Yi
5192
5192
  );
5193
5193
  }
5194
- let M = I(e), $ = M(e), L = (
5194
+ let H = N(e), F = H(e), U = (
5195
5195
  /*bonusModal*/
5196
- e[19] && dn(e)
5196
+ e[19] && pn(e)
5197
5197
  );
5198
5198
  return {
5199
5199
  c() {
5200
- t = A("div"), n = A("div"), T && T.c(), r = Z(), o = A("h2"), s = F(i), a = Z(), u = A("div"), l = A("label"), f = F(c), d = Z(), p = A("div"), y = A("input"), g = Z(), b = A("button"), m = F(E), k = Z(), w && w.c(), N = Z(), $.c(), j = Z(), L && L.c(), x(o, "class", "ActiveBonusesTitle " + /*isMobile*/
5201
- (e[21] ? "ActiveBonusesTitleNone" : "")), x(l, "for", "BonusCode"), x(y, "class", "BonusCodeInput " + /*isMobile*/
5202
- (e[21] ? "BonusCodeInputMobile" : "")), x(y, "type", "text"), x(y, "id", "BonusCode"), x(b, "class", "SubmitBonusCode " + /*isMobile*/
5203
- (e[21] ? "SubmitBonusCodeMobile" : "")), b.disabled = B = /*invalidBonusField*/
5200
+ t = P("div"), n = P("div"), A && A.c(), r = z(), o = P("h2"), s = $(i), a = z(), u = P("div"), l = P("label"), f = $(c), d = z(), p = P("div"), _ = P("input"), y = z(), m = P("button"), b = $(B), j = z(), w && w.c(), R = z(), F.c(), X = z(), U && U.c(), x(o, "class", "ActiveBonusesTitle " + /*isMobile*/
5201
+ (e[21] ? "ActiveBonusesTitleNone" : "")), x(l, "for", "BonusCode"), x(_, "class", "BonusCodeInput " + /*isMobile*/
5202
+ (e[21] ? "BonusCodeInputMobile" : "")), x(_, "type", "text"), x(_, "id", "BonusCode"), x(m, "class", "SubmitBonusCode " + /*isMobile*/
5203
+ (e[21] ? "SubmitBonusCodeMobile" : "")), m.disabled = v = /*invalidBonusField*/
5204
5204
  e[10] || /*isLoading*/
5205
5205
  e[9], x(p, "class", "BonusCodeWrapper " + /*isMobile*/
5206
5206
  (e[21] ? "BonusCodeWrapperMobile" : "")), x(u, "class", "BonusCodeContainer " + /*isMobile*/
5207
5207
  (e[21] ? "BonusCodeContainerMobile" : "")), x(n, "class", "ActiveBonusesWrapper " + /*isMobile*/
5208
5208
  (e[21] ? "ActiveBonusesWrapperMobile" : ""));
5209
5209
  },
5210
- m(P, W) {
5211
- 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), Rt(
5212
- y,
5210
+ m(M, W) {
5211
+ 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, _), Ft(
5212
+ _,
5213
5213
  /*bonusCode*/
5214
5214
  e[12]
5215
- ), _(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), q || (R = [
5215
+ ), 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 = [
5216
5216
  ee(
5217
- y,
5217
+ _,
5218
5218
  "input",
5219
5219
  /*input_input_handler*/
5220
- e[35]
5220
+ e[36]
5221
5221
  ),
5222
5222
  ee(
5223
- y,
5223
+ _,
5224
5224
  "keyup",
5225
5225
  /*validateBonusCode*/
5226
5226
  e[23]
5227
5227
  ),
5228
5228
  ee(
5229
- b,
5229
+ m,
5230
5230
  "click",
5231
5231
  /*claimBonus*/
5232
5232
  e[25]
5233
5233
  )
5234
- ], q = !0);
5234
+ ], Z = !0);
5235
5235
  },
5236
- p(P, W) {
5236
+ p(M, W) {
5237
5237
  /*isMobile*/
5238
- P[21] && T.p(P, W), W[0] & /*$_*/
5238
+ M[21] && A.p(M, W), W[0] & /*$_*/
5239
5239
  1048576 && i !== (i = /*$_*/
5240
- P[20]("titleBonuses") + "") && oe(s, i), W[0] & /*$_*/
5240
+ M[20]("titleBonuses") + "") && oe(s, i), W[0] & /*$_*/
5241
5241
  1048576 && c !== (c = /*$_*/
5242
- P[20]("bonusCode") + "") && oe(f, c), W[0] & /*bonusCode*/
5243
- 4096 && y.value !== /*bonusCode*/
5244
- P[12] && Rt(
5245
- y,
5242
+ M[20]("bonusCode") + "") && oe(f, c), W[0] & /*bonusCode*/
5243
+ 4096 && _.value !== /*bonusCode*/
5244
+ M[12] && Ft(
5245
+ _,
5246
5246
  /*bonusCode*/
5247
- P[12]
5247
+ M[12]
5248
5248
  ), W[0] & /*$_*/
5249
- 1048576 && E !== (E = /*$_*/
5250
- P[20]("getBonus") + "") && oe(m, E), W[0] & /*invalidBonusField, isLoading*/
5251
- 1536 && B !== (B = /*invalidBonusField*/
5252
- P[10] || /*isLoading*/
5253
- P[9]) && (b.disabled = B), /*invalidBonusCode*/
5254
- P[11] ? w ? w.p(P, W) : (w = ln(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*/
5255
- P[19] ? L ? L.p(P, W) : (L = dn(P), L.c(), L.m(t, null)) : L && (L.d(1), L = null);
5249
+ 1048576 && B !== (B = /*$_*/
5250
+ M[20]("getBonus") + "") && oe(b, B), W[0] & /*invalidBonusField, isLoading*/
5251
+ 1536 && v !== (v = /*invalidBonusField*/
5252
+ M[10] || /*isLoading*/
5253
+ M[9]) && (m.disabled = v), /*invalidBonusCode*/
5254
+ M[11] ? w ? w.p(M, W) : (w = cn(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*/
5255
+ M[19] ? U ? U.p(M, W) : (U = pn(M), U.c(), U.m(t, null)) : U && (U.d(1), U = null);
5256
5256
  },
5257
- i: J,
5258
- o: J,
5259
- d(P) {
5260
- P && U(t), T && T.d(), w && w.d(), $.d(), L && L.d(), e[41](null), q = !1, ae(R);
5257
+ i: K,
5258
+ o: K,
5259
+ d(M) {
5260
+ M && D(t), A && A.d(), w && w.d(), F.d(), U && U.d(), e[42](null), Z = !1, ae(q);
5261
5261
  }
5262
5262
  };
5263
5263
  }
5264
- let os = "status=active", re = 6;
5265
- function is(e, t, n) {
5264
+ let is = "status=active", re = 6;
5265
+ function ss(e, t, n) {
5266
5266
  let r;
5267
- vr(e, Gi, (v) => n(20, r = v));
5268
- 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 = ki(k) !== "PC", j = !0, q = !1, R = "", T = 0, w = 0, I = 0, M = 0, $ = 0, L = [], P, W = "", Ze = !1;
5267
+ yr(e, ki, (g) => n(20, r = g));
5268
+ 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 = ji(R) !== "PC", Z = !0, q = !1, A = "", w = 0, N = 0, H = 0, F = 0, U = 0, M = [], W, St = "", qe = !1;
5269
5269
  const Qn = () => {
5270
- fetch(d).then((D) => D.json()).then((D) => {
5271
- Object.keys(D).forEach((Q) => {
5272
- on(Q, D[Q]);
5270
+ fetch(d).then((L) => L.json()).then((L) => {
5271
+ Object.keys(L).forEach((J) => {
5272
+ sn(J, L[J]);
5273
5273
  });
5274
- }).catch((D) => {
5275
- console.log(D);
5274
+ }).catch((L) => {
5275
+ console.log(L);
5276
5276
  });
5277
5277
  };
5278
- Object.keys(sn).forEach((v) => {
5279
- on(v, sn[v]);
5278
+ Object.keys(an).forEach((g) => {
5279
+ sn(g, an[g]);
5280
5280
  });
5281
- const St = (v) => {
5282
- if (v.data)
5283
- switch (v.data.type) {
5281
+ const At = (g) => {
5282
+ if (g.data)
5283
+ switch (g.data.type) {
5284
5284
  case "DeleteActiveBonus":
5285
- W = v.data.bonuswalletid, n(19, Ze = !0);
5285
+ St = g.data.bonuswalletid, n(19, qe = !0);
5286
5286
  break;
5287
5287
  }
5288
5288
  };
5289
- function Yn(v, D) {
5290
- return (...Q) => {
5291
- clearTimeout(P), P = setTimeout(
5289
+ function Yn(g, L) {
5290
+ return (...J) => {
5291
+ clearTimeout(W), W = setTimeout(
5292
5292
  () => {
5293
- v.apply(this, Q);
5293
+ g.apply(this, J);
5294
5294
  },
5295
- D
5295
+ L
5296
5296
  );
5297
5297
  };
5298
5298
  }
5299
- const At = () => {
5299
+ const Tt = () => {
5300
5300
  window.postMessage(
5301
5301
  {
5302
5302
  type: "PlayerAccountMenuActive",
5303
- isMobile: N
5303
+ isMobile: X
5304
5304
  },
5305
5305
  window.location.href
5306
5306
  );
5307
- }, Jn = () => R ? g ? new RegExp(g).test(R) : !0 : !1, Kn = () => {
5308
- n(10, j = !Jn()), g && n(11, q = j);
5309
- }, ne = (v) => {
5310
- n(9, E = !0);
5311
- let D = {
5307
+ }, Kn = () => A ? y ? new RegExp(y).test(A) : !0 : !1, er = () => {
5308
+ n(10, Z = !Kn()), y && n(11, q = Z);
5309
+ }, ne = (g) => {
5310
+ n(9, b = !0);
5311
+ let L = {
5312
5312
  method: "GET",
5313
5313
  headers: { "X-SessionId": i }
5314
- }, Q = new URL(`${o}/v1/player/${s}/bonusWallet`);
5315
- Q.searchParams.append("filter", os), Q.searchParams.append("pagination", `offset=${v},limit=${re}`), fetch(Q, D).then((K) => K.json()).then(
5316
- (K) => {
5317
- Array.isArray(K.items) && K.items.forEach((V) => {
5318
- var Pt, Mt;
5319
- const Me = (Mt = (Pt = V == null ? void 0 : V.extension) == null ? void 0 : Pt.bonus) == null ? void 0 : Mt.presentation;
5320
- Me && (V.termsandconditionsurl = Me.url, V.termsandconditionsdescription = Me.description, V.termsandconditionsasset = Me.assets);
5321
- }), n(16, M = Math.ceil(K.total / re)), v - re >= 0 && n(13, T = v - re), v + re < K.total && n(14, w = v + re), n(15, I = (M - 1) * re), n(17, $ = v / re), n(18, L = (K == null ? void 0 : K.items) || []), p && L.forEach((V) => {
5322
- V.fulfilledWR = Pe(V.fulfilledWR), V.originalWageringRequirement = Pe(V.originalWageringRequirement), V.currentAmount = Pe(V.currentAmount), V.extension.grantedPlayerCurrencyAmount = Pe(V.extension.grantedPlayerCurrencyAmount);
5314
+ }, J = new URL(`${o}${B === "gm2" ? "/v1/bonus/granted" : `/v1/player/${s}/bonusWallet`}`);
5315
+ J.searchParams.append("filter", is), J.searchParams.append("pagination", `offset=${g},limit=${re}`), fetch(J, L).then((Q) => Q.json()).then(
5316
+ (Q) => {
5317
+ Array.isArray(Q.items) && (B === "gm2" ? Q.items.forEach((T) => {
5318
+ T.walletId = T.bonusWalletID, T.granted = T.grantedDate, T.expiryTime = T.expiryDate, T.currentAmount = T.remainingAmount, T.originalWageringRequirement = T.initialWagerRequirementAmount, T.fulfilledWR = T.initialWagerRequirementAmount - T.remainingWagerRequirementAmount, T.extension = { grantedPlayerCurrencyAmount: T.amount };
5319
+ }) : Q.items.forEach((T) => {
5320
+ var Mt, Ht;
5321
+ const Me = (Ht = (Mt = T == null ? void 0 : T.extension) == null ? void 0 : Mt.bonus) == null ? void 0 : Ht.presentation;
5322
+ Me && (T.termsandconditionsurl = Me.url, T.termsandconditionsdescription = Me.description, T.termsandconditionsasset = Me.assets);
5323
+ })), n(16, F = Math.ceil(Q.total / re)), g - re >= 0 && n(13, w = g - re), g + re < Q.total && n(14, N = g + re), n(15, H = (F - 1) * re), n(17, U = g / re), n(18, M = (Q == null ? void 0 : Q.items) || []), p && M.forEach((T) => {
5324
+ T.fulfilledWR = Pe(T.fulfilledWR), T.originalWageringRequirement = Pe(T.originalWageringRequirement), T.currentAmount = Pe(T.currentAmount), T.extension.grantedPlayerCurrencyAmount = Pe(T.extension.grantedPlayerCurrencyAmount);
5323
5325
  }), window.scrollTo({ top: 0, behavior: "smooth" });
5324
5326
  },
5325
- (K) => {
5326
- console.error(K);
5327
+ (Q) => {
5328
+ console.error(Q);
5327
5329
  }
5328
5330
  ).finally(() => {
5329
- n(9, E = !1);
5331
+ n(9, b = !1);
5330
5332
  });
5331
- }, Pe = (v) => new Intl.NumberFormat(p, { style: "currency", currency: u }).format(v).replace(/\s/g, ""), er = () => {
5332
- n(9, E = !0);
5333
- let v = new URL(`${o}/v1/player/${s}/claimbonus`), D = {
5333
+ }, Pe = (g) => new Intl.NumberFormat(p, { style: "currency", currency: u }).format(g).replace(/\s/g, ""), tr = () => {
5334
+ n(9, b = !0);
5335
+ let g = new URL(`${o}${B === "gm2" ? "/v1/bonus/claim" : `/v1/player/${s}/claimbonus`}`), L;
5336
+ B === "gm2" ? L = {
5337
+ method: "PUT",
5338
+ headers: {
5339
+ "X-SessionId": i,
5340
+ accept: "application/json",
5341
+ "Content-Type": "application/json"
5342
+ },
5343
+ body: JSON.stringify({ bonusCode: A, currency: u })
5344
+ } : (L = {
5334
5345
  method: "POST",
5335
5346
  headers: {
5336
5347
  "X-SessionId": i,
5337
5348
  accept: "application/json"
5338
5349
  }
5339
- };
5340
- v.searchParams.append("currency", u), v.searchParams.append("bonusCode", R), fetch(v.href, D).then((Q) => {
5341
- Q.status == 200 ? (n(11, q = !1), ne(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
5350
+ }, g.searchParams.append("currency", u), g.searchParams.append("bonusCode", A)), fetch(g.href, L).then((J) => {
5351
+ J.status == 200 ? (n(11, q = !1), ne(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
5342
5352
  {
5343
5353
  type: "WidgetNotification",
5344
5354
  data: {
@@ -5350,7 +5360,7 @@ function is(e, t, n) {
5350
5360
  ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
5351
5361
  context: "PlayerActiveBonuses",
5352
5362
  userId: `${s || "Not logged in"}`,
5353
- bonusCode: `${R}`
5363
+ bonusCode: `${A}`
5354
5364
  })) : (n(11, q = !0), window.postMessage(
5355
5365
  {
5356
5366
  type: "WidgetNotification",
@@ -5362,51 +5372,51 @@ function is(e, t, n) {
5362
5372
  window.location.href
5363
5373
  ));
5364
5374
  }).finally(() => {
5365
- n(9, E = !1);
5375
+ n(9, b = !1);
5366
5376
  });
5367
- }, Tt = () => {
5368
- window.postMessage({ type: "EnableScroll" }, window.location.href), n(19, Ze = !1);
5369
- }, tr = () => {
5370
- let v = {
5377
+ }, Pt = () => {
5378
+ window.postMessage({ type: "EnableScroll" }, window.location.href), n(19, qe = !1);
5379
+ }, nr = () => {
5380
+ let g = {
5371
5381
  method: "DELETE",
5372
5382
  headers: {
5373
5383
  "X-SessionId": i,
5374
5384
  "Content-Type": "application/json",
5375
5385
  Accept: "application/json"
5376
5386
  }
5377
- }, D = new URL(`${o}/v1/player/${s}/bonusWallet`);
5378
- D.searchParams.append("bonusWalletID", W), fetch(D, v).then((Q) => {
5379
- Q.status == 200 && (ne(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), Tt());
5387
+ }, L = new URL(`${o}${B === "gm2" ? "/v1/bonus/forfeit" : `/v1/player/${s}/bonusWallet`}`);
5388
+ L.searchParams.append("bonusWalletID", St), fetch(L, g).then((J) => {
5389
+ J.status == 200 && (ne(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), Pt());
5380
5390
  });
5381
- }, nr = () => {
5382
- ji(a);
5391
+ }, rr = () => {
5392
+ Wi(a);
5383
5393
  };
5384
- function rr(v) {
5385
- return Yn(v, 1e3);
5394
+ function or(g) {
5395
+ return Yn(g, 1e3);
5386
5396
  }
5387
- Cr(() => (window.addEventListener("message", St, !1), () => {
5388
- window.removeEventListener("message", St);
5397
+ Sr(() => (window.addEventListener("message", At, !1), () => {
5398
+ window.removeEventListener("message", At);
5389
5399
  }));
5390
- const or = () => At();
5391
- function ir() {
5392
- R = this.value, n(12, R);
5400
+ const ir = () => Tt();
5401
+ function sr() {
5402
+ A = this.value, n(12, A);
5393
5403
  }
5394
- const sr = () => ne(0), ar = () => ne(T), ur = (v) => ne(v * re), lr = () => ne(w), cr = () => ne(I);
5395
- function hr(v) {
5396
- ot[v ? "unshift" : "push"](() => {
5397
- m = v, n(8, m);
5404
+ const ar = () => ne(0), ur = () => ne(w), lr = (g) => ne(g * re), cr = () => ne(N), hr = () => ne(H);
5405
+ function fr(g) {
5406
+ ot[g ? "unshift" : "push"](() => {
5407
+ v = g, n(8, v);
5398
5408
  });
5399
5409
  }
5400
- return e.$$set = (v) => {
5401
- "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);
5410
+ return e.$$set = (g) => {
5411
+ "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);
5402
5412
  }, e.$$.update = () => {
5403
5413
  e.$$.dirty[0] & /*lang*/
5404
- 1 && a && nr(), e.$$.dirty[0] & /*session, endpoint*/
5414
+ 1 && a && rr(), e.$$.dirty[0] & /*session, endpoint*/
5405
5415
  1610612736 | e.$$.dirty[1] & /*playerid*/
5406
5416
  1 && i && s && o && ne(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5407
- 258 && l && m && Wi(m, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5408
- 260 && c && m && Vi(m, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5409
- 264 && f && m && zi(m, `${f}.Style`, B), e.$$.dirty[0] & /*translationurl*/
5417
+ 258 && l && v && Vi(v, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5418
+ 260 && c && v && zi(v, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5419
+ 264 && f && v && Xi(v, `${f}.Style`, j), e.$$.dirty[0] & /*translationurl*/
5410
5420
  16 && d && Qn();
5411
5421
  }, [
5412
5422
  a,
@@ -5415,52 +5425,53 @@ function is(e, t, n) {
5415
5425
  f,
5416
5426
  d,
5417
5427
  p,
5418
- y,
5419
- b,
5428
+ _,
5420
5429
  m,
5421
- E,
5422
- j,
5430
+ v,
5431
+ b,
5432
+ Z,
5423
5433
  q,
5424
- R,
5425
- T,
5434
+ A,
5426
5435
  w,
5427
- I,
5436
+ N,
5437
+ H,
5438
+ F,
5439
+ U,
5428
5440
  M,
5429
- $,
5430
- L,
5431
- Ze,
5441
+ qe,
5432
5442
  r,
5433
- N,
5434
- At,
5435
- Kn,
5436
- ne,
5437
- er,
5443
+ X,
5438
5444
  Tt,
5445
+ er,
5446
+ ne,
5439
5447
  tr,
5440
- rr,
5448
+ Pt,
5449
+ nr,
5450
+ or,
5441
5451
  o,
5442
5452
  i,
5443
5453
  s,
5444
5454
  u,
5445
- g,
5446
- or,
5455
+ y,
5456
+ B,
5447
5457
  ir,
5448
5458
  sr,
5449
5459
  ar,
5450
5460
  ur,
5451
5461
  lr,
5452
5462
  cr,
5453
- hr
5463
+ hr,
5464
+ fr
5454
5465
  ];
5455
5466
  }
5456
- class qn extends Fr {
5467
+ class Jn extends Ur {
5457
5468
  constructor(t) {
5458
- super(), Lr(
5469
+ super(), Rr(
5459
5470
  this,
5460
5471
  t,
5461
- is,
5462
- rs,
5463
- mn,
5472
+ ss,
5473
+ os,
5474
+ bn,
5464
5475
  {
5465
5476
  endpoint: 29,
5466
5477
  session: 30,
@@ -5474,9 +5485,10 @@ class qn extends Fr {
5474
5485
  currencylocale: 5,
5475
5486
  dateformat: 6,
5476
5487
  bonuscoderegex: 33,
5477
- ishiddenwageringbonus: 7
5488
+ ishiddenwageringbonus: 7,
5489
+ gmversion: 34
5478
5490
  },
5479
- qi,
5491
+ Ji,
5480
5492
  [-1, -1]
5481
5493
  );
5482
5494
  }
@@ -5484,113 +5496,119 @@ class qn extends Fr {
5484
5496
  return this.$$.ctx[29];
5485
5497
  }
5486
5498
  set endpoint(t) {
5487
- this.$$set({ endpoint: t }), z();
5499
+ this.$$set({ endpoint: t }), G();
5488
5500
  }
5489
5501
  get session() {
5490
5502
  return this.$$.ctx[30];
5491
5503
  }
5492
5504
  set session(t) {
5493
- this.$$set({ session: t }), z();
5505
+ this.$$set({ session: t }), G();
5494
5506
  }
5495
5507
  get playerid() {
5496
5508
  return this.$$.ctx[31];
5497
5509
  }
5498
5510
  set playerid(t) {
5499
- this.$$set({ playerid: t }), z();
5511
+ this.$$set({ playerid: t }), G();
5500
5512
  }
5501
5513
  get lang() {
5502
5514
  return this.$$.ctx[0];
5503
5515
  }
5504
5516
  set lang(t) {
5505
- this.$$set({ lang: t }), z();
5517
+ this.$$set({ lang: t }), G();
5506
5518
  }
5507
5519
  get currency() {
5508
5520
  return this.$$.ctx[32];
5509
5521
  }
5510
5522
  set currency(t) {
5511
- this.$$set({ currency: t }), z();
5523
+ this.$$set({ currency: t }), G();
5512
5524
  }
5513
5525
  get clientstyling() {
5514
5526
  return this.$$.ctx[1];
5515
5527
  }
5516
5528
  set clientstyling(t) {
5517
- this.$$set({ clientstyling: t }), z();
5529
+ this.$$set({ clientstyling: t }), G();
5518
5530
  }
5519
5531
  get clientstylingurl() {
5520
5532
  return this.$$.ctx[2];
5521
5533
  }
5522
5534
  set clientstylingurl(t) {
5523
- this.$$set({ clientstylingurl: t }), z();
5535
+ this.$$set({ clientstylingurl: t }), G();
5524
5536
  }
5525
5537
  get mbsource() {
5526
5538
  return this.$$.ctx[3];
5527
5539
  }
5528
5540
  set mbsource(t) {
5529
- this.$$set({ mbsource: t }), z();
5541
+ this.$$set({ mbsource: t }), G();
5530
5542
  }
5531
5543
  get translationurl() {
5532
5544
  return this.$$.ctx[4];
5533
5545
  }
5534
5546
  set translationurl(t) {
5535
- this.$$set({ translationurl: t }), z();
5547
+ this.$$set({ translationurl: t }), G();
5536
5548
  }
5537
5549
  get currencylocale() {
5538
5550
  return this.$$.ctx[5];
5539
5551
  }
5540
5552
  set currencylocale(t) {
5541
- this.$$set({ currencylocale: t }), z();
5553
+ this.$$set({ currencylocale: t }), G();
5542
5554
  }
5543
5555
  get dateformat() {
5544
5556
  return this.$$.ctx[6];
5545
5557
  }
5546
5558
  set dateformat(t) {
5547
- this.$$set({ dateformat: t }), z();
5559
+ this.$$set({ dateformat: t }), G();
5548
5560
  }
5549
5561
  get bonuscoderegex() {
5550
5562
  return this.$$.ctx[33];
5551
5563
  }
5552
5564
  set bonuscoderegex(t) {
5553
- this.$$set({ bonuscoderegex: t }), z();
5565
+ this.$$set({ bonuscoderegex: t }), G();
5554
5566
  }
5555
5567
  get ishiddenwageringbonus() {
5556
5568
  return this.$$.ctx[7];
5557
5569
  }
5558
5570
  set ishiddenwageringbonus(t) {
5559
- this.$$set({ ishiddenwageringbonus: t }), z();
5571
+ this.$$set({ ishiddenwageringbonus: t }), G();
5572
+ }
5573
+ get gmversion() {
5574
+ return this.$$.ctx[34];
5575
+ }
5576
+ set gmversion(t) {
5577
+ this.$$set({ gmversion: t }), G();
5560
5578
  }
5561
5579
  }
5562
- Rr(qn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {} }, [], [], !0);
5563
- const us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5580
+ Fr(Jn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {} }, [], [], !0);
5581
+ const ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5564
5582
  __proto__: null,
5565
- default: qn
5583
+ default: Jn
5566
5584
  }, Symbol.toStringTag, { value: "Module" }));
5567
5585
  export {
5568
5586
  _e as $,
5569
- us as P,
5570
- Fr as S,
5571
- Wn as a,
5572
- yr as b,
5587
+ ls as P,
5588
+ Ur as S,
5589
+ Vn as a,
5590
+ _r as b,
5573
5591
  oe as c,
5574
- U as d,
5592
+ D as d,
5575
5593
  x as e,
5576
- z as f,
5577
- G as g,
5578
- _ as h,
5579
- Lr as i,
5580
- A as j,
5581
- Z as k,
5582
- vr as l,
5583
- ki as m,
5584
- J as n,
5585
- Cr as o,
5586
- as as p,
5594
+ G as f,
5595
+ k as g,
5596
+ E as h,
5597
+ Rr as i,
5598
+ P as j,
5599
+ z as k,
5600
+ yr as l,
5601
+ ji as m,
5602
+ K as n,
5603
+ Sr as o,
5604
+ us as p,
5587
5605
  ee as q,
5588
5606
  ot as r,
5589
- mn as s,
5590
- F as t,
5591
- Wi as u,
5592
- Vi as v,
5593
- zi as w,
5594
- Rr as x,
5595
- Gi as y
5607
+ bn as s,
5608
+ $ as t,
5609
+ Vi as u,
5610
+ zi as v,
5611
+ Xi as w,
5612
+ Fr as x,
5613
+ ki as y
5596
5614
  };