@everymatrix/player-account-gaming-limits-wrapper-2 1.76.3 → 1.76.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/components/{PlayerAccountGamingLimitsHistory2-D0vDUU9k.js → PlayerAccountGamingLimitsHistory2-BNsAmZYN.js} +1087 -1052
  2. package/components/PlayerAccountGamingLimitsHistory2-BsSmOM97.cjs +18 -0
  3. package/components/{PlayerAccountGamingLimitsHistory2-D18-oBtE.js → PlayerAccountGamingLimitsHistory2-Cpa0GVk9.js} +1121 -1086
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-BRZUBbol.js → PlayerAccountGamingLimitsPage2Gm16-C4T6vq9t.js} +124 -124
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-hDnAndqZ.js → PlayerAccountGamingLimitsPage2Gm16-CPCTdyDi.js} +132 -132
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16-20gFr2-R.cjs → PlayerAccountGamingLimitsPage2Gm16-CvUb_cTs.cjs} +4 -4
  7. package/components/{PlayerAccountGamingLimitsWrapper2-C79R8sKm.js → PlayerAccountGamingLimitsWrapper2-BKi_F80L.js} +37 -37
  8. package/components/{PlayerAccountGamingLimitsWrapper2-Dm5O7cwB.cjs → PlayerAccountGamingLimitsWrapper2-DPejbZI6.cjs} +1 -1
  9. package/components/{PlayerAccountGamingLimitsWrapper2-C3oq05WD.js → PlayerAccountGamingLimitsWrapper2-DnlAm1wo.js} +45 -45
  10. package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
  11. package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
  12. package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-BeKKnKhR.js +519 -0
  15. package/stencil/index-b2193545-HC0t7mHa.js +503 -0
  16. package/stencil/index-b2193545-YW9b062G.cjs +1 -0
  17. package/stencil/{ui-skeleton-bhljBTS7.cjs → ui-skeleton-BL4789dS.cjs} +1 -1
  18. package/stencil/{ui-skeleton-CJbkvgG7.js → ui-skeleton-Ca5rz3Hv.js} +2 -2
  19. package/stencil/{ui-skeleton-ae35c6f2-ZB0isFAq.js → ui-skeleton-ae35c6f2-BDBUiN3S.js} +1 -1
  20. package/stencil/{ui-skeleton-ae35c6f2-gun6WX2F.js → ui-skeleton-ae35c6f2-Cn0ZM_hs.js} +1 -1
  21. package/stencil/{ui-skeleton-ae35c6f2-CXlvqczG.cjs → ui-skeleton-ae35c6f2-xLf3HyeB.cjs} +1 -1
  22. package/stencil/{ui-skeleton-BKDs0-7H.js → ui-skeleton-hI4GeaLk.js} +2 -2
  23. package/components/PlayerAccountGamingLimitsHistory2-CTnjW3xp.cjs +0 -18
  24. package/stencil/index-b2193545-BbCeNxUG.js +0 -519
  25. package/stencil/index-b2193545-C9PH-6qK.js +0 -503
  26. package/stencil/index-b2193545-D-u-gzj3.cjs +0 -1
@@ -1,35 +1,35 @@
1
- var Gr = Object.defineProperty, Fr = Object.defineProperties;
2
- var jr = Object.getOwnPropertyDescriptors;
3
- var pt = Object.getOwnPropertySymbols;
4
- var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
- var $e = (e, t, r) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
1
+ var Vr = Object.defineProperty, Wr = Object.defineProperties;
2
+ var Xr = Object.getOwnPropertyDescriptors;
3
+ var vt = Object.getOwnPropertySymbols;
4
+ var zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable;
5
+ var Fe = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- kr.call(t, r) && $e(e, r, t[r]);
8
- if (pt)
9
- for (var r of pt(t))
10
- Vr.call(t, r) && $e(e, r, t[r]);
7
+ zr.call(t, r) && Fe(e, r, t[r]);
8
+ if (vt)
9
+ for (var r of vt(t))
10
+ Zr.call(t, r) && Fe(e, r, t[r]);
11
11
  return e;
