@everymatrix/player-bonus-card 1.77.26 → 1.77.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function Z() {
2
2
  }
3
- function yr(e) {
3
+ function _r(e) {
4
4
  return e();
5
5
  }
6
- function Lt() {
6
+ function kt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Ne(e) {
10
- e.forEach(yr);
9
+ function Re(e) {
10
+ e.forEach(_r);
11
11
  }
12
- function At(e) {
12
+ function Nt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function wr(e, t) {
15
+ function Er(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Le;
19
- function Ut(e, t) {
19
+ function $t(e, t) {
20
20
  return e === t ? !0 : (Le || (Le = document.createElement("a")), Le.href = t, e === Le.href);
21
21
  }
22
- function nn(e) {
22
+ function on(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function _r(e, ...t) {
25
+ function Tr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function _r(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function on(e, t, r) {
35
- e.$$.on_destroy.push(_r(t, r));
34
+ function an(e, t, r) {
35
+ e.$$.on_destroy.push(Tr(t, r));
36
36
  }
37
37
  function m(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function an(e, t, r) {
41
- const n = sn(e);
40
+ function sn(e, t, r) {
41
+ const n = un(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = B("style");
44
- i.id = t, i.textContent = r, un(n, i);
43
+ const i = x("style");
44
+ i.id = t, i.textContent = r, ln(n, i);
45
45
  }
46
46
  }
47
- function sn(e) {
47
+ function un(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function sn(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function un(e, t) {
57
+ function ln(e, t) {
58
58
  return m(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -64,10 +64,10 @@ function un(e, t) {
64
64
  function ae(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function te(e) {
67
+ function re(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function B(e) {
70
+ function x(e) {
71
71
  return document.createElement(e);
72
72
  }
73
73
  function R(e) {
@@ -76,20 +76,20 @@ function R(e) {
76
76
  function D() {
77
77
  return R(" ");
78
78
  }
79
- function ln(e, t, r, n) {
79
+ function hn(e, t, r, n) {
80
80
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
81
81
  }
82
82
  function g(e, t, r) {
83
83
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
84
84
  }
85
- function hn(e) {
85
+ function cn(e) {
86
86
  return Array.from(e.childNodes);
87
87
  }
88
88
  function I(e, t) {
89
89
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
90
90
  t);
91
91
  }
92
- function cn(e) {
92
+ function fn(e) {
93
93
  const t = {};
94
94
  return e.childNodes.forEach(
95
95
  /** @param {Element} node */
@@ -98,87 +98,87 @@ function cn(e) {
98
98
  }
99
99
  ), t;
100
100
  }
101
- let He;
102
- function Ae(e) {
103
- He = e;
101
+ let Ae;
102
+ function Pe(e) {
103
+ Ae = e;
104
104
  }
105
- function fn() {
106
- if (!He)
105
+ function dn() {
106
+ if (!Ae)
107
107
  throw new Error("Function called outside component initialization");
108
- return He;
108
+ return Ae;
109
109
  }
110
- function dn(e) {
111
- fn().$$.on_mount.push(e);
110
+ function mn(e) {
111
+ dn().$$.on_mount.push(e);
112
112
  }
113
- const pe = [], mt = [];
113
+ const pe = [], pt = [];
114
114
  let ve = [];
115
- const kt = [], mn = /* @__PURE__ */ Promise.resolve();
116
- let bt = !1;
117
- function bn() {
118
- bt || (bt = !0, mn.then(O));
115
+ const Ft = [], bn = /* @__PURE__ */ Promise.resolve();
116
+ let vt = !1;
117
+ function pn() {
118
+ vt || (vt = !0, bn.then(P));
119
119
  }
120
- function pt(e) {
120
+ function gt(e) {
121
121
  ve.push(e);
122
122
  }
123
- const ot = /* @__PURE__ */ new Set();
123
+ const st = /* @__PURE__ */ new Set();
124
124
  let de = 0;
125
- function O() {
125
+ function P() {
126
126
  if (de !== 0)
127
127
  return;
128
- const e = He;
128
+ const e = Ae;
129
129
  do {
130
130
  try {
131
131
  for (; de < pe.length; ) {
132
132
  const t = pe[de];
133
- de++, Ae(t), pn(t.$$);
133
+ de++, Pe(t), vn(t.$$);
134
134
  }
135
135
  } catch (t) {
136
136
  throw pe.length = 0, de = 0, t;
137
137
  }
138
- for (Ae(null), pe.length = 0, de = 0; mt.length; )
139
- mt.pop()();
138
+ for (Pe(null), pe.length = 0, de = 0; pt.length; )
139
+ pt.pop()();
140
140
  for (let t = 0; t < ve.length; t += 1) {
141
141
  const r = ve[t];
142
- ot.has(r) || (ot.add(r), r());
142
+ st.has(r) || (st.add(r), r());
143
143
  }
144
144
  ve.length = 0;
145
145
  } while (pe.length);
146
- for (; kt.length; )
147
- kt.pop()();
148
- bt = !1, ot.clear(), Ae(e);
146
+ for (; Ft.length; )
147
+ Ft.pop()();
148
+ vt = !1, st.clear(), Pe(e);
149
149
  }
150
- function pn(e) {
150
+ function vn(e) {
151
151
  if (e.fragment !== null) {
152
- e.update(), Ne(e.before_update);
152
+ e.update(), Re(e.before_update);
153
153
  const t = e.dirty;
154
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(pt);
154
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(gt);
155
155
  }
156
156
  }
157
- function vn(e) {
157
+ function gn(e) {
158
158
  const t = [], r = [];
159
159
  ve.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ve = t;
160
160
  }
161
- const gn = /* @__PURE__ */ new Set();
162
- function yn(e, t) {
163
- e && e.i && (gn.delete(e), e.i(t));
161
+ const yn = /* @__PURE__ */ new Set();
162
+ function wn(e, t) {
163
+ e && e.i && (yn.delete(e), e.i(t));
164
164
  }
165
- function wn(e, t, r) {
165
+ function _n(e, t, r) {
166
166
  const { fragment: n, after_update: i } = e.$$;
167
- n && n.m(t, r), pt(() => {
168
- const o = e.$$.on_mount.map(yr).filter(At);
169
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ne(o), e.$$.on_mount = [];
170
- }), i.forEach(pt);
167
+ n && n.m(t, r), gt(() => {
168
+ const o = e.$$.on_mount.map(_r).filter(Nt);
169
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Re(o), e.$$.on_mount = [];
170
+ }), i.forEach(gt);
171
171
  }
172
- function _n(e, t) {
172
+ function En(e, t) {
173
173
  const r = e.$$;
174
- r.fragment !== null && (vn(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
+ r.fragment !== null && (gn(r.after_update), Re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
175
175
  }
176
176
  function Tn(e, t) {
177
- e.$$.dirty[0] === -1 && (pe.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
+ e.$$.dirty[0] === -1 && (pe.push(e), pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
178
178
  }
179
- function En(e, t, r, n, i, o, a = null, s = [-1]) {
180
- const l = He;
181
- Ae(e);
179
+ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
180
+ const l = Ae;
181
+ Pe(e);
182
182
  const u = e.$$ = {
183
183
  fragment: null,
184
184
  ctx: [],
@@ -186,7 +186,7 @@ function En(e, t, r, n, i, o, a = null, s = [-1]) {
186
186
  props: o,
187
187
  update: Z,
188
188
  not_equal: i,
189
- bound: Lt(),
189
+ bound: kt(),
190
190
  // lifecycle
191
191
  on_mount: [],
192
192
  on_destroy: [],
@@ -195,7 +195,7 @@ function En(e, t, r, n, i, o, a = null, s = [-1]) {
195
195
  after_update: [],
196
196
  context: new Map(t.context || (l ? l.$$.context : [])),
197
197
  // everything else
198
- callbacks: Lt(),
198
+ callbacks: kt(),
199
199
  dirty: s,
200
200
  skip_bound: !1,
201
201
  root: t.target || l.$$.root
@@ -205,18 +205,18 @@ function En(e, t, r, n, i, o, a = null, s = [-1]) {
205
205
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
206
206
  const p = d.length ? d[0] : c;
207
207
  return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Tn(e, f)), c;
208
- }) : [], u.update(), h = !0, Ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
208
+ }) : [], u.update(), h = !0, Re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
209
209
  if (t.hydrate) {
210
- const f = hn(t.target);
211
- u.fragment && u.fragment.l(f), f.forEach(te);
210
+ const f = cn(t.target);
211
+ u.fragment && u.fragment.l(f), f.forEach(re);
212
212
  } else
213
213
  u.fragment && u.fragment.c();
214
- t.intro && yn(e.$$.fragment), wn(e, t.target, t.anchor), O();
214
+ t.intro && wn(e.$$.fragment), _n(e, t.target, t.anchor), P();
215
215
  }
216
- Ae(l);
216
+ Pe(l);
217
217
  }
218
- let Tr;
219
- typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
218
+ let xr;
219
+ typeof HTMLElement == "function" && (xr = class extends HTMLElement {
220
220
  /** The Svelte component constructor */
221
221
  $$ctor;
222
222
  /** Slots */
@@ -258,7 +258,7 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
258
258
  let o;
259
259
  return {
260
260
  c: function() {
261
- o = B("slot"), i !== "default" && g(o, "name", i);
261
+ o = x("slot"), i !== "default" && g(o, "name", i);
262
262
  },
263
263
  /**
264
264
  * @param {HTMLElement} target
@@ -268,14 +268,14 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
268
268
  ae(l, o, u);
269
269
  },
270
270
  d: function(l) {
271
- l && te(o);
271
+ l && re(o);
272
272
  }
273
273
  };
274
274
  };
275
275
  };
276
276
  if (await Promise.resolve(), !this.$$cn || this.$$c)
277
277
  return;
278
- const t = {}, r = cn(this);
278
+ const t = {}, r = fn(this);
279
279
  for (const i of this.$$s)
280
280
  i in r && (t[i] = [e(i)]);
281
281
  for (const i of this.attributes) {
@@ -362,8 +362,8 @@ function $e(e, t, r, n) {
362
362
  return t;
363
363
  }
364
364
  }
365
- function xn(e, t, r, n, i, o) {
366
- let a = class extends Tr {
365
+ function Bn(e, t, r, n, i, o) {
366
+ let a = class extends xr {
367
367
  constructor() {
368
368
  super(e, r, i), this.$$p_d = t;
369
369
  }
@@ -391,7 +391,7 @@ function xn(e, t, r, n, i, o) {
391
391
  }), e.element = /** @type {any} */
392
392
  a, a;
393
393
  }
394
- class Bn {
394
+ class Sn {
395
395
  /**
396
396
  * ### PRIVATE API
397
397
  *
@@ -410,7 +410,7 @@ class Bn {
410
410
  $$set = void 0;
411
411
  /** @returns {void} */
412
412
  $destroy() {
413
- _n(this, 1), this.$destroy = Z;
413
+ En(this, 1), this.$destroy = Z;
414
414
  }
415
415
  /**
416
416
  * @template {Extract<keyof Events, string>} K
@@ -419,7 +419,7 @@ class Bn {
419
419
  * @returns {() => void}
420
420
  */
421
421
  $on(t, r) {
422
- if (!At(r))
422
+ if (!Nt(r))
423
423
  return Z;
424
424
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
425
425
  return n.push(r), () => {
@@ -432,11 +432,11 @@ class Bn {
432
432
  * @returns {void}
433
433
  */
434
434
  $set(t) {
435
- this.$$set && !nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
+ this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
436
436
  }
437
437
  }
438
- const Sn = "4";
439
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
438
+ const Cn = "4";
439
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cn);
440
440
  /*! *****************************************************************************
441
441
  Copyright (c) Microsoft Corporation.
442
442
 
@@ -451,43 +451,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
451
451
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
452
452
  PERFORMANCE OF THIS SOFTWARE.
453
453
  ***************************************************************************** */
454
- var vt = function(e, t) {
455
- return vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
454
+ var yt = function(e, t) {
455
+ return yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
456
456
  r.__proto__ = n;
457
457
  } || function(r, n) {
458
458
  for (var i in n)
459
459
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
460
- }, vt(e, t);
460
+ }, yt(e, t);
461
461
  };
462
- function re(e, t) {
462
+ function Ne(e, t) {
463
463
  if (typeof t != "function" && t !== null)
464
464
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
465
- vt(e, t);
465
+ yt(e, t);
466
466
  function r() {
467
467
  this.constructor = e;
468
468
  }
469
469
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
470
470
  }
471
- var T = function() {
472
- return T = Object.assign || function(t) {
473
- for (var r, n = 1, i = arguments.length; n < i; n++) {
474
- r = arguments[n];
475
- for (var o in r)
476
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
477
- }
478
- return t;
479
- }, T.apply(this, arguments);
480
- };
481
- function Cn(e, t) {
482
- var r = {};
483
- for (var n in e)
484
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
485
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
486
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
487
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
488
- return r;
489
- }
490
- function gt(e) {
471
+ function wt(e) {
491
472
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
492
473
  if (r)
493
474
  return r.call(e);
@@ -499,7 +480,7 @@ function gt(e) {
499
480
  };
500
481
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
501
482
  }
502
- function yt(e, t) {
483
+ function _t(e, t) {
503
484
  var r = typeof Symbol == "function" && e[Symbol.iterator];
504
485
  if (!r)
505
486
  return e;
@@ -519,22 +500,22 @@ function yt(e, t) {
519
500
  }
520
501
  return o;
521
502
  }
522
- function ge(e, t, r) {
523
- if (r || arguments.length === 2)
503
+ function Et(e, t, r) {
504
+ if (arguments.length === 2)
524
505
  for (var n = 0, i = t.length, o; n < i; n++)
525
506
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
526
507
  return e.concat(o || t);
527
508
  }
528
- function ee(e) {
509
+ function te(e) {
529
510
  return typeof e == "function";
530
511
  }
531
- function Er(e) {
512
+ function Br(e) {
532
513
  var t = function(n) {
533
514
  Error.call(n), n.stack = new Error().stack;
534
515
  }, r = e(t);
535
516
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
536
517
  }
537
- var at = Er(function(e) {
518
+ var ut = Br(function(e) {
538
519
  return function(r) {
539
520
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
540
521
  ` + r.map(function(n, i) {
@@ -543,13 +524,13 @@ var at = Er(function(e) {
543
524
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
544
525
  };
545
526
  });
546
- function wt(e, t) {
527
+ function Tt(e, t) {
547
528
  if (e) {
548
529
  var r = e.indexOf(t);
549
530
  0 <= r && e.splice(r, 1);
550
531
  }
551
532
  }
552
- var qe = function() {
533
+ var Qe = function() {
553
534
  function e(t) {
554
535
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
555
536
  }
@@ -561,7 +542,7 @@ var qe = function() {
561
542
  if (a)
562
543
  if (this._parentage = null, Array.isArray(a))
563
544
  try {
564
- for (var s = gt(a), l = s.next(); !l.done; l = s.next()) {
545
+ for (var s = wt(a), l = s.next(); !l.done; l = s.next()) {
565
546
  var u = l.value;
566
547
  u.remove(this);
567
548
  }
@@ -578,22 +559,22 @@ var qe = function() {
578
559
  else
579
560
  a.remove(this);
580
561
  var h = this.initialTeardown;
581
- if (ee(h))
562
+ if (te(h))
582
563
  try {
583
564
  h();
584
565
  } catch (v) {
585
- o = v instanceof at ? v.errors : [v];
566
+ o = v instanceof ut ? v.errors : [v];
586
567
  }
587
568
  var f = this._finalizers;
588
569
  if (f) {
589
570
  this._finalizers = null;
590
571
  try {
591
- for (var c = gt(f), d = c.next(); !d.done; d = c.next()) {
572
+ for (var c = wt(f), d = c.next(); !d.done; d = c.next()) {
592
573
  var p = d.value;
593
574
  try {
594
- $t(p);
575
+ Gt(p);
595
576
  } catch (v) {
596
- o = o ?? [], v instanceof at ? o = ge(ge([], yt(o)), yt(v.errors)) : o.push(v);
577
+ o = o ?? [], v instanceof ut ? o = Et(Et([], _t(o)), _t(v.errors)) : o.push(v);
597
578
  }
598
579
  }
599
580
  } catch (v) {
@@ -608,13 +589,13 @@ var qe = function() {
608
589
  }
609
590
  }
610
591
  if (o)
611
- throw new at(o);
592
+ throw new ut(o);
612
593
  }
613
594
  }, e.prototype.add = function(t) {
614
595
  var r;
615
596
  if (t && t !== this)
616
597
  if (this.closed)
617
- $t(t);
598
+ Gt(t);
618
599
  else {
619
600
  if (t instanceof e) {
620
601
  if (t.closed || t._hasParent(this))
@@ -631,56 +612,52 @@ var qe = function() {
631
612
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
632
613
  }, e.prototype._removeParent = function(t) {
633
614
  var r = this._parentage;
634
- r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
615
+ r === t ? this._parentage = null : Array.isArray(r) && Tt(r, t);
635
616
  }, e.prototype.remove = function(t) {
636
617
  var r = this._finalizers;
637
- r && wt(r, t), t instanceof e && t._removeParent(this);
618
+ r && Tt(r, t), t instanceof e && t._removeParent(this);
638
619
  }, e.EMPTY = function() {
639
620
  var t = new e();
640
621
  return t.closed = !0, t;
641
622
  }(), e;
642
- }(), xr = qe.EMPTY;
643
- function Br(e) {
644
- return e instanceof qe || e && "closed" in e && ee(e.remove) && ee(e.add) && ee(e.unsubscribe);
623
+ }(), Sr = Qe.EMPTY;
624
+ function Cr(e) {
625
+ return e instanceof Qe || e && "closed" in e && te(e.remove) && te(e.add) && te(e.unsubscribe);
645
626
  }
646
- function $t(e) {
647
- ee(e) ? e() : e.unsubscribe();
627
+ function Gt(e) {
628
+ te(e) ? e() : e.unsubscribe();
648
629
  }
649
- var Sr = {
650
- onUnhandledError: null,
651
- onStoppedNotification: null,
652
- Promise: void 0,
653
- useDeprecatedSynchronousErrorHandling: !1,
654
- useDeprecatedNextContext: !1
630
+ var On = {
631
+ Promise: void 0
655
632
  }, Pn = {
656
633
  setTimeout: function(e, t) {
657
634
  for (var r = [], n = 2; n < arguments.length; n++)
658
635
  r[n - 2] = arguments[n];
659
- return setTimeout.apply(void 0, ge([e, t], yt(r)));
636
+ return setTimeout.apply(void 0, Et([e, t], _t(r)));
660
637
  },
661
638
  clearTimeout: function(e) {
662
639
  return clearTimeout(e);
663
640
  },
664
641
  delegate: void 0
665
642
  };
666
- function On(e) {
643
+ function An(e) {
667
644
  Pn.setTimeout(function() {
668
645
  throw e;
669
646
  });
670
647
  }
671
- function Ft() {
648
+ function jt() {
672
649
  }
673
650
  function Fe(e) {
674
651
  e();
675
652
  }
676
- var Cr = function(e) {
677
- re(t, e);
653
+ var Or = function(e) {
654
+ Ne(t, e);
678
655
  function t(r) {
679
656
  var n = e.call(this) || this;
680
- return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = Rn, n;
657
+ return n.isStopped = !1, r ? (n.destination = r, Cr(r) && r.add(n)) : n.destination = Rn, n;
681
658
  }
682
659
  return t.create = function(r, n, i) {
683
- return new _t(r, n, i);
660
+ return new xt(r, n, i);
684
661
  }, t.prototype.next = function(r) {
685
662
  this.isStopped || this._next(r);
686
663
  }, t.prototype.error = function(r) {
@@ -704,11 +681,7 @@ var Cr = function(e) {
704
681
  this.unsubscribe();
705
682
  }
706
683
  }, t;
707
- }(qe), An = Function.prototype.bind;
708
- function st(e, t) {
709
- return An.call(e, t);
710
- }
711
- var Hn = function() {
684
+ }(Qe), Hn = function() {
712
685
  function e(t) {
713
686
  this.partialObserver = t;
714
687
  }
@@ -739,41 +712,29 @@ var Hn = function() {
739
712
  Ue(r);
740
713
  }
741
714
  }, e;
742
- }(), _t = function(e) {
743
- re(t, e);
715
+ }(), xt = function(e) {
716
+ Ne(t, e);
744
717
  function t(r, n, i) {
745
718
  var o = e.call(this) || this, a;
746
- if (ee(r) || !r)
747
- a = {
748
- next: r ?? void 0,
749
- error: n ?? void 0,
750
- complete: i ?? void 0
751
- };
752
- else {
753
- var s;
754
- o && Sr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
755
- return o.unsubscribe();
756
- }, a = {
757
- next: r.next && st(r.next, s),
758
- error: r.error && st(r.error, s),
759
- complete: r.complete && st(r.complete, s)
760
- }) : a = r;
761
- }
762
- return o.destination = new Hn(a), o;
719
+ return te(r) || !r ? a = {
720
+ next: r ?? void 0,
721
+ error: n ?? void 0,
722
+ complete: i ?? void 0
723
+ } : a = r, o.destination = new Hn(a), o;
763
724
  }
764
725
  return t;
765
- }(Cr);
726
+ }(Or);
766
727
  function Ue(e) {
767
- On(e);
728
+ An(e);
768
729
  }
769
730
  function Mn(e) {
770
731
  throw e;
771
732
  }
772
733
  var Rn = {
773
734
  closed: !0,
774
- next: Ft,
735
+ next: jt,
775
736
  error: Mn,
776
- complete: Ft
737
+ complete: jt
777
738
  }, Nn = function() {
778
739
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
779
740
  }();
@@ -787,7 +748,7 @@ function In(e) {
787
748
  }, r);
788
749
  };
789
750
  }
790
- var Gt = function() {
751
+ var Wt = function() {
791
752
  function e(t) {
792
753
  t && (this._subscribe = t);
793
754
  }
@@ -795,7 +756,7 @@ var Gt = function() {
795
756
  var r = new e();
796
757
  return r.source = this, r.operator = t, r;
797
758
  }, e.prototype.subscribe = function(t, r, n) {
798
- var i = this, o = Un(t) ? t : new _t(t, r, n);
759
+ var i = this, o = Un(t) ? t : new xt(t, r, n);
799
760
  return Fe(function() {
800
761
  var a = i, s = a.operator, l = a.source;
801
762
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -808,8 +769,8 @@ var Gt = function() {
808
769
  }
809
770
  }, e.prototype.forEach = function(t, r) {
810
771
  var n = this;
811
- return r = jt(r), new r(function(i, o) {
812
- var a = new _t({
772
+ return r = Vt(r), new r(function(i, o) {
773
+ var a = new xt({
813
774
  next: function(s) {
814
775
  try {
815
776
  t(s);
@@ -833,7 +794,7 @@ var Gt = function() {
833
794
  return In(t)(this);
834
795
  }, e.prototype.toPromise = function(t) {
835
796
  var r = this;
836
- return t = jt(t), new t(function(n, i) {
797
+ return t = Vt(t), new t(function(n, i) {
837
798
  var o;
838
799
  r.subscribe(function(a) {
839
800
  return o = a;
@@ -847,28 +808,28 @@ var Gt = function() {
847
808
  return new e(t);
848
809
  }, e;
849
810
  }();
850
- function jt(e) {
811
+ function Vt(e) {
851
812
  var t;
852
- return (t = e ?? Sr.Promise) !== null && t !== void 0 ? t : Promise;
813
+ return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
853
814
  }
854
815
  function Ln(e) {
855
- return e && ee(e.next) && ee(e.error) && ee(e.complete);
816
+ return e && te(e.next) && te(e.error) && te(e.complete);
856
817
  }
857
818
  function Un(e) {
858
- return e && e instanceof Cr || Ln(e) && Br(e);
819
+ return e && e instanceof Or || Ln(e) && Cr(e);
859
820
  }
860
- var kn = Er(function(e) {
821
+ var kn = Br(function(e) {
861
822
  return function() {
862
823
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
863
824
  };
864
825
  }), Pr = function(e) {
865
- re(t, e);
826
+ Ne(t, e);
866
827
  function t() {
867
828
  var r = e.call(this) || this;
868
829
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
869
830
  }
870
831
  return t.prototype.lift = function(r) {
871
- var n = new Wt(this, this);
832
+ var n = new Yt(this, this);
872
833
  return n.operator = r, n;
873
834
  }, t.prototype._throwIfClosed = function() {
874
835
  if (this.closed)
@@ -880,7 +841,7 @@ var kn = Er(function(e) {
880
841
  if (n._throwIfClosed(), !n.isStopped) {
881
842
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
882
843
  try {
883
- for (var a = gt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
844
+ for (var a = wt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
884
845
  var l = s.value;
885
846
  l.next(r);
886
847
  }
@@ -929,20 +890,20 @@ var kn = Er(function(e) {
929
890
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
930
891
  }, t.prototype._innerSubscribe = function(r) {
931
892
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
932
- return o || a ? xr : (this.currentObservers = null, s.push(r), new qe(function() {
933
- n.currentObservers = null, wt(s, r);
893
+ return o || a ? Sr : (this.currentObservers = null, s.push(r), new Qe(function() {
894
+ n.currentObservers = null, Tt(s, r);
934
895
  }));
935
896
  }, t.prototype._checkFinalizedStatuses = function(r) {
936
897
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
937
898
  i ? r.error(o) : a && r.complete();
938
899
  }, t.prototype.asObservable = function() {
939
- var r = new Gt();
900
+ var r = new Wt();
940
901
  return r.source = this, r;
941
902
  }, t.create = function(r, n) {
942
- return new Wt(r, n);
903
+ return new Yt(r, n);
943
904
  }, t;
944
- }(Gt), Wt = function(e) {
945
- re(t, e);
905
+ }(Wt), Yt = function(e) {
906
+ Ne(t, e);
946
907
  function t(r, n) {
947
908
  var i = e.call(this) || this;
948
909
  return i.destination = r, i.source = n, i;
@@ -958,17 +919,17 @@ var kn = Er(function(e) {
958
919
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
959
920
  }, t.prototype._subscribe = function(r) {
960
921
  var n, i;
961
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xr;
922
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Sr;
962
923
  }, t;
963
- }(Pr), Or = {
924
+ }(Pr), Ar = {
964
925
  now: function() {
965
- return (Or.delegate || Date).now();
926
+ return (Ar.delegate || Date).now();
966
927
  },
967
928
  delegate: void 0
968
929
  }, $n = function(e) {
969
- re(t, e);
930
+ Ne(t, e);
970
931
  function t(r, n, i) {
971
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Or);
932
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
972
933
  var o = e.call(this) || this;
973
934
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
974
935
  }
@@ -989,23 +950,23 @@ var kn = Er(function(e) {
989
950
  }
990
951
  }, t;
991
952
  }(Pr);
992
- const Vt = [], Yt = {}, Fn = (e, t = 0) => {
993
- if (Vt.indexOf(e) == -1) {
953
+ const Xt = [], qt = {}, Fn = (e, t = 0) => {
954
+ if (Xt.indexOf(e) == -1) {
994
955
  const r = new $n(t);
995
- Yt[e] = r, Vt.push(e);
956
+ qt[e] = r, Xt.push(e);
996
957
  }
997
- return Yt[e];
958
+ return qt[e];
998
959
  }, me = [];
999
960
  function Gn(e, t) {
1000
961
  return {
1001
- subscribe: Qe(e, t).subscribe
962
+ subscribe: Ze(e, t).subscribe
1002
963
  };
1003
964
  }
1004
- function Qe(e, t = Z) {
965
+ function Ze(e, t = Z) {
1005
966
  let r;
1006
967
  const n = /* @__PURE__ */ new Set();
1007
968
  function i(s) {
1008
- if (wr(e, s) && (e = s, r)) {
969
+ if (Er(e, s) && (e = s, r)) {
1009
970
  const l = !me.length;
1010
971
  for (const u of n)
1011
972
  u[1](), me.push(u, e);
@@ -1041,12 +1002,12 @@ function Ee(e, t, r) {
1041
1002
  return;
1042
1003
  f();
1043
1004
  const p = t(n ? u[0] : u, a, s);
1044
- o ? a(p) : f = At(p) ? p : Z;
1005
+ o ? a(p) : f = Nt(p) ? p : Z;
1045
1006
  }, d = i.map(
1046
- (p, v) => _r(
1007
+ (p, v) => Tr(
1047
1008
  p,
1048
- (S) => {
1049
- u[v] = S, h &= ~(1 << v), l && c();
1009
+ (B) => {
1010
+ u[v] = B, h &= ~(1 << v), l && c();
1050
1011
  },
1051
1012
  () => {
1052
1013
  h |= 1 << v;
@@ -1054,7 +1015,7 @@ function Ee(e, t, r) {
1054
1015
  )
1055
1016
  );
1056
1017
  return l = !0, c(), function() {
1057
- Ne(d), f(), l = !1;
1018
+ Re(d), f(), l = !1;
1058
1019
  };
1059
1020
  });
1060
1021
  }
@@ -1069,38 +1030,38 @@ function Vn(e) {
1069
1030
  }
1070
1031
  function Yn(e) {
1071
1032
  var t = Object.prototype.toString.call(e);
1072
- return t === "[object RegExp]" || t === "[object Date]" || qn(e);
1033
+ return t === "[object RegExp]" || t === "[object Date]" || zn(e);
1073
1034
  }
1074
- var Xn = typeof Symbol == "function" && Symbol.for, zn = Xn ? Symbol.for("react.element") : 60103;
1075
- function qn(e) {
1076
- return e.$$typeof === zn;
1035
+ var Xn = typeof Symbol == "function" && Symbol.for, qn = Xn ? Symbol.for("react.element") : 60103;
1036
+ function zn(e) {
1037
+ return e.$$typeof === qn;
1077
1038
  }
1078
1039
  function Qn(e) {
1079
1040
  return Array.isArray(e) ? [] : {};
1080
1041
  }
1081
- function Me(e, t) {
1082
- return t.clone !== !1 && t.isMergeableObject(e) ? ye(Qn(e), e, t) : e;
1042
+ function He(e, t) {
1043
+ return t.clone !== !1 && t.isMergeableObject(e) ? ge(Qn(e), e, t) : e;
1083
1044
  }
1084
1045
  function Zn(e, t, r) {
1085
1046
  return e.concat(t).map(function(n) {
1086
- return Me(n, r);
1047
+ return He(n, r);
1087
1048
  });
1088
1049
  }
1089
1050
  function Jn(e, t) {
1090
1051
  if (!t.customMerge)
1091
- return ye;
1052
+ return ge;
1092
1053
  var r = t.customMerge(e);
1093
- return typeof r == "function" ? r : ye;
1054
+ return typeof r == "function" ? r : ge;
1094
1055
  }
1095
1056
  function Kn(e) {
1096
1057
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1097
1058
  return Object.propertyIsEnumerable.call(e, t);
1098
1059
  }) : [];
1099
1060
  }
1100
- function Xt(e) {
1061
+ function zt(e) {
1101
1062
  return Object.keys(e).concat(Kn(e));
1102
1063
  }
1103
- function Ar(e, t) {
1064
+ function Hr(e, t) {
1104
1065
  try {
1105
1066
  return t in e;
1106
1067
  } catch {
@@ -1108,129 +1069,179 @@ function Ar(e, t) {
1108
1069
  }
1109
1070
  }
1110
1071
  function ei(e, t) {
1111
- return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1072
+ return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1112
1073
  }
1113
1074
  function ti(e, t, r) {
1114
1075
  var n = {};
1115
- return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1116
- n[i] = Me(e[i], r);
1117
- }), Xt(t).forEach(function(i) {
1118
- ei(e, i) || (Ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = Me(t[i], r));
1076
+ return r.isMergeableObject(e) && zt(e).forEach(function(i) {
1077
+ n[i] = He(e[i], r);
1078
+ }), zt(t).forEach(function(i) {
1079
+ ei(e, i) || (Hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1119
1080
  }), n;
1120
1081
  }
1121
- function ye(e, t, r) {
1122
- r = r || {}, r.arrayMerge = r.arrayMerge || Zn, r.isMergeableObject = r.isMergeableObject || Wn, r.cloneUnlessOtherwiseSpecified = Me;
1082
+ function ge(e, t, r) {
1083
+ r = r || {}, r.arrayMerge = r.arrayMerge || Zn, r.isMergeableObject = r.isMergeableObject || Wn, r.cloneUnlessOtherwiseSpecified = He;
1123
1084
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1124
- return o ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : Me(t, r);
1085
+ return o ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : He(t, r);
1125
1086
  }
1126
- ye.all = function(t, r) {
1087
+ ge.all = function(t, r) {
1127
1088
  if (!Array.isArray(t))
1128
1089
  throw new Error("first argument should be an array");
1129
1090
  return t.reduce(function(n, i) {
1130
- return ye(n, i, r);
1091
+ return ge(n, i, r);
1131
1092
  }, {});
1132
1093
  };
1133
- var ri = ye, ni = ri;
1094
+ var ri = ge, ni = ri;
1134
1095
  const ii = /* @__PURE__ */ jn(ni);
1135
- function ut(e, t) {
1136
- var r = t && t.cache ? t.cache : hi, n = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : ai;
1096
+ var Bt = function(e, t) {
1097
+ return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1098
+ r.__proto__ = n;
1099
+ } || function(r, n) {
1100
+ for (var i in n)
1101
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1102
+ }, Bt(e, t);
1103
+ };
1104
+ function Je(e, t) {
1105
+ if (typeof t != "function" && t !== null)
1106
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1107
+ Bt(e, t);
1108
+ function r() {
1109
+ this.constructor = e;
1110
+ }
1111
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1112
+ }
1113
+ var J = function() {
1114
+ return J = Object.assign || function(t) {
1115
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1116
+ r = arguments[n];
1117
+ for (var o in r)
1118
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1119
+ }
1120
+ return t;
1121
+ }, J.apply(this, arguments);
1122
+ };
1123
+ function oi(e, t) {
1124
+ var r = {};
1125
+ for (var n in e)
1126
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1127
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1128
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1129
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1130
+ return r;
1131
+ }
1132
+ function lt(e, t, r) {
1133
+ if (r || arguments.length === 2)
1134
+ for (var n = 0, i = t.length, o; n < i; n++)
1135
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1136
+ return e.concat(o || Array.prototype.slice.call(t));
1137
+ }
1138
+ function ht(e, t) {
1139
+ var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : ui;
1137
1140
  return i(e, {
1138
1141
  cache: r,
1139
1142
  serializer: n
1140
1143
  });
1141
1144
  }
1142
- function oi(e) {
1145
+ function ai(e) {
1143
1146
  return e == null || typeof e == "number" || typeof e == "boolean";
1144
1147
  }
1145
- function Hr(e, t, r, n) {
1146
- var i = oi(n) ? n : r(n), o = t.get(i);
1148
+ function si(e, t, r, n) {
1149
+ var i = ai(n) ? n : r(n), o = t.get(i);
1147
1150
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1148
1151
  }
1149
1152
  function Mr(e, t, r) {
1150
1153
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1151
1154
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1152
1155
  }
1153
- function Ht(e, t, r, n, i) {
1156
+ function Rr(e, t, r, n, i) {
1154
1157
  return r.bind(t, e, n, i);
1155
1158
  }
1156
- function ai(e, t) {
1157
- var r = e.length === 1 ? Hr : Mr;
1158
- return Ht(e, this, r, t.cache.create(), t.serializer);
1159
- }
1160
- function si(e, t) {
1161
- return Ht(e, this, Mr, t.cache.create(), t.serializer);
1162
- }
1163
1159
  function ui(e, t) {
1164
- return Ht(e, this, Hr, t.cache.create(), t.serializer);
1160
+ var r = e.length === 1 ? si : Mr;
1161
+ return Rr(e, this, r, t.cache.create(), t.serializer);
1165
1162
  }
1166
- var li = function() {
1167
- return JSON.stringify(arguments);
1168
- };
1169
- function Mt() {
1170
- this.cache = /* @__PURE__ */ Object.create(null);
1163
+ function li(e, t) {
1164
+ return Rr(e, this, Mr, t.cache.create(), t.serializer);
1171
1165
  }
1172
- Mt.prototype.get = function(e) {
1173
- return this.cache[e];
1174
- };
1175
- Mt.prototype.set = function(e, t) {
1176
- this.cache[e] = t;
1177
- };
1178
- var hi = {
1166
+ var hi = function() {
1167
+ return JSON.stringify(arguments);
1168
+ }, ci = (
1169
+ /** @class */
1170
+ function() {
1171
+ function e() {
1172
+ this.cache = /* @__PURE__ */ Object.create(null);
1173
+ }
1174
+ return e.prototype.get = function(t) {
1175
+ return this.cache[t];
1176
+ }, e.prototype.set = function(t, r) {
1177
+ this.cache[t] = r;
1178
+ }, e;
1179
+ }()
1180
+ ), fi = {
1179
1181
  create: function() {
1180
- return new Mt();
1182
+ return new ci();
1181
1183
  }
1182
- }, lt = {
1183
- variadic: si,
1184
- monadic: ui
1185
- }, w;
1184
+ }, ct = {
1185
+ variadic: li
1186
+ }, We = function() {
1187
+ return We = Object.assign || function(t) {
1188
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1189
+ r = arguments[n];
1190
+ for (var o in r)
1191
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1192
+ }
1193
+ return t;
1194
+ }, We.apply(this, arguments);
1195
+ };
1196
+ var w;
1186
1197
  (function(e) {
1187
1198
  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";
1188
1199
  })(w || (w = {}));
1189
- var C;
1200
+ var S;
1190
1201
  (function(e) {
1191
1202
  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";
1192
- })(C || (C = {}));
1193
- var we;
1203
+ })(S || (S = {}));
1204
+ var ye;
1194
1205
  (function(e) {
1195
1206
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1196
- })(we || (we = {}));
1197
- function zt(e) {
1198
- return e.type === C.literal;
1199
- }
1200
- function ci(e) {
1201
- return e.type === C.argument;
1207
+ })(ye || (ye = {}));
1208
+ function Qt(e) {
1209
+ return e.type === S.literal;
1202
1210
  }
1203
- function Rr(e) {
1204
- return e.type === C.number;
1211
+ function di(e) {
1212
+ return e.type === S.argument;
1205
1213
  }
1206
1214
  function Nr(e) {
1207
- return e.type === C.date;
1215
+ return e.type === S.number;
1208
1216
  }
1209
1217
  function Dr(e) {
1210
- return e.type === C.time;
1218
+ return e.type === S.date;
1211
1219
  }
1212
1220
  function Ir(e) {
1213
- return e.type === C.select;
1221
+ return e.type === S.time;
1214
1222
  }
1215
1223
  function Lr(e) {
1216
- return e.type === C.plural;
1217
- }
1218
- function fi(e) {
1219
- return e.type === C.pound;
1224
+ return e.type === S.select;
1220
1225
  }
1221
1226
  function Ur(e) {
1222
- return e.type === C.tag;
1227
+ return e.type === S.plural;
1228
+ }
1229
+ function mi(e) {
1230
+ return e.type === S.pound;
1223
1231
  }
1224
1232
  function kr(e) {
1225
- return !!(e && typeof e == "object" && e.type === we.number);
1233
+ return e.type === S.tag;
1226
1234
  }
1227
- function Tt(e) {
1228
- return !!(e && typeof e == "object" && e.type === we.dateTime);
1235
+ function $r(e) {
1236
+ return !!(e && typeof e == "object" && e.type === ye.number);
1229
1237
  }
1230
- var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
1231
- function mi(e) {
1238
+ function St(e) {
1239
+ return !!(e && typeof e == "object" && e.type === ye.dateTime);
1240
+ }
1241
+ var Fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1242
+ function pi(e) {
1232
1243
  var t = {};
1233
- return e.replace(di, function(r) {
1244
+ return e.replace(bi, function(r) {
1234
1245
  var n = r.length;
1235
1246
  switch (r[0]) {
1236
1247
  case "G":
@@ -1319,11 +1330,21 @@ function mi(e) {
1319
1330
  return "";
1320
1331
  }), t;
1321
1332
  }
1322
- var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1323
- function pi(e) {
1333
+ var C = function() {
1334
+ return C = Object.assign || function(t) {
1335
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1336
+ r = arguments[n];
1337
+ for (var o in r)
1338
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1339
+ }
1340
+ return t;
1341
+ }, C.apply(this, arguments);
1342
+ };
1343
+ var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1344
+ function gi(e) {
1324
1345
  if (e.length === 0)
1325
1346
  throw new Error("Number skeleton cannot be empty");
1326
- for (var t = e.split(bi).filter(function(c) {
1347
+ for (var t = e.split(vi).filter(function(c) {
1327
1348
  return c.length > 0;
1328
1349
  }), r = [], n = 0, i = t; n < i.length; n++) {
1329
1350
  var o = i[n], a = o.split("/");
@@ -1338,17 +1359,17 @@ function pi(e) {
1338
1359
  }
1339
1360
  return r;
1340
1361
  }
1341
- function vi(e) {
1362
+ function yi(e) {
1342
1363
  return e.replace(/^(.*?)-/, "");
1343
1364
  }
1344
- var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1345
- function Qt(e) {
1365
+ var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, wi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
1366
+ function Jt(e) {
1346
1367
  var t = {};
1347
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
1368
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
1348
1369
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1349
1370
  }), t;
1350
1371
  }
1351
- function jr(e) {
1372
+ function Wr(e) {
1352
1373
  switch (e) {
1353
1374
  case "sign-auto":
1354
1375
  return {
@@ -1388,7 +1409,7 @@ function jr(e) {
1388
1409
  };
1389
1410
  }
1390
1411
  }
1391
- function yi(e) {
1412
+ function _i(e) {
1392
1413
  var t;
1393
1414
  if (e[0] === "E" && e[1] === "E" ? (t = {
1394
1415
  notation: "engineering"
@@ -1396,17 +1417,17 @@ function yi(e) {
1396
1417
  notation: "scientific"
1397
1418
  }, e = e.slice(1)), t) {
1398
1419
  var r = e.slice(0, 2);
1399
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
1420
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1400
1421
  throw new Error("Malformed concise eng/scientific notation");
1401
1422
  t.minimumIntegerDigits = e.length;
1402
1423
  }
1403
1424
  return t;
1404
1425
  }
1405
- function Zt(e) {
1406
- var t = {}, r = jr(e);
1426
+ function Kt(e) {
1427
+ var t = {}, r = Wr(e);
1407
1428
  return r || t;
1408
1429
  }
1409
- function wi(e) {
1430
+ function Ei(e) {
1410
1431
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1411
1432
  var i = n[r];
1412
1433
  switch (i.stem) {
@@ -1430,7 +1451,7 @@ function wi(e) {
1430
1451
  continue;
1431
1452
  case "measure-unit":
1432
1453
  case "unit":
1433
- t.style = "unit", t.unit = vi(i.options[0]);
1454
+ t.style = "unit", t.unit = yi(i.options[0]);
1434
1455
  continue;
1435
1456
  case "compact-short":
1436
1457
  case "K":
@@ -1441,13 +1462,13 @@ function wi(e) {
1441
1462
  t.notation = "compact", t.compactDisplay = "long";
1442
1463
  continue;
1443
1464
  case "scientific":
1444
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1445
- return T(T({}, l), Zt(u));
1465
+ t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1466
+ return C(C({}, l), Kt(u));
1446
1467
  }, {}));
1447
1468
  continue;
1448
1469
  case "engineering":
1449
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1450
- return T(T({}, l), Zt(u));
1470
+ t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1471
+ return C(C({}, l), Kt(u));
1451
1472
  }, {}));
1452
1473
  continue;
1453
1474
  case "notation-simple":
@@ -1492,7 +1513,7 @@ function wi(e) {
1492
1513
  case "integer-width":
1493
1514
  if (i.options.length > 1)
1494
1515
  throw new RangeError("integer-width stems only accept a single optional option");
1495
- i.options[0].replace(gi, function(l, u, h, f, c, d) {
1516
+ i.options[0].replace(wi, function(l, u, h, f, c, d) {
1496
1517
  if (u)
1497
1518
  t.minimumIntegerDigits = h.length;
1498
1519
  else {
@@ -1505,28 +1526,28 @@ function wi(e) {
1505
1526
  });
1506
1527
  continue;
1507
1528
  }
1508
- if (Gr.test(i.stem)) {
1529
+ if (jr.test(i.stem)) {
1509
1530
  t.minimumIntegerDigits = i.stem.length;
1510
1531
  continue;
1511
1532
  }
1512
- if (qt.test(i.stem)) {
1533
+ if (Zt.test(i.stem)) {
1513
1534
  if (i.options.length > 1)
1514
1535
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1515
- i.stem.replace(qt, function(l, u, h, f, c, d) {
1536
+ i.stem.replace(Zt, function(l, u, h, f, c, d) {
1516
1537
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1517
1538
  });
1518
1539
  var o = i.options[0];
1519
- o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Qt(o)));
1540
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), Jt(o)));
1520
1541
  continue;
1521
1542
  }
1522
- if (Fr.test(i.stem)) {
1523
- t = T(T({}, t), Qt(i.stem));
1543
+ if (Gr.test(i.stem)) {
1544
+ t = C(C({}, t), Jt(i.stem));
1524
1545
  continue;
1525
1546
  }
1526
- var a = jr(i.stem);
1527
- a && (t = T(T({}, t), a));
1528
- var s = yi(i.stem);
1529
- s && (t = T(T({}, t), s));
1547
+ var a = Wr(i.stem);
1548
+ a && (t = C(C({}, t), a));
1549
+ var s = _i(i.stem);
1550
+ s && (t = C(C({}, t), s));
1530
1551
  }
1531
1552
  return t;
1532
1553
  }
@@ -2945,13 +2966,13 @@ var ke = {
2945
2966
  "h"
2946
2967
  ]
2947
2968
  };
2948
- function _i(e, t) {
2969
+ function Ti(e, t) {
2949
2970
  for (var r = "", n = 0; n < e.length; n++) {
2950
2971
  var i = e.charAt(n);
2951
2972
  if (i === "j") {
2952
2973
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2953
2974
  o++, n++;
2954
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ti(t);
2975
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = xi(t);
2955
2976
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2956
2977
  r += l;
2957
2978
  for (; a-- > 0; )
@@ -2961,7 +2982,7 @@ function _i(e, t) {
2961
2982
  }
2962
2983
  return r;
2963
2984
  }
2964
- function Ti(e) {
2985
+ function xi(e) {
2965
2986
  var t = e.hourCycle;
2966
2987
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2967
2988
  e.hourCycles && // @ts-ignore
@@ -2983,20 +3004,20 @@ function Ti(e) {
2983
3004
  var i = ke[n || ""] || ke[r || ""] || ke["".concat(r, "-001")] || ke["001"];
2984
3005
  return i[0];
2985
3006
  }
2986
- var ht, Ei = new RegExp("^".concat($r.source, "*")), xi = new RegExp("".concat($r.source, "*$"));
3007
+ var ft, Bi = new RegExp("^".concat(Fr.source, "*")), Si = new RegExp("".concat(Fr.source, "*$"));
2987
3008
  function _(e, t) {
2988
3009
  return { start: e, end: t };
2989
3010
  }
2990
- var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Si = !!String.fromCodePoint, Ci = !!Object.fromEntries, Pi = !!String.prototype.codePointAt, Oi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Mi = Hi ? Number.isSafeInteger : function(e) {
3011
+ var Ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String.fromCodePoint, Pi = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Mi = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Ni = Ri ? Number.isSafeInteger : function(e) {
2991
3012
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2992
- }, Et = !0;
3013
+ }, Ct = !0;
2993
3014
  try {
2994
- var Ri = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2995
- Et = ((ht = Ri.exec("a")) === null || ht === void 0 ? void 0 : ht[0]) === "a";
3015
+ var Di = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3016
+ Ct = ((ft = Di.exec("a")) === null || ft === void 0 ? void 0 : ft[0]) === "a";
2996
3017
  } catch {
2997
- Et = !1;
3018
+ Ct = !1;
2998
3019
  }
2999
- var Jt = Bi ? (
3020
+ var er = Ci ? (
3000
3021
  // Native
3001
3022
  function(t, r, n) {
3002
3023
  return t.startsWith(r, n);
@@ -3006,7 +3027,7 @@ var Jt = Bi ? (
3006
3027
  function(t, r, n) {
3007
3028
  return t.slice(n, n + r.length) === r;
3008
3029
  }
3009
- ), xt = Si ? String.fromCodePoint : (
3030
+ ), Ot = Oi ? String.fromCodePoint : (
3010
3031
  // IE11
3011
3032
  function() {
3012
3033
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3018,9 +3039,9 @@ var Jt = Bi ? (
3018
3039
  }
3019
3040
  return n;
3020
3041
  }
3021
- ), Kt = (
3042
+ ), tr = (
3022
3043
  // native
3023
- Ci ? Object.fromEntries : (
3044
+ Pi ? Object.fromEntries : (
3024
3045
  // Ponyfill
3025
3046
  function(t) {
3026
3047
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3030,7 +3051,7 @@ var Jt = Bi ? (
3030
3051
  return r;
3031
3052
  }
3032
3053
  )
3033
- ), Wr = Pi ? (
3054
+ ), Vr = Ai ? (
3034
3055
  // Native
3035
3056
  function(t, r) {
3036
3057
  return t.codePointAt(r);
@@ -3044,7 +3065,7 @@ var Jt = Bi ? (
3044
3065
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3045
3066
  }
3046
3067
  }
3047
- ), Ni = Oi ? (
3068
+ ), Ii = Hi ? (
3048
3069
  // Native
3049
3070
  function(t) {
3050
3071
  return t.trimStart();
@@ -3052,9 +3073,9 @@ var Jt = Bi ? (
3052
3073
  ) : (
3053
3074
  // Ponyfill
3054
3075
  function(t) {
3055
- return t.replace(Ei, "");
3076
+ return t.replace(Bi, "");
3056
3077
  }
3057
- ), Di = Ai ? (
3078
+ ), Li = Mi ? (
3058
3079
  // Native
3059
3080
  function(t) {
3060
3081
  return t.trimEnd();
@@ -3062,32 +3083,32 @@ var Jt = Bi ? (
3062
3083
  ) : (
3063
3084
  // Ponyfill
3064
3085
  function(t) {
3065
- return t.replace(xi, "");
3086
+ return t.replace(Si, "");
3066
3087
  }
3067
3088
  );
3068
- function Vr(e, t) {
3089
+ function Yr(e, t) {
3069
3090
  return new RegExp(e, t);
3070
3091
  }
3071
- var Bt;
3072
- if (Et) {
3073
- var er = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3074
- Bt = function(t, r) {
3092
+ var Pt;
3093
+ if (Ct) {
3094
+ var rr = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3095
+ Pt = function(t, r) {
3075
3096
  var n;
3076
- er.lastIndex = r;
3077
- var i = er.exec(t);
3097
+ rr.lastIndex = r;
3098
+ var i = rr.exec(t);
3078
3099
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3079
3100
  };
3080
3101
  } else
3081
- Bt = function(t, r) {
3102
+ Pt = function(t, r) {
3082
3103
  for (var n = []; ; ) {
3083
- var i = Wr(t, r);
3084
- if (i === void 0 || Yr(i) || ki(i))
3104
+ var i = Vr(t, r);
3105
+ if (i === void 0 || Xr(i) || Fi(i))
3085
3106
  break;
3086
3107
  n.push(i), r += i >= 65536 ? 2 : 1;
3087
3108
  }
3088
- return xt.apply(void 0, n);
3109
+ return Ot.apply(void 0, n);
3089
3110
  };
3090
- var Ii = (
3111
+ var Ui = (
3091
3112
  /** @class */
3092
3113
  function() {
3093
3114
  function e(t, r) {
@@ -3111,14 +3132,14 @@ var Ii = (
3111
3132
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3112
3133
  var s = this.clonePosition();
3113
3134
  this.bump(), i.push({
3114
- type: C.pound,
3135
+ type: S.pound,
3115
3136
  location: _(s, this.clonePosition())
3116
3137
  });
3117
3138
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3118
3139
  if (n)
3119
3140
  break;
3120
3141
  return this.error(w.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3121
- } else if (o === 60 && !this.ignoreTag && St(this.peek() || 0)) {
3142
+ } else if (o === 60 && !this.ignoreTag && At(this.peek() || 0)) {
3122
3143
  var a = this.parseTag(t, r);
3123
3144
  if (a.err)
3124
3145
  return a;
@@ -3139,7 +3160,7 @@ var Ii = (
3139
3160
  if (this.bumpSpace(), this.bumpIf("/>"))
3140
3161
  return {
3141
3162
  val: {
3142
- type: C.literal,
3163
+ type: S.literal,
3143
3164
  value: "<".concat(i, "/>"),
3144
3165
  location: _(n, this.clonePosition())
3145
3166
  },
@@ -3151,12 +3172,12 @@ var Ii = (
3151
3172
  return o;
3152
3173
  var a = o.val, s = this.clonePosition();
3153
3174
  if (this.bumpIf("</")) {
3154
- if (this.isEOF() || !St(this.char()))
3175
+ if (this.isEOF() || !At(this.char()))
3155
3176
  return this.error(w.INVALID_TAG, _(s, this.clonePosition()));
3156
3177
  var l = this.clonePosition(), u = this.parseTagName();
3157
3178
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3158
3179
  val: {
3159
- type: C.tag,
3180
+ type: S.tag,
3160
3181
  value: i,
3161
3182
  children: a,
3162
3183
  location: _(n, this.clonePosition())
@@ -3169,7 +3190,7 @@ var Ii = (
3169
3190
  return this.error(w.INVALID_TAG, _(n, this.clonePosition()));
3170
3191
  }, e.prototype.parseTagName = function() {
3171
3192
  var t = this.offset();
3172
- for (this.bump(); !this.isEOF() && Ui(this.char()); )
3193
+ for (this.bump(); !this.isEOF() && $i(this.char()); )
3173
3194
  this.bump();
3174
3195
  return this.message.slice(t, this.offset());
3175
3196
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3193,12 +3214,12 @@ var Ii = (
3193
3214
  }
3194
3215
  var l = _(n, this.clonePosition());
3195
3216
  return {
3196
- val: { type: C.literal, value: i, location: l },
3217
+ val: { type: S.literal, value: i, location: l },
3197
3218
  err: null
3198
3219
  };
3199
3220
  }, e.prototype.tryParseLeftAngleBracket = function() {
3200
3221
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3201
- !Li(this.peek() || 0)) ? (this.bump(), "<") : null;
3222
+ !ki(this.peek() || 0)) ? (this.bump(), "<") : null;
3202
3223
  }, e.prototype.tryParseQuote = function(t) {
3203
3224
  if (this.isEOF() || this.char() !== 39)
3204
3225
  return null;
@@ -3232,12 +3253,12 @@ var Ii = (
3232
3253
  r.push(n);
3233
3254
  this.bump();
3234
3255
  }
3235
- return xt.apply(void 0, r);
3256
+ return Ot.apply(void 0, r);
3236
3257
  }, e.prototype.tryParseUnquoted = function(t, r) {
3237
3258
  if (this.isEOF())
3238
3259
  return null;
3239
3260
  var n = this.char();
3240
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), xt(n));
3261
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ot(n));
3241
3262
  }, e.prototype.parseArgument = function(t, r) {
3242
3263
  var n = this.clonePosition();
3243
3264
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3253,7 +3274,7 @@ var Ii = (
3253
3274
  case 125:
3254
3275
  return this.bump(), {
3255
3276
  val: {
3256
- type: C.argument,
3277
+ type: S.argument,
3257
3278
  // value does not include the opening and closing braces.
3258
3279
  value: i,
3259
3280
  location: _(n, this.clonePosition())
@@ -3266,7 +3287,7 @@ var Ii = (
3266
3287
  return this.error(w.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3267
3288
  }
3268
3289
  }, e.prototype.parseIdentifierIfPossible = function() {
3269
- var t = this.clonePosition(), r = this.offset(), n = Bt(this.message, r), i = r + n.length;
3290
+ var t = this.clonePosition(), r = this.offset(), n = Pt(this.message, r), i = r + n.length;
3270
3291
  this.bumpTo(i);
3271
3292
  var o = this.clonePosition(), a = _(t, o);
3272
3293
  return { value: n, location: a };
@@ -3285,7 +3306,7 @@ var Ii = (
3285
3306
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3286
3307
  if (f.err)
3287
3308
  return f;
3288
- var c = Di(f.val);
3309
+ var c = Li(f.val);
3289
3310
  if (c.length === 0)
3290
3311
  return this.error(w.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3291
3312
  var d = _(h, this.clonePosition());
@@ -3295,34 +3316,34 @@ var Ii = (
3295
3316
  if (p.err)
3296
3317
  return p;
3297
3318
  var v = _(i, this.clonePosition());
3298
- if (u && Jt(u?.style, "::", 0)) {
3299
- var S = Ni(u.style.slice(2));
3319
+ if (u && er(u?.style, "::", 0)) {
3320
+ var B = Ii(u.style.slice(2));
3300
3321
  if (s === "number") {
3301
- var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3322
+ var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3302
3323
  return f.err ? f : {
3303
- val: { type: C.number, value: n, location: v, style: f.val },
3324
+ val: { type: S.number, value: n, location: v, style: f.val },
3304
3325
  err: null
3305
3326
  };
3306
3327
  } else {
3307
- if (S.length === 0)
3328
+ if (B.length === 0)
3308
3329
  return this.error(w.EXPECT_DATE_TIME_SKELETON, v);
3309
- var L = S;
3310
- this.locale && (L = _i(S, this.locale));
3330
+ var L = B;
3331
+ this.locale && (L = Ti(B, this.locale));
3311
3332
  var c = {
3312
- type: we.dateTime,
3333
+ type: ye.dateTime,
3313
3334
  pattern: L,
3314
3335
  location: u.styleLocation,
3315
- parsedOptions: this.shouldParseSkeletons ? mi(L) : {}
3316
- }, P = s === "date" ? C.date : C.time;
3336
+ parsedOptions: this.shouldParseSkeletons ? pi(L) : {}
3337
+ }, O = s === "date" ? S.date : S.time;
3317
3338
  return {
3318
- val: { type: P, value: n, location: v, style: c },
3339
+ val: { type: O, value: n, location: v, style: c },
3319
3340
  err: null
3320
3341
  };
3321
3342
  }
3322
3343
  }
3323
3344
  return {
3324
3345
  val: {
3325
- type: s === "number" ? C.number : s === "date" ? C.date : C.time,
3346
+ type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3326
3347
  value: n,
3327
3348
  location: v,
3328
3349
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3335,7 +3356,7 @@ var Ii = (
3335
3356
  case "select": {
3336
3357
  var E = this.clonePosition();
3337
3358
  if (this.bumpSpace(), !this.bumpIf(","))
3338
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(E, T({}, E)));
3359
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(E, We({}, E)));
3339
3360
  this.bumpSpace();
3340
3361
  var U = this.parseIdentifierIfPossible(), A = 0;
3341
3362
  if (s !== "select" && U.value === "offset") {
@@ -3356,17 +3377,17 @@ var Ii = (
3356
3377
  var k = _(i, this.clonePosition());
3357
3378
  return s === "select" ? {
3358
3379
  val: {
3359
- type: C.select,
3380
+ type: S.select,
3360
3381
  value: n,
3361
- options: Kt($.val),
3382
+ options: tr($.val),
3362
3383
  location: k
3363
3384
  },
3364
3385
  err: null
3365
3386
  } : {
3366
3387
  val: {
3367
- type: C.plural,
3388
+ type: S.plural,
3368
3389
  value: n,
3369
- options: Kt($.val),
3390
+ options: tr($.val),
3370
3391
  offset: A,
3371
3392
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3372
3393
  location: k
@@ -3417,16 +3438,16 @@ var Ii = (
3417
3438
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3418
3439
  var n = [];
3419
3440
  try {
3420
- n = pi(t);
3441
+ n = gi(t);
3421
3442
  } catch {
3422
3443
  return this.error(w.INVALID_NUMBER_SKELETON, r);
3423
3444
  }
3424
3445
  return {
3425
3446
  val: {
3426
- type: we.number,
3447
+ type: ye.number,
3427
3448
  tokens: n,
3428
3449
  location: r,
3429
- parsedOptions: this.shouldParseSkeletons ? wi(n) : {}
3450
+ parsedOptions: this.shouldParseSkeletons ? Ei(n) : {}
3430
3451
  },
3431
3452
  err: null
3432
3453
  };
@@ -3474,7 +3495,7 @@ var Ii = (
3474
3495
  break;
3475
3496
  }
3476
3497
  var l = _(i, this.clonePosition());
3477
- return o ? (a *= n, Mi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3498
+ return o ? (a *= n, Ni(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3478
3499
  }, e.prototype.offset = function() {
3479
3500
  return this.position.offset;
3480
3501
  }, e.prototype.isEOF = function() {
@@ -3489,7 +3510,7 @@ var Ii = (
3489
3510
  var t = this.position.offset;
3490
3511
  if (t >= this.message.length)
3491
3512
  throw Error("out of bound");
3492
- var r = Wr(this.message, t);
3513
+ var r = Vr(this.message, t);
3493
3514
  if (r === void 0)
3494
3515
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3495
3516
  return r;
@@ -3508,7 +3529,7 @@ var Ii = (
3508
3529
  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);
3509
3530
  }
3510
3531
  }, e.prototype.bumpIf = function(t) {
3511
- if (Jt(this.message, t, this.offset())) {
3532
+ if (er(this.message, t, this.offset())) {
3512
3533
  for (var r = 0; r < t.length; r++)
3513
3534
  this.bump();
3514
3535
  return !0;
@@ -3530,7 +3551,7 @@ var Ii = (
3530
3551
  break;
3531
3552
  }
3532
3553
  }, e.prototype.bumpSpace = function() {
3533
- for (; !this.isEOF() && Yr(this.char()); )
3554
+ for (; !this.isEOF() && Xr(this.char()); )
3534
3555
  this.bump();
3535
3556
  }, e.prototype.peek = function() {
3536
3557
  if (this.isEOF())
@@ -3540,47 +3561,47 @@ var Ii = (
3540
3561
  }, e;
3541
3562
  }()
3542
3563
  );
3543
- function St(e) {
3564
+ function At(e) {
3544
3565
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3545
3566
  }
3546
- function Li(e) {
3547
- return St(e) || e === 47;
3567
+ function ki(e) {
3568
+ return At(e) || e === 47;
3548
3569
  }
3549
- function Ui(e) {
3570
+ function $i(e) {
3550
3571
  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;
3551
3572
  }
3552
- function Yr(e) {
3573
+ function Xr(e) {
3553
3574
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3554
3575
  }
3555
- function ki(e) {
3576
+ function Fi(e) {
3556
3577
  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;
3557
3578
  }
3558
- function Ct(e) {
3579
+ function Ht(e) {
3559
3580
  e.forEach(function(t) {
3560
- if (delete t.location, Ir(t) || Lr(t))
3581
+ if (delete t.location, Lr(t) || Ur(t))
3561
3582
  for (var r in t.options)
3562
- delete t.options[r].location, Ct(t.options[r].value);
3583
+ delete t.options[r].location, Ht(t.options[r].value);
3563
3584
  else
3564
- Rr(t) && kr(t.style) || (Nr(t) || Dr(t)) && Tt(t.style) ? delete t.style.location : Ur(t) && Ct(t.children);
3585
+ Nr(t) && $r(t.style) || (Dr(t) || Ir(t)) && St(t.style) ? delete t.style.location : kr(t) && Ht(t.children);
3565
3586
  });
3566
3587
  }
3567
- function $i(e, t) {
3568
- t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3569
- var r = new Ii(e, t).parse();
3588
+ function Gi(e, t) {
3589
+ t === void 0 && (t = {}), t = We({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3590
+ var r = new Ui(e, t).parse();
3570
3591
  if (r.err) {
3571
3592
  var n = SyntaxError(w[r.err.kind]);
3572
3593
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3573
3594
  }
3574
- return t?.captureLocation || Ct(r.val), r.val;
3595
+ return t?.captureLocation || Ht(r.val), r.val;
3575
3596
  }
3576
- var _e;
3597
+ var we;
3577
3598
  (function(e) {
3578
3599
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3579
- })(_e || (_e = {}));
3580
- var Ze = (
3600
+ })(we || (we = {}));
3601
+ var Ke = (
3581
3602
  /** @class */
3582
3603
  function(e) {
3583
- re(t, e);
3604
+ Je(t, e);
3584
3605
  function t(r, n, i) {
3585
3606
  var o = e.call(this, r) || this;
3586
3607
  return o.code = n, o.originalMessage = i, o;
@@ -3589,48 +3610,48 @@ var Ze = (
3589
3610
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3590
3611
  }, t;
3591
3612
  }(Error)
3592
- ), tr = (
3613
+ ), nr = (
3593
3614
  /** @class */
3594
3615
  function(e) {
3595
- re(t, e);
3616
+ Je(t, e);
3596
3617
  function t(r, n, i, o) {
3597
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), _e.INVALID_VALUE, o) || this;
3618
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), we.INVALID_VALUE, o) || this;
3598
3619
  }
3599
3620
  return t;
3600
- }(Ze)
3601
- ), Fi = (
3621
+ }(Ke)
3622
+ ), ji = (
3602
3623
  /** @class */
3603
3624
  function(e) {
3604
- re(t, e);
3625
+ Je(t, e);
3605
3626
  function t(r, n, i) {
3606
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), _e.INVALID_VALUE, i) || this;
3627
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), we.INVALID_VALUE, i) || this;
3607
3628
  }
3608
3629
  return t;
3609
- }(Ze)
3610
- ), Gi = (
3630
+ }(Ke)
3631
+ ), Wi = (
3611
3632
  /** @class */
3612
3633
  function(e) {
3613
- re(t, e);
3634
+ Je(t, e);
3614
3635
  function t(r, n) {
3615
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), _e.MISSING_VALUE, n) || this;
3636
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), we.MISSING_VALUE, n) || this;
3616
3637
  }
3617
3638
  return t;
3618
- }(Ze)
3639
+ }(Ke)
3619
3640
  ), F;
3620
3641
  (function(e) {
3621
3642
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3622
3643
  })(F || (F = {}));
3623
- function ji(e) {
3644
+ function Vi(e) {
3624
3645
  return e.length < 2 ? e : e.reduce(function(t, r) {
3625
3646
  var n = t[t.length - 1];
3626
3647
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3627
3648
  }, []);
3628
3649
  }
3629
- function Wi(e) {
3650
+ function Yi(e) {
3630
3651
  return typeof e == "function";
3631
3652
  }
3632
3653
  function Ge(e, t, r, n, i, o, a) {
3633
- if (e.length === 1 && zt(e[0]))
3654
+ if (e.length === 1 && Qt(e[0]))
3634
3655
  return [
3635
3656
  {
3636
3657
  type: F.literal,
@@ -3639,14 +3660,14 @@ function Ge(e, t, r, n, i, o, a) {
3639
3660
  ];
3640
3661
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3641
3662
  var h = u[l];
3642
- if (zt(h)) {
3663
+ if (Qt(h)) {
3643
3664
  s.push({
3644
3665
  type: F.literal,
3645
3666
  value: h.value
3646
3667
  });
3647
3668
  continue;
3648
3669
  }
3649
- if (fi(h)) {
3670
+ if (mi(h)) {
3650
3671
  typeof o == "number" && s.push({
3651
3672
  type: F.literal,
3652
3673
  value: r.getNumberFormat(t).format(o)
@@ -3655,89 +3676,89 @@ function Ge(e, t, r, n, i, o, a) {
3655
3676
  }
3656
3677
  var f = h.value;
3657
3678
  if (!(i && f in i))
3658
- throw new Gi(f, a);
3679
+ throw new Wi(f, a);
3659
3680
  var c = i[f];
3660
- if (ci(h)) {
3681
+ if (di(h)) {
3661
3682
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3662
3683
  type: typeof c == "string" ? F.literal : F.object,
3663
3684
  value: c
3664
3685
  });
3665
3686
  continue;
3666
3687
  }
3667
- if (Nr(h)) {
3668
- var d = typeof h.style == "string" ? n.date[h.style] : Tt(h.style) ? h.style.parsedOptions : void 0;
3688
+ if (Dr(h)) {
3689
+ var d = typeof h.style == "string" ? n.date[h.style] : St(h.style) ? h.style.parsedOptions : void 0;
3669
3690
  s.push({
3670
3691
  type: F.literal,
3671
3692
  value: r.getDateTimeFormat(t, d).format(c)
3672
3693
  });
3673
3694
  continue;
3674
3695
  }
3675
- if (Dr(h)) {
3676
- var d = typeof h.style == "string" ? n.time[h.style] : Tt(h.style) ? h.style.parsedOptions : n.time.medium;
3696
+ if (Ir(h)) {
3697
+ var d = typeof h.style == "string" ? n.time[h.style] : St(h.style) ? h.style.parsedOptions : n.time.medium;
3677
3698
  s.push({
3678
3699
  type: F.literal,
3679
3700
  value: r.getDateTimeFormat(t, d).format(c)
3680
3701
  });
3681
3702
  continue;
3682
3703
  }
3683
- if (Rr(h)) {
3684
- var d = typeof h.style == "string" ? n.number[h.style] : kr(h.style) ? h.style.parsedOptions : void 0;
3704
+ if (Nr(h)) {
3705
+ var d = typeof h.style == "string" ? n.number[h.style] : $r(h.style) ? h.style.parsedOptions : void 0;
3685
3706
  d && d.scale && (c = c * (d.scale || 1)), s.push({
3686
3707
  type: F.literal,
3687
3708
  value: r.getNumberFormat(t, d).format(c)
3688
3709
  });
3689
3710
  continue;
3690
3711
  }
3691
- if (Ur(h)) {
3692
- var p = h.children, v = h.value, S = i[v];
3693
- if (!Wi(S))
3694
- throw new Fi(v, "function", a);
3695
- var L = Ge(p, t, r, n, i, o), P = S(L.map(function(A) {
3712
+ if (kr(h)) {
3713
+ var p = h.children, v = h.value, B = i[v];
3714
+ if (!Yi(B))
3715
+ throw new ji(v, "function", a);
3716
+ var L = Ge(p, t, r, n, i, o), O = B(L.map(function(A) {
3696
3717
  return A.value;
3697
3718
  }));
3698
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(A) {
3719
+ Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(A) {
3699
3720
  return {
3700
3721
  type: typeof A == "string" ? F.literal : F.object,
3701
3722
  value: A
3702
3723
  };
3703
3724
  }));
3704
3725
  }
3705
- if (Ir(h)) {
3726
+ if (Lr(h)) {
3706
3727
  var E = h.options[c] || h.options.other;
3707
3728
  if (!E)
3708
- throw new tr(h.value, c, Object.keys(h.options), a);
3729
+ throw new nr(h.value, c, Object.keys(h.options), a);
3709
3730
  s.push.apply(s, Ge(E.value, t, r, n, i));
3710
3731
  continue;
3711
3732
  }
3712
- if (Lr(h)) {
3733
+ if (Ur(h)) {
3713
3734
  var E = h.options["=".concat(c)];
3714
3735
  if (!E) {
3715
3736
  if (!Intl.PluralRules)
3716
- throw new Ze(`Intl.PluralRules is not available in this environment.
3737
+ throw new Ke(`Intl.PluralRules is not available in this environment.
3717
3738
  Try polyfilling it using "@formatjs/intl-pluralrules"
3718
- `, _e.MISSING_INTL_API, a);
3739
+ `, we.MISSING_INTL_API, a);
3719
3740
  var U = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3720
3741
  E = h.options[U] || h.options.other;
3721
3742
  }
3722
3743
  if (!E)
3723
- throw new tr(h.value, c, Object.keys(h.options), a);
3744
+ throw new nr(h.value, c, Object.keys(h.options), a);
3724
3745
  s.push.apply(s, Ge(E.value, t, r, n, i, c - (h.offset || 0)));
3725
3746
  continue;
3726
3747
  }
3727
3748
  }
3728
- return ji(s);
3749
+ return Vi(s);
3729
3750
  }
3730
- function Vi(e, t) {
3731
- return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3732
- return r[n] = T(T({}, e[n]), t[n] || {}), r;
3751
+ function Xi(e, t) {
3752
+ return t ? J(J(J({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3753
+ return r[n] = J(J({}, e[n]), t[n] || {}), r;
3733
3754
  }, {})) : e;
3734
3755
  }
3735
- function Yi(e, t) {
3756
+ function qi(e, t) {
3736
3757
  return t ? Object.keys(e).reduce(function(r, n) {
3737
- return r[n] = Vi(e[n], t[n]), r;
3738
- }, T({}, e)) : e;
3758
+ return r[n] = Xi(e[n], t[n]), r;
3759
+ }, J({}, e)) : e;
3739
3760
  }
3740
- function ct(e) {
3761
+ function dt(e) {
3741
3762
  return {
3742
3763
  create: function() {
3743
3764
  return {
@@ -3751,39 +3772,39 @@ function ct(e) {
3751
3772
  }
3752
3773
  };
3753
3774
  }
3754
- function Xi(e) {
3775
+ function zi(e) {
3755
3776
  return e === void 0 && (e = {
3756
3777
  number: {},
3757
3778
  dateTime: {},
3758
3779
  pluralRules: {}
3759
3780
  }), {
3760
- getNumberFormat: ut(function() {
3781
+ getNumberFormat: ht(function() {
3761
3782
  for (var t, r = [], n = 0; n < arguments.length; n++)
3762
3783
  r[n] = arguments[n];
3763
- return new ((t = Intl.NumberFormat).bind.apply(t, ge([void 0], r, !1)))();
3784
+ return new ((t = Intl.NumberFormat).bind.apply(t, lt([void 0], r, !1)))();
3764
3785
  }, {
3765
- cache: ct(e.number),
3766
- strategy: lt.variadic
3786
+ cache: dt(e.number),
3787
+ strategy: ct.variadic
3767
3788
  }),
3768
- getDateTimeFormat: ut(function() {
3789
+ getDateTimeFormat: ht(function() {
3769
3790
  for (var t, r = [], n = 0; n < arguments.length; n++)
3770
3791
  r[n] = arguments[n];
3771
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ge([void 0], r, !1)))();
3792
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, lt([void 0], r, !1)))();
3772
3793
  }, {
3773
- cache: ct(e.dateTime),
3774
- strategy: lt.variadic
3794
+ cache: dt(e.dateTime),
3795
+ strategy: ct.variadic
3775
3796
  }),
3776
- getPluralRules: ut(function() {
3797
+ getPluralRules: ht(function() {
3777
3798
  for (var t, r = [], n = 0; n < arguments.length; n++)
3778
3799
  r[n] = arguments[n];
3779
- return new ((t = Intl.PluralRules).bind.apply(t, ge([void 0], r, !1)))();
3800
+ return new ((t = Intl.PluralRules).bind.apply(t, lt([void 0], r, !1)))();
3780
3801
  }, {
3781
- cache: ct(e.pluralRules),
3782
- strategy: lt.variadic
3802
+ cache: dt(e.pluralRules),
3803
+ strategy: ct.variadic
3783
3804
  })
3784
3805
  };
3785
3806
  }
3786
- var zi = (
3807
+ var Qi = (
3787
3808
  /** @class */
3788
3809
  function() {
3789
3810
  function e(t, r, n, i) {
@@ -3815,13 +3836,13 @@ var zi = (
3815
3836
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3816
3837
  var a = i || {};
3817
3838
  a.formatters;
3818
- var s = Cn(a, ["formatters"]);
3819
- this.ast = e.__parse(t, T(T({}, s), { locale: this.resolvedLocale }));
3839
+ var s = oi(a, ["formatters"]);
3840
+ this.ast = e.__parse(t, J(J({}, s), { locale: this.resolvedLocale }));
3820
3841
  } else
3821
3842
  this.ast = t;
3822
3843
  if (!Array.isArray(this.ast))
3823
3844
  throw new TypeError("A message must be provided as a String or AST.");
3824
- this.formats = Yi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
3845
+ this.formats = qi(e.formats, n), this.formatters = i && i.formatters || zi(this.formatterCache);
3825
3846
  }
3826
3847
  return Object.defineProperty(e, "defaultLocale", {
3827
3848
  get: function() {
@@ -3834,7 +3855,7 @@ var zi = (
3834
3855
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3835
3856
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3836
3857
  }
3837
- }, e.__parse = $i, e.formats = {
3858
+ }, e.__parse = Gi, e.formats = {
3838
3859
  number: {
3839
3860
  integer: {
3840
3861
  maximumFractionDigits: 0
@@ -3895,7 +3916,7 @@ var zi = (
3895
3916
  }, e;
3896
3917
  }()
3897
3918
  );
3898
- function qi(e, t) {
3919
+ function Zi(e, t) {
3899
3920
  if (t == null)
3900
3921
  return;
3901
3922
  if (t in e)
@@ -3916,92 +3937,92 @@ function qi(e, t) {
3916
3937
  n = void 0;
3917
3938
  return n;
3918
3939
  }
3919
- const oe = {}, Qi = (e, t, r) => r && (t in oe || (oe[t] = {}), e in oe[t] || (oe[t][e] = r), r), Xr = (e, t) => {
3940
+ const oe = {}, Ji = (e, t, r) => r && (t in oe || (oe[t] = {}), e in oe[t] || (oe[t][e] = r), r), qr = (e, t) => {
3920
3941
  if (t == null)
3921
3942
  return;
3922
3943
  if (t in oe && e in oe[t])
3923
3944
  return oe[t][e];
3924
- const r = Je(t);
3945
+ const r = et(t);
3925
3946
  for (let n = 0; n < r.length; n++) {
3926
- const i = r[n], o = Ji(i, e);
3947
+ const i = r[n], o = eo(i, e);
3927
3948
  if (o)
3928
- return Qi(e, t, o);
3949
+ return Ji(e, t, o);
3929
3950
  }
3930
3951
  };
3931
- let Rt;
3932
- const De = Qe({});
3933
- function Zi(e) {
3934
- return Rt[e] || null;
3952
+ let Dt;
3953
+ const De = Ze({});
3954
+ function Ki(e) {
3955
+ return Dt[e] || null;
3935
3956
  }
3936
3957
  function zr(e) {
3937
- return e in Rt;
3958
+ return e in Dt;
3938
3959
  }
3939
- function Ji(e, t) {
3960
+ function eo(e, t) {
3940
3961
  if (!zr(e))
3941
3962
  return null;
3942
- const r = Zi(e);
3943
- return qi(r, t);
3963
+ const r = Ki(e);
3964
+ return Zi(r, t);
3944
3965
  }
3945
- function Ki(e) {
3966
+ function to(e) {
3946
3967
  if (e == null)
3947
3968
  return;
3948
- const t = Je(e);
3969
+ const t = et(e);
3949
3970
  for (let r = 0; r < t.length; r++) {
3950
3971
  const n = t[r];
3951
3972
  if (zr(n))
3952
3973
  return n;
3953
3974
  }
3954
3975
  }
3955
- function qr(e, ...t) {
3976
+ function Qr(e, ...t) {
3956
3977
  delete oe[e], De.update((r) => (r[e] = ii.all([r[e] || {}, ...t]), r));
3957
3978
  }
3958
3979
  Ee(
3959
3980
  [De],
3960
3981
  ([e]) => Object.keys(e)
3961
3982
  );
3962
- De.subscribe((e) => Rt = e);
3983
+ De.subscribe((e) => Dt = e);
3963
3984
  const je = {};
3964
- function eo(e, t) {
3985
+ function ro(e, t) {
3965
3986
  je[e].delete(t), je[e].size === 0 && delete je[e];
3966
3987
  }
3967
- function Qr(e) {
3988
+ function Zr(e) {
3968
3989
  return je[e];
3969
3990
  }
3970
- function to(e) {
3971
- return Je(e).map((t) => {
3972
- const r = Qr(t);
3991
+ function no(e) {
3992
+ return et(e).map((t) => {
3993
+ const r = Zr(t);
3973
3994
  return [t, r ? [...r] : []];
3974
3995
  }).filter(([, t]) => t.length > 0);
3975
3996
  }
3976
- function Pt(e) {
3977
- return e == null ? !1 : Je(e).some(
3997
+ function Mt(e) {
3998
+ return e == null ? !1 : et(e).some(
3978
3999
  (t) => {
3979
4000
  var r;
3980
- return (r = Qr(t)) == null ? void 0 : r.size;
4001
+ return (r = Zr(t)) == null ? void 0 : r.size;
3981
4002
  }
3982
4003
  );
3983
4004
  }
3984
- function ro(e, t) {
4005
+ function io(e, t) {
3985
4006
  return Promise.all(
3986
- t.map((n) => (eo(e, n), n().then((i) => i.default || i)))
3987
- ).then((n) => qr(e, ...n));
3988
- }
3989
- const Ce = {};
3990
- function Zr(e) {
3991
- if (!Pt(e))
3992
- return e in Ce ? Ce[e] : Promise.resolve();
3993
- const t = to(e);
3994
- return Ce[e] = Promise.all(
4007
+ t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
4008
+ ).then((n) => Qr(e, ...n));
4009
+ }
4010
+ const Se = {};
4011
+ function Jr(e) {
4012
+ if (!Mt(e))
4013
+ return e in Se ? Se[e] : Promise.resolve();
4014
+ const t = no(e);
4015
+ return Se[e] = Promise.all(
3995
4016
  t.map(
3996
- ([r, n]) => ro(r, n)
4017
+ ([r, n]) => io(r, n)
3997
4018
  )
3998
4019
  ).then(() => {
3999
- if (Pt(e))
4000
- return Zr(e);
4001
- delete Ce[e];
4002
- }), Ce[e];
4020
+ if (Mt(e))
4021
+ return Jr(e);
4022
+ delete Se[e];
4023
+ }), Se[e];
4003
4024
  }
4004
- const no = {
4025
+ const oo = {
4005
4026
  number: {
4006
4027
  scientific: { notation: "scientific" },
4007
4028
  engineering: { notation: "engineering" },
@@ -4030,135 +4051,135 @@ const no = {
4030
4051
  timeZoneName: "short"
4031
4052
  }
4032
4053
  }
4033
- }, io = {
4054
+ }, ao = {
4034
4055
  fallbackLocale: null,
4035
4056
  loadingDelay: 200,
4036
- formats: no,
4057
+ formats: oo,
4037
4058
  warnOnMissingMessages: !0,
4038
4059
  handleMissingMessage: void 0,
4039
4060
  ignoreTag: !0
4040
- }, oo = io;
4041
- function Te() {
4042
- return oo;
4061
+ }, so = ao;
4062
+ function _e() {
4063
+ return so;
4043
4064
  }
4044
- const ft = Qe(!1);
4045
- var ao = Object.defineProperty, so = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
4065
+ const mt = Ze(!1);
4066
+ var uo = Object.defineProperty, lo = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, ir = Object.getOwnPropertySymbols, co = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
4046
4067
  for (var r in t || (t = {}))
4047
- lo.call(t, r) && nr(e, r, t[r]);
4048
- if (rr)
4049
- for (var r of rr(t))
4050
- ho.call(t, r) && nr(e, r, t[r]);
4068
+ co.call(t, r) && or(e, r, t[r]);
4069
+ if (ir)
4070
+ for (var r of ir(t))
4071
+ fo.call(t, r) && or(e, r, t[r]);
4051
4072
  return e;
4052
- }, fo = (e, t) => so(e, uo(t));
4053
- let Ot;
4054
- const We = Qe(null);
4055
- function ir(e) {
4073
+ }, bo = (e, t) => lo(e, ho(t));
4074
+ let Rt;
4075
+ const Ve = Ze(null);
4076
+ function ar(e) {
4056
4077
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4057
4078
  }
4058
- function Je(e, t = Te().fallbackLocale) {
4059
- const r = ir(e);
4060
- return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
4079
+ function et(e, t = _e().fallbackLocale) {
4080
+ const r = ar(e);
4081
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
4061
4082
  }
4062
4083
  function ce() {
4063
- return Ot ?? void 0;
4084
+ return Rt ?? void 0;
4064
4085
  }
4065
- We.subscribe((e) => {
4066
- Ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4086
+ Ve.subscribe((e) => {
4087
+ Rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4067
4088
  });
4068
- const mo = (e) => {
4069
- if (e && Ki(e) && Pt(e)) {
4070
- const { loadingDelay: t } = Te();
4089
+ const po = (e) => {
4090
+ if (e && to(e) && Mt(e)) {
4091
+ const { loadingDelay: t } = _e();
4071
4092
  let r;
4072
4093
  return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
4073
- () => ft.set(!0),
4094
+ () => mt.set(!0),
4074
4095
  t
4075
- ) : ft.set(!0), Zr(e).then(() => {
4076
- We.set(e);
4096
+ ) : mt.set(!0), Jr(e).then(() => {
4097
+ Ve.set(e);
4077
4098
  }).finally(() => {
4078
- clearTimeout(r), ft.set(!1);
4099
+ clearTimeout(r), mt.set(!1);
4079
4100
  });
4080
4101
  }
4081
- return We.set(e);
4082
- }, xe = fo(co({}, We), {
4083
- set: mo
4084
- }), Ke = (e) => {
4102
+ return Ve.set(e);
4103
+ }, Te = bo(mo({}, Ve), {
4104
+ set: po
4105
+ }), tt = (e) => {
4085
4106
  const t = /* @__PURE__ */ Object.create(null);
4086
4107
  return (n) => {
4087
4108
  const i = JSON.stringify(n);
4088
4109
  return i in t ? t[i] : t[i] = e(n);
4089
4110
  };
4090
4111
  };
4091
- var bo = Object.defineProperty, Ve = Object.getOwnPropertySymbols, Jr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
4112
+ var vo = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, It = (e, t) => {
4092
4113
  for (var r in t || (t = {}))
4093
- Jr.call(t, r) && or(e, r, t[r]);
4094
- if (Ve)
4095
- for (var r of Ve(t))
4096
- Kr.call(t, r) && or(e, r, t[r]);
4114
+ Kr.call(t, r) && sr(e, r, t[r]);
4115
+ if (Ye)
4116
+ for (var r of Ye(t))
4117
+ en.call(t, r) && sr(e, r, t[r]);
4097
4118
  return e;
4098
- }, Be = (e, t) => {
4119
+ }, xe = (e, t) => {
4099
4120
  var r = {};
4100
4121
  for (var n in e)
4101
- Jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4102
- if (e != null && Ve)
4103
- for (var n of Ve(e))
4104
- t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
4122
+ Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4123
+ if (e != null && Ye)
4124
+ for (var n of Ye(e))
4125
+ t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
4105
4126
  return r;
4106
4127
  };
4107
- const Re = (e, t) => {
4108
- const { formats: r } = Te();
4128
+ const Me = (e, t) => {
4129
+ const { formats: r } = _e();
4109
4130
  if (e in r && t in r[e])
4110
4131
  return r[e][t];
4111
4132
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4112
- }, po = Ke(
4133
+ }, go = tt(
4113
4134
  (e) => {
4114
- var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4135
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4115
4136
  if (r == null)
4116
4137
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4117
- return n && (i = Re("number", n)), new Intl.NumberFormat(r, i);
4138
+ return n && (i = Me("number", n)), new Intl.NumberFormat(r, i);
4118
4139
  }
4119
- ), vo = Ke(
4140
+ ), yo = tt(
4120
4141
  (e) => {
4121
- var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4142
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4122
4143
  if (r == null)
4123
4144
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4124
- return n ? i = Re("date", n) : Object.keys(i).length === 0 && (i = Re("date", "short")), new Intl.DateTimeFormat(r, i);
4145
+ return n ? i = Me("date", n) : Object.keys(i).length === 0 && (i = Me("date", "short")), new Intl.DateTimeFormat(r, i);
4125
4146
  }
4126
- ), go = Ke(
4147
+ ), wo = tt(
4127
4148
  (e) => {
4128
- var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4149
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4129
4150
  if (r == null)
4130
4151
  throw new Error(
4131
4152
  '[svelte-i18n] A "locale" must be set to format time values'
4132
4153
  );
4133
- return n ? i = Re("time", n) : Object.keys(i).length === 0 && (i = Re("time", "short")), new Intl.DateTimeFormat(r, i);
4154
+ return n ? i = Me("time", n) : Object.keys(i).length === 0 && (i = Me("time", "short")), new Intl.DateTimeFormat(r, i);
4134
4155
  }
4135
- ), yo = (e = {}) => {
4156
+ ), _o = (e = {}) => {
4136
4157
  var t = e, {
4137
4158
  locale: r = ce()
4138
- } = t, n = Be(t, [
4159
+ } = t, n = xe(t, [
4139
4160
  "locale"
4140
4161
  ]);
4141
- return po(Nt({ locale: r }, n));
4142
- }, wo = (e = {}) => {
4162
+ return go(It({ locale: r }, n));
4163
+ }, Eo = (e = {}) => {
4143
4164
  var t = e, {
4144
4165
  locale: r = ce()
4145
- } = t, n = Be(t, [
4166
+ } = t, n = xe(t, [
4146
4167
  "locale"
4147
4168
  ]);
4148
- return vo(Nt({ locale: r }, n));
4149
- }, _o = (e = {}) => {
4169
+ return yo(It({ locale: r }, n));
4170
+ }, To = (e = {}) => {
4150
4171
  var t = e, {
4151
4172
  locale: r = ce()
4152
- } = t, n = Be(t, [
4173
+ } = t, n = xe(t, [
4153
4174
  "locale"
4154
4175
  ]);
4155
- return go(Nt({ locale: r }, n));
4156
- }, To = Ke(
4176
+ return wo(It({ locale: r }, n));
4177
+ }, xo = tt(
4157
4178
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4158
- (e, t = ce()) => new zi(e, t, Te().formats, {
4159
- ignoreTag: Te().ignoreTag
4179
+ (e, t = ce()) => new Qi(e, t, _e().formats, {
4180
+ ignoreTag: _e().ignoreTag
4160
4181
  })
4161
- ), Eo = (e, t = {}) => {
4182
+ ), Bo = (e, t = {}) => {
4162
4183
  var r, n, i, o;
4163
4184
  let a = t;
4164
4185
  typeof e == "object" && (a = e, e = a.id);
@@ -4171,9 +4192,9 @@ const Re = (e, t) => {
4171
4192
  throw new Error(
4172
4193
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4173
4194
  );
4174
- let h = Xr(e, l);
4195
+ let h = qr(e, l);
4175
4196
  if (!h)
4176
- h = (o = (i = (n = (r = Te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4197
+ h = (o = (i = (n = (r = _e()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4177
4198
  else if (typeof h != "string")
4178
4199
  return console.warn(
4179
4200
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4182,7 +4203,7 @@ const Re = (e, t) => {
4182
4203
  return h;
4183
4204
  let f = h;
4184
4205
  try {
4185
- f = To(h, l).format(s);
4206
+ f = xo(h, l).format(s);
4186
4207
  } catch (c) {
4187
4208
  c instanceof Error && console.warn(
4188
4209
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4190,20 +4211,20 @@ const Re = (e, t) => {
4190
4211
  );
4191
4212
  }
4192
4213
  return f;
4193
- }, xo = (e, t) => _o(t).format(e), Bo = (e, t) => wo(t).format(e), So = (e, t) => yo(t).format(e), Co = (e, t = ce()) => Xr(e, t), Po = Ee([xe, De], () => Eo);
4194
- Ee([xe], () => xo);
4195
- Ee([xe], () => Bo);
4196
- Ee([xe], () => So);
4197
- Ee([xe, De], () => Co);
4214
+ }, So = (e, t) => To(t).format(e), Co = (e, t) => Eo(t).format(e), Oo = (e, t) => _o(t).format(e), Po = (e, t = ce()) => qr(e, t), Ao = Ee([Te, De], () => Bo);
4215
+ Ee([Te], () => So);
4216
+ Ee([Te], () => Co);
4217
+ Ee([Te], () => Oo);
4218
+ Ee([Te, De], () => Po);
4198
4219
  window.emWidgets = { topic: Fn };
4199
- const Oo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4200
- function ar(e, t) {
4201
- qr(e, t);
4220
+ const Ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4221
+ function ur(e, t) {
4222
+ Qr(e, t);
4202
4223
  }
4203
- function Ao(e) {
4204
- xe.set(e);
4224
+ function Mo(e) {
4225
+ Te.set(e);
4205
4226
  }
4206
- const sr = {
4227
+ const lr = {
4207
4228
  en: {
4208
4229
  date: "Granted date:",
4209
4230
  bonusName: "Bonus Name",
@@ -4480,13 +4501,13 @@ const sr = {
4480
4501
  oddsBoost: "Odds Boost"
4481
4502
  }
4482
4503
  };
4483
- function Ho(e, t) {
4504
+ function Ro(e, t) {
4484
4505
  if (e) {
4485
4506
  const r = document.createElement("style");
4486
4507
  r.innerHTML = t, e.appendChild(r);
4487
4508
  }
4488
4509
  }
4489
- function Mo(e, t) {
4510
+ function No(e, t) {
4490
4511
  const r = new URL(t);
4491
4512
  fetch(r.href).then((n) => n.text()).then((n) => {
4492
4513
  const i = document.createElement("style");
@@ -4495,7 +4516,7 @@ function Mo(e, t) {
4495
4516
  console.error("There was an error while trying to load client styling from URL", n);
4496
4517
  });
4497
4518
  }
4498
- function Ro(e, t, r) {
4519
+ function Do(e, t, r) {
4499
4520
  if (window.emMessageBus) {
4500
4521
  const n = document.createElement("style");
4501
4522
  window.emMessageBus.subscribe(t, (i) => {
@@ -4503,13 +4524,13 @@ function Ro(e, t, r) {
4503
4524
  });
4504
4525
  }
4505
4526
  }
4506
- function Ye(e) {
4527
+ function Xe(e) {
4507
4528
  "@babel/helpers - typeof";
4508
- return Ye = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4529
+ return Xe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4509
4530
  return typeof t;
4510
4531
  } : function(t) {
4511
4532
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4512
- }, Ye(e);
4533
+ }, Xe(e);
4513
4534
  }
4514
4535
  function he(e) {
4515
4536
  if (e === null || e === !0 || e === !1)
@@ -4521,110 +4542,110 @@ function G(e, t) {
4521
4542
  if (t.length < e)
4522
4543
  throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
4523
4544
  }
4524
- function J(e) {
4545
+ function K(e) {
4525
4546
  G(1, arguments);
4526
4547
  var t = Object.prototype.toString.call(e);
4527
- return e instanceof Date || Ye(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
4548
+ return e instanceof Date || Xe(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
4528
4549
  }
4529
- function No(e, t) {
4550
+ function Io(e, t) {
4530
4551
  G(2, arguments);
4531
- var r = J(e).getTime(), n = he(t);
4552
+ var r = K(e).getTime(), n = he(t);
4532
4553
  return new Date(r + n);
4533
4554
  }
4534
- var Do = {};
4535
- function et() {
4536
- return Do;
4555
+ var Lo = {};
4556
+ function rt() {
4557
+ return Lo;
4537
4558
  }
4538
- function Io(e) {
4559
+ function Uo(e) {
4539
4560
  var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
4540
4561
  return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
4541
4562
  }
4542
- function Lo(e) {
4543
- return G(1, arguments), e instanceof Date || Ye(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4563
+ function ko(e) {
4564
+ return G(1, arguments), e instanceof Date || Xe(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4544
4565
  }
4545
- function Uo(e) {
4546
- if (G(1, arguments), !Lo(e) && typeof e != "number")
4566
+ function $o(e) {
4567
+ if (G(1, arguments), !ko(e) && typeof e != "number")
4547
4568
  return !1;
4548
- var t = J(e);
4569
+ var t = K(e);
4549
4570
  return !isNaN(Number(t));
4550
4571
  }
4551
- function ko(e, t) {
4572
+ function Fo(e, t) {
4552
4573
  G(2, arguments);
4553
4574
  var r = he(t);
4554
- return No(e, -r);
4575
+ return Io(e, -r);
4555
4576
  }
4556
- var $o = 864e5;
4557
- function Fo(e) {
4577
+ var Go = 864e5;
4578
+ function jo(e) {
4558
4579
  G(1, arguments);
4559
- var t = J(e), r = t.getTime();
4580
+ var t = K(e), r = t.getTime();
4560
4581
  t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
4561
4582
  var n = t.getTime(), i = r - n;
4562
- return Math.floor(i / $o) + 1;
4583
+ return Math.floor(i / Go) + 1;
4563
4584
  }
4564
- function Xe(e) {
4585
+ function qe(e) {
4565
4586
  G(1, arguments);
4566
- var t = 1, r = J(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4587
+ var t = 1, r = K(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4567
4588
  return r.setUTCDate(r.getUTCDate() - i), r.setUTCHours(0, 0, 0, 0), r;
4568
4589
  }
4569
- function en(e) {
4590
+ function tn(e) {
4570
4591
  G(1, arguments);
4571
- var t = J(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4592
+ var t = K(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4572
4593
  n.setUTCFullYear(r + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
4573
- var i = Xe(n), o = /* @__PURE__ */ new Date(0);
4594
+ var i = qe(n), o = /* @__PURE__ */ new Date(0);
4574
4595
  o.setUTCFullYear(r, 0, 4), o.setUTCHours(0, 0, 0, 0);
4575
- var a = Xe(o);
4596
+ var a = qe(o);
4576
4597
  return t.getTime() >= i.getTime() ? r + 1 : t.getTime() >= a.getTime() ? r : r - 1;
4577
4598
  }
4578
- function Go(e) {
4599
+ function Wo(e) {
4579
4600
  G(1, arguments);
4580
- var t = en(e), r = /* @__PURE__ */ new Date(0);
4601
+ var t = tn(e), r = /* @__PURE__ */ new Date(0);
4581
4602
  r.setUTCFullYear(t, 0, 4), r.setUTCHours(0, 0, 0, 0);
4582
- var n = Xe(r);
4603
+ var n = qe(r);
4583
4604
  return n;
4584
4605
  }
4585
- var jo = 6048e5;
4586
- function Wo(e) {
4606
+ var Vo = 6048e5;
4607
+ function Yo(e) {
4587
4608
  G(1, arguments);
4588
- var t = J(e), r = Xe(t).getTime() - Go(t).getTime();
4589
- return Math.round(r / jo) + 1;
4609
+ var t = K(e), r = qe(t).getTime() - Wo(t).getTime();
4610
+ return Math.round(r / Vo) + 1;
4590
4611
  }
4591
4612
  function ze(e, t) {
4592
4613
  var r, n, i, o, a, s, l, u;
4593
4614
  G(1, arguments);
4594
- var h = et(), f = he((r = (n = (i = (o = t?.weekStartsOn) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && i !== void 0 ? i : h.weekStartsOn) !== null && n !== void 0 ? n : (l = h.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
4615
+ var h = rt(), f = he((r = (n = (i = (o = t?.weekStartsOn) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && i !== void 0 ? i : h.weekStartsOn) !== null && n !== void 0 ? n : (l = h.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
4595
4616
  if (!(f >= 0 && f <= 6))
4596
4617
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4597
- var c = J(e), d = c.getUTCDay(), p = (d < f ? 7 : 0) + d - f;
4618
+ var c = K(e), d = c.getUTCDay(), p = (d < f ? 7 : 0) + d - f;
4598
4619
  return c.setUTCDate(c.getUTCDate() - p), c.setUTCHours(0, 0, 0, 0), c;
4599
4620
  }
4600
- function tn(e, t) {
4621
+ function rn(e, t) {
4601
4622
  var r, n, i, o, a, s, l, u;
4602
4623
  G(1, arguments);
4603
- var h = J(e), f = h.getUTCFullYear(), c = et(), d = he((r = (n = (i = (o = t?.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = c.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
4624
+ var h = K(e), f = h.getUTCFullYear(), c = rt(), d = he((r = (n = (i = (o = t?.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = c.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
4604
4625
  if (!(d >= 1 && d <= 7))
4605
4626
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
4606
4627
  var p = /* @__PURE__ */ new Date(0);
4607
4628
  p.setUTCFullYear(f + 1, 0, d), p.setUTCHours(0, 0, 0, 0);
4608
- var v = ze(p, t), S = /* @__PURE__ */ new Date(0);
4609
- S.setUTCFullYear(f, 0, d), S.setUTCHours(0, 0, 0, 0);
4610
- var L = ze(S, t);
4629
+ var v = ze(p, t), B = /* @__PURE__ */ new Date(0);
4630
+ B.setUTCFullYear(f, 0, d), B.setUTCHours(0, 0, 0, 0);
4631
+ var L = ze(B, t);
4611
4632
  return h.getTime() >= v.getTime() ? f + 1 : h.getTime() >= L.getTime() ? f : f - 1;
4612
4633
  }
4613
- function Vo(e, t) {
4634
+ function Xo(e, t) {
4614
4635
  var r, n, i, o, a, s, l, u;
4615
4636
  G(1, arguments);
4616
- var h = et(), f = he((r = (n = (i = (o = t?.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : h.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = h.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1), c = tn(e, t), d = /* @__PURE__ */ new Date(0);
4637
+ var h = rt(), f = he((r = (n = (i = (o = t?.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (a = t.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && i !== void 0 ? i : h.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = h.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1), c = rn(e, t), d = /* @__PURE__ */ new Date(0);
4617
4638
  d.setUTCFullYear(c, 0, f), d.setUTCHours(0, 0, 0, 0);
4618
4639
  var p = ze(d, t);
4619
4640
  return p;
4620
4641
  }
4621
- var Yo = 6048e5;
4622
- function Xo(e, t) {
4642
+ var qo = 6048e5;
4643
+ function zo(e, t) {
4623
4644
  G(1, arguments);
4624
- var r = J(e), n = ze(r, t).getTime() - Vo(r, t).getTime();
4625
- return Math.round(n / Yo) + 1;
4645
+ var r = K(e), n = ze(r, t).getTime() - Xo(r, t).getTime();
4646
+ return Math.round(n / qo) + 1;
4626
4647
  }
4627
- function x(e, t) {
4648
+ function T(e, t) {
4628
4649
  for (var r = e < 0 ? "-" : "", n = Math.abs(e).toString(); n.length < t; )
4629
4650
  n = "0" + n;
4630
4651
  return r + n;
@@ -4633,16 +4654,16 @@ var ie = {
4633
4654
  // Year
4634
4655
  y: function(t, r) {
4635
4656
  var n = t.getUTCFullYear(), i = n > 0 ? n : 1 - n;
4636
- return x(r === "yy" ? i % 100 : i, r.length);
4657
+ return T(r === "yy" ? i % 100 : i, r.length);
4637
4658
  },
4638
4659
  // Month
4639
4660
  M: function(t, r) {
4640
4661
  var n = t.getUTCMonth();
4641
- return r === "M" ? String(n + 1) : x(n + 1, 2);
4662
+ return r === "M" ? String(n + 1) : T(n + 1, 2);
4642
4663
  },
4643
4664
  // Day of the month
4644
4665
  d: function(t, r) {
4645
- return x(t.getUTCDate(), r.length);
4666
+ return T(t.getUTCDate(), r.length);
4646
4667
  },
4647
4668
  // AM or PM
4648
4669
  a: function(t, r) {
@@ -4662,35 +4683,33 @@ var ie = {
4662
4683
  },
4663
4684
  // Hour [1-12]
4664
4685
  h: function(t, r) {
4665
- return x(t.getUTCHours() % 12 || 12, r.length);
4686
+ return T(t.getUTCHours() % 12 || 12, r.length);
4666
4687
  },
4667
4688
  // Hour [0-23]
4668
4689
  H: function(t, r) {
4669
- return x(t.getUTCHours(), r.length);
4690
+ return T(t.getUTCHours(), r.length);
4670
4691
  },
4671
4692
  // Minute
4672
4693
  m: function(t, r) {
4673
- return x(t.getUTCMinutes(), r.length);
4694
+ return T(t.getUTCMinutes(), r.length);
4674
4695
  },
4675
4696
  // Second
4676
4697
  s: function(t, r) {
4677
- return x(t.getUTCSeconds(), r.length);
4698
+ return T(t.getUTCSeconds(), r.length);
4678
4699
  },
4679
4700
  // Fraction of second
4680
4701
  S: function(t, r) {
4681
4702
  var n = r.length, i = t.getUTCMilliseconds(), o = Math.floor(i * Math.pow(10, n - 3));
4682
- return x(o, r.length);
4703
+ return T(o, r.length);
4683
4704
  }
4684
4705
  }, be = {
4685
- am: "am",
4686
- pm: "pm",
4687
4706
  midnight: "midnight",
4688
4707
  noon: "noon",
4689
4708
  morning: "morning",
4690
4709
  afternoon: "afternoon",
4691
4710
  evening: "evening",
4692
4711
  night: "night"
4693
- }, zo = {
4712
+ }, Qo = {
4694
4713
  // Era
4695
4714
  G: function(t, r, n) {
4696
4715
  var i = t.getUTCFullYear() > 0 ? 1 : 0;
@@ -4724,19 +4743,19 @@ var ie = {
4724
4743
  },
4725
4744
  // Local week-numbering year
4726
4745
  Y: function(t, r, n, i) {
4727
- var o = tn(t, i), a = o > 0 ? o : 1 - o;
4746
+ var o = rn(t, i), a = o > 0 ? o : 1 - o;
4728
4747
  if (r === "YY") {
4729
4748
  var s = a % 100;
4730
- return x(s, 2);
4749
+ return T(s, 2);
4731
4750
  }
4732
4751
  return r === "Yo" ? n.ordinalNumber(a, {
4733
4752
  unit: "year"
4734
- }) : x(a, r.length);
4753
+ }) : T(a, r.length);
4735
4754
  },
4736
4755
  // ISO week-numbering year
4737
4756
  R: function(t, r) {
4738
- var n = en(t);
4739
- return x(n, r.length);
4757
+ var n = tn(t);
4758
+ return T(n, r.length);
4740
4759
  },
4741
4760
  // Extended year. This is a single number designating the year of this calendar system.
4742
4761
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -4749,7 +4768,7 @@ var ie = {
4749
4768
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
4750
4769
  u: function(t, r) {
4751
4770
  var n = t.getUTCFullYear();
4752
- return x(n, r.length);
4771
+ return T(n, r.length);
4753
4772
  },
4754
4773
  // Quarter
4755
4774
  Q: function(t, r, n) {
@@ -4758,7 +4777,7 @@ var ie = {
4758
4777
  case "Q":
4759
4778
  return String(i);
4760
4779
  case "QQ":
4761
- return x(i, 2);
4780
+ return T(i, 2);
4762
4781
  case "Qo":
4763
4782
  return n.ordinalNumber(i, {
4764
4783
  unit: "quarter"
@@ -4788,7 +4807,7 @@ var ie = {
4788
4807
  case "q":
4789
4808
  return String(i);
4790
4809
  case "qq":
4791
- return x(i, 2);
4810
+ return T(i, 2);
4792
4811
  case "qo":
4793
4812
  return n.ordinalNumber(i, {
4794
4813
  unit: "quarter"
@@ -4847,7 +4866,7 @@ var ie = {
4847
4866
  case "L":
4848
4867
  return String(i + 1);
4849
4868
  case "LL":
4850
- return x(i + 1, 2);
4869
+ return T(i + 1, 2);
4851
4870
  case "Lo":
4852
4871
  return n.ordinalNumber(i + 1, {
4853
4872
  unit: "month"
@@ -4872,17 +4891,17 @@ var ie = {
4872
4891
  },
4873
4892
  // Local week of year
4874
4893
  w: function(t, r, n, i) {
4875
- var o = Xo(t, i);
4894
+ var o = zo(t, i);
4876
4895
  return r === "wo" ? n.ordinalNumber(o, {
4877
4896
  unit: "week"
4878
- }) : x(o, r.length);
4897
+ }) : T(o, r.length);
4879
4898
  },
4880
4899
  // ISO week of year
4881
4900
  I: function(t, r, n) {
4882
- var i = Wo(t);
4901
+ var i = Yo(t);
4883
4902
  return r === "Io" ? n.ordinalNumber(i, {
4884
4903
  unit: "week"
4885
- }) : x(i, r.length);
4904
+ }) : T(i, r.length);
4886
4905
  },
4887
4906
  // Day of the month
4888
4907
  d: function(t, r, n) {
@@ -4892,10 +4911,10 @@ var ie = {
4892
4911
  },
4893
4912
  // Day of year
4894
4913
  D: function(t, r, n) {
4895
- var i = Fo(t);
4914
+ var i = jo(t);
4896
4915
  return r === "Do" ? n.ordinalNumber(i, {
4897
4916
  unit: "dayOfYear"
4898
- }) : x(i, r.length);
4917
+ }) : T(i, r.length);
4899
4918
  },
4900
4919
  // Day of week
4901
4920
  E: function(t, r, n) {
@@ -4933,7 +4952,7 @@ var ie = {
4933
4952
  case "e":
4934
4953
  return String(a);
4935
4954
  case "ee":
4936
- return x(a, 2);
4955
+ return T(a, 2);
4937
4956
  case "eo":
4938
4957
  return n.ordinalNumber(a, {
4939
4958
  unit: "day"
@@ -4968,7 +4987,7 @@ var ie = {
4968
4987
  case "c":
4969
4988
  return String(a);
4970
4989
  case "cc":
4971
- return x(a, r.length);
4990
+ return T(a, r.length);
4972
4991
  case "co":
4973
4992
  return n.ordinalNumber(a, {
4974
4993
  unit: "day"
@@ -5003,7 +5022,7 @@ var ie = {
5003
5022
  case "i":
5004
5023
  return String(o);
5005
5024
  case "ii":
5006
- return x(o, r.length);
5025
+ return T(o, r.length);
5007
5026
  case "io":
5008
5027
  return n.ordinalNumber(o, {
5009
5028
  unit: "day"
@@ -5132,14 +5151,14 @@ var ie = {
5132
5151
  var i = t.getUTCHours() % 12;
5133
5152
  return r === "Ko" ? n.ordinalNumber(i, {
5134
5153
  unit: "hour"
5135
- }) : x(i, r.length);
5154
+ }) : T(i, r.length);
5136
5155
  },
5137
5156
  // Hour [1-24]
5138
5157
  k: function(t, r, n) {
5139
5158
  var i = t.getUTCHours();
5140
5159
  return i === 0 && (i = 24), r === "ko" ? n.ordinalNumber(i, {
5141
5160
  unit: "hour"
5142
- }) : x(i, r.length);
5161
+ }) : T(i, r.length);
5143
5162
  },
5144
5163
  // Minute
5145
5164
  m: function(t, r, n) {
@@ -5164,7 +5183,7 @@ var ie = {
5164
5183
  return "Z";
5165
5184
  switch (r) {
5166
5185
  case "X":
5167
- return lr(a);
5186
+ return cr(a);
5168
5187
  case "XXXX":
5169
5188
  case "XX":
5170
5189
  return le(a);
@@ -5179,7 +5198,7 @@ var ie = {
5179
5198
  var o = i._originalDate || t, a = o.getTimezoneOffset();
5180
5199
  switch (r) {
5181
5200
  case "x":
5182
- return lr(a);
5201
+ return cr(a);
5183
5202
  case "xxxx":
5184
5203
  case "xx":
5185
5204
  return le(a);
@@ -5196,7 +5215,7 @@ var ie = {
5196
5215
  case "O":
5197
5216
  case "OO":
5198
5217
  case "OOO":
5199
- return "GMT" + ur(a, ":");
5218
+ return "GMT" + hr(a, ":");
5200
5219
  case "OOOO":
5201
5220
  default:
5202
5221
  return "GMT" + le(a, ":");
@@ -5209,7 +5228,7 @@ var ie = {
5209
5228
  case "z":
5210
5229
  case "zz":
5211
5230
  case "zzz":
5212
- return "GMT" + ur(a, ":");
5231
+ return "GMT" + hr(a, ":");
5213
5232
  case "zzzz":
5214
5233
  default:
5215
5234
  return "GMT" + le(a, ":");
@@ -5218,33 +5237,33 @@ var ie = {
5218
5237
  // Seconds timestamp
5219
5238
  t: function(t, r, n, i) {
5220
5239
  var o = i._originalDate || t, a = Math.floor(o.getTime() / 1e3);
5221
- return x(a, r.length);
5240
+ return T(a, r.length);
5222
5241
  },
5223
5242
  // Milliseconds timestamp
5224
5243
  T: function(t, r, n, i) {
5225
5244
  var o = i._originalDate || t, a = o.getTime();
5226
- return x(a, r.length);
5245
+ return T(a, r.length);
5227
5246
  }
5228
5247
  };
5229
- function ur(e, t) {
5248
+ function hr(e, t) {
5230
5249
  var r = e > 0 ? "-" : "+", n = Math.abs(e), i = Math.floor(n / 60), o = n % 60;
5231
5250
  if (o === 0)
5232
5251
  return r + String(i);
5233
5252
  var a = t;
5234
- return r + String(i) + a + x(o, 2);
5253
+ return r + String(i) + a + T(o, 2);
5235
5254
  }
5236
- function lr(e, t) {
5255
+ function cr(e, t) {
5237
5256
  if (e % 60 === 0) {
5238
5257
  var r = e > 0 ? "-" : "+";
5239
- return r + x(Math.abs(e) / 60, 2);
5258
+ return r + T(Math.abs(e) / 60, 2);
5240
5259
  }
5241
5260
  return le(e, t);
5242
5261
  }
5243
5262
  function le(e, t) {
5244
- var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = x(Math.floor(i / 60), 2), a = x(i % 60, 2);
5263
+ var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = T(Math.floor(i / 60), 2), a = T(i % 60, 2);
5245
5264
  return n + o + r + a;
5246
5265
  }
5247
- var hr = function(t, r) {
5266
+ var fr = function(t, r) {
5248
5267
  switch (t) {
5249
5268
  case "P":
5250
5269
  return r.date({
@@ -5264,7 +5283,7 @@ var hr = function(t, r) {
5264
5283
  width: "full"
5265
5284
  });
5266
5285
  }
5267
- }, rn = function(t, r) {
5286
+ }, nn = function(t, r) {
5268
5287
  switch (t) {
5269
5288
  case "p":
5270
5289
  return r.time({
@@ -5284,10 +5303,10 @@ var hr = function(t, r) {
5284
5303
  width: "full"
5285
5304
  });
5286
5305
  }
5287
- }, qo = function(t, r) {
5306
+ }, Zo = function(t, r) {
5288
5307
  var n = t.match(/(P+)(p+)?/) || [], i = n[1], o = n[2];
5289
5308
  if (!o)
5290
- return hr(t, r);
5309
+ return fr(t, r);
5291
5310
  var a;
5292
5311
  switch (i) {
5293
5312
  case "P":
@@ -5312,18 +5331,18 @@ var hr = function(t, r) {
5312
5331
  });
5313
5332
  break;
5314
5333
  }
5315
- return a.replace("{{date}}", hr(i, r)).replace("{{time}}", rn(o, r));
5316
- }, Qo = {
5317
- p: rn,
5318
- P: qo
5319
- }, Zo = ["D", "DD"], Jo = ["YY", "YYYY"];
5320
- function Ko(e) {
5321
- return Zo.indexOf(e) !== -1;
5322
- }
5323
- function ea(e) {
5324
- return Jo.indexOf(e) !== -1;
5325
- }
5326
- function cr(e, t, r) {
5334
+ return a.replace("{{date}}", fr(i, r)).replace("{{time}}", nn(o, r));
5335
+ }, Jo = {
5336
+ p: nn,
5337
+ P: Zo
5338
+ }, Ko = ["D", "DD"], ea = ["YY", "YYYY"];
5339
+ function ta(e) {
5340
+ return Ko.indexOf(e) !== -1;
5341
+ }
5342
+ function ra(e) {
5343
+ return ea.indexOf(e) !== -1;
5344
+ }
5345
+ function dr(e, t, r) {
5327
5346
  if (e === "YYYY")
5328
5347
  throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t, "`) for formatting years to the input `").concat(r, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
5329
5348
  if (e === "YY")
@@ -5333,7 +5352,7 @@ function cr(e, t, r) {
5333
5352
  if (e === "DD")
5334
5353
  throw new RangeError("Use `dd` instead of `DD` (in `".concat(t, "`) for formatting days of the month to the input `").concat(r, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
5335
5354
  }
5336
- var ta = {
5355
+ var na = {
5337
5356
  lessThanXSeconds: {
5338
5357
  one: "less than a second",
5339
5358
  other: "less than {{count}} seconds"
@@ -5395,55 +5414,55 @@ var ta = {
5395
5414
  one: "almost 1 year",
5396
5415
  other: "almost {{count}} years"
5397
5416
  }
5398
- }, ra = function(t, r, n) {
5399
- var i, o = ta[t];
5417
+ }, ia = function(t, r, n) {
5418
+ var i, o = na[t];
5400
5419
  return typeof o == "string" ? i = o : r === 1 ? i = o.one : i = o.other.replace("{{count}}", r.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + i : i + " ago" : i;
5401
5420
  };
5402
- function dt(e) {
5421
+ function bt(e) {
5403
5422
  return function() {
5404
5423
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = t.width ? String(t.width) : e.defaultWidth, n = e.formats[r] || e.formats[e.defaultWidth];
5405
5424
  return n;
5406
5425
  };
5407
5426
  }
5408
- var na = {
5427
+ var oa = {
5409
5428
  full: "EEEE, MMMM do, y",
5410
5429
  long: "MMMM do, y",
5411
5430
  medium: "MMM d, y",
5412
5431
  short: "MM/dd/yyyy"
5413
- }, ia = {
5432
+ }, aa = {
5414
5433
  full: "h:mm:ss a zzzz",
5415
5434
  long: "h:mm:ss a z",
5416
5435
  medium: "h:mm:ss a",
5417
5436
  short: "h:mm a"
5418
- }, oa = {
5437
+ }, sa = {
5419
5438
  full: "{{date}} 'at' {{time}}",
5420
5439
  long: "{{date}} 'at' {{time}}",
5421
5440
  medium: "{{date}}, {{time}}",
5422
5441
  short: "{{date}}, {{time}}"
5423
- }, aa = {
5424
- date: dt({
5425
- formats: na,
5442
+ }, ua = {
5443
+ date: bt({
5444
+ formats: oa,
5426
5445
  defaultWidth: "full"
5427
5446
  }),
5428
- time: dt({
5429
- formats: ia,
5447
+ time: bt({
5448
+ formats: aa,
5430
5449
  defaultWidth: "full"
5431
5450
  }),
5432
- dateTime: dt({
5433
- formats: oa,
5451
+ dateTime: bt({
5452
+ formats: sa,
5434
5453
  defaultWidth: "full"
5435
5454
  })
5436
- }, sa = {
5455
+ }, la = {
5437
5456
  lastWeek: "'last' eeee 'at' p",
5438
5457
  yesterday: "'yesterday at' p",
5439
5458
  today: "'today at' p",
5440
5459
  tomorrow: "'tomorrow at' p",
5441
5460
  nextWeek: "eeee 'at' p",
5442
5461
  other: "P"
5443
- }, ua = function(t, r, n, i) {
5444
- return sa[t];
5462
+ }, ha = function(t, r, n, i) {
5463
+ return la[t];
5445
5464
  };
5446
- function Pe(e) {
5465
+ function Ce(e) {
5447
5466
  return function(t, r) {
5448
5467
  var n = r != null && r.context ? String(r.context) : "standalone", i;
5449
5468
  if (n === "formatting" && e.formattingValues) {
@@ -5457,24 +5476,24 @@ function Pe(e) {
5457
5476
  return i[u];
5458
5477
  };
5459
5478
  }
5460
- var la = {
5479
+ var ca = {
5461
5480
  narrow: ["B", "A"],
5462
5481
  abbreviated: ["BC", "AD"],
5463
5482
  wide: ["Before Christ", "Anno Domini"]
5464
- }, ha = {
5483
+ }, fa = {
5465
5484
  narrow: ["1", "2", "3", "4"],
5466
5485
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
5467
5486
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
5468
- }, ca = {
5487
+ }, da = {
5469
5488
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
5470
5489
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
5471
5490
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
5472
- }, fa = {
5491
+ }, ma = {
5473
5492
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
5474
5493
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
5475
5494
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
5476
5495
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
5477
- }, da = {
5496
+ }, ba = {
5478
5497
  narrow: {
5479
5498
  am: "a",
5480
5499
  pm: "p",
@@ -5505,7 +5524,7 @@ var la = {
5505
5524
  evening: "evening",
5506
5525
  night: "night"
5507
5526
  }
5508
- }, ma = {
5527
+ }, pa = {
5509
5528
  narrow: {
5510
5529
  am: "a",
5511
5530
  pm: "p",
@@ -5536,7 +5555,7 @@ var la = {
5536
5555
  evening: "in the evening",
5537
5556
  night: "at night"
5538
5557
  }
5539
- }, ba = function(t, r) {
5558
+ }, va = function(t, r) {
5540
5559
  var n = Number(t), i = n % 100;
5541
5560
  if (i > 20 || i < 10)
5542
5561
  switch (i % 10) {
@@ -5548,31 +5567,31 @@ var la = {
5548
5567
  return n + "rd";
5549
5568
  }
5550
5569
  return n + "th";
5551
- }, pa = {
5552
- ordinalNumber: ba,
5553
- era: Pe({
5554
- values: la,
5570
+ }, ga = {
5571
+ ordinalNumber: va,
5572
+ era: Ce({
5573
+ values: ca,
5555
5574
  defaultWidth: "wide"
5556
5575
  }),
5557
- quarter: Pe({
5558
- values: ha,
5576
+ quarter: Ce({
5577
+ values: fa,
5559
5578
  defaultWidth: "wide",
5560
5579
  argumentCallback: function(t) {
5561
5580
  return t - 1;
5562
5581
  }
5563
5582
  }),
5564
- month: Pe({
5565
- values: ca,
5583
+ month: Ce({
5584
+ values: da,
5566
5585
  defaultWidth: "wide"
5567
5586
  }),
5568
- day: Pe({
5569
- values: fa,
5587
+ day: Ce({
5588
+ values: ma,
5570
5589
  defaultWidth: "wide"
5571
5590
  }),
5572
- dayPeriod: Pe({
5573
- values: da,
5591
+ dayPeriod: Ce({
5592
+ values: ba,
5574
5593
  defaultWidth: "wide",
5575
- formattingValues: ma,
5594
+ formattingValues: pa,
5576
5595
  defaultFormattingWidth: "wide"
5577
5596
  })
5578
5597
  };
@@ -5581,9 +5600,9 @@ function Oe(e) {
5581
5600
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = r.width, i = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], o = t.match(i);
5582
5601
  if (!o)
5583
5602
  return null;
5584
- var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? ga(s, function(f) {
5603
+ var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? wa(s, function(f) {
5585
5604
  return f.test(a);
5586
- }) : va(s, function(f) {
5605
+ }) : ya(s, function(f) {
5587
5606
  return f.test(a);
5588
5607
  }), u;
5589
5608
  u = e.valueCallback ? e.valueCallback(l) : l, u = r.valueCallback ? r.valueCallback(u) : u;
@@ -5594,17 +5613,17 @@ function Oe(e) {
5594
5613
  };
5595
5614
  };
5596
5615
  }
5597
- function va(e, t) {
5616
+ function ya(e, t) {
5598
5617
  for (var r in e)
5599
5618
  if (e.hasOwnProperty(r) && t(e[r]))
5600
5619
  return r;
5601
5620
  }
5602
- function ga(e, t) {
5621
+ function wa(e, t) {
5603
5622
  for (var r = 0; r < e.length; r++)
5604
5623
  if (t(e[r]))
5605
5624
  return r;
5606
5625
  }
5607
- function ya(e) {
5626
+ function _a(e) {
5608
5627
  return function(t) {
5609
5628
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.match(e.matchPattern);
5610
5629
  if (!n)
@@ -5621,37 +5640,37 @@ function ya(e) {
5621
5640
  };
5622
5641
  };
5623
5642
  }
5624
- var wa = /^(\d+)(th|st|nd|rd)?/i, _a = /\d+/i, Ta = {
5643
+ var Ea = /^(\d+)(th|st|nd|rd)?/i, Ta = /\d+/i, xa = {
5625
5644
  narrow: /^(b|a)/i,
5626
5645
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
5627
5646
  wide: /^(before christ|before common era|anno domini|common era)/i
5628
- }, Ea = {
5647
+ }, Ba = {
5629
5648
  any: [/^b/i, /^(a|c)/i]
5630
- }, xa = {
5649
+ }, Sa = {
5631
5650
  narrow: /^[1234]/i,
5632
5651
  abbreviated: /^q[1234]/i,
5633
5652
  wide: /^[1234](th|st|nd|rd)? quarter/i
5634
- }, Ba = {
5653
+ }, Ca = {
5635
5654
  any: [/1/i, /2/i, /3/i, /4/i]
5636
- }, Sa = {
5655
+ }, Oa = {
5637
5656
  narrow: /^[jfmasond]/i,
5638
5657
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
5639
5658
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
5640
- }, Ca = {
5659
+ }, Pa = {
5641
5660
  narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
5642
5661
  any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
5643
- }, Pa = {
5662
+ }, Aa = {
5644
5663
  narrow: /^[smtwf]/i,
5645
5664
  short: /^(su|mo|tu|we|th|fr|sa)/i,
5646
5665
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
5647
5666
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
5648
- }, Oa = {
5667
+ }, Ha = {
5649
5668
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
5650
5669
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
5651
- }, Aa = {
5670
+ }, Ma = {
5652
5671
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
5653
5672
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
5654
- }, Ha = {
5673
+ }, Ra = {
5655
5674
  any: {
5656
5675
  am: /^a/i,
5657
5676
  pm: /^p/i,
@@ -5662,114 +5681,114 @@ var wa = /^(\d+)(th|st|nd|rd)?/i, _a = /\d+/i, Ta = {
5662
5681
  evening: /evening/i,
5663
5682
  night: /night/i
5664
5683
  }
5665
- }, Ma = {
5666
- ordinalNumber: ya({
5667
- matchPattern: wa,
5668
- parsePattern: _a,
5684
+ }, Na = {
5685
+ ordinalNumber: _a({
5686
+ matchPattern: Ea,
5687
+ parsePattern: Ta,
5669
5688
  valueCallback: function(t) {
5670
5689
  return parseInt(t, 10);
5671
5690
  }
5672
5691
  }),
5673
5692
  era: Oe({
5674
- matchPatterns: Ta,
5693
+ matchPatterns: xa,
5675
5694
  defaultMatchWidth: "wide",
5676
- parsePatterns: Ea,
5695
+ parsePatterns: Ba,
5677
5696
  defaultParseWidth: "any"
5678
5697
  }),
5679
5698
  quarter: Oe({
5680
- matchPatterns: xa,
5699
+ matchPatterns: Sa,
5681
5700
  defaultMatchWidth: "wide",
5682
- parsePatterns: Ba,
5701
+ parsePatterns: Ca,
5683
5702
  defaultParseWidth: "any",
5684
5703
  valueCallback: function(t) {
5685
5704
  return t + 1;
5686
5705
  }
5687
5706
  }),
5688
5707
  month: Oe({
5689
- matchPatterns: Sa,
5708
+ matchPatterns: Oa,
5690
5709
  defaultMatchWidth: "wide",
5691
- parsePatterns: Ca,
5710
+ parsePatterns: Pa,
5692
5711
  defaultParseWidth: "any"
5693
5712
  }),
5694
5713
  day: Oe({
5695
- matchPatterns: Pa,
5714
+ matchPatterns: Aa,
5696
5715
  defaultMatchWidth: "wide",
5697
- parsePatterns: Oa,
5716
+ parsePatterns: Ha,
5698
5717
  defaultParseWidth: "any"
5699
5718
  }),
5700
5719
  dayPeriod: Oe({
5701
- matchPatterns: Aa,
5720
+ matchPatterns: Ma,
5702
5721
  defaultMatchWidth: "any",
5703
- parsePatterns: Ha,
5722
+ parsePatterns: Ra,
5704
5723
  defaultParseWidth: "any"
5705
5724
  })
5706
- }, Ra = {
5725
+ }, Da = {
5707
5726
  code: "en-US",
5708
- formatDistance: ra,
5709
- formatLong: aa,
5710
- formatRelative: ua,
5711
- localize: pa,
5712
- match: Ma,
5727
+ formatDistance: ia,
5728
+ formatLong: ua,
5729
+ formatRelative: ha,
5730
+ localize: ga,
5731
+ match: Na,
5713
5732
  options: {
5714
5733
  weekStartsOn: 0,
5715
5734
  firstWeekContainsDate: 1
5716
5735
  }
5717
- }, Na = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Da = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ia = /^'([^]*?)'?$/, La = /''/g, Ua = /[a-zA-Z]/;
5718
- function fr(e, t, r) {
5719
- var n, i, o, a, s, l, u, h, f, c, d, p, v, S;
5736
+ }, Ia = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, La = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ua = /^'([^]*?)'?$/, ka = /''/g, $a = /[a-zA-Z]/;
5737
+ function mr(e, t, r) {
5738
+ var n, i, o, a, s, l, u, h, f, c, d, p, v, B;
5720
5739
  G(2, arguments);
5721
- var L = String(t), P = et(), E = (n = (i = void 0) !== null && i !== void 0 ? i : P.locale) !== null && n !== void 0 ? n : Ra, U = he((o = (a = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : P.firstWeekContainsDate) !== null && a !== void 0 ? a : (u = P.locale) === null || u === void 0 || (h = u.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
5740
+ var L = String(t), O = rt(), E = (n = (i = void 0) !== null && i !== void 0 ? i : O.locale) !== null && n !== void 0 ? n : Da, U = he((o = (a = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : O.firstWeekContainsDate) !== null && a !== void 0 ? a : (u = O.locale) === null || u === void 0 || (h = u.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
5722
5741
  if (!(U >= 1 && U <= 7))
5723
5742
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
5724
- var A = he((f = (c = (d = (p = void 0) !== null && p !== void 0 ? p : void 0) !== null && d !== void 0 ? d : P.weekStartsOn) !== null && c !== void 0 ? c : (v = P.locale) === null || v === void 0 || (S = v.options) === null || S === void 0 ? void 0 : S.weekStartsOn) !== null && f !== void 0 ? f : 0);
5743
+ var A = he((f = (c = (d = (p = void 0) !== null && p !== void 0 ? p : void 0) !== null && d !== void 0 ? d : O.weekStartsOn) !== null && c !== void 0 ? c : (v = O.locale) === null || v === void 0 || (B = v.options) === null || B === void 0 ? void 0 : B.weekStartsOn) !== null && f !== void 0 ? f : 0);
5725
5744
  if (!(A >= 0 && A <= 6))
5726
5745
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
5727
5746
  if (!E.localize)
5728
5747
  throw new RangeError("locale must contain localize property");
5729
5748
  if (!E.formatLong)
5730
5749
  throw new RangeError("locale must contain formatLong property");
5731
- var $ = J(e);
5732
- if (!Uo($))
5750
+ var $ = K(e);
5751
+ if (!$o($))
5733
5752
  throw new RangeError("Invalid time value");
5734
- var k = Io($), ne = ko($, k), se = {
5753
+ var k = Uo($), ne = Fo($, k), se = {
5735
5754
  firstWeekContainsDate: U,
5736
5755
  weekStartsOn: A,
5737
5756
  locale: E,
5738
5757
  _originalDate: $
5739
- }, K = L.match(Da).map(function(H) {
5758
+ }, ee = L.match(La).map(function(H) {
5740
5759
  var N = H[0];
5741
5760
  if (N === "p" || N === "P") {
5742
- var q = Qo[N];
5743
- return q(H, E.formatLong);
5761
+ var z = Jo[N];
5762
+ return z(H, E.formatLong);
5744
5763
  }
5745
5764
  return H;
5746
- }).join("").match(Na).map(function(H) {
5765
+ }).join("").match(Ia).map(function(H) {
5747
5766
  if (H === "''")
5748
5767
  return "'";
5749
5768
  var N = H[0];
5750
5769
  if (N === "'")
5751
- return ka(H);
5752
- var q = zo[N];
5753
- if (q)
5754
- return ea(H) && cr(H, t, String(e)), Ko(H) && cr(H, t, String(e)), q(ne, H, E.localize, se);
5755
- if (N.match(Ua))
5770
+ return Fa(H);
5771
+ var z = Qo[N];
5772
+ if (z)
5773
+ return ra(H) && dr(H, t, String(e)), ta(H) && dr(H, t, String(e)), z(ne, H, E.localize, se);
5774
+ if (N.match($a))
5756
5775
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
5757
5776
  return H;
5758
5777
  }).join("");
5759
- return K;
5778
+ return ee;
5760
5779
  }
5761
- function ka(e) {
5762
- var t = e.match(Ia);
5763
- return t ? t[1].replace(La, "'") : e;
5780
+ function Fa(e) {
5781
+ var t = e.match(Ua);
5782
+ return t ? t[1].replace(ka, "'") : e;
5764
5783
  }
5765
- function $a(e) {
5766
- an(e, "svelte-15xuos2", ".ButtonTermsAndConditions{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;margin:10px 0;cursor:pointer}.BonusImage{width:100%;max-height:200px;border-radius:var(--emw--border-radius-small, 5px)}.BonusCard{background-color:var(--emw--color-white, #FFFFFF);padding:10px 20px 20px;border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 5px 12px 5px var(--emw--color-gray-100, #E6E6E6)}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:var(--emw--font-size-small, 14px)}.BonusCardRow .BonusCardRowTitle{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-bold, 700)}.BonusCardRow .BonusCardRowTitle span{font-weight:var(--emw--font-weigh-normal, 400);color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText{color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-typography-cotrast, #444444)}.BonusCardRow .BonusCardRowText.StatusActive{color:var(--emw--color-valid, #48952a)}.BonusCardRow .BonusCardRowText.StatusExpired{color:var(--emw--color-error, #FD2839)}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:var(--emw--color-gray-50, #F9F8F8);border-radius:var(--emw--border-radius-small, 5px)}.DeleteBonus{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));cursor:pointer;border-radius:var(--emw--border-radius-small, 5px);width:50%;height:44px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCardRowRemovePadding{padding:0}");
5784
+ function Ga(e) {
5785
+ sn(e, "svelte-15xuos2", ".ButtonTermsAndConditions{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;margin:10px 0;cursor:pointer}.BonusImage{width:100%;max-height:200px;border-radius:var(--emw--border-radius-small, 5px)}.BonusCard{background-color:var(--emw--color-white, #FFFFFF);padding:10px 20px 20px;border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 5px 12px 5px var(--emw--color-gray-100, #E6E6E6)}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:var(--emw--font-size-small, 14px)}.BonusCardRow .BonusCardRowTitle{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-bold, 700)}.BonusCardRow .BonusCardRowTitle span{font-weight:var(--emw--font-weigh-normal, 400);color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText{color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-typography-cotrast, #444444)}.BonusCardRow .BonusCardRowText.StatusActive{color:var(--emw--color-valid, #48952a)}.BonusCardRow .BonusCardRowText.StatusExpired{color:var(--emw--color-error, #FD2839)}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:var(--emw--color-gray-50, #F9F8F8);border-radius:var(--emw--border-radius-small, 5px)}.DeleteBonus{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));cursor:pointer;border-radius:var(--emw--border-radius-small, 5px);width:50%;height:44px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCardRowRemovePadding{padding:0}");
5767
5786
  }
5768
- function dr(e) {
5787
+ function br(e) {
5769
5788
  let t, r, n;
5770
5789
  return {
5771
5790
  c() {
5772
- t = B("div"), r = B("img"), g(r, "class", "BonusImage"), Ut(r.src, n = /*termsandconditionsasset*/
5791
+ t = x("div"), r = x("img"), g(r, "class", "BonusImage"), $t(r.src, n = /*termsandconditionsasset*/
5773
5792
  e[9]) || g(r, "src", n), g(
5774
5793
  r,
5775
5794
  "alt",
@@ -5782,7 +5801,7 @@ function dr(e) {
5782
5801
  },
5783
5802
  p(i, o) {
5784
5803
  o & /*termsandconditionsasset*/
5785
- 512 && !Ut(r.src, n = /*termsandconditionsasset*/
5804
+ 512 && !$t(r.src, n = /*termsandconditionsasset*/
5786
5805
  i[9]) && g(r, "src", n), o & /*termsandconditionsdescription*/
5787
5806
  1024 && g(
5788
5807
  r,
@@ -5792,11 +5811,11 @@ function dr(e) {
5792
5811
  );
5793
5812
  },
5794
5813
  d(i) {
5795
- i && te(t);
5814
+ i && re(t);
5796
5815
  }
5797
5816
  };
5798
5817
  }
5799
- function mr(e) {
5818
+ function pr(e) {
5800
5819
  let t, r, n = (
5801
5820
  /*$_*/
5802
5821
  e[16]("bonusAmount") + ""
@@ -5809,7 +5828,7 @@ function mr(e) {
5809
5828
  ), h, f;
5810
5829
  return {
5811
5830
  c() {
5812
- t = B("div"), r = B("p"), i = R(n), o = D(), a = B("p"), s = R(
5831
+ t = x("div"), r = x("p"), i = R(n), o = D(), a = x("p"), s = R(
5813
5832
  /*bonusamount*/
5814
5833
  e[4]
5815
5834
  ), l = D(), h = R(u), g(r, "class", "BonusCardRowTitle"), g(a, "class", "BonusCardRowText"), g(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5836,11 +5855,11 @@ function mr(e) {
5836
5855
  c[16]("bonusAmount")}`) && g(t, "class", f);
5837
5856
  },
5838
5857
  d(c) {
5839
- c && te(t);
5858
+ c && re(t);
5840
5859
  }
5841
5860
  };
5842
5861
  }
5843
- function br(e) {
5862
+ function vr(e) {
5844
5863
  let t, r, n = (
5845
5864
  /*$_*/
5846
5865
  e[16]("wageringAmount") + ""
@@ -5853,7 +5872,7 @@ function br(e) {
5853
5872
  ), h, f;
5854
5873
  return {
5855
5874
  c() {
5856
- t = B("div"), r = B("p"), i = R(n), o = D(), a = B("p"), s = R(
5875
+ t = x("div"), r = x("p"), i = R(n), o = D(), a = x("p"), s = R(
5857
5876
  /*bonuswageringamount*/
5858
5877
  e[5]
5859
5878
  ), l = D(), h = R(u), g(r, "class", "BonusCardRowTitle"), g(a, "class", "BonusCardRowText"), g(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5882,11 +5901,11 @@ function br(e) {
5882
5901
  c[3]}`) && g(t, "class", f);
5883
5902
  },
5884
5903
  d(c) {
5885
- c && te(t);
5904
+ c && re(t);
5886
5905
  }
5887
5906
  };
5888
5907
  }
5889
- function pr(e) {
5908
+ function gr(e) {
5890
5909
  let t, r, n = (
5891
5910
  /*$_*/
5892
5911
  e[16]("remainingBonus") + ""
@@ -5899,7 +5918,7 @@ function pr(e) {
5899
5918
  ), h, f;
5900
5919
  return {
5901
5920
  c() {
5902
- t = B("div"), r = B("p"), i = R(n), o = D(), a = B("p"), s = R(
5921
+ t = x("div"), r = x("p"), i = R(n), o = D(), a = x("p"), s = R(
5903
5922
  /*bonusremainingamount*/
5904
5923
  e[6]
5905
5924
  ), l = D(), h = R(u), g(r, "class", "BonusCardRowTitle"), g(a, "class", "BonusCardRowText"), g(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5926,18 +5945,18 @@ function pr(e) {
5926
5945
  c[16]("remainingBonus")}`) && g(t, "class", f);
5927
5946
  },
5928
5947
  d(c) {
5929
- c && te(t);
5948
+ c && re(t);
5930
5949
  }
5931
5950
  };
5932
5951
  }
5933
- function vr(e) {
5952
+ function yr(e) {
5934
5953
  let t, r, n = (
5935
5954
  /*$_*/
5936
5955
  e[16]("termsConditionsLink") + ""
5937
5956
  ), i, o;
5938
5957
  return {
5939
5958
  c() {
5940
- t = B("div"), r = B("a"), i = R(n), g(r, "class", "ButtonTermsAndConditions"), g(
5959
+ t = x("div"), r = x("a"), i = R(n), g(r, "class", "ButtonTermsAndConditions"), g(
5941
5960
  r,
5942
5961
  "href",
5943
5962
  /*termsandconditionsurl*/
@@ -5962,22 +5981,22 @@ function vr(e) {
5962
5981
  a[16]("termsConditionsLink")}`) && g(t, "class", o);
5963
5982
  },
5964
5983
  d(a) {
5965
- a && te(t);
5984
+ a && re(t);
5966
5985
  }
5967
5986
  };
5968
5987
  }
5969
- function gr(e) {
5988
+ function wr(e) {
5970
5989
  let t, r = (
5971
5990
  /*$_*/
5972
5991
  e[16]("forfeitBonusButton") + ""
5973
5992
  ), n, i, o;
5974
5993
  return {
5975
5994
  c() {
5976
- t = B("button"), n = R(r), g(t, "class", "DeleteBonus " + /*isMobile*/
5995
+ t = x("button"), n = R(r), g(t, "class", "DeleteBonus " + /*isMobile*/
5977
5996
  (e[17] ? "DeleteBonusMobile" : ""));
5978
5997
  },
5979
5998
  m(a, s) {
5980
- ae(a, t, s), m(t, n), i || (o = ln(
5999
+ ae(a, t, s), m(t, n), i || (o = hn(
5981
6000
  t,
5982
6001
  "click",
5983
6002
  /*deleteBonus*/
@@ -5990,15 +6009,15 @@ function gr(e) {
5990
6009
  a[16]("forfeitBonusButton") + "") && I(n, r);
5991
6010
  },
5992
6011
  d(a) {
5993
- a && te(t), i = !1, o();
6012
+ a && re(t), i = !1, o();
5994
6013
  }
5995
6014
  };
5996
6015
  }
5997
- function Fa(e) {
6016
+ function ja(e) {
5998
6017
  let t, r, n, i, o = (
5999
6018
  /*$_*/
6000
6019
  e[16]("date") + ""
6001
- ), a, s, l, u = fr(new Date(
6020
+ ), a, s, l, u = mr(new Date(
6002
6021
  /*bonusdate*/
6003
6022
  e[0]
6004
6023
  ), `${/*dateformat*/
@@ -6009,57 +6028,57 @@ function Fa(e) {
6009
6028
  /*$_*/
6010
6029
  e[16](`${/*bonusstatus*/
6011
6030
  e[1]}`) + ""
6012
- ), p, v, S, L, P, E, U, A = (
6031
+ ), p, v, B, L, O, E, U, A = (
6013
6032
  /*$_*/
6014
6033
  e[16]("bonusName") + ""
6015
- ), $, k, ne, se, K, H, N, q, fe = (
6034
+ ), $, k, ne, se, ee, H, N, z, fe = (
6016
6035
  /*$_*/
6017
6036
  e[16]("bonusType") + ""
6018
- ), Se, b, Q, ue = (
6037
+ ), Be, b, Q, ue = (
6019
6038
  /*$_*/
6020
6039
  e[16](`${/*bonustype*/
6021
6040
  e[3]}`) + ""
6022
- ), tt, Ie, Dt, rt, nt, it, It, j = (
6041
+ ), nt, Ie, Lt, it, ot, at, Ut, j = (
6023
6042
  /*showBonusImage*/
6024
- e[15] === !0 && dr(e)
6043
+ e[15] === !0 && br(e)
6025
6044
  ), W = (
6026
6045
  /*bonusamount*/
6027
- e[4] && mr(e)
6046
+ e[4] && pr(e)
6028
6047
  ), V = (
6029
6048
  /*bonuswageringamount*/
6030
- e[5] && br(e)
6049
+ e[5] && vr(e)
6031
6050
  ), Y = (
6032
6051
  /*bonusremainingamount*/
6033
- e[6] && pr(e)
6052
+ e[6] && gr(e)
6034
6053
  ), X = (
6035
6054
  /*showtermsandconditions*/
6036
- e[14] && vr(e)
6037
- ), z = (
6055
+ e[14] && yr(e)
6056
+ ), q = (
6038
6057
  /*bonusstatus*/
6039
- e[1] === "active" && gr(e)
6058
+ e[1] === "active" && wr(e)
6040
6059
  );
6041
6060
  return {
6042
6061
  c() {
6043
- t = B("div"), r = B("div"), n = B("div"), i = B("p"), a = R(o), s = D(), l = B("span"), h = R(u), f = D(), c = B("p"), p = R(d), L = D(), j && j.c(), P = D(), E = B("div"), U = B("p"), $ = R(A), k = D(), ne = B("p"), se = R(
6062
+ t = x("div"), r = x("div"), n = x("div"), i = x("p"), a = R(o), s = D(), l = x("span"), h = R(u), f = D(), c = x("p"), p = R(d), L = D(), j && j.c(), O = D(), E = x("div"), U = x("p"), $ = R(A), k = D(), ne = x("p"), se = R(
6044
6063
  /*bonusname*/
6045
6064
  e[2]
6046
- ), H = D(), N = B("div"), q = B("p"), Se = R(fe), b = D(), Q = B("p"), tt = R(ue), Dt = D(), W && W.c(), rt = D(), V && V.c(), nt = D(), Y && Y.c(), it = D(), X && X.c(), It = D(), z && z.c(), g(i, "class", "BonusCardRowTitle"), g(c, "class", v = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6065
+ ), H = D(), N = x("div"), z = x("p"), Be = R(fe), b = D(), Q = x("p"), nt = R(ue), Lt = D(), W && W.c(), it = D(), V && V.c(), ot = D(), Y && Y.c(), at = D(), X && X.c(), Ut = D(), q && q.c(), g(i, "class", "BonusCardRowTitle"), g(c, "class", v = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6047
6066
  (e[1] === "active" || /*bonusstatus*/
6048
6067
  e[1] === "released" ? "StatusActive" : "") + " " + /*bonusstatus*/
6049
6068
  (e[1] === "expired" ? "StatusExpired" : "") + " " + /*bonusstatus*/
6050
- (e[1] === "forfeited" ? "StatusForfeited" : "")), g(n, "class", S = `BonusCardRow Date ${/*$_*/
6051
- e[16]("date")}`), g(U, "class", "BonusCardRowTitle"), g(ne, "class", "BonusCardRowText"), g(E, "class", K = `BonusCardRow ${/*$_*/
6052
- e[16]("bonusName")}`), g(q, "class", "BonusCardRowTitle"), g(Q, "class", "BonusCardRowText TextCapitalize"), g(N, "class", Ie = `BonusCardRow ${/*$_*/
6069
+ (e[1] === "forfeited" ? "StatusForfeited" : "")), g(n, "class", B = `BonusCardRow Date ${/*$_*/
6070
+ e[16]("date")}`), g(U, "class", "BonusCardRowTitle"), g(ne, "class", "BonusCardRowText"), g(E, "class", ee = `BonusCardRow ${/*$_*/
6071
+ e[16]("bonusName")}`), g(z, "class", "BonusCardRowTitle"), g(Q, "class", "BonusCardRowText TextCapitalize"), g(N, "class", Ie = `BonusCardRow ${/*$_*/
6053
6072
  e[16]("bonusType")}`), g(r, "class", "BonusCardInfo"), g(t, "class", "BonusCard");
6054
6073
  },
6055
6074
  m(y, M) {
6056
- ae(y, t, M), m(t, r), m(r, n), m(n, i), m(i, a), m(i, s), m(i, l), m(l, h), m(n, f), m(n, c), m(c, p), m(r, L), j && j.m(r, null), m(r, P), m(r, E), m(E, U), m(U, $), m(E, k), m(E, ne), m(ne, se), m(r, H), m(r, N), m(N, q), m(q, Se), m(N, b), m(N, Q), m(Q, tt), m(r, Dt), W && W.m(r, null), m(r, rt), V && V.m(r, null), m(r, nt), Y && Y.m(r, null), m(r, it), X && X.m(r, null), m(t, It), z && z.m(t, null), e[25](t);
6075
+ ae(y, t, M), m(t, r), m(r, n), m(n, i), m(i, a), m(i, s), m(i, l), m(l, h), m(n, f), m(n, c), m(c, p), m(r, L), j && j.m(r, null), m(r, O), m(r, E), m(E, U), m(U, $), m(E, k), m(E, ne), m(ne, se), m(r, H), m(r, N), m(N, z), m(z, Be), m(N, b), m(N, Q), m(Q, nt), m(r, Lt), W && W.m(r, null), m(r, it), V && V.m(r, null), m(r, ot), Y && Y.m(r, null), m(r, at), X && X.m(r, null), m(t, Ut), q && q.m(t, null), e[25](t);
6057
6076
  },
6058
6077
  p(y, [M]) {
6059
6078
  M & /*$_*/
6060
6079
  65536 && o !== (o = /*$_*/
6061
6080
  y[16]("date") + "") && I(a, o), M & /*bonusdate, dateformat*/
6062
- 4097 && u !== (u = fr(new Date(
6081
+ 4097 && u !== (u = mr(new Date(
6063
6082
  /*bonusdate*/
6064
6083
  y[0]
6065
6084
  ), `${/*dateformat*/
@@ -6075,9 +6094,9 @@ function Fa(e) {
6075
6094
  y[1] === "released" ? "StatusActive" : "") + " " + /*bonusstatus*/
6076
6095
  (y[1] === "expired" ? "StatusExpired" : "") + " " + /*bonusstatus*/
6077
6096
  (y[1] === "forfeited" ? "StatusForfeited" : "")) && g(c, "class", v), M & /*$_*/
6078
- 65536 && S !== (S = `BonusCardRow Date ${/*$_*/
6079
- y[16]("date")}`) && g(n, "class", S), /*showBonusImage*/
6080
- y[15] === !0 ? j ? j.p(y, M) : (j = dr(y), j.c(), j.m(r, P)) : j && (j.d(1), j = null), M & /*$_*/
6097
+ 65536 && B !== (B = `BonusCardRow Date ${/*$_*/
6098
+ y[16]("date")}`) && g(n, "class", B), /*showBonusImage*/
6099
+ y[15] === !0 ? j ? j.p(y, M) : (j = br(y), j.c(), j.m(r, O)) : j && (j.d(1), j = null), M & /*$_*/
6081
6100
  65536 && A !== (A = /*$_*/
6082
6101
  y[16]("bonusName") + "") && I($, A), M & /*bonusname*/
6083
6102
  4 && I(
@@ -6085,67 +6104,67 @@ function Fa(e) {
6085
6104
  /*bonusname*/
6086
6105
  y[2]
6087
6106
  ), M & /*$_*/
6088
- 65536 && K !== (K = `BonusCardRow ${/*$_*/
6089
- y[16]("bonusName")}`) && g(E, "class", K), M & /*$_*/
6107
+ 65536 && ee !== (ee = `BonusCardRow ${/*$_*/
6108
+ y[16]("bonusName")}`) && g(E, "class", ee), M & /*$_*/
6090
6109
  65536 && fe !== (fe = /*$_*/
6091
- y[16]("bonusType") + "") && I(Se, fe), M & /*$_, bonustype*/
6110
+ y[16]("bonusType") + "") && I(Be, fe), M & /*$_, bonustype*/
6092
6111
  65544 && ue !== (ue = /*$_*/
6093
6112
  y[16](`${/*bonustype*/
6094
- y[3]}`) + "") && I(tt, ue), M & /*$_*/
6113
+ y[3]}`) + "") && I(nt, ue), M & /*$_*/
6095
6114
  65536 && Ie !== (Ie = `BonusCardRow ${/*$_*/
6096
6115
  y[16]("bonusType")}`) && g(N, "class", Ie), /*bonusamount*/
6097
- y[4] ? W ? W.p(y, M) : (W = mr(y), W.c(), W.m(r, rt)) : W && (W.d(1), W = null), /*bonuswageringamount*/
6098
- y[5] ? V ? V.p(y, M) : (V = br(y), V.c(), V.m(r, nt)) : V && (V.d(1), V = null), /*bonusremainingamount*/
6099
- y[6] ? Y ? Y.p(y, M) : (Y = pr(y), Y.c(), Y.m(r, it)) : Y && (Y.d(1), Y = null), /*showtermsandconditions*/
6100
- y[14] ? X ? X.p(y, M) : (X = vr(y), X.c(), X.m(r, null)) : X && (X.d(1), X = null), /*bonusstatus*/
6101
- y[1] === "active" ? z ? z.p(y, M) : (z = gr(y), z.c(), z.m(t, null)) : z && (z.d(1), z = null);
6116
+ y[4] ? W ? W.p(y, M) : (W = pr(y), W.c(), W.m(r, it)) : W && (W.d(1), W = null), /*bonuswageringamount*/
6117
+ y[5] ? V ? V.p(y, M) : (V = vr(y), V.c(), V.m(r, ot)) : V && (V.d(1), V = null), /*bonusremainingamount*/
6118
+ y[6] ? Y ? Y.p(y, M) : (Y = gr(y), Y.c(), Y.m(r, at)) : Y && (Y.d(1), Y = null), /*showtermsandconditions*/
6119
+ y[14] ? X ? X.p(y, M) : (X = yr(y), X.c(), X.m(r, null)) : X && (X.d(1), X = null), /*bonusstatus*/
6120
+ y[1] === "active" ? q ? q.p(y, M) : (q = wr(y), q.c(), q.m(t, null)) : q && (q.d(1), q = null);
6102
6121
  },
6103
6122
  i: Z,
6104
6123
  o: Z,
6105
6124
  d(y) {
6106
- y && te(t), j && j.d(), W && W.d(), V && V.d(), Y && Y.d(), X && X.d(), z && z.d(), e[25](null);
6125
+ y && re(t), j && j.d(), W && W.d(), V && V.d(), Y && Y.d(), X && X.d(), q && q.d(), e[25](null);
6107
6126
  }
6108
6127
  };
6109
6128
  }
6110
- function Ga(e, t, r) {
6129
+ function Wa(e, t, r) {
6111
6130
  let n;
6112
- on(e, Po, (b) => r(16, n = b));
6113
- let { bonuswalletid: i = "" } = t, { bonusdate: o = "" } = t, { bonusstatus: a = "" } = t, { bonusname: s = "" } = t, { bonustype: l = "" } = t, { bonusamount: u = "" } = t, { bonuswageringamount: h = "" } = t, { bonusremainingamount: f = "" } = t, { bonuscurrency: c = "" } = t, { lang: d = "en" } = t, { clientstyling: p = "" } = t, { clientstylingurl: v = "" } = t, { mbsource: S } = t, { translationurl: L = "" } = t, { termsandconditionsurl: P = "" } = t, { termsandconditionsasset: E = "" } = t, { termsandconditionsdescription: U = "" } = t, { currencylocale: A = "" } = t, { dateformat: $ = "" } = t, k, ne = window.navigator.userAgent, se = Oo(ne) !== "PC", K = !1, H = !0;
6131
+ an(e, Ao, (b) => r(16, n = b));
6132
+ let { bonuswalletid: i = "" } = t, { bonusdate: o = "" } = t, { bonusstatus: a = "" } = t, { bonusname: s = "" } = t, { bonustype: l = "" } = t, { bonusamount: u = "" } = t, { bonuswageringamount: h = "" } = t, { bonusremainingamount: f = "" } = t, { bonuscurrency: c = "" } = t, { lang: d = "en" } = t, { clientstyling: p = "" } = t, { clientstylingurl: v = "" } = t, { mbsource: B } = t, { translationurl: L = "" } = t, { termsandconditionsurl: O = "" } = t, { termsandconditionsasset: E = "" } = t, { termsandconditionsdescription: U = "" } = t, { currencylocale: A = "" } = t, { dateformat: $ = "" } = t, k, ne = window.navigator.userAgent, se = Ho(ne) !== "PC", ee = !1, H = !0;
6114
6133
  const N = () => {
6115
6134
  fetch(L).then((Q) => Q.json()).then((Q) => {
6116
6135
  Object.keys(Q).forEach((ue) => {
6117
- ar(ue, Q[ue]);
6136
+ ur(ue, Q[ue]);
6118
6137
  });
6119
6138
  }).catch((Q) => {
6120
6139
  console.log(Q);
6121
6140
  });
6122
6141
  };
6123
- Object.keys(sr).forEach((b) => {
6124
- ar(b, sr[b]);
6142
+ Object.keys(lr).forEach((b) => {
6143
+ ur(b, lr[b]);
6125
6144
  });
6126
- const q = () => {
6145
+ const z = () => {
6127
6146
  window.postMessage({ type: "DisableScroll" }, window.location.href), window.postMessage({ type: "DeleteActiveBonus", bonuswalletid: i }, window.location.href);
6128
6147
  }, fe = () => {
6129
- Ao(d);
6148
+ Mo(d);
6130
6149
  };
6131
- dn(() => () => {
6150
+ mn(() => () => {
6132
6151
  });
6133
- function Se(b) {
6134
- mt[b ? "unshift" : "push"](() => {
6152
+ function Be(b) {
6153
+ pt[b ? "unshift" : "push"](() => {
6135
6154
  k = b, r(13, k);
6136
6155
  });
6137
6156
  }
6138
6157
  return e.$$set = (b) => {
6139
- "bonuswalletid" in b && r(19, i = b.bonuswalletid), "bonusdate" in b && r(0, o = b.bonusdate), "bonusstatus" in b && r(1, a = b.bonusstatus), "bonusname" in b && r(2, s = b.bonusname), "bonustype" in b && r(3, l = b.bonustype), "bonusamount" in b && r(4, u = b.bonusamount), "bonuswageringamount" in b && r(5, h = b.bonuswageringamount), "bonusremainingamount" in b && r(6, f = b.bonusremainingamount), "bonuscurrency" in b && r(7, c = b.bonuscurrency), "lang" in b && r(20, d = b.lang), "clientstyling" in b && r(21, p = b.clientstyling), "clientstylingurl" in b && r(22, v = b.clientstylingurl), "mbsource" in b && r(23, S = b.mbsource), "translationurl" in b && r(24, L = b.translationurl), "termsandconditionsurl" in b && r(8, P = b.termsandconditionsurl), "termsandconditionsasset" in b && r(9, E = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(10, U = b.termsandconditionsdescription), "currencylocale" in b && r(11, A = b.currencylocale), "dateformat" in b && r(12, $ = b.dateformat);
6158
+ "bonuswalletid" in b && r(19, i = b.bonuswalletid), "bonusdate" in b && r(0, o = b.bonusdate), "bonusstatus" in b && r(1, a = b.bonusstatus), "bonusname" in b && r(2, s = b.bonusname), "bonustype" in b && r(3, l = b.bonustype), "bonusamount" in b && r(4, u = b.bonusamount), "bonuswageringamount" in b && r(5, h = b.bonuswageringamount), "bonusremainingamount" in b && r(6, f = b.bonusremainingamount), "bonuscurrency" in b && r(7, c = b.bonuscurrency), "lang" in b && r(20, d = b.lang), "clientstyling" in b && r(21, p = b.clientstyling), "clientstylingurl" in b && r(22, v = b.clientstylingurl), "mbsource" in b && r(23, B = b.mbsource), "translationurl" in b && r(24, L = b.translationurl), "termsandconditionsurl" in b && r(8, O = b.termsandconditionsurl), "termsandconditionsasset" in b && r(9, E = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(10, U = b.termsandconditionsdescription), "currencylocale" in b && r(11, A = b.currencylocale), "dateformat" in b && r(12, $ = b.dateformat);
6140
6159
  }, e.$$.update = () => {
6141
6160
  e.$$.dirty & /*lang*/
6142
6161
  1048576 && d && fe(), e.$$.dirty & /*clientstyling, customStylingContainer*/
6143
- 2105344 && p && k && Ho(k, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
6144
- 4202496 && v && k && Mo(k, v), e.$$.dirty & /*mbsource, customStylingContainer*/
6145
- 8396800 && S && k && Ro(k, `${S}.Style`), e.$$.dirty & /*translationurl*/
6162
+ 2105344 && p && k && Ro(k, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
6163
+ 4202496 && v && k && No(k, v), e.$$.dirty & /*mbsource, customStylingContainer*/
6164
+ 8396800 && B && k && Do(k, `${B}.Style`), e.$$.dirty & /*translationurl*/
6146
6165
  16777216 && L && N(), e.$$.dirty & /*termsandconditionsasset*/
6147
6166
  512 && r(15, H = !(E === null || E === "")), e.$$.dirty & /*termsandconditionsurl*/
6148
- 256 && r(14, K = P !== null && P !== "");
6167
+ 256 && r(14, ee = O !== null && O !== "");
6149
6168
  }, [
6150
6169
  o,
6151
6170
  a,
@@ -6155,34 +6174,34 @@ function Ga(e, t, r) {
6155
6174
  h,
6156
6175
  f,
6157
6176
  c,
6158
- P,
6177
+ O,
6159
6178
  E,
6160
6179
  U,
6161
6180
  A,
6162
6181
  $,
6163
6182
  k,
6164
- K,
6183
+ ee,
6165
6184
  H,
6166
6185
  n,
6167
6186
  se,
6168
- q,
6187
+ z,
6169
6188
  i,
6170
6189
  d,
6171
6190
  p,
6172
6191
  v,
6173
- S,
6192
+ B,
6174
6193
  L,
6175
- Se
6194
+ Be
6176
6195
  ];
6177
6196
  }
6178
- class ja extends Bn {
6197
+ class Va extends Sn {
6179
6198
  constructor(t) {
6180
- super(), En(
6199
+ super(), xn(
6181
6200
  this,
6182
6201
  t,
6183
- Ga,
6184
- Fa,
6185
- wr,
6202
+ Wa,
6203
+ ja,
6204
+ Er,
6186
6205
  {
6187
6206
  bonuswalletid: 19,
6188
6207
  bonusdate: 0,
@@ -6204,125 +6223,125 @@ class ja extends Bn {
6204
6223
  currencylocale: 11,
6205
6224
  dateformat: 12
6206
6225
  },
6207
- $a
6226
+ Ga
6208
6227
  );
6209
6228
  }
6210
6229
  get bonuswalletid() {
6211
6230
  return this.$$.ctx[19];
6212
6231
  }
6213
6232
  set bonuswalletid(t) {
6214
- this.$$set({ bonuswalletid: t }), O();
6233
+ this.$$set({ bonuswalletid: t }), P();
6215
6234
  }
6216
6235
  get bonusdate() {
6217
6236
  return this.$$.ctx[0];
6218
6237
  }
6219
6238
  set bonusdate(t) {
6220
- this.$$set({ bonusdate: t }), O();
6239
+ this.$$set({ bonusdate: t }), P();
6221
6240
  }
6222
6241
  get bonusstatus() {
6223
6242
  return this.$$.ctx[1];
6224
6243
  }
6225
6244
  set bonusstatus(t) {
6226
- this.$$set({ bonusstatus: t }), O();
6245
+ this.$$set({ bonusstatus: t }), P();
6227
6246
  }
6228
6247
  get bonusname() {
6229
6248
  return this.$$.ctx[2];
6230
6249
  }
6231
6250
  set bonusname(t) {
6232
- this.$$set({ bonusname: t }), O();
6251
+ this.$$set({ bonusname: t }), P();
6233
6252
  }
6234
6253
  get bonustype() {
6235
6254
  return this.$$.ctx[3];
6236
6255
  }
6237
6256
  set bonustype(t) {
6238
- this.$$set({ bonustype: t }), O();
6257
+ this.$$set({ bonustype: t }), P();
6239
6258
  }
6240
6259
  get bonusamount() {
6241
6260
  return this.$$.ctx[4];
6242
6261
  }
6243
6262
  set bonusamount(t) {
6244
- this.$$set({ bonusamount: t }), O();
6263
+ this.$$set({ bonusamount: t }), P();
6245
6264
  }
6246
6265
  get bonuswageringamount() {
6247
6266
  return this.$$.ctx[5];
6248
6267
  }
6249
6268
  set bonuswageringamount(t) {
6250
- this.$$set({ bonuswageringamount: t }), O();
6269
+ this.$$set({ bonuswageringamount: t }), P();
6251
6270
  }
6252
6271
  get bonusremainingamount() {
6253
6272
  return this.$$.ctx[6];
6254
6273
  }
6255
6274
  set bonusremainingamount(t) {
6256
- this.$$set({ bonusremainingamount: t }), O();
6275
+ this.$$set({ bonusremainingamount: t }), P();
6257
6276
  }
6258
6277
  get bonuscurrency() {
6259
6278
  return this.$$.ctx[7];
6260
6279
  }
6261
6280
  set bonuscurrency(t) {
6262
- this.$$set({ bonuscurrency: t }), O();
6281
+ this.$$set({ bonuscurrency: t }), P();
6263
6282
  }
6264
6283
  get lang() {
6265
6284
  return this.$$.ctx[20];
6266
6285
  }
6267
6286
  set lang(t) {
6268
- this.$$set({ lang: t }), O();
6287
+ this.$$set({ lang: t }), P();
6269
6288
  }
6270
6289
  get clientstyling() {
6271
6290
  return this.$$.ctx[21];
6272
6291
  }
6273
6292
  set clientstyling(t) {
6274
- this.$$set({ clientstyling: t }), O();
6293
+ this.$$set({ clientstyling: t }), P();
6275
6294
  }
6276
6295
  get clientstylingurl() {
6277
6296
  return this.$$.ctx[22];
6278
6297
  }
6279
6298
  set clientstylingurl(t) {
6280
- this.$$set({ clientstylingurl: t }), O();
6299
+ this.$$set({ clientstylingurl: t }), P();
6281
6300
  }
6282
6301
  get mbsource() {
6283
6302
  return this.$$.ctx[23];
6284
6303
  }
6285
6304
  set mbsource(t) {
6286
- this.$$set({ mbsource: t }), O();
6305
+ this.$$set({ mbsource: t }), P();
6287
6306
  }
6288
6307
  get translationurl() {
6289
6308
  return this.$$.ctx[24];
6290
6309
  }
6291
6310
  set translationurl(t) {
6292
- this.$$set({ translationurl: t }), O();
6311
+ this.$$set({ translationurl: t }), P();
6293
6312
  }
6294
6313
  get termsandconditionsurl() {
6295
6314
  return this.$$.ctx[8];
6296
6315
  }
6297
6316
  set termsandconditionsurl(t) {
6298
- this.$$set({ termsandconditionsurl: t }), O();
6317
+ this.$$set({ termsandconditionsurl: t }), P();
6299
6318
  }
6300
6319
  get termsandconditionsasset() {
6301
6320
  return this.$$.ctx[9];
6302
6321
  }
6303
6322
  set termsandconditionsasset(t) {
6304
- this.$$set({ termsandconditionsasset: t }), O();
6323
+ this.$$set({ termsandconditionsasset: t }), P();
6305
6324
  }
6306
6325
  get termsandconditionsdescription() {
6307
6326
  return this.$$.ctx[10];
6308
6327
  }
6309
6328
  set termsandconditionsdescription(t) {
6310
- this.$$set({ termsandconditionsdescription: t }), O();
6329
+ this.$$set({ termsandconditionsdescription: t }), P();
6311
6330
  }
6312
6331
  get currencylocale() {
6313
6332
  return this.$$.ctx[11];
6314
6333
  }
6315
6334
  set currencylocale(t) {
6316
- this.$$set({ currencylocale: t }), O();
6335
+ this.$$set({ currencylocale: t }), P();
6317
6336
  }
6318
6337
  get dateformat() {
6319
6338
  return this.$$.ctx[12];
6320
6339
  }
6321
6340
  set dateformat(t) {
6322
- this.$$set({ dateformat: t }), O();
6341
+ this.$$set({ dateformat: t }), P();
6323
6342
  }
6324
6343
  }
6325
- xn(ja, { bonuswalletid: {}, bonusdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
6344
+ Bn(Va, { bonuswalletid: {}, bonusdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
6326
6345
  export {
6327
- ja as P
6346
+ Va as P
6328
6347
  };