@everymatrix/player-bonus-card 1.77.26 → 1.77.27

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,17 +1,17 @@
1
- var hn = Object.defineProperty, cn = Object.defineProperties;
2
- var fn = Object.getOwnPropertyDescriptors;
3
- var kt = Object.getOwnPropertySymbols;
4
- var dn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable;
5
- var at = (e, t, r) => t in e ? hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
1
+ var cn = Object.defineProperty, fn = Object.defineProperties;
2
+ var dn = Object.getOwnPropertyDescriptors;
3
+ var Ft = Object.getOwnPropertySymbols;
4
+ var mn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable;
5
+ var ut = (e, t, r) => t in e ? cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- dn.call(t, r) && at(e, r, t[r]);
8
- if (kt)
9
- for (var r of kt(t))
10
- mn.call(t, r) && at(e, r, t[r]);
7
+ mn.call(t, r) && ut(e, r, t[r]);
8
+ if (Ft)
9
+ for (var r of Ft(t))
10
+ bn.call(t, r) && ut(e, r, t[r]);
11
11
  return e;
12
- }, Ft = (e, t) => cn(e, fn(t));
13
- var q = (e, t, r) => (at(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Gt = (e, t, r) => new Promise((n, i) => {
12
+ }, jt = (e, t) => fn(e, dn(t));
13
+ var z = (e, t, r) => (ut(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Wt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  s(r.next(l));
@@ -29,29 +29,29 @@ var Gt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function J() {
31
31
  }
32
- function Br(e) {
32
+ function Cr(e) {
33
33
  return e();
34
34
  }
35
- function jt() {
35
+ function Vt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function De(e) {
39
- e.forEach(Br);
38
+ function Ne(e) {
39
+ e.forEach(Cr);
40
40
  }
41
- function Mt(e) {
41
+ function It(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Sr(e, t) {
44
+ function Or(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let Ue;
48
- function Wt(e, t) {
48
+ function Yt(e, t) {
49
49
  return e === t ? !0 : (Ue || (Ue = document.createElement("a")), Ue.href = t, e === Ue.href);
50
50
  }
51
- function bn(e) {
51
+ function pn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Cr(e, ...t) {
54
+ function Pr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Cr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function pn(e, t, r) {
64
- e.$$.on_destroy.push(Cr(t, r));
63
+ function vn(e, t, r) {
64
+ e.$$.on_destroy.push(Pr(t, r));
65
65
  }
66
66
  function m(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function vn(e, t, r) {
70
- const n = gn(e);
69
+ function gn(e, t, r) {
70
+ const n = yn(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = B("style");
73
- i.id = t, i.textContent = r, yn(n, i);
72
+ const i = x("style");
73
+ i.id = t, i.textContent = r, wn(n, i);
74
74
  }
75
75
  }
76
- function gn(e) {
76
+ function yn(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function gn(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function yn(e, t) {
86
+ function wn(e, t) {
87
87
  return m(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -93,10 +93,10 @@ function yn(e, t) {
93
93
  function se(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function re(e) {
96
+ function ne(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function B(e) {
99
+ function x(e) {
100
100
  return document.createElement(e);
101
101
  }
102
102
  function R(e) {
@@ -105,13 +105,13 @@ function R(e) {
105
105
  function D() {
106
106
  return R(" ");
107
107
  }
108
- function wn(e, t, r, n) {
108
+ function _n(e, t, r, n) {
109
109
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
110
110
  }
111
111
  function g(e, t, r) {
112
112
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
113
113
  }
114
- function _n(e) {
114
+ function En(e) {
115
115
  return Array.from(e.childNodes);
116
116
  }
117
117
  function I(e, t) {
@@ -127,87 +127,87 @@ function Tn(e) {
127
127
  }
128
128
  ), t;
129
129
  }
130
- let Me;
131
- function He(e) {
132
- Me = e;
130
+ let He;
131
+ function Ae(e) {
132
+ He = e;
133
133
  }
134
- function En() {
135
- if (!Me)
134
+ function xn() {
135
+ if (!He)
136
136
  throw new Error("Function called outside component initialization");
137
- return Me;
137
+ return He;
138
138
  }
139
- function xn(e) {
140
- En().$$.on_mount.push(e);
139
+ function Bn(e) {
140
+ xn().$$.on_mount.push(e);
141
141
  }
142
- const ve = [], pt = [];
142
+ const ve = [], gt = [];
143
143
  let ge = [];
144
- const Vt = [], Bn = /* @__PURE__ */ Promise.resolve();
145
- let vt = !1;
146
- function Sn() {
147
- vt || (vt = !0, Bn.then(O));
144
+ const Xt = [], Sn = /* @__PURE__ */ Promise.resolve();
145
+ let yt = !1;
146
+ function Cn() {
147
+ yt || (yt = !0, Sn.then(P));
148
148
  }
149
- function gt(e) {
149
+ function wt(e) {
150
150
  ge.push(e);
151
151
  }
152
- const st = /* @__PURE__ */ new Set();
152
+ const lt = /* @__PURE__ */ new Set();
153
153
  let me = 0;
154
- function O() {
154
+ function P() {
155
155
  if (me !== 0)
156
156
  return;
157
- const e = Me;
157
+ const e = He;
158
158
  do {
159
159
  try {
160
160
  for (; me < ve.length; ) {
161
161
  const t = ve[me];
162
- me++, He(t), Cn(t.$$);
162
+ me++, Ae(t), On(t.$$);
163
163
  }
164
164
  } catch (t) {
165
165
  throw ve.length = 0, me = 0, t;
166
166
  }
167
- for (He(null), ve.length = 0, me = 0; pt.length; )
168
- pt.pop()();
167
+ for (Ae(null), ve.length = 0, me = 0; gt.length; )
168
+ gt.pop()();
169
169
  for (let t = 0; t < ge.length; t += 1) {
170
170
  const r = ge[t];
171
- st.has(r) || (st.add(r), r());
171
+ lt.has(r) || (lt.add(r), r());
172
172
  }
173
173
  ge.length = 0;
174
174
  } while (ve.length);
175
- for (; Vt.length; )
176
- Vt.pop()();
177
- vt = !1, st.clear(), He(e);
175
+ for (; Xt.length; )
176
+ Xt.pop()();
177
+ yt = !1, lt.clear(), Ae(e);
178
178
  }
179
- function Cn(e) {
179
+ function On(e) {
180
180
  if (e.fragment !== null) {
181
- e.update(), De(e.before_update);
181
+ e.update(), Ne(e.before_update);
182
182
  const t = e.dirty;
183
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(gt);
183
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(wt);
184
184
  }
185
185
  }
186
186
  function Pn(e) {
187
187
  const t = [], r = [];
188
188
  ge.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ge = t;
189
189
  }
190
- const On = /* @__PURE__ */ new Set();
191
- function An(e, t) {
192
- e && e.i && (On.delete(e), e.i(t));
190
+ const An = /* @__PURE__ */ new Set();
191
+ function Hn(e, t) {
192
+ e && e.i && (An.delete(e), e.i(t));
193
193
  }
194
- function Hn(e, t, r) {
194
+ function Mn(e, t, r) {
195
195
  const { fragment: n, after_update: i } = e.$$;
196
- n && n.m(t, r), gt(() => {
197
- const o = e.$$.on_mount.map(Br).filter(Mt);
198
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : De(o), e.$$.on_mount = [];
199
- }), i.forEach(gt);
196
+ n && n.m(t, r), wt(() => {
197
+ const o = e.$$.on_mount.map(Cr).filter(It);
198
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ne(o), e.$$.on_mount = [];
199
+ }), i.forEach(wt);
200
200
  }
201
- function Mn(e, t) {
201
+ function Rn(e, t) {
202
202
  const r = e.$$;
203
- r.fragment !== null && (Pn(r.after_update), De(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
+ r.fragment !== null && (Pn(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
204
204
  }
205
- function Rn(e, t) {
206
- e.$$.dirty[0] === -1 && (ve.push(e), Sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
205
+ function Nn(e, t) {
206
+ e.$$.dirty[0] === -1 && (ve.push(e), Cn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
207
  }
208
- function Nn(e, t, r, n, i, o, a = null, s = [-1]) {
209
- const l = Me;
210
- He(e);
208
+ function Dn(e, t, r, n, i, o, a = null, s = [-1]) {
209
+ const l = He;
210
+ Ae(e);
211
211
  const u = e.$$ = {
212
212
  fragment: null,
213
213
  ctx: [],
@@ -215,7 +215,7 @@ function Nn(e, t, r, n, i, o, a = null, s = [-1]) {
215
215
  props: o,
216
216
  update: J,
217
217
  not_equal: i,
218
- bound: jt(),
218
+ bound: Vt(),
219
219
  // lifecycle
220
220
  on_mount: [],
221
221
  on_destroy: [],
@@ -224,7 +224,7 @@ function Nn(e, t, r, n, i, o, a = null, s = [-1]) {
224
224
  after_update: [],
225
225
  context: new Map(t.context || (l ? l.$$.context : [])),
226
226
  // everything else
227
- callbacks: jt(),
227
+ callbacks: Vt(),
228
228
  dirty: s,
229
229
  skip_bound: !1,
230
230
  root: t.target || l.$$.root
@@ -233,39 +233,39 @@ function Nn(e, t, r, n, i, o, a = null, s = [-1]) {
233
233
  let h = !1;
234
234
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
235
235
  const p = d.length ? d[0] : c;
236
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Rn(e, f)), c;
237
- }) : [], u.update(), h = !0, De(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
236
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Nn(e, f)), c;
237
+ }) : [], u.update(), h = !0, Ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
238
238
  if (t.hydrate) {
239
- const f = _n(t.target);
240
- u.fragment && u.fragment.l(f), f.forEach(re);
239
+ const f = En(t.target);
240
+ u.fragment && u.fragment.l(f), f.forEach(ne);
241
241
  } else
242
242
  u.fragment && u.fragment.c();
243
- t.intro && An(e.$$.fragment), Hn(e, t.target, t.anchor), O();
243
+ t.intro && Hn(e.$$.fragment), Mn(e, t.target, t.anchor), P();
244
244
  }
245
- He(l);
245
+ Ae(l);
246
246
  }
247
- let Pr;
248
- typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
247
+ let Ar;
248
+ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
249
249
  constructor(t, r, n) {
250
250
  super();
251
251
  /** The Svelte component constructor */
252
- q(this, "$$ctor");
252
+ z(this, "$$ctor");
253
253
  /** Slots */
254
- q(this, "$$s");
254
+ z(this, "$$s");
255
255
  /** The Svelte component instance */
256
- q(this, "$$c");
256
+ z(this, "$$c");
257
257
  /** Whether or not the custom element is connected */
258
- q(this, "$$cn", !1);
258
+ z(this, "$$cn", !1);
259
259
  /** Component props data */
260
- q(this, "$$d", {});
260
+ z(this, "$$d", {});
261
261
  /** `true` if currently in the process of reflecting component props back to attributes */
262
- q(this, "$$r", !1);
262
+ z(this, "$$r", !1);
263
263
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
264
- q(this, "$$p_d", {});
264
+ z(this, "$$p_d", {});
265
265
  /** @type {Record<string, Function[]>} Event listeners */
266
- q(this, "$$l", {});
266
+ z(this, "$$l", {});
267
267
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
268
- q(this, "$$l_u", /* @__PURE__ */ new Map());
268
+ z(this, "$$l_u", /* @__PURE__ */ new Map());
269
269
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
270
270
  }
271
271
  addEventListener(t, r, n) {
@@ -282,14 +282,14 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
282
282
  }
283
283
  }
284
284
  connectedCallback() {
285
- return Gt(this, null, function* () {
285
+ return Wt(this, null, function* () {
286
286
  if (this.$$cn = !0, !this.$$c) {
287
287
  let t = function(o) {
288
288
  return () => {
289
289
  let a;
290
290
  return {
291
291
  c: function() {
292
- a = B("slot"), o !== "default" && g(a, "name", o);
292
+ a = x("slot"), o !== "default" && g(a, "name", o);
293
293
  },
294
294
  /**
295
295
  * @param {HTMLElement} target
@@ -299,7 +299,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
299
299
  se(u, a, h);
300
300
  },
301
301
  d: function(u) {
302
- u && re(a);
302
+ u && ne(a);
303
303
  }
304
304
  };
305
305
  };
@@ -317,7 +317,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
317
317
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
318
318
  this.$$c = new this.$$ctor({
319
319
  target: this.shadowRoot || this,
320
- props: Ft($t({}, this.$$d), {
320
+ props: jt(Gt({}, this.$$d), {
321
321
  $$slots: r,
322
322
  $$scope: {
323
323
  ctx: []
@@ -395,8 +395,8 @@ function Fe(e, t, r, n) {
395
395
  return t;
396
396
  }
397
397
  }
398
- function Dn(e, t, r, n, i, o) {
399
- let a = class extends Pr {
398
+ function In(e, t, r, n, i, o) {
399
+ let a = class extends Ar {
400
400
  constructor() {
401
401
  super(e, r, i), this.$$p_d = t;
402
402
  }
@@ -426,7 +426,7 @@ function Dn(e, t, r, n, i, o) {
426
426
  }), e.element = /** @type {any} */
427
427
  a, a;
428
428
  }
429
- class In {
429
+ class Ln {
430
430
  constructor() {
431
431
  /**
432
432
  * ### PRIVATE API
@@ -435,7 +435,7 @@ class In {
435
435
  *
436
436
  * @type {any}
437
437
  */
438
- q(this, "$$");
438
+ z(this, "$$");
439
439
  /**
440
440
  * ### PRIVATE API
441
441
  *
@@ -443,11 +443,11 @@ class In {
443
443
  *
444
444
  * @type {any}
445
445
  */
446
- q(this, "$$set");
446
+ z(this, "$$set");
447
447
  }
448
448
  /** @returns {void} */
449
449
  $destroy() {
450
- Mn(this, 1), this.$destroy = J;
450
+ Rn(this, 1), this.$destroy = J;
451
451
  }
452
452
  /**
453
453
  * @template {Extract<keyof Events, string>} K
@@ -456,7 +456,7 @@ class In {
456
456
  * @returns {() => void}
457
457
  */
458
458
  $on(t, r) {
459
- if (!Mt(r))
459
+ if (!It(r))
460
460
  return J;
461
461
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
462
  return n.push(r), () => {
@@ -469,11 +469,11 @@ class In {
469
469
  * @returns {void}
470
470
  */
471
471
  $set(t) {
472
- this.$$set && !bn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
+ this.$$set && !pn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
473
  }
474
474
  }
475
- const Ln = "4";
476
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ln);
475
+ const Un = "4";
476
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Un);
477
477
  /*! *****************************************************************************
478
478
  Copyright (c) Microsoft Corporation.
479
479
 
@@ -488,43 +488,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
488
488
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
489
489
  PERFORMANCE OF THIS SOFTWARE.
490
490
  ***************************************************************************** */
491
- var yt = function(e, t) {
492
- return yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
491
+ var _t = function(e, t) {
492
+ return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
493
493
  r.__proto__ = n;
494
494
  } || function(r, n) {
495
495
  for (var i in n)
496
496
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
497
- }, yt(e, t);
497
+ }, _t(e, t);
498
498
  };
499
- function ne(e, t) {
499
+ function De(e, t) {
500
500
  if (typeof t != "function" && t !== null)
501
501
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
502
- yt(e, t);
502
+ _t(e, t);
503
503
  function r() {
504
504
  this.constructor = e;
505
505
  }
506
506
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
507
507
  }
508
- var T = function() {
509
- return T = Object.assign || function(t) {
510
- for (var r, n = 1, i = arguments.length; n < i; n++) {
511
- r = arguments[n];
512
- for (var o in r)
513
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
514
- }
515
- return t;
516
- }, T.apply(this, arguments);
517
- };
518
- function Un(e, t) {
519
- var r = {};
520
- for (var n in e)
521
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
522
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
523
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
524
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
525
- return r;
526
- }
527
- function wt(e) {
508
+ function Et(e) {
528
509
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
529
510
  if (r)
530
511
  return r.call(e);
@@ -536,7 +517,7 @@ function wt(e) {
536
517
  };
537
518
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
538
519
  }
539
- function _t(e, t) {
520
+ function Tt(e, t) {
540
521
  var r = typeof Symbol == "function" && e[Symbol.iterator];
541
522
  if (!r)
542
523
  return e;
@@ -556,22 +537,22 @@ function _t(e, t) {
556
537
  }
557
538
  return o;
558
539
  }
559
- function ye(e, t, r) {
560
- if (r || arguments.length === 2)
540
+ function xt(e, t, r) {
541
+ if (arguments.length === 2)
561
542
  for (var n = 0, i = t.length, o; n < i; n++)
562
543
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
563
544
  return e.concat(o || t);
564
545
  }
565
- function te(e) {
546
+ function re(e) {
566
547
  return typeof e == "function";
567
548
  }
568
- function Or(e) {
549
+ function Hr(e) {
569
550
  var t = function(n) {
570
551
  Error.call(n), n.stack = new Error().stack;
571
552
  }, r = e(t);
572
553
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
573
554
  }
574
- var ut = Or(function(e) {
555
+ var ht = Hr(function(e) {
575
556
  return function(r) {
576
557
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
577
558
  ` + r.map(function(n, i) {
@@ -580,13 +561,13 @@ var ut = Or(function(e) {
580
561
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
581
562
  };
582
563
  });
583
- function Tt(e, t) {
564
+ function Bt(e, t) {
584
565
  if (e) {
585
566
  var r = e.indexOf(t);
586
567
  0 <= r && e.splice(r, 1);
587
568
  }
588
569
  }
589
- var Qe = function() {
570
+ var Ze = function() {
590
571
  function e(t) {
591
572
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
592
573
  }
@@ -598,7 +579,7 @@ var Qe = function() {
598
579
  if (a)
599
580
  if (this._parentage = null, Array.isArray(a))
600
581
  try {
601
- for (var s = wt(a), l = s.next(); !l.done; l = s.next()) {
582
+ for (var s = Et(a), l = s.next(); !l.done; l = s.next()) {
602
583
  var u = l.value;
603
584
  u.remove(this);
604
585
  }
@@ -615,22 +596,22 @@ var Qe = function() {
615
596
  else
616
597
  a.remove(this);
617
598
  var h = this.initialTeardown;
618
- if (te(h))
599
+ if (re(h))
619
600
  try {
620
601
  h();
621
602
  } catch (v) {
622
- o = v instanceof ut ? v.errors : [v];
603
+ o = v instanceof ht ? v.errors : [v];
623
604
  }
624
605
  var f = this._finalizers;
625
606
  if (f) {
626
607
  this._finalizers = null;
627
608
  try {
628
- for (var c = wt(f), d = c.next(); !d.done; d = c.next()) {
609
+ for (var c = Et(f), d = c.next(); !d.done; d = c.next()) {
629
610
  var p = d.value;
630
611
  try {
631
- Yt(p);
612
+ qt(p);
632
613
  } catch (v) {
633
- o = o != null ? o : [], v instanceof ut ? o = ye(ye([], _t(o)), _t(v.errors)) : o.push(v);
614
+ o = o != null ? o : [], v instanceof ht ? o = xt(xt([], Tt(o)), Tt(v.errors)) : o.push(v);
634
615
  }
635
616
  }
636
617
  } catch (v) {
@@ -645,13 +626,13 @@ var Qe = function() {
645
626
  }
646
627
  }
647
628
  if (o)
648
- throw new ut(o);
629
+ throw new ht(o);
649
630
  }
650
631
  }, e.prototype.add = function(t) {
651
632
  var r;
652
633
  if (t && t !== this)
653
634
  if (this.closed)
654
- Yt(t);
635
+ qt(t);
655
636
  else {
656
637
  if (t instanceof e) {
657
638
  if (t.closed || t._hasParent(this))
@@ -668,56 +649,52 @@ var Qe = function() {
668
649
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
669
650
  }, e.prototype._removeParent = function(t) {
670
651
  var r = this._parentage;
671
- r === t ? this._parentage = null : Array.isArray(r) && Tt(r, t);
652
+ r === t ? this._parentage = null : Array.isArray(r) && Bt(r, t);
672
653
  }, e.prototype.remove = function(t) {
673
654
  var r = this._finalizers;
674
- r && Tt(r, t), t instanceof e && t._removeParent(this);
655
+ r && Bt(r, t), t instanceof e && t._removeParent(this);
675
656
  }, e.EMPTY = function() {
676
657
  var t = new e();
677
658
  return t.closed = !0, t;
678
659
  }(), e;
679
- }(), Ar = Qe.EMPTY;
680
- function Hr(e) {
681
- return e instanceof Qe || e && "closed" in e && te(e.remove) && te(e.add) && te(e.unsubscribe);
682
- }
683
- function Yt(e) {
684
- te(e) ? e() : e.unsubscribe();
685
- }
686
- var Mr = {
687
- onUnhandledError: null,
688
- onStoppedNotification: null,
689
- Promise: void 0,
690
- useDeprecatedSynchronousErrorHandling: !1,
691
- useDeprecatedNextContext: !1
692
- }, kn = {
660
+ }(), Mr = Ze.EMPTY;
661
+ function Rr(e) {
662
+ return e instanceof Ze || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
663
+ }
664
+ function qt(e) {
665
+ re(e) ? e() : e.unsubscribe();
666
+ }
667
+ var kn = {
668
+ Promise: void 0
669
+ }, $n = {
693
670
  setTimeout: function(e, t) {
694
671
  for (var r = [], n = 2; n < arguments.length; n++)
695
672
  r[n - 2] = arguments[n];
696
- return setTimeout.apply(void 0, ye([e, t], _t(r)));
673
+ return setTimeout.apply(void 0, xt([e, t], Tt(r)));
697
674
  },
698
675
  clearTimeout: function(e) {
699
676
  return clearTimeout(e);
700
677
  },
701
678
  delegate: void 0
702
679
  };
703
- function $n(e) {
704
- kn.setTimeout(function() {
680
+ function Fn(e) {
681
+ $n.setTimeout(function() {
705
682
  throw e;
706
683
  });
707
684
  }
708
- function Xt() {
685
+ function zt() {
709
686
  }
710
687
  function Ge(e) {
711
688
  e();
712
689
  }
713
- var Rr = function(e) {
714
- ne(t, e);
690
+ var Nr = function(e) {
691
+ De(t, e);
715
692
  function t(r) {
716
693
  var n = e.call(this) || this;
717
- return n.isStopped = !1, r ? (n.destination = r, Hr(r) && r.add(n)) : n.destination = Wn, n;
694
+ return n.isStopped = !1, r ? (n.destination = r, Rr(r) && r.add(n)) : n.destination = Wn, n;
718
695
  }
719
696
  return t.create = function(r, n, i) {
720
- return new Et(r, n, i);
697
+ return new St(r, n, i);
721
698
  }, t.prototype.next = function(r) {
722
699
  this.isStopped || this._next(r);
723
700
  }, t.prototype.error = function(r) {
@@ -741,11 +718,7 @@ var Rr = function(e) {
741
718
  this.unsubscribe();
742
719
  }
743
720
  }, t;
744
- }(Qe), Fn = Function.prototype.bind;
745
- function lt(e, t) {
746
- return Fn.call(e, t);
747
- }
748
- var Gn = function() {
721
+ }(Ze), Gn = function() {
749
722
  function e(t) {
750
723
  this.partialObserver = t;
751
724
  }
@@ -776,41 +749,29 @@ var Gn = function() {
776
749
  ke(r);
777
750
  }
778
751
  }, e;
779
- }(), Et = function(e) {
780
- ne(t, e);
752
+ }(), St = function(e) {
753
+ De(t, e);
781
754
  function t(r, n, i) {
782
755
  var o = e.call(this) || this, a;
783
- if (te(r) || !r)
784
- a = {
785
- next: r != null ? r : void 0,
786
- error: n != null ? n : void 0,
787
- complete: i != null ? i : void 0
788
- };
789
- else {
790
- var s;
791
- o && Mr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
792
- return o.unsubscribe();
793
- }, a = {
794
- next: r.next && lt(r.next, s),
795
- error: r.error && lt(r.error, s),
796
- complete: r.complete && lt(r.complete, s)
797
- }) : a = r;
798
- }
799
- return o.destination = new Gn(a), o;
756
+ return re(r) || !r ? a = {
757
+ next: r != null ? r : void 0,
758
+ error: n != null ? n : void 0,
759
+ complete: i != null ? i : void 0
760
+ } : a = r, o.destination = new Gn(a), o;
800
761
  }
801
762
  return t;
802
- }(Rr);
763
+ }(Nr);
803
764
  function ke(e) {
804
- $n(e);
765
+ Fn(e);
805
766
  }
806
767
  function jn(e) {
807
768
  throw e;
808
769
  }
809
770
  var Wn = {
810
771
  closed: !0,
811
- next: Xt,
772
+ next: zt,
812
773
  error: jn,
813
- complete: Xt
774
+ complete: zt
814
775
  }, Vn = function() {
815
776
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
816
777
  }();
@@ -824,7 +785,7 @@ function Xn(e) {
824
785
  }, r);
825
786
  };
826
787
  }
827
- var zt = function() {
788
+ var Qt = function() {
828
789
  function e(t) {
829
790
  t && (this._subscribe = t);
830
791
  }
@@ -832,7 +793,7 @@ var zt = function() {
832
793
  var r = new e();
833
794
  return r.source = this, r.operator = t, r;
834
795
  }, e.prototype.subscribe = function(t, r, n) {
835
- var i = this, o = qn(t) ? t : new Et(t, r, n);
796
+ var i = this, o = zn(t) ? t : new St(t, r, n);
836
797
  return Ge(function() {
837
798
  var a = i, s = a.operator, l = a.source;
838
799
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -845,8 +806,8 @@ var zt = function() {
845
806
  }
846
807
  }, e.prototype.forEach = function(t, r) {
847
808
  var n = this;
848
- return r = qt(r), new r(function(i, o) {
849
- var a = new Et({
809
+ return r = Zt(r), new r(function(i, o) {
810
+ var a = new St({
850
811
  next: function(s) {
851
812
  try {
852
813
  t(s);
@@ -870,7 +831,7 @@ var zt = function() {
870
831
  return Xn(t)(this);
871
832
  }, e.prototype.toPromise = function(t) {
872
833
  var r = this;
873
- return t = qt(t), new t(function(n, i) {
834
+ return t = Zt(t), new t(function(n, i) {
874
835
  var o;
875
836
  r.subscribe(function(a) {
876
837
  return o = a;
@@ -884,28 +845,28 @@ var zt = function() {
884
845
  return new e(t);
885
846
  }, e;
886
847
  }();
887
- function qt(e) {
848
+ function Zt(e) {
888
849
  var t;
889
- return (t = e != null ? e : Mr.Promise) !== null && t !== void 0 ? t : Promise;
890
- }
891
- function zn(e) {
892
- return e && te(e.next) && te(e.error) && te(e.complete);
850
+ return (t = e != null ? e : kn.Promise) !== null && t !== void 0 ? t : Promise;
893
851
  }
894
852
  function qn(e) {
895
- return e && e instanceof Rr || zn(e) && Hr(e);
853
+ return e && re(e.next) && re(e.error) && re(e.complete);
896
854
  }
897
- var Qn = Or(function(e) {
855
+ function zn(e) {
856
+ return e && e instanceof Nr || qn(e) && Rr(e);
857
+ }
858
+ var Qn = Hr(function(e) {
898
859
  return function() {
899
860
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
900
861
  };
901
- }), Nr = function(e) {
902
- ne(t, e);
862
+ }), Dr = function(e) {
863
+ De(t, e);
903
864
  function t() {
904
865
  var r = e.call(this) || this;
905
866
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
906
867
  }
907
868
  return t.prototype.lift = function(r) {
908
- var n = new Qt(this, this);
869
+ var n = new Jt(this, this);
909
870
  return n.operator = r, n;
910
871
  }, t.prototype._throwIfClosed = function() {
911
872
  if (this.closed)
@@ -917,7 +878,7 @@ var Qn = Or(function(e) {
917
878
  if (n._throwIfClosed(), !n.isStopped) {
918
879
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
919
880
  try {
920
- for (var a = wt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
881
+ for (var a = Et(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
921
882
  var l = s.value;
922
883
  l.next(r);
923
884
  }
@@ -966,20 +927,20 @@ var Qn = Or(function(e) {
966
927
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
967
928
  }, t.prototype._innerSubscribe = function(r) {
968
929
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
969
- return o || a ? Ar : (this.currentObservers = null, s.push(r), new Qe(function() {
970
- n.currentObservers = null, Tt(s, r);
930
+ return o || a ? Mr : (this.currentObservers = null, s.push(r), new Ze(function() {
931
+ n.currentObservers = null, Bt(s, r);
971
932
  }));
972
933
  }, t.prototype._checkFinalizedStatuses = function(r) {
973
934
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
974
935
  i ? r.error(o) : a && r.complete();
975
936
  }, t.prototype.asObservable = function() {
976
- var r = new zt();
937
+ var r = new Qt();
977
938
  return r.source = this, r;
978
939
  }, t.create = function(r, n) {
979
- return new Qt(r, n);
940
+ return new Jt(r, n);
980
941
  }, t;
981
- }(zt), Qt = function(e) {
982
- ne(t, e);
942
+ }(Qt), Jt = function(e) {
943
+ De(t, e);
983
944
  function t(r, n) {
984
945
  var i = e.call(this) || this;
985
946
  return i.destination = r, i.source = n, i;
@@ -995,17 +956,17 @@ var Qn = Or(function(e) {
995
956
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
996
957
  }, t.prototype._subscribe = function(r) {
997
958
  var n, i;
998
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ar;
959
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mr;
999
960
  }, t;
1000
- }(Nr), Dr = {
961
+ }(Dr), Ir = {
1001
962
  now: function() {
1002
- return (Dr.delegate || Date).now();
963
+ return (Ir.delegate || Date).now();
1003
964
  },
1004
965
  delegate: void 0
1005
966
  }, Zn = function(e) {
1006
- ne(t, e);
967
+ De(t, e);
1007
968
  function t(r, n, i) {
1008
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
969
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
1009
970
  var o = e.call(this) || this;
1010
971
  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;
1011
972
  }
@@ -1025,24 +986,24 @@ var Qn = Or(function(e) {
1025
986
  u && o.splice(0, u + 1);
1026
987
  }
1027
988
  }, t;
1028
- }(Nr);
1029
- const Zt = [], Jt = {}, Jn = (e, t = 0) => {
1030
- if (Zt.indexOf(e) == -1) {
989
+ }(Dr);
990
+ const Kt = [], er = {}, Jn = (e, t = 0) => {
991
+ if (Kt.indexOf(e) == -1) {
1031
992
  const r = new Zn(t);
1032
- Jt[e] = r, Zt.push(e);
993
+ er[e] = r, Kt.push(e);
1033
994
  }
1034
- return Jt[e];
995
+ return er[e];
1035
996
  }, be = [];
1036
997
  function Kn(e, t) {
1037
998
  return {
1038
- subscribe: Ze(e, t).subscribe
999
+ subscribe: Je(e, t).subscribe
1039
1000
  };
1040
1001
  }
1041
- function Ze(e, t = J) {
1002
+ function Je(e, t = J) {
1042
1003
  let r;
1043
1004
  const n = /* @__PURE__ */ new Set();
1044
1005
  function i(s) {
1045
- if (Sr(e, s) && (e = s, r)) {
1006
+ if (Or(e, s) && (e = s, r)) {
1046
1007
  const l = !be.length;
1047
1008
  for (const u of n)
1048
1009
  u[1](), be.push(u, e);
@@ -1064,7 +1025,7 @@ function Ze(e, t = J) {
1064
1025
  }
1065
1026
  return { set: i, update: o, subscribe: a };
1066
1027
  }
1067
- function xe(e, t, r) {
1028
+ function Te(e, t, r) {
1068
1029
  const n = !Array.isArray(e), i = n ? [e] : e;
1069
1030
  if (!i.every(Boolean))
1070
1031
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1078,12 +1039,12 @@ function xe(e, t, r) {
1078
1039
  return;
1079
1040
  f();
1080
1041
  const p = t(n ? u[0] : u, a, s);
1081
- o ? a(p) : f = Mt(p) ? p : J;
1042
+ o ? a(p) : f = It(p) ? p : J;
1082
1043
  }, d = i.map(
1083
- (p, v) => Cr(
1044
+ (p, v) => Pr(
1084
1045
  p,
1085
- (S) => {
1086
- u[v] = S, h &= ~(1 << v), l && c();
1046
+ (B) => {
1047
+ u[v] = B, h &= ~(1 << v), l && c();
1087
1048
  },
1088
1049
  () => {
1089
1050
  h |= 1 << v;
@@ -1091,7 +1052,7 @@ function xe(e, t, r) {
1091
1052
  )
1092
1053
  );
1093
1054
  return l = !0, c(), function() {
1094
- De(d), f(), l = !1;
1055
+ Ne(d), f(), l = !1;
1095
1056
  };
1096
1057
  });
1097
1058
  }
@@ -1115,29 +1076,29 @@ function ai(e) {
1115
1076
  function si(e) {
1116
1077
  return Array.isArray(e) ? [] : {};
1117
1078
  }
1118
- function Re(e, t) {
1119
- return t.clone !== !1 && t.isMergeableObject(e) ? we(si(e), e, t) : e;
1079
+ function Me(e, t) {
1080
+ return t.clone !== !1 && t.isMergeableObject(e) ? ye(si(e), e, t) : e;
1120
1081
  }
1121
1082
  function ui(e, t, r) {
1122
1083
  return e.concat(t).map(function(n) {
1123
- return Re(n, r);
1084
+ return Me(n, r);
1124
1085
  });
1125
1086
  }
1126
1087
  function li(e, t) {
1127
1088
  if (!t.customMerge)
1128
- return we;
1089
+ return ye;
1129
1090
  var r = t.customMerge(e);
1130
- return typeof r == "function" ? r : we;
1091
+ return typeof r == "function" ? r : ye;
1131
1092
  }
1132
1093
  function hi(e) {
1133
1094
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1134
1095
  return Object.propertyIsEnumerable.call(e, t);
1135
1096
  }) : [];
1136
1097
  }
1137
- function Kt(e) {
1098
+ function tr(e) {
1138
1099
  return Object.keys(e).concat(hi(e));
1139
1100
  }
1140
- function Ir(e, t) {
1101
+ function Lr(e, t) {
1141
1102
  try {
1142
1103
  return t in e;
1143
1104
  } catch (r) {
@@ -1145,129 +1106,179 @@ function Ir(e, t) {
1145
1106
  }
1146
1107
  }
1147
1108
  function ci(e, t) {
1148
- return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1109
+ return Lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1149
1110
  }
1150
1111
  function fi(e, t, r) {
1151
1112
  var n = {};
1152
- return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
1153
- n[i] = Re(e[i], r);
1154
- }), Kt(t).forEach(function(i) {
1155
- ci(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = li(i, r)(e[i], t[i], r) : n[i] = Re(t[i], r));
1113
+ return r.isMergeableObject(e) && tr(e).forEach(function(i) {
1114
+ n[i] = Me(e[i], r);
1115
+ }), tr(t).forEach(function(i) {
1116
+ ci(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = li(i, r)(e[i], t[i], r) : n[i] = Me(t[i], r));
1156
1117
  }), n;
1157
1118
  }
1158
- function we(e, t, r) {
1159
- r = r || {}, r.arrayMerge = r.arrayMerge || ui, r.isMergeableObject = r.isMergeableObject || ti, r.cloneUnlessOtherwiseSpecified = Re;
1119
+ function ye(e, t, r) {
1120
+ r = r || {}, r.arrayMerge = r.arrayMerge || ui, r.isMergeableObject = r.isMergeableObject || ti, r.cloneUnlessOtherwiseSpecified = Me;
1160
1121
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1161
- return o ? n ? r.arrayMerge(e, t, r) : fi(e, t, r) : Re(t, r);
1122
+ return o ? n ? r.arrayMerge(e, t, r) : fi(e, t, r) : Me(t, r);
1162
1123
  }
1163
- we.all = function(t, r) {
1124
+ ye.all = function(t, r) {
1164
1125
  if (!Array.isArray(t))
1165
1126
  throw new Error("first argument should be an array");
1166
1127
  return t.reduce(function(n, i) {
1167
- return we(n, i, r);
1128
+ return ye(n, i, r);
1168
1129
  }, {});
1169
1130
  };
1170
- var di = we, mi = di;
1131
+ var di = ye, mi = di;
1171
1132
  const bi = /* @__PURE__ */ ei(mi);
1172
- function ht(e, t) {
1173
- var r = t && t.cache ? t.cache : _i, n = t && t.serializer ? t.serializer : wi, i = t && t.strategy ? t.strategy : vi;
1133
+ var Ct = function(e, t) {
1134
+ return Ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1135
+ r.__proto__ = n;
1136
+ } || function(r, n) {
1137
+ for (var i in n)
1138
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1139
+ }, Ct(e, t);
1140
+ };
1141
+ function Ke(e, t) {
1142
+ if (typeof t != "function" && t !== null)
1143
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1144
+ Ct(e, t);
1145
+ function r() {
1146
+ this.constructor = e;
1147
+ }
1148
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1149
+ }
1150
+ var K = function() {
1151
+ return K = Object.assign || function(t) {
1152
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1153
+ r = arguments[n];
1154
+ for (var o in r)
1155
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1156
+ }
1157
+ return t;
1158
+ }, K.apply(this, arguments);
1159
+ };
1160
+ function pi(e, t) {
1161
+ var r = {};
1162
+ for (var n in e)
1163
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1164
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1165
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1166
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1167
+ return r;
1168
+ }
1169
+ function ct(e, t, r) {
1170
+ if (r || arguments.length === 2)
1171
+ for (var n = 0, i = t.length, o; n < i; n++)
1172
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1173
+ return e.concat(o || Array.prototype.slice.call(t));
1174
+ }
1175
+ function ft(e, t) {
1176
+ var r = t && t.cache ? t.cache : Ti, n = t && t.serializer ? t.serializer : _i, i = t && t.strategy ? t.strategy : yi;
1174
1177
  return i(e, {
1175
1178
  cache: r,
1176
1179
  serializer: n
1177
1180
  });
1178
1181
  }
1179
- function pi(e) {
1182
+ function vi(e) {
1180
1183
  return e == null || typeof e == "number" || typeof e == "boolean";
1181
1184
  }
1182
- function Lr(e, t, r, n) {
1183
- var i = pi(n) ? n : r(n), o = t.get(i);
1185
+ function gi(e, t, r, n) {
1186
+ var i = vi(n) ? n : r(n), o = t.get(i);
1184
1187
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1185
1188
  }
1186
1189
  function Ur(e, t, r) {
1187
1190
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1188
1191
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1189
1192
  }
1190
- function Rt(e, t, r, n, i) {
1193
+ function kr(e, t, r, n, i) {
1191
1194
  return r.bind(t, e, n, i);
1192
1195
  }
1193
- function vi(e, t) {
1194
- var r = e.length === 1 ? Lr : Ur;
1195
- return Rt(e, this, r, t.cache.create(), t.serializer);
1196
- }
1197
- function gi(e, t) {
1198
- return Rt(e, this, Ur, t.cache.create(), t.serializer);
1199
- }
1200
1196
  function yi(e, t) {
1201
- return Rt(e, this, Lr, t.cache.create(), t.serializer);
1197
+ var r = e.length === 1 ? gi : Ur;
1198
+ return kr(e, this, r, t.cache.create(), t.serializer);
1202
1199
  }
1203
- var wi = function() {
1204
- return JSON.stringify(arguments);
1205
- };
1206
- function Nt() {
1207
- this.cache = /* @__PURE__ */ Object.create(null);
1200
+ function wi(e, t) {
1201
+ return kr(e, this, Ur, t.cache.create(), t.serializer);
1208
1202
  }
1209
- Nt.prototype.get = function(e) {
1210
- return this.cache[e];
1211
- };
1212
- Nt.prototype.set = function(e, t) {
1213
- this.cache[e] = t;
1214
- };
1215
- var _i = {
1203
+ var _i = function() {
1204
+ return JSON.stringify(arguments);
1205
+ }, Ei = (
1206
+ /** @class */
1207
+ function() {
1208
+ function e() {
1209
+ this.cache = /* @__PURE__ */ Object.create(null);
1210
+ }
1211
+ return e.prototype.get = function(t) {
1212
+ return this.cache[t];
1213
+ }, e.prototype.set = function(t, r) {
1214
+ this.cache[t] = r;
1215
+ }, e;
1216
+ }()
1217
+ ), Ti = {
1216
1218
  create: function() {
1217
- return new Nt();
1219
+ return new Ei();
1218
1220
  }
1219
- }, ct = {
1220
- variadic: gi,
1221
- monadic: yi
1222
- }, w;
1221
+ }, dt = {
1222
+ variadic: wi
1223
+ }, Ve = function() {
1224
+ return Ve = Object.assign || function(t) {
1225
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1226
+ r = arguments[n];
1227
+ for (var o in r)
1228
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1229
+ }
1230
+ return t;
1231
+ }, Ve.apply(this, arguments);
1232
+ };
1233
+ var w;
1223
1234
  (function(e) {
1224
1235
  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";
1225
1236
  })(w || (w = {}));
1226
- var C;
1237
+ var S;
1227
1238
  (function(e) {
1228
1239
  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";
1229
- })(C || (C = {}));
1230
- var _e;
1240
+ })(S || (S = {}));
1241
+ var we;
1231
1242
  (function(e) {
1232
1243
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1233
- })(_e || (_e = {}));
1234
- function er(e) {
1235
- return e.type === C.literal;
1236
- }
1237
- function Ti(e) {
1238
- return e.type === C.argument;
1244
+ })(we || (we = {}));
1245
+ function rr(e) {
1246
+ return e.type === S.literal;
1239
1247
  }
1240
- function kr(e) {
1241
- return e.type === C.number;
1248
+ function xi(e) {
1249
+ return e.type === S.argument;
1242
1250
  }
1243
1251
  function $r(e) {
1244
- return e.type === C.date;
1252
+ return e.type === S.number;
1245
1253
  }
1246
1254
  function Fr(e) {
1247
- return e.type === C.time;
1255
+ return e.type === S.date;
1248
1256
  }
1249
1257
  function Gr(e) {
1250
- return e.type === C.select;
1258
+ return e.type === S.time;
1251
1259
  }
1252
1260
  function jr(e) {
1253
- return e.type === C.plural;
1254
- }
1255
- function Ei(e) {
1256
- return e.type === C.pound;
1261
+ return e.type === S.select;
1257
1262
  }
1258
1263
  function Wr(e) {
1259
- return e.type === C.tag;
1264
+ return e.type === S.plural;
1265
+ }
1266
+ function Bi(e) {
1267
+ return e.type === S.pound;
1260
1268
  }
1261
1269
  function Vr(e) {
1262
- return !!(e && typeof e == "object" && e.type === _e.number);
1270
+ return e.type === S.tag;
1263
1271
  }
1264
- function xt(e) {
1265
- return !!(e && typeof e == "object" && e.type === _e.dateTime);
1272
+ function Yr(e) {
1273
+ return !!(e && typeof e == "object" && e.type === we.number);
1266
1274
  }
1267
- var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
1268
- function Bi(e) {
1275
+ function Ot(e) {
1276
+ return !!(e && typeof e == "object" && e.type === we.dateTime);
1277
+ }
1278
+ var Xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
1279
+ function Ci(e) {
1269
1280
  var t = {};
1270
- return e.replace(xi, function(r) {
1281
+ return e.replace(Si, function(r) {
1271
1282
  var n = r.length;
1272
1283
  switch (r[0]) {
1273
1284
  case "G":
@@ -1356,11 +1367,21 @@ function Bi(e) {
1356
1367
  return "";
1357
1368
  }), t;
1358
1369
  }
1359
- var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1360
- function Ci(e) {
1370
+ var C = function() {
1371
+ return C = Object.assign || function(t) {
1372
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1373
+ r = arguments[n];
1374
+ for (var o in r)
1375
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1376
+ }
1377
+ return t;
1378
+ }, C.apply(this, arguments);
1379
+ };
1380
+ var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1381
+ function Pi(e) {
1361
1382
  if (e.length === 0)
1362
1383
  throw new Error("Number skeleton cannot be empty");
1363
- for (var t = e.split(Si).filter(function(c) {
1384
+ for (var t = e.split(Oi).filter(function(c) {
1364
1385
  return c.length > 0;
1365
1386
  }), r = [], n = 0, i = t; n < i.length; n++) {
1366
1387
  var o = i[n], a = o.split("/");
@@ -1375,17 +1396,17 @@ function Ci(e) {
1375
1396
  }
1376
1397
  return r;
1377
1398
  }
1378
- function Pi(e) {
1399
+ function Ai(e) {
1379
1400
  return e.replace(/^(.*?)-/, "");
1380
1401
  }
1381
- var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xr = /^(@+)?(\+|#+)?[rs]?$/g, Oi = /(\*)(0+)|(#+)(0+)|(0+)/g, zr = /^(0+)$/;
1382
- function rr(e) {
1402
+ var nr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qr = /^(@+)?(\+|#+)?[rs]?$/g, Hi = /(\*)(0+)|(#+)(0+)|(0+)/g, zr = /^(0+)$/;
1403
+ function ir(e) {
1383
1404
  var t = {};
1384
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xr, function(r, n, i) {
1405
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qr, function(r, n, i) {
1385
1406
  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)), "";
1386
1407
  }), t;
1387
1408
  }
1388
- function qr(e) {
1409
+ function Qr(e) {
1389
1410
  switch (e) {
1390
1411
  case "sign-auto":
1391
1412
  return {
@@ -1425,7 +1446,7 @@ function qr(e) {
1425
1446
  };
1426
1447
  }
1427
1448
  }
1428
- function Ai(e) {
1449
+ function Mi(e) {
1429
1450
  var t;
1430
1451
  if (e[0] === "E" && e[1] === "E" ? (t = {
1431
1452
  notation: "engineering"
@@ -1439,11 +1460,11 @@ function Ai(e) {
1439
1460
  }
1440
1461
  return t;
1441
1462
  }
1442
- function nr(e) {
1443
- var t = {}, r = qr(e);
1463
+ function or(e) {
1464
+ var t = {}, r = Qr(e);
1444
1465
  return r || t;
1445
1466
  }
1446
- function Hi(e) {
1467
+ function Ri(e) {
1447
1468
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1448
1469
  var i = n[r];
1449
1470
  switch (i.stem) {
@@ -1467,7 +1488,7 @@ function Hi(e) {
1467
1488
  continue;
1468
1489
  case "measure-unit":
1469
1490
  case "unit":
1470
- t.style = "unit", t.unit = Pi(i.options[0]);
1491
+ t.style = "unit", t.unit = Ai(i.options[0]);
1471
1492
  continue;
1472
1493
  case "compact-short":
1473
1494
  case "K":
@@ -1478,13 +1499,13 @@ function Hi(e) {
1478
1499
  t.notation = "compact", t.compactDisplay = "long";
1479
1500
  continue;
1480
1501
  case "scientific":
1481
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1482
- return T(T({}, l), nr(u));
1502
+ t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1503
+ return C(C({}, l), or(u));
1483
1504
  }, {}));
1484
1505
  continue;
1485
1506
  case "engineering":
1486
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1487
- return T(T({}, l), nr(u));
1507
+ t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1508
+ return C(C({}, l), or(u));
1488
1509
  }, {}));
1489
1510
  continue;
1490
1511
  case "notation-simple":
@@ -1529,7 +1550,7 @@ function Hi(e) {
1529
1550
  case "integer-width":
1530
1551
  if (i.options.length > 1)
1531
1552
  throw new RangeError("integer-width stems only accept a single optional option");
1532
- i.options[0].replace(Oi, function(l, u, h, f, c, d) {
1553
+ i.options[0].replace(Hi, function(l, u, h, f, c, d) {
1533
1554
  if (u)
1534
1555
  t.minimumIntegerDigits = h.length;
1535
1556
  else {
@@ -1546,24 +1567,24 @@ function Hi(e) {
1546
1567
  t.minimumIntegerDigits = i.stem.length;
1547
1568
  continue;
1548
1569
  }
1549
- if (tr.test(i.stem)) {
1570
+ if (nr.test(i.stem)) {
1550
1571
  if (i.options.length > 1)
1551
1572
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1552
- i.stem.replace(tr, function(l, u, h, f, c, d) {
1573
+ i.stem.replace(nr, function(l, u, h, f, c, d) {
1553
1574
  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), "";
1554
1575
  });
1555
1576
  var o = i.options[0];
1556
- o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), rr(o)));
1577
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), ir(o)));
1557
1578
  continue;
1558
1579
  }
1559
- if (Xr.test(i.stem)) {
1560
- t = T(T({}, t), rr(i.stem));
1580
+ if (qr.test(i.stem)) {
1581
+ t = C(C({}, t), ir(i.stem));
1561
1582
  continue;
1562
1583
  }
1563
- var a = qr(i.stem);
1564
- a && (t = T(T({}, t), a));
1565
- var s = Ai(i.stem);
1566
- s && (t = T(T({}, t), s));
1584
+ var a = Qr(i.stem);
1585
+ a && (t = C(C({}, t), a));
1586
+ var s = Mi(i.stem);
1587
+ s && (t = C(C({}, t), s));
1567
1588
  }
1568
1589
  return t;
1569
1590
  }
@@ -2982,13 +3003,13 @@ var $e = {
2982
3003
  "h"
2983
3004
  ]
2984
3005
  };
2985
- function Mi(e, t) {
3006
+ function Ni(e, t) {
2986
3007
  for (var r = "", n = 0; n < e.length; n++) {
2987
3008
  var i = e.charAt(n);
2988
3009
  if (i === "j") {
2989
3010
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2990
3011
  o++, n++;
2991
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ri(t);
3012
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Di(t);
2992
3013
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2993
3014
  r += l;
2994
3015
  for (; a-- > 0; )
@@ -2998,7 +3019,7 @@ function Mi(e, t) {
2998
3019
  }
2999
3020
  return r;
3000
3021
  }
3001
- function Ri(e) {
3022
+ function Di(e) {
3002
3023
  var t = e.hourCycle;
3003
3024
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3004
3025
  e.hourCycles && // @ts-ignore
@@ -3020,20 +3041,20 @@ function Ri(e) {
3020
3041
  var i = $e[n || ""] || $e[r || ""] || $e["".concat(r, "-001")] || $e["001"];
3021
3042
  return i[0];
3022
3043
  }
3023
- var ft, Ni = new RegExp("^".concat(Yr.source, "*")), Di = new RegExp("".concat(Yr.source, "*$"));
3044
+ var mt, Ii = new RegExp("^".concat(Xr.source, "*")), Li = new RegExp("".concat(Xr.source, "*$"));
3024
3045
  function _(e, t) {
3025
3046
  return { start: e, end: t };
3026
3047
  }
3027
- var Ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ui = !!Object.fromEntries, ki = !!String.prototype.codePointAt, $i = !!String.prototype.trimStart, Fi = !!String.prototype.trimEnd, Gi = !!Number.isSafeInteger, ji = Gi ? Number.isSafeInteger : function(e) {
3048
+ var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), ki = !!String.fromCodePoint, $i = !!Object.fromEntries, Fi = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ji = !!String.prototype.trimEnd, Wi = !!Number.isSafeInteger, Vi = Wi ? Number.isSafeInteger : function(e) {
3028
3049
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3029
- }, Bt = !0;
3050
+ }, Pt = !0;
3030
3051
  try {
3031
- var Wi = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3032
- Bt = ((ft = Wi.exec("a")) === null || ft === void 0 ? void 0 : ft[0]) === "a";
3052
+ var Yi = Jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3053
+ Pt = ((mt = Yi.exec("a")) === null || mt === void 0 ? void 0 : mt[0]) === "a";
3033
3054
  } catch (e) {
3034
- Bt = !1;
3055
+ Pt = !1;
3035
3056
  }
3036
- var ir = Ii ? (
3057
+ var ar = Ui ? (
3037
3058
  // Native
3038
3059
  function(t, r, n) {
3039
3060
  return t.startsWith(r, n);
@@ -3043,7 +3064,7 @@ var ir = Ii ? (
3043
3064
  function(t, r, n) {
3044
3065
  return t.slice(n, n + r.length) === r;
3045
3066
  }
3046
- ), St = Li ? String.fromCodePoint : (
3067
+ ), At = ki ? String.fromCodePoint : (
3047
3068
  // IE11
3048
3069
  function() {
3049
3070
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3055,9 +3076,9 @@ var ir = Ii ? (
3055
3076
  }
3056
3077
  return n;
3057
3078
  }
3058
- ), or = (
3079
+ ), sr = (
3059
3080
  // native
3060
- Ui ? Object.fromEntries : (
3081
+ $i ? Object.fromEntries : (
3061
3082
  // Ponyfill
3062
3083
  function(t) {
3063
3084
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3067,7 +3088,7 @@ var ir = Ii ? (
3067
3088
  return r;
3068
3089
  }
3069
3090
  )
3070
- ), Qr = ki ? (
3091
+ ), Zr = Fi ? (
3071
3092
  // Native
3072
3093
  function(t, r) {
3073
3094
  return t.codePointAt(r);
@@ -3081,7 +3102,7 @@ var ir = Ii ? (
3081
3102
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3082
3103
  }
3083
3104
  }
3084
- ), Vi = $i ? (
3105
+ ), Xi = Gi ? (
3085
3106
  // Native
3086
3107
  function(t) {
3087
3108
  return t.trimStart();
@@ -3089,9 +3110,9 @@ var ir = Ii ? (
3089
3110
  ) : (
3090
3111
  // Ponyfill
3091
3112
  function(t) {
3092
- return t.replace(Ni, "");
3113
+ return t.replace(Ii, "");
3093
3114
  }
3094
- ), Yi = Fi ? (
3115
+ ), qi = ji ? (
3095
3116
  // Native
3096
3117
  function(t) {
3097
3118
  return t.trimEnd();
@@ -3099,32 +3120,32 @@ var ir = Ii ? (
3099
3120
  ) : (
3100
3121
  // Ponyfill
3101
3122
  function(t) {
3102
- return t.replace(Di, "");
3123
+ return t.replace(Li, "");
3103
3124
  }
3104
3125
  );
3105
- function Zr(e, t) {
3126
+ function Jr(e, t) {
3106
3127
  return new RegExp(e, t);
3107
3128
  }
3108
- var Ct;
3109
- if (Bt) {
3110
- var ar = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3111
- Ct = function(t, r) {
3129
+ var Ht;
3130
+ if (Pt) {
3131
+ var ur = Jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3132
+ Ht = function(t, r) {
3112
3133
  var n;
3113
- ar.lastIndex = r;
3114
- var i = ar.exec(t);
3134
+ ur.lastIndex = r;
3135
+ var i = ur.exec(t);
3115
3136
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3116
3137
  };
3117
3138
  } else
3118
- Ct = function(t, r) {
3139
+ Ht = function(t, r) {
3119
3140
  for (var n = []; ; ) {
3120
- var i = Qr(t, r);
3121
- if (i === void 0 || Jr(i) || Qi(i))
3141
+ var i = Zr(t, r);
3142
+ if (i === void 0 || Kr(i) || Ji(i))
3122
3143
  break;
3123
3144
  n.push(i), r += i >= 65536 ? 2 : 1;
3124
3145
  }
3125
- return St.apply(void 0, n);
3146
+ return At.apply(void 0, n);
3126
3147
  };
3127
- var Xi = (
3148
+ var zi = (
3128
3149
  /** @class */
3129
3150
  function() {
3130
3151
  function e(t, r) {
@@ -3148,14 +3169,14 @@ var Xi = (
3148
3169
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3149
3170
  var s = this.clonePosition();
3150
3171
  this.bump(), i.push({
3151
- type: C.pound,
3172
+ type: S.pound,
3152
3173
  location: _(s, this.clonePosition())
3153
3174
  });
3154
3175
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3155
3176
  if (n)
3156
3177
  break;
3157
3178
  return this.error(w.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3158
- } else if (o === 60 && !this.ignoreTag && Pt(this.peek() || 0)) {
3179
+ } else if (o === 60 && !this.ignoreTag && Mt(this.peek() || 0)) {
3159
3180
  var a = this.parseTag(t, r);
3160
3181
  if (a.err)
3161
3182
  return a;
@@ -3176,7 +3197,7 @@ var Xi = (
3176
3197
  if (this.bumpSpace(), this.bumpIf("/>"))
3177
3198
  return {
3178
3199
  val: {
3179
- type: C.literal,
3200
+ type: S.literal,
3180
3201
  value: "<".concat(i, "/>"),
3181
3202
  location: _(n, this.clonePosition())
3182
3203
  },
@@ -3188,12 +3209,12 @@ var Xi = (
3188
3209
  return o;
3189
3210
  var a = o.val, s = this.clonePosition();
3190
3211
  if (this.bumpIf("</")) {
3191
- if (this.isEOF() || !Pt(this.char()))
3212
+ if (this.isEOF() || !Mt(this.char()))
3192
3213
  return this.error(w.INVALID_TAG, _(s, this.clonePosition()));
3193
3214
  var l = this.clonePosition(), u = this.parseTagName();
3194
3215
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3195
3216
  val: {
3196
- type: C.tag,
3217
+ type: S.tag,
3197
3218
  value: i,
3198
3219
  children: a,
3199
3220
  location: _(n, this.clonePosition())
@@ -3206,7 +3227,7 @@ var Xi = (
3206
3227
  return this.error(w.INVALID_TAG, _(n, this.clonePosition()));
3207
3228
  }, e.prototype.parseTagName = function() {
3208
3229
  var t = this.offset();
3209
- for (this.bump(); !this.isEOF() && qi(this.char()); )
3230
+ for (this.bump(); !this.isEOF() && Zi(this.char()); )
3210
3231
  this.bump();
3211
3232
  return this.message.slice(t, this.offset());
3212
3233
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3230,12 +3251,12 @@ var Xi = (
3230
3251
  }
3231
3252
  var l = _(n, this.clonePosition());
3232
3253
  return {
3233
- val: { type: C.literal, value: i, location: l },
3254
+ val: { type: S.literal, value: i, location: l },
3234
3255
  err: null
3235
3256
  };
3236
3257
  }, e.prototype.tryParseLeftAngleBracket = function() {
3237
3258
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3238
- !zi(this.peek() || 0)) ? (this.bump(), "<") : null;
3259
+ !Qi(this.peek() || 0)) ? (this.bump(), "<") : null;
3239
3260
  }, e.prototype.tryParseQuote = function(t) {
3240
3261
  if (this.isEOF() || this.char() !== 39)
3241
3262
  return null;
@@ -3269,12 +3290,12 @@ var Xi = (
3269
3290
  r.push(n);
3270
3291
  this.bump();
3271
3292
  }
3272
- return St.apply(void 0, r);
3293
+ return At.apply(void 0, r);
3273
3294
  }, e.prototype.tryParseUnquoted = function(t, r) {
3274
3295
  if (this.isEOF())
3275
3296
  return null;
3276
3297
  var n = this.char();
3277
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), St(n));
3298
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), At(n));
3278
3299
  }, e.prototype.parseArgument = function(t, r) {
3279
3300
  var n = this.clonePosition();
3280
3301
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3290,7 +3311,7 @@ var Xi = (
3290
3311
  case 125:
3291
3312
  return this.bump(), {
3292
3313
  val: {
3293
- type: C.argument,
3314
+ type: S.argument,
3294
3315
  // value does not include the opening and closing braces.
3295
3316
  value: i,
3296
3317
  location: _(n, this.clonePosition())
@@ -3303,7 +3324,7 @@ var Xi = (
3303
3324
  return this.error(w.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3304
3325
  }
3305
3326
  }, e.prototype.parseIdentifierIfPossible = function() {
3306
- var t = this.clonePosition(), r = this.offset(), n = Ct(this.message, r), i = r + n.length;
3327
+ var t = this.clonePosition(), r = this.offset(), n = Ht(this.message, r), i = r + n.length;
3307
3328
  this.bumpTo(i);
3308
3329
  var o = this.clonePosition(), a = _(t, o);
3309
3330
  return { value: n, location: a };
@@ -3322,7 +3343,7 @@ var Xi = (
3322
3343
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3323
3344
  if (f.err)
3324
3345
  return f;
3325
- var c = Yi(f.val);
3346
+ var c = qi(f.val);
3326
3347
  if (c.length === 0)
3327
3348
  return this.error(w.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3328
3349
  var d = _(h, this.clonePosition());
@@ -3332,34 +3353,34 @@ var Xi = (
3332
3353
  if (p.err)
3333
3354
  return p;
3334
3355
  var v = _(i, this.clonePosition());
3335
- if (u && ir(u == null ? void 0 : u.style, "::", 0)) {
3336
- var S = Vi(u.style.slice(2));
3356
+ if (u && ar(u == null ? void 0 : u.style, "::", 0)) {
3357
+ var B = Xi(u.style.slice(2));
3337
3358
  if (s === "number") {
3338
- var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3359
+ var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3339
3360
  return f.err ? f : {
3340
- val: { type: C.number, value: n, location: v, style: f.val },
3361
+ val: { type: S.number, value: n, location: v, style: f.val },
3341
3362
  err: null
3342
3363
  };
3343
3364
  } else {
3344
- if (S.length === 0)
3365
+ if (B.length === 0)
3345
3366
  return this.error(w.EXPECT_DATE_TIME_SKELETON, v);
3346
- var L = S;
3347
- this.locale && (L = Mi(S, this.locale));
3367
+ var L = B;
3368
+ this.locale && (L = Ni(B, this.locale));
3348
3369
  var c = {
3349
- type: _e.dateTime,
3370
+ type: we.dateTime,
3350
3371
  pattern: L,
3351
3372
  location: u.styleLocation,
3352
- parsedOptions: this.shouldParseSkeletons ? Bi(L) : {}
3353
- }, P = s === "date" ? C.date : C.time;
3373
+ parsedOptions: this.shouldParseSkeletons ? Ci(L) : {}
3374
+ }, O = s === "date" ? S.date : S.time;
3354
3375
  return {
3355
- val: { type: P, value: n, location: v, style: c },
3376
+ val: { type: O, value: n, location: v, style: c },
3356
3377
  err: null
3357
3378
  };
3358
3379
  }
3359
3380
  }
3360
3381
  return {
3361
3382
  val: {
3362
- type: s === "number" ? C.number : s === "date" ? C.date : C.time,
3383
+ type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3363
3384
  value: n,
3364
3385
  location: v,
3365
3386
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3372,7 +3393,7 @@ var Xi = (
3372
3393
  case "select": {
3373
3394
  var E = this.clonePosition();
3374
3395
  if (this.bumpSpace(), !this.bumpIf(","))
3375
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(E, T({}, E)));
3396
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(E, Ve({}, E)));
3376
3397
  this.bumpSpace();
3377
3398
  var U = this.parseIdentifierIfPossible(), A = 0;
3378
3399
  if (s !== "select" && U.value === "offset") {
@@ -3393,17 +3414,17 @@ var Xi = (
3393
3414
  var k = _(i, this.clonePosition());
3394
3415
  return s === "select" ? {
3395
3416
  val: {
3396
- type: C.select,
3417
+ type: S.select,
3397
3418
  value: n,
3398
- options: or($.val),
3419
+ options: sr($.val),
3399
3420
  location: k
3400
3421
  },
3401
3422
  err: null
3402
3423
  } : {
3403
3424
  val: {
3404
- type: C.plural,
3425
+ type: S.plural,
3405
3426
  value: n,
3406
- options: or($.val),
3427
+ options: sr($.val),
3407
3428
  offset: A,
3408
3429
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3409
3430
  location: k
@@ -3454,16 +3475,16 @@ var Xi = (
3454
3475
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3455
3476
  var n = [];
3456
3477
  try {
3457
- n = Ci(t);
3478
+ n = Pi(t);
3458
3479
  } catch (i) {
3459
3480
  return this.error(w.INVALID_NUMBER_SKELETON, r);
3460
3481
  }
3461
3482
  return {
3462
3483
  val: {
3463
- type: _e.number,
3484
+ type: we.number,
3464
3485
  tokens: n,
3465
3486
  location: r,
3466
- parsedOptions: this.shouldParseSkeletons ? Hi(n) : {}
3487
+ parsedOptions: this.shouldParseSkeletons ? Ri(n) : {}
3467
3488
  },
3468
3489
  err: null
3469
3490
  };
@@ -3511,7 +3532,7 @@ var Xi = (
3511
3532
  break;
3512
3533
  }
3513
3534
  var l = _(i, this.clonePosition());
3514
- return o ? (a *= n, ji(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3535
+ return o ? (a *= n, Vi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3515
3536
  }, e.prototype.offset = function() {
3516
3537
  return this.position.offset;
3517
3538
  }, e.prototype.isEOF = function() {
@@ -3526,7 +3547,7 @@ var Xi = (
3526
3547
  var t = this.position.offset;
3527
3548
  if (t >= this.message.length)
3528
3549
  throw Error("out of bound");
3529
- var r = Qr(this.message, t);
3550
+ var r = Zr(this.message, t);
3530
3551
  if (r === void 0)
3531
3552
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3532
3553
  return r;
@@ -3545,7 +3566,7 @@ var Xi = (
3545
3566
  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);
3546
3567
  }
3547
3568
  }, e.prototype.bumpIf = function(t) {
3548
- if (ir(this.message, t, this.offset())) {
3569
+ if (ar(this.message, t, this.offset())) {
3549
3570
  for (var r = 0; r < t.length; r++)
3550
3571
  this.bump();
3551
3572
  return !0;
@@ -3567,7 +3588,7 @@ var Xi = (
3567
3588
  break;
3568
3589
  }
3569
3590
  }, e.prototype.bumpSpace = function() {
3570
- for (; !this.isEOF() && Jr(this.char()); )
3591
+ for (; !this.isEOF() && Kr(this.char()); )
3571
3592
  this.bump();
3572
3593
  }, e.prototype.peek = function() {
3573
3594
  if (this.isEOF())
@@ -3577,47 +3598,47 @@ var Xi = (
3577
3598
  }, e;
3578
3599
  }()
3579
3600
  );
3580
- function Pt(e) {
3601
+ function Mt(e) {
3581
3602
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3582
3603
  }
3583
- function zi(e) {
3584
- return Pt(e) || e === 47;
3604
+ function Qi(e) {
3605
+ return Mt(e) || e === 47;
3585
3606
  }
3586
- function qi(e) {
3607
+ function Zi(e) {
3587
3608
  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;
3588
3609
  }
3589
- function Jr(e) {
3610
+ function Kr(e) {
3590
3611
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3591
3612
  }
3592
- function Qi(e) {
3613
+ function Ji(e) {
3593
3614
  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;
3594
3615
  }
3595
- function Ot(e) {
3616
+ function Rt(e) {
3596
3617
  e.forEach(function(t) {
3597
- if (delete t.location, Gr(t) || jr(t))
3618
+ if (delete t.location, jr(t) || Wr(t))
3598
3619
  for (var r in t.options)
3599
- delete t.options[r].location, Ot(t.options[r].value);
3620
+ delete t.options[r].location, Rt(t.options[r].value);
3600
3621
  else
3601
- kr(t) && Vr(t.style) || ($r(t) || Fr(t)) && xt(t.style) ? delete t.style.location : Wr(t) && Ot(t.children);
3622
+ $r(t) && Yr(t.style) || (Fr(t) || Gr(t)) && Ot(t.style) ? delete t.style.location : Vr(t) && Rt(t.children);
3602
3623
  });
3603
3624
  }
3604
- function Zi(e, t) {
3605
- t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3606
- var r = new Xi(e, t).parse();
3625
+ function Ki(e, t) {
3626
+ t === void 0 && (t = {}), t = Ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3627
+ var r = new zi(e, t).parse();
3607
3628
  if (r.err) {
3608
3629
  var n = SyntaxError(w[r.err.kind]);
3609
3630
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3610
3631
  }
3611
- return t != null && t.captureLocation || Ot(r.val), r.val;
3632
+ return t != null && t.captureLocation || Rt(r.val), r.val;
3612
3633
  }
3613
- var Te;
3634
+ var _e;
3614
3635
  (function(e) {
3615
3636
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3616
- })(Te || (Te = {}));
3617
- var Je = (
3637
+ })(_e || (_e = {}));
3638
+ var et = (
3618
3639
  /** @class */
3619
3640
  function(e) {
3620
- ne(t, e);
3641
+ Ke(t, e);
3621
3642
  function t(r, n, i) {
3622
3643
  var o = e.call(this, r) || this;
3623
3644
  return o.code = n, o.originalMessage = i, o;
@@ -3626,48 +3647,48 @@ var Je = (
3626
3647
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3627
3648
  }, t;
3628
3649
  }(Error)
3629
- ), sr = (
3650
+ ), lr = (
3630
3651
  /** @class */
3631
3652
  function(e) {
3632
- ne(t, e);
3653
+ Ke(t, e);
3633
3654
  function t(r, n, i, o) {
3634
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Te.INVALID_VALUE, o) || this;
3655
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), _e.INVALID_VALUE, o) || this;
3635
3656
  }
3636
3657
  return t;
3637
- }(Je)
3638
- ), Ji = (
3658
+ }(et)
3659
+ ), eo = (
3639
3660
  /** @class */
3640
3661
  function(e) {
3641
- ne(t, e);
3662
+ Ke(t, e);
3642
3663
  function t(r, n, i) {
3643
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Te.INVALID_VALUE, i) || this;
3664
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), _e.INVALID_VALUE, i) || this;
3644
3665
  }
3645
3666
  return t;
3646
- }(Je)
3647
- ), Ki = (
3667
+ }(et)
3668
+ ), to = (
3648
3669
  /** @class */
3649
3670
  function(e) {
3650
- ne(t, e);
3671
+ Ke(t, e);
3651
3672
  function t(r, n) {
3652
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Te.MISSING_VALUE, n) || this;
3673
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), _e.MISSING_VALUE, n) || this;
3653
3674
  }
3654
3675
  return t;
3655
- }(Je)
3676
+ }(et)
3656
3677
  ), F;
3657
3678
  (function(e) {
3658
3679
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3659
3680
  })(F || (F = {}));
3660
- function eo(e) {
3681
+ function ro(e) {
3661
3682
  return e.length < 2 ? e : e.reduce(function(t, r) {
3662
3683
  var n = t[t.length - 1];
3663
3684
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3664
3685
  }, []);
3665
3686
  }
3666
- function to(e) {
3687
+ function no(e) {
3667
3688
  return typeof e == "function";
3668
3689
  }
3669
3690
  function je(e, t, r, n, i, o, a) {
3670
- if (e.length === 1 && er(e[0]))
3691
+ if (e.length === 1 && rr(e[0]))
3671
3692
  return [
3672
3693
  {
3673
3694
  type: F.literal,
@@ -3676,14 +3697,14 @@ function je(e, t, r, n, i, o, a) {
3676
3697
  ];
3677
3698
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3678
3699
  var h = u[l];
3679
- if (er(h)) {
3700
+ if (rr(h)) {
3680
3701
  s.push({
3681
3702
  type: F.literal,
3682
3703
  value: h.value
3683
3704
  });
3684
3705
  continue;
3685
3706
  }
3686
- if (Ei(h)) {
3707
+ if (Bi(h)) {
3687
3708
  typeof o == "number" && s.push({
3688
3709
  type: F.literal,
3689
3710
  value: r.getNumberFormat(t).format(o)
@@ -3692,89 +3713,89 @@ function je(e, t, r, n, i, o, a) {
3692
3713
  }
3693
3714
  var f = h.value;
3694
3715
  if (!(i && f in i))
3695
- throw new Ki(f, a);
3716
+ throw new to(f, a);
3696
3717
  var c = i[f];
3697
- if (Ti(h)) {
3718
+ if (xi(h)) {
3698
3719
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3699
3720
  type: typeof c == "string" ? F.literal : F.object,
3700
3721
  value: c
3701
3722
  });
3702
3723
  continue;
3703
3724
  }
3704
- if ($r(h)) {
3705
- var d = typeof h.style == "string" ? n.date[h.style] : xt(h.style) ? h.style.parsedOptions : void 0;
3725
+ if (Fr(h)) {
3726
+ var d = typeof h.style == "string" ? n.date[h.style] : Ot(h.style) ? h.style.parsedOptions : void 0;
3706
3727
  s.push({
3707
3728
  type: F.literal,
3708
3729
  value: r.getDateTimeFormat(t, d).format(c)
3709
3730
  });
3710
3731
  continue;
3711
3732
  }
3712
- if (Fr(h)) {
3713
- var d = typeof h.style == "string" ? n.time[h.style] : xt(h.style) ? h.style.parsedOptions : n.time.medium;
3733
+ if (Gr(h)) {
3734
+ var d = typeof h.style == "string" ? n.time[h.style] : Ot(h.style) ? h.style.parsedOptions : n.time.medium;
3714
3735
  s.push({
3715
3736
  type: F.literal,
3716
3737
  value: r.getDateTimeFormat(t, d).format(c)
3717
3738
  });
3718
3739
  continue;
3719
3740
  }
3720
- if (kr(h)) {
3721
- var d = typeof h.style == "string" ? n.number[h.style] : Vr(h.style) ? h.style.parsedOptions : void 0;
3741
+ if ($r(h)) {
3742
+ var d = typeof h.style == "string" ? n.number[h.style] : Yr(h.style) ? h.style.parsedOptions : void 0;
3722
3743
  d && d.scale && (c = c * (d.scale || 1)), s.push({
3723
3744
  type: F.literal,
3724
3745
  value: r.getNumberFormat(t, d).format(c)
3725
3746
  });
3726
3747
  continue;
3727
3748
  }
3728
- if (Wr(h)) {
3729
- var p = h.children, v = h.value, S = i[v];
3730
- if (!to(S))
3731
- throw new Ji(v, "function", a);
3732
- var L = je(p, t, r, n, i, o), P = S(L.map(function(A) {
3749
+ if (Vr(h)) {
3750
+ var p = h.children, v = h.value, B = i[v];
3751
+ if (!no(B))
3752
+ throw new eo(v, "function", a);
3753
+ var L = je(p, t, r, n, i, o), O = B(L.map(function(A) {
3733
3754
  return A.value;
3734
3755
  }));
3735
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(A) {
3756
+ Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(A) {
3736
3757
  return {
3737
3758
  type: typeof A == "string" ? F.literal : F.object,
3738
3759
  value: A
3739
3760
  };
3740
3761
  }));
3741
3762
  }
3742
- if (Gr(h)) {
3763
+ if (jr(h)) {
3743
3764
  var E = h.options[c] || h.options.other;
3744
3765
  if (!E)
3745
- throw new sr(h.value, c, Object.keys(h.options), a);
3766
+ throw new lr(h.value, c, Object.keys(h.options), a);
3746
3767
  s.push.apply(s, je(E.value, t, r, n, i));
3747
3768
  continue;
3748
3769
  }
3749
- if (jr(h)) {
3770
+ if (Wr(h)) {
3750
3771
  var E = h.options["=".concat(c)];
3751
3772
  if (!E) {
3752
3773
  if (!Intl.PluralRules)
3753
- throw new Je(`Intl.PluralRules is not available in this environment.
3774
+ throw new et(`Intl.PluralRules is not available in this environment.
3754
3775
  Try polyfilling it using "@formatjs/intl-pluralrules"
3755
- `, Te.MISSING_INTL_API, a);
3776
+ `, _e.MISSING_INTL_API, a);
3756
3777
  var U = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3757
3778
  E = h.options[U] || h.options.other;
3758
3779
  }
3759
3780
  if (!E)
3760
- throw new sr(h.value, c, Object.keys(h.options), a);
3781
+ throw new lr(h.value, c, Object.keys(h.options), a);
3761
3782
  s.push.apply(s, je(E.value, t, r, n, i, c - (h.offset || 0)));
3762
3783
  continue;
3763
3784
  }
3764
3785
  }
3765
- return eo(s);
3786
+ return ro(s);
3766
3787
  }
3767
- function ro(e, t) {
3768
- return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3769
- return r[n] = T(T({}, e[n]), t[n] || {}), r;
3788
+ function io(e, t) {
3789
+ return t ? K(K(K({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3790
+ return r[n] = K(K({}, e[n]), t[n] || {}), r;
3770
3791
  }, {})) : e;
3771
3792
  }
3772
- function no(e, t) {
3793
+ function oo(e, t) {
3773
3794
  return t ? Object.keys(e).reduce(function(r, n) {
3774
- return r[n] = ro(e[n], t[n]), r;
3775
- }, T({}, e)) : e;
3795
+ return r[n] = io(e[n], t[n]), r;
3796
+ }, K({}, e)) : e;
3776
3797
  }
3777
- function dt(e) {
3798
+ function bt(e) {
3778
3799
  return {
3779
3800
  create: function() {
3780
3801
  return {
@@ -3788,39 +3809,39 @@ function dt(e) {
3788
3809
  }
3789
3810
  };
3790
3811
  }
3791
- function io(e) {
3812
+ function ao(e) {
3792
3813
  return e === void 0 && (e = {
3793
3814
  number: {},
3794
3815
  dateTime: {},
3795
3816
  pluralRules: {}
3796
3817
  }), {
3797
- getNumberFormat: ht(function() {
3818
+ getNumberFormat: ft(function() {
3798
3819
  for (var t, r = [], n = 0; n < arguments.length; n++)
3799
3820
  r[n] = arguments[n];
3800
- return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
3821
+ return new ((t = Intl.NumberFormat).bind.apply(t, ct([void 0], r, !1)))();
3801
3822
  }, {
3802
- cache: dt(e.number),
3803
- strategy: ct.variadic
3823
+ cache: bt(e.number),
3824
+ strategy: dt.variadic
3804
3825
  }),
3805
- getDateTimeFormat: ht(function() {
3826
+ getDateTimeFormat: ft(function() {
3806
3827
  for (var t, r = [], n = 0; n < arguments.length; n++)
3807
3828
  r[n] = arguments[n];
3808
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
3829
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ct([void 0], r, !1)))();
3809
3830
  }, {
3810
- cache: dt(e.dateTime),
3811
- strategy: ct.variadic
3831
+ cache: bt(e.dateTime),
3832
+ strategy: dt.variadic
3812
3833
  }),
3813
- getPluralRules: ht(function() {
3834
+ getPluralRules: ft(function() {
3814
3835
  for (var t, r = [], n = 0; n < arguments.length; n++)
3815
3836
  r[n] = arguments[n];
3816
- return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
3837
+ return new ((t = Intl.PluralRules).bind.apply(t, ct([void 0], r, !1)))();
3817
3838
  }, {
3818
- cache: dt(e.pluralRules),
3819
- strategy: ct.variadic
3839
+ cache: bt(e.pluralRules),
3840
+ strategy: dt.variadic
3820
3841
  })
3821
3842
  };
3822
3843
  }
3823
- var oo = (
3844
+ var so = (
3824
3845
  /** @class */
3825
3846
  function() {
3826
3847
  function e(t, r, n, i) {
@@ -3852,13 +3873,13 @@ var oo = (
3852
3873
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3853
3874
  var a = i || {};
3854
3875
  a.formatters;
3855
- var s = Un(a, ["formatters"]);
3856
- this.ast = e.__parse(t, T(T({}, s), { locale: this.resolvedLocale }));
3876
+ var s = pi(a, ["formatters"]);
3877
+ this.ast = e.__parse(t, K(K({}, s), { locale: this.resolvedLocale }));
3857
3878
  } else
3858
3879
  this.ast = t;
3859
3880
  if (!Array.isArray(this.ast))
3860
3881
  throw new TypeError("A message must be provided as a String or AST.");
3861
- this.formats = no(e.formats, n), this.formatters = i && i.formatters || io(this.formatterCache);
3882
+ this.formats = oo(e.formats, n), this.formatters = i && i.formatters || ao(this.formatterCache);
3862
3883
  }
3863
3884
  return Object.defineProperty(e, "defaultLocale", {
3864
3885
  get: function() {
@@ -3871,7 +3892,7 @@ var oo = (
3871
3892
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3872
3893
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3873
3894
  }
3874
- }, e.__parse = Zi, e.formats = {
3895
+ }, e.__parse = Ki, e.formats = {
3875
3896
  number: {
3876
3897
  integer: {
3877
3898
  maximumFractionDigits: 0
@@ -3932,7 +3953,7 @@ var oo = (
3932
3953
  }, e;
3933
3954
  }()
3934
3955
  );
3935
- function ao(e, t) {
3956
+ function uo(e, t) {
3936
3957
  if (t == null)
3937
3958
  return;
3938
3959
  if (t in e)
@@ -3953,92 +3974,92 @@ function ao(e, t) {
3953
3974
  n = void 0;
3954
3975
  return n;
3955
3976
  }
3956
- const ae = {}, so = (e, t, r) => r && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = r), r), Kr = (e, t) => {
3977
+ const ae = {}, lo = (e, t, r) => r && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = r), r), en = (e, t) => {
3957
3978
  if (t == null)
3958
3979
  return;
3959
3980
  if (t in ae && e in ae[t])
3960
3981
  return ae[t][e];
3961
- const r = Ke(t);
3982
+ const r = tt(t);
3962
3983
  for (let n = 0; n < r.length; n++) {
3963
- const i = r[n], o = lo(i, e);
3984
+ const i = r[n], o = co(i, e);
3964
3985
  if (o)
3965
- return so(e, t, o);
3986
+ return lo(e, t, o);
3966
3987
  }
3967
3988
  };
3968
- let Dt;
3969
- const Ie = Ze({});
3970
- function uo(e) {
3971
- return Dt[e] || null;
3989
+ let Lt;
3990
+ const Ie = Je({});
3991
+ function ho(e) {
3992
+ return Lt[e] || null;
3972
3993
  }
3973
- function en(e) {
3974
- return e in Dt;
3994
+ function tn(e) {
3995
+ return e in Lt;
3975
3996
  }
3976
- function lo(e, t) {
3977
- if (!en(e))
3997
+ function co(e, t) {
3998
+ if (!tn(e))
3978
3999
  return null;
3979
- const r = uo(e);
3980
- return ao(r, t);
4000
+ const r = ho(e);
4001
+ return uo(r, t);
3981
4002
  }
3982
- function ho(e) {
4003
+ function fo(e) {
3983
4004
  if (e == null)
3984
4005
  return;
3985
- const t = Ke(e);
4006
+ const t = tt(e);
3986
4007
  for (let r = 0; r < t.length; r++) {
3987
4008
  const n = t[r];
3988
- if (en(n))
4009
+ if (tn(n))
3989
4010
  return n;
3990
4011
  }
3991
4012
  }
3992
- function tn(e, ...t) {
4013
+ function rn(e, ...t) {
3993
4014
  delete ae[e], Ie.update((r) => (r[e] = bi.all([r[e] || {}, ...t]), r));
3994
4015
  }
3995
- xe(
4016
+ Te(
3996
4017
  [Ie],
3997
4018
  ([e]) => Object.keys(e)
3998
4019
  );
3999
- Ie.subscribe((e) => Dt = e);
4020
+ Ie.subscribe((e) => Lt = e);
4000
4021
  const We = {};
4001
- function co(e, t) {
4022
+ function mo(e, t) {
4002
4023
  We[e].delete(t), We[e].size === 0 && delete We[e];
4003
4024
  }
4004
- function rn(e) {
4025
+ function nn(e) {
4005
4026
  return We[e];
4006
4027
  }
4007
- function fo(e) {
4008
- return Ke(e).map((t) => {
4009
- const r = rn(t);
4028
+ function bo(e) {
4029
+ return tt(e).map((t) => {
4030
+ const r = nn(t);
4010
4031
  return [t, r ? [...r] : []];
4011
4032
  }).filter(([, t]) => t.length > 0);
4012
4033
  }
4013
- function At(e) {
4014
- return e == null ? !1 : Ke(e).some(
4034
+ function Nt(e) {
4035
+ return e == null ? !1 : tt(e).some(
4015
4036
  (t) => {
4016
4037
  var r;
4017
- return (r = rn(t)) == null ? void 0 : r.size;
4038
+ return (r = nn(t)) == null ? void 0 : r.size;
4018
4039
  }
4019
4040
  );
4020
4041
  }
4021
- function mo(e, t) {
4042
+ function po(e, t) {
4022
4043
  return Promise.all(
4023
- t.map((n) => (co(e, n), n().then((i) => i.default || i)))
4024
- ).then((n) => tn(e, ...n));
4025
- }
4026
- const Pe = {};
4027
- function nn(e) {
4028
- if (!At(e))
4029
- return e in Pe ? Pe[e] : Promise.resolve();
4030
- const t = fo(e);
4031
- return Pe[e] = Promise.all(
4044
+ t.map((n) => (mo(e, n), n().then((i) => i.default || i)))
4045
+ ).then((n) => rn(e, ...n));
4046
+ }
4047
+ const Ce = {};
4048
+ function on(e) {
4049
+ if (!Nt(e))
4050
+ return e in Ce ? Ce[e] : Promise.resolve();
4051
+ const t = bo(e);
4052
+ return Ce[e] = Promise.all(
4032
4053
  t.map(
4033
- ([r, n]) => mo(r, n)
4054
+ ([r, n]) => po(r, n)
4034
4055
  )
4035
4056
  ).then(() => {
4036
- if (At(e))
4037
- return nn(e);
4038
- delete Pe[e];
4039
- }), Pe[e];
4057
+ if (Nt(e))
4058
+ return on(e);
4059
+ delete Ce[e];
4060
+ }), Ce[e];
4040
4061
  }
4041
- const bo = {
4062
+ const vo = {
4042
4063
  number: {
4043
4064
  scientific: { notation: "scientific" },
4044
4065
  engineering: { notation: "engineering" },
@@ -4067,135 +4088,135 @@ const bo = {
4067
4088
  timeZoneName: "short"
4068
4089
  }
4069
4090
  }
4070
- }, po = {
4091
+ }, go = {
4071
4092
  fallbackLocale: null,
4072
4093
  loadingDelay: 200,
4073
- formats: bo,
4094
+ formats: vo,
4074
4095
  warnOnMissingMessages: !0,
4075
4096
  handleMissingMessage: void 0,
4076
4097
  ignoreTag: !0
4077
- }, vo = po;
4098
+ }, yo = go;
4078
4099
  function Ee() {
4079
- return vo;
4100
+ return yo;
4080
4101
  }
4081
- const mt = Ze(!1);
4082
- var go = Object.defineProperty, yo = Object.defineProperties, wo = Object.getOwnPropertyDescriptors, ur = Object.getOwnPropertySymbols, _o = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Eo = (e, t) => {
4102
+ const pt = Je(!1);
4103
+ var wo = Object.defineProperty, _o = Object.defineProperties, Eo = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, To = Object.prototype.hasOwnProperty, xo = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bo = (e, t) => {
4083
4104
  for (var r in t || (t = {}))
4084
- _o.call(t, r) && lr(e, r, t[r]);
4085
- if (ur)
4086
- for (var r of ur(t))
4087
- To.call(t, r) && lr(e, r, t[r]);
4105
+ To.call(t, r) && cr(e, r, t[r]);
4106
+ if (hr)
4107
+ for (var r of hr(t))
4108
+ xo.call(t, r) && cr(e, r, t[r]);
4088
4109
  return e;
4089
- }, xo = (e, t) => yo(e, wo(t));
4090
- let Ht;
4091
- const Ve = Ze(null);
4092
- function hr(e) {
4110
+ }, So = (e, t) => _o(e, Eo(t));
4111
+ let Dt;
4112
+ const Ye = Je(null);
4113
+ function fr(e) {
4093
4114
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4094
4115
  }
4095
- function Ke(e, t = Ee().fallbackLocale) {
4096
- const r = hr(e);
4097
- return t ? [.../* @__PURE__ */ new Set([...r, ...hr(t)])] : r;
4116
+ function tt(e, t = Ee().fallbackLocale) {
4117
+ const r = fr(e);
4118
+ return t ? [.../* @__PURE__ */ new Set([...r, ...fr(t)])] : r;
4098
4119
  }
4099
4120
  function fe() {
4100
- return Ht != null ? Ht : void 0;
4121
+ return Dt != null ? Dt : void 0;
4101
4122
  }
4102
- Ve.subscribe((e) => {
4103
- Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4123
+ Ye.subscribe((e) => {
4124
+ Dt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4104
4125
  });
4105
- const Bo = (e) => {
4106
- if (e && ho(e) && At(e)) {
4126
+ const Co = (e) => {
4127
+ if (e && fo(e) && Nt(e)) {
4107
4128
  const { loadingDelay: t } = Ee();
4108
4129
  let r;
4109
4130
  return typeof window != "undefined" && fe() != null && t ? r = window.setTimeout(
4110
- () => mt.set(!0),
4131
+ () => pt.set(!0),
4111
4132
  t
4112
- ) : mt.set(!0), nn(e).then(() => {
4113
- Ve.set(e);
4133
+ ) : pt.set(!0), on(e).then(() => {
4134
+ Ye.set(e);
4114
4135
  }).finally(() => {
4115
- clearTimeout(r), mt.set(!1);
4136
+ clearTimeout(r), pt.set(!1);
4116
4137
  });
4117
4138
  }
4118
- return Ve.set(e);
4119
- }, Be = xo(Eo({}, Ve), {
4120
- set: Bo
4121
- }), et = (e) => {
4139
+ return Ye.set(e);
4140
+ }, xe = So(Bo({}, Ye), {
4141
+ set: Co
4142
+ }), rt = (e) => {
4122
4143
  const t = /* @__PURE__ */ Object.create(null);
4123
4144
  return (n) => {
4124
4145
  const i = JSON.stringify(n);
4125
4146
  return i in t ? t[i] : t[i] = e(n);
4126
4147
  };
4127
4148
  };
4128
- var So = Object.defineProperty, Ye = Object.getOwnPropertySymbols, on = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, It = (e, t) => {
4149
+ var Oo = Object.defineProperty, Xe = Object.getOwnPropertySymbols, an = Object.prototype.hasOwnProperty, sn = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? Oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
4129
4150
  for (var r in t || (t = {}))
4130
- on.call(t, r) && cr(e, r, t[r]);
4131
- if (Ye)
4132
- for (var r of Ye(t))
4133
- an.call(t, r) && cr(e, r, t[r]);
4151
+ an.call(t, r) && dr(e, r, t[r]);
4152
+ if (Xe)
4153
+ for (var r of Xe(t))
4154
+ sn.call(t, r) && dr(e, r, t[r]);
4134
4155
  return e;
4135
- }, Se = (e, t) => {
4156
+ }, Be = (e, t) => {
4136
4157
  var r = {};
4137
4158
  for (var n in e)
4138
- on.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4139
- if (e != null && Ye)
4140
- for (var n of Ye(e))
4141
- t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4159
+ an.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4160
+ if (e != null && Xe)
4161
+ for (var n of Xe(e))
4162
+ t.indexOf(n) < 0 && sn.call(e, n) && (r[n] = e[n]);
4142
4163
  return r;
4143
4164
  };
4144
- const Ne = (e, t) => {
4165
+ const Re = (e, t) => {
4145
4166
  const { formats: r } = Ee();
4146
4167
  if (e in r && t in r[e])
4147
4168
  return r[e][t];
4148
4169
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4149
- }, Co = et(
4170
+ }, Po = rt(
4150
4171
  (e) => {
4151
- var t = e, { locale: r, format: n } = t, i = Se(t, ["locale", "format"]);
4172
+ var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4152
4173
  if (r == null)
4153
4174
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4154
- return n && (i = Ne("number", n)), new Intl.NumberFormat(r, i);
4175
+ return n && (i = Re("number", n)), new Intl.NumberFormat(r, i);
4155
4176
  }
4156
- ), Po = et(
4177
+ ), Ao = rt(
4157
4178
  (e) => {
4158
- var t = e, { locale: r, format: n } = t, i = Se(t, ["locale", "format"]);
4179
+ var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4159
4180
  if (r == null)
4160
4181
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4161
- return n ? i = Ne("date", n) : Object.keys(i).length === 0 && (i = Ne("date", "short")), new Intl.DateTimeFormat(r, i);
4182
+ return n ? i = Re("date", n) : Object.keys(i).length === 0 && (i = Re("date", "short")), new Intl.DateTimeFormat(r, i);
4162
4183
  }
4163
- ), Oo = et(
4184
+ ), Ho = rt(
4164
4185
  (e) => {
4165
- var t = e, { locale: r, format: n } = t, i = Se(t, ["locale", "format"]);
4186
+ var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4166
4187
  if (r == null)
4167
4188
  throw new Error(
4168
4189
  '[svelte-i18n] A "locale" must be set to format time values'
4169
4190
  );
4170
- return n ? i = Ne("time", n) : Object.keys(i).length === 0 && (i = Ne("time", "short")), new Intl.DateTimeFormat(r, i);
4191
+ return n ? i = Re("time", n) : Object.keys(i).length === 0 && (i = Re("time", "short")), new Intl.DateTimeFormat(r, i);
4171
4192
  }
4172
- ), Ao = (e = {}) => {
4193
+ ), Mo = (e = {}) => {
4173
4194
  var t = e, {
4174
4195
  locale: r = fe()
4175
- } = t, n = Se(t, [
4196
+ } = t, n = Be(t, [
4176
4197
  "locale"
4177
4198
  ]);
4178
- return Co(It({ locale: r }, n));
4179
- }, Ho = (e = {}) => {
4199
+ return Po(Ut({ locale: r }, n));
4200
+ }, Ro = (e = {}) => {
4180
4201
  var t = e, {
4181
4202
  locale: r = fe()
4182
- } = t, n = Se(t, [
4203
+ } = t, n = Be(t, [
4183
4204
  "locale"
4184
4205
  ]);
4185
- return Po(It({ locale: r }, n));
4186
- }, Mo = (e = {}) => {
4206
+ return Ao(Ut({ locale: r }, n));
4207
+ }, No = (e = {}) => {
4187
4208
  var t = e, {
4188
4209
  locale: r = fe()
4189
- } = t, n = Se(t, [
4210
+ } = t, n = Be(t, [
4190
4211
  "locale"
4191
4212
  ]);
4192
- return Oo(It({ locale: r }, n));
4193
- }, Ro = et(
4213
+ return Ho(Ut({ locale: r }, n));
4214
+ }, Do = rt(
4194
4215
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4195
- (e, t = fe()) => new oo(e, t, Ee().formats, {
4216
+ (e, t = fe()) => new so(e, t, Ee().formats, {
4196
4217
  ignoreTag: Ee().ignoreTag
4197
4218
  })
4198
- ), No = (e, t = {}) => {
4219
+ ), Io = (e, t = {}) => {
4199
4220
  var r, n, i, o;
4200
4221
  let a = t;
4201
4222
  typeof e == "object" && (a = e, e = a.id);
@@ -4208,7 +4229,7 @@ const Ne = (e, t) => {
4208
4229
  throw new Error(
4209
4230
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4210
4231
  );
4211
- let h = Kr(e, l);
4232
+ let h = en(e, l);
4212
4233
  if (!h)
4213
4234
  h = (o = (i = (n = (r = Ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4214
4235
  else if (typeof h != "string")
@@ -4219,7 +4240,7 @@ const Ne = (e, t) => {
4219
4240
  return h;
4220
4241
  let f = h;
4221
4242
  try {
4222
- f = Ro(h, l).format(s);
4243
+ f = Do(h, l).format(s);
4223
4244
  } catch (c) {
4224
4245
  c instanceof Error && console.warn(
4225
4246
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4227,20 +4248,20 @@ const Ne = (e, t) => {
4227
4248
  );
4228
4249
  }
4229
4250
  return f;
4230
- }, Do = (e, t) => Mo(t).format(e), Io = (e, t) => Ho(t).format(e), Lo = (e, t) => Ao(t).format(e), Uo = (e, t = fe()) => Kr(e, t), ko = xe([Be, Ie], () => No);
4231
- xe([Be], () => Do);
4232
- xe([Be], () => Io);
4233
- xe([Be], () => Lo);
4234
- xe([Be, Ie], () => Uo);
4251
+ }, Lo = (e, t) => No(t).format(e), Uo = (e, t) => Ro(t).format(e), ko = (e, t) => Mo(t).format(e), $o = (e, t = fe()) => en(e, t), Fo = Te([xe, Ie], () => Io);
4252
+ Te([xe], () => Lo);
4253
+ Te([xe], () => Uo);
4254
+ Te([xe], () => ko);
4255
+ Te([xe, Ie], () => $o);
4235
4256
  window.emWidgets = { topic: Jn };
4236
- const $o = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4237
- function fr(e, t) {
4238
- tn(e, t);
4257
+ const Go = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4258
+ function mr(e, t) {
4259
+ rn(e, t);
4239
4260
  }
4240
- function Fo(e) {
4241
- Be.set(e);
4261
+ function jo(e) {
4262
+ xe.set(e);
4242
4263
  }
4243
- const dr = {
4264
+ const br = {
4244
4265
  en: {
4245
4266
  date: "Granted date:",
4246
4267
  bonusName: "Bonus Name",
@@ -4517,13 +4538,13 @@ const dr = {
4517
4538
  oddsBoost: "Odds Boost"
4518
4539
  }
4519
4540
  };
4520
- function Go(e, t) {
4541
+ function Wo(e, t) {
4521
4542
  if (e) {
4522
4543
  const r = document.createElement("style");
4523
4544
  r.innerHTML = t, e.appendChild(r);
4524
4545
  }
4525
4546
  }
4526
- function jo(e, t) {
4547
+ function Vo(e, t) {
4527
4548
  const r = new URL(t);
4528
4549
  fetch(r.href).then((n) => n.text()).then((n) => {
4529
4550
  const i = document.createElement("style");
@@ -4532,7 +4553,7 @@ function jo(e, t) {
4532
4553
  console.error("There was an error while trying to load client styling from URL", n);
4533
4554
  });
4534
4555
  }
4535
- function Wo(e, t, r) {
4556
+ function Yo(e, t, r) {
4536
4557
  if (window.emMessageBus) {
4537
4558
  const n = document.createElement("style");
4538
4559
  window.emMessageBus.subscribe(t, (i) => {
@@ -4540,13 +4561,13 @@ function Wo(e, t, r) {
4540
4561
  });
4541
4562
  }
4542
4563
  }
4543
- function Xe(e) {
4564
+ function qe(e) {
4544
4565
  "@babel/helpers - typeof";
4545
- return Xe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4566
+ return qe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4546
4567
  return typeof t;
4547
4568
  } : function(t) {
4548
4569
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4549
- }, Xe(e);
4570
+ }, qe(e);
4550
4571
  }
4551
4572
  function ce(e) {
4552
4573
  if (e === null || e === !0 || e === !1)
@@ -4558,110 +4579,110 @@ function G(e, t) {
4558
4579
  if (t.length < e)
4559
4580
  throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
4560
4581
  }
4561
- function K(e) {
4582
+ function ee(e) {
4562
4583
  G(1, arguments);
4563
4584
  var t = Object.prototype.toString.call(e);
4564
- 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 != "undefined" && (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));
4585
+ return e instanceof Date || qe(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 != "undefined" && (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));
4565
4586
  }
4566
- function Vo(e, t) {
4587
+ function Xo(e, t) {
4567
4588
  G(2, arguments);
4568
- var r = K(e).getTime(), n = ce(t);
4589
+ var r = ee(e).getTime(), n = ce(t);
4569
4590
  return new Date(r + n);
4570
4591
  }
4571
- var Yo = {};
4572
- function tt() {
4573
- return Yo;
4592
+ var qo = {};
4593
+ function nt() {
4594
+ return qo;
4574
4595
  }
4575
- function Xo(e) {
4596
+ function zo(e) {
4576
4597
  var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
4577
4598
  return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
4578
4599
  }
4579
- function zo(e) {
4580
- return G(1, arguments), e instanceof Date || Xe(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4600
+ function Qo(e) {
4601
+ return G(1, arguments), e instanceof Date || qe(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4581
4602
  }
4582
- function qo(e) {
4583
- if (G(1, arguments), !zo(e) && typeof e != "number")
4603
+ function Zo(e) {
4604
+ if (G(1, arguments), !Qo(e) && typeof e != "number")
4584
4605
  return !1;
4585
- var t = K(e);
4606
+ var t = ee(e);
4586
4607
  return !isNaN(Number(t));
4587
4608
  }
4588
- function Qo(e, t) {
4609
+ function Jo(e, t) {
4589
4610
  G(2, arguments);
4590
4611
  var r = ce(t);
4591
- return Vo(e, -r);
4612
+ return Xo(e, -r);
4592
4613
  }
4593
- var Zo = 864e5;
4594
- function Jo(e) {
4614
+ var Ko = 864e5;
4615
+ function ea(e) {
4595
4616
  G(1, arguments);
4596
- var t = K(e), r = t.getTime();
4617
+ var t = ee(e), r = t.getTime();
4597
4618
  t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
4598
4619
  var n = t.getTime(), i = r - n;
4599
- return Math.floor(i / Zo) + 1;
4620
+ return Math.floor(i / Ko) + 1;
4600
4621
  }
4601
4622
  function ze(e) {
4602
4623
  G(1, arguments);
4603
- var t = 1, r = K(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4624
+ var t = 1, r = ee(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4604
4625
  return r.setUTCDate(r.getUTCDate() - i), r.setUTCHours(0, 0, 0, 0), r;
4605
4626
  }
4606
- function sn(e) {
4627
+ function un(e) {
4607
4628
  G(1, arguments);
4608
- var t = K(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4629
+ var t = ee(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4609
4630
  n.setUTCFullYear(r + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
4610
4631
  var i = ze(n), o = /* @__PURE__ */ new Date(0);
4611
4632
  o.setUTCFullYear(r, 0, 4), o.setUTCHours(0, 0, 0, 0);
4612
4633
  var a = ze(o);
4613
4634
  return t.getTime() >= i.getTime() ? r + 1 : t.getTime() >= a.getTime() ? r : r - 1;
4614
4635
  }
4615
- function Ko(e) {
4636
+ function ta(e) {
4616
4637
  G(1, arguments);
4617
- var t = sn(e), r = /* @__PURE__ */ new Date(0);
4638
+ var t = un(e), r = /* @__PURE__ */ new Date(0);
4618
4639
  r.setUTCFullYear(t, 0, 4), r.setUTCHours(0, 0, 0, 0);
4619
4640
  var n = ze(r);
4620
4641
  return n;
4621
4642
  }
4622
- var ea = 6048e5;
4623
- function ta(e) {
4643
+ var ra = 6048e5;
4644
+ function na(e) {
4624
4645
  G(1, arguments);
4625
- var t = K(e), r = ze(t).getTime() - Ko(t).getTime();
4626
- return Math.round(r / ea) + 1;
4646
+ var t = ee(e), r = ze(t).getTime() - ta(t).getTime();
4647
+ return Math.round(r / ra) + 1;
4627
4648
  }
4628
- function qe(e, t) {
4649
+ function Qe(e, t) {
4629
4650
  var r, n, i, o, a, s, l, u;
4630
4651
  G(1, arguments);
4631
- var h = tt(), f = ce((r = (n = (i = (o = t == null ? void 0 : 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);
4652
+ var h = nt(), f = ce((r = (n = (i = (o = t == null ? void 0 : 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);
4632
4653
  if (!(f >= 0 && f <= 6))
4633
4654
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4634
- var c = K(e), d = c.getUTCDay(), p = (d < f ? 7 : 0) + d - f;
4655
+ var c = ee(e), d = c.getUTCDay(), p = (d < f ? 7 : 0) + d - f;
4635
4656
  return c.setUTCDate(c.getUTCDate() - p), c.setUTCHours(0, 0, 0, 0), c;
4636
4657
  }
4637
- function un(e, t) {
4658
+ function ln(e, t) {
4638
4659
  var r, n, i, o, a, s, l, u;
4639
4660
  G(1, arguments);
4640
- var h = K(e), f = h.getUTCFullYear(), c = tt(), d = ce((r = (n = (i = (o = t == null ? void 0 : 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);
4661
+ var h = ee(e), f = h.getUTCFullYear(), c = nt(), d = ce((r = (n = (i = (o = t == null ? void 0 : 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);
4641
4662
  if (!(d >= 1 && d <= 7))
4642
4663
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
4643
4664
  var p = /* @__PURE__ */ new Date(0);
4644
4665
  p.setUTCFullYear(f + 1, 0, d), p.setUTCHours(0, 0, 0, 0);
4645
- var v = qe(p, t), S = /* @__PURE__ */ new Date(0);
4646
- S.setUTCFullYear(f, 0, d), S.setUTCHours(0, 0, 0, 0);
4647
- var L = qe(S, t);
4666
+ var v = Qe(p, t), B = /* @__PURE__ */ new Date(0);
4667
+ B.setUTCFullYear(f, 0, d), B.setUTCHours(0, 0, 0, 0);
4668
+ var L = Qe(B, t);
4648
4669
  return h.getTime() >= v.getTime() ? f + 1 : h.getTime() >= L.getTime() ? f : f - 1;
4649
4670
  }
4650
- function ra(e, t) {
4671
+ function ia(e, t) {
4651
4672
  var r, n, i, o, a, s, l, u;
4652
4673
  G(1, arguments);
4653
- var h = tt(), f = ce((r = (n = (i = (o = t == null ? void 0 : 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 = un(e, t), d = /* @__PURE__ */ new Date(0);
4674
+ var h = nt(), f = ce((r = (n = (i = (o = t == null ? void 0 : 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 = ln(e, t), d = /* @__PURE__ */ new Date(0);
4654
4675
  d.setUTCFullYear(c, 0, f), d.setUTCHours(0, 0, 0, 0);
4655
- var p = qe(d, t);
4676
+ var p = Qe(d, t);
4656
4677
  return p;
4657
4678
  }
4658
- var na = 6048e5;
4659
- function ia(e, t) {
4679
+ var oa = 6048e5;
4680
+ function aa(e, t) {
4660
4681
  G(1, arguments);
4661
- var r = K(e), n = qe(r, t).getTime() - ra(r, t).getTime();
4662
- return Math.round(n / na) + 1;
4682
+ var r = ee(e), n = Qe(r, t).getTime() - ia(r, t).getTime();
4683
+ return Math.round(n / oa) + 1;
4663
4684
  }
4664
- function x(e, t) {
4685
+ function T(e, t) {
4665
4686
  for (var r = e < 0 ? "-" : "", n = Math.abs(e).toString(); n.length < t; )
4666
4687
  n = "0" + n;
4667
4688
  return r + n;
@@ -4670,16 +4691,16 @@ var oe = {
4670
4691
  // Year
4671
4692
  y: function(t, r) {
4672
4693
  var n = t.getUTCFullYear(), i = n > 0 ? n : 1 - n;
4673
- return x(r === "yy" ? i % 100 : i, r.length);
4694
+ return T(r === "yy" ? i % 100 : i, r.length);
4674
4695
  },
4675
4696
  // Month
4676
4697
  M: function(t, r) {
4677
4698
  var n = t.getUTCMonth();
4678
- return r === "M" ? String(n + 1) : x(n + 1, 2);
4699
+ return r === "M" ? String(n + 1) : T(n + 1, 2);
4679
4700
  },
4680
4701
  // Day of the month
4681
4702
  d: function(t, r) {
4682
- return x(t.getUTCDate(), r.length);
4703
+ return T(t.getUTCDate(), r.length);
4683
4704
  },
4684
4705
  // AM or PM
4685
4706
  a: function(t, r) {
@@ -4699,35 +4720,33 @@ var oe = {
4699
4720
  },
4700
4721
  // Hour [1-12]
4701
4722
  h: function(t, r) {
4702
- return x(t.getUTCHours() % 12 || 12, r.length);
4723
+ return T(t.getUTCHours() % 12 || 12, r.length);
4703
4724
  },
4704
4725
  // Hour [0-23]
4705
4726
  H: function(t, r) {
4706
- return x(t.getUTCHours(), r.length);
4727
+ return T(t.getUTCHours(), r.length);
4707
4728
  },
4708
4729
  // Minute
4709
4730
  m: function(t, r) {
4710
- return x(t.getUTCMinutes(), r.length);
4731
+ return T(t.getUTCMinutes(), r.length);
4711
4732
  },
4712
4733
  // Second
4713
4734
  s: function(t, r) {
4714
- return x(t.getUTCSeconds(), r.length);
4735
+ return T(t.getUTCSeconds(), r.length);
4715
4736
  },
4716
4737
  // Fraction of second
4717
4738
  S: function(t, r) {
4718
4739
  var n = r.length, i = t.getUTCMilliseconds(), o = Math.floor(i * Math.pow(10, n - 3));
4719
- return x(o, r.length);
4740
+ return T(o, r.length);
4720
4741
  }
4721
4742
  }, pe = {
4722
- am: "am",
4723
- pm: "pm",
4724
4743
  midnight: "midnight",
4725
4744
  noon: "noon",
4726
4745
  morning: "morning",
4727
4746
  afternoon: "afternoon",
4728
4747
  evening: "evening",
4729
4748
  night: "night"
4730
- }, oa = {
4749
+ }, sa = {
4731
4750
  // Era
4732
4751
  G: function(t, r, n) {
4733
4752
  var i = t.getUTCFullYear() > 0 ? 1 : 0;
@@ -4761,19 +4780,19 @@ var oe = {
4761
4780
  },
4762
4781
  // Local week-numbering year
4763
4782
  Y: function(t, r, n, i) {
4764
- var o = un(t, i), a = o > 0 ? o : 1 - o;
4783
+ var o = ln(t, i), a = o > 0 ? o : 1 - o;
4765
4784
  if (r === "YY") {
4766
4785
  var s = a % 100;
4767
- return x(s, 2);
4786
+ return T(s, 2);
4768
4787
  }
4769
4788
  return r === "Yo" ? n.ordinalNumber(a, {
4770
4789
  unit: "year"
4771
- }) : x(a, r.length);
4790
+ }) : T(a, r.length);
4772
4791
  },
4773
4792
  // ISO week-numbering year
4774
4793
  R: function(t, r) {
4775
- var n = sn(t);
4776
- return x(n, r.length);
4794
+ var n = un(t);
4795
+ return T(n, r.length);
4777
4796
  },
4778
4797
  // Extended year. This is a single number designating the year of this calendar system.
4779
4798
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -4786,7 +4805,7 @@ var oe = {
4786
4805
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
4787
4806
  u: function(t, r) {
4788
4807
  var n = t.getUTCFullYear();
4789
- return x(n, r.length);
4808
+ return T(n, r.length);
4790
4809
  },
4791
4810
  // Quarter
4792
4811
  Q: function(t, r, n) {
@@ -4795,7 +4814,7 @@ var oe = {
4795
4814
  case "Q":
4796
4815
  return String(i);
4797
4816
  case "QQ":
4798
- return x(i, 2);
4817
+ return T(i, 2);
4799
4818
  case "Qo":
4800
4819
  return n.ordinalNumber(i, {
4801
4820
  unit: "quarter"
@@ -4825,7 +4844,7 @@ var oe = {
4825
4844
  case "q":
4826
4845
  return String(i);
4827
4846
  case "qq":
4828
- return x(i, 2);
4847
+ return T(i, 2);
4829
4848
  case "qo":
4830
4849
  return n.ordinalNumber(i, {
4831
4850
  unit: "quarter"
@@ -4884,7 +4903,7 @@ var oe = {
4884
4903
  case "L":
4885
4904
  return String(i + 1);
4886
4905
  case "LL":
4887
- return x(i + 1, 2);
4906
+ return T(i + 1, 2);
4888
4907
  case "Lo":
4889
4908
  return n.ordinalNumber(i + 1, {
4890
4909
  unit: "month"
@@ -4909,17 +4928,17 @@ var oe = {
4909
4928
  },
4910
4929
  // Local week of year
4911
4930
  w: function(t, r, n, i) {
4912
- var o = ia(t, i);
4931
+ var o = aa(t, i);
4913
4932
  return r === "wo" ? n.ordinalNumber(o, {
4914
4933
  unit: "week"
4915
- }) : x(o, r.length);
4934
+ }) : T(o, r.length);
4916
4935
  },
4917
4936
  // ISO week of year
4918
4937
  I: function(t, r, n) {
4919
- var i = ta(t);
4938
+ var i = na(t);
4920
4939
  return r === "Io" ? n.ordinalNumber(i, {
4921
4940
  unit: "week"
4922
- }) : x(i, r.length);
4941
+ }) : T(i, r.length);
4923
4942
  },
4924
4943
  // Day of the month
4925
4944
  d: function(t, r, n) {
@@ -4929,10 +4948,10 @@ var oe = {
4929
4948
  },
4930
4949
  // Day of year
4931
4950
  D: function(t, r, n) {
4932
- var i = Jo(t);
4951
+ var i = ea(t);
4933
4952
  return r === "Do" ? n.ordinalNumber(i, {
4934
4953
  unit: "dayOfYear"
4935
- }) : x(i, r.length);
4954
+ }) : T(i, r.length);
4936
4955
  },
4937
4956
  // Day of week
4938
4957
  E: function(t, r, n) {
@@ -4970,7 +4989,7 @@ var oe = {
4970
4989
  case "e":
4971
4990
  return String(a);
4972
4991
  case "ee":
4973
- return x(a, 2);
4992
+ return T(a, 2);
4974
4993
  case "eo":
4975
4994
  return n.ordinalNumber(a, {
4976
4995
  unit: "day"
@@ -5005,7 +5024,7 @@ var oe = {
5005
5024
  case "c":
5006
5025
  return String(a);
5007
5026
  case "cc":
5008
- return x(a, r.length);
5027
+ return T(a, r.length);
5009
5028
  case "co":
5010
5029
  return n.ordinalNumber(a, {
5011
5030
  unit: "day"
@@ -5040,7 +5059,7 @@ var oe = {
5040
5059
  case "i":
5041
5060
  return String(o);
5042
5061
  case "ii":
5043
- return x(o, r.length);
5062
+ return T(o, r.length);
5044
5063
  case "io":
5045
5064
  return n.ordinalNumber(o, {
5046
5065
  unit: "day"
@@ -5169,14 +5188,14 @@ var oe = {
5169
5188
  var i = t.getUTCHours() % 12;
5170
5189
  return r === "Ko" ? n.ordinalNumber(i, {
5171
5190
  unit: "hour"
5172
- }) : x(i, r.length);
5191
+ }) : T(i, r.length);
5173
5192
  },
5174
5193
  // Hour [1-24]
5175
5194
  k: function(t, r, n) {
5176
5195
  var i = t.getUTCHours();
5177
5196
  return i === 0 && (i = 24), r === "ko" ? n.ordinalNumber(i, {
5178
5197
  unit: "hour"
5179
- }) : x(i, r.length);
5198
+ }) : T(i, r.length);
5180
5199
  },
5181
5200
  // Minute
5182
5201
  m: function(t, r, n) {
@@ -5201,7 +5220,7 @@ var oe = {
5201
5220
  return "Z";
5202
5221
  switch (r) {
5203
5222
  case "X":
5204
- return br(a);
5223
+ return vr(a);
5205
5224
  case "XXXX":
5206
5225
  case "XX":
5207
5226
  return he(a);
@@ -5216,7 +5235,7 @@ var oe = {
5216
5235
  var o = i._originalDate || t, a = o.getTimezoneOffset();
5217
5236
  switch (r) {
5218
5237
  case "x":
5219
- return br(a);
5238
+ return vr(a);
5220
5239
  case "xxxx":
5221
5240
  case "xx":
5222
5241
  return he(a);
@@ -5233,7 +5252,7 @@ var oe = {
5233
5252
  case "O":
5234
5253
  case "OO":
5235
5254
  case "OOO":
5236
- return "GMT" + mr(a, ":");
5255
+ return "GMT" + pr(a, ":");
5237
5256
  case "OOOO":
5238
5257
  default:
5239
5258
  return "GMT" + he(a, ":");
@@ -5246,7 +5265,7 @@ var oe = {
5246
5265
  case "z":
5247
5266
  case "zz":
5248
5267
  case "zzz":
5249
- return "GMT" + mr(a, ":");
5268
+ return "GMT" + pr(a, ":");
5250
5269
  case "zzzz":
5251
5270
  default:
5252
5271
  return "GMT" + he(a, ":");
@@ -5255,33 +5274,33 @@ var oe = {
5255
5274
  // Seconds timestamp
5256
5275
  t: function(t, r, n, i) {
5257
5276
  var o = i._originalDate || t, a = Math.floor(o.getTime() / 1e3);
5258
- return x(a, r.length);
5277
+ return T(a, r.length);
5259
5278
  },
5260
5279
  // Milliseconds timestamp
5261
5280
  T: function(t, r, n, i) {
5262
5281
  var o = i._originalDate || t, a = o.getTime();
5263
- return x(a, r.length);
5282
+ return T(a, r.length);
5264
5283
  }
5265
5284
  };
5266
- function mr(e, t) {
5285
+ function pr(e, t) {
5267
5286
  var r = e > 0 ? "-" : "+", n = Math.abs(e), i = Math.floor(n / 60), o = n % 60;
5268
5287
  if (o === 0)
5269
5288
  return r + String(i);
5270
5289
  var a = t;
5271
- return r + String(i) + a + x(o, 2);
5290
+ return r + String(i) + a + T(o, 2);
5272
5291
  }
5273
- function br(e, t) {
5292
+ function vr(e, t) {
5274
5293
  if (e % 60 === 0) {
5275
5294
  var r = e > 0 ? "-" : "+";
5276
- return r + x(Math.abs(e) / 60, 2);
5295
+ return r + T(Math.abs(e) / 60, 2);
5277
5296
  }
5278
5297
  return he(e, t);
5279
5298
  }
5280
5299
  function he(e, t) {
5281
- var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = x(Math.floor(i / 60), 2), a = x(i % 60, 2);
5300
+ var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = T(Math.floor(i / 60), 2), a = T(i % 60, 2);
5282
5301
  return n + o + r + a;
5283
5302
  }
5284
- var pr = function(t, r) {
5303
+ var gr = function(t, r) {
5285
5304
  switch (t) {
5286
5305
  case "P":
5287
5306
  return r.date({
@@ -5301,7 +5320,7 @@ var pr = function(t, r) {
5301
5320
  width: "full"
5302
5321
  });
5303
5322
  }
5304
- }, ln = function(t, r) {
5323
+ }, hn = function(t, r) {
5305
5324
  switch (t) {
5306
5325
  case "p":
5307
5326
  return r.time({
@@ -5321,10 +5340,10 @@ var pr = function(t, r) {
5321
5340
  width: "full"
5322
5341
  });
5323
5342
  }
5324
- }, aa = function(t, r) {
5343
+ }, ua = function(t, r) {
5325
5344
  var n = t.match(/(P+)(p+)?/) || [], i = n[1], o = n[2];
5326
5345
  if (!o)
5327
- return pr(t, r);
5346
+ return gr(t, r);
5328
5347
  var a;
5329
5348
  switch (i) {
5330
5349
  case "P":
@@ -5349,18 +5368,18 @@ var pr = function(t, r) {
5349
5368
  });
5350
5369
  break;
5351
5370
  }
5352
- return a.replace("{{date}}", pr(i, r)).replace("{{time}}", ln(o, r));
5353
- }, sa = {
5354
- p: ln,
5355
- P: aa
5356
- }, ua = ["D", "DD"], la = ["YY", "YYYY"];
5357
- function ha(e) {
5358
- return ua.indexOf(e) !== -1;
5359
- }
5360
- function ca(e) {
5361
- return la.indexOf(e) !== -1;
5362
- }
5363
- function vr(e, t, r) {
5371
+ return a.replace("{{date}}", gr(i, r)).replace("{{time}}", hn(o, r));
5372
+ }, la = {
5373
+ p: hn,
5374
+ P: ua
5375
+ }, ha = ["D", "DD"], ca = ["YY", "YYYY"];
5376
+ function fa(e) {
5377
+ return ha.indexOf(e) !== -1;
5378
+ }
5379
+ function da(e) {
5380
+ return ca.indexOf(e) !== -1;
5381
+ }
5382
+ function yr(e, t, r) {
5364
5383
  if (e === "YYYY")
5365
5384
  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"));
5366
5385
  if (e === "YY")
@@ -5370,7 +5389,7 @@ function vr(e, t, r) {
5370
5389
  if (e === "DD")
5371
5390
  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"));
5372
5391
  }
5373
- var fa = {
5392
+ var ma = {
5374
5393
  lessThanXSeconds: {
5375
5394
  one: "less than a second",
5376
5395
  other: "less than {{count}} seconds"
@@ -5432,53 +5451,53 @@ var fa = {
5432
5451
  one: "almost 1 year",
5433
5452
  other: "almost {{count}} years"
5434
5453
  }
5435
- }, da = function(t, r, n) {
5436
- var i, o = fa[t];
5454
+ }, ba = function(t, r, n) {
5455
+ var i, o = ma[t];
5437
5456
  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;
5438
5457
  };
5439
- function bt(e) {
5458
+ function vt(e) {
5440
5459
  return function() {
5441
5460
  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];
5442
5461
  return n;
5443
5462
  };
5444
5463
  }
5445
- var ma = {
5464
+ var pa = {
5446
5465
  full: "EEEE, MMMM do, y",
5447
5466
  long: "MMMM do, y",
5448
5467
  medium: "MMM d, y",
5449
5468
  short: "MM/dd/yyyy"
5450
- }, ba = {
5469
+ }, va = {
5451
5470
  full: "h:mm:ss a zzzz",
5452
5471
  long: "h:mm:ss a z",
5453
5472
  medium: "h:mm:ss a",
5454
5473
  short: "h:mm a"
5455
- }, pa = {
5474
+ }, ga = {
5456
5475
  full: "{{date}} 'at' {{time}}",
5457
5476
  long: "{{date}} 'at' {{time}}",
5458
5477
  medium: "{{date}}, {{time}}",
5459
5478
  short: "{{date}}, {{time}}"
5460
- }, va = {
5461
- date: bt({
5462
- formats: ma,
5479
+ }, ya = {
5480
+ date: vt({
5481
+ formats: pa,
5463
5482
  defaultWidth: "full"
5464
5483
  }),
5465
- time: bt({
5466
- formats: ba,
5484
+ time: vt({
5485
+ formats: va,
5467
5486
  defaultWidth: "full"
5468
5487
  }),
5469
- dateTime: bt({
5470
- formats: pa,
5488
+ dateTime: vt({
5489
+ formats: ga,
5471
5490
  defaultWidth: "full"
5472
5491
  })
5473
- }, ga = {
5492
+ }, wa = {
5474
5493
  lastWeek: "'last' eeee 'at' p",
5475
5494
  yesterday: "'yesterday at' p",
5476
5495
  today: "'today at' p",
5477
5496
  tomorrow: "'tomorrow at' p",
5478
5497
  nextWeek: "eeee 'at' p",
5479
5498
  other: "P"
5480
- }, ya = function(t, r, n, i) {
5481
- return ga[t];
5499
+ }, _a = function(t, r, n, i) {
5500
+ return wa[t];
5482
5501
  };
5483
5502
  function Oe(e) {
5484
5503
  return function(t, r) {
@@ -5494,24 +5513,24 @@ function Oe(e) {
5494
5513
  return i[u];
5495
5514
  };
5496
5515
  }
5497
- var wa = {
5516
+ var Ea = {
5498
5517
  narrow: ["B", "A"],
5499
5518
  abbreviated: ["BC", "AD"],
5500
5519
  wide: ["Before Christ", "Anno Domini"]
5501
- }, _a = {
5520
+ }, Ta = {
5502
5521
  narrow: ["1", "2", "3", "4"],
5503
5522
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
5504
5523
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
5505
- }, Ta = {
5524
+ }, xa = {
5506
5525
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
5507
5526
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
5508
5527
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
5509
- }, Ea = {
5528
+ }, Ba = {
5510
5529
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
5511
5530
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
5512
5531
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
5513
5532
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
5514
- }, xa = {
5533
+ }, Sa = {
5515
5534
  narrow: {
5516
5535
  am: "a",
5517
5536
  pm: "p",
@@ -5542,7 +5561,7 @@ var wa = {
5542
5561
  evening: "evening",
5543
5562
  night: "night"
5544
5563
  }
5545
- }, Ba = {
5564
+ }, Ca = {
5546
5565
  narrow: {
5547
5566
  am: "a",
5548
5567
  pm: "p",
@@ -5573,7 +5592,7 @@ var wa = {
5573
5592
  evening: "in the evening",
5574
5593
  night: "at night"
5575
5594
  }
5576
- }, Sa = function(t, r) {
5595
+ }, Oa = function(t, r) {
5577
5596
  var n = Number(t), i = n % 100;
5578
5597
  if (i > 20 || i < 10)
5579
5598
  switch (i % 10) {
@@ -5585,42 +5604,42 @@ var wa = {
5585
5604
  return n + "rd";
5586
5605
  }
5587
5606
  return n + "th";
5588
- }, Ca = {
5589
- ordinalNumber: Sa,
5607
+ }, Pa = {
5608
+ ordinalNumber: Oa,
5590
5609
  era: Oe({
5591
- values: wa,
5610
+ values: Ea,
5592
5611
  defaultWidth: "wide"
5593
5612
  }),
5594
5613
  quarter: Oe({
5595
- values: _a,
5614
+ values: Ta,
5596
5615
  defaultWidth: "wide",
5597
5616
  argumentCallback: function(t) {
5598
5617
  return t - 1;
5599
5618
  }
5600
5619
  }),
5601
5620
  month: Oe({
5602
- values: Ta,
5621
+ values: xa,
5603
5622
  defaultWidth: "wide"
5604
5623
  }),
5605
5624
  day: Oe({
5606
- values: Ea,
5625
+ values: Ba,
5607
5626
  defaultWidth: "wide"
5608
5627
  }),
5609
5628
  dayPeriod: Oe({
5610
- values: xa,
5629
+ values: Sa,
5611
5630
  defaultWidth: "wide",
5612
- formattingValues: Ba,
5631
+ formattingValues: Ca,
5613
5632
  defaultFormattingWidth: "wide"
5614
5633
  })
5615
5634
  };
5616
- function Ae(e) {
5635
+ function Pe(e) {
5617
5636
  return function(t) {
5618
5637
  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);
5619
5638
  if (!o)
5620
5639
  return null;
5621
- var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? Oa(s, function(f) {
5640
+ var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? Ha(s, function(f) {
5622
5641
  return f.test(a);
5623
- }) : Pa(s, function(f) {
5642
+ }) : Aa(s, function(f) {
5624
5643
  return f.test(a);
5625
5644
  }), u;
5626
5645
  u = e.valueCallback ? e.valueCallback(l) : l, u = r.valueCallback ? r.valueCallback(u) : u;
@@ -5631,17 +5650,17 @@ function Ae(e) {
5631
5650
  };
5632
5651
  };
5633
5652
  }
5634
- function Pa(e, t) {
5653
+ function Aa(e, t) {
5635
5654
  for (var r in e)
5636
5655
  if (e.hasOwnProperty(r) && t(e[r]))
5637
5656
  return r;
5638
5657
  }
5639
- function Oa(e, t) {
5658
+ function Ha(e, t) {
5640
5659
  for (var r = 0; r < e.length; r++)
5641
5660
  if (t(e[r]))
5642
5661
  return r;
5643
5662
  }
5644
- function Aa(e) {
5663
+ function Ma(e) {
5645
5664
  return function(t) {
5646
5665
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.match(e.matchPattern);
5647
5666
  if (!n)
@@ -5658,37 +5677,37 @@ function Aa(e) {
5658
5677
  };
5659
5678
  };
5660
5679
  }
5661
- var Ha = /^(\d+)(th|st|nd|rd)?/i, Ma = /\d+/i, Ra = {
5680
+ var Ra = /^(\d+)(th|st|nd|rd)?/i, Na = /\d+/i, Da = {
5662
5681
  narrow: /^(b|a)/i,
5663
5682
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
5664
5683
  wide: /^(before christ|before common era|anno domini|common era)/i
5665
- }, Na = {
5684
+ }, Ia = {
5666
5685
  any: [/^b/i, /^(a|c)/i]
5667
- }, Da = {
5686
+ }, La = {
5668
5687
  narrow: /^[1234]/i,
5669
5688
  abbreviated: /^q[1234]/i,
5670
5689
  wide: /^[1234](th|st|nd|rd)? quarter/i
5671
- }, Ia = {
5690
+ }, Ua = {
5672
5691
  any: [/1/i, /2/i, /3/i, /4/i]
5673
- }, La = {
5692
+ }, ka = {
5674
5693
  narrow: /^[jfmasond]/i,
5675
5694
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
5676
5695
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
5677
- }, Ua = {
5696
+ }, $a = {
5678
5697
  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],
5679
5698
  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]
5680
- }, ka = {
5699
+ }, Fa = {
5681
5700
  narrow: /^[smtwf]/i,
5682
5701
  short: /^(su|mo|tu|we|th|fr|sa)/i,
5683
5702
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
5684
5703
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
5685
- }, $a = {
5704
+ }, Ga = {
5686
5705
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
5687
5706
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
5688
- }, Fa = {
5707
+ }, ja = {
5689
5708
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
5690
5709
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
5691
- }, Ga = {
5710
+ }, Wa = {
5692
5711
  any: {
5693
5712
  am: /^a/i,
5694
5713
  pm: /^p/i,
@@ -5699,114 +5718,114 @@ var Ha = /^(\d+)(th|st|nd|rd)?/i, Ma = /\d+/i, Ra = {
5699
5718
  evening: /evening/i,
5700
5719
  night: /night/i
5701
5720
  }
5702
- }, ja = {
5703
- ordinalNumber: Aa({
5704
- matchPattern: Ha,
5705
- parsePattern: Ma,
5721
+ }, Va = {
5722
+ ordinalNumber: Ma({
5723
+ matchPattern: Ra,
5724
+ parsePattern: Na,
5706
5725
  valueCallback: function(t) {
5707
5726
  return parseInt(t, 10);
5708
5727
  }
5709
5728
  }),
5710
- era: Ae({
5711
- matchPatterns: Ra,
5729
+ era: Pe({
5730
+ matchPatterns: Da,
5712
5731
  defaultMatchWidth: "wide",
5713
- parsePatterns: Na,
5732
+ parsePatterns: Ia,
5714
5733
  defaultParseWidth: "any"
5715
5734
  }),
5716
- quarter: Ae({
5717
- matchPatterns: Da,
5735
+ quarter: Pe({
5736
+ matchPatterns: La,
5718
5737
  defaultMatchWidth: "wide",
5719
- parsePatterns: Ia,
5738
+ parsePatterns: Ua,
5720
5739
  defaultParseWidth: "any",
5721
5740
  valueCallback: function(t) {
5722
5741
  return t + 1;
5723
5742
  }
5724
5743
  }),
5725
- month: Ae({
5726
- matchPatterns: La,
5727
- defaultMatchWidth: "wide",
5728
- parsePatterns: Ua,
5729
- defaultParseWidth: "any"
5730
- }),
5731
- day: Ae({
5744
+ month: Pe({
5732
5745
  matchPatterns: ka,
5733
5746
  defaultMatchWidth: "wide",
5734
5747
  parsePatterns: $a,
5735
5748
  defaultParseWidth: "any"
5736
5749
  }),
5737
- dayPeriod: Ae({
5750
+ day: Pe({
5738
5751
  matchPatterns: Fa,
5739
- defaultMatchWidth: "any",
5752
+ defaultMatchWidth: "wide",
5740
5753
  parsePatterns: Ga,
5741
5754
  defaultParseWidth: "any"
5755
+ }),
5756
+ dayPeriod: Pe({
5757
+ matchPatterns: ja,
5758
+ defaultMatchWidth: "any",
5759
+ parsePatterns: Wa,
5760
+ defaultParseWidth: "any"
5742
5761
  })
5743
- }, Wa = {
5762
+ }, Ya = {
5744
5763
  code: "en-US",
5745
- formatDistance: da,
5746
- formatLong: va,
5747
- formatRelative: ya,
5748
- localize: Ca,
5749
- match: ja,
5764
+ formatDistance: ba,
5765
+ formatLong: ya,
5766
+ formatRelative: _a,
5767
+ localize: Pa,
5768
+ match: Va,
5750
5769
  options: {
5751
5770
  weekStartsOn: 0,
5752
5771
  firstWeekContainsDate: 1
5753
5772
  }
5754
- }, Va = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ya = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Xa = /^'([^]*?)'?$/, za = /''/g, qa = /[a-zA-Z]/;
5755
- function gr(e, t, r) {
5756
- var n, i, o, a, s, l, u, h, f, c, d, p, v, S;
5773
+ }, Xa = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, qa = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, za = /^'([^]*?)'?$/, Qa = /''/g, Za = /[a-zA-Z]/;
5774
+ function wr(e, t, r) {
5775
+ var n, i, o, a, s, l, u, h, f, c, d, p, v, B;
5757
5776
  G(2, arguments);
5758
- var L = String(t), P = tt(), E = (n = (i = void 0) !== null && i !== void 0 ? i : P.locale) !== null && n !== void 0 ? n : Wa, U = ce((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);
5777
+ var L = String(t), O = nt(), E = (n = (i = void 0) !== null && i !== void 0 ? i : O.locale) !== null && n !== void 0 ? n : Ya, U = ce((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);
5759
5778
  if (!(U >= 1 && U <= 7))
5760
5779
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
5761
- var A = ce((f = (c = (d = (p = void 0) !== null && p !== void 0 ? p : void 0) !== null && d !== void 0 ? d : P.weekStartsOn) !== null && c !== void 0 ? c : (v = P.locale) === null || v === void 0 || (S = v.options) === null || S === void 0 ? void 0 : S.weekStartsOn) !== null && f !== void 0 ? f : 0);
5780
+ var A = ce((f = (c = (d = (p = void 0) !== null && p !== void 0 ? p : void 0) !== null && d !== void 0 ? d : O.weekStartsOn) !== null && c !== void 0 ? c : (v = O.locale) === null || v === void 0 || (B = v.options) === null || B === void 0 ? void 0 : B.weekStartsOn) !== null && f !== void 0 ? f : 0);
5762
5781
  if (!(A >= 0 && A <= 6))
5763
5782
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
5764
5783
  if (!E.localize)
5765
5784
  throw new RangeError("locale must contain localize property");
5766
5785
  if (!E.formatLong)
5767
5786
  throw new RangeError("locale must contain formatLong property");
5768
- var $ = K(e);
5769
- if (!qo($))
5787
+ var $ = ee(e);
5788
+ if (!Zo($))
5770
5789
  throw new RangeError("Invalid time value");
5771
- var k = Xo($), ie = Qo($, k), ue = {
5790
+ var k = zo($), ie = Jo($, k), ue = {
5772
5791
  firstWeekContainsDate: U,
5773
5792
  weekStartsOn: A,
5774
5793
  locale: E,
5775
5794
  _originalDate: $
5776
- }, ee = L.match(Ya).map(function(H) {
5795
+ }, te = L.match(qa).map(function(H) {
5777
5796
  var N = H[0];
5778
5797
  if (N === "p" || N === "P") {
5779
- var Q = sa[N];
5798
+ var Q = la[N];
5780
5799
  return Q(H, E.formatLong);
5781
5800
  }
5782
5801
  return H;
5783
- }).join("").match(Va).map(function(H) {
5802
+ }).join("").match(Xa).map(function(H) {
5784
5803
  if (H === "''")
5785
5804
  return "'";
5786
5805
  var N = H[0];
5787
5806
  if (N === "'")
5788
- return Qa(H);
5789
- var Q = oa[N];
5807
+ return Ja(H);
5808
+ var Q = sa[N];
5790
5809
  if (Q)
5791
- return ca(H) && vr(H, t, String(e)), ha(H) && vr(H, t, String(e)), Q(ie, H, E.localize, ue);
5792
- if (N.match(qa))
5810
+ return da(H) && yr(H, t, String(e)), fa(H) && yr(H, t, String(e)), Q(ie, H, E.localize, ue);
5811
+ if (N.match(Za))
5793
5812
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
5794
5813
  return H;
5795
5814
  }).join("");
5796
- return ee;
5815
+ return te;
5797
5816
  }
5798
- function Qa(e) {
5799
- var t = e.match(Xa);
5800
- return t ? t[1].replace(za, "'") : e;
5817
+ function Ja(e) {
5818
+ var t = e.match(za);
5819
+ return t ? t[1].replace(Qa, "'") : e;
5801
5820
  }
5802
- function Za(e) {
5803
- vn(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}");
5821
+ function Ka(e) {
5822
+ gn(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}");
5804
5823
  }
5805
- function yr(e) {
5824
+ function _r(e) {
5806
5825
  let t, r, n;
5807
5826
  return {
5808
5827
  c() {
5809
- t = B("div"), r = B("img"), g(r, "class", "BonusImage"), Wt(r.src, n = /*termsandconditionsasset*/
5828
+ t = x("div"), r = x("img"), g(r, "class", "BonusImage"), Yt(r.src, n = /*termsandconditionsasset*/
5810
5829
  e[9]) || g(r, "src", n), g(
5811
5830
  r,
5812
5831
  "alt",
@@ -5819,7 +5838,7 @@ function yr(e) {
5819
5838
  },
5820
5839
  p(i, o) {
5821
5840
  o & /*termsandconditionsasset*/
5822
- 512 && !Wt(r.src, n = /*termsandconditionsasset*/
5841
+ 512 && !Yt(r.src, n = /*termsandconditionsasset*/
5823
5842
  i[9]) && g(r, "src", n), o & /*termsandconditionsdescription*/
5824
5843
  1024 && g(
5825
5844
  r,
@@ -5829,11 +5848,11 @@ function yr(e) {
5829
5848
  );
5830
5849
  },
5831
5850
  d(i) {
5832
- i && re(t);
5851
+ i && ne(t);
5833
5852
  }
5834
5853
  };
5835
5854
  }
5836
- function wr(e) {
5855
+ function Er(e) {
5837
5856
  let t, r, n = (
5838
5857
  /*$_*/
5839
5858
  e[16]("bonusAmount") + ""
@@ -5846,7 +5865,7 @@ function wr(e) {
5846
5865
  ), h, f;
5847
5866
  return {
5848
5867
  c() {
5849
- t = B("div"), r = B("p"), i = R(n), o = D(), a = B("p"), s = R(
5868
+ t = x("div"), r = x("p"), i = R(n), o = D(), a = x("p"), s = R(
5850
5869
  /*bonusamount*/
5851
5870
  e[4]
5852
5871
  ), l = D(), h = R(u), g(r, "class", "BonusCardRowTitle"), g(a, "class", "BonusCardRowText"), g(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5873,11 +5892,11 @@ function wr(e) {
5873
5892
  c[16]("bonusAmount")}`) && g(t, "class", f);
5874
5893
  },
5875
5894
  d(c) {
5876
- c && re(t);
5895
+ c && ne(t);
5877
5896
  }
5878
5897
  };
5879
5898
  }
5880
- function _r(e) {
5899
+ function Tr(e) {
5881
5900
  let t, r, n = (
5882
5901
  /*$_*/
5883
5902
  e[16]("wageringAmount") + ""
@@ -5890,7 +5909,7 @@ function _r(e) {
5890
5909
  ), h, f;
5891
5910
  return {
5892
5911
  c() {
5893
- t = B("div"), r = B("p"), i = R(n), o = D(), a = B("p"), s = R(
5912
+ t = x("div"), r = x("p"), i = R(n), o = D(), a = x("p"), s = R(
5894
5913
  /*bonuswageringamount*/
5895
5914
  e[5]
5896
5915
  ), l = D(), h = R(u), g(r, "class", "BonusCardRowTitle"), g(a, "class", "BonusCardRowText"), g(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5919,11 +5938,11 @@ function _r(e) {
5919
5938
  c[3]}`) && g(t, "class", f);
5920
5939
  },
5921
5940
  d(c) {
5922
- c && re(t);
5941
+ c && ne(t);
5923
5942
  }
5924
5943
  };
5925
5944
  }
5926
- function Tr(e) {
5945
+ function xr(e) {
5927
5946
  let t, r, n = (
5928
5947
  /*$_*/
5929
5948
  e[16]("remainingBonus") + ""
@@ -5936,7 +5955,7 @@ function Tr(e) {
5936
5955
  ), h, f;
5937
5956
  return {
5938
5957
  c() {
5939
- t = B("div"), r = B("p"), i = R(n), o = D(), a = B("p"), s = R(
5958
+ t = x("div"), r = x("p"), i = R(n), o = D(), a = x("p"), s = R(
5940
5959
  /*bonusremainingamount*/
5941
5960
  e[6]
5942
5961
  ), l = D(), h = R(u), g(r, "class", "BonusCardRowTitle"), g(a, "class", "BonusCardRowText"), g(t, "class", f = `BonusCardRow ${/*$_*/
@@ -5963,18 +5982,18 @@ function Tr(e) {
5963
5982
  c[16]("remainingBonus")}`) && g(t, "class", f);
5964
5983
  },
5965
5984
  d(c) {
5966
- c && re(t);
5985
+ c && ne(t);
5967
5986
  }
5968
5987
  };
5969
5988
  }
5970
- function Er(e) {
5989
+ function Br(e) {
5971
5990
  let t, r, n = (
5972
5991
  /*$_*/
5973
5992
  e[16]("termsConditionsLink") + ""
5974
5993
  ), i, o;
5975
5994
  return {
5976
5995
  c() {
5977
- t = B("div"), r = B("a"), i = R(n), g(r, "class", "ButtonTermsAndConditions"), g(
5996
+ t = x("div"), r = x("a"), i = R(n), g(r, "class", "ButtonTermsAndConditions"), g(
5978
5997
  r,
5979
5998
  "href",
5980
5999
  /*termsandconditionsurl*/
@@ -5999,22 +6018,22 @@ function Er(e) {
5999
6018
  a[16]("termsConditionsLink")}`) && g(t, "class", o);
6000
6019
  },
6001
6020
  d(a) {
6002
- a && re(t);
6021
+ a && ne(t);
6003
6022
  }
6004
6023
  };
6005
6024
  }
6006
- function xr(e) {
6025
+ function Sr(e) {
6007
6026
  let t, r = (
6008
6027
  /*$_*/
6009
6028
  e[16]("forfeitBonusButton") + ""
6010
6029
  ), n, i, o;
6011
6030
  return {
6012
6031
  c() {
6013
- t = B("button"), n = R(r), g(t, "class", "DeleteBonus " + /*isMobile*/
6032
+ t = x("button"), n = R(r), g(t, "class", "DeleteBonus " + /*isMobile*/
6014
6033
  (e[17] ? "DeleteBonusMobile" : ""));
6015
6034
  },
6016
6035
  m(a, s) {
6017
- se(a, t, s), m(t, n), i || (o = wn(
6036
+ se(a, t, s), m(t, n), i || (o = _n(
6018
6037
  t,
6019
6038
  "click",
6020
6039
  /*deleteBonus*/
@@ -6027,15 +6046,15 @@ function xr(e) {
6027
6046
  a[16]("forfeitBonusButton") + "") && I(n, r);
6028
6047
  },
6029
6048
  d(a) {
6030
- a && re(t), i = !1, o();
6049
+ a && ne(t), i = !1, o();
6031
6050
  }
6032
6051
  };
6033
6052
  }
6034
- function Ja(e) {
6053
+ function es(e) {
6035
6054
  let t, r, n, i, o = (
6036
6055
  /*$_*/
6037
6056
  e[16]("date") + ""
6038
- ), a, s, l, u = gr(new Date(
6057
+ ), a, s, l, u = wr(new Date(
6039
6058
  /*bonusdate*/
6040
6059
  e[0]
6041
6060
  ), `${/*dateformat*/
@@ -6046,57 +6065,57 @@ function Ja(e) {
6046
6065
  /*$_*/
6047
6066
  e[16](`${/*bonusstatus*/
6048
6067
  e[1]}`) + ""
6049
- ), p, v, S, L, P, E, U, A = (
6068
+ ), p, v, B, L, O, E, U, A = (
6050
6069
  /*$_*/
6051
6070
  e[16]("bonusName") + ""
6052
- ), $, k, ie, ue, ee, H, N, Q, de = (
6071
+ ), $, k, ie, ue, te, H, N, Q, de = (
6053
6072
  /*$_*/
6054
6073
  e[16]("bonusType") + ""
6055
- ), Ce, b, Z, le = (
6074
+ ), Se, b, Z, le = (
6056
6075
  /*$_*/
6057
6076
  e[16](`${/*bonustype*/
6058
6077
  e[3]}`) + ""
6059
- ), rt, Le, Lt, nt, it, ot, Ut, j = (
6078
+ ), it, Le, kt, ot, at, st, $t, j = (
6060
6079
  /*showBonusImage*/
6061
- e[15] === !0 && yr(e)
6080
+ e[15] === !0 && _r(e)
6062
6081
  ), W = (
6063
6082
  /*bonusamount*/
6064
- e[4] && wr(e)
6083
+ e[4] && Er(e)
6065
6084
  ), V = (
6066
6085
  /*bonuswageringamount*/
6067
- e[5] && _r(e)
6086
+ e[5] && Tr(e)
6068
6087
  ), Y = (
6069
6088
  /*bonusremainingamount*/
6070
- e[6] && Tr(e)
6089
+ e[6] && xr(e)
6071
6090
  ), X = (
6072
6091
  /*showtermsandconditions*/
6073
- e[14] && Er(e)
6074
- ), z = (
6092
+ e[14] && Br(e)
6093
+ ), q = (
6075
6094
  /*bonusstatus*/
6076
- e[1] === "active" && xr(e)
6095
+ e[1] === "active" && Sr(e)
6077
6096
  );
6078
6097
  return {
6079
6098
  c() {
6080
- t = B("div"), r = B("div"), n = B("div"), i = B("p"), a = R(o), s = D(), l = B("span"), h = R(u), f = D(), c = B("p"), p = R(d), L = D(), j && j.c(), P = D(), E = B("div"), U = B("p"), $ = R(A), k = D(), ie = B("p"), ue = R(
6099
+ t = x("div"), r = x("div"), n = x("div"), i = x("p"), a = R(o), s = D(), l = x("span"), h = R(u), f = D(), c = x("p"), p = R(d), L = D(), j && j.c(), O = D(), E = x("div"), U = x("p"), $ = R(A), k = D(), ie = x("p"), ue = R(
6081
6100
  /*bonusname*/
6082
6101
  e[2]
6083
- ), H = D(), N = B("div"), Q = B("p"), Ce = R(de), b = D(), Z = B("p"), rt = R(le), Lt = D(), W && W.c(), nt = D(), V && V.c(), it = D(), Y && Y.c(), ot = D(), X && X.c(), Ut = D(), z && z.c(), g(i, "class", "BonusCardRowTitle"), g(c, "class", v = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6102
+ ), H = D(), N = x("div"), Q = x("p"), Se = R(de), b = D(), Z = x("p"), it = R(le), kt = D(), W && W.c(), ot = D(), V && V.c(), at = D(), Y && Y.c(), st = D(), X && X.c(), $t = D(), q && q.c(), g(i, "class", "BonusCardRowTitle"), g(c, "class", v = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6084
6103
  (e[1] === "active" || /*bonusstatus*/
6085
6104
  e[1] === "released" ? "StatusActive" : "") + " " + /*bonusstatus*/
6086
6105
  (e[1] === "expired" ? "StatusExpired" : "") + " " + /*bonusstatus*/
6087
- (e[1] === "forfeited" ? "StatusForfeited" : "")), g(n, "class", S = `BonusCardRow Date ${/*$_*/
6088
- e[16]("date")}`), g(U, "class", "BonusCardRowTitle"), g(ie, "class", "BonusCardRowText"), g(E, "class", ee = `BonusCardRow ${/*$_*/
6106
+ (e[1] === "forfeited" ? "StatusForfeited" : "")), g(n, "class", B = `BonusCardRow Date ${/*$_*/
6107
+ e[16]("date")}`), g(U, "class", "BonusCardRowTitle"), g(ie, "class", "BonusCardRowText"), g(E, "class", te = `BonusCardRow ${/*$_*/
6089
6108
  e[16]("bonusName")}`), g(Q, "class", "BonusCardRowTitle"), g(Z, "class", "BonusCardRowText TextCapitalize"), g(N, "class", Le = `BonusCardRow ${/*$_*/
6090
6109
  e[16]("bonusType")}`), g(r, "class", "BonusCardInfo"), g(t, "class", "BonusCard");
6091
6110
  },
6092
6111
  m(y, M) {
6093
- se(y, t, M), m(t, r), m(r, n), m(n, i), m(i, a), m(i, s), m(i, l), m(l, h), m(n, f), m(n, c), m(c, p), m(r, L), j && j.m(r, null), m(r, P), m(r, E), m(E, U), m(U, $), m(E, k), m(E, ie), m(ie, ue), m(r, H), m(r, N), m(N, Q), m(Q, Ce), m(N, b), m(N, Z), m(Z, rt), m(r, Lt), W && W.m(r, null), m(r, nt), V && V.m(r, null), m(r, it), Y && Y.m(r, null), m(r, ot), X && X.m(r, null), m(t, Ut), z && z.m(t, null), e[25](t);
6112
+ se(y, t, M), m(t, r), m(r, n), m(n, i), m(i, a), m(i, s), m(i, l), m(l, h), m(n, f), m(n, c), m(c, p), m(r, L), j && j.m(r, null), m(r, O), m(r, E), m(E, U), m(U, $), m(E, k), m(E, ie), m(ie, ue), m(r, H), m(r, N), m(N, Q), m(Q, Se), m(N, b), m(N, Z), m(Z, it), m(r, kt), W && W.m(r, null), m(r, ot), V && V.m(r, null), m(r, at), Y && Y.m(r, null), m(r, st), X && X.m(r, null), m(t, $t), q && q.m(t, null), e[25](t);
6094
6113
  },
6095
6114
  p(y, [M]) {
6096
6115
  M & /*$_*/
6097
6116
  65536 && o !== (o = /*$_*/
6098
6117
  y[16]("date") + "") && I(a, o), M & /*bonusdate, dateformat*/
6099
- 4097 && u !== (u = gr(new Date(
6118
+ 4097 && u !== (u = wr(new Date(
6100
6119
  /*bonusdate*/
6101
6120
  y[0]
6102
6121
  ), `${/*dateformat*/
@@ -6112,9 +6131,9 @@ function Ja(e) {
6112
6131
  y[1] === "released" ? "StatusActive" : "") + " " + /*bonusstatus*/
6113
6132
  (y[1] === "expired" ? "StatusExpired" : "") + " " + /*bonusstatus*/
6114
6133
  (y[1] === "forfeited" ? "StatusForfeited" : "")) && g(c, "class", v), M & /*$_*/
6115
- 65536 && S !== (S = `BonusCardRow Date ${/*$_*/
6116
- y[16]("date")}`) && g(n, "class", S), /*showBonusImage*/
6117
- y[15] === !0 ? j ? j.p(y, M) : (j = yr(y), j.c(), j.m(r, P)) : j && (j.d(1), j = null), M & /*$_*/
6134
+ 65536 && B !== (B = `BonusCardRow Date ${/*$_*/
6135
+ y[16]("date")}`) && g(n, "class", B), /*showBonusImage*/
6136
+ y[15] === !0 ? j ? j.p(y, M) : (j = _r(y), j.c(), j.m(r, O)) : j && (j.d(1), j = null), M & /*$_*/
6118
6137
  65536 && A !== (A = /*$_*/
6119
6138
  y[16]("bonusName") + "") && I($, A), M & /*bonusname*/
6120
6139
  4 && I(
@@ -6122,67 +6141,67 @@ function Ja(e) {
6122
6141
  /*bonusname*/
6123
6142
  y[2]
6124
6143
  ), M & /*$_*/
6125
- 65536 && ee !== (ee = `BonusCardRow ${/*$_*/
6126
- y[16]("bonusName")}`) && g(E, "class", ee), M & /*$_*/
6144
+ 65536 && te !== (te = `BonusCardRow ${/*$_*/
6145
+ y[16]("bonusName")}`) && g(E, "class", te), M & /*$_*/
6127
6146
  65536 && de !== (de = /*$_*/
6128
- y[16]("bonusType") + "") && I(Ce, de), M & /*$_, bonustype*/
6147
+ y[16]("bonusType") + "") && I(Se, de), M & /*$_, bonustype*/
6129
6148
  65544 && le !== (le = /*$_*/
6130
6149
  y[16](`${/*bonustype*/
6131
- y[3]}`) + "") && I(rt, le), M & /*$_*/
6150
+ y[3]}`) + "") && I(it, le), M & /*$_*/
6132
6151
  65536 && Le !== (Le = `BonusCardRow ${/*$_*/
6133
6152
  y[16]("bonusType")}`) && g(N, "class", Le), /*bonusamount*/
6134
- y[4] ? W ? W.p(y, M) : (W = wr(y), W.c(), W.m(r, nt)) : W && (W.d(1), W = null), /*bonuswageringamount*/
6135
- y[5] ? V ? V.p(y, M) : (V = _r(y), V.c(), V.m(r, it)) : V && (V.d(1), V = null), /*bonusremainingamount*/
6136
- y[6] ? Y ? Y.p(y, M) : (Y = Tr(y), Y.c(), Y.m(r, ot)) : Y && (Y.d(1), Y = null), /*showtermsandconditions*/
6137
- y[14] ? X ? X.p(y, M) : (X = Er(y), X.c(), X.m(r, null)) : X && (X.d(1), X = null), /*bonusstatus*/
6138
- y[1] === "active" ? z ? z.p(y, M) : (z = xr(y), z.c(), z.m(t, null)) : z && (z.d(1), z = null);
6153
+ y[4] ? W ? W.p(y, M) : (W = Er(y), W.c(), W.m(r, ot)) : W && (W.d(1), W = null), /*bonuswageringamount*/
6154
+ y[5] ? V ? V.p(y, M) : (V = Tr(y), V.c(), V.m(r, at)) : V && (V.d(1), V = null), /*bonusremainingamount*/
6155
+ y[6] ? Y ? Y.p(y, M) : (Y = xr(y), Y.c(), Y.m(r, st)) : Y && (Y.d(1), Y = null), /*showtermsandconditions*/
6156
+ y[14] ? X ? X.p(y, M) : (X = Br(y), X.c(), X.m(r, null)) : X && (X.d(1), X = null), /*bonusstatus*/
6157
+ y[1] === "active" ? q ? q.p(y, M) : (q = Sr(y), q.c(), q.m(t, null)) : q && (q.d(1), q = null);
6139
6158
  },
6140
6159
  i: J,
6141
6160
  o: J,
6142
6161
  d(y) {
6143
- y && re(t), j && j.d(), W && W.d(), V && V.d(), Y && Y.d(), X && X.d(), z && z.d(), e[25](null);
6162
+ y && ne(t), j && j.d(), W && W.d(), V && V.d(), Y && Y.d(), X && X.d(), q && q.d(), e[25](null);
6144
6163
  }
6145
6164
  };
6146
6165
  }
6147
- function Ka(e, t, r) {
6166
+ function ts(e, t, r) {
6148
6167
  let n;
6149
- pn(e, ko, (b) => r(16, n = b));
6150
- let { bonuswalletid: i = "" } = t, { bonusdate: o = "" } = t, { bonusstatus: a = "" } = t, { bonusname: s = "" } = t, { bonustype: l = "" } = t, { bonusamount: u = "" } = t, { bonuswageringamount: h = "" } = t, { bonusremainingamount: f = "" } = t, { bonuscurrency: c = "" } = t, { lang: d = "en" } = t, { clientstyling: p = "" } = t, { clientstylingurl: v = "" } = t, { mbsource: S } = t, { translationurl: L = "" } = t, { termsandconditionsurl: P = "" } = t, { termsandconditionsasset: E = "" } = t, { termsandconditionsdescription: U = "" } = t, { currencylocale: A = "" } = t, { dateformat: $ = "" } = t, k, ie = window.navigator.userAgent, ue = $o(ie) !== "PC", ee = !1, H = !0;
6168
+ vn(e, Fo, (b) => r(16, n = b));
6169
+ let { bonuswalletid: i = "" } = t, { bonusdate: o = "" } = t, { bonusstatus: a = "" } = t, { bonusname: s = "" } = t, { bonustype: l = "" } = t, { bonusamount: u = "" } = t, { bonuswageringamount: h = "" } = t, { bonusremainingamount: f = "" } = t, { bonuscurrency: c = "" } = t, { lang: d = "en" } = t, { clientstyling: p = "" } = t, { clientstylingurl: v = "" } = t, { mbsource: B } = t, { translationurl: L = "" } = t, { termsandconditionsurl: O = "" } = t, { termsandconditionsasset: E = "" } = t, { termsandconditionsdescription: U = "" } = t, { currencylocale: A = "" } = t, { dateformat: $ = "" } = t, k, ie = window.navigator.userAgent, ue = Go(ie) !== "PC", te = !1, H = !0;
6151
6170
  const N = () => {
6152
6171
  fetch(L).then((Z) => Z.json()).then((Z) => {
6153
6172
  Object.keys(Z).forEach((le) => {
6154
- fr(le, Z[le]);
6173
+ mr(le, Z[le]);
6155
6174
  });
6156
6175
  }).catch((Z) => {
6157
6176
  console.log(Z);
6158
6177
  });
6159
6178
  };
6160
- Object.keys(dr).forEach((b) => {
6161
- fr(b, dr[b]);
6179
+ Object.keys(br).forEach((b) => {
6180
+ mr(b, br[b]);
6162
6181
  });
6163
6182
  const Q = () => {
6164
6183
  window.postMessage({ type: "DisableScroll" }, window.location.href), window.postMessage({ type: "DeleteActiveBonus", bonuswalletid: i }, window.location.href);
6165
6184
  }, de = () => {
6166
- Fo(d);
6185
+ jo(d);
6167
6186
  };
6168
- xn(() => () => {
6187
+ Bn(() => () => {
6169
6188
  });
6170
- function Ce(b) {
6171
- pt[b ? "unshift" : "push"](() => {
6189
+ function Se(b) {
6190
+ gt[b ? "unshift" : "push"](() => {
6172
6191
  k = b, r(13, k);
6173
6192
  });
6174
6193
  }
6175
6194
  return e.$$set = (b) => {
6176
- "bonuswalletid" in b && r(19, i = b.bonuswalletid), "bonusdate" in b && r(0, o = b.bonusdate), "bonusstatus" in b && r(1, a = b.bonusstatus), "bonusname" in b && r(2, s = b.bonusname), "bonustype" in b && r(3, l = b.bonustype), "bonusamount" in b && r(4, u = b.bonusamount), "bonuswageringamount" in b && r(5, h = b.bonuswageringamount), "bonusremainingamount" in b && r(6, f = b.bonusremainingamount), "bonuscurrency" in b && r(7, c = b.bonuscurrency), "lang" in b && r(20, d = b.lang), "clientstyling" in b && r(21, p = b.clientstyling), "clientstylingurl" in b && r(22, v = b.clientstylingurl), "mbsource" in b && r(23, S = b.mbsource), "translationurl" in b && r(24, L = b.translationurl), "termsandconditionsurl" in b && r(8, P = b.termsandconditionsurl), "termsandconditionsasset" in b && r(9, E = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(10, U = b.termsandconditionsdescription), "currencylocale" in b && r(11, A = b.currencylocale), "dateformat" in b && r(12, $ = b.dateformat);
6195
+ "bonuswalletid" in b && r(19, i = b.bonuswalletid), "bonusdate" in b && r(0, o = b.bonusdate), "bonusstatus" in b && r(1, a = b.bonusstatus), "bonusname" in b && r(2, s = b.bonusname), "bonustype" in b && r(3, l = b.bonustype), "bonusamount" in b && r(4, u = b.bonusamount), "bonuswageringamount" in b && r(5, h = b.bonuswageringamount), "bonusremainingamount" in b && r(6, f = b.bonusremainingamount), "bonuscurrency" in b && r(7, c = b.bonuscurrency), "lang" in b && r(20, d = b.lang), "clientstyling" in b && r(21, p = b.clientstyling), "clientstylingurl" in b && r(22, v = b.clientstylingurl), "mbsource" in b && r(23, B = b.mbsource), "translationurl" in b && r(24, L = b.translationurl), "termsandconditionsurl" in b && r(8, O = b.termsandconditionsurl), "termsandconditionsasset" in b && r(9, E = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(10, U = b.termsandconditionsdescription), "currencylocale" in b && r(11, A = b.currencylocale), "dateformat" in b && r(12, $ = b.dateformat);
6177
6196
  }, e.$$.update = () => {
6178
6197
  e.$$.dirty & /*lang*/
6179
6198
  1048576 && d && de(), e.$$.dirty & /*clientstyling, customStylingContainer*/
6180
- 2105344 && p && k && Go(k, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
6181
- 4202496 && v && k && jo(k, v), e.$$.dirty & /*mbsource, customStylingContainer*/
6182
- 8396800 && S && k && Wo(k, `${S}.Style`), e.$$.dirty & /*translationurl*/
6199
+ 2105344 && p && k && Wo(k, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
6200
+ 4202496 && v && k && Vo(k, v), e.$$.dirty & /*mbsource, customStylingContainer*/
6201
+ 8396800 && B && k && Yo(k, `${B}.Style`), e.$$.dirty & /*translationurl*/
6183
6202
  16777216 && L && N(), e.$$.dirty & /*termsandconditionsasset*/
6184
6203
  512 && r(15, H = !(E === null || E === "")), e.$$.dirty & /*termsandconditionsurl*/
6185
- 256 && r(14, ee = P !== null && P !== "");
6204
+ 256 && r(14, te = O !== null && O !== "");
6186
6205
  }, [
6187
6206
  o,
6188
6207
  a,
@@ -6192,13 +6211,13 @@ function Ka(e, t, r) {
6192
6211
  h,
6193
6212
  f,
6194
6213
  c,
6195
- P,
6214
+ O,
6196
6215
  E,
6197
6216
  U,
6198
6217
  A,
6199
6218
  $,
6200
6219
  k,
6201
- ee,
6220
+ te,
6202
6221
  H,
6203
6222
  n,
6204
6223
  ue,
@@ -6207,19 +6226,19 @@ function Ka(e, t, r) {
6207
6226
  d,
6208
6227
  p,
6209
6228
  v,
6210
- S,
6229
+ B,
6211
6230
  L,
6212
- Ce
6231
+ Se
6213
6232
  ];
6214
6233
  }
6215
- class es extends In {
6234
+ class rs extends Ln {
6216
6235
  constructor(t) {
6217
- super(), Nn(
6236
+ super(), Dn(
6218
6237
  this,
6219
6238
  t,
6220
- Ka,
6221
- Ja,
6222
- Sr,
6239
+ ts,
6240
+ es,
6241
+ Or,
6223
6242
  {
6224
6243
  bonuswalletid: 19,
6225
6244
  bonusdate: 0,
@@ -6241,125 +6260,125 @@ class es extends In {
6241
6260
  currencylocale: 11,
6242
6261
  dateformat: 12
6243
6262
  },
6244
- Za
6263
+ Ka
6245
6264
  );
6246
6265
  }
6247
6266
  get bonuswalletid() {
6248
6267
  return this.$$.ctx[19];
6249
6268
  }
6250
6269
  set bonuswalletid(t) {
6251
- this.$$set({ bonuswalletid: t }), O();
6270
+ this.$$set({ bonuswalletid: t }), P();
6252
6271
  }
6253
6272
  get bonusdate() {
6254
6273
  return this.$$.ctx[0];
6255
6274
  }
6256
6275
  set bonusdate(t) {
6257
- this.$$set({ bonusdate: t }), O();
6276
+ this.$$set({ bonusdate: t }), P();
6258
6277
  }
6259
6278
  get bonusstatus() {
6260
6279
  return this.$$.ctx[1];
6261
6280
  }
6262
6281
  set bonusstatus(t) {
6263
- this.$$set({ bonusstatus: t }), O();
6282
+ this.$$set({ bonusstatus: t }), P();
6264
6283
  }
6265
6284
  get bonusname() {
6266
6285
  return this.$$.ctx[2];
6267
6286
  }
6268
6287
  set bonusname(t) {
6269
- this.$$set({ bonusname: t }), O();
6288
+ this.$$set({ bonusname: t }), P();
6270
6289
  }
6271
6290
  get bonustype() {
6272
6291
  return this.$$.ctx[3];
6273
6292
  }
6274
6293
  set bonustype(t) {
6275
- this.$$set({ bonustype: t }), O();
6294
+ this.$$set({ bonustype: t }), P();
6276
6295
  }
6277
6296
  get bonusamount() {
6278
6297
  return this.$$.ctx[4];
6279
6298
  }
6280
6299
  set bonusamount(t) {
6281
- this.$$set({ bonusamount: t }), O();
6300
+ this.$$set({ bonusamount: t }), P();
6282
6301
  }
6283
6302
  get bonuswageringamount() {
6284
6303
  return this.$$.ctx[5];
6285
6304
  }
6286
6305
  set bonuswageringamount(t) {
6287
- this.$$set({ bonuswageringamount: t }), O();
6306
+ this.$$set({ bonuswageringamount: t }), P();
6288
6307
  }
6289
6308
  get bonusremainingamount() {
6290
6309
  return this.$$.ctx[6];
6291
6310
  }
6292
6311
  set bonusremainingamount(t) {
6293
- this.$$set({ bonusremainingamount: t }), O();
6312
+ this.$$set({ bonusremainingamount: t }), P();
6294
6313
  }
6295
6314
  get bonuscurrency() {
6296
6315
  return this.$$.ctx[7];
6297
6316
  }
6298
6317
  set bonuscurrency(t) {
6299
- this.$$set({ bonuscurrency: t }), O();
6318
+ this.$$set({ bonuscurrency: t }), P();
6300
6319
  }
6301
6320
  get lang() {
6302
6321
  return this.$$.ctx[20];
6303
6322
  }
6304
6323
  set lang(t) {
6305
- this.$$set({ lang: t }), O();
6324
+ this.$$set({ lang: t }), P();
6306
6325
  }
6307
6326
  get clientstyling() {
6308
6327
  return this.$$.ctx[21];
6309
6328
  }
6310
6329
  set clientstyling(t) {
6311
- this.$$set({ clientstyling: t }), O();
6330
+ this.$$set({ clientstyling: t }), P();
6312
6331
  }
6313
6332
  get clientstylingurl() {
6314
6333
  return this.$$.ctx[22];
6315
6334
  }
6316
6335
  set clientstylingurl(t) {
6317
- this.$$set({ clientstylingurl: t }), O();
6336
+ this.$$set({ clientstylingurl: t }), P();
6318
6337
  }
6319
6338
  get mbsource() {
6320
6339
  return this.$$.ctx[23];
6321
6340
  }
6322
6341
  set mbsource(t) {
6323
- this.$$set({ mbsource: t }), O();
6342
+ this.$$set({ mbsource: t }), P();
6324
6343
  }
6325
6344
  get translationurl() {
6326
6345
  return this.$$.ctx[24];
6327
6346
  }
6328
6347
  set translationurl(t) {
6329
- this.$$set({ translationurl: t }), O();
6348
+ this.$$set({ translationurl: t }), P();
6330
6349
  }
6331
6350
  get termsandconditionsurl() {
6332
6351
  return this.$$.ctx[8];
6333
6352
  }
6334
6353
  set termsandconditionsurl(t) {
6335
- this.$$set({ termsandconditionsurl: t }), O();
6354
+ this.$$set({ termsandconditionsurl: t }), P();
6336
6355
  }
6337
6356
  get termsandconditionsasset() {
6338
6357
  return this.$$.ctx[9];
6339
6358
  }
6340
6359
  set termsandconditionsasset(t) {
6341
- this.$$set({ termsandconditionsasset: t }), O();
6360
+ this.$$set({ termsandconditionsasset: t }), P();
6342
6361
  }
6343
6362
  get termsandconditionsdescription() {
6344
6363
  return this.$$.ctx[10];
6345
6364
  }
6346
6365
  set termsandconditionsdescription(t) {
6347
- this.$$set({ termsandconditionsdescription: t }), O();
6366
+ this.$$set({ termsandconditionsdescription: t }), P();
6348
6367
  }
6349
6368
  get currencylocale() {
6350
6369
  return this.$$.ctx[11];
6351
6370
  }
6352
6371
  set currencylocale(t) {
6353
- this.$$set({ currencylocale: t }), O();
6372
+ this.$$set({ currencylocale: t }), P();
6354
6373
  }
6355
6374
  get dateformat() {
6356
6375
  return this.$$.ctx[12];
6357
6376
  }
6358
6377
  set dateformat(t) {
6359
- this.$$set({ dateformat: t }), O();
6378
+ this.$$set({ dateformat: t }), P();
6360
6379
  }
6361
6380
  }
6362
- Dn(es, { bonuswalletid: {}, bonusdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
6381
+ In(rs, { bonuswalletid: {}, bonusdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
6363
6382
  export {
6364
- es as default
6383
+ rs as default
6365
6384
  };