@everymatrix/casino-betslip-indicator 1.77.19 → 1.77.20

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