@everymatrix/player-account-menu-nd 1.74.3 → 1.74.4

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 (21) hide show
  1. package/components/GeneralLogout-BUuNBLQo.cjs +18 -0
  2. package/components/{GeneralLogout-GRuKSPyD.js → GeneralLogout-CmFi68f2.js} +684 -670
  3. package/components/{GeneralLogout-C6LtI21m.js → GeneralLogout-Do7o-cKv.js} +658 -644
  4. package/components/{PlayerAccountMenuNd-Bw9HX5pe.js → PlayerAccountMenuNd-CIHVvnGl.js} +7 -7
  5. package/components/{PlayerAccountMenuNd-D9eyRCPZ.js → PlayerAccountMenuNd-CglkmiE1.js} +7 -7
  6. package/components/{PlayerAccountMenuNd-ehuCAahb.cjs → PlayerAccountMenuNd-Y0YAriN6.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-b2193545-BbCeNxUG.js → index-b2193545-BtPvM93e.js} +176 -176
  12. package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
  13. package/stencil/{index-b2193545-C9PH-6qK.js → index-b2193545-D_KBbaD-.js} +169 -169
  14. package/stencil/{ui-skeleton-bhljBTS7.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
  15. package/stencil/{ui-skeleton-CJbkvgG7.js → ui-skeleton-CWuMYFGQ.js} +2 -2
  16. package/stencil/{ui-skeleton-BKDs0-7H.js → ui-skeleton-NZtdK490.js} +2 -2
  17. package/stencil/{ui-skeleton-ae35c6f2-CXlvqczG.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
  18. package/stencil/{ui-skeleton-ae35c6f2-ZB0isFAq.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
  19. package/stencil/{ui-skeleton-ae35c6f2-gun6WX2F.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
  20. package/components/GeneralLogout-DqlvbXrp.cjs +0 -18
  21. package/stencil/index-b2193545-D-u-gzj3.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var cr = Object.defineProperty, dr = Object.defineProperties;
2
- var pr = Object.getOwnPropertyDescriptors;
3
- var Ke = Object.getOwnPropertySymbols;
4
- var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
1
+ var mr = Object.defineProperty, br = Object.defineProperties;
2
+ var gr = Object.getOwnPropertyDescriptors;
3
+ var tt = Object.getOwnPropertySymbols;
4
+ var yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- mr.call(t, r) && He(e, r, t[r]);
8
- if (Ke)
9
- for (var r of Ke(t))
10
- br.call(t, r) && He(e, r, t[r]);
7
+ yr.call(t, r) && He(e, r, t[r]);
8
+ if (tt)
9
+ for (var r of tt(t))
10
+ vr.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, tt = (e, t) => dr(e, pr(t));
12
+ }, nt = (e, t) => br(e, gr(t));
13
13
  var H = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var rt = (e, t, r) => new Promise((n, i) => {
14
+ var it = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var rt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function w() {
31
31
  }
32
- function At(e) {
32
+ function Ot(e) {
33
33
  return e();
34
34
  }
35
- function nt() {
35
+ function ot() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function oe(e) {
39
- e.forEach(At);
39
+ e.forEach(Ot);
40
40
  }
41
- function Qe(e) {
41
+ function qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Pt(e, t) {
44
+ function It(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let he;
48
- function ro(e, t) {
48
+ function io(e, t) {
49
49
  return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
50
50
  }
51
- function gr(e) {
51
+ function Er(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ot(e, ...t) {
54
+ function Lt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Ot(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function yr(e, t, r) {
64
- e.$$.on_destroy.push(Ot(t, r));
63
+ function xr(e, t, r) {
64
+ e.$$.on_destroy.push(Lt(t, r));
65
65
  }
66
66
  function T(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function vr(e, t, r) {
70
- const n = xr(e);
69
+ function _r(e, t, r) {
70
+ const n = Sr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = O("style");
73
- i.id = t, i.textContent = r, Er(n, i);
73
+ i.id = t, i.textContent = r, Tr(n, i);
74
74
  }
75
75
  }
76
- function xr(e) {
76
+ function Sr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function xr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Er(e, t) {
86
+ function Tr(e, t) {
87
87
  return T(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,7 +96,7 @@ function se(e, t, r) {
96
96
  function Q(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function no(e, t) {
99
+ function oo(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
@@ -109,30 +109,30 @@ function K(e) {
109
109
  function ye(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function _r() {
112
+ function Hr() {
113
113
  return ye(" ");
114
114
  }
115
- function It(e, t, r, n) {
115
+ function Nt(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
118
  function S(e, t, r) {
119
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
120
120
  }
121
- function io(e, t, r) {
121
+ function so(e, t, r) {
122
122
  const n = t.toLowerCase();
123
123
  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);
124
124
  }
125
- function Sr(e) {
125
+ function Br(e) {
126
126
  return Array.from(e.childNodes);
127
127
  }
128
- function Lt(e, t) {
128
+ function Mt(e, t) {
129
129
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
130
130
  t);
131
131
  }
132
- function Tr(e, t, r, n) {
132
+ function wr(e, t, r, n) {
133
133
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
134
134
  }
135
- function Hr(e) {
135
+ function Ar(e) {
136
136
  const t = {};
137
137
  return e.childNodes.forEach(
138
138
  /** @param {Element} node */
@@ -145,22 +145,22 @@ let re;
145
145
  function te(e) {
146
146
  re = e;
147
147
  }
148
- function Br() {
148
+ function Pr() {
149
149
  if (!re)
150
150
  throw new Error("Function called outside component initialization");
151
151
  return re;
152
152
  }
153
- function wr(e) {
154
- Br().$$.on_mount.push(e);
153
+ function Or(e) {
154
+ Pr().$$.on_mount.push(e);
155
155
  }
156
- const j = [], Ne = [];
156
+ const j = [], Me = [];
157
157
  let k = [];
158
- const it = [], Ar = /* @__PURE__ */ Promise.resolve();
159
- let Me = !1;
160
- function Pr() {
161
- Me || (Me = !0, Ar.then(A));
158
+ const st = [], Ir = /* @__PURE__ */ Promise.resolve();
159
+ let Ce = !1;
160
+ function Lr() {
161
+ Ce || (Ce = !0, Ir.then(A));
162
162
  }
163
- function Ce(e) {
163
+ function $e(e) {
164
164
  k.push(e);
165
165
  }
166
166
  const Be = /* @__PURE__ */ new Set();
@@ -173,56 +173,56 @@ function A() {
173
173
  try {
174
174
  for (; G < j.length; ) {
175
175
  const t = j[G];
176
- G++, te(t), Or(t.$$);
176
+ G++, te(t), Nr(t.$$);
177
177
  }
178
178
  } catch (t) {
179
179
  throw j.length = 0, G = 0, t;
180
180
  }
181
- for (te(null), j.length = 0, G = 0; Ne.length; )
182
- Ne.pop()();
181
+ for (te(null), j.length = 0, G = 0; Me.length; )
182
+ Me.pop()();
183
183
  for (let t = 0; t < k.length; t += 1) {
184
184
  const r = k[t];
185
185
  Be.has(r) || (Be.add(r), r());
186
186
  }
187
187
  k.length = 0;
188
188
  } while (j.length);
189
- for (; it.length; )
190
- it.pop()();
191
- Me = !1, Be.clear(), te(e);
189
+ for (; st.length; )
190
+ st.pop()();
191
+ Ce = !1, Be.clear(), te(e);
192
192
  }
193
- function Or(e) {
193
+ function Nr(e) {
194
194
  if (e.fragment !== null) {
195
195
  e.update(), oe(e.before_update);
196
196
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
198
198
  }
199
199
  }
200
- function Ir(e) {
200
+ function Mr(e) {
201
201
  const t = [], r = [];
202
202
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
203
203
  }
204
- const Lr = /* @__PURE__ */ new Set();
205
- function Nr(e, t) {
206
- e && e.i && (Lr.delete(e), e.i(t));
204
+ const Cr = /* @__PURE__ */ new Set();
205
+ function $r(e, t) {
206
+ e && e.i && (Cr.delete(e), e.i(t));
207
207
  }
208
- function oo(e) {
208
+ function ao(e) {
209
209
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
210
210
  }
211
- function Mr(e, t, r) {
211
+ function Rr(e, t, r) {
212
212
  const { fragment: n, after_update: i } = e.$$;
213
- n && n.m(t, r), Ce(() => {
214
- const o = e.$$.on_mount.map(At).filter(Qe);
213
+ n && n.m(t, r), $e(() => {
214
+ const o = e.$$.on_mount.map(Ot).filter(qe);
215
215
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
216
- }), i.forEach(Ce);
216
+ }), i.forEach($e);
217
217
  }
218
- function Cr(e, t) {
218
+ function Ur(e, t) {
219
219
  const r = e.$$;
220
- r.fragment !== null && (Ir(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
+ r.fragment !== null && (Mr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
221
221
  }
222
- function $r(e, t) {
223
- e.$$.dirty[0] === -1 && (j.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
+ function Dr(e, t) {
223
+ e.$$.dirty[0] === -1 && (j.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
224
  }
225
- function Rr(e, t, r, n, i, o, s = null, a = [-1]) {
225
+ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
226
226
  const h = re;
227
227
  te(e);
228
228
  const u = e.$$ = {
@@ -232,7 +232,7 @@ function Rr(e, t, r, n, i, o, s = null, a = [-1]) {
232
232
  props: o,
233
233
  update: w,
234
234
  not_equal: i,
235
- bound: nt(),
235
+ bound: ot(),
236
236
  // lifecycle
237
237
  on_mount: [],
238
238
  on_destroy: [],
@@ -241,28 +241,28 @@ function Rr(e, t, r, n, i, o, s = null, a = [-1]) {
241
241
  after_update: [],
242
242
  context: new Map(t.context || (h ? h.$$.context : [])),
243
243
  // everything else
244
- callbacks: nt(),
244
+ callbacks: ot(),
245
245
  dirty: a,
246
246
  skip_bound: !1,
247
247
  root: t.target || h.$$.root
248
248
  };
249
249
  s && s(u.root);
250
250
  let l = !1;
251
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
252
- const p = d.length ? d[0] : f;
253
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && $r(e, c)), f;
251
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
252
+ const d = p.length ? p[0] : c;
253
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Dr(e, f)), c;
254
254
  }) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
255
255
  if (t.hydrate) {
256
- const c = Sr(t.target);
257
- u.fragment && u.fragment.l(c), c.forEach(Q);
256
+ const f = Br(t.target);
257
+ u.fragment && u.fragment.l(f), f.forEach(Q);
258
258
  } else
259
259
  u.fragment && u.fragment.c();
260
- t.intro && Nr(e.$$.fragment), Mr(e, t.target, t.anchor), A();
260
+ t.intro && $r(e.$$.fragment), Rr(e, t.target, t.anchor), A();
261
261
  }
262
262
  te(h);
263
263
  }
264
- let Nt;
265
- typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
264
+ let Ct;
265
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
266
266
  constructor(t, r, n) {
267
267
  super();
268
268
  /** The Svelte component constructor */
@@ -299,7 +299,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
299
299
  }
300
300
  }
301
301
  connectedCallback() {
302
- return rt(this, null, function* () {
302
+ return it(this, null, function* () {
303
303
  if (this.$$cn = !0, !this.$$c) {
304
304
  let t = function(o) {
305
305
  return () => {
@@ -323,18 +323,18 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
323
323
  };
324
324
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
325
325
  return;
326
- const r = {}, n = Hr(this);
326
+ const r = {}, n = Ar(this);
327
327
  for (const o of this.$$s)
328
328
  o in n && (r[o] = [t(o)]);
329
329
  for (const o of this.attributes) {
330
330
  const s = this.$$g_p(o.name);
331
- s in this.$$d || (this.$$d[s] = ce(s, o.value, this.$$p_d, "toProp"));
331
+ s in this.$$d || (this.$$d[s] = fe(s, o.value, this.$$p_d, "toProp"));
332
332
  }
333
333
  for (const o in this.$$p_d)
334
334
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
335
335
  this.$$c = new this.$$ctor({
336
336
  target: this.shadowRoot || this,
337
- props: tt(et({}, this.$$d), {
337
+ props: nt(rt({}, this.$$d), {
338
338
  $$slots: r,
339
339
  $$scope: {
340
340
  ctx: []
@@ -345,7 +345,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
345
345
  this.$$r = !0;
346
346
  for (const o in this.$$p_d)
347
347
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
348
- const s = ce(
348
+ const s = fe(
349
349
  o,
350
350
  this.$$d[o],
351
351
  this.$$p_d,
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
369
369
  // and setting attributes through setAttribute etc, this is helpful
370
370
  attributeChangedCallback(t, r, n) {
371
371
  var i;
372
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
372
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
373
373
  }
374
374
  disconnectedCallback() {
375
375
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
382
382
  ) || t;
383
383
  }
384
384
  });
385
- function ce(e, t, r, n) {
385
+ function fe(e, t, r, n) {
386
386
  var o;
387
387
  const i = (o = r[e]) == null ? void 0 : o.type;
388
388
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -412,8 +412,8 @@ function ce(e, t, r, n) {
412
412
  return t;
413
413
  }
414
414
  }
415
- function Ur(e, t, r, n, i, o) {
416
- let s = class extends Nt {
415
+ function Fr(e, t, r, n, i, o) {
416
+ let s = class extends Ct {
417
417
  constructor() {
418
418
  super(e, r, i), this.$$p_d = t;
419
419
  }
@@ -430,7 +430,7 @@ function Ur(e, t, r, n, i, o) {
430
430
  },
431
431
  set(h) {
432
432
  var u;
433
- h = ce(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
433
+ h = fe(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
434
434
  }
435
435
  });
436
436
  }), n.forEach((a) => {
@@ -443,7 +443,7 @@ function Ur(e, t, r, n, i, o) {
443
443
  }), e.element = /** @type {any} */
444
444
  s, s;
445
445
  }
446
- class Dr {
446
+ class jr {
447
447
  constructor() {
448
448
  /**
449
449
  * ### PRIVATE API
@@ -464,7 +464,7 @@ class Dr {
464
464
  }
465
465
  /** @returns {void} */
466
466
  $destroy() {
467
- Cr(this, 1), this.$destroy = w;
467
+ Ur(this, 1), this.$destroy = w;
468
468
  }
469
469
  /**
470
470
  * @template {Extract<keyof Events, string>} K
@@ -473,7 +473,7 @@ class Dr {
473
473
  * @returns {() => void}
474
474
  */
475
475
  $on(t, r) {
476
- if (!Qe(r))
476
+ if (!qe(r))
477
477
  return w;
478
478
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
479
479
  return n.push(r), () => {
@@ -486,11 +486,11 @@ class Dr {
486
486
  * @returns {void}
487
487
  */
488
488
  $set(t) {
489
- this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
489
+ this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
490
490
  }
491
491
  }
492
- const Gr = "4";
493
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
492
+ const kr = "4";
493
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
494
494
  /*! *****************************************************************************
495
495
  Copyright (c) Microsoft Corporation.
496
496
 
@@ -505,18 +505,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
505
505
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
506
506
  PERFORMANCE OF THIS SOFTWARE.
507
507
  ***************************************************************************** */
508
- var $e = function(e, t) {
509
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
508
+ var Re = function(e, t) {
509
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
510
510
  r.__proto__ = n;
511
511
  } || function(r, n) {
512
512
  for (var i in n)
513
513
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
514
- }, $e(e, t);
514
+ }, Re(e, t);
515
515
  };
516
516
  function L(e, t) {
517
517
  if (typeof t != "function" && t !== null)
518
518
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
519
- $e(e, t);
519
+ Re(e, t);
520
520
  function r() {
521
521
  this.constructor = e;
522
522
  }
@@ -532,7 +532,7 @@ var g = function() {
532
532
  return t;
533
533
  }, g.apply(this, arguments);
534
534
  };
535
- function Fr(e, t) {
535
+ function Vr(e, t) {
536
536
  var r = {};
537
537
  for (var n in e)
538
538
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -541,7 +541,7 @@ function Fr(e, t) {
541
541
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
542
542
  return r;
543
543
  }
544
- function Re(e) {
544
+ function Ue(e) {
545
545
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
546
546
  if (r)
547
547
  return r.call(e);
@@ -553,7 +553,7 @@ function Re(e) {
553
553
  };
554
554
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
555
555
  }
556
- function Ue(e, t) {
556
+ function De(e, t) {
557
557
  var r = typeof Symbol == "function" && e[Symbol.iterator];
558
558
  if (!r)
559
559
  return e;
@@ -582,13 +582,13 @@ function V(e, t, r) {
582
582
  function I(e) {
583
583
  return typeof e == "function";
584
584
  }
585
- function Mt(e) {
585
+ function $t(e) {
586
586
  var t = function(n) {
587
587
  Error.call(n), n.stack = new Error().stack;
588
588
  }, r = e(t);
589
589
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
590
590
  }
591
- var we = Mt(function(e) {
591
+ var we = $t(function(e) {
592
592
  return function(r) {
593
593
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
594
594
  ` + r.map(function(n, i) {
@@ -597,7 +597,7 @@ var we = Mt(function(e) {
597
597
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
598
598
  };
599
599
  });
600
- function De(e, t) {
600
+ function Ge(e, t) {
601
601
  if (e) {
602
602
  var r = e.indexOf(t);
603
603
  0 <= r && e.splice(r, 1);
@@ -615,7 +615,7 @@ var ve = function() {
615
615
  if (s)
616
616
  if (this._parentage = null, Array.isArray(s))
617
617
  try {
618
- for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
618
+ for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
619
619
  var u = h.value;
620
620
  u.remove(this);
621
621
  }
@@ -638,23 +638,23 @@ var ve = function() {
638
638
  } catch (v) {
639
639
  o = v instanceof we ? v.errors : [v];
640
640
  }
641
- var c = this._finalizers;
642
- if (c) {
641
+ var f = this._finalizers;
642
+ if (f) {
643
643
  this._finalizers = null;
644
644
  try {
645
- for (var f = Re(c), d = f.next(); !d.done; d = f.next()) {
646
- var p = d.value;
645
+ for (var c = Ue(f), p = c.next(); !p.done; p = c.next()) {
646
+ var d = p.value;
647
647
  try {
648
- ot(p);
648
+ at(d);
649
649
  } catch (v) {
650
- o = o != null ? o : [], v instanceof we ? o = V(V([], Ue(o)), Ue(v.errors)) : o.push(v);
650
+ o = o != null ? o : [], v instanceof we ? o = V(V([], De(o)), De(v.errors)) : o.push(v);
651
651
  }
652
652
  }
653
653
  } catch (v) {
654
654
  n = { error: v };
655
655
  } finally {
656
656
  try {
657
- d && !d.done && (i = f.return) && i.call(f);
657
+ p && !p.done && (i = c.return) && i.call(c);
658
658
  } finally {
659
659
  if (n)
660
660
  throw n.error;
@@ -668,7 +668,7 @@ var ve = function() {
668
668
  var r;
669
669
  if (t && t !== this)
670
670
  if (this.closed)
671
- ot(t);
671
+ at(t);
672
672
  else {
673
673
  if (t instanceof e) {
674
674
  if (t.closed || t._hasParent(this))
@@ -685,56 +685,56 @@ var ve = function() {
685
685
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
686
686
  }, e.prototype._removeParent = function(t) {
687
687
  var r = this._parentage;
688
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
688
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
689
689
  }, e.prototype.remove = function(t) {
690
690
  var r = this._finalizers;
691
- r && De(r, t), t instanceof e && t._removeParent(this);
691
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
692
692
  }, e.EMPTY = function() {
693
693
  var t = new e();
694
694
  return t.closed = !0, t;
695
695
  }(), e;
696
- }(), Ct = ve.EMPTY;
697
- function $t(e) {
696
+ }(), Rt = ve.EMPTY;
697
+ function Ut(e) {
698
698
  return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
699
699
  }
700
- function ot(e) {
700
+ function at(e) {
701
701
  I(e) ? e() : e.unsubscribe();
702
702
  }
703
- var jr = {
703
+ var Dt = {
704
704
  onUnhandledError: null,
705
705
  onStoppedNotification: null,
706
706
  Promise: void 0,
707
707
  useDeprecatedSynchronousErrorHandling: !1,
708
708
  useDeprecatedNextContext: !1
709
- }, kr = {
709
+ }, Xr = {
710
710
  setTimeout: function(e, t) {
711
711
  for (var r = [], n = 2; n < arguments.length; n++)
712
712
  r[n - 2] = arguments[n];
713
- return setTimeout.apply(void 0, V([e, t], Ue(r)));
713
+ return setTimeout.apply(void 0, V([e, t], De(r)));
714
714
  },
715
715
  clearTimeout: function(e) {
716
716
  return clearTimeout(e);
717
717
  },
718
718
  delegate: void 0
719
719
  };
720
- function Vr(e) {
721
- kr.setTimeout(function() {
720
+ function Wr(e) {
721
+ Xr.setTimeout(function() {
722
722
  throw e;
723
723
  });
724
724
  }
725
- function st() {
725
+ function ut() {
726
726
  }
727
- function de(e) {
727
+ function pe(e) {
728
728
  e();
729
729
  }
730
- var Rt = function(e) {
730
+ var Gt = function(e) {
731
731
  L(t, e);
732
732
  function t(r) {
733
733
  var n = e.call(this) || this;
734
- return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = zr, n;
734
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = qr, n;
735
735
  }
736
736
  return t.create = function(r, n, i) {
737
- return new Ge(r, n, i);
737
+ return new Fe(r, n, i);
738
738
  }, t.prototype.next = function(r) {
739
739
  this.isStopped || this._next(r);
740
740
  }, t.prototype.error = function(r) {
@@ -758,7 +758,11 @@ var Rt = function(e) {
758
758
  this.unsubscribe();
759
759
  }
760
760
  }, t;
761
- }(ve), Xr = function() {
761
+ }(ve), zr = Function.prototype.bind;
762
+ function Ae(e, t) {
763
+ return zr.call(e, t);
764
+ }
765
+ var Zr = function() {
762
766
  function e(t) {
763
767
  this.partialObserver = t;
764
768
  }
@@ -789,43 +793,55 @@ var Rt = function(e) {
789
793
  le(r);
790
794
  }
791
795
  }, e;
792
- }(), Ge = function(e) {
796
+ }(), Fe = function(e) {
793
797
  L(t, e);
794
798
  function t(r, n, i) {
795
799
  var o = e.call(this) || this, s;
796
- return I(r) || !r ? s = {
797
- next: r != null ? r : void 0,
798
- error: n != null ? n : void 0,
799
- complete: i != null ? i : void 0
800
- } : s = r, o.destination = new Xr(s), o;
800
+ if (I(r) || !r)
801
+ s = {
802
+ next: r != null ? r : void 0,
803
+ error: n != null ? n : void 0,
804
+ complete: i != null ? i : void 0
805
+ };
806
+ else {
807
+ var a;
808
+ o && Dt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
809
+ return o.unsubscribe();
810
+ }, s = {
811
+ next: r.next && Ae(r.next, a),
812
+ error: r.error && Ae(r.error, a),
813
+ complete: r.complete && Ae(r.complete, a)
814
+ }) : s = r;
815
+ }
816
+ return o.destination = new Zr(s), o;
801
817
  }
802
818
  return t;
803
- }(Rt);
819
+ }(Gt);
804
820
  function le(e) {
805
- Vr(e);
821
+ Wr(e);
806
822
  }
807
- function Wr(e) {
823
+ function Qr(e) {
808
824
  throw e;
809
825
  }
810
- var zr = {
826
+ var qr = {
811
827
  closed: !0,
812
- next: st,
813
- error: Wr,
814
- complete: st
815
- }, Zr = function() {
828
+ next: ut,
829
+ error: Qr,
830
+ complete: ut
831
+ }, Jr = function() {
816
832
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
817
833
  }();
818
- function Qr(e) {
834
+ function Yr(e) {
819
835
  return e;
820
836
  }
821
- function qr(e) {
822
- return e.length === 0 ? Qr : e.length === 1 ? e[0] : function(r) {
837
+ function Kr(e) {
838
+ return e.length === 0 ? Yr : e.length === 1 ? e[0] : function(r) {
823
839
  return e.reduce(function(n, i) {
824
840
  return i(n);
825
841
  }, r);
826
842
  };
827
843
  }
828
- var at = function() {
844
+ var ht = function() {
829
845
  function e(t) {
830
846
  t && (this._subscribe = t);
831
847
  }
@@ -833,8 +849,8 @@ var at = function() {
833
849
  var r = new e();
834
850
  return r.source = this, r.operator = t, r;
835
851
  }, e.prototype.subscribe = function(t, r, n) {
836
- var i = this, o = Yr(t) ? t : new Ge(t, r, n);
837
- return de(function() {
852
+ var i = this, o = tn(t) ? t : new Fe(t, r, n);
853
+ return pe(function() {
838
854
  var s = i, a = s.operator, h = s.source;
839
855
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
840
856
  }), o;
@@ -846,8 +862,8 @@ var at = function() {
846
862
  }
847
863
  }, e.prototype.forEach = function(t, r) {
848
864
  var n = this;
849
- return r = ut(r), new r(function(i, o) {
850
- var s = new Ge({
865
+ return r = lt(r), new r(function(i, o) {
866
+ var s = new Fe({
851
867
  next: function(a) {
852
868
  try {
853
869
  t(a);
@@ -863,15 +879,15 @@ var at = function() {
863
879
  }, e.prototype._subscribe = function(t) {
864
880
  var r;
865
881
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
866
- }, e.prototype[Zr] = function() {
882
+ }, e.prototype[Jr] = function() {
867
883
  return this;
868
884
  }, e.prototype.pipe = function() {
869
885
  for (var t = [], r = 0; r < arguments.length; r++)
870
886
  t[r] = arguments[r];
871
- return qr(t)(this);
887
+ return Kr(t)(this);
872
888
  }, e.prototype.toPromise = function(t) {
873
889
  var r = this;
874
- return t = ut(t), new t(function(n, i) {
890
+ return t = lt(t), new t(function(n, i) {
875
891
  var o;
876
892
  r.subscribe(function(s) {
877
893
  return o = s;
@@ -885,40 +901,40 @@ var at = function() {
885
901
  return new e(t);
886
902
  }, e;
887
903
  }();
888
- function ut(e) {
904
+ function lt(e) {
889
905
  var t;
890
- return (t = e != null ? e : jr.Promise) !== null && t !== void 0 ? t : Promise;
906
+ return (t = e != null ? e : Dt.Promise) !== null && t !== void 0 ? t : Promise;
891
907
  }
892
- function Jr(e) {
908
+ function en(e) {
893
909
  return e && I(e.next) && I(e.error) && I(e.complete);
894
910
  }
895
- function Yr(e) {
896
- return e && e instanceof Rt || Jr(e) && $t(e);
911
+ function tn(e) {
912
+ return e && e instanceof Gt || en(e) && Ut(e);
897
913
  }
898
- var Kr = Mt(function(e) {
914
+ var rn = $t(function(e) {
899
915
  return function() {
900
916
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
901
917
  };
902
- }), Ut = function(e) {
918
+ }), Ft = function(e) {
903
919
  L(t, e);
904
920
  function t() {
905
921
  var r = e.call(this) || this;
906
922
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
907
923
  }
908
924
  return t.prototype.lift = function(r) {
909
- var n = new ht(this, this);
925
+ var n = new ct(this, this);
910
926
  return n.operator = r, n;
911
927
  }, t.prototype._throwIfClosed = function() {
912
928
  if (this.closed)
913
- throw new Kr();
929
+ throw new rn();
914
930
  }, t.prototype.next = function(r) {
915
931
  var n = this;
916
- de(function() {
932
+ pe(function() {
917
933
  var i, o;
918
934
  if (n._throwIfClosed(), !n.isStopped) {
919
935
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
920
936
  try {
921
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
937
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
922
938
  var h = a.value;
923
939
  h.next(r);
924
940
  }
@@ -936,7 +952,7 @@ var Kr = Mt(function(e) {
936
952
  });
937
953
  }, t.prototype.error = function(r) {
938
954
  var n = this;
939
- de(function() {
955
+ pe(function() {
940
956
  if (n._throwIfClosed(), !n.isStopped) {
941
957
  n.hasError = n.isStopped = !0, n.thrownError = r;
942
958
  for (var i = n.observers; i.length; )
@@ -945,7 +961,7 @@ var Kr = Mt(function(e) {
945
961
  });
946
962
  }, t.prototype.complete = function() {
947
963
  var r = this;
948
- de(function() {
964
+ pe(function() {
949
965
  if (r._throwIfClosed(), !r.isStopped) {
950
966
  r.isStopped = !0;
951
967
  for (var n = r.observers; n.length; )
@@ -967,19 +983,19 @@ var Kr = Mt(function(e) {
967
983
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
968
984
  }, t.prototype._innerSubscribe = function(r) {
969
985
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
970
- return o || s ? Ct : (this.currentObservers = null, a.push(r), new ve(function() {
971
- n.currentObservers = null, De(a, r);
986
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new ve(function() {
987
+ n.currentObservers = null, Ge(a, r);
972
988
  }));
973
989
  }, t.prototype._checkFinalizedStatuses = function(r) {
974
990
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
975
991
  i ? r.error(o) : s && r.complete();
976
992
  }, t.prototype.asObservable = function() {
977
- var r = new at();
993
+ var r = new ht();
978
994
  return r.source = this, r;
979
995
  }, t.create = function(r, n) {
980
- return new ht(r, n);
996
+ return new ct(r, n);
981
997
  }, t;
982
- }(at), ht = function(e) {
998
+ }(ht), ct = function(e) {
983
999
  L(t, e);
984
1000
  function t(r, n) {
985
1001
  var i = e.call(this) || this;
@@ -996,17 +1012,17 @@ var Kr = Mt(function(e) {
996
1012
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
997
1013
  }, t.prototype._subscribe = function(r) {
998
1014
  var n, i;
999
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
1015
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
1000
1016
  }, t;
1001
- }(Ut), Dt = {
1017
+ }(Ft), jt = {
1002
1018
  now: function() {
1003
- return (Dt.delegate || Date).now();
1019
+ return (jt.delegate || Date).now();
1004
1020
  },
1005
1021
  delegate: void 0
1006
- }, en = function(e) {
1022
+ }, nn = function(e) {
1007
1023
  L(t, e);
1008
1024
  function t(r, n, i) {
1009
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
1025
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1010
1026
  var o = e.call(this) || this;
1011
1027
  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;
1012
1028
  }
@@ -1026,24 +1042,24 @@ var Kr = Mt(function(e) {
1026
1042
  u && o.splice(0, u + 1);
1027
1043
  }
1028
1044
  }, t;
1029
- }(Ut);
1030
- const lt = [], ft = {}, tn = (e, t = 0) => {
1031
- if (lt.indexOf(e) == -1) {
1032
- const r = new en(t);
1033
- ft[e] = r, lt.push(e);
1045
+ }(Ft);
1046
+ const ft = [], pt = {}, on = (e, t = 0) => {
1047
+ if (ft.indexOf(e) == -1) {
1048
+ const r = new nn(t);
1049
+ pt[e] = r, ft.push(e);
1034
1050
  }
1035
- return ft[e];
1051
+ return pt[e];
1036
1052
  }, F = [];
1037
- function rn(e, t) {
1053
+ function sn(e, t) {
1038
1054
  return {
1039
- subscribe: xe(e, t).subscribe
1055
+ subscribe: Ee(e, t).subscribe
1040
1056
  };
1041
1057
  }
1042
- function xe(e, t = w) {
1058
+ function Ee(e, t = w) {
1043
1059
  let r;
1044
1060
  const n = /* @__PURE__ */ new Set();
1045
1061
  function i(a) {
1046
- if (Pt(e, a) && (e = a, r)) {
1062
+ if (It(e, a) && (e = a, r)) {
1047
1063
  const h = !F.length;
1048
1064
  for (const u of n)
1049
1065
  u[1](), F.push(u, e);
@@ -1070,96 +1086,96 @@ function q(e, t, r) {
1070
1086
  if (!i.every(Boolean))
1071
1087
  throw new Error("derived() expects stores as input, got a falsy value");
1072
1088
  const o = t.length < 2;
1073
- return rn(r, (s, a) => {
1089
+ return sn(r, (s, a) => {
1074
1090
  let h = !1;
1075
1091
  const u = [];
1076
- let l = 0, c = w;
1077
- const f = () => {
1092
+ let l = 0, f = w;
1093
+ const c = () => {
1078
1094
  if (l)
1079
1095
  return;
1080
- c();
1081
- const p = t(n ? u[0] : u, s, a);
1082
- o ? s(p) : c = Qe(p) ? p : w;
1083
- }, d = i.map(
1084
- (p, v) => Ot(
1085
- p,
1096
+ f();
1097
+ const d = t(n ? u[0] : u, s, a);
1098
+ o ? s(d) : f = qe(d) ? d : w;
1099
+ }, p = i.map(
1100
+ (d, v) => Lt(
1101
+ d,
1086
1102
  (B) => {
1087
- u[v] = B, l &= ~(1 << v), h && f();
1103
+ u[v] = B, l &= ~(1 << v), h && c();
1088
1104
  },
1089
1105
  () => {
1090
1106
  l |= 1 << v;
1091
1107
  }
1092
1108
  )
1093
1109
  );
1094
- return h = !0, f(), function() {
1095
- oe(d), c(), h = !1;
1110
+ return h = !0, c(), function() {
1111
+ oe(p), f(), h = !1;
1096
1112
  };
1097
1113
  });
1098
1114
  }
1099
- function nn(e) {
1100
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1115
+ function an(e) {
1116
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1101
1117
  }
1102
- var on = function(t) {
1103
- return sn(t) && !an(t);
1118
+ var un = function(t) {
1119
+ return hn(t) && !ln(t);
1104
1120
  };
1105
- function sn(e) {
1121
+ function hn(e) {
1106
1122
  return !!e && typeof e == "object";
1107
1123
  }
1108
- function an(e) {
1124
+ function ln(e) {
1109
1125
  var t = Object.prototype.toString.call(e);
1110
- return t === "[object RegExp]" || t === "[object Date]" || ln(e);
1126
+ return t === "[object RegExp]" || t === "[object Date]" || pn(e);
1111
1127
  }
1112
- var un = typeof Symbol == "function" && Symbol.for, hn = un ? Symbol.for("react.element") : 60103;
1113
- function ln(e) {
1114
- return e.$$typeof === hn;
1128
+ var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
1129
+ function pn(e) {
1130
+ return e.$$typeof === fn;
1115
1131
  }
1116
- function fn(e) {
1132
+ function dn(e) {
1117
1133
  return Array.isArray(e) ? [] : {};
1118
1134
  }
1119
1135
  function ne(e, t) {
1120
- return t.clone !== !1 && t.isMergeableObject(e) ? X(fn(e), e, t) : e;
1136
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(dn(e), e, t) : e;
1121
1137
  }
1122
- function cn(e, t, r) {
1138
+ function mn(e, t, r) {
1123
1139
  return e.concat(t).map(function(n) {
1124
1140
  return ne(n, r);
1125
1141
  });
1126
1142
  }
1127
- function dn(e, t) {
1143
+ function bn(e, t) {
1128
1144
  if (!t.customMerge)
1129
1145
  return X;
1130
1146
  var r = t.customMerge(e);
1131
1147
  return typeof r == "function" ? r : X;
1132
1148
  }
1133
- function pn(e) {
1149
+ function gn(e) {
1134
1150
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1135
1151
  return Object.propertyIsEnumerable.call(e, t);
1136
1152
  }) : [];
1137
1153
  }
1138
- function ct(e) {
1139
- return Object.keys(e).concat(pn(e));
1154
+ function dt(e) {
1155
+ return Object.keys(e).concat(gn(e));
1140
1156
  }
1141
- function Gt(e, t) {
1157
+ function kt(e, t) {
1142
1158
  try {
1143
1159
  return t in e;
1144
1160
  } catch (r) {
1145
1161
  return !1;
1146
1162
  }
1147
1163
  }
1148
- function mn(e, t) {
1149
- return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1164
+ function yn(e, t) {
1165
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1150
1166
  }
1151
- function bn(e, t, r) {
1167
+ function vn(e, t, r) {
1152
1168
  var n = {};
1153
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1169
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
1154
1170
  n[i] = ne(e[i], r);
1155
- }), ct(t).forEach(function(i) {
1156
- mn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1171
+ }), dt(t).forEach(function(i) {
1172
+ yn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1157
1173
  }), n;
1158
1174
  }
1159
1175
  function X(e, t, r) {
1160
- r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = ne;
1176
+ r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = ne;
1161
1177
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1162
- return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : ne(t, r);
1178
+ return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ne(t, r);
1163
1179
  }
1164
1180
  X.all = function(t, r) {
1165
1181
  if (!Array.isArray(t))
@@ -1168,109 +1184,107 @@ X.all = function(t, r) {
1168
1184
  return X(n, i, r);
1169
1185
  }, {});
1170
1186
  };
1171
- var gn = X, yn = gn;
1172
- const vn = /* @__PURE__ */ nn(yn);
1173
- function Ae(e, t) {
1174
- var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : En;
1187
+ var En = X, xn = En;
1188
+ const _n = /* @__PURE__ */ an(xn);
1189
+ function Pe(e, t) {
1190
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : Tn;
1175
1191
  return i(e, {
1176
1192
  cache: r,
1177
1193
  serializer: n
1178
1194
  });
1179
1195
  }
1180
- function xn(e) {
1196
+ function Sn(e) {
1181
1197
  return e == null || typeof e == "number" || typeof e == "boolean";
1182
1198
  }
1183
- function Ft(e, t, r, n) {
1184
- var i = xn(n) ? n : r(n), o = t.get(i);
1199
+ function Vt(e, t, r, n) {
1200
+ var i = Sn(n) ? n : r(n), o = t.get(i);
1185
1201
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1186
1202
  }
1187
- function jt(e, t, r) {
1203
+ function Xt(e, t, r) {
1188
1204
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1189
1205
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1190
1206
  }
1191
- function qe(e, t, r, n, i) {
1207
+ function Je(e, t, r, n, i) {
1192
1208
  return r.bind(t, e, n, i);
1193
1209
  }
1194
- function En(e, t) {
1195
- var r = e.length === 1 ? Ft : jt;
1196
- return qe(e, this, r, t.cache.create(), t.serializer);
1210
+ function Tn(e, t) {
1211
+ var r = e.length === 1 ? Vt : Xt;
1212
+ return Je(e, this, r, t.cache.create(), t.serializer);
1197
1213
  }
1198
- function _n(e, t) {
1199
- return qe(e, this, jt, t.cache.create(), t.serializer);
1214
+ function Hn(e, t) {
1215
+ return Je(e, this, Xt, t.cache.create(), t.serializer);
1200
1216
  }
1201
- function Sn(e, t) {
1202
- return qe(e, this, Ft, t.cache.create(), t.serializer);
1217
+ function Bn(e, t) {
1218
+ return Je(e, this, Vt, t.cache.create(), t.serializer);
1203
1219
  }
1204
- var Tn = function() {
1220
+ var wn = function() {
1205
1221
  return JSON.stringify(arguments);
1206
- }, Hn = (
1207
- /** @class */
1208
- function() {
1209
- function e() {
1210
- this.cache = /* @__PURE__ */ Object.create(null);
1211
- }
1212
- return e.prototype.get = function(t) {
1213
- return this.cache[t];
1214
- }, e.prototype.set = function(t, r) {
1215
- this.cache[t] = r;
1216
- }, e;
1217
- }()
1218
- ), Bn = {
1222
+ };
1223
+ function Ye() {
1224
+ this.cache = /* @__PURE__ */ Object.create(null);
1225
+ }
1226
+ Ye.prototype.get = function(e) {
1227
+ return this.cache[e];
1228
+ };
1229
+ Ye.prototype.set = function(e, t) {
1230
+ this.cache[e] = t;
1231
+ };
1232
+ var An = {
1219
1233
  create: function() {
1220
- return new Hn();
1234
+ return new Ye();
1221
1235
  }
1222
- }, Pe = {
1223
- variadic: _n,
1224
- monadic: Sn
1236
+ }, Oe = {
1237
+ variadic: Hn,
1238
+ monadic: Bn
1225
1239
  }, m;
1226
1240
  (function(e) {
1227
1241
  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";
1228
1242
  })(m || (m = {}));
1229
- var x;
1243
+ var E;
1230
1244
  (function(e) {
1231
1245
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1232
- })(x || (x = {}));
1246
+ })(E || (E = {}));
1233
1247
  var W;
1234
1248
  (function(e) {
1235
1249
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1236
1250
  })(W || (W = {}));
1237
- function dt(e) {
1238
- return e.type === x.literal;
1239
- }
1240
- function wn(e) {
1241
- return e.type === x.argument;
1242
- }
1243
- function kt(e) {
1244
- return e.type === x.number;
1245
- }
1246
- function Vt(e) {
1247
- return e.type === x.date;
1251
+ function mt(e) {
1252
+ return e.type === E.literal;
1248
1253
  }
1249
- function Xt(e) {
1250
- return e.type === x.time;
1254
+ function Pn(e) {
1255
+ return e.type === E.argument;
1251
1256
  }
1252
1257
  function Wt(e) {
1253
- return e.type === x.select;
1258
+ return e.type === E.number;
1254
1259
  }
1255
1260
  function zt(e) {
1256
- return e.type === x.plural;
1257
- }
1258
- function An(e) {
1259
- return e.type === x.pound;
1261
+ return e.type === E.date;
1260
1262
  }
1261
1263
  function Zt(e) {
1262
- return e.type === x.tag;
1264
+ return e.type === E.time;
1263
1265
  }
1264
1266
  function Qt(e) {
1267
+ return e.type === E.select;
1268
+ }
1269
+ function qt(e) {
1270
+ return e.type === E.plural;
1271
+ }
1272
+ function On(e) {
1273
+ return e.type === E.pound;
1274
+ }
1275
+ function Jt(e) {
1276
+ return e.type === E.tag;
1277
+ }
1278
+ function Yt(e) {
1265
1279
  return !!(e && typeof e == "object" && e.type === W.number);
1266
1280
  }
1267
- function Fe(e) {
1281
+ function je(e) {
1268
1282
  return !!(e && typeof e == "object" && e.type === W.dateTime);
1269
1283
  }
1270
- var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1271
- function On(e) {
1284
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
1285
+ function Ln(e) {
1272
1286
  var t = {};
1273
- return e.replace(Pn, function(r) {
1287
+ return e.replace(In, function(r) {
1274
1288
  var n = r.length;
1275
1289
  switch (r[0]) {
1276
1290
  case "G":
@@ -1359,36 +1373,36 @@ function On(e) {
1359
1373
  return "";
1360
1374
  }), t;
1361
1375
  }
1362
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1363
- function Ln(e) {
1376
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1377
+ function Mn(e) {
1364
1378
  if (e.length === 0)
1365
1379
  throw new Error("Number skeleton cannot be empty");
1366
- for (var t = e.split(In).filter(function(f) {
1367
- return f.length > 0;
1380
+ for (var t = e.split(Nn).filter(function(c) {
1381
+ return c.length > 0;
1368
1382
  }), r = [], n = 0, i = t; n < i.length; n++) {
1369
1383
  var o = i[n], s = o.split("/");
1370
1384
  if (s.length === 0)
1371
1385
  throw new Error("Invalid number skeleton");
1372
1386
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1373
- var c = l[u];
1374
- if (c.length === 0)
1387
+ var f = l[u];
1388
+ if (f.length === 0)
1375
1389
  throw new Error("Invalid number skeleton");
1376
1390
  }
1377
1391
  r.push({ stem: a, options: h });
1378
1392
  }
1379
1393
  return r;
1380
1394
  }
1381
- function Nn(e) {
1395
+ function Cn(e) {
1382
1396
  return e.replace(/^(.*?)-/, "");
1383
1397
  }
1384
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1385
- function mt(e) {
1398
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1399
+ function gt(e) {
1386
1400
  var t = {};
1387
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1401
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1388
1402
  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)), "";
1389
1403
  }), t;
1390
1404
  }
1391
- function Kt(e) {
1405
+ function rr(e) {
1392
1406
  switch (e) {
1393
1407
  case "sign-auto":
1394
1408
  return {
@@ -1428,7 +1442,7 @@ function Kt(e) {
1428
1442
  };
1429
1443
  }
1430
1444
  }
1431
- function Cn(e) {
1445
+ function Rn(e) {
1432
1446
  var t;
1433
1447
  if (e[0] === "E" && e[1] === "E" ? (t = {
1434
1448
  notation: "engineering"
@@ -1436,17 +1450,17 @@ function Cn(e) {
1436
1450
  notation: "scientific"
1437
1451
  }, e = e.slice(1)), t) {
1438
1452
  var r = e.slice(0, 2);
1439
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1453
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1440
1454
  throw new Error("Malformed concise eng/scientific notation");
1441
1455
  t.minimumIntegerDigits = e.length;
1442
1456
  }
1443
1457
  return t;
1444
1458
  }
1445
- function bt(e) {
1446
- var t = {}, r = Kt(e);
1459
+ function yt(e) {
1460
+ var t = {}, r = rr(e);
1447
1461
  return r || t;
1448
1462
  }
1449
- function $n(e) {
1463
+ function Un(e) {
1450
1464
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1451
1465
  var i = n[r];
1452
1466
  switch (i.stem) {
@@ -1470,7 +1484,7 @@ function $n(e) {
1470
1484
  continue;
1471
1485
  case "measure-unit":
1472
1486
  case "unit":
1473
- t.style = "unit", t.unit = Nn(i.options[0]);
1487
+ t.style = "unit", t.unit = Cn(i.options[0]);
1474
1488
  continue;
1475
1489
  case "compact-short":
1476
1490
  case "K":
@@ -1482,12 +1496,12 @@ function $n(e) {
1482
1496
  continue;
1483
1497
  case "scientific":
1484
1498
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1485
- return g(g({}, h), bt(u));
1499
+ return g(g({}, h), yt(u));
1486
1500
  }, {}));
1487
1501
  continue;
1488
1502
  case "engineering":
1489
1503
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1490
- return g(g({}, h), bt(u));
1504
+ return g(g({}, h), yt(u));
1491
1505
  }, {}));
1492
1506
  continue;
1493
1507
  case "notation-simple":
@@ -1532,45 +1546,45 @@ function $n(e) {
1532
1546
  case "integer-width":
1533
1547
  if (i.options.length > 1)
1534
1548
  throw new RangeError("integer-width stems only accept a single optional option");
1535
- i.options[0].replace(Mn, function(h, u, l, c, f, d) {
1549
+ i.options[0].replace($n, function(h, u, l, f, c, p) {
1536
1550
  if (u)
1537
1551
  t.minimumIntegerDigits = l.length;
1538
1552
  else {
1539
- if (c && f)
1553
+ if (f && c)
1540
1554
  throw new Error("We currently do not support maximum integer digits");
1541
- if (d)
1555
+ if (p)
1542
1556
  throw new Error("We currently do not support exact integer digits");
1543
1557
  }
1544
1558
  return "";
1545
1559
  });
1546
1560
  continue;
1547
1561
  }
1548
- if (Yt.test(i.stem)) {
1562
+ if (tr.test(i.stem)) {
1549
1563
  t.minimumIntegerDigits = i.stem.length;
1550
1564
  continue;
1551
1565
  }
1552
- if (pt.test(i.stem)) {
1566
+ if (bt.test(i.stem)) {
1553
1567
  if (i.options.length > 1)
1554
1568
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1555
- i.stem.replace(pt, function(h, u, l, c, f, d) {
1556
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1569
+ i.stem.replace(bt, function(h, u, l, f, c, p) {
1570
+ 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), "";
1557
1571
  });
1558
1572
  var o = i.options[0];
1559
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), mt(o)));
1573
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), gt(o)));
1560
1574
  continue;
1561
1575
  }
1562
- if (Jt.test(i.stem)) {
1563
- t = g(g({}, t), mt(i.stem));
1576
+ if (er.test(i.stem)) {
1577
+ t = g(g({}, t), gt(i.stem));
1564
1578
  continue;
1565
1579
  }
1566
- var s = Kt(i.stem);
1580
+ var s = rr(i.stem);
1567
1581
  s && (t = g(g({}, t), s));
1568
- var a = Cn(i.stem);
1582
+ var a = Rn(i.stem);
1569
1583
  a && (t = g(g({}, t), a));
1570
1584
  }
1571
1585
  return t;
1572
1586
  }
1573
- var fe = {
1587
+ var ce = {
1574
1588
  "001": [
1575
1589
  "H",
1576
1590
  "h"
@@ -2985,13 +2999,13 @@ var fe = {
2985
2999
  "h"
2986
3000
  ]
2987
3001
  };
2988
- function Rn(e, t) {
3002
+ function Dn(e, t) {
2989
3003
  for (var r = "", n = 0; n < e.length; n++) {
2990
3004
  var i = e.charAt(n);
2991
3005
  if (i === "j") {
2992
3006
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2993
3007
  o++, n++;
2994
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Un(t);
3008
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Gn(t);
2995
3009
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2996
3010
  r += h;
2997
3011
  for (; s-- > 0; )
@@ -3001,7 +3015,7 @@ function Rn(e, t) {
3001
3015
  }
3002
3016
  return r;
3003
3017
  }
3004
- function Un(e) {
3018
+ function Gn(e) {
3005
3019
  var t = e.hourCycle;
3006
3020
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3007
3021
  e.hourCycles && // @ts-ignore
@@ -3020,23 +3034,23 @@ function Un(e) {
3020
3034
  }
3021
3035
  var r = e.language, n;
3022
3036
  r !== "root" && (n = e.maximize().region);
3023
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3037
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3024
3038
  return i[0];
3025
3039
  }
3026
- var Oe, Dn = new RegExp("^".concat(qt.source, "*")), Gn = new RegExp("".concat(qt.source, "*$"));
3040
+ var Ie, Fn = new RegExp("^".concat(Kt.source, "*")), jn = new RegExp("".concat(Kt.source, "*$"));
3027
3041
  function b(e, t) {
3028
3042
  return { start: e, end: t };
3029
3043
  }
3030
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Zn = zn ? Number.isSafeInteger : function(e) {
3044
+ var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, qn = Qn ? Number.isSafeInteger : function(e) {
3031
3045
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3032
- }, je = !0;
3046
+ }, ke = !0;
3033
3047
  try {
3034
- var Qn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3035
- je = ((Oe = Qn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3048
+ var Jn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3049
+ ke = ((Ie = Jn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3036
3050
  } catch (e) {
3037
- je = !1;
3051
+ ke = !1;
3038
3052
  }
3039
- var gt = Fn ? (
3053
+ var vt = kn ? (
3040
3054
  // Native
3041
3055
  function(t, r, n) {
3042
3056
  return t.startsWith(r, n);
@@ -3046,7 +3060,7 @@ var gt = Fn ? (
3046
3060
  function(t, r, n) {
3047
3061
  return t.slice(n, n + r.length) === r;
3048
3062
  }
3049
- ), ke = jn ? String.fromCodePoint : (
3063
+ ), Ve = Vn ? String.fromCodePoint : (
3050
3064
  // IE11
3051
3065
  function() {
3052
3066
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3058,9 +3072,9 @@ var gt = Fn ? (
3058
3072
  }
3059
3073
  return n;
3060
3074
  }
3061
- ), yt = (
3075
+ ), Et = (
3062
3076
  // native
3063
- kn ? Object.fromEntries : (
3077
+ Xn ? Object.fromEntries : (
3064
3078
  // Ponyfill
3065
3079
  function(t) {
3066
3080
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3070,7 +3084,7 @@ var gt = Fn ? (
3070
3084
  return r;
3071
3085
  }
3072
3086
  )
3073
- ), er = Vn ? (
3087
+ ), nr = Wn ? (
3074
3088
  // Native
3075
3089
  function(t, r) {
3076
3090
  return t.codePointAt(r);
@@ -3084,7 +3098,7 @@ var gt = Fn ? (
3084
3098
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3085
3099
  }
3086
3100
  }
3087
- ), qn = Xn ? (
3101
+ ), Yn = zn ? (
3088
3102
  // Native
3089
3103
  function(t) {
3090
3104
  return t.trimStart();
@@ -3092,9 +3106,9 @@ var gt = Fn ? (
3092
3106
  ) : (
3093
3107
  // Ponyfill
3094
3108
  function(t) {
3095
- return t.replace(Dn, "");
3109
+ return t.replace(Fn, "");
3096
3110
  }
3097
- ), Jn = Wn ? (
3111
+ ), Kn = Zn ? (
3098
3112
  // Native
3099
3113
  function(t) {
3100
3114
  return t.trimEnd();
@@ -3102,32 +3116,32 @@ var gt = Fn ? (
3102
3116
  ) : (
3103
3117
  // Ponyfill
3104
3118
  function(t) {
3105
- return t.replace(Gn, "");
3119
+ return t.replace(jn, "");
3106
3120
  }
3107
3121
  );
3108
- function tr(e, t) {
3122
+ function ir(e, t) {
3109
3123
  return new RegExp(e, t);
3110
3124
  }
3111
- var Ve;
3112
- if (je) {
3113
- var vt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
- Ve = function(t, r) {
3125
+ var Xe;
3126
+ if (ke) {
3127
+ var xt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3128
+ Xe = function(t, r) {
3115
3129
  var n;
3116
- vt.lastIndex = r;
3117
- var i = vt.exec(t);
3130
+ xt.lastIndex = r;
3131
+ var i = xt.exec(t);
3118
3132
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3119
3133
  };
3120
3134
  } else
3121
- Ve = function(t, r) {
3135
+ Xe = function(t, r) {
3122
3136
  for (var n = []; ; ) {
3123
- var i = er(t, r);
3124
- if (i === void 0 || rr(i) || ti(i))
3137
+ var i = nr(t, r);
3138
+ if (i === void 0 || or(i) || ni(i))
3125
3139
  break;
3126
3140
  n.push(i), r += i >= 65536 ? 2 : 1;
3127
3141
  }
3128
- return ke.apply(void 0, n);
3142
+ return Ve.apply(void 0, n);
3129
3143
  };
3130
- var Yn = (
3144
+ var ei = (
3131
3145
  /** @class */
3132
3146
  function() {
3133
3147
  function e(t, r) {
@@ -3151,14 +3165,14 @@ var Yn = (
3151
3165
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3152
3166
  var a = this.clonePosition();
3153
3167
  this.bump(), i.push({
3154
- type: x.pound,
3168
+ type: E.pound,
3155
3169
  location: b(a, this.clonePosition())
3156
3170
  });
3157
3171
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3158
3172
  if (n)
3159
3173
  break;
3160
3174
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3161
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3175
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3162
3176
  var s = this.parseTag(t, r);
3163
3177
  if (s.err)
3164
3178
  return s;
@@ -3179,7 +3193,7 @@ var Yn = (
3179
3193
  if (this.bumpSpace(), this.bumpIf("/>"))
3180
3194
  return {
3181
3195
  val: {
3182
- type: x.literal,
3196
+ type: E.literal,
3183
3197
  value: "<".concat(i, "/>"),
3184
3198
  location: b(n, this.clonePosition())
3185
3199
  },
@@ -3191,12 +3205,12 @@ var Yn = (
3191
3205
  return o;
3192
3206
  var s = o.val, a = this.clonePosition();
3193
3207
  if (this.bumpIf("</")) {
3194
- if (this.isEOF() || !Xe(this.char()))
3208
+ if (this.isEOF() || !We(this.char()))
3195
3209
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3196
3210
  var h = this.clonePosition(), u = this.parseTagName();
3197
3211
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3198
3212
  val: {
3199
- type: x.tag,
3213
+ type: E.tag,
3200
3214
  value: i,
3201
3215
  children: s,
3202
3216
  location: b(n, this.clonePosition())
@@ -3209,7 +3223,7 @@ var Yn = (
3209
3223
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3210
3224
  }, e.prototype.parseTagName = function() {
3211
3225
  var t = this.offset();
3212
- for (this.bump(); !this.isEOF() && ei(this.char()); )
3226
+ for (this.bump(); !this.isEOF() && ri(this.char()); )
3213
3227
  this.bump();
3214
3228
  return this.message.slice(t, this.offset());
3215
3229
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3233,12 +3247,12 @@ var Yn = (
3233
3247
  }
3234
3248
  var h = b(n, this.clonePosition());
3235
3249
  return {
3236
- val: { type: x.literal, value: i, location: h },
3250
+ val: { type: E.literal, value: i, location: h },
3237
3251
  err: null
3238
3252
  };
3239
3253
  }, e.prototype.tryParseLeftAngleBracket = function() {
3240
3254
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3241
- !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3255
+ !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3242
3256
  }, e.prototype.tryParseQuote = function(t) {
3243
3257
  if (this.isEOF() || this.char() !== 39)
3244
3258
  return null;
@@ -3272,12 +3286,12 @@ var Yn = (
3272
3286
  r.push(n);
3273
3287
  this.bump();
3274
3288
  }
3275
- return ke.apply(void 0, r);
3289
+ return Ve.apply(void 0, r);
3276
3290
  }, e.prototype.tryParseUnquoted = function(t, r) {
3277
3291
  if (this.isEOF())
3278
3292
  return null;
3279
3293
  var n = this.char();
3280
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3294
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3281
3295
  }, e.prototype.parseArgument = function(t, r) {
3282
3296
  var n = this.clonePosition();
3283
3297
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3293,7 +3307,7 @@ var Yn = (
3293
3307
  case 125:
3294
3308
  return this.bump(), {
3295
3309
  val: {
3296
- type: x.argument,
3310
+ type: E.argument,
3297
3311
  // value does not include the opening and closing braces.
3298
3312
  value: i,
3299
3313
  location: b(n, this.clonePosition())
@@ -3306,7 +3320,7 @@ var Yn = (
3306
3320
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3307
3321
  }
3308
3322
  }, e.prototype.parseIdentifierIfPossible = function() {
3309
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3323
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3310
3324
  this.bumpTo(i);
3311
3325
  var o = this.clonePosition(), s = b(t, o);
3312
3326
  return { value: n, location: s };
@@ -3322,47 +3336,47 @@ var Yn = (
3322
3336
  var u = null;
3323
3337
  if (this.bumpIf(",")) {
3324
3338
  this.bumpSpace();
3325
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3326
- if (c.err)
3327
- return c;
3328
- var f = Jn(c.val);
3329
- if (f.length === 0)
3339
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3340
+ if (f.err)
3341
+ return f;
3342
+ var c = Kn(f.val);
3343
+ if (c.length === 0)
3330
3344
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3331
- var d = b(l, this.clonePosition());
3332
- u = { style: f, styleLocation: d };
3345
+ var p = b(l, this.clonePosition());
3346
+ u = { style: c, styleLocation: p };
3333
3347
  }
3334
- var p = this.tryParseArgumentClose(i);
3335
- if (p.err)
3336
- return p;
3348
+ var d = this.tryParseArgumentClose(i);
3349
+ if (d.err)
3350
+ return d;
3337
3351
  var v = b(i, this.clonePosition());
3338
- if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
3339
- var B = qn(u.style.slice(2));
3352
+ if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3353
+ var B = Yn(u.style.slice(2));
3340
3354
  if (a === "number") {
3341
- var c = this.parseNumberSkeletonFromString(B, u.styleLocation);
3342
- return c.err ? c : {
3343
- val: { type: x.number, value: n, location: v, style: c.val },
3355
+ var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3356
+ return f.err ? f : {
3357
+ val: { type: E.number, value: n, location: v, style: f.val },
3344
3358
  err: null
3345
3359
  };
3346
3360
  } else {
3347
3361
  if (B.length === 0)
3348
3362
  return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3349
3363
  var $ = B;
3350
- this.locale && ($ = Rn(B, this.locale));
3351
- var f = {
3364
+ this.locale && ($ = Dn(B, this.locale));
3365
+ var c = {
3352
3366
  type: W.dateTime,
3353
3367
  pattern: $,
3354
3368
  location: u.styleLocation,
3355
- parsedOptions: this.shouldParseSkeletons ? On($) : {}
3356
- }, N = a === "date" ? x.date : x.time;
3369
+ parsedOptions: this.shouldParseSkeletons ? Ln($) : {}
3370
+ }, N = a === "date" ? E.date : E.time;
3357
3371
  return {
3358
- val: { type: N, value: n, location: v, style: f },
3372
+ val: { type: N, value: n, location: v, style: c },
3359
3373
  err: null
3360
3374
  };
3361
3375
  }
3362
3376
  }
3363
3377
  return {
3364
3378
  val: {
3365
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3379
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3366
3380
  value: n,
3367
3381
  location: v,
3368
3382
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3382,31 +3396,31 @@ var Yn = (
3382
3396
  if (!this.bumpIf(":"))
3383
3397
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3384
3398
  this.bumpSpace();
3385
- var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3386
- if (c.err)
3387
- return c;
3388
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = c.val;
3399
+ var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3400
+ if (f.err)
3401
+ return f;
3402
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = f.val;
3389
3403
  }
3390
3404
  var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
3391
3405
  if (D.err)
3392
3406
  return D;
3393
- var p = this.tryParseArgumentClose(i);
3394
- if (p.err)
3395
- return p;
3407
+ var d = this.tryParseArgumentClose(i);
3408
+ if (d.err)
3409
+ return d;
3396
3410
  var ue = b(i, this.clonePosition());
3397
3411
  return a === "select" ? {
3398
3412
  val: {
3399
- type: x.select,
3413
+ type: E.select,
3400
3414
  value: n,
3401
- options: yt(D.val),
3415
+ options: Et(D.val),
3402
3416
  location: ue
3403
3417
  },
3404
3418
  err: null
3405
3419
  } : {
3406
3420
  val: {
3407
- type: x.plural,
3421
+ type: E.plural,
3408
3422
  value: n,
3409
- options: yt(D.val),
3423
+ options: Et(D.val),
3410
3424
  offset: P,
3411
3425
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3412
3426
  location: ue
@@ -3457,7 +3471,7 @@ var Yn = (
3457
3471
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3458
3472
  var n = [];
3459
3473
  try {
3460
- n = Ln(t);
3474
+ n = Mn(t);
3461
3475
  } catch (i) {
3462
3476
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3463
3477
  }
@@ -3466,39 +3480,39 @@ var Yn = (
3466
3480
  type: W.number,
3467
3481
  tokens: n,
3468
3482
  location: r,
3469
- parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3483
+ parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3470
3484
  },
3471
3485
  err: null
3472
3486
  };
3473
3487
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3474
3488
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3475
3489
  if (u.length === 0) {
3476
- var c = this.clonePosition();
3490
+ var f = this.clonePosition();
3477
3491
  if (r !== "select" && this.bumpIf("=")) {
3478
- var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3479
- if (f.err)
3480
- return f;
3481
- l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3492
+ var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3493
+ if (c.err)
3494
+ return c;
3495
+ l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3482
3496
  } else
3483
3497
  break;
3484
3498
  }
3485
3499
  if (h.has(u))
3486
3500
  return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3487
3501
  u === "other" && (s = !0), this.bumpSpace();
3488
- var d = this.clonePosition();
3502
+ var p = this.clonePosition();
3489
3503
  if (!this.bumpIf("{"))
3490
3504
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3491
- var p = this.parseMessage(t + 1, r, n);
3492
- if (p.err)
3493
- return p;
3494
- var v = this.tryParseArgumentClose(d);
3505
+ var d = this.parseMessage(t + 1, r, n);
3506
+ if (d.err)
3507
+ return d;
3508
+ var v = this.tryParseArgumentClose(p);
3495
3509
  if (v.err)
3496
3510
  return v;
3497
3511
  a.push([
3498
3512
  u,
3499
3513
  {
3500
- value: p.val,
3501
- location: b(d, this.clonePosition())
3514
+ value: d.val,
3515
+ location: b(p, this.clonePosition())
3502
3516
  }
3503
3517
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3504
3518
  }
@@ -3514,7 +3528,7 @@ var Yn = (
3514
3528
  break;
3515
3529
  }
3516
3530
  var h = b(i, this.clonePosition());
3517
- return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3531
+ return o ? (s *= n, qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3518
3532
  }, e.prototype.offset = function() {
3519
3533
  return this.position.offset;
3520
3534
  }, e.prototype.isEOF = function() {
@@ -3529,7 +3543,7 @@ var Yn = (
3529
3543
  var t = this.position.offset;
3530
3544
  if (t >= this.message.length)
3531
3545
  throw Error("out of bound");
3532
- var r = er(this.message, t);
3546
+ var r = nr(this.message, t);
3533
3547
  if (r === void 0)
3534
3548
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3535
3549
  return r;
@@ -3548,7 +3562,7 @@ var Yn = (
3548
3562
  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);
3549
3563
  }
3550
3564
  }, e.prototype.bumpIf = function(t) {
3551
- if (gt(this.message, t, this.offset())) {
3565
+ if (vt(this.message, t, this.offset())) {
3552
3566
  for (var r = 0; r < t.length; r++)
3553
3567
  this.bump();
3554
3568
  return !0;
@@ -3570,7 +3584,7 @@ var Yn = (
3570
3584
  break;
3571
3585
  }
3572
3586
  }, e.prototype.bumpSpace = function() {
3573
- for (; !this.isEOF() && rr(this.char()); )
3587
+ for (; !this.isEOF() && or(this.char()); )
3574
3588
  this.bump();
3575
3589
  }, e.prototype.peek = function() {
3576
3590
  if (this.isEOF())
@@ -3580,44 +3594,44 @@ var Yn = (
3580
3594
  }, e;
3581
3595
  }()
3582
3596
  );
3583
- function Xe(e) {
3597
+ function We(e) {
3584
3598
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3585
3599
  }
3586
- function Kn(e) {
3587
- return Xe(e) || e === 47;
3600
+ function ti(e) {
3601
+ return We(e) || e === 47;
3588
3602
  }
3589
- function ei(e) {
3603
+ function ri(e) {
3590
3604
  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;
3591
3605
  }
3592
- function rr(e) {
3606
+ function or(e) {
3593
3607
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3594
3608
  }
3595
- function ti(e) {
3609
+ function ni(e) {
3596
3610
  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;
3597
3611
  }
3598
- function We(e) {
3612
+ function ze(e) {
3599
3613
  e.forEach(function(t) {
3600
- if (delete t.location, Wt(t) || zt(t))
3614
+ if (delete t.location, Qt(t) || qt(t))
3601
3615
  for (var r in t.options)
3602
- delete t.options[r].location, We(t.options[r].value);
3616
+ delete t.options[r].location, ze(t.options[r].value);
3603
3617
  else
3604
- kt(t) && Qt(t.style) || (Vt(t) || Xt(t)) && Fe(t.style) ? delete t.style.location : Zt(t) && We(t.children);
3618
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && je(t.style) ? delete t.style.location : Jt(t) && ze(t.children);
3605
3619
  });
3606
3620
  }
3607
- function ri(e, t) {
3621
+ function ii(e, t) {
3608
3622
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3609
- var r = new Yn(e, t).parse();
3623
+ var r = new ei(e, t).parse();
3610
3624
  if (r.err) {
3611
3625
  var n = SyntaxError(m[r.err.kind]);
3612
3626
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3613
3627
  }
3614
- return t != null && t.captureLocation || We(r.val), r.val;
3628
+ return t != null && t.captureLocation || ze(r.val), r.val;
3615
3629
  }
3616
3630
  var z;
3617
3631
  (function(e) {
3618
3632
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3619
3633
  })(z || (z = {}));
3620
- var Ee = (
3634
+ var xe = (
3621
3635
  /** @class */
3622
3636
  function(e) {
3623
3637
  L(t, e);
@@ -3629,7 +3643,7 @@ var Ee = (
3629
3643
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3630
3644
  }, t;
3631
3645
  }(Error)
3632
- ), xt = (
3646
+ ), _t = (
3633
3647
  /** @class */
3634
3648
  function(e) {
3635
3649
  L(t, e);
@@ -3637,8 +3651,8 @@ var Ee = (
3637
3651
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3638
3652
  }
3639
3653
  return t;
3640
- }(Ee)
3641
- ), ni = (
3654
+ }(xe)
3655
+ ), oi = (
3642
3656
  /** @class */
3643
3657
  function(e) {
3644
3658
  L(t, e);
@@ -3646,8 +3660,8 @@ var Ee = (
3646
3660
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3647
3661
  }
3648
3662
  return t;
3649
- }(Ee)
3650
- ), ii = (
3663
+ }(xe)
3664
+ ), si = (
3651
3665
  /** @class */
3652
3666
  function(e) {
3653
3667
  L(t, e);
@@ -3655,129 +3669,129 @@ var Ee = (
3655
3669
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3656
3670
  }
3657
3671
  return t;
3658
- }(Ee)
3659
- ), E;
3672
+ }(xe)
3673
+ ), x;
3660
3674
  (function(e) {
3661
3675
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3662
- })(E || (E = {}));
3663
- function oi(e) {
3676
+ })(x || (x = {}));
3677
+ function ai(e) {
3664
3678
  return e.length < 2 ? e : e.reduce(function(t, r) {
3665
3679
  var n = t[t.length - 1];
3666
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3680
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3667
3681
  }, []);
3668
3682
  }
3669
- function si(e) {
3683
+ function ui(e) {
3670
3684
  return typeof e == "function";
3671
3685
  }
3672
- function pe(e, t, r, n, i, o, s) {
3673
- if (e.length === 1 && dt(e[0]))
3686
+ function de(e, t, r, n, i, o, s) {
3687
+ if (e.length === 1 && mt(e[0]))
3674
3688
  return [
3675
3689
  {
3676
- type: E.literal,
3690
+ type: x.literal,
3677
3691
  value: e[0].value
3678
3692
  }
3679
3693
  ];
3680
3694
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3681
3695
  var l = u[h];
3682
- if (dt(l)) {
3696
+ if (mt(l)) {
3683
3697
  a.push({
3684
- type: E.literal,
3698
+ type: x.literal,
3685
3699
  value: l.value
3686
3700
  });
3687
3701
  continue;
3688
3702
  }
3689
- if (An(l)) {
3703
+ if (On(l)) {
3690
3704
  typeof o == "number" && a.push({
3691
- type: E.literal,
3705
+ type: x.literal,
3692
3706
  value: r.getNumberFormat(t).format(o)
3693
3707
  });
3694
3708
  continue;
3695
3709
  }
3696
- var c = l.value;
3697
- if (!(i && c in i))
3698
- throw new ii(c, s);
3699
- var f = i[c];
3700
- if (wn(l)) {
3701
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3702
- type: typeof f == "string" ? E.literal : E.object,
3703
- value: f
3710
+ var f = l.value;
3711
+ if (!(i && f in i))
3712
+ throw new si(f, s);
3713
+ var c = i[f];
3714
+ if (Pn(l)) {
3715
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3716
+ type: typeof c == "string" ? x.literal : x.object,
3717
+ value: c
3704
3718
  });
3705
3719
  continue;
3706
3720
  }
3707
- if (Vt(l)) {
3708
- var d = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3721
+ if (zt(l)) {
3722
+ var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3709
3723
  a.push({
3710
- type: E.literal,
3711
- value: r.getDateTimeFormat(t, d).format(f)
3724
+ type: x.literal,
3725
+ value: r.getDateTimeFormat(t, p).format(c)
3712
3726
  });
3713
3727
  continue;
3714
3728
  }
3715
- if (Xt(l)) {
3716
- var d = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3729
+ if (Zt(l)) {
3730
+ var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3717
3731
  a.push({
3718
- type: E.literal,
3719
- value: r.getDateTimeFormat(t, d).format(f)
3732
+ type: x.literal,
3733
+ value: r.getDateTimeFormat(t, p).format(c)
3720
3734
  });
3721
3735
  continue;
3722
3736
  }
3723
- if (kt(l)) {
3724
- var d = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3725
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3726
- type: E.literal,
3727
- value: r.getNumberFormat(t, d).format(f)
3737
+ if (Wt(l)) {
3738
+ var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3739
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3740
+ type: x.literal,
3741
+ value: r.getNumberFormat(t, p).format(c)
3728
3742
  });
3729
3743
  continue;
3730
3744
  }
3731
- if (Zt(l)) {
3732
- var p = l.children, v = l.value, B = i[v];
3733
- if (!si(B))
3734
- throw new ni(v, "function", s);
3735
- var $ = pe(p, t, r, n, i, o), N = B($.map(function(P) {
3745
+ if (Jt(l)) {
3746
+ var d = l.children, v = l.value, B = i[v];
3747
+ if (!ui(B))
3748
+ throw new oi(v, "function", s);
3749
+ var $ = de(d, t, r, n, i, o), N = B($.map(function(P) {
3736
3750
  return P.value;
3737
3751
  }));
3738
3752
  Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(P) {
3739
3753
  return {
3740
- type: typeof P == "string" ? E.literal : E.object,
3754
+ type: typeof P == "string" ? x.literal : x.object,
3741
3755
  value: P
3742
3756
  };
3743
3757
  }));
3744
3758
  }
3745
- if (Wt(l)) {
3746
- var _ = l.options[f] || l.options.other;
3759
+ if (Qt(l)) {
3760
+ var _ = l.options[c] || l.options.other;
3747
3761
  if (!_)
3748
- throw new xt(l.value, f, Object.keys(l.options), s);
3749
- a.push.apply(a, pe(_.value, t, r, n, i));
3762
+ throw new _t(l.value, c, Object.keys(l.options), s);
3763
+ a.push.apply(a, de(_.value, t, r, n, i));
3750
3764
  continue;
3751
3765
  }
3752
- if (zt(l)) {
3753
- var _ = l.options["=".concat(f)];
3766
+ if (qt(l)) {
3767
+ var _ = l.options["=".concat(c)];
3754
3768
  if (!_) {
3755
3769
  if (!Intl.PluralRules)
3756
- throw new Ee(`Intl.PluralRules is not available in this environment.
3770
+ throw new xe(`Intl.PluralRules is not available in this environment.
3757
3771
  Try polyfilling it using "@formatjs/intl-pluralrules"
3758
3772
  `, z.MISSING_INTL_API, s);
3759
- var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3773
+ var R = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3760
3774
  _ = l.options[R] || l.options.other;
3761
3775
  }
3762
3776
  if (!_)
3763
- throw new xt(l.value, f, Object.keys(l.options), s);
3764
- a.push.apply(a, pe(_.value, t, r, n, i, f - (l.offset || 0)));
3777
+ throw new _t(l.value, c, Object.keys(l.options), s);
3778
+ a.push.apply(a, de(_.value, t, r, n, i, c - (l.offset || 0)));
3765
3779
  continue;
3766
3780
  }
3767
3781
  }
3768
- return oi(a);
3782
+ return ai(a);
3769
3783
  }
3770
- function ai(e, t) {
3784
+ function hi(e, t) {
3771
3785
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3772
3786
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3773
3787
  }, {})) : e;
3774
3788
  }
3775
- function ui(e, t) {
3789
+ function li(e, t) {
3776
3790
  return t ? Object.keys(e).reduce(function(r, n) {
3777
- return r[n] = ai(e[n], t[n]), r;
3791
+ return r[n] = hi(e[n], t[n]), r;
3778
3792
  }, g({}, e)) : e;
3779
3793
  }
3780
- function Ie(e) {
3794
+ function Le(e) {
3781
3795
  return {
3782
3796
  create: function() {
3783
3797
  return {
@@ -3791,39 +3805,39 @@ function Ie(e) {
3791
3805
  }
3792
3806
  };
3793
3807
  }
3794
- function hi(e) {
3808
+ function ci(e) {
3795
3809
  return e === void 0 && (e = {
3796
3810
  number: {},
3797
3811
  dateTime: {},
3798
3812
  pluralRules: {}
3799
3813
  }), {
3800
- getNumberFormat: Ae(function() {
3814
+ getNumberFormat: Pe(function() {
3801
3815
  for (var t, r = [], n = 0; n < arguments.length; n++)
3802
3816
  r[n] = arguments[n];
3803
3817
  return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3804
3818
  }, {
3805
- cache: Ie(e.number),
3806
- strategy: Pe.variadic
3819
+ cache: Le(e.number),
3820
+ strategy: Oe.variadic
3807
3821
  }),
3808
- getDateTimeFormat: Ae(function() {
3822
+ getDateTimeFormat: Pe(function() {
3809
3823
  for (var t, r = [], n = 0; n < arguments.length; n++)
3810
3824
  r[n] = arguments[n];
3811
3825
  return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3812
3826
  }, {
3813
- cache: Ie(e.dateTime),
3814
- strategy: Pe.variadic
3827
+ cache: Le(e.dateTime),
3828
+ strategy: Oe.variadic
3815
3829
  }),
3816
- getPluralRules: Ae(function() {
3830
+ getPluralRules: Pe(function() {
3817
3831
  for (var t, r = [], n = 0; n < arguments.length; n++)
3818
3832
  r[n] = arguments[n];
3819
3833
  return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3820
3834
  }, {
3821
- cache: Ie(e.pluralRules),
3822
- strategy: Pe.variadic
3835
+ cache: Le(e.pluralRules),
3836
+ strategy: Oe.variadic
3823
3837
  })
3824
3838
  };
3825
3839
  }
3826
- var li = (
3840
+ var fi = (
3827
3841
  /** @class */
3828
3842
  function() {
3829
3843
  function e(t, r, n, i) {
@@ -3837,12 +3851,12 @@ var li = (
3837
3851
  var u = o.formatToParts(h);
3838
3852
  if (u.length === 1)
3839
3853
  return u[0].value;
3840
- var l = u.reduce(function(c, f) {
3841
- return !c.length || f.type !== E.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3854
+ var l = u.reduce(function(f, c) {
3855
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3842
3856
  }, []);
3843
3857
  return l.length <= 1 ? l[0] || "" : l;
3844
3858
  }, this.formatToParts = function(h) {
3845
- return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3859
+ return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3846
3860
  }, this.resolvedOptions = function() {
3847
3861
  var h;
3848
3862
  return {
@@ -3855,13 +3869,13 @@ var li = (
3855
3869
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3856
3870
  var s = i || {};
3857
3871
  s.formatters;
3858
- var a = Fr(s, ["formatters"]);
3872
+ var a = Vr(s, ["formatters"]);
3859
3873
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3860
3874
  } else
3861
3875
  this.ast = t;
3862
3876
  if (!Array.isArray(this.ast))
3863
3877
  throw new TypeError("A message must be provided as a String or AST.");
3864
- this.formats = ui(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3878
+ this.formats = li(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3865
3879
  }
3866
3880
  return Object.defineProperty(e, "defaultLocale", {
3867
3881
  get: function() {
@@ -3874,7 +3888,7 @@ var li = (
3874
3888
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3875
3889
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3876
3890
  }
3877
- }, e.__parse = ri, e.formats = {
3891
+ }, e.__parse = ii, e.formats = {
3878
3892
  number: {
3879
3893
  integer: {
3880
3894
  maximumFractionDigits: 0
@@ -3935,7 +3949,7 @@ var li = (
3935
3949
  }, e;
3936
3950
  }()
3937
3951
  );
3938
- function fi(e, t) {
3952
+ function pi(e, t) {
3939
3953
  if (t == null)
3940
3954
  return;
3941
3955
  if (t in e)
@@ -3956,92 +3970,92 @@ function fi(e, t) {
3956
3970
  n = void 0;
3957
3971
  return n;
3958
3972
  }
3959
- const C = {}, ci = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), nr = (e, t) => {
3973
+ const C = {}, di = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), sr = (e, t) => {
3960
3974
  if (t == null)
3961
3975
  return;
3962
3976
  if (t in C && e in C[t])
3963
3977
  return C[t][e];
3964
3978
  const r = _e(t);
3965
3979
  for (let n = 0; n < r.length; n++) {
3966
- const i = r[n], o = pi(i, e);
3980
+ const i = r[n], o = bi(i, e);
3967
3981
  if (o)
3968
- return ci(e, t, o);
3982
+ return di(e, t, o);
3969
3983
  }
3970
3984
  };
3971
- let Je;
3972
- const ae = xe({});
3973
- function di(e) {
3974
- return Je[e] || null;
3985
+ let Ke;
3986
+ const ae = Ee({});
3987
+ function mi(e) {
3988
+ return Ke[e] || null;
3975
3989
  }
3976
- function ir(e) {
3977
- return e in Je;
3990
+ function ar(e) {
3991
+ return e in Ke;
3978
3992
  }
3979
- function pi(e, t) {
3980
- if (!ir(e))
3993
+ function bi(e, t) {
3994
+ if (!ar(e))
3981
3995
  return null;
3982
- const r = di(e);
3983
- return fi(r, t);
3996
+ const r = mi(e);
3997
+ return pi(r, t);
3984
3998
  }
3985
- function mi(e) {
3999
+ function gi(e) {
3986
4000
  if (e == null)
3987
4001
  return;
3988
4002
  const t = _e(e);
3989
4003
  for (let r = 0; r < t.length; r++) {
3990
4004
  const n = t[r];
3991
- if (ir(n))
4005
+ if (ar(n))
3992
4006
  return n;
3993
4007
  }
3994
4008
  }
3995
- function or(e, ...t) {
3996
- delete C[e], ae.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
4009
+ function ur(e, ...t) {
4010
+ delete C[e], ae.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
3997
4011
  }
3998
4012
  q(
3999
4013
  [ae],
4000
4014
  ([e]) => Object.keys(e)
4001
4015
  );
4002
- ae.subscribe((e) => Je = e);
4016
+ ae.subscribe((e) => Ke = e);
4003
4017
  const me = {};
4004
- function bi(e, t) {
4018
+ function yi(e, t) {
4005
4019
  me[e].delete(t), me[e].size === 0 && delete me[e];
4006
4020
  }
4007
- function sr(e) {
4021
+ function hr(e) {
4008
4022
  return me[e];
4009
4023
  }
4010
- function gi(e) {
4024
+ function vi(e) {
4011
4025
  return _e(e).map((t) => {
4012
- const r = sr(t);
4026
+ const r = hr(t);
4013
4027
  return [t, r ? [...r] : []];
4014
4028
  }).filter(([, t]) => t.length > 0);
4015
4029
  }
4016
- function ze(e) {
4030
+ function Ze(e) {
4017
4031
  return e == null ? !1 : _e(e).some(
4018
4032
  (t) => {
4019
4033
  var r;
4020
- return (r = sr(t)) == null ? void 0 : r.size;
4034
+ return (r = hr(t)) == null ? void 0 : r.size;
4021
4035
  }
4022
4036
  );
4023
4037
  }
4024
- function yi(e, t) {
4038
+ function Ei(e, t) {
4025
4039
  return Promise.all(
4026
- t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4027
- ).then((n) => or(e, ...n));
4040
+ t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
4041
+ ).then((n) => ur(e, ...n));
4028
4042
  }
4029
4043
  const ee = {};
4030
- function ar(e) {
4031
- if (!ze(e))
4044
+ function lr(e) {
4045
+ if (!Ze(e))
4032
4046
  return e in ee ? ee[e] : Promise.resolve();
4033
- const t = gi(e);
4047
+ const t = vi(e);
4034
4048
  return ee[e] = Promise.all(
4035
4049
  t.map(
4036
- ([r, n]) => yi(r, n)
4050
+ ([r, n]) => Ei(r, n)
4037
4051
  )
4038
4052
  ).then(() => {
4039
- if (ze(e))
4040
- return ar(e);
4053
+ if (Ze(e))
4054
+ return lr(e);
4041
4055
  delete ee[e];
4042
4056
  }), ee[e];
4043
4057
  }
4044
- const vi = {
4058
+ const xi = {
4045
4059
  number: {
4046
4060
  scientific: { notation: "scientific" },
4047
4061
  engineering: { notation: "engineering" },
@@ -4070,57 +4084,57 @@ const vi = {
4070
4084
  timeZoneName: "short"
4071
4085
  }
4072
4086
  }
4073
- }, xi = {
4087
+ }, _i = {
4074
4088
  fallbackLocale: null,
4075
4089
  loadingDelay: 200,
4076
- formats: vi,
4090
+ formats: xi,
4077
4091
  warnOnMissingMessages: !0,
4078
4092
  handleMissingMessage: void 0,
4079
4093
  ignoreTag: !0
4080
- }, Ei = xi;
4094
+ }, Si = _i;
4081
4095
  function Z() {
4082
- return Ei;
4083
- }
4084
- const Le = xe(!1);
4085
- var _i = Object.defineProperty, Si = Object.defineProperties, Ti = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4086
- for (var r in t)
4087
- Hi.call(t, r) && _t(e, r, t[r]);
4088
- if (Et)
4089
- for (var r of Et(t))
4090
- Bi.call(t, r) && _t(e, r, t[r]);
4096
+ return Si;
4097
+ }
4098
+ const Ne = Ee(!1);
4099
+ var Ti = Object.defineProperty, Hi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
4100
+ for (var r in t || (t = {}))
4101
+ wi.call(t, r) && Tt(e, r, t[r]);
4102
+ if (St)
4103
+ for (var r of St(t))
4104
+ Ai.call(t, r) && Tt(e, r, t[r]);
4091
4105
  return e;
4092
- }, Ai = (e, t) => Si(e, Ti(t));
4093
- let Ze;
4094
- const be = xe(null);
4095
- function St(e) {
4106
+ }, Oi = (e, t) => Hi(e, Bi(t));
4107
+ let Qe;
4108
+ const be = Ee(null);
4109
+ function Ht(e) {
4096
4110
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4097
4111
  }
4098
4112
  function _e(e, t = Z().fallbackLocale) {
4099
- const r = St(e);
4100
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4113
+ const r = Ht(e);
4114
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4101
4115
  }
4102
4116
  function U() {
4103
- return Ze != null ? Ze : void 0;
4117
+ return Qe != null ? Qe : void 0;
4104
4118
  }
4105
4119
  be.subscribe((e) => {
4106
- Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4120
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4107
4121
  });
4108
- const Pi = (e) => {
4109
- if (e && mi(e) && ze(e)) {
4122
+ const Ii = (e) => {
4123
+ if (e && gi(e) && Ze(e)) {
4110
4124
  const { loadingDelay: t } = Z();
4111
4125
  let r;
4112
4126
  return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4113
- () => Le.set(!0),
4127
+ () => Ne.set(!0),
4114
4128
  t
4115
- ) : Le.set(!0), ar(e).then(() => {
4129
+ ) : Ne.set(!0), lr(e).then(() => {
4116
4130
  be.set(e);
4117
4131
  }).finally(() => {
4118
- clearTimeout(r), Le.set(!1);
4132
+ clearTimeout(r), Ne.set(!1);
4119
4133
  });
4120
4134
  }
4121
4135
  return be.set(e);
4122
- }, J = Ai(wi({}, be), {
4123
- set: Pi
4136
+ }, J = Oi(Pi({}, be), {
4137
+ set: Ii
4124
4138
  }), Se = (e) => {
4125
4139
  const t = /* @__PURE__ */ Object.create(null);
4126
4140
  return (n) => {
@@ -4128,20 +4142,20 @@ const Pi = (e) => {
4128
4142
  return i in t ? t[i] : t[i] = e(n);
4129
4143
  };
4130
4144
  };
4131
- var Oi = Object.defineProperty, ge = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4145
+ var Li = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4132
4146
  for (var r in t || (t = {}))
4133
- ur.call(t, r) && Tt(e, r, t[r]);
4147
+ cr.call(t, r) && Bt(e, r, t[r]);
4134
4148
  if (ge)
4135
4149
  for (var r of ge(t))
4136
- hr.call(t, r) && Tt(e, r, t[r]);
4150
+ fr.call(t, r) && Bt(e, r, t[r]);
4137
4151
  return e;
4138
4152
  }, Y = (e, t) => {
4139
4153
  var r = {};
4140
4154
  for (var n in e)
4141
- ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4155
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4142
4156
  if (e != null && ge)
4143
4157
  for (var n of ge(e))
4144
- t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4158
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4145
4159
  return r;
4146
4160
  };
4147
4161
  const ie = (e, t) => {
@@ -4149,21 +4163,21 @@ const ie = (e, t) => {
4149
4163
  if (e in r && t in r[e])
4150
4164
  return r[e][t];
4151
4165
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4152
- }, Ii = Se(
4166
+ }, Ni = Se(
4153
4167
  (e) => {
4154
4168
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4155
4169
  if (r == null)
4156
4170
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4157
4171
  return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4158
4172
  }
4159
- ), Li = Se(
4173
+ ), Mi = Se(
4160
4174
  (e) => {
4161
4175
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4162
4176
  if (r == null)
4163
4177
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4164
4178
  return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4165
4179
  }
4166
- ), Ni = Se(
4180
+ ), Ci = Se(
4167
4181
  (e) => {
4168
4182
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4169
4183
  if (r == null)
@@ -4172,33 +4186,33 @@ const ie = (e, t) => {
4172
4186
  );
4173
4187
  return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4174
4188
  }
4175
- ), Mi = (e = {}) => {
4189
+ ), $i = (e = {}) => {
4176
4190
  var t = e, {
4177
4191
  locale: r = U()
4178
4192
  } = t, n = Y(t, [
4179
4193
  "locale"
4180
4194
  ]);
4181
- return Ii(Ye({ locale: r }, n));
4182
- }, Ci = (e = {}) => {
4195
+ return Ni(et({ locale: r }, n));
4196
+ }, Ri = (e = {}) => {
4183
4197
  var t = e, {
4184
4198
  locale: r = U()
4185
4199
  } = t, n = Y(t, [
4186
4200
  "locale"
4187
4201
  ]);
4188
- return Li(Ye({ locale: r }, n));
4189
- }, $i = (e = {}) => {
4202
+ return Mi(et({ locale: r }, n));
4203
+ }, Ui = (e = {}) => {
4190
4204
  var t = e, {
4191
4205
  locale: r = U()
4192
4206
  } = t, n = Y(t, [
4193
4207
  "locale"
4194
4208
  ]);
4195
- return Ni(Ye({ locale: r }, n));
4196
- }, Ri = Se(
4209
+ return Ci(et({ locale: r }, n));
4210
+ }, Di = Se(
4197
4211
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4198
- (e, t = U()) => new li(e, t, Z().formats, {
4212
+ (e, t = U()) => new fi(e, t, Z().formats, {
4199
4213
  ignoreTag: Z().ignoreTag
4200
4214
  })
4201
- ), Ui = (e, t = {}) => {
4215
+ ), Gi = (e, t = {}) => {
4202
4216
  var r, n, i, o;
4203
4217
  let s = t;
4204
4218
  typeof e == "object" && (s = e, e = s.id);
@@ -4211,7 +4225,7 @@ const ie = (e, t) => {
4211
4225
  throw new Error(
4212
4226
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4213
4227
  );
4214
- let l = nr(e, h);
4228
+ let l = sr(e, h);
4215
4229
  if (!l)
4216
4230
  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;
4217
4231
  else if (typeof l != "string")
@@ -4220,30 +4234,30 @@ const ie = (e, t) => {
4220
4234
  ), l;
4221
4235
  if (!a)
4222
4236
  return l;
4223
- let c = l;
4237
+ let f = l;
4224
4238
  try {
4225
- c = Ri(l, h).format(a);
4226
- } catch (f) {
4227
- f instanceof Error && console.warn(
4239
+ f = Di(l, h).format(a);
4240
+ } catch (c) {
4241
+ c instanceof Error && console.warn(
4228
4242
  `[svelte-i18n] Message "${e}" has syntax error:`,
4229
- f.message
4243
+ c.message
4230
4244
  );
4231
4245
  }
4232
- return c;
4233
- }, Di = (e, t) => $i(t).format(e), Gi = (e, t) => Ci(t).format(e), Fi = (e, t) => Mi(t).format(e), ji = (e, t = U()) => nr(e, t), ki = q([J, ae], () => Ui);
4234
- q([J], () => Di);
4235
- q([J], () => Gi);
4246
+ return f;
4247
+ }, Fi = (e, t) => Ui(t).format(e), ji = (e, t) => Ri(t).format(e), ki = (e, t) => $i(t).format(e), Vi = (e, t = U()) => sr(e, t), Xi = q([J, ae], () => Gi);
4236
4248
  q([J], () => Fi);
4237
- q([J, ae], () => ji);
4238
- window.emWidgets = { topic: tn };
4239
- const Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4240
- function Ht(e, t) {
4249
+ q([J], () => ji);
4250
+ q([J], () => ki);
4251
+ q([J, ae], () => Vi);
4252
+ window.emWidgets = { topic: on };
4253
+ const Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4254
+ function wt(e, t) {
4241
4255
  if (e) {
4242
4256
  const r = document.createElement("style");
4243
4257
  r.innerHTML = t, e.appendChild(r);
4244
4258
  }
4245
4259
  }
4246
- function Xi(e, t) {
4260
+ function zi(e, t) {
4247
4261
  const r = new URL(t);
4248
4262
  fetch(r.href).then((n) => n.text()).then((n) => {
4249
4263
  const i = document.createElement("style");
@@ -4252,7 +4266,7 @@ function Xi(e, t) {
4252
4266
  console.error("There was an error while trying to load client styling from URL", n);
4253
4267
  });
4254
4268
  }
4255
- function Wi(e, t, r) {
4269
+ function Zi(e, t, r) {
4256
4270
  if (window.emMessageBus) {
4257
4271
  const n = document.createElement("style");
4258
4272
  window.emMessageBus.subscribe(t, (i) => {
@@ -4260,7 +4274,7 @@ function Wi(e, t, r) {
4260
4274
  });
4261
4275
  }
4262
4276
  }
4263
- const zi = (e, t = {}) => {
4277
+ const Qi = (e, t = {}) => {
4264
4278
  const r = new CustomEvent("track-custom-event", {
4265
4279
  detail: {
4266
4280
  type: e,
@@ -4271,13 +4285,13 @@ const zi = (e, t = {}) => {
4271
4285
  });
4272
4286
  document.dispatchEvent(r);
4273
4287
  };
4274
- function Bt(e, t) {
4275
- or(e, t);
4288
+ function At(e, t) {
4289
+ ur(e, t);
4276
4290
  }
4277
- function Zi(e) {
4291
+ function qi(e) {
4278
4292
  J.set(e);
4279
4293
  }
4280
- const wt = {
4294
+ const Pt = {
4281
4295
  en: {
4282
4296
  logoutButton: "Logout"
4283
4297
  },
@@ -4312,10 +4326,10 @@ const wt = {
4312
4326
  logoutButton: "Logout"
4313
4327
  }
4314
4328
  };
4315
- function Qi(e) {
4316
- vr(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))}");
4329
+ function Ji(e) {
4330
+ _r(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4317
4331
  }
4318
- function qi(e) {
4332
+ function Yi(e) {
4319
4333
  let t, r, n, i = (
4320
4334
  /*$_*/
4321
4335
  e[2]("logoutButton") + ""
@@ -4325,7 +4339,7 @@ function qi(e) {
4325
4339
  t = O("div"), r = O("button"), n = O("span"), o = ye(i), S(t, "class", "GeneralLogout");
4326
4340
  },
4327
4341
  m(h, u) {
4328
- se(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = It(
4342
+ se(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Nt(
4329
4343
  r,
4330
4344
  "click",
4331
4345
  /*click_handler_1*/
@@ -4335,19 +4349,19 @@ function qi(e) {
4335
4349
  p(h, u) {
4336
4350
  u & /*$_*/
4337
4351
  4 && i !== (i = /*$_*/
4338
- h[2]("logoutButton") + "") && Lt(o, i);
4352
+ h[2]("logoutButton") + "") && Mt(o, i);
4339
4353
  },
4340
4354
  d(h) {
4341
4355
  h && Q(t), s = !1, a();
4342
4356
  }
4343
4357
  };
4344
4358
  }
4345
- function Ji(e) {
4346
- let t, r, n, i, o, s, a, h, u, l, c, f = !/*isMobile*/
4347
- e[3] && Yi(e);
4359
+ function Ki(e) {
4360
+ let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4361
+ e[3] && eo(e);
4348
4362
  return {
4349
4363
  c() {
4350
- t = O("p"), r = O("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = _r(), f && f.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"), Tr(r, "width", /*isMobile*/
4364
+ t = O("p"), r = O("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = Hr(), 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"), wr(r, "width", /*isMobile*/
4351
4365
  e[3] ? (
4352
4366
  /*mediaQuery*/
4353
4367
  e[4].matches ? "20px" : "24px"
@@ -4356,24 +4370,24 @@ function Ji(e) {
4356
4370
  (e[4].matches && /*isMobile*/
4357
4371
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4358
4372
  },
4359
- m(d, p) {
4360
- se(d, t, p), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), f && f.m(t, null), l || (c = It(
4373
+ m(p, d) {
4374
+ se(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 = Nt(
4361
4375
  t,
4362
4376
  "click",
4363
4377
  /*click_handler*/
4364
4378
  e[13]
4365
4379
  ), l = !0);
4366
4380
  },
4367
- p(d, p) {
4381
+ p(p, d) {
4368
4382
  /*isMobile*/
4369
- d[3] || f.p(d, p);
4383
+ p[3] || c.p(p, d);
4370
4384
  },
4371
- d(d) {
4372
- d && Q(t), f && f.d(), l = !1, c();
4385
+ d(p) {
4386
+ p && Q(t), c && c.d(), l = !1, f();
4373
4387
  }
4374
4388
  };
4375
4389
  }
4376
- function Yi(e) {
4390
+ function eo(e) {
4377
4391
  let t, r = (
4378
4392
  /*$_*/
4379
4393
  e[2]("logoutButton") + ""
@@ -4388,19 +4402,19 @@ function Yi(e) {
4388
4402
  p(i, o) {
4389
4403
  o & /*$_*/
4390
4404
  4 && r !== (r = /*$_*/
4391
- i[2]("logoutButton") + "") && Lt(n, r);
4405
+ i[2]("logoutButton") + "") && Mt(n, r);
4392
4406
  },
4393
4407
  d(i) {
4394
4408
  i && Q(t);
4395
4409
  }
4396
4410
  };
4397
4411
  }
4398
- function Ki(e) {
4412
+ function to(e) {
4399
4413
  let t;
4400
4414
  function r(o, s) {
4401
4415
  return (
4402
4416
  /*buttonlocation*/
4403
- o[0] === "PlayerAccountMenu" ? Ji : qi
4417
+ o[0] === "PlayerAccountMenu" ? Ki : Yi
4404
4418
  );
4405
4419
  }
4406
4420
  let n = r(e), i = n(e);
@@ -4421,54 +4435,54 @@ function Ki(e) {
4421
4435
  }
4422
4436
  };
4423
4437
  }
4424
- function eo(e, t, r) {
4438
+ function ro(e, t, r) {
4425
4439
  let n;
4426
- yr(e, ki, (y) => r(2, n = y));
4427
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f = "", d = !1, p, v = window.navigator.userAgent, B = Vi(v) !== "PC";
4440
+ xr(e, Xi, (y) => r(2, n = y));
4441
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, v = window.navigator.userAgent, B = Wi(v) !== "PC";
4428
4442
  const $ = window.matchMedia("(min-width: 768px)"), N = () => {
4429
- fetch(c).then((M) => M.json()).then((M) => {
4443
+ fetch(f).then((M) => M.json()).then((M) => {
4430
4444
  Object.keys(M).forEach((Te) => {
4431
- Bt(Te, M[Te]);
4445
+ At(Te, M[Te]);
4432
4446
  });
4433
4447
  }).catch((M) => {
4434
4448
  console.log(M);
4435
4449
  });
4436
4450
  };
4437
- Object.keys(wt).forEach((y) => {
4438
- Bt(y, wt[y]);
4451
+ Object.keys(Pt).forEach((y) => {
4452
+ At(y, Pt[y]);
4439
4453
  });
4440
4454
  const _ = () => {
4441
4455
  let y = new Headers();
4442
4456
  y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4443
4457
  let M = { method: "DELETE", headers: y };
4444
4458
  fetch(`${i}/v1/player/session/player`, M).then((Te) => {
4445
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), zi("logged_out", {});
4459
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Qi("logged_out", {});
4446
4460
  });
4447
- }, R = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", d = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", d = !0, console.error(f)), d), P = () => {
4448
- Zi(a);
4461
+ }, R = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), P = () => {
4462
+ qi(a);
4449
4463
  };
4450
- wr(() => () => {
4464
+ Or(() => () => {
4451
4465
  });
4452
4466
  const D = () => _(), ue = () => _();
4453
- function fr(y) {
4454
- Ne[y ? "unshift" : "push"](() => {
4455
- p = y, r(1, p);
4467
+ function dr(y) {
4468
+ Me[y ? "unshift" : "push"](() => {
4469
+ d = y, r(1, d);
4456
4470
  });
4457
4471
  }
4458
4472
  return e.$$set = (y) => {
4459
- "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, h = y.mbsource), "clientstyling" in y && r(10, u = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, c = y.translationurl);
4473
+ "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, h = y.mbsource), "clientstyling" in y && r(10, u = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
4460
4474
  }, e.$$.update = () => {
4461
4475
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4462
4476
  193 && i && o && s && R(), e.$$.dirty & /*lang*/
4463
4477
  256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4464
- 1026 && u && p && Ht(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4465
- 1026 && u && p && Ht(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4466
- 2050 && l && p && Xi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4467
- 514 && h && p && Wi(p, `${h}.Style`), e.$$.dirty & /*translationurl*/
4468
- 4096 && c && N();
4478
+ 1026 && u && d && wt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4479
+ 1026 && u && d && wt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4480
+ 2050 && l && d && zi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4481
+ 514 && h && d && Zi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4482
+ 4096 && f && N();
4469
4483
  }, [
4470
4484
  s,
4471
- p,
4485
+ d,
4472
4486
  n,
4473
4487
  B,
4474
4488
  $,
@@ -4479,20 +4493,20 @@ function eo(e, t, r) {
4479
4493
  h,
4480
4494
  u,
4481
4495
  l,
4482
- c,
4496
+ f,
4483
4497
  D,
4484
4498
  ue,
4485
- fr
4499
+ dr
4486
4500
  ];
4487
4501
  }
4488
- class lr extends Dr {
4502
+ class pr extends jr {
4489
4503
  constructor(t) {
4490
- super(), Rr(
4504
+ super(), Gr(
4491
4505
  this,
4492
4506
  t,
4493
- eo,
4494
- Ki,
4495
- Pt,
4507
+ ro,
4508
+ to,
4509
+ It,
4496
4510
  {
4497
4511
  endpoint: 6,
4498
4512
  session: 7,
@@ -4503,7 +4517,7 @@ class lr extends Dr {
4503
4517
  clientstylingurl: 11,
4504
4518
  translationurl: 12
4505
4519
  },
4506
- Qi
4520
+ Ji
4507
4521
  );
4508
4522
  }
4509
4523
  get endpoint() {
@@ -4555,43 +4569,43 @@ class lr extends Dr {
4555
4569
  this.$$set({ translationurl: t }), A();
4556
4570
  }
4557
4571
  }
4558
- Ur(lr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4559
- const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4572
+ Fr(pr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4573
+ const uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4560
4574
  __proto__: null,
4561
- default: lr
4575
+ default: pr
4562
4576
  }, Symbol.toStringTag, { value: "Module" }));
4563
4577
  export {
4564
4578
  J as $,
4565
- It as A,
4579
+ Nt as A,
4566
4580
  oe as B,
4567
- ro as C,
4568
- ki as D,
4569
- so as G,
4570
- Dr as S,
4571
- or as a,
4572
- vr as b,
4573
- Ur as c,
4581
+ io as C,
4582
+ Xi as D,
4583
+ uo as G,
4584
+ jr as S,
4585
+ ur as a,
4586
+ _r as b,
4587
+ Fr as c,
4574
4588
  se as d,
4575
4589
  O as e,
4576
4590
  A as f,
4577
4591
  Q as g,
4578
- yr as h,
4579
- Rr as i,
4580
- Vi as j,
4581
- Ne as k,
4582
- Ht as l,
4583
- Xi as m,
4592
+ xr as h,
4593
+ Gr as i,
4594
+ Wi as j,
4595
+ zi as k,
4596
+ Zi as l,
4597
+ Me as m,
4584
4598
  w as n,
4585
- wr as o,
4586
- Wi as p,
4587
- oo as q,
4588
- _r as r,
4589
- Pt as s,
4599
+ Or as o,
4600
+ wt as p,
4601
+ ao as q,
4602
+ Hr as r,
4603
+ It as s,
4590
4604
  ye as t,
4591
4605
  S as u,
4592
4606
  T as v,
4593
- Lt as w,
4594
- no as x,
4595
- io as y,
4607
+ Mt as w,
4608
+ oo as x,
4609
+ so as y,
4596
4610
  K as z
4597
4611
  };