@everymatrix/player-active-bonuses 1.86.2 → 1.86.4

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,28 +1,28 @@
1
1
  function q() {
2
2
  }
3
- function rn(e) {
3
+ function tn(e) {
4
4
  return e();
5
5
  }
6
- function Ct() {
6
+ function wt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ie(e) {
10
- e.forEach(rn);
9
+ function oe(e) {
10
+ e.forEach(tn);
11
11
  }
12
- function vt(e) {
12
+ function pt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function on(e, t) {
15
+ function nn(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Pe;
19
- function ki(e, t) {
20
- return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
18
+ let Me;
19
+ function Do(e, t) {
20
+ return e === t ? !0 : (Me || (Me = document.createElement("a")), Me.href = t, e === Me.href);
21
21
  }
22
- function er(e) {
22
+ function Kn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function sn(e, ...t) {
25
+ function rn(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const r of t)
28
28
  r(void 0);
@@ -31,20 +31,20 @@ function sn(e, ...t) {
31
31
  const n = e.subscribe(...t);
32
32
  return n.unsubscribe ? () => n.unsubscribe() : n;
33
33
  }
34
- function tr(e, t, n) {
35
- e.$$.on_destroy.push(sn(t, n));
34
+ function er(e, t, n) {
35
+ e.$$.on_destroy.push(rn(t, n));
36
36
  }
37
37
  function E(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function nr(e, t, n) {
41
- const r = rr(e);
40
+ function tr(e, t, n) {
41
+ const r = nr(e);
42
42
  if (!r.getElementById(t)) {
43
- const o = A("style");
44
- o.id = t, o.textContent = n, or(r, o);
43
+ const i = T("style");
44
+ i.id = t, i.textContent = n, rr(r, i);
45
45
  }
46
46
  }
47
- function rr(e) {
47
+ function nr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function rr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function or(e, t) {
57
+ function rr(e, t) {
58
58
  return E(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -64,27 +64,27 @@ function or(e, t) {
64
64
  function D(e, t, n) {
65
65
  e.insertBefore(t, n || null);
66
66
  }
67
- function F(e) {
67
+ function $(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function an(e, t) {
70
+ function on(e, t) {
71
71
  for (let n = 0; n < e.length; n += 1)
72
72
  e[n] && e[n].d(t);
73
73
  }
74
- function A(e) {
74
+ function T(e) {
75
75
  return document.createElement(e);
76
76
  }
77
77
  function ae(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function $(e) {
80
+ function F(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
83
  function k() {
84
- return $(" ");
84
+ return F(" ");
85
85
  }
86
- function yt() {
87
- return $("");
86
+ function mt() {
87
+ return F("");
88
88
  }
89
89
  function Q(e, t, n, r) {
90
90
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
@@ -99,14 +99,14 @@ function h(e, t, n) {
99
99
  function ir(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function te(e, t) {
102
+ function ee(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function St(e, t) {
106
+ function xt(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function sr(e) {
109
+ function or(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -115,98 +115,98 @@ function sr(e) {
115
115
  }
116
116
  ), t;
117
117
  }
118
- let Ee;
119
- function Be(e) {
120
- Ee = e;
118
+ let we;
119
+ function Ee(e) {
120
+ we = e;
121
121
  }
122
- function ar() {
123
- if (!Ee)
122
+ function sr() {
123
+ if (!we)
124
124
  throw new Error("Function called outside component initialization");
125
- return Ee;
125
+ return we;
126
126
  }
127
- function ur(e) {
128
- ar().$$.on_mount.push(e);
127
+ function ar(e) {
128
+ sr().$$.on_mount.push(e);
129
129
  }
130
- const ce = [], et = [];
130
+ const ce = [], Ye = [];
131
131
  let he = [];
132
- const At = [], lr = /* @__PURE__ */ Promise.resolve();
133
- let tt = !1;
134
- function cr() {
135
- tt || (tt = !0, lr.then(V));
132
+ const Ct = [], ur = /* @__PURE__ */ Promise.resolve();
133
+ let Ke = !1;
134
+ function lr() {
135
+ Ke || (Ke = !0, ur.then(V));
136
136
  }
137
- function nt(e) {
137
+ function et(e) {
138
138
  he.push(e);
139
139
  }
140
- const ze = /* @__PURE__ */ new Set();
140
+ const We = /* @__PURE__ */ new Set();
141
141
  let ue = 0;
142
142
  function V() {
143
143
  if (ue !== 0)
144
144
  return;
145
- const e = Ee;
145
+ const e = we;
146
146
  do {
147
147
  try {
148
148
  for (; ue < ce.length; ) {
149
149
  const t = ce[ue];
150
- ue++, Be(t), hr(t.$$);
150
+ ue++, Ee(t), cr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
153
  throw ce.length = 0, ue = 0, t;
154
154
  }
155
- for (Be(null), ce.length = 0, ue = 0; et.length; )
156
- et.pop()();
155
+ for (Ee(null), ce.length = 0, ue = 0; Ye.length; )
156
+ Ye.pop()();
157
157
  for (let t = 0; t < he.length; t += 1) {
158
158
  const n = he[t];
159
- ze.has(n) || (ze.add(n), n());
159
+ We.has(n) || (We.add(n), n());
160
160
  }
161
161
  he.length = 0;
162
162
  } while (ce.length);
163
- for (; At.length; )
164
- At.pop()();
165
- tt = !1, ze.clear(), Be(e);
163
+ for (; Ct.length; )
164
+ Ct.pop()();
165
+ Ke = !1, We.clear(), Ee(e);
166
166
  }
167
- function hr(e) {
167
+ function cr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), ie(e.before_update);
169
+ e.update(), oe(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
172
172
  }
173
173
  }
174
- function fr(e) {
174
+ function hr(e) {
175
175
  const t = [], n = [];
176
176
  he.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), he = t;
177
177
  }
178
- const dr = /* @__PURE__ */ new Set();
179
- function pr(e, t) {
180
- e && e.i && (dr.delete(e), e.i(t));
178
+ const fr = /* @__PURE__ */ new Set();
179
+ function dr(e, t) {
180
+ e && e.i && (fr.delete(e), e.i(t));
181
181
  }
182
182
  function Re(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function mr(e, t, n) {
186
- const { fragment: r, after_update: o } = e.$$;
187
- r && r.m(t, n), nt(() => {
188
- const i = e.$$.on_mount.map(rn).filter(vt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...i) : ie(i), e.$$.on_mount = [];
190
- }), o.forEach(nt);
185
+ function pr(e, t, n) {
186
+ const { fragment: r, after_update: i } = e.$$;
187
+ r && r.m(t, n), et(() => {
188
+ const o = e.$$.on_mount.map(tn).filter(pt);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
190
+ }), i.forEach(et);
191
191
  }
192
- function br(e, t) {
192
+ function mr(e, t) {
193
193
  const n = e.$$;
194
- n.fragment !== null && (fr(n.after_update), ie(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
194
+ n.fragment !== null && (hr(n.after_update), oe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
195
195
  }
196
- function gr(e, t) {
197
- e.$$.dirty[0] === -1 && (ce.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function br(e, t) {
197
+ e.$$.dirty[0] === -1 && (ce.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function vr(e, t, n, r, o, i, s = null, a = [-1]) {
200
- const u = Ee;
201
- Be(e);
199
+ function gr(e, t, n, r, i, o, s = null, a = [-1]) {
200
+ const u = we;
201
+ Ee(e);
202
202
  const l = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
205
205
  // state
206
- props: i,
206
+ props: o,
207
207
  update: q,
208
- not_equal: o,
209
- bound: Ct(),
208
+ not_equal: i,
209
+ bound: wt(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
@@ -215,7 +215,7 @@ function vr(e, t, n, r, o, i, s = null, a = [-1]) {
215
215
  after_update: [],
216
216
  context: new Map(t.context || (u ? u.$$.context : [])),
217
217
  // everything else
218
- callbacks: Ct(),
218
+ callbacks: wt(),
219
219
  dirty: a,
220
220
  skip_bound: !1,
221
221
  root: t.target || u.$$.root
@@ -224,19 +224,19 @@ function vr(e, t, n, r, o, i, s = null, a = [-1]) {
224
224
  let c = !1;
225
225
  if (l.ctx = n ? n(e, t.props || {}, (f, d, ...p) => {
226
226
  const g = p.length ? p[0] : d;
227
- return l.ctx && o(l.ctx[f], l.ctx[f] = g) && (!l.skip_bound && l.bound[f] && l.bound[f](g), c && gr(e, f)), d;
228
- }) : [], l.update(), c = !0, ie(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
227
+ return l.ctx && i(l.ctx[f], l.ctx[f] = g) && (!l.skip_bound && l.bound[f] && l.bound[f](g), c && br(e, f)), d;
228
+ }) : [], l.update(), c = !0, oe(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
230
  const f = ir(t.target);
231
- l.fragment && l.fragment.l(f), f.forEach(F);
231
+ l.fragment && l.fragment.l(f), f.forEach($);
232
232
  } else
233
233
  l.fragment && l.fragment.c();
234
- t.intro && pr(e.$$.fragment), mr(e, t.target, t.anchor), V();
234
+ t.intro && dr(e.$$.fragment), pr(e, t.target, t.anchor), V();
235
235
  }
236
- Be(u);
236
+ Ee(u);
237
237
  }
238
- let un;
239
- typeof HTMLElement == "function" && (un = class extends HTMLElement {
238
+ let sn;
239
+ typeof HTMLElement == "function" && (sn = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -273,37 +273,37 @@ typeof HTMLElement == "function" && (un = class extends HTMLElement {
273
273
  }
274
274
  async connectedCallback() {
275
275
  if (this.$$cn = !0, !this.$$c) {
276
- let e = function(o) {
276
+ let e = function(i) {
277
277
  return () => {
278
- let i;
278
+ let o;
279
279
  return {
280
280
  c: function() {
281
- i = A("slot"), o !== "default" && w(i, "name", o);
281
+ o = T("slot"), i !== "default" && w(o, "name", i);
282
282
  },
283
283
  /**
284
284
  * @param {HTMLElement} target
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
287
  m: function(u, l) {
288
- D(u, i, l);
288
+ D(u, o, l);
289
289
  },
290
290
  d: function(u) {
291
- u && F(i);
291
+ u && $(o);
292
292
  }
293
293
  };
294
294
  };
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, n = sr(this);
299
- for (const o of this.$$s)
300
- o in n && (t[o] = [e(o)]);
301
- for (const o of this.attributes) {
302
- const i = this.$$g_p(o.name);
303
- i in this.$$d || (this.$$d[i] = Oe(i, o.value, this.$$p_d, "toProp"));
298
+ const t = {}, n = or(this);
299
+ for (const i of this.$$s)
300
+ i in n && (t[i] = [e(i)]);
301
+ for (const i of this.attributes) {
302
+ const o = this.$$g_p(i.name);
303
+ o in this.$$d || (this.$$d[o] = Ie(o, i.value, this.$$p_d, "toProp"));
304
304
  }
305
- for (const o in this.$$p_d)
306
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
305
+ for (const i in this.$$p_d)
306
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
307
307
  this.$$c = new this.$$ctor({
308
308
  target: this.shadowRoot || this,
309
309
  props: {
@@ -316,23 +316,23 @@ typeof HTMLElement == "function" && (un = class extends HTMLElement {
316
316
  });
317
317
  const r = () => {
318
318
  this.$$r = !0;
319
- for (const o in this.$$p_d)
320
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
321
- const i = Oe(
322
- o,
323
- this.$$d[o],
319
+ for (const i in this.$$p_d)
320
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
321
+ const o = Ie(
322
+ i,
323
+ this.$$d[i],
324
324
  this.$$p_d,
325
325
  "toAttribute"
326
326
  );
327
- i == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, i);
327
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
328
328
  }
329
329
  this.$$r = !1;
330
330
  };
331
331
  this.$$c.$$.after_update.push(r), r();
332
- for (const o in this.$$l)
333
- for (const i of this.$$l[o]) {
334
- const s = this.$$c.$on(o, i);
335
- this.$$l_u.set(i, s);
332
+ for (const i in this.$$l)
333
+ for (const o of this.$$l[i]) {
334
+ const s = this.$$c.$on(i, o);
335
+ this.$$l_u.set(o, s);
336
336
  }
337
337
  this.$$l = {};
338
338
  }
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (un = class extends HTMLElement {
340
340
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
341
341
  // and setting attributes through setAttribute etc, this is helpful
342
342
  attributeChangedCallback(e, t, n) {
343
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
343
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ie(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
344
344
  }
345
345
  disconnectedCallback() {
346
346
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -353,12 +353,12 @@ typeof HTMLElement == "function" && (un = class extends HTMLElement {
353
353
  ) || e;
354
354
  }
355
355
  });
356
- function Oe(e, t, n, r) {
357
- const o = n[e]?.type;
358
- if (t = o === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
356
+ function Ie(e, t, n, r) {
357
+ const i = n[e]?.type;
358
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
359
359
  return t;
360
360
  if (r === "toAttribute")
361
- switch (o) {
361
+ switch (i) {
362
362
  case "Object":
363
363
  case "Array":
364
364
  return t == null ? null : JSON.stringify(t);
@@ -370,7 +370,7 @@ function Oe(e, t, n, r) {
370
370
  return t;
371
371
  }
372
372
  else
373
- switch (o) {
373
+ switch (i) {
374
374
  case "Object":
375
375
  case "Array":
376
376
  return t && JSON.parse(t);
@@ -382,10 +382,10 @@ function Oe(e, t, n, r) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function yr(e, t, n, r, o, i) {
386
- let s = class extends un {
385
+ function vr(e, t, n, r, i, o) {
386
+ let s = class extends sn {
387
387
  constructor() {
388
- super(e, n, o), this.$$p_d = t;
388
+ super(e, n, i), this.$$p_d = t;
389
389
  }
390
390
  static get observedAttributes() {
391
391
  return Object.keys(t).map(
@@ -399,7 +399,7 @@ function yr(e, t, n, r, o, i) {
399
399
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
400
400
  },
401
401
  set(u) {
402
- u = Oe(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
402
+ u = Ie(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
403
403
  }
404
404
  });
405
405
  }), r.forEach((a) => {
@@ -411,7 +411,7 @@ function yr(e, t, n, r, o, i) {
411
411
  }), e.element = /** @type {any} */
412
412
  s, s;
413
413
  }
414
- class _r {
414
+ class yr {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class _r {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- br(this, 1), this.$destroy = q;
433
+ mr(this, 1), this.$destroy = q;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -439,12 +439,12 @@ class _r {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, n) {
442
- if (!vt(n))
442
+ if (!pt(n))
443
443
  return q;
444
444
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return r.push(n), () => {
446
- const o = r.indexOf(n);
447
- o !== -1 && r.splice(o, 1);
446
+ const i = r.indexOf(n);
447
+ i !== -1 && r.splice(i, 1);
448
448
  };
449
449
  }
450
450
  /**
@@ -452,11 +452,11 @@ class _r {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Kn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const Br = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
458
+ const _r = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_r);
460
460
  /*! *****************************************************************************
461
461
  Copyright (c) Microsoft Corporation.
462
462
 
@@ -471,24 +471,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
471
471
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
472
472
  PERFORMANCE OF THIS SOFTWARE.
473
473
  ***************************************************************************** */
474
- var rt = function(e, t) {
475
- return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
474
+ var tt = function(e, t) {
475
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
476
476
  n.__proto__ = r;
477
477
  } || function(n, r) {
478
- for (var o in r)
479
- Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
480
- }, rt(e, t);
478
+ for (var i in r)
479
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
480
+ }, tt(e, t);
481
481
  };
482
- function Ce(e, t) {
482
+ function ne(e, t) {
483
483
  if (typeof t != "function" && t !== null)
484
484
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
485
- rt(e, t);
485
+ tt(e, t);
486
486
  function n() {
487
487
  this.constructor = e;
488
488
  }
489
489
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
490
490
  }
491
- function ot(e) {
491
+ var A = function() {
492
+ return A = Object.assign || function(t) {
493
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
494
+ n = arguments[r];
495
+ for (var o in n)
496
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
497
+ }
498
+ return t;
499
+ }, A.apply(this, arguments);
500
+ };
501
+ function Br(e, t) {
502
+ var n = {};
503
+ for (var r in e)
504
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
505
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
506
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
507
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
508
+ return n;
509
+ }
510
+ function nt(e) {
492
511
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
493
512
  if (n)
494
513
  return n.call(e);
@@ -500,69 +519,69 @@ function ot(e) {
500
519
  };
501
520
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
502
521
  }
503
- function it(e, t) {
522
+ function rt(e, t) {
504
523
  var n = typeof Symbol == "function" && e[Symbol.iterator];
505
524
  if (!n)
506
525
  return e;
507
- var r = n.call(e), o, i = [], s;
526
+ var r = n.call(e), i, o = [], s;
508
527
  try {
509
- for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; )
510
- i.push(o.value);
528
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
529
+ o.push(i.value);
511
530
  } catch (a) {
512
531
  s = { error: a };
513
532
  } finally {
514
533
  try {
515
- o && !o.done && (n = r.return) && n.call(r);
534
+ i && !i.done && (n = r.return) && n.call(r);
516
535
  } finally {
517
536
  if (s)
518
537
  throw s.error;
519
538
  }
520
539
  }
521
- return i;
540
+ return o;
522
541
  }
523
- function st(e, t, n) {
524
- if (arguments.length === 2)
525
- for (var r = 0, o = t.length, i; r < o; r++)
526
- (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
527
- return e.concat(i || t);
542
+ function fe(e, t, n) {
543
+ if (n || arguments.length === 2)
544
+ for (var r = 0, i = t.length, o; r < i; r++)
545
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
546
+ return e.concat(o || t);
528
547
  }
529
- function ne(e) {
548
+ function te(e) {
530
549
  return typeof e == "function";
531
550
  }
532
- function ln(e) {
551
+ function an(e) {
533
552
  var t = function(r) {
534
553
  Error.call(r), r.stack = new Error().stack;
535
554
  }, n = e(t);
536
555
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
537
556
  }
538
- var Xe = ln(function(e) {
557
+ var Ve = an(function(e) {
539
558
  return function(n) {
540
559
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
541
- ` + n.map(function(r, o) {
542
- return o + 1 + ") " + r.toString();
560
+ ` + n.map(function(r, i) {
561
+ return i + 1 + ") " + r.toString();
543
562
  }).join(`
544
563
  `) : "", this.name = "UnsubscriptionError", this.errors = n;
545
564
  };
546
565
  });
547
- function at(e, t) {
566
+ function it(e, t) {
548
567
  if (e) {
549
568
  var n = e.indexOf(t);
550
569
  0 <= n && e.splice(n, 1);
551
570
  }
552
571
  }
553
- var De = function() {
572
+ var Ue = function() {
554
573
  function e(t) {
555
574
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
556
575
  }
557
576
  return e.prototype.unsubscribe = function() {
558
- var t, n, r, o, i;
577
+ var t, n, r, i, o;
559
578
  if (!this.closed) {
560
579
  this.closed = !0;
561
580
  var s = this._parentage;
562
581
  if (s)
563
582
  if (this._parentage = null, Array.isArray(s))
564
583
  try {
565
- for (var a = ot(s), u = a.next(); !u.done; u = a.next()) {
584
+ for (var a = nt(s), u = a.next(); !u.done; u = a.next()) {
566
585
  var l = u.value;
567
586
  l.remove(this);
568
587
  }
@@ -579,43 +598,43 @@ var De = function() {
579
598
  else
580
599
  s.remove(this);
581
600
  var c = this.initialTeardown;
582
- if (ne(c))
601
+ if (te(c))
583
602
  try {
584
603
  c();
585
604
  } catch (b) {
586
- i = b instanceof Xe ? b.errors : [b];
605
+ o = b instanceof Ve ? b.errors : [b];
587
606
  }
588
607
  var f = this._finalizers;
589
608
  if (f) {
590
609
  this._finalizers = null;
591
610
  try {
592
- for (var d = ot(f), p = d.next(); !p.done; p = d.next()) {
611
+ for (var d = nt(f), p = d.next(); !p.done; p = d.next()) {
593
612
  var g = p.value;
594
613
  try {
595
- Tt(g);
614
+ St(g);
596
615
  } catch (b) {
597
- i = i ?? [], b instanceof Xe ? i = st(st([], it(i)), it(b.errors)) : i.push(b);
616
+ o = o ?? [], b instanceof Ve ? o = fe(fe([], rt(o)), rt(b.errors)) : o.push(b);
598
617
  }
599
618
  }
600
619
  } catch (b) {
601
620
  r = { error: b };
602
621
  } finally {
603
622
  try {
604
- p && !p.done && (o = d.return) && o.call(d);
623
+ p && !p.done && (i = d.return) && i.call(d);
605
624
  } finally {
606
625
  if (r)
607
626
  throw r.error;
608
627
  }
609
628
  }
610
629
  }
611
- if (i)
612
- throw new Xe(i);
630
+ if (o)
631
+ throw new Ve(o);
613
632
  }
614
633
  }, e.prototype.add = function(t) {
615
634
  var n;
616
635
  if (t && t !== this)
617
636
  if (this.closed)
618
- Tt(t);
637
+ St(t);
619
638
  else {
620
639
  if (t instanceof e) {
621
640
  if (t.closed || t._hasParent(this))
@@ -632,52 +651,56 @@ var De = function() {
632
651
  this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
633
652
  }, e.prototype._removeParent = function(t) {
634
653
  var n = this._parentage;
635
- n === t ? this._parentage = null : Array.isArray(n) && at(n, t);
654
+ n === t ? this._parentage = null : Array.isArray(n) && it(n, t);
636
655
  }, e.prototype.remove = function(t) {
637
656
  var n = this._finalizers;
638
- n && at(n, t), t instanceof e && t._removeParent(this);
657
+ n && it(n, t), t instanceof e && t._removeParent(this);
639
658
  }, e.EMPTY = function() {
640
659
  var t = new e();
641
660
  return t.closed = !0, t;
642
661
  }(), e;
643
- }(), cn = De.EMPTY;
644
- function hn(e) {
645
- return e instanceof De || e && "closed" in e && ne(e.remove) && ne(e.add) && ne(e.unsubscribe);
646
- }
647
- function Tt(e) {
648
- ne(e) ? e() : e.unsubscribe();
649
- }
650
- var Er = {
651
- Promise: void 0
652
- }, wr = {
662
+ }(), un = Ue.EMPTY;
663
+ function ln(e) {
664
+ return e instanceof Ue || e && "closed" in e && te(e.remove) && te(e.add) && te(e.unsubscribe);
665
+ }
666
+ function St(e) {
667
+ te(e) ? e() : e.unsubscribe();
668
+ }
669
+ var cn = {
670
+ onUnhandledError: null,
671
+ onStoppedNotification: null,
672
+ Promise: void 0,
673
+ useDeprecatedSynchronousErrorHandling: !1,
674
+ useDeprecatedNextContext: !1
675
+ }, Er = {
653
676
  setTimeout: function(e, t) {
654
677
  for (var n = [], r = 2; r < arguments.length; r++)
655
678
  n[r - 2] = arguments[r];
656
- return setTimeout.apply(void 0, st([e, t], it(n)));
679
+ return setTimeout.apply(void 0, fe([e, t], rt(n)));
657
680
  },
658
681
  clearTimeout: function(e) {
659
682
  return clearTimeout(e);
660
683
  },
661
684
  delegate: void 0
662
685
  };
663
- function xr(e) {
664
- wr.setTimeout(function() {
686
+ function wr(e) {
687
+ Er.setTimeout(function() {
665
688
  throw e;
666
689
  });
667
690
  }
668
- function Pt() {
691
+ function At() {
669
692
  }
670
- function Ie(e) {
693
+ function Oe(e) {
671
694
  e();
672
695
  }
673
- var fn = function(e) {
674
- Ce(t, e);
696
+ var hn = function(e) {
697
+ ne(t, e);
675
698
  function t(n) {
676
699
  var r = e.call(this) || this;
677
- return r.isStopped = !1, n ? (r.destination = n, hn(n) && n.add(r)) : r.destination = Ar, r;
700
+ return r.isStopped = !1, n ? (r.destination = n, ln(n) && n.add(r)) : r.destination = Ar, r;
678
701
  }
679
- return t.create = function(n, r, o) {
680
- return new ut(n, r, o);
702
+ return t.create = function(n, r, i) {
703
+ return new ot(n, r, i);
681
704
  }, t.prototype.next = function(n) {
682
705
  this.isStopped || this._next(n);
683
706
  }, t.prototype.error = function(n) {
@@ -701,7 +724,11 @@ var fn = function(e) {
701
724
  this.unsubscribe();
702
725
  }
703
726
  }, t;
704
- }(De), Cr = function() {
727
+ }(Ue), xr = Function.prototype.bind;
728
+ function ze(e, t) {
729
+ return xr.call(e, t);
730
+ }
731
+ var Cr = function() {
705
732
  function e(t) {
706
733
  this.partialObserver = t;
707
734
  }
@@ -711,7 +738,7 @@ var fn = function(e) {
711
738
  try {
712
739
  n.next(t);
713
740
  } catch (r) {
714
- Me(r);
741
+ Pe(r);
715
742
  }
716
743
  }, e.prototype.error = function(t) {
717
744
  var n = this.partialObserver;
@@ -719,56 +746,68 @@ var fn = function(e) {
719
746
  try {
720
747
  n.error(t);
721
748
  } catch (r) {
722
- Me(r);
749
+ Pe(r);
723
750
  }
724
751
  else
725
- Me(t);
752
+ Pe(t);
726
753
  }, e.prototype.complete = function() {
727
754
  var t = this.partialObserver;
728
755
  if (t.complete)
729
756
  try {
730
757
  t.complete();
731
758
  } catch (n) {
732
- Me(n);
759
+ Pe(n);
733
760
  }
734
761
  }, e;
735
- }(), ut = function(e) {
736
- Ce(t, e);
737
- function t(n, r, o) {
738
- var i = e.call(this) || this, s;
739
- return ne(n) || !n ? s = {
740
- next: n ?? void 0,
741
- error: r ?? void 0,
742
- complete: o ?? void 0
743
- } : s = n, i.destination = new Cr(s), i;
762
+ }(), ot = function(e) {
763
+ ne(t, e);
764
+ function t(n, r, i) {
765
+ var o = e.call(this) || this, s;
766
+ if (te(n) || !n)
767
+ s = {
768
+ next: n ?? void 0,
769
+ error: r ?? void 0,
770
+ complete: i ?? void 0
771
+ };
772
+ else {
773
+ var a;
774
+ o && cn.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
775
+ return o.unsubscribe();
776
+ }, s = {
777
+ next: n.next && ze(n.next, a),
778
+ error: n.error && ze(n.error, a),
779
+ complete: n.complete && ze(n.complete, a)
780
+ }) : s = n;
781
+ }
782
+ return o.destination = new Cr(s), o;
744
783
  }
745
784
  return t;
746
- }(fn);
747
- function Me(e) {
748
- xr(e);
785
+ }(hn);
786
+ function Pe(e) {
787
+ wr(e);
749
788
  }
750
789
  function Sr(e) {
751
790
  throw e;
752
791
  }
753
792
  var Ar = {
754
793
  closed: !0,
755
- next: Pt,
794
+ next: At,
756
795
  error: Sr,
757
- complete: Pt
796
+ complete: At
758
797
  }, Tr = function() {
759
798
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
760
799
  }();
761
- function Pr(e) {
800
+ function Mr(e) {
762
801
  return e;
763
802
  }
764
- function Mr(e) {
765
- return e.length === 0 ? Pr : e.length === 1 ? e[0] : function(n) {
766
- return e.reduce(function(r, o) {
767
- return o(r);
803
+ function Pr(e) {
804
+ return e.length === 0 ? Mr : e.length === 1 ? e[0] : function(n) {
805
+ return e.reduce(function(r, i) {
806
+ return i(r);
768
807
  }, n);
769
808
  };
770
809
  }
771
- var Mt = function() {
810
+ var Tt = function() {
772
811
  function e(t) {
773
812
  t && (this._subscribe = t);
774
813
  }
@@ -776,11 +815,11 @@ var Mt = function() {
776
815
  var n = new e();
777
816
  return n.source = this, n.operator = t, n;
778
817
  }, e.prototype.subscribe = function(t, n, r) {
779
- var o = this, i = Or(t) ? t : new ut(t, n, r);
780
- return Ie(function() {
781
- var s = o, a = s.operator, u = s.source;
782
- i.add(a ? a.call(i, u) : u ? o._subscribe(i) : o._trySubscribe(i));
783
- }), i;
818
+ var i = this, o = Ir(t) ? t : new ot(t, n, r);
819
+ return Oe(function() {
820
+ var s = i, a = s.operator, u = s.source;
821
+ o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
822
+ }), o;
784
823
  }, e.prototype._trySubscribe = function(t) {
785
824
  try {
786
825
  return this._subscribe(t);
@@ -789,17 +828,17 @@ var Mt = function() {
789
828
  }
790
829
  }, e.prototype.forEach = function(t, n) {
791
830
  var r = this;
792
- return n = Ht(n), new n(function(o, i) {
793
- var s = new ut({
831
+ return n = Mt(n), new n(function(i, o) {
832
+ var s = new ot({
794
833
  next: function(a) {
795
834
  try {
796
835
  t(a);
797
836
  } catch (u) {
798
- i(u), s.unsubscribe();
837
+ o(u), s.unsubscribe();
799
838
  }
800
839
  },
801
- error: i,
802
- complete: o
840
+ error: o,
841
+ complete: i
803
842
  });
804
843
  r.subscribe(s);
805
844
  });
@@ -811,84 +850,84 @@ var Mt = function() {
811
850
  }, e.prototype.pipe = function() {
812
851
  for (var t = [], n = 0; n < arguments.length; n++)
813
852
  t[n] = arguments[n];
814
- return Mr(t)(this);
853
+ return Pr(t)(this);
815
854
  }, e.prototype.toPromise = function(t) {
816
855
  var n = this;
817
- return t = Ht(t), new t(function(r, o) {
818
- var i;
856
+ return t = Mt(t), new t(function(r, i) {
857
+ var o;
819
858
  n.subscribe(function(s) {
820
- return i = s;
859
+ return o = s;
821
860
  }, function(s) {
822
- return o(s);
861
+ return i(s);
823
862
  }, function() {
824
- return r(i);
863
+ return r(o);
825
864
  });
826
865
  });
827
866
  }, e.create = function(t) {
828
867
  return new e(t);
829
868
  }, e;
830
869
  }();
831
- function Ht(e) {
870
+ function Mt(e) {
832
871
  var t;
833
- return (t = e ?? Er.Promise) !== null && t !== void 0 ? t : Promise;
872
+ return (t = e ?? cn.Promise) !== null && t !== void 0 ? t : Promise;
834
873
  }
835
874
  function Hr(e) {
836
- return e && ne(e.next) && ne(e.error) && ne(e.complete);
875
+ return e && te(e.next) && te(e.error) && te(e.complete);
837
876
  }
838
- function Or(e) {
839
- return e && e instanceof fn || Hr(e) && hn(e);
877
+ function Ir(e) {
878
+ return e && e instanceof hn || Hr(e) && ln(e);
840
879
  }
841
- var Ir = ln(function(e) {
880
+ var Or = an(function(e) {
842
881
  return function() {
843
882
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
844
883
  };
845
- }), dn = function(e) {
846
- Ce(t, e);
884
+ }), fn = function(e) {
885
+ ne(t, e);
847
886
  function t() {
848
887
  var n = e.call(this) || this;
849
888
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
850
889
  }
851
890
  return t.prototype.lift = function(n) {
852
- var r = new Ot(this, this);
891
+ var r = new Pt(this, this);
853
892
  return r.operator = n, r;
854
893
  }, t.prototype._throwIfClosed = function() {
855
894
  if (this.closed)
856
- throw new Ir();
895
+ throw new Or();
857
896
  }, t.prototype.next = function(n) {
858
897
  var r = this;
859
- Ie(function() {
860
- var o, i;
898
+ Oe(function() {
899
+ var i, o;
861
900
  if (r._throwIfClosed(), !r.isStopped) {
862
901
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
863
902
  try {
864
- for (var s = ot(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
903
+ for (var s = nt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
865
904
  var u = a.value;
866
905
  u.next(n);
867
906
  }
868
907
  } catch (l) {
869
- o = { error: l };
908
+ i = { error: l };
870
909
  } finally {
871
910
  try {
872
- a && !a.done && (i = s.return) && i.call(s);
911
+ a && !a.done && (o = s.return) && o.call(s);
873
912
  } finally {
874
- if (o)
875
- throw o.error;
913
+ if (i)
914
+ throw i.error;
876
915
  }
877
916
  }
878
917
  }
879
918
  });
880
919
  }, t.prototype.error = function(n) {
881
920
  var r = this;
882
- Ie(function() {
921
+ Oe(function() {
883
922
  if (r._throwIfClosed(), !r.isStopped) {
884
923
  r.hasError = r.isStopped = !0, r.thrownError = n;
885
- for (var o = r.observers; o.length; )
886
- o.shift().error(n);
924
+ for (var i = r.observers; i.length; )
925
+ i.shift().error(n);
887
926
  }
888
927
  });
889
928
  }, t.prototype.complete = function() {
890
929
  var n = this;
891
- Ie(function() {
930
+ Oe(function() {
892
931
  if (n._throwIfClosed(), !n.isStopped) {
893
932
  n.isStopped = !0;
894
933
  for (var r = n.observers; r.length; )
@@ -909,84 +948,84 @@ var Ir = ln(function(e) {
909
948
  }, t.prototype._subscribe = function(n) {
910
949
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
911
950
  }, t.prototype._innerSubscribe = function(n) {
912
- var r = this, o = this, i = o.hasError, s = o.isStopped, a = o.observers;
913
- return i || s ? cn : (this.currentObservers = null, a.push(n), new De(function() {
914
- r.currentObservers = null, at(a, n);
951
+ var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
952
+ return o || s ? un : (this.currentObservers = null, a.push(n), new Ue(function() {
953
+ r.currentObservers = null, it(a, n);
915
954
  }));
916
955
  }, t.prototype._checkFinalizedStatuses = function(n) {
917
- var r = this, o = r.hasError, i = r.thrownError, s = r.isStopped;
918
- o ? n.error(i) : s && n.complete();
956
+ var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
957
+ i ? n.error(o) : s && n.complete();
919
958
  }, t.prototype.asObservable = function() {
920
- var n = new Mt();
959
+ var n = new Tt();
921
960
  return n.source = this, n;
922
961
  }, t.create = function(n, r) {
923
- return new Ot(n, r);
962
+ return new Pt(n, r);
924
963
  }, t;
925
- }(Mt), Ot = function(e) {
926
- Ce(t, e);
964
+ }(Tt), Pt = function(e) {
965
+ ne(t, e);
927
966
  function t(n, r) {
928
- var o = e.call(this) || this;
929
- return o.destination = n, o.source = r, o;
967
+ var i = e.call(this) || this;
968
+ return i.destination = n, i.source = r, i;
930
969
  }
931
970
  return t.prototype.next = function(n) {
932
- var r, o;
933
- (o = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || o === void 0 || o.call(r, n);
971
+ var r, i;
972
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
934
973
  }, t.prototype.error = function(n) {
935
- var r, o;
936
- (o = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || o === void 0 || o.call(r, n);
974
+ var r, i;
975
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
937
976
  }, t.prototype.complete = function() {
938
977
  var n, r;
939
978
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
940
979
  }, t.prototype._subscribe = function(n) {
941
- var r, o;
942
- return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : cn;
980
+ var r, i;
981
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : un;
943
982
  }, t;
944
- }(dn), pn = {
983
+ }(fn), dn = {
945
984
  now: function() {
946
- return (pn.delegate || Date).now();
985
+ return (dn.delegate || Date).now();
947
986
  },
948
987
  delegate: void 0
949
988
  }, Nr = function(e) {
950
- Ce(t, e);
951
- function t(n, r, o) {
952
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = pn);
953
- var i = e.call(this) || this;
954
- return i._bufferSize = n, i._windowTime = r, i._timestampProvider = o, i._buffer = [], i._infiniteTimeWindow = !0, i._infiniteTimeWindow = r === 1 / 0, i._bufferSize = Math.max(1, n), i._windowTime = Math.max(1, r), i;
989
+ ne(t, e);
990
+ function t(n, r, i) {
991
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = dn);
992
+ var o = e.call(this) || this;
993
+ return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
955
994
  }
956
995
  return t.prototype.next = function(n) {
957
- var r = this, o = r.isStopped, i = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
958
- o || (i.push(n), !s && i.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
996
+ var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
997
+ i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
959
998
  }, t.prototype._subscribe = function(n) {
960
999
  this._throwIfClosed(), this._trimBuffer();
961
- for (var r = this._innerSubscribe(n), o = this, i = o._infiniteTimeWindow, s = o._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += i ? 1 : 2)
1000
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
962
1001
  n.next(a[u]);
963
1002
  return this._checkFinalizedStatuses(n), r;
964
1003
  }, t.prototype._trimBuffer = function() {
965
- var n = this, r = n._bufferSize, o = n._timestampProvider, i = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
966
- if (r < 1 / 0 && a < i.length && i.splice(0, i.length - a), !s) {
967
- for (var u = o.now(), l = 0, c = 1; c < i.length && i[c] <= u; c += 2)
1004
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
1005
+ if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1006
+ for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
968
1007
  l = c;
969
- l && i.splice(0, l + 1);
1008
+ l && o.splice(0, l + 1);
970
1009
  }
971
1010
  }, t;
972
- }(dn);
973
- const It = [], Nt = {}, Lr = (e, t = 0) => {
974
- if (It.indexOf(e) == -1) {
1011
+ }(fn);
1012
+ const Ht = [], It = {}, Lr = (e, t = 0) => {
1013
+ if (Ht.indexOf(e) == -1) {
975
1014
  const n = new Nr(t);
976
- Nt[e] = n, It.push(e);
1015
+ It[e] = n, Ht.push(e);
977
1016
  }
978
- return Nt[e];
1017
+ return It[e];
979
1018
  }, le = [];
980
1019
  function Rr(e, t) {
981
1020
  return {
982
- subscribe: Ge(e, t).subscribe
1021
+ subscribe: De(e, t).subscribe
983
1022
  };
984
1023
  }
985
- function Ge(e, t = q) {
1024
+ function De(e, t = q) {
986
1025
  let n;
987
1026
  const r = /* @__PURE__ */ new Set();
988
- function o(a) {
989
- if (on(e, a) && (e = a, n)) {
1027
+ function i(a) {
1028
+ if (nn(e, a) && (e = a, n)) {
990
1029
  const u = !le.length;
991
1030
  for (const l of r)
992
1031
  l[1](), le.push(l, e);
@@ -997,22 +1036,22 @@ function Ge(e, t = q) {
997
1036
  }
998
1037
  }
999
1038
  }
1000
- function i(a) {
1001
- o(a(e));
1039
+ function o(a) {
1040
+ i(a(e));
1002
1041
  }
1003
1042
  function s(a, u = q) {
1004
1043
  const l = [a, u];
1005
- return r.add(l), r.size === 1 && (n = t(o, i) || q), a(e), () => {
1044
+ return r.add(l), r.size === 1 && (n = t(i, o) || q), a(e), () => {
1006
1045
  r.delete(l), r.size === 0 && n && (n(), n = null);
1007
1046
  };
1008
1047
  }
1009
- return { set: o, update: i, subscribe: s };
1048
+ return { set: i, update: o, subscribe: s };
1010
1049
  }
1011
- function be(e, t, n) {
1012
- const r = !Array.isArray(e), o = r ? [e] : e;
1013
- if (!o.every(Boolean))
1050
+ function ge(e, t, n) {
1051
+ const r = !Array.isArray(e), i = r ? [e] : e;
1052
+ if (!i.every(Boolean))
1014
1053
  throw new Error("derived() expects stores as input, got a falsy value");
1015
- const i = t.length < 2;
1054
+ const o = t.length < 2;
1016
1055
  return Rr(n, (s, a) => {
1017
1056
  let u = !1;
1018
1057
  const l = [];
@@ -1022,9 +1061,9 @@ function be(e, t, n) {
1022
1061
  return;
1023
1062
  f();
1024
1063
  const g = t(r ? l[0] : l, s, a);
1025
- i ? s(g) : f = vt(g) ? g : q;
1026
- }, p = o.map(
1027
- (g, b) => sn(
1064
+ o ? s(g) : f = pt(g) ? g : q;
1065
+ }, p = i.map(
1066
+ (g, b) => rn(
1028
1067
  g,
1029
1068
  (m) => {
1030
1069
  l[b] = m, c &= ~(1 << b), u && d();
@@ -1035,14 +1074,14 @@ function be(e, t, n) {
1035
1074
  )
1036
1075
  );
1037
1076
  return u = !0, d(), function() {
1038
- ie(p), f(), u = !1;
1077
+ oe(p), f(), u = !1;
1039
1078
  };
1040
1079
  });
1041
1080
  }
1042
- function $r(e) {
1081
+ function Fr(e) {
1043
1082
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1044
1083
  }
1045
- var Fr = function(t) {
1084
+ var $r = function(t) {
1046
1085
  return Ur(t) && !Dr(t);
1047
1086
  };
1048
1087
  function Ur(e) {
@@ -1059,29 +1098,29 @@ function jr(e) {
1059
1098
  function Wr(e) {
1060
1099
  return Array.isArray(e) ? [] : {};
1061
1100
  }
1062
- function we(e, t) {
1063
- return t.clone !== !1 && t.isMergeableObject(e) ? fe(Wr(e), e, t) : e;
1101
+ function xe(e, t) {
1102
+ return t.clone !== !1 && t.isMergeableObject(e) ? de(Wr(e), e, t) : e;
1064
1103
  }
1065
1104
  function Vr(e, t, n) {
1066
1105
  return e.concat(t).map(function(r) {
1067
- return we(r, n);
1106
+ return xe(r, n);
1068
1107
  });
1069
1108
  }
1070
1109
  function zr(e, t) {
1071
1110
  if (!t.customMerge)
1072
- return fe;
1111
+ return de;
1073
1112
  var n = t.customMerge(e);
1074
- return typeof n == "function" ? n : fe;
1113
+ return typeof n == "function" ? n : de;
1075
1114
  }
1076
1115
  function Xr(e) {
1077
1116
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1078
1117
  return Object.propertyIsEnumerable.call(e, t);
1079
1118
  }) : [];
1080
1119
  }
1081
- function Lt(e) {
1120
+ function Ot(e) {
1082
1121
  return Object.keys(e).concat(Xr(e));
1083
1122
  }
1084
- function mn(e, t) {
1123
+ function pn(e, t) {
1085
1124
  try {
1086
1125
  return t in e;
1087
1126
  } catch {
@@ -1089,179 +1128,129 @@ function mn(e, t) {
1089
1128
  }
1090
1129
  }
1091
1130
  function Zr(e, t) {
1092
- return mn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1131
+ return pn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1093
1132
  }
1094
1133
  function qr(e, t, n) {
1095
1134
  var r = {};
1096
- return n.isMergeableObject(e) && Lt(e).forEach(function(o) {
1097
- r[o] = we(e[o], n);
1098
- }), Lt(t).forEach(function(o) {
1099
- Zr(e, o) || (mn(e, o) && n.isMergeableObject(t[o]) ? r[o] = zr(o, n)(e[o], t[o], n) : r[o] = we(t[o], n));
1135
+ return n.isMergeableObject(e) && Ot(e).forEach(function(i) {
1136
+ r[i] = xe(e[i], n);
1137
+ }), Ot(t).forEach(function(i) {
1138
+ Zr(e, i) || (pn(e, i) && n.isMergeableObject(t[i]) ? r[i] = zr(i, n)(e[i], t[i], n) : r[i] = xe(t[i], n));
1100
1139
  }), r;
1101
1140
  }
1102
- function fe(e, t, n) {
1103
- n = n || {}, n.arrayMerge = n.arrayMerge || Vr, n.isMergeableObject = n.isMergeableObject || Fr, n.cloneUnlessOtherwiseSpecified = we;
1104
- var r = Array.isArray(t), o = Array.isArray(e), i = r === o;
1105
- return i ? r ? n.arrayMerge(e, t, n) : qr(e, t, n) : we(t, n);
1141
+ function de(e, t, n) {
1142
+ n = n || {}, n.arrayMerge = n.arrayMerge || Vr, n.isMergeableObject = n.isMergeableObject || $r, n.cloneUnlessOtherwiseSpecified = xe;
1143
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1144
+ return o ? r ? n.arrayMerge(e, t, n) : qr(e, t, n) : xe(t, n);
1106
1145
  }
1107
- fe.all = function(t, n) {
1146
+ de.all = function(t, n) {
1108
1147
  if (!Array.isArray(t))
1109
1148
  throw new Error("first argument should be an array");
1110
- return t.reduce(function(r, o) {
1111
- return fe(r, o, n);
1149
+ return t.reduce(function(r, i) {
1150
+ return de(r, i, n);
1112
1151
  }, {});
1113
1152
  };
1114
- var Qr = fe, Jr = Qr;
1115
- const Yr = /* @__PURE__ */ $r(Jr);
1116
- var lt = function(e, t) {
1117
- return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1118
- n.__proto__ = r;
1119
- } || function(n, r) {
1120
- for (var o in r)
1121
- Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
1122
- }, lt(e, t);
1123
- };
1124
- function ke(e, t) {
1125
- if (typeof t != "function" && t !== null)
1126
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1127
- lt(e, t);
1128
- function n() {
1129
- this.constructor = e;
1130
- }
1131
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
1132
- }
1133
- var J = function() {
1134
- return J = Object.assign || function(t) {
1135
- for (var n, r = 1, o = arguments.length; r < o; r++) {
1136
- n = arguments[r];
1137
- for (var i in n)
1138
- Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1139
- }
1140
- return t;
1141
- }, J.apply(this, arguments);
1142
- };
1143
- function Kr(e, t) {
1144
- var n = {};
1145
- for (var r in e)
1146
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
1147
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1148
- for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
1149
- t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
1150
- return n;
1151
- }
1152
- function Ze(e, t, n) {
1153
- if (n || arguments.length === 2)
1154
- for (var r = 0, o = t.length, i; r < o; r++)
1155
- (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
1156
- return e.concat(i || Array.prototype.slice.call(t));
1157
- }
1158
- function qe(e, t) {
1159
- var n = t && t.cache ? t.cache : so, r = t && t.serializer ? t.serializer : oo, o = t && t.strategy ? t.strategy : no;
1160
- return o(e, {
1153
+ var Qr = de, Jr = Qr;
1154
+ const Yr = /* @__PURE__ */ Fr(Jr);
1155
+ function Xe(e, t) {
1156
+ var n = t && t.cache ? t.cache : ii, r = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : ei;
1157
+ return i(e, {
1161
1158
  cache: n,
1162
1159
  serializer: r
1163
1160
  });
1164
1161
  }
1165
- function eo(e) {
1162
+ function Kr(e) {
1166
1163
  return e == null || typeof e == "number" || typeof e == "boolean";
1167
1164
  }
1168
- function to(e, t, n, r) {
1169
- var o = eo(r) ? r : n(r), i = t.get(o);
1170
- return typeof i > "u" && (i = e.call(this, r), t.set(o, i)), i;
1165
+ function mn(e, t, n, r) {
1166
+ var i = Kr(r) ? r : n(r), o = t.get(i);
1167
+ return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
1171
1168
  }
1172
1169
  function bn(e, t, n) {
1173
- var r = Array.prototype.slice.call(arguments, 3), o = n(r), i = t.get(o);
1174
- return typeof i > "u" && (i = e.apply(this, r), t.set(o, i)), i;
1170
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1171
+ return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
1172
+ }
1173
+ function bt(e, t, n, r, i) {
1174
+ return n.bind(t, e, r, i);
1175
1175
  }
1176
- function gn(e, t, n, r, o) {
1177
- return n.bind(t, e, r, o);
1176
+ function ei(e, t) {
1177
+ var n = e.length === 1 ? mn : bn;
1178
+ return bt(e, this, n, t.cache.create(), t.serializer);
1178
1179
  }
1179
- function no(e, t) {
1180
- var n = e.length === 1 ? to : bn;
1181
- return gn(e, this, n, t.cache.create(), t.serializer);
1180
+ function ti(e, t) {
1181
+ return bt(e, this, bn, t.cache.create(), t.serializer);
1182
1182
  }
1183
- function ro(e, t) {
1184
- return gn(e, this, bn, t.cache.create(), t.serializer);
1183
+ function ni(e, t) {
1184
+ return bt(e, this, mn, t.cache.create(), t.serializer);
1185
1185
  }
1186
- var oo = function() {
1186
+ var ri = function() {
1187
1187
  return JSON.stringify(arguments);
1188
- }, io = (
1189
- /** @class */
1190
- function() {
1191
- function e() {
1192
- this.cache = /* @__PURE__ */ Object.create(null);
1193
- }
1194
- return e.prototype.get = function(t) {
1195
- return this.cache[t];
1196
- }, e.prototype.set = function(t, n) {
1197
- this.cache[t] = n;
1198
- }, e;
1199
- }()
1200
- ), so = {
1188
+ };
1189
+ function gt() {
1190
+ this.cache = /* @__PURE__ */ Object.create(null);
1191
+ }
1192
+ gt.prototype.get = function(e) {
1193
+ return this.cache[e];
1194
+ };
1195
+ gt.prototype.set = function(e, t) {
1196
+ this.cache[e] = t;
1197
+ };
1198
+ var ii = {
1201
1199
  create: function() {
1202
- return new io();
1200
+ return new gt();
1203
1201
  }
1204
- }, Qe = {
1205
- variadic: ro
1206
- }, $e = function() {
1207
- return $e = Object.assign || function(t) {
1208
- for (var n, r = 1, o = arguments.length; r < o; r++) {
1209
- n = arguments[r];
1210
- for (var i in n)
1211
- Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1212
- }
1213
- return t;
1214
- }, $e.apply(this, arguments);
1215
- };
1216
- var C;
1202
+ }, Ze = {
1203
+ variadic: ti,
1204
+ monadic: ni
1205
+ }, C;
1217
1206
  (function(e) {
1218
1207
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1219
1208
  })(C || (C = {}));
1220
- var H;
1209
+ var I;
1221
1210
  (function(e) {
1222
1211
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1223
- })(H || (H = {}));
1224
- var de;
1212
+ })(I || (I = {}));
1213
+ var pe;
1225
1214
  (function(e) {
1226
1215
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1227
- })(de || (de = {}));
1228
- function Rt(e) {
1229
- return e.type === H.literal;
1216
+ })(pe || (pe = {}));
1217
+ function Nt(e) {
1218
+ return e.type === I.literal;
1219
+ }
1220
+ function oi(e) {
1221
+ return e.type === I.argument;
1230
1222
  }
1231
- function ao(e) {
1232
- return e.type === H.argument;
1223
+ function gn(e) {
1224
+ return e.type === I.number;
1233
1225
  }
1234
1226
  function vn(e) {
1235
- return e.type === H.number;
1227
+ return e.type === I.date;
1236
1228
  }
1237
1229
  function yn(e) {
1238
- return e.type === H.date;
1230
+ return e.type === I.time;
1239
1231
  }
1240
1232
  function _n(e) {
1241
- return e.type === H.time;
1233
+ return e.type === I.select;
1242
1234
  }
1243
1235
  function Bn(e) {
1244
- return e.type === H.select;
1236
+ return e.type === I.plural;
1245
1237
  }
1246
- function En(e) {
1247
- return e.type === H.plural;
1238
+ function si(e) {
1239
+ return e.type === I.pound;
1248
1240
  }
1249
- function uo(e) {
1250
- return e.type === H.pound;
1241
+ function En(e) {
1242
+ return e.type === I.tag;
1251
1243
  }
1252
1244
  function wn(e) {
1253
- return e.type === H.tag;
1245
+ return !!(e && typeof e == "object" && e.type === pe.number);
1254
1246
  }
1255
- function xn(e) {
1256
- return !!(e && typeof e == "object" && e.type === de.number);
1247
+ function st(e) {
1248
+ return !!(e && typeof e == "object" && e.type === pe.dateTime);
1257
1249
  }
1258
- function ct(e) {
1259
- return !!(e && typeof e == "object" && e.type === de.dateTime);
1260
- }
1261
- var Cn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, lo = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1262
- function co(e) {
1250
+ var xn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ai = /(?:[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;
1251
+ function ui(e) {
1263
1252
  var t = {};
1264
- return e.replace(lo, function(n) {
1253
+ return e.replace(ai, function(n) {
1265
1254
  var r = n.length;
1266
1255
  switch (n[0]) {
1267
1256
  case "G":
@@ -1350,24 +1339,14 @@ function co(e) {
1350
1339
  return "";
1351
1340
  }), t;
1352
1341
  }
1353
- var O = function() {
1354
- return O = Object.assign || function(t) {
1355
- for (var n, r = 1, o = arguments.length; r < o; r++) {
1356
- n = arguments[r];
1357
- for (var i in n)
1358
- Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1359
- }
1360
- return t;
1361
- }, O.apply(this, arguments);
1362
- };
1363
- var ho = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1364
- function fo(e) {
1342
+ var li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
+ function ci(e) {
1365
1344
  if (e.length === 0)
1366
1345
  throw new Error("Number skeleton cannot be empty");
1367
- for (var t = e.split(ho).filter(function(d) {
1346
+ for (var t = e.split(li).filter(function(d) {
1368
1347
  return d.length > 0;
1369
- }), n = [], r = 0, o = t; r < o.length; r++) {
1370
- var i = o[r], s = i.split("/");
1348
+ }), n = [], r = 0, i = t; r < i.length; r++) {
1349
+ var o = i[r], s = o.split("/");
1371
1350
  if (s.length === 0)
1372
1351
  throw new Error("Invalid number skeleton");
1373
1352
  for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
@@ -1379,17 +1358,17 @@ function fo(e) {
1379
1358
  }
1380
1359
  return n;
1381
1360
  }
1382
- function po(e) {
1361
+ function hi(e) {
1383
1362
  return e.replace(/^(.*?)-/, "");
1384
1363
  }
1385
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sn = /^(@+)?(\+|#+)?[rs]?$/g, mo = /(\*)(0+)|(#+)(0+)|(0+)/g, An = /^(0+)$/;
1386
- function Ft(e) {
1364
+ var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Cn = /^(@+)?(\+|#+)?[rs]?$/g, fi = /(\*)(0+)|(#+)(0+)|(0+)/g, Sn = /^(0+)$/;
1365
+ function Rt(e) {
1387
1366
  var t = {};
1388
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sn, function(n, r, o) {
1389
- return typeof o != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : o === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof o == "string" ? o.length : 0)), "";
1367
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Cn, function(n, r, i) {
1368
+ return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1390
1369
  }), t;
1391
1370
  }
1392
- function Tn(e) {
1371
+ function An(e) {
1393
1372
  switch (e) {
1394
1373
  case "sign-auto":
1395
1374
  return {
@@ -1429,7 +1408,7 @@ function Tn(e) {
1429
1408
  };
1430
1409
  }
1431
1410
  }
1432
- function bo(e) {
1411
+ function di(e) {
1433
1412
  var t;
1434
1413
  if (e[0] === "E" && e[1] === "E" ? (t = {
1435
1414
  notation: "engineering"
@@ -1437,20 +1416,20 @@ function bo(e) {
1437
1416
  notation: "scientific"
1438
1417
  }, e = e.slice(1)), t) {
1439
1418
  var n = e.slice(0, 2);
1440
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !An.test(e))
1419
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Sn.test(e))
1441
1420
  throw new Error("Malformed concise eng/scientific notation");
1442
1421
  t.minimumIntegerDigits = e.length;
1443
1422
  }
1444
1423
  return t;
1445
1424
  }
1446
- function Ut(e) {
1447
- var t = {}, n = Tn(e);
1425
+ function Ft(e) {
1426
+ var t = {}, n = An(e);
1448
1427
  return n || t;
1449
1428
  }
1450
- function go(e) {
1429
+ function pi(e) {
1451
1430
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1452
- var o = r[n];
1453
- switch (o.stem) {
1431
+ var i = r[n];
1432
+ switch (i.stem) {
1454
1433
  case "percent":
1455
1434
  case "%":
1456
1435
  t.style = "percent";
@@ -1459,7 +1438,7 @@ function go(e) {
1459
1438
  t.style = "percent", t.scale = 100;
1460
1439
  continue;
1461
1440
  case "currency":
1462
- t.style = "currency", t.currency = o.options[0];
1441
+ t.style = "currency", t.currency = i.options[0];
1463
1442
  continue;
1464
1443
  case "group-off":
1465
1444
  case ",_":
@@ -1471,7 +1450,7 @@ function go(e) {
1471
1450
  continue;
1472
1451
  case "measure-unit":
1473
1452
  case "unit":
1474
- t.style = "unit", t.unit = po(o.options[0]);
1453
+ t.style = "unit", t.unit = hi(i.options[0]);
1475
1454
  continue;
1476
1455
  case "compact-short":
1477
1456
  case "K":
@@ -1482,13 +1461,13 @@ function go(e) {
1482
1461
  t.notation = "compact", t.compactDisplay = "long";
1483
1462
  continue;
1484
1463
  case "scientific":
1485
- t = O(O(O({}, t), { notation: "scientific" }), o.options.reduce(function(u, l) {
1486
- return O(O({}, u), Ut(l));
1464
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1465
+ return A(A({}, u), Ft(l));
1487
1466
  }, {}));
1488
1467
  continue;
1489
1468
  case "engineering":
1490
- t = O(O(O({}, t), { notation: "engineering" }), o.options.reduce(function(u, l) {
1491
- return O(O({}, u), Ut(l));
1469
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1470
+ return A(A({}, u), Ft(l));
1492
1471
  }, {}));
1493
1472
  continue;
1494
1473
  case "notation-simple":
@@ -1507,7 +1486,7 @@ function go(e) {
1507
1486
  t.currencyDisplay = "symbol";
1508
1487
  continue;
1509
1488
  case "scale":
1510
- t.scale = parseFloat(o.options[0]);
1489
+ t.scale = parseFloat(i.options[0]);
1511
1490
  continue;
1512
1491
  case "rounding-mode-floor":
1513
1492
  t.roundingMode = "floor";
@@ -1531,9 +1510,9 @@ function go(e) {
1531
1510
  t.roundingMode = "halfExpand";
1532
1511
  continue;
1533
1512
  case "integer-width":
1534
- if (o.options.length > 1)
1513
+ if (i.options.length > 1)
1535
1514
  throw new RangeError("integer-width stems only accept a single optional option");
1536
- o.options[0].replace(mo, function(u, l, c, f, d, p) {
1515
+ i.options[0].replace(fi, function(u, l, c, f, d, p) {
1537
1516
  if (l)
1538
1517
  t.minimumIntegerDigits = c.length;
1539
1518
  else {
@@ -1546,28 +1525,28 @@ function go(e) {
1546
1525
  });
1547
1526
  continue;
1548
1527
  }
1549
- if (An.test(o.stem)) {
1550
- t.minimumIntegerDigits = o.stem.length;
1528
+ if (Sn.test(i.stem)) {
1529
+ t.minimumIntegerDigits = i.stem.length;
1551
1530
  continue;
1552
1531
  }
1553
- if ($t.test(o.stem)) {
1554
- if (o.options.length > 1)
1532
+ if (Lt.test(i.stem)) {
1533
+ if (i.options.length > 1)
1555
1534
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1556
- o.stem.replace($t, function(u, l, c, f, d, p) {
1535
+ i.stem.replace(Lt, function(u, l, c, f, d, p) {
1557
1536
  return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && p ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1558
1537
  });
1559
- var i = o.options[0];
1560
- i === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = O(O({}, t), Ft(i)));
1538
+ var o = i.options[0];
1539
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Rt(o)));
1561
1540
  continue;
1562
1541
  }
1563
- if (Sn.test(o.stem)) {
1564
- t = O(O({}, t), Ft(o.stem));
1542
+ if (Cn.test(i.stem)) {
1543
+ t = A(A({}, t), Rt(i.stem));
1565
1544
  continue;
1566
1545
  }
1567
- var s = Tn(o.stem);
1568
- s && (t = O(O({}, t), s));
1569
- var a = bo(o.stem);
1570
- a && (t = O(O({}, t), a));
1546
+ var s = An(i.stem);
1547
+ s && (t = A(A({}, t), s));
1548
+ var a = di(i.stem);
1549
+ a && (t = A(A({}, t), a));
1571
1550
  }
1572
1551
  return t;
1573
1552
  }
@@ -2986,23 +2965,23 @@ var He = {
2986
2965
  "h"
2987
2966
  ]
2988
2967
  };
2989
- function vo(e, t) {
2968
+ function mi(e, t) {
2990
2969
  for (var n = "", r = 0; r < e.length; r++) {
2991
- var o = e.charAt(r);
2992
- if (o === "j") {
2993
- for (var i = 0; r + 1 < e.length && e.charAt(r + 1) === o; )
2994
- i++, r++;
2995
- var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = yo(t);
2970
+ var i = e.charAt(r);
2971
+ if (i === "j") {
2972
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2973
+ o++, r++;
2974
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = bi(t);
2996
2975
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2997
2976
  n += u;
2998
2977
  for (; s-- > 0; )
2999
2978
  n = l + n;
3000
2979
  } else
3001
- o === "J" ? n += "H" : n += o;
2980
+ i === "J" ? n += "H" : n += i;
3002
2981
  }
3003
2982
  return n;
3004
2983
  }
3005
- function yo(e) {
2984
+ function bi(e) {
3006
2985
  var t = e.hourCycle;
3007
2986
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3008
2987
  e.hourCycles && // @ts-ignore
@@ -3021,23 +3000,23 @@ function yo(e) {
3021
3000
  }
3022
3001
  var n = e.language, r;
3023
3002
  n !== "root" && (r = e.maximize().region);
3024
- var o = He[r || ""] || He[n || ""] || He["".concat(n, "-001")] || He["001"];
3025
- return o[0];
3003
+ var i = He[r || ""] || He[n || ""] || He["".concat(n, "-001")] || He["001"];
3004
+ return i[0];
3026
3005
  }
3027
- var Je, _o = new RegExp("^".concat(Cn.source, "*")), Bo = new RegExp("".concat(Cn.source, "*$"));
3006
+ var qe, gi = new RegExp("^".concat(xn.source, "*")), vi = new RegExp("".concat(xn.source, "*$"));
3028
3007
  function S(e, t) {
3029
3008
  return { start: e, end: t };
3030
3009
  }
3031
- var Eo = !!String.prototype.startsWith && "_a".startsWith("a", 1), wo = !!String.fromCodePoint, xo = !!Object.fromEntries, Co = !!String.prototype.codePointAt, So = !!String.prototype.trimStart, Ao = !!String.prototype.trimEnd, To = !!Number.isSafeInteger, Po = To ? Number.isSafeInteger : function(e) {
3010
+ var yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), _i = !!String.fromCodePoint, Bi = !!Object.fromEntries, Ei = !!String.prototype.codePointAt, wi = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Si = Ci ? Number.isSafeInteger : function(e) {
3032
3011
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3033
- }, ht = !0;
3012
+ }, at = !0;
3034
3013
  try {
3035
- var Mo = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3036
- ht = ((Je = Mo.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3014
+ var Ai = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
+ at = ((qe = Ai.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3037
3016
  } catch {
3038
- ht = !1;
3017
+ at = !1;
3039
3018
  }
3040
- var Dt = Eo ? (
3019
+ var $t = yi ? (
3041
3020
  // Native
3042
3021
  function(t, n, r) {
3043
3022
  return t.startsWith(n, r);
@@ -3047,31 +3026,31 @@ var Dt = Eo ? (
3047
3026
  function(t, n, r) {
3048
3027
  return t.slice(r, r + n.length) === n;
3049
3028
  }
3050
- ), ft = wo ? String.fromCodePoint : (
3029
+ ), ut = _i ? String.fromCodePoint : (
3051
3030
  // IE11
3052
3031
  function() {
3053
3032
  for (var t = [], n = 0; n < arguments.length; n++)
3054
3033
  t[n] = arguments[n];
3055
- for (var r = "", o = t.length, i = 0, s; o > i; ) {
3056
- if (s = t[i++], s > 1114111)
3034
+ for (var r = "", i = t.length, o = 0, s; i > o; ) {
3035
+ if (s = t[o++], s > 1114111)
3057
3036
  throw RangeError(s + " is not a valid code point");
3058
3037
  r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3059
3038
  }
3060
3039
  return r;
3061
3040
  }
3062
- ), Gt = (
3041
+ ), Ut = (
3063
3042
  // native
3064
- xo ? Object.fromEntries : (
3043
+ Bi ? Object.fromEntries : (
3065
3044
  // Ponyfill
3066
3045
  function(t) {
3067
- for (var n = {}, r = 0, o = t; r < o.length; r++) {
3068
- var i = o[r], s = i[0], a = i[1];
3046
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
3047
+ var o = i[r], s = o[0], a = o[1];
3069
3048
  n[s] = a;
3070
3049
  }
3071
3050
  return n;
3072
3051
  }
3073
3052
  )
3074
- ), Pn = Co ? (
3053
+ ), Tn = Ei ? (
3075
3054
  // Native
3076
3055
  function(t, n) {
3077
3056
  return t.codePointAt(n);
@@ -3081,11 +3060,11 @@ var Dt = Eo ? (
3081
3060
  function(t, n) {
3082
3061
  var r = t.length;
3083
3062
  if (!(n < 0 || n >= r)) {
3084
- var o = t.charCodeAt(n), i;
3085
- return o < 55296 || o > 56319 || n + 1 === r || (i = t.charCodeAt(n + 1)) < 56320 || i > 57343 ? o : (o - 55296 << 10) + (i - 56320) + 65536;
3063
+ var i = t.charCodeAt(n), o;
3064
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3086
3065
  }
3087
3066
  }
3088
- ), Ho = So ? (
3067
+ ), Ti = wi ? (
3089
3068
  // Native
3090
3069
  function(t) {
3091
3070
  return t.trimStart();
@@ -3093,9 +3072,9 @@ var Dt = Eo ? (
3093
3072
  ) : (
3094
3073
  // Ponyfill
3095
3074
  function(t) {
3096
- return t.replace(_o, "");
3075
+ return t.replace(gi, "");
3097
3076
  }
3098
- ), Oo = Ao ? (
3077
+ ), Mi = xi ? (
3099
3078
  // Native
3100
3079
  function(t) {
3101
3080
  return t.trimEnd();
@@ -3103,32 +3082,32 @@ var Dt = Eo ? (
3103
3082
  ) : (
3104
3083
  // Ponyfill
3105
3084
  function(t) {
3106
- return t.replace(Bo, "");
3085
+ return t.replace(vi, "");
3107
3086
  }
3108
3087
  );
3109
3088
  function Mn(e, t) {
3110
3089
  return new RegExp(e, t);
3111
3090
  }
3112
- var dt;
3113
- if (ht) {
3114
- var kt = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3115
- dt = function(t, n) {
3091
+ var lt;
3092
+ if (at) {
3093
+ var Dt = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3094
+ lt = function(t, n) {
3116
3095
  var r;
3117
- kt.lastIndex = n;
3118
- var o = kt.exec(t);
3119
- return (r = o[1]) !== null && r !== void 0 ? r : "";
3096
+ Dt.lastIndex = n;
3097
+ var i = Dt.exec(t);
3098
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
3120
3099
  };
3121
3100
  } else
3122
- dt = function(t, n) {
3101
+ lt = function(t, n) {
3123
3102
  for (var r = []; ; ) {
3124
- var o = Pn(t, n);
3125
- if (o === void 0 || Hn(o) || Ro(o))
3103
+ var i = Tn(t, n);
3104
+ if (i === void 0 || Pn(i) || Oi(i))
3126
3105
  break;
3127
- r.push(o), n += o >= 65536 ? 2 : 1;
3106
+ r.push(i), n += i >= 65536 ? 2 : 1;
3128
3107
  }
3129
- return ft.apply(void 0, r);
3108
+ return ut.apply(void 0, r);
3130
3109
  };
3131
- var Io = (
3110
+ var Pi = (
3132
3111
  /** @class */
3133
3112
  function() {
3134
3113
  function e(t, n) {
@@ -3139,66 +3118,66 @@ var Io = (
3139
3118
  throw Error("parser can only be used once");
3140
3119
  return this.parseMessage(0, "", !1);
3141
3120
  }, e.prototype.parseMessage = function(t, n, r) {
3142
- for (var o = []; !this.isEOF(); ) {
3143
- var i = this.char();
3144
- if (i === 123) {
3121
+ for (var i = []; !this.isEOF(); ) {
3122
+ var o = this.char();
3123
+ if (o === 123) {
3145
3124
  var s = this.parseArgument(t, r);
3146
3125
  if (s.err)
3147
3126
  return s;
3148
- o.push(s.val);
3127
+ i.push(s.val);
3149
3128
  } else {
3150
- if (i === 125 && t > 0)
3129
+ if (o === 125 && t > 0)
3151
3130
  break;
3152
- if (i === 35 && (n === "plural" || n === "selectordinal")) {
3131
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
3153
3132
  var a = this.clonePosition();
3154
- this.bump(), o.push({
3155
- type: H.pound,
3133
+ this.bump(), i.push({
3134
+ type: I.pound,
3156
3135
  location: S(a, this.clonePosition())
3157
3136
  });
3158
- } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
3137
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3159
3138
  if (r)
3160
3139
  break;
3161
3140
  return this.error(C.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
3162
- } else if (i === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3141
+ } else if (o === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
3163
3142
  var s = this.parseTag(t, n);
3164
3143
  if (s.err)
3165
3144
  return s;
3166
- o.push(s.val);
3145
+ i.push(s.val);
3167
3146
  } else {
3168
3147
  var s = this.parseLiteral(t, n);
3169
3148
  if (s.err)
3170
3149
  return s;
3171
- o.push(s.val);
3150
+ i.push(s.val);
3172
3151
  }
3173
3152
  }
3174
3153
  }
3175
- return { val: o, err: null };
3154
+ return { val: i, err: null };
3176
3155
  }, e.prototype.parseTag = function(t, n) {
3177
3156
  var r = this.clonePosition();
3178
3157
  this.bump();
3179
- var o = this.parseTagName();
3158
+ var i = this.parseTagName();
3180
3159
  if (this.bumpSpace(), this.bumpIf("/>"))
3181
3160
  return {
3182
3161
  val: {
3183
- type: H.literal,
3184
- value: "<".concat(o, "/>"),
3162
+ type: I.literal,
3163
+ value: "<".concat(i, "/>"),
3185
3164
  location: S(r, this.clonePosition())
3186
3165
  },
3187
3166
  err: null
3188
3167
  };
3189
3168
  if (this.bumpIf(">")) {
3190
- var i = this.parseMessage(t + 1, n, !0);
3191
- if (i.err)
3192
- return i;
3193
- var s = i.val, a = this.clonePosition();
3169
+ var o = this.parseMessage(t + 1, n, !0);
3170
+ if (o.err)
3171
+ return o;
3172
+ var s = o.val, a = this.clonePosition();
3194
3173
  if (this.bumpIf("</")) {
3195
- if (this.isEOF() || !pt(this.char()))
3174
+ if (this.isEOF() || !ct(this.char()))
3196
3175
  return this.error(C.INVALID_TAG, S(a, this.clonePosition()));
3197
3176
  var u = this.clonePosition(), l = this.parseTagName();
3198
- return o !== l ? this.error(C.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3177
+ return i !== l ? this.error(C.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3199
3178
  val: {
3200
- type: H.tag,
3201
- value: o,
3179
+ type: I.tag,
3180
+ value: i,
3202
3181
  children: s,
3203
3182
  location: S(r, this.clonePosition())
3204
3183
  },
@@ -3210,36 +3189,36 @@ var Io = (
3210
3189
  return this.error(C.INVALID_TAG, S(r, this.clonePosition()));
3211
3190
  }, e.prototype.parseTagName = function() {
3212
3191
  var t = this.offset();
3213
- for (this.bump(); !this.isEOF() && Lo(this.char()); )
3192
+ for (this.bump(); !this.isEOF() && Ii(this.char()); )
3214
3193
  this.bump();
3215
3194
  return this.message.slice(t, this.offset());
3216
3195
  }, e.prototype.parseLiteral = function(t, n) {
3217
- for (var r = this.clonePosition(), o = ""; ; ) {
3218
- var i = this.tryParseQuote(n);
3219
- if (i) {
3220
- o += i;
3196
+ for (var r = this.clonePosition(), i = ""; ; ) {
3197
+ var o = this.tryParseQuote(n);
3198
+ if (o) {
3199
+ i += o;
3221
3200
  continue;
3222
3201
  }
3223
3202
  var s = this.tryParseUnquoted(t, n);
3224
3203
  if (s) {
3225
- o += s;
3204
+ i += s;
3226
3205
  continue;
3227
3206
  }
3228
3207
  var a = this.tryParseLeftAngleBracket();
3229
3208
  if (a) {
3230
- o += a;
3209
+ i += a;
3231
3210
  continue;
3232
3211
  }
3233
3212
  break;
3234
3213
  }
3235
3214
  var u = S(r, this.clonePosition());
3236
3215
  return {
3237
- val: { type: H.literal, value: o, location: u },
3216
+ val: { type: I.literal, value: i, location: u },
3238
3217
  err: null
3239
3218
  };
3240
3219
  }, e.prototype.tryParseLeftAngleBracket = function() {
3241
3220
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3242
- !No(this.peek() || 0)) ? (this.bump(), "<") : null;
3221
+ !Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3243
3222
  }, e.prototype.tryParseQuote = function(t) {
3244
3223
  if (this.isEOF() || this.char() !== 39)
3245
3224
  return null;
@@ -3273,20 +3252,20 @@ var Io = (
3273
3252
  n.push(r);
3274
3253
  this.bump();
3275
3254
  }
3276
- return ft.apply(void 0, n);
3255
+ return ut.apply(void 0, n);
3277
3256
  }, e.prototype.tryParseUnquoted = function(t, n) {
3278
3257
  if (this.isEOF())
3279
3258
  return null;
3280
3259
  var r = this.char();
3281
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), ft(r));
3260
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), ut(r));
3282
3261
  }, e.prototype.parseArgument = function(t, n) {
3283
3262
  var r = this.clonePosition();
3284
3263
  if (this.bump(), this.bumpSpace(), this.isEOF())
3285
3264
  return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition()));
3286
3265
  if (this.char() === 125)
3287
3266
  return this.bump(), this.error(C.EMPTY_ARGUMENT, S(r, this.clonePosition()));
3288
- var o = this.parseIdentifierIfPossible().value;
3289
- if (!o)
3267
+ var i = this.parseIdentifierIfPossible().value;
3268
+ if (!i)
3290
3269
  return this.error(C.MALFORMED_ARGUMENT, S(r, this.clonePosition()));
3291
3270
  if (this.bumpSpace(), this.isEOF())
3292
3271
  return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition()));
@@ -3294,25 +3273,25 @@ var Io = (
3294
3273
  case 125:
3295
3274
  return this.bump(), {
3296
3275
  val: {
3297
- type: H.argument,
3276
+ type: I.argument,
3298
3277
  // value does not include the opening and closing braces.
3299
- value: o,
3278
+ value: i,
3300
3279
  location: S(r, this.clonePosition())
3301
3280
  },
3302
3281
  err: null
3303
3282
  };
3304
3283
  case 44:
3305
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition())) : this.parseArgumentOptions(t, n, o, r);
3284
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3306
3285
  default:
3307
3286
  return this.error(C.MALFORMED_ARGUMENT, S(r, this.clonePosition()));
3308
3287
  }
3309
3288
  }, e.prototype.parseIdentifierIfPossible = function() {
3310
- var t = this.clonePosition(), n = this.offset(), r = dt(this.message, n), o = n + r.length;
3311
- this.bumpTo(o);
3312
- var i = this.clonePosition(), s = S(t, i);
3289
+ var t = this.clonePosition(), n = this.offset(), r = lt(this.message, n), i = n + r.length;
3290
+ this.bumpTo(i);
3291
+ var o = this.clonePosition(), s = S(t, o);
3313
3292
  return { value: r, location: s };
3314
- }, e.prototype.parseArgumentOptions = function(t, n, r, o) {
3315
- var i, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3293
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3294
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3316
3295
  switch (a) {
3317
3296
  case "":
3318
3297
  return this.error(C.EXPECT_ARGUMENT_TYPE, S(s, u));
@@ -3326,35 +3305,35 @@ var Io = (
3326
3305
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3327
3306
  if (f.err)
3328
3307
  return f;
3329
- var d = Oo(f.val);
3308
+ var d = Mi(f.val);
3330
3309
  if (d.length === 0)
3331
3310
  return this.error(C.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3332
3311
  var p = S(c, this.clonePosition());
3333
3312
  l = { style: d, styleLocation: p };
3334
3313
  }
3335
- var g = this.tryParseArgumentClose(o);
3314
+ var g = this.tryParseArgumentClose(i);
3336
3315
  if (g.err)
3337
3316
  return g;
3338
- var b = S(o, this.clonePosition());
3339
- if (l && Dt(l?.style, "::", 0)) {
3340
- var m = Ho(l.style.slice(2));
3317
+ var b = S(i, this.clonePosition());
3318
+ if (l && $t(l?.style, "::", 0)) {
3319
+ var m = Ti(l.style.slice(2));
3341
3320
  if (a === "number") {
3342
3321
  var f = this.parseNumberSkeletonFromString(m, l.styleLocation);
3343
3322
  return f.err ? f : {
3344
- val: { type: H.number, value: r, location: b, style: f.val },
3323
+ val: { type: I.number, value: r, location: b, style: f.val },
3345
3324
  err: null
3346
3325
  };
3347
3326
  } else {
3348
3327
  if (m.length === 0)
3349
3328
  return this.error(C.EXPECT_DATE_TIME_SKELETON, b);
3350
3329
  var v = m;
3351
- this.locale && (v = vo(m, this.locale));
3330
+ this.locale && (v = mi(m, this.locale));
3352
3331
  var d = {
3353
- type: de.dateTime,
3332
+ type: pe.dateTime,
3354
3333
  pattern: v,
3355
3334
  location: l.styleLocation,
3356
- parsedOptions: this.shouldParseSkeletons ? co(v) : {}
3357
- }, _ = a === "date" ? H.date : H.time;
3335
+ parsedOptions: this.shouldParseSkeletons ? ui(v) : {}
3336
+ }, _ = a === "date" ? I.date : I.time;
3358
3337
  return {
3359
3338
  val: { type: _, value: r, location: b, style: d },
3360
3339
  err: null
@@ -3363,10 +3342,10 @@ var Io = (
3363
3342
  }
3364
3343
  return {
3365
3344
  val: {
3366
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3345
+ type: a === "number" ? I.number : a === "date" ? I.date : I.time,
3367
3346
  value: r,
3368
3347
  location: b,
3369
- style: (i = l?.style) !== null && i !== void 0 ? i : null
3348
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3370
3349
  },
3371
3350
  err: null
3372
3351
  };
@@ -3376,9 +3355,9 @@ var Io = (
3376
3355
  case "select": {
3377
3356
  var B = this.clonePosition();
3378
3357
  if (this.bumpSpace(), !this.bumpIf(","))
3379
- return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, S(B, $e({}, B)));
3358
+ return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, S(B, A({}, B)));
3380
3359
  this.bumpSpace();
3381
- var N = this.parseIdentifierIfPossible(), T = 0;
3360
+ var N = this.parseIdentifierIfPossible(), M = 0;
3382
3361
  if (a !== "select" && N.value === "offset") {
3383
3362
  if (!this.bumpIf(":"))
3384
3363
  return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
@@ -3386,31 +3365,31 @@ var Io = (
3386
3365
  var f = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3387
3366
  if (f.err)
3388
3367
  return f;
3389
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), T = f.val;
3368
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), M = f.val;
3390
3369
  }
3391
3370
  var x = this.tryParsePluralOrSelectOptions(t, a, n, N);
3392
3371
  if (x.err)
3393
3372
  return x;
3394
- var g = this.tryParseArgumentClose(o);
3373
+ var g = this.tryParseArgumentClose(i);
3395
3374
  if (g.err)
3396
3375
  return g;
3397
- var I = S(o, this.clonePosition());
3376
+ var O = S(i, this.clonePosition());
3398
3377
  return a === "select" ? {
3399
3378
  val: {
3400
- type: H.select,
3379
+ type: I.select,
3401
3380
  value: r,
3402
- options: Gt(x.val),
3403
- location: I
3381
+ options: Ut(x.val),
3382
+ location: O
3404
3383
  },
3405
3384
  err: null
3406
3385
  } : {
3407
3386
  val: {
3408
- type: H.plural,
3387
+ type: I.plural,
3409
3388
  value: r,
3410
- options: Gt(x.val),
3411
- offset: T,
3389
+ options: Ut(x.val),
3390
+ offset: M,
3412
3391
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3413
- location: I
3392
+ location: O
3414
3393
  },
3415
3394
  err: null
3416
3395
  };
@@ -3426,9 +3405,9 @@ var Io = (
3426
3405
  switch (r) {
3427
3406
  case 39: {
3428
3407
  this.bump();
3429
- var o = this.clonePosition();
3408
+ var i = this.clonePosition();
3430
3409
  if (!this.bumpUntil("'"))
3431
- return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(o, this.clonePosition()));
3410
+ return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
3432
3411
  this.bump();
3433
3412
  break;
3434
3413
  }
@@ -3458,21 +3437,21 @@ var Io = (
3458
3437
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3459
3438
  var r = [];
3460
3439
  try {
3461
- r = fo(t);
3440
+ r = ci(t);
3462
3441
  } catch {
3463
3442
  return this.error(C.INVALID_NUMBER_SKELETON, n);
3464
3443
  }
3465
3444
  return {
3466
3445
  val: {
3467
- type: de.number,
3446
+ type: pe.number,
3468
3447
  tokens: r,
3469
3448
  location: n,
3470
- parsedOptions: this.shouldParseSkeletons ? go(r) : {}
3449
+ parsedOptions: this.shouldParseSkeletons ? pi(r) : {}
3471
3450
  },
3472
3451
  err: null
3473
3452
  };
3474
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, o) {
3475
- for (var i, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = o.value, c = o.location; ; ) {
3453
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3454
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3476
3455
  if (l.length === 0) {
3477
3456
  var f = this.clonePosition();
3478
3457
  if (n !== "select" && this.bumpIf("=")) {
@@ -3501,21 +3480,21 @@ var Io = (
3501
3480
  value: g.val,
3502
3481
  location: S(p, this.clonePosition())
3503
3482
  }
3504
- ]), u.add(l), this.bumpSpace(), i = this.parseIdentifierIfPossible(), l = i.value, c = i.location;
3483
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3505
3484
  }
3506
3485
  return a.length === 0 ? this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR : C.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(C.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3507
3486
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3508
- var r = 1, o = this.clonePosition();
3487
+ var r = 1, i = this.clonePosition();
3509
3488
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3510
- for (var i = !1, s = 0; !this.isEOF(); ) {
3489
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3511
3490
  var a = this.char();
3512
3491
  if (a >= 48 && a <= 57)
3513
- i = !0, s = s * 10 + (a - 48), this.bump();
3492
+ o = !0, s = s * 10 + (a - 48), this.bump();
3514
3493
  else
3515
3494
  break;
3516
3495
  }
3517
- var u = S(o, this.clonePosition());
3518
- return i ? (s *= r, Po(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3496
+ var u = S(i, this.clonePosition());
3497
+ return o ? (s *= r, Si(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3519
3498
  }, e.prototype.offset = function() {
3520
3499
  return this.position.offset;
3521
3500
  }, e.prototype.isEOF = function() {
@@ -3530,7 +3509,7 @@ var Io = (
3530
3509
  var t = this.position.offset;
3531
3510
  if (t >= this.message.length)
3532
3511
  throw Error("out of bound");
3533
- var n = Pn(this.message, t);
3512
+ var n = Tn(this.message, t);
3534
3513
  if (n === void 0)
3535
3514
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3536
3515
  return n;
@@ -3549,7 +3528,7 @@ var Io = (
3549
3528
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3550
3529
  }
3551
3530
  }, e.prototype.bumpIf = function(t) {
3552
- if (Dt(this.message, t, this.offset())) {
3531
+ if ($t(this.message, t, this.offset())) {
3553
3532
  for (var n = 0; n < t.length; n++)
3554
3533
  this.bump();
3555
3534
  return !0;
@@ -3571,7 +3550,7 @@ var Io = (
3571
3550
  break;
3572
3551
  }
3573
3552
  }, e.prototype.bumpSpace = function() {
3574
- for (; !this.isEOF() && Hn(this.char()); )
3553
+ for (; !this.isEOF() && Pn(this.char()); )
3575
3554
  this.bump();
3576
3555
  }, e.prototype.peek = function() {
3577
3556
  if (this.isEOF())
@@ -3581,97 +3560,97 @@ var Io = (
3581
3560
  }, e;
3582
3561
  }()
3583
3562
  );
3584
- function pt(e) {
3563
+ function ct(e) {
3585
3564
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3586
3565
  }
3587
- function No(e) {
3588
- return pt(e) || e === 47;
3566
+ function Hi(e) {
3567
+ return ct(e) || e === 47;
3589
3568
  }
3590
- function Lo(e) {
3569
+ function Ii(e) {
3591
3570
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3592
3571
  }
3593
- function Hn(e) {
3572
+ function Pn(e) {
3594
3573
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3595
3574
  }
3596
- function Ro(e) {
3575
+ function Oi(e) {
3597
3576
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3598
3577
  }
3599
- function mt(e) {
3578
+ function ht(e) {
3600
3579
  e.forEach(function(t) {
3601
- if (delete t.location, Bn(t) || En(t))
3580
+ if (delete t.location, _n(t) || Bn(t))
3602
3581
  for (var n in t.options)
3603
- delete t.options[n].location, mt(t.options[n].value);
3582
+ delete t.options[n].location, ht(t.options[n].value);
3604
3583
  else
3605
- vn(t) && xn(t.style) || (yn(t) || _n(t)) && ct(t.style) ? delete t.style.location : wn(t) && mt(t.children);
3584
+ gn(t) && wn(t.style) || (vn(t) || yn(t)) && st(t.style) ? delete t.style.location : En(t) && ht(t.children);
3606
3585
  });
3607
3586
  }
3608
- function $o(e, t) {
3609
- t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3610
- var n = new Io(e, t).parse();
3587
+ function Ni(e, t) {
3588
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3589
+ var n = new Pi(e, t).parse();
3611
3590
  if (n.err) {
3612
3591
  var r = SyntaxError(C[n.err.kind]);
3613
3592
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3614
3593
  }
3615
- return t?.captureLocation || mt(n.val), n.val;
3594
+ return t?.captureLocation || ht(n.val), n.val;
3616
3595
  }
3617
- var pe;
3596
+ var me;
3618
3597
  (function(e) {
3619
3598
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3620
- })(pe || (pe = {}));
3621
- var je = (
3599
+ })(me || (me = {}));
3600
+ var Ge = (
3622
3601
  /** @class */
3623
3602
  function(e) {
3624
- ke(t, e);
3625
- function t(n, r, o) {
3626
- var i = e.call(this, n) || this;
3627
- return i.code = r, i.originalMessage = o, i;
3603
+ ne(t, e);
3604
+ function t(n, r, i) {
3605
+ var o = e.call(this, n) || this;
3606
+ return o.code = r, o.originalMessage = i, o;
3628
3607
  }
3629
3608
  return t.prototype.toString = function() {
3630
3609
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3631
3610
  }, t;
3632
3611
  }(Error)
3633
- ), jt = (
3612
+ ), Gt = (
3634
3613
  /** @class */
3635
3614
  function(e) {
3636
- ke(t, e);
3637
- function t(n, r, o, i) {
3638
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(o).join('", "'), '"'), pe.INVALID_VALUE, i) || this;
3615
+ ne(t, e);
3616
+ function t(n, r, i, o) {
3617
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3639
3618
  }
3640
3619
  return t;
3641
- }(je)
3642
- ), Fo = (
3620
+ }(Ge)
3621
+ ), Li = (
3643
3622
  /** @class */
3644
3623
  function(e) {
3645
- ke(t, e);
3646
- function t(n, r, o) {
3647
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), pe.INVALID_VALUE, o) || this;
3624
+ ne(t, e);
3625
+ function t(n, r, i) {
3626
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), me.INVALID_VALUE, i) || this;
3648
3627
  }
3649
3628
  return t;
3650
- }(je)
3651
- ), Uo = (
3629
+ }(Ge)
3630
+ ), Ri = (
3652
3631
  /** @class */
3653
3632
  function(e) {
3654
- ke(t, e);
3633
+ ne(t, e);
3655
3634
  function t(n, r) {
3656
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), pe.MISSING_VALUE, r) || this;
3635
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), me.MISSING_VALUE, r) || this;
3657
3636
  }
3658
3637
  return t;
3659
- }(je)
3638
+ }(Ge)
3660
3639
  ), G;
3661
3640
  (function(e) {
3662
3641
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3663
3642
  })(G || (G = {}));
3664
- function Do(e) {
3643
+ function Fi(e) {
3665
3644
  return e.length < 2 ? e : e.reduce(function(t, n) {
3666
3645
  var r = t[t.length - 1];
3667
3646
  return !r || r.type !== G.literal || n.type !== G.literal ? t.push(n) : r.value += n.value, t;
3668
3647
  }, []);
3669
3648
  }
3670
- function Go(e) {
3649
+ function $i(e) {
3671
3650
  return typeof e == "function";
3672
3651
  }
3673
- function Ne(e, t, n, r, o, i, s) {
3674
- if (e.length === 1 && Rt(e[0]))
3652
+ function Ne(e, t, n, r, i, o, s) {
3653
+ if (e.length === 1 && Nt(e[0]))
3675
3654
  return [
3676
3655
  {
3677
3656
  type: G.literal,
@@ -3680,105 +3659,105 @@ function Ne(e, t, n, r, o, i, s) {
3680
3659
  ];
3681
3660
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3682
3661
  var c = l[u];
3683
- if (Rt(c)) {
3662
+ if (Nt(c)) {
3684
3663
  a.push({
3685
3664
  type: G.literal,
3686
3665
  value: c.value
3687
3666
  });
3688
3667
  continue;
3689
3668
  }
3690
- if (uo(c)) {
3691
- typeof i == "number" && a.push({
3669
+ if (si(c)) {
3670
+ typeof o == "number" && a.push({
3692
3671
  type: G.literal,
3693
- value: n.getNumberFormat(t).format(i)
3672
+ value: n.getNumberFormat(t).format(o)
3694
3673
  });
3695
3674
  continue;
3696
3675
  }
3697
3676
  var f = c.value;
3698
- if (!(o && f in o))
3699
- throw new Uo(f, s);
3700
- var d = o[f];
3701
- if (ao(c)) {
3677
+ if (!(i && f in i))
3678
+ throw new Ri(f, s);
3679
+ var d = i[f];
3680
+ if (oi(c)) {
3702
3681
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3703
3682
  type: typeof d == "string" ? G.literal : G.object,
3704
3683
  value: d
3705
3684
  });
3706
3685
  continue;
3707
3686
  }
3708
- if (yn(c)) {
3709
- var p = typeof c.style == "string" ? r.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
3687
+ if (vn(c)) {
3688
+ var p = typeof c.style == "string" ? r.date[c.style] : st(c.style) ? c.style.parsedOptions : void 0;
3710
3689
  a.push({
3711
3690
  type: G.literal,
3712
3691
  value: n.getDateTimeFormat(t, p).format(d)
3713
3692
  });
3714
3693
  continue;
3715
3694
  }
3716
- if (_n(c)) {
3717
- var p = typeof c.style == "string" ? r.time[c.style] : ct(c.style) ? c.style.parsedOptions : r.time.medium;
3695
+ if (yn(c)) {
3696
+ var p = typeof c.style == "string" ? r.time[c.style] : st(c.style) ? c.style.parsedOptions : r.time.medium;
3718
3697
  a.push({
3719
3698
  type: G.literal,
3720
3699
  value: n.getDateTimeFormat(t, p).format(d)
3721
3700
  });
3722
3701
  continue;
3723
3702
  }
3724
- if (vn(c)) {
3725
- var p = typeof c.style == "string" ? r.number[c.style] : xn(c.style) ? c.style.parsedOptions : void 0;
3703
+ if (gn(c)) {
3704
+ var p = typeof c.style == "string" ? r.number[c.style] : wn(c.style) ? c.style.parsedOptions : void 0;
3726
3705
  p && p.scale && (d = d * (p.scale || 1)), a.push({
3727
3706
  type: G.literal,
3728
3707
  value: n.getNumberFormat(t, p).format(d)
3729
3708
  });
3730
3709
  continue;
3731
3710
  }
3732
- if (wn(c)) {
3733
- var g = c.children, b = c.value, m = o[b];
3734
- if (!Go(m))
3735
- throw new Fo(b, "function", s);
3736
- var v = Ne(g, t, n, r, o, i), _ = m(v.map(function(T) {
3737
- return T.value;
3711
+ if (En(c)) {
3712
+ var g = c.children, b = c.value, m = i[b];
3713
+ if (!$i(m))
3714
+ throw new Li(b, "function", s);
3715
+ var v = Ne(g, t, n, r, i, o), _ = m(v.map(function(M) {
3716
+ return M.value;
3738
3717
  }));
3739
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(T) {
3718
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(M) {
3740
3719
  return {
3741
- type: typeof T == "string" ? G.literal : G.object,
3742
- value: T
3720
+ type: typeof M == "string" ? G.literal : G.object,
3721
+ value: M
3743
3722
  };
3744
3723
  }));
3745
3724
  }
3746
- if (Bn(c)) {
3725
+ if (_n(c)) {
3747
3726
  var B = c.options[d] || c.options.other;
3748
3727
  if (!B)
3749
- throw new jt(c.value, d, Object.keys(c.options), s);
3750
- a.push.apply(a, Ne(B.value, t, n, r, o));
3728
+ throw new Gt(c.value, d, Object.keys(c.options), s);
3729
+ a.push.apply(a, Ne(B.value, t, n, r, i));
3751
3730
  continue;
3752
3731
  }
3753
- if (En(c)) {
3732
+ if (Bn(c)) {
3754
3733
  var B = c.options["=".concat(d)];
3755
3734
  if (!B) {
3756
3735
  if (!Intl.PluralRules)
3757
- throw new je(`Intl.PluralRules is not available in this environment.
3736
+ throw new Ge(`Intl.PluralRules is not available in this environment.
3758
3737
  Try polyfilling it using "@formatjs/intl-pluralrules"
3759
- `, pe.MISSING_INTL_API, s);
3738
+ `, me.MISSING_INTL_API, s);
3760
3739
  var N = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3761
3740
  B = c.options[N] || c.options.other;
3762
3741
  }
3763
3742
  if (!B)
3764
- throw new jt(c.value, d, Object.keys(c.options), s);
3765
- a.push.apply(a, Ne(B.value, t, n, r, o, d - (c.offset || 0)));
3743
+ throw new Gt(c.value, d, Object.keys(c.options), s);
3744
+ a.push.apply(a, Ne(B.value, t, n, r, i, d - (c.offset || 0)));
3766
3745
  continue;
3767
3746
  }
3768
3747
  }
3769
- return Do(a);
3748
+ return Fi(a);
3770
3749
  }
3771
- function ko(e, t) {
3772
- return t ? J(J(J({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3773
- return n[r] = J(J({}, e[r]), t[r] || {}), n;
3750
+ function Ui(e, t) {
3751
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3752
+ return n[r] = A(A({}, e[r]), t[r] || {}), n;
3774
3753
  }, {})) : e;
3775
3754
  }
3776
- function jo(e, t) {
3755
+ function Di(e, t) {
3777
3756
  return t ? Object.keys(e).reduce(function(n, r) {
3778
- return n[r] = ko(e[r], t[r]), n;
3779
- }, J({}, e)) : e;
3757
+ return n[r] = Ui(e[r], t[r]), n;
3758
+ }, A({}, e)) : e;
3780
3759
  }
3781
- function Ye(e) {
3760
+ function Qe(e) {
3782
3761
  return {
3783
3762
  create: function() {
3784
3763
  return {
@@ -3792,50 +3771,50 @@ function Ye(e) {
3792
3771
  }
3793
3772
  };
3794
3773
  }
3795
- function Wo(e) {
3774
+ function Gi(e) {
3796
3775
  return e === void 0 && (e = {
3797
3776
  number: {},
3798
3777
  dateTime: {},
3799
3778
  pluralRules: {}
3800
3779
  }), {
3801
- getNumberFormat: qe(function() {
3780
+ getNumberFormat: Xe(function() {
3802
3781
  for (var t, n = [], r = 0; r < arguments.length; r++)
3803
3782
  n[r] = arguments[r];
3804
- return new ((t = Intl.NumberFormat).bind.apply(t, Ze([void 0], n, !1)))();
3783
+ return new ((t = Intl.NumberFormat).bind.apply(t, fe([void 0], n, !1)))();
3805
3784
  }, {
3806
- cache: Ye(e.number),
3807
- strategy: Qe.variadic
3785
+ cache: Qe(e.number),
3786
+ strategy: Ze.variadic
3808
3787
  }),
3809
- getDateTimeFormat: qe(function() {
3788
+ getDateTimeFormat: Xe(function() {
3810
3789
  for (var t, n = [], r = 0; r < arguments.length; r++)
3811
3790
  n[r] = arguments[r];
3812
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ze([void 0], n, !1)))();
3791
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, fe([void 0], n, !1)))();
3813
3792
  }, {
3814
- cache: Ye(e.dateTime),
3815
- strategy: Qe.variadic
3793
+ cache: Qe(e.dateTime),
3794
+ strategy: Ze.variadic
3816
3795
  }),
3817
- getPluralRules: qe(function() {
3796
+ getPluralRules: Xe(function() {
3818
3797
  for (var t, n = [], r = 0; r < arguments.length; r++)
3819
3798
  n[r] = arguments[r];
3820
- return new ((t = Intl.PluralRules).bind.apply(t, Ze([void 0], n, !1)))();
3799
+ return new ((t = Intl.PluralRules).bind.apply(t, fe([void 0], n, !1)))();
3821
3800
  }, {
3822
- cache: Ye(e.pluralRules),
3823
- strategy: Qe.variadic
3801
+ cache: Qe(e.pluralRules),
3802
+ strategy: Ze.variadic
3824
3803
  })
3825
3804
  };
3826
3805
  }
3827
- var Vo = (
3806
+ var ki = (
3828
3807
  /** @class */
3829
3808
  function() {
3830
- function e(t, n, r, o) {
3809
+ function e(t, n, r, i) {
3831
3810
  n === void 0 && (n = e.defaultLocale);
3832
- var i = this;
3811
+ var o = this;
3833
3812
  if (this.formatterCache = {
3834
3813
  number: {},
3835
3814
  dateTime: {},
3836
3815
  pluralRules: {}
3837
3816
  }, this.format = function(u) {
3838
- var l = i.formatToParts(u);
3817
+ var l = o.formatToParts(u);
3839
3818
  if (l.length === 1)
3840
3819
  return l[0].value;
3841
3820
  var c = l.reduce(function(f, d) {
@@ -3843,26 +3822,26 @@ var Vo = (
3843
3822
  }, []);
3844
3823
  return c.length <= 1 ? c[0] || "" : c;
3845
3824
  }, this.formatToParts = function(u) {
3846
- return Ne(i.ast, i.locales, i.formatters, i.formats, u, void 0, i.message);
3825
+ return Ne(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3847
3826
  }, this.resolvedOptions = function() {
3848
3827
  var u;
3849
3828
  return {
3850
- locale: ((u = i.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(i.locales)[0]
3829
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3851
3830
  };
3852
3831
  }, this.getAst = function() {
3853
- return i.ast;
3832
+ return o.ast;
3854
3833
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3855
3834
  if (this.message = t, !e.__parse)
3856
3835
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3857
- var s = o || {};
3836
+ var s = i || {};
3858
3837
  s.formatters;
3859
- var a = Kr(s, ["formatters"]);
3860
- this.ast = e.__parse(t, J(J({}, a), { locale: this.resolvedLocale }));
3838
+ var a = Br(s, ["formatters"]);
3839
+ this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3861
3840
  } else
3862
3841
  this.ast = t;
3863
3842
  if (!Array.isArray(this.ast))
3864
3843
  throw new TypeError("A message must be provided as a String or AST.");
3865
- this.formats = jo(e.formats, r), this.formatters = o && o.formatters || Wo(this.formatterCache);
3844
+ this.formats = Di(e.formats, r), this.formatters = i && i.formatters || Gi(this.formatterCache);
3866
3845
  }
3867
3846
  return Object.defineProperty(e, "defaultLocale", {
3868
3847
  get: function() {
@@ -3875,7 +3854,7 @@ var Vo = (
3875
3854
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3876
3855
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3877
3856
  }
3878
- }, e.__parse = $o, e.formats = {
3857
+ }, e.__parse = Ni, e.formats = {
3879
3858
  number: {
3880
3859
  integer: {
3881
3860
  maximumFractionDigits: 0
@@ -3936,113 +3915,113 @@ var Vo = (
3936
3915
  }, e;
3937
3916
  }()
3938
3917
  );
3939
- function zo(e, t) {
3918
+ function ji(e, t) {
3940
3919
  if (t == null)
3941
3920
  return;
3942
3921
  if (t in e)
3943
3922
  return e[t];
3944
3923
  const n = t.split(".");
3945
3924
  let r = e;
3946
- for (let o = 0; o < n.length; o++)
3925
+ for (let i = 0; i < n.length; i++)
3947
3926
  if (typeof r == "object") {
3948
- if (o > 0) {
3949
- const i = n.slice(o, n.length).join(".");
3950
- if (i in r) {
3951
- r = r[i];
3927
+ if (i > 0) {
3928
+ const o = n.slice(i, n.length).join(".");
3929
+ if (o in r) {
3930
+ r = r[o];
3952
3931
  break;
3953
3932
  }
3954
3933
  }
3955
- r = r[n[o]];
3934
+ r = r[n[i]];
3956
3935
  } else
3957
3936
  r = void 0;
3958
3937
  return r;
3959
3938
  }
3960
- const oe = {}, Xo = (e, t, n) => n && (t in oe || (oe[t] = {}), e in oe[t] || (oe[t][e] = n), n), On = (e, t) => {
3939
+ const ie = {}, Wi = (e, t, n) => n && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = n), n), Hn = (e, t) => {
3961
3940
  if (t == null)
3962
3941
  return;
3963
- if (t in oe && e in oe[t])
3964
- return oe[t][e];
3965
- const n = We(t);
3942
+ if (t in ie && e in ie[t])
3943
+ return ie[t][e];
3944
+ const n = ke(t);
3966
3945
  for (let r = 0; r < n.length; r++) {
3967
- const o = n[r], i = qo(o, e);
3968
- if (i)
3969
- return Xo(e, t, i);
3946
+ const i = n[r], o = zi(i, e);
3947
+ if (o)
3948
+ return Wi(e, t, o);
3970
3949
  }
3971
3950
  };
3972
- let _t;
3973
- const Se = Ge({});
3974
- function Zo(e) {
3975
- return _t[e] || null;
3951
+ let vt;
3952
+ const Se = De({});
3953
+ function Vi(e) {
3954
+ return vt[e] || null;
3976
3955
  }
3977
3956
  function In(e) {
3978
- return e in _t;
3957
+ return e in vt;
3979
3958
  }
3980
- function qo(e, t) {
3959
+ function zi(e, t) {
3981
3960
  if (!In(e))
3982
3961
  return null;
3983
- const n = Zo(e);
3984
- return zo(n, t);
3962
+ const n = Vi(e);
3963
+ return ji(n, t);
3985
3964
  }
3986
- function Qo(e) {
3965
+ function Xi(e) {
3987
3966
  if (e == null)
3988
3967
  return;
3989
- const t = We(e);
3968
+ const t = ke(e);
3990
3969
  for (let n = 0; n < t.length; n++) {
3991
3970
  const r = t[n];
3992
3971
  if (In(r))
3993
3972
  return r;
3994
3973
  }
3995
3974
  }
3996
- function Nn(e, ...t) {
3997
- delete oe[e], Se.update((n) => (n[e] = Yr.all([n[e] || {}, ...t]), n));
3975
+ function On(e, ...t) {
3976
+ delete ie[e], Se.update((n) => (n[e] = Yr.all([n[e] || {}, ...t]), n));
3998
3977
  }
3999
- be(
3978
+ ge(
4000
3979
  [Se],
4001
3980
  ([e]) => Object.keys(e)
4002
3981
  );
4003
- Se.subscribe((e) => _t = e);
3982
+ Se.subscribe((e) => vt = e);
4004
3983
  const Le = {};
4005
- function Jo(e, t) {
3984
+ function Zi(e, t) {
4006
3985
  Le[e].delete(t), Le[e].size === 0 && delete Le[e];
4007
3986
  }
4008
- function Ln(e) {
3987
+ function Nn(e) {
4009
3988
  return Le[e];
4010
3989
  }
4011
- function Yo(e) {
4012
- return We(e).map((t) => {
4013
- const n = Ln(t);
3990
+ function qi(e) {
3991
+ return ke(e).map((t) => {
3992
+ const n = Nn(t);
4014
3993
  return [t, n ? [...n] : []];
4015
3994
  }).filter(([, t]) => t.length > 0);
4016
3995
  }
4017
- function bt(e) {
4018
- return e == null ? !1 : We(e).some(
3996
+ function ft(e) {
3997
+ return e == null ? !1 : ke(e).some(
4019
3998
  (t) => {
4020
3999
  var n;
4021
- return (n = Ln(t)) == null ? void 0 : n.size;
4000
+ return (n = Nn(t)) == null ? void 0 : n.size;
4022
4001
  }
4023
4002
  );
4024
4003
  }
4025
- function Ko(e, t) {
4004
+ function Qi(e, t) {
4026
4005
  return Promise.all(
4027
- t.map((r) => (Jo(e, r), r().then((o) => o.default || o)))
4028
- ).then((r) => Nn(e, ...r));
4029
- }
4030
- const _e = {};
4031
- function Rn(e) {
4032
- if (!bt(e))
4033
- return e in _e ? _e[e] : Promise.resolve();
4034
- const t = Yo(e);
4035
- return _e[e] = Promise.all(
4006
+ t.map((r) => (Zi(e, r), r().then((i) => i.default || i)))
4007
+ ).then((r) => On(e, ...r));
4008
+ }
4009
+ const Be = {};
4010
+ function Ln(e) {
4011
+ if (!ft(e))
4012
+ return e in Be ? Be[e] : Promise.resolve();
4013
+ const t = qi(e);
4014
+ return Be[e] = Promise.all(
4036
4015
  t.map(
4037
- ([n, r]) => Ko(n, r)
4016
+ ([n, r]) => Qi(n, r)
4038
4017
  )
4039
4018
  ).then(() => {
4040
- if (bt(e))
4041
- return Rn(e);
4042
- delete _e[e];
4043
- }), _e[e];
4019
+ if (ft(e))
4020
+ return Ln(e);
4021
+ delete Be[e];
4022
+ }), Be[e];
4044
4023
  }
4045
- const ei = {
4024
+ const Ji = {
4046
4025
  number: {
4047
4026
  scientific: { notation: "scientific" },
4048
4027
  engineering: { notation: "engineering" },
@@ -4071,136 +4050,136 @@ const ei = {
4071
4050
  timeZoneName: "short"
4072
4051
  }
4073
4052
  }
4074
- }, ti = {
4053
+ }, Yi = {
4075
4054
  fallbackLocale: null,
4076
4055
  loadingDelay: 200,
4077
- formats: ei,
4056
+ formats: Ji,
4078
4057
  warnOnMissingMessages: !0,
4079
4058
  handleMissingMessage: void 0,
4080
4059
  ignoreTag: !0
4081
- }, ni = ti;
4082
- function me() {
4083
- return ni;
4060
+ }, Ki = Yi;
4061
+ function be() {
4062
+ return Ki;
4084
4063
  }
4085
- const Ke = Ge(!1);
4086
- var ri = Object.defineProperty, oi = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, Vt = (e, t, n) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ui = (e, t) => {
4064
+ const Je = De(!1);
4065
+ var eo = Object.defineProperty, to = Object.defineProperties, no = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, ro = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable, jt = (e, t, n) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, oo = (e, t) => {
4087
4066
  for (var n in t || (t = {}))
4088
- si.call(t, n) && Vt(e, n, t[n]);
4089
- if (Wt)
4090
- for (var n of Wt(t))
4091
- ai.call(t, n) && Vt(e, n, t[n]);
4067
+ ro.call(t, n) && jt(e, n, t[n]);
4068
+ if (kt)
4069
+ for (var n of kt(t))
4070
+ io.call(t, n) && jt(e, n, t[n]);
4092
4071
  return e;
4093
- }, li = (e, t) => oi(e, ii(t));
4094
- let gt;
4095
- const Fe = Ge(null);
4096
- function zt(e) {
4072
+ }, so = (e, t) => to(e, no(t));
4073
+ let dt;
4074
+ const Fe = De(null);
4075
+ function Wt(e) {
4097
4076
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4098
4077
  }
4099
- function We(e, t = me().fallbackLocale) {
4100
- const n = zt(e);
4101
- return t ? [.../* @__PURE__ */ new Set([...n, ...zt(t)])] : n;
4078
+ function ke(e, t = be().fallbackLocale) {
4079
+ const n = Wt(e);
4080
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Wt(t)])] : n;
4102
4081
  }
4103
4082
  function se() {
4104
- return gt ?? void 0;
4083
+ return dt ?? void 0;
4105
4084
  }
4106
4085
  Fe.subscribe((e) => {
4107
- gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4086
+ dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4108
4087
  });
4109
- const ci = (e) => {
4110
- if (e && Qo(e) && bt(e)) {
4111
- const { loadingDelay: t } = me();
4088
+ const ao = (e) => {
4089
+ if (e && Xi(e) && ft(e)) {
4090
+ const { loadingDelay: t } = be();
4112
4091
  let n;
4113
4092
  return typeof window < "u" && se() != null && t ? n = window.setTimeout(
4114
- () => Ke.set(!0),
4093
+ () => Je.set(!0),
4115
4094
  t
4116
- ) : Ke.set(!0), Rn(e).then(() => {
4095
+ ) : Je.set(!0), Ln(e).then(() => {
4117
4096
  Fe.set(e);
4118
4097
  }).finally(() => {
4119
- clearTimeout(n), Ke.set(!1);
4098
+ clearTimeout(n), Je.set(!1);
4120
4099
  });
4121
4100
  }
4122
4101
  return Fe.set(e);
4123
- }, ge = li(ui({}, Fe), {
4124
- set: ci
4125
- }), Ve = (e) => {
4102
+ }, ve = so(oo({}, Fe), {
4103
+ set: ao
4104
+ }), je = (e) => {
4126
4105
  const t = /* @__PURE__ */ Object.create(null);
4127
4106
  return (r) => {
4128
- const o = JSON.stringify(r);
4129
- return o in t ? t[o] : t[o] = e(r);
4107
+ const i = JSON.stringify(r);
4108
+ return i in t ? t[i] : t[i] = e(r);
4130
4109
  };
4131
4110
  };
4132
- var hi = Object.defineProperty, Ue = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, Xt = (e, t, n) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bt = (e, t) => {
4111
+ var uo = Object.defineProperty, $e = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, Vt = (e, t, n) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, yt = (e, t) => {
4133
4112
  for (var n in t || (t = {}))
4134
- $n.call(t, n) && Xt(e, n, t[n]);
4135
- if (Ue)
4136
- for (var n of Ue(t))
4137
- Fn.call(t, n) && Xt(e, n, t[n]);
4113
+ Rn.call(t, n) && Vt(e, n, t[n]);
4114
+ if ($e)
4115
+ for (var n of $e(t))
4116
+ Fn.call(t, n) && Vt(e, n, t[n]);
4138
4117
  return e;
4139
- }, ve = (e, t) => {
4118
+ }, ye = (e, t) => {
4140
4119
  var n = {};
4141
4120
  for (var r in e)
4142
- $n.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4143
- if (e != null && Ue)
4144
- for (var r of Ue(e))
4121
+ Rn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4122
+ if (e != null && $e)
4123
+ for (var r of $e(e))
4145
4124
  t.indexOf(r) < 0 && Fn.call(e, r) && (n[r] = e[r]);
4146
4125
  return n;
4147
4126
  };
4148
- const xe = (e, t) => {
4149
- const { formats: n } = me();
4127
+ const Ce = (e, t) => {
4128
+ const { formats: n } = be();
4150
4129
  if (e in n && t in n[e])
4151
4130
  return n[e][t];
4152
4131
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4153
- }, fi = Ve(
4132
+ }, lo = je(
4154
4133
  (e) => {
4155
- var t = e, { locale: n, format: r } = t, o = ve(t, ["locale", "format"]);
4134
+ var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
4156
4135
  if (n == null)
4157
4136
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4158
- return r && (o = xe("number", r)), new Intl.NumberFormat(n, o);
4137
+ return r && (i = Ce("number", r)), new Intl.NumberFormat(n, i);
4159
4138
  }
4160
- ), di = Ve(
4139
+ ), co = je(
4161
4140
  (e) => {
4162
- var t = e, { locale: n, format: r } = t, o = ve(t, ["locale", "format"]);
4141
+ var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
4163
4142
  if (n == null)
4164
4143
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4165
- return r ? o = xe("date", r) : Object.keys(o).length === 0 && (o = xe("date", "short")), new Intl.DateTimeFormat(n, o);
4144
+ return r ? i = Ce("date", r) : Object.keys(i).length === 0 && (i = Ce("date", "short")), new Intl.DateTimeFormat(n, i);
4166
4145
  }
4167
- ), pi = Ve(
4146
+ ), ho = je(
4168
4147
  (e) => {
4169
- var t = e, { locale: n, format: r } = t, o = ve(t, ["locale", "format"]);
4148
+ var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
4170
4149
  if (n == null)
4171
4150
  throw new Error(
4172
4151
  '[svelte-i18n] A "locale" must be set to format time values'
4173
4152
  );
4174
- return r ? o = xe("time", r) : Object.keys(o).length === 0 && (o = xe("time", "short")), new Intl.DateTimeFormat(n, o);
4153
+ return r ? i = Ce("time", r) : Object.keys(i).length === 0 && (i = Ce("time", "short")), new Intl.DateTimeFormat(n, i);
4175
4154
  }
4176
- ), mi = (e = {}) => {
4155
+ ), fo = (e = {}) => {
4177
4156
  var t = e, {
4178
4157
  locale: n = se()
4179
- } = t, r = ve(t, [
4158
+ } = t, r = ye(t, [
4180
4159
  "locale"
4181
4160
  ]);
4182
- return fi(Bt({ locale: n }, r));
4183
- }, bi = (e = {}) => {
4161
+ return lo(yt({ locale: n }, r));
4162
+ }, po = (e = {}) => {
4184
4163
  var t = e, {
4185
4164
  locale: n = se()
4186
- } = t, r = ve(t, [
4165
+ } = t, r = ye(t, [
4187
4166
  "locale"
4188
4167
  ]);
4189
- return di(Bt({ locale: n }, r));
4190
- }, gi = (e = {}) => {
4168
+ return co(yt({ locale: n }, r));
4169
+ }, mo = (e = {}) => {
4191
4170
  var t = e, {
4192
4171
  locale: n = se()
4193
- } = t, r = ve(t, [
4172
+ } = t, r = ye(t, [
4194
4173
  "locale"
4195
4174
  ]);
4196
- return pi(Bt({ locale: n }, r));
4197
- }, vi = Ve(
4175
+ return ho(yt({ locale: n }, r));
4176
+ }, bo = je(
4198
4177
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4199
- (e, t = se()) => new Vo(e, t, me().formats, {
4200
- ignoreTag: me().ignoreTag
4178
+ (e, t = se()) => new ki(e, t, be().formats, {
4179
+ ignoreTag: be().ignoreTag
4201
4180
  })
4202
- ), yi = (e, t = {}) => {
4203
- var n, r, o, i;
4181
+ ), go = (e, t = {}) => {
4182
+ var n, r, i, o;
4204
4183
  let s = t;
4205
4184
  typeof e == "object" && (s = e, e = s.id);
4206
4185
  const {
@@ -4212,9 +4191,9 @@ const xe = (e, t) => {
4212
4191
  throw new Error(
4213
4192
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4214
4193
  );
4215
- let c = On(e, u);
4194
+ let c = Hn(e, u);
4216
4195
  if (!c)
4217
- c = (i = (o = (r = (n = me()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? o : l) != null ? i : e;
4196
+ c = (o = (i = (r = (n = be()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4218
4197
  else if (typeof c != "string")
4219
4198
  return console.warn(
4220
4199
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4223,7 +4202,7 @@ const xe = (e, t) => {
4223
4202
  return c;
4224
4203
  let f = c;
4225
4204
  try {
4226
- f = vi(c, u).format(a);
4205
+ f = bo(c, u).format(a);
4227
4206
  } catch (d) {
4228
4207
  d instanceof Error && console.warn(
4229
4208
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4231,21 +4210,21 @@ const xe = (e, t) => {
4231
4210
  );
4232
4211
  }
4233
4212
  return f;
4234
- }, _i = (e, t) => gi(t).format(e), Bi = (e, t) => bi(t).format(e), Ei = (e, t) => mi(t).format(e), wi = (e, t = se()) => On(e, t), xi = be([ge, Se], () => yi);
4235
- be([ge], () => _i);
4236
- be([ge], () => Bi);
4237
- be([ge], () => Ei);
4238
- be([ge, Se], () => wi);
4213
+ }, vo = (e, t) => mo(t).format(e), yo = (e, t) => po(t).format(e), _o = (e, t) => fo(t).format(e), Bo = (e, t = se()) => Hn(e, t), Eo = ge([ve, Se], () => go);
4214
+ ge([ve], () => vo);
4215
+ ge([ve], () => yo);
4216
+ ge([ve], () => _o);
4217
+ ge([ve, Se], () => Bo);
4239
4218
  window.emWidgets = { topic: Lr };
4240
- const Ci = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4219
+ const wo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4241
4220
  String(Number.MAX_SAFE_INTEGER).length;
4242
- function Zt(e, t) {
4243
- Nn(e, t);
4221
+ function zt(e, t) {
4222
+ On(e, t);
4244
4223
  }
4245
- function Si(e) {
4246
- ge.set(e);
4224
+ function xo(e) {
4225
+ ve.set(e);
4247
4226
  }
4248
- const qt = {
4227
+ const Xt = {
4249
4228
  en: {
4250
4229
  titleBonuses: "Active Bonuses",
4251
4230
  bonusCode: "Do you have a bonus code?",
@@ -4379,28 +4358,28 @@ const qt = {
4379
4358
  bonusClaimErrorMessage: "Invalid bonus"
4380
4359
  }
4381
4360
  };
4382
- function Ai(e, t) {
4361
+ function Co(e, t) {
4383
4362
  if (e) {
4384
4363
  const n = document.createElement("style");
4385
4364
  n.innerHTML = t, e.appendChild(n);
4386
4365
  }
4387
4366
  }
4388
- function Ti(e, t) {
4367
+ function So(e, t) {
4389
4368
  if (!e || !t)
4390
4369
  return;
4391
4370
  const n = new URL(t);
4392
4371
  fetch(n.href).then((r) => r.text()).then((r) => {
4393
- const o = document.createElement("style");
4394
- o.innerHTML = r, e && e.appendChild(o);
4372
+ const i = document.createElement("style");
4373
+ i.innerHTML = r, e && e.appendChild(i);
4395
4374
  }).catch((r) => {
4396
4375
  console.error("There was an error while trying to load client styling from URL", r);
4397
4376
  });
4398
4377
  }
4399
- function Pi(e, t, n) {
4378
+ function Ao(e, t, n) {
4400
4379
  if (window.emMessageBus) {
4401
4380
  const r = document.createElement("style");
4402
- window.emMessageBus.subscribe(t, (o) => {
4403
- r.innerHTML = o, e && e.appendChild(r);
4381
+ window.emMessageBus.subscribe(t, (i) => {
4382
+ r.innerHTML = i, e && e.appendChild(r);
4404
4383
  });
4405
4384
  }
4406
4385
  }
@@ -4416,35 +4395,35 @@ if (typeof window < "u") {
4416
4395
  }
4417
4396
  };
4418
4397
  };
4419
- customElements.define = e(customElements.define), import("./PlayerBonusCard-DkfHf1Yz.js").then(({ default: t }) => {
4398
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-B2fxX5Qv.js").then(({ default: t }) => {
4420
4399
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4421
4400
  });
4422
4401
  }
4423
- function Mi(e) {
4424
- nr(e, "svelte-44vwrd", '.ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}.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)}}');
4402
+ function To(e) {
4403
+ tr(e, "svelte-44vwrd", '.ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}.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)}}');
4425
4404
  }
4426
- function Qt(e, t, n) {
4405
+ function Zt(e, t, n) {
4427
4406
  const r = e.slice();
4428
4407
  return r[51] = t[n], r[53] = n, r;
4429
4408
  }
4430
- function Jt(e, t, n) {
4409
+ function qt(e, t, n) {
4431
4410
  const r = e.slice();
4432
4411
  return r[54] = t[n], r;
4433
4412
  }
4434
- function Hi(e) {
4435
- let t, n, r, o, i, s, a, u, l, c, f = (
4413
+ function Mo(e) {
4414
+ let t, n, r, i, o, s, a, u, l, c, f = (
4436
4415
  /*$_*/
4437
4416
  e[20]("titleBonuses") + ""
4438
4417
  ), d, p, g;
4439
4418
  return {
4440
4419
  c() {
4441
- t = A("div"), n = ae("svg"), r = ae("defs"), o = ae("style"), i = $(`.aaa {
4420
+ t = T("div"), n = ae("svg"), r = ae("defs"), i = ae("style"), o = F(`.aaa {
4442
4421
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
4443
4422
  }
4444
- `), s = ae("g"), a = ae("g"), u = ae("path"), l = k(), c = A("h2"), d = $(f), w(u, "class", "aaa"), w(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(u, "transform", "translate(15 15) rotate(180)"), w(a, "transform", "translate(20 158)"), w(s, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(c, "class", "ActiveBonusesTitleMobile"), w(t, "class", "MenuReturnButton");
4423
+ `), s = ae("g"), a = ae("g"), u = ae("path"), l = k(), c = T("h2"), d = F(f), w(u, "class", "aaa"), w(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(u, "transform", "translate(15 15) rotate(180)"), w(a, "transform", "translate(20 158)"), w(s, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(c, "class", "ActiveBonusesTitleMobile"), w(t, "class", "MenuReturnButton");
4445
4424
  },
4446
4425
  m(b, m) {
4447
- D(b, 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 || (g = Q(
4426
+ D(b, t, m), E(t, n), E(n, r), E(r, i), E(i, o), E(n, s), E(s, a), E(a, u), E(t, l), E(t, c), E(c, d), p || (g = Q(
4448
4427
  t,
4449
4428
  "click",
4450
4429
  /*click_handler*/
@@ -4454,149 +4433,149 @@ function Hi(e) {
4454
4433
  p(b, m) {
4455
4434
  m[0] & /*$_*/
4456
4435
  1048576 && f !== (f = /*$_*/
4457
- b[20]("titleBonuses") + "") && te(d, f);
4436
+ b[20]("titleBonuses") + "") && ee(d, f);
4458
4437
  },
4459
4438
  d(b) {
4460
- b && F(t), p = !1, g();
4439
+ b && $(t), p = !1, g();
4461
4440
  }
4462
4441
  };
4463
4442
  }
4464
- function Yt(e) {
4443
+ function Qt(e) {
4465
4444
  let t, n = (
4466
4445
  /*$_*/
4467
4446
  e[20]("invalidBonusCode") + ""
4468
4447
  ), r;
4469
4448
  return {
4470
4449
  c() {
4471
- t = A("p"), r = $(n), w(t, "class", "InvalidBonusCodeMessage");
4450
+ t = T("p"), r = F(n), w(t, "class", "InvalidBonusCodeMessage");
4472
4451
  },
4473
- m(o, i) {
4474
- D(o, t, i), E(t, r);
4452
+ m(i, o) {
4453
+ D(i, t, o), E(t, r);
4475
4454
  },
4476
- p(o, i) {
4477
- i[0] & /*$_*/
4455
+ p(i, o) {
4456
+ o[0] & /*$_*/
4478
4457
  1048576 && n !== (n = /*$_*/
4479
- o[20]("invalidBonusCode") + "") && te(r, n);
4458
+ i[20]("invalidBonusCode") + "") && ee(r, n);
4480
4459
  },
4481
- d(o) {
4482
- o && F(t);
4460
+ d(i) {
4461
+ i && $(t);
4483
4462
  }
4484
4463
  };
4485
4464
  }
4486
- function Oi(e) {
4465
+ function Po(e) {
4487
4466
  let t, n, r;
4488
- function o(u, l) {
4467
+ function i(u, l) {
4489
4468
  return (
4490
4469
  /*activeBonusesList*/
4491
- u[18].length === 0 ? Li : Ni
4470
+ u[18].length === 0 ? Oo : Io
4492
4471
  );
4493
4472
  }
4494
- let i = o(e), s = i(e), a = (
4473
+ let o = i(e), s = o(e), a = (
4495
4474
  /*activeBonusesList*/
4496
- e[18].length !== 0 && en(e)
4475
+ e[18].length !== 0 && Yt(e)
4497
4476
  );
4498
4477
  return {
4499
4478
  c() {
4500
- t = A("div"), s.c(), n = k(), a && a.c(), r = yt(), w(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4479
+ t = T("div"), s.c(), n = k(), a && a.c(), r = mt(), w(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4501
4480
  (e[21] ? "ActiveBonusesGridMobile" : ""));
4502
4481
  },
4503
4482
  m(u, l) {
4504
4483
  D(u, t, l), s.m(t, null), D(u, n, l), a && a.m(u, l), D(u, r, l);
4505
4484
  },
4506
4485
  p(u, l) {
4507
- i === (i = o(u)) && s ? s.p(u, l) : (s.d(1), s = i(u), s && (s.c(), s.m(t, null))), /*activeBonusesList*/
4508
- u[18].length !== 0 ? a ? a.p(u, l) : (a = en(u), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
4486
+ o === (o = i(u)) && s ? s.p(u, l) : (s.d(1), s = o(u), s && (s.c(), s.m(t, null))), /*activeBonusesList*/
4487
+ u[18].length !== 0 ? a ? a.p(u, l) : (a = Yt(u), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
4509
4488
  },
4510
4489
  d(u) {
4511
- u && (F(t), F(n), F(r)), s.d(), a && a.d(u);
4490
+ u && ($(t), $(n), $(r)), s.d(), a && a.d(u);
4512
4491
  }
4513
4492
  };
4514
4493
  }
4515
- function Ii(e) {
4494
+ function Ho(e) {
4516
4495
  let t;
4517
4496
  return {
4518
4497
  c() {
4519
- t = A("div"), w(t, "class", "ModalLoader"), w(t, "part", "ModalLoader");
4498
+ t = T("div"), w(t, "class", "ModalLoader"), w(t, "part", "ModalLoader");
4520
4499
  },
4521
4500
  m(n, r) {
4522
4501
  D(n, t, r);
4523
4502
  },
4524
4503
  p: q,
4525
4504
  d(n) {
4526
- n && F(t);
4505
+ n && $(t);
4527
4506
  }
4528
4507
  };
4529
4508
  }
4530
- function Ni(e) {
4509
+ function Io(e) {
4531
4510
  let t, n = Re(
4532
4511
  /*activeBonusesList*/
4533
4512
  e[18]
4534
4513
  ), r = [];
4535
- for (let o = 0; o < n.length; o += 1)
4536
- r[o] = Kt(Jt(e, n, o));
4514
+ for (let i = 0; i < n.length; i += 1)
4515
+ r[i] = Jt(qt(e, n, i));
4537
4516
  return {
4538
4517
  c() {
4539
- for (let o = 0; o < r.length; o += 1)
4540
- r[o].c();
4541
- t = yt();
4518
+ for (let i = 0; i < r.length; i += 1)
4519
+ r[i].c();
4520
+ t = mt();
4542
4521
  },
4543
- m(o, i) {
4522
+ m(i, o) {
4544
4523
  for (let s = 0; s < r.length; s += 1)
4545
- r[s] && r[s].m(o, i);
4546
- D(o, t, i);
4524
+ r[s] && r[s].m(i, o);
4525
+ D(i, t, o);
4547
4526
  },
4548
- p(o, i) {
4549
- if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
4527
+ p(i, o) {
4528
+ if (o[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
4550
4529
  262399) {
4551
4530
  n = Re(
4552
4531
  /*activeBonusesList*/
4553
- o[18]
4532
+ i[18]
4554
4533
  );
4555
4534
  let s;
4556
4535
  for (s = 0; s < n.length; s += 1) {
4557
- const a = Jt(o, n, s);
4558
- r[s] ? r[s].p(a, i) : (r[s] = Kt(a), r[s].c(), r[s].m(t.parentNode, t));
4536
+ const a = qt(i, n, s);
4537
+ r[s] ? r[s].p(a, o) : (r[s] = Jt(a), r[s].c(), r[s].m(t.parentNode, t));
4559
4538
  }
4560
4539
  for (; s < r.length; s += 1)
4561
4540
  r[s].d(1);
4562
4541
  r.length = n.length;
4563
4542
  }
4564
4543
  },
4565
- d(o) {
4566
- o && F(t), an(r, o);
4544
+ d(i) {
4545
+ i && $(t), on(r, i);
4567
4546
  }
4568
4547
  };
4569
4548
  }
4570
- function Li(e) {
4549
+ function Oo(e) {
4571
4550
  let t, n = (
4572
4551
  /*$_*/
4573
4552
  e[20]("noActiveBonuses") + ""
4574
4553
  ), r;
4575
4554
  return {
4576
4555
  c() {
4577
- t = A("p"), r = $(n);
4556
+ t = T("p"), r = F(n);
4578
4557
  },
4579
- m(o, i) {
4580
- D(o, t, i), E(t, r);
4558
+ m(i, o) {
4559
+ D(i, t, o), E(t, r);
4581
4560
  },
4582
- p(o, i) {
4583
- i[0] & /*$_*/
4561
+ p(i, o) {
4562
+ o[0] & /*$_*/
4584
4563
  1048576 && n !== (n = /*$_*/
4585
- o[20]("noActiveBonuses") + "") && te(r, n);
4564
+ i[20]("noActiveBonuses") + "") && ee(r, n);
4586
4565
  },
4587
- d(o) {
4588
- o && F(t);
4566
+ d(i) {
4567
+ i && $(t);
4589
4568
  }
4590
4569
  };
4591
4570
  }
4592
- function Ri(e) {
4593
- let t, n, r, o, i, s, a, u, l, c, f, d, p, g, b, m, v;
4571
+ function No(e) {
4572
+ let t, n, r, i, o, s, a, u, l, c, f, d, p, g, b, m, v;
4594
4573
  return {
4595
4574
  c() {
4596
- t = A("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4575
+ t = T("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4597
4576
  e[54].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4598
- e[54].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4599
- e[54].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4577
+ e[54].termsandconditionsurl), h(t, "termsandconditionsasset", i = /*activeBonus*/
4578
+ e[54].termsandconditionsasset), h(t, "endpoint", o = /*activeBonus*/
4600
4579
  e[54].endpoint), h(t, "playerid", s = /*activeBonus*/
4601
4580
  e[54].playerid), h(t, "session", a = /*activeBonus*/
4602
4581
  e[54].session), h(t, "bonuswalletid", u = /*activeBonus*/
@@ -4661,10 +4640,10 @@ function Ri(e) {
4661
4640
  _[54].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), B[0] & /*activeBonusesList*/
4662
4641
  262144 && r !== (r = /*activeBonus*/
4663
4642
  _[54].termsandconditionsurl) && h(t, "termsandconditionsurl", r), B[0] & /*activeBonusesList*/
4664
- 262144 && o !== (o = /*activeBonus*/
4665
- _[54].termsandconditionsasset) && h(t, "termsandconditionsasset", o), B[0] & /*activeBonusesList*/
4666
4643
  262144 && i !== (i = /*activeBonus*/
4667
- _[54].endpoint) && h(t, "endpoint", i), B[0] & /*activeBonusesList*/
4644
+ _[54].termsandconditionsasset) && h(t, "termsandconditionsasset", i), B[0] & /*activeBonusesList*/
4645
+ 262144 && o !== (o = /*activeBonus*/
4646
+ _[54].endpoint) && h(t, "endpoint", o), B[0] & /*activeBonusesList*/
4668
4647
  262144 && s !== (s = /*activeBonus*/
4669
4648
  _[54].playerid) && h(t, "playerid", s), B[0] & /*activeBonusesList*/
4670
4649
  262144 && a !== (a = /*activeBonus*/
@@ -4740,18 +4719,18 @@ function Ri(e) {
4740
4719
  );
4741
4720
  },
4742
4721
  d(_) {
4743
- _ && F(t);
4722
+ _ && $(t);
4744
4723
  }
4745
4724
  };
4746
4725
  }
4747
- function $i(e) {
4748
- let t, n, r, o, i, s, a, u, l, c, f, d, p, g, b;
4726
+ function Lo(e) {
4727
+ let t, n, r, i, o, s, a, u, l, c, f, d, p, g, b;
4749
4728
  return {
4750
4729
  c() {
4751
- t = A("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4730
+ t = T("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4752
4731
  e[54].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4753
- e[54].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4754
- e[54].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4732
+ e[54].termsandconditionsurl), h(t, "termsandconditionsasset", i = /*activeBonus*/
4733
+ e[54].termsandconditionsasset), h(t, "endpoint", o = /*activeBonus*/
4755
4734
  e[54].endpoint), h(t, "playerid", s = /*activeBonus*/
4756
4735
  e[54].playerid), h(t, "session", a = /*activeBonus*/
4757
4736
  e[54].session), h(t, "bonuswalletid", u = /*activeBonus*/
@@ -4813,10 +4792,10 @@ function $i(e) {
4813
4792
  m[54].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), v[0] & /*activeBonusesList*/
4814
4793
  262144 && r !== (r = /*activeBonus*/
4815
4794
  m[54].termsandconditionsurl) && h(t, "termsandconditionsurl", r), v[0] & /*activeBonusesList*/
4816
- 262144 && o !== (o = /*activeBonus*/
4817
- m[54].termsandconditionsasset) && h(t, "termsandconditionsasset", o), v[0] & /*activeBonusesList*/
4818
4795
  262144 && i !== (i = /*activeBonus*/
4819
- m[54].endpoint) && h(t, "endpoint", i), v[0] & /*activeBonusesList*/
4796
+ m[54].termsandconditionsasset) && h(t, "termsandconditionsasset", i), v[0] & /*activeBonusesList*/
4797
+ 262144 && o !== (o = /*activeBonus*/
4798
+ m[54].endpoint) && h(t, "endpoint", o), v[0] & /*activeBonusesList*/
4820
4799
  262144 && s !== (s = /*activeBonus*/
4821
4800
  m[54].playerid) && h(t, "playerid", s), v[0] & /*activeBonusesList*/
4822
4801
  262144 && a !== (a = /*activeBonus*/
@@ -4887,47 +4866,47 @@ function $i(e) {
4887
4866
  );
4888
4867
  },
4889
4868
  d(m) {
4890
- m && F(t);
4869
+ m && $(t);
4891
4870
  }
4892
4871
  };
4893
4872
  }
4894
- function Kt(e) {
4873
+ function Jt(e) {
4895
4874
  let t;
4896
- function n(i, s) {
4875
+ function n(o, s) {
4897
4876
  return (
4898
4877
  /*activeBonus*/
4899
- i[54].type === "freeRound" ? $i : Ri
4878
+ o[54].type === "freeRound" ? Lo : No
4900
4879
  );
4901
4880
  }
4902
- let r = n(e), o = r(e);
4881
+ let r = n(e), i = r(e);
4903
4882
  return {
4904
4883
  c() {
4905
- o.c(), t = yt();
4884
+ i.c(), t = mt();
4906
4885
  },
4907
- m(i, s) {
4908
- o.m(i, s), D(i, t, s);
4886
+ m(o, s) {
4887
+ i.m(o, s), D(o, t, s);
4909
4888
  },
4910
- p(i, s) {
4911
- r === (r = n(i)) && o ? o.p(i, s) : (o.d(1), o = r(i), o && (o.c(), o.m(t.parentNode, t)));
4889
+ p(o, s) {
4890
+ r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t.parentNode, t)));
4912
4891
  },
4913
- d(i) {
4914
- i && F(t), o.d(i);
4892
+ d(o) {
4893
+ o && $(t), i.d(o);
4915
4894
  }
4916
4895
  };
4917
4896
  }
4918
- function en(e) {
4919
- let t, n, r, o, i, s, a, u, l, c, f, d, p, g, b, m, v, _, B, N = Re(Array(
4897
+ function Yt(e) {
4898
+ let t, n, r, i, o, s, a, u, l, c, f, d, p, g, b, m, v, _, B, N = Re(Array(
4920
4899
  /*numberOfPages*/
4921
4900
  e[16]
4922
- )), T = [];
4901
+ )), M = [];
4923
4902
  for (let x = 0; x < N.length; x += 1)
4924
- T[x] = tn(Qt(e, N, x));
4903
+ M[x] = Kt(Zt(e, N, x));
4925
4904
  return {
4926
4905
  c() {
4927
- t = A("div"), n = A("span"), r = $("|<"), i = k(), s = A("span"), a = $("<"), l = k();
4928
- for (let x = 0; x < T.length; x += 1)
4929
- T[x].c();
4930
- c = k(), f = A("span"), d = $(">"), g = k(), b = A("span"), m = $(">|"), w(n, "class", o = "BonusesFirst " + /*currentPage*/
4906
+ t = T("div"), n = T("span"), r = F("|<"), o = k(), s = T("span"), a = F("<"), l = k();
4907
+ for (let x = 0; x < M.length; x += 1)
4908
+ M[x].c();
4909
+ c = k(), f = T("span"), d = F(">"), g = k(), b = T("span"), m = F(">|"), w(n, "class", i = "BonusesFirst " + /*currentPage*/
4931
4910
  (e[17] === 0 ? "Inactive" : "")), w(s, "class", u = "BonusesPrev " + /*currentPage*/
4932
4911
  (e[17] === 0 ? "Inactive" : "")), w(f, "class", p = "BonusesNext " + /*currentPage*/
4933
4912
  (e[17] === /*numberOfPages*/
@@ -4936,10 +4915,10 @@ function en(e) {
4936
4915
  e[16] - 1 ? "Inactive" : "")), w(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
4937
4916
  (e[21] ? "BonusesPaginationWrapperMobile" : ""));
4938
4917
  },
4939
- m(x, I) {
4940
- D(x, t, I), E(t, n), E(n, r), E(t, i), E(t, s), E(s, a), E(t, l);
4941
- for (let M = 0; M < T.length; M += 1)
4942
- T[M] && T[M].m(t, null);
4918
+ m(x, O) {
4919
+ D(x, t, O), E(t, n), E(n, r), E(t, o), E(t, s), E(s, a), E(t, l);
4920
+ for (let H = 0; H < M.length; H += 1)
4921
+ M[H] && M[H].m(t, null);
4943
4922
  E(t, c), E(t, f), E(f, d), E(t, g), E(t, b), E(b, m), _ || (B = [
4944
4923
  Q(
4945
4924
  n,
@@ -4967,44 +4946,44 @@ function en(e) {
4967
4946
  )
4968
4947
  ], _ = !0);
4969
4948
  },
4970
- p(x, I) {
4971
- if (I[0] & /*currentPage*/
4972
- 131072 && o !== (o = "BonusesFirst " + /*currentPage*/
4973
- (x[17] === 0 ? "Inactive" : "")) && w(n, "class", o), I[0] & /*currentPage*/
4949
+ p(x, O) {
4950
+ if (O[0] & /*currentPage*/
4951
+ 131072 && i !== (i = "BonusesFirst " + /*currentPage*/
4952
+ (x[17] === 0 ? "Inactive" : "")) && w(n, "class", i), O[0] & /*currentPage*/
4974
4953
  131072 && u !== (u = "BonusesPrev " + /*currentPage*/
4975
- (x[17] === 0 ? "Inactive" : "")) && w(s, "class", u), I[0] & /*currentPage, getActiveBonuses, numberOfPages*/
4954
+ (x[17] === 0 ? "Inactive" : "")) && w(s, "class", u), O[0] & /*currentPage, getActiveBonuses, numberOfPages*/
4976
4955
  16973824) {
4977
4956
  N = Re(Array(
4978
4957
  /*numberOfPages*/
4979
4958
  x[16]
4980
4959
  ));
4981
- let M;
4982
- for (M = 0; M < N.length; M += 1) {
4983
- const j = Qt(x, N, M);
4984
- T[M] ? T[M].p(j, I) : (T[M] = tn(j), T[M].c(), T[M].m(t, c));
4960
+ let H;
4961
+ for (H = 0; H < N.length; H += 1) {
4962
+ const j = Zt(x, N, H);
4963
+ M[H] ? M[H].p(j, O) : (M[H] = Kt(j), M[H].c(), M[H].m(t, c));
4985
4964
  }
4986
- for (; M < T.length; M += 1)
4987
- T[M].d(1);
4988
- T.length = N.length;
4965
+ for (; H < M.length; H += 1)
4966
+ M[H].d(1);
4967
+ M.length = N.length;
4989
4968
  }
4990
- I[0] & /*currentPage, numberOfPages*/
4969
+ O[0] & /*currentPage, numberOfPages*/
4991
4970
  196608 && p !== (p = "BonusesNext " + /*currentPage*/
4992
4971
  (x[17] === /*numberOfPages*/
4993
- x[16] - 1 ? "Inactive" : "")) && w(f, "class", p), I[0] & /*currentPage, numberOfPages*/
4972
+ x[16] - 1 ? "Inactive" : "")) && w(f, "class", p), O[0] & /*currentPage, numberOfPages*/
4994
4973
  196608 && v !== (v = "BonusesLast " + /*currentPage*/
4995
4974
  (x[17] === /*numberOfPages*/
4996
4975
  x[16] - 1 ? "Inactive" : "")) && w(b, "class", v);
4997
4976
  },
4998
4977
  d(x) {
4999
- x && F(t), an(T, x), _ = !1, ie(B);
4978
+ x && $(t), on(M, x), _ = !1, oe(B);
5000
4979
  }
5001
4980
  };
5002
4981
  }
5003
- function tn(e) {
4982
+ function Kt(e) {
5004
4983
  let t, n = (
5005
4984
  /*i*/
5006
4985
  e[53] + 1 + ""
5007
- ), r, o, i, s;
4986
+ ), r, i, o, s;
5008
4987
  function a() {
5009
4988
  return (
5010
4989
  /*click_handler_3*/
@@ -5016,26 +4995,26 @@ function tn(e) {
5016
4995
  }
5017
4996
  return {
5018
4997
  c() {
5019
- t = A("span"), r = $(n), w(t, "class", o = "BonusesPage " + /*i*/
4998
+ t = T("span"), r = F(n), w(t, "class", i = "BonusesPage " + /*i*/
5020
4999
  (e[53] === /*currentPage*/
5021
5000
  e[17] ? "BonusPageActive" : ""));
5022
5001
  },
5023
5002
  m(u, l) {
5024
- D(u, t, l), E(t, r), i || (s = Q(t, "click", a), i = !0);
5003
+ D(u, t, l), E(t, r), o || (s = Q(t, "click", a), o = !0);
5025
5004
  },
5026
5005
  p(u, l) {
5027
5006
  e = u, l[0] & /*currentPage*/
5028
- 131072 && o !== (o = "BonusesPage " + /*i*/
5007
+ 131072 && i !== (i = "BonusesPage " + /*i*/
5029
5008
  (e[53] === /*currentPage*/
5030
- e[17] ? "BonusPageActive" : "")) && w(t, "class", o);
5009
+ e[17] ? "BonusPageActive" : "")) && w(t, "class", i);
5031
5010
  },
5032
5011
  d(u) {
5033
- u && F(t), i = !1, s();
5012
+ u && $(t), o = !1, s();
5034
5013
  }
5035
5014
  };
5036
5015
  }
5037
- function nn(e) {
5038
- let t, n, r, o, i = (
5016
+ function en(e) {
5017
+ let t, n, r, i, o = (
5039
5018
  /*$_*/
5040
5019
  e[20]("forfeitBonus") + ""
5041
5020
  ), s, a, u, l, c = (
@@ -5047,11 +5026,11 @@ function nn(e) {
5047
5026
  ), b, m, v;
5048
5027
  return {
5049
5028
  c() {
5050
- t = A("div"), n = A("div"), r = A("div"), o = A("p"), s = $(i), a = k(), u = A("div"), l = A("button"), f = $(c), d = k(), p = A("button"), b = $(g), w(o, "class", "ModalText"), w(l, "class", "ModalCancel"), w(p, "class", "ModalConfirm"), w(u, "class", "ModalButtons"), w(r, "class", "ModalBody"), w(n, "class", "ModalContent"), w(t, "class", "ModalWrapper " + /*isMobile*/
5029
+ t = T("div"), n = T("div"), r = T("div"), i = T("p"), s = F(o), a = k(), u = T("div"), l = T("button"), f = F(c), d = k(), p = T("button"), b = F(g), w(i, "class", "ModalText"), w(l, "class", "ModalCancel"), w(p, "class", "ModalConfirm"), w(u, "class", "ModalButtons"), w(r, "class", "ModalBody"), w(n, "class", "ModalContent"), w(t, "class", "ModalWrapper " + /*isMobile*/
5051
5030
  (e[21] ? "ModalWrapperMobile" : ""));
5052
5031
  },
5053
5032
  m(_, B) {
5054
- D(_, t, B), 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, b), m || (v = [
5033
+ D(_, t, B), E(t, n), E(n, r), E(r, i), E(i, s), E(r, a), E(r, u), E(u, l), E(l, f), E(u, d), E(u, p), E(p, b), m || (v = [
5055
5034
  Q(
5056
5035
  l,
5057
5036
  "click",
@@ -5071,20 +5050,20 @@ function nn(e) {
5071
5050
  },
5072
5051
  p(_, B) {
5073
5052
  B[0] & /*$_*/
5074
- 1048576 && i !== (i = /*$_*/
5075
- _[20]("forfeitBonus") + "") && te(s, i), B[0] & /*$_*/
5053
+ 1048576 && o !== (o = /*$_*/
5054
+ _[20]("forfeitBonus") + "") && ee(s, o), B[0] & /*$_*/
5076
5055
  1048576 && c !== (c = /*$_*/
5077
- _[20]("forfeitBonusCancel") + "") && te(f, c), B[0] & /*$_*/
5056
+ _[20]("forfeitBonusCancel") + "") && ee(f, c), B[0] & /*$_*/
5078
5057
  1048576 && g !== (g = /*$_*/
5079
- _[20]("forfeitBonusConfirm") + "") && te(b, g);
5058
+ _[20]("forfeitBonusConfirm") + "") && ee(b, g);
5080
5059
  },
5081
5060
  d(_) {
5082
- _ && F(t), m = !1, ie(v);
5061
+ _ && $(t), m = !1, oe(v);
5083
5062
  }
5084
5063
  };
5085
5064
  }
5086
- function Fi(e) {
5087
- let t, n, r, o, i = (
5065
+ function Ro(e) {
5066
+ let t, n, r, i, o = (
5088
5067
  /*$_*/
5089
5068
  e[20]("titleBonuses") + ""
5090
5069
  ), s, a, u, l, c = (
@@ -5093,26 +5072,26 @@ function Fi(e) {
5093
5072
  ), f, d, p, g, b, m, v = (
5094
5073
  /*$_*/
5095
5074
  e[20]("getBonus") + ""
5096
- ), _, B, N, T, x, I, M, j = (
5075
+ ), _, B, N, M, x, O, H, j = (
5097
5076
  /*isMobile*/
5098
- e[21] && Hi(e)
5077
+ e[21] && Mo(e)
5099
5078
  ), L = (
5100
5079
  /*invalidBonusCode*/
5101
- e[11] && Yt(e)
5080
+ e[11] && Qt(e)
5102
5081
  );
5103
- function ye(P, W) {
5082
+ function _e(P, W) {
5104
5083
  return (
5105
5084
  /*isLoading*/
5106
- P[9] ? Ii : Oi
5085
+ P[9] ? Ho : Po
5107
5086
  );
5108
5087
  }
5109
- let re = ye(e), z = re(e), R = (
5088
+ let re = _e(e), z = re(e), R = (
5110
5089
  /*bonusModal*/
5111
- e[19] && nn(e)
5090
+ e[19] && en(e)
5112
5091
  );
5113
5092
  return {
5114
5093
  c() {
5115
- t = A("div"), n = A("div"), j && j.c(), r = k(), o = A("h2"), s = $(i), a = k(), u = A("div"), l = A("label"), f = $(c), d = k(), p = A("div"), g = A("input"), b = k(), m = A("button"), _ = $(v), N = k(), L && L.c(), T = k(), z.c(), x = k(), R && R.c(), w(o, "class", "ActiveBonusesTitle " + /*isMobile*/
5094
+ t = T("div"), n = T("div"), j && j.c(), r = k(), i = T("h2"), s = F(o), a = k(), u = T("div"), l = T("label"), f = F(c), d = k(), p = T("div"), g = T("input"), b = k(), m = T("button"), _ = F(v), N = k(), L && L.c(), M = k(), z.c(), x = k(), R && R.c(), w(i, "class", "ActiveBonusesTitle " + /*isMobile*/
5116
5095
  (e[21] ? "ActiveBonusesTitleNone" : "")), w(l, "for", "BonusCode"), w(g, "class", "BonusCodeInput " + /*isMobile*/
5117
5096
  (e[21] ? "BonusCodeInputMobile" : "")), w(g, "type", "text"), w(g, "id", "BonusCode"), w(m, "class", "SubmitBonusCode " + /*isMobile*/
5118
5097
  (e[21] ? "SubmitBonusCodeMobile" : "")), m.disabled = B = /*invalidBonusField*/
@@ -5123,11 +5102,11 @@ function Fi(e) {
5123
5102
  (e[21] ? "ActiveBonusesWrapperMobile" : ""));
5124
5103
  },
5125
5104
  m(P, W) {
5126
- D(P, t, W), E(t, n), j && j.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, g), St(
5105
+ D(P, t, W), E(t, n), j && j.m(n, null), E(n, r), E(n, i), E(i, s), E(n, a), E(n, u), E(u, l), E(l, f), E(u, d), E(u, p), E(p, g), xt(
5127
5106
  g,
5128
5107
  /*bonusCode*/
5129
5108
  e[12]
5130
- ), E(p, b), E(p, m), E(m, _), E(u, N), L && L.m(u, null), E(n, T), z.m(n, null), E(t, x), R && R.m(t, null), e[40](t), I || (M = [
5109
+ ), E(p, b), E(p, m), E(m, _), E(u, N), L && L.m(u, null), E(n, M), z.m(n, null), E(t, x), R && R.m(t, null), e[40](t), O || (H = [
5131
5110
  Q(
5132
5111
  g,
5133
5112
  "input",
@@ -5146,54 +5125,54 @@ function Fi(e) {
5146
5125
  /*claimBonus*/
5147
5126
  e[25]
5148
5127
  )
5149
- ], I = !0);
5128
+ ], O = !0);
5150
5129
  },
5151
5130
  p(P, W) {
5152
5131
  /*isMobile*/
5153
5132
  P[21] && j.p(P, W), W[0] & /*$_*/
5154
- 1048576 && i !== (i = /*$_*/
5155
- P[20]("titleBonuses") + "") && te(s, i), W[0] & /*$_*/
5133
+ 1048576 && o !== (o = /*$_*/
5134
+ P[20]("titleBonuses") + "") && ee(s, o), W[0] & /*$_*/
5156
5135
  1048576 && c !== (c = /*$_*/
5157
- P[20]("bonusCode") + "") && te(f, c), W[0] & /*bonusCode*/
5136
+ P[20]("bonusCode") + "") && ee(f, c), W[0] & /*bonusCode*/
5158
5137
  4096 && g.value !== /*bonusCode*/
5159
- P[12] && St(
5138
+ P[12] && xt(
5160
5139
  g,
5161
5140
  /*bonusCode*/
5162
5141
  P[12]
5163
5142
  ), W[0] & /*$_*/
5164
5143
  1048576 && v !== (v = /*$_*/
5165
- P[20]("getBonus") + "") && te(_, v), W[0] & /*invalidBonusField, isLoading*/
5144
+ P[20]("getBonus") + "") && ee(_, v), W[0] & /*invalidBonusField, isLoading*/
5166
5145
  1536 && B !== (B = /*invalidBonusField*/
5167
5146
  P[10] || /*isLoading*/
5168
5147
  P[9]) && (m.disabled = B), /*invalidBonusCode*/
5169
- P[11] ? L ? L.p(P, W) : (L = Yt(P), L.c(), L.m(u, null)) : L && (L.d(1), L = null), re === (re = ye(P)) && z ? z.p(P, W) : (z.d(1), z = re(P), z && (z.c(), z.m(n, null))), /*bonusModal*/
5170
- P[19] ? R ? R.p(P, W) : (R = nn(P), R.c(), R.m(t, null)) : R && (R.d(1), R = null);
5148
+ P[11] ? L ? L.p(P, W) : (L = Qt(P), L.c(), L.m(u, null)) : L && (L.d(1), L = null), re === (re = _e(P)) && z ? z.p(P, W) : (z.d(1), z = re(P), z && (z.c(), z.m(n, null))), /*bonusModal*/
5149
+ P[19] ? R ? R.p(P, W) : (R = en(P), R.c(), R.m(t, null)) : R && (R.d(1), R = null);
5171
5150
  },
5172
5151
  i: q,
5173
5152
  o: q,
5174
5153
  d(P) {
5175
- P && F(t), j && j.d(), L && L.d(), z.d(), R && R.d(), e[40](null), I = !1, ie(M);
5154
+ P && $(t), j && j.d(), L && L.d(), z.d(), R && R.d(), e[40](null), O = !1, oe(H);
5176
5155
  }
5177
5156
  };
5178
5157
  }
5179
- let Ui = "status=active", ee = 6;
5180
- function Di(e, t, n) {
5158
+ let Fo = "status=active", K = 6;
5159
+ function $o(e, t, n) {
5181
5160
  let r;
5182
- tr(e, xi, (y) => n(20, r = y));
5183
- 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: g = "" } = t, { ishiddenwageringbonus: b = "false" } = t, m = !1, v, _ = window.navigator.userAgent, B = Ci(_) !== "PC", N = !0, T = !1, x = "", I = 0, M = 0, j = 0, L = 0, ye = 0, re = [], z, R = "", P = !1;
5161
+ er(e, Eo, (y) => n(20, r = y));
5162
+ let { endpoint: i = "" } = t, { session: o = "" } = 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: g = "" } = t, { ishiddenwageringbonus: b = "false" } = t, m = !1, v, _ = window.navigator.userAgent, B = wo(_) !== "PC", N = !0, M = !1, x = "", O = 0, H = 0, j = 0, L = 0, _e = 0, re = [], z, R = "", P = !1;
5184
5163
  const W = () => {
5185
5164
  fetch(d).then((U) => U.json()).then((U) => {
5186
5165
  Object.keys(U).forEach((Z) => {
5187
- Zt(Z, U[Z]);
5166
+ zt(Z, U[Z]);
5188
5167
  });
5189
5168
  }).catch((U) => {
5190
5169
  console.log(U);
5191
5170
  });
5192
5171
  };
5193
- Object.keys(qt).forEach((y) => {
5194
- Zt(y, qt[y]);
5172
+ Object.keys(Xt).forEach((y) => {
5173
+ zt(y, Xt[y]);
5195
5174
  });
5196
- const Et = (y) => {
5175
+ const _t = (y) => {
5197
5176
  if (y.data)
5198
5177
  switch (y.data.type) {
5199
5178
  case "DeleteActiveBonus":
@@ -5201,7 +5180,7 @@ function Di(e, t, n) {
5201
5180
  break;
5202
5181
  }
5203
5182
  };
5204
- function Un(y, U) {
5183
+ function $n(y, U) {
5205
5184
  return (...Z) => {
5206
5185
  clearTimeout(z), z = setTimeout(
5207
5186
  () => {
@@ -5211,7 +5190,7 @@ function Di(e, t, n) {
5211
5190
  );
5212
5191
  };
5213
5192
  }
5214
- const wt = () => {
5193
+ const Bt = () => {
5215
5194
  window.postMessage(
5216
5195
  {
5217
5196
  type: "PlayerAccountMenuActive",
@@ -5219,40 +5198,40 @@ function Di(e, t, n) {
5219
5198
  },
5220
5199
  window.location.href
5221
5200
  );
5222
- }, Dn = () => !!x, Gn = () => {
5223
- n(10, N = !Dn());
5224
- }, Y = (y) => {
5201
+ }, Un = () => !!x, Dn = () => {
5202
+ n(10, N = !Un());
5203
+ }, J = (y) => {
5225
5204
  n(9, m = !0);
5226
5205
  let U = {
5227
5206
  method: "GET",
5228
- headers: { "X-SessionId": i }
5229
- }, Z = new URL(`${o}/v1/player/${s}/bonusWallet`);
5230
- Z.searchParams.append("filter", Ui), Z.searchParams.append("pagination", `offset=${y},limit=${ee}`), fetch(Z, U).then((K) => K.json()).then(
5231
- (K) => {
5232
- Array.isArray(K.items) && K.items.forEach((X) => {
5207
+ headers: { "X-SessionId": o }
5208
+ }, Z = new URL(`${i}/v1/player/${s}/bonusWallet`);
5209
+ Z.searchParams.append("filter", Fo), Z.searchParams.append("pagination", `offset=${y},limit=${K}`), fetch(Z, U).then((Y) => Y.json()).then(
5210
+ (Y) => {
5211
+ Array.isArray(Y.items) && Y.items.forEach((X) => {
5233
5212
  const Te = X?.extension?.bonus?.presentation;
5234
5213
  Te && (X.termsandconditionsurl = Te.url, X.termsandconditionsdescription = Te.description, X.termsandconditionsasset = Te.assets);
5235
- }), n(16, L = Math.ceil(K.total / ee)), y - ee >= 0 && n(13, I = y - ee), y + ee < K.total && n(14, M = y + ee), n(15, j = (L - 1) * ee), n(17, ye = y / ee), n(18, re = K?.items || []), p && re.forEach((X) => {
5214
+ }), n(16, L = Math.ceil(Y.total / K)), y - K >= 0 && n(13, O = y - K), y + K < Y.total && n(14, H = y + K), n(15, j = (L - 1) * K), n(17, _e = y / K), n(18, re = Y?.items || []), p && re.forEach((X) => {
5236
5215
  X.fulfilledWR = Ae(X.fulfilledWR), X.originalWageringRequirement = Ae(X.originalWageringRequirement), X.currentAmount = Ae(X.currentAmount), X.extension.grantedPlayerCurrencyAmount = Ae(X.extension.grantedPlayerCurrencyAmount);
5237
5216
  }), window.scrollTo({ top: 0, behavior: "smooth" });
5238
5217
  },
5239
- (K) => {
5240
- console.error(K);
5218
+ (Y) => {
5219
+ console.error(Y);
5241
5220
  }
5242
5221
  ).finally(() => {
5243
5222
  n(9, m = !1);
5244
5223
  });
5245
- }, Ae = (y) => new Intl.NumberFormat(p, { style: "currency", currency: u }).format(y).replace(/\s/g, ""), kn = () => {
5224
+ }, Ae = (y) => new Intl.NumberFormat(p, { style: "currency", currency: u }).format(y).replace(/\s/g, ""), Gn = () => {
5246
5225
  n(9, m = !0);
5247
- let y = new URL(`${o}/v1/player/${s}/claimbonus`), U = {
5226
+ let y = new URL(`${i}/v1/player/${s}/claimbonus`), U = {
5248
5227
  method: "POST",
5249
5228
  headers: {
5250
- "X-SessionId": i,
5229
+ "X-SessionId": o,
5251
5230
  accept: "application/json"
5252
5231
  }
5253
5232
  };
5254
5233
  y.searchParams.append("currency", u), y.searchParams.append("bonusCode", x), fetch(y.href, U).then((Z) => {
5255
- Z.status == 200 ? (n(11, T = !1), Y(0), window.postMessage(
5234
+ Z.status == 200 ? (n(11, M = !1), J(0), window.postMessage(
5256
5235
  {
5257
5236
  type: "WidgetNotification",
5258
5237
  data: {
@@ -5265,7 +5244,7 @@ function Di(e, t, n) {
5265
5244
  context: "PlayerActiveBonuses",
5266
5245
  userId: `${s || "Not logged in"}`,
5267
5246
  bonusCode: `${x}`
5268
- })) : (n(11, T = !0), window.postMessage(
5247
+ })) : (n(11, M = !0), window.postMessage(
5269
5248
  {
5270
5249
  type: "WidgetNotification",
5271
5250
  data: {
@@ -5278,49 +5257,49 @@ function Di(e, t, n) {
5278
5257
  }).finally(() => {
5279
5258
  n(9, m = !1);
5280
5259
  });
5281
- }, xt = () => {
5260
+ }, Et = () => {
5282
5261
  window.postMessage({ type: "EnableScroll" }, window.location.href), n(19, P = !1);
5283
- }, jn = () => {
5262
+ }, kn = () => {
5284
5263
  let y = {
5285
5264
  method: "DELETE",
5286
5265
  headers: {
5287
- "X-SessionId": i,
5266
+ "X-SessionId": o,
5288
5267
  "Content-Type": "application/json",
5289
5268
  Accept: "application/json"
5290
5269
  }
5291
- }, U = new URL(`${o}/v1/player/${s}/bonusWallet`);
5270
+ }, U = new URL(`${i}/v1/player/${s}/bonusWallet`);
5292
5271
  U.searchParams.append("bonusWalletID", R), fetch(U, y).then((Z) => {
5293
- Z.status == 200 && (Y(0), xt());
5272
+ Z.status == 200 && (J(0), Et());
5294
5273
  });
5295
- }, Wn = () => {
5296
- Si(a);
5274
+ }, jn = () => {
5275
+ xo(a);
5297
5276
  };
5298
- function Vn(y) {
5299
- return Un(y, 1e3);
5277
+ function Wn(y) {
5278
+ return $n(y, 1e3);
5300
5279
  }
5301
- ur(() => (window.addEventListener("message", Et, !1), () => {
5302
- window.removeEventListener("message", Et);
5280
+ ar(() => (window.addEventListener("message", _t, !1), () => {
5281
+ window.removeEventListener("message", _t);
5303
5282
  }));
5304
- const zn = () => wt();
5305
- function Xn() {
5283
+ const Vn = () => Bt();
5284
+ function zn() {
5306
5285
  x = this.value, n(12, x);
5307
5286
  }
5308
- const Zn = () => Y(0), qn = () => Y(I), Qn = (y) => Y(y * ee), Jn = () => Y(M), Yn = () => Y(j);
5309
- function Kn(y) {
5310
- et[y ? "unshift" : "push"](() => {
5287
+ const Xn = () => J(0), Zn = () => J(O), qn = (y) => J(y * K), Qn = () => J(H), Jn = () => J(j);
5288
+ function Yn(y) {
5289
+ Ye[y ? "unshift" : "push"](() => {
5311
5290
  v = y, n(8, v);
5312
5291
  });
5313
5292
  }
5314
5293
  return e.$$set = (y) => {
5315
- "endpoint" in y && n(29, o = y.endpoint), "session" in y && n(30, i = y.session), "playerid" in y && n(31, s = y.playerid), "lang" in y && n(0, a = y.lang), "currency" in y && n(32, u = y.currency), "clientstyling" in y && n(1, l = y.clientstyling), "clientstylingurl" in y && n(2, c = y.clientstylingurl), "mbsource" in y && n(3, f = y.mbsource), "translationurl" in y && n(4, d = y.translationurl), "currencylocale" in y && n(5, p = y.currencylocale), "dateformat" in y && n(6, g = y.dateformat), "ishiddenwageringbonus" in y && n(7, b = y.ishiddenwageringbonus);
5294
+ "endpoint" in y && n(29, i = y.endpoint), "session" in y && n(30, o = y.session), "playerid" in y && n(31, s = y.playerid), "lang" in y && n(0, a = y.lang), "currency" in y && n(32, u = y.currency), "clientstyling" in y && n(1, l = y.clientstyling), "clientstylingurl" in y && n(2, c = y.clientstylingurl), "mbsource" in y && n(3, f = y.mbsource), "translationurl" in y && n(4, d = y.translationurl), "currencylocale" in y && n(5, p = y.currencylocale), "dateformat" in y && n(6, g = y.dateformat), "ishiddenwageringbonus" in y && n(7, b = y.ishiddenwageringbonus);
5316
5295
  }, e.$$.update = () => {
5317
5296
  e.$$.dirty[0] & /*lang*/
5318
- 1 && a && Wn(), e.$$.dirty[0] & /*session, endpoint*/
5297
+ 1 && a && jn(), e.$$.dirty[0] & /*session, endpoint*/
5319
5298
  1610612736 | e.$$.dirty[1] & /*playerid*/
5320
- 1 && i && s && o && Y(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5321
- 258 && l && v && Ai(v, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5322
- 260 && c && v && Ti(v, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5323
- 264 && f && v && Pi(v, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
5299
+ 1 && o && s && i && J(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5300
+ 258 && l && v && Co(v, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5301
+ 260 && c && v && So(v, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5302
+ 264 && f && v && Ao(v, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
5324
5303
  16 && d && W();
5325
5304
  }, [
5326
5305
  a,
@@ -5334,46 +5313,46 @@ function Di(e, t, n) {
5334
5313
  v,
5335
5314
  m,
5336
5315
  N,
5337
- T,
5338
- x,
5339
- I,
5340
5316
  M,
5317
+ x,
5318
+ O,
5319
+ H,
5341
5320
  j,
5342
5321
  L,
5343
- ye,
5322
+ _e,
5344
5323
  re,
5345
5324
  P,
5346
5325
  r,
5347
5326
  B,
5348
- wt,
5327
+ Bt,
5328
+ Dn,
5329
+ J,
5349
5330
  Gn,
5350
- Y,
5331
+ Et,
5351
5332
  kn,
5352
- xt,
5353
- jn,
5354
- Vn,
5355
- o,
5333
+ Wn,
5356
5334
  i,
5335
+ o,
5357
5336
  s,
5358
5337
  u,
5338
+ Vn,
5359
5339
  zn,
5360
5340
  Xn,
5361
5341
  Zn,
5362
5342
  qn,
5363
5343
  Qn,
5364
5344
  Jn,
5365
- Yn,
5366
- Kn
5345
+ Yn
5367
5346
  ];
5368
5347
  }
5369
- class Gi extends _r {
5348
+ class Uo extends yr {
5370
5349
  constructor(t) {
5371
- super(), vr(
5350
+ super(), gr(
5372
5351
  this,
5373
5352
  t,
5374
- Di,
5375
- Fi,
5376
- on,
5353
+ $o,
5354
+ Ro,
5355
+ nn,
5377
5356
  {
5378
5357
  endpoint: 29,
5379
5358
  session: 30,
@@ -5388,7 +5367,7 @@ class Gi extends _r {
5388
5367
  dateformat: 6,
5389
5368
  ishiddenwageringbonus: 7
5390
5369
  },
5391
- Mi,
5370
+ To,
5392
5371
  [-1, -1]
5393
5372
  );
5394
5373
  }
@@ -5465,34 +5444,34 @@ class Gi extends _r {
5465
5444
  this.$$set({ ishiddenwageringbonus: t }), V();
5466
5445
  }
5467
5446
  }
5468
- yr(Gi, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, ishiddenwageringbonus: {} }, [], [], !0);
5447
+ vr(Uo, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, ishiddenwageringbonus: {} }, [], [], !0);
5469
5448
  export {
5470
- ge as $,
5471
- Gi as P,
5472
- _r as S,
5473
- Nn as a,
5474
- nr as b,
5475
- yr as c,
5476
- F as d,
5477
- te as e,
5449
+ ve as $,
5450
+ Uo as P,
5451
+ yr as S,
5452
+ On as a,
5453
+ tr as b,
5454
+ vr as c,
5455
+ k as d,
5456
+ T as e,
5478
5457
  V as f,
5479
5458
  w as g,
5480
5459
  D as h,
5481
- vr as i,
5460
+ gr as i,
5482
5461
  E as j,
5483
- A as k,
5484
- k as l,
5485
- tr as m,
5462
+ ee as k,
5463
+ $ as l,
5464
+ er as m,
5486
5465
  q as n,
5487
- Ci as o,
5488
- ur as p,
5489
- ki as q,
5490
- Q as r,
5491
- on as s,
5492
- $ as t,
5493
- et as u,
5494
- xi as v,
5495
- Ai as w,
5496
- Ti as x,
5497
- Pi as y
5466
+ wo as o,
5467
+ ar as p,
5468
+ Ao as q,
5469
+ Do as r,
5470
+ nn as s,
5471
+ F as t,
5472
+ Q as u,
5473
+ Ye as v,
5474
+ Co as w,
5475
+ So as x,
5476
+ Eo as y
5498
5477
  };