@everymatrix/player-account-menu-nd 1.77.18 → 1.77.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function B() {
2
2
  }
3
- function Bt(e) {
3
+ function xt(e) {
4
4
  return e();
5
5
  }
6
- function tt() {
6
+ function qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ne(e) {
10
- e.forEach(Bt);
9
+ function ie(e) {
10
+ e.forEach(xt);
11
11
  }
12
- function Ye(e) {
12
+ function ze(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function wt(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
18
  let ue;
19
- function Zi(e, t) {
19
+ function ki(e, t) {
20
20
  return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
21
21
  }
22
- function lr(e) {
22
+ function or(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function At(e, ...t) {
25
+ function St(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function At(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function cr(e, t, r) {
35
- e.$$.on_destroy.push(At(t, r));
34
+ function sr(e, t, r) {
35
+ e.$$.on_destroy.push(St(t, r));
36
36
  }
37
37
  function T(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function fr(e, t, r) {
41
- const n = pr(e);
40
+ function ar(e, t, r) {
41
+ const n = ur(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = O("style");
44
- i.id = t, i.textContent = r, dr(n, i);
43
+ const i = P("style");
44
+ i.id = t, i.textContent = r, hr(n, i);
45
45
  }
46
46
  }
47
- function pr(e) {
47
+ function ur(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,56 +54,56 @@ function pr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function dr(e, t) {
57
+ function hr(e, t) {
58
58
  return T(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ie(e, t, r) {
64
+ function oe(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function z(e) {
67
+ function Z(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Qi(e, t) {
70
+ function Vi(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
- function O(e) {
74
+ function P(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function J(e) {
77
+ function Y(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function ye(e) {
80
+ function ge(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function mr() {
84
- return ye(" ");
83
+ function lr() {
84
+ return ge(" ");
85
85
  }
86
- function Pt(e, t, r, n) {
86
+ function Tt(e, t, r, n) {
87
87
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
88
88
  }
89
89
  function S(e, t, r) {
90
90
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
91
91
  }
92
- function qi(e, t, r) {
92
+ function Xi(e, t, r) {
93
93
  const n = t.toLowerCase();
94
94
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : S(e, t, r);
95
95
  }
96
- function br(e) {
96
+ function cr(e) {
97
97
  return Array.from(e.childNodes);
98
98
  }
99
- function Ot(e, t) {
99
+ function Ht(e, t) {
100
100
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
101
101
  t);
102
102
  }
103
- function gr(e, t, r, n) {
103
+ function fr(e, t, r, n) {
104
104
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
105
105
  }
106
- function yr(e) {
106
+ function pr(e) {
107
107
  const t = {};
108
108
  return e.childNodes.forEach(
109
109
  /** @param {Element} node */
@@ -112,90 +112,90 @@ function yr(e) {
112
112
  }
113
113
  ), t;
114
114
  }
115
- let ee;
116
- function K(e) {
117
- ee = e;
115
+ let te;
116
+ function ee(e) {
117
+ te = e;
118
118
  }
119
- function vr() {
120
- if (!ee)
119
+ function dr() {
120
+ if (!te)
121
121
  throw new Error("Function called outside component initialization");
122
- return ee;
122
+ return te;
123
123
  }
124
- function _r(e) {
125
- vr().$$.on_mount.push(e);
124
+ function mr(e) {
125
+ dr().$$.on_mount.push(e);
126
126
  }
127
- const F = [], Me = [];
127
+ const F = [], Ie = [];
128
128
  let j = [];
129
- const rt = [], Er = /* @__PURE__ */ Promise.resolve();
130
- let Ce = !1;
131
- function xr() {
132
- Ce || (Ce = !0, Er.then(w));
129
+ const Je = [], br = /* @__PURE__ */ Promise.resolve();
130
+ let Le = !1;
131
+ function gr() {
132
+ Le || (Le = !0, br.then(w));
133
133
  }
134
- function $e(e) {
134
+ function Ne(e) {
135
135
  j.push(e);
136
136
  }
137
- const Be = /* @__PURE__ */ new Set();
137
+ const Te = /* @__PURE__ */ new Set();
138
138
  let G = 0;
139
139
  function w() {
140
140
  if (G !== 0)
141
141
  return;
142
- const e = ee;
142
+ const e = te;
143
143
  do {
144
144
  try {
145
145
  for (; G < F.length; ) {
146
146
  const t = F[G];
147
- G++, K(t), Sr(t.$$);
147
+ G++, ee(t), yr(t.$$);
148
148
  }
149
149
  } catch (t) {
150
150
  throw F.length = 0, G = 0, t;
151
151
  }
152
- for (K(null), F.length = 0, G = 0; Me.length; )
153
- Me.pop()();
152
+ for (ee(null), F.length = 0, G = 0; Ie.length; )
153
+ Ie.pop()();
154
154
  for (let t = 0; t < j.length; t += 1) {
155
155
  const r = j[t];
156
- Be.has(r) || (Be.add(r), r());
156
+ Te.has(r) || (Te.add(r), r());
157
157
  }
158
158
  j.length = 0;
159
159
  } while (F.length);
160
- for (; rt.length; )
161
- rt.pop()();
162
- Ce = !1, Be.clear(), K(e);
160
+ for (; Je.length; )
161
+ Je.pop()();
162
+ Le = !1, Te.clear(), ee(e);
163
163
  }
164
- function Sr(e) {
164
+ function yr(e) {
165
165
  if (e.fragment !== null) {
166
- e.update(), ne(e.before_update);
166
+ e.update(), ie(e.before_update);
167
167
  const t = e.dirty;
168
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
169
169
  }
170
170
  }
171
- function Tr(e) {
171
+ function vr(e) {
172
172
  const t = [], r = [];
173
173
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
174
174
  }
175
- const Hr = /* @__PURE__ */ new Set();
176
- function Br(e, t) {
177
- e && e.i && (Hr.delete(e), e.i(t));
175
+ const _r = /* @__PURE__ */ new Set();
176
+ function xr(e, t) {
177
+ e && e.i && (_r.delete(e), e.i(t));
178
178
  }
179
- function Ji(e) {
179
+ function Wi(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
- function wr(e, t, r) {
182
+ function Er(e, t, r) {
183
183
  const { fragment: n, after_update: i } = e.$$;
184
- n && n.m(t, r), $e(() => {
185
- const o = e.$$.on_mount.map(Bt).filter(Ye);
186
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
187
- }), i.forEach($e);
184
+ n && n.m(t, r), Ne(() => {
185
+ const o = e.$$.on_mount.map(xt).filter(ze);
186
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
187
+ }), i.forEach(Ne);
188
188
  }
189
- function Ar(e, t) {
189
+ function Sr(e, t) {
190
190
  const r = e.$$;
191
- r.fragment !== null && (Tr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
191
+ r.fragment !== null && (vr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
192
192
  }
193
- function Pr(e, t) {
194
- e.$$.dirty[0] === -1 && (F.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
+ function Tr(e, t) {
194
+ e.$$.dirty[0] === -1 && (F.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
195
195
  }
196
- function Or(e, t, r, n, i, o, s = null, a = [-1]) {
197
- const h = ee;
198
- K(e);
196
+ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
197
+ const h = te;
198
+ ee(e);
199
199
  const u = e.$$ = {
200
200
  fragment: null,
201
201
  ctx: [],
@@ -203,7 +203,7 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
203
203
  props: o,
204
204
  update: B,
205
205
  not_equal: i,
206
- bound: tt(),
206
+ bound: qe(),
207
207
  // lifecycle
208
208
  on_mount: [],
209
209
  on_destroy: [],
@@ -212,7 +212,7 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
212
212
  after_update: [],
213
213
  context: new Map(t.context || (h ? h.$$.context : [])),
214
214
  // everything else
215
- callbacks: tt(),
215
+ callbacks: qe(),
216
216
  dirty: a,
217
217
  skip_bound: !1,
218
218
  root: t.target || h.$$.root
@@ -221,19 +221,19 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
221
221
  let l = !1;
222
222
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
223
223
  const d = p.length ? p[0] : c;
224
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Pr(e, f)), c;
225
- }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
224
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Tr(e, f)), c;
225
+ }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
226
226
  if (t.hydrate) {
227
- const f = br(t.target);
228
- u.fragment && u.fragment.l(f), f.forEach(z);
227
+ const f = cr(t.target);
228
+ u.fragment && u.fragment.l(f), f.forEach(Z);
229
229
  } else
230
230
  u.fragment && u.fragment.c();
231
- t.intro && Br(e.$$.fragment), wr(e, t.target, t.anchor), w();
231
+ t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), w();
232
232
  }
233
- K(h);
233
+ ee(h);
234
234
  }
235
- let It;
236
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
235
+ let Bt;
236
+ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
237
237
  /** The Svelte component constructor */
238
238
  $$ctor;
239
239
  /** Slots */
@@ -275,24 +275,24 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
275
275
  let o;
276
276
  return {
277
277
  c: function() {
278
- o = O("slot"), i !== "default" && S(o, "name", i);
278
+ o = P("slot"), i !== "default" && S(o, "name", i);
279
279
  },
280
280
  /**
281
281
  * @param {HTMLElement} target
282
282
  * @param {HTMLElement} [anchor]
283
283
  */
284
284
  m: function(h, u) {
285
- ie(h, o, u);
285
+ oe(h, o, u);
286
286
  },
287
287
  d: function(h) {
288
- h && z(o);
288
+ h && Z(o);
289
289
  }
290
290
  };
291
291
  };
292
292
  };
293
293
  if (await Promise.resolve(), !this.$$cn || this.$$c)
294
294
  return;
295
- const t = {}, r = yr(this);
295
+ const t = {}, r = pr(this);
296
296
  for (const i of this.$$s)
297
297
  i in r && (t[i] = [e(i)]);
298
298
  for (const i of this.attributes) {
@@ -379,8 +379,8 @@ function ce(e, t, r, n) {
379
379
  return t;
380
380
  }
381
381
  }
382
- function Ir(e, t, r, n, i, o) {
383
- let s = class extends It {
382
+ function Br(e, t, r, n, i, o) {
383
+ let s = class extends Bt {
384
384
  constructor() {
385
385
  super(e, r, i), this.$$p_d = t;
386
386
  }
@@ -408,7 +408,7 @@ function Ir(e, t, r, n, i, o) {
408
408
  }), e.element = /** @type {any} */
409
409
  s, s;
410
410
  }
411
- class Lr {
411
+ class wr {
412
412
  /**
413
413
  * ### PRIVATE API
414
414
  *
@@ -427,7 +427,7 @@ class Lr {
427
427
  $$set = void 0;
428
428
  /** @returns {void} */
429
429
  $destroy() {
430
- Ar(this, 1), this.$destroy = B;
430
+ Sr(this, 1), this.$destroy = B;
431
431
  }
432
432
  /**
433
433
  * @template {Extract<keyof Events, string>} K
@@ -436,7 +436,7 @@ class Lr {
436
436
  * @returns {() => void}
437
437
  */
438
438
  $on(t, r) {
439
- if (!Ye(r))
439
+ if (!ze(r))
440
440
  return B;
441
441
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
442
442
  return n.push(r), () => {
@@ -449,11 +449,11 @@ class Lr {
449
449
  * @returns {void}
450
450
  */
451
451
  $set(t) {
452
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
452
+ this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
453
  }
454
454
  }
455
- const Nr = "4";
456
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
455
+ const Ar = "4";
456
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
457
457
  /*! *****************************************************************************
458
458
  Copyright (c) Microsoft Corporation.
459
459
 
@@ -468,24 +468,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
468
468
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
469
469
  PERFORMANCE OF THIS SOFTWARE.
470
470
  ***************************************************************************** */
471
- var Re = function(e, t) {
472
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
471
+ var Me = function(e, t) {
472
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
473
473
  r.__proto__ = n;
474
474
  } || function(r, n) {
475
475
  for (var i in n)
476
476
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
477
- }, Re(e, t);
477
+ }, Me(e, t);
478
478
  };
479
- function oe(e, t) {
479
+ function I(e, t) {
480
480
  if (typeof t != "function" && t !== null)
481
481
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
482
- Re(e, t);
482
+ Me(e, t);
483
483
  function r() {
484
484
  this.constructor = e;
485
485
  }
486
486
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
487
487
  }
488
- function Ue(e) {
488
+ var g = function() {
489
+ return g = Object.assign || function(t) {
490
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
491
+ r = arguments[n];
492
+ for (var o in r)
493
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
494
+ }
495
+ return t;
496
+ }, g.apply(this, arguments);
497
+ };
498
+ function Pr(e, t) {
499
+ var r = {};
500
+ for (var n in e)
501
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
502
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
503
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
504
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
505
+ return r;
506
+ }
507
+ function Ce(e) {
489
508
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
490
509
  if (r)
491
510
  return r.call(e);
@@ -497,7 +516,7 @@ function Ue(e) {
497
516
  };
498
517
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
499
518
  }
500
- function Ge(e, t) {
519
+ function $e(e, t) {
501
520
  var r = typeof Symbol == "function" && e[Symbol.iterator];
502
521
  if (!r)
503
522
  return e;
@@ -517,22 +536,22 @@ function Ge(e, t) {
517
536
  }
518
537
  return o;
519
538
  }
520
- function De(e, t, r) {
521
- if (arguments.length === 2)
539
+ function k(e, t, r) {
540
+ if (r || arguments.length === 2)
522
541
  for (var n = 0, i = t.length, o; n < i; n++)
523
542
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
524
543
  return e.concat(o || t);
525
544
  }
526
- function I(e) {
545
+ function O(e) {
527
546
  return typeof e == "function";
528
547
  }
529
- function Lt(e) {
548
+ function wt(e) {
530
549
  var t = function(n) {
531
550
  Error.call(n), n.stack = new Error().stack;
532
551
  }, r = e(t);
533
552
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
534
553
  }
535
- var we = Lt(function(e) {
554
+ var He = wt(function(e) {
536
555
  return function(r) {
537
556
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
538
557
  ` + r.map(function(n, i) {
@@ -541,13 +560,13 @@ var we = Lt(function(e) {
541
560
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
542
561
  };
543
562
  });
544
- function Fe(e, t) {
563
+ function Re(e, t) {
545
564
  if (e) {
546
565
  var r = e.indexOf(t);
547
566
  0 <= r && e.splice(r, 1);
548
567
  }
549
568
  }
550
- var ve = function() {
569
+ var ye = function() {
551
570
  function e(t) {
552
571
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
553
572
  }
@@ -559,12 +578,12 @@ var ve = function() {
559
578
  if (s)
560
579
  if (this._parentage = null, Array.isArray(s))
561
580
  try {
562
- for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
581
+ for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
563
582
  var u = h.value;
564
583
  u.remove(this);
565
584
  }
566
- } catch (y) {
567
- t = { error: y };
585
+ } catch (v) {
586
+ t = { error: v };
568
587
  } finally {
569
588
  try {
570
589
  h && !h.done && (r = a.return) && r.call(a);
@@ -576,26 +595,26 @@ var ve = function() {
576
595
  else
577
596
  s.remove(this);
578
597
  var l = this.initialTeardown;
579
- if (I(l))
598
+ if (O(l))
580
599
  try {
581
600
  l();
582
- } catch (y) {
583
- o = y instanceof we ? y.errors : [y];
601
+ } catch (v) {
602
+ o = v instanceof He ? v.errors : [v];
584
603
  }
585
604
  var f = this._finalizers;
586
605
  if (f) {
587
606
  this._finalizers = null;
588
607
  try {
589
- for (var c = Ue(f), p = c.next(); !p.done; p = c.next()) {
608
+ for (var c = Ce(f), p = c.next(); !p.done; p = c.next()) {
590
609
  var d = p.value;
591
610
  try {
592
- nt(d);
593
- } catch (y) {
594
- o = o ?? [], y instanceof we ? o = De(De([], Ge(o)), Ge(y.errors)) : o.push(y);
611
+ Ye(d);
612
+ } catch (v) {
613
+ o = o ?? [], v instanceof He ? o = k(k([], $e(o)), $e(v.errors)) : o.push(v);
595
614
  }
596
615
  }
597
- } catch (y) {
598
- n = { error: y };
616
+ } catch (v) {
617
+ n = { error: v };
599
618
  } finally {
600
619
  try {
601
620
  p && !p.done && (i = c.return) && i.call(c);
@@ -606,13 +625,13 @@ var ve = function() {
606
625
  }
607
626
  }
608
627
  if (o)
609
- throw new we(o);
628
+ throw new He(o);
610
629
  }
611
630
  }, e.prototype.add = function(t) {
612
631
  var r;
613
632
  if (t && t !== this)
614
633
  if (this.closed)
615
- nt(t);
634
+ Ye(t);
616
635
  else {
617
636
  if (t instanceof e) {
618
637
  if (t.closed || t._hasParent(this))
@@ -629,52 +648,52 @@ var ve = function() {
629
648
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
630
649
  }, e.prototype._removeParent = function(t) {
631
650
  var r = this._parentage;
632
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
651
+ r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
633
652
  }, e.prototype.remove = function(t) {
634
653
  var r = this._finalizers;
635
- r && Fe(r, t), t instanceof e && t._removeParent(this);
654
+ r && Re(r, t), t instanceof e && t._removeParent(this);
636
655
  }, e.EMPTY = function() {
637
656
  var t = new e();
638
657
  return t.closed = !0, t;
639
658
  }(), e;
640
- }(), Nt = ve.EMPTY;
641
- function Mt(e) {
642
- return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
659
+ }(), At = ye.EMPTY;
660
+ function Pt(e) {
661
+ return e instanceof ye || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
643
662
  }
644
- function nt(e) {
645
- I(e) ? e() : e.unsubscribe();
663
+ function Ye(e) {
664
+ O(e) ? e() : e.unsubscribe();
646
665
  }
647
- var Mr = {
666
+ var Or = {
648
667
  Promise: void 0
649
- }, Cr = {
668
+ }, Ir = {
650
669
  setTimeout: function(e, t) {
651
670
  for (var r = [], n = 2; n < arguments.length; n++)
652
671
  r[n - 2] = arguments[n];
653
- return setTimeout.apply(void 0, De([e, t], Ge(r)));
672
+ return setTimeout.apply(void 0, k([e, t], $e(r)));
654
673
  },
655
674
  clearTimeout: function(e) {
656
675
  return clearTimeout(e);
657
676
  },
658
677
  delegate: void 0
659
678
  };
660
- function $r(e) {
661
- Cr.setTimeout(function() {
679
+ function Lr(e) {
680
+ Ir.setTimeout(function() {
662
681
  throw e;
663
682
  });
664
683
  }
665
- function it() {
684
+ function Ke() {
666
685
  }
667
686
  function fe(e) {
668
687
  e();
669
688
  }
670
- var Ct = function(e) {
671
- oe(t, e);
689
+ var Ot = function(e) {
690
+ I(t, e);
672
691
  function t(r) {
673
692
  var n = e.call(this) || this;
674
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Gr, n;
693
+ return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Cr, n;
675
694
  }
676
695
  return t.create = function(r, n, i) {
677
- return new je(r, n, i);
696
+ return new Ue(r, n, i);
678
697
  }, t.prototype.next = function(r) {
679
698
  this.isStopped || this._next(r);
680
699
  }, t.prototype.error = function(r) {
@@ -698,7 +717,7 @@ var Ct = function(e) {
698
717
  this.unsubscribe();
699
718
  }
700
719
  }, t;
701
- }(ve), Rr = function() {
720
+ }(ye), Nr = function() {
702
721
  function e(t) {
703
722
  this.partialObserver = t;
704
723
  }
@@ -729,43 +748,43 @@ var Ct = function(e) {
729
748
  he(r);
730
749
  }
731
750
  }, e;
732
- }(), je = function(e) {
733
- oe(t, e);
751
+ }(), Ue = function(e) {
752
+ I(t, e);
734
753
  function t(r, n, i) {
735
754
  var o = e.call(this) || this, s;
736
- return I(r) || !r ? s = {
755
+ return O(r) || !r ? s = {
737
756
  next: r ?? void 0,
738
757
  error: n ?? void 0,
739
758
  complete: i ?? void 0
740
- } : s = r, o.destination = new Rr(s), o;
759
+ } : s = r, o.destination = new Nr(s), o;
741
760
  }
742
761
  return t;
743
- }(Ct);
762
+ }(Ot);
744
763
  function he(e) {
745
- $r(e);
764
+ Lr(e);
746
765
  }
747
- function Ur(e) {
766
+ function Mr(e) {
748
767
  throw e;
749
768
  }
750
- var Gr = {
769
+ var Cr = {
751
770
  closed: !0,
752
- next: it,
753
- error: Ur,
754
- complete: it
755
- }, Dr = function() {
771
+ next: Ke,
772
+ error: Mr,
773
+ complete: Ke
774
+ }, $r = function() {
756
775
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
757
776
  }();
758
- function Fr(e) {
777
+ function Rr(e) {
759
778
  return e;
760
779
  }
761
- function jr(e) {
762
- return e.length === 0 ? Fr : e.length === 1 ? e[0] : function(r) {
780
+ function Ur(e) {
781
+ return e.length === 0 ? Rr : e.length === 1 ? e[0] : function(r) {
763
782
  return e.reduce(function(n, i) {
764
783
  return i(n);
765
784
  }, r);
766
785
  };
767
786
  }
768
- var ot = function() {
787
+ var et = function() {
769
788
  function e(t) {
770
789
  t && (this._subscribe = t);
771
790
  }
@@ -773,7 +792,7 @@ var ot = function() {
773
792
  var r = new e();
774
793
  return r.source = this, r.operator = t, r;
775
794
  }, e.prototype.subscribe = function(t, r, n) {
776
- var i = this, o = Vr(t) ? t : new je(t, r, n);
795
+ var i = this, o = Dr(t) ? t : new Ue(t, r, n);
777
796
  return fe(function() {
778
797
  var s = i, a = s.operator, h = s.source;
779
798
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -786,8 +805,8 @@ var ot = function() {
786
805
  }
787
806
  }, e.prototype.forEach = function(t, r) {
788
807
  var n = this;
789
- return r = st(r), new r(function(i, o) {
790
- var s = new je({
808
+ return r = tt(r), new r(function(i, o) {
809
+ var s = new Ue({
791
810
  next: function(a) {
792
811
  try {
793
812
  t(a);
@@ -803,15 +822,15 @@ var ot = function() {
803
822
  }, e.prototype._subscribe = function(t) {
804
823
  var r;
805
824
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
806
- }, e.prototype[Dr] = function() {
825
+ }, e.prototype[$r] = function() {
807
826
  return this;
808
827
  }, e.prototype.pipe = function() {
809
828
  for (var t = [], r = 0; r < arguments.length; r++)
810
829
  t[r] = arguments[r];
811
- return jr(t)(this);
830
+ return Ur(t)(this);
812
831
  }, e.prototype.toPromise = function(t) {
813
832
  var r = this;
814
- return t = st(t), new t(function(n, i) {
833
+ return t = tt(t), new t(function(n, i) {
815
834
  var o;
816
835
  r.subscribe(function(s) {
817
836
  return o = s;
@@ -825,32 +844,32 @@ var ot = function() {
825
844
  return new e(t);
826
845
  }, e;
827
846
  }();
828
- function st(e) {
847
+ function tt(e) {
829
848
  var t;
830
- return (t = e ?? Mr.Promise) !== null && t !== void 0 ? t : Promise;
849
+ return (t = e ?? Or.Promise) !== null && t !== void 0 ? t : Promise;
831
850
  }
832
- function kr(e) {
833
- return e && I(e.next) && I(e.error) && I(e.complete);
851
+ function Gr(e) {
852
+ return e && O(e.next) && O(e.error) && O(e.complete);
834
853
  }
835
- function Vr(e) {
836
- return e && e instanceof Ct || kr(e) && Mt(e);
854
+ function Dr(e) {
855
+ return e && e instanceof Ot || Gr(e) && Pt(e);
837
856
  }
838
- var Xr = Lt(function(e) {
857
+ var Fr = wt(function(e) {
839
858
  return function() {
840
859
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
841
860
  };
842
- }), $t = function(e) {
843
- oe(t, e);
861
+ }), It = function(e) {
862
+ I(t, e);
844
863
  function t() {
845
864
  var r = e.call(this) || this;
846
865
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
847
866
  }
848
867
  return t.prototype.lift = function(r) {
849
- var n = new at(this, this);
868
+ var n = new rt(this, this);
850
869
  return n.operator = r, n;
851
870
  }, t.prototype._throwIfClosed = function() {
852
871
  if (this.closed)
853
- throw new Xr();
872
+ throw new Fr();
854
873
  }, t.prototype.next = function(r) {
855
874
  var n = this;
856
875
  fe(function() {
@@ -858,7 +877,7 @@ var Xr = Lt(function(e) {
858
877
  if (n._throwIfClosed(), !n.isStopped) {
859
878
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
860
879
  try {
861
- for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
880
+ for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
862
881
  var h = a.value;
863
882
  h.next(r);
864
883
  }
@@ -907,20 +926,20 @@ var Xr = Lt(function(e) {
907
926
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
908
927
  }, t.prototype._innerSubscribe = function(r) {
909
928
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
910
- return o || s ? Nt : (this.currentObservers = null, a.push(r), new ve(function() {
911
- n.currentObservers = null, Fe(a, r);
929
+ return o || s ? At : (this.currentObservers = null, a.push(r), new ye(function() {
930
+ n.currentObservers = null, Re(a, r);
912
931
  }));
913
932
  }, t.prototype._checkFinalizedStatuses = function(r) {
914
933
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
915
934
  i ? r.error(o) : s && r.complete();
916
935
  }, t.prototype.asObservable = function() {
917
- var r = new ot();
936
+ var r = new et();
918
937
  return r.source = this, r;
919
938
  }, t.create = function(r, n) {
920
- return new at(r, n);
939
+ return new rt(r, n);
921
940
  }, t;
922
- }(ot), at = function(e) {
923
- oe(t, e);
941
+ }(et), rt = function(e) {
942
+ I(t, e);
924
943
  function t(r, n) {
925
944
  var i = e.call(this) || this;
926
945
  return i.destination = r, i.source = n, i;
@@ -936,17 +955,17 @@ var Xr = Lt(function(e) {
936
955
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
937
956
  }, t.prototype._subscribe = function(r) {
938
957
  var n, i;
939
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
958
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
940
959
  }, t;
941
- }($t), Rt = {
960
+ }(It), Lt = {
942
961
  now: function() {
943
- return (Rt.delegate || Date).now();
962
+ return (Lt.delegate || Date).now();
944
963
  },
945
964
  delegate: void 0
946
- }, Wr = function(e) {
947
- oe(t, e);
965
+ }, jr = function(e) {
966
+ I(t, e);
948
967
  function t(r, n, i) {
949
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
968
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lt);
950
969
  var o = e.call(this) || this;
951
970
  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;
952
971
  }
@@ -966,24 +985,24 @@ var Xr = Lt(function(e) {
966
985
  u && o.splice(0, u + 1);
967
986
  }
968
987
  }, t;
969
- }($t);
970
- const ut = [], ht = {}, zr = (e, t = 0) => {
971
- if (ut.indexOf(e) == -1) {
972
- const r = new Wr(t);
973
- ht[e] = r, ut.push(e);
988
+ }(It);
989
+ const nt = [], it = {}, kr = (e, t = 0) => {
990
+ if (nt.indexOf(e) == -1) {
991
+ const r = new jr(t);
992
+ it[e] = r, nt.push(e);
974
993
  }
975
- return ht[e];
994
+ return it[e];
976
995
  }, D = [];
977
- function Zr(e, t) {
996
+ function Vr(e, t) {
978
997
  return {
979
- subscribe: _e(e, t).subscribe
998
+ subscribe: ve(e, t).subscribe
980
999
  };
981
1000
  }
982
- function _e(e, t = B) {
1001
+ function ve(e, t = B) {
983
1002
  let r;
984
1003
  const n = /* @__PURE__ */ new Set();
985
1004
  function i(a) {
986
- if (wt(e, a) && (e = a, r)) {
1005
+ if (Et(e, a) && (e = a, r)) {
987
1006
  const h = !D.length;
988
1007
  for (const u of n)
989
1008
  u[1](), D.push(u, e);
@@ -1005,12 +1024,12 @@ function _e(e, t = B) {
1005
1024
  }
1006
1025
  return { set: i, update: o, subscribe: s };
1007
1026
  }
1008
- function Z(e, t, r) {
1027
+ function Q(e, t, r) {
1009
1028
  const n = !Array.isArray(e), i = n ? [e] : e;
1010
1029
  if (!i.every(Boolean))
1011
1030
  throw new Error("derived() expects stores as input, got a falsy value");
1012
1031
  const o = t.length < 2;
1013
- return Zr(r, (s, a) => {
1032
+ return Vr(r, (s, a) => {
1014
1033
  let h = !1;
1015
1034
  const u = [];
1016
1035
  let l = 0, f = B;
@@ -1019,170 +1038,128 @@ function Z(e, t, r) {
1019
1038
  return;
1020
1039
  f();
1021
1040
  const d = t(n ? u[0] : u, s, a);
1022
- o ? s(d) : f = Ye(d) ? d : B;
1041
+ o ? s(d) : f = ze(d) ? d : B;
1023
1042
  }, p = i.map(
1024
- (d, y) => At(
1043
+ (d, v) => St(
1025
1044
  d,
1026
1045
  (H) => {
1027
- u[y] = H, l &= ~(1 << y), h && c();
1046
+ u[v] = H, l &= ~(1 << v), h && c();
1028
1047
  },
1029
1048
  () => {
1030
- l |= 1 << y;
1049
+ l |= 1 << v;
1031
1050
  }
1032
1051
  )
1033
1052
  );
1034
1053
  return h = !0, c(), function() {
1035
- ne(p), f(), h = !1;
1054
+ ie(p), f(), h = !1;
1036
1055
  };
1037
1056
  });
1038
1057
  }
1039
- function Qr(e) {
1058
+ function Xr(e) {
1040
1059
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1041
1060
  }
1042
- var qr = function(t) {
1043
- return Jr(t) && !Yr(t);
1061
+ var Wr = function(t) {
1062
+ return zr(t) && !Zr(t);
1044
1063
  };
1045
- function Jr(e) {
1064
+ function zr(e) {
1046
1065
  return !!e && typeof e == "object";
1047
1066
  }
1048
- function Yr(e) {
1067
+ function Zr(e) {
1049
1068
  var t = Object.prototype.toString.call(e);
1050
- return t === "[object RegExp]" || t === "[object Date]" || tn(e);
1069
+ return t === "[object RegExp]" || t === "[object Date]" || Jr(e);
1051
1070
  }
1052
- var Kr = typeof Symbol == "function" && Symbol.for, en = Kr ? Symbol.for("react.element") : 60103;
1053
- function tn(e) {
1054
- return e.$$typeof === en;
1071
+ var Qr = typeof Symbol == "function" && Symbol.for, qr = Qr ? Symbol.for("react.element") : 60103;
1072
+ function Jr(e) {
1073
+ return e.$$typeof === qr;
1055
1074
  }
1056
- function rn(e) {
1075
+ function Yr(e) {
1057
1076
  return Array.isArray(e) ? [] : {};
1058
1077
  }
1059
- function te(e, t) {
1060
- return t.clone !== !1 && t.isMergeableObject(e) ? k(rn(e), e, t) : e;
1078
+ function re(e, t) {
1079
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(Yr(e), e, t) : e;
1061
1080
  }
1062
- function nn(e, t, r) {
1081
+ function Kr(e, t, r) {
1063
1082
  return e.concat(t).map(function(n) {
1064
- return te(n, r);
1083
+ return re(n, r);
1065
1084
  });
1066
1085
  }
1067
- function on(e, t) {
1086
+ function en(e, t) {
1068
1087
  if (!t.customMerge)
1069
- return k;
1088
+ return V;
1070
1089
  var r = t.customMerge(e);
1071
- return typeof r == "function" ? r : k;
1090
+ return typeof r == "function" ? r : V;
1072
1091
  }
1073
- function sn(e) {
1092
+ function tn(e) {
1074
1093
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1075
1094
  return Object.propertyIsEnumerable.call(e, t);
1076
1095
  }) : [];
1077
1096
  }
1078
- function lt(e) {
1079
- return Object.keys(e).concat(sn(e));
1097
+ function ot(e) {
1098
+ return Object.keys(e).concat(tn(e));
1080
1099
  }
1081
- function Ut(e, t) {
1100
+ function Nt(e, t) {
1082
1101
  try {
1083
1102
  return t in e;
1084
1103
  } catch {
1085
1104
  return !1;
1086
1105
  }
1087
1106
  }
1088
- function an(e, t) {
1089
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1107
+ function rn(e, t) {
1108
+ return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1090
1109
  }
1091
- function un(e, t, r) {
1110
+ function nn(e, t, r) {
1092
1111
  var n = {};
1093
- return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1094
- n[i] = te(e[i], r);
1095
- }), lt(t).forEach(function(i) {
1096
- an(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1112
+ return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1113
+ n[i] = re(e[i], r);
1114
+ }), ot(t).forEach(function(i) {
1115
+ rn(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = en(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1097
1116
  }), n;
1098
1117
  }
1099
- function k(e, t, r) {
1100
- r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = te;
1118
+ function V(e, t, r) {
1119
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kr, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = re;
1101
1120
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1102
- return o ? n ? r.arrayMerge(e, t, r) : un(e, t, r) : te(t, r);
1121
+ return o ? n ? r.arrayMerge(e, t, r) : nn(e, t, r) : re(t, r);
1103
1122
  }
1104
- k.all = function(t, r) {
1123
+ V.all = function(t, r) {
1105
1124
  if (!Array.isArray(t))
1106
1125
  throw new Error("first argument should be an array");
1107
1126
  return t.reduce(function(n, i) {
1108
- return k(n, i, r);
1127
+ return V(n, i, r);
1109
1128
  }, {});
1110
1129
  };
1111
- var hn = k, ln = hn;
1112
- const cn = /* @__PURE__ */ Qr(ln);
1113
- var ke = function(e, t) {
1114
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1115
- r.__proto__ = n;
1116
- } || function(r, n) {
1117
- for (var i in n)
1118
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1119
- }, ke(e, t);
1120
- };
1121
- function Ee(e, t) {
1122
- if (typeof t != "function" && t !== null)
1123
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1124
- ke(e, t);
1125
- function r() {
1126
- this.constructor = e;
1127
- }
1128
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1129
- }
1130
- var A = function() {
1131
- return A = Object.assign || function(t) {
1132
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1133
- r = arguments[n];
1134
- for (var o in r)
1135
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1136
- }
1137
- return t;
1138
- }, A.apply(this, arguments);
1139
- };
1140
- function fn(e, t) {
1141
- var r = {};
1142
- for (var n in e)
1143
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1144
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1145
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1146
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1147
- return r;
1148
- }
1149
- function Ae(e, t, r) {
1150
- if (r || arguments.length === 2)
1151
- for (var n = 0, i = t.length, o; n < i; n++)
1152
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1153
- return e.concat(o || Array.prototype.slice.call(t));
1154
- }
1155
- function Pe(e, t) {
1156
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : mn;
1130
+ var on = V, sn = on;
1131
+ const an = /* @__PURE__ */ Xr(sn);
1132
+ function Be(e, t) {
1133
+ var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : ln;
1157
1134
  return i(e, {
1158
1135
  cache: r,
1159
1136
  serializer: n
1160
1137
  });
1161
1138
  }
1162
- function pn(e) {
1139
+ function un(e) {
1163
1140
  return e == null || typeof e == "number" || typeof e == "boolean";
1164
1141
  }
1165
- function dn(e, t, r, n) {
1166
- var i = pn(n) ? n : r(n), o = t.get(i);
1142
+ function hn(e, t, r, n) {
1143
+ var i = un(n) ? n : r(n), o = t.get(i);
1167
1144
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1168
1145
  }
1169
- function Gt(e, t, r) {
1146
+ function Mt(e, t, r) {
1170
1147
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1171
1148
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1172
1149
  }
1173
- function Dt(e, t, r, n, i) {
1150
+ function Ct(e, t, r, n, i) {
1174
1151
  return r.bind(t, e, n, i);
1175
1152
  }
1176
- function mn(e, t) {
1177
- var r = e.length === 1 ? dn : Gt;
1178
- return Dt(e, this, r, t.cache.create(), t.serializer);
1153
+ function ln(e, t) {
1154
+ var r = e.length === 1 ? hn : Mt;
1155
+ return Ct(e, this, r, t.cache.create(), t.serializer);
1179
1156
  }
1180
- function bn(e, t) {
1181
- return Dt(e, this, Gt, t.cache.create(), t.serializer);
1157
+ function cn(e, t) {
1158
+ return Ct(e, this, Mt, t.cache.create(), t.serializer);
1182
1159
  }
1183
- var gn = function() {
1160
+ var fn = function() {
1184
1161
  return JSON.stringify(arguments);
1185
- }, yn = (
1162
+ }, pn = (
1186
1163
  /** @class */
1187
1164
  function() {
1188
1165
  function e() {
@@ -1194,71 +1171,61 @@ var gn = function() {
1194
1171
  this.cache[t] = r;
1195
1172
  }, e;
1196
1173
  }()
1197
- ), vn = {
1174
+ ), dn = {
1198
1175
  create: function() {
1199
- return new yn();
1176
+ return new pn();
1200
1177
  }
1201
- }, Oe = {
1202
- variadic: bn
1203
- }, me = function() {
1204
- return me = Object.assign || function(t) {
1205
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1206
- r = arguments[n];
1207
- for (var o in r)
1208
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1209
- }
1210
- return t;
1211
- }, me.apply(this, arguments);
1212
- };
1213
- var m;
1178
+ }, we = {
1179
+ variadic: cn
1180
+ }, m;
1214
1181
  (function(e) {
1215
1182
  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";
1216
1183
  })(m || (m = {}));
1217
- var v;
1184
+ var _;
1218
1185
  (function(e) {
1219
1186
  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";
1220
- })(v || (v = {}));
1221
- var V;
1187
+ })(_ || (_ = {}));
1188
+ var X;
1222
1189
  (function(e) {
1223
1190
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1224
- })(V || (V = {}));
1225
- function ct(e) {
1226
- return e.type === v.literal;
1191
+ })(X || (X = {}));
1192
+ function st(e) {
1193
+ return e.type === _.literal;
1227
1194
  }
1228
- function _n(e) {
1229
- return e.type === v.argument;
1195
+ function mn(e) {
1196
+ return e.type === _.argument;
1230
1197
  }
1231
- function Ft(e) {
1232
- return e.type === v.number;
1198
+ function $t(e) {
1199
+ return e.type === _.number;
1233
1200
  }
1234
- function jt(e) {
1235
- return e.type === v.date;
1201
+ function Rt(e) {
1202
+ return e.type === _.date;
1236
1203
  }
1237
- function kt(e) {
1238
- return e.type === v.time;
1204
+ function Ut(e) {
1205
+ return e.type === _.time;
1239
1206
  }
1240
- function Vt(e) {
1241
- return e.type === v.select;
1207
+ function Gt(e) {
1208
+ return e.type === _.select;
1242
1209
  }
1243
- function Xt(e) {
1244
- return e.type === v.plural;
1210
+ function Dt(e) {
1211
+ return e.type === _.plural;
1245
1212
  }
1246
- function En(e) {
1247
- return e.type === v.pound;
1213
+ function bn(e) {
1214
+ return e.type === _.pound;
1248
1215
  }
1249
- function Wt(e) {
1250
- return e.type === v.tag;
1216
+ function Ft(e) {
1217
+ return e.type === _.tag;
1251
1218
  }
1252
- function zt(e) {
1253
- return !!(e && typeof e == "object" && e.type === V.number);
1219
+ function jt(e) {
1220
+ return !!(e && typeof e == "object" && e.type === X.number);
1254
1221
  }
1255
- function Ve(e) {
1256
- return !!(e && typeof e == "object" && e.type === V.dateTime);
1222
+ function Ge(e) {
1223
+ return !!(e && typeof e == "object" && e.type === X.dateTime);
1257
1224
  }
1258
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[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;
1259
- function Sn(e) {
1225
+ var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[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;
1226
+ function yn(e) {
1260
1227
  var t = {};
1261
- return e.replace(xn, function(r) {
1228
+ return e.replace(gn, function(r) {
1262
1229
  var n = r.length;
1263
1230
  switch (r[0]) {
1264
1231
  case "G":
@@ -1347,21 +1314,11 @@ function Sn(e) {
1347
1314
  return "";
1348
1315
  }), t;
1349
1316
  }
1350
- var _ = function() {
1351
- return _ = Object.assign || function(t) {
1352
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1353
- r = arguments[n];
1354
- for (var o in r)
1355
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1356
- }
1357
- return t;
1358
- }, _.apply(this, arguments);
1359
- };
1360
- var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1361
- function Hn(e) {
1317
+ var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1318
+ function _n(e) {
1362
1319
  if (e.length === 0)
1363
1320
  throw new Error("Number skeleton cannot be empty");
1364
- for (var t = e.split(Tn).filter(function(c) {
1321
+ for (var t = e.split(vn).filter(function(c) {
1365
1322
  return c.length > 0;
1366
1323
  }), r = [], n = 0, i = t; n < i.length; n++) {
1367
1324
  var o = i[n], s = o.split("/");
@@ -1376,17 +1333,17 @@ function Hn(e) {
1376
1333
  }
1377
1334
  return r;
1378
1335
  }
1379
- function Bn(e) {
1336
+ function xn(e) {
1380
1337
  return e.replace(/^(.*?)-/, "");
1381
1338
  }
1382
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1383
- function pt(e) {
1339
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
1340
+ function ut(e) {
1384
1341
  var t = {};
1385
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1342
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vt, function(r, n, i) {
1386
1343
  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)), "";
1387
1344
  }), t;
1388
1345
  }
1389
- function Jt(e) {
1346
+ function Wt(e) {
1390
1347
  switch (e) {
1391
1348
  case "sign-auto":
1392
1349
  return {
@@ -1426,7 +1383,7 @@ function Jt(e) {
1426
1383
  };
1427
1384
  }
1428
1385
  }
1429
- function An(e) {
1386
+ function Sn(e) {
1430
1387
  var t;
1431
1388
  if (e[0] === "E" && e[1] === "E" ? (t = {
1432
1389
  notation: "engineering"
@@ -1434,17 +1391,17 @@ function An(e) {
1434
1391
  notation: "scientific"
1435
1392
  }, e = e.slice(1)), t) {
1436
1393
  var r = e.slice(0, 2);
1437
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1394
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
1438
1395
  throw new Error("Malformed concise eng/scientific notation");
1439
1396
  t.minimumIntegerDigits = e.length;
1440
1397
  }
1441
1398
  return t;
1442
1399
  }
1443
- function dt(e) {
1444
- var t = {}, r = Jt(e);
1400
+ function ht(e) {
1401
+ var t = {}, r = Wt(e);
1445
1402
  return r || t;
1446
1403
  }
1447
- function Pn(e) {
1404
+ function Tn(e) {
1448
1405
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1449
1406
  var i = n[r];
1450
1407
  switch (i.stem) {
@@ -1468,7 +1425,7 @@ function Pn(e) {
1468
1425
  continue;
1469
1426
  case "measure-unit":
1470
1427
  case "unit":
1471
- t.style = "unit", t.unit = Bn(i.options[0]);
1428
+ t.style = "unit", t.unit = xn(i.options[0]);
1472
1429
  continue;
1473
1430
  case "compact-short":
1474
1431
  case "K":
@@ -1479,13 +1436,13 @@ function Pn(e) {
1479
1436
  t.notation = "compact", t.compactDisplay = "long";
1480
1437
  continue;
1481
1438
  case "scientific":
1482
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1483
- return _(_({}, h), dt(u));
1439
+ t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1440
+ return g(g({}, h), ht(u));
1484
1441
  }, {}));
1485
1442
  continue;
1486
1443
  case "engineering":
1487
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1488
- return _(_({}, h), dt(u));
1444
+ t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1445
+ return g(g({}, h), ht(u));
1489
1446
  }, {}));
1490
1447
  continue;
1491
1448
  case "notation-simple":
@@ -1530,7 +1487,7 @@ function Pn(e) {
1530
1487
  case "integer-width":
1531
1488
  if (i.options.length > 1)
1532
1489
  throw new RangeError("integer-width stems only accept a single optional option");
1533
- i.options[0].replace(wn, function(h, u, l, f, c, p) {
1490
+ i.options[0].replace(En, function(h, u, l, f, c, p) {
1534
1491
  if (u)
1535
1492
  t.minimumIntegerDigits = l.length;
1536
1493
  else {
@@ -1543,28 +1500,28 @@ function Pn(e) {
1543
1500
  });
1544
1501
  continue;
1545
1502
  }
1546
- if (qt.test(i.stem)) {
1503
+ if (Xt.test(i.stem)) {
1547
1504
  t.minimumIntegerDigits = i.stem.length;
1548
1505
  continue;
1549
1506
  }
1550
- if (ft.test(i.stem)) {
1507
+ if (at.test(i.stem)) {
1551
1508
  if (i.options.length > 1)
1552
1509
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1553
- i.stem.replace(ft, function(h, u, l, f, c, p) {
1510
+ i.stem.replace(at, function(h, u, l, f, c, p) {
1554
1511
  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), "";
1555
1512
  });
1556
1513
  var o = i.options[0];
1557
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), pt(o)));
1514
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ut(o)));
1558
1515
  continue;
1559
1516
  }
1560
- if (Qt.test(i.stem)) {
1561
- t = _(_({}, t), pt(i.stem));
1517
+ if (Vt.test(i.stem)) {
1518
+ t = g(g({}, t), ut(i.stem));
1562
1519
  continue;
1563
1520
  }
1564
- var s = Jt(i.stem);
1565
- s && (t = _(_({}, t), s));
1566
- var a = An(i.stem);
1567
- a && (t = _(_({}, t), a));
1521
+ var s = Wt(i.stem);
1522
+ s && (t = g(g({}, t), s));
1523
+ var a = Sn(i.stem);
1524
+ a && (t = g(g({}, t), a));
1568
1525
  }
1569
1526
  return t;
1570
1527
  }
@@ -2983,13 +2940,13 @@ var le = {
2983
2940
  "h"
2984
2941
  ]
2985
2942
  };
2986
- function On(e, t) {
2943
+ function Hn(e, t) {
2987
2944
  for (var r = "", n = 0; n < e.length; n++) {
2988
2945
  var i = e.charAt(n);
2989
2946
  if (i === "j") {
2990
2947
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2991
2948
  o++, n++;
2992
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = In(t);
2949
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Bn(t);
2993
2950
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2994
2951
  r += h;
2995
2952
  for (; s-- > 0; )
@@ -2999,7 +2956,7 @@ function On(e, t) {
2999
2956
  }
3000
2957
  return r;
3001
2958
  }
3002
- function In(e) {
2959
+ function Bn(e) {
3003
2960
  var t = e.hourCycle;
3004
2961
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3005
2962
  e.hourCycles && // @ts-ignore
@@ -3021,20 +2978,20 @@ function In(e) {
3021
2978
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3022
2979
  return i[0];
3023
2980
  }
3024
- var Ie, Ln = new RegExp("^".concat(Zt.source, "*")), Nn = new RegExp("".concat(Zt.source, "*$"));
2981
+ var Ae, wn = new RegExp("^".concat(kt.source, "*")), An = new RegExp("".concat(kt.source, "*$"));
3025
2982
  function b(e, t) {
3026
2983
  return { start: e, end: t };
3027
2984
  }
3028
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Cn = !!String.fromCodePoint, $n = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Fn = Dn ? Number.isSafeInteger : function(e) {
2985
+ var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, $n = Cn ? Number.isSafeInteger : function(e) {
3029
2986
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3030
- }, Xe = !0;
2987
+ }, De = !0;
3031
2988
  try {
3032
- var jn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3033
- Xe = ((Ie = jn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2989
+ var Rn = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2990
+ De = ((Ae = Rn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3034
2991
  } catch {
3035
- Xe = !1;
2992
+ De = !1;
3036
2993
  }
3037
- var mt = Mn ? (
2994
+ var lt = Pn ? (
3038
2995
  // Native
3039
2996
  function(t, r, n) {
3040
2997
  return t.startsWith(r, n);
@@ -3044,7 +3001,7 @@ var mt = Mn ? (
3044
3001
  function(t, r, n) {
3045
3002
  return t.slice(n, n + r.length) === r;
3046
3003
  }
3047
- ), We = Cn ? String.fromCodePoint : (
3004
+ ), Fe = On ? String.fromCodePoint : (
3048
3005
  // IE11
3049
3006
  function() {
3050
3007
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3056,9 +3013,9 @@ var mt = Mn ? (
3056
3013
  }
3057
3014
  return n;
3058
3015
  }
3059
- ), bt = (
3016
+ ), ct = (
3060
3017
  // native
3061
- $n ? Object.fromEntries : (
3018
+ In ? Object.fromEntries : (
3062
3019
  // Ponyfill
3063
3020
  function(t) {
3064
3021
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3068,7 +3025,7 @@ var mt = Mn ? (
3068
3025
  return r;
3069
3026
  }
3070
3027
  )
3071
- ), Yt = Rn ? (
3028
+ ), zt = Ln ? (
3072
3029
  // Native
3073
3030
  function(t, r) {
3074
3031
  return t.codePointAt(r);
@@ -3082,7 +3039,7 @@ var mt = Mn ? (
3082
3039
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3083
3040
  }
3084
3041
  }
3085
- ), kn = Un ? (
3042
+ ), Un = Nn ? (
3086
3043
  // Native
3087
3044
  function(t) {
3088
3045
  return t.trimStart();
@@ -3090,9 +3047,9 @@ var mt = Mn ? (
3090
3047
  ) : (
3091
3048
  // Ponyfill
3092
3049
  function(t) {
3093
- return t.replace(Ln, "");
3050
+ return t.replace(wn, "");
3094
3051
  }
3095
- ), Vn = Gn ? (
3052
+ ), Gn = Mn ? (
3096
3053
  // Native
3097
3054
  function(t) {
3098
3055
  return t.trimEnd();
@@ -3100,32 +3057,32 @@ var mt = Mn ? (
3100
3057
  ) : (
3101
3058
  // Ponyfill
3102
3059
  function(t) {
3103
- return t.replace(Nn, "");
3060
+ return t.replace(An, "");
3104
3061
  }
3105
3062
  );
3106
- function Kt(e, t) {
3063
+ function Zt(e, t) {
3107
3064
  return new RegExp(e, t);
3108
3065
  }
3109
- var ze;
3110
- if (Xe) {
3111
- var gt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3112
- ze = function(t, r) {
3066
+ var je;
3067
+ if (De) {
3068
+ var ft = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3069
+ je = function(t, r) {
3113
3070
  var n;
3114
- gt.lastIndex = r;
3115
- var i = gt.exec(t);
3071
+ ft.lastIndex = r;
3072
+ var i = ft.exec(t);
3116
3073
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3117
3074
  };
3118
3075
  } else
3119
- ze = function(t, r) {
3076
+ je = function(t, r) {
3120
3077
  for (var n = []; ; ) {
3121
- var i = Yt(t, r);
3122
- if (i === void 0 || er(i) || Zn(i))
3078
+ var i = zt(t, r);
3079
+ if (i === void 0 || Qt(i) || kn(i))
3123
3080
  break;
3124
3081
  n.push(i), r += i >= 65536 ? 2 : 1;
3125
3082
  }
3126
- return We.apply(void 0, n);
3083
+ return Fe.apply(void 0, n);
3127
3084
  };
3128
- var Xn = (
3085
+ var Dn = (
3129
3086
  /** @class */
3130
3087
  function() {
3131
3088
  function e(t, r) {
@@ -3149,14 +3106,14 @@ var Xn = (
3149
3106
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3150
3107
  var a = this.clonePosition();
3151
3108
  this.bump(), i.push({
3152
- type: v.pound,
3109
+ type: _.pound,
3153
3110
  location: b(a, this.clonePosition())
3154
3111
  });
3155
3112
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3156
3113
  if (n)
3157
3114
  break;
3158
3115
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3159
- } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3116
+ } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3160
3117
  var s = this.parseTag(t, r);
3161
3118
  if (s.err)
3162
3119
  return s;
@@ -3177,7 +3134,7 @@ var Xn = (
3177
3134
  if (this.bumpSpace(), this.bumpIf("/>"))
3178
3135
  return {
3179
3136
  val: {
3180
- type: v.literal,
3137
+ type: _.literal,
3181
3138
  value: "<".concat(i, "/>"),
3182
3139
  location: b(n, this.clonePosition())
3183
3140
  },
@@ -3189,12 +3146,12 @@ var Xn = (
3189
3146
  return o;
3190
3147
  var s = o.val, a = this.clonePosition();
3191
3148
  if (this.bumpIf("</")) {
3192
- if (this.isEOF() || !Ze(this.char()))
3149
+ if (this.isEOF() || !ke(this.char()))
3193
3150
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3194
3151
  var h = this.clonePosition(), u = this.parseTagName();
3195
3152
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3196
3153
  val: {
3197
- type: v.tag,
3154
+ type: _.tag,
3198
3155
  value: i,
3199
3156
  children: s,
3200
3157
  location: b(n, this.clonePosition())
@@ -3207,7 +3164,7 @@ var Xn = (
3207
3164
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3208
3165
  }, e.prototype.parseTagName = function() {
3209
3166
  var t = this.offset();
3210
- for (this.bump(); !this.isEOF() && zn(this.char()); )
3167
+ for (this.bump(); !this.isEOF() && jn(this.char()); )
3211
3168
  this.bump();
3212
3169
  return this.message.slice(t, this.offset());
3213
3170
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3231,12 +3188,12 @@ var Xn = (
3231
3188
  }
3232
3189
  var h = b(n, this.clonePosition());
3233
3190
  return {
3234
- val: { type: v.literal, value: i, location: h },
3191
+ val: { type: _.literal, value: i, location: h },
3235
3192
  err: null
3236
3193
  };
3237
3194
  }, e.prototype.tryParseLeftAngleBracket = function() {
3238
3195
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3239
- !Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3196
+ !Fn(this.peek() || 0)) ? (this.bump(), "<") : null;
3240
3197
  }, e.prototype.tryParseQuote = function(t) {
3241
3198
  if (this.isEOF() || this.char() !== 39)
3242
3199
  return null;
@@ -3270,12 +3227,12 @@ var Xn = (
3270
3227
  r.push(n);
3271
3228
  this.bump();
3272
3229
  }
3273
- return We.apply(void 0, r);
3230
+ return Fe.apply(void 0, r);
3274
3231
  }, e.prototype.tryParseUnquoted = function(t, r) {
3275
3232
  if (this.isEOF())
3276
3233
  return null;
3277
3234
  var n = this.char();
3278
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3235
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3279
3236
  }, e.prototype.parseArgument = function(t, r) {
3280
3237
  var n = this.clonePosition();
3281
3238
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3291,7 +3248,7 @@ var Xn = (
3291
3248
  case 125:
3292
3249
  return this.bump(), {
3293
3250
  val: {
3294
- type: v.argument,
3251
+ type: _.argument,
3295
3252
  // value does not include the opening and closing braces.
3296
3253
  value: i,
3297
3254
  location: b(n, this.clonePosition())
@@ -3304,7 +3261,7 @@ var Xn = (
3304
3261
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3305
3262
  }
3306
3263
  }, e.prototype.parseIdentifierIfPossible = function() {
3307
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3264
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3308
3265
  this.bumpTo(i);
3309
3266
  var o = this.clonePosition(), s = b(t, o);
3310
3267
  return { value: n, location: s };
@@ -3323,7 +3280,7 @@ var Xn = (
3323
3280
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3324
3281
  if (f.err)
3325
3282
  return f;
3326
- var c = Vn(f.val);
3283
+ var c = Gn(f.val);
3327
3284
  if (c.length === 0)
3328
3285
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3329
3286
  var p = b(l, this.clonePosition());
@@ -3332,37 +3289,37 @@ var Xn = (
3332
3289
  var d = this.tryParseArgumentClose(i);
3333
3290
  if (d.err)
3334
3291
  return d;
3335
- var y = b(i, this.clonePosition());
3336
- if (u && mt(u?.style, "::", 0)) {
3337
- var H = kn(u.style.slice(2));
3292
+ var v = b(i, this.clonePosition());
3293
+ if (u && lt(u?.style, "::", 0)) {
3294
+ var H = Un(u.style.slice(2));
3338
3295
  if (a === "number") {
3339
3296
  var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3340
3297
  return f.err ? f : {
3341
- val: { type: v.number, value: n, location: y, style: f.val },
3298
+ val: { type: _.number, value: n, location: v, style: f.val },
3342
3299
  err: null
3343
3300
  };
3344
3301
  } else {
3345
3302
  if (H.length === 0)
3346
- return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
3303
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3347
3304
  var C = H;
3348
- this.locale && (C = On(H, this.locale));
3305
+ this.locale && (C = Hn(H, this.locale));
3349
3306
  var c = {
3350
- type: V.dateTime,
3307
+ type: X.dateTime,
3351
3308
  pattern: C,
3352
3309
  location: u.styleLocation,
3353
- parsedOptions: this.shouldParseSkeletons ? Sn(C) : {}
3354
- }, L = a === "date" ? v.date : v.time;
3310
+ parsedOptions: this.shouldParseSkeletons ? yn(C) : {}
3311
+ }, L = a === "date" ? _.date : _.time;
3355
3312
  return {
3356
- val: { type: L, value: n, location: y, style: c },
3313
+ val: { type: L, value: n, location: v, style: c },
3357
3314
  err: null
3358
3315
  };
3359
3316
  }
3360
3317
  }
3361
3318
  return {
3362
3319
  val: {
3363
- type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3320
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3364
3321
  value: n,
3365
- location: y,
3322
+ location: v,
3366
3323
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3367
3324
  },
3368
3325
  err: null
@@ -3371,11 +3328,11 @@ var Xn = (
3371
3328
  case "plural":
3372
3329
  case "selectordinal":
3373
3330
  case "select": {
3374
- var x = this.clonePosition();
3331
+ var E = this.clonePosition();
3375
3332
  if (this.bumpSpace(), !this.bumpIf(","))
3376
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, me({}, x)));
3333
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(E, g({}, E)));
3377
3334
  this.bumpSpace();
3378
- var $ = this.parseIdentifierIfPossible(), P = 0;
3335
+ var $ = this.parseIdentifierIfPossible(), A = 0;
3379
3336
  if (a !== "select" && $.value === "offset") {
3380
3337
  if (!this.bumpIf(":"))
3381
3338
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -3383,7 +3340,7 @@ var Xn = (
3383
3340
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3384
3341
  if (f.err)
3385
3342
  return f;
3386
- this.bumpSpace(), $ = this.parseIdentifierIfPossible(), P = f.val;
3343
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), A = f.val;
3387
3344
  }
3388
3345
  var U = this.tryParsePluralOrSelectOptions(t, a, r, $);
3389
3346
  if (U.err)
@@ -3394,18 +3351,18 @@ var Xn = (
3394
3351
  var ae = b(i, this.clonePosition());
3395
3352
  return a === "select" ? {
3396
3353
  val: {
3397
- type: v.select,
3354
+ type: _.select,
3398
3355
  value: n,
3399
- options: bt(U.val),
3356
+ options: ct(U.val),
3400
3357
  location: ae
3401
3358
  },
3402
3359
  err: null
3403
3360
  } : {
3404
3361
  val: {
3405
- type: v.plural,
3362
+ type: _.plural,
3406
3363
  value: n,
3407
- options: bt(U.val),
3408
- offset: P,
3364
+ options: ct(U.val),
3365
+ offset: A,
3409
3366
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3410
3367
  location: ae
3411
3368
  },
@@ -3455,16 +3412,16 @@ var Xn = (
3455
3412
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3456
3413
  var n = [];
3457
3414
  try {
3458
- n = Hn(t);
3415
+ n = _n(t);
3459
3416
  } catch {
3460
3417
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3461
3418
  }
3462
3419
  return {
3463
3420
  val: {
3464
- type: V.number,
3421
+ type: X.number,
3465
3422
  tokens: n,
3466
3423
  location: r,
3467
- parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3424
+ parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
3468
3425
  },
3469
3426
  err: null
3470
3427
  };
@@ -3489,9 +3446,9 @@ var Xn = (
3489
3446
  var d = this.parseMessage(t + 1, r, n);
3490
3447
  if (d.err)
3491
3448
  return d;
3492
- var y = this.tryParseArgumentClose(p);
3493
- if (y.err)
3494
- return y;
3449
+ var v = this.tryParseArgumentClose(p);
3450
+ if (v.err)
3451
+ return v;
3495
3452
  a.push([
3496
3453
  u,
3497
3454
  {
@@ -3512,7 +3469,7 @@ var Xn = (
3512
3469
  break;
3513
3470
  }
3514
3471
  var h = b(i, this.clonePosition());
3515
- return o ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3472
+ return o ? (s *= n, $n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3516
3473
  }, e.prototype.offset = function() {
3517
3474
  return this.position.offset;
3518
3475
  }, e.prototype.isEOF = function() {
@@ -3527,7 +3484,7 @@ var Xn = (
3527
3484
  var t = this.position.offset;
3528
3485
  if (t >= this.message.length)
3529
3486
  throw Error("out of bound");
3530
- var r = Yt(this.message, t);
3487
+ var r = zt(this.message, t);
3531
3488
  if (r === void 0)
3532
3489
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3533
3490
  return r;
@@ -3546,7 +3503,7 @@ var Xn = (
3546
3503
  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);
3547
3504
  }
3548
3505
  }, e.prototype.bumpIf = function(t) {
3549
- if (mt(this.message, t, this.offset())) {
3506
+ if (lt(this.message, t, this.offset())) {
3550
3507
  for (var r = 0; r < t.length; r++)
3551
3508
  this.bump();
3552
3509
  return !0;
@@ -3568,7 +3525,7 @@ var Xn = (
3568
3525
  break;
3569
3526
  }
3570
3527
  }, e.prototype.bumpSpace = function() {
3571
- for (; !this.isEOF() && er(this.char()); )
3528
+ for (; !this.isEOF() && Qt(this.char()); )
3572
3529
  this.bump();
3573
3530
  }, e.prototype.peek = function() {
3574
3531
  if (this.isEOF())
@@ -3578,47 +3535,47 @@ var Xn = (
3578
3535
  }, e;
3579
3536
  }()
3580
3537
  );
3581
- function Ze(e) {
3538
+ function ke(e) {
3582
3539
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3583
3540
  }
3584
- function Wn(e) {
3585
- return Ze(e) || e === 47;
3541
+ function Fn(e) {
3542
+ return ke(e) || e === 47;
3586
3543
  }
3587
- function zn(e) {
3544
+ function jn(e) {
3588
3545
  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;
3589
3546
  }
3590
- function er(e) {
3547
+ function Qt(e) {
3591
3548
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3592
3549
  }
3593
- function Zn(e) {
3550
+ function kn(e) {
3594
3551
  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;
3595
3552
  }
3596
- function Qe(e) {
3553
+ function Ve(e) {
3597
3554
  e.forEach(function(t) {
3598
- if (delete t.location, Vt(t) || Xt(t))
3555
+ if (delete t.location, Gt(t) || Dt(t))
3599
3556
  for (var r in t.options)
3600
- delete t.options[r].location, Qe(t.options[r].value);
3557
+ delete t.options[r].location, Ve(t.options[r].value);
3601
3558
  else
3602
- Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Ve(t.style) ? delete t.style.location : Wt(t) && Qe(t.children);
3559
+ $t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Ge(t.style) ? delete t.style.location : Ft(t) && Ve(t.children);
3603
3560
  });
3604
3561
  }
3605
- function Qn(e, t) {
3606
- t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3607
- var r = new Xn(e, t).parse();
3562
+ function Vn(e, t) {
3563
+ t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3564
+ var r = new Dn(e, t).parse();
3608
3565
  if (r.err) {
3609
3566
  var n = SyntaxError(m[r.err.kind]);
3610
3567
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3611
3568
  }
3612
- return t?.captureLocation || Qe(r.val), r.val;
3569
+ return t?.captureLocation || Ve(r.val), r.val;
3613
3570
  }
3614
- var X;
3571
+ var W;
3615
3572
  (function(e) {
3616
3573
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3617
- })(X || (X = {}));
3618
- var xe = (
3574
+ })(W || (W = {}));
3575
+ var _e = (
3619
3576
  /** @class */
3620
3577
  function(e) {
3621
- Ee(t, e);
3578
+ I(t, e);
3622
3579
  function t(r, n, i) {
3623
3580
  var o = e.call(this, r) || this;
3624
3581
  return o.code = n, o.originalMessage = i, o;
@@ -3627,155 +3584,155 @@ var xe = (
3627
3584
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3628
3585
  }, t;
3629
3586
  }(Error)
3630
- ), yt = (
3587
+ ), pt = (
3631
3588
  /** @class */
3632
3589
  function(e) {
3633
- Ee(t, e);
3590
+ I(t, e);
3634
3591
  function t(r, n, i, o) {
3635
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3592
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3636
3593
  }
3637
3594
  return t;
3638
- }(xe)
3639
- ), qn = (
3595
+ }(_e)
3596
+ ), Xn = (
3640
3597
  /** @class */
3641
3598
  function(e) {
3642
- Ee(t, e);
3599
+ I(t, e);
3643
3600
  function t(r, n, i) {
3644
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3601
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3645
3602
  }
3646
3603
  return t;
3647
- }(xe)
3648
- ), Jn = (
3604
+ }(_e)
3605
+ ), Wn = (
3649
3606
  /** @class */
3650
3607
  function(e) {
3651
- Ee(t, e);
3608
+ I(t, e);
3652
3609
  function t(r, n) {
3653
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3610
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3654
3611
  }
3655
3612
  return t;
3656
- }(xe)
3657
- ), E;
3613
+ }(_e)
3614
+ ), x;
3658
3615
  (function(e) {
3659
3616
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3660
- })(E || (E = {}));
3661
- function Yn(e) {
3617
+ })(x || (x = {}));
3618
+ function zn(e) {
3662
3619
  return e.length < 2 ? e : e.reduce(function(t, r) {
3663
3620
  var n = t[t.length - 1];
3664
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3621
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3665
3622
  }, []);
3666
3623
  }
3667
- function Kn(e) {
3624
+ function Zn(e) {
3668
3625
  return typeof e == "function";
3669
3626
  }
3670
3627
  function pe(e, t, r, n, i, o, s) {
3671
- if (e.length === 1 && ct(e[0]))
3628
+ if (e.length === 1 && st(e[0]))
3672
3629
  return [
3673
3630
  {
3674
- type: E.literal,
3631
+ type: x.literal,
3675
3632
  value: e[0].value
3676
3633
  }
3677
3634
  ];
3678
3635
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3679
3636
  var l = u[h];
3680
- if (ct(l)) {
3637
+ if (st(l)) {
3681
3638
  a.push({
3682
- type: E.literal,
3639
+ type: x.literal,
3683
3640
  value: l.value
3684
3641
  });
3685
3642
  continue;
3686
3643
  }
3687
- if (En(l)) {
3644
+ if (bn(l)) {
3688
3645
  typeof o == "number" && a.push({
3689
- type: E.literal,
3646
+ type: x.literal,
3690
3647
  value: r.getNumberFormat(t).format(o)
3691
3648
  });
3692
3649
  continue;
3693
3650
  }
3694
3651
  var f = l.value;
3695
3652
  if (!(i && f in i))
3696
- throw new Jn(f, s);
3653
+ throw new Wn(f, s);
3697
3654
  var c = i[f];
3698
- if (_n(l)) {
3655
+ if (mn(l)) {
3699
3656
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3700
- type: typeof c == "string" ? E.literal : E.object,
3657
+ type: typeof c == "string" ? x.literal : x.object,
3701
3658
  value: c
3702
3659
  });
3703
3660
  continue;
3704
3661
  }
3705
- if (jt(l)) {
3706
- var p = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3662
+ if (Rt(l)) {
3663
+ var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3707
3664
  a.push({
3708
- type: E.literal,
3665
+ type: x.literal,
3709
3666
  value: r.getDateTimeFormat(t, p).format(c)
3710
3667
  });
3711
3668
  continue;
3712
3669
  }
3713
- if (kt(l)) {
3714
- var p = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3670
+ if (Ut(l)) {
3671
+ var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3715
3672
  a.push({
3716
- type: E.literal,
3673
+ type: x.literal,
3717
3674
  value: r.getDateTimeFormat(t, p).format(c)
3718
3675
  });
3719
3676
  continue;
3720
3677
  }
3721
- if (Ft(l)) {
3722
- var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
3678
+ if ($t(l)) {
3679
+ var p = typeof l.style == "string" ? n.number[l.style] : jt(l.style) ? l.style.parsedOptions : void 0;
3723
3680
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3724
- type: E.literal,
3681
+ type: x.literal,
3725
3682
  value: r.getNumberFormat(t, p).format(c)
3726
3683
  });
3727
3684
  continue;
3728
3685
  }
3729
- if (Wt(l)) {
3730
- var d = l.children, y = l.value, H = i[y];
3731
- if (!Kn(H))
3732
- throw new qn(y, "function", s);
3733
- var C = pe(d, t, r, n, i, o), L = H(C.map(function(P) {
3734
- return P.value;
3686
+ if (Ft(l)) {
3687
+ var d = l.children, v = l.value, H = i[v];
3688
+ if (!Zn(H))
3689
+ throw new Xn(v, "function", s);
3690
+ var C = pe(d, t, r, n, i, o), L = H(C.map(function(A) {
3691
+ return A.value;
3735
3692
  }));
3736
- Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(P) {
3693
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
3737
3694
  return {
3738
- type: typeof P == "string" ? E.literal : E.object,
3739
- value: P
3695
+ type: typeof A == "string" ? x.literal : x.object,
3696
+ value: A
3740
3697
  };
3741
3698
  }));
3742
3699
  }
3743
- if (Vt(l)) {
3744
- var x = l.options[c] || l.options.other;
3745
- if (!x)
3746
- throw new yt(l.value, c, Object.keys(l.options), s);
3747
- a.push.apply(a, pe(x.value, t, r, n, i));
3700
+ if (Gt(l)) {
3701
+ var E = l.options[c] || l.options.other;
3702
+ if (!E)
3703
+ throw new pt(l.value, c, Object.keys(l.options), s);
3704
+ a.push.apply(a, pe(E.value, t, r, n, i));
3748
3705
  continue;
3749
3706
  }
3750
- if (Xt(l)) {
3751
- var x = l.options["=".concat(c)];
3752
- if (!x) {
3707
+ if (Dt(l)) {
3708
+ var E = l.options["=".concat(c)];
3709
+ if (!E) {
3753
3710
  if (!Intl.PluralRules)
3754
- throw new xe(`Intl.PluralRules is not available in this environment.
3711
+ throw new _e(`Intl.PluralRules is not available in this environment.
3755
3712
  Try polyfilling it using "@formatjs/intl-pluralrules"
3756
- `, X.MISSING_INTL_API, s);
3713
+ `, W.MISSING_INTL_API, s);
3757
3714
  var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3758
- x = l.options[$] || l.options.other;
3715
+ E = l.options[$] || l.options.other;
3759
3716
  }
3760
- if (!x)
3761
- throw new yt(l.value, c, Object.keys(l.options), s);
3762
- a.push.apply(a, pe(x.value, t, r, n, i, c - (l.offset || 0)));
3717
+ if (!E)
3718
+ throw new pt(l.value, c, Object.keys(l.options), s);
3719
+ a.push.apply(a, pe(E.value, t, r, n, i, c - (l.offset || 0)));
3763
3720
  continue;
3764
3721
  }
3765
3722
  }
3766
- return Yn(a);
3723
+ return zn(a);
3767
3724
  }
3768
- function ei(e, t) {
3769
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3770
- return r[n] = A(A({}, e[n]), t[n] || {}), r;
3725
+ function Qn(e, t) {
3726
+ return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3727
+ return r[n] = g(g({}, e[n]), t[n] || {}), r;
3771
3728
  }, {})) : e;
3772
3729
  }
3773
- function ti(e, t) {
3730
+ function qn(e, t) {
3774
3731
  return t ? Object.keys(e).reduce(function(r, n) {
3775
- return r[n] = ei(e[n], t[n]), r;
3776
- }, A({}, e)) : e;
3732
+ return r[n] = Qn(e[n], t[n]), r;
3733
+ }, g({}, e)) : e;
3777
3734
  }
3778
- function Le(e) {
3735
+ function Pe(e) {
3779
3736
  return {
3780
3737
  create: function() {
3781
3738
  return {
@@ -3789,39 +3746,39 @@ function Le(e) {
3789
3746
  }
3790
3747
  };
3791
3748
  }
3792
- function ri(e) {
3749
+ function Jn(e) {
3793
3750
  return e === void 0 && (e = {
3794
3751
  number: {},
3795
3752
  dateTime: {},
3796
3753
  pluralRules: {}
3797
3754
  }), {
3798
- getNumberFormat: Pe(function() {
3755
+ getNumberFormat: Be(function() {
3799
3756
  for (var t, r = [], n = 0; n < arguments.length; n++)
3800
3757
  r[n] = arguments[n];
3801
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3758
+ return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3802
3759
  }, {
3803
- cache: Le(e.number),
3804
- strategy: Oe.variadic
3760
+ cache: Pe(e.number),
3761
+ strategy: we.variadic
3805
3762
  }),
3806
- getDateTimeFormat: Pe(function() {
3763
+ getDateTimeFormat: Be(function() {
3807
3764
  for (var t, r = [], n = 0; n < arguments.length; n++)
3808
3765
  r[n] = arguments[n];
3809
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3766
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3810
3767
  }, {
3811
- cache: Le(e.dateTime),
3812
- strategy: Oe.variadic
3768
+ cache: Pe(e.dateTime),
3769
+ strategy: we.variadic
3813
3770
  }),
3814
- getPluralRules: Pe(function() {
3771
+ getPluralRules: Be(function() {
3815
3772
  for (var t, r = [], n = 0; n < arguments.length; n++)
3816
3773
  r[n] = arguments[n];
3817
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3774
+ return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3818
3775
  }, {
3819
- cache: Le(e.pluralRules),
3820
- strategy: Oe.variadic
3776
+ cache: Pe(e.pluralRules),
3777
+ strategy: we.variadic
3821
3778
  })
3822
3779
  };
3823
3780
  }
3824
- var ni = (
3781
+ var Yn = (
3825
3782
  /** @class */
3826
3783
  function() {
3827
3784
  function e(t, r, n, i) {
@@ -3836,7 +3793,7 @@ var ni = (
3836
3793
  if (u.length === 1)
3837
3794
  return u[0].value;
3838
3795
  var l = u.reduce(function(f, c) {
3839
- return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3796
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3840
3797
  }, []);
3841
3798
  return l.length <= 1 ? l[0] || "" : l;
3842
3799
  }, this.formatToParts = function(h) {
@@ -3853,13 +3810,13 @@ var ni = (
3853
3810
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3854
3811
  var s = i || {};
3855
3812
  s.formatters;
3856
- var a = fn(s, ["formatters"]);
3857
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3813
+ var a = Pr(s, ["formatters"]);
3814
+ this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3858
3815
  } else
3859
3816
  this.ast = t;
3860
3817
  if (!Array.isArray(this.ast))
3861
3818
  throw new TypeError("A message must be provided as a String or AST.");
3862
- this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
3819
+ this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3863
3820
  }
3864
3821
  return Object.defineProperty(e, "defaultLocale", {
3865
3822
  get: function() {
@@ -3872,7 +3829,7 @@ var ni = (
3872
3829
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3873
3830
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3874
3831
  }
3875
- }, e.__parse = Qn, e.formats = {
3832
+ }, e.__parse = Vn, e.formats = {
3876
3833
  number: {
3877
3834
  integer: {
3878
3835
  maximumFractionDigits: 0
@@ -3933,7 +3890,7 @@ var ni = (
3933
3890
  }, e;
3934
3891
  }()
3935
3892
  );
3936
- function ii(e, t) {
3893
+ function Kn(e, t) {
3937
3894
  if (t == null)
3938
3895
  return;
3939
3896
  if (t in e)
@@ -3954,92 +3911,92 @@ function ii(e, t) {
3954
3911
  n = void 0;
3955
3912
  return n;
3956
3913
  }
3957
- const M = {}, oi = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), tr = (e, t) => {
3914
+ const M = {}, ei = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), qt = (e, t) => {
3958
3915
  if (t == null)
3959
3916
  return;
3960
3917
  if (t in M && e in M[t])
3961
3918
  return M[t][e];
3962
- const r = Se(t);
3919
+ const r = xe(t);
3963
3920
  for (let n = 0; n < r.length; n++) {
3964
- const i = r[n], o = ai(i, e);
3921
+ const i = r[n], o = ri(i, e);
3965
3922
  if (o)
3966
- return oi(e, t, o);
3923
+ return ei(e, t, o);
3967
3924
  }
3968
3925
  };
3969
- let Ke;
3970
- const se = _e({});
3971
- function si(e) {
3972
- return Ke[e] || null;
3926
+ let Ze;
3927
+ const se = ve({});
3928
+ function ti(e) {
3929
+ return Ze[e] || null;
3973
3930
  }
3974
- function rr(e) {
3975
- return e in Ke;
3931
+ function Jt(e) {
3932
+ return e in Ze;
3976
3933
  }
3977
- function ai(e, t) {
3978
- if (!rr(e))
3934
+ function ri(e, t) {
3935
+ if (!Jt(e))
3979
3936
  return null;
3980
- const r = si(e);
3981
- return ii(r, t);
3937
+ const r = ti(e);
3938
+ return Kn(r, t);
3982
3939
  }
3983
- function ui(e) {
3940
+ function ni(e) {
3984
3941
  if (e == null)
3985
3942
  return;
3986
- const t = Se(e);
3943
+ const t = xe(e);
3987
3944
  for (let r = 0; r < t.length; r++) {
3988
3945
  const n = t[r];
3989
- if (rr(n))
3946
+ if (Jt(n))
3990
3947
  return n;
3991
3948
  }
3992
3949
  }
3993
- function nr(e, ...t) {
3994
- delete M[e], se.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
3950
+ function Yt(e, ...t) {
3951
+ delete M[e], se.update((r) => (r[e] = an.all([r[e] || {}, ...t]), r));
3995
3952
  }
3996
- Z(
3953
+ Q(
3997
3954
  [se],
3998
3955
  ([e]) => Object.keys(e)
3999
3956
  );
4000
- se.subscribe((e) => Ke = e);
3957
+ se.subscribe((e) => Ze = e);
4001
3958
  const de = {};
4002
- function hi(e, t) {
3959
+ function ii(e, t) {
4003
3960
  de[e].delete(t), de[e].size === 0 && delete de[e];
4004
3961
  }
4005
- function ir(e) {
3962
+ function Kt(e) {
4006
3963
  return de[e];
4007
3964
  }
4008
- function li(e) {
4009
- return Se(e).map((t) => {
4010
- const r = ir(t);
3965
+ function oi(e) {
3966
+ return xe(e).map((t) => {
3967
+ const r = Kt(t);
4011
3968
  return [t, r ? [...r] : []];
4012
3969
  }).filter(([, t]) => t.length > 0);
4013
3970
  }
4014
- function qe(e) {
4015
- return e == null ? !1 : Se(e).some(
3971
+ function Xe(e) {
3972
+ return e == null ? !1 : xe(e).some(
4016
3973
  (t) => {
4017
3974
  var r;
4018
- return (r = ir(t)) == null ? void 0 : r.size;
3975
+ return (r = Kt(t)) == null ? void 0 : r.size;
4019
3976
  }
4020
3977
  );
4021
3978
  }
4022
- function ci(e, t) {
3979
+ function si(e, t) {
4023
3980
  return Promise.all(
4024
- t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
4025
- ).then((n) => nr(e, ...n));
3981
+ t.map((n) => (ii(e, n), n().then((i) => i.default || i)))
3982
+ ).then((n) => Yt(e, ...n));
4026
3983
  }
4027
- const Y = {};
4028
- function or(e) {
4029
- if (!qe(e))
4030
- return e in Y ? Y[e] : Promise.resolve();
4031
- const t = li(e);
4032
- return Y[e] = Promise.all(
3984
+ const K = {};
3985
+ function er(e) {
3986
+ if (!Xe(e))
3987
+ return e in K ? K[e] : Promise.resolve();
3988
+ const t = oi(e);
3989
+ return K[e] = Promise.all(
4033
3990
  t.map(
4034
- ([r, n]) => ci(r, n)
3991
+ ([r, n]) => si(r, n)
4035
3992
  )
4036
3993
  ).then(() => {
4037
- if (qe(e))
4038
- return or(e);
4039
- delete Y[e];
4040
- }), Y[e];
3994
+ if (Xe(e))
3995
+ return er(e);
3996
+ delete K[e];
3997
+ }), K[e];
4041
3998
  }
4042
- const fi = {
3999
+ const ai = {
4043
4000
  number: {
4044
4001
  scientific: { notation: "scientific" },
4045
4002
  engineering: { notation: "engineering" },
@@ -4068,135 +4025,135 @@ const fi = {
4068
4025
  timeZoneName: "short"
4069
4026
  }
4070
4027
  }
4071
- }, pi = {
4028
+ }, ui = {
4072
4029
  fallbackLocale: null,
4073
4030
  loadingDelay: 200,
4074
- formats: fi,
4031
+ formats: ai,
4075
4032
  warnOnMissingMessages: !0,
4076
4033
  handleMissingMessage: void 0,
4077
4034
  ignoreTag: !0
4078
- }, di = pi;
4079
- function W() {
4080
- return di;
4035
+ }, hi = ui;
4036
+ function z() {
4037
+ return hi;
4081
4038
  }
4082
- const Ne = _e(!1);
4083
- var mi = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4039
+ const Oe = ve(!1);
4040
+ var li = Object.defineProperty, ci = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mi = (e, t) => {
4084
4041
  for (var r in t || (t = {}))
4085
- yi.call(t, r) && _t(e, r, t[r]);
4086
- if (vt)
4087
- for (var r of vt(t))
4088
- vi.call(t, r) && _t(e, r, t[r]);
4042
+ pi.call(t, r) && mt(e, r, t[r]);
4043
+ if (dt)
4044
+ for (var r of dt(t))
4045
+ di.call(t, r) && mt(e, r, t[r]);
4089
4046
  return e;
4090
- }, Ei = (e, t) => bi(e, gi(t));
4091
- let Je;
4092
- const be = _e(null);
4093
- function Et(e) {
4047
+ }, bi = (e, t) => ci(e, fi(t));
4048
+ let We;
4049
+ const me = ve(null);
4050
+ function bt(e) {
4094
4051
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4095
4052
  }
4096
- function Se(e, t = W().fallbackLocale) {
4097
- const r = Et(e);
4098
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4053
+ function xe(e, t = z().fallbackLocale) {
4054
+ const r = bt(e);
4055
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
4099
4056
  }
4100
4057
  function R() {
4101
- return Je ?? void 0;
4058
+ return We ?? void 0;
4102
4059
  }
4103
- be.subscribe((e) => {
4104
- Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4060
+ me.subscribe((e) => {
4061
+ We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4105
4062
  });
4106
- const xi = (e) => {
4107
- if (e && ui(e) && qe(e)) {
4108
- const { loadingDelay: t } = W();
4063
+ const gi = (e) => {
4064
+ if (e && ni(e) && Xe(e)) {
4065
+ const { loadingDelay: t } = z();
4109
4066
  let r;
4110
4067
  return typeof window < "u" && R() != null && t ? r = window.setTimeout(
4111
- () => Ne.set(!0),
4068
+ () => Oe.set(!0),
4112
4069
  t
4113
- ) : Ne.set(!0), or(e).then(() => {
4114
- be.set(e);
4070
+ ) : Oe.set(!0), er(e).then(() => {
4071
+ me.set(e);
4115
4072
  }).finally(() => {
4116
- clearTimeout(r), Ne.set(!1);
4073
+ clearTimeout(r), Oe.set(!1);
4117
4074
  });
4118
4075
  }
4119
- return be.set(e);
4120
- }, Q = Ei(_i({}, be), {
4121
- set: xi
4122
- }), Te = (e) => {
4076
+ return me.set(e);
4077
+ }, q = bi(mi({}, me), {
4078
+ set: gi
4079
+ }), Ee = (e) => {
4123
4080
  const t = /* @__PURE__ */ Object.create(null);
4124
4081
  return (n) => {
4125
4082
  const i = JSON.stringify(n);
4126
4083
  return i in t ? t[i] : t[i] = e(n);
4127
4084
  };
4128
4085
  };
4129
- var Si = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4086
+ var yi = Object.defineProperty, be = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4130
4087
  for (var r in t || (t = {}))
4131
- sr.call(t, r) && xt(e, r, t[r]);
4132
- if (ge)
4133
- for (var r of ge(t))
4134
- ar.call(t, r) && xt(e, r, t[r]);
4088
+ tr.call(t, r) && gt(e, r, t[r]);
4089
+ if (be)
4090
+ for (var r of be(t))
4091
+ rr.call(t, r) && gt(e, r, t[r]);
4135
4092
  return e;
4136
- }, q = (e, t) => {
4093
+ }, J = (e, t) => {
4137
4094
  var r = {};
4138
4095
  for (var n in e)
4139
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4140
- if (e != null && ge)
4141
- for (var n of ge(e))
4142
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4096
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4097
+ if (e != null && be)
4098
+ for (var n of be(e))
4099
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
4143
4100
  return r;
4144
4101
  };
4145
- const re = (e, t) => {
4146
- const { formats: r } = W();
4102
+ const ne = (e, t) => {
4103
+ const { formats: r } = z();
4147
4104
  if (e in r && t in r[e])
4148
4105
  return r[e][t];
4149
4106
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4150
- }, Ti = Te(
4107
+ }, vi = Ee(
4151
4108
  (e) => {
4152
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4109
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4153
4110
  if (r == null)
4154
4111
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4155
- return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4112
+ return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4156
4113
  }
4157
- ), Hi = Te(
4114
+ ), _i = Ee(
4158
4115
  (e) => {
4159
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4116
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4160
4117
  if (r == null)
4161
4118
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4162
- return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4119
+ return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4163
4120
  }
4164
- ), Bi = Te(
4121
+ ), xi = Ee(
4165
4122
  (e) => {
4166
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4123
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4167
4124
  if (r == null)
4168
4125
  throw new Error(
4169
4126
  '[svelte-i18n] A "locale" must be set to format time values'
4170
4127
  );
4171
- return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4128
+ return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4172
4129
  }
4173
- ), wi = (e = {}) => {
4130
+ ), Ei = (e = {}) => {
4174
4131
  var t = e, {
4175
4132
  locale: r = R()
4176
- } = t, n = q(t, [
4133
+ } = t, n = J(t, [
4177
4134
  "locale"
4178
4135
  ]);
4179
- return Ti(et({ locale: r }, n));
4180
- }, Ai = (e = {}) => {
4136
+ return vi(Qe({ locale: r }, n));
4137
+ }, Si = (e = {}) => {
4181
4138
  var t = e, {
4182
4139
  locale: r = R()
4183
- } = t, n = q(t, [
4140
+ } = t, n = J(t, [
4184
4141
  "locale"
4185
4142
  ]);
4186
- return Hi(et({ locale: r }, n));
4187
- }, Pi = (e = {}) => {
4143
+ return _i(Qe({ locale: r }, n));
4144
+ }, Ti = (e = {}) => {
4188
4145
  var t = e, {
4189
4146
  locale: r = R()
4190
- } = t, n = q(t, [
4147
+ } = t, n = J(t, [
4191
4148
  "locale"
4192
4149
  ]);
4193
- return Bi(et({ locale: r }, n));
4194
- }, Oi = Te(
4150
+ return xi(Qe({ locale: r }, n));
4151
+ }, Hi = Ee(
4195
4152
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4196
- (e, t = R()) => new ni(e, t, W().formats, {
4197
- ignoreTag: W().ignoreTag
4153
+ (e, t = R()) => new Yn(e, t, z().formats, {
4154
+ ignoreTag: z().ignoreTag
4198
4155
  })
4199
- ), Ii = (e, t = {}) => {
4156
+ ), Bi = (e, t = {}) => {
4200
4157
  var r, n, i, o;
4201
4158
  let s = t;
4202
4159
  typeof e == "object" && (s = e, e = s.id);
@@ -4209,9 +4166,9 @@ const re = (e, t) => {
4209
4166
  throw new Error(
4210
4167
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4211
4168
  );
4212
- let l = tr(e, h);
4169
+ let l = qt(e, h);
4213
4170
  if (!l)
4214
- 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;
4171
+ 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;
4215
4172
  else if (typeof l != "string")
4216
4173
  return console.warn(
4217
4174
  `[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.`
@@ -4220,7 +4177,7 @@ const re = (e, t) => {
4220
4177
  return l;
4221
4178
  let f = l;
4222
4179
  try {
4223
- f = Oi(l, h).format(a);
4180
+ f = Hi(l, h).format(a);
4224
4181
  } catch (c) {
4225
4182
  c instanceof Error && console.warn(
4226
4183
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4228,20 +4185,20 @@ const re = (e, t) => {
4228
4185
  );
4229
4186
  }
4230
4187
  return f;
4231
- }, Li = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Mi = (e, t) => wi(t).format(e), Ci = (e, t = R()) => tr(e, t), $i = Z([Q, se], () => Ii);
4232
- Z([Q], () => Li);
4233
- Z([Q], () => Ni);
4234
- Z([Q], () => Mi);
4235
- Z([Q, se], () => Ci);
4236
- window.emWidgets = { topic: zr };
4237
- const Ri = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4238
- function St(e, t) {
4188
+ }, wi = (e, t) => Ti(t).format(e), Ai = (e, t) => Si(t).format(e), Pi = (e, t) => Ei(t).format(e), Oi = (e, t = R()) => qt(e, t), Ii = Q([q, se], () => Bi);
4189
+ Q([q], () => wi);
4190
+ Q([q], () => Ai);
4191
+ Q([q], () => Pi);
4192
+ Q([q, se], () => Oi);
4193
+ window.emWidgets = { topic: kr };
4194
+ const Li = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4195
+ function yt(e, t) {
4239
4196
  if (e) {
4240
4197
  const r = document.createElement("style");
4241
4198
  r.innerHTML = t, e.appendChild(r);
4242
4199
  }
4243
4200
  }
4244
- function Ui(e, t) {
4201
+ function Ni(e, t) {
4245
4202
  const r = new URL(t);
4246
4203
  fetch(r.href).then((n) => n.text()).then((n) => {
4247
4204
  const i = document.createElement("style");
@@ -4250,7 +4207,7 @@ function Ui(e, t) {
4250
4207
  console.error("There was an error while trying to load client styling from URL", n);
4251
4208
  });
4252
4209
  }
4253
- function Gi(e, t, r) {
4210
+ function Mi(e, t, r) {
4254
4211
  if (window.emMessageBus) {
4255
4212
  const n = document.createElement("style");
4256
4213
  window.emMessageBus.subscribe(t, (i) => {
@@ -4258,7 +4215,7 @@ function Gi(e, t, r) {
4258
4215
  });
4259
4216
  }
4260
4217
  }
4261
- const Di = (e, t = {}) => {
4218
+ const Ci = (e, t = {}) => {
4262
4219
  const r = new CustomEvent("track-custom-event", {
4263
4220
  detail: {
4264
4221
  type: e,
@@ -4269,13 +4226,13 @@ const Di = (e, t = {}) => {
4269
4226
  });
4270
4227
  document.dispatchEvent(r);
4271
4228
  };
4272
- function Tt(e, t) {
4273
- nr(e, t);
4229
+ function vt(e, t) {
4230
+ Yt(e, t);
4274
4231
  }
4275
- function Fi(e) {
4276
- Q.set(e);
4232
+ function $i(e) {
4233
+ q.set(e);
4277
4234
  }
4278
- const Ht = {
4235
+ const _t = {
4279
4236
  en: {
4280
4237
  logoutButton: "Logout"
4281
4238
  },
@@ -4310,20 +4267,20 @@ const Ht = {
4310
4267
  logoutButton: "Logout"
4311
4268
  }
4312
4269
  };
4313
- function ji(e) {
4314
- fr(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))}");
4270
+ function Ri(e) {
4271
+ ar(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))}");
4315
4272
  }
4316
- function ki(e) {
4273
+ function Ui(e) {
4317
4274
  let t, r, n, i = (
4318
4275
  /*$_*/
4319
4276
  e[2]("logoutButton") + ""
4320
4277
  ), o, s, a;
4321
4278
  return {
4322
4279
  c() {
4323
- t = O("div"), r = O("button"), n = O("span"), o = ye(i), S(t, "class", "GeneralLogout");
4280
+ t = P("div"), r = P("button"), n = P("span"), o = ge(i), S(t, "class", "GeneralLogout");
4324
4281
  },
4325
4282
  m(h, u) {
4326
- ie(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Pt(
4283
+ oe(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Tt(
4327
4284
  r,
4328
4285
  "click",
4329
4286
  /*click_handler_1*/
@@ -4333,19 +4290,19 @@ function ki(e) {
4333
4290
  p(h, u) {
4334
4291
  u & /*$_*/
4335
4292
  4 && i !== (i = /*$_*/
4336
- h[2]("logoutButton") + "") && Ot(o, i);
4293
+ h[2]("logoutButton") + "") && Ht(o, i);
4337
4294
  },
4338
4295
  d(h) {
4339
- h && z(t), s = !1, a();
4296
+ h && Z(t), s = !1, a();
4340
4297
  }
4341
4298
  };
4342
4299
  }
4343
- function Vi(e) {
4300
+ function Gi(e) {
4344
4301
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4345
- e[3] && Xi(e);
4302
+ e[3] && Di(e);
4346
4303
  return {
4347
4304
  c() {
4348
- t = O("p"), r = O("span"), n = J("svg"), i = J("defs"), o = J("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = J("path"), h = J("path"), u = mr(), c && c.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(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"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(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"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), gr(r, "width", /*isMobile*/
4305
+ t = P("p"), r = P("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 = lr(), c && c.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(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"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(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"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), fr(r, "width", /*isMobile*/
4349
4306
  e[3] ? (
4350
4307
  /*mediaQuery*/
4351
4308
  e[4].matches ? "20px" : "24px"
@@ -4355,7 +4312,7 @@ function Vi(e) {
4355
4312
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4356
4313
  },
4357
4314
  m(p, d) {
4358
- ie(p, t, d), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = Pt(
4315
+ oe(p, t, d), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = Tt(
4359
4316
  t,
4360
4317
  "click",
4361
4318
  /*click_handler*/
@@ -4367,47 +4324,47 @@ function Vi(e) {
4367
4324
  p[3] || c.p(p, d);
4368
4325
  },
4369
4326
  d(p) {
4370
- p && z(t), c && c.d(), l = !1, f();
4327
+ p && Z(t), c && c.d(), l = !1, f();
4371
4328
  }
4372
4329
  };
4373
4330
  }
4374
- function Xi(e) {
4331
+ function Di(e) {
4375
4332
  let t, r = (
4376
4333
  /*$_*/
4377
4334
  e[2]("logoutButton") + ""
4378
4335
  ), n;
4379
4336
  return {
4380
4337
  c() {
4381
- t = O("span"), n = ye(r), S(t, "class", "PlayerLogoutText");
4338
+ t = P("span"), n = ge(r), S(t, "class", "PlayerLogoutText");
4382
4339
  },
4383
4340
  m(i, o) {
4384
- ie(i, t, o), T(t, n);
4341
+ oe(i, t, o), T(t, n);
4385
4342
  },
4386
4343
  p(i, o) {
4387
4344
  o & /*$_*/
4388
4345
  4 && r !== (r = /*$_*/
4389
- i[2]("logoutButton") + "") && Ot(n, r);
4346
+ i[2]("logoutButton") + "") && Ht(n, r);
4390
4347
  },
4391
4348
  d(i) {
4392
- i && z(t);
4349
+ i && Z(t);
4393
4350
  }
4394
4351
  };
4395
4352
  }
4396
- function Wi(e) {
4353
+ function Fi(e) {
4397
4354
  let t;
4398
4355
  function r(o, s) {
4399
4356
  return (
4400
4357
  /*buttonlocation*/
4401
- o[0] === "PlayerAccountMenu" ? Vi : ki
4358
+ o[0] === "PlayerAccountMenu" ? Gi : Ui
4402
4359
  );
4403
4360
  }
4404
4361
  let n = r(e), i = n(e);
4405
4362
  return {
4406
4363
  c() {
4407
- t = O("div"), i.c();
4364
+ t = P("div"), i.c();
4408
4365
  },
4409
4366
  m(o, s) {
4410
- ie(o, t, s), i.m(t, null), e[15](t);
4367
+ oe(o, t, s), i.m(t, null), e[15](t);
4411
4368
  },
4412
4369
  p(o, [s]) {
4413
4370
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4415,54 +4372,54 @@ function Wi(e) {
4415
4372
  i: B,
4416
4373
  o: B,
4417
4374
  d(o) {
4418
- o && z(t), i.d(), e[15](null);
4375
+ o && Z(t), i.d(), e[15](null);
4419
4376
  }
4420
4377
  };
4421
4378
  }
4422
- function zi(e, t, r) {
4379
+ function ji(e, t, r) {
4423
4380
  let n;
4424
- cr(e, $i, (g) => r(2, n = g));
4425
- 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 = Ri(y) !== "PC";
4381
+ sr(e, Ii, (y) => r(2, n = y));
4382
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, v = window.navigator.userAgent, H = Li(v) !== "PC";
4426
4383
  const C = window.matchMedia("(min-width: 768px)"), L = () => {
4427
4384
  fetch(f).then((N) => N.json()).then((N) => {
4428
- Object.keys(N).forEach((He) => {
4429
- Tt(He, N[He]);
4385
+ Object.keys(N).forEach((Se) => {
4386
+ vt(Se, N[Se]);
4430
4387
  });
4431
4388
  }).catch((N) => {
4432
4389
  console.log(N);
4433
4390
  });
4434
4391
  };
4435
- Object.keys(Ht).forEach((g) => {
4436
- Tt(g, Ht[g]);
4392
+ Object.keys(_t).forEach((y) => {
4393
+ vt(y, _t[y]);
4437
4394
  });
4438
- const x = () => {
4439
- let g = new Headers();
4440
- g.append("Content-type", "application/json"), g.append("X-SessionID", o);
4441
- let N = { method: "DELETE", headers: g };
4442
- fetch(`${i}/v1/player/session/player`, N).then((He) => {
4443
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Di("logged_out", {});
4395
+ const E = () => {
4396
+ let y = new Headers();
4397
+ y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4398
+ let N = { method: "DELETE", headers: y };
4399
+ fetch(`${i}/v1/player/session/player`, N).then((Se) => {
4400
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Ci("logged_out", {});
4444
4401
  });
4445
- }, $ = () => (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 = () => {
4446
- Fi(a);
4402
+ }, $ = () => (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), A = () => {
4403
+ $i(a);
4447
4404
  };
4448
- _r(() => () => {
4405
+ mr(() => () => {
4449
4406
  });
4450
- const U = () => x(), ae = () => x();
4451
- function hr(g) {
4452
- Me[g ? "unshift" : "push"](() => {
4453
- d = g, r(1, d);
4407
+ const U = () => E(), ae = () => E();
4408
+ function ir(y) {
4409
+ Ie[y ? "unshift" : "push"](() => {
4410
+ d = y, r(1, d);
4454
4411
  });
4455
4412
  }
4456
- return e.$$set = (g) => {
4457
- "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);
4413
+ return e.$$set = (y) => {
4414
+ "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, f = y.translationurl);
4458
4415
  }, e.$$.update = () => {
4459
4416
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4460
4417
  193 && i && o && s && $(), e.$$.dirty & /*lang*/
4461
- 256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4462
- 1026 && u && d && St(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4463
- 1026 && u && d && St(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4464
- 2050 && l && d && Ui(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4465
- 514 && h && d && Gi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4418
+ 256 && a && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4419
+ 1026 && u && d && yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4420
+ 1026 && u && d && yt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4421
+ 2050 && l && d && Ni(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4422
+ 514 && h && d && Mi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4466
4423
  4096 && f && L();
4467
4424
  }, [
4468
4425
  s,
@@ -4470,7 +4427,7 @@ function zi(e, t, r) {
4470
4427
  n,
4471
4428
  H,
4472
4429
  C,
4473
- x,
4430
+ E,
4474
4431
  i,
4475
4432
  o,
4476
4433
  a,
@@ -4480,17 +4437,17 @@ function zi(e, t, r) {
4480
4437
  f,
4481
4438
  U,
4482
4439
  ae,
4483
- hr
4440
+ ir
4484
4441
  ];
4485
4442
  }
4486
- class ur extends Lr {
4443
+ class nr extends wr {
4487
4444
  constructor(t) {
4488
- super(), Or(
4445
+ super(), Hr(
4489
4446
  this,
4490
4447
  t,
4491
- zi,
4492
- Wi,
4493
- wt,
4448
+ ji,
4449
+ Fi,
4450
+ Et,
4494
4451
  {
4495
4452
  endpoint: 6,
4496
4453
  session: 7,
@@ -4501,7 +4458,7 @@ class ur extends Lr {
4501
4458
  clientstylingurl: 11,
4502
4459
  translationurl: 12
4503
4460
  },
4504
- ji
4461
+ Ri
4505
4462
  );
4506
4463
  }
4507
4464
  get endpoint() {
@@ -4553,43 +4510,43 @@ class ur extends Lr {
4553
4510
  this.$$set({ translationurl: t }), w();
4554
4511
  }
4555
4512
  }
4556
- Ir(ur, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4557
- const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4513
+ Br(nr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4514
+ const zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4558
4515
  __proto__: null,
4559
- default: ur
4516
+ default: nr
4560
4517
  }, Symbol.toStringTag, { value: "Module" }));
4561
4518
  export {
4562
- Q as $,
4563
- $i as A,
4564
- St as B,
4565
- Ui as C,
4566
- Gi as D,
4567
- Yi as G,
4568
- Lr as S,
4569
- nr as a,
4570
- fr as b,
4571
- Ir as c,
4572
- z as d,
4573
- ie as e,
4519
+ q as $,
4520
+ Ii as A,
4521
+ yt as B,
4522
+ Ni as C,
4523
+ Mi as D,
4524
+ zi as G,
4525
+ wr as S,
4526
+ Yt as a,
4527
+ ar as b,
4528
+ Br as c,
4529
+ Z as d,
4530
+ oe as e,
4574
4531
  w as f,
4575
- O as g,
4576
- cr as h,
4577
- Or as i,
4578
- Ri as j,
4579
- Me as k,
4580
- Ji as l,
4581
- Qi as m,
4532
+ P as g,
4533
+ sr as h,
4534
+ Hr as i,
4535
+ Li as j,
4536
+ Ie as k,
4537
+ Wi as l,
4538
+ Vi as m,
4582
4539
  B as n,
4583
- _r as o,
4540
+ mr as o,
4584
4541
  T as p,
4585
- mr as q,
4586
- qi as r,
4587
- wt as s,
4542
+ lr as q,
4543
+ Xi as r,
4544
+ Et as s,
4588
4545
  S as t,
4589
- Ot as u,
4590
- ye as v,
4591
- ne as w,
4592
- Pt as x,
4593
- J as y,
4594
- Zi as z
4546
+ Ht as u,
4547
+ ge as v,
4548
+ ie as w,
4549
+ Tt as x,
4550
+ Y as y,
4551
+ ki as z
4595
4552
  };