@everymatrix/player-account-biometrics 1.76.3 → 1.76.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var ur = Object.defineProperty, hr = Object.defineProperties;
2
- var lr = Object.getOwnPropertyDescriptors;
3
- var Ke = Object.getOwnPropertySymbols;
4
- var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
5
- var Se = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
1
+ var fr = Object.defineProperty, pr = Object.defineProperties;
2
+ var mr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var br = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- cr.call(t, r) && Se(e, r, t[r]);
8
- if (Ke)
9
- for (var r of Ke(t))
10
- fr.call(t, r) && Se(e, r, t[r]);
7
+ br.call(t, r) && Te(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ dr.call(t, r) && Te(e, r, t[r]);
11
11
  return e;
12
- }, tt = (e, t) => hr(e, lr(t));
13
- var O = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var rt = (e, t, r) => new Promise((n, i) => {
12
+ }, ot = (e, t) => pr(e, mr(t));
13
+ var O = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,25 +29,25 @@ var rt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function N() {
31
31
  }
32
- function Ht(e) {
32
+ function It(e) {
33
33
  return e();
34
34
  }
35
- function nt() {
35
+ function at() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ue(e) {
39
- e.forEach(Ht);
38
+ function ae(e) {
39
+ e.forEach(It);
40
40
  }
41
- function Ze(e) {
41
+ function Ke(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function At(e, t) {
44
+ function Nt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function mr(e) {
47
+ function gr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Pt(e, ...t) {
50
+ function Mt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function Pt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function pr(e, t, r) {
60
- e.$$.on_destroy.push(Pt(t, r));
59
+ function yr(e, t, r) {
60
+ e.$$.on_destroy.push(Mt(t, r));
61
61
  }
62
- function E(e, t) {
62
+ function v(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function dr(e, t, r) {
66
- const n = br(e);
65
+ function vr(e, t, r) {
66
+ const n = Er(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = I("style");
69
- i.id = t, i.textContent = r, gr(n, i);
69
+ i.id = t, i.textContent = r, _r(n, i);
70
70
  }
71
71
  }
72
- function br(e) {
72
+ function Er(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,17 +79,17 @@ function br(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function gr(e, t) {
83
- return E(
82
+ function _r(e, t) {
83
+ return v(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function Ye(e, t, r) {
89
+ function et(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function ye(e) {
92
+ function ve(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
95
  function I(e) {
@@ -101,23 +101,23 @@ function j(e) {
101
101
  function G(e) {
102
102
  return document.createTextNode(e);
103
103
  }
104
- function re() {
104
+ function te() {
105
105
  return G(" ");
106
106
  }
107
- function Ot(e, t, r, n) {
107
+ function Lt(e, t, r, n) {
108
108
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
109
109
  }
110
110
  function B(e, t, r) {
111
111
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
112
112
  }
113
- function yr(e) {
113
+ function xr(e) {
114
114
  return Array.from(e.childNodes);
115
115
  }
116
- function ne(e, t) {
116
+ function re(e, t) {
117
117
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
118
  t);
119
119
  }
120
- function vr(e) {
120
+ function Br(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -126,87 +126,87 @@ function vr(e) {
126
126
  }
127
127
  ), t;
128
128
  }
129
- let oe;
130
- function ie(e) {
131
- oe = e;
129
+ let ie;
130
+ function ne(e) {
131
+ ie = e;
132
132
  }
133
- function Er() {
134
- if (!oe)
133
+ function Sr() {
134
+ if (!ie)
135
135
  throw new Error("Function called outside component initialization");
136
- return oe;
136
+ return ie;
137
137
  }
138
- function _r(e) {
139
- Er().$$.on_mount.push(e);
138
+ function wr(e) {
139
+ Sr().$$.on_mount.push(e);
140
140
  }
141
- const X = [], Ne = [];
141
+ const X = [], Ce = [];
142
142
  let W = [];
143
- const it = [], xr = /* @__PURE__ */ Promise.resolve();
144
- let Me = !1;
145
- function Br() {
146
- Me || (Me = !0, xr.then(R));
143
+ const ut = [], Tr = /* @__PURE__ */ Promise.resolve();
144
+ let $e = !1;
145
+ function Hr() {
146
+ $e || ($e = !0, Tr.then(R));
147
147
  }
148
- function Le(e) {
148
+ function Re(e) {
149
149
  W.push(e);
150
150
  }
151
- const Te = /* @__PURE__ */ new Set();
151
+ const He = /* @__PURE__ */ new Set();
152
152
  let k = 0;
153
153
  function R() {
154
154
  if (k !== 0)
155
155
  return;
156
- const e = oe;
156
+ const e = ie;
157
157
  do {
158
158
  try {
159
159
  for (; k < X.length; ) {
160
160
  const t = X[k];
161
- k++, ie(t), Sr(t.$$);
161
+ k++, ne(t), Ar(t.$$);
162
162
  }
163
163
  } catch (t) {
164
164
  throw X.length = 0, k = 0, t;
165
165
  }
166
- for (ie(null), X.length = 0, k = 0; Ne.length; )
167
- Ne.pop()();
166
+ for (ne(null), X.length = 0, k = 0; Ce.length; )
167
+ Ce.pop()();
168
168
  for (let t = 0; t < W.length; t += 1) {
169
169
  const r = W[t];
170
- Te.has(r) || (Te.add(r), r());
170
+ He.has(r) || (He.add(r), r());
171
171
  }
172
172
  W.length = 0;
173
173
  } while (X.length);
174
- for (; it.length; )
175
- it.pop()();
176
- Me = !1, Te.clear(), ie(e);
174
+ for (; ut.length; )
175
+ ut.pop()();
176
+ $e = !1, He.clear(), ne(e);
177
177
  }
178
- function Sr(e) {
178
+ function Ar(e) {
179
179
  if (e.fragment !== null) {
180
- e.update(), ue(e.before_update);
180
+ e.update(), ae(e.before_update);
181
181
  const t = e.dirty;
182
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
183
183
  }
184
184
  }
185
- function Tr(e) {
185
+ function Pr(e) {
186
186
  const t = [], r = [];
187
187
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
188
188
  }
189
- const wr = /* @__PURE__ */ new Set();
190
- function Hr(e, t) {
191
- e && e.i && (wr.delete(e), e.i(t));
189
+ const Or = /* @__PURE__ */ new Set();
190
+ function Ir(e, t) {
191
+ e && e.i && (Or.delete(e), e.i(t));
192
192
  }
193
- function Ar(e, t, r) {
193
+ function Nr(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
- n && n.m(t, r), Le(() => {
196
- const o = e.$$.on_mount.map(Ht).filter(Ze);
197
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
198
- }), i.forEach(Le);
195
+ n && n.m(t, r), Re(() => {
196
+ const o = e.$$.on_mount.map(It).filter(Ke);
197
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
198
+ }), i.forEach(Re);
199
199
  }
200
- function Pr(e, t) {
200
+ function Mr(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (Tr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (Pr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
203
  }
204
- function Or(e, t) {
205
- e.$$.dirty[0] === -1 && (X.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function Lr(e, t) {
205
+ e.$$.dirty[0] === -1 && (X.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
208
- const h = oe;
209
- ie(e);
207
+ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
208
+ const h = ie;
209
+ ne(e);
210
210
  const u = e.$$ = {
211
211
  fragment: null,
212
212
  ctx: [],
@@ -214,7 +214,7 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
214
214
  props: o,
215
215
  update: N,
216
216
  not_equal: i,
217
- bound: nt(),
217
+ bound: at(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,28 +223,28 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (h ? h.$$.context : [])),
225
225
  // everything else
226
- callbacks: nt(),
226
+ callbacks: at(),
227
227
  dirty: a,
228
228
  skip_bound: !1,
229
229
  root: t.target || h.$$.root
230
230
  };
231
231
  s && s(u.root);
232
232
  let l = !1;
233
- if (u.ctx = r(e, t.props || {}, (c, f, ...m) => {
234
- const g = m.length ? m[0] : f;
235
- return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && Or(e, c)), f;
236
- }), u.update(), l = !0, ue(u.before_update), u.fragment = n(u.ctx), t.target) {
233
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
234
+ const g = p.length ? p[0] : f;
235
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && Lr(e, c)), f;
236
+ }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
237
237
  if (t.hydrate) {
238
- const c = yr(t.target);
239
- u.fragment && u.fragment.l(c), c.forEach(ye);
238
+ const c = xr(t.target);
239
+ u.fragment && u.fragment.l(c), c.forEach(ve);
240
240
  } else
241
241
  u.fragment && u.fragment.c();
242
- t.intro && Hr(e.$$.fragment), Ar(e, t.target, t.anchor), R();
242
+ t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), R();
243
243
  }
244
- ie(h);
244
+ ne(h);
245
245
  }
246
- let It;
247
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
246
+ let Ct;
247
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return rt(this, null, function* () {
284
+ return st(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let t = function(o) {
287
287
  return () => {
@@ -295,17 +295,17 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
295
295
  * @param {HTMLElement} [anchor]
296
296
  */
297
297
  m: function(u, l) {
298
- Ye(u, s, l);
298
+ et(u, s, l);
299
299
  },
300
300
  d: function(u) {
301
- u && ye(s);
301
+ u && ve(s);
302
302
  }
303
303
  };
304
304
  };
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = vr(this);
308
+ const r = {}, n = Br(this);
309
309
  for (const o of this.$$s)
310
310
  o in n && (r[o] = [t(o)]);
311
311
  for (const o of this.attributes) {
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
316
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: tt(et({}, this.$$d), {
319
+ props: ot(it({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -394,8 +394,8 @@ function fe(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function Nr(e, t, r, n, i, o) {
398
- let s = class extends It {
397
+ function $r(e, t, r, n, i, o) {
398
+ let s = class extends Ct {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -425,7 +425,7 @@ function Nr(e, t, r, n, i, o) {
425
425
  }), e.element = /** @type {any} */
426
426
  s, s;
427
427
  }
428
- class Mr {
428
+ class Rr {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -446,7 +446,7 @@ class Mr {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- Pr(this, 1), this.$destroy = N;
449
+ Mr(this, 1), this.$destroy = N;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -455,7 +455,7 @@ class Mr {
455
455
  * @returns {() => void}
456
456
  */
457
457
  $on(t, r) {
458
- if (!Ze(r))
458
+ if (!Ke(r))
459
459
  return N;
460
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
461
461
  return n.push(r), () => {
@@ -468,11 +468,11 @@ class Mr {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const Lr = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
474
+ const Dr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
476
476
  /*! *****************************************************************************
477
477
  Copyright (c) Microsoft Corporation.
478
478
 
@@ -487,43 +487,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
487
487
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
488
488
  PERFORMANCE OF THIS SOFTWARE.
489
489
  ***************************************************************************** */
490
- var Ce = function(e, t) {
491
- return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
490
+ var De = function(e, t) {
491
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
492
492
  r.__proto__ = n;
493
493
  } || function(r, n) {
494
494
  for (var i in n)
495
495
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
496
- }, Ce(e, t);
496
+ }, De(e, t);
497
497
  };
498
- function $(e, t) {
498
+ function ue(e, t) {
499
499
  if (typeof t != "function" && t !== null)
500
500
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
501
- Ce(e, t);
501
+ De(e, t);
502
502
  function r() {
503
503
  this.constructor = e;
504
504
  }
505
505
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
506
506
  }
507
- var y = function() {
508
- return y = Object.assign || function(t) {
509
- for (var r, n = 1, i = arguments.length; n < i; n++) {
510
- r = arguments[n];
511
- for (var o in r)
512
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
513
- }
514
- return t;
515
- }, y.apply(this, arguments);
516
- };
517
- function Cr(e, t) {
518
- var r = {};
519
- for (var n in e)
520
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
521
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
522
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
523
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
524
- return r;
525
- }
526
- function $e(e) {
507
+ function Ue(e) {
527
508
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
528
509
  if (r)
529
510
  return r.call(e);
@@ -535,7 +516,7 @@ function $e(e) {
535
516
  };
536
517
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
537
518
  }
538
- function Re(e, t) {
519
+ function Ge(e, t) {
539
520
  var r = typeof Symbol == "function" && e[Symbol.iterator];
540
521
  if (!r)
541
522
  return e;
@@ -555,22 +536,22 @@ function Re(e, t) {
555
536
  }
556
537
  return o;
557
538
  }
558
- function z(e, t, r) {
559
- if (r || arguments.length === 2)
539
+ function Fe(e, t, r) {
540
+ if (arguments.length === 2)
560
541
  for (var n = 0, i = t.length, o; n < i; n++)
561
542
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
562
543
  return e.concat(o || t);
563
544
  }
564
- function C(e) {
545
+ function $(e) {
565
546
  return typeof e == "function";
566
547
  }
567
- function Nt(e) {
548
+ function $t(e) {
568
549
  var t = function(n) {
569
550
  Error.call(n), n.stack = new Error().stack;
570
551
  }, r = e(t);
571
552
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
572
553
  }
573
- var we = Nt(function(e) {
554
+ var Ae = $t(function(e) {
574
555
  return function(r) {
575
556
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
576
557
  ` + r.map(function(n, i) {
@@ -579,13 +560,13 @@ var we = Nt(function(e) {
579
560
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
580
561
  };
581
562
  });
582
- function De(e, t) {
563
+ function je(e, t) {
583
564
  if (e) {
584
565
  var r = e.indexOf(t);
585
566
  0 <= r && e.splice(r, 1);
586
567
  }
587
568
  }
588
- var ve = function() {
569
+ var Ee = function() {
589
570
  function e(t) {
590
571
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
591
572
  }
@@ -597,12 +578,12 @@ var ve = function() {
597
578
  if (s)
598
579
  if (this._parentage = null, Array.isArray(s))
599
580
  try {
600
- for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
581
+ for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
601
582
  var u = h.value;
602
583
  u.remove(this);
603
584
  }
604
- } catch (p) {
605
- t = { error: p };
585
+ } catch (m) {
586
+ t = { error: m };
606
587
  } finally {
607
588
  try {
608
589
  h && !h.done && (r = a.return) && r.call(a);
@@ -614,29 +595,29 @@ var ve = function() {
614
595
  else
615
596
  s.remove(this);
616
597
  var l = this.initialTeardown;
617
- if (C(l))
598
+ if ($(l))
618
599
  try {
619
600
  l();
620
- } catch (p) {
621
- o = p instanceof we ? p.errors : [p];
601
+ } catch (m) {
602
+ o = m instanceof Ae ? m.errors : [m];
622
603
  }
623
604
  var c = this._finalizers;
624
605
  if (c) {
625
606
  this._finalizers = null;
626
607
  try {
627
- for (var f = $e(c), m = f.next(); !m.done; m = f.next()) {
628
- var g = m.value;
608
+ for (var f = Ue(c), p = f.next(); !p.done; p = f.next()) {
609
+ var g = p.value;
629
610
  try {
630
- ot(g);
631
- } catch (p) {
632
- o = o != null ? o : [], p instanceof we ? o = z(z([], Re(o)), Re(p.errors)) : o.push(p);
611
+ ht(g);
612
+ } catch (m) {
613
+ o = o != null ? o : [], m instanceof Ae ? o = Fe(Fe([], Ge(o)), Ge(m.errors)) : o.push(m);
633
614
  }
634
615
  }
635
- } catch (p) {
636
- n = { error: p };
616
+ } catch (m) {
617
+ n = { error: m };
637
618
  } finally {
638
619
  try {
639
- m && !m.done && (i = f.return) && i.call(f);
620
+ p && !p.done && (i = f.return) && i.call(f);
640
621
  } finally {
641
622
  if (n)
642
623
  throw n.error;
@@ -644,13 +625,13 @@ var ve = function() {
644
625
  }
645
626
  }
646
627
  if (o)
647
- throw new we(o);
628
+ throw new Ae(o);
648
629
  }
649
630
  }, e.prototype.add = function(t) {
650
631
  var r;
651
632
  if (t && t !== this)
652
633
  if (this.closed)
653
- ot(t);
634
+ ht(t);
654
635
  else {
655
636
  if (t instanceof e) {
656
637
  if (t.closed || t._hasParent(this))
@@ -667,56 +648,52 @@ var ve = function() {
667
648
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
668
649
  }, e.prototype._removeParent = function(t) {
669
650
  var r = this._parentage;
670
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
651
+ r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
671
652
  }, e.prototype.remove = function(t) {
672
653
  var r = this._finalizers;
673
- r && De(r, t), t instanceof e && t._removeParent(this);
654
+ r && je(r, t), t instanceof e && t._removeParent(this);
674
655
  }, e.EMPTY = function() {
675
656
  var t = new e();
676
657
  return t.closed = !0, t;
677
658
  }(), e;
678
- }(), Mt = ve.EMPTY;
679
- function Lt(e) {
680
- return e instanceof ve || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
681
- }
682
- function ot(e) {
683
- C(e) ? e() : e.unsubscribe();
684
- }
685
- var $r = {
686
- onUnhandledError: null,
687
- onStoppedNotification: null,
688
- Promise: void 0,
689
- useDeprecatedSynchronousErrorHandling: !1,
690
- useDeprecatedNextContext: !1
691
- }, Rr = {
659
+ }(), Rt = Ee.EMPTY;
660
+ function Dt(e) {
661
+ return e instanceof Ee || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
662
+ }
663
+ function ht(e) {
664
+ $(e) ? e() : e.unsubscribe();
665
+ }
666
+ var Ur = {
667
+ Promise: void 0
668
+ }, Gr = {
692
669
  setTimeout: function(e, t) {
693
670
  for (var r = [], n = 2; n < arguments.length; n++)
694
671
  r[n - 2] = arguments[n];
695
- return setTimeout.apply(void 0, z([e, t], Re(r)));
672
+ return setTimeout.apply(void 0, Fe([e, t], Ge(r)));
696
673
  },
697
674
  clearTimeout: function(e) {
698
675
  return clearTimeout(e);
699
676
  },
700
677
  delegate: void 0
701
678
  };
702
- function Dr(e) {
703
- Rr.setTimeout(function() {
679
+ function Fr(e) {
680
+ Gr.setTimeout(function() {
704
681
  throw e;
705
682
  });
706
683
  }
707
- function st() {
684
+ function lt() {
708
685
  }
709
- function me(e) {
686
+ function pe(e) {
710
687
  e();
711
688
  }
712
- var Ct = function(e) {
713
- $(t, e);
689
+ var Ut = function(e) {
690
+ ue(t, e);
714
691
  function t(r) {
715
692
  var n = e.call(this) || this;
716
- return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Fr, n;
693
+ return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = Vr, n;
717
694
  }
718
695
  return t.create = function(r, n, i) {
719
- return new Ue(r, n, i);
696
+ return new ke(r, n, i);
720
697
  }, t.prototype.next = function(r) {
721
698
  this.isStopped || this._next(r);
722
699
  }, t.prototype.error = function(r) {
@@ -740,7 +717,7 @@ var Ct = function(e) {
740
717
  this.unsubscribe();
741
718
  }
742
719
  }, t;
743
- }(ve), Ur = function() {
720
+ }(Ee), jr = function() {
744
721
  function e(t) {
745
722
  this.partialObserver = t;
746
723
  }
@@ -771,43 +748,43 @@ var Ct = function(e) {
771
748
  le(r);
772
749
  }
773
750
  }, e;
774
- }(), Ue = function(e) {
775
- $(t, e);
751
+ }(), ke = function(e) {
752
+ ue(t, e);
776
753
  function t(r, n, i) {
777
754
  var o = e.call(this) || this, s;
778
- return C(r) || !r ? s = {
755
+ return $(r) || !r ? s = {
779
756
  next: r != null ? r : void 0,
780
757
  error: n != null ? n : void 0,
781
758
  complete: i != null ? i : void 0
782
- } : s = r, o.destination = new Ur(s), o;
759
+ } : s = r, o.destination = new jr(s), o;
783
760
  }
784
761
  return t;
785
- }(Ct);
762
+ }(Ut);
786
763
  function le(e) {
787
- Dr(e);
764
+ Fr(e);
788
765
  }
789
- function Gr(e) {
766
+ function kr(e) {
790
767
  throw e;
791
768
  }
792
- var Fr = {
769
+ var Vr = {
793
770
  closed: !0,
794
- next: st,
795
- error: Gr,
796
- complete: st
797
- }, jr = function() {
771
+ next: lt,
772
+ error: kr,
773
+ complete: lt
774
+ }, Xr = function() {
798
775
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
799
776
  }();
800
- function kr(e) {
777
+ function Wr(e) {
801
778
  return e;
802
779
  }
803
- function Vr(e) {
804
- return e.length === 0 ? kr : e.length === 1 ? e[0] : function(r) {
780
+ function zr(e) {
781
+ return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
805
782
  return e.reduce(function(n, i) {
806
783
  return i(n);
807
784
  }, r);
808
785
  };
809
786
  }
810
- var at = function() {
787
+ var ct = function() {
811
788
  function e(t) {
812
789
  t && (this._subscribe = t);
813
790
  }
@@ -815,8 +792,8 @@ var at = function() {
815
792
  var r = new e();
816
793
  return r.source = this, r.operator = t, r;
817
794
  }, e.prototype.subscribe = function(t, r, n) {
818
- var i = this, o = Wr(t) ? t : new Ue(t, r, n);
819
- return me(function() {
795
+ var i = this, o = Yr(t) ? t : new ke(t, r, n);
796
+ return pe(function() {
820
797
  var s = i, a = s.operator, h = s.source;
821
798
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
822
799
  }), o;
@@ -828,8 +805,8 @@ var at = function() {
828
805
  }
829
806
  }, e.prototype.forEach = function(t, r) {
830
807
  var n = this;
831
- return r = ut(r), new r(function(i, o) {
832
- var s = new Ue({
808
+ return r = ft(r), new r(function(i, o) {
809
+ var s = new ke({
833
810
  next: function(a) {
834
811
  try {
835
812
  t(a);
@@ -845,15 +822,15 @@ var at = function() {
845
822
  }, e.prototype._subscribe = function(t) {
846
823
  var r;
847
824
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
848
- }, e.prototype[jr] = function() {
825
+ }, e.prototype[Xr] = function() {
849
826
  return this;
850
827
  }, e.prototype.pipe = function() {
851
828
  for (var t = [], r = 0; r < arguments.length; r++)
852
829
  t[r] = arguments[r];
853
- return Vr(t)(this);
830
+ return zr(t)(this);
854
831
  }, e.prototype.toPromise = function(t) {
855
832
  var r = this;
856
- return t = ut(t), new t(function(n, i) {
833
+ return t = ft(t), new t(function(n, i) {
857
834
  var o;
858
835
  r.subscribe(function(s) {
859
836
  return o = s;
@@ -867,40 +844,40 @@ var at = function() {
867
844
  return new e(t);
868
845
  }, e;
869
846
  }();
870
- function ut(e) {
847
+ function ft(e) {
871
848
  var t;
872
- return (t = e != null ? e : $r.Promise) !== null && t !== void 0 ? t : Promise;
849
+ return (t = e != null ? e : Ur.Promise) !== null && t !== void 0 ? t : Promise;
873
850
  }
874
- function Xr(e) {
875
- return e && C(e.next) && C(e.error) && C(e.complete);
851
+ function Zr(e) {
852
+ return e && $(e.next) && $(e.error) && $(e.complete);
876
853
  }
877
- function Wr(e) {
878
- return e && e instanceof Ct || Xr(e) && Lt(e);
854
+ function Yr(e) {
855
+ return e && e instanceof Ut || Zr(e) && Dt(e);
879
856
  }
880
- var zr = Nt(function(e) {
857
+ var Qr = $t(function(e) {
881
858
  return function() {
882
859
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
883
860
  };
884
- }), $t = function(e) {
885
- $(t, e);
861
+ }), Gt = function(e) {
862
+ ue(t, e);
886
863
  function t() {
887
864
  var r = e.call(this) || this;
888
865
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
889
866
  }
890
867
  return t.prototype.lift = function(r) {
891
- var n = new ht(this, this);
868
+ var n = new pt(this, this);
892
869
  return n.operator = r, n;
893
870
  }, t.prototype._throwIfClosed = function() {
894
871
  if (this.closed)
895
- throw new zr();
872
+ throw new Qr();
896
873
  }, t.prototype.next = function(r) {
897
874
  var n = this;
898
- me(function() {
875
+ pe(function() {
899
876
  var i, o;
900
877
  if (n._throwIfClosed(), !n.isStopped) {
901
878
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
902
879
  try {
903
- for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
880
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
904
881
  var h = a.value;
905
882
  h.next(r);
906
883
  }
@@ -918,7 +895,7 @@ var zr = Nt(function(e) {
918
895
  });
919
896
  }, t.prototype.error = function(r) {
920
897
  var n = this;
921
- me(function() {
898
+ pe(function() {
922
899
  if (n._throwIfClosed(), !n.isStopped) {
923
900
  n.hasError = n.isStopped = !0, n.thrownError = r;
924
901
  for (var i = n.observers; i.length; )
@@ -927,7 +904,7 @@ var zr = Nt(function(e) {
927
904
  });
928
905
  }, t.prototype.complete = function() {
929
906
  var r = this;
930
- me(function() {
907
+ pe(function() {
931
908
  if (r._throwIfClosed(), !r.isStopped) {
932
909
  r.isStopped = !0;
933
910
  for (var n = r.observers; n.length; )
@@ -949,20 +926,20 @@ var zr = Nt(function(e) {
949
926
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
950
927
  }, t.prototype._innerSubscribe = function(r) {
951
928
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
952
- return o || s ? Mt : (this.currentObservers = null, a.push(r), new ve(function() {
953
- n.currentObservers = null, De(a, r);
929
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new Ee(function() {
930
+ n.currentObservers = null, je(a, r);
954
931
  }));
955
932
  }, t.prototype._checkFinalizedStatuses = function(r) {
956
933
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
957
934
  i ? r.error(o) : s && r.complete();
958
935
  }, t.prototype.asObservable = function() {
959
- var r = new at();
936
+ var r = new ct();
960
937
  return r.source = this, r;
961
938
  }, t.create = function(r, n) {
962
- return new ht(r, n);
939
+ return new pt(r, n);
963
940
  }, t;
964
- }(at), ht = function(e) {
965
- $(t, e);
941
+ }(ct), pt = function(e) {
942
+ ue(t, e);
966
943
  function t(r, n) {
967
944
  var i = e.call(this) || this;
968
945
  return i.destination = r, i.source = n, i;
@@ -978,17 +955,17 @@ var zr = Nt(function(e) {
978
955
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
979
956
  }, t.prototype._subscribe = function(r) {
980
957
  var n, i;
981
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
958
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
982
959
  }, t;
983
- }($t), Rt = {
960
+ }(Gt), Ft = {
984
961
  now: function() {
985
- return (Rt.delegate || Date).now();
962
+ return (Ft.delegate || Date).now();
986
963
  },
987
964
  delegate: void 0
988
- }, Zr = function(e) {
989
- $(t, e);
965
+ }, Jr = function(e) {
966
+ ue(t, e);
990
967
  function t(r, n, i) {
991
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
968
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
992
969
  var o = e.call(this) || this;
993
970
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
994
971
  }
@@ -1008,24 +985,24 @@ var zr = Nt(function(e) {
1008
985
  u && o.splice(0, u + 1);
1009
986
  }
1010
987
  }, t;
1011
- }($t);
1012
- const lt = [], ct = {}, Yr = (e, t = 0) => {
1013
- if (lt.indexOf(e) == -1) {
1014
- const r = new Zr(t);
1015
- ct[e] = r, lt.push(e);
988
+ }(Gt);
989
+ const mt = [], bt = {}, qr = (e, t = 0) => {
990
+ if (mt.indexOf(e) == -1) {
991
+ const r = new Jr(t);
992
+ bt[e] = r, mt.push(e);
1016
993
  }
1017
- return ct[e];
994
+ return bt[e];
1018
995
  }, V = [];
1019
- function Qr(e, t) {
996
+ function Kr(e, t) {
1020
997
  return {
1021
- subscribe: Ee(e, t).subscribe
998
+ subscribe: _e(e, t).subscribe
1022
999
  };
1023
1000
  }
1024
- function Ee(e, t = N) {
1001
+ function _e(e, t = N) {
1025
1002
  let r;
1026
1003
  const n = /* @__PURE__ */ new Set();
1027
1004
  function i(a) {
1028
- if (At(e, a) && (e = a, r)) {
1005
+ if (Nt(e, a) && (e = a, r)) {
1029
1006
  const h = !V.length;
1030
1007
  for (const u of n)
1031
1008
  u[1](), V.push(u, e);
@@ -1047,12 +1024,12 @@ function Ee(e, t = N) {
1047
1024
  }
1048
1025
  return { set: i, update: o, subscribe: s };
1049
1026
  }
1050
- function q(e, t, r) {
1027
+ function J(e, t, r) {
1051
1028
  const n = !Array.isArray(e), i = n ? [e] : e;
1052
1029
  if (!i.every(Boolean))
1053
1030
  throw new Error("derived() expects stores as input, got a falsy value");
1054
1031
  const o = t.length < 2;
1055
- return Qr(r, (s, a) => {
1032
+ return Kr(r, (s, a) => {
1056
1033
  let h = !1;
1057
1034
  const u = [];
1058
1035
  let l = 0, c = N;
@@ -1061,131 +1038,170 @@ function q(e, t, r) {
1061
1038
  return;
1062
1039
  c();
1063
1040
  const g = t(n ? u[0] : u, s, a);
1064
- o ? s(g) : c = Ze(g) ? g : N;
1065
- }, m = i.map(
1066
- (g, p) => Pt(
1041
+ o ? s(g) : c = Ke(g) ? g : N;
1042
+ }, p = i.map(
1043
+ (g, m) => Mt(
1067
1044
  g,
1068
1045
  (x) => {
1069
- u[p] = x, l &= ~(1 << p), h && f();
1046
+ u[m] = x, l &= ~(1 << m), h && f();
1070
1047
  },
1071
1048
  () => {
1072
- l |= 1 << p;
1049
+ l |= 1 << m;
1073
1050
  }
1074
1051
  )
1075
1052
  );
1076
1053
  return h = !0, f(), function() {
1077
- ue(m), c(), h = !1;
1054
+ ae(p), c(), h = !1;
1078
1055
  };
1079
1056
  });
1080
1057
  }
1081
- function Jr(e) {
1082
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1058
+ function en(e) {
1059
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1083
1060
  }
1084
- var qr = function(t) {
1085
- return Kr(t) && !en(t);
1061
+ var tn = function(t) {
1062
+ return rn(t) && !nn(t);
1086
1063
  };
1087
- function Kr(e) {
1064
+ function rn(e) {
1088
1065
  return !!e && typeof e == "object";
1089
1066
  }
1090
- function en(e) {
1067
+ function nn(e) {
1091
1068
  var t = Object.prototype.toString.call(e);
1092
- return t === "[object RegExp]" || t === "[object Date]" || nn(e);
1069
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1093
1070
  }
1094
- var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
1095
- function nn(e) {
1096
- return e.$$typeof === rn;
1071
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1072
+ function an(e) {
1073
+ return e.$$typeof === sn;
1097
1074
  }
1098
- function on(e) {
1075
+ function un(e) {
1099
1076
  return Array.isArray(e) ? [] : {};
1100
1077
  }
1101
- function se(e, t) {
1102
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(on(e), e, t) : e;
1078
+ function oe(e, t) {
1079
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(un(e), e, t) : e;
1103
1080
  }
1104
- function sn(e, t, r) {
1081
+ function hn(e, t, r) {
1105
1082
  return e.concat(t).map(function(n) {
1106
- return se(n, r);
1083
+ return oe(n, r);
1107
1084
  });
1108
1085
  }
1109
- function an(e, t) {
1086
+ function ln(e, t) {
1110
1087
  if (!t.customMerge)
1111
- return Z;
1088
+ return z;
1112
1089
  var r = t.customMerge(e);
1113
- return typeof r == "function" ? r : Z;
1090
+ return typeof r == "function" ? r : z;
1114
1091
  }
1115
- function un(e) {
1092
+ function cn(e) {
1116
1093
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1117
1094
  return Object.propertyIsEnumerable.call(e, t);
1118
1095
  }) : [];
1119
1096
  }
1120
- function ft(e) {
1121
- return Object.keys(e).concat(un(e));
1097
+ function dt(e) {
1098
+ return Object.keys(e).concat(cn(e));
1122
1099
  }
1123
- function Dt(e, t) {
1100
+ function jt(e, t) {
1124
1101
  try {
1125
1102
  return t in e;
1126
1103
  } catch (r) {
1127
1104
  return !1;
1128
1105
  }
1129
1106
  }
1130
- function hn(e, t) {
1131
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1107
+ function fn(e, t) {
1108
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1132
1109
  }
1133
- function ln(e, t, r) {
1110
+ function pn(e, t, r) {
1134
1111
  var n = {};
1135
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1136
- n[i] = se(e[i], r);
1137
- }), ft(t).forEach(function(i) {
1138
- hn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1112
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
1113
+ n[i] = oe(e[i], r);
1114
+ }), dt(t).forEach(function(i) {
1115
+ fn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1139
1116
  }), n;
1140
1117
  }
1141
- function Z(e, t, r) {
1142
- r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = se;
1118
+ function z(e, t, r) {
1119
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = oe;
1143
1120
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1144
- return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : se(t, r);
1121
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : oe(t, r);
1145
1122
  }
1146
- Z.all = function(t, r) {
1123
+ z.all = function(t, r) {
1147
1124
  if (!Array.isArray(t))
1148
1125
  throw new Error("first argument should be an array");
1149
1126
  return t.reduce(function(n, i) {
1150
- return Z(n, i, r);
1127
+ return z(n, i, r);
1151
1128
  }, {});
1152
1129
  };
1153
- var cn = Z, fn = cn;
1154
- const mn = /* @__PURE__ */ Jr(fn);
1155
- function He(e, t) {
1156
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : dn;
1130
+ var mn = z, bn = mn;
1131
+ const dn = /* @__PURE__ */ en(bn);
1132
+ var Ve = function(e, t) {
1133
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1134
+ r.__proto__ = n;
1135
+ } || function(r, n) {
1136
+ for (var i in n)
1137
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1138
+ }, Ve(e, t);
1139
+ };
1140
+ function xe(e, t) {
1141
+ if (typeof t != "function" && t !== null)
1142
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1143
+ Ve(e, t);
1144
+ function r() {
1145
+ this.constructor = e;
1146
+ }
1147
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1148
+ }
1149
+ var C = function() {
1150
+ return C = Object.assign || function(t) {
1151
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1152
+ r = arguments[n];
1153
+ for (var o in r)
1154
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1155
+ }
1156
+ return t;
1157
+ }, C.apply(this, arguments);
1158
+ };
1159
+ function gn(e, t) {
1160
+ var r = {};
1161
+ for (var n in e)
1162
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1163
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1164
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1165
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1166
+ return r;
1167
+ }
1168
+ function Pe(e, t, r) {
1169
+ if (r || arguments.length === 2)
1170
+ for (var n = 0, i = t.length, o; n < i; n++)
1171
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1172
+ return e.concat(o || Array.prototype.slice.call(t));
1173
+ }
1174
+ function Oe(e, t) {
1175
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : En;
1157
1176
  return i(e, {
1158
1177
  cache: r,
1159
1178
  serializer: n
1160
1179
  });
1161
1180
  }
1162
- function pn(e) {
1181
+ function yn(e) {
1163
1182
  return e == null || typeof e == "number" || typeof e == "boolean";
1164
1183
  }
1165
- function Ut(e, t, r, n) {
1166
- var i = pn(n) ? n : r(n), o = t.get(i);
1184
+ function vn(e, t, r, n) {
1185
+ var i = yn(n) ? n : r(n), o = t.get(i);
1167
1186
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1168
1187
  }
1169
- function Gt(e, t, r) {
1188
+ function kt(e, t, r) {
1170
1189
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1171
1190
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1172
1191
  }
1173
- function Qe(e, t, r, n, i) {
1192
+ function Vt(e, t, r, n, i) {
1174
1193
  return r.bind(t, e, n, i);
1175
1194
  }
1176
- function dn(e, t) {
1177
- var r = e.length === 1 ? Ut : Gt;
1178
- return Qe(e, this, r, t.cache.create(), t.serializer);
1195
+ function En(e, t) {
1196
+ var r = e.length === 1 ? vn : kt;
1197
+ return Vt(e, this, r, t.cache.create(), t.serializer);
1179
1198
  }
1180
- function bn(e, t) {
1181
- return Qe(e, this, Gt, t.cache.create(), t.serializer);
1182
- }
1183
- function gn(e, t) {
1184
- return Qe(e, this, Ut, t.cache.create(), t.serializer);
1199
+ function _n(e, t) {
1200
+ return Vt(e, this, kt, t.cache.create(), t.serializer);
1185
1201
  }
1186
- var yn = function() {
1202
+ var xn = function() {
1187
1203
  return JSON.stringify(arguments);
1188
- }, vn = (
1204
+ }, Bn = (
1189
1205
  /** @class */
1190
1206
  function() {
1191
1207
  function e() {
@@ -1197,62 +1213,71 @@ var yn = function() {
1197
1213
  this.cache[t] = r;
1198
1214
  }, e;
1199
1215
  }()
1200
- ), En = {
1216
+ ), Sn = {
1201
1217
  create: function() {
1202
- return new vn();
1218
+ return new Bn();
1203
1219
  }
1204
- }, Ae = {
1205
- variadic: bn,
1206
- monadic: gn
1207
- }, d;
1220
+ }, Ie = {
1221
+ variadic: _n
1222
+ }, de = function() {
1223
+ return de = Object.assign || function(t) {
1224
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1225
+ r = arguments[n];
1226
+ for (var o in r)
1227
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1228
+ }
1229
+ return t;
1230
+ }, de.apply(this, arguments);
1231
+ };
1232
+ var b;
1208
1233
  (function(e) {
1209
1234
  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";
1210
- })(d || (d = {}));
1211
- var _;
1235
+ })(b || (b = {}));
1236
+ var E;
1212
1237
  (function(e) {
1213
1238
  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";
1214
- })(_ || (_ = {}));
1215
- var Y;
1239
+ })(E || (E = {}));
1240
+ var Z;
1216
1241
  (function(e) {
1217
1242
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1218
- })(Y || (Y = {}));
1219
- function mt(e) {
1220
- return e.type === _.literal;
1243
+ })(Z || (Z = {}));
1244
+ function gt(e) {
1245
+ return e.type === E.literal;
1221
1246
  }
1222
- function _n(e) {
1223
- return e.type === _.argument;
1247
+ function wn(e) {
1248
+ return e.type === E.argument;
1224
1249
  }
1225
- function Ft(e) {
1226
- return e.type === _.number;
1250
+ function Xt(e) {
1251
+ return e.type === E.number;
1227
1252
  }
1228
- function jt(e) {
1229
- return e.type === _.date;
1253
+ function Wt(e) {
1254
+ return e.type === E.date;
1230
1255
  }
1231
- function kt(e) {
1232
- return e.type === _.time;
1256
+ function zt(e) {
1257
+ return e.type === E.time;
1233
1258
  }
1234
- function Vt(e) {
1235
- return e.type === _.select;
1259
+ function Zt(e) {
1260
+ return e.type === E.select;
1236
1261
  }
1237
- function Xt(e) {
1238
- return e.type === _.plural;
1262
+ function Yt(e) {
1263
+ return e.type === E.plural;
1239
1264
  }
1240
- function xn(e) {
1241
- return e.type === _.pound;
1265
+ function Tn(e) {
1266
+ return e.type === E.pound;
1242
1267
  }
1243
- function Wt(e) {
1244
- return e.type === _.tag;
1268
+ function Qt(e) {
1269
+ return e.type === E.tag;
1245
1270
  }
1246
- function zt(e) {
1247
- return !!(e && typeof e == "object" && e.type === Y.number);
1271
+ function Jt(e) {
1272
+ return !!(e && typeof e == "object" && e.type === Z.number);
1248
1273
  }
1249
- function Ge(e) {
1250
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
1274
+ function Xe(e) {
1275
+ return !!(e && typeof e == "object" && e.type === Z.dateTime);
1251
1276
  }
1252
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1253
- function Sn(e) {
1277
+ var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
1278
+ function An(e) {
1254
1279
  var t = {};
1255
- return e.replace(Bn, function(r) {
1280
+ return e.replace(Hn, function(r) {
1256
1281
  var n = r.length;
1257
1282
  switch (r[0]) {
1258
1283
  case "G":
@@ -1341,11 +1366,21 @@ function Sn(e) {
1341
1366
  return "";
1342
1367
  }), t;
1343
1368
  }
1344
- var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1345
- function wn(e) {
1369
+ var _ = function() {
1370
+ return _ = Object.assign || function(t) {
1371
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1372
+ r = arguments[n];
1373
+ for (var o in r)
1374
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1375
+ }
1376
+ return t;
1377
+ }, _.apply(this, arguments);
1378
+ };
1379
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1380
+ function On(e) {
1346
1381
  if (e.length === 0)
1347
1382
  throw new Error("Number skeleton cannot be empty");
1348
- for (var t = e.split(Tn).filter(function(f) {
1383
+ for (var t = e.split(Pn).filter(function(f) {
1349
1384
  return f.length > 0;
1350
1385
  }), r = [], n = 0, i = t; n < i.length; n++) {
1351
1386
  var o = i[n], s = o.split("/");
@@ -1360,17 +1395,17 @@ function wn(e) {
1360
1395
  }
1361
1396
  return r;
1362
1397
  }
1363
- function Hn(e) {
1398
+ function In(e) {
1364
1399
  return e.replace(/^(.*?)-/, "");
1365
1400
  }
1366
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1367
- function dt(e) {
1401
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1402
+ function vt(e) {
1368
1403
  var t = {};
1369
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1404
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1370
1405
  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)), "";
1371
1406
  }), t;
1372
1407
  }
1373
- function Jt(e) {
1408
+ function tr(e) {
1374
1409
  switch (e) {
1375
1410
  case "sign-auto":
1376
1411
  return {
@@ -1410,7 +1445,7 @@ function Jt(e) {
1410
1445
  };
1411
1446
  }
1412
1447
  }
1413
- function Pn(e) {
1448
+ function Mn(e) {
1414
1449
  var t;
1415
1450
  if (e[0] === "E" && e[1] === "E" ? (t = {
1416
1451
  notation: "engineering"
@@ -1418,17 +1453,17 @@ function Pn(e) {
1418
1453
  notation: "scientific"
1419
1454
  }, e = e.slice(1)), t) {
1420
1455
  var r = e.slice(0, 2);
1421
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1456
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1422
1457
  throw new Error("Malformed concise eng/scientific notation");
1423
1458
  t.minimumIntegerDigits = e.length;
1424
1459
  }
1425
1460
  return t;
1426
1461
  }
1427
- function bt(e) {
1428
- var t = {}, r = Jt(e);
1462
+ function Et(e) {
1463
+ var t = {}, r = tr(e);
1429
1464
  return r || t;
1430
1465
  }
1431
- function On(e) {
1466
+ function Ln(e) {
1432
1467
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1433
1468
  var i = n[r];
1434
1469
  switch (i.stem) {
@@ -1452,7 +1487,7 @@ function On(e) {
1452
1487
  continue;
1453
1488
  case "measure-unit":
1454
1489
  case "unit":
1455
- t.style = "unit", t.unit = Hn(i.options[0]);
1490
+ t.style = "unit", t.unit = In(i.options[0]);
1456
1491
  continue;
1457
1492
  case "compact-short":
1458
1493
  case "K":
@@ -1463,13 +1498,13 @@ function On(e) {
1463
1498
  t.notation = "compact", t.compactDisplay = "long";
1464
1499
  continue;
1465
1500
  case "scientific":
1466
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1467
- return y(y({}, h), bt(u));
1501
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1502
+ return _(_({}, h), Et(u));
1468
1503
  }, {}));
1469
1504
  continue;
1470
1505
  case "engineering":
1471
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1472
- return y(y({}, h), bt(u));
1506
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1507
+ return _(_({}, h), Et(u));
1473
1508
  }, {}));
1474
1509
  continue;
1475
1510
  case "notation-simple":
@@ -1514,41 +1549,41 @@ function On(e) {
1514
1549
  case "integer-width":
1515
1550
  if (i.options.length > 1)
1516
1551
  throw new RangeError("integer-width stems only accept a single optional option");
1517
- i.options[0].replace(An, function(h, u, l, c, f, m) {
1552
+ i.options[0].replace(Nn, function(h, u, l, c, f, p) {
1518
1553
  if (u)
1519
1554
  t.minimumIntegerDigits = l.length;
1520
1555
  else {
1521
1556
  if (c && f)
1522
1557
  throw new Error("We currently do not support maximum integer digits");
1523
- if (m)
1558
+ if (p)
1524
1559
  throw new Error("We currently do not support exact integer digits");
1525
1560
  }
1526
1561
  return "";
1527
1562
  });
1528
1563
  continue;
1529
1564
  }
1530
- if (Qt.test(i.stem)) {
1565
+ if (er.test(i.stem)) {
1531
1566
  t.minimumIntegerDigits = i.stem.length;
1532
1567
  continue;
1533
1568
  }
1534
- if (pt.test(i.stem)) {
1569
+ if (yt.test(i.stem)) {
1535
1570
  if (i.options.length > 1)
1536
1571
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1537
- i.stem.replace(pt, function(h, u, l, c, f, m) {
1538
- 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), "";
1572
+ i.stem.replace(yt, function(h, u, l, c, f, p) {
1573
+ 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), "";
1539
1574
  });
1540
1575
  var o = i.options[0];
1541
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), dt(o)));
1576
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), vt(o)));
1542
1577
  continue;
1543
1578
  }
1544
- if (Yt.test(i.stem)) {
1545
- t = y(y({}, t), dt(i.stem));
1579
+ if (Kt.test(i.stem)) {
1580
+ t = _(_({}, t), vt(i.stem));
1546
1581
  continue;
1547
1582
  }
1548
- var s = Jt(i.stem);
1549
- s && (t = y(y({}, t), s));
1550
- var a = Pn(i.stem);
1551
- a && (t = y(y({}, t), a));
1583
+ var s = tr(i.stem);
1584
+ s && (t = _(_({}, t), s));
1585
+ var a = Mn(i.stem);
1586
+ a && (t = _(_({}, t), a));
1552
1587
  }
1553
1588
  return t;
1554
1589
  }
@@ -2967,13 +3002,13 @@ var ce = {
2967
3002
  "h"
2968
3003
  ]
2969
3004
  };
2970
- function In(e, t) {
3005
+ function Cn(e, t) {
2971
3006
  for (var r = "", n = 0; n < e.length; n++) {
2972
3007
  var i = e.charAt(n);
2973
3008
  if (i === "j") {
2974
3009
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2975
3010
  o++, n++;
2976
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
3011
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = $n(t);
2977
3012
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2978
3013
  r += h;
2979
3014
  for (; s-- > 0; )
@@ -2983,7 +3018,7 @@ function In(e, t) {
2983
3018
  }
2984
3019
  return r;
2985
3020
  }
2986
- function Nn(e) {
3021
+ function $n(e) {
2987
3022
  var t = e.hourCycle;
2988
3023
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2989
3024
  e.hourCycles && // @ts-ignore
@@ -3005,20 +3040,20 @@ function Nn(e) {
3005
3040
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3006
3041
  return i[0];
3007
3042
  }
3008
- var Pe, Mn = new RegExp("^".concat(Zt.source, "*")), Ln = new RegExp("".concat(Zt.source, "*$"));
3009
- function b(e, t) {
3043
+ var Ne, Rn = new RegExp("^".concat(qt.source, "*")), Dn = new RegExp("".concat(qt.source, "*$"));
3044
+ function d(e, t) {
3010
3045
  return { start: e, end: t };
3011
3046
  }
3012
- var Cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Rn = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
3047
+ var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
3013
3048
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3014
- }, Fe = !0;
3049
+ }, We = !0;
3015
3050
  try {
3016
- var kn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3017
- Fe = ((Pe = kn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3051
+ var zn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3052
+ We = ((Ne = zn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
3018
3053
  } catch (e) {
3019
- Fe = !1;
3054
+ We = !1;
3020
3055
  }
3021
- var gt = Cn ? (
3056
+ var _t = Un ? (
3022
3057
  // Native
3023
3058
  function(t, r, n) {
3024
3059
  return t.startsWith(r, n);
@@ -3028,7 +3063,7 @@ var gt = Cn ? (
3028
3063
  function(t, r, n) {
3029
3064
  return t.slice(n, n + r.length) === r;
3030
3065
  }
3031
- ), je = $n ? String.fromCodePoint : (
3066
+ ), ze = Gn ? String.fromCodePoint : (
3032
3067
  // IE11
3033
3068
  function() {
3034
3069
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3040,9 +3075,9 @@ var gt = Cn ? (
3040
3075
  }
3041
3076
  return n;
3042
3077
  }
3043
- ), yt = (
3078
+ ), xt = (
3044
3079
  // native
3045
- Rn ? Object.fromEntries : (
3080
+ Fn ? Object.fromEntries : (
3046
3081
  // Ponyfill
3047
3082
  function(t) {
3048
3083
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3052,7 +3087,7 @@ var gt = Cn ? (
3052
3087
  return r;
3053
3088
  }
3054
3089
  )
3055
- ), qt = Dn ? (
3090
+ ), rr = jn ? (
3056
3091
  // Native
3057
3092
  function(t, r) {
3058
3093
  return t.codePointAt(r);
@@ -3066,7 +3101,7 @@ var gt = Cn ? (
3066
3101
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3067
3102
  }
3068
3103
  }
3069
- ), Vn = Un ? (
3104
+ ), Zn = kn ? (
3070
3105
  // Native
3071
3106
  function(t) {
3072
3107
  return t.trimStart();
@@ -3074,9 +3109,9 @@ var gt = Cn ? (
3074
3109
  ) : (
3075
3110
  // Ponyfill
3076
3111
  function(t) {
3077
- return t.replace(Mn, "");
3112
+ return t.replace(Rn, "");
3078
3113
  }
3079
- ), Xn = Gn ? (
3114
+ ), Yn = Vn ? (
3080
3115
  // Native
3081
3116
  function(t) {
3082
3117
  return t.trimEnd();
@@ -3084,32 +3119,32 @@ var gt = Cn ? (
3084
3119
  ) : (
3085
3120
  // Ponyfill
3086
3121
  function(t) {
3087
- return t.replace(Ln, "");
3122
+ return t.replace(Dn, "");
3088
3123
  }
3089
3124
  );
3090
- function Kt(e, t) {
3125
+ function nr(e, t) {
3091
3126
  return new RegExp(e, t);
3092
3127
  }
3093
- var ke;
3094
- if (Fe) {
3095
- var vt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3096
- ke = function(t, r) {
3128
+ var Ze;
3129
+ if (We) {
3130
+ var Bt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3131
+ Ze = function(t, r) {
3097
3132
  var n;
3098
- vt.lastIndex = r;
3099
- var i = vt.exec(t);
3133
+ Bt.lastIndex = r;
3134
+ var i = Bt.exec(t);
3100
3135
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3101
3136
  };
3102
3137
  } else
3103
- ke = function(t, r) {
3138
+ Ze = function(t, r) {
3104
3139
  for (var n = []; ; ) {
3105
- var i = qt(t, r);
3106
- if (i === void 0 || er(i) || Yn(i))
3140
+ var i = rr(t, r);
3141
+ if (i === void 0 || ir(i) || Kn(i))
3107
3142
  break;
3108
3143
  n.push(i), r += i >= 65536 ? 2 : 1;
3109
3144
  }
3110
- return je.apply(void 0, n);
3145
+ return ze.apply(void 0, n);
3111
3146
  };
3112
- var Wn = (
3147
+ var Qn = (
3113
3148
  /** @class */
3114
3149
  function() {
3115
3150
  function e(t, r) {
@@ -3133,14 +3168,14 @@ var Wn = (
3133
3168
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3134
3169
  var a = this.clonePosition();
3135
3170
  this.bump(), i.push({
3136
- type: _.pound,
3137
- location: b(a, this.clonePosition())
3171
+ type: E.pound,
3172
+ location: d(a, this.clonePosition())
3138
3173
  });
3139
3174
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3140
3175
  if (n)
3141
3176
  break;
3142
- return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3143
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3177
+ return this.error(b.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3178
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3144
3179
  var s = this.parseTag(t, r);
3145
3180
  if (s.err)
3146
3181
  return s;
@@ -3161,9 +3196,9 @@ var Wn = (
3161
3196
  if (this.bumpSpace(), this.bumpIf("/>"))
3162
3197
  return {
3163
3198
  val: {
3164
- type: _.literal,
3199
+ type: E.literal,
3165
3200
  value: "<".concat(i, "/>"),
3166
- location: b(n, this.clonePosition())
3201
+ location: d(n, this.clonePosition())
3167
3202
  },
3168
3203
  err: null
3169
3204
  };
@@ -3173,25 +3208,25 @@ var Wn = (
3173
3208
  return o;
3174
3209
  var s = o.val, a = this.clonePosition();
3175
3210
  if (this.bumpIf("</")) {
3176
- if (this.isEOF() || !Ve(this.char()))
3177
- return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
3211
+ if (this.isEOF() || !Ye(this.char()))
3212
+ return this.error(b.INVALID_TAG, d(a, this.clonePosition()));
3178
3213
  var h = this.clonePosition(), u = this.parseTagName();
3179
- return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3214
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3180
3215
  val: {
3181
- type: _.tag,
3216
+ type: E.tag,
3182
3217
  value: i,
3183
3218
  children: s,
3184
- location: b(n, this.clonePosition())
3219
+ location: d(n, this.clonePosition())
3185
3220
  },
3186
3221
  err: null
3187
- } : this.error(d.INVALID_TAG, b(a, this.clonePosition())));
3222
+ } : this.error(b.INVALID_TAG, d(a, this.clonePosition())));
3188
3223
  } else
3189
- return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
3224
+ return this.error(b.UNCLOSED_TAG, d(n, this.clonePosition()));
3190
3225
  } else
3191
- return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3226
+ return this.error(b.INVALID_TAG, d(n, this.clonePosition()));
3192
3227
  }, e.prototype.parseTagName = function() {
3193
3228
  var t = this.offset();
3194
- for (this.bump(); !this.isEOF() && Zn(this.char()); )
3229
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
3195
3230
  this.bump();
3196
3231
  return this.message.slice(t, this.offset());
3197
3232
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3213,14 +3248,14 @@ var Wn = (
3213
3248
  }
3214
3249
  break;
3215
3250
  }
3216
- var h = b(n, this.clonePosition());
3251
+ var h = d(n, this.clonePosition());
3217
3252
  return {
3218
- val: { type: _.literal, value: i, location: h },
3253
+ val: { type: E.literal, value: i, location: h },
3219
3254
  err: null
3220
3255
  };
3221
3256
  }, e.prototype.tryParseLeftAngleBracket = function() {
3222
3257
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3223
- !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3258
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3224
3259
  }, e.prototype.tryParseQuote = function(t) {
3225
3260
  if (this.isEOF() || this.char() !== 39)
3226
3261
  return null;
@@ -3254,49 +3289,49 @@ var Wn = (
3254
3289
  r.push(n);
3255
3290
  this.bump();
3256
3291
  }
3257
- return je.apply(void 0, r);
3292
+ return ze.apply(void 0, r);
3258
3293
  }, e.prototype.tryParseUnquoted = function(t, r) {
3259
3294
  if (this.isEOF())
3260
3295
  return null;
3261
3296
  var n = this.char();
3262
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3297
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3263
3298
  }, e.prototype.parseArgument = function(t, r) {
3264
3299
  var n = this.clonePosition();
3265
3300
  if (this.bump(), this.bumpSpace(), this.isEOF())
3266
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3301
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3267
3302
  if (this.char() === 125)
3268
- return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3303
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, d(n, this.clonePosition()));
3269
3304
  var i = this.parseIdentifierIfPossible().value;
3270
3305
  if (!i)
3271
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3306
+ return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3272
3307
  if (this.bumpSpace(), this.isEOF())
3273
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3308
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3274
3309
  switch (this.char()) {
3275
3310
  case 125:
3276
3311
  return this.bump(), {
3277
3312
  val: {
3278
- type: _.argument,
3313
+ type: E.argument,
3279
3314
  // value does not include the opening and closing braces.
3280
3315
  value: i,
3281
- location: b(n, this.clonePosition())
3316
+ location: d(n, this.clonePosition())
3282
3317
  },
3283
3318
  err: null
3284
3319
  };
3285
3320
  case 44:
3286
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3321
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3287
3322
  default:
3288
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3323
+ return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3289
3324
  }
3290
3325
  }, e.prototype.parseIdentifierIfPossible = function() {
3291
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3326
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3292
3327
  this.bumpTo(i);
3293
- var o = this.clonePosition(), s = b(t, o);
3328
+ var o = this.clonePosition(), s = d(t, o);
3294
3329
  return { value: n, location: s };
3295
3330
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3296
3331
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3297
3332
  switch (a) {
3298
3333
  case "":
3299
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(s, h));
3334
+ return this.error(b.EXPECT_ARGUMENT_TYPE, d(s, h));
3300
3335
  case "number":
3301
3336
  case "date":
3302
3337
  case "time": {
@@ -3307,46 +3342,46 @@ var Wn = (
3307
3342
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3308
3343
  if (c.err)
3309
3344
  return c;
3310
- var f = Xn(c.val);
3345
+ var f = Yn(c.val);
3311
3346
  if (f.length === 0)
3312
- return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3313
- var m = b(l, this.clonePosition());
3314
- u = { style: f, styleLocation: m };
3347
+ return this.error(b.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3348
+ var p = d(l, this.clonePosition());
3349
+ u = { style: f, styleLocation: p };
3315
3350
  }
3316
3351
  var g = this.tryParseArgumentClose(i);
3317
3352
  if (g.err)
3318
3353
  return g;
3319
- var p = b(i, this.clonePosition());
3320
- if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
3321
- var x = Vn(u.style.slice(2));
3354
+ var m = d(i, this.clonePosition());
3355
+ if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3356
+ var x = Zn(u.style.slice(2));
3322
3357
  if (a === "number") {
3323
3358
  var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3324
3359
  return c.err ? c : {
3325
- val: { type: _.number, value: n, location: p, style: c.val },
3360
+ val: { type: E.number, value: n, location: m, style: c.val },
3326
3361
  err: null
3327
3362
  };
3328
3363
  } else {
3329
3364
  if (x.length === 0)
3330
- return this.error(d.EXPECT_DATE_TIME_SKELETON, p);
3365
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3331
3366
  var A = x;
3332
- this.locale && (A = In(x, this.locale));
3367
+ this.locale && (A = Cn(x, this.locale));
3333
3368
  var f = {
3334
- type: Y.dateTime,
3369
+ type: Z.dateTime,
3335
3370
  pattern: A,
3336
3371
  location: u.styleLocation,
3337
- parsedOptions: this.shouldParseSkeletons ? Sn(A) : {}
3338
- }, H = a === "date" ? _.date : _.time;
3372
+ parsedOptions: this.shouldParseSkeletons ? An(A) : {}
3373
+ }, H = a === "date" ? E.date : E.time;
3339
3374
  return {
3340
- val: { type: H, value: n, location: p, style: f },
3375
+ val: { type: H, value: n, location: m, style: f },
3341
3376
  err: null
3342
3377
  };
3343
3378
  }
3344
3379
  }
3345
3380
  return {
3346
3381
  val: {
3347
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3382
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3348
3383
  value: n,
3349
- location: p,
3384
+ location: m,
3350
3385
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3351
3386
  },
3352
3387
  err: null
@@ -3355,40 +3390,40 @@ var Wn = (
3355
3390
  case "plural":
3356
3391
  case "selectordinal":
3357
3392
  case "select": {
3358
- var T = this.clonePosition();
3393
+ var w = this.clonePosition();
3359
3394
  if (this.bumpSpace(), !this.bumpIf(","))
3360
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(T, y({}, T)));
3395
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, d(w, de({}, w)));
3361
3396
  this.bumpSpace();
3362
- var v = this.parseIdentifierIfPossible(), S = 0;
3363
- if (a !== "select" && v.value === "offset") {
3397
+ var y = this.parseIdentifierIfPossible(), S = 0;
3398
+ if (a !== "select" && y.value === "offset") {
3364
3399
  if (!this.bumpIf(":"))
3365
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3400
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3366
3401
  this.bumpSpace();
3367
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3402
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3368
3403
  if (c.err)
3369
3404
  return c;
3370
- this.bumpSpace(), v = this.parseIdentifierIfPossible(), S = c.val;
3405
+ this.bumpSpace(), y = this.parseIdentifierIfPossible(), S = c.val;
3371
3406
  }
3372
- var M = this.tryParsePluralOrSelectOptions(t, a, r, v);
3407
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, y);
3373
3408
  if (M.err)
3374
3409
  return M;
3375
3410
  var g = this.tryParseArgumentClose(i);
3376
3411
  if (g.err)
3377
3412
  return g;
3378
- var L = b(i, this.clonePosition());
3413
+ var L = d(i, this.clonePosition());
3379
3414
  return a === "select" ? {
3380
3415
  val: {
3381
- type: _.select,
3416
+ type: E.select,
3382
3417
  value: n,
3383
- options: yt(M.val),
3418
+ options: xt(M.val),
3384
3419
  location: L
3385
3420
  },
3386
3421
  err: null
3387
3422
  } : {
3388
3423
  val: {
3389
- type: _.plural,
3424
+ type: E.plural,
3390
3425
  value: n,
3391
- options: yt(M.val),
3426
+ options: xt(M.val),
3392
3427
  offset: S,
3393
3428
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3394
3429
  location: L
@@ -3397,10 +3432,10 @@ var Wn = (
3397
3432
  };
3398
3433
  }
3399
3434
  default:
3400
- return this.error(d.INVALID_ARGUMENT_TYPE, b(s, h));
3435
+ return this.error(b.INVALID_ARGUMENT_TYPE, d(s, h));
3401
3436
  }
3402
3437
  }, e.prototype.tryParseArgumentClose = function(t) {
3403
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3438
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3404
3439
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3405
3440
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3406
3441
  var n = this.char();
@@ -3409,7 +3444,7 @@ var Wn = (
3409
3444
  this.bump();
3410
3445
  var i = this.clonePosition();
3411
3446
  if (!this.bumpUntil("'"))
3412
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3447
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
3413
3448
  this.bump();
3414
3449
  break;
3415
3450
  }
@@ -3439,16 +3474,16 @@ var Wn = (
3439
3474
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3440
3475
  var n = [];
3441
3476
  try {
3442
- n = wn(t);
3477
+ n = On(t);
3443
3478
  } catch (i) {
3444
- return this.error(d.INVALID_NUMBER_SKELETON, r);
3479
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3445
3480
  }
3446
3481
  return {
3447
3482
  val: {
3448
- type: Y.number,
3483
+ type: Z.number,
3449
3484
  tokens: n,
3450
3485
  location: r,
3451
- parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3486
+ parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3452
3487
  },
3453
3488
  err: null
3454
3489
  };
@@ -3457,34 +3492,34 @@ var Wn = (
3457
3492
  if (u.length === 0) {
3458
3493
  var c = this.clonePosition();
3459
3494
  if (r !== "select" && this.bumpIf("=")) {
3460
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3495
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3461
3496
  if (f.err)
3462
3497
  return f;
3463
- l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3498
+ l = d(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3464
3499
  } else
3465
3500
  break;
3466
3501
  }
3467
3502
  if (h.has(u))
3468
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3503
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3469
3504
  u === "other" && (s = !0), this.bumpSpace();
3470
- var m = this.clonePosition();
3505
+ var p = this.clonePosition();
3471
3506
  if (!this.bumpIf("{"))
3472
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3507
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3473
3508
  var g = this.parseMessage(t + 1, r, n);
3474
3509
  if (g.err)
3475
3510
  return g;
3476
- var p = this.tryParseArgumentClose(m);
3477
- if (p.err)
3478
- return p;
3511
+ var m = this.tryParseArgumentClose(p);
3512
+ if (m.err)
3513
+ return m;
3479
3514
  a.push([
3480
3515
  u,
3481
3516
  {
3482
3517
  value: g.val,
3483
- location: b(m, this.clonePosition())
3518
+ location: d(p, this.clonePosition())
3484
3519
  }
3485
3520
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3486
3521
  }
3487
- return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3522
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3488
3523
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3489
3524
  var n = 1, i = this.clonePosition();
3490
3525
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3495,8 +3530,8 @@ var Wn = (
3495
3530
  else
3496
3531
  break;
3497
3532
  }
3498
- var h = b(i, this.clonePosition());
3499
- return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3533
+ var h = d(i, this.clonePosition());
3534
+ return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3500
3535
  }, e.prototype.offset = function() {
3501
3536
  return this.position.offset;
3502
3537
  }, e.prototype.isEOF = function() {
@@ -3511,7 +3546,7 @@ var Wn = (
3511
3546
  var t = this.position.offset;
3512
3547
  if (t >= this.message.length)
3513
3548
  throw Error("out of bound");
3514
- var r = qt(this.message, t);
3549
+ var r = rr(this.message, t);
3515
3550
  if (r === void 0)
3516
3551
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3517
3552
  return r;
@@ -3530,7 +3565,7 @@ var Wn = (
3530
3565
  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);
3531
3566
  }
3532
3567
  }, e.prototype.bumpIf = function(t) {
3533
- if (gt(this.message, t, this.offset())) {
3568
+ if (_t(this.message, t, this.offset())) {
3534
3569
  for (var r = 0; r < t.length; r++)
3535
3570
  this.bump();
3536
3571
  return !0;
@@ -3552,7 +3587,7 @@ var Wn = (
3552
3587
  break;
3553
3588
  }
3554
3589
  }, e.prototype.bumpSpace = function() {
3555
- for (; !this.isEOF() && er(this.char()); )
3590
+ for (; !this.isEOF() && ir(this.char()); )
3556
3591
  this.bump();
3557
3592
  }, e.prototype.peek = function() {
3558
3593
  if (this.isEOF())
@@ -3562,47 +3597,47 @@ var Wn = (
3562
3597
  }, e;
3563
3598
  }()
3564
3599
  );
3565
- function Ve(e) {
3600
+ function Ye(e) {
3566
3601
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3567
3602
  }
3568
- function zn(e) {
3569
- return Ve(e) || e === 47;
3603
+ function Jn(e) {
3604
+ return Ye(e) || e === 47;
3570
3605
  }
3571
- function Zn(e) {
3606
+ function qn(e) {
3572
3607
  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;
3573
3608
  }
3574
- function er(e) {
3609
+ function ir(e) {
3575
3610
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3576
3611
  }
3577
- function Yn(e) {
3612
+ function Kn(e) {
3578
3613
  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;
3579
3614
  }
3580
- function Xe(e) {
3615
+ function Qe(e) {
3581
3616
  e.forEach(function(t) {
3582
- if (delete t.location, Vt(t) || Xt(t))
3617
+ if (delete t.location, Zt(t) || Yt(t))
3583
3618
  for (var r in t.options)
3584
- delete t.options[r].location, Xe(t.options[r].value);
3619
+ delete t.options[r].location, Qe(t.options[r].value);
3585
3620
  else
3586
- Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Ge(t.style) ? delete t.style.location : Wt(t) && Xe(t.children);
3621
+ Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && Xe(t.style) ? delete t.style.location : Qt(t) && Qe(t.children);
3587
3622
  });
3588
3623
  }
3589
- function Qn(e, t) {
3590
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3591
- var r = new Wn(e, t).parse();
3624
+ function ei(e, t) {
3625
+ t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3626
+ var r = new Qn(e, t).parse();
3592
3627
  if (r.err) {
3593
- var n = SyntaxError(d[r.err.kind]);
3628
+ var n = SyntaxError(b[r.err.kind]);
3594
3629
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3595
3630
  }
3596
- return t != null && t.captureLocation || Xe(r.val), r.val;
3631
+ return t != null && t.captureLocation || Qe(r.val), r.val;
3597
3632
  }
3598
- var Q;
3633
+ var Y;
3599
3634
  (function(e) {
3600
3635
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3601
- })(Q || (Q = {}));
3602
- var _e = (
3636
+ })(Y || (Y = {}));
3637
+ var Be = (
3603
3638
  /** @class */
3604
3639
  function(e) {
3605
- $(t, e);
3640
+ xe(t, e);
3606
3641
  function t(r, n, i) {
3607
3642
  var o = e.call(this, r) || this;
3608
3643
  return o.code = n, o.originalMessage = i, o;
@@ -3611,155 +3646,155 @@ var _e = (
3611
3646
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3612
3647
  }, t;
3613
3648
  }(Error)
3614
- ), Et = (
3649
+ ), St = (
3615
3650
  /** @class */
3616
3651
  function(e) {
3617
- $(t, e);
3652
+ xe(t, e);
3618
3653
  function t(r, n, i, o) {
3619
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3654
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3620
3655
  }
3621
3656
  return t;
3622
- }(_e)
3623
- ), Jn = (
3657
+ }(Be)
3658
+ ), ti = (
3624
3659
  /** @class */
3625
3660
  function(e) {
3626
- $(t, e);
3661
+ xe(t, e);
3627
3662
  function t(r, n, i) {
3628
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3663
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3629
3664
  }
3630
3665
  return t;
3631
- }(_e)
3632
- ), qn = (
3666
+ }(Be)
3667
+ ), ri = (
3633
3668
  /** @class */
3634
3669
  function(e) {
3635
- $(t, e);
3670
+ xe(t, e);
3636
3671
  function t(r, n) {
3637
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3672
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3638
3673
  }
3639
3674
  return t;
3640
- }(_e)
3641
- ), w;
3675
+ }(Be)
3676
+ ), T;
3642
3677
  (function(e) {
3643
3678
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3644
- })(w || (w = {}));
3645
- function Kn(e) {
3679
+ })(T || (T = {}));
3680
+ function ni(e) {
3646
3681
  return e.length < 2 ? e : e.reduce(function(t, r) {
3647
3682
  var n = t[t.length - 1];
3648
- return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3683
+ return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3649
3684
  }, []);
3650
3685
  }
3651
- function ei(e) {
3686
+ function ii(e) {
3652
3687
  return typeof e == "function";
3653
3688
  }
3654
- function pe(e, t, r, n, i, o, s) {
3655
- if (e.length === 1 && mt(e[0]))
3689
+ function me(e, t, r, n, i, o, s) {
3690
+ if (e.length === 1 && gt(e[0]))
3656
3691
  return [
3657
3692
  {
3658
- type: w.literal,
3693
+ type: T.literal,
3659
3694
  value: e[0].value
3660
3695
  }
3661
3696
  ];
3662
3697
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3663
3698
  var l = u[h];
3664
- if (mt(l)) {
3699
+ if (gt(l)) {
3665
3700
  a.push({
3666
- type: w.literal,
3701
+ type: T.literal,
3667
3702
  value: l.value
3668
3703
  });
3669
3704
  continue;
3670
3705
  }
3671
- if (xn(l)) {
3706
+ if (Tn(l)) {
3672
3707
  typeof o == "number" && a.push({
3673
- type: w.literal,
3708
+ type: T.literal,
3674
3709
  value: r.getNumberFormat(t).format(o)
3675
3710
  });
3676
3711
  continue;
3677
3712
  }
3678
3713
  var c = l.value;
3679
3714
  if (!(i && c in i))
3680
- throw new qn(c, s);
3715
+ throw new ri(c, s);
3681
3716
  var f = i[c];
3682
- if (_n(l)) {
3717
+ if (wn(l)) {
3683
3718
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3684
- type: typeof f == "string" ? w.literal : w.object,
3719
+ type: typeof f == "string" ? T.literal : T.object,
3685
3720
  value: f
3686
3721
  });
3687
3722
  continue;
3688
3723
  }
3689
- if (jt(l)) {
3690
- var m = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3724
+ if (Wt(l)) {
3725
+ var p = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3691
3726
  a.push({
3692
- type: w.literal,
3693
- value: r.getDateTimeFormat(t, m).format(f)
3727
+ type: T.literal,
3728
+ value: r.getDateTimeFormat(t, p).format(f)
3694
3729
  });
3695
3730
  continue;
3696
3731
  }
3697
- if (kt(l)) {
3698
- var m = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3732
+ if (zt(l)) {
3733
+ var p = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3699
3734
  a.push({
3700
- type: w.literal,
3701
- value: r.getDateTimeFormat(t, m).format(f)
3735
+ type: T.literal,
3736
+ value: r.getDateTimeFormat(t, p).format(f)
3702
3737
  });
3703
3738
  continue;
3704
3739
  }
3705
- if (Ft(l)) {
3706
- var m = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
3707
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3708
- type: w.literal,
3709
- value: r.getNumberFormat(t, m).format(f)
3740
+ if (Xt(l)) {
3741
+ var p = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3742
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3743
+ type: T.literal,
3744
+ value: r.getNumberFormat(t, p).format(f)
3710
3745
  });
3711
3746
  continue;
3712
3747
  }
3713
- if (Wt(l)) {
3714
- var g = l.children, p = l.value, x = i[p];
3715
- if (!ei(x))
3716
- throw new Jn(p, "function", s);
3717
- var A = pe(g, t, r, n, i, o), H = x(A.map(function(S) {
3748
+ if (Qt(l)) {
3749
+ var g = l.children, m = l.value, x = i[m];
3750
+ if (!ii(x))
3751
+ throw new ti(m, "function", s);
3752
+ var A = me(g, t, r, n, i, o), H = x(A.map(function(S) {
3718
3753
  return S.value;
3719
3754
  }));
3720
3755
  Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(S) {
3721
3756
  return {
3722
- type: typeof S == "string" ? w.literal : w.object,
3757
+ type: typeof S == "string" ? T.literal : T.object,
3723
3758
  value: S
3724
3759
  };
3725
3760
  }));
3726
3761
  }
3727
- if (Vt(l)) {
3728
- var T = l.options[f] || l.options.other;
3729
- if (!T)
3730
- throw new Et(l.value, f, Object.keys(l.options), s);
3731
- a.push.apply(a, pe(T.value, t, r, n, i));
3762
+ if (Zt(l)) {
3763
+ var w = l.options[f] || l.options.other;
3764
+ if (!w)
3765
+ throw new St(l.value, f, Object.keys(l.options), s);
3766
+ a.push.apply(a, me(w.value, t, r, n, i));
3732
3767
  continue;
3733
3768
  }
3734
- if (Xt(l)) {
3735
- var T = l.options["=".concat(f)];
3736
- if (!T) {
3769
+ if (Yt(l)) {
3770
+ var w = l.options["=".concat(f)];
3771
+ if (!w) {
3737
3772
  if (!Intl.PluralRules)
3738
- throw new _e(`Intl.PluralRules is not available in this environment.
3773
+ throw new Be(`Intl.PluralRules is not available in this environment.
3739
3774
  Try polyfilling it using "@formatjs/intl-pluralrules"
3740
- `, Q.MISSING_INTL_API, s);
3741
- var v = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3742
- T = l.options[v] || l.options.other;
3775
+ `, Y.MISSING_INTL_API, s);
3776
+ var y = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3777
+ w = l.options[y] || l.options.other;
3743
3778
  }
3744
- if (!T)
3745
- throw new Et(l.value, f, Object.keys(l.options), s);
3746
- a.push.apply(a, pe(T.value, t, r, n, i, f - (l.offset || 0)));
3779
+ if (!w)
3780
+ throw new St(l.value, f, Object.keys(l.options), s);
3781
+ a.push.apply(a, me(w.value, t, r, n, i, f - (l.offset || 0)));
3747
3782
  continue;
3748
3783
  }
3749
3784
  }
3750
- return Kn(a);
3785
+ return ni(a);
3751
3786
  }
3752
- function ti(e, t) {
3753
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3754
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3787
+ function oi(e, t) {
3788
+ return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3789
+ return r[n] = C(C({}, e[n]), t[n] || {}), r;
3755
3790
  }, {})) : e;
3756
3791
  }
3757
- function ri(e, t) {
3792
+ function si(e, t) {
3758
3793
  return t ? Object.keys(e).reduce(function(r, n) {
3759
- return r[n] = ti(e[n], t[n]), r;
3760
- }, y({}, e)) : e;
3794
+ return r[n] = oi(e[n], t[n]), r;
3795
+ }, C({}, e)) : e;
3761
3796
  }
3762
- function Oe(e) {
3797
+ function Me(e) {
3763
3798
  return {
3764
3799
  create: function() {
3765
3800
  return {
@@ -3773,39 +3808,39 @@ function Oe(e) {
3773
3808
  }
3774
3809
  };
3775
3810
  }
3776
- function ni(e) {
3811
+ function ai(e) {
3777
3812
  return e === void 0 && (e = {
3778
3813
  number: {},
3779
3814
  dateTime: {},
3780
3815
  pluralRules: {}
3781
3816
  }), {
3782
- getNumberFormat: He(function() {
3817
+ getNumberFormat: Oe(function() {
3783
3818
  for (var t, r = [], n = 0; n < arguments.length; n++)
3784
3819
  r[n] = arguments[n];
3785
- return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
3820
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3786
3821
  }, {
3787
- cache: Oe(e.number),
3788
- strategy: Ae.variadic
3822
+ cache: Me(e.number),
3823
+ strategy: Ie.variadic
3789
3824
  }),
3790
- getDateTimeFormat: He(function() {
3825
+ getDateTimeFormat: Oe(function() {
3791
3826
  for (var t, r = [], n = 0; n < arguments.length; n++)
3792
3827
  r[n] = arguments[n];
3793
- return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
3828
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3794
3829
  }, {
3795
- cache: Oe(e.dateTime),
3796
- strategy: Ae.variadic
3830
+ cache: Me(e.dateTime),
3831
+ strategy: Ie.variadic
3797
3832
  }),
3798
- getPluralRules: He(function() {
3833
+ getPluralRules: Oe(function() {
3799
3834
  for (var t, r = [], n = 0; n < arguments.length; n++)
3800
3835
  r[n] = arguments[n];
3801
- return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
3836
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3802
3837
  }, {
3803
- cache: Oe(e.pluralRules),
3804
- strategy: Ae.variadic
3838
+ cache: Me(e.pluralRules),
3839
+ strategy: Ie.variadic
3805
3840
  })
3806
3841
  };
3807
3842
  }
3808
- var ii = (
3843
+ var ui = (
3809
3844
  /** @class */
3810
3845
  function() {
3811
3846
  function e(t, r, n, i) {
@@ -3820,11 +3855,11 @@ var ii = (
3820
3855
  if (u.length === 1)
3821
3856
  return u[0].value;
3822
3857
  var l = u.reduce(function(c, f) {
3823
- return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3858
+ return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3824
3859
  }, []);
3825
3860
  return l.length <= 1 ? l[0] || "" : l;
3826
3861
  }, this.formatToParts = function(h) {
3827
- return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3862
+ return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3828
3863
  }, this.resolvedOptions = function() {
3829
3864
  var h;
3830
3865
  return {
@@ -3837,13 +3872,13 @@ var ii = (
3837
3872
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3838
3873
  var s = i || {};
3839
3874
  s.formatters;
3840
- var a = Cr(s, ["formatters"]);
3841
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3875
+ var a = gn(s, ["formatters"]);
3876
+ this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3842
3877
  } else
3843
3878
  this.ast = t;
3844
3879
  if (!Array.isArray(this.ast))
3845
3880
  throw new TypeError("A message must be provided as a String or AST.");
3846
- this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3881
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3847
3882
  }
3848
3883
  return Object.defineProperty(e, "defaultLocale", {
3849
3884
  get: function() {
@@ -3856,7 +3891,7 @@ var ii = (
3856
3891
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3857
3892
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3858
3893
  }
3859
- }, e.__parse = Qn, e.formats = {
3894
+ }, e.__parse = ei, e.formats = {
3860
3895
  number: {
3861
3896
  integer: {
3862
3897
  maximumFractionDigits: 0
@@ -3917,7 +3952,7 @@ var ii = (
3917
3952
  }, e;
3918
3953
  }()
3919
3954
  );
3920
- function oi(e, t) {
3955
+ function hi(e, t) {
3921
3956
  if (t == null)
3922
3957
  return;
3923
3958
  if (t in e)
@@ -3938,92 +3973,92 @@ function oi(e, t) {
3938
3973
  n = void 0;
3939
3974
  return n;
3940
3975
  }
3941
- const D = {}, si = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), tr = (e, t) => {
3976
+ const D = {}, li = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), or = (e, t) => {
3942
3977
  if (t == null)
3943
3978
  return;
3944
3979
  if (t in D && e in D[t])
3945
3980
  return D[t][e];
3946
- const r = xe(t);
3981
+ const r = Se(t);
3947
3982
  for (let n = 0; n < r.length; n++) {
3948
- const i = r[n], o = ui(i, e);
3983
+ const i = r[n], o = fi(i, e);
3949
3984
  if (o)
3950
- return si(e, t, o);
3985
+ return li(e, t, o);
3951
3986
  }
3952
3987
  };
3953
- let Je;
3954
- const he = Ee({});
3955
- function ai(e) {
3956
- return Je[e] || null;
3988
+ let tt;
3989
+ const he = _e({});
3990
+ function ci(e) {
3991
+ return tt[e] || null;
3957
3992
  }
3958
- function rr(e) {
3959
- return e in Je;
3993
+ function sr(e) {
3994
+ return e in tt;
3960
3995
  }
3961
- function ui(e, t) {
3962
- if (!rr(e))
3996
+ function fi(e, t) {
3997
+ if (!sr(e))
3963
3998
  return null;
3964
- const r = ai(e);
3965
- return oi(r, t);
3999
+ const r = ci(e);
4000
+ return hi(r, t);
3966
4001
  }
3967
- function hi(e) {
4002
+ function pi(e) {
3968
4003
  if (e == null)
3969
4004
  return;
3970
- const t = xe(e);
4005
+ const t = Se(e);
3971
4006
  for (let r = 0; r < t.length; r++) {
3972
4007
  const n = t[r];
3973
- if (rr(n))
4008
+ if (sr(n))
3974
4009
  return n;
3975
4010
  }
3976
4011
  }
3977
- function nr(e, ...t) {
3978
- delete D[e], he.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
4012
+ function ar(e, ...t) {
4013
+ delete D[e], he.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3979
4014
  }
3980
- q(
4015
+ J(
3981
4016
  [he],
3982
4017
  ([e]) => Object.keys(e)
3983
4018
  );
3984
- he.subscribe((e) => Je = e);
3985
- const de = {};
3986
- function li(e, t) {
3987
- de[e].delete(t), de[e].size === 0 && delete de[e];
4019
+ he.subscribe((e) => tt = e);
4020
+ const be = {};
4021
+ function mi(e, t) {
4022
+ be[e].delete(t), be[e].size === 0 && delete be[e];
3988
4023
  }
3989
- function ir(e) {
3990
- return de[e];
4024
+ function ur(e) {
4025
+ return be[e];
3991
4026
  }
3992
- function ci(e) {
3993
- return xe(e).map((t) => {
3994
- const r = ir(t);
4027
+ function bi(e) {
4028
+ return Se(e).map((t) => {
4029
+ const r = ur(t);
3995
4030
  return [t, r ? [...r] : []];
3996
4031
  }).filter(([, t]) => t.length > 0);
3997
4032
  }
3998
- function We(e) {
3999
- return e == null ? !1 : xe(e).some(
4033
+ function Je(e) {
4034
+ return e == null ? !1 : Se(e).some(
4000
4035
  (t) => {
4001
4036
  var r;
4002
- return (r = ir(t)) == null ? void 0 : r.size;
4037
+ return (r = ur(t)) == null ? void 0 : r.size;
4003
4038
  }
4004
4039
  );
4005
4040
  }
4006
- function fi(e, t) {
4041
+ function di(e, t) {
4007
4042
  return Promise.all(
4008
- t.map((n) => (li(e, n), n().then((i) => i.default || i)))
4009
- ).then((n) => nr(e, ...n));
4010
- }
4011
- const te = {};
4012
- function or(e) {
4013
- if (!We(e))
4014
- return e in te ? te[e] : Promise.resolve();
4015
- const t = ci(e);
4016
- return te[e] = Promise.all(
4043
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4044
+ ).then((n) => ar(e, ...n));
4045
+ }
4046
+ const ee = {};
4047
+ function hr(e) {
4048
+ if (!Je(e))
4049
+ return e in ee ? ee[e] : Promise.resolve();
4050
+ const t = bi(e);
4051
+ return ee[e] = Promise.all(
4017
4052
  t.map(
4018
- ([r, n]) => fi(r, n)
4053
+ ([r, n]) => di(r, n)
4019
4054
  )
4020
4055
  ).then(() => {
4021
- if (We(e))
4022
- return or(e);
4023
- delete te[e];
4024
- }), te[e];
4056
+ if (Je(e))
4057
+ return hr(e);
4058
+ delete ee[e];
4059
+ }), ee[e];
4025
4060
  }
4026
- const mi = {
4061
+ const gi = {
4027
4062
  number: {
4028
4063
  scientific: { notation: "scientific" },
4029
4064
  engineering: { notation: "engineering" },
@@ -4052,135 +4087,135 @@ const mi = {
4052
4087
  timeZoneName: "short"
4053
4088
  }
4054
4089
  }
4055
- }, pi = {
4090
+ }, yi = {
4056
4091
  fallbackLocale: null,
4057
4092
  loadingDelay: 200,
4058
- formats: mi,
4093
+ formats: gi,
4059
4094
  warnOnMissingMessages: !0,
4060
4095
  handleMissingMessage: void 0,
4061
4096
  ignoreTag: !0
4062
- }, di = pi;
4063
- function J() {
4064
- return di;
4065
- }
4066
- const Ie = Ee(!1);
4067
- var bi = Object.defineProperty, gi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4068
- for (var r in t)
4069
- vi.call(t, r) && xt(e, r, t[r]);
4070
- if (_t)
4071
- for (var r of _t(t))
4072
- Ei.call(t, r) && xt(e, r, t[r]);
4097
+ }, vi = yi;
4098
+ function Q() {
4099
+ return vi;
4100
+ }
4101
+ const Le = _e(!1);
4102
+ var Ei = Object.defineProperty, _i = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4103
+ for (var r in t || (t = {}))
4104
+ Bi.call(t, r) && Tt(e, r, t[r]);
4105
+ if (wt)
4106
+ for (var r of wt(t))
4107
+ Si.call(t, r) && Tt(e, r, t[r]);
4073
4108
  return e;
4074
- }, xi = (e, t) => gi(e, yi(t));
4075
- let ze;
4076
- const be = Ee(null);
4077
- function Bt(e) {
4109
+ }, Ti = (e, t) => _i(e, xi(t));
4110
+ let qe;
4111
+ const ge = _e(null);
4112
+ function Ht(e) {
4078
4113
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4079
4114
  }
4080
- function xe(e, t = J().fallbackLocale) {
4081
- const r = Bt(e);
4082
- return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4115
+ function Se(e, t = Q().fallbackLocale) {
4116
+ const r = Ht(e);
4117
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4083
4118
  }
4084
4119
  function F() {
4085
- return ze != null ? ze : void 0;
4120
+ return qe != null ? qe : void 0;
4086
4121
  }
4087
- be.subscribe((e) => {
4088
- ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4122
+ ge.subscribe((e) => {
4123
+ qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4089
4124
  });
4090
- const Bi = (e) => {
4091
- if (e && hi(e) && We(e)) {
4092
- const { loadingDelay: t } = J();
4125
+ const Hi = (e) => {
4126
+ if (e && pi(e) && Je(e)) {
4127
+ const { loadingDelay: t } = Q();
4093
4128
  let r;
4094
4129
  return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
4095
- () => Ie.set(!0),
4130
+ () => Le.set(!0),
4096
4131
  t
4097
- ) : Ie.set(!0), or(e).then(() => {
4098
- be.set(e);
4132
+ ) : Le.set(!0), hr(e).then(() => {
4133
+ ge.set(e);
4099
4134
  }).finally(() => {
4100
- clearTimeout(r), Ie.set(!1);
4135
+ clearTimeout(r), Le.set(!1);
4101
4136
  });
4102
4137
  }
4103
- return be.set(e);
4104
- }, K = xi(_i({}, be), {
4105
- set: Bi
4106
- }), Be = (e) => {
4138
+ return ge.set(e);
4139
+ }, q = Ti(wi({}, ge), {
4140
+ set: Hi
4141
+ }), we = (e) => {
4107
4142
  const t = /* @__PURE__ */ Object.create(null);
4108
4143
  return (n) => {
4109
4144
  const i = JSON.stringify(n);
4110
4145
  return i in t ? t[i] : t[i] = e(n);
4111
4146
  };
4112
4147
  };
4113
- var Si = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4148
+ var Ai = Object.defineProperty, ye = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4114
4149
  for (var r in t || (t = {}))
4115
- sr.call(t, r) && St(e, r, t[r]);
4116
- if (ge)
4117
- for (var r of ge(t))
4118
- ar.call(t, r) && St(e, r, t[r]);
4150
+ lr.call(t, r) && At(e, r, t[r]);
4151
+ if (ye)
4152
+ for (var r of ye(t))
4153
+ cr.call(t, r) && At(e, r, t[r]);
4119
4154
  return e;
4120
- }, ee = (e, t) => {
4155
+ }, K = (e, t) => {
4121
4156
  var r = {};
4122
4157
  for (var n in e)
4123
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4124
- if (e != null && ge)
4125
- for (var n of ge(e))
4126
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4158
+ lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4159
+ if (e != null && ye)
4160
+ for (var n of ye(e))
4161
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4127
4162
  return r;
4128
4163
  };
4129
- const ae = (e, t) => {
4130
- const { formats: r } = J();
4164
+ const se = (e, t) => {
4165
+ const { formats: r } = Q();
4131
4166
  if (e in r && t in r[e])
4132
4167
  return r[e][t];
4133
4168
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4134
- }, Ti = Be(
4169
+ }, Pi = we(
4135
4170
  (e) => {
4136
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4171
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4137
4172
  if (r == null)
4138
4173
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4139
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4174
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4140
4175
  }
4141
- ), wi = Be(
4176
+ ), Oi = we(
4142
4177
  (e) => {
4143
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4178
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4144
4179
  if (r == null)
4145
4180
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4146
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4181
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4147
4182
  }
4148
- ), Hi = Be(
4183
+ ), Ii = we(
4149
4184
  (e) => {
4150
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4185
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4151
4186
  if (r == null)
4152
4187
  throw new Error(
4153
4188
  '[svelte-i18n] A "locale" must be set to format time values'
4154
4189
  );
4155
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4190
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4156
4191
  }
4157
- ), Ai = (e = {}) => {
4192
+ ), Ni = (e = {}) => {
4158
4193
  var t = e, {
4159
4194
  locale: r = F()
4160
- } = t, n = ee(t, [
4195
+ } = t, n = K(t, [
4161
4196
  "locale"
4162
4197
  ]);
4163
- return Ti(qe({ locale: r }, n));
4164
- }, Pi = (e = {}) => {
4198
+ return Pi(rt({ locale: r }, n));
4199
+ }, Mi = (e = {}) => {
4165
4200
  var t = e, {
4166
4201
  locale: r = F()
4167
- } = t, n = ee(t, [
4202
+ } = t, n = K(t, [
4168
4203
  "locale"
4169
4204
  ]);
4170
- return wi(qe({ locale: r }, n));
4171
- }, Oi = (e = {}) => {
4205
+ return Oi(rt({ locale: r }, n));
4206
+ }, Li = (e = {}) => {
4172
4207
  var t = e, {
4173
4208
  locale: r = F()
4174
- } = t, n = ee(t, [
4209
+ } = t, n = K(t, [
4175
4210
  "locale"
4176
4211
  ]);
4177
- return Hi(qe({ locale: r }, n));
4178
- }, Ii = Be(
4212
+ return Ii(rt({ locale: r }, n));
4213
+ }, Ci = we(
4179
4214
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4180
- (e, t = F()) => new ii(e, t, J().formats, {
4181
- ignoreTag: J().ignoreTag
4215
+ (e, t = F()) => new ui(e, t, Q().formats, {
4216
+ ignoreTag: Q().ignoreTag
4182
4217
  })
4183
- ), Ni = (e, t = {}) => {
4218
+ ), $i = (e, t = {}) => {
4184
4219
  var r, n, i, o;
4185
4220
  let s = t;
4186
4221
  typeof e == "object" && (s = e, e = s.id);
@@ -4193,9 +4228,9 @@ const ae = (e, t) => {
4193
4228
  throw new Error(
4194
4229
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4195
4230
  );
4196
- let l = tr(e, h);
4231
+ let l = or(e, h);
4197
4232
  if (!l)
4198
- l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4233
+ 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;
4199
4234
  else if (typeof l != "string")
4200
4235
  return console.warn(
4201
4236
  `[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.`
@@ -4204,7 +4239,7 @@ const ae = (e, t) => {
4204
4239
  return l;
4205
4240
  let c = l;
4206
4241
  try {
4207
- c = Ii(l, h).format(a);
4242
+ c = Ci(l, h).format(a);
4208
4243
  } catch (f) {
4209
4244
  f instanceof Error && console.warn(
4210
4245
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4212,20 +4247,20 @@ const ae = (e, t) => {
4212
4247
  );
4213
4248
  }
4214
4249
  return c;
4215
- }, Mi = (e, t) => Oi(t).format(e), Li = (e, t) => Pi(t).format(e), Ci = (e, t) => Ai(t).format(e), $i = (e, t = F()) => tr(e, t), Ri = q([K, he], () => Ni);
4216
- q([K], () => Mi);
4217
- q([K], () => Li);
4218
- q([K], () => Ci);
4219
- q([K, he], () => $i);
4220
- window.emWidgets = { topic: Yr };
4221
- const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4222
- function Tt(e, t) {
4223
- nr(e, t);
4224
- }
4225
- function Ui(e) {
4226
- K.set(e);
4227
- }
4228
- const wt = {
4250
+ }, Ri = (e, t) => Li(t).format(e), Di = (e, t) => Mi(t).format(e), Ui = (e, t) => Ni(t).format(e), Gi = (e, t = F()) => or(e, t), Fi = J([q, he], () => $i);
4251
+ J([q], () => Ri);
4252
+ J([q], () => Di);
4253
+ J([q], () => Ui);
4254
+ J([q, he], () => Gi);
4255
+ window.emWidgets = { topic: qr };
4256
+ const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4257
+ function Pt(e, t) {
4258
+ ar(e, t);
4259
+ }
4260
+ function ki(e) {
4261
+ q.set(e);
4262
+ }
4263
+ const Ot = {
4229
4264
  en: {
4230
4265
  titleBiometrics: "Biometrics Authentication",
4231
4266
  descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
@@ -4304,13 +4339,13 @@ const wt = {
4304
4339
  btnDisableBiometrics: "Disable biometrics"
4305
4340
  }
4306
4341
  };
4307
- function Gi(e, t) {
4342
+ function Vi(e, t) {
4308
4343
  if (e) {
4309
4344
  const r = document.createElement("style");
4310
4345
  r.innerHTML = t, e.appendChild(r);
4311
4346
  }
4312
4347
  }
4313
- function Fi(e, t) {
4348
+ function Xi(e, t) {
4314
4349
  const r = new URL(t);
4315
4350
  fetch(r.href).then((n) => n.text()).then((n) => {
4316
4351
  const i = document.createElement("style");
@@ -4319,7 +4354,7 @@ function Fi(e, t) {
4319
4354
  console.error("There was an error while trying to load client styling from URL", n);
4320
4355
  });
4321
4356
  }
4322
- function ji(e, t, r) {
4357
+ function Wi(e, t, r) {
4323
4358
  if (window.emMessageBus) {
4324
4359
  const n = document.createElement("style");
4325
4360
  window.emMessageBus.subscribe(t, (i) => {
@@ -4327,47 +4362,47 @@ function ji(e, t, r) {
4327
4362
  });
4328
4363
  }
4329
4364
  }
4330
- function ki(e) {
4331
- dr(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}");
4365
+ function zi(e) {
4366
+ vr(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}");
4332
4367
  }
4333
- function Vi(e) {
4368
+ function Zi(e) {
4334
4369
  let t, r, n, i, o, s, a, h, u, l, c = (
4335
4370
  /*$_*/
4336
4371
  e[2]("titleBiometrics") + ""
4337
- ), f, m, g;
4372
+ ), f, p, g;
4338
4373
  return {
4339
4374
  c() {
4340
- t = I("div"), r = j("svg"), n = j("defs"), i = j("style"), o = G(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = j("g"), a = j("g"), h = j("path"), u = re(), l = I("h2"), f = G(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");
4375
+ t = I("div"), r = j("svg"), n = j("defs"), i = j("style"), o = G(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = j("g"), a = j("g"), h = j("path"), u = te(), l = I("h2"), f = G(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");
4341
4376
  },
4342
- m(p, x) {
4343
- Ye(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 = Ot(
4377
+ m(m, x) {
4378
+ et(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 = Lt(
4344
4379
  t,
4345
4380
  "click",
4346
4381
  /*click_handler*/
4347
4382
  e[11]
4348
- ), m = !0);
4383
+ ), p = !0);
4349
4384
  },
4350
- p(p, x) {
4385
+ p(m, x) {
4351
4386
  x & /*$_*/
4352
4387
  4 && c !== (c = /*$_*/
4353
- p[2]("titleBiometrics") + "") && ne(f, c);
4388
+ m[2]("titleBiometrics") + "") && re(f, c);
4354
4389
  },
4355
- d(p) {
4356
- p && ye(t), m = !1, g();
4390
+ d(m) {
4391
+ m && ve(t), p = !1, g();
4357
4392
  }
4358
4393
  };
4359
4394
  }
4360
- function Xi(e) {
4395
+ function Yi(e) {
4361
4396
  let t, r, n, i, o = (
4362
4397
  /*$_*/
4363
4398
  e[2]("titleBiometrics") + ""
4364
4399
  ), s, a, h, u, l = (
4365
4400
  /*$_*/
4366
4401
  e[2]("descriptionParagraph1") + ""
4367
- ), c, f, m, g = (
4402
+ ), c, f, p, g = (
4368
4403
  /*$_*/
4369
4404
  e[2]("descriptionParagraph2") + ""
4370
- ), p, x, A, H, T = (
4405
+ ), m, x, A, H, w = (
4371
4406
  /*biometricsenabled*/
4372
4407
  (e[0] === "true" ? (
4373
4408
  /*$_*/
@@ -4376,20 +4411,20 @@ function Xi(e) {
4376
4411
  /*$_*/
4377
4412
  e[2]("btnEnableBiometrics")
4378
4413
  )) + ""
4379
- ), v, S, M, L = (
4414
+ ), y, S, M, L = (
4380
4415
  /*isMobile*/
4381
- e[3] && Vi(e)
4416
+ e[3] && Zi(e)
4382
4417
  );
4383
4418
  return {
4384
4419
  c() {
4385
- t = I("div"), r = I("div"), L && L.c(), n = re(), i = I("h2"), s = G(o), a = re(), h = I("div"), u = I("p"), c = G(l), f = re(), m = I("p"), p = G(g), x = re(), A = I("div"), H = I("button"), v = G(T), B(i, "class", "BiometricsTitle " + /*isMobile*/
4420
+ t = I("div"), r = I("div"), L && L.c(), n = te(), i = I("h2"), s = G(o), a = te(), h = I("div"), u = I("p"), c = G(l), f = te(), p = I("p"), m = G(g), x = te(), A = I("div"), H = I("button"), y = G(w), B(i, "class", "BiometricsTitle " + /*isMobile*/
4386
4421
  (e[3] ? "BiometricsTitleNone" : "")), B(h, "class", "BiometricsDescription " + /*isMobile*/
4387
4422
  (e[3] ? "BiometricsDescriptionMobile" : "")), B(H, "class", "BiometricsToggle"), B(A, "class", "BiometricsActionButtons " + /*isMobile*/
4388
4423
  (e[3] ? "BiometricsActionButtonsMobile" : "")), B(r, "class", "BiometricsWrapper " + /*isMobile*/
4389
4424
  (e[3] ? "BiometricsWrapperMobile" : ""));
4390
4425
  },
4391
4426
  m(P, U) {
4392
- Ye(P, t, U), E(t, r), L && L.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 || (M = Ot(
4427
+ et(P, t, U), v(t, r), L && L.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 || (M = Lt(
4393
4428
  H,
4394
4429
  "click",
4395
4430
  /*click_handler_1*/
@@ -4400,46 +4435,46 @@ function Xi(e) {
4400
4435
  /*isMobile*/
4401
4436
  P[3] && L.p(P, U), U & /*$_*/
4402
4437
  4 && o !== (o = /*$_*/
4403
- P[2]("titleBiometrics") + "") && ne(s, o), U & /*$_*/
4438
+ P[2]("titleBiometrics") + "") && re(s, o), U & /*$_*/
4404
4439
  4 && l !== (l = /*$_*/
4405
- P[2]("descriptionParagraph1") + "") && ne(c, l), U & /*$_*/
4440
+ P[2]("descriptionParagraph1") + "") && re(c, l), U & /*$_*/
4406
4441
  4 && g !== (g = /*$_*/
4407
- P[2]("descriptionParagraph2") + "") && ne(p, g), U & /*biometricsenabled, $_*/
4408
- 5 && T !== (T = /*biometricsenabled*/
4442
+ P[2]("descriptionParagraph2") + "") && re(m, g), U & /*biometricsenabled, $_*/
4443
+ 5 && w !== (w = /*biometricsenabled*/
4409
4444
  (P[0] === "true" ? (
4410
4445
  /*$_*/
4411
4446
  P[2]("btnDisableBiometrics")
4412
4447
  ) : (
4413
4448
  /*$_*/
4414
4449
  P[2]("btnEnableBiometrics")
4415
- )) + "") && ne(v, T);
4450
+ )) + "") && re(y, w);
4416
4451
  },
4417
4452
  i: N,
4418
4453
  o: N,
4419
4454
  d(P) {
4420
- P && ye(t), L && L.d(), e[13](null), S = !1, M();
4455
+ P && ve(t), L && L.d(), e[13](null), S = !1, M();
4421
4456
  }
4422
4457
  };
4423
4458
  }
4424
- function Wi(e, t, r) {
4459
+ function Qi(e, t, r) {
4425
4460
  let n;
4426
- pr(e, Ri, (v) => r(2, n = v));
4427
- 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 = Di(c) !== "PC";
4428
- const m = () => {
4461
+ yr(e, Fi, (y) => r(2, n = y));
4462
+ 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 = ji(c) !== "PC";
4463
+ const p = () => {
4429
4464
  fetch(u).then((S) => S.json()).then((S) => {
4430
4465
  Object.keys(S).forEach((M) => {
4431
- Tt(M, S[M]);
4466
+ Pt(M, S[M]);
4432
4467
  });
4433
4468
  }).catch((S) => {
4434
4469
  console.log(S);
4435
4470
  });
4436
4471
  };
4437
- Object.keys(wt).forEach((v) => {
4438
- Tt(v, wt[v]);
4472
+ Object.keys(Ot).forEach((y) => {
4473
+ Pt(y, Ot[y]);
4439
4474
  });
4440
4475
  const g = () => {
4441
- Ui(o);
4442
- }, p = () => {
4476
+ ki(o);
4477
+ }, m = () => {
4443
4478
  window.postMessage(
4444
4479
  {
4445
4480
  type: "PlayerAccountMenuActive",
@@ -4453,29 +4488,29 @@ function Wi(e, t, r) {
4453
4488
  data: i
4454
4489
  });
4455
4490
  };
4456
- _r(() => () => {
4491
+ wr(() => () => {
4457
4492
  });
4458
- const A = () => p(), H = () => x();
4459
- function T(v) {
4460
- Ne[v ? "unshift" : "push"](() => {
4461
- l = v, r(1, l);
4493
+ const A = () => m(), H = () => x();
4494
+ function w(y) {
4495
+ Ce[y ? "unshift" : "push"](() => {
4496
+ l = y, r(1, l);
4462
4497
  });
4463
4498
  }
4464
- return e.$$set = (v) => {
4465
- "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);
4499
+ return e.$$set = (y) => {
4500
+ "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);
4466
4501
  }, e.$$.update = () => {
4467
4502
  e.$$.dirty & /*lang*/
4468
4503
  64 && o && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4469
- 130 && s && l && Gi(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4470
- 258 && a && l && Fi(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4471
- 514 && h && l && ji(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
4472
- 1024 && u && m();
4504
+ 130 && s && l && Vi(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4505
+ 258 && a && l && Xi(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4506
+ 514 && h && l && Wi(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
4507
+ 1024 && u && p();
4473
4508
  }, [
4474
4509
  i,
4475
4510
  l,
4476
4511
  n,
4477
4512
  f,
4478
- p,
4513
+ m,
4479
4514
  x,
4480
4515
  o,
4481
4516
  s,
@@ -4484,17 +4519,17 @@ function Wi(e, t, r) {
4484
4519
  u,
4485
4520
  A,
4486
4521
  H,
4487
- T
4522
+ w
4488
4523
  ];
4489
4524
  }
4490
- class zi extends Mr {
4525
+ class Ji extends Rr {
4491
4526
  constructor(t) {
4492
- super(), Ir(
4527
+ super(), Cr(
4493
4528
  this,
4494
4529
  t,
4495
- Wi,
4496
- Xi,
4497
- At,
4530
+ Qi,
4531
+ Yi,
4532
+ Nt,
4498
4533
  {
4499
4534
  biometricsenabled: 0,
4500
4535
  lang: 6,
@@ -4503,7 +4538,7 @@ class zi extends Mr {
4503
4538
  mbsource: 9,
4504
4539
  translationurl: 10
4505
4540
  },
4506
- ki
4541
+ zi
4507
4542
  );
4508
4543
  }
4509
4544
  get biometricsenabled() {
@@ -4543,7 +4578,7 @@ class zi extends Mr {
4543
4578
  this.$$set({ translationurl: t }), R();
4544
4579
  }
4545
4580
  }
4546
- Nr(zi, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4581
+ $r(Ji, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4547
4582
  export {
4548
- zi as default
4583
+ Ji as default
4549
4584
  };