@everymatrix/player-deposit 1.59.2 → 1.59.3

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