@everymatrix/casino-betslip-indicator 1.86.4 → 1.86.6

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,46 +1,46 @@
1
- function O() {
1
+ function I() {
2
2
  }
3
- function Tt(e) {
3
+ function Ot(e) {
4
4
  return e();
5
5
  }
6
- function tt() {
6
+ function nt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function k(e) {
10
- e.forEach(Tt);
10
+ e.forEach(Ot);
11
11
  }
12
- function Je(e) {
12
+ function Ke(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function At(e, t) {
15
+ function Pt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function yr(e) {
18
+ function vr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Pt(e, ...t) {
21
+ function It(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return O;
25
+ return I;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function vr(e, t, r) {
31
- e.$$.on_destroy.push(Pt(t, r));
30
+ function _r(e, t, r) {
31
+ e.$$.on_destroy.push(It(t, r));
32
32
  }
33
33
  function w(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function _r(e, t, r) {
37
- const n = Er(e);
36
+ function Er(e, t, r) {
37
+ const n = xr(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = P("style");
40
- i.id = t, i.textContent = r, xr(n, i);
39
+ const i = O("style");
40
+ i.id = t, i.textContent = r, Br(n, i);
41
41
  }
42
42
  }
43
- function Er(e) {
43
+ function xr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,7 +50,7 @@ function Er(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function xr(e, t) {
53
+ function Br(e, t) {
54
54
  return w(
55
55
  /** @type {Document} */
56
56
  e.head || e,
@@ -63,7 +63,7 @@ function S(e, t, r) {
63
63
  function B(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function P(e) {
66
+ function O(e) {
67
67
  return document.createElement(e);
68
68
  }
69
69
  function F(e) {
@@ -72,26 +72,26 @@ function F(e) {
72
72
  function U(e) {
73
73
  return document.createTextNode(e);
74
74
  }
75
- function Y() {
75
+ function Q() {
76
76
  return U(" ");
77
77
  }
78
78
  function Z(e, t, r, n) {
79
79
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
80
80
  }
81
- function E(e, t, r) {
81
+ function _(e, t, r) {
82
82
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
83
83
  }
84
- function Br(e) {
84
+ function Sr(e) {
85
85
  return Array.from(e.childNodes);
86
86
  }
87
87
  function G(e, t) {
88
88
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
89
89
  t);
90
90
  }
91
- function Sr(e, t, r, n) {
91
+ function wr(e, t, r, n) {
92
92
  e.style.setProperty(t, r, "");
93
93
  }
94
- function wr(e) {
94
+ function Hr(e) {
95
95
  const t = {};
96
96
  return e.childNodes.forEach(
97
97
  /** @param {Element} node */
@@ -100,95 +100,95 @@ function wr(e) {
100
100
  }
101
101
  ), t;
102
102
  }
103
- let ae;
104
- function se(e) {
105
- ae = e;
103
+ let se;
104
+ function oe(e) {
105
+ se = e;
106
106
  }
107
- function Hr() {
108
- if (!ae)
107
+ function Tr() {
108
+ if (!se)
109
109
  throw new Error("Function called outside component initialization");
110
- return ae;
110
+ return se;
111
111
  }
112
- function Tr(e) {
113
- Hr().$$.on_mount.push(e);
112
+ function Ar(e) {
113
+ Tr().$$.on_mount.push(e);
114
114
  }
115
- const W = [], Le = [];
115
+ const W = [], Me = [];
116
116
  let J = [];
117
- const rt = [], Ar = /* @__PURE__ */ Promise.resolve();
118
- let Ne = !1;
117
+ const it = [], Or = /* @__PURE__ */ Promise.resolve();
118
+ let Re = !1;
119
119
  function Pr() {
120
- Ne || (Ne = !0, Ar.then(N));
120
+ Re || (Re = !0, Or.then(M));
121
121
  }
122
- function Me(e) {
122
+ function $e(e) {
123
123
  J.push(e);
124
124
  }
125
- const we = /* @__PURE__ */ new Set();
125
+ const Te = /* @__PURE__ */ new Set();
126
126
  let X = 0;
127
- function N() {
127
+ function M() {
128
128
  if (X !== 0)
129
129
  return;
130
- const e = ae;
130
+ const e = se;
131
131
  do {
132
132
  try {
133
133
  for (; X < W.length; ) {
134
134
  const t = W[X];
135
- X++, se(t), Ir(t.$$);
135
+ X++, oe(t), Ir(t.$$);
136
136
  }
137
137
  } catch (t) {
138
138
  throw W.length = 0, X = 0, t;
139
139
  }
140
- for (se(null), W.length = 0, X = 0; Le.length; )
141
- Le.pop()();
140
+ for (oe(null), W.length = 0, X = 0; Me.length; )
141
+ Me.pop()();
142
142
  for (let t = 0; t < J.length; t += 1) {
143
143
  const r = J[t];
144
- we.has(r) || (we.add(r), r());
144
+ Te.has(r) || (Te.add(r), r());
145
145
  }
146
146
  J.length = 0;
147
147
  } while (W.length);
148
- for (; rt.length; )
149
- rt.pop()();
150
- Ne = !1, we.clear(), se(e);
148
+ for (; it.length; )
149
+ it.pop()();
150
+ Re = !1, Te.clear(), oe(e);
151
151
  }
152
152
  function Ir(e) {
153
153
  if (e.fragment !== null) {
154
154
  e.update(), k(e.before_update);
155
155
  const t = e.dirty;
156
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
156
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
157
157
  }
158
158
  }
159
- function Or(e) {
159
+ function Cr(e) {
160
160
  const t = [], r = [];
161
161
  J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
162
162
  }
163
- const Cr = /* @__PURE__ */ new Set();
163
+ const Nr = /* @__PURE__ */ new Set();
164
164
  function Lr(e, t) {
165
- e && e.i && (Cr.delete(e), e.i(t));
165
+ e && e.i && (Nr.delete(e), e.i(t));
166
166
  }
167
- function Nr(e, t, r) {
167
+ function Mr(e, t, r) {
168
168
  const { fragment: n, after_update: i } = e.$$;
169
- n && n.m(t, r), Me(() => {
170
- const o = e.$$.on_mount.map(Tt).filter(Je);
169
+ n && n.m(t, r), $e(() => {
170
+ const o = e.$$.on_mount.map(Ot).filter(Ke);
171
171
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : k(o), e.$$.on_mount = [];
172
- }), i.forEach(Me);
172
+ }), i.forEach($e);
173
173
  }
174
- function Mr(e, t) {
174
+ function Rr(e, t) {
175
175
  const r = e.$$;
176
- r.fragment !== null && (Or(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
176
+ r.fragment !== null && (Cr(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
177
177
  }
178
- function Rr(e, t) {
178
+ function $r(e, t) {
179
179
  e.$$.dirty[0] === -1 && (W.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
180
180
  }
181
- function $r(e, t, r, n, i, o, s = null, a = [-1]) {
182
- const l = ae;
183
- se(e);
181
+ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
182
+ const l = se;
183
+ oe(e);
184
184
  const u = e.$$ = {
185
185
  fragment: null,
186
186
  ctx: [],
187
187
  // state
188
188
  props: o,
189
- update: O,
189
+ update: I,
190
190
  not_equal: i,
191
- bound: tt(),
191
+ bound: nt(),
192
192
  // lifecycle
193
193
  on_mount: [],
194
194
  on_destroy: [],
@@ -197,7 +197,7 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
197
197
  after_update: [],
198
198
  context: new Map(t.context || (l ? l.$$.context : [])),
199
199
  // everything else
200
- callbacks: tt(),
200
+ callbacks: nt(),
201
201
  dirty: a,
202
202
  skip_bound: !1,
203
203
  root: t.target || l.$$.root
@@ -206,19 +206,19 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
206
206
  let h = !1;
207
207
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
208
208
  const d = p.length ? p[0] : f;
209
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Rr(e, c)), f;
209
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && $r(e, c)), f;
210
210
  }) : [], u.update(), h = !0, k(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
211
211
  if (t.hydrate) {
212
- const c = Br(t.target);
212
+ const c = Sr(t.target);
213
213
  u.fragment && u.fragment.l(c), c.forEach(B);
214
214
  } else
215
215
  u.fragment && u.fragment.c();
216
- t.intro && Lr(e.$$.fragment), Nr(e, t.target, t.anchor), N();
216
+ t.intro && Lr(e.$$.fragment), Mr(e, t.target, t.anchor), M();
217
217
  }
218
- se(l);
218
+ oe(l);
219
219
  }
220
- let It;
221
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
220
+ let Ct;
221
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
222
222
  /** The Svelte component constructor */
223
223
  $$ctor;
224
224
  /** Slots */
@@ -260,7 +260,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
260
260
  let o;
261
261
  return {
262
262
  c: function() {
263
- o = P("slot"), i !== "default" && E(o, "name", i);
263
+ o = O("slot"), i !== "default" && _(o, "name", i);
264
264
  },
265
265
  /**
266
266
  * @param {HTMLElement} target
@@ -277,7 +277,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
277
277
  };
278
278
  if (await Promise.resolve(), !this.$$cn || this.$$c)
279
279
  return;
280
- const t = {}, r = wr(this);
280
+ const t = {}, r = Hr(this);
281
281
  for (const i of this.$$s)
282
282
  i in r && (t[i] = [e(i)]);
283
283
  for (const i of this.attributes) {
@@ -364,8 +364,8 @@ function pe(e, t, r, n) {
364
364
  return t;
365
365
  }
366
366
  }
367
- function Ur(e, t, r, n, i, o) {
368
- let s = class extends It {
367
+ function Dr(e, t, r, n, i, o) {
368
+ let s = class extends Ct {
369
369
  constructor() {
370
370
  super(e, r, i), this.$$p_d = t;
371
371
  }
@@ -393,7 +393,7 @@ function Ur(e, t, r, n, i, o) {
393
393
  }), e.element = /** @type {any} */
394
394
  s, s;
395
395
  }
396
- class Dr {
396
+ class Fr {
397
397
  /**
398
398
  * ### PRIVATE API
399
399
  *
@@ -412,7 +412,7 @@ class Dr {
412
412
  $$set = void 0;
413
413
  /** @returns {void} */
414
414
  $destroy() {
415
- Mr(this, 1), this.$destroy = O;
415
+ Rr(this, 1), this.$destroy = I;
416
416
  }
417
417
  /**
418
418
  * @template {Extract<keyof Events, string>} K
@@ -421,8 +421,8 @@ class Dr {
421
421
  * @returns {() => void}
422
422
  */
423
423
  $on(t, r) {
424
- if (!Je(r))
425
- return O;
424
+ if (!Ke(r))
425
+ return I;
426
426
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
427
427
  return n.push(r), () => {
428
428
  const i = n.indexOf(r);
@@ -434,11 +434,11 @@ class Dr {
434
434
  * @returns {void}
435
435
  */
436
436
  $set(t) {
437
- this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
437
+ this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
438
438
  }
439
439
  }
440
- const Fr = "4";
441
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
440
+ const Gr = "4";
441
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
442
442
  /*! *****************************************************************************
443
443
  Copyright (c) Microsoft Corporation.
444
444
 
@@ -453,43 +453,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
453
453
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
454
454
  PERFORMANCE OF THIS SOFTWARE.
455
455
  ***************************************************************************** */
456
- var Re = function(e, t) {
457
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
456
+ var Ue = function(e, t) {
457
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
458
458
  r.__proto__ = n;
459
459
  } || function(r, n) {
460
460
  for (var i in n)
461
461
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
462
- }, Re(e, t);
462
+ }, Ue(e, t);
463
463
  };
464
- function R(e, t) {
464
+ function le(e, t) {
465
465
  if (typeof t != "function" && t !== null)
466
466
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
467
- Re(e, t);
467
+ Ue(e, t);
468
468
  function r() {
469
469
  this.constructor = e;
470
470
  }
471
471
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
472
472
  }
473
- var _ = function() {
474
- return _ = Object.assign || function(t) {
475
- for (var r, n = 1, i = arguments.length; n < i; n++) {
476
- r = arguments[n];
477
- for (var o in r)
478
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
479
- }
480
- return t;
481
- }, _.apply(this, arguments);
482
- };
483
- function Gr(e, t) {
484
- var r = {};
485
- for (var n in e)
486
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
487
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
488
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
489
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
490
- return r;
491
- }
492
- function $e(e) {
473
+ function De(e) {
493
474
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
494
475
  if (r)
495
476
  return r.call(e);
@@ -501,7 +482,7 @@ function $e(e) {
501
482
  };
502
483
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
503
484
  }
504
- function Ue(e, t) {
485
+ function Fe(e, t) {
505
486
  var r = typeof Symbol == "function" && e[Symbol.iterator];
506
487
  if (!r)
507
488
  return e;
@@ -521,22 +502,22 @@ function Ue(e, t) {
521
502
  }
522
503
  return o;
523
504
  }
524
- function Q(e, t, r) {
525
- if (r || arguments.length === 2)
505
+ function Ge(e, t, r) {
506
+ if (arguments.length === 2)
526
507
  for (var n = 0, i = t.length, o; n < i; n++)
527
508
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
528
509
  return e.concat(o || t);
529
510
  }
530
- function M(e) {
511
+ function R(e) {
531
512
  return typeof e == "function";
532
513
  }
533
- function Ot(e) {
514
+ function Nt(e) {
534
515
  var t = function(n) {
535
516
  Error.call(n), n.stack = new Error().stack;
536
517
  }, r = e(t);
537
518
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
538
519
  }
539
- var He = Ot(function(e) {
520
+ var Ae = Nt(function(e) {
540
521
  return function(r) {
541
522
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
542
523
  ` + r.map(function(n, i) {
@@ -545,13 +526,13 @@ var He = Ot(function(e) {
545
526
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
546
527
  };
547
528
  });
548
- function De(e, t) {
529
+ function ke(e, t) {
549
530
  if (e) {
550
531
  var r = e.indexOf(t);
551
532
  0 <= r && e.splice(r, 1);
552
533
  }
553
534
  }
554
- var _e = function() {
535
+ var Ee = function() {
555
536
  function e(t) {
556
537
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
557
538
  }
@@ -563,7 +544,7 @@ var _e = function() {
563
544
  if (s)
564
545
  if (this._parentage = null, Array.isArray(s))
565
546
  try {
566
- for (var a = $e(s), l = a.next(); !l.done; l = a.next()) {
547
+ for (var a = De(s), l = a.next(); !l.done; l = a.next()) {
567
548
  var u = l.value;
568
549
  u.remove(this);
569
550
  }
@@ -580,22 +561,22 @@ var _e = function() {
580
561
  else
581
562
  s.remove(this);
582
563
  var h = this.initialTeardown;
583
- if (M(h))
564
+ if (R(h))
584
565
  try {
585
566
  h();
586
567
  } catch (m) {
587
- o = m instanceof He ? m.errors : [m];
568
+ o = m instanceof Ae ? m.errors : [m];
588
569
  }
589
570
  var c = this._finalizers;
590
571
  if (c) {
591
572
  this._finalizers = null;
592
573
  try {
593
- for (var f = $e(c), p = f.next(); !p.done; p = f.next()) {
574
+ for (var f = De(c), p = f.next(); !p.done; p = f.next()) {
594
575
  var d = p.value;
595
576
  try {
596
- nt(d);
577
+ ot(d);
597
578
  } catch (m) {
598
- o = o ?? [], m instanceof He ? o = Q(Q([], Ue(o)), Ue(m.errors)) : o.push(m);
579
+ o = o ?? [], m instanceof Ae ? o = Ge(Ge([], Fe(o)), Fe(m.errors)) : o.push(m);
599
580
  }
600
581
  }
601
582
  } catch (m) {
@@ -610,13 +591,13 @@ var _e = function() {
610
591
  }
611
592
  }
612
593
  if (o)
613
- throw new He(o);
594
+ throw new Ae(o);
614
595
  }
615
596
  }, e.prototype.add = function(t) {
616
597
  var r;
617
598
  if (t && t !== this)
618
599
  if (this.closed)
619
- nt(t);
600
+ ot(t);
620
601
  else {
621
602
  if (t instanceof e) {
622
603
  if (t.closed || t._hasParent(this))
@@ -633,56 +614,52 @@ var _e = function() {
633
614
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
634
615
  }, e.prototype._removeParent = function(t) {
635
616
  var r = this._parentage;
636
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
617
+ r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
637
618
  }, e.prototype.remove = function(t) {
638
619
  var r = this._finalizers;
639
- r && De(r, t), t instanceof e && t._removeParent(this);
620
+ r && ke(r, t), t instanceof e && t._removeParent(this);
640
621
  }, e.EMPTY = function() {
641
622
  var t = new e();
642
623
  return t.closed = !0, t;
643
624
  }(), e;
644
- }(), Ct = _e.EMPTY;
645
- function Lt(e) {
646
- return e instanceof _e || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
647
- }
648
- function nt(e) {
649
- M(e) ? e() : e.unsubscribe();
650
- }
651
- var Nt = {
652
- onUnhandledError: null,
653
- onStoppedNotification: null,
654
- Promise: void 0,
655
- useDeprecatedSynchronousErrorHandling: !1,
656
- useDeprecatedNextContext: !1
657
- }, kr = {
625
+ }(), Lt = Ee.EMPTY;
626
+ function Mt(e) {
627
+ return e instanceof Ee || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
628
+ }
629
+ function ot(e) {
630
+ R(e) ? e() : e.unsubscribe();
631
+ }
632
+ var kr = {
633
+ Promise: void 0
634
+ }, jr = {
658
635
  setTimeout: function(e, t) {
659
636
  for (var r = [], n = 2; n < arguments.length; n++)
660
637
  r[n - 2] = arguments[n];
661
- return setTimeout.apply(void 0, Q([e, t], Ue(r)));
638
+ return setTimeout.apply(void 0, Ge([e, t], Fe(r)));
662
639
  },
663
640
  clearTimeout: function(e) {
664
641
  return clearTimeout(e);
665
642
  },
666
643
  delegate: void 0
667
644
  };
668
- function jr(e) {
669
- kr.setTimeout(function() {
645
+ function Vr(e) {
646
+ jr.setTimeout(function() {
670
647
  throw e;
671
648
  });
672
649
  }
673
- function it() {
650
+ function st() {
674
651
  }
675
652
  function de(e) {
676
653
  e();
677
654
  }
678
- var Mt = function(e) {
679
- R(t, e);
655
+ var Rt = function(e) {
656
+ le(t, e);
680
657
  function t(r) {
681
658
  var n = e.call(this) || this;
682
- return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Wr, n;
659
+ return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Wr, n;
683
660
  }
684
661
  return t.create = function(r, n, i) {
685
- return new Fe(r, n, i);
662
+ return new je(r, n, i);
686
663
  }, t.prototype.next = function(r) {
687
664
  this.isStopped || this._next(r);
688
665
  }, t.prototype.error = function(r) {
@@ -706,11 +683,7 @@ var Mt = function(e) {
706
683
  this.unsubscribe();
707
684
  }
708
685
  }, t;
709
- }(_e), Vr = Function.prototype.bind;
710
- function Te(e, t) {
711
- return Vr.call(e, t);
712
- }
713
- var Xr = function() {
686
+ }(Ee), Xr = function() {
714
687
  function e(t) {
715
688
  this.partialObserver = t;
716
689
  }
@@ -741,41 +714,29 @@ var Xr = function() {
741
714
  fe(r);
742
715
  }
743
716
  }, e;
744
- }(), Fe = function(e) {
745
- R(t, e);
717
+ }(), je = function(e) {
718
+ le(t, e);
746
719
  function t(r, n, i) {
747
720
  var o = e.call(this) || this, s;
748
- if (M(r) || !r)
749
- s = {
750
- next: r ?? void 0,
751
- error: n ?? void 0,
752
- complete: i ?? void 0
753
- };
754
- else {
755
- var a;
756
- o && Nt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
757
- return o.unsubscribe();
758
- }, s = {
759
- next: r.next && Te(r.next, a),
760
- error: r.error && Te(r.error, a),
761
- complete: r.complete && Te(r.complete, a)
762
- }) : s = r;
763
- }
764
- return o.destination = new Xr(s), o;
721
+ return R(r) || !r ? s = {
722
+ next: r ?? void 0,
723
+ error: n ?? void 0,
724
+ complete: i ?? void 0
725
+ } : s = r, o.destination = new Xr(s), o;
765
726
  }
766
727
  return t;
767
- }(Mt);
728
+ }(Rt);
768
729
  function fe(e) {
769
- jr(e);
730
+ Vr(e);
770
731
  }
771
732
  function zr(e) {
772
733
  throw e;
773
734
  }
774
735
  var Wr = {
775
736
  closed: !0,
776
- next: it,
737
+ next: st,
777
738
  error: zr,
778
- complete: it
739
+ complete: st
779
740
  }, Zr = function() {
780
741
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
781
742
  }();
@@ -789,7 +750,7 @@ function Qr(e) {
789
750
  }, r);
790
751
  };
791
752
  }
792
- var ot = function() {
753
+ var at = function() {
793
754
  function e(t) {
794
755
  t && (this._subscribe = t);
795
756
  }
@@ -797,7 +758,7 @@ var ot = function() {
797
758
  var r = new e();
798
759
  return r.source = this, r.operator = t, r;
799
760
  }, e.prototype.subscribe = function(t, r, n) {
800
- var i = this, o = qr(t) ? t : new Fe(t, r, n);
761
+ var i = this, o = qr(t) ? t : new je(t, r, n);
801
762
  return de(function() {
802
763
  var s = i, a = s.operator, l = s.source;
803
764
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -810,8 +771,8 @@ var ot = function() {
810
771
  }
811
772
  }, e.prototype.forEach = function(t, r) {
812
773
  var n = this;
813
- return r = st(r), new r(function(i, o) {
814
- var s = new Fe({
774
+ return r = ut(r), new r(function(i, o) {
775
+ var s = new je({
815
776
  next: function(a) {
816
777
  try {
817
778
  t(a);
@@ -835,7 +796,7 @@ var ot = function() {
835
796
  return Qr(t)(this);
836
797
  }, e.prototype.toPromise = function(t) {
837
798
  var r = this;
838
- return t = st(t), new t(function(n, i) {
799
+ return t = ut(t), new t(function(n, i) {
839
800
  var o;
840
801
  r.subscribe(function(s) {
841
802
  return o = s;
@@ -849,28 +810,28 @@ var ot = function() {
849
810
  return new e(t);
850
811
  }, e;
851
812
  }();
852
- function st(e) {
813
+ function ut(e) {
853
814
  var t;
854
- return (t = e ?? Nt.Promise) !== null && t !== void 0 ? t : Promise;
815
+ return (t = e ?? kr.Promise) !== null && t !== void 0 ? t : Promise;
855
816
  }
856
817
  function Yr(e) {
857
- return e && M(e.next) && M(e.error) && M(e.complete);
818
+ return e && R(e.next) && R(e.error) && R(e.complete);
858
819
  }
859
820
  function qr(e) {
860
- return e && e instanceof Mt || Yr(e) && Lt(e);
821
+ return e && e instanceof Rt || Yr(e) && Mt(e);
861
822
  }
862
- var Kr = Ot(function(e) {
823
+ var Kr = Nt(function(e) {
863
824
  return function() {
864
825
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
865
826
  };
866
- }), Rt = function(e) {
867
- R(t, e);
827
+ }), $t = function(e) {
828
+ le(t, e);
868
829
  function t() {
869
830
  var r = e.call(this) || this;
870
831
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
871
832
  }
872
833
  return t.prototype.lift = function(r) {
873
- var n = new at(this, this);
834
+ var n = new lt(this, this);
874
835
  return n.operator = r, n;
875
836
  }, t.prototype._throwIfClosed = function() {
876
837
  if (this.closed)
@@ -882,7 +843,7 @@ var Kr = Ot(function(e) {
882
843
  if (n._throwIfClosed(), !n.isStopped) {
883
844
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
884
845
  try {
885
- for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
846
+ for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
886
847
  var l = a.value;
887
848
  l.next(r);
888
849
  }
@@ -931,20 +892,20 @@ var Kr = Ot(function(e) {
931
892
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
932
893
  }, t.prototype._innerSubscribe = function(r) {
933
894
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
934
- return o || s ? Ct : (this.currentObservers = null, a.push(r), new _e(function() {
935
- n.currentObservers = null, De(a, r);
895
+ return o || s ? Lt : (this.currentObservers = null, a.push(r), new Ee(function() {
896
+ n.currentObservers = null, ke(a, r);
936
897
  }));
937
898
  }, t.prototype._checkFinalizedStatuses = function(r) {
938
899
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
939
900
  i ? r.error(o) : s && r.complete();
940
901
  }, t.prototype.asObservable = function() {
941
- var r = new ot();
902
+ var r = new at();
942
903
  return r.source = this, r;
943
904
  }, t.create = function(r, n) {
944
- return new at(r, n);
905
+ return new lt(r, n);
945
906
  }, t;
946
- }(ot), at = function(e) {
947
- R(t, e);
907
+ }(at), lt = function(e) {
908
+ le(t, e);
948
909
  function t(r, n) {
949
910
  var i = e.call(this) || this;
950
911
  return i.destination = r, i.source = n, i;
@@ -960,17 +921,17 @@ var Kr = Ot(function(e) {
960
921
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
961
922
  }, t.prototype._subscribe = function(r) {
962
923
  var n, i;
963
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
924
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
964
925
  }, t;
965
- }(Rt), $t = {
926
+ }($t), Ut = {
966
927
  now: function() {
967
- return ($t.delegate || Date).now();
928
+ return (Ut.delegate || Date).now();
968
929
  },
969
930
  delegate: void 0
970
931
  }, en = function(e) {
971
- R(t, e);
932
+ le(t, e);
972
933
  function t(r, n, i) {
973
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
934
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
974
935
  var o = e.call(this) || this;
975
936
  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;
976
937
  }
@@ -990,24 +951,24 @@ var Kr = Ot(function(e) {
990
951
  u && o.splice(0, u + 1);
991
952
  }
992
953
  }, t;
993
- }(Rt);
994
- const ut = [], lt = {}, tn = (e, t = 0) => {
995
- if (ut.indexOf(e) == -1) {
954
+ }($t);
955
+ const ht = [], ct = {}, tn = (e, t = 0) => {
956
+ if (ht.indexOf(e) == -1) {
996
957
  const r = new en(t);
997
- lt[e] = r, ut.push(e);
958
+ ct[e] = r, ht.push(e);
998
959
  }
999
- return lt[e];
960
+ return ct[e];
1000
961
  }, z = [];
1001
962
  function rn(e, t) {
1002
963
  return {
1003
- subscribe: Ee(e, t).subscribe
964
+ subscribe: xe(e, t).subscribe
1004
965
  };
1005
966
  }
1006
- function Ee(e, t = O) {
967
+ function xe(e, t = I) {
1007
968
  let r;
1008
969
  const n = /* @__PURE__ */ new Set();
1009
970
  function i(a) {
1010
- if (At(e, a) && (e = a, r)) {
971
+ if (Pt(e, a) && (e = a, r)) {
1011
972
  const l = !z.length;
1012
973
  for (const u of n)
1013
974
  u[1](), z.push(u, e);
@@ -1021,15 +982,15 @@ function Ee(e, t = O) {
1021
982
  function o(a) {
1022
983
  i(a(e));
1023
984
  }
1024
- function s(a, l = O) {
985
+ function s(a, l = I) {
1025
986
  const u = [a, l];
1026
- return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
987
+ return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
1027
988
  n.delete(u), n.size === 0 && r && (r(), r = null);
1028
989
  };
1029
990
  }
1030
991
  return { set: i, update: o, subscribe: s };
1031
992
  }
1032
- function re(e, t, r) {
993
+ function te(e, t, r) {
1033
994
  const n = !Array.isArray(e), i = n ? [e] : e;
1034
995
  if (!i.every(Boolean))
1035
996
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1037,15 +998,15 @@ function re(e, t, r) {
1037
998
  return rn(r, (s, a) => {
1038
999
  let l = !1;
1039
1000
  const u = [];
1040
- let h = 0, c = O;
1001
+ let h = 0, c = I;
1041
1002
  const f = () => {
1042
1003
  if (h)
1043
1004
  return;
1044
1005
  c();
1045
1006
  const d = t(n ? u[0] : u, s, a);
1046
- o ? s(d) : c = Je(d) ? d : O;
1007
+ o ? s(d) : c = Ke(d) ? d : I;
1047
1008
  }, p = i.map(
1048
- (d, m) => Pt(
1009
+ (d, m) => It(
1049
1010
  d,
1050
1011
  (v) => {
1051
1012
  u[m] = v, h &= ~(1 << m), l && f();
@@ -1080,29 +1041,29 @@ function hn(e) {
1080
1041
  function cn(e) {
1081
1042
  return Array.isArray(e) ? [] : {};
1082
1043
  }
1083
- function ue(e, t) {
1084
- return t.clone !== !1 && t.isMergeableObject(e) ? q(cn(e), e, t) : e;
1044
+ function ae(e, t) {
1045
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(cn(e), e, t) : e;
1085
1046
  }
1086
1047
  function fn(e, t, r) {
1087
1048
  return e.concat(t).map(function(n) {
1088
- return ue(n, r);
1049
+ return ae(n, r);
1089
1050
  });
1090
1051
  }
1091
1052
  function mn(e, t) {
1092
1053
  if (!t.customMerge)
1093
- return q;
1054
+ return Y;
1094
1055
  var r = t.customMerge(e);
1095
- return typeof r == "function" ? r : q;
1056
+ return typeof r == "function" ? r : Y;
1096
1057
  }
1097
1058
  function pn(e) {
1098
1059
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1099
1060
  return Object.propertyIsEnumerable.call(e, t);
1100
1061
  }) : [];
1101
1062
  }
1102
- function ht(e) {
1063
+ function ft(e) {
1103
1064
  return Object.keys(e).concat(pn(e));
1104
1065
  }
1105
- function Ut(e, t) {
1066
+ function Dt(e, t) {
1106
1067
  try {
1107
1068
  return t in e;
1108
1069
  } catch {
@@ -1110,129 +1071,179 @@ function Ut(e, t) {
1110
1071
  }
1111
1072
  }
1112
1073
  function dn(e, t) {
1113
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1074
+ return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1114
1075
  }
1115
1076
  function bn(e, t, r) {
1116
1077
  var n = {};
1117
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1118
- n[i] = ue(e[i], r);
1119
- }), ht(t).forEach(function(i) {
1120
- dn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1078
+ return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1079
+ n[i] = ae(e[i], r);
1080
+ }), ft(t).forEach(function(i) {
1081
+ dn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1121
1082
  }), n;
1122
1083
  }
1123
- function q(e, t, r) {
1124
- r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = ue;
1084
+ function Y(e, t, r) {
1085
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = ae;
1125
1086
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1126
- return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : ue(t, r);
1087
+ return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : ae(t, r);
1127
1088
  }
1128
- q.all = function(t, r) {
1089
+ Y.all = function(t, r) {
1129
1090
  if (!Array.isArray(t))
1130
1091
  throw new Error("first argument should be an array");
1131
1092
  return t.reduce(function(n, i) {
1132
- return q(n, i, r);
1093
+ return Y(n, i, r);
1133
1094
  }, {});
1134
1095
  };
1135
- var gn = q, yn = gn;
1096
+ var gn = Y, yn = gn;
1136
1097
  const vn = /* @__PURE__ */ nn(yn);
1137
- function Ae(e, t) {
1138
- var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : En;
1098
+ var Ve = function(e, t) {
1099
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1100
+ r.__proto__ = n;
1101
+ } || function(r, n) {
1102
+ for (var i in n)
1103
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1104
+ }, Ve(e, t);
1105
+ };
1106
+ function Be(e, t) {
1107
+ if (typeof t != "function" && t !== null)
1108
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1109
+ Ve(e, t);
1110
+ function r() {
1111
+ this.constructor = e;
1112
+ }
1113
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1114
+ }
1115
+ var N = function() {
1116
+ return N = Object.assign || function(t) {
1117
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1118
+ r = arguments[n];
1119
+ for (var o in r)
1120
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1121
+ }
1122
+ return t;
1123
+ }, N.apply(this, arguments);
1124
+ };
1125
+ function _n(e, t) {
1126
+ var r = {};
1127
+ for (var n in e)
1128
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1129
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1130
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1131
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1132
+ return r;
1133
+ }
1134
+ function Oe(e, t, r) {
1135
+ if (r || arguments.length === 2)
1136
+ for (var n = 0, i = t.length, o; n < i; n++)
1137
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1138
+ return e.concat(o || Array.prototype.slice.call(t));
1139
+ }
1140
+ function Pe(e, t) {
1141
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : Bn;
1139
1142
  return i(e, {
1140
1143
  cache: r,
1141
1144
  serializer: n
1142
1145
  });
1143
1146
  }
1144
- function _n(e) {
1147
+ function En(e) {
1145
1148
  return e == null || typeof e == "number" || typeof e == "boolean";
1146
1149
  }
1147
- function Dt(e, t, r, n) {
1148
- var i = _n(n) ? n : r(n), o = t.get(i);
1150
+ function xn(e, t, r, n) {
1151
+ var i = En(n) ? n : r(n), o = t.get(i);
1149
1152
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1150
1153
  }
1151
1154
  function Ft(e, t, r) {
1152
1155
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1153
1156
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1154
1157
  }
1155
- function Qe(e, t, r, n, i) {
1158
+ function Gt(e, t, r, n, i) {
1156
1159
  return r.bind(t, e, n, i);
1157
1160
  }
1158
- function En(e, t) {
1159
- var r = e.length === 1 ? Dt : Ft;
1160
- return Qe(e, this, r, t.cache.create(), t.serializer);
1161
- }
1162
- function xn(e, t) {
1163
- return Qe(e, this, Ft, t.cache.create(), t.serializer);
1164
- }
1165
1161
  function Bn(e, t) {
1166
- return Qe(e, this, Dt, t.cache.create(), t.serializer);
1162
+ var r = e.length === 1 ? xn : Ft;
1163
+ return Gt(e, this, r, t.cache.create(), t.serializer);
1167
1164
  }
1168
- var Sn = function() {
1169
- return JSON.stringify(arguments);
1170
- };
1171
- function Ye() {
1172
- this.cache = /* @__PURE__ */ Object.create(null);
1165
+ function Sn(e, t) {
1166
+ return Gt(e, this, Ft, t.cache.create(), t.serializer);
1173
1167
  }
1174
- Ye.prototype.get = function(e) {
1175
- return this.cache[e];
1176
- };
1177
- Ye.prototype.set = function(e, t) {
1178
- this.cache[e] = t;
1179
- };
1180
- var wn = {
1168
+ var wn = function() {
1169
+ return JSON.stringify(arguments);
1170
+ }, Hn = (
1171
+ /** @class */
1172
+ function() {
1173
+ function e() {
1174
+ this.cache = /* @__PURE__ */ Object.create(null);
1175
+ }
1176
+ return e.prototype.get = function(t) {
1177
+ return this.cache[t];
1178
+ }, e.prototype.set = function(t, r) {
1179
+ this.cache[t] = r;
1180
+ }, e;
1181
+ }()
1182
+ ), Tn = {
1181
1183
  create: function() {
1182
- return new Ye();
1184
+ return new Hn();
1183
1185
  }
1184
- }, Pe = {
1185
- variadic: xn,
1186
- monadic: Bn
1187
- }, g;
1186
+ }, Ie = {
1187
+ variadic: Sn
1188
+ }, ye = function() {
1189
+ return ye = Object.assign || function(t) {
1190
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1191
+ r = arguments[n];
1192
+ for (var o in r)
1193
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1194
+ }
1195
+ return t;
1196
+ }, ye.apply(this, arguments);
1197
+ };
1198
+ var g;
1188
1199
  (function(e) {
1189
1200
  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";
1190
1201
  })(g || (g = {}));
1191
- var x;
1202
+ var E;
1192
1203
  (function(e) {
1193
1204
  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";
1194
- })(x || (x = {}));
1195
- var K;
1205
+ })(E || (E = {}));
1206
+ var q;
1196
1207
  (function(e) {
1197
1208
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1198
- })(K || (K = {}));
1199
- function ct(e) {
1200
- return e.type === x.literal;
1201
- }
1202
- function Hn(e) {
1203
- return e.type === x.argument;
1209
+ })(q || (q = {}));
1210
+ function mt(e) {
1211
+ return e.type === E.literal;
1204
1212
  }
1205
- function Gt(e) {
1206
- return e.type === x.number;
1213
+ function An(e) {
1214
+ return e.type === E.argument;
1207
1215
  }
1208
1216
  function kt(e) {
1209
- return e.type === x.date;
1217
+ return e.type === E.number;
1210
1218
  }
1211
1219
  function jt(e) {
1212
- return e.type === x.time;
1220
+ return e.type === E.date;
1213
1221
  }
1214
1222
  function Vt(e) {
1215
- return e.type === x.select;
1223
+ return e.type === E.time;
1216
1224
  }
1217
1225
  function Xt(e) {
1218
- return e.type === x.plural;
1219
- }
1220
- function Tn(e) {
1221
- return e.type === x.pound;
1226
+ return e.type === E.select;
1222
1227
  }
1223
1228
  function zt(e) {
1224
- return e.type === x.tag;
1229
+ return e.type === E.plural;
1230
+ }
1231
+ function On(e) {
1232
+ return e.type === E.pound;
1225
1233
  }
1226
1234
  function Wt(e) {
1227
- return !!(e && typeof e == "object" && e.type === K.number);
1235
+ return e.type === E.tag;
1228
1236
  }
1229
- function Ge(e) {
1230
- return !!(e && typeof e == "object" && e.type === K.dateTime);
1237
+ function Zt(e) {
1238
+ return !!(e && typeof e == "object" && e.type === q.number);
1239
+ }
1240
+ function Xe(e) {
1241
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1231
1242
  }
1232
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1233
- function Pn(e) {
1243
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1244
+ function In(e) {
1234
1245
  var t = {};
1235
- return e.replace(An, function(r) {
1246
+ return e.replace(Pn, function(r) {
1236
1247
  var n = r.length;
1237
1248
  switch (r[0]) {
1238
1249
  case "G":
@@ -1321,11 +1332,21 @@ function Pn(e) {
1321
1332
  return "";
1322
1333
  }), t;
1323
1334
  }
1324
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1325
- function On(e) {
1335
+ var x = function() {
1336
+ return x = Object.assign || function(t) {
1337
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1338
+ r = arguments[n];
1339
+ for (var o in r)
1340
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1341
+ }
1342
+ return t;
1343
+ }, x.apply(this, arguments);
1344
+ };
1345
+ var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1346
+ function Nn(e) {
1326
1347
  if (e.length === 0)
1327
1348
  throw new Error("Number skeleton cannot be empty");
1328
- for (var t = e.split(In).filter(function(f) {
1349
+ for (var t = e.split(Cn).filter(function(f) {
1329
1350
  return f.length > 0;
1330
1351
  }), r = [], n = 0, i = t; n < i.length; n++) {
1331
1352
  var o = i[n], s = o.split("/");
@@ -1340,17 +1361,17 @@ function On(e) {
1340
1361
  }
1341
1362
  return r;
1342
1363
  }
1343
- function Cn(e) {
1364
+ function Ln(e) {
1344
1365
  return e.replace(/^(.*?)-/, "");
1345
1366
  }
1346
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1347
- function mt(e) {
1367
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1368
+ function dt(e) {
1348
1369
  var t = {};
1349
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1370
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1350
1371
  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)), "";
1351
1372
  }), t;
1352
1373
  }
1353
- function Yt(e) {
1374
+ function qt(e) {
1354
1375
  switch (e) {
1355
1376
  case "sign-auto":
1356
1377
  return {
@@ -1390,7 +1411,7 @@ function Yt(e) {
1390
1411
  };
1391
1412
  }
1392
1413
  }
1393
- function Nn(e) {
1414
+ function Rn(e) {
1394
1415
  var t;
1395
1416
  if (e[0] === "E" && e[1] === "E" ? (t = {
1396
1417
  notation: "engineering"
@@ -1398,17 +1419,17 @@ function Nn(e) {
1398
1419
  notation: "scientific"
1399
1420
  }, e = e.slice(1)), t) {
1400
1421
  var r = e.slice(0, 2);
1401
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1422
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1402
1423
  throw new Error("Malformed concise eng/scientific notation");
1403
1424
  t.minimumIntegerDigits = e.length;
1404
1425
  }
1405
1426
  return t;
1406
1427
  }
1407
- function pt(e) {
1408
- var t = {}, r = Yt(e);
1428
+ function bt(e) {
1429
+ var t = {}, r = qt(e);
1409
1430
  return r || t;
1410
1431
  }
1411
- function Mn(e) {
1432
+ function $n(e) {
1412
1433
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1413
1434
  var i = n[r];
1414
1435
  switch (i.stem) {
@@ -1432,7 +1453,7 @@ function Mn(e) {
1432
1453
  continue;
1433
1454
  case "measure-unit":
1434
1455
  case "unit":
1435
- t.style = "unit", t.unit = Cn(i.options[0]);
1456
+ t.style = "unit", t.unit = Ln(i.options[0]);
1436
1457
  continue;
1437
1458
  case "compact-short":
1438
1459
  case "K":
@@ -1443,13 +1464,13 @@ function Mn(e) {
1443
1464
  t.notation = "compact", t.compactDisplay = "long";
1444
1465
  continue;
1445
1466
  case "scientific":
1446
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1447
- return _(_({}, l), pt(u));
1467
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1468
+ return x(x({}, l), bt(u));
1448
1469
  }, {}));
1449
1470
  continue;
1450
1471
  case "engineering":
1451
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1452
- return _(_({}, l), pt(u));
1472
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1473
+ return x(x({}, l), bt(u));
1453
1474
  }, {}));
1454
1475
  continue;
1455
1476
  case "notation-simple":
@@ -1494,7 +1515,7 @@ function Mn(e) {
1494
1515
  case "integer-width":
1495
1516
  if (i.options.length > 1)
1496
1517
  throw new RangeError("integer-width stems only accept a single optional option");
1497
- i.options[0].replace(Ln, function(l, u, h, c, f, p) {
1518
+ i.options[0].replace(Mn, function(l, u, h, c, f, p) {
1498
1519
  if (u)
1499
1520
  t.minimumIntegerDigits = h.length;
1500
1521
  else {
@@ -1507,28 +1528,28 @@ function Mn(e) {
1507
1528
  });
1508
1529
  continue;
1509
1530
  }
1510
- if (Qt.test(i.stem)) {
1531
+ if (Yt.test(i.stem)) {
1511
1532
  t.minimumIntegerDigits = i.stem.length;
1512
1533
  continue;
1513
1534
  }
1514
- if (ft.test(i.stem)) {
1535
+ if (pt.test(i.stem)) {
1515
1536
  if (i.options.length > 1)
1516
1537
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1517
- i.stem.replace(ft, function(l, u, h, c, f, p) {
1538
+ i.stem.replace(pt, function(l, u, h, c, f, p) {
1518
1539
  return h === "*" ? 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), "";
1519
1540
  });
1520
1541
  var o = i.options[0];
1521
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), mt(o)));
1542
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), dt(o)));
1522
1543
  continue;
1523
1544
  }
1524
- if (Jt.test(i.stem)) {
1525
- t = _(_({}, t), mt(i.stem));
1545
+ if (Qt.test(i.stem)) {
1546
+ t = x(x({}, t), dt(i.stem));
1526
1547
  continue;
1527
1548
  }
1528
- var s = Yt(i.stem);
1529
- s && (t = _(_({}, t), s));
1530
- var a = Nn(i.stem);
1531
- a && (t = _(_({}, t), a));
1549
+ var s = qt(i.stem);
1550
+ s && (t = x(x({}, t), s));
1551
+ var a = Rn(i.stem);
1552
+ a && (t = x(x({}, t), a));
1532
1553
  }
1533
1554
  return t;
1534
1555
  }
@@ -2947,13 +2968,13 @@ var me = {
2947
2968
  "h"
2948
2969
  ]
2949
2970
  };
2950
- function Rn(e, t) {
2971
+ function Un(e, t) {
2951
2972
  for (var r = "", n = 0; n < e.length; n++) {
2952
2973
  var i = e.charAt(n);
2953
2974
  if (i === "j") {
2954
2975
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2955
2976
  o++, n++;
2956
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = $n(t);
2977
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
2957
2978
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2958
2979
  r += l;
2959
2980
  for (; s-- > 0; )
@@ -2963,7 +2984,7 @@ function Rn(e, t) {
2963
2984
  }
2964
2985
  return r;
2965
2986
  }
2966
- function $n(e) {
2987
+ function Dn(e) {
2967
2988
  var t = e.hourCycle;
2968
2989
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2969
2990
  e.hourCycles && // @ts-ignore
@@ -2985,20 +3006,20 @@ function $n(e) {
2985
3006
  var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2986
3007
  return i[0];
2987
3008
  }
2988
- var Ie, Un = new RegExp("^".concat(Zt.source, "*")), Dn = new RegExp("".concat(Zt.source, "*$"));
3009
+ var Ce, Fn = new RegExp("^".concat(Jt.source, "*")), Gn = new RegExp("".concat(Jt.source, "*$"));
2989
3010
  function y(e, t) {
2990
3011
  return { start: e, end: t };
2991
3012
  }
2992
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, kn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Wn = zn ? Number.isSafeInteger : function(e) {
3013
+ var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Jn = Zn ? Number.isSafeInteger : function(e) {
2993
3014
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2994
- }, ke = !0;
3015
+ }, ze = !0;
2995
3016
  try {
2996
- var Zn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2997
- ke = ((Ie = Zn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3017
+ var Qn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3018
+ ze = ((Ce = Qn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2998
3019
  } catch {
2999
- ke = !1;
3020
+ ze = !1;
3000
3021
  }
3001
- var dt = Fn ? (
3022
+ var gt = kn ? (
3002
3023
  // Native
3003
3024
  function(t, r, n) {
3004
3025
  return t.startsWith(r, n);
@@ -3008,7 +3029,7 @@ var dt = Fn ? (
3008
3029
  function(t, r, n) {
3009
3030
  return t.slice(n, n + r.length) === r;
3010
3031
  }
3011
- ), je = Gn ? String.fromCodePoint : (
3032
+ ), We = jn ? String.fromCodePoint : (
3012
3033
  // IE11
3013
3034
  function() {
3014
3035
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3020,9 +3041,9 @@ var dt = Fn ? (
3020
3041
  }
3021
3042
  return n;
3022
3043
  }
3023
- ), bt = (
3044
+ ), yt = (
3024
3045
  // native
3025
- kn ? Object.fromEntries : (
3046
+ Vn ? Object.fromEntries : (
3026
3047
  // Ponyfill
3027
3048
  function(t) {
3028
3049
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3032,7 +3053,7 @@ var dt = Fn ? (
3032
3053
  return r;
3033
3054
  }
3034
3055
  )
3035
- ), qt = jn ? (
3056
+ ), Kt = Xn ? (
3036
3057
  // Native
3037
3058
  function(t, r) {
3038
3059
  return t.codePointAt(r);
@@ -3046,7 +3067,7 @@ var dt = Fn ? (
3046
3067
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3047
3068
  }
3048
3069
  }
3049
- ), Jn = Vn ? (
3070
+ ), Yn = zn ? (
3050
3071
  // Native
3051
3072
  function(t) {
3052
3073
  return t.trimStart();
@@ -3054,9 +3075,9 @@ var dt = Fn ? (
3054
3075
  ) : (
3055
3076
  // Ponyfill
3056
3077
  function(t) {
3057
- return t.replace(Un, "");
3078
+ return t.replace(Fn, "");
3058
3079
  }
3059
- ), Qn = Xn ? (
3080
+ ), qn = Wn ? (
3060
3081
  // Native
3061
3082
  function(t) {
3062
3083
  return t.trimEnd();
@@ -3064,32 +3085,32 @@ var dt = Fn ? (
3064
3085
  ) : (
3065
3086
  // Ponyfill
3066
3087
  function(t) {
3067
- return t.replace(Dn, "");
3088
+ return t.replace(Gn, "");
3068
3089
  }
3069
3090
  );
3070
- function Kt(e, t) {
3091
+ function er(e, t) {
3071
3092
  return new RegExp(e, t);
3072
3093
  }
3073
- var Ve;
3074
- if (ke) {
3075
- var gt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3076
- Ve = function(t, r) {
3094
+ var Ze;
3095
+ if (ze) {
3096
+ var vt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3097
+ Ze = function(t, r) {
3077
3098
  var n;
3078
- gt.lastIndex = r;
3079
- var i = gt.exec(t);
3099
+ vt.lastIndex = r;
3100
+ var i = vt.exec(t);
3080
3101
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3081
3102
  };
3082
3103
  } else
3083
- Ve = function(t, r) {
3104
+ Ze = function(t, r) {
3084
3105
  for (var n = []; ; ) {
3085
- var i = qt(t, r);
3086
- if (i === void 0 || er(i) || ei(i))
3106
+ var i = Kt(t, r);
3107
+ if (i === void 0 || tr(i) || ri(i))
3087
3108
  break;
3088
3109
  n.push(i), r += i >= 65536 ? 2 : 1;
3089
3110
  }
3090
- return je.apply(void 0, n);
3111
+ return We.apply(void 0, n);
3091
3112
  };
3092
- var Yn = (
3113
+ var Kn = (
3093
3114
  /** @class */
3094
3115
  function() {
3095
3116
  function e(t, r) {
@@ -3113,14 +3134,14 @@ var Yn = (
3113
3134
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3114
3135
  var a = this.clonePosition();
3115
3136
  this.bump(), i.push({
3116
- type: x.pound,
3137
+ type: E.pound,
3117
3138
  location: y(a, this.clonePosition())
3118
3139
  });
3119
3140
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3120
3141
  if (n)
3121
3142
  break;
3122
3143
  return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3123
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3144
+ } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3124
3145
  var s = this.parseTag(t, r);
3125
3146
  if (s.err)
3126
3147
  return s;
@@ -3141,7 +3162,7 @@ var Yn = (
3141
3162
  if (this.bumpSpace(), this.bumpIf("/>"))
3142
3163
  return {
3143
3164
  val: {
3144
- type: x.literal,
3165
+ type: E.literal,
3145
3166
  value: "<".concat(i, "/>"),
3146
3167
  location: y(n, this.clonePosition())
3147
3168
  },
@@ -3153,12 +3174,12 @@ var Yn = (
3153
3174
  return o;
3154
3175
  var s = o.val, a = this.clonePosition();
3155
3176
  if (this.bumpIf("</")) {
3156
- if (this.isEOF() || !Xe(this.char()))
3177
+ if (this.isEOF() || !Je(this.char()))
3157
3178
  return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
3158
3179
  var l = this.clonePosition(), u = this.parseTagName();
3159
3180
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3160
3181
  val: {
3161
- type: x.tag,
3182
+ type: E.tag,
3162
3183
  value: i,
3163
3184
  children: s,
3164
3185
  location: y(n, this.clonePosition())
@@ -3171,7 +3192,7 @@ var Yn = (
3171
3192
  return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3172
3193
  }, e.prototype.parseTagName = function() {
3173
3194
  var t = this.offset();
3174
- for (this.bump(); !this.isEOF() && Kn(this.char()); )
3195
+ for (this.bump(); !this.isEOF() && ti(this.char()); )
3175
3196
  this.bump();
3176
3197
  return this.message.slice(t, this.offset());
3177
3198
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3195,12 +3216,12 @@ var Yn = (
3195
3216
  }
3196
3217
  var l = y(n, this.clonePosition());
3197
3218
  return {
3198
- val: { type: x.literal, value: i, location: l },
3219
+ val: { type: E.literal, value: i, location: l },
3199
3220
  err: null
3200
3221
  };
3201
3222
  }, e.prototype.tryParseLeftAngleBracket = function() {
3202
3223
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3203
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3224
+ !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3204
3225
  }, e.prototype.tryParseQuote = function(t) {
3205
3226
  if (this.isEOF() || this.char() !== 39)
3206
3227
  return null;
@@ -3234,12 +3255,12 @@ var Yn = (
3234
3255
  r.push(n);
3235
3256
  this.bump();
3236
3257
  }
3237
- return je.apply(void 0, r);
3258
+ return We.apply(void 0, r);
3238
3259
  }, e.prototype.tryParseUnquoted = function(t, r) {
3239
3260
  if (this.isEOF())
3240
3261
  return null;
3241
3262
  var n = this.char();
3242
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3263
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3243
3264
  }, e.prototype.parseArgument = function(t, r) {
3244
3265
  var n = this.clonePosition();
3245
3266
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3255,7 +3276,7 @@ var Yn = (
3255
3276
  case 125:
3256
3277
  return this.bump(), {
3257
3278
  val: {
3258
- type: x.argument,
3279
+ type: E.argument,
3259
3280
  // value does not include the opening and closing braces.
3260
3281
  value: i,
3261
3282
  location: y(n, this.clonePosition())
@@ -3268,7 +3289,7 @@ var Yn = (
3268
3289
  return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3269
3290
  }
3270
3291
  }, e.prototype.parseIdentifierIfPossible = function() {
3271
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3292
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3272
3293
  this.bumpTo(i);
3273
3294
  var o = this.clonePosition(), s = y(t, o);
3274
3295
  return { value: n, location: s };
@@ -3287,7 +3308,7 @@ var Yn = (
3287
3308
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3288
3309
  if (c.err)
3289
3310
  return c;
3290
- var f = Qn(c.val);
3311
+ var f = qn(c.val);
3291
3312
  if (f.length === 0)
3292
3313
  return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3293
3314
  var p = y(h, this.clonePosition());
@@ -3297,25 +3318,25 @@ var Yn = (
3297
3318
  if (d.err)
3298
3319
  return d;
3299
3320
  var m = y(i, this.clonePosition());
3300
- if (u && dt(u?.style, "::", 0)) {
3301
- var v = Jn(u.style.slice(2));
3321
+ if (u && gt(u?.style, "::", 0)) {
3322
+ var v = Yn(u.style.slice(2));
3302
3323
  if (a === "number") {
3303
3324
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3304
3325
  return c.err ? c : {
3305
- val: { type: x.number, value: n, location: m, style: c.val },
3326
+ val: { type: E.number, value: n, location: m, style: c.val },
3306
3327
  err: null
3307
3328
  };
3308
3329
  } else {
3309
3330
  if (v.length === 0)
3310
3331
  return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3311
3332
  var A = v;
3312
- this.locale && (A = Rn(v, this.locale));
3333
+ this.locale && (A = Un(v, this.locale));
3313
3334
  var f = {
3314
- type: K.dateTime,
3335
+ type: q.dateTime,
3315
3336
  pattern: A,
3316
3337
  location: u.styleLocation,
3317
- parsedOptions: this.shouldParseSkeletons ? Pn(A) : {}
3318
- }, C = a === "date" ? x.date : x.time;
3338
+ parsedOptions: this.shouldParseSkeletons ? In(A) : {}
3339
+ }, C = a === "date" ? E.date : E.time;
3319
3340
  return {
3320
3341
  val: { type: C, value: n, location: m, style: f },
3321
3342
  err: null
@@ -3324,7 +3345,7 @@ var Yn = (
3324
3345
  }
3325
3346
  return {
3326
3347
  val: {
3327
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3348
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3328
3349
  value: n,
3329
3350
  location: m,
3330
3351
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3337,7 +3358,7 @@ var Yn = (
3337
3358
  case "select": {
3338
3359
  var H = this.clonePosition();
3339
3360
  if (this.bumpSpace(), !this.bumpIf(","))
3340
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, _({}, H)));
3361
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, ye({}, H)));
3341
3362
  this.bumpSpace();
3342
3363
  var D = this.parseIdentifierIfPossible(), L = 0;
3343
3364
  if (a !== "select" && D.value === "offset") {
@@ -3349,26 +3370,26 @@ var Yn = (
3349
3370
  return c;
3350
3371
  this.bumpSpace(), D = this.parseIdentifierIfPossible(), L = c.val;
3351
3372
  }
3352
- var I = this.tryParsePluralOrSelectOptions(t, a, r, D);
3353
- if (I.err)
3354
- return I;
3373
+ var P = this.tryParsePluralOrSelectOptions(t, a, r, D);
3374
+ if (P.err)
3375
+ return P;
3355
3376
  var d = this.tryParseArgumentClose(i);
3356
3377
  if (d.err)
3357
3378
  return d;
3358
3379
  var ce = y(i, this.clonePosition());
3359
3380
  return a === "select" ? {
3360
3381
  val: {
3361
- type: x.select,
3382
+ type: E.select,
3362
3383
  value: n,
3363
- options: bt(I.val),
3384
+ options: yt(P.val),
3364
3385
  location: ce
3365
3386
  },
3366
3387
  err: null
3367
3388
  } : {
3368
3389
  val: {
3369
- type: x.plural,
3390
+ type: E.plural,
3370
3391
  value: n,
3371
- options: bt(I.val),
3392
+ options: yt(P.val),
3372
3393
  offset: L,
3373
3394
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3374
3395
  location: ce
@@ -3419,16 +3440,16 @@ var Yn = (
3419
3440
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3420
3441
  var n = [];
3421
3442
  try {
3422
- n = On(t);
3443
+ n = Nn(t);
3423
3444
  } catch {
3424
3445
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3425
3446
  }
3426
3447
  return {
3427
3448
  val: {
3428
- type: K.number,
3449
+ type: q.number,
3429
3450
  tokens: n,
3430
3451
  location: r,
3431
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3452
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3432
3453
  },
3433
3454
  err: null
3434
3455
  };
@@ -3476,7 +3497,7 @@ var Yn = (
3476
3497
  break;
3477
3498
  }
3478
3499
  var l = y(i, this.clonePosition());
3479
- return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3500
+ return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3480
3501
  }, e.prototype.offset = function() {
3481
3502
  return this.position.offset;
3482
3503
  }, e.prototype.isEOF = function() {
@@ -3491,7 +3512,7 @@ var Yn = (
3491
3512
  var t = this.position.offset;
3492
3513
  if (t >= this.message.length)
3493
3514
  throw Error("out of bound");
3494
- var r = qt(this.message, t);
3515
+ var r = Kt(this.message, t);
3495
3516
  if (r === void 0)
3496
3517
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3497
3518
  return r;
@@ -3510,7 +3531,7 @@ var Yn = (
3510
3531
  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);
3511
3532
  }
3512
3533
  }, e.prototype.bumpIf = function(t) {
3513
- if (dt(this.message, t, this.offset())) {
3534
+ if (gt(this.message, t, this.offset())) {
3514
3535
  for (var r = 0; r < t.length; r++)
3515
3536
  this.bump();
3516
3537
  return !0;
@@ -3532,7 +3553,7 @@ var Yn = (
3532
3553
  break;
3533
3554
  }
3534
3555
  }, e.prototype.bumpSpace = function() {
3535
- for (; !this.isEOF() && er(this.char()); )
3556
+ for (; !this.isEOF() && tr(this.char()); )
3536
3557
  this.bump();
3537
3558
  }, e.prototype.peek = function() {
3538
3559
  if (this.isEOF())
@@ -3542,47 +3563,47 @@ var Yn = (
3542
3563
  }, e;
3543
3564
  }()
3544
3565
  );
3545
- function Xe(e) {
3566
+ function Je(e) {
3546
3567
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3547
3568
  }
3548
- function qn(e) {
3549
- return Xe(e) || e === 47;
3569
+ function ei(e) {
3570
+ return Je(e) || e === 47;
3550
3571
  }
3551
- function Kn(e) {
3572
+ function ti(e) {
3552
3573
  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;
3553
3574
  }
3554
- function er(e) {
3575
+ function tr(e) {
3555
3576
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3556
3577
  }
3557
- function ei(e) {
3578
+ function ri(e) {
3558
3579
  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;
3559
3580
  }
3560
- function ze(e) {
3581
+ function Qe(e) {
3561
3582
  e.forEach(function(t) {
3562
- if (delete t.location, Vt(t) || Xt(t))
3583
+ if (delete t.location, Xt(t) || zt(t))
3563
3584
  for (var r in t.options)
3564
- delete t.options[r].location, ze(t.options[r].value);
3585
+ delete t.options[r].location, Qe(t.options[r].value);
3565
3586
  else
3566
- Gt(t) && Wt(t.style) || (kt(t) || jt(t)) && Ge(t.style) ? delete t.style.location : zt(t) && ze(t.children);
3587
+ kt(t) && Zt(t.style) || (jt(t) || Vt(t)) && Xe(t.style) ? delete t.style.location : Wt(t) && Qe(t.children);
3567
3588
  });
3568
3589
  }
3569
- function ti(e, t) {
3570
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3571
- var r = new Yn(e, t).parse();
3590
+ function ni(e, t) {
3591
+ t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3592
+ var r = new Kn(e, t).parse();
3572
3593
  if (r.err) {
3573
3594
  var n = SyntaxError(g[r.err.kind]);
3574
3595
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3575
3596
  }
3576
- return t?.captureLocation || ze(r.val), r.val;
3597
+ return t?.captureLocation || Qe(r.val), r.val;
3577
3598
  }
3578
- var ee;
3599
+ var K;
3579
3600
  (function(e) {
3580
3601
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3581
- })(ee || (ee = {}));
3582
- var xe = (
3602
+ })(K || (K = {}));
3603
+ var Se = (
3583
3604
  /** @class */
3584
3605
  function(e) {
3585
- R(t, e);
3606
+ Be(t, e);
3586
3607
  function t(r, n, i) {
3587
3608
  var o = e.call(this, r) || this;
3588
3609
  return o.code = n, o.originalMessage = i, o;
@@ -3591,48 +3612,48 @@ var xe = (
3591
3612
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3592
3613
  }, t;
3593
3614
  }(Error)
3594
- ), yt = (
3615
+ ), _t = (
3595
3616
  /** @class */
3596
3617
  function(e) {
3597
- R(t, e);
3618
+ Be(t, e);
3598
3619
  function t(r, n, i, o) {
3599
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3620
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3600
3621
  }
3601
3622
  return t;
3602
- }(xe)
3603
- ), ri = (
3623
+ }(Se)
3624
+ ), ii = (
3604
3625
  /** @class */
3605
3626
  function(e) {
3606
- R(t, e);
3627
+ Be(t, e);
3607
3628
  function t(r, n, i) {
3608
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3629
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3609
3630
  }
3610
3631
  return t;
3611
- }(xe)
3612
- ), ni = (
3632
+ }(Se)
3633
+ ), oi = (
3613
3634
  /** @class */
3614
3635
  function(e) {
3615
- R(t, e);
3636
+ Be(t, e);
3616
3637
  function t(r, n) {
3617
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3638
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3618
3639
  }
3619
3640
  return t;
3620
- }(xe)
3641
+ }(Se)
3621
3642
  ), T;
3622
3643
  (function(e) {
3623
3644
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3624
3645
  })(T || (T = {}));
3625
- function ii(e) {
3646
+ function si(e) {
3626
3647
  return e.length < 2 ? e : e.reduce(function(t, r) {
3627
3648
  var n = t[t.length - 1];
3628
3649
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3629
3650
  }, []);
3630
3651
  }
3631
- function oi(e) {
3652
+ function ai(e) {
3632
3653
  return typeof e == "function";
3633
3654
  }
3634
3655
  function be(e, t, r, n, i, o, s) {
3635
- if (e.length === 1 && ct(e[0]))
3656
+ if (e.length === 1 && mt(e[0]))
3636
3657
  return [
3637
3658
  {
3638
3659
  type: T.literal,
@@ -3641,14 +3662,14 @@ function be(e, t, r, n, i, o, s) {
3641
3662
  ];
3642
3663
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3643
3664
  var h = u[l];
3644
- if (ct(h)) {
3665
+ if (mt(h)) {
3645
3666
  a.push({
3646
3667
  type: T.literal,
3647
3668
  value: h.value
3648
3669
  });
3649
3670
  continue;
3650
3671
  }
3651
- if (Tn(h)) {
3672
+ if (On(h)) {
3652
3673
  typeof o == "number" && a.push({
3653
3674
  type: T.literal,
3654
3675
  value: r.getNumberFormat(t).format(o)
@@ -3657,43 +3678,43 @@ function be(e, t, r, n, i, o, s) {
3657
3678
  }
3658
3679
  var c = h.value;
3659
3680
  if (!(i && c in i))
3660
- throw new ni(c, s);
3681
+ throw new oi(c, s);
3661
3682
  var f = i[c];
3662
- if (Hn(h)) {
3683
+ if (An(h)) {
3663
3684
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3664
3685
  type: typeof f == "string" ? T.literal : T.object,
3665
3686
  value: f
3666
3687
  });
3667
3688
  continue;
3668
3689
  }
3669
- if (kt(h)) {
3670
- var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3690
+ if (jt(h)) {
3691
+ var p = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3671
3692
  a.push({
3672
3693
  type: T.literal,
3673
3694
  value: r.getDateTimeFormat(t, p).format(f)
3674
3695
  });
3675
3696
  continue;
3676
3697
  }
3677
- if (jt(h)) {
3678
- var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3698
+ if (Vt(h)) {
3699
+ var p = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3679
3700
  a.push({
3680
3701
  type: T.literal,
3681
3702
  value: r.getDateTimeFormat(t, p).format(f)
3682
3703
  });
3683
3704
  continue;
3684
3705
  }
3685
- if (Gt(h)) {
3686
- var p = typeof h.style == "string" ? n.number[h.style] : Wt(h.style) ? h.style.parsedOptions : void 0;
3706
+ if (kt(h)) {
3707
+ var p = typeof h.style == "string" ? n.number[h.style] : Zt(h.style) ? h.style.parsedOptions : void 0;
3687
3708
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3688
3709
  type: T.literal,
3689
3710
  value: r.getNumberFormat(t, p).format(f)
3690
3711
  });
3691
3712
  continue;
3692
3713
  }
3693
- if (zt(h)) {
3714
+ if (Wt(h)) {
3694
3715
  var d = h.children, m = h.value, v = i[m];
3695
- if (!oi(v))
3696
- throw new ri(m, "function", s);
3716
+ if (!ai(v))
3717
+ throw new ii(m, "function", s);
3697
3718
  var A = be(d, t, r, n, i, o), C = v(A.map(function(L) {
3698
3719
  return L.value;
3699
3720
  }));
@@ -3704,42 +3725,42 @@ function be(e, t, r, n, i, o, s) {
3704
3725
  };
3705
3726
  }));
3706
3727
  }
3707
- if (Vt(h)) {
3728
+ if (Xt(h)) {
3708
3729
  var H = h.options[f] || h.options.other;
3709
3730
  if (!H)
3710
- throw new yt(h.value, f, Object.keys(h.options), s);
3731
+ throw new _t(h.value, f, Object.keys(h.options), s);
3711
3732
  a.push.apply(a, be(H.value, t, r, n, i));
3712
3733
  continue;
3713
3734
  }
3714
- if (Xt(h)) {
3735
+ if (zt(h)) {
3715
3736
  var H = h.options["=".concat(f)];
3716
3737
  if (!H) {
3717
3738
  if (!Intl.PluralRules)
3718
- throw new xe(`Intl.PluralRules is not available in this environment.
3739
+ throw new Se(`Intl.PluralRules is not available in this environment.
3719
3740
  Try polyfilling it using "@formatjs/intl-pluralrules"
3720
- `, ee.MISSING_INTL_API, s);
3741
+ `, K.MISSING_INTL_API, s);
3721
3742
  var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3722
3743
  H = h.options[D] || h.options.other;
3723
3744
  }
3724
3745
  if (!H)
3725
- throw new yt(h.value, f, Object.keys(h.options), s);
3746
+ throw new _t(h.value, f, Object.keys(h.options), s);
3726
3747
  a.push.apply(a, be(H.value, t, r, n, i, f - (h.offset || 0)));
3727
3748
  continue;
3728
3749
  }
3729
3750
  }
3730
- return ii(a);
3751
+ return si(a);
3731
3752
  }
3732
- function si(e, t) {
3733
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3734
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3753
+ function ui(e, t) {
3754
+ return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3755
+ return r[n] = N(N({}, e[n]), t[n] || {}), r;
3735
3756
  }, {})) : e;
3736
3757
  }
3737
- function ai(e, t) {
3758
+ function li(e, t) {
3738
3759
  return t ? Object.keys(e).reduce(function(r, n) {
3739
- return r[n] = si(e[n], t[n]), r;
3740
- }, _({}, e)) : e;
3760
+ return r[n] = ui(e[n], t[n]), r;
3761
+ }, N({}, e)) : e;
3741
3762
  }
3742
- function Oe(e) {
3763
+ function Ne(e) {
3743
3764
  return {
3744
3765
  create: function() {
3745
3766
  return {
@@ -3753,39 +3774,39 @@ function Oe(e) {
3753
3774
  }
3754
3775
  };
3755
3776
  }
3756
- function ui(e) {
3777
+ function hi(e) {
3757
3778
  return e === void 0 && (e = {
3758
3779
  number: {},
3759
3780
  dateTime: {},
3760
3781
  pluralRules: {}
3761
3782
  }), {
3762
- getNumberFormat: Ae(function() {
3783
+ getNumberFormat: Pe(function() {
3763
3784
  for (var t, r = [], n = 0; n < arguments.length; n++)
3764
3785
  r[n] = arguments[n];
3765
- return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3786
+ return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3766
3787
  }, {
3767
- cache: Oe(e.number),
3768
- strategy: Pe.variadic
3788
+ cache: Ne(e.number),
3789
+ strategy: Ie.variadic
3769
3790
  }),
3770
- getDateTimeFormat: Ae(function() {
3791
+ getDateTimeFormat: Pe(function() {
3771
3792
  for (var t, r = [], n = 0; n < arguments.length; n++)
3772
3793
  r[n] = arguments[n];
3773
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3794
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3774
3795
  }, {
3775
- cache: Oe(e.dateTime),
3776
- strategy: Pe.variadic
3796
+ cache: Ne(e.dateTime),
3797
+ strategy: Ie.variadic
3777
3798
  }),
3778
- getPluralRules: Ae(function() {
3799
+ getPluralRules: Pe(function() {
3779
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3780
3801
  r[n] = arguments[n];
3781
- return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3802
+ return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3782
3803
  }, {
3783
- cache: Oe(e.pluralRules),
3784
- strategy: Pe.variadic
3804
+ cache: Ne(e.pluralRules),
3805
+ strategy: Ie.variadic
3785
3806
  })
3786
3807
  };
3787
3808
  }
3788
- var li = (
3809
+ var ci = (
3789
3810
  /** @class */
3790
3811
  function() {
3791
3812
  function e(t, r, n, i) {
@@ -3817,13 +3838,13 @@ var li = (
3817
3838
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3818
3839
  var s = i || {};
3819
3840
  s.formatters;
3820
- var a = Gr(s, ["formatters"]);
3821
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3841
+ var a = _n(s, ["formatters"]);
3842
+ this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3822
3843
  } else
3823
3844
  this.ast = t;
3824
3845
  if (!Array.isArray(this.ast))
3825
3846
  throw new TypeError("A message must be provided as a String or AST.");
3826
- this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3847
+ this.formats = li(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3827
3848
  }
3828
3849
  return Object.defineProperty(e, "defaultLocale", {
3829
3850
  get: function() {
@@ -3836,7 +3857,7 @@ var li = (
3836
3857
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3837
3858
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3838
3859
  }
3839
- }, e.__parse = ti, e.formats = {
3860
+ }, e.__parse = ni, e.formats = {
3840
3861
  number: {
3841
3862
  integer: {
3842
3863
  maximumFractionDigits: 0
@@ -3897,7 +3918,7 @@ var li = (
3897
3918
  }, e;
3898
3919
  }()
3899
3920
  );
3900
- function hi(e, t) {
3921
+ function fi(e, t) {
3901
3922
  if (t == null)
3902
3923
  return;
3903
3924
  if (t in e)
@@ -3918,92 +3939,92 @@ function hi(e, t) {
3918
3939
  n = void 0;
3919
3940
  return n;
3920
3941
  }
3921
- const $ = {}, ci = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), tr = (e, t) => {
3942
+ const $ = {}, mi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), rr = (e, t) => {
3922
3943
  if (t == null)
3923
3944
  return;
3924
3945
  if (t in $ && e in $[t])
3925
3946
  return $[t][e];
3926
- const r = Be(t);
3947
+ const r = we(t);
3927
3948
  for (let n = 0; n < r.length; n++) {
3928
- const i = r[n], o = mi(i, e);
3949
+ const i = r[n], o = di(i, e);
3929
3950
  if (o)
3930
- return ci(e, t, o);
3951
+ return mi(e, t, o);
3931
3952
  }
3932
3953
  };
3933
- let qe;
3934
- const he = Ee({});
3935
- function fi(e) {
3936
- return qe[e] || null;
3954
+ let et;
3955
+ const he = xe({});
3956
+ function pi(e) {
3957
+ return et[e] || null;
3937
3958
  }
3938
- function rr(e) {
3939
- return e in qe;
3959
+ function nr(e) {
3960
+ return e in et;
3940
3961
  }
3941
- function mi(e, t) {
3942
- if (!rr(e))
3962
+ function di(e, t) {
3963
+ if (!nr(e))
3943
3964
  return null;
3944
- const r = fi(e);
3945
- return hi(r, t);
3965
+ const r = pi(e);
3966
+ return fi(r, t);
3946
3967
  }
3947
- function pi(e) {
3968
+ function bi(e) {
3948
3969
  if (e == null)
3949
3970
  return;
3950
- const t = Be(e);
3971
+ const t = we(e);
3951
3972
  for (let r = 0; r < t.length; r++) {
3952
3973
  const n = t[r];
3953
- if (rr(n))
3974
+ if (nr(n))
3954
3975
  return n;
3955
3976
  }
3956
3977
  }
3957
- function nr(e, ...t) {
3978
+ function ir(e, ...t) {
3958
3979
  delete $[e], he.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3959
3980
  }
3960
- re(
3981
+ te(
3961
3982
  [he],
3962
3983
  ([e]) => Object.keys(e)
3963
3984
  );
3964
- he.subscribe((e) => qe = e);
3985
+ he.subscribe((e) => et = e);
3965
3986
  const ge = {};
3966
- function di(e, t) {
3987
+ function gi(e, t) {
3967
3988
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3968
3989
  }
3969
- function ir(e) {
3990
+ function or(e) {
3970
3991
  return ge[e];
3971
3992
  }
3972
- function bi(e) {
3973
- return Be(e).map((t) => {
3974
- const r = ir(t);
3993
+ function yi(e) {
3994
+ return we(e).map((t) => {
3995
+ const r = or(t);
3975
3996
  return [t, r ? [...r] : []];
3976
3997
  }).filter(([, t]) => t.length > 0);
3977
3998
  }
3978
- function We(e) {
3979
- return e == null ? !1 : Be(e).some(
3999
+ function Ye(e) {
4000
+ return e == null ? !1 : we(e).some(
3980
4001
  (t) => {
3981
4002
  var r;
3982
- return (r = ir(t)) == null ? void 0 : r.size;
4003
+ return (r = or(t)) == null ? void 0 : r.size;
3983
4004
  }
3984
4005
  );
3985
4006
  }
3986
- function gi(e, t) {
4007
+ function vi(e, t) {
3987
4008
  return Promise.all(
3988
- t.map((n) => (di(e, n), n().then((i) => i.default || i)))
3989
- ).then((n) => nr(e, ...n));
3990
- }
3991
- const oe = {};
3992
- function or(e) {
3993
- if (!We(e))
3994
- return e in oe ? oe[e] : Promise.resolve();
3995
- const t = bi(e);
3996
- return oe[e] = Promise.all(
4009
+ t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4010
+ ).then((n) => ir(e, ...n));
4011
+ }
4012
+ const ie = {};
4013
+ function sr(e) {
4014
+ if (!Ye(e))
4015
+ return e in ie ? ie[e] : Promise.resolve();
4016
+ const t = yi(e);
4017
+ return ie[e] = Promise.all(
3997
4018
  t.map(
3998
- ([r, n]) => gi(r, n)
4019
+ ([r, n]) => vi(r, n)
3999
4020
  )
4000
4021
  ).then(() => {
4001
- if (We(e))
4002
- return or(e);
4003
- delete oe[e];
4004
- }), oe[e];
4022
+ if (Ye(e))
4023
+ return sr(e);
4024
+ delete ie[e];
4025
+ }), ie[e];
4005
4026
  }
4006
- const yi = {
4027
+ const _i = {
4007
4028
  number: {
4008
4029
  scientific: { notation: "scientific" },
4009
4030
  engineering: { notation: "engineering" },
@@ -4032,135 +4053,135 @@ const yi = {
4032
4053
  timeZoneName: "short"
4033
4054
  }
4034
4055
  }
4035
- }, vi = {
4056
+ }, Ei = {
4036
4057
  fallbackLocale: null,
4037
4058
  loadingDelay: 200,
4038
- formats: yi,
4059
+ formats: _i,
4039
4060
  warnOnMissingMessages: !0,
4040
4061
  handleMissingMessage: void 0,
4041
4062
  ignoreTag: !0
4042
- }, _i = vi;
4043
- function te() {
4044
- return _i;
4063
+ }, xi = Ei;
4064
+ function ee() {
4065
+ return xi;
4045
4066
  }
4046
- const Ce = Ee(!1);
4047
- var Ei = Object.defineProperty, xi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4067
+ const Le = xe(!1);
4068
+ var Bi = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4048
4069
  for (var r in t || (t = {}))
4049
- Si.call(t, r) && _t(e, r, t[r]);
4050
- if (vt)
4051
- for (var r of vt(t))
4052
- wi.call(t, r) && _t(e, r, t[r]);
4070
+ Hi.call(t, r) && xt(e, r, t[r]);
4071
+ if (Et)
4072
+ for (var r of Et(t))
4073
+ Ti.call(t, r) && xt(e, r, t[r]);
4053
4074
  return e;
4054
- }, Ti = (e, t) => xi(e, Bi(t));
4055
- let Ze;
4056
- const ye = Ee(null);
4057
- function Et(e) {
4075
+ }, Oi = (e, t) => Si(e, wi(t));
4076
+ let qe;
4077
+ const ve = xe(null);
4078
+ function Bt(e) {
4058
4079
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4059
4080
  }
4060
- function Be(e, t = te().fallbackLocale) {
4061
- const r = Et(e);
4062
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4081
+ function we(e, t = ee().fallbackLocale) {
4082
+ const r = Bt(e);
4083
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4063
4084
  }
4064
4085
  function j() {
4065
- return Ze ?? void 0;
4086
+ return qe ?? void 0;
4066
4087
  }
4067
- ye.subscribe((e) => {
4068
- Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4088
+ ve.subscribe((e) => {
4089
+ qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4069
4090
  });
4070
- const Ai = (e) => {
4071
- if (e && pi(e) && We(e)) {
4072
- const { loadingDelay: t } = te();
4091
+ const Pi = (e) => {
4092
+ if (e && bi(e) && Ye(e)) {
4093
+ const { loadingDelay: t } = ee();
4073
4094
  let r;
4074
4095
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4075
- () => Ce.set(!0),
4096
+ () => Le.set(!0),
4076
4097
  t
4077
- ) : Ce.set(!0), or(e).then(() => {
4078
- ye.set(e);
4098
+ ) : Le.set(!0), sr(e).then(() => {
4099
+ ve.set(e);
4079
4100
  }).finally(() => {
4080
- clearTimeout(r), Ce.set(!1);
4101
+ clearTimeout(r), Le.set(!1);
4081
4102
  });
4082
4103
  }
4083
- return ye.set(e);
4084
- }, ne = Ti(Hi({}, ye), {
4085
- set: Ai
4086
- }), Se = (e) => {
4104
+ return ve.set(e);
4105
+ }, re = Oi(Ai({}, ve), {
4106
+ set: Pi
4107
+ }), He = (e) => {
4087
4108
  const t = /* @__PURE__ */ Object.create(null);
4088
4109
  return (n) => {
4089
4110
  const i = JSON.stringify(n);
4090
4111
  return i in t ? t[i] : t[i] = e(n);
4091
4112
  };
4092
4113
  };
4093
- var Pi = Object.defineProperty, ve = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4114
+ var Ii = Object.defineProperty, _e = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4094
4115
  for (var r in t || (t = {}))
4095
- sr.call(t, r) && xt(e, r, t[r]);
4096
- if (ve)
4097
- for (var r of ve(t))
4098
- ar.call(t, r) && xt(e, r, t[r]);
4116
+ ar.call(t, r) && St(e, r, t[r]);
4117
+ if (_e)
4118
+ for (var r of _e(t))
4119
+ ur.call(t, r) && St(e, r, t[r]);
4099
4120
  return e;
4100
- }, ie = (e, t) => {
4121
+ }, ne = (e, t) => {
4101
4122
  var r = {};
4102
4123
  for (var n in e)
4103
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4104
- if (e != null && ve)
4105
- for (var n of ve(e))
4106
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4124
+ ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4125
+ if (e != null && _e)
4126
+ for (var n of _e(e))
4127
+ t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4107
4128
  return r;
4108
4129
  };
4109
- const le = (e, t) => {
4110
- const { formats: r } = te();
4130
+ const ue = (e, t) => {
4131
+ const { formats: r } = ee();
4111
4132
  if (e in r && t in r[e])
4112
4133
  return r[e][t];
4113
4134
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4114
- }, Ii = Se(
4135
+ }, Ci = He(
4115
4136
  (e) => {
4116
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4137
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4117
4138
  if (r == null)
4118
4139
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4119
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4140
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4120
4141
  }
4121
- ), Oi = Se(
4142
+ ), Ni = He(
4122
4143
  (e) => {
4123
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4144
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4124
4145
  if (r == null)
4125
4146
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4126
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4147
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4127
4148
  }
4128
- ), Ci = Se(
4149
+ ), Li = He(
4129
4150
  (e) => {
4130
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4151
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4131
4152
  if (r == null)
4132
4153
  throw new Error(
4133
4154
  '[svelte-i18n] A "locale" must be set to format time values'
4134
4155
  );
4135
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4156
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4136
4157
  }
4137
- ), Li = (e = {}) => {
4158
+ ), Mi = (e = {}) => {
4138
4159
  var t = e, {
4139
4160
  locale: r = j()
4140
- } = t, n = ie(t, [
4161
+ } = t, n = ne(t, [
4141
4162
  "locale"
4142
4163
  ]);
4143
- return Ii(Ke({ locale: r }, n));
4144
- }, Ni = (e = {}) => {
4164
+ return Ci(tt({ locale: r }, n));
4165
+ }, Ri = (e = {}) => {
4145
4166
  var t = e, {
4146
4167
  locale: r = j()
4147
- } = t, n = ie(t, [
4168
+ } = t, n = ne(t, [
4148
4169
  "locale"
4149
4170
  ]);
4150
- return Oi(Ke({ locale: r }, n));
4151
- }, Mi = (e = {}) => {
4171
+ return Ni(tt({ locale: r }, n));
4172
+ }, $i = (e = {}) => {
4152
4173
  var t = e, {
4153
4174
  locale: r = j()
4154
- } = t, n = ie(t, [
4175
+ } = t, n = ne(t, [
4155
4176
  "locale"
4156
4177
  ]);
4157
- return Ci(Ke({ locale: r }, n));
4158
- }, Ri = Se(
4178
+ return Li(tt({ locale: r }, n));
4179
+ }, Ui = He(
4159
4180
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4160
- (e, t = j()) => new li(e, t, te().formats, {
4161
- ignoreTag: te().ignoreTag
4181
+ (e, t = j()) => new ci(e, t, ee().formats, {
4182
+ ignoreTag: ee().ignoreTag
4162
4183
  })
4163
- ), $i = (e, t = {}) => {
4184
+ ), Di = (e, t = {}) => {
4164
4185
  var r, n, i, o;
4165
4186
  let s = t;
4166
4187
  typeof e == "object" && (s = e, e = s.id);
@@ -4173,9 +4194,9 @@ const le = (e, t) => {
4173
4194
  throw new Error(
4174
4195
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4175
4196
  );
4176
- let h = tr(e, l);
4197
+ let h = rr(e, l);
4177
4198
  if (!h)
4178
- h = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4199
+ h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4179
4200
  else if (typeof h != "string")
4180
4201
  return console.warn(
4181
4202
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4184,7 +4205,7 @@ const le = (e, t) => {
4184
4205
  return h;
4185
4206
  let c = h;
4186
4207
  try {
4187
- c = Ri(h, l).format(a);
4208
+ c = Ui(h, l).format(a);
4188
4209
  } catch (f) {
4189
4210
  f instanceof Error && console.warn(
4190
4211
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4192,21 +4213,21 @@ const le = (e, t) => {
4192
4213
  );
4193
4214
  }
4194
4215
  return c;
4195
- }, Ui = (e, t) => Mi(t).format(e), Di = (e, t) => Ni(t).format(e), Fi = (e, t) => Li(t).format(e), Gi = (e, t = j()) => tr(e, t), ki = re([ne, he], () => $i);
4196
- re([ne], () => Ui);
4197
- re([ne], () => Di);
4198
- re([ne], () => Fi);
4199
- re([ne, he], () => Gi);
4216
+ }, Fi = (e, t) => $i(t).format(e), Gi = (e, t) => Ri(t).format(e), ki = (e, t) => Mi(t).format(e), ji = (e, t = j()) => rr(e, t), Vi = te([re, he], () => Di);
4217
+ te([re], () => Fi);
4218
+ te([re], () => Gi);
4219
+ te([re], () => ki);
4220
+ te([re, he], () => ji);
4200
4221
  window.emWidgets = { topic: tn };
4201
- const ji = (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));
4222
+ const Xi = (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));
4202
4223
  String(Number.MAX_SAFE_INTEGER).length;
4203
- function Vi(e, t) {
4224
+ function zi(e, t) {
4204
4225
  if (e) {
4205
4226
  const r = document.createElement("style");
4206
4227
  r.innerHTML = t, e.appendChild(r);
4207
4228
  }
4208
4229
  }
4209
- function Xi(e, t) {
4230
+ function Wi(e, t) {
4210
4231
  if (!e || !t)
4211
4232
  return;
4212
4233
  const r = new URL(t);
@@ -4217,7 +4238,7 @@ function Xi(e, t) {
4217
4238
  console.error("There was an error while trying to load client styling from URL", n);
4218
4239
  });
4219
4240
  }
4220
- function zi(e, t, r) {
4241
+ function Zi(e, t, r) {
4221
4242
  if (window.emMessageBus) {
4222
4243
  const n = document.createElement("style");
4223
4244
  window.emMessageBus.subscribe(t, (i) => {
@@ -4225,13 +4246,13 @@ function zi(e, t, r) {
4225
4246
  });
4226
4247
  }
4227
4248
  }
4228
- function Bt(e, t) {
4229
- nr(e, t);
4249
+ function wt(e, t) {
4250
+ ir(e, t);
4230
4251
  }
4231
- function Wi(e) {
4232
- ne.set(e);
4252
+ function Ji(e) {
4253
+ re.set(e);
4233
4254
  }
4234
- const St = {
4255
+ const Ht = {
4235
4256
  en: {
4236
4257
  loginButton: "Login",
4237
4258
  registerButton: "Join Now",
@@ -4310,22 +4331,22 @@ const St = {
4310
4331
  loading: "Loading..."
4311
4332
  }
4312
4333
  };
4313
- function Zi(e) {
4314
- _r(e, "svelte-zg2zu1", "*,*::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}}.betslipBar{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:5px;padding:5px 10px;position:fixed;bottom:80px;left:50%;transform:translateX(-50%);z-index:31;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.betslipBarButton{border:0;margin:0;height:auto;padding:10px;background-color:transparent;text-transform:uppercase;font-size:16px;text-wrap:nowrap}.betslipBarCount{border:1px solid var(--emw--color-background);padding:16px 20px;background:var(--emw--betslip-bar-count-background, linear-gradient(to left, rgba(var(--emw--color-600-rgb), 0.9), rgba(var(--emw--color-700-rgb), 0.9)));border-radius:6px}.betslipBar .betslipBarCount{border:0;line-height:0}");
4334
+ function Qi(e) {
4335
+ Er(e, "svelte-zg2zu1", "*,*::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}}.betslipBar{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:5px;padding:5px 10px;position:fixed;bottom:80px;left:50%;transform:translateX(-50%);z-index:31;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.betslipBarButton{border:0;margin:0;height:auto;padding:10px;background-color:transparent;text-transform:uppercase;font-size:16px;text-wrap:nowrap}.betslipBarCount{border:1px solid var(--emw--color-background);padding:16px 20px;background:var(--emw--betslip-bar-count-background, linear-gradient(to left, rgba(var(--emw--color-600-rgb), 0.9), rgba(var(--emw--color-700-rgb), 0.9)));border-radius:6px}.betslipBar .betslipBarCount{border:0;line-height:0}");
4315
4336
  }
4316
- function wt(e) {
4337
+ function Tt(e) {
4317
4338
  let t, r;
4318
4339
  function n(s, a) {
4319
4340
  return (
4320
4341
  /*isLoggedIn*/
4321
4342
  s[7] && /*sessionID*/
4322
- s[6] ? Qi : Ji
4343
+ s[6] ? qi : Yi
4323
4344
  );
4324
4345
  }
4325
4346
  let i = n(e), o = i(e);
4326
4347
  return {
4327
4348
  c() {
4328
- t = P("div"), o.c(), E(t, "class", r = `betslipBar ${/*isLoggedIn*/
4349
+ t = O("div"), o.c(), _(t, "class", r = `betslipBar ${/*isLoggedIn*/
4329
4350
  e[7] ? "loggedIn" : "loggedOut"}`);
4330
4351
  },
4331
4352
  m(s, a) {
@@ -4334,14 +4355,14 @@ function wt(e) {
4334
4355
  p(s, a) {
4335
4356
  i === (i = n(s)) && o ? o.p(s, a) : (o.d(1), o = i(s), o && (o.c(), o.m(t, null))), a & /*isLoggedIn*/
4336
4357
  128 && r !== (r = `betslipBar ${/*isLoggedIn*/
4337
- s[7] ? "loggedIn" : "loggedOut"}`) && E(t, "class", r);
4358
+ s[7] ? "loggedIn" : "loggedOut"}`) && _(t, "class", r);
4338
4359
  },
4339
4360
  d(s) {
4340
4361
  s && B(t), o.d();
4341
4362
  }
4342
4363
  };
4343
4364
  }
4344
- function Ji(e) {
4365
+ function Yi(e) {
4345
4366
  let t, r = (
4346
4367
  /*$_*/
4347
4368
  e[8]("loginButton") + ""
@@ -4351,7 +4372,7 @@ function Ji(e) {
4351
4372
  ), u, h, c;
4352
4373
  return {
4353
4374
  c() {
4354
- t = P("button"), n = U(r), i = Y(), o = P("span"), o.textContent = "|", s = Y(), a = P("button"), u = U(l), E(t, "class", "betslipBarButton loginButton"), E(o, "class", "betslipBarSeparator"), E(a, "class", "betslipBarButton registerButton");
4375
+ t = O("button"), n = U(r), i = Q(), o = O("span"), o.textContent = "|", s = Q(), a = O("button"), u = U(l), _(t, "class", "betslipBarButton loginButton"), _(o, "class", "betslipBarSeparator"), _(a, "class", "betslipBarButton registerButton");
4355
4376
  },
4356
4377
  m(f, p) {
4357
4378
  S(f, t, p), w(t, n), S(f, i, p), S(f, o, p), S(f, s, p), S(f, a, p), w(a, u), h || (c = [
@@ -4381,7 +4402,7 @@ function Ji(e) {
4381
4402
  }
4382
4403
  };
4383
4404
  }
4384
- function Qi(e) {
4405
+ function qi(e) {
4385
4406
  let t, r = (
4386
4407
  /*$_*/
4387
4408
  e[8]("betslipButton") + ""
@@ -4392,13 +4413,13 @@ function Qi(e) {
4392
4413
  function f(m, v) {
4393
4414
  return (
4394
4415
  /*isLoading*/
4395
- m[4] ? qi : Yi
4416
+ m[4] ? eo : Ki
4396
4417
  );
4397
4418
  }
4398
4419
  let p = f(e), d = p(e);
4399
4420
  return {
4400
4421
  c() {
4401
- t = P("button"), n = U(r), i = Y(), o = P("button"), d.c(), s = Y(), a = P("button"), u = U(l), E(t, "class", "betslipBarButton betslipDetails"), E(o, "class", "betslipBarCount"), E(a, "class", "betslipBarButton betsDetails");
4422
+ t = O("button"), n = U(r), i = Q(), o = O("button"), d.c(), s = Q(), a = O("button"), u = U(l), _(t, "class", "betslipBarButton betslipDetails"), _(o, "class", "betslipBarCount"), _(a, "class", "betslipBarButton betsDetails");
4402
4423
  },
4403
4424
  m(m, v) {
4404
4425
  S(m, t, v), w(t, n), S(m, i, v), S(m, o, v), d.m(o, null), S(m, s, v), S(m, a, v), w(a, u), h || (c = [
@@ -4434,7 +4455,7 @@ function Qi(e) {
4434
4455
  }
4435
4456
  };
4436
4457
  }
4437
- function Yi(e) {
4458
+ function Ki(e) {
4438
4459
  let t = (
4439
4460
  /*betNumber*/
4440
4461
  (e[2] ? (
@@ -4462,14 +4483,14 @@ function Yi(e) {
4462
4483
  }
4463
4484
  };
4464
4485
  }
4465
- function qi(e) {
4486
+ function eo(e) {
4466
4487
  let t, r = (
4467
4488
  /*$_*/
4468
4489
  e[8]("loading") + ""
4469
4490
  ), n;
4470
4491
  return {
4471
4492
  c() {
4472
- t = P("div"), n = U(r), E(t, "class", "loader");
4493
+ t = O("div"), n = U(r), _(t, "class", "loader");
4473
4494
  },
4474
4495
  m(i, o) {
4475
4496
  S(i, t, o), w(t, n);
@@ -4484,21 +4505,21 @@ function qi(e) {
4484
4505
  }
4485
4506
  };
4486
4507
  }
4487
- function Ht(e) {
4508
+ function At(e) {
4488
4509
  let t, r, n, i, o, s, a, l, u, h, c, f;
4489
4510
  function p(v, A) {
4490
4511
  return (
4491
4512
  /*isLoading*/
4492
- v[4] ? eo : Ki
4513
+ v[4] ? ro : to
4493
4514
  );
4494
4515
  }
4495
4516
  let d = p(e), m = d(e);
4496
4517
  return {
4497
4518
  c() {
4498
- t = P("button"), r = P("small"), m.c(), n = Y(), i = F("svg"), o = F("g"), s = F("path"), a = F("path"), l = F("path"), u = F("path"), h = F("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
4519
+ t = O("button"), r = O("small"), m.c(), n = Q(), i = F("svg"), o = F("g"), s = F("path"), a = F("path"), l = F("path"), u = F("path"), h = F("path"), _(r, "class", "betslipIndicator__number"), _(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
4499
4520
  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
4500
4521
  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
4501
- 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(l, "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(h, "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");
4522
+ 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`), _(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"), _(l, "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"), _(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"), _(h, "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"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"), wr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
4502
4523
  },
4503
4524
  m(v, A) {
4504
4525
  S(v, t, A), w(t, r), m.m(r, null), w(t, n), w(t, i), w(i, o), w(o, s), w(o, a), w(o, l), w(o, u), w(o, h), c || (f = Z(
@@ -4516,7 +4537,7 @@ function Ht(e) {
4516
4537
  }
4517
4538
  };
4518
4539
  }
4519
- function Ki(e) {
4540
+ function to(e) {
4520
4541
  let t;
4521
4542
  return {
4522
4543
  c() {
@@ -4541,37 +4562,37 @@ function Ki(e) {
4541
4562
  }
4542
4563
  };
4543
4564
  }
4544
- function eo(e) {
4565
+ function ro(e) {
4545
4566
  let t;
4546
4567
  return {
4547
4568
  c() {
4548
- t = P("div"), t.textContent = "Loading...", E(t, "class", "loader");
4569
+ t = O("div"), t.textContent = "Loading...", _(t, "class", "loader");
4549
4570
  },
4550
4571
  m(r, n) {
4551
4572
  S(r, t, n);
4552
4573
  },
4553
- p: O,
4574
+ p: I,
4554
4575
  d(r) {
4555
4576
  r && B(t);
4556
4577
  }
4557
4578
  };
4558
4579
  }
4559
- function to(e) {
4580
+ function no(e) {
4560
4581
  let t, r, n = (
4561
4582
  /*isBetslipButtonBar*/
4562
4583
  e[1] && /*mobileView*/
4563
4584
  e[3] && /*betSlipVisible*/
4564
- e[5] && wt(e)
4585
+ e[5] && Tt(e)
4565
4586
  ), i = (
4566
4587
  /*mobileView*/
4567
4588
  e[3] && /*betNumber*/
4568
4589
  e[2] > 0 && /*betSlipVisible*/
4569
4590
  e[5] && !/*isBetslipButtonBar*/
4570
- e[1] && Ht(e)
4591
+ e[1] && At(e)
4571
4592
  );
4572
4593
  return {
4573
4594
  c() {
4574
- t = P("div"), n && n.c(), r = Y(), i && i.c();
4595
+ t = O("div"), n && n.c(), r = Q(), i && i.c();
4575
4596
  },
4576
4597
  m(o, s) {
4577
4598
  S(o, t, s), n && n.m(t, null), w(t, r), i && i.m(t, null), e[23](t);
@@ -4580,38 +4601,38 @@ function to(e) {
4580
4601
  /*isBetslipButtonBar*/
4581
4602
  o[1] && /*mobileView*/
4582
4603
  o[3] && /*betSlipVisible*/
4583
- o[5] ? n ? n.p(o, s) : (n = wt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*mobileView*/
4604
+ o[5] ? n ? n.p(o, s) : (n = Tt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*mobileView*/
4584
4605
  o[3] && /*betNumber*/
4585
4606
  o[2] > 0 && /*betSlipVisible*/
4586
4607
  o[5] && !/*isBetslipButtonBar*/
4587
- o[1] ? i ? i.p(o, s) : (i = Ht(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4608
+ o[1] ? i ? i.p(o, s) : (i = At(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4588
4609
  },
4589
- i: O,
4590
- o: O,
4610
+ i: I,
4611
+ o: I,
4591
4612
  d(o) {
4592
4613
  o && B(t), n && n.d(), i && i.d(), e[23](null);
4593
4614
  }
4594
4615
  };
4595
4616
  }
4596
- function ro(e, t, r) {
4617
+ function io(e, t, r) {
4597
4618
  let n;
4598
- vr(e, ki, (b) => r(8, n = b));
4619
+ _r(e, Vi, (b) => r(8, n = b));
4599
4620
  let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { betslipbuttonbar: a = "false" } = t, { session: l = "" } = t, { lang: u = "" } = t, { translationurl: h = "" } = t, c, f = window.navigator.userAgent, p = null, d = !1, m = !0, v = !1, A = !1, C = "", H = !1;
4600
4621
  const D = () => {
4601
4622
  fetch(h).then((b) => b.json()).then((b) => {
4602
4623
  Object.keys(b).forEach((V) => {
4603
- Bt(V, b[V]);
4624
+ wt(V, b[V]);
4604
4625
  });
4605
4626
  }).catch((b) => {
4606
4627
  console.log(b);
4607
4628
  });
4608
4629
  };
4609
- Object.keys(St).forEach((b) => {
4610
- Bt(b, St[b]);
4630
+ Object.keys(Ht).forEach((b) => {
4631
+ wt(b, Ht[b]);
4611
4632
  });
4612
4633
  const L = () => {
4613
4634
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
4614
- }, I = (b, V) => {
4635
+ }, P = (b, V) => {
4615
4636
  c.dispatchEvent(new CustomEvent(
4616
4637
  b,
4617
4638
  {
@@ -4623,18 +4644,18 @@ function ro(e, t, r) {
4623
4644
  ));
4624
4645
  }, ce = () => {
4625
4646
  r(7, H = !0), r(6, C = l);
4626
- }, ur = () => {
4627
- Wi(u);
4628
- }, et = (b) => {
4629
- const { type: V, payload: br } = b.data;
4647
+ }, lr = () => {
4648
+ Ji(u);
4649
+ }, rt = (b) => {
4650
+ const { type: V, payload: gr } = b.data;
4630
4651
  if (b.data)
4631
4652
  switch (V) {
4632
4653
  case "OMFE:updateBetslipSelectionsCount":
4633
- r(2, p = br.count), r(4, m = !1);
4654
+ r(2, p = gr.count), r(4, m = !1);
4634
4655
  break;
4635
4656
  case "OMFE:betslipSidebar":
4636
- const gr = b.data.payload?.enableBetslipBubble;
4637
- r(5, v = !!gr);
4657
+ const yr = b.data.payload?.enableBetslipBubble;
4658
+ r(5, v = !!yr);
4638
4659
  break;
4639
4660
  case "UserSessionID":
4640
4661
  r(6, C = b.data.session), r(7, H = !0);
@@ -4644,12 +4665,12 @@ function ro(e, t, r) {
4644
4665
  break;
4645
4666
  }
4646
4667
  };
4647
- Tr(() => (L(), window.addEventListener("message", et, !1), ji(f) && r(3, d = !0), () => {
4648
- window.removeEventListener("message", et);
4668
+ Ar(() => (L(), window.addEventListener("message", rt, !1), Xi(f) && r(3, d = !0), () => {
4669
+ window.removeEventListener("message", rt);
4649
4670
  }));
4650
- const lr = (b) => I("betslipClick", {}), hr = (b) => I("betslipClick", {}), cr = (b) => I("betslipClick", { actionType: "showMyBets" }), fr = (b) => I("betslipClick", { actionType: "login" }), mr = (b) => I("betslipClick", { actionType: "register" }), pr = (b) => I("betslipClick", {});
4651
- function dr(b) {
4652
- Le[b ? "unshift" : "push"](() => {
4671
+ const hr = (b) => P("betslipClick", {}), cr = (b) => P("betslipClick", {}), fr = (b) => P("betslipClick", { actionType: "showMyBets" }), mr = (b) => P("betslipClick", { actionType: "login" }), pr = (b) => P("betslipClick", { actionType: "register" }), dr = (b) => P("betslipClick", {});
4672
+ function br(b) {
4673
+ Me[b ? "unshift" : "push"](() => {
4653
4674
  c = b, r(0, c);
4654
4675
  });
4655
4676
  }
@@ -4657,12 +4678,12 @@ function ro(e, t, r) {
4657
4678
  "clientstyling" in b && r(10, i = b.clientstyling), "clientstylingurl" in b && r(11, o = b.clientstylingurl), "mbsource" in b && r(12, s = b.mbsource), "betslipbuttonbar" in b && r(13, a = b.betslipbuttonbar), "session" in b && r(14, l = b.session), "lang" in b && r(15, u = b.lang), "translationurl" in b && r(16, h = b.translationurl);
4658
4679
  }, e.$$.update = () => {
4659
4680
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4660
- 1025 && i && c && Vi(c, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4661
- 2049 && o && c && Xi(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4662
- 4097 && s && c && zi(c, `${s}.Style`), e.$$.dirty & /*betslipbuttonbar*/
4681
+ 1025 && i && c && zi(c, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4682
+ 2049 && o && c && Wi(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4683
+ 4097 && s && c && Zi(c, `${s}.Style`), e.$$.dirty & /*betslipbuttonbar*/
4663
4684
  8192 && r(1, A = a.toLowerCase() === "true"), e.$$.dirty & /*session, isBetslipButtonBar*/
4664
4685
  16386 && l && A && ce(), e.$$.dirty & /*lang*/
4665
- 32768 && u && ur(), e.$$.dirty & /*translationurl*/
4686
+ 32768 && u && lr(), e.$$.dirty & /*translationurl*/
4666
4687
  65536 && h && D();
4667
4688
  }, [
4668
4689
  c,
@@ -4674,7 +4695,7 @@ function ro(e, t, r) {
4674
4695
  C,
4675
4696
  H,
4676
4697
  n,
4677
- I,
4698
+ P,
4678
4699
  i,
4679
4700
  o,
4680
4701
  s,
@@ -4682,23 +4703,23 @@ function ro(e, t, r) {
4682
4703
  l,
4683
4704
  u,
4684
4705
  h,
4685
- lr,
4686
4706
  hr,
4687
4707
  cr,
4688
4708
  fr,
4689
4709
  mr,
4690
4710
  pr,
4691
- dr
4711
+ dr,
4712
+ br
4692
4713
  ];
4693
4714
  }
4694
- class no extends Dr {
4715
+ class oo extends Fr {
4695
4716
  constructor(t) {
4696
- super(), $r(
4717
+ super(), Ur(
4697
4718
  this,
4698
4719
  t,
4699
- ro,
4700
- to,
4701
- At,
4720
+ io,
4721
+ no,
4722
+ Pt,
4702
4723
  {
4703
4724
  clientstyling: 10,
4704
4725
  clientstylingurl: 11,
@@ -4708,53 +4729,53 @@ class no extends Dr {
4708
4729
  lang: 15,
4709
4730
  translationurl: 16
4710
4731
  },
4711
- Zi
4732
+ Qi
4712
4733
  );
4713
4734
  }
4714
4735
  get clientstyling() {
4715
4736
  return this.$$.ctx[10];
4716
4737
  }
4717
4738
  set clientstyling(t) {
4718
- this.$$set({ clientstyling: t }), N();
4739
+ this.$$set({ clientstyling: t }), M();
4719
4740
  }
4720
4741
  get clientstylingurl() {
4721
4742
  return this.$$.ctx[11];
4722
4743
  }
4723
4744
  set clientstylingurl(t) {
4724
- this.$$set({ clientstylingurl: t }), N();
4745
+ this.$$set({ clientstylingurl: t }), M();
4725
4746
  }
4726
4747
  get mbsource() {
4727
4748
  return this.$$.ctx[12];
4728
4749
  }
4729
4750
  set mbsource(t) {
4730
- this.$$set({ mbsource: t }), N();
4751
+ this.$$set({ mbsource: t }), M();
4731
4752
  }
4732
4753
  get betslipbuttonbar() {
4733
4754
  return this.$$.ctx[13];
4734
4755
  }
4735
4756
  set betslipbuttonbar(t) {
4736
- this.$$set({ betslipbuttonbar: t }), N();
4757
+ this.$$set({ betslipbuttonbar: t }), M();
4737
4758
  }
4738
4759
  get session() {
4739
4760
  return this.$$.ctx[14];
4740
4761
  }
4741
4762
  set session(t) {
4742
- this.$$set({ session: t }), N();
4763
+ this.$$set({ session: t }), M();
4743
4764
  }
4744
4765
  get lang() {
4745
4766
  return this.$$.ctx[15];
4746
4767
  }
4747
4768
  set lang(t) {
4748
- this.$$set({ lang: t }), N();
4769
+ this.$$set({ lang: t }), M();
4749
4770
  }
4750
4771
  get translationurl() {
4751
4772
  return this.$$.ctx[16];
4752
4773
  }
4753
4774
  set translationurl(t) {
4754
- this.$$set({ translationurl: t }), N();
4775
+ this.$$set({ translationurl: t }), M();
4755
4776
  }
4756
4777
  }
4757
- Ur(no, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, betslipbuttonbar: {}, session: {}, lang: {}, translationurl: {} }, [], [], !0);
4778
+ Dr(oo, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, betslipbuttonbar: {}, session: {}, lang: {}, translationurl: {} }, [], [], !0);
4758
4779
  export {
4759
- no as C
4780
+ oo as C
4760
4781
  };