@everymatrix/player-account-biometrics 1.77.20 → 1.77.21

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,24 +1,24 @@
1
1
  function I() {
2
2
  }
3
- function Et(e) {
3
+ function wt(e) {
4
4
  return e();
5
5
  }
6
- function Qe() {
6
+ function tt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ae(e) {
10
- e.forEach(Et);
9
+ function se(e) {
10
+ e.forEach(wt);
11
11
  }
12
- function We(e) {
12
+ function Je(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function _t(e, t) {
15
+ function Tt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function tr(e) {
18
+ function sr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function xt(e, ...t) {
21
+ function Ht(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function xt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function rr(e, t, r) {
31
- e.$$.on_destroy.push(xt(t, r));
30
+ function ar(e, t, r) {
31
+ e.$$.on_destroy.push(Ht(t, r));
32
32
  }
33
- function E(e, t) {
33
+ function v(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function nr(e, t, r) {
37
- const n = ir(e);
36
+ function ur(e, t, r) {
37
+ const n = hr(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = O("style");
40
- i.id = t, i.textContent = r, or(n, i);
40
+ i.id = t, i.textContent = r, lr(n, i);
41
41
  }
42
42
  }
43
- function ir(e) {
43
+ function hr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,17 +50,17 @@ function ir(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function or(e, t) {
54
- return E(
53
+ function lr(e, t) {
54
+ return v(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function ze(e, t, r) {
60
+ function qe(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function ge(e) {
63
+ function ye(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
66
  function O(e) {
@@ -72,23 +72,23 @@ function F(e) {
72
72
  function U(e) {
73
73
  return document.createTextNode(e);
74
74
  }
75
- function te() {
75
+ function ee() {
76
76
  return U(" ");
77
77
  }
78
- function Bt(e, t, r, n) {
78
+ function At(e, t, r, n) {
79
79
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
80
80
  }
81
81
  function B(e, t, r) {
82
82
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
83
83
  }
84
- function sr(e) {
84
+ function cr(e) {
85
85
  return Array.from(e.childNodes);
86
86
  }
87
- function re(e, t) {
87
+ function te(e, t) {
88
88
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
89
89
  t);
90
90
  }
91
- function ar(e) {
91
+ function fr(e) {
92
92
  const t = {};
93
93
  return e.childNodes.forEach(
94
94
  /** @param {Element} node */
@@ -97,87 +97,87 @@ function ar(e) {
97
97
  }
98
98
  ), t;
99
99
  }
100
- let ie;
101
- function ne(e) {
102
- ie = e;
100
+ let ne;
101
+ function re(e) {
102
+ ne = e;
103
103
  }
104
- function ur() {
105
- if (!ie)
104
+ function pr() {
105
+ if (!ne)
106
106
  throw new Error("Function called outside component initialization");
107
- return ie;
107
+ return ne;
108
108
  }
109
- function hr(e) {
110
- ur().$$.on_mount.push(e);
109
+ function mr(e) {
110
+ pr().$$.on_mount.push(e);
111
111
  }
112
- const V = [], Oe = [];
112
+ const V = [], Me = [];
113
113
  let X = [];
114
- const Je = [], lr = /* @__PURE__ */ Promise.resolve();
115
- let Ie = !1;
116
- function cr() {
117
- Ie || (Ie = !0, lr.then($));
114
+ const rt = [], br = /* @__PURE__ */ Promise.resolve();
115
+ let Le = !1;
116
+ function dr() {
117
+ Le || (Le = !0, br.then($));
118
118
  }
119
- function Ne(e) {
119
+ function Ce(e) {
120
120
  X.push(e);
121
121
  }
122
- const Be = /* @__PURE__ */ new Set();
122
+ const we = /* @__PURE__ */ new Set();
123
123
  let j = 0;
124
124
  function $() {
125
125
  if (j !== 0)
126
126
  return;
127
- const e = ie;
127
+ const e = ne;
128
128
  do {
129
129
  try {
130
130
  for (; j < V.length; ) {
131
131
  const t = V[j];
132
- j++, ne(t), fr(t.$$);
132
+ j++, re(t), gr(t.$$);
133
133
  }
134
134
  } catch (t) {
135
135
  throw V.length = 0, j = 0, t;
136
136
  }
137
- for (ne(null), V.length = 0, j = 0; Oe.length; )
138
- Oe.pop()();
137
+ for (re(null), V.length = 0, j = 0; Me.length; )
138
+ Me.pop()();
139
139
  for (let t = 0; t < X.length; t += 1) {
140
140
  const r = X[t];
141
- Be.has(r) || (Be.add(r), r());
141
+ we.has(r) || (we.add(r), r());
142
142
  }
143
143
  X.length = 0;
144
144
  } while (V.length);
145
- for (; Je.length; )
146
- Je.pop()();
147
- Ie = !1, Be.clear(), ne(e);
145
+ for (; rt.length; )
146
+ rt.pop()();
147
+ Le = !1, we.clear(), re(e);
148
148
  }
149
- function fr(e) {
149
+ function gr(e) {
150
150
  if (e.fragment !== null) {
151
- e.update(), ae(e.before_update);
151
+ e.update(), se(e.before_update);
152
152
  const t = e.dirty;
153
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
153
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
154
154
  }
155
155
  }
156
- function mr(e) {
156
+ function yr(e) {
157
157
  const t = [], r = [];
158
158
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
159
159
  }
160
- const pr = /* @__PURE__ */ new Set();
161
- function br(e, t) {
162
- e && e.i && (pr.delete(e), e.i(t));
160
+ const vr = /* @__PURE__ */ new Set();
161
+ function Er(e, t) {
162
+ e && e.i && (vr.delete(e), e.i(t));
163
163
  }
164
- function dr(e, t, r) {
164
+ function _r(e, t, r) {
165
165
  const { fragment: n, after_update: i } = e.$$;
166
- n && n.m(t, r), Ne(() => {
167
- const o = e.$$.on_mount.map(Et).filter(We);
168
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
169
- }), i.forEach(Ne);
166
+ n && n.m(t, r), Ce(() => {
167
+ const o = e.$$.on_mount.map(wt).filter(Je);
168
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
169
+ }), i.forEach(Ce);
170
170
  }
171
- function gr(e, t) {
171
+ function xr(e, t) {
172
172
  const r = e.$$;
173
- r.fragment !== null && (mr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
+ r.fragment !== null && (yr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
174
  }
175
- function yr(e, t) {
176
- e.$$.dirty[0] === -1 && (V.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
175
+ function Br(e, t) {
176
+ e.$$.dirty[0] === -1 && (V.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
177
  }
178
- function vr(e, t, r, n, i, o, s = null, a = [-1]) {
179
- const h = ie;
180
- ne(e);
178
+ function Sr(e, t, r, n, i, o, s = null, a = [-1]) {
179
+ const h = ne;
180
+ re(e);
181
181
  const u = e.$$ = {
182
182
  fragment: null,
183
183
  ctx: [],
@@ -185,7 +185,7 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
185
185
  props: o,
186
186
  update: I,
187
187
  not_equal: i,
188
- bound: Qe(),
188
+ bound: tt(),
189
189
  // lifecycle
190
190
  on_mount: [],
191
191
  on_destroy: [],
@@ -194,28 +194,28 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
194
194
  after_update: [],
195
195
  context: new Map(t.context || (h ? h.$$.context : [])),
196
196
  // everything else
197
- callbacks: Qe(),
197
+ callbacks: tt(),
198
198
  dirty: a,
199
199
  skip_bound: !1,
200
200
  root: t.target || h.$$.root
201
201
  };
202
202
  s && s(u.root);
203
203
  let l = !1;
204
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
205
- const g = m.length ? m[0] : f;
206
- return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && yr(e, c)), f;
207
- }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
204
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
205
+ const g = p.length ? p[0] : f;
206
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && Br(e, c)), f;
207
+ }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
208
208
  if (t.hydrate) {
209
- const c = sr(t.target);
210
- u.fragment && u.fragment.l(c), c.forEach(ge);
209
+ const c = cr(t.target);
210
+ u.fragment && u.fragment.l(c), c.forEach(ye);
211
211
  } else
212
212
  u.fragment && u.fragment.c();
213
- t.intro && br(e.$$.fragment), dr(e, t.target, t.anchor), $();
213
+ t.intro && Er(e.$$.fragment), _r(e, t.target, t.anchor), $();
214
214
  }
215
- ne(h);
215
+ re(h);
216
216
  }
217
- let St;
218
- typeof HTMLElement == "function" && (St = class extends HTMLElement {
217
+ let Pt;
218
+ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
219
219
  /** The Svelte component constructor */
220
220
  $$ctor;
221
221
  /** Slots */
@@ -264,17 +264,17 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
264
264
  * @param {HTMLElement} [anchor]
265
265
  */
266
266
  m: function(h, u) {
267
- ze(h, o, u);
267
+ qe(h, o, u);
268
268
  },
269
269
  d: function(h) {
270
- h && ge(o);
270
+ h && ye(o);
271
271
  }
272
272
  };
273
273
  };
274
274
  };
275
275
  if (await Promise.resolve(), !this.$$cn || this.$$c)
276
276
  return;
277
- const t = {}, r = ar(this);
277
+ const t = {}, r = fr(this);
278
278
  for (const i of this.$$s)
279
279
  i in r && (t[i] = [e(i)]);
280
280
  for (const i of this.attributes) {
@@ -361,8 +361,8 @@ function ce(e, t, r, n) {
361
361
  return t;
362
362
  }
363
363
  }
364
- function Er(e, t, r, n, i, o) {
365
- let s = class extends St {
364
+ function wr(e, t, r, n, i, o) {
365
+ let s = class extends Pt {
366
366
  constructor() {
367
367
  super(e, r, i), this.$$p_d = t;
368
368
  }
@@ -390,7 +390,7 @@ function Er(e, t, r, n, i, o) {
390
390
  }), e.element = /** @type {any} */
391
391
  s, s;
392
392
  }
393
- class _r {
393
+ class Tr {
394
394
  /**
395
395
  * ### PRIVATE API
396
396
  *
@@ -409,7 +409,7 @@ class _r {
409
409
  $$set = void 0;
410
410
  /** @returns {void} */
411
411
  $destroy() {
412
- gr(this, 1), this.$destroy = I;
412
+ xr(this, 1), this.$destroy = I;
413
413
  }
414
414
  /**
415
415
  * @template {Extract<keyof Events, string>} K
@@ -418,7 +418,7 @@ class _r {
418
418
  * @returns {() => void}
419
419
  */
420
420
  $on(t, r) {
421
- if (!We(r))
421
+ if (!Je(r))
422
422
  return I;
423
423
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
424
424
  return n.push(r), () => {
@@ -431,11 +431,11 @@ class _r {
431
431
  * @returns {void}
432
432
  */
433
433
  $set(t) {
434
- this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
+ this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
435
  }
436
436
  }
437
- const xr = "4";
438
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
437
+ const Hr = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
439
439
  /*! *****************************************************************************
440
440
  Copyright (c) Microsoft Corporation.
441
441
 
@@ -450,43 +450,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
450
450
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
451
451
  PERFORMANCE OF THIS SOFTWARE.
452
452
  ***************************************************************************** */
453
- var Me = function(e, t) {
454
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
453
+ var $e = function(e, t) {
454
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
455
455
  r.__proto__ = n;
456
456
  } || function(r, n) {
457
457
  for (var i in n)
458
458
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
459
- }, Me(e, t);
459
+ }, $e(e, t);
460
460
  };
461
- function C(e, t) {
461
+ function ae(e, t) {
462
462
  if (typeof t != "function" && t !== null)
463
463
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
464
- Me(e, t);
464
+ $e(e, t);
465
465
  function r() {
466
466
  this.constructor = e;
467
467
  }
468
468
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
469
469
  }
470
- var y = function() {
471
- return y = Object.assign || function(t) {
472
- for (var r, n = 1, i = arguments.length; n < i; n++) {
473
- r = arguments[n];
474
- for (var o in r)
475
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
476
- }
477
- return t;
478
- }, y.apply(this, arguments);
479
- };
480
- function Br(e, t) {
481
- var r = {};
482
- for (var n in e)
483
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
484
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
485
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
486
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
487
- return r;
488
- }
489
- function Le(e) {
470
+ function Re(e) {
490
471
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
491
472
  if (r)
492
473
  return r.call(e);
@@ -498,7 +479,7 @@ function Le(e) {
498
479
  };
499
480
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
500
481
  }
501
- function Ce(e, t) {
482
+ function De(e, t) {
502
483
  var r = typeof Symbol == "function" && e[Symbol.iterator];
503
484
  if (!r)
504
485
  return e;
@@ -518,22 +499,22 @@ function Ce(e, t) {
518
499
  }
519
500
  return o;
520
501
  }
521
- function W(e, t, r) {
522
- if (r || arguments.length === 2)
502
+ function Ue(e, t, r) {
503
+ if (arguments.length === 2)
523
504
  for (var n = 0, i = t.length, o; n < i; n++)
524
505
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
525
506
  return e.concat(o || t);
526
507
  }
527
- function L(e) {
508
+ function C(e) {
528
509
  return typeof e == "function";
529
510
  }
530
- function Tt(e) {
511
+ function Ot(e) {
531
512
  var t = function(n) {
532
513
  Error.call(n), n.stack = new Error().stack;
533
514
  }, r = e(t);
534
515
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
535
516
  }
536
- var Se = Tt(function(e) {
517
+ var Te = Ot(function(e) {
537
518
  return function(r) {
538
519
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
539
520
  ` + r.map(function(n, i) {
@@ -542,13 +523,13 @@ var Se = Tt(function(e) {
542
523
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
543
524
  };
544
525
  });
545
- function $e(e, t) {
526
+ function Ge(e, t) {
546
527
  if (e) {
547
528
  var r = e.indexOf(t);
548
529
  0 <= r && e.splice(r, 1);
549
530
  }
550
531
  }
551
- var ye = function() {
532
+ var ve = function() {
552
533
  function e(t) {
553
534
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
554
535
  }
@@ -560,12 +541,12 @@ var ye = function() {
560
541
  if (s)
561
542
  if (this._parentage = null, Array.isArray(s))
562
543
  try {
563
- for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
544
+ for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
564
545
  var u = h.value;
565
546
  u.remove(this);
566
547
  }
567
- } catch (p) {
568
- t = { error: p };
548
+ } catch (m) {
549
+ t = { error: m };
569
550
  } finally {
570
551
  try {
571
552
  h && !h.done && (r = a.return) && r.call(a);
@@ -577,29 +558,29 @@ var ye = function() {
577
558
  else
578
559
  s.remove(this);
579
560
  var l = this.initialTeardown;
580
- if (L(l))
561
+ if (C(l))
581
562
  try {
582
563
  l();
583
- } catch (p) {
584
- o = p instanceof Se ? p.errors : [p];
564
+ } catch (m) {
565
+ o = m instanceof Te ? m.errors : [m];
585
566
  }
586
567
  var c = this._finalizers;
587
568
  if (c) {
588
569
  this._finalizers = null;
589
570
  try {
590
- for (var f = Le(c), m = f.next(); !m.done; m = f.next()) {
591
- var g = m.value;
571
+ for (var f = Re(c), p = f.next(); !p.done; p = f.next()) {
572
+ var g = p.value;
592
573
  try {
593
- qe(g);
594
- } catch (p) {
595
- o = o ?? [], p instanceof Se ? o = W(W([], Ce(o)), Ce(p.errors)) : o.push(p);
574
+ nt(g);
575
+ } catch (m) {
576
+ o = o ?? [], m instanceof Te ? o = Ue(Ue([], De(o)), De(m.errors)) : o.push(m);
596
577
  }
597
578
  }
598
- } catch (p) {
599
- n = { error: p };
579
+ } catch (m) {
580
+ n = { error: m };
600
581
  } finally {
601
582
  try {
602
- m && !m.done && (i = f.return) && i.call(f);
583
+ p && !p.done && (i = f.return) && i.call(f);
603
584
  } finally {
604
585
  if (n)
605
586
  throw n.error;
@@ -607,13 +588,13 @@ var ye = function() {
607
588
  }
608
589
  }
609
590
  if (o)
610
- throw new Se(o);
591
+ throw new Te(o);
611
592
  }
612
593
  }, e.prototype.add = function(t) {
613
594
  var r;
614
595
  if (t && t !== this)
615
596
  if (this.closed)
616
- qe(t);
597
+ nt(t);
617
598
  else {
618
599
  if (t instanceof e) {
619
600
  if (t.closed || t._hasParent(this))
@@ -630,52 +611,52 @@ var ye = function() {
630
611
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
631
612
  }, e.prototype._removeParent = function(t) {
632
613
  var r = this._parentage;
633
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
614
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
634
615
  }, e.prototype.remove = function(t) {
635
616
  var r = this._finalizers;
636
- r && $e(r, t), t instanceof e && t._removeParent(this);
617
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
637
618
  }, e.EMPTY = function() {
638
619
  var t = new e();
639
620
  return t.closed = !0, t;
640
621
  }(), e;
641
- }(), wt = ye.EMPTY;
642
- function Ht(e) {
643
- return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
622
+ }(), It = ve.EMPTY;
623
+ function Nt(e) {
624
+ return e instanceof ve || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
644
625
  }
645
- function qe(e) {
646
- L(e) ? e() : e.unsubscribe();
626
+ function nt(e) {
627
+ C(e) ? e() : e.unsubscribe();
647
628
  }
648
- var Sr = {
629
+ var Ar = {
649
630
  Promise: void 0
650
- }, Tr = {
631
+ }, Pr = {
651
632
  setTimeout: function(e, t) {
652
633
  for (var r = [], n = 2; n < arguments.length; n++)
653
634
  r[n - 2] = arguments[n];
654
- return setTimeout.apply(void 0, W([e, t], Ce(r)));
635
+ return setTimeout.apply(void 0, Ue([e, t], De(r)));
655
636
  },
656
637
  clearTimeout: function(e) {
657
638
  return clearTimeout(e);
658
639
  },
659
640
  delegate: void 0
660
641
  };
661
- function wr(e) {
662
- Tr.setTimeout(function() {
642
+ function Or(e) {
643
+ Pr.setTimeout(function() {
663
644
  throw e;
664
645
  });
665
646
  }
666
- function Ke() {
647
+ function it() {
667
648
  }
668
649
  function fe(e) {
669
650
  e();
670
651
  }
671
- var At = function(e) {
672
- C(t, e);
652
+ var Mt = function(e) {
653
+ ae(t, e);
673
654
  function t(r) {
674
655
  var n = e.call(this) || this;
675
- return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Pr, n;
656
+ return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Mr, n;
676
657
  }
677
658
  return t.create = function(r, n, i) {
678
- return new Re(r, n, i);
659
+ return new Fe(r, n, i);
679
660
  }, t.prototype.next = function(r) {
680
661
  this.isStopped || this._next(r);
681
662
  }, t.prototype.error = function(r) {
@@ -699,7 +680,7 @@ var At = function(e) {
699
680
  this.unsubscribe();
700
681
  }
701
682
  }, t;
702
- }(ye), Hr = function() {
683
+ }(ve), Ir = function() {
703
684
  function e(t) {
704
685
  this.partialObserver = t;
705
686
  }
@@ -730,43 +711,43 @@ var At = function(e) {
730
711
  he(r);
731
712
  }
732
713
  }, e;
733
- }(), Re = function(e) {
734
- C(t, e);
714
+ }(), Fe = function(e) {
715
+ ae(t, e);
735
716
  function t(r, n, i) {
736
717
  var o = e.call(this) || this, s;
737
- return L(r) || !r ? s = {
718
+ return C(r) || !r ? s = {
738
719
  next: r ?? void 0,
739
720
  error: n ?? void 0,
740
721
  complete: i ?? void 0
741
- } : s = r, o.destination = new Hr(s), o;
722
+ } : s = r, o.destination = new Ir(s), o;
742
723
  }
743
724
  return t;
744
- }(At);
725
+ }(Mt);
745
726
  function he(e) {
746
- wr(e);
727
+ Or(e);
747
728
  }
748
- function Ar(e) {
729
+ function Nr(e) {
749
730
  throw e;
750
731
  }
751
- var Pr = {
732
+ var Mr = {
752
733
  closed: !0,
753
- next: Ke,
754
- error: Ar,
755
- complete: Ke
756
- }, Or = function() {
734
+ next: it,
735
+ error: Nr,
736
+ complete: it
737
+ }, Lr = function() {
757
738
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
758
739
  }();
759
- function Ir(e) {
740
+ function Cr(e) {
760
741
  return e;
761
742
  }
762
- function Nr(e) {
763
- return e.length === 0 ? Ir : e.length === 1 ? e[0] : function(r) {
743
+ function $r(e) {
744
+ return e.length === 0 ? Cr : e.length === 1 ? e[0] : function(r) {
764
745
  return e.reduce(function(n, i) {
765
746
  return i(n);
766
747
  }, r);
767
748
  };
768
749
  }
769
- var et = function() {
750
+ var ot = function() {
770
751
  function e(t) {
771
752
  t && (this._subscribe = t);
772
753
  }
@@ -774,7 +755,7 @@ var et = function() {
774
755
  var r = new e();
775
756
  return r.source = this, r.operator = t, r;
776
757
  }, e.prototype.subscribe = function(t, r, n) {
777
- var i = this, o = Lr(t) ? t : new Re(t, r, n);
758
+ var i = this, o = Dr(t) ? t : new Fe(t, r, n);
778
759
  return fe(function() {
779
760
  var s = i, a = s.operator, h = s.source;
780
761
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -787,8 +768,8 @@ var et = function() {
787
768
  }
788
769
  }, e.prototype.forEach = function(t, r) {
789
770
  var n = this;
790
- return r = tt(r), new r(function(i, o) {
791
- var s = new Re({
771
+ return r = st(r), new r(function(i, o) {
772
+ var s = new Fe({
792
773
  next: function(a) {
793
774
  try {
794
775
  t(a);
@@ -804,15 +785,15 @@ var et = function() {
804
785
  }, e.prototype._subscribe = function(t) {
805
786
  var r;
806
787
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
807
- }, e.prototype[Or] = function() {
788
+ }, e.prototype[Lr] = function() {
808
789
  return this;
809
790
  }, e.prototype.pipe = function() {
810
791
  for (var t = [], r = 0; r < arguments.length; r++)
811
792
  t[r] = arguments[r];
812
- return Nr(t)(this);
793
+ return $r(t)(this);
813
794
  }, e.prototype.toPromise = function(t) {
814
795
  var r = this;
815
- return t = tt(t), new t(function(n, i) {
796
+ return t = st(t), new t(function(n, i) {
816
797
  var o;
817
798
  r.subscribe(function(s) {
818
799
  return o = s;
@@ -826,32 +807,32 @@ var et = function() {
826
807
  return new e(t);
827
808
  }, e;
828
809
  }();
829
- function tt(e) {
810
+ function st(e) {
830
811
  var t;
831
- return (t = e ?? Sr.Promise) !== null && t !== void 0 ? t : Promise;
812
+ return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
832
813
  }
833
- function Mr(e) {
834
- return e && L(e.next) && L(e.error) && L(e.complete);
814
+ function Rr(e) {
815
+ return e && C(e.next) && C(e.error) && C(e.complete);
835
816
  }
836
- function Lr(e) {
837
- return e && e instanceof At || Mr(e) && Ht(e);
817
+ function Dr(e) {
818
+ return e && e instanceof Mt || Rr(e) && Nt(e);
838
819
  }
839
- var Cr = Tt(function(e) {
820
+ var Ur = Ot(function(e) {
840
821
  return function() {
841
822
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
842
823
  };
843
- }), Pt = function(e) {
844
- C(t, e);
824
+ }), Lt = function(e) {
825
+ ae(t, e);
845
826
  function t() {
846
827
  var r = e.call(this) || this;
847
828
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
848
829
  }
849
830
  return t.prototype.lift = function(r) {
850
- var n = new rt(this, this);
831
+ var n = new at(this, this);
851
832
  return n.operator = r, n;
852
833
  }, t.prototype._throwIfClosed = function() {
853
834
  if (this.closed)
854
- throw new Cr();
835
+ throw new Ur();
855
836
  }, t.prototype.next = function(r) {
856
837
  var n = this;
857
838
  fe(function() {
@@ -859,7 +840,7 @@ var Cr = Tt(function(e) {
859
840
  if (n._throwIfClosed(), !n.isStopped) {
860
841
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
861
842
  try {
862
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
843
+ for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
863
844
  var h = a.value;
864
845
  h.next(r);
865
846
  }
@@ -908,20 +889,20 @@ var Cr = Tt(function(e) {
908
889
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
909
890
  }, t.prototype._innerSubscribe = function(r) {
910
891
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
911
- return o || s ? wt : (this.currentObservers = null, a.push(r), new ye(function() {
912
- n.currentObservers = null, $e(a, r);
892
+ return o || s ? It : (this.currentObservers = null, a.push(r), new ve(function() {
893
+ n.currentObservers = null, Ge(a, r);
913
894
  }));
914
895
  }, t.prototype._checkFinalizedStatuses = function(r) {
915
896
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
916
897
  i ? r.error(o) : s && r.complete();
917
898
  }, t.prototype.asObservable = function() {
918
- var r = new et();
899
+ var r = new ot();
919
900
  return r.source = this, r;
920
901
  }, t.create = function(r, n) {
921
- return new rt(r, n);
902
+ return new at(r, n);
922
903
  }, t;
923
- }(et), rt = function(e) {
924
- C(t, e);
904
+ }(ot), at = function(e) {
905
+ ae(t, e);
925
906
  function t(r, n) {
926
907
  var i = e.call(this) || this;
927
908
  return i.destination = r, i.source = n, i;
@@ -937,17 +918,17 @@ var Cr = Tt(function(e) {
937
918
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
938
919
  }, t.prototype._subscribe = function(r) {
939
920
  var n, i;
940
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wt;
921
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
941
922
  }, t;
942
- }(Pt), Ot = {
923
+ }(Lt), Ct = {
943
924
  now: function() {
944
- return (Ot.delegate || Date).now();
925
+ return (Ct.delegate || Date).now();
945
926
  },
946
927
  delegate: void 0
947
- }, $r = function(e) {
948
- C(t, e);
928
+ }, Gr = function(e) {
929
+ ae(t, e);
949
930
  function t(r, n, i) {
950
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
931
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ct);
951
932
  var o = e.call(this) || this;
952
933
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
953
934
  }
@@ -967,24 +948,24 @@ var Cr = Tt(function(e) {
967
948
  u && o.splice(0, u + 1);
968
949
  }
969
950
  }, t;
970
- }(Pt);
971
- const nt = [], it = {}, Rr = (e, t = 0) => {
972
- if (nt.indexOf(e) == -1) {
973
- const r = new $r(t);
974
- it[e] = r, nt.push(e);
951
+ }(Lt);
952
+ const ut = [], ht = {}, Fr = (e, t = 0) => {
953
+ if (ut.indexOf(e) == -1) {
954
+ const r = new Gr(t);
955
+ ht[e] = r, ut.push(e);
975
956
  }
976
- return it[e];
957
+ return ht[e];
977
958
  }, k = [];
978
- function Dr(e, t) {
959
+ function jr(e, t) {
979
960
  return {
980
- subscribe: ve(e, t).subscribe
961
+ subscribe: Ee(e, t).subscribe
981
962
  };
982
963
  }
983
- function ve(e, t = I) {
964
+ function Ee(e, t = I) {
984
965
  let r;
985
966
  const n = /* @__PURE__ */ new Set();
986
967
  function i(a) {
987
- if (_t(e, a) && (e = a, r)) {
968
+ if (Tt(e, a) && (e = a, r)) {
988
969
  const h = !k.length;
989
970
  for (const u of n)
990
971
  u[1](), k.push(u, e);
@@ -1006,12 +987,12 @@ function ve(e, t = I) {
1006
987
  }
1007
988
  return { set: i, update: o, subscribe: s };
1008
989
  }
1009
- function J(e, t, r) {
990
+ function Q(e, t, r) {
1010
991
  const n = !Array.isArray(e), i = n ? [e] : e;
1011
992
  if (!i.every(Boolean))
1012
993
  throw new Error("derived() expects stores as input, got a falsy value");
1013
994
  const o = t.length < 2;
1014
- return Dr(r, (s, a) => {
995
+ return jr(r, (s, a) => {
1015
996
  let h = !1;
1016
997
  const u = [];
1017
998
  let l = 0, c = I;
@@ -1020,128 +1001,170 @@ function J(e, t, r) {
1020
1001
  return;
1021
1002
  c();
1022
1003
  const g = t(n ? u[0] : u, s, a);
1023
- o ? s(g) : c = We(g) ? g : I;
1024
- }, m = i.map(
1025
- (g, p) => xt(
1004
+ o ? s(g) : c = Je(g) ? g : I;
1005
+ }, p = i.map(
1006
+ (g, m) => Ht(
1026
1007
  g,
1027
1008
  (x) => {
1028
- u[p] = x, l &= ~(1 << p), h && f();
1009
+ u[m] = x, l &= ~(1 << m), h && f();
1029
1010
  },
1030
1011
  () => {
1031
- l |= 1 << p;
1012
+ l |= 1 << m;
1032
1013
  }
1033
1014
  )
1034
1015
  );
1035
1016
  return h = !0, f(), function() {
1036
- ae(m), c(), h = !1;
1017
+ se(p), c(), h = !1;
1037
1018
  };
1038
1019
  });
1039
1020
  }
1040
- function Ur(e) {
1021
+ function kr(e) {
1041
1022
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1042
1023
  }
1043
- var Gr = function(t) {
1044
- return Fr(t) && !jr(t);
1024
+ var Vr = function(t) {
1025
+ return Xr(t) && !Wr(t);
1045
1026
  };
1046
- function Fr(e) {
1027
+ function Xr(e) {
1047
1028
  return !!e && typeof e == "object";
1048
1029
  }
1049
- function jr(e) {
1030
+ function Wr(e) {
1050
1031
  var t = Object.prototype.toString.call(e);
1051
- return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
1032
+ return t === "[object RegExp]" || t === "[object Date]" || Yr(e);
1052
1033
  }
1053
- var kr = typeof Symbol == "function" && Symbol.for, Vr = kr ? Symbol.for("react.element") : 60103;
1054
- function Xr(e) {
1055
- return e.$$typeof === Vr;
1034
+ var zr = typeof Symbol == "function" && Symbol.for, Zr = zr ? Symbol.for("react.element") : 60103;
1035
+ function Yr(e) {
1036
+ return e.$$typeof === Zr;
1056
1037
  }
1057
- function Wr(e) {
1038
+ function Qr(e) {
1058
1039
  return Array.isArray(e) ? [] : {};
1059
1040
  }
1060
- function oe(e, t) {
1061
- return t.clone !== !1 && t.isMergeableObject(e) ? z(Wr(e), e, t) : e;
1041
+ function ie(e, t) {
1042
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(Qr(e), e, t) : e;
1062
1043
  }
1063
- function zr(e, t, r) {
1044
+ function Jr(e, t, r) {
1064
1045
  return e.concat(t).map(function(n) {
1065
- return oe(n, r);
1046
+ return ie(n, r);
1066
1047
  });
1067
1048
  }
1068
- function Zr(e, t) {
1049
+ function qr(e, t) {
1069
1050
  if (!t.customMerge)
1070
- return z;
1051
+ return W;
1071
1052
  var r = t.customMerge(e);
1072
- return typeof r == "function" ? r : z;
1053
+ return typeof r == "function" ? r : W;
1073
1054
  }
1074
- function Yr(e) {
1055
+ function Kr(e) {
1075
1056
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1076
1057
  return Object.propertyIsEnumerable.call(e, t);
1077
1058
  }) : [];
1078
1059
  }
1079
- function ot(e) {
1080
- return Object.keys(e).concat(Yr(e));
1060
+ function lt(e) {
1061
+ return Object.keys(e).concat(Kr(e));
1081
1062
  }
1082
- function It(e, t) {
1063
+ function $t(e, t) {
1083
1064
  try {
1084
1065
  return t in e;
1085
1066
  } catch {
1086
1067
  return !1;
1087
1068
  }
1088
1069
  }
1089
- function Qr(e, t) {
1090
- return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1070
+ function en(e, t) {
1071
+ return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1091
1072
  }
1092
- function Jr(e, t, r) {
1073
+ function tn(e, t, r) {
1093
1074
  var n = {};
1094
- return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1095
- n[i] = oe(e[i], r);
1096
- }), ot(t).forEach(function(i) {
1097
- Qr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1075
+ return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1076
+ n[i] = ie(e[i], r);
1077
+ }), lt(t).forEach(function(i) {
1078
+ en(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = qr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1098
1079
  }), n;
1099
1080
  }
1100
- function z(e, t, r) {
1101
- r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = oe;
1081
+ function W(e, t, r) {
1082
+ r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || Vr, r.cloneUnlessOtherwiseSpecified = ie;
1102
1083
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1103
- return o ? n ? r.arrayMerge(e, t, r) : Jr(e, t, r) : oe(t, r);
1084
+ return o ? n ? r.arrayMerge(e, t, r) : tn(e, t, r) : ie(t, r);
1104
1085
  }
1105
- z.all = function(t, r) {
1086
+ W.all = function(t, r) {
1106
1087
  if (!Array.isArray(t))
1107
1088
  throw new Error("first argument should be an array");
1108
1089
  return t.reduce(function(n, i) {
1109
- return z(n, i, r);
1090
+ return W(n, i, r);
1110
1091
  }, {});
1111
1092
  };
1112
- var qr = z, Kr = qr;
1113
- const en = /* @__PURE__ */ Ur(Kr);
1114
- function Te(e, t) {
1115
- var r = t && t.cache ? t.cache : un, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : nn;
1093
+ var rn = W, nn = rn;
1094
+ const on = /* @__PURE__ */ kr(nn);
1095
+ var je = function(e, t) {
1096
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1097
+ r.__proto__ = n;
1098
+ } || function(r, n) {
1099
+ for (var i in n)
1100
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1101
+ }, je(e, t);
1102
+ };
1103
+ function _e(e, t) {
1104
+ if (typeof t != "function" && t !== null)
1105
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1106
+ je(e, t);
1107
+ function r() {
1108
+ this.constructor = e;
1109
+ }
1110
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1111
+ }
1112
+ var L = function() {
1113
+ return L = Object.assign || function(t) {
1114
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1115
+ r = arguments[n];
1116
+ for (var o in r)
1117
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1118
+ }
1119
+ return t;
1120
+ }, L.apply(this, arguments);
1121
+ };
1122
+ function sn(e, t) {
1123
+ var r = {};
1124
+ for (var n in e)
1125
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1126
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1127
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1128
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1129
+ return r;
1130
+ }
1131
+ function He(e, t, r) {
1132
+ if (r || arguments.length === 2)
1133
+ for (var n = 0, i = t.length, o; n < i; n++)
1134
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1135
+ return e.concat(o || Array.prototype.slice.call(t));
1136
+ }
1137
+ function Ae(e, t) {
1138
+ var r = t && t.cache ? t.cache : pn, n = t && t.serializer ? t.serializer : cn, i = t && t.strategy ? t.strategy : hn;
1116
1139
  return i(e, {
1117
1140
  cache: r,
1118
1141
  serializer: n
1119
1142
  });
1120
1143
  }
1121
- function tn(e) {
1144
+ function an(e) {
1122
1145
  return e == null || typeof e == "number" || typeof e == "boolean";
1123
1146
  }
1124
- function rn(e, t, r, n) {
1125
- var i = tn(n) ? n : r(n), o = t.get(i);
1147
+ function un(e, t, r, n) {
1148
+ var i = an(n) ? n : r(n), o = t.get(i);
1126
1149
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1127
1150
  }
1128
- function Nt(e, t, r) {
1151
+ function Rt(e, t, r) {
1129
1152
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1130
1153
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1131
1154
  }
1132
- function Mt(e, t, r, n, i) {
1155
+ function Dt(e, t, r, n, i) {
1133
1156
  return r.bind(t, e, n, i);
1134
1157
  }
1135
- function nn(e, t) {
1136
- var r = e.length === 1 ? rn : Nt;
1137
- return Mt(e, this, r, t.cache.create(), t.serializer);
1158
+ function hn(e, t) {
1159
+ var r = e.length === 1 ? un : Rt;
1160
+ return Dt(e, this, r, t.cache.create(), t.serializer);
1138
1161
  }
1139
- function on(e, t) {
1140
- return Mt(e, this, Nt, t.cache.create(), t.serializer);
1162
+ function ln(e, t) {
1163
+ return Dt(e, this, Rt, t.cache.create(), t.serializer);
1141
1164
  }
1142
- var sn = function() {
1165
+ var cn = function() {
1143
1166
  return JSON.stringify(arguments);
1144
- }, an = (
1167
+ }, fn = (
1145
1168
  /** @class */
1146
1169
  function() {
1147
1170
  function e() {
@@ -1153,61 +1176,71 @@ var sn = function() {
1153
1176
  this.cache[t] = r;
1154
1177
  }, e;
1155
1178
  }()
1156
- ), un = {
1179
+ ), pn = {
1157
1180
  create: function() {
1158
- return new an();
1181
+ return new fn();
1159
1182
  }
1160
- }, we = {
1161
- variadic: on
1162
- }, b;
1183
+ }, Pe = {
1184
+ variadic: ln
1185
+ }, be = function() {
1186
+ return be = Object.assign || function(t) {
1187
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1188
+ r = arguments[n];
1189
+ for (var o in r)
1190
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1191
+ }
1192
+ return t;
1193
+ }, be.apply(this, arguments);
1194
+ };
1195
+ var b;
1163
1196
  (function(e) {
1164
1197
  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";
1165
1198
  })(b || (b = {}));
1166
- var _;
1199
+ var E;
1167
1200
  (function(e) {
1168
1201
  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";
1169
- })(_ || (_ = {}));
1170
- var Z;
1202
+ })(E || (E = {}));
1203
+ var z;
1171
1204
  (function(e) {
1172
1205
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1173
- })(Z || (Z = {}));
1174
- function st(e) {
1175
- return e.type === _.literal;
1206
+ })(z || (z = {}));
1207
+ function ct(e) {
1208
+ return e.type === E.literal;
1176
1209
  }
1177
- function hn(e) {
1178
- return e.type === _.argument;
1210
+ function mn(e) {
1211
+ return e.type === E.argument;
1179
1212
  }
1180
- function Lt(e) {
1181
- return e.type === _.number;
1213
+ function Ut(e) {
1214
+ return e.type === E.number;
1182
1215
  }
1183
- function Ct(e) {
1184
- return e.type === _.date;
1216
+ function Gt(e) {
1217
+ return e.type === E.date;
1185
1218
  }
1186
- function $t(e) {
1187
- return e.type === _.time;
1219
+ function Ft(e) {
1220
+ return e.type === E.time;
1188
1221
  }
1189
- function Rt(e) {
1190
- return e.type === _.select;
1222
+ function jt(e) {
1223
+ return e.type === E.select;
1191
1224
  }
1192
- function Dt(e) {
1193
- return e.type === _.plural;
1225
+ function kt(e) {
1226
+ return e.type === E.plural;
1194
1227
  }
1195
- function ln(e) {
1196
- return e.type === _.pound;
1228
+ function bn(e) {
1229
+ return e.type === E.pound;
1197
1230
  }
1198
- function Ut(e) {
1199
- return e.type === _.tag;
1231
+ function Vt(e) {
1232
+ return e.type === E.tag;
1200
1233
  }
1201
- function Gt(e) {
1202
- return !!(e && typeof e == "object" && e.type === Z.number);
1234
+ function Xt(e) {
1235
+ return !!(e && typeof e == "object" && e.type === z.number);
1203
1236
  }
1204
- function De(e) {
1205
- return !!(e && typeof e == "object" && e.type === Z.dateTime);
1237
+ function ke(e) {
1238
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
1206
1239
  }
1207
- var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cn = /(?:[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;
1208
- function fn(e) {
1240
+ var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
1241
+ function gn(e) {
1209
1242
  var t = {};
1210
- return e.replace(cn, function(r) {
1243
+ return e.replace(dn, function(r) {
1211
1244
  var n = r.length;
1212
1245
  switch (r[0]) {
1213
1246
  case "G":
@@ -1296,11 +1329,21 @@ function fn(e) {
1296
1329
  return "";
1297
1330
  }), t;
1298
1331
  }
1299
- var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1300
- function pn(e) {
1332
+ var _ = function() {
1333
+ return _ = Object.assign || function(t) {
1334
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1335
+ r = arguments[n];
1336
+ for (var o in r)
1337
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1338
+ }
1339
+ return t;
1340
+ }, _.apply(this, arguments);
1341
+ };
1342
+ var yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
+ function vn(e) {
1301
1344
  if (e.length === 0)
1302
1345
  throw new Error("Number skeleton cannot be empty");
1303
- for (var t = e.split(mn).filter(function(f) {
1346
+ for (var t = e.split(yn).filter(function(f) {
1304
1347
  return f.length > 0;
1305
1348
  }), r = [], n = 0, i = t; n < i.length; n++) {
1306
1349
  var o = i[n], s = o.split("/");
@@ -1315,17 +1358,17 @@ function pn(e) {
1315
1358
  }
1316
1359
  return r;
1317
1360
  }
1318
- function bn(e) {
1361
+ function En(e) {
1319
1362
  return e.replace(/^(.*?)-/, "");
1320
1363
  }
1321
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
1322
- function ut(e) {
1364
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
1365
+ function pt(e) {
1323
1366
  var t = {};
1324
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
1367
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1325
1368
  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)), "";
1326
1369
  }), t;
1327
1370
  }
1328
- function Vt(e) {
1371
+ function Yt(e) {
1329
1372
  switch (e) {
1330
1373
  case "sign-auto":
1331
1374
  return {
@@ -1365,7 +1408,7 @@ function Vt(e) {
1365
1408
  };
1366
1409
  }
1367
1410
  }
1368
- function gn(e) {
1411
+ function xn(e) {
1369
1412
  var t;
1370
1413
  if (e[0] === "E" && e[1] === "E" ? (t = {
1371
1414
  notation: "engineering"
@@ -1373,17 +1416,17 @@ function gn(e) {
1373
1416
  notation: "scientific"
1374
1417
  }, e = e.slice(1)), t) {
1375
1418
  var r = e.slice(0, 2);
1376
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
1419
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1377
1420
  throw new Error("Malformed concise eng/scientific notation");
1378
1421
  t.minimumIntegerDigits = e.length;
1379
1422
  }
1380
1423
  return t;
1381
1424
  }
1382
- function ht(e) {
1383
- var t = {}, r = Vt(e);
1425
+ function mt(e) {
1426
+ var t = {}, r = Yt(e);
1384
1427
  return r || t;
1385
1428
  }
1386
- function yn(e) {
1429
+ function Bn(e) {
1387
1430
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1388
1431
  var i = n[r];
1389
1432
  switch (i.stem) {
@@ -1407,7 +1450,7 @@ function yn(e) {
1407
1450
  continue;
1408
1451
  case "measure-unit":
1409
1452
  case "unit":
1410
- t.style = "unit", t.unit = bn(i.options[0]);
1453
+ t.style = "unit", t.unit = En(i.options[0]);
1411
1454
  continue;
1412
1455
  case "compact-short":
1413
1456
  case "K":
@@ -1418,13 +1461,13 @@ function yn(e) {
1418
1461
  t.notation = "compact", t.compactDisplay = "long";
1419
1462
  continue;
1420
1463
  case "scientific":
1421
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1422
- return y(y({}, h), ht(u));
1464
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1465
+ return _(_({}, h), mt(u));
1423
1466
  }, {}));
1424
1467
  continue;
1425
1468
  case "engineering":
1426
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1427
- return y(y({}, h), ht(u));
1469
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1470
+ return _(_({}, h), mt(u));
1428
1471
  }, {}));
1429
1472
  continue;
1430
1473
  case "notation-simple":
@@ -1469,41 +1512,41 @@ function yn(e) {
1469
1512
  case "integer-width":
1470
1513
  if (i.options.length > 1)
1471
1514
  throw new RangeError("integer-width stems only accept a single optional option");
1472
- i.options[0].replace(dn, function(h, u, l, c, f, m) {
1515
+ i.options[0].replace(_n, function(h, u, l, c, f, p) {
1473
1516
  if (u)
1474
1517
  t.minimumIntegerDigits = l.length;
1475
1518
  else {
1476
1519
  if (c && f)
1477
1520
  throw new Error("We currently do not support maximum integer digits");
1478
- if (m)
1521
+ if (p)
1479
1522
  throw new Error("We currently do not support exact integer digits");
1480
1523
  }
1481
1524
  return "";
1482
1525
  });
1483
1526
  continue;
1484
1527
  }
1485
- if (kt.test(i.stem)) {
1528
+ if (Zt.test(i.stem)) {
1486
1529
  t.minimumIntegerDigits = i.stem.length;
1487
1530
  continue;
1488
1531
  }
1489
- if (at.test(i.stem)) {
1532
+ if (ft.test(i.stem)) {
1490
1533
  if (i.options.length > 1)
1491
1534
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1492
- i.stem.replace(at, function(h, u, l, c, f, m) {
1493
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1535
+ i.stem.replace(ft, function(h, u, l, c, f, p) {
1536
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1494
1537
  });
1495
1538
  var o = i.options[0];
1496
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ut(o)));
1539
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), pt(o)));
1497
1540
  continue;
1498
1541
  }
1499
- if (jt.test(i.stem)) {
1500
- t = y(y({}, t), ut(i.stem));
1542
+ if (zt.test(i.stem)) {
1543
+ t = _(_({}, t), pt(i.stem));
1501
1544
  continue;
1502
1545
  }
1503
- var s = Vt(i.stem);
1504
- s && (t = y(y({}, t), s));
1505
- var a = gn(i.stem);
1506
- a && (t = y(y({}, t), a));
1546
+ var s = Yt(i.stem);
1547
+ s && (t = _(_({}, t), s));
1548
+ var a = xn(i.stem);
1549
+ a && (t = _(_({}, t), a));
1507
1550
  }
1508
1551
  return t;
1509
1552
  }
@@ -2922,13 +2965,13 @@ var le = {
2922
2965
  "h"
2923
2966
  ]
2924
2967
  };
2925
- function vn(e, t) {
2968
+ function Sn(e, t) {
2926
2969
  for (var r = "", n = 0; n < e.length; n++) {
2927
2970
  var i = e.charAt(n);
2928
2971
  if (i === "j") {
2929
2972
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2930
2973
  o++, n++;
2931
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
2974
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = wn(t);
2932
2975
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2933
2976
  r += h;
2934
2977
  for (; s-- > 0; )
@@ -2938,7 +2981,7 @@ function vn(e, t) {
2938
2981
  }
2939
2982
  return r;
2940
2983
  }
2941
- function En(e) {
2984
+ function wn(e) {
2942
2985
  var t = e.hourCycle;
2943
2986
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2944
2987
  e.hourCycles && // @ts-ignore
@@ -2960,20 +3003,20 @@ function En(e) {
2960
3003
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2961
3004
  return i[0];
2962
3005
  }
2963
- var He, _n = new RegExp("^".concat(Ft.source, "*")), xn = new RegExp("".concat(Ft.source, "*$"));
3006
+ var Oe, Tn = new RegExp("^".concat(Wt.source, "*")), Hn = new RegExp("".concat(Wt.source, "*$"));
2964
3007
  function d(e, t) {
2965
3008
  return { start: e, end: t };
2966
3009
  }
2967
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, Tn = !!Object.fromEntries, wn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, An = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, On = Pn ? Number.isSafeInteger : function(e) {
3010
+ var An = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pn = !!String.fromCodePoint, On = !!Object.fromEntries, In = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Cn = Ln ? Number.isSafeInteger : function(e) {
2968
3011
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2969
- }, Ue = !0;
3012
+ }, Ve = !0;
2970
3013
  try {
2971
- var In = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2972
- Ue = ((He = In.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3014
+ var $n = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
+ Ve = ((Oe = $n.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2973
3016
  } catch {
2974
- Ue = !1;
3017
+ Ve = !1;
2975
3018
  }
2976
- var lt = Bn ? (
3019
+ var bt = An ? (
2977
3020
  // Native
2978
3021
  function(t, r, n) {
2979
3022
  return t.startsWith(r, n);
@@ -2983,7 +3026,7 @@ var lt = Bn ? (
2983
3026
  function(t, r, n) {
2984
3027
  return t.slice(n, n + r.length) === r;
2985
3028
  }
2986
- ), Ge = Sn ? String.fromCodePoint : (
3029
+ ), Xe = Pn ? String.fromCodePoint : (
2987
3030
  // IE11
2988
3031
  function() {
2989
3032
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2995,9 +3038,9 @@ var lt = Bn ? (
2995
3038
  }
2996
3039
  return n;
2997
3040
  }
2998
- ), ct = (
3041
+ ), dt = (
2999
3042
  // native
3000
- Tn ? Object.fromEntries : (
3043
+ On ? Object.fromEntries : (
3001
3044
  // Ponyfill
3002
3045
  function(t) {
3003
3046
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3007,7 +3050,7 @@ var lt = Bn ? (
3007
3050
  return r;
3008
3051
  }
3009
3052
  )
3010
- ), Xt = wn ? (
3053
+ ), Qt = In ? (
3011
3054
  // Native
3012
3055
  function(t, r) {
3013
3056
  return t.codePointAt(r);
@@ -3021,7 +3064,7 @@ var lt = Bn ? (
3021
3064
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3022
3065
  }
3023
3066
  }
3024
- ), Nn = Hn ? (
3067
+ ), Rn = Nn ? (
3025
3068
  // Native
3026
3069
  function(t) {
3027
3070
  return t.trimStart();
@@ -3029,9 +3072,9 @@ var lt = Bn ? (
3029
3072
  ) : (
3030
3073
  // Ponyfill
3031
3074
  function(t) {
3032
- return t.replace(_n, "");
3075
+ return t.replace(Tn, "");
3033
3076
  }
3034
- ), Mn = An ? (
3077
+ ), Dn = Mn ? (
3035
3078
  // Native
3036
3079
  function(t) {
3037
3080
  return t.trimEnd();
@@ -3039,32 +3082,32 @@ var lt = Bn ? (
3039
3082
  ) : (
3040
3083
  // Ponyfill
3041
3084
  function(t) {
3042
- return t.replace(xn, "");
3085
+ return t.replace(Hn, "");
3043
3086
  }
3044
3087
  );
3045
- function Wt(e, t) {
3088
+ function Jt(e, t) {
3046
3089
  return new RegExp(e, t);
3047
3090
  }
3048
- var Fe;
3049
- if (Ue) {
3050
- var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3051
- Fe = function(t, r) {
3091
+ var We;
3092
+ if (Ve) {
3093
+ var gt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3094
+ We = function(t, r) {
3052
3095
  var n;
3053
- ft.lastIndex = r;
3054
- var i = ft.exec(t);
3096
+ gt.lastIndex = r;
3097
+ var i = gt.exec(t);
3055
3098
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3056
3099
  };
3057
3100
  } else
3058
- Fe = function(t, r) {
3101
+ We = function(t, r) {
3059
3102
  for (var n = []; ; ) {
3060
- var i = Xt(t, r);
3061
- if (i === void 0 || zt(i) || Rn(i))
3103
+ var i = Qt(t, r);
3104
+ if (i === void 0 || qt(i) || jn(i))
3062
3105
  break;
3063
3106
  n.push(i), r += i >= 65536 ? 2 : 1;
3064
3107
  }
3065
- return Ge.apply(void 0, n);
3108
+ return Xe.apply(void 0, n);
3066
3109
  };
3067
- var Ln = (
3110
+ var Un = (
3068
3111
  /** @class */
3069
3112
  function() {
3070
3113
  function e(t, r) {
@@ -3088,14 +3131,14 @@ var Ln = (
3088
3131
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3089
3132
  var a = this.clonePosition();
3090
3133
  this.bump(), i.push({
3091
- type: _.pound,
3134
+ type: E.pound,
3092
3135
  location: d(a, this.clonePosition())
3093
3136
  });
3094
3137
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3095
3138
  if (n)
3096
3139
  break;
3097
3140
  return this.error(b.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3098
- } else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
3141
+ } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3099
3142
  var s = this.parseTag(t, r);
3100
3143
  if (s.err)
3101
3144
  return s;
@@ -3116,7 +3159,7 @@ var Ln = (
3116
3159
  if (this.bumpSpace(), this.bumpIf("/>"))
3117
3160
  return {
3118
3161
  val: {
3119
- type: _.literal,
3162
+ type: E.literal,
3120
3163
  value: "<".concat(i, "/>"),
3121
3164
  location: d(n, this.clonePosition())
3122
3165
  },
@@ -3128,12 +3171,12 @@ var Ln = (
3128
3171
  return o;
3129
3172
  var s = o.val, a = this.clonePosition();
3130
3173
  if (this.bumpIf("</")) {
3131
- if (this.isEOF() || !je(this.char()))
3174
+ if (this.isEOF() || !ze(this.char()))
3132
3175
  return this.error(b.INVALID_TAG, d(a, this.clonePosition()));
3133
3176
  var h = this.clonePosition(), u = this.parseTagName();
3134
3177
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3135
3178
  val: {
3136
- type: _.tag,
3179
+ type: E.tag,
3137
3180
  value: i,
3138
3181
  children: s,
3139
3182
  location: d(n, this.clonePosition())
@@ -3146,7 +3189,7 @@ var Ln = (
3146
3189
  return this.error(b.INVALID_TAG, d(n, this.clonePosition()));
3147
3190
  }, e.prototype.parseTagName = function() {
3148
3191
  var t = this.offset();
3149
- for (this.bump(); !this.isEOF() && $n(this.char()); )
3192
+ for (this.bump(); !this.isEOF() && Fn(this.char()); )
3150
3193
  this.bump();
3151
3194
  return this.message.slice(t, this.offset());
3152
3195
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3170,12 +3213,12 @@ var Ln = (
3170
3213
  }
3171
3214
  var h = d(n, this.clonePosition());
3172
3215
  return {
3173
- val: { type: _.literal, value: i, location: h },
3216
+ val: { type: E.literal, value: i, location: h },
3174
3217
  err: null
3175
3218
  };
3176
3219
  }, e.prototype.tryParseLeftAngleBracket = function() {
3177
3220
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3178
- !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
3221
+ !Gn(this.peek() || 0)) ? (this.bump(), "<") : null;
3179
3222
  }, e.prototype.tryParseQuote = function(t) {
3180
3223
  if (this.isEOF() || this.char() !== 39)
3181
3224
  return null;
@@ -3209,12 +3252,12 @@ var Ln = (
3209
3252
  r.push(n);
3210
3253
  this.bump();
3211
3254
  }
3212
- return Ge.apply(void 0, r);
3255
+ return Xe.apply(void 0, r);
3213
3256
  }, e.prototype.tryParseUnquoted = function(t, r) {
3214
3257
  if (this.isEOF())
3215
3258
  return null;
3216
3259
  var n = this.char();
3217
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
3260
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3218
3261
  }, e.prototype.parseArgument = function(t, r) {
3219
3262
  var n = this.clonePosition();
3220
3263
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3230,7 +3273,7 @@ var Ln = (
3230
3273
  case 125:
3231
3274
  return this.bump(), {
3232
3275
  val: {
3233
- type: _.argument,
3276
+ type: E.argument,
3234
3277
  // value does not include the opening and closing braces.
3235
3278
  value: i,
3236
3279
  location: d(n, this.clonePosition())
@@ -3243,7 +3286,7 @@ var Ln = (
3243
3286
  return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3244
3287
  }
3245
3288
  }, e.prototype.parseIdentifierIfPossible = function() {
3246
- var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
3289
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3247
3290
  this.bumpTo(i);
3248
3291
  var o = this.clonePosition(), s = d(t, o);
3249
3292
  return { value: n, location: s };
@@ -3262,46 +3305,46 @@ var Ln = (
3262
3305
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3263
3306
  if (c.err)
3264
3307
  return c;
3265
- var f = Mn(c.val);
3308
+ var f = Dn(c.val);
3266
3309
  if (f.length === 0)
3267
3310
  return this.error(b.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3268
- var m = d(l, this.clonePosition());
3269
- u = { style: f, styleLocation: m };
3311
+ var p = d(l, this.clonePosition());
3312
+ u = { style: f, styleLocation: p };
3270
3313
  }
3271
3314
  var g = this.tryParseArgumentClose(i);
3272
3315
  if (g.err)
3273
3316
  return g;
3274
- var p = d(i, this.clonePosition());
3275
- if (u && lt(u?.style, "::", 0)) {
3276
- var x = Nn(u.style.slice(2));
3317
+ var m = d(i, this.clonePosition());
3318
+ if (u && bt(u?.style, "::", 0)) {
3319
+ var x = Rn(u.style.slice(2));
3277
3320
  if (a === "number") {
3278
3321
  var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3279
3322
  return c.err ? c : {
3280
- val: { type: _.number, value: n, location: p, style: c.val },
3323
+ val: { type: E.number, value: n, location: m, style: c.val },
3281
3324
  err: null
3282
3325
  };
3283
3326
  } else {
3284
3327
  if (x.length === 0)
3285
- return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3328
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3286
3329
  var A = x;
3287
- this.locale && (A = vn(x, this.locale));
3330
+ this.locale && (A = Sn(x, this.locale));
3288
3331
  var f = {
3289
- type: Z.dateTime,
3332
+ type: z.dateTime,
3290
3333
  pattern: A,
3291
3334
  location: u.styleLocation,
3292
- parsedOptions: this.shouldParseSkeletons ? fn(A) : {}
3293
- }, H = a === "date" ? _.date : _.time;
3335
+ parsedOptions: this.shouldParseSkeletons ? gn(A) : {}
3336
+ }, H = a === "date" ? E.date : E.time;
3294
3337
  return {
3295
- val: { type: H, value: n, location: p, style: f },
3338
+ val: { type: H, value: n, location: m, style: f },
3296
3339
  err: null
3297
3340
  };
3298
3341
  }
3299
3342
  }
3300
3343
  return {
3301
3344
  val: {
3302
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3345
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3303
3346
  value: n,
3304
- location: p,
3347
+ location: m,
3305
3348
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3306
3349
  },
3307
3350
  err: null
@@ -3310,21 +3353,21 @@ var Ln = (
3310
3353
  case "plural":
3311
3354
  case "selectordinal":
3312
3355
  case "select": {
3313
- var T = this.clonePosition();
3356
+ var w = this.clonePosition();
3314
3357
  if (this.bumpSpace(), !this.bumpIf(","))
3315
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, d(T, y({}, T)));
3358
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, d(w, be({}, w)));
3316
3359
  this.bumpSpace();
3317
- var v = this.parseIdentifierIfPossible(), S = 0;
3318
- if (a !== "select" && v.value === "offset") {
3360
+ var y = this.parseIdentifierIfPossible(), S = 0;
3361
+ if (a !== "select" && y.value === "offset") {
3319
3362
  if (!this.bumpIf(":"))
3320
3363
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3321
3364
  this.bumpSpace();
3322
3365
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3323
3366
  if (c.err)
3324
3367
  return c;
3325
- this.bumpSpace(), v = this.parseIdentifierIfPossible(), S = c.val;
3368
+ this.bumpSpace(), y = this.parseIdentifierIfPossible(), S = c.val;
3326
3369
  }
3327
- var N = this.tryParsePluralOrSelectOptions(t, a, r, v);
3370
+ var N = this.tryParsePluralOrSelectOptions(t, a, r, y);
3328
3371
  if (N.err)
3329
3372
  return N;
3330
3373
  var g = this.tryParseArgumentClose(i);
@@ -3333,17 +3376,17 @@ var Ln = (
3333
3376
  var M = d(i, this.clonePosition());
3334
3377
  return a === "select" ? {
3335
3378
  val: {
3336
- type: _.select,
3379
+ type: E.select,
3337
3380
  value: n,
3338
- options: ct(N.val),
3381
+ options: dt(N.val),
3339
3382
  location: M
3340
3383
  },
3341
3384
  err: null
3342
3385
  } : {
3343
3386
  val: {
3344
- type: _.plural,
3387
+ type: E.plural,
3345
3388
  value: n,
3346
- options: ct(N.val),
3389
+ options: dt(N.val),
3347
3390
  offset: S,
3348
3391
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3349
3392
  location: M
@@ -3394,16 +3437,16 @@ var Ln = (
3394
3437
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3395
3438
  var n = [];
3396
3439
  try {
3397
- n = pn(t);
3440
+ n = vn(t);
3398
3441
  } catch {
3399
3442
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3400
3443
  }
3401
3444
  return {
3402
3445
  val: {
3403
- type: Z.number,
3446
+ type: z.number,
3404
3447
  tokens: n,
3405
3448
  location: r,
3406
- parsedOptions: this.shouldParseSkeletons ? yn(n) : {}
3449
+ parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
3407
3450
  },
3408
3451
  err: null
3409
3452
  };
@@ -3422,20 +3465,20 @@ var Ln = (
3422
3465
  if (h.has(u))
3423
3466
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3424
3467
  u === "other" && (s = !0), this.bumpSpace();
3425
- var m = this.clonePosition();
3468
+ var p = this.clonePosition();
3426
3469
  if (!this.bumpIf("{"))
3427
3470
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3428
3471
  var g = this.parseMessage(t + 1, r, n);
3429
3472
  if (g.err)
3430
3473
  return g;
3431
- var p = this.tryParseArgumentClose(m);
3432
- if (p.err)
3433
- return p;
3474
+ var m = this.tryParseArgumentClose(p);
3475
+ if (m.err)
3476
+ return m;
3434
3477
  a.push([
3435
3478
  u,
3436
3479
  {
3437
3480
  value: g.val,
3438
- location: d(m, this.clonePosition())
3481
+ location: d(p, this.clonePosition())
3439
3482
  }
3440
3483
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3441
3484
  }
@@ -3451,7 +3494,7 @@ var Ln = (
3451
3494
  break;
3452
3495
  }
3453
3496
  var h = d(i, this.clonePosition());
3454
- return o ? (s *= n, On(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3497
+ return o ? (s *= n, Cn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3455
3498
  }, e.prototype.offset = function() {
3456
3499
  return this.position.offset;
3457
3500
  }, e.prototype.isEOF = function() {
@@ -3466,7 +3509,7 @@ var Ln = (
3466
3509
  var t = this.position.offset;
3467
3510
  if (t >= this.message.length)
3468
3511
  throw Error("out of bound");
3469
- var r = Xt(this.message, t);
3512
+ var r = Qt(this.message, t);
3470
3513
  if (r === void 0)
3471
3514
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3472
3515
  return r;
@@ -3485,7 +3528,7 @@ var Ln = (
3485
3528
  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);
3486
3529
  }
3487
3530
  }, e.prototype.bumpIf = function(t) {
3488
- if (lt(this.message, t, this.offset())) {
3531
+ if (bt(this.message, t, this.offset())) {
3489
3532
  for (var r = 0; r < t.length; r++)
3490
3533
  this.bump();
3491
3534
  return !0;
@@ -3507,7 +3550,7 @@ var Ln = (
3507
3550
  break;
3508
3551
  }
3509
3552
  }, e.prototype.bumpSpace = function() {
3510
- for (; !this.isEOF() && zt(this.char()); )
3553
+ for (; !this.isEOF() && qt(this.char()); )
3511
3554
  this.bump();
3512
3555
  }, e.prototype.peek = function() {
3513
3556
  if (this.isEOF())
@@ -3517,47 +3560,47 @@ var Ln = (
3517
3560
  }, e;
3518
3561
  }()
3519
3562
  );
3520
- function je(e) {
3563
+ function ze(e) {
3521
3564
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3522
3565
  }
3523
- function Cn(e) {
3524
- return je(e) || e === 47;
3566
+ function Gn(e) {
3567
+ return ze(e) || e === 47;
3525
3568
  }
3526
- function $n(e) {
3569
+ function Fn(e) {
3527
3570
  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;
3528
3571
  }
3529
- function zt(e) {
3572
+ function qt(e) {
3530
3573
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3531
3574
  }
3532
- function Rn(e) {
3575
+ function jn(e) {
3533
3576
  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;
3534
3577
  }
3535
- function ke(e) {
3578
+ function Ze(e) {
3536
3579
  e.forEach(function(t) {
3537
- if (delete t.location, Rt(t) || Dt(t))
3580
+ if (delete t.location, jt(t) || kt(t))
3538
3581
  for (var r in t.options)
3539
- delete t.options[r].location, ke(t.options[r].value);
3582
+ delete t.options[r].location, Ze(t.options[r].value);
3540
3583
  else
3541
- Lt(t) && Gt(t.style) || (Ct(t) || $t(t)) && De(t.style) ? delete t.style.location : Ut(t) && ke(t.children);
3584
+ Ut(t) && Xt(t.style) || (Gt(t) || Ft(t)) && ke(t.style) ? delete t.style.location : Vt(t) && Ze(t.children);
3542
3585
  });
3543
3586
  }
3544
- function Dn(e, t) {
3545
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3546
- var r = new Ln(e, t).parse();
3587
+ function kn(e, t) {
3588
+ t === void 0 && (t = {}), t = be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3589
+ var r = new Un(e, t).parse();
3547
3590
  if (r.err) {
3548
3591
  var n = SyntaxError(b[r.err.kind]);
3549
3592
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3550
3593
  }
3551
- return t?.captureLocation || ke(r.val), r.val;
3594
+ return t?.captureLocation || Ze(r.val), r.val;
3552
3595
  }
3553
- var Y;
3596
+ var Z;
3554
3597
  (function(e) {
3555
3598
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3556
- })(Y || (Y = {}));
3557
- var Ee = (
3599
+ })(Z || (Z = {}));
3600
+ var xe = (
3558
3601
  /** @class */
3559
3602
  function(e) {
3560
- C(t, e);
3603
+ _e(t, e);
3561
3604
  function t(r, n, i) {
3562
3605
  var o = e.call(this, r) || this;
3563
3606
  return o.code = n, o.originalMessage = i, o;
@@ -3566,155 +3609,155 @@ var Ee = (
3566
3609
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3567
3610
  }, t;
3568
3611
  }(Error)
3569
- ), mt = (
3612
+ ), yt = (
3570
3613
  /** @class */
3571
3614
  function(e) {
3572
- C(t, e);
3615
+ _e(t, e);
3573
3616
  function t(r, n, i, o) {
3574
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3617
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3575
3618
  }
3576
3619
  return t;
3577
- }(Ee)
3578
- ), Un = (
3620
+ }(xe)
3621
+ ), Vn = (
3579
3622
  /** @class */
3580
3623
  function(e) {
3581
- C(t, e);
3624
+ _e(t, e);
3582
3625
  function t(r, n, i) {
3583
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3626
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3584
3627
  }
3585
3628
  return t;
3586
- }(Ee)
3587
- ), Gn = (
3629
+ }(xe)
3630
+ ), Xn = (
3588
3631
  /** @class */
3589
3632
  function(e) {
3590
- C(t, e);
3633
+ _e(t, e);
3591
3634
  function t(r, n) {
3592
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3635
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3593
3636
  }
3594
3637
  return t;
3595
- }(Ee)
3596
- ), w;
3638
+ }(xe)
3639
+ ), T;
3597
3640
  (function(e) {
3598
3641
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3599
- })(w || (w = {}));
3600
- function Fn(e) {
3642
+ })(T || (T = {}));
3643
+ function Wn(e) {
3601
3644
  return e.length < 2 ? e : e.reduce(function(t, r) {
3602
3645
  var n = t[t.length - 1];
3603
- return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3646
+ return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3604
3647
  }, []);
3605
3648
  }
3606
- function jn(e) {
3649
+ function zn(e) {
3607
3650
  return typeof e == "function";
3608
3651
  }
3609
- function me(e, t, r, n, i, o, s) {
3610
- if (e.length === 1 && st(e[0]))
3652
+ function pe(e, t, r, n, i, o, s) {
3653
+ if (e.length === 1 && ct(e[0]))
3611
3654
  return [
3612
3655
  {
3613
- type: w.literal,
3656
+ type: T.literal,
3614
3657
  value: e[0].value
3615
3658
  }
3616
3659
  ];
3617
3660
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3618
3661
  var l = u[h];
3619
- if (st(l)) {
3662
+ if (ct(l)) {
3620
3663
  a.push({
3621
- type: w.literal,
3664
+ type: T.literal,
3622
3665
  value: l.value
3623
3666
  });
3624
3667
  continue;
3625
3668
  }
3626
- if (ln(l)) {
3669
+ if (bn(l)) {
3627
3670
  typeof o == "number" && a.push({
3628
- type: w.literal,
3671
+ type: T.literal,
3629
3672
  value: r.getNumberFormat(t).format(o)
3630
3673
  });
3631
3674
  continue;
3632
3675
  }
3633
3676
  var c = l.value;
3634
3677
  if (!(i && c in i))
3635
- throw new Gn(c, s);
3678
+ throw new Xn(c, s);
3636
3679
  var f = i[c];
3637
- if (hn(l)) {
3680
+ if (mn(l)) {
3638
3681
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3639
- type: typeof f == "string" ? w.literal : w.object,
3682
+ type: typeof f == "string" ? T.literal : T.object,
3640
3683
  value: f
3641
3684
  });
3642
3685
  continue;
3643
3686
  }
3644
- if (Ct(l)) {
3645
- var m = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3687
+ if (Gt(l)) {
3688
+ var p = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
3646
3689
  a.push({
3647
- type: w.literal,
3648
- value: r.getDateTimeFormat(t, m).format(f)
3690
+ type: T.literal,
3691
+ value: r.getDateTimeFormat(t, p).format(f)
3649
3692
  });
3650
3693
  continue;
3651
3694
  }
3652
- if ($t(l)) {
3653
- var m = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3695
+ if (Ft(l)) {
3696
+ var p = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
3654
3697
  a.push({
3655
- type: w.literal,
3656
- value: r.getDateTimeFormat(t, m).format(f)
3698
+ type: T.literal,
3699
+ value: r.getDateTimeFormat(t, p).format(f)
3657
3700
  });
3658
3701
  continue;
3659
3702
  }
3660
- if (Lt(l)) {
3661
- var m = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
3662
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3663
- type: w.literal,
3664
- value: r.getNumberFormat(t, m).format(f)
3703
+ if (Ut(l)) {
3704
+ var p = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
3705
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3706
+ type: T.literal,
3707
+ value: r.getNumberFormat(t, p).format(f)
3665
3708
  });
3666
3709
  continue;
3667
3710
  }
3668
- if (Ut(l)) {
3669
- var g = l.children, p = l.value, x = i[p];
3670
- if (!jn(x))
3671
- throw new Un(p, "function", s);
3672
- var A = me(g, t, r, n, i, o), H = x(A.map(function(S) {
3711
+ if (Vt(l)) {
3712
+ var g = l.children, m = l.value, x = i[m];
3713
+ if (!zn(x))
3714
+ throw new Vn(m, "function", s);
3715
+ var A = pe(g, t, r, n, i, o), H = x(A.map(function(S) {
3673
3716
  return S.value;
3674
3717
  }));
3675
3718
  Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(S) {
3676
3719
  return {
3677
- type: typeof S == "string" ? w.literal : w.object,
3720
+ type: typeof S == "string" ? T.literal : T.object,
3678
3721
  value: S
3679
3722
  };
3680
3723
  }));
3681
3724
  }
3682
- if (Rt(l)) {
3683
- var T = l.options[f] || l.options.other;
3684
- if (!T)
3685
- throw new mt(l.value, f, Object.keys(l.options), s);
3686
- a.push.apply(a, me(T.value, t, r, n, i));
3725
+ if (jt(l)) {
3726
+ var w = l.options[f] || l.options.other;
3727
+ if (!w)
3728
+ throw new yt(l.value, f, Object.keys(l.options), s);
3729
+ a.push.apply(a, pe(w.value, t, r, n, i));
3687
3730
  continue;
3688
3731
  }
3689
- if (Dt(l)) {
3690
- var T = l.options["=".concat(f)];
3691
- if (!T) {
3732
+ if (kt(l)) {
3733
+ var w = l.options["=".concat(f)];
3734
+ if (!w) {
3692
3735
  if (!Intl.PluralRules)
3693
- throw new Ee(`Intl.PluralRules is not available in this environment.
3736
+ throw new xe(`Intl.PluralRules is not available in this environment.
3694
3737
  Try polyfilling it using "@formatjs/intl-pluralrules"
3695
- `, Y.MISSING_INTL_API, s);
3696
- var v = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3697
- T = l.options[v] || l.options.other;
3738
+ `, Z.MISSING_INTL_API, s);
3739
+ var y = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3740
+ w = l.options[y] || l.options.other;
3698
3741
  }
3699
- if (!T)
3700
- throw new mt(l.value, f, Object.keys(l.options), s);
3701
- a.push.apply(a, me(T.value, t, r, n, i, f - (l.offset || 0)));
3742
+ if (!w)
3743
+ throw new yt(l.value, f, Object.keys(l.options), s);
3744
+ a.push.apply(a, pe(w.value, t, r, n, i, f - (l.offset || 0)));
3702
3745
  continue;
3703
3746
  }
3704
3747
  }
3705
- return Fn(a);
3748
+ return Wn(a);
3706
3749
  }
3707
- function kn(e, t) {
3708
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3709
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3750
+ function Zn(e, t) {
3751
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3752
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
3710
3753
  }, {})) : e;
3711
3754
  }
3712
- function Vn(e, t) {
3755
+ function Yn(e, t) {
3713
3756
  return t ? Object.keys(e).reduce(function(r, n) {
3714
- return r[n] = kn(e[n], t[n]), r;
3715
- }, y({}, e)) : e;
3757
+ return r[n] = Zn(e[n], t[n]), r;
3758
+ }, L({}, e)) : e;
3716
3759
  }
3717
- function Ae(e) {
3760
+ function Ie(e) {
3718
3761
  return {
3719
3762
  create: function() {
3720
3763
  return {
@@ -3728,39 +3771,39 @@ function Ae(e) {
3728
3771
  }
3729
3772
  };
3730
3773
  }
3731
- function Xn(e) {
3774
+ function Qn(e) {
3732
3775
  return e === void 0 && (e = {
3733
3776
  number: {},
3734
3777
  dateTime: {},
3735
3778
  pluralRules: {}
3736
3779
  }), {
3737
- getNumberFormat: Te(function() {
3780
+ getNumberFormat: Ae(function() {
3738
3781
  for (var t, r = [], n = 0; n < arguments.length; n++)
3739
3782
  r[n] = arguments[n];
3740
- return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3783
+ return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3741
3784
  }, {
3742
- cache: Ae(e.number),
3743
- strategy: we.variadic
3785
+ cache: Ie(e.number),
3786
+ strategy: Pe.variadic
3744
3787
  }),
3745
- getDateTimeFormat: Te(function() {
3788
+ getDateTimeFormat: Ae(function() {
3746
3789
  for (var t, r = [], n = 0; n < arguments.length; n++)
3747
3790
  r[n] = arguments[n];
3748
- return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3791
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3749
3792
  }, {
3750
- cache: Ae(e.dateTime),
3751
- strategy: we.variadic
3793
+ cache: Ie(e.dateTime),
3794
+ strategy: Pe.variadic
3752
3795
  }),
3753
- getPluralRules: Te(function() {
3796
+ getPluralRules: Ae(function() {
3754
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3755
3798
  r[n] = arguments[n];
3756
- return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3799
+ return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3757
3800
  }, {
3758
- cache: Ae(e.pluralRules),
3759
- strategy: we.variadic
3801
+ cache: Ie(e.pluralRules),
3802
+ strategy: Pe.variadic
3760
3803
  })
3761
3804
  };
3762
3805
  }
3763
- var Wn = (
3806
+ var Jn = (
3764
3807
  /** @class */
3765
3808
  function() {
3766
3809
  function e(t, r, n, i) {
@@ -3775,11 +3818,11 @@ var Wn = (
3775
3818
  if (u.length === 1)
3776
3819
  return u[0].value;
3777
3820
  var l = u.reduce(function(c, f) {
3778
- return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3821
+ return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3779
3822
  }, []);
3780
3823
  return l.length <= 1 ? l[0] || "" : l;
3781
3824
  }, this.formatToParts = function(h) {
3782
- return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3825
+ return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3783
3826
  }, this.resolvedOptions = function() {
3784
3827
  var h;
3785
3828
  return {
@@ -3792,13 +3835,13 @@ var Wn = (
3792
3835
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3793
3836
  var s = i || {};
3794
3837
  s.formatters;
3795
- var a = Br(s, ["formatters"]);
3796
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3838
+ var a = sn(s, ["formatters"]);
3839
+ this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
3797
3840
  } else
3798
3841
  this.ast = t;
3799
3842
  if (!Array.isArray(this.ast))
3800
3843
  throw new TypeError("A message must be provided as a String or AST.");
3801
- this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
3844
+ this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || Qn(this.formatterCache);
3802
3845
  }
3803
3846
  return Object.defineProperty(e, "defaultLocale", {
3804
3847
  get: function() {
@@ -3811,7 +3854,7 @@ var Wn = (
3811
3854
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3812
3855
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3813
3856
  }
3814
- }, e.__parse = Dn, e.formats = {
3857
+ }, e.__parse = kn, e.formats = {
3815
3858
  number: {
3816
3859
  integer: {
3817
3860
  maximumFractionDigits: 0
@@ -3872,7 +3915,7 @@ var Wn = (
3872
3915
  }, e;
3873
3916
  }()
3874
3917
  );
3875
- function zn(e, t) {
3918
+ function qn(e, t) {
3876
3919
  if (t == null)
3877
3920
  return;
3878
3921
  if (t in e)
@@ -3893,92 +3936,92 @@ function zn(e, t) {
3893
3936
  n = void 0;
3894
3937
  return n;
3895
3938
  }
3896
- const R = {}, Zn = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Zt = (e, t) => {
3939
+ const R = {}, Kn = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Kt = (e, t) => {
3897
3940
  if (t == null)
3898
3941
  return;
3899
3942
  if (t in R && e in R[t])
3900
3943
  return R[t][e];
3901
- const r = _e(t);
3944
+ const r = Be(t);
3902
3945
  for (let n = 0; n < r.length; n++) {
3903
- const i = r[n], o = Qn(i, e);
3946
+ const i = r[n], o = ti(i, e);
3904
3947
  if (o)
3905
- return Zn(e, t, o);
3948
+ return Kn(e, t, o);
3906
3949
  }
3907
3950
  };
3908
- let Ze;
3909
- const ue = ve({});
3910
- function Yn(e) {
3911
- return Ze[e] || null;
3951
+ let Ke;
3952
+ const ue = Ee({});
3953
+ function ei(e) {
3954
+ return Ke[e] || null;
3912
3955
  }
3913
- function Yt(e) {
3914
- return e in Ze;
3956
+ function er(e) {
3957
+ return e in Ke;
3915
3958
  }
3916
- function Qn(e, t) {
3917
- if (!Yt(e))
3959
+ function ti(e, t) {
3960
+ if (!er(e))
3918
3961
  return null;
3919
- const r = Yn(e);
3920
- return zn(r, t);
3962
+ const r = ei(e);
3963
+ return qn(r, t);
3921
3964
  }
3922
- function Jn(e) {
3965
+ function ri(e) {
3923
3966
  if (e == null)
3924
3967
  return;
3925
- const t = _e(e);
3968
+ const t = Be(e);
3926
3969
  for (let r = 0; r < t.length; r++) {
3927
3970
  const n = t[r];
3928
- if (Yt(n))
3971
+ if (er(n))
3929
3972
  return n;
3930
3973
  }
3931
3974
  }
3932
- function Qt(e, ...t) {
3933
- delete R[e], ue.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
3975
+ function tr(e, ...t) {
3976
+ delete R[e], ue.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
3934
3977
  }
3935
- J(
3978
+ Q(
3936
3979
  [ue],
3937
3980
  ([e]) => Object.keys(e)
3938
3981
  );
3939
- ue.subscribe((e) => Ze = e);
3940
- const pe = {};
3941
- function qn(e, t) {
3942
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3982
+ ue.subscribe((e) => Ke = e);
3983
+ const me = {};
3984
+ function ni(e, t) {
3985
+ me[e].delete(t), me[e].size === 0 && delete me[e];
3943
3986
  }
3944
- function Jt(e) {
3945
- return pe[e];
3987
+ function rr(e) {
3988
+ return me[e];
3946
3989
  }
3947
- function Kn(e) {
3948
- return _e(e).map((t) => {
3949
- const r = Jt(t);
3990
+ function ii(e) {
3991
+ return Be(e).map((t) => {
3992
+ const r = rr(t);
3950
3993
  return [t, r ? [...r] : []];
3951
3994
  }).filter(([, t]) => t.length > 0);
3952
3995
  }
3953
- function Ve(e) {
3954
- return e == null ? !1 : _e(e).some(
3996
+ function Ye(e) {
3997
+ return e == null ? !1 : Be(e).some(
3955
3998
  (t) => {
3956
3999
  var r;
3957
- return (r = Jt(t)) == null ? void 0 : r.size;
4000
+ return (r = rr(t)) == null ? void 0 : r.size;
3958
4001
  }
3959
4002
  );
3960
4003
  }
3961
- function ei(e, t) {
4004
+ function oi(e, t) {
3962
4005
  return Promise.all(
3963
- t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
3964
- ).then((n) => Qt(e, ...n));
3965
- }
3966
- const ee = {};
3967
- function qt(e) {
3968
- if (!Ve(e))
3969
- return e in ee ? ee[e] : Promise.resolve();
3970
- const t = Kn(e);
3971
- return ee[e] = Promise.all(
4006
+ t.map((n) => (ni(e, n), n().then((i) => i.default || i)))
4007
+ ).then((n) => tr(e, ...n));
4008
+ }
4009
+ const K = {};
4010
+ function nr(e) {
4011
+ if (!Ye(e))
4012
+ return e in K ? K[e] : Promise.resolve();
4013
+ const t = ii(e);
4014
+ return K[e] = Promise.all(
3972
4015
  t.map(
3973
- ([r, n]) => ei(r, n)
4016
+ ([r, n]) => oi(r, n)
3974
4017
  )
3975
4018
  ).then(() => {
3976
- if (Ve(e))
3977
- return qt(e);
3978
- delete ee[e];
3979
- }), ee[e];
4019
+ if (Ye(e))
4020
+ return nr(e);
4021
+ delete K[e];
4022
+ }), K[e];
3980
4023
  }
3981
- const ti = {
4024
+ const si = {
3982
4025
  number: {
3983
4026
  scientific: { notation: "scientific" },
3984
4027
  engineering: { notation: "engineering" },
@@ -4007,135 +4050,135 @@ const ti = {
4007
4050
  timeZoneName: "short"
4008
4051
  }
4009
4052
  }
4010
- }, ri = {
4053
+ }, ai = {
4011
4054
  fallbackLocale: null,
4012
4055
  loadingDelay: 200,
4013
- formats: ti,
4056
+ formats: si,
4014
4057
  warnOnMissingMessages: !0,
4015
4058
  handleMissingMessage: void 0,
4016
4059
  ignoreTag: !0
4017
- }, ni = ri;
4018
- function Q() {
4019
- return ni;
4060
+ }, ui = ai;
4061
+ function Y() {
4062
+ return ui;
4020
4063
  }
4021
- const Pe = ve(!1);
4022
- var ii = Object.defineProperty, oi = Object.defineProperties, si = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
4064
+ const Ne = Ee(!1);
4065
+ var hi = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, fi = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mi = (e, t) => {
4023
4066
  for (var r in t || (t = {}))
4024
- ai.call(t, r) && bt(e, r, t[r]);
4025
- if (pt)
4026
- for (var r of pt(t))
4027
- ui.call(t, r) && bt(e, r, t[r]);
4067
+ fi.call(t, r) && Et(e, r, t[r]);
4068
+ if (vt)
4069
+ for (var r of vt(t))
4070
+ pi.call(t, r) && Et(e, r, t[r]);
4028
4071
  return e;
4029
- }, li = (e, t) => oi(e, si(t));
4030
- let Xe;
4031
- const be = ve(null);
4032
- function dt(e) {
4072
+ }, bi = (e, t) => li(e, ci(t));
4073
+ let Qe;
4074
+ const de = Ee(null);
4075
+ function _t(e) {
4033
4076
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4034
4077
  }
4035
- function _e(e, t = Q().fallbackLocale) {
4036
- const r = dt(e);
4037
- return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
4078
+ function Be(e, t = Y().fallbackLocale) {
4079
+ const r = _t(e);
4080
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4038
4081
  }
4039
4082
  function G() {
4040
- return Xe ?? void 0;
4083
+ return Qe ?? void 0;
4041
4084
  }
4042
- be.subscribe((e) => {
4043
- Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4085
+ de.subscribe((e) => {
4086
+ Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4044
4087
  });
4045
- const ci = (e) => {
4046
- if (e && Jn(e) && Ve(e)) {
4047
- const { loadingDelay: t } = Q();
4088
+ const di = (e) => {
4089
+ if (e && ri(e) && Ye(e)) {
4090
+ const { loadingDelay: t } = Y();
4048
4091
  let r;
4049
4092
  return typeof window < "u" && G() != null && t ? r = window.setTimeout(
4050
- () => Pe.set(!0),
4093
+ () => Ne.set(!0),
4051
4094
  t
4052
- ) : Pe.set(!0), qt(e).then(() => {
4053
- be.set(e);
4095
+ ) : Ne.set(!0), nr(e).then(() => {
4096
+ de.set(e);
4054
4097
  }).finally(() => {
4055
- clearTimeout(r), Pe.set(!1);
4098
+ clearTimeout(r), Ne.set(!1);
4056
4099
  });
4057
4100
  }
4058
- return be.set(e);
4059
- }, q = li(hi({}, be), {
4060
- set: ci
4061
- }), xe = (e) => {
4101
+ return de.set(e);
4102
+ }, J = bi(mi({}, de), {
4103
+ set: di
4104
+ }), Se = (e) => {
4062
4105
  const t = /* @__PURE__ */ Object.create(null);
4063
4106
  return (n) => {
4064
4107
  const i = JSON.stringify(n);
4065
4108
  return i in t ? t[i] : t[i] = e(n);
4066
4109
  };
4067
4110
  };
4068
- var fi = Object.defineProperty, de = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4111
+ var gi = Object.defineProperty, ge = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4069
4112
  for (var r in t || (t = {}))
4070
- Kt.call(t, r) && gt(e, r, t[r]);
4071
- if (de)
4072
- for (var r of de(t))
4073
- er.call(t, r) && gt(e, r, t[r]);
4113
+ ir.call(t, r) && xt(e, r, t[r]);
4114
+ if (ge)
4115
+ for (var r of ge(t))
4116
+ or.call(t, r) && xt(e, r, t[r]);
4074
4117
  return e;
4075
- }, K = (e, t) => {
4118
+ }, q = (e, t) => {
4076
4119
  var r = {};
4077
4120
  for (var n in e)
4078
- Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4079
- if (e != null && de)
4080
- for (var n of de(e))
4081
- t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
4121
+ ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4122
+ if (e != null && ge)
4123
+ for (var n of ge(e))
4124
+ t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
4082
4125
  return r;
4083
4126
  };
4084
- const se = (e, t) => {
4085
- const { formats: r } = Q();
4127
+ const oe = (e, t) => {
4128
+ const { formats: r } = Y();
4086
4129
  if (e in r && t in r[e])
4087
4130
  return r[e][t];
4088
4131
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4089
- }, mi = xe(
4132
+ }, yi = Se(
4090
4133
  (e) => {
4091
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4134
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4092
4135
  if (r == null)
4093
4136
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4094
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4137
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4095
4138
  }
4096
- ), pi = xe(
4139
+ ), vi = Se(
4097
4140
  (e) => {
4098
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4141
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4099
4142
  if (r == null)
4100
4143
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4101
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4144
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4102
4145
  }
4103
- ), bi = xe(
4146
+ ), Ei = Se(
4104
4147
  (e) => {
4105
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4148
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4106
4149
  if (r == null)
4107
4150
  throw new Error(
4108
4151
  '[svelte-i18n] A "locale" must be set to format time values'
4109
4152
  );
4110
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4153
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4111
4154
  }
4112
- ), di = (e = {}) => {
4155
+ ), _i = (e = {}) => {
4113
4156
  var t = e, {
4114
4157
  locale: r = G()
4115
- } = t, n = K(t, [
4158
+ } = t, n = q(t, [
4116
4159
  "locale"
4117
4160
  ]);
4118
- return mi(Ye({ locale: r }, n));
4119
- }, gi = (e = {}) => {
4161
+ return yi(et({ locale: r }, n));
4162
+ }, xi = (e = {}) => {
4120
4163
  var t = e, {
4121
4164
  locale: r = G()
4122
- } = t, n = K(t, [
4165
+ } = t, n = q(t, [
4123
4166
  "locale"
4124
4167
  ]);
4125
- return pi(Ye({ locale: r }, n));
4126
- }, yi = (e = {}) => {
4168
+ return vi(et({ locale: r }, n));
4169
+ }, Bi = (e = {}) => {
4127
4170
  var t = e, {
4128
4171
  locale: r = G()
4129
- } = t, n = K(t, [
4172
+ } = t, n = q(t, [
4130
4173
  "locale"
4131
4174
  ]);
4132
- return bi(Ye({ locale: r }, n));
4133
- }, vi = xe(
4175
+ return Ei(et({ locale: r }, n));
4176
+ }, Si = Se(
4134
4177
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4135
- (e, t = G()) => new Wn(e, t, Q().formats, {
4136
- ignoreTag: Q().ignoreTag
4178
+ (e, t = G()) => new Jn(e, t, Y().formats, {
4179
+ ignoreTag: Y().ignoreTag
4137
4180
  })
4138
- ), Ei = (e, t = {}) => {
4181
+ ), wi = (e, t = {}) => {
4139
4182
  var r, n, i, o;
4140
4183
  let s = t;
4141
4184
  typeof e == "object" && (s = e, e = s.id);
@@ -4148,9 +4191,9 @@ const se = (e, t) => {
4148
4191
  throw new Error(
4149
4192
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4150
4193
  );
4151
- let l = Zt(e, h);
4194
+ let l = Kt(e, h);
4152
4195
  if (!l)
4153
- l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4196
+ l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4154
4197
  else if (typeof l != "string")
4155
4198
  return console.warn(
4156
4199
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4159,7 +4202,7 @@ const se = (e, t) => {
4159
4202
  return l;
4160
4203
  let c = l;
4161
4204
  try {
4162
- c = vi(l, h).format(a);
4205
+ c = Si(l, h).format(a);
4163
4206
  } catch (f) {
4164
4207
  f instanceof Error && console.warn(
4165
4208
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4167,20 +4210,20 @@ const se = (e, t) => {
4167
4210
  );
4168
4211
  }
4169
4212
  return c;
4170
- }, _i = (e, t) => yi(t).format(e), xi = (e, t) => gi(t).format(e), Bi = (e, t) => di(t).format(e), Si = (e, t = G()) => Zt(e, t), Ti = J([q, ue], () => Ei);
4171
- J([q], () => _i);
4172
- J([q], () => xi);
4173
- J([q], () => Bi);
4174
- J([q, ue], () => Si);
4175
- window.emWidgets = { topic: Rr };
4176
- const wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4177
- function yt(e, t) {
4178
- Qt(e, t);
4179
- }
4180
- function Hi(e) {
4181
- q.set(e);
4182
- }
4183
- const vt = {
4213
+ }, Ti = (e, t) => Bi(t).format(e), Hi = (e, t) => xi(t).format(e), Ai = (e, t) => _i(t).format(e), Pi = (e, t = G()) => Kt(e, t), Oi = Q([J, ue], () => wi);
4214
+ Q([J], () => Ti);
4215
+ Q([J], () => Hi);
4216
+ Q([J], () => Ai);
4217
+ Q([J, ue], () => Pi);
4218
+ window.emWidgets = { topic: Fr };
4219
+ const Ii = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4220
+ function Bt(e, t) {
4221
+ tr(e, t);
4222
+ }
4223
+ function Ni(e) {
4224
+ J.set(e);
4225
+ }
4226
+ const St = {
4184
4227
  en: {
4185
4228
  titleBiometrics: "Biometrics Authentication",
4186
4229
  descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
@@ -4259,13 +4302,13 @@ const vt = {
4259
4302
  btnDisableBiometrics: "Disable biometrics"
4260
4303
  }
4261
4304
  };
4262
- function Ai(e, t) {
4305
+ function Mi(e, t) {
4263
4306
  if (e) {
4264
4307
  const r = document.createElement("style");
4265
4308
  r.innerHTML = t, e.appendChild(r);
4266
4309
  }
4267
4310
  }
4268
- function Pi(e, t) {
4311
+ function Li(e, t) {
4269
4312
  const r = new URL(t);
4270
4313
  fetch(r.href).then((n) => n.text()).then((n) => {
4271
4314
  const i = document.createElement("style");
@@ -4274,7 +4317,7 @@ function Pi(e, t) {
4274
4317
  console.error("There was an error while trying to load client styling from URL", n);
4275
4318
  });
4276
4319
  }
4277
- function Oi(e, t, r) {
4320
+ function Ci(e, t, r) {
4278
4321
  if (window.emMessageBus) {
4279
4322
  const n = document.createElement("style");
4280
4323
  window.emMessageBus.subscribe(t, (i) => {
@@ -4282,47 +4325,47 @@ function Oi(e, t, r) {
4282
4325
  });
4283
4326
  }
4284
4327
  }
4285
- function Ii(e) {
4286
- nr(e, "svelte-6qxh5g", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.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))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
4328
+ function $i(e) {
4329
+ ur(e, "svelte-6qxh5g", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.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))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
4287
4330
  }
4288
- function Ni(e) {
4331
+ function Ri(e) {
4289
4332
  let t, r, n, i, o, s, a, h, u, l, c = (
4290
4333
  /*$_*/
4291
4334
  e[2]("titleBiometrics") + ""
4292
- ), f, m, g;
4335
+ ), f, p, g;
4293
4336
  return {
4294
4337
  c() {
4295
- t = O("div"), r = F("svg"), n = F("defs"), i = F("style"), o = U(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = te(), l = O("h2"), f = U(c), B(h, "class", "aaa"), B(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(h, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(r, "width", "15"), B(r, "height", "15"), B(r, "viewBox", "0 0 15 15"), B(l, "class", "BiometricsTitleMobile"), B(l, "part", "BiometricsTitleMobile"), B(t, "class", "MenuReturnButton"), B(t, "part", "MenuReturnButton");
4338
+ t = O("div"), r = F("svg"), n = F("defs"), i = F("style"), o = U(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = ee(), l = O("h2"), f = U(c), B(h, "class", "aaa"), B(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(h, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(r, "width", "15"), B(r, "height", "15"), B(r, "viewBox", "0 0 15 15"), B(l, "class", "BiometricsTitleMobile"), B(l, "part", "BiometricsTitleMobile"), B(t, "class", "MenuReturnButton"), B(t, "part", "MenuReturnButton");
4296
4339
  },
4297
- m(p, x) {
4298
- ze(p, t, x), E(t, r), E(r, n), E(n, i), E(i, o), E(r, s), E(s, a), E(a, h), E(t, u), E(t, l), E(l, f), m || (g = Bt(
4340
+ m(m, x) {
4341
+ qe(m, t, x), v(t, r), v(r, n), v(n, i), v(i, o), v(r, s), v(s, a), v(a, h), v(t, u), v(t, l), v(l, f), p || (g = At(
4299
4342
  t,
4300
4343
  "click",
4301
4344
  /*click_handler*/
4302
4345
  e[11]
4303
- ), m = !0);
4346
+ ), p = !0);
4304
4347
  },
4305
- p(p, x) {
4348
+ p(m, x) {
4306
4349
  x & /*$_*/
4307
4350
  4 && c !== (c = /*$_*/
4308
- p[2]("titleBiometrics") + "") && re(f, c);
4351
+ m[2]("titleBiometrics") + "") && te(f, c);
4309
4352
  },
4310
- d(p) {
4311
- p && ge(t), m = !1, g();
4353
+ d(m) {
4354
+ m && ye(t), p = !1, g();
4312
4355
  }
4313
4356
  };
4314
4357
  }
4315
- function Mi(e) {
4358
+ function Di(e) {
4316
4359
  let t, r, n, i, o = (
4317
4360
  /*$_*/
4318
4361
  e[2]("titleBiometrics") + ""
4319
4362
  ), s, a, h, u, l = (
4320
4363
  /*$_*/
4321
4364
  e[2]("descriptionParagraph1") + ""
4322
- ), c, f, m, g = (
4365
+ ), c, f, p, g = (
4323
4366
  /*$_*/
4324
4367
  e[2]("descriptionParagraph2") + ""
4325
- ), p, x, A, H, T = (
4368
+ ), m, x, A, H, w = (
4326
4369
  /*biometricsenabled*/
4327
4370
  (e[0] === "true" ? (
4328
4371
  /*$_*/
@@ -4331,20 +4374,20 @@ function Mi(e) {
4331
4374
  /*$_*/
4332
4375
  e[2]("btnEnableBiometrics")
4333
4376
  )) + ""
4334
- ), v, S, N, M = (
4377
+ ), y, S, N, M = (
4335
4378
  /*isMobile*/
4336
- e[3] && Ni(e)
4379
+ e[3] && Ri(e)
4337
4380
  );
4338
4381
  return {
4339
4382
  c() {
4340
- t = O("div"), r = O("div"), M && M.c(), n = te(), i = O("h2"), s = U(o), a = te(), h = O("div"), u = O("p"), c = U(l), f = te(), m = O("p"), p = U(g), x = te(), A = O("div"), H = O("button"), v = U(T), B(i, "class", "BiometricsTitle " + /*isMobile*/
4383
+ t = O("div"), r = O("div"), M && M.c(), n = ee(), i = O("h2"), s = U(o), a = ee(), h = O("div"), u = O("p"), c = U(l), f = ee(), p = O("p"), m = U(g), x = ee(), A = O("div"), H = O("button"), y = U(w), B(i, "class", "BiometricsTitle " + /*isMobile*/
4341
4384
  (e[3] ? "BiometricsTitleNone" : "")), B(h, "class", "BiometricsDescription " + /*isMobile*/
4342
4385
  (e[3] ? "BiometricsDescriptionMobile" : "")), B(H, "class", "BiometricsToggle"), B(A, "class", "BiometricsActionButtons " + /*isMobile*/
4343
4386
  (e[3] ? "BiometricsActionButtonsMobile" : "")), B(r, "class", "BiometricsWrapper " + /*isMobile*/
4344
4387
  (e[3] ? "BiometricsWrapperMobile" : ""));
4345
4388
  },
4346
4389
  m(P, D) {
4347
- ze(P, t, D), E(t, r), M && M.m(r, null), E(r, n), E(r, i), E(i, s), E(r, a), E(r, h), E(h, u), E(u, c), E(h, f), E(h, m), E(m, p), E(r, x), E(r, A), E(A, H), E(H, v), e[13](t), S || (N = Bt(
4390
+ qe(P, t, D), v(t, r), M && M.m(r, null), v(r, n), v(r, i), v(i, s), v(r, a), v(r, h), v(h, u), v(u, c), v(h, f), v(h, p), v(p, m), v(r, x), v(r, A), v(A, H), v(H, y), e[13](t), S || (N = At(
4348
4391
  H,
4349
4392
  "click",
4350
4393
  /*click_handler_1*/
@@ -4355,46 +4398,46 @@ function Mi(e) {
4355
4398
  /*isMobile*/
4356
4399
  P[3] && M.p(P, D), D & /*$_*/
4357
4400
  4 && o !== (o = /*$_*/
4358
- P[2]("titleBiometrics") + "") && re(s, o), D & /*$_*/
4401
+ P[2]("titleBiometrics") + "") && te(s, o), D & /*$_*/
4359
4402
  4 && l !== (l = /*$_*/
4360
- P[2]("descriptionParagraph1") + "") && re(c, l), D & /*$_*/
4403
+ P[2]("descriptionParagraph1") + "") && te(c, l), D & /*$_*/
4361
4404
  4 && g !== (g = /*$_*/
4362
- P[2]("descriptionParagraph2") + "") && re(p, g), D & /*biometricsenabled, $_*/
4363
- 5 && T !== (T = /*biometricsenabled*/
4405
+ P[2]("descriptionParagraph2") + "") && te(m, g), D & /*biometricsenabled, $_*/
4406
+ 5 && w !== (w = /*biometricsenabled*/
4364
4407
  (P[0] === "true" ? (
4365
4408
  /*$_*/
4366
4409
  P[2]("btnDisableBiometrics")
4367
4410
  ) : (
4368
4411
  /*$_*/
4369
4412
  P[2]("btnEnableBiometrics")
4370
- )) + "") && re(v, T);
4413
+ )) + "") && te(y, w);
4371
4414
  },
4372
4415
  i: I,
4373
4416
  o: I,
4374
4417
  d(P) {
4375
- P && ge(t), M && M.d(), e[13](null), S = !1, N();
4418
+ P && ye(t), M && M.d(), e[13](null), S = !1, N();
4376
4419
  }
4377
4420
  };
4378
4421
  }
4379
- function Li(e, t, r) {
4422
+ function Ui(e, t, r) {
4380
4423
  let n;
4381
- rr(e, Ti, (v) => r(2, n = v));
4382
- let { biometricsenabled: i = "false" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: h } = t, { translationurl: u = "" } = t, l, c = window.navigator.userAgent, f = wi(c) !== "PC";
4383
- const m = () => {
4424
+ ar(e, Oi, (y) => r(2, n = y));
4425
+ let { biometricsenabled: i = "false" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: h } = t, { translationurl: u = "" } = t, l, c = window.navigator.userAgent, f = Ii(c) !== "PC";
4426
+ const p = () => {
4384
4427
  fetch(u).then((S) => S.json()).then((S) => {
4385
4428
  Object.keys(S).forEach((N) => {
4386
- yt(N, S[N]);
4429
+ Bt(N, S[N]);
4387
4430
  });
4388
4431
  }).catch((S) => {
4389
4432
  console.log(S);
4390
4433
  });
4391
4434
  };
4392
- Object.keys(vt).forEach((v) => {
4393
- yt(v, vt[v]);
4435
+ Object.keys(St).forEach((y) => {
4436
+ Bt(y, St[y]);
4394
4437
  });
4395
4438
  const g = () => {
4396
- Hi(o);
4397
- }, p = () => {
4439
+ Ni(o);
4440
+ }, m = () => {
4398
4441
  window.postMessage(
4399
4442
  {
4400
4443
  type: "PlayerAccountMenuActive",
@@ -4408,29 +4451,29 @@ function Li(e, t, r) {
4408
4451
  data: i
4409
4452
  });
4410
4453
  };
4411
- hr(() => () => {
4454
+ mr(() => () => {
4412
4455
  });
4413
- const A = () => p(), H = () => x();
4414
- function T(v) {
4415
- Oe[v ? "unshift" : "push"](() => {
4416
- l = v, r(1, l);
4456
+ const A = () => m(), H = () => x();
4457
+ function w(y) {
4458
+ Me[y ? "unshift" : "push"](() => {
4459
+ l = y, r(1, l);
4417
4460
  });
4418
4461
  }
4419
- return e.$$set = (v) => {
4420
- "biometricsenabled" in v && r(0, i = v.biometricsenabled), "lang" in v && r(6, o = v.lang), "clientstyling" in v && r(7, s = v.clientstyling), "clientstylingurl" in v && r(8, a = v.clientstylingurl), "mbsource" in v && r(9, h = v.mbsource), "translationurl" in v && r(10, u = v.translationurl);
4462
+ return e.$$set = (y) => {
4463
+ "biometricsenabled" in y && r(0, i = y.biometricsenabled), "lang" in y && r(6, o = y.lang), "clientstyling" in y && r(7, s = y.clientstyling), "clientstylingurl" in y && r(8, a = y.clientstylingurl), "mbsource" in y && r(9, h = y.mbsource), "translationurl" in y && r(10, u = y.translationurl);
4421
4464
  }, e.$$.update = () => {
4422
4465
  e.$$.dirty & /*lang*/
4423
4466
  64 && o && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4424
- 130 && s && l && Ai(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4425
- 258 && a && l && Pi(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4426
- 514 && h && l && Oi(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
4427
- 1024 && u && m();
4467
+ 130 && s && l && Mi(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4468
+ 258 && a && l && Li(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4469
+ 514 && h && l && Ci(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
4470
+ 1024 && u && p();
4428
4471
  }, [
4429
4472
  i,
4430
4473
  l,
4431
4474
  n,
4432
4475
  f,
4433
- p,
4476
+ m,
4434
4477
  x,
4435
4478
  o,
4436
4479
  s,
@@ -4439,17 +4482,17 @@ function Li(e, t, r) {
4439
4482
  u,
4440
4483
  A,
4441
4484
  H,
4442
- T
4485
+ w
4443
4486
  ];
4444
4487
  }
4445
- class Ci extends _r {
4488
+ class Gi extends Tr {
4446
4489
  constructor(t) {
4447
- super(), vr(
4490
+ super(), Sr(
4448
4491
  this,
4449
4492
  t,
4450
- Li,
4451
- Mi,
4452
- _t,
4493
+ Ui,
4494
+ Di,
4495
+ Tt,
4453
4496
  {
4454
4497
  biometricsenabled: 0,
4455
4498
  lang: 6,
@@ -4458,7 +4501,7 @@ class Ci extends _r {
4458
4501
  mbsource: 9,
4459
4502
  translationurl: 10
4460
4503
  },
4461
- Ii
4504
+ $i
4462
4505
  );
4463
4506
  }
4464
4507
  get biometricsenabled() {
@@ -4498,7 +4541,7 @@ class Ci extends _r {
4498
4541
  this.$$set({ translationurl: t }), $();
4499
4542
  }
4500
4543
  }
4501
- Er(Ci, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4544
+ wr(Gi, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4502
4545
  export {
4503
- Ci as P
4546
+ Gi as P
4504
4547
  };