@everymatrix/player-deposit 1.76.1 → 1.76.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,17 +1,17 @@
1
- var Er = Object.defineProperty, xr = Object.defineProperties;
2
- var wr = Object.getOwnPropertyDescriptors;
3
- var ot = Object.getOwnPropertySymbols;
4
- var Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
5
- var Te = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
1
+ var gr = Object.defineProperty, yr = Object.defineProperties;
2
+ var vr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, r) => t in e ? gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Sr.call(t, r) && Te(e, r, t[r]);
8
- if (ot)
9
- for (var r of ot(t))
10
- Tr.call(t, r) && Te(e, r, t[r]);
7
+ _r.call(t, r) && Te(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ Er.call(t, r) && Te(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => xr(e, wr(t));
12
+ }, ot = (e, t) => yr(e, vr(t));
13
13
  var B = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ut = (e, t, r) => new Promise((n, i) => {
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -27,53 +27,53 @@ var ut = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function A() {
30
+ function P() {
31
31
  }
32
- function Nt(e) {
32
+ function Mt(e) {
33
33
  return e();
34
34
  }
35
- function ht() {
35
+ function at() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ue(e) {
39
- e.forEach(Nt);
38
+ function ae(e) {
39
+ e.forEach(Mt);
40
40
  }
41
- function qe(e) {
41
+ function Ye(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Rt(e, t) {
44
+ function Nt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let ce;
48
- function lt(e, t) {
49
- return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
47
+ let fe;
48
+ function ut(e, t) {
49
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
50
50
  }
51
- function Hr(e) {
51
+ function xr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Dt(e, ...t) {
54
+ function Lt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return A;
58
+ return P;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Br(e, t, r) {
64
- e.$$.on_destroy.push(Dt(t, r));
63
+ function wr(e, t, r) {
64
+ e.$$.on_destroy.push(Lt(t, r));
65
65
  }
66
66
  function w(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Ar(e, t, r) {
70
- const n = Pr(e);
69
+ function Sr(e, t, r) {
70
+ const n = Tr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = C("style");
73
- i.id = t, i.textContent = r, Or(n, i);
73
+ i.id = t, i.textContent = r, Hr(n, i);
74
74
  }
75
75
  }
76
- function Pr(e) {
76
+ function Tr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,14 +83,14 @@ function Pr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Or(e, t) {
86
+ function Hr(e, t) {
87
87
  return w(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function he(e, t, r) {
93
+ function ue(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
96
  function q(e) {
@@ -102,29 +102,29 @@ function C(e) {
102
102
  function F(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
- function ie(e) {
105
+ function ne(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function Le() {
109
- return ie(" ");
108
+ function Me() {
109
+ return ne(" ");
110
110
  }
111
- function Ir(e, t, r, n) {
111
+ function Br(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function x(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function Cr(e) {
117
+ function Ar(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function Je(e, t) {
120
+ function qe(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function ct(e, t, r, n) {
124
+ function ht(e, t, r, n) {
125
125
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
126
126
  }
127
- function Mr(e) {
127
+ function Pr(e) {
128
128
  const t = {};
129
129
  return e.childNodes.forEach(
130
130
  /** @param {Element} node */
@@ -133,26 +133,26 @@ function Mr(e) {
133
133
  }
134
134
  ), t;
135
135
  }
136
- let oe;
137
- function ne(e) {
138
- oe = e;
136
+ let ie;
137
+ function re(e) {
138
+ ie = e;
139
139
  }
140
- function Lr() {
141
- if (!oe)
140
+ function Or() {
141
+ if (!ie)
142
142
  throw new Error("Function called outside component initialization");
143
- return oe;
143
+ return ie;
144
144
  }
145
- function Nr(e) {
146
- Lr().$$.on_mount.push(e);
145
+ function Ir(e) {
146
+ Or().$$.on_mount.push(e);
147
147
  }
148
148
  const V = [], Ne = [];
149
149
  let X = [];
150
- const ft = [], Rr = /* @__PURE__ */ Promise.resolve();
151
- let Re = !1;
152
- function Dr() {
153
- Re || (Re = !0, Rr.then(H));
150
+ const lt = [], Cr = /* @__PURE__ */ Promise.resolve();
151
+ let Le = !1;
152
+ function Mr() {
153
+ Le || (Le = !0, Cr.then(H));
154
154
  }
155
- function De(e) {
155
+ function Re(e) {
156
156
  X.push(e);
157
157
  }
158
158
  const He = /* @__PURE__ */ new Set();
@@ -160,17 +160,17 @@ let j = 0;
160
160
  function H() {
161
161
  if (j !== 0)
162
162
  return;
163
- const e = oe;
163
+ const e = ie;
164
164
  do {
165
165
  try {
166
166
  for (; j < V.length; ) {
167
167
  const t = V[j];
168
- j++, ne(t), $r(t.$$);
168
+ j++, re(t), Nr(t.$$);
169
169
  }
170
170
  } catch (t) {
171
171
  throw V.length = 0, j = 0, t;
172
172
  }
173
- for (ne(null), V.length = 0, j = 0; Ne.length; )
173
+ for (re(null), V.length = 0, j = 0; Ne.length; )
174
174
  Ne.pop()();
175
175
  for (let t = 0; t < X.length; t += 1) {
176
176
  const r = X[t];
@@ -178,50 +178,50 @@ function H() {
178
178
  }
179
179
  X.length = 0;
180
180
  } while (V.length);
181
- for (; ft.length; )
182
- ft.pop()();
183
- Re = !1, He.clear(), ne(e);
181
+ for (; lt.length; )
182
+ lt.pop()();
183
+ Le = !1, He.clear(), re(e);
184
184
  }
185
- function $r(e) {
185
+ function Nr(e) {
186
186
  if (e.fragment !== null) {
187
- e.update(), ue(e.before_update);
187
+ e.update(), ae(e.before_update);
188
188
  const t = e.dirty;
189
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
189
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
190
190
  }
191
191
  }
192
- function Ur(e) {
192
+ function Lr(e) {
193
193
  const t = [], r = [];
194
194
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
195
195
  }
196
- const Gr = /* @__PURE__ */ new Set();
197
- function Fr(e, t) {
198
- e && e.i && (Gr.delete(e), e.i(t));
196
+ const Rr = /* @__PURE__ */ new Set();
197
+ function Dr(e, t) {
198
+ e && e.i && (Rr.delete(e), e.i(t));
199
199
  }
200
- function jr(e, t, r) {
200
+ function $r(e, t, r) {
201
201
  const { fragment: n, after_update: i } = e.$$;
202
- n && n.m(t, r), De(() => {
203
- const o = e.$$.on_mount.map(Nt).filter(qe);
204
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
205
- }), i.forEach(De);
202
+ n && n.m(t, r), Re(() => {
203
+ const o = e.$$.on_mount.map(Mt).filter(Ye);
204
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
205
+ }), i.forEach(Re);
206
206
  }
207
- function kr(e, t) {
207
+ function Ur(e, t) {
208
208
  const r = e.$$;
209
- r.fragment !== null && (Ur(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
209
+ r.fragment !== null && (Lr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
210
  }
211
- function Vr(e, t) {
212
- e.$$.dirty[0] === -1 && (V.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
211
+ function Gr(e, t) {
212
+ e.$$.dirty[0] === -1 && (V.push(e), Mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
213
  }
214
- function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
215
- const h = oe;
216
- ne(e);
214
+ function Fr(e, t, r, n, i, o, s = null, a = [-1]) {
215
+ const h = ie;
216
+ re(e);
217
217
  const u = e.$$ = {
218
218
  fragment: null,
219
219
  ctx: [],
220
220
  // state
221
221
  props: o,
222
- update: A,
222
+ update: P,
223
223
  not_equal: i,
224
- bound: ht(),
224
+ bound: at(),
225
225
  // lifecycle
226
226
  on_mount: [],
227
227
  on_destroy: [],
@@ -230,28 +230,28 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
230
230
  after_update: [],
231
231
  context: new Map(t.context || (h ? h.$$.context : [])),
232
232
  // everything else
233
- callbacks: ht(),
233
+ callbacks: at(),
234
234
  dirty: a,
235
235
  skip_bound: !1,
236
236
  root: t.target || h.$$.root
237
237
  };
238
238
  s && s(u.root);
239
239
  let l = !1;
240
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
241
- const v = d.length ? d[0] : f;
242
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Vr(e, c)), f;
243
- }) : [], u.update(), l = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
240
+ if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
241
+ const v = d.length ? d[0] : c;
242
+ return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && Gr(e, f)), c;
243
+ }), u.update(), l = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
244
244
  if (t.hydrate) {
245
- const c = Cr(t.target);
246
- u.fragment && u.fragment.l(c), c.forEach(q);
245
+ const f = Ar(t.target);
246
+ u.fragment && u.fragment.l(f), f.forEach(q);
247
247
  } else
248
248
  u.fragment && u.fragment.c();
249
- t.intro && Fr(e.$$.fragment), jr(e, t.target, t.anchor), H();
249
+ t.intro && Dr(e.$$.fragment), $r(e, t.target, t.anchor), H();
250
250
  }
251
- ne(h);
251
+ re(h);
252
252
  }
253
- let $t;
254
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
253
+ let Rt;
254
+ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
255
255
  constructor(t, r, n) {
256
256
  super();
257
257
  /** The Svelte component constructor */
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
288
288
  }
289
289
  }
290
290
  connectedCallback() {
291
- return ut(this, null, function* () {
291
+ return st(this, null, function* () {
292
292
  if (this.$$cn = !0, !this.$$c) {
293
293
  let t = function(o) {
294
294
  return () => {
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
302
302
  * @param {HTMLElement} [anchor]
303
303
  */
304
304
  m: function(u, l) {
305
- he(u, s, l);
305
+ ue(u, s, l);
306
306
  },
307
307
  d: function(u) {
308
308
  u && q(s);
@@ -312,7 +312,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
312
312
  };
313
313
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
314
314
  return;
315
- const r = {}, n = Mr(this);
315
+ const r = {}, n = Pr(this);
316
316
  for (const o of this.$$s)
317
317
  o in n && (r[o] = [t(o)]);
318
318
  for (const o of this.attributes) {
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
323
323
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
324
324
  this.$$c = new this.$$ctor({
325
325
  target: this.shadowRoot || this,
326
- props: at(st({}, this.$$d), {
326
+ props: ot(it({}, this.$$d), {
327
327
  $$slots: r,
328
328
  $$scope: {
329
329
  ctx: []
@@ -401,8 +401,8 @@ function de(e, t, r, n) {
401
401
  return t;
402
402
  }
403
403
  }
404
- function Wr(e, t, r, n, i, o) {
405
- let s = class extends $t {
404
+ function jr(e, t, r, n, i, o) {
405
+ let s = class extends Rt {
406
406
  constructor() {
407
407
  super(e, r, i), this.$$p_d = t;
408
408
  }
@@ -432,7 +432,7 @@ function Wr(e, t, r, n, i, o) {
432
432
  }), e.element = /** @type {any} */
433
433
  s, s;
434
434
  }
435
- class zr {
435
+ class kr {
436
436
  constructor() {
437
437
  /**
438
438
  * ### PRIVATE API
@@ -453,7 +453,7 @@ class zr {
453
453
  }
454
454
  /** @returns {void} */
455
455
  $destroy() {
456
- kr(this, 1), this.$destroy = A;
456
+ Ur(this, 1), this.$destroy = P;
457
457
  }
458
458
  /**
459
459
  * @template {Extract<keyof Events, string>} K
@@ -462,8 +462,8 @@ class zr {
462
462
  * @returns {() => void}
463
463
  */
464
464
  $on(t, r) {
465
- if (!qe(r))
466
- return A;
465
+ if (!Ye(r))
466
+ return P;
467
467
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
468
468
  return n.push(r), () => {
469
469
  const i = n.indexOf(r);
@@ -475,11 +475,11 @@ class zr {
475
475
  * @returns {void}
476
476
  */
477
477
  $set(t) {
478
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
478
+ this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
479
  }
480
480
  }
481
- const Zr = "4";
482
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
481
+ const Vr = "4";
482
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vr);
483
483
  /*! *****************************************************************************
484
484
  Copyright (c) Microsoft Corporation.
485
485
 
@@ -494,18 +494,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
494
494
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
495
495
  PERFORMANCE OF THIS SOFTWARE.
496
496
  ***************************************************************************** */
497
- var $e = function(e, t) {
498
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
497
+ var De = function(e, t) {
498
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
499
499
  r.__proto__ = n;
500
500
  } || function(r, n) {
501
501
  for (var i in n)
502
502
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
503
- }, $e(e, t);
503
+ }, De(e, t);
504
504
  };
505
505
  function M(e, t) {
506
506
  if (typeof t != "function" && t !== null)
507
507
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
508
- $e(e, t);
508
+ De(e, t);
509
509
  function r() {
510
510
  this.constructor = e;
511
511
  }
@@ -521,7 +521,7 @@ var y = function() {
521
521
  return t;
522
522
  }, y.apply(this, arguments);
523
523
  };
524
- function Qr(e, t) {
524
+ function Xr(e, t) {
525
525
  var r = {};
526
526
  for (var n in e)
527
527
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -530,7 +530,7 @@ function Qr(e, t) {
530
530
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
531
531
  return r;
532
532
  }
533
- function Ue(e) {
533
+ function $e(e) {
534
534
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
535
535
  if (r)
536
536
  return r.call(e);
@@ -542,7 +542,7 @@ function Ue(e) {
542
542
  };
543
543
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
544
544
  }
545
- function Ge(e, t) {
545
+ function Ue(e, t) {
546
546
  var r = typeof Symbol == "function" && e[Symbol.iterator];
547
547
  if (!r)
548
548
  return e;
@@ -571,13 +571,13 @@ function W(e, t, r) {
571
571
  function I(e) {
572
572
  return typeof e == "function";
573
573
  }
574
- function Ut(e) {
574
+ function Dt(e) {
575
575
  var t = function(n) {
576
576
  Error.call(n), n.stack = new Error().stack;
577
577
  }, r = e(t);
578
578
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
579
579
  }
580
- var Be = Ut(function(e) {
580
+ var Be = Dt(function(e) {
581
581
  return function(r) {
582
582
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
583
583
  ` + r.map(function(n, i) {
@@ -586,7 +586,7 @@ var Be = Ut(function(e) {
586
586
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
587
587
  };
588
588
  });
589
- function Fe(e, t) {
589
+ function Ge(e, t) {
590
590
  if (e) {
591
591
  var r = e.indexOf(t);
592
592
  0 <= r && e.splice(r, 1);
@@ -604,7 +604,7 @@ var _e = function() {
604
604
  if (s)
605
605
  if (this._parentage = null, Array.isArray(s))
606
606
  try {
607
- for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
607
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
608
608
  var u = h.value;
609
609
  u.remove(this);
610
610
  }
@@ -627,23 +627,23 @@ var _e = function() {
627
627
  } catch (m) {
628
628
  o = m instanceof Be ? m.errors : [m];
629
629
  }
630
- var c = this._finalizers;
631
- if (c) {
630
+ var f = this._finalizers;
631
+ if (f) {
632
632
  this._finalizers = null;
633
633
  try {
634
- for (var f = Ue(c), d = f.next(); !d.done; d = f.next()) {
634
+ for (var c = $e(f), d = c.next(); !d.done; d = c.next()) {
635
635
  var v = d.value;
636
636
  try {
637
- pt(v);
637
+ ft(v);
638
638
  } catch (m) {
639
- o = o != null ? o : [], m instanceof Be ? o = W(W([], Ge(o)), Ge(m.errors)) : o.push(m);
639
+ o = o != null ? o : [], m instanceof Be ? o = W(W([], Ue(o)), Ue(m.errors)) : o.push(m);
640
640
  }
641
641
  }
642
642
  } catch (m) {
643
643
  n = { error: m };
644
644
  } finally {
645
645
  try {
646
- d && !d.done && (i = f.return) && i.call(f);
646
+ d && !d.done && (i = c.return) && i.call(c);
647
647
  } finally {
648
648
  if (n)
649
649
  throw n.error;
@@ -657,7 +657,7 @@ var _e = function() {
657
657
  var r;
658
658
  if (t && t !== this)
659
659
  if (this.closed)
660
- pt(t);
660
+ ft(t);
661
661
  else {
662
662
  if (t instanceof e) {
663
663
  if (t.closed || t._hasParent(this))
@@ -674,56 +674,56 @@ var _e = function() {
674
674
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
675
675
  }, e.prototype._removeParent = function(t) {
676
676
  var r = this._parentage;
677
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
677
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
678
678
  }, e.prototype.remove = function(t) {
679
679
  var r = this._finalizers;
680
- r && Fe(r, t), t instanceof e && t._removeParent(this);
680
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
681
681
  }, e.EMPTY = function() {
682
682
  var t = new e();
683
683
  return t.closed = !0, t;
684
684
  }(), e;
685
- }(), Gt = _e.EMPTY;
686
- function Ft(e) {
685
+ }(), $t = _e.EMPTY;
686
+ function Ut(e) {
687
687
  return e instanceof _e || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
688
688
  }
689
- function pt(e) {
689
+ function ft(e) {
690
690
  I(e) ? e() : e.unsubscribe();
691
691
  }
692
- var jt = {
692
+ var Wr = {
693
693
  onUnhandledError: null,
694
694
  onStoppedNotification: null,
695
695
  Promise: void 0,
696
696
  useDeprecatedSynchronousErrorHandling: !1,
697
697
  useDeprecatedNextContext: !1
698
- }, Yr = {
698
+ }, zr = {
699
699
  setTimeout: function(e, t) {
700
700
  for (var r = [], n = 2; n < arguments.length; n++)
701
701
  r[n - 2] = arguments[n];
702
- return setTimeout.apply(void 0, W([e, t], Ge(r)));
702
+ return setTimeout.apply(void 0, W([e, t], Ue(r)));
703
703
  },
704
704
  clearTimeout: function(e) {
705
705
  return clearTimeout(e);
706
706
  },
707
707
  delegate: void 0
708
708
  };
709
- function qr(e) {
710
- Yr.setTimeout(function() {
709
+ function Zr(e) {
710
+ zr.setTimeout(function() {
711
711
  throw e;
712
712
  });
713
713
  }
714
- function dt() {
714
+ function ct() {
715
715
  }
716
716
  function me(e) {
717
717
  e();
718
718
  }
719
- var kt = function(e) {
719
+ var Gt = function(e) {
720
720
  M(t, e);
721
721
  function t(r) {
722
722
  var n = e.call(this) || this;
723
- return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = tn, n;
723
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = qr, n;
724
724
  }
725
725
  return t.create = function(r, n, i) {
726
- return new je(r, n, i);
726
+ return new Fe(r, n, i);
727
727
  }, t.prototype.next = function(r) {
728
728
  this.isStopped || this._next(r);
729
729
  }, t.prototype.error = function(r) {
@@ -747,11 +747,7 @@ var kt = function(e) {
747
747
  this.unsubscribe();
748
748
  }
749
749
  }, t;
750
- }(_e), Jr = Function.prototype.bind;
751
- function Ae(e, t) {
752
- return Jr.call(e, t);
753
- }
754
- var Kr = function() {
750
+ }(_e), Qr = function() {
755
751
  function e(t) {
756
752
  this.partialObserver = t;
757
753
  }
@@ -761,7 +757,7 @@ var Kr = function() {
761
757
  try {
762
758
  r.next(t);
763
759
  } catch (n) {
764
- fe(n);
760
+ ce(n);
765
761
  }
766
762
  }, e.prototype.error = function(t) {
767
763
  var r = this.partialObserver;
@@ -769,68 +765,56 @@ var Kr = function() {
769
765
  try {
770
766
  r.error(t);
771
767
  } catch (n) {
772
- fe(n);
768
+ ce(n);
773
769
  }
774
770
  else
775
- fe(t);
771
+ ce(t);
776
772
  }, e.prototype.complete = function() {
777
773
  var t = this.partialObserver;
778
774
  if (t.complete)
779
775
  try {
780
776
  t.complete();
781
777
  } catch (r) {
782
- fe(r);
778
+ ce(r);
783
779
  }
784
780
  }, e;
785
- }(), je = function(e) {
781
+ }(), Fe = function(e) {
786
782
  M(t, e);
787
783
  function t(r, n, i) {
788
784
  var o = e.call(this) || this, s;
789
- if (I(r) || !r)
790
- s = {
791
- next: r != null ? r : void 0,
792
- error: n != null ? n : void 0,
793
- complete: i != null ? i : void 0
794
- };
795
- else {
796
- var a;
797
- o && jt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
798
- return o.unsubscribe();
799
- }, s = {
800
- next: r.next && Ae(r.next, a),
801
- error: r.error && Ae(r.error, a),
802
- complete: r.complete && Ae(r.complete, a)
803
- }) : s = r;
804
- }
805
- return o.destination = new Kr(s), o;
785
+ return I(r) || !r ? s = {
786
+ next: r != null ? r : void 0,
787
+ error: n != null ? n : void 0,
788
+ complete: i != null ? i : void 0
789
+ } : s = r, o.destination = new Qr(s), o;
806
790
  }
807
791
  return t;
808
- }(kt);
809
- function fe(e) {
810
- qr(e);
792
+ }(Gt);
793
+ function ce(e) {
794
+ Zr(e);
811
795
  }
812
- function en(e) {
796
+ function Yr(e) {
813
797
  throw e;
814
798
  }
815
- var tn = {
799
+ var qr = {
816
800
  closed: !0,
817
- next: dt,
818
- error: en,
819
- complete: dt
820
- }, rn = function() {
801
+ next: ct,
802
+ error: Yr,
803
+ complete: ct
804
+ }, Jr = function() {
821
805
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
822
806
  }();
823
- function nn(e) {
807
+ function Kr(e) {
824
808
  return e;
825
809
  }
826
- function on(e) {
827
- return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
810
+ function en(e) {
811
+ return e.length === 0 ? Kr : e.length === 1 ? e[0] : function(r) {
828
812
  return e.reduce(function(n, i) {
829
813
  return i(n);
830
814
  }, r);
831
815
  };
832
816
  }
833
- var mt = function() {
817
+ var pt = function() {
834
818
  function e(t) {
835
819
  t && (this._subscribe = t);
836
820
  }
@@ -838,7 +822,7 @@ var mt = function() {
838
822
  var r = new e();
839
823
  return r.source = this, r.operator = t, r;
840
824
  }, e.prototype.subscribe = function(t, r, n) {
841
- var i = this, o = an(t) ? t : new je(t, r, n);
825
+ var i = this, o = rn(t) ? t : new Fe(t, r, n);
842
826
  return me(function() {
843
827
  var s = i, a = s.operator, h = s.source;
844
828
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -851,8 +835,8 @@ var mt = function() {
851
835
  }
852
836
  }, e.prototype.forEach = function(t, r) {
853
837
  var n = this;
854
- return r = bt(r), new r(function(i, o) {
855
- var s = new je({
838
+ return r = dt(r), new r(function(i, o) {
839
+ var s = new Fe({
856
840
  next: function(a) {
857
841
  try {
858
842
  t(a);
@@ -868,15 +852,15 @@ var mt = function() {
868
852
  }, e.prototype._subscribe = function(t) {
869
853
  var r;
870
854
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
871
- }, e.prototype[rn] = function() {
855
+ }, e.prototype[Jr] = function() {
872
856
  return this;
873
857
  }, e.prototype.pipe = function() {
874
858
  for (var t = [], r = 0; r < arguments.length; r++)
875
859
  t[r] = arguments[r];
876
- return on(t)(this);
860
+ return en(t)(this);
877
861
  }, e.prototype.toPromise = function(t) {
878
862
  var r = this;
879
- return t = bt(t), new t(function(n, i) {
863
+ return t = dt(t), new t(function(n, i) {
880
864
  var o;
881
865
  r.subscribe(function(s) {
882
866
  return o = s;
@@ -890,32 +874,32 @@ var mt = function() {
890
874
  return new e(t);
891
875
  }, e;
892
876
  }();
893
- function bt(e) {
877
+ function dt(e) {
894
878
  var t;
895
- return (t = e != null ? e : jt.Promise) !== null && t !== void 0 ? t : Promise;
879
+ return (t = e != null ? e : Wr.Promise) !== null && t !== void 0 ? t : Promise;
896
880
  }
897
- function sn(e) {
881
+ function tn(e) {
898
882
  return e && I(e.next) && I(e.error) && I(e.complete);
899
883
  }
900
- function an(e) {
901
- return e && e instanceof kt || sn(e) && Ft(e);
884
+ function rn(e) {
885
+ return e && e instanceof Gt || tn(e) && Ut(e);
902
886
  }
903
- var un = Ut(function(e) {
887
+ var nn = Dt(function(e) {
904
888
  return function() {
905
889
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
906
890
  };
907
- }), Vt = function(e) {
891
+ }), Ft = function(e) {
908
892
  M(t, e);
909
893
  function t() {
910
894
  var r = e.call(this) || this;
911
895
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
912
896
  }
913
897
  return t.prototype.lift = function(r) {
914
- var n = new gt(this, this);
898
+ var n = new mt(this, this);
915
899
  return n.operator = r, n;
916
900
  }, t.prototype._throwIfClosed = function() {
917
901
  if (this.closed)
918
- throw new un();
902
+ throw new nn();
919
903
  }, t.prototype.next = function(r) {
920
904
  var n = this;
921
905
  me(function() {
@@ -923,7 +907,7 @@ var un = Ut(function(e) {
923
907
  if (n._throwIfClosed(), !n.isStopped) {
924
908
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
925
909
  try {
926
- for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
910
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
927
911
  var h = a.value;
928
912
  h.next(r);
929
913
  }
@@ -972,19 +956,19 @@ var un = Ut(function(e) {
972
956
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
973
957
  }, t.prototype._innerSubscribe = function(r) {
974
958
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
975
- return o || s ? Gt : (this.currentObservers = null, a.push(r), new _e(function() {
976
- n.currentObservers = null, Fe(a, r);
959
+ return o || s ? $t : (this.currentObservers = null, a.push(r), new _e(function() {
960
+ n.currentObservers = null, Ge(a, r);
977
961
  }));
978
962
  }, t.prototype._checkFinalizedStatuses = function(r) {
979
963
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
980
964
  i ? r.error(o) : s && r.complete();
981
965
  }, t.prototype.asObservable = function() {
982
- var r = new mt();
966
+ var r = new pt();
983
967
  return r.source = this, r;
984
968
  }, t.create = function(r, n) {
985
- return new gt(r, n);
969
+ return new mt(r, n);
986
970
  }, t;
987
- }(mt), gt = function(e) {
971
+ }(pt), mt = function(e) {
988
972
  M(t, e);
989
973
  function t(r, n) {
990
974
  var i = e.call(this) || this;
@@ -1001,17 +985,17 @@ var un = Ut(function(e) {
1001
985
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1002
986
  }, t.prototype._subscribe = function(r) {
1003
987
  var n, i;
1004
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
988
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
1005
989
  }, t;
1006
- }(Vt), Xt = {
990
+ }(Ft), jt = {
1007
991
  now: function() {
1008
- return (Xt.delegate || Date).now();
992
+ return (jt.delegate || Date).now();
1009
993
  },
1010
994
  delegate: void 0
1011
- }, hn = function(e) {
995
+ }, on = function(e) {
1012
996
  M(t, e);
1013
997
  function t(r, n, i) {
1014
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xt);
998
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1015
999
  var o = e.call(this) || this;
1016
1000
  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;
1017
1001
  }
@@ -1031,24 +1015,24 @@ var un = Ut(function(e) {
1031
1015
  u && o.splice(0, u + 1);
1032
1016
  }
1033
1017
  }, t;
1034
- }(Vt);
1035
- const yt = [], vt = {}, ln = (e, t = 0) => {
1036
- if (yt.indexOf(e) == -1) {
1037
- const r = new hn(t);
1038
- vt[e] = r, yt.push(e);
1018
+ }(Ft);
1019
+ const bt = [], gt = {}, sn = (e, t = 0) => {
1020
+ if (bt.indexOf(e) == -1) {
1021
+ const r = new on(t);
1022
+ gt[e] = r, bt.push(e);
1039
1023
  }
1040
- return vt[e];
1024
+ return gt[e];
1041
1025
  }, k = [];
1042
- function cn(e, t) {
1026
+ function an(e, t) {
1043
1027
  return {
1044
1028
  subscribe: Ee(e, t).subscribe
1045
1029
  };
1046
1030
  }
1047
- function Ee(e, t = A) {
1031
+ function Ee(e, t = P) {
1048
1032
  let r;
1049
1033
  const n = /* @__PURE__ */ new Set();
1050
1034
  function i(a) {
1051
- if (Rt(e, a) && (e = a, r)) {
1035
+ if (Nt(e, a) && (e = a, r)) {
1052
1036
  const h = !k.length;
1053
1037
  for (const u of n)
1054
1038
  u[1](), k.push(u, e);
@@ -1062,9 +1046,9 @@ function Ee(e, t = A) {
1062
1046
  function o(a) {
1063
1047
  i(a(e));
1064
1048
  }
1065
- function s(a, h = A) {
1049
+ function s(a, h = P) {
1066
1050
  const u = [a, h];
1067
- return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
1051
+ return n.add(u), n.size === 1 && (r = t(i, o) || P), a(e), () => {
1068
1052
  n.delete(u), n.size === 0 && r && (r(), r = null);
1069
1053
  };
1070
1054
  }
@@ -1075,96 +1059,96 @@ function J(e, t, r) {
1075
1059
  if (!i.every(Boolean))
1076
1060
  throw new Error("derived() expects stores as input, got a falsy value");
1077
1061
  const o = t.length < 2;
1078
- return cn(r, (s, a) => {
1062
+ return an(r, (s, a) => {
1079
1063
  let h = !1;
1080
1064
  const u = [];
1081
- let l = 0, c = A;
1082
- const f = () => {
1065
+ let l = 0, f = P;
1066
+ const c = () => {
1083
1067
  if (l)
1084
1068
  return;
1085
- c();
1069
+ f();
1086
1070
  const v = t(n ? u[0] : u, s, a);
1087
- o ? s(v) : c = qe(v) ? v : A;
1071
+ o ? s(v) : f = Ye(v) ? v : P;
1088
1072
  }, d = i.map(
1089
- (v, m) => Dt(
1073
+ (v, m) => Lt(
1090
1074
  v,
1091
1075
  (E) => {
1092
- u[m] = E, l &= ~(1 << m), h && f();
1076
+ u[m] = E, l &= ~(1 << m), h && c();
1093
1077
  },
1094
1078
  () => {
1095
1079
  l |= 1 << m;
1096
1080
  }
1097
1081
  )
1098
1082
  );
1099
- return h = !0, f(), function() {
1100
- ue(d), c(), h = !1;
1083
+ return h = !0, c(), function() {
1084
+ ae(d), f(), h = !1;
1101
1085
  };
1102
1086
  });
1103
1087
  }
1104
- function fn(e) {
1105
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1088
+ function un(e) {
1089
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1106
1090
  }
1107
- var pn = function(t) {
1108
- return dn(t) && !mn(t);
1091
+ var hn = function(t) {
1092
+ return ln(t) && !fn(t);
1109
1093
  };
1110
- function dn(e) {
1094
+ function ln(e) {
1111
1095
  return !!e && typeof e == "object";
1112
1096
  }
1113
- function mn(e) {
1097
+ function fn(e) {
1114
1098
  var t = Object.prototype.toString.call(e);
1115
- return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1099
+ return t === "[object RegExp]" || t === "[object Date]" || dn(e);
1116
1100
  }
1117
- var bn = typeof Symbol == "function" && Symbol.for, gn = bn ? Symbol.for("react.element") : 60103;
1118
- function yn(e) {
1119
- return e.$$typeof === gn;
1101
+ var cn = typeof Symbol == "function" && Symbol.for, pn = cn ? Symbol.for("react.element") : 60103;
1102
+ function dn(e) {
1103
+ return e.$$typeof === pn;
1120
1104
  }
1121
- function vn(e) {
1105
+ function mn(e) {
1122
1106
  return Array.isArray(e) ? [] : {};
1123
1107
  }
1124
- function se(e, t) {
1125
- return t.clone !== !1 && t.isMergeableObject(e) ? z(vn(e), e, t) : e;
1108
+ function oe(e, t) {
1109
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(mn(e), e, t) : e;
1126
1110
  }
1127
- function _n(e, t, r) {
1111
+ function bn(e, t, r) {
1128
1112
  return e.concat(t).map(function(n) {
1129
- return se(n, r);
1113
+ return oe(n, r);
1130
1114
  });
1131
1115
  }
1132
- function En(e, t) {
1116
+ function gn(e, t) {
1133
1117
  if (!t.customMerge)
1134
1118
  return z;
1135
1119
  var r = t.customMerge(e);
1136
1120
  return typeof r == "function" ? r : z;
1137
1121
  }
1138
- function xn(e) {
1122
+ function yn(e) {
1139
1123
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1140
1124
  return Object.propertyIsEnumerable.call(e, t);
1141
1125
  }) : [];
1142
1126
  }
1143
- function _t(e) {
1144
- return Object.keys(e).concat(xn(e));
1127
+ function yt(e) {
1128
+ return Object.keys(e).concat(yn(e));
1145
1129
  }
1146
- function Wt(e, t) {
1130
+ function kt(e, t) {
1147
1131
  try {
1148
1132
  return t in e;
1149
1133
  } catch (r) {
1150
1134
  return !1;
1151
1135
  }
1152
1136
  }
1153
- function wn(e, t) {
1154
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1137
+ function vn(e, t) {
1138
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1155
1139
  }
1156
- function Sn(e, t, r) {
1140
+ function _n(e, t, r) {
1157
1141
  var n = {};
1158
- return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1159
- n[i] = se(e[i], r);
1160
- }), _t(t).forEach(function(i) {
1161
- wn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1142
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1143
+ n[i] = oe(e[i], r);
1144
+ }), yt(t).forEach(function(i) {
1145
+ vn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1162
1146
  }), n;
1163
1147
  }
1164
1148
  function z(e, t, r) {
1165
- r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = se;
1149
+ r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = oe;
1166
1150
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1167
- return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : se(t, r);
1151
+ return o ? n ? r.arrayMerge(e, t, r) : _n(e, t, r) : oe(t, r);
1168
1152
  }
1169
1153
  z.all = function(t, r) {
1170
1154
  if (!Array.isArray(t))
@@ -1173,58 +1157,60 @@ z.all = function(t, r) {
1173
1157
  return z(n, i, r);
1174
1158
  }, {});
1175
1159
  };
1176
- var Tn = z, Hn = Tn;
1177
- const Bn = /* @__PURE__ */ fn(Hn);
1178
- function Pe(e, t) {
1179
- var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : Cn, i = t && t.strategy ? t.strategy : Pn;
1160
+ var En = z, xn = En;
1161
+ const wn = /* @__PURE__ */ un(xn);
1162
+ function Ae(e, t) {
1163
+ var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Tn;
1180
1164
  return i(e, {
1181
1165
  cache: r,
1182
1166
  serializer: n
1183
1167
  });
1184
1168
  }
1185
- function An(e) {
1169
+ function Sn(e) {
1186
1170
  return e == null || typeof e == "number" || typeof e == "boolean";
1187
1171
  }
1188
- function zt(e, t, r, n) {
1189
- var i = An(n) ? n : r(n), o = t.get(i);
1172
+ function Vt(e, t, r, n) {
1173
+ var i = Sn(n) ? n : r(n), o = t.get(i);
1190
1174
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1191
1175
  }
1192
- function Zt(e, t, r) {
1176
+ function Xt(e, t, r) {
1193
1177
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1194
1178
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1195
1179
  }
1196
- function Ke(e, t, r, n, i) {
1180
+ function Je(e, t, r, n, i) {
1197
1181
  return r.bind(t, e, n, i);
1198
1182
  }
1199
- function Pn(e, t) {
1200
- var r = e.length === 1 ? zt : Zt;
1201
- return Ke(e, this, r, t.cache.create(), t.serializer);
1183
+ function Tn(e, t) {
1184
+ var r = e.length === 1 ? Vt : Xt;
1185
+ return Je(e, this, r, t.cache.create(), t.serializer);
1202
1186
  }
1203
- function On(e, t) {
1204
- return Ke(e, this, Zt, t.cache.create(), t.serializer);
1187
+ function Hn(e, t) {
1188
+ return Je(e, this, Xt, t.cache.create(), t.serializer);
1205
1189
  }
1206
- function In(e, t) {
1207
- return Ke(e, this, zt, t.cache.create(), t.serializer);
1190
+ function Bn(e, t) {
1191
+ return Je(e, this, Vt, t.cache.create(), t.serializer);
1208
1192
  }
1209
- var Cn = function() {
1193
+ var An = function() {
1210
1194
  return JSON.stringify(arguments);
1211
- };
1212
- function et() {
1213
- this.cache = /* @__PURE__ */ Object.create(null);
1214
- }
1215
- et.prototype.get = function(e) {
1216
- return this.cache[e];
1217
- };
1218
- et.prototype.set = function(e, t) {
1219
- this.cache[e] = t;
1220
- };
1221
- var Mn = {
1195
+ }, Pn = (
1196
+ /** @class */
1197
+ function() {
1198
+ function e() {
1199
+ this.cache = /* @__PURE__ */ Object.create(null);
1200
+ }
1201
+ return e.prototype.get = function(t) {
1202
+ return this.cache[t];
1203
+ }, e.prototype.set = function(t, r) {
1204
+ this.cache[t] = r;
1205
+ }, e;
1206
+ }()
1207
+ ), On = {
1222
1208
  create: function() {
1223
- return new et();
1209
+ return new Pn();
1224
1210
  }
1225
- }, Oe = {
1226
- variadic: On,
1227
- monadic: In
1211
+ }, Pe = {
1212
+ variadic: Hn,
1213
+ monadic: Bn
1228
1214
  }, b;
1229
1215
  (function(e) {
1230
1216
  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";
@@ -1237,43 +1223,43 @@ var Z;
1237
1223
  (function(e) {
1238
1224
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1239
1225
  })(Z || (Z = {}));
1240
- function Et(e) {
1226
+ function vt(e) {
1241
1227
  return e.type === _.literal;
1242
1228
  }
1243
- function Ln(e) {
1229
+ function In(e) {
1244
1230
  return e.type === _.argument;
1245
1231
  }
1246
- function Qt(e) {
1232
+ function Wt(e) {
1247
1233
  return e.type === _.number;
1248
1234
  }
1249
- function Yt(e) {
1235
+ function zt(e) {
1250
1236
  return e.type === _.date;
1251
1237
  }
1252
- function qt(e) {
1238
+ function Zt(e) {
1253
1239
  return e.type === _.time;
1254
1240
  }
1255
- function Jt(e) {
1241
+ function Qt(e) {
1256
1242
  return e.type === _.select;
1257
1243
  }
1258
- function Kt(e) {
1244
+ function Yt(e) {
1259
1245
  return e.type === _.plural;
1260
1246
  }
1261
- function Nn(e) {
1247
+ function Cn(e) {
1262
1248
  return e.type === _.pound;
1263
1249
  }
1264
- function er(e) {
1250
+ function qt(e) {
1265
1251
  return e.type === _.tag;
1266
1252
  }
1267
- function tr(e) {
1253
+ function Jt(e) {
1268
1254
  return !!(e && typeof e == "object" && e.type === Z.number);
1269
1255
  }
1270
- function ke(e) {
1256
+ function je(e) {
1271
1257
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
1272
1258
  }
1273
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
1274
- function Dn(e) {
1259
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1260
+ function Nn(e) {
1275
1261
  var t = {};
1276
- return e.replace(Rn, function(r) {
1262
+ return e.replace(Mn, function(r) {
1277
1263
  var n = r.length;
1278
1264
  switch (r[0]) {
1279
1265
  case "G":
@@ -1362,36 +1348,36 @@ function Dn(e) {
1362
1348
  return "";
1363
1349
  }), t;
1364
1350
  }
1365
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1366
- function Un(e) {
1351
+ var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1352
+ function Rn(e) {
1367
1353
  if (e.length === 0)
1368
1354
  throw new Error("Number skeleton cannot be empty");
1369
- for (var t = e.split($n).filter(function(f) {
1370
- return f.length > 0;
1355
+ for (var t = e.split(Ln).filter(function(c) {
1356
+ return c.length > 0;
1371
1357
  }), r = [], n = 0, i = t; n < i.length; n++) {
1372
1358
  var o = i[n], s = o.split("/");
1373
1359
  if (s.length === 0)
1374
1360
  throw new Error("Invalid number skeleton");
1375
1361
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1376
- var c = l[u];
1377
- if (c.length === 0)
1362
+ var f = l[u];
1363
+ if (f.length === 0)
1378
1364
  throw new Error("Invalid number skeleton");
1379
1365
  }
1380
1366
  r.push({ stem: a, options: h });
1381
1367
  }
1382
1368
  return r;
1383
1369
  }
1384
- function Gn(e) {
1370
+ function Dn(e) {
1385
1371
  return e.replace(/^(.*?)-/, "");
1386
1372
  }
1387
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1388
- function wt(e) {
1373
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1374
+ function Et(e) {
1389
1375
  var t = {};
1390
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1376
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1391
1377
  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)), "";
1392
1378
  }), t;
1393
1379
  }
1394
- function or(e) {
1380
+ function rr(e) {
1395
1381
  switch (e) {
1396
1382
  case "sign-auto":
1397
1383
  return {
@@ -1431,7 +1417,7 @@ function or(e) {
1431
1417
  };
1432
1418
  }
1433
1419
  }
1434
- function jn(e) {
1420
+ function Un(e) {
1435
1421
  var t;
1436
1422
  if (e[0] === "E" && e[1] === "E" ? (t = {
1437
1423
  notation: "engineering"
@@ -1439,17 +1425,17 @@ function jn(e) {
1439
1425
  notation: "scientific"
1440
1426
  }, e = e.slice(1)), t) {
1441
1427
  var r = e.slice(0, 2);
1442
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1428
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1443
1429
  throw new Error("Malformed concise eng/scientific notation");
1444
1430
  t.minimumIntegerDigits = e.length;
1445
1431
  }
1446
1432
  return t;
1447
1433
  }
1448
- function St(e) {
1449
- var t = {}, r = or(e);
1434
+ function xt(e) {
1435
+ var t = {}, r = rr(e);
1450
1436
  return r || t;
1451
1437
  }
1452
- function kn(e) {
1438
+ function Gn(e) {
1453
1439
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1454
1440
  var i = n[r];
1455
1441
  switch (i.stem) {
@@ -1473,7 +1459,7 @@ function kn(e) {
1473
1459
  continue;
1474
1460
  case "measure-unit":
1475
1461
  case "unit":
1476
- t.style = "unit", t.unit = Gn(i.options[0]);
1462
+ t.style = "unit", t.unit = Dn(i.options[0]);
1477
1463
  continue;
1478
1464
  case "compact-short":
1479
1465
  case "K":
@@ -1485,12 +1471,12 @@ function kn(e) {
1485
1471
  continue;
1486
1472
  case "scientific":
1487
1473
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1488
- return y(y({}, h), St(u));
1474
+ return y(y({}, h), xt(u));
1489
1475
  }, {}));
1490
1476
  continue;
1491
1477
  case "engineering":
1492
1478
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1493
- return y(y({}, h), St(u));
1479
+ return y(y({}, h), xt(u));
1494
1480
  }, {}));
1495
1481
  continue;
1496
1482
  case "notation-simple":
@@ -1535,11 +1521,11 @@ function kn(e) {
1535
1521
  case "integer-width":
1536
1522
  if (i.options.length > 1)
1537
1523
  throw new RangeError("integer-width stems only accept a single optional option");
1538
- i.options[0].replace(Fn, function(h, u, l, c, f, d) {
1524
+ i.options[0].replace($n, function(h, u, l, f, c, d) {
1539
1525
  if (u)
1540
1526
  t.minimumIntegerDigits = l.length;
1541
1527
  else {
1542
- if (c && f)
1528
+ if (f && c)
1543
1529
  throw new Error("We currently do not support maximum integer digits");
1544
1530
  if (d)
1545
1531
  throw new Error("We currently do not support exact integer digits");
@@ -1548,27 +1534,27 @@ function kn(e) {
1548
1534
  });
1549
1535
  continue;
1550
1536
  }
1551
- if (ir.test(i.stem)) {
1537
+ if (tr.test(i.stem)) {
1552
1538
  t.minimumIntegerDigits = i.stem.length;
1553
1539
  continue;
1554
1540
  }
1555
- if (xt.test(i.stem)) {
1541
+ if (_t.test(i.stem)) {
1556
1542
  if (i.options.length > 1)
1557
1543
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1558
- i.stem.replace(xt, function(h, u, l, c, f, d) {
1559
- 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), "";
1544
+ i.stem.replace(_t, function(h, u, l, f, c, d) {
1545
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1560
1546
  });
1561
1547
  var o = i.options[0];
1562
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), wt(o)));
1548
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), Et(o)));
1563
1549
  continue;
1564
1550
  }
1565
- if (nr.test(i.stem)) {
1566
- t = y(y({}, t), wt(i.stem));
1551
+ if (er.test(i.stem)) {
1552
+ t = y(y({}, t), Et(i.stem));
1567
1553
  continue;
1568
1554
  }
1569
- var s = or(i.stem);
1555
+ var s = rr(i.stem);
1570
1556
  s && (t = y(y({}, t), s));
1571
- var a = jn(i.stem);
1557
+ var a = Un(i.stem);
1572
1558
  a && (t = y(y({}, t), a));
1573
1559
  }
1574
1560
  return t;
@@ -2988,13 +2974,13 @@ var pe = {
2988
2974
  "h"
2989
2975
  ]
2990
2976
  };
2991
- function Vn(e, t) {
2977
+ function Fn(e, t) {
2992
2978
  for (var r = "", n = 0; n < e.length; n++) {
2993
2979
  var i = e.charAt(n);
2994
2980
  if (i === "j") {
2995
2981
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2996
2982
  o++, n++;
2997
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Xn(t);
2983
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = jn(t);
2998
2984
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2999
2985
  r += h;
3000
2986
  for (; s-- > 0; )
@@ -3004,7 +2990,7 @@ function Vn(e, t) {
3004
2990
  }
3005
2991
  return r;
3006
2992
  }
3007
- function Xn(e) {
2993
+ function jn(e) {
3008
2994
  var t = e.hourCycle;
3009
2995
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3010
2996
  e.hourCycles && // @ts-ignore
@@ -3026,20 +3012,20 @@ function Xn(e) {
3026
3012
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3027
3013
  return i[0];
3028
3014
  }
3029
- var Ie, Wn = new RegExp("^".concat(rr.source, "*")), zn = new RegExp("".concat(rr.source, "*$"));
3015
+ var Oe, kn = new RegExp("^".concat(Kt.source, "*")), Vn = new RegExp("".concat(Kt.source, "*$"));
3030
3016
  function g(e, t) {
3031
3017
  return { start: e, end: t };
3032
3018
  }
3033
- var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3019
+ var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Jn = qn ? Number.isSafeInteger : function(e) {
3034
3020
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3035
- }, Ve = !0;
3021
+ }, ke = !0;
3036
3022
  try {
3037
- var ri = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3038
- Ve = ((Ie = ri.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3023
+ var Kn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3024
+ ke = ((Oe = Kn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3039
3025
  } catch (e) {
3040
- Ve = !1;
3026
+ ke = !1;
3041
3027
  }
3042
- var Tt = Zn ? (
3028
+ var wt = Xn ? (
3043
3029
  // Native
3044
3030
  function(t, r, n) {
3045
3031
  return t.startsWith(r, n);
@@ -3049,7 +3035,7 @@ var Tt = Zn ? (
3049
3035
  function(t, r, n) {
3050
3036
  return t.slice(n, n + r.length) === r;
3051
3037
  }
3052
- ), Xe = Qn ? String.fromCodePoint : (
3038
+ ), Ve = Wn ? String.fromCodePoint : (
3053
3039
  // IE11
3054
3040
  function() {
3055
3041
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3061,9 +3047,9 @@ var Tt = Zn ? (
3061
3047
  }
3062
3048
  return n;
3063
3049
  }
3064
- ), Ht = (
3050
+ ), St = (
3065
3051
  // native
3066
- Yn ? Object.fromEntries : (
3052
+ zn ? Object.fromEntries : (
3067
3053
  // Ponyfill
3068
3054
  function(t) {
3069
3055
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3073,7 +3059,7 @@ var Tt = Zn ? (
3073
3059
  return r;
3074
3060
  }
3075
3061
  )
3076
- ), sr = qn ? (
3062
+ ), nr = Zn ? (
3077
3063
  // Native
3078
3064
  function(t, r) {
3079
3065
  return t.codePointAt(r);
@@ -3087,7 +3073,7 @@ var Tt = Zn ? (
3087
3073
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3088
3074
  }
3089
3075
  }
3090
- ), ni = Jn ? (
3076
+ ), ei = Qn ? (
3091
3077
  // Native
3092
3078
  function(t) {
3093
3079
  return t.trimStart();
@@ -3095,9 +3081,9 @@ var Tt = Zn ? (
3095
3081
  ) : (
3096
3082
  // Ponyfill
3097
3083
  function(t) {
3098
- return t.replace(Wn, "");
3084
+ return t.replace(kn, "");
3099
3085
  }
3100
- ), ii = Kn ? (
3086
+ ), ti = Yn ? (
3101
3087
  // Native
3102
3088
  function(t) {
3103
3089
  return t.trimEnd();
@@ -3105,32 +3091,32 @@ var Tt = Zn ? (
3105
3091
  ) : (
3106
3092
  // Ponyfill
3107
3093
  function(t) {
3108
- return t.replace(zn, "");
3094
+ return t.replace(Vn, "");
3109
3095
  }
3110
3096
  );
3111
- function ar(e, t) {
3097
+ function ir(e, t) {
3112
3098
  return new RegExp(e, t);
3113
3099
  }
3114
- var We;
3115
- if (Ve) {
3116
- var Bt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3117
- We = function(t, r) {
3100
+ var Xe;
3101
+ if (ke) {
3102
+ var Tt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3103
+ Xe = function(t, r) {
3118
3104
  var n;
3119
- Bt.lastIndex = r;
3120
- var i = Bt.exec(t);
3105
+ Tt.lastIndex = r;
3106
+ var i = Tt.exec(t);
3121
3107
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3122
3108
  };
3123
3109
  } else
3124
- We = function(t, r) {
3110
+ Xe = function(t, r) {
3125
3111
  for (var n = []; ; ) {
3126
- var i = sr(t, r);
3127
- if (i === void 0 || ur(i) || ui(i))
3112
+ var i = nr(t, r);
3113
+ if (i === void 0 || or(i) || oi(i))
3128
3114
  break;
3129
3115
  n.push(i), r += i >= 65536 ? 2 : 1;
3130
3116
  }
3131
- return Xe.apply(void 0, n);
3117
+ return Ve.apply(void 0, n);
3132
3118
  };
3133
- var oi = (
3119
+ var ri = (
3134
3120
  /** @class */
3135
3121
  function() {
3136
3122
  function e(t, r) {
@@ -3161,7 +3147,7 @@ var oi = (
3161
3147
  if (n)
3162
3148
  break;
3163
3149
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3164
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3150
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3165
3151
  var s = this.parseTag(t, r);
3166
3152
  if (s.err)
3167
3153
  return s;
@@ -3194,7 +3180,7 @@ var oi = (
3194
3180
  return o;
3195
3181
  var s = o.val, a = this.clonePosition();
3196
3182
  if (this.bumpIf("</")) {
3197
- if (this.isEOF() || !ze(this.char()))
3183
+ if (this.isEOF() || !We(this.char()))
3198
3184
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3199
3185
  var h = this.clonePosition(), u = this.parseTagName();
3200
3186
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3212,7 +3198,7 @@ var oi = (
3212
3198
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3213
3199
  }, e.prototype.parseTagName = function() {
3214
3200
  var t = this.offset();
3215
- for (this.bump(); !this.isEOF() && ai(this.char()); )
3201
+ for (this.bump(); !this.isEOF() && ii(this.char()); )
3216
3202
  this.bump();
3217
3203
  return this.message.slice(t, this.offset());
3218
3204
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3241,7 +3227,7 @@ var oi = (
3241
3227
  };
3242
3228
  }, e.prototype.tryParseLeftAngleBracket = function() {
3243
3229
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3244
- !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3230
+ !ni(this.peek() || 0)) ? (this.bump(), "<") : null;
3245
3231
  }, e.prototype.tryParseQuote = function(t) {
3246
3232
  if (this.isEOF() || this.char() !== 39)
3247
3233
  return null;
@@ -3275,12 +3261,12 @@ var oi = (
3275
3261
  r.push(n);
3276
3262
  this.bump();
3277
3263
  }
3278
- return Xe.apply(void 0, r);
3264
+ return Ve.apply(void 0, r);
3279
3265
  }, e.prototype.tryParseUnquoted = function(t, r) {
3280
3266
  if (this.isEOF())
3281
3267
  return null;
3282
3268
  var n = this.char();
3283
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3269
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3284
3270
  }, e.prototype.parseArgument = function(t, r) {
3285
3271
  var n = this.clonePosition();
3286
3272
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3309,7 +3295,7 @@ var oi = (
3309
3295
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3310
3296
  }
3311
3297
  }, e.prototype.parseIdentifierIfPossible = function() {
3312
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3298
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3313
3299
  this.bumpTo(i);
3314
3300
  var o = this.clonePosition(), s = g(t, o);
3315
3301
  return { value: n, location: s };
@@ -3325,40 +3311,40 @@ var oi = (
3325
3311
  var u = null;
3326
3312
  if (this.bumpIf(",")) {
3327
3313
  this.bumpSpace();
3328
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3329
- if (c.err)
3330
- return c;
3331
- var f = ii(c.val);
3332
- if (f.length === 0)
3314
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3315
+ if (f.err)
3316
+ return f;
3317
+ var c = ti(f.val);
3318
+ if (c.length === 0)
3333
3319
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3334
3320
  var d = g(l, this.clonePosition());
3335
- u = { style: f, styleLocation: d };
3321
+ u = { style: c, styleLocation: d };
3336
3322
  }
3337
3323
  var v = this.tryParseArgumentClose(i);
3338
3324
  if (v.err)
3339
3325
  return v;
3340
3326
  var m = g(i, this.clonePosition());
3341
- if (u && Tt(u == null ? void 0 : u.style, "::", 0)) {
3342
- var E = ni(u.style.slice(2));
3327
+ if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3328
+ var E = ei(u.style.slice(2));
3343
3329
  if (a === "number") {
3344
- var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3345
- return c.err ? c : {
3346
- val: { type: _.number, value: n, location: m, style: c.val },
3330
+ var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3331
+ return f.err ? f : {
3332
+ val: { type: _.number, value: n, location: m, style: f.val },
3347
3333
  err: null
3348
3334
  };
3349
3335
  } else {
3350
3336
  if (E.length === 0)
3351
3337
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3352
- var U = E;
3353
- this.locale && (U = Vn(E, this.locale));
3354
- var f = {
3338
+ var $ = E;
3339
+ this.locale && ($ = Fn(E, this.locale));
3340
+ var c = {
3355
3341
  type: Z.dateTime,
3356
- pattern: U,
3342
+ pattern: $,
3357
3343
  location: u.styleLocation,
3358
- parsedOptions: this.shouldParseSkeletons ? Dn(U) : {}
3344
+ parsedOptions: this.shouldParseSkeletons ? Nn($) : {}
3359
3345
  }, O = a === "date" ? _.date : _.time;
3360
3346
  return {
3361
- val: { type: O, value: n, location: m, style: f },
3347
+ val: { type: O, value: n, location: m, style: c },
3362
3348
  err: null
3363
3349
  };
3364
3350
  }
@@ -3380,39 +3366,39 @@ var oi = (
3380
3366
  if (this.bumpSpace(), !this.bumpIf(","))
3381
3367
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
3382
3368
  this.bumpSpace();
3383
- var L = this.parseIdentifierIfPossible(), P = 0;
3384
- if (a !== "select" && L.value === "offset") {
3369
+ var N = this.parseIdentifierIfPossible(), A = 0;
3370
+ if (a !== "select" && N.value === "offset") {
3385
3371
  if (!this.bumpIf(":"))
3386
3372
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3387
3373
  this.bumpSpace();
3388
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3389
- if (c.err)
3390
- return c;
3391
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), P = c.val;
3374
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3375
+ if (f.err)
3376
+ return f;
3377
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), A = f.val;
3392
3378
  }
3393
- var N = this.tryParsePluralOrSelectOptions(t, a, r, L);
3394
- if (N.err)
3395
- return N;
3379
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, N);
3380
+ if (U.err)
3381
+ return U;
3396
3382
  var v = this.tryParseArgumentClose(i);
3397
3383
  if (v.err)
3398
3384
  return v;
3399
- var te = g(i, this.clonePosition());
3385
+ var le = g(i, this.clonePosition());
3400
3386
  return a === "select" ? {
3401
3387
  val: {
3402
3388
  type: _.select,
3403
3389
  value: n,
3404
- options: Ht(N.val),
3405
- location: te
3390
+ options: St(U.val),
3391
+ location: le
3406
3392
  },
3407
3393
  err: null
3408
3394
  } : {
3409
3395
  val: {
3410
3396
  type: _.plural,
3411
3397
  value: n,
3412
- options: Ht(N.val),
3413
- offset: P,
3398
+ options: St(U.val),
3399
+ offset: A,
3414
3400
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3415
- location: te
3401
+ location: le
3416
3402
  },
3417
3403
  err: null
3418
3404
  };
@@ -3460,7 +3446,7 @@ var oi = (
3460
3446
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3461
3447
  var n = [];
3462
3448
  try {
3463
- n = Un(t);
3449
+ n = Rn(t);
3464
3450
  } catch (i) {
3465
3451
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3466
3452
  }
@@ -3469,19 +3455,19 @@ var oi = (
3469
3455
  type: Z.number,
3470
3456
  tokens: n,
3471
3457
  location: r,
3472
- parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3458
+ parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
3473
3459
  },
3474
3460
  err: null
3475
3461
  };
3476
3462
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3477
3463
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3478
3464
  if (u.length === 0) {
3479
- var c = this.clonePosition();
3465
+ var f = this.clonePosition();
3480
3466
  if (r !== "select" && this.bumpIf("=")) {
3481
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3482
- if (f.err)
3483
- return f;
3484
- l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3467
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3468
+ if (c.err)
3469
+ return c;
3470
+ l = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3485
3471
  } else
3486
3472
  break;
3487
3473
  }
@@ -3517,7 +3503,7 @@ var oi = (
3517
3503
  break;
3518
3504
  }
3519
3505
  var h = g(i, this.clonePosition());
3520
- return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3506
+ return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3521
3507
  }, e.prototype.offset = function() {
3522
3508
  return this.position.offset;
3523
3509
  }, e.prototype.isEOF = function() {
@@ -3532,7 +3518,7 @@ var oi = (
3532
3518
  var t = this.position.offset;
3533
3519
  if (t >= this.message.length)
3534
3520
  throw Error("out of bound");
3535
- var r = sr(this.message, t);
3521
+ var r = nr(this.message, t);
3536
3522
  if (r === void 0)
3537
3523
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3538
3524
  return r;
@@ -3551,7 +3537,7 @@ var oi = (
3551
3537
  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);
3552
3538
  }
3553
3539
  }, e.prototype.bumpIf = function(t) {
3554
- if (Tt(this.message, t, this.offset())) {
3540
+ if (wt(this.message, t, this.offset())) {
3555
3541
  for (var r = 0; r < t.length; r++)
3556
3542
  this.bump();
3557
3543
  return !0;
@@ -3573,7 +3559,7 @@ var oi = (
3573
3559
  break;
3574
3560
  }
3575
3561
  }, e.prototype.bumpSpace = function() {
3576
- for (; !this.isEOF() && ur(this.char()); )
3562
+ for (; !this.isEOF() && or(this.char()); )
3577
3563
  this.bump();
3578
3564
  }, e.prototype.peek = function() {
3579
3565
  if (this.isEOF())
@@ -3583,38 +3569,38 @@ var oi = (
3583
3569
  }, e;
3584
3570
  }()
3585
3571
  );
3586
- function ze(e) {
3572
+ function We(e) {
3587
3573
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3588
3574
  }
3589
- function si(e) {
3590
- return ze(e) || e === 47;
3575
+ function ni(e) {
3576
+ return We(e) || e === 47;
3591
3577
  }
3592
- function ai(e) {
3578
+ function ii(e) {
3593
3579
  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;
3594
3580
  }
3595
- function ur(e) {
3581
+ function or(e) {
3596
3582
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3597
3583
  }
3598
- function ui(e) {
3584
+ function oi(e) {
3599
3585
  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;
3600
3586
  }
3601
- function Ze(e) {
3587
+ function ze(e) {
3602
3588
  e.forEach(function(t) {
3603
- if (delete t.location, Jt(t) || Kt(t))
3589
+ if (delete t.location, Qt(t) || Yt(t))
3604
3590
  for (var r in t.options)
3605
- delete t.options[r].location, Ze(t.options[r].value);
3591
+ delete t.options[r].location, ze(t.options[r].value);
3606
3592
  else
3607
- Qt(t) && tr(t.style) || (Yt(t) || qt(t)) && ke(t.style) ? delete t.style.location : er(t) && Ze(t.children);
3593
+ Wt(t) && Jt(t.style) || (zt(t) || Zt(t)) && je(t.style) ? delete t.style.location : qt(t) && ze(t.children);
3608
3594
  });
3609
3595
  }
3610
- function hi(e, t) {
3596
+ function si(e, t) {
3611
3597
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3612
- var r = new oi(e, t).parse();
3598
+ var r = new ri(e, t).parse();
3613
3599
  if (r.err) {
3614
3600
  var n = SyntaxError(b[r.err.kind]);
3615
3601
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3616
3602
  }
3617
- return t != null && t.captureLocation || Ze(r.val), r.val;
3603
+ return t != null && t.captureLocation || ze(r.val), r.val;
3618
3604
  }
3619
3605
  var Q;
3620
3606
  (function(e) {
@@ -3632,7 +3618,7 @@ var xe = (
3632
3618
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3633
3619
  }, t;
3634
3620
  }(Error)
3635
- ), At = (
3621
+ ), Ht = (
3636
3622
  /** @class */
3637
3623
  function(e) {
3638
3624
  M(t, e);
@@ -3641,7 +3627,7 @@ var xe = (
3641
3627
  }
3642
3628
  return t;
3643
3629
  }(xe)
3644
- ), li = (
3630
+ ), ai = (
3645
3631
  /** @class */
3646
3632
  function(e) {
3647
3633
  M(t, e);
@@ -3650,7 +3636,7 @@ var xe = (
3650
3636
  }
3651
3637
  return t;
3652
3638
  }(xe)
3653
- ), ci = (
3639
+ ), ui = (
3654
3640
  /** @class */
3655
3641
  function(e) {
3656
3642
  M(t, e);
@@ -3663,17 +3649,17 @@ var xe = (
3663
3649
  (function(e) {
3664
3650
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3665
3651
  })(S || (S = {}));
3666
- function fi(e) {
3652
+ function hi(e) {
3667
3653
  return e.length < 2 ? e : e.reduce(function(t, r) {
3668
3654
  var n = t[t.length - 1];
3669
3655
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3670
3656
  }, []);
3671
3657
  }
3672
- function pi(e) {
3658
+ function li(e) {
3673
3659
  return typeof e == "function";
3674
3660
  }
3675
3661
  function be(e, t, r, n, i, o, s) {
3676
- if (e.length === 1 && Et(e[0]))
3662
+ if (e.length === 1 && vt(e[0]))
3677
3663
  return [
3678
3664
  {
3679
3665
  type: S.literal,
@@ -3682,105 +3668,105 @@ function be(e, t, r, n, i, o, s) {
3682
3668
  ];
3683
3669
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3684
3670
  var l = u[h];
3685
- if (Et(l)) {
3671
+ if (vt(l)) {
3686
3672
  a.push({
3687
3673
  type: S.literal,
3688
3674
  value: l.value
3689
3675
  });
3690
3676
  continue;
3691
3677
  }
3692
- if (Nn(l)) {
3678
+ if (Cn(l)) {
3693
3679
  typeof o == "number" && a.push({
3694
3680
  type: S.literal,
3695
3681
  value: r.getNumberFormat(t).format(o)
3696
3682
  });
3697
3683
  continue;
3698
3684
  }
3699
- var c = l.value;
3700
- if (!(i && c in i))
3701
- throw new ci(c, s);
3702
- var f = i[c];
3703
- if (Ln(l)) {
3704
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3705
- type: typeof f == "string" ? S.literal : S.object,
3706
- value: f
3685
+ var f = l.value;
3686
+ if (!(i && f in i))
3687
+ throw new ui(f, s);
3688
+ var c = i[f];
3689
+ if (In(l)) {
3690
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3691
+ type: typeof c == "string" ? S.literal : S.object,
3692
+ value: c
3707
3693
  });
3708
3694
  continue;
3709
3695
  }
3710
- if (Yt(l)) {
3711
- var d = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
3696
+ if (zt(l)) {
3697
+ var d = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3712
3698
  a.push({
3713
3699
  type: S.literal,
3714
- value: r.getDateTimeFormat(t, d).format(f)
3700
+ value: r.getDateTimeFormat(t, d).format(c)
3715
3701
  });
3716
3702
  continue;
3717
3703
  }
3718
- if (qt(l)) {
3719
- var d = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
3704
+ if (Zt(l)) {
3705
+ var d = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3720
3706
  a.push({
3721
3707
  type: S.literal,
3722
- value: r.getDateTimeFormat(t, d).format(f)
3708
+ value: r.getDateTimeFormat(t, d).format(c)
3723
3709
  });
3724
3710
  continue;
3725
3711
  }
3726
- if (Qt(l)) {
3727
- var d = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3728
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3712
+ if (Wt(l)) {
3713
+ var d = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3714
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3729
3715
  type: S.literal,
3730
- value: r.getNumberFormat(t, d).format(f)
3716
+ value: r.getNumberFormat(t, d).format(c)
3731
3717
  });
3732
3718
  continue;
3733
3719
  }
3734
- if (er(l)) {
3720
+ if (qt(l)) {
3735
3721
  var v = l.children, m = l.value, E = i[m];
3736
- if (!pi(E))
3737
- throw new li(m, "function", s);
3738
- var U = be(v, t, r, n, i, o), O = E(U.map(function(P) {
3739
- return P.value;
3722
+ if (!li(E))
3723
+ throw new ai(m, "function", s);
3724
+ var $ = be(v, t, r, n, i, o), O = E($.map(function(A) {
3725
+ return A.value;
3740
3726
  }));
3741
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(P) {
3727
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(A) {
3742
3728
  return {
3743
- type: typeof P == "string" ? S.literal : S.object,
3744
- value: P
3729
+ type: typeof A == "string" ? S.literal : S.object,
3730
+ value: A
3745
3731
  };
3746
3732
  }));
3747
3733
  }
3748
- if (Jt(l)) {
3749
- var T = l.options[f] || l.options.other;
3734
+ if (Qt(l)) {
3735
+ var T = l.options[c] || l.options.other;
3750
3736
  if (!T)
3751
- throw new At(l.value, f, Object.keys(l.options), s);
3737
+ throw new Ht(l.value, c, Object.keys(l.options), s);
3752
3738
  a.push.apply(a, be(T.value, t, r, n, i));
3753
3739
  continue;
3754
3740
  }
3755
- if (Kt(l)) {
3756
- var T = l.options["=".concat(f)];
3741
+ if (Yt(l)) {
3742
+ var T = l.options["=".concat(c)];
3757
3743
  if (!T) {
3758
3744
  if (!Intl.PluralRules)
3759
3745
  throw new xe(`Intl.PluralRules is not available in this environment.
3760
3746
  Try polyfilling it using "@formatjs/intl-pluralrules"
3761
3747
  `, Q.MISSING_INTL_API, s);
3762
- var L = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3763
- T = l.options[L] || l.options.other;
3748
+ var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3749
+ T = l.options[N] || l.options.other;
3764
3750
  }
3765
3751
  if (!T)
3766
- throw new At(l.value, f, Object.keys(l.options), s);
3767
- a.push.apply(a, be(T.value, t, r, n, i, f - (l.offset || 0)));
3752
+ throw new Ht(l.value, c, Object.keys(l.options), s);
3753
+ a.push.apply(a, be(T.value, t, r, n, i, c - (l.offset || 0)));
3768
3754
  continue;
3769
3755
  }
3770
3756
  }
3771
- return fi(a);
3757
+ return hi(a);
3772
3758
  }
3773
- function di(e, t) {
3759
+ function fi(e, t) {
3774
3760
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3775
3761
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3776
3762
  }, {})) : e;
3777
3763
  }
3778
- function mi(e, t) {
3764
+ function ci(e, t) {
3779
3765
  return t ? Object.keys(e).reduce(function(r, n) {
3780
- return r[n] = di(e[n], t[n]), r;
3766
+ return r[n] = fi(e[n], t[n]), r;
3781
3767
  }, y({}, e)) : e;
3782
3768
  }
3783
- function Ce(e) {
3769
+ function Ie(e) {
3784
3770
  return {
3785
3771
  create: function() {
3786
3772
  return {
@@ -3794,39 +3780,39 @@ function Ce(e) {
3794
3780
  }
3795
3781
  };
3796
3782
  }
3797
- function bi(e) {
3783
+ function pi(e) {
3798
3784
  return e === void 0 && (e = {
3799
3785
  number: {},
3800
3786
  dateTime: {},
3801
3787
  pluralRules: {}
3802
3788
  }), {
3803
- getNumberFormat: Pe(function() {
3789
+ getNumberFormat: Ae(function() {
3804
3790
  for (var t, r = [], n = 0; n < arguments.length; n++)
3805
3791
  r[n] = arguments[n];
3806
3792
  return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3807
3793
  }, {
3808
- cache: Ce(e.number),
3809
- strategy: Oe.variadic
3794
+ cache: Ie(e.number),
3795
+ strategy: Pe.variadic
3810
3796
  }),
3811
- getDateTimeFormat: Pe(function() {
3797
+ getDateTimeFormat: Ae(function() {
3812
3798
  for (var t, r = [], n = 0; n < arguments.length; n++)
3813
3799
  r[n] = arguments[n];
3814
3800
  return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3815
3801
  }, {
3816
- cache: Ce(e.dateTime),
3817
- strategy: Oe.variadic
3802
+ cache: Ie(e.dateTime),
3803
+ strategy: Pe.variadic
3818
3804
  }),
3819
- getPluralRules: Pe(function() {
3805
+ getPluralRules: Ae(function() {
3820
3806
  for (var t, r = [], n = 0; n < arguments.length; n++)
3821
3807
  r[n] = arguments[n];
3822
3808
  return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3823
3809
  }, {
3824
- cache: Ce(e.pluralRules),
3825
- strategy: Oe.variadic
3810
+ cache: Ie(e.pluralRules),
3811
+ strategy: Pe.variadic
3826
3812
  })
3827
3813
  };
3828
3814
  }
3829
- var gi = (
3815
+ var di = (
3830
3816
  /** @class */
3831
3817
  function() {
3832
3818
  function e(t, r, n, i) {
@@ -3840,8 +3826,8 @@ var gi = (
3840
3826
  var u = o.formatToParts(h);
3841
3827
  if (u.length === 1)
3842
3828
  return u[0].value;
3843
- var l = u.reduce(function(c, f) {
3844
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3829
+ var l = u.reduce(function(f, c) {
3830
+ return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3845
3831
  }, []);
3846
3832
  return l.length <= 1 ? l[0] || "" : l;
3847
3833
  }, this.formatToParts = function(h) {
@@ -3858,13 +3844,13 @@ var gi = (
3858
3844
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3859
3845
  var s = i || {};
3860
3846
  s.formatters;
3861
- var a = Qr(s, ["formatters"]);
3847
+ var a = Xr(s, ["formatters"]);
3862
3848
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3863
3849
  } else
3864
3850
  this.ast = t;
3865
3851
  if (!Array.isArray(this.ast))
3866
3852
  throw new TypeError("A message must be provided as a String or AST.");
3867
- this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3853
+ this.formats = ci(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3868
3854
  }
3869
3855
  return Object.defineProperty(e, "defaultLocale", {
3870
3856
  get: function() {
@@ -3877,7 +3863,7 @@ var gi = (
3877
3863
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3878
3864
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3879
3865
  }
3880
- }, e.__parse = hi, e.formats = {
3866
+ }, e.__parse = si, e.formats = {
3881
3867
  number: {
3882
3868
  integer: {
3883
3869
  maximumFractionDigits: 0
@@ -3938,7 +3924,7 @@ var gi = (
3938
3924
  }, e;
3939
3925
  }()
3940
3926
  );
3941
- function yi(e, t) {
3927
+ function mi(e, t) {
3942
3928
  if (t == null)
3943
3929
  return;
3944
3930
  if (t in e)
@@ -3959,92 +3945,92 @@ function yi(e, t) {
3959
3945
  n = void 0;
3960
3946
  return n;
3961
3947
  }
3962
- const $ = {}, vi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), hr = (e, t) => {
3948
+ const D = {}, bi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), sr = (e, t) => {
3963
3949
  if (t == null)
3964
3950
  return;
3965
- if (t in $ && e in $[t])
3966
- return $[t][e];
3951
+ if (t in D && e in D[t])
3952
+ return D[t][e];
3967
3953
  const r = we(t);
3968
3954
  for (let n = 0; n < r.length; n++) {
3969
- const i = r[n], o = Ei(i, e);
3955
+ const i = r[n], o = yi(i, e);
3970
3956
  if (o)
3971
- return vi(e, t, o);
3957
+ return bi(e, t, o);
3972
3958
  }
3973
3959
  };
3974
- let tt;
3975
- const le = Ee({});
3976
- function _i(e) {
3977
- return tt[e] || null;
3960
+ let Ke;
3961
+ const he = Ee({});
3962
+ function gi(e) {
3963
+ return Ke[e] || null;
3978
3964
  }
3979
- function lr(e) {
3980
- return e in tt;
3965
+ function ar(e) {
3966
+ return e in Ke;
3981
3967
  }
3982
- function Ei(e, t) {
3983
- if (!lr(e))
3968
+ function yi(e, t) {
3969
+ if (!ar(e))
3984
3970
  return null;
3985
- const r = _i(e);
3986
- return yi(r, t);
3971
+ const r = gi(e);
3972
+ return mi(r, t);
3987
3973
  }
3988
- function xi(e) {
3974
+ function vi(e) {
3989
3975
  if (e == null)
3990
3976
  return;
3991
3977
  const t = we(e);
3992
3978
  for (let r = 0; r < t.length; r++) {
3993
3979
  const n = t[r];
3994
- if (lr(n))
3980
+ if (ar(n))
3995
3981
  return n;
3996
3982
  }
3997
3983
  }
3998
- function cr(e, ...t) {
3999
- delete $[e], le.update((r) => (r[e] = Bn.all([r[e] || {}, ...t]), r));
3984
+ function ur(e, ...t) {
3985
+ delete D[e], he.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
4000
3986
  }
4001
3987
  J(
4002
- [le],
3988
+ [he],
4003
3989
  ([e]) => Object.keys(e)
4004
3990
  );
4005
- le.subscribe((e) => tt = e);
3991
+ he.subscribe((e) => Ke = e);
4006
3992
  const ge = {};
4007
- function wi(e, t) {
3993
+ function _i(e, t) {
4008
3994
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4009
3995
  }
4010
- function fr(e) {
3996
+ function hr(e) {
4011
3997
  return ge[e];
4012
3998
  }
4013
- function Si(e) {
3999
+ function Ei(e) {
4014
4000
  return we(e).map((t) => {
4015
- const r = fr(t);
4001
+ const r = hr(t);
4016
4002
  return [t, r ? [...r] : []];
4017
4003
  }).filter(([, t]) => t.length > 0);
4018
4004
  }
4019
- function Qe(e) {
4005
+ function Ze(e) {
4020
4006
  return e == null ? !1 : we(e).some(
4021
4007
  (t) => {
4022
4008
  var r;
4023
- return (r = fr(t)) == null ? void 0 : r.size;
4009
+ return (r = hr(t)) == null ? void 0 : r.size;
4024
4010
  }
4025
4011
  );
4026
4012
  }
4027
- function Ti(e, t) {
4013
+ function xi(e, t) {
4028
4014
  return Promise.all(
4029
- t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4030
- ).then((n) => cr(e, ...n));
4031
- }
4032
- const re = {};
4033
- function pr(e) {
4034
- if (!Qe(e))
4035
- return e in re ? re[e] : Promise.resolve();
4036
- const t = Si(e);
4037
- return re[e] = Promise.all(
4015
+ t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
4016
+ ).then((n) => ur(e, ...n));
4017
+ }
4018
+ const te = {};
4019
+ function lr(e) {
4020
+ if (!Ze(e))
4021
+ return e in te ? te[e] : Promise.resolve();
4022
+ const t = Ei(e);
4023
+ return te[e] = Promise.all(
4038
4024
  t.map(
4039
- ([r, n]) => Ti(r, n)
4025
+ ([r, n]) => xi(r, n)
4040
4026
  )
4041
4027
  ).then(() => {
4042
- if (Qe(e))
4043
- return pr(e);
4044
- delete re[e];
4045
- }), re[e];
4028
+ if (Ze(e))
4029
+ return lr(e);
4030
+ delete te[e];
4031
+ }), te[e];
4046
4032
  }
4047
- const Hi = {
4033
+ const wi = {
4048
4034
  number: {
4049
4035
  scientific: { notation: "scientific" },
4050
4036
  engineering: { notation: "engineering" },
@@ -4073,57 +4059,57 @@ const Hi = {
4073
4059
  timeZoneName: "short"
4074
4060
  }
4075
4061
  }
4076
- }, Bi = {
4062
+ }, Si = {
4077
4063
  fallbackLocale: null,
4078
4064
  loadingDelay: 200,
4079
- formats: Hi,
4065
+ formats: wi,
4080
4066
  warnOnMissingMessages: !0,
4081
4067
  handleMissingMessage: void 0,
4082
4068
  ignoreTag: !0
4083
- }, Ai = Bi;
4069
+ }, Ti = Si;
4084
4070
  function Y() {
4085
- return Ai;
4086
- }
4087
- const Me = Ee(!1);
4088
- var Pi = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
4089
- for (var r in t || (t = {}))
4090
- Ci.call(t, r) && Ot(e, r, t[r]);
4091
- if (Pt)
4092
- for (var r of Pt(t))
4093
- Mi.call(t, r) && Ot(e, r, t[r]);
4071
+ return Ti;
4072
+ }
4073
+ const Ce = Ee(!1);
4074
+ var Hi = Object.defineProperty, Bi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
4075
+ for (var r in t)
4076
+ Pi.call(t, r) && At(e, r, t[r]);
4077
+ if (Bt)
4078
+ for (var r of Bt(t))
4079
+ Oi.call(t, r) && At(e, r, t[r]);
4094
4080
  return e;
4095
- }, Ni = (e, t) => Oi(e, Ii(t));
4096
- let Ye;
4081
+ }, Ci = (e, t) => Bi(e, Ai(t));
4082
+ let Qe;
4097
4083
  const ye = Ee(null);
4098
- function It(e) {
4084
+ function Pt(e) {
4099
4085
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4100
4086
  }
4101
4087
  function we(e, t = Y().fallbackLocale) {
4102
- const r = It(e);
4103
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4088
+ const r = Pt(e);
4089
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4104
4090
  }
4105
4091
  function G() {
4106
- return Ye != null ? Ye : void 0;
4092
+ return Qe != null ? Qe : void 0;
4107
4093
  }
4108
4094
  ye.subscribe((e) => {
4109
- Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4095
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4110
4096
  });
4111
- const Ri = (e) => {
4112
- if (e && xi(e) && Qe(e)) {
4097
+ const Mi = (e) => {
4098
+ if (e && vi(e) && Ze(e)) {
4113
4099
  const { loadingDelay: t } = Y();
4114
4100
  let r;
4115
4101
  return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
4116
- () => Me.set(!0),
4102
+ () => Ce.set(!0),
4117
4103
  t
4118
- ) : Me.set(!0), pr(e).then(() => {
4104
+ ) : Ce.set(!0), lr(e).then(() => {
4119
4105
  ye.set(e);
4120
4106
  }).finally(() => {
4121
- clearTimeout(r), Me.set(!1);
4107
+ clearTimeout(r), Ce.set(!1);
4122
4108
  });
4123
4109
  }
4124
4110
  return ye.set(e);
4125
- }, K = Ni(Li({}, ye), {
4126
- set: Ri
4111
+ }, K = Ci(Ii({}, ye), {
4112
+ set: Mi
4127
4113
  }), Se = (e) => {
4128
4114
  const t = /* @__PURE__ */ Object.create(null);
4129
4115
  return (n) => {
@@ -4131,77 +4117,77 @@ const Ri = (e) => {
4131
4117
  return i in t ? t[i] : t[i] = e(n);
4132
4118
  };
4133
4119
  };
4134
- var Di = Object.defineProperty, ve = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4120
+ var Ni = Object.defineProperty, ve = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4135
4121
  for (var r in t || (t = {}))
4136
- dr.call(t, r) && Ct(e, r, t[r]);
4122
+ fr.call(t, r) && Ot(e, r, t[r]);
4137
4123
  if (ve)
4138
4124
  for (var r of ve(t))
4139
- mr.call(t, r) && Ct(e, r, t[r]);
4125
+ cr.call(t, r) && Ot(e, r, t[r]);
4140
4126
  return e;
4141
4127
  }, ee = (e, t) => {
4142
4128
  var r = {};
4143
4129
  for (var n in e)
4144
- dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4130
+ fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4145
4131
  if (e != null && ve)
4146
4132
  for (var n of ve(e))
4147
- t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
4133
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4148
4134
  return r;
4149
4135
  };
4150
- const ae = (e, t) => {
4136
+ const se = (e, t) => {
4151
4137
  const { formats: r } = Y();
4152
4138
  if (e in r && t in r[e])
4153
4139
  return r[e][t];
4154
4140
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4155
- }, $i = Se(
4141
+ }, Li = Se(
4156
4142
  (e) => {
4157
4143
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4158
4144
  if (r == null)
4159
4145
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4160
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4146
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4161
4147
  }
4162
- ), Ui = Se(
4148
+ ), Ri = Se(
4163
4149
  (e) => {
4164
4150
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4165
4151
  if (r == null)
4166
4152
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4167
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4153
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4168
4154
  }
4169
- ), Gi = Se(
4155
+ ), Di = Se(
4170
4156
  (e) => {
4171
4157
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4172
4158
  if (r == null)
4173
4159
  throw new Error(
4174
4160
  '[svelte-i18n] A "locale" must be set to format time values'
4175
4161
  );
4176
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4162
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4177
4163
  }
4178
- ), Fi = (e = {}) => {
4164
+ ), $i = (e = {}) => {
4179
4165
  var t = e, {
4180
4166
  locale: r = G()
4181
4167
  } = t, n = ee(t, [
4182
4168
  "locale"
4183
4169
  ]);
4184
- return $i(rt({ locale: r }, n));
4185
- }, ji = (e = {}) => {
4170
+ return Li(et({ locale: r }, n));
4171
+ }, Ui = (e = {}) => {
4186
4172
  var t = e, {
4187
4173
  locale: r = G()
4188
4174
  } = t, n = ee(t, [
4189
4175
  "locale"
4190
4176
  ]);
4191
- return Ui(rt({ locale: r }, n));
4192
- }, ki = (e = {}) => {
4177
+ return Ri(et({ locale: r }, n));
4178
+ }, Gi = (e = {}) => {
4193
4179
  var t = e, {
4194
4180
  locale: r = G()
4195
4181
  } = t, n = ee(t, [
4196
4182
  "locale"
4197
4183
  ]);
4198
- return Gi(rt({ locale: r }, n));
4199
- }, Vi = Se(
4184
+ return Di(et({ locale: r }, n));
4185
+ }, Fi = Se(
4200
4186
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4201
- (e, t = G()) => new gi(e, t, Y().formats, {
4187
+ (e, t = G()) => new di(e, t, Y().formats, {
4202
4188
  ignoreTag: Y().ignoreTag
4203
4189
  })
4204
- ), Xi = (e, t = {}) => {
4190
+ ), ji = (e, t = {}) => {
4205
4191
  var r, n, i, o;
4206
4192
  let s = t;
4207
4193
  typeof e == "object" && (s = e, e = s.id);
@@ -4214,7 +4200,7 @@ const ae = (e, t) => {
4214
4200
  throw new Error(
4215
4201
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4216
4202
  );
4217
- let l = hr(e, h);
4203
+ let l = sr(e, h);
4218
4204
  if (!l)
4219
4205
  l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4220
4206
  else if (typeof l != "string")
@@ -4223,30 +4209,30 @@ const ae = (e, t) => {
4223
4209
  ), l;
4224
4210
  if (!a)
4225
4211
  return l;
4226
- let c = l;
4212
+ let f = l;
4227
4213
  try {
4228
- c = Vi(l, h).format(a);
4229
- } catch (f) {
4230
- f instanceof Error && console.warn(
4214
+ f = Fi(l, h).format(a);
4215
+ } catch (c) {
4216
+ c instanceof Error && console.warn(
4231
4217
  `[svelte-i18n] Message "${e}" has syntax error:`,
4232
- f.message
4218
+ c.message
4233
4219
  );
4234
4220
  }
4235
- return c;
4236
- }, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = G()) => hr(e, t), Yi = J([K, le], () => Xi);
4237
- J([K], () => Wi);
4238
- J([K], () => zi);
4239
- J([K], () => Zi);
4240
- J([K, le], () => Qi);
4241
- window.emWidgets = { topic: ln };
4242
- const qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4243
- function Ji(e, t) {
4221
+ return f;
4222
+ }, ki = (e, t) => Gi(t).format(e), Vi = (e, t) => Ui(t).format(e), Xi = (e, t) => $i(t).format(e), Wi = (e, t = G()) => sr(e, t), zi = J([K, he], () => ji);
4223
+ J([K], () => ki);
4224
+ J([K], () => Vi);
4225
+ J([K], () => Xi);
4226
+ J([K, he], () => Wi);
4227
+ window.emWidgets = { topic: sn };
4228
+ const Zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4229
+ function Qi(e, t) {
4244
4230
  if (e) {
4245
4231
  const r = document.createElement("style");
4246
4232
  r.innerHTML = t, e.appendChild(r);
4247
4233
  }
4248
4234
  }
4249
- function Ki(e, t) {
4235
+ function Yi(e, t) {
4250
4236
  const r = new URL(t);
4251
4237
  fetch(r.href).then((n) => n.text()).then((n) => {
4252
4238
  const i = document.createElement("style");
@@ -4255,7 +4241,7 @@ function Ki(e, t) {
4255
4241
  console.error("There was an error while trying to load client styling from URL", n);
4256
4242
  });
4257
4243
  }
4258
- function eo(e, t, r) {
4244
+ function qi(e, t, r) {
4259
4245
  if (window.emMessageBus) {
4260
4246
  const n = document.createElement("style");
4261
4247
  window.emMessageBus.subscribe(t, (i) => {
@@ -4263,13 +4249,13 @@ function eo(e, t, r) {
4263
4249
  });
4264
4250
  }
4265
4251
  }
4266
- function Mt(e, t) {
4267
- cr(e, t);
4252
+ function It(e, t) {
4253
+ ur(e, t);
4268
4254
  }
4269
- function to(e) {
4255
+ function Ji(e) {
4270
4256
  K.set(e);
4271
4257
  }
4272
- const Lt = {
4258
+ const Ct = {
4273
4259
  en: {
4274
4260
  titleDeposit: "Deposit",
4275
4261
  loading: "Loading, please wait ..."
@@ -4311,20 +4297,20 @@ const Lt = {
4311
4297
  Loading: "Cargando, por favor espere..."
4312
4298
  }
4313
4299
  };
4314
- function ro(e) {
4315
- Ar(e, "svelte-1hczjj2", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
4300
+ function Ki(e) {
4301
+ Sr(e, "svelte-1hczjj2", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
4316
4302
  }
4317
- function no(e) {
4318
- let t, r, n, i, o, s, a, h, u, l, c = (
4303
+ function eo(e) {
4304
+ let t, r, n, i, o, s, a, h, u, l, f = (
4319
4305
  /*$_*/
4320
4306
  e[4]("titleDeposit") + ""
4321
- ), f, d, v;
4307
+ ), c, d, v;
4322
4308
  return {
4323
4309
  c() {
4324
- t = C("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ie(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Le(), l = C("h2"), f = ie(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");
4310
+ t = C("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Me(), l = C("h2"), c = ne(f), x(h, "class", "aaa"), x(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(h, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(l, "class", "DepositTitleMobile"), x(t, "class", "MenuReturnButton");
4325
4311
  },
4326
4312
  m(m, E) {
4327
- he(m, t, E), w(t, r), w(r, n), w(n, i), w(i, o), w(r, s), w(s, a), w(a, h), w(t, u), w(t, l), w(l, f), d || (v = Ir(
4313
+ ue(m, t, E), w(t, r), w(r, n), w(n, i), w(i, o), w(r, s), w(s, a), w(a, h), w(t, u), w(t, l), w(l, c), d || (v = Br(
4328
4314
  t,
4329
4315
  "click",
4330
4316
  /*click_handler*/
@@ -4333,27 +4319,27 @@ function no(e) {
4333
4319
  },
4334
4320
  p(m, E) {
4335
4321
  E & /*$_*/
4336
- 16 && c !== (c = /*$_*/
4337
- m[4]("titleDeposit") + "") && Je(f, c);
4322
+ 16 && f !== (f = /*$_*/
4323
+ m[4]("titleDeposit") + "") && qe(c, f);
4338
4324
  },
4339
4325
  d(m) {
4340
4326
  m && q(t), d = !1, v();
4341
4327
  }
4342
4328
  };
4343
4329
  }
4344
- function io(e) {
4330
+ function to(e) {
4345
4331
  let t, r, n;
4346
4332
  return {
4347
4333
  c() {
4348
- t = C("div"), r = C("iframe"), lt(r.src, n = /*iframeUrl*/
4334
+ t = C("div"), r = C("iframe"), ut(r.src, n = /*iframeUrl*/
4349
4335
  e[3]) || x(r, "src", n), x(r, "title", "Deposit Iframe"), x(t, "class", "DepositIframeWrapper");
4350
4336
  },
4351
4337
  m(i, o) {
4352
- he(i, t, o), w(t, r);
4338
+ ue(i, t, o), w(t, r);
4353
4339
  },
4354
4340
  p(i, o) {
4355
4341
  o & /*iframeUrl*/
4356
- 8 && !lt(r.src, n = /*iframeUrl*/
4342
+ 8 && !ut(r.src, n = /*iframeUrl*/
4357
4343
  i[3]) && x(r, "src", n);
4358
4344
  },
4359
4345
  d(i) {
@@ -4361,102 +4347,102 @@ function io(e) {
4361
4347
  }
4362
4348
  };
4363
4349
  }
4364
- function oo(e) {
4350
+ function ro(e) {
4365
4351
  let t, r = (
4366
4352
  /*$_*/
4367
4353
  e[4]("loading") + ""
4368
4354
  ), n;
4369
4355
  return {
4370
4356
  c() {
4371
- t = C("p"), n = ie(r);
4357
+ t = C("p"), n = ne(r);
4372
4358
  },
4373
4359
  m(i, o) {
4374
- he(i, t, o), w(t, n);
4360
+ ue(i, t, o), w(t, n);
4375
4361
  },
4376
4362
  p(i, o) {
4377
4363
  o & /*$_*/
4378
4364
  16 && r !== (r = /*$_*/
4379
- i[4]("loading") + "") && Je(n, r);
4365
+ i[4]("loading") + "") && qe(n, r);
4380
4366
  },
4381
4367
  d(i) {
4382
4368
  i && q(t);
4383
4369
  }
4384
4370
  };
4385
4371
  }
4386
- function so(e) {
4372
+ function no(e) {
4387
4373
  let t, r, n, i = (
4388
4374
  /*$_*/
4389
4375
  e[4]("titleDeposit") + ""
4390
4376
  ), o, s, a = (
4391
4377
  /*isMobile*/
4392
- e[5] && no(e)
4378
+ e[5] && eo(e)
4393
4379
  );
4394
- function h(c, f) {
4380
+ function h(f, c) {
4395
4381
  return (
4396
4382
  /*isLoading*/
4397
- c[1] ? oo : io
4383
+ f[1] ? ro : to
4398
4384
  );
4399
4385
  }
4400
4386
  let u = h(e), l = u(e);
4401
4387
  return {
4402
4388
  c() {
4403
- t = C("div"), a && a.c(), r = Le(), n = C("h2"), o = ie(i), s = Le(), l.c(), x(n, "class", "DepositTitle " + /*isMobile*/
4389
+ t = C("div"), a && a.c(), r = Me(), n = C("h2"), o = ne(i), s = Me(), l.c(), x(n, "class", "DepositTitle " + /*isMobile*/
4404
4390
  (e[5] ? "DepositTitleNone" : "")), x(t, "class", "DepositWrapper " + /*isMobile*/
4405
- (e[5] ? "DepositWrapperMobile" : "")), ct(
4391
+ (e[5] ? "DepositWrapperMobile" : "")), ht(
4406
4392
  t,
4407
4393
  "--dynamic-height",
4408
4394
  /*dynamicHeight*/
4409
4395
  e[2]
4410
4396
  );
4411
4397
  },
4412
- m(c, f) {
4413
- he(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);
4398
+ m(f, c) {
4399
+ ue(f, t, c), a && a.m(t, null), w(t, r), w(t, n), w(n, o), w(t, s), l.m(t, null), e[19](t);
4414
4400
  },
4415
- p(c, [f]) {
4401
+ p(f, [c]) {
4416
4402
  /*isMobile*/
4417
- c[5] && a.p(c, f), f & /*$_*/
4403
+ f[5] && a.p(f, c), c & /*$_*/
4418
4404
  16 && i !== (i = /*$_*/
4419
- c[4]("titleDeposit") + "") && Je(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*/
4420
- 4 && ct(
4405
+ f[4]("titleDeposit") + "") && qe(o, i), u === (u = h(f)) && l ? l.p(f, c) : (l.d(1), l = u(f), l && (l.c(), l.m(t, null))), c & /*dynamicHeight*/
4406
+ 4 && ht(
4421
4407
  t,
4422
4408
  "--dynamic-height",
4423
4409
  /*dynamicHeight*/
4424
- c[2]
4410
+ f[2]
4425
4411
  );
4426
4412
  },
4427
- i: A,
4428
- o: A,
4429
- d(c) {
4430
- c && q(t), a && a.d(), l.d(), e[19](null);
4413
+ i: P,
4414
+ o: P,
4415
+ d(f) {
4416
+ f && q(t), a && a.d(), l.d(), e[19](null);
4431
4417
  }
4432
4418
  };
4433
4419
  }
4434
- function ao(e, t, r) {
4420
+ function io(e, t, r) {
4435
4421
  let n, i;
4436
- Br(e, Yi, (p) => r(4, i = p));
4437
- 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: d = "" } = t, { mbsource: v } = t, { shortcashierenabled: m = "false" } = t, E, U = window.navigator.userAgent, O = qi(U) !== "PC", T = !0, L, P, N = 0, te = "";
4438
- const br = () => {
4439
- fetch(f).then((R) => R.json()).then((R) => {
4440
- Object.keys(R).forEach((D) => {
4441
- Mt(D, R[D]);
4422
+ wr(e, zi, (p) => r(4, i = p));
4423
+ let { endpoint: o = "" } = t, { session: s = "" } = t, { playerid: a = "" } = t, { lang: h = "en" } = t, { hasdefaultamount: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { currency: d = "" } = t, { mbsource: v } = t, { shortcashierenabled: m = "false" } = t, E, $ = window.navigator.userAgent, O = Zi($) !== "PC", T = !0, N, A = 0, U = "";
4424
+ const le = () => {
4425
+ fetch(c).then((L) => L.json()).then((L) => {
4426
+ Object.keys(L).forEach((R) => {
4427
+ It(R, L[R]);
4442
4428
  });
4443
- }).catch((R) => {
4444
- console.log(R);
4429
+ }).catch((L) => {
4430
+ console.log(L);
4445
4431
  });
4446
4432
  };
4447
- Object.keys(Lt).forEach((p) => {
4448
- Mt(p, Lt[p]);
4433
+ Object.keys(Ct).forEach((p) => {
4434
+ It(p, Ct[p]);
4449
4435
  });
4450
- const nt = () => {
4436
+ const tt = () => {
4451
4437
  window.postMessage({ type: "GoToPreviousRoute", isMobile: O }, window.location.href);
4452
- }, it = (p) => {
4438
+ }, rt = (p) => {
4453
4439
  if (p.data) {
4454
4440
  switch (p.data.type) {
4455
4441
  case "ProfileDetailsData":
4456
4442
  r(7, d = p.data.profileDetails.currency);
4457
4443
  break;
4458
4444
  }
4459
- switch (p.data["MMFE:setQuickDepositHeight"] && r(2, L = 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
+ switch (p.data["MMFE:setQuickDepositHeight"] && r(2, N = 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) {
4460
4446
  case "mm-hc-casino":
4461
4447
  window.postMessage({ type: "GoToCasino" }, window.location.href);
4462
4448
  break;
@@ -4482,67 +4468,67 @@ function ao(e, t, r) {
4482
4468
  break;
4483
4469
  }
4484
4470
  }
4485
- }, gr = () => {
4471
+ }, pr = () => {
4486
4472
  let p = new URL(`${o}/v1/player/${a}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
4487
4473
  if (p.searchParams.append("language", h), n && p.searchParams.append("isShortCashier", m), u)
4488
4474
  switch (d) {
4489
4475
  case "USD":
4490
- N = 0.4;
4476
+ A = 0.4;
4491
4477
  break;
4492
4478
  case "CDF":
4493
- N = 1e3;
4479
+ A = 1e3;
4494
4480
  break;
4495
4481
  }
4496
- let R = {
4482
+ let L = {
4497
4483
  method: "POST",
4498
4484
  headers: {
4499
4485
  "X-SessionId": s,
4500
4486
  currency: d || "EUR",
4501
- amount: N,
4487
+ amount: A,
4502
4488
  cashierMode: "Default",
4503
4489
  IsShortCashier: m,
4504
4490
  accept: "application/json"
4505
4491
  }
4506
4492
  };
4507
- fetch(p.href, R).then((D) => D.json()).then(
4508
- (D) => {
4509
- r(1, T = !1), r(3, te = D.CashierUrl);
4493
+ fetch(p.href, L).then((R) => R.json()).then(
4494
+ (R) => {
4495
+ r(1, T = !1), r(3, U = R.CashierUrl);
4510
4496
  },
4511
- (D) => {
4512
- console.error(D);
4497
+ (R) => {
4498
+ console.error(R);
4513
4499
  }
4514
4500
  );
4515
- }, yr = () => {
4516
- to(h);
4501
+ }, dr = () => {
4502
+ Ji(h);
4517
4503
  };
4518
- Nr(() => (window.addEventListener("message", it, !1), () => {
4519
- window.emMessageBus && P && P.unsubscribe(), window.removeEventListener("message", it);
4504
+ Ir(() => (window.addEventListener("message", rt, !1), () => {
4505
+ window.removeEventListener("message", rt);
4520
4506
  }));
4521
- const vr = () => nt();
4522
- function _r(p) {
4507
+ const mr = () => tt();
4508
+ function br(p) {
4523
4509
  Ne[p ? "unshift" : "push"](() => {
4524
4510
  E = p, r(0, E);
4525
4511
  });
4526
4512
  }
4527
4513
  return e.$$set = (p) => {
4528
- "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, d = p.currency), "mbsource" in p && r(16, v = p.mbsource), "shortcashierenabled" in p && r(17, m = p.shortcashierenabled);
4514
+ "endpoint" in p && r(8, o = p.endpoint), "session" in p && r(9, s = p.session), "playerid" in p && r(10, a = p.playerid), "lang" in p && r(11, h = p.lang), "hasdefaultamount" in p && r(12, u = p.hasdefaultamount), "clientstyling" in p && r(13, l = p.clientstyling), "clientstylingurl" in p && r(14, f = p.clientstylingurl), "translationurl" in p && r(15, c = p.translationurl), "currency" in p && r(7, d = p.currency), "mbsource" in p && r(16, v = p.mbsource), "shortcashierenabled" in p && r(17, m = p.shortcashierenabled);
4529
4515
  }, e.$$.update = () => {
4530
4516
  e.$$.dirty & /*lang*/
4531
- 2048 && h && yr(), e.$$.dirty & /*shortcashierenabled*/
4517
+ 2048 && h && dr(), e.$$.dirty & /*shortcashierenabled*/
4532
4518
  131072 && (n = m.toLocaleLowerCase() === "true"), e.$$.dirty & /*clientstyling, customStylingContainer*/
4533
- 8193 && l && E && Ji(E, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4534
- 16385 && c && E && Ki(E, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4535
- 65537 && v && E && eo(E, `${v}.Style`), e.$$.dirty & /*translationurl*/
4536
- 32768 && f && br(), e.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
4537
- 135040 && s && a && o && d && h && m && gr();
4519
+ 8193 && l && E && Qi(E, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4520
+ 16385 && f && E && Yi(E, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4521
+ 65537 && v && E && qi(E, `${v}.Style`), e.$$.dirty & /*translationurl*/
4522
+ 32768 && c && le(), e.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
4523
+ 135040 && s && a && o && d && h && m && pr();
4538
4524
  }, [
4539
4525
  E,
4540
4526
  T,
4541
- L,
4542
- te,
4527
+ N,
4528
+ U,
4543
4529
  i,
4544
4530
  O,
4545
- nt,
4531
+ tt,
4546
4532
  d,
4547
4533
  o,
4548
4534
  s,
@@ -4550,22 +4536,22 @@ function ao(e, t, r) {
4550
4536
  h,
4551
4537
  u,
4552
4538
  l,
4553
- c,
4554
4539
  f,
4540
+ c,
4555
4541
  v,
4556
4542
  m,
4557
- vr,
4558
- _r
4543
+ mr,
4544
+ br
4559
4545
  ];
4560
4546
  }
4561
- class uo extends zr {
4547
+ class oo extends kr {
4562
4548
  constructor(t) {
4563
- super(), Xr(
4549
+ super(), Fr(
4564
4550
  this,
4565
4551
  t,
4566
- ao,
4567
- so,
4568
- Rt,
4552
+ io,
4553
+ no,
4554
+ Nt,
4569
4555
  {
4570
4556
  endpoint: 8,
4571
4557
  session: 9,
@@ -4579,7 +4565,7 @@ class uo extends zr {
4579
4565
  mbsource: 16,
4580
4566
  shortcashierenabled: 17
4581
4567
  },
4582
- ro
4568
+ Ki
4583
4569
  );
4584
4570
  }
4585
4571
  get endpoint() {
@@ -4649,7 +4635,7 @@ class uo extends zr {
4649
4635
  this.$$set({ shortcashierenabled: t }), H();
4650
4636
  }
4651
4637
  }
4652
- Wr(uo, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
4638
+ jr(oo, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
4653
4639
  export {
4654
- uo as default
4640
+ oo as default
4655
4641
  };