@everymatrix/player-withdrawal 1.76.1 → 1.76.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var br = Object.defineProperty, gr = Object.defineProperties;
2
- var yr = Object.getOwnPropertyDescriptors;
3
- var nt = Object.getOwnPropertySymbols;
4
- var vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable;
5
- var Te = (e, t, r) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
1
+ var yr = Object.defineProperty, gr = Object.defineProperties;
2
+ var vr = Object.getOwnPropertyDescriptors;
3
+ var ot = Object.getOwnPropertySymbols;
4
+ var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
+ var Be = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- vr.call(t, r) && Te(e, r, t[r]);
8
- if (nt)
9
- for (var r of nt(t))
10
- _r.call(t, r) && Te(e, r, t[r]);
7
+ _r.call(t, r) && Be(e, r, t[r]);
8
+ if (ot)
9
+ for (var r of ot(t))
10
+ Er.call(t, r) && Be(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => gr(e, yr(t));
13
- var H = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var st = (e, t, r) => new Promise((n, i) => {
12
+ }, at = (e, t) => gr(e, vr(t));
13
+ var H = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ut = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var st = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function P() {
31
31
  }
32
- function Nt(e) {
32
+ function Mt(e) {
33
33
  return e();
34
34
  }
35
- function at() {
35
+ function ht() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ae(e) {
39
- e.forEach(Nt);
38
+ function se(e) {
39
+ e.forEach(Mt);
40
40
  }
41
- function qe(e) {
41
+ function tt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Lt(e, t) {
44
+ function Ct(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ce;
48
- function ut(e, t) {
48
+ function lt(e, t) {
49
49
  return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
50
50
  }
51
- function Er(e) {
51
+ function xr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Mt(e, ...t) {
54
+ function Rt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Mt(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function xr(e, t, r) {
64
- e.$$.on_destroy.push(Mt(t, r));
63
+ function wr(e, t, r) {
64
+ e.$$.on_destroy.push(Rt(t, r));
65
65
  }
66
66
  function x(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function wr(e, t, r) {
70
- const n = Sr(e);
69
+ function Sr(e, t, r) {
70
+ const n = Tr(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = N("style");
73
- i.id = t, i.textContent = r, Tr(n, i);
72
+ const i = L("style");
73
+ i.id = t, i.textContent = r, Hr(n, i);
74
74
  }
75
75
  }
76
- function Sr(e) {
76
+ function Tr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,45 +83,45 @@ function Sr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Tr(e, t) {
86
+ function Hr(e, t) {
87
87
  return x(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function ue(e, t, r) {
93
+ function ae(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function q(e) {
96
+ function J(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function N(e) {
99
+ function L(e) {
100
100
  return document.createElement(e);
101
101
  }
102
102
  function F(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
- function ne(e) {
105
+ function re(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function Me() {
109
- return ne(" ");
108
+ function Re() {
109
+ return re(" ");
110
110
  }
111
- function Hr(e, t, r, n) {
111
+ function Br(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function E(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function Br(e) {
117
+ function Pr(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function Ye(e, t) {
120
+ function rt(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function Pr(e) {
124
+ function Ar(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -130,87 +130,87 @@ function Pr(e) {
130
130
  }
131
131
  ), t;
132
132
  }
133
- let ie;
134
- function re(e) {
135
- ie = e;
133
+ let ne;
134
+ function te(e) {
135
+ ne = e;
136
136
  }
137
- function Ar() {
138
- if (!ie)
137
+ function Or() {
138
+ if (!ne)
139
139
  throw new Error("Function called outside component initialization");
140
- return ie;
140
+ return ne;
141
141
  }
142
- function Or(e) {
143
- Ar().$$.on_mount.push(e);
142
+ function Ir(e) {
143
+ Or().$$.on_mount.push(e);
144
144
  }
145
- const W = [], Ce = [];
145
+ const W = [], $e = [];
146
146
  let V = [];
147
- const ht = [], Ir = /* @__PURE__ */ Promise.resolve();
148
- let Re = !1;
149
- function Nr() {
150
- Re || (Re = !0, Ir.then(B));
147
+ const ct = [], Nr = /* @__PURE__ */ Promise.resolve();
148
+ let Ue = !1;
149
+ function Lr() {
150
+ Ue || (Ue = !0, Nr.then(B));
151
151
  }
152
- function $e(e) {
152
+ function De(e) {
153
153
  V.push(e);
154
154
  }
155
- const He = /* @__PURE__ */ new Set();
155
+ const Pe = /* @__PURE__ */ new Set();
156
156
  let j = 0;
157
157
  function B() {
158
158
  if (j !== 0)
159
159
  return;
160
- const e = ie;
160
+ const e = ne;
161
161
  do {
162
162
  try {
163
163
  for (; j < W.length; ) {
164
164
  const t = W[j];
165
- j++, re(t), Lr(t.$$);
165
+ j++, te(t), Mr(t.$$);
166
166
  }
167
167
  } catch (t) {
168
168
  throw W.length = 0, j = 0, t;
169
169
  }
170
- for (re(null), W.length = 0, j = 0; Ce.length; )
171
- Ce.pop()();
170
+ for (te(null), W.length = 0, j = 0; $e.length; )
171
+ $e.pop()();
172
172
  for (let t = 0; t < V.length; t += 1) {
173
173
  const r = V[t];
174
- He.has(r) || (He.add(r), r());
174
+ Pe.has(r) || (Pe.add(r), r());
175
175
  }
176
176
  V.length = 0;
177
177
  } while (W.length);
178
- for (; ht.length; )
179
- ht.pop()();
180
- Re = !1, He.clear(), re(e);
178
+ for (; ct.length; )
179
+ ct.pop()();
180
+ Ue = !1, Pe.clear(), te(e);
181
181
  }
182
- function Lr(e) {
182
+ function Mr(e) {
183
183
  if (e.fragment !== null) {
184
- e.update(), ae(e.before_update);
184
+ e.update(), se(e.before_update);
185
185
  const t = e.dirty;
186
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
186
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
187
187
  }
188
188
  }
189
- function Mr(e) {
189
+ function Cr(e) {
190
190
  const t = [], r = [];
191
191
  V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
192
192
  }
193
- const Cr = /* @__PURE__ */ new Set();
194
- function Rr(e, t) {
195
- e && e.i && (Cr.delete(e), e.i(t));
193
+ const Rr = /* @__PURE__ */ new Set();
194
+ function $r(e, t) {
195
+ e && e.i && (Rr.delete(e), e.i(t));
196
196
  }
197
- function $r(e, t, r) {
197
+ function Ur(e, t, r) {
198
198
  const { fragment: n, after_update: i } = e.$$;
199
- n && n.m(t, r), $e(() => {
200
- const o = e.$$.on_mount.map(Nt).filter(qe);
201
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
202
- }), i.forEach($e);
199
+ n && n.m(t, r), De(() => {
200
+ const o = e.$$.on_mount.map(Mt).filter(tt);
201
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
202
+ }), i.forEach(De);
203
203
  }
204
- function Ur(e, t) {
204
+ function Dr(e, t) {
205
205
  const r = e.$$;
206
- r.fragment !== null && (Mr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
206
+ r.fragment !== null && (Cr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
207
207
  }
208
- function Dr(e, t) {
209
- e.$$.dirty[0] === -1 && (W.push(e), Nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
208
+ function Gr(e, t) {
209
+ e.$$.dirty[0] === -1 && (W.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
210
210
  }
211
- function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
212
- const h = ie;
213
- re(e);
211
+ function Fr(e, t, r, n, i, o, s = null, a = [-1]) {
212
+ const h = ne;
213
+ te(e);
214
214
  const u = e.$$ = {
215
215
  fragment: null,
216
216
  ctx: [],
@@ -218,7 +218,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
218
218
  props: o,
219
219
  update: P,
220
220
  not_equal: i,
221
- bound: at(),
221
+ bound: ht(),
222
222
  // lifecycle
223
223
  on_mount: [],
224
224
  on_destroy: [],
@@ -227,7 +227,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
227
227
  after_update: [],
228
228
  context: new Map(t.context || (h ? h.$$.context : [])),
229
229
  // everything else
230
- callbacks: at(),
230
+ callbacks: ht(),
231
231
  dirty: a,
232
232
  skip_bound: !1,
233
233
  root: t.target || h.$$.root
@@ -236,19 +236,19 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
236
236
  let l = !1;
237
237
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
238
238
  const m = p.length ? p[0] : f;
239
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Dr(e, c)), f;
240
- }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
239
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Gr(e, c)), f;
240
+ }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
241
241
  if (t.hydrate) {
242
- const c = Br(t.target);
243
- u.fragment && u.fragment.l(c), c.forEach(q);
242
+ const c = Pr(t.target);
243
+ u.fragment && u.fragment.l(c), c.forEach(J);
244
244
  } else
245
245
  u.fragment && u.fragment.c();
246
- t.intro && Rr(e.$$.fragment), $r(e, t.target, t.anchor), B();
246
+ t.intro && $r(e.$$.fragment), Ur(e, t.target, t.anchor), B();
247
247
  }
248
- re(h);
248
+ te(h);
249
249
  }
250
- let Ct;
251
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
250
+ let $t;
251
+ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
252
252
  constructor(t, r, n) {
253
253
  super();
254
254
  /** The Svelte component constructor */
@@ -285,31 +285,31 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
285
285
  }
286
286
  }
287
287
  connectedCallback() {
288
- return st(this, null, function* () {
288
+ return ut(this, null, function* () {
289
289
  if (this.$$cn = !0, !this.$$c) {
290
290
  let t = function(o) {
291
291
  return () => {
292
292
  let s;
293
293
  return {
294
294
  c: function() {
295
- s = N("slot"), o !== "default" && E(s, "name", o);
295
+ s = L("slot"), o !== "default" && E(s, "name", o);
296
296
  },
297
297
  /**
298
298
  * @param {HTMLElement} target
299
299
  * @param {HTMLElement} [anchor]
300
300
  */
301
301
  m: function(u, l) {
302
- ue(u, s, l);
302
+ ae(u, s, l);
303
303
  },
304
304
  d: function(u) {
305
- u && q(s);
305
+ u && J(s);
306
306
  }
307
307
  };
308
308
  };
309
309
  };
310
310
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
311
311
  return;
312
- const r = {}, n = Pr(this);
312
+ const r = {}, n = Ar(this);
313
313
  for (const o of this.$$s)
314
314
  o in n && (r[o] = [t(o)]);
315
315
  for (const o of this.attributes) {
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
320
320
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
321
321
  this.$$c = new this.$$ctor({
322
322
  target: this.shadowRoot || this,
323
- props: ot(it({}, this.$$d), {
323
+ props: at(st({}, this.$$d), {
324
324
  $$slots: r,
325
325
  $$scope: {
326
326
  ctx: []
@@ -398,8 +398,8 @@ function de(e, t, r, n) {
398
398
  return t;
399
399
  }
400
400
  }
401
- function Fr(e, t, r, n, i, o) {
402
- let s = class extends Ct {
401
+ function jr(e, t, r, n, i, o) {
402
+ let s = class extends $t {
403
403
  constructor() {
404
404
  super(e, r, i), this.$$p_d = t;
405
405
  }
@@ -429,7 +429,7 @@ function Fr(e, t, r, n, i, o) {
429
429
  }), e.element = /** @type {any} */
430
430
  s, s;
431
431
  }
432
- class jr {
432
+ class kr {
433
433
  constructor() {
434
434
  /**
435
435
  * ### PRIVATE API
@@ -450,7 +450,7 @@ class jr {
450
450
  }
451
451
  /** @returns {void} */
452
452
  $destroy() {
453
- Ur(this, 1), this.$destroy = P;
453
+ Dr(this, 1), this.$destroy = P;
454
454
  }
455
455
  /**
456
456
  * @template {Extract<keyof Events, string>} K
@@ -459,7 +459,7 @@ class jr {
459
459
  * @returns {() => void}
460
460
  */
461
461
  $on(t, r) {
462
- if (!qe(r))
462
+ if (!tt(r))
463
463
  return P;
464
464
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
465
465
  return n.push(r), () => {
@@ -472,18 +472,18 @@ class jr {
472
472
  * @returns {void}
473
473
  */
474
474
  $set(t) {
475
- this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
+ this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
476
476
  }
477
477
  }
478
- const kr = "4";
479
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
480
- function Wr(e, t) {
478
+ const Wr = "4";
479
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
480
+ function Vr(e, t) {
481
481
  if (e) {
482
482
  const r = document.createElement("style");
483
483
  r.innerHTML = t, e.appendChild(r);
484
484
  }
485
485
  }
486
- function Vr(e, t) {
486
+ function Xr(e, t) {
487
487
  const r = new URL(t);
488
488
  fetch(r.href).then((n) => n.text()).then((n) => {
489
489
  const i = document.createElement("style");
@@ -492,7 +492,7 @@ function Vr(e, t) {
492
492
  console.error("There was an error while trying to load client styling from URL", n);
493
493
  });
494
494
  }
495
- function Xr(e, t, r) {
495
+ function zr(e, t, r) {
496
496
  if (window.emMessageBus) {
497
497
  const n = document.createElement("style");
498
498
  window.emMessageBus.subscribe(t, (i) => {
@@ -514,43 +514,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
514
514
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
515
515
  PERFORMANCE OF THIS SOFTWARE.
516
516
  ***************************************************************************** */
517
- var Ue = function(e, t) {
518
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
517
+ var Ge = function(e, t) {
518
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
519
519
  r.__proto__ = n;
520
520
  } || function(r, n) {
521
521
  for (var i in n)
522
522
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
523
- }, Ue(e, t);
523
+ }, Ge(e, t);
524
524
  };
525
- function L(e, t) {
525
+ function ue(e, t) {
526
526
  if (typeof t != "function" && t !== null)
527
527
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
528
- Ue(e, t);
528
+ Ge(e, t);
529
529
  function r() {
530
530
  this.constructor = e;
531
531
  }
532
532
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
533
533
  }
534
- var v = function() {
535
- return v = Object.assign || function(t) {
536
- for (var r, n = 1, i = arguments.length; n < i; n++) {
537
- r = arguments[n];
538
- for (var o in r)
539
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
540
- }
541
- return t;
542
- }, v.apply(this, arguments);
543
- };
544
- function zr(e, t) {
545
- var r = {};
546
- for (var n in e)
547
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
548
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
549
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
550
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
551
- return r;
552
- }
553
- function De(e) {
534
+ function Fe(e) {
554
535
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
555
536
  if (r)
556
537
  return r.call(e);
@@ -562,7 +543,7 @@ function De(e) {
562
543
  };
563
544
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
564
545
  }
565
- function Ge(e, t) {
546
+ function je(e, t) {
566
547
  var r = typeof Symbol == "function" && e[Symbol.iterator];
567
548
  if (!r)
568
549
  return e;
@@ -582,22 +563,22 @@ function Ge(e, t) {
582
563
  }
583
564
  return o;
584
565
  }
585
- function X(e, t, r) {
586
- if (r || arguments.length === 2)
566
+ function ke(e, t, r) {
567
+ if (arguments.length === 2)
587
568
  for (var n = 0, i = t.length, o; n < i; n++)
588
569
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
589
570
  return e.concat(o || t);
590
571
  }
591
- function I(e) {
572
+ function N(e) {
592
573
  return typeof e == "function";
593
574
  }
594
- function Rt(e) {
575
+ function Ut(e) {
595
576
  var t = function(n) {
596
577
  Error.call(n), n.stack = new Error().stack;
597
578
  }, r = e(t);
598
579
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
599
580
  }
600
- var Be = Rt(function(e) {
581
+ var Ae = Ut(function(e) {
601
582
  return function(r) {
602
583
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
603
584
  ` + r.map(function(n, i) {
@@ -606,13 +587,13 @@ var Be = Rt(function(e) {
606
587
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
607
588
  };
608
589
  });
609
- function Fe(e, t) {
590
+ function We(e, t) {
610
591
  if (e) {
611
592
  var r = e.indexOf(t);
612
593
  0 <= r && e.splice(r, 1);
613
594
  }
614
595
  }
615
- var _e = function() {
596
+ var Ee = function() {
616
597
  function e(t) {
617
598
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
618
599
  }
@@ -624,12 +605,12 @@ var _e = function() {
624
605
  if (s)
625
606
  if (this._parentage = null, Array.isArray(s))
626
607
  try {
627
- for (var a = De(s), h = a.next(); !h.done; h = a.next()) {
608
+ for (var a = Fe(s), h = a.next(); !h.done; h = a.next()) {
628
609
  var u = h.value;
629
610
  u.remove(this);
630
611
  }
631
- } catch (g) {
632
- t = { error: g };
612
+ } catch (y) {
613
+ t = { error: y };
633
614
  } finally {
634
615
  try {
635
616
  h && !h.done && (r = a.return) && r.call(a);
@@ -641,26 +622,26 @@ var _e = function() {
641
622
  else
642
623
  s.remove(this);
643
624
  var l = this.initialTeardown;
644
- if (I(l))
625
+ if (N(l))
645
626
  try {
646
627
  l();
647
- } catch (g) {
648
- o = g instanceof Be ? g.errors : [g];
628
+ } catch (y) {
629
+ o = y instanceof Ae ? y.errors : [y];
649
630
  }
650
631
  var c = this._finalizers;
651
632
  if (c) {
652
633
  this._finalizers = null;
653
634
  try {
654
- for (var f = De(c), p = f.next(); !p.done; p = f.next()) {
635
+ for (var f = Fe(c), p = f.next(); !p.done; p = f.next()) {
655
636
  var m = p.value;
656
637
  try {
657
- lt(m);
658
- } catch (g) {
659
- o = o != null ? o : [], g instanceof Be ? o = X(X([], Ge(o)), Ge(g.errors)) : o.push(g);
638
+ ft(m);
639
+ } catch (y) {
640
+ o = o != null ? o : [], y instanceof Ae ? o = ke(ke([], je(o)), je(y.errors)) : o.push(y);
660
641
  }
661
642
  }
662
- } catch (g) {
663
- n = { error: g };
643
+ } catch (y) {
644
+ n = { error: y };
664
645
  } finally {
665
646
  try {
666
647
  p && !p.done && (i = f.return) && i.call(f);
@@ -671,13 +652,13 @@ var _e = function() {
671
652
  }
672
653
  }
673
654
  if (o)
674
- throw new Be(o);
655
+ throw new Ae(o);
675
656
  }
676
657
  }, e.prototype.add = function(t) {
677
658
  var r;
678
659
  if (t && t !== this)
679
660
  if (this.closed)
680
- lt(t);
661
+ ft(t);
681
662
  else {
682
663
  if (t instanceof e) {
683
664
  if (t.closed || t._hasParent(this))
@@ -694,56 +675,52 @@ var _e = function() {
694
675
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
695
676
  }, e.prototype._removeParent = function(t) {
696
677
  var r = this._parentage;
697
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
678
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
698
679
  }, e.prototype.remove = function(t) {
699
680
  var r = this._finalizers;
700
- r && Fe(r, t), t instanceof e && t._removeParent(this);
681
+ r && We(r, t), t instanceof e && t._removeParent(this);
701
682
  }, e.EMPTY = function() {
702
683
  var t = new e();
703
684
  return t.closed = !0, t;
704
685
  }(), e;
705
- }(), $t = _e.EMPTY;
706
- function Ut(e) {
707
- return e instanceof _e || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
708
- }
709
- function lt(e) {
710
- I(e) ? e() : e.unsubscribe();
711
- }
712
- var Dt = {
713
- onUnhandledError: null,
714
- onStoppedNotification: null,
715
- Promise: void 0,
716
- useDeprecatedSynchronousErrorHandling: !1,
717
- useDeprecatedNextContext: !1
718
- }, Zr = {
686
+ }(), Dt = Ee.EMPTY;
687
+ function Gt(e) {
688
+ return e instanceof Ee || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
689
+ }
690
+ function ft(e) {
691
+ N(e) ? e() : e.unsubscribe();
692
+ }
693
+ var Zr = {
694
+ Promise: void 0
695
+ }, Qr = {
719
696
  setTimeout: function(e, t) {
720
697
  for (var r = [], n = 2; n < arguments.length; n++)
721
698
  r[n - 2] = arguments[n];
722
- return setTimeout.apply(void 0, X([e, t], Ge(r)));
699
+ return setTimeout.apply(void 0, ke([e, t], je(r)));
723
700
  },
724
701
  clearTimeout: function(e) {
725
702
  return clearTimeout(e);
726
703
  },
727
704
  delegate: void 0
728
705
  };
729
- function Qr(e) {
730
- Zr.setTimeout(function() {
706
+ function Jr(e) {
707
+ Qr.setTimeout(function() {
731
708
  throw e;
732
709
  });
733
710
  }
734
- function ct() {
711
+ function pt() {
735
712
  }
736
713
  function me(e) {
737
714
  e();
738
715
  }
739
- var Gt = function(e) {
740
- L(t, e);
716
+ var Ft = function(e) {
717
+ ue(t, e);
741
718
  function t(r) {
742
719
  var n = e.call(this) || this;
743
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Kr, n;
720
+ return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = Kr, n;
744
721
  }
745
722
  return t.create = function(r, n, i) {
746
- return new je(r, n, i);
723
+ return new Ve(r, n, i);
747
724
  }, t.prototype.next = function(r) {
748
725
  this.isStopped || this._next(r);
749
726
  }, t.prototype.error = function(r) {
@@ -767,11 +744,7 @@ var Gt = function(e) {
767
744
  this.unsubscribe();
768
745
  }
769
746
  }, t;
770
- }(_e), Jr = Function.prototype.bind;
771
- function Pe(e, t) {
772
- return Jr.call(e, t);
773
- }
774
- var qr = function() {
747
+ }(Ee), qr = function() {
775
748
  function e(t) {
776
749
  this.partialObserver = t;
777
750
  }
@@ -802,41 +775,29 @@ var qr = function() {
802
775
  fe(r);
803
776
  }
804
777
  }, e;
805
- }(), je = function(e) {
806
- L(t, e);
778
+ }(), Ve = function(e) {
779
+ ue(t, e);
807
780
  function t(r, n, i) {
808
781
  var o = e.call(this) || this, s;
809
- if (I(r) || !r)
810
- s = {
811
- next: r != null ? r : void 0,
812
- error: n != null ? n : void 0,
813
- complete: i != null ? i : void 0
814
- };
815
- else {
816
- var a;
817
- o && Dt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
818
- return o.unsubscribe();
819
- }, s = {
820
- next: r.next && Pe(r.next, a),
821
- error: r.error && Pe(r.error, a),
822
- complete: r.complete && Pe(r.complete, a)
823
- }) : s = r;
824
- }
825
- return o.destination = new qr(s), o;
782
+ return N(r) || !r ? s = {
783
+ next: r != null ? r : void 0,
784
+ error: n != null ? n : void 0,
785
+ complete: i != null ? i : void 0
786
+ } : s = r, o.destination = new qr(s), o;
826
787
  }
827
788
  return t;
828
- }(Gt);
789
+ }(Ft);
829
790
  function fe(e) {
830
- Qr(e);
791
+ Jr(e);
831
792
  }
832
793
  function Yr(e) {
833
794
  throw e;
834
795
  }
835
796
  var Kr = {
836
797
  closed: !0,
837
- next: ct,
798
+ next: pt,
838
799
  error: Yr,
839
- complete: ct
800
+ complete: pt
840
801
  }, en = function() {
841
802
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
842
803
  }();
@@ -850,7 +811,7 @@ function rn(e) {
850
811
  }, r);
851
812
  };
852
813
  }
853
- var ft = function() {
814
+ var dt = function() {
854
815
  function e(t) {
855
816
  t && (this._subscribe = t);
856
817
  }
@@ -858,7 +819,7 @@ var ft = function() {
858
819
  var r = new e();
859
820
  return r.source = this, r.operator = t, r;
860
821
  }, e.prototype.subscribe = function(t, r, n) {
861
- var i = this, o = on(t) ? t : new je(t, r, n);
822
+ var i = this, o = on(t) ? t : new Ve(t, r, n);
862
823
  return me(function() {
863
824
  var s = i, a = s.operator, h = s.source;
864
825
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -871,8 +832,8 @@ var ft = function() {
871
832
  }
872
833
  }, e.prototype.forEach = function(t, r) {
873
834
  var n = this;
874
- return r = pt(r), new r(function(i, o) {
875
- var s = new je({
835
+ return r = mt(r), new r(function(i, o) {
836
+ var s = new Ve({
876
837
  next: function(a) {
877
838
  try {
878
839
  t(a);
@@ -896,7 +857,7 @@ var ft = function() {
896
857
  return rn(t)(this);
897
858
  }, e.prototype.toPromise = function(t) {
898
859
  var r = this;
899
- return t = pt(t), new t(function(n, i) {
860
+ return t = mt(t), new t(function(n, i) {
900
861
  var o;
901
862
  r.subscribe(function(s) {
902
863
  return o = s;
@@ -910,28 +871,28 @@ var ft = function() {
910
871
  return new e(t);
911
872
  }, e;
912
873
  }();
913
- function pt(e) {
874
+ function mt(e) {
914
875
  var t;
915
- return (t = e != null ? e : Dt.Promise) !== null && t !== void 0 ? t : Promise;
876
+ return (t = e != null ? e : Zr.Promise) !== null && t !== void 0 ? t : Promise;
916
877
  }
917
878
  function nn(e) {
918
- return e && I(e.next) && I(e.error) && I(e.complete);
879
+ return e && N(e.next) && N(e.error) && N(e.complete);
919
880
  }
920
881
  function on(e) {
921
- return e && e instanceof Gt || nn(e) && Ut(e);
882
+ return e && e instanceof Ft || nn(e) && Gt(e);
922
883
  }
923
- var sn = Rt(function(e) {
884
+ var sn = Ut(function(e) {
924
885
  return function() {
925
886
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
926
887
  };
927
- }), Ft = function(e) {
928
- L(t, e);
888
+ }), jt = function(e) {
889
+ ue(t, e);
929
890
  function t() {
930
891
  var r = e.call(this) || this;
931
892
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
932
893
  }
933
894
  return t.prototype.lift = function(r) {
934
- var n = new dt(this, this);
895
+ var n = new bt(this, this);
935
896
  return n.operator = r, n;
936
897
  }, t.prototype._throwIfClosed = function() {
937
898
  if (this.closed)
@@ -943,7 +904,7 @@ var sn = Rt(function(e) {
943
904
  if (n._throwIfClosed(), !n.isStopped) {
944
905
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
945
906
  try {
946
- for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
907
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
947
908
  var h = a.value;
948
909
  h.next(r);
949
910
  }
@@ -992,20 +953,20 @@ var sn = Rt(function(e) {
992
953
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
993
954
  }, t.prototype._innerSubscribe = function(r) {
994
955
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
995
- return o || s ? $t : (this.currentObservers = null, a.push(r), new _e(function() {
996
- n.currentObservers = null, Fe(a, r);
956
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new Ee(function() {
957
+ n.currentObservers = null, We(a, r);
997
958
  }));
998
959
  }, t.prototype._checkFinalizedStatuses = function(r) {
999
960
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1000
961
  i ? r.error(o) : s && r.complete();
1001
962
  }, t.prototype.asObservable = function() {
1002
- var r = new ft();
963
+ var r = new dt();
1003
964
  return r.source = this, r;
1004
965
  }, t.create = function(r, n) {
1005
- return new dt(r, n);
966
+ return new bt(r, n);
1006
967
  }, t;
1007
- }(ft), dt = function(e) {
1008
- L(t, e);
968
+ }(dt), bt = function(e) {
969
+ ue(t, e);
1009
970
  function t(r, n) {
1010
971
  var i = e.call(this) || this;
1011
972
  return i.destination = r, i.source = n, i;
@@ -1021,17 +982,17 @@ var sn = Rt(function(e) {
1021
982
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1022
983
  }, t.prototype._subscribe = function(r) {
1023
984
  var n, i;
1024
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
985
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1025
986
  }, t;
1026
- }(Ft), jt = {
987
+ }(jt), kt = {
1027
988
  now: function() {
1028
- return (jt.delegate || Date).now();
989
+ return (kt.delegate || Date).now();
1029
990
  },
1030
991
  delegate: void 0
1031
992
  }, an = function(e) {
1032
- L(t, e);
993
+ ue(t, e);
1033
994
  function t(r, n, i) {
1034
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
995
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
1035
996
  var o = e.call(this) || this;
1036
997
  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;
1037
998
  }
@@ -1051,24 +1012,24 @@ var sn = Rt(function(e) {
1051
1012
  u && o.splice(0, u + 1);
1052
1013
  }
1053
1014
  }, t;
1054
- }(Ft);
1055
- const mt = [], bt = {}, un = (e, t = 0) => {
1056
- if (mt.indexOf(e) == -1) {
1015
+ }(jt);
1016
+ const yt = [], gt = {}, un = (e, t = 0) => {
1017
+ if (yt.indexOf(e) == -1) {
1057
1018
  const r = new an(t);
1058
- bt[e] = r, mt.push(e);
1019
+ gt[e] = r, yt.push(e);
1059
1020
  }
1060
- return bt[e];
1021
+ return gt[e];
1061
1022
  }, k = [];
1062
1023
  function hn(e, t) {
1063
1024
  return {
1064
- subscribe: Ee(e, t).subscribe
1025
+ subscribe: xe(e, t).subscribe
1065
1026
  };
1066
1027
  }
1067
- function Ee(e, t = P) {
1028
+ function xe(e, t = P) {
1068
1029
  let r;
1069
1030
  const n = /* @__PURE__ */ new Set();
1070
1031
  function i(a) {
1071
- if (Lt(e, a) && (e = a, r)) {
1032
+ if (Ct(e, a) && (e = a, r)) {
1072
1033
  const h = !k.length;
1073
1034
  for (const u of n)
1074
1035
  u[1](), k.push(u, e);
@@ -1090,7 +1051,7 @@ function Ee(e, t = P) {
1090
1051
  }
1091
1052
  return { set: i, update: o, subscribe: s };
1092
1053
  }
1093
- function Y(e, t, r) {
1054
+ function q(e, t, r) {
1094
1055
  const n = !Array.isArray(e), i = n ? [e] : e;
1095
1056
  if (!i.every(Boolean))
1096
1057
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1104,20 +1065,20 @@ function Y(e, t, r) {
1104
1065
  return;
1105
1066
  c();
1106
1067
  const m = t(n ? u[0] : u, s, a);
1107
- o ? s(m) : c = qe(m) ? m : P;
1068
+ o ? s(m) : c = tt(m) ? m : P;
1108
1069
  }, p = i.map(
1109
- (m, g) => Mt(
1070
+ (m, y) => Rt(
1110
1071
  m,
1111
1072
  (w) => {
1112
- u[g] = w, l &= ~(1 << g), h && f();
1073
+ u[y] = w, l &= ~(1 << y), h && f();
1113
1074
  },
1114
1075
  () => {
1115
- l |= 1 << g;
1076
+ l |= 1 << y;
1116
1077
  }
1117
1078
  )
1118
1079
  );
1119
1080
  return h = !0, f(), function() {
1120
- ae(p), c(), h = !1;
1081
+ se(p), c(), h = !1;
1121
1082
  };
1122
1083
  });
1123
1084
  }
@@ -1138,32 +1099,32 @@ var dn = typeof Symbol == "function" && Symbol.for, mn = dn ? Symbol.for("react.
1138
1099
  function bn(e) {
1139
1100
  return e.$$typeof === mn;
1140
1101
  }
1141
- function gn(e) {
1102
+ function yn(e) {
1142
1103
  return Array.isArray(e) ? [] : {};
1143
1104
  }
1144
- function oe(e, t) {
1145
- return t.clone !== !1 && t.isMergeableObject(e) ? z(gn(e), e, t) : e;
1105
+ function ie(e, t) {
1106
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(yn(e), e, t) : e;
1146
1107
  }
1147
- function yn(e, t, r) {
1108
+ function gn(e, t, r) {
1148
1109
  return e.concat(t).map(function(n) {
1149
- return oe(n, r);
1110
+ return ie(n, r);
1150
1111
  });
1151
1112
  }
1152
1113
  function vn(e, t) {
1153
1114
  if (!t.customMerge)
1154
- return z;
1115
+ return X;
1155
1116
  var r = t.customMerge(e);
1156
- return typeof r == "function" ? r : z;
1117
+ return typeof r == "function" ? r : X;
1157
1118
  }
1158
1119
  function _n(e) {
1159
1120
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1160
1121
  return Object.propertyIsEnumerable.call(e, t);
1161
1122
  }) : [];
1162
1123
  }
1163
- function gt(e) {
1124
+ function vt(e) {
1164
1125
  return Object.keys(e).concat(_n(e));
1165
1126
  }
1166
- function kt(e, t) {
1127
+ function Wt(e, t) {
1167
1128
  try {
1168
1129
  return t in e;
1169
1130
  } catch (r) {
@@ -1171,129 +1132,179 @@ function kt(e, t) {
1171
1132
  }
1172
1133
  }
1173
1134
  function En(e, t) {
1174
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1135
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1175
1136
  }
1176
1137
  function xn(e, t, r) {
1177
1138
  var n = {};
1178
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1179
- n[i] = oe(e[i], r);
1180
- }), gt(t).forEach(function(i) {
1181
- En(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1139
+ return r.isMergeableObject(e) && vt(e).forEach(function(i) {
1140
+ n[i] = ie(e[i], r);
1141
+ }), vt(t).forEach(function(i) {
1142
+ En(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1182
1143
  }), n;
1183
1144
  }
1184
- function z(e, t, r) {
1185
- r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = oe;
1145
+ function X(e, t, r) {
1146
+ r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = ie;
1186
1147
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1187
- return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : oe(t, r);
1148
+ return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ie(t, r);
1188
1149
  }
1189
- z.all = function(t, r) {
1150
+ X.all = function(t, r) {
1190
1151
  if (!Array.isArray(t))
1191
1152
  throw new Error("first argument should be an array");
1192
1153
  return t.reduce(function(n, i) {
1193
- return z(n, i, r);
1154
+ return X(n, i, r);
1194
1155
  }, {});
1195
1156
  };
1196
- var wn = z, Sn = wn;
1157
+ var wn = X, Sn = wn;
1197
1158
  const Tn = /* @__PURE__ */ ln(Sn);
1198
- function Ae(e, t) {
1199
- var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Bn;
1159
+ var Xe = function(e, t) {
1160
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1161
+ r.__proto__ = n;
1162
+ } || function(r, n) {
1163
+ for (var i in n)
1164
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1165
+ }, Xe(e, t);
1166
+ };
1167
+ function we(e, t) {
1168
+ if (typeof t != "function" && t !== null)
1169
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1170
+ Xe(e, t);
1171
+ function r() {
1172
+ this.constructor = e;
1173
+ }
1174
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1175
+ }
1176
+ var I = function() {
1177
+ return I = Object.assign || function(t) {
1178
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1179
+ r = arguments[n];
1180
+ for (var o in r)
1181
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1182
+ }
1183
+ return t;
1184
+ }, I.apply(this, arguments);
1185
+ };
1186
+ function Hn(e, t) {
1187
+ var r = {};
1188
+ for (var n in e)
1189
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1190
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1191
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1192
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1193
+ return r;
1194
+ }
1195
+ function Oe(e, t, r) {
1196
+ if (r || arguments.length === 2)
1197
+ for (var n = 0, i = t.length, o; n < i; n++)
1198
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1199
+ return e.concat(o || Array.prototype.slice.call(t));
1200
+ }
1201
+ function Ie(e, t) {
1202
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : An;
1200
1203
  return i(e, {
1201
1204
  cache: r,
1202
1205
  serializer: n
1203
1206
  });
1204
1207
  }
1205
- function Hn(e) {
1208
+ function Bn(e) {
1206
1209
  return e == null || typeof e == "number" || typeof e == "boolean";
1207
1210
  }
1208
- function Wt(e, t, r, n) {
1209
- var i = Hn(n) ? n : r(n), o = t.get(i);
1211
+ function Pn(e, t, r, n) {
1212
+ var i = Bn(n) ? n : r(n), o = t.get(i);
1210
1213
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1211
1214
  }
1212
1215
  function Vt(e, t, r) {
1213
1216
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1214
1217
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1215
1218
  }
1216
- function Ke(e, t, r, n, i) {
1219
+ function Xt(e, t, r, n, i) {
1217
1220
  return r.bind(t, e, n, i);
1218
1221
  }
1219
- function Bn(e, t) {
1220
- var r = e.length === 1 ? Wt : Vt;
1221
- return Ke(e, this, r, t.cache.create(), t.serializer);
1222
- }
1223
- function Pn(e, t) {
1224
- return Ke(e, this, Vt, t.cache.create(), t.serializer);
1225
- }
1226
1222
  function An(e, t) {
1227
- return Ke(e, this, Wt, t.cache.create(), t.serializer);
1223
+ var r = e.length === 1 ? Pn : Vt;
1224
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1228
1225
  }
1229
- var On = function() {
1230
- return JSON.stringify(arguments);
1231
- };
1232
- function et() {
1233
- this.cache = /* @__PURE__ */ Object.create(null);
1226
+ function On(e, t) {
1227
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
1234
1228
  }
1235
- et.prototype.get = function(e) {
1236
- return this.cache[e];
1237
- };
1238
- et.prototype.set = function(e, t) {
1239
- this.cache[e] = t;
1240
- };
1241
- var In = {
1229
+ var In = function() {
1230
+ return JSON.stringify(arguments);
1231
+ }, Nn = (
1232
+ /** @class */
1233
+ function() {
1234
+ function e() {
1235
+ this.cache = /* @__PURE__ */ Object.create(null);
1236
+ }
1237
+ return e.prototype.get = function(t) {
1238
+ return this.cache[t];
1239
+ }, e.prototype.set = function(t, r) {
1240
+ this.cache[t] = r;
1241
+ }, e;
1242
+ }()
1243
+ ), Ln = {
1242
1244
  create: function() {
1243
- return new et();
1245
+ return new Nn();
1244
1246
  }
1245
- }, Oe = {
1246
- variadic: Pn,
1247
- monadic: An
1248
- }, b;
1247
+ }, Ne = {
1248
+ variadic: On
1249
+ }, ge = function() {
1250
+ return ge = Object.assign || function(t) {
1251
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1252
+ r = arguments[n];
1253
+ for (var o in r)
1254
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1255
+ }
1256
+ return t;
1257
+ }, ge.apply(this, arguments);
1258
+ };
1259
+ var b;
1249
1260
  (function(e) {
1250
1261
  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";
1251
1262
  })(b || (b = {}));
1252
- var _;
1263
+ var v;
1253
1264
  (function(e) {
1254
1265
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1255
- })(_ || (_ = {}));
1256
- var Z;
1266
+ })(v || (v = {}));
1267
+ var z;
1257
1268
  (function(e) {
1258
1269
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1259
- })(Z || (Z = {}));
1260
- function yt(e) {
1261
- return e.type === _.literal;
1262
- }
1263
- function Nn(e) {
1264
- return e.type === _.argument;
1270
+ })(z || (z = {}));
1271
+ function _t(e) {
1272
+ return e.type === v.literal;
1265
1273
  }
1266
- function Xt(e) {
1267
- return e.type === _.number;
1274
+ function Mn(e) {
1275
+ return e.type === v.argument;
1268
1276
  }
1269
1277
  function zt(e) {
1270
- return e.type === _.date;
1278
+ return e.type === v.number;
1271
1279
  }
1272
1280
  function Zt(e) {
1273
- return e.type === _.time;
1281
+ return e.type === v.date;
1274
1282
  }
1275
1283
  function Qt(e) {
1276
- return e.type === _.select;
1284
+ return e.type === v.time;
1277
1285
  }
1278
1286
  function Jt(e) {
1279
- return e.type === _.plural;
1280
- }
1281
- function Ln(e) {
1282
- return e.type === _.pound;
1287
+ return e.type === v.select;
1283
1288
  }
1284
1289
  function qt(e) {
1285
- return e.type === _.tag;
1290
+ return e.type === v.plural;
1291
+ }
1292
+ function Cn(e) {
1293
+ return e.type === v.pound;
1286
1294
  }
1287
1295
  function Yt(e) {
1288
- return !!(e && typeof e == "object" && e.type === Z.number);
1296
+ return e.type === v.tag;
1289
1297
  }
1290
- function ke(e) {
1291
- return !!(e && typeof e == "object" && e.type === Z.dateTime);
1298
+ function Kt(e) {
1299
+ return !!(e && typeof e == "object" && e.type === z.number);
1292
1300
  }
1293
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1294
- function Cn(e) {
1301
+ function ze(e) {
1302
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
1303
+ }
1304
+ var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1305
+ function $n(e) {
1295
1306
  var t = {};
1296
- return e.replace(Mn, function(r) {
1307
+ return e.replace(Rn, function(r) {
1297
1308
  var n = r.length;
1298
1309
  switch (r[0]) {
1299
1310
  case "G":
@@ -1382,11 +1393,21 @@ function Cn(e) {
1382
1393
  return "";
1383
1394
  }), t;
1384
1395
  }
1385
- var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1386
- function $n(e) {
1396
+ var _ = function() {
1397
+ return _ = Object.assign || function(t) {
1398
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1399
+ r = arguments[n];
1400
+ for (var o in r)
1401
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1402
+ }
1403
+ return t;
1404
+ }, _.apply(this, arguments);
1405
+ };
1406
+ var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1407
+ function Dn(e) {
1387
1408
  if (e.length === 0)
1388
1409
  throw new Error("Number skeleton cannot be empty");
1389
- for (var t = e.split(Rn).filter(function(f) {
1410
+ for (var t = e.split(Un).filter(function(f) {
1390
1411
  return f.length > 0;
1391
1412
  }), r = [], n = 0, i = t; n < i.length; n++) {
1392
1413
  var o = i[n], s = o.split("/");
@@ -1401,17 +1422,17 @@ function $n(e) {
1401
1422
  }
1402
1423
  return r;
1403
1424
  }
1404
- function Un(e) {
1425
+ function Gn(e) {
1405
1426
  return e.replace(/^(.*?)-/, "");
1406
1427
  }
1407
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1408
- function _t(e) {
1428
+ var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1429
+ function xt(e) {
1409
1430
  var t = {};
1410
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1431
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1411
1432
  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)), "";
1412
1433
  }), t;
1413
1434
  }
1414
- function rr(e) {
1435
+ function nr(e) {
1415
1436
  switch (e) {
1416
1437
  case "sign-auto":
1417
1438
  return {
@@ -1451,7 +1472,7 @@ function rr(e) {
1451
1472
  };
1452
1473
  }
1453
1474
  }
1454
- function Gn(e) {
1475
+ function jn(e) {
1455
1476
  var t;
1456
1477
  if (e[0] === "E" && e[1] === "E" ? (t = {
1457
1478
  notation: "engineering"
@@ -1459,17 +1480,17 @@ function Gn(e) {
1459
1480
  notation: "scientific"
1460
1481
  }, e = e.slice(1)), t) {
1461
1482
  var r = e.slice(0, 2);
1462
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1483
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1463
1484
  throw new Error("Malformed concise eng/scientific notation");
1464
1485
  t.minimumIntegerDigits = e.length;
1465
1486
  }
1466
1487
  return t;
1467
1488
  }
1468
- function Et(e) {
1469
- var t = {}, r = rr(e);
1489
+ function wt(e) {
1490
+ var t = {}, r = nr(e);
1470
1491
  return r || t;
1471
1492
  }
1472
- function Fn(e) {
1493
+ function kn(e) {
1473
1494
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1474
1495
  var i = n[r];
1475
1496
  switch (i.stem) {
@@ -1493,7 +1514,7 @@ function Fn(e) {
1493
1514
  continue;
1494
1515
  case "measure-unit":
1495
1516
  case "unit":
1496
- t.style = "unit", t.unit = Un(i.options[0]);
1517
+ t.style = "unit", t.unit = Gn(i.options[0]);
1497
1518
  continue;
1498
1519
  case "compact-short":
1499
1520
  case "K":
@@ -1504,13 +1525,13 @@ function Fn(e) {
1504
1525
  t.notation = "compact", t.compactDisplay = "long";
1505
1526
  continue;
1506
1527
  case "scientific":
1507
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1508
- return v(v({}, h), Et(u));
1528
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1529
+ return _(_({}, h), wt(u));
1509
1530
  }, {}));
1510
1531
  continue;
1511
1532
  case "engineering":
1512
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1513
- return v(v({}, h), Et(u));
1533
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1534
+ return _(_({}, h), wt(u));
1514
1535
  }, {}));
1515
1536
  continue;
1516
1537
  case "notation-simple":
@@ -1555,7 +1576,7 @@ function Fn(e) {
1555
1576
  case "integer-width":
1556
1577
  if (i.options.length > 1)
1557
1578
  throw new RangeError("integer-width stems only accept a single optional option");
1558
- i.options[0].replace(Dn, function(h, u, l, c, f, p) {
1579
+ i.options[0].replace(Fn, function(h, u, l, c, f, p) {
1559
1580
  if (u)
1560
1581
  t.minimumIntegerDigits = l.length;
1561
1582
  else {
@@ -1568,28 +1589,28 @@ function Fn(e) {
1568
1589
  });
1569
1590
  continue;
1570
1591
  }
1571
- if (tr.test(i.stem)) {
1592
+ if (rr.test(i.stem)) {
1572
1593
  t.minimumIntegerDigits = i.stem.length;
1573
1594
  continue;
1574
1595
  }
1575
- if (vt.test(i.stem)) {
1596
+ if (Et.test(i.stem)) {
1576
1597
  if (i.options.length > 1)
1577
1598
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1578
- i.stem.replace(vt, function(h, u, l, c, f, p) {
1599
+ i.stem.replace(Et, function(h, u, l, c, f, p) {
1579
1600
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1580
1601
  });
1581
1602
  var o = i.options[0];
1582
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), _t(o)));
1603
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), xt(o)));
1583
1604
  continue;
1584
1605
  }
1585
- if (er.test(i.stem)) {
1586
- t = v(v({}, t), _t(i.stem));
1606
+ if (tr.test(i.stem)) {
1607
+ t = _(_({}, t), xt(i.stem));
1587
1608
  continue;
1588
1609
  }
1589
- var s = rr(i.stem);
1590
- s && (t = v(v({}, t), s));
1591
- var a = Gn(i.stem);
1592
- a && (t = v(v({}, t), a));
1610
+ var s = nr(i.stem);
1611
+ s && (t = _(_({}, t), s));
1612
+ var a = jn(i.stem);
1613
+ a && (t = _(_({}, t), a));
1593
1614
  }
1594
1615
  return t;
1595
1616
  }
@@ -3008,13 +3029,13 @@ var pe = {
3008
3029
  "h"
3009
3030
  ]
3010
3031
  };
3011
- function jn(e, t) {
3032
+ function Wn(e, t) {
3012
3033
  for (var r = "", n = 0; n < e.length; n++) {
3013
3034
  var i = e.charAt(n);
3014
3035
  if (i === "j") {
3015
3036
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3016
3037
  o++, n++;
3017
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = kn(t);
3038
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Vn(t);
3018
3039
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3019
3040
  r += h;
3020
3041
  for (; s-- > 0; )
@@ -3024,7 +3045,7 @@ function jn(e, t) {
3024
3045
  }
3025
3046
  return r;
3026
3047
  }
3027
- function kn(e) {
3048
+ function Vn(e) {
3028
3049
  var t = e.hourCycle;
3029
3050
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3030
3051
  e.hourCycles && // @ts-ignore
@@ -3046,20 +3067,20 @@ function kn(e) {
3046
3067
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3047
3068
  return i[0];
3048
3069
  }
3049
- var Ie, Wn = new RegExp("^".concat(Kt.source, "*")), Vn = new RegExp("".concat(Kt.source, "*$"));
3050
- function y(e, t) {
3070
+ var Le, Xn = new RegExp("^".concat(er.source, "*")), zn = new RegExp("".concat(er.source, "*$"));
3071
+ function g(e, t) {
3051
3072
  return { start: e, end: t };
3052
3073
  }
3053
- var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Yn = !!Number.isSafeInteger, Kn = Yn ? Number.isSafeInteger : function(e) {
3074
+ var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3054
3075
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3055
- }, We = !0;
3076
+ }, Ze = !0;
3056
3077
  try {
3057
- var ei = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3058
- We = ((Ie = ei.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3078
+ var ri = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3079
+ Ze = ((Le = ri.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
3059
3080
  } catch (e) {
3060
- We = !1;
3081
+ Ze = !1;
3061
3082
  }
3062
- var xt = Xn ? (
3083
+ var St = Zn ? (
3063
3084
  // Native
3064
3085
  function(t, r, n) {
3065
3086
  return t.startsWith(r, n);
@@ -3069,7 +3090,7 @@ var xt = Xn ? (
3069
3090
  function(t, r, n) {
3070
3091
  return t.slice(n, n + r.length) === r;
3071
3092
  }
3072
- ), Ve = zn ? String.fromCodePoint : (
3093
+ ), Qe = Qn ? String.fromCodePoint : (
3073
3094
  // IE11
3074
3095
  function() {
3075
3096
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3081,9 +3102,9 @@ var xt = Xn ? (
3081
3102
  }
3082
3103
  return n;
3083
3104
  }
3084
- ), wt = (
3105
+ ), Tt = (
3085
3106
  // native
3086
- Zn ? Object.fromEntries : (
3107
+ Jn ? Object.fromEntries : (
3087
3108
  // Ponyfill
3088
3109
  function(t) {
3089
3110
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3093,7 +3114,7 @@ var xt = Xn ? (
3093
3114
  return r;
3094
3115
  }
3095
3116
  )
3096
- ), nr = Qn ? (
3117
+ ), ir = qn ? (
3097
3118
  // Native
3098
3119
  function(t, r) {
3099
3120
  return t.codePointAt(r);
@@ -3107,7 +3128,7 @@ var xt = Xn ? (
3107
3128
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3108
3129
  }
3109
3130
  }
3110
- ), ti = Jn ? (
3131
+ ), ni = Yn ? (
3111
3132
  // Native
3112
3133
  function(t) {
3113
3134
  return t.trimStart();
@@ -3115,9 +3136,9 @@ var xt = Xn ? (
3115
3136
  ) : (
3116
3137
  // Ponyfill
3117
3138
  function(t) {
3118
- return t.replace(Wn, "");
3139
+ return t.replace(Xn, "");
3119
3140
  }
3120
- ), ri = qn ? (
3141
+ ), ii = Kn ? (
3121
3142
  // Native
3122
3143
  function(t) {
3123
3144
  return t.trimEnd();
@@ -3125,32 +3146,32 @@ var xt = Xn ? (
3125
3146
  ) : (
3126
3147
  // Ponyfill
3127
3148
  function(t) {
3128
- return t.replace(Vn, "");
3149
+ return t.replace(zn, "");
3129
3150
  }
3130
3151
  );
3131
- function ir(e, t) {
3152
+ function or(e, t) {
3132
3153
  return new RegExp(e, t);
3133
3154
  }
3134
- var Xe;
3135
- if (We) {
3136
- var St = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3137
- Xe = function(t, r) {
3155
+ var Je;
3156
+ if (Ze) {
3157
+ var Ht = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3158
+ Je = function(t, r) {
3138
3159
  var n;
3139
- St.lastIndex = r;
3140
- var i = St.exec(t);
3160
+ Ht.lastIndex = r;
3161
+ var i = Ht.exec(t);
3141
3162
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3142
3163
  };
3143
3164
  } else
3144
- Xe = function(t, r) {
3165
+ Je = function(t, r) {
3145
3166
  for (var n = []; ; ) {
3146
- var i = nr(t, r);
3147
- if (i === void 0 || or(i) || si(i))
3167
+ var i = ir(t, r);
3168
+ if (i === void 0 || sr(i) || ui(i))
3148
3169
  break;
3149
3170
  n.push(i), r += i >= 65536 ? 2 : 1;
3150
3171
  }
3151
- return Ve.apply(void 0, n);
3172
+ return Qe.apply(void 0, n);
3152
3173
  };
3153
- var ni = (
3174
+ var oi = (
3154
3175
  /** @class */
3155
3176
  function() {
3156
3177
  function e(t, r) {
@@ -3174,14 +3195,14 @@ var ni = (
3174
3195
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3175
3196
  var a = this.clonePosition();
3176
3197
  this.bump(), i.push({
3177
- type: _.pound,
3178
- location: y(a, this.clonePosition())
3198
+ type: v.pound,
3199
+ location: g(a, this.clonePosition())
3179
3200
  });
3180
3201
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3181
3202
  if (n)
3182
3203
  break;
3183
- return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3184
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3204
+ return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3205
+ } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3185
3206
  var s = this.parseTag(t, r);
3186
3207
  if (s.err)
3187
3208
  return s;
@@ -3202,9 +3223,9 @@ var ni = (
3202
3223
  if (this.bumpSpace(), this.bumpIf("/>"))
3203
3224
  return {
3204
3225
  val: {
3205
- type: _.literal,
3226
+ type: v.literal,
3206
3227
  value: "<".concat(i, "/>"),
3207
- location: y(n, this.clonePosition())
3228
+ location: g(n, this.clonePosition())
3208
3229
  },
3209
3230
  err: null
3210
3231
  };
@@ -3214,25 +3235,25 @@ var ni = (
3214
3235
  return o;
3215
3236
  var s = o.val, a = this.clonePosition();
3216
3237
  if (this.bumpIf("</")) {
3217
- if (this.isEOF() || !ze(this.char()))
3218
- return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
3238
+ if (this.isEOF() || !qe(this.char()))
3239
+ return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3219
3240
  var h = this.clonePosition(), u = this.parseTagName();
3220
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3241
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3221
3242
  val: {
3222
- type: _.tag,
3243
+ type: v.tag,
3223
3244
  value: i,
3224
3245
  children: s,
3225
- location: y(n, this.clonePosition())
3246
+ location: g(n, this.clonePosition())
3226
3247
  },
3227
3248
  err: null
3228
- } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
3249
+ } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3229
3250
  } else
3230
- return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3251
+ return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3231
3252
  } else
3232
- return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3253
+ return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3233
3254
  }, e.prototype.parseTagName = function() {
3234
3255
  var t = this.offset();
3235
- for (this.bump(); !this.isEOF() && oi(this.char()); )
3256
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
3236
3257
  this.bump();
3237
3258
  return this.message.slice(t, this.offset());
3238
3259
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3254,14 +3275,14 @@ var ni = (
3254
3275
  }
3255
3276
  break;
3256
3277
  }
3257
- var h = y(n, this.clonePosition());
3278
+ var h = g(n, this.clonePosition());
3258
3279
  return {
3259
- val: { type: _.literal, value: i, location: h },
3280
+ val: { type: v.literal, value: i, location: h },
3260
3281
  err: null
3261
3282
  };
3262
3283
  }, e.prototype.tryParseLeftAngleBracket = function() {
3263
3284
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3264
- !ii(this.peek() || 0)) ? (this.bump(), "<") : null;
3285
+ !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3265
3286
  }, e.prototype.tryParseQuote = function(t) {
3266
3287
  if (this.isEOF() || this.char() !== 39)
3267
3288
  return null;
@@ -3295,49 +3316,49 @@ var ni = (
3295
3316
  r.push(n);
3296
3317
  this.bump();
3297
3318
  }
3298
- return Ve.apply(void 0, r);
3319
+ return Qe.apply(void 0, r);
3299
3320
  }, e.prototype.tryParseUnquoted = function(t, r) {
3300
3321
  if (this.isEOF())
3301
3322
  return null;
3302
3323
  var n = this.char();
3303
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3324
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3304
3325
  }, e.prototype.parseArgument = function(t, r) {
3305
3326
  var n = this.clonePosition();
3306
3327
  if (this.bump(), this.bumpSpace(), this.isEOF())
3307
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3328
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3308
3329
  if (this.char() === 125)
3309
- return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3330
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3310
3331
  var i = this.parseIdentifierIfPossible().value;
3311
3332
  if (!i)
3312
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3333
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3313
3334
  if (this.bumpSpace(), this.isEOF())
3314
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3335
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3315
3336
  switch (this.char()) {
3316
3337
  case 125:
3317
3338
  return this.bump(), {
3318
3339
  val: {
3319
- type: _.argument,
3340
+ type: v.argument,
3320
3341
  // value does not include the opening and closing braces.
3321
3342
  value: i,
3322
- location: y(n, this.clonePosition())
3343
+ location: g(n, this.clonePosition())
3323
3344
  },
3324
3345
  err: null
3325
3346
  };
3326
3347
  case 44:
3327
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3348
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3328
3349
  default:
3329
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3350
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3330
3351
  }
3331
3352
  }, e.prototype.parseIdentifierIfPossible = function() {
3332
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3353
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3333
3354
  this.bumpTo(i);
3334
- var o = this.clonePosition(), s = y(t, o);
3355
+ var o = this.clonePosition(), s = g(t, o);
3335
3356
  return { value: n, location: s };
3336
3357
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3337
3358
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3338
3359
  switch (a) {
3339
3360
  case "":
3340
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, h));
3361
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, h));
3341
3362
  case "number":
3342
3363
  case "date":
3343
3364
  case "time": {
@@ -3348,46 +3369,46 @@ var ni = (
3348
3369
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3349
3370
  if (c.err)
3350
3371
  return c;
3351
- var f = ri(c.val);
3372
+ var f = ii(c.val);
3352
3373
  if (f.length === 0)
3353
- return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3354
- var p = y(l, this.clonePosition());
3374
+ return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3375
+ var p = g(l, this.clonePosition());
3355
3376
  u = { style: f, styleLocation: p };
3356
3377
  }
3357
3378
  var m = this.tryParseArgumentClose(i);
3358
3379
  if (m.err)
3359
3380
  return m;
3360
- var g = y(i, this.clonePosition());
3361
- if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3362
- var w = ti(u.style.slice(2));
3381
+ var y = g(i, this.clonePosition());
3382
+ if (u && St(u == null ? void 0 : u.style, "::", 0)) {
3383
+ var w = ni(u.style.slice(2));
3363
3384
  if (a === "number") {
3364
3385
  var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3365
3386
  return c.err ? c : {
3366
- val: { type: _.number, value: n, location: g, style: c.val },
3387
+ val: { type: v.number, value: n, location: y, style: c.val },
3367
3388
  err: null
3368
3389
  };
3369
3390
  } else {
3370
3391
  if (w.length === 0)
3371
- return this.error(b.EXPECT_DATE_TIME_SKELETON, g);
3392
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, y);
3372
3393
  var M = w;
3373
- this.locale && (M = jn(w, this.locale));
3394
+ this.locale && (M = Wn(w, this.locale));
3374
3395
  var f = {
3375
- type: Z.dateTime,
3396
+ type: z.dateTime,
3376
3397
  pattern: M,
3377
3398
  location: u.styleLocation,
3378
- parsedOptions: this.shouldParseSkeletons ? Cn(M) : {}
3379
- }, A = a === "date" ? _.date : _.time;
3399
+ parsedOptions: this.shouldParseSkeletons ? $n(M) : {}
3400
+ }, A = a === "date" ? v.date : v.time;
3380
3401
  return {
3381
- val: { type: A, value: n, location: g, style: f },
3402
+ val: { type: A, value: n, location: y, style: f },
3382
3403
  err: null
3383
3404
  };
3384
3405
  }
3385
3406
  }
3386
3407
  return {
3387
3408
  val: {
3388
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3409
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3389
3410
  value: n,
3390
- location: g,
3411
+ location: y,
3391
3412
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3392
3413
  },
3393
3414
  err: null
@@ -3398,12 +3419,12 @@ var ni = (
3398
3419
  case "select": {
3399
3420
  var T = this.clonePosition();
3400
3421
  if (this.bumpSpace(), !this.bumpIf(","))
3401
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, v({}, T)));
3422
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, ge({}, T)));
3402
3423
  this.bumpSpace();
3403
3424
  var U = this.parseIdentifierIfPossible(), O = 0;
3404
3425
  if (a !== "select" && U.value === "offset") {
3405
3426
  if (!this.bumpIf(":"))
3406
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3427
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3407
3428
  this.bumpSpace();
3408
3429
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3409
3430
  if (c.err)
@@ -3416,20 +3437,20 @@ var ni = (
3416
3437
  var m = this.tryParseArgumentClose(i);
3417
3438
  if (m.err)
3418
3439
  return m;
3419
- var le = y(i, this.clonePosition());
3440
+ var le = g(i, this.clonePosition());
3420
3441
  return a === "select" ? {
3421
3442
  val: {
3422
- type: _.select,
3443
+ type: v.select,
3423
3444
  value: n,
3424
- options: wt(D.val),
3445
+ options: Tt(D.val),
3425
3446
  location: le
3426
3447
  },
3427
3448
  err: null
3428
3449
  } : {
3429
3450
  val: {
3430
- type: _.plural,
3451
+ type: v.plural,
3431
3452
  value: n,
3432
- options: wt(D.val),
3453
+ options: Tt(D.val),
3433
3454
  offset: O,
3434
3455
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3435
3456
  location: le
@@ -3438,10 +3459,10 @@ var ni = (
3438
3459
  };
3439
3460
  }
3440
3461
  default:
3441
- return this.error(b.INVALID_ARGUMENT_TYPE, y(s, h));
3462
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(s, h));
3442
3463
  }
3443
3464
  }, e.prototype.tryParseArgumentClose = function(t) {
3444
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3465
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3445
3466
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3446
3467
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3447
3468
  var n = this.char();
@@ -3450,7 +3471,7 @@ var ni = (
3450
3471
  this.bump();
3451
3472
  var i = this.clonePosition();
3452
3473
  if (!this.bumpUntil("'"))
3453
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3474
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3454
3475
  this.bump();
3455
3476
  break;
3456
3477
  }
@@ -3480,16 +3501,16 @@ var ni = (
3480
3501
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3481
3502
  var n = [];
3482
3503
  try {
3483
- n = $n(t);
3504
+ n = Dn(t);
3484
3505
  } catch (i) {
3485
3506
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3486
3507
  }
3487
3508
  return {
3488
3509
  val: {
3489
- type: Z.number,
3510
+ type: z.number,
3490
3511
  tokens: n,
3491
3512
  location: r,
3492
- parsedOptions: this.shouldParseSkeletons ? Fn(n) : {}
3513
+ parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3493
3514
  },
3494
3515
  err: null
3495
3516
  };
@@ -3501,7 +3522,7 @@ var ni = (
3501
3522
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3502
3523
  if (f.err)
3503
3524
  return f;
3504
- l = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3525
+ l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3505
3526
  } else
3506
3527
  break;
3507
3528
  }
@@ -3510,22 +3531,22 @@ var ni = (
3510
3531
  u === "other" && (s = !0), this.bumpSpace();
3511
3532
  var p = this.clonePosition();
3512
3533
  if (!this.bumpIf("{"))
3513
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3534
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3514
3535
  var m = this.parseMessage(t + 1, r, n);
3515
3536
  if (m.err)
3516
3537
  return m;
3517
- var g = this.tryParseArgumentClose(p);
3518
- if (g.err)
3519
- return g;
3538
+ var y = this.tryParseArgumentClose(p);
3539
+ if (y.err)
3540
+ return y;
3520
3541
  a.push([
3521
3542
  u,
3522
3543
  {
3523
3544
  value: m.val,
3524
- location: y(p, this.clonePosition())
3545
+ location: g(p, this.clonePosition())
3525
3546
  }
3526
3547
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3527
3548
  }
3528
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3549
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3529
3550
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3530
3551
  var n = 1, i = this.clonePosition();
3531
3552
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3536,8 +3557,8 @@ var ni = (
3536
3557
  else
3537
3558
  break;
3538
3559
  }
3539
- var h = y(i, this.clonePosition());
3540
- return o ? (s *= n, Kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3560
+ var h = g(i, this.clonePosition());
3561
+ return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3541
3562
  }, e.prototype.offset = function() {
3542
3563
  return this.position.offset;
3543
3564
  }, e.prototype.isEOF = function() {
@@ -3552,7 +3573,7 @@ var ni = (
3552
3573
  var t = this.position.offset;
3553
3574
  if (t >= this.message.length)
3554
3575
  throw Error("out of bound");
3555
- var r = nr(this.message, t);
3576
+ var r = ir(this.message, t);
3556
3577
  if (r === void 0)
3557
3578
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3558
3579
  return r;
@@ -3571,7 +3592,7 @@ var ni = (
3571
3592
  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);
3572
3593
  }
3573
3594
  }, e.prototype.bumpIf = function(t) {
3574
- if (xt(this.message, t, this.offset())) {
3595
+ if (St(this.message, t, this.offset())) {
3575
3596
  for (var r = 0; r < t.length; r++)
3576
3597
  this.bump();
3577
3598
  return !0;
@@ -3593,7 +3614,7 @@ var ni = (
3593
3614
  break;
3594
3615
  }
3595
3616
  }, e.prototype.bumpSpace = function() {
3596
- for (; !this.isEOF() && or(this.char()); )
3617
+ for (; !this.isEOF() && sr(this.char()); )
3597
3618
  this.bump();
3598
3619
  }, e.prototype.peek = function() {
3599
3620
  if (this.isEOF())
@@ -3603,47 +3624,47 @@ var ni = (
3603
3624
  }, e;
3604
3625
  }()
3605
3626
  );
3606
- function ze(e) {
3627
+ function qe(e) {
3607
3628
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3608
3629
  }
3609
- function ii(e) {
3610
- return ze(e) || e === 47;
3630
+ function si(e) {
3631
+ return qe(e) || e === 47;
3611
3632
  }
3612
- function oi(e) {
3633
+ function ai(e) {
3613
3634
  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;
3614
3635
  }
3615
- function or(e) {
3636
+ function sr(e) {
3616
3637
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3617
3638
  }
3618
- function si(e) {
3639
+ function ui(e) {
3619
3640
  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;
3620
3641
  }
3621
- function Ze(e) {
3642
+ function Ye(e) {
3622
3643
  e.forEach(function(t) {
3623
- if (delete t.location, Qt(t) || Jt(t))
3644
+ if (delete t.location, Jt(t) || qt(t))
3624
3645
  for (var r in t.options)
3625
- delete t.options[r].location, Ze(t.options[r].value);
3646
+ delete t.options[r].location, Ye(t.options[r].value);
3626
3647
  else
3627
- Xt(t) && Yt(t.style) || (zt(t) || Zt(t)) && ke(t.style) ? delete t.style.location : qt(t) && Ze(t.children);
3648
+ zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && ze(t.style) ? delete t.style.location : Yt(t) && Ye(t.children);
3628
3649
  });
3629
3650
  }
3630
- function ai(e, t) {
3631
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3632
- var r = new ni(e, t).parse();
3651
+ function hi(e, t) {
3652
+ t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3653
+ var r = new oi(e, t).parse();
3633
3654
  if (r.err) {
3634
3655
  var n = SyntaxError(b[r.err.kind]);
3635
3656
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3636
3657
  }
3637
- return t != null && t.captureLocation || Ze(r.val), r.val;
3658
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3638
3659
  }
3639
- var Q;
3660
+ var Z;
3640
3661
  (function(e) {
3641
3662
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3642
- })(Q || (Q = {}));
3643
- var xe = (
3663
+ })(Z || (Z = {}));
3664
+ var Se = (
3644
3665
  /** @class */
3645
3666
  function(e) {
3646
- L(t, e);
3667
+ we(t, e);
3647
3668
  function t(r, n, i) {
3648
3669
  var o = e.call(this, r) || this;
3649
3670
  return o.code = n, o.originalMessage = i, o;
@@ -3652,48 +3673,48 @@ var xe = (
3652
3673
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3653
3674
  }, t;
3654
3675
  }(Error)
3655
- ), Tt = (
3676
+ ), Bt = (
3656
3677
  /** @class */
3657
3678
  function(e) {
3658
- L(t, e);
3679
+ we(t, e);
3659
3680
  function t(r, n, i, o) {
3660
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3681
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3661
3682
  }
3662
3683
  return t;
3663
- }(xe)
3664
- ), ui = (
3684
+ }(Se)
3685
+ ), li = (
3665
3686
  /** @class */
3666
3687
  function(e) {
3667
- L(t, e);
3688
+ we(t, e);
3668
3689
  function t(r, n, i) {
3669
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3690
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3670
3691
  }
3671
3692
  return t;
3672
- }(xe)
3673
- ), hi = (
3693
+ }(Se)
3694
+ ), ci = (
3674
3695
  /** @class */
3675
3696
  function(e) {
3676
- L(t, e);
3697
+ we(t, e);
3677
3698
  function t(r, n) {
3678
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3699
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3679
3700
  }
3680
3701
  return t;
3681
- }(xe)
3702
+ }(Se)
3682
3703
  ), S;
3683
3704
  (function(e) {
3684
3705
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3685
3706
  })(S || (S = {}));
3686
- function li(e) {
3707
+ function fi(e) {
3687
3708
  return e.length < 2 ? e : e.reduce(function(t, r) {
3688
3709
  var n = t[t.length - 1];
3689
3710
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3690
3711
  }, []);
3691
3712
  }
3692
- function ci(e) {
3713
+ function pi(e) {
3693
3714
  return typeof e == "function";
3694
3715
  }
3695
3716
  function be(e, t, r, n, i, o, s) {
3696
- if (e.length === 1 && yt(e[0]))
3717
+ if (e.length === 1 && _t(e[0]))
3697
3718
  return [
3698
3719
  {
3699
3720
  type: S.literal,
@@ -3702,14 +3723,14 @@ function be(e, t, r, n, i, o, s) {
3702
3723
  ];
3703
3724
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3704
3725
  var l = u[h];
3705
- if (yt(l)) {
3726
+ if (_t(l)) {
3706
3727
  a.push({
3707
3728
  type: S.literal,
3708
3729
  value: l.value
3709
3730
  });
3710
3731
  continue;
3711
3732
  }
3712
- if (Ln(l)) {
3733
+ if (Cn(l)) {
3713
3734
  typeof o == "number" && a.push({
3714
3735
  type: S.literal,
3715
3736
  value: r.getNumberFormat(t).format(o)
@@ -3718,43 +3739,43 @@ function be(e, t, r, n, i, o, s) {
3718
3739
  }
3719
3740
  var c = l.value;
3720
3741
  if (!(i && c in i))
3721
- throw new hi(c, s);
3742
+ throw new ci(c, s);
3722
3743
  var f = i[c];
3723
- if (Nn(l)) {
3744
+ if (Mn(l)) {
3724
3745
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3725
3746
  type: typeof f == "string" ? S.literal : S.object,
3726
3747
  value: f
3727
3748
  });
3728
3749
  continue;
3729
3750
  }
3730
- if (zt(l)) {
3731
- var p = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
3751
+ if (Zt(l)) {
3752
+ var p = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3732
3753
  a.push({
3733
3754
  type: S.literal,
3734
3755
  value: r.getDateTimeFormat(t, p).format(f)
3735
3756
  });
3736
3757
  continue;
3737
3758
  }
3738
- if (Zt(l)) {
3739
- var p = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
3759
+ if (Qt(l)) {
3760
+ var p = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3740
3761
  a.push({
3741
3762
  type: S.literal,
3742
3763
  value: r.getDateTimeFormat(t, p).format(f)
3743
3764
  });
3744
3765
  continue;
3745
3766
  }
3746
- if (Xt(l)) {
3747
- var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3767
+ if (zt(l)) {
3768
+ var p = typeof l.style == "string" ? n.number[l.style] : Kt(l.style) ? l.style.parsedOptions : void 0;
3748
3769
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3749
3770
  type: S.literal,
3750
3771
  value: r.getNumberFormat(t, p).format(f)
3751
3772
  });
3752
3773
  continue;
3753
3774
  }
3754
- if (qt(l)) {
3755
- var m = l.children, g = l.value, w = i[g];
3756
- if (!ci(w))
3757
- throw new ui(g, "function", s);
3775
+ if (Yt(l)) {
3776
+ var m = l.children, y = l.value, w = i[y];
3777
+ if (!pi(w))
3778
+ throw new li(y, "function", s);
3758
3779
  var M = be(m, t, r, n, i, o), A = w(M.map(function(O) {
3759
3780
  return O.value;
3760
3781
  }));
@@ -3765,42 +3786,42 @@ function be(e, t, r, n, i, o, s) {
3765
3786
  };
3766
3787
  }));
3767
3788
  }
3768
- if (Qt(l)) {
3789
+ if (Jt(l)) {
3769
3790
  var T = l.options[f] || l.options.other;
3770
3791
  if (!T)
3771
- throw new Tt(l.value, f, Object.keys(l.options), s);
3792
+ throw new Bt(l.value, f, Object.keys(l.options), s);
3772
3793
  a.push.apply(a, be(T.value, t, r, n, i));
3773
3794
  continue;
3774
3795
  }
3775
- if (Jt(l)) {
3796
+ if (qt(l)) {
3776
3797
  var T = l.options["=".concat(f)];
3777
3798
  if (!T) {
3778
3799
  if (!Intl.PluralRules)
3779
- throw new xe(`Intl.PluralRules is not available in this environment.
3800
+ throw new Se(`Intl.PluralRules is not available in this environment.
3780
3801
  Try polyfilling it using "@formatjs/intl-pluralrules"
3781
- `, Q.MISSING_INTL_API, s);
3802
+ `, Z.MISSING_INTL_API, s);
3782
3803
  var U = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3783
3804
  T = l.options[U] || l.options.other;
3784
3805
  }
3785
3806
  if (!T)
3786
- throw new Tt(l.value, f, Object.keys(l.options), s);
3807
+ throw new Bt(l.value, f, Object.keys(l.options), s);
3787
3808
  a.push.apply(a, be(T.value, t, r, n, i, f - (l.offset || 0)));
3788
3809
  continue;
3789
3810
  }
3790
3811
  }
3791
- return li(a);
3812
+ return fi(a);
3792
3813
  }
3793
- function fi(e, t) {
3794
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3795
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3814
+ function di(e, t) {
3815
+ return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3816
+ return r[n] = I(I({}, e[n]), t[n] || {}), r;
3796
3817
  }, {})) : e;
3797
3818
  }
3798
- function pi(e, t) {
3819
+ function mi(e, t) {
3799
3820
  return t ? Object.keys(e).reduce(function(r, n) {
3800
- return r[n] = fi(e[n], t[n]), r;
3801
- }, v({}, e)) : e;
3821
+ return r[n] = di(e[n], t[n]), r;
3822
+ }, I({}, e)) : e;
3802
3823
  }
3803
- function Ne(e) {
3824
+ function Me(e) {
3804
3825
  return {
3805
3826
  create: function() {
3806
3827
  return {
@@ -3814,39 +3835,39 @@ function Ne(e) {
3814
3835
  }
3815
3836
  };
3816
3837
  }
3817
- function di(e) {
3838
+ function bi(e) {
3818
3839
  return e === void 0 && (e = {
3819
3840
  number: {},
3820
3841
  dateTime: {},
3821
3842
  pluralRules: {}
3822
3843
  }), {
3823
- getNumberFormat: Ae(function() {
3844
+ getNumberFormat: Ie(function() {
3824
3845
  for (var t, r = [], n = 0; n < arguments.length; n++)
3825
3846
  r[n] = arguments[n];
3826
- return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3847
+ return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3827
3848
  }, {
3828
- cache: Ne(e.number),
3829
- strategy: Oe.variadic
3849
+ cache: Me(e.number),
3850
+ strategy: Ne.variadic
3830
3851
  }),
3831
- getDateTimeFormat: Ae(function() {
3852
+ getDateTimeFormat: Ie(function() {
3832
3853
  for (var t, r = [], n = 0; n < arguments.length; n++)
3833
3854
  r[n] = arguments[n];
3834
- return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3855
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3835
3856
  }, {
3836
- cache: Ne(e.dateTime),
3837
- strategy: Oe.variadic
3857
+ cache: Me(e.dateTime),
3858
+ strategy: Ne.variadic
3838
3859
  }),
3839
- getPluralRules: Ae(function() {
3860
+ getPluralRules: Ie(function() {
3840
3861
  for (var t, r = [], n = 0; n < arguments.length; n++)
3841
3862
  r[n] = arguments[n];
3842
- return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3863
+ return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3843
3864
  }, {
3844
- cache: Ne(e.pluralRules),
3845
- strategy: Oe.variadic
3865
+ cache: Me(e.pluralRules),
3866
+ strategy: Ne.variadic
3846
3867
  })
3847
3868
  };
3848
3869
  }
3849
- var mi = (
3870
+ var yi = (
3850
3871
  /** @class */
3851
3872
  function() {
3852
3873
  function e(t, r, n, i) {
@@ -3878,13 +3899,13 @@ var mi = (
3878
3899
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3879
3900
  var s = i || {};
3880
3901
  s.formatters;
3881
- var a = zr(s, ["formatters"]);
3882
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3902
+ var a = Hn(s, ["formatters"]);
3903
+ this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
3883
3904
  } else
3884
3905
  this.ast = t;
3885
3906
  if (!Array.isArray(this.ast))
3886
3907
  throw new TypeError("A message must be provided as a String or AST.");
3887
- this.formats = pi(e.formats, n), this.formatters = i && i.formatters || di(this.formatterCache);
3908
+ this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3888
3909
  }
3889
3910
  return Object.defineProperty(e, "defaultLocale", {
3890
3911
  get: function() {
@@ -3897,7 +3918,7 @@ var mi = (
3897
3918
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3898
3919
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3899
3920
  }
3900
- }, e.__parse = ai, e.formats = {
3921
+ }, e.__parse = hi, e.formats = {
3901
3922
  number: {
3902
3923
  integer: {
3903
3924
  maximumFractionDigits: 0
@@ -3958,7 +3979,7 @@ var mi = (
3958
3979
  }, e;
3959
3980
  }()
3960
3981
  );
3961
- function bi(e, t) {
3982
+ function gi(e, t) {
3962
3983
  if (t == null)
3963
3984
  return;
3964
3985
  if (t in e)
@@ -3979,92 +4000,92 @@ function bi(e, t) {
3979
4000
  n = void 0;
3980
4001
  return n;
3981
4002
  }
3982
- const $ = {}, gi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), sr = (e, t) => {
4003
+ const $ = {}, vi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), ar = (e, t) => {
3983
4004
  if (t == null)
3984
4005
  return;
3985
4006
  if (t in $ && e in $[t])
3986
4007
  return $[t][e];
3987
- const r = we(t);
4008
+ const r = Te(t);
3988
4009
  for (let n = 0; n < r.length; n++) {
3989
- const i = r[n], o = vi(i, e);
4010
+ const i = r[n], o = Ei(i, e);
3990
4011
  if (o)
3991
- return gi(e, t, o);
4012
+ return vi(e, t, o);
3992
4013
  }
3993
4014
  };
3994
- let tt;
3995
- const he = Ee({});
3996
- function yi(e) {
3997
- return tt[e] || null;
4015
+ let nt;
4016
+ const he = xe({});
4017
+ function _i(e) {
4018
+ return nt[e] || null;
3998
4019
  }
3999
- function ar(e) {
4000
- return e in tt;
4020
+ function ur(e) {
4021
+ return e in nt;
4001
4022
  }
4002
- function vi(e, t) {
4003
- if (!ar(e))
4023
+ function Ei(e, t) {
4024
+ if (!ur(e))
4004
4025
  return null;
4005
- const r = yi(e);
4006
- return bi(r, t);
4026
+ const r = _i(e);
4027
+ return gi(r, t);
4007
4028
  }
4008
- function _i(e) {
4029
+ function xi(e) {
4009
4030
  if (e == null)
4010
4031
  return;
4011
- const t = we(e);
4032
+ const t = Te(e);
4012
4033
  for (let r = 0; r < t.length; r++) {
4013
4034
  const n = t[r];
4014
- if (ar(n))
4035
+ if (ur(n))
4015
4036
  return n;
4016
4037
  }
4017
4038
  }
4018
- function ur(e, ...t) {
4039
+ function hr(e, ...t) {
4019
4040
  delete $[e], he.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
4020
4041
  }
4021
- Y(
4042
+ q(
4022
4043
  [he],
4023
4044
  ([e]) => Object.keys(e)
4024
4045
  );
4025
- he.subscribe((e) => tt = e);
4026
- const ge = {};
4027
- function Ei(e, t) {
4028
- ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4046
+ he.subscribe((e) => nt = e);
4047
+ const ye = {};
4048
+ function wi(e, t) {
4049
+ ye[e].delete(t), ye[e].size === 0 && delete ye[e];
4029
4050
  }
4030
- function hr(e) {
4031
- return ge[e];
4051
+ function lr(e) {
4052
+ return ye[e];
4032
4053
  }
4033
- function xi(e) {
4034
- return we(e).map((t) => {
4035
- const r = hr(t);
4054
+ function Si(e) {
4055
+ return Te(e).map((t) => {
4056
+ const r = lr(t);
4036
4057
  return [t, r ? [...r] : []];
4037
4058
  }).filter(([, t]) => t.length > 0);
4038
4059
  }
4039
- function Qe(e) {
4040
- return e == null ? !1 : we(e).some(
4060
+ function Ke(e) {
4061
+ return e == null ? !1 : Te(e).some(
4041
4062
  (t) => {
4042
4063
  var r;
4043
- return (r = hr(t)) == null ? void 0 : r.size;
4064
+ return (r = lr(t)) == null ? void 0 : r.size;
4044
4065
  }
4045
4066
  );
4046
4067
  }
4047
- function wi(e, t) {
4068
+ function Ti(e, t) {
4048
4069
  return Promise.all(
4049
- t.map((n) => (Ei(e, n), n().then((i) => i.default || i)))
4050
- ).then((n) => ur(e, ...n));
4051
- }
4052
- const te = {};
4053
- function lr(e) {
4054
- if (!Qe(e))
4055
- return e in te ? te[e] : Promise.resolve();
4056
- const t = xi(e);
4057
- return te[e] = Promise.all(
4070
+ t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4071
+ ).then((n) => hr(e, ...n));
4072
+ }
4073
+ const ee = {};
4074
+ function cr(e) {
4075
+ if (!Ke(e))
4076
+ return e in ee ? ee[e] : Promise.resolve();
4077
+ const t = Si(e);
4078
+ return ee[e] = Promise.all(
4058
4079
  t.map(
4059
- ([r, n]) => wi(r, n)
4080
+ ([r, n]) => Ti(r, n)
4060
4081
  )
4061
4082
  ).then(() => {
4062
- if (Qe(e))
4063
- return lr(e);
4064
- delete te[e];
4065
- }), te[e];
4083
+ if (Ke(e))
4084
+ return cr(e);
4085
+ delete ee[e];
4086
+ }), ee[e];
4066
4087
  }
4067
- const Si = {
4088
+ const Hi = {
4068
4089
  number: {
4069
4090
  scientific: { notation: "scientific" },
4070
4091
  engineering: { notation: "engineering" },
@@ -4093,135 +4114,135 @@ const Si = {
4093
4114
  timeZoneName: "short"
4094
4115
  }
4095
4116
  }
4096
- }, Ti = {
4117
+ }, Bi = {
4097
4118
  fallbackLocale: null,
4098
4119
  loadingDelay: 200,
4099
- formats: Si,
4120
+ formats: Hi,
4100
4121
  warnOnMissingMessages: !0,
4101
4122
  handleMissingMessage: void 0,
4102
4123
  ignoreTag: !0
4103
- }, Hi = Ti;
4104
- function J() {
4105
- return Hi;
4124
+ }, Pi = Bi;
4125
+ function Q() {
4126
+ return Pi;
4106
4127
  }
4107
- const Le = Ee(!1);
4108
- var Bi = Object.defineProperty, Pi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4128
+ const Ce = xe(!1);
4129
+ var Ai = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4109
4130
  for (var r in t || (t = {}))
4110
- Oi.call(t, r) && Bt(e, r, t[r]);
4111
- if (Ht)
4112
- for (var r of Ht(t))
4113
- Ii.call(t, r) && Bt(e, r, t[r]);
4131
+ Ni.call(t, r) && At(e, r, t[r]);
4132
+ if (Pt)
4133
+ for (var r of Pt(t))
4134
+ Li.call(t, r) && At(e, r, t[r]);
4114
4135
  return e;
4115
- }, Li = (e, t) => Pi(e, Ai(t));
4116
- let Je;
4117
- const ye = Ee(null);
4118
- function Pt(e) {
4136
+ }, Ci = (e, t) => Oi(e, Ii(t));
4137
+ let et;
4138
+ const ve = xe(null);
4139
+ function Ot(e) {
4119
4140
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4120
4141
  }
4121
- function we(e, t = J().fallbackLocale) {
4122
- const r = Pt(e);
4123
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4142
+ function Te(e, t = Q().fallbackLocale) {
4143
+ const r = Ot(e);
4144
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4124
4145
  }
4125
4146
  function G() {
4126
- return Je != null ? Je : void 0;
4147
+ return et != null ? et : void 0;
4127
4148
  }
4128
- ye.subscribe((e) => {
4129
- Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4149
+ ve.subscribe((e) => {
4150
+ et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4130
4151
  });
4131
- const Mi = (e) => {
4132
- if (e && _i(e) && Qe(e)) {
4133
- const { loadingDelay: t } = J();
4152
+ const Ri = (e) => {
4153
+ if (e && xi(e) && Ke(e)) {
4154
+ const { loadingDelay: t } = Q();
4134
4155
  let r;
4135
4156
  return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
4136
- () => Le.set(!0),
4157
+ () => Ce.set(!0),
4137
4158
  t
4138
- ) : Le.set(!0), lr(e).then(() => {
4139
- ye.set(e);
4159
+ ) : Ce.set(!0), cr(e).then(() => {
4160
+ ve.set(e);
4140
4161
  }).finally(() => {
4141
- clearTimeout(r), Le.set(!1);
4162
+ clearTimeout(r), Ce.set(!1);
4142
4163
  });
4143
4164
  }
4144
- return ye.set(e);
4145
- }, K = Li(Ni({}, ye), {
4146
- set: Mi
4147
- }), Se = (e) => {
4165
+ return ve.set(e);
4166
+ }, Y = Ci(Mi({}, ve), {
4167
+ set: Ri
4168
+ }), He = (e) => {
4148
4169
  const t = /* @__PURE__ */ Object.create(null);
4149
4170
  return (n) => {
4150
4171
  const i = JSON.stringify(n);
4151
4172
  return i in t ? t[i] : t[i] = e(n);
4152
4173
  };
4153
4174
  };
4154
- var Ci = Object.defineProperty, ve = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4175
+ var $i = Object.defineProperty, _e = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4155
4176
  for (var r in t || (t = {}))
4156
- cr.call(t, r) && At(e, r, t[r]);
4157
- if (ve)
4158
- for (var r of ve(t))
4159
- fr.call(t, r) && At(e, r, t[r]);
4177
+ fr.call(t, r) && It(e, r, t[r]);
4178
+ if (_e)
4179
+ for (var r of _e(t))
4180
+ pr.call(t, r) && It(e, r, t[r]);
4160
4181
  return e;
4161
- }, ee = (e, t) => {
4182
+ }, K = (e, t) => {
4162
4183
  var r = {};
4163
4184
  for (var n in e)
4164
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4165
- if (e != null && ve)
4166
- for (var n of ve(e))
4167
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4185
+ fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4186
+ if (e != null && _e)
4187
+ for (var n of _e(e))
4188
+ t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
4168
4189
  return r;
4169
4190
  };
4170
- const se = (e, t) => {
4171
- const { formats: r } = J();
4191
+ const oe = (e, t) => {
4192
+ const { formats: r } = Q();
4172
4193
  if (e in r && t in r[e])
4173
4194
  return r[e][t];
4174
4195
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4175
- }, Ri = Se(
4196
+ }, Ui = He(
4176
4197
  (e) => {
4177
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4198
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4178
4199
  if (r == null)
4179
4200
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4180
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4201
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4181
4202
  }
4182
- ), $i = Se(
4203
+ ), Di = He(
4183
4204
  (e) => {
4184
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4205
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4185
4206
  if (r == null)
4186
4207
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4187
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4208
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4188
4209
  }
4189
- ), Ui = Se(
4210
+ ), Gi = He(
4190
4211
  (e) => {
4191
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4212
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4192
4213
  if (r == null)
4193
4214
  throw new Error(
4194
4215
  '[svelte-i18n] A "locale" must be set to format time values'
4195
4216
  );
4196
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4217
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4197
4218
  }
4198
- ), Di = (e = {}) => {
4219
+ ), Fi = (e = {}) => {
4199
4220
  var t = e, {
4200
4221
  locale: r = G()
4201
- } = t, n = ee(t, [
4222
+ } = t, n = K(t, [
4202
4223
  "locale"
4203
4224
  ]);
4204
- return Ri(rt({ locale: r }, n));
4205
- }, Gi = (e = {}) => {
4225
+ return Ui(it({ locale: r }, n));
4226
+ }, ji = (e = {}) => {
4206
4227
  var t = e, {
4207
4228
  locale: r = G()
4208
- } = t, n = ee(t, [
4229
+ } = t, n = K(t, [
4209
4230
  "locale"
4210
4231
  ]);
4211
- return $i(rt({ locale: r }, n));
4212
- }, Fi = (e = {}) => {
4232
+ return Di(it({ locale: r }, n));
4233
+ }, ki = (e = {}) => {
4213
4234
  var t = e, {
4214
4235
  locale: r = G()
4215
- } = t, n = ee(t, [
4236
+ } = t, n = K(t, [
4216
4237
  "locale"
4217
4238
  ]);
4218
- return Ui(rt({ locale: r }, n));
4219
- }, ji = Se(
4239
+ return Gi(it({ locale: r }, n));
4240
+ }, Wi = He(
4220
4241
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4221
- (e, t = G()) => new mi(e, t, J().formats, {
4222
- ignoreTag: J().ignoreTag
4242
+ (e, t = G()) => new yi(e, t, Q().formats, {
4243
+ ignoreTag: Q().ignoreTag
4223
4244
  })
4224
- ), ki = (e, t = {}) => {
4245
+ ), Vi = (e, t = {}) => {
4225
4246
  var r, n, i, o;
4226
4247
  let s = t;
4227
4248
  typeof e == "object" && (s = e, e = s.id);
@@ -4234,9 +4255,9 @@ const se = (e, t) => {
4234
4255
  throw new Error(
4235
4256
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4236
4257
  );
4237
- let l = sr(e, h);
4258
+ let l = ar(e, h);
4238
4259
  if (!l)
4239
- l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4260
+ l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4240
4261
  else if (typeof l != "string")
4241
4262
  return console.warn(
4242
4263
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4245,7 +4266,7 @@ const se = (e, t) => {
4245
4266
  return l;
4246
4267
  let c = l;
4247
4268
  try {
4248
- c = ji(l, h).format(a);
4269
+ c = Wi(l, h).format(a);
4249
4270
  } catch (f) {
4250
4271
  f instanceof Error && console.warn(
4251
4272
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4253,20 +4274,20 @@ const se = (e, t) => {
4253
4274
  );
4254
4275
  }
4255
4276
  return c;
4256
- }, Wi = (e, t) => Fi(t).format(e), Vi = (e, t) => Gi(t).format(e), Xi = (e, t) => Di(t).format(e), zi = (e, t = G()) => sr(e, t), Zi = Y([K, he], () => ki);
4257
- Y([K], () => Wi);
4258
- Y([K], () => Vi);
4259
- Y([K], () => Xi);
4260
- Y([K, he], () => zi);
4277
+ }, Xi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = G()) => ar(e, t), Ji = q([Y, he], () => Vi);
4278
+ q([Y], () => Xi);
4279
+ q([Y], () => zi);
4280
+ q([Y], () => Zi);
4281
+ q([Y, he], () => Qi);
4261
4282
  window.emWidgets = { topic: un };
4262
- const Qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4263
- function Ot(e, t) {
4264
- ur(e, t);
4283
+ const qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4284
+ function Nt(e, t) {
4285
+ hr(e, t);
4265
4286
  }
4266
- function Ji(e) {
4267
- K.set(e);
4287
+ function Yi(e) {
4288
+ Y.set(e);
4268
4289
  }
4269
- const It = {
4290
+ const Lt = {
4270
4291
  en: {
4271
4292
  titlePlayerWithdrawal: "Withdrawal",
4272
4293
  loading: "Loading, please wait ..."
@@ -4300,130 +4321,130 @@ const It = {
4300
4321
  loading: "Loading, please wait ..."
4301
4322
  }
4302
4323
  };
4303
- function qi(e) {
4304
- wr(e, "svelte-19p9ovb", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{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%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{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)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
4324
+ function Ki(e) {
4325
+ Sr(e, "svelte-19p9ovb", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{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%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{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)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
4305
4326
  }
4306
- function Yi(e) {
4327
+ function eo(e) {
4307
4328
  let t, r, n, i, o, s, a, h, u, l, c = (
4308
4329
  /*$_*/
4309
4330
  e[3]("titlePlayerWithdrawal") + ""
4310
4331
  ), f, p, m;
4311
4332
  return {
4312
4333
  c() {
4313
- t = N("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Me(), l = N("h2"), f = ne(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(l, "class", "WithdrawalTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
4334
+ t = L("div"), r = F("svg"), n = F("defs"), i = F("style"), o = re(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Re(), l = L("h2"), f = re(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(l, "class", "WithdrawalTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
4314
4335
  },
4315
- m(g, w) {
4316
- ue(g, t, w), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (m = Hr(
4336
+ m(y, w) {
4337
+ ae(y, t, w), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (m = Br(
4317
4338
  t,
4318
4339
  "click",
4319
4340
  /*click_handler*/
4320
4341
  e[16]
4321
4342
  ), p = !0);
4322
4343
  },
4323
- p(g, w) {
4344
+ p(y, w) {
4324
4345
  w & /*$_*/
4325
4346
  8 && c !== (c = /*$_*/
4326
- g[3]("titlePlayerWithdrawal") + "") && Ye(f, c);
4347
+ y[3]("titlePlayerWithdrawal") + "") && rt(f, c);
4327
4348
  },
4328
- d(g) {
4329
- g && q(t), p = !1, m();
4349
+ d(y) {
4350
+ y && J(t), p = !1, m();
4330
4351
  }
4331
4352
  };
4332
4353
  }
4333
- function Ki(e) {
4354
+ function to(e) {
4334
4355
  let t, r, n;
4335
4356
  return {
4336
4357
  c() {
4337
- t = N("div"), r = N("iframe"), ut(r.src, n = /*iframeUrl*/
4358
+ t = L("div"), r = L("iframe"), lt(r.src, n = /*iframeUrl*/
4338
4359
  e[2]) || E(r, "src", n), E(r, "title", "Withdrawal Iframe"), E(t, "class", "WithdrawalIframeWrapper");
4339
4360
  },
4340
4361
  m(i, o) {
4341
- ue(i, t, o), x(t, r);
4362
+ ae(i, t, o), x(t, r);
4342
4363
  },
4343
4364
  p(i, o) {
4344
4365
  o & /*iframeUrl*/
4345
- 4 && !ut(r.src, n = /*iframeUrl*/
4366
+ 4 && !lt(r.src, n = /*iframeUrl*/
4346
4367
  i[2]) && E(r, "src", n);
4347
4368
  },
4348
4369
  d(i) {
4349
- i && q(t);
4370
+ i && J(t);
4350
4371
  }
4351
4372
  };
4352
4373
  }
4353
- function eo(e) {
4374
+ function ro(e) {
4354
4375
  let t, r = (
4355
4376
  /*$_*/
4356
4377
  e[3]("loading") + ""
4357
4378
  ), n;
4358
4379
  return {
4359
4380
  c() {
4360
- t = N("p"), n = ne(r);
4381
+ t = L("p"), n = re(r);
4361
4382
  },
4362
4383
  m(i, o) {
4363
- ue(i, t, o), x(t, n);
4384
+ ae(i, t, o), x(t, n);
4364
4385
  },
4365
4386
  p(i, o) {
4366
4387
  o & /*$_*/
4367
4388
  8 && r !== (r = /*$_*/
4368
- i[3]("loading") + "") && Ye(n, r);
4389
+ i[3]("loading") + "") && rt(n, r);
4369
4390
  },
4370
4391
  d(i) {
4371
- i && q(t);
4392
+ i && J(t);
4372
4393
  }
4373
4394
  };
4374
4395
  }
4375
- function to(e) {
4396
+ function no(e) {
4376
4397
  let t, r, n, i = (
4377
4398
  /*$_*/
4378
4399
  e[3]("titlePlayerWithdrawal") + ""
4379
4400
  ), o, s, a = (
4380
4401
  /*isMobile*/
4381
- e[4] && Yi(e)
4402
+ e[4] && eo(e)
4382
4403
  );
4383
4404
  function h(c, f) {
4384
4405
  return (
4385
4406
  /*isLoading*/
4386
- c[1] ? eo : Ki
4407
+ c[1] ? ro : to
4387
4408
  );
4388
4409
  }
4389
4410
  let u = h(e), l = u(e);
4390
4411
  return {
4391
4412
  c() {
4392
- t = N("div"), a && a.c(), r = Me(), n = N("h2"), o = ne(i), s = Me(), l.c(), E(n, "class", "WithdrawalTitle " + /*isMobile*/
4413
+ t = L("div"), a && a.c(), r = Re(), n = L("h2"), o = re(i), s = Re(), l.c(), E(n, "class", "WithdrawalTitle " + /*isMobile*/
4393
4414
  (e[4] ? "WithdrawalTitleNone" : "")), E(t, "class", "WithdrawalWrapper " + /*isMobile*/
4394
4415
  (e[4] ? "WithdrawalWrapperMobile" : ""));
4395
4416
  },
4396
4417
  m(c, f) {
4397
- ue(c, t, f), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[17](t);
4418
+ ae(c, t, f), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[17](t);
4398
4419
  },
4399
4420
  p(c, [f]) {
4400
4421
  /*isMobile*/
4401
4422
  c[4] && a.p(c, f), f & /*$_*/
4402
4423
  8 && i !== (i = /*$_*/
4403
- c[3]("titlePlayerWithdrawal") + "") && Ye(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
4424
+ c[3]("titlePlayerWithdrawal") + "") && rt(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
4404
4425
  },
4405
4426
  i: P,
4406
4427
  o: P,
4407
4428
  d(c) {
4408
- c && q(t), a && a.d(), l.d(), e[17](null);
4429
+ c && J(t), a && a.d(), l.d(), e[17](null);
4409
4430
  }
4410
4431
  };
4411
4432
  }
4412
- function ro(e, t, r) {
4433
+ function io(e, t, r) {
4413
4434
  let n;
4414
- xr(e, Zi, (d) => r(3, n = d));
4415
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { hasdefaultamount: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, { currency: p = "" } = t, m, g = window.navigator.userAgent, w = Qi(g) !== "PC", M = !0, A = 0, T = "";
4435
+ wr(e, Ji, (d) => r(3, n = d));
4436
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { hasdefaultamount: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, { currency: p = "" } = t, m, y = window.navigator.userAgent, w = qi(y) !== "PC", M = !0, A = 0, T = "";
4416
4437
  const U = () => {
4417
4438
  fetch(f).then((C) => C.json()).then((C) => {
4418
4439
  Object.keys(C).forEach((R) => {
4419
- Ot(R, C[R]);
4440
+ Nt(R, C[R]);
4420
4441
  });
4421
4442
  }).catch((C) => {
4422
4443
  console.log(C);
4423
4444
  });
4424
4445
  };
4425
- Object.keys(It).forEach((d) => {
4426
- Ot(d, It[d]);
4446
+ Object.keys(Lt).forEach((d) => {
4447
+ Nt(d, Lt[d]);
4427
4448
  });
4428
4449
  const O = () => {
4429
4450
  window.postMessage(
@@ -4493,15 +4514,15 @@ function ro(e, t, r) {
4493
4514
  console.error(R);
4494
4515
  }
4495
4516
  );
4496
- }, pr = () => {
4497
- Ji(a);
4517
+ }, dr = () => {
4518
+ Yi(a);
4498
4519
  };
4499
- Or(() => (window.addEventListener("message", D, !1), () => {
4520
+ Ir(() => (window.addEventListener("message", D, !1), () => {
4500
4521
  window.removeEventListener("message", D);
4501
4522
  }));
4502
- const dr = () => O();
4503
- function mr(d) {
4504
- Ce[d ? "unshift" : "push"](() => {
4523
+ const mr = () => O();
4524
+ function br(d) {
4525
+ $e[d ? "unshift" : "push"](() => {
4505
4526
  m = d, r(0, m);
4506
4527
  });
4507
4528
  }
@@ -4509,10 +4530,10 @@ function ro(e, t, r) {
4509
4530
  "endpoint" in d && r(7, i = d.endpoint), "session" in d && r(8, o = d.session), "playerid" in d && r(9, s = d.playerid), "lang" in d && r(10, a = d.lang), "hasdefaultamount" in d && r(11, h = d.hasdefaultamount), "clientstyling" in d && r(12, u = d.clientstyling), "clientstylingurl" in d && r(13, l = d.clientstylingurl), "mbsource" in d && r(14, c = d.mbsource), "translationurl" in d && r(15, f = d.translationurl), "currency" in d && r(6, p = d.currency);
4510
4531
  }, e.$$.update = () => {
4511
4532
  e.$$.dirty & /*lang*/
4512
- 1024 && a && pr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4513
- 4097 && u && m && Wr(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4514
- 8193 && l && m && Vr(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4515
- 16385 && c && m && Xr(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
4533
+ 1024 && a && dr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4534
+ 4097 && u && m && Vr(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4535
+ 8193 && l && m && Xr(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4536
+ 16385 && c && m && zr(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
4516
4537
  32768 && f && U(), e.$$.dirty & /*session, playerid, endpoint, currency, lang*/
4517
4538
  1984 && o && s && i && p && a && le();
4518
4539
  }, [
@@ -4532,18 +4553,18 @@ function ro(e, t, r) {
4532
4553
  l,
4533
4554
  c,
4534
4555
  f,
4535
- dr,
4536
- mr
4556
+ mr,
4557
+ br
4537
4558
  ];
4538
4559
  }
4539
- class no extends jr {
4560
+ class oo extends kr {
4540
4561
  constructor(t) {
4541
- super(), Gr(
4562
+ super(), Fr(
4542
4563
  this,
4543
4564
  t,
4544
- ro,
4545
- to,
4546
- Lt,
4565
+ io,
4566
+ no,
4567
+ Ct,
4547
4568
  {
4548
4569
  endpoint: 7,
4549
4570
  session: 8,
@@ -4556,7 +4577,7 @@ class no extends jr {
4556
4577
  translationurl: 15,
4557
4578
  currency: 6
4558
4579
  },
4559
- qi
4580
+ Ki
4560
4581
  );
4561
4582
  }
4562
4583
  get endpoint() {
@@ -4620,7 +4641,7 @@ class no extends jr {
4620
4641
  this.$$set({ currency: t }), B();
4621
4642
  }
4622
4643
  }
4623
- Fr(no, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currency: {} }, [], [], !0);
4644
+ jr(oo, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currency: {} }, [], [], !0);
4624
4645
  export {
4625
- no as default
4646
+ oo as default
4626
4647
  };