@everymatrix/player-bonus-history 1.65.0 → 1.65.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function Q() {
2
2
  }
3
- function 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 Re(e) {
10
- e.forEach(yr);
9
+ function He(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 on(e) {
22
+ function an(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 an(e, t, r) {
35
- e.$$.on_destroy.push(_r(t, r));
34
+ function sn(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 sn(e, t, r) {
41
- const n = un(e);
40
+ function un(e, t, r) {
41
+ const n = ln(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = B("style");
44
- i.id = t, i.textContent = r, ln(n, i);
43
+ const i = x("style");
44
+ i.id = t, i.textContent = r, hn(n, i);
45
45
  }
46
46
  }
47
- function un(e) {
47
+ function ln(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function un(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function ln(e, t) {
57
+ function hn(e, t) {
58
58
  return m(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -64,17 +64,17 @@ function ln(e, t) {
64
64
  function ue(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function re(e) {
67
+ function ne(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Va(e, t) {
70
+ function Xa(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
- function B(e) {
74
+ function x(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function Ya(e) {
77
+ function za(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
80
  function M(e) {
@@ -83,27 +83,27 @@ function M(e) {
83
83
  function L() {
84
84
  return M(" ");
85
85
  }
86
- function Xa() {
86
+ function qa() {
87
87
  return M("");
88
88
  }
89
- function hn(e, t, r, n) {
89
+ function cn(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
92
  function v(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function za(e, t, r) {
95
+ function Qa(e, t, r) {
96
96
  const n = t.toLowerCase();
97
97
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : v(e, t, r);
98
98
  }
99
- function cn(e) {
99
+ function fn(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
102
  function U(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function fn(e) {
106
+ function dn(e) {
107
107
  const t = {};
108
108
  return e.childNodes.forEach(
109
109
  /** @param {Element} node */
@@ -112,89 +112,89 @@ function fn(e) {
112
112
  }
113
113
  ), t;
114
114
  }
115
- let Ae;
115
+ let Pe;
116
116
  function Oe(e) {
117
- Ae = e;
117
+ Pe = e;
118
118
  }
119
- function dn() {
120
- if (!Ae)
119
+ function mn() {
120
+ if (!Pe)
121
121
  throw new Error("Function called outside component initialization");
122
- return Ae;
122
+ return Pe;
123
123
  }
124
- function mn(e) {
125
- dn().$$.on_mount.push(e);
124
+ function bn(e) {
125
+ mn().$$.on_mount.push(e);
126
126
  }
127
- const ge = [], mt = [];
128
- let pe = [];
129
- const kt = [], bn = /* @__PURE__ */ Promise.resolve();
130
- let bt = !1;
127
+ const pe = [], pt = [];
128
+ let ge = [];
129
+ const Ft = [], pn = /* @__PURE__ */ Promise.resolve();
130
+ let gt = !1;
131
131
  function gn() {
132
- bt || (bt = !0, bn.then(A));
132
+ gt || (gt = !0, pn.then(A));
133
133
  }
134
- function gt(e) {
135
- pe.push(e);
134
+ function vt(e) {
135
+ ge.push(e);
136
136
  }
137
- const ot = /* @__PURE__ */ new Set();
137
+ const st = /* @__PURE__ */ new Set();
138
138
  let de = 0;
139
139
  function A() {
140
140
  if (de !== 0)
141
141
  return;
142
- const e = Ae;
142
+ const e = Pe;
143
143
  do {
144
144
  try {
145
- for (; de < ge.length; ) {
146
- const t = ge[de];
147
- de++, Oe(t), pn(t.$$);
145
+ for (; de < pe.length; ) {
146
+ const t = pe[de];
147
+ de++, Oe(t), vn(t.$$);
148
148
  }
149
149
  } catch (t) {
150
- throw ge.length = 0, de = 0, t;
150
+ throw pe.length = 0, de = 0, t;
151
151
  }
152
- for (Oe(null), ge.length = 0, de = 0; mt.length; )
153
- mt.pop()();
154
- for (let t = 0; t < pe.length; t += 1) {
155
- const r = pe[t];
156
- ot.has(r) || (ot.add(r), r());
152
+ for (Oe(null), pe.length = 0, de = 0; pt.length; )
153
+ pt.pop()();
154
+ for (let t = 0; t < ge.length; t += 1) {
155
+ const r = ge[t];
156
+ st.has(r) || (st.add(r), r());
157
157
  }
158
- pe.length = 0;
159
- } while (ge.length);
160
- for (; kt.length; )
161
- kt.pop()();
162
- bt = !1, ot.clear(), Oe(e);
158
+ ge.length = 0;
159
+ } while (pe.length);
160
+ for (; Ft.length; )
161
+ Ft.pop()();
162
+ gt = !1, st.clear(), Oe(e);
163
163
  }
164
- function pn(e) {
164
+ function vn(e) {
165
165
  if (e.fragment !== null) {
166
- e.update(), Re(e.before_update);
166
+ e.update(), He(e.before_update);
167
167
  const t = e.dirty;
168
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(gt);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(vt);
169
169
  }
170
170
  }
171
- function vn(e) {
171
+ function yn(e) {
172
172
  const t = [], r = [];
173
- pe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), pe = t;
173
+ ge.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ge = t;
174
174
  }
175
- const yn = /* @__PURE__ */ new Set();
176
- function wn(e, t) {
177
- e && e.i && (yn.delete(e), e.i(t));
175
+ const wn = /* @__PURE__ */ new Set();
176
+ function _n(e, t) {
177
+ e && e.i && (wn.delete(e), e.i(t));
178
178
  }
179
- function qa(e) {
179
+ function Za(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
- function _n(e, t, r) {
182
+ function En(e, t, r) {
183
183
  const { fragment: n, after_update: i } = e.$$;
184
- n && n.m(t, r), gt(() => {
185
- const o = e.$$.on_mount.map(yr).filter(At);
186
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Re(o), e.$$.on_mount = [];
187
- }), i.forEach(gt);
184
+ n && n.m(t, r), vt(() => {
185
+ const o = e.$$.on_mount.map(_r).filter(Nt);
186
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : He(o), e.$$.on_mount = [];
187
+ }), i.forEach(vt);
188
188
  }
189
189
  function Tn(e, t) {
190
190
  const r = e.$$;
191
- r.fragment !== null && (vn(r.after_update), Re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
191
+ r.fragment !== null && (yn(r.after_update), He(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
192
192
  }
193
- function En(e, t) {
194
- e.$$.dirty[0] === -1 && (ge.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
+ function xn(e, t) {
194
+ e.$$.dirty[0] === -1 && (pe.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
195
195
  }
196
- function xn(e, t, r, n, i, o, a = null, s = [-1]) {
197
- const l = Ae;
196
+ function Bn(e, t, r, n, i, o, a = null, s = [-1]) {
197
+ const l = Pe;
198
198
  Oe(e);
199
199
  const u = e.$$ = {
200
200
  fragment: null,
@@ -203,7 +203,7 @@ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
203
203
  props: o,
204
204
  update: Q,
205
205
  not_equal: i,
206
- bound: Lt(),
206
+ bound: kt(),
207
207
  // lifecycle
208
208
  on_mount: [],
209
209
  on_destroy: [],
@@ -212,7 +212,7 @@ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
212
212
  after_update: [],
213
213
  context: new Map(t.context || (l ? l.$$.context : [])),
214
214
  // everything else
215
- callbacks: Lt(),
215
+ callbacks: kt(),
216
216
  dirty: s,
217
217
  skip_bound: !1,
218
218
  root: t.target || l.$$.root
@@ -220,20 +220,20 @@ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
220
220
  a && a(u.root);
221
221
  let h = !1;
222
222
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
223
- const g = d.length ? d[0] : c;
224
- return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), h && En(e, f)), c;
225
- }) : [], u.update(), h = !0, Re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
223
+ const p = d.length ? d[0] : c;
224
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && xn(e, f)), c;
225
+ }) : [], u.update(), h = !0, He(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
226
226
  if (t.hydrate) {
227
- const f = cn(t.target);
228
- u.fragment && u.fragment.l(f), f.forEach(re);
227
+ const f = fn(t.target);
228
+ u.fragment && u.fragment.l(f), f.forEach(ne);
229
229
  } else
230
230
  u.fragment && u.fragment.c();
231
- t.intro && wn(e.$$.fragment), _n(e, t.target, t.anchor), A();
231
+ t.intro && _n(e.$$.fragment), En(e, t.target, t.anchor), A();
232
232
  }
233
233
  Oe(l);
234
234
  }
235
- let Tr;
236
- typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
235
+ let xr;
236
+ typeof HTMLElement == "function" && (xr = class extends HTMLElement {
237
237
  /** The Svelte component constructor */
238
238
  $$ctor;
239
239
  /** Slots */
@@ -275,7 +275,7 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
275
275
  let o;
276
276
  return {
277
277
  c: function() {
278
- o = B("slot"), i !== "default" && v(o, "name", i);
278
+ o = x("slot"), i !== "default" && v(o, "name", i);
279
279
  },
280
280
  /**
281
281
  * @param {HTMLElement} target
@@ -285,14 +285,14 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
285
285
  ue(l, o, u);
286
286
  },
287
287
  d: function(l) {
288
- l && re(o);
288
+ l && ne(o);
289
289
  }
290
290
  };
291
291
  };
292
292
  };
293
293
  if (await Promise.resolve(), !this.$$cn || this.$$c)
294
294
  return;
295
- const t = {}, r = fn(this);
295
+ const t = {}, r = dn(this);
296
296
  for (const i of this.$$s)
297
297
  i in r && (t[i] = [e(i)]);
298
298
  for (const i of this.attributes) {
@@ -379,8 +379,8 @@ function $e(e, t, r, n) {
379
379
  return t;
380
380
  }
381
381
  }
382
- function Bn(e, t, r, n, i, o) {
383
- let a = class extends Tr {
382
+ function Sn(e, t, r, n, i, o) {
383
+ let a = class extends xr {
384
384
  constructor() {
385
385
  super(e, r, i), this.$$p_d = t;
386
386
  }
@@ -408,7 +408,7 @@ function Bn(e, t, r, n, i, o) {
408
408
  }), e.element = /** @type {any} */
409
409
  a, a;
410
410
  }
411
- class Sn {
411
+ class Cn {
412
412
  /**
413
413
  * ### PRIVATE API
414
414
  *
@@ -436,7 +436,7 @@ class Sn {
436
436
  * @returns {() => void}
437
437
  */
438
438
  $on(t, r) {
439
- if (!At(r))
439
+ if (!Nt(r))
440
440
  return Q;
441
441
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
442
442
  return n.push(r), () => {
@@ -449,18 +449,18 @@ class Sn {
449
449
  * @returns {void}
450
450
  */
451
451
  $set(t) {
452
- this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
452
+ this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
453
  }
454
454
  }
455
- const Cn = "4";
456
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cn);
455
+ const On = "4";
456
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(On);
457
457
  function Pn(e, t) {
458
458
  if (e) {
459
459
  const r = document.createElement("style");
460
460
  r.innerHTML = t, e.appendChild(r);
461
461
  }
462
462
  }
463
- function On(e, t) {
463
+ function An(e, t) {
464
464
  const r = new URL(t);
465
465
  fetch(r.href).then((n) => n.text()).then((n) => {
466
466
  const i = document.createElement("style");
@@ -469,7 +469,7 @@ function On(e, t) {
469
469
  console.error("There was an error while trying to load client styling from URL", n);
470
470
  });
471
471
  }
472
- function An(e, t, r) {
472
+ function Mn(e, t, r) {
473
473
  if (window.emMessageBus) {
474
474
  const n = document.createElement("style");
475
475
  window.emMessageBus.subscribe(t, (i) => {
@@ -491,43 +491,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
491
491
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
492
492
  PERFORMANCE OF THIS SOFTWARE.
493
493
  ***************************************************************************** */
494
- var pt = function(e, t) {
495
- return pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
494
+ var yt = function(e, t) {
495
+ return yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
496
496
  r.__proto__ = n;
497
497
  } || function(r, n) {
498
498
  for (var i in n)
499
499
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
500
- }, pt(e, t);
500
+ }, yt(e, t);
501
501
  };
502
- function ne(e, t) {
502
+ function Re(e, t) {
503
503
  if (typeof t != "function" && t !== null)
504
504
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
505
- pt(e, t);
505
+ yt(e, t);
506
506
  function r() {
507
507
  this.constructor = e;
508
508
  }
509
509
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
510
510
  }
511
- var T = function() {
512
- return T = Object.assign || function(t) {
513
- for (var r, n = 1, i = arguments.length; n < i; n++) {
514
- r = arguments[n];
515
- for (var o in r)
516
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
517
- }
518
- return t;
519
- }, T.apply(this, arguments);
520
- };
521
- function Mn(e, t) {
522
- var r = {};
523
- for (var n in e)
524
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
525
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
526
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
527
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
528
- return r;
529
- }
530
- function vt(e) {
511
+ function wt(e) {
531
512
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
532
513
  if (r)
533
514
  return r.call(e);
@@ -539,7 +520,7 @@ function vt(e) {
539
520
  };
540
521
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
541
522
  }
542
- function yt(e, t) {
523
+ function _t(e, t) {
543
524
  var r = typeof Symbol == "function" && e[Symbol.iterator];
544
525
  if (!r)
545
526
  return e;
@@ -559,22 +540,22 @@ function yt(e, t) {
559
540
  }
560
541
  return o;
561
542
  }
562
- function ve(e, t, r) {
563
- if (r || arguments.length === 2)
543
+ function Et(e, t, r) {
544
+ if (arguments.length === 2)
564
545
  for (var n = 0, i = t.length, o; n < i; n++)
565
546
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
566
547
  return e.concat(o || t);
567
548
  }
568
- function ee(e) {
549
+ function te(e) {
569
550
  return typeof e == "function";
570
551
  }
571
- function Er(e) {
552
+ function Br(e) {
572
553
  var t = function(n) {
573
554
  Error.call(n), n.stack = new Error().stack;
574
555
  }, r = e(t);
575
556
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
576
557
  }
577
- var at = Er(function(e) {
558
+ var ut = Br(function(e) {
578
559
  return function(r) {
579
560
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
580
561
  ` + r.map(function(n, i) {
@@ -583,13 +564,13 @@ var at = Er(function(e) {
583
564
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
584
565
  };
585
566
  });
586
- function wt(e, t) {
567
+ function Tt(e, t) {
587
568
  if (e) {
588
569
  var r = e.indexOf(t);
589
570
  0 <= r && e.splice(r, 1);
590
571
  }
591
572
  }
592
- var qe = function() {
573
+ var Qe = function() {
593
574
  function e(t) {
594
575
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
595
576
  }
@@ -601,12 +582,12 @@ var qe = function() {
601
582
  if (a)
602
583
  if (this._parentage = null, Array.isArray(a))
603
584
  try {
604
- for (var s = vt(a), l = s.next(); !l.done; l = s.next()) {
585
+ for (var s = wt(a), l = s.next(); !l.done; l = s.next()) {
605
586
  var u = l.value;
606
587
  u.remove(this);
607
588
  }
608
- } catch (p) {
609
- t = { error: p };
589
+ } catch (g) {
590
+ t = { error: g };
610
591
  } finally {
611
592
  try {
612
593
  l && !l.done && (r = s.return) && r.call(s);
@@ -618,26 +599,26 @@ var qe = function() {
618
599
  else
619
600
  a.remove(this);
620
601
  var h = this.initialTeardown;
621
- if (ee(h))
602
+ if (te(h))
622
603
  try {
623
604
  h();
624
- } catch (p) {
625
- o = p instanceof at ? p.errors : [p];
605
+ } catch (g) {
606
+ o = g instanceof ut ? g.errors : [g];
626
607
  }
627
608
  var f = this._finalizers;
628
609
  if (f) {
629
610
  this._finalizers = null;
630
611
  try {
631
- for (var c = vt(f), d = c.next(); !d.done; d = c.next()) {
632
- var g = d.value;
612
+ for (var c = wt(f), d = c.next(); !d.done; d = c.next()) {
613
+ var p = d.value;
633
614
  try {
634
- $t(g);
635
- } catch (p) {
636
- o = o ?? [], p instanceof at ? o = ve(ve([], yt(o)), yt(p.errors)) : o.push(p);
615
+ Gt(p);
616
+ } catch (g) {
617
+ o = o ?? [], g instanceof ut ? o = Et(Et([], _t(o)), _t(g.errors)) : o.push(g);
637
618
  }
638
619
  }
639
- } catch (p) {
640
- n = { error: p };
620
+ } catch (g) {
621
+ n = { error: g };
641
622
  } finally {
642
623
  try {
643
624
  d && !d.done && (i = c.return) && i.call(c);
@@ -648,13 +629,13 @@ var qe = function() {
648
629
  }
649
630
  }
650
631
  if (o)
651
- throw new at(o);
632
+ throw new ut(o);
652
633
  }
653
634
  }, e.prototype.add = function(t) {
654
635
  var r;
655
636
  if (t && t !== this)
656
637
  if (this.closed)
657
- $t(t);
638
+ Gt(t);
658
639
  else {
659
640
  if (t instanceof e) {
660
641
  if (t.closed || t._hasParent(this))
@@ -671,56 +652,52 @@ var qe = function() {
671
652
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
672
653
  }, e.prototype._removeParent = function(t) {
673
654
  var r = this._parentage;
674
- r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
655
+ r === t ? this._parentage = null : Array.isArray(r) && Tt(r, t);
675
656
  }, e.prototype.remove = function(t) {
676
657
  var r = this._finalizers;
677
- r && wt(r, t), t instanceof e && t._removeParent(this);
658
+ r && Tt(r, t), t instanceof e && t._removeParent(this);
678
659
  }, e.EMPTY = function() {
679
660
  var t = new e();
680
661
  return t.closed = !0, t;
681
662
  }(), e;
682
- }(), xr = qe.EMPTY;
683
- function Br(e) {
684
- return e instanceof qe || e && "closed" in e && ee(e.remove) && ee(e.add) && ee(e.unsubscribe);
685
- }
686
- function $t(e) {
687
- ee(e) ? e() : e.unsubscribe();
688
- }
689
- var Sr = {
690
- onUnhandledError: null,
691
- onStoppedNotification: null,
692
- Promise: void 0,
693
- useDeprecatedSynchronousErrorHandling: !1,
694
- useDeprecatedNextContext: !1
695
- }, Hn = {
663
+ }(), Sr = Qe.EMPTY;
664
+ function Cr(e) {
665
+ return e instanceof Qe || e && "closed" in e && te(e.remove) && te(e.add) && te(e.unsubscribe);
666
+ }
667
+ function Gt(e) {
668
+ te(e) ? e() : e.unsubscribe();
669
+ }
670
+ var Hn = {
671
+ Promise: void 0
672
+ }, Rn = {
696
673
  setTimeout: function(e, t) {
697
674
  for (var r = [], n = 2; n < arguments.length; n++)
698
675
  r[n - 2] = arguments[n];
699
- return setTimeout.apply(void 0, ve([e, t], yt(r)));
676
+ return setTimeout.apply(void 0, Et([e, t], _t(r)));
700
677
  },
701
678
  clearTimeout: function(e) {
702
679
  return clearTimeout(e);
703
680
  },
704
681
  delegate: void 0
705
682
  };
706
- function Rn(e) {
707
- Hn.setTimeout(function() {
683
+ function Nn(e) {
684
+ Rn.setTimeout(function() {
708
685
  throw e;
709
686
  });
710
687
  }
711
- function Ft() {
688
+ function jt() {
712
689
  }
713
690
  function Fe(e) {
714
691
  e();
715
692
  }
716
- var Cr = function(e) {
717
- ne(t, e);
693
+ var Or = function(e) {
694
+ Re(t, e);
718
695
  function t(r) {
719
696
  var n = e.call(this) || this;
720
- return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = Ln, n;
697
+ return n.isStopped = !1, r ? (n.destination = r, Cr(r) && r.add(n)) : n.destination = Ln, n;
721
698
  }
722
699
  return t.create = function(r, n, i) {
723
- return new _t(r, n, i);
700
+ return new xt(r, n, i);
724
701
  }, t.prototype.next = function(r) {
725
702
  this.isStopped || this._next(r);
726
703
  }, t.prototype.error = function(r) {
@@ -744,11 +721,7 @@ var Cr = function(e) {
744
721
  this.unsubscribe();
745
722
  }
746
723
  }, t;
747
- }(qe), Nn = Function.prototype.bind;
748
- function st(e, t) {
749
- return Nn.call(e, t);
750
- }
751
- var Dn = function() {
724
+ }(Qe), Dn = function() {
752
725
  function e(t) {
753
726
  this.partialObserver = t;
754
727
  }
@@ -779,41 +752,29 @@ var Dn = function() {
779
752
  Ue(r);
780
753
  }
781
754
  }, e;
782
- }(), _t = function(e) {
783
- ne(t, e);
755
+ }(), xt = function(e) {
756
+ Re(t, e);
784
757
  function t(r, n, i) {
785
758
  var o = e.call(this) || this, a;
786
- if (ee(r) || !r)
787
- a = {
788
- next: r ?? void 0,
789
- error: n ?? void 0,
790
- complete: i ?? void 0
791
- };
792
- else {
793
- var s;
794
- o && Sr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
795
- return o.unsubscribe();
796
- }, a = {
797
- next: r.next && st(r.next, s),
798
- error: r.error && st(r.error, s),
799
- complete: r.complete && st(r.complete, s)
800
- }) : a = r;
801
- }
802
- return o.destination = new Dn(a), o;
759
+ return te(r) || !r ? a = {
760
+ next: r ?? void 0,
761
+ error: n ?? void 0,
762
+ complete: i ?? void 0
763
+ } : a = r, o.destination = new Dn(a), o;
803
764
  }
804
765
  return t;
805
- }(Cr);
766
+ }(Or);
806
767
  function Ue(e) {
807
- Rn(e);
768
+ Nn(e);
808
769
  }
809
770
  function In(e) {
810
771
  throw e;
811
772
  }
812
773
  var Ln = {
813
774
  closed: !0,
814
- next: Ft,
775
+ next: jt,
815
776
  error: In,
816
- complete: Ft
777
+ complete: jt
817
778
  }, Un = function() {
818
779
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
819
780
  }();
@@ -827,7 +788,7 @@ function $n(e) {
827
788
  }, r);
828
789
  };
829
790
  }
830
- var Gt = function() {
791
+ var Wt = function() {
831
792
  function e(t) {
832
793
  t && (this._subscribe = t);
833
794
  }
@@ -835,7 +796,7 @@ var Gt = function() {
835
796
  var r = new e();
836
797
  return r.source = this, r.operator = t, r;
837
798
  }, e.prototype.subscribe = function(t, r, n) {
838
- var i = this, o = Gn(t) ? t : new _t(t, r, n);
799
+ var i = this, o = Gn(t) ? t : new xt(t, r, n);
839
800
  return Fe(function() {
840
801
  var a = i, s = a.operator, l = a.source;
841
802
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -848,8 +809,8 @@ var Gt = function() {
848
809
  }
849
810
  }, e.prototype.forEach = function(t, r) {
850
811
  var n = this;
851
- return r = jt(r), new r(function(i, o) {
852
- var a = new _t({
812
+ return r = Vt(r), new r(function(i, o) {
813
+ var a = new xt({
853
814
  next: function(s) {
854
815
  try {
855
816
  t(s);
@@ -873,7 +834,7 @@ var Gt = function() {
873
834
  return $n(t)(this);
874
835
  }, e.prototype.toPromise = function(t) {
875
836
  var r = this;
876
- return t = jt(t), new t(function(n, i) {
837
+ return t = Vt(t), new t(function(n, i) {
877
838
  var o;
878
839
  r.subscribe(function(a) {
879
840
  return o = a;
@@ -887,28 +848,28 @@ var Gt = function() {
887
848
  return new e(t);
888
849
  }, e;
889
850
  }();
890
- function jt(e) {
851
+ function Vt(e) {
891
852
  var t;
892
- return (t = e ?? Sr.Promise) !== null && t !== void 0 ? t : Promise;
853
+ return (t = e ?? Hn.Promise) !== null && t !== void 0 ? t : Promise;
893
854
  }
894
855
  function Fn(e) {
895
- return e && ee(e.next) && ee(e.error) && ee(e.complete);
856
+ return e && te(e.next) && te(e.error) && te(e.complete);
896
857
  }
897
858
  function Gn(e) {
898
- return e && e instanceof Cr || Fn(e) && Br(e);
859
+ return e && e instanceof Or || Fn(e) && Cr(e);
899
860
  }
900
- var jn = Er(function(e) {
861
+ var jn = Br(function(e) {
901
862
  return function() {
902
863
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
903
864
  };
904
865
  }), Pr = function(e) {
905
- ne(t, e);
866
+ Re(t, e);
906
867
  function t() {
907
868
  var r = e.call(this) || this;
908
869
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
909
870
  }
910
871
  return t.prototype.lift = function(r) {
911
- var n = new Wt(this, this);
872
+ var n = new Yt(this, this);
912
873
  return n.operator = r, n;
913
874
  }, t.prototype._throwIfClosed = function() {
914
875
  if (this.closed)
@@ -920,7 +881,7 @@ var jn = Er(function(e) {
920
881
  if (n._throwIfClosed(), !n.isStopped) {
921
882
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
922
883
  try {
923
- for (var a = vt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
884
+ for (var a = wt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
924
885
  var l = s.value;
925
886
  l.next(r);
926
887
  }
@@ -969,20 +930,20 @@ var jn = Er(function(e) {
969
930
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
970
931
  }, t.prototype._innerSubscribe = function(r) {
971
932
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
972
- return o || a ? xr : (this.currentObservers = null, s.push(r), new qe(function() {
973
- n.currentObservers = null, wt(s, r);
933
+ return o || a ? Sr : (this.currentObservers = null, s.push(r), new Qe(function() {
934
+ n.currentObservers = null, Tt(s, r);
974
935
  }));
975
936
  }, t.prototype._checkFinalizedStatuses = function(r) {
976
937
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
977
938
  i ? r.error(o) : a && r.complete();
978
939
  }, t.prototype.asObservable = function() {
979
- var r = new Gt();
940
+ var r = new Wt();
980
941
  return r.source = this, r;
981
942
  }, t.create = function(r, n) {
982
- return new Wt(r, n);
943
+ return new Yt(r, n);
983
944
  }, t;
984
- }(Gt), Wt = function(e) {
985
- ne(t, e);
945
+ }(Wt), Yt = function(e) {
946
+ Re(t, e);
986
947
  function t(r, n) {
987
948
  var i = e.call(this) || this;
988
949
  return i.destination = r, i.source = n, i;
@@ -998,17 +959,17 @@ var jn = Er(function(e) {
998
959
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
999
960
  }, t.prototype._subscribe = function(r) {
1000
961
  var n, i;
1001
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xr;
962
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Sr;
1002
963
  }, t;
1003
- }(Pr), Or = {
964
+ }(Pr), Ar = {
1004
965
  now: function() {
1005
- return (Or.delegate || Date).now();
966
+ return (Ar.delegate || Date).now();
1006
967
  },
1007
968
  delegate: void 0
1008
969
  }, Wn = function(e) {
1009
- ne(t, e);
970
+ Re(t, e);
1010
971
  function t(r, n, i) {
1011
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Or);
972
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
1012
973
  var o = e.call(this) || this;
1013
974
  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;
1014
975
  }
@@ -1029,23 +990,23 @@ var jn = Er(function(e) {
1029
990
  }
1030
991
  }, t;
1031
992
  }(Pr);
1032
- const Vt = [], Yt = {}, Vn = (e, t = 0) => {
1033
- if (Vt.indexOf(e) == -1) {
993
+ const Xt = [], zt = {}, Vn = (e, t = 0) => {
994
+ if (Xt.indexOf(e) == -1) {
1034
995
  const r = new Wn(t);
1035
- Yt[e] = r, Vt.push(e);
996
+ zt[e] = r, Xt.push(e);
1036
997
  }
1037
- return Yt[e];
998
+ return zt[e];
1038
999
  }, me = [];
1039
1000
  function Yn(e, t) {
1040
1001
  return {
1041
- subscribe: Qe(e, t).subscribe
1002
+ subscribe: Ze(e, t).subscribe
1042
1003
  };
1043
1004
  }
1044
- function Qe(e, t = Q) {
1005
+ function Ze(e, t = Q) {
1045
1006
  let r;
1046
1007
  const n = /* @__PURE__ */ new Set();
1047
1008
  function i(s) {
1048
- if (wr(e, s) && (e = s, r)) {
1009
+ if (Er(e, s) && (e = s, r)) {
1049
1010
  const l = !me.length;
1050
1011
  for (const u of n)
1051
1012
  u[1](), me.push(u, e);
@@ -1080,21 +1041,21 @@ function Ee(e, t, r) {
1080
1041
  if (h)
1081
1042
  return;
1082
1043
  f();
1083
- const g = t(n ? u[0] : u, a, s);
1084
- o ? a(g) : f = At(g) ? g : Q;
1044
+ const p = t(n ? u[0] : u, a, s);
1045
+ o ? a(p) : f = Nt(p) ? p : Q;
1085
1046
  }, d = i.map(
1086
- (g, p) => _r(
1087
- g,
1088
- (S) => {
1089
- u[p] = S, h &= ~(1 << p), l && c();
1047
+ (p, g) => Tr(
1048
+ p,
1049
+ (B) => {
1050
+ u[g] = B, h &= ~(1 << g), l && c();
1090
1051
  },
1091
1052
  () => {
1092
- h |= 1 << p;
1053
+ h |= 1 << g;
1093
1054
  }
1094
1055
  )
1095
1056
  );
1096
1057
  return l = !0, c(), function() {
1097
- Re(d), f(), l = !1;
1058
+ He(d), f(), l = !1;
1098
1059
  };
1099
1060
  });
1100
1061
  }
@@ -1118,29 +1079,29 @@ function Kn(e) {
1118
1079
  function ei(e) {
1119
1080
  return Array.isArray(e) ? [] : {};
1120
1081
  }
1121
- function Me(e, t) {
1122
- return t.clone !== !1 && t.isMergeableObject(e) ? ye(ei(e), e, t) : e;
1082
+ function Ae(e, t) {
1083
+ return t.clone !== !1 && t.isMergeableObject(e) ? ve(ei(e), e, t) : e;
1123
1084
  }
1124
1085
  function ti(e, t, r) {
1125
1086
  return e.concat(t).map(function(n) {
1126
- return Me(n, r);
1087
+ return Ae(n, r);
1127
1088
  });
1128
1089
  }
1129
1090
  function ri(e, t) {
1130
1091
  if (!t.customMerge)
1131
- return ye;
1092
+ return ve;
1132
1093
  var r = t.customMerge(e);
1133
- return typeof r == "function" ? r : ye;
1094
+ return typeof r == "function" ? r : ve;
1134
1095
  }
1135
1096
  function ni(e) {
1136
1097
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1137
1098
  return Object.propertyIsEnumerable.call(e, t);
1138
1099
  }) : [];
1139
1100
  }
1140
- function Xt(e) {
1101
+ function qt(e) {
1141
1102
  return Object.keys(e).concat(ni(e));
1142
1103
  }
1143
- function Ar(e, t) {
1104
+ function Mr(e, t) {
1144
1105
  try {
1145
1106
  return t in e;
1146
1107
  } catch {
@@ -1148,129 +1109,179 @@ function Ar(e, t) {
1148
1109
  }
1149
1110
  }
1150
1111
  function ii(e, t) {
1151
- return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1112
+ return Mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1152
1113
  }
1153
1114
  function oi(e, t, r) {
1154
1115
  var n = {};
1155
- return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1156
- n[i] = Me(e[i], r);
1157
- }), Xt(t).forEach(function(i) {
1158
- ii(e, i) || (Ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = ri(i, r)(e[i], t[i], r) : n[i] = Me(t[i], r));
1116
+ return r.isMergeableObject(e) && qt(e).forEach(function(i) {
1117
+ n[i] = Ae(e[i], r);
1118
+ }), qt(t).forEach(function(i) {
1119
+ ii(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ri(i, r)(e[i], t[i], r) : n[i] = Ae(t[i], r));
1159
1120
  }), n;
1160
1121
  }
1161
- function ye(e, t, r) {
1162
- r = r || {}, r.arrayMerge = r.arrayMerge || ti, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = Me;
1122
+ function ve(e, t, r) {
1123
+ r = r || {}, r.arrayMerge = r.arrayMerge || ti, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = Ae;
1163
1124
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1164
- return o ? n ? r.arrayMerge(e, t, r) : oi(e, t, r) : Me(t, r);
1125
+ return o ? n ? r.arrayMerge(e, t, r) : oi(e, t, r) : Ae(t, r);
1165
1126
  }
1166
- ye.all = function(t, r) {
1127
+ ve.all = function(t, r) {
1167
1128
  if (!Array.isArray(t))
1168
1129
  throw new Error("first argument should be an array");
1169
1130
  return t.reduce(function(n, i) {
1170
- return ye(n, i, r);
1131
+ return ve(n, i, r);
1171
1132
  }, {});
1172
1133
  };
1173
- var ai = ye, si = ai;
1134
+ var ai = ve, si = ai;
1174
1135
  const ui = /* @__PURE__ */ Xn(si);
1175
- function ut(e, t) {
1176
- var r = t && t.cache ? t.cache : mi, n = t && t.serializer ? t.serializer : di, i = t && t.strategy ? t.strategy : hi;
1136
+ var Bt = function(e, t) {
1137
+ return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1138
+ r.__proto__ = n;
1139
+ } || function(r, n) {
1140
+ for (var i in n)
1141
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1142
+ }, Bt(e, t);
1143
+ };
1144
+ function Je(e, t) {
1145
+ if (typeof t != "function" && t !== null)
1146
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1147
+ Bt(e, t);
1148
+ function r() {
1149
+ this.constructor = e;
1150
+ }
1151
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1152
+ }
1153
+ var Z = function() {
1154
+ return Z = Object.assign || function(t) {
1155
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1156
+ r = arguments[n];
1157
+ for (var o in r)
1158
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1159
+ }
1160
+ return t;
1161
+ }, Z.apply(this, arguments);
1162
+ };
1163
+ function li(e, t) {
1164
+ var r = {};
1165
+ for (var n in e)
1166
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1167
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1168
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1169
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1170
+ return r;
1171
+ }
1172
+ function lt(e, t, r) {
1173
+ if (r || arguments.length === 2)
1174
+ for (var n = 0, i = t.length, o; n < i; n++)
1175
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1176
+ return e.concat(o || Array.prototype.slice.call(t));
1177
+ }
1178
+ function ht(e, t) {
1179
+ var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : mi, i = t && t.strategy ? t.strategy : fi;
1177
1180
  return i(e, {
1178
1181
  cache: r,
1179
1182
  serializer: n
1180
1183
  });
1181
1184
  }
1182
- function li(e) {
1185
+ function hi(e) {
1183
1186
  return e == null || typeof e == "number" || typeof e == "boolean";
1184
1187
  }
1185
- function Mr(e, t, r, n) {
1186
- var i = li(n) ? n : r(n), o = t.get(i);
1188
+ function ci(e, t, r, n) {
1189
+ var i = hi(n) ? n : r(n), o = t.get(i);
1187
1190
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1188
1191
  }
1189
1192
  function Hr(e, t, r) {
1190
1193
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1191
1194
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1192
1195
  }
1193
- function Mt(e, t, r, n, i) {
1196
+ function Rr(e, t, r, n, i) {
1194
1197
  return r.bind(t, e, n, i);
1195
1198
  }
1196
- function hi(e, t) {
1197
- var r = e.length === 1 ? Mr : Hr;
1198
- return Mt(e, this, r, t.cache.create(), t.serializer);
1199
- }
1200
- function ci(e, t) {
1201
- return Mt(e, this, Hr, t.cache.create(), t.serializer);
1202
- }
1203
1199
  function fi(e, t) {
1204
- return Mt(e, this, Mr, t.cache.create(), t.serializer);
1200
+ var r = e.length === 1 ? ci : Hr;
1201
+ return Rr(e, this, r, t.cache.create(), t.serializer);
1205
1202
  }
1206
- var di = function() {
1207
- return JSON.stringify(arguments);
1208
- };
1209
- function Ht() {
1210
- this.cache = /* @__PURE__ */ Object.create(null);
1203
+ function di(e, t) {
1204
+ return Rr(e, this, Hr, t.cache.create(), t.serializer);
1211
1205
  }
1212
- Ht.prototype.get = function(e) {
1213
- return this.cache[e];
1214
- };
1215
- Ht.prototype.set = function(e, t) {
1216
- this.cache[e] = t;
1217
- };
1218
- var mi = {
1206
+ var mi = function() {
1207
+ return JSON.stringify(arguments);
1208
+ }, bi = (
1209
+ /** @class */
1210
+ function() {
1211
+ function e() {
1212
+ this.cache = /* @__PURE__ */ Object.create(null);
1213
+ }
1214
+ return e.prototype.get = function(t) {
1215
+ return this.cache[t];
1216
+ }, e.prototype.set = function(t, r) {
1217
+ this.cache[t] = r;
1218
+ }, e;
1219
+ }()
1220
+ ), pi = {
1219
1221
  create: function() {
1220
- return new Ht();
1222
+ return new bi();
1221
1223
  }
1222
- }, lt = {
1223
- variadic: ci,
1224
- monadic: fi
1225
- }, w;
1224
+ }, ct = {
1225
+ variadic: di
1226
+ }, We = function() {
1227
+ return We = Object.assign || function(t) {
1228
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1229
+ r = arguments[n];
1230
+ for (var o in r)
1231
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1232
+ }
1233
+ return t;
1234
+ }, We.apply(this, arguments);
1235
+ };
1236
+ var w;
1226
1237
  (function(e) {
1227
1238
  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";
1228
1239
  })(w || (w = {}));
1229
- var C;
1240
+ var S;
1230
1241
  (function(e) {
1231
1242
  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";
1232
- })(C || (C = {}));
1233
- var we;
1243
+ })(S || (S = {}));
1244
+ var ye;
1234
1245
  (function(e) {
1235
1246
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1236
- })(we || (we = {}));
1237
- function zt(e) {
1238
- return e.type === C.literal;
1239
- }
1240
- function bi(e) {
1241
- return e.type === C.argument;
1247
+ })(ye || (ye = {}));
1248
+ function Qt(e) {
1249
+ return e.type === S.literal;
1242
1250
  }
1243
- function Rr(e) {
1244
- return e.type === C.number;
1251
+ function gi(e) {
1252
+ return e.type === S.argument;
1245
1253
  }
1246
1254
  function Nr(e) {
1247
- return e.type === C.date;
1255
+ return e.type === S.number;
1248
1256
  }
1249
1257
  function Dr(e) {
1250
- return e.type === C.time;
1258
+ return e.type === S.date;
1251
1259
  }
1252
1260
  function Ir(e) {
1253
- return e.type === C.select;
1261
+ return e.type === S.time;
1254
1262
  }
1255
1263
  function Lr(e) {
1256
- return e.type === C.plural;
1257
- }
1258
- function gi(e) {
1259
- return e.type === C.pound;
1264
+ return e.type === S.select;
1260
1265
  }
1261
1266
  function Ur(e) {
1262
- return e.type === C.tag;
1267
+ return e.type === S.plural;
1268
+ }
1269
+ function vi(e) {
1270
+ return e.type === S.pound;
1263
1271
  }
1264
1272
  function kr(e) {
1265
- return !!(e && typeof e == "object" && e.type === we.number);
1273
+ return e.type === S.tag;
1266
1274
  }
1267
- function Tt(e) {
1268
- return !!(e && typeof e == "object" && e.type === we.dateTime);
1275
+ function $r(e) {
1276
+ return !!(e && typeof e == "object" && e.type === ye.number);
1269
1277
  }
1270
- var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
1271
- function vi(e) {
1278
+ function St(e) {
1279
+ return !!(e && typeof e == "object" && e.type === ye.dateTime);
1280
+ }
1281
+ var Fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
1282
+ function wi(e) {
1272
1283
  var t = {};
1273
- return e.replace(pi, function(r) {
1284
+ return e.replace(yi, function(r) {
1274
1285
  var n = r.length;
1275
1286
  switch (r[0]) {
1276
1287
  case "G":
@@ -1359,11 +1370,21 @@ function vi(e) {
1359
1370
  return "";
1360
1371
  }), t;
1361
1372
  }
1362
- var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1363
- function wi(e) {
1373
+ var O = function() {
1374
+ return O = Object.assign || function(t) {
1375
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1376
+ r = arguments[n];
1377
+ for (var o in r)
1378
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1379
+ }
1380
+ return t;
1381
+ }, O.apply(this, arguments);
1382
+ };
1383
+ var _i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1384
+ function Ei(e) {
1364
1385
  if (e.length === 0)
1365
1386
  throw new Error("Number skeleton cannot be empty");
1366
- for (var t = e.split(yi).filter(function(c) {
1387
+ for (var t = e.split(_i).filter(function(c) {
1367
1388
  return c.length > 0;
1368
1389
  }), r = [], n = 0, i = t; n < i.length; n++) {
1369
1390
  var o = i[n], a = o.split("/");
@@ -1378,17 +1399,17 @@ function wi(e) {
1378
1399
  }
1379
1400
  return r;
1380
1401
  }
1381
- function _i(e) {
1402
+ function Ti(e) {
1382
1403
  return e.replace(/^(.*?)-/, "");
1383
1404
  }
1384
- var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, Ti = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1385
- function Qt(e) {
1405
+ var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, xi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
1406
+ function Jt(e) {
1386
1407
  var t = {};
1387
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
1408
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
1388
1409
  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)), "";
1389
1410
  }), t;
1390
1411
  }
1391
- function jr(e) {
1412
+ function Wr(e) {
1392
1413
  switch (e) {
1393
1414
  case "sign-auto":
1394
1415
  return {
@@ -1428,7 +1449,7 @@ function jr(e) {
1428
1449
  };
1429
1450
  }
1430
1451
  }
1431
- function Ei(e) {
1452
+ function Bi(e) {
1432
1453
  var t;
1433
1454
  if (e[0] === "E" && e[1] === "E" ? (t = {
1434
1455
  notation: "engineering"
@@ -1436,17 +1457,17 @@ function Ei(e) {
1436
1457
  notation: "scientific"
1437
1458
  }, e = e.slice(1)), t) {
1438
1459
  var r = e.slice(0, 2);
1439
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
1460
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1440
1461
  throw new Error("Malformed concise eng/scientific notation");
1441
1462
  t.minimumIntegerDigits = e.length;
1442
1463
  }
1443
1464
  return t;
1444
1465
  }
1445
- function Zt(e) {
1446
- var t = {}, r = jr(e);
1466
+ function Kt(e) {
1467
+ var t = {}, r = Wr(e);
1447
1468
  return r || t;
1448
1469
  }
1449
- function xi(e) {
1470
+ function Si(e) {
1450
1471
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1451
1472
  var i = n[r];
1452
1473
  switch (i.stem) {
@@ -1470,7 +1491,7 @@ function xi(e) {
1470
1491
  continue;
1471
1492
  case "measure-unit":
1472
1493
  case "unit":
1473
- t.style = "unit", t.unit = _i(i.options[0]);
1494
+ t.style = "unit", t.unit = Ti(i.options[0]);
1474
1495
  continue;
1475
1496
  case "compact-short":
1476
1497
  case "K":
@@ -1481,13 +1502,13 @@ function xi(e) {
1481
1502
  t.notation = "compact", t.compactDisplay = "long";
1482
1503
  continue;
1483
1504
  case "scientific":
1484
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1485
- return T(T({}, l), Zt(u));
1505
+ t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1506
+ return O(O({}, l), Kt(u));
1486
1507
  }, {}));
1487
1508
  continue;
1488
1509
  case "engineering":
1489
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1490
- return T(T({}, l), Zt(u));
1510
+ t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1511
+ return O(O({}, l), Kt(u));
1491
1512
  }, {}));
1492
1513
  continue;
1493
1514
  case "notation-simple":
@@ -1532,7 +1553,7 @@ function xi(e) {
1532
1553
  case "integer-width":
1533
1554
  if (i.options.length > 1)
1534
1555
  throw new RangeError("integer-width stems only accept a single optional option");
1535
- i.options[0].replace(Ti, function(l, u, h, f, c, d) {
1556
+ i.options[0].replace(xi, function(l, u, h, f, c, d) {
1536
1557
  if (u)
1537
1558
  t.minimumIntegerDigits = h.length;
1538
1559
  else {
@@ -1545,28 +1566,28 @@ function xi(e) {
1545
1566
  });
1546
1567
  continue;
1547
1568
  }
1548
- if (Gr.test(i.stem)) {
1569
+ if (jr.test(i.stem)) {
1549
1570
  t.minimumIntegerDigits = i.stem.length;
1550
1571
  continue;
1551
1572
  }
1552
- if (qt.test(i.stem)) {
1573
+ if (Zt.test(i.stem)) {
1553
1574
  if (i.options.length > 1)
1554
1575
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1555
- i.stem.replace(qt, function(l, u, h, f, c, d) {
1576
+ i.stem.replace(Zt, function(l, u, h, f, c, d) {
1556
1577
  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), "";
1557
1578
  });
1558
1579
  var o = i.options[0];
1559
- o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Qt(o)));
1580
+ o === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = O(O({}, t), Jt(o)));
1560
1581
  continue;
1561
1582
  }
1562
- if (Fr.test(i.stem)) {
1563
- t = T(T({}, t), Qt(i.stem));
1583
+ if (Gr.test(i.stem)) {
1584
+ t = O(O({}, t), Jt(i.stem));
1564
1585
  continue;
1565
1586
  }
1566
- var a = jr(i.stem);
1567
- a && (t = T(T({}, t), a));
1568
- var s = Ei(i.stem);
1569
- s && (t = T(T({}, t), s));
1587
+ var a = Wr(i.stem);
1588
+ a && (t = O(O({}, t), a));
1589
+ var s = Bi(i.stem);
1590
+ s && (t = O(O({}, t), s));
1570
1591
  }
1571
1592
  return t;
1572
1593
  }
@@ -2985,13 +3006,13 @@ var ke = {
2985
3006
  "h"
2986
3007
  ]
2987
3008
  };
2988
- function Bi(e, t) {
3009
+ function Ci(e, t) {
2989
3010
  for (var r = "", n = 0; n < e.length; n++) {
2990
3011
  var i = e.charAt(n);
2991
3012
  if (i === "j") {
2992
3013
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2993
3014
  o++, n++;
2994
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Si(t);
3015
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Oi(t);
2995
3016
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2996
3017
  r += l;
2997
3018
  for (; a-- > 0; )
@@ -3001,7 +3022,7 @@ function Bi(e, t) {
3001
3022
  }
3002
3023
  return r;
3003
3024
  }
3004
- function Si(e) {
3025
+ function Oi(e) {
3005
3026
  var t = e.hourCycle;
3006
3027
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3007
3028
  e.hourCycles && // @ts-ignore
@@ -3023,20 +3044,20 @@ function Si(e) {
3023
3044
  var i = ke[n || ""] || ke[r || ""] || ke["".concat(r, "-001")] || ke["001"];
3024
3045
  return i[0];
3025
3046
  }
3026
- var ht, Ci = new RegExp("^".concat($r.source, "*")), Pi = new RegExp("".concat($r.source, "*$"));
3047
+ var ft, Pi = new RegExp("^".concat(Fr.source, "*")), Ai = new RegExp("".concat(Fr.source, "*$"));
3027
3048
  function _(e, t) {
3028
3049
  return { start: e, end: t };
3029
3050
  }
3030
- var Oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Mi = !!Object.fromEntries, Hi = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Di = !!Number.isSafeInteger, Ii = Di ? Number.isSafeInteger : function(e) {
3051
+ var Mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Ri = !!Object.fromEntries, Ni = !!String.prototype.codePointAt, Di = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Ui = Li ? Number.isSafeInteger : function(e) {
3031
3052
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3032
- }, Et = !0;
3053
+ }, Ct = !0;
3033
3054
  try {
3034
- var Li = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3035
- Et = ((ht = Li.exec("a")) === null || ht === void 0 ? void 0 : ht[0]) === "a";
3055
+ var ki = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3056
+ Ct = ((ft = ki.exec("a")) === null || ft === void 0 ? void 0 : ft[0]) === "a";
3036
3057
  } catch {
3037
- Et = !1;
3058
+ Ct = !1;
3038
3059
  }
3039
- var Jt = Oi ? (
3060
+ var er = Mi ? (
3040
3061
  // Native
3041
3062
  function(t, r, n) {
3042
3063
  return t.startsWith(r, n);
@@ -3046,7 +3067,7 @@ var Jt = Oi ? (
3046
3067
  function(t, r, n) {
3047
3068
  return t.slice(n, n + r.length) === r;
3048
3069
  }
3049
- ), xt = Ai ? String.fromCodePoint : (
3070
+ ), Ot = Hi ? String.fromCodePoint : (
3050
3071
  // IE11
3051
3072
  function() {
3052
3073
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3058,9 +3079,9 @@ var Jt = Oi ? (
3058
3079
  }
3059
3080
  return n;
3060
3081
  }
3061
- ), Kt = (
3082
+ ), tr = (
3062
3083
  // native
3063
- Mi ? Object.fromEntries : (
3084
+ Ri ? Object.fromEntries : (
3064
3085
  // Ponyfill
3065
3086
  function(t) {
3066
3087
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3070,7 +3091,7 @@ var Jt = Oi ? (
3070
3091
  return r;
3071
3092
  }
3072
3093
  )
3073
- ), Wr = Hi ? (
3094
+ ), Vr = Ni ? (
3074
3095
  // Native
3075
3096
  function(t, r) {
3076
3097
  return t.codePointAt(r);
@@ -3084,7 +3105,7 @@ var Jt = Oi ? (
3084
3105
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3085
3106
  }
3086
3107
  }
3087
- ), Ui = Ri ? (
3108
+ ), $i = Di ? (
3088
3109
  // Native
3089
3110
  function(t) {
3090
3111
  return t.trimStart();
@@ -3092,9 +3113,9 @@ var Jt = Oi ? (
3092
3113
  ) : (
3093
3114
  // Ponyfill
3094
3115
  function(t) {
3095
- return t.replace(Ci, "");
3116
+ return t.replace(Pi, "");
3096
3117
  }
3097
- ), ki = Ni ? (
3118
+ ), Fi = Ii ? (
3098
3119
  // Native
3099
3120
  function(t) {
3100
3121
  return t.trimEnd();
@@ -3102,32 +3123,32 @@ var Jt = Oi ? (
3102
3123
  ) : (
3103
3124
  // Ponyfill
3104
3125
  function(t) {
3105
- return t.replace(Pi, "");
3126
+ return t.replace(Ai, "");
3106
3127
  }
3107
3128
  );
3108
- function Vr(e, t) {
3129
+ function Yr(e, t) {
3109
3130
  return new RegExp(e, t);
3110
3131
  }
3111
- var Bt;
3112
- if (Et) {
3113
- var er = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
- Bt = function(t, r) {
3132
+ var Pt;
3133
+ if (Ct) {
3134
+ var rr = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3135
+ Pt = function(t, r) {
3115
3136
  var n;
3116
- er.lastIndex = r;
3117
- var i = er.exec(t);
3137
+ rr.lastIndex = r;
3138
+ var i = rr.exec(t);
3118
3139
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3119
3140
  };
3120
3141
  } else
3121
- Bt = function(t, r) {
3142
+ Pt = function(t, r) {
3122
3143
  for (var n = []; ; ) {
3123
- var i = Wr(t, r);
3124
- if (i === void 0 || Yr(i) || ji(i))
3144
+ var i = Vr(t, r);
3145
+ if (i === void 0 || Xr(i) || Vi(i))
3125
3146
  break;
3126
3147
  n.push(i), r += i >= 65536 ? 2 : 1;
3127
3148
  }
3128
- return xt.apply(void 0, n);
3149
+ return Ot.apply(void 0, n);
3129
3150
  };
3130
- var $i = (
3151
+ var Gi = (
3131
3152
  /** @class */
3132
3153
  function() {
3133
3154
  function e(t, r) {
@@ -3151,14 +3172,14 @@ var $i = (
3151
3172
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3152
3173
  var s = this.clonePosition();
3153
3174
  this.bump(), i.push({
3154
- type: C.pound,
3175
+ type: S.pound,
3155
3176
  location: _(s, this.clonePosition())
3156
3177
  });
3157
3178
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3158
3179
  if (n)
3159
3180
  break;
3160
3181
  return this.error(w.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3161
- } else if (o === 60 && !this.ignoreTag && St(this.peek() || 0)) {
3182
+ } else if (o === 60 && !this.ignoreTag && At(this.peek() || 0)) {
3162
3183
  var a = this.parseTag(t, r);
3163
3184
  if (a.err)
3164
3185
  return a;
@@ -3179,7 +3200,7 @@ var $i = (
3179
3200
  if (this.bumpSpace(), this.bumpIf("/>"))
3180
3201
  return {
3181
3202
  val: {
3182
- type: C.literal,
3203
+ type: S.literal,
3183
3204
  value: "<".concat(i, "/>"),
3184
3205
  location: _(n, this.clonePosition())
3185
3206
  },
@@ -3191,12 +3212,12 @@ var $i = (
3191
3212
  return o;
3192
3213
  var a = o.val, s = this.clonePosition();
3193
3214
  if (this.bumpIf("</")) {
3194
- if (this.isEOF() || !St(this.char()))
3215
+ if (this.isEOF() || !At(this.char()))
3195
3216
  return this.error(w.INVALID_TAG, _(s, this.clonePosition()));
3196
3217
  var l = this.clonePosition(), u = this.parseTagName();
3197
3218
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3198
3219
  val: {
3199
- type: C.tag,
3220
+ type: S.tag,
3200
3221
  value: i,
3201
3222
  children: a,
3202
3223
  location: _(n, this.clonePosition())
@@ -3209,7 +3230,7 @@ var $i = (
3209
3230
  return this.error(w.INVALID_TAG, _(n, this.clonePosition()));
3210
3231
  }, e.prototype.parseTagName = function() {
3211
3232
  var t = this.offset();
3212
- for (this.bump(); !this.isEOF() && Gi(this.char()); )
3233
+ for (this.bump(); !this.isEOF() && Wi(this.char()); )
3213
3234
  this.bump();
3214
3235
  return this.message.slice(t, this.offset());
3215
3236
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3233,12 +3254,12 @@ var $i = (
3233
3254
  }
3234
3255
  var l = _(n, this.clonePosition());
3235
3256
  return {
3236
- val: { type: C.literal, value: i, location: l },
3257
+ val: { type: S.literal, value: i, location: l },
3237
3258
  err: null
3238
3259
  };
3239
3260
  }, e.prototype.tryParseLeftAngleBracket = function() {
3240
3261
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3241
- !Fi(this.peek() || 0)) ? (this.bump(), "<") : null;
3262
+ !ji(this.peek() || 0)) ? (this.bump(), "<") : null;
3242
3263
  }, e.prototype.tryParseQuote = function(t) {
3243
3264
  if (this.isEOF() || this.char() !== 39)
3244
3265
  return null;
@@ -3272,12 +3293,12 @@ var $i = (
3272
3293
  r.push(n);
3273
3294
  this.bump();
3274
3295
  }
3275
- return xt.apply(void 0, r);
3296
+ return Ot.apply(void 0, r);
3276
3297
  }, e.prototype.tryParseUnquoted = function(t, r) {
3277
3298
  if (this.isEOF())
3278
3299
  return null;
3279
3300
  var n = this.char();
3280
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), xt(n));
3301
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ot(n));
3281
3302
  }, e.prototype.parseArgument = function(t, r) {
3282
3303
  var n = this.clonePosition();
3283
3304
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3293,7 +3314,7 @@ var $i = (
3293
3314
  case 125:
3294
3315
  return this.bump(), {
3295
3316
  val: {
3296
- type: C.argument,
3317
+ type: S.argument,
3297
3318
  // value does not include the opening and closing braces.
3298
3319
  value: i,
3299
3320
  location: _(n, this.clonePosition())
@@ -3306,7 +3327,7 @@ var $i = (
3306
3327
  return this.error(w.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3307
3328
  }
3308
3329
  }, e.prototype.parseIdentifierIfPossible = function() {
3309
- var t = this.clonePosition(), r = this.offset(), n = Bt(this.message, r), i = r + n.length;
3330
+ var t = this.clonePosition(), r = this.offset(), n = Pt(this.message, r), i = r + n.length;
3310
3331
  this.bumpTo(i);
3311
3332
  var o = this.clonePosition(), a = _(t, o);
3312
3333
  return { value: n, location: a };
@@ -3325,46 +3346,46 @@ var $i = (
3325
3346
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3326
3347
  if (f.err)
3327
3348
  return f;
3328
- var c = ki(f.val);
3349
+ var c = Fi(f.val);
3329
3350
  if (c.length === 0)
3330
3351
  return this.error(w.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3331
3352
  var d = _(h, this.clonePosition());
3332
3353
  u = { style: c, styleLocation: d };
3333
3354
  }
3334
- var g = this.tryParseArgumentClose(i);
3335
- if (g.err)
3336
- return g;
3337
- var p = _(i, this.clonePosition());
3338
- if (u && Jt(u?.style, "::", 0)) {
3339
- var S = Ui(u.style.slice(2));
3355
+ var p = this.tryParseArgumentClose(i);
3356
+ if (p.err)
3357
+ return p;
3358
+ var g = _(i, this.clonePosition());
3359
+ if (u && er(u?.style, "::", 0)) {
3360
+ var B = $i(u.style.slice(2));
3340
3361
  if (s === "number") {
3341
- var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3362
+ var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3342
3363
  return f.err ? f : {
3343
- val: { type: C.number, value: n, location: p, style: f.val },
3364
+ val: { type: S.number, value: n, location: g, style: f.val },
3344
3365
  err: null
3345
3366
  };
3346
3367
  } else {
3347
- if (S.length === 0)
3348
- return this.error(w.EXPECT_DATE_TIME_SKELETON, p);
3349
- var k = S;
3350
- this.locale && (k = Bi(S, this.locale));
3368
+ if (B.length === 0)
3369
+ return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
3370
+ var k = B;
3371
+ this.locale && (k = Ci(B, this.locale));
3351
3372
  var c = {
3352
- type: we.dateTime,
3373
+ type: ye.dateTime,
3353
3374
  pattern: k,
3354
3375
  location: u.styleLocation,
3355
- parsedOptions: this.shouldParseSkeletons ? vi(k) : {}
3356
- }, O = s === "date" ? C.date : C.time;
3376
+ parsedOptions: this.shouldParseSkeletons ? wi(k) : {}
3377
+ }, P = s === "date" ? S.date : S.time;
3357
3378
  return {
3358
- val: { type: O, value: n, location: p, style: c },
3379
+ val: { type: P, value: n, location: g, style: c },
3359
3380
  err: null
3360
3381
  };
3361
3382
  }
3362
3383
  }
3363
3384
  return {
3364
3385
  val: {
3365
- type: s === "number" ? C.number : s === "date" ? C.date : C.time,
3386
+ type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3366
3387
  value: n,
3367
- location: p,
3388
+ location: g,
3368
3389
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3369
3390
  },
3370
3391
  err: null
@@ -3375,7 +3396,7 @@ var $i = (
3375
3396
  case "select": {
3376
3397
  var E = this.clonePosition();
3377
3398
  if (this.bumpSpace(), !this.bumpIf(","))
3378
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(E, T({}, E)));
3399
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(E, We({}, E)));
3379
3400
  this.bumpSpace();
3380
3401
  var $ = this.parseIdentifierIfPossible(), H = 0;
3381
3402
  if (s !== "select" && $.value === "offset") {
@@ -3387,29 +3408,29 @@ var $i = (
3387
3408
  return f;
3388
3409
  this.bumpSpace(), $ = this.parseIdentifierIfPossible(), H = f.val;
3389
3410
  }
3390
- var P = this.tryParsePluralOrSelectOptions(t, s, r, $);
3391
- if (P.err)
3392
- return P;
3393
- var g = this.tryParseArgumentClose(i);
3394
- if (g.err)
3395
- return g;
3396
- var Z = _(i, this.clonePosition());
3411
+ var C = this.tryParsePluralOrSelectOptions(t, s, r, $);
3412
+ if (C.err)
3413
+ return C;
3414
+ var p = this.tryParseArgumentClose(i);
3415
+ if (p.err)
3416
+ return p;
3417
+ var J = _(i, this.clonePosition());
3397
3418
  return s === "select" ? {
3398
3419
  val: {
3399
- type: C.select,
3420
+ type: S.select,
3400
3421
  value: n,
3401
- options: Kt(P.val),
3402
- location: Z
3422
+ options: tr(C.val),
3423
+ location: J
3403
3424
  },
3404
3425
  err: null
3405
3426
  } : {
3406
3427
  val: {
3407
- type: C.plural,
3428
+ type: S.plural,
3408
3429
  value: n,
3409
- options: Kt(P.val),
3430
+ options: tr(C.val),
3410
3431
  offset: H,
3411
3432
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3412
- location: Z
3433
+ location: J
3413
3434
  },
3414
3435
  err: null
3415
3436
  };
@@ -3457,16 +3478,16 @@ var $i = (
3457
3478
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3458
3479
  var n = [];
3459
3480
  try {
3460
- n = wi(t);
3481
+ n = Ei(t);
3461
3482
  } catch {
3462
3483
  return this.error(w.INVALID_NUMBER_SKELETON, r);
3463
3484
  }
3464
3485
  return {
3465
3486
  val: {
3466
- type: we.number,
3487
+ type: ye.number,
3467
3488
  tokens: n,
3468
3489
  location: r,
3469
- parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
3490
+ parsedOptions: this.shouldParseSkeletons ? Si(n) : {}
3470
3491
  },
3471
3492
  err: null
3472
3493
  };
@@ -3488,16 +3509,16 @@ var $i = (
3488
3509
  var d = this.clonePosition();
3489
3510
  if (!this.bumpIf("{"))
3490
3511
  return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3491
- var g = this.parseMessage(t + 1, r, n);
3492
- if (g.err)
3493
- return g;
3494
- var p = this.tryParseArgumentClose(d);
3512
+ var p = this.parseMessage(t + 1, r, n);
3495
3513
  if (p.err)
3496
3514
  return p;
3515
+ var g = this.tryParseArgumentClose(d);
3516
+ if (g.err)
3517
+ return g;
3497
3518
  s.push([
3498
3519
  u,
3499
3520
  {
3500
- value: g.val,
3521
+ value: p.val,
3501
3522
  location: _(d, this.clonePosition())
3502
3523
  }
3503
3524
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
@@ -3514,7 +3535,7 @@ var $i = (
3514
3535
  break;
3515
3536
  }
3516
3537
  var l = _(i, this.clonePosition());
3517
- return o ? (a *= n, Ii(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3538
+ return o ? (a *= n, Ui(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3518
3539
  }, e.prototype.offset = function() {
3519
3540
  return this.position.offset;
3520
3541
  }, e.prototype.isEOF = function() {
@@ -3529,7 +3550,7 @@ var $i = (
3529
3550
  var t = this.position.offset;
3530
3551
  if (t >= this.message.length)
3531
3552
  throw Error("out of bound");
3532
- var r = Wr(this.message, t);
3553
+ var r = Vr(this.message, t);
3533
3554
  if (r === void 0)
3534
3555
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3535
3556
  return r;
@@ -3548,7 +3569,7 @@ var $i = (
3548
3569
  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);
3549
3570
  }
3550
3571
  }, e.prototype.bumpIf = function(t) {
3551
- if (Jt(this.message, t, this.offset())) {
3572
+ if (er(this.message, t, this.offset())) {
3552
3573
  for (var r = 0; r < t.length; r++)
3553
3574
  this.bump();
3554
3575
  return !0;
@@ -3570,7 +3591,7 @@ var $i = (
3570
3591
  break;
3571
3592
  }
3572
3593
  }, e.prototype.bumpSpace = function() {
3573
- for (; !this.isEOF() && Yr(this.char()); )
3594
+ for (; !this.isEOF() && Xr(this.char()); )
3574
3595
  this.bump();
3575
3596
  }, e.prototype.peek = function() {
3576
3597
  if (this.isEOF())
@@ -3580,47 +3601,47 @@ var $i = (
3580
3601
  }, e;
3581
3602
  }()
3582
3603
  );
3583
- function St(e) {
3604
+ function At(e) {
3584
3605
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3585
3606
  }
3586
- function Fi(e) {
3587
- return St(e) || e === 47;
3607
+ function ji(e) {
3608
+ return At(e) || e === 47;
3588
3609
  }
3589
- function Gi(e) {
3610
+ function Wi(e) {
3590
3611
  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;
3591
3612
  }
3592
- function Yr(e) {
3613
+ function Xr(e) {
3593
3614
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3594
3615
  }
3595
- function ji(e) {
3616
+ function Vi(e) {
3596
3617
  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;
3597
3618
  }
3598
- function Ct(e) {
3619
+ function Mt(e) {
3599
3620
  e.forEach(function(t) {
3600
- if (delete t.location, Ir(t) || Lr(t))
3621
+ if (delete t.location, Lr(t) || Ur(t))
3601
3622
  for (var r in t.options)
3602
- delete t.options[r].location, Ct(t.options[r].value);
3623
+ delete t.options[r].location, Mt(t.options[r].value);
3603
3624
  else
3604
- Rr(t) && kr(t.style) || (Nr(t) || Dr(t)) && Tt(t.style) ? delete t.style.location : Ur(t) && Ct(t.children);
3625
+ Nr(t) && $r(t.style) || (Dr(t) || Ir(t)) && St(t.style) ? delete t.style.location : kr(t) && Mt(t.children);
3605
3626
  });
3606
3627
  }
3607
- function Wi(e, t) {
3608
- t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3609
- var r = new $i(e, t).parse();
3628
+ function Yi(e, t) {
3629
+ t === void 0 && (t = {}), t = We({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3630
+ var r = new Gi(e, t).parse();
3610
3631
  if (r.err) {
3611
3632
  var n = SyntaxError(w[r.err.kind]);
3612
3633
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3613
3634
  }
3614
- return t?.captureLocation || Ct(r.val), r.val;
3635
+ return t?.captureLocation || Mt(r.val), r.val;
3615
3636
  }
3616
- var _e;
3637
+ var we;
3617
3638
  (function(e) {
3618
3639
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3619
- })(_e || (_e = {}));
3620
- var Ze = (
3640
+ })(we || (we = {}));
3641
+ var Ke = (
3621
3642
  /** @class */
3622
3643
  function(e) {
3623
- ne(t, e);
3644
+ Je(t, e);
3624
3645
  function t(r, n, i) {
3625
3646
  var o = e.call(this, r) || this;
3626
3647
  return o.code = n, o.originalMessage = i, o;
@@ -3629,48 +3650,48 @@ var Ze = (
3629
3650
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3630
3651
  }, t;
3631
3652
  }(Error)
3632
- ), tr = (
3653
+ ), nr = (
3633
3654
  /** @class */
3634
3655
  function(e) {
3635
- ne(t, e);
3656
+ Je(t, e);
3636
3657
  function t(r, n, i, o) {
3637
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), _e.INVALID_VALUE, o) || this;
3658
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), we.INVALID_VALUE, o) || this;
3638
3659
  }
3639
3660
  return t;
3640
- }(Ze)
3641
- ), Vi = (
3661
+ }(Ke)
3662
+ ), Xi = (
3642
3663
  /** @class */
3643
3664
  function(e) {
3644
- ne(t, e);
3665
+ Je(t, e);
3645
3666
  function t(r, n, i) {
3646
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), _e.INVALID_VALUE, i) || this;
3667
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), we.INVALID_VALUE, i) || this;
3647
3668
  }
3648
3669
  return t;
3649
- }(Ze)
3650
- ), Yi = (
3670
+ }(Ke)
3671
+ ), zi = (
3651
3672
  /** @class */
3652
3673
  function(e) {
3653
- ne(t, e);
3674
+ Je(t, e);
3654
3675
  function t(r, n) {
3655
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), _e.MISSING_VALUE, n) || this;
3676
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), we.MISSING_VALUE, n) || this;
3656
3677
  }
3657
3678
  return t;
3658
- }(Ze)
3679
+ }(Ke)
3659
3680
  ), F;
3660
3681
  (function(e) {
3661
3682
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3662
3683
  })(F || (F = {}));
3663
- function Xi(e) {
3684
+ function qi(e) {
3664
3685
  return e.length < 2 ? e : e.reduce(function(t, r) {
3665
3686
  var n = t[t.length - 1];
3666
3687
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3667
3688
  }, []);
3668
3689
  }
3669
- function zi(e) {
3690
+ function Qi(e) {
3670
3691
  return typeof e == "function";
3671
3692
  }
3672
3693
  function Ge(e, t, r, n, i, o, a) {
3673
- if (e.length === 1 && zt(e[0]))
3694
+ if (e.length === 1 && Qt(e[0]))
3674
3695
  return [
3675
3696
  {
3676
3697
  type: F.literal,
@@ -3679,14 +3700,14 @@ function Ge(e, t, r, n, i, o, a) {
3679
3700
  ];
3680
3701
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3681
3702
  var h = u[l];
3682
- if (zt(h)) {
3703
+ if (Qt(h)) {
3683
3704
  s.push({
3684
3705
  type: F.literal,
3685
3706
  value: h.value
3686
3707
  });
3687
3708
  continue;
3688
3709
  }
3689
- if (gi(h)) {
3710
+ if (vi(h)) {
3690
3711
  typeof o == "number" && s.push({
3691
3712
  type: F.literal,
3692
3713
  value: r.getNumberFormat(t).format(o)
@@ -3695,89 +3716,89 @@ function Ge(e, t, r, n, i, o, a) {
3695
3716
  }
3696
3717
  var f = h.value;
3697
3718
  if (!(i && f in i))
3698
- throw new Yi(f, a);
3719
+ throw new zi(f, a);
3699
3720
  var c = i[f];
3700
- if (bi(h)) {
3721
+ if (gi(h)) {
3701
3722
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3702
3723
  type: typeof c == "string" ? F.literal : F.object,
3703
3724
  value: c
3704
3725
  });
3705
3726
  continue;
3706
3727
  }
3707
- if (Nr(h)) {
3708
- var d = typeof h.style == "string" ? n.date[h.style] : Tt(h.style) ? h.style.parsedOptions : void 0;
3728
+ if (Dr(h)) {
3729
+ var d = typeof h.style == "string" ? n.date[h.style] : St(h.style) ? h.style.parsedOptions : void 0;
3709
3730
  s.push({
3710
3731
  type: F.literal,
3711
3732
  value: r.getDateTimeFormat(t, d).format(c)
3712
3733
  });
3713
3734
  continue;
3714
3735
  }
3715
- if (Dr(h)) {
3716
- var d = typeof h.style == "string" ? n.time[h.style] : Tt(h.style) ? h.style.parsedOptions : n.time.medium;
3736
+ if (Ir(h)) {
3737
+ var d = typeof h.style == "string" ? n.time[h.style] : St(h.style) ? h.style.parsedOptions : n.time.medium;
3717
3738
  s.push({
3718
3739
  type: F.literal,
3719
3740
  value: r.getDateTimeFormat(t, d).format(c)
3720
3741
  });
3721
3742
  continue;
3722
3743
  }
3723
- if (Rr(h)) {
3724
- var d = typeof h.style == "string" ? n.number[h.style] : kr(h.style) ? h.style.parsedOptions : void 0;
3744
+ if (Nr(h)) {
3745
+ var d = typeof h.style == "string" ? n.number[h.style] : $r(h.style) ? h.style.parsedOptions : void 0;
3725
3746
  d && d.scale && (c = c * (d.scale || 1)), s.push({
3726
3747
  type: F.literal,
3727
3748
  value: r.getNumberFormat(t, d).format(c)
3728
3749
  });
3729
3750
  continue;
3730
3751
  }
3731
- if (Ur(h)) {
3732
- var g = h.children, p = h.value, S = i[p];
3733
- if (!zi(S))
3734
- throw new Vi(p, "function", a);
3735
- var k = Ge(g, t, r, n, i, o), O = S(k.map(function(H) {
3752
+ if (kr(h)) {
3753
+ var p = h.children, g = h.value, B = i[g];
3754
+ if (!Qi(B))
3755
+ throw new Xi(g, "function", a);
3756
+ var k = Ge(p, t, r, n, i, o), P = B(k.map(function(H) {
3736
3757
  return H.value;
3737
3758
  }));
3738
- Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(H) {
3759
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(H) {
3739
3760
  return {
3740
3761
  type: typeof H == "string" ? F.literal : F.object,
3741
3762
  value: H
3742
3763
  };
3743
3764
  }));
3744
3765
  }
3745
- if (Ir(h)) {
3766
+ if (Lr(h)) {
3746
3767
  var E = h.options[c] || h.options.other;
3747
3768
  if (!E)
3748
- throw new tr(h.value, c, Object.keys(h.options), a);
3769
+ throw new nr(h.value, c, Object.keys(h.options), a);
3749
3770
  s.push.apply(s, Ge(E.value, t, r, n, i));
3750
3771
  continue;
3751
3772
  }
3752
- if (Lr(h)) {
3773
+ if (Ur(h)) {
3753
3774
  var E = h.options["=".concat(c)];
3754
3775
  if (!E) {
3755
3776
  if (!Intl.PluralRules)
3756
- throw new Ze(`Intl.PluralRules is not available in this environment.
3777
+ throw new Ke(`Intl.PluralRules is not available in this environment.
3757
3778
  Try polyfilling it using "@formatjs/intl-pluralrules"
3758
- `, _e.MISSING_INTL_API, a);
3779
+ `, we.MISSING_INTL_API, a);
3759
3780
  var $ = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3760
3781
  E = h.options[$] || h.options.other;
3761
3782
  }
3762
3783
  if (!E)
3763
- throw new tr(h.value, c, Object.keys(h.options), a);
3784
+ throw new nr(h.value, c, Object.keys(h.options), a);
3764
3785
  s.push.apply(s, Ge(E.value, t, r, n, i, c - (h.offset || 0)));
3765
3786
  continue;
3766
3787
  }
3767
3788
  }
3768
- return Xi(s);
3789
+ return qi(s);
3769
3790
  }
3770
- function qi(e, t) {
3771
- return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3772
- return r[n] = T(T({}, e[n]), t[n] || {}), r;
3791
+ function Zi(e, t) {
3792
+ return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3793
+ return r[n] = Z(Z({}, e[n]), t[n] || {}), r;
3773
3794
  }, {})) : e;
3774
3795
  }
3775
- function Qi(e, t) {
3796
+ function Ji(e, t) {
3776
3797
  return t ? Object.keys(e).reduce(function(r, n) {
3777
- return r[n] = qi(e[n], t[n]), r;
3778
- }, T({}, e)) : e;
3798
+ return r[n] = Zi(e[n], t[n]), r;
3799
+ }, Z({}, e)) : e;
3779
3800
  }
3780
- function ct(e) {
3801
+ function dt(e) {
3781
3802
  return {
3782
3803
  create: function() {
3783
3804
  return {
@@ -3791,39 +3812,39 @@ function ct(e) {
3791
3812
  }
3792
3813
  };
3793
3814
  }
3794
- function Zi(e) {
3815
+ function Ki(e) {
3795
3816
  return e === void 0 && (e = {
3796
3817
  number: {},
3797
3818
  dateTime: {},
3798
3819
  pluralRules: {}
3799
3820
  }), {
3800
- getNumberFormat: ut(function() {
3821
+ getNumberFormat: ht(function() {
3801
3822
  for (var t, r = [], n = 0; n < arguments.length; n++)
3802
3823
  r[n] = arguments[n];
3803
- return new ((t = Intl.NumberFormat).bind.apply(t, ve([void 0], r, !1)))();
3824
+ return new ((t = Intl.NumberFormat).bind.apply(t, lt([void 0], r, !1)))();
3804
3825
  }, {
3805
- cache: ct(e.number),
3806
- strategy: lt.variadic
3826
+ cache: dt(e.number),
3827
+ strategy: ct.variadic
3807
3828
  }),
3808
- getDateTimeFormat: ut(function() {
3829
+ getDateTimeFormat: ht(function() {
3809
3830
  for (var t, r = [], n = 0; n < arguments.length; n++)
3810
3831
  r[n] = arguments[n];
3811
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ve([void 0], r, !1)))();
3832
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, lt([void 0], r, !1)))();
3812
3833
  }, {
3813
- cache: ct(e.dateTime),
3814
- strategy: lt.variadic
3834
+ cache: dt(e.dateTime),
3835
+ strategy: ct.variadic
3815
3836
  }),
3816
- getPluralRules: ut(function() {
3837
+ getPluralRules: ht(function() {
3817
3838
  for (var t, r = [], n = 0; n < arguments.length; n++)
3818
3839
  r[n] = arguments[n];
3819
- return new ((t = Intl.PluralRules).bind.apply(t, ve([void 0], r, !1)))();
3840
+ return new ((t = Intl.PluralRules).bind.apply(t, lt([void 0], r, !1)))();
3820
3841
  }, {
3821
- cache: ct(e.pluralRules),
3822
- strategy: lt.variadic
3842
+ cache: dt(e.pluralRules),
3843
+ strategy: ct.variadic
3823
3844
  })
3824
3845
  };
3825
3846
  }
3826
- var Ji = (
3847
+ var eo = (
3827
3848
  /** @class */
3828
3849
  function() {
3829
3850
  function e(t, r, n, i) {
@@ -3855,13 +3876,13 @@ var Ji = (
3855
3876
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3856
3877
  var a = i || {};
3857
3878
  a.formatters;
3858
- var s = Mn(a, ["formatters"]);
3859
- this.ast = e.__parse(t, T(T({}, s), { locale: this.resolvedLocale }));
3879
+ var s = li(a, ["formatters"]);
3880
+ this.ast = e.__parse(t, Z(Z({}, s), { locale: this.resolvedLocale }));
3860
3881
  } else
3861
3882
  this.ast = t;
3862
3883
  if (!Array.isArray(this.ast))
3863
3884
  throw new TypeError("A message must be provided as a String or AST.");
3864
- this.formats = Qi(e.formats, n), this.formatters = i && i.formatters || Zi(this.formatterCache);
3885
+ this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || Ki(this.formatterCache);
3865
3886
  }
3866
3887
  return Object.defineProperty(e, "defaultLocale", {
3867
3888
  get: function() {
@@ -3874,7 +3895,7 @@ var Ji = (
3874
3895
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3875
3896
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3876
3897
  }
3877
- }, e.__parse = Wi, e.formats = {
3898
+ }, e.__parse = Yi, e.formats = {
3878
3899
  number: {
3879
3900
  integer: {
3880
3901
  maximumFractionDigits: 0
@@ -3935,7 +3956,7 @@ var Ji = (
3935
3956
  }, e;
3936
3957
  }()
3937
3958
  );
3938
- function Ki(e, t) {
3959
+ function to(e, t) {
3939
3960
  if (t == null)
3940
3961
  return;
3941
3962
  if (t in e)
@@ -3956,92 +3977,92 @@ function Ki(e, t) {
3956
3977
  n = void 0;
3957
3978
  return n;
3958
3979
  }
3959
- const se = {}, eo = (e, t, r) => r && (t in se || (se[t] = {}), e in se[t] || (se[t][e] = r), r), Xr = (e, t) => {
3980
+ const se = {}, ro = (e, t, r) => r && (t in se || (se[t] = {}), e in se[t] || (se[t][e] = r), r), zr = (e, t) => {
3960
3981
  if (t == null)
3961
3982
  return;
3962
3983
  if (t in se && e in se[t])
3963
3984
  return se[t][e];
3964
- const r = Je(t);
3985
+ const r = et(t);
3965
3986
  for (let n = 0; n < r.length; n++) {
3966
- const i = r[n], o = ro(i, e);
3987
+ const i = r[n], o = io(i, e);
3967
3988
  if (o)
3968
- return eo(e, t, o);
3989
+ return ro(e, t, o);
3969
3990
  }
3970
3991
  };
3971
- let Rt;
3972
- const Ne = Qe({});
3973
- function to(e) {
3974
- return Rt[e] || null;
3992
+ let Dt;
3993
+ const Ne = Ze({});
3994
+ function no(e) {
3995
+ return Dt[e] || null;
3975
3996
  }
3976
- function zr(e) {
3977
- return e in Rt;
3997
+ function qr(e) {
3998
+ return e in Dt;
3978
3999
  }
3979
- function ro(e, t) {
3980
- if (!zr(e))
4000
+ function io(e, t) {
4001
+ if (!qr(e))
3981
4002
  return null;
3982
- const r = to(e);
3983
- return Ki(r, t);
4003
+ const r = no(e);
4004
+ return to(r, t);
3984
4005
  }
3985
- function no(e) {
4006
+ function oo(e) {
3986
4007
  if (e == null)
3987
4008
  return;
3988
- const t = Je(e);
4009
+ const t = et(e);
3989
4010
  for (let r = 0; r < t.length; r++) {
3990
4011
  const n = t[r];
3991
- if (zr(n))
4012
+ if (qr(n))
3992
4013
  return n;
3993
4014
  }
3994
4015
  }
3995
- function qr(e, ...t) {
4016
+ function Qr(e, ...t) {
3996
4017
  delete se[e], Ne.update((r) => (r[e] = ui.all([r[e] || {}, ...t]), r));
3997
4018
  }
3998
4019
  Ee(
3999
4020
  [Ne],
4000
4021
  ([e]) => Object.keys(e)
4001
4022
  );
4002
- Ne.subscribe((e) => Rt = e);
4023
+ Ne.subscribe((e) => Dt = e);
4003
4024
  const je = {};
4004
- function io(e, t) {
4025
+ function ao(e, t) {
4005
4026
  je[e].delete(t), je[e].size === 0 && delete je[e];
4006
4027
  }
4007
- function Qr(e) {
4028
+ function Zr(e) {
4008
4029
  return je[e];
4009
4030
  }
4010
- function oo(e) {
4011
- return Je(e).map((t) => {
4012
- const r = Qr(t);
4031
+ function so(e) {
4032
+ return et(e).map((t) => {
4033
+ const r = Zr(t);
4013
4034
  return [t, r ? [...r] : []];
4014
4035
  }).filter(([, t]) => t.length > 0);
4015
4036
  }
4016
- function Pt(e) {
4017
- return e == null ? !1 : Je(e).some(
4037
+ function Ht(e) {
4038
+ return e == null ? !1 : et(e).some(
4018
4039
  (t) => {
4019
4040
  var r;
4020
- return (r = Qr(t)) == null ? void 0 : r.size;
4041
+ return (r = Zr(t)) == null ? void 0 : r.size;
4021
4042
  }
4022
4043
  );
4023
4044
  }
4024
- function ao(e, t) {
4045
+ function uo(e, t) {
4025
4046
  return Promise.all(
4026
- t.map((n) => (io(e, n), n().then((i) => i.default || i)))
4027
- ).then((n) => qr(e, ...n));
4028
- }
4029
- const Se = {};
4030
- function Zr(e) {
4031
- if (!Pt(e))
4032
- return e in Se ? Se[e] : Promise.resolve();
4033
- const t = oo(e);
4034
- return Se[e] = Promise.all(
4047
+ t.map((n) => (ao(e, n), n().then((i) => i.default || i)))
4048
+ ).then((n) => Qr(e, ...n));
4049
+ }
4050
+ const Be = {};
4051
+ function Jr(e) {
4052
+ if (!Ht(e))
4053
+ return e in Be ? Be[e] : Promise.resolve();
4054
+ const t = so(e);
4055
+ return Be[e] = Promise.all(
4035
4056
  t.map(
4036
- ([r, n]) => ao(r, n)
4057
+ ([r, n]) => uo(r, n)
4037
4058
  )
4038
4059
  ).then(() => {
4039
- if (Pt(e))
4040
- return Zr(e);
4041
- delete Se[e];
4042
- }), Se[e];
4060
+ if (Ht(e))
4061
+ return Jr(e);
4062
+ delete Be[e];
4063
+ }), Be[e];
4043
4064
  }
4044
- const so = {
4065
+ const lo = {
4045
4066
  number: {
4046
4067
  scientific: { notation: "scientific" },
4047
4068
  engineering: { notation: "engineering" },
@@ -4070,135 +4091,135 @@ const so = {
4070
4091
  timeZoneName: "short"
4071
4092
  }
4072
4093
  }
4073
- }, uo = {
4094
+ }, ho = {
4074
4095
  fallbackLocale: null,
4075
4096
  loadingDelay: 200,
4076
- formats: so,
4097
+ formats: lo,
4077
4098
  warnOnMissingMessages: !0,
4078
4099
  handleMissingMessage: void 0,
4079
4100
  ignoreTag: !0
4080
- }, lo = uo;
4081
- function Te() {
4082
- return lo;
4101
+ }, co = ho;
4102
+ function _e() {
4103
+ return co;
4083
4104
  }
4084
- const ft = Qe(!1);
4085
- var ho = Object.defineProperty, co = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
4105
+ const mt = Ze(!1);
4106
+ var fo = Object.defineProperty, mo = Object.defineProperties, bo = Object.getOwnPropertyDescriptors, ir = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, go = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vo = (e, t) => {
4086
4107
  for (var r in t || (t = {}))
4087
- mo.call(t, r) && nr(e, r, t[r]);
4088
- if (rr)
4089
- for (var r of rr(t))
4090
- bo.call(t, r) && nr(e, r, t[r]);
4108
+ po.call(t, r) && or(e, r, t[r]);
4109
+ if (ir)
4110
+ for (var r of ir(t))
4111
+ go.call(t, r) && or(e, r, t[r]);
4091
4112
  return e;
4092
- }, po = (e, t) => co(e, fo(t));
4093
- let Ot;
4094
- const We = Qe(null);
4095
- function ir(e) {
4113
+ }, yo = (e, t) => mo(e, bo(t));
4114
+ let Rt;
4115
+ const Ve = Ze(null);
4116
+ function ar(e) {
4096
4117
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4097
4118
  }
4098
- function Je(e, t = Te().fallbackLocale) {
4099
- const r = ir(e);
4100
- return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
4119
+ function et(e, t = _e().fallbackLocale) {
4120
+ const r = ar(e);
4121
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
4101
4122
  }
4102
4123
  function ce() {
4103
- return Ot ?? void 0;
4124
+ return Rt ?? void 0;
4104
4125
  }
4105
- We.subscribe((e) => {
4106
- Ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4126
+ Ve.subscribe((e) => {
4127
+ Rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4107
4128
  });
4108
- const vo = (e) => {
4109
- if (e && no(e) && Pt(e)) {
4110
- const { loadingDelay: t } = Te();
4129
+ const wo = (e) => {
4130
+ if (e && oo(e) && Ht(e)) {
4131
+ const { loadingDelay: t } = _e();
4111
4132
  let r;
4112
4133
  return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
4113
- () => ft.set(!0),
4134
+ () => mt.set(!0),
4114
4135
  t
4115
- ) : ft.set(!0), Zr(e).then(() => {
4116
- We.set(e);
4136
+ ) : mt.set(!0), Jr(e).then(() => {
4137
+ Ve.set(e);
4117
4138
  }).finally(() => {
4118
- clearTimeout(r), ft.set(!1);
4139
+ clearTimeout(r), mt.set(!1);
4119
4140
  });
4120
4141
  }
4121
- return We.set(e);
4122
- }, xe = po(go({}, We), {
4123
- set: vo
4124
- }), Ke = (e) => {
4142
+ return Ve.set(e);
4143
+ }, Te = yo(vo({}, Ve), {
4144
+ set: wo
4145
+ }), tt = (e) => {
4125
4146
  const t = /* @__PURE__ */ Object.create(null);
4126
4147
  return (n) => {
4127
4148
  const i = JSON.stringify(n);
4128
4149
  return i in t ? t[i] : t[i] = e(n);
4129
4150
  };
4130
4151
  };
4131
- var yo = Object.defineProperty, Ve = Object.getOwnPropertySymbols, Jr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
4152
+ var _o = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, It = (e, t) => {
4132
4153
  for (var r in t || (t = {}))
4133
- Jr.call(t, r) && or(e, r, t[r]);
4134
- if (Ve)
4135
- for (var r of Ve(t))
4136
- Kr.call(t, r) && or(e, r, t[r]);
4154
+ Kr.call(t, r) && sr(e, r, t[r]);
4155
+ if (Ye)
4156
+ for (var r of Ye(t))
4157
+ en.call(t, r) && sr(e, r, t[r]);
4137
4158
  return e;
4138
- }, Be = (e, t) => {
4159
+ }, xe = (e, t) => {
4139
4160
  var r = {};
4140
4161
  for (var n in e)
4141
- Jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4142
- if (e != null && Ve)
4143
- for (var n of Ve(e))
4144
- t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
4162
+ Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4163
+ if (e != null && Ye)
4164
+ for (var n of Ye(e))
4165
+ t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
4145
4166
  return r;
4146
4167
  };
4147
- const He = (e, t) => {
4148
- const { formats: r } = Te();
4168
+ const Me = (e, t) => {
4169
+ const { formats: r } = _e();
4149
4170
  if (e in r && t in r[e])
4150
4171
  return r[e][t];
4151
4172
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4152
- }, wo = Ke(
4173
+ }, Eo = tt(
4153
4174
  (e) => {
4154
- var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4175
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4155
4176
  if (r == null)
4156
4177
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4157
- return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4178
+ return n && (i = Me("number", n)), new Intl.NumberFormat(r, i);
4158
4179
  }
4159
- ), _o = Ke(
4180
+ ), To = tt(
4160
4181
  (e) => {
4161
- var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4182
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4162
4183
  if (r == null)
4163
4184
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4164
- return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4185
+ return n ? i = Me("date", n) : Object.keys(i).length === 0 && (i = Me("date", "short")), new Intl.DateTimeFormat(r, i);
4165
4186
  }
4166
- ), To = Ke(
4187
+ ), xo = tt(
4167
4188
  (e) => {
4168
- var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4189
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4169
4190
  if (r == null)
4170
4191
  throw new Error(
4171
4192
  '[svelte-i18n] A "locale" must be set to format time values'
4172
4193
  );
4173
- return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4194
+ return n ? i = Me("time", n) : Object.keys(i).length === 0 && (i = Me("time", "short")), new Intl.DateTimeFormat(r, i);
4174
4195
  }
4175
- ), Eo = (e = {}) => {
4196
+ ), Bo = (e = {}) => {
4176
4197
  var t = e, {
4177
4198
  locale: r = ce()
4178
- } = t, n = Be(t, [
4199
+ } = t, n = xe(t, [
4179
4200
  "locale"
4180
4201
  ]);
4181
- return wo(Nt({ locale: r }, n));
4182
- }, xo = (e = {}) => {
4202
+ return Eo(It({ locale: r }, n));
4203
+ }, So = (e = {}) => {
4183
4204
  var t = e, {
4184
4205
  locale: r = ce()
4185
- } = t, n = Be(t, [
4206
+ } = t, n = xe(t, [
4186
4207
  "locale"
4187
4208
  ]);
4188
- return _o(Nt({ locale: r }, n));
4189
- }, Bo = (e = {}) => {
4209
+ return To(It({ locale: r }, n));
4210
+ }, Co = (e = {}) => {
4190
4211
  var t = e, {
4191
4212
  locale: r = ce()
4192
- } = t, n = Be(t, [
4213
+ } = t, n = xe(t, [
4193
4214
  "locale"
4194
4215
  ]);
4195
- return To(Nt({ locale: r }, n));
4196
- }, So = Ke(
4216
+ return xo(It({ locale: r }, n));
4217
+ }, Oo = tt(
4197
4218
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4198
- (e, t = ce()) => new Ji(e, t, Te().formats, {
4199
- ignoreTag: Te().ignoreTag
4219
+ (e, t = ce()) => new eo(e, t, _e().formats, {
4220
+ ignoreTag: _e().ignoreTag
4200
4221
  })
4201
- ), Co = (e, t = {}) => {
4222
+ ), Po = (e, t = {}) => {
4202
4223
  var r, n, i, o;
4203
4224
  let a = t;
4204
4225
  typeof e == "object" && (a = e, e = a.id);
@@ -4211,9 +4232,9 @@ const He = (e, t) => {
4211
4232
  throw new Error(
4212
4233
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4213
4234
  );
4214
- let h = Xr(e, l);
4235
+ let h = zr(e, l);
4215
4236
  if (!h)
4216
- 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;
4237
+ 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;
4217
4238
  else if (typeof h != "string")
4218
4239
  return console.warn(
4219
4240
  `[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.`
@@ -4222,7 +4243,7 @@ const He = (e, t) => {
4222
4243
  return h;
4223
4244
  let f = h;
4224
4245
  try {
4225
- f = So(h, l).format(s);
4246
+ f = Oo(h, l).format(s);
4226
4247
  } catch (c) {
4227
4248
  c instanceof Error && console.warn(
4228
4249
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4230,22 +4251,22 @@ const He = (e, t) => {
4230
4251
  );
4231
4252
  }
4232
4253
  return f;
4233
- }, Po = (e, t) => Bo(t).format(e), Oo = (e, t) => xo(t).format(e), Ao = (e, t) => Eo(t).format(e), Mo = (e, t = ce()) => Xr(e, t), Ho = Ee([xe, Ne], () => Co);
4234
- Ee([xe], () => Po);
4235
- Ee([xe], () => Oo);
4236
- Ee([xe], () => Ao);
4237
- Ee([xe, Ne], () => Mo);
4254
+ }, Ao = (e, t) => Co(t).format(e), Mo = (e, t) => So(t).format(e), Ho = (e, t) => Bo(t).format(e), Ro = (e, t = ce()) => zr(e, t), No = Ee([Te, Ne], () => Po);
4255
+ Ee([Te], () => Ao);
4256
+ Ee([Te], () => Mo);
4257
+ Ee([Te], () => Ho);
4258
+ Ee([Te, Ne], () => Ro);
4238
4259
  window.emWidgets = { topic: Vn };
4239
- const Ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4240
- function Ye(e) {
4260
+ const Do = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4261
+ function Xe(e) {
4241
4262
  "@babel/helpers - typeof";
4242
- return Ye = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4263
+ return Xe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4243
4264
  return typeof t;
4244
4265
  } : function(t) {
4245
4266
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4246
- }, Ye(e);
4267
+ }, Xe(e);
4247
4268
  }
4248
- function te(e) {
4269
+ function re(e) {
4249
4270
  if (e === null || e === !0 || e === !1)
4250
4271
  return NaN;
4251
4272
  var t = Number(e);
@@ -4258,11 +4279,11 @@ function N(e, t) {
4258
4279
  function z(e) {
4259
4280
  N(1, arguments);
4260
4281
  var t = Object.prototype.toString.call(e);
4261
- 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));
4282
+ 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));
4262
4283
  }
4263
- function No(e, t) {
4284
+ function Io(e, t) {
4264
4285
  N(2, arguments);
4265
- var r = z(e), n = te(t);
4286
+ var r = z(e), n = re(t);
4266
4287
  if (isNaN(n))
4267
4288
  return /* @__PURE__ */ new Date(NaN);
4268
4289
  if (!n)
@@ -4272,115 +4293,115 @@ function No(e, t) {
4272
4293
  var a = o.getDate();
4273
4294
  return i >= a ? o : (r.setFullYear(o.getFullYear(), o.getMonth(), i), r);
4274
4295
  }
4275
- function Do(e, t) {
4296
+ function Lo(e, t) {
4276
4297
  N(2, arguments);
4277
- var r = z(e).getTime(), n = te(t);
4298
+ var r = z(e).getTime(), n = re(t);
4278
4299
  return new Date(r + n);
4279
4300
  }
4280
- var Io = {};
4281
- function et() {
4282
- return Io;
4301
+ var Uo = {};
4302
+ function rt() {
4303
+ return Uo;
4283
4304
  }
4284
- function Lo(e) {
4305
+ function ko(e) {
4285
4306
  var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
4286
4307
  return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
4287
4308
  }
4288
- function Qa(e) {
4309
+ function Ja(e) {
4289
4310
  N(1, arguments);
4290
4311
  var t = z(e);
4291
4312
  return t.setHours(0, 0, 0, 0), t;
4292
4313
  }
4293
- function Uo(e) {
4294
- return N(1, arguments), e instanceof Date || Ye(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4314
+ function $o(e) {
4315
+ return N(1, arguments), e instanceof Date || Xe(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4295
4316
  }
4296
- function ko(e) {
4297
- if (N(1, arguments), !Uo(e) && typeof e != "number")
4317
+ function Fo(e) {
4318
+ if (N(1, arguments), !$o(e) && typeof e != "number")
4298
4319
  return !1;
4299
4320
  var t = z(e);
4300
4321
  return !isNaN(Number(t));
4301
4322
  }
4302
- function Za(e) {
4323
+ function Ka(e) {
4303
4324
  N(1, arguments);
4304
4325
  var t = z(e);
4305
4326
  return t.setHours(23, 59, 59, 999), t;
4306
4327
  }
4307
- function $o(e, t) {
4328
+ function Go(e, t) {
4308
4329
  N(2, arguments);
4309
- var r = te(t);
4310
- return Do(e, -r);
4330
+ var r = re(t);
4331
+ return Lo(e, -r);
4311
4332
  }
4312
- var Fo = 864e5;
4313
- function Go(e) {
4333
+ var jo = 864e5;
4334
+ function Wo(e) {
4314
4335
  N(1, arguments);
4315
4336
  var t = z(e), r = t.getTime();
4316
4337
  t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
4317
4338
  var n = t.getTime(), i = r - n;
4318
- return Math.floor(i / Fo) + 1;
4339
+ return Math.floor(i / jo) + 1;
4319
4340
  }
4320
- function Xe(e) {
4341
+ function ze(e) {
4321
4342
  N(1, arguments);
4322
4343
  var t = 1, r = z(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4323
4344
  return r.setUTCDate(r.getUTCDate() - i), r.setUTCHours(0, 0, 0, 0), r;
4324
4345
  }
4325
- function en(e) {
4346
+ function tn(e) {
4326
4347
  N(1, arguments);
4327
4348
  var t = z(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4328
4349
  n.setUTCFullYear(r + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
4329
- var i = Xe(n), o = /* @__PURE__ */ new Date(0);
4350
+ var i = ze(n), o = /* @__PURE__ */ new Date(0);
4330
4351
  o.setUTCFullYear(r, 0, 4), o.setUTCHours(0, 0, 0, 0);
4331
- var a = Xe(o);
4352
+ var a = ze(o);
4332
4353
  return t.getTime() >= i.getTime() ? r + 1 : t.getTime() >= a.getTime() ? r : r - 1;
4333
4354
  }
4334
- function jo(e) {
4355
+ function Vo(e) {
4335
4356
  N(1, arguments);
4336
- var t = en(e), r = /* @__PURE__ */ new Date(0);
4357
+ var t = tn(e), r = /* @__PURE__ */ new Date(0);
4337
4358
  r.setUTCFullYear(t, 0, 4), r.setUTCHours(0, 0, 0, 0);
4338
- var n = Xe(r);
4359
+ var n = ze(r);
4339
4360
  return n;
4340
4361
  }
4341
- var Wo = 6048e5;
4342
- function Vo(e) {
4362
+ var Yo = 6048e5;
4363
+ function Xo(e) {
4343
4364
  N(1, arguments);
4344
- var t = z(e), r = Xe(t).getTime() - jo(t).getTime();
4345
- return Math.round(r / Wo) + 1;
4365
+ var t = z(e), r = ze(t).getTime() - Vo(t).getTime();
4366
+ return Math.round(r / Yo) + 1;
4346
4367
  }
4347
- function ze(e, t) {
4368
+ function qe(e, t) {
4348
4369
  var r, n, i, o, a, s, l, u;
4349
4370
  N(1, arguments);
4350
- var h = et(), f = te((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);
4371
+ var h = rt(), f = re((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);
4351
4372
  if (!(f >= 0 && f <= 6))
4352
4373
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4353
- var c = z(e), d = c.getUTCDay(), g = (d < f ? 7 : 0) + d - f;
4354
- return c.setUTCDate(c.getUTCDate() - g), c.setUTCHours(0, 0, 0, 0), c;
4374
+ var c = z(e), d = c.getUTCDay(), p = (d < f ? 7 : 0) + d - f;
4375
+ return c.setUTCDate(c.getUTCDate() - p), c.setUTCHours(0, 0, 0, 0), c;
4355
4376
  }
4356
- function tn(e, t) {
4377
+ function rn(e, t) {
4357
4378
  var r, n, i, o, a, s, l, u;
4358
4379
  N(1, arguments);
4359
- var h = z(e), f = h.getUTCFullYear(), c = et(), d = te((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);
4380
+ var h = z(e), f = h.getUTCFullYear(), c = rt(), d = re((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);
4360
4381
  if (!(d >= 1 && d <= 7))
4361
4382
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
4362
- var g = /* @__PURE__ */ new Date(0);
4363
- g.setUTCFullYear(f + 1, 0, d), g.setUTCHours(0, 0, 0, 0);
4364
- var p = ze(g, t), S = /* @__PURE__ */ new Date(0);
4365
- S.setUTCFullYear(f, 0, d), S.setUTCHours(0, 0, 0, 0);
4366
- var k = ze(S, t);
4367
- return h.getTime() >= p.getTime() ? f + 1 : h.getTime() >= k.getTime() ? f : f - 1;
4368
- }
4369
- function Yo(e, t) {
4383
+ var p = /* @__PURE__ */ new Date(0);
4384
+ p.setUTCFullYear(f + 1, 0, d), p.setUTCHours(0, 0, 0, 0);
4385
+ var g = qe(p, t), B = /* @__PURE__ */ new Date(0);
4386
+ B.setUTCFullYear(f, 0, d), B.setUTCHours(0, 0, 0, 0);
4387
+ var k = qe(B, t);
4388
+ return h.getTime() >= g.getTime() ? f + 1 : h.getTime() >= k.getTime() ? f : f - 1;
4389
+ }
4390
+ function zo(e, t) {
4370
4391
  var r, n, i, o, a, s, l, u;
4371
4392
  N(1, arguments);
4372
- var h = et(), f = te((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);
4393
+ var h = rt(), f = re((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);
4373
4394
  d.setUTCFullYear(c, 0, f), d.setUTCHours(0, 0, 0, 0);
4374
- var g = ze(d, t);
4375
- return g;
4395
+ var p = qe(d, t);
4396
+ return p;
4376
4397
  }
4377
- var Xo = 6048e5;
4378
- function zo(e, t) {
4398
+ var qo = 6048e5;
4399
+ function Qo(e, t) {
4379
4400
  N(1, arguments);
4380
- var r = z(e), n = ze(r, t).getTime() - Yo(r, t).getTime();
4381
- return Math.round(n / Xo) + 1;
4401
+ var r = z(e), n = qe(r, t).getTime() - zo(r, t).getTime();
4402
+ return Math.round(n / qo) + 1;
4382
4403
  }
4383
- function x(e, t) {
4404
+ function T(e, t) {
4384
4405
  for (var r = e < 0 ? "-" : "", n = Math.abs(e).toString(); n.length < t; )
4385
4406
  n = "0" + n;
4386
4407
  return r + n;
@@ -4389,16 +4410,16 @@ var ae = {
4389
4410
  // Year
4390
4411
  y: function(t, r) {
4391
4412
  var n = t.getUTCFullYear(), i = n > 0 ? n : 1 - n;
4392
- return x(r === "yy" ? i % 100 : i, r.length);
4413
+ return T(r === "yy" ? i % 100 : i, r.length);
4393
4414
  },
4394
4415
  // Month
4395
4416
  M: function(t, r) {
4396
4417
  var n = t.getUTCMonth();
4397
- return r === "M" ? String(n + 1) : x(n + 1, 2);
4418
+ return r === "M" ? String(n + 1) : T(n + 1, 2);
4398
4419
  },
4399
4420
  // Day of the month
4400
4421
  d: function(t, r) {
4401
- return x(t.getUTCDate(), r.length);
4422
+ return T(t.getUTCDate(), r.length);
4402
4423
  },
4403
4424
  // AM or PM
4404
4425
  a: function(t, r) {
@@ -4418,35 +4439,33 @@ var ae = {
4418
4439
  },
4419
4440
  // Hour [1-12]
4420
4441
  h: function(t, r) {
4421
- return x(t.getUTCHours() % 12 || 12, r.length);
4442
+ return T(t.getUTCHours() % 12 || 12, r.length);
4422
4443
  },
4423
4444
  // Hour [0-23]
4424
4445
  H: function(t, r) {
4425
- return x(t.getUTCHours(), r.length);
4446
+ return T(t.getUTCHours(), r.length);
4426
4447
  },
4427
4448
  // Minute
4428
4449
  m: function(t, r) {
4429
- return x(t.getUTCMinutes(), r.length);
4450
+ return T(t.getUTCMinutes(), r.length);
4430
4451
  },
4431
4452
  // Second
4432
4453
  s: function(t, r) {
4433
- return x(t.getUTCSeconds(), r.length);
4454
+ return T(t.getUTCSeconds(), r.length);
4434
4455
  },
4435
4456
  // Fraction of second
4436
4457
  S: function(t, r) {
4437
4458
  var n = r.length, i = t.getUTCMilliseconds(), o = Math.floor(i * Math.pow(10, n - 3));
4438
- return x(o, r.length);
4459
+ return T(o, r.length);
4439
4460
  }
4440
4461
  }, be = {
4441
- am: "am",
4442
- pm: "pm",
4443
4462
  midnight: "midnight",
4444
4463
  noon: "noon",
4445
4464
  morning: "morning",
4446
4465
  afternoon: "afternoon",
4447
4466
  evening: "evening",
4448
4467
  night: "night"
4449
- }, qo = {
4468
+ }, Zo = {
4450
4469
  // Era
4451
4470
  G: function(t, r, n) {
4452
4471
  var i = t.getUTCFullYear() > 0 ? 1 : 0;
@@ -4480,19 +4499,19 @@ var ae = {
4480
4499
  },
4481
4500
  // Local week-numbering year
4482
4501
  Y: function(t, r, n, i) {
4483
- var o = tn(t, i), a = o > 0 ? o : 1 - o;
4502
+ var o = rn(t, i), a = o > 0 ? o : 1 - o;
4484
4503
  if (r === "YY") {
4485
4504
  var s = a % 100;
4486
- return x(s, 2);
4505
+ return T(s, 2);
4487
4506
  }
4488
4507
  return r === "Yo" ? n.ordinalNumber(a, {
4489
4508
  unit: "year"
4490
- }) : x(a, r.length);
4509
+ }) : T(a, r.length);
4491
4510
  },
4492
4511
  // ISO week-numbering year
4493
4512
  R: function(t, r) {
4494
- var n = en(t);
4495
- return x(n, r.length);
4513
+ var n = tn(t);
4514
+ return T(n, r.length);
4496
4515
  },
4497
4516
  // Extended year. This is a single number designating the year of this calendar system.
4498
4517
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -4505,7 +4524,7 @@ var ae = {
4505
4524
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
4506
4525
  u: function(t, r) {
4507
4526
  var n = t.getUTCFullYear();
4508
- return x(n, r.length);
4527
+ return T(n, r.length);
4509
4528
  },
4510
4529
  // Quarter
4511
4530
  Q: function(t, r, n) {
@@ -4514,7 +4533,7 @@ var ae = {
4514
4533
  case "Q":
4515
4534
  return String(i);
4516
4535
  case "QQ":
4517
- return x(i, 2);
4536
+ return T(i, 2);
4518
4537
  case "Qo":
4519
4538
  return n.ordinalNumber(i, {
4520
4539
  unit: "quarter"
@@ -4544,7 +4563,7 @@ var ae = {
4544
4563
  case "q":
4545
4564
  return String(i);
4546
4565
  case "qq":
4547
- return x(i, 2);
4566
+ return T(i, 2);
4548
4567
  case "qo":
4549
4568
  return n.ordinalNumber(i, {
4550
4569
  unit: "quarter"
@@ -4603,7 +4622,7 @@ var ae = {
4603
4622
  case "L":
4604
4623
  return String(i + 1);
4605
4624
  case "LL":
4606
- return x(i + 1, 2);
4625
+ return T(i + 1, 2);
4607
4626
  case "Lo":
4608
4627
  return n.ordinalNumber(i + 1, {
4609
4628
  unit: "month"
@@ -4628,17 +4647,17 @@ var ae = {
4628
4647
  },
4629
4648
  // Local week of year
4630
4649
  w: function(t, r, n, i) {
4631
- var o = zo(t, i);
4650
+ var o = Qo(t, i);
4632
4651
  return r === "wo" ? n.ordinalNumber(o, {
4633
4652
  unit: "week"
4634
- }) : x(o, r.length);
4653
+ }) : T(o, r.length);
4635
4654
  },
4636
4655
  // ISO week of year
4637
4656
  I: function(t, r, n) {
4638
- var i = Vo(t);
4657
+ var i = Xo(t);
4639
4658
  return r === "Io" ? n.ordinalNumber(i, {
4640
4659
  unit: "week"
4641
- }) : x(i, r.length);
4660
+ }) : T(i, r.length);
4642
4661
  },
4643
4662
  // Day of the month
4644
4663
  d: function(t, r, n) {
@@ -4648,10 +4667,10 @@ var ae = {
4648
4667
  },
4649
4668
  // Day of year
4650
4669
  D: function(t, r, n) {
4651
- var i = Go(t);
4670
+ var i = Wo(t);
4652
4671
  return r === "Do" ? n.ordinalNumber(i, {
4653
4672
  unit: "dayOfYear"
4654
- }) : x(i, r.length);
4673
+ }) : T(i, r.length);
4655
4674
  },
4656
4675
  // Day of week
4657
4676
  E: function(t, r, n) {
@@ -4689,7 +4708,7 @@ var ae = {
4689
4708
  case "e":
4690
4709
  return String(a);
4691
4710
  case "ee":
4692
- return x(a, 2);
4711
+ return T(a, 2);
4693
4712
  case "eo":
4694
4713
  return n.ordinalNumber(a, {
4695
4714
  unit: "day"
@@ -4724,7 +4743,7 @@ var ae = {
4724
4743
  case "c":
4725
4744
  return String(a);
4726
4745
  case "cc":
4727
- return x(a, r.length);
4746
+ return T(a, r.length);
4728
4747
  case "co":
4729
4748
  return n.ordinalNumber(a, {
4730
4749
  unit: "day"
@@ -4759,7 +4778,7 @@ var ae = {
4759
4778
  case "i":
4760
4779
  return String(o);
4761
4780
  case "ii":
4762
- return x(o, r.length);
4781
+ return T(o, r.length);
4763
4782
  case "io":
4764
4783
  return n.ordinalNumber(o, {
4765
4784
  unit: "day"
@@ -4888,14 +4907,14 @@ var ae = {
4888
4907
  var i = t.getUTCHours() % 12;
4889
4908
  return r === "Ko" ? n.ordinalNumber(i, {
4890
4909
  unit: "hour"
4891
- }) : x(i, r.length);
4910
+ }) : T(i, r.length);
4892
4911
  },
4893
4912
  // Hour [1-24]
4894
4913
  k: function(t, r, n) {
4895
4914
  var i = t.getUTCHours();
4896
4915
  return i === 0 && (i = 24), r === "ko" ? n.ordinalNumber(i, {
4897
4916
  unit: "hour"
4898
- }) : x(i, r.length);
4917
+ }) : T(i, r.length);
4899
4918
  },
4900
4919
  // Minute
4901
4920
  m: function(t, r, n) {
@@ -4920,7 +4939,7 @@ var ae = {
4920
4939
  return "Z";
4921
4940
  switch (r) {
4922
4941
  case "X":
4923
- return sr(a);
4942
+ return lr(a);
4924
4943
  case "XXXX":
4925
4944
  case "XX":
4926
4945
  return he(a);
@@ -4935,7 +4954,7 @@ var ae = {
4935
4954
  var o = i._originalDate || t, a = o.getTimezoneOffset();
4936
4955
  switch (r) {
4937
4956
  case "x":
4938
- return sr(a);
4957
+ return lr(a);
4939
4958
  case "xxxx":
4940
4959
  case "xx":
4941
4960
  return he(a);
@@ -4952,7 +4971,7 @@ var ae = {
4952
4971
  case "O":
4953
4972
  case "OO":
4954
4973
  case "OOO":
4955
- return "GMT" + ar(a, ":");
4974
+ return "GMT" + ur(a, ":");
4956
4975
  case "OOOO":
4957
4976
  default:
4958
4977
  return "GMT" + he(a, ":");
@@ -4965,7 +4984,7 @@ var ae = {
4965
4984
  case "z":
4966
4985
  case "zz":
4967
4986
  case "zzz":
4968
- return "GMT" + ar(a, ":");
4987
+ return "GMT" + ur(a, ":");
4969
4988
  case "zzzz":
4970
4989
  default:
4971
4990
  return "GMT" + he(a, ":");
@@ -4974,33 +4993,33 @@ var ae = {
4974
4993
  // Seconds timestamp
4975
4994
  t: function(t, r, n, i) {
4976
4995
  var o = i._originalDate || t, a = Math.floor(o.getTime() / 1e3);
4977
- return x(a, r.length);
4996
+ return T(a, r.length);
4978
4997
  },
4979
4998
  // Milliseconds timestamp
4980
4999
  T: function(t, r, n, i) {
4981
5000
  var o = i._originalDate || t, a = o.getTime();
4982
- return x(a, r.length);
5001
+ return T(a, r.length);
4983
5002
  }
4984
5003
  };
4985
- function ar(e, t) {
5004
+ function ur(e, t) {
4986
5005
  var r = e > 0 ? "-" : "+", n = Math.abs(e), i = Math.floor(n / 60), o = n % 60;
4987
5006
  if (o === 0)
4988
5007
  return r + String(i);
4989
5008
  var a = t;
4990
- return r + String(i) + a + x(o, 2);
5009
+ return r + String(i) + a + T(o, 2);
4991
5010
  }
4992
- function sr(e, t) {
5011
+ function lr(e, t) {
4993
5012
  if (e % 60 === 0) {
4994
5013
  var r = e > 0 ? "-" : "+";
4995
- return r + x(Math.abs(e) / 60, 2);
5014
+ return r + T(Math.abs(e) / 60, 2);
4996
5015
  }
4997
5016
  return he(e, t);
4998
5017
  }
4999
5018
  function he(e, t) {
5000
- var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = x(Math.floor(i / 60), 2), a = x(i % 60, 2);
5019
+ var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = T(Math.floor(i / 60), 2), a = T(i % 60, 2);
5001
5020
  return n + o + r + a;
5002
5021
  }
5003
- var ur = function(t, r) {
5022
+ var hr = function(t, r) {
5004
5023
  switch (t) {
5005
5024
  case "P":
5006
5025
  return r.date({
@@ -5020,7 +5039,7 @@ var ur = function(t, r) {
5020
5039
  width: "full"
5021
5040
  });
5022
5041
  }
5023
- }, rn = function(t, r) {
5042
+ }, nn = function(t, r) {
5024
5043
  switch (t) {
5025
5044
  case "p":
5026
5045
  return r.time({
@@ -5040,10 +5059,10 @@ var ur = function(t, r) {
5040
5059
  width: "full"
5041
5060
  });
5042
5061
  }
5043
- }, Qo = function(t, r) {
5062
+ }, Jo = function(t, r) {
5044
5063
  var n = t.match(/(P+)(p+)?/) || [], i = n[1], o = n[2];
5045
5064
  if (!o)
5046
- return ur(t, r);
5065
+ return hr(t, r);
5047
5066
  var a;
5048
5067
  switch (i) {
5049
5068
  case "P":
@@ -5068,18 +5087,18 @@ var ur = function(t, r) {
5068
5087
  });
5069
5088
  break;
5070
5089
  }
5071
- return a.replace("{{date}}", ur(i, r)).replace("{{time}}", rn(o, r));
5072
- }, Zo = {
5073
- p: rn,
5074
- P: Qo
5075
- }, Jo = ["D", "DD"], Ko = ["YY", "YYYY"];
5076
- function ea(e) {
5077
- return Jo.indexOf(e) !== -1;
5078
- }
5079
- function ta(e) {
5080
- return Ko.indexOf(e) !== -1;
5081
- }
5082
- function lr(e, t, r) {
5090
+ return a.replace("{{date}}", hr(i, r)).replace("{{time}}", nn(o, r));
5091
+ }, Ko = {
5092
+ p: nn,
5093
+ P: Jo
5094
+ }, ea = ["D", "DD"], ta = ["YY", "YYYY"];
5095
+ function ra(e) {
5096
+ return ea.indexOf(e) !== -1;
5097
+ }
5098
+ function na(e) {
5099
+ return ta.indexOf(e) !== -1;
5100
+ }
5101
+ function cr(e, t, r) {
5083
5102
  if (e === "YYYY")
5084
5103
  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"));
5085
5104
  if (e === "YY")
@@ -5089,7 +5108,7 @@ function lr(e, t, r) {
5089
5108
  if (e === "DD")
5090
5109
  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"));
5091
5110
  }
5092
- var ra = {
5111
+ var ia = {
5093
5112
  lessThanXSeconds: {
5094
5113
  one: "less than a second",
5095
5114
  other: "less than {{count}} seconds"
@@ -5151,55 +5170,55 @@ var ra = {
5151
5170
  one: "almost 1 year",
5152
5171
  other: "almost {{count}} years"
5153
5172
  }
5154
- }, na = function(t, r, n) {
5155
- var i, o = ra[t];
5173
+ }, oa = function(t, r, n) {
5174
+ var i, o = ia[t];
5156
5175
  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;
5157
5176
  };
5158
- function dt(e) {
5177
+ function bt(e) {
5159
5178
  return function() {
5160
5179
  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];
5161
5180
  return n;
5162
5181
  };
5163
5182
  }
5164
- var ia = {
5183
+ var aa = {
5165
5184
  full: "EEEE, MMMM do, y",
5166
5185
  long: "MMMM do, y",
5167
5186
  medium: "MMM d, y",
5168
5187
  short: "MM/dd/yyyy"
5169
- }, oa = {
5188
+ }, sa = {
5170
5189
  full: "h:mm:ss a zzzz",
5171
5190
  long: "h:mm:ss a z",
5172
5191
  medium: "h:mm:ss a",
5173
5192
  short: "h:mm a"
5174
- }, aa = {
5193
+ }, ua = {
5175
5194
  full: "{{date}} 'at' {{time}}",
5176
5195
  long: "{{date}} 'at' {{time}}",
5177
5196
  medium: "{{date}}, {{time}}",
5178
5197
  short: "{{date}}, {{time}}"
5179
- }, sa = {
5180
- date: dt({
5181
- formats: ia,
5198
+ }, la = {
5199
+ date: bt({
5200
+ formats: aa,
5182
5201
  defaultWidth: "full"
5183
5202
  }),
5184
- time: dt({
5185
- formats: oa,
5203
+ time: bt({
5204
+ formats: sa,
5186
5205
  defaultWidth: "full"
5187
5206
  }),
5188
- dateTime: dt({
5189
- formats: aa,
5207
+ dateTime: bt({
5208
+ formats: ua,
5190
5209
  defaultWidth: "full"
5191
5210
  })
5192
- }, ua = {
5211
+ }, ha = {
5193
5212
  lastWeek: "'last' eeee 'at' p",
5194
5213
  yesterday: "'yesterday at' p",
5195
5214
  today: "'today at' p",
5196
5215
  tomorrow: "'tomorrow at' p",
5197
5216
  nextWeek: "eeee 'at' p",
5198
5217
  other: "P"
5199
- }, la = function(t, r, n, i) {
5200
- return ua[t];
5218
+ }, ca = function(t, r, n, i) {
5219
+ return ha[t];
5201
5220
  };
5202
- function Ce(e) {
5221
+ function Se(e) {
5203
5222
  return function(t, r) {
5204
5223
  var n = r != null && r.context ? String(r.context) : "standalone", i;
5205
5224
  if (n === "formatting" && e.formattingValues) {
@@ -5213,24 +5232,24 @@ function Ce(e) {
5213
5232
  return i[u];
5214
5233
  };
5215
5234
  }
5216
- var ha = {
5235
+ var fa = {
5217
5236
  narrow: ["B", "A"],
5218
5237
  abbreviated: ["BC", "AD"],
5219
5238
  wide: ["Before Christ", "Anno Domini"]
5220
- }, ca = {
5239
+ }, da = {
5221
5240
  narrow: ["1", "2", "3", "4"],
5222
5241
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
5223
5242
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
5224
- }, fa = {
5243
+ }, ma = {
5225
5244
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
5226
5245
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
5227
5246
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
5228
- }, da = {
5247
+ }, ba = {
5229
5248
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
5230
5249
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
5231
5250
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
5232
5251
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
5233
- }, ma = {
5252
+ }, pa = {
5234
5253
  narrow: {
5235
5254
  am: "a",
5236
5255
  pm: "p",
@@ -5261,7 +5280,7 @@ var ha = {
5261
5280
  evening: "evening",
5262
5281
  night: "night"
5263
5282
  }
5264
- }, ba = {
5283
+ }, ga = {
5265
5284
  narrow: {
5266
5285
  am: "a",
5267
5286
  pm: "p",
@@ -5292,7 +5311,7 @@ var ha = {
5292
5311
  evening: "in the evening",
5293
5312
  night: "at night"
5294
5313
  }
5295
- }, ga = function(t, r) {
5314
+ }, va = function(t, r) {
5296
5315
  var n = Number(t), i = n % 100;
5297
5316
  if (i > 20 || i < 10)
5298
5317
  switch (i % 10) {
@@ -5304,42 +5323,42 @@ var ha = {
5304
5323
  return n + "rd";
5305
5324
  }
5306
5325
  return n + "th";
5307
- }, pa = {
5308
- ordinalNumber: ga,
5309
- era: Ce({
5310
- values: ha,
5326
+ }, ya = {
5327
+ ordinalNumber: va,
5328
+ era: Se({
5329
+ values: fa,
5311
5330
  defaultWidth: "wide"
5312
5331
  }),
5313
- quarter: Ce({
5314
- values: ca,
5332
+ quarter: Se({
5333
+ values: da,
5315
5334
  defaultWidth: "wide",
5316
5335
  argumentCallback: function(t) {
5317
5336
  return t - 1;
5318
5337
  }
5319
5338
  }),
5320
- month: Ce({
5321
- values: fa,
5339
+ month: Se({
5340
+ values: ma,
5322
5341
  defaultWidth: "wide"
5323
5342
  }),
5324
- day: Ce({
5325
- values: da,
5343
+ day: Se({
5344
+ values: ba,
5326
5345
  defaultWidth: "wide"
5327
5346
  }),
5328
- dayPeriod: Ce({
5329
- values: ma,
5347
+ dayPeriod: Se({
5348
+ values: pa,
5330
5349
  defaultWidth: "wide",
5331
- formattingValues: ba,
5350
+ formattingValues: ga,
5332
5351
  defaultFormattingWidth: "wide"
5333
5352
  })
5334
5353
  };
5335
- function Pe(e) {
5354
+ function Ce(e) {
5336
5355
  return function(t) {
5337
5356
  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);
5338
5357
  if (!o)
5339
5358
  return null;
5340
- var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? ya(s, function(f) {
5359
+ var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? _a(s, function(f) {
5341
5360
  return f.test(a);
5342
- }) : va(s, function(f) {
5361
+ }) : wa(s, function(f) {
5343
5362
  return f.test(a);
5344
5363
  }), u;
5345
5364
  u = e.valueCallback ? e.valueCallback(l) : l, u = r.valueCallback ? r.valueCallback(u) : u;
@@ -5350,17 +5369,17 @@ function Pe(e) {
5350
5369
  };
5351
5370
  };
5352
5371
  }
5353
- function va(e, t) {
5372
+ function wa(e, t) {
5354
5373
  for (var r in e)
5355
5374
  if (e.hasOwnProperty(r) && t(e[r]))
5356
5375
  return r;
5357
5376
  }
5358
- function ya(e, t) {
5377
+ function _a(e, t) {
5359
5378
  for (var r = 0; r < e.length; r++)
5360
5379
  if (t(e[r]))
5361
5380
  return r;
5362
5381
  }
5363
- function wa(e) {
5382
+ function Ea(e) {
5364
5383
  return function(t) {
5365
5384
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.match(e.matchPattern);
5366
5385
  if (!n)
@@ -5377,37 +5396,37 @@ function wa(e) {
5377
5396
  };
5378
5397
  };
5379
5398
  }
5380
- var _a = /^(\d+)(th|st|nd|rd)?/i, Ta = /\d+/i, Ea = {
5399
+ var Ta = /^(\d+)(th|st|nd|rd)?/i, xa = /\d+/i, Ba = {
5381
5400
  narrow: /^(b|a)/i,
5382
5401
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
5383
5402
  wide: /^(before christ|before common era|anno domini|common era)/i
5384
- }, xa = {
5403
+ }, Sa = {
5385
5404
  any: [/^b/i, /^(a|c)/i]
5386
- }, Ba = {
5405
+ }, Ca = {
5387
5406
  narrow: /^[1234]/i,
5388
5407
  abbreviated: /^q[1234]/i,
5389
5408
  wide: /^[1234](th|st|nd|rd)? quarter/i
5390
- }, Sa = {
5409
+ }, Oa = {
5391
5410
  any: [/1/i, /2/i, /3/i, /4/i]
5392
- }, Ca = {
5411
+ }, Pa = {
5393
5412
  narrow: /^[jfmasond]/i,
5394
5413
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
5395
5414
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
5396
- }, Pa = {
5415
+ }, Aa = {
5397
5416
  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],
5398
5417
  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]
5399
- }, Oa = {
5418
+ }, Ma = {
5400
5419
  narrow: /^[smtwf]/i,
5401
5420
  short: /^(su|mo|tu|we|th|fr|sa)/i,
5402
5421
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
5403
5422
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
5404
- }, Aa = {
5423
+ }, Ha = {
5405
5424
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
5406
5425
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
5407
- }, Ma = {
5426
+ }, Ra = {
5408
5427
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
5409
5428
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
5410
- }, Ha = {
5429
+ }, Na = {
5411
5430
  any: {
5412
5431
  am: /^a/i,
5413
5432
  pm: /^p/i,
@@ -5418,118 +5437,118 @@ var _a = /^(\d+)(th|st|nd|rd)?/i, Ta = /\d+/i, Ea = {
5418
5437
  evening: /evening/i,
5419
5438
  night: /night/i
5420
5439
  }
5421
- }, Ra = {
5422
- ordinalNumber: wa({
5423
- matchPattern: _a,
5424
- parsePattern: Ta,
5440
+ }, Da = {
5441
+ ordinalNumber: Ea({
5442
+ matchPattern: Ta,
5443
+ parsePattern: xa,
5425
5444
  valueCallback: function(t) {
5426
5445
  return parseInt(t, 10);
5427
5446
  }
5428
5447
  }),
5429
- era: Pe({
5430
- matchPatterns: Ea,
5448
+ era: Ce({
5449
+ matchPatterns: Ba,
5431
5450
  defaultMatchWidth: "wide",
5432
- parsePatterns: xa,
5451
+ parsePatterns: Sa,
5433
5452
  defaultParseWidth: "any"
5434
5453
  }),
5435
- quarter: Pe({
5436
- matchPatterns: Ba,
5454
+ quarter: Ce({
5455
+ matchPatterns: Ca,
5437
5456
  defaultMatchWidth: "wide",
5438
- parsePatterns: Sa,
5457
+ parsePatterns: Oa,
5439
5458
  defaultParseWidth: "any",
5440
5459
  valueCallback: function(t) {
5441
5460
  return t + 1;
5442
5461
  }
5443
5462
  }),
5444
- month: Pe({
5445
- matchPatterns: Ca,
5463
+ month: Ce({
5464
+ matchPatterns: Pa,
5446
5465
  defaultMatchWidth: "wide",
5447
- parsePatterns: Pa,
5466
+ parsePatterns: Aa,
5448
5467
  defaultParseWidth: "any"
5449
5468
  }),
5450
- day: Pe({
5451
- matchPatterns: Oa,
5469
+ day: Ce({
5470
+ matchPatterns: Ma,
5452
5471
  defaultMatchWidth: "wide",
5453
- parsePatterns: Aa,
5472
+ parsePatterns: Ha,
5454
5473
  defaultParseWidth: "any"
5455
5474
  }),
5456
- dayPeriod: Pe({
5457
- matchPatterns: Ma,
5475
+ dayPeriod: Ce({
5476
+ matchPatterns: Ra,
5458
5477
  defaultMatchWidth: "any",
5459
- parsePatterns: Ha,
5478
+ parsePatterns: Na,
5460
5479
  defaultParseWidth: "any"
5461
5480
  })
5462
- }, Na = {
5481
+ }, Ia = {
5463
5482
  code: "en-US",
5464
- formatDistance: na,
5465
- formatLong: sa,
5466
- formatRelative: la,
5467
- localize: pa,
5468
- match: Ra,
5483
+ formatDistance: oa,
5484
+ formatLong: la,
5485
+ formatRelative: ca,
5486
+ localize: ya,
5487
+ match: Da,
5469
5488
  options: {
5470
5489
  weekStartsOn: 0,
5471
5490
  firstWeekContainsDate: 1
5472
5491
  }
5473
- }, Da = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ia = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, La = /^'([^]*?)'?$/, Ua = /''/g, ka = /[a-zA-Z]/;
5474
- function hr(e, t, r) {
5475
- var n, i, o, a, s, l, u, h, f, c, d, g, p, S;
5492
+ }, La = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ua = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ka = /^'([^]*?)'?$/, $a = /''/g, Fa = /[a-zA-Z]/;
5493
+ function fr(e, t, r) {
5494
+ var n, i, o, a, s, l, u, h, f, c, d, p, g, B;
5476
5495
  N(2, arguments);
5477
- var k = String(t), O = et(), E = (n = (i = void 0) !== null && i !== void 0 ? i : O.locale) !== null && n !== void 0 ? n : Na, $ = te((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);
5496
+ var k = String(t), P = rt(), E = (n = (i = void 0) !== null && i !== void 0 ? i : P.locale) !== null && n !== void 0 ? n : Ia, $ = re((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);
5478
5497
  if (!($ >= 1 && $ <= 7))
5479
5498
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
5480
- var H = te((f = (c = (d = (g = void 0) !== null && g !== void 0 ? g : void 0) !== null && d !== void 0 ? d : O.weekStartsOn) !== null && c !== void 0 ? c : (p = O.locale) === null || p === void 0 || (S = p.options) === null || S === void 0 ? void 0 : S.weekStartsOn) !== null && f !== void 0 ? f : 0);
5499
+ var H = re((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 : (g = P.locale) === null || g === void 0 || (B = g.options) === null || B === void 0 ? void 0 : B.weekStartsOn) !== null && f !== void 0 ? f : 0);
5481
5500
  if (!(H >= 0 && H <= 6))
5482
5501
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
5483
5502
  if (!E.localize)
5484
5503
  throw new RangeError("locale must contain localize property");
5485
5504
  if (!E.formatLong)
5486
5505
  throw new RangeError("locale must contain formatLong property");
5487
- var P = z(e);
5488
- if (!ko(P))
5506
+ var C = z(e);
5507
+ if (!Fo(C))
5489
5508
  throw new RangeError("Invalid time value");
5490
- var Z = Lo(P), ie = $o(P, Z), oe = {
5509
+ var J = ko(C), ie = Go(C, J), oe = {
5491
5510
  firstWeekContainsDate: $,
5492
5511
  weekStartsOn: H,
5493
5512
  locale: E,
5494
- _originalDate: P
5495
- }, J = k.match(Ia).map(function(D) {
5513
+ _originalDate: C
5514
+ }, K = k.match(Ua).map(function(D) {
5496
5515
  var I = D[0];
5497
5516
  if (I === "p" || I === "P") {
5498
- var q = Zo[I];
5517
+ var q = Ko[I];
5499
5518
  return q(D, E.formatLong);
5500
5519
  }
5501
5520
  return D;
5502
- }).join("").match(Da).map(function(D) {
5521
+ }).join("").match(La).map(function(D) {
5503
5522
  if (D === "''")
5504
5523
  return "'";
5505
5524
  var I = D[0];
5506
5525
  if (I === "'")
5507
- return $a(D);
5508
- var q = qo[I];
5526
+ return Ga(D);
5527
+ var q = Zo[I];
5509
5528
  if (q)
5510
- return ta(D) && lr(D, t, String(e)), ea(D) && lr(D, t, String(e)), q(ie, D, E.localize, oe);
5511
- if (I.match(ka))
5529
+ return na(D) && cr(D, t, String(e)), ra(D) && cr(D, t, String(e)), q(ie, D, E.localize, oe);
5530
+ if (I.match(Fa))
5512
5531
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + I + "`");
5513
5532
  return D;
5514
5533
  }).join("");
5515
- return J;
5534
+ return K;
5516
5535
  }
5517
- function $a(e) {
5518
- var t = e.match(La);
5519
- return t ? t[1].replace(Ua, "'") : e;
5536
+ function Ga(e) {
5537
+ var t = e.match(ka);
5538
+ return t ? t[1].replace($a, "'") : e;
5520
5539
  }
5521
- function Ja(e, t) {
5540
+ function es(e, t) {
5522
5541
  N(2, arguments);
5523
- var r = te(t);
5524
- return No(e, -r);
5542
+ var r = re(t);
5543
+ return Io(e, -r);
5525
5544
  }
5526
- function cr(e, t) {
5527
- qr(e, t);
5545
+ function dr(e, t) {
5546
+ Qr(e, t);
5528
5547
  }
5529
- function Fa(e) {
5530
- xe.set(e);
5548
+ function ja(e) {
5549
+ Te.set(e);
5531
5550
  }
5532
- const fr = {
5551
+ const mr = {
5533
5552
  en: {
5534
5553
  date: "Granted date:",
5535
5554
  bonusName: "Bonus Name",
@@ -5806,14 +5825,14 @@ const fr = {
5806
5825
  oddsBoost: "Odds Boost"
5807
5826
  }
5808
5827
  };
5809
- function Ga(e) {
5810
- 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}");
5828
+ function Wa(e) {
5829
+ un(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}");
5811
5830
  }
5812
- function dr(e) {
5831
+ function br(e) {
5813
5832
  let t, r, n;
5814
5833
  return {
5815
5834
  c() {
5816
- t = B("div"), r = B("img"), v(r, "class", "BonusImage"), Ut(r.src, n = /*termsandconditionsasset*/
5835
+ t = x("div"), r = x("img"), v(r, "class", "BonusImage"), $t(r.src, n = /*termsandconditionsasset*/
5817
5836
  e[9]) || v(r, "src", n), v(
5818
5837
  r,
5819
5838
  "alt",
@@ -5826,7 +5845,7 @@ function dr(e) {
5826
5845
  },
5827
5846
  p(i, o) {
5828
5847
  o & /*termsandconditionsasset*/
5829
- 512 && !Ut(r.src, n = /*termsandconditionsasset*/
5848
+ 512 && !$t(r.src, n = /*termsandconditionsasset*/
5830
5849
  i[9]) && v(r, "src", n), o & /*termsandconditionsdescription*/
5831
5850
  1024 && v(
5832
5851
  r,
@@ -5836,11 +5855,11 @@ function dr(e) {
5836
5855
  );
5837
5856
  },
5838
5857
  d(i) {
5839
- i && re(t);
5858
+ i && ne(t);
5840
5859
  }
5841
5860
  };
5842
5861
  }
5843
- function mr(e) {
5862
+ function pr(e) {
5844
5863
  let t, r, n = (
5845
5864
  /*$_*/
5846
5865
  e[15]("bonusAmount") + ""
@@ -5853,7 +5872,7 @@ function mr(e) {
5853
5872
  ), h, f;
5854
5873
  return {
5855
5874
  c() {
5856
- t = B("div"), r = B("p"), i = M(n), o = L(), a = B("p"), s = M(
5875
+ t = x("div"), r = x("p"), i = M(n), o = L(), a = x("p"), s = M(
5857
5876
  /*bonusamount*/
5858
5877
  e[4]
5859
5878
  ), l = L(), h = M(u), v(r, "class", "BonusCardRowTitle"), v(a, "class", "BonusCardRowText"), v(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5880,11 +5899,11 @@ function mr(e) {
5880
5899
  c[15]("bonusAmount")}`) && v(t, "class", f);
5881
5900
  },
5882
5901
  d(c) {
5883
- c && re(t);
5902
+ c && ne(t);
5884
5903
  }
5885
5904
  };
5886
5905
  }
5887
- function br(e) {
5906
+ function gr(e) {
5888
5907
  let t, r, n = (
5889
5908
  /*$_*/
5890
5909
  e[15]("wageringAmount") + ""
@@ -5897,7 +5916,7 @@ function br(e) {
5897
5916
  ), h, f;
5898
5917
  return {
5899
5918
  c() {
5900
- t = B("div"), r = B("p"), i = M(n), o = L(), a = B("p"), s = M(
5919
+ t = x("div"), r = x("p"), i = M(n), o = L(), a = x("p"), s = M(
5901
5920
  /*bonuswageringamount*/
5902
5921
  e[5]
5903
5922
  ), l = L(), h = M(u), v(r, "class", "BonusCardRowTitle"), v(a, "class", "BonusCardRowText"), v(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5926,11 +5945,11 @@ function br(e) {
5926
5945
  c[3]}`) && v(t, "class", f);
5927
5946
  },
5928
5947
  d(c) {
5929
- c && re(t);
5948
+ c && ne(t);
5930
5949
  }
5931
5950
  };
5932
5951
  }
5933
- function gr(e) {
5952
+ function vr(e) {
5934
5953
  let t, r, n = (
5935
5954
  /*$_*/
5936
5955
  e[15]("remainingBonus") + ""
@@ -5943,7 +5962,7 @@ function gr(e) {
5943
5962
  ), h, f;
5944
5963
  return {
5945
5964
  c() {
5946
- t = B("div"), r = B("p"), i = M(n), o = L(), a = B("p"), s = M(
5965
+ t = x("div"), r = x("p"), i = M(n), o = L(), a = x("p"), s = M(
5947
5966
  /*bonusremainingamount*/
5948
5967
  e[6]
5949
5968
  ), l = L(), h = M(u), v(r, "class", "BonusCardRowTitle"), v(a, "class", "BonusCardRowText"), v(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5970,18 +5989,18 @@ function gr(e) {
5970
5989
  c[15]("remainingBonus")}`) && v(t, "class", f);
5971
5990
  },
5972
5991
  d(c) {
5973
- c && re(t);
5992
+ c && ne(t);
5974
5993
  }
5975
5994
  };
5976
5995
  }
5977
- function pr(e) {
5996
+ function yr(e) {
5978
5997
  let t, r, n = (
5979
5998
  /*$_*/
5980
5999
  e[15]("termsConditionsLink") + ""
5981
6000
  ), i, o;
5982
6001
  return {
5983
6002
  c() {
5984
- t = B("div"), r = B("a"), i = M(n), v(r, "class", "ButtonTermsAndConditions"), v(
6003
+ t = x("div"), r = x("a"), i = M(n), v(r, "class", "ButtonTermsAndConditions"), v(
5985
6004
  r,
5986
6005
  "href",
5987
6006
  /*termsandconditionsurl*/
@@ -6006,22 +6025,22 @@ function pr(e) {
6006
6025
  a[15]("termsConditionsLink")}`) && v(t, "class", o);
6007
6026
  },
6008
6027
  d(a) {
6009
- a && re(t);
6028
+ a && ne(t);
6010
6029
  }
6011
6030
  };
6012
6031
  }
6013
- function vr(e) {
6032
+ function wr(e) {
6014
6033
  let t, r = (
6015
6034
  /*$_*/
6016
6035
  e[15]("forfeitBonus") + ""
6017
6036
  ), n, i, o;
6018
6037
  return {
6019
6038
  c() {
6020
- t = B("button"), n = M(r), v(t, "class", "DeleteBonus " + /*isMobile*/
6039
+ t = x("button"), n = M(r), v(t, "class", "DeleteBonus " + /*isMobile*/
6021
6040
  (e[16] ? "DeleteBonusMobile" : ""));
6022
6041
  },
6023
6042
  m(a, s) {
6024
- ue(a, t, s), m(t, n), i || (o = hn(
6043
+ ue(a, t, s), m(t, n), i || (o = cn(
6025
6044
  t,
6026
6045
  "click",
6027
6046
  /*deleteBonus*/
@@ -6034,154 +6053,154 @@ function vr(e) {
6034
6053
  a[15]("forfeitBonus") + "") && U(n, r);
6035
6054
  },
6036
6055
  d(a) {
6037
- a && re(t), i = !1, o();
6056
+ a && ne(t), i = !1, o();
6038
6057
  }
6039
6058
  };
6040
6059
  }
6041
- function ja(e) {
6060
+ function Va(e) {
6042
6061
  let t, r, n, i, o = (
6043
6062
  /*$_*/
6044
6063
  e[15]("date") + ""
6045
- ), a, s, l, u = hr(new Date(
6064
+ ), a, s, l, u = fr(new Date(
6046
6065
  /*bonusdate*/
6047
6066
  e[0]
6048
6067
  ), "dd/MM/yyyy h:mm a") + "", h, f, c, d = (
6049
6068
  /*$_*/
6050
6069
  e[15](`${/*bonusstatus*/
6051
6070
  e[1]}`) + ""
6052
- ), g, p, S, k, O, E, $, H = (
6071
+ ), p, g, B, k, P, E, $, H = (
6053
6072
  /*$_*/
6054
6073
  e[15]("bonusName") + ""
6055
- ), P, Z, ie, oe, J, D, I, q, fe = (
6074
+ ), C, J, ie, oe, K, D, I, q, fe = (
6056
6075
  /*$_*/
6057
6076
  e[15]("bonusType") + ""
6058
- ), b, K, le, De = (
6077
+ ), b, ee, le, De = (
6059
6078
  /*$_*/
6060
6079
  e[15](`${/*bonustype*/
6061
6080
  e[3]}`) + ""
6062
- ), tt, Ie, Dt, rt, nt, it, It, G = (
6081
+ ), nt, Ie, Lt, it, ot, at, Ut, G = (
6063
6082
  /*showBonusImage*/
6064
- e[14] === !0 && dr(e)
6083
+ e[14] === !0 && br(e)
6065
6084
  ), j = (
6066
6085
  /*bonusamount*/
6067
- e[4] && mr(e)
6086
+ e[4] && pr(e)
6068
6087
  ), W = (
6069
6088
  /*bonuswageringamount*/
6070
- e[5] && br(e)
6089
+ e[5] && gr(e)
6071
6090
  ), V = (
6072
6091
  /*bonusremainingamount*/
6073
- e[6] && gr(e)
6092
+ e[6] && vr(e)
6074
6093
  ), Y = (
6075
6094
  /*showtermsandconditions*/
6076
- e[13] && pr(e)
6095
+ e[13] && yr(e)
6077
6096
  ), X = (
6078
6097
  /*bonusstatus*/
6079
- e[1] === "active" && vr(e)
6098
+ e[1] === "active" && wr(e)
6080
6099
  );
6081
6100
  return {
6082
6101
  c() {
6083
- t = B("div"), r = B("div"), n = B("div"), i = B("p"), a = M(o), s = L(), l = B("span"), h = M(u), f = L(), c = B("p"), g = M(d), k = L(), G && G.c(), O = L(), E = B("div"), $ = B("p"), P = M(H), Z = L(), ie = B("p"), oe = M(
6102
+ t = x("div"), r = x("div"), n = x("div"), i = x("p"), a = M(o), s = L(), l = x("span"), h = M(u), f = L(), c = x("p"), p = M(d), k = L(), G && G.c(), P = L(), E = x("div"), $ = x("p"), C = M(H), J = L(), ie = x("p"), oe = M(
6084
6103
  /*bonusname*/
6085
6104
  e[2]
6086
- ), D = L(), I = B("div"), q = B("p"), b = M(fe), K = L(), le = B("p"), tt = M(De), Dt = L(), j && j.c(), rt = L(), W && W.c(), nt = L(), V && V.c(), it = L(), Y && Y.c(), It = L(), X && X.c(), v(i, "class", "BonusCardRowTitle"), v(c, "class", p = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6105
+ ), D = L(), I = x("div"), q = x("p"), b = M(fe), ee = L(), le = x("p"), nt = M(De), Lt = L(), j && j.c(), it = L(), W && W.c(), ot = L(), V && V.c(), at = L(), Y && Y.c(), Ut = L(), X && X.c(), v(i, "class", "BonusCardRowTitle"), v(c, "class", g = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6087
6106
  (e[1] === "active" || /*bonusstatus*/
6088
6107
  e[1] === "released" ? "StatusActive" : "") + " " + /*bonusstatus*/
6089
6108
  (e[1] === "expired" ? "StatusExpired" : "") + " " + /*bonusstatus*/
6090
- (e[1] === "forfeited" ? "StatusForfeited" : "")), v(n, "class", S = `BonusCardRow Date ${/*$_*/
6091
- e[15]("date")}`), v($, "class", "BonusCardRowTitle"), v(ie, "class", "BonusCardRowText"), v(E, "class", J = `BonusCardRow ${/*$_*/
6109
+ (e[1] === "forfeited" ? "StatusForfeited" : "")), v(n, "class", B = `BonusCardRow Date ${/*$_*/
6110
+ e[15]("date")}`), v($, "class", "BonusCardRowTitle"), v(ie, "class", "BonusCardRowText"), v(E, "class", K = `BonusCardRow ${/*$_*/
6092
6111
  e[15]("bonusName")}`), v(q, "class", "BonusCardRowTitle"), v(le, "class", "BonusCardRowText TextCapitalize"), v(I, "class", Ie = `BonusCardRow ${/*$_*/
6093
6112
  e[15]("bonusType")}`), v(r, "class", "BonusCardInfo"), v(t, "class", "BonusCard");
6094
6113
  },
6095
6114
  m(y, R) {
6096
- ue(y, t, R), 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, g), m(r, k), G && G.m(r, null), m(r, O), m(r, E), m(E, $), m($, P), m(E, Z), m(E, ie), m(ie, oe), m(r, D), m(r, I), m(I, q), m(q, b), m(I, K), m(I, le), m(le, tt), m(r, Dt), j && j.m(r, null), m(r, rt), W && W.m(r, null), m(r, nt), V && V.m(r, null), m(r, it), Y && Y.m(r, null), m(t, It), X && X.m(t, null), e[24](t);
6115
+ ue(y, t, R), 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, k), G && G.m(r, null), m(r, P), m(r, E), m(E, $), m($, C), m(E, J), m(E, ie), m(ie, oe), m(r, D), m(r, I), m(I, q), m(q, b), m(I, ee), m(I, le), m(le, nt), m(r, Lt), j && j.m(r, null), m(r, it), W && W.m(r, null), m(r, ot), V && V.m(r, null), m(r, at), Y && Y.m(r, null), m(t, Ut), X && X.m(t, null), e[24](t);
6097
6116
  },
6098
6117
  p(y, [R]) {
6099
6118
  R & /*$_*/
6100
6119
  32768 && o !== (o = /*$_*/
6101
6120
  y[15]("date") + "") && U(a, o), R & /*bonusdate*/
6102
- 1 && u !== (u = hr(new Date(
6121
+ 1 && u !== (u = fr(new Date(
6103
6122
  /*bonusdate*/
6104
6123
  y[0]
6105
6124
  ), "dd/MM/yyyy h:mm a") + "") && U(h, u), R & /*$_, bonusstatus*/
6106
6125
  32770 && d !== (d = /*$_*/
6107
6126
  y[15](`${/*bonusstatus*/
6108
- y[1]}`) + "") && U(g, d), R & /*bonusstatus*/
6109
- 2 && p !== (p = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6127
+ y[1]}`) + "") && U(p, d), R & /*bonusstatus*/
6128
+ 2 && g !== (g = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6110
6129
  (y[1] === "active" || /*bonusstatus*/
6111
6130
  y[1] === "released" ? "StatusActive" : "") + " " + /*bonusstatus*/
6112
6131
  (y[1] === "expired" ? "StatusExpired" : "") + " " + /*bonusstatus*/
6113
- (y[1] === "forfeited" ? "StatusForfeited" : "")) && v(c, "class", p), R & /*$_*/
6114
- 32768 && S !== (S = `BonusCardRow Date ${/*$_*/
6115
- y[15]("date")}`) && v(n, "class", S), /*showBonusImage*/
6116
- y[14] === !0 ? G ? G.p(y, R) : (G = dr(y), G.c(), G.m(r, O)) : G && (G.d(1), G = null), R & /*$_*/
6132
+ (y[1] === "forfeited" ? "StatusForfeited" : "")) && v(c, "class", g), R & /*$_*/
6133
+ 32768 && B !== (B = `BonusCardRow Date ${/*$_*/
6134
+ y[15]("date")}`) && v(n, "class", B), /*showBonusImage*/
6135
+ y[14] === !0 ? G ? G.p(y, R) : (G = br(y), G.c(), G.m(r, P)) : G && (G.d(1), G = null), R & /*$_*/
6117
6136
  32768 && H !== (H = /*$_*/
6118
- y[15]("bonusName") + "") && U(P, H), R & /*bonusname*/
6137
+ y[15]("bonusName") + "") && U(C, H), R & /*bonusname*/
6119
6138
  4 && U(
6120
6139
  oe,
6121
6140
  /*bonusname*/
6122
6141
  y[2]
6123
6142
  ), R & /*$_*/
6124
- 32768 && J !== (J = `BonusCardRow ${/*$_*/
6125
- y[15]("bonusName")}`) && v(E, "class", J), R & /*$_*/
6143
+ 32768 && K !== (K = `BonusCardRow ${/*$_*/
6144
+ y[15]("bonusName")}`) && v(E, "class", K), R & /*$_*/
6126
6145
  32768 && fe !== (fe = /*$_*/
6127
6146
  y[15]("bonusType") + "") && U(b, fe), R & /*$_, bonustype*/
6128
6147
  32776 && De !== (De = /*$_*/
6129
6148
  y[15](`${/*bonustype*/
6130
- y[3]}`) + "") && U(tt, De), R & /*$_*/
6149
+ y[3]}`) + "") && U(nt, De), R & /*$_*/
6131
6150
  32768 && Ie !== (Ie = `BonusCardRow ${/*$_*/
6132
6151
  y[15]("bonusType")}`) && v(I, "class", Ie), /*bonusamount*/
6133
- y[4] ? j ? j.p(y, R) : (j = mr(y), j.c(), j.m(r, rt)) : j && (j.d(1), j = null), /*bonuswageringamount*/
6134
- y[5] ? W ? W.p(y, R) : (W = br(y), W.c(), W.m(r, nt)) : W && (W.d(1), W = null), /*bonusremainingamount*/
6135
- y[6] ? V ? V.p(y, R) : (V = gr(y), V.c(), V.m(r, it)) : V && (V.d(1), V = null), /*showtermsandconditions*/
6136
- y[13] ? Y ? Y.p(y, R) : (Y = pr(y), Y.c(), Y.m(r, null)) : Y && (Y.d(1), Y = null), /*bonusstatus*/
6137
- y[1] === "active" ? X ? X.p(y, R) : (X = vr(y), X.c(), X.m(t, null)) : X && (X.d(1), X = null);
6152
+ y[4] ? j ? j.p(y, R) : (j = pr(y), j.c(), j.m(r, it)) : j && (j.d(1), j = null), /*bonuswageringamount*/
6153
+ y[5] ? W ? W.p(y, R) : (W = gr(y), W.c(), W.m(r, ot)) : W && (W.d(1), W = null), /*bonusremainingamount*/
6154
+ y[6] ? V ? V.p(y, R) : (V = vr(y), V.c(), V.m(r, at)) : V && (V.d(1), V = null), /*showtermsandconditions*/
6155
+ y[13] ? Y ? Y.p(y, R) : (Y = yr(y), Y.c(), Y.m(r, null)) : Y && (Y.d(1), Y = null), /*bonusstatus*/
6156
+ y[1] === "active" ? X ? X.p(y, R) : (X = wr(y), X.c(), X.m(t, null)) : X && (X.d(1), X = null);
6138
6157
  },
6139
6158
  i: Q,
6140
6159
  o: Q,
6141
6160
  d(y) {
6142
- y && re(t), G && G.d(), j && j.d(), W && W.d(), V && V.d(), Y && Y.d(), X && X.d(), e[24](null);
6161
+ y && ne(t), G && G.d(), j && j.d(), W && W.d(), V && V.d(), Y && Y.d(), X && X.d(), e[24](null);
6143
6162
  }
6144
6163
  };
6145
6164
  }
6146
- function Wa(e, t, r) {
6165
+ function Ya(e, t, r) {
6147
6166
  let n;
6148
- an(e, Ho, (b) => r(15, n = b));
6149
- 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: g = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: S } = t, { translationurl: k = "" } = t, { termsandconditionsurl: O = "" } = t, { termsandconditionsasset: E = "" } = t, { termsandconditionsdescription: $ = "" } = t, { currencylocale: H = "" } = t, P, Z = window.navigator.userAgent, ie = Ro(Z) !== "PC", oe = !1, J = !0;
6167
+ sn(e, No, (b) => r(15, n = b));
6168
+ 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: g = "" } = t, { mbsource: B } = t, { translationurl: k = "" } = t, { termsandconditionsurl: P = "" } = t, { termsandconditionsasset: E = "" } = t, { termsandconditionsdescription: $ = "" } = t, { currencylocale: H = "" } = t, C, J = window.navigator.userAgent, ie = Do(J) !== "PC", oe = !1, K = !0;
6150
6169
  const D = () => {
6151
- fetch(k).then((K) => K.json()).then((K) => {
6152
- Object.keys(K).forEach((le) => {
6153
- cr(le, K[le]);
6170
+ fetch(k).then((ee) => ee.json()).then((ee) => {
6171
+ Object.keys(ee).forEach((le) => {
6172
+ dr(le, ee[le]);
6154
6173
  });
6155
- }).catch((K) => {
6156
- console.log(K);
6174
+ }).catch((ee) => {
6175
+ console.log(ee);
6157
6176
  });
6158
6177
  };
6159
- Object.keys(fr).forEach((b) => {
6160
- cr(b, fr[b]);
6178
+ Object.keys(mr).forEach((b) => {
6179
+ dr(b, mr[b]);
6161
6180
  });
6162
6181
  const I = () => {
6163
6182
  window.postMessage({ type: "DisableScroll" }, window.location.href), window.postMessage({ type: "DeleteActiveBonus", bonuswalletid: i }, window.location.href);
6164
6183
  }, q = () => {
6165
- Fa(d);
6184
+ ja(d);
6166
6185
  };
6167
- mn(() => () => {
6186
+ bn(() => () => {
6168
6187
  });
6169
6188
  function fe(b) {
6170
- mt[b ? "unshift" : "push"](() => {
6171
- P = b, r(12, P);
6189
+ pt[b ? "unshift" : "push"](() => {
6190
+ C = b, r(12, C);
6172
6191
  });
6173
6192
  }
6174
6193
  return e.$$set = (b) => {
6175
- "bonuswalletid" in b && r(18, 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(19, d = b.lang), "clientstyling" in b && r(20, g = b.clientstyling), "clientstylingurl" in b && r(21, p = b.clientstylingurl), "mbsource" in b && r(22, S = b.mbsource), "translationurl" in b && r(23, k = b.translationurl), "termsandconditionsurl" in b && r(8, O = b.termsandconditionsurl), "termsandconditionsasset" in b && r(9, E = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(10, $ = b.termsandconditionsdescription), "currencylocale" in b && r(11, H = b.currencylocale);
6194
+ "bonuswalletid" in b && r(18, 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(19, d = b.lang), "clientstyling" in b && r(20, p = b.clientstyling), "clientstylingurl" in b && r(21, g = b.clientstylingurl), "mbsource" in b && r(22, B = b.mbsource), "translationurl" in b && r(23, k = b.translationurl), "termsandconditionsurl" in b && r(8, P = b.termsandconditionsurl), "termsandconditionsasset" in b && r(9, E = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(10, $ = b.termsandconditionsdescription), "currencylocale" in b && r(11, H = b.currencylocale);
6176
6195
  }, e.$$.update = () => {
6177
6196
  e.$$.dirty & /*lang*/
6178
6197
  524288 && d && q(), e.$$.dirty & /*clientstyling, customStylingContainer*/
6179
- 1052672 && g && P && Pn(P, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
6180
- 2101248 && p && P && On(P, p), e.$$.dirty & /*mbsource, customStylingContainer*/
6181
- 4198400 && S && P && An(P, `${S}.Style`), e.$$.dirty & /*translationurl*/
6198
+ 1052672 && p && C && Pn(C, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
6199
+ 2101248 && g && C && An(C, g), e.$$.dirty & /*mbsource, customStylingContainer*/
6200
+ 4198400 && B && C && Mn(C, `${B}.Style`), e.$$.dirty & /*translationurl*/
6182
6201
  8388608 && k && D(), e.$$.dirty & /*termsandconditionsasset*/
6183
- 512 && r(14, J = !(E === null || E === "")), e.$$.dirty & /*termsandconditionsurl*/
6184
- 256 && r(13, oe = O !== null && O !== "");
6202
+ 512 && r(14, K = !(E === null || E === "")), e.$$.dirty & /*termsandconditionsurl*/
6203
+ 256 && r(13, oe = P !== null && P !== "");
6185
6204
  }, [
6186
6205
  o,
6187
6206
  a,
@@ -6191,33 +6210,33 @@ function Wa(e, t, r) {
6191
6210
  h,
6192
6211
  f,
6193
6212
  c,
6194
- O,
6213
+ P,
6195
6214
  E,
6196
6215
  $,
6197
6216
  H,
6198
- P,
6217
+ C,
6199
6218
  oe,
6200
- J,
6219
+ K,
6201
6220
  n,
6202
6221
  ie,
6203
6222
  I,
6204
6223
  i,
6205
6224
  d,
6206
- g,
6207
6225
  p,
6208
- S,
6226
+ g,
6227
+ B,
6209
6228
  k,
6210
6229
  fe
6211
6230
  ];
6212
6231
  }
6213
- class nn extends Sn {
6232
+ class on extends Cn {
6214
6233
  constructor(t) {
6215
- super(), xn(
6234
+ super(), Bn(
6216
6235
  this,
6217
6236
  t,
6218
- Wa,
6219
- ja,
6220
- wr,
6237
+ Ya,
6238
+ Va,
6239
+ Er,
6221
6240
  {
6222
6241
  bonuswalletid: 18,
6223
6242
  bonusdate: 0,
@@ -6238,7 +6257,7 @@ class nn extends Sn {
6238
6257
  termsandconditionsdescription: 10,
6239
6258
  currencylocale: 11
6240
6259
  },
6241
- Ga
6260
+ Wa
6242
6261
  );
6243
6262
  }
6244
6263
  get bonuswalletid() {
@@ -6350,45 +6369,45 @@ class nn extends Sn {
6350
6369
  this.$$set({ currencylocale: t }), A();
6351
6370
  }
6352
6371
  }
6353
- Bn(nn, { bonuswalletid: {}, bonusdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {} }, [], [], !0);
6354
- const Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6372
+ Sn(on, { bonuswalletid: {}, bonusdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {} }, [], [], !0);
6373
+ const ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6355
6374
  __proto__: null,
6356
- default: nn
6375
+ default: on
6357
6376
  }, Symbol.toStringTag, { value: "Module" }));
6358
6377
  export {
6359
- xe as $,
6360
- m as A,
6361
- hn as B,
6362
- U as C,
6363
- Ya as D,
6364
- qa as E,
6365
- Va as F,
6366
- Re as G,
6367
- Xa as H,
6368
- Ka as P,
6369
- Sn as S,
6370
- qr as a,
6371
- sn as b,
6372
- Bn as c,
6373
- ue as d,
6374
- B as e,
6378
+ Te as $,
6379
+ Za as A,
6380
+ Xa as B,
6381
+ He as C,
6382
+ qa as D,
6383
+ No as E,
6384
+ Pn as F,
6385
+ An as G,
6386
+ Mn as H,
6387
+ ts as P,
6388
+ Cn as S,
6389
+ Qr as a,
6390
+ un as b,
6391
+ Sn as c,
6392
+ ne as d,
6393
+ ue as e,
6375
6394
  A as f,
6376
- re as g,
6377
- an as h,
6378
- xn as i,
6379
- Ro as j,
6380
- hr as k,
6381
- Ja as l,
6382
- On as m,
6395
+ x as g,
6396
+ sn as h,
6397
+ Bn as i,
6398
+ Do as j,
6399
+ fr as k,
6400
+ es as l,
6401
+ Ja as m,
6383
6402
  Q as n,
6384
- mn as o,
6385
- An as p,
6386
- Qa as q,
6387
- Za as r,
6388
- wr as s,
6389
- mt as t,
6390
- Pn as u,
6391
- Ho as v,
6403
+ bn as o,
6404
+ Ka as p,
6405
+ pt as q,
6406
+ U as r,
6407
+ Er as s,
6408
+ Qa as t,
6409
+ m as u,
6410
+ cn as v,
6392
6411
  L as w,
6393
6412
  M as x,
6394
6413
  v as y,