@everymatrix/player-pending-withdrawals 1.76.13 → 1.76.14

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 pr = Object.defineProperty, dr = Object.defineProperties;
2
- var mr = Object.getOwnPropertyDescriptors;
3
- var it = Object.getOwnPropertySymbols;
4
- var br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
1
+ var fr = Object.defineProperty, dr = Object.defineProperties;
2
+ var pr = Object.getOwnPropertyDescriptors;
3
+ var rt = Object.getOwnPropertySymbols;
4
+ var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
+ var Se = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- br.call(t, r) && He(e, r, t[r]);
8
- if (it)
9
- for (var r of it(t))
10
- gr.call(t, r) && He(e, r, t[r]);
7
+ mr.call(t, r) && Se(e, r, t[r]);
8
+ if (rt)
9
+ for (var r of rt(t))
10
+ br.call(t, r) && Se(e, r, t[r]);
11
11
  return e;
12
- }, st = (e, t) => dr(e, mr(t));
13
- var H = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var at = (e, t, r) => new Promise((n, i) => {
12
+ }, it = (e, t) => dr(e, pr(t));
13
+ var H = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ot = (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 at = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function P() {
31
31
  }
32
- function Lt(e) {
32
+ function It(e) {
33
33
  return e();
34
34
  }
35
- function ut() {
35
+ function st() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function se(e) {
39
- e.forEach(Lt);
38
+ function ae(e) {
39
+ e.forEach(It);
40
40
  }
41
- function et(e) {
41
+ function Je(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ct(e, t) {
44
+ function Nt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let le;
48
- function ht(e, t) {
48
+ function at(e, t) {
49
49
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
50
50
  }
51
- function yr(e) {
51
+ function gr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Mt(e, ...t) {
54
+ function Lt(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 vr(e, t, r) {
64
- e.$$.on_destroy.push(Mt(t, r));
63
+ function yr(e, t, r) {
64
+ e.$$.on_destroy.push(Lt(t, r));
65
65
  }
66
66
  function x(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function _r(e, t, r) {
70
- const n = Er(e);
69
+ function vr(e, t, r) {
70
+ const n = _r(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = L("style");
73
- i.id = t, i.textContent = r, xr(n, i);
72
+ const i = N("style");
73
+ i.id = t, i.textContent = r, Er(n, i);
74
74
  }
75
75
  }
76
- function Er(e) {
76
+ function _r(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,45 +83,45 @@ function Er(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function xr(e, t) {
86
+ function Er(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 ae(e, t, r) {
93
+ function ue(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function J(e) {
96
+ function Y(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function L(e) {
99
+ function N(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 re(e) {
105
+ function ne(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function Me() {
109
- return re(" ");
108
+ function Le() {
109
+ return ne(" ");
110
110
  }
111
- function wr(e, t, r, n) {
111
+ function xr(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 Sr(e) {
117
+ function wr(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function tt(e, t) {
120
+ function Ye(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function Tr(e) {
124
+ function Sr(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -130,87 +130,87 @@ function Tr(e) {
130
130
  }
131
131
  ), t;
132
132
  }
133
- let ne;
134
- function te(e) {
135
- ne = e;
133
+ let ie;
134
+ function re(e) {
135
+ ie = e;
136
136
  }
137
- function Hr() {
138
- if (!ne)
137
+ function Tr() {
138
+ if (!ie)
139
139
  throw new Error("Function called outside component initialization");
140
- return ne;
140
+ return ie;
141
141
  }
142
- function Pr(e) {
143
- Hr().$$.on_mount.push(e);
142
+ function Hr(e) {
143
+ Tr().$$.on_mount.push(e);
144
144
  }
145
- const W = [], $e = [];
145
+ const W = [], Ce = [];
146
146
  let V = [];
147
- const lt = [], Br = /* @__PURE__ */ Promise.resolve();
148
- let Re = !1;
149
- function Ar() {
150
- Re || (Re = !0, Br.then(B));
147
+ const ut = [], Pr = /* @__PURE__ */ Promise.resolve();
148
+ let Me = !1;
149
+ function Br() {
150
+ Me || (Me = !0, Pr.then(B));
151
151
  }
152
- function Ue(e) {
152
+ function Re(e) {
153
153
  V.push(e);
154
154
  }
155
- const Pe = /* @__PURE__ */ new Set();
155
+ const Te = /* @__PURE__ */ new Set();
156
156
  let j = 0;
157
157
  function B() {
158
158
  if (j !== 0)
159
159
  return;
160
- const e = ne;
160
+ const e = ie;
161
161
  do {
162
162
  try {
163
163
  for (; j < W.length; ) {
164
164
  const t = W[j];
165
- j++, te(t), Or(t.$$);
165
+ j++, re(t), Ar(t.$$);
166
166
  }
167
167
  } catch (t) {
168
168
  throw W.length = 0, j = 0, t;
169
169
  }
170
- for (te(null), W.length = 0, j = 0; $e.length; )
171
- $e.pop()();
170
+ for (re(null), W.length = 0, j = 0; Ce.length; )
171
+ Ce.pop()();
172
172
  for (let t = 0; t < V.length; t += 1) {
173
173
  const r = V[t];
174
- Pe.has(r) || (Pe.add(r), r());
174
+ Te.has(r) || (Te.add(r), r());
175
175
  }
176
176
  V.length = 0;
177
177
  } while (W.length);
178
- for (; lt.length; )
179
- lt.pop()();
180
- Re = !1, Pe.clear(), te(e);
178
+ for (; ut.length; )
179
+ ut.pop()();
180
+ Me = !1, Te.clear(), re(e);
181
181
  }
182
- function Or(e) {
182
+ function Ar(e) {
183
183
  if (e.fragment !== null) {
184
- e.update(), se(e.before_update);
184
+ e.update(), ae(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(Ue);
186
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
187
187
  }
188
188
  }
189
- function Ir(e) {
189
+ function Or(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 Nr = /* @__PURE__ */ new Set();
194
- function Lr(e, t) {
195
- e && e.i && (Nr.delete(e), e.i(t));
193
+ const Ir = /* @__PURE__ */ new Set();
194
+ function Nr(e, t) {
195
+ e && e.i && (Ir.delete(e), e.i(t));
196
196
  }
197
- function Cr(e, t, r) {
197
+ function Lr(e, t, r) {
198
198
  const { fragment: n, after_update: i } = e.$$;
199
- n && n.m(t, r), Ue(() => {
200
- const o = e.$$.on_mount.map(Lt).filter(et);
201
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
202
- }), i.forEach(Ue);
199
+ n && n.m(t, r), Re(() => {
200
+ const o = e.$$.on_mount.map(It).filter(Je);
201
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
202
+ }), i.forEach(Re);
203
203
  }
204
- function Mr(e, t) {
204
+ function Cr(e, t) {
205
205
  const r = e.$$;
206
- r.fragment !== null && (Ir(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
206
+ r.fragment !== null && (Or(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
207
207
  }
208
- function $r(e, t) {
209
- e.$$.dirty[0] === -1 && (W.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
208
+ function Mr(e, t) {
209
+ e.$$.dirty[0] === -1 && (W.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
210
210
  }
211
211
  function Rr(e, t, r, n, i, o, s = null, a = [-1]) {
212
- const h = ne;
213
- te(e);
212
+ const h = ie;
213
+ re(e);
214
214
  const u = e.$$ = {
215
215
  fragment: null,
216
216
  ctx: [],
@@ -218,7 +218,7 @@ function Rr(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: ut(),
221
+ bound: st(),
222
222
  // lifecycle
223
223
  on_mount: [],
224
224
  on_destroy: [],
@@ -227,28 +227,28 @@ function Rr(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: ut(),
230
+ callbacks: st(),
231
231
  dirty: a,
232
232
  skip_bound: !1,
233
233
  root: t.target || h.$$.root
234
234
  };
235
235
  s && s(u.root);
236
236
  let l = !1;
237
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
238
- const y = p.length ? p[0] : f;
239
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && $r(e, c)), f;
240
- }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
237
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
238
+ const v = d.length ? d[0] : f;
239
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Mr(e, c)), f;
240
+ }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
241
241
  if (t.hydrate) {
242
- const c = Sr(t.target);
243
- u.fragment && u.fragment.l(c), c.forEach(J);
242
+ const c = wr(t.target);
243
+ u.fragment && u.fragment.l(c), c.forEach(Y);
244
244
  } else
245
245
  u.fragment && u.fragment.c();
246
- t.intro && Lr(e.$$.fragment), Cr(e, t.target, t.anchor), B();
246
+ t.intro && Nr(e.$$.fragment), Lr(e, t.target, t.anchor), B();
247
247
  }
248
- te(h);
248
+ re(h);
249
249
  }
250
- let $t;
251
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
250
+ let Ct;
251
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
252
252
  constructor(t, r, n) {
253
253
  super();
254
254
  /** The Svelte component constructor */
@@ -285,42 +285,42 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
285
285
  }
286
286
  }
287
287
  connectedCallback() {
288
- return at(this, null, function* () {
288
+ return ot(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 = L("slot"), o !== "default" && E(s, "name", o);
295
+ s = N("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
- ae(u, s, l);
302
+ ue(u, s, l);
303
303
  },
304
304
  d: function(u) {
305
- u && J(s);
305
+ u && Y(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 = Tr(this);
312
+ const r = {}, n = Sr(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) {
316
316
  const s = this.$$g_p(o.name);
317
- s in this.$$d || (this.$$d[s] = pe(s, o.value, this.$$p_d, "toProp"));
317
+ s in this.$$d || (this.$$d[s] = de(s, o.value, this.$$p_d, "toProp"));
318
318
  }
319
319
  for (const o in this.$$p_d)
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: st(ot({}, this.$$d), {
323
+ props: it(nt({}, this.$$d), {
324
324
  $$slots: r,
325
325
  $$scope: {
326
326
  ctx: []
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
331
331
  this.$$r = !0;
332
332
  for (const o in this.$$p_d)
333
333
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
334
- const s = pe(
334
+ const s = de(
335
335
  o,
336
336
  this.$$d[o],
337
337
  this.$$p_d,
@@ -355,7 +355,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
355
355
  // and setting attributes through setAttribute etc, this is helpful
356
356
  attributeChangedCallback(t, r, n) {
357
357
  var i;
358
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
358
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = de(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
359
359
  }
360
360
  disconnectedCallback() {
361
361
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -368,7 +368,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
368
368
  ) || t;
369
369
  }
370
370
  });
371
- function pe(e, t, r, n) {
371
+ function de(e, t, r, n) {
372
372
  var o;
373
373
  const i = (o = r[e]) == null ? void 0 : o.type;
374
374
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -398,8 +398,8 @@ function pe(e, t, r, n) {
398
398
  return t;
399
399
  }
400
400
  }
401
- function Ur(e, t, r, n, i, o) {
402
- let s = class extends $t {
401
+ function $r(e, t, r, n, i, o) {
402
+ let s = class extends Ct {
403
403
  constructor() {
404
404
  super(e, r, i), this.$$p_d = t;
405
405
  }
@@ -416,7 +416,7 @@ function Ur(e, t, r, n, i, o) {
416
416
  },
417
417
  set(h) {
418
418
  var u;
419
- h = pe(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
419
+ h = de(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
420
420
  }
421
421
  });
422
422
  }), n.forEach((a) => {
@@ -429,7 +429,7 @@ function Ur(e, t, r, n, i, o) {
429
429
  }), e.element = /** @type {any} */
430
430
  s, s;
431
431
  }
432
- class Dr {
432
+ class Ur {
433
433
  constructor() {
434
434
  /**
435
435
  * ### PRIVATE API
@@ -450,7 +450,7 @@ class Dr {
450
450
  }
451
451
  /** @returns {void} */
452
452
  $destroy() {
453
- Mr(this, 1), this.$destroy = P;
453
+ Cr(this, 1), this.$destroy = P;
454
454
  }
455
455
  /**
456
456
  * @template {Extract<keyof Events, string>} K
@@ -459,7 +459,7 @@ class Dr {
459
459
  * @returns {() => void}
460
460
  */
461
461
  $on(t, r) {
462
- if (!et(r))
462
+ if (!Je(r))
463
463
  return P;
464
464
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
465
465
  return n.push(r), () => {
@@ -472,11 +472,11 @@ class Dr {
472
472
  * @returns {void}
473
473
  */
474
474
  $set(t) {
475
- this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
+ this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
476
476
  }
477
477
  }
478
- const Gr = "4";
479
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
478
+ const Dr = "4";
479
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
480
480
  /*! *****************************************************************************
481
481
  Copyright (c) Microsoft Corporation.
482
482
 
@@ -491,24 +491,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
491
491
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
492
492
  PERFORMANCE OF THIS SOFTWARE.
493
493
  ***************************************************************************** */
494
- var De = function(e, t) {
495
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
494
+ var $e = function(e, t) {
495
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
496
496
  r.__proto__ = n;
497
497
  } || function(r, n) {
498
498
  for (var i in n)
499
499
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
500
- }, De(e, t);
500
+ }, $e(e, t);
501
501
  };
502
- function ue(e, t) {
502
+ function L(e, t) {
503
503
  if (typeof t != "function" && t !== null)
504
504
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
505
- De(e, t);
505
+ $e(e, t);
506
506
  function r() {
507
507
  this.constructor = e;
508
508
  }
509
509
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
510
510
  }
511
- function Ge(e) {
511
+ var g = function() {
512
+ return g = Object.assign || function(t) {
513
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
514
+ r = arguments[n];
515
+ for (var o in r)
516
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
517
+ }
518
+ return t;
519
+ }, g.apply(this, arguments);
520
+ };
521
+ function Gr(e, t) {
522
+ var r = {};
523
+ for (var n in e)
524
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
525
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
526
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
527
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
528
+ return r;
529
+ }
530
+ function Ue(e) {
512
531
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
513
532
  if (r)
514
533
  return r.call(e);
@@ -520,7 +539,7 @@ function Ge(e) {
520
539
  };
521
540
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
522
541
  }
523
- function Fe(e, t) {
542
+ function De(e, t) {
524
543
  var r = typeof Symbol == "function" && e[Symbol.iterator];
525
544
  if (!r)
526
545
  return e;
@@ -540,22 +559,22 @@ function Fe(e, t) {
540
559
  }
541
560
  return o;
542
561
  }
543
- function je(e, t, r) {
544
- if (arguments.length === 2)
562
+ function X(e, t, r) {
563
+ if (r || arguments.length === 2)
545
564
  for (var n = 0, i = t.length, o; n < i; n++)
546
565
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
547
566
  return e.concat(o || t);
548
567
  }
549
- function N(e) {
568
+ function I(e) {
550
569
  return typeof e == "function";
551
570
  }
552
- function Rt(e) {
571
+ function Mt(e) {
553
572
  var t = function(n) {
554
573
  Error.call(n), n.stack = new Error().stack;
555
574
  }, r = e(t);
556
575
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
557
576
  }
558
- var Be = Rt(function(e) {
577
+ var He = Mt(function(e) {
559
578
  return function(r) {
560
579
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
561
580
  ` + r.map(function(n, i) {
@@ -564,13 +583,13 @@ var Be = Rt(function(e) {
564
583
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
565
584
  };
566
585
  });
567
- function ke(e, t) {
586
+ function Ge(e, t) {
568
587
  if (e) {
569
588
  var r = e.indexOf(t);
570
589
  0 <= r && e.splice(r, 1);
571
590
  }
572
591
  }
573
- var _e = function() {
592
+ var ve = function() {
574
593
  function e(t) {
575
594
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
576
595
  }
@@ -582,12 +601,12 @@ var _e = function() {
582
601
  if (s)
583
602
  if (this._parentage = null, Array.isArray(s))
584
603
  try {
585
- for (var a = Ge(s), h = a.next(); !h.done; h = a.next()) {
604
+ for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
586
605
  var u = h.value;
587
606
  u.remove(this);
588
607
  }
589
- } catch (d) {
590
- t = { error: d };
608
+ } catch (p) {
609
+ t = { error: p };
591
610
  } finally {
592
611
  try {
593
612
  h && !h.done && (r = a.return) && r.call(a);
@@ -599,29 +618,29 @@ var _e = function() {
599
618
  else
600
619
  s.remove(this);
601
620
  var l = this.initialTeardown;
602
- if (N(l))
621
+ if (I(l))
603
622
  try {
604
623
  l();
605
- } catch (d) {
606
- o = d instanceof Be ? d.errors : [d];
624
+ } catch (p) {
625
+ o = p instanceof He ? p.errors : [p];
607
626
  }
608
627
  var c = this._finalizers;
609
628
  if (c) {
610
629
  this._finalizers = null;
611
630
  try {
612
- for (var f = Ge(c), p = f.next(); !p.done; p = f.next()) {
613
- var y = p.value;
631
+ for (var f = Ue(c), d = f.next(); !d.done; d = f.next()) {
632
+ var v = d.value;
614
633
  try {
615
- ct(y);
616
- } catch (d) {
617
- o = o != null ? o : [], d instanceof Be ? o = je(je([], Fe(o)), Fe(d.errors)) : o.push(d);
634
+ ht(v);
635
+ } catch (p) {
636
+ o = o != null ? o : [], p instanceof He ? o = X(X([], De(o)), De(p.errors)) : o.push(p);
618
637
  }
619
638
  }
620
- } catch (d) {
621
- n = { error: d };
639
+ } catch (p) {
640
+ n = { error: p };
622
641
  } finally {
623
642
  try {
624
- p && !p.done && (i = f.return) && i.call(f);
643
+ d && !d.done && (i = f.return) && i.call(f);
625
644
  } finally {
626
645
  if (n)
627
646
  throw n.error;
@@ -629,13 +648,13 @@ var _e = function() {
629
648
  }
630
649
  }
631
650
  if (o)
632
- throw new Be(o);
651
+ throw new He(o);
633
652
  }
634
653
  }, e.prototype.add = function(t) {
635
654
  var r;
636
655
  if (t && t !== this)
637
656
  if (this.closed)
638
- ct(t);
657
+ ht(t);
639
658
  else {
640
659
  if (t instanceof e) {
641
660
  if (t.closed || t._hasParent(this))
@@ -652,52 +671,56 @@ var _e = function() {
652
671
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
653
672
  }, e.prototype._removeParent = function(t) {
654
673
  var r = this._parentage;
655
- r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
674
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
656
675
  }, e.prototype.remove = function(t) {
657
676
  var r = this._finalizers;
658
- r && ke(r, t), t instanceof e && t._removeParent(this);
677
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
659
678
  }, e.EMPTY = function() {
660
679
  var t = new e();
661
680
  return t.closed = !0, t;
662
681
  }(), e;
663
- }(), Ut = _e.EMPTY;
664
- function Dt(e) {
665
- return e instanceof _e || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
666
- }
667
- function ct(e) {
668
- N(e) ? e() : e.unsubscribe();
669
- }
670
- var Fr = {
671
- Promise: void 0
672
- }, jr = {
682
+ }(), Rt = ve.EMPTY;
683
+ function $t(e) {
684
+ return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
685
+ }
686
+ function ht(e) {
687
+ I(e) ? e() : e.unsubscribe();
688
+ }
689
+ var Ut = {
690
+ onUnhandledError: null,
691
+ onStoppedNotification: null,
692
+ Promise: void 0,
693
+ useDeprecatedSynchronousErrorHandling: !1,
694
+ useDeprecatedNextContext: !1
695
+ }, Fr = {
673
696
  setTimeout: function(e, t) {
674
697
  for (var r = [], n = 2; n < arguments.length; n++)
675
698
  r[n - 2] = arguments[n];
676
- return setTimeout.apply(void 0, je([e, t], Fe(r)));
699
+ return setTimeout.apply(void 0, X([e, t], De(r)));
677
700
  },
678
701
  clearTimeout: function(e) {
679
702
  return clearTimeout(e);
680
703
  },
681
704
  delegate: void 0
682
705
  };
683
- function kr(e) {
684
- jr.setTimeout(function() {
706
+ function jr(e) {
707
+ Fr.setTimeout(function() {
685
708
  throw e;
686
709
  });
687
710
  }
688
- function ft() {
711
+ function lt() {
689
712
  }
690
- function de(e) {
713
+ function pe(e) {
691
714
  e();
692
715
  }
693
- var Gt = function(e) {
694
- ue(t, e);
716
+ var Dt = function(e) {
717
+ L(t, e);
695
718
  function t(r) {
696
719
  var n = e.call(this) || this;
697
- return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = Xr, n;
720
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Xr, n;
698
721
  }
699
722
  return t.create = function(r, n, i) {
700
- return new We(r, n, i);
723
+ return new Fe(r, n, i);
701
724
  }, t.prototype.next = function(r) {
702
725
  this.isStopped || this._next(r);
703
726
  }, t.prototype.error = function(r) {
@@ -721,7 +744,11 @@ var Gt = function(e) {
721
744
  this.unsubscribe();
722
745
  }
723
746
  }, t;
724
- }(_e), Wr = function() {
747
+ }(ve), kr = Function.prototype.bind;
748
+ function Pe(e, t) {
749
+ return kr.call(e, t);
750
+ }
751
+ var Wr = function() {
725
752
  function e(t) {
726
753
  this.partialObserver = t;
727
754
  }
@@ -752,29 +779,41 @@ var Gt = function(e) {
752
779
  ce(r);
753
780
  }
754
781
  }, e;
755
- }(), We = function(e) {
756
- ue(t, e);
782
+ }(), Fe = function(e) {
783
+ L(t, e);
757
784
  function t(r, n, i) {
758
785
  var o = e.call(this) || this, s;
759
- return N(r) || !r ? s = {
760
- next: r != null ? r : void 0,
761
- error: n != null ? n : void 0,
762
- complete: i != null ? i : void 0
763
- } : s = r, o.destination = new Wr(s), o;
786
+ if (I(r) || !r)
787
+ s = {
788
+ next: r != null ? r : void 0,
789
+ error: n != null ? n : void 0,
790
+ complete: i != null ? i : void 0
791
+ };
792
+ else {
793
+ var a;
794
+ o && Ut.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
795
+ return o.unsubscribe();
796
+ }, s = {
797
+ next: r.next && Pe(r.next, a),
798
+ error: r.error && Pe(r.error, a),
799
+ complete: r.complete && Pe(r.complete, a)
800
+ }) : s = r;
801
+ }
802
+ return o.destination = new Wr(s), o;
764
803
  }
765
804
  return t;
766
- }(Gt);
805
+ }(Dt);
767
806
  function ce(e) {
768
- kr(e);
807
+ jr(e);
769
808
  }
770
809
  function Vr(e) {
771
810
  throw e;
772
811
  }
773
812
  var Xr = {
774
813
  closed: !0,
775
- next: ft,
814
+ next: lt,
776
815
  error: Vr,
777
- complete: ft
816
+ complete: lt
778
817
  }, zr = function() {
779
818
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
780
819
  }();
@@ -788,7 +827,7 @@ function Qr(e) {
788
827
  }, r);
789
828
  };
790
829
  }
791
- var pt = function() {
830
+ var ct = function() {
792
831
  function e(t) {
793
832
  t && (this._subscribe = t);
794
833
  }
@@ -796,8 +835,8 @@ var pt = function() {
796
835
  var r = new e();
797
836
  return r.source = this, r.operator = t, r;
798
837
  }, e.prototype.subscribe = function(t, r, n) {
799
- var i = this, o = Yr(t) ? t : new We(t, r, n);
800
- return de(function() {
838
+ var i = this, o = Yr(t) ? t : new Fe(t, r, n);
839
+ return pe(function() {
801
840
  var s = i, a = s.operator, h = s.source;
802
841
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
803
842
  }), o;
@@ -809,8 +848,8 @@ var pt = function() {
809
848
  }
810
849
  }, e.prototype.forEach = function(t, r) {
811
850
  var n = this;
812
- return r = dt(r), new r(function(i, o) {
813
- var s = new We({
851
+ return r = ft(r), new r(function(i, o) {
852
+ var s = new Fe({
814
853
  next: function(a) {
815
854
  try {
816
855
  t(a);
@@ -834,7 +873,7 @@ var pt = function() {
834
873
  return Qr(t)(this);
835
874
  }, e.prototype.toPromise = function(t) {
836
875
  var r = this;
837
- return t = dt(t), new t(function(n, i) {
876
+ return t = ft(t), new t(function(n, i) {
838
877
  var o;
839
878
  r.subscribe(function(s) {
840
879
  return o = s;
@@ -848,40 +887,40 @@ var pt = function() {
848
887
  return new e(t);
849
888
  }, e;
850
889
  }();
851
- function dt(e) {
890
+ function ft(e) {
852
891
  var t;
853
- return (t = e != null ? e : Fr.Promise) !== null && t !== void 0 ? t : Promise;
892
+ return (t = e != null ? e : Ut.Promise) !== null && t !== void 0 ? t : Promise;
854
893
  }
855
894
  function Jr(e) {
856
- return e && N(e.next) && N(e.error) && N(e.complete);
895
+ return e && I(e.next) && I(e.error) && I(e.complete);
857
896
  }
858
897
  function Yr(e) {
859
- return e && e instanceof Gt || Jr(e) && Dt(e);
898
+ return e && e instanceof Dt || Jr(e) && $t(e);
860
899
  }
861
- var qr = Rt(function(e) {
900
+ var qr = Mt(function(e) {
862
901
  return function() {
863
902
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
864
903
  };
865
- }), Ft = function(e) {
866
- ue(t, e);
904
+ }), Gt = function(e) {
905
+ L(t, e);
867
906
  function t() {
868
907
  var r = e.call(this) || this;
869
908
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
870
909
  }
871
910
  return t.prototype.lift = function(r) {
872
- var n = new mt(this, this);
911
+ var n = new dt(this, this);
873
912
  return n.operator = r, n;
874
913
  }, t.prototype._throwIfClosed = function() {
875
914
  if (this.closed)
876
915
  throw new qr();
877
916
  }, t.prototype.next = function(r) {
878
917
  var n = this;
879
- de(function() {
918
+ pe(function() {
880
919
  var i, o;
881
920
  if (n._throwIfClosed(), !n.isStopped) {
882
921
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
883
922
  try {
884
- for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
923
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
885
924
  var h = a.value;
886
925
  h.next(r);
887
926
  }
@@ -899,7 +938,7 @@ var qr = Rt(function(e) {
899
938
  });
900
939
  }, t.prototype.error = function(r) {
901
940
  var n = this;
902
- de(function() {
941
+ pe(function() {
903
942
  if (n._throwIfClosed(), !n.isStopped) {
904
943
  n.hasError = n.isStopped = !0, n.thrownError = r;
905
944
  for (var i = n.observers; i.length; )
@@ -908,7 +947,7 @@ var qr = Rt(function(e) {
908
947
  });
909
948
  }, t.prototype.complete = function() {
910
949
  var r = this;
911
- de(function() {
950
+ pe(function() {
912
951
  if (r._throwIfClosed(), !r.isStopped) {
913
952
  r.isStopped = !0;
914
953
  for (var n = r.observers; n.length; )
@@ -930,20 +969,20 @@ var qr = Rt(function(e) {
930
969
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
931
970
  }, t.prototype._innerSubscribe = function(r) {
932
971
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
933
- return o || s ? Ut : (this.currentObservers = null, a.push(r), new _e(function() {
934
- n.currentObservers = null, ke(a, r);
972
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new ve(function() {
973
+ n.currentObservers = null, Ge(a, r);
935
974
  }));
936
975
  }, t.prototype._checkFinalizedStatuses = function(r) {
937
976
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
938
977
  i ? r.error(o) : s && r.complete();
939
978
  }, t.prototype.asObservable = function() {
940
- var r = new pt();
979
+ var r = new ct();
941
980
  return r.source = this, r;
942
981
  }, t.create = function(r, n) {
943
- return new mt(r, n);
982
+ return new dt(r, n);
944
983
  }, t;
945
- }(pt), mt = function(e) {
946
- ue(t, e);
984
+ }(ct), dt = function(e) {
985
+ L(t, e);
947
986
  function t(r, n) {
948
987
  var i = e.call(this) || this;
949
988
  return i.destination = r, i.source = n, i;
@@ -959,17 +998,17 @@ var qr = Rt(function(e) {
959
998
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
960
999
  }, t.prototype._subscribe = function(r) {
961
1000
  var n, i;
962
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
1001
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
963
1002
  }, t;
964
- }(Ft), jt = {
1003
+ }(Gt), Ft = {
965
1004
  now: function() {
966
- return (jt.delegate || Date).now();
1005
+ return (Ft.delegate || Date).now();
967
1006
  },
968
1007
  delegate: void 0
969
1008
  }, Kr = function(e) {
970
- ue(t, e);
1009
+ L(t, e);
971
1010
  function t(r, n, i) {
972
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1011
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
973
1012
  var o = e.call(this) || this;
974
1013
  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;
975
1014
  }
@@ -989,24 +1028,24 @@ var qr = Rt(function(e) {
989
1028
  u && o.splice(0, u + 1);
990
1029
  }
991
1030
  }, t;
992
- }(Ft);
993
- const bt = [], gt = {}, en = (e, t = 0) => {
994
- if (bt.indexOf(e) == -1) {
1031
+ }(Gt);
1032
+ const pt = [], mt = {}, en = (e, t = 0) => {
1033
+ if (pt.indexOf(e) == -1) {
995
1034
  const r = new Kr(t);
996
- gt[e] = r, bt.push(e);
1035
+ mt[e] = r, pt.push(e);
997
1036
  }
998
- return gt[e];
1037
+ return mt[e];
999
1038
  }, k = [];
1000
1039
  function tn(e, t) {
1001
1040
  return {
1002
- subscribe: Ee(e, t).subscribe
1041
+ subscribe: _e(e, t).subscribe
1003
1042
  };
1004
1043
  }
1005
- function Ee(e, t = P) {
1044
+ function _e(e, t = P) {
1006
1045
  let r;
1007
1046
  const n = /* @__PURE__ */ new Set();
1008
1047
  function i(a) {
1009
- if (Ct(e, a) && (e = a, r)) {
1048
+ if (Nt(e, a) && (e = a, r)) {
1010
1049
  const h = !k.length;
1011
1050
  for (const u of n)
1012
1051
  u[1](), k.push(u, e);
@@ -1028,7 +1067,7 @@ function Ee(e, t = P) {
1028
1067
  }
1029
1068
  return { set: i, update: o, subscribe: s };
1030
1069
  }
1031
- function Y(e, t, r) {
1070
+ function q(e, t, r) {
1032
1071
  const n = !Array.isArray(e), i = n ? [e] : e;
1033
1072
  if (!i.every(Boolean))
1034
1073
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1041,21 +1080,21 @@ function Y(e, t, r) {
1041
1080
  if (l)
1042
1081
  return;
1043
1082
  c();
1044
- const y = t(n ? u[0] : u, s, a);
1045
- o ? s(y) : c = et(y) ? y : P;
1046
- }, p = i.map(
1047
- (y, d) => Mt(
1048
- y,
1083
+ const v = t(n ? u[0] : u, s, a);
1084
+ o ? s(v) : c = Je(v) ? v : P;
1085
+ }, d = i.map(
1086
+ (v, p) => Lt(
1087
+ v,
1049
1088
  (w) => {
1050
- u[d] = w, l &= ~(1 << d), h && f();
1089
+ u[p] = w, l &= ~(1 << p), h && f();
1051
1090
  },
1052
1091
  () => {
1053
- l |= 1 << d;
1092
+ l |= 1 << p;
1054
1093
  }
1055
1094
  )
1056
1095
  );
1057
1096
  return h = !0, f(), function() {
1058
- se(p), c(), h = !1;
1097
+ ae(d), c(), h = !1;
1059
1098
  };
1060
1099
  });
1061
1100
  }
@@ -1079,209 +1118,159 @@ function hn(e) {
1079
1118
  function ln(e) {
1080
1119
  return Array.isArray(e) ? [] : {};
1081
1120
  }
1082
- function ie(e, t) {
1083
- return t.clone !== !1 && t.isMergeableObject(e) ? X(ln(e), e, t) : e;
1121
+ function oe(e, t) {
1122
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(ln(e), e, t) : e;
1084
1123
  }
1085
1124
  function cn(e, t, r) {
1086
1125
  return e.concat(t).map(function(n) {
1087
- return ie(n, r);
1126
+ return oe(n, r);
1088
1127
  });
1089
1128
  }
1090
1129
  function fn(e, t) {
1091
1130
  if (!t.customMerge)
1092
- return X;
1131
+ return z;
1093
1132
  var r = t.customMerge(e);
1094
- return typeof r == "function" ? r : X;
1133
+ return typeof r == "function" ? r : z;
1095
1134
  }
1096
- function pn(e) {
1135
+ function dn(e) {
1097
1136
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1098
1137
  return Object.propertyIsEnumerable.call(e, t);
1099
1138
  }) : [];
1100
1139
  }
1101
- function yt(e) {
1102
- return Object.keys(e).concat(pn(e));
1140
+ function bt(e) {
1141
+ return Object.keys(e).concat(dn(e));
1103
1142
  }
1104
- function kt(e, t) {
1143
+ function jt(e, t) {
1105
1144
  try {
1106
1145
  return t in e;
1107
1146
  } catch (r) {
1108
1147
  return !1;
1109
1148
  }
1110
1149
  }
1111
- function dn(e, t) {
1112
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1150
+ function pn(e, t) {
1151
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1113
1152
  }
1114
1153
  function mn(e, t, r) {
1115
1154
  var n = {};
1116
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1117
- n[i] = ie(e[i], r);
1118
- }), yt(t).forEach(function(i) {
1119
- dn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1155
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1156
+ n[i] = oe(e[i], r);
1157
+ }), bt(t).forEach(function(i) {
1158
+ pn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1120
1159
  }), n;
1121
1160
  }
1122
- function X(e, t, r) {
1123
- r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = ie;
1161
+ function z(e, t, r) {
1162
+ r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = oe;
1124
1163
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1125
- return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : ie(t, r);
1164
+ return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : oe(t, r);
1126
1165
  }
1127
- X.all = function(t, r) {
1166
+ z.all = function(t, r) {
1128
1167
  if (!Array.isArray(t))
1129
1168
  throw new Error("first argument should be an array");
1130
1169
  return t.reduce(function(n, i) {
1131
- return X(n, i, r);
1170
+ return z(n, i, r);
1132
1171
  }, {});
1133
1172
  };
1134
- var bn = X, gn = bn;
1173
+ var bn = z, gn = bn;
1135
1174
  const yn = /* @__PURE__ */ rn(gn);
1136
- var Ve = function(e, t) {
1137
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1138
- r.__proto__ = n;
1139
- } || function(r, n) {
1140
- for (var i in n)
1141
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1142
- }, Ve(e, t);
1143
- };
1144
- function xe(e, t) {
1145
- if (typeof t != "function" && t !== null)
1146
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1147
- Ve(e, t);
1148
- function r() {
1149
- this.constructor = e;
1150
- }
1151
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1152
- }
1153
- var A = function() {
1154
- return A = Object.assign || function(t) {
1155
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1156
- r = arguments[n];
1157
- for (var o in r)
1158
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1159
- }
1160
- return t;
1161
- }, A.apply(this, arguments);
1162
- };
1163
- function vn(e, t) {
1164
- var r = {};
1165
- for (var n in e)
1166
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1167
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1168
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1169
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1170
- return r;
1171
- }
1172
- function Ae(e, t, r) {
1173
- if (r || arguments.length === 2)
1174
- for (var n = 0, i = t.length, o; n < i; n++)
1175
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1176
- return e.concat(o || Array.prototype.slice.call(t));
1177
- }
1178
- function Oe(e, t) {
1179
- var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : xn;
1175
+ function Be(e, t) {
1176
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : _n;
1180
1177
  return i(e, {
1181
1178
  cache: r,
1182
1179
  serializer: n
1183
1180
  });
1184
1181
  }
1185
- function _n(e) {
1182
+ function vn(e) {
1186
1183
  return e == null || typeof e == "number" || typeof e == "boolean";
1187
1184
  }
1188
- function En(e, t, r, n) {
1189
- var i = _n(n) ? n : r(n), o = t.get(i);
1185
+ function kt(e, t, r, n) {
1186
+ var i = vn(n) ? n : r(n), o = t.get(i);
1190
1187
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1191
1188
  }
1192
1189
  function Wt(e, t, r) {
1193
1190
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1194
1191
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1195
1192
  }
1196
- function Vt(e, t, r, n, i) {
1193
+ function qe(e, t, r, n, i) {
1197
1194
  return r.bind(t, e, n, i);
1198
1195
  }
1199
- function xn(e, t) {
1200
- var r = e.length === 1 ? En : Wt;
1201
- return Vt(e, this, r, t.cache.create(), t.serializer);
1196
+ function _n(e, t) {
1197
+ var r = e.length === 1 ? kt : Wt;
1198
+ return qe(e, this, r, t.cache.create(), t.serializer);
1202
1199
  }
1203
- function wn(e, t) {
1204
- return Vt(e, this, Wt, t.cache.create(), t.serializer);
1200
+ function En(e, t) {
1201
+ return qe(e, this, Wt, t.cache.create(), t.serializer);
1202
+ }
1203
+ function xn(e, t) {
1204
+ return qe(e, this, kt, t.cache.create(), t.serializer);
1205
1205
  }
1206
- var Sn = function() {
1206
+ var wn = function() {
1207
1207
  return JSON.stringify(arguments);
1208
- }, Tn = (
1209
- /** @class */
1210
- function() {
1211
- function e() {
1212
- this.cache = /* @__PURE__ */ Object.create(null);
1213
- }
1214
- return e.prototype.get = function(t) {
1215
- return this.cache[t];
1216
- }, e.prototype.set = function(t, r) {
1217
- this.cache[t] = r;
1218
- }, e;
1219
- }()
1220
- ), Hn = {
1208
+ };
1209
+ function Ke() {
1210
+ this.cache = /* @__PURE__ */ Object.create(null);
1211
+ }
1212
+ Ke.prototype.get = function(e) {
1213
+ return this.cache[e];
1214
+ };
1215
+ Ke.prototype.set = function(e, t) {
1216
+ this.cache[e] = t;
1217
+ };
1218
+ var Sn = {
1221
1219
  create: function() {
1222
- return new Tn();
1220
+ return new Ke();
1223
1221
  }
1224
- }, Ie = {
1225
- variadic: wn
1226
- }, ge = function() {
1227
- return ge = Object.assign || function(t) {
1228
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1229
- r = arguments[n];
1230
- for (var o in r)
1231
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1232
- }
1233
- return t;
1234
- }, ge.apply(this, arguments);
1235
- };
1236
- var m;
1222
+ }, Ae = {
1223
+ variadic: En,
1224
+ monadic: xn
1225
+ }, m;
1237
1226
  (function(e) {
1238
1227
  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";
1239
1228
  })(m || (m = {}));
1240
- var v;
1229
+ var _;
1241
1230
  (function(e) {
1242
1231
  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";
1243
- })(v || (v = {}));
1244
- var z;
1232
+ })(_ || (_ = {}));
1233
+ var Z;
1245
1234
  (function(e) {
1246
1235
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1247
- })(z || (z = {}));
1248
- function vt(e) {
1249
- return e.type === v.literal;
1236
+ })(Z || (Z = {}));
1237
+ function gt(e) {
1238
+ return e.type === _.literal;
1250
1239
  }
1251
- function Pn(e) {
1252
- return e.type === v.argument;
1240
+ function Tn(e) {
1241
+ return e.type === _.argument;
1242
+ }
1243
+ function Vt(e) {
1244
+ return e.type === _.number;
1253
1245
  }
1254
1246
  function Xt(e) {
1255
- return e.type === v.number;
1247
+ return e.type === _.date;
1256
1248
  }
1257
1249
  function zt(e) {
1258
- return e.type === v.date;
1250
+ return e.type === _.time;
1259
1251
  }
1260
1252
  function Zt(e) {
1261
- return e.type === v.time;
1253
+ return e.type === _.select;
1262
1254
  }
1263
1255
  function Qt(e) {
1264
- return e.type === v.select;
1256
+ return e.type === _.plural;
1265
1257
  }
1266
- function Jt(e) {
1267
- return e.type === v.plural;
1258
+ function Hn(e) {
1259
+ return e.type === _.pound;
1268
1260
  }
1269
- function Bn(e) {
1270
- return e.type === v.pound;
1261
+ function Jt(e) {
1262
+ return e.type === _.tag;
1271
1263
  }
1272
1264
  function Yt(e) {
1273
- return e.type === v.tag;
1265
+ return !!(e && typeof e == "object" && e.type === Z.number);
1274
1266
  }
1275
- function qt(e) {
1276
- return !!(e && typeof e == "object" && e.type === z.number);
1267
+ function je(e) {
1268
+ return !!(e && typeof e == "object" && e.type === Z.dateTime);
1277
1269
  }
1278
- function Xe(e) {
1279
- return !!(e && typeof e == "object" && e.type === z.dateTime);
1280
- }
1281
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1282
- function On(e) {
1270
+ var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1271
+ function Bn(e) {
1283
1272
  var t = {};
1284
- return e.replace(An, function(r) {
1273
+ return e.replace(Pn, function(r) {
1285
1274
  var n = r.length;
1286
1275
  switch (r[0]) {
1287
1276
  case "G":
@@ -1370,21 +1359,11 @@ function On(e) {
1370
1359
  return "";
1371
1360
  }), t;
1372
1361
  }
1373
- var _ = function() {
1374
- return _ = Object.assign || function(t) {
1375
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1376
- r = arguments[n];
1377
- for (var o in r)
1378
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1379
- }
1380
- return t;
1381
- }, _.apply(this, arguments);
1382
- };
1383
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1384
- function Nn(e) {
1362
+ var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1363
+ function On(e) {
1385
1364
  if (e.length === 0)
1386
1365
  throw new Error("Number skeleton cannot be empty");
1387
- for (var t = e.split(In).filter(function(f) {
1366
+ for (var t = e.split(An).filter(function(f) {
1388
1367
  return f.length > 0;
1389
1368
  }), r = [], n = 0, i = t; n < i.length; n++) {
1390
1369
  var o = i[n], s = o.split("/");
@@ -1399,17 +1378,17 @@ function Nn(e) {
1399
1378
  }
1400
1379
  return r;
1401
1380
  }
1402
- function Ln(e) {
1381
+ function In(e) {
1403
1382
  return e.replace(/^(.*?)-/, "");
1404
1383
  }
1405
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1406
- function Et(e) {
1384
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1385
+ function vt(e) {
1407
1386
  var t = {};
1408
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1387
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1409
1388
  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)), "";
1410
1389
  }), t;
1411
1390
  }
1412
- function rr(e) {
1391
+ function tr(e) {
1413
1392
  switch (e) {
1414
1393
  case "sign-auto":
1415
1394
  return {
@@ -1449,7 +1428,7 @@ function rr(e) {
1449
1428
  };
1450
1429
  }
1451
1430
  }
1452
- function Mn(e) {
1431
+ function Ln(e) {
1453
1432
  var t;
1454
1433
  if (e[0] === "E" && e[1] === "E" ? (t = {
1455
1434
  notation: "engineering"
@@ -1457,17 +1436,17 @@ function Mn(e) {
1457
1436
  notation: "scientific"
1458
1437
  }, e = e.slice(1)), t) {
1459
1438
  var r = e.slice(0, 2);
1460
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1439
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1461
1440
  throw new Error("Malformed concise eng/scientific notation");
1462
1441
  t.minimumIntegerDigits = e.length;
1463
1442
  }
1464
1443
  return t;
1465
1444
  }
1466
- function xt(e) {
1467
- var t = {}, r = rr(e);
1445
+ function _t(e) {
1446
+ var t = {}, r = tr(e);
1468
1447
  return r || t;
1469
1448
  }
1470
- function $n(e) {
1449
+ function Cn(e) {
1471
1450
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1472
1451
  var i = n[r];
1473
1452
  switch (i.stem) {
@@ -1491,7 +1470,7 @@ function $n(e) {
1491
1470
  continue;
1492
1471
  case "measure-unit":
1493
1472
  case "unit":
1494
- t.style = "unit", t.unit = Ln(i.options[0]);
1473
+ t.style = "unit", t.unit = In(i.options[0]);
1495
1474
  continue;
1496
1475
  case "compact-short":
1497
1476
  case "K":
@@ -1502,13 +1481,13 @@ function $n(e) {
1502
1481
  t.notation = "compact", t.compactDisplay = "long";
1503
1482
  continue;
1504
1483
  case "scientific":
1505
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1506
- return _(_({}, h), xt(u));
1484
+ t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1485
+ return g(g({}, h), _t(u));
1507
1486
  }, {}));
1508
1487
  continue;
1509
1488
  case "engineering":
1510
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1511
- return _(_({}, h), xt(u));
1489
+ t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1490
+ return g(g({}, h), _t(u));
1512
1491
  }, {}));
1513
1492
  continue;
1514
1493
  case "notation-simple":
@@ -1553,41 +1532,41 @@ function $n(e) {
1553
1532
  case "integer-width":
1554
1533
  if (i.options.length > 1)
1555
1534
  throw new RangeError("integer-width stems only accept a single optional option");
1556
- i.options[0].replace(Cn, function(h, u, l, c, f, p) {
1535
+ i.options[0].replace(Nn, function(h, u, l, c, f, d) {
1557
1536
  if (u)
1558
1537
  t.minimumIntegerDigits = l.length;
1559
1538
  else {
1560
1539
  if (c && f)
1561
1540
  throw new Error("We currently do not support maximum integer digits");
1562
- if (p)
1541
+ if (d)
1563
1542
  throw new Error("We currently do not support exact integer digits");
1564
1543
  }
1565
1544
  return "";
1566
1545
  });
1567
1546
  continue;
1568
1547
  }
1569
- if (tr.test(i.stem)) {
1548
+ if (er.test(i.stem)) {
1570
1549
  t.minimumIntegerDigits = i.stem.length;
1571
1550
  continue;
1572
1551
  }
1573
- if (_t.test(i.stem)) {
1552
+ if (yt.test(i.stem)) {
1574
1553
  if (i.options.length > 1)
1575
1554
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1576
- i.stem.replace(_t, function(h, u, l, c, f, p) {
1577
- 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), "";
1555
+ i.stem.replace(yt, function(h, u, l, c, f, d) {
1556
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1578
1557
  });
1579
1558
  var o = i.options[0];
1580
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Et(o)));
1559
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), vt(o)));
1581
1560
  continue;
1582
1561
  }
1583
- if (er.test(i.stem)) {
1584
- t = _(_({}, t), Et(i.stem));
1562
+ if (Kt.test(i.stem)) {
1563
+ t = g(g({}, t), vt(i.stem));
1585
1564
  continue;
1586
1565
  }
1587
- var s = rr(i.stem);
1588
- s && (t = _(_({}, t), s));
1589
- var a = Mn(i.stem);
1590
- a && (t = _(_({}, t), a));
1566
+ var s = tr(i.stem);
1567
+ s && (t = g(g({}, t), s));
1568
+ var a = Ln(i.stem);
1569
+ a && (t = g(g({}, t), a));
1591
1570
  }
1592
1571
  return t;
1593
1572
  }
@@ -3006,13 +2985,13 @@ var fe = {
3006
2985
  "h"
3007
2986
  ]
3008
2987
  };
3009
- function Rn(e, t) {
2988
+ function Mn(e, t) {
3010
2989
  for (var r = "", n = 0; n < e.length; n++) {
3011
2990
  var i = e.charAt(n);
3012
2991
  if (i === "j") {
3013
2992
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3014
2993
  o++, n++;
3015
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Un(t);
2994
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Rn(t);
3016
2995
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3017
2996
  r += h;
3018
2997
  for (; s-- > 0; )
@@ -3022,7 +3001,7 @@ function Rn(e, t) {
3022
3001
  }
3023
3002
  return r;
3024
3003
  }
3025
- function Un(e) {
3004
+ function Rn(e) {
3026
3005
  var t = e.hourCycle;
3027
3006
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3028
3007
  e.hourCycles && // @ts-ignore
@@ -3044,20 +3023,20 @@ function Un(e) {
3044
3023
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3045
3024
  return i[0];
3046
3025
  }
3047
- var Ne, Dn = new RegExp("^".concat(Kt.source, "*")), Gn = new RegExp("".concat(Kt.source, "*$"));
3026
+ var Oe, $n = new RegExp("^".concat(qt.source, "*")), Un = new RegExp("".concat(qt.source, "*$"));
3048
3027
  function b(e, t) {
3049
3028
  return { start: e, end: t };
3050
3029
  }
3051
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Zn = zn ? Number.isSafeInteger : function(e) {
3030
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
3052
3031
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3053
- }, ze = !0;
3032
+ }, ke = !0;
3054
3033
  try {
3055
- var Qn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3056
- ze = ((Ne = Qn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
3034
+ var zn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3035
+ ke = ((Oe = zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3057
3036
  } catch (e) {
3058
- ze = !1;
3037
+ ke = !1;
3059
3038
  }
3060
- var wt = Fn ? (
3039
+ var Et = Dn ? (
3061
3040
  // Native
3062
3041
  function(t, r, n) {
3063
3042
  return t.startsWith(r, n);
@@ -3067,7 +3046,7 @@ var wt = Fn ? (
3067
3046
  function(t, r, n) {
3068
3047
  return t.slice(n, n + r.length) === r;
3069
3048
  }
3070
- ), Ze = jn ? String.fromCodePoint : (
3049
+ ), We = Gn ? String.fromCodePoint : (
3071
3050
  // IE11
3072
3051
  function() {
3073
3052
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3079,9 +3058,9 @@ var wt = Fn ? (
3079
3058
  }
3080
3059
  return n;
3081
3060
  }
3082
- ), St = (
3061
+ ), xt = (
3083
3062
  // native
3084
- kn ? Object.fromEntries : (
3063
+ Fn ? Object.fromEntries : (
3085
3064
  // Ponyfill
3086
3065
  function(t) {
3087
3066
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3091,7 +3070,7 @@ var wt = Fn ? (
3091
3070
  return r;
3092
3071
  }
3093
3072
  )
3094
- ), nr = Wn ? (
3073
+ ), rr = jn ? (
3095
3074
  // Native
3096
3075
  function(t, r) {
3097
3076
  return t.codePointAt(r);
@@ -3105,7 +3084,7 @@ var wt = Fn ? (
3105
3084
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3106
3085
  }
3107
3086
  }
3108
- ), Jn = Vn ? (
3087
+ ), Zn = kn ? (
3109
3088
  // Native
3110
3089
  function(t) {
3111
3090
  return t.trimStart();
@@ -3113,9 +3092,9 @@ var wt = Fn ? (
3113
3092
  ) : (
3114
3093
  // Ponyfill
3115
3094
  function(t) {
3116
- return t.replace(Dn, "");
3095
+ return t.replace($n, "");
3117
3096
  }
3118
- ), Yn = Xn ? (
3097
+ ), Qn = Wn ? (
3119
3098
  // Native
3120
3099
  function(t) {
3121
3100
  return t.trimEnd();
@@ -3123,32 +3102,32 @@ var wt = Fn ? (
3123
3102
  ) : (
3124
3103
  // Ponyfill
3125
3104
  function(t) {
3126
- return t.replace(Gn, "");
3105
+ return t.replace(Un, "");
3127
3106
  }
3128
3107
  );
3129
- function ir(e, t) {
3108
+ function nr(e, t) {
3130
3109
  return new RegExp(e, t);
3131
3110
  }
3132
- var Qe;
3133
- if (ze) {
3134
- var Tt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3135
- Qe = function(t, r) {
3111
+ var Ve;
3112
+ if (ke) {
3113
+ var wt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
+ Ve = function(t, r) {
3136
3115
  var n;
3137
- Tt.lastIndex = r;
3138
- var i = Tt.exec(t);
3116
+ wt.lastIndex = r;
3117
+ var i = wt.exec(t);
3139
3118
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3140
3119
  };
3141
3120
  } else
3142
- Qe = function(t, r) {
3121
+ Ve = function(t, r) {
3143
3122
  for (var n = []; ; ) {
3144
- var i = nr(t, r);
3145
- if (i === void 0 || or(i) || ti(i))
3123
+ var i = rr(t, r);
3124
+ if (i === void 0 || ir(i) || Kn(i))
3146
3125
  break;
3147
3126
  n.push(i), r += i >= 65536 ? 2 : 1;
3148
3127
  }
3149
- return Ze.apply(void 0, n);
3128
+ return We.apply(void 0, n);
3150
3129
  };
3151
- var qn = (
3130
+ var Jn = (
3152
3131
  /** @class */
3153
3132
  function() {
3154
3133
  function e(t, r) {
@@ -3172,14 +3151,14 @@ var qn = (
3172
3151
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3173
3152
  var a = this.clonePosition();
3174
3153
  this.bump(), i.push({
3175
- type: v.pound,
3154
+ type: _.pound,
3176
3155
  location: b(a, this.clonePosition())
3177
3156
  });
3178
3157
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3179
3158
  if (n)
3180
3159
  break;
3181
3160
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3182
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3161
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3183
3162
  var s = this.parseTag(t, r);
3184
3163
  if (s.err)
3185
3164
  return s;
@@ -3200,7 +3179,7 @@ var qn = (
3200
3179
  if (this.bumpSpace(), this.bumpIf("/>"))
3201
3180
  return {
3202
3181
  val: {
3203
- type: v.literal,
3182
+ type: _.literal,
3204
3183
  value: "<".concat(i, "/>"),
3205
3184
  location: b(n, this.clonePosition())
3206
3185
  },
@@ -3212,12 +3191,12 @@ var qn = (
3212
3191
  return o;
3213
3192
  var s = o.val, a = this.clonePosition();
3214
3193
  if (this.bumpIf("</")) {
3215
- if (this.isEOF() || !Je(this.char()))
3194
+ if (this.isEOF() || !Xe(this.char()))
3216
3195
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3217
3196
  var h = this.clonePosition(), u = this.parseTagName();
3218
3197
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3219
3198
  val: {
3220
- type: v.tag,
3199
+ type: _.tag,
3221
3200
  value: i,
3222
3201
  children: s,
3223
3202
  location: b(n, this.clonePosition())
@@ -3230,7 +3209,7 @@ var qn = (
3230
3209
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3231
3210
  }, e.prototype.parseTagName = function() {
3232
3211
  var t = this.offset();
3233
- for (this.bump(); !this.isEOF() && ei(this.char()); )
3212
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
3234
3213
  this.bump();
3235
3214
  return this.message.slice(t, this.offset());
3236
3215
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3254,12 +3233,12 @@ var qn = (
3254
3233
  }
3255
3234
  var h = b(n, this.clonePosition());
3256
3235
  return {
3257
- val: { type: v.literal, value: i, location: h },
3236
+ val: { type: _.literal, value: i, location: h },
3258
3237
  err: null
3259
3238
  };
3260
3239
  }, e.prototype.tryParseLeftAngleBracket = function() {
3261
3240
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3262
- !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3241
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3263
3242
  }, e.prototype.tryParseQuote = function(t) {
3264
3243
  if (this.isEOF() || this.char() !== 39)
3265
3244
  return null;
@@ -3293,12 +3272,12 @@ var qn = (
3293
3272
  r.push(n);
3294
3273
  this.bump();
3295
3274
  }
3296
- return Ze.apply(void 0, r);
3275
+ return We.apply(void 0, r);
3297
3276
  }, e.prototype.tryParseUnquoted = function(t, r) {
3298
3277
  if (this.isEOF())
3299
3278
  return null;
3300
3279
  var n = this.char();
3301
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3280
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3302
3281
  }, e.prototype.parseArgument = function(t, r) {
3303
3282
  var n = this.clonePosition();
3304
3283
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3314,7 +3293,7 @@ var qn = (
3314
3293
  case 125:
3315
3294
  return this.bump(), {
3316
3295
  val: {
3317
- type: v.argument,
3296
+ type: _.argument,
3318
3297
  // value does not include the opening and closing braces.
3319
3298
  value: i,
3320
3299
  location: b(n, this.clonePosition())
@@ -3327,7 +3306,7 @@ var qn = (
3327
3306
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3328
3307
  }
3329
3308
  }, e.prototype.parseIdentifierIfPossible = function() {
3330
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3309
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3331
3310
  this.bumpTo(i);
3332
3311
  var o = this.clonePosition(), s = b(t, o);
3333
3312
  return { value: n, location: s };
@@ -3346,46 +3325,46 @@ var qn = (
3346
3325
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3347
3326
  if (c.err)
3348
3327
  return c;
3349
- var f = Yn(c.val);
3328
+ var f = Qn(c.val);
3350
3329
  if (f.length === 0)
3351
3330
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3352
- var p = b(l, this.clonePosition());
3353
- u = { style: f, styleLocation: p };
3331
+ var d = b(l, this.clonePosition());
3332
+ u = { style: f, styleLocation: d };
3354
3333
  }
3355
- var y = this.tryParseArgumentClose(i);
3356
- if (y.err)
3357
- return y;
3358
- var d = b(i, this.clonePosition());
3359
- if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3360
- var w = Jn(u.style.slice(2));
3334
+ var v = this.tryParseArgumentClose(i);
3335
+ if (v.err)
3336
+ return v;
3337
+ var p = b(i, this.clonePosition());
3338
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3339
+ var w = Zn(u.style.slice(2));
3361
3340
  if (a === "number") {
3362
3341
  var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3363
3342
  return c.err ? c : {
3364
- val: { type: v.number, value: n, location: d, style: c.val },
3343
+ val: { type: _.number, value: n, location: p, style: c.val },
3365
3344
  err: null
3366
3345
  };
3367
3346
  } else {
3368
3347
  if (w.length === 0)
3369
- return this.error(m.EXPECT_DATE_TIME_SKELETON, d);
3370
- var R = w;
3371
- this.locale && (R = Rn(w, this.locale));
3348
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, p);
3349
+ var $ = w;
3350
+ this.locale && ($ = Mn(w, this.locale));
3372
3351
  var f = {
3373
- type: z.dateTime,
3374
- pattern: R,
3352
+ type: Z.dateTime,
3353
+ pattern: $,
3375
3354
  location: u.styleLocation,
3376
- parsedOptions: this.shouldParseSkeletons ? On(R) : {}
3377
- }, O = a === "date" ? v.date : v.time;
3355
+ parsedOptions: this.shouldParseSkeletons ? Bn($) : {}
3356
+ }, A = a === "date" ? _.date : _.time;
3378
3357
  return {
3379
- val: { type: O, value: n, location: d, style: f },
3358
+ val: { type: A, value: n, location: p, style: f },
3380
3359
  err: null
3381
3360
  };
3382
3361
  }
3383
3362
  }
3384
3363
  return {
3385
3364
  val: {
3386
- type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3365
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3387
3366
  value: n,
3388
- location: d,
3367
+ location: p,
3389
3368
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3390
3369
  },
3391
3370
  err: null
@@ -3396,9 +3375,9 @@ var qn = (
3396
3375
  case "select": {
3397
3376
  var T = this.clonePosition();
3398
3377
  if (this.bumpSpace(), !this.bumpIf(","))
3399
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(T, ge({}, T)));
3378
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(T, g({}, T)));
3400
3379
  this.bumpSpace();
3401
- var U = this.parseIdentifierIfPossible(), I = 0;
3380
+ var U = this.parseIdentifierIfPossible(), O = 0;
3402
3381
  if (a !== "select" && U.value === "offset") {
3403
3382
  if (!this.bumpIf(":"))
3404
3383
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -3406,31 +3385,31 @@ var qn = (
3406
3385
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3407
3386
  if (c.err)
3408
3387
  return c;
3409
- this.bumpSpace(), U = this.parseIdentifierIfPossible(), I = c.val;
3388
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = c.val;
3410
3389
  }
3411
3390
  var G = this.tryParsePluralOrSelectOptions(t, a, r, U);
3412
3391
  if (G.err)
3413
3392
  return G;
3414
- var y = this.tryParseArgumentClose(i);
3415
- if (y.err)
3416
- return y;
3417
- var g = b(i, this.clonePosition());
3393
+ var v = this.tryParseArgumentClose(i);
3394
+ if (v.err)
3395
+ return v;
3396
+ var y = b(i, this.clonePosition());
3418
3397
  return a === "select" ? {
3419
3398
  val: {
3420
- type: v.select,
3399
+ type: _.select,
3421
3400
  value: n,
3422
- options: St(G.val),
3423
- location: g
3401
+ options: xt(G.val),
3402
+ location: y
3424
3403
  },
3425
3404
  err: null
3426
3405
  } : {
3427
3406
  val: {
3428
- type: v.plural,
3407
+ type: _.plural,
3429
3408
  value: n,
3430
- options: St(G.val),
3431
- offset: I,
3409
+ options: xt(G.val),
3410
+ offset: O,
3432
3411
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3433
- location: g
3412
+ location: y
3434
3413
  },
3435
3414
  err: null
3436
3415
  };
@@ -3478,16 +3457,16 @@ var qn = (
3478
3457
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3479
3458
  var n = [];
3480
3459
  try {
3481
- n = Nn(t);
3460
+ n = On(t);
3482
3461
  } catch (i) {
3483
3462
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3484
3463
  }
3485
3464
  return {
3486
3465
  val: {
3487
- type: z.number,
3466
+ type: Z.number,
3488
3467
  tokens: n,
3489
3468
  location: r,
3490
- parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3469
+ parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3491
3470
  },
3492
3471
  err: null
3493
3472
  };
@@ -3506,20 +3485,20 @@ var qn = (
3506
3485
  if (h.has(u))
3507
3486
  return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3508
3487
  u === "other" && (s = !0), this.bumpSpace();
3509
- var p = this.clonePosition();
3488
+ var d = this.clonePosition();
3510
3489
  if (!this.bumpIf("{"))
3511
3490
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3512
- var y = this.parseMessage(t + 1, r, n);
3513
- if (y.err)
3514
- return y;
3515
- var d = this.tryParseArgumentClose(p);
3516
- if (d.err)
3517
- return d;
3491
+ var v = this.parseMessage(t + 1, r, n);
3492
+ if (v.err)
3493
+ return v;
3494
+ var p = this.tryParseArgumentClose(d);
3495
+ if (p.err)
3496
+ return p;
3518
3497
  a.push([
3519
3498
  u,
3520
3499
  {
3521
- value: y.val,
3522
- location: b(p, this.clonePosition())
3500
+ value: v.val,
3501
+ location: b(d, this.clonePosition())
3523
3502
  }
3524
3503
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3525
3504
  }
@@ -3535,7 +3514,7 @@ var qn = (
3535
3514
  break;
3536
3515
  }
3537
3516
  var h = b(i, this.clonePosition());
3538
- return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3517
+ return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3539
3518
  }, e.prototype.offset = function() {
3540
3519
  return this.position.offset;
3541
3520
  }, e.prototype.isEOF = function() {
@@ -3550,7 +3529,7 @@ var qn = (
3550
3529
  var t = this.position.offset;
3551
3530
  if (t >= this.message.length)
3552
3531
  throw Error("out of bound");
3553
- var r = nr(this.message, t);
3532
+ var r = rr(this.message, t);
3554
3533
  if (r === void 0)
3555
3534
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3556
3535
  return r;
@@ -3569,7 +3548,7 @@ var qn = (
3569
3548
  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);
3570
3549
  }
3571
3550
  }, e.prototype.bumpIf = function(t) {
3572
- if (wt(this.message, t, this.offset())) {
3551
+ if (Et(this.message, t, this.offset())) {
3573
3552
  for (var r = 0; r < t.length; r++)
3574
3553
  this.bump();
3575
3554
  return !0;
@@ -3591,7 +3570,7 @@ var qn = (
3591
3570
  break;
3592
3571
  }
3593
3572
  }, e.prototype.bumpSpace = function() {
3594
- for (; !this.isEOF() && or(this.char()); )
3573
+ for (; !this.isEOF() && ir(this.char()); )
3595
3574
  this.bump();
3596
3575
  }, e.prototype.peek = function() {
3597
3576
  if (this.isEOF())
@@ -3601,47 +3580,47 @@ var qn = (
3601
3580
  }, e;
3602
3581
  }()
3603
3582
  );
3604
- function Je(e) {
3583
+ function Xe(e) {
3605
3584
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3606
3585
  }
3607
- function Kn(e) {
3608
- return Je(e) || e === 47;
3586
+ function Yn(e) {
3587
+ return Xe(e) || e === 47;
3609
3588
  }
3610
- function ei(e) {
3589
+ function qn(e) {
3611
3590
  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;
3612
3591
  }
3613
- function or(e) {
3592
+ function ir(e) {
3614
3593
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3615
3594
  }
3616
- function ti(e) {
3595
+ function Kn(e) {
3617
3596
  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;
3618
3597
  }
3619
- function Ye(e) {
3598
+ function ze(e) {
3620
3599
  e.forEach(function(t) {
3621
- if (delete t.location, Qt(t) || Jt(t))
3600
+ if (delete t.location, Zt(t) || Qt(t))
3622
3601
  for (var r in t.options)
3623
- delete t.options[r].location, Ye(t.options[r].value);
3602
+ delete t.options[r].location, ze(t.options[r].value);
3624
3603
  else
3625
- Xt(t) && qt(t.style) || (zt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : Yt(t) && Ye(t.children);
3604
+ Vt(t) && Yt(t.style) || (Xt(t) || zt(t)) && je(t.style) ? delete t.style.location : Jt(t) && ze(t.children);
3626
3605
  });
3627
3606
  }
3628
- function ri(e, t) {
3629
- t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3630
- var r = new qn(e, t).parse();
3607
+ function ei(e, t) {
3608
+ t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3609
+ var r = new Jn(e, t).parse();
3631
3610
  if (r.err) {
3632
3611
  var n = SyntaxError(m[r.err.kind]);
3633
3612
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3634
3613
  }
3635
- return t != null && t.captureLocation || Ye(r.val), r.val;
3614
+ return t != null && t.captureLocation || ze(r.val), r.val;
3636
3615
  }
3637
- var Z;
3616
+ var Q;
3638
3617
  (function(e) {
3639
3618
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3640
- })(Z || (Z = {}));
3641
- var we = (
3619
+ })(Q || (Q = {}));
3620
+ var Ee = (
3642
3621
  /** @class */
3643
3622
  function(e) {
3644
- xe(t, e);
3623
+ L(t, e);
3645
3624
  function t(r, n, i) {
3646
3625
  var o = e.call(this, r) || this;
3647
3626
  return o.code = n, o.originalMessage = i, o;
@@ -3650,48 +3629,48 @@ var we = (
3650
3629
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3651
3630
  }, t;
3652
3631
  }(Error)
3653
- ), Ht = (
3632
+ ), St = (
3654
3633
  /** @class */
3655
3634
  function(e) {
3656
- xe(t, e);
3635
+ L(t, e);
3657
3636
  function t(r, n, i, o) {
3658
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3637
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3659
3638
  }
3660
3639
  return t;
3661
- }(we)
3662
- ), ni = (
3640
+ }(Ee)
3641
+ ), ti = (
3663
3642
  /** @class */
3664
3643
  function(e) {
3665
- xe(t, e);
3644
+ L(t, e);
3666
3645
  function t(r, n, i) {
3667
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3646
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3668
3647
  }
3669
3648
  return t;
3670
- }(we)
3671
- ), ii = (
3649
+ }(Ee)
3650
+ ), ri = (
3672
3651
  /** @class */
3673
3652
  function(e) {
3674
- xe(t, e);
3653
+ L(t, e);
3675
3654
  function t(r, n) {
3676
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3655
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3677
3656
  }
3678
3657
  return t;
3679
- }(we)
3658
+ }(Ee)
3680
3659
  ), S;
3681
3660
  (function(e) {
3682
3661
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3683
3662
  })(S || (S = {}));
3684
- function oi(e) {
3663
+ function ni(e) {
3685
3664
  return e.length < 2 ? e : e.reduce(function(t, r) {
3686
3665
  var n = t[t.length - 1];
3687
3666
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3688
3667
  }, []);
3689
3668
  }
3690
- function si(e) {
3669
+ function ii(e) {
3691
3670
  return typeof e == "function";
3692
3671
  }
3693
3672
  function me(e, t, r, n, i, o, s) {
3694
- if (e.length === 1 && vt(e[0]))
3673
+ if (e.length === 1 && gt(e[0]))
3695
3674
  return [
3696
3675
  {
3697
3676
  type: S.literal,
@@ -3700,14 +3679,14 @@ function me(e, t, r, n, i, o, s) {
3700
3679
  ];
3701
3680
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3702
3681
  var l = u[h];
3703
- if (vt(l)) {
3682
+ if (gt(l)) {
3704
3683
  a.push({
3705
3684
  type: S.literal,
3706
3685
  value: l.value
3707
3686
  });
3708
3687
  continue;
3709
3688
  }
3710
- if (Bn(l)) {
3689
+ if (Hn(l)) {
3711
3690
  typeof o == "number" && a.push({
3712
3691
  type: S.literal,
3713
3692
  value: r.getNumberFormat(t).format(o)
@@ -3716,89 +3695,89 @@ function me(e, t, r, n, i, o, s) {
3716
3695
  }
3717
3696
  var c = l.value;
3718
3697
  if (!(i && c in i))
3719
- throw new ii(c, s);
3698
+ throw new ri(c, s);
3720
3699
  var f = i[c];
3721
- if (Pn(l)) {
3700
+ if (Tn(l)) {
3722
3701
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3723
3702
  type: typeof f == "string" ? S.literal : S.object,
3724
3703
  value: f
3725
3704
  });
3726
3705
  continue;
3727
3706
  }
3728
- if (zt(l)) {
3729
- var p = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3707
+ if (Xt(l)) {
3708
+ var d = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3730
3709
  a.push({
3731
3710
  type: S.literal,
3732
- value: r.getDateTimeFormat(t, p).format(f)
3711
+ value: r.getDateTimeFormat(t, d).format(f)
3733
3712
  });
3734
3713
  continue;
3735
3714
  }
3736
- if (Zt(l)) {
3737
- var p = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3715
+ if (zt(l)) {
3716
+ var d = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3738
3717
  a.push({
3739
3718
  type: S.literal,
3740
- value: r.getDateTimeFormat(t, p).format(f)
3719
+ value: r.getDateTimeFormat(t, d).format(f)
3741
3720
  });
3742
3721
  continue;
3743
3722
  }
3744
- if (Xt(l)) {
3745
- var p = typeof l.style == "string" ? n.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3746
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3723
+ if (Vt(l)) {
3724
+ var d = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3725
+ d && d.scale && (f = f * (d.scale || 1)), a.push({
3747
3726
  type: S.literal,
3748
- value: r.getNumberFormat(t, p).format(f)
3727
+ value: r.getNumberFormat(t, d).format(f)
3749
3728
  });
3750
3729
  continue;
3751
3730
  }
3752
- if (Yt(l)) {
3753
- var y = l.children, d = l.value, w = i[d];
3754
- if (!si(w))
3755
- throw new ni(d, "function", s);
3756
- var R = me(y, t, r, n, i, o), O = w(R.map(function(I) {
3757
- return I.value;
3731
+ if (Jt(l)) {
3732
+ var v = l.children, p = l.value, w = i[p];
3733
+ if (!ii(w))
3734
+ throw new ti(p, "function", s);
3735
+ var $ = me(v, t, r, n, i, o), A = w($.map(function(O) {
3736
+ return O.value;
3758
3737
  }));
3759
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(I) {
3738
+ Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(O) {
3760
3739
  return {
3761
- type: typeof I == "string" ? S.literal : S.object,
3762
- value: I
3740
+ type: typeof O == "string" ? S.literal : S.object,
3741
+ value: O
3763
3742
  };
3764
3743
  }));
3765
3744
  }
3766
- if (Qt(l)) {
3745
+ if (Zt(l)) {
3767
3746
  var T = l.options[f] || l.options.other;
3768
3747
  if (!T)
3769
- throw new Ht(l.value, f, Object.keys(l.options), s);
3748
+ throw new St(l.value, f, Object.keys(l.options), s);
3770
3749
  a.push.apply(a, me(T.value, t, r, n, i));
3771
3750
  continue;
3772
3751
  }
3773
- if (Jt(l)) {
3752
+ if (Qt(l)) {
3774
3753
  var T = l.options["=".concat(f)];
3775
3754
  if (!T) {
3776
3755
  if (!Intl.PluralRules)
3777
- throw new we(`Intl.PluralRules is not available in this environment.
3756
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3778
3757
  Try polyfilling it using "@formatjs/intl-pluralrules"
3779
- `, Z.MISSING_INTL_API, s);
3758
+ `, Q.MISSING_INTL_API, s);
3780
3759
  var U = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3781
3760
  T = l.options[U] || l.options.other;
3782
3761
  }
3783
3762
  if (!T)
3784
- throw new Ht(l.value, f, Object.keys(l.options), s);
3763
+ throw new St(l.value, f, Object.keys(l.options), s);
3785
3764
  a.push.apply(a, me(T.value, t, r, n, i, f - (l.offset || 0)));
3786
3765
  continue;
3787
3766
  }
3788
3767
  }
3789
- return oi(a);
3768
+ return ni(a);
3790
3769
  }
3791
- function ai(e, t) {
3792
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3793
- return r[n] = A(A({}, e[n]), t[n] || {}), r;
3770
+ function oi(e, t) {
3771
+ return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3772
+ return r[n] = g(g({}, e[n]), t[n] || {}), r;
3794
3773
  }, {})) : e;
3795
3774
  }
3796
- function ui(e, t) {
3775
+ function si(e, t) {
3797
3776
  return t ? Object.keys(e).reduce(function(r, n) {
3798
- return r[n] = ai(e[n], t[n]), r;
3799
- }, A({}, e)) : e;
3777
+ return r[n] = oi(e[n], t[n]), r;
3778
+ }, g({}, e)) : e;
3800
3779
  }
3801
- function Le(e) {
3780
+ function Ie(e) {
3802
3781
  return {
3803
3782
  create: function() {
3804
3783
  return {
@@ -3812,39 +3791,39 @@ function Le(e) {
3812
3791
  }
3813
3792
  };
3814
3793
  }
3815
- function hi(e) {
3794
+ function ai(e) {
3816
3795
  return e === void 0 && (e = {
3817
3796
  number: {},
3818
3797
  dateTime: {},
3819
3798
  pluralRules: {}
3820
3799
  }), {
3821
- getNumberFormat: Oe(function() {
3800
+ getNumberFormat: Be(function() {
3822
3801
  for (var t, r = [], n = 0; n < arguments.length; n++)
3823
3802
  r[n] = arguments[n];
3824
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3803
+ return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3825
3804
  }, {
3826
- cache: Le(e.number),
3827
- strategy: Ie.variadic
3805
+ cache: Ie(e.number),
3806
+ strategy: Ae.variadic
3828
3807
  }),
3829
- getDateTimeFormat: Oe(function() {
3808
+ getDateTimeFormat: Be(function() {
3830
3809
  for (var t, r = [], n = 0; n < arguments.length; n++)
3831
3810
  r[n] = arguments[n];
3832
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3811
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3833
3812
  }, {
3834
- cache: Le(e.dateTime),
3835
- strategy: Ie.variadic
3813
+ cache: Ie(e.dateTime),
3814
+ strategy: Ae.variadic
3836
3815
  }),
3837
- getPluralRules: Oe(function() {
3816
+ getPluralRules: Be(function() {
3838
3817
  for (var t, r = [], n = 0; n < arguments.length; n++)
3839
3818
  r[n] = arguments[n];
3840
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3819
+ return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3841
3820
  }, {
3842
- cache: Le(e.pluralRules),
3843
- strategy: Ie.variadic
3821
+ cache: Ie(e.pluralRules),
3822
+ strategy: Ae.variadic
3844
3823
  })
3845
3824
  };
3846
3825
  }
3847
- var li = (
3826
+ var ui = (
3848
3827
  /** @class */
3849
3828
  function() {
3850
3829
  function e(t, r, n, i) {
@@ -3876,13 +3855,13 @@ var li = (
3876
3855
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3877
3856
  var s = i || {};
3878
3857
  s.formatters;
3879
- var a = vn(s, ["formatters"]);
3880
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3858
+ var a = Gr(s, ["formatters"]);
3859
+ this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3881
3860
  } else
3882
3861
  this.ast = t;
3883
3862
  if (!Array.isArray(this.ast))
3884
3863
  throw new TypeError("A message must be provided as a String or AST.");
3885
- this.formats = ui(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3864
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3886
3865
  }
3887
3866
  return Object.defineProperty(e, "defaultLocale", {
3888
3867
  get: function() {
@@ -3895,7 +3874,7 @@ var li = (
3895
3874
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3896
3875
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3897
3876
  }
3898
- }, e.__parse = ri, e.formats = {
3877
+ }, e.__parse = ei, e.formats = {
3899
3878
  number: {
3900
3879
  integer: {
3901
3880
  maximumFractionDigits: 0
@@ -3956,7 +3935,7 @@ var li = (
3956
3935
  }, e;
3957
3936
  }()
3958
3937
  );
3959
- function ci(e, t) {
3938
+ function hi(e, t) {
3960
3939
  if (t == null)
3961
3940
  return;
3962
3941
  if (t in e)
@@ -3977,92 +3956,92 @@ function ci(e, t) {
3977
3956
  n = void 0;
3978
3957
  return n;
3979
3958
  }
3980
- const $ = {}, fi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), sr = (e, t) => {
3959
+ const R = {}, li = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), or = (e, t) => {
3981
3960
  if (t == null)
3982
3961
  return;
3983
- if (t in $ && e in $[t])
3984
- return $[t][e];
3985
- const r = Se(t);
3962
+ if (t in R && e in R[t])
3963
+ return R[t][e];
3964
+ const r = xe(t);
3986
3965
  for (let n = 0; n < r.length; n++) {
3987
- const i = r[n], o = di(i, e);
3966
+ const i = r[n], o = fi(i, e);
3988
3967
  if (o)
3989
- return fi(e, t, o);
3968
+ return li(e, t, o);
3990
3969
  }
3991
3970
  };
3992
- let rt;
3993
- const he = Ee({});
3994
- function pi(e) {
3995
- return rt[e] || null;
3971
+ let et;
3972
+ const he = _e({});
3973
+ function ci(e) {
3974
+ return et[e] || null;
3996
3975
  }
3997
- function ar(e) {
3998
- return e in rt;
3976
+ function sr(e) {
3977
+ return e in et;
3999
3978
  }
4000
- function di(e, t) {
4001
- if (!ar(e))
3979
+ function fi(e, t) {
3980
+ if (!sr(e))
4002
3981
  return null;
4003
- const r = pi(e);
4004
- return ci(r, t);
3982
+ const r = ci(e);
3983
+ return hi(r, t);
4005
3984
  }
4006
- function mi(e) {
3985
+ function di(e) {
4007
3986
  if (e == null)
4008
3987
  return;
4009
- const t = Se(e);
3988
+ const t = xe(e);
4010
3989
  for (let r = 0; r < t.length; r++) {
4011
3990
  const n = t[r];
4012
- if (ar(n))
3991
+ if (sr(n))
4013
3992
  return n;
4014
3993
  }
4015
3994
  }
4016
- function ur(e, ...t) {
4017
- delete $[e], he.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3995
+ function ar(e, ...t) {
3996
+ delete R[e], he.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
4018
3997
  }
4019
- Y(
3998
+ q(
4020
3999
  [he],
4021
4000
  ([e]) => Object.keys(e)
4022
4001
  );
4023
- he.subscribe((e) => rt = e);
4002
+ he.subscribe((e) => et = e);
4024
4003
  const be = {};
4025
- function bi(e, t) {
4004
+ function pi(e, t) {
4026
4005
  be[e].delete(t), be[e].size === 0 && delete be[e];
4027
4006
  }
4028
- function hr(e) {
4007
+ function ur(e) {
4029
4008
  return be[e];
4030
4009
  }
4031
- function gi(e) {
4032
- return Se(e).map((t) => {
4033
- const r = hr(t);
4010
+ function mi(e) {
4011
+ return xe(e).map((t) => {
4012
+ const r = ur(t);
4034
4013
  return [t, r ? [...r] : []];
4035
4014
  }).filter(([, t]) => t.length > 0);
4036
4015
  }
4037
- function qe(e) {
4038
- return e == null ? !1 : Se(e).some(
4016
+ function Ze(e) {
4017
+ return e == null ? !1 : xe(e).some(
4039
4018
  (t) => {
4040
4019
  var r;
4041
- return (r = hr(t)) == null ? void 0 : r.size;
4020
+ return (r = ur(t)) == null ? void 0 : r.size;
4042
4021
  }
4043
4022
  );
4044
4023
  }
4045
- function yi(e, t) {
4024
+ function bi(e, t) {
4046
4025
  return Promise.all(
4047
- t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4048
- ).then((n) => ur(e, ...n));
4049
- }
4050
- const ee = {};
4051
- function lr(e) {
4052
- if (!qe(e))
4053
- return e in ee ? ee[e] : Promise.resolve();
4054
- const t = gi(e);
4055
- return ee[e] = Promise.all(
4026
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4027
+ ).then((n) => ar(e, ...n));
4028
+ }
4029
+ const te = {};
4030
+ function hr(e) {
4031
+ if (!Ze(e))
4032
+ return e in te ? te[e] : Promise.resolve();
4033
+ const t = mi(e);
4034
+ return te[e] = Promise.all(
4056
4035
  t.map(
4057
- ([r, n]) => yi(r, n)
4036
+ ([r, n]) => bi(r, n)
4058
4037
  )
4059
4038
  ).then(() => {
4060
- if (qe(e))
4061
- return lr(e);
4062
- delete ee[e];
4063
- }), ee[e];
4039
+ if (Ze(e))
4040
+ return hr(e);
4041
+ delete te[e];
4042
+ }), te[e];
4064
4043
  }
4065
- const vi = {
4044
+ const gi = {
4066
4045
  number: {
4067
4046
  scientific: { notation: "scientific" },
4068
4047
  engineering: { notation: "engineering" },
@@ -4091,135 +4070,135 @@ const vi = {
4091
4070
  timeZoneName: "short"
4092
4071
  }
4093
4072
  }
4094
- }, _i = {
4073
+ }, yi = {
4095
4074
  fallbackLocale: null,
4096
4075
  loadingDelay: 200,
4097
- formats: vi,
4076
+ formats: gi,
4098
4077
  warnOnMissingMessages: !0,
4099
4078
  handleMissingMessage: void 0,
4100
4079
  ignoreTag: !0
4101
- }, Ei = _i;
4102
- function Q() {
4103
- return Ei;
4080
+ }, vi = yi;
4081
+ function J() {
4082
+ return vi;
4104
4083
  }
4105
- const Ce = Ee(!1);
4106
- var xi = Object.defineProperty, wi = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
4084
+ const Ne = _e(!1);
4085
+ var _i = Object.defineProperty, Ei = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4107
4086
  for (var r in t || (t = {}))
4108
- Ti.call(t, r) && Bt(e, r, t[r]);
4109
- if (Pt)
4110
- for (var r of Pt(t))
4111
- Hi.call(t, r) && Bt(e, r, t[r]);
4087
+ wi.call(t, r) && Ht(e, r, t[r]);
4088
+ if (Tt)
4089
+ for (var r of Tt(t))
4090
+ Si.call(t, r) && Ht(e, r, t[r]);
4112
4091
  return e;
4113
- }, Bi = (e, t) => wi(e, Si(t));
4114
- let Ke;
4115
- const ye = Ee(null);
4116
- function At(e) {
4092
+ }, Hi = (e, t) => Ei(e, xi(t));
4093
+ let Qe;
4094
+ const ge = _e(null);
4095
+ function Pt(e) {
4117
4096
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4118
4097
  }
4119
- function Se(e, t = Q().fallbackLocale) {
4120
- const r = At(e);
4121
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4098
+ function xe(e, t = J().fallbackLocale) {
4099
+ const r = Pt(e);
4100
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4122
4101
  }
4123
4102
  function D() {
4124
- return Ke != null ? Ke : void 0;
4103
+ return Qe != null ? Qe : void 0;
4125
4104
  }
4126
- ye.subscribe((e) => {
4127
- Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4105
+ ge.subscribe((e) => {
4106
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4128
4107
  });
4129
- const Ai = (e) => {
4130
- if (e && mi(e) && qe(e)) {
4131
- const { loadingDelay: t } = Q();
4108
+ const Pi = (e) => {
4109
+ if (e && di(e) && Ze(e)) {
4110
+ const { loadingDelay: t } = J();
4132
4111
  let r;
4133
4112
  return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4134
- () => Ce.set(!0),
4113
+ () => Ne.set(!0),
4135
4114
  t
4136
- ) : Ce.set(!0), lr(e).then(() => {
4137
- ye.set(e);
4115
+ ) : Ne.set(!0), hr(e).then(() => {
4116
+ ge.set(e);
4138
4117
  }).finally(() => {
4139
- clearTimeout(r), Ce.set(!1);
4118
+ clearTimeout(r), Ne.set(!1);
4140
4119
  });
4141
4120
  }
4142
- return ye.set(e);
4143
- }, q = Bi(Pi({}, ye), {
4144
- set: Ai
4145
- }), Te = (e) => {
4121
+ return ge.set(e);
4122
+ }, K = Hi(Ti({}, ge), {
4123
+ set: Pi
4124
+ }), we = (e) => {
4146
4125
  const t = /* @__PURE__ */ Object.create(null);
4147
4126
  return (n) => {
4148
4127
  const i = JSON.stringify(n);
4149
4128
  return i in t ? t[i] : t[i] = e(n);
4150
4129
  };
4151
4130
  };
4152
- var Oi = Object.defineProperty, ve = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4131
+ var Bi = Object.defineProperty, ye = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4153
4132
  for (var r in t || (t = {}))
4154
- cr.call(t, r) && Ot(e, r, t[r]);
4155
- if (ve)
4156
- for (var r of ve(t))
4157
- fr.call(t, r) && Ot(e, r, t[r]);
4133
+ lr.call(t, r) && Bt(e, r, t[r]);
4134
+ if (ye)
4135
+ for (var r of ye(t))
4136
+ cr.call(t, r) && Bt(e, r, t[r]);
4158
4137
  return e;
4159
- }, K = (e, t) => {
4138
+ }, ee = (e, t) => {
4160
4139
  var r = {};
4161
4140
  for (var n in e)
4162
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4163
- if (e != null && ve)
4164
- for (var n of ve(e))
4165
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4141
+ lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4142
+ if (e != null && ye)
4143
+ for (var n of ye(e))
4144
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4166
4145
  return r;
4167
4146
  };
4168
- const oe = (e, t) => {
4169
- const { formats: r } = Q();
4147
+ const se = (e, t) => {
4148
+ const { formats: r } = J();
4170
4149
  if (e in r && t in r[e])
4171
4150
  return r[e][t];
4172
4151
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4173
- }, Ii = Te(
4152
+ }, Ai = we(
4174
4153
  (e) => {
4175
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4154
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4176
4155
  if (r == null)
4177
4156
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4178
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4157
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4179
4158
  }
4180
- ), Ni = Te(
4159
+ ), Oi = we(
4181
4160
  (e) => {
4182
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4161
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4183
4162
  if (r == null)
4184
4163
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4185
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4164
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4186
4165
  }
4187
- ), Li = Te(
4166
+ ), Ii = we(
4188
4167
  (e) => {
4189
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4168
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4190
4169
  if (r == null)
4191
4170
  throw new Error(
4192
4171
  '[svelte-i18n] A "locale" must be set to format time values'
4193
4172
  );
4194
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4173
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4195
4174
  }
4196
- ), Ci = (e = {}) => {
4175
+ ), Ni = (e = {}) => {
4197
4176
  var t = e, {
4198
4177
  locale: r = D()
4199
- } = t, n = K(t, [
4178
+ } = t, n = ee(t, [
4200
4179
  "locale"
4201
4180
  ]);
4202
- return Ii(nt({ locale: r }, n));
4203
- }, Mi = (e = {}) => {
4181
+ return Ai(tt({ locale: r }, n));
4182
+ }, Li = (e = {}) => {
4204
4183
  var t = e, {
4205
4184
  locale: r = D()
4206
- } = t, n = K(t, [
4185
+ } = t, n = ee(t, [
4207
4186
  "locale"
4208
4187
  ]);
4209
- return Ni(nt({ locale: r }, n));
4210
- }, $i = (e = {}) => {
4188
+ return Oi(tt({ locale: r }, n));
4189
+ }, Ci = (e = {}) => {
4211
4190
  var t = e, {
4212
4191
  locale: r = D()
4213
- } = t, n = K(t, [
4192
+ } = t, n = ee(t, [
4214
4193
  "locale"
4215
4194
  ]);
4216
- return Li(nt({ locale: r }, n));
4217
- }, Ri = Te(
4195
+ return Ii(tt({ locale: r }, n));
4196
+ }, Mi = we(
4218
4197
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4219
- (e, t = D()) => new li(e, t, Q().formats, {
4220
- ignoreTag: Q().ignoreTag
4198
+ (e, t = D()) => new ui(e, t, J().formats, {
4199
+ ignoreTag: J().ignoreTag
4221
4200
  })
4222
- ), Ui = (e, t = {}) => {
4201
+ ), Ri = (e, t = {}) => {
4223
4202
  var r, n, i, o;
4224
4203
  let s = t;
4225
4204
  typeof e == "object" && (s = e, e = s.id);
@@ -4232,9 +4211,9 @@ const oe = (e, t) => {
4232
4211
  throw new Error(
4233
4212
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4234
4213
  );
4235
- let l = sr(e, h);
4214
+ let l = or(e, h);
4236
4215
  if (!l)
4237
- 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;
4216
+ 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;
4238
4217
  else if (typeof l != "string")
4239
4218
  return console.warn(
4240
4219
  `[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.`
@@ -4243,7 +4222,7 @@ const oe = (e, t) => {
4243
4222
  return l;
4244
4223
  let c = l;
4245
4224
  try {
4246
- c = Ri(l, h).format(a);
4225
+ c = Mi(l, h).format(a);
4247
4226
  } catch (f) {
4248
4227
  f instanceof Error && console.warn(
4249
4228
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4251,20 +4230,20 @@ const oe = (e, t) => {
4251
4230
  );
4252
4231
  }
4253
4232
  return c;
4254
- }, Di = (e, t) => $i(t).format(e), Gi = (e, t) => Mi(t).format(e), Fi = (e, t) => Ci(t).format(e), ji = (e, t = D()) => sr(e, t), ki = Y([q, he], () => Ui);
4255
- Y([q], () => Di);
4256
- Y([q], () => Gi);
4257
- Y([q], () => Fi);
4258
- Y([q, he], () => ji);
4233
+ }, $i = (e, t) => Ci(t).format(e), Ui = (e, t) => Li(t).format(e), Di = (e, t) => Ni(t).format(e), Gi = (e, t = D()) => or(e, t), Fi = q([K, he], () => Ri);
4234
+ q([K], () => $i);
4235
+ q([K], () => Ui);
4236
+ q([K], () => Di);
4237
+ q([K, he], () => Gi);
4259
4238
  window.emWidgets = { topic: en };
4260
- const Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4261
- function It(e, t) {
4262
- ur(e, t);
4239
+ const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4240
+ function At(e, t) {
4241
+ ar(e, t);
4263
4242
  }
4264
- function Vi(e) {
4265
- q.set(e);
4243
+ function ki(e) {
4244
+ K.set(e);
4266
4245
  }
4267
- const Nt = {
4246
+ const Ot = {
4268
4247
  en: {
4269
4248
  titlePendingWithdrawals: "Pending Withdrawal",
4270
4249
  loading: "Loading, please wait ..."
@@ -4302,13 +4281,13 @@ const Nt = {
4302
4281
  loading: "Loading, please wait ..."
4303
4282
  }
4304
4283
  };
4305
- function Xi(e, t) {
4284
+ function Wi(e, t) {
4306
4285
  if (e) {
4307
4286
  const r = document.createElement("style");
4308
4287
  r.innerHTML = t, e.appendChild(r);
4309
4288
  }
4310
4289
  }
4311
- function zi(e, t) {
4290
+ function Vi(e, t) {
4312
4291
  const r = new URL(t);
4313
4292
  fetch(r.href).then((n) => n.text()).then((n) => {
4314
4293
  const i = document.createElement("style");
@@ -4317,7 +4296,7 @@ function zi(e, t) {
4317
4296
  console.error("There was an error while trying to load client styling from URL", n);
4318
4297
  });
4319
4298
  }
4320
- function Zi(e, t, r) {
4299
+ function Xi(e, t, r) {
4321
4300
  if (window.emMessageBus) {
4322
4301
  const n = document.createElement("style");
4323
4302
  window.emMessageBus.subscribe(t, (i) => {
@@ -4325,142 +4304,142 @@ function Zi(e, t, r) {
4325
4304
  });
4326
4305
  }
4327
4306
  }
4328
- function Qi(e) {
4329
- _r(e, "svelte-1gwync8", ".PendingWithdrawalsWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.PendingWithdrawalsWrapper.PendingWithdrawalsWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PendingWithdrawalsTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PendingWithdrawalsTitleMobile{font-size:var(--emw--size-standard, 16px)}.PendingWithdrawalsTitleNone{display:none}.PendingWithdrawalsIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
4307
+ function zi(e) {
4308
+ vr(e, "svelte-1gwync8", ".PendingWithdrawalsWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.PendingWithdrawalsWrapper.PendingWithdrawalsWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PendingWithdrawalsTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PendingWithdrawalsTitleMobile{font-size:var(--emw--size-standard, 16px)}.PendingWithdrawalsTitleNone{display:none}.PendingWithdrawalsIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
4330
4309
  }
4331
- function Ji(e) {
4310
+ function Zi(e) {
4332
4311
  let t, r, n, i, o, s, a, h, u, l, c = (
4333
4312
  /*$_*/
4334
4313
  e[3]("titlePendingWithdrawals") + ""
4335
- ), f, p, y;
4314
+ ), f, d, v;
4336
4315
  return {
4337
4316
  c() {
4338
- 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 = Me(), 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", "PendingWithdrawalsTitleMobile"), E(t, "class", "MenuReturnButton");
4317
+ 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 = Le(), 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", "PendingWithdrawalsTitleMobile"), E(t, "class", "MenuReturnButton");
4339
4318
  },
4340
- m(d, w) {
4341
- ae(d, 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 || (y = wr(
4319
+ m(p, w) {
4320
+ ue(p, 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), d || (v = xr(
4342
4321
  t,
4343
4322
  "click",
4344
4323
  /*click_handler*/
4345
4324
  e[14]
4346
- ), p = !0);
4325
+ ), d = !0);
4347
4326
  },
4348
- p(d, w) {
4327
+ p(p, w) {
4349
4328
  w & /*$_*/
4350
4329
  8 && c !== (c = /*$_*/
4351
- d[3]("titlePendingWithdrawals") + "") && tt(f, c);
4330
+ p[3]("titlePendingWithdrawals") + "") && Ye(f, c);
4352
4331
  },
4353
- d(d) {
4354
- d && J(t), p = !1, y();
4332
+ d(p) {
4333
+ p && Y(t), d = !1, v();
4355
4334
  }
4356
4335
  };
4357
4336
  }
4358
- function Yi(e) {
4337
+ function Qi(e) {
4359
4338
  let t, r, n;
4360
4339
  return {
4361
4340
  c() {
4362
- t = L("div"), r = L("iframe"), ht(r.src, n = /*iframeUrl*/
4341
+ t = N("div"), r = N("iframe"), at(r.src, n = /*iframeUrl*/
4363
4342
  e[2]) || E(r, "src", n), E(r, "title", "Pending Withdrawals Iframe"), E(t, "class", "PendingWithdrawalsIframeWrapper");
4364
4343
  },
4365
4344
  m(i, o) {
4366
- ae(i, t, o), x(t, r);
4345
+ ue(i, t, o), x(t, r);
4367
4346
  },
4368
4347
  p(i, o) {
4369
4348
  o & /*iframeUrl*/
4370
- 4 && !ht(r.src, n = /*iframeUrl*/
4349
+ 4 && !at(r.src, n = /*iframeUrl*/
4371
4350
  i[2]) && E(r, "src", n);
4372
4351
  },
4373
4352
  d(i) {
4374
- i && J(t);
4353
+ i && Y(t);
4375
4354
  }
4376
4355
  };
4377
4356
  }
4378
- function qi(e) {
4357
+ function Ji(e) {
4379
4358
  let t, r = (
4380
4359
  /*$_*/
4381
4360
  e[3]("loading") + ""
4382
4361
  ), n;
4383
4362
  return {
4384
4363
  c() {
4385
- t = L("p"), n = re(r);
4364
+ t = N("p"), n = ne(r);
4386
4365
  },
4387
4366
  m(i, o) {
4388
- ae(i, t, o), x(t, n);
4367
+ ue(i, t, o), x(t, n);
4389
4368
  },
4390
4369
  p(i, o) {
4391
4370
  o & /*$_*/
4392
4371
  8 && r !== (r = /*$_*/
4393
- i[3]("loading") + "") && tt(n, r);
4372
+ i[3]("loading") + "") && Ye(n, r);
4394
4373
  },
4395
4374
  d(i) {
4396
- i && J(t);
4375
+ i && Y(t);
4397
4376
  }
4398
4377
  };
4399
4378
  }
4400
- function Ki(e) {
4379
+ function Yi(e) {
4401
4380
  let t, r, n, i = (
4402
4381
  /*$_*/
4403
4382
  e[3]("titlePendingWithdrawals") + ""
4404
4383
  ), o, s, a = (
4405
4384
  /*isMobile*/
4406
- e[4] && Ji(e)
4385
+ e[4] && Zi(e)
4407
4386
  );
4408
4387
  function h(c, f) {
4409
4388
  return (
4410
4389
  /*isLoading*/
4411
- c[1] ? qi : Yi
4390
+ c[1] ? Ji : Qi
4412
4391
  );
4413
4392
  }
4414
4393
  let u = h(e), l = u(e);
4415
4394
  return {
4416
4395
  c() {
4417
- t = L("div"), a && a.c(), r = Me(), n = L("h2"), o = re(i), s = Me(), l.c(), E(n, "class", "PendingWithdrawalsTitle " + /*isMobile*/
4396
+ t = N("div"), a && a.c(), r = Le(), n = N("h2"), o = ne(i), s = Le(), l.c(), E(n, "class", "PendingWithdrawalsTitle " + /*isMobile*/
4418
4397
  (e[4] ? "PendingWithdrawalsTitleNone" : "")), E(t, "class", "PendingWithdrawalsWrapper " + /*isMobile*/
4419
4398
  (e[4] ? "PendingWithdrawalsWrapperMobile" : ""));
4420
4399
  },
4421
4400
  m(c, f) {
4422
- 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[15](t);
4401
+ 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[15](t);
4423
4402
  },
4424
4403
  p(c, [f]) {
4425
4404
  /*isMobile*/
4426
4405
  c[4] && a.p(c, f), f & /*$_*/
4427
4406
  8 && i !== (i = /*$_*/
4428
- c[3]("titlePendingWithdrawals") + "") && tt(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
4407
+ c[3]("titlePendingWithdrawals") + "") && 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)));
4429
4408
  },
4430
4409
  i: P,
4431
4410
  o: P,
4432
4411
  d(c) {
4433
- c && J(t), a && a.d(), l.d(), e[15](null);
4412
+ c && Y(t), a && a.d(), l.d(), e[15](null);
4434
4413
  }
4435
4414
  };
4436
4415
  }
4437
- function eo(e, t, r) {
4416
+ function qi(e, t, r) {
4438
4417
  let n;
4439
- vr(e, ki, (g) => r(3, n = g));
4440
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, { translationurl: c = "" } = t, f, p = window.navigator.userAgent, y = Wi(p) !== "PC", d = !0, w = "";
4441
- const R = () => {
4418
+ yr(e, Fi, (y) => r(3, n = y));
4419
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, { translationurl: c = "" } = t, f, d = window.navigator.userAgent, v = ji(d) !== "PC", p = !0, w = "";
4420
+ const $ = () => {
4442
4421
  fetch(c).then((C) => C.json()).then((C) => {
4443
4422
  Object.keys(C).forEach((M) => {
4444
- It(M, C[M]);
4423
+ At(M, C[M]);
4445
4424
  });
4446
4425
  }).catch((C) => {
4447
4426
  console.log(C);
4448
4427
  });
4449
4428
  };
4450
- Object.keys(Nt).forEach((g) => {
4451
- It(g, Nt[g]);
4429
+ Object.keys(Ot).forEach((y) => {
4430
+ At(y, Ot[y]);
4452
4431
  });
4453
- const O = () => {
4432
+ const A = () => {
4454
4433
  window.postMessage(
4455
4434
  {
4456
4435
  type: "PlayerAccountMenuActive",
4457
- isMobile: y
4436
+ isMobile: v
4458
4437
  },
4459
4438
  window.location.href
4460
4439
  );
4461
4440
  }, T = () => {
4462
- let g = new URL(`${i}/v1/player/${s}/hostedcashier/pendingwithdrawals`);
4463
- g.searchParams.append("language", a);
4441
+ let y = new URL(`${i}/v1/player/${s}/hostedcashier/pendingwithdrawals`);
4442
+ y.searchParams.append("language", a);
4464
4443
  let C = {
4465
4444
  method: "GET",
4466
4445
  headers: {
@@ -4468,42 +4447,42 @@ function eo(e, t, r) {
4468
4447
  accept: "application/json"
4469
4448
  }
4470
4449
  };
4471
- fetch(g.href, C).then((M) => M.json()).then(
4450
+ fetch(y.href, C).then((M) => M.json()).then(
4472
4451
  (M) => {
4473
- r(1, d = !1), r(2, w = M.CashierUrl);
4452
+ r(1, p = !1), r(2, w = M.CashierUrl);
4474
4453
  },
4475
4454
  (M) => {
4476
4455
  console.error(M);
4477
4456
  }
4478
4457
  );
4479
4458
  }, U = () => {
4480
- Vi(a);
4459
+ ki(a);
4481
4460
  };
4482
- Pr(() => () => {
4461
+ Hr(() => () => {
4483
4462
  });
4484
- const I = () => O();
4485
- function G(g) {
4486
- $e[g ? "unshift" : "push"](() => {
4487
- f = g, r(0, f);
4463
+ const O = () => A();
4464
+ function G(y) {
4465
+ Ce[y ? "unshift" : "push"](() => {
4466
+ f = y, r(0, f);
4488
4467
  });
4489
4468
  }
4490
- return e.$$set = (g) => {
4491
- "endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "playerid" in g && r(8, s = g.playerid), "lang" in g && r(9, a = g.lang), "clientstyling" in g && r(10, h = g.clientstyling), "clientstylingurl" in g && r(11, u = g.clientstylingurl), "mbsource" in g && r(12, l = g.mbsource), "translationurl" in g && r(13, c = g.translationurl);
4469
+ return e.$$set = (y) => {
4470
+ "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "playerid" in y && r(8, s = y.playerid), "lang" in y && r(9, a = y.lang), "clientstyling" in y && r(10, h = y.clientstyling), "clientstylingurl" in y && r(11, u = y.clientstylingurl), "mbsource" in y && r(12, l = y.mbsource), "translationurl" in y && r(13, c = y.translationurl);
4492
4471
  }, e.$$.update = () => {
4493
4472
  e.$$.dirty & /*lang*/
4494
4473
  512 && a && U(), e.$$.dirty & /*session, playerid, endpoint, lang*/
4495
4474
  960 && o && s && i && a && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4496
- 1025 && h && f && Xi(f, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4497
- 2049 && u && f && zi(f, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4498
- 4097 && l && f && Zi(f, `${l}.Style`), e.$$.dirty & /*translationurl*/
4499
- 8192 && c && R();
4475
+ 1025 && h && f && Wi(f, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4476
+ 2049 && u && f && Vi(f, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4477
+ 4097 && l && f && Xi(f, `${l}.Style`), e.$$.dirty & /*translationurl*/
4478
+ 8192 && c && $();
4500
4479
  }, [
4501
4480
  f,
4502
- d,
4481
+ p,
4503
4482
  w,
4504
4483
  n,
4505
- y,
4506
- O,
4484
+ v,
4485
+ A,
4507
4486
  i,
4508
4487
  o,
4509
4488
  s,
@@ -4512,18 +4491,18 @@ function eo(e, t, r) {
4512
4491
  u,
4513
4492
  l,
4514
4493
  c,
4515
- I,
4494
+ O,
4516
4495
  G
4517
4496
  ];
4518
4497
  }
4519
- class to extends Dr {
4498
+ class Ki extends Ur {
4520
4499
  constructor(t) {
4521
4500
  super(), Rr(
4522
4501
  this,
4523
4502
  t,
4524
- eo,
4525
- Ki,
4526
- Ct,
4503
+ qi,
4504
+ Yi,
4505
+ Nt,
4527
4506
  {
4528
4507
  endpoint: 6,
4529
4508
  session: 7,
@@ -4534,7 +4513,7 @@ class to extends Dr {
4534
4513
  mbsource: 12,
4535
4514
  translationurl: 13
4536
4515
  },
4537
- Qi
4516
+ zi
4538
4517
  );
4539
4518
  }
4540
4519
  get endpoint() {
@@ -4586,7 +4565,7 @@ class to extends Dr {
4586
4565
  this.$$set({ translationurl: t }), B();
4587
4566
  }
4588
4567
  }
4589
- Ur(to, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4568
+ $r(Ki, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4590
4569
  export {
4591
- to as default
4570
+ Ki as default
4592
4571
  };