@everymatrix/player-account-closure 1.59.0 → 1.59.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var ur = Object.defineProperty, lr = Object.defineProperties;
2
- var cr = Object.getOwnPropertyDescriptors;
3
- var Ke = Object.getOwnPropertySymbols;
4
- var hr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
5
- var Ae = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
1
+ var fr = Object.defineProperty, pr = Object.defineProperties;
2
+ var dr = Object.getOwnPropertyDescriptors;
3
+ var rt = Object.getOwnPropertySymbols;
4
+ var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
+ var Ae = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- hr.call(t, r) && Ae(e, r, t[r]);
8
- if (Ke)
9
- for (var r of Ke(t))
10
- fr.call(t, r) && Ae(e, r, t[r]);
7
+ mr.call(t, r) && Ae(e, r, t[r]);
8
+ if (rt)
9
+ for (var r of rt(t))
10
+ br.call(t, r) && Ae(e, r, t[r]);
11
11
  return e;
12
- }, tt = (e, t) => lr(e, cr(t));
12
+ }, it = (e, t) => pr(e, dr(t));
13
13
  var O = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var rt = (e, t, r) => new Promise((n, i) => {
14
+ var ot = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,25 +29,25 @@ var rt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function Bt(e) {
32
+ function Pt(e) {
33
33
  return e();
34
34
  }
35
- function nt() {
35
+ function st() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function K(e) {
39
- e.forEach(Bt);
39
+ e.forEach(Pt);
40
40
  }
41
- function qe(e) {
41
+ function Qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ht(e, t) {
44
+ function Ot(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function pr(e) {
47
+ function vr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Mt(e, ...t) {
50
+ function It(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function Mt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function dr(e, t, r) {
60
- e.$$.on_destroy.push(Mt(t, r));
59
+ function gr(e, t, r) {
60
+ e.$$.on_destroy.push(It(t, r));
61
61
  }
62
62
  function v(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function mr(e, t, r) {
66
- const n = br(e);
65
+ function yr(e, t, r) {
66
+ const n = xr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = B("style");
69
- i.id = t, i.textContent = r, vr(n, i);
69
+ i.id = t, i.textContent = r, Er(n, i);
70
70
  }
71
71
  }
72
- function br(e) {
72
+ function xr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,7 +79,7 @@ function br(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function vr(e, t) {
82
+ function Er(e, t) {
83
83
  return v(
84
84
  /** @type {Document} */
85
85
  e.head || e,
@@ -110,14 +110,14 @@ function be(e, t, r, n) {
110
110
  function E(e, t, r) {
111
111
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
112
112
  }
113
- function gr(e) {
113
+ function _r(e) {
114
114
  return Array.from(e.childNodes);
115
115
  }
116
116
  function F(e, t) {
117
117
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
118
  t);
119
119
  }
120
- function yr(e) {
120
+ function Cr(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -130,22 +130,22 @@ let oe;
130
130
  function ie(e) {
131
131
  oe = e;
132
132
  }
133
- function xr() {
133
+ function wr() {
134
134
  if (!oe)
135
135
  throw new Error("Function called outside component initialization");
136
136
  return oe;
137
137
  }
138
- function Er(e) {
139
- xr().$$.on_mount.push(e);
138
+ function Ar(e) {
139
+ wr().$$.on_mount.push(e);
140
140
  }
141
- const V = [], Ie = [];
141
+ const W = [], Ne = [];
142
142
  let X = [];
143
- const it = [], _r = /* @__PURE__ */ Promise.resolve();
144
- let Ne = !1;
145
- function Cr() {
146
- Ne || (Ne = !0, _r.then(D));
143
+ const at = [], Sr = /* @__PURE__ */ Promise.resolve();
144
+ let Le = !1;
145
+ function Tr() {
146
+ Le || (Le = !0, Sr.then(D));
147
147
  }
148
- function Le(e) {
148
+ function $e(e) {
149
149
  X.push(e);
150
150
  }
151
151
  const Se = /* @__PURE__ */ new Set();
@@ -156,55 +156,55 @@ function D() {
156
156
  const e = oe;
157
157
  do {
158
158
  try {
159
- for (; z < V.length; ) {
160
- const t = V[z];
161
- z++, ie(t), wr(t.$$);
159
+ for (; z < W.length; ) {
160
+ const t = W[z];
161
+ z++, ie(t), Br(t.$$);
162
162
  }
163
163
  } catch (t) {
164
- throw V.length = 0, z = 0, t;
164
+ throw W.length = 0, z = 0, t;
165
165
  }
166
- for (ie(null), V.length = 0, z = 0; Ie.length; )
167
- Ie.pop()();
166
+ for (ie(null), W.length = 0, z = 0; Ne.length; )
167
+ Ne.pop()();
168
168
  for (let t = 0; t < X.length; t += 1) {
169
169
  const r = X[t];
170
170
  Se.has(r) || (Se.add(r), r());
171
171
  }
172
172
  X.length = 0;
173
- } while (V.length);
174
- for (; it.length; )
175
- it.pop()();
176
- Ne = !1, Se.clear(), ie(e);
173
+ } while (W.length);
174
+ for (; at.length; )
175
+ at.pop()();
176
+ Le = !1, Se.clear(), ie(e);
177
177
  }
178
- function wr(e) {
178
+ function Br(e) {
179
179
  if (e.fragment !== null) {
180
180
  e.update(), K(e.before_update);
181
181
  const t = e.dirty;
182
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
183
183
  }
184
184
  }
185
- function Ar(e) {
185
+ function Hr(e) {
186
186
  const t = [], r = [];
187
187
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
188
188
  }
189
- const Sr = /* @__PURE__ */ new Set();
190
- function Tr(e, t) {
191
- e && e.i && (Sr.delete(e), e.i(t));
189
+ const Mr = /* @__PURE__ */ new Set();
190
+ function Pr(e, t) {
191
+ e && e.i && (Mr.delete(e), e.i(t));
192
192
  }
193
- function Br(e, t, r) {
193
+ function Or(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
- n && n.m(t, r), Le(() => {
196
- const o = e.$$.on_mount.map(Bt).filter(qe);
195
+ n && n.m(t, r), $e(() => {
196
+ const o = e.$$.on_mount.map(Pt).filter(Qe);
197
197
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
198
- }), i.forEach(Le);
198
+ }), i.forEach($e);
199
199
  }
200
- function Hr(e, t) {
200
+ function Ir(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (Ar(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (Hr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
203
  }
204
- function Mr(e, t) {
205
- e.$$.dirty[0] === -1 && (V.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function Nr(e, t) {
205
+ e.$$.dirty[0] === -1 && (W.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
207
+ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
208
208
  const u = oe;
209
209
  ie(e);
210
210
  const l = e.$$ = {
@@ -214,7 +214,7 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
214
214
  props: o,
215
215
  update: I,
216
216
  not_equal: i,
217
- bound: nt(),
217
+ bound: st(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,7 +223,7 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (u ? u.$$.context : [])),
225
225
  // everything else
226
- callbacks: nt(),
226
+ callbacks: st(),
227
227
  dirty: a,
228
228
  skip_bound: !1,
229
229
  root: t.target || u.$$.root
@@ -232,19 +232,19 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
232
232
  let c = !1;
233
233
  if (l.ctx = r ? r(e, t.props || {}, (f, h, ...p) => {
234
234
  const m = p.length ? p[0] : h;
235
- return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), c && Mr(e, f)), h;
235
+ return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), c && Nr(e, f)), h;
236
236
  }) : [], l.update(), c = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
237
237
  if (t.hydrate) {
238
- const f = gr(t.target);
238
+ const f = _r(t.target);
239
239
  l.fragment && l.fragment.l(f), f.forEach(ue);
240
240
  } else
241
241
  l.fragment && l.fragment.c();
242
- t.intro && Tr(e.$$.fragment), Br(e, t.target, t.anchor), D();
242
+ t.intro && Pr(e.$$.fragment), Or(e, t.target, t.anchor), D();
243
243
  }
244
244
  ie(u);
245
245
  }
246
- let Pt;
247
- typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
246
+ let Nt;
247
+ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return rt(this, null, function* () {
284
+ return ot(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let t = function(o) {
287
287
  return () => {
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = yr(this);
308
+ const r = {}, n = Cr(this);
309
309
  for (const o of this.$$s)
310
310
  o in n && (r[o] = [t(o)]);
311
311
  for (const o of this.attributes) {
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
316
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: tt(et({}, this.$$d), {
319
+ props: it(nt({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -394,8 +394,8 @@ function fe(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function Or(e, t, r, n, i, o) {
398
- let s = class extends Pt {
397
+ function $r(e, t, r, n, i, o) {
398
+ let s = class extends Nt {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -425,7 +425,7 @@ function Or(e, t, r, n, i, o) {
425
425
  }), e.element = /** @type {any} */
426
426
  s, s;
427
427
  }
428
- class Ir {
428
+ class Rr {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -446,7 +446,7 @@ class Ir {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- Hr(this, 1), this.$destroy = I;
449
+ Ir(this, 1), this.$destroy = I;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -455,7 +455,7 @@ class Ir {
455
455
  * @returns {() => void}
456
456
  */
457
457
  $on(t, r) {
458
- if (!qe(r))
458
+ if (!Qe(r))
459
459
  return I;
460
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
461
461
  return n.push(r), () => {
@@ -468,11 +468,11 @@ class Ir {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const Nr = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
474
+ const Dr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
476
476
  /*! *****************************************************************************
477
477
  Copyright (c) Microsoft Corporation.
478
478
 
@@ -487,18 +487,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
487
487
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
488
488
  PERFORMANCE OF THIS SOFTWARE.
489
489
  ***************************************************************************** */
490
- var $e = function(e, t) {
491
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
490
+ var Re = function(e, t) {
491
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
492
492
  r.__proto__ = n;
493
493
  } || function(r, n) {
494
494
  for (var i in n)
495
495
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
496
- }, $e(e, t);
496
+ }, Re(e, t);
497
497
  };
498
498
  function $(e, t) {
499
499
  if (typeof t != "function" && t !== null)
500
500
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
501
- $e(e, t);
501
+ Re(e, t);
502
502
  function r() {
503
503
  this.constructor = e;
504
504
  }
@@ -514,7 +514,7 @@ var x = function() {
514
514
  return t;
515
515
  }, x.apply(this, arguments);
516
516
  };
517
- function Lr(e, t) {
517
+ function Ur(e, t) {
518
518
  var r = {};
519
519
  for (var n in e)
520
520
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -523,7 +523,7 @@ function Lr(e, t) {
523
523
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
524
524
  return r;
525
525
  }
526
- function Re(e) {
526
+ function De(e) {
527
527
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
528
528
  if (r)
529
529
  return r.call(e);
@@ -535,7 +535,7 @@ function Re(e) {
535
535
  };
536
536
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
537
537
  }
538
- function De(e, t) {
538
+ function Ue(e, t) {
539
539
  var r = typeof Symbol == "function" && e[Symbol.iterator];
540
540
  if (!r)
541
541
  return e;
@@ -564,13 +564,13 @@ function Z(e, t, r) {
564
564
  function L(e) {
565
565
  return typeof e == "function";
566
566
  }
567
- function Ot(e) {
567
+ function Lt(e) {
568
568
  var t = function(n) {
569
569
  Error.call(n), n.stack = new Error().stack;
570
570
  }, r = e(t);
571
571
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
572
572
  }
573
- var Te = Ot(function(e) {
573
+ var Te = Lt(function(e) {
574
574
  return function(r) {
575
575
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
576
576
  ` + r.map(function(n, i) {
@@ -579,7 +579,7 @@ var Te = Ot(function(e) {
579
579
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
580
580
  };
581
581
  });
582
- function Ue(e, t) {
582
+ function Fe(e, t) {
583
583
  if (e) {
584
584
  var r = e.indexOf(t);
585
585
  0 <= r && e.splice(r, 1);
@@ -597,7 +597,7 @@ var xe = function() {
597
597
  if (s)
598
598
  if (this._parentage = null, Array.isArray(s))
599
599
  try {
600
- for (var a = Re(s), u = a.next(); !u.done; u = a.next()) {
600
+ for (var a = De(s), u = a.next(); !u.done; u = a.next()) {
601
601
  var l = u.value;
602
602
  l.remove(this);
603
603
  }
@@ -624,12 +624,12 @@ var xe = function() {
624
624
  if (f) {
625
625
  this._finalizers = null;
626
626
  try {
627
- for (var h = Re(f), p = h.next(); !p.done; p = h.next()) {
627
+ for (var h = De(f), p = h.next(); !p.done; p = h.next()) {
628
628
  var m = p.value;
629
629
  try {
630
- ot(m);
630
+ ut(m);
631
631
  } catch (d) {
632
- o = o != null ? o : [], d instanceof Te ? o = Z(Z([], De(o)), De(d.errors)) : o.push(d);
632
+ o = o != null ? o : [], d instanceof Te ? o = Z(Z([], Ue(o)), Ue(d.errors)) : o.push(d);
633
633
  }
634
634
  }
635
635
  } catch (d) {
@@ -650,7 +650,7 @@ var xe = function() {
650
650
  var r;
651
651
  if (t && t !== this)
652
652
  if (this.closed)
653
- ot(t);
653
+ ut(t);
654
654
  else {
655
655
  if (t instanceof e) {
656
656
  if (t.closed || t._hasParent(this))
@@ -667,52 +667,56 @@ var xe = function() {
667
667
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
668
668
  }, e.prototype._removeParent = function(t) {
669
669
  var r = this._parentage;
670
- r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
670
+ r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
671
671
  }, e.prototype.remove = function(t) {
672
672
  var r = this._finalizers;
673
- r && Ue(r, t), t instanceof e && t._removeParent(this);
673
+ r && Fe(r, t), t instanceof e && t._removeParent(this);
674
674
  }, e.EMPTY = function() {
675
675
  var t = new e();
676
676
  return t.closed = !0, t;
677
677
  }(), e;
678
- }(), It = xe.EMPTY;
679
- function Nt(e) {
678
+ }(), $t = xe.EMPTY;
679
+ function Rt(e) {
680
680
  return e instanceof xe || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
681
681
  }
682
- function ot(e) {
682
+ function ut(e) {
683
683
  L(e) ? e() : e.unsubscribe();
684
684
  }
685
- var $r = {
686
- Promise: void 0
687
- }, Rr = {
685
+ var Dt = {
686
+ onUnhandledError: null,
687
+ onStoppedNotification: null,
688
+ Promise: void 0,
689
+ useDeprecatedSynchronousErrorHandling: !1,
690
+ useDeprecatedNextContext: !1
691
+ }, Fr = {
688
692
  setTimeout: function(e, t) {
689
693
  for (var r = [], n = 2; n < arguments.length; n++)
690
694
  r[n - 2] = arguments[n];
691
- return setTimeout.apply(void 0, Z([e, t], De(r)));
695
+ return setTimeout.apply(void 0, Z([e, t], Ue(r)));
692
696
  },
693
697
  clearTimeout: function(e) {
694
698
  return clearTimeout(e);
695
699
  },
696
700
  delegate: void 0
697
701
  };
698
- function Dr(e) {
699
- Rr.setTimeout(function() {
702
+ function Gr(e) {
703
+ Fr.setTimeout(function() {
700
704
  throw e;
701
705
  });
702
706
  }
703
- function st() {
707
+ function lt() {
704
708
  }
705
709
  function pe(e) {
706
710
  e();
707
711
  }
708
- var Lt = function(e) {
712
+ var Ut = function(e) {
709
713
  $(t, e);
710
714
  function t(r) {
711
715
  var n = e.call(this) || this;
712
- return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Gr, n;
716
+ return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Vr, n;
713
717
  }
714
718
  return t.create = function(r, n, i) {
715
- return new Fe(r, n, i);
719
+ return new Ge(r, n, i);
716
720
  }, t.prototype.next = function(r) {
717
721
  this.isStopped || this._next(r);
718
722
  }, t.prototype.error = function(r) {
@@ -736,7 +740,11 @@ var Lt = function(e) {
736
740
  this.unsubscribe();
737
741
  }
738
742
  }, t;
739
- }(xe), Ur = function() {
743
+ }(xe), jr = Function.prototype.bind;
744
+ function Be(e, t) {
745
+ return jr.call(e, t);
746
+ }
747
+ var kr = function() {
740
748
  function e(t) {
741
749
  this.partialObserver = t;
742
750
  }
@@ -767,43 +775,55 @@ var Lt = function(e) {
767
775
  ce(r);
768
776
  }
769
777
  }, e;
770
- }(), Fe = function(e) {
778
+ }(), Ge = function(e) {
771
779
  $(t, e);
772
780
  function t(r, n, i) {
773
781
  var o = e.call(this) || this, s;
774
- return L(r) || !r ? s = {
775
- next: r != null ? r : void 0,
776
- error: n != null ? n : void 0,
777
- complete: i != null ? i : void 0
778
- } : s = r, o.destination = new Ur(s), o;
782
+ if (L(r) || !r)
783
+ s = {
784
+ next: r != null ? r : void 0,
785
+ error: n != null ? n : void 0,
786
+ complete: i != null ? i : void 0
787
+ };
788
+ else {
789
+ var a;
790
+ o && Dt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
791
+ return o.unsubscribe();
792
+ }, s = {
793
+ next: r.next && Be(r.next, a),
794
+ error: r.error && Be(r.error, a),
795
+ complete: r.complete && Be(r.complete, a)
796
+ }) : s = r;
797
+ }
798
+ return o.destination = new kr(s), o;
779
799
  }
780
800
  return t;
781
- }(Lt);
801
+ }(Ut);
782
802
  function ce(e) {
783
- Dr(e);
803
+ Gr(e);
784
804
  }
785
- function Fr(e) {
805
+ function zr(e) {
786
806
  throw e;
787
807
  }
788
- var Gr = {
808
+ var Vr = {
789
809
  closed: !0,
790
- next: st,
791
- error: Fr,
792
- complete: st
793
- }, jr = function() {
810
+ next: lt,
811
+ error: zr,
812
+ complete: lt
813
+ }, Wr = function() {
794
814
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
795
815
  }();
796
- function kr(e) {
816
+ function Xr(e) {
797
817
  return e;
798
818
  }
799
- function zr(e) {
800
- return e.length === 0 ? kr : e.length === 1 ? e[0] : function(r) {
819
+ function Zr(e) {
820
+ return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
801
821
  return e.reduce(function(n, i) {
802
822
  return i(n);
803
823
  }, r);
804
824
  };
805
825
  }
806
- var at = function() {
826
+ var ct = function() {
807
827
  function e(t) {
808
828
  t && (this._subscribe = t);
809
829
  }
@@ -811,7 +831,7 @@ var at = function() {
811
831
  var r = new e();
812
832
  return r.source = this, r.operator = t, r;
813
833
  }, e.prototype.subscribe = function(t, r, n) {
814
- var i = this, o = Vr(t) ? t : new Fe(t, r, n);
834
+ var i = this, o = Qr(t) ? t : new Ge(t, r, n);
815
835
  return pe(function() {
816
836
  var s = i, a = s.operator, u = s.source;
817
837
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -824,8 +844,8 @@ var at = function() {
824
844
  }
825
845
  }, e.prototype.forEach = function(t, r) {
826
846
  var n = this;
827
- return r = ut(r), new r(function(i, o) {
828
- var s = new Fe({
847
+ return r = ht(r), new r(function(i, o) {
848
+ var s = new Ge({
829
849
  next: function(a) {
830
850
  try {
831
851
  t(a);
@@ -841,15 +861,15 @@ var at = function() {
841
861
  }, e.prototype._subscribe = function(t) {
842
862
  var r;
843
863
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
844
- }, e.prototype[jr] = function() {
864
+ }, e.prototype[Wr] = function() {
845
865
  return this;
846
866
  }, e.prototype.pipe = function() {
847
867
  for (var t = [], r = 0; r < arguments.length; r++)
848
868
  t[r] = arguments[r];
849
- return zr(t)(this);
869
+ return Zr(t)(this);
850
870
  }, e.prototype.toPromise = function(t) {
851
871
  var r = this;
852
- return t = ut(t), new t(function(n, i) {
872
+ return t = ht(t), new t(function(n, i) {
853
873
  var o;
854
874
  r.subscribe(function(s) {
855
875
  return o = s;
@@ -863,32 +883,32 @@ var at = function() {
863
883
  return new e(t);
864
884
  }, e;
865
885
  }();
866
- function ut(e) {
886
+ function ht(e) {
867
887
  var t;
868
- return (t = e != null ? e : $r.Promise) !== null && t !== void 0 ? t : Promise;
888
+ return (t = e != null ? e : Dt.Promise) !== null && t !== void 0 ? t : Promise;
869
889
  }
870
- function Wr(e) {
890
+ function qr(e) {
871
891
  return e && L(e.next) && L(e.error) && L(e.complete);
872
892
  }
873
- function Vr(e) {
874
- return e && e instanceof Lt || Wr(e) && Nt(e);
893
+ function Qr(e) {
894
+ return e && e instanceof Ut || qr(e) && Rt(e);
875
895
  }
876
- var Xr = Ot(function(e) {
896
+ var Yr = Lt(function(e) {
877
897
  return function() {
878
898
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
879
899
  };
880
- }), $t = function(e) {
900
+ }), Ft = function(e) {
881
901
  $(t, e);
882
902
  function t() {
883
903
  var r = e.call(this) || this;
884
904
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
885
905
  }
886
906
  return t.prototype.lift = function(r) {
887
- var n = new lt(this, this);
907
+ var n = new ft(this, this);
888
908
  return n.operator = r, n;
889
909
  }, t.prototype._throwIfClosed = function() {
890
910
  if (this.closed)
891
- throw new Xr();
911
+ throw new Yr();
892
912
  }, t.prototype.next = function(r) {
893
913
  var n = this;
894
914
  pe(function() {
@@ -896,7 +916,7 @@ var Xr = Ot(function(e) {
896
916
  if (n._throwIfClosed(), !n.isStopped) {
897
917
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
898
918
  try {
899
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
919
+ for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
900
920
  var u = a.value;
901
921
  u.next(r);
902
922
  }
@@ -945,19 +965,19 @@ var Xr = Ot(function(e) {
945
965
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
946
966
  }, t.prototype._innerSubscribe = function(r) {
947
967
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
948
- return o || s ? It : (this.currentObservers = null, a.push(r), new xe(function() {
949
- n.currentObservers = null, Ue(a, r);
968
+ return o || s ? $t : (this.currentObservers = null, a.push(r), new xe(function() {
969
+ n.currentObservers = null, Fe(a, r);
950
970
  }));
951
971
  }, t.prototype._checkFinalizedStatuses = function(r) {
952
972
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
953
973
  i ? r.error(o) : s && r.complete();
954
974
  }, t.prototype.asObservable = function() {
955
- var r = new at();
975
+ var r = new ct();
956
976
  return r.source = this, r;
957
977
  }, t.create = function(r, n) {
958
- return new lt(r, n);
978
+ return new ft(r, n);
959
979
  }, t;
960
- }(at), lt = function(e) {
980
+ }(ct), ft = function(e) {
961
981
  $(t, e);
962
982
  function t(r, n) {
963
983
  var i = e.call(this) || this;
@@ -974,17 +994,17 @@ var Xr = Ot(function(e) {
974
994
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
975
995
  }, t.prototype._subscribe = function(r) {
976
996
  var n, i;
977
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
997
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
978
998
  }, t;
979
- }($t), Rt = {
999
+ }(Ft), Gt = {
980
1000
  now: function() {
981
- return (Rt.delegate || Date).now();
1001
+ return (Gt.delegate || Date).now();
982
1002
  },
983
1003
  delegate: void 0
984
- }, Zr = function(e) {
1004
+ }, Jr = function(e) {
985
1005
  $(t, e);
986
1006
  function t(r, n, i) {
987
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
1007
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
988
1008
  var o = e.call(this) || this;
989
1009
  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;
990
1010
  }
@@ -1004,15 +1024,15 @@ var Xr = Ot(function(e) {
1004
1024
  l && o.splice(0, l + 1);
1005
1025
  }
1006
1026
  }, t;
1007
- }($t);
1008
- const ct = [], ht = {}, qr = (e, t = 0) => {
1009
- if (ct.indexOf(e) == -1) {
1010
- const r = new Zr(t);
1011
- ht[e] = r, ct.push(e);
1027
+ }(Ft);
1028
+ const pt = [], dt = {}, Kr = (e, t = 0) => {
1029
+ if (pt.indexOf(e) == -1) {
1030
+ const r = new Jr(t);
1031
+ dt[e] = r, pt.push(e);
1012
1032
  }
1013
- return ht[e];
1014
- }, W = [];
1015
- function Qr(e, t) {
1033
+ return dt[e];
1034
+ }, V = [];
1035
+ function en(e, t) {
1016
1036
  return {
1017
1037
  subscribe: Ee(e, t).subscribe
1018
1038
  };
@@ -1021,14 +1041,14 @@ function Ee(e, t = I) {
1021
1041
  let r;
1022
1042
  const n = /* @__PURE__ */ new Set();
1023
1043
  function i(a) {
1024
- if (Ht(e, a) && (e = a, r)) {
1025
- const u = !W.length;
1044
+ if (Ot(e, a) && (e = a, r)) {
1045
+ const u = !V.length;
1026
1046
  for (const l of n)
1027
- l[1](), W.push(l, e);
1047
+ l[1](), V.push(l, e);
1028
1048
  if (u) {
1029
- for (let l = 0; l < W.length; l += 2)
1030
- W[l][0](W[l + 1]);
1031
- W.length = 0;
1049
+ for (let l = 0; l < V.length; l += 2)
1050
+ V[l][0](V[l + 1]);
1051
+ V.length = 0;
1032
1052
  }
1033
1053
  }
1034
1054
  }
@@ -1048,7 +1068,7 @@ function ee(e, t, r) {
1048
1068
  if (!i.every(Boolean))
1049
1069
  throw new Error("derived() expects stores as input, got a falsy value");
1050
1070
  const o = t.length < 2;
1051
- return Qr(r, (s, a) => {
1071
+ return en(r, (s, a) => {
1052
1072
  let u = !1;
1053
1073
  const l = [];
1054
1074
  let c = 0, f = I;
@@ -1057,9 +1077,9 @@ function ee(e, t, r) {
1057
1077
  return;
1058
1078
  f();
1059
1079
  const m = t(n ? l[0] : l, s, a);
1060
- o ? s(m) : f = qe(m) ? m : I;
1080
+ o ? s(m) : f = Qe(m) ? m : I;
1061
1081
  }, p = i.map(
1062
- (m, d) => Mt(
1082
+ (m, d) => It(
1063
1083
  m,
1064
1084
  (_) => {
1065
1085
  l[d] = _, c &= ~(1 << d), u && h();
@@ -1074,70 +1094,70 @@ function ee(e, t, r) {
1074
1094
  };
1075
1095
  });
1076
1096
  }
1077
- function Yr(e) {
1097
+ function tn(e) {
1078
1098
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1079
1099
  }
1080
- var Jr = function(t) {
1081
- return Kr(t) && !en(t);
1100
+ var rn = function(t) {
1101
+ return nn(t) && !on(t);
1082
1102
  };
1083
- function Kr(e) {
1103
+ function nn(e) {
1084
1104
  return !!e && typeof e == "object";
1085
1105
  }
1086
- function en(e) {
1106
+ function on(e) {
1087
1107
  var t = Object.prototype.toString.call(e);
1088
- return t === "[object RegExp]" || t === "[object Date]" || nn(e);
1108
+ return t === "[object RegExp]" || t === "[object Date]" || un(e);
1089
1109
  }
1090
- var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
1091
- function nn(e) {
1092
- return e.$$typeof === rn;
1110
+ var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1111
+ function un(e) {
1112
+ return e.$$typeof === an;
1093
1113
  }
1094
- function on(e) {
1114
+ function ln(e) {
1095
1115
  return Array.isArray(e) ? [] : {};
1096
1116
  }
1097
1117
  function se(e, t) {
1098
- return t.clone !== !1 && t.isMergeableObject(e) ? q(on(e), e, t) : e;
1118
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(ln(e), e, t) : e;
1099
1119
  }
1100
- function sn(e, t, r) {
1120
+ function cn(e, t, r) {
1101
1121
  return e.concat(t).map(function(n) {
1102
1122
  return se(n, r);
1103
1123
  });
1104
1124
  }
1105
- function an(e, t) {
1125
+ function hn(e, t) {
1106
1126
  if (!t.customMerge)
1107
1127
  return q;
1108
1128
  var r = t.customMerge(e);
1109
1129
  return typeof r == "function" ? r : q;
1110
1130
  }
1111
- function un(e) {
1131
+ function fn(e) {
1112
1132
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1113
1133
  return Object.propertyIsEnumerable.call(e, t);
1114
1134
  }) : [];
1115
1135
  }
1116
- function ft(e) {
1117
- return Object.keys(e).concat(un(e));
1136
+ function mt(e) {
1137
+ return Object.keys(e).concat(fn(e));
1118
1138
  }
1119
- function Dt(e, t) {
1139
+ function jt(e, t) {
1120
1140
  try {
1121
1141
  return t in e;
1122
1142
  } catch (r) {
1123
1143
  return !1;
1124
1144
  }
1125
1145
  }
1126
- function ln(e, t) {
1127
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1146
+ function pn(e, t) {
1147
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1128
1148
  }
1129
- function cn(e, t, r) {
1149
+ function dn(e, t, r) {
1130
1150
  var n = {};
1131
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1151
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1132
1152
  n[i] = se(e[i], r);
1133
- }), ft(t).forEach(function(i) {
1134
- ln(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1153
+ }), mt(t).forEach(function(i) {
1154
+ pn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1135
1155
  }), n;
1136
1156
  }
1137
1157
  function q(e, t, r) {
1138
- r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = se;
1158
+ r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = se;
1139
1159
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1140
- return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : se(t, r);
1160
+ return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : se(t, r);
1141
1161
  }
1142
1162
  q.all = function(t, r) {
1143
1163
  if (!Array.isArray(t))
@@ -1146,56 +1166,58 @@ q.all = function(t, r) {
1146
1166
  return q(n, i, r);
1147
1167
  }, {});
1148
1168
  };
1149
- var hn = q, fn = hn;
1150
- const pn = /* @__PURE__ */ Yr(fn);
1151
- function Be(e, t) {
1152
- var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : bn;
1169
+ var mn = q, bn = mn;
1170
+ const vn = /* @__PURE__ */ tn(bn);
1171
+ function He(e, t) {
1172
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : yn;
1153
1173
  return i(e, {
1154
1174
  cache: r,
1155
1175
  serializer: n
1156
1176
  });
1157
1177
  }
1158
- function dn(e) {
1178
+ function gn(e) {
1159
1179
  return e == null || typeof e == "number" || typeof e == "boolean";
1160
1180
  }
1161
- function mn(e, t, r, n) {
1162
- var i = dn(n) ? n : r(n), o = t.get(i);
1181
+ function kt(e, t, r, n) {
1182
+ var i = gn(n) ? n : r(n), o = t.get(i);
1163
1183
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1164
1184
  }
1165
- function Ut(e, t, r) {
1185
+ function zt(e, t, r) {
1166
1186
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1167
1187
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1168
1188
  }
1169
- function Ft(e, t, r, n, i) {
1189
+ function Ye(e, t, r, n, i) {
1170
1190
  return r.bind(t, e, n, i);
1171
1191
  }
1172
- function bn(e, t) {
1173
- var r = e.length === 1 ? mn : Ut;
1174
- return Ft(e, this, r, t.cache.create(), t.serializer);
1192
+ function yn(e, t) {
1193
+ var r = e.length === 1 ? kt : zt;
1194
+ return Ye(e, this, r, t.cache.create(), t.serializer);
1175
1195
  }
1176
- function vn(e, t) {
1177
- return Ft(e, this, Ut, t.cache.create(), t.serializer);
1196
+ function xn(e, t) {
1197
+ return Ye(e, this, zt, t.cache.create(), t.serializer);
1178
1198
  }
1179
- var gn = function() {
1199
+ function En(e, t) {
1200
+ return Ye(e, this, kt, t.cache.create(), t.serializer);
1201
+ }
1202
+ var _n = function() {
1180
1203
  return JSON.stringify(arguments);
1181
- }, yn = (
1182
- /** @class */
1183
- function() {
1184
- function e() {
1185
- this.cache = /* @__PURE__ */ Object.create(null);
1186
- }
1187
- return e.prototype.get = function(t) {
1188
- return this.cache[t];
1189
- }, e.prototype.set = function(t, r) {
1190
- this.cache[t] = r;
1191
- }, e;
1192
- }()
1193
- ), xn = {
1204
+ };
1205
+ function Je() {
1206
+ this.cache = /* @__PURE__ */ Object.create(null);
1207
+ }
1208
+ Je.prototype.get = function(e) {
1209
+ return this.cache[e];
1210
+ };
1211
+ Je.prototype.set = function(e, t) {
1212
+ this.cache[e] = t;
1213
+ };
1214
+ var Cn = {
1194
1215
  create: function() {
1195
- return new yn();
1216
+ return new Je();
1196
1217
  }
1197
- }, He = {
1198
- variadic: vn
1218
+ }, Me = {
1219
+ variadic: xn,
1220
+ monadic: En
1199
1221
  }, b;
1200
1222
  (function(e) {
1201
1223
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1208,43 +1230,43 @@ var Q;
1208
1230
  (function(e) {
1209
1231
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1210
1232
  })(Q || (Q = {}));
1211
- function pt(e) {
1233
+ function bt(e) {
1212
1234
  return e.type === w.literal;
1213
1235
  }
1214
- function En(e) {
1236
+ function wn(e) {
1215
1237
  return e.type === w.argument;
1216
1238
  }
1217
- function Gt(e) {
1239
+ function Vt(e) {
1218
1240
  return e.type === w.number;
1219
1241
  }
1220
- function jt(e) {
1242
+ function Wt(e) {
1221
1243
  return e.type === w.date;
1222
1244
  }
1223
- function kt(e) {
1245
+ function Xt(e) {
1224
1246
  return e.type === w.time;
1225
1247
  }
1226
- function zt(e) {
1248
+ function Zt(e) {
1227
1249
  return e.type === w.select;
1228
1250
  }
1229
- function Wt(e) {
1251
+ function qt(e) {
1230
1252
  return e.type === w.plural;
1231
1253
  }
1232
- function _n(e) {
1254
+ function An(e) {
1233
1255
  return e.type === w.pound;
1234
1256
  }
1235
- function Vt(e) {
1257
+ function Qt(e) {
1236
1258
  return e.type === w.tag;
1237
1259
  }
1238
- function Xt(e) {
1260
+ function Yt(e) {
1239
1261
  return !!(e && typeof e == "object" && e.type === Q.number);
1240
1262
  }
1241
- function Ge(e) {
1263
+ function je(e) {
1242
1264
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
1243
1265
  }
1244
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1245
- function wn(e) {
1266
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1267
+ function Tn(e) {
1246
1268
  var t = {};
1247
- return e.replace(Cn, function(r) {
1269
+ return e.replace(Sn, function(r) {
1248
1270
  var n = r.length;
1249
1271
  switch (r[0]) {
1250
1272
  case "G":
@@ -1333,11 +1355,11 @@ function wn(e) {
1333
1355
  return "";
1334
1356
  }), t;
1335
1357
  }
1336
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1337
- function Sn(e) {
1358
+ var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1359
+ function Hn(e) {
1338
1360
  if (e.length === 0)
1339
1361
  throw new Error("Number skeleton cannot be empty");
1340
- for (var t = e.split(An).filter(function(h) {
1362
+ for (var t = e.split(Bn).filter(function(h) {
1341
1363
  return h.length > 0;
1342
1364
  }), r = [], n = 0, i = t; n < i.length; n++) {
1343
1365
  var o = i[n], s = o.split("/");
@@ -1352,17 +1374,17 @@ function Sn(e) {
1352
1374
  }
1353
1375
  return r;
1354
1376
  }
1355
- function Tn(e) {
1377
+ function Mn(e) {
1356
1378
  return e.replace(/^(.*?)-/, "");
1357
1379
  }
1358
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1359
- function mt(e) {
1380
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1381
+ function gt(e) {
1360
1382
  var t = {};
1361
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1383
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1362
1384
  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)), "";
1363
1385
  }), t;
1364
1386
  }
1365
- function Yt(e) {
1387
+ function tr(e) {
1366
1388
  switch (e) {
1367
1389
  case "sign-auto":
1368
1390
  return {
@@ -1402,7 +1424,7 @@ function Yt(e) {
1402
1424
  };
1403
1425
  }
1404
1426
  }
1405
- function Hn(e) {
1427
+ function On(e) {
1406
1428
  var t;
1407
1429
  if (e[0] === "E" && e[1] === "E" ? (t = {
1408
1430
  notation: "engineering"
@@ -1410,17 +1432,17 @@ function Hn(e) {
1410
1432
  notation: "scientific"
1411
1433
  }, e = e.slice(1)), t) {
1412
1434
  var r = e.slice(0, 2);
1413
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1435
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1414
1436
  throw new Error("Malformed concise eng/scientific notation");
1415
1437
  t.minimumIntegerDigits = e.length;
1416
1438
  }
1417
1439
  return t;
1418
1440
  }
1419
- function bt(e) {
1420
- var t = {}, r = Yt(e);
1441
+ function yt(e) {
1442
+ var t = {}, r = tr(e);
1421
1443
  return r || t;
1422
1444
  }
1423
- function Mn(e) {
1445
+ function In(e) {
1424
1446
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1425
1447
  var i = n[r];
1426
1448
  switch (i.stem) {
@@ -1444,7 +1466,7 @@ function Mn(e) {
1444
1466
  continue;
1445
1467
  case "measure-unit":
1446
1468
  case "unit":
1447
- t.style = "unit", t.unit = Tn(i.options[0]);
1469
+ t.style = "unit", t.unit = Mn(i.options[0]);
1448
1470
  continue;
1449
1471
  case "compact-short":
1450
1472
  case "K":
@@ -1456,12 +1478,12 @@ function Mn(e) {
1456
1478
  continue;
1457
1479
  case "scientific":
1458
1480
  t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1459
- return x(x({}, u), bt(l));
1481
+ return x(x({}, u), yt(l));
1460
1482
  }, {}));
1461
1483
  continue;
1462
1484
  case "engineering":
1463
1485
  t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1464
- return x(x({}, u), bt(l));
1486
+ return x(x({}, u), yt(l));
1465
1487
  }, {}));
1466
1488
  continue;
1467
1489
  case "notation-simple":
@@ -1506,7 +1528,7 @@ function Mn(e) {
1506
1528
  case "integer-width":
1507
1529
  if (i.options.length > 1)
1508
1530
  throw new RangeError("integer-width stems only accept a single optional option");
1509
- i.options[0].replace(Bn, function(u, l, c, f, h, p) {
1531
+ i.options[0].replace(Pn, function(u, l, c, f, h, p) {
1510
1532
  if (l)
1511
1533
  t.minimumIntegerDigits = c.length;
1512
1534
  else {
@@ -1519,27 +1541,27 @@ function Mn(e) {
1519
1541
  });
1520
1542
  continue;
1521
1543
  }
1522
- if (Qt.test(i.stem)) {
1544
+ if (er.test(i.stem)) {
1523
1545
  t.minimumIntegerDigits = i.stem.length;
1524
1546
  continue;
1525
1547
  }
1526
- if (dt.test(i.stem)) {
1548
+ if (vt.test(i.stem)) {
1527
1549
  if (i.options.length > 1)
1528
1550
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1529
- i.stem.replace(dt, function(u, l, c, f, h, p) {
1551
+ i.stem.replace(vt, function(u, l, c, f, h, p) {
1530
1552
  return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && p ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1531
1553
  });
1532
1554
  var o = i.options[0];
1533
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), mt(o)));
1555
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), gt(o)));
1534
1556
  continue;
1535
1557
  }
1536
- if (qt.test(i.stem)) {
1537
- t = x(x({}, t), mt(i.stem));
1558
+ if (Kt.test(i.stem)) {
1559
+ t = x(x({}, t), gt(i.stem));
1538
1560
  continue;
1539
1561
  }
1540
- var s = Yt(i.stem);
1562
+ var s = tr(i.stem);
1541
1563
  s && (t = x(x({}, t), s));
1542
- var a = Hn(i.stem);
1564
+ var a = On(i.stem);
1543
1565
  a && (t = x(x({}, t), a));
1544
1566
  }
1545
1567
  return t;
@@ -2959,13 +2981,13 @@ var he = {
2959
2981
  "h"
2960
2982
  ]
2961
2983
  };
2962
- function Pn(e, t) {
2984
+ function Nn(e, t) {
2963
2985
  for (var r = "", n = 0; n < e.length; n++) {
2964
2986
  var i = e.charAt(n);
2965
2987
  if (i === "j") {
2966
2988
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2967
2989
  o++, n++;
2968
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = On(t);
2990
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ln(t);
2969
2991
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2970
2992
  r += u;
2971
2993
  for (; s-- > 0; )
@@ -2975,7 +2997,7 @@ function Pn(e, t) {
2975
2997
  }
2976
2998
  return r;
2977
2999
  }
2978
- function On(e) {
3000
+ function Ln(e) {
2979
3001
  var t = e.hourCycle;
2980
3002
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2981
3003
  e.hourCycles && // @ts-ignore
@@ -2997,20 +3019,20 @@ function On(e) {
2997
3019
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
2998
3020
  return i[0];
2999
3021
  }
3000
- var Me, In = new RegExp("^".concat(Zt.source, "*")), Nn = new RegExp("".concat(Zt.source, "*$"));
3022
+ var Pe, $n = new RegExp("^".concat(Jt.source, "*")), Rn = new RegExp("".concat(Jt.source, "*$"));
3001
3023
  function g(e, t) {
3002
3024
  return { start: e, end: t };
3003
3025
  }
3004
- var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Rn = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, jn = Gn ? Number.isSafeInteger : function(e) {
3026
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Fn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Vn = zn ? Number.isSafeInteger : function(e) {
3005
3027
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3006
- }, je = !0;
3028
+ }, ke = !0;
3007
3029
  try {
3008
- var kn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3009
- je = ((Me = kn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3030
+ var Wn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3031
+ ke = ((Pe = Wn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3010
3032
  } catch (e) {
3011
- je = !1;
3033
+ ke = !1;
3012
3034
  }
3013
- var vt = Ln ? (
3035
+ var xt = Dn ? (
3014
3036
  // Native
3015
3037
  function(t, r, n) {
3016
3038
  return t.startsWith(r, n);
@@ -3020,7 +3042,7 @@ var vt = Ln ? (
3020
3042
  function(t, r, n) {
3021
3043
  return t.slice(n, n + r.length) === r;
3022
3044
  }
3023
- ), ke = $n ? String.fromCodePoint : (
3045
+ ), ze = Un ? String.fromCodePoint : (
3024
3046
  // IE11
3025
3047
  function() {
3026
3048
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3032,9 +3054,9 @@ var vt = Ln ? (
3032
3054
  }
3033
3055
  return n;
3034
3056
  }
3035
- ), gt = (
3057
+ ), Et = (
3036
3058
  // native
3037
- Rn ? Object.fromEntries : (
3059
+ Fn ? Object.fromEntries : (
3038
3060
  // Ponyfill
3039
3061
  function(t) {
3040
3062
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3044,7 +3066,7 @@ var vt = Ln ? (
3044
3066
  return r;
3045
3067
  }
3046
3068
  )
3047
- ), Jt = Dn ? (
3069
+ ), rr = Gn ? (
3048
3070
  // Native
3049
3071
  function(t, r) {
3050
3072
  return t.codePointAt(r);
@@ -3058,7 +3080,7 @@ var vt = Ln ? (
3058
3080
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3059
3081
  }
3060
3082
  }
3061
- ), zn = Un ? (
3083
+ ), Xn = jn ? (
3062
3084
  // Native
3063
3085
  function(t) {
3064
3086
  return t.trimStart();
@@ -3066,9 +3088,9 @@ var vt = Ln ? (
3066
3088
  ) : (
3067
3089
  // Ponyfill
3068
3090
  function(t) {
3069
- return t.replace(In, "");
3091
+ return t.replace($n, "");
3070
3092
  }
3071
- ), Wn = Fn ? (
3093
+ ), Zn = kn ? (
3072
3094
  // Native
3073
3095
  function(t) {
3074
3096
  return t.trimEnd();
@@ -3076,32 +3098,32 @@ var vt = Ln ? (
3076
3098
  ) : (
3077
3099
  // Ponyfill
3078
3100
  function(t) {
3079
- return t.replace(Nn, "");
3101
+ return t.replace(Rn, "");
3080
3102
  }
3081
3103
  );
3082
- function Kt(e, t) {
3104
+ function nr(e, t) {
3083
3105
  return new RegExp(e, t);
3084
3106
  }
3085
- var ze;
3086
- if (je) {
3087
- var yt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3088
- ze = function(t, r) {
3107
+ var Ve;
3108
+ if (ke) {
3109
+ var _t = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3110
+ Ve = function(t, r) {
3089
3111
  var n;
3090
- yt.lastIndex = r;
3091
- var i = yt.exec(t);
3112
+ _t.lastIndex = r;
3113
+ var i = _t.exec(t);
3092
3114
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3093
3115
  };
3094
3116
  } else
3095
- ze = function(t, r) {
3117
+ Ve = function(t, r) {
3096
3118
  for (var n = []; ; ) {
3097
- var i = Jt(t, r);
3098
- if (i === void 0 || er(i) || qn(i))
3119
+ var i = rr(t, r);
3120
+ if (i === void 0 || ir(i) || Jn(i))
3099
3121
  break;
3100
3122
  n.push(i), r += i >= 65536 ? 2 : 1;
3101
3123
  }
3102
- return ke.apply(void 0, n);
3124
+ return ze.apply(void 0, n);
3103
3125
  };
3104
- var Vn = (
3126
+ var qn = (
3105
3127
  /** @class */
3106
3128
  function() {
3107
3129
  function e(t, r) {
@@ -3183,7 +3205,7 @@ var Vn = (
3183
3205
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3184
3206
  }, e.prototype.parseTagName = function() {
3185
3207
  var t = this.offset();
3186
- for (this.bump(); !this.isEOF() && Zn(this.char()); )
3208
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3187
3209
  this.bump();
3188
3210
  return this.message.slice(t, this.offset());
3189
3211
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3212,7 +3234,7 @@ var Vn = (
3212
3234
  };
3213
3235
  }, e.prototype.tryParseLeftAngleBracket = function() {
3214
3236
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3215
- !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
3237
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3216
3238
  }, e.prototype.tryParseQuote = function(t) {
3217
3239
  if (this.isEOF() || this.char() !== 39)
3218
3240
  return null;
@@ -3246,12 +3268,12 @@ var Vn = (
3246
3268
  r.push(n);
3247
3269
  this.bump();
3248
3270
  }
3249
- return ke.apply(void 0, r);
3271
+ return ze.apply(void 0, r);
3250
3272
  }, e.prototype.tryParseUnquoted = function(t, r) {
3251
3273
  if (this.isEOF())
3252
3274
  return null;
3253
3275
  var n = this.char();
3254
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3276
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3255
3277
  }, e.prototype.parseArgument = function(t, r) {
3256
3278
  var n = this.clonePosition();
3257
3279
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3280,7 +3302,7 @@ var Vn = (
3280
3302
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3281
3303
  }
3282
3304
  }, e.prototype.parseIdentifierIfPossible = function() {
3283
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3305
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3284
3306
  this.bumpTo(i);
3285
3307
  var o = this.clonePosition(), s = g(t, o);
3286
3308
  return { value: n, location: s };
@@ -3299,7 +3321,7 @@ var Vn = (
3299
3321
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3300
3322
  if (f.err)
3301
3323
  return f;
3302
- var h = Wn(f.val);
3324
+ var h = Zn(f.val);
3303
3325
  if (h.length === 0)
3304
3326
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3305
3327
  var p = g(c, this.clonePosition());
@@ -3309,8 +3331,8 @@ var Vn = (
3309
3331
  if (m.err)
3310
3332
  return m;
3311
3333
  var d = g(i, this.clonePosition());
3312
- if (l && vt(l == null ? void 0 : l.style, "::", 0)) {
3313
- var _ = zn(l.style.slice(2));
3334
+ if (l && xt(l == null ? void 0 : l.style, "::", 0)) {
3335
+ var _ = Xn(l.style.slice(2));
3314
3336
  if (a === "number") {
3315
3337
  var f = this.parseNumberSkeletonFromString(_, l.styleLocation);
3316
3338
  return f.err ? f : {
@@ -3321,12 +3343,12 @@ var Vn = (
3321
3343
  if (_.length === 0)
3322
3344
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3323
3345
  var P = _;
3324
- this.locale && (P = Pn(_, this.locale));
3346
+ this.locale && (P = Nn(_, this.locale));
3325
3347
  var h = {
3326
3348
  type: Q.dateTime,
3327
3349
  pattern: P,
3328
3350
  location: l.styleLocation,
3329
- parsedOptions: this.shouldParseSkeletons ? wn(P) : {}
3351
+ parsedOptions: this.shouldParseSkeletons ? Tn(P) : {}
3330
3352
  }, S = a === "date" ? w.date : w.time;
3331
3353
  return {
3332
3354
  val: { type: S, value: n, location: d, style: h },
@@ -3372,7 +3394,7 @@ var Vn = (
3372
3394
  val: {
3373
3395
  type: w.select,
3374
3396
  value: n,
3375
- options: gt(T.val),
3397
+ options: Et(T.val),
3376
3398
  location: y
3377
3399
  },
3378
3400
  err: null
@@ -3380,7 +3402,7 @@ var Vn = (
3380
3402
  val: {
3381
3403
  type: w.plural,
3382
3404
  value: n,
3383
- options: gt(T.val),
3405
+ options: Et(T.val),
3384
3406
  offset: C,
3385
3407
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3386
3408
  location: y
@@ -3431,7 +3453,7 @@ var Vn = (
3431
3453
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3432
3454
  var n = [];
3433
3455
  try {
3434
- n = Sn(t);
3456
+ n = Hn(t);
3435
3457
  } catch (i) {
3436
3458
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3437
3459
  }
@@ -3440,7 +3462,7 @@ var Vn = (
3440
3462
  type: Q.number,
3441
3463
  tokens: n,
3442
3464
  location: r,
3443
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3465
+ parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3444
3466
  },
3445
3467
  err: null
3446
3468
  };
@@ -3488,7 +3510,7 @@ var Vn = (
3488
3510
  break;
3489
3511
  }
3490
3512
  var u = g(i, this.clonePosition());
3491
- return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3513
+ return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3492
3514
  }, e.prototype.offset = function() {
3493
3515
  return this.position.offset;
3494
3516
  }, e.prototype.isEOF = function() {
@@ -3503,7 +3525,7 @@ var Vn = (
3503
3525
  var t = this.position.offset;
3504
3526
  if (t >= this.message.length)
3505
3527
  throw Error("out of bound");
3506
- var r = Jt(this.message, t);
3528
+ var r = rr(this.message, t);
3507
3529
  if (r === void 0)
3508
3530
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3509
3531
  return r;
@@ -3522,7 +3544,7 @@ var Vn = (
3522
3544
  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);
3523
3545
  }
3524
3546
  }, e.prototype.bumpIf = function(t) {
3525
- if (vt(this.message, t, this.offset())) {
3547
+ if (xt(this.message, t, this.offset())) {
3526
3548
  for (var r = 0; r < t.length; r++)
3527
3549
  this.bump();
3528
3550
  return !0;
@@ -3544,7 +3566,7 @@ var Vn = (
3544
3566
  break;
3545
3567
  }
3546
3568
  }, e.prototype.bumpSpace = function() {
3547
- for (; !this.isEOF() && er(this.char()); )
3569
+ for (; !this.isEOF() && ir(this.char()); )
3548
3570
  this.bump();
3549
3571
  }, e.prototype.peek = function() {
3550
3572
  if (this.isEOF())
@@ -3557,35 +3579,35 @@ var Vn = (
3557
3579
  function We(e) {
3558
3580
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3559
3581
  }
3560
- function Xn(e) {
3582
+ function Qn(e) {
3561
3583
  return We(e) || e === 47;
3562
3584
  }
3563
- function Zn(e) {
3585
+ function Yn(e) {
3564
3586
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3565
3587
  }
3566
- function er(e) {
3588
+ function ir(e) {
3567
3589
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3568
3590
  }
3569
- function qn(e) {
3591
+ function Jn(e) {
3570
3592
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3571
3593
  }
3572
- function Ve(e) {
3594
+ function Xe(e) {
3573
3595
  e.forEach(function(t) {
3574
- if (delete t.location, zt(t) || Wt(t))
3596
+ if (delete t.location, Zt(t) || qt(t))
3575
3597
  for (var r in t.options)
3576
- delete t.options[r].location, Ve(t.options[r].value);
3598
+ delete t.options[r].location, Xe(t.options[r].value);
3577
3599
  else
3578
- Gt(t) && Xt(t.style) || (jt(t) || kt(t)) && Ge(t.style) ? delete t.style.location : Vt(t) && Ve(t.children);
3600
+ Vt(t) && Yt(t.style) || (Wt(t) || Xt(t)) && je(t.style) ? delete t.style.location : Qt(t) && Xe(t.children);
3579
3601
  });
3580
3602
  }
3581
- function Qn(e, t) {
3603
+ function Kn(e, t) {
3582
3604
  t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3583
- var r = new Vn(e, t).parse();
3605
+ var r = new qn(e, t).parse();
3584
3606
  if (r.err) {
3585
3607
  var n = SyntaxError(b[r.err.kind]);
3586
3608
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3587
3609
  }
3588
- return t != null && t.captureLocation || Ve(r.val), r.val;
3610
+ return t != null && t.captureLocation || Xe(r.val), r.val;
3589
3611
  }
3590
3612
  var Y;
3591
3613
  (function(e) {
@@ -3603,7 +3625,7 @@ var _e = (
3603
3625
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3604
3626
  }, t;
3605
3627
  }(Error)
3606
- ), xt = (
3628
+ ), Ct = (
3607
3629
  /** @class */
3608
3630
  function(e) {
3609
3631
  $(t, e);
@@ -3612,7 +3634,7 @@ var _e = (
3612
3634
  }
3613
3635
  return t;
3614
3636
  }(_e)
3615
- ), Yn = (
3637
+ ), ei = (
3616
3638
  /** @class */
3617
3639
  function(e) {
3618
3640
  $(t, e);
@@ -3621,7 +3643,7 @@ var _e = (
3621
3643
  }
3622
3644
  return t;
3623
3645
  }(_e)
3624
- ), Jn = (
3646
+ ), ti = (
3625
3647
  /** @class */
3626
3648
  function(e) {
3627
3649
  $(t, e);
@@ -3634,17 +3656,17 @@ var _e = (
3634
3656
  (function(e) {
3635
3657
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3636
3658
  })(M || (M = {}));
3637
- function Kn(e) {
3659
+ function ri(e) {
3638
3660
  return e.length < 2 ? e : e.reduce(function(t, r) {
3639
3661
  var n = t[t.length - 1];
3640
3662
  return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3641
3663
  }, []);
3642
3664
  }
3643
- function ei(e) {
3665
+ function ni(e) {
3644
3666
  return typeof e == "function";
3645
3667
  }
3646
3668
  function de(e, t, r, n, i, o, s) {
3647
- if (e.length === 1 && pt(e[0]))
3669
+ if (e.length === 1 && bt(e[0]))
3648
3670
  return [
3649
3671
  {
3650
3672
  type: M.literal,
@@ -3653,14 +3675,14 @@ function de(e, t, r, n, i, o, s) {
3653
3675
  ];
3654
3676
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3655
3677
  var c = l[u];
3656
- if (pt(c)) {
3678
+ if (bt(c)) {
3657
3679
  a.push({
3658
3680
  type: M.literal,
3659
3681
  value: c.value
3660
3682
  });
3661
3683
  continue;
3662
3684
  }
3663
- if (_n(c)) {
3685
+ if (An(c)) {
3664
3686
  typeof o == "number" && a.push({
3665
3687
  type: M.literal,
3666
3688
  value: r.getNumberFormat(t).format(o)
@@ -3669,43 +3691,43 @@ function de(e, t, r, n, i, o, s) {
3669
3691
  }
3670
3692
  var f = c.value;
3671
3693
  if (!(i && f in i))
3672
- throw new Jn(f, s);
3694
+ throw new ti(f, s);
3673
3695
  var h = i[f];
3674
- if (En(c)) {
3696
+ if (wn(c)) {
3675
3697
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3676
3698
  type: typeof h == "string" ? M.literal : M.object,
3677
3699
  value: h
3678
3700
  });
3679
3701
  continue;
3680
3702
  }
3681
- if (jt(c)) {
3682
- var p = typeof c.style == "string" ? n.date[c.style] : Ge(c.style) ? c.style.parsedOptions : void 0;
3703
+ if (Wt(c)) {
3704
+ var p = typeof c.style == "string" ? n.date[c.style] : je(c.style) ? c.style.parsedOptions : void 0;
3683
3705
  a.push({
3684
3706
  type: M.literal,
3685
3707
  value: r.getDateTimeFormat(t, p).format(h)
3686
3708
  });
3687
3709
  continue;
3688
3710
  }
3689
- if (kt(c)) {
3690
- var p = typeof c.style == "string" ? n.time[c.style] : Ge(c.style) ? c.style.parsedOptions : n.time.medium;
3711
+ if (Xt(c)) {
3712
+ var p = typeof c.style == "string" ? n.time[c.style] : je(c.style) ? c.style.parsedOptions : n.time.medium;
3691
3713
  a.push({
3692
3714
  type: M.literal,
3693
3715
  value: r.getDateTimeFormat(t, p).format(h)
3694
3716
  });
3695
3717
  continue;
3696
3718
  }
3697
- if (Gt(c)) {
3698
- var p = typeof c.style == "string" ? n.number[c.style] : Xt(c.style) ? c.style.parsedOptions : void 0;
3719
+ if (Vt(c)) {
3720
+ var p = typeof c.style == "string" ? n.number[c.style] : Yt(c.style) ? c.style.parsedOptions : void 0;
3699
3721
  p && p.scale && (h = h * (p.scale || 1)), a.push({
3700
3722
  type: M.literal,
3701
3723
  value: r.getNumberFormat(t, p).format(h)
3702
3724
  });
3703
3725
  continue;
3704
3726
  }
3705
- if (Vt(c)) {
3727
+ if (Qt(c)) {
3706
3728
  var m = c.children, d = c.value, _ = i[d];
3707
- if (!ei(_))
3708
- throw new Yn(d, "function", s);
3729
+ if (!ni(_))
3730
+ throw new ei(d, "function", s);
3709
3731
  var P = de(m, t, r, n, i, o), S = _(P.map(function(C) {
3710
3732
  return C.value;
3711
3733
  }));
@@ -3716,14 +3738,14 @@ function de(e, t, r, n, i, o, s) {
3716
3738
  };
3717
3739
  }));
3718
3740
  }
3719
- if (zt(c)) {
3741
+ if (Zt(c)) {
3720
3742
  var A = c.options[h] || c.options.other;
3721
3743
  if (!A)
3722
- throw new xt(c.value, h, Object.keys(c.options), s);
3744
+ throw new Ct(c.value, h, Object.keys(c.options), s);
3723
3745
  a.push.apply(a, de(A.value, t, r, n, i));
3724
3746
  continue;
3725
3747
  }
3726
- if (Wt(c)) {
3748
+ if (qt(c)) {
3727
3749
  var A = c.options["=".concat(h)];
3728
3750
  if (!A) {
3729
3751
  if (!Intl.PluralRules)
@@ -3734,24 +3756,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3734
3756
  A = c.options[H] || c.options.other;
3735
3757
  }
3736
3758
  if (!A)
3737
- throw new xt(c.value, h, Object.keys(c.options), s);
3759
+ throw new Ct(c.value, h, Object.keys(c.options), s);
3738
3760
  a.push.apply(a, de(A.value, t, r, n, i, h - (c.offset || 0)));
3739
3761
  continue;
3740
3762
  }
3741
3763
  }
3742
- return Kn(a);
3764
+ return ri(a);
3743
3765
  }
3744
- function ti(e, t) {
3766
+ function ii(e, t) {
3745
3767
  return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3746
3768
  return r[n] = x(x({}, e[n]), t[n] || {}), r;
3747
3769
  }, {})) : e;
3748
3770
  }
3749
- function ri(e, t) {
3771
+ function oi(e, t) {
3750
3772
  return t ? Object.keys(e).reduce(function(r, n) {
3751
- return r[n] = ti(e[n], t[n]), r;
3773
+ return r[n] = ii(e[n], t[n]), r;
3752
3774
  }, x({}, e)) : e;
3753
3775
  }
3754
- function Pe(e) {
3776
+ function Oe(e) {
3755
3777
  return {
3756
3778
  create: function() {
3757
3779
  return {
@@ -3765,39 +3787,39 @@ function Pe(e) {
3765
3787
  }
3766
3788
  };
3767
3789
  }
3768
- function ni(e) {
3790
+ function si(e) {
3769
3791
  return e === void 0 && (e = {
3770
3792
  number: {},
3771
3793
  dateTime: {},
3772
3794
  pluralRules: {}
3773
3795
  }), {
3774
- getNumberFormat: Be(function() {
3796
+ getNumberFormat: He(function() {
3775
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3776
3798
  r[n] = arguments[n];
3777
3799
  return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3778
3800
  }, {
3779
- cache: Pe(e.number),
3780
- strategy: He.variadic
3801
+ cache: Oe(e.number),
3802
+ strategy: Me.variadic
3781
3803
  }),
3782
- getDateTimeFormat: Be(function() {
3804
+ getDateTimeFormat: He(function() {
3783
3805
  for (var t, r = [], n = 0; n < arguments.length; n++)
3784
3806
  r[n] = arguments[n];
3785
3807
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
3786
3808
  }, {
3787
- cache: Pe(e.dateTime),
3788
- strategy: He.variadic
3809
+ cache: Oe(e.dateTime),
3810
+ strategy: Me.variadic
3789
3811
  }),
3790
- getPluralRules: Be(function() {
3812
+ getPluralRules: He(function() {
3791
3813
  for (var t, r = [], n = 0; n < arguments.length; n++)
3792
3814
  r[n] = arguments[n];
3793
3815
  return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
3794
3816
  }, {
3795
- cache: Pe(e.pluralRules),
3796
- strategy: He.variadic
3817
+ cache: Oe(e.pluralRules),
3818
+ strategy: Me.variadic
3797
3819
  })
3798
3820
  };
3799
3821
  }
3800
- var ii = (
3822
+ var ai = (
3801
3823
  /** @class */
3802
3824
  function() {
3803
3825
  function e(t, r, n, i) {
@@ -3829,13 +3851,13 @@ var ii = (
3829
3851
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3830
3852
  var s = i || {};
3831
3853
  s.formatters;
3832
- var a = Lr(s, ["formatters"]);
3854
+ var a = Ur(s, ["formatters"]);
3833
3855
  this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3834
3856
  } else
3835
3857
  this.ast = t;
3836
3858
  if (!Array.isArray(this.ast))
3837
3859
  throw new TypeError("A message must be provided as a String or AST.");
3838
- this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3860
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3839
3861
  }
3840
3862
  return Object.defineProperty(e, "defaultLocale", {
3841
3863
  get: function() {
@@ -3848,7 +3870,7 @@ var ii = (
3848
3870
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3849
3871
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3850
3872
  }
3851
- }, e.__parse = Qn, e.formats = {
3873
+ }, e.__parse = Kn, e.formats = {
3852
3874
  number: {
3853
3875
  integer: {
3854
3876
  maximumFractionDigits: 0
@@ -3909,7 +3931,7 @@ var ii = (
3909
3931
  }, e;
3910
3932
  }()
3911
3933
  );
3912
- function oi(e, t) {
3934
+ function ui(e, t) {
3913
3935
  if (t == null)
3914
3936
  return;
3915
3937
  if (t in e)
@@ -3930,92 +3952,92 @@ function oi(e, t) {
3930
3952
  n = void 0;
3931
3953
  return n;
3932
3954
  }
3933
- const R = {}, si = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), tr = (e, t) => {
3955
+ const R = {}, li = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), or = (e, t) => {
3934
3956
  if (t == null)
3935
3957
  return;
3936
3958
  if (t in R && e in R[t])
3937
3959
  return R[t][e];
3938
3960
  const r = Ce(t);
3939
3961
  for (let n = 0; n < r.length; n++) {
3940
- const i = r[n], o = ui(i, e);
3962
+ const i = r[n], o = hi(i, e);
3941
3963
  if (o)
3942
- return si(e, t, o);
3964
+ return li(e, t, o);
3943
3965
  }
3944
3966
  };
3945
- let Qe;
3967
+ let Ke;
3946
3968
  const le = Ee({});
3947
- function ai(e) {
3948
- return Qe[e] || null;
3969
+ function ci(e) {
3970
+ return Ke[e] || null;
3949
3971
  }
3950
- function rr(e) {
3951
- return e in Qe;
3972
+ function sr(e) {
3973
+ return e in Ke;
3952
3974
  }
3953
- function ui(e, t) {
3954
- if (!rr(e))
3975
+ function hi(e, t) {
3976
+ if (!sr(e))
3955
3977
  return null;
3956
- const r = ai(e);
3957
- return oi(r, t);
3978
+ const r = ci(e);
3979
+ return ui(r, t);
3958
3980
  }
3959
- function li(e) {
3981
+ function fi(e) {
3960
3982
  if (e == null)
3961
3983
  return;
3962
3984
  const t = Ce(e);
3963
3985
  for (let r = 0; r < t.length; r++) {
3964
3986
  const n = t[r];
3965
- if (rr(n))
3987
+ if (sr(n))
3966
3988
  return n;
3967
3989
  }
3968
3990
  }
3969
- function nr(e, ...t) {
3970
- delete R[e], le.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3991
+ function ar(e, ...t) {
3992
+ delete R[e], le.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3971
3993
  }
3972
3994
  ee(
3973
3995
  [le],
3974
3996
  ([e]) => Object.keys(e)
3975
3997
  );
3976
- le.subscribe((e) => Qe = e);
3998
+ le.subscribe((e) => Ke = e);
3977
3999
  const me = {};
3978
- function ci(e, t) {
4000
+ function pi(e, t) {
3979
4001
  me[e].delete(t), me[e].size === 0 && delete me[e];
3980
4002
  }
3981
- function ir(e) {
4003
+ function ur(e) {
3982
4004
  return me[e];
3983
4005
  }
3984
- function hi(e) {
4006
+ function di(e) {
3985
4007
  return Ce(e).map((t) => {
3986
- const r = ir(t);
4008
+ const r = ur(t);
3987
4009
  return [t, r ? [...r] : []];
3988
4010
  }).filter(([, t]) => t.length > 0);
3989
4011
  }
3990
- function Xe(e) {
4012
+ function Ze(e) {
3991
4013
  return e == null ? !1 : Ce(e).some(
3992
4014
  (t) => {
3993
4015
  var r;
3994
- return (r = ir(t)) == null ? void 0 : r.size;
4016
+ return (r = ur(t)) == null ? void 0 : r.size;
3995
4017
  }
3996
4018
  );
3997
4019
  }
3998
- function fi(e, t) {
4020
+ function mi(e, t) {
3999
4021
  return Promise.all(
4000
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
4001
- ).then((n) => nr(e, ...n));
4022
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4023
+ ).then((n) => ar(e, ...n));
4002
4024
  }
4003
4025
  const ne = {};
4004
- function or(e) {
4005
- if (!Xe(e))
4026
+ function lr(e) {
4027
+ if (!Ze(e))
4006
4028
  return e in ne ? ne[e] : Promise.resolve();
4007
- const t = hi(e);
4029
+ const t = di(e);
4008
4030
  return ne[e] = Promise.all(
4009
4031
  t.map(
4010
- ([r, n]) => fi(r, n)
4032
+ ([r, n]) => mi(r, n)
4011
4033
  )
4012
4034
  ).then(() => {
4013
- if (Xe(e))
4014
- return or(e);
4035
+ if (Ze(e))
4036
+ return lr(e);
4015
4037
  delete ne[e];
4016
4038
  }), ne[e];
4017
4039
  }
4018
- const pi = {
4040
+ const bi = {
4019
4041
  number: {
4020
4042
  scientific: { notation: "scientific" },
4021
4043
  engineering: { notation: "engineering" },
@@ -4044,57 +4066,57 @@ const pi = {
4044
4066
  timeZoneName: "short"
4045
4067
  }
4046
4068
  }
4047
- }, di = {
4069
+ }, vi = {
4048
4070
  fallbackLocale: null,
4049
4071
  loadingDelay: 200,
4050
- formats: pi,
4072
+ formats: bi,
4051
4073
  warnOnMissingMessages: !0,
4052
4074
  handleMissingMessage: void 0,
4053
4075
  ignoreTag: !0
4054
- }, mi = di;
4076
+ }, gi = vi;
4055
4077
  function J() {
4056
- return mi;
4078
+ return gi;
4057
4079
  }
4058
- const Oe = Ee(!1);
4059
- var bi = Object.defineProperty, vi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4080
+ const Ie = Ee(!1);
4081
+ var yi = Object.defineProperty, xi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4060
4082
  for (var r in t || (t = {}))
4061
- yi.call(t, r) && _t(e, r, t[r]);
4062
- if (Et)
4063
- for (var r of Et(t))
4064
- xi.call(t, r) && _t(e, r, t[r]);
4083
+ _i.call(t, r) && At(e, r, t[r]);
4084
+ if (wt)
4085
+ for (var r of wt(t))
4086
+ Ci.call(t, r) && At(e, r, t[r]);
4065
4087
  return e;
4066
- }, _i = (e, t) => vi(e, gi(t));
4067
- let Ze;
4088
+ }, Ai = (e, t) => xi(e, Ei(t));
4089
+ let qe;
4068
4090
  const ve = Ee(null);
4069
- function Ct(e) {
4091
+ function St(e) {
4070
4092
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4071
4093
  }
4072
4094
  function Ce(e, t = J().fallbackLocale) {
4073
- const r = Ct(e);
4074
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4095
+ const r = St(e);
4096
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4075
4097
  }
4076
4098
  function G() {
4077
- return Ze != null ? Ze : void 0;
4099
+ return qe != null ? qe : void 0;
4078
4100
  }
4079
4101
  ve.subscribe((e) => {
4080
- Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4102
+ qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4081
4103
  });
4082
- const Ci = (e) => {
4083
- if (e && li(e) && Xe(e)) {
4104
+ const Si = (e) => {
4105
+ if (e && fi(e) && Ze(e)) {
4084
4106
  const { loadingDelay: t } = J();
4085
4107
  let r;
4086
4108
  return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
4087
- () => Oe.set(!0),
4109
+ () => Ie.set(!0),
4088
4110
  t
4089
- ) : Oe.set(!0), or(e).then(() => {
4111
+ ) : Ie.set(!0), lr(e).then(() => {
4090
4112
  ve.set(e);
4091
4113
  }).finally(() => {
4092
- clearTimeout(r), Oe.set(!1);
4114
+ clearTimeout(r), Ie.set(!1);
4093
4115
  });
4094
4116
  }
4095
4117
  return ve.set(e);
4096
- }, te = _i(Ei({}, ve), {
4097
- set: Ci
4118
+ }, te = Ai(wi({}, ve), {
4119
+ set: Si
4098
4120
  }), we = (e) => {
4099
4121
  const t = /* @__PURE__ */ Object.create(null);
4100
4122
  return (n) => {
@@ -4102,20 +4124,20 @@ const Ci = (e) => {
4102
4124
  return i in t ? t[i] : t[i] = e(n);
4103
4125
  };
4104
4126
  };
4105
- var wi = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4127
+ var Ti = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4106
4128
  for (var r in t || (t = {}))
4107
- sr.call(t, r) && wt(e, r, t[r]);
4129
+ cr.call(t, r) && Tt(e, r, t[r]);
4108
4130
  if (ge)
4109
4131
  for (var r of ge(t))
4110
- ar.call(t, r) && wt(e, r, t[r]);
4132
+ hr.call(t, r) && Tt(e, r, t[r]);
4111
4133
  return e;
4112
4134
  }, re = (e, t) => {
4113
4135
  var r = {};
4114
4136
  for (var n in e)
4115
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4137
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4116
4138
  if (e != null && ge)
4117
4139
  for (var n of ge(e))
4118
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4140
+ t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4119
4141
  return r;
4120
4142
  };
4121
4143
  const ae = (e, t) => {
@@ -4123,21 +4145,21 @@ const ae = (e, t) => {
4123
4145
  if (e in r && t in r[e])
4124
4146
  return r[e][t];
4125
4147
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4126
- }, Ai = we(
4148
+ }, Bi = we(
4127
4149
  (e) => {
4128
4150
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4129
4151
  if (r == null)
4130
4152
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4131
4153
  return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4132
4154
  }
4133
- ), Si = we(
4155
+ ), Hi = we(
4134
4156
  (e) => {
4135
4157
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4136
4158
  if (r == null)
4137
4159
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4138
4160
  return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4139
4161
  }
4140
- ), Ti = we(
4162
+ ), Mi = we(
4141
4163
  (e) => {
4142
4164
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4143
4165
  if (r == null)
@@ -4146,33 +4168,33 @@ const ae = (e, t) => {
4146
4168
  );
4147
4169
  return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4148
4170
  }
4149
- ), Bi = (e = {}) => {
4171
+ ), Pi = (e = {}) => {
4150
4172
  var t = e, {
4151
4173
  locale: r = G()
4152
4174
  } = t, n = re(t, [
4153
4175
  "locale"
4154
4176
  ]);
4155
- return Ai(Ye({ locale: r }, n));
4156
- }, Hi = (e = {}) => {
4177
+ return Bi(et({ locale: r }, n));
4178
+ }, Oi = (e = {}) => {
4157
4179
  var t = e, {
4158
4180
  locale: r = G()
4159
4181
  } = t, n = re(t, [
4160
4182
  "locale"
4161
4183
  ]);
4162
- return Si(Ye({ locale: r }, n));
4163
- }, Mi = (e = {}) => {
4184
+ return Hi(et({ locale: r }, n));
4185
+ }, Ii = (e = {}) => {
4164
4186
  var t = e, {
4165
4187
  locale: r = G()
4166
4188
  } = t, n = re(t, [
4167
4189
  "locale"
4168
4190
  ]);
4169
- return Ti(Ye({ locale: r }, n));
4170
- }, Pi = we(
4191
+ return Mi(et({ locale: r }, n));
4192
+ }, Ni = we(
4171
4193
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4172
- (e, t = G()) => new ii(e, t, J().formats, {
4194
+ (e, t = G()) => new ai(e, t, J().formats, {
4173
4195
  ignoreTag: J().ignoreTag
4174
4196
  })
4175
- ), Oi = (e, t = {}) => {
4197
+ ), Li = (e, t = {}) => {
4176
4198
  var r, n, i, o;
4177
4199
  let s = t;
4178
4200
  typeof e == "object" && (s = e, e = s.id);
@@ -4185,7 +4207,7 @@ const ae = (e, t) => {
4185
4207
  throw new Error(
4186
4208
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4187
4209
  );
4188
- let c = tr(e, u);
4210
+ let c = or(e, u);
4189
4211
  if (!c)
4190
4212
  c = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4191
4213
  else if (typeof c != "string")
@@ -4196,7 +4218,7 @@ const ae = (e, t) => {
4196
4218
  return c;
4197
4219
  let f = c;
4198
4220
  try {
4199
- f = Pi(c, u).format(a);
4221
+ f = Ni(c, u).format(a);
4200
4222
  } catch (h) {
4201
4223
  h instanceof Error && console.warn(
4202
4224
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4204,20 +4226,20 @@ const ae = (e, t) => {
4204
4226
  );
4205
4227
  }
4206
4228
  return f;
4207
- }, Ii = (e, t) => Mi(t).format(e), Ni = (e, t) => Hi(t).format(e), Li = (e, t) => Bi(t).format(e), $i = (e, t = G()) => tr(e, t), Ri = ee([te, le], () => Oi);
4208
- ee([te], () => Ii);
4209
- ee([te], () => Ni);
4210
- ee([te], () => Li);
4211
- ee([te, le], () => $i);
4212
- window.emWidgets = { topic: qr };
4213
- const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4214
- function At(e, t) {
4215
- nr(e, t);
4216
- }
4217
- function Ui(e) {
4229
+ }, $i = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), Di = (e, t) => Pi(t).format(e), Ui = (e, t = G()) => or(e, t), Fi = ee([te, le], () => Li);
4230
+ ee([te], () => $i);
4231
+ ee([te], () => Ri);
4232
+ ee([te], () => Di);
4233
+ ee([te, le], () => Ui);
4234
+ window.emWidgets = { topic: Kr };
4235
+ const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4236
+ function Bt(e, t) {
4237
+ ar(e, t);
4238
+ }
4239
+ function ji(e) {
4218
4240
  te.set(e);
4219
4241
  }
4220
- const St = {
4242
+ const Ht = {
4221
4243
  en: {
4222
4244
  titleAccountClosure: "Account Closure",
4223
4245
  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.",
@@ -4307,13 +4329,13 @@ const St = {
4307
4329
  accountClosureConfirm: "Yes"
4308
4330
  }
4309
4331
  };
4310
- function Fi(e, t) {
4332
+ function ki(e, t) {
4311
4333
  if (e) {
4312
4334
  const r = document.createElement("style");
4313
4335
  r.innerHTML = t, e.appendChild(r);
4314
4336
  }
4315
4337
  }
4316
- function Gi(e, t) {
4338
+ function zi(e, t) {
4317
4339
  const r = new URL(t);
4318
4340
  fetch(r.href).then((n) => n.text()).then((n) => {
4319
4341
  const i = document.createElement("style");
@@ -4322,7 +4344,7 @@ function Gi(e, t) {
4322
4344
  console.error("There was an error while trying to load client styling from URL", n);
4323
4345
  });
4324
4346
  }
4325
- function ji(e, t, r) {
4347
+ function Vi(e, t, r) {
4326
4348
  if (window.emMessageBus) {
4327
4349
  const n = document.createElement("style");
4328
4350
  window.emMessageBus.subscribe(t, (i) => {
@@ -4330,10 +4352,10 @@ function ji(e, t, r) {
4330
4352
  });
4331
4353
  }
4332
4354
  }
4333
- function ki(e) {
4334
- mr(e, "svelte-sj9hhm", '.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, 50px);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, 20px)}.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, 20px)}.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, 50px);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, 50px);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)}');
4355
+ function Wi(e) {
4356
+ yr(e, "svelte-sj9hhm", '.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, 50px);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, 20px)}.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, 20px)}.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, 50px);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, 50px);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)}');
4335
4357
  }
4336
- function zi(e) {
4358
+ function Xi(e) {
4337
4359
  let t, r, n, i, o, s, a, u, l, c, f = (
4338
4360
  /*$_*/
4339
4361
  e[2]("titleAccountClosure") + ""
@@ -4360,7 +4382,7 @@ function zi(e) {
4360
4382
  }
4361
4383
  };
4362
4384
  }
4363
- function Tt(e) {
4385
+ function Mt(e) {
4364
4386
  let t, r, n, i, o = (
4365
4387
  /*$_*/
4366
4388
  e[2]("modal") + ""
@@ -4406,7 +4428,7 @@ function Tt(e) {
4406
4428
  }
4407
4429
  };
4408
4430
  }
4409
- function Wi(e) {
4431
+ function Zi(e) {
4410
4432
  let t, r, n, i, o = (
4411
4433
  /*$_*/
4412
4434
  e[2]("titleAccountClosure") + ""
@@ -4418,10 +4440,10 @@ function Wi(e) {
4418
4440
  e[2]("closeAccount") + ""
4419
4441
  ), _, P, S, A, H = (
4420
4442
  /*isMobile*/
4421
- e[3] && zi(e)
4443
+ e[3] && Xi(e)
4422
4444
  ), C = (
4423
4445
  /*closureModal*/
4424
- e[1] && Tt(e)
4446
+ e[1] && Mt(e)
4425
4447
  );
4426
4448
  return {
4427
4449
  c() {
@@ -4449,7 +4471,7 @@ function Wi(e) {
4449
4471
  T[2]("accountClosureDescription") + "") && F(f, c), y & /*$_*/
4450
4472
  4 && d !== (d = /*$_*/
4451
4473
  T[2]("closeAccount") + "") && F(_, d), /*closureModal*/
4452
- T[1] ? C ? C.p(T, y) : (C = Tt(T), C.c(), C.m(t, null)) : C && (C.d(1), C = null);
4474
+ T[1] ? C ? C.p(T, y) : (C = Mt(T), C.c(), C.m(t, null)) : C && (C.d(1), C = null);
4453
4475
  },
4454
4476
  i: I,
4455
4477
  o: I,
@@ -4458,21 +4480,21 @@ function Wi(e) {
4458
4480
  }
4459
4481
  };
4460
4482
  }
4461
- function Vi(e, t, r) {
4483
+ function qi(e, t, r) {
4462
4484
  let n;
4463
- dr(e, Ri, (y) => r(2, n = y));
4464
- let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: u = "" } = t, l = window.navigator.userAgent, c = Di(l) !== "PC", f = !1, h;
4485
+ gr(e, Fi, (y) => r(2, n = y));
4486
+ let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: u = "" } = t, l = window.navigator.userAgent, c = Gi(l) !== "PC", f = !1, h;
4465
4487
  const p = () => {
4466
4488
  fetch(u).then((j) => j.json()).then((j) => {
4467
- Object.keys(j).forEach((Je) => {
4468
- At(Je, j[Je]);
4489
+ Object.keys(j).forEach((tt) => {
4490
+ Bt(tt, j[tt]);
4469
4491
  });
4470
4492
  }).catch((j) => {
4471
4493
  console.log(j);
4472
4494
  });
4473
4495
  };
4474
- Object.keys(St).forEach((y) => {
4475
- At(y, St[y]);
4496
+ Object.keys(Ht).forEach((y) => {
4497
+ Bt(y, Ht[y]);
4476
4498
  });
4477
4499
  const m = (y) => {
4478
4500
  r(1, f = y), y === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
@@ -4487,13 +4509,13 @@ function Vi(e, t, r) {
4487
4509
  window.location.href
4488
4510
  );
4489
4511
  }, P = () => {
4490
- Ui(i);
4512
+ ji(i);
4491
4513
  };
4492
- Er(() => () => {
4514
+ Ar(() => () => {
4493
4515
  });
4494
4516
  const S = () => _(), A = () => m(!0), H = () => m(!1), C = () => d();
4495
4517
  function T(y) {
4496
- Ie[y ? "unshift" : "push"](() => {
4518
+ Ne[y ? "unshift" : "push"](() => {
4497
4519
  h = y, r(0, h);
4498
4520
  });
4499
4521
  }
@@ -4502,9 +4524,9 @@ function Vi(e, t, r) {
4502
4524
  }, e.$$.update = () => {
4503
4525
  e.$$.dirty & /*lang*/
4504
4526
  128 && i && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4505
- 257 && o && h && Fi(h, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4506
- 513 && s && h && Gi(h, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4507
- 1025 && a && h && ji(h, `${a}.Style`), e.$$.dirty & /*translationurl*/
4527
+ 257 && o && h && ki(h, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4528
+ 513 && s && h && zi(h, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4529
+ 1025 && a && h && Vi(h, `${a}.Style`), e.$$.dirty & /*translationurl*/
4508
4530
  2048 && u && p();
4509
4531
  }, [
4510
4532
  h,
@@ -4526,14 +4548,14 @@ function Vi(e, t, r) {
4526
4548
  T
4527
4549
  ];
4528
4550
  }
4529
- class Xi extends Ir {
4551
+ class Qi extends Rr {
4530
4552
  constructor(t) {
4531
- super(), Pr(
4553
+ super(), Lr(
4532
4554
  this,
4533
4555
  t,
4534
- Vi,
4535
- Wi,
4536
- Ht,
4556
+ qi,
4557
+ Zi,
4558
+ Ot,
4537
4559
  {
4538
4560
  lang: 7,
4539
4561
  clientstyling: 8,
@@ -4541,7 +4563,7 @@ class Xi extends Ir {
4541
4563
  mbsource: 10,
4542
4564
  translationurl: 11
4543
4565
  },
4544
- ki
4566
+ Wi
4545
4567
  );
4546
4568
  }
4547
4569
  get lang() {
@@ -4575,7 +4597,7 @@ class Xi extends Ir {
4575
4597
  this.$$set({ translationurl: t }), D();
4576
4598
  }
4577
4599
  }
4578
- Or(Xi, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4600
+ $r(Qi, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4579
4601
  export {
4580
- Xi as default
4602
+ Qi as default
4581
4603
  };