@everymatrix/general-logout 1.57.0 → 1.59.0

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,17 +1,17 @@
1
- var pr = Object.defineProperty, dr = Object.defineProperties;
2
- var mr = Object.getOwnPropertyDescriptors;
3
- var et = Object.getOwnPropertySymbols;
4
- var br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
5
- var Te = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
1
+ var hr = Object.defineProperty, lr = Object.defineProperties;
2
+ var cr = Object.getOwnPropertyDescriptors;
3
+ var Ye = Object.getOwnPropertySymbols;
4
+ var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- br.call(t, r) && Te(e, r, t[r]);
8
- if (et)
9
- for (var r of et(t))
10
- gr.call(t, r) && Te(e, r, t[r]);
7
+ fr.call(t, r) && Te(e, r, t[r]);
8
+ if (Ye)
9
+ for (var r of Ye(t))
10
+ pr.call(t, r) && Te(e, r, t[r]);
11
11
  return e;
12
- }, rt = (e, t) => dr(e, mr(t));
12
+ }, Ke = (e, t) => lr(e, cr(t));
13
13
  var T = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var nt = (e, t, r) => new Promise((n, i) => {
14
+ var et = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,25 +29,25 @@ var nt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function A() {
31
31
  }
32
- function Pt(e) {
32
+ function Bt(e) {
33
33
  return e();
34
34
  }
35
- function it() {
35
+ function tt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function oe(e) {
39
- e.forEach(Pt);
39
+ e.forEach(Bt);
40
40
  }
41
- function Qe(e) {
41
+ function Ze(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ot(e, t) {
44
+ function At(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function yr(e) {
47
+ function dr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function It(e, ...t) {
50
+ function wt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function It(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function vr(e, t, r) {
60
- e.$$.on_destroy.push(It(t, r));
59
+ function mr(e, t, r) {
60
+ e.$$.on_destroy.push(wt(t, r));
61
61
  }
62
62
  function S(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function _r(e, t, r) {
66
- const n = Er(e);
65
+ function br(e, t, r) {
66
+ const n = gr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = O("style");
69
- i.id = t, i.textContent = r, xr(n, i);
69
+ i.id = t, i.textContent = r, yr(n, i);
70
70
  }
71
71
  }
72
- function Er(e) {
72
+ function gr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,7 +79,7 @@ function Er(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function xr(e, t) {
82
+ function yr(e, t) {
83
83
  return S(
84
84
  /** @type {Document} */
85
85
  e.head || e,
@@ -101,26 +101,26 @@ function K(e) {
101
101
  function ge(e) {
102
102
  return document.createTextNode(e);
103
103
  }
104
- function Sr() {
104
+ function vr() {
105
105
  return ge(" ");
106
106
  }
107
- function Lt(e, t, r, n) {
107
+ function Pt(e, t, r, n) {
108
108
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
109
109
  }
110
110
  function H(e, t, r) {
111
111
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
112
112
  }
113
- function Tr(e) {
113
+ function _r(e) {
114
114
  return Array.from(e.childNodes);
115
115
  }
116
- function Nt(e, t) {
116
+ function Ot(e, t) {
117
117
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
118
  t);
119
119
  }
120
- function Hr(e, t, r, n) {
120
+ function xr(e, t, r, n) {
121
121
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
122
122
  }
123
- function Br(e) {
123
+ function Er(e) {
124
124
  const t = {};
125
125
  return e.childNodes.forEach(
126
126
  /** @param {Element} node */
@@ -133,81 +133,81 @@ let re;
133
133
  function te(e) {
134
134
  re = e;
135
135
  }
136
- function Ar() {
136
+ function Sr() {
137
137
  if (!re)
138
138
  throw new Error("Function called outside component initialization");
139
139
  return re;
140
140
  }
141
- function wr(e) {
142
- Ar().$$.on_mount.push(e);
141
+ function Tr(e) {
142
+ Sr().$$.on_mount.push(e);
143
143
  }
144
- const j = [], Ne = [];
144
+ const j = [], Le = [];
145
145
  let k = [];
146
- const ot = [], Pr = /* @__PURE__ */ Promise.resolve();
147
- let Me = !1;
148
- function Or() {
149
- Me || (Me = !0, Pr.then(w));
146
+ const rt = [], Hr = /* @__PURE__ */ Promise.resolve();
147
+ let Ne = !1;
148
+ function Br() {
149
+ Ne || (Ne = !0, Hr.then(w));
150
150
  }
151
- function Ce(e) {
151
+ function Me(e) {
152
152
  k.push(e);
153
153
  }
154
154
  const He = /* @__PURE__ */ new Set();
155
- let G = 0;
155
+ let D = 0;
156
156
  function w() {
157
- if (G !== 0)
157
+ if (D !== 0)
158
158
  return;
159
159
  const e = re;
160
160
  do {
161
161
  try {
162
- for (; G < j.length; ) {
163
- const t = j[G];
164
- G++, te(t), Ir(t.$$);
162
+ for (; D < j.length; ) {
163
+ const t = j[D];
164
+ D++, te(t), Ar(t.$$);
165
165
  }
166
166
  } catch (t) {
167
- throw j.length = 0, G = 0, t;
167
+ throw j.length = 0, D = 0, t;
168
168
  }
169
- for (te(null), j.length = 0, G = 0; Ne.length; )
170
- Ne.pop()();
169
+ for (te(null), j.length = 0, D = 0; Le.length; )
170
+ Le.pop()();
171
171
  for (let t = 0; t < k.length; t += 1) {
172
172
  const r = k[t];
173
173
  He.has(r) || (He.add(r), r());
174
174
  }
175
175
  k.length = 0;
176
176
  } while (j.length);
177
- for (; ot.length; )
178
- ot.pop()();
179
- Me = !1, He.clear(), te(e);
177
+ for (; rt.length; )
178
+ rt.pop()();
179
+ Ne = !1, He.clear(), te(e);
180
180
  }
181
- function Ir(e) {
181
+ function Ar(e) {
182
182
  if (e.fragment !== null) {
183
183
  e.update(), oe(e.before_update);
184
184
  const t = e.dirty;
185
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
185
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
186
186
  }
187
187
  }
188
- function Lr(e) {
188
+ function wr(e) {
189
189
  const t = [], r = [];
190
190
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
191
191
  }
192
- const Nr = /* @__PURE__ */ new Set();
193
- function Mr(e, t) {
194
- e && e.i && (Nr.delete(e), e.i(t));
192
+ const Pr = /* @__PURE__ */ new Set();
193
+ function Or(e, t) {
194
+ e && e.i && (Pr.delete(e), e.i(t));
195
195
  }
196
- function Cr(e, t, r) {
196
+ function Ir(e, t, r) {
197
197
  const { fragment: n, after_update: i } = e.$$;
198
- n && n.m(t, r), Ce(() => {
199
- const o = e.$$.on_mount.map(Pt).filter(Qe);
198
+ n && n.m(t, r), Me(() => {
199
+ const o = e.$$.on_mount.map(Bt).filter(Ze);
200
200
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
201
- }), i.forEach(Ce);
201
+ }), i.forEach(Me);
202
202
  }
203
- function $r(e, t) {
203
+ function Lr(e, t) {
204
204
  const r = e.$$;
205
- r.fragment !== null && (Lr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
205
+ r.fragment !== null && (wr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
206
206
  }
207
- function Rr(e, t) {
208
- e.$$.dirty[0] === -1 && (j.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
+ function Nr(e, t) {
208
+ e.$$.dirty[0] === -1 && (j.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
209
209
  }
210
- function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
210
+ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
211
211
  const h = re;
212
212
  te(e);
213
213
  const u = e.$$ = {
@@ -217,7 +217,7 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
217
217
  props: o,
218
218
  update: A,
219
219
  not_equal: i,
220
- bound: it(),
220
+ bound: tt(),
221
221
  // lifecycle
222
222
  on_mount: [],
223
223
  on_destroy: [],
@@ -226,7 +226,7 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
226
226
  after_update: [],
227
227
  context: new Map(t.context || (h ? h.$$.context : [])),
228
228
  // everything else
229
- callbacks: it(),
229
+ callbacks: tt(),
230
230
  dirty: a,
231
231
  skip_bound: !1,
232
232
  root: t.target || h.$$.root
@@ -235,19 +235,19 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
235
235
  let l = !1;
236
236
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
237
237
  const d = p.length ? p[0] : c;
238
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Rr(e, f)), c;
238
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Nr(e, f)), c;
239
239
  }) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
240
240
  if (t.hydrate) {
241
- const f = Tr(t.target);
241
+ const f = _r(t.target);
242
242
  u.fragment && u.fragment.l(f), f.forEach(Q);
243
243
  } else
244
244
  u.fragment && u.fragment.c();
245
- t.intro && Mr(e.$$.fragment), Cr(e, t.target, t.anchor), w();
245
+ t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), w();
246
246
  }
247
247
  te(h);
248
248
  }
249
- let Mt;
250
- typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
249
+ let It;
250
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
251
251
  constructor(t, r, n) {
252
252
  super();
253
253
  /** The Svelte component constructor */
@@ -284,7 +284,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
284
284
  }
285
285
  }
286
286
  connectedCallback() {
287
- return nt(this, null, function* () {
287
+ return et(this, null, function* () {
288
288
  if (this.$$cn = !0, !this.$$c) {
289
289
  let t = function(o) {
290
290
  return () => {
@@ -308,7 +308,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
308
308
  };
309
309
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
310
310
  return;
311
- const r = {}, n = Br(this);
311
+ const r = {}, n = Er(this);
312
312
  for (const o of this.$$s)
313
313
  o in n && (r[o] = [t(o)]);
314
314
  for (const o of this.attributes) {
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
319
319
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
320
320
  this.$$c = new this.$$ctor({
321
321
  target: this.shadowRoot || this,
322
- props: rt(tt({}, this.$$d), {
322
+ props: Ke(qe({}, this.$$d), {
323
323
  $$slots: r,
324
324
  $$scope: {
325
325
  ctx: []
@@ -397,8 +397,8 @@ function ce(e, t, r, n) {
397
397
  return t;
398
398
  }
399
399
  }
400
- function Dr(e, t, r, n, i, o) {
401
- let s = class extends Mt {
400
+ function Cr(e, t, r, n, i, o) {
401
+ let s = class extends It {
402
402
  constructor() {
403
403
  super(e, r, i), this.$$p_d = t;
404
404
  }
@@ -428,7 +428,7 @@ function Dr(e, t, r, n, i, o) {
428
428
  }), e.element = /** @type {any} */
429
429
  s, s;
430
430
  }
431
- class Gr {
431
+ class $r {
432
432
  constructor() {
433
433
  /**
434
434
  * ### PRIVATE API
@@ -449,7 +449,7 @@ class Gr {
449
449
  }
450
450
  /** @returns {void} */
451
451
  $destroy() {
452
- $r(this, 1), this.$destroy = A;
452
+ Lr(this, 1), this.$destroy = A;
453
453
  }
454
454
  /**
455
455
  * @template {Extract<keyof Events, string>} K
@@ -458,7 +458,7 @@ class Gr {
458
458
  * @returns {() => void}
459
459
  */
460
460
  $on(t, r) {
461
- if (!Qe(r))
461
+ if (!Ze(r))
462
462
  return A;
463
463
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
464
464
  return n.push(r), () => {
@@ -471,11 +471,11 @@ class Gr {
471
471
  * @returns {void}
472
472
  */
473
473
  $set(t) {
474
- this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
474
+ this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
475
  }
476
476
  }
477
- const Fr = "4";
478
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
477
+ const Rr = "4";
478
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
479
479
  /*! *****************************************************************************
480
480
  Copyright (c) Microsoft Corporation.
481
481
 
@@ -490,18 +490,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
490
490
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
491
491
  PERFORMANCE OF THIS SOFTWARE.
492
492
  ***************************************************************************** */
493
- var $e = function(e, t) {
494
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
493
+ var Ce = function(e, t) {
494
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
495
495
  r.__proto__ = n;
496
496
  } || function(r, n) {
497
497
  for (var i in n)
498
498
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
499
- }, $e(e, t);
499
+ }, Ce(e, t);
500
500
  };
501
501
  function L(e, t) {
502
502
  if (typeof t != "function" && t !== null)
503
503
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
504
- $e(e, t);
504
+ Ce(e, t);
505
505
  function r() {
506
506
  this.constructor = e;
507
507
  }
@@ -517,7 +517,7 @@ var g = function() {
517
517
  return t;
518
518
  }, g.apply(this, arguments);
519
519
  };
520
- function jr(e, t) {
520
+ function Ur(e, t) {
521
521
  var r = {};
522
522
  for (var n in e)
523
523
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -526,7 +526,7 @@ function jr(e, t) {
526
526
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
527
527
  return r;
528
528
  }
529
- function Re(e) {
529
+ function $e(e) {
530
530
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
531
531
  if (r)
532
532
  return r.call(e);
@@ -538,7 +538,7 @@ function Re(e) {
538
538
  };
539
539
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
540
540
  }
541
- function Ue(e, t) {
541
+ function Re(e, t) {
542
542
  var r = typeof Symbol == "function" && e[Symbol.iterator];
543
543
  if (!r)
544
544
  return e;
@@ -567,13 +567,13 @@ function V(e, t, r) {
567
567
  function I(e) {
568
568
  return typeof e == "function";
569
569
  }
570
- function Ct(e) {
570
+ function Lt(e) {
571
571
  var t = function(n) {
572
572
  Error.call(n), n.stack = new Error().stack;
573
573
  }, r = e(t);
574
574
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
575
575
  }
576
- var Be = Ct(function(e) {
576
+ var Be = Lt(function(e) {
577
577
  return function(r) {
578
578
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
579
579
  ` + r.map(function(n, i) {
@@ -582,7 +582,7 @@ var Be = Ct(function(e) {
582
582
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
583
583
  };
584
584
  });
585
- function De(e, t) {
585
+ function Ue(e, t) {
586
586
  if (e) {
587
587
  var r = e.indexOf(t);
588
588
  0 <= r && e.splice(r, 1);
@@ -600,7 +600,7 @@ var ye = function() {
600
600
  if (s)
601
601
  if (this._parentage = null, Array.isArray(s))
602
602
  try {
603
- for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
603
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
604
604
  var u = h.value;
605
605
  u.remove(this);
606
606
  }
@@ -627,12 +627,12 @@ var ye = function() {
627
627
  if (f) {
628
628
  this._finalizers = null;
629
629
  try {
630
- for (var c = Re(f), p = c.next(); !p.done; p = c.next()) {
630
+ for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
631
631
  var d = p.value;
632
632
  try {
633
- st(d);
633
+ nt(d);
634
634
  } catch (v) {
635
- o = o != null ? o : [], v instanceof Be ? o = V(V([], Ue(o)), Ue(v.errors)) : o.push(v);
635
+ o = o != null ? o : [], v instanceof Be ? o = V(V([], Re(o)), Re(v.errors)) : o.push(v);
636
636
  }
637
637
  }
638
638
  } catch (v) {
@@ -653,7 +653,7 @@ var ye = function() {
653
653
  var r;
654
654
  if (t && t !== this)
655
655
  if (this.closed)
656
- st(t);
656
+ nt(t);
657
657
  else {
658
658
  if (t instanceof e) {
659
659
  if (t.closed || t._hasParent(this))
@@ -670,53 +670,49 @@ var ye = function() {
670
670
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
671
671
  }, e.prototype._removeParent = function(t) {
672
672
  var r = this._parentage;
673
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
673
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
674
674
  }, e.prototype.remove = function(t) {
675
675
  var r = this._finalizers;
676
- r && De(r, t), t instanceof e && t._removeParent(this);
676
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
677
677
  }, e.EMPTY = function() {
678
678
  var t = new e();
679
679
  return t.closed = !0, t;
680
680
  }(), e;
681
- }(), $t = ye.EMPTY;
682
- function Rt(e) {
681
+ }(), Nt = ye.EMPTY;
682
+ function Mt(e) {
683
683
  return e instanceof ye || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
684
684
  }
685
- function st(e) {
685
+ function nt(e) {
686
686
  I(e) ? e() : e.unsubscribe();
687
687
  }
688
- var Ut = {
689
- onUnhandledError: null,
690
- onStoppedNotification: null,
691
- Promise: void 0,
692
- useDeprecatedSynchronousErrorHandling: !1,
693
- useDeprecatedNextContext: !1
694
- }, kr = {
688
+ var Gr = {
689
+ Promise: void 0
690
+ }, Dr = {
695
691
  setTimeout: function(e, t) {
696
692
  for (var r = [], n = 2; n < arguments.length; n++)
697
693
  r[n - 2] = arguments[n];
698
- return setTimeout.apply(void 0, V([e, t], Ue(r)));
694
+ return setTimeout.apply(void 0, V([e, t], Re(r)));
699
695
  },
700
696
  clearTimeout: function(e) {
701
697
  return clearTimeout(e);
702
698
  },
703
699
  delegate: void 0
704
700
  };
705
- function Vr(e) {
706
- kr.setTimeout(function() {
701
+ function Fr(e) {
702
+ Dr.setTimeout(function() {
707
703
  throw e;
708
704
  });
709
705
  }
710
- function at() {
706
+ function it() {
711
707
  }
712
708
  function fe(e) {
713
709
  e();
714
710
  }
715
- var Dt = function(e) {
711
+ var Ct = function(e) {
716
712
  L(t, e);
717
713
  function t(r) {
718
714
  var n = e.call(this) || this;
719
- return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Zr, n;
715
+ return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Vr, n;
720
716
  }
721
717
  return t.create = function(r, n, i) {
722
718
  return new Ge(r, n, i);
@@ -743,11 +739,7 @@ var Dt = function(e) {
743
739
  this.unsubscribe();
744
740
  }
745
741
  }, t;
746
- }(ye), Xr = Function.prototype.bind;
747
- function Ae(e, t) {
748
- return Xr.call(e, t);
749
- }
750
- var Wr = function() {
742
+ }(ye), jr = function() {
751
743
  function e(t) {
752
744
  this.partialObserver = t;
753
745
  }
@@ -782,51 +774,39 @@ var Wr = function() {
782
774
  L(t, e);
783
775
  function t(r, n, i) {
784
776
  var o = e.call(this) || this, s;
785
- if (I(r) || !r)
786
- s = {
787
- next: r != null ? r : void 0,
788
- error: n != null ? n : void 0,
789
- complete: i != null ? i : void 0
790
- };
791
- else {
792
- var a;
793
- o && Ut.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
794
- return o.unsubscribe();
795
- }, s = {
796
- next: r.next && Ae(r.next, a),
797
- error: r.error && Ae(r.error, a),
798
- complete: r.complete && Ae(r.complete, a)
799
- }) : s = r;
800
- }
801
- return o.destination = new Wr(s), o;
777
+ return I(r) || !r ? s = {
778
+ next: r != null ? r : void 0,
779
+ error: n != null ? n : void 0,
780
+ complete: i != null ? i : void 0
781
+ } : s = r, o.destination = new jr(s), o;
802
782
  }
803
783
  return t;
804
- }(Dt);
784
+ }(Ct);
805
785
  function he(e) {
806
- Vr(e);
786
+ Fr(e);
807
787
  }
808
- function zr(e) {
788
+ function kr(e) {
809
789
  throw e;
810
790
  }
811
- var Zr = {
791
+ var Vr = {
812
792
  closed: !0,
813
- next: at,
814
- error: zr,
815
- complete: at
816
- }, Qr = function() {
793
+ next: it,
794
+ error: kr,
795
+ complete: it
796
+ }, Xr = function() {
817
797
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
818
798
  }();
819
- function Jr(e) {
799
+ function Wr(e) {
820
800
  return e;
821
801
  }
822
- function Yr(e) {
823
- return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
802
+ function zr(e) {
803
+ return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
824
804
  return e.reduce(function(n, i) {
825
805
  return i(n);
826
806
  }, r);
827
807
  };
828
808
  }
829
- var ut = function() {
809
+ var ot = function() {
830
810
  function e(t) {
831
811
  t && (this._subscribe = t);
832
812
  }
@@ -834,7 +814,7 @@ var ut = function() {
834
814
  var r = new e();
835
815
  return r.source = this, r.operator = t, r;
836
816
  }, e.prototype.subscribe = function(t, r, n) {
837
- var i = this, o = Kr(t) ? t : new Ge(t, r, n);
817
+ var i = this, o = Qr(t) ? t : new Ge(t, r, n);
838
818
  return fe(function() {
839
819
  var s = i, a = s.operator, h = s.source;
840
820
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -847,7 +827,7 @@ var ut = function() {
847
827
  }
848
828
  }, e.prototype.forEach = function(t, r) {
849
829
  var n = this;
850
- return r = ht(r), new r(function(i, o) {
830
+ return r = st(r), new r(function(i, o) {
851
831
  var s = new Ge({
852
832
  next: function(a) {
853
833
  try {
@@ -864,15 +844,15 @@ var ut = function() {
864
844
  }, e.prototype._subscribe = function(t) {
865
845
  var r;
866
846
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
867
- }, e.prototype[Qr] = function() {
847
+ }, e.prototype[Xr] = function() {
868
848
  return this;
869
849
  }, e.prototype.pipe = function() {
870
850
  for (var t = [], r = 0; r < arguments.length; r++)
871
851
  t[r] = arguments[r];
872
- return Yr(t)(this);
852
+ return zr(t)(this);
873
853
  }, e.prototype.toPromise = function(t) {
874
854
  var r = this;
875
- return t = ht(t), new t(function(n, i) {
855
+ return t = st(t), new t(function(n, i) {
876
856
  var o;
877
857
  r.subscribe(function(s) {
878
858
  return o = s;
@@ -886,32 +866,32 @@ var ut = function() {
886
866
  return new e(t);
887
867
  }, e;
888
868
  }();
889
- function ht(e) {
869
+ function st(e) {
890
870
  var t;
891
- return (t = e != null ? e : Ut.Promise) !== null && t !== void 0 ? t : Promise;
871
+ return (t = e != null ? e : Gr.Promise) !== null && t !== void 0 ? t : Promise;
892
872
  }
893
- function qr(e) {
873
+ function Zr(e) {
894
874
  return e && I(e.next) && I(e.error) && I(e.complete);
895
875
  }
896
- function Kr(e) {
897
- return e && e instanceof Dt || qr(e) && Rt(e);
876
+ function Qr(e) {
877
+ return e && e instanceof Ct || Zr(e) && Mt(e);
898
878
  }
899
- var en = Ct(function(e) {
879
+ var Jr = Lt(function(e) {
900
880
  return function() {
901
881
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
902
882
  };
903
- }), Gt = function(e) {
883
+ }), $t = function(e) {
904
884
  L(t, e);
905
885
  function t() {
906
886
  var r = e.call(this) || this;
907
887
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
908
888
  }
909
889
  return t.prototype.lift = function(r) {
910
- var n = new lt(this, this);
890
+ var n = new at(this, this);
911
891
  return n.operator = r, n;
912
892
  }, t.prototype._throwIfClosed = function() {
913
893
  if (this.closed)
914
- throw new en();
894
+ throw new Jr();
915
895
  }, t.prototype.next = function(r) {
916
896
  var n = this;
917
897
  fe(function() {
@@ -919,7 +899,7 @@ var en = Ct(function(e) {
919
899
  if (n._throwIfClosed(), !n.isStopped) {
920
900
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
921
901
  try {
922
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
902
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
923
903
  var h = a.value;
924
904
  h.next(r);
925
905
  }
@@ -968,19 +948,19 @@ var en = Ct(function(e) {
968
948
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
969
949
  }, t.prototype._innerSubscribe = function(r) {
970
950
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
971
- return o || s ? $t : (this.currentObservers = null, a.push(r), new ye(function() {
972
- n.currentObservers = null, De(a, r);
951
+ return o || s ? Nt : (this.currentObservers = null, a.push(r), new ye(function() {
952
+ n.currentObservers = null, Ue(a, r);
973
953
  }));
974
954
  }, t.prototype._checkFinalizedStatuses = function(r) {
975
955
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
976
956
  i ? r.error(o) : s && r.complete();
977
957
  }, t.prototype.asObservable = function() {
978
- var r = new ut();
958
+ var r = new ot();
979
959
  return r.source = this, r;
980
960
  }, t.create = function(r, n) {
981
- return new lt(r, n);
961
+ return new at(r, n);
982
962
  }, t;
983
- }(ut), lt = function(e) {
963
+ }(ot), at = function(e) {
984
964
  L(t, e);
985
965
  function t(r, n) {
986
966
  var i = e.call(this) || this;
@@ -997,17 +977,17 @@ var en = Ct(function(e) {
997
977
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
998
978
  }, t.prototype._subscribe = function(r) {
999
979
  var n, i;
1000
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
980
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
1001
981
  }, t;
1002
- }(Gt), Ft = {
982
+ }($t), Rt = {
1003
983
  now: function() {
1004
- return (Ft.delegate || Date).now();
984
+ return (Rt.delegate || Date).now();
1005
985
  },
1006
986
  delegate: void 0
1007
- }, tn = function(e) {
987
+ }, Yr = function(e) {
1008
988
  L(t, e);
1009
989
  function t(r, n, i) {
1010
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
990
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
1011
991
  var o = e.call(this) || this;
1012
992
  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;
1013
993
  }
@@ -1027,15 +1007,15 @@ var en = Ct(function(e) {
1027
1007
  u && o.splice(0, u + 1);
1028
1008
  }
1029
1009
  }, t;
1030
- }(Gt);
1031
- const ct = [], ft = {}, rn = (e, t = 0) => {
1032
- if (ct.indexOf(e) == -1) {
1033
- const r = new tn(t);
1034
- ft[e] = r, ct.push(e);
1010
+ }($t);
1011
+ const ut = [], ht = {}, qr = (e, t = 0) => {
1012
+ if (ut.indexOf(e) == -1) {
1013
+ const r = new Yr(t);
1014
+ ht[e] = r, ut.push(e);
1035
1015
  }
1036
- return ft[e];
1016
+ return ht[e];
1037
1017
  }, F = [];
1038
- function nn(e, t) {
1018
+ function Kr(e, t) {
1039
1019
  return {
1040
1020
  subscribe: ve(e, t).subscribe
1041
1021
  };
@@ -1044,7 +1024,7 @@ function ve(e, t = A) {
1044
1024
  let r;
1045
1025
  const n = /* @__PURE__ */ new Set();
1046
1026
  function i(a) {
1047
- if (Ot(e, a) && (e = a, r)) {
1027
+ if (At(e, a) && (e = a, r)) {
1048
1028
  const h = !F.length;
1049
1029
  for (const u of n)
1050
1030
  u[1](), F.push(u, e);
@@ -1071,7 +1051,7 @@ function J(e, t, r) {
1071
1051
  if (!i.every(Boolean))
1072
1052
  throw new Error("derived() expects stores as input, got a falsy value");
1073
1053
  const o = t.length < 2;
1074
- return nn(r, (s, a) => {
1054
+ return Kr(r, (s, a) => {
1075
1055
  let h = !1;
1076
1056
  const u = [];
1077
1057
  let l = 0, f = A;
@@ -1080,9 +1060,9 @@ function J(e, t, r) {
1080
1060
  return;
1081
1061
  f();
1082
1062
  const d = t(n ? u[0] : u, s, a);
1083
- o ? s(d) : f = Qe(d) ? d : A;
1063
+ o ? s(d) : f = Ze(d) ? d : A;
1084
1064
  }, p = i.map(
1085
- (d, v) => It(
1065
+ (d, v) => wt(
1086
1066
  d,
1087
1067
  (B) => {
1088
1068
  u[v] = B, l &= ~(1 << v), h && c();
@@ -1097,70 +1077,70 @@ function J(e, t, r) {
1097
1077
  };
1098
1078
  });
1099
1079
  }
1100
- function on(e) {
1080
+ function en(e) {
1101
1081
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1102
1082
  }
1103
- var sn = function(t) {
1104
- return an(t) && !un(t);
1083
+ var tn = function(t) {
1084
+ return rn(t) && !nn(t);
1105
1085
  };
1106
- function an(e) {
1086
+ function rn(e) {
1107
1087
  return !!e && typeof e == "object";
1108
1088
  }
1109
- function un(e) {
1089
+ function nn(e) {
1110
1090
  var t = Object.prototype.toString.call(e);
1111
- return t === "[object RegExp]" || t === "[object Date]" || cn(e);
1091
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1112
1092
  }
1113
- var hn = typeof Symbol == "function" && Symbol.for, ln = hn ? Symbol.for("react.element") : 60103;
1114
- function cn(e) {
1115
- return e.$$typeof === ln;
1093
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1094
+ function an(e) {
1095
+ return e.$$typeof === sn;
1116
1096
  }
1117
- function fn(e) {
1097
+ function un(e) {
1118
1098
  return Array.isArray(e) ? [] : {};
1119
1099
  }
1120
1100
  function ne(e, t) {
1121
- return t.clone !== !1 && t.isMergeableObject(e) ? X(fn(e), e, t) : e;
1101
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(un(e), e, t) : e;
1122
1102
  }
1123
- function pn(e, t, r) {
1103
+ function hn(e, t, r) {
1124
1104
  return e.concat(t).map(function(n) {
1125
1105
  return ne(n, r);
1126
1106
  });
1127
1107
  }
1128
- function dn(e, t) {
1108
+ function ln(e, t) {
1129
1109
  if (!t.customMerge)
1130
1110
  return X;
1131
1111
  var r = t.customMerge(e);
1132
1112
  return typeof r == "function" ? r : X;
1133
1113
  }
1134
- function mn(e) {
1114
+ function cn(e) {
1135
1115
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1136
1116
  return Object.propertyIsEnumerable.call(e, t);
1137
1117
  }) : [];
1138
1118
  }
1139
- function pt(e) {
1140
- return Object.keys(e).concat(mn(e));
1119
+ function lt(e) {
1120
+ return Object.keys(e).concat(cn(e));
1141
1121
  }
1142
- function jt(e, t) {
1122
+ function Ut(e, t) {
1143
1123
  try {
1144
1124
  return t in e;
1145
1125
  } catch (r) {
1146
1126
  return !1;
1147
1127
  }
1148
1128
  }
1149
- function bn(e, t) {
1150
- return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1129
+ function fn(e, t) {
1130
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1151
1131
  }
1152
- function gn(e, t, r) {
1132
+ function pn(e, t, r) {
1153
1133
  var n = {};
1154
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1134
+ return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1155
1135
  n[i] = ne(e[i], r);
1156
- }), pt(t).forEach(function(i) {
1157
- bn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1136
+ }), lt(t).forEach(function(i) {
1137
+ fn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1158
1138
  }), n;
1159
1139
  }
1160
1140
  function X(e, t, r) {
1161
- r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ne;
1141
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ne;
1162
1142
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1163
- return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ne(t, r);
1143
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : ne(t, r);
1164
1144
  }
1165
1145
  X.all = function(t, r) {
1166
1146
  if (!Array.isArray(t))
@@ -1169,58 +1149,56 @@ X.all = function(t, r) {
1169
1149
  return X(n, i, r);
1170
1150
  }, {});
1171
1151
  };
1172
- var yn = X, vn = yn;
1173
- const _n = /* @__PURE__ */ on(vn);
1174
- function we(e, t) {
1175
- var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : xn;
1152
+ var dn = X, mn = dn;
1153
+ const bn = /* @__PURE__ */ en(mn);
1154
+ function Ae(e, t) {
1155
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : vn;
1176
1156
  return i(e, {
1177
1157
  cache: r,
1178
1158
  serializer: n
1179
1159
  });
1180
1160
  }
1181
- function En(e) {
1161
+ function gn(e) {
1182
1162
  return e == null || typeof e == "number" || typeof e == "boolean";
1183
1163
  }
1184
- function kt(e, t, r, n) {
1185
- var i = En(n) ? n : r(n), o = t.get(i);
1164
+ function yn(e, t, r, n) {
1165
+ var i = gn(n) ? n : r(n), o = t.get(i);
1186
1166
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1187
1167
  }
1188
- function Vt(e, t, r) {
1168
+ function Gt(e, t, r) {
1189
1169
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1190
1170
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1191
1171
  }
1192
- function Je(e, t, r, n, i) {
1172
+ function Dt(e, t, r, n, i) {
1193
1173
  return r.bind(t, e, n, i);
1194
1174
  }
1195
- function xn(e, t) {
1196
- var r = e.length === 1 ? kt : Vt;
1197
- return Je(e, this, r, t.cache.create(), t.serializer);
1198
- }
1199
- function Sn(e, t) {
1200
- return Je(e, this, Vt, t.cache.create(), t.serializer);
1175
+ function vn(e, t) {
1176
+ var r = e.length === 1 ? yn : Gt;
1177
+ return Dt(e, this, r, t.cache.create(), t.serializer);
1201
1178
  }
1202
- function Tn(e, t) {
1203
- return Je(e, this, kt, t.cache.create(), t.serializer);
1179
+ function _n(e, t) {
1180
+ return Dt(e, this, Gt, t.cache.create(), t.serializer);
1204
1181
  }
1205
- var Hn = function() {
1182
+ var xn = function() {
1206
1183
  return JSON.stringify(arguments);
1207
- };
1208
- function Ye() {
1209
- this.cache = /* @__PURE__ */ Object.create(null);
1210
- }
1211
- Ye.prototype.get = function(e) {
1212
- return this.cache[e];
1213
- };
1214
- Ye.prototype.set = function(e, t) {
1215
- this.cache[e] = t;
1216
- };
1217
- var Bn = {
1184
+ }, En = (
1185
+ /** @class */
1186
+ function() {
1187
+ function e() {
1188
+ this.cache = /* @__PURE__ */ Object.create(null);
1189
+ }
1190
+ return e.prototype.get = function(t) {
1191
+ return this.cache[t];
1192
+ }, e.prototype.set = function(t, r) {
1193
+ this.cache[t] = r;
1194
+ }, e;
1195
+ }()
1196
+ ), Sn = {
1218
1197
  create: function() {
1219
- return new Ye();
1198
+ return new En();
1220
1199
  }
1221
- }, Pe = {
1222
- variadic: Sn,
1223
- monadic: Tn
1200
+ }, we = {
1201
+ variadic: _n
1224
1202
  }, m;
1225
1203
  (function(e) {
1226
1204
  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";
@@ -1233,43 +1211,43 @@ var W;
1233
1211
  (function(e) {
1234
1212
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1235
1213
  })(W || (W = {}));
1236
- function dt(e) {
1214
+ function ct(e) {
1237
1215
  return e.type === _.literal;
1238
1216
  }
1239
- function An(e) {
1217
+ function Tn(e) {
1240
1218
  return e.type === _.argument;
1241
1219
  }
1242
- function Xt(e) {
1220
+ function Ft(e) {
1243
1221
  return e.type === _.number;
1244
1222
  }
1245
- function Wt(e) {
1223
+ function jt(e) {
1246
1224
  return e.type === _.date;
1247
1225
  }
1248
- function zt(e) {
1226
+ function kt(e) {
1249
1227
  return e.type === _.time;
1250
1228
  }
1251
- function Zt(e) {
1229
+ function Vt(e) {
1252
1230
  return e.type === _.select;
1253
1231
  }
1254
- function Qt(e) {
1232
+ function Xt(e) {
1255
1233
  return e.type === _.plural;
1256
1234
  }
1257
- function wn(e) {
1235
+ function Hn(e) {
1258
1236
  return e.type === _.pound;
1259
1237
  }
1260
- function Jt(e) {
1238
+ function Wt(e) {
1261
1239
  return e.type === _.tag;
1262
1240
  }
1263
- function Yt(e) {
1241
+ function zt(e) {
1264
1242
  return !!(e && typeof e == "object" && e.type === W.number);
1265
1243
  }
1266
- function Fe(e) {
1244
+ function De(e) {
1267
1245
  return !!(e && typeof e == "object" && e.type === W.dateTime);
1268
1246
  }
1269
- var qt = /[ \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;
1270
- function On(e) {
1247
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1248
+ function An(e) {
1271
1249
  var t = {};
1272
- return e.replace(Pn, function(r) {
1250
+ return e.replace(Bn, function(r) {
1273
1251
  var n = r.length;
1274
1252
  switch (r[0]) {
1275
1253
  case "G":
@@ -1358,11 +1336,11 @@ function On(e) {
1358
1336
  return "";
1359
1337
  }), t;
1360
1338
  }
1361
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1362
- function Ln(e) {
1339
+ var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1340
+ function Pn(e) {
1363
1341
  if (e.length === 0)
1364
1342
  throw new Error("Number skeleton cannot be empty");
1365
- for (var t = e.split(In).filter(function(c) {
1343
+ for (var t = e.split(wn).filter(function(c) {
1366
1344
  return c.length > 0;
1367
1345
  }), r = [], n = 0, i = t; n < i.length; n++) {
1368
1346
  var o = i[n], s = o.split("/");
@@ -1377,17 +1355,17 @@ function Ln(e) {
1377
1355
  }
1378
1356
  return r;
1379
1357
  }
1380
- function Nn(e) {
1358
+ function On(e) {
1381
1359
  return e.replace(/^(.*?)-/, "");
1382
1360
  }
1383
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1384
- function bt(e) {
1361
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1362
+ function pt(e) {
1385
1363
  var t = {};
1386
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1364
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1387
1365
  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)), "";
1388
1366
  }), t;
1389
1367
  }
1390
- function tr(e) {
1368
+ function Yt(e) {
1391
1369
  switch (e) {
1392
1370
  case "sign-auto":
1393
1371
  return {
@@ -1427,7 +1405,7 @@ function tr(e) {
1427
1405
  };
1428
1406
  }
1429
1407
  }
1430
- function Cn(e) {
1408
+ function Ln(e) {
1431
1409
  var t;
1432
1410
  if (e[0] === "E" && e[1] === "E" ? (t = {
1433
1411
  notation: "engineering"
@@ -1435,17 +1413,17 @@ function Cn(e) {
1435
1413
  notation: "scientific"
1436
1414
  }, e = e.slice(1)), t) {
1437
1415
  var r = e.slice(0, 2);
1438
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1416
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1439
1417
  throw new Error("Malformed concise eng/scientific notation");
1440
1418
  t.minimumIntegerDigits = e.length;
1441
1419
  }
1442
1420
  return t;
1443
1421
  }
1444
- function gt(e) {
1445
- var t = {}, r = tr(e);
1422
+ function dt(e) {
1423
+ var t = {}, r = Yt(e);
1446
1424
  return r || t;
1447
1425
  }
1448
- function $n(e) {
1426
+ function Nn(e) {
1449
1427
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1450
1428
  var i = n[r];
1451
1429
  switch (i.stem) {
@@ -1469,7 +1447,7 @@ function $n(e) {
1469
1447
  continue;
1470
1448
  case "measure-unit":
1471
1449
  case "unit":
1472
- t.style = "unit", t.unit = Nn(i.options[0]);
1450
+ t.style = "unit", t.unit = On(i.options[0]);
1473
1451
  continue;
1474
1452
  case "compact-short":
1475
1453
  case "K":
@@ -1481,12 +1459,12 @@ function $n(e) {
1481
1459
  continue;
1482
1460
  case "scientific":
1483
1461
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1484
- return g(g({}, h), gt(u));
1462
+ return g(g({}, h), dt(u));
1485
1463
  }, {}));
1486
1464
  continue;
1487
1465
  case "engineering":
1488
1466
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1489
- return g(g({}, h), gt(u));
1467
+ return g(g({}, h), dt(u));
1490
1468
  }, {}));
1491
1469
  continue;
1492
1470
  case "notation-simple":
@@ -1531,7 +1509,7 @@ function $n(e) {
1531
1509
  case "integer-width":
1532
1510
  if (i.options.length > 1)
1533
1511
  throw new RangeError("integer-width stems only accept a single optional option");
1534
- i.options[0].replace(Mn, function(h, u, l, f, c, p) {
1512
+ i.options[0].replace(In, function(h, u, l, f, c, p) {
1535
1513
  if (u)
1536
1514
  t.minimumIntegerDigits = l.length;
1537
1515
  else {
@@ -1544,27 +1522,27 @@ function $n(e) {
1544
1522
  });
1545
1523
  continue;
1546
1524
  }
1547
- if (er.test(i.stem)) {
1525
+ if (Jt.test(i.stem)) {
1548
1526
  t.minimumIntegerDigits = i.stem.length;
1549
1527
  continue;
1550
1528
  }
1551
- if (mt.test(i.stem)) {
1529
+ if (ft.test(i.stem)) {
1552
1530
  if (i.options.length > 1)
1553
1531
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1554
- i.stem.replace(mt, function(h, u, l, f, c, p) {
1532
+ i.stem.replace(ft, function(h, u, l, f, c, p) {
1555
1533
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1556
1534
  });
1557
1535
  var o = i.options[0];
1558
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), bt(o)));
1536
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), pt(o)));
1559
1537
  continue;
1560
1538
  }
1561
- if (Kt.test(i.stem)) {
1562
- t = g(g({}, t), bt(i.stem));
1539
+ if (Qt.test(i.stem)) {
1540
+ t = g(g({}, t), pt(i.stem));
1563
1541
  continue;
1564
1542
  }
1565
- var s = tr(i.stem);
1543
+ var s = Yt(i.stem);
1566
1544
  s && (t = g(g({}, t), s));
1567
- var a = Cn(i.stem);
1545
+ var a = Ln(i.stem);
1568
1546
  a && (t = g(g({}, t), a));
1569
1547
  }
1570
1548
  return t;
@@ -2984,13 +2962,13 @@ var le = {
2984
2962
  "h"
2985
2963
  ]
2986
2964
  };
2987
- function Rn(e, t) {
2965
+ function Mn(e, t) {
2988
2966
  for (var r = "", n = 0; n < e.length; n++) {
2989
2967
  var i = e.charAt(n);
2990
2968
  if (i === "j") {
2991
2969
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2992
2970
  o++, n++;
2993
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Un(t);
2971
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
2994
2972
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2995
2973
  r += h;
2996
2974
  for (; s-- > 0; )
@@ -3000,7 +2978,7 @@ function Rn(e, t) {
3000
2978
  }
3001
2979
  return r;
3002
2980
  }
3003
- function Un(e) {
2981
+ function Cn(e) {
3004
2982
  var t = e.hourCycle;
3005
2983
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3006
2984
  e.hourCycles && // @ts-ignore
@@ -3022,20 +3000,20 @@ function Un(e) {
3022
3000
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3023
3001
  return i[0];
3024
3002
  }
3025
- var Oe, Dn = new RegExp("^".concat(qt.source, "*")), Gn = new RegExp("".concat(qt.source, "*$"));
3003
+ var Pe, $n = new RegExp("^".concat(Zt.source, "*")), Rn = new RegExp("".concat(Zt.source, "*$"));
3026
3004
  function b(e, t) {
3027
3005
  return { start: e, end: t };
3028
3006
  }
3029
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Zn = zn ? Number.isSafeInteger : function(e) {
3007
+ var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Dn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
3030
3008
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3031
- }, je = !0;
3009
+ }, Fe = !0;
3032
3010
  try {
3033
- var Qn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
- je = ((Oe = Qn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3011
+ var Wn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3012
+ Fe = ((Pe = Wn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3035
3013
  } catch (e) {
3036
- je = !1;
3014
+ Fe = !1;
3037
3015
  }
3038
- var yt = Fn ? (
3016
+ var mt = Un ? (
3039
3017
  // Native
3040
3018
  function(t, r, n) {
3041
3019
  return t.startsWith(r, n);
@@ -3045,7 +3023,7 @@ var yt = Fn ? (
3045
3023
  function(t, r, n) {
3046
3024
  return t.slice(n, n + r.length) === r;
3047
3025
  }
3048
- ), ke = jn ? String.fromCodePoint : (
3026
+ ), je = Gn ? String.fromCodePoint : (
3049
3027
  // IE11
3050
3028
  function() {
3051
3029
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3057,9 +3035,9 @@ var yt = Fn ? (
3057
3035
  }
3058
3036
  return n;
3059
3037
  }
3060
- ), vt = (
3038
+ ), bt = (
3061
3039
  // native
3062
- kn ? Object.fromEntries : (
3040
+ Dn ? Object.fromEntries : (
3063
3041
  // Ponyfill
3064
3042
  function(t) {
3065
3043
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3069,7 +3047,7 @@ var yt = Fn ? (
3069
3047
  return r;
3070
3048
  }
3071
3049
  )
3072
- ), rr = Vn ? (
3050
+ ), qt = Fn ? (
3073
3051
  // Native
3074
3052
  function(t, r) {
3075
3053
  return t.codePointAt(r);
@@ -3083,7 +3061,7 @@ var yt = Fn ? (
3083
3061
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3084
3062
  }
3085
3063
  }
3086
- ), Jn = Xn ? (
3064
+ ), zn = jn ? (
3087
3065
  // Native
3088
3066
  function(t) {
3089
3067
  return t.trimStart();
@@ -3091,9 +3069,9 @@ var yt = Fn ? (
3091
3069
  ) : (
3092
3070
  // Ponyfill
3093
3071
  function(t) {
3094
- return t.replace(Dn, "");
3072
+ return t.replace($n, "");
3095
3073
  }
3096
- ), Yn = Wn ? (
3074
+ ), Zn = kn ? (
3097
3075
  // Native
3098
3076
  function(t) {
3099
3077
  return t.trimEnd();
@@ -3101,32 +3079,32 @@ var yt = Fn ? (
3101
3079
  ) : (
3102
3080
  // Ponyfill
3103
3081
  function(t) {
3104
- return t.replace(Gn, "");
3082
+ return t.replace(Rn, "");
3105
3083
  }
3106
3084
  );
3107
- function nr(e, t) {
3085
+ function Kt(e, t) {
3108
3086
  return new RegExp(e, t);
3109
3087
  }
3110
- var Ve;
3111
- if (je) {
3112
- var _t = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
- Ve = function(t, r) {
3088
+ var ke;
3089
+ if (Fe) {
3090
+ var gt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3091
+ ke = function(t, r) {
3114
3092
  var n;
3115
- _t.lastIndex = r;
3116
- var i = _t.exec(t);
3093
+ gt.lastIndex = r;
3094
+ var i = gt.exec(t);
3117
3095
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3118
3096
  };
3119
3097
  } else
3120
- Ve = function(t, r) {
3098
+ ke = function(t, r) {
3121
3099
  for (var n = []; ; ) {
3122
- var i = rr(t, r);
3123
- if (i === void 0 || ir(i) || ti(i))
3100
+ var i = qt(t, r);
3101
+ if (i === void 0 || er(i) || qn(i))
3124
3102
  break;
3125
3103
  n.push(i), r += i >= 65536 ? 2 : 1;
3126
3104
  }
3127
- return ke.apply(void 0, n);
3105
+ return je.apply(void 0, n);
3128
3106
  };
3129
- var qn = (
3107
+ var Qn = (
3130
3108
  /** @class */
3131
3109
  function() {
3132
3110
  function e(t, r) {
@@ -3157,7 +3135,7 @@ var qn = (
3157
3135
  if (n)
3158
3136
  break;
3159
3137
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3160
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3138
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3161
3139
  var s = this.parseTag(t, r);
3162
3140
  if (s.err)
3163
3141
  return s;
@@ -3190,7 +3168,7 @@ var qn = (
3190
3168
  return o;
3191
3169
  var s = o.val, a = this.clonePosition();
3192
3170
  if (this.bumpIf("</")) {
3193
- if (this.isEOF() || !Xe(this.char()))
3171
+ if (this.isEOF() || !Ve(this.char()))
3194
3172
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3195
3173
  var h = this.clonePosition(), u = this.parseTagName();
3196
3174
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3208,7 +3186,7 @@ var qn = (
3208
3186
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3209
3187
  }, e.prototype.parseTagName = function() {
3210
3188
  var t = this.offset();
3211
- for (this.bump(); !this.isEOF() && ei(this.char()); )
3189
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3212
3190
  this.bump();
3213
3191
  return this.message.slice(t, this.offset());
3214
3192
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3237,7 +3215,7 @@ var qn = (
3237
3215
  };
3238
3216
  }, e.prototype.tryParseLeftAngleBracket = function() {
3239
3217
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3240
- !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3218
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3241
3219
  }, e.prototype.tryParseQuote = function(t) {
3242
3220
  if (this.isEOF() || this.char() !== 39)
3243
3221
  return null;
@@ -3271,12 +3249,12 @@ var qn = (
3271
3249
  r.push(n);
3272
3250
  this.bump();
3273
3251
  }
3274
- return ke.apply(void 0, r);
3252
+ return je.apply(void 0, r);
3275
3253
  }, e.prototype.tryParseUnquoted = function(t, r) {
3276
3254
  if (this.isEOF())
3277
3255
  return null;
3278
3256
  var n = this.char();
3279
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3257
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3280
3258
  }, e.prototype.parseArgument = function(t, r) {
3281
3259
  var n = this.clonePosition();
3282
3260
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3305,7 +3283,7 @@ var qn = (
3305
3283
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3306
3284
  }
3307
3285
  }, e.prototype.parseIdentifierIfPossible = function() {
3308
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3286
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3309
3287
  this.bumpTo(i);
3310
3288
  var o = this.clonePosition(), s = b(t, o);
3311
3289
  return { value: n, location: s };
@@ -3324,7 +3302,7 @@ var qn = (
3324
3302
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3325
3303
  if (f.err)
3326
3304
  return f;
3327
- var c = Yn(f.val);
3305
+ var c = Zn(f.val);
3328
3306
  if (c.length === 0)
3329
3307
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3330
3308
  var p = b(l, this.clonePosition());
@@ -3334,8 +3312,8 @@ var qn = (
3334
3312
  if (d.err)
3335
3313
  return d;
3336
3314
  var v = b(i, this.clonePosition());
3337
- if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
3338
- var B = Jn(u.style.slice(2));
3315
+ if (u && mt(u == null ? void 0 : u.style, "::", 0)) {
3316
+ var B = zn(u.style.slice(2));
3339
3317
  if (a === "number") {
3340
3318
  var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3341
3319
  return f.err ? f : {
@@ -3346,12 +3324,12 @@ var qn = (
3346
3324
  if (B.length === 0)
3347
3325
  return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3348
3326
  var $ = B;
3349
- this.locale && ($ = Rn(B, this.locale));
3327
+ this.locale && ($ = Mn(B, this.locale));
3350
3328
  var c = {
3351
3329
  type: W.dateTime,
3352
3330
  pattern: $,
3353
3331
  location: u.styleLocation,
3354
- parsedOptions: this.shouldParseSkeletons ? On($) : {}
3332
+ parsedOptions: this.shouldParseSkeletons ? An($) : {}
3355
3333
  }, N = a === "date" ? _.date : _.time;
3356
3334
  return {
3357
3335
  val: { type: N, value: n, location: v, style: c },
@@ -3372,9 +3350,9 @@ var qn = (
3372
3350
  case "plural":
3373
3351
  case "selectordinal":
3374
3352
  case "select": {
3375
- var x = this.clonePosition();
3353
+ var E = this.clonePosition();
3376
3354
  if (this.bumpSpace(), !this.bumpIf(","))
3377
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, g({}, x)));
3355
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(E, g({}, E)));
3378
3356
  this.bumpSpace();
3379
3357
  var R = this.parseIdentifierIfPossible(), P = 0;
3380
3358
  if (a !== "select" && R.value === "offset") {
@@ -3386,9 +3364,9 @@ var qn = (
3386
3364
  return f;
3387
3365
  this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = f.val;
3388
3366
  }
3389
- var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
3390
- if (D.err)
3391
- return D;
3367
+ var G = this.tryParsePluralOrSelectOptions(t, a, r, R);
3368
+ if (G.err)
3369
+ return G;
3392
3370
  var d = this.tryParseArgumentClose(i);
3393
3371
  if (d.err)
3394
3372
  return d;
@@ -3397,7 +3375,7 @@ var qn = (
3397
3375
  val: {
3398
3376
  type: _.select,
3399
3377
  value: n,
3400
- options: vt(D.val),
3378
+ options: bt(G.val),
3401
3379
  location: ue
3402
3380
  },
3403
3381
  err: null
@@ -3405,7 +3383,7 @@ var qn = (
3405
3383
  val: {
3406
3384
  type: _.plural,
3407
3385
  value: n,
3408
- options: vt(D.val),
3386
+ options: bt(G.val),
3409
3387
  offset: P,
3410
3388
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3411
3389
  location: ue
@@ -3456,7 +3434,7 @@ var qn = (
3456
3434
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3457
3435
  var n = [];
3458
3436
  try {
3459
- n = Ln(t);
3437
+ n = Pn(t);
3460
3438
  } catch (i) {
3461
3439
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3462
3440
  }
@@ -3465,7 +3443,7 @@ var qn = (
3465
3443
  type: W.number,
3466
3444
  tokens: n,
3467
3445
  location: r,
3468
- parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3446
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3469
3447
  },
3470
3448
  err: null
3471
3449
  };
@@ -3513,7 +3491,7 @@ var qn = (
3513
3491
  break;
3514
3492
  }
3515
3493
  var h = b(i, this.clonePosition());
3516
- return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3494
+ return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3517
3495
  }, e.prototype.offset = function() {
3518
3496
  return this.position.offset;
3519
3497
  }, e.prototype.isEOF = function() {
@@ -3528,7 +3506,7 @@ var qn = (
3528
3506
  var t = this.position.offset;
3529
3507
  if (t >= this.message.length)
3530
3508
  throw Error("out of bound");
3531
- var r = rr(this.message, t);
3509
+ var r = qt(this.message, t);
3532
3510
  if (r === void 0)
3533
3511
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3534
3512
  return r;
@@ -3547,7 +3525,7 @@ var qn = (
3547
3525
  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);
3548
3526
  }
3549
3527
  }, e.prototype.bumpIf = function(t) {
3550
- if (yt(this.message, t, this.offset())) {
3528
+ if (mt(this.message, t, this.offset())) {
3551
3529
  for (var r = 0; r < t.length; r++)
3552
3530
  this.bump();
3553
3531
  return !0;
@@ -3569,7 +3547,7 @@ var qn = (
3569
3547
  break;
3570
3548
  }
3571
3549
  }, e.prototype.bumpSpace = function() {
3572
- for (; !this.isEOF() && ir(this.char()); )
3550
+ for (; !this.isEOF() && er(this.char()); )
3573
3551
  this.bump();
3574
3552
  }, e.prototype.peek = function() {
3575
3553
  if (this.isEOF())
@@ -3579,38 +3557,38 @@ var qn = (
3579
3557
  }, e;
3580
3558
  }()
3581
3559
  );
3582
- function Xe(e) {
3560
+ function Ve(e) {
3583
3561
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3584
3562
  }
3585
- function Kn(e) {
3586
- return Xe(e) || e === 47;
3563
+ function Jn(e) {
3564
+ return Ve(e) || e === 47;
3587
3565
  }
3588
- function ei(e) {
3566
+ function Yn(e) {
3589
3567
  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;
3590
3568
  }
3591
- function ir(e) {
3569
+ function er(e) {
3592
3570
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3593
3571
  }
3594
- function ti(e) {
3572
+ function qn(e) {
3595
3573
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3596
3574
  }
3597
- function We(e) {
3575
+ function Xe(e) {
3598
3576
  e.forEach(function(t) {
3599
- if (delete t.location, Zt(t) || Qt(t))
3577
+ if (delete t.location, Vt(t) || Xt(t))
3600
3578
  for (var r in t.options)
3601
- delete t.options[r].location, We(t.options[r].value);
3579
+ delete t.options[r].location, Xe(t.options[r].value);
3602
3580
  else
3603
- Xt(t) && Yt(t.style) || (Wt(t) || zt(t)) && Fe(t.style) ? delete t.style.location : Jt(t) && We(t.children);
3581
+ Ft(t) && zt(t.style) || (jt(t) || kt(t)) && De(t.style) ? delete t.style.location : Wt(t) && Xe(t.children);
3604
3582
  });
3605
3583
  }
3606
- function ri(e, t) {
3584
+ function Kn(e, t) {
3607
3585
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3608
- var r = new qn(e, t).parse();
3586
+ var r = new Qn(e, t).parse();
3609
3587
  if (r.err) {
3610
3588
  var n = SyntaxError(m[r.err.kind]);
3611
3589
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3612
3590
  }
3613
- return t != null && t.captureLocation || We(r.val), r.val;
3591
+ return t != null && t.captureLocation || Xe(r.val), r.val;
3614
3592
  }
3615
3593
  var z;
3616
3594
  (function(e) {
@@ -3628,7 +3606,7 @@ var _e = (
3628
3606
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3629
3607
  }, t;
3630
3608
  }(Error)
3631
- ), Et = (
3609
+ ), yt = (
3632
3610
  /** @class */
3633
3611
  function(e) {
3634
3612
  L(t, e);
@@ -3637,7 +3615,7 @@ var _e = (
3637
3615
  }
3638
3616
  return t;
3639
3617
  }(_e)
3640
- ), ni = (
3618
+ ), ei = (
3641
3619
  /** @class */
3642
3620
  function(e) {
3643
3621
  L(t, e);
@@ -3646,7 +3624,7 @@ var _e = (
3646
3624
  }
3647
3625
  return t;
3648
3626
  }(_e)
3649
- ), ii = (
3627
+ ), ti = (
3650
3628
  /** @class */
3651
3629
  function(e) {
3652
3630
  L(t, e);
@@ -3655,128 +3633,128 @@ var _e = (
3655
3633
  }
3656
3634
  return t;
3657
3635
  }(_e)
3658
- ), E;
3636
+ ), x;
3659
3637
  (function(e) {
3660
3638
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3661
- })(E || (E = {}));
3662
- function oi(e) {
3639
+ })(x || (x = {}));
3640
+ function ri(e) {
3663
3641
  return e.length < 2 ? e : e.reduce(function(t, r) {
3664
3642
  var n = t[t.length - 1];
3665
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3643
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3666
3644
  }, []);
3667
3645
  }
3668
- function si(e) {
3646
+ function ni(e) {
3669
3647
  return typeof e == "function";
3670
3648
  }
3671
3649
  function pe(e, t, r, n, i, o, s) {
3672
- if (e.length === 1 && dt(e[0]))
3650
+ if (e.length === 1 && ct(e[0]))
3673
3651
  return [
3674
3652
  {
3675
- type: E.literal,
3653
+ type: x.literal,
3676
3654
  value: e[0].value
3677
3655
  }
3678
3656
  ];
3679
3657
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3680
3658
  var l = u[h];
3681
- if (dt(l)) {
3659
+ if (ct(l)) {
3682
3660
  a.push({
3683
- type: E.literal,
3661
+ type: x.literal,
3684
3662
  value: l.value
3685
3663
  });
3686
3664
  continue;
3687
3665
  }
3688
- if (wn(l)) {
3666
+ if (Hn(l)) {
3689
3667
  typeof o == "number" && a.push({
3690
- type: E.literal,
3668
+ type: x.literal,
3691
3669
  value: r.getNumberFormat(t).format(o)
3692
3670
  });
3693
3671
  continue;
3694
3672
  }
3695
3673
  var f = l.value;
3696
3674
  if (!(i && f in i))
3697
- throw new ii(f, s);
3675
+ throw new ti(f, s);
3698
3676
  var c = i[f];
3699
- if (An(l)) {
3677
+ if (Tn(l)) {
3700
3678
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3701
- type: typeof c == "string" ? E.literal : E.object,
3679
+ type: typeof c == "string" ? x.literal : x.object,
3702
3680
  value: c
3703
3681
  });
3704
3682
  continue;
3705
3683
  }
3706
- if (Wt(l)) {
3707
- var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3684
+ if (jt(l)) {
3685
+ var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3708
3686
  a.push({
3709
- type: E.literal,
3687
+ type: x.literal,
3710
3688
  value: r.getDateTimeFormat(t, p).format(c)
3711
3689
  });
3712
3690
  continue;
3713
3691
  }
3714
- if (zt(l)) {
3715
- var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3692
+ if (kt(l)) {
3693
+ var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3716
3694
  a.push({
3717
- type: E.literal,
3695
+ type: x.literal,
3718
3696
  value: r.getDateTimeFormat(t, p).format(c)
3719
3697
  });
3720
3698
  continue;
3721
3699
  }
3722
- if (Xt(l)) {
3723
- var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3700
+ if (Ft(l)) {
3701
+ var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
3724
3702
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3725
- type: E.literal,
3703
+ type: x.literal,
3726
3704
  value: r.getNumberFormat(t, p).format(c)
3727
3705
  });
3728
3706
  continue;
3729
3707
  }
3730
- if (Jt(l)) {
3708
+ if (Wt(l)) {
3731
3709
  var d = l.children, v = l.value, B = i[v];
3732
- if (!si(B))
3733
- throw new ni(v, "function", s);
3710
+ if (!ni(B))
3711
+ throw new ei(v, "function", s);
3734
3712
  var $ = pe(d, t, r, n, i, o), N = B($.map(function(P) {
3735
3713
  return P.value;
3736
3714
  }));
3737
3715
  Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(P) {
3738
3716
  return {
3739
- type: typeof P == "string" ? E.literal : E.object,
3717
+ type: typeof P == "string" ? x.literal : x.object,
3740
3718
  value: P
3741
3719
  };
3742
3720
  }));
3743
3721
  }
3744
- if (Zt(l)) {
3745
- var x = l.options[c] || l.options.other;
3746
- if (!x)
3747
- throw new Et(l.value, c, Object.keys(l.options), s);
3748
- a.push.apply(a, pe(x.value, t, r, n, i));
3722
+ if (Vt(l)) {
3723
+ var E = l.options[c] || l.options.other;
3724
+ if (!E)
3725
+ throw new yt(l.value, c, Object.keys(l.options), s);
3726
+ a.push.apply(a, pe(E.value, t, r, n, i));
3749
3727
  continue;
3750
3728
  }
3751
- if (Qt(l)) {
3752
- var x = l.options["=".concat(c)];
3753
- if (!x) {
3729
+ if (Xt(l)) {
3730
+ var E = l.options["=".concat(c)];
3731
+ if (!E) {
3754
3732
  if (!Intl.PluralRules)
3755
3733
  throw new _e(`Intl.PluralRules is not available in this environment.
3756
3734
  Try polyfilling it using "@formatjs/intl-pluralrules"
3757
3735
  `, z.MISSING_INTL_API, s);
3758
3736
  var R = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3759
- x = l.options[R] || l.options.other;
3737
+ E = l.options[R] || l.options.other;
3760
3738
  }
3761
- if (!x)
3762
- throw new Et(l.value, c, Object.keys(l.options), s);
3763
- a.push.apply(a, pe(x.value, t, r, n, i, c - (l.offset || 0)));
3739
+ if (!E)
3740
+ throw new yt(l.value, c, Object.keys(l.options), s);
3741
+ a.push.apply(a, pe(E.value, t, r, n, i, c - (l.offset || 0)));
3764
3742
  continue;
3765
3743
  }
3766
3744
  }
3767
- return oi(a);
3745
+ return ri(a);
3768
3746
  }
3769
- function ai(e, t) {
3747
+ function ii(e, t) {
3770
3748
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3771
3749
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3772
3750
  }, {})) : e;
3773
3751
  }
3774
- function ui(e, t) {
3752
+ function oi(e, t) {
3775
3753
  return t ? Object.keys(e).reduce(function(r, n) {
3776
- return r[n] = ai(e[n], t[n]), r;
3754
+ return r[n] = ii(e[n], t[n]), r;
3777
3755
  }, g({}, e)) : e;
3778
3756
  }
3779
- function Ie(e) {
3757
+ function Oe(e) {
3780
3758
  return {
3781
3759
  create: function() {
3782
3760
  return {
@@ -3790,39 +3768,39 @@ function Ie(e) {
3790
3768
  }
3791
3769
  };
3792
3770
  }
3793
- function hi(e) {
3771
+ function si(e) {
3794
3772
  return e === void 0 && (e = {
3795
3773
  number: {},
3796
3774
  dateTime: {},
3797
3775
  pluralRules: {}
3798
3776
  }), {
3799
- getNumberFormat: we(function() {
3777
+ getNumberFormat: Ae(function() {
3800
3778
  for (var t, r = [], n = 0; n < arguments.length; n++)
3801
3779
  r[n] = arguments[n];
3802
3780
  return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3803
3781
  }, {
3804
- cache: Ie(e.number),
3805
- strategy: Pe.variadic
3782
+ cache: Oe(e.number),
3783
+ strategy: we.variadic
3806
3784
  }),
3807
- getDateTimeFormat: we(function() {
3785
+ getDateTimeFormat: Ae(function() {
3808
3786
  for (var t, r = [], n = 0; n < arguments.length; n++)
3809
3787
  r[n] = arguments[n];
3810
3788
  return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3811
3789
  }, {
3812
- cache: Ie(e.dateTime),
3813
- strategy: Pe.variadic
3790
+ cache: Oe(e.dateTime),
3791
+ strategy: we.variadic
3814
3792
  }),
3815
- getPluralRules: we(function() {
3793
+ getPluralRules: Ae(function() {
3816
3794
  for (var t, r = [], n = 0; n < arguments.length; n++)
3817
3795
  r[n] = arguments[n];
3818
3796
  return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3819
3797
  }, {
3820
- cache: Ie(e.pluralRules),
3821
- strategy: Pe.variadic
3798
+ cache: Oe(e.pluralRules),
3799
+ strategy: we.variadic
3822
3800
  })
3823
3801
  };
3824
3802
  }
3825
- var li = (
3803
+ var ai = (
3826
3804
  /** @class */
3827
3805
  function() {
3828
3806
  function e(t, r, n, i) {
@@ -3837,7 +3815,7 @@ var li = (
3837
3815
  if (u.length === 1)
3838
3816
  return u[0].value;
3839
3817
  var l = u.reduce(function(f, c) {
3840
- return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3818
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3841
3819
  }, []);
3842
3820
  return l.length <= 1 ? l[0] || "" : l;
3843
3821
  }, this.formatToParts = function(h) {
@@ -3854,13 +3832,13 @@ var li = (
3854
3832
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3855
3833
  var s = i || {};
3856
3834
  s.formatters;
3857
- var a = jr(s, ["formatters"]);
3835
+ var a = Ur(s, ["formatters"]);
3858
3836
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3859
3837
  } else
3860
3838
  this.ast = t;
3861
3839
  if (!Array.isArray(this.ast))
3862
3840
  throw new TypeError("A message must be provided as a String or AST.");
3863
- this.formats = ui(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3841
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3864
3842
  }
3865
3843
  return Object.defineProperty(e, "defaultLocale", {
3866
3844
  get: function() {
@@ -3873,7 +3851,7 @@ var li = (
3873
3851
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3874
3852
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3875
3853
  }
3876
- }, e.__parse = ri, e.formats = {
3854
+ }, e.__parse = Kn, e.formats = {
3877
3855
  number: {
3878
3856
  integer: {
3879
3857
  maximumFractionDigits: 0
@@ -3934,7 +3912,7 @@ var li = (
3934
3912
  }, e;
3935
3913
  }()
3936
3914
  );
3937
- function ci(e, t) {
3915
+ function ui(e, t) {
3938
3916
  if (t == null)
3939
3917
  return;
3940
3918
  if (t in e)
@@ -3955,92 +3933,92 @@ function ci(e, t) {
3955
3933
  n = void 0;
3956
3934
  return n;
3957
3935
  }
3958
- const C = {}, fi = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), or = (e, t) => {
3936
+ const C = {}, hi = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), tr = (e, t) => {
3959
3937
  if (t == null)
3960
3938
  return;
3961
3939
  if (t in C && e in C[t])
3962
3940
  return C[t][e];
3963
- const r = Ee(t);
3941
+ const r = xe(t);
3964
3942
  for (let n = 0; n < r.length; n++) {
3965
- const i = r[n], o = di(i, e);
3943
+ const i = r[n], o = ci(i, e);
3966
3944
  if (o)
3967
- return fi(e, t, o);
3945
+ return hi(e, t, o);
3968
3946
  }
3969
3947
  };
3970
- let qe;
3948
+ let Qe;
3971
3949
  const ae = ve({});
3972
- function pi(e) {
3973
- return qe[e] || null;
3950
+ function li(e) {
3951
+ return Qe[e] || null;
3974
3952
  }
3975
- function sr(e) {
3976
- return e in qe;
3953
+ function rr(e) {
3954
+ return e in Qe;
3977
3955
  }
3978
- function di(e, t) {
3979
- if (!sr(e))
3956
+ function ci(e, t) {
3957
+ if (!rr(e))
3980
3958
  return null;
3981
- const r = pi(e);
3982
- return ci(r, t);
3959
+ const r = li(e);
3960
+ return ui(r, t);
3983
3961
  }
3984
- function mi(e) {
3962
+ function fi(e) {
3985
3963
  if (e == null)
3986
3964
  return;
3987
- const t = Ee(e);
3965
+ const t = xe(e);
3988
3966
  for (let r = 0; r < t.length; r++) {
3989
3967
  const n = t[r];
3990
- if (sr(n))
3968
+ if (rr(n))
3991
3969
  return n;
3992
3970
  }
3993
3971
  }
3994
- function ar(e, ...t) {
3995
- delete C[e], ae.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
3972
+ function nr(e, ...t) {
3973
+ delete C[e], ae.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
3996
3974
  }
3997
3975
  J(
3998
3976
  [ae],
3999
3977
  ([e]) => Object.keys(e)
4000
3978
  );
4001
- ae.subscribe((e) => qe = e);
3979
+ ae.subscribe((e) => Qe = e);
4002
3980
  const de = {};
4003
- function bi(e, t) {
3981
+ function pi(e, t) {
4004
3982
  de[e].delete(t), de[e].size === 0 && delete de[e];
4005
3983
  }
4006
- function ur(e) {
3984
+ function ir(e) {
4007
3985
  return de[e];
4008
3986
  }
4009
- function gi(e) {
4010
- return Ee(e).map((t) => {
4011
- const r = ur(t);
3987
+ function di(e) {
3988
+ return xe(e).map((t) => {
3989
+ const r = ir(t);
4012
3990
  return [t, r ? [...r] : []];
4013
3991
  }).filter(([, t]) => t.length > 0);
4014
3992
  }
4015
- function ze(e) {
4016
- return e == null ? !1 : Ee(e).some(
3993
+ function We(e) {
3994
+ return e == null ? !1 : xe(e).some(
4017
3995
  (t) => {
4018
3996
  var r;
4019
- return (r = ur(t)) == null ? void 0 : r.size;
3997
+ return (r = ir(t)) == null ? void 0 : r.size;
4020
3998
  }
4021
3999
  );
4022
4000
  }
4023
- function yi(e, t) {
4001
+ function mi(e, t) {
4024
4002
  return Promise.all(
4025
- t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4026
- ).then((n) => ar(e, ...n));
4003
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4004
+ ).then((n) => nr(e, ...n));
4027
4005
  }
4028
4006
  const ee = {};
4029
- function hr(e) {
4030
- if (!ze(e))
4007
+ function or(e) {
4008
+ if (!We(e))
4031
4009
  return e in ee ? ee[e] : Promise.resolve();
4032
- const t = gi(e);
4010
+ const t = di(e);
4033
4011
  return ee[e] = Promise.all(
4034
4012
  t.map(
4035
- ([r, n]) => yi(r, n)
4013
+ ([r, n]) => mi(r, n)
4036
4014
  )
4037
4015
  ).then(() => {
4038
- if (ze(e))
4039
- return hr(e);
4016
+ if (We(e))
4017
+ return or(e);
4040
4018
  delete ee[e];
4041
4019
  }), ee[e];
4042
4020
  }
4043
- const vi = {
4021
+ const bi = {
4044
4022
  number: {
4045
4023
  scientific: { notation: "scientific" },
4046
4024
  engineering: { notation: "engineering" },
@@ -4069,78 +4047,78 @@ const vi = {
4069
4047
  timeZoneName: "short"
4070
4048
  }
4071
4049
  }
4072
- }, _i = {
4050
+ }, gi = {
4073
4051
  fallbackLocale: null,
4074
4052
  loadingDelay: 200,
4075
- formats: vi,
4053
+ formats: bi,
4076
4054
  warnOnMissingMessages: !0,
4077
4055
  handleMissingMessage: void 0,
4078
4056
  ignoreTag: !0
4079
- }, Ei = _i;
4057
+ }, yi = gi;
4080
4058
  function Z() {
4081
- return Ei;
4059
+ return yi;
4082
4060
  }
4083
- const Le = ve(!1);
4084
- var xi = Object.defineProperty, Si = Object.defineProperties, Ti = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4061
+ const Ie = ve(!1);
4062
+ var vi = Object.defineProperty, _i = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4085
4063
  for (var r in t || (t = {}))
4086
- Hi.call(t, r) && St(e, r, t[r]);
4087
- if (xt)
4088
- for (var r of xt(t))
4089
- Bi.call(t, r) && St(e, r, t[r]);
4064
+ Ei.call(t, r) && _t(e, r, t[r]);
4065
+ if (vt)
4066
+ for (var r of vt(t))
4067
+ Si.call(t, r) && _t(e, r, t[r]);
4090
4068
  return e;
4091
- }, wi = (e, t) => Si(e, Ti(t));
4092
- let Ze;
4069
+ }, Hi = (e, t) => _i(e, xi(t));
4070
+ let ze;
4093
4071
  const me = ve(null);
4094
- function Tt(e) {
4072
+ function xt(e) {
4095
4073
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4096
4074
  }
4097
- function Ee(e, t = Z().fallbackLocale) {
4098
- const r = Tt(e);
4099
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4075
+ function xe(e, t = Z().fallbackLocale) {
4076
+ const r = xt(e);
4077
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4100
4078
  }
4101
4079
  function U() {
4102
- return Ze != null ? Ze : void 0;
4080
+ return ze != null ? ze : void 0;
4103
4081
  }
4104
4082
  me.subscribe((e) => {
4105
- Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4083
+ ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4106
4084
  });
4107
- const Pi = (e) => {
4108
- if (e && mi(e) && ze(e)) {
4085
+ const Bi = (e) => {
4086
+ if (e && fi(e) && We(e)) {
4109
4087
  const { loadingDelay: t } = Z();
4110
4088
  let r;
4111
4089
  return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4112
- () => Le.set(!0),
4090
+ () => Ie.set(!0),
4113
4091
  t
4114
- ) : Le.set(!0), hr(e).then(() => {
4092
+ ) : Ie.set(!0), or(e).then(() => {
4115
4093
  me.set(e);
4116
4094
  }).finally(() => {
4117
- clearTimeout(r), Le.set(!1);
4095
+ clearTimeout(r), Ie.set(!1);
4118
4096
  });
4119
4097
  }
4120
4098
  return me.set(e);
4121
- }, Y = wi(Ai({}, me), {
4122
- set: Pi
4123
- }), xe = (e) => {
4099
+ }, Y = Hi(Ti({}, me), {
4100
+ set: Bi
4101
+ }), Ee = (e) => {
4124
4102
  const t = /* @__PURE__ */ Object.create(null);
4125
4103
  return (n) => {
4126
4104
  const i = JSON.stringify(n);
4127
4105
  return i in t ? t[i] : t[i] = e(n);
4128
4106
  };
4129
4107
  };
4130
- var Oi = Object.defineProperty, be = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4108
+ var Ai = Object.defineProperty, be = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4131
4109
  for (var r in t || (t = {}))
4132
- lr.call(t, r) && Ht(e, r, t[r]);
4110
+ sr.call(t, r) && Et(e, r, t[r]);
4133
4111
  if (be)
4134
4112
  for (var r of be(t))
4135
- cr.call(t, r) && Ht(e, r, t[r]);
4113
+ ar.call(t, r) && Et(e, r, t[r]);
4136
4114
  return e;
4137
4115
  }, q = (e, t) => {
4138
4116
  var r = {};
4139
4117
  for (var n in e)
4140
- lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4118
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
4119
  if (e != null && be)
4142
4120
  for (var n of be(e))
4143
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4121
+ t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4144
4122
  return r;
4145
4123
  };
4146
4124
  const ie = (e, t) => {
@@ -4148,21 +4126,21 @@ const ie = (e, t) => {
4148
4126
  if (e in r && t in r[e])
4149
4127
  return r[e][t];
4150
4128
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4151
- }, Ii = xe(
4129
+ }, wi = Ee(
4152
4130
  (e) => {
4153
4131
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4154
4132
  if (r == null)
4155
4133
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4156
4134
  return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4157
4135
  }
4158
- ), Li = xe(
4136
+ ), Pi = Ee(
4159
4137
  (e) => {
4160
4138
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4161
4139
  if (r == null)
4162
4140
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4163
4141
  return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4164
4142
  }
4165
- ), Ni = xe(
4143
+ ), Oi = Ee(
4166
4144
  (e) => {
4167
4145
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4168
4146
  if (r == null)
@@ -4171,33 +4149,33 @@ const ie = (e, t) => {
4171
4149
  );
4172
4150
  return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4173
4151
  }
4174
- ), Mi = (e = {}) => {
4152
+ ), Ii = (e = {}) => {
4175
4153
  var t = e, {
4176
4154
  locale: r = U()
4177
4155
  } = t, n = q(t, [
4178
4156
  "locale"
4179
4157
  ]);
4180
- return Ii(Ke({ locale: r }, n));
4181
- }, Ci = (e = {}) => {
4158
+ return wi(Je({ locale: r }, n));
4159
+ }, Li = (e = {}) => {
4182
4160
  var t = e, {
4183
4161
  locale: r = U()
4184
4162
  } = t, n = q(t, [
4185
4163
  "locale"
4186
4164
  ]);
4187
- return Li(Ke({ locale: r }, n));
4188
- }, $i = (e = {}) => {
4165
+ return Pi(Je({ locale: r }, n));
4166
+ }, Ni = (e = {}) => {
4189
4167
  var t = e, {
4190
4168
  locale: r = U()
4191
4169
  } = t, n = q(t, [
4192
4170
  "locale"
4193
4171
  ]);
4194
- return Ni(Ke({ locale: r }, n));
4195
- }, Ri = xe(
4172
+ return Oi(Je({ locale: r }, n));
4173
+ }, Mi = Ee(
4196
4174
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4197
- (e, t = U()) => new li(e, t, Z().formats, {
4175
+ (e, t = U()) => new ai(e, t, Z().formats, {
4198
4176
  ignoreTag: Z().ignoreTag
4199
4177
  })
4200
- ), Ui = (e, t = {}) => {
4178
+ ), Ci = (e, t = {}) => {
4201
4179
  var r, n, i, o;
4202
4180
  let s = t;
4203
4181
  typeof e == "object" && (s = e, e = s.id);
@@ -4210,7 +4188,7 @@ const ie = (e, t) => {
4210
4188
  throw new Error(
4211
4189
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4212
4190
  );
4213
- let l = or(e, h);
4191
+ let l = tr(e, h);
4214
4192
  if (!l)
4215
4193
  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;
4216
4194
  else if (typeof l != "string")
@@ -4221,7 +4199,7 @@ const ie = (e, t) => {
4221
4199
  return l;
4222
4200
  let f = l;
4223
4201
  try {
4224
- f = Ri(l, h).format(a);
4202
+ f = Mi(l, h).format(a);
4225
4203
  } catch (c) {
4226
4204
  c instanceof Error && console.warn(
4227
4205
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4229,20 +4207,20 @@ const ie = (e, t) => {
4229
4207
  );
4230
4208
  }
4231
4209
  return f;
4232
- }, Di = (e, t) => $i(t).format(e), Gi = (e, t) => Ci(t).format(e), Fi = (e, t) => Mi(t).format(e), ji = (e, t = U()) => or(e, t), ki = J([Y, ae], () => Ui);
4233
- J([Y], () => Di);
4234
- J([Y], () => Gi);
4235
- J([Y], () => Fi);
4236
- J([Y, ae], () => ji);
4237
- window.emWidgets = { topic: rn };
4238
- const Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4239
- function Bt(e, t) {
4240
- ar(e, t);
4241
- }
4242
- function Xi(e) {
4210
+ }, $i = (e, t) => Ni(t).format(e), Ri = (e, t) => Li(t).format(e), Ui = (e, t) => Ii(t).format(e), Gi = (e, t = U()) => tr(e, t), Di = J([Y, ae], () => Ci);
4211
+ J([Y], () => $i);
4212
+ J([Y], () => Ri);
4213
+ J([Y], () => Ui);
4214
+ J([Y, ae], () => Gi);
4215
+ window.emWidgets = { topic: qr };
4216
+ const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4217
+ function St(e, t) {
4218
+ nr(e, t);
4219
+ }
4220
+ function ji(e) {
4243
4221
  Y.set(e);
4244
4222
  }
4245
- const At = {
4223
+ const Tt = {
4246
4224
  en: {
4247
4225
  logoutButton: "Logout"
4248
4226
  },
@@ -4277,13 +4255,13 @@ const At = {
4277
4255
  logoutButton: "Logout"
4278
4256
  }
4279
4257
  };
4280
- function wt(e, t) {
4258
+ function Ht(e, t) {
4281
4259
  if (e) {
4282
4260
  const r = document.createElement("style");
4283
4261
  r.innerHTML = t, e.appendChild(r);
4284
4262
  }
4285
4263
  }
4286
- function Wi(e, t) {
4264
+ function ki(e, t) {
4287
4265
  const r = new URL(t);
4288
4266
  fetch(r.href).then((n) => n.text()).then((n) => {
4289
4267
  const i = document.createElement("style");
@@ -4292,7 +4270,7 @@ function Wi(e, t) {
4292
4270
  console.error("There was an error while trying to load client styling from URL", n);
4293
4271
  });
4294
4272
  }
4295
- function zi(e, t, r) {
4273
+ function Vi(e, t, r) {
4296
4274
  if (window.emMessageBus) {
4297
4275
  const n = document.createElement("style");
4298
4276
  window.emMessageBus.subscribe(t, (i) => {
@@ -4300,10 +4278,10 @@ function zi(e, t, r) {
4300
4278
  });
4301
4279
  }
4302
4280
  }
4303
- function Zi(e) {
4304
- _r(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))}");
4281
+ function Xi(e) {
4282
+ br(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))}");
4305
4283
  }
4306
- function Qi(e) {
4284
+ function Wi(e) {
4307
4285
  let t, r, n, i = (
4308
4286
  /*$_*/
4309
4287
  e[2]("logoutButton") + ""
@@ -4313,7 +4291,7 @@ function Qi(e) {
4313
4291
  t = O("div"), r = O("button"), n = O("span"), o = ge(i), H(t, "class", "GeneralLogout");
4314
4292
  },
4315
4293
  m(h, u) {
4316
- se(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = Lt(
4294
+ se(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = Pt(
4317
4295
  r,
4318
4296
  "click",
4319
4297
  /*click_handler_1*/
@@ -4323,19 +4301,19 @@ function Qi(e) {
4323
4301
  p(h, u) {
4324
4302
  u & /*$_*/
4325
4303
  4 && i !== (i = /*$_*/
4326
- h[2]("logoutButton") + "") && Nt(o, i);
4304
+ h[2]("logoutButton") + "") && Ot(o, i);
4327
4305
  },
4328
4306
  d(h) {
4329
4307
  h && Q(t), s = !1, a();
4330
4308
  }
4331
4309
  };
4332
4310
  }
4333
- function Ji(e) {
4311
+ function zi(e) {
4334
4312
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4335
- e[3] && Yi(e);
4313
+ e[3] && Zi(e);
4336
4314
  return {
4337
4315
  c() {
4338
- t = O("p"), r = O("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = Sr(), c && c.c(), H(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), H(n, "data-name", "Layer 1"), H(n, "xmlns", "http://www.w3.org/2000/svg"), H(n, "viewBox", "0 0 150 150"), Hr(r, "width", /*isMobile*/
4316
+ t = O("p"), r = O("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = vr(), c && c.c(), H(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), H(n, "data-name", "Layer 1"), H(n, "xmlns", "http://www.w3.org/2000/svg"), H(n, "viewBox", "0 0 150 150"), xr(r, "width", /*isMobile*/
4339
4317
  e[3] ? (
4340
4318
  /*mediaQuery*/
4341
4319
  e[4].matches ? "50px" : "24px"
@@ -4345,7 +4323,7 @@ function Ji(e) {
4345
4323
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4346
4324
  },
4347
4325
  m(p, d) {
4348
- se(p, t, d), S(t, r), S(r, n), S(n, i), S(i, o), S(o, s), S(n, a), S(n, h), S(t, u), c && c.m(t, null), l || (f = Lt(
4326
+ se(p, t, d), S(t, r), S(r, n), S(n, i), S(i, o), S(o, s), S(n, a), S(n, h), S(t, u), c && c.m(t, null), l || (f = Pt(
4349
4327
  t,
4350
4328
  "click",
4351
4329
  /*click_handler*/
@@ -4361,7 +4339,7 @@ function Ji(e) {
4361
4339
  }
4362
4340
  };
4363
4341
  }
4364
- function Yi(e) {
4342
+ function Zi(e) {
4365
4343
  let t, r = (
4366
4344
  /*$_*/
4367
4345
  e[2]("logoutButton") + ""
@@ -4376,19 +4354,19 @@ function Yi(e) {
4376
4354
  p(i, o) {
4377
4355
  o & /*$_*/
4378
4356
  4 && r !== (r = /*$_*/
4379
- i[2]("logoutButton") + "") && Nt(n, r);
4357
+ i[2]("logoutButton") + "") && Ot(n, r);
4380
4358
  },
4381
4359
  d(i) {
4382
4360
  i && Q(t);
4383
4361
  }
4384
4362
  };
4385
4363
  }
4386
- function qi(e) {
4364
+ function Qi(e) {
4387
4365
  let t;
4388
4366
  function r(o, s) {
4389
4367
  return (
4390
4368
  /*buttonlocation*/
4391
- o[0] === "PlayerAccountMenu" ? Ji : Qi
4369
+ o[0] === "PlayerAccountMenu" ? zi : Wi
4392
4370
  );
4393
4371
  }
4394
4372
  let n = r(e), i = n(e);
@@ -4409,23 +4387,23 @@ function qi(e) {
4409
4387
  }
4410
4388
  };
4411
4389
  }
4412
- function Ki(e, t, r) {
4390
+ function Ji(e, t, r) {
4413
4391
  let n;
4414
- vr(e, ki, (y) => r(2, n = y));
4415
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, v = window.navigator.userAgent, B = Vi(v) !== "PC";
4392
+ mr(e, Di, (y) => r(2, n = y));
4393
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, v = window.navigator.userAgent, B = Fi(v) !== "PC";
4416
4394
  const $ = window.matchMedia("(min-width: 768px)"), N = () => {
4417
4395
  fetch(f).then((M) => M.json()).then((M) => {
4418
4396
  Object.keys(M).forEach((Se) => {
4419
- Bt(Se, M[Se]);
4397
+ St(Se, M[Se]);
4420
4398
  });
4421
4399
  }).catch((M) => {
4422
4400
  console.log(M);
4423
4401
  });
4424
4402
  };
4425
- Object.keys(At).forEach((y) => {
4426
- Bt(y, At[y]);
4403
+ Object.keys(Tt).forEach((y) => {
4404
+ St(y, Tt[y]);
4427
4405
  });
4428
- const x = () => {
4406
+ const E = () => {
4429
4407
  let y = new Headers();
4430
4408
  y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4431
4409
  let M = { method: "DELETE", headers: y };
@@ -4433,13 +4411,13 @@ function Ki(e, t, r) {
4433
4411
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4434
4412
  });
4435
4413
  }, R = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), P = () => {
4436
- Xi(a);
4414
+ ji(a);
4437
4415
  };
4438
- wr(() => () => {
4416
+ Tr(() => () => {
4439
4417
  });
4440
- const D = () => x(), ue = () => x();
4441
- function fr(y) {
4442
- Ne[y ? "unshift" : "push"](() => {
4418
+ const G = () => E(), ue = () => E();
4419
+ function ur(y) {
4420
+ Le[y ? "unshift" : "push"](() => {
4443
4421
  d = y, r(1, d);
4444
4422
  });
4445
4423
  }
@@ -4449,10 +4427,10 @@ function Ki(e, t, r) {
4449
4427
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4450
4428
  193 && i && o && s && R(), e.$$.dirty & /*lang*/
4451
4429
  256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4452
- 1026 && u && d && wt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4453
- 1026 && u && d && wt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4454
- 2050 && l && d && Wi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4455
- 514 && h && d && zi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4430
+ 1026 && u && d && Ht(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4431
+ 1026 && u && d && Ht(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4432
+ 2050 && l && d && ki(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4433
+ 514 && h && d && Vi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4456
4434
  4096 && f && N();
4457
4435
  }, [
4458
4436
  s,
@@ -4460,7 +4438,7 @@ function Ki(e, t, r) {
4460
4438
  n,
4461
4439
  B,
4462
4440
  $,
4463
- x,
4441
+ E,
4464
4442
  i,
4465
4443
  o,
4466
4444
  a,
@@ -4468,19 +4446,19 @@ function Ki(e, t, r) {
4468
4446
  u,
4469
4447
  l,
4470
4448
  f,
4471
- D,
4449
+ G,
4472
4450
  ue,
4473
- fr
4451
+ ur
4474
4452
  ];
4475
4453
  }
4476
- class eo extends Gr {
4454
+ class Yi extends $r {
4477
4455
  constructor(t) {
4478
- super(), Ur(
4456
+ super(), Mr(
4479
4457
  this,
4480
4458
  t,
4481
- Ki,
4482
- qi,
4483
- Ot,
4459
+ Ji,
4460
+ Qi,
4461
+ At,
4484
4462
  {
4485
4463
  endpoint: 6,
4486
4464
  session: 7,
@@ -4491,7 +4469,7 @@ class eo extends Gr {
4491
4469
  clientstylingurl: 11,
4492
4470
  translationurl: 12
4493
4471
  },
4494
- Zi
4472
+ Xi
4495
4473
  );
4496
4474
  }
4497
4475
  get endpoint() {
@@ -4543,7 +4521,7 @@ class eo extends Gr {
4543
4521
  this.$$set({ translationurl: t }), w();
4544
4522
  }
4545
4523
  }
4546
- Dr(eo, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4524
+ Cr(Yi, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4547
4525
  export {
4548
- eo as default
4526
+ Yi as default
4549
4527
  };