@everymatrix/casino-betslip-indicator 1.77.26 → 1.77.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function H() {
2
2
  }
3
- function yt(e) {
3
+ function gt(e) {
4
4
  return e();
5
5
  }
6
- function Ze() {
6
+ function Je() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ee(e) {
10
- e.forEach(yt);
9
+ function K(e) {
10
+ e.forEach(gt);
11
11
  }
12
- function je(e) {
12
+ function We(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function gt(e, t) {
15
+ function _t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Yt(e) {
18
+ function qt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function qt(e, ...t) {
21
+ function Kt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -30,14 +30,14 @@ function qt(e, ...t) {
30
30
  function B(e, t) {
31
31
  e.appendChild(t);
32
32
  }
33
- function Kt(e, t, r) {
34
- const n = er(e);
33
+ function er(e, t, r) {
34
+ const n = tr(e);
35
35
  if (!n.getElementById(t)) {
36
36
  const i = F("style");
37
- i.id = t, i.textContent = r, tr(n, i);
37
+ i.id = t, i.textContent = r, rr(n, i);
38
38
  }
39
39
  }
40
- function er(e) {
40
+ function tr(e) {
41
41
  if (!e)
42
42
  return document;
43
43
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -47,48 +47,48 @@ function er(e) {
47
47
  t
48
48
  ) : e.ownerDocument;
49
49
  }
50
- function tr(e, t) {
50
+ function rr(e, t) {
51
51
  return B(
52
52
  /** @type {Document} */
53
53
  e.head || e,
54
54
  t
55
55
  ), t.sheet;
56
56
  }
57
- function te(e, t, r) {
57
+ function ee(e, t, r) {
58
58
  e.insertBefore(t, r || null);
59
59
  }
60
- function X(e) {
60
+ function V(e) {
61
61
  e.parentNode && e.parentNode.removeChild(e);
62
62
  }
63
63
  function F(e) {
64
64
  return document.createElement(e);
65
65
  }
66
- function N(e) {
66
+ function C(e) {
67
67
  return document.createElementNS("http://www.w3.org/2000/svg", e);
68
68
  }
69
- function vt(e) {
69
+ function xt(e) {
70
70
  return document.createTextNode(e);
71
71
  }
72
- function rr() {
73
- return vt(" ");
72
+ function nr() {
73
+ return xt(" ");
74
74
  }
75
- function nr(e, t, r, n) {
75
+ function ir(e, t, r, n) {
76
76
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
77
77
  }
78
78
  function E(e, t, r) {
79
79
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
80
80
  }
81
- function ir(e) {
81
+ function or(e) {
82
82
  return Array.from(e.childNodes);
83
83
  }
84
- function or(e, t) {
84
+ function sr(e, t) {
85
85
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
86
86
  t);
87
87
  }
88
- function sr(e, t, r, n) {
88
+ function ar(e, t, r, n) {
89
89
  e.style.setProperty(t, r, "");
90
90
  }
91
- function ar(e) {
91
+ function ur(e) {
92
92
  const t = {};
93
93
  return e.childNodes.forEach(
94
94
  /** @param {Element} node */
@@ -97,87 +97,87 @@ function ar(e) {
97
97
  }
98
98
  ), t;
99
99
  }
100
- let Y;
101
- function Q(e) {
102
- Y = e;
100
+ let J;
101
+ function Z(e) {
102
+ J = e;
103
103
  }
104
- function ur() {
105
- if (!Y)
104
+ function hr() {
105
+ if (!J)
106
106
  throw new Error("Function called outside component initialization");
107
- return Y;
107
+ return J;
108
108
  }
109
- function hr(e) {
110
- ur().$$.on_mount.push(e);
109
+ function lr(e) {
110
+ hr().$$.on_mount.push(e);
111
111
  }
112
- const R = [], Te = [];
112
+ const R = [], Ae = [];
113
113
  let U = [];
114
- const Qe = [], lr = /* @__PURE__ */ Promise.resolve();
115
- let Be = !1;
116
- function cr() {
117
- Be || (Be = !0, lr.then(J));
114
+ const Ye = [], cr = /* @__PURE__ */ Promise.resolve();
115
+ let Pe = !1;
116
+ function fr() {
117
+ Pe || (Pe = !0, cr.then(Q));
118
118
  }
119
- function Ae(e) {
119
+ function Oe(e) {
120
120
  U.push(e);
121
121
  }
122
- const ge = /* @__PURE__ */ new Set();
122
+ const _e = /* @__PURE__ */ new Set();
123
123
  let M = 0;
124
- function J() {
124
+ function Q() {
125
125
  if (M !== 0)
126
126
  return;
127
- const e = Y;
127
+ const e = J;
128
128
  do {
129
129
  try {
130
130
  for (; M < R.length; ) {
131
131
  const t = R[M];
132
- M++, Q(t), fr(t.$$);
132
+ M++, Z(t), mr(t.$$);
133
133
  }
134
134
  } catch (t) {
135
135
  throw R.length = 0, M = 0, t;
136
136
  }
137
- for (Q(null), R.length = 0, M = 0; Te.length; )
138
- Te.pop()();
137
+ for (Z(null), R.length = 0, M = 0; Ae.length; )
138
+ Ae.pop()();
139
139
  for (let t = 0; t < U.length; t += 1) {
140
140
  const r = U[t];
141
- ge.has(r) || (ge.add(r), r());
141
+ _e.has(r) || (_e.add(r), r());
142
142
  }
143
143
  U.length = 0;
144
144
  } while (R.length);
145
- for (; Qe.length; )
146
- Qe.pop()();
147
- Be = !1, ge.clear(), Q(e);
145
+ for (; Ye.length; )
146
+ Ye.pop()();
147
+ Pe = !1, _e.clear(), Z(e);
148
148
  }
149
- function fr(e) {
149
+ function mr(e) {
150
150
  if (e.fragment !== null) {
151
- e.update(), ee(e.before_update);
151
+ e.update(), K(e.before_update);
152
152
  const t = e.dirty;
153
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
153
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
154
154
  }
155
155
  }
156
- function mr(e) {
156
+ function pr(e) {
157
157
  const t = [], r = [];
158
158
  U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
159
159
  }
160
- const pr = /* @__PURE__ */ new Set();
161
- function dr(e, t) {
162
- e && e.i && (pr.delete(e), e.i(t));
160
+ const dr = /* @__PURE__ */ new Set();
161
+ function br(e, t) {
162
+ e && e.i && (dr.delete(e), e.i(t));
163
163
  }
164
- function br(e, t, r) {
164
+ function yr(e, t, r) {
165
165
  const { fragment: n, after_update: i } = e.$$;
166
- n && n.m(t, r), Ae(() => {
167
- const o = e.$$.on_mount.map(yt).filter(je);
168
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
169
- }), i.forEach(Ae);
166
+ n && n.m(t, r), Oe(() => {
167
+ const o = e.$$.on_mount.map(gt).filter(We);
168
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
169
+ }), i.forEach(Oe);
170
170
  }
171
- function yr(e, t) {
171
+ function vr(e, t) {
172
172
  const r = e.$$;
173
- r.fragment !== null && (mr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
+ r.fragment !== null && (pr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
174
  }
175
175
  function gr(e, t) {
176
- e.$$.dirty[0] === -1 && (R.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
176
+ e.$$.dirty[0] === -1 && (R.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
177
  }
178
- function vr(e, t, r, n, i, o, s = null, a = [-1]) {
179
- const h = Y;
180
- Q(e);
178
+ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
179
+ const h = J;
180
+ Z(e);
181
181
  const u = e.$$ = {
182
182
  fragment: null,
183
183
  ctx: [],
@@ -185,7 +185,7 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
185
185
  props: o,
186
186
  update: H,
187
187
  not_equal: i,
188
- bound: Ze(),
188
+ bound: Je(),
189
189
  // lifecycle
190
190
  on_mount: [],
191
191
  on_destroy: [],
@@ -194,7 +194,7 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
194
194
  after_update: [],
195
195
  context: new Map(t.context || (h ? h.$$.context : [])),
196
196
  // everything else
197
- callbacks: Ze(),
197
+ callbacks: Je(),
198
198
  dirty: a,
199
199
  skip_bound: !1,
200
200
  root: t.target || h.$$.root
@@ -202,20 +202,20 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
202
202
  s && s(u.root);
203
203
  let l = !1;
204
204
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
205
- const g = p.length ? p[0] : f;
206
- return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && gr(e, c)), f;
207
- }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
205
+ const y = p.length ? p[0] : f;
206
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && gr(e, c)), f;
207
+ }) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
208
208
  if (t.hydrate) {
209
- const c = ir(t.target);
210
- u.fragment && u.fragment.l(c), c.forEach(X);
209
+ const c = or(t.target);
210
+ u.fragment && u.fragment.l(c), c.forEach(V);
211
211
  } else
212
212
  u.fragment && u.fragment.c();
213
- t.intro && dr(e.$$.fragment), br(e, t.target, t.anchor), J();
213
+ t.intro && br(e.$$.fragment), yr(e, t.target, t.anchor), Q();
214
214
  }
215
- Q(h);
215
+ Z(h);
216
216
  }
217
- let xt;
218
- typeof HTMLElement == "function" && (xt = class extends HTMLElement {
217
+ let Et;
218
+ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
219
219
  /** The Svelte component constructor */
220
220
  $$ctor;
221
221
  /** Slots */
@@ -264,17 +264,17 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
264
264
  * @param {HTMLElement} [anchor]
265
265
  */
266
266
  m: function(h, u) {
267
- te(h, o, u);
267
+ ee(h, o, u);
268
268
  },
269
269
  d: function(h) {
270
- h && X(o);
270
+ h && V(o);
271
271
  }
272
272
  };
273
273
  };
274
274
  };
275
275
  if (await Promise.resolve(), !this.$$cn || this.$$c)
276
276
  return;
277
- const t = {}, r = ar(this);
277
+ const t = {}, r = ur(this);
278
278
  for (const i of this.$$s)
279
279
  i in r && (t[i] = [e(i)]);
280
280
  for (const i of this.attributes) {
@@ -362,7 +362,7 @@ function ae(e, t, r, n) {
362
362
  }
363
363
  }
364
364
  function xr(e, t, r, n, i, o) {
365
- let s = class extends xt {
365
+ let s = class extends Et {
366
366
  constructor() {
367
367
  super(e, r, i), this.$$p_d = t;
368
368
  }
@@ -390,7 +390,7 @@ function xr(e, t, r, n, i, o) {
390
390
  }), e.element = /** @type {any} */
391
391
  s, s;
392
392
  }
393
- class _r {
393
+ class Er {
394
394
  /**
395
395
  * ### PRIVATE API
396
396
  *
@@ -409,7 +409,7 @@ class _r {
409
409
  $$set = void 0;
410
410
  /** @returns {void} */
411
411
  $destroy() {
412
- yr(this, 1), this.$destroy = H;
412
+ vr(this, 1), this.$destroy = H;
413
413
  }
414
414
  /**
415
415
  * @template {Extract<keyof Events, string>} K
@@ -418,7 +418,7 @@ class _r {
418
418
  * @returns {() => void}
419
419
  */
420
420
  $on(t, r) {
421
- if (!je(r))
421
+ if (!We(r))
422
422
  return H;
423
423
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
424
424
  return n.push(r), () => {
@@ -431,11 +431,11 @@ class _r {
431
431
  * @returns {void}
432
432
  */
433
433
  $set(t) {
434
- this.$$set && !Yt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
+ this.$$set && !qt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
435
  }
436
436
  }
437
- const Er = "4";
438
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
437
+ const Sr = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
439
439
  /*! *****************************************************************************
440
440
  Copyright (c) Microsoft Corporation.
441
441
 
@@ -450,43 +450,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
450
450
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
451
451
  PERFORMANCE OF THIS SOFTWARE.
452
452
  ***************************************************************************** */
453
- var Pe = function(e, t) {
454
- return Pe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
453
+ var Ie = function(e, t) {
454
+ return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
455
455
  r.__proto__ = n;
456
456
  } || function(r, n) {
457
457
  for (var i in n)
458
458
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
459
- }, Pe(e, t);
459
+ }, Ie(e, t);
460
460
  };
461
- function P(e, t) {
461
+ function te(e, t) {
462
462
  if (typeof t != "function" && t !== null)
463
463
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
464
- Pe(e, t);
464
+ Ie(e, t);
465
465
  function r() {
466
466
  this.constructor = e;
467
467
  }
468
468
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
469
469
  }
470
- var y = function() {
471
- return y = Object.assign || function(t) {
472
- for (var r, n = 1, i = arguments.length; n < i; n++) {
473
- r = arguments[n];
474
- for (var o in r)
475
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
476
- }
477
- return t;
478
- }, y.apply(this, arguments);
479
- };
480
- function Sr(e, t) {
481
- var r = {};
482
- for (var n in e)
483
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
484
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
485
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
486
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
487
- return r;
488
- }
489
- function Oe(e) {
470
+ function Ne(e) {
490
471
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
491
472
  if (r)
492
473
  return r.call(e);
@@ -498,7 +479,7 @@ function Oe(e) {
498
479
  };
499
480
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
500
481
  }
501
- function Ie(e, t) {
482
+ function Ce(e, t) {
502
483
  var r = typeof Symbol == "function" && e[Symbol.iterator];
503
484
  if (!r)
504
485
  return e;
@@ -518,22 +499,22 @@ function Ie(e, t) {
518
499
  }
519
500
  return o;
520
501
  }
521
- function D(e, t, r) {
522
- if (r || arguments.length === 2)
502
+ function Le(e, t, r) {
503
+ if (arguments.length === 2)
523
504
  for (var n = 0, i = t.length, o; n < i; n++)
524
505
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
525
506
  return e.concat(o || t);
526
507
  }
527
- function A(e) {
508
+ function P(e) {
528
509
  return typeof e == "function";
529
510
  }
530
- function _t(e) {
511
+ function St(e) {
531
512
  var t = function(n) {
532
513
  Error.call(n), n.stack = new Error().stack;
533
514
  }, r = e(t);
534
515
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
535
516
  }
536
- var ve = _t(function(e) {
517
+ var xe = St(function(e) {
537
518
  return function(r) {
538
519
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
539
520
  ` + r.map(function(n, i) {
@@ -542,13 +523,13 @@ var ve = _t(function(e) {
542
523
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
543
524
  };
544
525
  });
545
- function Ce(e, t) {
526
+ function Me(e, t) {
546
527
  if (e) {
547
528
  var r = e.indexOf(t);
548
529
  0 <= r && e.splice(r, 1);
549
530
  }
550
531
  }
551
- var me = function() {
532
+ var pe = function() {
552
533
  function e(t) {
553
534
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
554
535
  }
@@ -560,7 +541,7 @@ var me = function() {
560
541
  if (s)
561
542
  if (this._parentage = null, Array.isArray(s))
562
543
  try {
563
- for (var a = Oe(s), h = a.next(); !h.done; h = a.next()) {
544
+ for (var a = Ne(s), h = a.next(); !h.done; h = a.next()) {
564
545
  var u = h.value;
565
546
  u.remove(this);
566
547
  }
@@ -577,22 +558,22 @@ var me = function() {
577
558
  else
578
559
  s.remove(this);
579
560
  var l = this.initialTeardown;
580
- if (A(l))
561
+ if (P(l))
581
562
  try {
582
563
  l();
583
564
  } catch (m) {
584
- o = m instanceof ve ? m.errors : [m];
565
+ o = m instanceof xe ? m.errors : [m];
585
566
  }
586
567
  var c = this._finalizers;
587
568
  if (c) {
588
569
  this._finalizers = null;
589
570
  try {
590
- for (var f = Oe(c), p = f.next(); !p.done; p = f.next()) {
591
- var g = p.value;
571
+ for (var f = Ne(c), p = f.next(); !p.done; p = f.next()) {
572
+ var y = p.value;
592
573
  try {
593
- Je(g);
574
+ qe(y);
594
575
  } catch (m) {
595
- o = o ?? [], m instanceof ve ? o = D(D([], Ie(o)), Ie(m.errors)) : o.push(m);
576
+ o = o ?? [], m instanceof xe ? o = Le(Le([], Ce(o)), Ce(m.errors)) : o.push(m);
596
577
  }
597
578
  }
598
579
  } catch (m) {
@@ -607,13 +588,13 @@ var me = function() {
607
588
  }
608
589
  }
609
590
  if (o)
610
- throw new ve(o);
591
+ throw new xe(o);
611
592
  }
612
593
  }, e.prototype.add = function(t) {
613
594
  var r;
614
595
  if (t && t !== this)
615
596
  if (this.closed)
616
- Je(t);
597
+ qe(t);
617
598
  else {
618
599
  if (t instanceof e) {
619
600
  if (t.closed || t._hasParent(this))
@@ -630,56 +611,52 @@ var me = function() {
630
611
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
631
612
  }, e.prototype._removeParent = function(t) {
632
613
  var r = this._parentage;
633
- r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
614
+ r === t ? this._parentage = null : Array.isArray(r) && Me(r, t);
634
615
  }, e.prototype.remove = function(t) {
635
616
  var r = this._finalizers;
636
- r && Ce(r, t), t instanceof e && t._removeParent(this);
617
+ r && Me(r, t), t instanceof e && t._removeParent(this);
637
618
  }, e.EMPTY = function() {
638
619
  var t = new e();
639
620
  return t.closed = !0, t;
640
621
  }(), e;
641
- }(), Et = me.EMPTY;
642
- function St(e) {
643
- return e instanceof me || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
644
- }
645
- function Je(e) {
646
- A(e) ? e() : e.unsubscribe();
647
- }
648
- var wt = {
649
- onUnhandledError: null,
650
- onStoppedNotification: null,
651
- Promise: void 0,
652
- useDeprecatedSynchronousErrorHandling: !1,
653
- useDeprecatedNextContext: !1
654
- }, wr = {
622
+ }(), wt = pe.EMPTY;
623
+ function Ht(e) {
624
+ return e instanceof pe || e && "closed" in e && P(e.remove) && P(e.add) && P(e.unsubscribe);
625
+ }
626
+ function qe(e) {
627
+ P(e) ? e() : e.unsubscribe();
628
+ }
629
+ var wr = {
630
+ Promise: void 0
631
+ }, Hr = {
655
632
  setTimeout: function(e, t) {
656
633
  for (var r = [], n = 2; n < arguments.length; n++)
657
634
  r[n - 2] = arguments[n];
658
- return setTimeout.apply(void 0, D([e, t], Ie(r)));
635
+ return setTimeout.apply(void 0, Le([e, t], Ce(r)));
659
636
  },
660
637
  clearTimeout: function(e) {
661
638
  return clearTimeout(e);
662
639
  },
663
640
  delegate: void 0
664
641
  };
665
- function Hr(e) {
666
- wr.setTimeout(function() {
642
+ function Tr(e) {
643
+ Hr.setTimeout(function() {
667
644
  throw e;
668
645
  });
669
646
  }
670
- function Ye() {
647
+ function Ke() {
671
648
  }
672
649
  function ue(e) {
673
650
  e();
674
651
  }
675
- var Ht = function(e) {
676
- P(t, e);
652
+ var Tt = function(e) {
653
+ te(t, e);
677
654
  function t(r) {
678
655
  var n = e.call(this) || this;
679
- return n.isStopped = !1, r ? (n.destination = r, St(r) && r.add(n)) : n.destination = Pr, n;
656
+ return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Pr, n;
680
657
  }
681
658
  return t.create = function(r, n, i) {
682
- return new Ne(r, n, i);
659
+ return new $e(r, n, i);
683
660
  }, t.prototype.next = function(r) {
684
661
  this.isStopped || this._next(r);
685
662
  }, t.prototype.error = function(r) {
@@ -703,11 +680,7 @@ var Ht = function(e) {
703
680
  this.unsubscribe();
704
681
  }
705
682
  }, t;
706
- }(me), Tr = Function.prototype.bind;
707
- function xe(e, t) {
708
- return Tr.call(e, t);
709
- }
710
- var Br = function() {
683
+ }(pe), Br = function() {
711
684
  function e(t) {
712
685
  this.partialObserver = t;
713
686
  }
@@ -738,55 +711,43 @@ var Br = function() {
738
711
  oe(r);
739
712
  }
740
713
  }, e;
741
- }(), Ne = function(e) {
742
- P(t, e);
714
+ }(), $e = function(e) {
715
+ te(t, e);
743
716
  function t(r, n, i) {
744
717
  var o = e.call(this) || this, s;
745
- if (A(r) || !r)
746
- s = {
747
- next: r ?? void 0,
748
- error: n ?? void 0,
749
- complete: i ?? void 0
750
- };
751
- else {
752
- var a;
753
- o && wt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
754
- return o.unsubscribe();
755
- }, s = {
756
- next: r.next && xe(r.next, a),
757
- error: r.error && xe(r.error, a),
758
- complete: r.complete && xe(r.complete, a)
759
- }) : s = r;
760
- }
761
- return o.destination = new Br(s), o;
718
+ return P(r) || !r ? s = {
719
+ next: r ?? void 0,
720
+ error: n ?? void 0,
721
+ complete: i ?? void 0
722
+ } : s = r, o.destination = new Br(s), o;
762
723
  }
763
724
  return t;
764
- }(Ht);
725
+ }(Tt);
765
726
  function oe(e) {
766
- Hr(e);
727
+ Tr(e);
767
728
  }
768
729
  function Ar(e) {
769
730
  throw e;
770
731
  }
771
732
  var Pr = {
772
733
  closed: !0,
773
- next: Ye,
734
+ next: Ke,
774
735
  error: Ar,
775
- complete: Ye
736
+ complete: Ke
776
737
  }, Or = function() {
777
738
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
778
739
  }();
779
740
  function Ir(e) {
780
741
  return e;
781
742
  }
782
- function Cr(e) {
743
+ function Nr(e) {
783
744
  return e.length === 0 ? Ir : e.length === 1 ? e[0] : function(r) {
784
745
  return e.reduce(function(n, i) {
785
746
  return i(n);
786
747
  }, r);
787
748
  };
788
749
  }
789
- var qe = function() {
750
+ var et = function() {
790
751
  function e(t) {
791
752
  t && (this._subscribe = t);
792
753
  }
@@ -794,7 +755,7 @@ var qe = function() {
794
755
  var r = new e();
795
756
  return r.source = this, r.operator = t, r;
796
757
  }, e.prototype.subscribe = function(t, r, n) {
797
- var i = this, o = Lr(t) ? t : new Ne(t, r, n);
758
+ var i = this, o = Lr(t) ? t : new $e(t, r, n);
798
759
  return ue(function() {
799
760
  var s = i, a = s.operator, h = s.source;
800
761
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -807,8 +768,8 @@ var qe = function() {
807
768
  }
808
769
  }, e.prototype.forEach = function(t, r) {
809
770
  var n = this;
810
- return r = Ke(r), new r(function(i, o) {
811
- var s = new Ne({
771
+ return r = tt(r), new r(function(i, o) {
772
+ var s = new $e({
812
773
  next: function(a) {
813
774
  try {
814
775
  t(a);
@@ -829,10 +790,10 @@ var qe = function() {
829
790
  }, e.prototype.pipe = function() {
830
791
  for (var t = [], r = 0; r < arguments.length; r++)
831
792
  t[r] = arguments[r];
832
- return Cr(t)(this);
793
+ return Nr(t)(this);
833
794
  }, e.prototype.toPromise = function(t) {
834
795
  var r = this;
835
- return t = Ke(t), new t(function(n, i) {
796
+ return t = tt(t), new t(function(n, i) {
836
797
  var o;
837
798
  r.subscribe(function(s) {
838
799
  return o = s;
@@ -846,28 +807,28 @@ var qe = function() {
846
807
  return new e(t);
847
808
  }, e;
848
809
  }();
849
- function Ke(e) {
810
+ function tt(e) {
850
811
  var t;
851
- return (t = e ?? wt.Promise) !== null && t !== void 0 ? t : Promise;
812
+ return (t = e ?? wr.Promise) !== null && t !== void 0 ? t : Promise;
852
813
  }
853
- function Nr(e) {
854
- return e && A(e.next) && A(e.error) && A(e.complete);
814
+ function Cr(e) {
815
+ return e && P(e.next) && P(e.error) && P(e.complete);
855
816
  }
856
817
  function Lr(e) {
857
- return e && e instanceof Ht || Nr(e) && St(e);
818
+ return e && e instanceof Tt || Cr(e) && Ht(e);
858
819
  }
859
- var Mr = _t(function(e) {
820
+ var Mr = St(function(e) {
860
821
  return function() {
861
822
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
862
823
  };
863
- }), Tt = function(e) {
864
- P(t, e);
824
+ }), Bt = function(e) {
825
+ te(t, e);
865
826
  function t() {
866
827
  var r = e.call(this) || this;
867
828
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
868
829
  }
869
830
  return t.prototype.lift = function(r) {
870
- var n = new et(this, this);
831
+ var n = new rt(this, this);
871
832
  return n.operator = r, n;
872
833
  }, t.prototype._throwIfClosed = function() {
873
834
  if (this.closed)
@@ -879,7 +840,7 @@ var Mr = _t(function(e) {
879
840
  if (n._throwIfClosed(), !n.isStopped) {
880
841
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
881
842
  try {
882
- for (var s = Oe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
843
+ for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
883
844
  var h = a.value;
884
845
  h.next(r);
885
846
  }
@@ -928,20 +889,20 @@ var Mr = _t(function(e) {
928
889
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
929
890
  }, t.prototype._innerSubscribe = function(r) {
930
891
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
931
- return o || s ? Et : (this.currentObservers = null, a.push(r), new me(function() {
932
- n.currentObservers = null, Ce(a, r);
892
+ return o || s ? wt : (this.currentObservers = null, a.push(r), new pe(function() {
893
+ n.currentObservers = null, Me(a, r);
933
894
  }));
934
895
  }, t.prototype._checkFinalizedStatuses = function(r) {
935
896
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
936
897
  i ? r.error(o) : s && r.complete();
937
898
  }, t.prototype.asObservable = function() {
938
- var r = new qe();
899
+ var r = new et();
939
900
  return r.source = this, r;
940
901
  }, t.create = function(r, n) {
941
- return new et(r, n);
902
+ return new rt(r, n);
942
903
  }, t;
943
- }(qe), et = function(e) {
944
- P(t, e);
904
+ }(et), rt = function(e) {
905
+ te(t, e);
945
906
  function t(r, n) {
946
907
  var i = e.call(this) || this;
947
908
  return i.destination = r, i.source = n, i;
@@ -957,17 +918,17 @@ var Mr = _t(function(e) {
957
918
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
958
919
  }, t.prototype._subscribe = function(r) {
959
920
  var n, i;
960
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Et;
921
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wt;
961
922
  }, t;
962
- }(Tt), Bt = {
923
+ }(Bt), At = {
963
924
  now: function() {
964
- return (Bt.delegate || Date).now();
925
+ return (At.delegate || Date).now();
965
926
  },
966
927
  delegate: void 0
967
928
  }, $r = function(e) {
968
- P(t, e);
929
+ te(t, e);
969
930
  function t(r, n, i) {
970
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Bt);
931
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = At);
971
932
  var o = e.call(this) || this;
972
933
  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;
973
934
  }
@@ -987,24 +948,24 @@ var Mr = _t(function(e) {
987
948
  u && o.splice(0, u + 1);
988
949
  }
989
950
  }, t;
990
- }(Tt);
991
- const tt = [], rt = {}, Rr = (e, t = 0) => {
992
- if (tt.indexOf(e) == -1) {
951
+ }(Bt);
952
+ const nt = [], it = {}, Rr = (e, t = 0) => {
953
+ if (nt.indexOf(e) == -1) {
993
954
  const r = new $r(t);
994
- rt[e] = r, tt.push(e);
955
+ it[e] = r, nt.push(e);
995
956
  }
996
- return rt[e];
957
+ return it[e];
997
958
  }, $ = [];
998
959
  function Ur(e, t) {
999
960
  return {
1000
- subscribe: pe(e, t).subscribe
961
+ subscribe: de(e, t).subscribe
1001
962
  };
1002
963
  }
1003
- function pe(e, t = H) {
964
+ function de(e, t = H) {
1004
965
  let r;
1005
966
  const n = /* @__PURE__ */ new Set();
1006
967
  function i(a) {
1007
- if (gt(e, a) && (e = a, r)) {
968
+ if (_t(e, a) && (e = a, r)) {
1008
969
  const h = !$.length;
1009
970
  for (const u of n)
1010
971
  u[1](), $.push(u, e);
@@ -1026,7 +987,7 @@ function pe(e, t = H) {
1026
987
  }
1027
988
  return { set: i, update: o, subscribe: s };
1028
989
  }
1029
- function W(e, t, r) {
990
+ function X(e, t, r) {
1030
991
  const n = !Array.isArray(e), i = n ? [e] : e;
1031
992
  if (!i.every(Boolean))
1032
993
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1039,13 +1000,13 @@ function W(e, t, r) {
1039
1000
  if (l)
1040
1001
  return;
1041
1002
  c();
1042
- const g = t(n ? u[0] : u, s, a);
1043
- o ? s(g) : c = je(g) ? g : H;
1003
+ const y = t(n ? u[0] : u, s, a);
1004
+ o ? s(y) : c = We(y) ? y : H;
1044
1005
  }, p = i.map(
1045
- (g, m) => qt(
1046
- g,
1047
- (_) => {
1048
- u[m] = _, l &= ~(1 << m), h && f();
1006
+ (y, m) => Kt(
1007
+ y,
1008
+ (x) => {
1009
+ u[m] = x, l &= ~(1 << m), h && f();
1049
1010
  },
1050
1011
  () => {
1051
1012
  l |= 1 << m;
@@ -1053,14 +1014,14 @@ function W(e, t, r) {
1053
1014
  )
1054
1015
  );
1055
1016
  return h = !0, f(), function() {
1056
- ee(p), c(), h = !1;
1017
+ K(p), c(), h = !1;
1057
1018
  };
1058
1019
  });
1059
1020
  }
1060
- function Dr(e) {
1021
+ function Fr(e) {
1061
1022
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1062
1023
  }
1063
- var Fr = function(t) {
1024
+ var Dr = function(t) {
1064
1025
  return Gr(t) && !jr(t);
1065
1026
  };
1066
1027
  function Gr(e) {
@@ -1077,29 +1038,29 @@ function Xr(e) {
1077
1038
  function Wr(e) {
1078
1039
  return Array.isArray(e) ? [] : {};
1079
1040
  }
1080
- function q(e, t) {
1081
- return t.clone !== !1 && t.isMergeableObject(e) ? G(Wr(e), e, t) : e;
1041
+ function Y(e, t) {
1042
+ return t.clone !== !1 && t.isMergeableObject(e) ? D(Wr(e), e, t) : e;
1082
1043
  }
1083
1044
  function zr(e, t, r) {
1084
1045
  return e.concat(t).map(function(n) {
1085
- return q(n, r);
1046
+ return Y(n, r);
1086
1047
  });
1087
1048
  }
1088
1049
  function Zr(e, t) {
1089
1050
  if (!t.customMerge)
1090
- return G;
1051
+ return D;
1091
1052
  var r = t.customMerge(e);
1092
- return typeof r == "function" ? r : G;
1053
+ return typeof r == "function" ? r : D;
1093
1054
  }
1094
1055
  function Qr(e) {
1095
1056
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1096
1057
  return Object.propertyIsEnumerable.call(e, t);
1097
1058
  }) : [];
1098
1059
  }
1099
- function nt(e) {
1060
+ function ot(e) {
1100
1061
  return Object.keys(e).concat(Qr(e));
1101
1062
  }
1102
- function At(e, t) {
1063
+ function Pt(e, t) {
1103
1064
  try {
1104
1065
  return t in e;
1105
1066
  } catch {
@@ -1107,129 +1068,179 @@ function At(e, t) {
1107
1068
  }
1108
1069
  }
1109
1070
  function Jr(e, t) {
1110
- return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1071
+ return Pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1111
1072
  }
1112
1073
  function Yr(e, t, r) {
1113
1074
  var n = {};
1114
- return r.isMergeableObject(e) && nt(e).forEach(function(i) {
1115
- n[i] = q(e[i], r);
1116
- }), nt(t).forEach(function(i) {
1117
- Jr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1075
+ return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1076
+ n[i] = Y(e[i], r);
1077
+ }), ot(t).forEach(function(i) {
1078
+ Jr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
1118
1079
  }), n;
1119
1080
  }
1120
- function G(e, t, r) {
1121
- r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = q;
1081
+ function D(e, t, r) {
1082
+ r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || Dr, r.cloneUnlessOtherwiseSpecified = Y;
1122
1083
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1123
- return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : q(t, r);
1084
+ return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : Y(t, r);
1124
1085
  }
1125
- G.all = function(t, r) {
1086
+ D.all = function(t, r) {
1126
1087
  if (!Array.isArray(t))
1127
1088
  throw new Error("first argument should be an array");
1128
1089
  return t.reduce(function(n, i) {
1129
- return G(n, i, r);
1090
+ return D(n, i, r);
1130
1091
  }, {});
1131
1092
  };
1132
- var qr = G, Kr = qr;
1133
- const en = /* @__PURE__ */ Dr(Kr);
1134
- function _e(e, t) {
1135
- var r = t && t.cache ? t.cache : an, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : rn;
1093
+ var qr = D, Kr = qr;
1094
+ const en = /* @__PURE__ */ Fr(Kr);
1095
+ var Re = function(e, t) {
1096
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1097
+ r.__proto__ = n;
1098
+ } || function(r, n) {
1099
+ for (var i in n)
1100
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1101
+ }, Re(e, t);
1102
+ };
1103
+ function be(e, t) {
1104
+ if (typeof t != "function" && t !== null)
1105
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1106
+ Re(e, t);
1107
+ function r() {
1108
+ this.constructor = e;
1109
+ }
1110
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1111
+ }
1112
+ var A = function() {
1113
+ return A = Object.assign || function(t) {
1114
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1115
+ r = arguments[n];
1116
+ for (var o in r)
1117
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1118
+ }
1119
+ return t;
1120
+ }, A.apply(this, arguments);
1121
+ };
1122
+ function tn(e, t) {
1123
+ var r = {};
1124
+ for (var n in e)
1125
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1126
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1127
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1128
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1129
+ return r;
1130
+ }
1131
+ function Ee(e, t, r) {
1132
+ if (r || arguments.length === 2)
1133
+ for (var n = 0, i = t.length, o; n < i; n++)
1134
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1135
+ return e.concat(o || Array.prototype.slice.call(t));
1136
+ }
1137
+ function Se(e, t) {
1138
+ var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : an, i = t && t.strategy ? t.strategy : on;
1136
1139
  return i(e, {
1137
1140
  cache: r,
1138
1141
  serializer: n
1139
1142
  });
1140
1143
  }
1141
- function tn(e) {
1144
+ function rn(e) {
1142
1145
  return e == null || typeof e == "number" || typeof e == "boolean";
1143
1146
  }
1144
- function Pt(e, t, r, n) {
1145
- var i = tn(n) ? n : r(n), o = t.get(i);
1147
+ function nn(e, t, r, n) {
1148
+ var i = rn(n) ? n : r(n), o = t.get(i);
1146
1149
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1147
1150
  }
1148
1151
  function Ot(e, t, r) {
1149
1152
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1150
1153
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1151
1154
  }
1152
- function ke(e, t, r, n, i) {
1155
+ function It(e, t, r, n, i) {
1153
1156
  return r.bind(t, e, n, i);
1154
1157
  }
1155
- function rn(e, t) {
1156
- var r = e.length === 1 ? Pt : Ot;
1157
- return ke(e, this, r, t.cache.create(), t.serializer);
1158
- }
1159
- function nn(e, t) {
1160
- return ke(e, this, Ot, t.cache.create(), t.serializer);
1161
- }
1162
1158
  function on(e, t) {
1163
- return ke(e, this, Pt, t.cache.create(), t.serializer);
1159
+ var r = e.length === 1 ? nn : Ot;
1160
+ return It(e, this, r, t.cache.create(), t.serializer);
1164
1161
  }
1165
- var sn = function() {
1166
- return JSON.stringify(arguments);
1167
- };
1168
- function Ve() {
1169
- this.cache = /* @__PURE__ */ Object.create(null);
1162
+ function sn(e, t) {
1163
+ return It(e, this, Ot, t.cache.create(), t.serializer);
1170
1164
  }
1171
- Ve.prototype.get = function(e) {
1172
- return this.cache[e];
1173
- };
1174
- Ve.prototype.set = function(e, t) {
1175
- this.cache[e] = t;
1176
- };
1177
- var an = {
1165
+ var an = function() {
1166
+ return JSON.stringify(arguments);
1167
+ }, un = (
1168
+ /** @class */
1169
+ function() {
1170
+ function e() {
1171
+ this.cache = /* @__PURE__ */ Object.create(null);
1172
+ }
1173
+ return e.prototype.get = function(t) {
1174
+ return this.cache[t];
1175
+ }, e.prototype.set = function(t, r) {
1176
+ this.cache[t] = r;
1177
+ }, e;
1178
+ }()
1179
+ ), hn = {
1178
1180
  create: function() {
1179
- return new Ve();
1181
+ return new un();
1180
1182
  }
1181
- }, Ee = {
1182
- variadic: nn,
1183
- monadic: on
1184
- }, d;
1183
+ }, we = {
1184
+ variadic: sn
1185
+ }, ce = function() {
1186
+ return ce = Object.assign || function(t) {
1187
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1188
+ r = arguments[n];
1189
+ for (var o in r)
1190
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1191
+ }
1192
+ return t;
1193
+ }, ce.apply(this, arguments);
1194
+ };
1195
+ var d;
1185
1196
  (function(e) {
1186
1197
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1187
1198
  })(d || (d = {}));
1188
- var x;
1199
+ var g;
1189
1200
  (function(e) {
1190
1201
  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";
1191
- })(x || (x = {}));
1192
- var j;
1202
+ })(g || (g = {}));
1203
+ var G;
1193
1204
  (function(e) {
1194
1205
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1195
- })(j || (j = {}));
1196
- function it(e) {
1197
- return e.type === x.literal;
1206
+ })(G || (G = {}));
1207
+ function st(e) {
1208
+ return e.type === g.literal;
1198
1209
  }
1199
- function un(e) {
1200
- return e.type === x.argument;
1210
+ function ln(e) {
1211
+ return e.type === g.argument;
1201
1212
  }
1202
- function It(e) {
1203
- return e.type === x.number;
1213
+ function Nt(e) {
1214
+ return e.type === g.number;
1204
1215
  }
1205
1216
  function Ct(e) {
1206
- return e.type === x.date;
1207
- }
1208
- function Nt(e) {
1209
- return e.type === x.time;
1217
+ return e.type === g.date;
1210
1218
  }
1211
1219
  function Lt(e) {
1212
- return e.type === x.select;
1220
+ return e.type === g.time;
1213
1221
  }
1214
1222
  function Mt(e) {
1215
- return e.type === x.plural;
1216
- }
1217
- function hn(e) {
1218
- return e.type === x.pound;
1223
+ return e.type === g.select;
1219
1224
  }
1220
1225
  function $t(e) {
1221
- return e.type === x.tag;
1226
+ return e.type === g.plural;
1227
+ }
1228
+ function cn(e) {
1229
+ return e.type === g.pound;
1222
1230
  }
1223
1231
  function Rt(e) {
1224
- return !!(e && typeof e == "object" && e.type === j.number);
1232
+ return e.type === g.tag;
1225
1233
  }
1226
- function Le(e) {
1227
- return !!(e && typeof e == "object" && e.type === j.dateTime);
1234
+ function Ut(e) {
1235
+ return !!(e && typeof e == "object" && e.type === G.number);
1228
1236
  }
1229
- var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ln = /(?:[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;
1230
- function cn(e) {
1237
+ function Ue(e) {
1238
+ return !!(e && typeof e == "object" && e.type === G.dateTime);
1239
+ }
1240
+ var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fn = /(?:[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;
1241
+ function mn(e) {
1231
1242
  var t = {};
1232
- return e.replace(ln, function(r) {
1243
+ return e.replace(fn, function(r) {
1233
1244
  var n = r.length;
1234
1245
  switch (r[0]) {
1235
1246
  case "G":
@@ -1318,11 +1329,21 @@ function cn(e) {
1318
1329
  return "";
1319
1330
  }), t;
1320
1331
  }
1321
- var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1322
- function mn(e) {
1332
+ var _ = function() {
1333
+ return _ = Object.assign || function(t) {
1334
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1335
+ r = arguments[n];
1336
+ for (var o in r)
1337
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1338
+ }
1339
+ return t;
1340
+ }, _.apply(this, arguments);
1341
+ };
1342
+ var pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
+ function dn(e) {
1323
1344
  if (e.length === 0)
1324
1345
  throw new Error("Number skeleton cannot be empty");
1325
- for (var t = e.split(fn).filter(function(f) {
1346
+ for (var t = e.split(pn).filter(function(f) {
1326
1347
  return f.length > 0;
1327
1348
  }), r = [], n = 0, i = t; n < i.length; n++) {
1328
1349
  var o = i[n], s = o.split("/");
@@ -1337,17 +1358,17 @@ function mn(e) {
1337
1358
  }
1338
1359
  return r;
1339
1360
  }
1340
- function pn(e) {
1361
+ function bn(e) {
1341
1362
  return e.replace(/^(.*?)-/, "");
1342
1363
  }
1343
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
1344
- function st(e) {
1364
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
1365
+ function ut(e) {
1345
1366
  var t = {};
1346
1367
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
1347
1368
  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)), "";
1348
1369
  }), t;
1349
1370
  }
1350
- function Gt(e) {
1371
+ function jt(e) {
1351
1372
  switch (e) {
1352
1373
  case "sign-auto":
1353
1374
  return {
@@ -1387,7 +1408,7 @@ function Gt(e) {
1387
1408
  };
1388
1409
  }
1389
1410
  }
1390
- function bn(e) {
1411
+ function vn(e) {
1391
1412
  var t;
1392
1413
  if (e[0] === "E" && e[1] === "E" ? (t = {
1393
1414
  notation: "engineering"
@@ -1395,17 +1416,17 @@ function bn(e) {
1395
1416
  notation: "scientific"
1396
1417
  }, e = e.slice(1)), t) {
1397
1418
  var r = e.slice(0, 2);
1398
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
1419
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
1399
1420
  throw new Error("Malformed concise eng/scientific notation");
1400
1421
  t.minimumIntegerDigits = e.length;
1401
1422
  }
1402
1423
  return t;
1403
1424
  }
1404
- function at(e) {
1405
- var t = {}, r = Gt(e);
1425
+ function ht(e) {
1426
+ var t = {}, r = jt(e);
1406
1427
  return r || t;
1407
1428
  }
1408
- function yn(e) {
1429
+ function gn(e) {
1409
1430
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1410
1431
  var i = n[r];
1411
1432
  switch (i.stem) {
@@ -1429,7 +1450,7 @@ function yn(e) {
1429
1450
  continue;
1430
1451
  case "measure-unit":
1431
1452
  case "unit":
1432
- t.style = "unit", t.unit = pn(i.options[0]);
1453
+ t.style = "unit", t.unit = bn(i.options[0]);
1433
1454
  continue;
1434
1455
  case "compact-short":
1435
1456
  case "K":
@@ -1440,13 +1461,13 @@ function yn(e) {
1440
1461
  t.notation = "compact", t.compactDisplay = "long";
1441
1462
  continue;
1442
1463
  case "scientific":
1443
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1444
- return y(y({}, h), at(u));
1464
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1465
+ return _(_({}, h), ht(u));
1445
1466
  }, {}));
1446
1467
  continue;
1447
1468
  case "engineering":
1448
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1449
- return y(y({}, h), at(u));
1469
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1470
+ return _(_({}, h), ht(u));
1450
1471
  }, {}));
1451
1472
  continue;
1452
1473
  case "notation-simple":
@@ -1491,7 +1512,7 @@ function yn(e) {
1491
1512
  case "integer-width":
1492
1513
  if (i.options.length > 1)
1493
1514
  throw new RangeError("integer-width stems only accept a single optional option");
1494
- i.options[0].replace(dn, function(h, u, l, c, f, p) {
1515
+ i.options[0].replace(yn, function(h, u, l, c, f, p) {
1495
1516
  if (u)
1496
1517
  t.minimumIntegerDigits = l.length;
1497
1518
  else {
@@ -1504,28 +1525,28 @@ function yn(e) {
1504
1525
  });
1505
1526
  continue;
1506
1527
  }
1507
- if (Ft.test(i.stem)) {
1528
+ if (Gt.test(i.stem)) {
1508
1529
  t.minimumIntegerDigits = i.stem.length;
1509
1530
  continue;
1510
1531
  }
1511
- if (ot.test(i.stem)) {
1532
+ if (at.test(i.stem)) {
1512
1533
  if (i.options.length > 1)
1513
1534
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1514
- i.stem.replace(ot, function(h, u, l, c, f, p) {
1535
+ i.stem.replace(at, function(h, u, l, c, f, p) {
1515
1536
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1516
1537
  });
1517
1538
  var o = i.options[0];
1518
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), st(o)));
1539
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), ut(o)));
1519
1540
  continue;
1520
1541
  }
1521
1542
  if (Dt.test(i.stem)) {
1522
- t = y(y({}, t), st(i.stem));
1543
+ t = _(_({}, t), ut(i.stem));
1523
1544
  continue;
1524
1545
  }
1525
- var s = Gt(i.stem);
1526
- s && (t = y(y({}, t), s));
1527
- var a = bn(i.stem);
1528
- a && (t = y(y({}, t), a));
1546
+ var s = jt(i.stem);
1547
+ s && (t = _(_({}, t), s));
1548
+ var a = vn(i.stem);
1549
+ a && (t = _(_({}, t), a));
1529
1550
  }
1530
1551
  return t;
1531
1552
  }
@@ -2944,13 +2965,13 @@ var se = {
2944
2965
  "h"
2945
2966
  ]
2946
2967
  };
2947
- function gn(e, t) {
2968
+ function _n(e, t) {
2948
2969
  for (var r = "", n = 0; n < e.length; n++) {
2949
2970
  var i = e.charAt(n);
2950
2971
  if (i === "j") {
2951
2972
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2952
2973
  o++, n++;
2953
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = vn(t);
2974
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = xn(t);
2954
2975
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2955
2976
  r += h;
2956
2977
  for (; s-- > 0; )
@@ -2960,7 +2981,7 @@ function gn(e, t) {
2960
2981
  }
2961
2982
  return r;
2962
2983
  }
2963
- function vn(e) {
2984
+ function xn(e) {
2964
2985
  var t = e.hourCycle;
2965
2986
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2966
2987
  e.hourCycles && // @ts-ignore
@@ -2982,20 +3003,20 @@ function vn(e) {
2982
3003
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2983
3004
  return i[0];
2984
3005
  }
2985
- var Se, xn = new RegExp("^".concat(Ut.source, "*")), _n = new RegExp("".concat(Ut.source, "*$"));
3006
+ var He, En = new RegExp("^".concat(Ft.source, "*")), Sn = new RegExp("".concat(Ft.source, "*$"));
2986
3007
  function b(e, t) {
2987
3008
  return { start: e, end: t };
2988
3009
  }
2989
- var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, wn = !!Object.fromEntries, Hn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Pn = An ? Number.isSafeInteger : function(e) {
3010
+ var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hn = !!String.fromCodePoint, Tn = !!Object.fromEntries, Bn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Pn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, In = On ? Number.isSafeInteger : function(e) {
2990
3011
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2991
- }, Me = !0;
3012
+ }, Fe = !0;
2992
3013
  try {
2993
- var On = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2994
- Me = ((Se = On.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
3014
+ var Nn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
+ Fe = ((He = Nn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2995
3016
  } catch {
2996
- Me = !1;
3017
+ Fe = !1;
2997
3018
  }
2998
- var ut = En ? (
3019
+ var lt = wn ? (
2999
3020
  // Native
3000
3021
  function(t, r, n) {
3001
3022
  return t.startsWith(r, n);
@@ -3005,7 +3026,7 @@ var ut = En ? (
3005
3026
  function(t, r, n) {
3006
3027
  return t.slice(n, n + r.length) === r;
3007
3028
  }
3008
- ), $e = Sn ? String.fromCodePoint : (
3029
+ ), De = Hn ? String.fromCodePoint : (
3009
3030
  // IE11
3010
3031
  function() {
3011
3032
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3017,9 +3038,9 @@ var ut = En ? (
3017
3038
  }
3018
3039
  return n;
3019
3040
  }
3020
- ), ht = (
3041
+ ), ct = (
3021
3042
  // native
3022
- wn ? Object.fromEntries : (
3043
+ Tn ? Object.fromEntries : (
3023
3044
  // Ponyfill
3024
3045
  function(t) {
3025
3046
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3029,7 +3050,7 @@ var ut = En ? (
3029
3050
  return r;
3030
3051
  }
3031
3052
  )
3032
- ), jt = Hn ? (
3053
+ ), kt = Bn ? (
3033
3054
  // Native
3034
3055
  function(t, r) {
3035
3056
  return t.codePointAt(r);
@@ -3043,7 +3064,7 @@ var ut = En ? (
3043
3064
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3044
3065
  }
3045
3066
  }
3046
- ), In = Tn ? (
3067
+ ), Cn = An ? (
3047
3068
  // Native
3048
3069
  function(t) {
3049
3070
  return t.trimStart();
@@ -3051,9 +3072,9 @@ var ut = En ? (
3051
3072
  ) : (
3052
3073
  // Ponyfill
3053
3074
  function(t) {
3054
- return t.replace(xn, "");
3075
+ return t.replace(En, "");
3055
3076
  }
3056
- ), Cn = Bn ? (
3077
+ ), Ln = Pn ? (
3057
3078
  // Native
3058
3079
  function(t) {
3059
3080
  return t.trimEnd();
@@ -3061,32 +3082,32 @@ var ut = En ? (
3061
3082
  ) : (
3062
3083
  // Ponyfill
3063
3084
  function(t) {
3064
- return t.replace(_n, "");
3085
+ return t.replace(Sn, "");
3065
3086
  }
3066
3087
  );
3067
- function kt(e, t) {
3088
+ function Vt(e, t) {
3068
3089
  return new RegExp(e, t);
3069
3090
  }
3070
- var Re;
3071
- if (Me) {
3072
- var lt = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3073
- Re = function(t, r) {
3091
+ var Ge;
3092
+ if (Fe) {
3093
+ var ft = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3094
+ Ge = function(t, r) {
3074
3095
  var n;
3075
- lt.lastIndex = r;
3076
- var i = lt.exec(t);
3096
+ ft.lastIndex = r;
3097
+ var i = ft.exec(t);
3077
3098
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3078
3099
  };
3079
3100
  } else
3080
- Re = function(t, r) {
3101
+ Ge = function(t, r) {
3081
3102
  for (var n = []; ; ) {
3082
- var i = jt(t, r);
3083
- if (i === void 0 || Vt(i) || $n(i))
3103
+ var i = kt(t, r);
3104
+ if (i === void 0 || Xt(i) || Un(i))
3084
3105
  break;
3085
3106
  n.push(i), r += i >= 65536 ? 2 : 1;
3086
3107
  }
3087
- return $e.apply(void 0, n);
3108
+ return De.apply(void 0, n);
3088
3109
  };
3089
- var Nn = (
3110
+ var Mn = (
3090
3111
  /** @class */
3091
3112
  function() {
3092
3113
  function e(t, r) {
@@ -3110,14 +3131,14 @@ var Nn = (
3110
3131
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3111
3132
  var a = this.clonePosition();
3112
3133
  this.bump(), i.push({
3113
- type: x.pound,
3134
+ type: g.pound,
3114
3135
  location: b(a, this.clonePosition())
3115
3136
  });
3116
3137
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3117
3138
  if (n)
3118
3139
  break;
3119
3140
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3120
- } else if (o === 60 && !this.ignoreTag && Ue(this.peek() || 0)) {
3141
+ } else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
3121
3142
  var s = this.parseTag(t, r);
3122
3143
  if (s.err)
3123
3144
  return s;
@@ -3138,7 +3159,7 @@ var Nn = (
3138
3159
  if (this.bumpSpace(), this.bumpIf("/>"))
3139
3160
  return {
3140
3161
  val: {
3141
- type: x.literal,
3162
+ type: g.literal,
3142
3163
  value: "<".concat(i, "/>"),
3143
3164
  location: b(n, this.clonePosition())
3144
3165
  },
@@ -3150,12 +3171,12 @@ var Nn = (
3150
3171
  return o;
3151
3172
  var s = o.val, a = this.clonePosition();
3152
3173
  if (this.bumpIf("</")) {
3153
- if (this.isEOF() || !Ue(this.char()))
3174
+ if (this.isEOF() || !je(this.char()))
3154
3175
  return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
3155
3176
  var h = this.clonePosition(), u = this.parseTagName();
3156
3177
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3157
3178
  val: {
3158
- type: x.tag,
3179
+ type: g.tag,
3159
3180
  value: i,
3160
3181
  children: s,
3161
3182
  location: b(n, this.clonePosition())
@@ -3168,7 +3189,7 @@ var Nn = (
3168
3189
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3169
3190
  }, e.prototype.parseTagName = function() {
3170
3191
  var t = this.offset();
3171
- for (this.bump(); !this.isEOF() && Mn(this.char()); )
3192
+ for (this.bump(); !this.isEOF() && Rn(this.char()); )
3172
3193
  this.bump();
3173
3194
  return this.message.slice(t, this.offset());
3174
3195
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3192,12 +3213,12 @@ var Nn = (
3192
3213
  }
3193
3214
  var h = b(n, this.clonePosition());
3194
3215
  return {
3195
- val: { type: x.literal, value: i, location: h },
3216
+ val: { type: g.literal, value: i, location: h },
3196
3217
  err: null
3197
3218
  };
3198
3219
  }, e.prototype.tryParseLeftAngleBracket = function() {
3199
3220
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3200
- !Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
3221
+ !$n(this.peek() || 0)) ? (this.bump(), "<") : null;
3201
3222
  }, e.prototype.tryParseQuote = function(t) {
3202
3223
  if (this.isEOF() || this.char() !== 39)
3203
3224
  return null;
@@ -3231,12 +3252,12 @@ var Nn = (
3231
3252
  r.push(n);
3232
3253
  this.bump();
3233
3254
  }
3234
- return $e.apply(void 0, r);
3255
+ return De.apply(void 0, r);
3235
3256
  }, e.prototype.tryParseUnquoted = function(t, r) {
3236
3257
  if (this.isEOF())
3237
3258
  return null;
3238
3259
  var n = this.char();
3239
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), $e(n));
3260
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3240
3261
  }, e.prototype.parseArgument = function(t, r) {
3241
3262
  var n = this.clonePosition();
3242
3263
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3252,7 +3273,7 @@ var Nn = (
3252
3273
  case 125:
3253
3274
  return this.bump(), {
3254
3275
  val: {
3255
- type: x.argument,
3276
+ type: g.argument,
3256
3277
  // value does not include the opening and closing braces.
3257
3278
  value: i,
3258
3279
  location: b(n, this.clonePosition())
@@ -3265,7 +3286,7 @@ var Nn = (
3265
3286
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3266
3287
  }
3267
3288
  }, e.prototype.parseIdentifierIfPossible = function() {
3268
- var t = this.clonePosition(), r = this.offset(), n = Re(this.message, r), i = r + n.length;
3289
+ var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3269
3290
  this.bumpTo(i);
3270
3291
  var o = this.clonePosition(), s = b(t, o);
3271
3292
  return { value: n, location: s };
@@ -3284,35 +3305,35 @@ var Nn = (
3284
3305
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3285
3306
  if (c.err)
3286
3307
  return c;
3287
- var f = Cn(c.val);
3308
+ var f = Ln(c.val);
3288
3309
  if (f.length === 0)
3289
3310
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3290
3311
  var p = b(l, this.clonePosition());
3291
3312
  u = { style: f, styleLocation: p };
3292
3313
  }
3293
- var g = this.tryParseArgumentClose(i);
3294
- if (g.err)
3295
- return g;
3314
+ var y = this.tryParseArgumentClose(i);
3315
+ if (y.err)
3316
+ return y;
3296
3317
  var m = b(i, this.clonePosition());
3297
- if (u && ut(u?.style, "::", 0)) {
3298
- var _ = In(u.style.slice(2));
3318
+ if (u && lt(u?.style, "::", 0)) {
3319
+ var x = Cn(u.style.slice(2));
3299
3320
  if (a === "number") {
3300
- var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3321
+ var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3301
3322
  return c.err ? c : {
3302
- val: { type: x.number, value: n, location: m, style: c.val },
3323
+ val: { type: g.number, value: n, location: m, style: c.val },
3303
3324
  err: null
3304
3325
  };
3305
3326
  } else {
3306
- if (_.length === 0)
3327
+ if (x.length === 0)
3307
3328
  return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
3308
- var v = _;
3309
- this.locale && (v = gn(_, this.locale));
3329
+ var v = x;
3330
+ this.locale && (v = _n(x, this.locale));
3310
3331
  var f = {
3311
- type: j.dateTime,
3332
+ type: G.dateTime,
3312
3333
  pattern: v,
3313
3334
  location: u.styleLocation,
3314
- parsedOptions: this.shouldParseSkeletons ? cn(v) : {}
3315
- }, T = a === "date" ? x.date : x.time;
3335
+ parsedOptions: this.shouldParseSkeletons ? mn(v) : {}
3336
+ }, T = a === "date" ? g.date : g.time;
3316
3337
  return {
3317
3338
  val: { type: T, value: n, location: m, style: f },
3318
3339
  err: null
@@ -3321,7 +3342,7 @@ var Nn = (
3321
3342
  }
3322
3343
  return {
3323
3344
  val: {
3324
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3345
+ type: a === "number" ? g.number : a === "date" ? g.date : g.time,
3325
3346
  value: n,
3326
3347
  location: m,
3327
3348
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3334,9 +3355,9 @@ var Nn = (
3334
3355
  case "select": {
3335
3356
  var w = this.clonePosition();
3336
3357
  if (this.bumpSpace(), !this.bumpIf(","))
3337
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(w, y({}, w)));
3358
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(w, ce({}, w)));
3338
3359
  this.bumpSpace();
3339
- var I = this.parseIdentifierIfPossible(), C = 0;
3360
+ var I = this.parseIdentifierIfPossible(), N = 0;
3340
3361
  if (a !== "select" && I.value === "offset") {
3341
3362
  if (!this.bumpIf(":"))
3342
3363
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -3344,31 +3365,31 @@ var Nn = (
3344
3365
  var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3345
3366
  if (c.err)
3346
3367
  return c;
3347
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), C = c.val;
3368
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), N = c.val;
3348
3369
  }
3349
3370
  var ie = this.tryParsePluralOrSelectOptions(t, a, r, I);
3350
3371
  if (ie.err)
3351
3372
  return ie;
3352
- var g = this.tryParseArgumentClose(i);
3353
- if (g.err)
3354
- return g;
3355
- var ze = b(i, this.clonePosition());
3373
+ var y = this.tryParseArgumentClose(i);
3374
+ if (y.err)
3375
+ return y;
3376
+ var Qe = b(i, this.clonePosition());
3356
3377
  return a === "select" ? {
3357
3378
  val: {
3358
- type: x.select,
3379
+ type: g.select,
3359
3380
  value: n,
3360
- options: ht(ie.val),
3361
- location: ze
3381
+ options: ct(ie.val),
3382
+ location: Qe
3362
3383
  },
3363
3384
  err: null
3364
3385
  } : {
3365
3386
  val: {
3366
- type: x.plural,
3387
+ type: g.plural,
3367
3388
  value: n,
3368
- options: ht(ie.val),
3369
- offset: C,
3389
+ options: ct(ie.val),
3390
+ offset: N,
3370
3391
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3371
- location: ze
3392
+ location: Qe
3372
3393
  },
3373
3394
  err: null
3374
3395
  };
@@ -3416,16 +3437,16 @@ var Nn = (
3416
3437
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3417
3438
  var n = [];
3418
3439
  try {
3419
- n = mn(t);
3440
+ n = dn(t);
3420
3441
  } catch {
3421
3442
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3422
3443
  }
3423
3444
  return {
3424
3445
  val: {
3425
- type: j.number,
3446
+ type: G.number,
3426
3447
  tokens: n,
3427
3448
  location: r,
3428
- parsedOptions: this.shouldParseSkeletons ? yn(n) : {}
3449
+ parsedOptions: this.shouldParseSkeletons ? gn(n) : {}
3429
3450
  },
3430
3451
  err: null
3431
3452
  };
@@ -3447,16 +3468,16 @@ var Nn = (
3447
3468
  var p = this.clonePosition();
3448
3469
  if (!this.bumpIf("{"))
3449
3470
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3450
- var g = this.parseMessage(t + 1, r, n);
3451
- if (g.err)
3452
- return g;
3471
+ var y = this.parseMessage(t + 1, r, n);
3472
+ if (y.err)
3473
+ return y;
3453
3474
  var m = this.tryParseArgumentClose(p);
3454
3475
  if (m.err)
3455
3476
  return m;
3456
3477
  a.push([
3457
3478
  u,
3458
3479
  {
3459
- value: g.val,
3480
+ value: y.val,
3460
3481
  location: b(p, this.clonePosition())
3461
3482
  }
3462
3483
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
@@ -3473,7 +3494,7 @@ var Nn = (
3473
3494
  break;
3474
3495
  }
3475
3496
  var h = b(i, this.clonePosition());
3476
- return o ? (s *= n, Pn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3497
+ return o ? (s *= n, In(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3477
3498
  }, e.prototype.offset = function() {
3478
3499
  return this.position.offset;
3479
3500
  }, e.prototype.isEOF = function() {
@@ -3488,7 +3509,7 @@ var Nn = (
3488
3509
  var t = this.position.offset;
3489
3510
  if (t >= this.message.length)
3490
3511
  throw Error("out of bound");
3491
- var r = jt(this.message, t);
3512
+ var r = kt(this.message, t);
3492
3513
  if (r === void 0)
3493
3514
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3494
3515
  return r;
@@ -3507,7 +3528,7 @@ var Nn = (
3507
3528
  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);
3508
3529
  }
3509
3530
  }, e.prototype.bumpIf = function(t) {
3510
- if (ut(this.message, t, this.offset())) {
3531
+ if (lt(this.message, t, this.offset())) {
3511
3532
  for (var r = 0; r < t.length; r++)
3512
3533
  this.bump();
3513
3534
  return !0;
@@ -3529,7 +3550,7 @@ var Nn = (
3529
3550
  break;
3530
3551
  }
3531
3552
  }, e.prototype.bumpSpace = function() {
3532
- for (; !this.isEOF() && Vt(this.char()); )
3553
+ for (; !this.isEOF() && Xt(this.char()); )
3533
3554
  this.bump();
3534
3555
  }, e.prototype.peek = function() {
3535
3556
  if (this.isEOF())
@@ -3539,47 +3560,47 @@ var Nn = (
3539
3560
  }, e;
3540
3561
  }()
3541
3562
  );
3542
- function Ue(e) {
3563
+ function je(e) {
3543
3564
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3544
3565
  }
3545
- function Ln(e) {
3546
- return Ue(e) || e === 47;
3566
+ function $n(e) {
3567
+ return je(e) || e === 47;
3547
3568
  }
3548
- function Mn(e) {
3569
+ function Rn(e) {
3549
3570
  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;
3550
3571
  }
3551
- function Vt(e) {
3572
+ function Xt(e) {
3552
3573
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3553
3574
  }
3554
- function $n(e) {
3575
+ function Un(e) {
3555
3576
  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;
3556
3577
  }
3557
- function De(e) {
3578
+ function ke(e) {
3558
3579
  e.forEach(function(t) {
3559
- if (delete t.location, Lt(t) || Mt(t))
3580
+ if (delete t.location, Mt(t) || $t(t))
3560
3581
  for (var r in t.options)
3561
- delete t.options[r].location, De(t.options[r].value);
3582
+ delete t.options[r].location, ke(t.options[r].value);
3562
3583
  else
3563
- It(t) && Rt(t.style) || (Ct(t) || Nt(t)) && Le(t.style) ? delete t.style.location : $t(t) && De(t.children);
3584
+ Nt(t) && Ut(t.style) || (Ct(t) || Lt(t)) && Ue(t.style) ? delete t.style.location : Rt(t) && ke(t.children);
3564
3585
  });
3565
3586
  }
3566
- function Rn(e, t) {
3567
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3568
- var r = new Nn(e, t).parse();
3587
+ function Fn(e, t) {
3588
+ t === void 0 && (t = {}), t = ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3589
+ var r = new Mn(e, t).parse();
3569
3590
  if (r.err) {
3570
3591
  var n = SyntaxError(d[r.err.kind]);
3571
3592
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3572
3593
  }
3573
- return t?.captureLocation || De(r.val), r.val;
3594
+ return t?.captureLocation || ke(r.val), r.val;
3574
3595
  }
3575
- var k;
3596
+ var j;
3576
3597
  (function(e) {
3577
3598
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3578
- })(k || (k = {}));
3579
- var de = (
3599
+ })(j || (j = {}));
3600
+ var ye = (
3580
3601
  /** @class */
3581
3602
  function(e) {
3582
- P(t, e);
3603
+ be(t, e);
3583
3604
  function t(r, n, i) {
3584
3605
  var o = e.call(this, r) || this;
3585
3606
  return o.code = n, o.originalMessage = i, o;
@@ -3588,48 +3609,48 @@ var de = (
3588
3609
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3589
3610
  }, t;
3590
3611
  }(Error)
3591
- ), ct = (
3612
+ ), mt = (
3592
3613
  /** @class */
3593
3614
  function(e) {
3594
- P(t, e);
3615
+ be(t, e);
3595
3616
  function t(r, n, i, o) {
3596
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3617
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3597
3618
  }
3598
3619
  return t;
3599
- }(de)
3600
- ), Un = (
3620
+ }(ye)
3621
+ ), Dn = (
3601
3622
  /** @class */
3602
3623
  function(e) {
3603
- P(t, e);
3624
+ be(t, e);
3604
3625
  function t(r, n, i) {
3605
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3626
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3606
3627
  }
3607
3628
  return t;
3608
- }(de)
3609
- ), Dn = (
3629
+ }(ye)
3630
+ ), Gn = (
3610
3631
  /** @class */
3611
3632
  function(e) {
3612
- P(t, e);
3633
+ be(t, e);
3613
3634
  function t(r, n) {
3614
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3635
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3615
3636
  }
3616
3637
  return t;
3617
- }(de)
3638
+ }(ye)
3618
3639
  ), S;
3619
3640
  (function(e) {
3620
3641
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3621
3642
  })(S || (S = {}));
3622
- function Fn(e) {
3643
+ function jn(e) {
3623
3644
  return e.length < 2 ? e : e.reduce(function(t, r) {
3624
3645
  var n = t[t.length - 1];
3625
3646
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3626
3647
  }, []);
3627
3648
  }
3628
- function Gn(e) {
3649
+ function kn(e) {
3629
3650
  return typeof e == "function";
3630
3651
  }
3631
3652
  function he(e, t, r, n, i, o, s) {
3632
- if (e.length === 1 && it(e[0]))
3653
+ if (e.length === 1 && st(e[0]))
3633
3654
  return [
3634
3655
  {
3635
3656
  type: S.literal,
@@ -3638,14 +3659,14 @@ function he(e, t, r, n, i, o, s) {
3638
3659
  ];
3639
3660
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3640
3661
  var l = u[h];
3641
- if (it(l)) {
3662
+ if (st(l)) {
3642
3663
  a.push({
3643
3664
  type: S.literal,
3644
3665
  value: l.value
3645
3666
  });
3646
3667
  continue;
3647
3668
  }
3648
- if (hn(l)) {
3669
+ if (cn(l)) {
3649
3670
  typeof o == "number" && a.push({
3650
3671
  type: S.literal,
3651
3672
  value: r.getNumberFormat(t).format(o)
@@ -3654,9 +3675,9 @@ function he(e, t, r, n, i, o, s) {
3654
3675
  }
3655
3676
  var c = l.value;
3656
3677
  if (!(i && c in i))
3657
- throw new Dn(c, s);
3678
+ throw new Gn(c, s);
3658
3679
  var f = i[c];
3659
- if (un(l)) {
3680
+ if (ln(l)) {
3660
3681
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3661
3682
  type: typeof f == "string" ? S.literal : S.object,
3662
3683
  value: f
@@ -3664,79 +3685,79 @@ function he(e, t, r, n, i, o, s) {
3664
3685
  continue;
3665
3686
  }
3666
3687
  if (Ct(l)) {
3667
- var p = typeof l.style == "string" ? n.date[l.style] : Le(l.style) ? l.style.parsedOptions : void 0;
3688
+ var p = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3668
3689
  a.push({
3669
3690
  type: S.literal,
3670
3691
  value: r.getDateTimeFormat(t, p).format(f)
3671
3692
  });
3672
3693
  continue;
3673
3694
  }
3674
- if (Nt(l)) {
3675
- var p = typeof l.style == "string" ? n.time[l.style] : Le(l.style) ? l.style.parsedOptions : n.time.medium;
3695
+ if (Lt(l)) {
3696
+ var p = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3676
3697
  a.push({
3677
3698
  type: S.literal,
3678
3699
  value: r.getDateTimeFormat(t, p).format(f)
3679
3700
  });
3680
3701
  continue;
3681
3702
  }
3682
- if (It(l)) {
3683
- var p = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
3703
+ if (Nt(l)) {
3704
+ var p = typeof l.style == "string" ? n.number[l.style] : Ut(l.style) ? l.style.parsedOptions : void 0;
3684
3705
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3685
3706
  type: S.literal,
3686
3707
  value: r.getNumberFormat(t, p).format(f)
3687
3708
  });
3688
3709
  continue;
3689
3710
  }
3690
- if ($t(l)) {
3691
- var g = l.children, m = l.value, _ = i[m];
3692
- if (!Gn(_))
3693
- throw new Un(m, "function", s);
3694
- var v = he(g, t, r, n, i, o), T = _(v.map(function(C) {
3695
- return C.value;
3711
+ if (Rt(l)) {
3712
+ var y = l.children, m = l.value, x = i[m];
3713
+ if (!kn(x))
3714
+ throw new Dn(m, "function", s);
3715
+ var v = he(y, t, r, n, i, o), T = x(v.map(function(N) {
3716
+ return N.value;
3696
3717
  }));
3697
- Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(C) {
3718
+ Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(N) {
3698
3719
  return {
3699
- type: typeof C == "string" ? S.literal : S.object,
3700
- value: C
3720
+ type: typeof N == "string" ? S.literal : S.object,
3721
+ value: N
3701
3722
  };
3702
3723
  }));
3703
3724
  }
3704
- if (Lt(l)) {
3725
+ if (Mt(l)) {
3705
3726
  var w = l.options[f] || l.options.other;
3706
3727
  if (!w)
3707
- throw new ct(l.value, f, Object.keys(l.options), s);
3728
+ throw new mt(l.value, f, Object.keys(l.options), s);
3708
3729
  a.push.apply(a, he(w.value, t, r, n, i));
3709
3730
  continue;
3710
3731
  }
3711
- if (Mt(l)) {
3732
+ if ($t(l)) {
3712
3733
  var w = l.options["=".concat(f)];
3713
3734
  if (!w) {
3714
3735
  if (!Intl.PluralRules)
3715
- throw new de(`Intl.PluralRules is not available in this environment.
3736
+ throw new ye(`Intl.PluralRules is not available in this environment.
3716
3737
  Try polyfilling it using "@formatjs/intl-pluralrules"
3717
- `, k.MISSING_INTL_API, s);
3738
+ `, j.MISSING_INTL_API, s);
3718
3739
  var I = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3719
3740
  w = l.options[I] || l.options.other;
3720
3741
  }
3721
3742
  if (!w)
3722
- throw new ct(l.value, f, Object.keys(l.options), s);
3743
+ throw new mt(l.value, f, Object.keys(l.options), s);
3723
3744
  a.push.apply(a, he(w.value, t, r, n, i, f - (l.offset || 0)));
3724
3745
  continue;
3725
3746
  }
3726
3747
  }
3727
- return Fn(a);
3748
+ return jn(a);
3728
3749
  }
3729
- function jn(e, t) {
3730
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3731
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3750
+ function Vn(e, t) {
3751
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3752
+ return r[n] = A(A({}, e[n]), t[n] || {}), r;
3732
3753
  }, {})) : e;
3733
3754
  }
3734
- function kn(e, t) {
3755
+ function Xn(e, t) {
3735
3756
  return t ? Object.keys(e).reduce(function(r, n) {
3736
- return r[n] = jn(e[n], t[n]), r;
3737
- }, y({}, e)) : e;
3757
+ return r[n] = Vn(e[n], t[n]), r;
3758
+ }, A({}, e)) : e;
3738
3759
  }
3739
- function we(e) {
3760
+ function Te(e) {
3740
3761
  return {
3741
3762
  create: function() {
3742
3763
  return {
@@ -3750,39 +3771,39 @@ function we(e) {
3750
3771
  }
3751
3772
  };
3752
3773
  }
3753
- function Vn(e) {
3774
+ function Wn(e) {
3754
3775
  return e === void 0 && (e = {
3755
3776
  number: {},
3756
3777
  dateTime: {},
3757
3778
  pluralRules: {}
3758
3779
  }), {
3759
- getNumberFormat: _e(function() {
3780
+ getNumberFormat: Se(function() {
3760
3781
  for (var t, r = [], n = 0; n < arguments.length; n++)
3761
3782
  r[n] = arguments[n];
3762
- return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
3783
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3763
3784
  }, {
3764
- cache: we(e.number),
3765
- strategy: Ee.variadic
3785
+ cache: Te(e.number),
3786
+ strategy: we.variadic
3766
3787
  }),
3767
- getDateTimeFormat: _e(function() {
3788
+ getDateTimeFormat: Se(function() {
3768
3789
  for (var t, r = [], n = 0; n < arguments.length; n++)
3769
3790
  r[n] = arguments[n];
3770
- return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
3791
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3771
3792
  }, {
3772
- cache: we(e.dateTime),
3773
- strategy: Ee.variadic
3793
+ cache: Te(e.dateTime),
3794
+ strategy: we.variadic
3774
3795
  }),
3775
- getPluralRules: _e(function() {
3796
+ getPluralRules: Se(function() {
3776
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3777
3798
  r[n] = arguments[n];
3778
- return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
3799
+ return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3779
3800
  }, {
3780
- cache: we(e.pluralRules),
3781
- strategy: Ee.variadic
3801
+ cache: Te(e.pluralRules),
3802
+ strategy: we.variadic
3782
3803
  })
3783
3804
  };
3784
3805
  }
3785
- var Xn = (
3806
+ var zn = (
3786
3807
  /** @class */
3787
3808
  function() {
3788
3809
  function e(t, r, n, i) {
@@ -3814,13 +3835,13 @@ var Xn = (
3814
3835
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3815
3836
  var s = i || {};
3816
3837
  s.formatters;
3817
- var a = Sr(s, ["formatters"]);
3818
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3838
+ var a = tn(s, ["formatters"]);
3839
+ this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3819
3840
  } else
3820
3841
  this.ast = t;
3821
3842
  if (!Array.isArray(this.ast))
3822
3843
  throw new TypeError("A message must be provided as a String or AST.");
3823
- this.formats = kn(e.formats, n), this.formatters = i && i.formatters || Vn(this.formatterCache);
3844
+ this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || Wn(this.formatterCache);
3824
3845
  }
3825
3846
  return Object.defineProperty(e, "defaultLocale", {
3826
3847
  get: function() {
@@ -3833,7 +3854,7 @@ var Xn = (
3833
3854
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3834
3855
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3835
3856
  }
3836
- }, e.__parse = Rn, e.formats = {
3857
+ }, e.__parse = Fn, e.formats = {
3837
3858
  number: {
3838
3859
  integer: {
3839
3860
  maximumFractionDigits: 0
@@ -3894,7 +3915,7 @@ var Xn = (
3894
3915
  }, e;
3895
3916
  }()
3896
3917
  );
3897
- function Wn(e, t) {
3918
+ function Zn(e, t) {
3898
3919
  if (t == null)
3899
3920
  return;
3900
3921
  if (t in e)
@@ -3915,92 +3936,92 @@ function Wn(e, t) {
3915
3936
  n = void 0;
3916
3937
  return n;
3917
3938
  }
3918
- const O = {}, zn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Xt = (e, t) => {
3939
+ const O = {}, Qn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Wt = (e, t) => {
3919
3940
  if (t == null)
3920
3941
  return;
3921
3942
  if (t in O && e in O[t])
3922
3943
  return O[t][e];
3923
- const r = be(t);
3944
+ const r = ve(t);
3924
3945
  for (let n = 0; n < r.length; n++) {
3925
- const i = r[n], o = Qn(i, e);
3946
+ const i = r[n], o = Yn(i, e);
3926
3947
  if (o)
3927
- return zn(e, t, o);
3948
+ return Qn(e, t, o);
3928
3949
  }
3929
3950
  };
3930
- let Xe;
3931
- const re = pe({});
3932
- function Zn(e) {
3933
- return Xe[e] || null;
3951
+ let ze;
3952
+ const re = de({});
3953
+ function Jn(e) {
3954
+ return ze[e] || null;
3934
3955
  }
3935
- function Wt(e) {
3936
- return e in Xe;
3956
+ function zt(e) {
3957
+ return e in ze;
3937
3958
  }
3938
- function Qn(e, t) {
3939
- if (!Wt(e))
3959
+ function Yn(e, t) {
3960
+ if (!zt(e))
3940
3961
  return null;
3941
- const r = Zn(e);
3942
- return Wn(r, t);
3962
+ const r = Jn(e);
3963
+ return Zn(r, t);
3943
3964
  }
3944
- function Jn(e) {
3965
+ function qn(e) {
3945
3966
  if (e == null)
3946
3967
  return;
3947
- const t = be(e);
3968
+ const t = ve(e);
3948
3969
  for (let r = 0; r < t.length; r++) {
3949
3970
  const n = t[r];
3950
- if (Wt(n))
3971
+ if (zt(n))
3951
3972
  return n;
3952
3973
  }
3953
3974
  }
3954
- function Yn(e, ...t) {
3975
+ function Kn(e, ...t) {
3955
3976
  delete O[e], re.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
3956
3977
  }
3957
- W(
3978
+ X(
3958
3979
  [re],
3959
3980
  ([e]) => Object.keys(e)
3960
3981
  );
3961
- re.subscribe((e) => Xe = e);
3982
+ re.subscribe((e) => ze = e);
3962
3983
  const le = {};
3963
- function qn(e, t) {
3984
+ function ei(e, t) {
3964
3985
  le[e].delete(t), le[e].size === 0 && delete le[e];
3965
3986
  }
3966
- function zt(e) {
3987
+ function Zt(e) {
3967
3988
  return le[e];
3968
3989
  }
3969
- function Kn(e) {
3970
- return be(e).map((t) => {
3971
- const r = zt(t);
3990
+ function ti(e) {
3991
+ return ve(e).map((t) => {
3992
+ const r = Zt(t);
3972
3993
  return [t, r ? [...r] : []];
3973
3994
  }).filter(([, t]) => t.length > 0);
3974
3995
  }
3975
- function Fe(e) {
3976
- return e == null ? !1 : be(e).some(
3996
+ function Ve(e) {
3997
+ return e == null ? !1 : ve(e).some(
3977
3998
  (t) => {
3978
3999
  var r;
3979
- return (r = zt(t)) == null ? void 0 : r.size;
4000
+ return (r = Zt(t)) == null ? void 0 : r.size;
3980
4001
  }
3981
4002
  );
3982
4003
  }
3983
- function ei(e, t) {
4004
+ function ri(e, t) {
3984
4005
  return Promise.all(
3985
- t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
3986
- ).then((n) => Yn(e, ...n));
3987
- }
3988
- const Z = {};
3989
- function Zt(e) {
3990
- if (!Fe(e))
3991
- return e in Z ? Z[e] : Promise.resolve();
3992
- const t = Kn(e);
3993
- return Z[e] = Promise.all(
4006
+ t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
4007
+ ).then((n) => Kn(e, ...n));
4008
+ }
4009
+ const z = {};
4010
+ function Qt(e) {
4011
+ if (!Ve(e))
4012
+ return e in z ? z[e] : Promise.resolve();
4013
+ const t = ti(e);
4014
+ return z[e] = Promise.all(
3994
4015
  t.map(
3995
- ([r, n]) => ei(r, n)
4016
+ ([r, n]) => ri(r, n)
3996
4017
  )
3997
4018
  ).then(() => {
3998
- if (Fe(e))
3999
- return Zt(e);
4000
- delete Z[e];
4001
- }), Z[e];
4019
+ if (Ve(e))
4020
+ return Qt(e);
4021
+ delete z[e];
4022
+ }), z[e];
4002
4023
  }
4003
- const ti = {
4024
+ const ni = {
4004
4025
  number: {
4005
4026
  scientific: { notation: "scientific" },
4006
4027
  engineering: { notation: "engineering" },
@@ -4029,135 +4050,135 @@ const ti = {
4029
4050
  timeZoneName: "short"
4030
4051
  }
4031
4052
  }
4032
- }, ri = {
4053
+ }, ii = {
4033
4054
  fallbackLocale: null,
4034
4055
  loadingDelay: 200,
4035
- formats: ti,
4056
+ formats: ni,
4036
4057
  warnOnMissingMessages: !0,
4037
4058
  handleMissingMessage: void 0,
4038
4059
  ignoreTag: !0
4039
- }, ni = ri;
4040
- function V() {
4041
- return ni;
4060
+ }, oi = ii;
4061
+ function k() {
4062
+ return oi;
4042
4063
  }
4043
- const He = pe(!1);
4044
- var ii = Object.defineProperty, oi = Object.defineProperties, si = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
4064
+ const Be = de(!1);
4065
+ var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ci = (e, t) => {
4045
4066
  for (var r in t || (t = {}))
4046
- ai.call(t, r) && mt(e, r, t[r]);
4047
- if (ft)
4048
- for (var r of ft(t))
4049
- ui.call(t, r) && mt(e, r, t[r]);
4067
+ hi.call(t, r) && dt(e, r, t[r]);
4068
+ if (pt)
4069
+ for (var r of pt(t))
4070
+ li.call(t, r) && dt(e, r, t[r]);
4050
4071
  return e;
4051
- }, li = (e, t) => oi(e, si(t));
4052
- let Ge;
4053
- const ce = pe(null);
4054
- function pt(e) {
4072
+ }, fi = (e, t) => ai(e, ui(t));
4073
+ let Xe;
4074
+ const fe = de(null);
4075
+ function bt(e) {
4055
4076
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4056
4077
  }
4057
- function be(e, t = V().fallbackLocale) {
4058
- const r = pt(e);
4059
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
4078
+ function ve(e, t = k().fallbackLocale) {
4079
+ const r = bt(e);
4080
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
4060
4081
  }
4061
4082
  function L() {
4062
- return Ge ?? void 0;
4083
+ return Xe ?? void 0;
4063
4084
  }
4064
- ce.subscribe((e) => {
4065
- Ge = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4085
+ fe.subscribe((e) => {
4086
+ Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4066
4087
  });
4067
- const ci = (e) => {
4068
- if (e && Jn(e) && Fe(e)) {
4069
- const { loadingDelay: t } = V();
4088
+ const mi = (e) => {
4089
+ if (e && qn(e) && Ve(e)) {
4090
+ const { loadingDelay: t } = k();
4070
4091
  let r;
4071
4092
  return typeof window < "u" && L() != null && t ? r = window.setTimeout(
4072
- () => He.set(!0),
4093
+ () => Be.set(!0),
4073
4094
  t
4074
- ) : He.set(!0), Zt(e).then(() => {
4075
- ce.set(e);
4095
+ ) : Be.set(!0), Qt(e).then(() => {
4096
+ fe.set(e);
4076
4097
  }).finally(() => {
4077
- clearTimeout(r), He.set(!1);
4098
+ clearTimeout(r), Be.set(!1);
4078
4099
  });
4079
4100
  }
4080
- return ce.set(e);
4081
- }, ne = li(hi({}, ce), {
4082
- set: ci
4083
- }), ye = (e) => {
4101
+ return fe.set(e);
4102
+ }, ne = fi(ci({}, fe), {
4103
+ set: mi
4104
+ }), ge = (e) => {
4084
4105
  const t = /* @__PURE__ */ Object.create(null);
4085
4106
  return (n) => {
4086
4107
  const i = JSON.stringify(n);
4087
4108
  return i in t ? t[i] : t[i] = e(n);
4088
4109
  };
4089
4110
  };
4090
- var fi = Object.defineProperty, fe = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
4111
+ var pi = Object.defineProperty, me = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4091
4112
  for (var r in t || (t = {}))
4092
- Qt.call(t, r) && dt(e, r, t[r]);
4093
- if (fe)
4094
- for (var r of fe(t))
4095
- Jt.call(t, r) && dt(e, r, t[r]);
4113
+ Jt.call(t, r) && yt(e, r, t[r]);
4114
+ if (me)
4115
+ for (var r of me(t))
4116
+ Yt.call(t, r) && yt(e, r, t[r]);
4096
4117
  return e;
4097
- }, z = (e, t) => {
4118
+ }, W = (e, t) => {
4098
4119
  var r = {};
4099
4120
  for (var n in e)
4100
- Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4101
- if (e != null && fe)
4102
- for (var n of fe(e))
4103
- t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
4121
+ Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4122
+ if (e != null && me)
4123
+ for (var n of me(e))
4124
+ t.indexOf(n) < 0 && Yt.call(e, n) && (r[n] = e[n]);
4104
4125
  return r;
4105
4126
  };
4106
- const K = (e, t) => {
4107
- const { formats: r } = V();
4127
+ const q = (e, t) => {
4128
+ const { formats: r } = k();
4108
4129
  if (e in r && t in r[e])
4109
4130
  return r[e][t];
4110
4131
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4111
- }, mi = ye(
4132
+ }, di = ge(
4112
4133
  (e) => {
4113
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4134
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4114
4135
  if (r == null)
4115
4136
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4116
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4137
+ return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
4117
4138
  }
4118
- ), pi = ye(
4139
+ ), bi = ge(
4119
4140
  (e) => {
4120
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4141
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4121
4142
  if (r == null)
4122
4143
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4123
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4144
+ return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
4124
4145
  }
4125
- ), di = ye(
4146
+ ), yi = ge(
4126
4147
  (e) => {
4127
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4148
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4128
4149
  if (r == null)
4129
4150
  throw new Error(
4130
4151
  '[svelte-i18n] A "locale" must be set to format time values'
4131
4152
  );
4132
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4153
+ return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
4133
4154
  }
4134
- ), bi = (e = {}) => {
4155
+ ), vi = (e = {}) => {
4135
4156
  var t = e, {
4136
4157
  locale: r = L()
4137
- } = t, n = z(t, [
4158
+ } = t, n = W(t, [
4138
4159
  "locale"
4139
4160
  ]);
4140
- return mi(We({ locale: r }, n));
4141
- }, yi = (e = {}) => {
4161
+ return di(Ze({ locale: r }, n));
4162
+ }, gi = (e = {}) => {
4142
4163
  var t = e, {
4143
4164
  locale: r = L()
4144
- } = t, n = z(t, [
4165
+ } = t, n = W(t, [
4145
4166
  "locale"
4146
4167
  ]);
4147
- return pi(We({ locale: r }, n));
4148
- }, gi = (e = {}) => {
4168
+ return bi(Ze({ locale: r }, n));
4169
+ }, _i = (e = {}) => {
4149
4170
  var t = e, {
4150
4171
  locale: r = L()
4151
- } = t, n = z(t, [
4172
+ } = t, n = W(t, [
4152
4173
  "locale"
4153
4174
  ]);
4154
- return di(We({ locale: r }, n));
4155
- }, vi = ye(
4175
+ return yi(Ze({ locale: r }, n));
4176
+ }, xi = ge(
4156
4177
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4157
- (e, t = L()) => new Xn(e, t, V().formats, {
4158
- ignoreTag: V().ignoreTag
4178
+ (e, t = L()) => new zn(e, t, k().formats, {
4179
+ ignoreTag: k().ignoreTag
4159
4180
  })
4160
- ), xi = (e, t = {}) => {
4181
+ ), Ei = (e, t = {}) => {
4161
4182
  var r, n, i, o;
4162
4183
  let s = t;
4163
4184
  typeof e == "object" && (s = e, e = s.id);
@@ -4170,9 +4191,9 @@ const K = (e, t) => {
4170
4191
  throw new Error(
4171
4192
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4172
4193
  );
4173
- let l = Xt(e, h);
4194
+ let l = Wt(e, h);
4174
4195
  if (!l)
4175
- l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4196
+ l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4176
4197
  else if (typeof l != "string")
4177
4198
  return console.warn(
4178
4199
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4181,7 +4202,7 @@ const K = (e, t) => {
4181
4202
  return l;
4182
4203
  let c = l;
4183
4204
  try {
4184
- c = vi(l, h).format(a);
4205
+ c = xi(l, h).format(a);
4185
4206
  } catch (f) {
4186
4207
  f instanceof Error && console.warn(
4187
4208
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4189,21 +4210,21 @@ const K = (e, t) => {
4189
4210
  );
4190
4211
  }
4191
4212
  return c;
4192
- }, _i = (e, t) => gi(t).format(e), Ei = (e, t) => yi(t).format(e), Si = (e, t) => bi(t).format(e), wi = (e, t = L()) => Xt(e, t);
4193
- W([ne, re], () => xi);
4194
- W([ne], () => _i);
4195
- W([ne], () => Ei);
4196
- W([ne], () => Si);
4197
- W([ne, re], () => wi);
4213
+ }, Si = (e, t) => _i(t).format(e), wi = (e, t) => gi(t).format(e), Hi = (e, t) => vi(t).format(e), Ti = (e, t = L()) => Wt(e, t);
4214
+ X([ne, re], () => Ei);
4215
+ X([ne], () => Si);
4216
+ X([ne], () => wi);
4217
+ X([ne], () => Hi);
4218
+ X([ne, re], () => Ti);
4198
4219
  window.emWidgets = { topic: Rr };
4199
- const Hi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4200
- function Ti(e, t) {
4220
+ const Bi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4221
+ function Ai(e, t) {
4201
4222
  if (e) {
4202
4223
  const r = document.createElement("style");
4203
4224
  r.innerHTML = t, e.appendChild(r);
4204
4225
  }
4205
4226
  }
4206
- function Bi(e, t) {
4227
+ function Pi(e, t) {
4207
4228
  const r = new URL(t);
4208
4229
  fetch(r.href).then((n) => n.text()).then((n) => {
4209
4230
  const i = document.createElement("style");
@@ -4212,7 +4233,7 @@ function Bi(e, t) {
4212
4233
  console.error("There was an error while trying to load client styling from URL", n);
4213
4234
  });
4214
4235
  }
4215
- function Ai(e, t, r) {
4236
+ function Oi(e, t, r) {
4216
4237
  if (window.emMessageBus) {
4217
4238
  const n = document.createElement("style");
4218
4239
  window.emMessageBus.subscribe(t, (i) => {
@@ -4220,109 +4241,109 @@ function Ai(e, t, r) {
4220
4241
  });
4221
4242
  }
4222
4243
  }
4223
- function Pi(e) {
4224
- Kt(e, "svelte-8o17lh", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4244
+ function Ii(e) {
4245
+ er(e, "svelte-8o17lh", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4225
4246
  }
4226
- function bt(e) {
4247
+ function vt(e) {
4227
4248
  let t, r, n, i, o, s, a, h, u, l, c, f;
4228
- function p(_, v) {
4249
+ function p(x, v) {
4229
4250
  return (
4230
4251
  /*isLoading*/
4231
- _[3] ? Ii : Oi
4252
+ x[3] ? Ci : Ni
4232
4253
  );
4233
4254
  }
4234
- let g = p(e), m = g(e);
4255
+ let y = p(e), m = y(e);
4235
4256
  return {
4236
4257
  c() {
4237
- t = F("button"), r = F("small"), m.c(), n = rr(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), E(r, "class", "betslipIndicator__number"), E(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4258
+ t = F("button"), r = F("small"), m.c(), n = nr(), i = C("svg"), o = C("g"), s = C("path"), a = C("path"), h = C("path"), u = C("path"), l = C("path"), E(r, "class", "betslipIndicator__number"), E(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4238
4259
  c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
4239
4260
  c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
4240
- c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), sr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
4261
+ c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), ar(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
4241
4262
  },
4242
- m(_, v) {
4243
- te(_, t, v), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, s), B(o, a), B(o, h), B(o, u), B(o, l), c || (f = nr(
4263
+ m(x, v) {
4264
+ ee(x, t, v), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, s), B(o, a), B(o, h), B(o, u), B(o, l), c || (f = ir(
4244
4265
  t,
4245
4266
  "click",
4246
4267
  /*click_handler*/
4247
4268
  e[9]
4248
4269
  ), c = !0);
4249
4270
  },
4250
- p(_, v) {
4251
- g === (g = p(_)) && m ? m.p(_, v) : (m.d(1), m = g(_), m && (m.c(), m.m(r, null)));
4271
+ p(x, v) {
4272
+ y === (y = p(x)) && m ? m.p(x, v) : (m.d(1), m = y(x), m && (m.c(), m.m(r, null)));
4252
4273
  },
4253
- d(_) {
4254
- _ && X(t), m.d(), c = !1, f();
4274
+ d(x) {
4275
+ x && V(t), m.d(), c = !1, f();
4255
4276
  }
4256
4277
  };
4257
4278
  }
4258
- function Oi(e) {
4279
+ function Ni(e) {
4259
4280
  let t;
4260
4281
  return {
4261
4282
  c() {
4262
- t = vt(
4283
+ t = xt(
4263
4284
  /*betNumber*/
4264
4285
  e[1]
4265
4286
  );
4266
4287
  },
4267
4288
  m(r, n) {
4268
- te(r, t, n);
4289
+ ee(r, t, n);
4269
4290
  },
4270
4291
  p(r, n) {
4271
4292
  n & /*betNumber*/
4272
- 2 && or(
4293
+ 2 && sr(
4273
4294
  t,
4274
4295
  /*betNumber*/
4275
4296
  r[1]
4276
4297
  );
4277
4298
  },
4278
4299
  d(r) {
4279
- r && X(t);
4300
+ r && V(t);
4280
4301
  }
4281
4302
  };
4282
4303
  }
4283
- function Ii(e) {
4304
+ function Ci(e) {
4284
4305
  let t;
4285
4306
  return {
4286
4307
  c() {
4287
4308
  t = F("div"), t.textContent = "Loading...", E(t, "class", "loader");
4288
4309
  },
4289
4310
  m(r, n) {
4290
- te(r, t, n);
4311
+ ee(r, t, n);
4291
4312
  },
4292
4313
  p: H,
4293
4314
  d(r) {
4294
- r && X(t);
4315
+ r && V(t);
4295
4316
  }
4296
4317
  };
4297
4318
  }
4298
- function Ci(e) {
4319
+ function Li(e) {
4299
4320
  let t, r = (
4300
4321
  /*mobileView*/
4301
4322
  e[2] && /*betNumber*/
4302
4323
  e[1] > 0 && /*betSlipVisible*/
4303
- e[4] && bt(e)
4324
+ e[4] && vt(e)
4304
4325
  );
4305
4326
  return {
4306
4327
  c() {
4307
4328
  t = F("div"), r && r.c();
4308
4329
  },
4309
4330
  m(n, i) {
4310
- te(n, t, i), r && r.m(t, null), e[10](t);
4331
+ ee(n, t, i), r && r.m(t, null), e[10](t);
4311
4332
  },
4312
4333
  p(n, [i]) {
4313
4334
  /*mobileView*/
4314
4335
  n[2] && /*betNumber*/
4315
4336
  n[1] > 0 && /*betSlipVisible*/
4316
- n[4] ? r ? r.p(n, i) : (r = bt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4337
+ n[4] ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4317
4338
  },
4318
4339
  i: H,
4319
4340
  o: H,
4320
4341
  d(n) {
4321
- n && X(t), r && r.d(), e[10](null);
4342
+ n && V(t), r && r.d(), e[10](null);
4322
4343
  }
4323
4344
  };
4324
4345
  }
4325
- function Ni(e, t, r) {
4346
+ function Mi(e, t, r) {
4326
4347
  let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0, c = !1;
4327
4348
  const f = () => {
4328
4349
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
@@ -4336,7 +4357,7 @@ function Ni(e, t, r) {
4336
4357
  // propagate across the shadow DOM
4337
4358
  }
4338
4359
  ));
4339
- }, g = (v) => {
4360
+ }, y = (v) => {
4340
4361
  const { type: T, payload: w } = v.data;
4341
4362
  if (v.data)
4342
4363
  switch (T) {
@@ -4349,12 +4370,12 @@ function Ni(e, t, r) {
4349
4370
  break;
4350
4371
  }
4351
4372
  };
4352
- hr(() => (f(), window.addEventListener("message", g, !1), Hi(a) && r(2, u = !0), () => {
4353
- window.removeEventListener("message", g);
4373
+ lr(() => (f(), window.addEventListener("message", y, !1), Bi(a) && r(2, u = !0), () => {
4374
+ window.removeEventListener("message", y);
4354
4375
  }));
4355
4376
  const m = (v) => p("betslipClick", {});
4356
- function _(v) {
4357
- Te[v ? "unshift" : "push"](() => {
4377
+ function x(v) {
4378
+ Ae[v ? "unshift" : "push"](() => {
4358
4379
  s = v, r(0, s);
4359
4380
  });
4360
4381
  }
@@ -4362,9 +4383,9 @@ function Ni(e, t, r) {
4362
4383
  "clientstyling" in v && r(6, n = v.clientstyling), "clientstylingurl" in v && r(7, i = v.clientstylingurl), "mbsource" in v && r(8, o = v.mbsource);
4363
4384
  }, e.$$.update = () => {
4364
4385
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4365
- 65 && n && s && Ti(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4366
- 129 && i && s && Bi(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4367
- 257 && o && s && Ai(s, `${o}.Style`);
4386
+ 65 && n && s && Ai(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4387
+ 129 && i && s && Pi(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4388
+ 257 && o && s && Oi(s, `${o}.Style`);
4368
4389
  }, [
4369
4390
  s,
4370
4391
  h,
@@ -4376,45 +4397,45 @@ function Ni(e, t, r) {
4376
4397
  i,
4377
4398
  o,
4378
4399
  m,
4379
- _
4400
+ x
4380
4401
  ];
4381
4402
  }
4382
- class Li extends _r {
4403
+ class $i extends Er {
4383
4404
  constructor(t) {
4384
- super(), vr(
4405
+ super(), _r(
4385
4406
  this,
4386
4407
  t,
4387
- Ni,
4388
- Ci,
4389
- gt,
4408
+ Mi,
4409
+ Li,
4410
+ _t,
4390
4411
  {
4391
4412
  clientstyling: 6,
4392
4413
  clientstylingurl: 7,
4393
4414
  mbsource: 8
4394
4415
  },
4395
- Pi
4416
+ Ii
4396
4417
  );
4397
4418
  }
4398
4419
  get clientstyling() {
4399
4420
  return this.$$.ctx[6];
4400
4421
  }
4401
4422
  set clientstyling(t) {
4402
- this.$$set({ clientstyling: t }), J();
4423
+ this.$$set({ clientstyling: t }), Q();
4403
4424
  }
4404
4425
  get clientstylingurl() {
4405
4426
  return this.$$.ctx[7];
4406
4427
  }
4407
4428
  set clientstylingurl(t) {
4408
- this.$$set({ clientstylingurl: t }), J();
4429
+ this.$$set({ clientstylingurl: t }), Q();
4409
4430
  }
4410
4431
  get mbsource() {
4411
4432
  return this.$$.ctx[8];
4412
4433
  }
4413
4434
  set mbsource(t) {
4414
- this.$$set({ mbsource: t }), J();
4435
+ this.$$set({ mbsource: t }), Q();
4415
4436
  }
4416
4437
  }
4417
- xr(Li, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4438
+ xr($i, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4418
4439
  export {
4419
- Li as C
4440
+ $i as C
4420
4441
  };