12
- }, yt = (e, t) => Fr(e, jr(t));
13
- var I = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var gt = (e, t, r) => new Promise((i, n) => {
15
- var s = (l) => {
12
+ }, _t = (e, t) => Wr(e, Xr(t));
13
+ var O = (e, t, r) => (Fe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Et = (e, t, r) => new Promise((i, n) => {
15
+ var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
18
18
  } catch (u) {
19
19
  n(u);
20
20
  }
21
- }, o = (l) => {
21
+ }, s = (l) => {
22
22
  try {
23
23
  a(r.throw(l));
24
24
  } catch (u) {
25
25
  n(u);
26
26
  }
27
- }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(s, o);
27
+ }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function O() {
30
+ function B() {
31
31
  }
32
- function Wr(e, t) {
32
+ function Qr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,67 +37,67 @@ function Wr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Wt(e) {
40
+ function Qt(e) {
41
41
  return e();
42
42
  }
43
- function bt() {
43
+ function xt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function ne(e) {
47
- e.forEach(Wt);
46
+ function ie(e) {
47
+ e.forEach(Qt);
48
48
  }
49
- function ht(e) {
49
+ function dt(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Xt(e, t) {
52
+ function Yt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function Xr(e) {
55
+ function Yr(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function zt(e, ...t) {
58
+ function Jt(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const i of t)
61
61
  i(void 0);
62
- return O;
62
+ return B;
63
63
  }
64
64
  const r = e.subscribe(...t);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function zr(e, t, r) {
68
- e.$$.on_destroy.push(zt(t, r));
67
+ function Jr(e, t, r) {
68
+ e.$$.on_destroy.push(Jt(t, r));
69
69
  }
70
- function Os(e, t, r, i) {
70
+ function Do(e, t, r, i) {
71
71
  if (e) {
72
- const n = Zt(e, t, r, i);
72
+ const n = qt(e, t, r, i);
73
73
  return e[0](n);
74
74
  }
75
75
  }
76
- function Zt(e, t, r, i) {
77
- return e[1] && i ? Wr(r.ctx.slice(), e[1](i(t))) : r.ctx;
76
+ function qt(e, t, r, i) {
77
+ return e[1] && i ? Qr(r.ctx.slice(), e[1](i(t))) : r.ctx;
78
78
  }
79
- function Cs(e, t, r, i) {
79
+ function Uo(e, t, r, i) {
80
80
  if (e[2] && i) {
81
81
  const n = e[2](i(r));
82
82
  if (t.dirty === void 0)
83
83
  return n;
84
84
  if (typeof n == "object") {
85
- const s = [], o = Math.max(t.dirty.length, n.length);
86
- for (let a = 0; a < o; a += 1)
87
- s[a] = t.dirty[a] | n[a];
88
- return s;
85
+ const o = [], s = Math.max(t.dirty.length, n.length);
86
+ for (let a = 0; a < s; a += 1)
87
+ o[a] = t.dirty[a] | n[a];
88
+ return o;
89
89
  }
90
90
  return t.dirty | n;
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function Ns(e, t, r, i, n, s) {
94
+ function $o(e, t, r, i, n, o) {
95
95
  if (n) {
96
- const o = Zt(t, r, i, s);
97
- e.p(o, n);
96
+ const s = qt(t, r, i, o);
97
+ e.p(s, n);
98
98
  }
99
99
  }
100
- function Ms(e) {
100
+ function Go(e) {
101
101
  if (e.ctx.length > 32) {
102
102
  const t = [], r = e.ctx.length / 32;
103
103
  for (let i = 0; i < r; i++)
@@ -106,20 +106,20 @@ function Ms(e) {
106
106
  }
107
107
  return -1;
108
108
  }
109
- function vt(e) {
109
+ function Tt(e) {
110
110
  return e == null ? "" : e;
111
111
  }
112
- function T(e, t) {
112
+ function x(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
- function Zr(e, t, r) {
116
- const i = Qr(e);
115
+ function qr(e, t, r) {
116
+ const i = Kr(e);
117
117
  if (!i.getElementById(t)) {
118
118
  const n = A("style");
119
- n.id = t, n.textContent = r, Yr(i, n);
119
+ n.id = t, n.textContent = r, ei(i, n);
120
120
  }
121
121
  }
122
- function Qr(e) {
122
+ function Kr(e) {
123
123
  if (!e)
124
124
  return document;
125
125
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -129,8 +129,8 @@ function Qr(e) {
129
129
  t
130
130
  ) : e.ownerDocument;
131
131
  }
132
- function Yr(e, t) {
133
- return T(
132
+ function ei(e, t) {
133
+ return x(
134
134
  /** @type {Document} */
135
135
  e.head || e,
136
136
  t
@@ -139,10 +139,10 @@ function Yr(e, t) {
139
139
  function W(e, t, r) {
140
140
  e.insertBefore(t, r || null);
141
141
  }
142
- function F(e) {
142
+ function j(e) {
143
143
  e.parentNode && e.parentNode.removeChild(e);
144
144
  }
145
- function Jr(e, t) {
145
+ function ti(e, t) {
146
146
  for (let r = 0; r < e.length; r += 1)
147
147
  e[r] && e[r].d(t);
148
148
  }
@@ -152,42 +152,42 @@ function A(e) {
152
152
  function xe(e) {
153
153
  return document.createElementNS("http://www.w3.org/2000/svg", e);
154
154
  }
155
- function R(e) {
155
+ function D(e) {
156
156
  return document.createTextNode(e);
157
157
  }
158
- function Ze() {
159
- return R(" ");
158
+ function Je() {
159
+ return D(" ");
160
160
  }
161
- function Rs() {
162
- return R("");
161
+ function Fo() {
162
+ return D("");
163
163
  }
164
- function qr(e, t, r, i) {
164
+ function ri(e, t, r, i) {
165
165
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
166
166
  }
167
- function x(e, t, r) {
167
+ function E(e, t, r) {
168
168
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
169
169
  }
170
- function Ds(e, t, r) {
170
+ function jo(e, t, r) {
171
171
  const i = t.toLowerCase();
172
- i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
172
+ i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
173
173
  }
174
- function Us(e) {
174
+ function ko(e) {
175
175
  return e === "" ? null : +e;
176
176
  }
177
- function Kr(e) {
177
+ function ii(e) {
178
178
  return Array.from(e.childNodes);
179
179
  }
180
180
  function V(e, t) {
181
181
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
182
182
  t);
183
183
  }
184
- function $s(e, t) {
184
+ function Vo(e, t) {
185
185
  e.value = t == null ? "" : t;
186
186
  }
187
- function Gs(e, t, r, i) {
187
+ function Wo(e, t, r, i) {
188
188
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
189
189
  }
190
- function Fs(e, t, r) {
190
+ function Xo(e, t, r) {
191
191
  for (let i = 0; i < e.options.length; i += 1) {
192
192
  const n = e.options[i];
193
193
  if (n.__value === t) {
@@ -197,28 +197,28 @@ function Fs(e, t, r) {
197
197
  }
198
198
  (!r || t !== void 0) && (e.selectedIndex = -1);
199
199
  }
200
- function js(e) {
200
+ function zo(e) {
201
201
  const t = e.querySelector(":checked");
202
202
  return t && t.__value;
203
203
  }
204
204
  function ve(e, t, r) {
205
205
  e.classList.toggle(t, !!r);
206
206
  }
207
- class ks {
207
+ class Zo {
208
208
  constructor(t = !1) {
209
209
  /**
210
210
  * @private
211
211
  * @default false
212
212
  */
213
- I(this, "is_svg", !1);
213
+ O(this, "is_svg", !1);
214
214
  /** parent for creating node */
215
- I(this, "e");
215
+ O(this, "e");
216
216
  /** html tag nodes */
217
- I(this, "n");
217
+ O(this, "n");
218
218
  /** target */
219
- I(this, "t");
219
+ O(this, "t");
220
220
  /** anchor */
221
- I(this, "a");
221
+ O(this, "a");
222
222
  this.is_svg = t, this.e = this.n = null;
223
223
  }
224
224
  /**
@@ -271,10 +271,10 @@ class ks {
271
271
  /**
272
272
  * @returns {void} */
273
273
  d() {
274
- this.n.forEach(F);
274
+ this.n.forEach(j);
275
275
  }
276
276
  }
277
- function ei(e) {
277
+ function ni(e) {
278
278
  const t = {};
279
279
  return e.childNodes.forEach(
280
280
  /** @param {Element} node */
@@ -283,69 +283,69 @@ function ei(e) {
283
283
  }
284
284
  ), t;
285
285
  }
286
- let ce;
287
- function he(e) {
288
- ce = e;
286
+ let he;
287
+ function le(e) {
288
+ he = e;
289
289
  }
290
- function ti() {
291
- if (!ce)
290
+ function oi() {
291
+ if (!he)
292
292
  throw new Error("Function called outside component initialization");
293
- return ce;
293
+ return he;
294
294
  }
295
- function ri(e) {
296
- ti().$$.on_mount.push(e);
295
+ function si(e) {
296
+ oi().$$.on_mount.push(e);
297
297
  }
298
298
  const J = [], Pe = [];
299
299
  let q = [];
300
- const _t = [], ii = /* @__PURE__ */ Promise.resolve();
301
- let Qe = !1;
302
- function ni() {
303
- Qe || (Qe = !0, ii.then(C));
300
+ const Lt = [], ai = /* @__PURE__ */ Promise.resolve();
301
+ let qe = !1;
302
+ function ui() {
303
+ qe || (qe = !0, ai.then(C));
304
304
  }
305
- function Ye(e) {
305
+ function Ke(e) {
306
306
  q.push(e);
307
307
  }
308
- const Ge = /* @__PURE__ */ new Set();
308
+ const je = /* @__PURE__ */ new Set();
309
309
  let Q = 0;
310
310
  function C() {
311
311
  if (Q !== 0)
312
312
  return;
313
- const e = ce;
313
+ const e = he;
314
314
  do {
315
315
  try {
316
316
  for (; Q < J.length; ) {
317
317
  const t = J[Q];
318
- Q++, he(t), si(t.$$);
318
+ Q++, le(t), li(t.$$);
319
319
  }
320
320
  } catch (t) {
321
321
  throw J.length = 0, Q = 0, t;
322
322
  }
323
- for (he(null), J.length = 0, Q = 0; Pe.length; )
323
+ for (le(null), J.length = 0, Q = 0; Pe.length; )
324
324
  Pe.pop()();
325
325
  for (let t = 0; t < q.length; t += 1) {
326
326
  const r = q[t];
327
- Ge.has(r) || (Ge.add(r), r());
327
+ je.has(r) || (je.add(r), r());
328
328
  }
329
329
  q.length = 0;
330
330
  } while (J.length);
331
- for (; _t.length; )
332
- _t.pop()();
333
- Qe = !1, Ge.clear(), he(e);
331
+ for (; Lt.length; )
332
+ Lt.pop()();
333
+ qe = !1, je.clear(), le(e);
334
334
  }
335
- function si(e) {
335
+ function li(e) {
336
336
  if (e.fragment !== null) {
337
- e.update(), ne(e.before_update);
337
+ e.update(), ie(e.before_update);
338
338
  const t = e.dirty;
339
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
339
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
340
340
  }
341
341
  }
342
- function oi(e) {
342
+ function hi(e) {
343
343
  const t = [], r = [];
344
344
  q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), q = t;
345
345
  }
346
346
  const Te = /* @__PURE__ */ new Set();
347
347
  let z;
348
- function Vs() {
348
+ function Qo() {
349
349
  z = {
350
350
  r: 0,
351
351
  c: [],
@@ -353,13 +353,13 @@ function Vs() {
353
353
  // parent group
354
354
  };
355
355
  }
356
- function Ws() {
357
- z.r || ne(z.c), z = z.p;
356
+ function Yo() {
357
+ z.r || ie(z.c), z = z.p;
358
358
  }
359
- function ai(e, t) {
359
+ function ci(e, t) {
360
360
  e && e.i && (Te.delete(e), e.i(t));
361
361
  }
362
- function Xs(e, t, r, i) {
362
+ function Jo(e, t, r, i) {
363
363
  if (e && e.o) {
364
364
  if (Te.has(e))
365
365
  return;
@@ -369,34 +369,34 @@ function Xs(e, t, r, i) {
369
369
  } else
370
370
  i && i();
371
371
  }
372
- function Et(e) {
372
+ function St(e) {
373
373
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
374
374
  }
375
- function ui(e, t, r) {
375
+ function fi(e, t, r) {
376
376
  const { fragment: i, after_update: n } = e.$$;
377
- i && i.m(t, r), Ye(() => {
378
- const s = e.$$.on_mount.map(Wt).filter(ht);
379
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
380
- }), n.forEach(Ye);
377
+ i && i.m(t, r), Ke(() => {
378
+ const o = e.$$.on_mount.map(Qt).filter(dt);
379
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
380
+ }), n.forEach(Ke);
381
381
  }
382
- function li(e, t) {
382
+ function mi(e, t) {
383
383
  const r = e.$$;
384
- r.fragment !== null && (oi(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
384
+ r.fragment !== null && (hi(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
385
385
  }
386
- function hi(e, t) {
387
- e.$$.dirty[0] === -1 && (J.push(e), ni(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
386
+ function pi(e, t) {
387
+ e.$$.dirty[0] === -1 && (J.push(e), ui(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
388
388
  }
389
- function ci(e, t, r, i, n, s, o = null, a = [-1]) {
390
- const l = ce;
391
- he(e);
389
+ function di(e, t, r, i, n, o, s = null, a = [-1]) {
390
+ const l = he;
391
+ le(e);
392
392
  const u = e.$$ = {
393
393
  fragment: null,
394
394
  ctx: [],
395
395
  // state
396
- props: s,
397
- update: O,
396
+ props: o,
397
+ update: B,
398
398
  not_equal: n,
399
- bound: bt(),
399
+ bound: xt(),
400
400
  // lifecycle
401
401
  on_mount: [],
402
402
  on_destroy: [],
@@ -405,48 +405,48 @@ function ci(e, t, r, i, n, s, o = null, a = [-1]) {
405
405
  after_update: [],
406
406
  context: new Map(t.context || (l ? l.$$.context : [])),
407
407
  // everything else
408
- callbacks: bt(),
408
+ callbacks: xt(),
409
409
  dirty: a,
410
410
  skip_bound: !1,
411
411
  root: t.target || l.$$.root
412
412
  };
413
- o && o(u.root);
413
+ s && s(u.root);
414
414
  let h = !1;
415
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
416
- const y = d.length ? d[0] : f;
417
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && hi(e, c)), f;
418
- }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
415
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
416
+ const y = p.length ? p[0] : f;
417
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && pi(e, c)), f;
418
+ }) : [], u.update(), h = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
419
419
  if (t.hydrate) {
420
- const c = Kr(t.target);
421
- u.fragment && u.fragment.l(c), c.forEach(F);
420
+ const c = ii(t.target);
421
+ u.fragment && u.fragment.l(c), c.forEach(j);
422
422
  } else
423
423
  u.fragment && u.fragment.c();
424
- t.intro && ai(e.$$.fragment), ui(e, t.target, t.anchor), C();
424
+ t.intro && ci(e.$$.fragment), fi(e, t.target, t.anchor), C();
425
425
  }
426
- he(l);
426
+ le(l);
427
427
  }
428
- let Qt;
429
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
428
+ let Kt;
429
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
430
430
  constructor(t, r, i) {
431
431
  super();
432
432
  /** The Svelte component constructor */
433
- I(this, "$$ctor");
433
+ O(this, "$$ctor");
434
434
  /** Slots */
435
- I(this, "$$s");
435
+ O(this, "$$s");
436
436
  /** The Svelte component instance */
437
- I(this, "$$c");
437
+ O(this, "$$c");
438
438
  /** Whether or not the custom element is connected */
439
- I(this, "$$cn", !1);
439
+ O(this, "$$cn", !1);
440
440
  /** Component props data */
441
- I(this, "$$d", {});
441
+ O(this, "$$d", {});
442
442
  /** `true` if currently in the process of reflecting component props back to attributes */
443
- I(this, "$$r", !1);
443
+ O(this, "$$r", !1);
444
444
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
445
- I(this, "$$p_d", {});
445
+ O(this, "$$p_d", {});
446
446
  /** @type {Record<string, Function[]>} Event listeners */
447
- I(this, "$$l", {});
447
+ O(this, "$$l", {});
448
448
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
449
- I(this, "$$l_u", /* @__PURE__ */ new Map());
449
+ O(this, "$$l_u", /* @__PURE__ */ new Map());
450
450
  this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
451
451
  }
452
452
  addEventListener(t, r, i) {
@@ -463,42 +463,42 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
463
463
  }
464
464
  }
465
465
  connectedCallback() {
466
- return gt(this, null, function* () {
466
+ return Et(this, null, function* () {
467
467
  if (this.$$cn = !0, !this.$$c) {
468
- let t = function(s) {
468
+ let t = function(o) {
469
469
  return () => {
470
- let o;
470
+ let s;
471
471
  return {
472
472
  c: function() {
473
- o = A("slot"), s !== "default" && x(o, "name", s);
473
+ s = A("slot"), o !== "default" && E(s, "name", o);
474
474
  },
475
475
  /**
476
476
  * @param {HTMLElement} target
477
477
  * @param {HTMLElement} [anchor]
478
478
  */
479
479
  m: function(u, h) {
480
- W(u, o, h);
480
+ W(u, s, h);
481
481
  },
482
482
  d: function(u) {
483
- u && F(o);
483
+ u && j(s);
484
484
  }
485
485
  };
486
486
  };
487
487
  };
488
488
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
489
489
  return;
490
- const r = {}, i = ei(this);
491
- for (const s of this.$$s)
492
- s in i && (r[s] = [t(s)]);
493
- for (const s of this.attributes) {
494
- const o = this.$$g_p(s.name);
495
- o in this.$$d || (this.$$d[o] = Le(o, s.value, this.$$p_d, "toProp"));
490
+ const r = {}, i = ni(this);
491
+ for (const o of this.$$s)
492
+ o in i && (r[o] = [t(o)]);
493
+ for (const o of this.attributes) {
494
+ const s = this.$$g_p(o.name);
495
+ s in this.$$d || (this.$$d[s] = Le(s, o.value, this.$$p_d, "toProp"));
496
496
  }
497
- for (const s in this.$$p_d)
498
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
497
+ for (const o in this.$$p_d)
498
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
499
499
  this.$$c = new this.$$ctor({
500
500
  target: this.shadowRoot || this,
501
- props: yt(be({}, this.$$d), {
501
+ props: _t(be({}, this.$$d), {
502
502
  $$slots: r,
503
503
  $$scope: {
504
504
  ctx: []
@@ -507,23 +507,23 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
507
507
  });
508
508
  const n = () => {
509
509
  this.$$r = !0;
510
- for (const s in this.$$p_d)
511
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
512
- const o = Le(
513
- s,
514
- this.$$d[s],
510
+ for (const o in this.$$p_d)
511
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
512
+ const s = Le(
513
+ o,
514
+ this.$$d[o],
515
515
  this.$$p_d,
516
516
  "toAttribute"
517
517
  );
518
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
518
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
519
519
  }
520
520
  this.$$r = !1;
521
521
  };
522
522
  this.$$c.$$.after_update.push(n), n();
523
- for (const s in this.$$l)
524
- for (const o of this.$$l[s]) {
525
- const a = this.$$c.$on(s, o);
526
- this.$$l_u.set(o, a);
523
+ for (const o in this.$$l)
524
+ for (const s of this.$$l[o]) {
525
+ const a = this.$$c.$on(o, s);
526
+ this.$$l_u.set(s, a);
527
527
  }
528
528
  this.$$l = {};
529
529
  }
@@ -547,8 +547,8 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
547
547
  }
548
548
  });
549
549
  function Le(e, t, r, i) {
550
- var s;
551
- const n = (s = r[e]) == null ? void 0 : s.type;
550
+ var o;
551
+ const n = (o = r[e]) == null ? void 0 : o.type;
552
552
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
553
553
  return t;
554
554
  if (i === "toAttribute")
@@ -576,8 +576,8 @@ function Le(e, t, r, i) {
576
576
  return t;
577
577
  }
578
578
  }
579
- function fi(e, t, r, i, n, s) {
580
- let o = class extends Qt {
579
+ function yi(e, t, r, i, n, o) {
580
+ let s = class extends Kt {
581
581
  constructor() {
582
582
  super(e, r, n), this.$$p_d = t;
583
583
  }
@@ -588,7 +588,7 @@ function fi(e, t, r, i, n, s) {
588
588
  }
589
589
  };
590
590
  return Object.keys(t).forEach((a) => {
591
- Object.defineProperty(o.prototype, a, {
591
+ Object.defineProperty(s.prototype, a, {
592
592
  get() {
593
593
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
594
594
  },
@@ -598,16 +598,16 @@ function fi(e, t, r, i, n, s) {
598
598
  }
599
599
  });
600
600
  }), i.forEach((a) => {
601
- Object.defineProperty(o.prototype, a, {
601
+ Object.defineProperty(s.prototype, a, {
602
602
  get() {
603
603
  var l;
604
604
  return (l = this.$$c) == null ? void 0 : l[a];
605
605
  }
606
606
  });
607
607
  }), e.element = /** @type {any} */
608
- o, o;
608
+ s, s;
609
609
  }
610
- class mi {
610
+ class gi {
611
611
  constructor() {
612
612
  /**
613
613
  * ### PRIVATE API
@@ -616,7 +616,7 @@ class mi {
616
616
  *
617
617
  * @type {any}
618
618
  */
619
- I(this, "$$");
619
+ O(this, "$$");
620
620
  /**
621
621
  * ### PRIVATE API
622
622
  *
@@ -624,11 +624,11 @@ class mi {
624
624
  *
625
625
  * @type {any}
626
626
  */
627
- I(this, "$$set");
627
+ O(this, "$$set");
628
628
  }
629
629
  /** @returns {void} */
630
630
  $destroy() {
631
- li(this, 1), this.$destroy = O;
631
+ mi(this, 1), this.$destroy = B;
632
632
  }
633
633
  /**
634
634
  * @template {Extract<keyof Events, string>} K
@@ -637,8 +637,8 @@ class mi {
637
637
  * @returns {() => void}
638
638
  */
639
639
  $on(t, r) {
640
- if (!ht(r))
641
- return O;
640
+ if (!dt(r))
641
+ return B;
642
642
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
643
643
  return i.push(r), () => {
644
644
  const n = i.indexOf(r);
@@ -650,11 +650,11 @@ class mi {
650
650
  * @returns {void}
651
651
  */
652
652
  $set(t) {
653
- this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
653
+ this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
654
654
  }
655
655
  }
656
- const di = "4";
657
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(di);
656
+ const bi = "4";
657
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bi);
658
658
  /*! *****************************************************************************
659
659
  Copyright (c) Microsoft Corporation.
660
660
 
@@ -669,43 +669,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
669
669
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
670
670
  PERFORMANCE OF THIS SOFTWARE.
671
671
  ***************************************************************************** */
672
- var Je = function(e, t) {
673
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
672
+ var et = function(e, t) {
673
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
674
674
  r.__proto__ = i;
675
675
  } || function(r, i) {
676
676
  for (var n in i)
677
677
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
678
- }, Je(e, t);
678
+ }, et(e, t);
679
679
  };
680
- function j(e, t) {
680
+ function me(e, t) {
681
681
  if (typeof t != "function" && t !== null)
682
682
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
683
- Je(e, t);
683
+ et(e, t);
684
684
  function r() {
685
685
  this.constructor = e;
686
686
  }
687
687
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
688
688
  }
689
- var E = function() {
690
- return E = Object.assign || function(t) {
691
- for (var r, i = 1, n = arguments.length; i < n; i++) {
692
- r = arguments[i];
693
- for (var s in r)
694
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
695
- }
696
- return t;
697
- }, E.apply(this, arguments);
698
- };
699
- function pi(e, t) {
700
- var r = {};
701
- for (var i in e)
702
- Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
703
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
704
- for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
705
- t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
706
- return r;
707
- }
708
- function qe(e) {
689
+ function tt(e) {
709
690
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
710
691
  if (r)
711
692
  return r.call(e);
@@ -717,42 +698,42 @@ function qe(e) {
717
698
  };
718
699
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
719
700
  }
720
- function Ke(e, t) {
701
+ function rt(e, t) {
721
702
  var r = typeof Symbol == "function" && e[Symbol.iterator];
722
703
  if (!r)
723
704
  return e;
724
- var i = r.call(e), n, s = [], o;
705
+ var i = r.call(e), n, o = [], s;
725
706
  try {
726
707
  for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
727
- s.push(n.value);
708
+ o.push(n.value);
728
709
  } catch (a) {
729
- o = { error: a };
710
+ s = { error: a };
730
711
  } finally {
731
712
  try {
732
713
  n && !n.done && (r = i.return) && r.call(i);
733
714
  } finally {
734
- if (o)
735
- throw o.error;
715
+ if (s)
716
+ throw s.error;
736
717
  }
737
718
  }
738
- return s;
719
+ return o;
739
720
  }
740
- function K(e, t, r) {
741
- if (r || arguments.length === 2)
742
- for (var i = 0, n = t.length, s; i < n; i++)
743
- (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
744
- return e.concat(s || t);
721
+ function it(e, t, r) {
722
+ if (arguments.length === 2)
723
+ for (var i = 0, n = t.length, o; i < n; i++)
724
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
725
+ return e.concat(o || t);
745
726
  }
746
- function G(e) {
727
+ function F(e) {
747
728
  return typeof e == "function";
748
729
  }
749
- function Yt(e) {
730
+ function er(e) {
750
731
  var t = function(i) {
751
732
  Error.call(i), i.stack = new Error().stack;
752
733
  }, r = e(t);
753
734
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
754
735
  }
755
- var Fe = Yt(function(e) {
736
+ var ke = er(function(e) {
756
737
  return function(r) {
757
738
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
758
739
  ` + r.map(function(i, n) {
@@ -761,7 +742,7 @@ var Fe = Yt(function(e) {
761
742
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
762
743
  };
763
744
  });
764
- function et(e, t) {
745
+ function nt(e, t) {
765
746
  if (e) {
766
747
  var r = e.indexOf(t);
767
748
  0 <= r && e.splice(r, 1);
@@ -772,19 +753,19 @@ var Be = function() {
772
753
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
773
754
  }
774
755
  return e.prototype.unsubscribe = function() {
775
- var t, r, i, n, s;
756
+ var t, r, i, n, o;
776
757
  if (!this.closed) {
777
758
  this.closed = !0;
778
- var o = this._parentage;
779
- if (o)
780
- if (this._parentage = null, Array.isArray(o))
759
+ var s = this._parentage;
760
+ if (s)
761
+ if (this._parentage = null, Array.isArray(s))
781
762
  try {
782
- for (var a = qe(o), l = a.next(); !l.done; l = a.next()) {
763
+ for (var a = tt(s), l = a.next(); !l.done; l = a.next()) {
783
764
  var u = l.value;
784
765
  u.remove(this);
785
766
  }
786
- } catch (p) {
787
- t = { error: p };
767
+ } catch (d) {
768
+ t = { error: d };
788
769
  } finally {
789
770
  try {
790
771
  l && !l.done && (r = a.return) && r.call(a);
@@ -794,45 +775,45 @@ var Be = function() {
794
775
  }
795
776
  }
796
777
  else
797
- o.remove(this);
778
+ s.remove(this);
798
779
  var h = this.initialTeardown;
799
- if (G(h))
780
+ if (F(h))
800
781
  try {
801
782
  h();
802
- } catch (p) {
803
- s = p instanceof Fe ? p.errors : [p];
783
+ } catch (d) {
784
+ o = d instanceof ke ? d.errors : [d];
804
785
  }
805
786
  var c = this._finalizers;
806
787
  if (c) {
807
788
  this._finalizers = null;
808
789
  try {
809
- for (var f = qe(c), d = f.next(); !d.done; d = f.next()) {
810
- var y = d.value;
790
+ for (var f = tt(c), p = f.next(); !p.done; p = f.next()) {
791
+ var y = p.value;
811
792
  try {
812
- xt(y);
813
- } catch (p) {
814
- s = s != null ? s : [], p instanceof Fe ? s = K(K([], Ke(s)), Ke(p.errors)) : s.push(p);
793
+ wt(y);
794
+ } catch (d) {
795
+ o = o != null ? o : [], d instanceof ke ? o = it(it([], rt(o)), rt(d.errors)) : o.push(d);
815
796
  }
816
797
  }
817
- } catch (p) {
818
- i = { error: p };
798
+ } catch (d) {
799
+ i = { error: d };
819
800
  } finally {
820
801
  try {
821
- d && !d.done && (n = f.return) && n.call(f);
802
+ p && !p.done && (n = f.return) && n.call(f);
822
803
  } finally {
823
804
  if (i)
824
805
  throw i.error;
825
806
  }
826
807
  }
827
808
  }
828
- if (s)
829
- throw new Fe(s);
809
+ if (o)
810
+ throw new ke(o);
830
811
  }
831
812
  }, e.prototype.add = function(t) {
832
813
  var r;
833
814
  if (t && t !== this)
834
815
  if (this.closed)
835
- xt(t);
816
+ wt(t);
836
817
  else {
837
818
  if (t instanceof e) {
838
819
  if (t.closed || t._hasParent(this))
@@ -849,56 +830,52 @@ var Be = function() {
849
830
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
850
831
  }, e.prototype._removeParent = function(t) {
851
832
  var r = this._parentage;
852
- r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
833
+ r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
853
834
  }, e.prototype.remove = function(t) {
854
835
  var r = this._finalizers;
855
- r && et(r, t), t instanceof e && t._removeParent(this);
836
+ r && nt(r, t), t instanceof e && t._removeParent(this);
856
837
  }, e.EMPTY = function() {
857
838
  var t = new e();
858
839
  return t.closed = !0, t;
859
840
  }(), e;
860
- }(), Jt = Be.EMPTY;
861
- function qt(e) {
862
- return e instanceof Be || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
863
- }
864
- function xt(e) {
865
- G(e) ? e() : e.unsubscribe();
866
- }
867
- var yi = {
868
- onUnhandledError: null,
869
- onStoppedNotification: null,
870
- Promise: void 0,
871
- useDeprecatedSynchronousErrorHandling: !1,
872
- useDeprecatedNextContext: !1
873
- }, gi = {
841
+ }(), tr = Be.EMPTY;
842
+ function rr(e) {
843
+ return e instanceof Be || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
844
+ }
845
+ function wt(e) {
846
+ F(e) ? e() : e.unsubscribe();
847
+ }
848
+ var vi = {
849
+ Promise: void 0
850
+ }, _i = {
874
851
  setTimeout: function(e, t) {
875
852
  for (var r = [], i = 2; i < arguments.length; i++)
876
853
  r[i - 2] = arguments[i];
877
- return setTimeout.apply(void 0, K([e, t], Ke(r)));
854
+ return setTimeout.apply(void 0, it([e, t], rt(r)));
878
855
  },
879
856
  clearTimeout: function(e) {
880
857
  return clearTimeout(e);
881
858
  },
882
859
  delegate: void 0
883
860
  };
884
- function bi(e) {
885
- gi.setTimeout(function() {
861
+ function Ei(e) {
862
+ _i.setTimeout(function() {
886
863
  throw e;
887
864
  });
888
865
  }
889
- function Tt() {
866
+ function At() {
890
867
  }
891
868
  function Se(e) {
892
869
  e();
893
870
  }
894
- var Kt = function(e) {
895
- j(t, e);
871
+ var ir = function(e) {
872
+ me(t, e);
896
873
  function t(r) {
897
874
  var i = e.call(this) || this;
898
- return i.isStopped = !1, r ? (i.destination = r, qt(r) && r.add(i)) : i.destination = Ei, i;
875
+ return i.isStopped = !1, r ? (i.destination = r, rr(r) && r.add(i)) : i.destination = Li, i;
899
876
  }
900
877
  return t.create = function(r, i, n) {
901
- return new tt(r, i, n);
878
+ return new ot(r, i, n);
902
879
  }, t.prototype.next = function(r) {
903
880
  this.isStopped || this._next(r);
904
881
  }, t.prototype.error = function(r) {
@@ -922,7 +899,7 @@ var Kt = function(e) {
922
899
  this.unsubscribe();
923
900
  }
924
901
  }, t;
925
- }(Be), vi = function() {
902
+ }(Be), xi = function() {
926
903
  function e(t) {
927
904
  this.partialObserver = t;
928
905
  }
@@ -953,43 +930,43 @@ var Kt = function(e) {
953
930
  _e(r);
954
931
  }
955
932
  }, e;
956
- }(), tt = function(e) {
957
- j(t, e);
933
+ }(), ot = function(e) {
934
+ me(t, e);
958
935
  function t(r, i, n) {
959
- var s = e.call(this) || this, o;
960
- return G(r) || !r ? o = {
936
+ var o = e.call(this) || this, s;
937
+ return F(r) || !r ? s = {
961
938
  next: r != null ? r : void 0,
962
939
  error: i != null ? i : void 0,
963
940
  complete: n != null ? n : void 0
964
- } : o = r, s.destination = new vi(o), s;
941
+ } : s = r, o.destination = new xi(s), o;
965
942
  }
966
943
  return t;
967
- }(Kt);
944
+ }(ir);
968
945
  function _e(e) {
969
- bi(e);
946
+ Ei(e);
970
947
  }
971
- function _i(e) {
948
+ function Ti(e) {
972
949
  throw e;
973
950
  }
974
- var Ei = {
951
+ var Li = {
975
952
  closed: !0,
976
- next: Tt,
977
- error: _i,
978
- complete: Tt
979
- }, xi = function() {
953
+ next: At,
954
+ error: Ti,
955
+ complete: At
956
+ }, Si = function() {
980
957
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
981
958
  }();
982
- function Ti(e) {
959
+ function wi(e) {
983
960
  return e;
984
961
  }
985
- function Li(e) {
986
- return e.length === 0 ? Ti : e.length === 1 ? e[0] : function(r) {
962
+ function Ai(e) {
963
+ return e.length === 0 ? wi : e.length === 1 ? e[0] : function(r) {
987
964
  return e.reduce(function(i, n) {
988
965
  return n(i);
989
966
  }, r);
990
967
  };
991
968
  }
992
- var Lt = function() {
969
+ var Pt = function() {
993
970
  function e(t) {
994
971
  t && (this._subscribe = t);
995
972
  }
@@ -997,11 +974,11 @@ var Lt = function() {
997
974
  var r = new e();
998
975
  return r.source = this, r.operator = t, r;
999
976
  }, e.prototype.subscribe = function(t, r, i) {
1000
- var n = this, s = wi(t) ? t : new tt(t, r, i);
977
+ var n = this, o = Hi(t) ? t : new ot(t, r, i);
1001
978
  return Se(function() {
1002
- var o = n, a = o.operator, l = o.source;
1003
- s.add(a ? a.call(s, l) : l ? n._subscribe(s) : n._trySubscribe(s));
1004
- }), s;
979
+ var s = n, a = s.operator, l = s.source;
980
+ o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
981
+ }), o;
1005
982
  }, e.prototype._trySubscribe = function(t) {
1006
983
  try {
1007
984
  return this._subscribe(t);
@@ -1010,79 +987,79 @@ var Lt = function() {
1010
987
  }
1011
988
  }, e.prototype.forEach = function(t, r) {
1012
989
  var i = this;
1013
- return r = St(r), new r(function(n, s) {
1014
- var o = new tt({
990
+ return r = Ht(r), new r(function(n, o) {
991
+ var s = new ot({
1015
992
  next: function(a) {
1016
993
  try {
1017
994
  t(a);
1018
995
  } catch (l) {
1019
- s(l), o.unsubscribe();
996
+ o(l), s.unsubscribe();
1020
997
  }
1021
998
  },
1022
- error: s,
999
+ error: o,
1023
1000
  complete: n
1024
1001
  });
1025
- i.subscribe(o);
1002
+ i.subscribe(s);
1026
1003
  });
1027
1004
  }, e.prototype._subscribe = function(t) {
1028
1005
  var r;
1029
1006
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1030
- }, e.prototype[xi] = function() {
1007
+ }, e.prototype[Si] = function() {
1031
1008
  return this;
1032
1009
  }, e.prototype.pipe = function() {
1033
1010
  for (var t = [], r = 0; r < arguments.length; r++)
1034
1011
  t[r] = arguments[r];
1035
- return Li(t)(this);
1012
+ return Ai(t)(this);
1036
1013
  }, e.prototype.toPromise = function(t) {
1037
1014
  var r = this;
1038
- return t = St(t), new t(function(i, n) {
1039
- var s;
1040
- r.subscribe(function(o) {
1041
- return s = o;
1042
- }, function(o) {
1043
- return n(o);
1015
+ return t = Ht(t), new t(function(i, n) {
1016
+ var o;
1017
+ r.subscribe(function(s) {
1018
+ return o = s;
1019
+ }, function(s) {
1020
+ return n(s);
1044
1021
  }, function() {
1045
- return i(s);
1022
+ return i(o);
1046
1023
  });
1047
1024
  });
1048
1025
  }, e.create = function(t) {
1049
1026
  return new e(t);
1050
1027
  }, e;
1051
1028
  }();
1052
- function St(e) {
1029
+ function Ht(e) {
1053
1030
  var t;
1054
- return (t = e != null ? e : yi.Promise) !== null && t !== void 0 ? t : Promise;
1031
+ return (t = e != null ? e : vi.Promise) !== null && t !== void 0 ? t : Promise;
1055
1032
  }
1056
- function Si(e) {
1057
- return e && G(e.next) && G(e.error) && G(e.complete);
1033
+ function Pi(e) {
1034
+ return e && F(e.next) && F(e.error) && F(e.complete);
1058
1035
  }
1059
- function wi(e) {
1060
- return e && e instanceof Kt || Si(e) && qt(e);
1036
+ function Hi(e) {
1037
+ return e && e instanceof ir || Pi(e) && rr(e);
1061
1038
  }
1062
- var Ai = Yt(function(e) {
1039
+ var Oi = er(function(e) {
1063
1040
  return function() {
1064
1041
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1065
1042
  };
1066
- }), er = function(e) {
1067
- j(t, e);
1043
+ }), nr = function(e) {
1044
+ me(t, e);
1068
1045
  function t() {
1069
1046
  var r = e.call(this) || this;
1070
1047
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1071
1048
  }
1072
1049
  return t.prototype.lift = function(r) {
1073
- var i = new wt(this, this);
1050
+ var i = new Ot(this, this);
1074
1051
  return i.operator = r, i;
1075
1052
  }, t.prototype._throwIfClosed = function() {
1076
1053
  if (this.closed)
1077
- throw new Ai();
1054
+ throw new Oi();
1078
1055
  }, t.prototype.next = function(r) {
1079
1056
  var i = this;
1080
1057
  Se(function() {
1081
- var n, s;
1058
+ var n, o;
1082
1059
  if (i._throwIfClosed(), !i.isStopped) {
1083
1060
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
1084
1061
  try {
1085
- for (var o = qe(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
1062
+ for (var s = tt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
1086
1063
  var l = a.value;
1087
1064
  l.next(r);
1088
1065
  }
@@ -1090,7 +1067,7 @@ var Ai = Yt(function(e) {
1090
1067
  n = { error: u };
1091
1068
  } finally {
1092
1069
  try {
1093
- a && !a.done && (s = o.return) && s.call(o);
1070
+ a && !a.done && (o = s.return) && o.call(s);
1094
1071
  } finally {
1095
1072
  if (n)
1096
1073
  throw n.error;
@@ -1130,21 +1107,21 @@ var Ai = Yt(function(e) {
1130
1107
  }, t.prototype._subscribe = function(r) {
1131
1108
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1132
1109
  }, t.prototype._innerSubscribe = function(r) {
1133
- var i = this, n = this, s = n.hasError, o = n.isStopped, a = n.observers;
1134
- return s || o ? Jt : (this.currentObservers = null, a.push(r), new Be(function() {
1135
- i.currentObservers = null, et(a, r);
1110
+ var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
1111
+ return o || s ? tr : (this.currentObservers = null, a.push(r), new Be(function() {
1112
+ i.currentObservers = null, nt(a, r);
1136
1113
  }));
1137
1114
  }, t.prototype._checkFinalizedStatuses = function(r) {
1138
- var i = this, n = i.hasError, s = i.thrownError, o = i.isStopped;
1139
- n ? r.error(s) : o && r.complete();
1115
+ var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
1116
+ n ? r.error(o) : s && r.complete();
1140
1117
  }, t.prototype.asObservable = function() {
1141
- var r = new Lt();
1118
+ var r = new Pt();
1142
1119
  return r.source = this, r;
1143
1120
  }, t.create = function(r, i) {
1144
- return new wt(r, i);
1121
+ return new Ot(r, i);
1145
1122
  }, t;
1146
- }(Lt), wt = function(e) {
1147
- j(t, e);
1123
+ }(Pt), Ot = function(e) {
1124
+ me(t, e);
1148
1125
  function t(r, i) {
1149
1126
  var n = e.call(this) || this;
1150
1127
  return n.destination = r, n.source = i, n;
@@ -1160,54 +1137,54 @@ var Ai = Yt(function(e) {
1160
1137
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
1161
1138
  }, t.prototype._subscribe = function(r) {
1162
1139
  var i, n;
1163
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Jt;
1140
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : tr;
1164
1141
  }, t;
1165
- }(er), tr = {
1142
+ }(nr), or = {
1166
1143
  now: function() {
1167
- return (tr.delegate || Date).now();
1144
+ return (or.delegate || Date).now();
1168
1145
  },
1169
1146
  delegate: void 0
1170
- }, Pi = function(e) {
1171
- j(t, e);
1147
+ }, Ii = function(e) {
1148
+ me(t, e);
1172
1149
  function t(r, i, n) {
1173
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = tr);
1174
- var s = e.call(this) || this;
1175
- return s._bufferSize = r, s._windowTime = i, s._timestampProvider = n, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = i === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, i), s;
1150
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = or);
1151
+ var o = e.call(this) || this;
1152
+ return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
1176
1153
  }
1177
1154
  return t.prototype.next = function(r) {
1178
- var i = this, n = i.isStopped, s = i._buffer, o = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
1179
- n || (s.push(r), !o && s.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1155
+ var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
1156
+ n || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1180
1157
  }, t.prototype._subscribe = function(r) {
1181
1158
  this._throwIfClosed(), this._trimBuffer();
1182
- for (var i = this._innerSubscribe(r), n = this, s = n._infiniteTimeWindow, o = n._buffer, a = o.slice(), l = 0; l < a.length && !r.closed; l += s ? 1 : 2)
1159
+ for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1183
1160
  r.next(a[l]);
1184
1161
  return this._checkFinalizedStatuses(r), i;
1185
1162
  }, t.prototype._trimBuffer = function() {
1186
- var r = this, i = r._bufferSize, n = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * i;
1187
- if (i < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1188
- for (var l = n.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1163
+ var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
1164
+ if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1165
+ for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1189
1166
  u = h;
1190
- u && s.splice(0, u + 1);
1167
+ u && o.splice(0, u + 1);
1191
1168
  }
1192
1169
  }, t;
1193
- }(er);
1194
- const At = [], Pt = {}, Hi = (e, t = 0) => {
1195
- if (At.indexOf(e) == -1) {
1196
- const r = new Pi(t);
1197
- Pt[e] = r, At.push(e);
1170
+ }(nr);
1171
+ const It = [], Bt = {}, Bi = (e, t = 0) => {
1172
+ if (It.indexOf(e) == -1) {
1173
+ const r = new Ii(t);
1174
+ Bt[e] = r, It.push(e);
1198
1175
  }
1199
- return Pt[e];
1176
+ return Bt[e];
1200
1177
  }, Y = [];
1201
- function Ii(e, t) {
1178
+ function Ci(e, t) {
1202
1179
  return {
1203
- subscribe: Oe(e, t).subscribe
1180
+ subscribe: Ce(e, t).subscribe
1204
1181
  };
1205
1182
  }
1206
- function Oe(e, t = O) {
1183
+ function Ce(e, t = B) {
1207
1184
  let r;
1208
1185
  const i = /* @__PURE__ */ new Set();
1209
1186
  function n(a) {
1210
- if (Xt(e, a) && (e = a, r)) {
1187
+ if (Yt(e, a) && (e = a, r)) {
1211
1188
  const l = !Y.length;
1212
1189
  for (const u of i)
1213
1190
  u[1](), Y.push(u, e);
@@ -1218,156 +1195,195 @@ function Oe(e, t = O) {
1218
1195
  }
1219
1196
  }
1220
1197
  }
1221
- function s(a) {
1198
+ function o(a) {
1222
1199
  n(a(e));
1223
1200
  }
1224
- function o(a, l = O) {
1201
+ function s(a, l = B) {
1225
1202
  const u = [a, l];
1226
- return i.add(u), i.size === 1 && (r = t(n, s) || O), a(e), () => {
1203
+ return i.add(u), i.size === 1 && (r = t(n, o) || B), a(e), () => {
1227
1204
  i.delete(u), i.size === 0 && r && (r(), r = null);
1228
1205
  };
1229
1206
  }
1230
- return { set: n, update: s, subscribe: o };
1207
+ return { set: n, update: o, subscribe: s };
1231
1208
  }
1232
- function se(e, t, r) {
1209
+ function ne(e, t, r) {
1233
1210
  const i = !Array.isArray(e), n = i ? [e] : e;
1234
1211
  if (!n.every(Boolean))
1235
1212
  throw new Error("derived() expects stores as input, got a falsy value");
1236
- const s = t.length < 2;
1237
- return Ii(r, (o, a) => {
1213
+ const o = t.length < 2;
1214
+ return Ci(r, (s, a) => {
1238
1215
  let l = !1;
1239
1216
  const u = [];
1240
- let h = 0, c = O;
1217
+ let h = 0, c = B;
1241
1218
  const f = () => {
1242
1219
  if (h)
1243
1220
  return;
1244
1221
  c();
1245
- const y = t(i ? u[0] : u, o, a);
1246
- s ? o(y) : c = ht(y) ? y : O;
1247
- }, d = n.map(
1248
- (y, p) => zt(
1222
+ const y = t(i ? u[0] : u, s, a);
1223
+ o ? s(y) : c = dt(y) ? y : B;
1224
+ }, p = n.map(
1225
+ (y, d) => Jt(
1249
1226
  y,
1250
1227
  (v) => {
1251
- u[p] = v, h &= ~(1 << p), l && f();
1228
+ u[d] = v, h &= ~(1 << d), l && f();
1252
1229
  },
1253
1230
  () => {
1254
- h |= 1 << p;
1231
+ h |= 1 << d;
1255
1232
  }
1256
1233
  )
1257
1234
  );
1258
1235
  return l = !0, f(), function() {
1259
- ne(d), c(), l = !1;
1236
+ ie(p), c(), l = !1;
1260
1237
  };
1261
1238
  });
1262
1239
  }
1263
- function Bi(e) {
1264
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1240
+ function Ni(e) {
1241
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1265
1242
  }
1266
- var Oi = function(t) {
1267
- return Ci(t) && !Ni(t);
1243
+ var Mi = function(t) {
1244
+ return Ri(t) && !Di(t);
1268
1245
  };
1269
- function Ci(e) {
1246
+ function Ri(e) {
1270
1247
  return !!e && typeof e == "object";
1271
1248
  }
1272
- function Ni(e) {
1249
+ function Di(e) {
1273
1250
  var t = Object.prototype.toString.call(e);
1274
- return t === "[object RegExp]" || t === "[object Date]" || Di(e);
1251
+ return t === "[object RegExp]" || t === "[object Date]" || Gi(e);
1275
1252
  }
1276
- var Mi = typeof Symbol == "function" && Symbol.for, Ri = Mi ? Symbol.for("react.element") : 60103;
1277
- function Di(e) {
1278
- return e.$$typeof === Ri;
1253
+ var Ui = typeof Symbol == "function" && Symbol.for, $i = Ui ? Symbol.for("react.element") : 60103;
1254
+ function Gi(e) {
1255
+ return e.$$typeof === $i;
1279
1256
  }
1280
- function Ui(e) {
1257
+ function Fi(e) {
1281
1258
  return Array.isArray(e) ? [] : {};
1282
1259
  }
1283
- function fe(e, t) {
1284
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Ui(e), e, t) : e;
1260
+ function ce(e, t) {
1261
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Fi(e), e, t) : e;
1285
1262
  }
1286
- function $i(e, t, r) {
1263
+ function ji(e, t, r) {
1287
1264
  return e.concat(t).map(function(i) {
1288
- return fe(i, r);
1265
+ return ce(i, r);
1289
1266
  });
1290
1267
  }
1291
- function Gi(e, t) {
1268
+ function ki(e, t) {
1292
1269
  if (!t.customMerge)
1293
- return ee;
1270
+ return K;
1294
1271
  var r = t.customMerge(e);
1295
- return typeof r == "function" ? r : ee;
1272
+ return typeof r == "function" ? r : K;
1296
1273
  }
1297
- function Fi(e) {
1274
+ function Vi(e) {
1298
1275
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1299
1276
  return Object.propertyIsEnumerable.call(e, t);
1300
1277
  }) : [];
1301
1278
  }
1302
- function Ht(e) {
1303
- return Object.keys(e).concat(Fi(e));
1279
+ function Ct(e) {
1280
+ return Object.keys(e).concat(Vi(e));
1304
1281
  }
1305
- function rr(e, t) {
1282
+ function sr(e, t) {
1306
1283
  try {
1307
1284
  return t in e;
1308
1285
  } catch (r) {
1309
1286
  return !1;
1310
1287
  }
1311
1288
  }
1312
- function ji(e, t) {
1313
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1289
+ function Wi(e, t) {
1290
+ return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1314
1291
  }
1315
- function ki(e, t, r) {
1292
+ function Xi(e, t, r) {
1316
1293
  var i = {};
1317
- return r.isMergeableObject(e) && Ht(e).forEach(function(n) {
1318
- i[n] = fe(e[n], r);
1319
- }), Ht(t).forEach(function(n) {
1320
- ji(e, n) || (rr(e, n) && r.isMergeableObject(t[n]) ? i[n] = Gi(n, r)(e[n], t[n], r) : i[n] = fe(t[n], r));
1294
+ return r.isMergeableObject(e) && Ct(e).forEach(function(n) {
1295
+ i[n] = ce(e[n], r);
1296
+ }), Ct(t).forEach(function(n) {
1297
+ Wi(e, n) || (sr(e, n) && r.isMergeableObject(t[n]) ? i[n] = ki(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
1321
1298
  }), i;
1322
1299
  }
1323
- function ee(e, t, r) {
1324
- r = r || {}, r.arrayMerge = r.arrayMerge || $i, r.isMergeableObject = r.isMergeableObject || Oi, r.cloneUnlessOtherwiseSpecified = fe;
1325
- var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
1326
- return s ? i ? r.arrayMerge(e, t, r) : ki(e, t, r) : fe(t, r);
1300
+ function K(e, t, r) {
1301
+ r = r || {}, r.arrayMerge = r.arrayMerge || ji, r.isMergeableObject = r.isMergeableObject || Mi, r.cloneUnlessOtherwiseSpecified = ce;
1302
+ var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1303
+ return o ? i ? r.arrayMerge(e, t, r) : Xi(e, t, r) : ce(t, r);
1327
1304
  }
1328
- ee.all = function(t, r) {
1305
+ K.all = function(t, r) {
1329
1306
  if (!Array.isArray(t))
1330
1307
  throw new Error("first argument should be an array");
1331
1308
  return t.reduce(function(i, n) {
1332
- return ee(i, n, r);
1309
+ return K(i, n, r);
1333
1310
  }, {});
1334
1311
  };
1335
- var Vi = ee, Wi = Vi;
1336
- const Xi = /* @__PURE__ */ Bi(Wi);
1337
- function je(e, t) {
1338
- var r = t && t.cache ? t.cache : Ki, i = t && t.serializer ? t.serializer : Ji, n = t && t.strategy ? t.strategy : Zi;
1312
+ var zi = K, Zi = zi;
1313
+ const Qi = /* @__PURE__ */ Ni(Zi);
1314
+ var st = function(e, t) {
1315
+ return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
1316
+ r.__proto__ = i;
1317
+ } || function(r, i) {
1318
+ for (var n in i)
1319
+ Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
1320
+ }, st(e, t);
1321
+ };
1322
+ function Ne(e, t) {
1323
+ if (typeof t != "function" && t !== null)
1324
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1325
+ st(e, t);
1326
+ function r() {
1327
+ this.constructor = e;
1328
+ }
1329
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1330
+ }
1331
+ var R = function() {
1332
+ return R = Object.assign || function(t) {
1333
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
1334
+ r = arguments[i];
1335
+ for (var o in r)
1336
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1337
+ }
1338
+ return t;
1339
+ }, R.apply(this, arguments);
1340
+ };
1341
+ function Yi(e, t) {
1342
+ var r = {};
1343
+ for (var i in e)
1344
+ Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
1345
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1346
+ for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
1347
+ t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
1348
+ return r;
1349
+ }
1350
+ function Ve(e, t, r) {
1351
+ if (r || arguments.length === 2)
1352
+ for (var i = 0, n = t.length, o; i < n; i++)
1353
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
1354
+ return e.concat(o || Array.prototype.slice.call(t));
1355
+ }
1356
+ function We(e, t) {
1357
+ var r = t && t.cache ? t.cache : nn, i = t && t.serializer ? t.serializer : tn, n = t && t.strategy ? t.strategy : Ki;
1339
1358
  return n(e, {
1340
1359
  cache: r,
1341
1360
  serializer: i
1342
1361
  });
1343
1362
  }
1344
- function zi(e) {
1363
+ function Ji(e) {
1345
1364
  return e == null || typeof e == "number" || typeof e == "boolean";
1346
1365
  }
1347
- function ir(e, t, r, i) {
1348
- var n = zi(i) ? i : r(i), s = t.get(n);
1349
- return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
1366
+ function qi(e, t, r, i) {
1367
+ var n = Ji(i) ? i : r(i), o = t.get(n);
1368
+ return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
1350
1369
  }
1351
- function nr(e, t, r) {
1352
- var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
1353
- return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
1370
+ function ar(e, t, r) {
1371
+ var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1372
+ return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
1354
1373
  }
1355
- function ct(e, t, r, i, n) {
1374
+ function ur(e, t, r, i, n) {
1356
1375
  return r.bind(t, e, i, n);
1357
1376
  }
1358
- function Zi(e, t) {
1359
- var r = e.length === 1 ? ir : nr;
1360
- return ct(e, this, r, t.cache.create(), t.serializer);
1377
+ function Ki(e, t) {
1378
+ var r = e.length === 1 ? qi : ar;
1379
+ return ur(e, this, r, t.cache.create(), t.serializer);
1361
1380
  }
1362
- function Qi(e, t) {
1363
- return ct(e, this, nr, t.cache.create(), t.serializer);
1381
+ function en(e, t) {
1382
+ return ur(e, this, ar, t.cache.create(), t.serializer);
1364
1383
  }
1365
- function Yi(e, t) {
1366
- return ct(e, this, ir, t.cache.create(), t.serializer);
1367
- }
1368
- var Ji = function() {
1384
+ var tn = function() {
1369
1385
  return JSON.stringify(arguments);
1370
- }, qi = (
1386
+ }, rn = (
1371
1387
  /** @class */
1372
1388
  function() {
1373
1389
  function e() {
@@ -1379,62 +1395,71 @@ var Ji = function() {
1379
1395
  this.cache[t] = r;
1380
1396
  }, e;
1381
1397
  }()
1382
- ), Ki = {
1398
+ ), nn = {
1383
1399
  create: function() {
1384
- return new qi();
1400
+ return new rn();
1385
1401
  }
1386
- }, ke = {
1387
- variadic: Qi,
1388
- monadic: Yi
1389
- }, b;
1402
+ }, Xe = {
1403
+ variadic: en
1404
+ }, He = function() {
1405
+ return He = Object.assign || function(t) {
1406
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
1407
+ r = arguments[i];
1408
+ for (var o in r)
1409
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1410
+ }
1411
+ return t;
1412
+ }, He.apply(this, arguments);
1413
+ };
1414
+ var b;
1390
1415
  (function(e) {
1391
1416
  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";
1392
1417
  })(b || (b = {}));
1393
- var S;
1418
+ var L;
1394
1419
  (function(e) {
1395
1420
  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";
1396
- })(S || (S = {}));
1397
- var te;
1421
+ })(L || (L = {}));
1422
+ var ee;
1398
1423
  (function(e) {
1399
1424
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1400
- })(te || (te = {}));
1401
- function It(e) {
1402
- return e.type === S.literal;
1425
+ })(ee || (ee = {}));
1426
+ function Nt(e) {
1427
+ return e.type === L.literal;
1403
1428
  }
1404
- function en(e) {
1405
- return e.type === S.argument;
1429
+ function on(e) {
1430
+ return e.type === L.argument;
1406
1431
  }
1407
- function sr(e) {
1408
- return e.type === S.number;
1432
+ function lr(e) {
1433
+ return e.type === L.number;
1409
1434
  }
1410
- function or(e) {
1411
- return e.type === S.date;
1435
+ function hr(e) {
1436
+ return e.type === L.date;
1412
1437
  }
1413
- function ar(e) {
1414
- return e.type === S.time;
1438
+ function cr(e) {
1439
+ return e.type === L.time;
1415
1440
  }
1416
- function ur(e) {
1417
- return e.type === S.select;
1441
+ function fr(e) {
1442
+ return e.type === L.select;
1418
1443
  }
1419
- function lr(e) {
1420
- return e.type === S.plural;
1444
+ function mr(e) {
1445
+ return e.type === L.plural;
1421
1446
  }
1422
- function tn(e) {
1423
- return e.type === S.pound;
1447
+ function sn(e) {
1448
+ return e.type === L.pound;
1424
1449
  }
1425
- function hr(e) {
1426
- return e.type === S.tag;
1450
+ function pr(e) {
1451
+ return e.type === L.tag;
1427
1452
  }
1428
- function cr(e) {
1429
- return !!(e && typeof e == "object" && e.type === te.number);
1453
+ function dr(e) {
1454
+ return !!(e && typeof e == "object" && e.type === ee.number);
1430
1455
  }
1431
- function rt(e) {
1432
- return !!(e && typeof e == "object" && e.type === te.dateTime);
1456
+ function at(e) {
1457
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1433
1458
  }
1434
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1435
- function nn(e) {
1459
+ var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1460
+ function un(e) {
1436
1461
  var t = {};
1437
- return e.replace(rn, function(r) {
1462
+ return e.replace(an, function(r) {
1438
1463
  var i = r.length;
1439
1464
  switch (r[0]) {
1440
1465
  case "G":
@@ -1523,17 +1548,27 @@ function nn(e) {
1523
1548
  return "";
1524
1549
  }), t;
1525
1550
  }
1526
- var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1527
- function on(e) {
1551
+ var w = function() {
1552
+ return w = Object.assign || function(t) {
1553
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
1554
+ r = arguments[i];
1555
+ for (var o in r)
1556
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1557
+ }
1558
+ return t;
1559
+ }, w.apply(this, arguments);
1560
+ };
1561
+ var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1562
+ function hn(e) {
1528
1563
  if (e.length === 0)
1529
1564
  throw new Error("Number skeleton cannot be empty");
1530
- for (var t = e.split(sn).filter(function(f) {
1565
+ for (var t = e.split(ln).filter(function(f) {
1531
1566
  return f.length > 0;
1532
1567
  }), r = [], i = 0, n = t; i < n.length; i++) {
1533
- var s = n[i], o = s.split("/");
1534
- if (o.length === 0)
1568
+ var o = n[i], s = o.split("/");
1569
+ if (s.length === 0)
1535
1570
  throw new Error("Invalid number skeleton");
1536
- for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
1571
+ for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1537
1572
  var c = h[u];
1538
1573
  if (c.length === 0)
1539
1574
  throw new Error("Invalid number skeleton");
@@ -1542,17 +1577,17 @@ function on(e) {
1542
1577
  }
1543
1578
  return r;
1544
1579
  }
1545
- function an(e) {
1580
+ function cn(e) {
1546
1581
  return e.replace(/^(.*?)-/, "");
1547
1582
  }
1548
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1549
- function Ot(e) {
1583
+ var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
1584
+ function Rt(e) {
1550
1585
  var t = {};
1551
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, i, n) {
1586
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, i, n) {
1552
1587
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
1553
1588
  }), t;
1554
1589
  }
1555
- function pr(e) {
1590
+ function vr(e) {
1556
1591
  switch (e) {
1557
1592
  case "sign-auto":
1558
1593
  return {
@@ -1592,7 +1627,7 @@ function pr(e) {
1592
1627
  };
1593
1628
  }
1594
1629
  }
1595
- function ln(e) {
1630
+ function mn(e) {
1596
1631
  var t;
1597
1632
  if (e[0] === "E" && e[1] === "E" ? (t = {
1598
1633
  notation: "engineering"
@@ -1600,17 +1635,17 @@ function ln(e) {
1600
1635
  notation: "scientific"
1601
1636
  }, e = e.slice(1)), t) {
1602
1637
  var r = e.slice(0, 2);
1603
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1638
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
1604
1639
  throw new Error("Malformed concise eng/scientific notation");
1605
1640
  t.minimumIntegerDigits = e.length;
1606
1641
  }
1607
1642
  return t;
1608
1643
  }
1609
- function Ct(e) {
1610
- var t = {}, r = pr(e);
1644
+ function Dt(e) {
1645
+ var t = {}, r = vr(e);
1611
1646
  return r || t;
1612
1647
  }
1613
- function hn(e) {
1648
+ function pn(e) {
1614
1649
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1615
1650
  var n = i[r];
1616
1651
  switch (n.stem) {
@@ -1634,7 +1669,7 @@ function hn(e) {
1634
1669
  continue;
1635
1670
  case "measure-unit":
1636
1671
  case "unit":
1637
- t.style = "unit", t.unit = an(n.options[0]);
1672
+ t.style = "unit", t.unit = cn(n.options[0]);
1638
1673
  continue;
1639
1674
  case "compact-short":
1640
1675
  case "K":
@@ -1645,13 +1680,13 @@ function hn(e) {
1645
1680
  t.notation = "compact", t.compactDisplay = "long";
1646
1681
  continue;
1647
1682
  case "scientific":
1648
- t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1649
- return E(E({}, l), Ct(u));
1683
+ t = w(w(w({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1684
+ return w(w({}, l), Dt(u));
1650
1685
  }, {}));
1651
1686
  continue;
1652
1687
  case "engineering":
1653
- t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1654
- return E(E({}, l), Ct(u));
1688
+ t = w(w(w({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1689
+ return w(w({}, l), Dt(u));
1655
1690
  }, {}));
1656
1691
  continue;
1657
1692
  case "notation-simple":
@@ -1696,41 +1731,41 @@ function hn(e) {
1696
1731
  case "integer-width":
1697
1732
  if (n.options.length > 1)
1698
1733
  throw new RangeError("integer-width stems only accept a single optional option");
1699
- n.options[0].replace(un, function(l, u, h, c, f, d) {
1734
+ n.options[0].replace(fn, function(l, u, h, c, f, p) {
1700
1735
  if (u)
1701
1736
  t.minimumIntegerDigits = h.length;
1702
1737
  else {
1703
1738
  if (c && f)
1704
1739
  throw new Error("We currently do not support maximum integer digits");
1705
- if (d)
1740
+ if (p)
1706
1741
  throw new Error("We currently do not support exact integer digits");
1707
1742
  }
1708
1743
  return "";
1709
1744
  });
1710
1745
  continue;
1711
1746
  }
1712
- if (dr.test(n.stem)) {
1747
+ if (br.test(n.stem)) {
1713
1748
  t.minimumIntegerDigits = n.stem.length;
1714
1749
  continue;
1715
1750
  }
1716
- if (Bt.test(n.stem)) {
1751
+ if (Mt.test(n.stem)) {
1717
1752
  if (n.options.length > 1)
1718
1753
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1719
- n.stem.replace(Bt, function(l, u, h, c, f, d) {
1720
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1754
+ n.stem.replace(Mt, function(l, u, h, c, f, p) {
1755
+ return h === "*" ? 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), "";
1721
1756
  });
1722
- var s = n.options[0];
1723
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ot(s)));
1757
+ var o = n.options[0];
1758
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Rt(o)));
1724
1759
  continue;
1725
1760
  }
1726
- if (mr.test(n.stem)) {
1727
- t = E(E({}, t), Ot(n.stem));
1761
+ if (gr.test(n.stem)) {
1762
+ t = w(w({}, t), Rt(n.stem));
1728
1763
  continue;
1729
1764
  }
1730
- var o = pr(n.stem);
1731
- o && (t = E(E({}, t), o));
1732
- var a = ln(n.stem);
1733
- a && (t = E(E({}, t), a));
1765
+ var s = vr(n.stem);
1766
+ s && (t = w(w({}, t), s));
1767
+ var a = mn(n.stem);
1768
+ a && (t = w(w({}, t), a));
1734
1769
  }
1735
1770
  return t;
1736
1771
  }
@@ -3149,23 +3184,23 @@ var Ee = {
3149
3184
  "h"
3150
3185
  ]
3151
3186
  };
3152
- function cn(e, t) {
3187
+ function dn(e, t) {
3153
3188
  for (var r = "", i = 0; i < e.length; i++) {
3154
3189
  var n = e.charAt(i);
3155
3190
  if (n === "j") {
3156
- for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3157
- s++, i++;
3158
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = fn(t);
3191
+ for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3192
+ o++, i++;
3193
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = yn(t);
3159
3194
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3160
3195
  r += l;
3161
- for (; o-- > 0; )
3196
+ for (; s-- > 0; )
3162
3197
  r = u + r;
3163
3198
  } else
3164
3199
  n === "J" ? r += "H" : r += n;
3165
3200
  }
3166
3201
  return r;
3167
3202
  }
3168
- function fn(e) {
3203
+ function yn(e) {
3169
3204
  var t = e.hourCycle;
3170
3205
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3171
3206
  e.hourCycles && // @ts-ignore
@@ -3187,20 +3222,20 @@ function fn(e) {
3187
3222
  var n = Ee[i || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3188
3223
  return n[0];
3189
3224
  }
3190
- var Ve, mn = new RegExp("^".concat(fr.source, "*")), dn = new RegExp("".concat(fr.source, "*$"));
3225
+ var ze, gn = new RegExp("^".concat(yr.source, "*")), bn = new RegExp("".concat(yr.source, "*$"));
3191
3226
  function _(e, t) {
3192
3227
  return { start: e, end: t };
3193
3228
  }
3194
- var pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), yn = !!String.fromCodePoint, gn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, En = !!Number.isSafeInteger, xn = En ? Number.isSafeInteger : function(e) {
3229
+ var vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, En = !!Object.fromEntries, xn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Sn = !!Number.isSafeInteger, wn = Sn ? Number.isSafeInteger : function(e) {
3195
3230
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3196
- }, it = !0;
3231
+ }, ut = !0;
3197
3232
  try {
3198
- var Tn = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3199
- it = ((Ve = Tn.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
3233
+ var An = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3234
+ ut = ((ze = An.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
3200
3235
  } catch (e) {
3201
- it = !1;
3236
+ ut = !1;
3202
3237
  }
3203
- var Nt = pn ? (
3238
+ var Ut = vn ? (
3204
3239
  // Native
3205
3240
  function(t, r, i) {
3206
3241
  return t.startsWith(r, i);
@@ -3210,31 +3245,31 @@ var Nt = pn ? (
3210
3245
  function(t, r, i) {
3211
3246
  return t.slice(i, i + r.length) === r;
3212
3247
  }
3213
- ), nt = yn ? String.fromCodePoint : (
3248
+ ), lt = _n ? String.fromCodePoint : (
3214
3249
  // IE11
3215
3250
  function() {
3216
3251
  for (var t = [], r = 0; r < arguments.length; r++)
3217
3252
  t[r] = arguments[r];
3218
- for (var i = "", n = t.length, s = 0, o; n > s; ) {
3219
- if (o = t[s++], o > 1114111)
3220
- throw RangeError(o + " is not a valid code point");
3221
- i += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3253
+ for (var i = "", n = t.length, o = 0, s; n > o; ) {
3254
+ if (s = t[o++], s > 1114111)
3255
+ throw RangeError(s + " is not a valid code point");
3256
+ i += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3222
3257
  }
3223
3258
  return i;
3224
3259
  }
3225
- ), Mt = (
3260
+ ), $t = (
3226
3261
  // native
3227
- gn ? Object.fromEntries : (
3262
+ En ? Object.fromEntries : (
3228
3263
  // Ponyfill
3229
3264
  function(t) {
3230
3265
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
3231
- var s = n[i], o = s[0], a = s[1];
3232
- r[o] = a;
3266
+ var o = n[i], s = o[0], a = o[1];
3267
+ r[s] = a;
3233
3268
  }
3234
3269
  return r;
3235
3270
  }
3236
3271
  )
3237
- ), yr = bn ? (
3272
+ ), _r = xn ? (
3238
3273
  // Native
3239
3274
  function(t, r) {
3240
3275
  return t.codePointAt(r);
@@ -3244,11 +3279,11 @@ var Nt = pn ? (
3244
3279
  function(t, r) {
3245
3280
  var i = t.length;
3246
3281
  if (!(r < 0 || r >= i)) {
3247
- var n = t.charCodeAt(r), s;
3248
- return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
3282
+ var n = t.charCodeAt(r), o;
3283
+ return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3249
3284
  }
3250
3285
  }
3251
- ), Ln = vn ? (
3286
+ ), Pn = Tn ? (
3252
3287
  // Native
3253
3288
  function(t) {
3254
3289
  return t.trimStart();
@@ -3256,9 +3291,9 @@ var Nt = pn ? (
3256
3291
  ) : (
3257
3292
  // Ponyfill
3258
3293
  function(t) {
3259
- return t.replace(mn, "");
3294
+ return t.replace(gn, "");
3260
3295
  }
3261
- ), Sn = _n ? (
3296
+ ), Hn = Ln ? (
3262
3297
  // Native
3263
3298
  function(t) {
3264
3299
  return t.trimEnd();
@@ -3266,32 +3301,32 @@ var Nt = pn ? (
3266
3301
  ) : (
3267
3302
  // Ponyfill
3268
3303
  function(t) {
3269
- return t.replace(dn, "");
3304
+ return t.replace(bn, "");
3270
3305
  }
3271
3306
  );
3272
- function gr(e, t) {
3307
+ function Er(e, t) {
3273
3308
  return new RegExp(e, t);
3274
3309
  }
3275
- var st;
3276
- if (it) {
3277
- var Rt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3278
- st = function(t, r) {
3310
+ var ht;
3311
+ if (ut) {
3312
+ var Gt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3313
+ ht = function(t, r) {
3279
3314
  var i;
3280
- Rt.lastIndex = r;
3281
- var n = Rt.exec(t);
3315
+ Gt.lastIndex = r;
3316
+ var n = Gt.exec(t);
3282
3317
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3283
3318
  };
3284
3319
  } else
3285
- st = function(t, r) {
3320
+ ht = function(t, r) {
3286
3321
  for (var i = []; ; ) {
3287
- var n = yr(t, r);
3288
- if (n === void 0 || br(n) || Hn(n))
3322
+ var n = _r(t, r);
3323
+ if (n === void 0 || xr(n) || Cn(n))
3289
3324
  break;
3290
3325
  i.push(n), r += n >= 65536 ? 2 : 1;
3291
3326
  }
3292
- return nt.apply(void 0, i);
3327
+ return lt.apply(void 0, i);
3293
3328
  };
3294
- var wn = (
3329
+ var On = (
3295
3330
  /** @class */
3296
3331
  function() {
3297
3332
  function e(t, r) {
@@ -3303,35 +3338,35 @@ var wn = (
3303
3338
  return this.parseMessage(0, "", !1);
3304
3339
  }, e.prototype.parseMessage = function(t, r, i) {
3305
3340
  for (var n = []; !this.isEOF(); ) {
3306
- var s = this.char();
3307
- if (s === 123) {
3308
- var o = this.parseArgument(t, i);
3309
- if (o.err)
3310
- return o;
3311
- n.push(o.val);
3341
+ var o = this.char();
3342
+ if (o === 123) {
3343
+ var s = this.parseArgument(t, i);
3344
+ if (s.err)
3345
+ return s;
3346
+ n.push(s.val);
3312
3347
  } else {
3313
- if (s === 125 && t > 0)
3348
+ if (o === 125 && t > 0)
3314
3349
  break;
3315
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
3350
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3316
3351
  var a = this.clonePosition();
3317
3352
  this.bump(), n.push({
3318
- type: S.pound,
3353
+ type: L.pound,
3319
3354
  location: _(a, this.clonePosition())
3320
3355
  });
3321
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3356
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3322
3357
  if (i)
3323
3358
  break;
3324
3359
  return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3325
- } else if (s === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
3326
- var o = this.parseTag(t, r);
3327
- if (o.err)
3328
- return o;
3329
- n.push(o.val);
3360
+ } else if (o === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
3361
+ var s = this.parseTag(t, r);
3362
+ if (s.err)
3363
+ return s;
3364
+ n.push(s.val);
3330
3365
  } else {
3331
- var o = this.parseLiteral(t, r);
3332
- if (o.err)
3333
- return o;
3334
- n.push(o.val);
3366
+ var s = this.parseLiteral(t, r);
3367
+ if (s.err)
3368
+ return s;
3369
+ n.push(s.val);
3335
3370
  }
3336
3371
  }
3337
3372
  }
@@ -3343,26 +3378,26 @@ var wn = (
3343
3378
  if (this.bumpSpace(), this.bumpIf("/>"))
3344
3379
  return {
3345
3380
  val: {
3346
- type: S.literal,
3381
+ type: L.literal,
3347
3382
  value: "<".concat(n, "/>"),
3348
3383
  location: _(i, this.clonePosition())
3349
3384
  },
3350
3385
  err: null
3351
3386
  };
3352
3387
  if (this.bumpIf(">")) {
3353
- var s = this.parseMessage(t + 1, r, !0);
3354
- if (s.err)
3355
- return s;
3356
- var o = s.val, a = this.clonePosition();
3388
+ var o = this.parseMessage(t + 1, r, !0);
3389
+ if (o.err)
3390
+ return o;
3391
+ var s = o.val, a = this.clonePosition();
3357
3392
  if (this.bumpIf("</")) {
3358
- if (this.isEOF() || !ot(this.char()))
3393
+ if (this.isEOF() || !ct(this.char()))
3359
3394
  return this.error(b.INVALID_TAG, _(a, this.clonePosition()));
3360
3395
  var l = this.clonePosition(), u = this.parseTagName();
3361
3396
  return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3362
3397
  val: {
3363
- type: S.tag,
3398
+ type: L.tag,
3364
3399
  value: n,
3365
- children: o,
3400
+ children: s,
3366
3401
  location: _(i, this.clonePosition())
3367
3402
  },
3368
3403
  err: null
@@ -3373,21 +3408,21 @@ var wn = (
3373
3408
  return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
3374
3409
  }, e.prototype.parseTagName = function() {
3375
3410
  var t = this.offset();
3376
- for (this.bump(); !this.isEOF() && Pn(this.char()); )
3411
+ for (this.bump(); !this.isEOF() && Bn(this.char()); )
3377
3412
  this.bump();
3378
3413
  return this.message.slice(t, this.offset());
3379
3414
  }, e.prototype.parseLiteral = function(t, r) {
3380
3415
  for (var i = this.clonePosition(), n = ""; ; ) {
3381
- var s = this.tryParseQuote(r);
3382
- if (s) {
3383
- n += s;
3384
- continue;
3385
- }
3386
- var o = this.tryParseUnquoted(t, r);
3416
+ var o = this.tryParseQuote(r);
3387
3417
  if (o) {
3388
3418
  n += o;
3389
3419
  continue;
3390
3420
  }
3421
+ var s = this.tryParseUnquoted(t, r);
3422
+ if (s) {
3423
+ n += s;
3424
+ continue;
3425
+ }
3391
3426
  var a = this.tryParseLeftAngleBracket();
3392
3427
  if (a) {
3393
3428
  n += a;
@@ -3397,12 +3432,12 @@ var wn = (
3397
3432
  }
3398
3433
  var l = _(i, this.clonePosition());
3399
3434
  return {
3400
- val: { type: S.literal, value: n, location: l },
3435
+ val: { type: L.literal, value: n, location: l },
3401
3436
  err: null
3402
3437
  };
3403
3438
  }, e.prototype.tryParseLeftAngleBracket = function() {
3404
3439
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3405
- !An(this.peek() || 0)) ? (this.bump(), "<") : null;
3440
+ !In(this.peek() || 0)) ? (this.bump(), "<") : null;
3406
3441
  }, e.prototype.tryParseQuote = function(t) {
3407
3442
  if (this.isEOF() || this.char() !== 39)
3408
3443
  return null;
@@ -3436,12 +3471,12 @@ var wn = (
3436
3471
  r.push(i);
3437
3472
  this.bump();
3438
3473
  }
3439
- return nt.apply(void 0, r);
3474
+ return lt.apply(void 0, r);
3440
3475
  }, e.prototype.tryParseUnquoted = function(t, r) {
3441
3476
  if (this.isEOF())
3442
3477
  return null;
3443
3478
  var i = this.char();
3444
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), nt(i));
3479
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), lt(i));
3445
3480
  }, e.prototype.parseArgument = function(t, r) {
3446
3481
  var i = this.clonePosition();
3447
3482
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3457,7 +3492,7 @@ var wn = (
3457
3492
  case 125:
3458
3493
  return this.bump(), {
3459
3494
  val: {
3460
- type: S.argument,
3495
+ type: L.argument,
3461
3496
  // value does not include the opening and closing braces.
3462
3497
  value: n,
3463
3498
  location: _(i, this.clonePosition())
@@ -3470,15 +3505,15 @@ var wn = (
3470
3505
  return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3471
3506
  }
3472
3507
  }, e.prototype.parseIdentifierIfPossible = function() {
3473
- var t = this.clonePosition(), r = this.offset(), i = st(this.message, r), n = r + i.length;
3508
+ var t = this.clonePosition(), r = this.offset(), i = ht(this.message, r), n = r + i.length;
3474
3509
  this.bumpTo(n);
3475
- var s = this.clonePosition(), o = _(t, s);
3476
- return { value: i, location: o };
3510
+ var o = this.clonePosition(), s = _(t, o);
3511
+ return { value: i, location: s };
3477
3512
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
3478
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3513
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3479
3514
  switch (a) {
3480
3515
  case "":
3481
- return this.error(b.EXPECT_ARGUMENT_TYPE, _(o, l));
3516
+ return this.error(b.EXPECT_ARGUMENT_TYPE, _(s, l));
3482
3517
  case "number":
3483
3518
  case "date":
3484
3519
  case "time": {
@@ -3489,47 +3524,47 @@ var wn = (
3489
3524
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3490
3525
  if (c.err)
3491
3526
  return c;
3492
- var f = Sn(c.val);
3527
+ var f = Hn(c.val);
3493
3528
  if (f.length === 0)
3494
3529
  return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3495
- var d = _(h, this.clonePosition());
3496
- u = { style: f, styleLocation: d };
3530
+ var p = _(h, this.clonePosition());
3531
+ u = { style: f, styleLocation: p };
3497
3532
  }
3498
3533
  var y = this.tryParseArgumentClose(n);
3499
3534
  if (y.err)
3500
3535
  return y;
3501
- var p = _(n, this.clonePosition());
3502
- if (u && Nt(u == null ? void 0 : u.style, "::", 0)) {
3503
- var v = Ln(u.style.slice(2));
3536
+ var d = _(n, this.clonePosition());
3537
+ if (u && Ut(u == null ? void 0 : u.style, "::", 0)) {
3538
+ var v = Pn(u.style.slice(2));
3504
3539
  if (a === "number") {
3505
3540
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3506
3541
  return c.err ? c : {
3507
- val: { type: S.number, value: i, location: p, style: c.val },
3542
+ val: { type: L.number, value: i, location: d, style: c.val },
3508
3543
  err: null
3509
3544
  };
3510
3545
  } else {
3511
3546
  if (v.length === 0)
3512
- return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3547
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3513
3548
  var H = v;
3514
- this.locale && (H = cn(v, this.locale));
3549
+ this.locale && (H = dn(v, this.locale));
3515
3550
  var f = {
3516
- type: te.dateTime,
3551
+ type: ee.dateTime,
3517
3552
  pattern: H,
3518
3553
  location: u.styleLocation,
3519
- parsedOptions: this.shouldParseSkeletons ? nn(H) : {}
3520
- }, g = a === "date" ? S.date : S.time;
3554
+ parsedOptions: this.shouldParseSkeletons ? un(H) : {}
3555
+ }, g = a === "date" ? L.date : L.time;
3521
3556
  return {
3522
- val: { type: g, value: i, location: p, style: f },
3557
+ val: { type: g, value: i, location: d, style: f },
3523
3558
  err: null
3524
3559
  };
3525
3560
  }
3526
3561
  }
3527
3562
  return {
3528
3563
  val: {
3529
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3564
+ type: a === "number" ? L.number : a === "date" ? L.date : L.time,
3530
3565
  value: i,
3531
- location: p,
3532
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3566
+ location: d,
3567
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3533
3568
  },
3534
3569
  err: null
3535
3570
  };
@@ -3537,40 +3572,40 @@ var wn = (
3537
3572
  case "plural":
3538
3573
  case "selectordinal":
3539
3574
  case "select": {
3540
- var w = this.clonePosition();
3575
+ var S = this.clonePosition();
3541
3576
  if (this.bumpSpace(), !this.bumpIf(","))
3542
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, E({}, w)));
3577
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, He({}, S)));
3543
3578
  this.bumpSpace();
3544
- var D = this.parseIdentifierIfPossible(), M = 0;
3545
- if (a !== "select" && D.value === "offset") {
3579
+ var U = this.parseIdentifierIfPossible(), M = 0;
3580
+ if (a !== "select" && U.value === "offset") {
3546
3581
  if (!this.bumpIf(":"))
3547
3582
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3548
3583
  this.bumpSpace();
3549
3584
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3550
3585
  if (c.err)
3551
3586
  return c;
3552
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
3587
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), M = c.val;
3553
3588
  }
3554
- var U = this.tryParsePluralOrSelectOptions(t, a, r, D);
3555
- if (U.err)
3556
- return U;
3589
+ var $ = this.tryParsePluralOrSelectOptions(t, a, r, U);
3590
+ if ($.err)
3591
+ return $;
3557
3592
  var y = this.tryParseArgumentClose(n);
3558
3593
  if (y.err)
3559
3594
  return y;
3560
3595
  var X = _(n, this.clonePosition());
3561
3596
  return a === "select" ? {
3562
3597
  val: {
3563
- type: S.select,
3598
+ type: L.select,
3564
3599
  value: i,
3565
- options: Mt(U.val),
3600
+ options: $t($.val),
3566
3601
  location: X
3567
3602
  },
3568
3603
  err: null
3569
3604
  } : {
3570
3605
  val: {
3571
- type: S.plural,
3606
+ type: L.plural,
3572
3607
  value: i,
3573
- options: Mt(U.val),
3608
+ options: $t($.val),
3574
3609
  offset: M,
3575
3610
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3576
3611
  location: X
@@ -3579,7 +3614,7 @@ var wn = (
3579
3614
  };
3580
3615
  }
3581
3616
  default:
3582
- return this.error(b.INVALID_ARGUMENT_TYPE, _(o, l));
3617
+ return this.error(b.INVALID_ARGUMENT_TYPE, _(s, l));
3583
3618
  }
3584
3619
  }, e.prototype.tryParseArgumentClose = function(t) {
3585
3620
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3621,21 +3656,21 @@ var wn = (
3621
3656
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3622
3657
  var i = [];
3623
3658
  try {
3624
- i = on(t);
3659
+ i = hn(t);
3625
3660
  } catch (n) {
3626
3661
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3627
3662
  }
3628
3663
  return {
3629
3664
  val: {
3630
- type: te.number,
3665
+ type: ee.number,
3631
3666
  tokens: i,
3632
3667
  location: r,
3633
- parsedOptions: this.shouldParseSkeletons ? hn(i) : {}
3668
+ parsedOptions: this.shouldParseSkeletons ? pn(i) : {}
3634
3669
  },
3635
3670
  err: null
3636
3671
  };
3637
3672
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3638
- for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3673
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3639
3674
  if (u.length === 0) {
3640
3675
  var c = this.clonePosition();
3641
3676
  if (r !== "select" && this.bumpIf("=")) {
@@ -3648,37 +3683,37 @@ var wn = (
3648
3683
  }
3649
3684
  if (l.has(u))
3650
3685
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3651
- u === "other" && (o = !0), this.bumpSpace();
3652
- var d = this.clonePosition();
3686
+ u === "other" && (s = !0), this.bumpSpace();
3687
+ var p = this.clonePosition();
3653
3688
  if (!this.bumpIf("{"))
3654
3689
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3655
3690
  var y = this.parseMessage(t + 1, r, i);
3656
3691
  if (y.err)
3657
3692
  return y;
3658
- var p = this.tryParseArgumentClose(d);
3659
- if (p.err)
3660
- return p;
3693
+ var d = this.tryParseArgumentClose(p);
3694
+ if (d.err)
3695
+ return d;
3661
3696
  a.push([
3662
3697
  u,
3663
3698
  {
3664
3699
  value: y.val,
3665
- location: _(d, this.clonePosition())
3700
+ location: _(p, this.clonePosition())
3666
3701
  }
3667
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3702
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3668
3703
  }
3669
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3704
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3670
3705
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3671
3706
  var i = 1, n = this.clonePosition();
3672
3707
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3673
- for (var s = !1, o = 0; !this.isEOF(); ) {
3708
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3674
3709
  var a = this.char();
3675
3710
  if (a >= 48 && a <= 57)
3676
- s = !0, o = o * 10 + (a - 48), this.bump();
3711
+ o = !0, s = s * 10 + (a - 48), this.bump();
3677
3712
  else
3678
3713
  break;
3679
3714
  }
3680
3715
  var l = _(n, this.clonePosition());
3681
- return s ? (o *= i, xn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3716
+ return o ? (s *= i, wn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3682
3717
  }, e.prototype.offset = function() {
3683
3718
  return this.position.offset;
3684
3719
  }, e.prototype.isEOF = function() {
@@ -3693,7 +3728,7 @@ var wn = (
3693
3728
  var t = this.position.offset;
3694
3729
  if (t >= this.message.length)
3695
3730
  throw Error("out of bound");
3696
- var r = yr(this.message, t);
3731
+ var r = _r(this.message, t);
3697
3732
  if (r === void 0)
3698
3733
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3699
3734
  return r;
@@ -3712,7 +3747,7 @@ var wn = (
3712
3747
  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);
3713
3748
  }
3714
3749
  }, e.prototype.bumpIf = function(t) {
3715
- if (Nt(this.message, t, this.offset())) {
3750
+ if (Ut(this.message, t, this.offset())) {
3716
3751
  for (var r = 0; r < t.length; r++)
3717
3752
  this.bump();
3718
3753
  return !0;
@@ -3734,7 +3769,7 @@ var wn = (
3734
3769
  break;
3735
3770
  }
3736
3771
  }, e.prototype.bumpSpace = function() {
3737
- for (; !this.isEOF() && br(this.char()); )
3772
+ for (; !this.isEOF() && xr(this.char()); )
3738
3773
  this.bump();
3739
3774
  }, e.prototype.peek = function() {
3740
3775
  if (this.isEOF())
@@ -3744,204 +3779,204 @@ var wn = (
3744
3779
  }, e;
3745
3780
  }()
3746
3781
  );
3747
- function ot(e) {
3782
+ function ct(e) {
3748
3783
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3749
3784
  }
3750
- function An(e) {
3751
- return ot(e) || e === 47;
3785
+ function In(e) {
3786
+ return ct(e) || e === 47;
3752
3787
  }
3753
- function Pn(e) {
3788
+ function Bn(e) {
3754
3789
  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;
3755
3790
  }
3756
- function br(e) {
3791
+ function xr(e) {
3757
3792
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3758
3793
  }
3759
- function Hn(e) {
3794
+ function Cn(e) {
3760
3795
  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;
3761
3796
  }
3762
- function at(e) {
3797
+ function ft(e) {
3763
3798
  e.forEach(function(t) {
3764
- if (delete t.location, ur(t) || lr(t))
3799
+ if (delete t.location, fr(t) || mr(t))
3765
3800
  for (var r in t.options)
3766
- delete t.options[r].location, at(t.options[r].value);
3801
+ delete t.options[r].location, ft(t.options[r].value);
3767
3802
  else
3768
- sr(t) && cr(t.style) || (or(t) || ar(t)) && rt(t.style) ? delete t.style.location : hr(t) && at(t.children);
3803
+ lr(t) && dr(t.style) || (hr(t) || cr(t)) && at(t.style) ? delete t.style.location : pr(t) && ft(t.children);
3769
3804
  });
3770
3805
  }
3771
- function In(e, t) {
3772
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3773
- var r = new wn(e, t).parse();
3806
+ function Nn(e, t) {
3807
+ t === void 0 && (t = {}), t = He({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3808
+ var r = new On(e, t).parse();
3774
3809
  if (r.err) {
3775
3810
  var i = SyntaxError(b[r.err.kind]);
3776
3811
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3777
3812
  }
3778
- return t != null && t.captureLocation || at(r.val), r.val;
3813
+ return t != null && t.captureLocation || ft(r.val), r.val;
3779
3814
  }
3780
- var re;
3815
+ var te;
3781
3816
  (function(e) {
3782
3817
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3783
- })(re || (re = {}));
3784
- var Ce = (
3818
+ })(te || (te = {}));
3819
+ var Me = (
3785
3820
  /** @class */
3786
3821
  function(e) {
3787
- j(t, e);
3822
+ Ne(t, e);
3788
3823
  function t(r, i, n) {
3789
- var s = e.call(this, r) || this;
3790
- return s.code = i, s.originalMessage = n, s;
3824
+ var o = e.call(this, r) || this;
3825
+ return o.code = i, o.originalMessage = n, o;
3791
3826
  }
3792
3827
  return t.prototype.toString = function() {
3793
3828
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3794
3829
  }, t;
3795
3830
  }(Error)
3796
- ), Dt = (
3831
+ ), Ft = (
3797
3832
  /** @class */
3798
3833
  function(e) {
3799
- j(t, e);
3800
- function t(r, i, n, s) {
3801
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3834
+ Ne(t, e);
3835
+ function t(r, i, n, o) {
3836
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3802
3837
  }
3803
3838
  return t;
3804
- }(Ce)
3805
- ), Bn = (
3839
+ }(Me)
3840
+ ), Mn = (
3806
3841
  /** @class */
3807
3842
  function(e) {
3808
- j(t, e);
3843
+ Ne(t, e);
3809
3844
  function t(r, i, n) {
3810
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), re.INVALID_VALUE, n) || this;
3845
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
3811
3846
  }
3812
3847
  return t;
3813
- }(Ce)
3814
- ), On = (
3848
+ }(Me)
3849
+ ), Rn = (
3815
3850
  /** @class */
3816
3851
  function(e) {
3817
- j(t, e);
3852
+ Ne(t, e);
3818
3853
  function t(r, i) {
3819
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), re.MISSING_VALUE, i) || this;
3854
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
3820
3855
  }
3821
3856
  return t;
3822
- }(Ce)
3823
- ), B;
3857
+ }(Me)
3858
+ ), I;
3824
3859
  (function(e) {
3825
3860
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3826
- })(B || (B = {}));
3827
- function Cn(e) {
3861
+ })(I || (I = {}));
3862
+ function Dn(e) {
3828
3863
  return e.length < 2 ? e : e.reduce(function(t, r) {
3829
3864
  var i = t[t.length - 1];
3830
- return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
3865
+ return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
3831
3866
  }, []);
3832
3867
  }
3833
- function Nn(e) {
3868
+ function Un(e) {
3834
3869
  return typeof e == "function";
3835
3870
  }
3836
- function we(e, t, r, i, n, s, o) {
3837
- if (e.length === 1 && It(e[0]))
3871
+ function we(e, t, r, i, n, o, s) {
3872
+ if (e.length === 1 && Nt(e[0]))
3838
3873
  return [
3839
3874
  {
3840
- type: B.literal,
3875
+ type: I.literal,
3841
3876
  value: e[0].value
3842
3877
  }
3843
3878
  ];
3844
3879
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3845
3880
  var h = u[l];
3846
- if (It(h)) {
3881
+ if (Nt(h)) {
3847
3882
  a.push({
3848
- type: B.literal,
3883
+ type: I.literal,
3849
3884
  value: h.value
3850
3885
  });
3851
3886
  continue;
3852
3887
  }
3853
- if (tn(h)) {
3854
- typeof s == "number" && a.push({
3855
- type: B.literal,
3856
- value: r.getNumberFormat(t).format(s)
3888
+ if (sn(h)) {
3889
+ typeof o == "number" && a.push({
3890
+ type: I.literal,
3891
+ value: r.getNumberFormat(t).format(o)
3857
3892
  });
3858
3893
  continue;
3859
3894
  }
3860
3895
  var c = h.value;
3861
3896
  if (!(n && c in n))
3862
- throw new On(c, o);
3897
+ throw new Rn(c, s);
3863
3898
  var f = n[c];
3864
- if (en(h)) {
3899
+ if (on(h)) {
3865
3900
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3866
- type: typeof f == "string" ? B.literal : B.object,
3901
+ type: typeof f == "string" ? I.literal : I.object,
3867
3902
  value: f
3868
3903
  });
3869
3904
  continue;
3870
3905
  }
3871
- if (or(h)) {
3872
- var d = typeof h.style == "string" ? i.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
3906
+ if (hr(h)) {
3907
+ var p = typeof h.style == "string" ? i.date[h.style] : at(h.style) ? h.style.parsedOptions : void 0;
3873
3908
  a.push({
3874
- type: B.literal,
3875
- value: r.getDateTimeFormat(t, d).format(f)
3909
+ type: I.literal,
3910
+ value: r.getDateTimeFormat(t, p).format(f)
3876
3911
  });
3877
3912
  continue;
3878
3913
  }
3879
- if (ar(h)) {
3880
- var d = typeof h.style == "string" ? i.time[h.style] : rt(h.style) ? h.style.parsedOptions : i.time.medium;
3914
+ if (cr(h)) {
3915
+ var p = typeof h.style == "string" ? i.time[h.style] : at(h.style) ? h.style.parsedOptions : i.time.medium;
3881
3916
  a.push({
3882
- type: B.literal,
3883
- value: r.getDateTimeFormat(t, d).format(f)
3917
+ type: I.literal,
3918
+ value: r.getDateTimeFormat(t, p).format(f)
3884
3919
  });
3885
3920
  continue;
3886
3921
  }
3887
- if (sr(h)) {
3888
- var d = typeof h.style == "string" ? i.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
3889
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3890
- type: B.literal,
3891
- value: r.getNumberFormat(t, d).format(f)
3922
+ if (lr(h)) {
3923
+ var p = typeof h.style == "string" ? i.number[h.style] : dr(h.style) ? h.style.parsedOptions : void 0;
3924
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3925
+ type: I.literal,
3926
+ value: r.getNumberFormat(t, p).format(f)
3892
3927
  });
3893
3928
  continue;
3894
3929
  }
3895
- if (hr(h)) {
3896
- var y = h.children, p = h.value, v = n[p];
3897
- if (!Nn(v))
3898
- throw new Bn(p, "function", o);
3899
- var H = we(y, t, r, i, n, s), g = v(H.map(function(M) {
3930
+ if (pr(h)) {
3931
+ var y = h.children, d = h.value, v = n[d];
3932
+ if (!Un(v))
3933
+ throw new Mn(d, "function", s);
3934
+ var H = we(y, t, r, i, n, o), g = v(H.map(function(M) {
3900
3935
  return M.value;
3901
3936
  }));
3902
3937
  Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(M) {
3903
3938
  return {
3904
- type: typeof M == "string" ? B.literal : B.object,
3939
+ type: typeof M == "string" ? I.literal : I.object,
3905
3940
  value: M
3906
3941
  };
3907
3942
  }));
3908
3943
  }
3909
- if (ur(h)) {
3910
- var w = h.options[f] || h.options.other;
3911
- if (!w)
3912
- throw new Dt(h.value, f, Object.keys(h.options), o);
3913
- a.push.apply(a, we(w.value, t, r, i, n));
3944
+ if (fr(h)) {
3945
+ var S = h.options[f] || h.options.other;
3946
+ if (!S)
3947
+ throw new Ft(h.value, f, Object.keys(h.options), s);
3948
+ a.push.apply(a, we(S.value, t, r, i, n));
3914
3949
  continue;
3915
3950
  }
3916
- if (lr(h)) {
3917
- var w = h.options["=".concat(f)];
3918
- if (!w) {
3951
+ if (mr(h)) {
3952
+ var S = h.options["=".concat(f)];
3953
+ if (!S) {
3919
3954
  if (!Intl.PluralRules)
3920
- throw new Ce(`Intl.PluralRules is not available in this environment.
3955
+ throw new Me(`Intl.PluralRules is not available in this environment.
3921
3956
  Try polyfilling it using "@formatjs/intl-pluralrules"
3922
- `, re.MISSING_INTL_API, o);
3923
- var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3924
- w = h.options[D] || h.options.other;
3957
+ `, te.MISSING_INTL_API, s);
3958
+ var U = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3959
+ S = h.options[U] || h.options.other;
3925
3960
  }
3926
- if (!w)
3927
- throw new Dt(h.value, f, Object.keys(h.options), o);
3928
- a.push.apply(a, we(w.value, t, r, i, n, f - (h.offset || 0)));
3961
+ if (!S)
3962
+ throw new Ft(h.value, f, Object.keys(h.options), s);
3963
+ a.push.apply(a, we(S.value, t, r, i, n, f - (h.offset || 0)));
3929
3964
  continue;
3930
3965
  }
3931
3966
  }
3932
- return Cn(a);
3967
+ return Dn(a);
3933
3968
  }
3934
- function Mn(e, t) {
3935
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3936
- return r[i] = E(E({}, e[i]), t[i] || {}), r;
3969
+ function $n(e, t) {
3970
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3971
+ return r[i] = R(R({}, e[i]), t[i] || {}), r;
3937
3972
  }, {})) : e;
3938
3973
  }
3939
- function Rn(e, t) {
3974
+ function Gn(e, t) {
3940
3975
  return t ? Object.keys(e).reduce(function(r, i) {
3941
- return r[i] = Mn(e[i], t[i]), r;
3942
- }, E({}, e)) : e;
3976
+ return r[i] = $n(e[i], t[i]), r;
3977
+ }, R({}, e)) : e;
3943
3978
  }
3944
- function We(e) {
3979
+ function Ze(e) {
3945
3980
  return {
3946
3981
  create: function() {
3947
3982
  return {
@@ -3955,77 +3990,77 @@ function We(e) {
3955
3990
  }
3956
3991
  };
3957
3992
  }
3958
- function Dn(e) {
3993
+ function Fn(e) {
3959
3994
  return e === void 0 && (e = {
3960
3995
  number: {},
3961
3996
  dateTime: {},
3962
3997
  pluralRules: {}
3963
3998
  }), {
3964
- getNumberFormat: je(function() {
3999
+ getNumberFormat: We(function() {
3965
4000
  for (var t, r = [], i = 0; i < arguments.length; i++)
3966
4001
  r[i] = arguments[i];
3967
- return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
4002
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], r, !1)))();
3968
4003
  }, {
3969
- cache: We(e.number),
3970
- strategy: ke.variadic
4004
+ cache: Ze(e.number),
4005
+ strategy: Xe.variadic
3971
4006
  }),
3972
- getDateTimeFormat: je(function() {
4007
+ getDateTimeFormat: We(function() {
3973
4008
  for (var t, r = [], i = 0; i < arguments.length; i++)
3974
4009
  r[i] = arguments[i];
3975
- return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
4010
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], r, !1)))();
3976
4011
  }, {
3977
- cache: We(e.dateTime),
3978
- strategy: ke.variadic
4012
+ cache: Ze(e.dateTime),
4013
+ strategy: Xe.variadic
3979
4014
  }),
3980
- getPluralRules: je(function() {
4015
+ getPluralRules: We(function() {
3981
4016
  for (var t, r = [], i = 0; i < arguments.length; i++)
3982
4017
  r[i] = arguments[i];
3983
- return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4018
+ return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], r, !1)))();
3984
4019
  }, {
3985
- cache: We(e.pluralRules),
3986
- strategy: ke.variadic
4020
+ cache: Ze(e.pluralRules),
4021
+ strategy: Xe.variadic
3987
4022
  })
3988
4023
  };
3989
4024
  }
3990
- var Un = (
4025
+ var jn = (
3991
4026
  /** @class */
3992
4027
  function() {
3993
4028
  function e(t, r, i, n) {
3994
4029
  r === void 0 && (r = e.defaultLocale);
3995
- var s = this;
4030
+ var o = this;
3996
4031
  if (this.formatterCache = {
3997
4032
  number: {},
3998
4033
  dateTime: {},
3999
4034
  pluralRules: {}
4000
4035
  }, this.format = function(l) {
4001
- var u = s.formatToParts(l);
4036
+ var u = o.formatToParts(l);
4002
4037
  if (u.length === 1)
4003
4038
  return u[0].value;
4004
4039
  var h = u.reduce(function(c, f) {
4005
- return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4040
+ return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4006
4041
  }, []);
4007
4042
  return h.length <= 1 ? h[0] || "" : h;
4008
4043
  }, this.formatToParts = function(l) {
4009
- return we(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4044
+ return we(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4010
4045
  }, this.resolvedOptions = function() {
4011
4046
  var l;
4012
4047
  return {
4013
- locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4048
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4014
4049
  };
4015
4050
  }, this.getAst = function() {
4016
- return s.ast;
4051
+ return o.ast;
4017
4052
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4018
4053
  if (this.message = t, !e.__parse)
4019
4054
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4020
- var o = n || {};
4021
- o.formatters;
4022
- var a = pi(o, ["formatters"]);
4023
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
4055
+ var s = n || {};
4056
+ s.formatters;
4057
+ var a = Yi(s, ["formatters"]);
4058
+ this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
4024
4059
  } else
4025
4060
  this.ast = t;
4026
4061
  if (!Array.isArray(this.ast))
4027
4062
  throw new TypeError("A message must be provided as a String or AST.");
4028
- this.formats = Rn(e.formats, i), this.formatters = n && n.formatters || Dn(this.formatterCache);
4063
+ this.formats = Gn(e.formats, i), this.formatters = n && n.formatters || Fn(this.formatterCache);
4029
4064
  }
4030
4065
  return Object.defineProperty(e, "defaultLocale", {
4031
4066
  get: function() {
@@ -4038,7 +4073,7 @@ var Un = (
4038
4073
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4039
4074
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4040
4075
  }
4041
- }, e.__parse = In, e.formats = {
4076
+ }, e.__parse = Nn, e.formats = {
4042
4077
  number: {
4043
4078
  integer: {
4044
4079
  maximumFractionDigits: 0
@@ -4099,7 +4134,7 @@ var Un = (
4099
4134
  }, e;
4100
4135
  }()
4101
4136
  );
4102
- function $n(e, t) {
4137
+ function kn(e, t) {
4103
4138
  if (t == null)
4104
4139
  return;
4105
4140
  if (t in e)
@@ -4109,9 +4144,9 @@ function $n(e, t) {
4109
4144
  for (let n = 0; n < r.length; n++)
4110
4145
  if (typeof i == "object") {
4111
4146
  if (n > 0) {
4112
- const s = r.slice(n, r.length).join(".");
4113
- if (s in i) {
4114
- i = i[s];
4147
+ const o = r.slice(n, r.length).join(".");
4148
+ if (o in i) {
4149
+ i = i[o];
4115
4150
  break;
4116
4151
  }
4117
4152
  }
@@ -4120,92 +4155,92 @@ function $n(e, t) {
4120
4155
  i = void 0;
4121
4156
  return i;
4122
4157
  }
4123
- const k = {}, Gn = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), vr = (e, t) => {
4158
+ const k = {}, Vn = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Tr = (e, t) => {
4124
4159
  if (t == null)
4125
4160
  return;
4126
4161
  if (t in k && e in k[t])
4127
4162
  return k[t][e];
4128
- const r = Ne(t);
4163
+ const r = Re(t);
4129
4164
  for (let i = 0; i < r.length; i++) {
4130
- const n = r[i], s = jn(n, e);
4131
- if (s)
4132
- return Gn(e, t, s);
4165
+ const n = r[i], o = Xn(n, e);
4166
+ if (o)
4167
+ return Vn(e, t, o);
4133
4168
  }
4134
4169
  };
4135
- let ft;
4136
- const de = Oe({});
4137
- function Fn(e) {
4138
- return ft[e] || null;
4170
+ let yt;
4171
+ const pe = Ce({});
4172
+ function Wn(e) {
4173
+ return yt[e] || null;
4139
4174
  }
4140
- function _r(e) {
4141
- return e in ft;
4175
+ function Lr(e) {
4176
+ return e in yt;
4142
4177
  }
4143
- function jn(e, t) {
4144
- if (!_r(e))
4178
+ function Xn(e, t) {
4179
+ if (!Lr(e))
4145
4180
  return null;
4146
- const r = Fn(e);
4147
- return $n(r, t);
4181
+ const r = Wn(e);
4182
+ return kn(r, t);
4148
4183
  }
4149
- function kn(e) {
4184
+ function zn(e) {
4150
4185
  if (e == null)
4151
4186
  return;
4152
- const t = Ne(e);
4187
+ const t = Re(e);
4153
4188
  for (let r = 0; r < t.length; r++) {
4154
4189
  const i = t[r];
4155
- if (_r(i))
4190
+ if (Lr(i))
4156
4191
  return i;
4157
4192
  }
4158
4193
  }
4159
- function Er(e, ...t) {
4160
- delete k[e], de.update((r) => (r[e] = Xi.all([r[e] || {}, ...t]), r));
4194
+ function Sr(e, ...t) {
4195
+ delete k[e], pe.update((r) => (r[e] = Qi.all([r[e] || {}, ...t]), r));
4161
4196
  }
4162
- se(
4163
- [de],
4197
+ ne(
4198
+ [pe],
4164
4199
  ([e]) => Object.keys(e)
4165
4200
  );
4166
- de.subscribe((e) => ft = e);
4201
+ pe.subscribe((e) => yt = e);
4167
4202
  const Ae = {};
4168
- function Vn(e, t) {
4203
+ function Zn(e, t) {
4169
4204
  Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
4170
4205
  }
4171
- function xr(e) {
4206
+ function wr(e) {
4172
4207
  return Ae[e];
4173
4208
  }
4174
- function Wn(e) {
4175
- return Ne(e).map((t) => {
4176
- const r = xr(t);
4209
+ function Qn(e) {
4210
+ return Re(e).map((t) => {
4211
+ const r = wr(t);
4177
4212
  return [t, r ? [...r] : []];
4178
4213
  }).filter(([, t]) => t.length > 0);
4179
4214
  }
4180
- function ut(e) {
4181
- return e == null ? !1 : Ne(e).some(
4215
+ function mt(e) {
4216
+ return e == null ? !1 : Re(e).some(
4182
4217
  (t) => {
4183
4218
  var r;
4184
- return (r = xr(t)) == null ? void 0 : r.size;
4219
+ return (r = wr(t)) == null ? void 0 : r.size;
4185
4220
  }
4186
4221
  );
4187
4222
  }
4188
- function Xn(e, t) {
4223
+ function Yn(e, t) {
4189
4224
  return Promise.all(
4190
- t.map((i) => (Vn(e, i), i().then((n) => n.default || n)))
4191
- ).then((i) => Er(e, ...i));
4192
- }
4193
- const le = {};
4194
- function Tr(e) {
4195
- if (!ut(e))
4196
- return e in le ? le[e] : Promise.resolve();
4197
- const t = Wn(e);
4198
- return le[e] = Promise.all(
4225
+ t.map((i) => (Zn(e, i), i().then((n) => n.default || n)))
4226
+ ).then((i) => Sr(e, ...i));
4227
+ }
4228
+ const ue = {};
4229
+ function Ar(e) {
4230
+ if (!mt(e))
4231
+ return e in ue ? ue[e] : Promise.resolve();
4232
+ const t = Qn(e);
4233
+ return ue[e] = Promise.all(
4199
4234
  t.map(
4200
- ([r, i]) => Xn(r, i)
4235
+ ([r, i]) => Yn(r, i)
4201
4236
  )
4202
4237
  ).then(() => {
4203
- if (ut(e))
4204
- return Tr(e);
4205
- delete le[e];
4206
- }), le[e];
4238
+ if (mt(e))
4239
+ return Ar(e);
4240
+ delete ue[e];
4241
+ }), ue[e];
4207
4242
  }
4208
- const zn = {
4243
+ const Jn = {
4209
4244
  number: {
4210
4245
  scientific: { notation: "scientific" },
4211
4246
  engineering: { notation: "engineering" },
@@ -4234,150 +4269,150 @@ const zn = {
4234
4269
  timeZoneName: "short"
4235
4270
  }
4236
4271
  }
4237
- }, Zn = {
4272
+ }, qn = {
4238
4273
  fallbackLocale: null,
4239
4274
  loadingDelay: 200,
4240
- formats: zn,
4275
+ formats: Jn,
4241
4276
  warnOnMissingMessages: !0,
4242
4277
  handleMissingMessage: void 0,
4243
4278
  ignoreTag: !0
4244
- }, Qn = Zn;
4245
- function ie() {
4246
- return Qn;
4247
- }
4248
- const Xe = Oe(!1);
4249
- var Yn = Object.defineProperty, Jn = Object.defineProperties, qn = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, es = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ts = (e, t) => {
4250
- for (var r in t)
4251
- Kn.call(t, r) && $t(e, r, t[r]);
4252
- if (Ut)
4253
- for (var r of Ut(t))
4254
- es.call(t, r) && $t(e, r, t[r]);
4279
+ }, Kn = qn;
4280
+ function re() {
4281
+ return Kn;
4282
+ }
4283
+ const Qe = Ce(!1);
4284
+ var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, no = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oo = (e, t) => {
4285
+ for (var r in t || (t = {}))
4286
+ io.call(t, r) && kt(e, r, t[r]);
4287
+ if (jt)
4288
+ for (var r of jt(t))
4289
+ no.call(t, r) && kt(e, r, t[r]);
4255
4290
  return e;
4256
- }, rs = (e, t) => Jn(e, qn(t));
4257
- let lt;
4258
- const He = Oe(null);
4259
- function Gt(e) {
4291
+ }, so = (e, t) => to(e, ro(t));
4292
+ let pt;
4293
+ const Oe = Ce(null);
4294
+ function Vt(e) {
4260
4295
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4261
4296
  }
4262
- function Ne(e, t = ie().fallbackLocale) {
4263
- const r = Gt(e);
4264
- return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4297
+ function Re(e, t = re().fallbackLocale) {
4298
+ const r = Vt(e);
4299
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
4265
4300
  }
4266
4301
  function Z() {
4267
- return lt != null ? lt : void 0;
4302
+ return pt != null ? pt : void 0;
4268
4303
  }
4269
- He.subscribe((e) => {
4270
- lt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4304
+ Oe.subscribe((e) => {
4305
+ pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4271
4306
  });
4272
- const is = (e) => {
4273
- if (e && kn(e) && ut(e)) {
4274
- const { loadingDelay: t } = ie();
4307
+ const ao = (e) => {
4308
+ if (e && zn(e) && mt(e)) {
4309
+ const { loadingDelay: t } = re();
4275
4310
  let r;
4276
4311
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
4277
- () => Xe.set(!0),
4312
+ () => Qe.set(!0),
4278
4313
  t
4279
- ) : Xe.set(!0), Tr(e).then(() => {
4280
- He.set(e);
4314
+ ) : Qe.set(!0), Ar(e).then(() => {
4315
+ Oe.set(e);
4281
4316
  }).finally(() => {
4282
- clearTimeout(r), Xe.set(!1);
4317
+ clearTimeout(r), Qe.set(!1);
4283
4318
  });
4284
4319
  }
4285
- return He.set(e);
4286
- }, oe = rs(ts({}, He), {
4287
- set: is
4288
- }), Me = (e) => {
4320
+ return Oe.set(e);
4321
+ }, oe = so(oo({}, Oe), {
4322
+ set: ao
4323
+ }), De = (e) => {
4289
4324
  const t = /* @__PURE__ */ Object.create(null);
4290
4325
  return (i) => {
4291
4326
  const n = JSON.stringify(i);
4292
4327
  return n in t ? t[n] : t[n] = e(i);
4293
4328
  };
4294
4329
  };
4295
- var ns = Object.defineProperty, Ie = Object.getOwnPropertySymbols, Lr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? ns(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
4330
+ var uo = Object.defineProperty, Ie = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
4296
4331
  for (var r in t || (t = {}))
4297
- Lr.call(t, r) && Ft(e, r, t[r]);
4332
+ Pr.call(t, r) && Wt(e, r, t[r]);
4298
4333
  if (Ie)
4299
4334
  for (var r of Ie(t))
4300
- Sr.call(t, r) && Ft(e, r, t[r]);
4335
+ Hr.call(t, r) && Wt(e, r, t[r]);
4301
4336
  return e;
4302
- }, ae = (e, t) => {
4337
+ }, se = (e, t) => {
4303
4338
  var r = {};
4304
4339
  for (var i in e)
4305
- Lr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4340
+ Pr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4306
4341
  if (e != null && Ie)
4307
4342
  for (var i of Ie(e))
4308
- t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
4343
+ t.indexOf(i) < 0 && Hr.call(e, i) && (r[i] = e[i]);
4309
4344
  return r;
4310
4345
  };
4311
- const me = (e, t) => {
4312
- const { formats: r } = ie();
4346
+ const fe = (e, t) => {
4347
+ const { formats: r } = re();
4313
4348
  if (e in r && t in r[e])
4314
4349
  return r[e][t];
4315
4350
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4316
- }, ss = Me(
4351
+ }, lo = De(
4317
4352
  (e) => {
4318
- var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4353
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4319
4354
  if (r == null)
4320
4355
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4321
- return i && (n = me("number", i)), new Intl.NumberFormat(r, n);
4356
+ return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
4322
4357
  }
4323
- ), os = Me(
4358
+ ), ho = De(
4324
4359
  (e) => {
4325
- var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4360
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4326
4361
  if (r == null)
4327
4362
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4328
- return i ? n = me("date", i) : Object.keys(n).length === 0 && (n = me("date", "short")), new Intl.DateTimeFormat(r, n);
4363
+ return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
4329
4364
  }
4330
- ), as = Me(
4365
+ ), co = De(
4331
4366
  (e) => {
4332
- var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4367
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4333
4368
  if (r == null)
4334
4369
  throw new Error(
4335
4370
  '[svelte-i18n] A "locale" must be set to format time values'
4336
4371
  );
4337
- return i ? n = me("time", i) : Object.keys(n).length === 0 && (n = me("time", "short")), new Intl.DateTimeFormat(r, n);
4372
+ return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
4338
4373
  }
4339
- ), us = (e = {}) => {
4374
+ ), fo = (e = {}) => {
4340
4375
  var t = e, {
4341
4376
  locale: r = Z()
4342
- } = t, i = ae(t, [
4377
+ } = t, i = se(t, [
4343
4378
  "locale"
4344
4379
  ]);
4345
- return ss(mt({ locale: r }, i));
4346
- }, ls = (e = {}) => {
4380
+ return lo(gt({ locale: r }, i));
4381
+ }, mo = (e = {}) => {
4347
4382
  var t = e, {
4348
4383
  locale: r = Z()
4349
- } = t, i = ae(t, [
4384
+ } = t, i = se(t, [
4350
4385
  "locale"
4351
4386
  ]);
4352
- return os(mt({ locale: r }, i));
4353
- }, hs = (e = {}) => {
4387
+ return ho(gt({ locale: r }, i));
4388
+ }, po = (e = {}) => {
4354
4389
  var t = e, {
4355
4390
  locale: r = Z()
4356
- } = t, i = ae(t, [
4391
+ } = t, i = se(t, [
4357
4392
  "locale"
4358
4393
  ]);
4359
- return as(mt({ locale: r }, i));
4360
- }, cs = Me(
4394
+ return co(gt({ locale: r }, i));
4395
+ }, yo = De(
4361
4396
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4362
- (e, t = Z()) => new Un(e, t, ie().formats, {
4363
- ignoreTag: ie().ignoreTag
4397
+ (e, t = Z()) => new jn(e, t, re().formats, {
4398
+ ignoreTag: re().ignoreTag
4364
4399
  })
4365
- ), fs = (e, t = {}) => {
4366
- var r, i, n, s;
4367
- let o = t;
4368
- typeof e == "object" && (o = e, e = o.id);
4400
+ ), go = (e, t = {}) => {
4401
+ var r, i, n, o;
4402
+ let s = t;
4403
+ typeof e == "object" && (s = e, e = s.id);
4369
4404
  const {
4370
4405
  values: a,
4371
4406
  locale: l = Z(),
4372
4407
  default: u
4373
- } = o;
4408
+ } = s;
4374
4409
  if (l == null)
4375
4410
  throw new Error(
4376
4411
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4377
4412
  );
4378
- let h = vr(e, l);
4413
+ let h = Tr(e, l);
4379
4414
  if (!h)
4380
- h = (s = (n = (i = (r = ie()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
4415
+ h = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4381
4416
  else if (typeof h != "string")
4382
4417
  return console.warn(
4383
4418
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4386,7 +4421,7 @@ const me = (e, t) => {
4386
4421
  return h;
4387
4422
  let c = h;
4388
4423
  try {
4389
- c = cs(h, l).format(a);
4424
+ c = yo(h, l).format(a);
4390
4425
  } catch (f) {
4391
4426
  f instanceof Error && console.warn(
4392
4427
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4394,20 +4429,20 @@ const me = (e, t) => {
4394
4429
  );
4395
4430
  }
4396
4431
  return c;
4397
- }, ms = (e, t) => hs(t).format(e), ds = (e, t) => ls(t).format(e), ps = (e, t) => us(t).format(e), ys = (e, t = Z()) => vr(e, t), gs = se([oe, de], () => fs);
4398
- se([oe], () => ms);
4399
- se([oe], () => ds);
4400
- se([oe], () => ps);
4401
- se([oe, de], () => ys);
4402
- window.emWidgets = { topic: Hi };
4403
- const bs = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), zs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4404
- function vs(e, t) {
4432
+ }, bo = (e, t) => po(t).format(e), vo = (e, t) => mo(t).format(e), _o = (e, t) => fo(t).format(e), Eo = (e, t = Z()) => Tr(e, t), xo = ne([oe, pe], () => go);
4433
+ ne([oe], () => bo);
4434
+ ne([oe], () => vo);
4435
+ ne([oe], () => _o);
4436
+ ne([oe, pe], () => Eo);
4437
+ window.emWidgets = { topic: Bi };
4438
+ const To = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), qo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4439
+ function Lo(e, t) {
4405
4440
  if (e) {
4406
4441
  const r = document.createElement("style");
4407
4442
  r.innerHTML = t, e.appendChild(r);
4408
4443
  }
4409
4444
  }
4410
- function _s(e, t) {
4445
+ function So(e, t) {
4411
4446
  const r = new URL(t);
4412
4447
  fetch(r.href).then((i) => i.text()).then((i) => {
4413
4448
  const n = document.createElement("style");
@@ -4416,7 +4451,7 @@ function _s(e, t) {
4416
4451
  console.error("There was an error while trying to load client styling from URL", i);
4417
4452
  });
4418
4453
  }
4419
- function Es(e, t, r) {
4454
+ function wo(e, t, r) {
4420
4455
  if (window.emMessageBus) {
4421
4456
  const i = document.createElement("style");
4422
4457
  window.emMessageBus.subscribe(t, (n) => {
@@ -4424,13 +4459,13 @@ function Es(e, t, r) {
4424
4459
  });
4425
4460
  }
4426
4461
  }
4427
- function jt(e, t) {
4428
- Er(e, t);
4462
+ function Xt(e, t) {
4463
+ Sr(e, t);
4429
4464
  }
4430
- function xs(e) {
4465
+ function Ao(e) {
4431
4466
  oe.set(e);
4432
4467
  }
4433
- const ze = {
4468
+ const Ye = {
4434
4469
  en: {
4435
4470
  expandLimits: "LIMIT HISTORY",
4436
4471
  daily: "per day",
@@ -4681,46 +4716,46 @@ const ze = {
4681
4716
  historyLimitTypeLoss: "Loss Limit"
4682
4717
  }
4683
4718
  };
4684
- function Ts(e) {
4685
- Zr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4719
+ function Po(e) {
4720
+ qr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4686
4721
  }
4687
- function kt(e, t, r) {
4722
+ function zt(e, t, r) {
4688
4723
  const i = e.slice();
4689
4724
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4690
4725
  }
4691
- function Ls(e) {
4726
+ function Ho(e) {
4692
4727
  let t, r, i, n = (
4693
4728
  /*$_*/
4694
4729
  e[9]("expandLimits") + ""
4695
- ), s, o, a, l, u, h, c, f, d, y = Et(
4730
+ ), o, s, a, l, u, h, c, f, p, y = St(
4696
4731
  /*lazyShowedHistoryArray*/
4697
4732
  e[7]
4698
- ), p = [];
4733
+ ), d = [];
4699
4734
  for (let v = 0; v < y.length; v += 1)
4700
- p[v] = Vt(kt(e, y, v));
4735
+ d[v] = Zt(zt(e, y, v));
4701
4736
  return {
4702
4737
  c() {
4703
- t = A("div"), r = A("div"), i = A("button"), s = R(n), o = Ze(), a = xe("svg"), l = xe("path"), u = xe("path"), h = Ze(), c = A("div");
4704
- for (let v = 0; v < p.length; v += 1)
4705
- p[v].c();
4706
- x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(a, "class", "ExpandArrow svelte-19ml84y"), x(a, "xmlns", "http://www.w3.org/2000/svg"), x(a, "width", "36"), x(a, "height", "36"), x(a, "viewBox", "0 0 36 36"), x(a, "fill", "#999"), ve(
4738
+ t = A("div"), r = A("div"), i = A("button"), o = D(n), s = Je(), a = xe("svg"), l = xe("path"), u = xe("path"), h = Je(), c = A("div");
4739
+ for (let v = 0; v < d.length; v += 1)
4740
+ d[v].c();
4741
+ E(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(l, "class", "svelte-19ml84y"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-19ml84y"), E(a, "class", "ExpandArrow svelte-19ml84y"), E(a, "xmlns", "http://www.w3.org/2000/svg"), E(a, "width", "36"), E(a, "height", "36"), E(a, "viewBox", "0 0 36 36"), E(a, "fill", "#999"), ve(
4707
4742
  a,
4708
4743
  "extended",
4709
4744
  /*extended*/
4710
4745
  e[8]
4711
- ), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), ve(
4746
+ ), E(i, "class", "ExpandButton svelte-19ml84y"), E(c, "class", "HistoryDisplayArea svelte-19ml84y"), ve(
4712
4747
  c,
4713
4748
  "hidden",
4714
4749
  /*hidden*/
4715
4750
  e[5]
4716
- ), x(r, "class", "HistoryWrapper " + /*isDesktop*/
4717
- (e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4751
+ ), E(r, "class", "HistoryWrapper " + /*isDesktop*/
4752
+ (e[10] ? "Desktop" : "") + " svelte-19ml84y"), E(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4718
4753
  },
4719
4754
  m(v, H) {
4720
- W(v, t, H), T(t, r), T(r, i), T(i, s), T(i, o), T(i, a), T(a, l), T(a, u), T(r, h), T(r, c);
4721
- for (let g = 0; g < p.length; g += 1)
4722
- p[g] && p[g].m(c, null);
4723
- f || (d = qr(
4755
+ W(v, t, H), x(t, r), x(r, i), x(i, o), x(i, s), x(i, a), x(a, l), x(a, u), x(r, h), x(r, c);
4756
+ for (let g = 0; g < d.length; g += 1)
4757
+ d[g] && d[g].m(c, null);
4758
+ f || (p = ri(
4724
4759
  i,
4725
4760
  "click",
4726
4761
  /*toggleHistoryDisplayArea*/
@@ -4730,7 +4765,7 @@ function Ls(e) {
4730
4765
  p(v, H) {
4731
4766
  if (H[0] & /*$_*/
4732
4767
  512 && n !== (n = /*$_*/
4733
- v[9]("expandLimits") + "") && V(s, n), H[0] & /*extended*/
4768
+ v[9]("expandLimits") + "") && V(o, n), H[0] & /*extended*/
4734
4769
  256 && ve(
4735
4770
  a,
4736
4771
  "extended",
@@ -4738,18 +4773,18 @@ function Ls(e) {
4738
4773
  v[8]
4739
4774
  ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4740
4775
  650) {
4741
- y = Et(
4776
+ y = St(
4742
4777
  /*lazyShowedHistoryArray*/
4743
4778
  v[7]
4744
4779
  );
4745
4780
  let g;
4746
4781
  for (g = 0; g < y.length; g += 1) {
4747
- const w = kt(v, y, g);
4748
- p[g] ? p[g].p(w, H) : (p[g] = Vt(w), p[g].c(), p[g].m(c, null));
4782
+ const S = zt(v, y, g);
4783
+ d[g] ? d[g].p(S, H) : (d[g] = Zt(S), d[g].c(), d[g].m(c, null));
4749
4784
  }
4750
- for (; g < p.length; g += 1)
4751
- p[g].d(1);
4752
- p.length = y.length;
4785
+ for (; g < d.length; g += 1)
4786
+ d[g].d(1);
4787
+ d.length = y.length;
4753
4788
  }
4754
4789
  H[0] & /*hidden*/
4755
4790
  32 && ve(
@@ -4760,14 +4795,14 @@ function Ls(e) {
4760
4795
  );
4761
4796
  },
4762
4797
  d(v) {
4763
- v && F(t), Jr(p, v), f = !1, d();
4798
+ v && j(t), ti(d, v), f = !1, p();
4764
4799
  }
4765
4800
  };
4766
4801
  }
4767
- function Ss(e) {
4768
- return { c: O, m: O, p: O, d: O };
4802
+ function Oo(e) {
4803
+ return { c: B, m: B, p: B, d: B };
4769
4804
  }
4770
- function ws(e) {
4805
+ function Io(e) {
4771
4806
  let t, r = (
4772
4807
  /*lang*/
4773
4808
  (e[0] ? (
@@ -4777,13 +4812,13 @@ function ws(e) {
4777
4812
  ), i;
4778
4813
  return {
4779
4814
  c() {
4780
- t = A("p"), i = R(r), x(t, "class", "svelte-19ml84y");
4815
+ t = A("p"), i = D(r), E(t, "class", "svelte-19ml84y");
4781
4816
  },
4782
- m(n, s) {
4783
- W(n, t, s), T(t, i);
4817
+ m(n, o) {
4818
+ W(n, t, o), x(t, i);
4784
4819
  },
4785
- p(n, s) {
4786
- s[0] & /*lang, $_*/
4820
+ p(n, o) {
4821
+ o[0] & /*lang, $_*/
4787
4822
  513 && r !== (r = /*lang*/
4788
4823
  (n[0] ? (
4789
4824
  /*$_*/
@@ -4791,15 +4826,15 @@ function ws(e) {
4791
4826
  ) : "500 Server Error") + "") && V(i, r);
4792
4827
  },
4793
4828
  d(n) {
4794
- n && F(t);
4829
+ n && j(t);
4795
4830
  }
4796
4831
  };
4797
4832
  }
4798
- function As(e) {
4833
+ function Bo(e) {
4799
4834
  let t, r, i, n = (
4800
4835
  /*history*/
4801
4836
  e[37].type + ""
4802
- ), s, o, a = (
4837
+ ), o, s, a = (
4803
4838
  /*history*/
4804
4839
  e[37].amount + ""
4805
4840
  ), l, u, h = (
@@ -4808,30 +4843,30 @@ function As(e) {
4808
4843
  ), c;
4809
4844
  return {
4810
4845
  c() {
4811
- t = A("div"), r = A("span"), i = A("span"), s = R(n), o = A("span"), l = R(a), u = A("span"), c = R(h), x(i, "class", "LimitType svelte-19ml84y"), x(o, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4846
+ t = A("div"), r = A("span"), i = A("span"), o = D(n), s = A("span"), l = D(a), u = A("span"), c = D(h), E(i, "class", "LimitType svelte-19ml84y"), E(s, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
4812
4847
  },
4813
- m(f, d) {
4814
- W(f, t, d), T(t, r), T(r, i), T(i, s), T(r, o), T(o, l), T(t, u), T(u, c);
4848
+ m(f, p) {
4849
+ W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
4815
4850
  },
4816
- p(f, d) {
4817
- d[0] & /*lazyShowedHistoryArray*/
4851
+ p(f, p) {
4852
+ p[0] & /*lazyShowedHistoryArray*/
4818
4853
  128 && n !== (n = /*history*/
4819
- f[37].type + "") && V(s, n), d[0] & /*lazyShowedHistoryArray*/
4854
+ f[37].type + "") && V(o, n), p[0] & /*lazyShowedHistoryArray*/
4820
4855
  128 && a !== (a = /*history*/
4821
- f[37].amount + "") && V(l, a), d[0] & /*lazyShowedHistoryArray*/
4856
+ f[37].amount + "") && V(l, a), p[0] & /*lazyShowedHistoryArray*/
4822
4857
  128 && h !== (h = /*history*/
4823
4858
  f[37].date + "") && V(c, h);
4824
4859
  },
4825
4860
  d(f) {
4826
- f && F(t);
4861
+ f && j(t);
4827
4862
  }
4828
4863
  };
4829
4864
  }
4830
- function Ps(e) {
4865
+ function Co(e) {
4831
4866
  let t, r, i, n = (
4832
4867
  /*history*/
4833
4868
  e[37].type + ""
4834
- ), s, o, a = (
4869
+ ), o, s, a = (
4835
4870
  /*$_*/
4836
4871
  e[9]("limitRemoved") + ""
4837
4872
  ), l, u, h = (
@@ -4840,37 +4875,37 @@ function Ps(e) {
4840
4875
  ), c;
4841
4876
  return {
4842
4877
  c() {
4843
- t = A("div"), r = A("span"), i = A("span"), s = R(n), o = A("span"), l = R(a), u = A("span"), c = R(h), x(i, "class", "LimitType svelte-19ml84y"), x(o, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4878
+ t = A("div"), r = A("span"), i = A("span"), o = D(n), s = A("span"), l = D(a), u = A("span"), c = D(h), E(i, "class", "LimitType svelte-19ml84y"), E(s, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
4844
4879
  },
4845
- m(f, d) {
4846
- W(f, t, d), T(t, r), T(r, i), T(i, s), T(r, o), T(o, l), T(t, u), T(u, c);
4880
+ m(f, p) {
4881
+ W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
4847
4882
  },
4848
- p(f, d) {
4849
- d[0] & /*lazyShowedHistoryArray*/
4883
+ p(f, p) {
4884
+ p[0] & /*lazyShowedHistoryArray*/
4850
4885
  128 && n !== (n = /*history*/
4851
- f[37].type + "") && V(s, n), d[0] & /*$_*/
4886
+ f[37].type + "") && V(o, n), p[0] & /*$_*/
4852
4887
  512 && a !== (a = /*$_*/
4853
- f[9]("limitRemoved") + "") && V(l, a), d[0] & /*lazyShowedHistoryArray*/
4888
+ f[9]("limitRemoved") + "") && V(l, a), p[0] & /*lazyShowedHistoryArray*/
4854
4889
  128 && h !== (h = /*history*/
4855
4890
  f[37].date + "") && V(c, h);
4856
4891
  },
4857
4892
  d(f) {
4858
- f && F(t);
4893
+ f && j(t);
4859
4894
  }
4860
4895
  };
4861
4896
  }
4862
- function Vt(e) {
4897
+ function Zt(e) {
4863
4898
  let t, r, i, n = (
4864
4899
  /*index*/
4865
4900
  e[39]
4866
4901
  );
4867
- function s(h, c) {
4902
+ function o(h, c) {
4868
4903
  return (
4869
4904
  /*history*/
4870
- h[37].removed ? Ps : As
4905
+ h[37].removed ? Co : Bo
4871
4906
  );
4872
4907
  }
4873
- let o = s(e), a = o(e);
4908
+ let s = o(e), a = s(e);
4874
4909
  const l = () => (
4875
4910
  /*div_binding*/
4876
4911
  e[22](t, n)
@@ -4880,98 +4915,98 @@ function Vt(e) {
4880
4915
  );
4881
4916
  return {
4882
4917
  c() {
4883
- t = A("div"), a.c(), r = Ze(), x(t, "class", i = vt(
4918
+ t = A("div"), a.c(), r = Je(), E(t, "class", i = Tt(
4884
4919
  /*index*/
4885
4920
  e[39] > +/*numberofentries*/
4886
4921
  e[1] ? "LimitContainer" : ""
4887
4922
  ) + " svelte-19ml84y");
4888
4923
  },
4889
4924
  m(h, c) {
4890
- W(h, t, c), a.m(t, null), T(t, r), l();
4925
+ W(h, t, c), a.m(t, null), x(t, r), l();
4891
4926
  },
4892
4927
  p(h, c) {
4893
- e = h, o === (o = s(e)) && a ? a.p(e, c) : (a.d(1), a = o(e), a && (a.c(), a.m(t, r))), c[0] & /*numberofentries*/
4894
- 2 && i !== (i = vt(
4928
+ e = h, s === (s = o(e)) && a ? a.p(e, c) : (a.d(1), a = s(e), a && (a.c(), a.m(t, r))), c[0] & /*numberofentries*/
4929
+ 2 && i !== (i = Tt(
4895
4930
  /*index*/
4896
4931
  e[39] > +/*numberofentries*/
4897
4932
  e[1] ? "LimitContainer" : ""
4898
- ) + " svelte-19ml84y") && x(t, "class", i), n !== /*index*/
4933
+ ) + " svelte-19ml84y") && E(t, "class", i), n !== /*index*/
4899
4934
  e[39] && (u(), n = /*index*/
4900
4935
  e[39], l());
4901
4936
  },
4902
4937
  d(h) {
4903
- h && F(t), a.d(), u();
4938
+ h && j(t), a.d(), u();
4904
4939
  }
4905
4940
  };
4906
4941
  }
4907
- function Hs(e) {
4942
+ function No(e) {
4908
4943
  let t;
4909
- function r(s, o) {
4944
+ function r(o, s) {
4910
4945
  return (
4911
4946
  /*hasErrors*/
4912
- s[6] ? ws : (
4947
+ o[6] ? Io : (
4913
4948
  /*isLoading*/
4914
- s[4] ? Ss : Ls
4949
+ o[4] ? Oo : Ho
4915
4950
  )
4916
4951
  );
4917
4952
  }
4918
4953
  let i = r(e), n = i(e);
4919
4954
  return {
4920
4955
  c() {
4921
- t = A("div"), n.c(), x(t, "class", "svelte-19ml84y");
4956
+ t = A("div"), n.c(), E(t, "class", "svelte-19ml84y");
4922
4957
  },
4923
- m(s, o) {
4924
- W(s, t, o), n.m(t, null), e[23](t);
4958
+ m(o, s) {
4959
+ W(o, t, s), n.m(t, null), e[23](t);
4925
4960
  },
4926
- p(s, o) {
4927
- i === (i = r(s)) && n ? n.p(s, o) : (n.d(1), n = i(s), n && (n.c(), n.m(t, null)));
4961
+ p(o, s) {
4962
+ i === (i = r(o)) && n ? n.p(o, s) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4928
4963
  },
4929
- i: O,
4930
- o: O,
4931
- d(s) {
4932
- s && F(t), n.d(), e[23](null);
4964
+ i: B,
4965
+ o: B,
4966
+ d(o) {
4967
+ o && j(t), n.d(), e[23](null);
4933
4968
  }
4934
4969
  };
4935
4970
  }
4936
- function Is(e, t, r) {
4971
+ function Mo(e, t, r) {
4937
4972
  let i;
4938
- zr(e, gs, (m) => r(9, i = m));
4939
- let n = window.navigator.userAgent, s = !bs(n), { lang: o = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: d = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, w = new Array(), D = parseInt(c, 10), M = !1, U = !0, X = [], pe = [], ye = !0, Re = !1, ue = { EUR: "€", RON: "lei", TRY: "₺" };
4940
- const Ar = () => {
4941
- fetch(H).then((L) => L.json()).then((L) => {
4942
- Object.keys(L).forEach((N) => {
4943
- jt(N, L[N]);
4973
+ Jr(e, xo, (m) => r(9, i = m));
4974
+ let n = window.navigator.userAgent, o = !To(n), { lang: s = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, S = new Array(), U = parseInt(c, 10), M = !1, $ = !0, X = [], de = [], ye = !0, Ue = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
4975
+ const Ir = () => {
4976
+ fetch(H).then((T) => T.json()).then((T) => {
4977
+ Object.keys(T).forEach((N) => {
4978
+ Xt(N, T[N]);
4944
4979
  });
4945
- }).catch((L) => {
4946
- console.log(L);
4980
+ }).catch((T) => {
4981
+ console.log(T);
4947
4982
  });
4948
4983
  };
4949
- Object.keys(ze).forEach((m) => {
4950
- jt(m, ze[m]);
4984
+ Object.keys(Ye).forEach((m) => {
4985
+ Xt(m, Ye[m]);
4951
4986
  });
4952
- const Pr = () => {
4953
- let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, L = new URL(m, u);
4954
- L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
4987
+ const Br = () => {
4988
+ let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, T = new URL(m, u);
4989
+ T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4955
4990
  let N = {
4956
4991
  method: "GET",
4957
4992
  headers: { "X-SessionID": l }
4958
4993
  };
4959
- fetch(L.href, N).then((P) => {
4994
+ fetch(T.href, N).then((P) => {
4960
4995
  if (P.status >= 300)
4961
- throw r(4, U = !1), r(6, M = !0), new Error("There was an error fetching the limits");
4996
+ throw r(4, $ = !1), r(6, M = !0), new Error("There was an error fetching the limits");
4962
4997
  return P.json();
4963
4998
  }).then(
4964
4999
  (P) => {
4965
- P.length && (X = Hr(P), r(7, pe = X.slice(0, D))), r(4, U = !1);
5000
+ P.length && (X = Cr(P), r(7, de = X.slice(0, U))), r(4, $ = !1);
4966
5001
  },
4967
5002
  (P) => {
4968
5003
  console.error("There was an error", P), r(6, M = !0);
4969
5004
  }
4970
5005
  );
4971
- }, Hr = (m) => {
4972
- const L = !!ze[o];
5006
+ }, Cr = (m) => {
5007
+ const T = !!Ye[s];
4973
5008
  return m.map((P) => {
4974
- let $ = {
5009
+ let G = {
4975
5010
  amount: "",
4976
5011
  currency: "",
4977
5012
  date: "",
@@ -4979,104 +5014,104 @@ function Is(e, t, r) {
4979
5014
  type: "",
4980
5015
  removed: !1
4981
5016
  };
4982
- return $.amount = Ir(P), $.currency = L ? ue[P.limitCurrencyCode] : P.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), $.period = i(`${P.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), $.removed = P.limitAmount === -1, $;
5017
+ return G.amount = Nr(P), G.currency = T ? ae[P.limitCurrencyCode] : P.limitCurrencyCode, G.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), G.period = i(`${P.limitPeriod.toLowerCase()}`), G.type = h === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), G.removed = P.limitAmount === -1, G;
4983
5018
  });
4984
- }, Ir = (m) => {
4985
- let L = d || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4986
- if (!d) {
4987
- let $r = ue[m.limitCurrencyCode] || m.limitCurrencyCode;
4988
- return `${L}${$r}`;
5019
+ }, Nr = (m) => {
5020
+ let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
5021
+ if (!p) {
5022
+ let kr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
5023
+ return `${T}${kr}`;
4989
5024
  }
4990
5025
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4991
- const N = L.match(/\{(\d+)decimals\}/), P = N ? parseInt(N[1], 10) : 2, $ = N ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
5026
+ const N = T.match(/\{(\d+)decimals\}/), P = N ? parseInt(N[1], 10) : 2, G = N ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4992
5027
  let ge = parseFloat(m.limitAmount).toFixed(P);
4993
- const [Dr, De] = d.includes(".") ? [",", "."] : [".", ","];
4994
- let [Ue, Ur] = ge.split(".");
4995
- return Ue = Ue.replace(/\B(?=(\d{3})+(?!\d))/g, Dr), ge = `${Ue}${De}${Ur}`, L = L.replace("{currency}", ue[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split(De)[0]).replace(
4996
- $,
4997
- ge.split(De)[1]
4998
- ), L;
4999
- }, Br = () => {
5000
- r(5, ye = !ye), r(8, Re = !Re);
5028
+ const [Fr, $e] = p.includes(".") ? [",", "."] : [".", ","];
5029
+ let [Ge, jr] = ge.split(".");
5030
+ return Ge = Ge.replace(/\B(?=(\d{3})+(?!\d))/g, Fr), ge = `${Ge}${$e}${jr}`, T = T.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split($e)[0]).replace(
5031
+ G,
5032
+ ge.split($e)[1]
5033
+ ), T;
5034
+ }, Mr = () => {
5035
+ r(5, ye = !ye), r(8, Ue = !Ue);
5001
5036
  };
5002
- let dt = new IntersectionObserver((m) => {
5003
- m.forEach((L) => {
5004
- L.isIntersecting && (D += parseInt(c, 10) || 10, pe.length < X.length && r(7, pe = X.slice(0, D)));
5037
+ let bt = new IntersectionObserver((m) => {
5038
+ m.forEach((T) => {
5039
+ T.isIntersecting && (U += parseInt(c, 10) || 10, de.length < X.length && r(7, de = X.slice(0, U)));
5005
5040
  });
5006
5041
  });
5007
- const Or = () => {
5008
- dt.observe(w[w.length - 1]);
5009
- }, Cr = () => {
5042
+ const Rr = () => {
5043
+ bt.observe(S[S.length - 1]);
5044
+ }, Dr = () => {
5010
5045
  if (!f)
5011
5046
  return;
5012
5047
  let m = {};
5013
- f.split(",").forEach((L) => {
5014
- let N = L.split(":");
5048
+ f.split(",").forEach((T) => {
5049
+ let N = T.split(":");
5015
5050
  m[N[0].trim()] = N[1].trim();
5016
- }), ue = be(be({}, ue), m);
5017
- }, Nr = () => {
5018
- xs(o);
5051
+ }), ae = be(be({}, ae), m);
5052
+ }, Ur = () => {
5053
+ Ao(s);
5019
5054
  };
5020
- ri(() => () => {
5021
- dt.unobserve(w[w.length - 1]);
5055
+ si(() => () => {
5056
+ bt.unobserve(S[S.length - 1]);
5022
5057
  });
5023
- function Mr(m, L) {
5058
+ function $r(m, T) {
5024
5059
  Pe[m ? "unshift" : "push"](() => {
5025
- w[L] = m, r(3, w);
5060
+ S[T] = m, r(3, S);
5026
5061
  });
5027
5062
  }
5028
- function Rr(m) {
5063
+ function Gr(m) {
5029
5064
  Pe[m ? "unshift" : "push"](() => {
5030
5065
  g = m, r(2, g);
5031
5066
  });
5032
5067
  }
5033
5068
  return e.$$set = (m) => {
5034
- "lang" in m && r(0, o = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, d = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, p = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
5069
+ "lang" in m && r(0, s = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
5035
5070
  }, e.$$.update = () => {
5036
5071
  e.$$.dirty[0] & /*customcurrencysymbols*/
5037
- 65536 && f && Cr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
5038
- 61440 && u && a && l && h && Pr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
5039
- 56 && w[0] && !U && !ye && Or(), e.$$.dirty[0] & /*lang*/
5040
- 1 && o && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5041
- 262148 && y && g && vs(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5042
- 524292 && p && g && _s(g, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5043
- 1048580 && v && g && Es(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
5044
- 2097156 && H && g && Ar();
5072
+ 65536 && f && Dr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
5073
+ 61440 && u && a && l && h && Br(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
5074
+ 56 && S[0] && !$ && !ye && Rr(), e.$$.dirty[0] & /*lang*/
5075
+ 1 && s && Ur(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5076
+ 262148 && y && g && Lo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5077
+ 524292 && d && g && So(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5078
+ 1048580 && v && g && wo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
5079
+ 2097156 && H && g && Ir();
5045
5080
  }, [
5046
- o,
5081
+ s,
5047
5082
  c,
5048
5083
  g,
5049
- w,
5050
- U,
5084
+ S,
5085
+ $,
5051
5086
  ye,
5052
5087
  M,
5053
- pe,
5054
- Re,
5088
+ de,
5089
+ Ue,
5055
5090
  i,
5056
- s,
5057
- Br,
5091
+ o,
5092
+ Mr,
5058
5093
  a,
5059
5094
  l,
5060
5095
  u,
5061
5096
  h,
5062
5097
  f,
5063
- d,
5064
- y,
5065
5098
  p,
5099
+ y,
5100
+ d,
5066
5101
  v,
5067
5102
  H,
5068
- Mr,
5069
- Rr
5103
+ $r,
5104
+ Gr
5070
5105
  ];
5071
5106
  }
5072
- class wr extends mi {
5107
+ class Or extends gi {
5073
5108
  constructor(t) {
5074
- super(), ci(
5109
+ super(), di(
5075
5110
  this,
5076
5111
  t,
5077
- Is,
5078
- Hs,
5079
- Xt,
5112
+ Mo,
5113
+ No,
5114
+ Yt,
5080
5115
  {
5081
5116
  lang: 0,
5082
5117
  userid: 12,
@@ -5091,7 +5126,7 @@ class wr extends mi {
5091
5126
  mbsource: 20,
5092
5127
  translationurl: 21
5093
5128
  },
5094
- Ts,
5129
+ Po,
5095
5130
  [-1, -1]
5096
5131
  );
5097
5132
  }
@@ -5168,59 +5203,59 @@ class wr extends mi {
5168
5203
  this.$$set({ translationurl: t }), C();
5169
5204
  }
5170
5205
  }
5171
- fi(wr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5172
- const Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5206
+ yi(Or, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5207
+ const Ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5173
5208
  __proto__: null,
5174
- default: wr
5209
+ default: Or
5175
5210
  }, Symbol.toStringTag, { value: "Module" }));
5176
5211
  export {
5177
5212
  oe as $,
5178
- Gs as A,
5179
- ne as B,
5180
- Et as C,
5181
- $s as D,
5182
- Jr as E,
5183
- Ye as F,
5184
- Fs as G,
5185
- gs as H,
5186
- xe as I,
5187
- Xs as J,
5188
- Ws as K,
5189
- ai as L,
5190
- zs as M,
5191
- Vs as N,
5192
- Ds as O,
5193
- ks as P,
5194
- Os as Q,
5195
- Ns as R,
5196
- mi as S,
5197
- Ms as T,
5198
- Cs as U,
5199
- Zs as V,
5200
- Er as a,
5201
- Zr as b,
5202
- fi as c,
5203
- Ze as d,
5204
- A as e,
5213
+ Fo as A,
5214
+ Xo as B,
5215
+ Ke as C,
5216
+ xe as D,
5217
+ Lo as E,
5218
+ So as F,
5219
+ wo as G,
5220
+ yi as H,
5221
+ xo as I,
5222
+ Jo as J,
5223
+ ci as K,
5224
+ Yo as L,
5225
+ qo as M,
5226
+ Qo as N,
5227
+ jo as O,
5228
+ Zo as P,
5229
+ Do as Q,
5230
+ $o as R,
5231
+ gi as S,
5232
+ Go as T,
5233
+ Uo as U,
5234
+ Ko as V,
5235
+ Sr as a,
5236
+ qr as b,
5237
+ W as c,
5238
+ j as d,
5239
+ x as e,
5205
5240
  C as f,
5206
- W as g,
5207
- T as h,
5208
- ci as i,
5209
- F as j,
5210
- zr as k,
5211
- bs as l,
5212
- x as m,
5213
- O as n,
5214
- ri as o,
5215
- js as p,
5216
- Pe as q,
5217
- vs as r,
5218
- Xt as s,
5219
- Us as t,
5220
- _s as u,
5221
- Es as v,
5222
- R as w,
5223
- Rs as x,
5224
- qr as y,
5225
- V as z
5241
+ A as g,
5242
+ Je as h,
5243
+ di as i,
5244
+ Jr as j,
5245
+ To as k,
5246
+ E as l,
5247
+ zo as m,
5248
+ B as n,
5249
+ si as o,
5250
+ Pe as p,
5251
+ St as q,
5252
+ ti as r,
5253
+ Yt as s,
5254
+ ko as t,
5255
+ ie as u,
5256
+ V as v,
5257
+ Vo as w,
5258
+ ri as x,
5259
+ D as y,
5260
+ Wo as z
5226
5261
  };