@everymatrix/player-reality-check 1.76.3 → 1.76.5

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,25 +1,25 @@
1
- import "../stencil/ui-skeleton-BKDs0-7H.js";
1
+ import "../stencil/ui-skeleton-hI4GeaLk.js";
2
2
  function N() {
3
3
  }
4
- function kt(e) {
4
+ function Dt(e) {
5
5
  return e();
6
6
  }
7
- function lt() {
7
+ function pt() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function ce(e) {
11
- e.forEach(kt);
10
+ function le(e) {
11
+ e.forEach(Dt);
12
12
  }
13
- function ot(e) {
13
+ function ct(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function $t(e, t) {
16
+ function jt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
- function vr(e) {
19
+ function Sr(e) {
20
20
  return Object.keys(e).length === 0;
21
21
  }
22
- function Ut(e, ...t) {
22
+ function Gt(e, ...t) {
23
23
  if (e == null) {
24
24
  for (const n of t)
25
25
  n(void 0);
@@ -28,20 +28,20 @@ function Ut(e, ...t) {
28
28
  const r = e.subscribe(...t);
29
29
  return r.unsubscribe ? () => r.unsubscribe() : r;
30
30
  }
31
- function _r(e, t, r) {
32
- e.$$.on_destroy.push(Ut(t, r));
31
+ function wr(e, t, r) {
32
+ e.$$.on_destroy.push(Gt(t, r));
33
33
  }
34
34
  function b(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function xr(e, t, r) {
38
- const n = Er(e);
37
+ function Tr(e, t, r) {
38
+ const n = Hr(e);
39
39
  if (!n.getElementById(t)) {
40
- const i = H("style");
41
- i.id = t, i.textContent = r, Sr(n, i);
40
+ const i = T("style");
41
+ i.id = t, i.textContent = r, Cr(n, i);
42
42
  }
43
43
  }
44
- function Er(e) {
44
+ function Hr(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,34 +51,34 @@ function Er(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function Sr(e, t) {
54
+ function Cr(e, t) {
55
55
  return b(
56
56
  /** @type {Document} */
57
57
  e.head || e,
58
58
  t
59
59
  ), t.sheet;
60
60
  }
61
- function j(e, t, r) {
61
+ function G(e, t, r) {
62
62
  e.insertBefore(t, r || null);
63
63
  }
64
64
  function U(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function Ft(e, t) {
67
+ function Vt(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
71
- function H(e) {
71
+ function T(e) {
72
72
  return document.createElement(e);
73
73
  }
74
74
  function K(e) {
75
75
  return document.createElementNS("http://www.w3.org/2000/svg", e);
76
76
  }
77
- function q(e) {
77
+ function W(e) {
78
78
  return document.createTextNode(e);
79
79
  }
80
- function G() {
81
- return q(" ");
80
+ function j() {
81
+ return W(" ");
82
82
  }
83
83
  function Ce(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -90,7 +90,7 @@ function A(e, t, r) {
90
90
  const n = t.toLowerCase();
91
91
  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);
92
92
  }
93
- function wr(e) {
93
+ function Br(e) {
94
94
  let t;
95
95
  return {
96
96
  /* push */
@@ -103,17 +103,17 @@ function wr(e) {
103
103
  }
104
104
  };
105
105
  }
106
- function Tr(e) {
106
+ function Ar(e) {
107
107
  return Array.from(e.childNodes);
108
108
  }
109
109
  function ne(e, t) {
110
110
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
111
111
  t);
112
112
  }
113
- function Hr(e, t) {
113
+ function Pr(e, t) {
114
114
  e.value = t ?? "";
115
115
  }
116
- function Cr(e) {
116
+ function Or(e) {
117
117
  const t = {};
118
118
  return e.childNodes.forEach(
119
119
  /** @param {Element} node */
@@ -122,90 +122,90 @@ function Cr(e) {
122
122
  }
123
123
  ), t;
124
124
  }
125
- let be;
126
- function me(e) {
127
- be = e;
125
+ let me;
126
+ function de(e) {
127
+ me = e;
128
128
  }
129
- function Br() {
130
- if (!be)
129
+ function Rr() {
130
+ if (!me)
131
131
  throw new Error("Function called outside component initialization");
132
- return be;
132
+ return me;
133
133
  }
134
- function Ar(e) {
135
- Br().$$.on_mount.push(e);
134
+ function Mr(e) {
135
+ Rr().$$.on_mount.push(e);
136
136
  }
137
- const re = [], Ge = [];
137
+ const re = [], Xe = [];
138
138
  let ie = [];
139
- const ct = [], Pr = /* @__PURE__ */ Promise.resolve();
140
- let je = !1;
141
- function Or() {
142
- je || (je = !0, Pr.then(V));
139
+ const dt = [], Ir = /* @__PURE__ */ Promise.resolve();
140
+ let ze = !1;
141
+ function Lr() {
142
+ ze || (ze = !0, Ir.then(V));
143
143
  }
144
- function Ve(e) {
144
+ function qe(e) {
145
145
  ie.push(e);
146
146
  }
147
- const Le = /* @__PURE__ */ new Set();
147
+ const ke = /* @__PURE__ */ new Set();
148
148
  let ee = 0;
149
149
  function V() {
150
150
  if (ee !== 0)
151
151
  return;
152
- const e = be;
152
+ const e = me;
153
153
  do {
154
154
  try {
155
155
  for (; ee < re.length; ) {
156
156
  const t = re[ee];
157
- ee++, me(t), Rr(t.$$);
157
+ ee++, de(t), Nr(t.$$);
158
158
  }
159
159
  } catch (t) {
160
160
  throw re.length = 0, ee = 0, t;
161
161
  }
162
- for (me(null), re.length = 0, ee = 0; Ge.length; )
163
- Ge.pop()();
162
+ for (de(null), re.length = 0, ee = 0; Xe.length; )
163
+ Xe.pop()();
164
164
  for (let t = 0; t < ie.length; t += 1) {
165
165
  const r = ie[t];
166
- Le.has(r) || (Le.add(r), r());
166
+ ke.has(r) || (ke.add(r), r());
167
167
  }
168
168
  ie.length = 0;
169
169
  } while (re.length);
170
- for (; ct.length; )
171
- ct.pop()();
172
- je = !1, Le.clear(), me(e);
170
+ for (; dt.length; )
171
+ dt.pop()();
172
+ ze = !1, ke.clear(), de(e);
173
173
  }
174
- function Rr(e) {
174
+ function Nr(e) {
175
175
  if (e.fragment !== null) {
176
- e.update(), ce(e.before_update);
176
+ e.update(), le(e.before_update);
177
177
  const t = e.dirty;
178
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
178
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qe);
179
179
  }
180
180
  }
181
- function Mr(e) {
181
+ function kr(e) {
182
182
  const t = [], r = [];
183
183
  ie.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ie = t;
184
184
  }
185
- const Ir = /* @__PURE__ */ new Set();
186
- function Lr(e, t) {
187
- e && e.i && (Ir.delete(e), e.i(t));
185
+ const $r = /* @__PURE__ */ new Set();
186
+ function Ur(e, t) {
187
+ e && e.i && ($r.delete(e), e.i(t));
188
188
  }
189
- function Xe(e) {
189
+ function We(e) {
190
190
  return e?.length !== void 0 ? e : Array.from(e);
191
191
  }
192
- function Nr(e, t, r) {
192
+ function Fr(e, t, r) {
193
193
  const { fragment: n, after_update: i } = e.$$;
194
- n && n.m(t, r), Ve(() => {
195
- const o = e.$$.on_mount.map(kt).filter(ot);
196
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
197
- }), i.forEach(Ve);
194
+ n && n.m(t, r), qe(() => {
195
+ const o = e.$$.on_mount.map(Dt).filter(ct);
196
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : le(o), e.$$.on_mount = [];
197
+ }), i.forEach(qe);
198
198
  }
199
- function kr(e, t) {
199
+ function Dr(e, t) {
200
200
  const r = e.$$;
201
- r.fragment !== null && (Mr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
201
+ r.fragment !== null && (kr(r.after_update), le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
202
  }
203
- function $r(e, t) {
204
- e.$$.dirty[0] === -1 && (re.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
+ function jr(e, t) {
204
+ e.$$.dirty[0] === -1 && (re.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
205
205
  }
206
- function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
207
- const l = be;
208
- me(e);
206
+ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
207
+ const l = me;
208
+ de(e);
209
209
  const u = e.$$ = {
210
210
  fragment: null,
211
211
  ctx: [],
@@ -213,7 +213,7 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
213
213
  props: o,
214
214
  update: N,
215
215
  not_equal: i,
216
- bound: lt(),
216
+ bound: pt(),
217
217
  // lifecycle
218
218
  on_mount: [],
219
219
  on_destroy: [],
@@ -222,28 +222,28 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
222
222
  after_update: [],
223
223
  context: new Map(t.context || (l ? l.$$.context : [])),
224
224
  // everything else
225
- callbacks: lt(),
225
+ callbacks: pt(),
226
226
  dirty: a,
227
227
  skip_bound: !1,
228
228
  root: t.target || l.$$.root
229
229
  };
230
230
  s && s(u.root);
231
231
  let c = !1;
232
- if (u.ctx = r(e, t.props || {}, (f, h, ...p) => {
233
- const m = p.length ? p[0] : h;
234
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && $r(e, f)), h;
235
- }), u.update(), c = !0, ce(u.before_update), u.fragment = n(u.ctx), t.target) {
232
+ if (u.ctx = r ? r(e, t.props || {}, (f, h, ...d) => {
233
+ const m = d.length ? d[0] : h;
234
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && jr(e, f)), h;
235
+ }) : [], u.update(), c = !0, le(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
236
236
  if (t.hydrate) {
237
- const f = Tr(t.target);
237
+ const f = Ar(t.target);
238
238
  u.fragment && u.fragment.l(f), f.forEach(U);
239
239
  } else
240
240
  u.fragment && u.fragment.c();
241
- t.intro && Lr(e.$$.fragment), Nr(e, t.target, t.anchor), V();
241
+ t.intro && Ur(e.$$.fragment), Fr(e, t.target, t.anchor), V();
242
242
  }
243
- me(l);
243
+ de(l);
244
244
  }
245
- let Dt;
246
- typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
245
+ let Xt;
246
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
247
247
  /** The Svelte component constructor */
248
248
  $$ctor;
249
249
  /** Slots */
@@ -285,14 +285,14 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
285
285
  let o;
286
286
  return {
287
287
  c: function() {
288
- o = H("slot"), i !== "default" && x(o, "name", i);
288
+ o = T("slot"), i !== "default" && x(o, "name", i);
289
289
  },
290
290
  /**
291
291
  * @param {HTMLElement} target
292
292
  * @param {HTMLElement} [anchor]
293
293
  */
294
294
  m: function(l, u) {
295
- j(l, o, u);
295
+ G(l, o, u);
296
296
  },
297
297
  d: function(l) {
298
298
  l && U(o);
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
302
302
  };
303
303
  if (await Promise.resolve(), !this.$$cn || this.$$c)
304
304
  return;
305
- const t = {}, r = Cr(this);
305
+ const t = {}, r = Or(this);
306
306
  for (const i of this.$$s)
307
307
  i in r && (t[i] = [e(i)]);
308
308
  for (const i of this.attributes) {
@@ -389,8 +389,8 @@ function Se(e, t, r, n) {
389
389
  return t;
390
390
  }
391
391
  }
392
- function Fr(e, t, r, n, i, o) {
393
- let s = class extends Dt {
392
+ function Vr(e, t, r, n, i, o) {
393
+ let s = class extends Xt {
394
394
  constructor() {
395
395
  super(e, r, i), this.$$p_d = t;
396
396
  }
@@ -418,7 +418,7 @@ function Fr(e, t, r, n, i, o) {
418
418
  }), e.element = /** @type {any} */
419
419
  s, s;
420
420
  }
421
- class Dr {
421
+ class Xr {
422
422
  /**
423
423
  * ### PRIVATE API
424
424
  *
@@ -437,7 +437,7 @@ class Dr {
437
437
  $$set = void 0;
438
438
  /** @returns {void} */
439
439
  $destroy() {
440
- kr(this, 1), this.$destroy = N;
440
+ Dr(this, 1), this.$destroy = N;
441
441
  }
442
442
  /**
443
443
  * @template {Extract<keyof Events, string>} K
@@ -446,7 +446,7 @@ class Dr {
446
446
  * @returns {() => void}
447
447
  */
448
448
  $on(t, r) {
449
- if (!ot(r))
449
+ if (!ct(r))
450
450
  return N;
451
451
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
452
452
  return n.push(r), () => {
@@ -459,11 +459,11 @@ class Dr {
459
459
  * @returns {void}
460
460
  */
461
461
  $set(t) {
462
- this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
462
+ this.$$set && !Sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
463
463
  }
464
464
  }
465
- const Gr = "4";
466
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
465
+ const zr = "4";
466
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
467
467
  /*! *****************************************************************************
468
468
  Copyright (c) Microsoft Corporation.
469
469
 
@@ -478,43 +478,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
478
478
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
479
479
  PERFORMANCE OF THIS SOFTWARE.
480
480
  ***************************************************************************** */
481
- var ze = function(e, t) {
482
- return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
481
+ var Ze = function(e, t) {
482
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
483
483
  r.__proto__ = n;
484
484
  } || function(r, n) {
485
485
  for (var i in n)
486
486
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
487
- }, ze(e, t);
487
+ }, Ze(e, t);
488
488
  };
489
- function Z(e, t) {
489
+ function ge(e, t) {
490
490
  if (typeof t != "function" && t !== null)
491
491
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
492
- ze(e, t);
492
+ Ze(e, t);
493
493
  function r() {
494
494
  this.constructor = e;
495
495
  }
496
496
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
497
497
  }
498
- var S = function() {
499
- return S = Object.assign || function(t) {
500
- for (var r, n = 1, i = arguments.length; n < i; n++) {
501
- r = arguments[n];
502
- for (var o in r)
503
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
504
- }
505
- return t;
506
- }, S.apply(this, arguments);
507
- };
508
- function jr(e, t) {
509
- var r = {};
510
- for (var n in e)
511
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
512
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
513
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
514
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
515
- return r;
516
- }
517
- function qe(e) {
498
+ function Qe(e) {
518
499
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
519
500
  if (r)
520
501
  return r.call(e);
@@ -526,7 +507,7 @@ function qe(e) {
526
507
  };
527
508
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
528
509
  }
529
- function We(e, t) {
510
+ function Je(e, t) {
530
511
  var r = typeof Symbol == "function" && e[Symbol.iterator];
531
512
  if (!r)
532
513
  return e;
@@ -546,22 +527,22 @@ function We(e, t) {
546
527
  }
547
528
  return o;
548
529
  }
549
- function oe(e, t, r) {
550
- if (r || arguments.length === 2)
530
+ function Ye(e, t, r) {
531
+ if (arguments.length === 2)
551
532
  for (var n = 0, i = t.length, o; n < i; n++)
552
533
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
553
534
  return e.concat(o || t);
554
535
  }
555
- function W(e) {
536
+ function Z(e) {
556
537
  return typeof e == "function";
557
538
  }
558
- function Gt(e) {
539
+ function zt(e) {
559
540
  var t = function(n) {
560
541
  Error.call(n), n.stack = new Error().stack;
561
542
  }, r = e(t);
562
543
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
563
544
  }
564
- var Ne = Gt(function(e) {
545
+ var $e = zt(function(e) {
565
546
  return function(r) {
566
547
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
567
548
  ` + r.map(function(n, i) {
@@ -570,13 +551,13 @@ var Ne = Gt(function(e) {
570
551
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
571
552
  };
572
553
  });
573
- function Ze(e, t) {
554
+ function Ke(e, t) {
574
555
  if (e) {
575
556
  var r = e.indexOf(t);
576
557
  0 <= r && e.splice(r, 1);
577
558
  }
578
559
  }
579
- var Pe = function() {
560
+ var Oe = function() {
580
561
  function e(t) {
581
562
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
582
563
  }
@@ -588,12 +569,12 @@ var Pe = function() {
588
569
  if (s)
589
570
  if (this._parentage = null, Array.isArray(s))
590
571
  try {
591
- for (var a = qe(s), l = a.next(); !l.done; l = a.next()) {
572
+ for (var a = Qe(s), l = a.next(); !l.done; l = a.next()) {
592
573
  var u = l.value;
593
574
  u.remove(this);
594
575
  }
595
- } catch (d) {
596
- t = { error: d };
576
+ } catch (p) {
577
+ t = { error: p };
597
578
  } finally {
598
579
  try {
599
580
  l && !l.done && (r = a.return) && r.call(a);
@@ -605,29 +586,29 @@ var Pe = function() {
605
586
  else
606
587
  s.remove(this);
607
588
  var c = this.initialTeardown;
608
- if (W(c))
589
+ if (Z(c))
609
590
  try {
610
591
  c();
611
- } catch (d) {
612
- o = d instanceof Ne ? d.errors : [d];
592
+ } catch (p) {
593
+ o = p instanceof $e ? p.errors : [p];
613
594
  }
614
595
  var f = this._finalizers;
615
596
  if (f) {
616
597
  this._finalizers = null;
617
598
  try {
618
- for (var h = qe(f), p = h.next(); !p.done; p = h.next()) {
619
- var m = p.value;
599
+ for (var h = Qe(f), d = h.next(); !d.done; d = h.next()) {
600
+ var m = d.value;
620
601
  try {
621
- ht(m);
622
- } catch (d) {
623
- o = o ?? [], d instanceof Ne ? o = oe(oe([], We(o)), We(d.errors)) : o.push(d);
602
+ mt(m);
603
+ } catch (p) {
604
+ o = o ?? [], p instanceof $e ? o = Ye(Ye([], Je(o)), Je(p.errors)) : o.push(p);
624
605
  }
625
606
  }
626
- } catch (d) {
627
- n = { error: d };
607
+ } catch (p) {
608
+ n = { error: p };
628
609
  } finally {
629
610
  try {
630
- p && !p.done && (i = h.return) && i.call(h);
611
+ d && !d.done && (i = h.return) && i.call(h);
631
612
  } finally {
632
613
  if (n)
633
614
  throw n.error;
@@ -635,13 +616,13 @@ var Pe = function() {
635
616
  }
636
617
  }
637
618
  if (o)
638
- throw new Ne(o);
619
+ throw new $e(o);
639
620
  }
640
621
  }, e.prototype.add = function(t) {
641
622
  var r;
642
623
  if (t && t !== this)
643
624
  if (this.closed)
644
- ht(t);
625
+ mt(t);
645
626
  else {
646
627
  if (t instanceof e) {
647
628
  if (t.closed || t._hasParent(this))
@@ -658,56 +639,52 @@ var Pe = function() {
658
639
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
659
640
  }, e.prototype._removeParent = function(t) {
660
641
  var r = this._parentage;
661
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
642
+ r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
662
643
  }, e.prototype.remove = function(t) {
663
644
  var r = this._finalizers;
664
- r && Ze(r, t), t instanceof e && t._removeParent(this);
645
+ r && Ke(r, t), t instanceof e && t._removeParent(this);
665
646
  }, e.EMPTY = function() {
666
647
  var t = new e();
667
648
  return t.closed = !0, t;
668
649
  }(), e;
669
- }(), jt = Pe.EMPTY;
670
- function Vt(e) {
671
- return e instanceof Pe || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
672
- }
673
- function ht(e) {
674
- W(e) ? e() : e.unsubscribe();
675
- }
676
- var Vr = {
677
- onUnhandledError: null,
678
- onStoppedNotification: null,
679
- Promise: void 0,
680
- useDeprecatedSynchronousErrorHandling: !1,
681
- useDeprecatedNextContext: !1
682
- }, Xr = {
650
+ }(), qt = Oe.EMPTY;
651
+ function Wt(e) {
652
+ return e instanceof Oe || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
653
+ }
654
+ function mt(e) {
655
+ Z(e) ? e() : e.unsubscribe();
656
+ }
657
+ var qr = {
658
+ Promise: void 0
659
+ }, Wr = {
683
660
  setTimeout: function(e, t) {
684
661
  for (var r = [], n = 2; n < arguments.length; n++)
685
662
  r[n - 2] = arguments[n];
686
- return setTimeout.apply(void 0, oe([e, t], We(r)));
663
+ return setTimeout.apply(void 0, Ye([e, t], Je(r)));
687
664
  },
688
665
  clearTimeout: function(e) {
689
666
  return clearTimeout(e);
690
667
  },
691
668
  delegate: void 0
692
669
  };
693
- function zr(e) {
694
- Xr.setTimeout(function() {
670
+ function Zr(e) {
671
+ Wr.setTimeout(function() {
695
672
  throw e;
696
673
  });
697
674
  }
698
- function ft() {
675
+ function bt() {
699
676
  }
700
677
  function we(e) {
701
678
  e();
702
679
  }
703
- var Xt = function(e) {
704
- Z(t, e);
680
+ var Zt = function(e) {
681
+ ge(t, e);
705
682
  function t(r) {
706
683
  var n = e.call(this) || this;
707
- return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = Zr, n;
684
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = Yr, n;
708
685
  }
709
686
  return t.create = function(r, n, i) {
710
- return new Qe(r, n, i);
687
+ return new et(r, n, i);
711
688
  }, t.prototype.next = function(r) {
712
689
  this.isStopped || this._next(r);
713
690
  }, t.prototype.error = function(r) {
@@ -731,7 +708,7 @@ var Xt = function(e) {
731
708
  this.unsubscribe();
732
709
  }
733
710
  }, t;
734
- }(Pe), qr = function() {
711
+ }(Oe), Qr = function() {
735
712
  function e(t) {
736
713
  this.partialObserver = t;
737
714
  }
@@ -762,43 +739,43 @@ var Xt = function(e) {
762
739
  xe(r);
763
740
  }
764
741
  }, e;
765
- }(), Qe = function(e) {
766
- Z(t, e);
742
+ }(), et = function(e) {
743
+ ge(t, e);
767
744
  function t(r, n, i) {
768
745
  var o = e.call(this) || this, s;
769
- return W(r) || !r ? s = {
746
+ return Z(r) || !r ? s = {
770
747
  next: r ?? void 0,
771
748
  error: n ?? void 0,
772
749
  complete: i ?? void 0
773
- } : s = r, o.destination = new qr(s), o;
750
+ } : s = r, o.destination = new Qr(s), o;
774
751
  }
775
752
  return t;
776
- }(Xt);
753
+ }(Zt);
777
754
  function xe(e) {
778
- zr(e);
755
+ Zr(e);
779
756
  }
780
- function Wr(e) {
757
+ function Jr(e) {
781
758
  throw e;
782
759
  }
783
- var Zr = {
760
+ var Yr = {
784
761
  closed: !0,
785
- next: ft,
786
- error: Wr,
787
- complete: ft
788
- }, Qr = function() {
762
+ next: bt,
763
+ error: Jr,
764
+ complete: bt
765
+ }, Kr = function() {
789
766
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
790
767
  }();
791
- function Jr(e) {
768
+ function en(e) {
792
769
  return e;
793
770
  }
794
- function Yr(e) {
795
- return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
771
+ function tn(e) {
772
+ return e.length === 0 ? en : e.length === 1 ? e[0] : function(r) {
796
773
  return e.reduce(function(n, i) {
797
774
  return i(n);
798
775
  }, r);
799
776
  };
800
777
  }
801
- var dt = function() {
778
+ var yt = function() {
802
779
  function e(t) {
803
780
  t && (this._subscribe = t);
804
781
  }
@@ -806,7 +783,7 @@ var dt = function() {
806
783
  var r = new e();
807
784
  return r.source = this, r.operator = t, r;
808
785
  }, e.prototype.subscribe = function(t, r, n) {
809
- var i = this, o = en(t) ? t : new Qe(t, r, n);
786
+ var i = this, o = nn(t) ? t : new et(t, r, n);
810
787
  return we(function() {
811
788
  var s = i, a = s.operator, l = s.source;
812
789
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -819,8 +796,8 @@ var dt = function() {
819
796
  }
820
797
  }, e.prototype.forEach = function(t, r) {
821
798
  var n = this;
822
- return r = pt(r), new r(function(i, o) {
823
- var s = new Qe({
799
+ return r = gt(r), new r(function(i, o) {
800
+ var s = new et({
824
801
  next: function(a) {
825
802
  try {
826
803
  t(a);
@@ -836,15 +813,15 @@ var dt = function() {
836
813
  }, e.prototype._subscribe = function(t) {
837
814
  var r;
838
815
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
839
- }, e.prototype[Qr] = function() {
816
+ }, e.prototype[Kr] = function() {
840
817
  return this;
841
818
  }, e.prototype.pipe = function() {
842
819
  for (var t = [], r = 0; r < arguments.length; r++)
843
820
  t[r] = arguments[r];
844
- return Yr(t)(this);
821
+ return tn(t)(this);
845
822
  }, e.prototype.toPromise = function(t) {
846
823
  var r = this;
847
- return t = pt(t), new t(function(n, i) {
824
+ return t = gt(t), new t(function(n, i) {
848
825
  var o;
849
826
  r.subscribe(function(s) {
850
827
  return o = s;
@@ -858,32 +835,32 @@ var dt = function() {
858
835
  return new e(t);
859
836
  }, e;
860
837
  }();
861
- function pt(e) {
838
+ function gt(e) {
862
839
  var t;
863
- return (t = e ?? Vr.Promise) !== null && t !== void 0 ? t : Promise;
840
+ return (t = e ?? qr.Promise) !== null && t !== void 0 ? t : Promise;
864
841
  }
865
- function Kr(e) {
866
- return e && W(e.next) && W(e.error) && W(e.complete);
842
+ function rn(e) {
843
+ return e && Z(e.next) && Z(e.error) && Z(e.complete);
867
844
  }
868
- function en(e) {
869
- return e && e instanceof Xt || Kr(e) && Vt(e);
845
+ function nn(e) {
846
+ return e && e instanceof Zt || rn(e) && Wt(e);
870
847
  }
871
- var tn = Gt(function(e) {
848
+ var on = zt(function(e) {
872
849
  return function() {
873
850
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
874
851
  };
875
- }), zt = function(e) {
876
- Z(t, e);
852
+ }), Qt = function(e) {
853
+ ge(t, e);
877
854
  function t() {
878
855
  var r = e.call(this) || this;
879
856
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
880
857
  }
881
858
  return t.prototype.lift = function(r) {
882
- var n = new mt(this, this);
859
+ var n = new vt(this, this);
883
860
  return n.operator = r, n;
884
861
  }, t.prototype._throwIfClosed = function() {
885
862
  if (this.closed)
886
- throw new tn();
863
+ throw new on();
887
864
  }, t.prototype.next = function(r) {
888
865
  var n = this;
889
866
  we(function() {
@@ -891,7 +868,7 @@ var tn = Gt(function(e) {
891
868
  if (n._throwIfClosed(), !n.isStopped) {
892
869
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
893
870
  try {
894
- for (var s = qe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
871
+ for (var s = Qe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
895
872
  var l = a.value;
896
873
  l.next(r);
897
874
  }
@@ -940,20 +917,20 @@ var tn = Gt(function(e) {
940
917
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
941
918
  }, t.prototype._innerSubscribe = function(r) {
942
919
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
943
- return o || s ? jt : (this.currentObservers = null, a.push(r), new Pe(function() {
944
- n.currentObservers = null, Ze(a, r);
920
+ return o || s ? qt : (this.currentObservers = null, a.push(r), new Oe(function() {
921
+ n.currentObservers = null, Ke(a, r);
945
922
  }));
946
923
  }, t.prototype._checkFinalizedStatuses = function(r) {
947
924
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
948
925
  i ? r.error(o) : s && r.complete();
949
926
  }, t.prototype.asObservable = function() {
950
- var r = new dt();
927
+ var r = new yt();
951
928
  return r.source = this, r;
952
929
  }, t.create = function(r, n) {
953
- return new mt(r, n);
930
+ return new vt(r, n);
954
931
  }, t;
955
- }(dt), mt = function(e) {
956
- Z(t, e);
932
+ }(yt), vt = function(e) {
933
+ ge(t, e);
957
934
  function t(r, n) {
958
935
  var i = e.call(this) || this;
959
936
  return i.destination = r, i.source = n, i;
@@ -969,17 +946,17 @@ var tn = Gt(function(e) {
969
946
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
970
947
  }, t.prototype._subscribe = function(r) {
971
948
  var n, i;
972
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
949
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
973
950
  }, t;
974
- }(zt), qt = {
951
+ }(Qt), Jt = {
975
952
  now: function() {
976
- return (qt.delegate || Date).now();
953
+ return (Jt.delegate || Date).now();
977
954
  },
978
955
  delegate: void 0
979
- }, rn = function(e) {
980
- Z(t, e);
956
+ }, sn = function(e) {
957
+ ge(t, e);
981
958
  function t(r, n, i) {
982
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
959
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
983
960
  var o = e.call(this) || this;
984
961
  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;
985
962
  }
@@ -999,24 +976,24 @@ var tn = Gt(function(e) {
999
976
  u && o.splice(0, u + 1);
1000
977
  }
1001
978
  }, t;
1002
- }(zt);
1003
- const bt = [], yt = {}, nn = (e, t = 0) => {
1004
- if (bt.indexOf(e) == -1) {
1005
- const r = new rn(t);
1006
- yt[e] = r, bt.push(e);
979
+ }(Qt);
980
+ const _t = [], xt = {}, an = (e, t = 0) => {
981
+ if (_t.indexOf(e) == -1) {
982
+ const r = new sn(t);
983
+ xt[e] = r, _t.push(e);
1007
984
  }
1008
- return yt[e];
985
+ return xt[e];
1009
986
  }, te = [];
1010
- function on(e, t) {
987
+ function un(e, t) {
1011
988
  return {
1012
- subscribe: Oe(e, t).subscribe
989
+ subscribe: Re(e, t).subscribe
1013
990
  };
1014
991
  }
1015
- function Oe(e, t = N) {
992
+ function Re(e, t = N) {
1016
993
  let r;
1017
994
  const n = /* @__PURE__ */ new Set();
1018
995
  function i(a) {
1019
- if ($t(e, a) && (e = a, r)) {
996
+ if (jt(e, a) && (e = a, r)) {
1020
997
  const l = !te.length;
1021
998
  for (const u of n)
1022
999
  u[1](), te.push(u, e);
@@ -1038,12 +1015,12 @@ function Oe(e, t = N) {
1038
1015
  }
1039
1016
  return { set: i, update: o, subscribe: s };
1040
1017
  }
1041
- function he(e, t, r) {
1018
+ function ce(e, t, r) {
1042
1019
  const n = !Array.isArray(e), i = n ? [e] : e;
1043
1020
  if (!i.every(Boolean))
1044
1021
  throw new Error("derived() expects stores as input, got a falsy value");
1045
1022
  const o = t.length < 2;
1046
- return on(r, (s, a) => {
1023
+ return un(r, (s, a) => {
1047
1024
  let l = !1;
1048
1025
  const u = [];
1049
1026
  let c = 0, f = N;
@@ -1052,131 +1029,170 @@ function he(e, t, r) {
1052
1029
  return;
1053
1030
  f();
1054
1031
  const m = t(n ? u[0] : u, s, a);
1055
- o ? s(m) : f = ot(m) ? m : N;
1056
- }, p = i.map(
1057
- (m, d) => Ut(
1032
+ o ? s(m) : f = ct(m) ? m : N;
1033
+ }, d = i.map(
1034
+ (m, p) => Gt(
1058
1035
  m,
1059
1036
  (y) => {
1060
- u[d] = y, c &= ~(1 << d), l && h();
1037
+ u[p] = y, c &= ~(1 << p), l && h();
1061
1038
  },
1062
1039
  () => {
1063
- c |= 1 << d;
1040
+ c |= 1 << p;
1064
1041
  }
1065
1042
  )
1066
1043
  );
1067
1044
  return l = !0, h(), function() {
1068
- ce(p), f(), l = !1;
1045
+ le(d), f(), l = !1;
1069
1046
  };
1070
1047
  });
1071
1048
  }
1072
- function sn(e) {
1073
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1049
+ function ln(e) {
1050
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1074
1051
  }
1075
- var an = function(t) {
1076
- return un(t) && !ln(t);
1052
+ var cn = function(t) {
1053
+ return hn(t) && !fn(t);
1077
1054
  };
1078
- function un(e) {
1055
+ function hn(e) {
1079
1056
  return !!e && typeof e == "object";
1080
1057
  }
1081
- function ln(e) {
1058
+ function fn(e) {
1082
1059
  var t = Object.prototype.toString.call(e);
1083
- return t === "[object RegExp]" || t === "[object Date]" || fn(e);
1060
+ return t === "[object RegExp]" || t === "[object Date]" || mn(e);
1084
1061
  }
1085
- var cn = typeof Symbol == "function" && Symbol.for, hn = cn ? Symbol.for("react.element") : 60103;
1086
- function fn(e) {
1087
- return e.$$typeof === hn;
1062
+ var pn = typeof Symbol == "function" && Symbol.for, dn = pn ? Symbol.for("react.element") : 60103;
1063
+ function mn(e) {
1064
+ return e.$$typeof === dn;
1088
1065
  }
1089
- function dn(e) {
1066
+ function bn(e) {
1090
1067
  return Array.isArray(e) ? [] : {};
1091
1068
  }
1092
- function ye(e, t) {
1093
- return t.clone !== !1 && t.isMergeableObject(e) ? se(dn(e), e, t) : e;
1069
+ function be(e, t) {
1070
+ return t.clone !== !1 && t.isMergeableObject(e) ? oe(bn(e), e, t) : e;
1094
1071
  }
1095
- function pn(e, t, r) {
1072
+ function yn(e, t, r) {
1096
1073
  return e.concat(t).map(function(n) {
1097
- return ye(n, r);
1074
+ return be(n, r);
1098
1075
  });
1099
1076
  }
1100
- function mn(e, t) {
1077
+ function gn(e, t) {
1101
1078
  if (!t.customMerge)
1102
- return se;
1079
+ return oe;
1103
1080
  var r = t.customMerge(e);
1104
- return typeof r == "function" ? r : se;
1081
+ return typeof r == "function" ? r : oe;
1105
1082
  }
1106
- function bn(e) {
1083
+ function vn(e) {
1107
1084
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1108
1085
  return Object.propertyIsEnumerable.call(e, t);
1109
1086
  }) : [];
1110
1087
  }
1111
- function gt(e) {
1112
- return Object.keys(e).concat(bn(e));
1088
+ function Et(e) {
1089
+ return Object.keys(e).concat(vn(e));
1113
1090
  }
1114
- function Wt(e, t) {
1091
+ function Yt(e, t) {
1115
1092
  try {
1116
1093
  return t in e;
1117
1094
  } catch {
1118
1095
  return !1;
1119
1096
  }
1120
1097
  }
1121
- function yn(e, t) {
1122
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1098
+ function _n(e, t) {
1099
+ return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1123
1100
  }
1124
- function gn(e, t, r) {
1101
+ function xn(e, t, r) {
1125
1102
  var n = {};
1126
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1127
- n[i] = ye(e[i], r);
1128
- }), gt(t).forEach(function(i) {
1129
- yn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
1103
+ return r.isMergeableObject(e) && Et(e).forEach(function(i) {
1104
+ n[i] = be(e[i], r);
1105
+ }), Et(t).forEach(function(i) {
1106
+ _n(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = be(t[i], r));
1130
1107
  }), n;
1131
1108
  }
1132
- function se(e, t, r) {
1133
- r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || an, r.cloneUnlessOtherwiseSpecified = ye;
1109
+ function oe(e, t, r) {
1110
+ r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = be;
1134
1111
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1135
- return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ye(t, r);
1112
+ return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : be(t, r);
1136
1113
  }
1137
- se.all = function(t, r) {
1114
+ oe.all = function(t, r) {
1138
1115
  if (!Array.isArray(t))
1139
1116
  throw new Error("first argument should be an array");
1140
1117
  return t.reduce(function(n, i) {
1141
- return se(n, i, r);
1118
+ return oe(n, i, r);
1142
1119
  }, {});
1143
1120
  };
1144
- var vn = se, _n = vn;
1145
- const xn = /* @__PURE__ */ sn(_n);
1146
- function ke(e, t) {
1147
- var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : Sn;
1121
+ var En = oe, Sn = En;
1122
+ const wn = /* @__PURE__ */ ln(Sn);
1123
+ var tt = function(e, t) {
1124
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1125
+ r.__proto__ = n;
1126
+ } || function(r, n) {
1127
+ for (var i in n)
1128
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1129
+ }, tt(e, t);
1130
+ };
1131
+ function Me(e, t) {
1132
+ if (typeof t != "function" && t !== null)
1133
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1134
+ tt(e, t);
1135
+ function r() {
1136
+ this.constructor = e;
1137
+ }
1138
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1139
+ }
1140
+ var X = function() {
1141
+ return X = Object.assign || function(t) {
1142
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1143
+ r = arguments[n];
1144
+ for (var o in r)
1145
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1146
+ }
1147
+ return t;
1148
+ }, X.apply(this, arguments);
1149
+ };
1150
+ function Tn(e, t) {
1151
+ var r = {};
1152
+ for (var n in e)
1153
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1154
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1155
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1156
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1157
+ return r;
1158
+ }
1159
+ function Ue(e, t, r) {
1160
+ if (r || arguments.length === 2)
1161
+ for (var n = 0, i = t.length, o; n < i; n++)
1162
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1163
+ return e.concat(o || Array.prototype.slice.call(t));
1164
+ }
1165
+ function Fe(e, t) {
1166
+ var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : Pn, i = t && t.strategy ? t.strategy : Bn;
1148
1167
  return i(e, {
1149
1168
  cache: r,
1150
1169
  serializer: n
1151
1170
  });
1152
1171
  }
1153
- function En(e) {
1172
+ function Hn(e) {
1154
1173
  return e == null || typeof e == "number" || typeof e == "boolean";
1155
1174
  }
1156
- function Zt(e, t, r, n) {
1157
- var i = En(n) ? n : r(n), o = t.get(i);
1175
+ function Cn(e, t, r, n) {
1176
+ var i = Hn(n) ? n : r(n), o = t.get(i);
1158
1177
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1159
1178
  }
1160
- function Qt(e, t, r) {
1179
+ function Kt(e, t, r) {
1161
1180
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1162
1181
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1163
1182
  }
1164
- function st(e, t, r, n, i) {
1183
+ function er(e, t, r, n, i) {
1165
1184
  return r.bind(t, e, n, i);
1166
1185
  }
1167
- function Sn(e, t) {
1168
- var r = e.length === 1 ? Zt : Qt;
1169
- return st(e, this, r, t.cache.create(), t.serializer);
1186
+ function Bn(e, t) {
1187
+ var r = e.length === 1 ? Cn : Kt;
1188
+ return er(e, this, r, t.cache.create(), t.serializer);
1170
1189
  }
1171
- function wn(e, t) {
1172
- return st(e, this, Qt, t.cache.create(), t.serializer);
1190
+ function An(e, t) {
1191
+ return er(e, this, Kt, t.cache.create(), t.serializer);
1173
1192
  }
1174
- function Tn(e, t) {
1175
- return st(e, this, Zt, t.cache.create(), t.serializer);
1176
- }
1177
- var Hn = function() {
1193
+ var Pn = function() {
1178
1194
  return JSON.stringify(arguments);
1179
- }, Cn = (
1195
+ }, On = (
1180
1196
  /** @class */
1181
1197
  function() {
1182
1198
  function e() {
@@ -1188,62 +1204,71 @@ var Hn = function() {
1188
1204
  this.cache[t] = r;
1189
1205
  }, e;
1190
1206
  }()
1191
- ), Bn = {
1207
+ ), Rn = {
1192
1208
  create: function() {
1193
- return new Cn();
1209
+ return new On();
1194
1210
  }
1195
- }, $e = {
1196
- variadic: wn,
1197
- monadic: Tn
1198
- }, v;
1211
+ }, De = {
1212
+ variadic: An
1213
+ }, Be = function() {
1214
+ return Be = Object.assign || function(t) {
1215
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1216
+ r = arguments[n];
1217
+ for (var o in r)
1218
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1219
+ }
1220
+ return t;
1221
+ }, Be.apply(this, arguments);
1222
+ };
1223
+ var v;
1199
1224
  (function(e) {
1200
1225
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1201
1226
  })(v || (v = {}));
1202
- var C;
1227
+ var H;
1203
1228
  (function(e) {
1204
1229
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1205
- })(C || (C = {}));
1206
- var ae;
1230
+ })(H || (H = {}));
1231
+ var se;
1207
1232
  (function(e) {
1208
1233
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1209
- })(ae || (ae = {}));
1210
- function vt(e) {
1211
- return e.type === C.literal;
1234
+ })(se || (se = {}));
1235
+ function St(e) {
1236
+ return e.type === H.literal;
1212
1237
  }
1213
- function An(e) {
1214
- return e.type === C.argument;
1238
+ function Mn(e) {
1239
+ return e.type === H.argument;
1215
1240
  }
1216
- function Jt(e) {
1217
- return e.type === C.number;
1241
+ function tr(e) {
1242
+ return e.type === H.number;
1218
1243
  }
1219
- function Yt(e) {
1220
- return e.type === C.date;
1244
+ function rr(e) {
1245
+ return e.type === H.date;
1221
1246
  }
1222
- function Kt(e) {
1223
- return e.type === C.time;
1247
+ function nr(e) {
1248
+ return e.type === H.time;
1224
1249
  }
1225
- function er(e) {
1226
- return e.type === C.select;
1250
+ function ir(e) {
1251
+ return e.type === H.select;
1227
1252
  }
1228
- function tr(e) {
1229
- return e.type === C.plural;
1253
+ function or(e) {
1254
+ return e.type === H.plural;
1230
1255
  }
1231
- function Pn(e) {
1232
- return e.type === C.pound;
1256
+ function In(e) {
1257
+ return e.type === H.pound;
1233
1258
  }
1234
- function rr(e) {
1235
- return e.type === C.tag;
1259
+ function sr(e) {
1260
+ return e.type === H.tag;
1236
1261
  }
1237
- function nr(e) {
1238
- return !!(e && typeof e == "object" && e.type === ae.number);
1262
+ function ar(e) {
1263
+ return !!(e && typeof e == "object" && e.type === se.number);
1239
1264
  }
1240
- function Je(e) {
1241
- return !!(e && typeof e == "object" && e.type === ae.dateTime);
1265
+ function rt(e) {
1266
+ return !!(e && typeof e == "object" && e.type === se.dateTime);
1242
1267
  }
1243
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1244
- function Rn(e) {
1268
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[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;
1269
+ function Nn(e) {
1245
1270
  var t = {};
1246
- return e.replace(On, function(r) {
1271
+ return e.replace(Ln, function(r) {
1247
1272
  var n = r.length;
1248
1273
  switch (r[0]) {
1249
1274
  case "G":
@@ -1332,11 +1357,21 @@ function Rn(e) {
1332
1357
  return "";
1333
1358
  }), t;
1334
1359
  }
1335
- var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1336
- function In(e) {
1360
+ var B = function() {
1361
+ return B = Object.assign || function(t) {
1362
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1363
+ r = arguments[n];
1364
+ for (var o in r)
1365
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1366
+ }
1367
+ return t;
1368
+ }, B.apply(this, arguments);
1369
+ };
1370
+ var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1371
+ function $n(e) {
1337
1372
  if (e.length === 0)
1338
1373
  throw new Error("Number skeleton cannot be empty");
1339
- for (var t = e.split(Mn).filter(function(h) {
1374
+ for (var t = e.split(kn).filter(function(h) {
1340
1375
  return h.length > 0;
1341
1376
  }), r = [], n = 0, i = t; n < i.length; n++) {
1342
1377
  var o = i[n], s = o.split("/");
@@ -1351,17 +1386,17 @@ function In(e) {
1351
1386
  }
1352
1387
  return r;
1353
1388
  }
1354
- function Ln(e) {
1389
+ function Un(e) {
1355
1390
  return e.replace(/^(.*?)-/, "");
1356
1391
  }
1357
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1358
- function xt(e) {
1392
+ var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
1393
+ function Tt(e) {
1359
1394
  var t = {};
1360
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1395
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
1361
1396
  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)), "";
1362
1397
  }), t;
1363
1398
  }
1364
- function ar(e) {
1399
+ function hr(e) {
1365
1400
  switch (e) {
1366
1401
  case "sign-auto":
1367
1402
  return {
@@ -1401,7 +1436,7 @@ function ar(e) {
1401
1436
  };
1402
1437
  }
1403
1438
  }
1404
- function kn(e) {
1439
+ function Dn(e) {
1405
1440
  var t;
1406
1441
  if (e[0] === "E" && e[1] === "E" ? (t = {
1407
1442
  notation: "engineering"
@@ -1409,17 +1444,17 @@ function kn(e) {
1409
1444
  notation: "scientific"
1410
1445
  }, e = e.slice(1)), t) {
1411
1446
  var r = e.slice(0, 2);
1412
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1447
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1413
1448
  throw new Error("Malformed concise eng/scientific notation");
1414
1449
  t.minimumIntegerDigits = e.length;
1415
1450
  }
1416
1451
  return t;
1417
1452
  }
1418
- function Et(e) {
1419
- var t = {}, r = ar(e);
1453
+ function Ht(e) {
1454
+ var t = {}, r = hr(e);
1420
1455
  return r || t;
1421
1456
  }
1422
- function $n(e) {
1457
+ function jn(e) {
1423
1458
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1424
1459
  var i = n[r];
1425
1460
  switch (i.stem) {
@@ -1443,7 +1478,7 @@ function $n(e) {
1443
1478
  continue;
1444
1479
  case "measure-unit":
1445
1480
  case "unit":
1446
- t.style = "unit", t.unit = Ln(i.options[0]);
1481
+ t.style = "unit", t.unit = Un(i.options[0]);
1447
1482
  continue;
1448
1483
  case "compact-short":
1449
1484
  case "K":
@@ -1454,13 +1489,13 @@ function $n(e) {
1454
1489
  t.notation = "compact", t.compactDisplay = "long";
1455
1490
  continue;
1456
1491
  case "scientific":
1457
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1458
- return S(S({}, l), Et(u));
1492
+ t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1493
+ return B(B({}, l), Ht(u));
1459
1494
  }, {}));
1460
1495
  continue;
1461
1496
  case "engineering":
1462
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1463
- return S(S({}, l), Et(u));
1497
+ t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1498
+ return B(B({}, l), Ht(u));
1464
1499
  }, {}));
1465
1500
  continue;
1466
1501
  case "notation-simple":
@@ -1505,41 +1540,41 @@ function $n(e) {
1505
1540
  case "integer-width":
1506
1541
  if (i.options.length > 1)
1507
1542
  throw new RangeError("integer-width stems only accept a single optional option");
1508
- i.options[0].replace(Nn, function(l, u, c, f, h, p) {
1543
+ i.options[0].replace(Fn, function(l, u, c, f, h, d) {
1509
1544
  if (u)
1510
1545
  t.minimumIntegerDigits = c.length;
1511
1546
  else {
1512
1547
  if (f && h)
1513
1548
  throw new Error("We currently do not support maximum integer digits");
1514
- if (p)
1549
+ if (d)
1515
1550
  throw new Error("We currently do not support exact integer digits");
1516
1551
  }
1517
1552
  return "";
1518
1553
  });
1519
1554
  continue;
1520
1555
  }
1521
- if (sr.test(i.stem)) {
1556
+ if (cr.test(i.stem)) {
1522
1557
  t.minimumIntegerDigits = i.stem.length;
1523
1558
  continue;
1524
1559
  }
1525
- if (_t.test(i.stem)) {
1560
+ if (wt.test(i.stem)) {
1526
1561
  if (i.options.length > 1)
1527
1562
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1528
- i.stem.replace(_t, function(l, u, c, f, h, p) {
1529
- return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && p ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1563
+ i.stem.replace(wt, function(l, u, c, f, h, d) {
1564
+ 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), "";
1530
1565
  });
1531
1566
  var o = i.options[0];
1532
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), xt(o)));
1567
+ o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), Tt(o)));
1533
1568
  continue;
1534
1569
  }
1535
- if (or.test(i.stem)) {
1536
- t = S(S({}, t), xt(i.stem));
1570
+ if (lr.test(i.stem)) {
1571
+ t = B(B({}, t), Tt(i.stem));
1537
1572
  continue;
1538
1573
  }
1539
- var s = ar(i.stem);
1540
- s && (t = S(S({}, t), s));
1541
- var a = kn(i.stem);
1542
- a && (t = S(S({}, t), a));
1574
+ var s = hr(i.stem);
1575
+ s && (t = B(B({}, t), s));
1576
+ var a = Dn(i.stem);
1577
+ a && (t = B(B({}, t), a));
1543
1578
  }
1544
1579
  return t;
1545
1580
  }
@@ -2958,13 +2993,13 @@ var Ee = {
2958
2993
  "h"
2959
2994
  ]
2960
2995
  };
2961
- function Un(e, t) {
2996
+ function Gn(e, t) {
2962
2997
  for (var r = "", n = 0; n < e.length; n++) {
2963
2998
  var i = e.charAt(n);
2964
2999
  if (i === "j") {
2965
3000
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2966
3001
  o++, n++;
2967
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
3002
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Vn(t);
2968
3003
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2969
3004
  r += l;
2970
3005
  for (; s-- > 0; )
@@ -2974,7 +3009,7 @@ function Un(e, t) {
2974
3009
  }
2975
3010
  return r;
2976
3011
  }
2977
- function Fn(e) {
3012
+ function Vn(e) {
2978
3013
  var t = e.hourCycle;
2979
3014
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2980
3015
  e.hourCycles && // @ts-ignore
@@ -2996,20 +3031,20 @@ function Fn(e) {
2996
3031
  var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
2997
3032
  return i[0];
2998
3033
  }
2999
- var Ue, Dn = new RegExp("^".concat(ir.source, "*")), Gn = new RegExp("".concat(ir.source, "*$"));
3034
+ var je, Xn = new RegExp("^".concat(ur.source, "*")), zn = new RegExp("".concat(ur.source, "*$"));
3000
3035
  function _(e, t) {
3001
3036
  return { start: e, end: t };
3002
3037
  }
3003
- var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Qn = Zn ? Number.isSafeInteger : function(e) {
3038
+ var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
3004
3039
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3005
- }, Ye = !0;
3040
+ }, nt = !0;
3006
3041
  try {
3007
- var Jn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3008
- Ye = ((Ue = Jn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3042
+ var ti = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3043
+ nt = ((je = ti.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3009
3044
  } catch {
3010
- Ye = !1;
3045
+ nt = !1;
3011
3046
  }
3012
- var St = jn ? (
3047
+ var Ct = qn ? (
3013
3048
  // Native
3014
3049
  function(t, r, n) {
3015
3050
  return t.startsWith(r, n);
@@ -3019,7 +3054,7 @@ var St = jn ? (
3019
3054
  function(t, r, n) {
3020
3055
  return t.slice(n, n + r.length) === r;
3021
3056
  }
3022
- ), Ke = Vn ? String.fromCodePoint : (
3057
+ ), it = Wn ? String.fromCodePoint : (
3023
3058
  // IE11
3024
3059
  function() {
3025
3060
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3031,9 +3066,9 @@ var St = jn ? (
3031
3066
  }
3032
3067
  return n;
3033
3068
  }
3034
- ), wt = (
3069
+ ), Bt = (
3035
3070
  // native
3036
- Xn ? Object.fromEntries : (
3071
+ Zn ? Object.fromEntries : (
3037
3072
  // Ponyfill
3038
3073
  function(t) {
3039
3074
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3043,7 +3078,7 @@ var St = jn ? (
3043
3078
  return r;
3044
3079
  }
3045
3080
  )
3046
- ), ur = zn ? (
3081
+ ), fr = Qn ? (
3047
3082
  // Native
3048
3083
  function(t, r) {
3049
3084
  return t.codePointAt(r);
@@ -3057,7 +3092,7 @@ var St = jn ? (
3057
3092
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3058
3093
  }
3059
3094
  }
3060
- ), Yn = qn ? (
3095
+ ), ri = Jn ? (
3061
3096
  // Native
3062
3097
  function(t) {
3063
3098
  return t.trimStart();
@@ -3065,9 +3100,9 @@ var St = jn ? (
3065
3100
  ) : (
3066
3101
  // Ponyfill
3067
3102
  function(t) {
3068
- return t.replace(Dn, "");
3103
+ return t.replace(Xn, "");
3069
3104
  }
3070
- ), Kn = Wn ? (
3105
+ ), ni = Yn ? (
3071
3106
  // Native
3072
3107
  function(t) {
3073
3108
  return t.trimEnd();
@@ -3075,32 +3110,32 @@ var St = jn ? (
3075
3110
  ) : (
3076
3111
  // Ponyfill
3077
3112
  function(t) {
3078
- return t.replace(Gn, "");
3113
+ return t.replace(zn, "");
3079
3114
  }
3080
3115
  );
3081
- function lr(e, t) {
3116
+ function pr(e, t) {
3082
3117
  return new RegExp(e, t);
3083
3118
  }
3084
- var et;
3085
- if (Ye) {
3086
- var Tt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3087
- et = function(t, r) {
3119
+ var ot;
3120
+ if (nt) {
3121
+ var At = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3122
+ ot = function(t, r) {
3088
3123
  var n;
3089
- Tt.lastIndex = r;
3090
- var i = Tt.exec(t);
3124
+ At.lastIndex = r;
3125
+ var i = At.exec(t);
3091
3126
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3092
3127
  };
3093
3128
  } else
3094
- et = function(t, r) {
3129
+ ot = function(t, r) {
3095
3130
  for (var n = []; ; ) {
3096
- var i = ur(t, r);
3097
- if (i === void 0 || cr(i) || ni(i))
3131
+ var i = fr(t, r);
3132
+ if (i === void 0 || dr(i) || ai(i))
3098
3133
  break;
3099
3134
  n.push(i), r += i >= 65536 ? 2 : 1;
3100
3135
  }
3101
- return Ke.apply(void 0, n);
3136
+ return it.apply(void 0, n);
3102
3137
  };
3103
- var ei = (
3138
+ var ii = (
3104
3139
  /** @class */
3105
3140
  function() {
3106
3141
  function e(t, r) {
@@ -3124,14 +3159,14 @@ var ei = (
3124
3159
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3125
3160
  var a = this.clonePosition();
3126
3161
  this.bump(), i.push({
3127
- type: C.pound,
3162
+ type: H.pound,
3128
3163
  location: _(a, this.clonePosition())
3129
3164
  });
3130
3165
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3131
3166
  if (n)
3132
3167
  break;
3133
3168
  return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3134
- } else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3169
+ } else if (o === 60 && !this.ignoreTag && st(this.peek() || 0)) {
3135
3170
  var s = this.parseTag(t, r);
3136
3171
  if (s.err)
3137
3172
  return s;
@@ -3152,7 +3187,7 @@ var ei = (
3152
3187
  if (this.bumpSpace(), this.bumpIf("/>"))
3153
3188
  return {
3154
3189
  val: {
3155
- type: C.literal,
3190
+ type: H.literal,
3156
3191
  value: "<".concat(i, "/>"),
3157
3192
  location: _(n, this.clonePosition())
3158
3193
  },
@@ -3164,12 +3199,12 @@ var ei = (
3164
3199
  return o;
3165
3200
  var s = o.val, a = this.clonePosition();
3166
3201
  if (this.bumpIf("</")) {
3167
- if (this.isEOF() || !tt(this.char()))
3202
+ if (this.isEOF() || !st(this.char()))
3168
3203
  return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
3169
3204
  var l = this.clonePosition(), u = this.parseTagName();
3170
3205
  return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3171
3206
  val: {
3172
- type: C.tag,
3207
+ type: H.tag,
3173
3208
  value: i,
3174
3209
  children: s,
3175
3210
  location: _(n, this.clonePosition())
@@ -3182,7 +3217,7 @@ var ei = (
3182
3217
  return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3183
3218
  }, e.prototype.parseTagName = function() {
3184
3219
  var t = this.offset();
3185
- for (this.bump(); !this.isEOF() && ri(this.char()); )
3220
+ for (this.bump(); !this.isEOF() && si(this.char()); )
3186
3221
  this.bump();
3187
3222
  return this.message.slice(t, this.offset());
3188
3223
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3206,12 +3241,12 @@ var ei = (
3206
3241
  }
3207
3242
  var l = _(n, this.clonePosition());
3208
3243
  return {
3209
- val: { type: C.literal, value: i, location: l },
3244
+ val: { type: H.literal, value: i, location: l },
3210
3245
  err: null
3211
3246
  };
3212
3247
  }, e.prototype.tryParseLeftAngleBracket = function() {
3213
3248
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3214
- !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3249
+ !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3215
3250
  }, e.prototype.tryParseQuote = function(t) {
3216
3251
  if (this.isEOF() || this.char() !== 39)
3217
3252
  return null;
@@ -3245,12 +3280,12 @@ var ei = (
3245
3280
  r.push(n);
3246
3281
  this.bump();
3247
3282
  }
3248
- return Ke.apply(void 0, r);
3283
+ return it.apply(void 0, r);
3249
3284
  }, e.prototype.tryParseUnquoted = function(t, r) {
3250
3285
  if (this.isEOF())
3251
3286
  return null;
3252
3287
  var n = this.char();
3253
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3288
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
3254
3289
  }, e.prototype.parseArgument = function(t, r) {
3255
3290
  var n = this.clonePosition();
3256
3291
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3266,7 +3301,7 @@ var ei = (
3266
3301
  case 125:
3267
3302
  return this.bump(), {
3268
3303
  val: {
3269
- type: C.argument,
3304
+ type: H.argument,
3270
3305
  // value does not include the opening and closing braces.
3271
3306
  value: i,
3272
3307
  location: _(n, this.clonePosition())
@@ -3279,7 +3314,7 @@ var ei = (
3279
3314
  return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3280
3315
  }
3281
3316
  }, e.prototype.parseIdentifierIfPossible = function() {
3282
- var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3317
+ var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
3283
3318
  this.bumpTo(i);
3284
3319
  var o = this.clonePosition(), s = _(t, o);
3285
3320
  return { value: n, location: s };
@@ -3298,46 +3333,46 @@ var ei = (
3298
3333
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3299
3334
  if (f.err)
3300
3335
  return f;
3301
- var h = Kn(f.val);
3336
+ var h = ni(f.val);
3302
3337
  if (h.length === 0)
3303
3338
  return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3304
- var p = _(c, this.clonePosition());
3305
- u = { style: h, styleLocation: p };
3339
+ var d = _(c, this.clonePosition());
3340
+ u = { style: h, styleLocation: d };
3306
3341
  }
3307
3342
  var m = this.tryParseArgumentClose(i);
3308
3343
  if (m.err)
3309
3344
  return m;
3310
- var d = _(i, this.clonePosition());
3311
- if (u && St(u?.style, "::", 0)) {
3312
- var y = Yn(u.style.slice(2));
3345
+ var p = _(i, this.clonePosition());
3346
+ if (u && Ct(u?.style, "::", 0)) {
3347
+ var y = ri(u.style.slice(2));
3313
3348
  if (a === "number") {
3314
3349
  var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
3315
3350
  return f.err ? f : {
3316
- val: { type: C.number, value: n, location: d, style: f.val },
3351
+ val: { type: H.number, value: n, location: p, style: f.val },
3317
3352
  err: null
3318
3353
  };
3319
3354
  } else {
3320
3355
  if (y.length === 0)
3321
- return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
3322
- var w = y;
3323
- this.locale && (w = Un(y, this.locale));
3356
+ return this.error(v.EXPECT_DATE_TIME_SKELETON, p);
3357
+ var S = y;
3358
+ this.locale && (S = Gn(y, this.locale));
3324
3359
  var h = {
3325
- type: ae.dateTime,
3326
- pattern: w,
3360
+ type: se.dateTime,
3361
+ pattern: S,
3327
3362
  location: u.styleLocation,
3328
- parsedOptions: this.shouldParseSkeletons ? Rn(w) : {}
3329
- }, B = a === "date" ? C.date : C.time;
3363
+ parsedOptions: this.shouldParseSkeletons ? Nn(S) : {}
3364
+ }, C = a === "date" ? H.date : H.time;
3330
3365
  return {
3331
- val: { type: B, value: n, location: d, style: h },
3366
+ val: { type: C, value: n, location: p, style: h },
3332
3367
  err: null
3333
3368
  };
3334
3369
  }
3335
3370
  }
3336
3371
  return {
3337
3372
  val: {
3338
- type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3373
+ type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3339
3374
  value: n,
3340
- location: d,
3375
+ location: p,
3341
3376
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3342
3377
  },
3343
3378
  err: null
@@ -3348,7 +3383,7 @@ var ei = (
3348
3383
  case "select": {
3349
3384
  var O = this.clonePosition();
3350
3385
  if (this.bumpSpace(), !this.bumpIf(","))
3351
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(O, S({}, O)));
3386
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(O, Be({}, O)));
3352
3387
  this.bumpSpace();
3353
3388
  var F = this.parseIdentifierIfPossible(), k = 0;
3354
3389
  if (a !== "select" && F.value === "offset") {
@@ -3360,26 +3395,26 @@ var ei = (
3360
3395
  return f;
3361
3396
  this.bumpSpace(), F = this.parseIdentifierIfPossible(), k = f.val;
3362
3397
  }
3363
- var X = this.tryParsePluralOrSelectOptions(t, a, r, F);
3364
- if (X.err)
3365
- return X;
3398
+ var z = this.tryParsePluralOrSelectOptions(t, a, r, F);
3399
+ if (z.err)
3400
+ return z;
3366
3401
  var m = this.tryParseArgumentClose(i);
3367
3402
  if (m.err)
3368
3403
  return m;
3369
3404
  var D = _(i, this.clonePosition());
3370
3405
  return a === "select" ? {
3371
3406
  val: {
3372
- type: C.select,
3407
+ type: H.select,
3373
3408
  value: n,
3374
- options: wt(X.val),
3409
+ options: Bt(z.val),
3375
3410
  location: D
3376
3411
  },
3377
3412
  err: null
3378
3413
  } : {
3379
3414
  val: {
3380
- type: C.plural,
3415
+ type: H.plural,
3381
3416
  value: n,
3382
- options: wt(X.val),
3417
+ options: Bt(z.val),
3383
3418
  offset: k,
3384
3419
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3385
3420
  location: D
@@ -3430,16 +3465,16 @@ var ei = (
3430
3465
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3431
3466
  var n = [];
3432
3467
  try {
3433
- n = In(t);
3468
+ n = $n(t);
3434
3469
  } catch {
3435
3470
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3436
3471
  }
3437
3472
  return {
3438
3473
  val: {
3439
- type: ae.number,
3474
+ type: se.number,
3440
3475
  tokens: n,
3441
3476
  location: r,
3442
- parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3477
+ parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
3443
3478
  },
3444
3479
  err: null
3445
3480
  };
@@ -3458,20 +3493,20 @@ var ei = (
3458
3493
  if (l.has(u))
3459
3494
  return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3460
3495
  u === "other" && (s = !0), this.bumpSpace();
3461
- var p = this.clonePosition();
3496
+ var d = this.clonePosition();
3462
3497
  if (!this.bumpIf("{"))
3463
3498
  return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3464
3499
  var m = this.parseMessage(t + 1, r, n);
3465
3500
  if (m.err)
3466
3501
  return m;
3467
- var d = this.tryParseArgumentClose(p);
3468
- if (d.err)
3469
- return d;
3502
+ var p = this.tryParseArgumentClose(d);
3503
+ if (p.err)
3504
+ return p;
3470
3505
  a.push([
3471
3506
  u,
3472
3507
  {
3473
3508
  value: m.val,
3474
- location: _(p, this.clonePosition())
3509
+ location: _(d, this.clonePosition())
3475
3510
  }
3476
3511
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3477
3512
  }
@@ -3487,7 +3522,7 @@ var ei = (
3487
3522
  break;
3488
3523
  }
3489
3524
  var l = _(i, this.clonePosition());
3490
- return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3525
+ return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3491
3526
  }, e.prototype.offset = function() {
3492
3527
  return this.position.offset;
3493
3528
  }, e.prototype.isEOF = function() {
@@ -3502,7 +3537,7 @@ var ei = (
3502
3537
  var t = this.position.offset;
3503
3538
  if (t >= this.message.length)
3504
3539
  throw Error("out of bound");
3505
- var r = ur(this.message, t);
3540
+ var r = fr(this.message, t);
3506
3541
  if (r === void 0)
3507
3542
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3508
3543
  return r;
@@ -3521,7 +3556,7 @@ var ei = (
3521
3556
  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);
3522
3557
  }
3523
3558
  }, e.prototype.bumpIf = function(t) {
3524
- if (St(this.message, t, this.offset())) {
3559
+ if (Ct(this.message, t, this.offset())) {
3525
3560
  for (var r = 0; r < t.length; r++)
3526
3561
  this.bump();
3527
3562
  return !0;
@@ -3543,7 +3578,7 @@ var ei = (
3543
3578
  break;
3544
3579
  }
3545
3580
  }, e.prototype.bumpSpace = function() {
3546
- for (; !this.isEOF() && cr(this.char()); )
3581
+ for (; !this.isEOF() && dr(this.char()); )
3547
3582
  this.bump();
3548
3583
  }, e.prototype.peek = function() {
3549
3584
  if (this.isEOF())
@@ -3553,47 +3588,47 @@ var ei = (
3553
3588
  }, e;
3554
3589
  }()
3555
3590
  );
3556
- function tt(e) {
3591
+ function st(e) {
3557
3592
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3558
3593
  }
3559
- function ti(e) {
3560
- return tt(e) || e === 47;
3594
+ function oi(e) {
3595
+ return st(e) || e === 47;
3561
3596
  }
3562
- function ri(e) {
3597
+ function si(e) {
3563
3598
  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;
3564
3599
  }
3565
- function cr(e) {
3600
+ function dr(e) {
3566
3601
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3567
3602
  }
3568
- function ni(e) {
3603
+ function ai(e) {
3569
3604
  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;
3570
3605
  }
3571
- function rt(e) {
3606
+ function at(e) {
3572
3607
  e.forEach(function(t) {
3573
- if (delete t.location, er(t) || tr(t))
3608
+ if (delete t.location, ir(t) || or(t))
3574
3609
  for (var r in t.options)
3575
- delete t.options[r].location, rt(t.options[r].value);
3610
+ delete t.options[r].location, at(t.options[r].value);
3576
3611
  else
3577
- Jt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Je(t.style) ? delete t.style.location : rr(t) && rt(t.children);
3612
+ tr(t) && ar(t.style) || (rr(t) || nr(t)) && rt(t.style) ? delete t.style.location : sr(t) && at(t.children);
3578
3613
  });
3579
3614
  }
3580
- function ii(e, t) {
3581
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3582
- var r = new ei(e, t).parse();
3615
+ function ui(e, t) {
3616
+ t === void 0 && (t = {}), t = Be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3617
+ var r = new ii(e, t).parse();
3583
3618
  if (r.err) {
3584
3619
  var n = SyntaxError(v[r.err.kind]);
3585
3620
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3586
3621
  }
3587
- return t?.captureLocation || rt(r.val), r.val;
3622
+ return t?.captureLocation || at(r.val), r.val;
3588
3623
  }
3589
- var ue;
3624
+ var ae;
3590
3625
  (function(e) {
3591
3626
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3592
- })(ue || (ue = {}));
3593
- var Re = (
3627
+ })(ae || (ae = {}));
3628
+ var Ie = (
3594
3629
  /** @class */
3595
3630
  function(e) {
3596
- Z(t, e);
3631
+ Me(t, e);
3597
3632
  function t(r, n, i) {
3598
3633
  var o = e.call(this, r) || this;
3599
3634
  return o.code = n, o.originalMessage = i, o;
@@ -3602,48 +3637,48 @@ var Re = (
3602
3637
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3603
3638
  }, t;
3604
3639
  }(Error)
3605
- ), Ht = (
3640
+ ), Pt = (
3606
3641
  /** @class */
3607
3642
  function(e) {
3608
- Z(t, e);
3643
+ Me(t, e);
3609
3644
  function t(r, n, i, o) {
3610
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ue.INVALID_VALUE, o) || this;
3645
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
3611
3646
  }
3612
3647
  return t;
3613
- }(Re)
3614
- ), oi = (
3648
+ }(Ie)
3649
+ ), li = (
3615
3650
  /** @class */
3616
3651
  function(e) {
3617
- Z(t, e);
3652
+ Me(t, e);
3618
3653
  function t(r, n, i) {
3619
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ue.INVALID_VALUE, i) || this;
3654
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
3620
3655
  }
3621
3656
  return t;
3622
- }(Re)
3623
- ), si = (
3657
+ }(Ie)
3658
+ ), ci = (
3624
3659
  /** @class */
3625
3660
  function(e) {
3626
- Z(t, e);
3661
+ Me(t, e);
3627
3662
  function t(r, n) {
3628
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ue.MISSING_VALUE, n) || this;
3663
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
3629
3664
  }
3630
3665
  return t;
3631
- }(Re)
3666
+ }(Ie)
3632
3667
  ), L;
3633
3668
  (function(e) {
3634
3669
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3635
3670
  })(L || (L = {}));
3636
- function ai(e) {
3671
+ function hi(e) {
3637
3672
  return e.length < 2 ? e : e.reduce(function(t, r) {
3638
3673
  var n = t[t.length - 1];
3639
3674
  return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3640
3675
  }, []);
3641
3676
  }
3642
- function ui(e) {
3677
+ function fi(e) {
3643
3678
  return typeof e == "function";
3644
3679
  }
3645
3680
  function Te(e, t, r, n, i, o, s) {
3646
- if (e.length === 1 && vt(e[0]))
3681
+ if (e.length === 1 && St(e[0]))
3647
3682
  return [
3648
3683
  {
3649
3684
  type: L.literal,
@@ -3652,14 +3687,14 @@ function Te(e, t, r, n, i, o, s) {
3652
3687
  ];
3653
3688
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3654
3689
  var c = u[l];
3655
- if (vt(c)) {
3690
+ if (St(c)) {
3656
3691
  a.push({
3657
3692
  type: L.literal,
3658
3693
  value: c.value
3659
3694
  });
3660
3695
  continue;
3661
3696
  }
3662
- if (Pn(c)) {
3697
+ if (In(c)) {
3663
3698
  typeof o == "number" && a.push({
3664
3699
  type: L.literal,
3665
3700
  value: r.getNumberFormat(t).format(o)
@@ -3668,89 +3703,89 @@ function Te(e, t, r, n, i, o, s) {
3668
3703
  }
3669
3704
  var f = c.value;
3670
3705
  if (!(i && f in i))
3671
- throw new si(f, s);
3706
+ throw new ci(f, s);
3672
3707
  var h = i[f];
3673
- if (An(c)) {
3708
+ if (Mn(c)) {
3674
3709
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3675
3710
  type: typeof h == "string" ? L.literal : L.object,
3676
3711
  value: h
3677
3712
  });
3678
3713
  continue;
3679
3714
  }
3680
- if (Yt(c)) {
3681
- var p = typeof c.style == "string" ? n.date[c.style] : Je(c.style) ? c.style.parsedOptions : void 0;
3715
+ if (rr(c)) {
3716
+ var d = typeof c.style == "string" ? n.date[c.style] : rt(c.style) ? c.style.parsedOptions : void 0;
3682
3717
  a.push({
3683
3718
  type: L.literal,
3684
- value: r.getDateTimeFormat(t, p).format(h)
3719
+ value: r.getDateTimeFormat(t, d).format(h)
3685
3720
  });
3686
3721
  continue;
3687
3722
  }
3688
- if (Kt(c)) {
3689
- var p = typeof c.style == "string" ? n.time[c.style] : Je(c.style) ? c.style.parsedOptions : n.time.medium;
3723
+ if (nr(c)) {
3724
+ var d = typeof c.style == "string" ? n.time[c.style] : rt(c.style) ? c.style.parsedOptions : n.time.medium;
3690
3725
  a.push({
3691
3726
  type: L.literal,
3692
- value: r.getDateTimeFormat(t, p).format(h)
3727
+ value: r.getDateTimeFormat(t, d).format(h)
3693
3728
  });
3694
3729
  continue;
3695
3730
  }
3696
- if (Jt(c)) {
3697
- var p = typeof c.style == "string" ? n.number[c.style] : nr(c.style) ? c.style.parsedOptions : void 0;
3698
- p && p.scale && (h = h * (p.scale || 1)), a.push({
3731
+ if (tr(c)) {
3732
+ var d = typeof c.style == "string" ? n.number[c.style] : ar(c.style) ? c.style.parsedOptions : void 0;
3733
+ d && d.scale && (h = h * (d.scale || 1)), a.push({
3699
3734
  type: L.literal,
3700
- value: r.getNumberFormat(t, p).format(h)
3735
+ value: r.getNumberFormat(t, d).format(h)
3701
3736
  });
3702
3737
  continue;
3703
3738
  }
3704
- if (rr(c)) {
3705
- var m = c.children, d = c.value, y = i[d];
3706
- if (!ui(y))
3707
- throw new oi(d, "function", s);
3708
- var w = Te(m, t, r, n, i, o), B = y(w.map(function(k) {
3739
+ if (sr(c)) {
3740
+ var m = c.children, p = c.value, y = i[p];
3741
+ if (!fi(y))
3742
+ throw new li(p, "function", s);
3743
+ var S = Te(m, t, r, n, i, o), C = y(S.map(function(k) {
3709
3744
  return k.value;
3710
3745
  }));
3711
- Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(k) {
3746
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(k) {
3712
3747
  return {
3713
3748
  type: typeof k == "string" ? L.literal : L.object,
3714
3749
  value: k
3715
3750
  };
3716
3751
  }));
3717
3752
  }
3718
- if (er(c)) {
3753
+ if (ir(c)) {
3719
3754
  var O = c.options[h] || c.options.other;
3720
3755
  if (!O)
3721
- throw new Ht(c.value, h, Object.keys(c.options), s);
3756
+ throw new Pt(c.value, h, Object.keys(c.options), s);
3722
3757
  a.push.apply(a, Te(O.value, t, r, n, i));
3723
3758
  continue;
3724
3759
  }
3725
- if (tr(c)) {
3760
+ if (or(c)) {
3726
3761
  var O = c.options["=".concat(h)];
3727
3762
  if (!O) {
3728
3763
  if (!Intl.PluralRules)
3729
- throw new Re(`Intl.PluralRules is not available in this environment.
3764
+ throw new Ie(`Intl.PluralRules is not available in this environment.
3730
3765
  Try polyfilling it using "@formatjs/intl-pluralrules"
3731
- `, ue.MISSING_INTL_API, s);
3766
+ `, ae.MISSING_INTL_API, s);
3732
3767
  var F = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3733
3768
  O = c.options[F] || c.options.other;
3734
3769
  }
3735
3770
  if (!O)
3736
- throw new Ht(c.value, h, Object.keys(c.options), s);
3771
+ throw new Pt(c.value, h, Object.keys(c.options), s);
3737
3772
  a.push.apply(a, Te(O.value, t, r, n, i, h - (c.offset || 0)));
3738
3773
  continue;
3739
3774
  }
3740
3775
  }
3741
- return ai(a);
3776
+ return hi(a);
3742
3777
  }
3743
- function li(e, t) {
3744
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3745
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3778
+ function pi(e, t) {
3779
+ return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3780
+ return r[n] = X(X({}, e[n]), t[n] || {}), r;
3746
3781
  }, {})) : e;
3747
3782
  }
3748
- function ci(e, t) {
3783
+ function di(e, t) {
3749
3784
  return t ? Object.keys(e).reduce(function(r, n) {
3750
- return r[n] = li(e[n], t[n]), r;
3751
- }, S({}, e)) : e;
3785
+ return r[n] = pi(e[n], t[n]), r;
3786
+ }, X({}, e)) : e;
3752
3787
  }
3753
- function Fe(e) {
3788
+ function Ge(e) {
3754
3789
  return {
3755
3790
  create: function() {
3756
3791
  return {
@@ -3764,39 +3799,39 @@ function Fe(e) {
3764
3799
  }
3765
3800
  };
3766
3801
  }
3767
- function hi(e) {
3802
+ function mi(e) {
3768
3803
  return e === void 0 && (e = {
3769
3804
  number: {},
3770
3805
  dateTime: {},
3771
3806
  pluralRules: {}
3772
3807
  }), {
3773
- getNumberFormat: ke(function() {
3808
+ getNumberFormat: Fe(function() {
3774
3809
  for (var t, r = [], n = 0; n < arguments.length; n++)
3775
3810
  r[n] = arguments[n];
3776
- return new ((t = Intl.NumberFormat).bind.apply(t, oe([void 0], r, !1)))();
3811
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3777
3812
  }, {
3778
- cache: Fe(e.number),
3779
- strategy: $e.variadic
3813
+ cache: Ge(e.number),
3814
+ strategy: De.variadic
3780
3815
  }),
3781
- getDateTimeFormat: ke(function() {
3816
+ getDateTimeFormat: Fe(function() {
3782
3817
  for (var t, r = [], n = 0; n < arguments.length; n++)
3783
3818
  r[n] = arguments[n];
3784
- return new ((t = Intl.DateTimeFormat).bind.apply(t, oe([void 0], r, !1)))();
3819
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3785
3820
  }, {
3786
- cache: Fe(e.dateTime),
3787
- strategy: $e.variadic
3821
+ cache: Ge(e.dateTime),
3822
+ strategy: De.variadic
3788
3823
  }),
3789
- getPluralRules: ke(function() {
3824
+ getPluralRules: Fe(function() {
3790
3825
  for (var t, r = [], n = 0; n < arguments.length; n++)
3791
3826
  r[n] = arguments[n];
3792
- return new ((t = Intl.PluralRules).bind.apply(t, oe([void 0], r, !1)))();
3827
+ return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3793
3828
  }, {
3794
- cache: Fe(e.pluralRules),
3795
- strategy: $e.variadic
3829
+ cache: Ge(e.pluralRules),
3830
+ strategy: De.variadic
3796
3831
  })
3797
3832
  };
3798
3833
  }
3799
- var fi = (
3834
+ var bi = (
3800
3835
  /** @class */
3801
3836
  function() {
3802
3837
  function e(t, r, n, i) {
@@ -3828,13 +3863,13 @@ var fi = (
3828
3863
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3829
3864
  var s = i || {};
3830
3865
  s.formatters;
3831
- var a = jr(s, ["formatters"]);
3832
- this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3866
+ var a = Tn(s, ["formatters"]);
3867
+ this.ast = e.__parse(t, X(X({}, a), { locale: this.resolvedLocale }));
3833
3868
  } else
3834
3869
  this.ast = t;
3835
3870
  if (!Array.isArray(this.ast))
3836
3871
  throw new TypeError("A message must be provided as a String or AST.");
3837
- this.formats = ci(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3872
+ this.formats = di(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
3838
3873
  }
3839
3874
  return Object.defineProperty(e, "defaultLocale", {
3840
3875
  get: function() {
@@ -3847,7 +3882,7 @@ var fi = (
3847
3882
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3848
3883
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3849
3884
  }
3850
- }, e.__parse = ii, e.formats = {
3885
+ }, e.__parse = ui, e.formats = {
3851
3886
  number: {
3852
3887
  integer: {
3853
3888
  maximumFractionDigits: 0
@@ -3908,7 +3943,7 @@ var fi = (
3908
3943
  }, e;
3909
3944
  }()
3910
3945
  );
3911
- function di(e, t) {
3946
+ function yi(e, t) {
3912
3947
  if (t == null)
3913
3948
  return;
3914
3949
  if (t in e)
@@ -3929,92 +3964,92 @@ function di(e, t) {
3929
3964
  n = void 0;
3930
3965
  return n;
3931
3966
  }
3932
- const J = {}, pi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), hr = (e, t) => {
3967
+ const J = {}, gi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), mr = (e, t) => {
3933
3968
  if (t == null)
3934
3969
  return;
3935
3970
  if (t in J && e in J[t])
3936
3971
  return J[t][e];
3937
- const r = Me(t);
3972
+ const r = Le(t);
3938
3973
  for (let n = 0; n < r.length; n++) {
3939
- const i = r[n], o = bi(i, e);
3974
+ const i = r[n], o = _i(i, e);
3940
3975
  if (o)
3941
- return pi(e, t, o);
3976
+ return gi(e, t, o);
3942
3977
  }
3943
3978
  };
3944
- let at;
3945
- const ve = Oe({});
3946
- function mi(e) {
3947
- return at[e] || null;
3979
+ let ht;
3980
+ const ve = Re({});
3981
+ function vi(e) {
3982
+ return ht[e] || null;
3948
3983
  }
3949
- function fr(e) {
3950
- return e in at;
3984
+ function br(e) {
3985
+ return e in ht;
3951
3986
  }
3952
- function bi(e, t) {
3953
- if (!fr(e))
3987
+ function _i(e, t) {
3988
+ if (!br(e))
3954
3989
  return null;
3955
- const r = mi(e);
3956
- return di(r, t);
3990
+ const r = vi(e);
3991
+ return yi(r, t);
3957
3992
  }
3958
- function yi(e) {
3993
+ function xi(e) {
3959
3994
  if (e == null)
3960
3995
  return;
3961
- const t = Me(e);
3996
+ const t = Le(e);
3962
3997
  for (let r = 0; r < t.length; r++) {
3963
3998
  const n = t[r];
3964
- if (fr(n))
3999
+ if (br(n))
3965
4000
  return n;
3966
4001
  }
3967
4002
  }
3968
- function dr(e, ...t) {
3969
- delete J[e], ve.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
4003
+ function yr(e, ...t) {
4004
+ delete J[e], ve.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3970
4005
  }
3971
- he(
4006
+ ce(
3972
4007
  [ve],
3973
4008
  ([e]) => Object.keys(e)
3974
4009
  );
3975
- ve.subscribe((e) => at = e);
4010
+ ve.subscribe((e) => ht = e);
3976
4011
  const He = {};
3977
- function gi(e, t) {
4012
+ function Ei(e, t) {
3978
4013
  He[e].delete(t), He[e].size === 0 && delete He[e];
3979
4014
  }
3980
- function pr(e) {
4015
+ function gr(e) {
3981
4016
  return He[e];
3982
4017
  }
3983
- function vi(e) {
3984
- return Me(e).map((t) => {
3985
- const r = pr(t);
4018
+ function Si(e) {
4019
+ return Le(e).map((t) => {
4020
+ const r = gr(t);
3986
4021
  return [t, r ? [...r] : []];
3987
4022
  }).filter(([, t]) => t.length > 0);
3988
4023
  }
3989
- function nt(e) {
3990
- return e == null ? !1 : Me(e).some(
4024
+ function ut(e) {
4025
+ return e == null ? !1 : Le(e).some(
3991
4026
  (t) => {
3992
4027
  var r;
3993
- return (r = pr(t)) == null ? void 0 : r.size;
4028
+ return (r = gr(t)) == null ? void 0 : r.size;
3994
4029
  }
3995
4030
  );
3996
4031
  }
3997
- function _i(e, t) {
4032
+ function wi(e, t) {
3998
4033
  return Promise.all(
3999
- t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4000
- ).then((n) => dr(e, ...n));
4034
+ t.map((n) => (Ei(e, n), n().then((i) => i.default || i)))
4035
+ ).then((n) => yr(e, ...n));
4001
4036
  }
4002
4037
  const pe = {};
4003
- function mr(e) {
4004
- if (!nt(e))
4038
+ function vr(e) {
4039
+ if (!ut(e))
4005
4040
  return e in pe ? pe[e] : Promise.resolve();
4006
- const t = vi(e);
4041
+ const t = Si(e);
4007
4042
  return pe[e] = Promise.all(
4008
4043
  t.map(
4009
- ([r, n]) => _i(r, n)
4044
+ ([r, n]) => wi(r, n)
4010
4045
  )
4011
4046
  ).then(() => {
4012
- if (nt(e))
4013
- return mr(e);
4047
+ if (ut(e))
4048
+ return vr(e);
4014
4049
  delete pe[e];
4015
4050
  }), pe[e];
4016
4051
  }
4017
- const xi = {
4052
+ const Ti = {
4018
4053
  number: {
4019
4054
  scientific: { notation: "scientific" },
4020
4055
  engineering: { notation: "engineering" },
@@ -4043,135 +4078,135 @@ const xi = {
4043
4078
  timeZoneName: "short"
4044
4079
  }
4045
4080
  }
4046
- }, Ei = {
4081
+ }, Hi = {
4047
4082
  fallbackLocale: null,
4048
4083
  loadingDelay: 200,
4049
- formats: xi,
4084
+ formats: Ti,
4050
4085
  warnOnMissingMessages: !0,
4051
4086
  handleMissingMessage: void 0,
4052
4087
  ignoreTag: !0
4053
- }, Si = Ei;
4054
- function le() {
4055
- return Si;
4056
- }
4057
- const De = Oe(!1);
4058
- var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4059
- for (var r in t)
4060
- Ci.call(t, r) && Bt(e, r, t[r]);
4061
- if (Ct)
4062
- for (var r of Ct(t))
4063
- Bi.call(t, r) && Bt(e, r, t[r]);
4088
+ }, Ci = Hi;
4089
+ function ue() {
4090
+ return Ci;
4091
+ }
4092
+ const Ve = Re(!1);
4093
+ var Bi = Object.defineProperty, Ai = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4094
+ for (var r in t || (t = {}))
4095
+ Oi.call(t, r) && Rt(e, r, t[r]);
4096
+ if (Ot)
4097
+ for (var r of Ot(t))
4098
+ Ri.call(t, r) && Rt(e, r, t[r]);
4064
4099
  return e;
4065
- }, Pi = (e, t) => Ti(e, Hi(t));
4066
- let it;
4067
- const Be = Oe(null);
4068
- function At(e) {
4100
+ }, Ii = (e, t) => Ai(e, Pi(t));
4101
+ let lt;
4102
+ const Ae = Re(null);
4103
+ function Mt(e) {
4069
4104
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4070
4105
  }
4071
- function Me(e, t = le().fallbackLocale) {
4072
- const r = At(e);
4073
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4106
+ function Le(e, t = ue().fallbackLocale) {
4107
+ const r = Mt(e);
4108
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4074
4109
  }
4075
4110
  function Y() {
4076
- return it ?? void 0;
4111
+ return lt ?? void 0;
4077
4112
  }
4078
- Be.subscribe((e) => {
4079
- it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4113
+ Ae.subscribe((e) => {
4114
+ lt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4080
4115
  });
4081
- const Oi = (e) => {
4082
- if (e && yi(e) && nt(e)) {
4083
- const { loadingDelay: t } = le();
4116
+ const Li = (e) => {
4117
+ if (e && xi(e) && ut(e)) {
4118
+ const { loadingDelay: t } = ue();
4084
4119
  let r;
4085
4120
  return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
4086
- () => De.set(!0),
4121
+ () => Ve.set(!0),
4087
4122
  t
4088
- ) : De.set(!0), mr(e).then(() => {
4089
- Be.set(e);
4123
+ ) : Ve.set(!0), vr(e).then(() => {
4124
+ Ae.set(e);
4090
4125
  }).finally(() => {
4091
- clearTimeout(r), De.set(!1);
4126
+ clearTimeout(r), Ve.set(!1);
4092
4127
  });
4093
4128
  }
4094
- return Be.set(e);
4095
- }, fe = Pi(Ai({}, Be), {
4096
- set: Oi
4097
- }), Ie = (e) => {
4129
+ return Ae.set(e);
4130
+ }, he = Ii(Mi({}, Ae), {
4131
+ set: Li
4132
+ }), Ne = (e) => {
4098
4133
  const t = /* @__PURE__ */ Object.create(null);
4099
4134
  return (n) => {
4100
4135
  const i = JSON.stringify(n);
4101
4136
  return i in t ? t[i] : t[i] = e(n);
4102
4137
  };
4103
4138
  };
4104
- var Ri = Object.defineProperty, Ae = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
4139
+ var Ni = Object.defineProperty, Pe = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4105
4140
  for (var r in t || (t = {}))
4106
- br.call(t, r) && Pt(e, r, t[r]);
4107
- if (Ae)
4108
- for (var r of Ae(t))
4109
- yr.call(t, r) && Pt(e, r, t[r]);
4141
+ _r.call(t, r) && It(e, r, t[r]);
4142
+ if (Pe)
4143
+ for (var r of Pe(t))
4144
+ xr.call(t, r) && It(e, r, t[r]);
4110
4145
  return e;
4111
- }, de = (e, t) => {
4146
+ }, fe = (e, t) => {
4112
4147
  var r = {};
4113
4148
  for (var n in e)
4114
- br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4115
- if (e != null && Ae)
4116
- for (var n of Ae(e))
4117
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4149
+ _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4150
+ if (e != null && Pe)
4151
+ for (var n of Pe(e))
4152
+ t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
4118
4153
  return r;
4119
4154
  };
4120
- const ge = (e, t) => {
4121
- const { formats: r } = le();
4155
+ const ye = (e, t) => {
4156
+ const { formats: r } = ue();
4122
4157
  if (e in r && t in r[e])
4123
4158
  return r[e][t];
4124
4159
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4125
- }, Mi = Ie(
4160
+ }, ki = Ne(
4126
4161
  (e) => {
4127
- var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
4162
+ var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
4128
4163
  if (r == null)
4129
4164
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4130
- return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
4165
+ return n && (i = ye("number", n)), new Intl.NumberFormat(r, i);
4131
4166
  }
4132
- ), Ii = Ie(
4167
+ ), $i = Ne(
4133
4168
  (e) => {
4134
- var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
4169
+ var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
4135
4170
  if (r == null)
4136
4171
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4137
- return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
4172
+ return n ? i = ye("date", n) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(r, i);
4138
4173
  }
4139
- ), Li = Ie(
4174
+ ), Ui = Ne(
4140
4175
  (e) => {
4141
- var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
4176
+ var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
4142
4177
  if (r == null)
4143
4178
  throw new Error(
4144
4179
  '[svelte-i18n] A "locale" must be set to format time values'
4145
4180
  );
4146
- return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
4181
+ return n ? i = ye("time", n) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(r, i);
4147
4182
  }
4148
- ), Ni = (e = {}) => {
4183
+ ), Fi = (e = {}) => {
4149
4184
  var t = e, {
4150
4185
  locale: r = Y()
4151
- } = t, n = de(t, [
4186
+ } = t, n = fe(t, [
4152
4187
  "locale"
4153
4188
  ]);
4154
- return Mi(ut({ locale: r }, n));
4155
- }, ki = (e = {}) => {
4189
+ return ki(ft({ locale: r }, n));
4190
+ }, Di = (e = {}) => {
4156
4191
  var t = e, {
4157
4192
  locale: r = Y()
4158
- } = t, n = de(t, [
4193
+ } = t, n = fe(t, [
4159
4194
  "locale"
4160
4195
  ]);
4161
- return Ii(ut({ locale: r }, n));
4162
- }, $i = (e = {}) => {
4196
+ return $i(ft({ locale: r }, n));
4197
+ }, ji = (e = {}) => {
4163
4198
  var t = e, {
4164
4199
  locale: r = Y()
4165
- } = t, n = de(t, [
4200
+ } = t, n = fe(t, [
4166
4201
  "locale"
4167
4202
  ]);
4168
- return Li(ut({ locale: r }, n));
4169
- }, Ui = Ie(
4203
+ return Ui(ft({ locale: r }, n));
4204
+ }, Gi = Ne(
4170
4205
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4171
- (e, t = Y()) => new fi(e, t, le().formats, {
4172
- ignoreTag: le().ignoreTag
4206
+ (e, t = Y()) => new bi(e, t, ue().formats, {
4207
+ ignoreTag: ue().ignoreTag
4173
4208
  })
4174
- ), Fi = (e, t = {}) => {
4209
+ ), Vi = (e, t = {}) => {
4175
4210
  var r, n, i, o;
4176
4211
  let s = t;
4177
4212
  typeof e == "object" && (s = e, e = s.id);
@@ -4184,9 +4219,9 @@ const ge = (e, t) => {
4184
4219
  throw new Error(
4185
4220
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4186
4221
  );
4187
- let c = hr(e, l);
4222
+ let c = mr(e, l);
4188
4223
  if (!c)
4189
- c = (o = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4224
+ c = (o = (i = (n = (r = ue()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4190
4225
  else if (typeof c != "string")
4191
4226
  return console.warn(
4192
4227
  `[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.`
@@ -4195,7 +4230,7 @@ const ge = (e, t) => {
4195
4230
  return c;
4196
4231
  let f = c;
4197
4232
  try {
4198
- f = Ui(c, l).format(a);
4233
+ f = Gi(c, l).format(a);
4199
4234
  } catch (h) {
4200
4235
  h instanceof Error && console.warn(
4201
4236
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4203,20 +4238,20 @@ const ge = (e, t) => {
4203
4238
  );
4204
4239
  }
4205
4240
  return f;
4206
- }, Di = (e, t) => $i(t).format(e), Gi = (e, t) => ki(t).format(e), ji = (e, t) => Ni(t).format(e), Vi = (e, t = Y()) => hr(e, t), Xi = he([fe, ve], () => Fi);
4207
- he([fe], () => Di);
4208
- he([fe], () => Gi);
4209
- he([fe], () => ji);
4210
- he([fe, ve], () => Vi);
4211
- window.emWidgets = { topic: nn };
4212
- const zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4213
- function Ot(e, t) {
4214
- dr(e, t);
4215
- }
4216
- function qi(e) {
4217
- fe.set(e);
4218
- }
4219
- const Rt = {
4241
+ }, Xi = (e, t) => ji(t).format(e), zi = (e, t) => Di(t).format(e), qi = (e, t) => Fi(t).format(e), Wi = (e, t = Y()) => mr(e, t), Zi = ce([he, ve], () => Vi);
4242
+ ce([he], () => Xi);
4243
+ ce([he], () => zi);
4244
+ ce([he], () => qi);
4245
+ ce([he, ve], () => Wi);
4246
+ window.emWidgets = { topic: an };
4247
+ const Qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4248
+ function Lt(e, t) {
4249
+ yr(e, t);
4250
+ }
4251
+ function Ji(e) {
4252
+ he.set(e);
4253
+ }
4254
+ const Nt = {
4220
4255
  en: {
4221
4256
  titleRealityCheck: "Reality Check",
4222
4257
  never: "Never",
@@ -4328,13 +4363,13 @@ const Rt = {
4328
4363
  setFrequency: "Set frequency"
4329
4364
  }
4330
4365
  };
4331
- function Wi(e, t) {
4366
+ function Yi(e, t) {
4332
4367
  if (e) {
4333
4368
  const r = document.createElement("style");
4334
4369
  r.innerHTML = t, e.appendChild(r);
4335
4370
  }
4336
4371
  }
4337
- function Zi(e, t) {
4372
+ function Ki(e, t) {
4338
4373
  const r = new URL(t);
4339
4374
  fetch(r.href).then((n) => n.text()).then((n) => {
4340
4375
  const i = document.createElement("style");
@@ -4343,7 +4378,7 @@ function Zi(e, t) {
4343
4378
  console.error("There was an error while trying to load client styling from URL", n);
4344
4379
  });
4345
4380
  }
4346
- function Qi(e, t, r) {
4381
+ function eo(e, t, r) {
4347
4382
  if (window.emMessageBus) {
4348
4383
  const n = document.createElement("style");
4349
4384
  window.emMessageBus.subscribe(t, (i) => {
@@ -4351,120 +4386,120 @@ function Qi(e, t, r) {
4351
4386
  });
4352
4387
  }
4353
4388
  }
4354
- function Ji(e) {
4355
- xr(e, "svelte-17lev58", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4389
+ function to(e) {
4390
+ Tr(e, "svelte-17lev58", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4356
4391
  }
4357
- function Mt(e, t, r) {
4392
+ function kt(e, t, r) {
4358
4393
  const n = e.slice();
4359
4394
  return n[33] = t[r].value, n[34] = t[r].text, n[36] = r, n;
4360
4395
  }
4361
- function Yi(e, t, r) {
4396
+ function ro(e, t, r) {
4362
4397
  const n = e.slice();
4363
4398
  return n[30] = t[r], n;
4364
4399
  }
4365
- function Ki(e) {
4400
+ function no(e) {
4366
4401
  let t, r, n, i, o = (
4367
4402
  /*$_*/
4368
4403
  e[5]("titleRealityCheck") + ""
4369
4404
  ), s, a, l, u, c = (
4370
4405
  /*$_*/
4371
4406
  e[5]("realityCheckText") + ""
4372
- ), f, h, p, m, d, y, w = (
4407
+ ), f, h, d, m, p, y, S = (
4373
4408
  /*$_*/
4374
4409
  e[5]("setFrequency") + ""
4375
- ), B, O, F, k, X, D = (
4410
+ ), C, O, F, k, z, D = (
4376
4411
  /*isMobile*/
4377
- e[6] && to(e)
4412
+ e[6] && oo(e)
4378
4413
  ), M = (
4379
4414
  /*realityCheckSuccess*/
4380
- e[4] && Lt(e)
4381
- ), z = Xe(
4415
+ e[4] && Ut(e)
4416
+ ), q = We(
4382
4417
  /*realityCheckOptions*/
4383
4418
  e[7]
4384
4419
  ), R = [];
4385
- for (let T = 0; T < z.length; T += 1)
4386
- R[T] = Nt(Mt(e, z, T));
4420
+ for (let w = 0; w < q.length; w += 1)
4421
+ R[w] = Ft(kt(e, q, w));
4387
4422
  return {
4388
4423
  c() {
4389
- t = H("div"), D && D.c(), r = G(), M && M.c(), n = G(), i = H("h2"), s = q(o), a = G(), l = H("div"), u = H("p"), f = q(c), h = G(), p = H("form");
4390
- for (let T = 0; T < R.length; T += 1)
4391
- R[T].c();
4392
- m = G(), d = H("div"), y = H("button"), B = q(w), x(i, "class", "RealityCheckTitle " + /*isMobile*/
4424
+ t = T("div"), D && D.c(), r = j(), M && M.c(), n = j(), i = T("h2"), s = W(o), a = j(), l = T("div"), u = T("p"), f = W(c), h = j(), d = T("form");
4425
+ for (let w = 0; w < R.length; w += 1)
4426
+ R[w].c();
4427
+ m = j(), p = T("div"), y = T("button"), C = W(S), x(i, "class", "RealityCheckTitle " + /*isMobile*/
4393
4428
  (e[6] ? "RealityCheckTitleNone" : "")), x(l, "class", "RealityCheckDescription " + /*isMobile*/
4394
4429
  (e[6] ? "RealityCheckDescriptionMobile" : "")), x(y, "class", O = "PlayerRealityCheckButton " + /*currentRealityCheckValue*/
4395
4430
  (e[3] === /*realityCheckValue*/
4396
4431
  e[2] ? "ButtonInactive" : "")), y.disabled = F = /*currentRealityCheckValue*/
4397
4432
  e[3] === /*realityCheckValue*/
4398
- e[2], x(d, "class", "BottomButtonsArea " + /*isMobile*/
4399
- (e[6] ? "BottomButtonsAreaMobile" : "")), x(p, "class", "customRadio"), x(t, "class", "containerTimeout");
4433
+ e[2], x(p, "class", "BottomButtonsArea " + /*isMobile*/
4434
+ (e[6] ? "BottomButtonsAreaMobile" : "")), x(d, "class", "customRadio"), x(t, "class", "containerTimeout");
4400
4435
  },
4401
- m(T, $) {
4402
- j(T, t, $), D && D.m(t, null), b(t, r), M && M.m(t, null), b(t, n), b(t, i), b(i, s), b(t, a), b(t, l), b(l, u), b(u, f), b(t, h), b(t, p);
4436
+ m(w, $) {
4437
+ G(w, t, $), D && D.m(t, null), b(t, r), M && M.m(t, null), b(t, n), b(t, i), b(i, s), b(t, a), b(t, l), b(l, u), b(u, f), b(t, h), b(t, d);
4403
4438
  for (let P = 0; P < R.length; P += 1)
4404
- R[P] && R[P].m(p, null);
4405
- b(p, m), b(p, d), b(d, y), b(y, B), k || (X = Ce(
4439
+ R[P] && R[P].m(d, null);
4440
+ b(d, m), b(d, p), b(p, y), b(y, C), k || (z = Ce(
4406
4441
  y,
4407
4442
  "click",
4408
4443
  /*submitRealityCheckValue*/
4409
4444
  e[8]
4410
4445
  ), k = !0);
4411
4446
  },
4412
- p(T, $) {
4447
+ p(w, $) {
4413
4448
  if (
4414
4449
  /*isMobile*/
4415
- T[6] && D.p(T, $), /*realityCheckSuccess*/
4416
- T[4] ? M ? M.p(T, $) : (M = Lt(T), M.c(), M.m(t, n)) : M && (M.d(1), M = null), $[0] & /*$_*/
4450
+ w[6] && D.p(w, $), /*realityCheckSuccess*/
4451
+ w[4] ? M ? M.p(w, $) : (M = Ut(w), M.c(), M.m(t, n)) : M && (M.d(1), M = null), $[0] & /*$_*/
4417
4452
  32 && o !== (o = /*$_*/
4418
- T[5]("titleRealityCheck") + "") && ne(s, o), $[0] & /*$_*/
4453
+ w[5]("titleRealityCheck") + "") && ne(s, o), $[0] & /*$_*/
4419
4454
  32 && c !== (c = /*$_*/
4420
- T[5]("realityCheckText") + "") && ne(f, c), $[0] & /*realityCheckOptions, realityCheckValue*/
4455
+ w[5]("realityCheckText") + "") && ne(f, c), $[0] & /*realityCheckOptions, realityCheckValue*/
4421
4456
  132
4422
4457
  ) {
4423
- z = Xe(
4458
+ q = We(
4424
4459
  /*realityCheckOptions*/
4425
- T[7]
4460
+ w[7]
4426
4461
  );
4427
4462
  let P;
4428
- for (P = 0; P < z.length; P += 1) {
4429
- const _e = Mt(T, z, P);
4430
- R[P] ? R[P].p(_e, $) : (R[P] = Nt(_e), R[P].c(), R[P].m(p, m));
4463
+ for (P = 0; P < q.length; P += 1) {
4464
+ const _e = kt(w, q, P);
4465
+ R[P] ? R[P].p(_e, $) : (R[P] = Ft(_e), R[P].c(), R[P].m(d, m));
4431
4466
  }
4432
4467
  for (; P < R.length; P += 1)
4433
4468
  R[P].d(1);
4434
- R.length = z.length;
4469
+ R.length = q.length;
4435
4470
  }
4436
4471
  $[0] & /*$_*/
4437
- 32 && w !== (w = /*$_*/
4438
- T[5]("setFrequency") + "") && ne(B, w), $[0] & /*currentRealityCheckValue, realityCheckValue*/
4472
+ 32 && S !== (S = /*$_*/
4473
+ w[5]("setFrequency") + "") && ne(C, S), $[0] & /*currentRealityCheckValue, realityCheckValue*/
4439
4474
  12 && O !== (O = "PlayerRealityCheckButton " + /*currentRealityCheckValue*/
4440
- (T[3] === /*realityCheckValue*/
4441
- T[2] ? "ButtonInactive" : "")) && x(y, "class", O), $[0] & /*currentRealityCheckValue, realityCheckValue*/
4475
+ (w[3] === /*realityCheckValue*/
4476
+ w[2] ? "ButtonInactive" : "")) && x(y, "class", O), $[0] & /*currentRealityCheckValue, realityCheckValue*/
4442
4477
  12 && F !== (F = /*currentRealityCheckValue*/
4443
- T[3] === /*realityCheckValue*/
4444
- T[2]) && (y.disabled = F);
4478
+ w[3] === /*realityCheckValue*/
4479
+ w[2]) && (y.disabled = F);
4445
4480
  },
4446
- d(T) {
4447
- T && U(t), D && D.d(), M && M.d(), Ft(R, T), k = !1, X();
4481
+ d(w) {
4482
+ w && U(t), D && D.d(), M && M.d(), Vt(R, w), k = !1, z();
4448
4483
  }
4449
4484
  };
4450
4485
  }
4451
- function eo(e) {
4486
+ function io(e) {
4452
4487
  let t, r, n, i, o, s, a, l, u;
4453
- function c(d, y) {
4488
+ function c(p, y) {
4454
4489
  return (
4455
4490
  /*isMobile*/
4456
- d[6] ? no : ro
4491
+ p[6] ? ao : so
4457
4492
  );
4458
4493
  }
4459
- let h = c(e)(e), p = Xe({ length: 6 }), m = [];
4460
- for (let d = 0; d < p.length; d += 1)
4461
- m[d] = io(Yi(e, p, d));
4494
+ let h = c(e)(e), d = We({ length: 6 }), m = [];
4495
+ for (let p = 0; p < d.length; p += 1)
4496
+ m[p] = uo(ro(e, d, p));
4462
4497
  return {
4463
4498
  c() {
4464
- t = H("div"), h.c(), r = G(), n = H("div"), i = H("ui-skeleton"), o = G(), s = H("div");
4465
- for (let d = 0; d < m.length; d += 1)
4466
- m[d].c();
4467
- a = G(), l = H("div"), u = H("ui-skeleton"), A(i, "structure", "text"), A(i, "height", "15px"), A(i, "width", "100%"), A(i, "margin-bottom", "7px"), A(
4499
+ t = T("div"), h.c(), r = j(), n = T("div"), i = T("ui-skeleton"), o = j(), s = T("div");
4500
+ for (let p = 0; p < m.length; p += 1)
4501
+ m[p].c();
4502
+ a = j(), l = T("div"), u = T("ui-skeleton"), A(i, "structure", "text"), A(i, "height", "15px"), A(i, "width", "100%"), A(i, "margin-bottom", "7px"), A(
4468
4503
  i,
4469
4504
  "rows",
4470
4505
  /*isMobile*/
@@ -4476,34 +4511,34 @@ function eo(e) {
4476
4511
  e[6] ? "100%" : "350px"
4477
4512
  ), x(l, "class", "Button"), x(s, "class", "SkeletonOptionContainer"), x(t, "class", "SkeletonContainer");
4478
4513
  },
4479
- m(d, y) {
4480
- j(d, t, y), h.m(t, null), b(t, r), b(t, n), b(n, i), b(t, o), b(t, s);
4481
- for (let w = 0; w < m.length; w += 1)
4482
- m[w] && m[w].m(s, null);
4514
+ m(p, y) {
4515
+ G(p, t, y), h.m(t, null), b(t, r), b(t, n), b(n, i), b(t, o), b(t, s);
4516
+ for (let S = 0; S < m.length; S += 1)
4517
+ m[S] && m[S].m(s, null);
4483
4518
  b(s, a), b(s, l), b(l, u);
4484
4519
  },
4485
- p(d, y) {
4486
- h.p(d, y);
4520
+ p(p, y) {
4521
+ h.p(p, y);
4487
4522
  },
4488
- d(d) {
4489
- d && U(t), h.d(), Ft(m, d);
4523
+ d(p) {
4524
+ p && U(t), h.d(), Vt(m, p);
4490
4525
  }
4491
4526
  };
4492
4527
  }
4493
- function to(e) {
4528
+ function oo(e) {
4494
4529
  let t, r, n, i, o, s, a, l, u, c, f, h = (
4495
4530
  /*$_*/
4496
4531
  e[5]("titleRealityCheck") + ""
4497
- ), p, m, d, y = (
4532
+ ), d, m, p, y = (
4498
4533
  /*realityCheckSuccess*/
4499
- e[4] && It(e)
4534
+ e[4] && $t(e)
4500
4535
  );
4501
4536
  return {
4502
4537
  c() {
4503
- y && y.c(), t = G(), r = H("div"), n = K("svg"), i = K("defs"), o = K("style"), s = q(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = K("g"), l = K("g"), u = K("path"), c = G(), f = H("h2"), p = q(h), x(u, "class", "aaa"), x(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(u, "transform", "translate(15 15) rotate(180)"), x(l, "transform", "translate(20 158)"), x(a, "transform", "translate(-20 -158)"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "15"), x(n, "height", "15"), x(n, "viewBox", "0 0 15 15"), x(f, "class", "RealityCheckTitleMobile"), x(r, "class", "MenuReturnButton");
4538
+ y && y.c(), t = j(), r = T("div"), n = K("svg"), i = K("defs"), o = K("style"), s = W(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = K("g"), l = K("g"), u = K("path"), c = j(), f = T("h2"), d = W(h), x(u, "class", "aaa"), x(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(u, "transform", "translate(15 15) rotate(180)"), x(l, "transform", "translate(20 158)"), x(a, "transform", "translate(-20 -158)"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "15"), x(n, "height", "15"), x(n, "viewBox", "0 0 15 15"), x(f, "class", "RealityCheckTitleMobile"), x(r, "class", "MenuReturnButton");
4504
4539
  },
4505
- m(w, B) {
4506
- y && y.m(w, B), j(w, t, B), j(w, r, B), b(r, n), b(n, i), b(i, o), b(o, s), b(n, a), b(a, l), b(l, u), b(r, c), b(r, f), b(f, p), m || (d = [
4540
+ m(S, C) {
4541
+ y && y.m(S, C), G(S, t, C), G(S, r, C), b(r, n), b(n, i), b(i, o), b(o, s), b(n, a), b(a, l), b(l, u), b(r, c), b(r, f), b(f, d), m || (p = [
4507
4542
  Ce(
4508
4543
  r,
4509
4544
  "click",
@@ -4513,28 +4548,28 @@ function to(e) {
4513
4548
  Ce(r, "keydown", null)
4514
4549
  ], m = !0);
4515
4550
  },
4516
- p(w, B) {
4551
+ p(S, C) {
4517
4552
  /*realityCheckSuccess*/
4518
- w[4] ? y ? y.p(w, B) : (y = It(w), y.c(), y.m(t.parentNode, t)) : y && (y.d(1), y = null), B[0] & /*$_*/
4553
+ S[4] ? y ? y.p(S, C) : (y = $t(S), y.c(), y.m(t.parentNode, t)) : y && (y.d(1), y = null), C[0] & /*$_*/
4519
4554
  32 && h !== (h = /*$_*/
4520
- w[5]("titleRealityCheck") + "") && ne(p, h);
4555
+ S[5]("titleRealityCheck") + "") && ne(d, h);
4521
4556
  },
4522
- d(w) {
4523
- w && (U(t), U(r)), y && y.d(w), m = !1, ce(d);
4557
+ d(S) {
4558
+ S && (U(t), U(r)), y && y.d(S), m = !1, le(p);
4524
4559
  }
4525
4560
  };
4526
4561
  }
4527
- function It(e) {
4562
+ function $t(e) {
4528
4563
  let t, r = (
4529
4564
  /*$_*/
4530
4565
  e[5]("successMessage") + ""
4531
4566
  ), n;
4532
4567
  return {
4533
4568
  c() {
4534
- t = H("div"), n = q(r), x(t, "class", "successMessageMobile");
4569
+ t = T("div"), n = W(r), x(t, "class", "successMessageMobile");
4535
4570
  },
4536
4571
  m(i, o) {
4537
- j(i, t, o), b(t, n);
4572
+ G(i, t, o), b(t, n);
4538
4573
  },
4539
4574
  p(i, o) {
4540
4575
  o[0] & /*$_*/
@@ -4546,18 +4581,18 @@ function It(e) {
4546
4581
  }
4547
4582
  };
4548
4583
  }
4549
- function Lt(e) {
4584
+ function Ut(e) {
4550
4585
  let t, r = (
4551
4586
  /*$_*/
4552
4587
  e[5]("successMessage") + ""
4553
4588
  ), n;
4554
4589
  return {
4555
4590
  c() {
4556
- t = H("div"), n = q(r), x(t, "class", "successMessage " + /*isMobile*/
4591
+ t = T("div"), n = W(r), x(t, "class", "successMessage " + /*isMobile*/
4557
4592
  (e[6] ? "successMessageMobile" : ""));
4558
4593
  },
4559
4594
  m(i, o) {
4560
- j(i, t, o), b(t, n);
4595
+ G(i, t, o), b(t, n);
4561
4596
  },
4562
4597
  p(i, o) {
4563
4598
  o[0] & /*$_*/
@@ -4569,23 +4604,23 @@ function Lt(e) {
4569
4604
  }
4570
4605
  };
4571
4606
  }
4572
- function Nt(e) {
4607
+ function Ft(e) {
4573
4608
  let t, r, n, i, o = (
4574
4609
  /*text*/
4575
4610
  e[34] + ""
4576
4611
  ), s, a, l, u;
4577
- return a = wr(
4612
+ return a = Br(
4578
4613
  /*$$binding_groups*/
4579
4614
  e[20][0]
4580
4615
  ), {
4581
4616
  c() {
4582
- t = H("div"), r = H("input"), n = G(), i = H("label"), s = q(o), x(r, "type", "radio"), x(
4617
+ t = T("div"), r = T("input"), n = j(), i = T("label"), s = W(o), x(r, "type", "radio"), x(
4583
4618
  r,
4584
4619
  "id",
4585
4620
  /*value*/
4586
4621
  e[33]
4587
4622
  ), r.__value = /*value*/
4588
- e[33], Hr(r, r.__value), x(
4623
+ e[33], Pr(r, r.__value), x(
4589
4624
  i,
4590
4625
  "for",
4591
4626
  /*value*/
@@ -4593,7 +4628,7 @@ function Nt(e) {
4593
4628
  ), a.p(r);
4594
4629
  },
4595
4630
  m(c, f) {
4596
- j(c, t, f), b(t, r), r.checked = r.__value === /*realityCheckValue*/
4631
+ G(c, t, f), b(t, r), r.checked = r.__value === /*realityCheckValue*/
4597
4632
  e[2], b(t, n), b(t, i), b(i, s), l || (u = Ce(
4598
4633
  r,
4599
4634
  "change",
@@ -4611,14 +4646,14 @@ function Nt(e) {
4611
4646
  }
4612
4647
  };
4613
4648
  }
4614
- function ro(e) {
4649
+ function so(e) {
4615
4650
  let t;
4616
4651
  return {
4617
4652
  c() {
4618
- t = H("div"), t.innerHTML = '<ui-skeleton structure="title" width="200px" margin-top="20px"></ui-skeleton>', x(t, "class", "SkeletonHeaderText");
4653
+ t = T("div"), t.innerHTML = '<ui-skeleton structure="title" width="200px" margin-top="20px"></ui-skeleton>', x(t, "class", "SkeletonHeaderText");
4619
4654
  },
4620
4655
  m(r, n) {
4621
- j(r, t, n);
4656
+ G(r, t, n);
4622
4657
  },
4623
4658
  p: N,
4624
4659
  d(r) {
@@ -4626,15 +4661,15 @@ function ro(e) {
4626
4661
  }
4627
4662
  };
4628
4663
  }
4629
- function no(e) {
4664
+ function ao(e) {
4630
4665
  let t, r, n, i;
4631
4666
  return {
4632
4667
  c() {
4633
- t = H("div"), r = H("ui-skeleton"), n = G(), i = H("ui-skeleton"), A(r, "structure", "title"), A(r, "width", "20px"), A(r, "height", "20px"), A(r, "margin-top", "5px"), A(r, "margin-bottom", "15px"), A(i, "structure", "title"), A(i, "width", "100px"), A(i, "height", "20px"), A(i, "margin-top", "5px"), A(i, "margin-bottom", "15px"), x(t, "class", "SkeletonMenuButton " + /*isMobile*/
4668
+ t = T("div"), r = T("ui-skeleton"), n = j(), i = T("ui-skeleton"), A(r, "structure", "title"), A(r, "width", "20px"), A(r, "height", "20px"), A(r, "margin-top", "5px"), A(r, "margin-bottom", "15px"), A(i, "structure", "title"), A(i, "width", "100px"), A(i, "height", "20px"), A(i, "margin-top", "5px"), A(i, "margin-bottom", "15px"), x(t, "class", "SkeletonMenuButton " + /*isMobile*/
4634
4669
  (e[6] ? "Mobile" : ""));
4635
4670
  },
4636
4671
  m(o, s) {
4637
- j(o, t, s), b(t, r), b(t, n), b(t, i);
4672
+ G(o, t, s), b(t, r), b(t, n), b(t, i);
4638
4673
  },
4639
4674
  p: N,
4640
4675
  d(o) {
@@ -4642,14 +4677,14 @@ function no(e) {
4642
4677
  }
4643
4678
  };
4644
4679
  }
4645
- function io(e) {
4680
+ function uo(e) {
4646
4681
  let t;
4647
4682
  return {
4648
4683
  c() {
4649
- t = H("div"), t.innerHTML = '<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>', x(t, "class", "SkeletonOption");
4684
+ t = T("div"), t.innerHTML = '<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>', x(t, "class", "SkeletonOption");
4650
4685
  },
4651
4686
  m(r, n) {
4652
- j(r, t, n);
4687
+ G(r, t, n);
4653
4688
  },
4654
4689
  p: N,
4655
4690
  d(r) {
@@ -4657,22 +4692,22 @@ function io(e) {
4657
4692
  }
4658
4693
  };
4659
4694
  }
4660
- function oo(e) {
4695
+ function lo(e) {
4661
4696
  let t;
4662
4697
  function r(o, s) {
4663
4698
  return (
4664
4699
  /*skeletonLoading*/
4665
- o[1] ? eo : Ki
4700
+ o[1] ? io : no
4666
4701
  );
4667
4702
  }
4668
4703
  let n = r(e), i = n(e);
4669
4704
  return {
4670
4705
  c() {
4671
- t = H("div"), i.c(), x(t, "class", "PlayerRealityCheckWrapper " + /*isMobile*/
4706
+ t = T("div"), i.c(), x(t, "class", "PlayerRealityCheckWrapper " + /*isMobile*/
4672
4707
  (e[6] ? "PlayerRealityCheckWrapperMobile" : ""));
4673
4708
  },
4674
4709
  m(o, s) {
4675
- j(o, t, s), i.m(t, null), e[21](t);
4710
+ G(o, t, s), i.m(t, null), e[21](t);
4676
4711
  },
4677
4712
  p(o, s) {
4678
4713
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4684,17 +4719,17 @@ function oo(e) {
4684
4719
  }
4685
4720
  };
4686
4721
  }
4687
- function so(e, t, r) {
4722
+ function co(e, t, r) {
4688
4723
  let n;
4689
- _r(e, Xi, (g) => r(5, n = g));
4690
- let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, h, p = zi(window.navigator.userAgent) !== "PC", m = !0, d, y, w = !1, B = [];
4724
+ wr(e, Zi, (g) => r(5, n = g));
4725
+ let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, h, d = Qi(window.navigator.userAgent) !== "PC", m = !0, p, y, S = !1, C = [];
4691
4726
  const O = () => {
4692
4727
  const g = new URL(`${i}/v1/player/${o}/realitycheck`), E = new Headers();
4693
4728
  E.append("X-SessionID", s);
4694
4729
  const Q = { method: "GET", headers: E };
4695
4730
  fetch(g.href, Q).then((I) => I.json()).then(
4696
4731
  (I) => {
4697
- r(2, d = r(3, y = I.UserRealityCheckValue));
4732
+ r(2, p = r(3, y = I.UserRealityCheckValue));
4698
4733
  },
4699
4734
  (I) => {
4700
4735
  console.error(I);
@@ -4714,30 +4749,30 @@ function so(e, t, r) {
4714
4749
  );
4715
4750
  }, k = (g) => {
4716
4751
  g.forEach((E) => {
4717
- E == 0 ? B.push({
4752
+ E == 0 ? C.push({
4718
4753
  value: E.toString(),
4719
4754
  text: n("never")
4720
- }) : E < 60 ? B.push({
4755
+ }) : E < 60 ? C.push({
4721
4756
  value: E.toString(),
4722
4757
  text: E + " " + n("minutes")
4723
- }) : E == 60 ? B.push({
4758
+ }) : E == 60 ? C.push({
4724
4759
  value: E.toString(),
4725
4760
  text: n("oneHour")
4726
- }) : E > 60 && B.push({
4761
+ }) : E > 60 && C.push({
4727
4762
  value: E.toString(),
4728
4763
  text: E / 60 + " " + n("hours")
4729
4764
  });
4730
4765
  });
4731
- }, X = async () => {
4766
+ }, z = async () => {
4732
4767
  const g = new URL(`${i}/v1/player/${o}/realitycheck`), E = new Headers();
4733
- E.append("X-SessionID", s), E.append("Content-Type", "application/json"), E.append("Accept", "application/json"), E.append("realityCheckValue", `${parseInt(d, 10)}`);
4768
+ E.append("X-SessionID", s), E.append("Content-Type", "application/json"), E.append("Accept", "application/json"), E.append("realityCheckValue", `${parseInt(p, 10)}`);
4734
4769
  const Q = { method: "POST", headers: E };
4735
4770
  return await fetch(g.href, Q).then(
4736
4771
  (I) => I.status == 200,
4737
4772
  (I) => (console.error(I), !1)
4738
4773
  );
4739
4774
  }, D = (g) => {
4740
- g.preventDefault(), X().then((E) => {
4775
+ g.preventDefault(), z().then((E) => {
4741
4776
  E && (M(), O());
4742
4777
  });
4743
4778
  }, M = () => {
@@ -4750,36 +4785,36 @@ function so(e, t, r) {
4750
4785
  }
4751
4786
  },
4752
4787
  window.location.href
4753
- ), r(4, w = !0), setTimeout(() => r(4, w = !1), 2e3);
4754
- }, z = () => {
4788
+ ), r(4, S = !0), setTimeout(() => r(4, S = !1), 2e3);
4789
+ }, q = () => {
4755
4790
  window.postMessage(
4756
4791
  {
4757
4792
  type: "PlayerAccountMenuActive",
4758
- isMobile: p
4793
+ isMobile: d
4759
4794
  },
4760
4795
  window.location.href
4761
4796
  );
4762
4797
  }, R = () => {
4763
- qi(a);
4764
- }, T = () => {
4798
+ Ji(a);
4799
+ }, w = () => {
4765
4800
  fetch(f).then((E) => E.json()).then((E) => {
4766
4801
  Object.keys(E).forEach((Q) => {
4767
- Ot(Q, E[Q]);
4802
+ Lt(Q, E[Q]);
4768
4803
  });
4769
4804
  }).catch((E) => {
4770
4805
  console.log(E);
4771
4806
  });
4772
4807
  };
4773
- Object.keys(Rt).forEach((g) => {
4774
- Ot(g, Rt[g]);
4775
- }), Ar(() => () => {
4808
+ Object.keys(Nt).forEach((g) => {
4809
+ Lt(g, Nt[g]);
4810
+ }), Mr(() => () => {
4776
4811
  });
4777
- const $ = [[]], P = () => z();
4812
+ const $ = [[]], P = () => q();
4778
4813
  function _e() {
4779
- d = this.__value, r(2, d);
4814
+ p = this.__value, r(2, p);
4780
4815
  }
4781
- function gr(g) {
4782
- Ge[g ? "unshift" : "push"](() => {
4816
+ function Er(g) {
4817
+ Xe[g ? "unshift" : "push"](() => {
4783
4818
  h = g, r(0, h);
4784
4819
  });
4785
4820
  }
@@ -4790,21 +4825,21 @@ function so(e, t, r) {
4790
4825
  8192 && a && R(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4791
4826
  7168 && i && o && s && O(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4792
4827
  7168 && i && o && s && F(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4793
- 16385 && l && h && Wi(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4794
- 32769 && u && h && Zi(h, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4795
- 65537 && c && h && Qi(h, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
4796
- 131072 && f && T();
4828
+ 16385 && l && h && Yi(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4829
+ 32769 && u && h && Ki(h, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4830
+ 65537 && c && h && eo(h, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
4831
+ 131072 && f && w();
4797
4832
  }, [
4798
4833
  h,
4799
4834
  m,
4800
- d,
4835
+ p,
4801
4836
  y,
4802
- w,
4837
+ S,
4803
4838
  n,
4804
- p,
4805
- B,
4839
+ d,
4840
+ C,
4806
4841
  D,
4807
- z,
4842
+ q,
4808
4843
  i,
4809
4844
  o,
4810
4845
  s,
@@ -4816,17 +4851,17 @@ function so(e, t, r) {
4816
4851
  P,
4817
4852
  _e,
4818
4853
  $,
4819
- gr
4854
+ Er
4820
4855
  ];
4821
4856
  }
4822
- class ao extends Dr {
4857
+ class ho extends Xr {
4823
4858
  constructor(t) {
4824
- super(), Ur(
4859
+ super(), Gr(
4825
4860
  this,
4826
4861
  t,
4827
- so,
4828
- oo,
4829
- $t,
4862
+ co,
4863
+ lo,
4864
+ jt,
4830
4865
  {
4831
4866
  endpoint: 10,
4832
4867
  playerid: 11,
@@ -4837,7 +4872,7 @@ class ao extends Dr {
4837
4872
  mbsource: 16,
4838
4873
  translationurl: 17
4839
4874
  },
4840
- Ji,
4875
+ to,
4841
4876
  [-1, -1]
4842
4877
  );
4843
4878
  }
@@ -4890,7 +4925,7 @@ class ao extends Dr {
4890
4925
  this.$$set({ translationurl: t }), V();
4891
4926
  }
4892
4927
  }
4893
- Fr(ao, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4928
+ Vr(ho, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4894
4929
  export {
4895
- ao as P
4930
+ ho as P
4896
4931
  };