@everymatrix/player-account-closure 1.77.24 → 1.77.26

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 dr = Object.defineProperty, mr = Object.defineProperties;
2
- var br = Object.getOwnPropertyDescriptors;
3
- var ot = Object.getOwnPropertySymbols;
4
- var vr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
5
- var Be = (e, t, r) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
1
+ var pr = Object.defineProperty, dr = Object.defineProperties;
2
+ var mr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var br = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable;
5
+ var Se = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- vr.call(t, r) && Be(e, r, t[r]);
8
- if (ot)
9
- for (var r of ot(t))
10
- gr.call(t, r) && Be(e, r, t[r]);
7
+ br.call(t, r) && Se(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ vr.call(t, r) && Se(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => mr(e, br(t));
13
- var I = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ut = (e, t, r) => new Promise((n, i) => {
12
+ }, ot = (e, t) => dr(e, mr(t));
13
+ var I = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,28 +27,28 @@ var ut = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-skeleton-Ca5rz3Hv.js";
30
+ import "../stencil/ui-skeleton-CWuMYFGQ.js";
31
31
  function O() {
32
32
  }
33
- function Nt(e) {
33
+ function Ot(e) {
34
34
  return e();
35
35
  }
36
- function lt() {
36
+ function at() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function ee(e) {
40
- e.forEach(Nt);
39
+ function te(e) {
40
+ e.forEach(Ot);
41
41
  }
42
- function tt(e) {
42
+ function Ye(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Lt(e, t) {
45
+ function It(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
- function yr(e) {
48
+ function gr(e) {
49
49
  return Object.keys(e).length === 0;
50
50
  }
51
- function $t(e, ...t) {
51
+ function Nt(e, ...t) {
52
52
  if (e == null) {
53
53
  for (const n of t)
54
54
  n(void 0);
@@ -57,17 +57,17 @@ function $t(e, ...t) {
57
57
  const r = e.subscribe(...t);
58
58
  return r.unsubscribe ? () => r.unsubscribe() : r;
59
59
  }
60
- function xr(e, t, r) {
61
- e.$$.on_destroy.push($t(t, r));
60
+ function yr(e, t, r) {
61
+ e.$$.on_destroy.push(Nt(t, r));
62
62
  }
63
63
  function g(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function _r(e, t, r) {
66
+ function xr(e, t, r) {
67
67
  const n = Er(e);
68
68
  if (!n.getElementById(t)) {
69
- const i = B("style");
70
- i.id = t, i.textContent = r, wr(n, i);
69
+ const i = H("style");
70
+ i.id = t, i.textContent = r, _r(n, i);
71
71
  }
72
72
  }
73
73
  function Er(e) {
@@ -80,7 +80,7 @@ function Er(e) {
80
80
  t
81
81
  ) : e.ownerDocument;
82
82
  }
83
- function wr(e, t) {
83
+ function _r(e, t) {
84
84
  return g(
85
85
  /** @type {Document} */
86
86
  e.head || e,
@@ -97,10 +97,10 @@ function Cr(e, t) {
97
97
  for (let r = 0; r < e.length; r += 1)
98
98
  e[r] && e[r].d(t);
99
99
  }
100
- function B(e) {
100
+ function H(e) {
101
101
  return document.createElement(e);
102
102
  }
103
- function W(e) {
103
+ function z(e) {
104
104
  return document.createElementNS("http://www.w3.org/2000/svg", e);
105
105
  }
106
106
  function R(e) {
@@ -112,17 +112,17 @@ function F() {
112
112
  function ge(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function x(e, t, r) {
115
+ function E(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function Ar(e) {
118
+ function wr(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
121
  function Z(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- function Sr(e) {
125
+ function Ar(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -131,90 +131,90 @@ function Sr(e) {
131
131
  }
132
132
  ), t;
133
133
  }
134
- let se;
135
- function oe(e) {
136
- se = e;
134
+ let ae;
135
+ function se(e) {
136
+ ae = e;
137
137
  }
138
- function Tr() {
139
- if (!se)
138
+ function Sr() {
139
+ if (!ae)
140
140
  throw new Error("Function called outside component initialization");
141
- return se;
141
+ return ae;
142
142
  }
143
- function Br(e) {
144
- Tr().$$.on_mount.push(e);
143
+ function Tr(e) {
144
+ Sr().$$.on_mount.push(e);
145
145
  }
146
- const X = [], Re = [];
146
+ const X = [], Le = [];
147
147
  let q = [];
148
- const ct = [], Hr = /* @__PURE__ */ Promise.resolve();
149
- let De = !1;
150
- function Mr() {
151
- De || (De = !0, Hr.then(U));
148
+ const ut = [], Hr = /* @__PURE__ */ Promise.resolve();
149
+ let $e = !1;
150
+ function Br() {
151
+ $e || ($e = !0, Hr.then(U));
152
152
  }
153
- function Ue(e) {
153
+ function Re(e) {
154
154
  q.push(e);
155
155
  }
156
- const He = /* @__PURE__ */ new Set();
157
- let z = 0;
156
+ const Te = /* @__PURE__ */ new Set();
157
+ let W = 0;
158
158
  function U() {
159
- if (z !== 0)
159
+ if (W !== 0)
160
160
  return;
161
- const e = se;
161
+ const e = ae;
162
162
  do {
163
163
  try {
164
- for (; z < X.length; ) {
165
- const t = X[z];
166
- z++, oe(t), Pr(t.$$);
164
+ for (; W < X.length; ) {
165
+ const t = X[W];
166
+ W++, se(t), Mr(t.$$);
167
167
  }
168
168
  } catch (t) {
169
- throw X.length = 0, z = 0, t;
169
+ throw X.length = 0, W = 0, t;
170
170
  }
171
- for (oe(null), X.length = 0, z = 0; Re.length; )
172
- Re.pop()();
171
+ for (se(null), X.length = 0, W = 0; Le.length; )
172
+ Le.pop()();
173
173
  for (let t = 0; t < q.length; t += 1) {
174
174
  const r = q[t];
175
- He.has(r) || (He.add(r), r());
175
+ Te.has(r) || (Te.add(r), r());
176
176
  }
177
177
  q.length = 0;
178
178
  } while (X.length);
179
- for (; ct.length; )
180
- ct.pop()();
181
- De = !1, He.clear(), oe(e);
179
+ for (; ut.length; )
180
+ ut.pop()();
181
+ $e = !1, Te.clear(), se(e);
182
182
  }
183
- function Pr(e) {
183
+ function Mr(e) {
184
184
  if (e.fragment !== null) {
185
- e.update(), ee(e.before_update);
185
+ e.update(), te(e.before_update);
186
186
  const t = e.dirty;
187
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
187
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
188
188
  }
189
189
  }
190
- function Or(e) {
190
+ function Pr(e) {
191
191
  const t = [], r = [];
192
192
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
193
193
  }
194
- const Ir = /* @__PURE__ */ new Set();
195
- function Nr(e, t) {
196
- e && e.i && (Ir.delete(e), e.i(t));
194
+ const Or = /* @__PURE__ */ new Set();
195
+ function Ir(e, t) {
196
+ e && e.i && (Or.delete(e), e.i(t));
197
197
  }
198
- function Lr(e) {
198
+ function Nr(e) {
199
199
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
200
200
  }
201
- function $r(e, t, r) {
201
+ function Lr(e, t, r) {
202
202
  const { fragment: n, after_update: i } = e.$$;
203
- n && n.m(t, r), Ue(() => {
204
- const o = e.$$.on_mount.map(Nt).filter(tt);
205
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
206
- }), i.forEach(Ue);
203
+ n && n.m(t, r), Re(() => {
204
+ const o = e.$$.on_mount.map(Ot).filter(Ye);
205
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
206
+ }), i.forEach(Re);
207
207
  }
208
- function Rr(e, t) {
208
+ function $r(e, t) {
209
209
  const r = e.$$;
210
- r.fragment !== null && (Or(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
+ r.fragment !== null && (Pr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
211
211
  }
212
- function Dr(e, t) {
213
- e.$$.dirty[0] === -1 && (X.push(e), Mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
212
+ function Rr(e, t) {
213
+ e.$$.dirty[0] === -1 && (X.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
214
  }
215
- function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
216
- const l = se;
217
- oe(e);
215
+ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
216
+ const l = ae;
217
+ se(e);
218
218
  const u = e.$$ = {
219
219
  fragment: null,
220
220
  ctx: [],
@@ -222,7 +222,7 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
222
222
  props: o,
223
223
  update: O,
224
224
  not_equal: i,
225
- bound: lt(),
225
+ bound: at(),
226
226
  // lifecycle
227
227
  on_mount: [],
228
228
  on_destroy: [],
@@ -231,7 +231,7 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
231
231
  after_update: [],
232
232
  context: new Map(t.context || (l ? l.$$.context : [])),
233
233
  // everything else
234
- callbacks: lt(),
234
+ callbacks: at(),
235
235
  dirty: a,
236
236
  skip_bound: !1,
237
237
  root: t.target || l.$$.root
@@ -240,19 +240,19 @@ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
240
240
  let c = !1;
241
241
  if (u.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
242
242
  const m = p.length ? p[0] : f;
243
- return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Dr(e, h)), f;
244
- }) : [], u.update(), c = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
243
+ return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Rr(e, h)), f;
244
+ }) : [], u.update(), c = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
245
245
  if (t.hydrate) {
246
- const h = Ar(t.target);
246
+ const h = wr(t.target);
247
247
  u.fragment && u.fragment.l(h), h.forEach(D);
248
248
  } else
249
249
  u.fragment && u.fragment.c();
250
- t.intro && Nr(e.$$.fragment), $r(e, t.target, t.anchor), U();
250
+ t.intro && Ir(e.$$.fragment), Lr(e, t.target, t.anchor), U();
251
251
  }
252
- oe(l);
252
+ se(l);
253
253
  }
254
- let Rt;
255
- typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
254
+ let Lt;
255
+ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
256
256
  constructor(t, r, n) {
257
257
  super();
258
258
  /** The Svelte component constructor */
@@ -289,14 +289,14 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
289
289
  }
290
290
  }
291
291
  connectedCallback() {
292
- return ut(this, null, function* () {
292
+ return st(this, null, function* () {
293
293
  if (this.$$cn = !0, !this.$$c) {
294
294
  let t = function(o) {
295
295
  return () => {
296
296
  let s;
297
297
  return {
298
298
  c: function() {
299
- s = B("slot"), o !== "default" && x(s, "name", o);
299
+ s = H("slot"), o !== "default" && E(s, "name", o);
300
300
  },
301
301
  /**
302
302
  * @param {HTMLElement} target
@@ -313,7 +313,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
313
313
  };
314
314
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
315
315
  return;
316
- const r = {}, n = Sr(this);
316
+ const r = {}, n = Ar(this);
317
317
  for (const o of this.$$s)
318
318
  o in n && (r[o] = [t(o)]);
319
319
  for (const o of this.attributes) {
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
324
324
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
325
325
  this.$$c = new this.$$ctor({
326
326
  target: this.shadowRoot || this,
327
- props: at(st({}, this.$$d), {
327
+ props: ot(it({}, this.$$d), {
328
328
  $$slots: r,
329
329
  $$scope: {
330
330
  ctx: []
@@ -402,8 +402,8 @@ function de(e, t, r, n) {
402
402
  return t;
403
403
  }
404
404
  }
405
- function Fr(e, t, r, n, i, o) {
406
- let s = class extends Rt {
405
+ function Ur(e, t, r, n, i, o) {
406
+ let s = class extends Lt {
407
407
  constructor() {
408
408
  super(e, r, i), this.$$p_d = t;
409
409
  }
@@ -433,7 +433,7 @@ function Fr(e, t, r, n, i, o) {
433
433
  }), e.element = /** @type {any} */
434
434
  s, s;
435
435
  }
436
- class Gr {
436
+ class Fr {
437
437
  constructor() {
438
438
  /**
439
439
  * ### PRIVATE API
@@ -454,7 +454,7 @@ class Gr {
454
454
  }
455
455
  /** @returns {void} */
456
456
  $destroy() {
457
- Rr(this, 1), this.$destroy = O;
457
+ $r(this, 1), this.$destroy = O;
458
458
  }
459
459
  /**
460
460
  * @template {Extract<keyof Events, string>} K
@@ -463,7 +463,7 @@ class Gr {
463
463
  * @returns {() => void}
464
464
  */
465
465
  $on(t, r) {
466
- if (!tt(r))
466
+ if (!Ye(r))
467
467
  return O;
468
468
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
469
469
  return n.push(r), () => {
@@ -476,11 +476,11 @@ class Gr {
476
476
  * @returns {void}
477
477
  */
478
478
  $set(t) {
479
- this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
+ this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
480
  }
481
481
  }
482
- const jr = "4";
483
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
482
+ const Gr = "4";
483
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
484
484
  /*! *****************************************************************************
485
485
  Copyright (c) Microsoft Corporation.
486
486
 
@@ -495,24 +495,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
495
495
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
496
496
  PERFORMANCE OF THIS SOFTWARE.
497
497
  ***************************************************************************** */
498
- var Fe = function(e, t) {
499
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
498
+ var De = function(e, t) {
499
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
500
500
  r.__proto__ = n;
501
501
  } || function(r, n) {
502
502
  for (var i in n)
503
503
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
504
- }, Fe(e, t);
504
+ }, De(e, t);
505
505
  };
506
- function le(e, t) {
506
+ function L(e, t) {
507
507
  if (typeof t != "function" && t !== null)
508
508
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
509
- Fe(e, t);
509
+ De(e, t);
510
510
  function r() {
511
511
  this.constructor = e;
512
512
  }
513
513
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
514
514
  }
515
- function Ge(e) {
515
+ var y = function() {
516
+ return y = Object.assign || function(t) {
517
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
518
+ r = arguments[n];
519
+ for (var o in r)
520
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
521
+ }
522
+ return t;
523
+ }, y.apply(this, arguments);
524
+ };
525
+ function jr(e, t) {
526
+ var r = {};
527
+ for (var n in e)
528
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
529
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
530
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
531
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
532
+ return r;
533
+ }
534
+ function Ue(e) {
516
535
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
517
536
  if (r)
518
537
  return r.call(e);
@@ -524,7 +543,7 @@ function Ge(e) {
524
543
  };
525
544
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
526
545
  }
527
- function je(e, t) {
546
+ function Fe(e, t) {
528
547
  var r = typeof Symbol == "function" && e[Symbol.iterator];
529
548
  if (!r)
530
549
  return e;
@@ -544,22 +563,22 @@ function je(e, t) {
544
563
  }
545
564
  return o;
546
565
  }
547
- function ke(e, t, r) {
548
- if (arguments.length === 2)
566
+ function Q(e, t, r) {
567
+ if (r || arguments.length === 2)
549
568
  for (var n = 0, i = t.length, o; n < i; n++)
550
569
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
551
570
  return e.concat(o || t);
552
571
  }
553
- function L(e) {
572
+ function N(e) {
554
573
  return typeof e == "function";
555
574
  }
556
- function Dt(e) {
575
+ function $t(e) {
557
576
  var t = function(n) {
558
577
  Error.call(n), n.stack = new Error().stack;
559
578
  }, r = e(t);
560
579
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
561
580
  }
562
- var Me = Dt(function(e) {
581
+ var He = $t(function(e) {
563
582
  return function(r) {
564
583
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
565
584
  ` + r.map(function(n, i) {
@@ -568,7 +587,7 @@ var Me = Dt(function(e) {
568
587
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
569
588
  };
570
589
  });
571
- function We(e, t) {
590
+ function Ge(e, t) {
572
591
  if (e) {
573
592
  var r = e.indexOf(t);
574
593
  0 <= r && e.splice(r, 1);
@@ -586,7 +605,7 @@ var Ee = function() {
586
605
  if (s)
587
606
  if (this._parentage = null, Array.isArray(s))
588
607
  try {
589
- for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
608
+ for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
590
609
  var u = l.value;
591
610
  u.remove(this);
592
611
  }
@@ -603,22 +622,22 @@ var Ee = function() {
603
622
  else
604
623
  s.remove(this);
605
624
  var c = this.initialTeardown;
606
- if (L(c))
625
+ if (N(c))
607
626
  try {
608
627
  c();
609
628
  } catch (d) {
610
- o = d instanceof Me ? d.errors : [d];
629
+ o = d instanceof He ? d.errors : [d];
611
630
  }
612
631
  var h = this._finalizers;
613
632
  if (h) {
614
633
  this._finalizers = null;
615
634
  try {
616
- for (var f = Ge(h), p = f.next(); !p.done; p = f.next()) {
635
+ for (var f = Ue(h), p = f.next(); !p.done; p = f.next()) {
617
636
  var m = p.value;
618
637
  try {
619
- ht(m);
638
+ lt(m);
620
639
  } catch (d) {
621
- o = o != null ? o : [], d instanceof Me ? o = ke(ke([], je(o)), je(d.errors)) : o.push(d);
640
+ o = o != null ? o : [], d instanceof He ? o = Q(Q([], Fe(o)), Fe(d.errors)) : o.push(d);
622
641
  }
623
642
  }
624
643
  } catch (d) {
@@ -633,13 +652,13 @@ var Ee = function() {
633
652
  }
634
653
  }
635
654
  if (o)
636
- throw new Me(o);
655
+ throw new He(o);
637
656
  }
638
657
  }, e.prototype.add = function(t) {
639
658
  var r;
640
659
  if (t && t !== this)
641
660
  if (this.closed)
642
- ht(t);
661
+ lt(t);
643
662
  else {
644
663
  if (t instanceof e) {
645
664
  if (t.closed || t._hasParent(this))
@@ -656,28 +675,32 @@ var Ee = function() {
656
675
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
657
676
  }, e.prototype._removeParent = function(t) {
658
677
  var r = this._parentage;
659
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
678
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
660
679
  }, e.prototype.remove = function(t) {
661
680
  var r = this._finalizers;
662
- r && We(r, t), t instanceof e && t._removeParent(this);
681
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
663
682
  }, e.EMPTY = function() {
664
683
  var t = new e();
665
684
  return t.closed = !0, t;
666
685
  }(), e;
667
- }(), Ut = Ee.EMPTY;
668
- function Ft(e) {
669
- return e instanceof Ee || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
670
- }
671
- function ht(e) {
672
- L(e) ? e() : e.unsubscribe();
673
- }
674
- var kr = {
675
- Promise: void 0
676
- }, Wr = {
686
+ }(), Rt = Ee.EMPTY;
687
+ function Dt(e) {
688
+ return e instanceof Ee || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
689
+ }
690
+ function lt(e) {
691
+ N(e) ? e() : e.unsubscribe();
692
+ }
693
+ var Ut = {
694
+ onUnhandledError: null,
695
+ onStoppedNotification: null,
696
+ Promise: void 0,
697
+ useDeprecatedSynchronousErrorHandling: !1,
698
+ useDeprecatedNextContext: !1
699
+ }, kr = {
677
700
  setTimeout: function(e, t) {
678
701
  for (var r = [], n = 2; n < arguments.length; n++)
679
702
  r[n - 2] = arguments[n];
680
- return setTimeout.apply(void 0, ke([e, t], je(r)));
703
+ return setTimeout.apply(void 0, Q([e, t], Fe(r)));
681
704
  },
682
705
  clearTimeout: function(e) {
683
706
  return clearTimeout(e);
@@ -685,23 +708,23 @@ var kr = {
685
708
  delegate: void 0
686
709
  };
687
710
  function zr(e) {
688
- Wr.setTimeout(function() {
711
+ kr.setTimeout(function() {
689
712
  throw e;
690
713
  });
691
714
  }
692
- function ft() {
715
+ function ct() {
693
716
  }
694
717
  function me(e) {
695
718
  e();
696
719
  }
697
- var Gt = function(e) {
698
- le(t, e);
720
+ var Ft = function(e) {
721
+ L(t, e);
699
722
  function t(r) {
700
723
  var n = e.call(this) || this;
701
- return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = Zr, n;
724
+ return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = Zr, n;
702
725
  }
703
726
  return t.create = function(r, n, i) {
704
- return new ze(r, n, i);
727
+ return new je(r, n, i);
705
728
  }, t.prototype.next = function(r) {
706
729
  this.isStopped || this._next(r);
707
730
  }, t.prototype.error = function(r) {
@@ -725,7 +748,11 @@ var Gt = function(e) {
725
748
  this.unsubscribe();
726
749
  }
727
750
  }, t;
728
- }(Ee), Vr = function() {
751
+ }(Ee), Wr = Function.prototype.bind;
752
+ function Be(e, t) {
753
+ return Wr.call(e, t);
754
+ }
755
+ var Vr = function() {
729
756
  function e(t) {
730
757
  this.partialObserver = t;
731
758
  }
@@ -756,18 +783,30 @@ var Gt = function(e) {
756
783
  fe(r);
757
784
  }
758
785
  }, e;
759
- }(), ze = function(e) {
760
- le(t, e);
786
+ }(), je = function(e) {
787
+ L(t, e);
761
788
  function t(r, n, i) {
762
789
  var o = e.call(this) || this, s;
763
- return L(r) || !r ? s = {
764
- next: r != null ? r : void 0,
765
- error: n != null ? n : void 0,
766
- complete: i != null ? i : void 0
767
- } : s = r, o.destination = new Vr(s), o;
790
+ if (N(r) || !r)
791
+ s = {
792
+ next: r != null ? r : void 0,
793
+ error: n != null ? n : void 0,
794
+ complete: i != null ? i : void 0
795
+ };
796
+ else {
797
+ var a;
798
+ o && Ut.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
799
+ return o.unsubscribe();
800
+ }, s = {
801
+ next: r.next && Be(r.next, a),
802
+ error: r.error && Be(r.error, a),
803
+ complete: r.complete && Be(r.complete, a)
804
+ }) : s = r;
805
+ }
806
+ return o.destination = new Vr(s), o;
768
807
  }
769
808
  return t;
770
- }(Gt);
809
+ }(Ft);
771
810
  function fe(e) {
772
811
  zr(e);
773
812
  }
@@ -776,9 +815,9 @@ function Xr(e) {
776
815
  }
777
816
  var Zr = {
778
817
  closed: !0,
779
- next: ft,
818
+ next: ct,
780
819
  error: Xr,
781
- complete: ft
820
+ complete: ct
782
821
  }, qr = function() {
783
822
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
784
823
  }();
@@ -792,7 +831,7 @@ function Yr(e) {
792
831
  }, r);
793
832
  };
794
833
  }
795
- var pt = function() {
834
+ var ht = function() {
796
835
  function e(t) {
797
836
  t && (this._subscribe = t);
798
837
  }
@@ -800,7 +839,7 @@ var pt = function() {
800
839
  var r = new e();
801
840
  return r.source = this, r.operator = t, r;
802
841
  }, e.prototype.subscribe = function(t, r, n) {
803
- var i = this, o = Kr(t) ? t : new ze(t, r, n);
842
+ var i = this, o = Kr(t) ? t : new je(t, r, n);
804
843
  return me(function() {
805
844
  var s = i, a = s.operator, l = s.source;
806
845
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -813,8 +852,8 @@ var pt = function() {
813
852
  }
814
853
  }, e.prototype.forEach = function(t, r) {
815
854
  var n = this;
816
- return r = dt(r), new r(function(i, o) {
817
- var s = new ze({
855
+ return r = ft(r), new r(function(i, o) {
856
+ var s = new je({
818
857
  next: function(a) {
819
858
  try {
820
859
  t(a);
@@ -838,7 +877,7 @@ var pt = function() {
838
877
  return Yr(t)(this);
839
878
  }, e.prototype.toPromise = function(t) {
840
879
  var r = this;
841
- return t = dt(t), new t(function(n, i) {
880
+ return t = ft(t), new t(function(n, i) {
842
881
  var o;
843
882
  r.subscribe(function(s) {
844
883
  return o = s;
@@ -852,28 +891,28 @@ var pt = function() {
852
891
  return new e(t);
853
892
  }, e;
854
893
  }();
855
- function dt(e) {
894
+ function ft(e) {
856
895
  var t;
857
- return (t = e != null ? e : kr.Promise) !== null && t !== void 0 ? t : Promise;
896
+ return (t = e != null ? e : Ut.Promise) !== null && t !== void 0 ? t : Promise;
858
897
  }
859
898
  function Jr(e) {
860
- return e && L(e.next) && L(e.error) && L(e.complete);
899
+ return e && N(e.next) && N(e.error) && N(e.complete);
861
900
  }
862
901
  function Kr(e) {
863
- return e && e instanceof Gt || Jr(e) && Ft(e);
902
+ return e && e instanceof Ft || Jr(e) && Dt(e);
864
903
  }
865
- var en = Dt(function(e) {
904
+ var en = $t(function(e) {
866
905
  return function() {
867
906
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
868
907
  };
869
- }), jt = function(e) {
870
- le(t, e);
908
+ }), Gt = function(e) {
909
+ L(t, e);
871
910
  function t() {
872
911
  var r = e.call(this) || this;
873
912
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
874
913
  }
875
914
  return t.prototype.lift = function(r) {
876
- var n = new mt(this, this);
915
+ var n = new pt(this, this);
877
916
  return n.operator = r, n;
878
917
  }, t.prototype._throwIfClosed = function() {
879
918
  if (this.closed)
@@ -885,7 +924,7 @@ var en = Dt(function(e) {
885
924
  if (n._throwIfClosed(), !n.isStopped) {
886
925
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
887
926
  try {
888
- for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
927
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
889
928
  var l = a.value;
890
929
  l.next(r);
891
930
  }
@@ -934,20 +973,20 @@ var en = Dt(function(e) {
934
973
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
935
974
  }, t.prototype._innerSubscribe = function(r) {
936
975
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
937
- return o || s ? Ut : (this.currentObservers = null, a.push(r), new Ee(function() {
938
- n.currentObservers = null, We(a, r);
976
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new Ee(function() {
977
+ n.currentObservers = null, Ge(a, r);
939
978
  }));
940
979
  }, t.prototype._checkFinalizedStatuses = function(r) {
941
980
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
942
981
  i ? r.error(o) : s && r.complete();
943
982
  }, t.prototype.asObservable = function() {
944
- var r = new pt();
983
+ var r = new ht();
945
984
  return r.source = this, r;
946
985
  }, t.create = function(r, n) {
947
- return new mt(r, n);
986
+ return new pt(r, n);
948
987
  }, t;
949
- }(pt), mt = function(e) {
950
- le(t, e);
988
+ }(ht), pt = function(e) {
989
+ L(t, e);
951
990
  function t(r, n) {
952
991
  var i = e.call(this) || this;
953
992
  return i.destination = r, i.source = n, i;
@@ -963,17 +1002,17 @@ var en = Dt(function(e) {
963
1002
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
964
1003
  }, t.prototype._subscribe = function(r) {
965
1004
  var n, i;
966
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
1005
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
967
1006
  }, t;
968
- }(jt), kt = {
1007
+ }(Gt), jt = {
969
1008
  now: function() {
970
- return (kt.delegate || Date).now();
1009
+ return (jt.delegate || Date).now();
971
1010
  },
972
1011
  delegate: void 0
973
1012
  }, tn = function(e) {
974
- le(t, e);
1013
+ L(t, e);
975
1014
  function t(r, n, i) {
976
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
1015
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
977
1016
  var o = e.call(this) || this;
978
1017
  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;
979
1018
  }
@@ -993,24 +1032,24 @@ var en = Dt(function(e) {
993
1032
  u && o.splice(0, u + 1);
994
1033
  }
995
1034
  }, t;
996
- }(jt);
997
- const bt = [], vt = {}, rn = (e, t = 0) => {
998
- if (bt.indexOf(e) == -1) {
1035
+ }(Gt);
1036
+ const dt = [], mt = {}, rn = (e, t = 0) => {
1037
+ if (dt.indexOf(e) == -1) {
999
1038
  const r = new tn(t);
1000
- vt[e] = r, bt.push(e);
1039
+ mt[e] = r, dt.push(e);
1001
1040
  }
1002
- return vt[e];
1041
+ return mt[e];
1003
1042
  }, V = [];
1004
1043
  function nn(e, t) {
1005
1044
  return {
1006
- subscribe: we(e, t).subscribe
1045
+ subscribe: _e(e, t).subscribe
1007
1046
  };
1008
1047
  }
1009
- function we(e, t = O) {
1048
+ function _e(e, t = O) {
1010
1049
  let r;
1011
1050
  const n = /* @__PURE__ */ new Set();
1012
1051
  function i(a) {
1013
- if (Lt(e, a) && (e = a, r)) {
1052
+ if (It(e, a) && (e = a, r)) {
1014
1053
  const l = !V.length;
1015
1054
  for (const u of n)
1016
1055
  u[1](), V.push(u, e);
@@ -1032,7 +1071,7 @@ function we(e, t = O) {
1032
1071
  }
1033
1072
  return { set: i, update: o, subscribe: s };
1034
1073
  }
1035
- function te(e, t, r) {
1074
+ function re(e, t, r) {
1036
1075
  const n = !Array.isArray(e), i = n ? [e] : e;
1037
1076
  if (!i.every(Boolean))
1038
1077
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1046,9 +1085,9 @@ function te(e, t, r) {
1046
1085
  return;
1047
1086
  h();
1048
1087
  const m = t(n ? u[0] : u, s, a);
1049
- o ? s(m) : h = tt(m) ? m : O;
1088
+ o ? s(m) : h = Ye(m) ? m : O;
1050
1089
  }, p = i.map(
1051
- (m, d) => $t(
1090
+ (m, d) => Nt(
1052
1091
  m,
1053
1092
  (_) => {
1054
1093
  u[d] = _, c &= ~(1 << d), l && f();
@@ -1059,7 +1098,7 @@ function te(e, t, r) {
1059
1098
  )
1060
1099
  );
1061
1100
  return l = !0, f(), function() {
1062
- ee(p), h(), l = !1;
1101
+ te(p), h(), l = !1;
1063
1102
  };
1064
1103
  });
1065
1104
  }
@@ -1083,29 +1122,29 @@ function hn(e) {
1083
1122
  function fn(e) {
1084
1123
  return Array.isArray(e) ? [] : {};
1085
1124
  }
1086
- function ae(e, t) {
1087
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(fn(e), e, t) : e;
1125
+ function ue(e, t) {
1126
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(fn(e), e, t) : e;
1088
1127
  }
1089
1128
  function pn(e, t, r) {
1090
1129
  return e.concat(t).map(function(n) {
1091
- return ae(n, r);
1130
+ return ue(n, r);
1092
1131
  });
1093
1132
  }
1094
1133
  function dn(e, t) {
1095
1134
  if (!t.customMerge)
1096
- return Q;
1135
+ return Y;
1097
1136
  var r = t.customMerge(e);
1098
- return typeof r == "function" ? r : Q;
1137
+ return typeof r == "function" ? r : Y;
1099
1138
  }
1100
1139
  function mn(e) {
1101
1140
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1102
1141
  return Object.propertyIsEnumerable.call(e, t);
1103
1142
  }) : [];
1104
1143
  }
1105
- function gt(e) {
1144
+ function bt(e) {
1106
1145
  return Object.keys(e).concat(mn(e));
1107
1146
  }
1108
- function Wt(e, t) {
1147
+ function kt(e, t) {
1109
1148
  try {
1110
1149
  return t in e;
1111
1150
  } catch (r) {
@@ -1113,74 +1152,32 @@ function Wt(e, t) {
1113
1152
  }
1114
1153
  }
1115
1154
  function bn(e, t) {
1116
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1155
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1117
1156
  }
1118
1157
  function vn(e, t, r) {
1119
1158
  var n = {};
1120
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1121
- n[i] = ae(e[i], r);
1122
- }), gt(t).forEach(function(i) {
1123
- bn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1159
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1160
+ n[i] = ue(e[i], r);
1161
+ }), bt(t).forEach(function(i) {
1162
+ bn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1124
1163
  }), n;
1125
1164
  }
1126
- function Q(e, t, r) {
1127
- r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ae;
1165
+ function Y(e, t, r) {
1166
+ r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ue;
1128
1167
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1129
- return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ae(t, r);
1168
+ return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ue(t, r);
1130
1169
  }
1131
- Q.all = function(t, r) {
1170
+ Y.all = function(t, r) {
1132
1171
  if (!Array.isArray(t))
1133
1172
  throw new Error("first argument should be an array");
1134
1173
  return t.reduce(function(n, i) {
1135
- return Q(n, i, r);
1174
+ return Y(n, i, r);
1136
1175
  }, {});
1137
1176
  };
1138
- var gn = Q, yn = gn;
1177
+ var gn = Y, yn = gn;
1139
1178
  const xn = /* @__PURE__ */ on(yn);
1140
- var Ve = function(e, t) {
1141
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1142
- r.__proto__ = n;
1143
- } || function(r, n) {
1144
- for (var i in n)
1145
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1146
- }, Ve(e, t);
1147
- };
1148
- function Ce(e, t) {
1149
- if (typeof t != "function" && t !== null)
1150
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1151
- Ve(e, t);
1152
- function r() {
1153
- this.constructor = e;
1154
- }
1155
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1156
- }
1157
- var N = function() {
1158
- return N = Object.assign || function(t) {
1159
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1160
- r = arguments[n];
1161
- for (var o in r)
1162
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1163
- }
1164
- return t;
1165
- }, N.apply(this, arguments);
1166
- };
1167
- function _n(e, t) {
1168
- var r = {};
1169
- for (var n in e)
1170
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1171
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1172
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1173
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1174
- return r;
1175
- }
1176
- function Pe(e, t, r) {
1177
- if (r || arguments.length === 2)
1178
- for (var n = 0, i = t.length, o; n < i; n++)
1179
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1180
- return e.concat(o || Array.prototype.slice.call(t));
1181
- }
1182
- function Oe(e, t) {
1183
- var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : Cn;
1179
+ function Me(e, t) {
1180
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : _n;
1184
1181
  return i(e, {
1185
1182
  cache: r,
1186
1183
  serializer: n
@@ -1189,55 +1186,47 @@ function Oe(e, t) {
1189
1186
  function En(e) {
1190
1187
  return e == null || typeof e == "number" || typeof e == "boolean";
1191
1188
  }
1192
- function wn(e, t, r, n) {
1189
+ function zt(e, t, r, n) {
1193
1190
  var i = En(n) ? n : r(n), o = t.get(i);
1194
1191
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1195
1192
  }
1196
- function zt(e, t, r) {
1193
+ function Wt(e, t, r) {
1197
1194
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1198
1195
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1199
1196
  }
1200
- function Vt(e, t, r, n, i) {
1197
+ function Je(e, t, r, n, i) {
1201
1198
  return r.bind(t, e, n, i);
1202
1199
  }
1200
+ function _n(e, t) {
1201
+ var r = e.length === 1 ? zt : Wt;
1202
+ return Je(e, this, r, t.cache.create(), t.serializer);
1203
+ }
1203
1204
  function Cn(e, t) {
1204
- var r = e.length === 1 ? wn : zt;
1205
- return Vt(e, this, r, t.cache.create(), t.serializer);
1205
+ return Je(e, this, Wt, t.cache.create(), t.serializer);
1206
1206
  }
1207
- function An(e, t) {
1208
- return Vt(e, this, zt, t.cache.create(), t.serializer);
1207
+ function wn(e, t) {
1208
+ return Je(e, this, zt, t.cache.create(), t.serializer);
1209
1209
  }
1210
- var Sn = function() {
1210
+ var An = function() {
1211
1211
  return JSON.stringify(arguments);
1212
- }, Tn = (
1213
- /** @class */
1214
- function() {
1215
- function e() {
1216
- this.cache = /* @__PURE__ */ Object.create(null);
1217
- }
1218
- return e.prototype.get = function(t) {
1219
- return this.cache[t];
1220
- }, e.prototype.set = function(t, r) {
1221
- this.cache[t] = r;
1222
- }, e;
1223
- }()
1224
- ), Bn = {
1212
+ };
1213
+ function Ke() {
1214
+ this.cache = /* @__PURE__ */ Object.create(null);
1215
+ }
1216
+ Ke.prototype.get = function(e) {
1217
+ return this.cache[e];
1218
+ };
1219
+ Ke.prototype.set = function(e, t) {
1220
+ this.cache[e] = t;
1221
+ };
1222
+ var Sn = {
1225
1223
  create: function() {
1226
- return new Tn();
1224
+ return new Ke();
1227
1225
  }
1228
- }, Ie = {
1229
- variadic: An
1230
- }, ye = function() {
1231
- return ye = Object.assign || function(t) {
1232
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1233
- r = arguments[n];
1234
- for (var o in r)
1235
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1236
- }
1237
- return t;
1238
- }, ye.apply(this, arguments);
1239
- };
1240
- var b;
1226
+ }, Pe = {
1227
+ variadic: Cn,
1228
+ monadic: wn
1229
+ }, b;
1241
1230
  (function(e) {
1242
1231
  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";
1243
1232
  })(b || (b = {}));
@@ -1245,47 +1234,47 @@ var w;
1245
1234
  (function(e) {
1246
1235
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1247
1236
  })(w || (w = {}));
1248
- var Y;
1237
+ var J;
1249
1238
  (function(e) {
1250
1239
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1251
- })(Y || (Y = {}));
1252
- function yt(e) {
1240
+ })(J || (J = {}));
1241
+ function vt(e) {
1253
1242
  return e.type === w.literal;
1254
1243
  }
1255
- function Hn(e) {
1244
+ function Tn(e) {
1256
1245
  return e.type === w.argument;
1257
1246
  }
1258
- function Xt(e) {
1247
+ function Vt(e) {
1259
1248
  return e.type === w.number;
1260
1249
  }
1261
- function Zt(e) {
1250
+ function Xt(e) {
1262
1251
  return e.type === w.date;
1263
1252
  }
1264
- function qt(e) {
1253
+ function Zt(e) {
1265
1254
  return e.type === w.time;
1266
1255
  }
1267
- function Qt(e) {
1256
+ function qt(e) {
1268
1257
  return e.type === w.select;
1269
1258
  }
1270
- function Yt(e) {
1259
+ function Qt(e) {
1271
1260
  return e.type === w.plural;
1272
1261
  }
1273
- function Mn(e) {
1262
+ function Hn(e) {
1274
1263
  return e.type === w.pound;
1275
1264
  }
1276
- function Jt(e) {
1265
+ function Yt(e) {
1277
1266
  return e.type === w.tag;
1278
1267
  }
1279
- function Kt(e) {
1280
- return !!(e && typeof e == "object" && e.type === Y.number);
1268
+ function Jt(e) {
1269
+ return !!(e && typeof e == "object" && e.type === J.number);
1281
1270
  }
1282
- function Xe(e) {
1283
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
1271
+ function ke(e) {
1272
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1284
1273
  }
1285
- var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1286
- function On(e) {
1274
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1275
+ function Mn(e) {
1287
1276
  var t = {};
1288
- return e.replace(Pn, function(r) {
1277
+ return e.replace(Bn, function(r) {
1289
1278
  var n = r.length;
1290
1279
  switch (r[0]) {
1291
1280
  case "G":
@@ -1374,21 +1363,11 @@ function On(e) {
1374
1363
  return "";
1375
1364
  }), t;
1376
1365
  }
1377
- var S = function() {
1378
- return S = Object.assign || function(t) {
1379
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1380
- r = arguments[n];
1381
- for (var o in r)
1382
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1383
- }
1384
- return t;
1385
- }, S.apply(this, arguments);
1386
- };
1387
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1388
- function Nn(e) {
1366
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1367
+ function On(e) {
1389
1368
  if (e.length === 0)
1390
1369
  throw new Error("Number skeleton cannot be empty");
1391
- for (var t = e.split(In).filter(function(f) {
1370
+ for (var t = e.split(Pn).filter(function(f) {
1392
1371
  return f.length > 0;
1393
1372
  }), r = [], n = 0, i = t; n < i.length; n++) {
1394
1373
  var o = i[n], s = o.split("/");
@@ -1403,17 +1382,17 @@ function Nn(e) {
1403
1382
  }
1404
1383
  return r;
1405
1384
  }
1406
- function Ln(e) {
1385
+ function In(e) {
1407
1386
  return e.replace(/^(.*?)-/, "");
1408
1387
  }
1409
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1410
- function _t(e) {
1388
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1389
+ function yt(e) {
1411
1390
  var t = {};
1412
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1391
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1413
1392
  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)), "";
1414
1393
  }), t;
1415
1394
  }
1416
- function nr(e) {
1395
+ function rr(e) {
1417
1396
  switch (e) {
1418
1397
  case "sign-auto":
1419
1398
  return {
@@ -1453,7 +1432,7 @@ function nr(e) {
1453
1432
  };
1454
1433
  }
1455
1434
  }
1456
- function Rn(e) {
1435
+ function Ln(e) {
1457
1436
  var t;
1458
1437
  if (e[0] === "E" && e[1] === "E" ? (t = {
1459
1438
  notation: "engineering"
@@ -1461,17 +1440,17 @@ function Rn(e) {
1461
1440
  notation: "scientific"
1462
1441
  }, e = e.slice(1)), t) {
1463
1442
  var r = e.slice(0, 2);
1464
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1443
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1465
1444
  throw new Error("Malformed concise eng/scientific notation");
1466
1445
  t.minimumIntegerDigits = e.length;
1467
1446
  }
1468
1447
  return t;
1469
1448
  }
1470
- function Et(e) {
1471
- var t = {}, r = nr(e);
1449
+ function xt(e) {
1450
+ var t = {}, r = rr(e);
1472
1451
  return r || t;
1473
1452
  }
1474
- function Dn(e) {
1453
+ function $n(e) {
1475
1454
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1476
1455
  var i = n[r];
1477
1456
  switch (i.stem) {
@@ -1495,7 +1474,7 @@ function Dn(e) {
1495
1474
  continue;
1496
1475
  case "measure-unit":
1497
1476
  case "unit":
1498
- t.style = "unit", t.unit = Ln(i.options[0]);
1477
+ t.style = "unit", t.unit = In(i.options[0]);
1499
1478
  continue;
1500
1479
  case "compact-short":
1501
1480
  case "K":
@@ -1506,13 +1485,13 @@ function Dn(e) {
1506
1485
  t.notation = "compact", t.compactDisplay = "long";
1507
1486
  continue;
1508
1487
  case "scientific":
1509
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1510
- return S(S({}, l), Et(u));
1488
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1489
+ return y(y({}, l), xt(u));
1511
1490
  }, {}));
1512
1491
  continue;
1513
1492
  case "engineering":
1514
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1515
- return S(S({}, l), Et(u));
1493
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1494
+ return y(y({}, l), xt(u));
1516
1495
  }, {}));
1517
1496
  continue;
1518
1497
  case "notation-simple":
@@ -1557,7 +1536,7 @@ function Dn(e) {
1557
1536
  case "integer-width":
1558
1537
  if (i.options.length > 1)
1559
1538
  throw new RangeError("integer-width stems only accept a single optional option");
1560
- i.options[0].replace($n, function(l, u, c, h, f, p) {
1539
+ i.options[0].replace(Nn, function(l, u, c, h, f, p) {
1561
1540
  if (u)
1562
1541
  t.minimumIntegerDigits = c.length;
1563
1542
  else {
@@ -1570,28 +1549,28 @@ function Dn(e) {
1570
1549
  });
1571
1550
  continue;
1572
1551
  }
1573
- if (rr.test(i.stem)) {
1552
+ if (tr.test(i.stem)) {
1574
1553
  t.minimumIntegerDigits = i.stem.length;
1575
1554
  continue;
1576
1555
  }
1577
- if (xt.test(i.stem)) {
1556
+ if (gt.test(i.stem)) {
1578
1557
  if (i.options.length > 1)
1579
1558
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1580
- i.stem.replace(xt, function(l, u, c, h, f, p) {
1559
+ i.stem.replace(gt, function(l, u, c, h, f, p) {
1581
1560
  return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1582
1561
  });
1583
1562
  var o = i.options[0];
1584
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), _t(o)));
1563
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), yt(o)));
1585
1564
  continue;
1586
1565
  }
1587
- if (tr.test(i.stem)) {
1588
- t = S(S({}, t), _t(i.stem));
1566
+ if (er.test(i.stem)) {
1567
+ t = y(y({}, t), yt(i.stem));
1589
1568
  continue;
1590
1569
  }
1591
- var s = nr(i.stem);
1592
- s && (t = S(S({}, t), s));
1593
- var a = Rn(i.stem);
1594
- a && (t = S(S({}, t), a));
1570
+ var s = rr(i.stem);
1571
+ s && (t = y(y({}, t), s));
1572
+ var a = Ln(i.stem);
1573
+ a && (t = y(y({}, t), a));
1595
1574
  }
1596
1575
  return t;
1597
1576
  }
@@ -3010,13 +2989,13 @@ var pe = {
3010
2989
  "h"
3011
2990
  ]
3012
2991
  };
3013
- function Un(e, t) {
2992
+ function Rn(e, t) {
3014
2993
  for (var r = "", n = 0; n < e.length; n++) {
3015
2994
  var i = e.charAt(n);
3016
2995
  if (i === "j") {
3017
2996
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3018
2997
  o++, n++;
3019
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
2998
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
3020
2999
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3021
3000
  r += l;
3022
3001
  for (; s-- > 0; )
@@ -3026,7 +3005,7 @@ function Un(e, t) {
3026
3005
  }
3027
3006
  return r;
3028
3007
  }
3029
- function Fn(e) {
3008
+ function Dn(e) {
3030
3009
  var t = e.hourCycle;
3031
3010
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3032
3011
  e.hourCycles && // @ts-ignore
@@ -3048,20 +3027,20 @@ function Fn(e) {
3048
3027
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3049
3028
  return i[0];
3050
3029
  }
3051
- var Ne, Gn = new RegExp("^".concat(er.source, "*")), jn = new RegExp("".concat(er.source, "*$"));
3030
+ var Oe, Un = new RegExp("^".concat(Kt.source, "*")), Fn = new RegExp("".concat(Kt.source, "*$"));
3052
3031
  function v(e, t) {
3053
3032
  return { start: e, end: t };
3054
3033
  }
3055
- var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Qn = qn ? Number.isSafeInteger : function(e) {
3034
+ var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Zn = Xn ? Number.isSafeInteger : function(e) {
3056
3035
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3057
- }, Ze = !0;
3036
+ }, ze = !0;
3058
3037
  try {
3059
- var Yn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3060
- Ze = ((Ne = Yn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
3038
+ var qn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3039
+ ze = ((Oe = qn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3061
3040
  } catch (e) {
3062
- Ze = !1;
3041
+ ze = !1;
3063
3042
  }
3064
- var wt = kn ? (
3043
+ var Et = Gn ? (
3065
3044
  // Native
3066
3045
  function(t, r, n) {
3067
3046
  return t.startsWith(r, n);
@@ -3071,7 +3050,7 @@ var wt = kn ? (
3071
3050
  function(t, r, n) {
3072
3051
  return t.slice(n, n + r.length) === r;
3073
3052
  }
3074
- ), qe = Wn ? String.fromCodePoint : (
3053
+ ), We = jn ? String.fromCodePoint : (
3075
3054
  // IE11
3076
3055
  function() {
3077
3056
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3083,9 +3062,9 @@ var wt = kn ? (
3083
3062
  }
3084
3063
  return n;
3085
3064
  }
3086
- ), Ct = (
3065
+ ), _t = (
3087
3066
  // native
3088
- zn ? Object.fromEntries : (
3067
+ kn ? Object.fromEntries : (
3089
3068
  // Ponyfill
3090
3069
  function(t) {
3091
3070
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3095,7 +3074,7 @@ var wt = kn ? (
3095
3074
  return r;
3096
3075
  }
3097
3076
  )
3098
- ), ir = Vn ? (
3077
+ ), nr = zn ? (
3099
3078
  // Native
3100
3079
  function(t, r) {
3101
3080
  return t.codePointAt(r);
@@ -3109,7 +3088,7 @@ var wt = kn ? (
3109
3088
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3110
3089
  }
3111
3090
  }
3112
- ), Jn = Xn ? (
3091
+ ), Qn = Wn ? (
3113
3092
  // Native
3114
3093
  function(t) {
3115
3094
  return t.trimStart();
@@ -3117,9 +3096,9 @@ var wt = kn ? (
3117
3096
  ) : (
3118
3097
  // Ponyfill
3119
3098
  function(t) {
3120
- return t.replace(Gn, "");
3099
+ return t.replace(Un, "");
3121
3100
  }
3122
- ), Kn = Zn ? (
3101
+ ), Yn = Vn ? (
3123
3102
  // Native
3124
3103
  function(t) {
3125
3104
  return t.trimEnd();
@@ -3127,32 +3106,32 @@ var wt = kn ? (
3127
3106
  ) : (
3128
3107
  // Ponyfill
3129
3108
  function(t) {
3130
- return t.replace(jn, "");
3109
+ return t.replace(Fn, "");
3131
3110
  }
3132
3111
  );
3133
- function or(e, t) {
3112
+ function ir(e, t) {
3134
3113
  return new RegExp(e, t);
3135
3114
  }
3136
- var Qe;
3137
- if (Ze) {
3138
- var At = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3139
- Qe = function(t, r) {
3115
+ var Ve;
3116
+ if (ze) {
3117
+ var Ct = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3118
+ Ve = function(t, r) {
3140
3119
  var n;
3141
- At.lastIndex = r;
3142
- var i = At.exec(t);
3120
+ Ct.lastIndex = r;
3121
+ var i = Ct.exec(t);
3143
3122
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3144
3123
  };
3145
3124
  } else
3146
- Qe = function(t, r) {
3125
+ Ve = function(t, r) {
3147
3126
  for (var n = []; ; ) {
3148
- var i = ir(t, r);
3149
- if (i === void 0 || sr(i) || ni(i))
3127
+ var i = nr(t, r);
3128
+ if (i === void 0 || or(i) || ti(i))
3150
3129
  break;
3151
3130
  n.push(i), r += i >= 65536 ? 2 : 1;
3152
3131
  }
3153
- return qe.apply(void 0, n);
3132
+ return We.apply(void 0, n);
3154
3133
  };
3155
- var ei = (
3134
+ var Jn = (
3156
3135
  /** @class */
3157
3136
  function() {
3158
3137
  function e(t, r) {
@@ -3183,7 +3162,7 @@ var ei = (
3183
3162
  if (n)
3184
3163
  break;
3185
3164
  return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3186
- } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3165
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3187
3166
  var s = this.parseTag(t, r);
3188
3167
  if (s.err)
3189
3168
  return s;
@@ -3216,7 +3195,7 @@ var ei = (
3216
3195
  return o;
3217
3196
  var s = o.val, a = this.clonePosition();
3218
3197
  if (this.bumpIf("</")) {
3219
- if (this.isEOF() || !Ye(this.char()))
3198
+ if (this.isEOF() || !Xe(this.char()))
3220
3199
  return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3221
3200
  var l = this.clonePosition(), u = this.parseTagName();
3222
3201
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3234,7 +3213,7 @@ var ei = (
3234
3213
  return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3235
3214
  }, e.prototype.parseTagName = function() {
3236
3215
  var t = this.offset();
3237
- for (this.bump(); !this.isEOF() && ri(this.char()); )
3216
+ for (this.bump(); !this.isEOF() && ei(this.char()); )
3238
3217
  this.bump();
3239
3218
  return this.message.slice(t, this.offset());
3240
3219
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3263,7 +3242,7 @@ var ei = (
3263
3242
  };
3264
3243
  }, e.prototype.tryParseLeftAngleBracket = function() {
3265
3244
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3266
- !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3245
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3267
3246
  }, e.prototype.tryParseQuote = function(t) {
3268
3247
  if (this.isEOF() || this.char() !== 39)
3269
3248
  return null;
@@ -3297,12 +3276,12 @@ var ei = (
3297
3276
  r.push(n);
3298
3277
  this.bump();
3299
3278
  }
3300
- return qe.apply(void 0, r);
3279
+ return We.apply(void 0, r);
3301
3280
  }, e.prototype.tryParseUnquoted = function(t, r) {
3302
3281
  if (this.isEOF())
3303
3282
  return null;
3304
3283
  var n = this.char();
3305
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3284
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3306
3285
  }, e.prototype.parseArgument = function(t, r) {
3307
3286
  var n = this.clonePosition();
3308
3287
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3331,7 +3310,7 @@ var ei = (
3331
3310
  return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3332
3311
  }
3333
3312
  }, e.prototype.parseIdentifierIfPossible = function() {
3334
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3313
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3335
3314
  this.bumpTo(i);
3336
3315
  var o = this.clonePosition(), s = v(t, o);
3337
3316
  return { value: n, location: s };
@@ -3350,7 +3329,7 @@ var ei = (
3350
3329
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3351
3330
  if (h.err)
3352
3331
  return h;
3353
- var f = Kn(h.val);
3332
+ var f = Yn(h.val);
3354
3333
  if (f.length === 0)
3355
3334
  return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3356
3335
  var p = v(c, this.clonePosition());
@@ -3360,8 +3339,8 @@ var ei = (
3360
3339
  if (m.err)
3361
3340
  return m;
3362
3341
  var d = v(i, this.clonePosition());
3363
- if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3364
- var _ = Jn(u.style.slice(2));
3342
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3343
+ var _ = Qn(u.style.slice(2));
3365
3344
  if (a === "number") {
3366
3345
  var h = this.parseNumberSkeletonFromString(_, u.styleLocation);
3367
3346
  return h.err ? h : {
@@ -3372,12 +3351,12 @@ var ei = (
3372
3351
  if (_.length === 0)
3373
3352
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3374
3353
  var P = _;
3375
- this.locale && (P = Un(_, this.locale));
3354
+ this.locale && (P = Rn(_, this.locale));
3376
3355
  var f = {
3377
- type: Y.dateTime,
3356
+ type: J.dateTime,
3378
3357
  pattern: P,
3379
3358
  location: u.styleLocation,
3380
- parsedOptions: this.shouldParseSkeletons ? On(P) : {}
3359
+ parsedOptions: this.shouldParseSkeletons ? Mn(P) : {}
3381
3360
  }, T = a === "date" ? w.date : w.time;
3382
3361
  return {
3383
3362
  val: { type: T, value: n, location: d, style: f },
@@ -3398,23 +3377,23 @@ var ei = (
3398
3377
  case "plural":
3399
3378
  case "selectordinal":
3400
3379
  case "select": {
3401
- var y = this.clonePosition();
3380
+ var x = this.clonePosition();
3402
3381
  if (this.bumpSpace(), !this.bumpIf(","))
3403
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(y, ye({}, y)));
3382
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, y({}, x)));
3404
3383
  this.bumpSpace();
3405
- var C = this.parseIdentifierIfPossible(), E = 0;
3406
- if (a !== "select" && C.value === "offset") {
3384
+ var A = this.parseIdentifierIfPossible(), C = 0;
3385
+ if (a !== "select" && A.value === "offset") {
3407
3386
  if (!this.bumpIf(":"))
3408
3387
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3409
3388
  this.bumpSpace();
3410
3389
  var h = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3411
3390
  if (h.err)
3412
3391
  return h;
3413
- this.bumpSpace(), C = this.parseIdentifierIfPossible(), E = h.val;
3392
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), C = h.val;
3414
3393
  }
3415
- var H = this.tryParsePluralOrSelectOptions(t, a, r, C);
3416
- if (H.err)
3417
- return H;
3394
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, A);
3395
+ if (B.err)
3396
+ return B;
3418
3397
  var m = this.tryParseArgumentClose(i);
3419
3398
  if (m.err)
3420
3399
  return m;
@@ -3423,7 +3402,7 @@ var ei = (
3423
3402
  val: {
3424
3403
  type: w.select,
3425
3404
  value: n,
3426
- options: Ct(H.val),
3405
+ options: _t(B.val),
3427
3406
  location: he
3428
3407
  },
3429
3408
  err: null
@@ -3431,8 +3410,8 @@ var ei = (
3431
3410
  val: {
3432
3411
  type: w.plural,
3433
3412
  value: n,
3434
- options: Ct(H.val),
3435
- offset: E,
3413
+ options: _t(B.val),
3414
+ offset: C,
3436
3415
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3437
3416
  location: he
3438
3417
  },
@@ -3482,16 +3461,16 @@ var ei = (
3482
3461
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3483
3462
  var n = [];
3484
3463
  try {
3485
- n = Nn(t);
3464
+ n = On(t);
3486
3465
  } catch (i) {
3487
3466
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3488
3467
  }
3489
3468
  return {
3490
3469
  val: {
3491
- type: Y.number,
3470
+ type: J.number,
3492
3471
  tokens: n,
3493
3472
  location: r,
3494
- parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
3473
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3495
3474
  },
3496
3475
  err: null
3497
3476
  };
@@ -3539,7 +3518,7 @@ var ei = (
3539
3518
  break;
3540
3519
  }
3541
3520
  var l = v(i, this.clonePosition());
3542
- return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3521
+ return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3543
3522
  }, e.prototype.offset = function() {
3544
3523
  return this.position.offset;
3545
3524
  }, e.prototype.isEOF = function() {
@@ -3554,7 +3533,7 @@ var ei = (
3554
3533
  var t = this.position.offset;
3555
3534
  if (t >= this.message.length)
3556
3535
  throw Error("out of bound");
3557
- var r = ir(this.message, t);
3536
+ var r = nr(this.message, t);
3558
3537
  if (r === void 0)
3559
3538
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3560
3539
  return r;
@@ -3573,7 +3552,7 @@ var ei = (
3573
3552
  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);
3574
3553
  }
3575
3554
  }, e.prototype.bumpIf = function(t) {
3576
- if (wt(this.message, t, this.offset())) {
3555
+ if (Et(this.message, t, this.offset())) {
3577
3556
  for (var r = 0; r < t.length; r++)
3578
3557
  this.bump();
3579
3558
  return !0;
@@ -3595,7 +3574,7 @@ var ei = (
3595
3574
  break;
3596
3575
  }
3597
3576
  }, e.prototype.bumpSpace = function() {
3598
- for (; !this.isEOF() && sr(this.char()); )
3577
+ for (; !this.isEOF() && or(this.char()); )
3599
3578
  this.bump();
3600
3579
  }, e.prototype.peek = function() {
3601
3580
  if (this.isEOF())
@@ -3605,47 +3584,47 @@ var ei = (
3605
3584
  }, e;
3606
3585
  }()
3607
3586
  );
3608
- function Ye(e) {
3587
+ function Xe(e) {
3609
3588
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3610
3589
  }
3611
- function ti(e) {
3612
- return Ye(e) || e === 47;
3590
+ function Kn(e) {
3591
+ return Xe(e) || e === 47;
3613
3592
  }
3614
- function ri(e) {
3593
+ function ei(e) {
3615
3594
  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;
3616
3595
  }
3617
- function sr(e) {
3596
+ function or(e) {
3618
3597
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3619
3598
  }
3620
- function ni(e) {
3599
+ function ti(e) {
3621
3600
  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;
3622
3601
  }
3623
- function Je(e) {
3602
+ function Ze(e) {
3624
3603
  e.forEach(function(t) {
3625
- if (delete t.location, Qt(t) || Yt(t))
3604
+ if (delete t.location, qt(t) || Qt(t))
3626
3605
  for (var r in t.options)
3627
- delete t.options[r].location, Je(t.options[r].value);
3606
+ delete t.options[r].location, Ze(t.options[r].value);
3628
3607
  else
3629
- Xt(t) && Kt(t.style) || (Zt(t) || qt(t)) && Xe(t.style) ? delete t.style.location : Jt(t) && Je(t.children);
3608
+ Vt(t) && Jt(t.style) || (Xt(t) || Zt(t)) && ke(t.style) ? delete t.style.location : Yt(t) && Ze(t.children);
3630
3609
  });
3631
3610
  }
3632
- function ii(e, t) {
3633
- t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3634
- var r = new ei(e, t).parse();
3611
+ function ri(e, t) {
3612
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3613
+ var r = new Jn(e, t).parse();
3635
3614
  if (r.err) {
3636
3615
  var n = SyntaxError(b[r.err.kind]);
3637
3616
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3638
3617
  }
3639
- return t != null && t.captureLocation || Je(r.val), r.val;
3618
+ return t != null && t.captureLocation || Ze(r.val), r.val;
3640
3619
  }
3641
- var J;
3620
+ var K;
3642
3621
  (function(e) {
3643
3622
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3644
- })(J || (J = {}));
3645
- var Ae = (
3623
+ })(K || (K = {}));
3624
+ var Ce = (
3646
3625
  /** @class */
3647
3626
  function(e) {
3648
- Ce(t, e);
3627
+ L(t, e);
3649
3628
  function t(r, n, i) {
3650
3629
  var o = e.call(this, r) || this;
3651
3630
  return o.code = n, o.originalMessage = i, o;
@@ -3654,48 +3633,48 @@ var Ae = (
3654
3633
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3655
3634
  }, t;
3656
3635
  }(Error)
3657
- ), St = (
3636
+ ), wt = (
3658
3637
  /** @class */
3659
3638
  function(e) {
3660
- Ce(t, e);
3639
+ L(t, e);
3661
3640
  function t(r, n, i, o) {
3662
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3641
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3663
3642
  }
3664
3643
  return t;
3665
- }(Ae)
3666
- ), oi = (
3644
+ }(Ce)
3645
+ ), ni = (
3667
3646
  /** @class */
3668
3647
  function(e) {
3669
- Ce(t, e);
3648
+ L(t, e);
3670
3649
  function t(r, n, i) {
3671
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3650
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3672
3651
  }
3673
3652
  return t;
3674
- }(Ae)
3675
- ), si = (
3653
+ }(Ce)
3654
+ ), ii = (
3676
3655
  /** @class */
3677
3656
  function(e) {
3678
- Ce(t, e);
3657
+ L(t, e);
3679
3658
  function t(r, n) {
3680
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3659
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3681
3660
  }
3682
3661
  return t;
3683
- }(Ae)
3662
+ }(Ce)
3684
3663
  ), M;
3685
3664
  (function(e) {
3686
3665
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3687
3666
  })(M || (M = {}));
3688
- function ai(e) {
3667
+ function oi(e) {
3689
3668
  return e.length < 2 ? e : e.reduce(function(t, r) {
3690
3669
  var n = t[t.length - 1];
3691
3670
  return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3692
3671
  }, []);
3693
3672
  }
3694
- function ui(e) {
3673
+ function si(e) {
3695
3674
  return typeof e == "function";
3696
3675
  }
3697
3676
  function be(e, t, r, n, i, o, s) {
3698
- if (e.length === 1 && yt(e[0]))
3677
+ if (e.length === 1 && vt(e[0]))
3699
3678
  return [
3700
3679
  {
3701
3680
  type: M.literal,
@@ -3704,14 +3683,14 @@ function be(e, t, r, n, i, o, s) {
3704
3683
  ];
3705
3684
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3706
3685
  var c = u[l];
3707
- if (yt(c)) {
3686
+ if (vt(c)) {
3708
3687
  a.push({
3709
3688
  type: M.literal,
3710
3689
  value: c.value
3711
3690
  });
3712
3691
  continue;
3713
3692
  }
3714
- if (Mn(c)) {
3693
+ if (Hn(c)) {
3715
3694
  typeof o == "number" && a.push({
3716
3695
  type: M.literal,
3717
3696
  value: r.getNumberFormat(t).format(o)
@@ -3720,89 +3699,89 @@ function be(e, t, r, n, i, o, s) {
3720
3699
  }
3721
3700
  var h = c.value;
3722
3701
  if (!(i && h in i))
3723
- throw new si(h, s);
3702
+ throw new ii(h, s);
3724
3703
  var f = i[h];
3725
- if (Hn(c)) {
3704
+ if (Tn(c)) {
3726
3705
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3727
3706
  type: typeof f == "string" ? M.literal : M.object,
3728
3707
  value: f
3729
3708
  });
3730
3709
  continue;
3731
3710
  }
3732
- if (Zt(c)) {
3733
- var p = typeof c.style == "string" ? n.date[c.style] : Xe(c.style) ? c.style.parsedOptions : void 0;
3711
+ if (Xt(c)) {
3712
+ var p = typeof c.style == "string" ? n.date[c.style] : ke(c.style) ? c.style.parsedOptions : void 0;
3734
3713
  a.push({
3735
3714
  type: M.literal,
3736
3715
  value: r.getDateTimeFormat(t, p).format(f)
3737
3716
  });
3738
3717
  continue;
3739
3718
  }
3740
- if (qt(c)) {
3741
- var p = typeof c.style == "string" ? n.time[c.style] : Xe(c.style) ? c.style.parsedOptions : n.time.medium;
3719
+ if (Zt(c)) {
3720
+ var p = typeof c.style == "string" ? n.time[c.style] : ke(c.style) ? c.style.parsedOptions : n.time.medium;
3742
3721
  a.push({
3743
3722
  type: M.literal,
3744
3723
  value: r.getDateTimeFormat(t, p).format(f)
3745
3724
  });
3746
3725
  continue;
3747
3726
  }
3748
- if (Xt(c)) {
3749
- var p = typeof c.style == "string" ? n.number[c.style] : Kt(c.style) ? c.style.parsedOptions : void 0;
3727
+ if (Vt(c)) {
3728
+ var p = typeof c.style == "string" ? n.number[c.style] : Jt(c.style) ? c.style.parsedOptions : void 0;
3750
3729
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3751
3730
  type: M.literal,
3752
3731
  value: r.getNumberFormat(t, p).format(f)
3753
3732
  });
3754
3733
  continue;
3755
3734
  }
3756
- if (Jt(c)) {
3735
+ if (Yt(c)) {
3757
3736
  var m = c.children, d = c.value, _ = i[d];
3758
- if (!ui(_))
3759
- throw new oi(d, "function", s);
3760
- var P = be(m, t, r, n, i, o), T = _(P.map(function(E) {
3761
- return E.value;
3737
+ if (!si(_))
3738
+ throw new ni(d, "function", s);
3739
+ var P = be(m, t, r, n, i, o), T = _(P.map(function(C) {
3740
+ return C.value;
3762
3741
  }));
3763
- Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(E) {
3742
+ Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(C) {
3764
3743
  return {
3765
- type: typeof E == "string" ? M.literal : M.object,
3766
- value: E
3744
+ type: typeof C == "string" ? M.literal : M.object,
3745
+ value: C
3767
3746
  };
3768
3747
  }));
3769
3748
  }
3770
- if (Qt(c)) {
3771
- var y = c.options[f] || c.options.other;
3772
- if (!y)
3773
- throw new St(c.value, f, Object.keys(c.options), s);
3774
- a.push.apply(a, be(y.value, t, r, n, i));
3749
+ if (qt(c)) {
3750
+ var x = c.options[f] || c.options.other;
3751
+ if (!x)
3752
+ throw new wt(c.value, f, Object.keys(c.options), s);
3753
+ a.push.apply(a, be(x.value, t, r, n, i));
3775
3754
  continue;
3776
3755
  }
3777
- if (Yt(c)) {
3778
- var y = c.options["=".concat(f)];
3779
- if (!y) {
3756
+ if (Qt(c)) {
3757
+ var x = c.options["=".concat(f)];
3758
+ if (!x) {
3780
3759
  if (!Intl.PluralRules)
3781
- throw new Ae(`Intl.PluralRules is not available in this environment.
3760
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3782
3761
  Try polyfilling it using "@formatjs/intl-pluralrules"
3783
- `, J.MISSING_INTL_API, s);
3784
- var C = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3785
- y = c.options[C] || c.options.other;
3762
+ `, K.MISSING_INTL_API, s);
3763
+ var A = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3764
+ x = c.options[A] || c.options.other;
3786
3765
  }
3787
- if (!y)
3788
- throw new St(c.value, f, Object.keys(c.options), s);
3789
- a.push.apply(a, be(y.value, t, r, n, i, f - (c.offset || 0)));
3766
+ if (!x)
3767
+ throw new wt(c.value, f, Object.keys(c.options), s);
3768
+ a.push.apply(a, be(x.value, t, r, n, i, f - (c.offset || 0)));
3790
3769
  continue;
3791
3770
  }
3792
3771
  }
3793
- return ai(a);
3772
+ return oi(a);
3794
3773
  }
3795
- function li(e, t) {
3796
- return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3797
- return r[n] = N(N({}, e[n]), t[n] || {}), r;
3774
+ function ai(e, t) {
3775
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3776
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3798
3777
  }, {})) : e;
3799
3778
  }
3800
- function ci(e, t) {
3779
+ function ui(e, t) {
3801
3780
  return t ? Object.keys(e).reduce(function(r, n) {
3802
- return r[n] = li(e[n], t[n]), r;
3803
- }, N({}, e)) : e;
3781
+ return r[n] = ai(e[n], t[n]), r;
3782
+ }, y({}, e)) : e;
3804
3783
  }
3805
- function Le(e) {
3784
+ function Ie(e) {
3806
3785
  return {
3807
3786
  create: function() {
3808
3787
  return {
@@ -3816,39 +3795,39 @@ function Le(e) {
3816
3795
  }
3817
3796
  };
3818
3797
  }
3819
- function hi(e) {
3798
+ function li(e) {
3820
3799
  return e === void 0 && (e = {
3821
3800
  number: {},
3822
3801
  dateTime: {},
3823
3802
  pluralRules: {}
3824
3803
  }), {
3825
- getNumberFormat: Oe(function() {
3804
+ getNumberFormat: Me(function() {
3826
3805
  for (var t, r = [], n = 0; n < arguments.length; n++)
3827
3806
  r[n] = arguments[n];
3828
- return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3807
+ return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3829
3808
  }, {
3830
- cache: Le(e.number),
3831
- strategy: Ie.variadic
3809
+ cache: Ie(e.number),
3810
+ strategy: Pe.variadic
3832
3811
  }),
3833
- getDateTimeFormat: Oe(function() {
3812
+ getDateTimeFormat: Me(function() {
3834
3813
  for (var t, r = [], n = 0; n < arguments.length; n++)
3835
3814
  r[n] = arguments[n];
3836
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3815
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3837
3816
  }, {
3838
- cache: Le(e.dateTime),
3839
- strategy: Ie.variadic
3817
+ cache: Ie(e.dateTime),
3818
+ strategy: Pe.variadic
3840
3819
  }),
3841
- getPluralRules: Oe(function() {
3820
+ getPluralRules: Me(function() {
3842
3821
  for (var t, r = [], n = 0; n < arguments.length; n++)
3843
3822
  r[n] = arguments[n];
3844
- return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3823
+ return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3845
3824
  }, {
3846
- cache: Le(e.pluralRules),
3847
- strategy: Ie.variadic
3825
+ cache: Ie(e.pluralRules),
3826
+ strategy: Pe.variadic
3848
3827
  })
3849
3828
  };
3850
3829
  }
3851
- var fi = (
3830
+ var ci = (
3852
3831
  /** @class */
3853
3832
  function() {
3854
3833
  function e(t, r, n, i) {
@@ -3880,13 +3859,13 @@ var fi = (
3880
3859
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3881
3860
  var s = i || {};
3882
3861
  s.formatters;
3883
- var a = _n(s, ["formatters"]);
3884
- this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3862
+ var a = jr(s, ["formatters"]);
3863
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3885
3864
  } else
3886
3865
  this.ast = t;
3887
3866
  if (!Array.isArray(this.ast))
3888
3867
  throw new TypeError("A message must be provided as a String or AST.");
3889
- this.formats = ci(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3868
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3890
3869
  }
3891
3870
  return Object.defineProperty(e, "defaultLocale", {
3892
3871
  get: function() {
@@ -3899,7 +3878,7 @@ var fi = (
3899
3878
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3900
3879
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3901
3880
  }
3902
- }, e.__parse = ii, e.formats = {
3881
+ }, e.__parse = ri, e.formats = {
3903
3882
  number: {
3904
3883
  integer: {
3905
3884
  maximumFractionDigits: 0
@@ -3960,7 +3939,7 @@ var fi = (
3960
3939
  }, e;
3961
3940
  }()
3962
3941
  );
3963
- function pi(e, t) {
3942
+ function hi(e, t) {
3964
3943
  if (t == null)
3965
3944
  return;
3966
3945
  if (t in e)
@@ -3981,92 +3960,92 @@ function pi(e, t) {
3981
3960
  n = void 0;
3982
3961
  return n;
3983
3962
  }
3984
- const $ = {}, di = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), ar = (e, t) => {
3963
+ const $ = {}, fi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), sr = (e, t) => {
3985
3964
  if (t == null)
3986
3965
  return;
3987
3966
  if (t in $ && e in $[t])
3988
3967
  return $[t][e];
3989
- const r = Se(t);
3968
+ const r = we(t);
3990
3969
  for (let n = 0; n < r.length; n++) {
3991
- const i = r[n], o = bi(i, e);
3970
+ const i = r[n], o = di(i, e);
3992
3971
  if (o)
3993
- return di(e, t, o);
3972
+ return fi(e, t, o);
3994
3973
  }
3995
3974
  };
3996
- let rt;
3997
- const ce = we({});
3998
- function mi(e) {
3999
- return rt[e] || null;
3975
+ let et;
3976
+ const ce = _e({});
3977
+ function pi(e) {
3978
+ return et[e] || null;
4000
3979
  }
4001
- function ur(e) {
4002
- return e in rt;
3980
+ function ar(e) {
3981
+ return e in et;
4003
3982
  }
4004
- function bi(e, t) {
4005
- if (!ur(e))
3983
+ function di(e, t) {
3984
+ if (!ar(e))
4006
3985
  return null;
4007
- const r = mi(e);
4008
- return pi(r, t);
3986
+ const r = pi(e);
3987
+ return hi(r, t);
4009
3988
  }
4010
- function vi(e) {
3989
+ function mi(e) {
4011
3990
  if (e == null)
4012
3991
  return;
4013
- const t = Se(e);
3992
+ const t = we(e);
4014
3993
  for (let r = 0; r < t.length; r++) {
4015
3994
  const n = t[r];
4016
- if (ur(n))
3995
+ if (ar(n))
4017
3996
  return n;
4018
3997
  }
4019
3998
  }
4020
- function lr(e, ...t) {
3999
+ function ur(e, ...t) {
4021
4000
  delete $[e], ce.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
4022
4001
  }
4023
- te(
4002
+ re(
4024
4003
  [ce],
4025
4004
  ([e]) => Object.keys(e)
4026
4005
  );
4027
- ce.subscribe((e) => rt = e);
4006
+ ce.subscribe((e) => et = e);
4028
4007
  const ve = {};
4029
- function gi(e, t) {
4008
+ function bi(e, t) {
4030
4009
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4031
4010
  }
4032
- function cr(e) {
4011
+ function lr(e) {
4033
4012
  return ve[e];
4034
4013
  }
4035
- function yi(e) {
4036
- return Se(e).map((t) => {
4037
- const r = cr(t);
4014
+ function vi(e) {
4015
+ return we(e).map((t) => {
4016
+ const r = lr(t);
4038
4017
  return [t, r ? [...r] : []];
4039
4018
  }).filter(([, t]) => t.length > 0);
4040
4019
  }
4041
- function Ke(e) {
4042
- return e == null ? !1 : Se(e).some(
4020
+ function qe(e) {
4021
+ return e == null ? !1 : we(e).some(
4043
4022
  (t) => {
4044
4023
  var r;
4045
- return (r = cr(t)) == null ? void 0 : r.size;
4024
+ return (r = lr(t)) == null ? void 0 : r.size;
4046
4025
  }
4047
4026
  );
4048
4027
  }
4049
- function xi(e, t) {
4028
+ function gi(e, t) {
4050
4029
  return Promise.all(
4051
- t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4052
- ).then((n) => lr(e, ...n));
4053
- }
4054
- const ie = {};
4055
- function hr(e) {
4056
- if (!Ke(e))
4057
- return e in ie ? ie[e] : Promise.resolve();
4058
- const t = yi(e);
4059
- return ie[e] = Promise.all(
4030
+ t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4031
+ ).then((n) => ur(e, ...n));
4032
+ }
4033
+ const oe = {};
4034
+ function cr(e) {
4035
+ if (!qe(e))
4036
+ return e in oe ? oe[e] : Promise.resolve();
4037
+ const t = vi(e);
4038
+ return oe[e] = Promise.all(
4060
4039
  t.map(
4061
- ([r, n]) => xi(r, n)
4040
+ ([r, n]) => gi(r, n)
4062
4041
  )
4063
4042
  ).then(() => {
4064
- if (Ke(e))
4065
- return hr(e);
4066
- delete ie[e];
4067
- }), ie[e];
4043
+ if (qe(e))
4044
+ return cr(e);
4045
+ delete oe[e];
4046
+ }), oe[e];
4068
4047
  }
4069
- const _i = {
4048
+ const yi = {
4070
4049
  number: {
4071
4050
  scientific: { notation: "scientific" },
4072
4051
  engineering: { notation: "engineering" },
@@ -4095,135 +4074,135 @@ const _i = {
4095
4074
  timeZoneName: "short"
4096
4075
  }
4097
4076
  }
4098
- }, Ei = {
4077
+ }, xi = {
4099
4078
  fallbackLocale: null,
4100
4079
  loadingDelay: 200,
4101
- formats: _i,
4080
+ formats: yi,
4102
4081
  warnOnMissingMessages: !0,
4103
4082
  handleMissingMessage: void 0,
4104
4083
  ignoreTag: !0
4105
- }, wi = Ei;
4106
- function K() {
4107
- return wi;
4084
+ }, Ei = xi;
4085
+ function ee() {
4086
+ return Ei;
4108
4087
  }
4109
- const $e = we(!1);
4110
- var Ci = Object.defineProperty, Ai = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4088
+ const Ne = _e(!1);
4089
+ var _i = Object.defineProperty, Ci = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4111
4090
  for (var r in t || (t = {}))
4112
- Ti.call(t, r) && Bt(e, r, t[r]);
4113
- if (Tt)
4114
- for (var r of Tt(t))
4115
- Bi.call(t, r) && Bt(e, r, t[r]);
4091
+ Ai.call(t, r) && St(e, r, t[r]);
4092
+ if (At)
4093
+ for (var r of At(t))
4094
+ Si.call(t, r) && St(e, r, t[r]);
4116
4095
  return e;
4117
- }, Mi = (e, t) => Ai(e, Si(t));
4118
- let et;
4119
- const xe = we(null);
4120
- function Ht(e) {
4096
+ }, Hi = (e, t) => Ci(e, wi(t));
4097
+ let Qe;
4098
+ const ye = _e(null);
4099
+ function Tt(e) {
4121
4100
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4122
4101
  }
4123
- function Se(e, t = K().fallbackLocale) {
4124
- const r = Ht(e);
4125
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4102
+ function we(e, t = ee().fallbackLocale) {
4103
+ const r = Tt(e);
4104
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4126
4105
  }
4127
4106
  function j() {
4128
- return et != null ? et : void 0;
4107
+ return Qe != null ? Qe : void 0;
4129
4108
  }
4130
- xe.subscribe((e) => {
4131
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4109
+ ye.subscribe((e) => {
4110
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4132
4111
  });
4133
- const Pi = (e) => {
4134
- if (e && vi(e) && Ke(e)) {
4135
- const { loadingDelay: t } = K();
4112
+ const Bi = (e) => {
4113
+ if (e && mi(e) && qe(e)) {
4114
+ const { loadingDelay: t } = ee();
4136
4115
  let r;
4137
4116
  return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
4138
- () => $e.set(!0),
4117
+ () => Ne.set(!0),
4139
4118
  t
4140
- ) : $e.set(!0), hr(e).then(() => {
4141
- xe.set(e);
4119
+ ) : Ne.set(!0), cr(e).then(() => {
4120
+ ye.set(e);
4142
4121
  }).finally(() => {
4143
- clearTimeout(r), $e.set(!1);
4122
+ clearTimeout(r), Ne.set(!1);
4144
4123
  });
4145
4124
  }
4146
- return xe.set(e);
4147
- }, re = Mi(Hi({}, xe), {
4148
- set: Pi
4149
- }), Te = (e) => {
4125
+ return ye.set(e);
4126
+ }, ne = Hi(Ti({}, ye), {
4127
+ set: Bi
4128
+ }), Ae = (e) => {
4150
4129
  const t = /* @__PURE__ */ Object.create(null);
4151
4130
  return (n) => {
4152
4131
  const i = JSON.stringify(n);
4153
4132
  return i in t ? t[i] : t[i] = e(n);
4154
4133
  };
4155
4134
  };
4156
- var Oi = Object.defineProperty, _e = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4135
+ var Mi = Object.defineProperty, xe = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4157
4136
  for (var r in t || (t = {}))
4158
- fr.call(t, r) && Mt(e, r, t[r]);
4159
- if (_e)
4160
- for (var r of _e(t))
4161
- pr.call(t, r) && Mt(e, r, t[r]);
4137
+ hr.call(t, r) && Ht(e, r, t[r]);
4138
+ if (xe)
4139
+ for (var r of xe(t))
4140
+ fr.call(t, r) && Ht(e, r, t[r]);
4162
4141
  return e;
4163
- }, ne = (e, t) => {
4142
+ }, ie = (e, t) => {
4164
4143
  var r = {};
4165
4144
  for (var n in e)
4166
- fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4167
- if (e != null && _e)
4168
- for (var n of _e(e))
4169
- t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
4145
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4146
+ if (e != null && xe)
4147
+ for (var n of xe(e))
4148
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4170
4149
  return r;
4171
4150
  };
4172
- const ue = (e, t) => {
4173
- const { formats: r } = K();
4151
+ const le = (e, t) => {
4152
+ const { formats: r } = ee();
4174
4153
  if (e in r && t in r[e])
4175
4154
  return r[e][t];
4176
4155
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4177
- }, Ii = Te(
4156
+ }, Pi = Ae(
4178
4157
  (e) => {
4179
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4158
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4180
4159
  if (r == null)
4181
4160
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4182
- return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4161
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4183
4162
  }
4184
- ), Ni = Te(
4163
+ ), Oi = Ae(
4185
4164
  (e) => {
4186
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4165
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4187
4166
  if (r == null)
4188
4167
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4189
- return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4168
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4190
4169
  }
4191
- ), Li = Te(
4170
+ ), Ii = Ae(
4192
4171
  (e) => {
4193
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
4172
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4194
4173
  if (r == null)
4195
4174
  throw new Error(
4196
4175
  '[svelte-i18n] A "locale" must be set to format time values'
4197
4176
  );
4198
- return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4177
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4199
4178
  }
4200
- ), $i = (e = {}) => {
4179
+ ), Ni = (e = {}) => {
4201
4180
  var t = e, {
4202
4181
  locale: r = j()
4203
- } = t, n = ne(t, [
4182
+ } = t, n = ie(t, [
4204
4183
  "locale"
4205
4184
  ]);
4206
- return Ii(nt({ locale: r }, n));
4207
- }, Ri = (e = {}) => {
4185
+ return Pi(tt({ locale: r }, n));
4186
+ }, Li = (e = {}) => {
4208
4187
  var t = e, {
4209
4188
  locale: r = j()
4210
- } = t, n = ne(t, [
4189
+ } = t, n = ie(t, [
4211
4190
  "locale"
4212
4191
  ]);
4213
- return Ni(nt({ locale: r }, n));
4214
- }, Di = (e = {}) => {
4192
+ return Oi(tt({ locale: r }, n));
4193
+ }, $i = (e = {}) => {
4215
4194
  var t = e, {
4216
4195
  locale: r = j()
4217
- } = t, n = ne(t, [
4196
+ } = t, n = ie(t, [
4218
4197
  "locale"
4219
4198
  ]);
4220
- return Li(nt({ locale: r }, n));
4221
- }, Ui = Te(
4199
+ return Ii(tt({ locale: r }, n));
4200
+ }, Ri = Ae(
4222
4201
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4223
- (e, t = j()) => new fi(e, t, K().formats, {
4224
- ignoreTag: K().ignoreTag
4202
+ (e, t = j()) => new ci(e, t, ee().formats, {
4203
+ ignoreTag: ee().ignoreTag
4225
4204
  })
4226
- ), Fi = (e, t = {}) => {
4205
+ ), Di = (e, t = {}) => {
4227
4206
  var r, n, i, o;
4228
4207
  let s = t;
4229
4208
  typeof e == "object" && (s = e, e = s.id);
@@ -4236,9 +4215,9 @@ const ue = (e, t) => {
4236
4215
  throw new Error(
4237
4216
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4238
4217
  );
4239
- let c = ar(e, l);
4218
+ let c = sr(e, l);
4240
4219
  if (!c)
4241
- c = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4220
+ c = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4242
4221
  else if (typeof c != "string")
4243
4222
  return console.warn(
4244
4223
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4247,7 +4226,7 @@ const ue = (e, t) => {
4247
4226
  return c;
4248
4227
  let h = c;
4249
4228
  try {
4250
- h = Ui(c, l).format(a);
4229
+ h = Ri(c, l).format(a);
4251
4230
  } catch (f) {
4252
4231
  f instanceof Error && console.warn(
4253
4232
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4255,20 +4234,20 @@ const ue = (e, t) => {
4255
4234
  );
4256
4235
  }
4257
4236
  return h;
4258
- }, Gi = (e, t) => Di(t).format(e), ji = (e, t) => Ri(t).format(e), ki = (e, t) => $i(t).format(e), Wi = (e, t = j()) => ar(e, t), zi = te([re, ce], () => Fi);
4259
- te([re], () => Gi);
4260
- te([re], () => ji);
4261
- te([re], () => ki);
4262
- te([re, ce], () => Wi);
4237
+ }, Ui = (e, t) => $i(t).format(e), Fi = (e, t) => Li(t).format(e), Gi = (e, t) => Ni(t).format(e), ji = (e, t = j()) => sr(e, t), ki = re([ne, ce], () => Di);
4238
+ re([ne], () => Ui);
4239
+ re([ne], () => Fi);
4240
+ re([ne], () => Gi);
4241
+ re([ne, ce], () => ji);
4263
4242
  window.emWidgets = { topic: rn };
4264
- const Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4265
- function Pt(e, t) {
4266
- lr(e, t);
4243
+ const zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4244
+ function Bt(e, t) {
4245
+ ur(e, t);
4267
4246
  }
4268
- function Xi(e) {
4269
- re.set(e);
4247
+ function Wi(e) {
4248
+ ne.set(e);
4270
4249
  }
4271
- const Ot = {
4250
+ const Mt = {
4272
4251
  en: {
4273
4252
  titleAccountClosure: "Account Closure",
4274
4253
  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.",
@@ -4358,13 +4337,13 @@ const Ot = {
4358
4337
  accountClosureConfirm: "Yes"
4359
4338
  }
4360
4339
  };
4361
- function Zi(e, t) {
4340
+ function Vi(e, t) {
4362
4341
  if (e) {
4363
4342
  const r = document.createElement("style");
4364
4343
  r.innerHTML = t, e.appendChild(r);
4365
4344
  }
4366
4345
  }
4367
- function qi(e, t) {
4346
+ function Xi(e, t) {
4368
4347
  const r = new URL(t);
4369
4348
  fetch(r.href).then((n) => n.text()).then((n) => {
4370
4349
  const i = document.createElement("style");
@@ -4373,7 +4352,7 @@ function qi(e, t) {
4373
4352
  console.error("There was an error while trying to load client styling from URL", n);
4374
4353
  });
4375
4354
  }
4376
- function Qi(e, t, r) {
4355
+ function Zi(e, t, r) {
4377
4356
  if (window.emMessageBus) {
4378
4357
  const n = document.createElement("style");
4379
4358
  window.emMessageBus.subscribe(t, (i) => {
@@ -4381,21 +4360,21 @@ function Qi(e, t, r) {
4381
4360
  });
4382
4361
  }
4383
4362
  }
4384
- function Yi(e) {
4385
- _r(e, "svelte-1oeuewt", '.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
4363
+ function qi(e) {
4364
+ xr(e, "svelte-1oeuewt", '.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
4386
4365
  }
4387
- function Ji(e, t, r) {
4366
+ function Qi(e, t, r) {
4388
4367
  const n = e.slice();
4389
4368
  return n[22] = t[r], n;
4390
4369
  }
4391
- function Ki(e) {
4370
+ function Yi(e) {
4392
4371
  let t, r, n, i, o, s, a, l, u, c, h = (
4393
4372
  /*$_*/
4394
4373
  e[3]("titleAccountClosure") + ""
4395
4374
  ), f, p, m;
4396
4375
  return {
4397
4376
  c() {
4398
- t = B("div"), r = W("svg"), n = W("defs"), i = W("style"), o = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = W("g"), a = W("g"), l = W("path"), u = F(), c = B("h2"), f = R(h), x(l, "class", "aaa"), x(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(l, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(c, "class", "AccountClosureTitleMobile"), x(c, "part", "AccountClosureTitleMobile"), x(t, "class", "MenuReturnButton"), x(t, "part", "MenuReturnButton");
4377
+ t = H("div"), r = z("svg"), n = z("defs"), i = z("style"), o = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = z("g"), a = z("g"), l = z("path"), u = F(), c = H("h2"), f = R(h), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(c, "class", "AccountClosureTitleMobile"), E(c, "part", "AccountClosureTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
4399
4378
  },
4400
4379
  m(d, _) {
4401
4380
  G(d, t, _), g(t, r), g(r, n), g(n, i), g(i, o), g(r, s), g(s, a), g(a, l), g(t, u), g(t, c), g(c, f), p || (m = ge(
@@ -4415,14 +4394,14 @@ function Ki(e) {
4415
4394
  }
4416
4395
  };
4417
4396
  }
4418
- function eo(e) {
4397
+ function Ji(e) {
4419
4398
  let t, r, n = (
4420
4399
  /*$_*/
4421
4400
  e[3]("accountClosureDescription") + ""
4422
4401
  );
4423
4402
  return {
4424
4403
  c() {
4425
- t = B("div"), r = B("p"), x(t, "class", "AccountClosureDescription " + /*isMobile*/
4404
+ t = H("div"), r = H("p"), E(t, "class", "AccountClosureDescription " + /*isMobile*/
4426
4405
  (e[4] ? "AccountClosureDescriptionMobile" : ""));
4427
4406
  },
4428
4407
  m(i, o) {
@@ -4438,16 +4417,16 @@ function eo(e) {
4438
4417
  }
4439
4418
  };
4440
4419
  }
4441
- function to(e) {
4442
- let t, r, n = Lr({ length: 4 }), i = [];
4420
+ function Ki(e) {
4421
+ let t, r, n = Nr({ length: 4 }), i = [];
4443
4422
  for (let o = 0; o < n.length; o += 1)
4444
- i[o] = ro(Ji(e, n, o));
4423
+ i[o] = eo(Qi(e, n, o));
4445
4424
  return {
4446
4425
  c() {
4447
- t = B("div"), r = B("div");
4426
+ t = H("div"), r = H("div");
4448
4427
  for (let o = 0; o < i.length; o += 1)
4449
4428
  i[o].c();
4450
- x(r, "class", "skeletonWrapper"), x(t, "class", "skeletonContainerClosure");
4429
+ E(r, "class", "skeletonWrapper"), E(t, "class", "skeletonContainerClosure");
4451
4430
  },
4452
4431
  m(o, s) {
4453
4432
  G(o, t, s), g(t, r);
@@ -4460,11 +4439,11 @@ function to(e) {
4460
4439
  }
4461
4440
  };
4462
4441
  }
4463
- function ro(e) {
4442
+ function eo(e) {
4464
4443
  let t;
4465
4444
  return {
4466
4445
  c() {
4467
- t = B("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ', x(t, "class", "skeletonNotification");
4446
+ t = H("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ', E(t, "class", "skeletonNotification");
4468
4447
  },
4469
4448
  m(r, n) {
4470
4449
  G(r, t, n);
@@ -4475,7 +4454,7 @@ function ro(e) {
4475
4454
  }
4476
4455
  };
4477
4456
  }
4478
- function It(e) {
4457
+ function Pt(e) {
4479
4458
  let t, r, n, i, o = (
4480
4459
  /*$_*/
4481
4460
  e[3]("modal") + ""
@@ -4488,11 +4467,11 @@ function It(e) {
4488
4467
  ), d, _, P;
4489
4468
  return {
4490
4469
  c() {
4491
- t = B("div"), r = B("div"), n = B("div"), i = B("p"), s = R(o), a = F(), l = B("div"), u = B("button"), h = R(c), f = F(), p = B("button"), d = R(m), x(i, "class", "ModalText"), x(u, "class", "ModalCancel"), x(p, "class", "ModalConfirm"), x(l, "class", "ModalButtons"), x(n, "class", "ModalBody"), x(r, "class", "ModalContent"), x(t, "class", "ModalWrapper " + /*isMobile*/
4470
+ t = H("div"), r = H("div"), n = H("div"), i = H("p"), s = R(o), a = F(), l = H("div"), u = H("button"), h = R(c), f = F(), p = H("button"), d = R(m), E(i, "class", "ModalText"), E(u, "class", "ModalCancel"), E(p, "class", "ModalConfirm"), E(l, "class", "ModalButtons"), E(n, "class", "ModalBody"), E(r, "class", "ModalContent"), E(t, "class", "ModalWrapper " + /*isMobile*/
4492
4471
  (e[4] ? "ModalWrapperMobile" : ""));
4493
4472
  },
4494
- m(T, y) {
4495
- G(T, t, y), g(t, r), g(r, n), g(n, i), g(i, s), g(n, a), g(n, l), g(l, u), g(u, h), g(l, f), g(l, p), g(p, d), _ || (P = [
4473
+ m(T, x) {
4474
+ G(T, t, x), g(t, r), g(r, n), g(n, i), g(i, s), g(n, a), g(n, l), g(l, u), g(u, h), g(l, f), g(l, p), g(p, d), _ || (P = [
4496
4475
  ge(
4497
4476
  u,
4498
4477
  "click",
@@ -4507,21 +4486,21 @@ function It(e) {
4507
4486
  )
4508
4487
  ], _ = !0);
4509
4488
  },
4510
- p(T, y) {
4511
- y & /*$_*/
4489
+ p(T, x) {
4490
+ x & /*$_*/
4512
4491
  8 && o !== (o = /*$_*/
4513
- T[3]("modal") + "") && Z(s, o), y & /*$_*/
4492
+ T[3]("modal") + "") && Z(s, o), x & /*$_*/
4514
4493
  8 && c !== (c = /*$_*/
4515
- T[3]("accountClosureCancel") + "") && Z(h, c), y & /*$_*/
4494
+ T[3]("accountClosureCancel") + "") && Z(h, c), x & /*$_*/
4516
4495
  8 && m !== (m = /*$_*/
4517
4496
  T[3]("accountClosureConfirm") + "") && Z(d, m);
4518
4497
  },
4519
4498
  d(T) {
4520
- T && D(t), _ = !1, ee(P);
4499
+ T && D(t), _ = !1, te(P);
4521
4500
  }
4522
4501
  };
4523
4502
  }
4524
- function no(e) {
4503
+ function to(e) {
4525
4504
  let t, r, n, i, o = (
4526
4505
  /*$_*/
4527
4506
  e[3]("titleAccountClosure") + ""
@@ -4530,58 +4509,58 @@ function no(e) {
4530
4509
  e[3]("closeAccount") + ""
4531
4510
  ), f, p, m, d, _ = (
4532
4511
  /*isMobile*/
4533
- e[4] && Ki(e)
4512
+ e[4] && Yi(e)
4534
4513
  );
4535
- function P(E, H) {
4514
+ function P(C, B) {
4536
4515
  return (
4537
4516
  /*skeletonLoading*/
4538
- E[1] ? to : eo
4517
+ C[1] ? Ki : Ji
4539
4518
  );
4540
4519
  }
4541
- let T = P(e), y = T(e), C = (
4520
+ let T = P(e), x = T(e), A = (
4542
4521
  /*closureModal*/
4543
- e[2] && It(e)
4522
+ e[2] && Pt(e)
4544
4523
  );
4545
4524
  return {
4546
4525
  c() {
4547
- t = B("div"), r = B("div"), _ && _.c(), n = F(), i = B("h2"), s = R(o), a = F(), y.c(), l = F(), u = B("div"), c = B("button"), f = R(h), p = F(), C && C.c(), x(i, "class", "AccountClosureTitle " + /*isMobile*/
4548
- (e[4] ? "AccountClosureTitleNone" : "")), x(c, "class", "AccountClosureSave " + /*isMobile*/
4549
- (e[4] ? "AccountClosureSaveMobile" : "")), x(u, "class", "AccountClosureActionButtons " + /*isMobile*/
4550
- (e[4] ? "AccountClosureActionButtonsMobile" : "")), x(r, "class", "AccountClosureWrapper " + /*isMobile*/
4526
+ t = H("div"), r = H("div"), _ && _.c(), n = F(), i = H("h2"), s = R(o), a = F(), x.c(), l = F(), u = H("div"), c = H("button"), f = R(h), p = F(), A && A.c(), E(i, "class", "AccountClosureTitle " + /*isMobile*/
4527
+ (e[4] ? "AccountClosureTitleNone" : "")), E(c, "class", "AccountClosureSave " + /*isMobile*/
4528
+ (e[4] ? "AccountClosureSaveMobile" : "")), E(u, "class", "AccountClosureActionButtons " + /*isMobile*/
4529
+ (e[4] ? "AccountClosureActionButtonsMobile" : "")), E(r, "class", "AccountClosureWrapper " + /*isMobile*/
4551
4530
  (e[4] ? "AccountClosureWrapperMobile" : ""));
4552
4531
  },
4553
- m(E, H) {
4554
- G(E, t, H), g(t, r), _ && _.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), y.m(r, null), g(r, l), g(r, u), g(u, c), g(c, f), g(t, p), C && C.m(t, null), e[17](t), m || (d = ge(
4532
+ m(C, B) {
4533
+ G(C, t, B), g(t, r), _ && _.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), x.m(r, null), g(r, l), g(r, u), g(u, c), g(c, f), g(t, p), A && A.m(t, null), e[17](t), m || (d = ge(
4555
4534
  c,
4556
4535
  "click",
4557
4536
  /*click_handler_1*/
4558
4537
  e[14]
4559
4538
  ), m = !0);
4560
4539
  },
4561
- p(E, [H]) {
4540
+ p(C, [B]) {
4562
4541
  /*isMobile*/
4563
- E[4] && _.p(E, H), H & /*$_*/
4542
+ C[4] && _.p(C, B), B & /*$_*/
4564
4543
  8 && o !== (o = /*$_*/
4565
- E[3]("titleAccountClosure") + "") && Z(s, o), T === (T = P(E)) && y ? y.p(E, H) : (y.d(1), y = T(E), y && (y.c(), y.m(r, l))), H & /*$_*/
4544
+ C[3]("titleAccountClosure") + "") && Z(s, o), T === (T = P(C)) && x ? x.p(C, B) : (x.d(1), x = T(C), x && (x.c(), x.m(r, l))), B & /*$_*/
4566
4545
  8 && h !== (h = /*$_*/
4567
- E[3]("closeAccount") + "") && Z(f, h), /*closureModal*/
4568
- E[2] ? C ? C.p(E, H) : (C = It(E), C.c(), C.m(t, null)) : C && (C.d(1), C = null);
4546
+ C[3]("closeAccount") + "") && Z(f, h), /*closureModal*/
4547
+ C[2] ? A ? A.p(C, B) : (A = Pt(C), A.c(), A.m(t, null)) : A && (A.d(1), A = null);
4569
4548
  },
4570
4549
  i: O,
4571
4550
  o: O,
4572
- d(E) {
4573
- E && D(t), _ && _.d(), y.d(), C && C.d(), e[17](null), m = !1, d();
4551
+ d(C) {
4552
+ C && D(t), _ && _.d(), x.d(), A && A.d(), e[17](null), m = !1, d();
4574
4553
  }
4575
4554
  };
4576
4555
  }
4577
- function io(e, t, r) {
4556
+ function ro(e, t, r) {
4578
4557
  let n;
4579
- xr(e, zi, (A) => r(3, n = A));
4580
- let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c = Vi(u) !== "PC", h = !1, f = !1, p;
4558
+ yr(e, ki, (S) => r(3, n = S));
4559
+ let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c = zi(u) !== "PC", h = !1, f = !1, p;
4581
4560
  const m = () => {
4582
4561
  r(1, h = !0), fetch(l).then((k) => k.json()).then((k) => {
4583
- Object.keys(k).forEach((it) => {
4584
- Pt(it, k[it]);
4562
+ Object.keys(k).forEach((rt) => {
4563
+ Bt(rt, k[rt]);
4585
4564
  });
4586
4565
  }).catch((k) => {
4587
4566
  console.log(k);
@@ -4589,11 +4568,11 @@ function io(e, t, r) {
4589
4568
  r(1, h = !1);
4590
4569
  });
4591
4570
  };
4592
- Object.keys(Ot).forEach((A) => {
4593
- Pt(A, Ot[A]);
4571
+ Object.keys(Mt).forEach((S) => {
4572
+ Bt(S, Mt[S]);
4594
4573
  });
4595
- const d = (A) => {
4596
- r(2, f = A), A === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
4574
+ const d = (S) => {
4575
+ r(2, f = S), S === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
4597
4576
  }, _ = () => {
4598
4577
  d(!1), window.postMessage({ type: "AccountClosure" }, window.location.href);
4599
4578
  }, P = () => {
@@ -4605,24 +4584,24 @@ function io(e, t, r) {
4605
4584
  window.location.href
4606
4585
  );
4607
4586
  }, T = () => {
4608
- Xi(i);
4587
+ Wi(i);
4609
4588
  };
4610
- Br(() => () => {
4589
+ Tr(() => () => {
4611
4590
  });
4612
- const y = () => P(), C = () => d(!0), E = () => d(!1), H = () => _();
4613
- function he(A) {
4614
- Re[A ? "unshift" : "push"](() => {
4615
- p = A, r(0, p);
4591
+ const x = () => P(), A = () => d(!0), C = () => d(!1), B = () => _();
4592
+ function he(S) {
4593
+ Le[S ? "unshift" : "push"](() => {
4594
+ p = S, r(0, p);
4616
4595
  });
4617
4596
  }
4618
- return e.$$set = (A) => {
4619
- "lang" in A && r(8, i = A.lang), "clientstyling" in A && r(9, o = A.clientstyling), "clientstylingurl" in A && r(10, s = A.clientstylingurl), "mbsource" in A && r(11, a = A.mbsource), "translationurl" in A && r(12, l = A.translationurl);
4597
+ return e.$$set = (S) => {
4598
+ "lang" in S && r(8, i = S.lang), "clientstyling" in S && r(9, o = S.clientstyling), "clientstylingurl" in S && r(10, s = S.clientstylingurl), "mbsource" in S && r(11, a = S.mbsource), "translationurl" in S && r(12, l = S.translationurl);
4620
4599
  }, e.$$.update = () => {
4621
4600
  e.$$.dirty & /*lang*/
4622
4601
  256 && i && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4623
- 513 && o && p && Zi(p, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4624
- 1025 && s && p && qi(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4625
- 2049 && a && p && Qi(p, `${a}.Style`), e.$$.dirty & /*translationurl*/
4602
+ 513 && o && p && Vi(p, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4603
+ 1025 && s && p && Xi(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4604
+ 2049 && a && p && Zi(p, `${a}.Style`), e.$$.dirty & /*translationurl*/
4626
4605
  4096 && l && m();
4627
4606
  }, [
4628
4607
  p,
@@ -4638,21 +4617,21 @@ function io(e, t, r) {
4638
4617
  s,
4639
4618
  a,
4640
4619
  l,
4641
- y,
4620
+ x,
4621
+ A,
4642
4622
  C,
4643
- E,
4644
- H,
4623
+ B,
4645
4624
  he
4646
4625
  ];
4647
4626
  }
4648
- class oo extends Gr {
4627
+ class no extends Fr {
4649
4628
  constructor(t) {
4650
- super(), Ur(
4629
+ super(), Dr(
4651
4630
  this,
4652
4631
  t,
4653
- io,
4654
- no,
4655
- Lt,
4632
+ ro,
4633
+ to,
4634
+ It,
4656
4635
  {
4657
4636
  lang: 8,
4658
4637
  clientstyling: 9,
@@ -4660,7 +4639,7 @@ class oo extends Gr {
4660
4639
  mbsource: 11,
4661
4640
  translationurl: 12
4662
4641
  },
4663
- Yi
4642
+ qi
4664
4643
  );
4665
4644
  }
4666
4645
  get lang() {
@@ -4694,7 +4673,7 @@ class oo extends Gr {
4694
4673
  this.$$set({ translationurl: t }), U();
4695
4674
  }
4696
4675
  }
4697
- Fr(oo, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4676
+ Ur(no, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4698
4677
  export {
4699
- oo as default
4678
+ no as default
4700
4679
  };