@everymatrix/player-bonus-card 1.87.26 → 1.87.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 pn = Object.defineProperty, gn = Object.defineProperties;
2
- var vn = Object.getOwnPropertyDescriptors;
3
- var Vt = Object.getOwnPropertySymbols;
4
- var yn = Object.prototype.hasOwnProperty, wn = Object.prototype.propertyIsEnumerable;
5
- var dt = (e, t, r) => t in e ? pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yt = (e, t) => {
1
+ var gn = Object.defineProperty, vn = Object.defineProperties;
2
+ var yn = Object.getOwnPropertyDescriptors;
3
+ var Yt = Object.getOwnPropertySymbols;
4
+ var wn = Object.prototype.hasOwnProperty, _n = Object.prototype.propertyIsEnumerable;
5
+ var mt = (e, t, r) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- yn.call(t, r) && dt(e, r, t[r]);
8
- if (Vt)
9
- for (var r of Vt(t))
10
- wn.call(t, r) && dt(e, r, t[r]);
7
+ wn.call(t, r) && mt(e, r, t[r]);
8
+ if (Yt)
9
+ for (var r of Yt(t))
10
+ _n.call(t, r) && mt(e, r, t[r]);
11
11
  return e;
12
- }, Xt = (e, t) => gn(e, vn(t));
13
- var Z = (e, t, r) => (dt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var qt = (e, t, r) => new Promise((n, i) => {
12
+ }, qt = (e, t) => vn(e, yn(t));
13
+ var Z = (e, t, r) => (mt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var zt = (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 qt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function ee() {
31
31
  }
32
- function Mr(e) {
32
+ function Rr(e) {
33
33
  return e();
34
34
  }
35
- function zt() {
35
+ function Qt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Fe(e) {
39
- e.forEach(Mr);
38
+ function Ge(e) {
39
+ e.forEach(Rr);
40
40
  }
41
- function $t(e) {
41
+ function Gt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Rr(e, t) {
44
+ function Nr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let We;
48
- function Qt(e, t) {
49
- return e === t ? !0 : (We || (We = document.createElement("a")), We.href = t, e === We.href);
47
+ let Ye;
48
+ function Zt(e, t) {
49
+ return e === t ? !0 : (Ye || (Ye = document.createElement("a")), Ye.href = t, e === Ye.href);
50
50
  }
51
- function _n(e) {
51
+ function En(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Nr(e, ...t) {
54
+ function Dr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Nr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function En(e, t, r) {
64
- e.$$.on_destroy.push(Nr(t, r));
63
+ function Tn(e, t, r) {
64
+ e.$$.on_destroy.push(Dr(t, r));
65
65
  }
66
66
  function m(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Tn(e, t, r) {
70
- const n = xn(e);
69
+ function xn(e, t, r) {
70
+ const n = Bn(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = E("style");
73
- i.id = t, i.textContent = r, Bn(n, i);
73
+ i.id = t, i.textContent = r, Sn(n, i);
74
74
  }
75
75
  }
76
- function xn(e) {
76
+ function Bn(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,14 +83,14 @@ function xn(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Bn(e, t) {
86
+ function Sn(e, t) {
87
87
  return m(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function ne(e, t, r) {
93
+ function ie(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
96
  function te(e) {
@@ -105,20 +105,20 @@ function P(e) {
105
105
  function M() {
106
106
  return P(" ");
107
107
  }
108
- function Sn(e, t, r, n) {
108
+ function Cn(e, t, r, n) {
109
109
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
110
110
  }
111
111
  function p(e, t, r) {
112
112
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
113
113
  }
114
- function Cn(e) {
114
+ function On(e) {
115
115
  return Array.from(e.childNodes);
116
116
  }
117
117
  function R(e, t) {
118
118
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
119
119
  t);
120
120
  }
121
- function On(e) {
121
+ function Pn(e) {
122
122
  const t = {};
123
123
  return e.childNodes.forEach(
124
124
  /** @param {Element} node */
@@ -127,87 +127,87 @@ function On(e) {
127
127
  }
128
128
  ), t;
129
129
  }
130
- let Le;
131
- function Ie(e) {
132
- Le = e;
130
+ let ke;
131
+ function Ue(e) {
132
+ ke = e;
133
133
  }
134
- function Pn() {
135
- if (!Le)
134
+ function An() {
135
+ if (!ke)
136
136
  throw new Error("Function called outside component initialization");
137
- return Le;
137
+ return ke;
138
138
  }
139
- function An(e) {
140
- Pn().$$.on_mount.push(e);
139
+ function Hn(e) {
140
+ An().$$.on_mount.push(e);
141
141
  }
142
- const Ee = [], Tt = [];
143
- let Te = [];
144
- const Zt = [], Hn = /* @__PURE__ */ Promise.resolve();
145
- let xt = !1;
146
- function Mn() {
147
- xt || (xt = !0, Hn.then(C));
142
+ const xe = [], xt = [];
143
+ let Se = [];
144
+ const Jt = [], Mn = /* @__PURE__ */ Promise.resolve();
145
+ let Bt = !1;
146
+ function Rn() {
147
+ Bt || (Bt = !0, Mn.then(C));
148
148
  }
149
- function Bt(e) {
150
- Te.push(e);
149
+ function St(e) {
150
+ Se.push(e);
151
151
  }
152
- const mt = /* @__PURE__ */ new Set();
153
- let ye = 0;
152
+ const bt = /* @__PURE__ */ new Set();
153
+ let _e = 0;
154
154
  function C() {
155
- if (ye !== 0)
155
+ if (_e !== 0)
156
156
  return;
157
- const e = Le;
157
+ const e = ke;
158
158
  do {
159
159
  try {
160
- for (; ye < Ee.length; ) {
161
- const t = Ee[ye];
162
- ye++, Ie(t), Rn(t.$$);
160
+ for (; _e < xe.length; ) {
161
+ const t = xe[_e];
162
+ _e++, Ue(t), Nn(t.$$);
163
163
  }
164
164
  } catch (t) {
165
- throw Ee.length = 0, ye = 0, t;
165
+ throw xe.length = 0, _e = 0, t;
166
166
  }
167
- for (Ie(null), Ee.length = 0, ye = 0; Tt.length; )
168
- Tt.pop()();
169
- for (let t = 0; t < Te.length; t += 1) {
170
- const r = Te[t];
171
- mt.has(r) || (mt.add(r), r());
167
+ for (Ue(null), xe.length = 0, _e = 0; xt.length; )
168
+ xt.pop()();
169
+ for (let t = 0; t < Se.length; t += 1) {
170
+ const r = Se[t];
171
+ bt.has(r) || (bt.add(r), r());
172
172
  }
173
- Te.length = 0;
174
- } while (Ee.length);
175
- for (; Zt.length; )
176
- Zt.pop()();
177
- xt = !1, mt.clear(), Ie(e);
173
+ Se.length = 0;
174
+ } while (xe.length);
175
+ for (; Jt.length; )
176
+ Jt.pop()();
177
+ Bt = !1, bt.clear(), Ue(e);
178
178
  }
179
- function Rn(e) {
179
+ function Nn(e) {
180
180
  if (e.fragment !== null) {
181
- e.update(), Fe(e.before_update);
181
+ e.update(), Ge(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(Bt);
183
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(St);
184
184
  }
185
185
  }
186
- function Nn(e) {
186
+ function Dn(e) {
187
187
  const t = [], r = [];
188
- Te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Te = t;
188
+ Se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Se = t;
189
189
  }
190
- const Dn = /* @__PURE__ */ new Set();
191
- function In(e, t) {
192
- e && e.i && (Dn.delete(e), e.i(t));
190
+ const In = /* @__PURE__ */ new Set();
191
+ function Ln(e, t) {
192
+ e && e.i && (In.delete(e), e.i(t));
193
193
  }
194
- function Ln(e, t, r) {
194
+ function Un(e, t, r) {
195
195
  const { fragment: n, after_update: i } = e.$$;
196
- n && n.m(t, r), Bt(() => {
197
- const o = e.$$.on_mount.map(Mr).filter($t);
198
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Fe(o), e.$$.on_mount = [];
199
- }), i.forEach(Bt);
196
+ n && n.m(t, r), St(() => {
197
+ const o = e.$$.on_mount.map(Rr).filter(Gt);
198
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ge(o), e.$$.on_mount = [];
199
+ }), i.forEach(St);
200
200
  }
201
- function Un(e, t) {
201
+ function kn(e, t) {
202
202
  const r = e.$$;
203
- r.fragment !== null && (Nn(r.after_update), Fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
+ r.fragment !== null && (Dn(r.after_update), Ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
204
204
  }
205
- function kn(e, t) {
206
- e.$$.dirty[0] === -1 && (Ee.push(e), Mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
205
+ function Fn(e, t) {
206
+ e.$$.dirty[0] === -1 && (xe.push(e), Rn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
207
  }
208
- function Fn(e, t, r, n, i, o, a = null, s = [-1]) {
209
- const l = Le;
210
- Ie(e);
208
+ function $n(e, t, r, n, i, o, a = null, s = [-1]) {
209
+ const l = ke;
210
+ Ue(e);
211
211
  const u = e.$$ = {
212
212
  fragment: null,
213
213
  ctx: [],
@@ -215,7 +215,7 @@ function Fn(e, t, r, n, i, o, a = null, s = [-1]) {
215
215
  props: o,
216
216
  update: ee,
217
217
  not_equal: i,
218
- bound: zt(),
218
+ bound: Qt(),
219
219
  // lifecycle
220
220
  on_mount: [],
221
221
  on_destroy: [],
@@ -224,7 +224,7 @@ function Fn(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: zt(),
227
+ callbacks: Qt(),
228
228
  dirty: s,
229
229
  skip_bound: !1,
230
230
  root: t.target || l.$$.root
@@ -233,19 +233,19 @@ function Fn(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 || {}, (c, f, ...d) => {
235
235
  const v = d.length ? d[0] : f;
236
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && kn(e, c)), f;
237
- }) : [], u.update(), h = !0, Fe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
236
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Fn(e, c)), f;
237
+ }) : [], u.update(), h = !0, Ge(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
238
238
  if (t.hydrate) {
239
- const c = Cn(t.target);
239
+ const c = On(t.target);
240
240
  u.fragment && u.fragment.l(c), c.forEach(te);
241
241
  } else
242
242
  u.fragment && u.fragment.c();
243
- t.intro && In(e.$$.fragment), Ln(e, t.target, t.anchor), C();
243
+ t.intro && Ln(e.$$.fragment), Un(e, t.target, t.anchor), C();
244
244
  }
245
- Ie(l);
245
+ Ue(l);
246
246
  }
247
- let Dr;
248
- typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
247
+ let Ir;
248
+ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
249
249
  constructor(t, r, n) {
250
250
  super();
251
251
  /** The Svelte component constructor */
@@ -282,7 +282,7 @@ typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
282
282
  }
283
283
  }
284
284
  connectedCallback() {
285
- return qt(this, null, function* () {
285
+ return zt(this, null, function* () {
286
286
  if (this.$$cn = !0, !this.$$c) {
287
287
  let t = function(o) {
288
288
  return () => {
@@ -296,7 +296,7 @@ typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
296
296
  * @param {HTMLElement} [anchor]
297
297
  */
298
298
  m: function(u, h) {
299
- ne(u, a, h);
299
+ ie(u, a, h);
300
300
  },
301
301
  d: function(u) {
302
302
  u && te(a);
@@ -306,18 +306,18 @@ typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
306
306
  };
307
307
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
308
308
  return;
309
- const r = {}, n = On(this);
309
+ const r = {}, n = Pn(this);
310
310
  for (const o of this.$$s)
311
311
  o in n && (r[o] = [t(o)]);
312
312
  for (const o of this.attributes) {
313
313
  const a = this.$$g_p(o.name);
314
- a in this.$$d || (this.$$d[a] = Xe(a, o.value, this.$$p_d, "toProp"));
314
+ a in this.$$d || (this.$$d[a] = ze(a, o.value, this.$$p_d, "toProp"));
315
315
  }
316
316
  for (const o in this.$$p_d)
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: Xt(Yt({}, this.$$d), {
320
+ props: qt(Xt({}, this.$$d), {
321
321
  $$slots: r,
322
322
  $$scope: {
323
323
  ctx: []
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
328
328
  this.$$r = !0;
329
329
  for (const o in this.$$p_d)
330
330
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
331
- const a = Xe(
331
+ const a = ze(
332
332
  o,
333
333
  this.$$d[o],
334
334
  this.$$p_d,
@@ -352,7 +352,7 @@ typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
352
352
  // and setting attributes through setAttribute etc, this is helpful
353
353
  attributeChangedCallback(t, r, n) {
354
354
  var i;
355
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Xe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
355
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ze(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
356
356
  }
357
357
  disconnectedCallback() {
358
358
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
365
365
  ) || t;
366
366
  }
367
367
  });
368
- function Xe(e, t, r, n) {
368
+ function ze(e, t, r, n) {
369
369
  var o;
370
370
  const i = (o = r[e]) == null ? void 0 : o.type;
371
371
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -395,8 +395,8 @@ function Xe(e, t, r, n) {
395
395
  return t;
396
396
  }
397
397
  }
398
- function $n(e, t, r, n, i, o) {
399
- let a = class extends Dr {
398
+ function Gn(e, t, r, n, i, o) {
399
+ let a = class extends Ir {
400
400
  constructor() {
401
401
  super(e, r, i), this.$$p_d = t;
402
402
  }
@@ -413,7 +413,7 @@ function $n(e, t, r, n, i, o) {
413
413
  },
414
414
  set(l) {
415
415
  var u;
416
- l = Xe(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
416
+ l = ze(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
417
417
  }
418
418
  });
419
419
  }), n.forEach((s) => {
@@ -426,7 +426,7 @@ function $n(e, t, r, n, i, o) {
426
426
  }), e.element = /** @type {any} */
427
427
  a, a;
428
428
  }
429
- class Gn {
429
+ class jn {
430
430
  constructor() {
431
431
  /**
432
432
  * ### PRIVATE API
@@ -447,7 +447,7 @@ class Gn {
447
447
  }
448
448
  /** @returns {void} */
449
449
  $destroy() {
450
- Un(this, 1), this.$destroy = ee;
450
+ kn(this, 1), this.$destroy = ee;
451
451
  }
452
452
  /**
453
453
  * @template {Extract<keyof Events, string>} K
@@ -456,7 +456,7 @@ class Gn {
456
456
  * @returns {() => void}
457
457
  */
458
458
  $on(t, r) {
459
- if (!$t(r))
459
+ if (!Gt(r))
460
460
  return ee;
461
461
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
462
  return n.push(r), () => {
@@ -469,11 +469,11 @@ class Gn {
469
469
  * @returns {void}
470
470
  */
471
471
  $set(t) {
472
- this.$$set && !_n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
+ this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
473
  }
474
474
  }
475
- const jn = "4";
476
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jn);
475
+ const Wn = "4";
476
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wn);
477
477
  /*! *****************************************************************************
478
478
  Copyright (c) Microsoft Corporation.
479
479
 
@@ -488,24 +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 St = function(e, t) {
492
- return St = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
491
+ var Ct = function(e, t) {
492
+ return Ct = 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
- }, St(e, t);
497
+ }, Ct(e, t);
498
498
  };
499
- function $e(e, t) {
499
+ function je(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
- St(e, t);
502
+ Ct(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
- function Ct(e) {
508
+ function Ot(e) {
509
509
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
510
510
  if (r)
511
511
  return r.call(e);
@@ -517,7 +517,7 @@ function Ct(e) {
517
517
  };
518
518
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
519
519
  }
520
- function Ot(e, t) {
520
+ function Pt(e, t) {
521
521
  var r = typeof Symbol == "function" && e[Symbol.iterator];
522
522
  if (!r)
523
523
  return e;
@@ -537,7 +537,7 @@ function Ot(e, t) {
537
537
  }
538
538
  return o;
539
539
  }
540
- function Pt(e, t, r) {
540
+ function At(e, t, r) {
541
541
  if (arguments.length === 2)
542
542
  for (var n = 0, i = t.length, o; n < i; n++)
543
543
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -546,13 +546,13 @@ function Pt(e, t, r) {
546
546
  function se(e) {
547
547
  return typeof e == "function";
548
548
  }
549
- function Ir(e) {
549
+ function Lr(e) {
550
550
  var t = function(n) {
551
551
  Error.call(n), n.stack = new Error().stack;
552
552
  }, r = e(t);
553
553
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
554
554
  }
555
- var bt = Ir(function(e) {
555
+ var pt = Lr(function(e) {
556
556
  return function(r) {
557
557
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
558
558
  ` + r.map(function(n, i) {
@@ -561,13 +561,13 @@ var bt = Ir(function(e) {
561
561
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
562
562
  };
563
563
  });
564
- function At(e, t) {
564
+ function Ht(e, t) {
565
565
  if (e) {
566
566
  var r = e.indexOf(t);
567
567
  0 <= r && e.splice(r, 1);
568
568
  }
569
569
  }
570
- var nt = function() {
570
+ var ot = function() {
571
571
  function e(t) {
572
572
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
573
573
  }
@@ -579,7 +579,7 @@ var nt = function() {
579
579
  if (a)
580
580
  if (this._parentage = null, Array.isArray(a))
581
581
  try {
582
- for (var s = Ct(a), l = s.next(); !l.done; l = s.next()) {
582
+ for (var s = Ot(a), l = s.next(); !l.done; l = s.next()) {
583
583
  var u = l.value;
584
584
  u.remove(this);
585
585
  }
@@ -600,18 +600,18 @@ var nt = function() {
600
600
  try {
601
601
  h();
602
602
  } catch (y) {
603
- o = y instanceof bt ? y.errors : [y];
603
+ o = y instanceof pt ? y.errors : [y];
604
604
  }
605
605
  var c = this._finalizers;
606
606
  if (c) {
607
607
  this._finalizers = null;
608
608
  try {
609
- for (var f = Ct(c), d = f.next(); !d.done; d = f.next()) {
609
+ for (var f = Ot(c), d = f.next(); !d.done; d = f.next()) {
610
610
  var v = d.value;
611
611
  try {
612
- Jt(v);
612
+ Kt(v);
613
613
  } catch (y) {
614
- o = o != null ? o : [], y instanceof bt ? o = Pt(Pt([], Ot(o)), Ot(y.errors)) : o.push(y);
614
+ o = o != null ? o : [], y instanceof pt ? o = At(At([], Pt(o)), Pt(y.errors)) : o.push(y);
615
615
  }
616
616
  }
617
617
  } catch (y) {
@@ -626,13 +626,13 @@ var nt = function() {
626
626
  }
627
627
  }
628
628
  if (o)
629
- throw new bt(o);
629
+ throw new pt(o);
630
630
  }
631
631
  }, e.prototype.add = function(t) {
632
632
  var r;
633
633
  if (t && t !== this)
634
634
  if (this.closed)
635
- Jt(t);
635
+ Kt(t);
636
636
  else {
637
637
  if (t instanceof e) {
638
638
  if (t.closed || t._hasParent(this))
@@ -649,52 +649,52 @@ var nt = function() {
649
649
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
650
650
  }, e.prototype._removeParent = function(t) {
651
651
  var r = this._parentage;
652
- r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
652
+ r === t ? this._parentage = null : Array.isArray(r) && Ht(r, t);
653
653
  }, e.prototype.remove = function(t) {
654
654
  var r = this._finalizers;
655
- r && At(r, t), t instanceof e && t._removeParent(this);
655
+ r && Ht(r, t), t instanceof e && t._removeParent(this);
656
656
  }, e.EMPTY = function() {
657
657
  var t = new e();
658
658
  return t.closed = !0, t;
659
659
  }(), e;
660
- }(), Lr = nt.EMPTY;
661
- function Ur(e) {
662
- return e instanceof nt || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
660
+ }(), Ur = ot.EMPTY;
661
+ function kr(e) {
662
+ return e instanceof ot || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
663
663
  }
664
- function Jt(e) {
664
+ function Kt(e) {
665
665
  se(e) ? e() : e.unsubscribe();
666
666
  }
667
- var Wn = {
667
+ var Vn = {
668
668
  Promise: void 0
669
- }, Vn = {
669
+ }, Yn = {
670
670
  setTimeout: function(e, t) {
671
671
  for (var r = [], n = 2; n < arguments.length; n++)
672
672
  r[n - 2] = arguments[n];
673
- return setTimeout.apply(void 0, Pt([e, t], Ot(r)));
673
+ return setTimeout.apply(void 0, At([e, t], Pt(r)));
674
674
  },
675
675
  clearTimeout: function(e) {
676
676
  return clearTimeout(e);
677
677
  },
678
678
  delegate: void 0
679
679
  };
680
- function Yn(e) {
681
- Vn.setTimeout(function() {
680
+ function Xn(e) {
681
+ Yn.setTimeout(function() {
682
682
  throw e;
683
683
  });
684
684
  }
685
- function Kt() {
685
+ function er() {
686
686
  }
687
- function qe(e) {
687
+ function Qe(e) {
688
688
  e();
689
689
  }
690
- var kr = function(e) {
691
- $e(t, e);
690
+ var Fr = function(e) {
691
+ je(t, e);
692
692
  function t(r) {
693
693
  var n = e.call(this) || this;
694
- return n.isStopped = !1, r ? (n.destination = r, Ur(r) && r.add(n)) : n.destination = zn, n;
694
+ return n.isStopped = !1, r ? (n.destination = r, kr(r) && r.add(n)) : n.destination = Qn, n;
695
695
  }
696
696
  return t.create = function(r, n, i) {
697
- return new Ht(r, n, i);
697
+ return new Mt(r, n, i);
698
698
  }, t.prototype.next = function(r) {
699
699
  this.isStopped || this._next(r);
700
700
  }, t.prototype.error = function(r) {
@@ -718,7 +718,7 @@ var kr = function(e) {
718
718
  this.unsubscribe();
719
719
  }
720
720
  }, t;
721
- }(nt), Xn = function() {
721
+ }(ot), qn = function() {
722
722
  function e(t) {
723
723
  this.partialObserver = t;
724
724
  }
@@ -728,7 +728,7 @@ var kr = function(e) {
728
728
  try {
729
729
  r.next(t);
730
730
  } catch (n) {
731
- Ve(n);
731
+ Xe(n);
732
732
  }
733
733
  }, e.prototype.error = function(t) {
734
734
  var r = this.partialObserver;
@@ -736,56 +736,56 @@ var kr = function(e) {
736
736
  try {
737
737
  r.error(t);
738
738
  } catch (n) {
739
- Ve(n);
739
+ Xe(n);
740
740
  }
741
741
  else
742
- Ve(t);
742
+ Xe(t);
743
743
  }, e.prototype.complete = function() {
744
744
  var t = this.partialObserver;
745
745
  if (t.complete)
746
746
  try {
747
747
  t.complete();
748
748
  } catch (r) {
749
- Ve(r);
749
+ Xe(r);
750
750
  }
751
751
  }, e;
752
- }(), Ht = function(e) {
753
- $e(t, e);
752
+ }(), Mt = function(e) {
753
+ je(t, e);
754
754
  function t(r, n, i) {
755
755
  var o = e.call(this) || this, a;
756
756
  return se(r) || !r ? a = {
757
757
  next: r != null ? r : void 0,
758
758
  error: n != null ? n : void 0,
759
759
  complete: i != null ? i : void 0
760
- } : a = r, o.destination = new Xn(a), o;
760
+ } : a = r, o.destination = new qn(a), o;
761
761
  }
762
762
  return t;
763
- }(kr);
764
- function Ve(e) {
765
- Yn(e);
763
+ }(Fr);
764
+ function Xe(e) {
765
+ Xn(e);
766
766
  }
767
- function qn(e) {
767
+ function zn(e) {
768
768
  throw e;
769
769
  }
770
- var zn = {
770
+ var Qn = {
771
771
  closed: !0,
772
- next: Kt,
773
- error: qn,
774
- complete: Kt
775
- }, Qn = function() {
772
+ next: er,
773
+ error: zn,
774
+ complete: er
775
+ }, Zn = function() {
776
776
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
777
777
  }();
778
- function Zn(e) {
778
+ function Jn(e) {
779
779
  return e;
780
780
  }
781
- function Jn(e) {
782
- return e.length === 0 ? Zn : e.length === 1 ? e[0] : function(r) {
781
+ function Kn(e) {
782
+ return e.length === 0 ? Jn : e.length === 1 ? e[0] : function(r) {
783
783
  return e.reduce(function(n, i) {
784
784
  return i(n);
785
785
  }, r);
786
786
  };
787
787
  }
788
- var er = function() {
788
+ var tr = function() {
789
789
  function e(t) {
790
790
  t && (this._subscribe = t);
791
791
  }
@@ -793,8 +793,8 @@ var er = function() {
793
793
  var r = new e();
794
794
  return r.source = this, r.operator = t, r;
795
795
  }, e.prototype.subscribe = function(t, r, n) {
796
- var i = this, o = ei(t) ? t : new Ht(t, r, n);
797
- return qe(function() {
796
+ var i = this, o = ti(t) ? t : new Mt(t, r, n);
797
+ return Qe(function() {
798
798
  var a = i, s = a.operator, l = a.source;
799
799
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
800
800
  }), o;
@@ -806,8 +806,8 @@ var er = function() {
806
806
  }
807
807
  }, e.prototype.forEach = function(t, r) {
808
808
  var n = this;
809
- return r = tr(r), new r(function(i, o) {
810
- var a = new Ht({
809
+ return r = rr(r), new r(function(i, o) {
810
+ var a = new Mt({
811
811
  next: function(s) {
812
812
  try {
813
813
  t(s);
@@ -823,15 +823,15 @@ var er = function() {
823
823
  }, e.prototype._subscribe = function(t) {
824
824
  var r;
825
825
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
826
- }, e.prototype[Qn] = function() {
826
+ }, e.prototype[Zn] = function() {
827
827
  return this;
828
828
  }, e.prototype.pipe = function() {
829
829
  for (var t = [], r = 0; r < arguments.length; r++)
830
830
  t[r] = arguments[r];
831
- return Jn(t)(this);
831
+ return Kn(t)(this);
832
832
  }, e.prototype.toPromise = function(t) {
833
833
  var r = this;
834
- return t = tr(t), new t(function(n, i) {
834
+ return t = rr(t), new t(function(n, i) {
835
835
  var o;
836
836
  r.subscribe(function(a) {
837
837
  return o = a;
@@ -845,40 +845,40 @@ var er = function() {
845
845
  return new e(t);
846
846
  }, e;
847
847
  }();
848
- function tr(e) {
848
+ function rr(e) {
849
849
  var t;
850
- return (t = e != null ? e : Wn.Promise) !== null && t !== void 0 ? t : Promise;
850
+ return (t = e != null ? e : Vn.Promise) !== null && t !== void 0 ? t : Promise;
851
851
  }
852
- function Kn(e) {
852
+ function ei(e) {
853
853
  return e && se(e.next) && se(e.error) && se(e.complete);
854
854
  }
855
- function ei(e) {
856
- return e && e instanceof kr || Kn(e) && Ur(e);
855
+ function ti(e) {
856
+ return e && e instanceof Fr || ei(e) && kr(e);
857
857
  }
858
- var ti = Ir(function(e) {
858
+ var ri = Lr(function(e) {
859
859
  return function() {
860
860
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
861
861
  };
862
- }), Fr = function(e) {
863
- $e(t, e);
862
+ }), $r = function(e) {
863
+ je(t, e);
864
864
  function t() {
865
865
  var r = e.call(this) || this;
866
866
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
867
867
  }
868
868
  return t.prototype.lift = function(r) {
869
- var n = new rr(this, this);
869
+ var n = new nr(this, this);
870
870
  return n.operator = r, n;
871
871
  }, t.prototype._throwIfClosed = function() {
872
872
  if (this.closed)
873
- throw new ti();
873
+ throw new ri();
874
874
  }, t.prototype.next = function(r) {
875
875
  var n = this;
876
- qe(function() {
876
+ Qe(function() {
877
877
  var i, o;
878
878
  if (n._throwIfClosed(), !n.isStopped) {
879
879
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
880
880
  try {
881
- for (var a = Ct(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
881
+ for (var a = Ot(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
882
882
  var l = s.value;
883
883
  l.next(r);
884
884
  }
@@ -896,7 +896,7 @@ var ti = Ir(function(e) {
896
896
  });
897
897
  }, t.prototype.error = function(r) {
898
898
  var n = this;
899
- qe(function() {
899
+ Qe(function() {
900
900
  if (n._throwIfClosed(), !n.isStopped) {
901
901
  n.hasError = n.isStopped = !0, n.thrownError = r;
902
902
  for (var i = n.observers; i.length; )
@@ -905,7 +905,7 @@ var ti = Ir(function(e) {
905
905
  });
906
906
  }, t.prototype.complete = function() {
907
907
  var r = this;
908
- qe(function() {
908
+ Qe(function() {
909
909
  if (r._throwIfClosed(), !r.isStopped) {
910
910
  r.isStopped = !0;
911
911
  for (var n = r.observers; n.length; )
@@ -927,20 +927,20 @@ var ti = Ir(function(e) {
927
927
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
928
928
  }, t.prototype._innerSubscribe = function(r) {
929
929
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
930
- return o || a ? Lr : (this.currentObservers = null, s.push(r), new nt(function() {
931
- n.currentObservers = null, At(s, r);
930
+ return o || a ? Ur : (this.currentObservers = null, s.push(r), new ot(function() {
931
+ n.currentObservers = null, Ht(s, r);
932
932
  }));
933
933
  }, t.prototype._checkFinalizedStatuses = function(r) {
934
934
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
935
935
  i ? r.error(o) : a && r.complete();
936
936
  }, t.prototype.asObservable = function() {
937
- var r = new er();
937
+ var r = new tr();
938
938
  return r.source = this, r;
939
939
  }, t.create = function(r, n) {
940
- return new rr(r, n);
940
+ return new nr(r, n);
941
941
  }, t;
942
- }(er), rr = function(e) {
943
- $e(t, e);
942
+ }(tr), nr = function(e) {
943
+ je(t, e);
944
944
  function t(r, n) {
945
945
  var i = e.call(this) || this;
946
946
  return i.destination = r, i.source = n, i;
@@ -956,17 +956,17 @@ var ti = Ir(function(e) {
956
956
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
957
957
  }, t.prototype._subscribe = function(r) {
958
958
  var n, i;
959
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lr;
959
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ur;
960
960
  }, t;
961
- }(Fr), $r = {
961
+ }($r), Gr = {
962
962
  now: function() {
963
- return ($r.delegate || Date).now();
963
+ return (Gr.delegate || Date).now();
964
964
  },
965
965
  delegate: void 0
966
- }, ri = function(e) {
967
- $e(t, e);
966
+ }, ni = function(e) {
967
+ je(t, e);
968
968
  function t(r, n, i) {
969
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $r);
969
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gr);
970
970
  var o = e.call(this) || this;
971
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;
972
972
  }
@@ -986,31 +986,31 @@ var ti = Ir(function(e) {
986
986
  u && o.splice(0, u + 1);
987
987
  }
988
988
  }, t;
989
- }(Fr);
990
- const nr = [], ir = {}, ni = (e, t = 0) => {
991
- if (nr.indexOf(e) == -1) {
992
- const r = new ri(t);
993
- ir[e] = r, nr.push(e);
989
+ }($r);
990
+ const ir = [], or = {}, ii = (e, t = 0) => {
991
+ if (ir.indexOf(e) == -1) {
992
+ const r = new ni(t);
993
+ or[e] = r, ir.push(e);
994
994
  }
995
- return ir[e];
996
- }, we = [];
997
- function ii(e, t) {
995
+ return or[e];
996
+ }, Ee = [];
997
+ function oi(e, t) {
998
998
  return {
999
- subscribe: it(e, t).subscribe
999
+ subscribe: at(e, t).subscribe
1000
1000
  };
1001
1001
  }
1002
- function it(e, t = ee) {
1002
+ function at(e, t = ee) {
1003
1003
  let r;
1004
1004
  const n = /* @__PURE__ */ new Set();
1005
1005
  function i(s) {
1006
- if (Rr(e, s) && (e = s, r)) {
1007
- const l = !we.length;
1006
+ if (Nr(e, s) && (e = s, r)) {
1007
+ const l = !Ee.length;
1008
1008
  for (const u of n)
1009
- u[1](), we.push(u, e);
1009
+ u[1](), Ee.push(u, e);
1010
1010
  if (l) {
1011
- for (let u = 0; u < we.length; u += 2)
1012
- we[u][0](we[u + 1]);
1013
- we.length = 0;
1011
+ for (let u = 0; u < Ee.length; u += 2)
1012
+ Ee[u][0](Ee[u + 1]);
1013
+ Ee.length = 0;
1014
1014
  }
1015
1015
  }
1016
1016
  }
@@ -1025,12 +1025,12 @@ function it(e, t = ee) {
1025
1025
  }
1026
1026
  return { set: i, update: o, subscribe: a };
1027
1027
  }
1028
- function Oe(e, t, r) {
1028
+ function He(e, t, r) {
1029
1029
  const n = !Array.isArray(e), i = n ? [e] : e;
1030
1030
  if (!i.every(Boolean))
1031
1031
  throw new Error("derived() expects stores as input, got a falsy value");
1032
1032
  const o = t.length < 2;
1033
- return ii(r, (a, s) => {
1033
+ return oi(r, (a, s) => {
1034
1034
  let l = !1;
1035
1035
  const u = [];
1036
1036
  let h = 0, c = ee;
@@ -1039,9 +1039,9 @@ function Oe(e, t, r) {
1039
1039
  return;
1040
1040
  c();
1041
1041
  const v = t(n ? u[0] : u, a, s);
1042
- o ? a(v) : c = $t(v) ? v : ee;
1042
+ o ? a(v) : c = Gt(v) ? v : ee;
1043
1043
  }, d = i.map(
1044
- (v, y) => Nr(
1044
+ (v, y) => Dr(
1045
1045
  v,
1046
1046
  (B) => {
1047
1047
  u[y] = B, h &= ~(1 << y), l && f();
@@ -1052,112 +1052,112 @@ function Oe(e, t, r) {
1052
1052
  )
1053
1053
  );
1054
1054
  return l = !0, f(), function() {
1055
- Fe(d), c(), l = !1;
1055
+ Ge(d), c(), l = !1;
1056
1056
  };
1057
1057
  });
1058
1058
  }
1059
- function oi(e) {
1059
+ function ai(e) {
1060
1060
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1061
1061
  }
1062
- var ai = function(t) {
1063
- return si(t) && !ui(t);
1062
+ var si = function(t) {
1063
+ return ui(t) && !li(t);
1064
1064
  };
1065
- function si(e) {
1065
+ function ui(e) {
1066
1066
  return !!e && typeof e == "object";
1067
1067
  }
1068
- function ui(e) {
1068
+ function li(e) {
1069
1069
  var t = Object.prototype.toString.call(e);
1070
- return t === "[object RegExp]" || t === "[object Date]" || fi(e);
1071
- }
1072
- var li = typeof Symbol == "function" && Symbol.for, hi = li ? Symbol.for("react.element") : 60103;
1073
- function fi(e) {
1074
- return e.$$typeof === hi;
1070
+ return t === "[object RegExp]" || t === "[object Date]" || ci(e);
1075
1071
  }
1072
+ var hi = typeof Symbol == "function" && Symbol.for, fi = hi ? Symbol.for("react.element") : 60103;
1076
1073
  function ci(e) {
1074
+ return e.$$typeof === fi;
1075
+ }
1076
+ function di(e) {
1077
1077
  return Array.isArray(e) ? [] : {};
1078
1078
  }
1079
- function Ue(e, t) {
1080
- return t.clone !== !1 && t.isMergeableObject(e) ? xe(ci(e), e, t) : e;
1079
+ function Fe(e, t) {
1080
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ce(di(e), e, t) : e;
1081
1081
  }
1082
- function di(e, t, r) {
1082
+ function mi(e, t, r) {
1083
1083
  return e.concat(t).map(function(n) {
1084
- return Ue(n, r);
1084
+ return Fe(n, r);
1085
1085
  });
1086
1086
  }
1087
- function mi(e, t) {
1087
+ function bi(e, t) {
1088
1088
  if (!t.customMerge)
1089
- return xe;
1089
+ return Ce;
1090
1090
  var r = t.customMerge(e);
1091
- return typeof r == "function" ? r : xe;
1091
+ return typeof r == "function" ? r : Ce;
1092
1092
  }
1093
- function bi(e) {
1093
+ function pi(e) {
1094
1094
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1095
1095
  return Object.propertyIsEnumerable.call(e, t);
1096
1096
  }) : [];
1097
1097
  }
1098
- function or(e) {
1099
- return Object.keys(e).concat(bi(e));
1098
+ function ar(e) {
1099
+ return Object.keys(e).concat(pi(e));
1100
1100
  }
1101
- function Gr(e, t) {
1101
+ function jr(e, t) {
1102
1102
  try {
1103
1103
  return t in e;
1104
1104
  } catch (r) {
1105
1105
  return !1;
1106
1106
  }
1107
1107
  }
1108
- function pi(e, t) {
1109
- return Gr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1108
+ function gi(e, t) {
1109
+ return jr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1110
1110
  }
1111
- function gi(e, t, r) {
1111
+ function vi(e, t, r) {
1112
1112
  var n = {};
1113
- return r.isMergeableObject(e) && or(e).forEach(function(i) {
1114
- n[i] = Ue(e[i], r);
1115
- }), or(t).forEach(function(i) {
1116
- pi(e, i) || (Gr(e, i) && r.isMergeableObject(t[i]) ? n[i] = mi(i, r)(e[i], t[i], r) : n[i] = Ue(t[i], r));
1113
+ return r.isMergeableObject(e) && ar(e).forEach(function(i) {
1114
+ n[i] = Fe(e[i], r);
1115
+ }), ar(t).forEach(function(i) {
1116
+ gi(e, i) || (jr(e, i) && r.isMergeableObject(t[i]) ? n[i] = bi(i, r)(e[i], t[i], r) : n[i] = Fe(t[i], r));
1117
1117
  }), n;
1118
1118
  }
1119
- function xe(e, t, r) {
1120
- r = r || {}, r.arrayMerge = r.arrayMerge || di, r.isMergeableObject = r.isMergeableObject || ai, r.cloneUnlessOtherwiseSpecified = Ue;
1119
+ function Ce(e, t, r) {
1120
+ r = r || {}, r.arrayMerge = r.arrayMerge || mi, r.isMergeableObject = r.isMergeableObject || si, r.cloneUnlessOtherwiseSpecified = Fe;
1121
1121
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1122
- return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) : Ue(t, r);
1122
+ return o ? n ? r.arrayMerge(e, t, r) : vi(e, t, r) : Fe(t, r);
1123
1123
  }
1124
- xe.all = function(t, r) {
1124
+ Ce.all = function(t, r) {
1125
1125
  if (!Array.isArray(t))
1126
1126
  throw new Error("first argument should be an array");
1127
1127
  return t.reduce(function(n, i) {
1128
- return xe(n, i, r);
1128
+ return Ce(n, i, r);
1129
1129
  }, {});
1130
1130
  };
1131
- var vi = xe, yi = vi;
1132
- const wi = /* @__PURE__ */ oi(yi);
1133
- var Mt = function(e, t) {
1134
- return Mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1131
+ var yi = Ce, wi = yi;
1132
+ const _i = /* @__PURE__ */ ai(wi);
1133
+ var Rt = function(e, t) {
1134
+ return Rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1135
1135
  r.__proto__ = n;
1136
1136
  } || function(r, n) {
1137
1137
  for (var i in n)
1138
1138
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1139
- }, Mt(e, t);
1139
+ }, Rt(e, t);
1140
1140
  };
1141
- function ot(e, t) {
1141
+ function st(e, t) {
1142
1142
  if (typeof t != "function" && t !== null)
1143
1143
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1144
- Mt(e, t);
1144
+ Rt(e, t);
1145
1145
  function r() {
1146
1146
  this.constructor = e;
1147
1147
  }
1148
1148
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1149
1149
  }
1150
- var re = function() {
1151
- return re = Object.assign || function(t) {
1150
+ var ne = function() {
1151
+ return ne = Object.assign || function(t) {
1152
1152
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1153
1153
  r = arguments[n];
1154
1154
  for (var o in r)
1155
1155
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1156
1156
  }
1157
1157
  return t;
1158
- }, re.apply(this, arguments);
1158
+ }, ne.apply(this, arguments);
1159
1159
  };
1160
- function _i(e, t) {
1160
+ function Ei(e, t) {
1161
1161
  var r = {};
1162
1162
  for (var n in e)
1163
1163
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1166,43 +1166,43 @@ function _i(e, t) {
1166
1166
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1167
1167
  return r;
1168
1168
  }
1169
- function pt(e, t, r) {
1169
+ function gt(e, t, r) {
1170
1170
  if (r || arguments.length === 2)
1171
1171
  for (var n = 0, i = t.length, o; n < i; n++)
1172
1172
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1173
1173
  return e.concat(o || Array.prototype.slice.call(t));
1174
1174
  }
1175
- function gt(e, t) {
1176
- var r = t && t.cache ? t.cache : Oi, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : xi;
1175
+ function vt(e, t) {
1176
+ var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : Ci, i = t && t.strategy ? t.strategy : Bi;
1177
1177
  return i(e, {
1178
1178
  cache: r,
1179
1179
  serializer: n
1180
1180
  });
1181
1181
  }
1182
- function Ei(e) {
1182
+ function Ti(e) {
1183
1183
  return e == null || typeof e == "number" || typeof e == "boolean";
1184
1184
  }
1185
- function Ti(e, t, r, n) {
1186
- var i = Ei(n) ? n : r(n), o = t.get(i);
1185
+ function xi(e, t, r, n) {
1186
+ var i = Ti(n) ? n : r(n), o = t.get(i);
1187
1187
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1188
1188
  }
1189
- function jr(e, t, r) {
1189
+ function Wr(e, t, r) {
1190
1190
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1191
1191
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1192
1192
  }
1193
- function Wr(e, t, r, n, i) {
1193
+ function Vr(e, t, r, n, i) {
1194
1194
  return r.bind(t, e, n, i);
1195
1195
  }
1196
- function xi(e, t) {
1197
- var r = e.length === 1 ? Ti : jr;
1198
- return Wr(e, this, r, t.cache.create(), t.serializer);
1199
- }
1200
1196
  function Bi(e, t) {
1201
- return Wr(e, this, jr, t.cache.create(), t.serializer);
1197
+ var r = e.length === 1 ? xi : Wr;
1198
+ return Vr(e, this, r, t.cache.create(), t.serializer);
1202
1199
  }
1203
- var Si = function() {
1200
+ function Si(e, t) {
1201
+ return Vr(e, this, Wr, t.cache.create(), t.serializer);
1202
+ }
1203
+ var Ci = function() {
1204
1204
  return JSON.stringify(arguments);
1205
- }, Ci = (
1205
+ }, Oi = (
1206
1206
  /** @class */
1207
1207
  function() {
1208
1208
  function e() {
@@ -1214,21 +1214,21 @@ var Si = function() {
1214
1214
  this.cache[t] = r;
1215
1215
  }, e;
1216
1216
  }()
1217
- ), Oi = {
1217
+ ), Pi = {
1218
1218
  create: function() {
1219
- return new Ci();
1219
+ return new Oi();
1220
1220
  }
1221
- }, vt = {
1222
- variadic: Bi
1223
- }, Ze = function() {
1224
- return Ze = Object.assign || function(t) {
1221
+ }, yt = {
1222
+ variadic: Si
1223
+ }, Ke = function() {
1224
+ return Ke = Object.assign || function(t) {
1225
1225
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1226
1226
  r = arguments[n];
1227
1227
  for (var o in r)
1228
1228
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1229
1229
  }
1230
1230
  return t;
1231
- }, Ze.apply(this, arguments);
1231
+ }, Ke.apply(this, arguments);
1232
1232
  };
1233
1233
  var w;
1234
1234
  (function(e) {
@@ -1238,47 +1238,47 @@ var O;
1238
1238
  (function(e) {
1239
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";
1240
1240
  })(O || (O = {}));
1241
- var Be;
1241
+ var Oe;
1242
1242
  (function(e) {
1243
1243
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1244
- })(Be || (Be = {}));
1245
- function ar(e) {
1244
+ })(Oe || (Oe = {}));
1245
+ function sr(e) {
1246
1246
  return e.type === O.literal;
1247
1247
  }
1248
- function Pi(e) {
1248
+ function Ai(e) {
1249
1249
  return e.type === O.argument;
1250
1250
  }
1251
- function Vr(e) {
1251
+ function Yr(e) {
1252
1252
  return e.type === O.number;
1253
1253
  }
1254
- function Yr(e) {
1254
+ function Xr(e) {
1255
1255
  return e.type === O.date;
1256
1256
  }
1257
- function Xr(e) {
1257
+ function qr(e) {
1258
1258
  return e.type === O.time;
1259
1259
  }
1260
- function qr(e) {
1260
+ function zr(e) {
1261
1261
  return e.type === O.select;
1262
1262
  }
1263
- function zr(e) {
1263
+ function Qr(e) {
1264
1264
  return e.type === O.plural;
1265
1265
  }
1266
- function Ai(e) {
1266
+ function Hi(e) {
1267
1267
  return e.type === O.pound;
1268
1268
  }
1269
- function Qr(e) {
1269
+ function Zr(e) {
1270
1270
  return e.type === O.tag;
1271
1271
  }
1272
- function Zr(e) {
1273
- return !!(e && typeof e == "object" && e.type === Be.number);
1272
+ function Jr(e) {
1273
+ return !!(e && typeof e == "object" && e.type === Oe.number);
1274
1274
  }
1275
- function Rt(e) {
1276
- return !!(e && typeof e == "object" && e.type === Be.dateTime);
1275
+ function Nt(e) {
1276
+ return !!(e && typeof e == "object" && e.type === Oe.dateTime);
1277
1277
  }
1278
- var Jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hi = /(?:[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 Mi(e) {
1278
+ var Kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mi = /(?:[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 Ri(e) {
1280
1280
  var t = {};
1281
- return e.replace(Hi, function(r) {
1281
+ return e.replace(Mi, function(r) {
1282
1282
  var n = r.length;
1283
1283
  switch (r[0]) {
1284
1284
  case "G":
@@ -1377,11 +1377,11 @@ var H = function() {
1377
1377
  return t;
1378
1378
  }, H.apply(this, arguments);
1379
1379
  };
1380
- var Ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1381
- function Ni(e) {
1380
+ var Ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1381
+ function Di(e) {
1382
1382
  if (e.length === 0)
1383
1383
  throw new Error("Number skeleton cannot be empty");
1384
- for (var t = e.split(Ri).filter(function(f) {
1384
+ for (var t = e.split(Ni).filter(function(f) {
1385
1385
  return f.length > 0;
1386
1386
  }), r = [], n = 0, i = t; n < i.length; n++) {
1387
1387
  var o = i[n], a = o.split("/");
@@ -1396,17 +1396,17 @@ function Ni(e) {
1396
1396
  }
1397
1397
  return r;
1398
1398
  }
1399
- function Di(e) {
1399
+ function Ii(e) {
1400
1400
  return e.replace(/^(.*?)-/, "");
1401
1401
  }
1402
- var sr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kr = /^(@+)?(\+|#+)?[rs]?$/g, Ii = /(\*)(0+)|(#+)(0+)|(0+)/g, en = /^(0+)$/;
1403
- function ur(e) {
1402
+ var ur = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, en = /^(@+)?(\+|#+)?[rs]?$/g, Li = /(\*)(0+)|(#+)(0+)|(0+)/g, tn = /^(0+)$/;
1403
+ function lr(e) {
1404
1404
  var t = {};
1405
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kr, function(r, n, i) {
1405
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(en, function(r, n, i) {
1406
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)), "";
1407
1407
  }), t;
1408
1408
  }
1409
- function tn(e) {
1409
+ function rn(e) {
1410
1410
  switch (e) {
1411
1411
  case "sign-auto":
1412
1412
  return {
@@ -1446,7 +1446,7 @@ function tn(e) {
1446
1446
  };
1447
1447
  }
1448
1448
  }
1449
- function Li(e) {
1449
+ function Ui(e) {
1450
1450
  var t;
1451
1451
  if (e[0] === "E" && e[1] === "E" ? (t = {
1452
1452
  notation: "engineering"
@@ -1454,17 +1454,17 @@ function Li(e) {
1454
1454
  notation: "scientific"
1455
1455
  }, e = e.slice(1)), t) {
1456
1456
  var r = e.slice(0, 2);
1457
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !en.test(e))
1457
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tn.test(e))
1458
1458
  throw new Error("Malformed concise eng/scientific notation");
1459
1459
  t.minimumIntegerDigits = e.length;
1460
1460
  }
1461
1461
  return t;
1462
1462
  }
1463
- function lr(e) {
1464
- var t = {}, r = tn(e);
1463
+ function hr(e) {
1464
+ var t = {}, r = rn(e);
1465
1465
  return r || t;
1466
1466
  }
1467
- function Ui(e) {
1467
+ function ki(e) {
1468
1468
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1469
1469
  var i = n[r];
1470
1470
  switch (i.stem) {
@@ -1488,7 +1488,7 @@ function Ui(e) {
1488
1488
  continue;
1489
1489
  case "measure-unit":
1490
1490
  case "unit":
1491
- t.style = "unit", t.unit = Di(i.options[0]);
1491
+ t.style = "unit", t.unit = Ii(i.options[0]);
1492
1492
  continue;
1493
1493
  case "compact-short":
1494
1494
  case "K":
@@ -1500,12 +1500,12 @@ function Ui(e) {
1500
1500
  continue;
1501
1501
  case "scientific":
1502
1502
  t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1503
- return H(H({}, l), lr(u));
1503
+ return H(H({}, l), hr(u));
1504
1504
  }, {}));
1505
1505
  continue;
1506
1506
  case "engineering":
1507
1507
  t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1508
- return H(H({}, l), lr(u));
1508
+ return H(H({}, l), hr(u));
1509
1509
  }, {}));
1510
1510
  continue;
1511
1511
  case "notation-simple":
@@ -1550,7 +1550,7 @@ function Ui(e) {
1550
1550
  case "integer-width":
1551
1551
  if (i.options.length > 1)
1552
1552
  throw new RangeError("integer-width stems only accept a single optional option");
1553
- i.options[0].replace(Ii, function(l, u, h, c, f, d) {
1553
+ i.options[0].replace(Li, function(l, u, h, c, f, d) {
1554
1554
  if (u)
1555
1555
  t.minimumIntegerDigits = h.length;
1556
1556
  else {
@@ -1563,32 +1563,32 @@ function Ui(e) {
1563
1563
  });
1564
1564
  continue;
1565
1565
  }
1566
- if (en.test(i.stem)) {
1566
+ if (tn.test(i.stem)) {
1567
1567
  t.minimumIntegerDigits = i.stem.length;
1568
1568
  continue;
1569
1569
  }
1570
- if (sr.test(i.stem)) {
1570
+ if (ur.test(i.stem)) {
1571
1571
  if (i.options.length > 1)
1572
1572
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1573
- i.stem.replace(sr, function(l, u, h, c, f, d) {
1573
+ i.stem.replace(ur, function(l, u, h, c, f, d) {
1574
1574
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1575
1575
  });
1576
1576
  var o = i.options[0];
1577
- o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), ur(o)));
1577
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), lr(o)));
1578
1578
  continue;
1579
1579
  }
1580
- if (Kr.test(i.stem)) {
1581
- t = H(H({}, t), ur(i.stem));
1580
+ if (en.test(i.stem)) {
1581
+ t = H(H({}, t), lr(i.stem));
1582
1582
  continue;
1583
1583
  }
1584
- var a = tn(i.stem);
1584
+ var a = rn(i.stem);
1585
1585
  a && (t = H(H({}, t), a));
1586
- var s = Li(i.stem);
1586
+ var s = Ui(i.stem);
1587
1587
  s && (t = H(H({}, t), s));
1588
1588
  }
1589
1589
  return t;
1590
1590
  }
1591
- var Ye = {
1591
+ var qe = {
1592
1592
  "001": [
1593
1593
  "H",
1594
1594
  "h"
@@ -3003,13 +3003,13 @@ var Ye = {
3003
3003
  "h"
3004
3004
  ]
3005
3005
  };
3006
- function ki(e, t) {
3006
+ function Fi(e, t) {
3007
3007
  for (var r = "", n = 0; n < e.length; n++) {
3008
3008
  var i = e.charAt(n);
3009
3009
  if (i === "j") {
3010
3010
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3011
3011
  o++, n++;
3012
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fi(t);
3012
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = $i(t);
3013
3013
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3014
3014
  r += l;
3015
3015
  for (; a-- > 0; )
@@ -3019,7 +3019,7 @@ function ki(e, t) {
3019
3019
  }
3020
3020
  return r;
3021
3021
  }
3022
- function Fi(e) {
3022
+ function $i(e) {
3023
3023
  var t = e.hourCycle;
3024
3024
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3025
3025
  e.hourCycles && // @ts-ignore
@@ -3038,23 +3038,23 @@ function Fi(e) {
3038
3038
  }
3039
3039
  var r = e.language, n;
3040
3040
  r !== "root" && (n = e.maximize().region);
3041
- var i = Ye[n || ""] || Ye[r || ""] || Ye["".concat(r, "-001")] || Ye["001"];
3041
+ var i = qe[n || ""] || qe[r || ""] || qe["".concat(r, "-001")] || qe["001"];
3042
3042
  return i[0];
3043
3043
  }
3044
- var yt, $i = new RegExp("^".concat(Jr.source, "*")), Gi = new RegExp("".concat(Jr.source, "*$"));
3044
+ var wt, Gi = new RegExp("^".concat(Kr.source, "*")), ji = new RegExp("".concat(Kr.source, "*$"));
3045
3045
  function _(e, t) {
3046
3046
  return { start: e, end: t };
3047
3047
  }
3048
- var ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wi = !!String.fromCodePoint, Vi = !!Object.fromEntries, Yi = !!String.prototype.codePointAt, Xi = !!String.prototype.trimStart, qi = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Qi = zi ? Number.isSafeInteger : function(e) {
3048
+ var Wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vi = !!String.fromCodePoint, Yi = !!Object.fromEntries, Xi = !!String.prototype.codePointAt, qi = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Qi = !!Number.isSafeInteger, Zi = Qi ? Number.isSafeInteger : function(e) {
3049
3049
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3050
- }, Nt = !0;
3050
+ }, Dt = !0;
3051
3051
  try {
3052
- var Zi = nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3053
- Nt = ((yt = Zi.exec("a")) === null || yt === void 0 ? void 0 : yt[0]) === "a";
3052
+ var Ji = on("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3053
+ Dt = ((wt = Ji.exec("a")) === null || wt === void 0 ? void 0 : wt[0]) === "a";
3054
3054
  } catch (e) {
3055
- Nt = !1;
3055
+ Dt = !1;
3056
3056
  }
3057
- var hr = ji ? (
3057
+ var fr = Wi ? (
3058
3058
  // Native
3059
3059
  function(t, r, n) {
3060
3060
  return t.startsWith(r, n);
@@ -3064,7 +3064,7 @@ var hr = ji ? (
3064
3064
  function(t, r, n) {
3065
3065
  return t.slice(n, n + r.length) === r;
3066
3066
  }
3067
- ), Dt = Wi ? String.fromCodePoint : (
3067
+ ), It = Vi ? String.fromCodePoint : (
3068
3068
  // IE11
3069
3069
  function() {
3070
3070
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3076,9 +3076,9 @@ var hr = ji ? (
3076
3076
  }
3077
3077
  return n;
3078
3078
  }
3079
- ), fr = (
3079
+ ), cr = (
3080
3080
  // native
3081
- Vi ? Object.fromEntries : (
3081
+ Yi ? Object.fromEntries : (
3082
3082
  // Ponyfill
3083
3083
  function(t) {
3084
3084
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3088,7 +3088,7 @@ var hr = ji ? (
3088
3088
  return r;
3089
3089
  }
3090
3090
  )
3091
- ), rn = Yi ? (
3091
+ ), nn = Xi ? (
3092
3092
  // Native
3093
3093
  function(t, r) {
3094
3094
  return t.codePointAt(r);
@@ -3102,7 +3102,7 @@ var hr = ji ? (
3102
3102
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3103
3103
  }
3104
3104
  }
3105
- ), Ji = Xi ? (
3105
+ ), Ki = qi ? (
3106
3106
  // Native
3107
3107
  function(t) {
3108
3108
  return t.trimStart();
@@ -3110,9 +3110,9 @@ var hr = ji ? (
3110
3110
  ) : (
3111
3111
  // Ponyfill
3112
3112
  function(t) {
3113
- return t.replace($i, "");
3113
+ return t.replace(Gi, "");
3114
3114
  }
3115
- ), Ki = qi ? (
3115
+ ), eo = zi ? (
3116
3116
  // Native
3117
3117
  function(t) {
3118
3118
  return t.trimEnd();
@@ -3120,32 +3120,32 @@ var hr = ji ? (
3120
3120
  ) : (
3121
3121
  // Ponyfill
3122
3122
  function(t) {
3123
- return t.replace(Gi, "");
3123
+ return t.replace(ji, "");
3124
3124
  }
3125
3125
  );
3126
- function nn(e, t) {
3126
+ function on(e, t) {
3127
3127
  return new RegExp(e, t);
3128
3128
  }
3129
- var It;
3130
- if (Nt) {
3131
- var cr = nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3132
- It = function(t, r) {
3129
+ var Lt;
3130
+ if (Dt) {
3131
+ var dr = on("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3132
+ Lt = function(t, r) {
3133
3133
  var n;
3134
- cr.lastIndex = r;
3135
- var i = cr.exec(t);
3134
+ dr.lastIndex = r;
3135
+ var i = dr.exec(t);
3136
3136
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3137
3137
  };
3138
3138
  } else
3139
- It = function(t, r) {
3139
+ Lt = function(t, r) {
3140
3140
  for (var n = []; ; ) {
3141
- var i = rn(t, r);
3142
- if (i === void 0 || on(i) || no(i))
3141
+ var i = nn(t, r);
3142
+ if (i === void 0 || an(i) || io(i))
3143
3143
  break;
3144
3144
  n.push(i), r += i >= 65536 ? 2 : 1;
3145
3145
  }
3146
- return Dt.apply(void 0, n);
3146
+ return It.apply(void 0, n);
3147
3147
  };
3148
- var eo = (
3148
+ var to = (
3149
3149
  /** @class */
3150
3150
  function() {
3151
3151
  function e(t, r) {
@@ -3176,7 +3176,7 @@ var eo = (
3176
3176
  if (n)
3177
3177
  break;
3178
3178
  return this.error(w.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3179
- } else if (o === 60 && !this.ignoreTag && Lt(this.peek() || 0)) {
3179
+ } else if (o === 60 && !this.ignoreTag && Ut(this.peek() || 0)) {
3180
3180
  var a = this.parseTag(t, r);
3181
3181
  if (a.err)
3182
3182
  return a;
@@ -3209,7 +3209,7 @@ var eo = (
3209
3209
  return o;
3210
3210
  var a = o.val, s = this.clonePosition();
3211
3211
  if (this.bumpIf("</")) {
3212
- if (this.isEOF() || !Lt(this.char()))
3212
+ if (this.isEOF() || !Ut(this.char()))
3213
3213
  return this.error(w.INVALID_TAG, _(s, this.clonePosition()));
3214
3214
  var l = this.clonePosition(), u = this.parseTagName();
3215
3215
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3227,7 +3227,7 @@ var eo = (
3227
3227
  return this.error(w.INVALID_TAG, _(n, this.clonePosition()));
3228
3228
  }, e.prototype.parseTagName = function() {
3229
3229
  var t = this.offset();
3230
- for (this.bump(); !this.isEOF() && ro(this.char()); )
3230
+ for (this.bump(); !this.isEOF() && no(this.char()); )
3231
3231
  this.bump();
3232
3232
  return this.message.slice(t, this.offset());
3233
3233
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3256,7 +3256,7 @@ var eo = (
3256
3256
  };
3257
3257
  }, e.prototype.tryParseLeftAngleBracket = function() {
3258
3258
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3259
- !to(this.peek() || 0)) ? (this.bump(), "<") : null;
3259
+ !ro(this.peek() || 0)) ? (this.bump(), "<") : null;
3260
3260
  }, e.prototype.tryParseQuote = function(t) {
3261
3261
  if (this.isEOF() || this.char() !== 39)
3262
3262
  return null;
@@ -3290,12 +3290,12 @@ var eo = (
3290
3290
  r.push(n);
3291
3291
  this.bump();
3292
3292
  }
3293
- return Dt.apply(void 0, r);
3293
+ return It.apply(void 0, r);
3294
3294
  }, e.prototype.tryParseUnquoted = function(t, r) {
3295
3295
  if (this.isEOF())
3296
3296
  return null;
3297
3297
  var n = this.char();
3298
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Dt(n));
3298
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), It(n));
3299
3299
  }, e.prototype.parseArgument = function(t, r) {
3300
3300
  var n = this.clonePosition();
3301
3301
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3324,7 +3324,7 @@ var eo = (
3324
3324
  return this.error(w.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3325
3325
  }
3326
3326
  }, e.prototype.parseIdentifierIfPossible = function() {
3327
- var t = this.clonePosition(), r = this.offset(), n = It(this.message, r), i = r + n.length;
3327
+ var t = this.clonePosition(), r = this.offset(), n = Lt(this.message, r), i = r + n.length;
3328
3328
  this.bumpTo(i);
3329
3329
  var o = this.clonePosition(), a = _(t, o);
3330
3330
  return { value: n, location: a };
@@ -3343,7 +3343,7 @@ var eo = (
3343
3343
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3344
3344
  if (c.err)
3345
3345
  return c;
3346
- var f = Ki(c.val);
3346
+ var f = eo(c.val);
3347
3347
  if (f.length === 0)
3348
3348
  return this.error(w.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3349
3349
  var d = _(h, this.clonePosition());
@@ -3353,8 +3353,8 @@ var eo = (
3353
3353
  if (v.err)
3354
3354
  return v;
3355
3355
  var y = _(i, this.clonePosition());
3356
- if (u && hr(u == null ? void 0 : u.style, "::", 0)) {
3357
- var B = Ji(u.style.slice(2));
3356
+ if (u && fr(u == null ? void 0 : u.style, "::", 0)) {
3357
+ var B = Ki(u.style.slice(2));
3358
3358
  if (s === "number") {
3359
3359
  var c = this.parseNumberSkeletonFromString(B, u.styleLocation);
3360
3360
  return c.err ? c : {
@@ -3365,12 +3365,12 @@ var eo = (
3365
3365
  if (B.length === 0)
3366
3366
  return this.error(w.EXPECT_DATE_TIME_SKELETON, y);
3367
3367
  var U = B;
3368
- this.locale && (U = ki(B, this.locale));
3368
+ this.locale && (U = Fi(B, this.locale));
3369
3369
  var f = {
3370
- type: Be.dateTime,
3370
+ type: Oe.dateTime,
3371
3371
  pattern: U,
3372
3372
  location: u.styleLocation,
3373
- parsedOptions: this.shouldParseSkeletons ? Mi(U) : {}
3373
+ parsedOptions: this.shouldParseSkeletons ? Ri(U) : {}
3374
3374
  }, N = s === "date" ? O.date : O.time;
3375
3375
  return {
3376
3376
  val: { type: N, value: n, location: y, style: f },
@@ -3393,7 +3393,7 @@ var eo = (
3393
3393
  case "select": {
3394
3394
  var S = this.clonePosition();
3395
3395
  if (this.bumpSpace(), !this.bumpIf(","))
3396
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Ze({}, S)));
3396
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Ke({}, S)));
3397
3397
  this.bumpSpace();
3398
3398
  var A = this.parseIdentifierIfPossible(), D = 0;
3399
3399
  if (s !== "select" && A.value === "offset") {
@@ -3416,7 +3416,7 @@ var eo = (
3416
3416
  val: {
3417
3417
  type: O.select,
3418
3418
  value: n,
3419
- options: fr(L.val),
3419
+ options: cr(L.val),
3420
3420
  location: J
3421
3421
  },
3422
3422
  err: null
@@ -3424,7 +3424,7 @@ var eo = (
3424
3424
  val: {
3425
3425
  type: O.plural,
3426
3426
  value: n,
3427
- options: fr(L.val),
3427
+ options: cr(L.val),
3428
3428
  offset: D,
3429
3429
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3430
3430
  location: J
@@ -3475,16 +3475,16 @@ var eo = (
3475
3475
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3476
3476
  var n = [];
3477
3477
  try {
3478
- n = Ni(t);
3478
+ n = Di(t);
3479
3479
  } catch (i) {
3480
3480
  return this.error(w.INVALID_NUMBER_SKELETON, r);
3481
3481
  }
3482
3482
  return {
3483
3483
  val: {
3484
- type: Be.number,
3484
+ type: Oe.number,
3485
3485
  tokens: n,
3486
3486
  location: r,
3487
- parsedOptions: this.shouldParseSkeletons ? Ui(n) : {}
3487
+ parsedOptions: this.shouldParseSkeletons ? ki(n) : {}
3488
3488
  },
3489
3489
  err: null
3490
3490
  };
@@ -3532,7 +3532,7 @@ var eo = (
3532
3532
  break;
3533
3533
  }
3534
3534
  var l = _(i, this.clonePosition());
3535
- return o ? (a *= n, Qi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3535
+ return o ? (a *= n, Zi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3536
3536
  }, e.prototype.offset = function() {
3537
3537
  return this.position.offset;
3538
3538
  }, e.prototype.isEOF = function() {
@@ -3547,7 +3547,7 @@ var eo = (
3547
3547
  var t = this.position.offset;
3548
3548
  if (t >= this.message.length)
3549
3549
  throw Error("out of bound");
3550
- var r = rn(this.message, t);
3550
+ var r = nn(this.message, t);
3551
3551
  if (r === void 0)
3552
3552
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3553
3553
  return r;
@@ -3566,7 +3566,7 @@ var eo = (
3566
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);
3567
3567
  }
3568
3568
  }, e.prototype.bumpIf = function(t) {
3569
- if (hr(this.message, t, this.offset())) {
3569
+ if (fr(this.message, t, this.offset())) {
3570
3570
  for (var r = 0; r < t.length; r++)
3571
3571
  this.bump();
3572
3572
  return !0;
@@ -3588,7 +3588,7 @@ var eo = (
3588
3588
  break;
3589
3589
  }
3590
3590
  }, e.prototype.bumpSpace = function() {
3591
- for (; !this.isEOF() && on(this.char()); )
3591
+ for (; !this.isEOF() && an(this.char()); )
3592
3592
  this.bump();
3593
3593
  }, e.prototype.peek = function() {
3594
3594
  if (this.isEOF())
@@ -3598,47 +3598,47 @@ var eo = (
3598
3598
  }, e;
3599
3599
  }()
3600
3600
  );
3601
- function Lt(e) {
3601
+ function Ut(e) {
3602
3602
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3603
3603
  }
3604
- function to(e) {
3605
- return Lt(e) || e === 47;
3606
- }
3607
3604
  function ro(e) {
3605
+ return Ut(e) || e === 47;
3606
+ }
3607
+ function no(e) {
3608
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;
3609
3609
  }
3610
- function on(e) {
3610
+ function an(e) {
3611
3611
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3612
3612
  }
3613
- function no(e) {
3613
+ function io(e) {
3614
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;
3615
3615
  }
3616
- function Ut(e) {
3616
+ function kt(e) {
3617
3617
  e.forEach(function(t) {
3618
- if (delete t.location, qr(t) || zr(t))
3618
+ if (delete t.location, zr(t) || Qr(t))
3619
3619
  for (var r in t.options)
3620
- delete t.options[r].location, Ut(t.options[r].value);
3620
+ delete t.options[r].location, kt(t.options[r].value);
3621
3621
  else
3622
- Vr(t) && Zr(t.style) || (Yr(t) || Xr(t)) && Rt(t.style) ? delete t.style.location : Qr(t) && Ut(t.children);
3622
+ Yr(t) && Jr(t.style) || (Xr(t) || qr(t)) && Nt(t.style) ? delete t.style.location : Zr(t) && kt(t.children);
3623
3623
  });
3624
3624
  }
3625
- function io(e, t) {
3626
- t === void 0 && (t = {}), t = Ze({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3627
- var r = new eo(e, t).parse();
3625
+ function oo(e, t) {
3626
+ t === void 0 && (t = {}), t = Ke({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3627
+ var r = new to(e, t).parse();
3628
3628
  if (r.err) {
3629
3629
  var n = SyntaxError(w[r.err.kind]);
3630
3630
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3631
3631
  }
3632
- return t != null && t.captureLocation || Ut(r.val), r.val;
3632
+ return t != null && t.captureLocation || kt(r.val), r.val;
3633
3633
  }
3634
- var Se;
3634
+ var Pe;
3635
3635
  (function(e) {
3636
3636
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3637
- })(Se || (Se = {}));
3638
- var at = (
3637
+ })(Pe || (Pe = {}));
3638
+ var ut = (
3639
3639
  /** @class */
3640
3640
  function(e) {
3641
- ot(t, e);
3641
+ st(t, e);
3642
3642
  function t(r, n, i) {
3643
3643
  var o = e.call(this, r) || this;
3644
3644
  return o.code = n, o.originalMessage = i, o;
@@ -3647,48 +3647,48 @@ var at = (
3647
3647
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3648
3648
  }, t;
3649
3649
  }(Error)
3650
- ), dr = (
3650
+ ), mr = (
3651
3651
  /** @class */
3652
3652
  function(e) {
3653
- ot(t, e);
3653
+ st(t, e);
3654
3654
  function t(r, n, i, o) {
3655
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Se.INVALID_VALUE, o) || this;
3655
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Pe.INVALID_VALUE, o) || this;
3656
3656
  }
3657
3657
  return t;
3658
- }(at)
3659
- ), oo = (
3658
+ }(ut)
3659
+ ), ao = (
3660
3660
  /** @class */
3661
3661
  function(e) {
3662
- ot(t, e);
3662
+ st(t, e);
3663
3663
  function t(r, n, i) {
3664
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Se.INVALID_VALUE, i) || this;
3664
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Pe.INVALID_VALUE, i) || this;
3665
3665
  }
3666
3666
  return t;
3667
- }(at)
3668
- ), ao = (
3667
+ }(ut)
3668
+ ), so = (
3669
3669
  /** @class */
3670
3670
  function(e) {
3671
- ot(t, e);
3671
+ st(t, e);
3672
3672
  function t(r, n) {
3673
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Se.MISSING_VALUE, n) || this;
3673
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Pe.MISSING_VALUE, n) || this;
3674
3674
  }
3675
3675
  return t;
3676
- }(at)
3676
+ }(ut)
3677
3677
  ), k;
3678
3678
  (function(e) {
3679
3679
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3680
3680
  })(k || (k = {}));
3681
- function so(e) {
3681
+ function uo(e) {
3682
3682
  return e.length < 2 ? e : e.reduce(function(t, r) {
3683
3683
  var n = t[t.length - 1];
3684
3684
  return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
3685
3685
  }, []);
3686
3686
  }
3687
- function uo(e) {
3687
+ function lo(e) {
3688
3688
  return typeof e == "function";
3689
3689
  }
3690
- function ze(e, t, r, n, i, o, a) {
3691
- if (e.length === 1 && ar(e[0]))
3690
+ function Ze(e, t, r, n, i, o, a) {
3691
+ if (e.length === 1 && sr(e[0]))
3692
3692
  return [
3693
3693
  {
3694
3694
  type: k.literal,
@@ -3697,14 +3697,14 @@ function ze(e, t, r, n, i, o, a) {
3697
3697
  ];
3698
3698
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3699
3699
  var h = u[l];
3700
- if (ar(h)) {
3700
+ if (sr(h)) {
3701
3701
  s.push({
3702
3702
  type: k.literal,
3703
3703
  value: h.value
3704
3704
  });
3705
3705
  continue;
3706
3706
  }
3707
- if (Ai(h)) {
3707
+ if (Hi(h)) {
3708
3708
  typeof o == "number" && s.push({
3709
3709
  type: k.literal,
3710
3710
  value: r.getNumberFormat(t).format(o)
@@ -3713,44 +3713,44 @@ function ze(e, t, r, n, i, o, a) {
3713
3713
  }
3714
3714
  var c = h.value;
3715
3715
  if (!(i && c in i))
3716
- throw new ao(c, a);
3716
+ throw new so(c, a);
3717
3717
  var f = i[c];
3718
- if (Pi(h)) {
3718
+ if (Ai(h)) {
3719
3719
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3720
3720
  type: typeof f == "string" ? k.literal : k.object,
3721
3721
  value: f
3722
3722
  });
3723
3723
  continue;
3724
3724
  }
3725
- if (Yr(h)) {
3726
- var d = typeof h.style == "string" ? n.date[h.style] : Rt(h.style) ? h.style.parsedOptions : void 0;
3725
+ if (Xr(h)) {
3726
+ var d = typeof h.style == "string" ? n.date[h.style] : Nt(h.style) ? h.style.parsedOptions : void 0;
3727
3727
  s.push({
3728
3728
  type: k.literal,
3729
3729
  value: r.getDateTimeFormat(t, d).format(f)
3730
3730
  });
3731
3731
  continue;
3732
3732
  }
3733
- if (Xr(h)) {
3734
- var d = typeof h.style == "string" ? n.time[h.style] : Rt(h.style) ? h.style.parsedOptions : n.time.medium;
3733
+ if (qr(h)) {
3734
+ var d = typeof h.style == "string" ? n.time[h.style] : Nt(h.style) ? h.style.parsedOptions : n.time.medium;
3735
3735
  s.push({
3736
3736
  type: k.literal,
3737
3737
  value: r.getDateTimeFormat(t, d).format(f)
3738
3738
  });
3739
3739
  continue;
3740
3740
  }
3741
- if (Vr(h)) {
3742
- var d = typeof h.style == "string" ? n.number[h.style] : Zr(h.style) ? h.style.parsedOptions : void 0;
3741
+ if (Yr(h)) {
3742
+ var d = typeof h.style == "string" ? n.number[h.style] : Jr(h.style) ? h.style.parsedOptions : void 0;
3743
3743
  d && d.scale && (f = f * (d.scale || 1)), s.push({
3744
3744
  type: k.literal,
3745
3745
  value: r.getNumberFormat(t, d).format(f)
3746
3746
  });
3747
3747
  continue;
3748
3748
  }
3749
- if (Qr(h)) {
3749
+ if (Zr(h)) {
3750
3750
  var v = h.children, y = h.value, B = i[y];
3751
- if (!uo(B))
3752
- throw new oo(y, "function", a);
3753
- var U = ze(v, t, r, n, i, o), N = B(U.map(function(D) {
3751
+ if (!lo(B))
3752
+ throw new ao(y, "function", a);
3753
+ var U = Ze(v, t, r, n, i, o), N = B(U.map(function(D) {
3754
3754
  return D.value;
3755
3755
  }));
3756
3756
  Array.isArray(N) || (N = [N]), s.push.apply(s, N.map(function(D) {
@@ -3760,42 +3760,42 @@ function ze(e, t, r, n, i, o, a) {
3760
3760
  };
3761
3761
  }));
3762
3762
  }
3763
- if (qr(h)) {
3763
+ if (zr(h)) {
3764
3764
  var S = h.options[f] || h.options.other;
3765
3765
  if (!S)
3766
- throw new dr(h.value, f, Object.keys(h.options), a);
3767
- s.push.apply(s, ze(S.value, t, r, n, i));
3766
+ throw new mr(h.value, f, Object.keys(h.options), a);
3767
+ s.push.apply(s, Ze(S.value, t, r, n, i));
3768
3768
  continue;
3769
3769
  }
3770
- if (zr(h)) {
3770
+ if (Qr(h)) {
3771
3771
  var S = h.options["=".concat(f)];
3772
3772
  if (!S) {
3773
3773
  if (!Intl.PluralRules)
3774
- throw new at(`Intl.PluralRules is not available in this environment.
3774
+ throw new ut(`Intl.PluralRules is not available in this environment.
3775
3775
  Try polyfilling it using "@formatjs/intl-pluralrules"
3776
- `, Se.MISSING_INTL_API, a);
3776
+ `, Pe.MISSING_INTL_API, a);
3777
3777
  var A = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3778
3778
  S = h.options[A] || h.options.other;
3779
3779
  }
3780
3780
  if (!S)
3781
- throw new dr(h.value, f, Object.keys(h.options), a);
3782
- s.push.apply(s, ze(S.value, t, r, n, i, f - (h.offset || 0)));
3781
+ throw new mr(h.value, f, Object.keys(h.options), a);
3782
+ s.push.apply(s, Ze(S.value, t, r, n, i, f - (h.offset || 0)));
3783
3783
  continue;
3784
3784
  }
3785
3785
  }
3786
- return so(s);
3786
+ return uo(s);
3787
3787
  }
3788
- function lo(e, t) {
3789
- return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3790
- return r[n] = re(re({}, e[n]), t[n] || {}), r;
3788
+ function ho(e, t) {
3789
+ return t ? ne(ne(ne({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3790
+ return r[n] = ne(ne({}, e[n]), t[n] || {}), r;
3791
3791
  }, {})) : e;
3792
3792
  }
3793
- function ho(e, t) {
3793
+ function fo(e, t) {
3794
3794
  return t ? Object.keys(e).reduce(function(r, n) {
3795
- return r[n] = lo(e[n], t[n]), r;
3796
- }, re({}, e)) : e;
3795
+ return r[n] = ho(e[n], t[n]), r;
3796
+ }, ne({}, e)) : e;
3797
3797
  }
3798
- function wt(e) {
3798
+ function _t(e) {
3799
3799
  return {
3800
3800
  create: function() {
3801
3801
  return {
@@ -3809,39 +3809,39 @@ function wt(e) {
3809
3809
  }
3810
3810
  };
3811
3811
  }
3812
- function fo(e) {
3812
+ function co(e) {
3813
3813
  return e === void 0 && (e = {
3814
3814
  number: {},
3815
3815
  dateTime: {},
3816
3816
  pluralRules: {}
3817
3817
  }), {
3818
- getNumberFormat: gt(function() {
3818
+ getNumberFormat: vt(function() {
3819
3819
  for (var t, r = [], n = 0; n < arguments.length; n++)
3820
3820
  r[n] = arguments[n];
3821
- return new ((t = Intl.NumberFormat).bind.apply(t, pt([void 0], r, !1)))();
3821
+ return new ((t = Intl.NumberFormat).bind.apply(t, gt([void 0], r, !1)))();
3822
3822
  }, {
3823
- cache: wt(e.number),
3824
- strategy: vt.variadic
3823
+ cache: _t(e.number),
3824
+ strategy: yt.variadic
3825
3825
  }),
3826
- getDateTimeFormat: gt(function() {
3826
+ getDateTimeFormat: vt(function() {
3827
3827
  for (var t, r = [], n = 0; n < arguments.length; n++)
3828
3828
  r[n] = arguments[n];
3829
- return new ((t = Intl.DateTimeFormat).bind.apply(t, pt([void 0], r, !1)))();
3829
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, gt([void 0], r, !1)))();
3830
3830
  }, {
3831
- cache: wt(e.dateTime),
3832
- strategy: vt.variadic
3831
+ cache: _t(e.dateTime),
3832
+ strategy: yt.variadic
3833
3833
  }),
3834
- getPluralRules: gt(function() {
3834
+ getPluralRules: vt(function() {
3835
3835
  for (var t, r = [], n = 0; n < arguments.length; n++)
3836
3836
  r[n] = arguments[n];
3837
- return new ((t = Intl.PluralRules).bind.apply(t, pt([void 0], r, !1)))();
3837
+ return new ((t = Intl.PluralRules).bind.apply(t, gt([void 0], r, !1)))();
3838
3838
  }, {
3839
- cache: wt(e.pluralRules),
3840
- strategy: vt.variadic
3839
+ cache: _t(e.pluralRules),
3840
+ strategy: yt.variadic
3841
3841
  })
3842
3842
  };
3843
3843
  }
3844
- var co = (
3844
+ var mo = (
3845
3845
  /** @class */
3846
3846
  function() {
3847
3847
  function e(t, r, n, i) {
@@ -3860,7 +3860,7 @@ var co = (
3860
3860
  }, []);
3861
3861
  return h.length <= 1 ? h[0] || "" : h;
3862
3862
  }, this.formatToParts = function(l) {
3863
- return ze(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3863
+ return Ze(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3864
3864
  }, this.resolvedOptions = function() {
3865
3865
  var l;
3866
3866
  return {
@@ -3873,13 +3873,13 @@ var co = (
3873
3873
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3874
3874
  var a = i || {};
3875
3875
  a.formatters;
3876
- var s = _i(a, ["formatters"]);
3877
- this.ast = e.__parse(t, re(re({}, s), { locale: this.resolvedLocale }));
3876
+ var s = Ei(a, ["formatters"]);
3877
+ this.ast = e.__parse(t, ne(ne({}, s), { locale: this.resolvedLocale }));
3878
3878
  } else
3879
3879
  this.ast = t;
3880
3880
  if (!Array.isArray(this.ast))
3881
3881
  throw new TypeError("A message must be provided as a String or AST.");
3882
- this.formats = ho(e.formats, n), this.formatters = i && i.formatters || fo(this.formatterCache);
3882
+ this.formats = fo(e.formats, n), this.formatters = i && i.formatters || co(this.formatterCache);
3883
3883
  }
3884
3884
  return Object.defineProperty(e, "defaultLocale", {
3885
3885
  get: function() {
@@ -3892,7 +3892,7 @@ var co = (
3892
3892
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3893
3893
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3894
3894
  }
3895
- }, e.__parse = io, e.formats = {
3895
+ }, e.__parse = oo, e.formats = {
3896
3896
  number: {
3897
3897
  integer: {
3898
3898
  maximumFractionDigits: 0
@@ -3953,7 +3953,7 @@ var co = (
3953
3953
  }, e;
3954
3954
  }()
3955
3955
  );
3956
- function mo(e, t) {
3956
+ function bo(e, t) {
3957
3957
  if (t == null)
3958
3958
  return;
3959
3959
  if (t in e)
@@ -3974,92 +3974,92 @@ function mo(e, t) {
3974
3974
  n = void 0;
3975
3975
  return n;
3976
3976
  }
3977
- const le = {}, bo = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), an = (e, t) => {
3977
+ const le = {}, po = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), sn = (e, t) => {
3978
3978
  if (t == null)
3979
3979
  return;
3980
3980
  if (t in le && e in le[t])
3981
3981
  return le[t][e];
3982
- const r = st(t);
3982
+ const r = lt(t);
3983
3983
  for (let n = 0; n < r.length; n++) {
3984
- const i = r[n], o = go(i, e);
3984
+ const i = r[n], o = vo(i, e);
3985
3985
  if (o)
3986
- return bo(e, t, o);
3986
+ return po(e, t, o);
3987
3987
  }
3988
3988
  };
3989
- let Gt;
3990
- const Ge = it({});
3991
- function po(e) {
3992
- return Gt[e] || null;
3989
+ let jt;
3990
+ const We = at({});
3991
+ function go(e) {
3992
+ return jt[e] || null;
3993
3993
  }
3994
- function sn(e) {
3995
- return e in Gt;
3994
+ function un(e) {
3995
+ return e in jt;
3996
3996
  }
3997
- function go(e, t) {
3998
- if (!sn(e))
3997
+ function vo(e, t) {
3998
+ if (!un(e))
3999
3999
  return null;
4000
- const r = po(e);
4001
- return mo(r, t);
4000
+ const r = go(e);
4001
+ return bo(r, t);
4002
4002
  }
4003
- function vo(e) {
4003
+ function yo(e) {
4004
4004
  if (e == null)
4005
4005
  return;
4006
- const t = st(e);
4006
+ const t = lt(e);
4007
4007
  for (let r = 0; r < t.length; r++) {
4008
4008
  const n = t[r];
4009
- if (sn(n))
4009
+ if (un(n))
4010
4010
  return n;
4011
4011
  }
4012
4012
  }
4013
- function un(e, ...t) {
4014
- delete le[e], Ge.update((r) => (r[e] = wi.all([r[e] || {}, ...t]), r));
4013
+ function ln(e, ...t) {
4014
+ delete le[e], We.update((r) => (r[e] = _i.all([r[e] || {}, ...t]), r));
4015
4015
  }
4016
- Oe(
4017
- [Ge],
4016
+ He(
4017
+ [We],
4018
4018
  ([e]) => Object.keys(e)
4019
4019
  );
4020
- Ge.subscribe((e) => Gt = e);
4021
- const Qe = {};
4022
- function yo(e, t) {
4023
- Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
4020
+ We.subscribe((e) => jt = e);
4021
+ const Je = {};
4022
+ function wo(e, t) {
4023
+ Je[e].delete(t), Je[e].size === 0 && delete Je[e];
4024
4024
  }
4025
- function ln(e) {
4026
- return Qe[e];
4025
+ function hn(e) {
4026
+ return Je[e];
4027
4027
  }
4028
- function wo(e) {
4029
- return st(e).map((t) => {
4030
- const r = ln(t);
4028
+ function _o(e) {
4029
+ return lt(e).map((t) => {
4030
+ const r = hn(t);
4031
4031
  return [t, r ? [...r] : []];
4032
4032
  }).filter(([, t]) => t.length > 0);
4033
4033
  }
4034
- function kt(e) {
4035
- return e == null ? !1 : st(e).some(
4034
+ function Ft(e) {
4035
+ return e == null ? !1 : lt(e).some(
4036
4036
  (t) => {
4037
4037
  var r;
4038
- return (r = ln(t)) == null ? void 0 : r.size;
4038
+ return (r = hn(t)) == null ? void 0 : r.size;
4039
4039
  }
4040
4040
  );
4041
4041
  }
4042
- function _o(e, t) {
4042
+ function Eo(e, t) {
4043
4043
  return Promise.all(
4044
- t.map((n) => (yo(e, n), n().then((i) => i.default || i)))
4045
- ).then((n) => un(e, ...n));
4046
- }
4047
- const Re = {};
4048
- function hn(e) {
4049
- if (!kt(e))
4050
- return e in Re ? Re[e] : Promise.resolve();
4051
- const t = wo(e);
4052
- return Re[e] = Promise.all(
4044
+ t.map((n) => (wo(e, n), n().then((i) => i.default || i)))
4045
+ ).then((n) => ln(e, ...n));
4046
+ }
4047
+ const De = {};
4048
+ function fn(e) {
4049
+ if (!Ft(e))
4050
+ return e in De ? De[e] : Promise.resolve();
4051
+ const t = _o(e);
4052
+ return De[e] = Promise.all(
4053
4053
  t.map(
4054
- ([r, n]) => _o(r, n)
4054
+ ([r, n]) => Eo(r, n)
4055
4055
  )
4056
4056
  ).then(() => {
4057
- if (kt(e))
4058
- return hn(e);
4059
- delete Re[e];
4060
- }), Re[e];
4057
+ if (Ft(e))
4058
+ return fn(e);
4059
+ delete De[e];
4060
+ }), De[e];
4061
4061
  }
4062
- const Eo = {
4062
+ const To = {
4063
4063
  number: {
4064
4064
  scientific: { notation: "scientific" },
4065
4065
  engineering: { notation: "engineering" },
@@ -4088,150 +4088,150 @@ const Eo = {
4088
4088
  timeZoneName: "short"
4089
4089
  }
4090
4090
  }
4091
- }, To = {
4091
+ }, xo = {
4092
4092
  fallbackLocale: null,
4093
4093
  loadingDelay: 200,
4094
- formats: Eo,
4094
+ formats: To,
4095
4095
  warnOnMissingMessages: !0,
4096
4096
  handleMissingMessage: void 0,
4097
4097
  ignoreTag: !0
4098
- }, xo = To;
4099
- function Ce() {
4100
- return xo;
4098
+ }, Bo = xo;
4099
+ function Ae() {
4100
+ return Bo;
4101
4101
  }
4102
- const _t = it(!1);
4103
- var Bo = Object.defineProperty, So = Object.defineProperties, Co = Object.getOwnPropertyDescriptors, mr = Object.getOwnPropertySymbols, Oo = Object.prototype.hasOwnProperty, Po = Object.prototype.propertyIsEnumerable, br = (e, t, r) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ao = (e, t) => {
4102
+ const Et = at(!1);
4103
+ var So = Object.defineProperty, Co = Object.defineProperties, Oo = Object.getOwnPropertyDescriptors, br = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, Ao = Object.prototype.propertyIsEnumerable, pr = (e, t, r) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ho = (e, t) => {
4104
4104
  for (var r in t || (t = {}))
4105
- Oo.call(t, r) && br(e, r, t[r]);
4106
- if (mr)
4107
- for (var r of mr(t))
4108
- Po.call(t, r) && br(e, r, t[r]);
4105
+ Po.call(t, r) && pr(e, r, t[r]);
4106
+ if (br)
4107
+ for (var r of br(t))
4108
+ Ao.call(t, r) && pr(e, r, t[r]);
4109
4109
  return e;
4110
- }, Ho = (e, t) => So(e, Co(t));
4111
- let Ft;
4112
- const Je = it(null);
4113
- function pr(e) {
4110
+ }, Mo = (e, t) => Co(e, Oo(t));
4111
+ let $t;
4112
+ const et = at(null);
4113
+ function gr(e) {
4114
4114
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4115
4115
  }
4116
- function st(e, t = Ce().fallbackLocale) {
4117
- const r = pr(e);
4118
- return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
4116
+ function lt(e, t = Ae().fallbackLocale) {
4117
+ const r = gr(e);
4118
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gr(t)])] : r;
4119
4119
  }
4120
- function be() {
4121
- return Ft != null ? Ft : void 0;
4120
+ function me() {
4121
+ return $t != null ? $t : void 0;
4122
4122
  }
4123
- Je.subscribe((e) => {
4124
- Ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4123
+ et.subscribe((e) => {
4124
+ $t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4125
4125
  });
4126
- const Mo = (e) => {
4127
- if (e && vo(e) && kt(e)) {
4128
- const { loadingDelay: t } = Ce();
4126
+ const Ro = (e) => {
4127
+ if (e && yo(e) && Ft(e)) {
4128
+ const { loadingDelay: t } = Ae();
4129
4129
  let r;
4130
- return typeof window != "undefined" && be() != null && t ? r = window.setTimeout(
4131
- () => _t.set(!0),
4130
+ return typeof window != "undefined" && me() != null && t ? r = window.setTimeout(
4131
+ () => Et.set(!0),
4132
4132
  t
4133
- ) : _t.set(!0), hn(e).then(() => {
4134
- Je.set(e);
4133
+ ) : Et.set(!0), fn(e).then(() => {
4134
+ et.set(e);
4135
4135
  }).finally(() => {
4136
- clearTimeout(r), _t.set(!1);
4136
+ clearTimeout(r), Et.set(!1);
4137
4137
  });
4138
4138
  }
4139
- return Je.set(e);
4140
- }, Pe = Ho(Ao({}, Je), {
4141
- set: Mo
4142
- }), ut = (e) => {
4139
+ return et.set(e);
4140
+ }, Me = Mo(Ho({}, et), {
4141
+ set: Ro
4142
+ }), ht = (e) => {
4143
4143
  const t = /* @__PURE__ */ Object.create(null);
4144
4144
  return (n) => {
4145
4145
  const i = JSON.stringify(n);
4146
4146
  return i in t ? t[i] : t[i] = e(n);
4147
4147
  };
4148
4148
  };
4149
- var Ro = Object.defineProperty, Ke = Object.getOwnPropertySymbols, fn = Object.prototype.hasOwnProperty, cn = Object.prototype.propertyIsEnumerable, gr = (e, t, r) => t in e ? Ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t) => {
4149
+ var No = Object.defineProperty, tt = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, vr = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wt = (e, t) => {
4150
4150
  for (var r in t || (t = {}))
4151
- fn.call(t, r) && gr(e, r, t[r]);
4152
- if (Ke)
4153
- for (var r of Ke(t))
4154
- cn.call(t, r) && gr(e, r, t[r]);
4151
+ cn.call(t, r) && vr(e, r, t[r]);
4152
+ if (tt)
4153
+ for (var r of tt(t))
4154
+ dn.call(t, r) && vr(e, r, t[r]);
4155
4155
  return e;
4156
- }, Ae = (e, t) => {
4156
+ }, Re = (e, t) => {
4157
4157
  var r = {};
4158
4158
  for (var n in e)
4159
- fn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4160
- if (e != null && Ke)
4161
- for (var n of Ke(e))
4162
- t.indexOf(n) < 0 && cn.call(e, n) && (r[n] = e[n]);
4159
+ cn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4160
+ if (e != null && tt)
4161
+ for (var n of tt(e))
4162
+ t.indexOf(n) < 0 && dn.call(e, n) && (r[n] = e[n]);
4163
4163
  return r;
4164
4164
  };
4165
- const ke = (e, t) => {
4166
- const { formats: r } = Ce();
4165
+ const $e = (e, t) => {
4166
+ const { formats: r } = Ae();
4167
4167
  if (e in r && t in r[e])
4168
4168
  return r[e][t];
4169
4169
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4170
- }, No = ut(
4170
+ }, Do = ht(
4171
4171
  (e) => {
4172
- var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
4172
+ var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4173
4173
  if (r == null)
4174
4174
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4175
- return n && (i = ke("number", n)), new Intl.NumberFormat(r, i);
4175
+ return n && (i = $e("number", n)), new Intl.NumberFormat(r, i);
4176
4176
  }
4177
- ), Do = ut(
4177
+ ), Io = ht(
4178
4178
  (e) => {
4179
- var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
4179
+ var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4180
4180
  if (r == null)
4181
4181
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4182
- return n ? i = ke("date", n) : Object.keys(i).length === 0 && (i = ke("date", "short")), new Intl.DateTimeFormat(r, i);
4182
+ return n ? i = $e("date", n) : Object.keys(i).length === 0 && (i = $e("date", "short")), new Intl.DateTimeFormat(r, i);
4183
4183
  }
4184
- ), Io = ut(
4184
+ ), Lo = ht(
4185
4185
  (e) => {
4186
- var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
4186
+ var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4187
4187
  if (r == null)
4188
4188
  throw new Error(
4189
4189
  '[svelte-i18n] A "locale" must be set to format time values'
4190
4190
  );
4191
- return n ? i = ke("time", n) : Object.keys(i).length === 0 && (i = ke("time", "short")), new Intl.DateTimeFormat(r, i);
4191
+ return n ? i = $e("time", n) : Object.keys(i).length === 0 && (i = $e("time", "short")), new Intl.DateTimeFormat(r, i);
4192
4192
  }
4193
- ), Lo = (e = {}) => {
4193
+ ), Uo = (e = {}) => {
4194
4194
  var t = e, {
4195
- locale: r = be()
4196
- } = t, n = Ae(t, [
4195
+ locale: r = me()
4196
+ } = t, n = Re(t, [
4197
4197
  "locale"
4198
4198
  ]);
4199
- return No(jt({ locale: r }, n));
4200
- }, Uo = (e = {}) => {
4199
+ return Do(Wt({ locale: r }, n));
4200
+ }, ko = (e = {}) => {
4201
4201
  var t = e, {
4202
- locale: r = be()
4203
- } = t, n = Ae(t, [
4202
+ locale: r = me()
4203
+ } = t, n = Re(t, [
4204
4204
  "locale"
4205
4205
  ]);
4206
- return Do(jt({ locale: r }, n));
4207
- }, ko = (e = {}) => {
4206
+ return Io(Wt({ locale: r }, n));
4207
+ }, Fo = (e = {}) => {
4208
4208
  var t = e, {
4209
- locale: r = be()
4210
- } = t, n = Ae(t, [
4209
+ locale: r = me()
4210
+ } = t, n = Re(t, [
4211
4211
  "locale"
4212
4212
  ]);
4213
- return Io(jt({ locale: r }, n));
4214
- }, Fo = ut(
4213
+ return Lo(Wt({ locale: r }, n));
4214
+ }, $o = ht(
4215
4215
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4216
- (e, t = be()) => new co(e, t, Ce().formats, {
4217
- ignoreTag: Ce().ignoreTag
4216
+ (e, t = me()) => new mo(e, t, Ae().formats, {
4217
+ ignoreTag: Ae().ignoreTag
4218
4218
  })
4219
- ), $o = (e, t = {}) => {
4219
+ ), Go = (e, t = {}) => {
4220
4220
  var r, n, i, o;
4221
4221
  let a = t;
4222
4222
  typeof e == "object" && (a = e, e = a.id);
4223
4223
  const {
4224
4224
  values: s,
4225
- locale: l = be(),
4225
+ locale: l = me(),
4226
4226
  default: u
4227
4227
  } = a;
4228
4228
  if (l == null)
4229
4229
  throw new Error(
4230
4230
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4231
4231
  );
4232
- let h = an(e, l);
4232
+ let h = sn(e, l);
4233
4233
  if (!h)
4234
- h = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4234
+ h = (o = (i = (n = (r = Ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4235
4235
  else if (typeof h != "string")
4236
4236
  return console.warn(
4237
4237
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4240,7 +4240,7 @@ const ke = (e, t) => {
4240
4240
  return h;
4241
4241
  let c = h;
4242
4242
  try {
4243
- c = Fo(h, l).format(s);
4243
+ c = $o(h, l).format(s);
4244
4244
  } catch (f) {
4245
4245
  f instanceof Error && console.warn(
4246
4246
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4248,21 +4248,21 @@ const ke = (e, t) => {
4248
4248
  );
4249
4249
  }
4250
4250
  return c;
4251
- }, Go = (e, t) => ko(t).format(e), jo = (e, t) => Uo(t).format(e), Wo = (e, t) => Lo(t).format(e), Vo = (e, t = be()) => an(e, t), Yo = Oe([Pe, Ge], () => $o);
4252
- Oe([Pe], () => Go);
4253
- Oe([Pe], () => jo);
4254
- Oe([Pe], () => Wo);
4255
- Oe([Pe, Ge], () => Vo);
4256
- window.emWidgets = { topic: ni };
4257
- const Xo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4251
+ }, jo = (e, t) => Fo(t).format(e), Wo = (e, t) => ko(t).format(e), Vo = (e, t) => Uo(t).format(e), Yo = (e, t = me()) => sn(e, t), Xo = He([Me, We], () => Go);
4252
+ He([Me], () => jo);
4253
+ He([Me], () => Wo);
4254
+ He([Me], () => Vo);
4255
+ He([Me, We], () => Yo);
4256
+ window.emWidgets = { topic: ii };
4257
+ const qo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4258
4258
  String(Number.MAX_SAFE_INTEGER).length;
4259
- function vr(e, t) {
4260
- un(e, t);
4259
+ function yr(e, t) {
4260
+ ln(e, t);
4261
4261
  }
4262
- function qo(e) {
4263
- Pe.set(e);
4262
+ function zo(e) {
4263
+ Me.set(e);
4264
4264
  }
4265
- const yr = {
4265
+ const wr = {
4266
4266
  en: {
4267
4267
  date: "Granted date:",
4268
4268
  expirationDate: "Expiration Date",
@@ -4549,14 +4549,14 @@ const yr = {
4549
4549
  freeRound: "Free Round",
4550
4550
  oddsBoost: "Odds Boost"
4551
4551
  }
4552
- };
4553
- function zo(e, t) {
4552
+ }, Be = "__WIDGET_GLOBAL_STYLE_CACHE__";
4553
+ function Qo(e, t) {
4554
4554
  if (e) {
4555
4555
  const r = document.createElement("style");
4556
4556
  r.innerHTML = t, e.appendChild(r);
4557
4557
  }
4558
4558
  }
4559
- function Qo(e, t) {
4559
+ function Zo(e, t) {
4560
4560
  if (!e || !t)
4561
4561
  return;
4562
4562
  const r = new URL(t);
@@ -4567,23 +4567,51 @@ function Qo(e, t) {
4567
4567
  console.error("There was an error while trying to load client styling from URL", n);
4568
4568
  });
4569
4569
  }
4570
- function Zo(e, t, r) {
4571
- if (window.emMessageBus) {
4572
- const n = document.createElement("style");
4573
- window.emMessageBus.subscribe(t, (i) => {
4574
- n.innerHTML = i, e && e.appendChild(n);
4570
+ function Jo(e, t, r, n = !1) {
4571
+ if (!window.emMessageBus)
4572
+ return;
4573
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4574
+ return r = Ko(e, t), r;
4575
+ window[Be] || (window[Be] = {}), r = ea(e, t);
4576
+ const o = r.unsubscribe.bind(r), a = () => {
4577
+ if (window[Be][t]) {
4578
+ const s = window[Be][t];
4579
+ s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[Be][t];
4580
+ }
4581
+ o();
4582
+ };
4583
+ return r.unsubscribe = a, r;
4584
+ }
4585
+ function Ko(e, t) {
4586
+ const r = document.createElement("style");
4587
+ return window.emMessageBus.subscribe(t, (n) => {
4588
+ e && (r.innerHTML = n, e.appendChild(r));
4589
+ });
4590
+ }
4591
+ function ea(e, t) {
4592
+ return window.emMessageBus.subscribe(t, (r) => {
4593
+ var s;
4594
+ if (!e)
4595
+ return;
4596
+ const n = e.getRootNode(), i = window[Be];
4597
+ let o = (s = i[t]) == null ? void 0 : s.sheet;
4598
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4599
+ sheet: o,
4600
+ refCount: 1
4575
4601
  });
4576
- }
4602
+ const a = n.adoptedStyleSheets || [];
4603
+ a.includes(o) || (n.adoptedStyleSheets = [...a, o]);
4604
+ });
4577
4605
  }
4578
- function et(e) {
4606
+ function rt(e) {
4579
4607
  "@babel/helpers - typeof";
4580
- return et = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4608
+ return rt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4581
4609
  return typeof t;
4582
4610
  } : function(t) {
4583
4611
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4584
- }, et(e);
4612
+ }, rt(e);
4585
4613
  }
4586
- function me(e) {
4614
+ function de(e) {
4587
4615
  if (e === null || e === !0 || e === !1)
4588
4616
  return NaN;
4589
4617
  var t = Number(e);
@@ -4593,108 +4621,108 @@ function F(e, t) {
4593
4621
  if (t.length < e)
4594
4622
  throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
4595
4623
  }
4596
- function ie(e) {
4624
+ function oe(e) {
4597
4625
  F(1, arguments);
4598
4626
  var t = Object.prototype.toString.call(e);
4599
- return e instanceof Date || et(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));
4627
+ return e instanceof Date || rt(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));
4600
4628
  }
4601
- function Jo(e, t) {
4629
+ function ta(e, t) {
4602
4630
  F(2, arguments);
4603
- var r = ie(e).getTime(), n = me(t);
4631
+ var r = oe(e).getTime(), n = de(t);
4604
4632
  return new Date(r + n);
4605
4633
  }
4606
- var Ko = {};
4607
- function lt() {
4608
- return Ko;
4634
+ var ra = {};
4635
+ function ft() {
4636
+ return ra;
4609
4637
  }
4610
- function ea(e) {
4638
+ function na(e) {
4611
4639
  var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
4612
4640
  return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
4613
4641
  }
4614
- function ta(e) {
4615
- return F(1, arguments), e instanceof Date || et(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4642
+ function ia(e) {
4643
+ return F(1, arguments), e instanceof Date || rt(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4616
4644
  }
4617
- function ra(e) {
4618
- if (F(1, arguments), !ta(e) && typeof e != "number")
4645
+ function oa(e) {
4646
+ if (F(1, arguments), !ia(e) && typeof e != "number")
4619
4647
  return !1;
4620
- var t = ie(e);
4648
+ var t = oe(e);
4621
4649
  return !isNaN(Number(t));
4622
4650
  }
4623
- function na(e, t) {
4651
+ function aa(e, t) {
4624
4652
  F(2, arguments);
4625
- var r = me(t);
4626
- return Jo(e, -r);
4653
+ var r = de(t);
4654
+ return ta(e, -r);
4627
4655
  }
4628
- var ia = 864e5;
4629
- function oa(e) {
4656
+ var sa = 864e5;
4657
+ function ua(e) {
4630
4658
  F(1, arguments);
4631
- var t = ie(e), r = t.getTime();
4659
+ var t = oe(e), r = t.getTime();
4632
4660
  t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
4633
4661
  var n = t.getTime(), i = r - n;
4634
- return Math.floor(i / ia) + 1;
4662
+ return Math.floor(i / sa) + 1;
4635
4663
  }
4636
- function tt(e) {
4664
+ function nt(e) {
4637
4665
  F(1, arguments);
4638
- var t = 1, r = ie(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4666
+ var t = 1, r = oe(e), n = r.getUTCDay(), i = (n < t ? 7 : 0) + n - t;
4639
4667
  return r.setUTCDate(r.getUTCDate() - i), r.setUTCHours(0, 0, 0, 0), r;
4640
4668
  }
4641
- function dn(e) {
4669
+ function mn(e) {
4642
4670
  F(1, arguments);
4643
- var t = ie(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4671
+ var t = oe(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4644
4672
  n.setUTCFullYear(r + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
4645
- var i = tt(n), o = /* @__PURE__ */ new Date(0);
4673
+ var i = nt(n), o = /* @__PURE__ */ new Date(0);
4646
4674
  o.setUTCFullYear(r, 0, 4), o.setUTCHours(0, 0, 0, 0);
4647
- var a = tt(o);
4675
+ var a = nt(o);
4648
4676
  return t.getTime() >= i.getTime() ? r + 1 : t.getTime() >= a.getTime() ? r : r - 1;
4649
4677
  }
4650
- function aa(e) {
4678
+ function la(e) {
4651
4679
  F(1, arguments);
4652
- var t = dn(e), r = /* @__PURE__ */ new Date(0);
4680
+ var t = mn(e), r = /* @__PURE__ */ new Date(0);
4653
4681
  r.setUTCFullYear(t, 0, 4), r.setUTCHours(0, 0, 0, 0);
4654
- var n = tt(r);
4682
+ var n = nt(r);
4655
4683
  return n;
4656
4684
  }
4657
- var sa = 6048e5;
4658
- function ua(e) {
4685
+ var ha = 6048e5;
4686
+ function fa(e) {
4659
4687
  F(1, arguments);
4660
- var t = ie(e), r = tt(t).getTime() - aa(t).getTime();
4661
- return Math.round(r / sa) + 1;
4688
+ var t = oe(e), r = nt(t).getTime() - la(t).getTime();
4689
+ return Math.round(r / ha) + 1;
4662
4690
  }
4663
- function rt(e, t) {
4691
+ function it(e, t) {
4664
4692
  var r, n, i, o, a, s, l, u;
4665
4693
  F(1, arguments);
4666
- var h = lt(), c = me((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);
4694
+ var h = ft(), c = de((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);
4667
4695
  if (!(c >= 0 && c <= 6))
4668
4696
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4669
- var f = ie(e), d = f.getUTCDay(), v = (d < c ? 7 : 0) + d - c;
4697
+ var f = oe(e), d = f.getUTCDay(), v = (d < c ? 7 : 0) + d - c;
4670
4698
  return f.setUTCDate(f.getUTCDate() - v), f.setUTCHours(0, 0, 0, 0), f;
4671
4699
  }
4672
- function mn(e, t) {
4700
+ function bn(e, t) {
4673
4701
  var r, n, i, o, a, s, l, u;
4674
4702
  F(1, arguments);
4675
- var h = ie(e), c = h.getUTCFullYear(), f = lt(), d = me((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 : f.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = f.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
4703
+ var h = oe(e), c = h.getUTCFullYear(), f = ft(), d = de((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 : f.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = f.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
4676
4704
  if (!(d >= 1 && d <= 7))
4677
4705
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
4678
4706
  var v = /* @__PURE__ */ new Date(0);
4679
4707
  v.setUTCFullYear(c + 1, 0, d), v.setUTCHours(0, 0, 0, 0);
4680
- var y = rt(v, t), B = /* @__PURE__ */ new Date(0);
4708
+ var y = it(v, t), B = /* @__PURE__ */ new Date(0);
4681
4709
  B.setUTCFullYear(c, 0, d), B.setUTCHours(0, 0, 0, 0);
4682
- var U = rt(B, t);
4710
+ var U = it(B, t);
4683
4711
  return h.getTime() >= y.getTime() ? c + 1 : h.getTime() >= U.getTime() ? c : c - 1;
4684
4712
  }
4685
- function la(e, t) {
4713
+ function ca(e, t) {
4686
4714
  var r, n, i, o, a, s, l, u;
4687
4715
  F(1, arguments);
4688
- var h = lt(), c = me((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), f = mn(e, t), d = /* @__PURE__ */ new Date(0);
4716
+ var h = ft(), c = de((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), f = bn(e, t), d = /* @__PURE__ */ new Date(0);
4689
4717
  d.setUTCFullYear(f, 0, c), d.setUTCHours(0, 0, 0, 0);
4690
- var v = rt(d, t);
4718
+ var v = it(d, t);
4691
4719
  return v;
4692
4720
  }
4693
- var ha = 6048e5;
4694
- function fa(e, t) {
4721
+ var da = 6048e5;
4722
+ function ma(e, t) {
4695
4723
  F(1, arguments);
4696
- var r = ie(e), n = rt(r, t).getTime() - la(r, t).getTime();
4697
- return Math.round(n / ha) + 1;
4724
+ var r = oe(e), n = it(r, t).getTime() - ca(r, t).getTime();
4725
+ return Math.round(n / da) + 1;
4698
4726
  }
4699
4727
  function T(e, t) {
4700
4728
  for (var r = e < 0 ? "-" : "", n = Math.abs(e).toString(); n.length < t; )
@@ -4753,14 +4781,14 @@ var ue = {
4753
4781
  var n = r.length, i = t.getUTCMilliseconds(), o = Math.floor(i * Math.pow(10, n - 3));
4754
4782
  return T(o, r.length);
4755
4783
  }
4756
- }, _e = {
4784
+ }, Te = {
4757
4785
  midnight: "midnight",
4758
4786
  noon: "noon",
4759
4787
  morning: "morning",
4760
4788
  afternoon: "afternoon",
4761
4789
  evening: "evening",
4762
4790
  night: "night"
4763
- }, ca = {
4791
+ }, ba = {
4764
4792
  // Era
4765
4793
  G: function(t, r, n) {
4766
4794
  var i = t.getUTCFullYear() > 0 ? 1 : 0;
@@ -4794,7 +4822,7 @@ var ue = {
4794
4822
  },
4795
4823
  // Local week-numbering year
4796
4824
  Y: function(t, r, n, i) {
4797
- var o = mn(t, i), a = o > 0 ? o : 1 - o;
4825
+ var o = bn(t, i), a = o > 0 ? o : 1 - o;
4798
4826
  if (r === "YY") {
4799
4827
  var s = a % 100;
4800
4828
  return T(s, 2);
@@ -4805,7 +4833,7 @@ var ue = {
4805
4833
  },
4806
4834
  // ISO week-numbering year
4807
4835
  R: function(t, r) {
4808
- var n = dn(t);
4836
+ var n = mn(t);
4809
4837
  return T(n, r.length);
4810
4838
  },
4811
4839
  // Extended year. This is a single number designating the year of this calendar system.
@@ -4942,14 +4970,14 @@ var ue = {
4942
4970
  },
4943
4971
  // Local week of year
4944
4972
  w: function(t, r, n, i) {
4945
- var o = fa(t, i);
4973
+ var o = ma(t, i);
4946
4974
  return r === "wo" ? n.ordinalNumber(o, {
4947
4975
  unit: "week"
4948
4976
  }) : T(o, r.length);
4949
4977
  },
4950
4978
  // ISO week of year
4951
4979
  I: function(t, r, n) {
4952
- var i = ua(t);
4980
+ var i = fa(t);
4953
4981
  return r === "Io" ? n.ordinalNumber(i, {
4954
4982
  unit: "week"
4955
4983
  }) : T(i, r.length);
@@ -4962,7 +4990,7 @@ var ue = {
4962
4990
  },
4963
4991
  // Day of year
4964
4992
  D: function(t, r, n) {
4965
- var i = oa(t);
4993
+ var i = ua(t);
4966
4994
  return r === "Do" ? n.ordinalNumber(i, {
4967
4995
  unit: "dayOfYear"
4968
4996
  }) : T(i, r.length);
@@ -5132,7 +5160,7 @@ var ue = {
5132
5160
  // AM, PM, midnight, noon
5133
5161
  b: function(t, r, n) {
5134
5162
  var i = t.getUTCHours(), o;
5135
- switch (i === 12 ? o = _e.noon : i === 0 ? o = _e.midnight : o = i / 12 >= 1 ? "pm" : "am", r) {
5163
+ switch (i === 12 ? o = Te.noon : i === 0 ? o = Te.midnight : o = i / 12 >= 1 ? "pm" : "am", r) {
5136
5164
  case "b":
5137
5165
  case "bb":
5138
5166
  return n.dayPeriod(o, {
@@ -5160,7 +5188,7 @@ var ue = {
5160
5188
  // in the morning, in the afternoon, in the evening, at night
5161
5189
  B: function(t, r, n) {
5162
5190
  var i = t.getUTCHours(), o;
5163
- switch (i >= 17 ? o = _e.evening : i >= 12 ? o = _e.afternoon : i >= 4 ? o = _e.morning : o = _e.night, r) {
5191
+ switch (i >= 17 ? o = Te.evening : i >= 12 ? o = Te.afternoon : i >= 4 ? o = Te.morning : o = Te.night, r) {
5164
5192
  case "B":
5165
5193
  case "BB":
5166
5194
  case "BBB":
@@ -5234,14 +5262,14 @@ var ue = {
5234
5262
  return "Z";
5235
5263
  switch (r) {
5236
5264
  case "X":
5237
- return _r(a);
5265
+ return Er(a);
5238
5266
  case "XXXX":
5239
5267
  case "XX":
5240
- return de(a);
5268
+ return ce(a);
5241
5269
  case "XXXXX":
5242
5270
  case "XXX":
5243
5271
  default:
5244
- return de(a, ":");
5272
+ return ce(a, ":");
5245
5273
  }
5246
5274
  },
5247
5275
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -5249,14 +5277,14 @@ var ue = {
5249
5277
  var o = i._originalDate || t, a = o.getTimezoneOffset();
5250
5278
  switch (r) {
5251
5279
  case "x":
5252
- return _r(a);
5280
+ return Er(a);
5253
5281
  case "xxxx":
5254
5282
  case "xx":
5255
- return de(a);
5283
+ return ce(a);
5256
5284
  case "xxxxx":
5257
5285
  case "xxx":
5258
5286
  default:
5259
- return de(a, ":");
5287
+ return ce(a, ":");
5260
5288
  }
5261
5289
  },
5262
5290
  // Timezone (GMT)
@@ -5266,10 +5294,10 @@ var ue = {
5266
5294
  case "O":
5267
5295
  case "OO":
5268
5296
  case "OOO":
5269
- return "GMT" + wr(a, ":");
5297
+ return "GMT" + _r(a, ":");
5270
5298
  case "OOOO":
5271
5299
  default:
5272
- return "GMT" + de(a, ":");
5300
+ return "GMT" + ce(a, ":");
5273
5301
  }
5274
5302
  },
5275
5303
  // Timezone (specific non-location)
@@ -5279,10 +5307,10 @@ var ue = {
5279
5307
  case "z":
5280
5308
  case "zz":
5281
5309
  case "zzz":
5282
- return "GMT" + wr(a, ":");
5310
+ return "GMT" + _r(a, ":");
5283
5311
  case "zzzz":
5284
5312
  default:
5285
- return "GMT" + de(a, ":");
5313
+ return "GMT" + ce(a, ":");
5286
5314
  }
5287
5315
  },
5288
5316
  // Seconds timestamp
@@ -5296,25 +5324,25 @@ var ue = {
5296
5324
  return T(a, r.length);
5297
5325
  }
5298
5326
  };
5299
- function wr(e, t) {
5327
+ function _r(e, t) {
5300
5328
  var r = e > 0 ? "-" : "+", n = Math.abs(e), i = Math.floor(n / 60), o = n % 60;
5301
5329
  if (o === 0)
5302
5330
  return r + String(i);
5303
5331
  var a = t;
5304
5332
  return r + String(i) + a + T(o, 2);
5305
5333
  }
5306
- function _r(e, t) {
5334
+ function Er(e, t) {
5307
5335
  if (e % 60 === 0) {
5308
5336
  var r = e > 0 ? "-" : "+";
5309
5337
  return r + T(Math.abs(e) / 60, 2);
5310
5338
  }
5311
- return de(e, t);
5339
+ return ce(e, t);
5312
5340
  }
5313
- function de(e, t) {
5341
+ function ce(e, t) {
5314
5342
  var r = t || "", n = e > 0 ? "-" : "+", i = Math.abs(e), o = T(Math.floor(i / 60), 2), a = T(i % 60, 2);
5315
5343
  return n + o + r + a;
5316
5344
  }
5317
- var Er = function(t, r) {
5345
+ var Tr = function(t, r) {
5318
5346
  switch (t) {
5319
5347
  case "P":
5320
5348
  return r.date({
@@ -5334,7 +5362,7 @@ var Er = function(t, r) {
5334
5362
  width: "full"
5335
5363
  });
5336
5364
  }
5337
- }, bn = function(t, r) {
5365
+ }, pn = function(t, r) {
5338
5366
  switch (t) {
5339
5367
  case "p":
5340
5368
  return r.time({
@@ -5354,10 +5382,10 @@ var Er = function(t, r) {
5354
5382
  width: "full"
5355
5383
  });
5356
5384
  }
5357
- }, da = function(t, r) {
5385
+ }, pa = function(t, r) {
5358
5386
  var n = t.match(/(P+)(p+)?/) || [], i = n[1], o = n[2];
5359
5387
  if (!o)
5360
- return Er(t, r);
5388
+ return Tr(t, r);
5361
5389
  var a;
5362
5390
  switch (i) {
5363
5391
  case "P":
@@ -5382,18 +5410,18 @@ var Er = function(t, r) {
5382
5410
  });
5383
5411
  break;
5384
5412
  }
5385
- return a.replace("{{date}}", Er(i, r)).replace("{{time}}", bn(o, r));
5386
- }, ma = {
5387
- p: bn,
5388
- P: da
5389
- }, ba = ["D", "DD"], pa = ["YY", "YYYY"];
5390
- function ga(e) {
5391
- return ba.indexOf(e) !== -1;
5392
- }
5393
- function va(e) {
5394
- return pa.indexOf(e) !== -1;
5395
- }
5396
- function Tr(e, t, r) {
5413
+ return a.replace("{{date}}", Tr(i, r)).replace("{{time}}", pn(o, r));
5414
+ }, ga = {
5415
+ p: pn,
5416
+ P: pa
5417
+ }, va = ["D", "DD"], ya = ["YY", "YYYY"];
5418
+ function wa(e) {
5419
+ return va.indexOf(e) !== -1;
5420
+ }
5421
+ function _a(e) {
5422
+ return ya.indexOf(e) !== -1;
5423
+ }
5424
+ function xr(e, t, r) {
5397
5425
  if (e === "YYYY")
5398
5426
  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"));
5399
5427
  if (e === "YY")
@@ -5403,7 +5431,7 @@ function Tr(e, t, r) {
5403
5431
  if (e === "DD")
5404
5432
  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"));
5405
5433
  }
5406
- var ya = {
5434
+ var Ea = {
5407
5435
  lessThanXSeconds: {
5408
5436
  one: "less than a second",
5409
5437
  other: "less than {{count}} seconds"
@@ -5465,55 +5493,55 @@ var ya = {
5465
5493
  one: "almost 1 year",
5466
5494
  other: "almost {{count}} years"
5467
5495
  }
5468
- }, wa = function(t, r, n) {
5469
- var i, o = ya[t];
5496
+ }, Ta = function(t, r, n) {
5497
+ var i, o = Ea[t];
5470
5498
  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;
5471
5499
  };
5472
- function Et(e) {
5500
+ function Tt(e) {
5473
5501
  return function() {
5474
5502
  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];
5475
5503
  return n;
5476
5504
  };
5477
5505
  }
5478
- var _a = {
5506
+ var xa = {
5479
5507
  full: "EEEE, MMMM do, y",
5480
5508
  long: "MMMM do, y",
5481
5509
  medium: "MMM d, y",
5482
5510
  short: "MM/dd/yyyy"
5483
- }, Ea = {
5511
+ }, Ba = {
5484
5512
  full: "h:mm:ss a zzzz",
5485
5513
  long: "h:mm:ss a z",
5486
5514
  medium: "h:mm:ss a",
5487
5515
  short: "h:mm a"
5488
- }, Ta = {
5516
+ }, Sa = {
5489
5517
  full: "{{date}} 'at' {{time}}",
5490
5518
  long: "{{date}} 'at' {{time}}",
5491
5519
  medium: "{{date}}, {{time}}",
5492
5520
  short: "{{date}}, {{time}}"
5493
- }, xa = {
5494
- date: Et({
5495
- formats: _a,
5521
+ }, Ca = {
5522
+ date: Tt({
5523
+ formats: xa,
5496
5524
  defaultWidth: "full"
5497
5525
  }),
5498
- time: Et({
5499
- formats: Ea,
5526
+ time: Tt({
5527
+ formats: Ba,
5500
5528
  defaultWidth: "full"
5501
5529
  }),
5502
- dateTime: Et({
5503
- formats: Ta,
5530
+ dateTime: Tt({
5531
+ formats: Sa,
5504
5532
  defaultWidth: "full"
5505
5533
  })
5506
- }, Ba = {
5534
+ }, Oa = {
5507
5535
  lastWeek: "'last' eeee 'at' p",
5508
5536
  yesterday: "'yesterday at' p",
5509
5537
  today: "'today at' p",
5510
5538
  tomorrow: "'tomorrow at' p",
5511
5539
  nextWeek: "eeee 'at' p",
5512
5540
  other: "P"
5513
- }, Sa = function(t, r, n, i) {
5514
- return Ba[t];
5541
+ }, Pa = function(t, r, n, i) {
5542
+ return Oa[t];
5515
5543
  };
5516
- function Ne(e) {
5544
+ function Ie(e) {
5517
5545
  return function(t, r) {
5518
5546
  var n = r != null && r.context ? String(r.context) : "standalone", i;
5519
5547
  if (n === "formatting" && e.formattingValues) {
@@ -5527,24 +5555,24 @@ function Ne(e) {
5527
5555
  return i[u];
5528
5556
  };
5529
5557
  }
5530
- var Ca = {
5558
+ var Aa = {
5531
5559
  narrow: ["B", "A"],
5532
5560
  abbreviated: ["BC", "AD"],
5533
5561
  wide: ["Before Christ", "Anno Domini"]
5534
- }, Oa = {
5562
+ }, Ha = {
5535
5563
  narrow: ["1", "2", "3", "4"],
5536
5564
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
5537
5565
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
5538
- }, Pa = {
5566
+ }, Ma = {
5539
5567
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
5540
5568
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
5541
5569
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
5542
- }, Aa = {
5570
+ }, Ra = {
5543
5571
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
5544
5572
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
5545
5573
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
5546
5574
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
5547
- }, Ha = {
5575
+ }, Na = {
5548
5576
  narrow: {
5549
5577
  am: "a",
5550
5578
  pm: "p",
@@ -5575,7 +5603,7 @@ var Ca = {
5575
5603
  evening: "evening",
5576
5604
  night: "night"
5577
5605
  }
5578
- }, Ma = {
5606
+ }, Da = {
5579
5607
  narrow: {
5580
5608
  am: "a",
5581
5609
  pm: "p",
@@ -5606,7 +5634,7 @@ var Ca = {
5606
5634
  evening: "in the evening",
5607
5635
  night: "at night"
5608
5636
  }
5609
- }, Ra = function(t, r) {
5637
+ }, Ia = function(t, r) {
5610
5638
  var n = Number(t), i = n % 100;
5611
5639
  if (i > 20 || i < 10)
5612
5640
  switch (i % 10) {
@@ -5618,42 +5646,42 @@ var Ca = {
5618
5646
  return n + "rd";
5619
5647
  }
5620
5648
  return n + "th";
5621
- }, Na = {
5622
- ordinalNumber: Ra,
5623
- era: Ne({
5624
- values: Ca,
5649
+ }, La = {
5650
+ ordinalNumber: Ia,
5651
+ era: Ie({
5652
+ values: Aa,
5625
5653
  defaultWidth: "wide"
5626
5654
  }),
5627
- quarter: Ne({
5628
- values: Oa,
5655
+ quarter: Ie({
5656
+ values: Ha,
5629
5657
  defaultWidth: "wide",
5630
5658
  argumentCallback: function(t) {
5631
5659
  return t - 1;
5632
5660
  }
5633
5661
  }),
5634
- month: Ne({
5635
- values: Pa,
5662
+ month: Ie({
5663
+ values: Ma,
5636
5664
  defaultWidth: "wide"
5637
5665
  }),
5638
- day: Ne({
5639
- values: Aa,
5666
+ day: Ie({
5667
+ values: Ra,
5640
5668
  defaultWidth: "wide"
5641
5669
  }),
5642
- dayPeriod: Ne({
5643
- values: Ha,
5670
+ dayPeriod: Ie({
5671
+ values: Na,
5644
5672
  defaultWidth: "wide",
5645
- formattingValues: Ma,
5673
+ formattingValues: Da,
5646
5674
  defaultFormattingWidth: "wide"
5647
5675
  })
5648
5676
  };
5649
- function De(e) {
5677
+ function Le(e) {
5650
5678
  return function(t) {
5651
5679
  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);
5652
5680
  if (!o)
5653
5681
  return null;
5654
- var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? Ia(s, function(c) {
5682
+ var a = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? ka(s, function(c) {
5655
5683
  return c.test(a);
5656
- }) : Da(s, function(c) {
5684
+ }) : Ua(s, function(c) {
5657
5685
  return c.test(a);
5658
5686
  }), u;
5659
5687
  u = e.valueCallback ? e.valueCallback(l) : l, u = r.valueCallback ? r.valueCallback(u) : u;
@@ -5664,17 +5692,17 @@ function De(e) {
5664
5692
  };
5665
5693
  };
5666
5694
  }
5667
- function Da(e, t) {
5695
+ function Ua(e, t) {
5668
5696
  for (var r in e)
5669
5697
  if (e.hasOwnProperty(r) && t(e[r]))
5670
5698
  return r;
5671
5699
  }
5672
- function Ia(e, t) {
5700
+ function ka(e, t) {
5673
5701
  for (var r = 0; r < e.length; r++)
5674
5702
  if (t(e[r]))
5675
5703
  return r;
5676
5704
  }
5677
- function La(e) {
5705
+ function Fa(e) {
5678
5706
  return function(t) {
5679
5707
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.match(e.matchPattern);
5680
5708
  if (!n)
@@ -5691,37 +5719,37 @@ function La(e) {
5691
5719
  };
5692
5720
  };
5693
5721
  }
5694
- var Ua = /^(\d+)(th|st|nd|rd)?/i, ka = /\d+/i, Fa = {
5722
+ var $a = /^(\d+)(th|st|nd|rd)?/i, Ga = /\d+/i, ja = {
5695
5723
  narrow: /^(b|a)/i,
5696
5724
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
5697
5725
  wide: /^(before christ|before common era|anno domini|common era)/i
5698
- }, $a = {
5726
+ }, Wa = {
5699
5727
  any: [/^b/i, /^(a|c)/i]
5700
- }, Ga = {
5728
+ }, Va = {
5701
5729
  narrow: /^[1234]/i,
5702
5730
  abbreviated: /^q[1234]/i,
5703
5731
  wide: /^[1234](th|st|nd|rd)? quarter/i
5704
- }, ja = {
5732
+ }, Ya = {
5705
5733
  any: [/1/i, /2/i, /3/i, /4/i]
5706
- }, Wa = {
5734
+ }, Xa = {
5707
5735
  narrow: /^[jfmasond]/i,
5708
5736
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
5709
5737
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
5710
- }, Va = {
5738
+ }, qa = {
5711
5739
  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],
5712
5740
  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]
5713
- }, Ya = {
5741
+ }, za = {
5714
5742
  narrow: /^[smtwf]/i,
5715
5743
  short: /^(su|mo|tu|we|th|fr|sa)/i,
5716
5744
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
5717
5745
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
5718
- }, Xa = {
5746
+ }, Qa = {
5719
5747
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
5720
5748
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
5721
- }, qa = {
5749
+ }, Za = {
5722
5750
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
5723
5751
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
5724
- }, za = {
5752
+ }, Ja = {
5725
5753
  any: {
5726
5754
  am: /^a/i,
5727
5755
  pm: /^p/i,
@@ -5732,114 +5760,114 @@ var Ua = /^(\d+)(th|st|nd|rd)?/i, ka = /\d+/i, Fa = {
5732
5760
  evening: /evening/i,
5733
5761
  night: /night/i
5734
5762
  }
5735
- }, Qa = {
5736
- ordinalNumber: La({
5737
- matchPattern: Ua,
5738
- parsePattern: ka,
5763
+ }, Ka = {
5764
+ ordinalNumber: Fa({
5765
+ matchPattern: $a,
5766
+ parsePattern: Ga,
5739
5767
  valueCallback: function(t) {
5740
5768
  return parseInt(t, 10);
5741
5769
  }
5742
5770
  }),
5743
- era: De({
5744
- matchPatterns: Fa,
5771
+ era: Le({
5772
+ matchPatterns: ja,
5745
5773
  defaultMatchWidth: "wide",
5746
- parsePatterns: $a,
5774
+ parsePatterns: Wa,
5747
5775
  defaultParseWidth: "any"
5748
5776
  }),
5749
- quarter: De({
5750
- matchPatterns: Ga,
5777
+ quarter: Le({
5778
+ matchPatterns: Va,
5751
5779
  defaultMatchWidth: "wide",
5752
- parsePatterns: ja,
5780
+ parsePatterns: Ya,
5753
5781
  defaultParseWidth: "any",
5754
5782
  valueCallback: function(t) {
5755
5783
  return t + 1;
5756
5784
  }
5757
5785
  }),
5758
- month: De({
5759
- matchPatterns: Wa,
5786
+ month: Le({
5787
+ matchPatterns: Xa,
5760
5788
  defaultMatchWidth: "wide",
5761
- parsePatterns: Va,
5789
+ parsePatterns: qa,
5762
5790
  defaultParseWidth: "any"
5763
5791
  }),
5764
- day: De({
5765
- matchPatterns: Ya,
5792
+ day: Le({
5793
+ matchPatterns: za,
5766
5794
  defaultMatchWidth: "wide",
5767
- parsePatterns: Xa,
5795
+ parsePatterns: Qa,
5768
5796
  defaultParseWidth: "any"
5769
5797
  }),
5770
- dayPeriod: De({
5771
- matchPatterns: qa,
5798
+ dayPeriod: Le({
5799
+ matchPatterns: Za,
5772
5800
  defaultMatchWidth: "any",
5773
- parsePatterns: za,
5801
+ parsePatterns: Ja,
5774
5802
  defaultParseWidth: "any"
5775
5803
  })
5776
- }, Za = {
5804
+ }, es = {
5777
5805
  code: "en-US",
5778
- formatDistance: wa,
5779
- formatLong: xa,
5780
- formatRelative: Sa,
5781
- localize: Na,
5782
- match: Qa,
5806
+ formatDistance: Ta,
5807
+ formatLong: Ca,
5808
+ formatRelative: Pa,
5809
+ localize: La,
5810
+ match: Ka,
5783
5811
  options: {
5784
5812
  weekStartsOn: 0,
5785
5813
  firstWeekContainsDate: 1
5786
5814
  }
5787
- }, Ja = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ka = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, es = /^'([^]*?)'?$/, ts = /''/g, rs = /[a-zA-Z]/;
5788
- function ns(e, t, r) {
5815
+ }, ts = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, rs = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ns = /^'([^]*?)'?$/, is = /''/g, os = /[a-zA-Z]/;
5816
+ function as(e, t, r) {
5789
5817
  var n, i, o, a, s, l, u, h, c, f, d, v, y, B;
5790
5818
  F(2, arguments);
5791
- var U = String(t), N = lt(), S = (n = (i = void 0) !== null && i !== void 0 ? i : N.locale) !== null && n !== void 0 ? n : Za, A = me((o = (a = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : N.firstWeekContainsDate) !== null && a !== void 0 ? a : (u = N.locale) === null || u === void 0 || (h = u.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
5819
+ var U = String(t), N = ft(), S = (n = (i = void 0) !== null && i !== void 0 ? i : N.locale) !== null && n !== void 0 ? n : es, A = de((o = (a = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : N.firstWeekContainsDate) !== null && a !== void 0 ? a : (u = N.locale) === null || u === void 0 || (h = u.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
5792
5820
  if (!(A >= 1 && A <= 7))
5793
5821
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
5794
- var D = me((c = (f = (d = (v = void 0) !== null && v !== void 0 ? v : void 0) !== null && d !== void 0 ? d : N.weekStartsOn) !== null && f !== void 0 ? f : (y = N.locale) === null || y === void 0 || (B = y.options) === null || B === void 0 ? void 0 : B.weekStartsOn) !== null && c !== void 0 ? c : 0);
5822
+ var D = de((c = (f = (d = (v = void 0) !== null && v !== void 0 ? v : void 0) !== null && d !== void 0 ? d : N.weekStartsOn) !== null && f !== void 0 ? f : (y = N.locale) === null || y === void 0 || (B = y.options) === null || B === void 0 ? void 0 : B.weekStartsOn) !== null && c !== void 0 ? c : 0);
5795
5823
  if (!(D >= 0 && D <= 6))
5796
5824
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
5797
5825
  if (!S.localize)
5798
5826
  throw new RangeError("locale must contain localize property");
5799
5827
  if (!S.formatLong)
5800
5828
  throw new RangeError("locale must contain formatLong property");
5801
- var L = ie(e);
5802
- if (!ra(L))
5829
+ var L = oe(e);
5830
+ if (!oa(L))
5803
5831
  throw new RangeError("Invalid time value");
5804
- var J = ea(L), he = na(L, J), K = {
5832
+ var J = na(L), he = aa(L, J), K = {
5805
5833
  firstWeekContainsDate: A,
5806
5834
  weekStartsOn: D,
5807
5835
  locale: S,
5808
5836
  _originalDate: L
5809
- }, oe = U.match(Ka).map(function(x) {
5837
+ }, ae = U.match(rs).map(function(x) {
5810
5838
  var Q = x[0];
5811
5839
  if (Q === "p" || Q === "P") {
5812
- var $ = ma[Q];
5840
+ var $ = ga[Q];
5813
5841
  return $(x, S.formatLong);
5814
5842
  }
5815
5843
  return x;
5816
- }).join("").match(Ja).map(function(x) {
5844
+ }).join("").match(ts).map(function(x) {
5817
5845
  if (x === "''")
5818
5846
  return "'";
5819
5847
  var Q = x[0];
5820
5848
  if (Q === "'")
5821
- return is(x);
5822
- var $ = ca[Q];
5849
+ return ss(x);
5850
+ var $ = ba[Q];
5823
5851
  if ($)
5824
- return va(x) && Tr(x, t, String(e)), ga(x) && Tr(x, t, String(e)), $(he, x, S.localize, K);
5825
- if (Q.match(rs))
5852
+ return _a(x) && xr(x, t, String(e)), wa(x) && xr(x, t, String(e)), $(he, x, S.localize, K);
5853
+ if (Q.match(os))
5826
5854
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + Q + "`");
5827
5855
  return x;
5828
5856
  }).join("");
5829
- return oe;
5857
+ return ae;
5830
5858
  }
5831
- function is(e) {
5832
- var t = e.match(es);
5833
- return t ? t[1].replace(ts, "'") : e;
5859
+ function ss(e) {
5860
+ var t = e.match(ns);
5861
+ return t ? t[1].replace(is, "'") : e;
5834
5862
  }
5835
- function os(e) {
5836
- Tn(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}");
5863
+ function us(e) {
5864
+ xn(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}");
5837
5865
  }
5838
- function xr(e) {
5866
+ function Br(e) {
5839
5867
  let t, r, n;
5840
5868
  return {
5841
5869
  c() {
5842
- t = E("div"), r = E("img"), p(r, "class", "BonusImage"), Qt(r.src, n = /*termsandconditionsasset*/
5870
+ t = E("div"), r = E("img"), p(r, "class", "BonusImage"), Zt(r.src, n = /*termsandconditionsasset*/
5843
5871
  e[11]) || p(r, "src", n), p(
5844
5872
  r,
5845
5873
  "alt",
@@ -5848,11 +5876,11 @@ function xr(e) {
5848
5876
  ), p(t, "class", "BonusCardRow BonusCardRowRemovePadding");
5849
5877
  },
5850
5878
  m(i, o) {
5851
- ne(i, t, o), m(t, r);
5879
+ ie(i, t, o), m(t, r);
5852
5880
  },
5853
5881
  p(i, o) {
5854
5882
  o[0] & /*termsandconditionsasset*/
5855
- 2048 && !Qt(r.src, n = /*termsandconditionsasset*/
5883
+ 2048 && !Zt(r.src, n = /*termsandconditionsasset*/
5856
5884
  i[11]) && p(r, "src", n), o[0] & /*termsandconditionsdescription*/
5857
5885
  4096 && p(
5858
5886
  r,
@@ -5866,7 +5894,7 @@ function xr(e) {
5866
5894
  }
5867
5895
  };
5868
5896
  }
5869
- function Br(e) {
5897
+ function Sr(e) {
5870
5898
  let t, r, n = (
5871
5899
  /*$_*/
5872
5900
  e[18]("expirationDate") + ""
@@ -5883,7 +5911,7 @@ function Br(e) {
5883
5911
  e[18]("expirationDate")}`);
5884
5912
  },
5885
5913
  m(h, c) {
5886
- ne(h, t, c), m(t, r), m(r, i), m(t, o), m(t, a), m(a, l);
5914
+ ie(h, t, c), m(t, r), m(r, i), m(t, o), m(t, a), m(a, l);
5887
5915
  },
5888
5916
  p(h, c) {
5889
5917
  c[0] & /*$_*/
@@ -5902,7 +5930,7 @@ function Br(e) {
5902
5930
  }
5903
5931
  };
5904
5932
  }
5905
- function Sr(e) {
5933
+ function Cr(e) {
5906
5934
  let t, r, n = (
5907
5935
  /*$_*/
5908
5936
  e[18]("bonusAmount") + ""
@@ -5922,7 +5950,7 @@ function Sr(e) {
5922
5950
  e[18]("bonusAmount")}`);
5923
5951
  },
5924
5952
  m(f, d) {
5925
- ne(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
5953
+ ie(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
5926
5954
  },
5927
5955
  p(f, d) {
5928
5956
  d[0] & /*$_*/
@@ -5946,7 +5974,7 @@ function Sr(e) {
5946
5974
  }
5947
5975
  };
5948
5976
  }
5949
- function Cr(e) {
5977
+ function Or(e) {
5950
5978
  let t, r, n = (
5951
5979
  /*$_*/
5952
5980
  e[18]("wageringAmount") + ""
@@ -5967,7 +5995,7 @@ function Cr(e) {
5967
5995
  e[4]}`);
5968
5996
  },
5969
5997
  m(f, d) {
5970
- ne(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
5998
+ ie(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
5971
5999
  },
5972
6000
  p(f, d) {
5973
6001
  d[0] & /*$_*/
@@ -5992,7 +6020,7 @@ function Cr(e) {
5992
6020
  }
5993
6021
  };
5994
6022
  }
5995
- function Or(e) {
6023
+ function Pr(e) {
5996
6024
  let t, r, n = (
5997
6025
  /*$_*/
5998
6026
  e[18]("remainingBonus") + ""
@@ -6012,7 +6040,7 @@ function Or(e) {
6012
6040
  e[18]("remainingBonus")}`);
6013
6041
  },
6014
6042
  m(f, d) {
6015
- ne(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
6043
+ ie(f, t, d), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s), m(a, l), m(a, h);
6016
6044
  },
6017
6045
  p(f, d) {
6018
6046
  d[0] & /*$_*/
@@ -6036,7 +6064,7 @@ function Or(e) {
6036
6064
  }
6037
6065
  };
6038
6066
  }
6039
- function Pr(e) {
6067
+ function Ar(e) {
6040
6068
  let t, r, n = (
6041
6069
  /*$_*/
6042
6070
  e[18]("freeSpins") + ""
@@ -6050,7 +6078,7 @@ function Pr(e) {
6050
6078
  e[18]("freeSpins")}`);
6051
6079
  },
6052
6080
  m(u, h) {
6053
- ne(u, t, h), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s);
6081
+ ie(u, t, h), m(t, r), m(r, i), m(t, o), m(t, a), m(a, s);
6054
6082
  },
6055
6083
  p(u, h) {
6056
6084
  h[0] & /*$_*/
@@ -6069,7 +6097,7 @@ function Pr(e) {
6069
6097
  }
6070
6098
  };
6071
6099
  }
6072
- function Ar(e) {
6100
+ function Hr(e) {
6073
6101
  let t, r, n = (
6074
6102
  /*$_*/
6075
6103
  e[18]("termsConditionsLink") + ""
@@ -6085,7 +6113,7 @@ function Ar(e) {
6085
6113
  e[18]("termsConditionsLink")}`);
6086
6114
  },
6087
6115
  m(a, s) {
6088
- ne(a, t, s), m(t, r), m(r, i);
6116
+ ie(a, t, s), m(t, r), m(r, i);
6089
6117
  },
6090
6118
  p(a, s) {
6091
6119
  s[0] & /*$_*/
@@ -6105,7 +6133,7 @@ function Ar(e) {
6105
6133
  }
6106
6134
  };
6107
6135
  }
6108
- function Hr(e) {
6136
+ function Mr(e) {
6109
6137
  let t, r = (
6110
6138
  /*$_*/
6111
6139
  e[18]("forfeitBonusButton") + ""
@@ -6116,7 +6144,7 @@ function Hr(e) {
6116
6144
  (e[19] ? "DeleteBonusMobile" : ""));
6117
6145
  },
6118
6146
  m(a, s) {
6119
- ne(a, t, s), m(t, n), i || (o = Sn(
6147
+ ie(a, t, s), m(t, n), i || (o = Cn(
6120
6148
  t,
6121
6149
  "click",
6122
6150
  /*deleteBonus*/
@@ -6133,7 +6161,7 @@ function Hr(e) {
6133
6161
  }
6134
6162
  };
6135
6163
  }
6136
- function as(e) {
6164
+ function ls(e) {
6137
6165
  let t, r, n, i, o = (
6138
6166
  /*$_*/
6139
6167
  e[18]("date") + ""
@@ -6150,55 +6178,55 @@ function as(e) {
6150
6178
  ), v, y, B, U, N, S, A, D, L = (
6151
6179
  /*$_*/
6152
6180
  e[18]("bonusName") + ""
6153
- ), J, he, K, oe, x, Q, $, fe, ce = (
6181
+ ), J, he, K, ae, x, Q, $, be, fe = (
6154
6182
  /*$_*/
6155
6183
  e[18]("bonusType") + ""
6156
- ), He, je, pe, ge = (
6184
+ ), pe, Ve, ge, ve = (
6157
6185
  /*$_*/
6158
6186
  e[18](`${/*bonustype*/
6159
6187
  e[4]}`) + ""
6160
- ), Me, b, ae, ve, ht, ft, ct, Wt, G = (
6188
+ ), Ne, ye, b, re, we, ct, dt, Vt, G = (
6161
6189
  /*showBonusImage*/
6162
- e[16] === !0 && xr(e)
6190
+ e[16] === !0 && Br(e)
6163
6191
  ), j = (
6164
6192
  /*bonusexpirationdate*/
6165
- e[1] && Br(e)
6193
+ e[1] && Sr(e)
6166
6194
  ), W = (
6167
6195
  /*bonusamount*/
6168
- e[5] && Sr(e)
6196
+ e[5] && Cr(e)
6169
6197
  ), V = (
6170
6198
  /*bonuswageringamount*/
6171
6199
  e[6] && !/*isHiddenWageringBonus*/
6172
- e[17] && Cr(e)
6200
+ e[17] && Or(e)
6173
6201
  ), Y = (
6174
6202
  /*bonusremainingamount*/
6175
- e[7] && Or(e)
6203
+ e[7] && Pr(e)
6176
6204
  ), X = (
6177
6205
  /*bonusfreespins*/
6178
- e[9] && Pr(e)
6206
+ e[9] && Ar(e)
6179
6207
  ), q = (
6180
6208
  /*showtermsandconditions*/
6181
- e[15] && Ar(e)
6209
+ e[15] && Hr(e)
6182
6210
  ), z = (
6183
6211
  /*bonusstatus*/
6184
- e[2] === "active" && Hr(e)
6212
+ e[2] === "active" && Mr(e)
6185
6213
  );
6186
6214
  return {
6187
6215
  c() {
6188
- t = E("div"), r = E("div"), n = E("div"), i = E("p"), a = P(o), s = M(), l = E("span"), h = P(u), c = M(), f = E("p"), v = P(d), U = M(), G && G.c(), N = M(), j && j.c(), S = M(), A = E("div"), D = E("p"), J = P(L), he = M(), K = E("p"), oe = P(
6216
+ t = E("div"), r = E("div"), n = E("div"), i = E("p"), a = P(o), s = M(), l = E("span"), h = P(u), c = M(), f = E("p"), v = P(d), U = M(), G && G.c(), N = M(), j && j.c(), S = M(), A = E("div"), D = E("p"), J = P(L), he = M(), K = E("p"), ae = P(
6189
6217
  /*bonusname*/
6190
6218
  e[3]
6191
- ), Q = M(), $ = E("div"), fe = E("p"), He = P(ce), je = M(), pe = E("p"), Me = P(ge), ae = M(), W && W.c(), ve = M(), V && V.c(), ht = M(), Y && Y.c(), ft = M(), X && X.c(), ct = M(), q && q.c(), Wt = M(), z && z.c(), p(i, "class", "BonusCardRowTitle"), p(f, "class", y = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6219
+ ), Q = M(), $ = E("div"), be = E("p"), pe = P(fe), Ve = M(), ge = E("p"), Ne = P(ve), b = M(), W && W.c(), re = M(), V && V.c(), we = M(), Y && Y.c(), ct = M(), X && X.c(), dt = M(), q && q.c(), Vt = M(), z && z.c(), p(i, "class", "BonusCardRowTitle"), p(f, "class", y = "BonusCardRowText BonusCardStatus TextCapitalize " + /*bonusstatus*/
6192
6220
  (e[2] === "active" || /*bonusstatus*/
6193
6221
  e[2] === "released" ? "StatusActive" : "") + " " + /*bonusstatus*/
6194
6222
  (e[2] === "expired" ? "StatusExpired" : "") + " " + /*bonusstatus*/
6195
6223
  (e[2] === "forfeited" ? "StatusForfeited" : "")), p(n, "class", B = `BonusCardRow Date ${/*$_*/
6196
6224
  e[18]("date")}`), p(D, "class", "BonusCardRowTitle"), p(K, "class", "BonusCardRowText"), p(A, "class", x = `BonusCardRow ${/*$_*/
6197
- e[18]("bonusName")}`), p(fe, "class", "BonusCardRowTitle"), p(pe, "class", "BonusCardRowText TextCapitalize"), p($, "class", b = `BonusCardRow ${/*$_*/
6225
+ e[18]("bonusName")}`), p(be, "class", "BonusCardRowTitle"), p(ge, "class", "BonusCardRowText TextCapitalize"), p($, "class", ye = `BonusCardRow ${/*$_*/
6198
6226
  e[18]("bonusType")}`), p(r, "class", "BonusCardInfo"), p(t, "class", "BonusCard");
6199
6227
  },
6200
6228
  m(g, I) {
6201
- ne(g, t, I), m(t, r), m(r, n), m(n, i), m(i, a), m(i, s), m(i, l), m(l, h), m(n, c), m(n, f), m(f, v), m(r, U), G && G.m(r, null), m(r, N), j && j.m(r, null), m(r, S), m(r, A), m(A, D), m(D, J), m(A, he), m(A, K), m(K, oe), m(r, Q), m(r, $), m($, fe), m(fe, He), m($, je), m($, pe), m(pe, Me), m(r, ae), W && W.m(r, null), m(r, ve), V && V.m(r, null), m(r, ht), Y && Y.m(r, null), m(r, ft), X && X.m(r, null), m(r, ct), q && q.m(r, null), m(t, Wt), z && z.m(t, null), e[30](t);
6229
+ ie(g, t, I), m(t, r), m(r, n), m(n, i), m(i, a), m(i, s), m(i, l), m(l, h), m(n, c), m(n, f), m(f, v), m(r, U), G && G.m(r, null), m(r, N), j && j.m(r, null), m(r, S), m(r, A), m(A, D), m(D, J), m(A, he), m(A, K), m(K, ae), m(r, Q), m(r, $), m($, be), m(be, pe), m($, Ve), m($, ge), m(ge, Ne), m(r, b), W && W.m(r, null), m(r, re), V && V.m(r, null), m(r, we), Y && Y.m(r, null), m(r, ct), X && X.m(r, null), m(r, dt), q && q.m(r, null), m(t, Vt), z && z.m(t, null), e[30](t);
6202
6230
  },
6203
6231
  p(g, I) {
6204
6232
  I[0] & /*$_*/
@@ -6219,31 +6247,31 @@ function as(e) {
6219
6247
  (g[2] === "forfeited" ? "StatusForfeited" : "")) && p(f, "class", y), I[0] & /*$_*/
6220
6248
  262144 && B !== (B = `BonusCardRow Date ${/*$_*/
6221
6249
  g[18]("date")}`) && p(n, "class", B), /*showBonusImage*/
6222
- g[16] === !0 ? G ? G.p(g, I) : (G = xr(g), G.c(), G.m(r, N)) : G && (G.d(1), G = null), /*bonusexpirationdate*/
6223
- g[1] ? j ? j.p(g, I) : (j = Br(g), j.c(), j.m(r, S)) : j && (j.d(1), j = null), I[0] & /*$_*/
6250
+ g[16] === !0 ? G ? G.p(g, I) : (G = Br(g), G.c(), G.m(r, N)) : G && (G.d(1), G = null), /*bonusexpirationdate*/
6251
+ g[1] ? j ? j.p(g, I) : (j = Sr(g), j.c(), j.m(r, S)) : j && (j.d(1), j = null), I[0] & /*$_*/
6224
6252
  262144 && L !== (L = /*$_*/
6225
6253
  g[18]("bonusName") + "") && R(J, L), I[0] & /*bonusname*/
6226
6254
  8 && R(
6227
- oe,
6255
+ ae,
6228
6256
  /*bonusname*/
6229
6257
  g[3]
6230
6258
  ), I[0] & /*$_*/
6231
6259
  262144 && x !== (x = `BonusCardRow ${/*$_*/
6232
6260
  g[18]("bonusName")}`) && p(A, "class", x), I[0] & /*$_*/
6233
- 262144 && ce !== (ce = /*$_*/
6234
- g[18]("bonusType") + "") && R(He, ce), I[0] & /*$_, bonustype*/
6235
- 262160 && ge !== (ge = /*$_*/
6261
+ 262144 && fe !== (fe = /*$_*/
6262
+ g[18]("bonusType") + "") && R(pe, fe), I[0] & /*$_, bonustype*/
6263
+ 262160 && ve !== (ve = /*$_*/
6236
6264
  g[18](`${/*bonustype*/
6237
- g[4]}`) + "") && R(Me, ge), I[0] & /*$_*/
6238
- 262144 && b !== (b = `BonusCardRow ${/*$_*/
6239
- g[18]("bonusType")}`) && p($, "class", b), /*bonusamount*/
6240
- g[5] ? W ? W.p(g, I) : (W = Sr(g), W.c(), W.m(r, ve)) : W && (W.d(1), W = null), /*bonuswageringamount*/
6265
+ g[4]}`) + "") && R(Ne, ve), I[0] & /*$_*/
6266
+ 262144 && ye !== (ye = `BonusCardRow ${/*$_*/
6267
+ g[18]("bonusType")}`) && p($, "class", ye), /*bonusamount*/
6268
+ g[5] ? W ? W.p(g, I) : (W = Cr(g), W.c(), W.m(r, re)) : W && (W.d(1), W = null), /*bonuswageringamount*/
6241
6269
  g[6] && !/*isHiddenWageringBonus*/
6242
- g[17] ? V ? V.p(g, I) : (V = Cr(g), V.c(), V.m(r, ht)) : V && (V.d(1), V = null), /*bonusremainingamount*/
6243
- g[7] ? Y ? Y.p(g, I) : (Y = Or(g), Y.c(), Y.m(r, ft)) : Y && (Y.d(1), Y = null), /*bonusfreespins*/
6244
- g[9] ? X ? X.p(g, I) : (X = Pr(g), X.c(), X.m(r, ct)) : X && (X.d(1), X = null), /*showtermsandconditions*/
6245
- g[15] ? q ? q.p(g, I) : (q = Ar(g), q.c(), q.m(r, null)) : q && (q.d(1), q = null), /*bonusstatus*/
6246
- g[2] === "active" ? z ? z.p(g, I) : (z = Hr(g), z.c(), z.m(t, null)) : z && (z.d(1), z = null);
6270
+ g[17] ? V ? V.p(g, I) : (V = Or(g), V.c(), V.m(r, we)) : V && (V.d(1), V = null), /*bonusremainingamount*/
6271
+ g[7] ? Y ? Y.p(g, I) : (Y = Pr(g), Y.c(), Y.m(r, ct)) : Y && (Y.d(1), Y = null), /*bonusfreespins*/
6272
+ g[9] ? X ? X.p(g, I) : (X = Ar(g), X.c(), X.m(r, dt)) : X && (X.d(1), X = null), /*showtermsandconditions*/
6273
+ g[15] ? q ? q.p(g, I) : (q = Hr(g), q.c(), q.m(r, null)) : q && (q.d(1), q = null), /*bonusstatus*/
6274
+ g[2] === "active" ? z ? z.p(g, I) : (z = Mr(g), z.c(), z.m(t, null)) : z && (z.d(1), z = null);
6247
6275
  },
6248
6276
  i: ee,
6249
6277
  o: ee,
@@ -6252,45 +6280,45 @@ function as(e) {
6252
6280
  }
6253
6281
  };
6254
6282
  }
6255
- function ss(e, t, r) {
6283
+ function hs(e, t, r) {
6256
6284
  let n, i;
6257
- En(e, Yo, (b) => r(18, i = b));
6258
- let { bonuswalletid: o = "" } = t, { bonusdate: a = "" } = t, { bonusexpirationdate: s = "" } = t, { bonusstatus: l = "" } = t, { bonusname: u = "" } = t, { bonustype: h = "" } = t, { bonusamount: c = "" } = t, { bonuswageringamount: f = "" } = t, { bonusremainingamount: d = "" } = t, { bonuscurrency: v = "" } = t, { bonusfreespins: y = "" } = t, { lang: B = "en" } = t, { clientstyling: U = "" } = t, { clientstylingurl: N = "" } = t, { mbsource: S } = t, { translationurl: A = "" } = t, { termsandconditionsurl: D = "" } = t, { termsandconditionsasset: L = "" } = t, { termsandconditionsdescription: J = "" } = t, { currencylocale: he = "" } = t, { dateformat: K = "" } = t, { ishiddenwageringbonus: oe = "false" } = t, x, Q = window.navigator.userAgent, $ = Xo(Q) !== "PC", fe = !1, ce = !0;
6259
- const He = () => {
6260
- fetch(A).then((ae) => ae.json()).then((ae) => {
6261
- Object.keys(ae).forEach((ve) => {
6262
- vr(ve, ae[ve]);
6285
+ Tn(e, Xo, (b) => r(18, i = b));
6286
+ let { bonuswalletid: o = "" } = t, { bonusdate: a = "" } = t, { bonusexpirationdate: s = "" } = t, { bonusstatus: l = "" } = t, { bonusname: u = "" } = t, { bonustype: h = "" } = t, { bonusamount: c = "" } = t, { bonuswageringamount: f = "" } = t, { bonusremainingamount: d = "" } = t, { bonuscurrency: v = "" } = t, { bonusfreespins: y = "" } = t, { lang: B = "en" } = t, { clientstyling: U = "" } = t, { clientstylingurl: N = "" } = t, { mbsource: S } = t, { translationurl: A = "" } = t, { termsandconditionsurl: D = "" } = t, { termsandconditionsasset: L = "" } = t, { termsandconditionsdescription: J = "" } = t, { currencylocale: he = "" } = t, { dateformat: K = "" } = t, { ishiddenwageringbonus: ae = "false" } = t, x, Q, $ = window.navigator.userAgent, be = qo($) !== "PC", fe = !1, pe = !0;
6287
+ const Ve = () => {
6288
+ fetch(A).then((re) => re.json()).then((re) => {
6289
+ Object.keys(re).forEach((we) => {
6290
+ yr(we, re[we]);
6263
6291
  });
6264
- }).catch((ae) => {
6265
- console.log(ae);
6292
+ }).catch((re) => {
6293
+ console.log(re);
6266
6294
  });
6267
6295
  };
6268
- Object.keys(yr).forEach((b) => {
6269
- vr(b, yr[b]);
6296
+ Object.keys(wr).forEach((b) => {
6297
+ yr(b, wr[b]);
6270
6298
  });
6271
- const je = () => {
6299
+ const ge = () => {
6272
6300
  window.postMessage({ type: "DisableScroll" }, window.location.href), window.postMessage({ type: "DeleteActiveBonus", bonuswalletid: o }, window.location.href);
6273
- }, pe = (b) => ns(new Date(b), `${K || "dd/MM/yyyy"} h:mm a`), ge = () => {
6274
- qo(B);
6301
+ }, ve = (b) => as(new Date(b), `${K || "dd/MM/yyyy"} h:mm a`), Ne = () => {
6302
+ zo(B);
6275
6303
  };
6276
- An(() => () => {
6304
+ Hn(() => () => {
6277
6305
  });
6278
- function Me(b) {
6279
- Tt[b ? "unshift" : "push"](() => {
6306
+ function ye(b) {
6307
+ xt[b ? "unshift" : "push"](() => {
6280
6308
  x = b, r(14, x);
6281
6309
  });
6282
6310
  }
6283
6311
  return e.$$set = (b) => {
6284
- "bonuswalletid" in b && r(22, o = b.bonuswalletid), "bonusdate" in b && r(0, a = b.bonusdate), "bonusexpirationdate" in b && r(1, s = b.bonusexpirationdate), "bonusstatus" in b && r(2, l = b.bonusstatus), "bonusname" in b && r(3, u = b.bonusname), "bonustype" in b && r(4, h = b.bonustype), "bonusamount" in b && r(5, c = b.bonusamount), "bonuswageringamount" in b && r(6, f = b.bonuswageringamount), "bonusremainingamount" in b && r(7, d = b.bonusremainingamount), "bonuscurrency" in b && r(8, v = b.bonuscurrency), "bonusfreespins" in b && r(9, y = b.bonusfreespins), "lang" in b && r(23, B = b.lang), "clientstyling" in b && r(24, U = b.clientstyling), "clientstylingurl" in b && r(25, N = b.clientstylingurl), "mbsource" in b && r(26, S = b.mbsource), "translationurl" in b && r(27, A = b.translationurl), "termsandconditionsurl" in b && r(10, D = b.termsandconditionsurl), "termsandconditionsasset" in b && r(11, L = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(12, J = b.termsandconditionsdescription), "currencylocale" in b && r(13, he = b.currencylocale), "dateformat" in b && r(28, K = b.dateformat), "ishiddenwageringbonus" in b && r(29, oe = b.ishiddenwageringbonus);
6312
+ "bonuswalletid" in b && r(22, o = b.bonuswalletid), "bonusdate" in b && r(0, a = b.bonusdate), "bonusexpirationdate" in b && r(1, s = b.bonusexpirationdate), "bonusstatus" in b && r(2, l = b.bonusstatus), "bonusname" in b && r(3, u = b.bonusname), "bonustype" in b && r(4, h = b.bonustype), "bonusamount" in b && r(5, c = b.bonusamount), "bonuswageringamount" in b && r(6, f = b.bonuswageringamount), "bonusremainingamount" in b && r(7, d = b.bonusremainingamount), "bonuscurrency" in b && r(8, v = b.bonuscurrency), "bonusfreespins" in b && r(9, y = b.bonusfreespins), "lang" in b && r(23, B = b.lang), "clientstyling" in b && r(24, U = b.clientstyling), "clientstylingurl" in b && r(25, N = b.clientstylingurl), "mbsource" in b && r(26, S = b.mbsource), "translationurl" in b && r(27, A = b.translationurl), "termsandconditionsurl" in b && r(10, D = b.termsandconditionsurl), "termsandconditionsasset" in b && r(11, L = b.termsandconditionsasset), "termsandconditionsdescription" in b && r(12, J = b.termsandconditionsdescription), "currencylocale" in b && r(13, he = b.currencylocale), "dateformat" in b && r(28, K = b.dateformat), "ishiddenwageringbonus" in b && r(29, ae = b.ishiddenwageringbonus);
6285
6313
  }, e.$$.update = () => {
6286
6314
  e.$$.dirty[0] & /*lang*/
6287
- 8388608 && B && ge(), e.$$.dirty[0] & /*ishiddenwageringbonus*/
6288
- 536870912 && r(17, n = oe === "true"), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
6289
- 16793600 && U && x && zo(x, U), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
6290
- 33570816 && N && x && Qo(x, N), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
6291
- 67125248 && S && x && Zo(x, `${S}.Style`), e.$$.dirty[0] & /*translationurl*/
6292
- 134217728 && A && He(), e.$$.dirty[0] & /*termsandconditionsasset*/
6293
- 2048 && r(16, ce = !(L === null || L === "")), e.$$.dirty[0] & /*termsandconditionsurl*/
6315
+ 8388608 && B && Ne(), e.$$.dirty[0] & /*ishiddenwageringbonus*/
6316
+ 536870912 && r(17, n = ae === "true"), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
6317
+ 16793600 && U && x && Qo(x, U), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
6318
+ 33570816 && N && x && Zo(x, N), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
6319
+ 67125248 && S && x && Jo(x, `${S}.Style`, Q), e.$$.dirty[0] & /*translationurl*/
6320
+ 134217728 && A && Ve(), e.$$.dirty[0] & /*termsandconditionsasset*/
6321
+ 2048 && r(16, pe = !(L === null || L === "")), e.$$.dirty[0] & /*termsandconditionsurl*/
6294
6322
  1024 && r(15, fe = D !== null && D !== "");
6295
6323
  }, [
6296
6324
  a,
@@ -6309,12 +6337,12 @@ function ss(e, t, r) {
6309
6337
  he,
6310
6338
  x,
6311
6339
  fe,
6312
- ce,
6340
+ pe,
6313
6341
  n,
6314
6342
  i,
6315
- $,
6316
- je,
6317
- pe,
6343
+ be,
6344
+ ge,
6345
+ ve,
6318
6346
  o,
6319
6347
  B,
6320
6348
  U,
@@ -6322,18 +6350,18 @@ function ss(e, t, r) {
6322
6350
  S,
6323
6351
  A,
6324
6352
  K,
6325
- oe,
6326
- Me
6353
+ ae,
6354
+ ye
6327
6355
  ];
6328
6356
  }
6329
- class us extends Gn {
6357
+ class fs extends jn {
6330
6358
  constructor(t) {
6331
- super(), Fn(
6359
+ super(), $n(
6332
6360
  this,
6333
6361
  t,
6334
- ss,
6335
- as,
6336
- Rr,
6362
+ hs,
6363
+ ls,
6364
+ Nr,
6337
6365
  {
6338
6366
  bonuswalletid: 22,
6339
6367
  bonusdate: 0,
@@ -6358,7 +6386,7 @@ class us extends Gn {
6358
6386
  dateformat: 28,
6359
6387
  ishiddenwageringbonus: 29
6360
6388
  },
6361
- os,
6389
+ us,
6362
6390
  [-1, -1]
6363
6391
  );
6364
6392
  }
@@ -6495,7 +6523,7 @@ class us extends Gn {
6495
6523
  this.$$set({ ishiddenwageringbonus: t }), C();
6496
6524
  }
6497
6525
  }
6498
- $n(us, { bonuswalletid: {}, bonusdate: {}, bonusexpirationdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, bonusfreespins: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {}, dateformat: {}, ishiddenwageringbonus: {} }, [], [], !0);
6526
+ Gn(fs, { bonuswalletid: {}, bonusdate: {}, bonusexpirationdate: {}, bonusstatus: {}, bonusname: {}, bonustype: {}, bonusamount: {}, bonuswageringamount: {}, bonusremainingamount: {}, bonuscurrency: {}, bonusfreespins: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, termsandconditionsurl: {}, termsandconditionsasset: {}, termsandconditionsdescription: {}, currencylocale: {}, dateformat: {}, ishiddenwageringbonus: {} }, [], [], !0);
6499
6527
  export {
6500
- us as default
6528
+ fs as default
6501
6529
  };