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