@everymatrix/player-account-menu-nd 1.56.3 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/components/{GeneralLogout-nPLOHMgC.js → GeneralLogout-DOA4fn9r.js} +591 -613
  2. package/components/{GeneralLogout-lRqS5xnM.js → GeneralLogout-DYiom6lN.js} +552 -574
  3. package/components/GeneralLogout-i6PS_xB2.cjs +18 -0
  4. package/components/{PlayerAccountMenuNd-BzBcsJR_.js → PlayerAccountMenuNd-B8qiXHWj.js} +29 -29
  5. package/components/{PlayerAccountMenuNd-C-lM0H4r.js → PlayerAccountMenuNd-Bj_BBVlB.js} +27 -27
  6. package/components/{PlayerAccountMenuNd-N2kx0DSl.cjs → PlayerAccountMenuNd-Cbx4lG47.cjs} +1 -1
  7. package/es2015/player-account-menu-nd.cjs +1 -1
  8. package/es2015/player-account-menu-nd.js +1 -1
  9. package/esnext/player-account-menu-nd.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-ae04a8b1-BxaX26xW.js +516 -0
  12. package/stencil/index-ae04a8b1-D7qYBP-T.js +532 -0
  13. package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +1 -0
  14. package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-DFpfaKvi.js} +2 -2
  15. package/stencil/{ui-skeleton-C1buDKbo.cjs → ui-skeleton-IHMCRYEX.cjs} +1 -1
  16. package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-UUT_AJxa.js} +2 -2
  17. package/stencil/{ui-skeleton-a642cced-DO34s50a.cjs → ui-skeleton-a642cced-5nW6b8_l.cjs} +1 -1
  18. package/stencil/{ui-skeleton-a642cced-BFJMszWG.js → ui-skeleton-a642cced-BNXFvvk_.js} +1 -1
  19. package/stencil/{ui-skeleton-a642cced-p8tGooXk.js → ui-skeleton-a642cced-DdY2eEM0.js} +1 -1
  20. package/components/GeneralLogout-C645ag3Y.cjs +0 -18
  21. package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
  22. package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
  23. package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
@@ -1,28 +1,28 @@
1
1
  function B() {
2
2
  }
