@everymatrix/player-transaction-history 1.59.2 → 1.59.3

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,28 +1,28 @@
1
1
  function w() {
2
2
  }
3
- function St(e) {
3
+ function xt(e) {
4
4
  return e();
5
5
  }
6
- function et() {
6
+ function Je() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function se(e) {
10
- e.forEach(St);
10
+ e.forEach(xt);
11
11
  }
12
- function Ze(e) {
12
+ function ze(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function wt(e, t) {
15
+ function Tt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let he;
19
- function tt(e, t) {
19
+ function Ye(e, t) {
20
20
  return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
21
21
  }
22
- function sr(e) {
22
+ function rr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Bt(e, ...t) {
25
+ function Ht(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Bt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function ar(e, t, r) {
35
- e.$$.on_destroy.push(Bt(t, r));
34
+ function nr(e, t, r) {
35
+ e.$$.on_destroy.push(Ht(t, r));
36
36
  }
37
37
  function x(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function ur(e, t, r) {
41
- const n = hr(e);
40
+ function ir(e, t, r) {
41
+ const n = or(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = I("style");
44
- i.id = t, i.textContent = r, lr(n, i);
44
+ i.id = t, i.textContent = r, sr(n, i);
45
45
  }
46
46
  }
47
- function hr(e) {
47
+ function or(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function hr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function lr(e, t) {
57
+ function sr(e, t) {
58
58
  return x(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -76,23 +76,23 @@ function G(e) {
76
76
  function re(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function Ie() {
79
+ function Oe() {
80
80
  return re(" ");
81
81
  }
82
- function cr(e, t, r, n) {
82
+ function ar(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
85
  function E(e, t, r) {
86
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
87
  }
88
- function fr(e) {
88
+ function ur(e) {
89
89
  return Array.from(e.childNodes);
90
90
  }
91
- function qe(e, t) {
91
+ function Ze(e, t) {
92
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
93
  t);
94
94
  }
95
- function pr(e) {
95
+ function hr(e) {
96
96
  const t = {};
97
97
  return e.childNodes.forEach(
98
98
  /** @param {Element} node */
@@ -105,22 +105,22 @@ let ne;
105
105
  function te(e) {
106
106
  ne = e;
107
107
  }
108
- function mr() {
108
+ function lr() {
109
109
  if (!ne)
110
110
  throw new Error("Function called outside component initialization");
111
111
  return ne;
112
112
  }
113
- function dr(e) {
114
- mr().$$.on_mount.push(e);
113
+ function cr(e) {
114
+ lr().$$.on_mount.push(e);
115
115
  }
116
- const k = [], Ne = [];
116
+ const k = [], Ie = [];
117
117
  let V = [];
118
- const rt = [], br = /* @__PURE__ */ Promise.resolve();
119
- let Le = !1;
120
- function yr() {
121
- Le || (Le = !0, br.then(B));
118
+ const Ke = [], fr = /* @__PURE__ */ Promise.resolve();
119
+ let Ne = !1;
120
+ function pr() {
121
+ Ne || (Ne = !0, fr.then(B));
122
122
  }
123
- function Ce(e) {
123
+ function Le(e) {
124
124
  V.push(e);
125
125
  }
126
126
  const Te = /* @__PURE__ */ new Set();
@@ -133,53 +133,53 @@ function B() {
133
133
  try {
134
134
  for (; F < k.length; ) {
135
135
  const t = k[F];
136
- F++, te(t), gr(t.$$);
136
+ F++, te(t), mr(t.$$);
137
137
  }
138
138
  } catch (t) {
139
139
  throw k.length = 0, F = 0, t;
140
140
  }
141
- for (te(null), k.length = 0, F = 0; Ne.length; )
142
- Ne.pop()();
141
+ for (te(null), k.length = 0, F = 0; Ie.length; )
142
+ Ie.pop()();
143
143
  for (let t = 0; t < V.length; t += 1) {
144
144
  const r = V[t];
145
145
  Te.has(r) || (Te.add(r), r());
146
146
  }
147
147
  V.length = 0;
148
148
  } while (k.length);
149
- for (; rt.length; )
150
- rt.pop()();
151
- Le = !1, Te.clear(), te(e);
149
+ for (; Ke.length; )
150
+ Ke.pop()();
151
+ Ne = !1, Te.clear(), te(e);
152
152
  }
153
- function gr(e) {
153
+ function mr(e) {
154
154
  if (e.fragment !== null) {
155
155
  e.update(), se(e.before_update);
156
156
  const t = e.dirty;
157
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
157
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
158
158
  }
159
159
  }
160
- function vr(e) {
160
+ function dr(e) {
161
161
  const t = [], r = [];
162
162
  V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
163
163
  }
164
- const _r = /* @__PURE__ */ new Set();
165
- function Er(e, t) {
166
- e && e.i && (_r.delete(e), e.i(t));
164
+ const br = /* @__PURE__ */ new Set();
165
+ function yr(e, t) {
166
+ e && e.i && (br.delete(e), e.i(t));
167
167
  }
168
- function xr(e, t, r) {
168
+ function gr(e, t, r) {
169
169
  const { fragment: n, after_update: i } = e.$$;
170
- n && n.m(t, r), Ce(() => {
171
- const o = e.$$.on_mount.map(St).filter(Ze);
170
+ n && n.m(t, r), Le(() => {
171
+ const o = e.$$.on_mount.map(xt).filter(ze);
172
172
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
173
- }), i.forEach(Ce);
173
+ }), i.forEach(Le);
174
174
  }
175
- function Tr(e, t) {
175
+ function vr(e, t) {
176
176
  const r = e.$$;
177
- r.fragment !== null && (vr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
177
+ r.fragment !== null && (dr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
178
178
  }
179
- function Hr(e, t) {
180
- e.$$.dirty[0] === -1 && (k.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
179
+ function _r(e, t) {
180
+ e.$$.dirty[0] === -1 && (k.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
181
181
  }
182
- function Sr(e, t, r, n, i, o, a = null, s = [-1]) {
182
+ function Er(e, t, r, n, i, o, a = null, s = [-1]) {
183
183
  const l = ne;
184
184
  te(e);
185
185
  const u = e.$$ = {
@@ -189,7 +189,7 @@ function Sr(e, t, r, n, i, o, a = null, s = [-1]) {
189
189
  props: o,
190
190
  update: w,
191
191
  not_equal: i,
192
- bound: et(),
192
+ bound: Je(),
193
193
  // lifecycle
194
194
  on_mount: [],
195
195
  on_destroy: [],
@@ -198,7 +198,7 @@ function Sr(e, t, r, n, i, o, a = null, s = [-1]) {
198
198
  after_update: [],
199
199
  context: new Map(t.context || (l ? l.$$.context : [])),
200
200
  // everything else
201
- callbacks: et(),
201
+ callbacks: Je(),
202
202
  dirty: s,
203
203
  skip_bound: !1,
204
204
  root: t.target || l.$$.root
@@ -207,19 +207,19 @@ function Sr(e, t, r, n, i, o, a = null, s = [-1]) {
207
207
  let h = !1;
208
208
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
209
209
  const v = p.length ? p[0] : f;
210
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Hr(e, c)), f;
210
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && _r(e, c)), f;
211
211
  }) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
212
212
  if (t.hydrate) {
213
- const c = fr(t.target);
213
+ const c = ur(t.target);
214
214
  u.fragment && u.fragment.l(c), c.forEach(Q);
215
215
  } else
216
216
  u.fragment && u.fragment.c();
217
- t.intro && Er(e.$$.fragment), xr(e, t.target, t.anchor), B();
217
+ t.intro && yr(e.$$.fragment), gr(e, t.target, t.anchor), B();
218
218
  }
219
219
  te(l);
220
220
  }
221
- let At;
222
- typeof HTMLElement == "function" && (At = class extends HTMLElement {
221
+ let St;
222
+ typeof HTMLElement == "function" && (St = class extends HTMLElement {
223
223
  /** The Svelte component constructor */
224
224
  $$ctor;
225
225
  /** Slots */
@@ -278,7 +278,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
278
278
  };
279
279
  if (await Promise.resolve(), !this.$$cn || this.$$c)
280
280
  return;
281
- const t = {}, r = pr(this);
281
+ const t = {}, r = hr(this);
282
282
  for (const i of this.$$s)
283
283
  i in r && (t[i] = [e(i)]);
284
284
  for (const i of this.attributes) {
@@ -365,8 +365,8 @@ function fe(e, t, r, n) {
365
365
  return t;
366
366
  }
367
367
  }
368
- function wr(e, t, r, n, i, o) {
369
- let a = class extends At {
368
+ function xr(e, t, r, n, i, o) {
369
+ let a = class extends St {
370
370
  constructor() {
371
371
  super(e, r, i), this.$$p_d = t;
372
372
  }
@@ -394,7 +394,7 @@ function wr(e, t, r, n, i, o) {
394
394
  }), e.element = /** @type {any} */
395
395
  a, a;
396
396
  }
397
- class Br {
397
+ class Tr {
398
398
  /**
399
399
  * ### PRIVATE API
400
400
  *
@@ -413,7 +413,7 @@ class Br {
413
413
  $$set = void 0;
414
414
  /** @returns {void} */
415
415
  $destroy() {
416
- Tr(this, 1), this.$destroy = w;
416
+ vr(this, 1), this.$destroy = w;
417
417
  }
418
418
  /**
419
419
  * @template {Extract<keyof Events, string>} K
@@ -422,7 +422,7 @@ class Br {
422
422
  * @returns {() => void}
423
423
  */
424
424
  $on(t, r) {
425
- if (!Ze(r))
425
+ if (!ze(r))
426
426
  return w;
427
427
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
428
428
  return n.push(r), () => {
@@ -435,11 +435,11 @@ class Br {
435
435
  * @returns {void}
436
436
  */
437
437
  $set(t) {
438
- this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
438
+ this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
439
439
  }
440
440
  }
441
- const Ar = "4";
442
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
441
+ const Hr = "4";
442
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
443
443
  /*! *****************************************************************************
444
444
  Copyright (c) Microsoft Corporation.
445
445
 
@@ -454,18 +454,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
454
454
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
455
455
  PERFORMANCE OF THIS SOFTWARE.
456
456
  ***************************************************************************** */
457
- var Me = function(e, t) {
458
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
457
+ var Ce = function(e, t) {
458
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
459
459
  r.__proto__ = n;
460
460
  } || function(r, n) {
461
461
  for (var i in n)
462
462
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
463
- }, Me(e, t);
463
+ }, Ce(e, t);
464
464
  };
465
465
  function N(e, t) {
466
466
  if (typeof t != "function" && t !== null)
467
467
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
468
- Me(e, t);
468
+ Ce(e, t);
469
469
  function r() {
470
470
  this.constructor = e;
471
471
  }
@@ -481,7 +481,7 @@ var y = function() {
481
481
  return t;
482
482
  }, y.apply(this, arguments);
483
483
  };
484
- function Pr(e, t) {
484
+ function Sr(e, t) {
485
485
  var r = {};
486
486
  for (var n in e)
487
487
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -490,7 +490,7 @@ function Pr(e, t) {
490
490
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
491
491
  return r;
492
492
  }
493
- function $e(e) {
493
+ function Me(e) {
494
494
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
495
495
  if (r)
496
496
  return r.call(e);
@@ -502,7 +502,7 @@ function $e(e) {
502
502
  };
503
503
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
504
504
  }
505
- function Re(e, t) {
505
+ function $e(e, t) {
506
506
  var r = typeof Symbol == "function" && e[Symbol.iterator];
507
507
  if (!r)
508
508
  return e;
@@ -531,13 +531,13 @@ function X(e, t, r) {
531
531
  function O(e) {
532
532
  return typeof e == "function";
533
533
  }
534
- function Pt(e) {
534
+ function wt(e) {
535
535
  var t = function(n) {
536
536
  Error.call(n), n.stack = new Error().stack;
537
537
  }, r = e(t);
538
538
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
539
539
  }
540
- var He = Pt(function(e) {
540
+ var He = wt(function(e) {
541
541
  return function(r) {
542
542
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
543
543
  ` + r.map(function(n, i) {
@@ -546,7 +546,7 @@ var He = Pt(function(e) {
546
546
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
547
547
  };
548
548
  });
549
- function Ue(e, t) {
549
+ function Re(e, t) {
550
550
  if (e) {
551
551
  var r = e.indexOf(t);
552
552
  0 <= r && e.splice(r, 1);
@@ -564,7 +564,7 @@ var ge = function() {
564
564
  if (a)
565
565
  if (this._parentage = null, Array.isArray(a))
566
566
  try {
567
- for (var s = $e(a), l = s.next(); !l.done; l = s.next()) {
567
+ for (var s = Me(a), l = s.next(); !l.done; l = s.next()) {
568
568
  var u = l.value;
569
569
  u.remove(this);
570
570
  }
@@ -591,12 +591,12 @@ var ge = function() {
591
591
  if (c) {
592
592
  this._finalizers = null;
593
593
  try {
594
- for (var f = $e(c), p = f.next(); !p.done; p = f.next()) {
594
+ for (var f = Me(c), p = f.next(); !p.done; p = f.next()) {
595
595
  var v = p.value;
596
596
  try {
597
- nt(v);
597
+ et(v);
598
598
  } catch (m) {
599
- o = o ?? [], m instanceof He ? o = X(X([], Re(o)), Re(m.errors)) : o.push(m);
599
+ o = o ?? [], m instanceof He ? o = X(X([], $e(o)), $e(m.errors)) : o.push(m);
600
600
  }
601
601
  }
602
602
  } catch (m) {
@@ -617,7 +617,7 @@ var ge = function() {
617
617
  var r;
618
618
  if (t && t !== this)
619
619
  if (this.closed)
620
- nt(t);
620
+ et(t);
621
621
  else {
622
622
  if (t instanceof e) {
623
623
  if (t.closed || t._hasParent(this))
@@ -634,56 +634,52 @@ var ge = function() {
634
634
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
635
635
  }, e.prototype._removeParent = function(t) {
636
636
  var r = this._parentage;
637
- r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
637
+ r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
638
638
  }, e.prototype.remove = function(t) {
639
639
  var r = this._finalizers;
640
- r && Ue(r, t), t instanceof e && t._removeParent(this);
640
+ r && Re(r, t), t instanceof e && t._removeParent(this);
641
641
  }, e.EMPTY = function() {
642
642
  var t = new e();
643
643
  return t.closed = !0, t;
644
644
  }(), e;
645
- }(), Ot = ge.EMPTY;
646
- function It(e) {
645
+ }(), Bt = ge.EMPTY;
646
+ function At(e) {
647
647
  return e instanceof ge || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
648
648
  }
649
- function nt(e) {
649
+ function et(e) {
650
650
  O(e) ? e() : e.unsubscribe();
651
651
  }
652
- var Nt = {
653
- onUnhandledError: null,
654
- onStoppedNotification: null,
655
- Promise: void 0,
656
- useDeprecatedSynchronousErrorHandling: !1,
657
- useDeprecatedNextContext: !1
658
- }, Or = {
652
+ var wr = {
653
+ Promise: void 0
654
+ }, Br = {
659
655
  setTimeout: function(e, t) {
660
656
  for (var r = [], n = 2; n < arguments.length; n++)
661
657
  r[n - 2] = arguments[n];
662
- return setTimeout.apply(void 0, X([e, t], Re(r)));
658
+ return setTimeout.apply(void 0, X([e, t], $e(r)));
663
659
  },
664
660
  clearTimeout: function(e) {
665
661
  return clearTimeout(e);
666
662
  },
667
663
  delegate: void 0
668
664
  };
669
- function Ir(e) {
670
- Or.setTimeout(function() {
665
+ function Ar(e) {
666
+ Br.setTimeout(function() {
671
667
  throw e;
672
668
  });
673
669
  }
674
- function it() {
670
+ function tt() {
675
671
  }
676
672
  function pe(e) {
677
673
  e();
678
674
  }
679
- var Lt = function(e) {
675
+ var Pt = function(e) {
680
676
  N(t, e);
681
677
  function t(r) {
682
678
  var n = e.call(this) || this;
683
- return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = Mr, n;
679
+ return n.isStopped = !1, r ? (n.destination = r, At(r) && r.add(n)) : n.destination = Ir, n;
684
680
  }
685
681
  return t.create = function(r, n, i) {
686
- return new De(r, n, i);
682
+ return new Ue(r, n, i);
687
683
  }, t.prototype.next = function(r) {
688
684
  this.isStopped || this._next(r);
689
685
  }, t.prototype.error = function(r) {
@@ -707,11 +703,7 @@ var Lt = function(e) {
707
703
  this.unsubscribe();
708
704
  }
709
705
  }, t;
710
- }(ge), Nr = Function.prototype.bind;
711
- function Se(e, t) {
712
- return Nr.call(e, t);
713
- }
714
- var Lr = function() {
706
+ }(ge), Pr = function() {
715
707
  function e(t) {
716
708
  this.partialObserver = t;
717
709
  }
@@ -742,55 +734,43 @@ var Lr = function() {
742
734
  le(r);
743
735
  }
744
736
  }, e;
745
- }(), De = function(e) {
737
+ }(), Ue = function(e) {
746
738
  N(t, e);
747
739
  function t(r, n, i) {
748
740
  var o = e.call(this) || this, a;
749
- if (O(r) || !r)
750
- a = {
751
- next: r ?? void 0,
752
- error: n ?? void 0,
753
- complete: i ?? void 0
754
- };
755
- else {
756
- var s;
757
- o && Nt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
758
- return o.unsubscribe();
759
- }, a = {
760
- next: r.next && Se(r.next, s),
761
- error: r.error && Se(r.error, s),
762
- complete: r.complete && Se(r.complete, s)
763
- }) : a = r;
764
- }
765
- return o.destination = new Lr(a), o;
741
+ return O(r) || !r ? a = {
742
+ next: r ?? void 0,
743
+ error: n ?? void 0,
744
+ complete: i ?? void 0
745
+ } : a = r, o.destination = new Pr(a), o;
766
746
  }
767
747
  return t;
768
- }(Lt);
748
+ }(Pt);
769
749
  function le(e) {
770
- Ir(e);
750
+ Ar(e);
771
751
  }
772
- function Cr(e) {
752
+ function Or(e) {
773
753
  throw e;
774
754
  }
775
- var Mr = {
755
+ var Ir = {
776
756
  closed: !0,
777
- next: it,
778
- error: Cr,
779
- complete: it
780
- }, $r = function() {
757
+ next: tt,
758
+ error: Or,
759
+ complete: tt
760
+ }, Nr = function() {
781
761
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
782
762
  }();
783
- function Rr(e) {
763
+ function Lr(e) {
784
764
  return e;
785
765
  }
786
- function Ur(e) {
787
- return e.length === 0 ? Rr : e.length === 1 ? e[0] : function(r) {
766
+ function Cr(e) {
767
+ return e.length === 0 ? Lr : e.length === 1 ? e[0] : function(r) {
788
768
  return e.reduce(function(n, i) {
789
769
  return i(n);
790
770
  }, r);
791
771
  };
792
772
  }
793
- var ot = function() {
773
+ var rt = function() {
794
774
  function e(t) {
795
775
  t && (this._subscribe = t);
796
776
  }
@@ -798,7 +778,7 @@ var ot = function() {
798
778
  var r = new e();
799
779
  return r.source = this, r.operator = t, r;
800
780
  }, e.prototype.subscribe = function(t, r, n) {
801
- var i = this, o = Gr(t) ? t : new De(t, r, n);
781
+ var i = this, o = $r(t) ? t : new Ue(t, r, n);
802
782
  return pe(function() {
803
783
  var a = i, s = a.operator, l = a.source;
804
784
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -811,8 +791,8 @@ var ot = function() {
811
791
  }
812
792
  }, e.prototype.forEach = function(t, r) {
813
793
  var n = this;
814
- return r = st(r), new r(function(i, o) {
815
- var a = new De({
794
+ return r = nt(r), new r(function(i, o) {
795
+ var a = new Ue({
816
796
  next: function(s) {
817
797
  try {
818
798
  t(s);
@@ -828,15 +808,15 @@ var ot = function() {
828
808
  }, e.prototype._subscribe = function(t) {
829
809
  var r;
830
810
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
831
- }, e.prototype[$r] = function() {
811
+ }, e.prototype[Nr] = function() {
832
812
  return this;
833
813
  }, e.prototype.pipe = function() {
834
814
  for (var t = [], r = 0; r < arguments.length; r++)
835
815
  t[r] = arguments[r];
836
- return Ur(t)(this);
816
+ return Cr(t)(this);
837
817
  }, e.prototype.toPromise = function(t) {
838
818
  var r = this;
839
- return t = st(t), new t(function(n, i) {
819
+ return t = nt(t), new t(function(n, i) {
840
820
  var o;
841
821
  r.subscribe(function(a) {
842
822
  return o = a;
@@ -850,32 +830,32 @@ var ot = function() {
850
830
  return new e(t);
851
831
  }, e;
852
832
  }();
853
- function st(e) {
833
+ function nt(e) {
854
834
  var t;
855
- return (t = e ?? Nt.Promise) !== null && t !== void 0 ? t : Promise;
835
+ return (t = e ?? wr.Promise) !== null && t !== void 0 ? t : Promise;
856
836
  }
857
- function Dr(e) {
837
+ function Mr(e) {
858
838
  return e && O(e.next) && O(e.error) && O(e.complete);
859
839
  }
860
- function Gr(e) {
861
- return e && e instanceof Lt || Dr(e) && It(e);
840
+ function $r(e) {
841
+ return e && e instanceof Pt || Mr(e) && At(e);
862
842
  }
863
- var Fr = Pt(function(e) {
843
+ var Rr = wt(function(e) {
864
844
  return function() {
865
845
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
866
846
  };
867
- }), Ct = function(e) {
847
+ }), Ot = function(e) {
868
848
  N(t, e);
869
849
  function t() {
870
850
  var r = e.call(this) || this;
871
851
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
872
852
  }
873
853
  return t.prototype.lift = function(r) {
874
- var n = new at(this, this);
854
+ var n = new it(this, this);
875
855
  return n.operator = r, n;
876
856
  }, t.prototype._throwIfClosed = function() {
877
857
  if (this.closed)
878
- throw new Fr();
858
+ throw new Rr();
879
859
  }, t.prototype.next = function(r) {
880
860
  var n = this;
881
861
  pe(function() {
@@ -883,7 +863,7 @@ var Fr = Pt(function(e) {
883
863
  if (n._throwIfClosed(), !n.isStopped) {
884
864
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
885
865
  try {
886
- for (var a = $e(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
866
+ for (var a = Me(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
887
867
  var l = s.value;
888
868
  l.next(r);
889
869
  }
@@ -932,19 +912,19 @@ var Fr = Pt(function(e) {
932
912
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
933
913
  }, t.prototype._innerSubscribe = function(r) {
934
914
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
935
- return o || a ? Ot : (this.currentObservers = null, s.push(r), new ge(function() {
936
- n.currentObservers = null, Ue(s, r);
915
+ return o || a ? Bt : (this.currentObservers = null, s.push(r), new ge(function() {
916
+ n.currentObservers = null, Re(s, r);
937
917
  }));
938
918
  }, t.prototype._checkFinalizedStatuses = function(r) {
939
919
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
940
920
  i ? r.error(o) : a && r.complete();
941
921
  }, t.prototype.asObservable = function() {
942
- var r = new ot();
922
+ var r = new rt();
943
923
  return r.source = this, r;
944
924
  }, t.create = function(r, n) {
945
- return new at(r, n);
925
+ return new it(r, n);
946
926
  }, t;
947
- }(ot), at = function(e) {
927
+ }(rt), it = function(e) {
948
928
  N(t, e);
949
929
  function t(r, n) {
950
930
  var i = e.call(this) || this;
@@ -961,17 +941,17 @@ var Fr = Pt(function(e) {
961
941
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
962
942
  }, t.prototype._subscribe = function(r) {
963
943
  var n, i;
964
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
944
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Bt;
965
945
  }, t;
966
- }(Ct), Mt = {
946
+ }(Ot), It = {
967
947
  now: function() {
968
- return (Mt.delegate || Date).now();
948
+ return (It.delegate || Date).now();
969
949
  },
970
950
  delegate: void 0
971
- }, jr = function(e) {
951
+ }, Ur = function(e) {
972
952
  N(t, e);
973
953
  function t(r, n, i) {
974
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Mt);
954
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = It);
975
955
  var o = e.call(this) || this;
976
956
  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;
977
957
  }
@@ -991,15 +971,15 @@ var Fr = Pt(function(e) {
991
971
  u && o.splice(0, u + 1);
992
972
  }
993
973
  }, t;
994
- }(Ct);
995
- const ut = [], ht = {}, kr = (e, t = 0) => {
996
- if (ut.indexOf(e) == -1) {
997
- const r = new jr(t);
998
- ht[e] = r, ut.push(e);
974
+ }(Ot);
975
+ const ot = [], st = {}, Dr = (e, t = 0) => {
976
+ if (ot.indexOf(e) == -1) {
977
+ const r = new Ur(t);
978
+ st[e] = r, ot.push(e);
999
979
  }
1000
- return ht[e];
980
+ return st[e];
1001
981
  }, j = [];
1002
- function Vr(e, t) {
982
+ function Gr(e, t) {
1003
983
  return {
1004
984
  subscribe: ve(e, t).subscribe
1005
985
  };
@@ -1008,7 +988,7 @@ function ve(e, t = w) {
1008
988
  let r;
1009
989
  const n = /* @__PURE__ */ new Set();
1010
990
  function i(s) {
1011
- if (wt(e, s) && (e = s, r)) {
991
+ if (Tt(e, s) && (e = s, r)) {
1012
992
  const l = !j.length;
1013
993
  for (const u of n)
1014
994
  u[1](), j.push(u, e);
@@ -1035,7 +1015,7 @@ function J(e, t, r) {
1035
1015
  if (!i.every(Boolean))
1036
1016
  throw new Error("derived() expects stores as input, got a falsy value");
1037
1017
  const o = t.length < 2;
1038
- return Vr(r, (a, s) => {
1018
+ return Gr(r, (a, s) => {
1039
1019
  let l = !1;
1040
1020
  const u = [];
1041
1021
  let h = 0, c = w;
@@ -1044,9 +1024,9 @@ function J(e, t, r) {
1044
1024
  return;
1045
1025
  c();
1046
1026
  const v = t(n ? u[0] : u, a, s);
1047
- o ? a(v) : c = Ze(v) ? v : w;
1027
+ o ? a(v) : c = ze(v) ? v : w;
1048
1028
  }, p = i.map(
1049
- (v, m) => Bt(
1029
+ (v, m) => Ht(
1050
1030
  v,
1051
1031
  (T) => {
1052
1032
  u[m] = T, h &= ~(1 << m), l && f();
@@ -1061,70 +1041,70 @@ function J(e, t, r) {
1061
1041
  };
1062
1042
  });
1063
1043
  }
1064
- function Xr(e) {
1044
+ function Fr(e) {
1065
1045
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1066
1046
  }
1067
- var Wr = function(t) {
1068
- return zr(t) && !Zr(t);
1047
+ var jr = function(t) {
1048
+ return kr(t) && !Vr(t);
1069
1049
  };
1070
- function zr(e) {
1050
+ function kr(e) {
1071
1051
  return !!e && typeof e == "object";
1072
1052
  }
1073
- function Zr(e) {
1053
+ function Vr(e) {
1074
1054
  var t = Object.prototype.toString.call(e);
1075
- return t === "[object RegExp]" || t === "[object Date]" || Jr(e);
1055
+ return t === "[object RegExp]" || t === "[object Date]" || zr(e);
1076
1056
  }
1077
- var qr = typeof Symbol == "function" && Symbol.for, Qr = qr ? Symbol.for("react.element") : 60103;
1078
- function Jr(e) {
1079
- return e.$$typeof === Qr;
1057
+ var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
1058
+ function zr(e) {
1059
+ return e.$$typeof === Wr;
1080
1060
  }
1081
- function Yr(e) {
1061
+ function Zr(e) {
1082
1062
  return Array.isArray(e) ? [] : {};
1083
1063
  }
1084
1064
  function ie(e, t) {
1085
- return t.clone !== !1 && t.isMergeableObject(e) ? W(Yr(e), e, t) : e;
1065
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(Zr(e), e, t) : e;
1086
1066
  }
1087
- function Kr(e, t, r) {
1067
+ function qr(e, t, r) {
1088
1068
  return e.concat(t).map(function(n) {
1089
1069
  return ie(n, r);
1090
1070
  });
1091
1071
  }
1092
- function en(e, t) {
1072
+ function Qr(e, t) {
1093
1073
  if (!t.customMerge)
1094
1074
  return W;
1095
1075
  var r = t.customMerge(e);
1096
1076
  return typeof r == "function" ? r : W;
1097
1077
  }
1098
- function tn(e) {
1078
+ function Jr(e) {
1099
1079
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1100
1080
  return Object.propertyIsEnumerable.call(e, t);
1101
1081
  }) : [];
1102
1082
  }
1103
- function lt(e) {
1104
- return Object.keys(e).concat(tn(e));
1083
+ function at(e) {
1084
+ return Object.keys(e).concat(Jr(e));
1105
1085
  }
1106
- function $t(e, t) {
1086
+ function Nt(e, t) {
1107
1087
  try {
1108
1088
  return t in e;
1109
1089
  } catch {
1110
1090
  return !1;
1111
1091
  }
1112
1092
  }
1113
- function rn(e, t) {
1114
- return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1093
+ function Yr(e, t) {
1094
+ return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1115
1095
  }
1116
- function nn(e, t, r) {
1096
+ function Kr(e, t, r) {
1117
1097
  var n = {};
1118
- return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1098
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
1119
1099
  n[i] = ie(e[i], r);
1120
- }), lt(t).forEach(function(i) {
1121
- rn(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = en(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1100
+ }), at(t).forEach(function(i) {
1101
+ Yr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1122
1102
  }), n;
1123
1103
  }
1124
1104
  function W(e, t, r) {
1125
- r = r || {}, r.arrayMerge = r.arrayMerge || Kr, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = ie;
1105
+ r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ie;
1126
1106
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1127
- return o ? n ? r.arrayMerge(e, t, r) : nn(e, t, r) : ie(t, r);
1107
+ return o ? n ? r.arrayMerge(e, t, r) : Kr(e, t, r) : ie(t, r);
1128
1108
  }
1129
1109
  W.all = function(t, r) {
1130
1110
  if (!Array.isArray(t))
@@ -1133,58 +1113,56 @@ W.all = function(t, r) {
1133
1113
  return W(n, i, r);
1134
1114
  }, {});
1135
1115
  };
1136
- var on = W, sn = on;
1137
- const an = /* @__PURE__ */ Xr(sn);
1138
- function we(e, t) {
1139
- var r = t && t.cache ? t.cache : pn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : hn;
1116
+ var en = W, tn = en;
1117
+ const rn = /* @__PURE__ */ Fr(tn);
1118
+ function Se(e, t) {
1119
+ var r = t && t.cache ? t.cache : ln, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : sn;
1140
1120
  return i(e, {
1141
1121
  cache: r,
1142
1122
  serializer: n
1143
1123
  });
1144
1124
  }
1145
- function un(e) {
1125
+ function nn(e) {
1146
1126
  return e == null || typeof e == "number" || typeof e == "boolean";
1147
1127
  }
1148
- function Rt(e, t, r, n) {
1149
- var i = un(n) ? n : r(n), o = t.get(i);
1128
+ function on(e, t, r, n) {
1129
+ var i = nn(n) ? n : r(n), o = t.get(i);
1150
1130
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1151
1131
  }
1152
- function Ut(e, t, r) {
1132
+ function Lt(e, t, r) {
1153
1133
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1154
1134
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1155
1135
  }
1156
- function Qe(e, t, r, n, i) {
1136
+ function Ct(e, t, r, n, i) {
1157
1137
  return r.bind(t, e, n, i);
1158
1138
  }
1159
- function hn(e, t) {
1160
- var r = e.length === 1 ? Rt : Ut;
1161
- return Qe(e, this, r, t.cache.create(), t.serializer);
1162
- }
1163
- function ln(e, t) {
1164
- return Qe(e, this, Ut, t.cache.create(), t.serializer);
1139
+ function sn(e, t) {
1140
+ var r = e.length === 1 ? on : Lt;
1141
+ return Ct(e, this, r, t.cache.create(), t.serializer);
1165
1142
  }
1166
- function cn(e, t) {
1167
- return Qe(e, this, Rt, t.cache.create(), t.serializer);
1143
+ function an(e, t) {
1144
+ return Ct(e, this, Lt, t.cache.create(), t.serializer);
1168
1145
  }
1169
- var fn = function() {
1146
+ var un = function() {
1170
1147
  return JSON.stringify(arguments);
1171
- };
1172
- function Je() {
1173
- this.cache = /* @__PURE__ */ Object.create(null);
1174
- }
1175
- Je.prototype.get = function(e) {
1176
- return this.cache[e];
1177
- };
1178
- Je.prototype.set = function(e, t) {
1179
- this.cache[e] = t;
1180
- };
1181
- var pn = {
1148
+ }, hn = (
1149
+ /** @class */
1150
+ function() {
1151
+ function e() {
1152
+ this.cache = /* @__PURE__ */ Object.create(null);
1153
+ }
1154
+ return e.prototype.get = function(t) {
1155
+ return this.cache[t];
1156
+ }, e.prototype.set = function(t, r) {
1157
+ this.cache[t] = r;
1158
+ }, e;
1159
+ }()
1160
+ ), ln = {
1182
1161
  create: function() {
1183
- return new Je();
1162
+ return new hn();
1184
1163
  }
1185
- }, Be = {
1186
- variadic: ln,
1187
- monadic: cn
1164
+ }, we = {
1165
+ variadic: an
1188
1166
  }, d;
1189
1167
  (function(e) {
1190
1168
  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";
@@ -1197,43 +1175,43 @@ var z;
1197
1175
  (function(e) {
1198
1176
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1199
1177
  })(z || (z = {}));
1200
- function ct(e) {
1178
+ function ut(e) {
1201
1179
  return e.type === _.literal;
1202
1180
  }
1203
- function mn(e) {
1181
+ function cn(e) {
1204
1182
  return e.type === _.argument;
1205
1183
  }
1206
- function Dt(e) {
1184
+ function Mt(e) {
1207
1185
  return e.type === _.number;
1208
1186
  }
1209
- function Gt(e) {
1187
+ function $t(e) {
1210
1188
  return e.type === _.date;
1211
1189
  }
1212
- function Ft(e) {
1190
+ function Rt(e) {
1213
1191
  return e.type === _.time;
1214
1192
  }
1215
- function jt(e) {
1193
+ function Ut(e) {
1216
1194
  return e.type === _.select;
1217
1195
  }
1218
- function kt(e) {
1196
+ function Dt(e) {
1219
1197
  return e.type === _.plural;
1220
1198
  }
1221
- function dn(e) {
1199
+ function fn(e) {
1222
1200
  return e.type === _.pound;
1223
1201
  }
1224
- function Vt(e) {
1202
+ function Gt(e) {
1225
1203
  return e.type === _.tag;
1226
1204
  }
1227
- function Xt(e) {
1205
+ function Ft(e) {
1228
1206
  return !!(e && typeof e == "object" && e.type === z.number);
1229
1207
  }
1230
- function Ge(e) {
1208
+ function De(e) {
1231
1209
  return !!(e && typeof e == "object" && e.type === z.dateTime);
1232
1210
  }
1233
- var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bn = /(?:[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;
1234
- function yn(e) {
1211
+ var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1212
+ function mn(e) {
1235
1213
  var t = {};
1236
- return e.replace(bn, function(r) {
1214
+ return e.replace(pn, function(r) {
1237
1215
  var n = r.length;
1238
1216
  switch (r[0]) {
1239
1217
  case "G":
@@ -1322,11 +1300,11 @@ function yn(e) {
1322
1300
  return "";
1323
1301
  }), t;
1324
1302
  }
1325
- var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1326
- function vn(e) {
1303
+ var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1304
+ function bn(e) {
1327
1305
  if (e.length === 0)
1328
1306
  throw new Error("Number skeleton cannot be empty");
1329
- for (var t = e.split(gn).filter(function(f) {
1307
+ for (var t = e.split(dn).filter(function(f) {
1330
1308
  return f.length > 0;
1331
1309
  }), r = [], n = 0, i = t; n < i.length; n++) {
1332
1310
  var o = i[n], a = o.split("/");
@@ -1341,17 +1319,17 @@ function vn(e) {
1341
1319
  }
1342
1320
  return r;
1343
1321
  }
1344
- function _n(e) {
1322
+ function yn(e) {
1345
1323
  return e.replace(/^(.*?)-/, "");
1346
1324
  }
1347
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
1348
- function pt(e) {
1325
+ var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, gn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
1326
+ function lt(e) {
1349
1327
  var t = {};
1350
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1328
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
1351
1329
  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)), "";
1352
1330
  }), t;
1353
1331
  }
1354
- function qt(e) {
1332
+ function Xt(e) {
1355
1333
  switch (e) {
1356
1334
  case "sign-auto":
1357
1335
  return {
@@ -1391,7 +1369,7 @@ function qt(e) {
1391
1369
  };
1392
1370
  }
1393
1371
  }
1394
- function xn(e) {
1372
+ function vn(e) {
1395
1373
  var t;
1396
1374
  if (e[0] === "E" && e[1] === "E" ? (t = {
1397
1375
  notation: "engineering"
@@ -1399,17 +1377,17 @@ function xn(e) {
1399
1377
  notation: "scientific"
1400
1378
  }, e = e.slice(1)), t) {
1401
1379
  var r = e.slice(0, 2);
1402
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1380
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
1403
1381
  throw new Error("Malformed concise eng/scientific notation");
1404
1382
  t.minimumIntegerDigits = e.length;
1405
1383
  }
1406
1384
  return t;
1407
1385
  }
1408
- function mt(e) {
1409
- var t = {}, r = qt(e);
1386
+ function ct(e) {
1387
+ var t = {}, r = Xt(e);
1410
1388
  return r || t;
1411
1389
  }
1412
- function Tn(e) {
1390
+ function _n(e) {
1413
1391
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1414
1392
  var i = n[r];
1415
1393
  switch (i.stem) {
@@ -1433,7 +1411,7 @@ function Tn(e) {
1433
1411
  continue;
1434
1412
  case "measure-unit":
1435
1413
  case "unit":
1436
- t.style = "unit", t.unit = _n(i.options[0]);
1414
+ t.style = "unit", t.unit = yn(i.options[0]);
1437
1415
  continue;
1438
1416
  case "compact-short":
1439
1417
  case "K":
@@ -1445,12 +1423,12 @@ function Tn(e) {
1445
1423
  continue;
1446
1424
  case "scientific":
1447
1425
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1448
- return y(y({}, l), mt(u));
1426
+ return y(y({}, l), ct(u));
1449
1427
  }, {}));
1450
1428
  continue;
1451
1429
  case "engineering":
1452
1430
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1453
- return y(y({}, l), mt(u));
1431
+ return y(y({}, l), ct(u));
1454
1432
  }, {}));
1455
1433
  continue;
1456
1434
  case "notation-simple":
@@ -1495,7 +1473,7 @@ function Tn(e) {
1495
1473
  case "integer-width":
1496
1474
  if (i.options.length > 1)
1497
1475
  throw new RangeError("integer-width stems only accept a single optional option");
1498
- i.options[0].replace(En, function(l, u, h, c, f, p) {
1476
+ i.options[0].replace(gn, function(l, u, h, c, f, p) {
1499
1477
  if (u)
1500
1478
  t.minimumIntegerDigits = h.length;
1501
1479
  else {
@@ -1508,27 +1486,27 @@ function Tn(e) {
1508
1486
  });
1509
1487
  continue;
1510
1488
  }
1511
- if (Zt.test(i.stem)) {
1489
+ if (Vt.test(i.stem)) {
1512
1490
  t.minimumIntegerDigits = i.stem.length;
1513
1491
  continue;
1514
1492
  }
1515
- if (ft.test(i.stem)) {
1493
+ if (ht.test(i.stem)) {
1516
1494
  if (i.options.length > 1)
1517
1495
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1518
- i.stem.replace(ft, function(l, u, h, c, f, p) {
1496
+ i.stem.replace(ht, function(l, u, h, c, f, p) {
1519
1497
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1520
1498
  });
1521
1499
  var o = i.options[0];
1522
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), pt(o)));
1500
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), lt(o)));
1523
1501
  continue;
1524
1502
  }
1525
- if (zt.test(i.stem)) {
1526
- t = y(y({}, t), pt(i.stem));
1503
+ if (kt.test(i.stem)) {
1504
+ t = y(y({}, t), lt(i.stem));
1527
1505
  continue;
1528
1506
  }
1529
- var a = qt(i.stem);
1507
+ var a = Xt(i.stem);
1530
1508
  a && (t = y(y({}, t), a));
1531
- var s = xn(i.stem);
1509
+ var s = vn(i.stem);
1532
1510
  s && (t = y(y({}, t), s));
1533
1511
  }
1534
1512
  return t;
@@ -2948,13 +2926,13 @@ var ce = {
2948
2926
  "h"
2949
2927
  ]
2950
2928
  };
2951
- function Hn(e, t) {
2929
+ function En(e, t) {
2952
2930
  for (var r = "", n = 0; n < e.length; n++) {
2953
2931
  var i = e.charAt(n);
2954
2932
  if (i === "j") {
2955
2933
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2956
2934
  o++, n++;
2957
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Sn(t);
2935
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = xn(t);
2958
2936
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2959
2937
  r += l;
2960
2938
  for (; a-- > 0; )
@@ -2964,7 +2942,7 @@ function Hn(e, t) {
2964
2942
  }
2965
2943
  return r;
2966
2944
  }
2967
- function Sn(e) {
2945
+ function xn(e) {
2968
2946
  var t = e.hourCycle;
2969
2947
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2970
2948
  e.hourCycles && // @ts-ignore
@@ -2986,20 +2964,20 @@ function Sn(e) {
2986
2964
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2987
2965
  return i[0];
2988
2966
  }
2989
- var Ae, wn = new RegExp("^".concat(Wt.source, "*")), Bn = new RegExp("".concat(Wt.source, "*$"));
2967
+ var Be, Tn = new RegExp("^".concat(jt.source, "*")), Hn = new RegExp("".concat(jt.source, "*$"));
2990
2968
  function b(e, t) {
2991
2969
  return { start: e, end: t };
2992
2970
  }
2993
- var An = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pn = !!String.fromCodePoint, On = !!Object.fromEntries, In = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, Mn = Cn ? Number.isSafeInteger : function(e) {
2971
+ var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), wn = !!String.fromCodePoint, Bn = !!Object.fromEntries, An = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, On = !!String.prototype.trimEnd, In = !!Number.isSafeInteger, Nn = In ? Number.isSafeInteger : function(e) {
2994
2972
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2995
- }, Fe = !0;
2973
+ }, Ge = !0;
2996
2974
  try {
2997
- var $n = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2998
- Fe = ((Ae = $n.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2975
+ var Ln = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2976
+ Ge = ((Be = Ln.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2999
2977
  } catch {
3000
- Fe = !1;
2978
+ Ge = !1;
3001
2979
  }
3002
- var dt = An ? (
2980
+ var ft = Sn ? (
3003
2981
  // Native
3004
2982
  function(t, r, n) {
3005
2983
  return t.startsWith(r, n);
@@ -3009,7 +2987,7 @@ var dt = An ? (
3009
2987
  function(t, r, n) {
3010
2988
  return t.slice(n, n + r.length) === r;
3011
2989
  }
3012
- ), je = Pn ? String.fromCodePoint : (
2990
+ ), Fe = wn ? String.fromCodePoint : (
3013
2991
  // IE11
3014
2992
  function() {
3015
2993
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3021,9 +2999,9 @@ var dt = An ? (
3021
2999
  }
3022
3000
  return n;
3023
3001
  }
3024
- ), bt = (
3002
+ ), pt = (
3025
3003
  // native
3026
- On ? Object.fromEntries : (
3004
+ Bn ? Object.fromEntries : (
3027
3005
  // Ponyfill
3028
3006
  function(t) {
3029
3007
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3033,7 +3011,7 @@ var dt = An ? (
3033
3011
  return r;
3034
3012
  }
3035
3013
  )
3036
- ), Qt = In ? (
3014
+ ), Wt = An ? (
3037
3015
  // Native
3038
3016
  function(t, r) {
3039
3017
  return t.codePointAt(r);
@@ -3047,7 +3025,7 @@ var dt = An ? (
3047
3025
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3048
3026
  }
3049
3027
  }
3050
- ), Rn = Nn ? (
3028
+ ), Cn = Pn ? (
3051
3029
  // Native
3052
3030
  function(t) {
3053
3031
  return t.trimStart();
@@ -3055,9 +3033,9 @@ var dt = An ? (
3055
3033
  ) : (
3056
3034
  // Ponyfill
3057
3035
  function(t) {
3058
- return t.replace(wn, "");
3036
+ return t.replace(Tn, "");
3059
3037
  }
3060
- ), Un = Ln ? (
3038
+ ), Mn = On ? (
3061
3039
  // Native
3062
3040
  function(t) {
3063
3041
  return t.trimEnd();
@@ -3065,32 +3043,32 @@ var dt = An ? (
3065
3043
  ) : (
3066
3044
  // Ponyfill
3067
3045
  function(t) {
3068
- return t.replace(Bn, "");
3046
+ return t.replace(Hn, "");
3069
3047
  }
3070
3048
  );
3071
- function Jt(e, t) {
3049
+ function zt(e, t) {
3072
3050
  return new RegExp(e, t);
3073
3051
  }
3074
- var ke;
3075
- if (Fe) {
3076
- var yt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3077
- ke = function(t, r) {
3052
+ var je;
3053
+ if (Ge) {
3054
+ var mt = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3055
+ je = function(t, r) {
3078
3056
  var n;
3079
- yt.lastIndex = r;
3080
- var i = yt.exec(t);
3057
+ mt.lastIndex = r;
3058
+ var i = mt.exec(t);
3081
3059
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3082
3060
  };
3083
3061
  } else
3084
- ke = function(t, r) {
3062
+ je = function(t, r) {
3085
3063
  for (var n = []; ; ) {
3086
- var i = Qt(t, r);
3087
- if (i === void 0 || Yt(i) || jn(i))
3064
+ var i = Wt(t, r);
3065
+ if (i === void 0 || Zt(i) || Dn(i))
3088
3066
  break;
3089
3067
  n.push(i), r += i >= 65536 ? 2 : 1;
3090
3068
  }
3091
- return je.apply(void 0, n);
3069
+ return Fe.apply(void 0, n);
3092
3070
  };
3093
- var Dn = (
3071
+ var $n = (
3094
3072
  /** @class */
3095
3073
  function() {
3096
3074
  function e(t, r) {
@@ -3121,7 +3099,7 @@ var Dn = (
3121
3099
  if (n)
3122
3100
  break;
3123
3101
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3124
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3102
+ } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3125
3103
  var a = this.parseTag(t, r);
3126
3104
  if (a.err)
3127
3105
  return a;
@@ -3154,7 +3132,7 @@ var Dn = (
3154
3132
  return o;
3155
3133
  var a = o.val, s = this.clonePosition();
3156
3134
  if (this.bumpIf("</")) {
3157
- if (this.isEOF() || !Ve(this.char()))
3135
+ if (this.isEOF() || !ke(this.char()))
3158
3136
  return this.error(d.INVALID_TAG, b(s, this.clonePosition()));
3159
3137
  var l = this.clonePosition(), u = this.parseTagName();
3160
3138
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3172,7 +3150,7 @@ var Dn = (
3172
3150
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3173
3151
  }, e.prototype.parseTagName = function() {
3174
3152
  var t = this.offset();
3175
- for (this.bump(); !this.isEOF() && Fn(this.char()); )
3153
+ for (this.bump(); !this.isEOF() && Un(this.char()); )
3176
3154
  this.bump();
3177
3155
  return this.message.slice(t, this.offset());
3178
3156
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3201,7 +3179,7 @@ var Dn = (
3201
3179
  };
3202
3180
  }, e.prototype.tryParseLeftAngleBracket = function() {
3203
3181
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3204
- !Gn(this.peek() || 0)) ? (this.bump(), "<") : null;
3182
+ !Rn(this.peek() || 0)) ? (this.bump(), "<") : null;
3205
3183
  }, e.prototype.tryParseQuote = function(t) {
3206
3184
  if (this.isEOF() || this.char() !== 39)
3207
3185
  return null;
@@ -3235,12 +3213,12 @@ var Dn = (
3235
3213
  r.push(n);
3236
3214
  this.bump();
3237
3215
  }
3238
- return je.apply(void 0, r);
3216
+ return Fe.apply(void 0, r);
3239
3217
  }, e.prototype.tryParseUnquoted = function(t, r) {
3240
3218
  if (this.isEOF())
3241
3219
  return null;
3242
3220
  var n = this.char();
3243
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3221
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3244
3222
  }, e.prototype.parseArgument = function(t, r) {
3245
3223
  var n = this.clonePosition();
3246
3224
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3269,7 +3247,7 @@ var Dn = (
3269
3247
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3270
3248
  }
3271
3249
  }, e.prototype.parseIdentifierIfPossible = function() {
3272
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3250
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3273
3251
  this.bumpTo(i);
3274
3252
  var o = this.clonePosition(), a = b(t, o);
3275
3253
  return { value: n, location: a };
@@ -3288,7 +3266,7 @@ var Dn = (
3288
3266
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3289
3267
  if (c.err)
3290
3268
  return c;
3291
- var f = Un(c.val);
3269
+ var f = Mn(c.val);
3292
3270
  if (f.length === 0)
3293
3271
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3294
3272
  var p = b(h, this.clonePosition());
@@ -3298,8 +3276,8 @@ var Dn = (
3298
3276
  if (v.err)
3299
3277
  return v;
3300
3278
  var m = b(i, this.clonePosition());
3301
- if (u && dt(u?.style, "::", 0)) {
3302
- var T = Rn(u.style.slice(2));
3279
+ if (u && ft(u?.style, "::", 0)) {
3280
+ var T = Cn(u.style.slice(2));
3303
3281
  if (s === "number") {
3304
3282
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
3305
3283
  return c.err ? c : {
@@ -3310,12 +3288,12 @@ var Dn = (
3310
3288
  if (T.length === 0)
3311
3289
  return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
3312
3290
  var $ = T;
3313
- this.locale && ($ = Hn(T, this.locale));
3291
+ this.locale && ($ = En(T, this.locale));
3314
3292
  var f = {
3315
3293
  type: z.dateTime,
3316
3294
  pattern: $,
3317
3295
  location: u.styleLocation,
3318
- parsedOptions: this.shouldParseSkeletons ? yn($) : {}
3296
+ parsedOptions: this.shouldParseSkeletons ? mn($) : {}
3319
3297
  }, A = s === "date" ? _.date : _.time;
3320
3298
  return {
3321
3299
  val: { type: A, value: n, location: m, style: f },
@@ -3361,7 +3339,7 @@ var Dn = (
3361
3339
  val: {
3362
3340
  type: _.select,
3363
3341
  value: n,
3364
- options: bt(D.val),
3342
+ options: pt(D.val),
3365
3343
  location: g
3366
3344
  },
3367
3345
  err: null
@@ -3369,7 +3347,7 @@ var Dn = (
3369
3347
  val: {
3370
3348
  type: _.plural,
3371
3349
  value: n,
3372
- options: bt(D.val),
3350
+ options: pt(D.val),
3373
3351
  offset: P,
3374
3352
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3375
3353
  location: g
@@ -3420,7 +3398,7 @@ var Dn = (
3420
3398
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3421
3399
  var n = [];
3422
3400
  try {
3423
- n = vn(t);
3401
+ n = bn(t);
3424
3402
  } catch {
3425
3403
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3426
3404
  }
@@ -3429,7 +3407,7 @@ var Dn = (
3429
3407
  type: z.number,
3430
3408
  tokens: n,
3431
3409
  location: r,
3432
- parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
3410
+ parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
3433
3411
  },
3434
3412
  err: null
3435
3413
  };
@@ -3477,7 +3455,7 @@ var Dn = (
3477
3455
  break;
3478
3456
  }
3479
3457
  var l = b(i, this.clonePosition());
3480
- return o ? (a *= n, Mn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3458
+ return o ? (a *= n, Nn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3481
3459
  }, e.prototype.offset = function() {
3482
3460
  return this.position.offset;
3483
3461
  }, e.prototype.isEOF = function() {
@@ -3492,7 +3470,7 @@ var Dn = (
3492
3470
  var t = this.position.offset;
3493
3471
  if (t >= this.message.length)
3494
3472
  throw Error("out of bound");
3495
- var r = Qt(this.message, t);
3473
+ var r = Wt(this.message, t);
3496
3474
  if (r === void 0)
3497
3475
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3498
3476
  return r;
@@ -3511,7 +3489,7 @@ var Dn = (
3511
3489
  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);
3512
3490
  }
3513
3491
  }, e.prototype.bumpIf = function(t) {
3514
- if (dt(this.message, t, this.offset())) {
3492
+ if (ft(this.message, t, this.offset())) {
3515
3493
  for (var r = 0; r < t.length; r++)
3516
3494
  this.bump();
3517
3495
  return !0;
@@ -3533,7 +3511,7 @@ var Dn = (
3533
3511
  break;
3534
3512
  }
3535
3513
  }, e.prototype.bumpSpace = function() {
3536
- for (; !this.isEOF() && Yt(this.char()); )
3514
+ for (; !this.isEOF() && Zt(this.char()); )
3537
3515
  this.bump();
3538
3516
  }, e.prototype.peek = function() {
3539
3517
  if (this.isEOF())
@@ -3543,38 +3521,38 @@ var Dn = (
3543
3521
  }, e;
3544
3522
  }()
3545
3523
  );
3546
- function Ve(e) {
3524
+ function ke(e) {
3547
3525
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3548
3526
  }
3549
- function Gn(e) {
3550
- return Ve(e) || e === 47;
3527
+ function Rn(e) {
3528
+ return ke(e) || e === 47;
3551
3529
  }
3552
- function Fn(e) {
3530
+ function Un(e) {
3553
3531
  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;
3554
3532
  }
3555
- function Yt(e) {
3533
+ function Zt(e) {
3556
3534
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3557
3535
  }
3558
- function jn(e) {
3536
+ function Dn(e) {
3559
3537
  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;
3560
3538
  }
3561
- function Xe(e) {
3539
+ function Ve(e) {
3562
3540
  e.forEach(function(t) {
3563
- if (delete t.location, jt(t) || kt(t))
3541
+ if (delete t.location, Ut(t) || Dt(t))
3564
3542
  for (var r in t.options)
3565
- delete t.options[r].location, Xe(t.options[r].value);
3543
+ delete t.options[r].location, Ve(t.options[r].value);
3566
3544
  else
3567
- Dt(t) && Xt(t.style) || (Gt(t) || Ft(t)) && Ge(t.style) ? delete t.style.location : Vt(t) && Xe(t.children);
3545
+ Mt(t) && Ft(t.style) || ($t(t) || Rt(t)) && De(t.style) ? delete t.style.location : Gt(t) && Ve(t.children);
3568
3546
  });
3569
3547
  }
3570
- function kn(e, t) {
3548
+ function Gn(e, t) {
3571
3549
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3572
- var r = new Dn(e, t).parse();
3550
+ var r = new $n(e, t).parse();
3573
3551
  if (r.err) {
3574
3552
  var n = SyntaxError(d[r.err.kind]);
3575
3553
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3576
3554
  }
3577
- return t?.captureLocation || Xe(r.val), r.val;
3555
+ return t?.captureLocation || Ve(r.val), r.val;
3578
3556
  }
3579
3557
  var Z;
3580
3558
  (function(e) {
@@ -3592,7 +3570,7 @@ var _e = (
3592
3570
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3593
3571
  }, t;
3594
3572
  }(Error)
3595
- ), gt = (
3573
+ ), dt = (
3596
3574
  /** @class */
3597
3575
  function(e) {
3598
3576
  N(t, e);
@@ -3601,7 +3579,7 @@ var _e = (
3601
3579
  }
3602
3580
  return t;
3603
3581
  }(_e)
3604
- ), Vn = (
3582
+ ), Fn = (
3605
3583
  /** @class */
3606
3584
  function(e) {
3607
3585
  N(t, e);
@@ -3610,7 +3588,7 @@ var _e = (
3610
3588
  }
3611
3589
  return t;
3612
3590
  }(_e)
3613
- ), Xn = (
3591
+ ), jn = (
3614
3592
  /** @class */
3615
3593
  function(e) {
3616
3594
  N(t, e);
@@ -3623,17 +3601,17 @@ var _e = (
3623
3601
  (function(e) {
3624
3602
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3625
3603
  })(H || (H = {}));
3626
- function Wn(e) {
3604
+ function kn(e) {
3627
3605
  return e.length < 2 ? e : e.reduce(function(t, r) {
3628
3606
  var n = t[t.length - 1];
3629
3607
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3630
3608
  }, []);
3631
3609
  }
3632
- function zn(e) {
3610
+ function Vn(e) {
3633
3611
  return typeof e == "function";
3634
3612
  }
3635
3613
  function me(e, t, r, n, i, o, a) {
3636
- if (e.length === 1 && ct(e[0]))
3614
+ if (e.length === 1 && ut(e[0]))
3637
3615
  return [
3638
3616
  {
3639
3617
  type: H.literal,
@@ -3642,14 +3620,14 @@ function me(e, t, r, n, i, o, a) {
3642
3620
  ];
3643
3621
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3644
3622
  var h = u[l];
3645
- if (ct(h)) {
3623
+ if (ut(h)) {
3646
3624
  s.push({
3647
3625
  type: H.literal,
3648
3626
  value: h.value
3649
3627
  });
3650
3628
  continue;
3651
3629
  }
3652
- if (dn(h)) {
3630
+ if (fn(h)) {
3653
3631
  typeof o == "number" && s.push({
3654
3632
  type: H.literal,
3655
3633
  value: r.getNumberFormat(t).format(o)
@@ -3658,43 +3636,43 @@ function me(e, t, r, n, i, o, a) {
3658
3636
  }
3659
3637
  var c = h.value;
3660
3638
  if (!(i && c in i))
3661
- throw new Xn(c, a);
3639
+ throw new jn(c, a);
3662
3640
  var f = i[c];
3663
- if (mn(h)) {
3641
+ if (cn(h)) {
3664
3642
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3665
3643
  type: typeof f == "string" ? H.literal : H.object,
3666
3644
  value: f
3667
3645
  });
3668
3646
  continue;
3669
3647
  }
3670
- if (Gt(h)) {
3671
- var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3648
+ if ($t(h)) {
3649
+ var p = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3672
3650
  s.push({
3673
3651
  type: H.literal,
3674
3652
  value: r.getDateTimeFormat(t, p).format(f)
3675
3653
  });
3676
3654
  continue;
3677
3655
  }
3678
- if (Ft(h)) {
3679
- var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3656
+ if (Rt(h)) {
3657
+ var p = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3680
3658
  s.push({
3681
3659
  type: H.literal,
3682
3660
  value: r.getDateTimeFormat(t, p).format(f)
3683
3661
  });
3684
3662
  continue;
3685
3663
  }
3686
- if (Dt(h)) {
3687
- var p = typeof h.style == "string" ? n.number[h.style] : Xt(h.style) ? h.style.parsedOptions : void 0;
3664
+ if (Mt(h)) {
3665
+ var p = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3688
3666
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3689
3667
  type: H.literal,
3690
3668
  value: r.getNumberFormat(t, p).format(f)
3691
3669
  });
3692
3670
  continue;
3693
3671
  }
3694
- if (Vt(h)) {
3672
+ if (Gt(h)) {
3695
3673
  var v = h.children, m = h.value, T = i[m];
3696
- if (!zn(T))
3697
- throw new Vn(m, "function", a);
3674
+ if (!Vn(T))
3675
+ throw new Fn(m, "function", a);
3698
3676
  var $ = me(v, t, r, n, i, o), A = T($.map(function(P) {
3699
3677
  return P.value;
3700
3678
  }));
@@ -3705,14 +3683,14 @@ function me(e, t, r, n, i, o, a) {
3705
3683
  };
3706
3684
  }));
3707
3685
  }
3708
- if (jt(h)) {
3686
+ if (Ut(h)) {
3709
3687
  var S = h.options[f] || h.options.other;
3710
3688
  if (!S)
3711
- throw new gt(h.value, f, Object.keys(h.options), a);
3689
+ throw new dt(h.value, f, Object.keys(h.options), a);
3712
3690
  s.push.apply(s, me(S.value, t, r, n, i));
3713
3691
  continue;
3714
3692
  }
3715
- if (kt(h)) {
3693
+ if (Dt(h)) {
3716
3694
  var S = h.options["=".concat(f)];
3717
3695
  if (!S) {
3718
3696
  if (!Intl.PluralRules)
@@ -3723,24 +3701,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3723
3701
  S = h.options[R] || h.options.other;
3724
3702
  }
3725
3703
  if (!S)
3726
- throw new gt(h.value, f, Object.keys(h.options), a);
3704
+ throw new dt(h.value, f, Object.keys(h.options), a);
3727
3705
  s.push.apply(s, me(S.value, t, r, n, i, f - (h.offset || 0)));
3728
3706
  continue;
3729
3707
  }
3730
3708
  }
3731
- return Wn(s);
3709
+ return kn(s);
3732
3710
  }
3733
- function Zn(e, t) {
3711
+ function Xn(e, t) {
3734
3712
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3735
3713
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3736
3714
  }, {})) : e;
3737
3715
  }
3738
- function qn(e, t) {
3716
+ function Wn(e, t) {
3739
3717
  return t ? Object.keys(e).reduce(function(r, n) {
3740
- return r[n] = Zn(e[n], t[n]), r;
3718
+ return r[n] = Xn(e[n], t[n]), r;
3741
3719
  }, y({}, e)) : e;
3742
3720
  }
3743
- function Pe(e) {
3721
+ function Ae(e) {
3744
3722
  return {
3745
3723
  create: function() {
3746
3724
  return {
@@ -3754,39 +3732,39 @@ function Pe(e) {
3754
3732
  }
3755
3733
  };
3756
3734
  }
3757
- function Qn(e) {
3735
+ function zn(e) {
3758
3736
  return e === void 0 && (e = {
3759
3737
  number: {},
3760
3738
  dateTime: {},
3761
3739
  pluralRules: {}
3762
3740
  }), {
3763
- getNumberFormat: we(function() {
3741
+ getNumberFormat: Se(function() {
3764
3742
  for (var t, r = [], n = 0; n < arguments.length; n++)
3765
3743
  r[n] = arguments[n];
3766
3744
  return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3767
3745
  }, {
3768
- cache: Pe(e.number),
3769
- strategy: Be.variadic
3746
+ cache: Ae(e.number),
3747
+ strategy: we.variadic
3770
3748
  }),
3771
- getDateTimeFormat: we(function() {
3749
+ getDateTimeFormat: Se(function() {
3772
3750
  for (var t, r = [], n = 0; n < arguments.length; n++)
3773
3751
  r[n] = arguments[n];
3774
3752
  return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3775
3753
  }, {
3776
- cache: Pe(e.dateTime),
3777
- strategy: Be.variadic
3754
+ cache: Ae(e.dateTime),
3755
+ strategy: we.variadic
3778
3756
  }),
3779
- getPluralRules: we(function() {
3757
+ getPluralRules: Se(function() {
3780
3758
  for (var t, r = [], n = 0; n < arguments.length; n++)
3781
3759
  r[n] = arguments[n];
3782
3760
  return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3783
3761
  }, {
3784
- cache: Pe(e.pluralRules),
3785
- strategy: Be.variadic
3762
+ cache: Ae(e.pluralRules),
3763
+ strategy: we.variadic
3786
3764
  })
3787
3765
  };
3788
3766
  }
3789
- var Jn = (
3767
+ var Zn = (
3790
3768
  /** @class */
3791
3769
  function() {
3792
3770
  function e(t, r, n, i) {
@@ -3818,13 +3796,13 @@ var Jn = (
3818
3796
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3819
3797
  var a = i || {};
3820
3798
  a.formatters;
3821
- var s = Pr(a, ["formatters"]);
3799
+ var s = Sr(a, ["formatters"]);
3822
3800
  this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
3823
3801
  } else
3824
3802
  this.ast = t;
3825
3803
  if (!Array.isArray(this.ast))
3826
3804
  throw new TypeError("A message must be provided as a String or AST.");
3827
- this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Qn(this.formatterCache);
3805
+ this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || zn(this.formatterCache);
3828
3806
  }
3829
3807
  return Object.defineProperty(e, "defaultLocale", {
3830
3808
  get: function() {
@@ -3837,7 +3815,7 @@ var Jn = (
3837
3815
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3838
3816
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3839
3817
  }
3840
- }, e.__parse = kn, e.formats = {
3818
+ }, e.__parse = Gn, e.formats = {
3841
3819
  number: {
3842
3820
  integer: {
3843
3821
  maximumFractionDigits: 0
@@ -3898,7 +3876,7 @@ var Jn = (
3898
3876
  }, e;
3899
3877
  }()
3900
3878
  );
3901
- function Yn(e, t) {
3879
+ function qn(e, t) {
3902
3880
  if (t == null)
3903
3881
  return;
3904
3882
  if (t in e)
@@ -3919,92 +3897,92 @@ function Yn(e, t) {
3919
3897
  n = void 0;
3920
3898
  return n;
3921
3899
  }
3922
- const M = {}, Kn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Kt = (e, t) => {
3900
+ const M = {}, Qn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), qt = (e, t) => {
3923
3901
  if (t == null)
3924
3902
  return;
3925
3903
  if (t in M && e in M[t])
3926
3904
  return M[t][e];
3927
3905
  const r = Ee(t);
3928
3906
  for (let n = 0; n < r.length; n++) {
3929
- const i = r[n], o = ti(i, e);
3907
+ const i = r[n], o = Yn(i, e);
3930
3908
  if (o)
3931
- return Kn(e, t, o);
3909
+ return Qn(e, t, o);
3932
3910
  }
3933
3911
  };
3934
- let Ye;
3912
+ let qe;
3935
3913
  const ue = ve({});
3936
- function ei(e) {
3937
- return Ye[e] || null;
3914
+ function Jn(e) {
3915
+ return qe[e] || null;
3938
3916
  }
3939
- function er(e) {
3940
- return e in Ye;
3917
+ function Qt(e) {
3918
+ return e in qe;
3941
3919
  }
3942
- function ti(e, t) {
3943
- if (!er(e))
3920
+ function Yn(e, t) {
3921
+ if (!Qt(e))
3944
3922
  return null;
3945
- const r = ei(e);
3946
- return Yn(r, t);
3923
+ const r = Jn(e);
3924
+ return qn(r, t);
3947
3925
  }
3948
- function ri(e) {
3926
+ function Kn(e) {
3949
3927
  if (e == null)
3950
3928
  return;
3951
3929
  const t = Ee(e);
3952
3930
  for (let r = 0; r < t.length; r++) {
3953
3931
  const n = t[r];
3954
- if (er(n))
3932
+ if (Qt(n))
3955
3933
  return n;
3956
3934
  }
3957
3935
  }
3958
- function tr(e, ...t) {
3959
- delete M[e], ue.update((r) => (r[e] = an.all([r[e] || {}, ...t]), r));
3936
+ function Jt(e, ...t) {
3937
+ delete M[e], ue.update((r) => (r[e] = rn.all([r[e] || {}, ...t]), r));
3960
3938
  }
3961
3939
  J(
3962
3940
  [ue],
3963
3941
  ([e]) => Object.keys(e)
3964
3942
  );
3965
- ue.subscribe((e) => Ye = e);
3943
+ ue.subscribe((e) => qe = e);
3966
3944
  const de = {};
3967
- function ni(e, t) {
3945
+ function ei(e, t) {
3968
3946
  de[e].delete(t), de[e].size === 0 && delete de[e];
3969
3947
  }
3970
- function rr(e) {
3948
+ function Yt(e) {
3971
3949
  return de[e];
3972
3950
  }
3973
- function ii(e) {
3951
+ function ti(e) {
3974
3952
  return Ee(e).map((t) => {
3975
- const r = rr(t);
3953
+ const r = Yt(t);
3976
3954
  return [t, r ? [...r] : []];
3977
3955
  }).filter(([, t]) => t.length > 0);
3978
3956
  }
3979
- function We(e) {
3957
+ function Xe(e) {
3980
3958
  return e == null ? !1 : Ee(e).some(
3981
3959
  (t) => {
3982
3960
  var r;
3983
- return (r = rr(t)) == null ? void 0 : r.size;
3961
+ return (r = Yt(t)) == null ? void 0 : r.size;
3984
3962
  }
3985
3963
  );
3986
3964
  }
3987
- function oi(e, t) {
3965
+ function ri(e, t) {
3988
3966
  return Promise.all(
3989
- t.map((n) => (ni(e, n), n().then((i) => i.default || i)))
3990
- ).then((n) => tr(e, ...n));
3967
+ t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
3968
+ ).then((n) => Jt(e, ...n));
3991
3969
  }
3992
3970
  const ee = {};
3993
- function nr(e) {
3994
- if (!We(e))
3971
+ function Kt(e) {
3972
+ if (!Xe(e))
3995
3973
  return e in ee ? ee[e] : Promise.resolve();
3996
- const t = ii(e);
3974
+ const t = ti(e);
3997
3975
  return ee[e] = Promise.all(
3998
3976
  t.map(
3999
- ([r, n]) => oi(r, n)
3977
+ ([r, n]) => ri(r, n)
4000
3978
  )
4001
3979
  ).then(() => {
4002
- if (We(e))
4003
- return nr(e);
3980
+ if (Xe(e))
3981
+ return Kt(e);
4004
3982
  delete ee[e];
4005
3983
  }), ee[e];
4006
3984
  }
4007
- const si = {
3985
+ const ni = {
4008
3986
  number: {
4009
3987
  scientific: { notation: "scientific" },
4010
3988
  engineering: { notation: "engineering" },
@@ -4033,57 +4011,57 @@ const si = {
4033
4011
  timeZoneName: "short"
4034
4012
  }
4035
4013
  }
4036
- }, ai = {
4014
+ }, ii = {
4037
4015
  fallbackLocale: null,
4038
4016
  loadingDelay: 200,
4039
- formats: si,
4017
+ formats: ni,
4040
4018
  warnOnMissingMessages: !0,
4041
4019
  handleMissingMessage: void 0,
4042
4020
  ignoreTag: !0
4043
- }, ui = ai;
4021
+ }, oi = ii;
4044
4022
  function q() {
4045
- return ui;
4023
+ return oi;
4046
4024
  }
4047
- const Oe = ve(!1);
4048
- var hi = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, fi = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mi = (e, t) => {
4025
+ const Pe = ve(!1);
4026
+ var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ci = (e, t) => {
4049
4027
  for (var r in t || (t = {}))
4050
- fi.call(t, r) && _t(e, r, t[r]);
4051
- if (vt)
4052
- for (var r of vt(t))
4053
- pi.call(t, r) && _t(e, r, t[r]);
4028
+ hi.call(t, r) && yt(e, r, t[r]);
4029
+ if (bt)
4030
+ for (var r of bt(t))
4031
+ li.call(t, r) && yt(e, r, t[r]);
4054
4032
  return e;
4055
- }, di = (e, t) => li(e, ci(t));
4056
- let ze;
4033
+ }, fi = (e, t) => ai(e, ui(t));
4034
+ let We;
4057
4035
  const be = ve(null);
4058
- function Et(e) {
4036
+ function gt(e) {
4059
4037
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4060
4038
  }
4061
4039
  function Ee(e, t = q().fallbackLocale) {
4062
- const r = Et(e);
4063
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4040
+ const r = gt(e);
4041
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
4064
4042
  }
4065
4043
  function U() {
4066
- return ze ?? void 0;
4044
+ return We ?? void 0;
4067
4045
  }
4068
4046
  be.subscribe((e) => {
4069
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4047
+ We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4070
4048
  });
4071
- const bi = (e) => {
4072
- if (e && ri(e) && We(e)) {
4049
+ const pi = (e) => {
4050
+ if (e && Kn(e) && Xe(e)) {
4073
4051
  const { loadingDelay: t } = q();
4074
4052
  let r;
4075
4053
  return typeof window < "u" && U() != null && t ? r = window.setTimeout(
4076
- () => Oe.set(!0),
4054
+ () => Pe.set(!0),
4077
4055
  t
4078
- ) : Oe.set(!0), nr(e).then(() => {
4056
+ ) : Pe.set(!0), Kt(e).then(() => {
4079
4057
  be.set(e);
4080
4058
  }).finally(() => {
4081
- clearTimeout(r), Oe.set(!1);
4059
+ clearTimeout(r), Pe.set(!1);
4082
4060
  });
4083
4061
  }
4084
4062
  return be.set(e);
4085
- }, Y = di(mi({}, be), {
4086
- set: bi
4063
+ }, Y = fi(ci({}, be), {
4064
+ set: pi
4087
4065
  }), xe = (e) => {
4088
4066
  const t = /* @__PURE__ */ Object.create(null);
4089
4067
  return (n) => {
@@ -4091,20 +4069,20 @@ const bi = (e) => {
4091
4069
  return i in t ? t[i] : t[i] = e(n);
4092
4070
  };
4093
4071
  };
4094
- var yi = Object.defineProperty, ye = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4072
+ var mi = Object.defineProperty, ye = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4095
4073
  for (var r in t || (t = {}))
4096
- ir.call(t, r) && xt(e, r, t[r]);
4074
+ er.call(t, r) && vt(e, r, t[r]);
4097
4075
  if (ye)
4098
4076
  for (var r of ye(t))
4099
- or.call(t, r) && xt(e, r, t[r]);
4077
+ tr.call(t, r) && vt(e, r, t[r]);
4100
4078
  return e;
4101
4079
  }, K = (e, t) => {
4102
4080
  var r = {};
4103
4081
  for (var n in e)
4104
- ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4082
+ er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4105
4083
  if (e != null && ye)
4106
4084
  for (var n of ye(e))
4107
- t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
4085
+ t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
4108
4086
  return r;
4109
4087
  };
4110
4088
  const oe = (e, t) => {
@@ -4112,21 +4090,21 @@ const oe = (e, t) => {
4112
4090
  if (e in r && t in r[e])
4113
4091
  return r[e][t];
4114
4092
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4115
- }, gi = xe(
4093
+ }, di = xe(
4116
4094
  (e) => {
4117
4095
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4118
4096
  if (r == null)
4119
4097
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4120
4098
  return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4121
4099
  }
4122
- ), vi = xe(
4100
+ ), bi = xe(
4123
4101
  (e) => {
4124
4102
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4125
4103
  if (r == null)
4126
4104
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4127
4105
  return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4128
4106
  }
4129
- ), _i = xe(
4107
+ ), yi = xe(
4130
4108
  (e) => {
4131
4109
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4132
4110
  if (r == null)
@@ -4135,33 +4113,33 @@ const oe = (e, t) => {
4135
4113
  );
4136
4114
  return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4137
4115
  }
4138
- ), Ei = (e = {}) => {
4116
+ ), gi = (e = {}) => {
4139
4117
  var t = e, {
4140
4118
  locale: r = U()
4141
4119
  } = t, n = K(t, [
4142
4120
  "locale"
4143
4121
  ]);
4144
- return gi(Ke({ locale: r }, n));
4145
- }, xi = (e = {}) => {
4122
+ return di(Qe({ locale: r }, n));
4123
+ }, vi = (e = {}) => {
4146
4124
  var t = e, {
4147
4125
  locale: r = U()
4148
4126
  } = t, n = K(t, [
4149
4127
  "locale"
4150
4128
  ]);
4151
- return vi(Ke({ locale: r }, n));
4152
- }, Ti = (e = {}) => {
4129
+ return bi(Qe({ locale: r }, n));
4130
+ }, _i = (e = {}) => {
4153
4131
  var t = e, {
4154
4132
  locale: r = U()
4155
4133
  } = t, n = K(t, [
4156
4134
  "locale"
4157
4135
  ]);
4158
- return _i(Ke({ locale: r }, n));
4159
- }, Hi = xe(
4136
+ return yi(Qe({ locale: r }, n));
4137
+ }, Ei = xe(
4160
4138
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4161
- (e, t = U()) => new Jn(e, t, q().formats, {
4139
+ (e, t = U()) => new Zn(e, t, q().formats, {
4162
4140
  ignoreTag: q().ignoreTag
4163
4141
  })
4164
- ), Si = (e, t = {}) => {
4142
+ ), xi = (e, t = {}) => {
4165
4143
  var r, n, i, o;
4166
4144
  let a = t;
4167
4145
  typeof e == "object" && (a = e, e = a.id);
@@ -4174,7 +4152,7 @@ const oe = (e, t) => {
4174
4152
  throw new Error(
4175
4153
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4176
4154
  );
4177
- let h = Kt(e, l);
4155
+ let h = qt(e, l);
4178
4156
  if (!h)
4179
4157
  h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4180
4158
  else if (typeof h != "string")
@@ -4185,7 +4163,7 @@ const oe = (e, t) => {
4185
4163
  return h;
4186
4164
  let c = h;
4187
4165
  try {
4188
- c = Hi(h, l).format(s);
4166
+ c = Ei(h, l).format(s);
4189
4167
  } catch (f) {
4190
4168
  f instanceof Error && console.warn(
4191
4169
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4193,20 +4171,20 @@ const oe = (e, t) => {
4193
4171
  );
4194
4172
  }
4195
4173
  return c;
4196
- }, wi = (e, t) => Ti(t).format(e), Bi = (e, t) => xi(t).format(e), Ai = (e, t) => Ei(t).format(e), Pi = (e, t = U()) => Kt(e, t), Oi = J([Y, ue], () => Si);
4197
- J([Y], () => wi);
4198
- J([Y], () => Bi);
4199
- J([Y], () => Ai);
4200
- J([Y, ue], () => Pi);
4201
- window.emWidgets = { topic: kr };
4202
- const Ii = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4203
- function Tt(e, t) {
4204
- tr(e, t);
4205
- }
4206
- function Ni(e) {
4174
+ }, Ti = (e, t) => _i(t).format(e), Hi = (e, t) => vi(t).format(e), Si = (e, t) => gi(t).format(e), wi = (e, t = U()) => qt(e, t), Bi = J([Y, ue], () => xi);
4175
+ J([Y], () => Ti);
4176
+ J([Y], () => Hi);
4177
+ J([Y], () => Si);
4178
+ J([Y, ue], () => wi);
4179
+ window.emWidgets = { topic: Dr };
4180
+ const Ai = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4181
+ function _t(e, t) {
4182
+ Jt(e, t);
4183
+ }
4184
+ function Pi(e) {
4207
4185
  Y.set(e);
4208
4186
  }
4209
- const Ht = {
4187
+ const Et = {
4210
4188
  en: {
4211
4189
  titleTransactionHistory: "Transaction History",
4212
4190
  loading: "Loading, please wait ..."
@@ -4248,13 +4226,13 @@ const Ht = {
4248
4226
  loading: "Loading, please wait ..."
4249
4227
  }
4250
4228
  };
4251
- function Li(e, t) {
4229
+ function Oi(e, t) {
4252
4230
  if (e) {
4253
4231
  const r = document.createElement("style");
4254
4232
  r.innerHTML = t, e.appendChild(r);
4255
4233
  }
4256
4234
  }
4257
- function Ci(e, t) {
4235
+ function Ii(e, t) {
4258
4236
  const r = new URL(t);
4259
4237
  fetch(r.href).then((n) => n.text()).then((n) => {
4260
4238
  const i = document.createElement("style");
@@ -4263,7 +4241,7 @@ function Ci(e, t) {
4263
4241
  console.error("There was an error while trying to load client styling from URL", n);
4264
4242
  });
4265
4243
  }
4266
- function Mi(e, t, r) {
4244
+ function Ni(e, t, r) {
4267
4245
  if (window.emMessageBus) {
4268
4246
  const n = document.createElement("style");
4269
4247
  window.emMessageBus.subscribe(t, (i) => {
@@ -4271,20 +4249,20 @@ function Mi(e, t, r) {
4271
4249
  });
4272
4250
  }
4273
4251
  }
4274
- function $i(e) {
4275
- ur(e, "svelte-1oqxq1j", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TransactionHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
4252
+ function Li(e) {
4253
+ ir(e, "svelte-1oqxq1j", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TransactionHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
4276
4254
  }
4277
- function Ri(e) {
4255
+ function Ci(e) {
4278
4256
  let t, r, n, i, o, a, s, l, u, h, c = (
4279
4257
  /*$_*/
4280
4258
  e[3]("titleTransactionHistory") + ""
4281
4259
  ), f, p, v;
4282
4260
  return {
4283
4261
  c() {
4284
- t = I("div"), r = G("svg"), n = G("defs"), i = G("style"), o = re(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = G("g"), s = G("g"), l = G("path"), u = Ie(), h = I("h2"), f = re(c), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(s, "transform", "translate(20 158)"), E(a, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(h, "class", "TransactionHistoryTitleMobile"), E(t, "class", "MenuReturnButton");
4262
+ t = I("div"), r = G("svg"), n = G("defs"), i = G("style"), o = re(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = G("g"), s = G("g"), l = G("path"), u = Oe(), h = I("h2"), f = re(c), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(s, "transform", "translate(20 158)"), E(a, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(h, "class", "TransactionHistoryTitleMobile"), E(t, "class", "MenuReturnButton");
4285
4263
  },
4286
4264
  m(m, T) {
4287
- ae(m, t, T), x(t, r), x(r, n), x(n, i), x(i, o), x(r, a), x(a, s), x(s, l), x(t, u), x(t, h), x(h, f), p || (v = cr(
4265
+ ae(m, t, T), x(t, r), x(r, n), x(n, i), x(i, o), x(r, a), x(a, s), x(s, l), x(t, u), x(t, h), x(h, f), p || (v = ar(
4288
4266
  t,
4289
4267
  "click",
4290
4268
  /*click_handler*/
@@ -4294,18 +4272,18 @@ function Ri(e) {
4294
4272
  p(m, T) {
4295
4273
  T & /*$_*/
4296
4274
  8 && c !== (c = /*$_*/
4297
- m[3]("titleTransactionHistory") + "") && qe(f, c);
4275
+ m[3]("titleTransactionHistory") + "") && Ze(f, c);
4298
4276
  },
4299
4277
  d(m) {
4300
4278
  m && Q(t), p = !1, v();
4301
4279
  }
4302
4280
  };
4303
4281
  }
4304
- function Ui(e) {
4282
+ function Mi(e) {
4305
4283
  let t, r, n;
4306
4284
  return {
4307
4285
  c() {
4308
- t = I("div"), r = I("iframe"), tt(r.src, n = /*iframeUrl*/
4286
+ t = I("div"), r = I("iframe"), Ye(r.src, n = /*iframeUrl*/
4309
4287
  e[2]) || E(r, "src", n), E(r, "title", "Transaction History Iframe"), E(t, "class", "TransactionHistoryIframeWrapper");
4310
4288
  },
4311
4289
  m(i, o) {
@@ -4313,7 +4291,7 @@ function Ui(e) {
4313
4291
  },
4314
4292
  p(i, o) {
4315
4293
  o & /*iframeUrl*/
4316
- 4 && !tt(r.src, n = /*iframeUrl*/
4294
+ 4 && !Ye(r.src, n = /*iframeUrl*/
4317
4295
  i[2]) && E(r, "src", n);
4318
4296
  },
4319
4297
  d(i) {
@@ -4321,7 +4299,7 @@ function Ui(e) {
4321
4299
  }
4322
4300
  };
4323
4301
  }
4324
- function Di(e) {
4302
+ function $i(e) {
4325
4303
  let t, r = (
4326
4304
  /*$_*/
4327
4305
  e[3]("loading") + ""
@@ -4336,31 +4314,31 @@ function Di(e) {
4336
4314
  p(i, o) {
4337
4315
  o & /*$_*/
4338
4316
  8 && r !== (r = /*$_*/
4339
- i[3]("loading") + "") && qe(n, r);
4317
+ i[3]("loading") + "") && Ze(n, r);
4340
4318
  },
4341
4319
  d(i) {
4342
4320
  i && Q(t);
4343
4321
  }
4344
4322
  };
4345
4323
  }
4346
- function Gi(e) {
4324
+ function Ri(e) {
4347
4325
  let t, r, n, i = (
4348
4326
  /*$_*/
4349
4327
  e[3]("titleTransactionHistory") + ""
4350
4328
  ), o, a, s = (
4351
4329
  /*isMobile*/
4352
- e[4] && Ri(e)
4330
+ e[4] && Ci(e)
4353
4331
  );
4354
4332
  function l(c, f) {
4355
4333
  return (
4356
4334
  /*isLoading*/
4357
- c[1] ? Di : Ui
4335
+ c[1] ? $i : Mi
4358
4336
  );
4359
4337
  }
4360
4338
  let u = l(e), h = u(e);
4361
4339
  return {
4362
4340
  c() {
4363
- t = I("div"), s && s.c(), r = Ie(), n = I("h2"), o = re(i), a = Ie(), h.c(), E(n, "class", "TransactionHistoryTitle " + /*isMobile*/
4341
+ t = I("div"), s && s.c(), r = Oe(), n = I("h2"), o = re(i), a = Oe(), h.c(), E(n, "class", "TransactionHistoryTitle " + /*isMobile*/
4364
4342
  (e[4] ? "TransactionHistoryTitleNone" : "")), E(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
4365
4343
  (e[4] ? "TransactionHistoryWrapperMobile" : ""));
4366
4344
  },
@@ -4371,7 +4349,7 @@ function Gi(e) {
4371
4349
  /*isMobile*/
4372
4350
  c[4] && s.p(c, f), f & /*$_*/
4373
4351
  8 && i !== (i = /*$_*/
4374
- c[3]("titleTransactionHistory") + "") && qe(o, i), u === (u = l(c)) && h ? h.p(c, f) : (h.d(1), h = u(c), h && (h.c(), h.m(t, null)));
4352
+ c[3]("titleTransactionHistory") + "") && Ze(o, i), u === (u = l(c)) && h ? h.p(c, f) : (h.d(1), h = u(c), h && (h.c(), h.m(t, null)));
4375
4353
  },
4376
4354
  i: w,
4377
4355
  o: w,
@@ -4380,21 +4358,21 @@ function Gi(e) {
4380
4358
  }
4381
4359
  };
4382
4360
  }
4383
- function Fi(e, t, r) {
4361
+ function Ui(e, t, r) {
4384
4362
  let n;
4385
- ar(e, Oi, (g) => r(3, n = g));
4386
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: h } = t, { translationurl: c = "" } = t, f, p = window.navigator.userAgent, v = Ii(p) !== "PC", m = !0, T = "";
4363
+ nr(e, Bi, (g) => r(3, n = g));
4364
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: h } = t, { translationurl: c = "" } = t, f, p = window.navigator.userAgent, v = Ai(p) !== "PC", m = !0, T = "";
4387
4365
  const $ = () => {
4388
4366
  fetch(c).then((L) => L.json()).then((L) => {
4389
4367
  Object.keys(L).forEach((C) => {
4390
- Tt(C, L[C]);
4368
+ _t(C, L[C]);
4391
4369
  });
4392
4370
  }).catch((L) => {
4393
4371
  console.log(L);
4394
4372
  });
4395
4373
  };
4396
- Object.keys(Ht).forEach((g) => {
4397
- Tt(g, Ht[g]);
4374
+ Object.keys(Et).forEach((g) => {
4375
+ _t(g, Et[g]);
4398
4376
  });
4399
4377
  const A = () => {
4400
4378
  window.postMessage(
@@ -4423,13 +4401,13 @@ function Fi(e, t, r) {
4423
4401
  }
4424
4402
  );
4425
4403
  }, R = () => {
4426
- Ni(s);
4404
+ Pi(s);
4427
4405
  };
4428
- dr(() => () => {
4406
+ cr(() => () => {
4429
4407
  });
4430
4408
  const P = () => A();
4431
4409
  function D(g) {
4432
- Ne[g ? "unshift" : "push"](() => {
4410
+ Ie[g ? "unshift" : "push"](() => {
4433
4411
  f = g, r(0, f);
4434
4412
  });
4435
4413
  }
@@ -4439,9 +4417,9 @@ function Fi(e, t, r) {
4439
4417
  e.$$.dirty & /*lang*/
4440
4418
  512 && s && R(), e.$$.dirty & /*session, playerid, endpoint, lang*/
4441
4419
  960 && o && a && i && s && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4442
- 1025 && l && f && Li(f, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4443
- 2049 && u && f && Ci(f, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4444
- 4097 && h && f && Mi(f, `${h}.Style`), e.$$.dirty & /*translationurl*/
4420
+ 1025 && l && f && Oi(f, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4421
+ 2049 && u && f && Ii(f, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4422
+ 4097 && h && f && Ni(f, `${h}.Style`), e.$$.dirty & /*translationurl*/
4445
4423
  8192 && c && $();
4446
4424
  }, [
4447
4425
  f,
@@ -4462,14 +4440,14 @@ function Fi(e, t, r) {
4462
4440
  D
4463
4441
  ];
4464
4442
  }
4465
- class ji extends Br {
4443
+ class Di extends Tr {
4466
4444
  constructor(t) {
4467
- super(), Sr(
4445
+ super(), Er(
4468
4446
  this,
4469
4447
  t,
4470
- Fi,
4471
- Gi,
4472
- wt,
4448
+ Ui,
4449
+ Ri,
4450
+ Tt,
4473
4451
  {
4474
4452
  endpoint: 6,
4475
4453
  session: 7,
@@ -4480,7 +4458,7 @@ class ji extends Br {
4480
4458
  mbsource: 12,
4481
4459
  translationurl: 13
4482
4460
  },
4483
- $i
4461
+ Li
4484
4462
  );
4485
4463
  }
4486
4464
  get endpoint() {
@@ -4532,7 +4510,7 @@ class ji extends Br {
4532
4510
  this.$$set({ translationurl: t }), B();
4533
4511
  }
4534
4512
  }
4535
- wr(ji, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4513
+ xr(Di, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4536
4514
  export {
4537
- ji as P
4515
+ Di as P
4538
4516
  };