@everymatrix/player-transaction-history 1.55.0 → 1.56.0

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 nt = Object.getOwnPropertySymbols;
4
- var br = Object.prototype.hasOwnProperty, yr = 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, it = (e, t) => {
1
+ var ur = Object.defineProperty, hr = Object.defineProperties;
2
+ var lr = Object.getOwnPropertyDescriptors;
3
+ var Ke = Object.getOwnPropertySymbols;
4
+ var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- br.call(t, r) && He(e, r, t[r]);
8
- if (nt)
9
- for (var r of nt(t))
10
- yr.call(t, r) && He(e, r, t[r]);
7
+ cr.call(t, r) && He(e, r, t[r]);
8
+ if (Ke)
9
+ for (var r of Ke(t))
10
+ fr.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => dr(e, mr(t));
13
- var B = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
14
- var st = (e, t, r) => new Promise((n, i) => {
12
+ }, tt = (e, t) => hr(e, lr(t));
13
+ var w = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var rt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -27,53 +27,53 @@ var st = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function P() {
30
+ function B() {
31
31
  }
32
- function Nt(e) {
32
+ function At(e) {
33
33
  return e();
34
34
  }
35
- function at() {
35
+ function nt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function se(e) {
39
- e.forEach(Nt);
38
+ function ae(e) {
39
+ e.forEach(At);
40
40
  }
41
- function Qe(e) {
41
+ function qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Lt(e, t) {
44
+ function Pt(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 ut(e, t) {
48
+ function it(e, t) {
49
49
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
50
50
  }
51
- function gr(e) {
51
+ function pr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ct(e, ...t) {
54
+ function Ot(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return P;
58
+ return B;
59
59
  }
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(Ct(t, r));
63
+ function mr(e, t, r) {
64
+ e.$$.on_destroy.push(Ot(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 dr(e, t, r) {
70
+ const n = br(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, yr(n, i);
74
74
  }
75
75
  }
76
- function Er(e) {
76
+ function br(e) {
77
77
  if (!e) return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
79
  return t && /** @type {ShadowRoot} */
@@ -82,20 +82,20 @@ function Er(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function xr(e, t) {
85
+ function yr(e, t) {
86
86
  return x(
87
87
  /** @type {Document} */
88
88
  e.head || e,
89
89
  t
90
90
  ), t.sheet;
91
91
  }
92
- function ae(e, t, r) {
92
+ function ue(e, t, r) {
93
93
  e.insertBefore(t, r || null);
94
94
  }
95
95
  function J(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function L(e) {
98
+ function N(e) {
99
99
  return document.createElement(e);
100
100
  }
101
101
  function F(e) {
@@ -104,23 +104,23 @@ function F(e) {
104
104
  function ne(e) {
105
105
  return document.createTextNode(e);
106
106
  }
107
- function Le() {
107
+ function Ne() {
108
108
  return ne(" ");
109
109
  }
110
- function Tr(e, t, r, n) {
110
+ function gr(e, t, r, n) {
111
111
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
112
112
  }
113
113
  function E(e, t, r) {
114
114
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
115
115
  }
116
- function Hr(e) {
116
+ function vr(e) {
117
117
  return Array.from(e.childNodes);
118
118
  }
119
- function Je(e, t) {
119
+ function Qe(e, t) {
120
120
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
121
121
  t);
122
122
  }
123
- function Sr(e) {
123
+ function _r(e) {
124
124
  const t = {};
125
125
  return e.childNodes.forEach(
126
126
  /** @param {Element} node */
@@ -129,86 +129,93 @@ function Sr(e) {
129
129
  }
130
130
  ), t;
131
131
  }
132
- let Ye;
132
+ let ie;
133
133
  function re(e) {
134
- Ye = e;
134
+ ie = e;
135
+ }
136
+ function Er() {
137
+ if (!ie) throw new Error("Function called outside component initialization");
138
+ return ie;
135
139
  }
136
- const V = [], Ce = [];
140
+ function xr(e) {
141
+ Er().$$.on_mount.push(e);
142
+ }
143
+ const V = [], Le = [];
137
144
  let X = [];
138
- const ht = [], wr = /* @__PURE__ */ Promise.resolve();
139
- let Me = !1;
140
- function Br() {
141
- Me || (Me = !0, wr.then(I));
145
+ const ot = [], Tr = /* @__PURE__ */ Promise.resolve();
146
+ let Ce = !1;
147
+ function Hr() {
148
+ Ce || (Ce = !0, Tr.then(A));
142
149
  }
143
- function $e(e) {
150
+ function Me(e) {
144
151
  X.push(e);
145
152
  }
146
153
  const Se = /* @__PURE__ */ new Set();
147
154
  let j = 0;
148
- function I() {
155
+ function A() {
149
156
  if (j !== 0)
150
157
  return;
151
- const e = Ye;
158
+ const e = ie;
152
159
  do {
153
160
  try {
154
161
  for (; j < V.length; ) {
155
162
  const t = V[j];
156
- j++, re(t), Ar(t.$$);
163
+ j++, re(t), Sr(t.$$);
157
164
  }
158
165
  } catch (t) {
159
166
  throw V.length = 0, j = 0, t;
160
167
  }
161
- for (re(null), V.length = 0, j = 0; Ce.length; ) Ce.pop()();
168
+ for (re(null), V.length = 0, j = 0; Le.length; ) Le.pop()();
162
169
  for (let t = 0; t < X.length; t += 1) {
163
170
  const r = X[t];
164
171
  Se.has(r) || (Se.add(r), r());
165
172
  }
166
173
  X.length = 0;
167
174
  } while (V.length);
168
- for (; ht.length; )
169
- ht.pop()();
170
- Me = !1, Se.clear(), re(e);
175
+ for (; ot.length; )
176
+ ot.pop()();
177
+ Ce = !1, Se.clear(), re(e);
171
178
  }
172
- function Ar(e) {
179
+ function Sr(e) {
173
180
  if (e.fragment !== null) {
174
- e.update(), se(e.before_update);
181
+ e.update(), ae(e.before_update);
175
182
  const t = e.dirty;
176
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
183
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
177
184
  }
178
185
  }
179
- function Pr(e) {
186
+ function wr(e) {
180
187
  const t = [], r = [];
181
188
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
182
189
  }
183
- const Or = /* @__PURE__ */ new Set();
184
- function Ir(e, t) {
185
- e && e.i && (Or.delete(e), e.i(t));
190
+ const Br = /* @__PURE__ */ new Set();
191
+ function Ar(e, t) {
192
+ e && e.i && (Br.delete(e), e.i(t));
186
193
  }
187
- function Nr(e, t, r) {
194
+ function Pr(e, t, r) {
188
195
  const { fragment: n, after_update: i } = e.$$;
189
- n && n.m(t, r), $e(() => {
190
- const o = e.$$.on_mount.map(Nt).filter(Qe);
191
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
192
- }), i.forEach($e);
196
+ n && n.m(t, r), Me(() => {
197
+ const o = e.$$.on_mount.map(At).filter(qe);
198
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
199
+ }), i.forEach(Me);
193
200
  }
194
- function Lr(e, t) {
201
+ function Or(e, t) {
195
202
  const r = e.$$;
196
- r.fragment !== null && (Pr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
+ r.fragment !== null && (wr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
197
204
  }
198
- function Cr(e, t) {
199
- e.$$.dirty[0] === -1 && (V.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
205
+ function Ir(e, t) {
206
+ e.$$.dirty[0] === -1 && (V.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
200
207
  }
201
- function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
202
- const h = Ye;
208
+ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
209
+ const h = ie;
203
210
  re(e);
204
211
  const u = e.$$ = {
205
212
  fragment: null,
206
213
  ctx: [],
207
214
  // state
208
215
  props: o,
209
- update: P,
216
+ update: B,
210
217
  not_equal: i,
211
- bound: at(),
218
+ bound: nt(),
212
219
  // lifecycle
213
220
  on_mount: [],
214
221
  on_destroy: [],
@@ -217,7 +224,7 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
217
224
  after_update: [],
218
225
  context: new Map(t.context || (h ? h.$$.context : [])),
219
226
  // everything else
220
- callbacks: at(),
227
+ callbacks: nt(),
221
228
  dirty: a,
222
229
  skip_bound: !1,
223
230
  root: t.target || h.$$.root
@@ -226,39 +233,39 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
226
233
  let l = !1;
227
234
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
228
235
  const v = p.length ? p[0] : f;
229
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Cr(e, c)), f;
230
- }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
236
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Ir(e, c)), f;
237
+ }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
231
238
  if (t.hydrate) {
232
- const c = Hr(t.target);
239
+ const c = vr(t.target);
233
240
  u.fragment && u.fragment.l(c), c.forEach(J);
234
241
  } else
235
242
  u.fragment && u.fragment.c();
236
- t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), I();
243
+ t.intro && Ar(e.$$.fragment), Pr(e, t.target, t.anchor), A();
237
244
  }
238
245
  re(h);
239
246
  }
240
- let Mt;
241
- typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
247
+ let It;
248
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
242
249
  constructor(t, r, n) {
243
250
  super();
244
251
  /** The Svelte component constructor */
245
- B(this, "$$ctor");
252
+ w(this, "$$ctor");
246
253
  /** Slots */
247
- B(this, "$$s");
254
+ w(this, "$$s");
248
255
  /** The Svelte component instance */
249
- B(this, "$$c");
256
+ w(this, "$$c");
250
257
  /** Whether or not the custom element is connected */
251
- B(this, "$$cn", !1);
258
+ w(this, "$$cn", !1);
252
259
  /** Component props data */
253
- B(this, "$$d", {});
260
+ w(this, "$$d", {});
254
261
  /** `true` if currently in the process of reflecting component props back to attributes */
255
- B(this, "$$r", !1);
262
+ w(this, "$$r", !1);
256
263
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
257
- B(this, "$$p_d", {});
264
+ w(this, "$$p_d", {});
258
265
  /** @type {Record<string, Function[]>} Event listeners */
259
- B(this, "$$l", {});
266
+ w(this, "$$l", {});
260
267
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
261
- B(this, "$$l_u", /* @__PURE__ */ new Map());
268
+ w(this, "$$l_u", /* @__PURE__ */ new Map());
262
269
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
263
270
  }
264
271
  addEventListener(t, r, n) {
@@ -275,21 +282,21 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
275
282
  }
276
283
  }
277
284
  connectedCallback() {
278
- return st(this, null, function* () {
285
+ return rt(this, null, function* () {
279
286
  if (this.$$cn = !0, !this.$$c) {
280
287
  let t = function(o) {
281
288
  return () => {
282
289
  let s;
283
290
  return {
284
291
  c: function() {
285
- s = L("slot"), o !== "default" && E(s, "name", o);
292
+ s = N("slot"), o !== "default" && E(s, "name", o);
286
293
  },
287
294
  /**
288
295
  * @param {HTMLElement} target
289
296
  * @param {HTMLElement} [anchor]
290
297
  */
291
298
  m: function(u, l) {
292
- ae(u, s, l);
299
+ ue(u, s, l);
293
300
  },
294
301
  d: function(u) {
295
302
  u && J(s);
@@ -299,7 +306,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
299
306
  };
300
307
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
301
308
  return;
302
- const r = {}, n = Sr(this);
309
+ const r = {}, n = _r(this);
303
310
  for (const o of this.$$s)
304
311
  o in n && (r[o] = [t(o)]);
305
312
  for (const o of this.attributes) {
@@ -310,7 +317,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
310
317
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
311
318
  this.$$c = new this.$$ctor({
312
319
  target: this.shadowRoot || this,
313
- props: ot(it({}, this.$$d), {
320
+ props: tt(et({}, this.$$d), {
314
321
  $$slots: r,
315
322
  $$scope: {
316
323
  ctx: []
@@ -388,8 +395,8 @@ function pe(e, t, r, n) {
388
395
  return t;
389
396
  }
390
397
  }
391
- function $r(e, t, r, n, i, o) {
392
- let s = class extends Mt {
398
+ function Lr(e, t, r, n, i, o) {
399
+ let s = class extends It {
393
400
  constructor() {
394
401
  super(e, r, i), this.$$p_d = t;
395
402
  }
@@ -419,7 +426,7 @@ function $r(e, t, r, n, i, o) {
419
426
  }), e.element = /** @type {any} */
420
427
  s, s;
421
428
  }
422
- class Rr {
429
+ class Cr {
423
430
  constructor() {
424
431
  /**
425
432
  * ### PRIVATE API
@@ -428,7 +435,7 @@ class Rr {
428
435
  *
429
436
  * @type {any}
430
437
  */
431
- B(this, "$$");
438
+ w(this, "$$");
432
439
  /**
433
440
  * ### PRIVATE API
434
441
  *
@@ -436,11 +443,11 @@ class Rr {
436
443
  *
437
444
  * @type {any}
438
445
  */
439
- B(this, "$$set");
446
+ w(this, "$$set");
440
447
  }
441
448
  /** @returns {void} */
442
449
  $destroy() {
443
- Lr(this, 1), this.$destroy = P;
450
+ Or(this, 1), this.$destroy = B;
444
451
  }
445
452
  /**
446
453
  * @template {Extract<keyof Events, string>} K
@@ -449,8 +456,8 @@ class Rr {
449
456
  * @returns {() => void}
450
457
  */
451
458
  $on(t, r) {
452
- if (!Qe(r))
453
- return P;
459
+ if (!qe(r))
460
+ return B;
454
461
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
455
462
  return n.push(r), () => {
456
463
  const i = n.indexOf(r);
@@ -462,22 +469,22 @@ class Rr {
462
469
  * @returns {void}
463
470
  */
464
471
  $set(t) {
465
- this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
+ this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
466
473
  }
467
474
  }
468
- const Ur = "4";
469
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
470
- var Re = function(e, t) {
471
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
475
+ const Mr = "4";
476
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
477
+ var $e = function(e, t) {
478
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
472
479
  r.__proto__ = n;
473
480
  } || function(r, n) {
474
481
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
475
- }, Re(e, t);
482
+ }, $e(e, t);
476
483
  };
477
- function C(e, t) {
484
+ function L(e, t) {
478
485
  if (typeof t != "function" && t !== null)
479
486
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
480
- Re(e, t);
487
+ $e(e, t);
481
488
  function r() {
482
489
  this.constructor = e;
483
490
  }
@@ -492,7 +499,7 @@ var y = function() {
492
499
  return t;
493
500
  }, y.apply(this, arguments);
494
501
  };
495
- function Dr(e, t) {
502
+ function $r(e, t) {
496
503
  var r = {};
497
504
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
498
505
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -500,7 +507,7 @@ function Dr(e, t) {
500
507
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
501
508
  return r;
502
509
  }
503
- function Ue(e) {
510
+ function Re(e) {
504
511
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
505
512
  if (r) return r.call(e);
506
513
  if (e && typeof e.length == "number") return {
@@ -510,7 +517,7 @@ function Ue(e) {
510
517
  };
511
518
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
512
519
  }
513
- function De(e, t) {
520
+ function Ue(e, t) {
514
521
  var r = typeof Symbol == "function" && e[Symbol.iterator];
515
522
  if (!r) return e;
516
523
  var n = r.call(e), i, o = [], s;
@@ -532,16 +539,16 @@ function W(e, t, r) {
532
539
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
533
540
  return e.concat(o || Array.prototype.slice.call(t));
534
541
  }
535
- function N(e) {
542
+ function I(e) {
536
543
  return typeof e == "function";
537
544
  }
538
- function $t(e) {
545
+ function Nt(e) {
539
546
  var t = function(n) {
540
547
  Error.call(n), n.stack = new Error().stack;
541
548
  }, r = e(t);
542
549
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
543
550
  }
544
- var we = $t(function(e) {
551
+ var we = Nt(function(e) {
545
552
  return function(r) {
546
553
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
547
554
  ` + r.map(function(n, i) {
@@ -550,7 +557,7 @@ var we = $t(function(e) {
550
557
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
551
558
  };
552
559
  });
553
- function Ge(e, t) {
560
+ function De(e, t) {
554
561
  if (e) {
555
562
  var r = e.indexOf(t);
556
563
  0 <= r && e.splice(r, 1);
@@ -568,12 +575,12 @@ var ve = function() {
568
575
  if (s)
569
576
  if (this._parentage = null, Array.isArray(s))
570
577
  try {
571
- for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
578
+ for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
572
579
  var u = h.value;
573
580
  u.remove(this);
574
581
  }
575
- } catch (d) {
576
- t = { error: d };
582
+ } catch (m) {
583
+ t = { error: m };
577
584
  } finally {
578
585
  try {
579
586
  h && !h.done && (r = a.return) && r.call(a);
@@ -584,26 +591,26 @@ var ve = function() {
584
591
  else
585
592
  s.remove(this);
586
593
  var l = this.initialTeardown;
587
- if (N(l))
594
+ if (I(l))
588
595
  try {
589
596
  l();
590
- } catch (d) {
591
- o = d instanceof we ? d.errors : [d];
597
+ } catch (m) {
598
+ o = m instanceof we ? m.errors : [m];
592
599
  }
593
600
  var c = this._finalizers;
594
601
  if (c) {
595
602
  this._finalizers = null;
596
603
  try {
597
- for (var f = Ue(c), p = f.next(); !p.done; p = f.next()) {
604
+ for (var f = Re(c), p = f.next(); !p.done; p = f.next()) {
598
605
  var v = p.value;
599
606
  try {
600
- lt(v);
601
- } catch (d) {
602
- o = o != null ? o : [], d instanceof we ? o = W(W([], De(o)), De(d.errors)) : o.push(d);
607
+ st(v);
608
+ } catch (m) {
609
+ o = o != null ? o : [], m instanceof we ? o = W(W([], Ue(o)), Ue(m.errors)) : o.push(m);
603
610
  }
604
611
  }
605
- } catch (d) {
606
- n = { error: d };
612
+ } catch (m) {
613
+ n = { error: m };
607
614
  } finally {
608
615
  try {
609
616
  p && !p.done && (i = f.return) && i.call(f);
@@ -619,7 +626,7 @@ var ve = function() {
619
626
  var r;
620
627
  if (t && t !== this)
621
628
  if (this.closed)
622
- lt(t);
629
+ st(t);
623
630
  else {
624
631
  if (t instanceof e) {
625
632
  if (t.closed || t._hasParent(this))
@@ -636,56 +643,52 @@ var ve = function() {
636
643
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
637
644
  }, e.prototype._removeParent = function(t) {
638
645
  var r = this._parentage;
639
- r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
646
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
640
647
  }, e.prototype.remove = function(t) {
641
648
  var r = this._finalizers;
642
- r && Ge(r, t), t instanceof e && t._removeParent(this);
649
+ r && De(r, t), t instanceof e && t._removeParent(this);
643
650
  }, e.EMPTY = function() {
644
651
  var t = new e();
645
652
  return t.closed = !0, t;
646
653
  }(), e;
647
- }(), Rt = ve.EMPTY;
648
- function Ut(e) {
649
- return e instanceof ve || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
650
- }
651
- function lt(e) {
652
- N(e) ? e() : e.unsubscribe();
653
- }
654
- var Dt = {
655
- onUnhandledError: null,
656
- onStoppedNotification: null,
657
- Promise: void 0,
658
- useDeprecatedSynchronousErrorHandling: !1,
659
- useDeprecatedNextContext: !1
660
- }, Gr = {
654
+ }(), Lt = ve.EMPTY;
655
+ function Ct(e) {
656
+ return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
657
+ }
658
+ function st(e) {
659
+ I(e) ? e() : e.unsubscribe();
660
+ }
661
+ var Rr = {
662
+ Promise: void 0
663
+ }, Ur = {
661
664
  setTimeout: function(e, t) {
662
665
  for (var r = [], n = 2; n < arguments.length; n++)
663
666
  r[n - 2] = arguments[n];
664
- return setTimeout.apply(void 0, W([e, t], De(r)));
667
+ return setTimeout.apply(void 0, W([e, t], Ue(r)));
665
668
  },
666
669
  clearTimeout: function(e) {
667
670
  return clearTimeout(e);
668
671
  },
669
672
  delegate: void 0
670
673
  };
671
- function Fr(e) {
672
- Gr.setTimeout(function() {
674
+ function Dr(e) {
675
+ Ur.setTimeout(function() {
673
676
  throw e;
674
677
  });
675
678
  }
676
- function ct() {
679
+ function at() {
677
680
  }
678
- function de(e) {
681
+ function me(e) {
679
682
  e();
680
683
  }
681
- var Gt = function(e) {
682
- C(t, e);
684
+ var Mt = function(e) {
685
+ L(t, e);
683
686
  function t(r) {
684
687
  var n = e.call(this) || this;
685
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Xr, n;
688
+ return n.isStopped = !1, r ? (n.destination = r, Ct(r) && r.add(n)) : n.destination = jr, n;
686
689
  }
687
690
  return t.create = function(r, n, i) {
688
- return new Fe(r, n, i);
691
+ return new Ge(r, n, i);
689
692
  }, t.prototype.next = function(r) {
690
693
  this.isStopped || this._next(r);
691
694
  }, t.prototype.error = function(r) {
@@ -709,11 +712,7 @@ var Gt = function(e) {
709
712
  this.unsubscribe();
710
713
  }
711
714
  }, t;
712
- }(ve), jr = Function.prototype.bind;
713
- function Be(e, t) {
714
- return jr.call(e, t);
715
- }
716
- var kr = function() {
715
+ }(ve), Gr = function() {
717
716
  function e(t) {
718
717
  this.partialObserver = t;
719
718
  }
@@ -744,55 +743,43 @@ var kr = function() {
744
743
  ce(r);
745
744
  }
746
745
  }, e;
747
- }(), Fe = function(e) {
748
- C(t, e);
746
+ }(), Ge = function(e) {
747
+ L(t, e);
749
748
  function t(r, n, i) {
750
749
  var o = e.call(this) || this, s;
751
- if (N(r) || !r)
752
- s = {
753
- next: r != null ? r : void 0,
754
- error: n != null ? n : void 0,
755
- complete: i != null ? i : void 0
756
- };
757
- else {
758
- var a;
759
- o && Dt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
760
- return o.unsubscribe();
761
- }, s = {
762
- next: r.next && Be(r.next, a),
763
- error: r.error && Be(r.error, a),
764
- complete: r.complete && Be(r.complete, a)
765
- }) : s = r;
766
- }
767
- return o.destination = new kr(s), o;
750
+ return I(r) || !r ? s = {
751
+ next: r != null ? r : void 0,
752
+ error: n != null ? n : void 0,
753
+ complete: i != null ? i : void 0
754
+ } : s = r, o.destination = new Gr(s), o;
768
755
  }
769
756
  return t;
770
- }(Gt);
757
+ }(Mt);
771
758
  function ce(e) {
772
- Fr(e);
759
+ Dr(e);
773
760
  }
774
- function Vr(e) {
761
+ function Fr(e) {
775
762
  throw e;
776
763
  }
777
- var Xr = {
764
+ var jr = {
778
765
  closed: !0,
779
- next: ct,
780
- error: Vr,
781
- complete: ct
782
- }, Wr = function() {
766
+ next: at,
767
+ error: Fr,
768
+ complete: at
769
+ }, kr = function() {
783
770
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
784
771
  }();
785
- function zr(e) {
772
+ function Vr(e) {
786
773
  return e;
787
774
  }
788
- function Zr(e) {
789
- return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
775
+ function Xr(e) {
776
+ return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
790
777
  return e.reduce(function(n, i) {
791
778
  return i(n);
792
779
  }, r);
793
780
  };
794
781
  }
795
- var ft = function() {
782
+ var ut = function() {
796
783
  function e(t) {
797
784
  t && (this._subscribe = t);
798
785
  }
@@ -800,8 +787,8 @@ var ft = function() {
800
787
  var r = new e();
801
788
  return r.source = this, r.operator = t, r;
802
789
  }, e.prototype.subscribe = function(t, r, n) {
803
- var i = this, o = Qr(t) ? t : new Fe(t, r, n);
804
- return de(function() {
790
+ var i = this, o = zr(t) ? t : new Ge(t, r, n);
791
+ return me(function() {
805
792
  var s = i, a = s.operator, h = s.source;
806
793
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
807
794
  }), o;
@@ -813,8 +800,8 @@ var ft = function() {
813
800
  }
814
801
  }, e.prototype.forEach = function(t, r) {
815
802
  var n = this;
816
- return r = pt(r), new r(function(i, o) {
817
- var s = new Fe({
803
+ return r = ht(r), new r(function(i, o) {
804
+ var s = new Ge({
818
805
  next: function(a) {
819
806
  try {
820
807
  t(a);
@@ -830,15 +817,15 @@ var ft = function() {
830
817
  }, e.prototype._subscribe = function(t) {
831
818
  var r;
832
819
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
833
- }, e.prototype[Wr] = function() {
820
+ }, e.prototype[kr] = function() {
834
821
  return this;
835
822
  }, e.prototype.pipe = function() {
836
823
  for (var t = [], r = 0; r < arguments.length; r++)
837
824
  t[r] = arguments[r];
838
- return Zr(t)(this);
825
+ return Xr(t)(this);
839
826
  }, e.prototype.toPromise = function(t) {
840
827
  var r = this;
841
- return t = pt(t), new t(function(n, i) {
828
+ return t = ht(t), new t(function(n, i) {
842
829
  var o;
843
830
  r.subscribe(function(s) {
844
831
  return o = s;
@@ -852,40 +839,40 @@ var ft = function() {
852
839
  return new e(t);
853
840
  }, e;
854
841
  }();
855
- function pt(e) {
842
+ function ht(e) {
856
843
  var t;
857
- return (t = e != null ? e : Dt.Promise) !== null && t !== void 0 ? t : Promise;
844
+ return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
858
845
  }
859
- function qr(e) {
860
- return e && N(e.next) && N(e.error) && N(e.complete);
846
+ function Wr(e) {
847
+ return e && I(e.next) && I(e.error) && I(e.complete);
861
848
  }
862
- function Qr(e) {
863
- return e && e instanceof Gt || qr(e) && Ut(e);
849
+ function zr(e) {
850
+ return e && e instanceof Mt || Wr(e) && Ct(e);
864
851
  }
865
- var Jr = $t(function(e) {
852
+ var Zr = Nt(function(e) {
866
853
  return function() {
867
854
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
868
855
  };
869
- }), Ft = function(e) {
870
- C(t, e);
856
+ }), $t = function(e) {
857
+ L(t, e);
871
858
  function t() {
872
859
  var r = e.call(this) || this;
873
860
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
874
861
  }
875
862
  return t.prototype.lift = function(r) {
876
- var n = new dt(this, this);
863
+ var n = new lt(this, this);
877
864
  return n.operator = r, n;
878
865
  }, t.prototype._throwIfClosed = function() {
879
866
  if (this.closed)
880
- throw new Jr();
867
+ throw new Zr();
881
868
  }, t.prototype.next = function(r) {
882
869
  var n = this;
883
- de(function() {
870
+ me(function() {
884
871
  var i, o;
885
872
  if (n._throwIfClosed(), !n.isStopped) {
886
873
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
887
874
  try {
888
- for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
875
+ for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
889
876
  var h = a.value;
890
877
  h.next(r);
891
878
  }
@@ -902,7 +889,7 @@ var Jr = $t(function(e) {
902
889
  });
903
890
  }, t.prototype.error = function(r) {
904
891
  var n = this;
905
- de(function() {
892
+ me(function() {
906
893
  if (n._throwIfClosed(), !n.isStopped) {
907
894
  n.hasError = n.isStopped = !0, n.thrownError = r;
908
895
  for (var i = n.observers; i.length; )
@@ -911,7 +898,7 @@ var Jr = $t(function(e) {
911
898
  });
912
899
  }, t.prototype.complete = function() {
913
900
  var r = this;
914
- de(function() {
901
+ me(function() {
915
902
  if (r._throwIfClosed(), !r.isStopped) {
916
903
  r.isStopped = !0;
917
904
  for (var n = r.observers; n.length; )
@@ -933,20 +920,20 @@ var Jr = $t(function(e) {
933
920
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
934
921
  }, t.prototype._innerSubscribe = function(r) {
935
922
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
936
- return o || s ? Rt : (this.currentObservers = null, a.push(r), new ve(function() {
937
- n.currentObservers = null, Ge(a, r);
923
+ return o || s ? Lt : (this.currentObservers = null, a.push(r), new ve(function() {
924
+ n.currentObservers = null, De(a, r);
938
925
  }));
939
926
  }, t.prototype._checkFinalizedStatuses = function(r) {
940
927
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
941
928
  i ? r.error(o) : s && r.complete();
942
929
  }, t.prototype.asObservable = function() {
943
- var r = new ft();
930
+ var r = new ut();
944
931
  return r.source = this, r;
945
932
  }, t.create = function(r, n) {
946
- return new dt(r, n);
933
+ return new lt(r, n);
947
934
  }, t;
948
- }(ft), dt = function(e) {
949
- C(t, e);
935
+ }(ut), lt = function(e) {
936
+ L(t, e);
950
937
  function t(r, n) {
951
938
  var i = e.call(this) || this;
952
939
  return i.destination = r, i.source = n, i;
@@ -962,17 +949,17 @@ var Jr = $t(function(e) {
962
949
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
963
950
  }, t.prototype._subscribe = function(r) {
964
951
  var n, i;
965
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
952
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
966
953
  }, t;
967
- }(Ft), jt = {
954
+ }($t), Rt = {
968
955
  now: function() {
969
- return (jt.delegate || Date).now();
956
+ return (Rt.delegate || Date).now();
970
957
  },
971
958
  delegate: void 0
972
- }, Yr = function(e) {
973
- C(t, e);
959
+ }, qr = function(e) {
960
+ L(t, e);
974
961
  function t(r, n, i) {
975
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
962
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
976
963
  var o = e.call(this) || this;
977
964
  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;
978
965
  }
@@ -992,24 +979,24 @@ var Jr = $t(function(e) {
992
979
  u && o.splice(0, u + 1);
993
980
  }
994
981
  }, t;
995
- }(Ft);
996
- const mt = [], bt = {}, Kr = (e, t = 0) => {
997
- if (mt.indexOf(e) == -1) {
998
- const r = new Yr(t);
999
- bt[e] = r, mt.push(e);
982
+ }($t);
983
+ const ct = [], ft = {}, Qr = (e, t = 0) => {
984
+ if (ct.indexOf(e) == -1) {
985
+ const r = new qr(t);
986
+ ft[e] = r, ct.push(e);
1000
987
  }
1001
- return bt[e];
988
+ return ft[e];
1002
989
  }, k = [];
1003
- function en(e, t) {
990
+ function Jr(e, t) {
1004
991
  return {
1005
992
  subscribe: _e(e, t).subscribe
1006
993
  };
1007
994
  }
1008
- function _e(e, t = P) {
995
+ function _e(e, t = B) {
1009
996
  let r;
1010
997
  const n = /* @__PURE__ */ new Set();
1011
998
  function i(a) {
1012
- if (Lt(e, a) && (e = a, r)) {
999
+ if (Pt(e, a) && (e = a, r)) {
1013
1000
  const h = !k.length;
1014
1001
  for (const u of n)
1015
1002
  u[1](), k.push(u, e);
@@ -1023,9 +1010,9 @@ function _e(e, t = P) {
1023
1010
  function o(a) {
1024
1011
  i(a(e));
1025
1012
  }
1026
- function s(a, h = P) {
1013
+ function s(a, h = B) {
1027
1014
  const u = [a, h];
1028
- return n.add(u), n.size === 1 && (r = t(i, o) || P), a(e), () => {
1015
+ return n.add(u), n.size === 1 && (r = t(i, o) || B), a(e), () => {
1029
1016
  n.delete(u), n.size === 0 && r && (r(), r = null);
1030
1017
  };
1031
1018
  }
@@ -1036,96 +1023,96 @@ function Y(e, t, r) {
1036
1023
  if (!i.every(Boolean))
1037
1024
  throw new Error("derived() expects stores as input, got a falsy value");
1038
1025
  const o = t.length < 2;
1039
- return en(r, (s, a) => {
1026
+ return Jr(r, (s, a) => {
1040
1027
  let h = !1;
1041
1028
  const u = [];
1042
- let l = 0, c = P;
1029
+ let l = 0, c = B;
1043
1030
  const f = () => {
1044
1031
  if (l)
1045
1032
  return;
1046
1033
  c();
1047
1034
  const v = t(n ? u[0] : u, s, a);
1048
- o ? s(v) : c = Qe(v) ? v : P;
1035
+ o ? s(v) : c = qe(v) ? v : B;
1049
1036
  }, p = i.map(
1050
- (v, d) => Ct(
1037
+ (v, m) => Ot(
1051
1038
  v,
1052
1039
  (T) => {
1053
- u[d] = T, l &= ~(1 << d), h && f();
1040
+ u[m] = T, l &= ~(1 << m), h && f();
1054
1041
  },
1055
1042
  () => {
1056
- l |= 1 << d;
1043
+ l |= 1 << m;
1057
1044
  }
1058
1045
  )
1059
1046
  );
1060
1047
  return h = !0, f(), function() {
1061
- se(p), c(), h = !1;
1048
+ ae(p), c(), h = !1;
1062
1049
  };
1063
1050
  });
1064
1051
  }
1065
- function tn(e) {
1052
+ function Yr(e) {
1066
1053
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1067
1054
  }
1068
- var rn = function(t) {
1069
- return nn(t) && !on(t);
1055
+ var Kr = function(t) {
1056
+ return en(t) && !tn(t);
1070
1057
  };
1071
- function nn(e) {
1058
+ function en(e) {
1072
1059
  return !!e && typeof e == "object";
1073
1060
  }
1074
- function on(e) {
1061
+ function tn(e) {
1075
1062
  var t = Object.prototype.toString.call(e);
1076
- return t === "[object RegExp]" || t === "[object Date]" || un(e);
1063
+ return t === "[object RegExp]" || t === "[object Date]" || on(e);
1077
1064
  }
1078
- var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1079
- function un(e) {
1080
- return e.$$typeof === an;
1065
+ var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
1066
+ function on(e) {
1067
+ return e.$$typeof === nn;
1081
1068
  }
1082
- function hn(e) {
1069
+ function sn(e) {
1083
1070
  return Array.isArray(e) ? [] : {};
1084
1071
  }
1085
- function ie(e, t) {
1086
- return t.clone !== !1 && t.isMergeableObject(e) ? z(hn(e), e, t) : e;
1072
+ function oe(e, t) {
1073
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(sn(e), e, t) : e;
1087
1074
  }
1088
- function ln(e, t, r) {
1075
+ function an(e, t, r) {
1089
1076
  return e.concat(t).map(function(n) {
1090
- return ie(n, r);
1077
+ return oe(n, r);
1091
1078
  });
1092
1079
  }
1093
- function cn(e, t) {
1080
+ function un(e, t) {
1094
1081
  if (!t.customMerge)
1095
1082
  return z;
1096
1083
  var r = t.customMerge(e);
1097
1084
  return typeof r == "function" ? r : z;
1098
1085
  }
1099
- function fn(e) {
1086
+ function hn(e) {
1100
1087
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1101
1088
  return Object.propertyIsEnumerable.call(e, t);
1102
1089
  }) : [];
1103
1090
  }
1104
- function yt(e) {
1105
- return Object.keys(e).concat(fn(e));
1091
+ function pt(e) {
1092
+ return Object.keys(e).concat(hn(e));
1106
1093
  }
1107
- function kt(e, t) {
1094
+ function Ut(e, t) {
1108
1095
  try {
1109
1096
  return t in e;
1110
1097
  } catch (r) {
1111
1098
  return !1;
1112
1099
  }
1113
1100
  }
1114
- function pn(e, t) {
1115
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1101
+ function ln(e, t) {
1102
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1116
1103
  }
1117
- function dn(e, t, r) {
1104
+ function cn(e, t, r) {
1118
1105
  var n = {};
1119
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1120
- n[i] = ie(e[i], r);
1121
- }), yt(t).forEach(function(i) {
1122
- pn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1106
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1107
+ n[i] = oe(e[i], r);
1108
+ }), pt(t).forEach(function(i) {
1109
+ ln(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1123
1110
  }), n;
1124
1111
  }
1125
1112
  function z(e, t, r) {
1126
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = ie;
1113
+ r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = oe;
1127
1114
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1128
- return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : ie(t, r);
1115
+ return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : oe(t, r);
1129
1116
  }
1130
1117
  z.all = function(t, r) {
1131
1118
  if (!Array.isArray(t))
@@ -1134,62 +1121,60 @@ z.all = function(t, r) {
1134
1121
  return z(n, i, r);
1135
1122
  }, {});
1136
1123
  };
1137
- var mn = z, bn = mn;
1138
- const yn = /* @__PURE__ */ tn(bn);
1139
- function Ae(e, t) {
1140
- var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : vn;
1124
+ var fn = z, pn = fn;
1125
+ const mn = /* @__PURE__ */ Yr(pn);
1126
+ function Be(e, t) {
1127
+ var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : yn;
1141
1128
  return i(e, {
1142
1129
  cache: r,
1143
1130
  serializer: n
1144
1131
  });
1145
1132
  }
1146
- function gn(e) {
1133
+ function dn(e) {
1147
1134
  return e == null || typeof e == "number" || typeof e == "boolean";
1148
1135
  }
1149
- function Vt(e, t, r, n) {
1150
- var i = gn(n) ? n : r(n), o = t.get(i);
1136
+ function bn(e, t, r, n) {
1137
+ var i = dn(n) ? n : r(n), o = t.get(i);
1151
1138
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1152
1139
  }
1153
- function Xt(e, t, r) {
1140
+ function Dt(e, t, r) {
1154
1141
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1155
1142
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1156
1143
  }
1157
- function Ke(e, t, r, n, i) {
1144
+ function Gt(e, t, r, n, i) {
1158
1145
  return r.bind(t, e, n, i);
1159
1146
  }
1160
- function vn(e, t) {
1161
- var r = e.length === 1 ? Vt : Xt;
1162
- return Ke(e, this, r, t.cache.create(), t.serializer);
1163
- }
1164
- function _n(e, t) {
1165
- return Ke(e, this, Xt, t.cache.create(), t.serializer);
1147
+ function yn(e, t) {
1148
+ var r = e.length === 1 ? bn : Dt;
1149
+ return Gt(e, this, r, t.cache.create(), t.serializer);
1166
1150
  }
1167
- function En(e, t) {
1168
- return Ke(e, this, Vt, t.cache.create(), t.serializer);
1151
+ function gn(e, t) {
1152
+ return Gt(e, this, Dt, t.cache.create(), t.serializer);
1169
1153
  }
1170
- var xn = function() {
1154
+ var vn = function() {
1171
1155
  return JSON.stringify(arguments);
1172
- };
1173
- function et() {
1174
- this.cache = /* @__PURE__ */ Object.create(null);
1175
- }
1176
- et.prototype.get = function(e) {
1177
- return this.cache[e];
1178
- };
1179
- et.prototype.set = function(e, t) {
1180
- this.cache[e] = t;
1181
- };
1182
- var Tn = {
1156
+ }, _n = (
1157
+ /** @class */
1158
+ function() {
1159
+ function e() {
1160
+ this.cache = /* @__PURE__ */ Object.create(null);
1161
+ }
1162
+ return e.prototype.get = function(t) {
1163
+ return this.cache[t];
1164
+ }, e.prototype.set = function(t, r) {
1165
+ this.cache[t] = r;
1166
+ }, e;
1167
+ }()
1168
+ ), En = {
1183
1169
  create: function() {
1184
- return new et();
1170
+ return new _n();
1185
1171
  }
1186
- }, Pe = {
1187
- variadic: _n,
1188
- monadic: En
1189
- }, m;
1172
+ }, Ae = {
1173
+ variadic: gn
1174
+ }, d;
1190
1175
  (function(e) {
1191
1176
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1192
- })(m || (m = {}));
1177
+ })(d || (d = {}));
1193
1178
  var _;
1194
1179
  (function(e) {
1195
1180
  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";
@@ -1198,43 +1183,43 @@ var Z;
1198
1183
  (function(e) {
1199
1184
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1200
1185
  })(Z || (Z = {}));
1201
- function gt(e) {
1186
+ function mt(e) {
1202
1187
  return e.type === _.literal;
1203
1188
  }
1204
- function Hn(e) {
1189
+ function xn(e) {
1205
1190
  return e.type === _.argument;
1206
1191
  }
1207
- function Wt(e) {
1192
+ function Ft(e) {
1208
1193
  return e.type === _.number;
1209
1194
  }
1210
- function zt(e) {
1195
+ function jt(e) {
1211
1196
  return e.type === _.date;
1212
1197
  }
1213
- function Zt(e) {
1198
+ function kt(e) {
1214
1199
  return e.type === _.time;
1215
1200
  }
1216
- function qt(e) {
1201
+ function Vt(e) {
1217
1202
  return e.type === _.select;
1218
1203
  }
1219
- function Qt(e) {
1204
+ function Xt(e) {
1220
1205
  return e.type === _.plural;
1221
1206
  }
1222
- function Sn(e) {
1207
+ function Tn(e) {
1223
1208
  return e.type === _.pound;
1224
1209
  }
1225
- function Jt(e) {
1210
+ function Wt(e) {
1226
1211
  return e.type === _.tag;
1227
1212
  }
1228
- function Yt(e) {
1213
+ function zt(e) {
1229
1214
  return !!(e && typeof e == "object" && e.type === Z.number);
1230
1215
  }
1231
- function je(e) {
1216
+ function Fe(e) {
1232
1217
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
1233
1218
  }
1234
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
1235
- function Bn(e) {
1219
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1220
+ function Sn(e) {
1236
1221
  var t = {};
1237
- return e.replace(wn, function(r) {
1222
+ return e.replace(Hn, function(r) {
1238
1223
  var n = r.length;
1239
1224
  switch (r[0]) {
1240
1225
  case "G":
@@ -1323,11 +1308,11 @@ function Bn(e) {
1323
1308
  return "";
1324
1309
  }), t;
1325
1310
  }
1326
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1327
- function Pn(e) {
1311
+ var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1312
+ function Bn(e) {
1328
1313
  if (e.length === 0)
1329
1314
  throw new Error("Number skeleton cannot be empty");
1330
- for (var t = e.split(An).filter(function(f) {
1315
+ for (var t = e.split(wn).filter(function(f) {
1331
1316
  return f.length > 0;
1332
1317
  }), r = [], n = 0, i = t; n < i.length; n++) {
1333
1318
  var o = i[n], s = o.split("/");
@@ -1342,17 +1327,17 @@ function Pn(e) {
1342
1327
  }
1343
1328
  return r;
1344
1329
  }
1345
- function On(e) {
1330
+ function An(e) {
1346
1331
  return e.replace(/^(.*?)-/, "");
1347
1332
  }
1348
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1349
- function _t(e) {
1333
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1334
+ function bt(e) {
1350
1335
  var t = {};
1351
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1336
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1352
1337
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1353
1338
  }), t;
1354
1339
  }
1355
- function rr(e) {
1340
+ function Jt(e) {
1356
1341
  switch (e) {
1357
1342
  case "sign-auto":
1358
1343
  return {
@@ -1392,7 +1377,7 @@ function rr(e) {
1392
1377
  };
1393
1378
  }
1394
1379
  }
1395
- function Nn(e) {
1380
+ function On(e) {
1396
1381
  var t;
1397
1382
  if (e[0] === "E" && e[1] === "E" ? (t = {
1398
1383
  notation: "engineering"
@@ -1400,17 +1385,17 @@ function Nn(e) {
1400
1385
  notation: "scientific"
1401
1386
  }, e = e.slice(1)), t) {
1402
1387
  var r = e.slice(0, 2);
1403
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1388
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1404
1389
  throw new Error("Malformed concise eng/scientific notation");
1405
1390
  t.minimumIntegerDigits = e.length;
1406
1391
  }
1407
1392
  return t;
1408
1393
  }
1409
- function Et(e) {
1410
- var t = {}, r = rr(e);
1394
+ function yt(e) {
1395
+ var t = {}, r = Jt(e);
1411
1396
  return r || t;
1412
1397
  }
1413
- function Ln(e) {
1398
+ function In(e) {
1414
1399
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1415
1400
  var i = n[r];
1416
1401
  switch (i.stem) {
@@ -1434,7 +1419,7 @@ function Ln(e) {
1434
1419
  continue;
1435
1420
  case "measure-unit":
1436
1421
  case "unit":
1437
- t.style = "unit", t.unit = On(i.options[0]);
1422
+ t.style = "unit", t.unit = An(i.options[0]);
1438
1423
  continue;
1439
1424
  case "compact-short":
1440
1425
  case "K":
@@ -1446,12 +1431,12 @@ function Ln(e) {
1446
1431
  continue;
1447
1432
  case "scientific":
1448
1433
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1449
- return y(y({}, h), Et(u));
1434
+ return y(y({}, h), yt(u));
1450
1435
  }, {}));
1451
1436
  continue;
1452
1437
  case "engineering":
1453
1438
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1454
- return y(y({}, h), Et(u));
1439
+ return y(y({}, h), yt(u));
1455
1440
  }, {}));
1456
1441
  continue;
1457
1442
  case "notation-simple":
@@ -1496,7 +1481,7 @@ function Ln(e) {
1496
1481
  case "integer-width":
1497
1482
  if (i.options.length > 1)
1498
1483
  throw new RangeError("integer-width stems only accept a single optional option");
1499
- i.options[0].replace(In, function(h, u, l, c, f, p) {
1484
+ i.options[0].replace(Pn, function(h, u, l, c, f, p) {
1500
1485
  if (u)
1501
1486
  t.minimumIntegerDigits = l.length;
1502
1487
  else {
@@ -1509,27 +1494,27 @@ function Ln(e) {
1509
1494
  });
1510
1495
  continue;
1511
1496
  }
1512
- if (tr.test(i.stem)) {
1497
+ if (Qt.test(i.stem)) {
1513
1498
  t.minimumIntegerDigits = i.stem.length;
1514
1499
  continue;
1515
1500
  }
1516
- if (vt.test(i.stem)) {
1501
+ if (dt.test(i.stem)) {
1517
1502
  if (i.options.length > 1)
1518
1503
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1519
- i.stem.replace(vt, function(h, u, l, c, f, p) {
1504
+ i.stem.replace(dt, function(h, u, l, c, f, p) {
1520
1505
  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), "";
1521
1506
  });
1522
1507
  var o = i.options[0];
1523
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), _t(o)));
1508
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), bt(o)));
1524
1509
  continue;
1525
1510
  }
1526
- if (er.test(i.stem)) {
1527
- t = y(y({}, t), _t(i.stem));
1511
+ if (qt.test(i.stem)) {
1512
+ t = y(y({}, t), bt(i.stem));
1528
1513
  continue;
1529
1514
  }
1530
- var s = rr(i.stem);
1515
+ var s = Jt(i.stem);
1531
1516
  s && (t = y(y({}, t), s));
1532
- var a = Nn(i.stem);
1517
+ var a = On(i.stem);
1533
1518
  a && (t = y(y({}, t), a));
1534
1519
  }
1535
1520
  return t;
@@ -2949,13 +2934,13 @@ var fe = {
2949
2934
  "h"
2950
2935
  ]
2951
2936
  };
2952
- function Cn(e, t) {
2937
+ function Nn(e, t) {
2953
2938
  for (var r = "", n = 0; n < e.length; n++) {
2954
2939
  var i = e.charAt(n);
2955
2940
  if (i === "j") {
2956
2941
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2957
2942
  o++, n++;
2958
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Mn(t);
2943
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Ln(t);
2959
2944
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2960
2945
  r += h;
2961
2946
  for (; s-- > 0; )
@@ -2964,7 +2949,7 @@ function Cn(e, t) {
2964
2949
  }
2965
2950
  return r;
2966
2951
  }
2967
- function Mn(e) {
2952
+ function Ln(e) {
2968
2953
  var t = e.hourCycle;
2969
2954
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2970
2955
  e.hourCycles && // @ts-ignore
@@ -2986,20 +2971,20 @@ function Mn(e) {
2986
2971
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2987
2972
  return i[0];
2988
2973
  }
2989
- var Oe, $n = new RegExp("^".concat(Kt.source, "*")), Rn = new RegExp("".concat(Kt.source, "*$"));
2974
+ var Pe, Cn = new RegExp("^".concat(Zt.source, "*")), Mn = new RegExp("".concat(Zt.source, "*$"));
2990
2975
  function b(e, t) {
2991
2976
  return { start: e, end: t };
2992
2977
  }
2993
- var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Gn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
2978
+ var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
2994
2979
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2995
- }, ke = !0;
2980
+ }, je = !0;
2996
2981
  try {
2997
- var Wn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2998
- ke = ((Oe = Wn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2982
+ var Vn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2983
+ je = ((Pe = Vn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2999
2984
  } catch (e) {
3000
- ke = !1;
2985
+ je = !1;
3001
2986
  }
3002
- var xt = Un ? (
2987
+ var gt = $n ? (
3003
2988
  // Native
3004
2989
  function(t, r, n) {
3005
2990
  return t.startsWith(r, n);
@@ -3009,7 +2994,7 @@ var xt = Un ? (
3009
2994
  function(t, r, n) {
3010
2995
  return t.slice(n, n + r.length) === r;
3011
2996
  }
3012
- ), Ve = Dn ? String.fromCodePoint : (
2997
+ ), ke = Rn ? String.fromCodePoint : (
3013
2998
  // IE11
3014
2999
  function() {
3015
3000
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3021,9 +3006,9 @@ var xt = Un ? (
3021
3006
  }
3022
3007
  return n;
3023
3008
  }
3024
- ), Tt = (
3009
+ ), vt = (
3025
3010
  // native
3026
- Gn ? Object.fromEntries : (
3011
+ Un ? Object.fromEntries : (
3027
3012
  // Ponyfill
3028
3013
  function(t) {
3029
3014
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3033,7 +3018,7 @@ var xt = Un ? (
3033
3018
  return r;
3034
3019
  }
3035
3020
  )
3036
- ), nr = Fn ? (
3021
+ ), Yt = Dn ? (
3037
3022
  // Native
3038
3023
  function(t, r) {
3039
3024
  return t.codePointAt(r);
@@ -3047,7 +3032,7 @@ var xt = Un ? (
3047
3032
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3048
3033
  }
3049
3034
  }
3050
- ), zn = jn ? (
3035
+ ), Xn = Gn ? (
3051
3036
  // Native
3052
3037
  function(t) {
3053
3038
  return t.trimStart();
@@ -3055,9 +3040,9 @@ var xt = Un ? (
3055
3040
  ) : (
3056
3041
  // Ponyfill
3057
3042
  function(t) {
3058
- return t.replace($n, "");
3043
+ return t.replace(Cn, "");
3059
3044
  }
3060
- ), Zn = kn ? (
3045
+ ), Wn = Fn ? (
3061
3046
  // Native
3062
3047
  function(t) {
3063
3048
  return t.trimEnd();
@@ -3065,32 +3050,32 @@ var xt = Un ? (
3065
3050
  ) : (
3066
3051
  // Ponyfill
3067
3052
  function(t) {
3068
- return t.replace(Rn, "");
3053
+ return t.replace(Mn, "");
3069
3054
  }
3070
3055
  );
3071
- function ir(e, t) {
3056
+ function Kt(e, t) {
3072
3057
  return new RegExp(e, t);
3073
3058
  }
3074
- var Xe;
3075
- if (ke) {
3076
- var Ht = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3077
- Xe = function(t, r) {
3059
+ var Ve;
3060
+ if (je) {
3061
+ var _t = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3062
+ Ve = function(t, r) {
3078
3063
  var n;
3079
- Ht.lastIndex = r;
3080
- var i = Ht.exec(t);
3064
+ _t.lastIndex = r;
3065
+ var i = _t.exec(t);
3081
3066
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3082
3067
  };
3083
3068
  } else
3084
- Xe = function(t, r) {
3069
+ Ve = function(t, r) {
3085
3070
  for (var n = []; ; ) {
3086
- var i = nr(t, r);
3087
- if (i === void 0 || or(i) || Yn(i))
3071
+ var i = Yt(t, r);
3072
+ if (i === void 0 || er(i) || Qn(i))
3088
3073
  break;
3089
3074
  n.push(i), r += i >= 65536 ? 2 : 1;
3090
3075
  }
3091
- return Ve.apply(void 0, n);
3076
+ return ke.apply(void 0, n);
3092
3077
  };
3093
- var qn = (
3078
+ var zn = (
3094
3079
  /** @class */
3095
3080
  function() {
3096
3081
  function e(t, r) {
@@ -3120,8 +3105,8 @@ var qn = (
3120
3105
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3121
3106
  if (n)
3122
3107
  break;
3123
- return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3124
- } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3108
+ return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3109
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3125
3110
  var s = this.parseTag(t, r);
3126
3111
  if (s.err)
3127
3112
  return s;
@@ -3154,10 +3139,10 @@ var qn = (
3154
3139
  return o;
3155
3140
  var s = o.val, a = this.clonePosition();
3156
3141
  if (this.bumpIf("</")) {
3157
- if (this.isEOF() || !We(this.char()))
3158
- return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3142
+ if (this.isEOF() || !Xe(this.char()))
3143
+ return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
3159
3144
  var h = this.clonePosition(), u = this.parseTagName();
3160
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3145
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3161
3146
  val: {
3162
3147
  type: _.tag,
3163
3148
  value: i,
@@ -3165,14 +3150,14 @@ var qn = (
3165
3150
  location: b(n, this.clonePosition())
3166
3151
  },
3167
3152
  err: null
3168
- } : this.error(m.INVALID_TAG, b(a, this.clonePosition())));
3153
+ } : this.error(d.INVALID_TAG, b(a, this.clonePosition())));
3169
3154
  } else
3170
- return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
3155
+ return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
3171
3156
  } else
3172
- return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3157
+ return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3173
3158
  }, e.prototype.parseTagName = function() {
3174
3159
  var t = this.offset();
3175
- for (this.bump(); !this.isEOF() && Jn(this.char()); )
3160
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
3176
3161
  this.bump();
3177
3162
  return this.message.slice(t, this.offset());
3178
3163
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3201,7 +3186,7 @@ var qn = (
3201
3186
  };
3202
3187
  }, e.prototype.tryParseLeftAngleBracket = function() {
3203
3188
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3204
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3189
+ !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3205
3190
  }, e.prototype.tryParseQuote = function(t) {
3206
3191
  if (this.isEOF() || this.char() !== 39)
3207
3192
  return null;
@@ -3235,23 +3220,23 @@ var qn = (
3235
3220
  r.push(n);
3236
3221
  this.bump();
3237
3222
  }
3238
- return Ve.apply(void 0, r);
3223
+ return ke.apply(void 0, r);
3239
3224
  }, e.prototype.tryParseUnquoted = function(t, r) {
3240
3225
  if (this.isEOF())
3241
3226
  return null;
3242
3227
  var n = this.char();
3243
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3228
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3244
3229
  }, e.prototype.parseArgument = function(t, r) {
3245
3230
  var n = this.clonePosition();
3246
3231
  if (this.bump(), this.bumpSpace(), this.isEOF())
3247
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3232
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3248
3233
  if (this.char() === 125)
3249
- return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3234
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3250
3235
  var i = this.parseIdentifierIfPossible().value;
3251
3236
  if (!i)
3252
- return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3237
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3253
3238
  if (this.bumpSpace(), this.isEOF())
3254
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3239
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3255
3240
  switch (this.char()) {
3256
3241
  case 125:
3257
3242
  return this.bump(), {
@@ -3264,12 +3249,12 @@ var qn = (
3264
3249
  err: null
3265
3250
  };
3266
3251
  case 44:
3267
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3252
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3268
3253
  default:
3269
- return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3254
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3270
3255
  }
3271
3256
  }, e.prototype.parseIdentifierIfPossible = function() {
3272
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3257
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3273
3258
  this.bumpTo(i);
3274
3259
  var o = this.clonePosition(), s = b(t, o);
3275
3260
  return { value: n, location: s };
@@ -3277,7 +3262,7 @@ var qn = (
3277
3262
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3278
3263
  switch (a) {
3279
3264
  case "":
3280
- return this.error(m.EXPECT_ARGUMENT_TYPE, b(s, h));
3265
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(s, h));
3281
3266
  case "number":
3282
3267
  case "date":
3283
3268
  case "time": {
@@ -3288,37 +3273,37 @@ var qn = (
3288
3273
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3289
3274
  if (c.err)
3290
3275
  return c;
3291
- var f = Zn(c.val);
3276
+ var f = Wn(c.val);
3292
3277
  if (f.length === 0)
3293
- return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3278
+ return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3294
3279
  var p = b(l, this.clonePosition());
3295
3280
  u = { style: f, styleLocation: p };
3296
3281
  }
3297
3282
  var v = this.tryParseArgumentClose(i);
3298
3283
  if (v.err)
3299
3284
  return v;
3300
- var d = b(i, this.clonePosition());
3301
- if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3302
- var T = zn(u.style.slice(2));
3285
+ var m = b(i, this.clonePosition());
3286
+ if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
3287
+ var T = Xn(u.style.slice(2));
3303
3288
  if (a === "number") {
3304
3289
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
3305
3290
  return c.err ? c : {
3306
- val: { type: _.number, value: n, location: d, style: c.val },
3291
+ val: { type: _.number, value: n, location: m, style: c.val },
3307
3292
  err: null
3308
3293
  };
3309
3294
  } else {
3310
3295
  if (T.length === 0)
3311
- return this.error(m.EXPECT_DATE_TIME_SKELETON, d);
3312
- var M = T;
3313
- this.locale && (M = Cn(T, this.locale));
3296
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
3297
+ var R = T;
3298
+ this.locale && (R = Nn(T, this.locale));
3314
3299
  var f = {
3315
3300
  type: Z.dateTime,
3316
- pattern: M,
3301
+ pattern: R,
3317
3302
  location: u.styleLocation,
3318
- parsedOptions: this.shouldParseSkeletons ? Bn(M) : {}
3319
- }, $ = a === "date" ? _.date : _.time;
3303
+ parsedOptions: this.shouldParseSkeletons ? Sn(R) : {}
3304
+ }, P = a === "date" ? _.date : _.time;
3320
3305
  return {
3321
- val: { type: $, value: n, location: d, style: f },
3306
+ val: { type: P, value: n, location: m, style: f },
3322
3307
  err: null
3323
3308
  };
3324
3309
  }
@@ -3327,7 +3312,7 @@ var qn = (
3327
3312
  val: {
3328
3313
  type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3329
3314
  value: n,
3330
- location: d,
3315
+ location: m,
3331
3316
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3332
3317
  },
3333
3318
  err: null
@@ -3338,14 +3323,14 @@ var qn = (
3338
3323
  case "select": {
3339
3324
  var S = this.clonePosition();
3340
3325
  if (this.bumpSpace(), !this.bumpIf(","))
3341
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
3326
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
3342
3327
  this.bumpSpace();
3343
3328
  var U = this.parseIdentifierIfPossible(), O = 0;
3344
3329
  if (a !== "select" && U.value === "offset") {
3345
3330
  if (!this.bumpIf(":"))
3346
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3331
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3347
3332
  this.bumpSpace();
3348
- var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3333
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3349
3334
  if (c.err)
3350
3335
  return c;
3351
3336
  this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = c.val;
@@ -3356,32 +3341,32 @@ var qn = (
3356
3341
  var v = this.tryParseArgumentClose(i);
3357
3342
  if (v.err)
3358
3343
  return v;
3359
- var he = b(i, this.clonePosition());
3344
+ var g = b(i, this.clonePosition());
3360
3345
  return a === "select" ? {
3361
3346
  val: {
3362
3347
  type: _.select,
3363
3348
  value: n,
3364
- options: Tt(G.val),
3365
- location: he
3349
+ options: vt(G.val),
3350
+ location: g
3366
3351
  },
3367
3352
  err: null
3368
3353
  } : {
3369
3354
  val: {
3370
3355
  type: _.plural,
3371
3356
  value: n,
3372
- options: Tt(G.val),
3357
+ options: vt(G.val),
3373
3358
  offset: O,
3374
3359
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3375
- location: he
3360
+ location: g
3376
3361
  },
3377
3362
  err: null
3378
3363
  };
3379
3364
  }
3380
3365
  default:
3381
- return this.error(m.INVALID_ARGUMENT_TYPE, b(s, h));
3366
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(s, h));
3382
3367
  }
3383
3368
  }, e.prototype.tryParseArgumentClose = function(t) {
3384
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3369
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3385
3370
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3386
3371
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3387
3372
  var n = this.char();
@@ -3390,7 +3375,7 @@ var qn = (
3390
3375
  this.bump();
3391
3376
  var i = this.clonePosition();
3392
3377
  if (!this.bumpUntil("'"))
3393
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3378
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3394
3379
  this.bump();
3395
3380
  break;
3396
3381
  }
@@ -3420,16 +3405,16 @@ var qn = (
3420
3405
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3421
3406
  var n = [];
3422
3407
  try {
3423
- n = Pn(t);
3408
+ n = Bn(t);
3424
3409
  } catch (i) {
3425
- return this.error(m.INVALID_NUMBER_SKELETON, r);
3410
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3426
3411
  }
3427
3412
  return {
3428
3413
  val: {
3429
3414
  type: Z.number,
3430
3415
  tokens: n,
3431
3416
  location: r,
3432
- parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3417
+ parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3433
3418
  },
3434
3419
  err: null
3435
3420
  };
@@ -3438,7 +3423,7 @@ var qn = (
3438
3423
  if (u.length === 0) {
3439
3424
  var c = this.clonePosition();
3440
3425
  if (r !== "select" && this.bumpIf("=")) {
3441
- var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3426
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3442
3427
  if (f.err)
3443
3428
  return f;
3444
3429
  l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3446,17 +3431,17 @@ var qn = (
3446
3431
  break;
3447
3432
  }
3448
3433
  if (h.has(u))
3449
- return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3434
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3450
3435
  u === "other" && (s = !0), this.bumpSpace();
3451
3436
  var p = this.clonePosition();
3452
3437
  if (!this.bumpIf("{"))
3453
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3438
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3454
3439
  var v = this.parseMessage(t + 1, r, n);
3455
3440
  if (v.err)
3456
3441
  return v;
3457
- var d = this.tryParseArgumentClose(p);
3458
- if (d.err)
3459
- return d;
3442
+ var m = this.tryParseArgumentClose(p);
3443
+ if (m.err)
3444
+ return m;
3460
3445
  a.push([
3461
3446
  u,
3462
3447
  {
@@ -3465,7 +3450,7 @@ var qn = (
3465
3450
  }
3466
3451
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3467
3452
  }
3468
- return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3453
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3469
3454
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3470
3455
  var n = 1, i = this.clonePosition();
3471
3456
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3477,7 +3462,7 @@ var qn = (
3477
3462
  break;
3478
3463
  }
3479
3464
  var h = b(i, this.clonePosition());
3480
- return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3465
+ return o ? (s *= n, kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3481
3466
  }, e.prototype.offset = function() {
3482
3467
  return this.position.offset;
3483
3468
  }, e.prototype.isEOF = function() {
@@ -3492,7 +3477,7 @@ var qn = (
3492
3477
  var t = this.position.offset;
3493
3478
  if (t >= this.message.length)
3494
3479
  throw Error("out of bound");
3495
- var r = nr(this.message, t);
3480
+ var r = Yt(this.message, t);
3496
3481
  if (r === void 0)
3497
3482
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3498
3483
  return r;
@@ -3511,7 +3496,7 @@ var qn = (
3511
3496
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3512
3497
  }
3513
3498
  }, e.prototype.bumpIf = function(t) {
3514
- if (xt(this.message, t, this.offset())) {
3499
+ if (gt(this.message, t, this.offset())) {
3515
3500
  for (var r = 0; r < t.length; r++)
3516
3501
  this.bump();
3517
3502
  return !0;
@@ -3533,7 +3518,7 @@ var qn = (
3533
3518
  break;
3534
3519
  }
3535
3520
  }, e.prototype.bumpSpace = function() {
3536
- for (; !this.isEOF() && or(this.char()); )
3521
+ for (; !this.isEOF() && er(this.char()); )
3537
3522
  this.bump();
3538
3523
  }, e.prototype.peek = function() {
3539
3524
  if (this.isEOF())
@@ -3543,37 +3528,37 @@ var qn = (
3543
3528
  }, e;
3544
3529
  }()
3545
3530
  );
3546
- function We(e) {
3531
+ function Xe(e) {
3547
3532
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3548
3533
  }
3549
- function Qn(e) {
3550
- return We(e) || e === 47;
3534
+ function Zn(e) {
3535
+ return Xe(e) || e === 47;
3551
3536
  }
3552
- function Jn(e) {
3537
+ function qn(e) {
3553
3538
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3554
3539
  }
3555
- function or(e) {
3540
+ function er(e) {
3556
3541
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3557
3542
  }
3558
- function Yn(e) {
3543
+ function Qn(e) {
3559
3544
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3560
3545
  }
3561
- function ze(e) {
3546
+ function We(e) {
3562
3547
  e.forEach(function(t) {
3563
- if (delete t.location, qt(t) || Qt(t))
3548
+ if (delete t.location, Vt(t) || Xt(t))
3564
3549
  for (var r in t.options)
3565
- delete t.options[r].location, ze(t.options[r].value);
3566
- else Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && je(t.style) ? delete t.style.location : Jt(t) && ze(t.children);
3550
+ delete t.options[r].location, We(t.options[r].value);
3551
+ else Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Fe(t.style) ? delete t.style.location : Wt(t) && We(t.children);
3567
3552
  });
3568
3553
  }
3569
- function Kn(e, t) {
3554
+ function Jn(e, t) {
3570
3555
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3571
- var r = new qn(e, t).parse();
3556
+ var r = new zn(e, t).parse();
3572
3557
  if (r.err) {
3573
- var n = SyntaxError(m[r.err.kind]);
3558
+ var n = SyntaxError(d[r.err.kind]);
3574
3559
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3575
3560
  }
3576
- return t != null && t.captureLocation || ze(r.val), r.val;
3561
+ return t != null && t.captureLocation || We(r.val), r.val;
3577
3562
  }
3578
3563
  var q;
3579
3564
  (function(e) {
@@ -3582,7 +3567,7 @@ var q;
3582
3567
  var Ee = (
3583
3568
  /** @class */
3584
3569
  function(e) {
3585
- C(t, e);
3570
+ L(t, e);
3586
3571
  function t(r, n, i) {
3587
3572
  var o = e.call(this, r) || this;
3588
3573
  return o.code = n, o.originalMessage = i, o;
@@ -3591,28 +3576,28 @@ var Ee = (
3591
3576
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3592
3577
  }, t;
3593
3578
  }(Error)
3594
- ), St = (
3579
+ ), Et = (
3595
3580
  /** @class */
3596
3581
  function(e) {
3597
- C(t, e);
3582
+ L(t, e);
3598
3583
  function t(r, n, i, o) {
3599
3584
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3600
3585
  }
3601
3586
  return t;
3602
3587
  }(Ee)
3603
- ), ei = (
3588
+ ), Yn = (
3604
3589
  /** @class */
3605
3590
  function(e) {
3606
- C(t, e);
3591
+ L(t, e);
3607
3592
  function t(r, n, i) {
3608
3593
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3609
3594
  }
3610
3595
  return t;
3611
3596
  }(Ee)
3612
- ), ti = (
3597
+ ), Kn = (
3613
3598
  /** @class */
3614
3599
  function(e) {
3615
- C(t, e);
3600
+ L(t, e);
3616
3601
  function t(r, n) {
3617
3602
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3618
3603
  }
@@ -3622,17 +3607,17 @@ var Ee = (
3622
3607
  (function(e) {
3623
3608
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3624
3609
  })(H || (H = {}));
3625
- function ri(e) {
3610
+ function ei(e) {
3626
3611
  return e.length < 2 ? e : e.reduce(function(t, r) {
3627
3612
  var n = t[t.length - 1];
3628
3613
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3629
3614
  }, []);
3630
3615
  }
3631
- function ni(e) {
3616
+ function ti(e) {
3632
3617
  return typeof e == "function";
3633
3618
  }
3634
- function me(e, t, r, n, i, o, s) {
3635
- if (e.length === 1 && gt(e[0]))
3619
+ function de(e, t, r, n, i, o, s) {
3620
+ if (e.length === 1 && mt(e[0]))
3636
3621
  return [
3637
3622
  {
3638
3623
  type: H.literal,
@@ -3641,14 +3626,14 @@ function me(e, t, r, n, i, o, s) {
3641
3626
  ];
3642
3627
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3643
3628
  var l = u[h];
3644
- if (gt(l)) {
3629
+ if (mt(l)) {
3645
3630
  a.push({
3646
3631
  type: H.literal,
3647
3632
  value: l.value
3648
3633
  });
3649
3634
  continue;
3650
3635
  }
3651
- if (Sn(l)) {
3636
+ if (Tn(l)) {
3652
3637
  typeof o == "number" && a.push({
3653
3638
  type: H.literal,
3654
3639
  value: r.getNumberFormat(t).format(o)
@@ -3657,61 +3642,61 @@ function me(e, t, r, n, i, o, s) {
3657
3642
  }
3658
3643
  var c = l.value;
3659
3644
  if (!(i && c in i))
3660
- throw new ti(c, s);
3645
+ throw new Kn(c, s);
3661
3646
  var f = i[c];
3662
- if (Hn(l)) {
3647
+ if (xn(l)) {
3663
3648
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3664
3649
  type: typeof f == "string" ? H.literal : H.object,
3665
3650
  value: f
3666
3651
  });
3667
3652
  continue;
3668
3653
  }
3669
- if (zt(l)) {
3670
- var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3654
+ if (jt(l)) {
3655
+ var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3671
3656
  a.push({
3672
3657
  type: H.literal,
3673
3658
  value: r.getDateTimeFormat(t, p).format(f)
3674
3659
  });
3675
3660
  continue;
3676
3661
  }
3677
- if (Zt(l)) {
3678
- var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3662
+ if (kt(l)) {
3663
+ var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3679
3664
  a.push({
3680
3665
  type: H.literal,
3681
3666
  value: r.getDateTimeFormat(t, p).format(f)
3682
3667
  });
3683
3668
  continue;
3684
3669
  }
3685
- if (Wt(l)) {
3686
- var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3670
+ if (Ft(l)) {
3671
+ var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
3687
3672
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3688
3673
  type: H.literal,
3689
3674
  value: r.getNumberFormat(t, p).format(f)
3690
3675
  });
3691
3676
  continue;
3692
3677
  }
3693
- if (Jt(l)) {
3694
- var v = l.children, d = l.value, T = i[d];
3695
- if (!ni(T))
3696
- throw new ei(d, "function", s);
3697
- var M = me(v, t, r, n, i, o), $ = T(M.map(function(O) {
3678
+ if (Wt(l)) {
3679
+ var v = l.children, m = l.value, T = i[m];
3680
+ if (!ti(T))
3681
+ throw new Yn(m, "function", s);
3682
+ var R = de(v, t, r, n, i, o), P = T(R.map(function(O) {
3698
3683
  return O.value;
3699
3684
  }));
3700
- Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(O) {
3685
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3701
3686
  return {
3702
3687
  type: typeof O == "string" ? H.literal : H.object,
3703
3688
  value: O
3704
3689
  };
3705
3690
  }));
3706
3691
  }
3707
- if (qt(l)) {
3692
+ if (Vt(l)) {
3708
3693
  var S = l.options[f] || l.options.other;
3709
3694
  if (!S)
3710
- throw new St(l.value, f, Object.keys(l.options), s);
3711
- a.push.apply(a, me(S.value, t, r, n, i));
3695
+ throw new Et(l.value, f, Object.keys(l.options), s);
3696
+ a.push.apply(a, de(S.value, t, r, n, i));
3712
3697
  continue;
3713
3698
  }
3714
- if (Qt(l)) {
3699
+ if (Xt(l)) {
3715
3700
  var S = l.options["=".concat(f)];
3716
3701
  if (!S) {
3717
3702
  if (!Intl.PluralRules)
@@ -3722,24 +3707,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3722
3707
  S = l.options[U] || l.options.other;
3723
3708
  }
3724
3709
  if (!S)
3725
- throw new St(l.value, f, Object.keys(l.options), s);
3726
- a.push.apply(a, me(S.value, t, r, n, i, f - (l.offset || 0)));
3710
+ throw new Et(l.value, f, Object.keys(l.options), s);
3711
+ a.push.apply(a, de(S.value, t, r, n, i, f - (l.offset || 0)));
3727
3712
  continue;
3728
3713
  }
3729
3714
  }
3730
- return ri(a);
3715
+ return ei(a);
3731
3716
  }
3732
- function ii(e, t) {
3717
+ function ri(e, t) {
3733
3718
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3734
3719
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3735
3720
  }, {})) : e;
3736
3721
  }
3737
- function oi(e, t) {
3722
+ function ni(e, t) {
3738
3723
  return t ? Object.keys(e).reduce(function(r, n) {
3739
- return r[n] = ii(e[n], t[n]), r;
3724
+ return r[n] = ri(e[n], t[n]), r;
3740
3725
  }, y({}, e)) : e;
3741
3726
  }
3742
- function Ie(e) {
3727
+ function Oe(e) {
3743
3728
  return {
3744
3729
  create: function() {
3745
3730
  return {
@@ -3753,39 +3738,39 @@ function Ie(e) {
3753
3738
  }
3754
3739
  };
3755
3740
  }
3756
- function si(e) {
3741
+ function ii(e) {
3757
3742
  return e === void 0 && (e = {
3758
3743
  number: {},
3759
3744
  dateTime: {},
3760
3745
  pluralRules: {}
3761
3746
  }), {
3762
- getNumberFormat: Ae(function() {
3747
+ getNumberFormat: Be(function() {
3763
3748
  for (var t, r = [], n = 0; n < arguments.length; n++)
3764
3749
  r[n] = arguments[n];
3765
3750
  return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3766
3751
  }, {
3767
- cache: Ie(e.number),
3768
- strategy: Pe.variadic
3752
+ cache: Oe(e.number),
3753
+ strategy: Ae.variadic
3769
3754
  }),
3770
- getDateTimeFormat: Ae(function() {
3755
+ getDateTimeFormat: Be(function() {
3771
3756
  for (var t, r = [], n = 0; n < arguments.length; n++)
3772
3757
  r[n] = arguments[n];
3773
3758
  return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3774
3759
  }, {
3775
- cache: Ie(e.dateTime),
3776
- strategy: Pe.variadic
3760
+ cache: Oe(e.dateTime),
3761
+ strategy: Ae.variadic
3777
3762
  }),
3778
- getPluralRules: Ae(function() {
3763
+ getPluralRules: Be(function() {
3779
3764
  for (var t, r = [], n = 0; n < arguments.length; n++)
3780
3765
  r[n] = arguments[n];
3781
3766
  return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3782
3767
  }, {
3783
- cache: Ie(e.pluralRules),
3784
- strategy: Pe.variadic
3768
+ cache: Oe(e.pluralRules),
3769
+ strategy: Ae.variadic
3785
3770
  })
3786
3771
  };
3787
3772
  }
3788
- var ai = (
3773
+ var oi = (
3789
3774
  /** @class */
3790
3775
  function() {
3791
3776
  function e(t, r, n, i) {
@@ -3804,7 +3789,7 @@ var ai = (
3804
3789
  }, []);
3805
3790
  return l.length <= 1 ? l[0] || "" : l;
3806
3791
  }, this.formatToParts = function(h) {
3807
- return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3792
+ return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3808
3793
  }, this.resolvedOptions = function() {
3809
3794
  var h;
3810
3795
  return {
@@ -3817,13 +3802,13 @@ var ai = (
3817
3802
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3818
3803
  var s = i || {};
3819
3804
  s.formatters;
3820
- var a = Dr(s, ["formatters"]);
3805
+ var a = $r(s, ["formatters"]);
3821
3806
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3822
3807
  } else
3823
3808
  this.ast = t;
3824
3809
  if (!Array.isArray(this.ast))
3825
3810
  throw new TypeError("A message must be provided as a String or AST.");
3826
- this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3811
+ this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3827
3812
  }
3828
3813
  return Object.defineProperty(e, "defaultLocale", {
3829
3814
  get: function() {
@@ -3836,7 +3821,7 @@ var ai = (
3836
3821
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3837
3822
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3838
3823
  }
3839
- }, e.__parse = Kn, e.formats = {
3824
+ }, e.__parse = Jn, e.formats = {
3840
3825
  number: {
3841
3826
  integer: {
3842
3827
  maximumFractionDigits: 0
@@ -3897,7 +3882,7 @@ var ai = (
3897
3882
  }, e;
3898
3883
  }()
3899
3884
  );
3900
- function ui(e, t) {
3885
+ function si(e, t) {
3901
3886
  if (t == null)
3902
3887
  return;
3903
3888
  if (t in e)
@@ -3918,92 +3903,92 @@ function ui(e, t) {
3918
3903
  n = void 0;
3919
3904
  return n;
3920
3905
  }
3921
- const R = {}, hi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), sr = (e, t) => {
3906
+ const $ = {}, ai = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), tr = (e, t) => {
3922
3907
  if (t == null)
3923
3908
  return;
3924
- if (t in R && e in R[t])
3925
- return R[t][e];
3909
+ if (t in $ && e in $[t])
3910
+ return $[t][e];
3926
3911
  const r = xe(t);
3927
3912
  for (let n = 0; n < r.length; n++) {
3928
- const i = r[n], o = ci(i, e);
3913
+ const i = r[n], o = hi(i, e);
3929
3914
  if (o)
3930
- return hi(e, t, o);
3915
+ return ai(e, t, o);
3931
3916
  }
3932
3917
  };
3933
- let tt;
3934
- const ue = _e({});
3935
- function li(e) {
3936
- return tt[e] || null;
3918
+ let Je;
3919
+ const he = _e({});
3920
+ function ui(e) {
3921
+ return Je[e] || null;
3937
3922
  }
3938
- function ar(e) {
3939
- return e in tt;
3923
+ function rr(e) {
3924
+ return e in Je;
3940
3925
  }
3941
- function ci(e, t) {
3942
- if (!ar(e))
3926
+ function hi(e, t) {
3927
+ if (!rr(e))
3943
3928
  return null;
3944
- const r = li(e);
3945
- return ui(r, t);
3929
+ const r = ui(e);
3930
+ return si(r, t);
3946
3931
  }
3947
- function fi(e) {
3932
+ function li(e) {
3948
3933
  if (e == null)
3949
3934
  return;
3950
3935
  const t = xe(e);
3951
3936
  for (let r = 0; r < t.length; r++) {
3952
3937
  const n = t[r];
3953
- if (ar(n))
3938
+ if (rr(n))
3954
3939
  return n;
3955
3940
  }
3956
3941
  }
3957
- function ur(e, ...t) {
3958
- delete R[e], ue.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3942
+ function nr(e, ...t) {
3943
+ delete $[e], he.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3959
3944
  }
3960
3945
  Y(
3961
- [ue],
3946
+ [he],
3962
3947
  ([e]) => Object.keys(e)
3963
3948
  );
3964
- ue.subscribe((e) => tt = e);
3949
+ he.subscribe((e) => Je = e);
3965
3950
  const be = {};
3966
- function pi(e, t) {
3951
+ function ci(e, t) {
3967
3952
  be[e].delete(t), be[e].size === 0 && delete be[e];
3968
3953
  }
3969
- function hr(e) {
3954
+ function ir(e) {
3970
3955
  return be[e];
3971
3956
  }
3972
- function di(e) {
3957
+ function fi(e) {
3973
3958
  return xe(e).map((t) => {
3974
- const r = hr(t);
3959
+ const r = ir(t);
3975
3960
  return [t, r ? [...r] : []];
3976
3961
  }).filter(([, t]) => t.length > 0);
3977
3962
  }
3978
- function Ze(e) {
3963
+ function ze(e) {
3979
3964
  return e == null ? !1 : xe(e).some(
3980
3965
  (t) => {
3981
3966
  var r;
3982
- return (r = hr(t)) == null ? void 0 : r.size;
3967
+ return (r = ir(t)) == null ? void 0 : r.size;
3983
3968
  }
3984
3969
  );
3985
3970
  }
3986
- function mi(e, t) {
3971
+ function pi(e, t) {
3987
3972
  return Promise.all(
3988
- t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
3989
- ).then((n) => ur(e, ...n));
3973
+ t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3974
+ ).then((n) => nr(e, ...n));
3990
3975
  }
3991
3976
  const te = {};
3992
- function lr(e) {
3993
- if (!Ze(e))
3977
+ function or(e) {
3978
+ if (!ze(e))
3994
3979
  return e in te ? te[e] : Promise.resolve();
3995
- const t = di(e);
3980
+ const t = fi(e);
3996
3981
  return te[e] = Promise.all(
3997
3982
  t.map(
3998
- ([r, n]) => mi(r, n)
3983
+ ([r, n]) => pi(r, n)
3999
3984
  )
4000
3985
  ).then(() => {
4001
- if (Ze(e))
4002
- return lr(e);
3986
+ if (ze(e))
3987
+ return or(e);
4003
3988
  delete te[e];
4004
3989
  }), te[e];
4005
3990
  }
4006
- const bi = {
3991
+ const mi = {
4007
3992
  number: {
4008
3993
  scientific: { notation: "scientific" },
4009
3994
  engineering: { notation: "engineering" },
@@ -4032,57 +4017,57 @@ const bi = {
4032
4017
  timeZoneName: "short"
4033
4018
  }
4034
4019
  }
4035
- }, yi = {
4020
+ }, di = {
4036
4021
  fallbackLocale: null,
4037
4022
  loadingDelay: 200,
4038
- formats: bi,
4023
+ formats: mi,
4039
4024
  warnOnMissingMessages: !0,
4040
4025
  handleMissingMessage: void 0,
4041
4026
  ignoreTag: !0
4042
- }, gi = yi;
4027
+ }, bi = di;
4043
4028
  function Q() {
4044
- return gi;
4029
+ return bi;
4045
4030
  }
4046
- const Ne = _e(!1);
4047
- var vi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4031
+ const Ie = _e(!1);
4032
+ var yi = Object.defineProperty, gi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
4048
4033
  for (var r in t || (t = {}))
4049
- xi.call(t, r) && Bt(e, r, t[r]);
4050
- if (wt)
4051
- for (var r of wt(t))
4052
- Ti.call(t, r) && Bt(e, r, t[r]);
4034
+ _i.call(t, r) && Tt(e, r, t[r]);
4035
+ if (xt)
4036
+ for (var r of xt(t))
4037
+ Ei.call(t, r) && Tt(e, r, t[r]);
4053
4038
  return e;
4054
- }, Si = (e, t) => _i(e, Ei(t));
4055
- let qe;
4039
+ }, Ti = (e, t) => gi(e, vi(t));
4040
+ let Ze;
4056
4041
  const ye = _e(null);
4057
- function At(e) {
4042
+ function Ht(e) {
4058
4043
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4059
4044
  }
4060
4045
  function xe(e, t = Q().fallbackLocale) {
4061
- const r = At(e);
4062
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4046
+ const r = Ht(e);
4047
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4063
4048
  }
4064
4049
  function D() {
4065
- return qe != null ? qe : void 0;
4050
+ return Ze != null ? Ze : void 0;
4066
4051
  }
4067
4052
  ye.subscribe((e) => {
4068
- qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4053
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4069
4054
  });
4070
- const wi = (e) => {
4071
- if (e && fi(e) && Ze(e)) {
4055
+ const Hi = (e) => {
4056
+ if (e && li(e) && ze(e)) {
4072
4057
  const { loadingDelay: t } = Q();
4073
4058
  let r;
4074
4059
  return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4075
- () => Ne.set(!0),
4060
+ () => Ie.set(!0),
4076
4061
  t
4077
- ) : Ne.set(!0), lr(e).then(() => {
4062
+ ) : Ie.set(!0), or(e).then(() => {
4078
4063
  ye.set(e);
4079
4064
  }).finally(() => {
4080
- clearTimeout(r), Ne.set(!1);
4065
+ clearTimeout(r), Ie.set(!1);
4081
4066
  });
4082
4067
  }
4083
4068
  return ye.set(e);
4084
- }, K = Si(Hi({}, ye), {
4085
- set: wi
4069
+ }, K = Ti(xi({}, ye), {
4070
+ set: Hi
4086
4071
  }), Te = (e) => {
4087
4072
  const t = /* @__PURE__ */ Object.create(null);
4088
4073
  return (n) => {
@@ -4090,77 +4075,77 @@ const wi = (e) => {
4090
4075
  return i in t ? t[i] : t[i] = e(n);
4091
4076
  };
4092
4077
  };
4093
- var Bi = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4078
+ var Si = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4094
4079
  for (var r in t || (t = {}))
4095
- cr.call(t, r) && Pt(e, r, t[r]);
4080
+ sr.call(t, r) && St(e, r, t[r]);
4096
4081
  if (ge)
4097
4082
  for (var r of ge(t))
4098
- fr.call(t, r) && Pt(e, r, t[r]);
4083
+ ar.call(t, r) && St(e, r, t[r]);
4099
4084
  return e;
4100
4085
  }, ee = (e, t) => {
4101
4086
  var r = {};
4102
4087
  for (var n in e)
4103
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4088
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4104
4089
  if (e != null && ge)
4105
4090
  for (var n of ge(e))
4106
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4091
+ t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4107
4092
  return r;
4108
4093
  };
4109
- const oe = (e, t) => {
4094
+ const se = (e, t) => {
4110
4095
  const { formats: r } = Q();
4111
4096
  if (e in r && t in r[e])
4112
4097
  return r[e][t];
4113
4098
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4114
- }, Ai = Te(
4099
+ }, wi = Te(
4115
4100
  (e) => {
4116
4101
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4117
4102
  if (r == null)
4118
4103
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4119
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4104
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4120
4105
  }
4121
- ), Pi = Te(
4106
+ ), Bi = Te(
4122
4107
  (e) => {
4123
4108
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4124
4109
  if (r == null)
4125
4110
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4126
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4111
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4127
4112
  }
4128
- ), Oi = Te(
4113
+ ), Ai = Te(
4129
4114
  (e) => {
4130
4115
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4131
4116
  if (r == null)
4132
4117
  throw new Error(
4133
4118
  '[svelte-i18n] A "locale" must be set to format time values'
4134
4119
  );
4135
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4120
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4136
4121
  }
4137
- ), Ii = (e = {}) => {
4122
+ ), Pi = (e = {}) => {
4138
4123
  var t = e, {
4139
4124
  locale: r = D()
4140
4125
  } = t, n = ee(t, [
4141
4126
  "locale"
4142
4127
  ]);
4143
- return Ai(rt({ locale: r }, n));
4144
- }, Ni = (e = {}) => {
4128
+ return wi(Ye({ locale: r }, n));
4129
+ }, Oi = (e = {}) => {
4145
4130
  var t = e, {
4146
4131
  locale: r = D()
4147
4132
  } = t, n = ee(t, [
4148
4133
  "locale"
4149
4134
  ]);
4150
- return Pi(rt({ locale: r }, n));
4151
- }, Li = (e = {}) => {
4135
+ return Bi(Ye({ locale: r }, n));
4136
+ }, Ii = (e = {}) => {
4152
4137
  var t = e, {
4153
4138
  locale: r = D()
4154
4139
  } = t, n = ee(t, [
4155
4140
  "locale"
4156
4141
  ]);
4157
- return Oi(rt({ locale: r }, n));
4158
- }, Ci = Te(
4142
+ return Ai(Ye({ locale: r }, n));
4143
+ }, Ni = Te(
4159
4144
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4160
- (e, t = D()) => new ai(e, t, Q().formats, {
4145
+ (e, t = D()) => new oi(e, t, Q().formats, {
4161
4146
  ignoreTag: Q().ignoreTag
4162
4147
  })
4163
- ), Mi = (e, t = {}) => {
4148
+ ), Li = (e, t = {}) => {
4164
4149
  var r, n, i, o;
4165
4150
  let s = t;
4166
4151
  typeof e == "object" && (s = e, e = s.id);
@@ -4173,7 +4158,7 @@ const oe = (e, t) => {
4173
4158
  throw new Error(
4174
4159
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4175
4160
  );
4176
- let l = sr(e, h);
4161
+ let l = tr(e, h);
4177
4162
  if (!l)
4178
4163
  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;
4179
4164
  else if (typeof l != "string")
@@ -4184,7 +4169,7 @@ const oe = (e, t) => {
4184
4169
  return l;
4185
4170
  let c = l;
4186
4171
  try {
4187
- c = Ci(l, h).format(a);
4172
+ c = Ni(l, h).format(a);
4188
4173
  } catch (f) {
4189
4174
  f instanceof Error && console.warn(
4190
4175
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4192,20 +4177,20 @@ const oe = (e, t) => {
4192
4177
  );
4193
4178
  }
4194
4179
  return c;
4195
- }, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Ni(t).format(e), Ui = (e, t) => Ii(t).format(e), Di = (e, t = D()) => sr(e, t), Gi = Y([K, ue], () => Mi);
4180
+ }, Ci = (e, t) => Ii(t).format(e), Mi = (e, t) => Oi(t).format(e), $i = (e, t) => Pi(t).format(e), Ri = (e, t = D()) => tr(e, t), Ui = Y([K, he], () => Li);
4181
+ Y([K], () => Ci);
4182
+ Y([K], () => Mi);
4196
4183
  Y([K], () => $i);
4197
- Y([K], () => Ri);
4198
- Y([K], () => Ui);
4199
- Y([K, ue], () => Di);
4200
- window.emWidgets = { topic: Kr };
4201
- const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4202
- function Ot(e, t) {
4203
- ur(e, t);
4204
- }
4205
- function ji(e) {
4184
+ Y([K, he], () => Ri);
4185
+ window.emWidgets = { topic: Qr };
4186
+ const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4187
+ function wt(e, t) {
4188
+ nr(e, t);
4189
+ }
4190
+ function Gi(e) {
4206
4191
  K.set(e);
4207
4192
  }
4208
- const It = {
4193
+ const Bt = {
4209
4194
  en: {
4210
4195
  titleTransactionHistory: "Transaction History",
4211
4196
  loading: "Loading, please wait ..."
@@ -4247,49 +4232,72 @@ const It = {
4247
4232
  loading: "Loading, please wait ..."
4248
4233
  }
4249
4234
  };
4250
- function ki(e) {
4251
- _r(e, "svelte-1oqxq1j", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{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))}.TransactionHistoryTitle{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)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
4235
+ function Fi(e, t) {
4236
+ if (e) {
4237
+ const r = document.createElement("style");
4238
+ r.innerHTML = t, e.appendChild(r);
4239
+ }
4240
+ }
4241
+ function ji(e, t) {
4242
+ const r = new URL(t);
4243
+ fetch(r.href).then((n) => n.text()).then((n) => {
4244
+ const i = document.createElement("style");
4245
+ i.innerHTML = n, e && e.appendChild(i);
4246
+ }).catch((n) => {
4247
+ console.error("There was an error while trying to load client styling from URL", n);
4248
+ });
4249
+ }
4250
+ function ki(e, t, r) {
4251
+ if (window.emMessageBus) {
4252
+ const n = document.createElement("style");
4253
+ window.emMessageBus.subscribe(t, (i) => {
4254
+ n.innerHTML = i, e && e.appendChild(n);
4255
+ });
4256
+ }
4252
4257
  }
4253
4258
  function Vi(e) {
4259
+ dr(e, "svelte-1oqxq1j", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{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))}.TransactionHistoryTitle{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)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
4260
+ }
4261
+ function Xi(e) {
4254
4262
  let t, r, n, i, o, s, a, h, u, l, c = (
4255
4263
  /*$_*/
4256
4264
  e[3]("titleTransactionHistory") + ""
4257
4265
  ), f, p, v;
4258
4266
  return {
4259
4267
  c() {
4260
- t = L("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 = L("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", "TransactionHistoryTitleMobile"), E(t, "class", "MenuReturnButton");
4268
+ 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 = Ne(), 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", "TransactionHistoryTitleMobile"), E(t, "class", "MenuReturnButton");
4261
4269
  },
4262
- m(d, T) {
4263
- ae(d, t, T), 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 || (v = Tr(
4270
+ m(m, T) {
4271
+ ue(m, t, T), 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 || (v = gr(
4264
4272
  t,
4265
4273
  "click",
4266
4274
  /*click_handler*/
4267
- e[13]
4275
+ e[14]
4268
4276
  ), p = !0);
4269
4277
  },
4270
- p(d, T) {
4278
+ p(m, T) {
4271
4279
  T & /*$_*/
4272
4280
  8 && c !== (c = /*$_*/
4273
- d[3]("titleTransactionHistory") + "") && Je(f, c);
4281
+ m[3]("titleTransactionHistory") + "") && Qe(f, c);
4274
4282
  },
4275
- d(d) {
4276
- d && J(t), p = !1, v();
4283
+ d(m) {
4284
+ m && J(t), p = !1, v();
4277
4285
  }
4278
4286
  };
4279
4287
  }
4280
- function Xi(e) {
4288
+ function Wi(e) {
4281
4289
  let t, r, n;
4282
4290
  return {
4283
4291
  c() {
4284
- t = L("div"), r = L("iframe"), ut(r.src, n = /*iframeUrl*/
4292
+ t = N("div"), r = N("iframe"), it(r.src, n = /*iframeUrl*/
4285
4293
  e[2]) || E(r, "src", n), E(r, "title", "Transaction History Iframe"), E(t, "class", "TransactionHistoryIframeWrapper");
4286
4294
  },
4287
4295
  m(i, o) {
4288
- ae(i, t, o), x(t, r);
4296
+ ue(i, t, o), x(t, r);
4289
4297
  },
4290
4298
  p(i, o) {
4291
4299
  o & /*iframeUrl*/
4292
- 4 && !ut(r.src, n = /*iframeUrl*/
4300
+ 4 && !it(r.src, n = /*iframeUrl*/
4293
4301
  i[2]) && E(r, "src", n);
4294
4302
  },
4295
4303
  d(i) {
@@ -4297,144 +4305,135 @@ function Xi(e) {
4297
4305
  }
4298
4306
  };
4299
4307
  }
4300
- function Wi(e) {
4308
+ function zi(e) {
4301
4309
  let t, r = (
4302
4310
  /*$_*/
4303
4311
  e[3]("loading") + ""
4304
4312
  ), n;
4305
4313
  return {
4306
4314
  c() {
4307
- t = L("p"), n = ne(r);
4315
+ t = N("p"), n = ne(r);
4308
4316
  },
4309
4317
  m(i, o) {
4310
- ae(i, t, o), x(t, n);
4318
+ ue(i, t, o), x(t, n);
4311
4319
  },
4312
4320
  p(i, o) {
4313
4321
  o & /*$_*/
4314
4322
  8 && r !== (r = /*$_*/
4315
- i[3]("loading") + "") && Je(n, r);
4323
+ i[3]("loading") + "") && Qe(n, r);
4316
4324
  },
4317
4325
  d(i) {
4318
4326
  i && J(t);
4319
4327
  }
4320
4328
  };
4321
4329
  }
4322
- function zi(e) {
4330
+ function Zi(e) {
4323
4331
  let t, r, n, i = (
4324
4332
  /*$_*/
4325
4333
  e[3]("titleTransactionHistory") + ""
4326
4334
  ), o, s, a = (
4327
4335
  /*isMobile*/
4328
- e[4] && Vi(e)
4336
+ e[4] && Xi(e)
4329
4337
  );
4330
4338
  function h(c, f) {
4331
4339
  return (
4332
4340
  /*isLoading*/
4333
- c[1] ? Wi : Xi
4341
+ c[1] ? zi : Wi
4334
4342
  );
4335
4343
  }
4336
4344
  let u = h(e), l = u(e);
4337
4345
  return {
4338
4346
  c() {
4339
- t = L("div"), a && a.c(), r = Le(), n = L("h2"), o = ne(i), s = Le(), l.c(), E(n, "class", "TransactionHistoryTitle " + /*isMobile*/
4347
+ t = N("div"), a && a.c(), r = Ne(), n = N("h2"), o = ne(i), s = Ne(), l.c(), E(n, "class", "TransactionHistoryTitle " + /*isMobile*/
4340
4348
  (e[4] ? "TransactionHistoryTitleNone" : "")), E(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
4341
4349
  (e[4] ? "TransactionHistoryWrapperMobile" : ""));
4342
4350
  },
4343
4351
  m(c, f) {
4344
- 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[14](t);
4352
+ 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);
4345
4353
  },
4346
4354
  p(c, [f]) {
4347
4355
  /*isMobile*/
4348
4356
  c[4] && a.p(c, f), f & /*$_*/
4349
4357
  8 && i !== (i = /*$_*/
4350
- c[3]("titleTransactionHistory") + "") && Je(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
4358
+ c[3]("titleTransactionHistory") + "") && Qe(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
4351
4359
  },
4352
- i: P,
4353
- o: P,
4360
+ i: B,
4361
+ o: B,
4354
4362
  d(c) {
4355
- c && J(t), a && a.d(), l.d(), e[14](null);
4363
+ c && J(t), a && a.d(), l.d(), e[15](null);
4356
4364
  }
4357
4365
  };
4358
4366
  }
4359
- function Zi(e, t, r) {
4367
+ function qi(e, t, r) {
4360
4368
  let n;
4361
- vr(e, Gi, (g) => r(3, n = g));
4362
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, c, f = window.navigator.userAgent, p = Fi(f) !== "PC", v = !0, d = "";
4363
- const T = () => {
4364
- fetch(l).then((A) => A.json()).then((A) => {
4365
- Object.keys(A).forEach((w) => {
4366
- Ot(w, A[w]);
4369
+ mr(e, Ui, (g) => r(3, n = g));
4370
+ 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, v = Di(p) !== "PC", m = !0, T = "";
4371
+ const R = () => {
4372
+ fetch(c).then((C) => C.json()).then((C) => {
4373
+ Object.keys(C).forEach((M) => {
4374
+ wt(M, C[M]);
4367
4375
  });
4368
- }).catch((A) => {
4369
- console.log(A);
4376
+ }).catch((C) => {
4377
+ console.log(C);
4370
4378
  });
4371
4379
  };
4372
- Object.keys(It).forEach((g) => {
4373
- Ot(g, It[g]);
4380
+ Object.keys(Bt).forEach((g) => {
4381
+ wt(g, Bt[g]);
4374
4382
  });
4375
- const M = () => {
4383
+ const P = () => {
4376
4384
  window.postMessage(
4377
4385
  {
4378
4386
  type: "PlayerAccountMenuActive",
4379
- isMobile: p
4387
+ isMobile: v
4380
4388
  },
4381
4389
  window.location.href
4382
4390
  );
4383
- }, $ = () => {
4391
+ }, S = () => {
4384
4392
  let g = new URL(`${i}/v1/player/${s}/hostedcashier/customertransactionhistoryurl`);
4385
4393
  g.searchParams.append("language", a);
4386
- let A = {
4394
+ let C = {
4387
4395
  method: "GET",
4388
4396
  headers: {
4389
4397
  "X-SessionId": o,
4390
4398
  accept: "application/json"
4391
4399
  }
4392
4400
  };
4393
- fetch(g.href, A).then((w) => w.json()).then(
4394
- (w) => {
4395
- r(1, v = !1), r(2, d = w.CashierUrl);
4401
+ fetch(g.href, C).then((M) => M.json()).then(
4402
+ (M) => {
4403
+ r(1, m = !1), r(2, T = M.CashierUrl);
4396
4404
  },
4397
- (w) => {
4398
- console.error(w);
4405
+ (M) => {
4406
+ console.error(M);
4399
4407
  }
4400
4408
  );
4401
- }, S = () => {
4402
- ji(a);
4403
4409
  }, U = () => {
4404
- let g = document.createElement("style");
4405
- g.innerHTML = h, c.appendChild(g);
4406
- }, O = () => {
4407
- let g = new URL(u), A = document.createElement("style");
4408
- fetch(g.href).then((w) => w.text()).then((w) => {
4409
- A.innerHTML = w, setTimeout(
4410
- () => {
4411
- c.appendChild(A);
4412
- },
4413
- 1
4414
- );
4415
- });
4416
- }, G = () => M();
4417
- function he(g) {
4418
- Ce[g ? "unshift" : "push"](() => {
4419
- c = g, r(0, c);
4410
+ Gi(a);
4411
+ };
4412
+ xr(() => () => {
4413
+ });
4414
+ const O = () => P();
4415
+ function G(g) {
4416
+ Le[g ? "unshift" : "push"](() => {
4417
+ f = g, r(0, f);
4420
4418
  });
4421
4419
  }
4422
4420
  return e.$$set = (g) => {
4423
- "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), "translationurl" in g && r(12, l = g.translationurl);
4421
+ "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);
4424
4422
  }, e.$$.update = () => {
4425
4423
  e.$$.dirty & /*lang*/
4426
- 512 && a && S(), e.$$.dirty & /*session, playerid, endpoint, lang*/
4427
- 960 && o && s && i && a && $(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4428
- 2049 && u && c && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4429
- 1025 && h && c && U(), e.$$.dirty & /*translationurl*/
4430
- 4096 && l && T();
4424
+ 512 && a && U(), e.$$.dirty & /*session, playerid, endpoint, lang*/
4425
+ 960 && o && s && i && a && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4426
+ 1025 && h && f && Fi(f, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4427
+ 2049 && u && f && ji(f, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4428
+ 4097 && l && f && ki(f, `${l}.Style`), e.$$.dirty & /*translationurl*/
4429
+ 8192 && c && R();
4431
4430
  }, [
4432
- c,
4433
- v,
4434
- d,
4431
+ f,
4432
+ m,
4433
+ T,
4435
4434
  n,
4436
- p,
4437
- M,
4435
+ v,
4436
+ P,
4438
4437
  i,
4439
4438
  o,
4440
4439
  s,
@@ -4442,18 +4441,19 @@ function Zi(e, t, r) {
4442
4441
  h,
4443
4442
  u,
4444
4443
  l,
4445
- G,
4446
- he
4444
+ c,
4445
+ O,
4446
+ G
4447
4447
  ];
4448
4448
  }
4449
- class qi extends Rr {
4449
+ class Qi extends Cr {
4450
4450
  constructor(t) {
4451
- super(), Mr(
4451
+ super(), Nr(
4452
4452
  this,
4453
4453
  t,
4454
+ qi,
4454
4455
  Zi,
4455
- zi,
4456
- Lt,
4456
+ Pt,
4457
4457
  {
4458
4458
  endpoint: 6,
4459
4459
  session: 7,
@@ -4461,55 +4461,62 @@ class qi extends Rr {
4461
4461
  lang: 9,
4462
4462
  clientstyling: 10,
4463
4463
  clientstylingurl: 11,
4464
- translationurl: 12
4464
+ mbsource: 12,
4465
+ translationurl: 13
4465
4466
  },
4466
- ki
4467
+ Vi
4467
4468
  );
4468
4469
  }
4469
4470
  get endpoint() {
4470
4471
  return this.$$.ctx[6];
4471
4472
  }
4472
4473
  set endpoint(t) {
4473
- this.$$set({ endpoint: t }), I();
4474
+ this.$$set({ endpoint: t }), A();
4474
4475
  }
4475
4476
  get session() {
4476
4477
  return this.$$.ctx[7];
4477
4478
  }
4478
4479
  set session(t) {
4479
- this.$$set({ session: t }), I();
4480
+ this.$$set({ session: t }), A();
4480
4481
  }
4481
4482
  get playerid() {
4482
4483
  return this.$$.ctx[8];
4483
4484
  }
4484
4485
  set playerid(t) {
4485
- this.$$set({ playerid: t }), I();
4486
+ this.$$set({ playerid: t }), A();
4486
4487
  }
4487
4488
  get lang() {
4488
4489
  return this.$$.ctx[9];
4489
4490
  }
4490
4491
  set lang(t) {
4491
- this.$$set({ lang: t }), I();
4492
+ this.$$set({ lang: t }), A();
4492
4493
  }
4493
4494
  get clientstyling() {
4494
4495
  return this.$$.ctx[10];
4495
4496
  }
4496
4497
  set clientstyling(t) {
4497
- this.$$set({ clientstyling: t }), I();
4498
+ this.$$set({ clientstyling: t }), A();
4498
4499
  }
4499
4500
  get clientstylingurl() {
4500
4501
  return this.$$.ctx[11];
4501
4502
  }
4502
4503
  set clientstylingurl(t) {
4503
- this.$$set({ clientstylingurl: t }), I();
4504
+ this.$$set({ clientstylingurl: t }), A();
4504
4505
  }
4505
- get translationurl() {
4506
+ get mbsource() {
4506
4507
  return this.$$.ctx[12];
4507
4508
  }
4509
+ set mbsource(t) {
4510
+ this.$$set({ mbsource: t }), A();
4511
+ }
4512
+ get translationurl() {
4513
+ return this.$$.ctx[13];
4514
+ }
4508
4515
  set translationurl(t) {
4509
- this.$$set({ translationurl: t }), I();
4516
+ this.$$set({ translationurl: t }), A();
4510
4517
  }
4511
4518
  }
4512
- $r(qi, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4519
+ Lr(Qi, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4513
4520
  export {
4514
- qi as default
4521
+ Qi as default
4515
4522
  };