@everymatrix/general-logout 1.76.0 → 1.76.3

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