@everymatrix/player-account-menu-nd 1.94.54 → 1.94.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,51 +1,51 @@
1
1
  import "../stencil/ui-skeleton-W50o8tfg.js";
2
- function N() {
2
+ function F() {
3
3
  }
4
- function Wt(e) {
4
+ function Zt(e) {
5
5
  return e();
6
6
  }
7
- function dt() {
7
+ function yt() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function re(e) {
11
- e.forEach(Wt);
10
+ function te(e) {
11
+ e.forEach(Zt);
12
12
  }
13
- function st(e) {
13
+ function lt(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function Xt(e, t) {
16
+ function Qt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
- let pe;
20
- function bt(e, t) {
21
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
19
+ let de;
20
+ function vt(e, t) {
21
+ return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
22
22
  }
23
- function Rr(e) {
23
+ function Dr(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function zt(e, ...t) {
26
+ function qt(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
30
- return N;
30
+ return F;
31
31
  }
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function Fr(e, t, r) {
36
- e.$$.on_destroy.push(zt(t, r));
35
+ function Gr(e, t, r) {
36
+ e.$$.on_destroy.push(qt(t, r));
37
37
  }
38
38
  function y(e, t) {
39
39
  e.appendChild(t);
40
40
  }
41
- function Ur(e, t, r) {
42
- const n = $r(e);
41
+ function kr(e, t, r) {
42
+ const n = jr(e);
43
43
  if (!n.getElementById(t)) {
44
44
  const i = S("style");
45
- i.id = t, i.textContent = r, Dr(n, i);
45
+ i.id = t, i.textContent = r, Vr(n, i);
46
46
  }
47
47
  }
48
- function $r(e) {
48
+ function jr(e) {
49
49
  if (!e)
50
50
  return document;
51
51
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,56 +55,56 @@ function $r(e) {
55
55
  t
56
56
  ) : e.ownerDocument;
57
57
  }
58
- function Dr(e, t) {
58
+ function Vr(e, t) {
59
59
  return y(
60
60
  /** @type {Document} */
61
61
  e.head || e,
62
62
  t
63
63
  ), t.sheet;
64
64
  }
65
- function F(e, t, r) {
65
+ function $(e, t, r) {
66
66
  e.insertBefore(t, r || null);
67
67
  }
68
- function R(e) {
68
+ function U(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
- function Zt(e, t) {
71
+ function Jt(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
75
75
  function S(e) {
76
76
  return document.createElement(e);
77
77
  }
78
- function W(e) {
78
+ function V(e) {
79
79
  return document.createElementNS("http://www.w3.org/2000/svg", e);
80
80
  }
81
- function J(e) {
81
+ function q(e) {
82
82
  return document.createTextNode(e);
83
83
  }
84
- function L() {
85
- return J(" ");
84
+ function R() {
85
+ return q(" ");
86
86
  }
87
- function Ge(e, t, r, n) {
87
+ function Ve(e, t, r, n) {
88
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
89
  }
90
- function E(e, t, r) {
90
+ function x(e, t, r) {
91
91
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
92
92
  }
93
- function A(e, t, r) {
93
+ function w(e, t, r) {
94
94
  const n = t.toLowerCase();
95
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
95
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
96
96
  }
97
- function Gr(e) {
97
+ function Wr(e) {
98
98
  return Array.from(e.childNodes);
99
99
  }
100
- function _e(e, t) {
100
+ function Ee(e, t) {
101
101
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
102
102
  t);
103
103
  }
104
- function So(e, t, r, n) {
104
+ function Bo(e, t, r, n) {
105
105
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
106
106
  }
107
- function kr(e) {
107
+ function Xr(e) {
108
108
  const t = {};
109
109
  return e.childNodes.forEach(
110
110
  /** @param {Element} node */
@@ -117,84 +117,84 @@ let ue;
117
117
  function ae(e) {
118
118
  ue = e;
119
119
  }
120
- function jr() {
120
+ function zr() {
121
121
  if (!ue)
122
122
  throw new Error("Function called outside component initialization");
123
123
  return ue;
124
124
  }
125
- function Vr(e) {
126
- jr().$$.on_mount.push(e);
127
- }
128
- const Z = [], ke = [];
129
- let q = [];
130
- const gt = [], Wr = /* @__PURE__ */ Promise.resolve();
131
- let je = !1;
132
- function Xr() {
133
- je || (je = !0, Wr.then(I));
134
- }
135
- function Ve(e) {
136
- q.push(e);
137
- }
138
- const Ce = /* @__PURE__ */ new Set();
139
- let X = 0;
140
- function I() {
141
- if (X !== 0)
125
+ function Zr(e) {
126
+ zr().$$.on_mount.push(e);
127
+ }
128
+ const z = [], We = [];
129
+ let Q = [];
130
+ const _t = [], Qr = /* @__PURE__ */ Promise.resolve();
131
+ let Xe = !1;
132
+ function qr() {
133
+ Xe || (Xe = !0, Qr.then(C));
134
+ }
135
+ function ze(e) {
136
+ Q.push(e);
137
+ }
138
+ const Re = /* @__PURE__ */ new Set();
139
+ let W = 0;
140
+ function C() {
141
+ if (W !== 0)
142
142
  return;
143
143
  const e = ue;
144
144
  do {
145
145
  try {
146
- for (; X < Z.length; ) {
147
- const t = Z[X];
148
- X++, ae(t), zr(t.$$);
146
+ for (; W < z.length; ) {
147
+ const t = z[W];
148
+ W++, ae(t), Jr(t.$$);
149
149
  }
150
150
  } catch (t) {
151
- throw Z.length = 0, X = 0, t;
151
+ throw z.length = 0, W = 0, t;
152
152
  }
153
- for (ae(null), Z.length = 0, X = 0; ke.length; )
154
- ke.pop()();
155
- for (let t = 0; t < q.length; t += 1) {
156
- const r = q[t];
157
- Ce.has(r) || (Ce.add(r), r());
153
+ for (ae(null), z.length = 0, W = 0; We.length; )
154
+ We.pop()();
155
+ for (let t = 0; t < Q.length; t += 1) {
156
+ const r = Q[t];
157
+ Re.has(r) || (Re.add(r), r());
158
158
  }
159
- q.length = 0;
160
- } while (Z.length);
161
- for (; gt.length; )
162
- gt.pop()();
163
- je = !1, Ce.clear(), ae(e);
159
+ Q.length = 0;
160
+ } while (z.length);
161
+ for (; _t.length; )
162
+ _t.pop()();
163
+ Xe = !1, Re.clear(), ae(e);
164
164
  }
165
- function zr(e) {
165
+ function Jr(e) {
166
166
  if (e.fragment !== null) {
167
- e.update(), re(e.before_update);
167
+ e.update(), te(e.before_update);
168
168
  const t = e.dirty;
169
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
169
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
170
170
  }
171
171
  }
172
- function Zr(e) {
172
+ function Yr(e) {
173
173
  const t = [], r = [];
174
- q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
174
+ Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
175
175
  }
176
- const Qr = /* @__PURE__ */ new Set();
177
- function qr(e, t) {
178
- e && e.i && (Qr.delete(e), e.i(t));
176
+ const Kr = /* @__PURE__ */ new Set();
177
+ function en(e, t) {
178
+ e && e.i && (Kr.delete(e), e.i(t));
179
179
  }
180
- function xe(e) {
180
+ function we(e) {
181
181
  return e?.length !== void 0 ? e : Array.from(e);
182
182
  }
183
- function Jr(e, t, r) {
183
+ function tn(e, t, r) {
184
184
  const { fragment: n, after_update: i } = e.$$;
185
- n && n.m(t, r), Ve(() => {
186
- const o = e.$$.on_mount.map(Wt).filter(st);
187
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
188
- }), i.forEach(Ve);
185
+ n && n.m(t, r), ze(() => {
186
+ const o = e.$$.on_mount.map(Zt).filter(lt);
187
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
188
+ }), i.forEach(ze);
189
189
  }
190
- function Yr(e, t) {
190
+ function rn(e, t) {
191
191
  const r = e.$$;
192
- r.fragment !== null && (Zr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
192
+ r.fragment !== null && (Yr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
193
193
  }
194
- function Kr(e, t) {
195
- e.$$.dirty[0] === -1 && (Z.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
194
+ function nn(e, t) {
195
+ e.$$.dirty[0] === -1 && (z.push(e), qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
196
  }
197
- function en(e, t, r, n, i, o, s = null, a = [-1]) {
197
+ function on(e, t, r, n, i, o, s = null, a = [-1]) {
198
198
  const l = ue;
199
199
  ae(e);
200
200
  const u = e.$$ = {
@@ -202,9 +202,9 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
202
202
  ctx: [],
203
203
  // state
204
204
  props: o,
205
- update: N,
205
+ update: F,
206
206
  not_equal: i,
207
- bound: dt(),
207
+ bound: yt(),
208
208
  // lifecycle
209
209
  on_mount: [],
210
210
  on_destroy: [],
@@ -213,7 +213,7 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
213
213
  after_update: [],
214
214
  context: new Map(t.context || (l ? l.$$.context : [])),
215
215
  // everything else
216
- callbacks: dt(),
216
+ callbacks: yt(),
217
217
  dirty: a,
218
218
  skip_bound: !1,
219
219
  root: t.target || l.$$.root
@@ -222,19 +222,19 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
222
222
  let c = !1;
223
223
  if (u.ctx = r ? r(e, t.props || {}, (f, h, ...d) => {
224
224
  const m = d.length ? d[0] : h;
225
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && Kr(e, f)), h;
226
- }) : [], u.update(), c = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
225
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && nn(e, f)), h;
226
+ }) : [], u.update(), c = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
227
227
  if (t.hydrate) {
228
- const f = Gr(t.target);
229
- u.fragment && u.fragment.l(f), f.forEach(R);
228
+ const f = Wr(t.target);
229
+ u.fragment && u.fragment.l(f), f.forEach(U);
230
230
  } else
231
231
  u.fragment && u.fragment.c();
232
- t.intro && qr(e.$$.fragment), Jr(e, t.target, t.anchor), I();
232
+ t.intro && en(e.$$.fragment), tn(e, t.target, t.anchor), C();
233
233
  }
234
234
  ae(l);
235
235
  }
236
- let Qt;
237
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
236
+ let Yt;
237
+ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
238
238
  /** The Svelte component constructor */
239
239
  $$ctor;
240
240
  /** Slots */
@@ -276,29 +276,29 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
276
276
  let o;
277
277
  return {
278
278
  c: function() {
279
- o = S("slot"), i !== "default" && E(o, "name", i);
279
+ o = S("slot"), i !== "default" && x(o, "name", i);
280
280
  },
281
281
  /**
282
282
  * @param {HTMLElement} target
283
283
  * @param {HTMLElement} [anchor]
284
284
  */
285
285
  m: function(l, u) {
286
- F(l, o, u);
286
+ $(l, o, u);
287
287
  },
288
288
  d: function(l) {
289
- l && R(o);
289
+ l && U(o);
290
290
  }
291
291
  };
292
292
  };
293
293
  };
294
294
  if (await Promise.resolve(), !this.$$cn || this.$$c)
295
295
  return;
296
- const t = {}, r = kr(this);
296
+ const t = {}, r = Xr(this);
297
297
  for (const i of this.$$s)
298
298
  i in r && (t[i] = [e(i)]);
299
299
  for (const i of this.attributes) {
300
300
  const o = this.$$g_p(i.name);
301
- o in this.$$d || (this.$$d[o] = be(o, i.value, this.$$p_d, "toProp"));
301
+ o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
302
302
  }
303
303
  for (const i in this.$$p_d)
304
304
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
316
316
  this.$$r = !0;
317
317
  for (const i in this.$$p_d)
318
318
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
319
- const o = be(
319
+ const o = ye(
320
320
  i,
321
321
  this.$$d[i],
322
322
  this.$$p_d,
@@ -338,7 +338,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
338
338
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
339
339
  // and setting attributes through setAttribute etc, this is helpful
340
340
  attributeChangedCallback(e, t, r) {
341
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
341
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
342
342
  }
343
343
  disconnectedCallback() {
344
344
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
351
351
  ) || e;
352
352
  }
353
353
  });
354
- function be(e, t, r, n) {
354
+ function ye(e, t, r, n) {
355
355
  const i = r[e]?.type;
356
356
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
357
357
  return t;
@@ -380,8 +380,8 @@ function be(e, t, r, n) {
380
380
  return t;
381
381
  }
382
382
  }
383
- function tn(e, t, r, n, i, o) {
384
- let s = class extends Qt {
383
+ function sn(e, t, r, n, i, o) {
384
+ let s = class extends Yt {
385
385
  constructor() {
386
386
  super(e, r, i), this.$$p_d = t;
387
387
  }
@@ -397,7 +397,7 @@ function tn(e, t, r, n, i, o) {
397
397
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
398
398
  },
399
399
  set(l) {
400
- l = be(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
400
+ l = ye(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
401
401
  }
402
402
  });
403
403
  }), n.forEach((a) => {
@@ -409,7 +409,7 @@ function tn(e, t, r, n, i, o) {
409
409
  }), e.element = /** @type {any} */
410
410
  s, s;
411
411
  }
412
- class rn {
412
+ class an {
413
413
  /**
414
414
  * ### PRIVATE API
415
415
  *
@@ -428,7 +428,7 @@ class rn {
428
428
  $$set = void 0;
429
429
  /** @returns {void} */
430
430
  $destroy() {
431
- Yr(this, 1), this.$destroy = N;
431
+ rn(this, 1), this.$destroy = F;
432
432
  }
433
433
  /**
434
434
  * @template {Extract<keyof Events, string>} K
@@ -437,8 +437,8 @@ class rn {
437
437
  * @returns {() => void}
438
438
  */
439
439
  $on(t, r) {
440
- if (!st(r))
441
- return N;
440
+ if (!lt(r))
441
+ return F;
442
442
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
443
443
  return n.push(r), () => {
444
444
  const i = n.indexOf(r);
@@ -450,11 +450,11 @@ class rn {
450
450
  * @returns {void}
451
451
  */
452
452
  $set(t) {
453
- this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
+ this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
454
454
  }
455
455
  }
456
- const nn = "4";
457
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
456
+ const un = "4";
457
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
458
458
  /*! *****************************************************************************
459
459
  Copyright (c) Microsoft Corporation.
460
460
 
@@ -469,24 +469,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
469
469
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
470
470
  PERFORMANCE OF THIS SOFTWARE.
471
471
  ***************************************************************************** */
472
- var We = function(e, t) {
473
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
472
+ var Ze = function(e, t) {
473
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
474
474
  r.__proto__ = n;
475
475
  } || function(r, n) {
476
476
  for (var i in n)
477
477
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
478
- }, We(e, t);
478
+ }, Ze(e, t);
479
479
  };
480
480
  function he(e, t) {
481
481
  if (typeof t != "function" && t !== null)
482
482
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
483
- We(e, t);
483
+ Ze(e, t);
484
484
  function r() {
485
485
  this.constructor = e;
486
486
  }
487
487
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
488
488
  }
489
- function Xe(e) {
489
+ function Qe(e) {
490
490
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
491
491
  if (r)
492
492
  return r.call(e);
@@ -498,7 +498,7 @@ function Xe(e) {
498
498
  };
499
499
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
500
500
  }
501
- function ze(e, t) {
501
+ function qe(e, t) {
502
502
  var r = typeof Symbol == "function" && e[Symbol.iterator];
503
503
  if (!r)
504
504
  return e;
@@ -518,7 +518,7 @@ function ze(e, t) {
518
518
  }
519
519
  return o;
520
520
  }
521
- function Ze(e, t, r) {
521
+ function Je(e, t, r) {
522
522
  if (arguments.length === 2)
523
523
  for (var n = 0, i = t.length, o; n < i; n++)
524
524
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -527,13 +527,13 @@ function Ze(e, t, r) {
527
527
  function G(e) {
528
528
  return typeof e == "function";
529
529
  }
530
- function qt(e) {
530
+ function Kt(e) {
531
531
  var t = function(n) {
532
532
  Error.call(n), n.stack = new Error().stack;
533
533
  }, r = e(t);
534
534
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
535
535
  }
536
- var Le = qt(function(e) {
536
+ var Fe = Kt(function(e) {
537
537
  return function(r) {
538
538
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
539
539
  ` + r.map(function(n, i) {
@@ -542,13 +542,13 @@ var Le = qt(function(e) {
542
542
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
543
543
  };
544
544
  });
545
- function Qe(e, t) {
545
+ function Ye(e, t) {
546
546
  if (e) {
547
547
  var r = e.indexOf(t);
548
548
  0 <= r && e.splice(r, 1);
549
549
  }
550
550
  }
551
- var Pe = function() {
551
+ var He = function() {
552
552
  function e(t) {
553
553
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
554
554
  }
@@ -560,7 +560,7 @@ var Pe = function() {
560
560
  if (s)
561
561
  if (this._parentage = null, Array.isArray(s))
562
562
  try {
563
- for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
563
+ for (var a = Qe(s), l = a.next(); !l.done; l = a.next()) {
564
564
  var u = l.value;
565
565
  u.remove(this);
566
566
  }
@@ -581,18 +581,18 @@ var Pe = function() {
581
581
  try {
582
582
  c();
583
583
  } catch (b) {
584
- o = b instanceof Le ? b.errors : [b];
584
+ o = b instanceof Fe ? b.errors : [b];
585
585
  }
586
586
  var f = this._finalizers;
587
587
  if (f) {
588
588
  this._finalizers = null;
589
589
  try {
590
- for (var h = Xe(f), d = h.next(); !d.done; d = h.next()) {
590
+ for (var h = Qe(f), d = h.next(); !d.done; d = h.next()) {
591
591
  var m = d.value;
592
592
  try {
593
- yt(m);
593
+ xt(m);
594
594
  } catch (b) {
595
- o = o ?? [], b instanceof Le ? o = Ze(Ze([], ze(o)), ze(b.errors)) : o.push(b);
595
+ o = o ?? [], b instanceof Fe ? o = Je(Je([], qe(o)), qe(b.errors)) : o.push(b);
596
596
  }
597
597
  }
598
598
  } catch (b) {
@@ -607,13 +607,13 @@ var Pe = function() {
607
607
  }
608
608
  }
609
609
  if (o)
610
- throw new Le(o);
610
+ throw new Fe(o);
611
611
  }
612
612
  }, e.prototype.add = function(t) {
613
613
  var r;
614
614
  if (t && t !== this)
615
615
  if (this.closed)
616
- yt(t);
616
+ xt(t);
617
617
  else {
618
618
  if (t instanceof e) {
619
619
  if (t.closed || t._hasParent(this))
@@ -630,52 +630,52 @@ var Pe = function() {
630
630
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
631
631
  }, e.prototype._removeParent = function(t) {
632
632
  var r = this._parentage;
633
- r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
633
+ r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
634
634
  }, e.prototype.remove = function(t) {
635
635
  var r = this._finalizers;
636
- r && Qe(r, t), t instanceof e && t._removeParent(this);
636
+ r && Ye(r, t), t instanceof e && t._removeParent(this);
637
637
  }, e.EMPTY = function() {
638
638
  var t = new e();
639
639
  return t.closed = !0, t;
640
640
  }(), e;
641
- }(), Jt = Pe.EMPTY;
642
- function Yt(e) {
643
- return e instanceof Pe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
641
+ }(), er = He.EMPTY;
642
+ function tr(e) {
643
+ return e instanceof He || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
644
644
  }
645
- function yt(e) {
645
+ function xt(e) {
646
646
  G(e) ? e() : e.unsubscribe();
647
647
  }
648
- var on = {
648
+ var ln = {
649
649
  Promise: void 0
650
- }, sn = {
650
+ }, cn = {
651
651
  setTimeout: function(e, t) {
652
652
  for (var r = [], n = 2; n < arguments.length; n++)
653
653
  r[n - 2] = arguments[n];
654
- return setTimeout.apply(void 0, Ze([e, t], ze(r)));
654
+ return setTimeout.apply(void 0, Je([e, t], qe(r)));
655
655
  },
656
656
  clearTimeout: function(e) {
657
657
  return clearTimeout(e);
658
658
  },
659
659
  delegate: void 0
660
660
  };
661
- function an(e) {
662
- sn.setTimeout(function() {
661
+ function hn(e) {
662
+ cn.setTimeout(function() {
663
663
  throw e;
664
664
  });
665
665
  }
666
- function vt() {
666
+ function Et() {
667
667
  }
668
- function ge(e) {
668
+ function ve(e) {
669
669
  e();
670
670
  }
671
- var Kt = function(e) {
671
+ var rr = function(e) {
672
672
  he(t, e);
673
673
  function t(r) {
674
674
  var n = e.call(this) || this;
675
- return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = cn, n;
675
+ return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = mn, n;
676
676
  }
677
677
  return t.create = function(r, n, i) {
678
- return new qe(r, n, i);
678
+ return new Ke(r, n, i);
679
679
  }, t.prototype.next = function(r) {
680
680
  this.isStopped || this._next(r);
681
681
  }, t.prototype.error = function(r) {
@@ -699,7 +699,7 @@ var Kt = function(e) {
699
699
  this.unsubscribe();
700
700
  }
701
701
  }, t;
702
- }(Pe), un = function() {
702
+ }(He), fn = function() {
703
703
  function e(t) {
704
704
  this.partialObserver = t;
705
705
  }
@@ -709,7 +709,7 @@ var Kt = function(e) {
709
709
  try {
710
710
  r.next(t);
711
711
  } catch (n) {
712
- me(n);
712
+ be(n);
713
713
  }
714
714
  }, e.prototype.error = function(t) {
715
715
  var r = this.partialObserver;
@@ -717,20 +717,20 @@ var Kt = function(e) {
717
717
  try {
718
718
  r.error(t);
719
719
  } catch (n) {
720
- me(n);
720
+ be(n);
721
721
  }
722
722
  else
723
- me(t);
723
+ be(t);
724
724
  }, e.prototype.complete = function() {
725
725
  var t = this.partialObserver;
726
726
  if (t.complete)
727
727
  try {
728
728
  t.complete();
729
729
  } catch (r) {
730
- me(r);
730
+ be(r);
731
731
  }
732
732
  }, e;
733
- }(), qe = function(e) {
733
+ }(), Ke = function(e) {
734
734
  he(t, e);
735
735
  function t(r, n, i) {
736
736
  var o = e.call(this) || this, s;
@@ -738,35 +738,35 @@ var Kt = function(e) {
738
738
  next: r ?? void 0,
739
739
  error: n ?? void 0,
740
740
  complete: i ?? void 0
741
- } : s = r, o.destination = new un(s), o;
741
+ } : s = r, o.destination = new fn(s), o;
742
742
  }
743
743
  return t;
744
- }(Kt);
745
- function me(e) {
746
- an(e);
744
+ }(rr);
745
+ function be(e) {
746
+ hn(e);
747
747
  }
748
- function ln(e) {
748
+ function pn(e) {
749
749
  throw e;
750
750
  }
751
- var cn = {
751
+ var mn = {
752
752
  closed: !0,
753
- next: vt,
754
- error: ln,
755
- complete: vt
756
- }, hn = function() {
753
+ next: Et,
754
+ error: pn,
755
+ complete: Et
756
+ }, dn = function() {
757
757
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
758
758
  }();
759
- function fn(e) {
759
+ function bn(e) {
760
760
  return e;
761
761
  }
762
- function pn(e) {
763
- return e.length === 0 ? fn : e.length === 1 ? e[0] : function(r) {
762
+ function gn(e) {
763
+ return e.length === 0 ? bn : e.length === 1 ? e[0] : function(r) {
764
764
  return e.reduce(function(n, i) {
765
765
  return i(n);
766
766
  }, r);
767
767
  };
768
768
  }
769
- var _t = function() {
769
+ var wt = function() {
770
770
  function e(t) {
771
771
  t && (this._subscribe = t);
772
772
  }
@@ -774,8 +774,8 @@ var _t = function() {
774
774
  var r = new e();
775
775
  return r.source = this, r.operator = t, r;
776
776
  }, e.prototype.subscribe = function(t, r, n) {
777
- var i = this, o = dn(t) ? t : new qe(t, r, n);
778
- return ge(function() {
777
+ var i = this, o = vn(t) ? t : new Ke(t, r, n);
778
+ return ve(function() {
779
779
  var s = i, a = s.operator, l = s.source;
780
780
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
781
781
  }), o;
@@ -787,8 +787,8 @@ var _t = function() {
787
787
  }
788
788
  }, e.prototype.forEach = function(t, r) {
789
789
  var n = this;
790
- return r = xt(r), new r(function(i, o) {
791
- var s = new qe({
790
+ return r = At(r), new r(function(i, o) {
791
+ var s = new Ke({
792
792
  next: function(a) {
793
793
  try {
794
794
  t(a);
@@ -804,15 +804,15 @@ var _t = function() {
804
804
  }, e.prototype._subscribe = function(t) {
805
805
  var r;
806
806
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
807
- }, e.prototype[hn] = function() {
807
+ }, e.prototype[dn] = function() {
808
808
  return this;
809
809
  }, e.prototype.pipe = function() {
810
810
  for (var t = [], r = 0; r < arguments.length; r++)
811
811
  t[r] = arguments[r];
812
- return pn(t)(this);
812
+ return gn(t)(this);
813
813
  }, e.prototype.toPromise = function(t) {
814
814
  var r = this;
815
- return t = xt(t), new t(function(n, i) {
815
+ return t = At(t), new t(function(n, i) {
816
816
  var o;
817
817
  r.subscribe(function(s) {
818
818
  return o = s;
@@ -826,40 +826,40 @@ var _t = function() {
826
826
  return new e(t);
827
827
  }, e;
828
828
  }();
829
- function xt(e) {
829
+ function At(e) {
830
830
  var t;
831
- return (t = e ?? on.Promise) !== null && t !== void 0 ? t : Promise;
831
+ return (t = e ?? ln.Promise) !== null && t !== void 0 ? t : Promise;
832
832
  }
833
- function mn(e) {
833
+ function yn(e) {
834
834
  return e && G(e.next) && G(e.error) && G(e.complete);
835
835
  }
836
- function dn(e) {
837
- return e && e instanceof Kt || mn(e) && Yt(e);
836
+ function vn(e) {
837
+ return e && e instanceof rr || yn(e) && tr(e);
838
838
  }
839
- var bn = qt(function(e) {
839
+ var _n = Kt(function(e) {
840
840
  return function() {
841
841
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
842
842
  };
843
- }), er = function(e) {
843
+ }), nr = function(e) {
844
844
  he(t, e);
845
845
  function t() {
846
846
  var r = e.call(this) || this;
847
847
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
848
848
  }
849
849
  return t.prototype.lift = function(r) {
850
- var n = new Et(this, this);
850
+ var n = new Pt(this, this);
851
851
  return n.operator = r, n;
852
852
  }, t.prototype._throwIfClosed = function() {
853
853
  if (this.closed)
854
- throw new bn();
854
+ throw new _n();
855
855
  }, t.prototype.next = function(r) {
856
856
  var n = this;
857
- ge(function() {
857
+ ve(function() {
858
858
  var i, o;
859
859
  if (n._throwIfClosed(), !n.isStopped) {
860
860
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
861
861
  try {
862
- for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
862
+ for (var s = Qe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
863
863
  var l = a.value;
864
864
  l.next(r);
865
865
  }
@@ -877,7 +877,7 @@ var bn = qt(function(e) {
877
877
  });
878
878
  }, t.prototype.error = function(r) {
879
879
  var n = this;
880
- ge(function() {
880
+ ve(function() {
881
881
  if (n._throwIfClosed(), !n.isStopped) {
882
882
  n.hasError = n.isStopped = !0, n.thrownError = r;
883
883
  for (var i = n.observers; i.length; )
@@ -886,7 +886,7 @@ var bn = qt(function(e) {
886
886
  });
887
887
  }, t.prototype.complete = function() {
888
888
  var r = this;
889
- ge(function() {
889
+ ve(function() {
890
890
  if (r._throwIfClosed(), !r.isStopped) {
891
891
  r.isStopped = !0;
892
892
  for (var n = r.observers; n.length; )
@@ -908,19 +908,19 @@ var bn = qt(function(e) {
908
908
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
909
909
  }, t.prototype._innerSubscribe = function(r) {
910
910
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
911
- return o || s ? Jt : (this.currentObservers = null, a.push(r), new Pe(function() {
912
- n.currentObservers = null, Qe(a, r);
911
+ return o || s ? er : (this.currentObservers = null, a.push(r), new He(function() {
912
+ n.currentObservers = null, Ye(a, r);
913
913
  }));
914
914
  }, t.prototype._checkFinalizedStatuses = function(r) {
915
915
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
916
916
  i ? r.error(o) : s && r.complete();
917
917
  }, t.prototype.asObservable = function() {
918
- var r = new _t();
918
+ var r = new wt();
919
919
  return r.source = this, r;
920
920
  }, t.create = function(r, n) {
921
- return new Et(r, n);
921
+ return new Pt(r, n);
922
922
  }, t;
923
- }(_t), Et = function(e) {
923
+ }(wt), Pt = function(e) {
924
924
  he(t, e);
925
925
  function t(r, n) {
926
926
  var i = e.call(this) || this;
@@ -937,17 +937,17 @@ var bn = qt(function(e) {
937
937
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
938
938
  }, t.prototype._subscribe = function(r) {
939
939
  var n, i;
940
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
940
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
941
941
  }, t;
942
- }(er), tr = {
942
+ }(nr), ir = {
943
943
  now: function() {
944
- return (tr.delegate || Date).now();
944
+ return (ir.delegate || Date).now();
945
945
  },
946
946
  delegate: void 0
947
- }, gn = function(e) {
947
+ }, xn = function(e) {
948
948
  he(t, e);
949
949
  function t(r, n, i) {
950
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
950
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
951
951
  var o = e.call(this) || this;
952
952
  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;
953
953
  }
@@ -967,62 +967,62 @@ var bn = qt(function(e) {
967
967
  u && o.splice(0, u + 1);
968
968
  }
969
969
  }, t;
970
- }(er);
971
- const wt = [], At = {}, yn = (e, t = 0) => {
972
- if (wt.indexOf(e) == -1) {
973
- const r = new gn(t);
974
- At[e] = r, wt.push(e);
970
+ }(nr);
971
+ const St = [], Ht = {}, En = (e, t = 0) => {
972
+ if (St.indexOf(e) == -1) {
973
+ const r = new xn(t);
974
+ Ht[e] = r, St.push(e);
975
975
  }
976
- return At[e];
977
- }, z = [];
978
- function vn(e, t) {
976
+ return Ht[e];
977
+ }, X = [];
978
+ function wn(e, t) {
979
979
  return {
980
- subscribe: Se(e, t).subscribe
980
+ subscribe: Te(e, t).subscribe
981
981
  };
982
982
  }
983
- function Se(e, t = N) {
983
+ function Te(e, t = F) {
984
984
  let r;
985
985
  const n = /* @__PURE__ */ new Set();
986
986
  function i(a) {
987
- if (Xt(e, a) && (e = a, r)) {
988
- const l = !z.length;
987
+ if (Qt(e, a) && (e = a, r)) {
988
+ const l = !X.length;
989
989
  for (const u of n)
990
- u[1](), z.push(u, e);
990
+ u[1](), X.push(u, e);
991
991
  if (l) {
992
- for (let u = 0; u < z.length; u += 2)
993
- z[u][0](z[u + 1]);
994
- z.length = 0;
992
+ for (let u = 0; u < X.length; u += 2)
993
+ X[u][0](X[u + 1]);
994
+ X.length = 0;
995
995
  }
996
996
  }
997
997
  }
998
998
  function o(a) {
999
999
  i(a(e));
1000
1000
  }
1001
- function s(a, l = N) {
1001
+ function s(a, l = F) {
1002
1002
  const u = [a, l];
1003
- return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1003
+ return n.add(u), n.size === 1 && (r = t(i, o) || F), a(e), () => {
1004
1004
  n.delete(u), n.size === 0 && r && (r(), r = null);
1005
1005
  };
1006
1006
  }
1007
1007
  return { set: i, update: o, subscribe: s };
1008
1008
  }
1009
- function ne(e, t, r) {
1009
+ function re(e, t, r) {
1010
1010
  const n = !Array.isArray(e), i = n ? [e] : e;
1011
1011
  if (!i.every(Boolean))
1012
1012
  throw new Error("derived() expects stores as input, got a falsy value");
1013
1013
  const o = t.length < 2;
1014
- return vn(r, (s, a) => {
1014
+ return wn(r, (s, a) => {
1015
1015
  let l = !1;
1016
1016
  const u = [];
1017
- let c = 0, f = N;
1017
+ let c = 0, f = F;
1018
1018
  const h = () => {
1019
1019
  if (c)
1020
1020
  return;
1021
1021
  f();
1022
1022
  const m = t(n ? u[0] : u, s, a);
1023
- o ? s(m) : f = st(m) ? m : N;
1023
+ o ? s(m) : f = lt(m) ? m : F;
1024
1024
  }, d = i.map(
1025
- (m, b) => zt(
1025
+ (m, b) => qt(
1026
1026
  m,
1027
1027
  (g) => {
1028
1028
  u[b] = g, c &= ~(1 << b), l && h();
@@ -1033,112 +1033,112 @@ function ne(e, t, r) {
1033
1033
  )
1034
1034
  );
1035
1035
  return l = !0, h(), function() {
1036
- re(d), f(), l = !1;
1036
+ te(d), f(), l = !1;
1037
1037
  };
1038
1038
  });
1039
1039
  }
1040
- function _n(e) {
1040
+ function An(e) {
1041
1041
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1042
1042
  }
1043
- var xn = function(t) {
1044
- return En(t) && !wn(t);
1043
+ var Pn = function(t) {
1044
+ return Sn(t) && !Hn(t);
1045
1045
  };
1046
- function En(e) {
1046
+ function Sn(e) {
1047
1047
  return !!e && typeof e == "object";
1048
1048
  }
1049
- function wn(e) {
1049
+ function Hn(e) {
1050
1050
  var t = Object.prototype.toString.call(e);
1051
- return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
1051
+ return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
1052
1052
  }
1053
- var An = typeof Symbol == "function" && Symbol.for, Pn = An ? Symbol.for("react.element") : 60103;
1054
- function Sn(e) {
1055
- return e.$$typeof === Pn;
1053
+ var Tn = typeof Symbol == "function" && Symbol.for, Mn = Tn ? Symbol.for("react.element") : 60103;
1054
+ function Bn(e) {
1055
+ return e.$$typeof === Mn;
1056
1056
  }
1057
- function Hn(e) {
1057
+ function In(e) {
1058
1058
  return Array.isArray(e) ? [] : {};
1059
1059
  }
1060
1060
  function le(e, t) {
1061
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(Hn(e), e, t) : e;
1061
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(In(e), e, t) : e;
1062
1062
  }
1063
- function Tn(e, t, r) {
1063
+ function On(e, t, r) {
1064
1064
  return e.concat(t).map(function(n) {
1065
1065
  return le(n, r);
1066
1066
  });
1067
1067
  }
1068
- function Mn(e, t) {
1068
+ function Cn(e, t) {
1069
1069
  if (!t.customMerge)
1070
- return Y;
1070
+ return J;
1071
1071
  var r = t.customMerge(e);
1072
- return typeof r == "function" ? r : Y;
1072
+ return typeof r == "function" ? r : J;
1073
1073
  }
1074
- function Bn(e) {
1074
+ function Ln(e) {
1075
1075
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1076
1076
  return Object.propertyIsEnumerable.call(e, t);
1077
1077
  }) : [];
1078
1078
  }
1079
- function Pt(e) {
1080
- return Object.keys(e).concat(Bn(e));
1079
+ function Tt(e) {
1080
+ return Object.keys(e).concat(Ln(e));
1081
1081
  }
1082
- function rr(e, t) {
1082
+ function or(e, t) {
1083
1083
  try {
1084
1084
  return t in e;
1085
1085
  } catch {
1086
1086
  return !1;
1087
1087
  }
1088
1088
  }
1089
- function In(e, t) {
1090
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1089
+ function Nn(e, t) {
1090
+ return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1091
1091
  }
1092
- function On(e, t, r) {
1092
+ function Rn(e, t, r) {
1093
1093
  var n = {};
1094
- return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
1094
+ return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1095
1095
  n[i] = le(e[i], r);
1096
- }), Pt(t).forEach(function(i) {
1097
- In(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1096
+ }), Tt(t).forEach(function(i) {
1097
+ Nn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Cn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1098
1098
  }), n;
1099
1099
  }
1100
- function Y(e, t, r) {
1101
- r = r || {}, r.arrayMerge = r.arrayMerge || Tn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = le;
1100
+ function J(e, t, r) {
1101
+ r = r || {}, r.arrayMerge = r.arrayMerge || On, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = le;
1102
1102
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1103
- return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : le(t, r);
1103
+ return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : le(t, r);
1104
1104
  }
1105
- Y.all = function(t, r) {
1105
+ J.all = function(t, r) {
1106
1106
  if (!Array.isArray(t))
1107
1107
  throw new Error("first argument should be an array");
1108
1108
  return t.reduce(function(n, i) {
1109
- return Y(n, i, r);
1109
+ return J(n, i, r);
1110
1110
  }, {});
1111
1111
  };
1112
- var Cn = Y, Ln = Cn;
1113
- const Nn = /* @__PURE__ */ _n(Ln);
1114
- var Je = function(e, t) {
1115
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1112
+ var Fn = J, Un = Fn;
1113
+ const $n = /* @__PURE__ */ An(Un);
1114
+ var et = function(e, t) {
1115
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1116
1116
  r.__proto__ = n;
1117
1117
  } || function(r, n) {
1118
1118
  for (var i in n)
1119
1119
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1120
- }, Je(e, t);
1120
+ }, et(e, t);
1121
1121
  };
1122
- function He(e, t) {
1122
+ function Me(e, t) {
1123
1123
  if (typeof t != "function" && t !== null)
1124
1124
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1125
- Je(e, t);
1125
+ et(e, t);
1126
1126
  function r() {
1127
1127
  this.constructor = e;
1128
1128
  }
1129
1129
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1130
1130
  }
1131
- var $ = function() {
1132
- return $ = Object.assign || function(t) {
1131
+ var D = function() {
1132
+ return D = Object.assign || function(t) {
1133
1133
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1134
1134
  r = arguments[n];
1135
1135
  for (var o in r)
1136
1136
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1137
1137
  }
1138
1138
  return t;
1139
- }, $.apply(this, arguments);
1139
+ }, D.apply(this, arguments);
1140
1140
  };
1141
- function Rn(e, t) {
1141
+ function Dn(e, t) {
1142
1142
  var r = {};
1143
1143
  for (var n in e)
1144
1144
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1147,43 +1147,43 @@ function Rn(e, t) {
1147
1147
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1148
1148
  return r;
1149
1149
  }
1150
- function Ne(e, t, r) {
1150
+ function Ue(e, t, r) {
1151
1151
  if (r || arguments.length === 2)
1152
1152
  for (var n = 0, i = t.length, o; n < i; n++)
1153
1153
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1154
1154
  return e.concat(o || Array.prototype.slice.call(t));
1155
1155
  }
1156
- function Re(e, t) {
1157
- var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : Gn, i = t && t.strategy ? t.strategy : $n;
1156
+ function $e(e, t) {
1157
+ var r = t && t.cache ? t.cache : zn, n = t && t.serializer ? t.serializer : Wn, i = t && t.strategy ? t.strategy : jn;
1158
1158
  return i(e, {
1159
1159
  cache: r,
1160
1160
  serializer: n
1161
1161
  });
1162
1162
  }
1163
- function Fn(e) {
1163
+ function Gn(e) {
1164
1164
  return e == null || typeof e == "number" || typeof e == "boolean";
1165
1165
  }
1166
- function Un(e, t, r, n) {
1167
- var i = Fn(n) ? n : r(n), o = t.get(i);
1166
+ function kn(e, t, r, n) {
1167
+ var i = Gn(n) ? n : r(n), o = t.get(i);
1168
1168
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1169
1169
  }
1170
- function nr(e, t, r) {
1170
+ function sr(e, t, r) {
1171
1171
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1172
1172
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1173
1173
  }
1174
- function ir(e, t, r, n, i) {
1174
+ function ar(e, t, r, n, i) {
1175
1175
  return r.bind(t, e, n, i);
1176
1176
  }
1177
- function $n(e, t) {
1178
- var r = e.length === 1 ? Un : nr;
1179
- return ir(e, this, r, t.cache.create(), t.serializer);
1177
+ function jn(e, t) {
1178
+ var r = e.length === 1 ? kn : sr;
1179
+ return ar(e, this, r, t.cache.create(), t.serializer);
1180
1180
  }
1181
- function Dn(e, t) {
1182
- return ir(e, this, nr, t.cache.create(), t.serializer);
1181
+ function Vn(e, t) {
1182
+ return ar(e, this, sr, t.cache.create(), t.serializer);
1183
1183
  }
1184
- var Gn = function() {
1184
+ var Wn = function() {
1185
1185
  return JSON.stringify(arguments);
1186
- }, kn = (
1186
+ }, Xn = (
1187
1187
  /** @class */
1188
1188
  function() {
1189
1189
  function e() {
@@ -1195,71 +1195,71 @@ var Gn = function() {
1195
1195
  this.cache[t] = r;
1196
1196
  }, e;
1197
1197
  }()
1198
- ), jn = {
1198
+ ), zn = {
1199
1199
  create: function() {
1200
- return new kn();
1200
+ return new Xn();
1201
1201
  }
1202
- }, Fe = {
1203
- variadic: Dn
1204
- }, Ee = function() {
1205
- return Ee = Object.assign || function(t) {
1202
+ }, De = {
1203
+ variadic: Vn
1204
+ }, Ae = function() {
1205
+ return Ae = Object.assign || function(t) {
1206
1206
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1207
1207
  r = arguments[n];
1208
1208
  for (var o in r)
1209
1209
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1210
1210
  }
1211
1211
  return t;
1212
- }, Ee.apply(this, arguments);
1212
+ }, Ae.apply(this, arguments);
1213
1213
  };
1214
- var x;
1214
+ var _;
1215
1215
  (function(e) {
1216
1216
  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";
1217
- })(x || (x = {}));
1217
+ })(_ || (_ = {}));
1218
1218
  var H;
1219
1219
  (function(e) {
1220
1220
  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";
1221
1221
  })(H || (H = {}));
1222
- var K;
1222
+ var Y;
1223
1223
  (function(e) {
1224
1224
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1225
- })(K || (K = {}));
1226
- function St(e) {
1225
+ })(Y || (Y = {}));
1226
+ function Mt(e) {
1227
1227
  return e.type === H.literal;
1228
1228
  }
1229
- function Vn(e) {
1229
+ function Zn(e) {
1230
1230
  return e.type === H.argument;
1231
1231
  }
1232
- function or(e) {
1232
+ function ur(e) {
1233
1233
  return e.type === H.number;
1234
1234
  }
1235
- function sr(e) {
1235
+ function lr(e) {
1236
1236
  return e.type === H.date;
1237
1237
  }
1238
- function ar(e) {
1238
+ function cr(e) {
1239
1239
  return e.type === H.time;
1240
1240
  }
1241
- function ur(e) {
1241
+ function hr(e) {
1242
1242
  return e.type === H.select;
1243
1243
  }
1244
- function lr(e) {
1244
+ function fr(e) {
1245
1245
  return e.type === H.plural;
1246
1246
  }
1247
- function Wn(e) {
1247
+ function Qn(e) {
1248
1248
  return e.type === H.pound;
1249
1249
  }
1250
- function cr(e) {
1250
+ function pr(e) {
1251
1251
  return e.type === H.tag;
1252
1252
  }
1253
- function hr(e) {
1254
- return !!(e && typeof e == "object" && e.type === K.number);
1253
+ function mr(e) {
1254
+ return !!(e && typeof e == "object" && e.type === Y.number);
1255
1255
  }
1256
- function Ye(e) {
1257
- return !!(e && typeof e == "object" && e.type === K.dateTime);
1256
+ function tt(e) {
1257
+ return !!(e && typeof e == "object" && e.type === Y.dateTime);
1258
1258
  }
1259
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1260
- function zn(e) {
1259
+ var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qn = /(?:[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;
1260
+ function Jn(e) {
1261
1261
  var t = {};
1262
- return e.replace(Xn, function(r) {
1262
+ return e.replace(qn, function(r) {
1263
1263
  var n = r.length;
1264
1264
  switch (r[0]) {
1265
1265
  case "G":
@@ -1358,11 +1358,11 @@ var T = function() {
1358
1358
  return t;
1359
1359
  }, T.apply(this, arguments);
1360
1360
  };
1361
- var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1362
- function Qn(e) {
1361
+ var Yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1362
+ function Kn(e) {
1363
1363
  if (e.length === 0)
1364
1364
  throw new Error("Number skeleton cannot be empty");
1365
- for (var t = e.split(Zn).filter(function(h) {
1365
+ for (var t = e.split(Yn).filter(function(h) {
1366
1366
  return h.length > 0;
1367
1367
  }), r = [], n = 0, i = t; n < i.length; n++) {
1368
1368
  var o = i[n], s = o.split("/");
@@ -1377,17 +1377,17 @@ function Qn(e) {
1377
1377
  }
1378
1378
  return r;
1379
1379
  }
1380
- function qn(e) {
1380
+ function ei(e) {
1381
1381
  return e.replace(/^(.*?)-/, "");
1382
1382
  }
1383
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1384
- function Tt(e) {
1383
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
1384
+ function It(e) {
1385
1385
  var t = {};
1386
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1386
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
1387
1387
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1388
1388
  }), t;
1389
1389
  }
1390
- function dr(e) {
1390
+ function yr(e) {
1391
1391
  switch (e) {
1392
1392
  case "sign-auto":
1393
1393
  return {
@@ -1427,7 +1427,7 @@ function dr(e) {
1427
1427
  };
1428
1428
  }
1429
1429
  }
1430
- function Yn(e) {
1430
+ function ri(e) {
1431
1431
  var t;
1432
1432
  if (e[0] === "E" && e[1] === "E" ? (t = {
1433
1433
  notation: "engineering"
@@ -1435,17 +1435,17 @@ function Yn(e) {
1435
1435
  notation: "scientific"
1436
1436
  }, e = e.slice(1)), t) {
1437
1437
  var r = e.slice(0, 2);
1438
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1438
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
1439
1439
  throw new Error("Malformed concise eng/scientific notation");
1440
1440
  t.minimumIntegerDigits = e.length;
1441
1441
  }
1442
1442
  return t;
1443
1443
  }
1444
- function Mt(e) {
1445
- var t = {}, r = dr(e);
1444
+ function Ot(e) {
1445
+ var t = {}, r = yr(e);
1446
1446
  return r || t;
1447
1447
  }
1448
- function Kn(e) {
1448
+ function ni(e) {
1449
1449
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1450
1450
  var i = n[r];
1451
1451
  switch (i.stem) {
@@ -1469,7 +1469,7 @@ function Kn(e) {
1469
1469
  continue;
1470
1470
  case "measure-unit":
1471
1471
  case "unit":
1472
- t.style = "unit", t.unit = qn(i.options[0]);
1472
+ t.style = "unit", t.unit = ei(i.options[0]);
1473
1473
  continue;
1474
1474
  case "compact-short":
1475
1475
  case "K":
@@ -1481,12 +1481,12 @@ function Kn(e) {
1481
1481
  continue;
1482
1482
  case "scientific":
1483
1483
  t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1484
- return T(T({}, l), Mt(u));
1484
+ return T(T({}, l), Ot(u));
1485
1485
  }, {}));
1486
1486
  continue;
1487
1487
  case "engineering":
1488
1488
  t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1489
- return T(T({}, l), Mt(u));
1489
+ return T(T({}, l), Ot(u));
1490
1490
  }, {}));
1491
1491
  continue;
1492
1492
  case "notation-simple":
@@ -1531,7 +1531,7 @@ function Kn(e) {
1531
1531
  case "integer-width":
1532
1532
  if (i.options.length > 1)
1533
1533
  throw new RangeError("integer-width stems only accept a single optional option");
1534
- i.options[0].replace(Jn, function(l, u, c, f, h, d) {
1534
+ i.options[0].replace(ti, function(l, u, c, f, h, d) {
1535
1535
  if (u)
1536
1536
  t.minimumIntegerDigits = c.length;
1537
1537
  else {
@@ -1544,32 +1544,32 @@ function Kn(e) {
1544
1544
  });
1545
1545
  continue;
1546
1546
  }
1547
- if (mr.test(i.stem)) {
1547
+ if (gr.test(i.stem)) {
1548
1548
  t.minimumIntegerDigits = i.stem.length;
1549
1549
  continue;
1550
1550
  }
1551
- if (Ht.test(i.stem)) {
1551
+ if (Bt.test(i.stem)) {
1552
1552
  if (i.options.length > 1)
1553
1553
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1554
- i.stem.replace(Ht, function(l, u, c, f, h, d) {
1554
+ i.stem.replace(Bt, function(l, u, c, f, h, d) {
1555
1555
  return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && d ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1556
1556
  });
1557
1557
  var o = i.options[0];
1558
- o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Tt(o)));
1558
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), It(o)));
1559
1559
  continue;
1560
1560
  }
1561
- if (pr.test(i.stem)) {
1562
- t = T(T({}, t), Tt(i.stem));
1561
+ if (br.test(i.stem)) {
1562
+ t = T(T({}, t), It(i.stem));
1563
1563
  continue;
1564
1564
  }
1565
- var s = dr(i.stem);
1565
+ var s = yr(i.stem);
1566
1566
  s && (t = T(T({}, t), s));
1567
- var a = Yn(i.stem);
1567
+ var a = ri(i.stem);
1568
1568
  a && (t = T(T({}, t), a));
1569
1569
  }
1570
1570
  return t;
1571
1571
  }
1572
- var de = {
1572
+ var ge = {
1573
1573
  "001": [
1574
1574
  "H",
1575
1575
  "h"
@@ -2984,13 +2984,13 @@ var de = {
2984
2984
  "h"
2985
2985
  ]
2986
2986
  };
2987
- function ei(e, t) {
2987
+ function ii(e, t) {
2988
2988
  for (var r = "", n = 0; n < e.length; n++) {
2989
2989
  var i = e.charAt(n);
2990
2990
  if (i === "j") {
2991
2991
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2992
2992
  o++, n++;
2993
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ti(t);
2993
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = oi(t);
2994
2994
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2995
2995
  r += l;
2996
2996
  for (; s-- > 0; )
@@ -3000,7 +3000,7 @@ function ei(e, t) {
3000
3000
  }
3001
3001
  return r;
3002
3002
  }
3003
- function ti(e) {
3003
+ function oi(e) {
3004
3004
  var t = e.hourCycle;
3005
3005
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3006
3006
  e.hourCycles && // @ts-ignore
@@ -3019,23 +3019,23 @@ function ti(e) {
3019
3019
  }
3020
3020
  var r = e.language, n;
3021
3021
  r !== "root" && (n = e.maximize().region);
3022
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3022
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
3023
3023
  return i[0];
3024
3024
  }
3025
- var Ue, ri = new RegExp("^".concat(fr.source, "*")), ni = new RegExp("".concat(fr.source, "*$"));
3026
- function w(e, t) {
3025
+ var Ge, si = new RegExp("^".concat(dr.source, "*")), ai = new RegExp("".concat(dr.source, "*$"));
3026
+ function E(e, t) {
3027
3027
  return { start: e, end: t };
3028
3028
  }
3029
- var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, li = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, hi = ci ? Number.isSafeInteger : function(e) {
3029
+ var ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), li = !!String.fromCodePoint, ci = !!Object.fromEntries, hi = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, di = mi ? Number.isSafeInteger : function(e) {
3030
3030
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3031
- }, Ke = !0;
3031
+ }, rt = !0;
3032
3032
  try {
3033
- var fi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
- Ke = ((Ue = fi.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3033
+ var bi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
+ rt = ((Ge = bi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3035
3035
  } catch {
3036
- Ke = !1;
3036
+ rt = !1;
3037
3037
  }
3038
- var Bt = ii ? (
3038
+ var Ct = ui ? (
3039
3039
  // Native
3040
3040
  function(t, r, n) {
3041
3041
  return t.startsWith(r, n);
@@ -3045,7 +3045,7 @@ var Bt = ii ? (
3045
3045
  function(t, r, n) {
3046
3046
  return t.slice(n, n + r.length) === r;
3047
3047
  }
3048
- ), et = oi ? String.fromCodePoint : (
3048
+ ), nt = li ? String.fromCodePoint : (
3049
3049
  // IE11
3050
3050
  function() {
3051
3051
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3057,9 +3057,9 @@ var Bt = ii ? (
3057
3057
  }
3058
3058
  return n;
3059
3059
  }
3060
- ), It = (
3060
+ ), Lt = (
3061
3061
  // native
3062
- si ? Object.fromEntries : (
3062
+ ci ? Object.fromEntries : (
3063
3063
  // Ponyfill
3064
3064
  function(t) {
3065
3065
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3069,7 +3069,7 @@ var Bt = ii ? (
3069
3069
  return r;
3070
3070
  }
3071
3071
  )
3072
- ), br = ai ? (
3072
+ ), vr = hi ? (
3073
3073
  // Native
3074
3074
  function(t, r) {
3075
3075
  return t.codePointAt(r);
@@ -3083,7 +3083,7 @@ var Bt = ii ? (
3083
3083
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3084
3084
  }
3085
3085
  }
3086
- ), pi = ui ? (
3086
+ ), gi = fi ? (
3087
3087
  // Native
3088
3088
  function(t) {
3089
3089
  return t.trimStart();
@@ -3091,9 +3091,9 @@ var Bt = ii ? (
3091
3091
  ) : (
3092
3092
  // Ponyfill
3093
3093
  function(t) {
3094
- return t.replace(ri, "");
3094
+ return t.replace(si, "");
3095
3095
  }
3096
- ), mi = li ? (
3096
+ ), yi = pi ? (
3097
3097
  // Native
3098
3098
  function(t) {
3099
3099
  return t.trimEnd();
@@ -3101,32 +3101,32 @@ var Bt = ii ? (
3101
3101
  ) : (
3102
3102
  // Ponyfill
3103
3103
  function(t) {
3104
- return t.replace(ni, "");
3104
+ return t.replace(ai, "");
3105
3105
  }
3106
3106
  );
3107
- function gr(e, t) {
3107
+ function _r(e, t) {
3108
3108
  return new RegExp(e, t);
3109
3109
  }
3110
- var tt;
3111
- if (Ke) {
3112
- var Ot = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
- tt = function(t, r) {
3110
+ var it;
3111
+ if (rt) {
3112
+ var Nt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
+ it = function(t, r) {
3114
3114
  var n;
3115
- Ot.lastIndex = r;
3116
- var i = Ot.exec(t);
3115
+ Nt.lastIndex = r;
3116
+ var i = Nt.exec(t);
3117
3117
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3118
3118
  };
3119
3119
  } else
3120
- tt = function(t, r) {
3120
+ it = function(t, r) {
3121
3121
  for (var n = []; ; ) {
3122
- var i = br(t, r);
3123
- if (i === void 0 || yr(i) || yi(i))
3122
+ var i = vr(t, r);
3123
+ if (i === void 0 || xr(i) || Ei(i))
3124
3124
  break;
3125
3125
  n.push(i), r += i >= 65536 ? 2 : 1;
3126
3126
  }
3127
- return et.apply(void 0, n);
3127
+ return nt.apply(void 0, n);
3128
3128
  };
3129
- var di = (
3129
+ var vi = (
3130
3130
  /** @class */
3131
3131
  function() {
3132
3132
  function e(t, r) {
@@ -3151,13 +3151,13 @@ var di = (
3151
3151
  var a = this.clonePosition();
3152
3152
  this.bump(), i.push({
3153
3153
  type: H.pound,
3154
- location: w(a, this.clonePosition())
3154
+ location: E(a, this.clonePosition())
3155
3155
  });
3156
3156
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3157
3157
  if (n)
3158
3158
  break;
3159
- return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3160
- } else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3159
+ return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3160
+ } else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
3161
3161
  var s = this.parseTag(t, r);
3162
3162
  if (s.err)
3163
3163
  return s;
@@ -3180,7 +3180,7 @@ var di = (
3180
3180
  val: {
3181
3181
  type: H.literal,
3182
3182
  value: "<".concat(i, "/>"),
3183
- location: w(n, this.clonePosition())
3183
+ location: E(n, this.clonePosition())
3184
3184
  },
3185
3185
  err: null
3186
3186
  };
@@ -3190,25 +3190,25 @@ var di = (
3190
3190
  return o;
3191
3191
  var s = o.val, a = this.clonePosition();
3192
3192
  if (this.bumpIf("</")) {
3193
- if (this.isEOF() || !rt(this.char()))
3194
- return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3193
+ if (this.isEOF() || !ot(this.char()))
3194
+ return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3195
3195
  var l = this.clonePosition(), u = this.parseTagName();
3196
- return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3196
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3197
3197
  val: {
3198
3198
  type: H.tag,
3199
3199
  value: i,
3200
3200
  children: s,
3201
- location: w(n, this.clonePosition())
3201
+ location: E(n, this.clonePosition())
3202
3202
  },
3203
3203
  err: null
3204
- } : this.error(x.INVALID_TAG, w(a, this.clonePosition())));
3204
+ } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
3205
3205
  } else
3206
- return this.error(x.UNCLOSED_TAG, w(n, this.clonePosition()));
3206
+ return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
3207
3207
  } else
3208
- return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
3208
+ return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3209
3209
  }, e.prototype.parseTagName = function() {
3210
3210
  var t = this.offset();
3211
- for (this.bump(); !this.isEOF() && gi(this.char()); )
3211
+ for (this.bump(); !this.isEOF() && xi(this.char()); )
3212
3212
  this.bump();
3213
3213
  return this.message.slice(t, this.offset());
3214
3214
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3230,14 +3230,14 @@ var di = (
3230
3230
  }
3231
3231
  break;
3232
3232
  }
3233
- var l = w(n, this.clonePosition());
3233
+ var l = E(n, this.clonePosition());
3234
3234
  return {
3235
3235
  val: { type: H.literal, value: i, location: l },
3236
3236
  err: null
3237
3237
  };
3238
3238
  }, e.prototype.tryParseLeftAngleBracket = function() {
3239
3239
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3240
- !bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3240
+ !_i(this.peek() || 0)) ? (this.bump(), "<") : null;
3241
3241
  }, e.prototype.tryParseQuote = function(t) {
3242
3242
  if (this.isEOF() || this.char() !== 39)
3243
3243
  return null;
@@ -3271,23 +3271,23 @@ var di = (
3271
3271
  r.push(n);
3272
3272
  this.bump();
3273
3273
  }
3274
- return et.apply(void 0, r);
3274
+ return nt.apply(void 0, r);
3275
3275
  }, e.prototype.tryParseUnquoted = function(t, r) {
3276
3276
  if (this.isEOF())
3277
3277
  return null;
3278
3278
  var n = this.char();
3279
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3279
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
3280
3280
  }, e.prototype.parseArgument = function(t, r) {
3281
3281
  var n = this.clonePosition();
3282
3282
  if (this.bump(), this.bumpSpace(), this.isEOF())
3283
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3283
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3284
3284
  if (this.char() === 125)
3285
- return this.bump(), this.error(x.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3285
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3286
3286
  var i = this.parseIdentifierIfPossible().value;
3287
3287
  if (!i)
3288
- return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3288
+ return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3289
3289
  if (this.bumpSpace(), this.isEOF())
3290
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3290
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3291
3291
  switch (this.char()) {
3292
3292
  case 125:
3293
3293
  return this.bump(), {
@@ -3295,25 +3295,25 @@ var di = (
3295
3295
  type: H.argument,
3296
3296
  // value does not include the opening and closing braces.
3297
3297
  value: i,
3298
- location: w(n, this.clonePosition())
3298
+ location: E(n, this.clonePosition())
3299
3299
  },
3300
3300
  err: null
3301
3301
  };
3302
3302
  case 44:
3303
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3303
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3304
3304
  default:
3305
- return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3305
+ return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3306
3306
  }
3307
3307
  }, e.prototype.parseIdentifierIfPossible = function() {
3308
- var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3308
+ var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
3309
3309
  this.bumpTo(i);
3310
- var o = this.clonePosition(), s = w(t, o);
3310
+ var o = this.clonePosition(), s = E(t, o);
3311
3311
  return { value: n, location: s };
3312
3312
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3313
3313
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3314
3314
  switch (a) {
3315
3315
  case "":
3316
- return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, l));
3316
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(s, l));
3317
3317
  case "number":
3318
3318
  case "date":
3319
3319
  case "time": {
@@ -3324,18 +3324,18 @@ var di = (
3324
3324
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3325
3325
  if (f.err)
3326
3326
  return f;
3327
- var h = mi(f.val);
3327
+ var h = yi(f.val);
3328
3328
  if (h.length === 0)
3329
- return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3330
- var d = w(c, this.clonePosition());
3329
+ return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3330
+ var d = E(c, this.clonePosition());
3331
3331
  u = { style: h, styleLocation: d };
3332
3332
  }
3333
3333
  var m = this.tryParseArgumentClose(i);
3334
3334
  if (m.err)
3335
3335
  return m;
3336
- var b = w(i, this.clonePosition());
3337
- if (u && Bt(u?.style, "::", 0)) {
3338
- var g = pi(u.style.slice(2));
3336
+ var b = E(i, this.clonePosition());
3337
+ if (u && Ct(u?.style, "::", 0)) {
3338
+ var g = gi(u.style.slice(2));
3339
3339
  if (a === "number") {
3340
3340
  var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
3341
3341
  return f.err ? f : {
@@ -3344,17 +3344,17 @@ var di = (
3344
3344
  };
3345
3345
  } else {
3346
3346
  if (g.length === 0)
3347
- return this.error(x.EXPECT_DATE_TIME_SKELETON, b);
3348
- var P = g;
3349
- this.locale && (P = ei(g, this.locale));
3347
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3348
+ var A = g;
3349
+ this.locale && (A = ii(g, this.locale));
3350
3350
  var h = {
3351
- type: K.dateTime,
3352
- pattern: P,
3351
+ type: Y.dateTime,
3352
+ pattern: A,
3353
3353
  location: u.styleLocation,
3354
- parsedOptions: this.shouldParseSkeletons ? zn(P) : {}
3355
- }, M = a === "date" ? H.date : H.time;
3354
+ parsedOptions: this.shouldParseSkeletons ? Jn(A) : {}
3355
+ }, I = a === "date" ? H.date : H.time;
3356
3356
  return {
3357
- val: { type: M, value: n, location: b, style: h },
3357
+ val: { type: I, value: n, location: b, style: h },
3358
3358
  err: null
3359
3359
  };
3360
3360
  }
@@ -3374,50 +3374,50 @@ var di = (
3374
3374
  case "select": {
3375
3375
  var v = this.clonePosition();
3376
3376
  if (this.bumpSpace(), !this.bumpIf(","))
3377
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(v, Ee({}, v)));
3377
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(v, Ae({}, v)));
3378
3378
  this.bumpSpace();
3379
- var B = this.parseIdentifierIfPossible(), _ = 0;
3380
- if (a !== "select" && B.value === "offset") {
3379
+ var M = this.parseIdentifierIfPossible(), P = 0;
3380
+ if (a !== "select" && M.value === "offset") {
3381
3381
  if (!this.bumpIf(":"))
3382
- return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3382
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3383
3383
  this.bumpSpace();
3384
- var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3384
+ var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3385
3385
  if (f.err)
3386
3386
  return f;
3387
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), _ = f.val;
3387
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), P = f.val;
3388
3388
  }
3389
- var D = this.tryParsePluralOrSelectOptions(t, a, r, B);
3390
- if (D.err)
3391
- return D;
3389
+ var O = this.tryParsePluralOrSelectOptions(t, a, r, M);
3390
+ if (O.err)
3391
+ return O;
3392
3392
  var m = this.tryParseArgumentClose(i);
3393
3393
  if (m.err)
3394
3394
  return m;
3395
- var V = w(i, this.clonePosition());
3395
+ var pe = E(i, this.clonePosition());
3396
3396
  return a === "select" ? {
3397
3397
  val: {
3398
3398
  type: H.select,
3399
3399
  value: n,
3400
- options: It(D.val),
3401
- location: V
3400
+ options: Lt(O.val),
3401
+ location: pe
3402
3402
  },
3403
3403
  err: null
3404
3404
  } : {
3405
3405
  val: {
3406
3406
  type: H.plural,
3407
3407
  value: n,
3408
- options: It(D.val),
3409
- offset: _,
3408
+ options: Lt(O.val),
3409
+ offset: P,
3410
3410
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3411
- location: V
3411
+ location: pe
3412
3412
  },
3413
3413
  err: null
3414
3414
  };
3415
3415
  }
3416
3416
  default:
3417
- return this.error(x.INVALID_ARGUMENT_TYPE, w(s, l));
3417
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(s, l));
3418
3418
  }
3419
3419
  }, e.prototype.tryParseArgumentClose = function(t) {
3420
- return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3420
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3421
3421
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3422
3422
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3423
3423
  var n = this.char();
@@ -3426,7 +3426,7 @@ var di = (
3426
3426
  this.bump();
3427
3427
  var i = this.clonePosition();
3428
3428
  if (!this.bumpUntil("'"))
3429
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3429
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3430
3430
  this.bump();
3431
3431
  break;
3432
3432
  }
@@ -3456,16 +3456,16 @@ var di = (
3456
3456
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3457
3457
  var n = [];
3458
3458
  try {
3459
- n = Qn(t);
3459
+ n = Kn(t);
3460
3460
  } catch {
3461
- return this.error(x.INVALID_NUMBER_SKELETON, r);
3461
+ return this.error(_.INVALID_NUMBER_SKELETON, r);
3462
3462
  }
3463
3463
  return {
3464
3464
  val: {
3465
- type: K.number,
3465
+ type: Y.number,
3466
3466
  tokens: n,
3467
3467
  location: r,
3468
- parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
3468
+ parsedOptions: this.shouldParseSkeletons ? ni(n) : {}
3469
3469
  },
3470
3470
  err: null
3471
3471
  };
@@ -3474,19 +3474,19 @@ var di = (
3474
3474
  if (u.length === 0) {
3475
3475
  var f = this.clonePosition();
3476
3476
  if (r !== "select" && this.bumpIf("=")) {
3477
- var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3477
+ var h = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3478
3478
  if (h.err)
3479
3479
  return h;
3480
- c = w(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3480
+ c = E(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3481
3481
  } else
3482
3482
  break;
3483
3483
  }
3484
3484
  if (l.has(u))
3485
- return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3485
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3486
3486
  u === "other" && (s = !0), this.bumpSpace();
3487
3487
  var d = this.clonePosition();
3488
3488
  if (!this.bumpIf("{"))
3489
- return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3489
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3490
3490
  var m = this.parseMessage(t + 1, r, n);
3491
3491
  if (m.err)
3492
3492
  return m;
@@ -3497,11 +3497,11 @@ var di = (
3497
3497
  u,
3498
3498
  {
3499
3499
  value: m.val,
3500
- location: w(d, this.clonePosition())
3500
+ location: E(d, this.clonePosition())
3501
3501
  }
3502
3502
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3503
3503
  }
3504
- return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3504
+ return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3505
3505
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3506
3506
  var n = 1, i = this.clonePosition();
3507
3507
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3512,8 +3512,8 @@ var di = (
3512
3512
  else
3513
3513
  break;
3514
3514
  }
3515
- var l = w(i, this.clonePosition());
3516
- return o ? (s *= n, hi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3515
+ var l = E(i, this.clonePosition());
3516
+ return o ? (s *= n, di(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3517
3517
  }, e.prototype.offset = function() {
3518
3518
  return this.position.offset;
3519
3519
  }, e.prototype.isEOF = function() {
@@ -3528,7 +3528,7 @@ var di = (
3528
3528
  var t = this.position.offset;
3529
3529
  if (t >= this.message.length)
3530
3530
  throw Error("out of bound");
3531
- var r = br(this.message, t);
3531
+ var r = vr(this.message, t);
3532
3532
  if (r === void 0)
3533
3533
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3534
3534
  return r;
@@ -3547,7 +3547,7 @@ var di = (
3547
3547
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3548
3548
  }
3549
3549
  }, e.prototype.bumpIf = function(t) {
3550
- if (Bt(this.message, t, this.offset())) {
3550
+ if (Ct(this.message, t, this.offset())) {
3551
3551
  for (var r = 0; r < t.length; r++)
3552
3552
  this.bump();
3553
3553
  return !0;
@@ -3569,7 +3569,7 @@ var di = (
3569
3569
  break;
3570
3570
  }
3571
3571
  }, e.prototype.bumpSpace = function() {
3572
- for (; !this.isEOF() && yr(this.char()); )
3572
+ for (; !this.isEOF() && xr(this.char()); )
3573
3573
  this.bump();
3574
3574
  }, e.prototype.peek = function() {
3575
3575
  if (this.isEOF())
@@ -3579,47 +3579,47 @@ var di = (
3579
3579
  }, e;
3580
3580
  }()
3581
3581
  );
3582
- function rt(e) {
3582
+ function ot(e) {
3583
3583
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3584
3584
  }
3585
- function bi(e) {
3586
- return rt(e) || e === 47;
3585
+ function _i(e) {
3586
+ return ot(e) || e === 47;
3587
3587
  }
3588
- function gi(e) {
3588
+ function xi(e) {
3589
3589
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3590
3590
  }
3591
- function yr(e) {
3591
+ function xr(e) {
3592
3592
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3593
3593
  }
3594
- function yi(e) {
3594
+ function Ei(e) {
3595
3595
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3596
3596
  }
3597
- function nt(e) {
3597
+ function st(e) {
3598
3598
  e.forEach(function(t) {
3599
- if (delete t.location, ur(t) || lr(t))
3599
+ if (delete t.location, hr(t) || fr(t))
3600
3600
  for (var r in t.options)
3601
- delete t.options[r].location, nt(t.options[r].value);
3601
+ delete t.options[r].location, st(t.options[r].value);
3602
3602
  else
3603
- or(t) && hr(t.style) || (sr(t) || ar(t)) && Ye(t.style) ? delete t.style.location : cr(t) && nt(t.children);
3603
+ ur(t) && mr(t.style) || (lr(t) || cr(t)) && tt(t.style) ? delete t.style.location : pr(t) && st(t.children);
3604
3604
  });
3605
3605
  }
3606
- function vi(e, t) {
3607
- t === void 0 && (t = {}), t = Ee({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3608
- var r = new di(e, t).parse();
3606
+ function wi(e, t) {
3607
+ t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3608
+ var r = new vi(e, t).parse();
3609
3609
  if (r.err) {
3610
- var n = SyntaxError(x[r.err.kind]);
3610
+ var n = SyntaxError(_[r.err.kind]);
3611
3611
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3612
3612
  }
3613
- return t?.captureLocation || nt(r.val), r.val;
3613
+ return t?.captureLocation || st(r.val), r.val;
3614
3614
  }
3615
- var ee;
3615
+ var K;
3616
3616
  (function(e) {
3617
3617
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3618
- })(ee || (ee = {}));
3619
- var Te = (
3618
+ })(K || (K = {}));
3619
+ var Be = (
3620
3620
  /** @class */
3621
3621
  function(e) {
3622
- He(t, e);
3622
+ Me(t, e);
3623
3623
  function t(r, n, i) {
3624
3624
  var o = e.call(this, r) || this;
3625
3625
  return o.code = n, o.originalMessage = i, o;
@@ -3628,155 +3628,155 @@ var Te = (
3628
3628
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3629
3629
  }, t;
3630
3630
  }(Error)
3631
- ), Ct = (
3631
+ ), Rt = (
3632
3632
  /** @class */
3633
3633
  function(e) {
3634
- He(t, e);
3634
+ Me(t, e);
3635
3635
  function t(r, n, i, o) {
3636
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3636
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3637
3637
  }
3638
3638
  return t;
3639
- }(Te)
3640
- ), _i = (
3639
+ }(Be)
3640
+ ), Ai = (
3641
3641
  /** @class */
3642
3642
  function(e) {
3643
- He(t, e);
3643
+ Me(t, e);
3644
3644
  function t(r, n, i) {
3645
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3645
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3646
3646
  }
3647
3647
  return t;
3648
- }(Te)
3649
- ), xi = (
3648
+ }(Be)
3649
+ ), Pi = (
3650
3650
  /** @class */
3651
3651
  function(e) {
3652
- He(t, e);
3652
+ Me(t, e);
3653
3653
  function t(r, n) {
3654
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3654
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3655
3655
  }
3656
3656
  return t;
3657
- }(Te)
3658
- ), O;
3657
+ }(Be)
3658
+ ), L;
3659
3659
  (function(e) {
3660
3660
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3661
- })(O || (O = {}));
3662
- function Ei(e) {
3661
+ })(L || (L = {}));
3662
+ function Si(e) {
3663
3663
  return e.length < 2 ? e : e.reduce(function(t, r) {
3664
3664
  var n = t[t.length - 1];
3665
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3665
+ return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3666
3666
  }, []);
3667
3667
  }
3668
- function wi(e) {
3668
+ function Hi(e) {
3669
3669
  return typeof e == "function";
3670
3670
  }
3671
- function ye(e, t, r, n, i, o, s) {
3672
- if (e.length === 1 && St(e[0]))
3671
+ function _e(e, t, r, n, i, o, s) {
3672
+ if (e.length === 1 && Mt(e[0]))
3673
3673
  return [
3674
3674
  {
3675
- type: O.literal,
3675
+ type: L.literal,
3676
3676
  value: e[0].value
3677
3677
  }
3678
3678
  ];
3679
3679
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3680
3680
  var c = u[l];
3681
- if (St(c)) {
3681
+ if (Mt(c)) {
3682
3682
  a.push({
3683
- type: O.literal,
3683
+ type: L.literal,
3684
3684
  value: c.value
3685
3685
  });
3686
3686
  continue;
3687
3687
  }
3688
- if (Wn(c)) {
3688
+ if (Qn(c)) {
3689
3689
  typeof o == "number" && a.push({
3690
- type: O.literal,
3690
+ type: L.literal,
3691
3691
  value: r.getNumberFormat(t).format(o)
3692
3692
  });
3693
3693
  continue;
3694
3694
  }
3695
3695
  var f = c.value;
3696
3696
  if (!(i && f in i))
3697
- throw new xi(f, s);
3697
+ throw new Pi(f, s);
3698
3698
  var h = i[f];
3699
- if (Vn(c)) {
3699
+ if (Zn(c)) {
3700
3700
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3701
- type: typeof h == "string" ? O.literal : O.object,
3701
+ type: typeof h == "string" ? L.literal : L.object,
3702
3702
  value: h
3703
3703
  });
3704
3704
  continue;
3705
3705
  }
3706
- if (sr(c)) {
3707
- var d = typeof c.style == "string" ? n.date[c.style] : Ye(c.style) ? c.style.parsedOptions : void 0;
3706
+ if (lr(c)) {
3707
+ var d = typeof c.style == "string" ? n.date[c.style] : tt(c.style) ? c.style.parsedOptions : void 0;
3708
3708
  a.push({
3709
- type: O.literal,
3709
+ type: L.literal,
3710
3710
  value: r.getDateTimeFormat(t, d).format(h)
3711
3711
  });
3712
3712
  continue;
3713
3713
  }
3714
- if (ar(c)) {
3715
- var d = typeof c.style == "string" ? n.time[c.style] : Ye(c.style) ? c.style.parsedOptions : n.time.medium;
3714
+ if (cr(c)) {
3715
+ var d = typeof c.style == "string" ? n.time[c.style] : tt(c.style) ? c.style.parsedOptions : n.time.medium;
3716
3716
  a.push({
3717
- type: O.literal,
3717
+ type: L.literal,
3718
3718
  value: r.getDateTimeFormat(t, d).format(h)
3719
3719
  });
3720
3720
  continue;
3721
3721
  }
3722
- if (or(c)) {
3723
- var d = typeof c.style == "string" ? n.number[c.style] : hr(c.style) ? c.style.parsedOptions : void 0;
3722
+ if (ur(c)) {
3723
+ var d = typeof c.style == "string" ? n.number[c.style] : mr(c.style) ? c.style.parsedOptions : void 0;
3724
3724
  d && d.scale && (h = h * (d.scale || 1)), a.push({
3725
- type: O.literal,
3725
+ type: L.literal,
3726
3726
  value: r.getNumberFormat(t, d).format(h)
3727
3727
  });
3728
3728
  continue;
3729
3729
  }
3730
- if (cr(c)) {
3730
+ if (pr(c)) {
3731
3731
  var m = c.children, b = c.value, g = i[b];
3732
- if (!wi(g))
3733
- throw new _i(b, "function", s);
3734
- var P = ye(m, t, r, n, i, o), M = g(P.map(function(_) {
3735
- return _.value;
3732
+ if (!Hi(g))
3733
+ throw new Ai(b, "function", s);
3734
+ var A = _e(m, t, r, n, i, o), I = g(A.map(function(P) {
3735
+ return P.value;
3736
3736
  }));
3737
- Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(_) {
3737
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(P) {
3738
3738
  return {
3739
- type: typeof _ == "string" ? O.literal : O.object,
3740
- value: _
3739
+ type: typeof P == "string" ? L.literal : L.object,
3740
+ value: P
3741
3741
  };
3742
3742
  }));
3743
3743
  }
3744
- if (ur(c)) {
3744
+ if (hr(c)) {
3745
3745
  var v = c.options[h] || c.options.other;
3746
3746
  if (!v)
3747
- throw new Ct(c.value, h, Object.keys(c.options), s);
3748
- a.push.apply(a, ye(v.value, t, r, n, i));
3747
+ throw new Rt(c.value, h, Object.keys(c.options), s);
3748
+ a.push.apply(a, _e(v.value, t, r, n, i));
3749
3749
  continue;
3750
3750
  }
3751
- if (lr(c)) {
3751
+ if (fr(c)) {
3752
3752
  var v = c.options["=".concat(h)];
3753
3753
  if (!v) {
3754
3754
  if (!Intl.PluralRules)
3755
- throw new Te(`Intl.PluralRules is not available in this environment.
3755
+ throw new Be(`Intl.PluralRules is not available in this environment.
3756
3756
  Try polyfilling it using "@formatjs/intl-pluralrules"
3757
- `, ee.MISSING_INTL_API, s);
3758
- var B = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3759
- v = c.options[B] || c.options.other;
3757
+ `, K.MISSING_INTL_API, s);
3758
+ var M = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3759
+ v = c.options[M] || c.options.other;
3760
3760
  }
3761
3761
  if (!v)
3762
- throw new Ct(c.value, h, Object.keys(c.options), s);
3763
- a.push.apply(a, ye(v.value, t, r, n, i, h - (c.offset || 0)));
3762
+ throw new Rt(c.value, h, Object.keys(c.options), s);
3763
+ a.push.apply(a, _e(v.value, t, r, n, i, h - (c.offset || 0)));
3764
3764
  continue;
3765
3765
  }
3766
3766
  }
3767
- return Ei(a);
3767
+ return Si(a);
3768
3768
  }
3769
- function Ai(e, t) {
3770
- return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3771
- return r[n] = $($({}, e[n]), t[n] || {}), r;
3769
+ function Ti(e, t) {
3770
+ return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3771
+ return r[n] = D(D({}, e[n]), t[n] || {}), r;
3772
3772
  }, {})) : e;
3773
3773
  }
3774
- function Pi(e, t) {
3774
+ function Mi(e, t) {
3775
3775
  return t ? Object.keys(e).reduce(function(r, n) {
3776
- return r[n] = Ai(e[n], t[n]), r;
3777
- }, $({}, e)) : e;
3776
+ return r[n] = Ti(e[n], t[n]), r;
3777
+ }, D({}, e)) : e;
3778
3778
  }
3779
- function $e(e) {
3779
+ function ke(e) {
3780
3780
  return {
3781
3781
  create: function() {
3782
3782
  return {
@@ -3790,39 +3790,39 @@ function $e(e) {
3790
3790
  }
3791
3791
  };
3792
3792
  }
3793
- function Si(e) {
3793
+ function Bi(e) {
3794
3794
  return e === void 0 && (e = {
3795
3795
  number: {},
3796
3796
  dateTime: {},
3797
3797
  pluralRules: {}
3798
3798
  }), {
3799
- getNumberFormat: Re(function() {
3799
+ getNumberFormat: $e(function() {
3800
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3801
3801
  r[n] = arguments[n];
3802
- return new ((t = Intl.NumberFormat).bind.apply(t, Ne([void 0], r, !1)))();
3802
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3803
3803
  }, {
3804
- cache: $e(e.number),
3805
- strategy: Fe.variadic
3804
+ cache: ke(e.number),
3805
+ strategy: De.variadic
3806
3806
  }),
3807
- getDateTimeFormat: Re(function() {
3807
+ getDateTimeFormat: $e(function() {
3808
3808
  for (var t, r = [], n = 0; n < arguments.length; n++)
3809
3809
  r[n] = arguments[n];
3810
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ne([void 0], r, !1)))();
3810
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3811
3811
  }, {
3812
- cache: $e(e.dateTime),
3813
- strategy: Fe.variadic
3812
+ cache: ke(e.dateTime),
3813
+ strategy: De.variadic
3814
3814
  }),
3815
- getPluralRules: Re(function() {
3815
+ getPluralRules: $e(function() {
3816
3816
  for (var t, r = [], n = 0; n < arguments.length; n++)
3817
3817
  r[n] = arguments[n];
3818
- return new ((t = Intl.PluralRules).bind.apply(t, Ne([void 0], r, !1)))();
3818
+ return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3819
3819
  }, {
3820
- cache: $e(e.pluralRules),
3821
- strategy: Fe.variadic
3820
+ cache: ke(e.pluralRules),
3821
+ strategy: De.variadic
3822
3822
  })
3823
3823
  };
3824
3824
  }
3825
- var Hi = (
3825
+ var Ii = (
3826
3826
  /** @class */
3827
3827
  function() {
3828
3828
  function e(t, r, n, i) {
@@ -3837,11 +3837,11 @@ var Hi = (
3837
3837
  if (u.length === 1)
3838
3838
  return u[0].value;
3839
3839
  var c = u.reduce(function(f, h) {
3840
- return !f.length || h.type !== O.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3840
+ return !f.length || h.type !== L.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3841
3841
  }, []);
3842
3842
  return c.length <= 1 ? c[0] || "" : c;
3843
3843
  }, this.formatToParts = function(l) {
3844
- return ye(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3844
+ return _e(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3845
3845
  }, this.resolvedOptions = function() {
3846
3846
  var l;
3847
3847
  return {
@@ -3854,13 +3854,13 @@ var Hi = (
3854
3854
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3855
3855
  var s = i || {};
3856
3856
  s.formatters;
3857
- var a = Rn(s, ["formatters"]);
3858
- this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
3857
+ var a = Dn(s, ["formatters"]);
3858
+ this.ast = e.__parse(t, D(D({}, a), { locale: this.resolvedLocale }));
3859
3859
  } else
3860
3860
  this.ast = t;
3861
3861
  if (!Array.isArray(this.ast))
3862
3862
  throw new TypeError("A message must be provided as a String or AST.");
3863
- this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
3863
+ this.formats = Mi(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
3864
3864
  }
3865
3865
  return Object.defineProperty(e, "defaultLocale", {
3866
3866
  get: function() {
@@ -3873,7 +3873,7 @@ var Hi = (
3873
3873
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3874
3874
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3875
3875
  }
3876
- }, e.__parse = vi, e.formats = {
3876
+ }, e.__parse = wi, e.formats = {
3877
3877
  number: {
3878
3878
  integer: {
3879
3879
  maximumFractionDigits: 0
@@ -3934,7 +3934,7 @@ var Hi = (
3934
3934
  }, e;
3935
3935
  }()
3936
3936
  );
3937
- function Ti(e, t) {
3937
+ function Oi(e, t) {
3938
3938
  if (t == null)
3939
3939
  return;
3940
3940
  if (t in e)
@@ -3955,92 +3955,92 @@ function Ti(e, t) {
3955
3955
  n = void 0;
3956
3956
  return n;
3957
3957
  }
3958
- const k = {}, Mi = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), vr = (e, t) => {
3958
+ const k = {}, Ci = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Er = (e, t) => {
3959
3959
  if (t == null)
3960
3960
  return;
3961
3961
  if (t in k && e in k[t])
3962
3962
  return k[t][e];
3963
- const r = Me(t);
3963
+ const r = Ie(t);
3964
3964
  for (let n = 0; n < r.length; n++) {
3965
- const i = r[n], o = Ii(i, e);
3965
+ const i = r[n], o = Ni(i, e);
3966
3966
  if (o)
3967
- return Mi(e, t, o);
3967
+ return Ci(e, t, o);
3968
3968
  }
3969
3969
  };
3970
- let at;
3971
- const fe = Se({});
3972
- function Bi(e) {
3973
- return at[e] || null;
3970
+ let ct;
3971
+ const fe = Te({});
3972
+ function Li(e) {
3973
+ return ct[e] || null;
3974
3974
  }
3975
- function _r(e) {
3976
- return e in at;
3975
+ function wr(e) {
3976
+ return e in ct;
3977
3977
  }
3978
- function Ii(e, t) {
3979
- if (!_r(e))
3978
+ function Ni(e, t) {
3979
+ if (!wr(e))
3980
3980
  return null;
3981
- const r = Bi(e);
3982
- return Ti(r, t);
3981
+ const r = Li(e);
3982
+ return Oi(r, t);
3983
3983
  }
3984
- function Oi(e) {
3984
+ function Ri(e) {
3985
3985
  if (e == null)
3986
3986
  return;
3987
- const t = Me(e);
3987
+ const t = Ie(e);
3988
3988
  for (let r = 0; r < t.length; r++) {
3989
3989
  const n = t[r];
3990
- if (_r(n))
3990
+ if (wr(n))
3991
3991
  return n;
3992
3992
  }
3993
3993
  }
3994
- function xr(e, ...t) {
3995
- delete k[e], fe.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
3994
+ function Ar(e, ...t) {
3995
+ delete k[e], fe.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
3996
3996
  }
3997
- ne(
3997
+ re(
3998
3998
  [fe],
3999
3999
  ([e]) => Object.keys(e)
4000
4000
  );
4001
- fe.subscribe((e) => at = e);
4002
- const ve = {};
4003
- function Ci(e, t) {
4004
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4001
+ fe.subscribe((e) => ct = e);
4002
+ const xe = {};
4003
+ function Fi(e, t) {
4004
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4005
4005
  }
4006
- function Er(e) {
4007
- return ve[e];
4006
+ function Pr(e) {
4007
+ return xe[e];
4008
4008
  }
4009
- function Li(e) {
4010
- return Me(e).map((t) => {
4011
- const r = Er(t);
4009
+ function Ui(e) {
4010
+ return Ie(e).map((t) => {
4011
+ const r = Pr(t);
4012
4012
  return [t, r ? [...r] : []];
4013
4013
  }).filter(([, t]) => t.length > 0);
4014
4014
  }
4015
- function it(e) {
4016
- return e == null ? !1 : Me(e).some(
4015
+ function at(e) {
4016
+ return e == null ? !1 : Ie(e).some(
4017
4017
  (t) => {
4018
4018
  var r;
4019
- return (r = Er(t)) == null ? void 0 : r.size;
4019
+ return (r = Pr(t)) == null ? void 0 : r.size;
4020
4020
  }
4021
4021
  );
4022
4022
  }
4023
- function Ni(e, t) {
4023
+ function $i(e, t) {
4024
4024
  return Promise.all(
4025
- t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
4026
- ).then((n) => xr(e, ...n));
4025
+ t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
4026
+ ).then((n) => Ar(e, ...n));
4027
4027
  }
4028
4028
  const se = {};
4029
- function wr(e) {
4030
- if (!it(e))
4029
+ function Sr(e) {
4030
+ if (!at(e))
4031
4031
  return e in se ? se[e] : Promise.resolve();
4032
- const t = Li(e);
4032
+ const t = Ui(e);
4033
4033
  return se[e] = Promise.all(
4034
4034
  t.map(
4035
- ([r, n]) => Ni(r, n)
4035
+ ([r, n]) => $i(r, n)
4036
4036
  )
4037
4037
  ).then(() => {
4038
- if (it(e))
4039
- return wr(e);
4038
+ if (at(e))
4039
+ return Sr(e);
4040
4040
  delete se[e];
4041
4041
  }), se[e];
4042
4042
  }
4043
- const Ri = {
4043
+ const Di = {
4044
4044
  number: {
4045
4045
  scientific: { notation: "scientific" },
4046
4046
  engineering: { notation: "engineering" },
@@ -4069,135 +4069,135 @@ const Ri = {
4069
4069
  timeZoneName: "short"
4070
4070
  }
4071
4071
  }
4072
- }, Fi = {
4072
+ }, Gi = {
4073
4073
  fallbackLocale: null,
4074
4074
  loadingDelay: 200,
4075
- formats: Ri,
4075
+ formats: Di,
4076
4076
  warnOnMissingMessages: !0,
4077
4077
  handleMissingMessage: void 0,
4078
4078
  ignoreTag: !0
4079
- }, Ui = Fi;
4080
- function te() {
4081
- return Ui;
4079
+ }, ki = Gi;
4080
+ function ee() {
4081
+ return ki;
4082
4082
  }
4083
- const De = Se(!1);
4084
- var $i = Object.defineProperty, Di = Object.defineProperties, Gi = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
4083
+ const je = Te(!1);
4084
+ var ji = Object.defineProperty, Vi = Object.defineProperties, Wi = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zi = (e, t) => {
4085
4085
  for (var r in t || (t = {}))
4086
- ki.call(t, r) && Nt(e, r, t[r]);
4087
- if (Lt)
4088
- for (var r of Lt(t))
4089
- ji.call(t, r) && Nt(e, r, t[r]);
4086
+ Xi.call(t, r) && Ut(e, r, t[r]);
4087
+ if (Ft)
4088
+ for (var r of Ft(t))
4089
+ zi.call(t, r) && Ut(e, r, t[r]);
4090
4090
  return e;
4091
- }, Wi = (e, t) => Di(e, Gi(t));
4092
- let ot;
4093
- const we = Se(null);
4094
- function Rt(e) {
4091
+ }, Qi = (e, t) => Vi(e, Wi(t));
4092
+ let ut;
4093
+ const Pe = Te(null);
4094
+ function $t(e) {
4095
4095
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4096
4096
  }
4097
- function Me(e, t = te().fallbackLocale) {
4098
- const r = Rt(e);
4099
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4097
+ function Ie(e, t = ee().fallbackLocale) {
4098
+ const r = $t(e);
4099
+ return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4100
4100
  }
4101
4101
  function j() {
4102
- return ot ?? void 0;
4102
+ return ut ?? void 0;
4103
4103
  }
4104
- we.subscribe((e) => {
4105
- ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4104
+ Pe.subscribe((e) => {
4105
+ ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4106
4106
  });
4107
- const Xi = (e) => {
4108
- if (e && Oi(e) && it(e)) {
4109
- const { loadingDelay: t } = te();
4107
+ const qi = (e) => {
4108
+ if (e && Ri(e) && at(e)) {
4109
+ const { loadingDelay: t } = ee();
4110
4110
  let r;
4111
4111
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4112
- () => De.set(!0),
4112
+ () => je.set(!0),
4113
4113
  t
4114
- ) : De.set(!0), wr(e).then(() => {
4115
- we.set(e);
4114
+ ) : je.set(!0), Sr(e).then(() => {
4115
+ Pe.set(e);
4116
4116
  }).finally(() => {
4117
- clearTimeout(r), De.set(!1);
4117
+ clearTimeout(r), je.set(!1);
4118
4118
  });
4119
4119
  }
4120
- return we.set(e);
4121
- }, ie = Wi(Vi({}, we), {
4122
- set: Xi
4123
- }), Be = (e) => {
4120
+ return Pe.set(e);
4121
+ }, ne = Qi(Zi({}, Pe), {
4122
+ set: qi
4123
+ }), Oe = (e) => {
4124
4124
  const t = /* @__PURE__ */ Object.create(null);
4125
4125
  return (n) => {
4126
4126
  const i = JSON.stringify(n);
4127
4127
  return i in t ? t[i] : t[i] = e(n);
4128
4128
  };
4129
4129
  };
4130
- var zi = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
4130
+ var Ji = Object.defineProperty, Se = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4131
4131
  for (var r in t || (t = {}))
4132
- Ar.call(t, r) && Ft(e, r, t[r]);
4133
- if (Ae)
4134
- for (var r of Ae(t))
4135
- Pr.call(t, r) && Ft(e, r, t[r]);
4132
+ Hr.call(t, r) && Dt(e, r, t[r]);
4133
+ if (Se)
4134
+ for (var r of Se(t))
4135
+ Tr.call(t, r) && Dt(e, r, t[r]);
4136
4136
  return e;
4137
- }, oe = (e, t) => {
4137
+ }, ie = (e, t) => {
4138
4138
  var r = {};
4139
4139
  for (var n in e)
4140
- Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
- if (e != null && Ae)
4142
- for (var n of Ae(e))
4143
- t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4140
+ Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
+ if (e != null && Se)
4142
+ for (var n of Se(e))
4143
+ t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
4144
4144
  return r;
4145
4145
  };
4146
4146
  const ce = (e, t) => {
4147
- const { formats: r } = te();
4147
+ const { formats: r } = ee();
4148
4148
  if (e in r && t in r[e])
4149
4149
  return r[e][t];
4150
4150
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4151
- }, Zi = Be(
4151
+ }, Yi = Oe(
4152
4152
  (e) => {
4153
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4153
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4154
4154
  if (r == null)
4155
4155
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4156
4156
  return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4157
4157
  }
4158
- ), Qi = Be(
4158
+ ), Ki = Oe(
4159
4159
  (e) => {
4160
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4160
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4161
4161
  if (r == null)
4162
4162
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4163
4163
  return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4164
4164
  }
4165
- ), qi = Be(
4165
+ ), eo = Oe(
4166
4166
  (e) => {
4167
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4167
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4168
4168
  if (r == null)
4169
4169
  throw new Error(
4170
4170
  '[svelte-i18n] A "locale" must be set to format time values'
4171
4171
  );
4172
4172
  return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4173
4173
  }
4174
- ), Ji = (e = {}) => {
4174
+ ), to = (e = {}) => {
4175
4175
  var t = e, {
4176
4176
  locale: r = j()
4177
- } = t, n = oe(t, [
4177
+ } = t, n = ie(t, [
4178
4178
  "locale"
4179
4179
  ]);
4180
- return Zi(ut({ locale: r }, n));
4181
- }, Yi = (e = {}) => {
4180
+ return Yi(ht({ locale: r }, n));
4181
+ }, ro = (e = {}) => {
4182
4182
  var t = e, {
4183
4183
  locale: r = j()
4184
- } = t, n = oe(t, [
4184
+ } = t, n = ie(t, [
4185
4185
  "locale"
4186
4186
  ]);
4187
- return Qi(ut({ locale: r }, n));
4188
- }, Ki = (e = {}) => {
4187
+ return Ki(ht({ locale: r }, n));
4188
+ }, no = (e = {}) => {
4189
4189
  var t = e, {
4190
4190
  locale: r = j()
4191
- } = t, n = oe(t, [
4191
+ } = t, n = ie(t, [
4192
4192
  "locale"
4193
4193
  ]);
4194
- return qi(ut({ locale: r }, n));
4195
- }, eo = Be(
4194
+ return eo(ht({ locale: r }, n));
4195
+ }, io = Oe(
4196
4196
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4197
- (e, t = j()) => new Hi(e, t, te().formats, {
4198
- ignoreTag: te().ignoreTag
4197
+ (e, t = j()) => new Ii(e, t, ee().formats, {
4198
+ ignoreTag: ee().ignoreTag
4199
4199
  })
4200
- ), to = (e, t = {}) => {
4200
+ ), oo = (e, t = {}) => {
4201
4201
  var r, n, i, o;
4202
4202
  let s = t;
4203
4203
  typeof e == "object" && (s = e, e = s.id);
@@ -4210,9 +4210,9 @@ const ce = (e, t) => {
4210
4210
  throw new Error(
4211
4211
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4212
4212
  );
4213
- let c = vr(e, l);
4213
+ let c = Er(e, l);
4214
4214
  if (!c)
4215
- c = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4215
+ c = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4216
4216
  else if (typeof c != "string")
4217
4217
  return console.warn(
4218
4218
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4221,7 +4221,7 @@ const ce = (e, t) => {
4221
4221
  return c;
4222
4222
  let f = c;
4223
4223
  try {
4224
- f = eo(c, l).format(a);
4224
+ f = io(c, l).format(a);
4225
4225
  } catch (h) {
4226
4226
  h instanceof Error && console.warn(
4227
4227
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4229,21 +4229,21 @@ const ce = (e, t) => {
4229
4229
  );
4230
4230
  }
4231
4231
  return f;
4232
- }, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = j()) => vr(e, t), so = ne([ie, fe], () => to);
4233
- ne([ie], () => ro);
4234
- ne([ie], () => no);
4235
- ne([ie], () => io);
4236
- ne([ie, fe], () => oo);
4237
- window.emWidgets = { topic: yn };
4238
- const Ut = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4232
+ }, so = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), uo = (e, t) => to(t).format(e), lo = (e, t = j()) => Er(e, t), co = re([ne, fe], () => oo);
4233
+ re([ne], () => so);
4234
+ re([ne], () => ao);
4235
+ re([ne], () => uo);
4236
+ re([ne, fe], () => lo);
4237
+ window.emWidgets = { topic: En };
4238
+ const Gt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4239
4239
  String(Number.MAX_SAFE_INTEGER).length;
4240
- function $t(e, t) {
4241
- xr(e, t);
4240
+ function kt(e, t) {
4241
+ Ar(e, t);
4242
4242
  }
4243
- function ao(e) {
4244
- ie.set(e);
4243
+ function ho(e) {
4244
+ ne.set(e);
4245
4245
  }
4246
- const Dt = {
4246
+ const jt = {
4247
4247
  en: {
4248
4248
  title: "My Account"
4249
4249
  },
@@ -4277,14 +4277,14 @@ const Dt = {
4277
4277
  "en-us": {
4278
4278
  title: "My Account"
4279
4279
  }
4280
- }, Q = "__WIDGET_GLOBAL_STYLE_CACHE__";
4281
- function uo(e, t) {
4280
+ }, Z = "__WIDGET_GLOBAL_STYLE_CACHE__";
4281
+ function fo(e, t) {
4282
4282
  if (e) {
4283
4283
  const r = document.createElement("style");
4284
4284
  r.innerHTML = t, e.appendChild(r);
4285
4285
  }
4286
4286
  }
4287
- function lo(e, t) {
4287
+ function po(e, t) {
4288
4288
  if (!e || !t)
4289
4289
  return;
4290
4290
  const r = new URL(t);
@@ -4295,32 +4295,32 @@ function lo(e, t) {
4295
4295
  console.error("There was an error while trying to load client styling from URL", n);
4296
4296
  });
4297
4297
  }
4298
- function co(e, t, r, n = !1) {
4298
+ function mo(e, t, r, n = !1) {
4299
4299
  if (!window.emMessageBus)
4300
4300
  return;
4301
4301
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
4302
- return r = ho(e, t), r;
4303
- window[Q] || (window[Q] = {}), r = fo(e, t);
4302
+ return r = bo(e, t), r;
4303
+ window[Z] || (window[Z] = {}), r = go(e, t);
4304
4304
  const o = r.unsubscribe.bind(r), s = () => {
4305
- if (window[Q][t]) {
4306
- const a = window[Q][t];
4307
- a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Q][t];
4305
+ if (window[Z][t]) {
4306
+ const a = window[Z][t];
4307
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Z][t];
4308
4308
  }
4309
4309
  o();
4310
4310
  };
4311
4311
  return r.unsubscribe = s, r;
4312
4312
  }
4313
- function ho(e, t) {
4313
+ function bo(e, t) {
4314
4314
  const r = document.createElement("style");
4315
4315
  return window.emMessageBus.subscribe(t, (n) => {
4316
4316
  e && (r.innerHTML = n, e.appendChild(r));
4317
4317
  });
4318
4318
  }
4319
- function fo(e, t) {
4319
+ function go(e, t) {
4320
4320
  return window.emMessageBus.subscribe(t, (r) => {
4321
4321
  if (!e)
4322
4322
  return;
4323
- const n = e.getRootNode(), i = window[Q];
4323
+ const n = e.getRootNode(), i = window[Z];
4324
4324
  let o = i[t] && i[t].sheet;
4325
4325
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4326
4326
  sheet: o,
@@ -4342,22 +4342,22 @@ if (typeof window < "u") {
4342
4342
  }
4343
4343
  };
4344
4344
  };
4345
- customElements.define = e(customElements.define), import("./GeneralLogout-CRrnphLg.js").then(({ default: t }) => {
4345
+ customElements.define = e(customElements.define), import("./GeneralLogout-8Of9Ahnl.js").then(({ default: t }) => {
4346
4346
  !customElements.get("general-logout") && customElements.define("general-logout", t.element);
4347
4347
  });
4348
4348
  }
4349
- function po(e) {
4350
- Ur(e, "svelte-j26xf8", '.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4349
+ function yo(e) {
4350
+ kr(e, "svelte-j26xf8", '.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4351
4351
  }
4352
- function Gt(e, t, r) {
4352
+ function Vt(e, t, r) {
4353
4353
  const n = e.slice();
4354
- return n[43] = t[r], n;
4354
+ return n[45] = t[r], n;
4355
4355
  }
4356
- function kt(e, t, r) {
4356
+ function Wt(e, t, r) {
4357
4357
  const n = e.slice();
4358
- return n[40] = t[r], n;
4358
+ return n[42] = t[r], n;
4359
4359
  }
4360
- function mo(e) {
4360
+ function vo(e) {
4361
4361
  let t, r, n, i, o = (
4362
4362
  /*showaliasasusername*/
4363
4363
  (e[5] === "true" ? (
@@ -4369,40 +4369,40 @@ function mo(e) {
4369
4369
  )) + ""
4370
4370
  ), s, a, l, u, c, f, h, d, m = (
4371
4371
  /*isMobile*/
4372
- e[14] && go(e)
4372
+ e[14] && xo(e)
4373
4373
  ), b = (
4374
4374
  /*isMobile*/
4375
- e[14] && yo(e)
4376
- ), g = xe(
4375
+ e[14] && Eo(e)
4376
+ ), g = we(
4377
4377
  /*menuItems*/
4378
4378
  e[8]
4379
- ), P = [];
4379
+ ), A = [];
4380
4380
  for (let v = 0; v < g.length; v += 1)
4381
- P[v] = jt(Gt(e, g, v));
4382
- let M = !/*isMobile*/
4383
- e[14] && vo(e);
4381
+ A[v] = Xt(Vt(e, g, v));
4382
+ let I = !/*isMobile*/
4383
+ e[14] && wo(e);
4384
4384
  return {
4385
4385
  c() {
4386
- t = S("div"), r = S("div"), m && m.c(), n = L(), i = S("p"), s = J(o), a = L(), l = S("p"), u = J(
4386
+ t = S("div"), r = S("div"), m && m.c(), n = R(), i = S("p"), s = q(o), a = R(), l = S("p"), u = q(
4387
4387
  /*profileEmail*/
4388
4388
  e[11]
4389
- ), c = L(), b && b.c(), f = L(), h = S("div");
4390
- for (let v = 0; v < P.length; v += 1)
4391
- P[v].c();
4392
- d = L(), M && M.c(), E(i, "class", "PlayerAccountMenuUser"), E(i, "translate", "no"), E(l, "class", "PlayerAccountMenuEmail"), E(l, "translate", "no"), E(r, "class", "PlayerAccountMenuHeader " + /*isMobile*/
4393
- (e[14] ? "PlayerAccountMenuHeaderMobile" : "")), E(h, "class", "PlayerAccountMenuList"), E(t, "class", "PlayerAccountMenuContainer " + /*isMobile*/
4389
+ ), c = R(), b && b.c(), f = R(), h = S("div");
4390
+ for (let v = 0; v < A.length; v += 1)
4391
+ A[v].c();
4392
+ d = R(), I && I.c(), x(i, "class", "PlayerAccountMenuUser"), x(i, "translate", "no"), x(l, "class", "PlayerAccountMenuEmail"), x(l, "translate", "no"), x(r, "class", "PlayerAccountMenuHeader " + /*isMobile*/
4393
+ (e[14] ? "PlayerAccountMenuHeaderMobile" : "")), x(h, "class", "PlayerAccountMenuList"), x(t, "class", "PlayerAccountMenuContainer " + /*isMobile*/
4394
4394
  (e[14] ? "PlayerAccountMobileContainer" : ""));
4395
4395
  },
4396
- m(v, B) {
4397
- F(v, t, B), y(t, r), m && m.m(r, null), y(r, n), y(r, i), y(i, s), y(r, a), y(r, l), y(l, u), y(r, c), b && b.m(r, null), y(t, f), y(t, h);
4398
- for (let _ = 0; _ < P.length; _ += 1)
4399
- P[_] && P[_].m(h, null);
4400
- y(t, d), M && M.m(t, null);
4396
+ m(v, M) {
4397
+ $(v, t, M), y(t, r), m && m.m(r, null), y(r, n), y(r, i), y(i, s), y(r, a), y(r, l), y(l, u), y(r, c), b && b.m(r, null), y(t, f), y(t, h);
4398
+ for (let P = 0; P < A.length; P += 1)
4399
+ A[P] && A[P].m(h, null);
4400
+ y(t, d), I && I.m(t, null);
4401
4401
  },
4402
- p(v, B) {
4402
+ p(v, M) {
4403
4403
  if (
4404
4404
  /*isMobile*/
4405
- v[14] && m.p(v, B), B[0] & /*showaliasasusername, profileAlias, profileUsername*/
4405
+ v[14] && m.p(v, M), M[0] & /*showaliasasusername, profileAlias, profileUsername*/
4406
4406
  5152 && o !== (o = /*showaliasasusername*/
4407
4407
  (v[5] === "true" ? (
4408
4408
  /*profileAlias*/
@@ -4410,54 +4410,54 @@ function mo(e) {
4410
4410
  ) : (
4411
4411
  /*profileUsername*/
4412
4412
  v[10]
4413
- )) + "") && _e(s, o), B[0] & /*profileEmail*/
4414
- 2048 && _e(
4413
+ )) + "") && Ee(s, o), M[0] & /*profileEmail*/
4414
+ 2048 && Ee(
4415
4415
  u,
4416
4416
  /*profileEmail*/
4417
4417
  v[11]
4418
4418
  ), /*isMobile*/
4419
- v[14] && b.p(v, B), B[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
4419
+ v[14] && b.p(v, M), M[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
4420
4420
  49920
4421
4421
  ) {
4422
- g = xe(
4422
+ g = we(
4423
4423
  /*menuItems*/
4424
4424
  v[8]
4425
4425
  );
4426
- let _;
4427
- for (_ = 0; _ < g.length; _ += 1) {
4428
- const D = Gt(v, g, _);
4429
- P[_] ? P[_].p(D, B) : (P[_] = jt(D), P[_].c(), P[_].m(h, null));
4426
+ let P;
4427
+ for (P = 0; P < g.length; P += 1) {
4428
+ const O = Vt(v, g, P);
4429
+ A[P] ? A[P].p(O, M) : (A[P] = Xt(O), A[P].c(), A[P].m(h, null));
4430
4430
  }
4431
- for (; _ < P.length; _ += 1)
4432
- P[_].d(1);
4433
- P.length = g.length;
4431
+ for (; P < A.length; P += 1)
4432
+ A[P].d(1);
4433
+ A.length = g.length;
4434
4434
  }
4435
4435
  /*isMobile*/
4436
- v[14] || M.p(v, B);
4436
+ v[14] || I.p(v, M);
4437
4437
  },
4438
4438
  d(v) {
4439
- v && R(t), m && m.d(), b && b.d(), Zt(P, v), M && M.d();
4439
+ v && U(t), m && m.d(), b && b.d(), Jt(A, v), I && I.d();
4440
4440
  }
4441
4441
  };
4442
4442
  }
4443
- function bo(e) {
4443
+ function _o(e) {
4444
4444
  let t, r, n, i, o, s, a, l, u, c, f = (
4445
4445
  /*isMobile*/
4446
- e[14] && _o()
4447
- ), h = xe(Array(18)), d = [];
4446
+ e[14] && Ao()
4447
+ ), h = we(Array(18)), d = [];
4448
4448
  for (let m = 0; m < h.length; m += 1)
4449
- d[m] = Vt(kt(e, h, m));
4449
+ d[m] = zt(Wt(e, h, m));
4450
4450
  return {
4451
4451
  c() {
4452
- t = S("div"), r = S("div"), f && f.c(), n = L(), i = S("ui-skeleton"), o = L(), s = S("ui-skeleton"), a = L(), l = S("div");
4452
+ t = S("div"), r = S("div"), f && f.c(), n = R(), i = S("ui-skeleton"), o = R(), s = S("ui-skeleton"), a = R(), l = S("div");
4453
4453
  for (let m = 0; m < d.length; m += 1)
4454
4454
  d[m].c();
4455
- u = L(), c = S("div"), c.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', A(i, "structure", "title"), A(i, "width", "100px"), A(i, "height", "20px"), A(i, "margin-top", "20px"), A(s, "structure", "text"), A(s, "width", "200px"), A(s, "height", "20px"), E(r, "class", "PlayerAccountMenuHeader " + /*isMobile*/
4456
- (e[14] ? "PlayerAccountMenuHeaderMobile" : "")), E(l, "class", "PlayerAccountMenuList"), E(c, "class", "skeletonLogOut"), E(t, "class", "PlayerAccountMenuContainer " + /*isMobile*/
4455
+ u = R(), c = S("div"), c.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', w(i, "structure", "title"), w(i, "width", "100px"), w(i, "height", "20px"), w(i, "margin-top", "20px"), w(s, "structure", "text"), w(s, "width", "200px"), w(s, "height", "20px"), x(r, "class", "PlayerAccountMenuHeader " + /*isMobile*/
4456
+ (e[14] ? "PlayerAccountMenuHeaderMobile" : "")), x(l, "class", "PlayerAccountMenuList"), x(c, "class", "skeletonLogOut"), x(t, "class", "PlayerAccountMenuContainer " + /*isMobile*/
4457
4457
  (e[14] ? "PlayerAccountMobileContainer" : ""));
4458
4458
  },
4459
4459
  m(m, b) {
4460
- F(m, t, b), y(t, r), f && f.m(r, null), y(r, n), y(r, i), y(r, o), y(r, s), y(t, a), y(t, l);
4460
+ $(m, t, b), y(t, r), f && f.m(r, null), y(r, n), y(r, i), y(r, o), y(r, s), y(t, a), y(t, l);
4461
4461
  for (let g = 0; g < d.length; g += 1)
4462
4462
  d[g] && d[g].m(l, null);
4463
4463
  y(t, u), y(t, c);
@@ -4465,11 +4465,11 @@ function bo(e) {
4465
4465
  p(m, b) {
4466
4466
  if (b[0] & /*isMobile*/
4467
4467
  16384) {
4468
- h = xe(Array(18));
4468
+ h = we(Array(18));
4469
4469
  let g;
4470
4470
  for (g = 0; g < h.length; g += 1) {
4471
- const P = kt(m, h, g);
4472
- d[g] ? d[g].p(P, b) : (d[g] = Vt(P), d[g].c(), d[g].m(l, null));
4471
+ const A = Wt(m, h, g);
4472
+ d[g] ? d[g].p(A, b) : (d[g] = zt(A), d[g].c(), d[g].m(l, null));
4473
4473
  }
4474
4474
  for (; g < d.length; g += 1)
4475
4475
  d[g].d(1);
@@ -4477,28 +4477,28 @@ function bo(e) {
4477
4477
  }
4478
4478
  },
4479
4479
  d(m) {
4480
- m && R(t), f && f.d(), Zt(d, m);
4480
+ m && U(t), f && f.d(), Jt(d, m);
4481
4481
  }
4482
4482
  };
4483
4483
  }
4484
- function go(e) {
4484
+ function xo(e) {
4485
4485
  let t, r, n, i, o, s, a, l, u, c, f = (
4486
4486
  /*$_*/
4487
4487
  e[13]("title") + ""
4488
4488
  ), h, d, m;
4489
4489
  return {
4490
4490
  c() {
4491
- t = S("div"), r = W("svg"), n = W("defs"), i = W("style"), o = J(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), s = W("g"), a = W("g"), l = W("path"), u = L(), c = S("h3"), h = J(f), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(c, "class", "PlayerAccountMenuCategoryTitle"), E(t, "class", "PlayerAccountMenuCategoryWrapper");
4491
+ t = S("div"), r = V("svg"), n = V("defs"), i = V("style"), o = q(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), s = V("g"), a = V("g"), l = V("path"), u = R(), c = S("h3"), h = q(f), x(l, "class", "aaa"), x(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(l, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(c, "class", "PlayerAccountMenuCategoryTitle"), x(t, "class", "PlayerAccountMenuCategoryWrapper");
4492
4492
  },
4493
4493
  m(b, g) {
4494
- F(b, t, g), y(t, r), y(r, n), y(n, i), y(i, o), y(r, s), y(s, a), y(a, l), y(t, u), y(t, c), y(c, h), d || (m = [
4495
- Ge(
4494
+ $(b, t, g), y(t, r), y(r, n), y(n, i), y(i, o), y(r, s), y(s, a), y(a, l), y(t, u), y(t, c), y(c, h), d || (m = [
4495
+ Ve(
4496
4496
  r,
4497
4497
  "click",
4498
4498
  /*goToHome*/
4499
4499
  e[16]
4500
4500
  ),
4501
- Ge(
4501
+ Ve(
4502
4502
  c,
4503
4503
  "click",
4504
4504
  /*goToHome*/
@@ -4509,74 +4509,74 @@ function go(e) {
4509
4509
  p(b, g) {
4510
4510
  g[0] & /*$_*/
4511
4511
  8192 && f !== (f = /*$_*/
4512
- b[13]("title") + "") && _e(h, f);
4512
+ b[13]("title") + "") && Ee(h, f);
4513
4513
  },
4514
4514
  d(b) {
4515
- b && R(t), d = !1, re(m);
4515
+ b && U(t), d = !1, te(m);
4516
4516
  }
4517
4517
  };
4518
4518
  }
4519
- function yo(e) {
4519
+ function Eo(e) {
4520
4520
  let t, r;
4521
4521
  return {
4522
4522
  c() {
4523
- t = S("div"), r = S("general-logout"), A(
4523
+ t = S("div"), r = S("general-logout"), w(
4524
4524
  r,
4525
4525
  "endpoint",
4526
4526
  /*endpoint*/
4527
4527
  e[1]
4528
- ), A(
4528
+ ), w(
4529
4529
  r,
4530
4530
  "session",
4531
4531
  /*session*/
4532
4532
  e[0]
4533
- ), A(r, "buttonlocation", "PlayerAccountMenu"), A(
4533
+ ), w(r, "buttonlocation", "PlayerAccountMenu"), w(
4534
4534
  r,
4535
4535
  "clientstyling",
4536
4536
  /*clientstyling*/
4537
4537
  e[2]
4538
- ), A(
4538
+ ), w(
4539
4539
  r,
4540
4540
  "clientstylingurl",
4541
4541
  /*clientstylingurl*/
4542
4542
  e[3]
4543
- ), A(
4543
+ ), w(
4544
4544
  r,
4545
4545
  "mbsource",
4546
4546
  /*mbsource*/
4547
4547
  e[4]
4548
- ), E(t, "class", "PlayerAccountLogOutArea");
4548
+ ), x(t, "class", "PlayerAccountLogOutArea");
4549
4549
  },
4550
4550
  m(n, i) {
4551
- F(n, t, i), y(t, r);
4551
+ $(n, t, i), y(t, r);
4552
4552
  },
4553
4553
  p(n, i) {
4554
4554
  i[0] & /*endpoint*/
4555
- 2 && A(
4555
+ 2 && w(
4556
4556
  r,
4557
4557
  "endpoint",
4558
4558
  /*endpoint*/
4559
4559
  n[1]
4560
4560
  ), i[0] & /*session*/
4561
- 1 && A(
4561
+ 1 && w(
4562
4562
  r,
4563
4563
  "session",
4564
4564
  /*session*/
4565
4565
  n[0]
4566
4566
  ), i[0] & /*clientstyling*/
4567
- 4 && A(
4567
+ 4 && w(
4568
4568
  r,
4569
4569
  "clientstyling",
4570
4570
  /*clientstyling*/
4571
4571
  n[2]
4572
4572
  ), i[0] & /*clientstylingurl*/
4573
- 8 && A(
4573
+ 8 && w(
4574
4574
  r,
4575
4575
  "clientstylingurl",
4576
4576
  /*clientstylingurl*/
4577
4577
  n[3]
4578
4578
  ), i[0] & /*mbsource*/
4579
- 16 && A(
4579
+ 16 && w(
4580
4580
  r,
4581
4581
  "mbsource",
4582
4582
  /*mbsource*/
@@ -4584,113 +4584,113 @@ function yo(e) {
4584
4584
  );
4585
4585
  },
4586
4586
  d(n) {
4587
- n && R(t);
4587
+ n && U(t);
4588
4588
  }
4589
4589
  };
4590
4590
  }
4591
- function jt(e) {
4591
+ function Xt(e) {
4592
4592
  let t, r, n, i, o, s, a = (
4593
4593
  /*menuItem*/
4594
- e[43].label + ""
4594
+ e[45].label + ""
4595
4595
  ), l, u, c, f, h;
4596
4596
  function d() {
4597
4597
  return (
4598
4598
  /*click_handler*/
4599
- e[27](
4599
+ e[28](
4600
4600
  /*menuItem*/
4601
- e[43]
4601
+ e[45]
4602
4602
  )
4603
4603
  );
4604
4604
  }
4605
4605
  return {
4606
4606
  c() {
4607
- t = S("div"), r = S("p"), n = S("img"), o = L(), s = S("span"), l = J(a), u = L(), E(n, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
4608
- (e[14] ? "PlayerAccountMenuItemIconMobile" : "")), bt(n.src, i = /*menuItem*/
4609
- e[43].img) || E(n, "src", i), E(s, "class", "PlayerAccountMenuItemTitle"), E(r, "class", "PlayerAccountMenuItemWrapper"), E(t, "class", c = "PlayerAccountMenuItemBox " + /*selectedItem*/
4607
+ t = S("div"), r = S("p"), n = S("img"), o = R(), s = S("span"), l = q(a), u = R(), x(n, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
4608
+ (e[14] ? "PlayerAccountMenuItemIconMobile" : "")), vt(n.src, i = /*menuItem*/
4609
+ e[45].img) || x(n, "src", i), x(s, "class", "PlayerAccountMenuItemTitle"), x(r, "class", "PlayerAccountMenuItemWrapper"), x(t, "class", c = "PlayerAccountMenuItemBox " + /*selectedItem*/
4610
4610
  (e[9] === /*menuItem*/
4611
- e[43].id && !/*isMobile*/
4611
+ e[45].id && !/*isMobile*/
4612
4612
  e[14] ? "PlayerAccountMenuActiveItemBox" : ""));
4613
4613
  },
4614
4614
  m(m, b) {
4615
- F(m, t, b), y(t, r), y(r, n), y(r, o), y(r, s), y(s, l), y(t, u), f || (h = Ge(t, "click", d), f = !0);
4615
+ $(m, t, b), y(t, r), y(r, n), y(r, o), y(r, s), y(s, l), y(t, u), f || (h = Ve(t, "click", d), f = !0);
4616
4616
  },
4617
4617
  p(m, b) {
4618
4618
  e = m, b[0] & /*menuItems*/
4619
- 256 && !bt(n.src, i = /*menuItem*/
4620
- e[43].img) && E(n, "src", i), b[0] & /*menuItems*/
4619
+ 256 && !vt(n.src, i = /*menuItem*/
4620
+ e[45].img) && x(n, "src", i), b[0] & /*menuItems*/
4621
4621
  256 && a !== (a = /*menuItem*/
4622
- e[43].label + "") && _e(l, a), b[0] & /*selectedItem, menuItems*/
4622
+ e[45].label + "") && Ee(l, a), b[0] & /*selectedItem, menuItems*/
4623
4623
  768 && c !== (c = "PlayerAccountMenuItemBox " + /*selectedItem*/
4624
4624
  (e[9] === /*menuItem*/
4625
- e[43].id && !/*isMobile*/
4626
- e[14] ? "PlayerAccountMenuActiveItemBox" : "")) && E(t, "class", c);
4625
+ e[45].id && !/*isMobile*/
4626
+ e[14] ? "PlayerAccountMenuActiveItemBox" : "")) && x(t, "class", c);
4627
4627
  },
4628
4628
  d(m) {
4629
- m && R(t), f = !1, h();
4629
+ m && U(t), f = !1, h();
4630
4630
  }
4631
4631
  };
4632
4632
  }
4633
- function vo(e) {
4633
+ function wo(e) {
4634
4634
  let t, r;
4635
4635
  return {
4636
4636
  c() {
4637
- t = S("div"), r = S("general-logout"), A(
4637
+ t = S("div"), r = S("general-logout"), w(
4638
4638
  r,
4639
4639
  "endpoint",
4640
4640
  /*endpoint*/
4641
4641
  e[1]
4642
- ), A(
4642
+ ), w(
4643
4643
  r,
4644
4644
  "session",
4645
4645
  /*session*/
4646
4646
  e[0]
4647
- ), A(r, "buttonlocation", "PlayerAccountMenu"), A(
4647
+ ), w(r, "buttonlocation", "PlayerAccountMenu"), w(
4648
4648
  r,
4649
4649
  "clientstyling",
4650
4650
  /*clientstyling*/
4651
4651
  e[2]
4652
- ), A(
4652
+ ), w(
4653
4653
  r,
4654
4654
  "clientstylingurl",
4655
4655
  /*clientstylingurl*/
4656
4656
  e[3]
4657
- ), A(
4657
+ ), w(
4658
4658
  r,
4659
4659
  "mbsource",
4660
4660
  /*mbsource*/
4661
4661
  e[4]
4662
- ), E(t, "class", "PlayerAccountLogOutArea");
4662
+ ), x(t, "class", "PlayerAccountLogOutArea");
4663
4663
  },
4664
4664
  m(n, i) {
4665
- F(n, t, i), y(t, r);
4665
+ $(n, t, i), y(t, r);
4666
4666
  },
4667
4667
  p(n, i) {
4668
4668
  i[0] & /*endpoint*/
4669
- 2 && A(
4669
+ 2 && w(
4670
4670
  r,
4671
4671
  "endpoint",
4672
4672
  /*endpoint*/
4673
4673
  n[1]
4674
4674
  ), i[0] & /*session*/
4675
- 1 && A(
4675
+ 1 && w(
4676
4676
  r,
4677
4677
  "session",
4678
4678
  /*session*/
4679
4679
  n[0]
4680
4680
  ), i[0] & /*clientstyling*/
4681
- 4 && A(
4681
+ 4 && w(
4682
4682
  r,
4683
4683
  "clientstyling",
4684
4684
  /*clientstyling*/
4685
4685
  n[2]
4686
4686
  ), i[0] & /*clientstylingurl*/
4687
- 8 && A(
4687
+ 8 && w(
4688
4688
  r,
4689
4689
  "clientstylingurl",
4690
4690
  /*clientstylingurl*/
4691
4691
  n[3]
4692
4692
  ), i[0] & /*mbsource*/
4693
- 16 && A(
4693
+ 16 && w(
4694
4694
  r,
4695
4695
  "mbsource",
4696
4696
  /*mbsource*/
@@ -4698,66 +4698,66 @@ function vo(e) {
4698
4698
  );
4699
4699
  },
4700
4700
  d(n) {
4701
- n && R(t);
4701
+ n && U(t);
4702
4702
  }
4703
4703
  };
4704
4704
  }
4705
- function _o(e) {
4705
+ function Ao(e) {
4706
4706
  let t;
4707
4707
  return {
4708
4708
  c() {
4709
- t = S("div"), t.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', E(t, "class", "PlayerAccountMenuCategoryWrapper");
4709
+ t = S("div"), t.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', x(t, "class", "PlayerAccountMenuCategoryWrapper");
4710
4710
  },
4711
4711
  m(r, n) {
4712
- F(r, t, n);
4712
+ $(r, t, n);
4713
4713
  },
4714
4714
  d(r) {
4715
- r && R(t);
4715
+ r && U(t);
4716
4716
  }
4717
4717
  };
4718
4718
  }
4719
- function xo(e) {
4719
+ function Po(e) {
4720
4720
  let t;
4721
4721
  return {
4722
4722
  c() {
4723
- t = S("ui-skeleton"), A(t, "structure", "circle"), A(t, "size", "20px");
4723
+ t = S("ui-skeleton"), w(t, "structure", "circle"), w(t, "size", "20px");
4724
4724
  },
4725
4725
  m(r, n) {
4726
- F(r, t, n);
4726
+ $(r, t, n);
4727
4727
  },
4728
4728
  d(r) {
4729
- r && R(t);
4729
+ r && U(t);
4730
4730
  }
4731
4731
  };
4732
4732
  }
4733
- function Vt(e) {
4733
+ function zt(e) {
4734
4734
  let t, r, n, i, o = !/*isMobile*/
4735
- e[14] && xo();
4735
+ e[14] && Po();
4736
4736
  return {
4737
4737
  c() {
4738
- t = S("div"), o && o.c(), r = L(), n = S("ui-skeleton"), i = L(), A(n, "structure", "rectangle"), A(n, "width", "100%"), A(
4738
+ t = S("div"), o && o.c(), r = R(), n = S("ui-skeleton"), i = R(), w(n, "structure", "rectangle"), w(n, "width", "100%"), w(
4739
4739
  n,
4740
4740
  "height",
4741
4741
  /*isMobile*/
4742
4742
  e[14] ? "60px" : "20px"
4743
- ), E(t, "class", "PlayerAccountItemWrap " + /*isMobile*/
4743
+ ), x(t, "class", "PlayerAccountItemWrap " + /*isMobile*/
4744
4744
  (e[14] ? "PlayerAccountItemWrapMobile" : ""));
4745
4745
  },
4746
4746
  m(s, a) {
4747
- F(s, t, a), o && o.m(t, null), y(t, r), y(t, n), y(t, i);
4747
+ $(s, t, a), o && o.m(t, null), y(t, r), y(t, n), y(t, i);
4748
4748
  },
4749
- p: N,
4749
+ p: F,
4750
4750
  d(s) {
4751
- s && R(t), o && o.d();
4751
+ s && U(t), o && o.d();
4752
4752
  }
4753
4753
  };
4754
4754
  }
4755
- function Eo(e) {
4755
+ function So(e) {
4756
4756
  let t;
4757
4757
  function r(o, s) {
4758
4758
  return (
4759
4759
  /*skeletonLoading*/
4760
- o[7] ? bo : mo
4760
+ o[7] ? _o : vo
4761
4761
  );
4762
4762
  }
4763
4763
  let n = r(e), i = n(e);
@@ -4766,36 +4766,43 @@ function Eo(e) {
4766
4766
  t = S("div"), i.c();
4767
4767
  },
4768
4768
  m(o, s) {
4769
- F(o, t, s), i.m(t, null), e[28](t);
4769
+ $(o, t, s), i.m(t, null), e[29](t);
4770
4770
  },
4771
4771
  p(o, s) {
4772
4772
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4773
4773
  },
4774
- i: N,
4775
- o: N,
4774
+ i: F,
4775
+ o: F,
4776
4776
  d(o) {
4777
- o && R(t), i.d(), e[28](null);
4777
+ o && U(t), i.d(), e[29](null);
4778
4778
  }
4779
4779
  };
4780
4780
  }
4781
- function wo(e, t, r) {
4781
+ function Ho(e, t, r) {
4782
4782
  let n;
4783
- Fr(e, so, (p) => r(13, n = p));
4784
- let { endpoint: i = "" } = t, { cmsendpoint: o = "" } = t, { env: s = "" } = t, { session: a = "" } = t, { playerid: l = "" } = t, { lang: u = "en" } = t, { selecteditem: c = "" } = t, { userroles: f = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: m } = t, { translationurl: b = "" } = t, { activemenuitem: g = "" } = t, { showaliasasusername: P = "false" } = t, M = !1, v = !1, B = !0, _, D, V = [], Ie, lt = window.navigator.userAgent, Sr = Ut(lt) !== "PC", ct = "", ht = "", Oe = "";
4783
+ Gr(e, co, (p) => r(13, n = p));
4784
+ let { endpoint: i = "" } = t, { cmsendpoint: o = "" } = t, { env: s = "" } = t, { session: a = "" } = t, { playerid: l = "" } = t, { lang: u = "en" } = t, { selecteditem: c = "" } = t, { userroles: f = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: m } = t, { translationurl: b = "" } = t, { activemenuitem: g = "" } = t, { showaliasasusername: A = "false" } = t, { statementenabled: I } = t, v = !1, M = !1, P = !0, O, pe, Ce = [], Le, ft = window.navigator.userAgent, Mr = Gt(ft) !== "PC", pt = "", mt = "", Ne = "";
4785
+ const Br = [
4786
+ "/transaction-history",
4787
+ "/external-transactions-history",
4788
+ "/sport/betting-history",
4789
+ "/gaming-history",
4790
+ "/bonus-history"
4791
+ ];
4785
4792
  window.matchMedia("(min-width: 768px)");
4786
- const Hr = () => {
4787
- fetch(b).then((C) => C.json()).then((C) => {
4788
- Object.keys(C).forEach((U) => {
4789
- $t(U, C[U]);
4793
+ const Ir = () => {
4794
+ fetch(b).then((N) => N.json()).then((N) => {
4795
+ Object.keys(N).forEach((B) => {
4796
+ kt(B, N[B]);
4790
4797
  });
4791
- }).catch((C) => {
4792
- console.error(C);
4798
+ }).catch((N) => {
4799
+ console.error(N);
4793
4800
  });
4794
4801
  };
4795
- Object.keys(Dt).forEach((p) => {
4796
- $t(p, Dt[p]);
4802
+ Object.keys(jt).forEach((p) => {
4803
+ kt(p, jt[p]);
4797
4804
  });
4798
- const ft = (p) => {
4805
+ const dt = (p) => {
4799
4806
  if (p.data)
4800
4807
  switch (p.data.type) {
4801
4808
  case "AccountMenuDetails":
@@ -4805,90 +4812,100 @@ function wo(e, t, r) {
4805
4812
  r(0, a = p.data.session);
4806
4813
  break;
4807
4814
  case "AliasUpdated":
4808
- P === "true" && p.data.alias && r(12, Oe = p.data.alias);
4815
+ A === "true" && p.data.alias && r(12, Ne = p.data.alias);
4809
4816
  break;
4810
4817
  }
4811
- }, Tr = () => {
4812
- let p = Ut(lt);
4818
+ }, Or = () => {
4819
+ let p = Gt(ft);
4813
4820
  if (p)
4814
4821
  return p === "PC" ? "dk" : "mtWeb";
4815
- }, Mr = () => {
4822
+ }, Cr = () => {
4816
4823
  const p = new URL(`${o}/${u}/profile-menu?env=${s}`);
4817
- p.searchParams.append("device", Tr()), fetch(p.href).then((C) => C.json()).then((C) => {
4818
- r(8, V = C), mt();
4819
- }).catch((C) => {
4820
- console.error("Error getting menu items", C);
4824
+ p.searchParams.append("device", Or()), fetch(p.href).then((N) => N.json()).then((N) => {
4825
+ let B = [...N];
4826
+ if (I === "true") {
4827
+ B = B.filter((oe) => !Br.includes(oe.path));
4828
+ const me = B.findIndex((oe) => oe.path === "/statement");
4829
+ if (me !== -1) {
4830
+ const [oe] = B.splice(me, 1);
4831
+ B.splice(6, 0, oe);
4832
+ }
4833
+ } else
4834
+ B = B.filter((me) => me.path !== "/statement");
4835
+ r(8, Ce = B), gt();
4836
+ }).catch((N) => {
4837
+ console.error("Error getting menu items", N);
4821
4838
  }).finally(() => {
4822
- r(25, M = !0);
4839
+ r(26, v = !0);
4823
4840
  });
4824
- }, Br = () => {
4841
+ }, Lr = () => {
4825
4842
  let p = new URL(`${i}/v1/player/${l}/profile`);
4826
4843
  p.searchParams.append("userRoles", f);
4827
- let C = {
4844
+ let N = {
4828
4845
  method: "GET",
4829
4846
  headers: { "X-SessionID": a }
4830
4847
  };
4831
- fetch(p.href, C).then((U) => U.json()).then(
4832
- (U) => {
4833
- r(10, ct = U.username), r(11, ht = U.email), P === "true" && r(12, Oe = U.alias || "");
4848
+ fetch(p.href, N).then((B) => B.json()).then(
4849
+ (B) => {
4850
+ r(10, pt = B.username), r(11, mt = B.email), A === "true" && r(12, Ne = B.alias || "");
4834
4851
  },
4835
- (U) => {
4836
- console.error(U);
4852
+ (B) => {
4853
+ console.error(B);
4837
4854
  }
4838
4855
  ).finally(() => {
4839
- r(26, v = !0);
4856
+ r(27, M = !0);
4840
4857
  });
4841
- }, pt = (p) => {
4842
- window.postMessage({ type: "ChangeAccountPage", page: p }, window.location.href), r(9, Ie = p.id);
4843
- }, mt = () => {
4844
- r(9, Ie = V.find((p) => p.path.includes(g))?.id);
4845
- }, Ir = () => {
4858
+ }, bt = (p) => {
4859
+ window.postMessage({ type: "ChangeAccountPage", page: p }, window.location.href), r(9, Le = p.id);
4860
+ }, gt = () => {
4861
+ r(9, Le = Ce.find((p) => p.path.includes(g))?.id);
4862
+ }, Nr = () => {
4846
4863
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
4847
- }, Or = () => {
4848
- ao(u);
4849
- }, Cr = () => {
4850
- Br();
4864
+ }, Rr = () => {
4865
+ ho(u);
4866
+ }, Fr = () => {
4867
+ Lr();
4851
4868
  };
4852
- Vr(() => (window.addEventListener("message", ft, !1), () => {
4853
- window.removeEventListener("message", ft);
4869
+ Zr(() => (window.addEventListener("message", dt, !1), () => {
4870
+ window.removeEventListener("message", dt);
4854
4871
  }));
4855
- const Lr = (p) => pt(p);
4856
- function Nr(p) {
4857
- ke[p ? "unshift" : "push"](() => {
4858
- _ = p, r(6, _);
4872
+ const Ur = (p) => bt(p);
4873
+ function $r(p) {
4874
+ We[p ? "unshift" : "push"](() => {
4875
+ O = p, r(6, O);
4859
4876
  });
4860
4877
  }
4861
4878
  return e.$$set = (p) => {
4862
- "endpoint" in p && r(1, i = p.endpoint), "cmsendpoint" in p && r(17, o = p.cmsendpoint), "env" in p && r(18, s = p.env), "session" in p && r(0, a = p.session), "playerid" in p && r(19, l = p.playerid), "lang" in p && r(20, u = p.lang), "selecteditem" in p && r(21, c = p.selecteditem), "userroles" in p && r(22, f = p.userroles), "clientstyling" in p && r(2, h = p.clientstyling), "clientstylingurl" in p && r(3, d = p.clientstylingurl), "mbsource" in p && r(4, m = p.mbsource), "translationurl" in p && r(23, b = p.translationurl), "activemenuitem" in p && r(24, g = p.activemenuitem), "showaliasasusername" in p && r(5, P = p.showaliasasusername);
4879
+ "endpoint" in p && r(1, i = p.endpoint), "cmsendpoint" in p && r(17, o = p.cmsendpoint), "env" in p && r(18, s = p.env), "session" in p && r(0, a = p.session), "playerid" in p && r(19, l = p.playerid), "lang" in p && r(20, u = p.lang), "selecteditem" in p && r(21, c = p.selecteditem), "userroles" in p && r(22, f = p.userroles), "clientstyling" in p && r(2, h = p.clientstyling), "clientstylingurl" in p && r(3, d = p.clientstylingurl), "mbsource" in p && r(4, m = p.mbsource), "translationurl" in p && r(23, b = p.translationurl), "activemenuitem" in p && r(24, g = p.activemenuitem), "showaliasasusername" in p && r(5, A = p.showaliasasusername), "statementenabled" in p && r(25, I = p.statementenabled);
4863
4880
  }, e.$$.update = () => {
4864
4881
  e.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
4865
- 100663296 && r(7, B = !M || !v), e.$$.dirty[0] & /*lang*/
4866
- 1048576 && u && Or(), e.$$.dirty[0] & /*endpoint, session, playerid, lang*/
4867
- 1572867 && i && a && l && u && Cr(), e.$$.dirty[0] & /*cmsendpoint, lang, env*/
4868
- 1441792 && o && u && s && Mr(), e.$$.dirty[0] & /*activemenuitem*/
4869
- 16777216 && g && mt(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4870
- 68 && h && _ && uo(_, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4871
- 72 && d && _ && lo(_, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4872
- 80 && m && _ && co(_, `${m}.Style`, D), e.$$.dirty[0] & /*translationurl*/
4873
- 8388608 && b && Hr();
4882
+ 201326592 && r(7, P = !v || !M), e.$$.dirty[0] & /*lang*/
4883
+ 1048576 && u && Rr(), e.$$.dirty[0] & /*endpoint, session, playerid, lang*/
4884
+ 1572867 && i && a && l && u && Fr(), e.$$.dirty[0] & /*cmsendpoint, lang, env*/
4885
+ 1441792 && o && u && s && Cr(), e.$$.dirty[0] & /*activemenuitem*/
4886
+ 16777216 && g && gt(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4887
+ 68 && h && O && fo(O, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4888
+ 72 && d && O && po(O, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4889
+ 80 && m && O && mo(O, `${m}.Style`, pe), e.$$.dirty[0] & /*translationurl*/
4890
+ 8388608 && b && Ir();
4874
4891
  }, [
4875
4892
  a,
4876
4893
  i,
4877
4894
  h,
4878
4895
  d,
4879
4896
  m,
4897
+ A,
4898
+ O,
4880
4899
  P,
4881
- _,
4882
- B,
4883
- V,
4884
- Ie,
4885
- ct,
4886
- ht,
4887
- Oe,
4888
- n,
4889
- Sr,
4900
+ Ce,
4901
+ Le,
4890
4902
  pt,
4891
- Ir,
4903
+ mt,
4904
+ Ne,
4905
+ n,
4906
+ Mr,
4907
+ bt,
4908
+ Nr,
4892
4909
  o,
4893
4910
  s,
4894
4911
  l,
@@ -4897,20 +4914,21 @@ function wo(e, t, r) {
4897
4914
  f,
4898
4915
  b,
4899
4916
  g,
4900
- M,
4917
+ I,
4901
4918
  v,
4902
- Lr,
4903
- Nr
4919
+ M,
4920
+ Ur,
4921
+ $r
4904
4922
  ];
4905
4923
  }
4906
- class Ao extends rn {
4924
+ class To extends an {
4907
4925
  constructor(t) {
4908
- super(), en(
4926
+ super(), on(
4909
4927
  this,
4910
4928
  t,
4911
- wo,
4912
- Eo,
4913
- Xt,
4929
+ Ho,
4930
+ So,
4931
+ Qt,
4914
4932
  {
4915
4933
  endpoint: 1,
4916
4934
  cmsendpoint: 17,
@@ -4925,9 +4943,10 @@ class Ao extends rn {
4925
4943
  mbsource: 4,
4926
4944
  translationurl: 23,
4927
4945
  activemenuitem: 24,
4928
- showaliasasusername: 5
4946
+ showaliasasusername: 5,
4947
+ statementenabled: 25
4929
4948
  },
4930
- po,
4949
+ yo,
4931
4950
  [-1, -1]
4932
4951
  );
4933
4952
  }
@@ -4935,116 +4954,122 @@ class Ao extends rn {
4935
4954
  return this.$$.ctx[1];
4936
4955
  }
4937
4956
  set endpoint(t) {
4938
- this.$$set({ endpoint: t }), I();
4957
+ this.$$set({ endpoint: t }), C();
4939
4958
  }
4940
4959
  get cmsendpoint() {
4941
4960
  return this.$$.ctx[17];
4942
4961
  }
4943
4962
  set cmsendpoint(t) {
4944
- this.$$set({ cmsendpoint: t }), I();
4963
+ this.$$set({ cmsendpoint: t }), C();
4945
4964
  }
4946
4965
  get env() {
4947
4966
  return this.$$.ctx[18];
4948
4967
  }
4949
4968
  set env(t) {
4950
- this.$$set({ env: t }), I();
4969
+ this.$$set({ env: t }), C();
4951
4970
  }
4952
4971
  get session() {
4953
4972
  return this.$$.ctx[0];
4954
4973
  }
4955
4974
  set session(t) {
4956
- this.$$set({ session: t }), I();
4975
+ this.$$set({ session: t }), C();
4957
4976
  }
4958
4977
  get playerid() {
4959
4978
  return this.$$.ctx[19];
4960
4979
  }
4961
4980
  set playerid(t) {
4962
- this.$$set({ playerid: t }), I();
4981
+ this.$$set({ playerid: t }), C();
4963
4982
  }
4964
4983
  get lang() {
4965
4984
  return this.$$.ctx[20];
4966
4985
  }
4967
4986
  set lang(t) {
4968
- this.$$set({ lang: t }), I();
4987
+ this.$$set({ lang: t }), C();
4969
4988
  }
4970
4989
  get selecteditem() {
4971
4990
  return this.$$.ctx[21];
4972
4991
  }
4973
4992
  set selecteditem(t) {
4974
- this.$$set({ selecteditem: t }), I();
4993
+ this.$$set({ selecteditem: t }), C();
4975
4994
  }
4976
4995
  get userroles() {
4977
4996
  return this.$$.ctx[22];
4978
4997
  }
4979
4998
  set userroles(t) {
4980
- this.$$set({ userroles: t }), I();
4999
+ this.$$set({ userroles: t }), C();
4981
5000
  }
4982
5001
  get clientstyling() {
4983
5002
  return this.$$.ctx[2];
4984
5003
  }
4985
5004
  set clientstyling(t) {
4986
- this.$$set({ clientstyling: t }), I();
5005
+ this.$$set({ clientstyling: t }), C();
4987
5006
  }
4988
5007
  get clientstylingurl() {
4989
5008
  return this.$$.ctx[3];
4990
5009
  }
4991
5010
  set clientstylingurl(t) {
4992
- this.$$set({ clientstylingurl: t }), I();
5011
+ this.$$set({ clientstylingurl: t }), C();
4993
5012
  }
4994
5013
  get mbsource() {
4995
5014
  return this.$$.ctx[4];
4996
5015
  }
4997
5016
  set mbsource(t) {
4998
- this.$$set({ mbsource: t }), I();
5017
+ this.$$set({ mbsource: t }), C();
4999
5018
  }
5000
5019
  get translationurl() {
5001
5020
  return this.$$.ctx[23];
5002
5021
  }
5003
5022
  set translationurl(t) {
5004
- this.$$set({ translationurl: t }), I();
5023
+ this.$$set({ translationurl: t }), C();
5005
5024
  }
5006
5025
  get activemenuitem() {
5007
5026
  return this.$$.ctx[24];
5008
5027
  }
5009
5028
  set activemenuitem(t) {
5010
- this.$$set({ activemenuitem: t }), I();
5029
+ this.$$set({ activemenuitem: t }), C();
5011
5030
  }
5012
5031
  get showaliasasusername() {
5013
5032
  return this.$$.ctx[5];
5014
5033
  }
5015
5034
  set showaliasasusername(t) {
5016
- this.$$set({ showaliasasusername: t }), I();
5035
+ this.$$set({ showaliasasusername: t }), C();
5036
+ }
5037
+ get statementenabled() {
5038
+ return this.$$.ctx[25];
5039
+ }
5040
+ set statementenabled(t) {
5041
+ this.$$set({ statementenabled: t }), C();
5017
5042
  }
5018
5043
  }
5019
- tn(Ao, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {}, showaliasasusername: {} }, [], [], !0);
5044
+ sn(To, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {}, showaliasasusername: {}, statementenabled: {} }, [], [], !0);
5020
5045
  export {
5021
- ie as $,
5022
- Ao as P,
5023
- rn as S,
5024
- xr as a,
5025
- Ur as b,
5026
- tn as c,
5027
- R as d,
5028
- F as e,
5029
- I as f,
5046
+ ne as $,
5047
+ To as P,
5048
+ an as S,
5049
+ Ar as a,
5050
+ kr as b,
5051
+ sn as c,
5052
+ U as d,
5053
+ $ as e,
5054
+ C as f,
5030
5055
  S as g,
5031
- Fr as h,
5032
- en as i,
5033
- Ut as j,
5034
- ke as k,
5056
+ Gr as h,
5057
+ on as i,
5058
+ Gt as j,
5059
+ We as k,
5035
5060
  y as l,
5036
- Ge as m,
5037
- N as n,
5038
- Vr as o,
5039
- W as p,
5040
- L as q,
5041
- E as r,
5042
- Xt as s,
5043
- J as t,
5044
- So as u,
5045
- _e as v,
5046
- so as w,
5047
- uo as x,
5048
- lo as y,
5049
- co as z
5061
+ Ve as m,
5062
+ F as n,
5063
+ Zr as o,
5064
+ V as p,
5065
+ R as q,
5066
+ x as r,
5067
+ Qt as s,
5068
+ q as t,
5069
+ Bo as u,
5070
+ Ee as v,
5071
+ co as w,
5072
+ fo as x,
5073
+ po as y,
5074
+ mo as z
5050
5075
  };