@everymatrix/player-active-bonuses 1.76.0 → 1.76.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 ar = Object.defineProperty, ur = Object.defineProperties;
2
- var lr = Object.getOwnPropertyDescriptors;
3
- var Pt = Object.getOwnPropertySymbols;
4
- var cr = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable;
5
- var qe = (e, t, n) => t in e ? ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Mt = (e, t) => {
1
+ var rr = Object.defineProperty, ir = Object.defineProperties;
2
+ var or = Object.getOwnPropertyDescriptors;
3
+ var Ct = Object.getOwnPropertySymbols;
4
+ var sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
+ var Xe = (e, t, n) => t in e ? rr(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
- cr.call(t, n) && qe(e, n, t[n]);
8
- if (Pt)
9
- for (var n of Pt(t))
10
- hr.call(t, n) && qe(e, n, t[n]);
7
+ sr.call(t, n) && Xe(e, n, t[n]);
8
+ if (Ct)
9
+ for (var n of Ct(t))
10
+ ar.call(t, n) && Xe(e, n, t[n]);
11
11
  return e;
12
- }, Ht = (e, t) => ur(e, lr(t));
13
- var q = (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) => ir(e, or(t));
13
+ var q = (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 K() {
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 ue(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 Ki(e, t) {
49
- return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
47
+ let Ie;
48
+ function qo(e, t) {
49
+ return e === t ? !0 : (Ie || (Ie = document.createElement("a")), Ie.href = t, e === Ie.href);
50
50
  }
51
- function fr(e) {
51
+ function ur(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 dr(e, t, n) {
64
- e.$$.on_destroy.push(pn(t, n));
63
+ function lr(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 pr(e, t, n) {
70
- const r = mr(e);
69
+ function cr(e, t, n) {
70
+ const r = fr(e);
71
71
  if (!r.getElementById(t)) {
72
- const o = T("style");
73
- o.id = t, o.textContent = n, br(r, o);
72
+ const i = P("style");
73
+ i.id = t, i.textContent = n, hr(r, i);
74
74
  }
75
75
  }
76
- function mr(e) {
76
+ function fr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function mr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function br(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 fn(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 ce(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 Y(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 gr(e) {
128
+ function dr(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
- function re(e, t) {
131
+ function ne(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 vr(e) {
138
+ function pr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -144,98 +144,98 @@ function vr(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 yr() {
152
- if (!Ce)
151
+ function mr() {
152
+ if (!Se)
153
153
  throw new Error("Function called outside component initialization");
154
- return Ce;
154
+ return Se;
155
155
  }
156
- function _r(e) {
157
- yr().$$.on_mount.push(e);
156
+ function br(e) {
157
+ mr().$$.on_mount.push(e);
158
158
  }
159
- const de = [], ot = [];
159
+ const de = [], tt = [];
160
160
  let pe = [];
161
- const Lt = [], Br = /* @__PURE__ */ Promise.resolve();
162
- let it = !1;
163
- function Er() {
164
- it || (it = !0, Br.then(z));
161
+ const Ht = [], gr = /* @__PURE__ */ Promise.resolve();
162
+ let nt = !1;
163
+ function vr() {
164
+ nt || (nt = !0, gr.then(z));
165
165
  }
166
- function st(e) {
166
+ function rt(e) {
167
167
  pe.push(e);
168
168
  }
169
- const Qe = /* @__PURE__ */ new Set();
170
- let he = 0;
169
+ const Ze = /* @__PURE__ */ new Set();
170
+ let fe = 0;
171
171
  function z() {
172
- if (he !== 0)
172
+ if (fe !== 0)
173
173
  return;
174
- const e = Ce;
174
+ const e = Se;
175
175
  do {
176
176
  try {
177
- for (; he < de.length; ) {
178
- const t = de[he];
179
- he++, we(t), xr(t.$$);
177
+ for (; fe < de.length; ) {
178
+ const t = de[fe];
179
+ fe++, Ce(t), yr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
- throw de.length = 0, he = 0, t;
182
+ throw de.length = 0, fe = 0, t;
183
183
  }
184
- for (we(null), de.length = 0, he = 0; ot.length; )
185
- ot.pop()();
184
+ for (Ce(null), de.length = 0, fe = 0; tt.length; )
185
+ tt.pop()();
186
186
  for (let t = 0; t < pe.length; t += 1) {
187
187
  const n = pe[t];
188
- Qe.has(n) || (Qe.add(n), n());
188
+ Ze.has(n) || (Ze.add(n), n());
189
189
  }
190
190
  pe.length = 0;
191
191
  } while (de.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 xr(e) {
196
+ function yr(e) {
197
197
  if (e.fragment !== null) {
198
198
  e.update(), ue(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 wr(e) {
203
+ function _r(e) {
204
204
  const t = [], n = [];
205
205
  pe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), pe = t;
206
206
  }
207
- const Cr = /* @__PURE__ */ new Set();
208
- function Sr(e, t) {
209
- e && e.i && (Cr.delete(e), e.i(t));
207
+ const Br = /* @__PURE__ */ new Set();
208
+ function Er(e, t) {
209
+ e && e.i && (Br.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 Ar(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) : ue(i), e.$$.on_mount = [];
219
- }), o.forEach(st);
214
+ function xr(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) : ue(o), e.$$.on_mount = [];
219
+ }), i.forEach(rt);
220
220
  }
221
- function Tr(e, t) {
221
+ function wr(e, t) {
222
222
  const n = e.$$;
223
- n.fragment !== null && (wr(n.after_update), ue(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
223
+ n.fragment !== null && (_r(n.after_update), ue(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
224
224
  }
225
- function Pr(e, t) {
226
- e.$$.dirty[0] === -1 && (de.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
+ function Cr(e, t) {
226
+ e.$$.dirty[0] === -1 && (de.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
227
  }
228
- function Mr(e, t, n, r, o, i, s = null, a = [-1]) {
229
- const u = Ce;
230
- we(e);
228
+ function Sr(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: K,
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,28 +244,28 @@ function Mr(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
251
251
  };
252
252
  s && s(l.root);
253
253
  let c = !1;
254
- if (l.ctx = n ? n(e, t.props || {}, (f, d, ...m) => {
254
+ if (l.ctx = n ? n(e, t.props || {}, (h, d, ...m) => {
255
255
  const b = m.length ? m[0] : d;
256
- return l.ctx && o(l.ctx[f], l.ctx[f] = b) && (!l.skip_bound && l.bound[f] && l.bound[f](b), c && Pr(e, f)), d;
256
+ return l.ctx && i(l.ctx[h], l.ctx[h] = b) && (!l.skip_bound && l.bound[h] && l.bound[h](b), c && Cr(e, h)), d;
257
257
  }) : [], l.update(), c = !0, ue(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
258
258
  if (t.hydrate) {
259
- const f = gr(t.target);
260
- l.fragment && l.fragment.l(f), f.forEach(G);
259
+ const h = dr(t.target);
260
+ l.fragment && l.fragment.l(h), h.forEach(G);
261
261
  } else
262
262
  l.fragment && l.fragment.c();
263
- t.intro && Sr(e.$$.fragment), Ar(e, t.target, t.anchor), z();
263
+ t.intro && Er(e.$$.fragment), xr(e, t.target, t.anchor), z();
264
264
  }
265
- we(u);
265
+ Ce(u);
266
266
  }
267
- let bn;
268
- typeof HTMLElement == "function" && (bn = class extends HTMLElement {
267
+ let hn;
268
+ typeof HTMLElement == "function" && (hn = 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 = vr(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 = pr(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 Hr(e, t, n, r, o, i) {
419
- let s = class extends bn {
418
+ function Ar(e, t, n, r, i, o) {
419
+ let s = class extends hn {
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 Hr(e, t, n, r, o, i) {
446
446
  }), e.element = /** @type {any} */
447
447
  s, s;
448
448
  }
449
- class Or {
449
+ class Tr {
450
450
  constructor() {
451
451
  /**
452
452
  * ### PRIVATE API
@@ -467,7 +467,7 @@ class Or {
467
467
  }
468
468
  /** @returns {void} */
469
469
  $destroy() {
470
- Tr(this, 1), this.$destroy = K;
470
+ wr(this, 1), this.$destroy = K;
471
471
  }
472
472
  /**
473
473
  * @template {Extract<keyof Events, string>} K
@@ -476,12 +476,12 @@ class Or {
476
476
  * @returns {() => void}
477
477
  */
478
478
  $on(t, n) {
479
- if (!Et(n))
479
+ if (!gt(n))
480
480
  return K;
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 Or {
489
489
  * @returns {void}
490
490
  */
491
491
  $set(t) {
492
- this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
+ this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
493
  }
494
494
  }
495
- const Ir = "4";
496
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
495
+ const Pr = "4";
496
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
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 ie(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 Mr(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,74 +556,74 @@ 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 me(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
- function oe(e) {
585
+ function re(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
  }
606
- } catch (h) {
607
- t = { error: h };
625
+ } catch (f) {
626
+ t = { error: f };
608
627
  } finally {
609
628
  try {
610
629
  u && !u.done && (n = a.return) && n.call(a);
@@ -616,43 +635,43 @@ var je = function() {
616
635
  else
617
636
  s.remove(this);
618
637
  var c = this.initialTeardown;
619
- if (oe(c))
638
+ if (re(c))
620
639
  try {
621
640
  c();
622
- } catch (h) {
623
- i = h instanceof Je ? h.errors : [h];
641
+ } catch (f) {
642
+ o = f instanceof qe ? f.errors : [f];
624
643
  }
625
- var f = this._finalizers;
626
- if (f) {
644
+ var h = this._finalizers;
645
+ if (h) {
627
646
  this._finalizers = null;
628
647
  try {
629
- for (var d = ut(f), m = d.next(); !m.done; m = d.next()) {
648
+ for (var d = ot(h), m = d.next(); !m.done; m = d.next()) {
630
649
  var b = m.value;
631
650
  try {
632
- Rt(b);
633
- } catch (h) {
634
- i = i != null ? i : [], h instanceof Je ? i = ct(ct([], lt(i)), lt(h.errors)) : i.push(h);
651
+ It(b);
652
+ } catch (f) {
653
+ o = o != null ? o : [], f instanceof qe ? o = me(me([], st(o)), st(f.errors)) : o.push(f);
635
654
  }
636
655
  }
637
- } catch (h) {
638
- r = { error: h };
656
+ } catch (f) {
657
+ r = { error: f };
639
658
  } finally {
640
659
  try {
641
- m && !m.done && (o = d.return) && o.call(d);
660
+ m && !m.done && (i = d.return) && i.call(d);
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 && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
683
- }
684
- function Rt(e) {
685
- oe(e) ? e() : e.unsubscribe();
686
- }
687
- var Nr = {
688
- Promise: void 0
689
- }, Lr = {
699
+ }(), pn = ke.EMPTY;
700
+ function mn(e) {
701
+ return e instanceof ke || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
702
+ }
703
+ function It(e) {
704
+ re(e) ? e() : e.unsubscribe();
705
+ }
706
+ var Hr = {
707
+ onUnhandledError: null,
708
+ onStoppedNotification: null,
709
+ Promise: void 0,
710
+ useDeprecatedSynchronousErrorHandling: !1,
711
+ useDeprecatedNextContext: !1
712
+ }, Ir = {
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, me([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 Rr(e) {
701
- Lr.setTimeout(function() {
723
+ function Or(e) {
724
+ Ir.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
+ ie(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 = Ur, r;
737
+ return r.isStopped = !1, n ? (r.destination = n, mn(n) && n.add(r)) : r.destination = Rr, 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), $r = function() {
764
+ }(ke), Nr = 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;
776
- return oe(n) || !n ? s = {
795
+ }(), ut = function(e) {
796
+ ie(t, e);
797
+ function t(n, r, i) {
798
+ var o = e.call(this) || this, s;
799
+ return re(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 $r(s), i;
802
+ complete: i != null ? i : void 0
803
+ } : s = n, o.destination = new Nr(s), o;
781
804
  }
782
805
  return t;
783
- }(_n);
784
- function Ie(e) {
785
- Rr(e);
806
+ }(bn);
807
+ function Oe(e) {
808
+ Or(e);
786
809
  }
787
- function Fr(e) {
810
+ function Lr(e) {
788
811
  throw e;
789
812
  }
790
- var Ur = {
813
+ var Rr = {
791
814
  closed: !0,
792
- next: $t,
793
- error: Fr,
794
- complete: $t
795
- }, Dr = function() {
815
+ next: Ot,
816
+ error: Lr,
817
+ complete: Ot
818
+ }, $r = function() {
796
819
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
797
820
  }();
798
- function Gr(e) {
821
+ function Fr(e) {
799
822
  return e;
800
823
  }
801
- function kr(e) {
802
- return e.length === 0 ? Gr : e.length === 1 ? e[0] : function(n) {
803
- return e.reduce(function(r, o) {
804
- return o(r);
824
+ function Ur(e) {
825
+ return e.length === 0 ? Fr : 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 = Wr(t) ? t : new ft(t, n, r);
839
+ var i = this, o = Gr(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[Dr] = function() {
869
+ }, e.prototype[$r] = 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 kr(t)(this);
874
+ return Ur(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 : Nr.Promise) !== null && t !== void 0 ? t : Promise;
893
+ return (t = e != null ? e : Hr.Promise) !== null && t !== void 0 ? t : Promise;
871
894
  }
872
- function jr(e) {
873
- return e && oe(e.next) && oe(e.error) && oe(e.complete);
895
+ function Dr(e) {
896
+ return e && re(e.next) && re(e.error) && re(e.complete);
874
897
  }
875
- function Wr(e) {
876
- return e && e instanceof _n || jr(e) && yn(e);
898
+ function Gr(e) {
899
+ return e && e instanceof bn || Dr(e) && mn(e);
877
900
  }
878
- var Vr = gn(function(e) {
901
+ var kr = 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
+ ie(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 Vr();
916
+ throw new kr();
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 Vr = 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,283 +969,244 @@ var Vr = 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
+ ie(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
- }, zr = 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
+ }, jr = function(e) {
1010
+ ie(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 = {}, Xr = (e, t = 0) => {
1011
- if (Gt.indexOf(e) == -1) {
1012
- const n = new zr(t);
1013
- kt[e] = n, Gt.push(e);
1032
+ }(gn);
1033
+ const $t = [], Ft = {}, Wr = (e, t = 0) => {
1034
+ if ($t.indexOf(e) == -1) {
1035
+ const n = new jr(t);
1036
+ Ft[e] = n, $t.push(e);
1014
1037
  }
1015
- return kt[e];
1016
- }, fe = [];
1017
- function Zr(e, t) {
1038
+ return Ft[e];
1039
+ }, he = [];
1040
+ function Vr(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 = K) {
1045
+ function je(e, t = K) {
1023
1046
  let n;
1024
1047
  const r = /* @__PURE__ */ new Set();
1025
- function o(a) {
1026
- if (dn(e, a) && (e = a, n)) {
1027
- const u = !fe.length;
1048
+ function i(a) {
1049
+ if (ln(e, a) && (e = a, n)) {
1050
+ const u = !he.length;
1028
1051
  for (const l of r)
1029
- l[1](), fe.push(l, e);
1052
+ l[1](), he.push(l, e);
1030
1053
  if (u) {
1031
- for (let l = 0; l < fe.length; l += 2)
1032
- fe[l][0](fe[l + 1]);
1033
- fe.length = 0;
1054
+ for (let l = 0; l < he.length; l += 2)
1055
+ he[l][0](he[l + 1]);
1056
+ he.length = 0;
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 = K) {
1041
1064
  const l = [a, u];
1042
- return r.add(l), r.size === 1 && (n = t(o, i) || K), a(e), () => {
1065
+ return r.add(l), r.size === 1 && (n = t(i, o) || K), 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 ye(e, t, n) {
1049
- const r = !Array.isArray(e), o = r ? [e] : e;
1050
- if (!o.every(Boolean))
1071
+ function _e(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 Zr(n, (s, a) => {
1075
+ const o = t.length < 2;
1076
+ return Vr(n, (s, a) => {
1054
1077
  let u = !1;
1055
1078
  const l = [];
1056
- let c = 0, f = K;
1079
+ let c = 0, h = K;
1057
1080
  const d = () => {
1058
1081
  if (c)
1059
1082
  return;
1060
- f();
1083
+ h();
1061
1084
  const b = t(r ? l[0] : l, s, a);
1062
- i ? s(b) : f = Et(b) ? b : K;
1063
- }, m = o.map(
1064
- (b, h) => pn(
1085
+ o ? s(b) : h = gt(b) ? b : K;
1086
+ }, m = i.map(
1087
+ (b, f) => cn(
1065
1088
  b,
1066
1089
  (S) => {
1067
- l[h] = S, c &= ~(1 << h), u && d();
1090
+ l[f] = S, c &= ~(1 << f), u && d();
1068
1091
  },
1069
1092
  () => {
1070
- c |= 1 << h;
1093
+ c |= 1 << f;
1071
1094
  }
1072
1095
  )
1073
1096
  );
1074
1097
  return u = !0, d(), function() {
1075
- ue(m), f(), u = !1;
1098
+ ue(m), h(), u = !1;
1076
1099
  };
1077
1100
  });
1078
1101
  }
1079
- function qr(e) {
1080
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1102
+ function zr(e) {
1103
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1081
1104
  }
1082
- var Qr = function(t) {
1083
- return Jr(t) && !Yr(t);
1105
+ var Xr = function(t) {
1106
+ return Zr(t) && !qr(t);
1084
1107
  };
1085
- function Jr(e) {
1108
+ function Zr(e) {
1086
1109
  return !!e && typeof e == "object";
1087
1110
  }
1088
- function Yr(e) {
1111
+ function qr(e) {
1089
1112
  var t = Object.prototype.toString.call(e);
1090
- return t === "[object RegExp]" || t === "[object Date]" || to(e);
1113
+ return t === "[object RegExp]" || t === "[object Date]" || Yr(e);
1091
1114
  }
1092
- var Kr = typeof Symbol == "function" && Symbol.for, eo = Kr ? Symbol.for("react.element") : 60103;
1093
- function to(e) {
1094
- return e.$$typeof === eo;
1115
+ var Qr = typeof Symbol == "function" && Symbol.for, Jr = Qr ? Symbol.for("react.element") : 60103;
1116
+ function Yr(e) {
1117
+ return e.$$typeof === Jr;
1095
1118
  }
1096
- function no(e) {
1119
+ function Kr(e) {
1097
1120
  return Array.isArray(e) ? [] : {};
1098
1121
  }
1099
- function Se(e, t) {
1100
- return t.clone !== !1 && t.isMergeableObject(e) ? me(no(e), e, t) : e;
1122
+ function Ae(e, t) {
1123
+ return t.clone !== !1 && t.isMergeableObject(e) ? be(Kr(e), e, t) : e;
1101
1124
  }
1102
- function ro(e, t, n) {
1125
+ function ei(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 oo(e, t) {
1130
+ function ti(e, t) {
1108
1131
  if (!t.customMerge)
1109
- return me;
1132
+ return be;
1110
1133
  var n = t.customMerge(e);
1111
- return typeof n == "function" ? n : me;
1134
+ return typeof n == "function" ? n : be;
1112
1135
  }
1113
- function io(e) {
1136
+ function ni(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(io(e));
1141
+ function Ut(e) {
1142
+ return Object.keys(e).concat(ni(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 so(e, t) {
1129
- return xn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1151
+ function ri(e, t) {
1152
+ return yn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1130
1153
  }
1131
- function ao(e, t, n) {
1154
+ function ii(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
- so(e, o) || (xn(e, o) && n.isMergeableObject(t[o]) ? r[o] = oo(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
+ ri(e, i) || (yn(e, i) && n.isMergeableObject(t[i]) ? r[i] = ti(i, n)(e[i], t[i], n) : r[i] = Ae(t[i], n));
1137
1160
  }), r;
1138
1161
  }
1139
- function me(e, t, n) {
1140
- n = n || {}, n.arrayMerge = n.arrayMerge || ro, 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) : ao(e, t, n) : Se(t, n);
1162
+ function be(e, t, n) {
1163
+ n = n || {}, n.arrayMerge = n.arrayMerge || ei, n.isMergeableObject = n.isMergeableObject || Xr, 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) : ii(e, t, n) : Ae(t, n);
1143
1166
  }
1144
- me.all = function(t, n) {
1167
+ be.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 me(r, o, n);
1170
+ return t.reduce(function(r, i) {
1171
+ return be(r, i, n);
1149
1172
  }, {});
1150
1173
  };
1151
- var uo = me, lo = uo;
1152
- const co = /* @__PURE__ */ qr(lo);
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 ho(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 : yo, r = t && t.serializer ? t.serializer : go, o = t && t.strategy ? t.strategy : mo;
1197
- return o(e, {
1174
+ var oi = be, si = oi;
1175
+ const ai = /* @__PURE__ */ zr(si);
1176
+ function Qe(e, t) {
1177
+ var n = t && t.cache ? t.cache : pi, r = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : li;
1178
+ return i(e, {
1198
1179
  cache: n,
1199
1180
  serializer: r
1200
1181
  });
1201
1182
  }
1202
- function fo(e) {
1183
+ function ui(e) {
1203
1184
  return e == null || typeof e == "number" || typeof e == "boolean";
1204
1185
  }
1205
- function po(e, t, n, r) {
1206
- var o = fo(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 = ui(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 mo(e, t) {
1217
- var n = e.length === 1 ? po : wn;
1218
- return Cn(e, this, n, t.cache.create(), t.serializer);
1197
+ function li(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 bo(e, t) {
1221
- return Cn(e, this, wn, t.cache.create(), t.serializer);
1201
+ function ci(e, t) {
1202
+ return yt(e, this, Bn, t.cache.create(), t.serializer);
1222
1203
  }
1223
- var go = function() {
1204
+ function fi(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
- }, vo = (
1209
+ }, di = (
1226
1210
  /** @class */
1227
1211
  function() {
1228
1212
  function e() {
@@ -1234,23 +1218,14 @@ var go = function() {
1234
1218
  this.cache[t] = n;
1235
1219
  }, e;
1236
1220
  }()
1237
- ), yo = {
1221
+ ), pi = {
1238
1222
  create: function() {
1239
- return new vo();
1223
+ return new di();
1240
1224
  }
1241
- }, et = {
1242
- variadic: bo
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: ci,
1227
+ monadic: fi
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 = {}));
@@ -1258,47 +1233,47 @@ var O;
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
1235
  })(O || (O = {}));
1261
- var be;
1236
+ var ge;
1262
1237
  (function(e) {
1263
1238
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1264
- })(be || (be = {}));
1265
- function Wt(e) {
1239
+ })(ge || (ge = {}));
1240
+ function Dt(e) {
1266
1241
  return e.type === O.literal;
1267
1242
  }
1268
- function _o(e) {
1243
+ function mi(e) {
1269
1244
  return e.type === O.argument;
1270
1245
  }
1271
- function Sn(e) {
1246
+ function En(e) {
1272
1247
  return e.type === O.number;
1273
1248
  }
1274
- function An(e) {
1249
+ function xn(e) {
1275
1250
  return e.type === O.date;
1276
1251
  }
1277
- function Tn(e) {
1252
+ function wn(e) {
1278
1253
  return e.type === O.time;
1279
1254
  }
1280
- function Pn(e) {
1255
+ function Cn(e) {
1281
1256
  return e.type === O.select;
1282
1257
  }
1283
- function Mn(e) {
1258
+ function Sn(e) {
1284
1259
  return e.type === O.plural;
1285
1260
  }
1286
- function Bo(e) {
1261
+ function bi(e) {
1287
1262
  return e.type === O.pound;
1288
1263
  }
1289
- function Hn(e) {
1264
+ function An(e) {
1290
1265
  return e.type === O.tag;
1291
1266
  }
1292
- function On(e) {
1293
- return !!(e && typeof e == "object" && e.type === be.number);
1267
+ function Tn(e) {
1268
+ return !!(e && typeof e == "object" && e.type === ge.number);
1294
1269
  }
1295
- function pt(e) {
1296
- return !!(e && typeof e == "object" && e.type === be.dateTime);
1270
+ function lt(e) {
1271
+ return !!(e && typeof e == "object" && e.type === ge.dateTime);
1297
1272
  }
1298
- var In = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Eo = /(?:[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 xo(e) {
1273
+ var Pn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[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 vi(e) {
1300
1275
  var t = {};
1301
- return e.replace(Eo, function(n) {
1276
+ return e.replace(gi, function(n) {
1302
1277
  var r = n.length;
1303
1278
  switch (n[0]) {
1304
1279
  case "G":
@@ -1387,46 +1362,36 @@ function xo(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 wo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1401
- function Co(e) {
1365
+ var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1366
+ function _i(e) {
1402
1367
  if (e.length === 0)
1403
1368
  throw new Error("Number skeleton cannot be empty");
1404
- for (var t = e.split(wo).filter(function(d) {
1369
+ for (var t = e.split(yi).filter(function(d) {
1405
1370
  return d.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++) {
1411
- var f = c[l];
1412
- if (f.length === 0)
1376
+ var h = c[l];
1377
+ if (h.length === 0)
1413
1378
  throw new Error("Invalid number skeleton");
1414
1379
  }
1415
1380
  n.push({ stem: a, options: u });
1416
1381
  }
1417
1382
  return n;
1418
1383
  }
1419
- function So(e) {
1384
+ function Bi(e) {
1420
1385
  return e.replace(/^(.*?)-/, "");
1421
1386
  }
1422
- var Vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nn = /^(@+)?(\+|#+)?[rs]?$/g, Ao = /(\*)(0+)|(#+)(0+)|(0+)/g, Ln = /^(0+)$/;
1423
- function zt(e) {
1387
+ var Gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mn = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(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 To(e) {
1434
+ function xi(e) {
1470
1435
  var t;
1471
1436
  if (e[0] === "E" && e[1] === "E" ? (t = {
1472
1437
  notation: "engineering"
@@ -1474,20 +1439,20 @@ function To(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 Po(e) {
1452
+ function wi(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 Po(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 Po(e) {
1508
1473
  continue;
1509
1474
  case "measure-unit":
1510
1475
  case "unit":
1511
- t.style = "unit", t.unit = So(o.options[0]);
1476
+ t.style = "unit", t.unit = Bi(i.options[0]);
1512
1477
  continue;
1513
1478
  case "compact-short":
1514
1479
  case "K":
@@ -1519,13 +1484,13 @@ function Po(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 Po(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,13 +1533,13 @@ function Po(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(Ao, function(u, l, c, f, d, m) {
1538
+ i.options[0].replace(Ei, function(u, l, c, h, d, m) {
1574
1539
  if (l)
1575
1540
  t.minimumIntegerDigits = c.length;
1576
1541
  else {
1577
- if (f && d)
1542
+ if (h && d)
1578
1543
  throw new Error("We currently do not support maximum integer digits");
1579
1544
  if (m)
1580
1545
  throw new Error("We currently do not support exact integer digits");
@@ -1583,28 +1548,28 @@ function Po(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, f, d, m) {
1594
- return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && m ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1558
+ i.stem.replace(Gt, function(u, l, c, h, d, m) {
1559
+ return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && m ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
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 = To(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 = xi(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 Mo(e, t) {
2991
+ function Ci(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 = Ho(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 = Si(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 Ho(e) {
3007
+ function Si(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 Ho(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, Oo = new RegExp("^".concat(In.source, "*")), Io = new RegExp("".concat(In.source, "*$"));
3029
+ var Ye, Ai = new RegExp("^".concat(Pn.source, "*")), Ti = new RegExp("".concat(Pn.source, "*$"));
3065
3030
  function w(e, t) {
3066
3031
  return { start: e, end: t };
3067
3032
  }
3068
- var No = !!String.prototype.startsWith && "_a".startsWith("a", 1), Lo = !!String.fromCodePoint, Ro = !!Object.fromEntries, $o = !!String.prototype.codePointAt, Fo = !!String.prototype.trimStart, Uo = !!String.prototype.trimEnd, Do = !!Number.isSafeInteger, Go = Do ? Number.isSafeInteger : function(e) {
3033
+ var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mi = !!String.fromCodePoint, Hi = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Oi = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Ri = Li ? 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 ko = Fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3073
- mt = ((tt = ko.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3037
+ var $i = Nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3038
+ ct = ((Ye = $i.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 = No ? (
3042
+ var Wt = Pi ? (
3078
3043
  // Native
3079
3044
  function(t, n, r) {
3080
3045
  return t.startsWith(n, r);
@@ -3084,31 +3049,31 @@ var Zt = No ? (
3084
3049
  function(t, n, r) {
3085
3050
  return t.slice(r, r + n.length) === n;
3086
3051
  }
3087
- ), bt = Lo ? String.fromCodePoint : (
3052
+ ), ft = Mi ? 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
- Ro ? Object.fromEntries : (
3066
+ Hi ? 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 = $o ? (
3076
+ ), On = Ii ? (
3112
3077
  // Native
3113
3078
  function(t, n) {
3114
3079
  return t.codePointAt(n);
@@ -3118,11 +3083,11 @@ var Zt = No ? (
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
- ), jo = Fo ? (
3090
+ ), Fi = Oi ? (
3126
3091
  // Native
3127
3092
  function(t) {
3128
3093
  return t.trimStart();
@@ -3130,9 +3095,9 @@ var Zt = No ? (
3130
3095
  ) : (
3131
3096
  // Ponyfill
3132
3097
  function(t) {
3133
- return t.replace(Oo, "");
3098
+ return t.replace(Ai, "");
3134
3099
  }
3135
- ), Wo = Uo ? (
3100
+ ), Ui = Ni ? (
3136
3101
  // Native
3137
3102
  function(t) {
3138
3103
  return t.trimEnd();
@@ -3140,32 +3105,32 @@ var Zt = No ? (
3140
3105
  ) : (
3141
3106
  // Ponyfill
3142
3107
  function(t) {
3143
- return t.replace(Io, "");
3108
+ return t.replace(Ti, "");
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 ht;
3115
+ if (ct) {
3116
+ var zt = Nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3117
+ ht = 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
+ ht = function(t, n) {
3160
3125
  for (var r = []; ; ) {
3161
- var o = $n(t, n);
3162
- if (o === void 0 || Un(o) || Zo(o))
3126
+ var i = On(t, n);
3127
+ if (i === void 0 || Ln(i) || ji(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 ft.apply(void 0, r);
3167
3132
  };
3168
- var Vo = (
3133
+ var Di = (
3169
3134
  /** @class */
3170
3135
  function() {
3171
3136
  function e(t, n) {
@@ -3176,66 +3141,66 @@ var Vo = (
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({
3156
+ this.bump(), i.push({
3192
3157
  type: O.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
3185
  type: O.literal,
3221
- value: "<".concat(o, "/>"),
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
3202
  type: O.tag,
3238
- value: o,
3203
+ value: i,
3239
3204
  children: s,
3240
3205
  location: w(r, this.clonePosition())
3241
3206
  },
@@ -3247,36 +3212,36 @@ var Vo = (
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() && Xo(this.char()); )
3215
+ for (this.bump(); !this.isEOF() && ki(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: O.literal, value: o, location: u },
3239
+ val: { type: O.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
- !zo(this.peek() || 0)) ? (this.bump(), "<") : null;
3244
+ !Gi(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 Vo = (
3310
3275
  n.push(r);
3311
3276
  this.bump();
3312
3277
  }
3313
- return bt.apply(void 0, n);
3278
+ return ft.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(), ft(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()));
@@ -3333,23 +3298,23 @@ var Vo = (
3333
3298
  val: {
3334
3299
  type: O.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 = ht(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));
@@ -3360,40 +3325,40 @@ var Vo = (
3360
3325
  var l = null;
3361
3326
  if (this.bumpIf(",")) {
3362
3327
  this.bumpSpace();
3363
- var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3364
- if (f.err)
3365
- return f;
3366
- var d = Wo(f.val);
3328
+ var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3329
+ if (h.err)
3330
+ return h;
3331
+ var d = Ui(h.val);
3367
3332
  if (d.length === 0)
3368
3333
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3369
3334
  var m = w(c, this.clonePosition());
3370
3335
  l = { style: d, styleLocation: m };
3371
3336
  }
3372
- var b = this.tryParseArgumentClose(o);
3337
+ var b = this.tryParseArgumentClose(i);
3373
3338
  if (b.err)
3374
3339
  return b;
3375
- var h = w(o, this.clonePosition());
3376
- if (l && Zt(l == null ? void 0 : l.style, "::", 0)) {
3377
- var S = jo(l.style.slice(2));
3340
+ var f = w(i, this.clonePosition());
3341
+ if (l && Wt(l == null ? void 0 : l.style, "::", 0)) {
3342
+ var S = Fi(l.style.slice(2));
3378
3343
  if (a === "number") {
3379
- var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
3380
- return f.err ? f : {
3381
- val: { type: O.number, value: r, location: h, style: f.val },
3344
+ var h = this.parseNumberSkeletonFromString(S, l.styleLocation);
3345
+ return h.err ? h : {
3346
+ val: { type: O.number, value: r, location: f, style: h.val },
3382
3347
  err: null
3383
3348
  };
3384
3349
  } else {
3385
3350
  if (S.length === 0)
3386
- return this.error(x.EXPECT_DATE_TIME_SKELETON, h);
3351
+ return this.error(x.EXPECT_DATE_TIME_SKELETON, f);
3387
3352
  var _ = S;
3388
- this.locale && (_ = Mo(S, this.locale));
3353
+ this.locale && (_ = Ci(S, this.locale));
3389
3354
  var d = {
3390
- type: be.dateTime,
3355
+ type: ge.dateTime,
3391
3356
  pattern: _,
3392
3357
  location: l.styleLocation,
3393
- parsedOptions: this.shouldParseSkeletons ? xo(_) : {}
3358
+ parsedOptions: this.shouldParseSkeletons ? vi(_) : {}
3394
3359
  }, y = a === "date" ? O.date : O.time;
3395
3360
  return {
3396
- val: { type: y, value: r, location: h, style: d },
3361
+ val: { type: y, value: r, location: f, style: d },
3397
3362
  err: null
3398
3363
  };
3399
3364
  }
@@ -3402,8 +3367,8 @@ var Vo = (
3402
3367
  val: {
3403
3368
  type: a === "number" ? O.number : a === "date" ? O.date : O.time,
3404
3369
  value: r,
3405
- location: h,
3406
- style: (i = l == null ? void 0 : l.style) !== null && i !== void 0 ? i : null
3370
+ location: f,
3371
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3407
3372
  },
3408
3373
  err: null
3409
3374
  };
@@ -3411,32 +3376,32 @@ var Vo = (
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 M = this.parseIdentifierIfPossible(), A = 0;
3419
- if (a !== "select" && M.value === "offset") {
3383
+ var H = this.parseIdentifierIfPossible(), T = 0;
3384
+ if (a !== "select" && H.value === "offset") {
3420
3385
  if (!this.bumpIf(":"))
3421
3386
  return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3422
3387
  this.bumpSpace();
3423
- var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3424
- if (f.err)
3425
- return f;
3426
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), A = f.val;
3388
+ var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3389
+ if (h.err)
3390
+ return h;
3391
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), T = h.val;
3427
3392
  }
3428
- var E = this.tryParsePluralOrSelectOptions(t, a, n, M);
3393
+ var E = this.tryParsePluralOrSelectOptions(t, a, n, H);
3429
3394
  if (E.err)
3430
3395
  return E;
3431
- var b = this.tryParseArgumentClose(o);
3396
+ var b = this.tryParseArgumentClose(i);
3432
3397
  if (b.err)
3433
3398
  return b;
3434
- var N = w(o, this.clonePosition());
3399
+ var N = w(i, this.clonePosition());
3435
3400
  return a === "select" ? {
3436
3401
  val: {
3437
3402
  type: O.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
@@ -3444,8 +3409,8 @@ var Vo = (
3444
3409
  val: {
3445
3410
  type: O.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 Vo = (
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,28 +3460,28 @@ var Vo = (
3495
3460
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3496
3461
  var r = [];
3497
3462
  try {
3498
- r = Co(t);
3499
- } catch (o) {
3463
+ r = _i(t);
3464
+ } catch (i) {
3500
3465
  return this.error(x.INVALID_NUMBER_SKELETON, n);
3501
3466
  }
3502
3467
  return {
3503
3468
  val: {
3504
- type: be.number,
3469
+ type: ge.number,
3505
3470
  tokens: r,
3506
3471
  location: n,
3507
- parsedOptions: this.shouldParseSkeletons ? Po(r) : {}
3472
+ parsedOptions: this.shouldParseSkeletons ? wi(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
- var f = this.clonePosition();
3479
+ var h = this.clonePosition();
3515
3480
  if (n !== "select" && this.bumpIf("=")) {
3516
3481
  var d = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3517
3482
  if (d.err)
3518
3483
  return d;
3519
- c = w(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3484
+ c = w(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3520
3485
  } else
3521
3486
  break;
3522
3487
  }
@@ -3529,30 +3494,30 @@ var Vo = (
3529
3494
  var b = this.parseMessage(t + 1, n, r);
3530
3495
  if (b.err)
3531
3496
  return b;
3532
- var h = this.tryParseArgumentClose(m);
3533
- if (h.err)
3534
- return h;
3497
+ var f = this.tryParseArgumentClose(m);
3498
+ if (f.err)
3499
+ return f;
3535
3500
  a.push([
3536
3501
  l,
3537
3502
  {
3538
3503
  value: b.val,
3539
3504
  location: w(m, 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, Go(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, Ri(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 Vo = (
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 Vo = (
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 Vo = (
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 Vo = (
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 zo(e) {
3625
- return vt(e) || e === 47;
3589
+ function Gi(e) {
3590
+ return dt(e) || e === 47;
3626
3591
  }
3627
- function Xo(e) {
3592
+ function ki(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 Zo(e) {
3598
+ function ji(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 qo(e, t) {
3646
- t === void 0 && (t = {}), t = De({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3647
- var n = new Vo(e, t).parse();
3610
+ function Wi(e, t) {
3611
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3612
+ var n = new Di(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 ge;
3619
+ var ve;
3655
3620
  (function(e) {
3656
3621
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3657
- })(ge || (ge = {}));
3658
- var ze = (
3622
+ })(ve || (ve = {}));
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
+ ie(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('", "'), '"'), ge.INVALID_VALUE, i) || this;
3638
+ ie(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('", "'), '"'), ve.INVALID_VALUE, o) || this;
3676
3641
  }
3677
3642
  return t;
3678
- }(ze)
3679
- ), Qo = (
3643
+ }(We)
3644
+ ), Vi = (
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), ge.INVALID_VALUE, o) || this;
3647
+ ie(t, e);
3648
+ function t(n, r, i) {
3649
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ve.INVALID_VALUE, i) || this;
3685
3650
  }
3686
3651
  return t;
3687
- }(ze)
3688
- ), Jo = (
3652
+ }(We)
3653
+ ), zi = (
3689
3654
  /** @class */
3690
3655
  function(e) {
3691
- Ve(t, e);
3656
+ ie(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, '"'), ge.MISSING_VALUE, r) || this;
3658
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ve.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 Yo(e) {
3666
+ function Xi(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 Ko(e) {
3672
+ function Zi(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 (Bo(c)) {
3728
- typeof i == "number" && a.push({
3692
+ if (bi(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
- var f = c.value;
3735
- if (!(o && f in o))
3736
- throw new Jo(f, s);
3737
- var d = o[f];
3738
- if (_o(c)) {
3699
+ var h = c.value;
3700
+ if (!(i && h in i))
3701
+ throw new zi(h, s);
3702
+ var d = i[h];
3703
+ if (mi(c)) {
3739
3704
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3740
3705
  type: typeof d == "string" ? j.literal : j.object,
3741
3706
  value: d
3742
3707
  });
3743
3708
  continue;
3744
3709
  }
3745
- if (An(c)) {
3746
- var m = typeof c.style == "string" ? r.date[c.style] : pt(c.style) ? c.style.parsedOptions : void 0;
3710
+ if (xn(c)) {
3711
+ var m = 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, m).format(d)
3750
3715
  });
3751
3716
  continue;
3752
3717
  }
3753
- if (Tn(c)) {
3754
- var m = typeof c.style == "string" ? r.time[c.style] : pt(c.style) ? c.style.parsedOptions : r.time.medium;
3718
+ if (wn(c)) {
3719
+ var m = 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, m).format(d)
3758
3723
  });
3759
3724
  continue;
3760
3725
  }
3761
- if (Sn(c)) {
3762
- var m = typeof c.style == "string" ? r.number[c.style] : On(c.style) ? c.style.parsedOptions : void 0;
3726
+ if (En(c)) {
3727
+ var m = typeof c.style == "string" ? r.number[c.style] : Tn(c.style) ? c.style.parsedOptions : void 0;
3763
3728
  m && m.scale && (d = d * (m.scale || 1)), a.push({
3764
3729
  type: j.literal,
3765
3730
  value: n.getNumberFormat(t, m).format(d)
3766
3731
  });
3767
3732
  continue;
3768
3733
  }
3769
- if (Hn(c)) {
3770
- var b = c.children, h = c.value, S = o[h];
3771
- if (!Ko(S))
3772
- throw new Qo(h, "function", s);
3773
- var _ = $e(b, t, n, r, o, i), y = S(_.map(function(A) {
3774
- return A.value;
3734
+ if (An(c)) {
3735
+ var b = c.children, f = c.value, S = i[f];
3736
+ if (!Zi(S))
3737
+ throw new Vi(f, "function", s);
3738
+ var _ = $e(b, t, n, r, i, o), y = S(_.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[d] || c.options.other;
3785
- if (!P)
3786
- throw new Jt(c.value, d, 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[d] || c.options.other;
3750
+ if (!M)
3751
+ throw new Xt(c.value, d, 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(d)];
3792
- if (!P) {
3755
+ if (Sn(c)) {
3756
+ var M = c.options["=".concat(d)];
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
- `, ge.MISSING_INTL_API, s);
3797
- var M = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3798
- P = c.options[M] || c.options.other;
3761
+ `, ve.MISSING_INTL_API, s);
3762
+ var H = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3763
+ M = c.options[H] || c.options.other;
3799
3764
  }
3800
- if (!P)
3801
- throw new Jt(c.value, d, Object.keys(c.options), s);
3802
- a.push.apply(a, $e(P.value, t, n, r, o, d - (c.offset || 0)));
3765
+ if (!M)
3766
+ throw new Xt(c.value, d, Object.keys(c.options), s);
3767
+ a.push.apply(a, $e(M.value, t, n, r, i, d - (c.offset || 0)));
3803
3768
  continue;
3804
3769
  }
3805
3770
  }
3806
- return Yo(a);
3771
+ return Xi(a);
3807
3772
  }
3808
- function ei(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 qi(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 ti(e, t) {
3778
+ function Qi(e, t) {
3814
3779
  return t ? Object.keys(e).reduce(function(n, r) {
3815
- return n[r] = ei(e[r], t[r]), n;
3816
- }, ee({}, e)) : e;
3780
+ return n[r] = qi(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,77 +3794,77 @@ function nt(e) {
3829
3794
  }
3830
3795
  };
3831
3796
  }
3832
- function ni(e) {
3797
+ function Ji(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, me([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, me([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, me([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 ri = (
3829
+ var Yi = (
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
- var c = l.reduce(function(f, d) {
3879
- return !f.length || d.type !== j.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3843
+ var c = l.reduce(function(h, d) {
3844
+ return !h.length || d.type !== j.literal || typeof h[h.length - 1] != "string" ? h.push(d.value) : h[h.length - 1] += d.value, h;
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 = ho(s, ["formatters"]);
3897
- this.ast = e.__parse(t, ee(ee({}, a), { locale: this.resolvedLocale }));
3861
+ var a = Mr(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 = ti(e.formats, r), this.formatters = o && o.formatters || ni(this.formatterCache);
3867
+ this.formats = Qi(e.formats, r), this.formatters = i && i.formatters || Ji(this.formatterCache);
3903
3868
  }
3904
3869
  return Object.defineProperty(e, "defaultLocale", {
3905
3870
  get: function() {
@@ -3912,7 +3877,7 @@ var ri = (
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 = qo, e.formats = {
3880
+ }, e.__parse = Wi, e.formats = {
3916
3881
  number: {
3917
3882
  integer: {
3918
3883
  maximumFractionDigits: 0
@@ -3973,113 +3938,113 @@ var ri = (
3973
3938
  }, e;
3974
3939
  }()
3975
3940
  );
3976
- function oi(e, t) {
3941
+ function Ki(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 ae = {}, ii = (e, t, n) => n && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = n), n), Dn = (e, t) => {
3962
+ const ae = {}, eo = (e, t, n) => n && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = n), n), Rn = (e, t) => {
3998
3963
  if (t == null)
3999
3964
  return;
4000
3965
  if (t in ae && e in ae[t])
4001
3966
  return ae[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 = ai(o, e);
4005
- if (i)
4006
- return ii(e, t, i);
3969
+ const i = n[r], o = no(i, e);
3970
+ if (o)
3971
+ return eo(e, t, o);
4007
3972
  }
4008
3973
  };
4009
- let wt;
4010
- const Pe = We({});
4011
- function si(e) {
4012
- return wt[e] || null;
3974
+ let _t;
3975
+ const Pe = je({});
3976
+ function to(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 ai(e, t) {
4018
- if (!Gn(e))
3982
+ function no(e, t) {
3983
+ if (!$n(e))
4019
3984
  return null;
4020
- const n = si(e);
4021
- return oi(n, t);
3985
+ const n = to(e);
3986
+ return Ki(n, t);
4022
3987
  }
4023
- function ui(e) {
3988
+ function ro(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 ae[e], Pe.update((n) => (n[e] = co.all([n[e] || {}, ...t]), n));
3998
+ function Fn(e, ...t) {
3999
+ delete ae[e], Pe.update((n) => (n[e] = ai.all([n[e] || {}, ...t]), n));
4035
4000
  }
4036
- ye(
4001
+ _e(
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 li(e, t) {
4007
+ function io(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 ci(e) {
4049
- return Xe(e).map((t) => {
4050
- const n = jn(t);
4013
+ function oo(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 hi(e, t) {
4027
+ function so(e, t) {
4063
4028
  return Promise.all(
4064
- t.map((r) => (li(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 = ci(e);
4072
- return xe[e] = Promise.all(
4029
+ t.map((r) => (io(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 = oo(e);
4037
+ return we[e] = Promise.all(
4073
4038
  t.map(
4074
- ([n, r]) => hi(n, r)
4039
+ ([n, r]) => so(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 fi = {
4047
+ const ao = {
4083
4048
  number: {
4084
4049
  scientific: { notation: "scientific" },
4085
4050
  engineering: { notation: "engineering" },
@@ -4108,136 +4073,136 @@ const fi = {
4108
4073
  timeZoneName: "short"
4109
4074
  }
4110
4075
  }
4111
- }, di = {
4076
+ }, uo = {
4112
4077
  fallbackLocale: null,
4113
4078
  loadingDelay: 200,
4114
- formats: fi,
4079
+ formats: ao,
4115
4080
  warnOnMissingMessages: !0,
4116
4081
  handleMissingMessage: void 0,
4117
4082
  ignoreTag: !0
4118
- }, pi = di;
4119
- function ve() {
4120
- return pi;
4121
- }
4122
- const rt = We(!1);
4123
- var mi = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, Yt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, Kt = (e, t, n) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, _i = (e, t) => {
4124
- for (var n in t || (t = {}))
4125
- vi.call(t, n) && Kt(e, n, t[n]);
4126
- if (Yt)
4127
- for (var n of Yt(t))
4128
- yi.call(t, n) && Kt(e, n, t[n]);
4083
+ }, lo = uo;
4084
+ function ye() {
4085
+ return lo;
4086
+ }
4087
+ const et = je(!1);
4088
+ var co = Object.defineProperty, fo = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, qt = (e, t, n) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, bo = (e, t) => {
4089
+ for (var n in t)
4090
+ po.call(t, n) && qt(e, n, t[n]);
4091
+ if (Zt)
4092
+ for (var n of Zt(t))
4093
+ mo.call(t, n) && qt(e, n, t[n]);
4129
4094
  return e;
4130
- }, Bi = (e, t) => bi(e, gi(t));
4131
- let Bt;
4132
- const Ge = We(null);
4133
- function en(e) {
4095
+ }, go = (e, t) => fo(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 = ve().fallbackLocale) {
4137
- const n = en(e);
4138
- return t ? [.../* @__PURE__ */ new Set([...n, ...en(t)])] : n;
4101
+ function Ve(e, t = ye().fallbackLocale) {
4102
+ const n = Qt(e);
4103
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Qt(t)])] : n;
4139
4104
  }
4140
4105
  function le() {
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 Ei = (e) => {
4147
- if (e && ui(e) && _t(e)) {
4148
- const { loadingDelay: t } = ve();
4111
+ const vo = (e) => {
4112
+ if (e && ro(e) && mt(e)) {
4113
+ const { loadingDelay: t } = ye();
4149
4114
  let n;
4150
4115
  return typeof window != "undefined" && le() != 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
- }, _e = Bi(_i({}, Ge), {
4161
- set: Ei
4162
- }), Ze = (e) => {
4124
+ return De.set(e);
4125
+ }, Be = go(bo({}, De), {
4126
+ set: vo
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 xi = Object.defineProperty, ke = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, tn = (e, t, n) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ct = (e, t) => {
4134
+ var yo = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable, Jt = (e, t, n) => t in e ? yo(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
- }, Be = (e, t) => {
4141
+ }, Ee = (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 } = ve();
4150
+ const Te = (e, t) => {
4151
+ const { formats: n } = ye();
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
- }, wi = Ze(
4155
+ }, _o = ze(
4191
4156
  (e) => {
4192
- var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4157
+ var t = e, { locale: n, format: r } = t, i = Ee(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
- ), Ci = Ze(
4162
+ ), Bo = ze(
4198
4163
  (e) => {
4199
- var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4164
+ var t = e, { locale: n, format: r } = t, i = Ee(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
- ), Si = Ze(
4169
+ ), Eo = ze(
4205
4170
  (e) => {
4206
- var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4171
+ var t = e, { locale: n, format: r } = t, i = Ee(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
- ), Ai = (e = {}) => {
4178
+ ), xo = (e = {}) => {
4214
4179
  var t = e, {
4215
4180
  locale: n = le()
4216
- } = t, r = Be(t, [
4181
+ } = t, r = Ee(t, [
4217
4182
  "locale"
4218
4183
  ]);
4219
- return wi(Ct({ locale: n }, r));
4220
- }, Ti = (e = {}) => {
4184
+ return _o(Bt({ locale: n }, r));
4185
+ }, wo = (e = {}) => {
4221
4186
  var t = e, {
4222
4187
  locale: n = le()
4223
- } = t, r = Be(t, [
4188
+ } = t, r = Ee(t, [
4224
4189
  "locale"
4225
4190
  ]);
4226
- return Ci(Ct({ locale: n }, r));
4227
- }, Pi = (e = {}) => {
4191
+ return Bo(Bt({ locale: n }, r));
4192
+ }, Co = (e = {}) => {
4228
4193
  var t = e, {
4229
4194
  locale: n = le()
4230
- } = t, r = Be(t, [
4195
+ } = t, r = Ee(t, [
4231
4196
  "locale"
4232
4197
  ]);
4233
- return Si(Ct({ locale: n }, r));
4234
- }, Mi = Ze(
4198
+ return Eo(Bt({ locale: n }, r));
4199
+ }, So = ze(
4235
4200
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4236
- (e, t = le()) => new ri(e, t, ve().formats, {
4237
- ignoreTag: ve().ignoreTag
4201
+ (e, t = le()) => new Yi(e, t, ye().formats, {
4202
+ ignoreTag: ye().ignoreTag
4238
4203
  })
4239
- ), Hi = (e, t = {}) => {
4240
- var n, r, o, i;
4204
+ ), Ao = (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,39 +4214,39 @@ 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 = ve()).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 = ye()).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.`
4258
4223
  ), c;
4259
4224
  if (!a)
4260
4225
  return c;
4261
- let f = c;
4226
+ let h = c;
4262
4227
  try {
4263
- f = Mi(c, u).format(a);
4228
+ h = So(c, u).format(a);
4264
4229
  } catch (d) {
4265
4230
  d instanceof Error && console.warn(
4266
4231
  `[svelte-i18n] Message "${e}" has syntax error:`,
4267
4232
  d.message
4268
4233
  );
4269
4234
  }
4270
- return f;
4271
- }, Oi = (e, t) => Pi(t).format(e), Ii = (e, t) => Ti(t).format(e), Ni = (e, t) => Ai(t).format(e), Li = (e, t = le()) => Dn(e, t), Ri = ye([_e, Pe], () => Hi);
4272
- ye([_e], () => Oi);
4273
- ye([_e], () => Ii);
4274
- ye([_e], () => Ni);
4275
- ye([_e, Pe], () => Li);
4276
- window.emWidgets = { topic: Xr };
4277
- const $i = (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 Fi(e) {
4282
- _e.set(e);
4283
- }
4284
- const rn = {
4235
+ return h;
4236
+ }, To = (e, t) => Co(t).format(e), Po = (e, t) => wo(t).format(e), Mo = (e, t) => xo(t).format(e), Ho = (e, t = le()) => Rn(e, t), Io = _e([Be, Pe], () => Ao);
4237
+ _e([Be], () => To);
4238
+ _e([Be], () => Po);
4239
+ _e([Be], () => Mo);
4240
+ _e([Be, Pe], () => Ho);
4241
+ window.emWidgets = { topic: Wr };
4242
+ const Oo = (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 No(e) {
4247
+ Be.set(e);
4248
+ }
4249
+ const Kt = {
4285
4250
  en: {
4286
4251
  titleBonuses: "Active Bonuses",
4287
4252
  bonusCode: "Do you have a bonus code?",
@@ -4415,26 +4380,26 @@ const rn = {
4415
4380
  bonusClaimErrorMessage: "Invalid bonus"
4416
4381
  }
4417
4382
  };
4418
- function Ui(e, t) {
4383
+ function Lo(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 Di(e, t) {
4389
+ function Ro(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 Gi(e, t, n) {
4398
+ function $o(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,69 +4415,69 @@ if (typeof window != "undefined") {
4450
4415
  }
4451
4416
  };
4452
4417
  };
4453
- customElements.define = e(customElements.define), import("./PlayerBonusCard-hyK8lCB2.js").then(({ default: t }) => {
4418
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-BlCowk-b.js").then(({ default: t }) => {
4454
4419
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4455
4420
  });
4456
4421
  }
4457
- function ki(e) {
4458
- pr(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 Fo(e) {
4423
+ cr(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[49] = t[n], r[51] = 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[52] = t[n], r;
4467
4432
  }
4468
- function ji(e) {
4469
- let t, n, r, o = (
4433
+ function Uo(e) {
4434
+ let t, n, r, i = (
4470
4435
  /*$_*/
4471
4436
  e[18]("titleBonuses") + ""
4472
- ), i, s, a, u, l = (
4437
+ ), o, s, a, u, l = (
4473
4438
  /*$_*/
4474
4439
  e[18]("bonusCode") + ""
4475
- ), c, f, d, m, b, h, S = (
4440
+ ), c, h, d, m, b, f, S = (
4476
4441
  /*$_*/
4477
4442
  e[18]("getBonus") + ""
4478
- ), _, y, P, M, A, E, N, H, ie, Q = (
4443
+ ), _, y, M, H, T, E, N, I, oe, Q = (
4479
4444
  /*isMobile*/
4480
- e[19] && Wi(e)
4445
+ e[19] && Do(e)
4481
4446
  ), R = (
4482
4447
  /*invalidBonusCode*/
4483
- e[9] && an(e)
4448
+ e[9] && nn(e)
4484
4449
  );
4485
- function Ee(C, L) {
4450
+ function xe(C, L) {
4486
4451
  return (
4487
4452
  /*activeBonusesList*/
4488
- C[16].length === 0 ? zi : Vi
4453
+ C[16].length === 0 ? ko : Go
4489
4454
  );
4490
4455
  }
4491
- let se = Ee(e), X = se(e), $ = (
4456
+ let se = xe(e), X = se(e), $ = (
4492
4457
  /*activeBonusesList*/
4493
- e[16].length !== 0 && ln(e)
4458
+ e[16].length !== 0 && on(e)
4494
4459
  ), U = (
4495
4460
  /*bonusModal*/
4496
- e[17] && hn(e)
4461
+ e[17] && an(e)
4497
4462
  );
4498
4463
  return {
4499
4464
  c() {
4500
- t = T("div"), Q && Q.c(), n = W(), r = T("h2"), i = F(o), s = W(), a = T("div"), u = T("label"), c = F(l), f = W(), d = T("div"), m = T("input"), b = W(), h = T("button"), _ = F(S), y = W(), R && R.c(), P = W(), M = T("div"), X.c(), A = W(), $ && $.c(), E = W(), U && U.c(), N = xt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4465
+ t = P("div"), Q && Q.c(), n = W(), r = P("h2"), o = F(i), s = W(), a = P("div"), u = P("label"), c = F(l), h = W(), d = P("div"), m = P("input"), b = W(), f = P("button"), _ = F(S), y = W(), R && R.c(), M = W(), H = P("div"), X.c(), T = W(), $ && $.c(), E = W(), U && U.c(), N = vt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4501
4466
  (e[19] ? "ActiveBonusesTitleNone" : "")), B(u, "for", "BonusCode"), B(m, "class", "BonusCodeInput " + /*isMobile*/
4502
- (e[19] ? "BonusCodeInputMobile" : "")), B(m, "type", "text"), B(m, "id", "BonusCode"), B(h, "class", "SubmitBonusCode " + /*isMobile*/
4503
- (e[19] ? "SubmitBonusCodeMobile" : "")), h.disabled = /*invalidBonusField*/
4467
+ (e[19] ? "BonusCodeInputMobile" : "")), B(m, "type", "text"), B(m, "id", "BonusCode"), B(f, "class", "SubmitBonusCode " + /*isMobile*/
4468
+ (e[19] ? "SubmitBonusCodeMobile" : "")), f.disabled = /*invalidBonusField*/
4504
4469
  e[8], B(d, "class", "BonusCodeWrapper " + /*isMobile*/
4505
4470
  (e[19] ? "BonusCodeWrapperMobile" : "")), B(a, "class", "BonusCodeContainer " + /*isMobile*/
4506
- (e[19] ? "BonusCodeContainerMobile" : "")), B(M, "class", "ActiveBonusesGrid " + /*isMobile*/
4471
+ (e[19] ? "BonusCodeContainerMobile" : "")), B(H, "class", "ActiveBonusesGrid " + /*isMobile*/
4507
4472
  (e[19] ? "ActiveBonusesGridMobile" : "")), B(t, "class", "ActiveBonusesWrapper " + /*isMobile*/
4508
4473
  (e[19] ? "ActiveBonusesWrapperMobile" : ""));
4509
4474
  },
4510
4475
  m(C, L) {
4511
- V(C, t, L), Q && Q.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, f), v(a, d), v(d, m), Nt(
4476
+ V(C, t, L), Q && Q.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, d), v(d, m), Mt(
4512
4477
  m,
4513
4478
  /*bonusCode*/
4514
4479
  e[10]
4515
- ), v(d, b), v(d, h), v(h, _), v(a, y), R && R.m(a, null), v(t, P), v(t, M), X.m(M, null), v(t, A), $ && $.m(t, null), V(C, E, L), U && U.m(C, L), V(C, N, L), H || (ie = [
4480
+ ), v(d, b), v(d, f), v(f, _), v(a, y), R && R.m(a, null), v(t, M), v(t, H), X.m(H, null), v(t, T), $ && $.m(t, null), V(C, E, L), U && U.m(C, L), V(C, N, L), I || (oe = [
4516
4481
  Y(
4517
4482
  m,
4518
4483
  "input",
@@ -4526,7 +4491,7 @@ function ji(e) {
4526
4491
  e[21]
4527
4492
  ),
4528
4493
  Y(
4529
- h,
4494
+ f,
4530
4495
  "click",
4531
4496
  /*debouncedFunction*/
4532
4497
  e[26](
@@ -4534,164 +4499,164 @@ function ji(e) {
4534
4499
  e[23]
4535
4500
  )
4536
4501
  )
4537
- ], H = !0);
4502
+ ], I = !0);
4538
4503
  },
4539
4504
  p(C, L) {
4540
4505
  /*isMobile*/
4541
4506
  C[19] && Q.p(C, L), L[0] & /*$_*/
4542
- 262144 && o !== (o = /*$_*/
4543
- C[18]("titleBonuses") + "") && re(i, o), L[0] & /*$_*/
4507
+ 262144 && i !== (i = /*$_*/
4508
+ C[18]("titleBonuses") + "") && ne(o, i), L[0] & /*$_*/
4544
4509
  262144 && l !== (l = /*$_*/
4545
- C[18]("bonusCode") + "") && re(c, l), L[0] & /*bonusCode*/
4510
+ C[18]("bonusCode") + "") && ne(c, l), L[0] & /*bonusCode*/
4546
4511
  1024 && m.value !== /*bonusCode*/
4547
- C[10] && Nt(
4512
+ C[10] && Mt(
4548
4513
  m,
4549
4514
  /*bonusCode*/
4550
4515
  C[10]
4551
4516
  ), L[0] & /*$_*/
4552
4517
  262144 && S !== (S = /*$_*/
4553
- C[18]("getBonus") + "") && re(_, S), L[0] & /*invalidBonusField*/
4554
- 256 && (h.disabled = /*invalidBonusField*/
4518
+ C[18]("getBonus") + "") && ne(_, S), L[0] & /*invalidBonusField*/
4519
+ 256 && (f.disabled = /*invalidBonusField*/
4555
4520
  C[8]), /*invalidBonusCode*/
4556
- C[9] ? R ? R.p(C, L) : (R = an(C), R.c(), R.m(a, null)) : R && (R.d(1), R = null), se === (se = Ee(C)) && X ? X.p(C, L) : (X.d(1), X = se(C), X && (X.c(), X.m(M, null))), /*activeBonusesList*/
4557
- C[16].length !== 0 ? $ ? $.p(C, L) : ($ = ln(C), $.c(), $.m(t, null)) : $ && ($.d(1), $ = null), /*bonusModal*/
4558
- C[17] ? U ? U.p(C, L) : (U = hn(C), U.c(), U.m(N.parentNode, N)) : U && (U.d(1), U = null);
4521
+ C[9] ? R ? R.p(C, L) : (R = nn(C), R.c(), R.m(a, null)) : R && (R.d(1), R = null), se === (se = xe(C)) && X ? X.p(C, L) : (X.d(1), X = se(C), X && (X.c(), X.m(H, null))), /*activeBonusesList*/
4522
+ C[16].length !== 0 ? $ ? $.p(C, L) : ($ = on(C), $.c(), $.m(t, null)) : $ && ($.d(1), $ = null), /*bonusModal*/
4523
+ C[17] ? U ? U.p(C, L) : (U = an(C), U.c(), U.m(N.parentNode, N)) : U && (U.d(1), U = null);
4559
4524
  },
4560
4525
  d(C) {
4561
- C && (G(t), G(E), G(N)), Q && Q.d(), R && R.d(), X.d(), $ && $.d(), U && U.d(C), H = !1, ue(ie);
4526
+ C && (G(t), G(E), G(N)), Q && Q.d(), R && R.d(), X.d(), $ && $.d(), U && U.d(C), I = !1, ue(oe);
4562
4527
  }
4563
4528
  };
4564
4529
  }
4565
- function Wi(e) {
4566
- let t, n, r, o, i, s, a, u, l, c, f = (
4530
+ function Do(e) {
4531
+ let t, n, r, i, o, s, a, u, l, c, h = (
4567
4532
  /*$_*/
4568
4533
  e[18]("titleBonuses") + ""
4569
4534
  ), d, m, b;
4570
4535
  return {
4571
4536
  c() {
4572
- t = T("div"), n = ce("svg"), r = ce("defs"), o = ce("style"), i = F(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = ce("g"), a = ce("g"), u = ce("path"), l = W(), c = T("h2"), d = F(f), 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 = ce("svg"), r = ce("defs"), i = ce("style"), o = F(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = ce("g"), a = ce("g"), u = ce("path"), l = W(), c = P("h2"), d = 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
- m(h, S) {
4575
- V(h, t, S), 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, d), m || (b = Y(
4539
+ m(f, S) {
4540
+ V(f, t, S), 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, d), m || (b = Y(
4576
4541
  t,
4577
4542
  "click",
4578
4543
  /*click_handler*/
4579
4544
  e[31]
4580
4545
  ), m = !0);
4581
4546
  },
4582
- p(h, S) {
4547
+ p(f, S) {
4583
4548
  S[0] & /*$_*/
4584
- 262144 && f !== (f = /*$_*/
4585
- h[18]("titleBonuses") + "") && re(d, f);
4549
+ 262144 && h !== (h = /*$_*/
4550
+ f[18]("titleBonuses") + "") && ne(d, h);
4586
4551
  },
4587
- d(h) {
4588
- h && G(t), m = !1, b();
4552
+ d(f) {
4553
+ f && G(t), m = !1, b();
4589
4554
  }
4590
4555
  };
4591
4556
  }
4592
- function an(e) {
4557
+ function nn(e) {
4593
4558
  let t, n = (
4594
4559
  /*$_*/
4595
4560
  e[18]("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
  262144 && n !== (n = /*$_*/
4607
- o[18]("invalidBonusCode") + "") && re(r, n);
4572
+ i[18]("invalidBonusCode") + "") && ne(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 Vi(e) {
4579
+ function Go(e) {
4615
4580
  let t, n = Ue(
4616
4581
  /*activeBonusesList*/
4617
4582
  e[16]
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, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
4597
+ p(i, o) {
4598
+ if (o[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
4634
4599
  65663) {
4635
4600
  n = Ue(
4636
4601
  /*activeBonusesList*/
4637
- o[16]
4602
+ i[16]
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), fn(r, i);
4651
4616
  }
4652
4617
  };
4653
4618
  }
4654
- function zi(e) {
4619
+ function ko(e) {
4655
4620
  let t, n = (
4656
4621
  /*$_*/
4657
4622
  e[18]("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
  262144 && n !== (n = /*$_*/
4669
- o[18]("noActiveBonuses") + "") && re(r, n);
4634
+ i[18]("noActiveBonuses") + "") && ne(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 Xi(e) {
4677
- let t, n, r, o, i, s, a, u, l, c, f, d, m, b, h, S;
4641
+ function jo(e) {
4642
+ let t, n, r, i, o, s, a, u, l, c, h, d, m, b, f, S;
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[52].termsandconditionsdescription), p(t, "termsandconditionsurl", r = /*activeBonus*/
4682
- e[52].termsandconditionsurl), p(t, "termsandconditionsasset", o = /*activeBonus*/
4683
- e[52].termsandconditionsasset), p(t, "endpoint", i = /*activeBonus*/
4647
+ e[52].termsandconditionsurl), p(t, "termsandconditionsasset", i = /*activeBonus*/
4648
+ e[52].termsandconditionsasset), p(t, "endpoint", o = /*activeBonus*/
4684
4649
  e[52].endpoint), p(t, "playerid", s = /*activeBonus*/
4685
4650
  e[52].playerid), p(t, "session", a = /*activeBonus*/
4686
4651
  e[52].session), p(t, "bonuswalletid", u = /*activeBonus*/
4687
4652
  e[52].walletId), p(t, "bonusdate", l = /*activeBonus*/
4688
4653
  e[52].granted), p(t, "bonusstatus", c = /*activeBonus*/
4689
- e[52].status), p(t, "bonusname", f = /*activeBonus*/
4654
+ e[52].status), p(t, "bonusname", h = /*activeBonus*/
4690
4655
  e[52].name), p(t, "bonustype", d = /*activeBonus*/
4691
4656
  e[52].type), p(t, "bonusamount", m = /*activeBonus*/
4692
4657
  e[52].extension.grantedPlayerCurrencyAmount), p(t, "bonuswageringamount", b = `${/*activeBonus*/
4693
4658
  e[52].fulfilledWR} / ${/*activeBonus*/
4694
- e[52].originalWageringRequirement}`), p(t, "bonusremainingamount", h = /*activeBonus*/
4659
+ e[52].originalWageringRequirement}`), p(t, "bonusremainingamount", f = /*activeBonus*/
4695
4660
  e[52].currentAmount), p(t, "bonuscurrency", S = /*activeBonus*/
4696
4661
  e[52].currency), p(
4697
4662
  t,
@@ -4739,10 +4704,10 @@ function Xi(e) {
4739
4704
  _[52].termsandconditionsdescription) && p(t, "termsandconditionsdescription", n), y[0] & /*activeBonusesList*/
4740
4705
  65536 && r !== (r = /*activeBonus*/
4741
4706
  _[52].termsandconditionsurl) && p(t, "termsandconditionsurl", r), y[0] & /*activeBonusesList*/
4742
- 65536 && o !== (o = /*activeBonus*/
4743
- _[52].termsandconditionsasset) && p(t, "termsandconditionsasset", o), y[0] & /*activeBonusesList*/
4744
4707
  65536 && i !== (i = /*activeBonus*/
4745
- _[52].endpoint) && p(t, "endpoint", i), y[0] & /*activeBonusesList*/
4708
+ _[52].termsandconditionsasset) && p(t, "termsandconditionsasset", i), y[0] & /*activeBonusesList*/
4709
+ 65536 && o !== (o = /*activeBonus*/
4710
+ _[52].endpoint) && p(t, "endpoint", o), y[0] & /*activeBonusesList*/
4746
4711
  65536 && s !== (s = /*activeBonus*/
4747
4712
  _[52].playerid) && p(t, "playerid", s), y[0] & /*activeBonusesList*/
4748
4713
  65536 && a !== (a = /*activeBonus*/
@@ -4753,8 +4718,8 @@ function Xi(e) {
4753
4718
  _[52].granted) && p(t, "bonusdate", l), y[0] & /*activeBonusesList*/
4754
4719
  65536 && c !== (c = /*activeBonus*/
4755
4720
  _[52].status) && p(t, "bonusstatus", c), y[0] & /*activeBonusesList*/
4756
- 65536 && f !== (f = /*activeBonus*/
4757
- _[52].name) && p(t, "bonusname", f), y[0] & /*activeBonusesList*/
4721
+ 65536 && h !== (h = /*activeBonus*/
4722
+ _[52].name) && p(t, "bonusname", h), y[0] & /*activeBonusesList*/
4758
4723
  65536 && d !== (d = /*activeBonus*/
4759
4724
  _[52].type) && p(t, "bonustype", d), y[0] & /*activeBonusesList*/
4760
4725
  65536 && m !== (m = /*activeBonus*/
@@ -4762,8 +4727,8 @@ function Xi(e) {
4762
4727
  65536 && b !== (b = `${/*activeBonus*/
4763
4728
  _[52].fulfilledWR} / ${/*activeBonus*/
4764
4729
  _[52].originalWageringRequirement}`) && p(t, "bonuswageringamount", b), y[0] & /*activeBonusesList*/
4765
- 65536 && h !== (h = /*activeBonus*/
4766
- _[52].currentAmount) && p(t, "bonusremainingamount", h), y[0] & /*activeBonusesList*/
4730
+ 65536 && f !== (f = /*activeBonus*/
4731
+ _[52].currentAmount) && p(t, "bonusremainingamount", f), y[0] & /*activeBonusesList*/
4767
4732
  65536 && S !== (S = /*activeBonus*/
4768
4733
  _[52].currency) && p(t, "bonuscurrency", S), y[0] & /*lang*/
4769
4734
  1 && p(
@@ -4814,20 +4779,20 @@ function Xi(e) {
4814
4779
  }
4815
4780
  };
4816
4781
  }
4817
- function Zi(e) {
4818
- let t, n, r, o, i, s, a, u, l, c, f, d, m;
4782
+ function Wo(e) {
4783
+ let t, n, r, i, o, s, a, u, l, c, h, d, m;
4819
4784
  return {
4820
4785
  c() {
4821
- t = T("player-bonus-card"), p(t, "termsandconditionsdescription", n = /*activeBonus*/
4786
+ t = P("player-bonus-card"), p(t, "termsandconditionsdescription", n = /*activeBonus*/
4822
4787
  e[52].termsandconditionsdescription), p(t, "termsandconditionsurl", r = /*activeBonus*/
4823
- e[52].termsandconditionsurl), p(t, "termsandconditionsasset", o = /*activeBonus*/
4824
- e[52].termsandconditionsasset), p(t, "endpoint", i = /*activeBonus*/
4788
+ e[52].termsandconditionsurl), p(t, "termsandconditionsasset", i = /*activeBonus*/
4789
+ e[52].termsandconditionsasset), p(t, "endpoint", o = /*activeBonus*/
4825
4790
  e[52].endpoint), p(t, "playerid", s = /*activeBonus*/
4826
4791
  e[52].playerid), p(t, "session", a = /*activeBonus*/
4827
4792
  e[52].session), p(t, "bonuswalletid", u = /*activeBonus*/
4828
4793
  e[52].walletId), p(t, "bonusdate", l = /*activeBonus*/
4829
4794
  e[52].granted), p(t, "bonusstatus", c = /*activeBonus*/
4830
- e[52].status), p(t, "bonusname", f = /*activeBonus*/
4795
+ e[52].status), p(t, "bonusname", h = /*activeBonus*/
4831
4796
  e[52].name), p(t, "bonustype", d = /*activeBonus*/
4832
4797
  e[52].type), p(t, "bonuscurrency", m = /*activeBonus*/
4833
4798
  e[52].currency), p(
@@ -4867,71 +4832,71 @@ function Zi(e) {
4867
4832
  e[5]
4868
4833
  );
4869
4834
  },
4870
- m(b, h) {
4871
- V(b, t, h);
4835
+ m(b, f) {
4836
+ V(b, t, f);
4872
4837
  },
4873
- p(b, h) {
4874
- h[0] & /*activeBonusesList*/
4838
+ p(b, f) {
4839
+ f[0] & /*activeBonusesList*/
4875
4840
  65536 && n !== (n = /*activeBonus*/
4876
- b[52].termsandconditionsdescription) && p(t, "termsandconditionsdescription", n), h[0] & /*activeBonusesList*/
4841
+ b[52].termsandconditionsdescription) && p(t, "termsandconditionsdescription", n), f[0] & /*activeBonusesList*/
4877
4842
  65536 && r !== (r = /*activeBonus*/
4878
- b[52].termsandconditionsurl) && p(t, "termsandconditionsurl", r), h[0] & /*activeBonusesList*/
4879
- 65536 && o !== (o = /*activeBonus*/
4880
- b[52].termsandconditionsasset) && p(t, "termsandconditionsasset", o), h[0] & /*activeBonusesList*/
4843
+ b[52].termsandconditionsurl) && p(t, "termsandconditionsurl", r), f[0] & /*activeBonusesList*/
4881
4844
  65536 && i !== (i = /*activeBonus*/
4882
- b[52].endpoint) && p(t, "endpoint", i), h[0] & /*activeBonusesList*/
4845
+ b[52].termsandconditionsasset) && p(t, "termsandconditionsasset", i), f[0] & /*activeBonusesList*/
4846
+ 65536 && o !== (o = /*activeBonus*/
4847
+ b[52].endpoint) && p(t, "endpoint", o), f[0] & /*activeBonusesList*/
4883
4848
  65536 && s !== (s = /*activeBonus*/
4884
- b[52].playerid) && p(t, "playerid", s), h[0] & /*activeBonusesList*/
4849
+ b[52].playerid) && p(t, "playerid", s), f[0] & /*activeBonusesList*/
4885
4850
  65536 && a !== (a = /*activeBonus*/
4886
- b[52].session) && p(t, "session", a), h[0] & /*activeBonusesList*/
4851
+ b[52].session) && p(t, "session", a), f[0] & /*activeBonusesList*/
4887
4852
  65536 && u !== (u = /*activeBonus*/
4888
- b[52].walletId) && p(t, "bonuswalletid", u), h[0] & /*activeBonusesList*/
4853
+ b[52].walletId) && p(t, "bonuswalletid", u), f[0] & /*activeBonusesList*/
4889
4854
  65536 && l !== (l = /*activeBonus*/
4890
- b[52].granted) && p(t, "bonusdate", l), h[0] & /*activeBonusesList*/
4855
+ b[52].granted) && p(t, "bonusdate", l), f[0] & /*activeBonusesList*/
4891
4856
  65536 && c !== (c = /*activeBonus*/
4892
- b[52].status) && p(t, "bonusstatus", c), h[0] & /*activeBonusesList*/
4893
- 65536 && f !== (f = /*activeBonus*/
4894
- b[52].name) && p(t, "bonusname", f), h[0] & /*activeBonusesList*/
4857
+ b[52].status) && p(t, "bonusstatus", c), f[0] & /*activeBonusesList*/
4858
+ 65536 && h !== (h = /*activeBonus*/
4859
+ b[52].name) && p(t, "bonusname", h), f[0] & /*activeBonusesList*/
4895
4860
  65536 && d !== (d = /*activeBonus*/
4896
- b[52].type) && p(t, "bonustype", d), h[0] & /*activeBonusesList*/
4861
+ b[52].type) && p(t, "bonustype", d), f[0] & /*activeBonusesList*/
4897
4862
  65536 && m !== (m = /*activeBonus*/
4898
- b[52].currency) && p(t, "bonuscurrency", m), h[0] & /*lang*/
4863
+ b[52].currency) && p(t, "bonuscurrency", m), f[0] & /*lang*/
4899
4864
  1 && p(
4900
4865
  t,
4901
4866
  "lang",
4902
4867
  /*lang*/
4903
4868
  b[0]
4904
- ), h[0] & /*dateformat*/
4869
+ ), f[0] & /*dateformat*/
4905
4870
  64 && p(
4906
4871
  t,
4907
4872
  "dateformat",
4908
4873
  /*dateformat*/
4909
4874
  b[6]
4910
- ), h[0] & /*clientstyling*/
4875
+ ), f[0] & /*clientstyling*/
4911
4876
  2 && p(
4912
4877
  t,
4913
4878
  "clientstyling",
4914
4879
  /*clientstyling*/
4915
4880
  b[1]
4916
- ), h[0] & /*clientstylingurl*/
4881
+ ), f[0] & /*clientstylingurl*/
4917
4882
  4 && p(
4918
4883
  t,
4919
4884
  "clientstylingurl",
4920
4885
  /*clientstylingurl*/
4921
4886
  b[2]
4922
- ), h[0] & /*mbsource*/
4887
+ ), f[0] & /*mbsource*/
4923
4888
  8 && p(
4924
4889
  t,
4925
4890
  "mbsource",
4926
4891
  /*mbsource*/
4927
4892
  b[3]
4928
- ), h[0] & /*translationurl*/
4893
+ ), f[0] & /*translationurl*/
4929
4894
  16 && p(
4930
4895
  t,
4931
4896
  "translationurl",
4932
4897
  /*translationurl*/
4933
4898
  b[4]
4934
- ), h[0] & /*currencylocale*/
4899
+ ), f[0] & /*currencylocale*/
4935
4900
  32 && p(
4936
4901
  t,
4937
4902
  "currencylocale",
@@ -4944,56 +4909,56 @@ function Zi(e) {
4944
4909
  }
4945
4910
  };
4946
4911
  }
4947
- function un(e) {
4912
+ function rn(e) {
4948
4913
  let t;
4949
- function n(i, s) {
4914
+ function n(o, s) {
4950
4915
  return (
4951
4916
  /*activeBonus*/
4952
- i[52].type === "freeRound" ? Zi : Xi
4917
+ o[52].type === "freeRound" ? Wo : jo
4953
4918
  );
4954
4919
  }
4955
- let r = n(e), o = r(e);
4920
+ let r = n(e), i = r(e);
4956
4921
  return {
4957
4922
  c() {
4958
- o.c(), t = xt();
4923
+ i.c(), t = vt();
4959
4924
  },
4960
- m(i, s) {
4961
- o.m(i, s), V(i, t, s);
4925
+ m(o, s) {
4926
+ i.m(o, s), V(o, t, s);
4962
4927
  },
4963
- p(i, s) {
4964
- r === (r = n(i)) && o ? o.p(i, s) : (o.d(1), o = r(i), o && (o.c(), o.m(t.parentNode, t)));
4928
+ p(o, s) {
4929
+ r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t.parentNode, t)));
4965
4930
  },
4966
- d(i) {
4967
- i && G(t), o.d(i);
4931
+ d(o) {
4932
+ o && G(t), i.d(o);
4968
4933
  }
4969
4934
  };
4970
4935
  }
4971
- function ln(e) {
4972
- let t, n, r, o, i, s, a, u, l, c, f, d, m, b, h, S, _, y, P, M = Ue(Array(
4936
+ function on(e) {
4937
+ let t, n, r, i, o, s, a, u, l, c, h, d, m, b, f, S, _, y, M, H = Ue(Array(
4973
4938
  /*numberOfPages*/
4974
4939
  e[14]
4975
- )), A = [];
4976
- for (let E = 0; E < M.length; E += 1)
4977
- A[E] = cn(on(e, M, E));
4940
+ )), T = [];
4941
+ for (let E = 0; E < H.length; E += 1)
4942
+ T[E] = sn(en(e, H, E));
4978
4943
  return {
4979
4944
  c() {
4980
- t = T("div"), n = T("span"), r = F("|<"), i = W(), s = T("span"), a = F("<"), l = W();
4981
- for (let E = 0; E < A.length; E += 1)
4982
- A[E].c();
4983
- c = W(), f = T("span"), d = F(">"), b = W(), h = T("span"), S = F(">|"), B(n, "class", o = "BonusesFirst " + /*currentPage*/
4945
+ t = P("div"), n = P("span"), r = F("|<"), o = W(), s = P("span"), a = F("<"), l = W();
4946
+ for (let E = 0; E < T.length; E += 1)
4947
+ T[E].c();
4948
+ c = W(), h = P("span"), d = F(">"), b = W(), f = P("span"), S = F(">|"), B(n, "class", i = "BonusesFirst " + /*currentPage*/
4984
4949
  (e[15] === 0 ? "Inactive" : "")), B(s, "class", u = "BonusesPrev " + /*currentPage*/
4985
- (e[15] === 0 ? "Inactive" : "")), B(f, "class", m = "BonusesNext " + /*currentPage*/
4950
+ (e[15] === 0 ? "Inactive" : "")), B(h, "class", m = "BonusesNext " + /*currentPage*/
4986
4951
  (e[15] === /*numberOfPages*/
4987
- e[14] - 1 ? "Inactive" : "")), B(h, "class", _ = "BonusesLast " + /*currentPage*/
4952
+ e[14] - 1 ? "Inactive" : "")), B(f, "class", _ = "BonusesLast " + /*currentPage*/
4988
4953
  (e[15] === /*numberOfPages*/
4989
4954
  e[14] - 1 ? "Inactive" : "")), B(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
4990
4955
  (e[19] ? "BonusesPaginationWrapperMobile" : ""));
4991
4956
  },
4992
4957
  m(E, N) {
4993
- V(E, t, N), v(t, n), v(n, r), v(t, i), v(t, s), v(s, a), v(t, l);
4994
- for (let H = 0; H < A.length; H += 1)
4995
- A[H] && A[H].m(t, null);
4996
- v(t, c), v(t, f), v(f, d), v(t, b), v(t, h), v(h, S), y || (P = [
4958
+ V(E, t, N), v(t, n), v(n, r), v(t, o), v(t, s), v(s, a), v(t, l);
4959
+ for (let I = 0; I < T.length; I += 1)
4960
+ T[I] && T[I].m(t, null);
4961
+ v(t, c), v(t, h), v(h, d), v(t, b), v(t, f), v(f, S), y || (M = [
4997
4962
  Y(
4998
4963
  n,
4999
4964
  "click",
@@ -5007,13 +4972,13 @@ function ln(e) {
5007
4972
  e[34]
5008
4973
  ),
5009
4974
  Y(
5010
- f,
4975
+ h,
5011
4976
  "click",
5012
4977
  /*click_handler_4*/
5013
4978
  e[36]
5014
4979
  ),
5015
4980
  Y(
5016
- h,
4981
+ f,
5017
4982
  "click",
5018
4983
  /*click_handler_5*/
5019
4984
  e[37]
@@ -5022,42 +4987,42 @@ function ln(e) {
5022
4987
  },
5023
4988
  p(E, N) {
5024
4989
  if (N[0] & /*currentPage*/
5025
- 32768 && o !== (o = "BonusesFirst " + /*currentPage*/
5026
- (E[15] === 0 ? "Inactive" : "")) && B(n, "class", o), N[0] & /*currentPage*/
4990
+ 32768 && i !== (i = "BonusesFirst " + /*currentPage*/
4991
+ (E[15] === 0 ? "Inactive" : "")) && B(n, "class", i), N[0] & /*currentPage*/
5027
4992
  32768 && u !== (u = "BonusesPrev " + /*currentPage*/
5028
4993
  (E[15] === 0 ? "Inactive" : "")) && B(s, "class", u), N[0] & /*currentPage, getActiveBonuses, numberOfPages*/
5029
4994
  4243456) {
5030
- M = Ue(Array(
4995
+ H = Ue(Array(
5031
4996
  /*numberOfPages*/
5032
4997
  E[14]
5033
4998
  ));
5034
- let H;
5035
- for (H = 0; H < M.length; H += 1) {
5036
- const ie = on(E, M, H);
5037
- A[H] ? A[H].p(ie, N) : (A[H] = cn(ie), A[H].c(), A[H].m(t, c));
4999
+ let I;
5000
+ for (I = 0; I < H.length; I += 1) {
5001
+ const oe = en(E, H, I);
5002
+ T[I] ? T[I].p(oe, N) : (T[I] = sn(oe), T[I].c(), T[I].m(t, c));
5038
5003
  }
5039
- for (; H < A.length; H += 1)
5040
- A[H].d(1);
5041
- A.length = M.length;
5004
+ for (; I < T.length; I += 1)
5005
+ T[I].d(1);
5006
+ T.length = H.length;
5042
5007
  }
5043
5008
  N[0] & /*currentPage, numberOfPages*/
5044
5009
  49152 && m !== (m = "BonusesNext " + /*currentPage*/
5045
5010
  (E[15] === /*numberOfPages*/
5046
- E[14] - 1 ? "Inactive" : "")) && B(f, "class", m), N[0] & /*currentPage, numberOfPages*/
5011
+ E[14] - 1 ? "Inactive" : "")) && B(h, "class", m), N[0] & /*currentPage, numberOfPages*/
5047
5012
  49152 && _ !== (_ = "BonusesLast " + /*currentPage*/
5048
5013
  (E[15] === /*numberOfPages*/
5049
- E[14] - 1 ? "Inactive" : "")) && B(h, "class", _);
5014
+ E[14] - 1 ? "Inactive" : "")) && B(f, "class", _);
5050
5015
  },
5051
5016
  d(E) {
5052
- E && G(t), mn(A, E), y = !1, ue(P);
5017
+ E && G(t), fn(T, E), y = !1, ue(M);
5053
5018
  }
5054
5019
  };
5055
5020
  }
5056
- function cn(e) {
5021
+ function sn(e) {
5057
5022
  let t, n = (
5058
5023
  /*i*/
5059
5024
  e[51] + 1 + ""
5060
- ), r, o, i, s;
5025
+ ), r, i, o, s;
5061
5026
  function a() {
5062
5027
  return (
5063
5028
  /*click_handler_3*/
@@ -5069,42 +5034,42 @@ function cn(e) {
5069
5034
  }
5070
5035
  return {
5071
5036
  c() {
5072
- t = T("span"), r = F(n), B(t, "class", o = "BonusesPage " + /*i*/
5037
+ t = P("span"), r = F(n), B(t, "class", i = "BonusesPage " + /*i*/
5073
5038
  (e[51] === /*currentPage*/
5074
5039
  e[15] ? "BonusPageActive" : ""));
5075
5040
  },
5076
5041
  m(u, l) {
5077
- V(u, t, l), v(t, r), i || (s = Y(t, "click", a), i = !0);
5042
+ V(u, t, l), v(t, r), o || (s = Y(t, "click", a), o = !0);
5078
5043
  },
5079
5044
  p(u, l) {
5080
5045
  e = u, l[0] & /*currentPage*/
5081
- 32768 && o !== (o = "BonusesPage " + /*i*/
5046
+ 32768 && i !== (i = "BonusesPage " + /*i*/
5082
5047
  (e[51] === /*currentPage*/
5083
- e[15] ? "BonusPageActive" : "")) && B(t, "class", o);
5048
+ e[15] ? "BonusPageActive" : "")) && B(t, "class", i);
5084
5049
  },
5085
5050
  d(u) {
5086
- u && G(t), i = !1, s();
5051
+ u && G(t), o = !1, s();
5087
5052
  }
5088
5053
  };
5089
5054
  }
5090
- function hn(e) {
5091
- let t, n, r, o, i = (
5055
+ function an(e) {
5056
+ let t, n, r, i, o = (
5092
5057
  /*$_*/
5093
5058
  e[18]("forfeitBonus") + ""
5094
5059
  ), s, a, u, l, c = (
5095
5060
  /*$_*/
5096
5061
  e[18]("forfeitBonusCancel") + ""
5097
- ), f, d, m, b = (
5062
+ ), h, d, m, b = (
5098
5063
  /*$_*/
5099
5064
  e[18]("forfeitBonusConfirm") + ""
5100
- ), h, S, _;
5065
+ ), f, S, _;
5101
5066
  return {
5102
5067
  c() {
5103
- t = T("div"), n = T("div"), r = T("div"), o = T("p"), s = F(i), a = W(), u = T("div"), l = T("button"), f = F(c), d = W(), m = T("button"), h = F(b), B(o, "class", "ModalText"), B(l, "class", "ModalCancel"), B(m, "class", "ModalConfirm"), B(u, "class", "ModalButtons"), B(r, "class", "ModalBody"), B(n, "class", "ModalContent"), B(t, "class", "ModalWrapper " + /*isMobile*/
5068
+ 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), d = W(), m = P("button"), f = F(b), B(i, "class", "ModalText"), B(l, "class", "ModalCancel"), B(m, "class", "ModalConfirm"), B(u, "class", "ModalButtons"), B(r, "class", "ModalBody"), B(n, "class", "ModalContent"), B(t, "class", "ModalWrapper " + /*isMobile*/
5104
5069
  (e[19] ? "ModalWrapperMobile" : ""));
5105
5070
  },
5106
- m(y, P) {
5107
- 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, f), v(u, d), v(u, m), v(m, h), S || (_ = [
5071
+ m(y, M) {
5072
+ 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, d), v(u, m), v(m, f), S || (_ = [
5108
5073
  Y(
5109
5074
  l,
5110
5075
  "click",
@@ -5122,65 +5087,65 @@ function hn(e) {
5122
5087
  )
5123
5088
  ], S = !0);
5124
5089
  },
5125
- p(y, P) {
5126
- P[0] & /*$_*/
5127
- 262144 && i !== (i = /*$_*/
5128
- y[18]("forfeitBonus") + "") && re(s, i), P[0] & /*$_*/
5090
+ p(y, M) {
5091
+ M[0] & /*$_*/
5092
+ 262144 && o !== (o = /*$_*/
5093
+ y[18]("forfeitBonus") + "") && ne(s, o), M[0] & /*$_*/
5129
5094
  262144 && c !== (c = /*$_*/
5130
- y[18]("forfeitBonusCancel") + "") && re(f, c), P[0] & /*$_*/
5095
+ y[18]("forfeitBonusCancel") + "") && ne(h, c), M[0] & /*$_*/
5131
5096
  262144 && b !== (b = /*$_*/
5132
- y[18]("forfeitBonusConfirm") + "") && re(h, b);
5097
+ y[18]("forfeitBonusConfirm") + "") && ne(f, b);
5133
5098
  },
5134
5099
  d(y) {
5135
5100
  y && G(t), S = !1, ue(_);
5136
5101
  }
5137
5102
  };
5138
5103
  }
5139
- function qi(e) {
5104
+ function Vo(e) {
5140
5105
  let t;
5141
- function n(i, s) {
5142
- return ji;
5106
+ function n(o, s) {
5107
+ return Uo;
5143
5108
  }
5144
- let o = n()(e);
5109
+ let i = n()(e);
5145
5110
  return {
5146
5111
  c() {
5147
- t = T("div"), o.c();
5112
+ t = P("div"), i.c();
5148
5113
  },
5149
- m(i, s) {
5150
- V(i, t, s), o.m(t, null), e[38](t);
5114
+ m(o, s) {
5115
+ V(o, t, s), i.m(t, null), e[38](t);
5151
5116
  },
5152
- p(i, s) {
5153
- o.p(i, s);
5117
+ p(o, s) {
5118
+ i.p(o, s);
5154
5119
  },
5155
5120
  i: K,
5156
5121
  o: K,
5157
- d(i) {
5158
- i && G(t), o.d(), e[38](null);
5122
+ d(o) {
5123
+ o && G(t), i.d(), e[38](null);
5159
5124
  }
5160
5125
  };
5161
5126
  }
5162
- let Qi = "status=active", ne = 6;
5163
- function Ji(e, t, n) {
5127
+ let zo = "status=active", te = 6;
5128
+ function Xo(e, t, n) {
5164
5129
  let r;
5165
- dr(e, Ri, (g) => n(18, r = g));
5166
- let { endpoint: o = "" } = t, { session: i = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: f } = t, { translationurl: d = "" } = t, { currencylocale: m = "" } = t, { dateformat: b = "" } = t, h, S = window.navigator.userAgent, _ = $i(S) !== "PC", y = !0, P = !1, M = "", A = 0, E = 0, N = 0, H = 0, ie = 0, Q = [], R, Ee = "", se = !1;
5130
+ lr(e, Io, (g) => n(18, r = g));
5131
+ 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: d = "" } = t, { currencylocale: m = "" } = t, { dateformat: b = "" } = t, f, S = window.navigator.userAgent, _ = Oo(S) !== "PC", y = !0, M = !1, H = "", T = 0, E = 0, N = 0, I = 0, oe = 0, Q = [], R, xe = "", se = !1;
5167
5132
  const X = () => {
5168
5133
  fetch(d).then((D) => D.json()).then((D) => {
5169
5134
  Object.keys(D).forEach((Z) => {
5170
- nn(Z, D[Z]);
5135
+ Yt(Z, D[Z]);
5171
5136
  });
5172
5137
  }).catch((D) => {
5173
5138
  console.log(D);
5174
5139
  });
5175
5140
  };
5176
- Object.keys(rn).forEach((g) => {
5177
- nn(g, rn[g]);
5141
+ Object.keys(Kt).forEach((g) => {
5142
+ Yt(g, Kt[g]);
5178
5143
  });
5179
5144
  const $ = (g) => {
5180
5145
  if (g.data)
5181
5146
  switch (g.data.type) {
5182
5147
  case "DeleteActiveBonus":
5183
- Ee = g.data.bonuswalletid, n(17, se = !0);
5148
+ xe = g.data.bonuswalletid, n(17, se = !0);
5184
5149
  break;
5185
5150
  }
5186
5151
  };
@@ -5202,20 +5167,20 @@ function Ji(e, t, n) {
5202
5167
  },
5203
5168
  window.location.href
5204
5169
  );
5205
- }, L = () => !!M, Zn = () => {
5170
+ }, L = () => !!H, Wn = () => {
5206
5171
  n(8, y = !L());
5207
- }, te = (g) => {
5172
+ }, ee = (g) => {
5208
5173
  let D = {
5209
5174
  method: "GET",
5210
- headers: { "X-SessionId": i }
5211
- }, Z = new URL(`${o}/v1/player/${s}/bonusWallet`);
5212
- Z.searchParams.append("filter", Qi), Z.searchParams.append("pagination", `offset=${g},limit=${ne}`), fetch(Z, D).then((J) => J.json()).then(
5175
+ headers: { "X-SessionId": o }
5176
+ }, Z = new URL(`${i}/v1/player/${s}/bonusWallet`);
5177
+ Z.searchParams.append("filter", zo), Z.searchParams.append("pagination", `offset=${g},limit=${te}`), fetch(Z, D).then((J) => J.json()).then(
5213
5178
  (J) => {
5214
5179
  Array.isArray(J.items) && J.items.forEach((k) => {
5215
- var At, Tt;
5216
- const He = (Tt = (At = k == null ? void 0 : k.extension) == null ? void 0 : At.bonus) == null ? void 0 : Tt.presentation;
5180
+ var xt, wt;
5181
+ const He = (wt = (xt = k == null ? void 0 : k.extension) == null ? void 0 : xt.bonus) == null ? void 0 : wt.presentation;
5217
5182
  He && (k.termsandconditionsurl = He.url, k.termsandconditionsdescription = He.description, k.termsandconditionsasset = He.assets);
5218
- }), n(14, H = Math.ceil(J.total / ne)), g - ne >= 0 && n(11, A = g - ne), g + ne < J.total && n(12, E = g + ne), n(13, N = (H - 1) * ne), n(15, ie = g / ne), n(16, Q = (J == null ? void 0 : J.items) || []), m && Q.forEach((k) => {
5183
+ }), n(14, I = Math.ceil(J.total / te)), g - te >= 0 && n(11, T = g - te), g + te < J.total && n(12, E = g + te), n(13, N = (I - 1) * te), n(15, oe = g / te), n(16, Q = (J == null ? void 0 : J.items) || []), m && Q.forEach((k) => {
5219
5184
  k.fulfilledWR = Me(k.fulfilledWR), k.originalWageringRequirement = Me(k.originalWageringRequirement), k.currentAmount = Me(k.currentAmount), k.extension.grantedPlayerCurrencyAmount = Me(k.extension.grantedPlayerCurrencyAmount);
5220
5185
  }), window.scrollTo({ top: 0, behavior: "smooth" });
5221
5186
  },
@@ -5223,16 +5188,16 @@ function Ji(e, t, n) {
5223
5188
  console.error(J);
5224
5189
  }
5225
5190
  );
5226
- }, Me = (g) => new Intl.NumberFormat(m, { style: "currency", currency: u }).format(g).replace(/\s/g, ""), qn = () => {
5227
- let g = new URL(`${o}/v1/player/${s}/claimbonus`), D = {
5191
+ }, Me = (g) => new Intl.NumberFormat(m, { style: "currency", currency: u }).format(g).replace(/\s/g, ""), Vn = () => {
5192
+ let g = new URL(`${i}/v1/player/${s}/claimbonus`), D = {
5228
5193
  method: "POST",
5229
5194
  headers: {
5230
- "X-SessionId": i,
5195
+ "X-SessionId": o,
5231
5196
  accept: "application/json"
5232
5197
  }
5233
5198
  };
5234
- g.searchParams.append("currency", u), g.searchParams.append("bonusCode", M), fetch(g.href, D).then((Z) => {
5235
- Z.status == 200 ? (n(9, P = !1), te(0), window.postMessage(
5199
+ g.searchParams.append("currency", u), g.searchParams.append("bonusCode", H), fetch(g.href, D).then((Z) => {
5200
+ Z.status == 200 ? (n(9, M = !1), ee(0), window.postMessage(
5236
5201
  {
5237
5202
  type: "WidgetNotification",
5238
5203
  data: {
@@ -5244,8 +5209,8 @@ function Ji(e, t, n) {
5244
5209
  ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
5245
5210
  context: "PlayerActiveBonuses",
5246
5211
  userId: `${s || "Not logged in"}`,
5247
- bonusCode: `${M}`
5248
- })) : (n(9, P = !0), window.postMessage(
5212
+ bonusCode: `${H}`
5213
+ })) : (n(9, M = !0), window.postMessage(
5249
5214
  {
5250
5215
  type: "WidgetNotification",
5251
5216
  data: {
@@ -5256,99 +5221,99 @@ function Ji(e, t, n) {
5256
5221
  window.location.href
5257
5222
  ));
5258
5223
  });
5259
- }, St = () => {
5224
+ }, Et = () => {
5260
5225
  window.postMessage({ type: "EnableScroll" }, window.location.href), n(17, se = !1);
5261
- }, Qn = () => {
5226
+ }, zn = () => {
5262
5227
  let g = {
5263
5228
  method: "DELETE",
5264
5229
  headers: {
5265
- "X-SessionId": i,
5230
+ "X-SessionId": o,
5266
5231
  "Content-Type": "application/json",
5267
5232
  Accept: "application/json"
5268
5233
  }
5269
- }, D = new URL(`${o}/v1/player/${s}/bonusWallet`);
5270
- D.searchParams.append("bonusWalletID", Ee), fetch(D, g).then((Z) => {
5271
- Z.status == 200 && (te(0), St());
5234
+ }, D = new URL(`${i}/v1/player/${s}/bonusWallet`);
5235
+ D.searchParams.append("bonusWalletID", xe), fetch(D, g).then((Z) => {
5236
+ Z.status == 200 && (ee(0), Et());
5272
5237
  });
5273
- }, Jn = () => {
5274
- Fi(a);
5238
+ }, Xn = () => {
5239
+ No(a);
5275
5240
  };
5276
- function Yn(g) {
5241
+ function Zn(g) {
5277
5242
  return U(g, 1e3);
5278
5243
  }
5279
- _r(() => (window.addEventListener("message", $, !1), () => {
5244
+ br(() => (window.addEventListener("message", $, !1), () => {
5280
5245
  window.removeEventListener("message", $);
5281
5246
  }));
5282
- const Kn = () => C();
5283
- function er() {
5284
- M = this.value, n(10, M);
5247
+ const qn = () => C();
5248
+ function Qn() {
5249
+ H = this.value, n(10, H);
5285
5250
  }
5286
- const tr = () => te(0), nr = () => te(A), rr = (g) => te(g * ne), or = () => te(E), ir = () => te(N);
5287
- function sr(g) {
5288
- ot[g ? "unshift" : "push"](() => {
5289
- h = g, n(7, h);
5251
+ const Jn = () => ee(0), Yn = () => ee(T), Kn = (g) => ee(g * te), er = () => ee(E), tr = () => ee(N);
5252
+ function nr(g) {
5253
+ tt[g ? "unshift" : "push"](() => {
5254
+ f = g, n(7, f);
5290
5255
  });
5291
5256
  }
5292
5257
  return e.$$set = (g) => {
5293
- "endpoint" in g && n(27, o = g.endpoint), "session" in g && n(28, i = g.session), "playerid" in g && n(29, s = g.playerid), "lang" in g && n(0, a = g.lang), "currency" in g && n(30, u = g.currency), "clientstyling" in g && n(1, l = g.clientstyling), "clientstylingurl" in g && n(2, c = g.clientstylingurl), "mbsource" in g && n(3, f = g.mbsource), "translationurl" in g && n(4, d = g.translationurl), "currencylocale" in g && n(5, m = g.currencylocale), "dateformat" in g && n(6, b = g.dateformat);
5258
+ "endpoint" in g && n(27, i = g.endpoint), "session" in g && n(28, o = g.session), "playerid" in g && n(29, s = g.playerid), "lang" in g && n(0, a = g.lang), "currency" in g && n(30, 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, d = g.translationurl), "currencylocale" in g && n(5, m = g.currencylocale), "dateformat" in g && n(6, b = g.dateformat);
5294
5259
  }, e.$$.update = () => {
5295
5260
  e.$$.dirty[0] & /*lang*/
5296
- 1 && a && Jn(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5297
- 939524096 && i && s && o && te(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5298
- 130 && l && h && Ui(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5299
- 132 && c && h && Di(h, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5300
- 136 && f && h && Gi(h, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
5261
+ 1 && a && Xn(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5262
+ 939524096 && o && s && i && ee(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5263
+ 130 && l && f && Lo(f, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5264
+ 132 && c && f && Ro(f, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5265
+ 136 && h && f && $o(f, `${h}.Style`), e.$$.dirty[0] & /*translationurl*/
5301
5266
  16 && d && X();
5302
5267
  }, [
5303
5268
  a,
5304
5269
  l,
5305
5270
  c,
5306
- f,
5271
+ h,
5307
5272
  d,
5308
5273
  m,
5309
5274
  b,
5310
- h,
5275
+ f,
5311
5276
  y,
5312
- P,
5313
5277
  M,
5314
- A,
5278
+ H,
5279
+ T,
5315
5280
  E,
5316
5281
  N,
5317
- H,
5318
- ie,
5282
+ I,
5283
+ oe,
5319
5284
  Q,
5320
5285
  se,
5321
5286
  r,
5322
5287
  _,
5323
5288
  C,
5289
+ Wn,
5290
+ ee,
5291
+ Vn,
5292
+ Et,
5293
+ zn,
5324
5294
  Zn,
5325
- te,
5326
- qn,
5327
- St,
5328
- Qn,
5329
- Yn,
5330
- o,
5331
5295
  i,
5296
+ o,
5332
5297
  s,
5333
5298
  u,
5299
+ qn,
5300
+ Qn,
5301
+ Jn,
5302
+ Yn,
5334
5303
  Kn,
5335
5304
  er,
5336
5305
  tr,
5337
- nr,
5338
- rr,
5339
- or,
5340
- ir,
5341
- sr
5306
+ nr
5342
5307
  ];
5343
5308
  }
5344
- class Xn extends Or {
5309
+ class jn extends Tr {
5345
5310
  constructor(t) {
5346
- super(), Mr(
5311
+ super(), Sr(
5347
5312
  this,
5348
5313
  t,
5349
- Ji,
5350
- qi,
5351
- dn,
5314
+ Xo,
5315
+ Vo,
5316
+ ln,
5352
5317
  {
5353
5318
  endpoint: 27,
5354
5319
  session: 28,
@@ -5362,7 +5327,7 @@ class Xn extends Or {
5362
5327
  currencylocale: 5,
5363
5328
  dateformat: 6
5364
5329
  },
5365
- ki,
5330
+ Fo,
5366
5331
  [-1, -1]
5367
5332
  );
5368
5333
  }
@@ -5433,38 +5398,38 @@ class Xn extends Or {
5433
5398
  this.$$set({ dateformat: t }), z();
5434
5399
  }
5435
5400
  }
5436
- Hr(Xn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
5437
- const es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5401
+ Ar(jn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
5402
+ const Qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5438
5403
  __proto__: null,
5439
- default: Xn
5404
+ default: jn
5440
5405
  }, Symbol.toStringTag, { value: "Module" }));
5441
5406
  export {
5442
- _e as $,
5443
- es as P,
5444
- Or as S,
5445
- kn as a,
5446
- pr as b,
5447
- re as c,
5448
- G as d,
5449
- B as e,
5407
+ Be as $,
5408
+ Qo as P,
5409
+ Tr as S,
5410
+ Fn as a,
5411
+ cr as b,
5412
+ Ar as c,
5413
+ W as d,
5414
+ P as e,
5450
5415
  z as f,
5451
- V as g,
5452
- v as h,
5453
- Mr as i,
5454
- T as j,
5455
- W as k,
5456
- dr as l,
5457
- $i as m,
5416
+ B as g,
5417
+ V as h,
5418
+ Sr as i,
5419
+ v as j,
5420
+ ne as k,
5421
+ G as l,
5422
+ lr as m,
5458
5423
  K as n,
5459
- _r as o,
5460
- Ki as p,
5461
- Y as q,
5462
- ot as r,
5463
- dn as s,
5424
+ Oo as o,
5425
+ br as p,
5426
+ qo as q,
5427
+ Y as r,
5428
+ ln as s,
5464
5429
  F as t,
5465
- Ui as u,
5466
- Di as v,
5467
- Gi as w,
5468
- Hr as x,
5469
- Ri as y
5430
+ tt as u,
5431
+ Lo as v,
5432
+ Ro as w,
5433
+ $o as x,
5434
+ Io as y
5470
5435
  };