@everymatrix/player-account-closure 1.77.19 → 1.77.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
1
  import "../stencil/ui-skeleton-hI4GeaLk.js";
2
2
  function O() {
3
3
  }
4
- function Bt(e) {
4
+ function wt(e) {
5
5
  return e();
6
6
  }
7
- function nt() {
7
+ function Je() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function K(e) {
11
- e.forEach(Bt);
10
+ function ee(e) {
11
+ e.forEach(wt);
12
12
  }
13
- function Ke(e) {
13
+ function Ze(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function Ht(e, t) {
16
+ function Ct(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
- function ur(e) {
19
+ function nr(e) {
20
20
  return Object.keys(e).length === 0;
21
21
  }
22
- function Mt(e, ...t) {
22
+ function At(e, ...t) {
23
23
  if (e == null) {
24
24
  for (const n of t)
25
25
  n(void 0);
@@ -28,20 +28,20 @@ function Mt(e, ...t) {
28
28
  const r = e.subscribe(...t);
29
29
  return r.unsubscribe ? () => r.unsubscribe() : r;
30
30
  }
31
- function lr(e, t, r) {
32
- e.$$.on_destroy.push(Mt(t, r));
31
+ function ir(e, t, r) {
32
+ e.$$.on_destroy.push(At(t, r));
33
33
  }
34
34
  function g(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function cr(e, t, r) {
38
- const n = hr(e);
37
+ function or(e, t, r) {
38
+ const n = sr(e);
39
39
  if (!n.getElementById(t)) {
40
40
  const i = B("style");
41
- i.id = t, i.textContent = r, fr(n, i);
41
+ i.id = t, i.textContent = r, ar(n, i);
42
42
  }
43
43
  }
44
- function hr(e) {
44
+ function sr(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +51,7 @@ function hr(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function fr(e, t) {
54
+ function ar(e, t) {
55
55
  return g(
56
56
  /** @type {Document} */
57
57
  e.head || e,
@@ -64,14 +64,14 @@ function F(e, t, r) {
64
64
  function R(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function pr(e, t) {
67
+ function ur(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
71
71
  function B(e) {
72
72
  return document.createElement(e);
73
73
  }
74
- function k(e) {
74
+ function j(e) {
75
75
  return document.createElementNS("http://www.w3.org/2000/svg", e);
76
76
  }
77
77
  function $(e) {
@@ -83,17 +83,17 @@ function U() {
83
83
  function ve(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
- function x(e, t, r) {
86
+ function _(e, t, r) {
87
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
88
88
  }
89
- function dr(e) {
89
+ function lr(e) {
90
90
  return Array.from(e.childNodes);
91
91
  }
92
92
  function X(e, t) {
93
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
94
94
  t);
95
95
  }
96
- function mr(e) {
96
+ function cr(e) {
97
97
  const t = {};
98
98
  return e.childNodes.forEach(
99
99
  /** @param {Element} node */
@@ -102,90 +102,90 @@ function mr(e) {
102
102
  }
103
103
  ), t;
104
104
  }
105
- let oe;
106
- function ie(e) {
107
- oe = e;
105
+ let se;
106
+ function oe(e) {
107
+ se = e;
108
108
  }
109
- function br() {
110
- if (!oe)
109
+ function hr() {
110
+ if (!se)
111
111
  throw new Error("Function called outside component initialization");
112
- return oe;
112
+ return se;
113
113
  }
114
- function vr(e) {
115
- br().$$.on_mount.push(e);
114
+ function fr(e) {
115
+ hr().$$.on_mount.push(e);
116
116
  }
117
- const V = [], Le = [];
117
+ const V = [], Oe = [];
118
118
  let Z = [];
119
- const it = [], gr = /* @__PURE__ */ Promise.resolve();
120
- let $e = !1;
121
- function yr() {
122
- $e || ($e = !0, gr.then(D));
119
+ const Ke = [], pr = /* @__PURE__ */ Promise.resolve();
120
+ let Ie = !1;
121
+ function dr() {
122
+ Ie || (Ie = !0, pr.then(D));
123
123
  }
124
- function Re(e) {
124
+ function Ne(e) {
125
125
  Z.push(e);
126
126
  }
127
- const Te = /* @__PURE__ */ new Set();
127
+ const Ae = /* @__PURE__ */ new Set();
128
128
  let W = 0;
129
129
  function D() {
130
130
  if (W !== 0)
131
131
  return;
132
- const e = oe;
132
+ const e = se;
133
133
  do {
134
134
  try {
135
135
  for (; W < V.length; ) {
136
136
  const t = V[W];
137
- W++, ie(t), xr(t.$$);
137
+ W++, oe(t), mr(t.$$);
138
138
  }
139
139
  } catch (t) {
140
140
  throw V.length = 0, W = 0, t;
141
141
  }
142
- for (ie(null), V.length = 0, W = 0; Le.length; )
143
- Le.pop()();
142
+ for (oe(null), V.length = 0, W = 0; Oe.length; )
143
+ Oe.pop()();
144
144
  for (let t = 0; t < Z.length; t += 1) {
145
145
  const r = Z[t];
146
- Te.has(r) || (Te.add(r), r());
146
+ Ae.has(r) || (Ae.add(r), r());
147
147
  }
148
148
  Z.length = 0;
149
149
  } while (V.length);
150
- for (; it.length; )
151
- it.pop()();
152
- $e = !1, Te.clear(), ie(e);
150
+ for (; Ke.length; )
151
+ Ke.pop()();
152
+ Ie = !1, Ae.clear(), oe(e);
153
153
  }
154
- function xr(e) {
154
+ function mr(e) {
155
155
  if (e.fragment !== null) {
156
- e.update(), K(e.before_update);
156
+ e.update(), ee(e.before_update);
157
157
  const t = e.dirty;
158
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
158
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
159
159
  }
160
160
  }
161
- function _r(e) {
161
+ function br(e) {
162
162
  const t = [], r = [];
163
163
  Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
164
164
  }
165
- const Er = /* @__PURE__ */ new Set();
166
- function wr(e, t) {
167
- e && e.i && (Er.delete(e), e.i(t));
165
+ const vr = /* @__PURE__ */ new Set();
166
+ function gr(e, t) {
167
+ e && e.i && (vr.delete(e), e.i(t));
168
168
  }
169
- function Cr(e) {
169
+ function yr(e) {
170
170
  return e?.length !== void 0 ? e : Array.from(e);
171
171
  }
172
- function Ar(e, t, r) {
172
+ function xr(e, t, r) {
173
173
  const { fragment: n, after_update: i } = e.$$;
174
- n && n.m(t, r), Re(() => {
175
- const o = e.$$.on_mount.map(Bt).filter(Ke);
176
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
177
- }), i.forEach(Re);
174
+ n && n.m(t, r), Ne(() => {
175
+ const o = e.$$.on_mount.map(wt).filter(Ze);
176
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
177
+ }), i.forEach(Ne);
178
178
  }
179
- function Sr(e, t) {
179
+ function _r(e, t) {
180
180
  const r = e.$$;
181
- r.fragment !== null && (_r(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
181
+ r.fragment !== null && (br(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
182
182
  }
183
- function Tr(e, t) {
184
- e.$$.dirty[0] === -1 && (V.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
183
+ function Er(e, t) {
184
+ e.$$.dirty[0] === -1 && (V.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
185
185
  }
186
- function Br(e, t, r, n, i, o, s = null, a = [-1]) {
187
- const l = oe;
188
- ie(e);
186
+ function wr(e, t, r, n, i, o, s = null, a = [-1]) {
187
+ const l = se;
188
+ oe(e);
189
189
  const u = e.$$ = {
190
190
  fragment: null,
191
191
  ctx: [],
@@ -193,7 +193,7 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
193
193
  props: o,
194
194
  update: O,
195
195
  not_equal: i,
196
- bound: nt(),
196
+ bound: Je(),
197
197
  // lifecycle
198
198
  on_mount: [],
199
199
  on_destroy: [],
@@ -202,7 +202,7 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
202
202
  after_update: [],
203
203
  context: new Map(t.context || (l ? l.$$.context : [])),
204
204
  // everything else
205
- callbacks: nt(),
205
+ callbacks: Je(),
206
206
  dirty: a,
207
207
  skip_bound: !1,
208
208
  root: t.target || l.$$.root
@@ -211,19 +211,19 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
211
211
  let c = !1;
212
212
  if (u.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
213
213
  const m = p.length ? p[0] : f;
214
- return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Tr(e, h)), f;
215
- }) : [], u.update(), c = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
214
+ return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Er(e, h)), f;
215
+ }) : [], u.update(), c = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
216
216
  if (t.hydrate) {
217
- const h = dr(t.target);
217
+ const h = lr(t.target);
218
218
  u.fragment && u.fragment.l(h), h.forEach(R);
219
219
  } else
220
220
  u.fragment && u.fragment.c();
221
- t.intro && wr(e.$$.fragment), Ar(e, t.target, t.anchor), D();
221
+ t.intro && gr(e.$$.fragment), xr(e, t.target, t.anchor), D();
222
222
  }
223
- ie(l);
223
+ oe(l);
224
224
  }
225
- let Pt;
226
- typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
225
+ let St;
226
+ typeof HTMLElement == "function" && (St = class extends HTMLElement {
227
227
  /** The Svelte component constructor */
228
228
  $$ctor;
229
229
  /** Slots */
@@ -265,7 +265,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
265
265
  let o;
266
266
  return {
267
267
  c: function() {
268
- o = B("slot"), i !== "default" && x(o, "name", i);
268
+ o = B("slot"), i !== "default" && _(o, "name", i);
269
269
  },
270
270
  /**
271
271
  * @param {HTMLElement} target
@@ -282,7 +282,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
282
282
  };
283
283
  if (await Promise.resolve(), !this.$$cn || this.$$c)
284
284
  return;
285
- const t = {}, r = mr(this);
285
+ const t = {}, r = cr(this);
286
286
  for (const i of this.$$s)
287
287
  i in r && (t[i] = [e(i)]);
288
288
  for (const i of this.attributes) {
@@ -369,8 +369,8 @@ function pe(e, t, r, n) {
369
369
  return t;
370
370
  }
371
371
  }
372
- function Hr(e, t, r, n, i, o) {
373
- let s = class extends Pt {
372
+ function Cr(e, t, r, n, i, o) {
373
+ let s = class extends St {
374
374
  constructor() {
375
375
  super(e, r, i), this.$$p_d = t;
376
376
  }
@@ -398,7 +398,7 @@ function Hr(e, t, r, n, i, o) {
398
398
  }), e.element = /** @type {any} */
399
399
  s, s;
400
400
  }
401
- class Mr {
401
+ class Ar {
402
402
  /**
403
403
  * ### PRIVATE API
404
404
  *
@@ -417,7 +417,7 @@ class Mr {
417
417
  $$set = void 0;
418
418
  /** @returns {void} */
419
419
  $destroy() {
420
- Sr(this, 1), this.$destroy = O;
420
+ _r(this, 1), this.$destroy = O;
421
421
  }
422
422
  /**
423
423
  * @template {Extract<keyof Events, string>} K
@@ -426,7 +426,7 @@ class Mr {
426
426
  * @returns {() => void}
427
427
  */
428
428
  $on(t, r) {
429
- if (!Ke(r))
429
+ if (!Ze(r))
430
430
  return O;
431
431
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
432
432
  return n.push(r), () => {
@@ -439,11 +439,11 @@ class Mr {
439
439
  * @returns {void}
440
440
  */
441
441
  $set(t) {
442
- this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
442
+ this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
443
443
  }
444
444
  }
445
- const Pr = "4";
446
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
445
+ const Sr = "4";
446
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
447
447
  /*! *****************************************************************************
448
448
  Copyright (c) Microsoft Corporation.
449
449
 
@@ -458,24 +458,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
458
458
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
459
459
  PERFORMANCE OF THIS SOFTWARE.
460
460
  ***************************************************************************** */
461
- var De = function(e, t) {
462
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
461
+ var Le = function(e, t) {
462
+ return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
463
463
  r.__proto__ = n;
464
464
  } || function(r, n) {
465
465
  for (var i in n)
466
466
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
467
- }, De(e, t);
467
+ }, Le(e, t);
468
468
  };
469
- function ue(e, t) {
469
+ function N(e, t) {
470
470
  if (typeof t != "function" && t !== null)
471
471
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
472
- De(e, t);
472
+ Le(e, t);
473
473
  function r() {
474
474
  this.constructor = e;
475
475
  }
476
476
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
477
477
  }
478
- function Ue(e) {
478
+ var y = function() {
479
+ return y = Object.assign || function(t) {
480
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
481
+ r = arguments[n];
482
+ for (var o in r)
483
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
484
+ }
485
+ return t;
486
+ }, y.apply(this, arguments);
487
+ };
488
+ function Tr(e, t) {
489
+ var r = {};
490
+ for (var n in e)
491
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
492
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
493
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
494
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
495
+ return r;
496
+ }
497
+ function $e(e) {
479
498
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
480
499
  if (r)
481
500
  return r.call(e);
@@ -487,7 +506,7 @@ function Ue(e) {
487
506
  };
488
507
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
489
508
  }
490
- function Fe(e, t) {
509
+ function Re(e, t) {
491
510
  var r = typeof Symbol == "function" && e[Symbol.iterator];
492
511
  if (!r)
493
512
  return e;
@@ -507,22 +526,22 @@ function Fe(e, t) {
507
526
  }
508
527
  return o;
509
528
  }
510
- function Ge(e, t, r) {
511
- if (arguments.length === 2)
529
+ function q(e, t, r) {
530
+ if (r || arguments.length === 2)
512
531
  for (var n = 0, i = t.length, o; n < i; n++)
513
532
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
514
533
  return e.concat(o || t);
515
534
  }
516
- function N(e) {
535
+ function I(e) {
517
536
  return typeof e == "function";
518
537
  }
519
- function Ot(e) {
538
+ function Tt(e) {
520
539
  var t = function(n) {
521
540
  Error.call(n), n.stack = new Error().stack;
522
541
  }, r = e(t);
523
542
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
524
543
  }
525
- var Be = Ot(function(e) {
544
+ var Se = Tt(function(e) {
526
545
  return function(r) {
527
546
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
528
547
  ` + r.map(function(n, i) {
@@ -531,13 +550,13 @@ var Be = Ot(function(e) {
531
550
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
532
551
  };
533
552
  });
534
- function je(e, t) {
553
+ function De(e, t) {
535
554
  if (e) {
536
555
  var r = e.indexOf(t);
537
556
  0 <= r && e.splice(r, 1);
538
557
  }
539
558
  }
540
- var _e = function() {
559
+ var xe = function() {
541
560
  function e(t) {
542
561
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
543
562
  }
@@ -549,7 +568,7 @@ var _e = function() {
549
568
  if (s)
550
569
  if (this._parentage = null, Array.isArray(s))
551
570
  try {
552
- for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
571
+ for (var a = $e(s), l = a.next(); !l.done; l = a.next()) {
553
572
  var u = l.value;
554
573
  u.remove(this);
555
574
  }
@@ -566,22 +585,22 @@ var _e = function() {
566
585
  else
567
586
  s.remove(this);
568
587
  var c = this.initialTeardown;
569
- if (N(c))
588
+ if (I(c))
570
589
  try {
571
590
  c();
572
591
  } catch (d) {
573
- o = d instanceof Be ? d.errors : [d];
592
+ o = d instanceof Se ? d.errors : [d];
574
593
  }
575
594
  var h = this._finalizers;
576
595
  if (h) {
577
596
  this._finalizers = null;
578
597
  try {
579
- for (var f = Ue(h), p = f.next(); !p.done; p = f.next()) {
598
+ for (var f = $e(h), p = f.next(); !p.done; p = f.next()) {
580
599
  var m = p.value;
581
600
  try {
582
- ot(m);
601
+ et(m);
583
602
  } catch (d) {
584
- o = o ?? [], d instanceof Be ? o = Ge(Ge([], Fe(o)), Fe(d.errors)) : o.push(d);
603
+ o = o ?? [], d instanceof Se ? o = q(q([], Re(o)), Re(d.errors)) : o.push(d);
585
604
  }
586
605
  }
587
606
  } catch (d) {
@@ -596,13 +615,13 @@ var _e = function() {
596
615
  }
597
616
  }
598
617
  if (o)
599
- throw new Be(o);
618
+ throw new Se(o);
600
619
  }
601
620
  }, e.prototype.add = function(t) {
602
621
  var r;
603
622
  if (t && t !== this)
604
623
  if (this.closed)
605
- ot(t);
624
+ et(t);
606
625
  else {
607
626
  if (t instanceof e) {
608
627
  if (t.closed || t._hasParent(this))
@@ -619,52 +638,52 @@ var _e = function() {
619
638
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
620
639
  }, e.prototype._removeParent = function(t) {
621
640
  var r = this._parentage;
622
- r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
641
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
623
642
  }, e.prototype.remove = function(t) {
624
643
  var r = this._finalizers;
625
- r && je(r, t), t instanceof e && t._removeParent(this);
644
+ r && De(r, t), t instanceof e && t._removeParent(this);
626
645
  }, e.EMPTY = function() {
627
646
  var t = new e();
628
647
  return t.closed = !0, t;
629
648
  }(), e;
630
- }(), It = _e.EMPTY;
631
- function Nt(e) {
632
- return e instanceof _e || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
649
+ }(), Bt = xe.EMPTY;
650
+ function Ht(e) {
651
+ return e instanceof xe || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
633
652
  }
634
- function ot(e) {
635
- N(e) ? e() : e.unsubscribe();
653
+ function et(e) {
654
+ I(e) ? e() : e.unsubscribe();
636
655
  }
637
- var Or = {
656
+ var Br = {
638
657
  Promise: void 0
639
- }, Ir = {
658
+ }, Hr = {
640
659
  setTimeout: function(e, t) {
641
660
  for (var r = [], n = 2; n < arguments.length; n++)
642
661
  r[n - 2] = arguments[n];
643
- return setTimeout.apply(void 0, Ge([e, t], Fe(r)));
662
+ return setTimeout.apply(void 0, q([e, t], Re(r)));
644
663
  },
645
664
  clearTimeout: function(e) {
646
665
  return clearTimeout(e);
647
666
  },
648
667
  delegate: void 0
649
668
  };
650
- function Nr(e) {
651
- Ir.setTimeout(function() {
669
+ function Mr(e) {
670
+ Hr.setTimeout(function() {
652
671
  throw e;
653
672
  });
654
673
  }
655
- function st() {
674
+ function tt() {
656
675
  }
657
676
  function de(e) {
658
677
  e();
659
678
  }
660
- var Lt = function(e) {
661
- ue(t, e);
679
+ var Mt = function(e) {
680
+ N(t, e);
662
681
  function t(r) {
663
682
  var n = e.call(this) || this;
664
- return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Rr, n;
683
+ return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Ir, n;
665
684
  }
666
685
  return t.create = function(r, n, i) {
667
- return new ke(r, n, i);
686
+ return new Ue(r, n, i);
668
687
  }, t.prototype.next = function(r) {
669
688
  this.isStopped || this._next(r);
670
689
  }, t.prototype.error = function(r) {
@@ -688,7 +707,7 @@ var Lt = function(e) {
688
707
  this.unsubscribe();
689
708
  }
690
709
  }, t;
691
- }(_e), Lr = function() {
710
+ }(xe), Pr = function() {
692
711
  function e(t) {
693
712
  this.partialObserver = t;
694
713
  }
@@ -719,43 +738,43 @@ var Lt = function(e) {
719
738
  he(r);
720
739
  }
721
740
  }, e;
722
- }(), ke = function(e) {
723
- ue(t, e);
741
+ }(), Ue = function(e) {
742
+ N(t, e);
724
743
  function t(r, n, i) {
725
744
  var o = e.call(this) || this, s;
726
- return N(r) || !r ? s = {
745
+ return I(r) || !r ? s = {
727
746
  next: r ?? void 0,
728
747
  error: n ?? void 0,
729
748
  complete: i ?? void 0
730
- } : s = r, o.destination = new Lr(s), o;
749
+ } : s = r, o.destination = new Pr(s), o;
731
750
  }
732
751
  return t;
733
- }(Lt);
752
+ }(Mt);
734
753
  function he(e) {
735
- Nr(e);
754
+ Mr(e);
736
755
  }
737
- function $r(e) {
756
+ function Or(e) {
738
757
  throw e;
739
758
  }
740
- var Rr = {
759
+ var Ir = {
741
760
  closed: !0,
742
- next: st,
743
- error: $r,
744
- complete: st
745
- }, Dr = function() {
761
+ next: tt,
762
+ error: Or,
763
+ complete: tt
764
+ }, Nr = function() {
746
765
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
747
766
  }();
748
- function Ur(e) {
767
+ function Lr(e) {
749
768
  return e;
750
769
  }
751
- function Fr(e) {
752
- return e.length === 0 ? Ur : e.length === 1 ? e[0] : function(r) {
770
+ function $r(e) {
771
+ return e.length === 0 ? Lr : e.length === 1 ? e[0] : function(r) {
753
772
  return e.reduce(function(n, i) {
754
773
  return i(n);
755
774
  }, r);
756
775
  };
757
776
  }
758
- var at = function() {
777
+ var rt = function() {
759
778
  function e(t) {
760
779
  t && (this._subscribe = t);
761
780
  }
@@ -763,7 +782,7 @@ var at = function() {
763
782
  var r = new e();
764
783
  return r.source = this, r.operator = t, r;
765
784
  }, e.prototype.subscribe = function(t, r, n) {
766
- var i = this, o = jr(t) ? t : new ke(t, r, n);
785
+ var i = this, o = Dr(t) ? t : new Ue(t, r, n);
767
786
  return de(function() {
768
787
  var s = i, a = s.operator, l = s.source;
769
788
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -776,8 +795,8 @@ var at = function() {
776
795
  }
777
796
  }, e.prototype.forEach = function(t, r) {
778
797
  var n = this;
779
- return r = ut(r), new r(function(i, o) {
780
- var s = new ke({
798
+ return r = nt(r), new r(function(i, o) {
799
+ var s = new Ue({
781
800
  next: function(a) {
782
801
  try {
783
802
  t(a);
@@ -793,15 +812,15 @@ var at = function() {
793
812
  }, e.prototype._subscribe = function(t) {
794
813
  var r;
795
814
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
796
- }, e.prototype[Dr] = function() {
815
+ }, e.prototype[Nr] = function() {
797
816
  return this;
798
817
  }, e.prototype.pipe = function() {
799
818
  for (var t = [], r = 0; r < arguments.length; r++)
800
819
  t[r] = arguments[r];
801
- return Fr(t)(this);
820
+ return $r(t)(this);
802
821
  }, e.prototype.toPromise = function(t) {
803
822
  var r = this;
804
- return t = ut(t), new t(function(n, i) {
823
+ return t = nt(t), new t(function(n, i) {
805
824
  var o;
806
825
  r.subscribe(function(s) {
807
826
  return o = s;
@@ -815,32 +834,32 @@ var at = function() {
815
834
  return new e(t);
816
835
  }, e;
817
836
  }();
818
- function ut(e) {
837
+ function nt(e) {
819
838
  var t;
820
- return (t = e ?? Or.Promise) !== null && t !== void 0 ? t : Promise;
839
+ return (t = e ?? Br.Promise) !== null && t !== void 0 ? t : Promise;
821
840
  }
822
- function Gr(e) {
823
- return e && N(e.next) && N(e.error) && N(e.complete);
841
+ function Rr(e) {
842
+ return e && I(e.next) && I(e.error) && I(e.complete);
824
843
  }
825
- function jr(e) {
826
- return e && e instanceof Lt || Gr(e) && Nt(e);
844
+ function Dr(e) {
845
+ return e && e instanceof Mt || Rr(e) && Ht(e);
827
846
  }
828
- var kr = Ot(function(e) {
847
+ var Ur = Tt(function(e) {
829
848
  return function() {
830
849
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
831
850
  };
832
- }), $t = function(e) {
833
- ue(t, e);
851
+ }), Pt = function(e) {
852
+ N(t, e);
834
853
  function t() {
835
854
  var r = e.call(this) || this;
836
855
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
837
856
  }
838
857
  return t.prototype.lift = function(r) {
839
- var n = new lt(this, this);
858
+ var n = new it(this, this);
840
859
  return n.operator = r, n;
841
860
  }, t.prototype._throwIfClosed = function() {
842
861
  if (this.closed)
843
- throw new kr();
862
+ throw new Ur();
844
863
  }, t.prototype.next = function(r) {
845
864
  var n = this;
846
865
  de(function() {
@@ -848,7 +867,7 @@ var kr = Ot(function(e) {
848
867
  if (n._throwIfClosed(), !n.isStopped) {
849
868
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
850
869
  try {
851
- for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
870
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
852
871
  var l = a.value;
853
872
  l.next(r);
854
873
  }
@@ -897,20 +916,20 @@ var kr = Ot(function(e) {
897
916
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
898
917
  }, t.prototype._innerSubscribe = function(r) {
899
918
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
900
- return o || s ? It : (this.currentObservers = null, a.push(r), new _e(function() {
901
- n.currentObservers = null, je(a, r);
919
+ return o || s ? Bt : (this.currentObservers = null, a.push(r), new xe(function() {
920
+ n.currentObservers = null, De(a, r);
902
921
  }));
903
922
  }, t.prototype._checkFinalizedStatuses = function(r) {
904
923
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
905
924
  i ? r.error(o) : s && r.complete();
906
925
  }, t.prototype.asObservable = function() {
907
- var r = new at();
926
+ var r = new rt();
908
927
  return r.source = this, r;
909
928
  }, t.create = function(r, n) {
910
- return new lt(r, n);
929
+ return new it(r, n);
911
930
  }, t;
912
- }(at), lt = function(e) {
913
- ue(t, e);
931
+ }(rt), it = function(e) {
932
+ N(t, e);
914
933
  function t(r, n) {
915
934
  var i = e.call(this) || this;
916
935
  return i.destination = r, i.source = n, i;
@@ -926,17 +945,17 @@ var kr = Ot(function(e) {
926
945
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
927
946
  }, t.prototype._subscribe = function(r) {
928
947
  var n, i;
929
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
948
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Bt;
930
949
  }, t;
931
- }($t), Rt = {
950
+ }(Pt), Ot = {
932
951
  now: function() {
933
- return (Rt.delegate || Date).now();
952
+ return (Ot.delegate || Date).now();
934
953
  },
935
954
  delegate: void 0
936
- }, Wr = function(e) {
937
- ue(t, e);
955
+ }, Fr = function(e) {
956
+ N(t, e);
938
957
  function t(r, n, i) {
939
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
958
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
940
959
  var o = e.call(this) || this;
941
960
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
942
961
  }
@@ -956,24 +975,24 @@ var kr = Ot(function(e) {
956
975
  u && o.splice(0, u + 1);
957
976
  }
958
977
  }, t;
959
- }($t);
960
- const ct = [], ht = {}, zr = (e, t = 0) => {
961
- if (ct.indexOf(e) == -1) {
962
- const r = new Wr(t);
963
- ht[e] = r, ct.push(e);
978
+ }(Pt);
979
+ const ot = [], st = {}, Gr = (e, t = 0) => {
980
+ if (ot.indexOf(e) == -1) {
981
+ const r = new Fr(t);
982
+ st[e] = r, ot.push(e);
964
983
  }
965
- return ht[e];
984
+ return st[e];
966
985
  }, z = [];
967
- function Vr(e, t) {
986
+ function kr(e, t) {
968
987
  return {
969
- subscribe: Ee(e, t).subscribe
988
+ subscribe: _e(e, t).subscribe
970
989
  };
971
990
  }
972
- function Ee(e, t = O) {
991
+ function _e(e, t = O) {
973
992
  let r;
974
993
  const n = /* @__PURE__ */ new Set();
975
994
  function i(a) {
976
- if (Ht(e, a) && (e = a, r)) {
995
+ if (Ct(e, a) && (e = a, r)) {
977
996
  const l = !z.length;
978
997
  for (const u of n)
979
998
  u[1](), z.push(u, e);
@@ -995,12 +1014,12 @@ function Ee(e, t = O) {
995
1014
  }
996
1015
  return { set: i, update: o, subscribe: s };
997
1016
  }
998
- function ee(e, t, r) {
1017
+ function te(e, t, r) {
999
1018
  const n = !Array.isArray(e), i = n ? [e] : e;
1000
1019
  if (!i.every(Boolean))
1001
1020
  throw new Error("derived() expects stores as input, got a falsy value");
1002
1021
  const o = t.length < 2;
1003
- return Vr(r, (s, a) => {
1022
+ return kr(r, (s, a) => {
1004
1023
  let l = !1;
1005
1024
  const u = [];
1006
1025
  let c = 0, h = O;
@@ -1009,12 +1028,12 @@ function ee(e, t, r) {
1009
1028
  return;
1010
1029
  h();
1011
1030
  const m = t(n ? u[0] : u, s, a);
1012
- o ? s(m) : h = Ke(m) ? m : O;
1031
+ o ? s(m) : h = Ze(m) ? m : O;
1013
1032
  }, p = i.map(
1014
- (m, d) => Mt(
1033
+ (m, d) => At(
1015
1034
  m,
1016
- (_) => {
1017
- u[d] = _, c &= ~(1 << d), l && f();
1035
+ (E) => {
1036
+ u[d] = E, c &= ~(1 << d), l && f();
1018
1037
  },
1019
1038
  () => {
1020
1039
  c |= 1 << d;
@@ -1022,157 +1041,115 @@ function ee(e, t, r) {
1022
1041
  )
1023
1042
  );
1024
1043
  return l = !0, f(), function() {
1025
- K(p), h(), l = !1;
1044
+ ee(p), h(), l = !1;
1026
1045
  };
1027
1046
  });
1028
1047
  }
1029
- function Xr(e) {
1048
+ function jr(e) {
1030
1049
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1031
1050
  }
1032
- var Zr = function(t) {
1033
- return qr(t) && !Qr(t);
1051
+ var Wr = function(t) {
1052
+ return zr(t) && !Vr(t);
1034
1053
  };
1035
- function qr(e) {
1054
+ function zr(e) {
1036
1055
  return !!e && typeof e == "object";
1037
1056
  }
1038
- function Qr(e) {
1057
+ function Vr(e) {
1039
1058
  var t = Object.prototype.toString.call(e);
1040
- return t === "[object RegExp]" || t === "[object Date]" || Kr(e);
1059
+ return t === "[object RegExp]" || t === "[object Date]" || qr(e);
1041
1060
  }
1042
- var Yr = typeof Symbol == "function" && Symbol.for, Jr = Yr ? Symbol.for("react.element") : 60103;
1043
- function Kr(e) {
1044
- return e.$$typeof === Jr;
1061
+ var Xr = typeof Symbol == "function" && Symbol.for, Zr = Xr ? Symbol.for("react.element") : 60103;
1062
+ function qr(e) {
1063
+ return e.$$typeof === Zr;
1045
1064
  }
1046
- function en(e) {
1065
+ function Qr(e) {
1047
1066
  return Array.isArray(e) ? [] : {};
1048
1067
  }
1049
- function se(e, t) {
1050
- return t.clone !== !1 && t.isMergeableObject(e) ? q(en(e), e, t) : e;
1068
+ function ae(e, t) {
1069
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Qr(e), e, t) : e;
1051
1070
  }
1052
- function tn(e, t, r) {
1071
+ function Yr(e, t, r) {
1053
1072
  return e.concat(t).map(function(n) {
1054
- return se(n, r);
1073
+ return ae(n, r);
1055
1074
  });
1056
1075
  }
1057
- function rn(e, t) {
1076
+ function Jr(e, t) {
1058
1077
  if (!t.customMerge)
1059
- return q;
1078
+ return Q;
1060
1079
  var r = t.customMerge(e);
1061
- return typeof r == "function" ? r : q;
1080
+ return typeof r == "function" ? r : Q;
1062
1081
  }
1063
- function nn(e) {
1082
+ function Kr(e) {
1064
1083
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1065
1084
  return Object.propertyIsEnumerable.call(e, t);
1066
1085
  }) : [];
1067
1086
  }
1068
- function ft(e) {
1069
- return Object.keys(e).concat(nn(e));
1087
+ function at(e) {
1088
+ return Object.keys(e).concat(Kr(e));
1070
1089
  }
1071
- function Dt(e, t) {
1090
+ function It(e, t) {
1072
1091
  try {
1073
1092
  return t in e;
1074
1093
  } catch {
1075
1094
  return !1;
1076
1095
  }
1077
1096
  }
1078
- function on(e, t) {
1079
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1097
+ function en(e, t) {
1098
+ return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1080
1099
  }
1081
- function sn(e, t, r) {
1100
+ function tn(e, t, r) {
1082
1101
  var n = {};
1083
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1084
- n[i] = se(e[i], r);
1085
- }), ft(t).forEach(function(i) {
1086
- on(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1102
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
1103
+ n[i] = ae(e[i], r);
1104
+ }), at(t).forEach(function(i) {
1105
+ en(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1087
1106
  }), n;
1088
1107
  }
1089
- function q(e, t, r) {
1090
- r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = se;
1108
+ function Q(e, t, r) {
1109
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = ae;
1091
1110
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1092
- return o ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : se(t, r);
1111
+ return o ? n ? r.arrayMerge(e, t, r) : tn(e, t, r) : ae(t, r);
1093
1112
  }
1094
- q.all = function(t, r) {
1113
+ Q.all = function(t, r) {
1095
1114
  if (!Array.isArray(t))
1096
1115
  throw new Error("first argument should be an array");
1097
1116
  return t.reduce(function(n, i) {
1098
- return q(n, i, r);
1117
+ return Q(n, i, r);
1099
1118
  }, {});
1100
1119
  };
1101
- var an = q, un = an;
1102
- const ln = /* @__PURE__ */ Xr(un);
1103
- var We = function(e, t) {
1104
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1105
- r.__proto__ = n;
1106
- } || function(r, n) {
1107
- for (var i in n)
1108
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1109
- }, We(e, t);
1110
- };
1111
- function we(e, t) {
1112
- if (typeof t != "function" && t !== null)
1113
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1114
- We(e, t);
1115
- function r() {
1116
- this.constructor = e;
1117
- }
1118
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1119
- }
1120
- var I = function() {
1121
- return I = Object.assign || function(t) {
1122
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1123
- r = arguments[n];
1124
- for (var o in r)
1125
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1126
- }
1127
- return t;
1128
- }, I.apply(this, arguments);
1129
- };
1130
- function cn(e, t) {
1131
- var r = {};
1132
- for (var n in e)
1133
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1134
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1135
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1136
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1137
- return r;
1138
- }
1139
- function He(e, t, r) {
1140
- if (r || arguments.length === 2)
1141
- for (var n = 0, i = t.length, o; n < i; n++)
1142
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1143
- return e.concat(o || Array.prototype.slice.call(t));
1144
- }
1145
- function Me(e, t) {
1146
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : pn;
1120
+ var rn = Q, nn = rn;
1121
+ const on = /* @__PURE__ */ jr(nn);
1122
+ function Te(e, t) {
1123
+ var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : cn, i = t && t.strategy ? t.strategy : un;
1147
1124
  return i(e, {
1148
1125
  cache: r,
1149
1126
  serializer: n
1150
1127
  });
1151
1128
  }
1152
- function hn(e) {
1129
+ function sn(e) {
1153
1130
  return e == null || typeof e == "number" || typeof e == "boolean";
1154
1131
  }
1155
- function fn(e, t, r, n) {
1156
- var i = hn(n) ? n : r(n), o = t.get(i);
1132
+ function an(e, t, r, n) {
1133
+ var i = sn(n) ? n : r(n), o = t.get(i);
1157
1134
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1158
1135
  }
1159
- function Ut(e, t, r) {
1136
+ function Nt(e, t, r) {
1160
1137
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1161
1138
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1162
1139
  }
1163
- function Ft(e, t, r, n, i) {
1140
+ function Lt(e, t, r, n, i) {
1164
1141
  return r.bind(t, e, n, i);
1165
1142
  }
1166
- function pn(e, t) {
1167
- var r = e.length === 1 ? fn : Ut;
1168
- return Ft(e, this, r, t.cache.create(), t.serializer);
1143
+ function un(e, t) {
1144
+ var r = e.length === 1 ? an : Nt;
1145
+ return Lt(e, this, r, t.cache.create(), t.serializer);
1169
1146
  }
1170
- function dn(e, t) {
1171
- return Ft(e, this, Ut, t.cache.create(), t.serializer);
1147
+ function ln(e, t) {
1148
+ return Lt(e, this, Nt, t.cache.create(), t.serializer);
1172
1149
  }
1173
- var mn = function() {
1150
+ var cn = function() {
1174
1151
  return JSON.stringify(arguments);
1175
- }, bn = (
1152
+ }, hn = (
1176
1153
  /** @class */
1177
1154
  function() {
1178
1155
  function e() {
@@ -1184,71 +1161,61 @@ var mn = function() {
1184
1161
  this.cache[t] = r;
1185
1162
  }, e;
1186
1163
  }()
1187
- ), vn = {
1164
+ ), fn = {
1188
1165
  create: function() {
1189
- return new bn();
1166
+ return new hn();
1190
1167
  }
1191
- }, Pe = {
1192
- variadic: dn
1193
- }, ge = function() {
1194
- return ge = Object.assign || function(t) {
1195
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1196
- r = arguments[n];
1197
- for (var o in r)
1198
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1199
- }
1200
- return t;
1201
- }, ge.apply(this, arguments);
1202
- };
1203
- var b;
1168
+ }, Be = {
1169
+ variadic: ln
1170
+ }, b;
1204
1171
  (function(e) {
1205
1172
  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";
1206
1173
  })(b || (b = {}));
1207
- var w;
1174
+ var C;
1208
1175
  (function(e) {
1209
1176
  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";
1210
- })(w || (w = {}));
1211
- var Q;
1177
+ })(C || (C = {}));
1178
+ var Y;
1212
1179
  (function(e) {
1213
1180
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1214
- })(Q || (Q = {}));
1215
- function pt(e) {
1216
- return e.type === w.literal;
1181
+ })(Y || (Y = {}));
1182
+ function ut(e) {
1183
+ return e.type === C.literal;
1217
1184
  }
1218
- function gn(e) {
1219
- return e.type === w.argument;
1185
+ function pn(e) {
1186
+ return e.type === C.argument;
1220
1187
  }
1221
- function Gt(e) {
1222
- return e.type === w.number;
1188
+ function $t(e) {
1189
+ return e.type === C.number;
1223
1190
  }
1224
- function jt(e) {
1225
- return e.type === w.date;
1191
+ function Rt(e) {
1192
+ return e.type === C.date;
1226
1193
  }
1227
- function kt(e) {
1228
- return e.type === w.time;
1194
+ function Dt(e) {
1195
+ return e.type === C.time;
1229
1196
  }
1230
- function Wt(e) {
1231
- return e.type === w.select;
1197
+ function Ut(e) {
1198
+ return e.type === C.select;
1232
1199
  }
1233
- function zt(e) {
1234
- return e.type === w.plural;
1200
+ function Ft(e) {
1201
+ return e.type === C.plural;
1235
1202
  }
1236
- function yn(e) {
1237
- return e.type === w.pound;
1203
+ function dn(e) {
1204
+ return e.type === C.pound;
1238
1205
  }
1239
- function Vt(e) {
1240
- return e.type === w.tag;
1206
+ function Gt(e) {
1207
+ return e.type === C.tag;
1241
1208
  }
1242
- function Xt(e) {
1243
- return !!(e && typeof e == "object" && e.type === Q.number);
1209
+ function kt(e) {
1210
+ return !!(e && typeof e == "object" && e.type === Y.number);
1244
1211
  }
1245
- function ze(e) {
1246
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1212
+ function Fe(e) {
1213
+ return !!(e && typeof e == "object" && e.type === Y.dateTime);
1247
1214
  }
1248
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1249
- function _n(e) {
1215
+ var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[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;
1216
+ function bn(e) {
1250
1217
  var t = {};
1251
- return e.replace(xn, function(r) {
1218
+ return e.replace(mn, function(r) {
1252
1219
  var n = r.length;
1253
1220
  switch (r[0]) {
1254
1221
  case "G":
@@ -1337,21 +1304,11 @@ function _n(e) {
1337
1304
  return "";
1338
1305
  }), t;
1339
1306
  }
1340
- var S = function() {
1341
- return S = Object.assign || function(t) {
1342
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1343
- r = arguments[n];
1344
- for (var o in r)
1345
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1346
- }
1347
- return t;
1348
- }, S.apply(this, arguments);
1349
- };
1350
- var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1351
- function wn(e) {
1307
+ var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1308
+ function gn(e) {
1352
1309
  if (e.length === 0)
1353
1310
  throw new Error("Number skeleton cannot be empty");
1354
- for (var t = e.split(En).filter(function(f) {
1311
+ for (var t = e.split(vn).filter(function(f) {
1355
1312
  return f.length > 0;
1356
1313
  }), r = [], n = 0, i = t; n < i.length; n++) {
1357
1314
  var o = i[n], s = o.split("/");
@@ -1366,17 +1323,17 @@ function wn(e) {
1366
1323
  }
1367
1324
  return r;
1368
1325
  }
1369
- function Cn(e) {
1326
+ function yn(e) {
1370
1327
  return e.replace(/^(.*?)-/, "");
1371
1328
  }
1372
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1373
- function mt(e) {
1329
+ var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
1330
+ function ct(e) {
1374
1331
  var t = {};
1375
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1332
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
1376
1333
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1377
1334
  }), t;
1378
1335
  }
1379
- function Yt(e) {
1336
+ function Vt(e) {
1380
1337
  switch (e) {
1381
1338
  case "sign-auto":
1382
1339
  return {
@@ -1416,7 +1373,7 @@ function Yt(e) {
1416
1373
  };
1417
1374
  }
1418
1375
  }
1419
- function Sn(e) {
1376
+ function _n(e) {
1420
1377
  var t;
1421
1378
  if (e[0] === "E" && e[1] === "E" ? (t = {
1422
1379
  notation: "engineering"
@@ -1424,17 +1381,17 @@ function Sn(e) {
1424
1381
  notation: "scientific"
1425
1382
  }, e = e.slice(1)), t) {
1426
1383
  var r = e.slice(0, 2);
1427
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1384
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
1428
1385
  throw new Error("Malformed concise eng/scientific notation");
1429
1386
  t.minimumIntegerDigits = e.length;
1430
1387
  }
1431
1388
  return t;
1432
1389
  }
1433
- function bt(e) {
1434
- var t = {}, r = Yt(e);
1390
+ function ht(e) {
1391
+ var t = {}, r = Vt(e);
1435
1392
  return r || t;
1436
1393
  }
1437
- function Tn(e) {
1394
+ function En(e) {
1438
1395
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1439
1396
  var i = n[r];
1440
1397
  switch (i.stem) {
@@ -1458,7 +1415,7 @@ function Tn(e) {
1458
1415
  continue;
1459
1416
  case "measure-unit":
1460
1417
  case "unit":
1461
- t.style = "unit", t.unit = Cn(i.options[0]);
1418
+ t.style = "unit", t.unit = yn(i.options[0]);
1462
1419
  continue;
1463
1420
  case "compact-short":
1464
1421
  case "K":
@@ -1469,13 +1426,13 @@ function Tn(e) {
1469
1426
  t.notation = "compact", t.compactDisplay = "long";
1470
1427
  continue;
1471
1428
  case "scientific":
1472
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1473
- return S(S({}, l), bt(u));
1429
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1430
+ return y(y({}, l), ht(u));
1474
1431
  }, {}));
1475
1432
  continue;
1476
1433
  case "engineering":
1477
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1478
- return S(S({}, l), bt(u));
1434
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1435
+ return y(y({}, l), ht(u));
1479
1436
  }, {}));
1480
1437
  continue;
1481
1438
  case "notation-simple":
@@ -1520,7 +1477,7 @@ function Tn(e) {
1520
1477
  case "integer-width":
1521
1478
  if (i.options.length > 1)
1522
1479
  throw new RangeError("integer-width stems only accept a single optional option");
1523
- i.options[0].replace(An, function(l, u, c, h, f, p) {
1480
+ i.options[0].replace(xn, function(l, u, c, h, f, p) {
1524
1481
  if (u)
1525
1482
  t.minimumIntegerDigits = c.length;
1526
1483
  else {
@@ -1533,28 +1490,28 @@ function Tn(e) {
1533
1490
  });
1534
1491
  continue;
1535
1492
  }
1536
- if (Qt.test(i.stem)) {
1493
+ if (zt.test(i.stem)) {
1537
1494
  t.minimumIntegerDigits = i.stem.length;
1538
1495
  continue;
1539
1496
  }
1540
- if (dt.test(i.stem)) {
1497
+ if (lt.test(i.stem)) {
1541
1498
  if (i.options.length > 1)
1542
1499
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1543
- i.stem.replace(dt, function(l, u, c, h, f, p) {
1500
+ i.stem.replace(lt, function(l, u, c, h, f, p) {
1544
1501
  return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1545
1502
  });
1546
1503
  var o = i.options[0];
1547
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), mt(o)));
1504
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ct(o)));
1548
1505
  continue;
1549
1506
  }
1550
- if (qt.test(i.stem)) {
1551
- t = S(S({}, t), mt(i.stem));
1507
+ if (Wt.test(i.stem)) {
1508
+ t = y(y({}, t), ct(i.stem));
1552
1509
  continue;
1553
1510
  }
1554
- var s = Yt(i.stem);
1555
- s && (t = S(S({}, t), s));
1556
- var a = Sn(i.stem);
1557
- a && (t = S(S({}, t), a));
1511
+ var s = Vt(i.stem);
1512
+ s && (t = y(y({}, t), s));
1513
+ var a = _n(i.stem);
1514
+ a && (t = y(y({}, t), a));
1558
1515
  }
1559
1516
  return t;
1560
1517
  }
@@ -2973,13 +2930,13 @@ var fe = {
2973
2930
  "h"
2974
2931
  ]
2975
2932
  };
2976
- function Bn(e, t) {
2933
+ function wn(e, t) {
2977
2934
  for (var r = "", n = 0; n < e.length; n++) {
2978
2935
  var i = e.charAt(n);
2979
2936
  if (i === "j") {
2980
2937
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2981
2938
  o++, n++;
2982
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hn(t);
2939
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Cn(t);
2983
2940
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2984
2941
  r += l;
2985
2942
  for (; s-- > 0; )
@@ -2989,7 +2946,7 @@ function Bn(e, t) {
2989
2946
  }
2990
2947
  return r;
2991
2948
  }
2992
- function Hn(e) {
2949
+ function Cn(e) {
2993
2950
  var t = e.hourCycle;
2994
2951
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2995
2952
  e.hourCycles && // @ts-ignore
@@ -3011,20 +2968,20 @@ function Hn(e) {
3011
2968
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3012
2969
  return i[0];
3013
2970
  }
3014
- var Oe, Mn = new RegExp("^".concat(Zt.source, "*")), Pn = new RegExp("".concat(Zt.source, "*$"));
2971
+ var He, An = new RegExp("^".concat(jt.source, "*")), Sn = new RegExp("".concat(jt.source, "*$"));
3015
2972
  function v(e, t) {
3016
2973
  return { start: e, end: t };
3017
2974
  }
3018
- var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Nn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Un = Dn ? Number.isSafeInteger : function(e) {
2975
+ var Tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, On = !!String.prototype.trimEnd, In = !!Number.isSafeInteger, Nn = In ? Number.isSafeInteger : function(e) {
3019
2976
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3020
- }, Ve = !0;
2977
+ }, Ge = !0;
3021
2978
  try {
3022
- var Fn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3023
- Ve = ((Oe = Fn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2979
+ var Ln = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2980
+ Ge = ((He = Ln.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3024
2981
  } catch {
3025
- Ve = !1;
2982
+ Ge = !1;
3026
2983
  }
3027
- var vt = On ? (
2984
+ var ft = Tn ? (
3028
2985
  // Native
3029
2986
  function(t, r, n) {
3030
2987
  return t.startsWith(r, n);
@@ -3034,7 +2991,7 @@ var vt = On ? (
3034
2991
  function(t, r, n) {
3035
2992
  return t.slice(n, n + r.length) === r;
3036
2993
  }
3037
- ), Xe = In ? String.fromCodePoint : (
2994
+ ), ke = Bn ? String.fromCodePoint : (
3038
2995
  // IE11
3039
2996
  function() {
3040
2997
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3046,9 +3003,9 @@ var vt = On ? (
3046
3003
  }
3047
3004
  return n;
3048
3005
  }
3049
- ), gt = (
3006
+ ), pt = (
3050
3007
  // native
3051
- Nn ? Object.fromEntries : (
3008
+ Hn ? Object.fromEntries : (
3052
3009
  // Ponyfill
3053
3010
  function(t) {
3054
3011
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3058,7 +3015,7 @@ var vt = On ? (
3058
3015
  return r;
3059
3016
  }
3060
3017
  )
3061
- ), Jt = Ln ? (
3018
+ ), Xt = Mn ? (
3062
3019
  // Native
3063
3020
  function(t, r) {
3064
3021
  return t.codePointAt(r);
@@ -3072,7 +3029,7 @@ var vt = On ? (
3072
3029
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3073
3030
  }
3074
3031
  }
3075
- ), Gn = $n ? (
3032
+ ), $n = Pn ? (
3076
3033
  // Native
3077
3034
  function(t) {
3078
3035
  return t.trimStart();
@@ -3080,9 +3037,9 @@ var vt = On ? (
3080
3037
  ) : (
3081
3038
  // Ponyfill
3082
3039
  function(t) {
3083
- return t.replace(Mn, "");
3040
+ return t.replace(An, "");
3084
3041
  }
3085
- ), jn = Rn ? (
3042
+ ), Rn = On ? (
3086
3043
  // Native
3087
3044
  function(t) {
3088
3045
  return t.trimEnd();
@@ -3090,32 +3047,32 @@ var vt = On ? (
3090
3047
  ) : (
3091
3048
  // Ponyfill
3092
3049
  function(t) {
3093
- return t.replace(Pn, "");
3050
+ return t.replace(Sn, "");
3094
3051
  }
3095
3052
  );
3096
- function Kt(e, t) {
3053
+ function Zt(e, t) {
3097
3054
  return new RegExp(e, t);
3098
3055
  }
3099
- var Ze;
3100
- if (Ve) {
3101
- var yt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3102
- Ze = function(t, r) {
3056
+ var je;
3057
+ if (Ge) {
3058
+ var dt = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3059
+ je = function(t, r) {
3103
3060
  var n;
3104
- yt.lastIndex = r;
3105
- var i = yt.exec(t);
3061
+ dt.lastIndex = r;
3062
+ var i = dt.exec(t);
3106
3063
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3107
3064
  };
3108
3065
  } else
3109
- Ze = function(t, r) {
3066
+ je = function(t, r) {
3110
3067
  for (var n = []; ; ) {
3111
- var i = Jt(t, r);
3112
- if (i === void 0 || er(i) || Vn(i))
3068
+ var i = Xt(t, r);
3069
+ if (i === void 0 || qt(i) || Gn(i))
3113
3070
  break;
3114
3071
  n.push(i), r += i >= 65536 ? 2 : 1;
3115
3072
  }
3116
- return Xe.apply(void 0, n);
3073
+ return ke.apply(void 0, n);
3117
3074
  };
3118
- var kn = (
3075
+ var Dn = (
3119
3076
  /** @class */
3120
3077
  function() {
3121
3078
  function e(t, r) {
@@ -3139,14 +3096,14 @@ var kn = (
3139
3096
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3140
3097
  var a = this.clonePosition();
3141
3098
  this.bump(), i.push({
3142
- type: w.pound,
3099
+ type: C.pound,
3143
3100
  location: v(a, this.clonePosition())
3144
3101
  });
3145
3102
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3146
3103
  if (n)
3147
3104
  break;
3148
3105
  return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3149
- } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3106
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3150
3107
  var s = this.parseTag(t, r);
3151
3108
  if (s.err)
3152
3109
  return s;
@@ -3167,7 +3124,7 @@ var kn = (
3167
3124
  if (this.bumpSpace(), this.bumpIf("/>"))
3168
3125
  return {
3169
3126
  val: {
3170
- type: w.literal,
3127
+ type: C.literal,
3171
3128
  value: "<".concat(i, "/>"),
3172
3129
  location: v(n, this.clonePosition())
3173
3130
  },
@@ -3179,12 +3136,12 @@ var kn = (
3179
3136
  return o;
3180
3137
  var s = o.val, a = this.clonePosition();
3181
3138
  if (this.bumpIf("</")) {
3182
- if (this.isEOF() || !qe(this.char()))
3139
+ if (this.isEOF() || !We(this.char()))
3183
3140
  return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3184
3141
  var l = this.clonePosition(), u = this.parseTagName();
3185
3142
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3186
3143
  val: {
3187
- type: w.tag,
3144
+ type: C.tag,
3188
3145
  value: i,
3189
3146
  children: s,
3190
3147
  location: v(n, this.clonePosition())
@@ -3197,7 +3154,7 @@ var kn = (
3197
3154
  return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3198
3155
  }, e.prototype.parseTagName = function() {
3199
3156
  var t = this.offset();
3200
- for (this.bump(); !this.isEOF() && zn(this.char()); )
3157
+ for (this.bump(); !this.isEOF() && Fn(this.char()); )
3201
3158
  this.bump();
3202
3159
  return this.message.slice(t, this.offset());
3203
3160
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3221,12 +3178,12 @@ var kn = (
3221
3178
  }
3222
3179
  var l = v(n, this.clonePosition());
3223
3180
  return {
3224
- val: { type: w.literal, value: i, location: l },
3181
+ val: { type: C.literal, value: i, location: l },
3225
3182
  err: null
3226
3183
  };
3227
3184
  }, e.prototype.tryParseLeftAngleBracket = function() {
3228
3185
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3229
- !Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3186
+ !Un(this.peek() || 0)) ? (this.bump(), "<") : null;
3230
3187
  }, e.prototype.tryParseQuote = function(t) {
3231
3188
  if (this.isEOF() || this.char() !== 39)
3232
3189
  return null;
@@ -3260,12 +3217,12 @@ var kn = (
3260
3217
  r.push(n);
3261
3218
  this.bump();
3262
3219
  }
3263
- return Xe.apply(void 0, r);
3220
+ return ke.apply(void 0, r);
3264
3221
  }, e.prototype.tryParseUnquoted = function(t, r) {
3265
3222
  if (this.isEOF())
3266
3223
  return null;
3267
3224
  var n = this.char();
3268
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3225
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3269
3226
  }, e.prototype.parseArgument = function(t, r) {
3270
3227
  var n = this.clonePosition();
3271
3228
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3281,7 +3238,7 @@ var kn = (
3281
3238
  case 125:
3282
3239
  return this.bump(), {
3283
3240
  val: {
3284
- type: w.argument,
3241
+ type: C.argument,
3285
3242
  // value does not include the opening and closing braces.
3286
3243
  value: i,
3287
3244
  location: v(n, this.clonePosition())
@@ -3294,7 +3251,7 @@ var kn = (
3294
3251
  return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3295
3252
  }
3296
3253
  }, e.prototype.parseIdentifierIfPossible = function() {
3297
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3254
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3298
3255
  this.bumpTo(i);
3299
3256
  var o = this.clonePosition(), s = v(t, o);
3300
3257
  return { value: n, location: s };
@@ -3313,7 +3270,7 @@ var kn = (
3313
3270
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3314
3271
  if (h.err)
3315
3272
  return h;
3316
- var f = jn(h.val);
3273
+ var f = Rn(h.val);
3317
3274
  if (f.length === 0)
3318
3275
  return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3319
3276
  var p = v(c, this.clonePosition());
@@ -3323,25 +3280,25 @@ var kn = (
3323
3280
  if (m.err)
3324
3281
  return m;
3325
3282
  var d = v(i, this.clonePosition());
3326
- if (u && vt(u?.style, "::", 0)) {
3327
- var _ = Gn(u.style.slice(2));
3283
+ if (u && ft(u?.style, "::", 0)) {
3284
+ var E = $n(u.style.slice(2));
3328
3285
  if (a === "number") {
3329
- var h = this.parseNumberSkeletonFromString(_, u.styleLocation);
3286
+ var h = this.parseNumberSkeletonFromString(E, u.styleLocation);
3330
3287
  return h.err ? h : {
3331
- val: { type: w.number, value: n, location: d, style: h.val },
3288
+ val: { type: C.number, value: n, location: d, style: h.val },
3332
3289
  err: null
3333
3290
  };
3334
3291
  } else {
3335
- if (_.length === 0)
3292
+ if (E.length === 0)
3336
3293
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3337
- var P = _;
3338
- this.locale && (P = Bn(_, this.locale));
3294
+ var P = E;
3295
+ this.locale && (P = wn(E, this.locale));
3339
3296
  var f = {
3340
- type: Q.dateTime,
3297
+ type: Y.dateTime,
3341
3298
  pattern: P,
3342
3299
  location: u.styleLocation,
3343
- parsedOptions: this.shouldParseSkeletons ? _n(P) : {}
3344
- }, T = a === "date" ? w.date : w.time;
3300
+ parsedOptions: this.shouldParseSkeletons ? bn(P) : {}
3301
+ }, T = a === "date" ? C.date : C.time;
3345
3302
  return {
3346
3303
  val: { type: T, value: n, location: d, style: f },
3347
3304
  err: null
@@ -3350,7 +3307,7 @@ var kn = (
3350
3307
  }
3351
3308
  return {
3352
3309
  val: {
3353
- type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3310
+ type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3354
3311
  value: n,
3355
3312
  location: d,
3356
3313
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3361,21 +3318,21 @@ var kn = (
3361
3318
  case "plural":
3362
3319
  case "selectordinal":
3363
3320
  case "select": {
3364
- var y = this.clonePosition();
3321
+ var x = this.clonePosition();
3365
3322
  if (this.bumpSpace(), !this.bumpIf(","))
3366
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(y, ge({}, y)));
3323
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, y({}, x)));
3367
3324
  this.bumpSpace();
3368
- var C = this.parseIdentifierIfPossible(), E = 0;
3369
- if (a !== "select" && C.value === "offset") {
3325
+ var A = this.parseIdentifierIfPossible(), w = 0;
3326
+ if (a !== "select" && A.value === "offset") {
3370
3327
  if (!this.bumpIf(":"))
3371
3328
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3372
3329
  this.bumpSpace();
3373
3330
  var h = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3374
3331
  if (h.err)
3375
3332
  return h;
3376
- this.bumpSpace(), C = this.parseIdentifierIfPossible(), E = h.val;
3333
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), w = h.val;
3377
3334
  }
3378
- var H = this.tryParsePluralOrSelectOptions(t, a, r, C);
3335
+ var H = this.tryParsePluralOrSelectOptions(t, a, r, A);
3379
3336
  if (H.err)
3380
3337
  return H;
3381
3338
  var m = this.tryParseArgumentClose(i);
@@ -3384,18 +3341,18 @@ var kn = (
3384
3341
  var ce = v(i, this.clonePosition());
3385
3342
  return a === "select" ? {
3386
3343
  val: {
3387
- type: w.select,
3344
+ type: C.select,
3388
3345
  value: n,
3389
- options: gt(H.val),
3346
+ options: pt(H.val),
3390
3347
  location: ce
3391
3348
  },
3392
3349
  err: null
3393
3350
  } : {
3394
3351
  val: {
3395
- type: w.plural,
3352
+ type: C.plural,
3396
3353
  value: n,
3397
- options: gt(H.val),
3398
- offset: E,
3354
+ options: pt(H.val),
3355
+ offset: w,
3399
3356
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3400
3357
  location: ce
3401
3358
  },
@@ -3445,16 +3402,16 @@ var kn = (
3445
3402
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3446
3403
  var n = [];
3447
3404
  try {
3448
- n = wn(t);
3405
+ n = gn(t);
3449
3406
  } catch {
3450
3407
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3451
3408
  }
3452
3409
  return {
3453
3410
  val: {
3454
- type: Q.number,
3411
+ type: Y.number,
3455
3412
  tokens: n,
3456
3413
  location: r,
3457
- parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
3414
+ parsedOptions: this.shouldParseSkeletons ? En(n) : {}
3458
3415
  },
3459
3416
  err: null
3460
3417
  };
@@ -3502,7 +3459,7 @@ var kn = (
3502
3459
  break;
3503
3460
  }
3504
3461
  var l = v(i, this.clonePosition());
3505
- return o ? (s *= n, Un(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3462
+ return o ? (s *= n, Nn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3506
3463
  }, e.prototype.offset = function() {
3507
3464
  return this.position.offset;
3508
3465
  }, e.prototype.isEOF = function() {
@@ -3517,7 +3474,7 @@ var kn = (
3517
3474
  var t = this.position.offset;
3518
3475
  if (t >= this.message.length)
3519
3476
  throw Error("out of bound");
3520
- var r = Jt(this.message, t);
3477
+ var r = Xt(this.message, t);
3521
3478
  if (r === void 0)
3522
3479
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3523
3480
  return r;
@@ -3536,7 +3493,7 @@ var kn = (
3536
3493
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3537
3494
  }
3538
3495
  }, e.prototype.bumpIf = function(t) {
3539
- if (vt(this.message, t, this.offset())) {
3496
+ if (ft(this.message, t, this.offset())) {
3540
3497
  for (var r = 0; r < t.length; r++)
3541
3498
  this.bump();
3542
3499
  return !0;
@@ -3558,7 +3515,7 @@ var kn = (
3558
3515
  break;
3559
3516
  }
3560
3517
  }, e.prototype.bumpSpace = function() {
3561
- for (; !this.isEOF() && er(this.char()); )
3518
+ for (; !this.isEOF() && qt(this.char()); )
3562
3519
  this.bump();
3563
3520
  }, e.prototype.peek = function() {
3564
3521
  if (this.isEOF())
@@ -3568,47 +3525,47 @@ var kn = (
3568
3525
  }, e;
3569
3526
  }()
3570
3527
  );
3571
- function qe(e) {
3528
+ function We(e) {
3572
3529
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3573
3530
  }
3574
- function Wn(e) {
3575
- return qe(e) || e === 47;
3531
+ function Un(e) {
3532
+ return We(e) || e === 47;
3576
3533
  }
3577
- function zn(e) {
3534
+ function Fn(e) {
3578
3535
  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;
3579
3536
  }
3580
- function er(e) {
3537
+ function qt(e) {
3581
3538
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3582
3539
  }
3583
- function Vn(e) {
3540
+ function Gn(e) {
3584
3541
  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;
3585
3542
  }
3586
- function Qe(e) {
3543
+ function ze(e) {
3587
3544
  e.forEach(function(t) {
3588
- if (delete t.location, Wt(t) || zt(t))
3545
+ if (delete t.location, Ut(t) || Ft(t))
3589
3546
  for (var r in t.options)
3590
- delete t.options[r].location, Qe(t.options[r].value);
3547
+ delete t.options[r].location, ze(t.options[r].value);
3591
3548
  else
3592
- Gt(t) && Xt(t.style) || (jt(t) || kt(t)) && ze(t.style) ? delete t.style.location : Vt(t) && Qe(t.children);
3549
+ $t(t) && kt(t.style) || (Rt(t) || Dt(t)) && Fe(t.style) ? delete t.style.location : Gt(t) && ze(t.children);
3593
3550
  });
3594
3551
  }
3595
- function Xn(e, t) {
3596
- t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3597
- var r = new kn(e, t).parse();
3552
+ function kn(e, t) {
3553
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3554
+ var r = new Dn(e, t).parse();
3598
3555
  if (r.err) {
3599
3556
  var n = SyntaxError(b[r.err.kind]);
3600
3557
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3601
3558
  }
3602
- return t?.captureLocation || Qe(r.val), r.val;
3559
+ return t?.captureLocation || ze(r.val), r.val;
3603
3560
  }
3604
- var Y;
3561
+ var J;
3605
3562
  (function(e) {
3606
3563
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3607
- })(Y || (Y = {}));
3608
- var Ce = (
3564
+ })(J || (J = {}));
3565
+ var Ee = (
3609
3566
  /** @class */
3610
3567
  function(e) {
3611
- we(t, e);
3568
+ N(t, e);
3612
3569
  function t(r, n, i) {
3613
3570
  var o = e.call(this, r) || this;
3614
3571
  return o.code = n, o.originalMessage = i, o;
@@ -3617,48 +3574,48 @@ var Ce = (
3617
3574
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3618
3575
  }, t;
3619
3576
  }(Error)
3620
- ), xt = (
3577
+ ), mt = (
3621
3578
  /** @class */
3622
3579
  function(e) {
3623
- we(t, e);
3580
+ N(t, e);
3624
3581
  function t(r, n, i, o) {
3625
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3582
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3626
3583
  }
3627
3584
  return t;
3628
- }(Ce)
3629
- ), Zn = (
3585
+ }(Ee)
3586
+ ), jn = (
3630
3587
  /** @class */
3631
3588
  function(e) {
3632
- we(t, e);
3589
+ N(t, e);
3633
3590
  function t(r, n, i) {
3634
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3591
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3635
3592
  }
3636
3593
  return t;
3637
- }(Ce)
3638
- ), qn = (
3594
+ }(Ee)
3595
+ ), Wn = (
3639
3596
  /** @class */
3640
3597
  function(e) {
3641
- we(t, e);
3598
+ N(t, e);
3642
3599
  function t(r, n) {
3643
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3600
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3644
3601
  }
3645
3602
  return t;
3646
- }(Ce)
3603
+ }(Ee)
3647
3604
  ), M;
3648
3605
  (function(e) {
3649
3606
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3650
3607
  })(M || (M = {}));
3651
- function Qn(e) {
3608
+ function zn(e) {
3652
3609
  return e.length < 2 ? e : e.reduce(function(t, r) {
3653
3610
  var n = t[t.length - 1];
3654
3611
  return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3655
3612
  }, []);
3656
3613
  }
3657
- function Yn(e) {
3614
+ function Vn(e) {
3658
3615
  return typeof e == "function";
3659
3616
  }
3660
3617
  function me(e, t, r, n, i, o, s) {
3661
- if (e.length === 1 && pt(e[0]))
3618
+ if (e.length === 1 && ut(e[0]))
3662
3619
  return [
3663
3620
  {
3664
3621
  type: M.literal,
@@ -3667,14 +3624,14 @@ function me(e, t, r, n, i, o, s) {
3667
3624
  ];
3668
3625
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3669
3626
  var c = u[l];
3670
- if (pt(c)) {
3627
+ if (ut(c)) {
3671
3628
  a.push({
3672
3629
  type: M.literal,
3673
3630
  value: c.value
3674
3631
  });
3675
3632
  continue;
3676
3633
  }
3677
- if (yn(c)) {
3634
+ if (dn(c)) {
3678
3635
  typeof o == "number" && a.push({
3679
3636
  type: M.literal,
3680
3637
  value: r.getNumberFormat(t).format(o)
@@ -3683,89 +3640,89 @@ function me(e, t, r, n, i, o, s) {
3683
3640
  }
3684
3641
  var h = c.value;
3685
3642
  if (!(i && h in i))
3686
- throw new qn(h, s);
3643
+ throw new Wn(h, s);
3687
3644
  var f = i[h];
3688
- if (gn(c)) {
3645
+ if (pn(c)) {
3689
3646
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3690
3647
  type: typeof f == "string" ? M.literal : M.object,
3691
3648
  value: f
3692
3649
  });
3693
3650
  continue;
3694
3651
  }
3695
- if (jt(c)) {
3696
- var p = typeof c.style == "string" ? n.date[c.style] : ze(c.style) ? c.style.parsedOptions : void 0;
3652
+ if (Rt(c)) {
3653
+ var p = typeof c.style == "string" ? n.date[c.style] : Fe(c.style) ? c.style.parsedOptions : void 0;
3697
3654
  a.push({
3698
3655
  type: M.literal,
3699
3656
  value: r.getDateTimeFormat(t, p).format(f)
3700
3657
  });
3701
3658
  continue;
3702
3659
  }
3703
- if (kt(c)) {
3704
- var p = typeof c.style == "string" ? n.time[c.style] : ze(c.style) ? c.style.parsedOptions : n.time.medium;
3660
+ if (Dt(c)) {
3661
+ var p = typeof c.style == "string" ? n.time[c.style] : Fe(c.style) ? c.style.parsedOptions : n.time.medium;
3705
3662
  a.push({
3706
3663
  type: M.literal,
3707
3664
  value: r.getDateTimeFormat(t, p).format(f)
3708
3665
  });
3709
3666
  continue;
3710
3667
  }
3711
- if (Gt(c)) {
3712
- var p = typeof c.style == "string" ? n.number[c.style] : Xt(c.style) ? c.style.parsedOptions : void 0;
3668
+ if ($t(c)) {
3669
+ var p = typeof c.style == "string" ? n.number[c.style] : kt(c.style) ? c.style.parsedOptions : void 0;
3713
3670
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3714
3671
  type: M.literal,
3715
3672
  value: r.getNumberFormat(t, p).format(f)
3716
3673
  });
3717
3674
  continue;
3718
3675
  }
3719
- if (Vt(c)) {
3720
- var m = c.children, d = c.value, _ = i[d];
3721
- if (!Yn(_))
3722
- throw new Zn(d, "function", s);
3723
- var P = me(m, t, r, n, i, o), T = _(P.map(function(E) {
3724
- return E.value;
3676
+ if (Gt(c)) {
3677
+ var m = c.children, d = c.value, E = i[d];
3678
+ if (!Vn(E))
3679
+ throw new jn(d, "function", s);
3680
+ var P = me(m, t, r, n, i, o), T = E(P.map(function(w) {
3681
+ return w.value;
3725
3682
  }));
3726
- Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(E) {
3683
+ Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(w) {
3727
3684
  return {
3728
- type: typeof E == "string" ? M.literal : M.object,
3729
- value: E
3685
+ type: typeof w == "string" ? M.literal : M.object,
3686
+ value: w
3730
3687
  };
3731
3688
  }));
3732
3689
  }
3733
- if (Wt(c)) {
3734
- var y = c.options[f] || c.options.other;
3735
- if (!y)
3736
- throw new xt(c.value, f, Object.keys(c.options), s);
3737
- a.push.apply(a, me(y.value, t, r, n, i));
3690
+ if (Ut(c)) {
3691
+ var x = c.options[f] || c.options.other;
3692
+ if (!x)
3693
+ throw new mt(c.value, f, Object.keys(c.options), s);
3694
+ a.push.apply(a, me(x.value, t, r, n, i));
3738
3695
  continue;
3739
3696
  }
3740
- if (zt(c)) {
3741
- var y = c.options["=".concat(f)];
3742
- if (!y) {
3697
+ if (Ft(c)) {
3698
+ var x = c.options["=".concat(f)];
3699
+ if (!x) {
3743
3700
  if (!Intl.PluralRules)
3744
- throw new Ce(`Intl.PluralRules is not available in this environment.
3701
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3745
3702
  Try polyfilling it using "@formatjs/intl-pluralrules"
3746
- `, Y.MISSING_INTL_API, s);
3747
- var C = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3748
- y = c.options[C] || c.options.other;
3703
+ `, J.MISSING_INTL_API, s);
3704
+ var A = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3705
+ x = c.options[A] || c.options.other;
3749
3706
  }
3750
- if (!y)
3751
- throw new xt(c.value, f, Object.keys(c.options), s);
3752
- a.push.apply(a, me(y.value, t, r, n, i, f - (c.offset || 0)));
3707
+ if (!x)
3708
+ throw new mt(c.value, f, Object.keys(c.options), s);
3709
+ a.push.apply(a, me(x.value, t, r, n, i, f - (c.offset || 0)));
3753
3710
  continue;
3754
3711
  }
3755
3712
  }
3756
- return Qn(a);
3713
+ return zn(a);
3757
3714
  }
3758
- function Jn(e, t) {
3759
- return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3760
- return r[n] = I(I({}, e[n]), t[n] || {}), r;
3715
+ function Xn(e, t) {
3716
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3717
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3761
3718
  }, {})) : e;
3762
3719
  }
3763
- function Kn(e, t) {
3720
+ function Zn(e, t) {
3764
3721
  return t ? Object.keys(e).reduce(function(r, n) {
3765
- return r[n] = Jn(e[n], t[n]), r;
3766
- }, I({}, e)) : e;
3722
+ return r[n] = Xn(e[n], t[n]), r;
3723
+ }, y({}, e)) : e;
3767
3724
  }
3768
- function Ie(e) {
3725
+ function Me(e) {
3769
3726
  return {
3770
3727
  create: function() {
3771
3728
  return {
@@ -3779,39 +3736,39 @@ function Ie(e) {
3779
3736
  }
3780
3737
  };
3781
3738
  }
3782
- function ei(e) {
3739
+ function qn(e) {
3783
3740
  return e === void 0 && (e = {
3784
3741
  number: {},
3785
3742
  dateTime: {},
3786
3743
  pluralRules: {}
3787
3744
  }), {
3788
- getNumberFormat: Me(function() {
3745
+ getNumberFormat: Te(function() {
3789
3746
  for (var t, r = [], n = 0; n < arguments.length; n++)
3790
3747
  r[n] = arguments[n];
3791
- return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3748
+ return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3792
3749
  }, {
3793
- cache: Ie(e.number),
3794
- strategy: Pe.variadic
3750
+ cache: Me(e.number),
3751
+ strategy: Be.variadic
3795
3752
  }),
3796
- getDateTimeFormat: Me(function() {
3753
+ getDateTimeFormat: Te(function() {
3797
3754
  for (var t, r = [], n = 0; n < arguments.length; n++)
3798
3755
  r[n] = arguments[n];
3799
- return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3756
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3800
3757
  }, {
3801
- cache: Ie(e.dateTime),
3802
- strategy: Pe.variadic
3758
+ cache: Me(e.dateTime),
3759
+ strategy: Be.variadic
3803
3760
  }),
3804
- getPluralRules: Me(function() {
3761
+ getPluralRules: Te(function() {
3805
3762
  for (var t, r = [], n = 0; n < arguments.length; n++)
3806
3763
  r[n] = arguments[n];
3807
- return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3764
+ return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3808
3765
  }, {
3809
- cache: Ie(e.pluralRules),
3810
- strategy: Pe.variadic
3766
+ cache: Me(e.pluralRules),
3767
+ strategy: Be.variadic
3811
3768
  })
3812
3769
  };
3813
3770
  }
3814
- var ti = (
3771
+ var Qn = (
3815
3772
  /** @class */
3816
3773
  function() {
3817
3774
  function e(t, r, n, i) {
@@ -3843,13 +3800,13 @@ var ti = (
3843
3800
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3844
3801
  var s = i || {};
3845
3802
  s.formatters;
3846
- var a = cn(s, ["formatters"]);
3847
- this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
3803
+ var a = Tr(s, ["formatters"]);
3804
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3848
3805
  } else
3849
3806
  this.ast = t;
3850
3807
  if (!Array.isArray(this.ast))
3851
3808
  throw new TypeError("A message must be provided as a String or AST.");
3852
- this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3809
+ this.formats = Zn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
3853
3810
  }
3854
3811
  return Object.defineProperty(e, "defaultLocale", {
3855
3812
  get: function() {
@@ -3862,7 +3819,7 @@ var ti = (
3862
3819
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3863
3820
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3864
3821
  }
3865
- }, e.__parse = Xn, e.formats = {
3822
+ }, e.__parse = kn, e.formats = {
3866
3823
  number: {
3867
3824
  integer: {
3868
3825
  maximumFractionDigits: 0
@@ -3923,7 +3880,7 @@ var ti = (
3923
3880
  }, e;
3924
3881
  }()
3925
3882
  );
3926
- function ri(e, t) {
3883
+ function Yn(e, t) {
3927
3884
  if (t == null)
3928
3885
  return;
3929
3886
  if (t in e)
@@ -3944,92 +3901,92 @@ function ri(e, t) {
3944
3901
  n = void 0;
3945
3902
  return n;
3946
3903
  }
3947
- const L = {}, ni = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), tr = (e, t) => {
3904
+ const L = {}, Jn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Qt = (e, t) => {
3948
3905
  if (t == null)
3949
3906
  return;
3950
3907
  if (t in L && e in L[t])
3951
3908
  return L[t][e];
3952
- const r = Ae(t);
3909
+ const r = we(t);
3953
3910
  for (let n = 0; n < r.length; n++) {
3954
- const i = r[n], o = oi(i, e);
3911
+ const i = r[n], o = ei(i, e);
3955
3912
  if (o)
3956
- return ni(e, t, o);
3913
+ return Jn(e, t, o);
3957
3914
  }
3958
3915
  };
3959
- let et;
3960
- const le = Ee({});
3961
- function ii(e) {
3962
- return et[e] || null;
3916
+ let qe;
3917
+ const le = _e({});
3918
+ function Kn(e) {
3919
+ return qe[e] || null;
3963
3920
  }
3964
- function rr(e) {
3965
- return e in et;
3921
+ function Yt(e) {
3922
+ return e in qe;
3966
3923
  }
3967
- function oi(e, t) {
3968
- if (!rr(e))
3924
+ function ei(e, t) {
3925
+ if (!Yt(e))
3969
3926
  return null;
3970
- const r = ii(e);
3971
- return ri(r, t);
3927
+ const r = Kn(e);
3928
+ return Yn(r, t);
3972
3929
  }
3973
- function si(e) {
3930
+ function ti(e) {
3974
3931
  if (e == null)
3975
3932
  return;
3976
- const t = Ae(e);
3933
+ const t = we(e);
3977
3934
  for (let r = 0; r < t.length; r++) {
3978
3935
  const n = t[r];
3979
- if (rr(n))
3936
+ if (Yt(n))
3980
3937
  return n;
3981
3938
  }
3982
3939
  }
3983
- function nr(e, ...t) {
3984
- delete L[e], le.update((r) => (r[e] = ln.all([r[e] || {}, ...t]), r));
3940
+ function Jt(e, ...t) {
3941
+ delete L[e], le.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
3985
3942
  }
3986
- ee(
3943
+ te(
3987
3944
  [le],
3988
3945
  ([e]) => Object.keys(e)
3989
3946
  );
3990
- le.subscribe((e) => et = e);
3947
+ le.subscribe((e) => qe = e);
3991
3948
  const be = {};
3992
- function ai(e, t) {
3949
+ function ri(e, t) {
3993
3950
  be[e].delete(t), be[e].size === 0 && delete be[e];
3994
3951
  }
3995
- function ir(e) {
3952
+ function Kt(e) {
3996
3953
  return be[e];
3997
3954
  }
3998
- function ui(e) {
3999
- return Ae(e).map((t) => {
4000
- const r = ir(t);
3955
+ function ni(e) {
3956
+ return we(e).map((t) => {
3957
+ const r = Kt(t);
4001
3958
  return [t, r ? [...r] : []];
4002
3959
  }).filter(([, t]) => t.length > 0);
4003
3960
  }
4004
- function Ye(e) {
4005
- return e == null ? !1 : Ae(e).some(
3961
+ function Ve(e) {
3962
+ return e == null ? !1 : we(e).some(
4006
3963
  (t) => {
4007
3964
  var r;
4008
- return (r = ir(t)) == null ? void 0 : r.size;
3965
+ return (r = Kt(t)) == null ? void 0 : r.size;
4009
3966
  }
4010
3967
  );
4011
3968
  }
4012
- function li(e, t) {
3969
+ function ii(e, t) {
4013
3970
  return Promise.all(
4014
- t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
4015
- ).then((n) => nr(e, ...n));
4016
- }
4017
- const ne = {};
4018
- function or(e) {
4019
- if (!Ye(e))
4020
- return e in ne ? ne[e] : Promise.resolve();
4021
- const t = ui(e);
4022
- return ne[e] = Promise.all(
3971
+ t.map((n) => (ri(e, n), n().then((i) => i.default || i)))
3972
+ ).then((n) => Jt(e, ...n));
3973
+ }
3974
+ const ie = {};
3975
+ function er(e) {
3976
+ if (!Ve(e))
3977
+ return e in ie ? ie[e] : Promise.resolve();
3978
+ const t = ni(e);
3979
+ return ie[e] = Promise.all(
4023
3980
  t.map(
4024
- ([r, n]) => li(r, n)
3981
+ ([r, n]) => ii(r, n)
4025
3982
  )
4026
3983
  ).then(() => {
4027
- if (Ye(e))
4028
- return or(e);
4029
- delete ne[e];
4030
- }), ne[e];
3984
+ if (Ve(e))
3985
+ return er(e);
3986
+ delete ie[e];
3987
+ }), ie[e];
4031
3988
  }
4032
- const ci = {
3989
+ const oi = {
4033
3990
  number: {
4034
3991
  scientific: { notation: "scientific" },
4035
3992
  engineering: { notation: "engineering" },
@@ -4058,135 +4015,135 @@ const ci = {
4058
4015
  timeZoneName: "short"
4059
4016
  }
4060
4017
  }
4061
- }, hi = {
4018
+ }, si = {
4062
4019
  fallbackLocale: null,
4063
4020
  loadingDelay: 200,
4064
- formats: ci,
4021
+ formats: oi,
4065
4022
  warnOnMissingMessages: !0,
4066
4023
  handleMissingMessage: void 0,
4067
4024
  ignoreTag: !0
4068
- }, fi = hi;
4069
- function J() {
4070
- return fi;
4025
+ }, ai = si;
4026
+ function K() {
4027
+ return ai;
4071
4028
  }
4072
- const Ne = Ee(!1);
4073
- var pi = Object.defineProperty, di = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
4029
+ const Pe = _e(!1);
4030
+ var ui = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, fi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
4074
4031
  for (var r in t || (t = {}))
4075
- bi.call(t, r) && Et(e, r, t[r]);
4076
- if (_t)
4077
- for (var r of _t(t))
4078
- vi.call(t, r) && Et(e, r, t[r]);
4032
+ hi.call(t, r) && vt(e, r, t[r]);
4033
+ if (bt)
4034
+ for (var r of bt(t))
4035
+ fi.call(t, r) && vt(e, r, t[r]);
4079
4036
  return e;
4080
- }, yi = (e, t) => di(e, mi(t));
4081
- let Je;
4082
- const ye = Ee(null);
4083
- function wt(e) {
4037
+ }, di = (e, t) => li(e, ci(t));
4038
+ let Xe;
4039
+ const ge = _e(null);
4040
+ function gt(e) {
4084
4041
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4085
4042
  }
4086
- function Ae(e, t = J().fallbackLocale) {
4087
- const r = wt(e);
4088
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4043
+ function we(e, t = K().fallbackLocale) {
4044
+ const r = gt(e);
4045
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
4089
4046
  }
4090
4047
  function G() {
4091
- return Je ?? void 0;
4048
+ return Xe ?? void 0;
4092
4049
  }
4093
- ye.subscribe((e) => {
4094
- Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4050
+ ge.subscribe((e) => {
4051
+ Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4095
4052
  });
4096
- const xi = (e) => {
4097
- if (e && si(e) && Ye(e)) {
4098
- const { loadingDelay: t } = J();
4053
+ const mi = (e) => {
4054
+ if (e && ti(e) && Ve(e)) {
4055
+ const { loadingDelay: t } = K();
4099
4056
  let r;
4100
4057
  return typeof window < "u" && G() != null && t ? r = window.setTimeout(
4101
- () => Ne.set(!0),
4058
+ () => Pe.set(!0),
4102
4059
  t
4103
- ) : Ne.set(!0), or(e).then(() => {
4104
- ye.set(e);
4060
+ ) : Pe.set(!0), er(e).then(() => {
4061
+ ge.set(e);
4105
4062
  }).finally(() => {
4106
- clearTimeout(r), Ne.set(!1);
4063
+ clearTimeout(r), Pe.set(!1);
4107
4064
  });
4108
4065
  }
4109
- return ye.set(e);
4110
- }, te = yi(gi({}, ye), {
4111
- set: xi
4112
- }), Se = (e) => {
4066
+ return ge.set(e);
4067
+ }, re = di(pi({}, ge), {
4068
+ set: mi
4069
+ }), Ce = (e) => {
4113
4070
  const t = /* @__PURE__ */ Object.create(null);
4114
4071
  return (n) => {
4115
4072
  const i = JSON.stringify(n);
4116
4073
  return i in t ? t[i] : t[i] = e(n);
4117
4074
  };
4118
4075
  };
4119
- var _i = Object.defineProperty, xe = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4076
+ var bi = Object.defineProperty, ye = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4120
4077
  for (var r in t || (t = {}))
4121
- sr.call(t, r) && Ct(e, r, t[r]);
4122
- if (xe)
4123
- for (var r of xe(t))
4124
- ar.call(t, r) && Ct(e, r, t[r]);
4078
+ tr.call(t, r) && yt(e, r, t[r]);
4079
+ if (ye)
4080
+ for (var r of ye(t))
4081
+ rr.call(t, r) && yt(e, r, t[r]);
4125
4082
  return e;
4126
- }, re = (e, t) => {
4083
+ }, ne = (e, t) => {
4127
4084
  var r = {};
4128
4085
  for (var n in e)
4129
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4130
- if (e != null && xe)
4131
- for (var n of xe(e))
4132
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4086
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4087
+ if (e != null && ye)
4088
+ for (var n of ye(e))
4089
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
4133
4090
  return r;
4134
4091
  };
4135
- const ae = (e, t) => {
4136
- const { formats: r } = J();
4092
+ const ue = (e, t) => {
4093
+ const { formats: r } = K();
4137
4094
  if (e in r && t in r[e])
4138
4095
  return r[e][t];
4139
4096
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4140
- }, Ei = Se(
4097
+ }, vi = Ce(
4141
4098
  (e) => {
4142
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4099
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4143
4100
  if (r == null)
4144
4101
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4145
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4102
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4146
4103
  }
4147
- ), wi = Se(
4104
+ ), gi = Ce(
4148
4105
  (e) => {
4149
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4106
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4150
4107
  if (r == null)
4151
4108
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4152
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4109
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4153
4110
  }
4154
- ), Ci = Se(
4111
+ ), yi = Ce(
4155
4112
  (e) => {
4156
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4113
+ var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4157
4114
  if (r == null)
4158
4115
  throw new Error(
4159
4116
  '[svelte-i18n] A "locale" must be set to format time values'
4160
4117
  );
4161
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4118
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4162
4119
  }
4163
- ), Ai = (e = {}) => {
4120
+ ), xi = (e = {}) => {
4164
4121
  var t = e, {
4165
4122
  locale: r = G()
4166
- } = t, n = re(t, [
4123
+ } = t, n = ne(t, [
4167
4124
  "locale"
4168
4125
  ]);
4169
- return Ei(tt({ locale: r }, n));
4170
- }, Si = (e = {}) => {
4126
+ return vi(Qe({ locale: r }, n));
4127
+ }, _i = (e = {}) => {
4171
4128
  var t = e, {
4172
4129
  locale: r = G()
4173
- } = t, n = re(t, [
4130
+ } = t, n = ne(t, [
4174
4131
  "locale"
4175
4132
  ]);
4176
- return wi(tt({ locale: r }, n));
4177
- }, Ti = (e = {}) => {
4133
+ return gi(Qe({ locale: r }, n));
4134
+ }, Ei = (e = {}) => {
4178
4135
  var t = e, {
4179
4136
  locale: r = G()
4180
- } = t, n = re(t, [
4137
+ } = t, n = ne(t, [
4181
4138
  "locale"
4182
4139
  ]);
4183
- return Ci(tt({ locale: r }, n));
4184
- }, Bi = Se(
4140
+ return yi(Qe({ locale: r }, n));
4141
+ }, wi = Ce(
4185
4142
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4186
- (e, t = G()) => new ti(e, t, J().formats, {
4187
- ignoreTag: J().ignoreTag
4143
+ (e, t = G()) => new Qn(e, t, K().formats, {
4144
+ ignoreTag: K().ignoreTag
4188
4145
  })
4189
- ), Hi = (e, t = {}) => {
4146
+ ), Ci = (e, t = {}) => {
4190
4147
  var r, n, i, o;
4191
4148
  let s = t;
4192
4149
  typeof e == "object" && (s = e, e = s.id);
@@ -4199,9 +4156,9 @@ const ae = (e, t) => {
4199
4156
  throw new Error(
4200
4157
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4201
4158
  );
4202
- let c = tr(e, l);
4159
+ let c = Qt(e, l);
4203
4160
  if (!c)
4204
- c = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4161
+ c = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4205
4162
  else if (typeof c != "string")
4206
4163
  return console.warn(
4207
4164
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4210,7 +4167,7 @@ const ae = (e, t) => {
4210
4167
  return c;
4211
4168
  let h = c;
4212
4169
  try {
4213
- h = Bi(c, l).format(a);
4170
+ h = wi(c, l).format(a);
4214
4171
  } catch (f) {
4215
4172
  f instanceof Error && console.warn(
4216
4173
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4218,20 +4175,20 @@ const ae = (e, t) => {
4218
4175
  );
4219
4176
  }
4220
4177
  return h;
4221
- }, Mi = (e, t) => Ti(t).format(e), Pi = (e, t) => Si(t).format(e), Oi = (e, t) => Ai(t).format(e), Ii = (e, t = G()) => tr(e, t), Ni = ee([te, le], () => Hi);
4222
- ee([te], () => Mi);
4223
- ee([te], () => Pi);
4224
- ee([te], () => Oi);
4225
- ee([te, le], () => Ii);
4226
- window.emWidgets = { topic: zr };
4227
- const Li = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4228
- function At(e, t) {
4229
- nr(e, t);
4230
- }
4231
- function $i(e) {
4232
- te.set(e);
4233
- }
4234
- const St = {
4178
+ }, Ai = (e, t) => Ei(t).format(e), Si = (e, t) => _i(t).format(e), Ti = (e, t) => xi(t).format(e), Bi = (e, t = G()) => Qt(e, t), Hi = te([re, le], () => Ci);
4179
+ te([re], () => Ai);
4180
+ te([re], () => Si);
4181
+ te([re], () => Ti);
4182
+ te([re, le], () => Bi);
4183
+ window.emWidgets = { topic: Gr };
4184
+ const Mi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4185
+ function xt(e, t) {
4186
+ Jt(e, t);
4187
+ }
4188
+ function Pi(e) {
4189
+ re.set(e);
4190
+ }
4191
+ const _t = {
4235
4192
  en: {
4236
4193
  titleAccountClosure: "Account Closure",
4237
4194
  accountClosureDescription: "Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",
@@ -4321,13 +4278,13 @@ const St = {
4321
4278
  accountClosureConfirm: "Yes"
4322
4279
  }
4323
4280
  };
4324
- function Ri(e, t) {
4281
+ function Oi(e, t) {
4325
4282
  if (e) {
4326
4283
  const r = document.createElement("style");
4327
4284
  r.innerHTML = t, e.appendChild(r);
4328
4285
  }
4329
4286
  }
4330
- function Di(e, t) {
4287
+ function Ii(e, t) {
4331
4288
  const r = new URL(t);
4332
4289
  fetch(r.href).then((n) => n.text()).then((n) => {
4333
4290
  const i = document.createElement("style");
@@ -4336,7 +4293,7 @@ function Di(e, t) {
4336
4293
  console.error("There was an error while trying to load client styling from URL", n);
4337
4294
  });
4338
4295
  }
4339
- function Ui(e, t, r) {
4296
+ function Ni(e, t, r) {
4340
4297
  if (window.emMessageBus) {
4341
4298
  const n = document.createElement("style");
4342
4299
  window.emMessageBus.subscribe(t, (i) => {
@@ -4344,32 +4301,32 @@ function Ui(e, t, r) {
4344
4301
  });
4345
4302
  }
4346
4303
  }
4347
- function Fi(e) {
4348
- cr(e, "svelte-1oeuewt", '.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
4304
+ function Li(e) {
4305
+ or(e, "svelte-1oeuewt", '.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
4349
4306
  }
4350
- function Gi(e, t, r) {
4307
+ function $i(e, t, r) {
4351
4308
  const n = e.slice();
4352
4309
  return n[22] = t[r], n;
4353
4310
  }
4354
- function ji(e) {
4311
+ function Ri(e) {
4355
4312
  let t, r, n, i, o, s, a, l, u, c, h = (
4356
4313
  /*$_*/
4357
4314
  e[3]("titleAccountClosure") + ""
4358
4315
  ), f, p, m;
4359
4316
  return {
4360
4317
  c() {
4361
- t = B("div"), r = k("svg"), n = k("defs"), i = k("style"), o = $(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = k("g"), a = k("g"), l = k("path"), u = U(), c = B("h2"), f = $(h), x(l, "class", "aaa"), x(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(l, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(c, "class", "AccountClosureTitleMobile"), x(c, "part", "AccountClosureTitleMobile"), x(t, "class", "MenuReturnButton"), x(t, "part", "MenuReturnButton");
4318
+ t = B("div"), r = j("svg"), n = j("defs"), i = j("style"), o = $(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = j("g"), a = j("g"), l = j("path"), u = U(), c = B("h2"), f = $(h), _(l, "class", "aaa"), _(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), _(l, "transform", "translate(15 15) rotate(180)"), _(a, "transform", "translate(20 158)"), _(s, "transform", "translate(-20 -158)"), _(r, "xmlns", "http://www.w3.org/2000/svg"), _(r, "width", "15"), _(r, "height", "15"), _(r, "viewBox", "0 0 15 15"), _(c, "class", "AccountClosureTitleMobile"), _(c, "part", "AccountClosureTitleMobile"), _(t, "class", "MenuReturnButton"), _(t, "part", "MenuReturnButton");
4362
4319
  },
4363
- m(d, _) {
4364
- F(d, t, _), g(t, r), g(r, n), g(n, i), g(i, o), g(r, s), g(s, a), g(a, l), g(t, u), g(t, c), g(c, f), p || (m = ve(
4320
+ m(d, E) {
4321
+ F(d, t, E), g(t, r), g(r, n), g(n, i), g(i, o), g(r, s), g(s, a), g(a, l), g(t, u), g(t, c), g(c, f), p || (m = ve(
4365
4322
  t,
4366
4323
  "click",
4367
4324
  /*click_handler*/
4368
4325
  e[13]
4369
4326
  ), p = !0);
4370
4327
  },
4371
- p(d, _) {
4372
- _ & /*$_*/
4328
+ p(d, E) {
4329
+ E & /*$_*/
4373
4330
  8 && h !== (h = /*$_*/
4374
4331
  d[3]("titleAccountClosure") + "") && X(f, h);
4375
4332
  },
@@ -4378,14 +4335,14 @@ function ji(e) {
4378
4335
  }
4379
4336
  };
4380
4337
  }
4381
- function ki(e) {
4338
+ function Di(e) {
4382
4339
  let t, r, n = (
4383
4340
  /*$_*/
4384
4341
  e[3]("accountClosureDescription") + ""
4385
4342
  );
4386
4343
  return {
4387
4344
  c() {
4388
- t = B("div"), r = B("p"), x(t, "class", "AccountClosureDescription " + /*isMobile*/
4345
+ t = B("div"), r = B("p"), _(t, "class", "AccountClosureDescription " + /*isMobile*/
4389
4346
  (e[4] ? "AccountClosureDescriptionMobile" : ""));
4390
4347
  },
4391
4348
  m(i, o) {
@@ -4401,16 +4358,16 @@ function ki(e) {
4401
4358
  }
4402
4359
  };
4403
4360
  }
4404
- function Wi(e) {
4405
- let t, r, n = Cr({ length: 4 }), i = [];
4361
+ function Ui(e) {
4362
+ let t, r, n = yr({ length: 4 }), i = [];
4406
4363
  for (let o = 0; o < n.length; o += 1)
4407
- i[o] = zi(Gi(e, n, o));
4364
+ i[o] = Fi($i(e, n, o));
4408
4365
  return {
4409
4366
  c() {
4410
4367
  t = B("div"), r = B("div");
4411
4368
  for (let o = 0; o < i.length; o += 1)
4412
4369
  i[o].c();
4413
- x(r, "class", "skeletonWrapper"), x(t, "class", "skeletonContainerClosure");
4370
+ _(r, "class", "skeletonWrapper"), _(t, "class", "skeletonContainerClosure");
4414
4371
  },
4415
4372
  m(o, s) {
4416
4373
  F(o, t, s), g(t, r);
@@ -4419,15 +4376,15 @@ function Wi(e) {
4419
4376
  },
4420
4377
  p: O,
4421
4378
  d(o) {
4422
- o && R(t), pr(i, o);
4379
+ o && R(t), ur(i, o);
4423
4380
  }
4424
4381
  };
4425
4382
  }
4426
- function zi(e) {
4383
+ function Fi(e) {
4427
4384
  let t;
4428
4385
  return {
4429
4386
  c() {
4430
- t = B("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ', x(t, "class", "skeletonNotification");
4387
+ t = B("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ', _(t, "class", "skeletonNotification");
4431
4388
  },
4432
4389
  m(r, n) {
4433
4390
  F(r, t, n);
@@ -4438,7 +4395,7 @@ function zi(e) {
4438
4395
  }
4439
4396
  };
4440
4397
  }
4441
- function Tt(e) {
4398
+ function Et(e) {
4442
4399
  let t, r, n, i, o = (
4443
4400
  /*$_*/
4444
4401
  e[3]("modal") + ""
@@ -4448,14 +4405,14 @@ function Tt(e) {
4448
4405
  ), h, f, p, m = (
4449
4406
  /*$_*/
4450
4407
  e[3]("accountClosureConfirm") + ""
4451
- ), d, _, P;
4408
+ ), d, E, P;
4452
4409
  return {
4453
4410
  c() {
4454
- t = B("div"), r = B("div"), n = B("div"), i = B("p"), s = $(o), a = U(), l = B("div"), u = B("button"), h = $(c), f = U(), p = B("button"), d = $(m), x(i, "class", "ModalText"), x(u, "class", "ModalCancel"), x(p, "class", "ModalConfirm"), x(l, "class", "ModalButtons"), x(n, "class", "ModalBody"), x(r, "class", "ModalContent"), x(t, "class", "ModalWrapper " + /*isMobile*/
4411
+ t = B("div"), r = B("div"), n = B("div"), i = B("p"), s = $(o), a = U(), l = B("div"), u = B("button"), h = $(c), f = U(), p = B("button"), d = $(m), _(i, "class", "ModalText"), _(u, "class", "ModalCancel"), _(p, "class", "ModalConfirm"), _(l, "class", "ModalButtons"), _(n, "class", "ModalBody"), _(r, "class", "ModalContent"), _(t, "class", "ModalWrapper " + /*isMobile*/
4455
4412
  (e[4] ? "ModalWrapperMobile" : ""));
4456
4413
  },
4457
- m(T, y) {
4458
- F(T, t, y), g(t, r), g(r, n), g(n, i), g(i, s), g(n, a), g(n, l), g(l, u), g(u, h), g(l, f), g(l, p), g(p, d), _ || (P = [
4414
+ m(T, x) {
4415
+ F(T, t, x), g(t, r), g(r, n), g(n, i), g(i, s), g(n, a), g(n, l), g(l, u), g(u, h), g(l, f), g(l, p), g(p, d), E || (P = [
4459
4416
  ve(
4460
4417
  u,
4461
4418
  "click",
@@ -4468,96 +4425,96 @@ function Tt(e) {
4468
4425
  /*click_handler_3*/
4469
4426
  e[16]
4470
4427
  )
4471
- ], _ = !0);
4428
+ ], E = !0);
4472
4429
  },
4473
- p(T, y) {
4474
- y & /*$_*/
4430
+ p(T, x) {
4431
+ x & /*$_*/
4475
4432
  8 && o !== (o = /*$_*/
4476
- T[3]("modal") + "") && X(s, o), y & /*$_*/
4433
+ T[3]("modal") + "") && X(s, o), x & /*$_*/
4477
4434
  8 && c !== (c = /*$_*/
4478
- T[3]("accountClosureCancel") + "") && X(h, c), y & /*$_*/
4435
+ T[3]("accountClosureCancel") + "") && X(h, c), x & /*$_*/
4479
4436
  8 && m !== (m = /*$_*/
4480
4437
  T[3]("accountClosureConfirm") + "") && X(d, m);
4481
4438
  },
4482
4439
  d(T) {
4483
- T && R(t), _ = !1, K(P);
4440
+ T && R(t), E = !1, ee(P);
4484
4441
  }
4485
4442
  };
4486
4443
  }
4487
- function Vi(e) {
4444
+ function Gi(e) {
4488
4445
  let t, r, n, i, o = (
4489
4446
  /*$_*/
4490
4447
  e[3]("titleAccountClosure") + ""
4491
4448
  ), s, a, l, u, c, h = (
4492
4449
  /*$_*/
4493
4450
  e[3]("closeAccount") + ""
4494
- ), f, p, m, d, _ = (
4451
+ ), f, p, m, d, E = (
4495
4452
  /*isMobile*/
4496
- e[4] && ji(e)
4453
+ e[4] && Ri(e)
4497
4454
  );
4498
- function P(E, H) {
4455
+ function P(w, H) {
4499
4456
  return (
4500
4457
  /*skeletonLoading*/
4501
- E[1] ? Wi : ki
4458
+ w[1] ? Ui : Di
4502
4459
  );
4503
4460
  }
4504
- let T = P(e), y = T(e), C = (
4461
+ let T = P(e), x = T(e), A = (
4505
4462
  /*closureModal*/
4506
- e[2] && Tt(e)
4463
+ e[2] && Et(e)
4507
4464
  );
4508
4465
  return {
4509
4466
  c() {
4510
- t = B("div"), r = B("div"), _ && _.c(), n = U(), i = B("h2"), s = $(o), a = U(), y.c(), l = U(), u = B("div"), c = B("button"), f = $(h), p = U(), C && C.c(), x(i, "class", "AccountClosureTitle " + /*isMobile*/
4511
- (e[4] ? "AccountClosureTitleNone" : "")), x(c, "class", "AccountClosureSave " + /*isMobile*/
4512
- (e[4] ? "AccountClosureSaveMobile" : "")), x(u, "class", "AccountClosureActionButtons " + /*isMobile*/
4513
- (e[4] ? "AccountClosureActionButtonsMobile" : "")), x(r, "class", "AccountClosureWrapper " + /*isMobile*/
4467
+ t = B("div"), r = B("div"), E && E.c(), n = U(), i = B("h2"), s = $(o), a = U(), x.c(), l = U(), u = B("div"), c = B("button"), f = $(h), p = U(), A && A.c(), _(i, "class", "AccountClosureTitle " + /*isMobile*/
4468
+ (e[4] ? "AccountClosureTitleNone" : "")), _(c, "class", "AccountClosureSave " + /*isMobile*/
4469
+ (e[4] ? "AccountClosureSaveMobile" : "")), _(u, "class", "AccountClosureActionButtons " + /*isMobile*/
4470
+ (e[4] ? "AccountClosureActionButtonsMobile" : "")), _(r, "class", "AccountClosureWrapper " + /*isMobile*/
4514
4471
  (e[4] ? "AccountClosureWrapperMobile" : ""));
4515
4472
  },
4516
- m(E, H) {
4517
- F(E, t, H), g(t, r), _ && _.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), y.m(r, null), g(r, l), g(r, u), g(u, c), g(c, f), g(t, p), C && C.m(t, null), e[17](t), m || (d = ve(
4473
+ m(w, H) {
4474
+ F(w, t, H), g(t, r), E && E.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), x.m(r, null), g(r, l), g(r, u), g(u, c), g(c, f), g(t, p), A && A.m(t, null), e[17](t), m || (d = ve(
4518
4475
  c,
4519
4476
  "click",
4520
4477
  /*click_handler_1*/
4521
4478
  e[14]
4522
4479
  ), m = !0);
4523
4480
  },
4524
- p(E, [H]) {
4481
+ p(w, [H]) {
4525
4482
  /*isMobile*/
4526
- E[4] && _.p(E, H), H & /*$_*/
4483
+ w[4] && E.p(w, H), H & /*$_*/
4527
4484
  8 && o !== (o = /*$_*/
4528
- E[3]("titleAccountClosure") + "") && X(s, o), T === (T = P(E)) && y ? y.p(E, H) : (y.d(1), y = T(E), y && (y.c(), y.m(r, l))), H & /*$_*/
4485
+ w[3]("titleAccountClosure") + "") && X(s, o), T === (T = P(w)) && x ? x.p(w, H) : (x.d(1), x = T(w), x && (x.c(), x.m(r, l))), H & /*$_*/
4529
4486
  8 && h !== (h = /*$_*/
4530
- E[3]("closeAccount") + "") && X(f, h), /*closureModal*/
4531
- E[2] ? C ? C.p(E, H) : (C = Tt(E), C.c(), C.m(t, null)) : C && (C.d(1), C = null);
4487
+ w[3]("closeAccount") + "") && X(f, h), /*closureModal*/
4488
+ w[2] ? A ? A.p(w, H) : (A = Et(w), A.c(), A.m(t, null)) : A && (A.d(1), A = null);
4532
4489
  },
4533
4490
  i: O,
4534
4491
  o: O,
4535
- d(E) {
4536
- E && R(t), _ && _.d(), y.d(), C && C.d(), e[17](null), m = !1, d();
4492
+ d(w) {
4493
+ w && R(t), E && E.d(), x.d(), A && A.d(), e[17](null), m = !1, d();
4537
4494
  }
4538
4495
  };
4539
4496
  }
4540
- function Xi(e, t, r) {
4497
+ function ki(e, t, r) {
4541
4498
  let n;
4542
- lr(e, Ni, (A) => r(3, n = A));
4543
- let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c = Li(u) !== "PC", h = !1, f = !1, p;
4499
+ ir(e, Hi, (S) => r(3, n = S));
4500
+ let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c = Mi(u) !== "PC", h = !1, f = !1, p;
4544
4501
  const m = () => {
4545
- r(1, h = !0), fetch(l).then((j) => j.json()).then((j) => {
4546
- Object.keys(j).forEach((rt) => {
4547
- At(rt, j[rt]);
4502
+ r(1, h = !0), fetch(l).then((k) => k.json()).then((k) => {
4503
+ Object.keys(k).forEach((Ye) => {
4504
+ xt(Ye, k[Ye]);
4548
4505
  });
4549
- }).catch((j) => {
4550
- console.log(j);
4506
+ }).catch((k) => {
4507
+ console.log(k);
4551
4508
  }).finally(() => {
4552
4509
  r(1, h = !1);
4553
4510
  });
4554
4511
  };
4555
- Object.keys(St).forEach((A) => {
4556
- At(A, St[A]);
4512
+ Object.keys(_t).forEach((S) => {
4513
+ xt(S, _t[S]);
4557
4514
  });
4558
- const d = (A) => {
4559
- r(2, f = A), A === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
4560
- }, _ = () => {
4515
+ const d = (S) => {
4516
+ r(2, f = S), S === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
4517
+ }, E = () => {
4561
4518
  d(!1), window.postMessage({ type: "AccountClosure" }, window.location.href);
4562
4519
  }, P = () => {
4563
4520
  window.postMessage(
@@ -4568,24 +4525,24 @@ function Xi(e, t, r) {
4568
4525
  window.location.href
4569
4526
  );
4570
4527
  }, T = () => {
4571
- $i(i);
4528
+ Pi(i);
4572
4529
  };
4573
- vr(() => () => {
4530
+ fr(() => () => {
4574
4531
  });
4575
- const y = () => P(), C = () => d(!0), E = () => d(!1), H = () => _();
4576
- function ce(A) {
4577
- Le[A ? "unshift" : "push"](() => {
4578
- p = A, r(0, p);
4532
+ const x = () => P(), A = () => d(!0), w = () => d(!1), H = () => E();
4533
+ function ce(S) {
4534
+ Oe[S ? "unshift" : "push"](() => {
4535
+ p = S, r(0, p);
4579
4536
  });
4580
4537
  }
4581
- return e.$$set = (A) => {
4582
- "lang" in A && r(8, i = A.lang), "clientstyling" in A && r(9, o = A.clientstyling), "clientstylingurl" in A && r(10, s = A.clientstylingurl), "mbsource" in A && r(11, a = A.mbsource), "translationurl" in A && r(12, l = A.translationurl);
4538
+ return e.$$set = (S) => {
4539
+ "lang" in S && r(8, i = S.lang), "clientstyling" in S && r(9, o = S.clientstyling), "clientstylingurl" in S && r(10, s = S.clientstylingurl), "mbsource" in S && r(11, a = S.mbsource), "translationurl" in S && r(12, l = S.translationurl);
4583
4540
  }, e.$$.update = () => {
4584
4541
  e.$$.dirty & /*lang*/
4585
4542
  256 && i && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4586
- 513 && o && p && Ri(p, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4587
- 1025 && s && p && Di(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4588
- 2049 && a && p && Ui(p, `${a}.Style`), e.$$.dirty & /*translationurl*/
4543
+ 513 && o && p && Oi(p, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4544
+ 1025 && s && p && Ii(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4545
+ 2049 && a && p && Ni(p, `${a}.Style`), e.$$.dirty & /*translationurl*/
4589
4546
  4096 && l && m();
4590
4547
  }, [
4591
4548
  p,
@@ -4594,28 +4551,28 @@ function Xi(e, t, r) {
4594
4551
  n,
4595
4552
  c,
4596
4553
  d,
4597
- _,
4554
+ E,
4598
4555
  P,
4599
4556
  i,
4600
4557
  o,
4601
4558
  s,
4602
4559
  a,
4603
4560
  l,
4604
- y,
4605
- C,
4606
- E,
4561
+ x,
4562
+ A,
4563
+ w,
4607
4564
  H,
4608
4565
  ce
4609
4566
  ];
4610
4567
  }
4611
- class Zi extends Mr {
4568
+ class ji extends Ar {
4612
4569
  constructor(t) {
4613
- super(), Br(
4570
+ super(), wr(
4614
4571
  this,
4615
4572
  t,
4616
- Xi,
4617
- Vi,
4618
- Ht,
4573
+ ki,
4574
+ Gi,
4575
+ Ct,
4619
4576
  {
4620
4577
  lang: 8,
4621
4578
  clientstyling: 9,
@@ -4623,7 +4580,7 @@ class Zi extends Mr {
4623
4580
  mbsource: 11,
4624
4581
  translationurl: 12
4625
4582
  },
4626
- Fi
4583
+ Li
4627
4584
  );
4628
4585
  }
4629
4586
  get lang() {
@@ -4657,7 +4614,7 @@ class Zi extends Mr {
4657
4614
  this.$$set({ translationurl: t }), D();
4658
4615
  }
4659
4616
  }
4660
- Hr(Zi, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4617
+ Cr(ji, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4661
4618
  export {
4662
- Zi as P
4619
+ ji as P
4663
4620
  };