@everymatrix/general-logout 1.54.4 → 1.54.8

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,21 +1,21 @@
1
1
  function A() {
2
2
  }
3
- function xt(e) {
3
+ function vt(e) {
4
4
  return e();
5
5
  }
6
- function Je() {
6
+ function Qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ie(e) {
10
- e.forEach(xt);
10
+ e.forEach(vt);
11
11
  }
12
12
  function Xe(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Et(e, t) {
15
+ function xt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function ir(e) {
18
+ function nr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
21
  function _t(e, ...t) {
@@ -27,20 +27,20 @@ function _t(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function or(e, t, r) {
30
+ function ir(e, t, r) {
31
31
  e.$$.on_destroy.push(_t(t, r));
32
32
  }
33
- function _(e, t) {
33
+ function E(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function sr(e, t, r) {
37
- const n = ar(e);
36
+ function or(e, t, r) {
37
+ const n = sr(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = I("style");
40
- i.id = t, i.textContent = r, ur(n, i);
40
+ i.id = t, i.textContent = r, ar(n, i);
41
41
  }
42
42
  }
43
- function ar(e) {
43
+ function sr(e) {
44
44
  if (!e) return document;
45
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
46
  return t && /** @type {ShadowRoot} */
@@ -49,8 +49,8 @@ function ar(e) {
49
49
  t
50
50
  ) : e.ownerDocument;
51
51
  }
52
- function ur(e, t) {
53
- return _(
52
+ function ar(e, t) {
53
+ return E(
54
54
  /** @type {Document} */
55
55
  e.head || e,
56
56
  t
@@ -71,26 +71,26 @@ function K(e) {
71
71
  function be(e) {
72
72
  return document.createTextNode(e);
73
73
  }
74
- function hr() {
74
+ function ur() {
75
75
  return be(" ");
76
76
  }
77
- function St(e, t, r, n) {
77
+ function Et(e, t, r, n) {
78
78
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
79
79
  }
80
80
  function T(e, t, r) {
81
81
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
82
82
  }
83
- function lr(e) {
83
+ function hr(e) {
84
84
  return Array.from(e.childNodes);
85
85
  }
86
- function Tt(e, t) {
86
+ function St(e, t) {
87
87
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
88
88
  t);
89
89
  }
90
- function fr(e, t, r, n) {
90
+ function lr(e, t, r, n) {
91
91
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
92
92
  }
93
- function cr(e) {
93
+ function fr(e) {
94
94
  const t = {};
95
95
  return e.childNodes.forEach(
96
96
  /** @param {Element} node */
@@ -105,67 +105,67 @@ function te(e) {
105
105
  }
106
106
  const j = [], Pe = [];
107
107
  let k = [];
108
- const Ye = [], dr = /* @__PURE__ */ Promise.resolve();
108
+ const Je = [], cr = /* @__PURE__ */ Promise.resolve();
109
109
  let Oe = !1;
110
110
  function pr() {
111
- Oe || (Oe = !0, dr.then(O));
111
+ Oe || (Oe = !0, cr.then(O));
112
112
  }
113
113
  function Ie(e) {
114
114
  k.push(e);
115
115
  }
116
- const _e = /* @__PURE__ */ new Set();
117
- let G = 0;
116
+ const Ee = /* @__PURE__ */ new Set();
117
+ let D = 0;
118
118
  function O() {
119
- if (G !== 0)
119
+ if (D !== 0)
120
120
  return;
121
121
  const e = We;
122
122
  do {
123
123
  try {
124
- for (; G < j.length; ) {
125
- const t = j[G];
126
- G++, te(t), mr(t.$$);
124
+ for (; D < j.length; ) {
125
+ const t = j[D];
126
+ D++, te(t), dr(t.$$);
127
127
  }
128
128
  } catch (t) {
129
- throw j.length = 0, G = 0, t;
129
+ throw j.length = 0, D = 0, t;
130
130
  }
131
- for (te(null), j.length = 0, G = 0; Pe.length; ) Pe.pop()();
131
+ for (te(null), j.length = 0, D = 0; Pe.length; ) Pe.pop()();
132
132
  for (let t = 0; t < k.length; t += 1) {
133
133
  const r = k[t];
134
- _e.has(r) || (_e.add(r), r());
134
+ Ee.has(r) || (Ee.add(r), r());
135
135
  }
136
136
  k.length = 0;
137
137
  } while (j.length);
138
- for (; Ye.length; )
139
- Ye.pop()();
140
- Oe = !1, _e.clear(), te(e);
138
+ for (; Je.length; )
139
+ Je.pop()();
140
+ Oe = !1, Ee.clear(), te(e);
141
141
  }
142
- function mr(e) {
142
+ function dr(e) {
143
143
  if (e.fragment !== null) {
144
144
  e.update(), ie(e.before_update);
145
145
  const t = e.dirty;
146
146
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
147
147
  }
148
148
  }
149
- function br(e) {
149
+ function mr(e) {
150
150
  const t = [], r = [];
151
151
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
152
152
  }
153
- const gr = /* @__PURE__ */ new Set();
154
- function yr(e, t) {
155
- e && e.i && (gr.delete(e), e.i(t));
153
+ const br = /* @__PURE__ */ new Set();
154
+ function gr(e, t) {
155
+ e && e.i && (br.delete(e), e.i(t));
156
156
  }
157
- function vr(e, t, r) {
157
+ function yr(e, t, r) {
158
158
  const { fragment: n, after_update: i } = e.$$;
159
159
  n && n.m(t, r), Ie(() => {
160
- const o = e.$$.on_mount.map(xt).filter(Xe);
160
+ const o = e.$$.on_mount.map(vt).filter(Xe);
161
161
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
162
162
  }), i.forEach(Ie);
163
163
  }
164
- function xr(e, t) {
164
+ function vr(e, t) {
165
165
  const r = e.$$;
166
- r.fragment !== null && (br(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
166
+ r.fragment !== null && (mr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
167
167
  }
168
- function Er(e, t) {
168
+ function xr(e, t) {
169
169
  e.$$.dirty[0] === -1 && (j.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
170
170
  }
171
171
  function _r(e, t, r, n, i, o, s = null, a = [-1]) {
@@ -178,7 +178,7 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
178
178
  props: o,
179
179
  update: A,
180
180
  not_equal: i,
181
- bound: Je(),
181
+ bound: Qe(),
182
182
  // lifecycle
183
183
  on_mount: [],
184
184
  on_destroy: [],
@@ -187,28 +187,28 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
187
187
  after_update: [],
188
188
  context: new Map(t.context || (h ? h.$$.context : [])),
189
189
  // everything else
190
- callbacks: Je(),
190
+ callbacks: Qe(),
191
191
  dirty: a,
192
192
  skip_bound: !1,
193
193
  root: t.target || h.$$.root
194
194
  };
195
195
  s && s(u.root);
196
196
  let l = !1;
197
- if (u.ctx = r(e, t.props || {}, (c, f, ...d) => {
198
- const y = d.length ? d[0] : f;
199
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Er(e, c)), f;
200
- }), u.update(), l = !0, ie(u.before_update), u.fragment = n(u.ctx), t.target) {
197
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
198
+ const y = p.length ? p[0] : f;
199
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && xr(e, c)), f;
200
+ }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
201
201
  if (t.hydrate) {
202
- const c = lr(t.target);
202
+ const c = hr(t.target);
203
203
  u.fragment && u.fragment.l(c), c.forEach(Q);
204
204
  } else
205
205
  u.fragment && u.fragment.c();
206
- t.intro && yr(e.$$.fragment), vr(e, t.target, t.anchor), O();
206
+ t.intro && gr(e.$$.fragment), yr(e, t.target, t.anchor), O();
207
207
  }
208
208
  te(h);
209
209
  }
210
- let Ht;
211
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
210
+ let Tt;
211
+ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
212
212
  /** The Svelte component constructor */
213
213
  $$ctor;
214
214
  /** Slots */
@@ -267,7 +267,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
267
267
  };
268
268
  if (await Promise.resolve(), !this.$$cn || this.$$c)
269
269
  return;
270
- const t = {}, r = cr(this);
270
+ const t = {}, r = fr(this);
271
271
  for (const i of this.$$s)
272
272
  i in r && (t[i] = [e(i)]);
273
273
  for (const i of this.attributes) {
@@ -354,8 +354,8 @@ function le(e, t, r, n) {
354
354
  return t;
355
355
  }
356
356
  }
357
- function Sr(e, t, r, n, i, o) {
358
- let s = class extends Ht {
357
+ function Er(e, t, r, n, i, o) {
358
+ let s = class extends Tt {
359
359
  constructor() {
360
360
  super(e, r, i), this.$$p_d = t;
361
361
  }
@@ -383,7 +383,7 @@ function Sr(e, t, r, n, i, o) {
383
383
  }), e.element = /** @type {any} */
384
384
  s, s;
385
385
  }
386
- class Tr {
386
+ class Sr {
387
387
  /**
388
388
  * ### PRIVATE API
389
389
  *
@@ -402,7 +402,7 @@ class Tr {
402
402
  $$set = void 0;
403
403
  /** @returns {void} */
404
404
  $destroy() {
405
- xr(this, 1), this.$destroy = A;
405
+ vr(this, 1), this.$destroy = A;
406
406
  }
407
407
  /**
408
408
  * @template {Extract<keyof Events, string>} K
@@ -424,22 +424,22 @@ class Tr {
424
424
  * @returns {void}
425
425
  */
426
426
  $set(t) {
427
- this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
427
+ this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
428
428
  }
429
429
  }
430
- const Hr = "4";
431
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
432
- var Ne = function(e, t) {
433
- return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
430
+ const Tr = "4";
431
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tr);
432
+ var Le = function(e, t) {
433
+ return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
434
434
  r.__proto__ = n;
435
435
  } || function(r, n) {
436
436
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
437
- }, Ne(e, t);
437
+ }, Le(e, t);
438
438
  };
439
- function L(e, t) {
439
+ function N(e, t) {
440
440
  if (typeof t != "function" && t !== null)
441
441
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
442
- Ne(e, t);
442
+ Le(e, t);
443
443
  function r() {
444
444
  this.constructor = e;
445
445
  }
@@ -454,7 +454,7 @@ var g = function() {
454
454
  return t;
455
455
  }, g.apply(this, arguments);
456
456
  };
457
- function Br(e, t) {
457
+ function Hr(e, t) {
458
458
  var r = {};
459
459
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
460
460
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -462,7 +462,7 @@ function Br(e, t) {
462
462
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
463
463
  return r;
464
464
  }
465
- function Le(e) {
465
+ function Ne(e) {
466
466
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
467
467
  if (r) return r.call(e);
468
468
  if (e && typeof e.length == "number") return {
@@ -494,16 +494,16 @@ function V(e, t, r) {
494
494
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
495
495
  return e.concat(o || Array.prototype.slice.call(t));
496
496
  }
497
- function N(e) {
497
+ function L(e) {
498
498
  return typeof e == "function";
499
499
  }
500
- function Bt(e) {
500
+ function Ht(e) {
501
501
  var t = function(n) {
502
502
  Error.call(n), n.stack = new Error().stack;
503
503
  }, r = e(t);
504
504
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
505
505
  }
506
- var Se = Bt(function(e) {
506
+ var Se = Ht(function(e) {
507
507
  return function(r) {
508
508
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
509
509
  ` + r.map(function(n, i) {
@@ -530,7 +530,7 @@ var ge = function() {
530
530
  if (s)
531
531
  if (this._parentage = null, Array.isArray(s))
532
532
  try {
533
- for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
533
+ for (var a = Ne(s), h = a.next(); !h.done; h = a.next()) {
534
534
  var u = h.value;
535
535
  u.remove(this);
536
536
  }
@@ -546,7 +546,7 @@ var ge = function() {
546
546
  else
547
547
  s.remove(this);
548
548
  var l = this.initialTeardown;
549
- if (N(l))
549
+ if (L(l))
550
550
  try {
551
551
  l();
552
552
  } catch (v) {
@@ -556,10 +556,10 @@ var ge = function() {
556
556
  if (c) {
557
557
  this._finalizers = null;
558
558
  try {
559
- for (var f = Le(c), d = f.next(); !d.done; d = f.next()) {
560
- var y = d.value;
559
+ for (var f = Ne(c), p = f.next(); !p.done; p = f.next()) {
560
+ var y = p.value;
561
561
  try {
562
- qe(y);
562
+ Ye(y);
563
563
  } catch (v) {
564
564
  o = o ?? [], v instanceof Se ? o = V(V([], Me(o)), Me(v.errors)) : o.push(v);
565
565
  }
@@ -568,7 +568,7 @@ var ge = function() {
568
568
  n = { error: v };
569
569
  } finally {
570
570
  try {
571
- d && !d.done && (i = f.return) && i.call(f);
571
+ p && !p.done && (i = f.return) && i.call(f);
572
572
  } finally {
573
573
  if (n) throw n.error;
574
574
  }
@@ -581,7 +581,7 @@ var ge = function() {
581
581
  var r;
582
582
  if (t && t !== this)
583
583
  if (this.closed)
584
- qe(t);
584
+ Ye(t);
585
585
  else {
586
586
  if (t instanceof e) {
587
587
  if (t.closed || t._hasParent(this))
@@ -606,20 +606,16 @@ var ge = function() {
606
606
  var t = new e();
607
607
  return t.closed = !0, t;
608
608
  }(), e;
609
- }(), At = ge.EMPTY;
610
- function wt(e) {
611
- return e instanceof ge || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
612
- }
613
- function qe(e) {
614
- N(e) ? e() : e.unsubscribe();
615
- }
616
- var Ar = {
617
- onUnhandledError: null,
618
- onStoppedNotification: null,
619
- Promise: void 0,
620
- useDeprecatedSynchronousErrorHandling: !1,
621
- useDeprecatedNextContext: !1
622
- }, wr = {
609
+ }(), Bt = ge.EMPTY;
610
+ function At(e) {
611
+ return e instanceof ge || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
612
+ }
613
+ function Ye(e) {
614
+ L(e) ? e() : e.unsubscribe();
615
+ }
616
+ var Br = {
617
+ Promise: void 0
618
+ }, Ar = {
623
619
  setTimeout: function(e, t) {
624
620
  for (var r = [], n = 2; n < arguments.length; n++)
625
621
  r[n - 2] = arguments[n];
@@ -630,21 +626,21 @@ var Ar = {
630
626
  },
631
627
  delegate: void 0
632
628
  };
633
- function Pr(e) {
634
- wr.setTimeout(function() {
629
+ function wr(e) {
630
+ Ar.setTimeout(function() {
635
631
  throw e;
636
632
  });
637
633
  }
638
- function Ke() {
634
+ function qe() {
639
635
  }
640
636
  function fe(e) {
641
637
  e();
642
638
  }
643
- var Pt = function(e) {
644
- L(t, e);
639
+ var wt = function(e) {
640
+ N(t, e);
645
641
  function t(r) {
646
642
  var n = e.call(this) || this;
647
- return n.isStopped = !1, r ? (n.destination = r, wt(r) && r.add(n)) : n.destination = Nr, n;
643
+ return n.isStopped = !1, r ? (n.destination = r, At(r) && r.add(n)) : n.destination = Ir, n;
648
644
  }
649
645
  return t.create = function(r, n, i) {
650
646
  return new $e(r, n, i);
@@ -671,7 +667,7 @@ var Pt = function(e) {
671
667
  this.unsubscribe();
672
668
  }
673
669
  }, t;
674
- }(ge), Or = function() {
670
+ }(ge), Pr = function() {
675
671
  function e(t) {
676
672
  this.partialObserver = t;
677
673
  }
@@ -703,42 +699,42 @@ var Pt = function(e) {
703
699
  }
704
700
  }, e;
705
701
  }(), $e = function(e) {
706
- L(t, e);
702
+ N(t, e);
707
703
  function t(r, n, i) {
708
704
  var o = e.call(this) || this, s;
709
- return N(r) || !r ? s = {
705
+ return L(r) || !r ? s = {
710
706
  next: r ?? void 0,
711
707
  error: n ?? void 0,
712
708
  complete: i ?? void 0
713
- } : s = r, o.destination = new Or(s), o;
709
+ } : s = r, o.destination = new Pr(s), o;
714
710
  }
715
711
  return t;
716
- }(Pt);
712
+ }(wt);
717
713
  function ue(e) {
718
- Pr(e);
714
+ wr(e);
719
715
  }
720
- function Ir(e) {
716
+ function Or(e) {
721
717
  throw e;
722
718
  }
723
- var Nr = {
719
+ var Ir = {
724
720
  closed: !0,
725
- next: Ke,
726
- error: Ir,
727
- complete: Ke
721
+ next: qe,
722
+ error: Or,
723
+ complete: qe
728
724
  }, Lr = function() {
729
725
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
730
726
  }();
731
- function Mr(e) {
727
+ function Nr(e) {
732
728
  return e;
733
729
  }
734
- function Cr(e) {
735
- return e.length === 0 ? Mr : e.length === 1 ? e[0] : function(r) {
730
+ function Mr(e) {
731
+ return e.length === 0 ? Nr : e.length === 1 ? e[0] : function(r) {
736
732
  return e.reduce(function(n, i) {
737
733
  return i(n);
738
734
  }, r);
739
735
  };
740
736
  }
741
- var et = function() {
737
+ var Ke = function() {
742
738
  function e(t) {
743
739
  t && (this._subscribe = t);
744
740
  }
@@ -746,7 +742,7 @@ var et = function() {
746
742
  var r = new e();
747
743
  return r.source = this, r.operator = t, r;
748
744
  }, e.prototype.subscribe = function(t, r, n) {
749
- var i = this, o = Rr(t) ? t : new $e(t, r, n);
745
+ var i = this, o = $r(t) ? t : new $e(t, r, n);
750
746
  return fe(function() {
751
747
  var s = i, a = s.operator, h = s.source;
752
748
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -759,7 +755,7 @@ var et = function() {
759
755
  }
760
756
  }, e.prototype.forEach = function(t, r) {
761
757
  var n = this;
762
- return r = tt(r), new r(function(i, o) {
758
+ return r = et(r), new r(function(i, o) {
763
759
  var s = new $e({
764
760
  next: function(a) {
765
761
  try {
@@ -781,10 +777,10 @@ var et = function() {
781
777
  }, e.prototype.pipe = function() {
782
778
  for (var t = [], r = 0; r < arguments.length; r++)
783
779
  t[r] = arguments[r];
784
- return Cr(t)(this);
780
+ return Mr(t)(this);
785
781
  }, e.prototype.toPromise = function(t) {
786
782
  var r = this;
787
- return t = tt(t), new t(function(n, i) {
783
+ return t = et(t), new t(function(n, i) {
788
784
  var o;
789
785
  r.subscribe(function(s) {
790
786
  return o = s;
@@ -798,32 +794,32 @@ var et = function() {
798
794
  return new e(t);
799
795
  }, e;
800
796
  }();
801
- function tt(e) {
797
+ function et(e) {
802
798
  var t;
803
- return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
799
+ return (t = e ?? Br.Promise) !== null && t !== void 0 ? t : Promise;
804
800
  }
805
- function $r(e) {
806
- return e && N(e.next) && N(e.error) && N(e.complete);
801
+ function Cr(e) {
802
+ return e && L(e.next) && L(e.error) && L(e.complete);
807
803
  }
808
- function Rr(e) {
809
- return e && e instanceof Pt || $r(e) && wt(e);
804
+ function $r(e) {
805
+ return e && e instanceof wt || Cr(e) && At(e);
810
806
  }
811
- var Ur = Bt(function(e) {
807
+ var Rr = Ht(function(e) {
812
808
  return function() {
813
809
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
814
810
  };
815
- }), Ot = function(e) {
816
- L(t, e);
811
+ }), Pt = function(e) {
812
+ N(t, e);
817
813
  function t() {
818
814
  var r = e.call(this) || this;
819
815
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
820
816
  }
821
817
  return t.prototype.lift = function(r) {
822
- var n = new rt(this, this);
818
+ var n = new tt(this, this);
823
819
  return n.operator = r, n;
824
820
  }, t.prototype._throwIfClosed = function() {
825
821
  if (this.closed)
826
- throw new Ur();
822
+ throw new Rr();
827
823
  }, t.prototype.next = function(r) {
828
824
  var n = this;
829
825
  fe(function() {
@@ -831,7 +827,7 @@ var Ur = Bt(function(e) {
831
827
  if (n._throwIfClosed(), !n.isStopped) {
832
828
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
833
829
  try {
834
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
830
+ for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
835
831
  var h = a.value;
836
832
  h.next(r);
837
833
  }
@@ -879,20 +875,20 @@ var Ur = Bt(function(e) {
879
875
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
880
876
  }, t.prototype._innerSubscribe = function(r) {
881
877
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
882
- return o || s ? At : (this.currentObservers = null, a.push(r), new ge(function() {
878
+ return o || s ? Bt : (this.currentObservers = null, a.push(r), new ge(function() {
883
879
  n.currentObservers = null, Ce(a, r);
884
880
  }));
885
881
  }, t.prototype._checkFinalizedStatuses = function(r) {
886
882
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
887
883
  i ? r.error(o) : s && r.complete();
888
884
  }, t.prototype.asObservable = function() {
889
- var r = new et();
885
+ var r = new Ke();
890
886
  return r.source = this, r;
891
887
  }, t.create = function(r, n) {
892
- return new rt(r, n);
888
+ return new tt(r, n);
893
889
  }, t;
894
- }(et), rt = function(e) {
895
- L(t, e);
890
+ }(Ke), tt = function(e) {
891
+ N(t, e);
896
892
  function t(r, n) {
897
893
  var i = e.call(this) || this;
898
894
  return i.destination = r, i.source = n, i;
@@ -908,17 +904,17 @@ var Ur = Bt(function(e) {
908
904
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
909
905
  }, t.prototype._subscribe = function(r) {
910
906
  var n, i;
911
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
907
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Bt;
912
908
  }, t;
913
- }(Ot), It = {
909
+ }(Pt), Ot = {
914
910
  now: function() {
915
- return (It.delegate || Date).now();
911
+ return (Ot.delegate || Date).now();
916
912
  },
917
913
  delegate: void 0
918
- }, Dr = function(e) {
919
- L(t, e);
914
+ }, Ur = function(e) {
915
+ N(t, e);
920
916
  function t(r, n, i) {
921
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = It);
917
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
922
918
  var o = e.call(this) || this;
923
919
  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;
924
920
  }
@@ -938,15 +934,15 @@ var Ur = Bt(function(e) {
938
934
  u && o.splice(0, u + 1);
939
935
  }
940
936
  }, t;
941
- }(Ot);
942
- const nt = [], it = {}, Gr = (e, t = 0) => {
943
- if (nt.indexOf(e) == -1) {
944
- const r = new Dr(t);
945
- it[e] = r, nt.push(e);
937
+ }(Pt);
938
+ const rt = [], nt = {}, Gr = (e, t = 0) => {
939
+ if (rt.indexOf(e) == -1) {
940
+ const r = new Ur(t);
941
+ nt[e] = r, rt.push(e);
946
942
  }
947
- return it[e];
943
+ return nt[e];
948
944
  }, F = [];
949
- function Fr(e, t) {
945
+ function Dr(e, t) {
950
946
  return {
951
947
  subscribe: ye(e, t).subscribe
952
948
  };
@@ -955,7 +951,7 @@ function ye(e, t = A) {
955
951
  let r;
956
952
  const n = /* @__PURE__ */ new Set();
957
953
  function i(a) {
958
- if (Et(e, a) && (e = a, r)) {
954
+ if (xt(e, a) && (e = a, r)) {
959
955
  const h = !F.length;
960
956
  for (const u of n)
961
957
  u[1](), F.push(u, e);
@@ -982,7 +978,7 @@ function J(e, t, r) {
982
978
  if (!i.every(Boolean))
983
979
  throw new Error("derived() expects stores as input, got a falsy value");
984
980
  const o = t.length < 2;
985
- return Fr(r, (s, a) => {
981
+ return Dr(r, (s, a) => {
986
982
  let h = !1;
987
983
  const u = [];
988
984
  let l = 0, c = A;
@@ -992,7 +988,7 @@ function J(e, t, r) {
992
988
  c();
993
989
  const y = t(n ? u[0] : u, s, a);
994
990
  o ? s(y) : c = Xe(y) ? y : A;
995
- }, d = i.map(
991
+ }, p = i.map(
996
992
  (y, v) => _t(
997
993
  y,
998
994
  (H) => {
@@ -1004,74 +1000,74 @@ function J(e, t, r) {
1004
1000
  )
1005
1001
  );
1006
1002
  return h = !0, f(), function() {
1007
- ie(d), c(), h = !1;
1003
+ ie(p), c(), h = !1;
1008
1004
  };
1009
1005
  });
1010
1006
  }
1011
- function jr(e) {
1012
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1007
+ function Fr(e) {
1008
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1013
1009
  }
1014
- var kr = function(t) {
1015
- return Vr(t) && !Xr(t);
1010
+ var jr = function(t) {
1011
+ return kr(t) && !Vr(t);
1016
1012
  };
1017
- function Vr(e) {
1013
+ function kr(e) {
1018
1014
  return !!e && typeof e == "object";
1019
1015
  }
1020
- function Xr(e) {
1016
+ function Vr(e) {
1021
1017
  var t = Object.prototype.toString.call(e);
1022
- return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
1018
+ return t === "[object RegExp]" || t === "[object Date]" || zr(e);
1023
1019
  }
1024
- var Wr = typeof Symbol == "function" && Symbol.for, zr = Wr ? Symbol.for("react.element") : 60103;
1025
- function Zr(e) {
1026
- return e.$$typeof === zr;
1020
+ var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
1021
+ function zr(e) {
1022
+ return e.$$typeof === Wr;
1027
1023
  }
1028
- function Qr(e) {
1024
+ function Zr(e) {
1029
1025
  return Array.isArray(e) ? [] : {};
1030
1026
  }
1031
1027
  function re(e, t) {
1032
- return t.clone !== !1 && t.isMergeableObject(e) ? X(Qr(e), e, t) : e;
1028
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(Zr(e), e, t) : e;
1033
1029
  }
1034
- function Jr(e, t, r) {
1030
+ function Qr(e, t, r) {
1035
1031
  return e.concat(t).map(function(n) {
1036
1032
  return re(n, r);
1037
1033
  });
1038
1034
  }
1039
- function Yr(e, t) {
1035
+ function Jr(e, t) {
1040
1036
  if (!t.customMerge)
1041
1037
  return X;
1042
1038
  var r = t.customMerge(e);
1043
1039
  return typeof r == "function" ? r : X;
1044
1040
  }
1045
- function qr(e) {
1041
+ function Yr(e) {
1046
1042
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1047
1043
  return Object.propertyIsEnumerable.call(e, t);
1048
1044
  }) : [];
1049
1045
  }
1050
- function ot(e) {
1051
- return Object.keys(e).concat(qr(e));
1046
+ function it(e) {
1047
+ return Object.keys(e).concat(Yr(e));
1052
1048
  }
1053
- function Nt(e, t) {
1049
+ function It(e, t) {
1054
1050
  try {
1055
1051
  return t in e;
1056
1052
  } catch {
1057
1053
  return !1;
1058
1054
  }
1059
1055
  }
1060
- function Kr(e, t) {
1061
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1056
+ function qr(e, t) {
1057
+ return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1062
1058
  }
1063
- function en(e, t, r) {
1059
+ function Kr(e, t, r) {
1064
1060
  var n = {};
1065
- return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1061
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
1066
1062
  n[i] = re(e[i], r);
1067
- }), ot(t).forEach(function(i) {
1068
- Kr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1063
+ }), it(t).forEach(function(i) {
1064
+ qr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1069
1065
  }), n;
1070
1066
  }
1071
1067
  function X(e, t, r) {
1072
- r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || kr, r.cloneUnlessOtherwiseSpecified = re;
1068
+ r = r || {}, r.arrayMerge = r.arrayMerge || Qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = re;
1073
1069
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1074
- return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : re(t, r);
1070
+ return o ? n ? r.arrayMerge(e, t, r) : Kr(e, t, r) : re(t, r);
1075
1071
  }
1076
1072
  X.all = function(t, r) {
1077
1073
  if (!Array.isArray(t))
@@ -1080,42 +1076,39 @@ X.all = function(t, r) {
1080
1076
  return X(n, i, r);
1081
1077
  }, {});
1082
1078
  };
1083
- var tn = X, rn = tn;
1084
- const nn = /* @__PURE__ */ jr(rn);
1079
+ var en = X, tn = en;
1080
+ const rn = /* @__PURE__ */ Fr(tn);
1085
1081
  function Te(e, t) {
1086
- var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : sn;
1082
+ var r = t && t.cache ? t.cache : ln, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : sn;
1087
1083
  return i(e, {
1088
1084
  cache: r,
1089
1085
  serializer: n
1090
1086
  });
1091
1087
  }
1092
- function on(e) {
1088
+ function nn(e) {
1093
1089
  return e == null || typeof e == "number" || typeof e == "boolean";
1094
1090
  }
1095
- function Lt(e, t, r, n) {
1096
- var i = on(n) ? n : r(n), o = t.get(i);
1091
+ function on(e, t, r, n) {
1092
+ var i = nn(n) ? n : r(n), o = t.get(i);
1097
1093
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1098
1094
  }
1099
- function Mt(e, t, r) {
1095
+ function Lt(e, t, r) {
1100
1096
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1101
1097
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1102
1098
  }
1103
- function ze(e, t, r, n, i) {
1099
+ function Nt(e, t, r, n, i) {
1104
1100
  return r.bind(t, e, n, i);
1105
1101
  }
1106
1102
  function sn(e, t) {
1107
- var r = e.length === 1 ? Lt : Mt;
1108
- return ze(e, this, r, t.cache.create(), t.serializer);
1103
+ var r = e.length === 1 ? on : Lt;
1104
+ return Nt(e, this, r, t.cache.create(), t.serializer);
1109
1105
  }
1110
1106
  function an(e, t) {
1111
- return ze(e, this, Mt, t.cache.create(), t.serializer);
1107
+ return Nt(e, this, Lt, t.cache.create(), t.serializer);
1112
1108
  }
1113
- function un(e, t) {
1114
- return ze(e, this, Lt, t.cache.create(), t.serializer);
1115
- }
1116
- var hn = function() {
1109
+ var un = function() {
1117
1110
  return JSON.stringify(arguments);
1118
- }, ln = (
1111
+ }, hn = (
1119
1112
  /** @class */
1120
1113
  function() {
1121
1114
  function e() {
@@ -1127,17 +1120,16 @@ var hn = function() {
1127
1120
  this.cache[t] = r;
1128
1121
  }, e;
1129
1122
  }()
1130
- ), fn = {
1123
+ ), ln = {
1131
1124
  create: function() {
1132
- return new ln();
1125
+ return new hn();
1133
1126
  }
1134
1127
  }, He = {
1135
- variadic: an,
1136
- monadic: un
1137
- }, p;
1128
+ variadic: an
1129
+ }, d;
1138
1130
  (function(e) {
1139
1131
  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";
1140
- })(p || (p = {}));
1132
+ })(d || (d = {}));
1141
1133
  var x;
1142
1134
  (function(e) {
1143
1135
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
@@ -1146,41 +1138,41 @@ var W;
1146
1138
  (function(e) {
1147
1139
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1148
1140
  })(W || (W = {}));
1149
- function st(e) {
1141
+ function ot(e) {
1150
1142
  return e.type === x.literal;
1151
1143
  }
1152
- function cn(e) {
1144
+ function fn(e) {
1153
1145
  return e.type === x.argument;
1154
1146
  }
1155
- function Ct(e) {
1147
+ function Mt(e) {
1156
1148
  return e.type === x.number;
1157
1149
  }
1158
- function $t(e) {
1150
+ function Ct(e) {
1159
1151
  return e.type === x.date;
1160
1152
  }
1161
- function Rt(e) {
1153
+ function $t(e) {
1162
1154
  return e.type === x.time;
1163
1155
  }
1164
- function Ut(e) {
1156
+ function Rt(e) {
1165
1157
  return e.type === x.select;
1166
1158
  }
1167
- function Dt(e) {
1159
+ function Ut(e) {
1168
1160
  return e.type === x.plural;
1169
1161
  }
1170
- function dn(e) {
1162
+ function cn(e) {
1171
1163
  return e.type === x.pound;
1172
1164
  }
1173
1165
  function Gt(e) {
1174
1166
  return e.type === x.tag;
1175
1167
  }
1176
- function Ft(e) {
1168
+ function Dt(e) {
1177
1169
  return !!(e && typeof e == "object" && e.type === W.number);
1178
1170
  }
1179
1171
  function Re(e) {
1180
1172
  return !!(e && typeof e == "object" && e.type === W.dateTime);
1181
1173
  }
1182
- 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;
1183
- function mn(e) {
1174
+ var Ft = /[ \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;
1175
+ function dn(e) {
1184
1176
  var t = {};
1185
1177
  return e.replace(pn, function(r) {
1186
1178
  var n = r.length;
@@ -1271,11 +1263,11 @@ function mn(e) {
1271
1263
  return "";
1272
1264
  }), t;
1273
1265
  }
1274
- var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1275
- function gn(e) {
1266
+ var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1267
+ function bn(e) {
1276
1268
  if (e.length === 0)
1277
1269
  throw new Error("Number skeleton cannot be empty");
1278
- for (var t = e.split(bn).filter(function(f) {
1270
+ for (var t = e.split(mn).filter(function(f) {
1279
1271
  return f.length > 0;
1280
1272
  }), r = [], n = 0, i = t; n < i.length; n++) {
1281
1273
  var o = i[n], s = o.split("/");
@@ -1290,17 +1282,17 @@ function gn(e) {
1290
1282
  }
1291
1283
  return r;
1292
1284
  }
1293
- function yn(e) {
1285
+ function gn(e) {
1294
1286
  return e.replace(/^(.*?)-/, "");
1295
1287
  }
1296
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
1297
- function ut(e) {
1288
+ var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
1289
+ function at(e) {
1298
1290
  var t = {};
1299
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
1291
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
1300
1292
  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)), "";
1301
1293
  }), t;
1302
1294
  }
1303
- function Xt(e) {
1295
+ function Vt(e) {
1304
1296
  switch (e) {
1305
1297
  case "sign-auto":
1306
1298
  return {
@@ -1340,7 +1332,7 @@ function Xt(e) {
1340
1332
  };
1341
1333
  }
1342
1334
  }
1343
- function xn(e) {
1335
+ function vn(e) {
1344
1336
  var t;
1345
1337
  if (e[0] === "E" && e[1] === "E" ? (t = {
1346
1338
  notation: "engineering"
@@ -1348,17 +1340,17 @@ function xn(e) {
1348
1340
  notation: "scientific"
1349
1341
  }, e = e.slice(1)), t) {
1350
1342
  var r = e.slice(0, 2);
1351
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
1343
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
1352
1344
  throw new Error("Malformed concise eng/scientific notation");
1353
1345
  t.minimumIntegerDigits = e.length;
1354
1346
  }
1355
1347
  return t;
1356
1348
  }
1357
- function ht(e) {
1358
- var t = {}, r = Xt(e);
1349
+ function ut(e) {
1350
+ var t = {}, r = Vt(e);
1359
1351
  return r || t;
1360
1352
  }
1361
- function En(e) {
1353
+ function xn(e) {
1362
1354
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1363
1355
  var i = n[r];
1364
1356
  switch (i.stem) {
@@ -1382,7 +1374,7 @@ function En(e) {
1382
1374
  continue;
1383
1375
  case "measure-unit":
1384
1376
  case "unit":
1385
- t.style = "unit", t.unit = yn(i.options[0]);
1377
+ t.style = "unit", t.unit = gn(i.options[0]);
1386
1378
  continue;
1387
1379
  case "compact-short":
1388
1380
  case "K":
@@ -1394,12 +1386,12 @@ function En(e) {
1394
1386
  continue;
1395
1387
  case "scientific":
1396
1388
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1397
- return g(g({}, h), ht(u));
1389
+ return g(g({}, h), ut(u));
1398
1390
  }, {}));
1399
1391
  continue;
1400
1392
  case "engineering":
1401
1393
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1402
- return g(g({}, h), ht(u));
1394
+ return g(g({}, h), ut(u));
1403
1395
  }, {}));
1404
1396
  continue;
1405
1397
  case "notation-simple":
@@ -1444,40 +1436,40 @@ function En(e) {
1444
1436
  case "integer-width":
1445
1437
  if (i.options.length > 1)
1446
1438
  throw new RangeError("integer-width stems only accept a single optional option");
1447
- i.options[0].replace(vn, function(h, u, l, c, f, d) {
1439
+ i.options[0].replace(yn, function(h, u, l, c, f, p) {
1448
1440
  if (u)
1449
1441
  t.minimumIntegerDigits = l.length;
1450
1442
  else {
1451
1443
  if (c && f)
1452
1444
  throw new Error("We currently do not support maximum integer digits");
1453
- if (d)
1445
+ if (p)
1454
1446
  throw new Error("We currently do not support exact integer digits");
1455
1447
  }
1456
1448
  return "";
1457
1449
  });
1458
1450
  continue;
1459
1451
  }
1460
- if (Vt.test(i.stem)) {
1452
+ if (kt.test(i.stem)) {
1461
1453
  t.minimumIntegerDigits = i.stem.length;
1462
1454
  continue;
1463
1455
  }
1464
- if (at.test(i.stem)) {
1456
+ if (st.test(i.stem)) {
1465
1457
  if (i.options.length > 1)
1466
1458
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1467
- i.stem.replace(at, function(h, u, l, c, f, d) {
1468
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1459
+ i.stem.replace(st, function(h, u, l, c, f, p) {
1460
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1469
1461
  });
1470
1462
  var o = i.options[0];
1471
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ut(o)));
1463
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), at(o)));
1472
1464
  continue;
1473
1465
  }
1474
- if (kt.test(i.stem)) {
1475
- t = g(g({}, t), ut(i.stem));
1466
+ if (jt.test(i.stem)) {
1467
+ t = g(g({}, t), at(i.stem));
1476
1468
  continue;
1477
1469
  }
1478
- var s = Xt(i.stem);
1470
+ var s = Vt(i.stem);
1479
1471
  s && (t = g(g({}, t), s));
1480
- var a = xn(i.stem);
1472
+ var a = vn(i.stem);
1481
1473
  a && (t = g(g({}, t), a));
1482
1474
  }
1483
1475
  return t;
@@ -2903,7 +2895,7 @@ function _n(e, t) {
2903
2895
  if (i === "j") {
2904
2896
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2905
2897
  o++, n++;
2906
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Sn(t);
2898
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
2907
2899
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2908
2900
  r += h;
2909
2901
  for (; s-- > 0; )
@@ -2912,7 +2904,7 @@ function _n(e, t) {
2912
2904
  }
2913
2905
  return r;
2914
2906
  }
2915
- function Sn(e) {
2907
+ function En(e) {
2916
2908
  var t = e.hourCycle;
2917
2909
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2918
2910
  e.hourCycles && // @ts-ignore
@@ -2934,20 +2926,20 @@ function Sn(e) {
2934
2926
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
2935
2927
  return i[0];
2936
2928
  }
2937
- var Be, Tn = new RegExp("^".concat(jt.source, "*")), Hn = new RegExp("".concat(jt.source, "*$"));
2929
+ var Be, Sn = new RegExp("^".concat(Ft.source, "*")), Tn = new RegExp("".concat(Ft.source, "*$"));
2938
2930
  function m(e, t) {
2939
2931
  return { start: e, end: t };
2940
2932
  }
2941
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, wn = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Ln = Nn ? Number.isSafeInteger : function(e) {
2933
+ var Hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, An = !!Object.fromEntries, wn = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, On = !!String.prototype.trimEnd, In = !!Number.isSafeInteger, Ln = In ? Number.isSafeInteger : function(e) {
2942
2934
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2943
2935
  }, Ue = !0;
2944
2936
  try {
2945
- var Mn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2946
- Ue = ((Be = Mn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2937
+ var Nn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2938
+ Ue = ((Be = Nn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2947
2939
  } catch {
2948
2940
  Ue = !1;
2949
2941
  }
2950
- var lt = Bn ? (
2942
+ var ht = Hn ? (
2951
2943
  // Native
2952
2944
  function(t, r, n) {
2953
2945
  return t.startsWith(r, n);
@@ -2957,7 +2949,7 @@ var lt = Bn ? (
2957
2949
  function(t, r, n) {
2958
2950
  return t.slice(n, n + r.length) === r;
2959
2951
  }
2960
- ), De = An ? String.fromCodePoint : (
2952
+ ), Ge = Bn ? String.fromCodePoint : (
2961
2953
  // IE11
2962
2954
  function() {
2963
2955
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2969,9 +2961,9 @@ var lt = Bn ? (
2969
2961
  }
2970
2962
  return n;
2971
2963
  }
2972
- ), ft = (
2964
+ ), lt = (
2973
2965
  // native
2974
- wn ? Object.fromEntries : (
2966
+ An ? Object.fromEntries : (
2975
2967
  // Ponyfill
2976
2968
  function(t) {
2977
2969
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2981,7 +2973,7 @@ var lt = Bn ? (
2981
2973
  return r;
2982
2974
  }
2983
2975
  )
2984
- ), Wt = Pn ? (
2976
+ ), Xt = wn ? (
2985
2977
  // Native
2986
2978
  function(t, r) {
2987
2979
  return t.codePointAt(r);
@@ -2995,7 +2987,7 @@ var lt = Bn ? (
2995
2987
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2996
2988
  }
2997
2989
  }
2998
- ), Cn = On ? (
2990
+ ), Mn = Pn ? (
2999
2991
  // Native
3000
2992
  function(t) {
3001
2993
  return t.trimStart();
@@ -3003,9 +2995,9 @@ var lt = Bn ? (
3003
2995
  ) : (
3004
2996
  // Ponyfill
3005
2997
  function(t) {
3006
- return t.replace(Tn, "");
2998
+ return t.replace(Sn, "");
3007
2999
  }
3008
- ), $n = In ? (
3000
+ ), Cn = On ? (
3009
3001
  // Native
3010
3002
  function(t) {
3011
3003
  return t.trimEnd();
@@ -3013,32 +3005,32 @@ var lt = Bn ? (
3013
3005
  ) : (
3014
3006
  // Ponyfill
3015
3007
  function(t) {
3016
- return t.replace(Hn, "");
3008
+ return t.replace(Tn, "");
3017
3009
  }
3018
3010
  );
3019
- function zt(e, t) {
3011
+ function Wt(e, t) {
3020
3012
  return new RegExp(e, t);
3021
3013
  }
3022
- var Ge;
3014
+ var De;
3023
3015
  if (Ue) {
3024
- var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3025
- Ge = function(t, r) {
3016
+ var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3017
+ De = function(t, r) {
3026
3018
  var n;
3027
- ct.lastIndex = r;
3028
- var i = ct.exec(t);
3019
+ ft.lastIndex = r;
3020
+ var i = ft.exec(t);
3029
3021
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3030
3022
  };
3031
3023
  } else
3032
- Ge = function(t, r) {
3024
+ De = function(t, r) {
3033
3025
  for (var n = []; ; ) {
3034
- var i = Wt(t, r);
3035
- if (i === void 0 || Zt(i) || Gn(i))
3026
+ var i = Xt(t, r);
3027
+ if (i === void 0 || zt(i) || Gn(i))
3036
3028
  break;
3037
3029
  n.push(i), r += i >= 65536 ? 2 : 1;
3038
3030
  }
3039
- return De.apply(void 0, n);
3031
+ return Ge.apply(void 0, n);
3040
3032
  };
3041
- var Rn = (
3033
+ var $n = (
3042
3034
  /** @class */
3043
3035
  function() {
3044
3036
  function e(t, r) {
@@ -3068,7 +3060,7 @@ var Rn = (
3068
3060
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3069
3061
  if (n)
3070
3062
  break;
3071
- return this.error(p.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3063
+ return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3072
3064
  } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3073
3065
  var s = this.parseTag(t, r);
3074
3066
  if (s.err)
@@ -3103,9 +3095,9 @@ var Rn = (
3103
3095
  var s = o.val, a = this.clonePosition();
3104
3096
  if (this.bumpIf("</")) {
3105
3097
  if (this.isEOF() || !Fe(this.char()))
3106
- return this.error(p.INVALID_TAG, m(a, this.clonePosition()));
3098
+ return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
3107
3099
  var h = this.clonePosition(), u = this.parseTagName();
3108
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3100
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3109
3101
  val: {
3110
3102
  type: x.tag,
3111
3103
  value: i,
@@ -3113,14 +3105,14 @@ var Rn = (
3113
3105
  location: m(n, this.clonePosition())
3114
3106
  },
3115
3107
  err: null
3116
- } : this.error(p.INVALID_TAG, m(a, this.clonePosition())));
3108
+ } : this.error(d.INVALID_TAG, m(a, this.clonePosition())));
3117
3109
  } else
3118
- return this.error(p.UNCLOSED_TAG, m(n, this.clonePosition()));
3110
+ return this.error(d.UNCLOSED_TAG, m(n, this.clonePosition()));
3119
3111
  } else
3120
- return this.error(p.INVALID_TAG, m(n, this.clonePosition()));
3112
+ return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3121
3113
  }, e.prototype.parseTagName = function() {
3122
3114
  var t = this.offset();
3123
- for (this.bump(); !this.isEOF() && Dn(this.char()); )
3115
+ for (this.bump(); !this.isEOF() && Un(this.char()); )
3124
3116
  this.bump();
3125
3117
  return this.message.slice(t, this.offset());
3126
3118
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3149,7 +3141,7 @@ var Rn = (
3149
3141
  };
3150
3142
  }, e.prototype.tryParseLeftAngleBracket = function() {
3151
3143
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3152
- !Un(this.peek() || 0)) ? (this.bump(), "<") : null;
3144
+ !Rn(this.peek() || 0)) ? (this.bump(), "<") : null;
3153
3145
  }, e.prototype.tryParseQuote = function(t) {
3154
3146
  if (this.isEOF() || this.char() !== 39)
3155
3147
  return null;
@@ -3183,23 +3175,23 @@ var Rn = (
3183
3175
  r.push(n);
3184
3176
  this.bump();
3185
3177
  }
3186
- return De.apply(void 0, r);
3178
+ return Ge.apply(void 0, r);
3187
3179
  }, e.prototype.tryParseUnquoted = function(t, r) {
3188
3180
  if (this.isEOF())
3189
3181
  return null;
3190
3182
  var n = this.char();
3191
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3183
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
3192
3184
  }, e.prototype.parseArgument = function(t, r) {
3193
3185
  var n = this.clonePosition();
3194
3186
  if (this.bump(), this.bumpSpace(), this.isEOF())
3195
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3187
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3196
3188
  if (this.char() === 125)
3197
- return this.bump(), this.error(p.EMPTY_ARGUMENT, m(n, this.clonePosition()));
3189
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, m(n, this.clonePosition()));
3198
3190
  var i = this.parseIdentifierIfPossible().value;
3199
3191
  if (!i)
3200
- return this.error(p.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3192
+ return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3201
3193
  if (this.bumpSpace(), this.isEOF())
3202
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3194
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3203
3195
  switch (this.char()) {
3204
3196
  case 125:
3205
3197
  return this.bump(), {
@@ -3212,12 +3204,12 @@ var Rn = (
3212
3204
  err: null
3213
3205
  };
3214
3206
  case 44:
3215
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3207
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3216
3208
  default:
3217
- return this.error(p.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3209
+ return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3218
3210
  }
3219
3211
  }, e.prototype.parseIdentifierIfPossible = function() {
3220
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3212
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
3221
3213
  this.bumpTo(i);
3222
3214
  var o = this.clonePosition(), s = m(t, o);
3223
3215
  return { value: n, location: s };
@@ -3225,7 +3217,7 @@ var Rn = (
3225
3217
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3226
3218
  switch (a) {
3227
3219
  case "":
3228
- return this.error(p.EXPECT_ARGUMENT_TYPE, m(s, h));
3220
+ return this.error(d.EXPECT_ARGUMENT_TYPE, m(s, h));
3229
3221
  case "number":
3230
3222
  case "date":
3231
3223
  case "time": {
@@ -3236,18 +3228,18 @@ var Rn = (
3236
3228
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3237
3229
  if (c.err)
3238
3230
  return c;
3239
- var f = $n(c.val);
3231
+ var f = Cn(c.val);
3240
3232
  if (f.length === 0)
3241
- return this.error(p.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3242
- var d = m(l, this.clonePosition());
3243
- u = { style: f, styleLocation: d };
3233
+ return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3234
+ var p = m(l, this.clonePosition());
3235
+ u = { style: f, styleLocation: p };
3244
3236
  }
3245
3237
  var y = this.tryParseArgumentClose(i);
3246
3238
  if (y.err)
3247
3239
  return y;
3248
3240
  var v = m(i, this.clonePosition());
3249
- if (u && lt(u?.style, "::", 0)) {
3250
- var H = Cn(u.style.slice(2));
3241
+ if (u && ht(u?.style, "::", 0)) {
3242
+ var H = Mn(u.style.slice(2));
3251
3243
  if (a === "number") {
3252
3244
  var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
3253
3245
  return c.err ? c : {
@@ -3256,14 +3248,14 @@ var Rn = (
3256
3248
  };
3257
3249
  } else {
3258
3250
  if (H.length === 0)
3259
- return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
3251
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
3260
3252
  var C = H;
3261
3253
  this.locale && (C = _n(H, this.locale));
3262
3254
  var f = {
3263
3255
  type: W.dateTime,
3264
3256
  pattern: C,
3265
3257
  location: u.styleLocation,
3266
- parsedOptions: this.shouldParseSkeletons ? mn(C) : {}
3258
+ parsedOptions: this.shouldParseSkeletons ? dn(C) : {}
3267
3259
  }, w = a === "date" ? x.date : x.time;
3268
3260
  return {
3269
3261
  val: { type: w, value: n, location: v, style: f },
@@ -3286,21 +3278,21 @@ var Rn = (
3286
3278
  case "select": {
3287
3279
  var S = this.clonePosition();
3288
3280
  if (this.bumpSpace(), !this.bumpIf(","))
3289
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, m(S, g({}, S)));
3281
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(S, g({}, S)));
3290
3282
  this.bumpSpace();
3291
3283
  var $ = this.parseIdentifierIfPossible(), P = 0;
3292
3284
  if (a !== "select" && $.value === "offset") {
3293
3285
  if (!this.bumpIf(":"))
3294
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3286
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3295
3287
  this.bumpSpace();
3296
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3288
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3297
3289
  if (c.err)
3298
3290
  return c;
3299
3291
  this.bumpSpace(), $ = this.parseIdentifierIfPossible(), P = c.val;
3300
3292
  }
3301
- var D = this.tryParsePluralOrSelectOptions(t, a, r, $);
3302
- if (D.err)
3303
- return D;
3293
+ var G = this.tryParsePluralOrSelectOptions(t, a, r, $);
3294
+ if (G.err)
3295
+ return G;
3304
3296
  var y = this.tryParseArgumentClose(i);
3305
3297
  if (y.err)
3306
3298
  return y;
@@ -3309,7 +3301,7 @@ var Rn = (
3309
3301
  val: {
3310
3302
  type: x.select,
3311
3303
  value: n,
3312
- options: ft(D.val),
3304
+ options: lt(G.val),
3313
3305
  location: ae
3314
3306
  },
3315
3307
  err: null
@@ -3317,7 +3309,7 @@ var Rn = (
3317
3309
  val: {
3318
3310
  type: x.plural,
3319
3311
  value: n,
3320
- options: ft(D.val),
3312
+ options: lt(G.val),
3321
3313
  offset: P,
3322
3314
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3323
3315
  location: ae
@@ -3326,10 +3318,10 @@ var Rn = (
3326
3318
  };
3327
3319
  }
3328
3320
  default:
3329
- return this.error(p.INVALID_ARGUMENT_TYPE, m(s, h));
3321
+ return this.error(d.INVALID_ARGUMENT_TYPE, m(s, h));
3330
3322
  }
3331
3323
  }, e.prototype.tryParseArgumentClose = function(t) {
3332
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3324
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3333
3325
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3334
3326
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3335
3327
  var n = this.char();
@@ -3338,7 +3330,7 @@ var Rn = (
3338
3330
  this.bump();
3339
3331
  var i = this.clonePosition();
3340
3332
  if (!this.bumpUntil("'"))
3341
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, m(i, this.clonePosition()));
3333
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, m(i, this.clonePosition()));
3342
3334
  this.bump();
3343
3335
  break;
3344
3336
  }
@@ -3368,16 +3360,16 @@ var Rn = (
3368
3360
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3369
3361
  var n = [];
3370
3362
  try {
3371
- n = gn(t);
3363
+ n = bn(t);
3372
3364
  } catch {
3373
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3365
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3374
3366
  }
3375
3367
  return {
3376
3368
  val: {
3377
3369
  type: W.number,
3378
3370
  tokens: n,
3379
3371
  location: r,
3380
- parsedOptions: this.shouldParseSkeletons ? En(n) : {}
3372
+ parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
3381
3373
  },
3382
3374
  err: null
3383
3375
  };
@@ -3386,7 +3378,7 @@ var Rn = (
3386
3378
  if (u.length === 0) {
3387
3379
  var c = this.clonePosition();
3388
3380
  if (r !== "select" && this.bumpIf("=")) {
3389
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3381
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3390
3382
  if (f.err)
3391
3383
  return f;
3392
3384
  l = m(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3394,26 +3386,26 @@ var Rn = (
3394
3386
  break;
3395
3387
  }
3396
3388
  if (h.has(u))
3397
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3389
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3398
3390
  u === "other" && (s = !0), this.bumpSpace();
3399
- var d = this.clonePosition();
3391
+ var p = this.clonePosition();
3400
3392
  if (!this.bumpIf("{"))
3401
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3393
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3402
3394
  var y = this.parseMessage(t + 1, r, n);
3403
3395
  if (y.err)
3404
3396
  return y;
3405
- var v = this.tryParseArgumentClose(d);
3397
+ var v = this.tryParseArgumentClose(p);
3406
3398
  if (v.err)
3407
3399
  return v;
3408
3400
  a.push([
3409
3401
  u,
3410
3402
  {
3411
3403
  value: y.val,
3412
- location: m(d, this.clonePosition())
3404
+ location: m(p, this.clonePosition())
3413
3405
  }
3414
3406
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3415
3407
  }
3416
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, m(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, m(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3408
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, m(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, m(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3417
3409
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3418
3410
  var n = 1, i = this.clonePosition();
3419
3411
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3440,7 +3432,7 @@ var Rn = (
3440
3432
  var t = this.position.offset;
3441
3433
  if (t >= this.message.length)
3442
3434
  throw Error("out of bound");
3443
- var r = Wt(this.message, t);
3435
+ var r = Xt(this.message, t);
3444
3436
  if (r === void 0)
3445
3437
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3446
3438
  return r;
@@ -3459,7 +3451,7 @@ var Rn = (
3459
3451
  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);
3460
3452
  }
3461
3453
  }, e.prototype.bumpIf = function(t) {
3462
- if (lt(this.message, t, this.offset())) {
3454
+ if (ht(this.message, t, this.offset())) {
3463
3455
  for (var r = 0; r < t.length; r++)
3464
3456
  this.bump();
3465
3457
  return !0;
@@ -3481,7 +3473,7 @@ var Rn = (
3481
3473
  break;
3482
3474
  }
3483
3475
  }, e.prototype.bumpSpace = function() {
3484
- for (; !this.isEOF() && Zt(this.char()); )
3476
+ for (; !this.isEOF() && zt(this.char()); )
3485
3477
  this.bump();
3486
3478
  }, e.prototype.peek = function() {
3487
3479
  if (this.isEOF())
@@ -3494,13 +3486,13 @@ var Rn = (
3494
3486
  function Fe(e) {
3495
3487
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3496
3488
  }
3497
- function Un(e) {
3489
+ function Rn(e) {
3498
3490
  return Fe(e) || e === 47;
3499
3491
  }
3500
- function Dn(e) {
3492
+ function Un(e) {
3501
3493
  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;
3502
3494
  }
3503
- function Zt(e) {
3495
+ function zt(e) {
3504
3496
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3505
3497
  }
3506
3498
  function Gn(e) {
@@ -3508,17 +3500,17 @@ function Gn(e) {
3508
3500
  }
3509
3501
  function je(e) {
3510
3502
  e.forEach(function(t) {
3511
- if (delete t.location, Ut(t) || Dt(t))
3503
+ if (delete t.location, Rt(t) || Ut(t))
3512
3504
  for (var r in t.options)
3513
3505
  delete t.options[r].location, je(t.options[r].value);
3514
- else Ct(t) && Ft(t.style) || ($t(t) || Rt(t)) && Re(t.style) ? delete t.style.location : Gt(t) && je(t.children);
3506
+ else Mt(t) && Dt(t.style) || (Ct(t) || $t(t)) && Re(t.style) ? delete t.style.location : Gt(t) && je(t.children);
3515
3507
  });
3516
3508
  }
3517
- function Fn(e, t) {
3509
+ function Dn(e, t) {
3518
3510
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3519
- var r = new Rn(e, t).parse();
3511
+ var r = new $n(e, t).parse();
3520
3512
  if (r.err) {
3521
- var n = SyntaxError(p[r.err.kind]);
3513
+ var n = SyntaxError(d[r.err.kind]);
3522
3514
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3523
3515
  }
3524
3516
  return t?.captureLocation || je(r.val), r.val;
@@ -3530,7 +3522,7 @@ var z;
3530
3522
  var ve = (
3531
3523
  /** @class */
3532
3524
  function(e) {
3533
- L(t, e);
3525
+ N(t, e);
3534
3526
  function t(r, n, i) {
3535
3527
  var o = e.call(this, r) || this;
3536
3528
  return o.code = n, o.originalMessage = i, o;
@@ -3539,127 +3531,127 @@ var ve = (
3539
3531
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3540
3532
  }, t;
3541
3533
  }(Error)
3542
- ), dt = (
3534
+ ), ct = (
3543
3535
  /** @class */
3544
3536
  function(e) {
3545
- L(t, e);
3537
+ N(t, e);
3546
3538
  function t(r, n, i, o) {
3547
3539
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3548
3540
  }
3549
3541
  return t;
3550
3542
  }(ve)
3551
- ), jn = (
3543
+ ), Fn = (
3552
3544
  /** @class */
3553
3545
  function(e) {
3554
- L(t, e);
3546
+ N(t, e);
3555
3547
  function t(r, n, i) {
3556
3548
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3557
3549
  }
3558
3550
  return t;
3559
3551
  }(ve)
3560
- ), kn = (
3552
+ ), jn = (
3561
3553
  /** @class */
3562
3554
  function(e) {
3563
- L(t, e);
3555
+ N(t, e);
3564
3556
  function t(r, n) {
3565
3557
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3566
3558
  }
3567
3559
  return t;
3568
3560
  }(ve)
3569
- ), E;
3561
+ ), _;
3570
3562
  (function(e) {
3571
3563
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3572
- })(E || (E = {}));
3573
- function Vn(e) {
3564
+ })(_ || (_ = {}));
3565
+ function kn(e) {
3574
3566
  return e.length < 2 ? e : e.reduce(function(t, r) {
3575
3567
  var n = t[t.length - 1];
3576
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3568
+ return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3577
3569
  }, []);
3578
3570
  }
3579
- function Xn(e) {
3571
+ function Vn(e) {
3580
3572
  return typeof e == "function";
3581
3573
  }
3582
3574
  function ce(e, t, r, n, i, o, s) {
3583
- if (e.length === 1 && st(e[0]))
3575
+ if (e.length === 1 && ot(e[0]))
3584
3576
  return [
3585
3577
  {
3586
- type: E.literal,
3578
+ type: _.literal,
3587
3579
  value: e[0].value
3588
3580
  }
3589
3581
  ];
3590
3582
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3591
3583
  var l = u[h];
3592
- if (st(l)) {
3584
+ if (ot(l)) {
3593
3585
  a.push({
3594
- type: E.literal,
3586
+ type: _.literal,
3595
3587
  value: l.value
3596
3588
  });
3597
3589
  continue;
3598
3590
  }
3599
- if (dn(l)) {
3591
+ if (cn(l)) {
3600
3592
  typeof o == "number" && a.push({
3601
- type: E.literal,
3593
+ type: _.literal,
3602
3594
  value: r.getNumberFormat(t).format(o)
3603
3595
  });
3604
3596
  continue;
3605
3597
  }
3606
3598
  var c = l.value;
3607
3599
  if (!(i && c in i))
3608
- throw new kn(c, s);
3600
+ throw new jn(c, s);
3609
3601
  var f = i[c];
3610
- if (cn(l)) {
3602
+ if (fn(l)) {
3611
3603
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3612
- type: typeof f == "string" ? E.literal : E.object,
3604
+ type: typeof f == "string" ? _.literal : _.object,
3613
3605
  value: f
3614
3606
  });
3615
3607
  continue;
3616
3608
  }
3617
- if ($t(l)) {
3618
- var d = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3609
+ if (Ct(l)) {
3610
+ var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3619
3611
  a.push({
3620
- type: E.literal,
3621
- value: r.getDateTimeFormat(t, d).format(f)
3612
+ type: _.literal,
3613
+ value: r.getDateTimeFormat(t, p).format(f)
3622
3614
  });
3623
3615
  continue;
3624
3616
  }
3625
- if (Rt(l)) {
3626
- var d = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3617
+ if ($t(l)) {
3618
+ var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3627
3619
  a.push({
3628
- type: E.literal,
3629
- value: r.getDateTimeFormat(t, d).format(f)
3620
+ type: _.literal,
3621
+ value: r.getDateTimeFormat(t, p).format(f)
3630
3622
  });
3631
3623
  continue;
3632
3624
  }
3633
- if (Ct(l)) {
3634
- var d = typeof l.style == "string" ? n.number[l.style] : Ft(l.style) ? l.style.parsedOptions : void 0;
3635
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3636
- type: E.literal,
3637
- value: r.getNumberFormat(t, d).format(f)
3625
+ if (Mt(l)) {
3626
+ var p = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
3627
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3628
+ type: _.literal,
3629
+ value: r.getNumberFormat(t, p).format(f)
3638
3630
  });
3639
3631
  continue;
3640
3632
  }
3641
3633
  if (Gt(l)) {
3642
3634
  var y = l.children, v = l.value, H = i[v];
3643
- if (!Xn(H))
3644
- throw new jn(v, "function", s);
3635
+ if (!Vn(H))
3636
+ throw new Fn(v, "function", s);
3645
3637
  var C = ce(y, t, r, n, i, o), w = H(C.map(function(P) {
3646
3638
  return P.value;
3647
3639
  }));
3648
3640
  Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(P) {
3649
3641
  return {
3650
- type: typeof P == "string" ? E.literal : E.object,
3642
+ type: typeof P == "string" ? _.literal : _.object,
3651
3643
  value: P
3652
3644
  };
3653
3645
  }));
3654
3646
  }
3655
- if (Ut(l)) {
3647
+ if (Rt(l)) {
3656
3648
  var S = l.options[f] || l.options.other;
3657
3649
  if (!S)
3658
- throw new dt(l.value, f, Object.keys(l.options), s);
3650
+ throw new ct(l.value, f, Object.keys(l.options), s);
3659
3651
  a.push.apply(a, ce(S.value, t, r, n, i));
3660
3652
  continue;
3661
3653
  }
3662
- if (Dt(l)) {
3654
+ if (Ut(l)) {
3663
3655
  var S = l.options["=".concat(f)];
3664
3656
  if (!S) {
3665
3657
  if (!Intl.PluralRules)
@@ -3670,21 +3662,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3670
3662
  S = l.options[$] || l.options.other;
3671
3663
  }
3672
3664
  if (!S)
3673
- throw new dt(l.value, f, Object.keys(l.options), s);
3665
+ throw new ct(l.value, f, Object.keys(l.options), s);
3674
3666
  a.push.apply(a, ce(S.value, t, r, n, i, f - (l.offset || 0)));
3675
3667
  continue;
3676
3668
  }
3677
3669
  }
3678
- return Vn(a);
3670
+ return kn(a);
3679
3671
  }
3680
- function Wn(e, t) {
3672
+ function Xn(e, t) {
3681
3673
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3682
3674
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3683
3675
  }, {})) : e;
3684
3676
  }
3685
- function zn(e, t) {
3677
+ function Wn(e, t) {
3686
3678
  return t ? Object.keys(e).reduce(function(r, n) {
3687
- return r[n] = Wn(e[n], t[n]), r;
3679
+ return r[n] = Xn(e[n], t[n]), r;
3688
3680
  }, g({}, e)) : e;
3689
3681
  }
3690
3682
  function Ae(e) {
@@ -3701,7 +3693,7 @@ function Ae(e) {
3701
3693
  }
3702
3694
  };
3703
3695
  }
3704
- function Zn(e) {
3696
+ function zn(e) {
3705
3697
  return e === void 0 && (e = {
3706
3698
  number: {},
3707
3699
  dateTime: {},
@@ -3733,7 +3725,7 @@ function Zn(e) {
3733
3725
  })
3734
3726
  };
3735
3727
  }
3736
- var Qn = (
3728
+ var Zn = (
3737
3729
  /** @class */
3738
3730
  function() {
3739
3731
  function e(t, r, n, i) {
@@ -3748,7 +3740,7 @@ var Qn = (
3748
3740
  if (u.length === 1)
3749
3741
  return u[0].value;
3750
3742
  var l = u.reduce(function(c, f) {
3751
- return !c.length || f.type !== E.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3743
+ return !c.length || f.type !== _.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3752
3744
  }, []);
3753
3745
  return l.length <= 1 ? l[0] || "" : l;
3754
3746
  }, this.formatToParts = function(h) {
@@ -3765,13 +3757,13 @@ var Qn = (
3765
3757
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3766
3758
  var s = i || {};
3767
3759
  s.formatters;
3768
- var a = Br(s, ["formatters"]);
3760
+ var a = Hr(s, ["formatters"]);
3769
3761
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3770
3762
  } else
3771
3763
  this.ast = t;
3772
3764
  if (!Array.isArray(this.ast))
3773
3765
  throw new TypeError("A message must be provided as a String or AST.");
3774
- this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
3766
+ this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || zn(this.formatterCache);
3775
3767
  }
3776
3768
  return Object.defineProperty(e, "defaultLocale", {
3777
3769
  get: function() {
@@ -3784,7 +3776,7 @@ var Qn = (
3784
3776
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3785
3777
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3786
3778
  }
3787
- }, e.__parse = Fn, e.formats = {
3779
+ }, e.__parse = Dn, e.formats = {
3788
3780
  number: {
3789
3781
  integer: {
3790
3782
  maximumFractionDigits: 0
@@ -3845,7 +3837,7 @@ var Qn = (
3845
3837
  }, e;
3846
3838
  }()
3847
3839
  );
3848
- function Jn(e, t) {
3840
+ function Qn(e, t) {
3849
3841
  if (t == null)
3850
3842
  return;
3851
3843
  if (t in e)
@@ -3866,60 +3858,60 @@ function Jn(e, t) {
3866
3858
  n = void 0;
3867
3859
  return n;
3868
3860
  }
3869
- const M = {}, Yn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Qt = (e, t) => {
3861
+ const M = {}, Jn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Zt = (e, t) => {
3870
3862
  if (t == null)
3871
3863
  return;
3872
3864
  if (t in M && e in M[t])
3873
3865
  return M[t][e];
3874
3866
  const r = xe(t);
3875
3867
  for (let n = 0; n < r.length; n++) {
3876
- const i = r[n], o = Kn(i, e);
3868
+ const i = r[n], o = qn(i, e);
3877
3869
  if (o)
3878
- return Yn(e, t, o);
3870
+ return Jn(e, t, o);
3879
3871
  }
3880
3872
  };
3881
- let Ze;
3873
+ let ze;
3882
3874
  const se = ye({});
3883
- function qn(e) {
3884
- return Ze[e] || null;
3875
+ function Yn(e) {
3876
+ return ze[e] || null;
3885
3877
  }
3886
- function Jt(e) {
3887
- return e in Ze;
3878
+ function Qt(e) {
3879
+ return e in ze;
3888
3880
  }
3889
- function Kn(e, t) {
3890
- if (!Jt(e))
3881
+ function qn(e, t) {
3882
+ if (!Qt(e))
3891
3883
  return null;
3892
- const r = qn(e);
3893
- return Jn(r, t);
3884
+ const r = Yn(e);
3885
+ return Qn(r, t);
3894
3886
  }
3895
- function ei(e) {
3887
+ function Kn(e) {
3896
3888
  if (e == null)
3897
3889
  return;
3898
3890
  const t = xe(e);
3899
3891
  for (let r = 0; r < t.length; r++) {
3900
3892
  const n = t[r];
3901
- if (Jt(n))
3893
+ if (Qt(n))
3902
3894
  return n;
3903
3895
  }
3904
3896
  }
3905
- function Yt(e, ...t) {
3906
- delete M[e], se.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
3897
+ function Jt(e, ...t) {
3898
+ delete M[e], se.update((r) => (r[e] = rn.all([r[e] || {}, ...t]), r));
3907
3899
  }
3908
3900
  J(
3909
3901
  [se],
3910
3902
  ([e]) => Object.keys(e)
3911
3903
  );
3912
- se.subscribe((e) => Ze = e);
3913
- const de = {};
3914
- function ti(e, t) {
3915
- de[e].delete(t), de[e].size === 0 && delete de[e];
3904
+ se.subscribe((e) => ze = e);
3905
+ const pe = {};
3906
+ function ei(e, t) {
3907
+ pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3916
3908
  }
3917
- function qt(e) {
3918
- return de[e];
3909
+ function Yt(e) {
3910
+ return pe[e];
3919
3911
  }
3920
- function ri(e) {
3912
+ function ti(e) {
3921
3913
  return xe(e).map((t) => {
3922
- const r = qt(t);
3914
+ const r = Yt(t);
3923
3915
  return [t, r ? [...r] : []];
3924
3916
  }).filter(([, t]) => t.length > 0);
3925
3917
  }
@@ -3927,31 +3919,31 @@ function ke(e) {
3927
3919
  return e == null ? !1 : xe(e).some(
3928
3920
  (t) => {
3929
3921
  var r;
3930
- return (r = qt(t)) == null ? void 0 : r.size;
3922
+ return (r = Yt(t)) == null ? void 0 : r.size;
3931
3923
  }
3932
3924
  );
3933
3925
  }
3934
- function ni(e, t) {
3926
+ function ri(e, t) {
3935
3927
  return Promise.all(
3936
- t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
3937
- ).then((n) => Yt(e, ...n));
3928
+ t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
3929
+ ).then((n) => Jt(e, ...n));
3938
3930
  }
3939
3931
  const ee = {};
3940
- function Kt(e) {
3932
+ function qt(e) {
3941
3933
  if (!ke(e))
3942
3934
  return e in ee ? ee[e] : Promise.resolve();
3943
- const t = ri(e);
3935
+ const t = ti(e);
3944
3936
  return ee[e] = Promise.all(
3945
3937
  t.map(
3946
- ([r, n]) => ni(r, n)
3938
+ ([r, n]) => ri(r, n)
3947
3939
  )
3948
3940
  ).then(() => {
3949
3941
  if (ke(e))
3950
- return Kt(e);
3942
+ return qt(e);
3951
3943
  delete ee[e];
3952
3944
  }), ee[e];
3953
3945
  }
3954
- const ii = {
3946
+ const ni = {
3955
3947
  number: {
3956
3948
  scientific: { notation: "scientific" },
3957
3949
  engineering: { notation: "engineering" },
@@ -3980,78 +3972,78 @@ const ii = {
3980
3972
  timeZoneName: "short"
3981
3973
  }
3982
3974
  }
3983
- }, oi = {
3975
+ }, ii = {
3984
3976
  fallbackLocale: null,
3985
3977
  loadingDelay: 200,
3986
- formats: ii,
3978
+ formats: ni,
3987
3979
  warnOnMissingMessages: !0,
3988
3980
  handleMissingMessage: void 0,
3989
3981
  ignoreTag: !0
3990
- }, si = oi;
3982
+ }, oi = ii;
3991
3983
  function Z() {
3992
- return si;
3984
+ return oi;
3993
3985
  }
3994
3986
  const we = ye(!1);
3995
- var ai = Object.defineProperty, ui = Object.defineProperties, hi = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, fi = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ci = (e, t) => {
3996
- for (var r in t)
3997
- li.call(t, r) && mt(e, r, t[r]);
3987
+ var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
3988
+ for (var r in t || (t = {}))
3989
+ hi.call(t, r) && dt(e, r, t[r]);
3998
3990
  if (pt)
3999
3991
  for (var r of pt(t))
4000
- fi.call(t, r) && mt(e, r, t[r]);
3992
+ li.call(t, r) && dt(e, r, t[r]);
4001
3993
  return e;
4002
- }, di = (e, t) => ui(e, hi(t));
3994
+ }, ci = (e, t) => ai(e, ui(t));
4003
3995
  let Ve;
4004
- const pe = ye(null);
4005
- function bt(e) {
3996
+ const de = ye(null);
3997
+ function mt(e) {
4006
3998
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4007
3999
  }
4008
4000
  function xe(e, t = Z().fallbackLocale) {
4009
- const r = bt(e);
4010
- return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
4001
+ const r = mt(e);
4002
+ return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
4011
4003
  }
4012
4004
  function U() {
4013
4005
  return Ve ?? void 0;
4014
4006
  }
4015
- pe.subscribe((e) => {
4007
+ de.subscribe((e) => {
4016
4008
  Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4017
4009
  });
4018
4010
  const pi = (e) => {
4019
- if (e && ei(e) && ke(e)) {
4011
+ if (e && Kn(e) && ke(e)) {
4020
4012
  const { loadingDelay: t } = Z();
4021
4013
  let r;
4022
4014
  return typeof window < "u" && U() != null && t ? r = window.setTimeout(
4023
4015
  () => we.set(!0),
4024
4016
  t
4025
- ) : we.set(!0), Kt(e).then(() => {
4026
- pe.set(e);
4017
+ ) : we.set(!0), qt(e).then(() => {
4018
+ de.set(e);
4027
4019
  }).finally(() => {
4028
4020
  clearTimeout(r), we.set(!1);
4029
4021
  });
4030
4022
  }
4031
- return pe.set(e);
4032
- }, Y = di(ci({}, pe), {
4023
+ return de.set(e);
4024
+ }, Y = ci(fi({}, de), {
4033
4025
  set: pi
4034
- }), Ee = (e) => {
4026
+ }), _e = (e) => {
4035
4027
  const t = /* @__PURE__ */ Object.create(null);
4036
4028
  return (n) => {
4037
4029
  const i = JSON.stringify(n);
4038
4030
  return i in t ? t[i] : t[i] = e(n);
4039
4031
  };
4040
4032
  };
4041
- var mi = Object.defineProperty, me = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4033
+ var di = Object.defineProperty, me = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4042
4034
  for (var r in t || (t = {}))
4043
- er.call(t, r) && gt(e, r, t[r]);
4035
+ Kt.call(t, r) && bt(e, r, t[r]);
4044
4036
  if (me)
4045
4037
  for (var r of me(t))
4046
- tr.call(t, r) && gt(e, r, t[r]);
4038
+ er.call(t, r) && bt(e, r, t[r]);
4047
4039
  return e;
4048
4040
  }, q = (e, t) => {
4049
4041
  var r = {};
4050
4042
  for (var n in e)
4051
- er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4043
+ Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4052
4044
  if (e != null && me)
4053
4045
  for (var n of me(e))
4054
- t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
4046
+ t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
4055
4047
  return r;
4056
4048
  };
4057
4049
  const ne = (e, t) => {
@@ -4059,21 +4051,21 @@ const ne = (e, t) => {
4059
4051
  if (e in r && t in r[e])
4060
4052
  return r[e][t];
4061
4053
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4062
- }, bi = Ee(
4054
+ }, mi = _e(
4063
4055
  (e) => {
4064
4056
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4065
4057
  if (r == null)
4066
4058
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4067
4059
  return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4068
4060
  }
4069
- ), gi = Ee(
4061
+ ), bi = _e(
4070
4062
  (e) => {
4071
4063
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4072
4064
  if (r == null)
4073
4065
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4074
4066
  return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4075
4067
  }
4076
- ), yi = Ee(
4068
+ ), gi = _e(
4077
4069
  (e) => {
4078
4070
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4079
4071
  if (r == null)
@@ -4082,33 +4074,33 @@ const ne = (e, t) => {
4082
4074
  );
4083
4075
  return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4084
4076
  }
4085
- ), vi = (e = {}) => {
4077
+ ), yi = (e = {}) => {
4086
4078
  var t = e, {
4087
4079
  locale: r = U()
4088
4080
  } = t, n = q(t, [
4089
4081
  "locale"
4090
4082
  ]);
4091
- return bi(Qe({ locale: r }, n));
4092
- }, xi = (e = {}) => {
4083
+ return mi(Ze({ locale: r }, n));
4084
+ }, vi = (e = {}) => {
4093
4085
  var t = e, {
4094
4086
  locale: r = U()
4095
4087
  } = t, n = q(t, [
4096
4088
  "locale"
4097
4089
  ]);
4098
- return gi(Qe({ locale: r }, n));
4099
- }, Ei = (e = {}) => {
4090
+ return bi(Ze({ locale: r }, n));
4091
+ }, xi = (e = {}) => {
4100
4092
  var t = e, {
4101
4093
  locale: r = U()
4102
4094
  } = t, n = q(t, [
4103
4095
  "locale"
4104
4096
  ]);
4105
- return yi(Qe({ locale: r }, n));
4106
- }, _i = Ee(
4097
+ return gi(Ze({ locale: r }, n));
4098
+ }, _i = _e(
4107
4099
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4108
- (e, t = U()) => new Qn(e, t, Z().formats, {
4100
+ (e, t = U()) => new Zn(e, t, Z().formats, {
4109
4101
  ignoreTag: Z().ignoreTag
4110
4102
  })
4111
- ), Si = (e, t = {}) => {
4103
+ ), Ei = (e, t = {}) => {
4112
4104
  var r, n, i, o;
4113
4105
  let s = t;
4114
4106
  typeof e == "object" && (s = e, e = s.id);
@@ -4121,7 +4113,7 @@ const ne = (e, t) => {
4121
4113
  throw new Error(
4122
4114
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4123
4115
  );
4124
- let l = Qt(e, h);
4116
+ let l = Zt(e, h);
4125
4117
  if (!l)
4126
4118
  l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4127
4119
  else if (typeof l != "string")
@@ -4140,20 +4132,20 @@ const ne = (e, t) => {
4140
4132
  );
4141
4133
  }
4142
4134
  return c;
4143
- }, Ti = (e, t) => Ei(t).format(e), Hi = (e, t) => xi(t).format(e), Bi = (e, t) => vi(t).format(e), Ai = (e, t = U()) => Qt(e, t), wi = J([Y, se], () => Si);
4135
+ }, Si = (e, t) => xi(t).format(e), Ti = (e, t) => vi(t).format(e), Hi = (e, t) => yi(t).format(e), Bi = (e, t = U()) => Zt(e, t), Ai = J([Y, se], () => Ei);
4136
+ J([Y], () => Si);
4144
4137
  J([Y], () => Ti);
4145
4138
  J([Y], () => Hi);
4146
- J([Y], () => Bi);
4147
- J([Y, se], () => Ai);
4139
+ J([Y, se], () => Bi);
4148
4140
  window.emWidgets = { topic: Gr };
4149
- const Pi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4150
- function yt(e, t) {
4151
- Yt(e, t);
4141
+ const wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4142
+ function gt(e, t) {
4143
+ Jt(e, t);
4152
4144
  }
4153
- function Oi(e) {
4145
+ function Pi(e) {
4154
4146
  Y.set(e);
4155
4147
  }
4156
- const vt = {
4148
+ const yt = {
4157
4149
  en: {
4158
4150
  logoutButton: "Logout"
4159
4151
  },
@@ -4188,10 +4180,10 @@ const vt = {
4188
4180
  logoutButton: "Logout"
4189
4181
  }
4190
4182
  };
4191
- function Ii(e) {
4192
- sr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4183
+ function Oi(e) {
4184
+ or(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4193
4185
  }
4194
- function Ni(e) {
4186
+ function Ii(e) {
4195
4187
  let t, r, n, i = (
4196
4188
  /*$_*/
4197
4189
  e[2]("logoutButton") + ""
@@ -4201,7 +4193,7 @@ function Ni(e) {
4201
4193
  t = I("div"), r = I("button"), n = I("span"), o = be(i), T(t, "class", "GeneralLogout");
4202
4194
  },
4203
4195
  m(h, u) {
4204
- oe(h, t, u), _(t, r), _(r, n), _(n, o), s || (a = St(
4196
+ oe(h, t, u), E(t, r), E(r, n), E(n, o), s || (a = Et(
4205
4197
  r,
4206
4198
  "click",
4207
4199
  /*click_handler_1*/
@@ -4211,7 +4203,7 @@ function Ni(e) {
4211
4203
  p(h, u) {
4212
4204
  u & /*$_*/
4213
4205
  4 && i !== (i = /*$_*/
4214
- h[2]("logoutButton") + "") && Tt(o, i);
4206
+ h[2]("logoutButton") + "") && St(o, i);
4215
4207
  },
4216
4208
  d(h) {
4217
4209
  h && Q(t), s = !1, a();
@@ -4220,10 +4212,10 @@ function Ni(e) {
4220
4212
  }
4221
4213
  function Li(e) {
4222
4214
  let t, r, n, i, o, s, a, h, u, l, c, f = !/*isMobile*/
4223
- e[3] && Mi(e);
4215
+ e[3] && Ni(e);
4224
4216
  return {
4225
4217
  c() {
4226
- t = I("p"), r = I("span"), n = K("svg"), i = K("defs"), o = K("style"), s = be(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = hr(), f && f.c(), T(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), T(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), T(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), T(n, "data-name", "Layer 1"), T(n, "xmlns", "http://www.w3.org/2000/svg"), T(n, "viewBox", "0 0 150 150"), fr(r, "width", /*isMobile*/
4218
+ t = I("p"), r = I("span"), n = K("svg"), i = K("defs"), o = K("style"), s = be(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = ur(), f && f.c(), T(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), T(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), T(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), T(n, "data-name", "Layer 1"), T(n, "xmlns", "http://www.w3.org/2000/svg"), T(n, "viewBox", "0 0 150 150"), lr(r, "width", /*isMobile*/
4227
4219
  e[3] ? (
4228
4220
  /*mediaQuery*/
4229
4221
  e[4].matches ? "50px" : "24px"
@@ -4232,24 +4224,24 @@ function Li(e) {
4232
4224
  (e[4].matches && /*isMobile*/
4233
4225
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4234
4226
  },
4235
- m(d, y) {
4236
- oe(d, t, y), _(t, r), _(r, n), _(n, i), _(i, o), _(o, s), _(n, a), _(n, h), _(t, u), f && f.m(t, null), l || (c = St(
4227
+ m(p, y) {
4228
+ oe(p, t, y), E(t, r), E(r, n), E(n, i), E(i, o), E(o, s), E(n, a), E(n, h), E(t, u), f && f.m(t, null), l || (c = Et(
4237
4229
  t,
4238
4230
  "click",
4239
4231
  /*click_handler*/
4240
4232
  e[12]
4241
4233
  ), l = !0);
4242
4234
  },
4243
- p(d, y) {
4235
+ p(p, y) {
4244
4236
  /*isMobile*/
4245
- d[3] || f.p(d, y);
4237
+ p[3] || f.p(p, y);
4246
4238
  },
4247
- d(d) {
4248
- d && Q(t), f && f.d(), l = !1, c();
4239
+ d(p) {
4240
+ p && Q(t), f && f.d(), l = !1, c();
4249
4241
  }
4250
4242
  };
4251
4243
  }
4252
- function Mi(e) {
4244
+ function Ni(e) {
4253
4245
  let t, r = (
4254
4246
  /*$_*/
4255
4247
  e[2]("logoutButton") + ""
@@ -4259,24 +4251,24 @@ function Mi(e) {
4259
4251
  t = I("span"), n = be(r), T(t, "class", "PlayerLogoutText");
4260
4252
  },
4261
4253
  m(i, o) {
4262
- oe(i, t, o), _(t, n);
4254
+ oe(i, t, o), E(t, n);
4263
4255
  },
4264
4256
  p(i, o) {
4265
4257
  o & /*$_*/
4266
4258
  4 && r !== (r = /*$_*/
4267
- i[2]("logoutButton") + "") && Tt(n, r);
4259
+ i[2]("logoutButton") + "") && St(n, r);
4268
4260
  },
4269
4261
  d(i) {
4270
4262
  i && Q(t);
4271
4263
  }
4272
4264
  };
4273
4265
  }
4274
- function Ci(e) {
4266
+ function Mi(e) {
4275
4267
  let t;
4276
4268
  function r(o, s) {
4277
4269
  return (
4278
4270
  /*buttonlocation*/
4279
- o[0] === "PlayerAccountMenu" ? Li : Ni
4271
+ o[0] === "PlayerAccountMenu" ? Li : Ii
4280
4272
  );
4281
4273
  }
4282
4274
  let n = r(e), i = n(e);
@@ -4297,21 +4289,21 @@ function Ci(e) {
4297
4289
  }
4298
4290
  };
4299
4291
  }
4300
- function $i(e, t, r) {
4292
+ function Ci(e, t, r) {
4301
4293
  let n;
4302
- or(e, wi, (b) => r(2, n = b));
4303
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, c = "", f = !1, d, y = window.navigator.userAgent, v = Pi(y) !== "PC";
4294
+ ir(e, Ai, (b) => r(2, n = b));
4295
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, c = "", f = !1, p, y = window.navigator.userAgent, v = wi(y) !== "PC";
4304
4296
  const H = window.matchMedia("(min-width: 768px)"), C = () => {
4305
4297
  fetch(l).then((B) => B.json()).then((B) => {
4306
4298
  Object.keys(B).forEach((R) => {
4307
- yt(R, B[R]);
4299
+ gt(R, B[R]);
4308
4300
  });
4309
4301
  }).catch((B) => {
4310
4302
  console.log(B);
4311
4303
  });
4312
4304
  };
4313
- Object.keys(vt).forEach((b) => {
4314
- yt(b, vt[b]);
4305
+ Object.keys(yt).forEach((b) => {
4306
+ gt(b, yt[b]);
4315
4307
  });
4316
4308
  const w = () => {
4317
4309
  let b = new Headers();
@@ -4321,16 +4313,16 @@ function $i(e, t, r) {
4321
4313
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4322
4314
  });
4323
4315
  }, S = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", f = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", f = !0, console.error(c)), f), $ = () => {
4324
- Oi(a);
4316
+ Pi(a);
4325
4317
  }, P = () => {
4326
4318
  let b = document.createElement("style");
4327
- b.innerHTML = h, d.appendChild(b);
4328
- }, D = () => {
4319
+ b.innerHTML = h, p.appendChild(b);
4320
+ }, G = () => {
4329
4321
  let b = new URL(u), B = document.createElement("style");
4330
4322
  fetch(b.href).then((R) => R.text()).then((R) => {
4331
4323
  B.innerHTML = R, setTimeout(
4332
4324
  () => {
4333
- d.appendChild(B);
4325
+ p.appendChild(B);
4334
4326
  },
4335
4327
  1
4336
4328
  ), setTimeout(
@@ -4339,10 +4331,10 @@ function $i(e, t, r) {
4339
4331
  500
4340
4332
  );
4341
4333
  });
4342
- }, ae = () => w(), rr = () => w();
4343
- function nr(b) {
4334
+ }, ae = () => w(), tr = () => w();
4335
+ function rr(b) {
4344
4336
  Pe[b ? "unshift" : "push"](() => {
4345
- d = b, r(1, d);
4337
+ p = b, r(1, p);
4346
4338
  });
4347
4339
  }
4348
4340
  return e.$$set = (b) => {
@@ -4351,12 +4343,12 @@ function $i(e, t, r) {
4351
4343
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4352
4344
  193 && i && o && s && S(), e.$$.dirty & /*lang*/
4353
4345
  256 && a && $(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4354
- 514 && h && d && P(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4355
- 1026 && u && d && D(), e.$$.dirty & /*translationurl*/
4346
+ 514 && h && p && P(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4347
+ 1026 && u && p && G(), e.$$.dirty & /*translationurl*/
4356
4348
  2048 && l && C();
4357
4349
  }, [
4358
4350
  s,
4359
- d,
4351
+ p,
4360
4352
  n,
4361
4353
  v,
4362
4354
  H,
@@ -4368,18 +4360,18 @@ function $i(e, t, r) {
4368
4360
  u,
4369
4361
  l,
4370
4362
  ae,
4371
- rr,
4372
- nr
4363
+ tr,
4364
+ rr
4373
4365
  ];
4374
4366
  }
4375
- class Ri extends Tr {
4367
+ class $i extends Sr {
4376
4368
  constructor(t) {
4377
4369
  super(), _r(
4378
4370
  this,
4379
4371
  t,
4380
- $i,
4381
4372
  Ci,
4382
- Et,
4373
+ Mi,
4374
+ xt,
4383
4375
  {
4384
4376
  endpoint: 6,
4385
4377
  session: 7,
@@ -4389,7 +4381,7 @@ class Ri extends Tr {
4389
4381
  clientstylingurl: 10,
4390
4382
  translationurl: 11
4391
4383
  },
4392
- Ii
4384
+ Oi
4393
4385
  );
4394
4386
  }
4395
4387
  get endpoint() {
@@ -4435,7 +4427,7 @@ class Ri extends Tr {
4435
4427
  this.$$set({ translationurl: t }), O();
4436
4428
  }
4437
4429
  }
4438
- Sr(Ri, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4430
+ Er($i, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4439
4431
  export {
4440
- Ri as G
4432
+ $i as G
4441
4433
  };