@everymatrix/player-deposit 1.74.3 → 1.74.4

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,50 +1,50 @@
1
- function A() {
1
+ function B() {
2
2
  }
3
- function Bt(e) {
3
+ function Pt(e) {
4
4
  return e();
5
5
  }
6
- function tt() {
6
+ function nt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function se(e) {
10
- e.forEach(Bt);
9
+ function ae(e) {
10
+ e.forEach(Pt);
11
11
  }
12
- function Ze(e) {
12
+ function Qe(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function At(e, t) {
15
+ function Ot(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let le;
19
- function rt(e, t) {
19
+ function it(e, t) {
20
20
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
21
21
  }
22
- function fr(e) {
22
+ function mr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Pt(e, ...t) {
25
+ function It(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return A;
29
+ return B;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function cr(e, t, r) {
35
- e.$$.on_destroy.push(Pt(t, r));
34
+ function br(e, t, r) {
35
+ e.$$.on_destroy.push(It(t, r));
36
36
  }
37
37
  function w(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function pr(e, t, r) {
41
- const n = dr(e);
40
+ function gr(e, t, r) {
41
+ const n = yr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = I("style");
44
- i.id = t, i.textContent = r, mr(n, i);
44
+ i.id = t, i.textContent = r, vr(n, i);
45
45
  }
46
46
  }
47
- function dr(e) {
47
+ function yr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,14 +54,14 @@ function dr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function mr(e, t) {
57
+ function vr(e, t) {
58
58
  return w(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ae(e, t, r) {
64
+ function ue(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
67
  function Y(e) {
@@ -73,29 +73,29 @@ function I(e) {
73
73
  function G(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
- function re(e) {
76
+ function ne(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function Ie() {
80
- return re(" ");
79
+ function Ce() {
80
+ return ne(" ");
81
81
  }
82
- function br(e, t, r, n) {
82
+ function _r(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
85
  function x(e, t, r) {
86
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
87
  }
88
- function gr(e) {
88
+ function Er(e) {
89
89
  return Array.from(e.childNodes);
90
90
  }
91
- function Qe(e, t) {
91
+ function Ye(e, t) {
92
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
93
  t);
94
94
  }
95
- function nt(e, t, r, n) {
95
+ function ot(e, t, r, n) {
96
96
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
97
97
  }
98
- function yr(e) {
98
+ function xr(e) {
99
99
  const t = {};
100
100
  return e.childNodes.forEach(
101
101
  /** @param {Element} node */
@@ -104,24 +104,24 @@ function yr(e) {
104
104
  }
105
105
  ), t;
106
106
  }
107
- let ne;
108
- function te(e) {
109
- ne = e;
107
+ let ie;
108
+ function re(e) {
109
+ ie = e;
110
110
  }
111
- function vr() {
112
- if (!ne)
111
+ function wr() {
112
+ if (!ie)
113
113
  throw new Error("Function called outside component initialization");
114
- return ne;
114
+ return ie;
115
115
  }
116
- function _r(e) {
117
- vr().$$.on_mount.push(e);
116
+ function Sr(e) {
117
+ wr().$$.on_mount.push(e);
118
118
  }
119
- const k = [], Ce = [];
119
+ const k = [], Me = [];
120
120
  let V = [];
121
- const it = [], Er = /* @__PURE__ */ Promise.resolve();
122
- let Me = !1;
123
- function xr() {
124
- Me || (Me = !0, Er.then(H));
121
+ const st = [], Tr = /* @__PURE__ */ Promise.resolve();
122
+ let Le = !1;
123
+ function Hr() {
124
+ Le || (Le = !0, Tr.then(H));
125
125
  }
126
126
  function Ne(e) {
127
127
  V.push(e);
@@ -131,68 +131,68 @@ let F = 0;
131
131
  function H() {
132
132
  if (F !== 0)
133
133
  return;
134
- const e = ne;
134
+ const e = ie;
135
135
  do {
136
136
  try {
137
137
  for (; F < k.length; ) {
138
138
  const t = k[F];
139
- F++, te(t), wr(t.$$);
139
+ F++, re(t), Br(t.$$);
140
140
  }
141
141
  } catch (t) {
142
142
  throw k.length = 0, F = 0, t;
143
143
  }
144
- for (te(null), k.length = 0, F = 0; Ce.length; )
145
- Ce.pop()();
144
+ for (re(null), k.length = 0, F = 0; Me.length; )
145
+ Me.pop()();
146
146
  for (let t = 0; t < V.length; t += 1) {
147
147
  const r = V[t];
148
148
  Se.has(r) || (Se.add(r), r());
149
149
  }
150
150
  V.length = 0;
151
151
  } while (k.length);
152
- for (; it.length; )
153
- it.pop()();
154
- Me = !1, Se.clear(), te(e);
152
+ for (; st.length; )
153
+ st.pop()();
154
+ Le = !1, Se.clear(), re(e);
155
155
  }
156
- function wr(e) {
156
+ function Br(e) {
157
157
  if (e.fragment !== null) {
158
- e.update(), se(e.before_update);
158
+ e.update(), ae(e.before_update);
159
159
  const t = e.dirty;
160
160
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
161
161
  }
162
162
  }
163
- function Sr(e) {
163
+ function Ar(e) {
164
164
  const t = [], r = [];
165
165
  V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
166
166
  }
167
- const Tr = /* @__PURE__ */ new Set();
168
- function Hr(e, t) {
169
- e && e.i && (Tr.delete(e), e.i(t));
167
+ const Pr = /* @__PURE__ */ new Set();
168
+ function Or(e, t) {
169
+ e && e.i && (Pr.delete(e), e.i(t));
170
170
  }
171
- function Br(e, t, r) {
171
+ function Ir(e, t, r) {
172
172
  const { fragment: n, after_update: i } = e.$$;
173
173
  n && n.m(t, r), Ne(() => {
174
- const o = e.$$.on_mount.map(Bt).filter(Ze);
175
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
174
+ const o = e.$$.on_mount.map(Pt).filter(Qe);
175
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
176
176
  }), i.forEach(Ne);
177
177
  }
178
- function Ar(e, t) {
178
+ function Cr(e, t) {
179
179
  const r = e.$$;
180
- r.fragment !== null && (Sr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
180
+ r.fragment !== null && (Ar(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
181
181
  }
182
- function Pr(e, t) {
183
- e.$$.dirty[0] === -1 && (k.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
182
+ function Mr(e, t) {
183
+ e.$$.dirty[0] === -1 && (k.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
184
184
  }
185
- function Or(e, t, r, n, i, o, s = null, a = [-1]) {
186
- const h = ne;
187
- te(e);
185
+ function Lr(e, t, r, n, i, o, a = null, s = [-1]) {
186
+ const h = ie;
187
+ re(e);
188
188
  const u = e.$$ = {
189
189
  fragment: null,
190
190
  ctx: [],
191
191
  // state
192
192
  props: o,
193
- update: A,
193
+ update: B,
194
194
  not_equal: i,
195
- bound: tt(),
195
+ bound: nt(),
196
196
  // lifecycle
197
197
  on_mount: [],
198
198
  on_destroy: [],
@@ -201,28 +201,28 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
201
201
  after_update: [],
202
202
  context: new Map(t.context || (h ? h.$$.context : [])),
203
203
  // everything else
204
- callbacks: tt(),
205
- dirty: a,
204
+ callbacks: nt(),
205
+ dirty: s,
206
206
  skip_bound: !1,
207
207
  root: t.target || h.$$.root
208
208
  };
209
- s && s(u.root);
209
+ a && a(u.root);
210
210
  let l = !1;
211
- if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
212
- const v = d.length ? d[0] : c;
213
- return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && Pr(e, f)), c;
214
- }), u.update(), l = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
211
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
212
+ const v = d.length ? d[0] : f;
213
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Mr(e, c)), f;
214
+ }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
215
215
  if (t.hydrate) {
216
- const f = gr(t.target);
217
- u.fragment && u.fragment.l(f), f.forEach(Y);
216
+ const c = Er(t.target);
217
+ u.fragment && u.fragment.l(c), c.forEach(Y);
218
218
  } else
219
219
  u.fragment && u.fragment.c();
220
- t.intro && Hr(e.$$.fragment), Br(e, t.target, t.anchor), H();
220
+ t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), H();
221
221
  }
222
- te(h);
222
+ re(h);
223
223
  }
224
- let Ot;
225
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
224
+ let Ct;
225
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
226
226
  /** The Svelte component constructor */
227
227
  $$ctor;
228
228
  /** Slots */
@@ -271,7 +271,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
271
271
  * @param {HTMLElement} [anchor]
272
272
  */
273
273
  m: function(h, u) {
274
- ae(h, o, u);
274
+ ue(h, o, u);
275
275
  },
276
276
  d: function(h) {
277
277
  h && Y(o);
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
281
281
  };
282
282
  if (await Promise.resolve(), !this.$$cn || this.$$c)
283
283
  return;
284
- const t = {}, r = yr(this);
284
+ const t = {}, r = xr(this);
285
285
  for (const i of this.$$s)
286
286
  i in r && (t[i] = [e(i)]);
287
287
  for (const i of this.attributes) {
@@ -317,8 +317,8 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
317
317
  this.$$c.$$.after_update.push(n), n();
318
318
  for (const i in this.$$l)
319
319
  for (const o of this.$$l[i]) {
320
- const s = this.$$c.$on(i, o);
321
- this.$$l_u.set(o, s);
320
+ const a = this.$$c.$on(i, o);
321
+ this.$$l_u.set(o, a);
322
322
  }
323
323
  this.$$l = {};
324
324
  }
@@ -368,36 +368,36 @@ function pe(e, t, r, n) {
368
368
  return t;
369
369
  }
370
370
  }
371
- function Ir(e, t, r, n, i, o) {
372
- let s = class extends Ot {
371
+ function Nr(e, t, r, n, i, o) {
372
+ let a = class extends Ct {
373
373
  constructor() {
374
374
  super(e, r, i), this.$$p_d = t;
375
375
  }
376
376
  static get observedAttributes() {
377
377
  return Object.keys(t).map(
378
- (a) => (t[a].attribute || a).toLowerCase()
378
+ (s) => (t[s].attribute || s).toLowerCase()
379
379
  );
380
380
  }
381
381
  };
382
- return Object.keys(t).forEach((a) => {
383
- Object.defineProperty(s.prototype, a, {
382
+ return Object.keys(t).forEach((s) => {
383
+ Object.defineProperty(a.prototype, s, {
384
384
  get() {
385
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
385
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
386
386
  },
387
387
  set(h) {
388
- h = pe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
388
+ h = pe(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
389
389
  }
390
390
  });
391
- }), n.forEach((a) => {
392
- Object.defineProperty(s.prototype, a, {
391
+ }), n.forEach((s) => {
392
+ Object.defineProperty(a.prototype, s, {
393
393
  get() {
394
- return this.$$c?.[a];
394
+ return this.$$c?.[s];
395
395
  }
396
396
  });
397
397
  }), e.element = /** @type {any} */
398
- s, s;
398
+ a, a;
399
399
  }
400
- class Cr {
400
+ class Rr {
401
401
  /**
402
402
  * ### PRIVATE API
403
403
  *
@@ -416,7 +416,7 @@ class Cr {
416
416
  $$set = void 0;
417
417
  /** @returns {void} */
418
418
  $destroy() {
419
- Ar(this, 1), this.$destroy = A;
419
+ Cr(this, 1), this.$destroy = B;
420
420
  }
421
421
  /**
422
422
  * @template {Extract<keyof Events, string>} K
@@ -425,8 +425,8 @@ class Cr {
425
425
  * @returns {() => void}
426
426
  */
427
427
  $on(t, r) {
428
- if (!Ze(r))
429
- return A;
428
+ if (!Qe(r))
429
+ return B;
430
430
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
431
431
  return n.push(r), () => {
432
432
  const i = n.indexOf(r);
@@ -438,11 +438,11 @@ class Cr {
438
438
  * @returns {void}
439
439
  */
440
440
  $set(t) {
441
- this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
441
+ this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
442
442
  }
443
443
  }
444
- const Mr = "4";
445
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
444
+ const Dr = "4";
445
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
446
446
  /*! *****************************************************************************
447
447
  Copyright (c) Microsoft Corporation.
448
448
 
@@ -457,18 +457,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
457
457
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
458
458
  PERFORMANCE OF THIS SOFTWARE.
459
459
  ***************************************************************************** */
460
- var Le = function(e, t) {
461
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
460
+ var Re = function(e, t) {
461
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
462
462
  r.__proto__ = n;
463
463
  } || function(r, n) {
464
464
  for (var i in n)
465
465
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
466
- }, Le(e, t);
466
+ }, Re(e, t);
467
467
  };
468
468
  function C(e, t) {
469
469
  if (typeof t != "function" && t !== null)
470
470
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
471
- Le(e, t);
471
+ Re(e, t);
472
472
  function r() {
473
473
  this.constructor = e;
474
474
  }
@@ -484,7 +484,7 @@ var y = function() {
484
484
  return t;
485
485
  }, y.apply(this, arguments);
486
486
  };
487
- function Nr(e, t) {
487
+ function $r(e, t) {
488
488
  var r = {};
489
489
  for (var n in e)
490
490
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -493,7 +493,7 @@ function Nr(e, t) {
493
493
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
494
494
  return r;
495
495
  }
496
- function Re(e) {
496
+ function De(e) {
497
497
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
498
498
  if (r)
499
499
  return r.call(e);
@@ -505,22 +505,22 @@ function Re(e) {
505
505
  };
506
506
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
507
507
  }
508
- function De(e, t) {
508
+ function $e(e, t) {
509
509
  var r = typeof Symbol == "function" && e[Symbol.iterator];
510
510
  if (!r)
511
511
  return e;
512
- var n = r.call(e), i, o = [], s;
512
+ var n = r.call(e), i, o = [], a;
513
513
  try {
514
514
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
515
515
  o.push(i.value);
516
- } catch (a) {
517
- s = { error: a };
516
+ } catch (s) {
517
+ a = { error: s };
518
518
  } finally {
519
519
  try {
520
520
  i && !i.done && (r = n.return) && r.call(n);
521
521
  } finally {
522
- if (s)
523
- throw s.error;
522
+ if (a)
523
+ throw a.error;
524
524
  }
525
525
  }
526
526
  return o;
@@ -534,13 +534,13 @@ function X(e, t, r) {
534
534
  function O(e) {
535
535
  return typeof e == "function";
536
536
  }
537
- function It(e) {
537
+ function Mt(e) {
538
538
  var t = function(n) {
539
539
  Error.call(n), n.stack = new Error().stack;
540
540
  }, r = e(t);
541
541
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
542
542
  }
543
- var Te = It(function(e) {
543
+ var Te = Mt(function(e) {
544
544
  return function(r) {
545
545
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
546
546
  ` + r.map(function(n, i) {
@@ -549,7 +549,7 @@ var Te = It(function(e) {
549
549
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
550
550
  };
551
551
  });
552
- function $e(e, t) {
552
+ function Ue(e, t) {
553
553
  if (e) {
554
554
  var r = e.indexOf(t);
555
555
  0 <= r && e.splice(r, 1);
@@ -563,11 +563,11 @@ var ve = function() {
563
563
  var t, r, n, i, o;
564
564
  if (!this.closed) {
565
565
  this.closed = !0;
566
- var s = this._parentage;
567
- if (s)
568
- if (this._parentage = null, Array.isArray(s))
566
+ var a = this._parentage;
567
+ if (a)
568
+ if (this._parentage = null, Array.isArray(a))
569
569
  try {
570
- for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
570
+ for (var s = De(a), h = s.next(); !h.done; h = s.next()) {
571
571
  var u = h.value;
572
572
  u.remove(this);
573
573
  }
@@ -575,14 +575,14 @@ var ve = function() {
575
575
  t = { error: m };
576
576
  } finally {
577
577
  try {
578
- h && !h.done && (r = a.return) && r.call(a);
578
+ h && !h.done && (r = s.return) && r.call(s);
579
579
  } finally {
580
580
  if (t)
581
581
  throw t.error;
582
582
  }
583
583
  }
584
584
  else
585
- s.remove(this);
585
+ a.remove(this);
586
586
  var l = this.initialTeardown;
587
587
  if (O(l))
588
588
  try {
@@ -590,23 +590,23 @@ var ve = function() {
590
590
  } catch (m) {
591
591
  o = m instanceof Te ? m.errors : [m];
592
592
  }
593
- var f = this._finalizers;
594
- if (f) {
593
+ var c = this._finalizers;
594
+ if (c) {
595
595
  this._finalizers = null;
596
596
  try {
597
- for (var c = Re(f), d = c.next(); !d.done; d = c.next()) {
597
+ for (var f = De(c), d = f.next(); !d.done; d = f.next()) {
598
598
  var v = d.value;
599
599
  try {
600
- ot(v);
600
+ at(v);
601
601
  } catch (m) {
602
- o = o ?? [], m instanceof Te ? o = X(X([], De(o)), De(m.errors)) : o.push(m);
602
+ o = o ?? [], m instanceof Te ? o = X(X([], $e(o)), $e(m.errors)) : o.push(m);
603
603
  }
604
604
  }
605
605
  } catch (m) {
606
606
  n = { error: m };
607
607
  } finally {
608
608
  try {
609
- d && !d.done && (i = c.return) && i.call(c);
609
+ d && !d.done && (i = f.return) && i.call(f);
610
610
  } finally {
611
611
  if (n)
612
612
  throw n.error;
@@ -620,7 +620,7 @@ var ve = function() {
620
620
  var r;
621
621
  if (t && t !== this)
622
622
  if (this.closed)
623
- ot(t);
623
+ at(t);
624
624
  else {
625
625
  if (t instanceof e) {
626
626
  if (t.closed || t._hasParent(this))
@@ -637,56 +637,56 @@ var ve = function() {
637
637
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
638
638
  }, e.prototype._removeParent = function(t) {
639
639
  var r = this._parentage;
640
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
640
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
641
641
  }, e.prototype.remove = function(t) {
642
642
  var r = this._finalizers;
643
- r && $e(r, t), t instanceof e && t._removeParent(this);
643
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
644
644
  }, e.EMPTY = function() {
645
645
  var t = new e();
646
646
  return t.closed = !0, t;
647
647
  }(), e;
648
- }(), Ct = ve.EMPTY;
649
- function Mt(e) {
648
+ }(), Lt = ve.EMPTY;
649
+ function Nt(e) {
650
650
  return e instanceof ve || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
651
651
  }
652
- function ot(e) {
652
+ function at(e) {
653
653
  O(e) ? e() : e.unsubscribe();
654
654
  }
655
- var Lr = {
655
+ var Rt = {
656
656
  onUnhandledError: null,
657
657
  onStoppedNotification: null,
658
658
  Promise: void 0,
659
659
  useDeprecatedSynchronousErrorHandling: !1,
660
660
  useDeprecatedNextContext: !1
661
- }, Rr = {
661
+ }, Ur = {
662
662
  setTimeout: function(e, t) {
663
663
  for (var r = [], n = 2; n < arguments.length; n++)
664
664
  r[n - 2] = arguments[n];
665
- return setTimeout.apply(void 0, X([e, t], De(r)));
665
+ return setTimeout.apply(void 0, X([e, t], $e(r)));
666
666
  },
667
667
  clearTimeout: function(e) {
668
668
  return clearTimeout(e);
669
669
  },
670
670
  delegate: void 0
671
671
  };
672
- function Dr(e) {
673
- Rr.setTimeout(function() {
672
+ function Gr(e) {
673
+ Ur.setTimeout(function() {
674
674
  throw e;
675
675
  });
676
676
  }
677
- function st() {
677
+ function ut() {
678
678
  }
679
679
  function de(e) {
680
680
  e();
681
681
  }
682
- var Nt = function(e) {
682
+ var Dt = function(e) {
683
683
  C(t, e);
684
684
  function t(r) {
685
685
  var n = e.call(this) || this;
686
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Gr, n;
686
+ return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Vr, n;
687
687
  }
688
688
  return t.create = function(r, n, i) {
689
- return new Ue(r, n, i);
689
+ return new Ge(r, n, i);
690
690
  }, t.prototype.next = function(r) {
691
691
  this.isStopped || this._next(r);
692
692
  }, t.prototype.error = function(r) {
@@ -710,7 +710,11 @@ var Nt = function(e) {
710
710
  this.unsubscribe();
711
711
  }
712
712
  }, t;
713
- }(ve), $r = function() {
713
+ }(ve), Fr = Function.prototype.bind;
714
+ function He(e, t) {
715
+ return Fr.call(e, t);
716
+ }
717
+ var jr = function() {
714
718
  function e(t) {
715
719
  this.partialObserver = t;
716
720
  }
@@ -720,7 +724,7 @@ var Nt = function(e) {
720
724
  try {
721
725
  r.next(t);
722
726
  } catch (n) {
723
- fe(n);
727
+ ce(n);
724
728
  }
725
729
  }, e.prototype.error = function(t) {
726
730
  var r = this.partialObserver;
@@ -728,56 +732,68 @@ var Nt = function(e) {
728
732
  try {
729
733
  r.error(t);
730
734
  } catch (n) {
731
- fe(n);
735
+ ce(n);
732
736
  }
733
737
  else
734
- fe(t);
738
+ ce(t);
735
739
  }, e.prototype.complete = function() {
736
740
  var t = this.partialObserver;
737
741
  if (t.complete)
738
742
  try {
739
743
  t.complete();
740
744
  } catch (r) {
741
- fe(r);
745
+ ce(r);
742
746
  }
743
747
  }, e;
744
- }(), Ue = function(e) {
748
+ }(), Ge = function(e) {
745
749
  C(t, e);
746
750
  function t(r, n, i) {
747
- var o = e.call(this) || this, s;
748
- return O(r) || !r ? s = {
749
- next: r ?? void 0,
750
- error: n ?? void 0,
751
- complete: i ?? void 0
752
- } : s = r, o.destination = new $r(s), o;
751
+ var o = e.call(this) || this, a;
752
+ if (O(r) || !r)
753
+ a = {
754
+ next: r ?? void 0,
755
+ error: n ?? void 0,
756
+ complete: i ?? void 0
757
+ };
758
+ else {
759
+ var s;
760
+ o && Rt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
761
+ return o.unsubscribe();
762
+ }, a = {
763
+ next: r.next && He(r.next, s),
764
+ error: r.error && He(r.error, s),
765
+ complete: r.complete && He(r.complete, s)
766
+ }) : a = r;
767
+ }
768
+ return o.destination = new jr(a), o;
753
769
  }
754
770
  return t;
755
- }(Nt);
756
- function fe(e) {
757
- Dr(e);
771
+ }(Dt);
772
+ function ce(e) {
773
+ Gr(e);
758
774
  }
759
- function Ur(e) {
775
+ function kr(e) {
760
776
  throw e;
761
777
  }
762
- var Gr = {
778
+ var Vr = {
763
779
  closed: !0,
764
- next: st,
765
- error: Ur,
766
- complete: st
767
- }, Fr = function() {
780
+ next: ut,
781
+ error: kr,
782
+ complete: ut
783
+ }, Xr = function() {
768
784
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
769
785
  }();
770
- function jr(e) {
786
+ function Wr(e) {
771
787
  return e;
772
788
  }
773
- function kr(e) {
774
- return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
789
+ function zr(e) {
790
+ return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
775
791
  return e.reduce(function(n, i) {
776
792
  return i(n);
777
793
  }, r);
778
794
  };
779
795
  }
780
- var at = function() {
796
+ var ht = function() {
781
797
  function e(t) {
782
798
  t && (this._subscribe = t);
783
799
  }
@@ -785,10 +801,10 @@ var at = function() {
785
801
  var r = new e();
786
802
  return r.source = this, r.operator = t, r;
787
803
  }, e.prototype.subscribe = function(t, r, n) {
788
- var i = this, o = Xr(t) ? t : new Ue(t, r, n);
804
+ var i = this, o = Qr(t) ? t : new Ge(t, r, n);
789
805
  return de(function() {
790
- var s = i, a = s.operator, h = s.source;
791
- o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
806
+ var a = i, s = a.operator, h = a.source;
807
+ o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
792
808
  }), o;
793
809
  }, e.prototype._trySubscribe = function(t) {
794
810
  try {
@@ -798,37 +814,37 @@ var at = function() {
798
814
  }
799
815
  }, e.prototype.forEach = function(t, r) {
800
816
  var n = this;
801
- return r = ut(r), new r(function(i, o) {
802
- var s = new Ue({
803
- next: function(a) {
817
+ return r = lt(r), new r(function(i, o) {
818
+ var a = new Ge({
819
+ next: function(s) {
804
820
  try {
805
- t(a);
821
+ t(s);
806
822
  } catch (h) {
807
- o(h), s.unsubscribe();
823
+ o(h), a.unsubscribe();
808
824
  }
809
825
  },
810
826
  error: o,
811
827
  complete: i
812
828
  });
813
- n.subscribe(s);
829
+ n.subscribe(a);
814
830
  });
815
831
  }, e.prototype._subscribe = function(t) {
816
832
  var r;
817
833
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
818
- }, e.prototype[Fr] = function() {
834
+ }, e.prototype[Xr] = function() {
819
835
  return this;
820
836
  }, e.prototype.pipe = function() {
821
837
  for (var t = [], r = 0; r < arguments.length; r++)
822
838
  t[r] = arguments[r];
823
- return kr(t)(this);
839
+ return zr(t)(this);
824
840
  }, e.prototype.toPromise = function(t) {
825
841
  var r = this;
826
- return t = ut(t), new t(function(n, i) {
842
+ return t = lt(t), new t(function(n, i) {
827
843
  var o;
828
- r.subscribe(function(s) {
829
- return o = s;
830
- }, function(s) {
831
- return i(s);
844
+ r.subscribe(function(a) {
845
+ return o = a;
846
+ }, function(a) {
847
+ return i(a);
832
848
  }, function() {
833
849
  return n(o);
834
850
  });
@@ -837,32 +853,32 @@ var at = function() {
837
853
  return new e(t);
838
854
  }, e;
839
855
  }();
840
- function ut(e) {
856
+ function lt(e) {
841
857
  var t;
842
- return (t = e ?? Lr.Promise) !== null && t !== void 0 ? t : Promise;
858
+ return (t = e ?? Rt.Promise) !== null && t !== void 0 ? t : Promise;
843
859
  }
844
- function Vr(e) {
860
+ function Zr(e) {
845
861
  return e && O(e.next) && O(e.error) && O(e.complete);
846
862
  }
847
- function Xr(e) {
848
- return e && e instanceof Nt || Vr(e) && Mt(e);
863
+ function Qr(e) {
864
+ return e && e instanceof Dt || Zr(e) && Nt(e);
849
865
  }
850
- var Wr = It(function(e) {
866
+ var Yr = Mt(function(e) {
851
867
  return function() {
852
868
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
853
869
  };
854
- }), Lt = function(e) {
870
+ }), $t = function(e) {
855
871
  C(t, e);
856
872
  function t() {
857
873
  var r = e.call(this) || this;
858
874
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
859
875
  }
860
876
  return t.prototype.lift = function(r) {
861
- var n = new ht(this, this);
877
+ var n = new ct(this, this);
862
878
  return n.operator = r, n;
863
879
  }, t.prototype._throwIfClosed = function() {
864
880
  if (this.closed)
865
- throw new Wr();
881
+ throw new Yr();
866
882
  }, t.prototype.next = function(r) {
867
883
  var n = this;
868
884
  de(function() {
@@ -870,15 +886,15 @@ var Wr = It(function(e) {
870
886
  if (n._throwIfClosed(), !n.isStopped) {
871
887
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
872
888
  try {
873
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
874
- var h = a.value;
889
+ for (var a = De(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
890
+ var h = s.value;
875
891
  h.next(r);
876
892
  }
877
893
  } catch (u) {
878
894
  i = { error: u };
879
895
  } finally {
880
896
  try {
881
- a && !a.done && (o = s.return) && o.call(s);
897
+ s && !s.done && (o = a.return) && o.call(a);
882
898
  } finally {
883
899
  if (i)
884
900
  throw i.error;
@@ -918,20 +934,20 @@ var Wr = It(function(e) {
918
934
  }, t.prototype._subscribe = function(r) {
919
935
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
920
936
  }, t.prototype._innerSubscribe = function(r) {
921
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
922
- return o || s ? Ct : (this.currentObservers = null, a.push(r), new ve(function() {
923
- n.currentObservers = null, $e(a, r);
937
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
938
+ return o || a ? Lt : (this.currentObservers = null, s.push(r), new ve(function() {
939
+ n.currentObservers = null, Ue(s, r);
924
940
  }));
925
941
  }, t.prototype._checkFinalizedStatuses = function(r) {
926
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
927
- i ? r.error(o) : s && r.complete();
942
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
943
+ i ? r.error(o) : a && r.complete();
928
944
  }, t.prototype.asObservable = function() {
929
- var r = new at();
945
+ var r = new ht();
930
946
  return r.source = this, r;
931
947
  }, t.create = function(r, n) {
932
- return new ht(r, n);
948
+ return new ct(r, n);
933
949
  }, t;
934
- }(at), ht = function(e) {
950
+ }(ht), ct = function(e) {
935
951
  C(t, e);
936
952
  function t(r, n) {
937
953
  var i = e.call(this) || this;
@@ -948,54 +964,54 @@ var Wr = It(function(e) {
948
964
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
949
965
  }, t.prototype._subscribe = function(r) {
950
966
  var n, i;
951
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
967
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
952
968
  }, t;
953
- }(Lt), Rt = {
969
+ }($t), Ut = {
954
970
  now: function() {
955
- return (Rt.delegate || Date).now();
971
+ return (Ut.delegate || Date).now();
956
972
  },
957
973
  delegate: void 0
958
- }, zr = function(e) {
974
+ }, qr = function(e) {
959
975
  C(t, e);
960
976
  function t(r, n, i) {
961
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
977
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
962
978
  var o = e.call(this) || this;
963
979
  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;
964
980
  }
965
981
  return t.prototype.next = function(r) {
966
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
967
- i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
982
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
983
+ i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
968
984
  }, t.prototype._subscribe = function(r) {
969
985
  this._throwIfClosed(), this._trimBuffer();
970
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
971
- r.next(a[h]);
986
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
987
+ r.next(s[h]);
972
988
  return this._checkFinalizedStatuses(r), n;
973
989
  }, t.prototype._trimBuffer = function() {
974
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
975
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
990
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
991
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
976
992
  for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
977
993
  u = l;
978
994
  u && o.splice(0, u + 1);
979
995
  }
980
996
  }, t;
981
- }(Lt);
982
- const lt = [], ft = {}, Zr = (e, t = 0) => {
983
- if (lt.indexOf(e) == -1) {
984
- const r = new zr(t);
985
- ft[e] = r, lt.push(e);
997
+ }($t);
998
+ const ft = [], pt = {}, Jr = (e, t = 0) => {
999
+ if (ft.indexOf(e) == -1) {
1000
+ const r = new qr(t);
1001
+ pt[e] = r, ft.push(e);
986
1002
  }
987
- return ft[e];
1003
+ return pt[e];
988
1004
  }, j = [];
989
- function Qr(e, t) {
1005
+ function Kr(e, t) {
990
1006
  return {
991
1007
  subscribe: _e(e, t).subscribe
992
1008
  };
993
1009
  }
994
- function _e(e, t = A) {
1010
+ function _e(e, t = B) {
995
1011
  let r;
996
1012
  const n = /* @__PURE__ */ new Set();
997
- function i(a) {
998
- if (At(e, a) && (e = a, r)) {
1013
+ function i(s) {
1014
+ if (Ot(e, s) && (e = s, r)) {
999
1015
  const h = !j.length;
1000
1016
  for (const u of n)
1001
1017
  u[1](), j.push(u, e);
@@ -1006,112 +1022,112 @@ function _e(e, t = A) {
1006
1022
  }
1007
1023
  }
1008
1024
  }
1009
- function o(a) {
1010
- i(a(e));
1025
+ function o(s) {
1026
+ i(s(e));
1011
1027
  }
1012
- function s(a, h = A) {
1013
- const u = [a, h];
1014
- return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
1028
+ function a(s, h = B) {
1029
+ const u = [s, h];
1030
+ return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1015
1031
  n.delete(u), n.size === 0 && r && (r(), r = null);
1016
1032
  };
1017
1033
  }
1018
- return { set: i, update: o, subscribe: s };
1034
+ return { set: i, update: o, subscribe: a };
1019
1035
  }
1020
1036
  function q(e, t, r) {
1021
1037
  const n = !Array.isArray(e), i = n ? [e] : e;
1022
1038
  if (!i.every(Boolean))
1023
1039
  throw new Error("derived() expects stores as input, got a falsy value");
1024
1040
  const o = t.length < 2;
1025
- return Qr(r, (s, a) => {
1041
+ return Kr(r, (a, s) => {
1026
1042
  let h = !1;
1027
1043
  const u = [];
1028
- let l = 0, f = A;
1029
- const c = () => {
1044
+ let l = 0, c = B;
1045
+ const f = () => {
1030
1046
  if (l)
1031
1047
  return;
1032
- f();
1033
- const v = t(n ? u[0] : u, s, a);
1034
- o ? s(v) : f = Ze(v) ? v : A;
1048
+ c();
1049
+ const v = t(n ? u[0] : u, a, s);
1050
+ o ? a(v) : c = Qe(v) ? v : B;
1035
1051
  }, d = i.map(
1036
- (v, m) => Pt(
1052
+ (v, m) => It(
1037
1053
  v,
1038
1054
  (E) => {
1039
- u[m] = E, l &= ~(1 << m), h && c();
1055
+ u[m] = E, l &= ~(1 << m), h && f();
1040
1056
  },
1041
1057
  () => {
1042
1058
  l |= 1 << m;
1043
1059
  }
1044
1060
  )
1045
1061
  );
1046
- return h = !0, c(), function() {
1047
- se(d), f(), h = !1;
1062
+ return h = !0, f(), function() {
1063
+ ae(d), c(), h = !1;
1048
1064
  };
1049
1065
  });
1050
1066
  }
1051
- function Yr(e) {
1052
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1067
+ function en(e) {
1068
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1053
1069
  }
1054
- var qr = function(t) {
1055
- return Jr(t) && !Kr(t);
1070
+ var tn = function(t) {
1071
+ return rn(t) && !nn(t);
1056
1072
  };
1057
- function Jr(e) {
1073
+ function rn(e) {
1058
1074
  return !!e && typeof e == "object";
1059
1075
  }
1060
- function Kr(e) {
1076
+ function nn(e) {
1061
1077
  var t = Object.prototype.toString.call(e);
1062
- return t === "[object RegExp]" || t === "[object Date]" || rn(e);
1078
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1063
1079
  }
1064
- var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
1065
- function rn(e) {
1066
- return e.$$typeof === tn;
1080
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1081
+ function an(e) {
1082
+ return e.$$typeof === sn;
1067
1083
  }
1068
- function nn(e) {
1084
+ function un(e) {
1069
1085
  return Array.isArray(e) ? [] : {};
1070
1086
  }
1071
- function ie(e, t) {
1072
- return t.clone !== !1 && t.isMergeableObject(e) ? W(nn(e), e, t) : e;
1087
+ function oe(e, t) {
1088
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(un(e), e, t) : e;
1073
1089
  }
1074
- function on(e, t, r) {
1090
+ function hn(e, t, r) {
1075
1091
  return e.concat(t).map(function(n) {
1076
- return ie(n, r);
1092
+ return oe(n, r);
1077
1093
  });
1078
1094
  }
1079
- function sn(e, t) {
1095
+ function ln(e, t) {
1080
1096
  if (!t.customMerge)
1081
1097
  return W;
1082
1098
  var r = t.customMerge(e);
1083
1099
  return typeof r == "function" ? r : W;
1084
1100
  }
1085
- function an(e) {
1101
+ function cn(e) {
1086
1102
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1087
1103
  return Object.propertyIsEnumerable.call(e, t);
1088
1104
  }) : [];
1089
1105
  }
1090
- function ct(e) {
1091
- return Object.keys(e).concat(an(e));
1106
+ function dt(e) {
1107
+ return Object.keys(e).concat(cn(e));
1092
1108
  }
1093
- function Dt(e, t) {
1109
+ function Gt(e, t) {
1094
1110
  try {
1095
1111
  return t in e;
1096
1112
  } catch {
1097
1113
  return !1;
1098
1114
  }
1099
1115
  }
1100
- function un(e, t) {
1101
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1116
+ function fn(e, t) {
1117
+ return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1102
1118
  }
1103
- function hn(e, t, r) {
1119
+ function pn(e, t, r) {
1104
1120
  var n = {};
1105
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1106
- n[i] = ie(e[i], r);
1107
- }), ct(t).forEach(function(i) {
1108
- un(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1121
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
1122
+ n[i] = oe(e[i], r);
1123
+ }), dt(t).forEach(function(i) {
1124
+ fn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1109
1125
  }), n;
1110
1126
  }
1111
1127
  function W(e, t, r) {
1112
- r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = ie;
1128
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = oe;
1113
1129
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1114
- return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : ie(t, r);
1130
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : oe(t, r);
1115
1131
  }
1116
1132
  W.all = function(t, r) {
1117
1133
  if (!Array.isArray(t))
@@ -1120,60 +1136,58 @@ W.all = function(t, r) {
1120
1136
  return W(n, i, r);
1121
1137
  }, {});
1122
1138
  };
1123
- var ln = W, fn = ln;
1124
- const cn = /* @__PURE__ */ Yr(fn);
1125
- function He(e, t) {
1126
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : dn;
1139
+ var dn = W, mn = dn;
1140
+ const bn = /* @__PURE__ */ en(mn);
1141
+ function Be(e, t) {
1142
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
1127
1143
  return i(e, {
1128
1144
  cache: r,
1129
1145
  serializer: n
1130
1146
  });
1131
1147
  }
1132
- function pn(e) {
1148
+ function gn(e) {
1133
1149
  return e == null || typeof e == "number" || typeof e == "boolean";
1134
1150
  }
1135
- function $t(e, t, r, n) {
1136
- var i = pn(n) ? n : r(n), o = t.get(i);
1151
+ function Ft(e, t, r, n) {
1152
+ var i = gn(n) ? n : r(n), o = t.get(i);
1137
1153
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1138
1154
  }
1139
- function Ut(e, t, r) {
1155
+ function jt(e, t, r) {
1140
1156
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1141
1157
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1142
1158
  }
1143
- function Ye(e, t, r, n, i) {
1159
+ function qe(e, t, r, n, i) {
1144
1160
  return r.bind(t, e, n, i);
1145
1161
  }
1146
- function dn(e, t) {
1147
- var r = e.length === 1 ? $t : Ut;
1148
- return Ye(e, this, r, t.cache.create(), t.serializer);
1162
+ function yn(e, t) {
1163
+ var r = e.length === 1 ? Ft : jt;
1164
+ return qe(e, this, r, t.cache.create(), t.serializer);
1149
1165
  }
1150
- function mn(e, t) {
1151
- return Ye(e, this, Ut, t.cache.create(), t.serializer);
1166
+ function vn(e, t) {
1167
+ return qe(e, this, jt, t.cache.create(), t.serializer);
1152
1168
  }
1153
- function bn(e, t) {
1154
- return Ye(e, this, $t, t.cache.create(), t.serializer);
1169
+ function _n(e, t) {
1170
+ return qe(e, this, Ft, t.cache.create(), t.serializer);
1155
1171
  }
1156
- var gn = function() {
1172
+ var En = function() {
1157
1173
  return JSON.stringify(arguments);
1158
- }, yn = (
1159
- /** @class */
1160
- function() {
1161
- function e() {
1162
- this.cache = /* @__PURE__ */ Object.create(null);
1163
- }
1164
- return e.prototype.get = function(t) {
1165
- return this.cache[t];
1166
- }, e.prototype.set = function(t, r) {
1167
- this.cache[t] = r;
1168
- }, e;
1169
- }()
1170
- ), vn = {
1174
+ };
1175
+ function Je() {
1176
+ this.cache = /* @__PURE__ */ Object.create(null);
1177
+ }
1178
+ Je.prototype.get = function(e) {
1179
+ return this.cache[e];
1180
+ };
1181
+ Je.prototype.set = function(e, t) {
1182
+ this.cache[e] = t;
1183
+ };
1184
+ var xn = {
1171
1185
  create: function() {
1172
- return new yn();
1186
+ return new Je();
1173
1187
  }
1174
- }, Be = {
1175
- variadic: mn,
1176
- monadic: bn
1188
+ }, Ae = {
1189
+ variadic: vn,
1190
+ monadic: _n
1177
1191
  }, b;
1178
1192
  (function(e) {
1179
1193
  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";
@@ -1186,43 +1200,43 @@ var z;
1186
1200
  (function(e) {
1187
1201
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1188
1202
  })(z || (z = {}));
1189
- function pt(e) {
1203
+ function mt(e) {
1190
1204
  return e.type === _.literal;
1191
1205
  }
1192
- function _n(e) {
1206
+ function wn(e) {
1193
1207
  return e.type === _.argument;
1194
1208
  }
1195
- function Gt(e) {
1209
+ function kt(e) {
1196
1210
  return e.type === _.number;
1197
1211
  }
1198
- function Ft(e) {
1212
+ function Vt(e) {
1199
1213
  return e.type === _.date;
1200
1214
  }
1201
- function jt(e) {
1215
+ function Xt(e) {
1202
1216
  return e.type === _.time;
1203
1217
  }
1204
- function kt(e) {
1218
+ function Wt(e) {
1205
1219
  return e.type === _.select;
1206
1220
  }
1207
- function Vt(e) {
1221
+ function zt(e) {
1208
1222
  return e.type === _.plural;
1209
1223
  }
1210
- function En(e) {
1224
+ function Sn(e) {
1211
1225
  return e.type === _.pound;
1212
1226
  }
1213
- function Xt(e) {
1227
+ function Zt(e) {
1214
1228
  return e.type === _.tag;
1215
1229
  }
1216
- function Wt(e) {
1230
+ function Qt(e) {
1217
1231
  return !!(e && typeof e == "object" && e.type === z.number);
1218
1232
  }
1219
- function Ge(e) {
1233
+ function Fe(e) {
1220
1234
  return !!(e && typeof e == "object" && e.type === z.dateTime);
1221
1235
  }
1222
- var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1223
- function wn(e) {
1236
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1237
+ function Hn(e) {
1224
1238
  var t = {};
1225
- return e.replace(xn, function(r) {
1239
+ return e.replace(Tn, function(r) {
1226
1240
  var n = r.length;
1227
1241
  switch (r[0]) {
1228
1242
  case "G":
@@ -1311,36 +1325,36 @@ function wn(e) {
1311
1325
  return "";
1312
1326
  }), t;
1313
1327
  }
1314
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1315
- function Tn(e) {
1328
+ var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1329
+ function An(e) {
1316
1330
  if (e.length === 0)
1317
1331
  throw new Error("Number skeleton cannot be empty");
1318
- for (var t = e.split(Sn).filter(function(c) {
1319
- return c.length > 0;
1332
+ for (var t = e.split(Bn).filter(function(f) {
1333
+ return f.length > 0;
1320
1334
  }), r = [], n = 0, i = t; n < i.length; n++) {
1321
- var o = i[n], s = o.split("/");
1322
- if (s.length === 0)
1335
+ var o = i[n], a = o.split("/");
1336
+ if (a.length === 0)
1323
1337
  throw new Error("Invalid number skeleton");
1324
- for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1325
- var f = l[u];
1326
- if (f.length === 0)
1338
+ for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1339
+ var c = l[u];
1340
+ if (c.length === 0)
1327
1341
  throw new Error("Invalid number skeleton");
1328
1342
  }
1329
- r.push({ stem: a, options: h });
1343
+ r.push({ stem: s, options: h });
1330
1344
  }
1331
1345
  return r;
1332
1346
  }
1333
- function Hn(e) {
1347
+ function Pn(e) {
1334
1348
  return e.replace(/^(.*?)-/, "");
1335
1349
  }
1336
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1337
- function mt(e) {
1350
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1351
+ function gt(e) {
1338
1352
  var t = {};
1339
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
1353
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1340
1354
  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)), "";
1341
1355
  }), t;
1342
1356
  }
1343
- function Yt(e) {
1357
+ function Kt(e) {
1344
1358
  switch (e) {
1345
1359
  case "sign-auto":
1346
1360
  return {
@@ -1380,7 +1394,7 @@ function Yt(e) {
1380
1394
  };
1381
1395
  }
1382
1396
  }
1383
- function An(e) {
1397
+ function In(e) {
1384
1398
  var t;
1385
1399
  if (e[0] === "E" && e[1] === "E" ? (t = {
1386
1400
  notation: "engineering"
@@ -1388,17 +1402,17 @@ function An(e) {
1388
1402
  notation: "scientific"
1389
1403
  }, e = e.slice(1)), t) {
1390
1404
  var r = e.slice(0, 2);
1391
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1405
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1392
1406
  throw new Error("Malformed concise eng/scientific notation");
1393
1407
  t.minimumIntegerDigits = e.length;
1394
1408
  }
1395
1409
  return t;
1396
1410
  }
1397
- function bt(e) {
1398
- var t = {}, r = Yt(e);
1411
+ function yt(e) {
1412
+ var t = {}, r = Kt(e);
1399
1413
  return r || t;
1400
1414
  }
1401
- function Pn(e) {
1415
+ function Cn(e) {
1402
1416
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1403
1417
  var i = n[r];
1404
1418
  switch (i.stem) {
@@ -1422,7 +1436,7 @@ function Pn(e) {
1422
1436
  continue;
1423
1437
  case "measure-unit":
1424
1438
  case "unit":
1425
- t.style = "unit", t.unit = Hn(i.options[0]);
1439
+ t.style = "unit", t.unit = Pn(i.options[0]);
1426
1440
  continue;
1427
1441
  case "compact-short":
1428
1442
  case "K":
@@ -1434,12 +1448,12 @@ function Pn(e) {
1434
1448
  continue;
1435
1449
  case "scientific":
1436
1450
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1437
- return y(y({}, h), bt(u));
1451
+ return y(y({}, h), yt(u));
1438
1452
  }, {}));
1439
1453
  continue;
1440
1454
  case "engineering":
1441
1455
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1442
- return y(y({}, h), bt(u));
1456
+ return y(y({}, h), yt(u));
1443
1457
  }, {}));
1444
1458
  continue;
1445
1459
  case "notation-simple":
@@ -1484,11 +1498,11 @@ function Pn(e) {
1484
1498
  case "integer-width":
1485
1499
  if (i.options.length > 1)
1486
1500
  throw new RangeError("integer-width stems only accept a single optional option");
1487
- i.options[0].replace(Bn, function(h, u, l, f, c, d) {
1501
+ i.options[0].replace(On, function(h, u, l, c, f, d) {
1488
1502
  if (u)
1489
1503
  t.minimumIntegerDigits = l.length;
1490
1504
  else {
1491
- if (f && c)
1505
+ if (c && f)
1492
1506
  throw new Error("We currently do not support maximum integer digits");
1493
1507
  if (d)
1494
1508
  throw new Error("We currently do not support exact integer digits");
@@ -1497,32 +1511,32 @@ function Pn(e) {
1497
1511
  });
1498
1512
  continue;
1499
1513
  }
1500
- if (Qt.test(i.stem)) {
1514
+ if (Jt.test(i.stem)) {
1501
1515
  t.minimumIntegerDigits = i.stem.length;
1502
1516
  continue;
1503
1517
  }
1504
- if (dt.test(i.stem)) {
1518
+ if (bt.test(i.stem)) {
1505
1519
  if (i.options.length > 1)
1506
1520
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1507
- i.stem.replace(dt, function(h, u, l, f, c, d) {
1508
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1521
+ i.stem.replace(bt, function(h, u, l, c, f, d) {
1522
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1509
1523
  });
1510
1524
  var o = i.options[0];
1511
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), mt(o)));
1525
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
1512
1526
  continue;
1513
1527
  }
1514
- if (Zt.test(i.stem)) {
1515
- t = y(y({}, t), mt(i.stem));
1528
+ if (qt.test(i.stem)) {
1529
+ t = y(y({}, t), gt(i.stem));
1516
1530
  continue;
1517
1531
  }
1518
- var s = Yt(i.stem);
1519
- s && (t = y(y({}, t), s));
1520
- var a = An(i.stem);
1532
+ var a = Kt(i.stem);
1521
1533
  a && (t = y(y({}, t), a));
1534
+ var s = In(i.stem);
1535
+ s && (t = y(y({}, t), s));
1522
1536
  }
1523
1537
  return t;
1524
1538
  }
1525
- var ce = {
1539
+ var fe = {
1526
1540
  "001": [
1527
1541
  "H",
1528
1542
  "h"
@@ -2937,23 +2951,23 @@ var ce = {
2937
2951
  "h"
2938
2952
  ]
2939
2953
  };
2940
- function On(e, t) {
2954
+ function Mn(e, t) {
2941
2955
  for (var r = "", n = 0; n < e.length; n++) {
2942
2956
  var i = e.charAt(n);
2943
2957
  if (i === "j") {
2944
2958
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2945
2959
  o++, n++;
2946
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = In(t);
2947
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2960
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Ln(t);
2961
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2948
2962
  r += h;
2949
- for (; s-- > 0; )
2963
+ for (; a-- > 0; )
2950
2964
  r = u + r;
2951
2965
  } else
2952
2966
  i === "J" ? r += "H" : r += i;
2953
2967
  }
2954
2968
  return r;
2955
2969
  }
2956
- function In(e) {
2970
+ function Ln(e) {
2957
2971
  var t = e.hourCycle;
2958
2972
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2959
2973
  e.hourCycles && // @ts-ignore
@@ -2972,23 +2986,23 @@ function In(e) {
2972
2986
  }
2973
2987
  var r = e.language, n;
2974
2988
  r !== "root" && (n = e.maximize().region);
2975
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2989
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2976
2990
  return i[0];
2977
2991
  }
2978
- var Ae, Cn = new RegExp("^".concat(zt.source, "*")), Mn = new RegExp("".concat(zt.source, "*$"));
2992
+ var Pe, Nn = new RegExp("^".concat(Yt.source, "*")), Rn = new RegExp("".concat(Yt.source, "*$"));
2979
2993
  function g(e, t) {
2980
2994
  return { start: e, end: t };
2981
2995
  }
2982
- var Nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Rn = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, Fn = Gn ? Number.isSafeInteger : function(e) {
2996
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
2983
2997
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2984
- }, Fe = !0;
2998
+ }, je = !0;
2985
2999
  try {
2986
- var jn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2987
- Fe = ((Ae = jn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3000
+ var Xn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3001
+ je = ((Pe = Xn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2988
3002
  } catch {
2989
- Fe = !1;
3003
+ je = !1;
2990
3004
  }
2991
- var gt = Nn ? (
3005
+ var vt = Dn ? (
2992
3006
  // Native
2993
3007
  function(t, r, n) {
2994
3008
  return t.startsWith(r, n);
@@ -2998,31 +3012,31 @@ var gt = Nn ? (
2998
3012
  function(t, r, n) {
2999
3013
  return t.slice(n, n + r.length) === r;
3000
3014
  }
3001
- ), je = Ln ? String.fromCodePoint : (
3015
+ ), ke = $n ? String.fromCodePoint : (
3002
3016
  // IE11
3003
3017
  function() {
3004
3018
  for (var t = [], r = 0; r < arguments.length; r++)
3005
3019
  t[r] = arguments[r];
3006
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3007
- if (s = t[o++], s > 1114111)
3008
- throw RangeError(s + " is not a valid code point");
3009
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3020
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3021
+ if (a = t[o++], a > 1114111)
3022
+ throw RangeError(a + " is not a valid code point");
3023
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3010
3024
  }
3011
3025
  return n;
3012
3026
  }
3013
- ), yt = (
3027
+ ), _t = (
3014
3028
  // native
3015
- Rn ? Object.fromEntries : (
3029
+ Un ? Object.fromEntries : (
3016
3030
  // Ponyfill
3017
3031
  function(t) {
3018
3032
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3019
- var o = i[n], s = o[0], a = o[1];
3020
- r[s] = a;
3033
+ var o = i[n], a = o[0], s = o[1];
3034
+ r[a] = s;
3021
3035
  }
3022
3036
  return r;
3023
3037
  }
3024
3038
  )
3025
- ), qt = Dn ? (
3039
+ ), er = Gn ? (
3026
3040
  // Native
3027
3041
  function(t, r) {
3028
3042
  return t.codePointAt(r);
@@ -3036,7 +3050,7 @@ var gt = Nn ? (
3036
3050
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3037
3051
  }
3038
3052
  }
3039
- ), kn = $n ? (
3053
+ ), Wn = Fn ? (
3040
3054
  // Native
3041
3055
  function(t) {
3042
3056
  return t.trimStart();
@@ -3044,9 +3058,9 @@ var gt = Nn ? (
3044
3058
  ) : (
3045
3059
  // Ponyfill
3046
3060
  function(t) {
3047
- return t.replace(Cn, "");
3061
+ return t.replace(Nn, "");
3048
3062
  }
3049
- ), Vn = Un ? (
3063
+ ), zn = jn ? (
3050
3064
  // Native
3051
3065
  function(t) {
3052
3066
  return t.trimEnd();
@@ -3054,32 +3068,32 @@ var gt = Nn ? (
3054
3068
  ) : (
3055
3069
  // Ponyfill
3056
3070
  function(t) {
3057
- return t.replace(Mn, "");
3071
+ return t.replace(Rn, "");
3058
3072
  }
3059
3073
  );
3060
- function Jt(e, t) {
3074
+ function tr(e, t) {
3061
3075
  return new RegExp(e, t);
3062
3076
  }
3063
- var ke;
3064
- if (Fe) {
3065
- var vt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3066
- ke = function(t, r) {
3077
+ var Ve;
3078
+ if (je) {
3079
+ var Et = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
+ Ve = function(t, r) {
3067
3081
  var n;
3068
- vt.lastIndex = r;
3069
- var i = vt.exec(t);
3082
+ Et.lastIndex = r;
3083
+ var i = Et.exec(t);
3070
3084
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3071
3085
  };
3072
3086
  } else
3073
- ke = function(t, r) {
3087
+ Ve = function(t, r) {
3074
3088
  for (var n = []; ; ) {
3075
- var i = qt(t, r);
3076
- if (i === void 0 || Kt(i) || Zn(i))
3089
+ var i = er(t, r);
3090
+ if (i === void 0 || rr(i) || qn(i))
3077
3091
  break;
3078
3092
  n.push(i), r += i >= 65536 ? 2 : 1;
3079
3093
  }
3080
- return je.apply(void 0, n);
3094
+ return ke.apply(void 0, n);
3081
3095
  };
3082
- var Xn = (
3096
+ var Zn = (
3083
3097
  /** @class */
3084
3098
  function() {
3085
3099
  function e(t, r) {
@@ -3093,33 +3107,33 @@ var Xn = (
3093
3107
  for (var i = []; !this.isEOF(); ) {
3094
3108
  var o = this.char();
3095
3109
  if (o === 123) {
3096
- var s = this.parseArgument(t, n);
3097
- if (s.err)
3098
- return s;
3099
- i.push(s.val);
3110
+ var a = this.parseArgument(t, n);
3111
+ if (a.err)
3112
+ return a;
3113
+ i.push(a.val);
3100
3114
  } else {
3101
3115
  if (o === 125 && t > 0)
3102
3116
  break;
3103
3117
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3104
- var a = this.clonePosition();
3118
+ var s = this.clonePosition();
3105
3119
  this.bump(), i.push({
3106
3120
  type: _.pound,
3107
- location: g(a, this.clonePosition())
3121
+ location: g(s, this.clonePosition())
3108
3122
  });
3109
3123
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3110
3124
  if (n)
3111
3125
  break;
3112
3126
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3113
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3114
- var s = this.parseTag(t, r);
3115
- if (s.err)
3116
- return s;
3117
- i.push(s.val);
3127
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3128
+ var a = this.parseTag(t, r);
3129
+ if (a.err)
3130
+ return a;
3131
+ i.push(a.val);
3118
3132
  } else {
3119
- var s = this.parseLiteral(t, r);
3120
- if (s.err)
3121
- return s;
3122
- i.push(s.val);
3133
+ var a = this.parseLiteral(t, r);
3134
+ if (a.err)
3135
+ return a;
3136
+ i.push(a.val);
3123
3137
  }
3124
3138
  }
3125
3139
  }
@@ -3141,27 +3155,27 @@ var Xn = (
3141
3155
  var o = this.parseMessage(t + 1, r, !0);
3142
3156
  if (o.err)
3143
3157
  return o;
3144
- var s = o.val, a = this.clonePosition();
3158
+ var a = o.val, s = this.clonePosition();
3145
3159
  if (this.bumpIf("</")) {
3146
- if (this.isEOF() || !Ve(this.char()))
3147
- return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3160
+ if (this.isEOF() || !Xe(this.char()))
3161
+ return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3148
3162
  var h = this.clonePosition(), u = this.parseTagName();
3149
3163
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3150
3164
  val: {
3151
3165
  type: _.tag,
3152
3166
  value: i,
3153
- children: s,
3167
+ children: a,
3154
3168
  location: g(n, this.clonePosition())
3155
3169
  },
3156
3170
  err: null
3157
- } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3171
+ } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3158
3172
  } else
3159
3173
  return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3160
3174
  } else
3161
3175
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3162
3176
  }, e.prototype.parseTagName = function() {
3163
3177
  var t = this.offset();
3164
- for (this.bump(); !this.isEOF() && zn(this.char()); )
3178
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3165
3179
  this.bump();
3166
3180
  return this.message.slice(t, this.offset());
3167
3181
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3171,16 +3185,16 @@ var Xn = (
3171
3185
  i += o;
3172
3186
  continue;
3173
3187
  }
3174
- var s = this.tryParseUnquoted(t, r);
3175
- if (s) {
3176
- i += s;
3177
- continue;
3178
- }
3179
- var a = this.tryParseLeftAngleBracket();
3188
+ var a = this.tryParseUnquoted(t, r);
3180
3189
  if (a) {
3181
3190
  i += a;
3182
3191
  continue;
3183
3192
  }
3193
+ var s = this.tryParseLeftAngleBracket();
3194
+ if (s) {
3195
+ i += s;
3196
+ continue;
3197
+ }
3184
3198
  break;
3185
3199
  }
3186
3200
  var h = g(n, this.clonePosition());
@@ -3190,7 +3204,7 @@ var Xn = (
3190
3204
  };
3191
3205
  }, e.prototype.tryParseLeftAngleBracket = function() {
3192
3206
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3193
- !Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3207
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3194
3208
  }, e.prototype.tryParseQuote = function(t) {
3195
3209
  if (this.isEOF() || this.char() !== 39)
3196
3210
  return null;
@@ -3224,12 +3238,12 @@ var Xn = (
3224
3238
  r.push(n);
3225
3239
  this.bump();
3226
3240
  }
3227
- return je.apply(void 0, r);
3241
+ return ke.apply(void 0, r);
3228
3242
  }, e.prototype.tryParseUnquoted = function(t, r) {
3229
3243
  if (this.isEOF())
3230
3244
  return null;
3231
3245
  var n = this.char();
3232
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3246
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3233
3247
  }, e.prototype.parseArgument = function(t, r) {
3234
3248
  var n = this.clonePosition();
3235
3249
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3258,15 +3272,15 @@ var Xn = (
3258
3272
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3259
3273
  }
3260
3274
  }, e.prototype.parseIdentifierIfPossible = function() {
3261
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3275
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3262
3276
  this.bumpTo(i);
3263
- var o = this.clonePosition(), s = g(t, o);
3264
- return { value: n, location: s };
3277
+ var o = this.clonePosition(), a = g(t, o);
3278
+ return { value: n, location: a };
3265
3279
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3266
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3267
- switch (a) {
3280
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3281
+ switch (s) {
3268
3282
  case "":
3269
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, h));
3283
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
3270
3284
  case "number":
3271
3285
  case "date":
3272
3286
  case "time": {
@@ -3274,47 +3288,47 @@ var Xn = (
3274
3288
  var u = null;
3275
3289
  if (this.bumpIf(",")) {
3276
3290
  this.bumpSpace();
3277
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3278
- if (f.err)
3279
- return f;
3280
- var c = Vn(f.val);
3281
- if (c.length === 0)
3291
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3292
+ if (c.err)
3293
+ return c;
3294
+ var f = zn(c.val);
3295
+ if (f.length === 0)
3282
3296
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3283
3297
  var d = g(l, this.clonePosition());
3284
- u = { style: c, styleLocation: d };
3298
+ u = { style: f, styleLocation: d };
3285
3299
  }
3286
3300
  var v = this.tryParseArgumentClose(i);
3287
3301
  if (v.err)
3288
3302
  return v;
3289
3303
  var m = g(i, this.clonePosition());
3290
- if (u && gt(u?.style, "::", 0)) {
3291
- var E = kn(u.style.slice(2));
3292
- if (a === "number") {
3293
- var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3294
- return f.err ? f : {
3295
- val: { type: _.number, value: n, location: m, style: f.val },
3304
+ if (u && vt(u?.style, "::", 0)) {
3305
+ var E = Wn(u.style.slice(2));
3306
+ if (s === "number") {
3307
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3308
+ return c.err ? c : {
3309
+ val: { type: _.number, value: n, location: m, style: c.val },
3296
3310
  err: null
3297
3311
  };
3298
3312
  } else {
3299
3313
  if (E.length === 0)
3300
3314
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3301
- var D = E;
3302
- this.locale && (D = On(E, this.locale));
3303
- var c = {
3315
+ var $ = E;
3316
+ this.locale && ($ = Mn(E, this.locale));
3317
+ var f = {
3304
3318
  type: z.dateTime,
3305
- pattern: D,
3319
+ pattern: $,
3306
3320
  location: u.styleLocation,
3307
- parsedOptions: this.shouldParseSkeletons ? wn(D) : {}
3308
- }, P = a === "date" ? _.date : _.time;
3321
+ parsedOptions: this.shouldParseSkeletons ? Hn($) : {}
3322
+ }, P = s === "date" ? _.date : _.time;
3309
3323
  return {
3310
- val: { type: P, value: n, location: m, style: c },
3324
+ val: { type: P, value: n, location: m, style: f },
3311
3325
  err: null
3312
3326
  };
3313
3327
  }
3314
3328
  }
3315
3329
  return {
3316
3330
  val: {
3317
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3331
+ type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3318
3332
  value: n,
3319
3333
  location: m,
3320
3334
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3329,45 +3343,45 @@ var Xn = (
3329
3343
  if (this.bumpSpace(), !this.bumpIf(","))
3330
3344
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
3331
3345
  this.bumpSpace();
3332
- var M = this.parseIdentifierIfPossible(), B = 0;
3333
- if (a !== "select" && M.value === "offset") {
3346
+ var M = this.parseIdentifierIfPossible(), A = 0;
3347
+ if (s !== "select" && M.value === "offset") {
3334
3348
  if (!this.bumpIf(":"))
3335
3349
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3336
3350
  this.bumpSpace();
3337
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3338
- if (f.err)
3339
- return f;
3340
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), B = f.val;
3351
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3352
+ if (c.err)
3353
+ return c;
3354
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), A = c.val;
3341
3355
  }
3342
- var $ = this.tryParsePluralOrSelectOptions(t, a, r, M);
3343
- if ($.err)
3344
- return $;
3356
+ var L = this.tryParsePluralOrSelectOptions(t, s, r, M);
3357
+ if (L.err)
3358
+ return L;
3345
3359
  var v = this.tryParseArgumentClose(i);
3346
3360
  if (v.err)
3347
3361
  return v;
3348
- var he = g(i, this.clonePosition());
3349
- return a === "select" ? {
3362
+ var ee = g(i, this.clonePosition());
3363
+ return s === "select" ? {
3350
3364
  val: {
3351
3365
  type: _.select,
3352
3366
  value: n,
3353
- options: yt($.val),
3354
- location: he
3367
+ options: _t(L.val),
3368
+ location: ee
3355
3369
  },
3356
3370
  err: null
3357
3371
  } : {
3358
3372
  val: {
3359
3373
  type: _.plural,
3360
3374
  value: n,
3361
- options: yt($.val),
3362
- offset: B,
3363
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3364
- location: he
3375
+ options: _t(L.val),
3376
+ offset: A,
3377
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3378
+ location: ee
3365
3379
  },
3366
3380
  err: null
3367
3381
  };
3368
3382
  }
3369
3383
  default:
3370
- return this.error(b.INVALID_ARGUMENT_TYPE, g(s, h));
3384
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
3371
3385
  }
3372
3386
  }, e.prototype.tryParseArgumentClose = function(t) {
3373
3387
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3409,7 +3423,7 @@ var Xn = (
3409
3423
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3410
3424
  var n = [];
3411
3425
  try {
3412
- n = Tn(t);
3426
+ n = An(t);
3413
3427
  } catch {
3414
3428
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3415
3429
  }
@@ -3418,25 +3432,25 @@ var Xn = (
3418
3432
  type: z.number,
3419
3433
  tokens: n,
3420
3434
  location: r,
3421
- parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3435
+ parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3422
3436
  },
3423
3437
  err: null
3424
3438
  };
3425
3439
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3426
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3440
+ for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3427
3441
  if (u.length === 0) {
3428
- var f = this.clonePosition();
3442
+ var c = this.clonePosition();
3429
3443
  if (r !== "select" && this.bumpIf("=")) {
3430
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3431
- if (c.err)
3432
- return c;
3433
- l = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3444
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3445
+ if (f.err)
3446
+ return f;
3447
+ l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3434
3448
  } else
3435
3449
  break;
3436
3450
  }
3437
3451
  if (h.has(u))
3438
3452
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3439
- u === "other" && (s = !0), this.bumpSpace();
3453
+ u === "other" && (a = !0), this.bumpSpace();
3440
3454
  var d = this.clonePosition();
3441
3455
  if (!this.bumpIf("{"))
3442
3456
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
@@ -3446,7 +3460,7 @@ var Xn = (
3446
3460
  var m = this.tryParseArgumentClose(d);
3447
3461
  if (m.err)
3448
3462
  return m;
3449
- a.push([
3463
+ s.push([
3450
3464
  u,
3451
3465
  {
3452
3466
  value: v.val,
@@ -3454,19 +3468,19 @@ var Xn = (
3454
3468
  }
3455
3469
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3456
3470
  }
3457
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3471
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3458
3472
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3459
3473
  var n = 1, i = this.clonePosition();
3460
3474
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3461
- for (var o = !1, s = 0; !this.isEOF(); ) {
3462
- var a = this.char();
3463
- if (a >= 48 && a <= 57)
3464
- o = !0, s = s * 10 + (a - 48), this.bump();
3475
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3476
+ var s = this.char();
3477
+ if (s >= 48 && s <= 57)
3478
+ o = !0, a = a * 10 + (s - 48), this.bump();
3465
3479
  else
3466
3480
  break;
3467
3481
  }
3468
3482
  var h = g(i, this.clonePosition());
3469
- return o ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3483
+ return o ? (a *= n, Vn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3470
3484
  }, e.prototype.offset = function() {
3471
3485
  return this.position.offset;
3472
3486
  }, e.prototype.isEOF = function() {
@@ -3481,7 +3495,7 @@ var Xn = (
3481
3495
  var t = this.position.offset;
3482
3496
  if (t >= this.message.length)
3483
3497
  throw Error("out of bound");
3484
- var r = qt(this.message, t);
3498
+ var r = er(this.message, t);
3485
3499
  if (r === void 0)
3486
3500
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3487
3501
  return r;
@@ -3500,7 +3514,7 @@ var Xn = (
3500
3514
  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);
3501
3515
  }
3502
3516
  }, e.prototype.bumpIf = function(t) {
3503
- if (gt(this.message, t, this.offset())) {
3517
+ if (vt(this.message, t, this.offset())) {
3504
3518
  for (var r = 0; r < t.length; r++)
3505
3519
  this.bump();
3506
3520
  return !0;
@@ -3522,7 +3536,7 @@ var Xn = (
3522
3536
  break;
3523
3537
  }
3524
3538
  }, e.prototype.bumpSpace = function() {
3525
- for (; !this.isEOF() && Kt(this.char()); )
3539
+ for (; !this.isEOF() && rr(this.char()); )
3526
3540
  this.bump();
3527
3541
  }, e.prototype.peek = function() {
3528
3542
  if (this.isEOF())
@@ -3532,38 +3546,38 @@ var Xn = (
3532
3546
  }, e;
3533
3547
  }()
3534
3548
  );
3535
- function Ve(e) {
3549
+ function Xe(e) {
3536
3550
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3537
3551
  }
3538
- function Wn(e) {
3539
- return Ve(e) || e === 47;
3552
+ function Qn(e) {
3553
+ return Xe(e) || e === 47;
3540
3554
  }
3541
- function zn(e) {
3555
+ function Yn(e) {
3542
3556
  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;
3543
3557
  }
3544
- function Kt(e) {
3558
+ function rr(e) {
3545
3559
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3546
3560
  }
3547
- function Zn(e) {
3561
+ function qn(e) {
3548
3562
  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;
3549
3563
  }
3550
- function Xe(e) {
3564
+ function We(e) {
3551
3565
  e.forEach(function(t) {
3552
- if (delete t.location, kt(t) || Vt(t))
3566
+ if (delete t.location, Wt(t) || zt(t))
3553
3567
  for (var r in t.options)
3554
- delete t.options[r].location, Xe(t.options[r].value);
3568
+ delete t.options[r].location, We(t.options[r].value);
3555
3569
  else
3556
- Gt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
3570
+ kt(t) && Qt(t.style) || (Vt(t) || Xt(t)) && Fe(t.style) ? delete t.style.location : Zt(t) && We(t.children);
3557
3571
  });
3558
3572
  }
3559
- function Qn(e, t) {
3573
+ function Jn(e, t) {
3560
3574
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3561
- var r = new Xn(e, t).parse();
3575
+ var r = new Zn(e, t).parse();
3562
3576
  if (r.err) {
3563
3577
  var n = SyntaxError(b[r.err.kind]);
3564
3578
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3565
3579
  }
3566
- return t?.captureLocation || Xe(r.val), r.val;
3580
+ return t?.captureLocation || We(r.val), r.val;
3567
3581
  }
3568
3582
  var Z;
3569
3583
  (function(e) {
@@ -3581,7 +3595,7 @@ var Ee = (
3581
3595
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3582
3596
  }, t;
3583
3597
  }(Error)
3584
- ), _t = (
3598
+ ), xt = (
3585
3599
  /** @class */
3586
3600
  function(e) {
3587
3601
  C(t, e);
@@ -3590,7 +3604,7 @@ var Ee = (
3590
3604
  }
3591
3605
  return t;
3592
3606
  }(Ee)
3593
- ), Yn = (
3607
+ ), Kn = (
3594
3608
  /** @class */
3595
3609
  function(e) {
3596
3610
  C(t, e);
@@ -3599,7 +3613,7 @@ var Ee = (
3599
3613
  }
3600
3614
  return t;
3601
3615
  }(Ee)
3602
- ), qn = (
3616
+ ), ei = (
3603
3617
  /** @class */
3604
3618
  function(e) {
3605
3619
  C(t, e);
@@ -3612,124 +3626,124 @@ var Ee = (
3612
3626
  (function(e) {
3613
3627
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3614
3628
  })(S || (S = {}));
3615
- function Jn(e) {
3629
+ function ti(e) {
3616
3630
  return e.length < 2 ? e : e.reduce(function(t, r) {
3617
3631
  var n = t[t.length - 1];
3618
3632
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3619
3633
  }, []);
3620
3634
  }
3621
- function Kn(e) {
3635
+ function ri(e) {
3622
3636
  return typeof e == "function";
3623
3637
  }
3624
- function me(e, t, r, n, i, o, s) {
3625
- if (e.length === 1 && pt(e[0]))
3638
+ function me(e, t, r, n, i, o, a) {
3639
+ if (e.length === 1 && mt(e[0]))
3626
3640
  return [
3627
3641
  {
3628
3642
  type: S.literal,
3629
3643
  value: e[0].value
3630
3644
  }
3631
3645
  ];
3632
- for (var a = [], h = 0, u = e; h < u.length; h++) {
3646
+ for (var s = [], h = 0, u = e; h < u.length; h++) {
3633
3647
  var l = u[h];
3634
- if (pt(l)) {
3635
- a.push({
3648
+ if (mt(l)) {
3649
+ s.push({
3636
3650
  type: S.literal,
3637
3651
  value: l.value
3638
3652
  });
3639
3653
  continue;
3640
3654
  }
3641
- if (En(l)) {
3642
- typeof o == "number" && a.push({
3655
+ if (Sn(l)) {
3656
+ typeof o == "number" && s.push({
3643
3657
  type: S.literal,
3644
3658
  value: r.getNumberFormat(t).format(o)
3645
3659
  });
3646
3660
  continue;
3647
3661
  }
3648
- var f = l.value;
3649
- if (!(i && f in i))
3650
- throw new qn(f, s);
3651
- var c = i[f];
3652
- if (_n(l)) {
3653
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3654
- type: typeof c == "string" ? S.literal : S.object,
3655
- value: c
3662
+ var c = l.value;
3663
+ if (!(i && c in i))
3664
+ throw new ei(c, a);
3665
+ var f = i[c];
3666
+ if (wn(l)) {
3667
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3668
+ type: typeof f == "string" ? S.literal : S.object,
3669
+ value: f
3656
3670
  });
3657
3671
  continue;
3658
3672
  }
3659
- if (Ft(l)) {
3660
- var d = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3661
- a.push({
3673
+ if (Vt(l)) {
3674
+ var d = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3675
+ s.push({
3662
3676
  type: S.literal,
3663
- value: r.getDateTimeFormat(t, d).format(c)
3677
+ value: r.getDateTimeFormat(t, d).format(f)
3664
3678
  });
3665
3679
  continue;
3666
3680
  }
3667
- if (jt(l)) {
3668
- var d = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3669
- a.push({
3681
+ if (Xt(l)) {
3682
+ var d = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3683
+ s.push({
3670
3684
  type: S.literal,
3671
- value: r.getDateTimeFormat(t, d).format(c)
3685
+ value: r.getDateTimeFormat(t, d).format(f)
3672
3686
  });
3673
3687
  continue;
3674
3688
  }
3675
- if (Gt(l)) {
3676
- var d = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
3677
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3689
+ if (kt(l)) {
3690
+ var d = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3691
+ d && d.scale && (f = f * (d.scale || 1)), s.push({
3678
3692
  type: S.literal,
3679
- value: r.getNumberFormat(t, d).format(c)
3693
+ value: r.getNumberFormat(t, d).format(f)
3680
3694
  });
3681
3695
  continue;
3682
3696
  }
3683
- if (Xt(l)) {
3697
+ if (Zt(l)) {
3684
3698
  var v = l.children, m = l.value, E = i[m];
3685
- if (!Kn(E))
3686
- throw new Yn(m, "function", s);
3687
- var D = me(v, t, r, n, i, o), P = E(D.map(function(B) {
3688
- return B.value;
3699
+ if (!ri(E))
3700
+ throw new Kn(m, "function", a);
3701
+ var $ = me(v, t, r, n, i, o), P = E($.map(function(A) {
3702
+ return A.value;
3689
3703
  }));
3690
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(B) {
3704
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(A) {
3691
3705
  return {
3692
- type: typeof B == "string" ? S.literal : S.object,
3693
- value: B
3706
+ type: typeof A == "string" ? S.literal : S.object,
3707
+ value: A
3694
3708
  };
3695
3709
  }));
3696
3710
  }
3697
- if (kt(l)) {
3698
- var T = l.options[c] || l.options.other;
3711
+ if (Wt(l)) {
3712
+ var T = l.options[f] || l.options.other;
3699
3713
  if (!T)
3700
- throw new _t(l.value, c, Object.keys(l.options), s);
3701
- a.push.apply(a, me(T.value, t, r, n, i));
3714
+ throw new xt(l.value, f, Object.keys(l.options), a);
3715
+ s.push.apply(s, me(T.value, t, r, n, i));
3702
3716
  continue;
3703
3717
  }
3704
- if (Vt(l)) {
3705
- var T = l.options["=".concat(c)];
3718
+ if (zt(l)) {
3719
+ var T = l.options["=".concat(f)];
3706
3720
  if (!T) {
3707
3721
  if (!Intl.PluralRules)
3708
3722
  throw new Ee(`Intl.PluralRules is not available in this environment.
3709
3723
  Try polyfilling it using "@formatjs/intl-pluralrules"
3710
- `, Z.MISSING_INTL_API, s);
3711
- var M = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3724
+ `, Z.MISSING_INTL_API, a);
3725
+ var M = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3712
3726
  T = l.options[M] || l.options.other;
3713
3727
  }
3714
3728
  if (!T)
3715
- throw new _t(l.value, c, Object.keys(l.options), s);
3716
- a.push.apply(a, me(T.value, t, r, n, i, c - (l.offset || 0)));
3729
+ throw new xt(l.value, f, Object.keys(l.options), a);
3730
+ s.push.apply(s, me(T.value, t, r, n, i, f - (l.offset || 0)));
3717
3731
  continue;
3718
3732
  }
3719
3733
  }
3720
- return Jn(a);
3734
+ return ti(s);
3721
3735
  }
3722
- function ei(e, t) {
3736
+ function ni(e, t) {
3723
3737
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3724
3738
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3725
3739
  }, {})) : e;
3726
3740
  }
3727
- function ti(e, t) {
3741
+ function ii(e, t) {
3728
3742
  return t ? Object.keys(e).reduce(function(r, n) {
3729
- return r[n] = ei(e[n], t[n]), r;
3743
+ return r[n] = ni(e[n], t[n]), r;
3730
3744
  }, y({}, e)) : e;
3731
3745
  }
3732
- function Pe(e) {
3746
+ function Oe(e) {
3733
3747
  return {
3734
3748
  create: function() {
3735
3749
  return {
@@ -3743,39 +3757,39 @@ function Pe(e) {
3743
3757
  }
3744
3758
  };
3745
3759
  }
3746
- function ri(e) {
3760
+ function oi(e) {
3747
3761
  return e === void 0 && (e = {
3748
3762
  number: {},
3749
3763
  dateTime: {},
3750
3764
  pluralRules: {}
3751
3765
  }), {
3752
- getNumberFormat: He(function() {
3766
+ getNumberFormat: Be(function() {
3753
3767
  for (var t, r = [], n = 0; n < arguments.length; n++)
3754
3768
  r[n] = arguments[n];
3755
3769
  return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3756
3770
  }, {
3757
- cache: Pe(e.number),
3758
- strategy: Be.variadic
3771
+ cache: Oe(e.number),
3772
+ strategy: Ae.variadic
3759
3773
  }),
3760
- getDateTimeFormat: He(function() {
3774
+ getDateTimeFormat: Be(function() {
3761
3775
  for (var t, r = [], n = 0; n < arguments.length; n++)
3762
3776
  r[n] = arguments[n];
3763
3777
  return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3764
3778
  }, {
3765
- cache: Pe(e.dateTime),
3766
- strategy: Be.variadic
3779
+ cache: Oe(e.dateTime),
3780
+ strategy: Ae.variadic
3767
3781
  }),
3768
- getPluralRules: He(function() {
3782
+ getPluralRules: Be(function() {
3769
3783
  for (var t, r = [], n = 0; n < arguments.length; n++)
3770
3784
  r[n] = arguments[n];
3771
3785
  return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3772
3786
  }, {
3773
- cache: Pe(e.pluralRules),
3774
- strategy: Be.variadic
3787
+ cache: Oe(e.pluralRules),
3788
+ strategy: Ae.variadic
3775
3789
  })
3776
3790
  };
3777
3791
  }
3778
- var ni = (
3792
+ var si = (
3779
3793
  /** @class */
3780
3794
  function() {
3781
3795
  function e(t, r, n, i) {
@@ -3789,8 +3803,8 @@ var ni = (
3789
3803
  var u = o.formatToParts(h);
3790
3804
  if (u.length === 1)
3791
3805
  return u[0].value;
3792
- var l = u.reduce(function(f, c) {
3793
- return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3806
+ var l = u.reduce(function(c, f) {
3807
+ return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3794
3808
  }, []);
3795
3809
  return l.length <= 1 ? l[0] || "" : l;
3796
3810
  }, this.formatToParts = function(h) {
@@ -3805,15 +3819,15 @@ var ni = (
3805
3819
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3806
3820
  if (this.message = t, !e.__parse)
3807
3821
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3808
- var s = i || {};
3809
- s.formatters;
3810
- var a = Nr(s, ["formatters"]);
3811
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3822
+ var a = i || {};
3823
+ a.formatters;
3824
+ var s = $r(a, ["formatters"]);
3825
+ this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
3812
3826
  } else
3813
3827
  this.ast = t;
3814
3828
  if (!Array.isArray(this.ast))
3815
3829
  throw new TypeError("A message must be provided as a String or AST.");
3816
- this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
3830
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3817
3831
  }
3818
3832
  return Object.defineProperty(e, "defaultLocale", {
3819
3833
  get: function() {
@@ -3826,7 +3840,7 @@ var ni = (
3826
3840
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3827
3841
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3828
3842
  }
3829
- }, e.__parse = Qn, e.formats = {
3843
+ }, e.__parse = Jn, e.formats = {
3830
3844
  number: {
3831
3845
  integer: {
3832
3846
  maximumFractionDigits: 0
@@ -3887,7 +3901,7 @@ var ni = (
3887
3901
  }, e;
3888
3902
  }()
3889
3903
  );
3890
- function ii(e, t) {
3904
+ function ai(e, t) {
3891
3905
  if (t == null)
3892
3906
  return;
3893
3907
  if (t in e)
@@ -3908,92 +3922,92 @@ function ii(e, t) {
3908
3922
  n = void 0;
3909
3923
  return n;
3910
3924
  }
3911
- const R = {}, oi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), er = (e, t) => {
3925
+ const D = {}, ui = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), nr = (e, t) => {
3912
3926
  if (t == null)
3913
3927
  return;
3914
- if (t in R && e in R[t])
3915
- return R[t][e];
3928
+ if (t in D && e in D[t])
3929
+ return D[t][e];
3916
3930
  const r = xe(t);
3917
3931
  for (let n = 0; n < r.length; n++) {
3918
- const i = r[n], o = ai(i, e);
3932
+ const i = r[n], o = li(i, e);
3919
3933
  if (o)
3920
- return oi(e, t, o);
3934
+ return ui(e, t, o);
3921
3935
  }
3922
3936
  };
3923
- let qe;
3924
- const ue = _e({});
3925
- function si(e) {
3926
- return qe[e] || null;
3937
+ let Ke;
3938
+ const he = _e({});
3939
+ function hi(e) {
3940
+ return Ke[e] || null;
3927
3941
  }
3928
- function tr(e) {
3929
- return e in qe;
3942
+ function ir(e) {
3943
+ return e in Ke;
3930
3944
  }
3931
- function ai(e, t) {
3932
- if (!tr(e))
3945
+ function li(e, t) {
3946
+ if (!ir(e))
3933
3947
  return null;
3934
- const r = si(e);
3935
- return ii(r, t);
3948
+ const r = hi(e);
3949
+ return ai(r, t);
3936
3950
  }
3937
- function ui(e) {
3951
+ function ci(e) {
3938
3952
  if (e == null)
3939
3953
  return;
3940
3954
  const t = xe(e);
3941
3955
  for (let r = 0; r < t.length; r++) {
3942
3956
  const n = t[r];
3943
- if (tr(n))
3957
+ if (ir(n))
3944
3958
  return n;
3945
3959
  }
3946
3960
  }
3947
- function rr(e, ...t) {
3948
- delete R[e], ue.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
3961
+ function or(e, ...t) {
3962
+ delete D[e], he.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
3949
3963
  }
3950
3964
  q(
3951
- [ue],
3965
+ [he],
3952
3966
  ([e]) => Object.keys(e)
3953
3967
  );
3954
- ue.subscribe((e) => qe = e);
3968
+ he.subscribe((e) => Ke = e);
3955
3969
  const be = {};
3956
- function hi(e, t) {
3970
+ function fi(e, t) {
3957
3971
  be[e].delete(t), be[e].size === 0 && delete be[e];
3958
3972
  }
3959
- function nr(e) {
3973
+ function sr(e) {
3960
3974
  return be[e];
3961
3975
  }
3962
- function li(e) {
3976
+ function pi(e) {
3963
3977
  return xe(e).map((t) => {
3964
- const r = nr(t);
3978
+ const r = sr(t);
3965
3979
  return [t, r ? [...r] : []];
3966
3980
  }).filter(([, t]) => t.length > 0);
3967
3981
  }
3968
- function We(e) {
3982
+ function ze(e) {
3969
3983
  return e == null ? !1 : xe(e).some(
3970
3984
  (t) => {
3971
3985
  var r;
3972
- return (r = nr(t)) == null ? void 0 : r.size;
3986
+ return (r = sr(t)) == null ? void 0 : r.size;
3973
3987
  }
3974
3988
  );
3975
3989
  }
3976
- function fi(e, t) {
3990
+ function di(e, t) {
3977
3991
  return Promise.all(
3978
- t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
3979
- ).then((n) => rr(e, ...n));
3980
- }
3981
- const ee = {};
3982
- function ir(e) {
3983
- if (!We(e))
3984
- return e in ee ? ee[e] : Promise.resolve();
3985
- const t = li(e);
3986
- return ee[e] = Promise.all(
3992
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3993
+ ).then((n) => or(e, ...n));
3994
+ }
3995
+ const te = {};
3996
+ function ar(e) {
3997
+ if (!ze(e))
3998
+ return e in te ? te[e] : Promise.resolve();
3999
+ const t = pi(e);
4000
+ return te[e] = Promise.all(
3987
4001
  t.map(
3988
- ([r, n]) => fi(r, n)
4002
+ ([r, n]) => di(r, n)
3989
4003
  )
3990
4004
  ).then(() => {
3991
- if (We(e))
3992
- return ir(e);
3993
- delete ee[e];
3994
- }), ee[e];
4005
+ if (ze(e))
4006
+ return ar(e);
4007
+ delete te[e];
4008
+ }), te[e];
3995
4009
  }
3996
- const ci = {
4010
+ const mi = {
3997
4011
  number: {
3998
4012
  scientific: { notation: "scientific" },
3999
4013
  engineering: { notation: "engineering" },
@@ -4022,57 +4036,57 @@ const ci = {
4022
4036
  timeZoneName: "short"
4023
4037
  }
4024
4038
  }
4025
- }, pi = {
4039
+ }, bi = {
4026
4040
  fallbackLocale: null,
4027
4041
  loadingDelay: 200,
4028
- formats: ci,
4042
+ formats: mi,
4029
4043
  warnOnMissingMessages: !0,
4030
4044
  handleMissingMessage: void 0,
4031
4045
  ignoreTag: !0
4032
- }, di = pi;
4046
+ }, gi = bi;
4033
4047
  function Q() {
4034
- return di;
4035
- }
4036
- const Oe = _e(!1);
4037
- var mi = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4038
- for (var r in t)
4039
- yi.call(t, r) && xt(e, r, t[r]);
4040
- if (Et)
4041
- for (var r of Et(t))
4042
- vi.call(t, r) && xt(e, r, t[r]);
4048
+ return gi;
4049
+ }
4050
+ const Ie = _e(!1);
4051
+ var yi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4052
+ for (var r in t || (t = {}))
4053
+ Ei.call(t, r) && St(e, r, t[r]);
4054
+ if (wt)
4055
+ for (var r of wt(t))
4056
+ xi.call(t, r) && St(e, r, t[r]);
4043
4057
  return e;
4044
- }, Ei = (e, t) => bi(e, gi(t));
4045
- let ze;
4058
+ }, Si = (e, t) => vi(e, _i(t));
4059
+ let Ze;
4046
4060
  const ge = _e(null);
4047
- function wt(e) {
4061
+ function Tt(e) {
4048
4062
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4049
4063
  }
4050
4064
  function xe(e, t = Q().fallbackLocale) {
4051
- const r = wt(e);
4052
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4065
+ const r = Tt(e);
4066
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4053
4067
  }
4054
4068
  function U() {
4055
- return ze ?? void 0;
4069
+ return Ze ?? void 0;
4056
4070
  }
4057
4071
  ge.subscribe((e) => {
4058
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4072
+ Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4059
4073
  });
4060
- const xi = (e) => {
4061
- if (e && ui(e) && We(e)) {
4074
+ const Ti = (e) => {
4075
+ if (e && ci(e) && ze(e)) {
4062
4076
  const { loadingDelay: t } = Q();
4063
4077
  let r;
4064
4078
  return typeof window < "u" && U() != null && t ? r = window.setTimeout(
4065
- () => Oe.set(!0),
4079
+ () => Ie.set(!0),
4066
4080
  t
4067
- ) : Oe.set(!0), ir(e).then(() => {
4081
+ ) : Ie.set(!0), ar(e).then(() => {
4068
4082
  ge.set(e);
4069
4083
  }).finally(() => {
4070
- clearTimeout(r), Oe.set(!1);
4084
+ clearTimeout(r), Ie.set(!1);
4071
4085
  });
4072
4086
  }
4073
4087
  return ge.set(e);
4074
- }, J = Ei(_i({}, ge), {
4075
- set: xi
4088
+ }, J = Si(wi({}, ge), {
4089
+ set: Ti
4076
4090
  }), we = (e) => {
4077
4091
  const t = /* @__PURE__ */ Object.create(null);
4078
4092
  return (n) => {
@@ -4080,122 +4094,122 @@ const xi = (e) => {
4080
4094
  return i in t ? t[i] : t[i] = e(n);
4081
4095
  };
4082
4096
  };
4083
- var wi = Object.defineProperty, ye = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4097
+ var Hi = Object.defineProperty, ye = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4084
4098
  for (var r in t || (t = {}))
4085
- or.call(t, r) && St(e, r, t[r]);
4099
+ ur.call(t, r) && Ht(e, r, t[r]);
4086
4100
  if (ye)
4087
4101
  for (var r of ye(t))
4088
- sr.call(t, r) && St(e, r, t[r]);
4102
+ hr.call(t, r) && Ht(e, r, t[r]);
4089
4103
  return e;
4090
4104
  }, K = (e, t) => {
4091
4105
  var r = {};
4092
4106
  for (var n in e)
4093
- or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4107
+ ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4094
4108
  if (e != null && ye)
4095
4109
  for (var n of ye(e))
4096
- t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4110
+ t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4097
4111
  return r;
4098
4112
  };
4099
- const oe = (e, t) => {
4113
+ const se = (e, t) => {
4100
4114
  const { formats: r } = Q();
4101
4115
  if (e in r && t in r[e])
4102
4116
  return r[e][t];
4103
4117
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4104
- }, Si = we(
4118
+ }, Bi = we(
4105
4119
  (e) => {
4106
4120
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4107
4121
  if (r == null)
4108
4122
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4109
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4123
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4110
4124
  }
4111
- ), Ti = we(
4125
+ ), Ai = we(
4112
4126
  (e) => {
4113
4127
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4114
4128
  if (r == null)
4115
4129
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4116
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4130
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4117
4131
  }
4118
- ), Hi = we(
4132
+ ), Pi = we(
4119
4133
  (e) => {
4120
4134
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4121
4135
  if (r == null)
4122
4136
  throw new Error(
4123
4137
  '[svelte-i18n] A "locale" must be set to format time values'
4124
4138
  );
4125
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4139
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4126
4140
  }
4127
- ), Bi = (e = {}) => {
4141
+ ), Oi = (e = {}) => {
4128
4142
  var t = e, {
4129
4143
  locale: r = U()
4130
4144
  } = t, n = K(t, [
4131
4145
  "locale"
4132
4146
  ]);
4133
- return Si(Je({ locale: r }, n));
4134
- }, Ai = (e = {}) => {
4147
+ return Bi(et({ locale: r }, n));
4148
+ }, Ii = (e = {}) => {
4135
4149
  var t = e, {
4136
4150
  locale: r = U()
4137
4151
  } = t, n = K(t, [
4138
4152
  "locale"
4139
4153
  ]);
4140
- return Ti(Je({ locale: r }, n));
4141
- }, Pi = (e = {}) => {
4154
+ return Ai(et({ locale: r }, n));
4155
+ }, Ci = (e = {}) => {
4142
4156
  var t = e, {
4143
4157
  locale: r = U()
4144
4158
  } = t, n = K(t, [
4145
4159
  "locale"
4146
4160
  ]);
4147
- return Hi(Je({ locale: r }, n));
4148
- }, Oi = we(
4161
+ return Pi(et({ locale: r }, n));
4162
+ }, Mi = we(
4149
4163
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4150
- (e, t = U()) => new ni(e, t, Q().formats, {
4164
+ (e, t = U()) => new si(e, t, Q().formats, {
4151
4165
  ignoreTag: Q().ignoreTag
4152
4166
  })
4153
- ), Ii = (e, t = {}) => {
4167
+ ), Li = (e, t = {}) => {
4154
4168
  var r, n, i, o;
4155
- let s = t;
4156
- typeof e == "object" && (s = e, e = s.id);
4169
+ let a = t;
4170
+ typeof e == "object" && (a = e, e = a.id);
4157
4171
  const {
4158
- values: a,
4172
+ values: s,
4159
4173
  locale: h = U(),
4160
4174
  default: u
4161
- } = s;
4175
+ } = a;
4162
4176
  if (h == null)
4163
4177
  throw new Error(
4164
4178
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4165
4179
  );
4166
- let l = er(e, h);
4180
+ let l = nr(e, h);
4167
4181
  if (!l)
4168
4182
  l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4169
4183
  else if (typeof l != "string")
4170
4184
  return console.warn(
4171
4185
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4172
4186
  ), l;
4173
- if (!a)
4187
+ if (!s)
4174
4188
  return l;
4175
- let f = l;
4189
+ let c = l;
4176
4190
  try {
4177
- f = Oi(l, h).format(a);
4178
- } catch (c) {
4179
- c instanceof Error && console.warn(
4191
+ c = Mi(l, h).format(s);
4192
+ } catch (f) {
4193
+ f instanceof Error && console.warn(
4180
4194
  `[svelte-i18n] Message "${e}" has syntax error:`,
4181
- c.message
4195
+ f.message
4182
4196
  );
4183
4197
  }
4184
- return f;
4185
- }, Ci = (e, t) => Pi(t).format(e), Mi = (e, t) => Ai(t).format(e), Ni = (e, t) => Bi(t).format(e), Li = (e, t = U()) => er(e, t), Ri = q([J, ue], () => Ii);
4186
- q([J], () => Ci);
4187
- q([J], () => Mi);
4198
+ return c;
4199
+ }, Ni = (e, t) => Ci(t).format(e), Ri = (e, t) => Ii(t).format(e), Di = (e, t) => Oi(t).format(e), $i = (e, t = U()) => nr(e, t), Ui = q([J, he], () => Li);
4188
4200
  q([J], () => Ni);
4189
- q([J, ue], () => Li);
4190
- window.emWidgets = { topic: Zr };
4191
- const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4192
- function $i(e, t) {
4201
+ q([J], () => Ri);
4202
+ q([J], () => Di);
4203
+ q([J, he], () => $i);
4204
+ window.emWidgets = { topic: Jr };
4205
+ const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4206
+ function Fi(e, t) {
4193
4207
  if (e) {
4194
4208
  const r = document.createElement("style");
4195
4209
  r.innerHTML = t, e.appendChild(r);
4196
4210
  }
4197
4211
  }
4198
- function Ui(e, t) {
4212
+ function ji(e, t) {
4199
4213
  const r = new URL(t);
4200
4214
  fetch(r.href).then((n) => n.text()).then((n) => {
4201
4215
  const i = document.createElement("style");
@@ -4204,7 +4218,7 @@ function Ui(e, t) {
4204
4218
  console.error("There was an error while trying to load client styling from URL", n);
4205
4219
  });
4206
4220
  }
4207
- function Gi(e, t, r) {
4221
+ function ki(e, t, r) {
4208
4222
  if (window.emMessageBus) {
4209
4223
  const n = document.createElement("style");
4210
4224
  window.emMessageBus.subscribe(t, (i) => {
@@ -4212,13 +4226,13 @@ function Gi(e, t, r) {
4212
4226
  });
4213
4227
  }
4214
4228
  }
4215
- function Tt(e, t) {
4216
- rr(e, t);
4229
+ function Bt(e, t) {
4230
+ or(e, t);
4217
4231
  }
4218
- function Fi(e) {
4232
+ function Vi(e) {
4219
4233
  J.set(e);
4220
4234
  }
4221
- const Ht = {
4235
+ const At = {
4222
4236
  en: {
4223
4237
  titleDeposit: "Deposit",
4224
4238
  loading: "Loading, please wait ..."
@@ -4260,20 +4274,20 @@ const Ht = {
4260
4274
  Loading: "Cargando, por favor espere..."
4261
4275
  }
4262
4276
  };
4263
- function ji(e) {
4264
- pr(e, "svelte-1hczjj2", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.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{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
4277
+ function Xi(e) {
4278
+ gr(e, "svelte-1hczjj2", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.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{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
4265
4279
  }
4266
- function ki(e) {
4267
- let t, r, n, i, o, s, a, h, u, l, f = (
4280
+ function Wi(e) {
4281
+ let t, r, n, i, o, a, s, h, u, l, c = (
4268
4282
  /*$_*/
4269
4283
  e[4]("titleDeposit") + ""
4270
- ), c, d, v;
4284
+ ), f, d, v;
4271
4285
  return {
4272
4286
  c() {
4273
- t = I("div"), r = G("svg"), n = G("defs"), i = G("style"), o = re(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = G("g"), a = G("g"), h = G("path"), u = Ie(), l = I("h2"), c = re(f), x(h, "class", "aaa"), x(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(h, "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(l, "class", "DepositTitleMobile"), x(t, "class", "MenuReturnButton");
4287
+ t = I("div"), r = G("svg"), n = G("defs"), i = G("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = G("g"), s = G("g"), h = G("path"), u = Ce(), l = I("h2"), f = ne(c), x(h, "class", "aaa"), x(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(h, "transform", "translate(15 15) rotate(180)"), x(s, "transform", "translate(20 158)"), x(a, "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(l, "class", "DepositTitleMobile"), x(t, "class", "MenuReturnButton");
4274
4288
  },
4275
4289
  m(m, E) {
4276
- ae(m, t, E), w(t, r), w(r, n), w(n, i), w(i, o), w(r, s), w(s, a), w(a, h), w(t, u), w(t, l), w(l, c), d || (v = br(
4290
+ ue(m, t, E), w(t, r), w(r, n), w(n, i), w(i, o), w(r, a), w(a, s), w(s, h), w(t, u), w(t, l), w(l, f), d || (v = _r(
4277
4291
  t,
4278
4292
  "click",
4279
4293
  /*click_handler*/
@@ -4282,27 +4296,27 @@ function ki(e) {
4282
4296
  },
4283
4297
  p(m, E) {
4284
4298
  E & /*$_*/
4285
- 16 && f !== (f = /*$_*/
4286
- m[4]("titleDeposit") + "") && Qe(c, f);
4299
+ 16 && c !== (c = /*$_*/
4300
+ m[4]("titleDeposit") + "") && Ye(f, c);
4287
4301
  },
4288
4302
  d(m) {
4289
4303
  m && Y(t), d = !1, v();
4290
4304
  }
4291
4305
  };
4292
4306
  }
4293
- function Vi(e) {
4307
+ function zi(e) {
4294
4308
  let t, r, n;
4295
4309
  return {
4296
4310
  c() {
4297
- t = I("div"), r = I("iframe"), rt(r.src, n = /*iframeUrl*/
4311
+ t = I("div"), r = I("iframe"), it(r.src, n = /*iframeUrl*/
4298
4312
  e[3]) || x(r, "src", n), x(r, "title", "Deposit Iframe"), x(t, "class", "DepositIframeWrapper");
4299
4313
  },
4300
4314
  m(i, o) {
4301
- ae(i, t, o), w(t, r);
4315
+ ue(i, t, o), w(t, r);
4302
4316
  },
4303
4317
  p(i, o) {
4304
4318
  o & /*iframeUrl*/
4305
- 8 && !rt(r.src, n = /*iframeUrl*/
4319
+ 8 && !it(r.src, n = /*iframeUrl*/
4306
4320
  i[3]) && x(r, "src", n);
4307
4321
  },
4308
4322
  d(i) {
@@ -4310,95 +4324,95 @@ function Vi(e) {
4310
4324
  }
4311
4325
  };
4312
4326
  }
4313
- function Xi(e) {
4327
+ function Zi(e) {
4314
4328
  let t, r = (
4315
4329
  /*$_*/
4316
4330
  e[4]("loading") + ""
4317
4331
  ), n;
4318
4332
  return {
4319
4333
  c() {
4320
- t = I("p"), n = re(r);
4334
+ t = I("p"), n = ne(r);
4321
4335
  },
4322
4336
  m(i, o) {
4323
- ae(i, t, o), w(t, n);
4337
+ ue(i, t, o), w(t, n);
4324
4338
  },
4325
4339
  p(i, o) {
4326
4340
  o & /*$_*/
4327
4341
  16 && r !== (r = /*$_*/
4328
- i[4]("loading") + "") && Qe(n, r);
4342
+ i[4]("loading") + "") && Ye(n, r);
4329
4343
  },
4330
4344
  d(i) {
4331
4345
  i && Y(t);
4332
4346
  }
4333
4347
  };
4334
4348
  }
4335
- function Wi(e) {
4349
+ function Qi(e) {
4336
4350
  let t, r, n, i = (
4337
4351
  /*$_*/
4338
4352
  e[4]("titleDeposit") + ""
4339
- ), o, s, a = (
4353
+ ), o, a, s = (
4340
4354
  /*isMobile*/
4341
- e[5] && ki(e)
4355
+ e[5] && Wi(e)
4342
4356
  );
4343
- function h(f, c) {
4357
+ function h(c, f) {
4344
4358
  return (
4345
4359
  /*isLoading*/
4346
- f[1] ? Xi : Vi
4360
+ c[1] ? Zi : zi
4347
4361
  );
4348
4362
  }
4349
4363
  let u = h(e), l = u(e);
4350
4364
  return {
4351
4365
  c() {
4352
- t = I("div"), a && a.c(), r = Ie(), n = I("h2"), o = re(i), s = Ie(), l.c(), x(n, "class", "DepositTitle " + /*isMobile*/
4366
+ t = I("div"), s && s.c(), r = Ce(), n = I("h2"), o = ne(i), a = Ce(), l.c(), x(n, "class", "DepositTitle " + /*isMobile*/
4353
4367
  (e[5] ? "DepositTitleNone" : "")), x(t, "class", "DepositWrapper " + /*isMobile*/
4354
- (e[5] ? "DepositWrapperMobile" : "")), nt(
4368
+ (e[5] ? "DepositWrapperMobile" : "")), ot(
4355
4369
  t,
4356
4370
  "--dynamic-height",
4357
4371
  /*dynamicHeight*/
4358
4372
  e[2]
4359
4373
  );
4360
4374
  },
4361
- m(f, c) {
4362
- ae(f, t, c), a && a.m(t, null), w(t, r), w(t, n), w(n, o), w(t, s), l.m(t, null), e[19](t);
4375
+ m(c, f) {
4376
+ ue(c, t, f), s && s.m(t, null), w(t, r), w(t, n), w(n, o), w(t, a), l.m(t, null), e[19](t);
4363
4377
  },
4364
- p(f, [c]) {
4378
+ p(c, [f]) {
4365
4379
  /*isMobile*/
4366
- f[5] && a.p(f, c), c & /*$_*/
4380
+ c[5] && s.p(c, f), f & /*$_*/
4367
4381
  16 && i !== (i = /*$_*/
4368
- f[4]("titleDeposit") + "") && Qe(o, i), u === (u = h(f)) && l ? l.p(f, c) : (l.d(1), l = u(f), l && (l.c(), l.m(t, null))), c & /*dynamicHeight*/
4369
- 4 && nt(
4382
+ c[4]("titleDeposit") + "") && Ye(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null))), f & /*dynamicHeight*/
4383
+ 4 && ot(
4370
4384
  t,
4371
4385
  "--dynamic-height",
4372
4386
  /*dynamicHeight*/
4373
- f[2]
4387
+ c[2]
4374
4388
  );
4375
4389
  },
4376
- i: A,
4377
- o: A,
4378
- d(f) {
4379
- f && Y(t), a && a.d(), l.d(), e[19](null);
4390
+ i: B,
4391
+ o: B,
4392
+ d(c) {
4393
+ c && Y(t), s && s.d(), l.d(), e[19](null);
4380
4394
  }
4381
4395
  };
4382
4396
  }
4383
- function zi(e, t, r) {
4397
+ function Yi(e, t, r) {
4384
4398
  let n, i;
4385
- cr(e, Ri, (p) => r(4, i = p));
4386
- let { endpoint: o = "" } = t, { session: s = "" } = t, { playerid: a = "" } = t, { lang: h = "en" } = t, { hasdefaultamount: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { currency: d = "" } = t, { mbsource: v } = t, { shortcashierenabled: m = "false" } = t, E, D = window.navigator.userAgent, P = Di(D) !== "PC", T = !0, M, B = 0, $ = "";
4387
- const he = () => {
4388
- fetch(c).then((N) => N.json()).then((N) => {
4389
- Object.keys(N).forEach((L) => {
4390
- Tt(L, N[L]);
4399
+ br(e, Ui, (p) => r(4, i = p));
4400
+ let { endpoint: o = "" } = t, { session: a = "" } = t, { playerid: s = "" } = t, { lang: h = "en" } = t, { hasdefaultamount: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { currency: d = "" } = t, { mbsource: v } = t, { shortcashierenabled: m = "false" } = t, E, $ = window.navigator.userAgent, P = Gi($) !== "PC", T = !0, M, A, L = 0, ee = "";
4401
+ const lr = () => {
4402
+ fetch(f).then((N) => N.json()).then((N) => {
4403
+ Object.keys(N).forEach((R) => {
4404
+ Bt(R, N[R]);
4391
4405
  });
4392
4406
  }).catch((N) => {
4393
4407
  console.log(N);
4394
4408
  });
4395
4409
  };
4396
- Object.keys(Ht).forEach((p) => {
4397
- Tt(p, Ht[p]);
4410
+ Object.keys(At).forEach((p) => {
4411
+ Bt(p, At[p]);
4398
4412
  });
4399
- const Ke = () => {
4413
+ const tt = () => {
4400
4414
  window.postMessage({ type: "GoToPreviousRoute", isMobile: P }, window.location.href);
4401
- }, et = (p) => {
4415
+ }, rt = (p) => {
4402
4416
  if (p.data) {
4403
4417
  switch (p.data.type) {
4404
4418
  case "ProfileDetailsData":
@@ -4431,90 +4445,90 @@ function zi(e, t, r) {
4431
4445
  break;
4432
4446
  }
4433
4447
  }
4434
- }, ar = () => {
4435
- let p = new URL(`${o}/v1/player/${a}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
4448
+ }, cr = () => {
4449
+ let p = new URL(`${o}/v1/player/${s}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
4436
4450
  if (p.searchParams.append("language", h), n && p.searchParams.append("isShortCashier", m), u)
4437
4451
  switch (d) {
4438
4452
  case "USD":
4439
- B = 0.4;
4453
+ L = 0.4;
4440
4454
  break;
4441
4455
  case "CDF":
4442
- B = 1e3;
4456
+ L = 1e3;
4443
4457
  break;
4444
4458
  }
4445
4459
  let N = {
4446
4460
  method: "POST",
4447
4461
  headers: {
4448
- "X-SessionId": s,
4462
+ "X-SessionId": a,
4449
4463
  currency: d || "EUR",
4450
- amount: B,
4464
+ amount: L,
4451
4465
  cashierMode: "Default",
4452
4466
  IsShortCashier: m,
4453
4467
  accept: "application/json"
4454
4468
  }
4455
4469
  };
4456
- fetch(p.href, N).then((L) => L.json()).then(
4457
- (L) => {
4458
- r(1, T = !1), r(3, $ = L.CashierUrl);
4470
+ fetch(p.href, N).then((R) => R.json()).then(
4471
+ (R) => {
4472
+ r(1, T = !1), r(3, ee = R.CashierUrl);
4459
4473
  },
4460
- (L) => {
4461
- console.error(L);
4474
+ (R) => {
4475
+ console.error(R);
4462
4476
  }
4463
4477
  );
4464
- }, ur = () => {
4465
- Fi(h);
4478
+ }, fr = () => {
4479
+ Vi(h);
4466
4480
  };
4467
- _r(() => (window.addEventListener("message", et, !1), () => {
4468
- window.removeEventListener("message", et);
4481
+ Sr(() => (window.addEventListener("message", rt, !1), () => {
4482
+ window.emMessageBus && A && A.unsubscribe(), window.removeEventListener("message", rt);
4469
4483
  }));
4470
- const hr = () => Ke();
4471
- function lr(p) {
4472
- Ce[p ? "unshift" : "push"](() => {
4484
+ const pr = () => tt();
4485
+ function dr(p) {
4486
+ Me[p ? "unshift" : "push"](() => {
4473
4487
  E = p, r(0, E);
4474
4488
  });
4475
4489
  }
4476
4490
  return e.$$set = (p) => {
4477
- "endpoint" in p && r(8, o = p.endpoint), "session" in p && r(9, s = p.session), "playerid" in p && r(10, a = p.playerid), "lang" in p && r(11, h = p.lang), "hasdefaultamount" in p && r(12, u = p.hasdefaultamount), "clientstyling" in p && r(13, l = p.clientstyling), "clientstylingurl" in p && r(14, f = p.clientstylingurl), "translationurl" in p && r(15, c = p.translationurl), "currency" in p && r(7, d = p.currency), "mbsource" in p && r(16, v = p.mbsource), "shortcashierenabled" in p && r(17, m = p.shortcashierenabled);
4491
+ "endpoint" in p && r(8, o = p.endpoint), "session" in p && r(9, a = p.session), "playerid" in p && r(10, s = p.playerid), "lang" in p && r(11, h = p.lang), "hasdefaultamount" in p && r(12, u = p.hasdefaultamount), "clientstyling" in p && r(13, l = p.clientstyling), "clientstylingurl" in p && r(14, c = p.clientstylingurl), "translationurl" in p && r(15, f = p.translationurl), "currency" in p && r(7, d = p.currency), "mbsource" in p && r(16, v = p.mbsource), "shortcashierenabled" in p && r(17, m = p.shortcashierenabled);
4478
4492
  }, e.$$.update = () => {
4479
4493
  e.$$.dirty & /*lang*/
4480
- 2048 && h && ur(), e.$$.dirty & /*shortcashierenabled*/
4494
+ 2048 && h && fr(), e.$$.dirty & /*shortcashierenabled*/
4481
4495
  131072 && (n = m.toLocaleLowerCase() === "true"), e.$$.dirty & /*clientstyling, customStylingContainer*/
4482
- 8193 && l && E && $i(E, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4483
- 16385 && f && E && Ui(E, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4484
- 65537 && v && E && Gi(E, `${v}.Style`), e.$$.dirty & /*translationurl*/
4485
- 32768 && c && he(), e.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
4486
- 135040 && s && a && o && d && h && m && ar();
4496
+ 8193 && l && E && Fi(E, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4497
+ 16385 && c && E && ji(E, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4498
+ 65537 && v && E && ki(E, `${v}.Style`), e.$$.dirty & /*translationurl*/
4499
+ 32768 && f && lr(), e.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
4500
+ 135040 && a && s && o && d && h && m && cr();
4487
4501
  }, [
4488
4502
  E,
4489
4503
  T,
4490
4504
  M,
4491
- $,
4505
+ ee,
4492
4506
  i,
4493
4507
  P,
4494
- Ke,
4508
+ tt,
4495
4509
  d,
4496
4510
  o,
4497
- s,
4498
4511
  a,
4512
+ s,
4499
4513
  h,
4500
4514
  u,
4501
4515
  l,
4502
- f,
4503
4516
  c,
4517
+ f,
4504
4518
  v,
4505
4519
  m,
4506
- hr,
4507
- lr
4520
+ pr,
4521
+ dr
4508
4522
  ];
4509
4523
  }
4510
- class Zi extends Cr {
4524
+ class qi extends Rr {
4511
4525
  constructor(t) {
4512
- super(), Or(
4526
+ super(), Lr(
4513
4527
  this,
4514
4528
  t,
4515
- zi,
4516
- Wi,
4517
- At,
4529
+ Yi,
4530
+ Qi,
4531
+ Ot,
4518
4532
  {
4519
4533
  endpoint: 8,
4520
4534
  session: 9,
@@ -4528,7 +4542,7 @@ class Zi extends Cr {
4528
4542
  mbsource: 16,
4529
4543
  shortcashierenabled: 17
4530
4544
  },
4531
- ji
4545
+ Xi
4532
4546
  );
4533
4547
  }
4534
4548
  get endpoint() {
@@ -4598,7 +4612,7 @@ class Zi extends Cr {
4598
4612
  this.$$set({ shortcashierenabled: t }), H();
4599
4613
  }
4600
4614
  }
4601
- Ir(Zi, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
4615
+ Nr(qi, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
4602
4616
  export {
4603
- Zi as P
4617
+ qi as P
4604
4618
  };