3
- function Tt(e) {
3
+ function xt(e) {
4
4
  return e();
5
5
  }
6
- function Ke() {
6
+ function qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ie(e) {
10
- e.forEach(Tt);
10
+ e.forEach(xt);
11
11
  }
12
- function Ze(e) {
12
+ function ze(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Ht(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 Xi(e, t) {
19
+ function ji(e, t) {
20
20
  return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
21
21
  }
22
- function hr(e) {
22
+ function or(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Bt(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 Bt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function lr(e, t, r) {
35
- e.$$.on_destroy.push(Bt(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 cr(e, t, r) {
41
- const n = fr(e);
40
+ function ar(e, t, r) {
41
+ const n = ur(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = P("style");
44
- i.id = t, i.textContent = r, pr(n, i);
44
+ i.id = t, i.textContent = r, hr(n, i);
45
45
  }
46
46
  }
47
- function fr(e) {
47
+ function ur(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function fr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function pr(e, t) {
57
+ function hr(e, t) {
58
58
  return T(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -67,7 +67,7 @@ function oe(e, t, r) {
67
67
  function Z(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Wi(e, t) {
70
+ function ki(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
@@ -80,30 +80,30 @@ function Y(e) {
80
80
  function ge(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function dr() {
83
+ function lr() {
84
84
  return ge(" ");
85
85
  }
86
- function wt(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 zi(e, t, r) {
92
+ function Vi(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 mr(e) {
96
+ function cr(e) {
97
97
  return Array.from(e.childNodes);
98
98
  }
99
- function At(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 br(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 gr(e) {
106
+ function pr(e) {
107
107
  const t = {};
108
108
  return e.childNodes.forEach(
109
109
  /** @param {Element} node */
@@ -116,84 +116,84 @@ let te;
116
116
  function ee(e) {
117
117
  te = e;
118
118
  }
119
- function yr() {
119
+ function dr() {
120
120
  if (!te)
121
121
  throw new Error("Function called outside component initialization");
122
122
  return te;
123
123
  }
124
- function vr(e) {
125
- yr().$$.on_mount.push(e);
124
+ function mr(e) {
125
+ dr().$$.on_mount.push(e);
126
126
  }
127
- const F = [], Le = [];
127
+ const F = [], Ie = [];
128
128
  let j = [];
129
- const et = [], _r = /* @__PURE__ */ Promise.resolve();
130
- let Ne = !1;
131
- function Er() {
132
- Ne || (Ne = !0, _r.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 Me(e) {
134
+ function Ne(e) {
135
135
  j.push(e);
136
136
  }
137
137
  const Te = /* @__PURE__ */ new Set();
138
- let D = 0;
138
+ let G = 0;
139
139
  function w() {
140
- if (D !== 0)
140
+ if (G !== 0)
141
141
  return;
142
142
  const e = te;
143
143
  do {
144
144
  try {
145
- for (; D < F.length; ) {
146
- const t = F[D];
147
- D++, ee(t), xr(t.$$);
145
+ for (; G < F.length; ) {
146
+ const t = F[G];
147
+ G++, ee(t), yr(t.$$);
148
148
  }
149
149
  } catch (t) {
150
- throw F.length = 0, D = 0, t;
150
+ throw F.length = 0, G = 0, t;
151
151
  }
152
- for (ee(null), F.length = 0, D = 0; Le.length; )
153
- Le.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
156
  Te.has(r) || (Te.add(r), r());
157
157
  }
158
158
  j.length = 0;
159
159
  } while (F.length);
160
- for (; et.length; )
161
- et.pop()();
162
- Ne = !1, Te.clear(), ee(e);
160
+ for (; Je.length; )
161
+ Je.pop()();
162
+ Le = !1, Te.clear(), ee(e);
163
163
  }
164
- function xr(e) {
164
+ function yr(e) {
165
165
  if (e.fragment !== null) {
166
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(Me);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
169
169
  }
170
170
  }
171
- function Sr(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 Tr = /* @__PURE__ */ new Set();
176
- function Hr(e, t) {
177
- e && e.i && (Tr.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 Zi(e) {
179
+ function Xi(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
- function Br(e, t, r) {
182
+ function Er(e, t, r) {
183
183
  const { fragment: n, after_update: i } = e.$$;
184
- n && n.m(t, r), Me(() => {
185
- const o = e.$$.on_mount.map(Tt).filter(Ze);
184
+ n && n.m(t, r), Ne(() => {
185
+ const o = e.$$.on_mount.map(xt).filter(ze);
186
186
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
187
- }), i.forEach(Me);
187
+ }), i.forEach(Ne);
188
188
  }
189
- function wr(e, t) {
189
+ function Sr(e, t) {
190
190
  const r = e.$$;
191
- r.fragment !== null && (Sr(r.after_update), ie(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 Ar(e, t) {
194
- e.$$.dirty[0] === -1 && (F.push(e), Er(), 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 Pr(e, t, r, n, i, o, s = null, a = [-1]) {
196
+ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
197
197
  const h = te;
198
198
  ee(e);
199
199
  const u = e.$$ = {
@@ -203,7 +203,7 @@ function Pr(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: Ke(),
206
+ bound: qe(),
207
207
  // lifecycle
208
208
  on_mount: [],
209
209
  on_destroy: [],
@@ -212,7 +212,7 @@ function Pr(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: Ke(),
215
+ callbacks: qe(),
216
216
  dirty: a,
217
217
  skip_bound: !1,
218
218
  root: t.target || h.$$.root
@@ -221,19 +221,19 @@ function Pr(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 && Ar(e, f)), c;
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
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 = mr(t.target);
227
+ const f = cr(t.target);
228
228
  u.fragment && u.fragment.l(f), f.forEach(Z);
229
229
  } else
230
230
  u.fragment && u.fragment.c();
231
- t.intro && Hr(e.$$.fragment), Br(e, t.target, t.anchor), w();
231
+ t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), w();
232
232
  }
233
233
  ee(h);
234
234
  }
235
- let Pt;
236
- typeof HTMLElement == "function" && (Pt = 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 */
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
292
292
  };
293
293
  if (await Promise.resolve(), !this.$$cn || this.$$c)
294
294
  return;
295
- const t = {}, r = gr(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 Or(e, t, r, n, i, o) {
383
- let s = class extends Pt {
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 Or(e, t, r, n, i, o) {
408
408
  }), e.element = /** @type {any} */
409
409
  s, s;
410
410
  }
411
- class Ir {
411
+ class wr {
412
412
  /**
413
413
  * ### PRIVATE API
414
414
  *
@@ -427,7 +427,7 @@ class Ir {
427
427
  $$set = void 0;
428
428
  /** @returns {void} */
429
429
  $destroy() {
430
- wr(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 Ir {
436
436
  * @returns {() => void}
437
437
  */
438
438
  $on(t, r) {
439
- if (!Ze(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 Ir {
449
449
  * @returns {void}
450
450
  */
451
451
  $set(t) {
452
- this.$$set && !hr(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 Lr = "4";
456
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
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,18 +468,18 @@ 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 Ce = function(e, t) {
472
- return Ce = 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
- }, Ce(e, t);
477
+ }, Me(e, t);
478
478
  };
479
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
- Ce(e, t);
482
+ Me(e, t);
483
483
  function r() {
484
484
  this.constructor = e;
485
485
  }
@@ -495,7 +495,7 @@ var g = function() {
495
495
  return t;
496
496
  }, g.apply(this, arguments);
497
497
  };
498
- function Nr(e, t) {
498
+ function Pr(e, t) {
499
499
  var r = {};
500
500
  for (var n in e)
501
501
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -504,7 +504,7 @@ function Nr(e, t) {
504
504
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
505
505
  return r;
506
506
  }
507
- function $e(e) {
507
+ function Ce(e) {
508
508
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
509
509
  if (r)
510
510
  return r.call(e);
@@ -516,7 +516,7 @@ function $e(e) {
516
516
  };
517
517
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
518
518
  }
519
- function Re(e, t) {
519
+ function $e(e, t) {
520
520
  var r = typeof Symbol == "function" && e[Symbol.iterator];
521
521
  if (!r)
522
522
  return e;
@@ -545,13 +545,13 @@ function k(e, t, r) {
545
545
  function O(e) {
546
546
  return typeof e == "function";
547
547
  }
548
- function Ot(e) {
548
+ function wt(e) {
549
549
  var t = function(n) {
550
550
  Error.call(n), n.stack = new Error().stack;
551
551
  }, r = e(t);
552
552
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
553
553
  }
554
- var He = Ot(function(e) {
554
+ var He = wt(function(e) {
555
555
  return function(r) {
556
556
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
557
557
  ` + r.map(function(n, i) {
@@ -560,7 +560,7 @@ var He = Ot(function(e) {
560
560
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
561
561
  };
562
562
  });
563
- function Ue(e, t) {
563
+ function Re(e, t) {
564
564
  if (e) {
565
565
  var r = e.indexOf(t);
566
566
  0 <= r && e.splice(r, 1);
@@ -578,7 +578,7 @@ var ye = function() {
578
578
  if (s)
579
579
  if (this._parentage = null, Array.isArray(s))
580
580
  try {
581
- for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
581
+ for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
582
582
  var u = h.value;
583
583
  u.remove(this);
584
584
  }
@@ -605,12 +605,12 @@ var ye = function() {
605
605
  if (f) {
606
606
  this._finalizers = null;
607
607
  try {
608
- for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
608
+ for (var c = Ce(f), p = c.next(); !p.done; p = c.next()) {
609
609
  var d = p.value;
610
610
  try {
611
- tt(d);
611
+ Ye(d);
612
612
  } catch (v) {
613
- o = o ?? [], v instanceof He ? o = k(k([], Re(o)), Re(v.errors)) : o.push(v);
613
+ o = o ?? [], v instanceof He ? o = k(k([], $e(o)), $e(v.errors)) : o.push(v);
614
614
  }
615
615
  }
616
616
  } catch (v) {
@@ -631,7 +631,7 @@ var ye = function() {
631
631
  var r;
632
632
  if (t && t !== this)
633
633
  if (this.closed)
634
- tt(t);
634
+ Ye(t);
635
635
  else {
636
636
  if (t instanceof e) {
637
637
  if (t.closed || t._hasParent(this))
@@ -648,56 +648,52 @@ var ye = function() {
648
648
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
649
649
  }, e.prototype._removeParent = function(t) {
650
650
  var r = this._parentage;
651
- r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
651
+ r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
652
652
  }, e.prototype.remove = function(t) {
653
653
  var r = this._finalizers;
654
- r && Ue(r, t), t instanceof e && t._removeParent(this);
654
+ r && Re(r, t), t instanceof e && t._removeParent(this);
655
655
  }, e.EMPTY = function() {
656
656
  var t = new e();
657
657
  return t.closed = !0, t;
658
658
  }(), e;
659
- }(), It = ye.EMPTY;
660
- function Lt(e) {
659
+ }(), At = ye.EMPTY;
660
+ function Pt(e) {
661
661
  return e instanceof ye || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
662
662
  }
663
- function tt(e) {
663
+ function Ye(e) {
664
664
  O(e) ? e() : e.unsubscribe();
665
665
  }
666
- var Nt = {
667
- onUnhandledError: null,
668
- onStoppedNotification: null,
669
- Promise: void 0,
670
- useDeprecatedSynchronousErrorHandling: !1,
671
- useDeprecatedNextContext: !1
672
- }, Mr = {
666
+ var Or = {
667
+ Promise: void 0
668
+ }, Ir = {
673
669
  setTimeout: function(e, t) {
674
670
  for (var r = [], n = 2; n < arguments.length; n++)
675
671
  r[n - 2] = arguments[n];
676
- return setTimeout.apply(void 0, k([e, t], Re(r)));
672
+ return setTimeout.apply(void 0, k([e, t], $e(r)));
677
673
  },
678
674
  clearTimeout: function(e) {
679
675
  return clearTimeout(e);
680
676
  },
681
677
  delegate: void 0
682
678
  };
683
- function Cr(e) {
684
- Mr.setTimeout(function() {
679
+ function Lr(e) {
680
+ Ir.setTimeout(function() {
685
681
  throw e;
686
682
  });
687
683
  }
688
- function rt() {
684
+ function Ke() {
689
685
  }
690
686
  function fe(e) {
691
687
  e();
692
688
  }
693
- var Mt = function(e) {
689
+ var Ot = function(e) {
694
690
  I(t, e);
695
691
  function t(r) {
696
692
  var n = e.call(this) || this;
697
- return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Dr, n;
693
+ return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Cr, n;
698
694
  }
699
695
  return t.create = function(r, n, i) {
700
- return new De(r, n, i);
696
+ return new Ue(r, n, i);
701
697
  }, t.prototype.next = function(r) {
702
698
  this.isStopped || this._next(r);
703
699
  }, t.prototype.error = function(r) {
@@ -721,11 +717,7 @@ var Mt = function(e) {
721
717
  this.unsubscribe();
722
718
  }
723
719
  }, t;
724
- }(ye), $r = Function.prototype.bind;
725
- function Be(e, t) {
726
- return $r.call(e, t);
727
- }
728
- var Rr = function() {
720
+ }(ye), Nr = function() {
729
721
  function e(t) {
730
722
  this.partialObserver = t;
731
723
  }
@@ -756,55 +748,43 @@ var Rr = function() {
756
748
  he(r);
757
749
  }
758
750
  }, e;
759
- }(), De = function(e) {
751
+ }(), Ue = function(e) {
760
752
  I(t, e);
761
753
  function t(r, n, i) {
762
754
  var o = e.call(this) || this, s;
763
- if (O(r) || !r)
764
- s = {
765
- next: r ?? void 0,
766
- error: n ?? void 0,
767
- complete: i ?? void 0
768
- };
769
- else {
770
- var a;
771
- o && Nt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
772
- return o.unsubscribe();
773
- }, s = {
774
- next: r.next && Be(r.next, a),
775
- error: r.error && Be(r.error, a),
776
- complete: r.complete && Be(r.complete, a)
777
- }) : s = r;
778
- }
779
- return o.destination = new Rr(s), o;
755
+ return O(r) || !r ? s = {
756
+ next: r ?? void 0,
757
+ error: n ?? void 0,
758
+ complete: i ?? void 0
759
+ } : s = r, o.destination = new Nr(s), o;
780
760
  }
781
761
  return t;
782
- }(Mt);
762
+ }(Ot);
783
763
  function he(e) {
784
- Cr(e);
764
+ Lr(e);
785
765
  }
786
- function Ur(e) {
766
+ function Mr(e) {
787
767
  throw e;
788
768
  }
789
- var Dr = {
769
+ var Cr = {
790
770
  closed: !0,
791
- next: rt,
792
- error: Ur,
793
- complete: rt
794
- }, Gr = function() {
771
+ next: Ke,
772
+ error: Mr,
773
+ complete: Ke
774
+ }, $r = function() {
795
775
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
796
776
  }();
797
- function Fr(e) {
777
+ function Rr(e) {
798
778
  return e;
799
779
  }
800
- function jr(e) {
801
- 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) {
802
782
  return e.reduce(function(n, i) {
803
783
  return i(n);
804
784
  }, r);
805
785
  };
806
786
  }
807
- var nt = function() {
787
+ var et = function() {
808
788
  function e(t) {
809
789
  t && (this._subscribe = t);
810
790
  }
@@ -812,7 +792,7 @@ var nt = function() {
812
792
  var r = new e();
813
793
  return r.source = this, r.operator = t, r;
814
794
  }, e.prototype.subscribe = function(t, r, n) {
815
- var i = this, o = Vr(t) ? t : new De(t, r, n);
795
+ var i = this, o = Dr(t) ? t : new Ue(t, r, n);
816
796
  return fe(function() {
817
797
  var s = i, a = s.operator, h = s.source;
818
798
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -825,8 +805,8 @@ var nt = function() {
825
805
  }
826
806
  }, e.prototype.forEach = function(t, r) {
827
807
  var n = this;
828
- return r = it(r), new r(function(i, o) {
829
- var s = new De({
808
+ return r = tt(r), new r(function(i, o) {
809
+ var s = new Ue({
830
810
  next: function(a) {
831
811
  try {
832
812
  t(a);
@@ -842,15 +822,15 @@ var nt = function() {
842
822
  }, e.prototype._subscribe = function(t) {
843
823
  var r;
844
824
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
845
- }, e.prototype[Gr] = function() {
825
+ }, e.prototype[$r] = function() {
846
826
  return this;
847
827
  }, e.prototype.pipe = function() {
848
828
  for (var t = [], r = 0; r < arguments.length; r++)
849
829
  t[r] = arguments[r];
850
- return jr(t)(this);
830
+ return Ur(t)(this);
851
831
  }, e.prototype.toPromise = function(t) {
852
832
  var r = this;
853
- return t = it(t), new t(function(n, i) {
833
+ return t = tt(t), new t(function(n, i) {
854
834
  var o;
855
835
  r.subscribe(function(s) {
856
836
  return o = s;
@@ -864,32 +844,32 @@ var nt = function() {
864
844
  return new e(t);
865
845
  }, e;
866
846
  }();
867
- function it(e) {
847
+ function tt(e) {
868
848
  var t;
869
- return (t = e ?? Nt.Promise) !== null && t !== void 0 ? t : Promise;
849
+ return (t = e ?? Or.Promise) !== null && t !== void 0 ? t : Promise;
870
850
  }
871
- function kr(e) {
851
+ function Gr(e) {
872
852
  return e && O(e.next) && O(e.error) && O(e.complete);
873
853
  }
874
- function Vr(e) {
875
- return e && e instanceof Mt || kr(e) && Lt(e);
854
+ function Dr(e) {
855
+ return e && e instanceof Ot || Gr(e) && Pt(e);
876
856
  }
877
- var Xr = Ot(function(e) {
857
+ var Fr = wt(function(e) {
878
858
  return function() {
879
859
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
880
860
  };
881
- }), Ct = function(e) {
861
+ }), It = function(e) {
882
862
  I(t, e);
883
863
  function t() {
884
864
  var r = e.call(this) || this;
885
865
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
886
866
  }
887
867
  return t.prototype.lift = function(r) {
888
- var n = new ot(this, this);
868
+ var n = new rt(this, this);
889
869
  return n.operator = r, n;
890
870
  }, t.prototype._throwIfClosed = function() {
891
871
  if (this.closed)
892
- throw new Xr();
872
+ throw new Fr();
893
873
  }, t.prototype.next = function(r) {
894
874
  var n = this;
895
875
  fe(function() {
@@ -897,7 +877,7 @@ var Xr = Ot(function(e) {
897
877
  if (n._throwIfClosed(), !n.isStopped) {
898
878
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
899
879
  try {
900
- for (var s = $e(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()) {
901
881
  var h = a.value;
902
882
  h.next(r);
903
883
  }
@@ -946,19 +926,19 @@ var Xr = Ot(function(e) {
946
926
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
947
927
  }, t.prototype._innerSubscribe = function(r) {
948
928
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
949
- return o || s ? It : (this.currentObservers = null, a.push(r), new ye(function() {
950
- n.currentObservers = null, Ue(a, r);
929
+ return o || s ? At : (this.currentObservers = null, a.push(r), new ye(function() {
930
+ n.currentObservers = null, Re(a, r);
951
931
  }));
952
932
  }, t.prototype._checkFinalizedStatuses = function(r) {
953
933
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
954
934
  i ? r.error(o) : s && r.complete();
955
935
  }, t.prototype.asObservable = function() {
956
- var r = new nt();
936
+ var r = new et();
957
937
  return r.source = this, r;
958
938
  }, t.create = function(r, n) {
959
- return new ot(r, n);
939
+ return new rt(r, n);
960
940
  }, t;
961
- }(nt), ot = function(e) {
941
+ }(et), rt = function(e) {
962
942
  I(t, e);
963
943
  function t(r, n) {
964
944
  var i = e.call(this) || this;
@@ -975,17 +955,17 @@ var Xr = Ot(function(e) {
975
955
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
976
956
  }, t.prototype._subscribe = function(r) {
977
957
  var n, i;
978
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
958
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
979
959
  }, t;
980
- }(Ct), $t = {
960
+ }(It), Lt = {
981
961
  now: function() {
982
- return ($t.delegate || Date).now();
962
+ return (Lt.delegate || Date).now();
983
963
  },
984
964
  delegate: void 0
985
- }, Wr = function(e) {
965
+ }, jr = function(e) {
986
966
  I(t, e);
987
967
  function t(r, n, i) {
988
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
968
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lt);
989
969
  var o = e.call(this) || this;
990
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;
991
971
  }
@@ -1005,15 +985,15 @@ var Xr = Ot(function(e) {
1005
985
  u && o.splice(0, u + 1);
1006
986
  }
1007
987
  }, t;
1008
- }(Ct);
1009
- const st = [], at = {}, zr = (e, t = 0) => {
1010
- if (st.indexOf(e) == -1) {
1011
- const r = new Wr(t);
1012
- at[e] = r, st.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);
1013
993
  }
1014
- return at[e];
1015
- }, G = [];
1016
- function Zr(e, t) {
994
+ return it[e];
995
+ }, D = [];
996
+ function Vr(e, t) {
1017
997
  return {
1018
998
  subscribe: ve(e, t).subscribe
1019
999
  };
@@ -1022,14 +1002,14 @@ function ve(e, t = B) {
1022
1002
  let r;
1023
1003
  const n = /* @__PURE__ */ new Set();
1024
1004
  function i(a) {
1025
- if (Ht(e, a) && (e = a, r)) {
1026
- const h = !G.length;
1005
+ if (Et(e, a) && (e = a, r)) {
1006
+ const h = !D.length;
1027
1007
  for (const u of n)
1028
- u[1](), G.push(u, e);
1008
+ u[1](), D.push(u, e);
1029
1009
  if (h) {
1030
- for (let u = 0; u < G.length; u += 2)
1031
- G[u][0](G[u + 1]);
1032
- G.length = 0;
1010
+ for (let u = 0; u < D.length; u += 2)
1011
+ D[u][0](D[u + 1]);
1012
+ D.length = 0;
1033
1013
  }
1034
1014
  }
1035
1015
  }
@@ -1049,7 +1029,7 @@ function Q(e, t, r) {
1049
1029
  if (!i.every(Boolean))
1050
1030
  throw new Error("derived() expects stores as input, got a falsy value");
1051
1031
  const o = t.length < 2;
1052
- return Zr(r, (s, a) => {
1032
+ return Vr(r, (s, a) => {
1053
1033
  let h = !1;
1054
1034
  const u = [];
1055
1035
  let l = 0, f = B;
@@ -1058,9 +1038,9 @@ function Q(e, t, r) {
1058
1038
  return;
1059
1039
  f();
1060
1040
  const d = t(n ? u[0] : u, s, a);
1061
- o ? s(d) : f = Ze(d) ? d : B;
1041
+ o ? s(d) : f = ze(d) ? d : B;
1062
1042
  }, p = i.map(
1063
- (d, v) => Bt(
1043
+ (d, v) => St(
1064
1044
  d,
1065
1045
  (H) => {
1066
1046
  u[v] = H, l &= ~(1 << v), h && c();
@@ -1075,70 +1055,70 @@ function Q(e, t, r) {
1075
1055
  };
1076
1056
  });
1077
1057
  }
1078
- function Qr(e) {
1058
+ function Xr(e) {
1079
1059
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1080
1060
  }
1081
- var qr = function(t) {
1082
- return Jr(t) && !Yr(t);
1061
+ var Wr = function(t) {
1062
+ return zr(t) && !Zr(t);
1083
1063
  };
1084
- function Jr(e) {
1064
+ function zr(e) {
1085
1065
  return !!e && typeof e == "object";
1086
1066
  }
1087
- function Yr(e) {
1067
+ function Zr(e) {
1088
1068
  var t = Object.prototype.toString.call(e);
1089
- return t === "[object RegExp]" || t === "[object Date]" || tn(e);
1069
+ return t === "[object RegExp]" || t === "[object Date]" || Jr(e);
1090
1070
  }
1091
- var Kr = typeof Symbol == "function" && Symbol.for, en = Kr ? Symbol.for("react.element") : 60103;
1092
- function tn(e) {
1093
- 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;
1094
1074
  }
1095
- function rn(e) {
1075
+ function Yr(e) {
1096
1076
  return Array.isArray(e) ? [] : {};
1097
1077
  }
1098
1078
  function re(e, t) {
1099
- return t.clone !== !1 && t.isMergeableObject(e) ? V(rn(e), e, t) : e;
1079
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(Yr(e), e, t) : e;
1100
1080
  }
1101
- function nn(e, t, r) {
1081
+ function Kr(e, t, r) {
1102
1082
  return e.concat(t).map(function(n) {
1103
1083
  return re(n, r);
1104
1084
  });
1105
1085
  }
1106
- function on(e, t) {
1086
+ function en(e, t) {
1107
1087
  if (!t.customMerge)
1108
1088
  return V;
1109
1089
  var r = t.customMerge(e);
1110
1090
  return typeof r == "function" ? r : V;
1111
1091
  }
1112
- function sn(e) {
1092
+ function tn(e) {
1113
1093
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1114
1094
  return Object.propertyIsEnumerable.call(e, t);
1115
1095
  }) : [];
1116
1096
  }
1117
- function ut(e) {
1118
- return Object.keys(e).concat(sn(e));
1097
+ function ot(e) {
1098
+ return Object.keys(e).concat(tn(e));
1119
1099
  }
1120
- function Rt(e, t) {
1100
+ function Nt(e, t) {
1121
1101
  try {
1122
1102
  return t in e;
1123
1103
  } catch {
1124
1104
  return !1;
1125
1105
  }
1126
1106
  }
1127
- function an(e, t) {
1128
- return Rt(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));
1129
1109
  }
1130
- function un(e, t, r) {
1110
+ function nn(e, t, r) {
1131
1111
  var n = {};
1132
- return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1112
+ return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1133
1113
  n[i] = re(e[i], r);
1134
- }), ut(t).forEach(function(i) {
1135
- an(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = re(t[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));
1136
1116
  }), n;
1137
1117
  }
1138
1118
  function V(e, t, r) {
1139
- r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = re;
1119
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kr, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = re;
1140
1120
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1141
- return o ? n ? r.arrayMerge(e, t, r) : un(e, t, r) : re(t, r);
1121
+ return o ? n ? r.arrayMerge(e, t, r) : nn(e, t, r) : re(t, r);
1142
1122
  }
1143
1123
  V.all = function(t, r) {
1144
1124
  if (!Array.isArray(t))
@@ -1147,58 +1127,56 @@ V.all = function(t, r) {
1147
1127
  return V(n, i, r);
1148
1128
  }, {});
1149
1129
  };
1150
- var hn = V, ln = hn;
1151
- const cn = /* @__PURE__ */ Qr(ln);
1152
- function we(e, t) {
1153
- var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : pn;
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;
1154
1134
  return i(e, {
1155
1135
  cache: r,
1156
1136
  serializer: n
1157
1137
  });
1158
1138
  }
1159
- function fn(e) {
1139
+ function un(e) {
1160
1140
  return e == null || typeof e == "number" || typeof e == "boolean";
1161
1141
  }
1162
- function Ut(e, t, r, n) {
1163
- var i = fn(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);
1164
1144
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1165
1145
  }
1166
- function Dt(e, t, r) {
1146
+ function Mt(e, t, r) {
1167
1147
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1168
1148
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1169
1149
  }
1170
- function Qe(e, t, r, n, i) {
1150
+ function Ct(e, t, r, n, i) {
1171
1151
  return r.bind(t, e, n, i);
1172
1152
  }
1173
- function pn(e, t) {
1174
- var r = e.length === 1 ? Ut : Dt;
1175
- return Qe(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);
1176
1156
  }
1177
- function dn(e, t) {
1178
- return Qe(e, this, Dt, t.cache.create(), t.serializer);
1157
+ function cn(e, t) {
1158
+ return Ct(e, this, Mt, t.cache.create(), t.serializer);
1179
1159
  }
1180
- function mn(e, t) {
1181
- return Qe(e, this, Ut, t.cache.create(), t.serializer);
1182
- }
1183
- var bn = function() {
1160
+ var fn = function() {
1184
1161
  return JSON.stringify(arguments);
1185
- };
1186
- function qe() {
1187
- this.cache = /* @__PURE__ */ Object.create(null);
1188
- }
1189
- qe.prototype.get = function(e) {
1190
- return this.cache[e];
1191
- };
1192
- qe.prototype.set = function(e, t) {
1193
- this.cache[e] = t;
1194
- };
1195
- var gn = {
1162
+ }, pn = (
1163
+ /** @class */
1164
+ function() {
1165
+ function e() {
1166
+ this.cache = /* @__PURE__ */ Object.create(null);
1167
+ }
1168
+ return e.prototype.get = function(t) {
1169
+ return this.cache[t];
1170
+ }, e.prototype.set = function(t, r) {
1171
+ this.cache[t] = r;
1172
+ }, e;
1173
+ }()
1174
+ ), dn = {
1196
1175
  create: function() {
1197
- return new qe();
1176
+ return new pn();
1198
1177
  }
1199
- }, Ae = {
1200
- variadic: dn,
1201
- monadic: mn
1178
+ }, we = {
1179
+ variadic: cn
1202
1180
  }, m;
1203
1181
  (function(e) {
1204
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";
@@ -1211,43 +1189,43 @@ var X;
1211
1189
  (function(e) {
1212
1190
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1213
1191
  })(X || (X = {}));
1214
- function ht(e) {
1192
+ function st(e) {
1215
1193
  return e.type === _.literal;
1216
1194
  }
1217
- function yn(e) {
1195
+ function mn(e) {
1218
1196
  return e.type === _.argument;
1219
1197
  }
1220
- function Gt(e) {
1198
+ function $t(e) {
1221
1199
  return e.type === _.number;
1222
1200
  }
1223
- function Ft(e) {
1201
+ function Rt(e) {
1224
1202
  return e.type === _.date;
1225
1203
  }
1226
- function jt(e) {
1204
+ function Ut(e) {
1227
1205
  return e.type === _.time;
1228
1206
  }
1229
- function kt(e) {
1207
+ function Gt(e) {
1230
1208
  return e.type === _.select;
1231
1209
  }
1232
- function Vt(e) {
1210
+ function Dt(e) {
1233
1211
  return e.type === _.plural;
1234
1212
  }
1235
- function vn(e) {
1213
+ function bn(e) {
1236
1214
  return e.type === _.pound;
1237
1215
  }
1238
- function Xt(e) {
1216
+ function Ft(e) {
1239
1217
  return e.type === _.tag;
1240
1218
  }
1241
- function Wt(e) {
1219
+ function jt(e) {
1242
1220
  return !!(e && typeof e == "object" && e.type === X.number);
1243
1221
  }
1244
1222
  function Ge(e) {
1245
1223
  return !!(e && typeof e == "object" && e.type === X.dateTime);
1246
1224
  }
1247
- var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1248
- function En(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) {
1249
1227
  var t = {};
1250
- return e.replace(_n, function(r) {
1228
+ return e.replace(gn, function(r) {
1251
1229
  var n = r.length;
1252
1230
  switch (r[0]) {
1253
1231
  case "G":
@@ -1336,11 +1314,11 @@ function En(e) {
1336
1314
  return "";
1337
1315
  }), t;
1338
1316
  }
1339
- var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1340
- function Sn(e) {
1317
+ var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1318
+ function _n(e) {
1341
1319
  if (e.length === 0)
1342
1320
  throw new Error("Number skeleton cannot be empty");
1343
- for (var t = e.split(xn).filter(function(c) {
1321
+ for (var t = e.split(vn).filter(function(c) {
1344
1322
  return c.length > 0;
1345
1323
  }), r = [], n = 0, i = t; n < i.length; n++) {
1346
1324
  var o = i[n], s = o.split("/");
@@ -1355,17 +1333,17 @@ function Sn(e) {
1355
1333
  }
1356
1334
  return r;
1357
1335
  }
1358
- function Tn(e) {
1336
+ function xn(e) {
1359
1337
  return e.replace(/^(.*?)-/, "");
1360
1338
  }
1361
- var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1362
- function ct(e) {
1339
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
1340
+ function ut(e) {
1363
1341
  var t = {};
1364
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, 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) {
1365
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)), "";
1366
1344
  }), t;
1367
1345
  }
1368
- function qt(e) {
1346
+ function Wt(e) {
1369
1347
  switch (e) {
1370
1348
  case "sign-auto":
1371
1349
  return {
@@ -1405,7 +1383,7 @@ function qt(e) {
1405
1383
  };
1406
1384
  }
1407
1385
  }
1408
- function Bn(e) {
1386
+ function Sn(e) {
1409
1387
  var t;
1410
1388
  if (e[0] === "E" && e[1] === "E" ? (t = {
1411
1389
  notation: "engineering"
@@ -1413,17 +1391,17 @@ function Bn(e) {
1413
1391
  notation: "scientific"
1414
1392
  }, e = e.slice(1)), t) {
1415
1393
  var r = e.slice(0, 2);
1416
- 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))
1417
1395
  throw new Error("Malformed concise eng/scientific notation");
1418
1396
  t.minimumIntegerDigits = e.length;
1419
1397
  }
1420
1398
  return t;
1421
1399
  }
1422
- function ft(e) {
1423
- var t = {}, r = qt(e);
1400
+ function ht(e) {
1401
+ var t = {}, r = Wt(e);
1424
1402
  return r || t;
1425
1403
  }
1426
- function wn(e) {
1404
+ function Tn(e) {
1427
1405
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1428
1406
  var i = n[r];
1429
1407
  switch (i.stem) {
@@ -1447,7 +1425,7 @@ function wn(e) {
1447
1425
  continue;
1448
1426
  case "measure-unit":
1449
1427
  case "unit":
1450
- t.style = "unit", t.unit = Tn(i.options[0]);
1428
+ t.style = "unit", t.unit = xn(i.options[0]);
1451
1429
  continue;
1452
1430
  case "compact-short":
1453
1431
  case "K":
@@ -1459,12 +1437,12 @@ function wn(e) {
1459
1437
  continue;
1460
1438
  case "scientific":
1461
1439
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1462
- return g(g({}, h), ft(u));
1440
+ return g(g({}, h), ht(u));
1463
1441
  }, {}));
1464
1442
  continue;
1465
1443
  case "engineering":
1466
1444
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1467
- return g(g({}, h), ft(u));
1445
+ return g(g({}, h), ht(u));
1468
1446
  }, {}));
1469
1447
  continue;
1470
1448
  case "notation-simple":
@@ -1509,7 +1487,7 @@ function wn(e) {
1509
1487
  case "integer-width":
1510
1488
  if (i.options.length > 1)
1511
1489
  throw new RangeError("integer-width stems only accept a single optional option");
1512
- i.options[0].replace(Hn, function(h, u, l, f, c, p) {
1490
+ i.options[0].replace(En, function(h, u, l, f, c, p) {
1513
1491
  if (u)
1514
1492
  t.minimumIntegerDigits = l.length;
1515
1493
  else {
@@ -1522,27 +1500,27 @@ function wn(e) {
1522
1500
  });
1523
1501
  continue;
1524
1502
  }
1525
- if (Qt.test(i.stem)) {
1503
+ if (Xt.test(i.stem)) {
1526
1504
  t.minimumIntegerDigits = i.stem.length;
1527
1505
  continue;
1528
1506
  }
1529
- if (lt.test(i.stem)) {
1507
+ if (at.test(i.stem)) {
1530
1508
  if (i.options.length > 1)
1531
1509
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1532
- i.stem.replace(lt, function(h, u, l, f, c, p) {
1510
+ i.stem.replace(at, function(h, u, l, f, c, p) {
1533
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), "";
1534
1512
  });
1535
1513
  var o = i.options[0];
1536
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ct(o)));
1514
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ut(o)));
1537
1515
  continue;
1538
1516
  }
1539
- if (Zt.test(i.stem)) {
1540
- t = g(g({}, t), ct(i.stem));
1517
+ if (Vt.test(i.stem)) {
1518
+ t = g(g({}, t), ut(i.stem));
1541
1519
  continue;
1542
1520
  }
1543
- var s = qt(i.stem);
1521
+ var s = Wt(i.stem);
1544
1522
  s && (t = g(g({}, t), s));
1545
- var a = Bn(i.stem);
1523
+ var a = Sn(i.stem);
1546
1524
  a && (t = g(g({}, t), a));
1547
1525
  }
1548
1526
  return t;
@@ -2962,13 +2940,13 @@ var le = {
2962
2940
  "h"
2963
2941
  ]
2964
2942
  };
2965
- function An(e, t) {
2943
+ function Hn(e, t) {
2966
2944
  for (var r = "", n = 0; n < e.length; n++) {
2967
2945
  var i = e.charAt(n);
2968
2946
  if (i === "j") {
2969
2947
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2970
2948
  o++, n++;
2971
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Pn(t);
2949
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Bn(t);
2972
2950
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2973
2951
  r += h;
2974
2952
  for (; s-- > 0; )
@@ -2978,7 +2956,7 @@ function An(e, t) {
2978
2956
  }
2979
2957
  return r;
2980
2958
  }
2981
- function Pn(e) {
2959
+ function Bn(e) {
2982
2960
  var t = e.hourCycle;
2983
2961
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2984
2962
  e.hourCycles && // @ts-ignore
@@ -3000,20 +2978,20 @@ function Pn(e) {
3000
2978
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3001
2979
  return i[0];
3002
2980
  }
3003
- var Pe, On = new RegExp("^".concat(zt.source, "*")), In = new RegExp("".concat(zt.source, "*$"));
2981
+ var Ae, wn = new RegExp("^".concat(kt.source, "*")), An = new RegExp("".concat(kt.source, "*$"));
3004
2982
  function b(e, t) {
3005
2983
  return { start: e, end: t };
3006
2984
  }
3007
- var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Mn = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? 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) {
3008
2986
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3009
- }, Fe = !0;
2987
+ }, De = !0;
3010
2988
  try {
3011
- var Gn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3012
- Fe = ((Pe = Gn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[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";
3013
2991
  } catch {
3014
- Fe = !1;
2992
+ De = !1;
3015
2993
  }
3016
- var pt = Ln ? (
2994
+ var lt = Pn ? (
3017
2995
  // Native
3018
2996
  function(t, r, n) {
3019
2997
  return t.startsWith(r, n);
@@ -3023,7 +3001,7 @@ var pt = Ln ? (
3023
3001
  function(t, r, n) {
3024
3002
  return t.slice(n, n + r.length) === r;
3025
3003
  }
3026
- ), je = Nn ? String.fromCodePoint : (
3004
+ ), Fe = On ? String.fromCodePoint : (
3027
3005
  // IE11
3028
3006
  function() {
3029
3007
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3035,9 +3013,9 @@ var pt = Ln ? (
3035
3013
  }
3036
3014
  return n;
3037
3015
  }
3038
- ), dt = (
3016
+ ), ct = (
3039
3017
  // native
3040
- Mn ? Object.fromEntries : (
3018
+ In ? Object.fromEntries : (
3041
3019
  // Ponyfill
3042
3020
  function(t) {
3043
3021
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3047,7 +3025,7 @@ var pt = Ln ? (
3047
3025
  return r;
3048
3026
  }
3049
3027
  )
3050
- ), Jt = Cn ? (
3028
+ ), zt = Ln ? (
3051
3029
  // Native
3052
3030
  function(t, r) {
3053
3031
  return t.codePointAt(r);
@@ -3061,7 +3039,7 @@ var pt = Ln ? (
3061
3039
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3062
3040
  }
3063
3041
  }
3064
- ), Fn = $n ? (
3042
+ ), Un = Nn ? (
3065
3043
  // Native
3066
3044
  function(t) {
3067
3045
  return t.trimStart();
@@ -3069,9 +3047,9 @@ var pt = Ln ? (
3069
3047
  ) : (
3070
3048
  // Ponyfill
3071
3049
  function(t) {
3072
- return t.replace(On, "");
3050
+ return t.replace(wn, "");
3073
3051
  }
3074
- ), jn = Rn ? (
3052
+ ), Gn = Mn ? (
3075
3053
  // Native
3076
3054
  function(t) {
3077
3055
  return t.trimEnd();
@@ -3079,32 +3057,32 @@ var pt = Ln ? (
3079
3057
  ) : (
3080
3058
  // Ponyfill
3081
3059
  function(t) {
3082
- return t.replace(In, "");
3060
+ return t.replace(An, "");
3083
3061
  }
3084
3062
  );
3085
- function Yt(e, t) {
3063
+ function Zt(e, t) {
3086
3064
  return new RegExp(e, t);
3087
3065
  }
3088
- var ke;
3089
- if (Fe) {
3090
- var mt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3091
- ke = 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) {
3092
3070
  var n;
3093
- mt.lastIndex = r;
3094
- var i = mt.exec(t);
3071
+ ft.lastIndex = r;
3072
+ var i = ft.exec(t);
3095
3073
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3096
3074
  };
3097
3075
  } else
3098
- ke = function(t, r) {
3076
+ je = function(t, r) {
3099
3077
  for (var n = []; ; ) {
3100
- var i = Jt(t, r);
3101
- if (i === void 0 || Kt(i) || Wn(i))
3078
+ var i = zt(t, r);
3079
+ if (i === void 0 || Qt(i) || kn(i))
3102
3080
  break;
3103
3081
  n.push(i), r += i >= 65536 ? 2 : 1;
3104
3082
  }
3105
- return je.apply(void 0, n);
3083
+ return Fe.apply(void 0, n);
3106
3084
  };
3107
- var kn = (
3085
+ var Dn = (
3108
3086
  /** @class */
3109
3087
  function() {
3110
3088
  function e(t, r) {
@@ -3135,7 +3113,7 @@ var kn = (
3135
3113
  if (n)
3136
3114
  break;
3137
3115
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3138
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3116
+ } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3139
3117
  var s = this.parseTag(t, r);
3140
3118
  if (s.err)
3141
3119
  return s;
@@ -3168,7 +3146,7 @@ var kn = (
3168
3146
  return o;
3169
3147
  var s = o.val, a = this.clonePosition();
3170
3148
  if (this.bumpIf("</")) {
3171
- if (this.isEOF() || !Ve(this.char()))
3149
+ if (this.isEOF() || !ke(this.char()))
3172
3150
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3173
3151
  var h = this.clonePosition(), u = this.parseTagName();
3174
3152
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3186,7 +3164,7 @@ var kn = (
3186
3164
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3187
3165
  }, e.prototype.parseTagName = function() {
3188
3166
  var t = this.offset();
3189
- for (this.bump(); !this.isEOF() && Xn(this.char()); )
3167
+ for (this.bump(); !this.isEOF() && jn(this.char()); )
3190
3168
  this.bump();
3191
3169
  return this.message.slice(t, this.offset());
3192
3170
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3215,7 +3193,7 @@ var kn = (
3215
3193
  };
3216
3194
  }, e.prototype.tryParseLeftAngleBracket = function() {
3217
3195
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3218
- !Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
3196
+ !Fn(this.peek() || 0)) ? (this.bump(), "<") : null;
3219
3197
  }, e.prototype.tryParseQuote = function(t) {
3220
3198
  if (this.isEOF() || this.char() !== 39)
3221
3199
  return null;
@@ -3249,12 +3227,12 @@ var kn = (
3249
3227
  r.push(n);
3250
3228
  this.bump();
3251
3229
  }
3252
- return je.apply(void 0, r);
3230
+ return Fe.apply(void 0, r);
3253
3231
  }, e.prototype.tryParseUnquoted = function(t, r) {
3254
3232
  if (this.isEOF())
3255
3233
  return null;
3256
3234
  var n = this.char();
3257
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3235
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3258
3236
  }, e.prototype.parseArgument = function(t, r) {
3259
3237
  var n = this.clonePosition();
3260
3238
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3283,7 +3261,7 @@ var kn = (
3283
3261
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3284
3262
  }
3285
3263
  }, e.prototype.parseIdentifierIfPossible = function() {
3286
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3264
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3287
3265
  this.bumpTo(i);
3288
3266
  var o = this.clonePosition(), s = b(t, o);
3289
3267
  return { value: n, location: s };
@@ -3302,7 +3280,7 @@ var kn = (
3302
3280
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3303
3281
  if (f.err)
3304
3282
  return f;
3305
- var c = jn(f.val);
3283
+ var c = Gn(f.val);
3306
3284
  if (c.length === 0)
3307
3285
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3308
3286
  var p = b(l, this.clonePosition());
@@ -3312,8 +3290,8 @@ var kn = (
3312
3290
  if (d.err)
3313
3291
  return d;
3314
3292
  var v = b(i, this.clonePosition());
3315
- if (u && pt(u?.style, "::", 0)) {
3316
- var H = Fn(u.style.slice(2));
3293
+ if (u && lt(u?.style, "::", 0)) {
3294
+ var H = Un(u.style.slice(2));
3317
3295
  if (a === "number") {
3318
3296
  var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3319
3297
  return f.err ? f : {
@@ -3324,12 +3302,12 @@ var kn = (
3324
3302
  if (H.length === 0)
3325
3303
  return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3326
3304
  var C = H;
3327
- this.locale && (C = An(H, this.locale));
3305
+ this.locale && (C = Hn(H, this.locale));
3328
3306
  var c = {
3329
3307
  type: X.dateTime,
3330
3308
  pattern: C,
3331
3309
  location: u.styleLocation,
3332
- parsedOptions: this.shouldParseSkeletons ? En(C) : {}
3310
+ parsedOptions: this.shouldParseSkeletons ? yn(C) : {}
3333
3311
  }, L = a === "date" ? _.date : _.time;
3334
3312
  return {
3335
3313
  val: { type: L, value: n, location: v, style: c },
@@ -3350,9 +3328,9 @@ var kn = (
3350
3328
  case "plural":
3351
3329
  case "selectordinal":
3352
3330
  case "select": {
3353
- var x = this.clonePosition();
3331
+ var E = this.clonePosition();
3354
3332
  if (this.bumpSpace(), !this.bumpIf(","))
3355
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, g({}, x)));
3333
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(E, g({}, E)));
3356
3334
  this.bumpSpace();
3357
3335
  var $ = this.parseIdentifierIfPossible(), A = 0;
3358
3336
  if (a !== "select" && $.value === "offset") {
@@ -3375,7 +3353,7 @@ var kn = (
3375
3353
  val: {
3376
3354
  type: _.select,
3377
3355
  value: n,
3378
- options: dt(U.val),
3356
+ options: ct(U.val),
3379
3357
  location: ae
3380
3358
  },
3381
3359
  err: null
@@ -3383,7 +3361,7 @@ var kn = (
3383
3361
  val: {
3384
3362
  type: _.plural,
3385
3363
  value: n,
3386
- options: dt(U.val),
3364
+ options: ct(U.val),
3387
3365
  offset: A,
3388
3366
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3389
3367
  location: ae
@@ -3434,7 +3412,7 @@ var kn = (
3434
3412
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3435
3413
  var n = [];
3436
3414
  try {
3437
- n = Sn(t);
3415
+ n = _n(t);
3438
3416
  } catch {
3439
3417
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3440
3418
  }
@@ -3443,7 +3421,7 @@ var kn = (
3443
3421
  type: X.number,
3444
3422
  tokens: n,
3445
3423
  location: r,
3446
- parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
3424
+ parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
3447
3425
  },
3448
3426
  err: null
3449
3427
  };
@@ -3491,7 +3469,7 @@ var kn = (
3491
3469
  break;
3492
3470
  }
3493
3471
  var h = b(i, this.clonePosition());
3494
- return o ? (s *= n, Dn(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);
3495
3473
  }, e.prototype.offset = function() {
3496
3474
  return this.position.offset;
3497
3475
  }, e.prototype.isEOF = function() {
@@ -3506,7 +3484,7 @@ var kn = (
3506
3484
  var t = this.position.offset;
3507
3485
  if (t >= this.message.length)
3508
3486
  throw Error("out of bound");
3509
- var r = Jt(this.message, t);
3487
+ var r = zt(this.message, t);
3510
3488
  if (r === void 0)
3511
3489
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3512
3490
  return r;
@@ -3525,7 +3503,7 @@ var kn = (
3525
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);
3526
3504
  }
3527
3505
  }, e.prototype.bumpIf = function(t) {
3528
- if (pt(this.message, t, this.offset())) {
3506
+ if (lt(this.message, t, this.offset())) {
3529
3507
  for (var r = 0; r < t.length; r++)
3530
3508
  this.bump();
3531
3509
  return !0;
@@ -3547,7 +3525,7 @@ var kn = (
3547
3525
  break;
3548
3526
  }
3549
3527
  }, e.prototype.bumpSpace = function() {
3550
- for (; !this.isEOF() && Kt(this.char()); )
3528
+ for (; !this.isEOF() && Qt(this.char()); )
3551
3529
  this.bump();
3552
3530
  }, e.prototype.peek = function() {
3553
3531
  if (this.isEOF())
@@ -3557,38 +3535,38 @@ var kn = (
3557
3535
  }, e;
3558
3536
  }()
3559
3537
  );
3560
- function Ve(e) {
3538
+ function ke(e) {
3561
3539
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3562
3540
  }
3563
- function Vn(e) {
3564
- return Ve(e) || e === 47;
3541
+ function Fn(e) {
3542
+ return ke(e) || e === 47;
3565
3543
  }
3566
- function Xn(e) {
3544
+ function jn(e) {
3567
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;
3568
3546
  }
3569
- function Kt(e) {
3547
+ function Qt(e) {
3570
3548
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3571
3549
  }
3572
- function Wn(e) {
3550
+ function kn(e) {
3573
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;
3574
3552
  }
3575
- function Xe(e) {
3553
+ function Ve(e) {
3576
3554
  e.forEach(function(t) {
3577
- if (delete t.location, kt(t) || Vt(t))
3555
+ if (delete t.location, Gt(t) || Dt(t))
3578
3556
  for (var r in t.options)
3579
- delete t.options[r].location, Xe(t.options[r].value);
3557
+ delete t.options[r].location, Ve(t.options[r].value);
3580
3558
  else
3581
- Gt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
3559
+ $t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Ge(t.style) ? delete t.style.location : Ft(t) && Ve(t.children);
3582
3560
  });
3583
3561
  }
3584
- function zn(e, t) {
3562
+ function Vn(e, t) {
3585
3563
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3586
- var r = new kn(e, t).parse();
3564
+ var r = new Dn(e, t).parse();
3587
3565
  if (r.err) {
3588
3566
  var n = SyntaxError(m[r.err.kind]);
3589
3567
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3590
3568
  }
3591
- return t?.captureLocation || Xe(r.val), r.val;
3569
+ return t?.captureLocation || Ve(r.val), r.val;
3592
3570
  }
3593
3571
  var W;
3594
3572
  (function(e) {
@@ -3606,7 +3584,7 @@ var _e = (
3606
3584
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3607
3585
  }, t;
3608
3586
  }(Error)
3609
- ), bt = (
3587
+ ), pt = (
3610
3588
  /** @class */
3611
3589
  function(e) {
3612
3590
  I(t, e);
@@ -3615,7 +3593,7 @@ var _e = (
3615
3593
  }
3616
3594
  return t;
3617
3595
  }(_e)
3618
- ), Zn = (
3596
+ ), Xn = (
3619
3597
  /** @class */
3620
3598
  function(e) {
3621
3599
  I(t, e);
@@ -3624,7 +3602,7 @@ var _e = (
3624
3602
  }
3625
3603
  return t;
3626
3604
  }(_e)
3627
- ), Qn = (
3605
+ ), Wn = (
3628
3606
  /** @class */
3629
3607
  function(e) {
3630
3608
  I(t, e);
@@ -3633,128 +3611,128 @@ var _e = (
3633
3611
  }
3634
3612
  return t;
3635
3613
  }(_e)
3636
- ), E;
3614
+ ), x;
3637
3615
  (function(e) {
3638
3616
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3639
- })(E || (E = {}));
3640
- function qn(e) {
3617
+ })(x || (x = {}));
3618
+ function zn(e) {
3641
3619
  return e.length < 2 ? e : e.reduce(function(t, r) {
3642
3620
  var n = t[t.length - 1];
3643
- 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;
3644
3622
  }, []);
3645
3623
  }
3646
- function Jn(e) {
3624
+ function Zn(e) {
3647
3625
  return typeof e == "function";
3648
3626
  }
3649
3627
  function pe(e, t, r, n, i, o, s) {
3650
- if (e.length === 1 && ht(e[0]))
3628
+ if (e.length === 1 && st(e[0]))
3651
3629
  return [
3652
3630
  {
3653
- type: E.literal,
3631
+ type: x.literal,
3654
3632
  value: e[0].value
3655
3633
  }
3656
3634
  ];
3657
3635
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3658
3636
  var l = u[h];
3659
- if (ht(l)) {
3637
+ if (st(l)) {
3660
3638
  a.push({
3661
- type: E.literal,
3639
+ type: x.literal,
3662
3640
  value: l.value
3663
3641
  });
3664
3642
  continue;
3665
3643
  }
3666
- if (vn(l)) {
3644
+ if (bn(l)) {
3667
3645
  typeof o == "number" && a.push({
3668
- type: E.literal,
3646
+ type: x.literal,
3669
3647
  value: r.getNumberFormat(t).format(o)
3670
3648
  });
3671
3649
  continue;
3672
3650
  }
3673
3651
  var f = l.value;
3674
3652
  if (!(i && f in i))
3675
- throw new Qn(f, s);
3653
+ throw new Wn(f, s);
3676
3654
  var c = i[f];
3677
- if (yn(l)) {
3655
+ if (mn(l)) {
3678
3656
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3679
- type: typeof c == "string" ? E.literal : E.object,
3657
+ type: typeof c == "string" ? x.literal : x.object,
3680
3658
  value: c
3681
3659
  });
3682
3660
  continue;
3683
3661
  }
3684
- if (Ft(l)) {
3662
+ if (Rt(l)) {
3685
3663
  var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3686
3664
  a.push({
3687
- type: E.literal,
3665
+ type: x.literal,
3688
3666
  value: r.getDateTimeFormat(t, p).format(c)
3689
3667
  });
3690
3668
  continue;
3691
3669
  }
3692
- if (jt(l)) {
3670
+ if (Ut(l)) {
3693
3671
  var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3694
3672
  a.push({
3695
- type: E.literal,
3673
+ type: x.literal,
3696
3674
  value: r.getDateTimeFormat(t, p).format(c)
3697
3675
  });
3698
3676
  continue;
3699
3677
  }
3700
- if (Gt(l)) {
3701
- var p = typeof l.style == "string" ? n.number[l.style] : Wt(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;
3702
3680
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3703
- type: E.literal,
3681
+ type: x.literal,
3704
3682
  value: r.getNumberFormat(t, p).format(c)
3705
3683
  });
3706
3684
  continue;
3707
3685
  }
3708
- if (Xt(l)) {
3686
+ if (Ft(l)) {
3709
3687
  var d = l.children, v = l.value, H = i[v];
3710
- if (!Jn(H))
3711
- throw new Zn(v, "function", s);
3688
+ if (!Zn(H))
3689
+ throw new Xn(v, "function", s);
3712
3690
  var C = pe(d, t, r, n, i, o), L = H(C.map(function(A) {
3713
3691
  return A.value;
3714
3692
  }));
3715
3693
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
3716
3694
  return {
3717
- type: typeof A == "string" ? E.literal : E.object,
3695
+ type: typeof A == "string" ? x.literal : x.object,
3718
3696
  value: A
3719
3697
  };
3720
3698
  }));
3721
3699
  }
3722
- if (kt(l)) {
3723
- var x = l.options[c] || l.options.other;
3724
- if (!x)
3725
- throw new bt(l.value, c, Object.keys(l.options), s);
3726
- 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));
3727
3705
  continue;
3728
3706
  }
3729
- if (Vt(l)) {
3730
- var x = l.options["=".concat(c)];
3731
- if (!x) {
3707
+ if (Dt(l)) {
3708
+ var E = l.options["=".concat(c)];
3709
+ if (!E) {
3732
3710
  if (!Intl.PluralRules)
3733
3711
  throw new _e(`Intl.PluralRules is not available in this environment.
3734
3712
  Try polyfilling it using "@formatjs/intl-pluralrules"
3735
3713
  `, W.MISSING_INTL_API, s);
3736
3714
  var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3737
- x = l.options[$] || l.options.other;
3715
+ E = l.options[$] || l.options.other;
3738
3716
  }
3739
- if (!x)
3740
- throw new bt(l.value, c, Object.keys(l.options), s);
3741
- 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)));
3742
3720
  continue;
3743
3721
  }
3744
3722
  }
3745
- return qn(a);
3723
+ return zn(a);
3746
3724
  }
3747
- function Yn(e, t) {
3725
+ function Qn(e, t) {
3748
3726
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3749
3727
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3750
3728
  }, {})) : e;
3751
3729
  }
3752
- function Kn(e, t) {
3730
+ function qn(e, t) {
3753
3731
  return t ? Object.keys(e).reduce(function(r, n) {
3754
- return r[n] = Yn(e[n], t[n]), r;
3732
+ return r[n] = Qn(e[n], t[n]), r;
3755
3733
  }, g({}, e)) : e;
3756
3734
  }
3757
- function Oe(e) {
3735
+ function Pe(e) {
3758
3736
  return {
3759
3737
  create: function() {
3760
3738
  return {
@@ -3768,39 +3746,39 @@ function Oe(e) {
3768
3746
  }
3769
3747
  };
3770
3748
  }
3771
- function ei(e) {
3749
+ function Jn(e) {
3772
3750
  return e === void 0 && (e = {
3773
3751
  number: {},
3774
3752
  dateTime: {},
3775
3753
  pluralRules: {}
3776
3754
  }), {
3777
- getNumberFormat: we(function() {
3755
+ getNumberFormat: Be(function() {
3778
3756
  for (var t, r = [], n = 0; n < arguments.length; n++)
3779
3757
  r[n] = arguments[n];
3780
3758
  return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3781
3759
  }, {
3782
- cache: Oe(e.number),
3783
- strategy: Ae.variadic
3760
+ cache: Pe(e.number),
3761
+ strategy: we.variadic
3784
3762
  }),
3785
- getDateTimeFormat: we(function() {
3763
+ getDateTimeFormat: Be(function() {
3786
3764
  for (var t, r = [], n = 0; n < arguments.length; n++)
3787
3765
  r[n] = arguments[n];
3788
3766
  return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3789
3767
  }, {
3790
- cache: Oe(e.dateTime),
3791
- strategy: Ae.variadic
3768
+ cache: Pe(e.dateTime),
3769
+ strategy: we.variadic
3792
3770
  }),
3793
- getPluralRules: we(function() {
3771
+ getPluralRules: Be(function() {
3794
3772
  for (var t, r = [], n = 0; n < arguments.length; n++)
3795
3773
  r[n] = arguments[n];
3796
3774
  return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3797
3775
  }, {
3798
- cache: Oe(e.pluralRules),
3799
- strategy: Ae.variadic
3776
+ cache: Pe(e.pluralRules),
3777
+ strategy: we.variadic
3800
3778
  })
3801
3779
  };
3802
3780
  }
3803
- var ti = (
3781
+ var Yn = (
3804
3782
  /** @class */
3805
3783
  function() {
3806
3784
  function e(t, r, n, i) {
@@ -3815,7 +3793,7 @@ var ti = (
3815
3793
  if (u.length === 1)
3816
3794
  return u[0].value;
3817
3795
  var l = u.reduce(function(f, c) {
3818
- 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;
3819
3797
  }, []);
3820
3798
  return l.length <= 1 ? l[0] || "" : l;
3821
3799
  }, this.formatToParts = function(h) {
@@ -3832,13 +3810,13 @@ var ti = (
3832
3810
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3833
3811
  var s = i || {};
3834
3812
  s.formatters;
3835
- var a = Nr(s, ["formatters"]);
3813
+ var a = Pr(s, ["formatters"]);
3836
3814
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3837
3815
  } else
3838
3816
  this.ast = t;
3839
3817
  if (!Array.isArray(this.ast))
3840
3818
  throw new TypeError("A message must be provided as a String or AST.");
3841
- this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3819
+ this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3842
3820
  }
3843
3821
  return Object.defineProperty(e, "defaultLocale", {
3844
3822
  get: function() {
@@ -3851,7 +3829,7 @@ var ti = (
3851
3829
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3852
3830
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3853
3831
  }
3854
- }, e.__parse = zn, e.formats = {
3832
+ }, e.__parse = Vn, e.formats = {
3855
3833
  number: {
3856
3834
  integer: {
3857
3835
  maximumFractionDigits: 0
@@ -3912,7 +3890,7 @@ var ti = (
3912
3890
  }, e;
3913
3891
  }()
3914
3892
  );
3915
- function ri(e, t) {
3893
+ function Kn(e, t) {
3916
3894
  if (t == null)
3917
3895
  return;
3918
3896
  if (t in e)
@@ -3933,92 +3911,92 @@ function ri(e, t) {
3933
3911
  n = void 0;
3934
3912
  return n;
3935
3913
  }
3936
- const M = {}, ni = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), er = (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) => {
3937
3915
  if (t == null)
3938
3916
  return;
3939
3917
  if (t in M && e in M[t])
3940
3918
  return M[t][e];
3941
- const r = Ee(t);
3919
+ const r = xe(t);
3942
3920
  for (let n = 0; n < r.length; n++) {
3943
- const i = r[n], o = oi(i, e);
3921
+ const i = r[n], o = ri(i, e);
3944
3922
  if (o)
3945
- return ni(e, t, o);
3923
+ return ei(e, t, o);
3946
3924
  }
3947
3925
  };
3948
- let Je;
3926
+ let Ze;
3949
3927
  const se = ve({});
3950
- function ii(e) {
3951
- return Je[e] || null;
3928
+ function ti(e) {
3929
+ return Ze[e] || null;
3952
3930
  }
3953
- function tr(e) {
3954
- return e in Je;
3931
+ function Jt(e) {
3932
+ return e in Ze;
3955
3933
  }
3956
- function oi(e, t) {
3957
- if (!tr(e))
3934
+ function ri(e, t) {
3935
+ if (!Jt(e))
3958
3936
  return null;
3959
- const r = ii(e);
3960
- return ri(r, t);
3937
+ const r = ti(e);
3938
+ return Kn(r, t);
3961
3939
  }
3962
- function si(e) {
3940
+ function ni(e) {
3963
3941
  if (e == null)
3964
3942
  return;
3965
- const t = Ee(e);
3943
+ const t = xe(e);
3966
3944
  for (let r = 0; r < t.length; r++) {
3967
3945
  const n = t[r];
3968
- if (tr(n))
3946
+ if (Jt(n))
3969
3947
  return n;
3970
3948
  }
3971
3949
  }
3972
- function rr(e, ...t) {
3973
- 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));
3974
3952
  }
3975
3953
  Q(
3976
3954
  [se],
3977
3955
  ([e]) => Object.keys(e)
3978
3956
  );
3979
- se.subscribe((e) => Je = e);
3957
+ se.subscribe((e) => Ze = e);
3980
3958
  const de = {};
3981
- function ai(e, t) {
3959
+ function ii(e, t) {
3982
3960
  de[e].delete(t), de[e].size === 0 && delete de[e];
3983
3961
  }
3984
- function nr(e) {
3962
+ function Kt(e) {
3985
3963
  return de[e];
3986
3964
  }
3987
- function ui(e) {
3988
- return Ee(e).map((t) => {
3989
- const r = nr(t);
3965
+ function oi(e) {
3966
+ return xe(e).map((t) => {
3967
+ const r = Kt(t);
3990
3968
  return [t, r ? [...r] : []];
3991
3969
  }).filter(([, t]) => t.length > 0);
3992
3970
  }
3993
- function We(e) {
3994
- return e == null ? !1 : Ee(e).some(
3971
+ function Xe(e) {
3972
+ return e == null ? !1 : xe(e).some(
3995
3973
  (t) => {
3996
3974
  var r;
3997
- return (r = nr(t)) == null ? void 0 : r.size;
3975
+ return (r = Kt(t)) == null ? void 0 : r.size;
3998
3976
  }
3999
3977
  );
4000
3978
  }
4001
- function hi(e, t) {
3979
+ function si(e, t) {
4002
3980
  return Promise.all(
4003
- t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
4004
- ).then((n) => rr(e, ...n));
3981
+ t.map((n) => (ii(e, n), n().then((i) => i.default || i)))
3982
+ ).then((n) => Yt(e, ...n));
4005
3983
  }
4006
3984
  const K = {};
4007
- function ir(e) {
4008
- if (!We(e))
3985
+ function er(e) {
3986
+ if (!Xe(e))
4009
3987
  return e in K ? K[e] : Promise.resolve();
4010
- const t = ui(e);
3988
+ const t = oi(e);
4011
3989
  return K[e] = Promise.all(
4012
3990
  t.map(
4013
- ([r, n]) => hi(r, n)
3991
+ ([r, n]) => si(r, n)
4014
3992
  )
4015
3993
  ).then(() => {
4016
- if (We(e))
4017
- return ir(e);
3994
+ if (Xe(e))
3995
+ return er(e);
4018
3996
  delete K[e];
4019
3997
  }), K[e];
4020
3998
  }
4021
- const li = {
3999
+ const ai = {
4022
4000
  number: {
4023
4001
  scientific: { notation: "scientific" },
4024
4002
  engineering: { notation: "engineering" },
@@ -4047,78 +4025,78 @@ const li = {
4047
4025
  timeZoneName: "short"
4048
4026
  }
4049
4027
  }
4050
- }, ci = {
4028
+ }, ui = {
4051
4029
  fallbackLocale: null,
4052
4030
  loadingDelay: 200,
4053
- formats: li,
4031
+ formats: ai,
4054
4032
  warnOnMissingMessages: !0,
4055
4033
  handleMissingMessage: void 0,
4056
4034
  ignoreTag: !0
4057
- }, fi = ci;
4035
+ }, hi = ui;
4058
4036
  function z() {
4059
- return fi;
4037
+ return hi;
4060
4038
  }
4061
- const Ie = ve(!1);
4062
- var pi = Object.defineProperty, di = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (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) => {
4063
4041
  for (var r in t || (t = {}))
4064
- bi.call(t, r) && yt(e, r, t[r]);
4065
- if (gt)
4066
- for (var r of gt(t))
4067
- gi.call(t, r) && yt(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]);
4068
4046
  return e;
4069
- }, vi = (e, t) => di(e, mi(t));
4070
- let ze;
4047
+ }, bi = (e, t) => ci(e, fi(t));
4048
+ let We;
4071
4049
  const me = ve(null);
4072
- function vt(e) {
4050
+ function bt(e) {
4073
4051
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4074
4052
  }
4075
- function Ee(e, t = z().fallbackLocale) {
4076
- const r = vt(e);
4077
- return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
4053
+ function xe(e, t = z().fallbackLocale) {
4054
+ const r = bt(e);
4055
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
4078
4056
  }
4079
4057
  function R() {
4080
- return ze ?? void 0;
4058
+ return We ?? void 0;
4081
4059
  }
4082
4060
  me.subscribe((e) => {
4083
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4061
+ We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4084
4062
  });
4085
- const _i = (e) => {
4086
- if (e && si(e) && We(e)) {
4063
+ const gi = (e) => {
4064
+ if (e && ni(e) && Xe(e)) {
4087
4065
  const { loadingDelay: t } = z();
4088
4066
  let r;
4089
4067
  return typeof window < "u" && R() != null && t ? r = window.setTimeout(
4090
- () => Ie.set(!0),
4068
+ () => Oe.set(!0),
4091
4069
  t
4092
- ) : Ie.set(!0), ir(e).then(() => {
4070
+ ) : Oe.set(!0), er(e).then(() => {
4093
4071
  me.set(e);
4094
4072
  }).finally(() => {
4095
- clearTimeout(r), Ie.set(!1);
4073
+ clearTimeout(r), Oe.set(!1);
4096
4074
  });
4097
4075
  }
4098
4076
  return me.set(e);
4099
- }, q = vi(yi({}, me), {
4100
- set: _i
4101
- }), xe = (e) => {
4077
+ }, q = bi(mi({}, me), {
4078
+ set: gi
4079
+ }), Ee = (e) => {
4102
4080
  const t = /* @__PURE__ */ Object.create(null);
4103
4081
  return (n) => {
4104
4082
  const i = JSON.stringify(n);
4105
4083
  return i in t ? t[i] : t[i] = e(n);
4106
4084
  };
4107
4085
  };
4108
- var Ei = Object.defineProperty, be = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (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) => {
4109
4087
  for (var r in t || (t = {}))
4110
- or.call(t, r) && _t(e, r, t[r]);
4088
+ tr.call(t, r) && gt(e, r, t[r]);
4111
4089
  if (be)
4112
4090
  for (var r of be(t))
4113
- sr.call(t, r) && _t(e, r, t[r]);
4091
+ rr.call(t, r) && gt(e, r, t[r]);
4114
4092
  return e;
4115
4093
  }, J = (e, t) => {
4116
4094
  var r = {};
4117
4095
  for (var n in e)
4118
- or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4096
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4119
4097
  if (e != null && be)
4120
4098
  for (var n of be(e))
4121
- t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4099
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
4122
4100
  return r;
4123
4101
  };
4124
4102
  const ne = (e, t) => {
@@ -4126,21 +4104,21 @@ const ne = (e, t) => {
4126
4104
  if (e in r && t in r[e])
4127
4105
  return r[e][t];
4128
4106
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4129
- }, xi = xe(
4107
+ }, vi = Ee(
4130
4108
  (e) => {
4131
4109
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4132
4110
  if (r == null)
4133
4111
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4134
4112
  return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4135
4113
  }
4136
- ), Si = xe(
4114
+ ), _i = Ee(
4137
4115
  (e) => {
4138
4116
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4139
4117
  if (r == null)
4140
4118
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4141
4119
  return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4142
4120
  }
4143
- ), Ti = xe(
4121
+ ), xi = Ee(
4144
4122
  (e) => {
4145
4123
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4146
4124
  if (r == null)
@@ -4149,33 +4127,33 @@ const ne = (e, t) => {
4149
4127
  );
4150
4128
  return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4151
4129
  }
4152
- ), Hi = (e = {}) => {
4130
+ ), Ei = (e = {}) => {
4153
4131
  var t = e, {
4154
4132
  locale: r = R()
4155
4133
  } = t, n = J(t, [
4156
4134
  "locale"
4157
4135
  ]);
4158
- return xi(Ye({ locale: r }, n));
4159
- }, Bi = (e = {}) => {
4136
+ return vi(Qe({ locale: r }, n));
4137
+ }, Si = (e = {}) => {
4160
4138
  var t = e, {
4161
4139
  locale: r = R()
4162
4140
  } = t, n = J(t, [
4163
4141
  "locale"
4164
4142
  ]);
4165
- return Si(Ye({ locale: r }, n));
4166
- }, wi = (e = {}) => {
4143
+ return _i(Qe({ locale: r }, n));
4144
+ }, Ti = (e = {}) => {
4167
4145
  var t = e, {
4168
4146
  locale: r = R()
4169
4147
  } = t, n = J(t, [
4170
4148
  "locale"
4171
4149
  ]);
4172
- return Ti(Ye({ locale: r }, n));
4173
- }, Ai = xe(
4150
+ return xi(Qe({ locale: r }, n));
4151
+ }, Hi = Ee(
4174
4152
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4175
- (e, t = R()) => new ti(e, t, z().formats, {
4153
+ (e, t = R()) => new Yn(e, t, z().formats, {
4176
4154
  ignoreTag: z().ignoreTag
4177
4155
  })
4178
- ), Pi = (e, t = {}) => {
4156
+ ), Bi = (e, t = {}) => {
4179
4157
  var r, n, i, o;
4180
4158
  let s = t;
4181
4159
  typeof e == "object" && (s = e, e = s.id);
@@ -4188,7 +4166,7 @@ const ne = (e, t) => {
4188
4166
  throw new Error(
4189
4167
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4190
4168
  );
4191
- let l = er(e, h);
4169
+ let l = qt(e, h);
4192
4170
  if (!l)
4193
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;
4194
4172
  else if (typeof l != "string")
@@ -4199,7 +4177,7 @@ const ne = (e, t) => {
4199
4177
  return l;
4200
4178
  let f = l;
4201
4179
  try {
4202
- f = Ai(l, h).format(a);
4180
+ f = Hi(l, h).format(a);
4203
4181
  } catch (c) {
4204
4182
  c instanceof Error && console.warn(
4205
4183
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4207,20 +4185,20 @@ const ne = (e, t) => {
4207
4185
  );
4208
4186
  }
4209
4187
  return f;
4210
- }, Oi = (e, t) => wi(t).format(e), Ii = (e, t) => Bi(t).format(e), Li = (e, t) => Hi(t).format(e), Ni = (e, t = R()) => er(e, t), Mi = Q([q, se], () => Pi);
4211
- Q([q], () => Oi);
4212
- Q([q], () => Ii);
4213
- Q([q], () => Li);
4214
- Q([q, se], () => Ni);
4215
- window.emWidgets = { topic: zr };
4216
- const Ci = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4217
- function Et(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) {
4218
4196
  if (e) {
4219
4197
  const r = document.createElement("style");
4220
4198
  r.innerHTML = t, e.appendChild(r);
4221
4199
  }
4222
4200
  }
4223
- function $i(e, t) {
4201
+ function Ni(e, t) {
4224
4202
  const r = new URL(t);
4225
4203
  fetch(r.href).then((n) => n.text()).then((n) => {
4226
4204
  const i = document.createElement("style");
@@ -4229,7 +4207,7 @@ function $i(e, t) {
4229
4207
  console.error("There was an error while trying to load client styling from URL", n);
4230
4208
  });
4231
4209
  }
4232
- function Ri(e, t, r) {
4210
+ function Mi(e, t, r) {
4233
4211
  if (window.emMessageBus) {
4234
4212
  const n = document.createElement("style");
4235
4213
  window.emMessageBus.subscribe(t, (i) => {
@@ -4237,13 +4215,13 @@ function Ri(e, t, r) {
4237
4215
  });
4238
4216
  }
4239
4217
  }
4240
- function xt(e, t) {
4241
- rr(e, t);
4218
+ function vt(e, t) {
4219
+ Yt(e, t);
4242
4220
  }
4243
- function Ui(e) {
4221
+ function Ci(e) {
4244
4222
  q.set(e);
4245
4223
  }
4246
- const St = {
4224
+ const _t = {
4247
4225
  en: {
4248
4226
  logoutButton: "Logout"
4249
4227
  },
@@ -4278,10 +4256,10 @@ const St = {
4278
4256
  logoutButton: "Logout"
4279
4257
  }
4280
4258
  };
4281
- function Di(e) {
4282
- cr(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))}");
4259
+ function $i(e) {
4260
+ 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))}");
4283
4261
  }
4284
- function Gi(e) {
4262
+ function Ri(e) {
4285
4263
  let t, r, n, i = (
4286
4264
  /*$_*/
4287
4265
  e[2]("logoutButton") + ""
@@ -4291,7 +4269,7 @@ function Gi(e) {
4291
4269
  t = P("div"), r = P("button"), n = P("span"), o = ge(i), S(t, "class", "GeneralLogout");
4292
4270
  },
4293
4271
  m(h, u) {
4294
- oe(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = wt(
4272
+ oe(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Tt(
4295
4273
  r,
4296
4274
  "click",
4297
4275
  /*click_handler_1*/
@@ -4301,19 +4279,19 @@ function Gi(e) {
4301
4279
  p(h, u) {
4302
4280
  u & /*$_*/
4303
4281
  4 && i !== (i = /*$_*/
4304
- h[2]("logoutButton") + "") && At(o, i);
4282
+ h[2]("logoutButton") + "") && Ht(o, i);
4305
4283
  },
4306
4284
  d(h) {
4307
4285
  h && Z(t), s = !1, a();
4308
4286
  }
4309
4287
  };
4310
4288
  }
4311
- function Fi(e) {
4289
+ function Ui(e) {
4312
4290
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4313
- e[3] && ji(e);
4291
+ e[3] && Gi(e);
4314
4292
  return {
4315
4293
  c() {
4316
- 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 = dr(), 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"), br(r, "width", /*isMobile*/
4294
+ 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*/
4317
4295
  e[3] ? (
4318
4296
  /*mediaQuery*/
4319
4297
  e[4].matches ? "50px" : "24px"
@@ -4323,7 +4301,7 @@ function Fi(e) {
4323
4301
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4324
4302
  },
4325
4303
  m(p, d) {
4326
- 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 = wt(
4304
+ 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(
4327
4305
  t,
4328
4306
  "click",
4329
4307
  /*click_handler*/
@@ -4339,7 +4317,7 @@ function Fi(e) {
4339
4317
  }
4340
4318
  };
4341
4319
  }
4342
- function ji(e) {
4320
+ function Gi(e) {
4343
4321
  let t, r = (
4344
4322
  /*$_*/
4345
4323
  e[2]("logoutButton") + ""
@@ -4354,19 +4332,19 @@ function ji(e) {
4354
4332
  p(i, o) {
4355
4333
  o & /*$_*/
4356
4334
  4 && r !== (r = /*$_*/
4357
- i[2]("logoutButton") + "") && At(n, r);
4335
+ i[2]("logoutButton") + "") && Ht(n, r);
4358
4336
  },
4359
4337
  d(i) {
4360
4338
  i && Z(t);
4361
4339
  }
4362
4340
  };
4363
4341
  }
4364
- function ki(e) {
4342
+ function Di(e) {
4365
4343
  let t;
4366
4344
  function r(o, s) {
4367
4345
  return (
4368
4346
  /*buttonlocation*/
4369
- o[0] === "PlayerAccountMenu" ? Fi : Gi
4347
+ o[0] === "PlayerAccountMenu" ? Ui : Ri
4370
4348
  );
4371
4349
  }
4372
4350
  let n = r(e), i = n(e);
@@ -4387,23 +4365,23 @@ function ki(e) {
4387
4365
  }
4388
4366
  };
4389
4367
  }
4390
- function Vi(e, t, r) {
4368
+ function Fi(e, t, r) {
4391
4369
  let n;
4392
- lr(e, Mi, (y) => r(2, n = y));
4393
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, v = window.navigator.userAgent, H = Ci(v) !== "PC";
4370
+ sr(e, Ii, (y) => r(2, n = y));
4371
+ 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";
4394
4372
  const C = window.matchMedia("(min-width: 768px)"), L = () => {
4395
4373
  fetch(f).then((N) => N.json()).then((N) => {
4396
4374
  Object.keys(N).forEach((Se) => {
4397
- xt(Se, N[Se]);
4375
+ vt(Se, N[Se]);
4398
4376
  });
4399
4377
  }).catch((N) => {
4400
4378
  console.log(N);
4401
4379
  });
4402
4380
  };
4403
- Object.keys(St).forEach((y) => {
4404
- xt(y, St[y]);
4381
+ Object.keys(_t).forEach((y) => {
4382
+ vt(y, _t[y]);
4405
4383
  });
4406
- const x = () => {
4384
+ const E = () => {
4407
4385
  let y = new Headers();
4408
4386
  y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4409
4387
  let N = { method: "DELETE", headers: y };
@@ -4411,13 +4389,13 @@ function Vi(e, t, r) {
4411
4389
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4412
4390
  });
4413
4391
  }, $ = () => (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 = () => {
4414
- Ui(a);
4392
+ Ci(a);
4415
4393
  };
4416
- vr(() => () => {
4394
+ mr(() => () => {
4417
4395
  });
4418
- const U = () => x(), ae = () => x();
4419
- function ur(y) {
4420
- Le[y ? "unshift" : "push"](() => {
4396
+ const U = () => E(), ae = () => E();
4397
+ function ir(y) {
4398
+ Ie[y ? "unshift" : "push"](() => {
4421
4399
  d = y, r(1, d);
4422
4400
  });
4423
4401
  }
@@ -4427,10 +4405,10 @@ function Vi(e, t, r) {
4427
4405
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4428
4406
  193 && i && o && s && $(), e.$$.dirty & /*lang*/
4429
4407
  256 && a && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4430
- 1026 && u && d && Et(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4431
- 1026 && u && d && Et(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4432
- 2050 && l && d && $i(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4433
- 514 && h && d && Ri(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4408
+ 1026 && u && d && yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4409
+ 1026 && u && d && yt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4410
+ 2050 && l && d && Ni(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4411
+ 514 && h && d && Mi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4434
4412
  4096 && f && L();
4435
4413
  }, [
4436
4414
  s,
@@ -4438,7 +4416,7 @@ function Vi(e, t, r) {
4438
4416
  n,
4439
4417
  H,
4440
4418
  C,
4441
- x,
4419
+ E,
4442
4420
  i,
4443
4421
  o,
4444
4422
  a,
@@ -4448,17 +4426,17 @@ function Vi(e, t, r) {
4448
4426
  f,
4449
4427
  U,
4450
4428
  ae,
4451
- ur
4429
+ ir
4452
4430
  ];
4453
4431
  }
4454
- class ar extends Ir {
4432
+ class nr extends wr {
4455
4433
  constructor(t) {
4456
- super(), Pr(
4434
+ super(), Hr(
4457
4435
  this,
4458
4436
  t,
4459
- Vi,
4460
- ki,
4461
- Ht,
4437
+ Fi,
4438
+ Di,
4439
+ Et,
4462
4440
  {
4463
4441
  endpoint: 6,
4464
4442
  session: 7,
@@ -4469,7 +4447,7 @@ class ar extends Ir {
4469
4447
  clientstylingurl: 11,
4470
4448
  translationurl: 12
4471
4449
  },
4472
- Di
4450
+ $i
4473
4451
  );
4474
4452
  }
4475
4453
  get endpoint() {
@@ -4521,43 +4499,43 @@ class ar extends Ir {
4521
4499
  this.$$set({ translationurl: t }), w();
4522
4500
  }
4523
4501
  }
4524
- Or(ar, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4525
- const Qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4502
+ Br(nr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4503
+ const Wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4526
4504
  __proto__: null,
4527
- default: ar
4505
+ default: nr
4528
4506
  }, Symbol.toStringTag, { value: "Module" }));
4529
4507
  export {
4530
4508
  q as $,
4531
- wt as A,
4532
- ie as B,
4533
- Xi as C,
4509
+ Ii as A,
4510
+ yt as B,
4511
+ Ni as C,
4534
4512
  Mi as D,
4535
- Qi as G,
4536
- Ir as S,
4537
- rr as a,
4538
- cr as b,
4539
- Or as c,
4540
- oe as d,
4541
- P as e,
4513
+ Wi as G,
4514
+ wr as S,
4515
+ Yt as a,
4516
+ ar as b,
4517
+ Br as c,
4518
+ Z as d,
4519
+ oe as e,
4542
4520
  w as f,
4543
- Z as g,
4544
- lr as h,
4545
- Pr as i,
4546
- Ci as j,
4547
- $i as k,
4548
- Ri as l,
4549
- Le as m,
4521
+ P as g,
4522
+ sr as h,
4523
+ Hr as i,
4524
+ Li as j,
4525
+ Ie as k,
4526
+ Xi as l,
4527
+ ki as m,
4550
4528
  B as n,
4551
- vr as o,
4552
- Et as p,
4553
- Zi as q,
4554
- dr as r,
4555
- Ht as s,
4556
- ge as t,
4557
- S as u,
4558
- T as v,
4559
- At as w,
4560
- Wi as x,
4561
- zi as y,
4562
- Y as z
4529
+ mr as o,
4530
+ T as p,
4531
+ lr as q,
4532
+ Vi as r,
4533
+ Et as s,
4534
+ S as t,
4535
+ Ht as u,
4536
+ ge as v,
4537
+ ie as w,
4538
+ Tt as x,
4539
+ Y as y,
4540
+ ji as z
4563
4541
  };