@everymatrix/player-active-bonuses 1.66.2 → 1.67.3

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