@everymatrix/player-account-biometrics 1.55.0 → 1.56.2

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,16 +1,16 @@
1
1
  var cr = Object.defineProperty, fr = Object.defineProperties;
2
- var pr = Object.getOwnPropertyDescriptors;
2
+ var mr = Object.getOwnPropertyDescriptors;
3
3
  var tt = Object.getOwnPropertySymbols;
4
- var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
- var Be = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4
+ var pr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
+ var Se = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- mr.call(t, r) && Be(e, r, t[r]);
7
+ pr.call(t, r) && Se(e, r, t[r]);
8
8
  if (tt)
9
9
  for (var r of tt(t))
10
- br.call(t, r) && Be(e, r, t[r]);
10
+ br.call(t, r) && Se(e, r, t[r]);
11
11
  return e;
12
- }, nt = (e, t) => fr(e, pr(t));
13
- var I = (e, t, r) => Be(e, typeof t != "symbol" ? t + "" : t, r);
12
+ }, nt = (e, t) => fr(e, mr(t));
13
+ var O = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var it = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
@@ -27,7 +27,7 @@ var it = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function M() {
30
+ function N() {
31
31
  }
32
32
  function Pt(e) {
33
33
  return e();
@@ -35,10 +35,10 @@ function Pt(e) {
35
35
  function ot() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ae(e) {
38
+ function ue(e) {
39
39
  e.forEach(Pt);
40
40
  }
41
- function Ze(e) {
41
+ function Ye(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function Ot(e, t) {
@@ -51,7 +51,7 @@ function It(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
54
- return M;
54
+ return N;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -65,12 +65,13 @@ function E(e, t) {
65
65
  function yr(e, t, r) {
66
66
  const n = vr(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = N("style");
68
+ const i = I("style");
69
69
  i.id = t, i.textContent = r, Er(n, i);
70
70
  }
71
71
  }
72
72
  function vr(e) {
73
- if (!e) return document;
73
+ if (!e)
74
+ return document;
74
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
76
  return t && /** @type {ShadowRoot} */
76
77
  t.host ? (
@@ -85,13 +86,13 @@ function Er(e, t) {
85
86
  t
86
87
  ), t.sheet;
87
88
  }
88
- function Ye(e, t, r) {
89
+ function Qe(e, t, r) {
89
90
  e.insertBefore(t, r || null);
90
91
  }
91
- function ge(e) {
92
+ function ye(e) {
92
93
  e.parentNode && e.parentNode.removeChild(e);
93
94
  }
94
- function N(e) {
95
+ function I(e) {
95
96
  return document.createElement(e);
96
97
  }
97
98
  function j(e) {
@@ -125,84 +126,93 @@ function xr(e) {
125
126
  }
126
127
  ), t;
127
128
  }
128
- let Qe;
129
+ let oe;
129
130
  function ie(e) {
130
- Qe = e;
131
+ oe = e;
131
132
  }
132
- const X = [], Ne = [];
133
+ function Br() {
134
+ if (!oe)
135
+ throw new Error("Function called outside component initialization");
136
+ return oe;
137
+ }
138
+ function Sr(e) {
139
+ Br().$$.on_mount.push(e);
140
+ }
141
+ const X = [], Me = [];
133
142
  let W = [];
134
- const st = [], Br = /* @__PURE__ */ Promise.resolve();
143
+ const st = [], Tr = /* @__PURE__ */ Promise.resolve();
135
144
  let Ce = !1;
136
- function Sr() {
137
- Ce || (Ce = !0, Br.then(U));
145
+ function wr() {
146
+ Ce || (Ce = !0, Tr.then(R));
138
147
  }
139
- function Me(e) {
148
+ function Le(e) {
140
149
  W.push(e);
141
150
  }
142
- const Se = /* @__PURE__ */ new Set();
151
+ const Te = /* @__PURE__ */ new Set();
143
152
  let k = 0;
144
- function U() {
153
+ function R() {
145
154
  if (k !== 0)
146
155
  return;
147
- const e = Qe;
156
+ const e = oe;
148
157
  do {
149
158
  try {
150
159
  for (; k < X.length; ) {
151
160
  const t = X[k];
152
- k++, ie(t), Tr(t.$$);
161
+ k++, ie(t), Hr(t.$$);
153
162
  }
154
163
  } catch (t) {
155
164
  throw X.length = 0, k = 0, t;
156
165
  }
157
- for (ie(null), X.length = 0, k = 0; Ne.length; ) Ne.pop()();
166
+ for (ie(null), X.length = 0, k = 0; Me.length; )
167
+ Me.pop()();
158
168
  for (let t = 0; t < W.length; t += 1) {
159
169
  const r = W[t];
160
- Se.has(r) || (Se.add(r), r());
170
+ Te.has(r) || (Te.add(r), r());
161
171
  }
162
172
  W.length = 0;
163
173
  } while (X.length);
164
174
  for (; st.length; )
165
175
  st.pop()();
166
- Ce = !1, Se.clear(), ie(e);
176
+ Ce = !1, Te.clear(), ie(e);
167
177
  }
168
- function Tr(e) {
178
+ function Hr(e) {
169
179
  if (e.fragment !== null) {
170
- e.update(), ae(e.before_update);
180
+ e.update(), ue(e.before_update);
171
181
  const t = e.dirty;
172
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
173
183
  }
174
184
  }
175
- function Hr(e) {
185
+ function Ar(e) {
176
186
  const t = [], r = [];
177
187
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
178
188
  }
179
- const wr = /* @__PURE__ */ new Set();
180
- function Ar(e, t) {
181
- e && e.i && (wr.delete(e), e.i(t));
189
+ const Pr = /* @__PURE__ */ new Set();
190
+ function Or(e, t) {
191
+ e && e.i && (Pr.delete(e), e.i(t));
182
192
  }
183
- function Pr(e, t, r) {
193
+ function Ir(e, t, r) {
184
194
  const { fragment: n, after_update: i } = e.$$;
185
- n && n.m(t, r), Me(() => {
186
- const o = e.$$.on_mount.map(Pt).filter(Ze);
187
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
188
- }), i.forEach(Me);
195
+ n && n.m(t, r), Le(() => {
196
+ const o = e.$$.on_mount.map(Pt).filter(Ye);
197
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
198
+ }), i.forEach(Le);
189
199
  }
190
- function Or(e, t) {
200
+ function Nr(e, t) {
191
201
  const r = e.$$;
192
- r.fragment !== null && (Hr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (Ar(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
193
203
  }
194
- function Ir(e, t) {
195
- e.$$.dirty[0] === -1 && (X.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function Mr(e, t) {
205
+ e.$$.dirty[0] === -1 && (X.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
206
  }
197
- function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
198
- const h = Qe;
207
+ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
208
+ const h = oe;
199
209
  ie(e);
200
210
  const u = e.$$ = {
201
211
  fragment: null,
202
212
  ctx: [],
203
213
  // state
204
214
  props: o,
205
- update: M,
215
+ update: N,
206
216
  not_equal: i,
207
217
  bound: ot(),
208
218
  // lifecycle
@@ -220,41 +230,41 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
220
230
  };
221
231
  s && s(u.root);
222
232
  let l = !1;
223
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
224
- const y = p.length ? p[0] : f;
225
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Ir(e, c)), f;
226
- }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
233
+ if (u.ctx = r ? 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 && Mr(e, c)), f;
236
+ }) : [], u.update(), l = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
227
237
  if (t.hydrate) {
228
238
  const c = _r(t.target);
229
- u.fragment && u.fragment.l(c), c.forEach(ge);
239
+ u.fragment && u.fragment.l(c), c.forEach(ye);
230
240
  } else
231
241
  u.fragment && u.fragment.c();
232
- t.intro && Ar(e.$$.fragment), Pr(e, t.target, t.anchor), U();
242
+ t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), R();
233
243
  }
234
244
  ie(h);
235
245
  }
236
- let Ct;
237
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
246
+ let Mt;
247
+ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
238
248
  constructor(t, r, n) {
239
249
  super();
240
250
  /** The Svelte component constructor */
241
- I(this, "$$ctor");
251
+ O(this, "$$ctor");
242
252
  /** Slots */
243
- I(this, "$$s");
253
+ O(this, "$$s");
244
254
  /** The Svelte component instance */
245
- I(this, "$$c");
255
+ O(this, "$$c");
246
256
  /** Whether or not the custom element is connected */
247
- I(this, "$$cn", !1);
257
+ O(this, "$$cn", !1);
248
258
  /** Component props data */
249
- I(this, "$$d", {});
259
+ O(this, "$$d", {});
250
260
  /** `true` if currently in the process of reflecting component props back to attributes */
251
- I(this, "$$r", !1);
261
+ O(this, "$$r", !1);
252
262
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
253
- I(this, "$$p_d", {});
263
+ O(this, "$$p_d", {});
254
264
  /** @type {Record<string, Function[]>} Event listeners */
255
- I(this, "$$l", {});
265
+ O(this, "$$l", {});
256
266
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
257
- I(this, "$$l_u", /* @__PURE__ */ new Map());
267
+ O(this, "$$l_u", /* @__PURE__ */ new Map());
258
268
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
259
269
  }
260
270
  addEventListener(t, r, n) {
@@ -278,17 +288,17 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
278
288
  let s;
279
289
  return {
280
290
  c: function() {
281
- s = N("slot"), o !== "default" && B(s, "name", o);
291
+ s = I("slot"), o !== "default" && B(s, "name", o);
282
292
  },
283
293
  /**
284
294
  * @param {HTMLElement} target
285
295
  * @param {HTMLElement} [anchor]
286
296
  */
287
297
  m: function(u, l) {
288
- Ye(u, s, l);
298
+ Qe(u, s, l);
289
299
  },
290
300
  d: function(u) {
291
- u && ge(s);
301
+ u && ye(s);
292
302
  }
293
303
  };
294
304
  };
@@ -300,7 +310,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
300
310
  o in n && (r[o] = [t(o)]);
301
311
  for (const o of this.attributes) {
302
312
  const s = this.$$g_p(o.name);
303
- s in this.$$d || (this.$$d[s] = ce(s, o.value, this.$$p_d, "toProp"));
313
+ s in this.$$d || (this.$$d[s] = fe(s, o.value, this.$$p_d, "toProp"));
304
314
  }
305
315
  for (const o in this.$$p_d)
306
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
@@ -317,7 +327,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
317
327
  this.$$r = !0;
318
328
  for (const o in this.$$p_d)
319
329
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
320
- const s = ce(
330
+ const s = fe(
321
331
  o,
322
332
  this.$$d[o],
323
333
  this.$$p_d,
@@ -341,7 +351,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
341
351
  // and setting attributes through setAttribute etc, this is helpful
342
352
  attributeChangedCallback(t, r, n) {
343
353
  var i;
344
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
354
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
345
355
  }
346
356
  disconnectedCallback() {
347
357
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -354,7 +364,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
354
364
  ) || t;
355
365
  }
356
366
  });
357
- function ce(e, t, r, n) {
367
+ function fe(e, t, r, n) {
358
368
  var o;
359
369
  const i = (o = r[e]) == null ? void 0 : o.type;
360
370
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -384,8 +394,8 @@ function ce(e, t, r, n) {
384
394
  return t;
385
395
  }
386
396
  }
387
- function Cr(e, t, r, n, i, o) {
388
- let s = class extends Ct {
397
+ function Lr(e, t, r, n, i, o) {
398
+ let s = class extends Mt {
389
399
  constructor() {
390
400
  super(e, r, i), this.$$p_d = t;
391
401
  }
@@ -402,7 +412,7 @@ function Cr(e, t, r, n, i, o) {
402
412
  },
403
413
  set(h) {
404
414
  var u;
405
- h = ce(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
415
+ h = fe(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
406
416
  }
407
417
  });
408
418
  }), n.forEach((a) => {
@@ -415,7 +425,7 @@ function Cr(e, t, r, n, i, o) {
415
425
  }), e.element = /** @type {any} */
416
426
  s, s;
417
427
  }
418
- class Mr {
428
+ class $r {
419
429
  constructor() {
420
430
  /**
421
431
  * ### PRIVATE API
@@ -424,7 +434,7 @@ class Mr {
424
434
  *
425
435
  * @type {any}
426
436
  */
427
- I(this, "$$");
437
+ O(this, "$$");
428
438
  /**
429
439
  * ### PRIVATE API
430
440
  *
@@ -432,11 +442,11 @@ class Mr {
432
442
  *
433
443
  * @type {any}
434
444
  */
435
- I(this, "$$set");
445
+ O(this, "$$set");
436
446
  }
437
447
  /** @returns {void} */
438
448
  $destroy() {
439
- Or(this, 1), this.$destroy = M;
449
+ Nr(this, 1), this.$destroy = N;
440
450
  }
441
451
  /**
442
452
  * @template {Extract<keyof Events, string>} K
@@ -445,8 +455,8 @@ class Mr {
445
455
  * @returns {() => void}
446
456
  */
447
457
  $on(t, r) {
448
- if (!Ze(r))
449
- return M;
458
+ if (!Ye(r))
459
+ return N;
450
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
451
461
  return n.push(r), () => {
452
462
  const i = n.indexOf(r);
@@ -461,83 +471,106 @@ class Mr {
461
471
  this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
462
472
  }
463
473
  }
464
- const Lr = "4";
465
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
466
- var Le = function(e, t) {
467
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
474
+ const Rr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
476
+ /*! *****************************************************************************
477
+ Copyright (c) Microsoft Corporation.
478
+
479
+ Permission to use, copy, modify, and/or distribute this software for any
480
+ purpose with or without fee is hereby granted.
481
+
482
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
483
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
484
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
485
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
486
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
487
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
488
+ PERFORMANCE OF THIS SOFTWARE.
489
+ ***************************************************************************** */
490
+ var $e = function(e, t) {
491
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
468
492
  r.__proto__ = n;
469
493
  } || function(r, n) {
470
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
471
- }, Le(e, t);
494
+ for (var i in n)
495
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
496
+ }, $e(e, t);
472
497
  };
473
498
  function $(e, t) {
474
499
  if (typeof t != "function" && t !== null)
475
500
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
476
- Le(e, t);
501
+ $e(e, t);
477
502
  function r() {
478
503
  this.constructor = e;
479
504
  }
480
505
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
481
506
  }
482
- var v = function() {
483
- return v = Object.assign || function(t) {
507
+ var y = function() {
508
+ return y = Object.assign || function(t) {
484
509
  for (var r, n = 1, i = arguments.length; n < i; n++) {
485
510
  r = arguments[n];
486
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
511
+ for (var o in r)
512
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
487
513
  }
488
514
  return t;
489
- }, v.apply(this, arguments);
515
+ }, y.apply(this, arguments);
490
516
  };
491
- function $r(e, t) {
517
+ function Dr(e, t) {
492
518
  var r = {};
493
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
519
+ for (var n in e)
520
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
494
521
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
495
522
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
496
523
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
497
524
  return r;
498
525
  }
499
- function $e(e) {
526
+ function Re(e) {
500
527
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
501
- if (r) return r.call(e);
502
- if (e && typeof e.length == "number") return {
503
- next: function() {
504
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
505
- }
506
- };
528
+ if (r)
529
+ return r.call(e);
530
+ if (e && typeof e.length == "number")
531
+ return {
532
+ next: function() {
533
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
534
+ }
535
+ };
507
536
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
508
537
  }
509
- function Re(e, t) {
538
+ function De(e, t) {
510
539
  var r = typeof Symbol == "function" && e[Symbol.iterator];
511
- if (!r) return e;
540
+ if (!r)
541
+ return e;
512
542
  var n = r.call(e), i, o = [], s;
513
543
  try {
514
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
544
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
545
+ o.push(i.value);
515
546
  } catch (a) {
516
547
  s = { error: a };
517
548
  } finally {
518
549
  try {
519
550
  i && !i.done && (r = n.return) && r.call(n);
520
551
  } finally {
521
- if (s) throw s.error;
552
+ if (s)
553
+ throw s.error;
522
554
  }
523
555
  }
524
556
  return o;
525
557
  }
526
558
  function z(e, t, r) {
527
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
528
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
529
- return e.concat(o || Array.prototype.slice.call(t));
559
+ if (r || arguments.length === 2)
560
+ for (var n = 0, i = t.length, o; n < i; n++)
561
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
562
+ return e.concat(o || t);
530
563
  }
531
564
  function L(e) {
532
565
  return typeof e == "function";
533
566
  }
534
- function Mt(e) {
567
+ function Ct(e) {
535
568
  var t = function(n) {
536
569
  Error.call(n), n.stack = new Error().stack;
537
570
  }, r = e(t);
538
571
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
539
572
  }
540
- var Te = Mt(function(e) {
573
+ var we = Ct(function(e) {
541
574
  return function(r) {
542
575
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
543
576
  ` + r.map(function(n, i) {
@@ -546,13 +579,13 @@ var Te = Mt(function(e) {
546
579
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
547
580
  };
548
581
  });
549
- function De(e, t) {
582
+ function Ue(e, t) {
550
583
  if (e) {
551
584
  var r = e.indexOf(t);
552
585
  0 <= r && e.splice(r, 1);
553
586
  }
554
587
  }
555
- var ye = function() {
588
+ var ve = function() {
556
589
  function e(t) {
557
590
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
558
591
  }
@@ -564,17 +597,18 @@ var ye = function() {
564
597
  if (s)
565
598
  if (this._parentage = null, Array.isArray(s))
566
599
  try {
567
- for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
600
+ for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
568
601
  var u = h.value;
569
602
  u.remove(this);
570
603
  }
571
- } catch (m) {
572
- t = { error: m };
604
+ } catch (p) {
605
+ t = { error: p };
573
606
  } finally {
574
607
  try {
575
608
  h && !h.done && (r = a.return) && r.call(a);
576
609
  } finally {
577
- if (t) throw t.error;
610
+ if (t)
611
+ throw t.error;
578
612
  }
579
613
  }
580
614
  else
@@ -583,33 +617,34 @@ var ye = function() {
583
617
  if (L(l))
584
618
  try {
585
619
  l();
586
- } catch (m) {
587
- o = m instanceof Te ? m.errors : [m];
620
+ } catch (p) {
621
+ o = p instanceof we ? p.errors : [p];
588
622
  }
589
623
  var c = this._finalizers;
590
624
  if (c) {
591
625
  this._finalizers = null;
592
626
  try {
593
- for (var f = $e(c), p = f.next(); !p.done; p = f.next()) {
594
- var y = p.value;
627
+ for (var f = Re(c), m = f.next(); !m.done; m = f.next()) {
628
+ var g = m.value;
595
629
  try {
596
- at(y);
597
- } catch (m) {
598
- o = o != null ? o : [], m instanceof Te ? o = z(z([], Re(o)), Re(m.errors)) : o.push(m);
630
+ at(g);
631
+ } catch (p) {
632
+ o = o != null ? o : [], p instanceof we ? o = z(z([], De(o)), De(p.errors)) : o.push(p);
599
633
  }
600
634
  }
601
- } catch (m) {
602
- n = { error: m };
635
+ } catch (p) {
636
+ n = { error: p };
603
637
  } finally {
604
638
  try {
605
- p && !p.done && (i = f.return) && i.call(f);
639
+ m && !m.done && (i = f.return) && i.call(f);
606
640
  } finally {
607
- if (n) throw n.error;
641
+ if (n)
642
+ throw n.error;
608
643
  }
609
644
  }
610
645
  }
611
646
  if (o)
612
- throw new Te(o);
647
+ throw new we(o);
613
648
  }
614
649
  }, e.prototype.add = function(t) {
615
650
  var r;
@@ -632,17 +667,17 @@ var ye = function() {
632
667
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
633
668
  }, e.prototype._removeParent = function(t) {
634
669
  var r = this._parentage;
635
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
670
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
636
671
  }, e.prototype.remove = function(t) {
637
672
  var r = this._finalizers;
638
- r && De(r, t), t instanceof e && t._removeParent(this);
673
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
639
674
  }, e.EMPTY = function() {
640
675
  var t = new e();
641
676
  return t.closed = !0, t;
642
677
  }(), e;
643
- }(), Lt = ye.EMPTY;
678
+ }(), Lt = ve.EMPTY;
644
679
  function $t(e) {
645
- return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
680
+ return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
646
681
  }
647
682
  function at(e) {
648
683
  L(e) ? e() : e.unsubscribe();
@@ -653,35 +688,35 @@ var Rt = {
653
688
  Promise: void 0,
654
689
  useDeprecatedSynchronousErrorHandling: !1,
655
690
  useDeprecatedNextContext: !1
656
- }, Rr = {
691
+ }, Ur = {
657
692
  setTimeout: function(e, t) {
658
693
  for (var r = [], n = 2; n < arguments.length; n++)
659
694
  r[n - 2] = arguments[n];
660
- return setTimeout.apply(void 0, z([e, t], Re(r)));
695
+ return setTimeout.apply(void 0, z([e, t], De(r)));
661
696
  },
662
697
  clearTimeout: function(e) {
663
698
  return clearTimeout(e);
664
699
  },
665
700
  delegate: void 0
666
701
  };
667
- function Dr(e) {
668
- Rr.setTimeout(function() {
702
+ function Gr(e) {
703
+ Ur.setTimeout(function() {
669
704
  throw e;
670
705
  });
671
706
  }
672
707
  function ut() {
673
708
  }
674
- function fe(e) {
709
+ function me(e) {
675
710
  e();
676
711
  }
677
712
  var Dt = function(e) {
678
713
  $(t, e);
679
714
  function t(r) {
680
715
  var n = e.call(this) || this;
681
- return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = jr, n;
716
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Vr, n;
682
717
  }
683
718
  return t.create = function(r, n, i) {
684
- return new Ue(r, n, i);
719
+ return new Ge(r, n, i);
685
720
  }, t.prototype.next = function(r) {
686
721
  this.isStopped || this._next(r);
687
722
  }, t.prototype.error = function(r) {
@@ -705,11 +740,11 @@ var Dt = function(e) {
705
740
  this.unsubscribe();
706
741
  }
707
742
  }, t;
708
- }(ye), Ur = Function.prototype.bind;
743
+ }(ve), Fr = Function.prototype.bind;
709
744
  function He(e, t) {
710
- return Ur.call(e, t);
745
+ return Fr.call(e, t);
711
746
  }
712
- var Gr = function() {
747
+ var jr = function() {
713
748
  function e(t) {
714
749
  this.partialObserver = t;
715
750
  }
@@ -719,7 +754,7 @@ var Gr = function() {
719
754
  try {
720
755
  r.next(t);
721
756
  } catch (n) {
722
- he(n);
757
+ le(n);
723
758
  }
724
759
  }, e.prototype.error = function(t) {
725
760
  var r = this.partialObserver;
@@ -727,20 +762,20 @@ var Gr = function() {
727
762
  try {
728
763
  r.error(t);
729
764
  } catch (n) {
730
- he(n);
765
+ le(n);
731
766
  }
732
767
  else
733
- he(t);
768
+ le(t);
734
769
  }, e.prototype.complete = function() {
735
770
  var t = this.partialObserver;
736
771
  if (t.complete)
737
772
  try {
738
773
  t.complete();
739
774
  } catch (r) {
740
- he(r);
775
+ le(r);
741
776
  }
742
777
  }, e;
743
- }(), Ue = function(e) {
778
+ }(), Ge = function(e) {
744
779
  $(t, e);
745
780
  function t(r, n, i) {
746
781
  var o = e.call(this) || this, s;
@@ -760,29 +795,29 @@ var Gr = function() {
760
795
  complete: r.complete && He(r.complete, a)
761
796
  }) : s = r;
762
797
  }
763
- return o.destination = new Gr(s), o;
798
+ return o.destination = new jr(s), o;
764
799
  }
765
800
  return t;
766
801
  }(Dt);
767
- function he(e) {
768
- Dr(e);
802
+ function le(e) {
803
+ Gr(e);
769
804
  }
770
- function Fr(e) {
805
+ function kr(e) {
771
806
  throw e;
772
807
  }
773
- var jr = {
808
+ var Vr = {
774
809
  closed: !0,
775
810
  next: ut,
776
- error: Fr,
811
+ error: kr,
777
812
  complete: ut
778
- }, kr = function() {
813
+ }, Xr = function() {
779
814
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
780
815
  }();
781
- function Vr(e) {
816
+ function Wr(e) {
782
817
  return e;
783
818
  }
784
- function Xr(e) {
785
- return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
819
+ function zr(e) {
820
+ return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
786
821
  return e.reduce(function(n, i) {
787
822
  return i(n);
788
823
  }, r);
@@ -796,8 +831,8 @@ var ht = function() {
796
831
  var r = new e();
797
832
  return r.source = this, r.operator = t, r;
798
833
  }, e.prototype.subscribe = function(t, r, n) {
799
- var i = this, o = zr(t) ? t : new Ue(t, r, n);
800
- return fe(function() {
834
+ var i = this, o = Yr(t) ? t : new Ge(t, r, n);
835
+ return me(function() {
801
836
  var s = i, a = s.operator, h = s.source;
802
837
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
803
838
  }), o;
@@ -810,7 +845,7 @@ var ht = function() {
810
845
  }, e.prototype.forEach = function(t, r) {
811
846
  var n = this;
812
847
  return r = lt(r), new r(function(i, o) {
813
- var s = new Ue({
848
+ var s = new Ge({
814
849
  next: function(a) {
815
850
  try {
816
851
  t(a);
@@ -826,12 +861,12 @@ var ht = function() {
826
861
  }, e.prototype._subscribe = function(t) {
827
862
  var r;
828
863
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
829
- }, e.prototype[kr] = function() {
864
+ }, e.prototype[Xr] = function() {
830
865
  return this;
831
866
  }, e.prototype.pipe = function() {
832
867
  for (var t = [], r = 0; r < arguments.length; r++)
833
868
  t[r] = arguments[r];
834
- return Xr(t)(this);
869
+ return zr(t)(this);
835
870
  }, e.prototype.toPromise = function(t) {
836
871
  var r = this;
837
872
  return t = lt(t), new t(function(n, i) {
@@ -852,13 +887,13 @@ function lt(e) {
852
887
  var t;
853
888
  return (t = e != null ? e : Rt.Promise) !== null && t !== void 0 ? t : Promise;
854
889
  }
855
- function Wr(e) {
890
+ function Zr(e) {
856
891
  return e && L(e.next) && L(e.error) && L(e.complete);
857
892
  }
858
- function zr(e) {
859
- return e && e instanceof Dt || Wr(e) && $t(e);
893
+ function Yr(e) {
894
+ return e && e instanceof Dt || Zr(e) && $t(e);
860
895
  }
861
- var Zr = Mt(function(e) {
896
+ var Qr = Ct(function(e) {
862
897
  return function() {
863
898
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
864
899
  };
@@ -873,15 +908,15 @@ var Zr = Mt(function(e) {
873
908
  return n.operator = r, n;
874
909
  }, t.prototype._throwIfClosed = function() {
875
910
  if (this.closed)
876
- throw new Zr();
911
+ throw new Qr();
877
912
  }, t.prototype.next = function(r) {
878
913
  var n = this;
879
- fe(function() {
914
+ me(function() {
880
915
  var i, o;
881
916
  if (n._throwIfClosed(), !n.isStopped) {
882
917
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
883
918
  try {
884
- for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
919
+ for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
885
920
  var h = a.value;
886
921
  h.next(r);
887
922
  }
@@ -891,14 +926,15 @@ var Zr = Mt(function(e) {
891
926
  try {
892
927
  a && !a.done && (o = s.return) && o.call(s);
893
928
  } finally {
894
- if (i) throw i.error;
929
+ if (i)
930
+ throw i.error;
895
931
  }
896
932
  }
897
933
  }
898
934
  });
899
935
  }, t.prototype.error = function(r) {
900
936
  var n = this;
901
- fe(function() {
937
+ me(function() {
902
938
  if (n._throwIfClosed(), !n.isStopped) {
903
939
  n.hasError = n.isStopped = !0, n.thrownError = r;
904
940
  for (var i = n.observers; i.length; )
@@ -907,7 +943,7 @@ var Zr = Mt(function(e) {
907
943
  });
908
944
  }, t.prototype.complete = function() {
909
945
  var r = this;
910
- fe(function() {
946
+ me(function() {
911
947
  if (r._throwIfClosed(), !r.isStopped) {
912
948
  r.isStopped = !0;
913
949
  for (var n = r.observers; n.length; )
@@ -929,8 +965,8 @@ var Zr = Mt(function(e) {
929
965
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
930
966
  }, t.prototype._innerSubscribe = function(r) {
931
967
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
932
- return o || s ? Lt : (this.currentObservers = null, a.push(r), new ye(function() {
933
- n.currentObservers = null, De(a, r);
968
+ return o || s ? Lt : (this.currentObservers = null, a.push(r), new ve(function() {
969
+ n.currentObservers = null, Ue(a, r);
934
970
  }));
935
971
  }, t.prototype._checkFinalizedStatuses = function(r) {
936
972
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
@@ -965,7 +1001,7 @@ var Zr = Mt(function(e) {
965
1001
  return (Gt.delegate || Date).now();
966
1002
  },
967
1003
  delegate: void 0
968
- }, Yr = function(e) {
1004
+ }, Jr = function(e) {
969
1005
  $(t, e);
970
1006
  function t(r, n, i) {
971
1007
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
@@ -989,19 +1025,19 @@ var Zr = Mt(function(e) {
989
1025
  }
990
1026
  }, t;
991
1027
  }(Ut);
992
- const ft = [], pt = {}, Qr = (e, t = 0) => {
1028
+ const ft = [], mt = {}, qr = (e, t = 0) => {
993
1029
  if (ft.indexOf(e) == -1) {
994
- const r = new Yr(t);
995
- pt[e] = r, ft.push(e);
1030
+ const r = new Jr(t);
1031
+ mt[e] = r, ft.push(e);
996
1032
  }
997
- return pt[e];
1033
+ return mt[e];
998
1034
  }, V = [];
999
- function Jr(e, t) {
1035
+ function Kr(e, t) {
1000
1036
  return {
1001
- subscribe: ve(e, t).subscribe
1037
+ subscribe: Ee(e, t).subscribe
1002
1038
  };
1003
1039
  }
1004
- function ve(e, t = M) {
1040
+ function Ee(e, t = N) {
1005
1041
  let r;
1006
1042
  const n = /* @__PURE__ */ new Set();
1007
1043
  function i(a) {
@@ -1019,9 +1055,9 @@ function ve(e, t = M) {
1019
1055
  function o(a) {
1020
1056
  i(a(e));
1021
1057
  }
1022
- function s(a, h = M) {
1058
+ function s(a, h = N) {
1023
1059
  const u = [a, h];
1024
- return n.add(u), n.size === 1 && (r = t(i, o) || M), a(e), () => {
1060
+ return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1025
1061
  n.delete(u), n.size === 0 && r && (r(), r = null);
1026
1062
  };
1027
1063
  }
@@ -1032,73 +1068,73 @@ function q(e, t, r) {
1032
1068
  if (!i.every(Boolean))
1033
1069
  throw new Error("derived() expects stores as input, got a falsy value");
1034
1070
  const o = t.length < 2;
1035
- return Jr(r, (s, a) => {
1071
+ return Kr(r, (s, a) => {
1036
1072
  let h = !1;
1037
1073
  const u = [];
1038
- let l = 0, c = M;
1074
+ let l = 0, c = N;
1039
1075
  const f = () => {
1040
1076
  if (l)
1041
1077
  return;
1042
1078
  c();
1043
- const y = t(n ? u[0] : u, s, a);
1044
- o ? s(y) : c = Ze(y) ? y : M;
1045
- }, p = i.map(
1046
- (y, m) => It(
1047
- y,
1079
+ const g = t(n ? u[0] : u, s, a);
1080
+ o ? s(g) : c = Ye(g) ? g : N;
1081
+ }, m = i.map(
1082
+ (g, p) => It(
1083
+ g,
1048
1084
  (x) => {
1049
- u[m] = x, l &= ~(1 << m), h && f();
1085
+ u[p] = x, l &= ~(1 << p), h && f();
1050
1086
  },
1051
1087
  () => {
1052
- l |= 1 << m;
1088
+ l |= 1 << p;
1053
1089
  }
1054
1090
  )
1055
1091
  );
1056
1092
  return h = !0, f(), function() {
1057
- ae(p), c(), h = !1;
1093
+ ue(m), c(), h = !1;
1058
1094
  };
1059
1095
  });
1060
1096
  }
1061
- function qr(e) {
1097
+ function en(e) {
1062
1098
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1063
1099
  }
1064
- var Kr = function(t) {
1065
- return en(t) && !tn(t);
1100
+ var tn = function(t) {
1101
+ return rn(t) && !nn(t);
1066
1102
  };
1067
- function en(e) {
1103
+ function rn(e) {
1068
1104
  return !!e && typeof e == "object";
1069
1105
  }
1070
- function tn(e) {
1106
+ function nn(e) {
1071
1107
  var t = Object.prototype.toString.call(e);
1072
- return t === "[object RegExp]" || t === "[object Date]" || on(e);
1108
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1073
1109
  }
1074
- var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
1075
- function on(e) {
1076
- return e.$$typeof === nn;
1110
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1111
+ function an(e) {
1112
+ return e.$$typeof === sn;
1077
1113
  }
1078
- function sn(e) {
1114
+ function un(e) {
1079
1115
  return Array.isArray(e) ? [] : {};
1080
1116
  }
1081
- function oe(e, t) {
1082
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(sn(e), e, t) : e;
1117
+ function se(e, t) {
1118
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(un(e), e, t) : e;
1083
1119
  }
1084
- function an(e, t, r) {
1120
+ function hn(e, t, r) {
1085
1121
  return e.concat(t).map(function(n) {
1086
- return oe(n, r);
1122
+ return se(n, r);
1087
1123
  });
1088
1124
  }
1089
- function un(e, t) {
1125
+ function ln(e, t) {
1090
1126
  if (!t.customMerge)
1091
1127
  return Z;
1092
1128
  var r = t.customMerge(e);
1093
1129
  return typeof r == "function" ? r : Z;
1094
1130
  }
1095
- function hn(e) {
1131
+ function cn(e) {
1096
1132
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1097
1133
  return Object.propertyIsEnumerable.call(e, t);
1098
1134
  }) : [];
1099
1135
  }
1100
- function mt(e) {
1101
- return Object.keys(e).concat(hn(e));
1136
+ function pt(e) {
1137
+ return Object.keys(e).concat(cn(e));
1102
1138
  }
1103
1139
  function Ft(e, t) {
1104
1140
  try {
@@ -1107,21 +1143,21 @@ function Ft(e, t) {
1107
1143
  return !1;
1108
1144
  }
1109
1145
  }
1110
- function ln(e, t) {
1146
+ function fn(e, t) {
1111
1147
  return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1112
1148
  }
1113
- function cn(e, t, r) {
1149
+ function mn(e, t, r) {
1114
1150
  var n = {};
1115
- return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1116
- n[i] = oe(e[i], r);
1117
- }), mt(t).forEach(function(i) {
1118
- ln(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1151
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1152
+ n[i] = se(e[i], r);
1153
+ }), pt(t).forEach(function(i) {
1154
+ fn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1119
1155
  }), n;
1120
1156
  }
1121
1157
  function Z(e, t, r) {
1122
- r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = oe;
1158
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = se;
1123
1159
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1124
- return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : oe(t, r);
1160
+ return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : se(t, r);
1125
1161
  }
1126
1162
  Z.all = function(t, r) {
1127
1163
  if (!Array.isArray(t))
@@ -1130,20 +1166,20 @@ Z.all = function(t, r) {
1130
1166
  return Z(n, i, r);
1131
1167
  }, {});
1132
1168
  };
1133
- var fn = Z, pn = fn;
1134
- const mn = /* @__PURE__ */ qr(pn);
1135
- function we(e, t) {
1136
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : dn;
1169
+ var pn = Z, bn = pn;
1170
+ const dn = /* @__PURE__ */ en(bn);
1171
+ function Ae(e, t) {
1172
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : yn;
1137
1173
  return i(e, {
1138
1174
  cache: r,
1139
1175
  serializer: n
1140
1176
  });
1141
1177
  }
1142
- function bn(e) {
1178
+ function gn(e) {
1143
1179
  return e == null || typeof e == "number" || typeof e == "boolean";
1144
1180
  }
1145
1181
  function jt(e, t, r, n) {
1146
- var i = bn(n) ? n : r(n), o = t.get(i);
1182
+ var i = gn(n) ? n : r(n), o = t.get(i);
1147
1183
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1148
1184
  }
1149
1185
  function kt(e, t, r) {
@@ -1153,17 +1189,17 @@ function kt(e, t, r) {
1153
1189
  function Je(e, t, r, n, i) {
1154
1190
  return r.bind(t, e, n, i);
1155
1191
  }
1156
- function dn(e, t) {
1192
+ function yn(e, t) {
1157
1193
  var r = e.length === 1 ? jt : kt;
1158
1194
  return Je(e, this, r, t.cache.create(), t.serializer);
1159
1195
  }
1160
- function gn(e, t) {
1196
+ function vn(e, t) {
1161
1197
  return Je(e, this, kt, t.cache.create(), t.serializer);
1162
1198
  }
1163
- function yn(e, t) {
1199
+ function En(e, t) {
1164
1200
  return Je(e, this, jt, t.cache.create(), t.serializer);
1165
1201
  }
1166
- var vn = function() {
1202
+ var _n = function() {
1167
1203
  return JSON.stringify(arguments);
1168
1204
  };
1169
1205
  function qe() {
@@ -1175,17 +1211,17 @@ qe.prototype.get = function(e) {
1175
1211
  qe.prototype.set = function(e, t) {
1176
1212
  this.cache[e] = t;
1177
1213
  };
1178
- var En = {
1214
+ var xn = {
1179
1215
  create: function() {
1180
1216
  return new qe();
1181
1217
  }
1182
- }, Ae = {
1183
- variadic: gn,
1184
- monadic: yn
1185
- }, d;
1218
+ }, Pe = {
1219
+ variadic: vn,
1220
+ monadic: En
1221
+ }, b;
1186
1222
  (function(e) {
1187
1223
  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";
1188
- })(d || (d = {}));
1224
+ })(b || (b = {}));
1189
1225
  var _;
1190
1226
  (function(e) {
1191
1227
  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";
@@ -1197,7 +1233,7 @@ var Y;
1197
1233
  function bt(e) {
1198
1234
  return e.type === _.literal;
1199
1235
  }
1200
- function _n(e) {
1236
+ function Bn(e) {
1201
1237
  return e.type === _.argument;
1202
1238
  }
1203
1239
  function Vt(e) {
@@ -1215,7 +1251,7 @@ function zt(e) {
1215
1251
  function Zt(e) {
1216
1252
  return e.type === _.plural;
1217
1253
  }
1218
- function xn(e) {
1254
+ function Sn(e) {
1219
1255
  return e.type === _.pound;
1220
1256
  }
1221
1257
  function Yt(e) {
@@ -1224,13 +1260,13 @@ function Yt(e) {
1224
1260
  function Qt(e) {
1225
1261
  return !!(e && typeof e == "object" && e.type === Y.number);
1226
1262
  }
1227
- function Ge(e) {
1263
+ function Fe(e) {
1228
1264
  return !!(e && typeof e == "object" && e.type === Y.dateTime);
1229
1265
  }
1230
- var Jt = /[ \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;
1231
- function Sn(e) {
1266
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1267
+ function wn(e) {
1232
1268
  var t = {};
1233
- return e.replace(Bn, function(r) {
1269
+ return e.replace(Tn, function(r) {
1234
1270
  var n = r.length;
1235
1271
  switch (r[0]) {
1236
1272
  case "G":
@@ -1319,11 +1355,11 @@ function Sn(e) {
1319
1355
  return "";
1320
1356
  }), t;
1321
1357
  }
1322
- var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1323
- function Hn(e) {
1358
+ var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1359
+ function An(e) {
1324
1360
  if (e.length === 0)
1325
1361
  throw new Error("Number skeleton cannot be empty");
1326
- for (var t = e.split(Tn).filter(function(f) {
1362
+ for (var t = e.split(Hn).filter(function(f) {
1327
1363
  return f.length > 0;
1328
1364
  }), r = [], n = 0, i = t; n < i.length; n++) {
1329
1365
  var o = i[n], s = o.split("/");
@@ -1338,10 +1374,10 @@ function Hn(e) {
1338
1374
  }
1339
1375
  return r;
1340
1376
  }
1341
- function wn(e) {
1377
+ function Pn(e) {
1342
1378
  return e.replace(/^(.*?)-/, "");
1343
1379
  }
1344
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
1380
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
1345
1381
  function gt(e) {
1346
1382
  var t = {};
1347
1383
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
@@ -1388,7 +1424,7 @@ function er(e) {
1388
1424
  };
1389
1425
  }
1390
1426
  }
1391
- function Pn(e) {
1427
+ function In(e) {
1392
1428
  var t;
1393
1429
  if (e[0] === "E" && e[1] === "E" ? (t = {
1394
1430
  notation: "engineering"
@@ -1406,7 +1442,7 @@ function yt(e) {
1406
1442
  var t = {}, r = er(e);
1407
1443
  return r || t;
1408
1444
  }
1409
- function On(e) {
1445
+ function Nn(e) {
1410
1446
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1411
1447
  var i = n[r];
1412
1448
  switch (i.stem) {
@@ -1430,7 +1466,7 @@ function On(e) {
1430
1466
  continue;
1431
1467
  case "measure-unit":
1432
1468
  case "unit":
1433
- t.style = "unit", t.unit = wn(i.options[0]);
1469
+ t.style = "unit", t.unit = Pn(i.options[0]);
1434
1470
  continue;
1435
1471
  case "compact-short":
1436
1472
  case "K":
@@ -1441,13 +1477,13 @@ function On(e) {
1441
1477
  t.notation = "compact", t.compactDisplay = "long";
1442
1478
  continue;
1443
1479
  case "scientific":
1444
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1445
- return v(v({}, h), yt(u));
1480
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1481
+ return y(y({}, h), yt(u));
1446
1482
  }, {}));
1447
1483
  continue;
1448
1484
  case "engineering":
1449
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1450
- return v(v({}, h), yt(u));
1485
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1486
+ return y(y({}, h), yt(u));
1451
1487
  }, {}));
1452
1488
  continue;
1453
1489
  case "notation-simple":
@@ -1492,13 +1528,13 @@ function On(e) {
1492
1528
  case "integer-width":
1493
1529
  if (i.options.length > 1)
1494
1530
  throw new RangeError("integer-width stems only accept a single optional option");
1495
- i.options[0].replace(An, function(h, u, l, c, f, p) {
1531
+ i.options[0].replace(On, function(h, u, l, c, f, m) {
1496
1532
  if (u)
1497
1533
  t.minimumIntegerDigits = l.length;
1498
1534
  else {
1499
1535
  if (c && f)
1500
1536
  throw new Error("We currently do not support maximum integer digits");
1501
- if (p)
1537
+ if (m)
1502
1538
  throw new Error("We currently do not support exact integer digits");
1503
1539
  }
1504
1540
  return "";
@@ -1512,25 +1548,25 @@ function On(e) {
1512
1548
  if (dt.test(i.stem)) {
1513
1549
  if (i.options.length > 1)
1514
1550
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1515
- i.stem.replace(dt, function(h, u, l, c, f, p) {
1516
- 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), "";
1551
+ i.stem.replace(dt, function(h, u, l, c, f, m) {
1552
+ 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), "";
1517
1553
  });
1518
1554
  var o = i.options[0];
1519
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), gt(o)));
1555
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
1520
1556
  continue;
1521
1557
  }
1522
1558
  if (qt.test(i.stem)) {
1523
- t = v(v({}, t), gt(i.stem));
1559
+ t = y(y({}, t), gt(i.stem));
1524
1560
  continue;
1525
1561
  }
1526
1562
  var s = er(i.stem);
1527
- s && (t = v(v({}, t), s));
1528
- var a = Pn(i.stem);
1529
- a && (t = v(v({}, t), a));
1563
+ s && (t = y(y({}, t), s));
1564
+ var a = In(i.stem);
1565
+ a && (t = y(y({}, t), a));
1530
1566
  }
1531
1567
  return t;
1532
1568
  }
1533
- var le = {
1569
+ var ce = {
1534
1570
  "001": [
1535
1571
  "H",
1536
1572
  "h"
@@ -2945,22 +2981,23 @@ var le = {
2945
2981
  "h"
2946
2982
  ]
2947
2983
  };
2948
- function In(e, t) {
2984
+ function Mn(e, t) {
2949
2985
  for (var r = "", n = 0; n < e.length; n++) {
2950
2986
  var i = e.charAt(n);
2951
2987
  if (i === "j") {
2952
2988
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2953
2989
  o++, n++;
2954
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
2990
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
2955
2991
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2956
2992
  r += h;
2957
2993
  for (; s-- > 0; )
2958
2994
  r = u + r;
2959
- } else i === "J" ? r += "H" : r += i;
2995
+ } else
2996
+ i === "J" ? r += "H" : r += i;
2960
2997
  }
2961
2998
  return r;
2962
2999
  }
2963
- function Nn(e) {
3000
+ function Cn(e) {
2964
3001
  var t = e.hourCycle;
2965
3002
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2966
3003
  e.hourCycles && // @ts-ignore
@@ -2979,23 +3016,23 @@ function Nn(e) {
2979
3016
  }
2980
3017
  var r = e.language, n;
2981
3018
  r !== "root" && (n = e.maximize().region);
2982
- var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3019
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2983
3020
  return i[0];
2984
3021
  }
2985
- var Pe, Cn = new RegExp("^".concat(Jt.source, "*")), Mn = new RegExp("".concat(Jt.source, "*$"));
2986
- function g(e, t) {
3022
+ var Oe, Ln = new RegExp("^".concat(Jt.source, "*")), $n = new RegExp("".concat(Jt.source, "*$"));
3023
+ function d(e, t) {
2987
3024
  return { start: e, end: t };
2988
3025
  }
2989
- var Ln = !!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) {
3026
+ var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
2990
3027
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2991
- }, Fe = !0;
3028
+ }, je = !0;
2992
3029
  try {
2993
- var kn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2994
- Fe = ((Pe = kn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3030
+ var Xn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3031
+ je = ((Oe = Xn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2995
3032
  } catch (e) {
2996
- Fe = !1;
3033
+ je = !1;
2997
3034
  }
2998
- var vt = Ln ? (
3035
+ var vt = Rn ? (
2999
3036
  // Native
3000
3037
  function(t, r, n) {
3001
3038
  return t.startsWith(r, n);
@@ -3005,7 +3042,7 @@ var vt = Ln ? (
3005
3042
  function(t, r, n) {
3006
3043
  return t.slice(n, n + r.length) === r;
3007
3044
  }
3008
- ), je = $n ? String.fromCodePoint : (
3045
+ ), ke = Dn ? String.fromCodePoint : (
3009
3046
  // IE11
3010
3047
  function() {
3011
3048
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3019,7 +3056,7 @@ var vt = Ln ? (
3019
3056
  }
3020
3057
  ), Et = (
3021
3058
  // native
3022
- Rn ? Object.fromEntries : (
3059
+ Un ? Object.fromEntries : (
3023
3060
  // Ponyfill
3024
3061
  function(t) {
3025
3062
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3029,7 +3066,7 @@ var vt = Ln ? (
3029
3066
  return r;
3030
3067
  }
3031
3068
  )
3032
- ), tr = Dn ? (
3069
+ ), tr = Gn ? (
3033
3070
  // Native
3034
3071
  function(t, r) {
3035
3072
  return t.codePointAt(r);
@@ -3043,7 +3080,7 @@ var vt = Ln ? (
3043
3080
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3044
3081
  }
3045
3082
  }
3046
- ), Vn = Un ? (
3083
+ ), Wn = Fn ? (
3047
3084
  // Native
3048
3085
  function(t) {
3049
3086
  return t.trimStart();
@@ -3051,9 +3088,9 @@ var vt = Ln ? (
3051
3088
  ) : (
3052
3089
  // Ponyfill
3053
3090
  function(t) {
3054
- return t.replace(Cn, "");
3091
+ return t.replace(Ln, "");
3055
3092
  }
3056
- ), Xn = Gn ? (
3093
+ ), zn = jn ? (
3057
3094
  // Native
3058
3095
  function(t) {
3059
3096
  return t.trimEnd();
@@ -3061,32 +3098,32 @@ var vt = Ln ? (
3061
3098
  ) : (
3062
3099
  // Ponyfill
3063
3100
  function(t) {
3064
- return t.replace(Mn, "");
3101
+ return t.replace($n, "");
3065
3102
  }
3066
3103
  );
3067
3104
  function rr(e, t) {
3068
3105
  return new RegExp(e, t);
3069
3106
  }
3070
- var ke;
3071
- if (Fe) {
3107
+ var Ve;
3108
+ if (je) {
3072
3109
  var _t = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3073
- ke = function(t, r) {
3110
+ Ve = function(t, r) {
3074
3111
  var n;
3075
3112
  _t.lastIndex = r;
3076
3113
  var i = _t.exec(t);
3077
3114
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3078
3115
  };
3079
3116
  } else
3080
- ke = function(t, r) {
3117
+ Ve = function(t, r) {
3081
3118
  for (var n = []; ; ) {
3082
3119
  var i = tr(t, r);
3083
- if (i === void 0 || nr(i) || Yn(i))
3120
+ if (i === void 0 || nr(i) || Jn(i))
3084
3121
  break;
3085
3122
  n.push(i), r += i >= 65536 ? 2 : 1;
3086
3123
  }
3087
- return je.apply(void 0, n);
3124
+ return ke.apply(void 0, n);
3088
3125
  };
3089
- var Wn = (
3126
+ var Zn = (
3090
3127
  /** @class */
3091
3128
  function() {
3092
3129
  function e(t, r) {
@@ -3111,13 +3148,13 @@ var Wn = (
3111
3148
  var a = this.clonePosition();
3112
3149
  this.bump(), i.push({
3113
3150
  type: _.pound,
3114
- location: g(a, this.clonePosition())
3151
+ location: d(a, this.clonePosition())
3115
3152
  });
3116
3153
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3117
3154
  if (n)
3118
3155
  break;
3119
- return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3120
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3156
+ return this.error(b.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3157
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3121
3158
  var s = this.parseTag(t, r);
3122
3159
  if (s.err)
3123
3160
  return s;
@@ -3140,7 +3177,7 @@ var Wn = (
3140
3177
  val: {
3141
3178
  type: _.literal,
3142
3179
  value: "<".concat(i, "/>"),
3143
- location: g(n, this.clonePosition())
3180
+ location: d(n, this.clonePosition())
3144
3181
  },
3145
3182
  err: null
3146
3183
  };
@@ -3150,25 +3187,25 @@ var Wn = (
3150
3187
  return o;
3151
3188
  var s = o.val, a = this.clonePosition();
3152
3189
  if (this.bumpIf("</")) {
3153
- if (this.isEOF() || !Ve(this.char()))
3154
- return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3190
+ if (this.isEOF() || !Xe(this.char()))
3191
+ return this.error(b.INVALID_TAG, d(a, this.clonePosition()));
3155
3192
  var h = this.clonePosition(), u = this.parseTagName();
3156
- return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3193
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3157
3194
  val: {
3158
3195
  type: _.tag,
3159
3196
  value: i,
3160
3197
  children: s,
3161
- location: g(n, this.clonePosition())
3198
+ location: d(n, this.clonePosition())
3162
3199
  },
3163
3200
  err: null
3164
- } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3201
+ } : this.error(b.INVALID_TAG, d(a, this.clonePosition())));
3165
3202
  } else
3166
- return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3203
+ return this.error(b.UNCLOSED_TAG, d(n, this.clonePosition()));
3167
3204
  } else
3168
- return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3205
+ return this.error(b.INVALID_TAG, d(n, this.clonePosition()));
3169
3206
  }, e.prototype.parseTagName = function() {
3170
3207
  var t = this.offset();
3171
- for (this.bump(); !this.isEOF() && Zn(this.char()); )
3208
+ for (this.bump(); !this.isEOF() && Qn(this.char()); )
3172
3209
  this.bump();
3173
3210
  return this.message.slice(t, this.offset());
3174
3211
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3190,14 +3227,14 @@ var Wn = (
3190
3227
  }
3191
3228
  break;
3192
3229
  }
3193
- var h = g(n, this.clonePosition());
3230
+ var h = d(n, this.clonePosition());
3194
3231
  return {
3195
3232
  val: { type: _.literal, value: i, location: h },
3196
3233
  err: null
3197
3234
  };
3198
3235
  }, e.prototype.tryParseLeftAngleBracket = function() {
3199
3236
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3200
- !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3237
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3201
3238
  }, e.prototype.tryParseQuote = function(t) {
3202
3239
  if (this.isEOF() || this.char() !== 39)
3203
3240
  return null;
@@ -3231,23 +3268,23 @@ var Wn = (
3231
3268
  r.push(n);
3232
3269
  this.bump();
3233
3270
  }
3234
- return je.apply(void 0, r);
3271
+ return ke.apply(void 0, r);
3235
3272
  }, e.prototype.tryParseUnquoted = function(t, r) {
3236
3273
  if (this.isEOF())
3237
3274
  return null;
3238
3275
  var n = this.char();
3239
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3276
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3240
3277
  }, e.prototype.parseArgument = function(t, r) {
3241
3278
  var n = this.clonePosition();
3242
3279
  if (this.bump(), this.bumpSpace(), this.isEOF())
3243
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3280
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3244
3281
  if (this.char() === 125)
3245
- return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3282
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, d(n, this.clonePosition()));
3246
3283
  var i = this.parseIdentifierIfPossible().value;
3247
3284
  if (!i)
3248
- return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3285
+ return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3249
3286
  if (this.bumpSpace(), this.isEOF())
3250
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3287
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3251
3288
  switch (this.char()) {
3252
3289
  case 125:
3253
3290
  return this.bump(), {
@@ -3255,25 +3292,25 @@ var Wn = (
3255
3292
  type: _.argument,
3256
3293
  // value does not include the opening and closing braces.
3257
3294
  value: i,
3258
- location: g(n, this.clonePosition())
3295
+ location: d(n, this.clonePosition())
3259
3296
  },
3260
3297
  err: null
3261
3298
  };
3262
3299
  case 44:
3263
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3300
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3264
3301
  default:
3265
- return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3302
+ return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3266
3303
  }
3267
3304
  }, e.prototype.parseIdentifierIfPossible = function() {
3268
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3305
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3269
3306
  this.bumpTo(i);
3270
- var o = this.clonePosition(), s = g(t, o);
3307
+ var o = this.clonePosition(), s = d(t, o);
3271
3308
  return { value: n, location: s };
3272
3309
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3273
3310
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3274
3311
  switch (a) {
3275
3312
  case "":
3276
- return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, h));
3313
+ return this.error(b.EXPECT_ARGUMENT_TYPE, d(s, h));
3277
3314
  case "number":
3278
3315
  case "date":
3279
3316
  case "time": {
@@ -3284,37 +3321,37 @@ var Wn = (
3284
3321
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3285
3322
  if (c.err)
3286
3323
  return c;
3287
- var f = Xn(c.val);
3324
+ var f = zn(c.val);
3288
3325
  if (f.length === 0)
3289
- return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3290
- var p = g(l, this.clonePosition());
3291
- u = { style: f, styleLocation: p };
3326
+ return this.error(b.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3327
+ var m = d(l, this.clonePosition());
3328
+ u = { style: f, styleLocation: m };
3292
3329
  }
3293
- var y = this.tryParseArgumentClose(i);
3294
- if (y.err)
3295
- return y;
3296
- var m = g(i, this.clonePosition());
3330
+ var g = this.tryParseArgumentClose(i);
3331
+ if (g.err)
3332
+ return g;
3333
+ var p = d(i, this.clonePosition());
3297
3334
  if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3298
- var x = Vn(u.style.slice(2));
3335
+ var x = Wn(u.style.slice(2));
3299
3336
  if (a === "number") {
3300
3337
  var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3301
3338
  return c.err ? c : {
3302
- val: { type: _.number, value: n, location: m, style: c.val },
3339
+ val: { type: _.number, value: n, location: p, style: c.val },
3303
3340
  err: null
3304
3341
  };
3305
3342
  } else {
3306
3343
  if (x.length === 0)
3307
- return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
3308
- var P = x;
3309
- this.locale && (P = In(x, this.locale));
3344
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3345
+ var A = x;
3346
+ this.locale && (A = Mn(x, this.locale));
3310
3347
  var f = {
3311
3348
  type: Y.dateTime,
3312
- pattern: P,
3349
+ pattern: A,
3313
3350
  location: u.styleLocation,
3314
- parsedOptions: this.shouldParseSkeletons ? Sn(P) : {}
3315
- }, A = a === "date" ? _.date : _.time;
3351
+ parsedOptions: this.shouldParseSkeletons ? wn(A) : {}
3352
+ }, H = a === "date" ? _.date : _.time;
3316
3353
  return {
3317
- val: { type: A, value: n, location: m, style: f },
3354
+ val: { type: H, value: n, location: p, style: f },
3318
3355
  err: null
3319
3356
  };
3320
3357
  }
@@ -3323,7 +3360,7 @@ var Wn = (
3323
3360
  val: {
3324
3361
  type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3325
3362
  value: n,
3326
- location: m,
3363
+ location: p,
3327
3364
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3328
3365
  },
3329
3366
  err: null
@@ -3332,52 +3369,52 @@ var Wn = (
3332
3369
  case "plural":
3333
3370
  case "selectordinal":
3334
3371
  case "select": {
3335
- var S = this.clonePosition();
3372
+ var T = this.clonePosition();
3336
3373
  if (this.bumpSpace(), !this.bumpIf(","))
3337
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(S, v({}, S)));
3374
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, d(T, y({}, T)));
3338
3375
  this.bumpSpace();
3339
- var C = this.parseIdentifierIfPossible(), b = 0;
3340
- if (a !== "select" && C.value === "offset") {
3376
+ var v = this.parseIdentifierIfPossible(), S = 0;
3377
+ if (a !== "select" && v.value === "offset") {
3341
3378
  if (!this.bumpIf(":"))
3342
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3379
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3343
3380
  this.bumpSpace();
3344
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3381
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3345
3382
  if (c.err)
3346
3383
  return c;
3347
- this.bumpSpace(), C = this.parseIdentifierIfPossible(), b = c.val;
3384
+ this.bumpSpace(), v = this.parseIdentifierIfPossible(), S = c.val;
3348
3385
  }
3349
- var T = this.tryParsePluralOrSelectOptions(t, a, r, C);
3350
- if (T.err)
3351
- return T;
3352
- var y = this.tryParseArgumentClose(i);
3353
- if (y.err)
3354
- return y;
3355
- var H = g(i, this.clonePosition());
3386
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, v);
3387
+ if (M.err)
3388
+ return M;
3389
+ var g = this.tryParseArgumentClose(i);
3390
+ if (g.err)
3391
+ return g;
3392
+ var C = d(i, this.clonePosition());
3356
3393
  return a === "select" ? {
3357
3394
  val: {
3358
3395
  type: _.select,
3359
3396
  value: n,
3360
- options: Et(T.val),
3361
- location: H
3397
+ options: Et(M.val),
3398
+ location: C
3362
3399
  },
3363
3400
  err: null
3364
3401
  } : {
3365
3402
  val: {
3366
3403
  type: _.plural,
3367
3404
  value: n,
3368
- options: Et(T.val),
3369
- offset: b,
3405
+ options: Et(M.val),
3406
+ offset: S,
3370
3407
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3371
- location: H
3408
+ location: C
3372
3409
  },
3373
3410
  err: null
3374
3411
  };
3375
3412
  }
3376
3413
  default:
3377
- return this.error(d.INVALID_ARGUMENT_TYPE, g(s, h));
3414
+ return this.error(b.INVALID_ARGUMENT_TYPE, d(s, h));
3378
3415
  }
3379
3416
  }, e.prototype.tryParseArgumentClose = function(t) {
3380
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3417
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3381
3418
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3382
3419
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3383
3420
  var n = this.char();
@@ -3386,7 +3423,7 @@ var Wn = (
3386
3423
  this.bump();
3387
3424
  var i = this.clonePosition();
3388
3425
  if (!this.bumpUntil("'"))
3389
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3426
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
3390
3427
  this.bump();
3391
3428
  break;
3392
3429
  }
@@ -3416,16 +3453,16 @@ var Wn = (
3416
3453
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3417
3454
  var n = [];
3418
3455
  try {
3419
- n = Hn(t);
3456
+ n = An(t);
3420
3457
  } catch (i) {
3421
- return this.error(d.INVALID_NUMBER_SKELETON, r);
3458
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3422
3459
  }
3423
3460
  return {
3424
3461
  val: {
3425
3462
  type: Y.number,
3426
3463
  tokens: n,
3427
3464
  location: r,
3428
- parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3465
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3429
3466
  },
3430
3467
  err: null
3431
3468
  };
@@ -3434,34 +3471,34 @@ var Wn = (
3434
3471
  if (u.length === 0) {
3435
3472
  var c = this.clonePosition();
3436
3473
  if (r !== "select" && this.bumpIf("=")) {
3437
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3474
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3438
3475
  if (f.err)
3439
3476
  return f;
3440
- l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3477
+ l = d(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3441
3478
  } else
3442
3479
  break;
3443
3480
  }
3444
3481
  if (h.has(u))
3445
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3482
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3446
3483
  u === "other" && (s = !0), this.bumpSpace();
3447
- var p = this.clonePosition();
3484
+ var m = this.clonePosition();
3448
3485
  if (!this.bumpIf("{"))
3449
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3450
- var y = this.parseMessage(t + 1, r, n);
3451
- if (y.err)
3452
- return y;
3453
- var m = this.tryParseArgumentClose(p);
3454
- if (m.err)
3455
- return m;
3486
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3487
+ var g = this.parseMessage(t + 1, r, n);
3488
+ if (g.err)
3489
+ return g;
3490
+ var p = this.tryParseArgumentClose(m);
3491
+ if (p.err)
3492
+ return p;
3456
3493
  a.push([
3457
3494
  u,
3458
3495
  {
3459
- value: y.val,
3460
- location: g(p, this.clonePosition())
3496
+ value: g.val,
3497
+ location: d(m, this.clonePosition())
3461
3498
  }
3462
3499
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3463
3500
  }
3464
- return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3501
+ 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 };
3465
3502
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3466
3503
  var n = 1, i = this.clonePosition();
3467
3504
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3472,8 +3509,8 @@ var Wn = (
3472
3509
  else
3473
3510
  break;
3474
3511
  }
3475
- var h = g(i, this.clonePosition());
3476
- return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3512
+ var h = d(i, this.clonePosition());
3513
+ return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3477
3514
  }, e.prototype.offset = function() {
3478
3515
  return this.position.offset;
3479
3516
  }, e.prototype.isEOF = function() {
@@ -3539,43 +3576,44 @@ var Wn = (
3539
3576
  }, e;
3540
3577
  }()
3541
3578
  );
3542
- function Ve(e) {
3579
+ function Xe(e) {
3543
3580
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3544
3581
  }
3545
- function zn(e) {
3546
- return Ve(e) || e === 47;
3582
+ function Yn(e) {
3583
+ return Xe(e) || e === 47;
3547
3584
  }
3548
- function Zn(e) {
3585
+ function Qn(e) {
3549
3586
  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;
3550
3587
  }
3551
3588
  function nr(e) {
3552
3589
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3553
3590
  }
3554
- function Yn(e) {
3591
+ function Jn(e) {
3555
3592
  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;
3556
3593
  }
3557
- function Xe(e) {
3594
+ function We(e) {
3558
3595
  e.forEach(function(t) {
3559
3596
  if (delete t.location, zt(t) || Zt(t))
3560
3597
  for (var r in t.options)
3561
- delete t.options[r].location, Xe(t.options[r].value);
3562
- else Vt(t) && Qt(t.style) || (Xt(t) || Wt(t)) && Ge(t.style) ? delete t.style.location : Yt(t) && Xe(t.children);
3598
+ delete t.options[r].location, We(t.options[r].value);
3599
+ else
3600
+ Vt(t) && Qt(t.style) || (Xt(t) || Wt(t)) && Fe(t.style) ? delete t.style.location : Yt(t) && We(t.children);
3563
3601
  });
3564
3602
  }
3565
- function Qn(e, t) {
3566
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3567
- var r = new Wn(e, t).parse();
3603
+ function qn(e, t) {
3604
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3605
+ var r = new Zn(e, t).parse();
3568
3606
  if (r.err) {
3569
- var n = SyntaxError(d[r.err.kind]);
3607
+ var n = SyntaxError(b[r.err.kind]);
3570
3608
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3571
3609
  }
3572
- return t != null && t.captureLocation || Xe(r.val), r.val;
3610
+ return t != null && t.captureLocation || We(r.val), r.val;
3573
3611
  }
3574
3612
  var Q;
3575
3613
  (function(e) {
3576
3614
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3577
3615
  })(Q || (Q = {}));
3578
- var Ee = (
3616
+ var _e = (
3579
3617
  /** @class */
3580
3618
  function(e) {
3581
3619
  $(t, e);
@@ -3595,8 +3633,8 @@ var Ee = (
3595
3633
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3596
3634
  }
3597
3635
  return t;
3598
- }(Ee)
3599
- ), Jn = (
3636
+ }(_e)
3637
+ ), Kn = (
3600
3638
  /** @class */
3601
3639
  function(e) {
3602
3640
  $(t, e);
@@ -3604,8 +3642,8 @@ var Ee = (
3604
3642
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3605
3643
  }
3606
3644
  return t;
3607
- }(Ee)
3608
- ), qn = (
3645
+ }(_e)
3646
+ ), ei = (
3609
3647
  /** @class */
3610
3648
  function(e) {
3611
3649
  $(t, e);
@@ -3613,18 +3651,18 @@ var Ee = (
3613
3651
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3614
3652
  }
3615
3653
  return t;
3616
- }(Ee)
3654
+ }(_e)
3617
3655
  ), w;
3618
3656
  (function(e) {
3619
3657
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3620
3658
  })(w || (w = {}));
3621
- function Kn(e) {
3659
+ function ti(e) {
3622
3660
  return e.length < 2 ? e : e.reduce(function(t, r) {
3623
3661
  var n = t[t.length - 1];
3624
3662
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3625
3663
  }, []);
3626
3664
  }
3627
- function ei(e) {
3665
+ function ri(e) {
3628
3666
  return typeof e == "function";
3629
3667
  }
3630
3668
  function pe(e, t, r, n, i, o, s) {
@@ -3644,7 +3682,7 @@ function pe(e, t, r, n, i, o, s) {
3644
3682
  });
3645
3683
  continue;
3646
3684
  }
3647
- if (xn(l)) {
3685
+ if (Sn(l)) {
3648
3686
  typeof o == "number" && a.push({
3649
3687
  type: w.literal,
3650
3688
  value: r.getNumberFormat(t).format(o)
@@ -3653,9 +3691,9 @@ function pe(e, t, r, n, i, o, s) {
3653
3691
  }
3654
3692
  var c = l.value;
3655
3693
  if (!(i && c in i))
3656
- throw new qn(c, s);
3694
+ throw new ei(c, s);
3657
3695
  var f = i[c];
3658
- if (_n(l)) {
3696
+ if (Bn(l)) {
3659
3697
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3660
3698
  type: typeof f == "string" ? w.literal : w.object,
3661
3699
  value: f
@@ -3663,79 +3701,79 @@ function pe(e, t, r, n, i, o, s) {
3663
3701
  continue;
3664
3702
  }
3665
3703
  if (Xt(l)) {
3666
- var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3704
+ var m = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3667
3705
  a.push({
3668
3706
  type: w.literal,
3669
- value: r.getDateTimeFormat(t, p).format(f)
3707
+ value: r.getDateTimeFormat(t, m).format(f)
3670
3708
  });
3671
3709
  continue;
3672
3710
  }
3673
3711
  if (Wt(l)) {
3674
- var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3712
+ var m = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3675
3713
  a.push({
3676
3714
  type: w.literal,
3677
- value: r.getDateTimeFormat(t, p).format(f)
3715
+ value: r.getDateTimeFormat(t, m).format(f)
3678
3716
  });
3679
3717
  continue;
3680
3718
  }
3681
3719
  if (Vt(l)) {
3682
- var p = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3683
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3720
+ var m = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3721
+ m && m.scale && (f = f * (m.scale || 1)), a.push({
3684
3722
  type: w.literal,
3685
- value: r.getNumberFormat(t, p).format(f)
3723
+ value: r.getNumberFormat(t, m).format(f)
3686
3724
  });
3687
3725
  continue;
3688
3726
  }
3689
3727
  if (Yt(l)) {
3690
- var y = l.children, m = l.value, x = i[m];
3691
- if (!ei(x))
3692
- throw new Jn(m, "function", s);
3693
- var P = pe(y, t, r, n, i, o), A = x(P.map(function(b) {
3694
- return b.value;
3728
+ var g = l.children, p = l.value, x = i[p];
3729
+ if (!ri(x))
3730
+ throw new Kn(p, "function", s);
3731
+ var A = pe(g, t, r, n, i, o), H = x(A.map(function(S) {
3732
+ return S.value;
3695
3733
  }));
3696
- Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(b) {
3734
+ Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(S) {
3697
3735
  return {
3698
- type: typeof b == "string" ? w.literal : w.object,
3699
- value: b
3736
+ type: typeof S == "string" ? w.literal : w.object,
3737
+ value: S
3700
3738
  };
3701
3739
  }));
3702
3740
  }
3703
3741
  if (zt(l)) {
3704
- var S = l.options[f] || l.options.other;
3705
- if (!S)
3742
+ var T = l.options[f] || l.options.other;
3743
+ if (!T)
3706
3744
  throw new xt(l.value, f, Object.keys(l.options), s);
3707
- a.push.apply(a, pe(S.value, t, r, n, i));
3745
+ a.push.apply(a, pe(T.value, t, r, n, i));
3708
3746
  continue;
3709
3747
  }
3710
3748
  if (Zt(l)) {
3711
- var S = l.options["=".concat(f)];
3712
- if (!S) {
3749
+ var T = l.options["=".concat(f)];
3750
+ if (!T) {
3713
3751
  if (!Intl.PluralRules)
3714
- throw new Ee(`Intl.PluralRules is not available in this environment.
3752
+ throw new _e(`Intl.PluralRules is not available in this environment.
3715
3753
  Try polyfilling it using "@formatjs/intl-pluralrules"
3716
3754
  `, Q.MISSING_INTL_API, s);
3717
- var C = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3718
- S = l.options[C] || l.options.other;
3755
+ var v = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3756
+ T = l.options[v] || l.options.other;
3719
3757
  }
3720
- if (!S)
3758
+ if (!T)
3721
3759
  throw new xt(l.value, f, Object.keys(l.options), s);
3722
- a.push.apply(a, pe(S.value, t, r, n, i, f - (l.offset || 0)));
3760
+ a.push.apply(a, pe(T.value, t, r, n, i, f - (l.offset || 0)));
3723
3761
  continue;
3724
3762
  }
3725
3763
  }
3726
- return Kn(a);
3764
+ return ti(a);
3727
3765
  }
3728
- function ti(e, t) {
3729
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3730
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3766
+ function ni(e, t) {
3767
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3768
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3731
3769
  }, {})) : e;
3732
3770
  }
3733
- function ri(e, t) {
3771
+ function ii(e, t) {
3734
3772
  return t ? Object.keys(e).reduce(function(r, n) {
3735
- return r[n] = ti(e[n], t[n]), r;
3736
- }, v({}, e)) : e;
3773
+ return r[n] = ni(e[n], t[n]), r;
3774
+ }, y({}, e)) : e;
3737
3775
  }
3738
- function Oe(e) {
3776
+ function Ie(e) {
3739
3777
  return {
3740
3778
  create: function() {
3741
3779
  return {
@@ -3749,39 +3787,39 @@ function Oe(e) {
3749
3787
  }
3750
3788
  };
3751
3789
  }
3752
- function ni(e) {
3790
+ function oi(e) {
3753
3791
  return e === void 0 && (e = {
3754
3792
  number: {},
3755
3793
  dateTime: {},
3756
3794
  pluralRules: {}
3757
3795
  }), {
3758
- getNumberFormat: we(function() {
3796
+ getNumberFormat: Ae(function() {
3759
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3760
3798
  r[n] = arguments[n];
3761
3799
  return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
3762
3800
  }, {
3763
- cache: Oe(e.number),
3764
- strategy: Ae.variadic
3801
+ cache: Ie(e.number),
3802
+ strategy: Pe.variadic
3765
3803
  }),
3766
- getDateTimeFormat: we(function() {
3804
+ getDateTimeFormat: Ae(function() {
3767
3805
  for (var t, r = [], n = 0; n < arguments.length; n++)
3768
3806
  r[n] = arguments[n];
3769
3807
  return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
3770
3808
  }, {
3771
- cache: Oe(e.dateTime),
3772
- strategy: Ae.variadic
3809
+ cache: Ie(e.dateTime),
3810
+ strategy: Pe.variadic
3773
3811
  }),
3774
- getPluralRules: we(function() {
3812
+ getPluralRules: Ae(function() {
3775
3813
  for (var t, r = [], n = 0; n < arguments.length; n++)
3776
3814
  r[n] = arguments[n];
3777
3815
  return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
3778
3816
  }, {
3779
- cache: Oe(e.pluralRules),
3780
- strategy: Ae.variadic
3817
+ cache: Ie(e.pluralRules),
3818
+ strategy: Pe.variadic
3781
3819
  })
3782
3820
  };
3783
3821
  }
3784
- var ii = (
3822
+ var si = (
3785
3823
  /** @class */
3786
3824
  function() {
3787
3825
  function e(t, r, n, i) {
@@ -3813,13 +3851,13 @@ var ii = (
3813
3851
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3814
3852
  var s = i || {};
3815
3853
  s.formatters;
3816
- var a = $r(s, ["formatters"]);
3817
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3854
+ var a = Dr(s, ["formatters"]);
3855
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3818
3856
  } else
3819
3857
  this.ast = t;
3820
3858
  if (!Array.isArray(this.ast))
3821
3859
  throw new TypeError("A message must be provided as a String or AST.");
3822
- this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3860
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3823
3861
  }
3824
3862
  return Object.defineProperty(e, "defaultLocale", {
3825
3863
  get: function() {
@@ -3832,7 +3870,7 @@ var ii = (
3832
3870
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3833
3871
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3834
3872
  }
3835
- }, e.__parse = Qn, e.formats = {
3873
+ }, e.__parse = qn, e.formats = {
3836
3874
  number: {
3837
3875
  integer: {
3838
3876
  maximumFractionDigits: 0
@@ -3893,7 +3931,7 @@ var ii = (
3893
3931
  }, e;
3894
3932
  }()
3895
3933
  );
3896
- function oi(e, t) {
3934
+ function ai(e, t) {
3897
3935
  if (t == null)
3898
3936
  return;
3899
3937
  if (t in e)
@@ -3914,36 +3952,36 @@ function oi(e, t) {
3914
3952
  n = void 0;
3915
3953
  return n;
3916
3954
  }
3917
- const R = {}, si = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), ir = (e, t) => {
3955
+ const D = {}, ui = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), ir = (e, t) => {
3918
3956
  if (t == null)
3919
3957
  return;
3920
- if (t in R && e in R[t])
3921
- return R[t][e];
3922
- const r = _e(t);
3958
+ if (t in D && e in D[t])
3959
+ return D[t][e];
3960
+ const r = xe(t);
3923
3961
  for (let n = 0; n < r.length; n++) {
3924
- const i = r[n], o = ui(i, e);
3962
+ const i = r[n], o = li(i, e);
3925
3963
  if (o)
3926
- return si(e, t, o);
3964
+ return ui(e, t, o);
3927
3965
  }
3928
3966
  };
3929
3967
  let Ke;
3930
- const ue = ve({});
3931
- function ai(e) {
3968
+ const he = Ee({});
3969
+ function hi(e) {
3932
3970
  return Ke[e] || null;
3933
3971
  }
3934
3972
  function or(e) {
3935
3973
  return e in Ke;
3936
3974
  }
3937
- function ui(e, t) {
3975
+ function li(e, t) {
3938
3976
  if (!or(e))
3939
3977
  return null;
3940
- const r = ai(e);
3941
- return oi(r, t);
3978
+ const r = hi(e);
3979
+ return ai(r, t);
3942
3980
  }
3943
- function hi(e) {
3981
+ function ci(e) {
3944
3982
  if (e == null)
3945
3983
  return;
3946
- const t = _e(e);
3984
+ const t = xe(e);
3947
3985
  for (let r = 0; r < t.length; r++) {
3948
3986
  const n = t[r];
3949
3987
  if (or(n))
@@ -3951,55 +3989,55 @@ function hi(e) {
3951
3989
  }
3952
3990
  }
3953
3991
  function sr(e, ...t) {
3954
- delete R[e], ue.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3992
+ delete D[e], he.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3955
3993
  }
3956
3994
  q(
3957
- [ue],
3995
+ [he],
3958
3996
  ([e]) => Object.keys(e)
3959
3997
  );
3960
- ue.subscribe((e) => Ke = e);
3961
- const me = {};
3962
- function li(e, t) {
3963
- me[e].delete(t), me[e].size === 0 && delete me[e];
3998
+ he.subscribe((e) => Ke = e);
3999
+ const be = {};
4000
+ function fi(e, t) {
4001
+ be[e].delete(t), be[e].size === 0 && delete be[e];
3964
4002
  }
3965
4003
  function ar(e) {
3966
- return me[e];
4004
+ return be[e];
3967
4005
  }
3968
- function ci(e) {
3969
- return _e(e).map((t) => {
4006
+ function mi(e) {
4007
+ return xe(e).map((t) => {
3970
4008
  const r = ar(t);
3971
4009
  return [t, r ? [...r] : []];
3972
4010
  }).filter(([, t]) => t.length > 0);
3973
4011
  }
3974
- function We(e) {
3975
- return e == null ? !1 : _e(e).some(
4012
+ function ze(e) {
4013
+ return e == null ? !1 : xe(e).some(
3976
4014
  (t) => {
3977
4015
  var r;
3978
4016
  return (r = ar(t)) == null ? void 0 : r.size;
3979
4017
  }
3980
4018
  );
3981
4019
  }
3982
- function fi(e, t) {
4020
+ function pi(e, t) {
3983
4021
  return Promise.all(
3984
- t.map((n) => (li(e, n), n().then((i) => i.default || i)))
4022
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3985
4023
  ).then((n) => sr(e, ...n));
3986
4024
  }
3987
4025
  const te = {};
3988
4026
  function ur(e) {
3989
- if (!We(e))
4027
+ if (!ze(e))
3990
4028
  return e in te ? te[e] : Promise.resolve();
3991
- const t = ci(e);
4029
+ const t = mi(e);
3992
4030
  return te[e] = Promise.all(
3993
4031
  t.map(
3994
- ([r, n]) => fi(r, n)
4032
+ ([r, n]) => pi(r, n)
3995
4033
  )
3996
4034
  ).then(() => {
3997
- if (We(e))
4035
+ if (ze(e))
3998
4036
  return ur(e);
3999
4037
  delete te[e];
4000
4038
  }), te[e];
4001
4039
  }
4002
- const pi = {
4040
+ const bi = {
4003
4041
  number: {
4004
4042
  scientific: { notation: "scientific" },
4005
4043
  engineering: { notation: "engineering" },
@@ -4028,135 +4066,135 @@ const pi = {
4028
4066
  timeZoneName: "short"
4029
4067
  }
4030
4068
  }
4031
- }, mi = {
4069
+ }, di = {
4032
4070
  fallbackLocale: null,
4033
4071
  loadingDelay: 200,
4034
- formats: pi,
4072
+ formats: bi,
4035
4073
  warnOnMissingMessages: !0,
4036
4074
  handleMissingMessage: void 0,
4037
4075
  ignoreTag: !0
4038
- }, bi = mi;
4076
+ }, gi = di;
4039
4077
  function J() {
4040
- return bi;
4078
+ return gi;
4041
4079
  }
4042
- const Ie = ve(!1);
4043
- var di = Object.defineProperty, gi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4080
+ const Ne = Ee(!1);
4081
+ var yi = Object.defineProperty, vi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
4044
4082
  for (var r in t || (t = {}))
4045
- vi.call(t, r) && St(e, r, t[r]);
4083
+ _i.call(t, r) && St(e, r, t[r]);
4046
4084
  if (Bt)
4047
4085
  for (var r of Bt(t))
4048
- Ei.call(t, r) && St(e, r, t[r]);
4086
+ xi.call(t, r) && St(e, r, t[r]);
4049
4087
  return e;
4050
- }, xi = (e, t) => gi(e, yi(t));
4051
- let ze;
4052
- const be = ve(null);
4088
+ }, Si = (e, t) => vi(e, Ei(t));
4089
+ let Ze;
4090
+ const de = Ee(null);
4053
4091
  function Tt(e) {
4054
4092
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4055
4093
  }
4056
- function _e(e, t = J().fallbackLocale) {
4094
+ function xe(e, t = J().fallbackLocale) {
4057
4095
  const r = Tt(e);
4058
4096
  return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4059
4097
  }
4060
4098
  function F() {
4061
- return ze != null ? ze : void 0;
4099
+ return Ze != null ? Ze : void 0;
4062
4100
  }
4063
- be.subscribe((e) => {
4064
- ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4101
+ de.subscribe((e) => {
4102
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4065
4103
  });
4066
- const Bi = (e) => {
4067
- if (e && hi(e) && We(e)) {
4104
+ const Ti = (e) => {
4105
+ if (e && ci(e) && ze(e)) {
4068
4106
  const { loadingDelay: t } = J();
4069
4107
  let r;
4070
4108
  return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
4071
- () => Ie.set(!0),
4109
+ () => Ne.set(!0),
4072
4110
  t
4073
- ) : Ie.set(!0), ur(e).then(() => {
4074
- be.set(e);
4111
+ ) : Ne.set(!0), ur(e).then(() => {
4112
+ de.set(e);
4075
4113
  }).finally(() => {
4076
- clearTimeout(r), Ie.set(!1);
4114
+ clearTimeout(r), Ne.set(!1);
4077
4115
  });
4078
4116
  }
4079
- return be.set(e);
4080
- }, K = xi(_i({}, be), {
4081
- set: Bi
4082
- }), xe = (e) => {
4117
+ return de.set(e);
4118
+ }, K = Si(Bi({}, de), {
4119
+ set: Ti
4120
+ }), Be = (e) => {
4083
4121
  const t = /* @__PURE__ */ Object.create(null);
4084
4122
  return (n) => {
4085
4123
  const i = JSON.stringify(n);
4086
4124
  return i in t ? t[i] : t[i] = e(n);
4087
4125
  };
4088
4126
  };
4089
- var Si = Object.defineProperty, de = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4127
+ var wi = Object.defineProperty, ge = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4090
4128
  for (var r in t || (t = {}))
4091
- hr.call(t, r) && Ht(e, r, t[r]);
4092
- if (de)
4093
- for (var r of de(t))
4094
- lr.call(t, r) && Ht(e, r, t[r]);
4129
+ hr.call(t, r) && wt(e, r, t[r]);
4130
+ if (ge)
4131
+ for (var r of ge(t))
4132
+ lr.call(t, r) && wt(e, r, t[r]);
4095
4133
  return e;
4096
4134
  }, ee = (e, t) => {
4097
4135
  var r = {};
4098
4136
  for (var n in e)
4099
4137
  hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4100
- if (e != null && de)
4101
- for (var n of de(e))
4138
+ if (e != null && ge)
4139
+ for (var n of ge(e))
4102
4140
  t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4103
4141
  return r;
4104
4142
  };
4105
- const se = (e, t) => {
4143
+ const ae = (e, t) => {
4106
4144
  const { formats: r } = J();
4107
4145
  if (e in r && t in r[e])
4108
4146
  return r[e][t];
4109
4147
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4110
- }, Ti = xe(
4148
+ }, Hi = Be(
4111
4149
  (e) => {
4112
4150
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4113
4151
  if (r == null)
4114
4152
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4115
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4153
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4116
4154
  }
4117
- ), Hi = xe(
4155
+ ), Ai = Be(
4118
4156
  (e) => {
4119
4157
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4120
4158
  if (r == null)
4121
4159
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4122
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4160
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4123
4161
  }
4124
- ), wi = xe(
4162
+ ), Pi = Be(
4125
4163
  (e) => {
4126
4164
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4127
4165
  if (r == null)
4128
4166
  throw new Error(
4129
4167
  '[svelte-i18n] A "locale" must be set to format time values'
4130
4168
  );
4131
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4169
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4132
4170
  }
4133
- ), Ai = (e = {}) => {
4171
+ ), Oi = (e = {}) => {
4134
4172
  var t = e, {
4135
4173
  locale: r = F()
4136
4174
  } = t, n = ee(t, [
4137
4175
  "locale"
4138
4176
  ]);
4139
- return Ti(et({ locale: r }, n));
4140
- }, Pi = (e = {}) => {
4177
+ return Hi(et({ locale: r }, n));
4178
+ }, Ii = (e = {}) => {
4141
4179
  var t = e, {
4142
4180
  locale: r = F()
4143
4181
  } = t, n = ee(t, [
4144
4182
  "locale"
4145
4183
  ]);
4146
- return Hi(et({ locale: r }, n));
4147
- }, Oi = (e = {}) => {
4184
+ return Ai(et({ locale: r }, n));
4185
+ }, Ni = (e = {}) => {
4148
4186
  var t = e, {
4149
4187
  locale: r = F()
4150
4188
  } = t, n = ee(t, [
4151
4189
  "locale"
4152
4190
  ]);
4153
- return wi(et({ locale: r }, n));
4154
- }, Ii = xe(
4191
+ return Pi(et({ locale: r }, n));
4192
+ }, Mi = Be(
4155
4193
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4156
- (e, t = F()) => new ii(e, t, J().formats, {
4194
+ (e, t = F()) => new si(e, t, J().formats, {
4157
4195
  ignoreTag: J().ignoreTag
4158
4196
  })
4159
- ), Ni = (e, t = {}) => {
4197
+ ), Ci = (e, t = {}) => {
4160
4198
  var r, n, i, o;
4161
4199
  let s = t;
4162
4200
  typeof e == "object" && (s = e, e = s.id);
@@ -4180,7 +4218,7 @@ const se = (e, t) => {
4180
4218
  return l;
4181
4219
  let c = l;
4182
4220
  try {
4183
- c = Ii(l, h).format(a);
4221
+ c = Mi(l, h).format(a);
4184
4222
  } catch (f) {
4185
4223
  f instanceof Error && console.warn(
4186
4224
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4188,17 +4226,17 @@ const se = (e, t) => {
4188
4226
  );
4189
4227
  }
4190
4228
  return c;
4191
- }, Ci = (e, t) => Oi(t).format(e), Mi = (e, t) => Pi(t).format(e), Li = (e, t) => Ai(t).format(e), $i = (e, t = F()) => ir(e, t), Ri = q([K, ue], () => Ni);
4192
- q([K], () => Ci);
4193
- q([K], () => Mi);
4229
+ }, Li = (e, t) => Ni(t).format(e), $i = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), Di = (e, t = F()) => ir(e, t), Ui = q([K, he], () => Ci);
4194
4230
  q([K], () => Li);
4195
- q([K, ue], () => $i);
4196
- window.emWidgets = { topic: Qr };
4197
- const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4198
- function wt(e, t) {
4231
+ q([K], () => $i);
4232
+ q([K], () => Ri);
4233
+ q([K, he], () => Di);
4234
+ window.emWidgets = { topic: qr };
4235
+ const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4236
+ function Ht(e, t) {
4199
4237
  sr(e, t);
4200
4238
  }
4201
- function Ui(e) {
4239
+ function Fi(e) {
4202
4240
  K.set(e);
4203
4241
  }
4204
4242
  const At = {
@@ -4280,47 +4318,70 @@ const At = {
4280
4318
  btnDisableBiometrics: "Disable biometrics"
4281
4319
  }
4282
4320
  };
4283
- function Gi(e) {
4321
+ function ji(e, t) {
4322
+ if (e) {
4323
+ const r = document.createElement("style");
4324
+ r.innerHTML = t, e.appendChild(r);
4325
+ }
4326
+ }
4327
+ function ki(e, t) {
4328
+ const r = new URL(t);
4329
+ fetch(r.href).then((n) => n.text()).then((n) => {
4330
+ const i = document.createElement("style");
4331
+ i.innerHTML = n, e && e.appendChild(i);
4332
+ }).catch((n) => {
4333
+ console.error("There was an error while trying to load client styling from URL", n);
4334
+ });
4335
+ }
4336
+ function Vi(e, t, r) {
4337
+ if (window.emMessageBus) {
4338
+ const n = document.createElement("style");
4339
+ window.emMessageBus.subscribe(t, (i) => {
4340
+ n.innerHTML = i, e && e.appendChild(n);
4341
+ });
4342
+ }
4343
+ }
4344
+ function Xi(e) {
4284
4345
  yr(e, "svelte-1cpvxby", ".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, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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}");
4285
4346
  }
4286
- function Fi(e) {
4347
+ function Wi(e) {
4287
4348
  let t, r, n, i, o, s, a, h, u, l, c = (
4288
4349
  /*$_*/
4289
4350
  e[2]("titleBiometrics") + ""
4290
- ), f, p, y;
4351
+ ), f, m, g;
4291
4352
  return {
4292
4353
  c() {
4293
- t = N("div"), r = j("svg"), n = j("defs"), i = j("style"), o = G(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), s = j("g"), a = j("g"), h = j("path"), u = re(), l = N("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");
4354
+ 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, #D0046C));}"), 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");
4294
4355
  },
4295
- m(m, x) {
4296
- Ye(m, 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), p || (y = Nt(
4356
+ m(p, x) {
4357
+ Qe(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 = Nt(
4297
4358
  t,
4298
4359
  "click",
4299
4360
  /*click_handler*/
4300
- e[10]
4301
- ), p = !0);
4361
+ e[11]
4362
+ ), m = !0);
4302
4363
  },
4303
- p(m, x) {
4364
+ p(p, x) {
4304
4365
  x & /*$_*/
4305
4366
  4 && c !== (c = /*$_*/
4306
- m[2]("titleBiometrics") + "") && ne(f, c);
4367
+ p[2]("titleBiometrics") + "") && ne(f, c);
4307
4368
  },
4308
- d(m) {
4309
- m && ge(t), p = !1, y();
4369
+ d(p) {
4370
+ p && ye(t), m = !1, g();
4310
4371
  }
4311
4372
  };
4312
4373
  }
4313
- function ji(e) {
4374
+ function zi(e) {
4314
4375
  let t, r, n, i, o = (
4315
4376
  /*$_*/
4316
4377
  e[2]("titleBiometrics") + ""
4317
4378
  ), s, a, h, u, l = (
4318
4379
  /*$_*/
4319
4380
  e[2]("descriptionParagraph1") + ""
4320
- ), c, f, p, y = (
4381
+ ), c, f, m, g = (
4321
4382
  /*$_*/
4322
4383
  e[2]("descriptionParagraph2") + ""
4323
- ), m, x, P, A, S = (
4384
+ ), p, x, A, H, T = (
4324
4385
  /*biometricsenabled*/
4325
4386
  (e[0] === "true" ? (
4326
4387
  /*$_*/
@@ -4329,175 +4390,174 @@ function ji(e) {
4329
4390
  /*$_*/
4330
4391
  e[2]("btnEnableBiometrics")
4331
4392
  )) + ""
4332
- ), C, b, T, H = (
4393
+ ), v, S, M, C = (
4333
4394
  /*isMobile*/
4334
- e[3] && Fi(e)
4395
+ e[3] && Wi(e)
4335
4396
  );
4336
4397
  return {
4337
4398
  c() {
4338
- t = N("div"), r = N("div"), H && H.c(), n = re(), i = N("h2"), s = G(o), a = re(), h = N("div"), u = N("p"), c = G(l), f = re(), p = N("p"), m = G(y), x = re(), P = N("div"), A = N("button"), C = G(S), B(i, "class", "BiometricsTitle " + /*isMobile*/
4399
+ t = I("div"), r = I("div"), C && C.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*/
4339
4400
  (e[3] ? "BiometricsTitleNone" : "")), B(h, "class", "BiometricsDescription " + /*isMobile*/
4340
- (e[3] ? "BiometricsDescriptionMobile" : "")), B(A, "class", "BiometricsToggle"), B(P, "class", "BiometricsActionButtons " + /*isMobile*/
4401
+ (e[3] ? "BiometricsDescriptionMobile" : "")), B(H, "class", "BiometricsToggle"), B(A, "class", "BiometricsActionButtons " + /*isMobile*/
4341
4402
  (e[3] ? "BiometricsActionButtonsMobile" : "")), B(r, "class", "BiometricsWrapper " + /*isMobile*/
4342
4403
  (e[3] ? "BiometricsWrapperMobile" : ""));
4343
4404
  },
4344
- m(O, D) {
4345
- Ye(O, t, D), E(t, r), H && H.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, p), E(p, m), E(r, x), E(r, P), E(P, A), E(A, C), e[12](t), b || (T = Nt(
4346
- A,
4405
+ m(P, U) {
4406
+ Qe(P, t, U), E(t, r), C && C.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 = Nt(
4407
+ H,
4347
4408
  "click",
4348
4409
  /*click_handler_1*/
4349
- e[11]
4350
- ), b = !0);
4410
+ e[12]
4411
+ ), S = !0);
4351
4412
  },
4352
- p(O, [D]) {
4413
+ p(P, [U]) {
4353
4414
  /*isMobile*/
4354
- O[3] && H.p(O, D), D & /*$_*/
4415
+ P[3] && C.p(P, U), U & /*$_*/
4355
4416
  4 && o !== (o = /*$_*/
4356
- O[2]("titleBiometrics") + "") && ne(s, o), D & /*$_*/
4417
+ P[2]("titleBiometrics") + "") && ne(s, o), U & /*$_*/
4357
4418
  4 && l !== (l = /*$_*/
4358
- O[2]("descriptionParagraph1") + "") && ne(c, l), D & /*$_*/
4359
- 4 && y !== (y = /*$_*/
4360
- O[2]("descriptionParagraph2") + "") && ne(m, y), D & /*biometricsenabled, $_*/
4361
- 5 && S !== (S = /*biometricsenabled*/
4362
- (O[0] === "true" ? (
4419
+ P[2]("descriptionParagraph1") + "") && ne(c, l), U & /*$_*/
4420
+ 4 && g !== (g = /*$_*/
4421
+ P[2]("descriptionParagraph2") + "") && ne(p, g), U & /*biometricsenabled, $_*/
4422
+ 5 && T !== (T = /*biometricsenabled*/
4423
+ (P[0] === "true" ? (
4363
4424
  /*$_*/
4364
- O[2]("btnDisableBiometrics")
4425
+ P[2]("btnDisableBiometrics")
4365
4426
  ) : (
4366
4427
  /*$_*/
4367
- O[2]("btnEnableBiometrics")
4368
- )) + "") && ne(C, S);
4428
+ P[2]("btnEnableBiometrics")
4429
+ )) + "") && ne(v, T);
4369
4430
  },
4370
- i: M,
4371
- o: M,
4372
- d(O) {
4373
- O && ge(t), H && H.d(), e[12](null), b = !1, T();
4431
+ i: N,
4432
+ o: N,
4433
+ d(P) {
4434
+ P && ye(t), C && C.d(), e[13](null), S = !1, M();
4374
4435
  }
4375
4436
  };
4376
4437
  }
4377
- function ki(e, t, r) {
4438
+ function Zi(e, t, r) {
4378
4439
  let n;
4379
- gr(e, Ri, (b) => r(2, n = b));
4380
- let { biometricsenabled: i = "false" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: h = "" } = t, u, l = window.navigator.userAgent, c = Di(l) !== "PC";
4381
- const f = () => {
4382
- fetch(h).then((T) => T.json()).then((T) => {
4383
- Object.keys(T).forEach((H) => {
4384
- wt(H, T[H]);
4440
+ gr(e, Ui, (v) => r(2, n = v));
4441
+ 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 = Gi(c) !== "PC";
4442
+ const m = () => {
4443
+ fetch(u).then((S) => S.json()).then((S) => {
4444
+ Object.keys(S).forEach((M) => {
4445
+ Ht(M, S[M]);
4385
4446
  });
4386
- }).catch((T) => {
4387
- console.log(T);
4447
+ }).catch((S) => {
4448
+ console.log(S);
4388
4449
  });
4389
4450
  };
4390
- Object.keys(At).forEach((b) => {
4391
- wt(b, At[b]);
4451
+ Object.keys(At).forEach((v) => {
4452
+ Ht(v, At[v]);
4392
4453
  });
4393
- const p = () => {
4394
- let b = document.createElement("style");
4395
- b.innerHTML = s, u.appendChild(b);
4396
- }, y = () => {
4397
- let b = new URL(a), T = document.createElement("style");
4398
- fetch(b.href).then((H) => H.text()).then((H) => {
4399
- T.innerHTML = H, setTimeout(
4400
- () => {
4401
- u.appendChild(T);
4402
- },
4403
- 1
4404
- );
4405
- });
4406
- }, m = () => {
4407
- Ui(o);
4408
- }, x = () => {
4454
+ const g = () => {
4455
+ Fi(o);
4456
+ }, p = () => {
4409
4457
  window.postMessage(
4410
4458
  {
4411
4459
  type: "PlayerAccountMenuActive",
4412
- isMobile: c
4460
+ isMobile: f
4413
4461
  },
4414
4462
  window.location.href
4415
4463
  );
4416
- }, P = () => {
4464
+ }, x = () => {
4417
4465
  i === "true" ? r(0, i = "false") : i === "false" && r(0, i = "true"), window.postMessage({
4418
4466
  type: "ToggleBiometrics",
4419
4467
  data: i
4420
4468
  });
4421
- }, A = () => x(), S = () => P();
4422
- function C(b) {
4423
- Ne[b ? "unshift" : "push"](() => {
4424
- u = b, r(1, u);
4469
+ };
4470
+ Sr(() => () => {
4471
+ });
4472
+ const A = () => p(), H = () => x();
4473
+ function T(v) {
4474
+ Me[v ? "unshift" : "push"](() => {
4475
+ l = v, r(1, l);
4425
4476
  });
4426
4477
  }
4427
- return e.$$set = (b) => {
4428
- "biometricsenabled" in b && r(0, i = b.biometricsenabled), "lang" in b && r(6, o = b.lang), "clientstyling" in b && r(7, s = b.clientstyling), "clientstylingurl" in b && r(8, a = b.clientstylingurl), "translationurl" in b && r(9, h = b.translationurl);
4478
+ return e.$$set = (v) => {
4479
+ "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);
4429
4480
  }, e.$$.update = () => {
4430
4481
  e.$$.dirty & /*lang*/
4431
- 64 && o && m(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4432
- 258 && a && u && y(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4433
- 130 && s && u && p(), e.$$.dirty & /*translationurl*/
4434
- 512 && h && f();
4482
+ 64 && o && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4483
+ 130 && s && l && ji(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4484
+ 258 && a && l && ki(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4485
+ 514 && h && l && Vi(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
4486
+ 1024 && u && m();
4435
4487
  }, [
4436
4488
  i,
4437
- u,
4489
+ l,
4438
4490
  n,
4439
- c,
4491
+ f,
4492
+ p,
4440
4493
  x,
4441
- P,
4442
4494
  o,
4443
4495
  s,
4444
4496
  a,
4445
4497
  h,
4498
+ u,
4446
4499
  A,
4447
- S,
4448
- C
4500
+ H,
4501
+ T
4449
4502
  ];
4450
4503
  }
4451
- class Vi extends Mr {
4504
+ class Yi extends $r {
4452
4505
  constructor(t) {
4453
- super(), Nr(
4506
+ super(), Cr(
4454
4507
  this,
4455
4508
  t,
4456
- ki,
4457
- ji,
4509
+ Zi,
4510
+ zi,
4458
4511
  Ot,
4459
4512
  {
4460
4513
  biometricsenabled: 0,
4461
4514
  lang: 6,
4462
4515
  clientstyling: 7,
4463
4516
  clientstylingurl: 8,
4464
- translationurl: 9
4517
+ mbsource: 9,
4518
+ translationurl: 10
4465
4519
  },
4466
- Gi
4520
+ Xi
4467
4521
  );
4468
4522
  }
4469
4523
  get biometricsenabled() {
4470
4524
  return this.$$.ctx[0];
4471
4525
  }
4472
4526
  set biometricsenabled(t) {
4473
- this.$$set({ biometricsenabled: t }), U();
4527
+ this.$$set({ biometricsenabled: t }), R();
4474
4528
  }
4475
4529
  get lang() {
4476
4530
  return this.$$.ctx[6];
4477
4531
  }
4478
4532
  set lang(t) {
4479
- this.$$set({ lang: t }), U();
4533
+ this.$$set({ lang: t }), R();
4480
4534
  }
4481
4535
  get clientstyling() {
4482
4536
  return this.$$.ctx[7];
4483
4537
  }
4484
4538
  set clientstyling(t) {
4485
- this.$$set({ clientstyling: t }), U();
4539
+ this.$$set({ clientstyling: t }), R();
4486
4540
  }
4487
4541
  get clientstylingurl() {
4488
4542
  return this.$$.ctx[8];
4489
4543
  }
4490
4544
  set clientstylingurl(t) {
4491
- this.$$set({ clientstylingurl: t }), U();
4545
+ this.$$set({ clientstylingurl: t }), R();
4492
4546
  }
4493
- get translationurl() {
4547
+ get mbsource() {
4494
4548
  return this.$$.ctx[9];
4495
4549
  }
4550
+ set mbsource(t) {
4551
+ this.$$set({ mbsource: t }), R();
4552
+ }
4553
+ get translationurl() {
4554
+ return this.$$.ctx[10];
4555
+ }
4496
4556
  set translationurl(t) {
4497
- this.$$set({ translationurl: t }), U();
4557
+ this.$$set({ translationurl: t }), R();
4498
4558
  }
4499
4559
  }
4500
- Cr(Vi, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4560
+ Lr(Yi, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4501
4561
  export {
4502
- Vi as default
4562
+ Yi as default
4503
4563
  };