@everymatrix/player-account-gaming-limits-wrapper-2 1.59.1 → 1.59.2

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-9gtkrg2u.js → PlayerAccountGamingLimitsHistory2-B3PpGrMk.js} +786 -764
  2. package/components/{PlayerAccountGamingLimitsHistory2-Es10aeT3.js → PlayerAccountGamingLimitsHistory2-DIXg5IuM.js} +596 -574
  3. package/components/PlayerAccountGamingLimitsHistory2-DOCZA8tu.cjs +18 -0
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-CjGfNrnJ.cjs → PlayerAccountGamingLimitsPage2Gm16-C9Ec_rtG.cjs} +1 -1
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-CotSzAHN.js → PlayerAccountGamingLimitsPage2Gm16-DqrD-O7u.js} +9 -9
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16-wzHsk3Hu.js → PlayerAccountGamingLimitsPage2Gm16-boMA00-7.js} +8 -8
  7. package/components/{PlayerAccountGamingLimitsWrapper2-CsWiuDsG.cjs → PlayerAccountGamingLimitsWrapper2-BzFrIrB9.cjs} +1 -1
  8. package/components/{PlayerAccountGamingLimitsWrapper2-xFNCK-Dm.js → PlayerAccountGamingLimitsWrapper2-Ci2hyn9-.js} +124 -113
  9. package/components/{PlayerAccountGamingLimitsWrapper2-9pyNxaQI.js → PlayerAccountGamingLimitsWrapper2-UW0QZaKP.js} +86 -75
  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-ae04a8b1-DPYODDdm.cjs +1 -0
  15. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  16. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  17. package/stencil/{ui-skeleton-IHMCRYEX.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
  18. package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-C5gPr5Xv.js} +2 -2
  19. package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-M7HNQCk1.js} +2 -2
  20. package/stencil/{ui-skeleton-a642cced-BNXFvvk_.js → ui-skeleton-a642cced-BFJMszWG.js} +1 -1
  21. package/stencil/{ui-skeleton-a642cced-5nW6b8_l.cjs → ui-skeleton-a642cced-DO34s50a.cjs} +1 -1
  22. package/stencil/{ui-skeleton-a642cced-DdY2eEM0.js → ui-skeleton-a642cced-p8tGooXk.js} +1 -1
  23. package/components/PlayerAccountGamingLimitsHistory2-aUqlydFS.cjs +0 -18
  24. package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
  25. package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
  26. package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +0 -1
@@ -1,35 +1,35 @@
1
- var $r = Object.defineProperty, Gr = Object.defineProperties;
2
- var Fr = Object.getOwnPropertyDescriptors;
3
- var pt = Object.getOwnPropertySymbols;
4
- var jr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
5
- var Ue = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
1
+ var kr = Object.defineProperty, Vr = Object.defineProperties;
2
+ var Wr = Object.getOwnPropertyDescriptors;
3
+ var gt = Object.getOwnPropertySymbols;
4
+ var Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
5
+ var Ue = (e, t, r) => t in e ? kr(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
- jr.call(t, r) && Ue(e, r, t[r]);
8
- if (pt)
9
- for (var r of pt(t))
10
- kr.call(t, r) && Ue(e, r, t[r]);
7
+ Xr.call(t, r) && Ue(e, r, t[r]);
8
+ if (gt)
9
+ for (var r of gt(t))
10
+ zr.call(t, r) && Ue(e, r, t[r]);
11
11
  return e;
12
- }, dt = (e, t) => Gr(e, Fr(t));
12
+ }, bt = (e, t) => Vr(e, Wr(t));
13
13
  var N = (e, t, r) => (Ue(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var yt = (e, t, r) => new Promise((i, n) => {
14
+ var vt = (e, t, r) => new Promise((i, n) => {
15
15
  var o = (l) => {
16
16
  try {
17
- a(r.next(l));
17
+ s(r.next(l));
18
18
  } catch (u) {
19
19
  n(u);
20
20
  }
21
- }, s = (l) => {
21
+ }, a = (l) => {
22
22
  try {
23
- a(r.throw(l));
23
+ s(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(o, s);
28
- a((r = r.apply(e, t)).next());
27
+ }, s = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, a);
28
+ s((r = r.apply(e, t)).next());
29
29
  });
30
30
  function B() {
31
31
  }
32
- function Vr(e, t) {
32
+ function Zr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,25 +37,25 @@ function Vr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Vt(e) {
40
+ function zt(e) {
41
41
  return e();
42
42
  }
43
- function gt() {
43
+ function _t() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
46
  function ne(e) {
47
- e.forEach(Vt);
47
+ e.forEach(zt);
48
48
  }
49
- function ht(e) {
49
+ function ct(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Wt(e, t) {
52
+ function Zt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function Wr(e) {
55
+ function Qr(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function Xt(e, ...t) {
58
+ function Qt(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const i of t)
61
61
  i(void 0);
@@ -64,40 +64,40 @@ function Xt(e, ...t) {
64
64
  const r = e.subscribe(...t);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function Xr(e, t, r) {
68
- e.$$.on_destroy.push(Xt(t, r));
67
+ function Yr(e, t, r) {
68
+ e.$$.on_destroy.push(Qt(t, r));
69
69
  }
70
- function Oo(e, t, r, i) {
70
+ function Ro(e, t, r, i) {
71
71
  if (e) {
72
- const n = zt(e, t, r, i);
72
+ const n = Yt(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 ? Vr(r.ctx.slice(), e[1](i(t))) : r.ctx;
76
+ function Yt(e, t, r, i) {
77
+ return e[1] && i ? Zr(r.ctx.slice(), e[1](i(t))) : r.ctx;
78
78
  }
79
- function Co(e, t, r, i) {
79
+ function Mo(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 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];
85
+ const o = [], a = Math.max(t.dirty.length, n.length);
86
+ for (let s = 0; s < a; s += 1)
87
+ o[s] = t.dirty[s] | n[s];
88
88
  return o;
89
89
  }
90
90
  return t.dirty | n;
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function No(e, t, r, i, n, o) {
94
+ function Do(e, t, r, i, n, o) {
95
95
  if (n) {
96
- const s = zt(t, r, i, o);
97
- e.p(s, n);
96
+ const a = Yt(t, r, i, o);
97
+ e.p(a, n);
98
98
  }
99
99
  }
100
- function Ro(e) {
100
+ function Uo(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 Ro(e) {
106
106
  }
107
107
  return -1;
108
108
  }
109
- function bt(e) {
109
+ function Et(e) {
110
110
  return e == null ? "" : e;
111
111
  }
112
112
  function T(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
- function zr(e, t, r) {
116
- const i = Zr(e);
115
+ function Jr(e, t, r) {
116
+ const i = qr(e);
117
117
  if (!i.getElementById(t)) {
118
118
  const n = P("style");
119
- n.id = t, n.textContent = r, Qr(i, n);
119
+ n.id = t, n.textContent = r, Kr(i, n);
120
120
  }
121
121
  }
122
- function Zr(e) {
122
+ function qr(e) {
123
123
  if (!e)
124
124
  return document;
125
125
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -129,7 +129,7 @@ function Zr(e) {
129
129
  t
130
130
  ) : e.ownerDocument;
131
131
  }
132
- function Qr(e, t) {
132
+ function Kr(e, t) {
133
133
  return T(
134
134
  /** @type {Document} */
135
135
  e.head || e,
@@ -142,7 +142,7 @@ function z(e, t, r) {
142
142
  function V(e) {
143
143
  e.parentNode && e.parentNode.removeChild(e);
144
144
  }
145
- function Yr(e, t) {
145
+ function ei(e, t) {
146
146
  for (let r = 0; r < e.length; r += 1)
147
147
  e[r] && e[r].d(t);
148
148
  }
@@ -155,39 +155,39 @@ function $e(e) {
155
155
  function M(e) {
156
156
  return document.createTextNode(e);
157
157
  }
158
- function Ze() {
158
+ function Qe() {
159
159
  return M(" ");
160
160
  }
161
- function Mo() {
161
+ function $o() {
162
162
  return M("");
163
163
  }
164
- function Jr(e, t, r, i) {
164
+ function ti(e, t, r, i) {
165
165
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
166
166
  }
167
167
  function x(e, t, r) {
168
168
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
169
169
  }
170
- function Do(e, t, r) {
170
+ function Go(e, t, r) {
171
171
  const i = t.toLowerCase();
172
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);
173
173
  }
174
- function Uo(e) {
174
+ function Fo(e) {
175
175
  return e === "" ? null : +e;
176
176
  }
177
- function qr(e) {
177
+ function ri(e) {
178
178
  return Array.from(e.childNodes);
179
179
  }
180
180
  function k(e, t) {
181
181
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
182
182
  t);
183
183
  }
184
- function $o(e, t) {
184
+ function jo(e, t) {
185
185
  e.value = t == null ? "" : t;
186
186
  }
187
- function Go(e, t, r, i) {
187
+ function ko(e, t, r, i) {
188
188
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
189
189
  }
190
- function Fo(e, t, r) {
190
+ function Vo(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,14 +197,14 @@ function Fo(e, t, r) {
197
197
  }
198
198
  (!r || t !== void 0) && (e.selectedIndex = -1);
199
199
  }
200
- function jo(e) {
200
+ function Wo(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
- function Kr(e) {
207
+ function ii(e) {
208
208
  const t = {};
209
209
  return e.childNodes.forEach(
210
210
  /** @param {Element} node */
@@ -217,22 +217,22 @@ let ce;
217
217
  function he(e) {
218
218
  ce = e;
219
219
  }
220
- function ei() {
220
+ function ni() {
221
221
  if (!ce)
222
222
  throw new Error("Function called outside component initialization");
223
223
  return ce;
224
224
  }
225
- function ti(e) {
226
- ei().$$.on_mount.push(e);
225
+ function oi(e) {
226
+ ni().$$.on_mount.push(e);
227
227
  }
228
228
  const J = [], Ae = [];
229
229
  let q = [];
230
- const vt = [], ri = /* @__PURE__ */ Promise.resolve();
231
- let Qe = !1;
232
- function ii() {
233
- Qe || (Qe = !0, ri.then(O));
230
+ const xt = [], si = /* @__PURE__ */ Promise.resolve();
231
+ let Ye = !1;
232
+ function ai() {
233
+ Ye || (Ye = !0, si.then(O));
234
234
  }
235
- function Ye(e) {
235
+ function Je(e) {
236
236
  q.push(e);
237
237
  }
238
238
  const Ge = /* @__PURE__ */ new Set();
@@ -245,7 +245,7 @@ function O() {
245
245
  try {
246
246
  for (; Q < J.length; ) {
247
247
  const t = J[Q];
248
- Q++, he(t), ni(t.$$);
248
+ Q++, he(t), ui(t.$$);
249
249
  }
250
250
  } catch (t) {
251
251
  throw J.length = 0, Q = 0, t;
@@ -258,24 +258,24 @@ function O() {
258
258
  }
259
259
  q.length = 0;
260
260
  } while (J.length);
261
- for (; vt.length; )
262
- vt.pop()();
263
- Qe = !1, Ge.clear(), he(e);
261
+ for (; xt.length; )
262
+ xt.pop()();
263
+ Ye = !1, Ge.clear(), he(e);
264
264
  }
265
- function ni(e) {
265
+ function ui(e) {
266
266
  if (e.fragment !== null) {
267
267
  e.update(), ne(e.before_update);
268
268
  const t = e.dirty;
269
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
269
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
270
270
  }
271
271
  }
272
- function oi(e) {
272
+ function li(e) {
273
273
  const t = [], r = [];
274
274
  q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), q = t;
275
275
  }
276
276
  const xe = /* @__PURE__ */ new Set();
277
277
  let X;
278
- function ko() {
278
+ function Xo() {
279
279
  X = {
280
280
  r: 0,
281
281
  c: [],
@@ -283,13 +283,13 @@ function ko() {
283
283
  // parent group
284
284
  };
285
285
  }
286
- function Vo() {
286
+ function zo() {
287
287
  X.r || ne(X.c), X = X.p;
288
288
  }
289
- function si(e, t) {
289
+ function hi(e, t) {
290
290
  e && e.i && (xe.delete(e), e.i(t));
291
291
  }
292
- function Wo(e, t, r, i) {
292
+ function Zo(e, t, r, i) {
293
293
  if (e && e.o) {
294
294
  if (xe.has(e))
295
295
  return;
@@ -299,24 +299,24 @@ function Wo(e, t, r, i) {
299
299
  } else
300
300
  i && i();
301
301
  }
302
- function _t(e) {
302
+ function Tt(e) {
303
303
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
304
304
  }
305
- function ai(e, t, r) {
305
+ function ci(e, t, r) {
306
306
  const { fragment: i, after_update: n } = e.$$;
307
- i && i.m(t, r), Ye(() => {
308
- const o = e.$$.on_mount.map(Vt).filter(ht);
307
+ i && i.m(t, r), Je(() => {
308
+ const o = e.$$.on_mount.map(zt).filter(ct);
309
309
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
310
- }), n.forEach(Ye);
310
+ }), n.forEach(Je);
311
311
  }
312
- function ui(e, t) {
312
+ function fi(e, t) {
313
313
  const r = e.$$;
314
- 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 = []);
314
+ r.fragment !== null && (li(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
315
315
  }
316
- function li(e, t) {
317
- e.$$.dirty[0] === -1 && (J.push(e), ii(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
316
+ function mi(e, t) {
317
+ e.$$.dirty[0] === -1 && (J.push(e), ai(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
318
318
  }
319
- function hi(e, t, r, i, n, o, s = null, a = [-1]) {
319
+ function pi(e, t, r, i, n, o, a = null, s = [-1]) {
320
320
  const l = ce;
321
321
  he(e);
322
322
  const u = e.$$ = {
@@ -326,7 +326,7 @@ function hi(e, t, r, i, n, o, s = null, a = [-1]) {
326
326
  props: o,
327
327
  update: B,
328
328
  not_equal: n,
329
- bound: gt(),
329
+ bound: _t(),
330
330
  // lifecycle
331
331
  on_mount: [],
332
332
  on_destroy: [],
@@ -335,28 +335,28 @@ function hi(e, t, r, i, n, o, s = null, a = [-1]) {
335
335
  after_update: [],
336
336
  context: new Map(t.context || (l ? l.$$.context : [])),
337
337
  // everything else
338
- callbacks: gt(),
339
- dirty: a,
338
+ callbacks: _t(),
339
+ dirty: s,
340
340
  skip_bound: !1,
341
341
  root: t.target || l.$$.root
342
342
  };
343
- s && s(u.root);
343
+ a && a(u.root);
344
344
  let h = !1;
345
345
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
346
346
  const y = p.length ? p[0] : f;
347
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && li(e, c)), f;
347
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && mi(e, c)), f;
348
348
  }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
349
349
  if (t.hydrate) {
350
- const c = qr(t.target);
350
+ const c = ri(t.target);
351
351
  u.fragment && u.fragment.l(c), c.forEach(V);
352
352
  } else
353
353
  u.fragment && u.fragment.c();
354
- t.intro && si(e.$$.fragment), ai(e, t.target, t.anchor), O();
354
+ t.intro && hi(e.$$.fragment), ci(e, t.target, t.anchor), O();
355
355
  }
356
356
  he(l);
357
357
  }
358
- let Zt;
359
- typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
358
+ let Jt;
359
+ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
360
360
  constructor(t, r, i) {
361
361
  super();
362
362
  /** The Svelte component constructor */
@@ -393,42 +393,42 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
393
393
  }
394
394
  }
395
395
  connectedCallback() {
396
- return yt(this, null, function* () {
396
+ return vt(this, null, function* () {
397
397
  if (this.$$cn = !0, !this.$$c) {
398
398
  let t = function(o) {
399
399
  return () => {
400
- let s;
400
+ let a;
401
401
  return {
402
402
  c: function() {
403
- s = P("slot"), o !== "default" && x(s, "name", o);
403
+ a = P("slot"), o !== "default" && x(a, "name", o);
404
404
  },
405
405
  /**
406
406
  * @param {HTMLElement} target
407
407
  * @param {HTMLElement} [anchor]
408
408
  */
409
409
  m: function(u, h) {
410
- z(u, s, h);
410
+ z(u, a, h);
411
411
  },
412
412
  d: function(u) {
413
- u && V(s);
413
+ u && V(a);
414
414
  }
415
415
  };
416
416
  };
417
417
  };
418
418
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
419
419
  return;
420
- const r = {}, i = Kr(this);
420
+ const r = {}, i = ii(this);
421
421
  for (const o of this.$$s)
422
422
  o in i && (r[o] = [t(o)]);
423
423
  for (const o of this.attributes) {
424
- const s = this.$$g_p(o.name);
425
- s in this.$$d || (this.$$d[s] = Te(s, o.value, this.$$p_d, "toProp"));
424
+ const a = this.$$g_p(o.name);
425
+ a in this.$$d || (this.$$d[a] = Te(a, o.value, this.$$p_d, "toProp"));
426
426
  }
427
427
  for (const o in this.$$p_d)
428
428
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
429
429
  this.$$c = new this.$$ctor({
430
430
  target: this.shadowRoot || this,
431
- props: dt(be({}, this.$$d), {
431
+ props: bt(be({}, this.$$d), {
432
432
  $$slots: r,
433
433
  $$scope: {
434
434
  ctx: []
@@ -439,21 +439,21 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
439
439
  this.$$r = !0;
440
440
  for (const o in this.$$p_d)
441
441
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
442
- const s = Te(
442
+ const a = Te(
443
443
  o,
444
444
  this.$$d[o],
445
445
  this.$$p_d,
446
446
  "toAttribute"
447
447
  );
448
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
448
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
449
449
  }
450
450
  this.$$r = !1;
451
451
  };
452
452
  this.$$c.$$.after_update.push(n), n();
453
453
  for (const o in this.$$l)
454
- for (const s of this.$$l[o]) {
455
- const a = this.$$c.$on(o, s);
456
- this.$$l_u.set(s, a);
454
+ for (const a of this.$$l[o]) {
455
+ const s = this.$$c.$on(o, a);
456
+ this.$$l_u.set(a, s);
457
457
  }
458
458
  this.$$l = {};
459
459
  }
@@ -506,38 +506,38 @@ function Te(e, t, r, i) {
506
506
  return t;
507
507
  }
508
508
  }
509
- function ci(e, t, r, i, n, o) {
510
- let s = class extends Zt {
509
+ function di(e, t, r, i, n, o) {
510
+ let a = class extends Jt {
511
511
  constructor() {
512
512
  super(e, r, n), this.$$p_d = t;
513
513
  }
514
514
  static get observedAttributes() {
515
515
  return Object.keys(t).map(
516
- (a) => (t[a].attribute || a).toLowerCase()
516
+ (s) => (t[s].attribute || s).toLowerCase()
517
517
  );
518
518
  }
519
519
  };
520
- return Object.keys(t).forEach((a) => {
521
- Object.defineProperty(s.prototype, a, {
520
+ return Object.keys(t).forEach((s) => {
521
+ Object.defineProperty(a.prototype, s, {
522
522
  get() {
523
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
523
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
524
524
  },
525
525
  set(l) {
526
526
  var u;
527
- l = Te(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
527
+ l = Te(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
528
528
  }
529
529
  });
530
- }), i.forEach((a) => {
531
- Object.defineProperty(s.prototype, a, {
530
+ }), i.forEach((s) => {
531
+ Object.defineProperty(a.prototype, s, {
532
532
  get() {
533
533
  var l;
534
- return (l = this.$$c) == null ? void 0 : l[a];
534
+ return (l = this.$$c) == null ? void 0 : l[s];
535
535
  }
536
536
  });
537
537
  }), e.element = /** @type {any} */
538
- s, s;
538
+ a, a;
539
539
  }
540
- class fi {
540
+ class yi {
541
541
  constructor() {
542
542
  /**
543
543
  * ### PRIVATE API
@@ -558,7 +558,7 @@ class fi {
558
558
  }
559
559
  /** @returns {void} */
560
560
  $destroy() {
561
- ui(this, 1), this.$destroy = B;
561
+ fi(this, 1), this.$destroy = B;
562
562
  }
563
563
  /**
564
564
  * @template {Extract<keyof Events, string>} K
@@ -567,7 +567,7 @@ class fi {
567
567
  * @returns {() => void}
568
568
  */
569
569
  $on(t, r) {
570
- if (!ht(r))
570
+ if (!ct(r))
571
571
  return B;
572
572
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
573
573
  return i.push(r), () => {
@@ -580,11 +580,11 @@ class fi {
580
580
  * @returns {void}
581
581
  */
582
582
  $set(t) {
583
- this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
583
+ this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
584
584
  }
585
585
  }
586
- const mi = "4";
587
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mi);
586
+ const gi = "4";
587
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gi);
588
588
  /*! *****************************************************************************
589
589
  Copyright (c) Microsoft Corporation.
590
590
 
@@ -599,18 +599,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
599
599
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
600
600
  PERFORMANCE OF THIS SOFTWARE.
601
601
  ***************************************************************************** */
602
- var Je = function(e, t) {
603
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
602
+ var qe = function(e, t) {
603
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
604
604
  r.__proto__ = i;
605
605
  } || function(r, i) {
606
606
  for (var n in i)
607
607
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
608
- }, Je(e, t);
608
+ }, qe(e, t);
609
609
  };
610
610
  function F(e, t) {
611
611
  if (typeof t != "function" && t !== null)
612
612
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
613
- Je(e, t);
613
+ qe(e, t);
614
614
  function r() {
615
615
  this.constructor = e;
616
616
  }
@@ -626,7 +626,7 @@ var E = function() {
626
626
  return t;
627
627
  }, E.apply(this, arguments);
628
628
  };
629
- function pi(e, t) {
629
+ function bi(e, t) {
630
630
  var r = {};
631
631
  for (var i in e)
632
632
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -635,7 +635,7 @@ function pi(e, t) {
635
635
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
636
636
  return r;
637
637
  }
638
- function qe(e) {
638
+ function Ke(e) {
639
639
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
640
640
  if (r)
641
641
  return r.call(e);
@@ -647,22 +647,22 @@ function qe(e) {
647
647
  };
648
648
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
649
649
  }
650
- function Ke(e, t) {
650
+ function et(e, t) {
651
651
  var r = typeof Symbol == "function" && e[Symbol.iterator];
652
652
  if (!r)
653
653
  return e;
654
- var i = r.call(e), n, o = [], s;
654
+ var i = r.call(e), n, o = [], a;
655
655
  try {
656
656
  for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
657
657
  o.push(n.value);
658
- } catch (a) {
659
- s = { error: a };
658
+ } catch (s) {
659
+ a = { error: s };
660
660
  } finally {
661
661
  try {
662
662
  n && !n.done && (r = i.return) && r.call(i);
663
663
  } finally {
664
- if (s)
665
- throw s.error;
664
+ if (a)
665
+ throw a.error;
666
666
  }
667
667
  }
668
668
  return o;
@@ -676,13 +676,13 @@ function K(e, t, r) {
676
676
  function G(e) {
677
677
  return typeof e == "function";
678
678
  }
679
- function Qt(e) {
679
+ function qt(e) {
680
680
  var t = function(i) {
681
681
  Error.call(i), i.stack = new Error().stack;
682
682
  }, r = e(t);
683
683
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
684
684
  }
685
- var Fe = Qt(function(e) {
685
+ var Fe = qt(function(e) {
686
686
  return function(r) {
687
687
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
688
688
  ` + r.map(function(i, n) {
@@ -691,7 +691,7 @@ var Fe = Qt(function(e) {
691
691
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
692
692
  };
693
693
  });
694
- function et(e, t) {
694
+ function tt(e, t) {
695
695
  if (e) {
696
696
  var r = e.indexOf(t);
697
697
  0 <= r && e.splice(r, 1);
@@ -705,11 +705,11 @@ var Ie = function() {
705
705
  var t, r, i, n, o;
706
706
  if (!this.closed) {
707
707
  this.closed = !0;
708
- var s = this._parentage;
709
- if (s)
710
- if (this._parentage = null, Array.isArray(s))
708
+ var a = this._parentage;
709
+ if (a)
710
+ if (this._parentage = null, Array.isArray(a))
711
711
  try {
712
- for (var a = qe(s), l = a.next(); !l.done; l = a.next()) {
712
+ for (var s = Ke(a), l = s.next(); !l.done; l = s.next()) {
713
713
  var u = l.value;
714
714
  u.remove(this);
715
715
  }
@@ -717,14 +717,14 @@ var Ie = function() {
717
717
  t = { error: d };
718
718
  } finally {
719
719
  try {
720
- l && !l.done && (r = a.return) && r.call(a);
720
+ l && !l.done && (r = s.return) && r.call(s);
721
721
  } finally {
722
722
  if (t)
723
723
  throw t.error;
724
724
  }
725
725
  }
726
726
  else
727
- s.remove(this);
727
+ a.remove(this);
728
728
  var h = this.initialTeardown;
729
729
  if (G(h))
730
730
  try {
@@ -736,12 +736,12 @@ var Ie = function() {
736
736
  if (c) {
737
737
  this._finalizers = null;
738
738
  try {
739
- for (var f = qe(c), p = f.next(); !p.done; p = f.next()) {
739
+ for (var f = Ke(c), p = f.next(); !p.done; p = f.next()) {
740
740
  var y = p.value;
741
741
  try {
742
- Et(y);
742
+ Lt(y);
743
743
  } catch (d) {
744
- o = o != null ? o : [], d instanceof Fe ? o = K(K([], Ke(o)), Ke(d.errors)) : o.push(d);
744
+ o = o != null ? o : [], d instanceof Fe ? o = K(K([], et(o)), et(d.errors)) : o.push(d);
745
745
  }
746
746
  }
747
747
  } catch (d) {
@@ -762,7 +762,7 @@ var Ie = function() {
762
762
  var r;
763
763
  if (t && t !== this)
764
764
  if (this.closed)
765
- Et(t);
765
+ Lt(t);
766
766
  else {
767
767
  if (t instanceof e) {
768
768
  if (t.closed || t._hasParent(this))
@@ -779,52 +779,56 @@ var Ie = function() {
779
779
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
780
780
  }, e.prototype._removeParent = function(t) {
781
781
  var r = this._parentage;
782
- r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
782
+ r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
783
783
  }, e.prototype.remove = function(t) {
784
784
  var r = this._finalizers;
785
- r && et(r, t), t instanceof e && t._removeParent(this);
785
+ r && tt(r, t), t instanceof e && t._removeParent(this);
786
786
  }, e.EMPTY = function() {
787
787
  var t = new e();
788
788
  return t.closed = !0, t;
789
789
  }(), e;
790
- }(), Yt = Ie.EMPTY;
791
- function Jt(e) {
790
+ }(), Kt = Ie.EMPTY;
791
+ function er(e) {
792
792
  return e instanceof Ie || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
793
793
  }
794
- function Et(e) {
794
+ function Lt(e) {
795
795
  G(e) ? e() : e.unsubscribe();
796
796
  }
797
- var di = {
798
- Promise: void 0
799
- }, yi = {
797
+ var tr = {
798
+ onUnhandledError: null,
799
+ onStoppedNotification: null,
800
+ Promise: void 0,
801
+ useDeprecatedSynchronousErrorHandling: !1,
802
+ useDeprecatedNextContext: !1
803
+ }, vi = {
800
804
  setTimeout: function(e, t) {
801
805
  for (var r = [], i = 2; i < arguments.length; i++)
802
806
  r[i - 2] = arguments[i];
803
- return setTimeout.apply(void 0, K([e, t], Ke(r)));
807
+ return setTimeout.apply(void 0, K([e, t], et(r)));
804
808
  },
805
809
  clearTimeout: function(e) {
806
810
  return clearTimeout(e);
807
811
  },
808
812
  delegate: void 0
809
813
  };
810
- function gi(e) {
811
- yi.setTimeout(function() {
814
+ function _i(e) {
815
+ vi.setTimeout(function() {
812
816
  throw e;
813
817
  });
814
818
  }
815
- function xt() {
819
+ function St() {
816
820
  }
817
821
  function Le(e) {
818
822
  e();
819
823
  }
820
- var qt = function(e) {
824
+ var rr = function(e) {
821
825
  F(t, e);
822
826
  function t(r) {
823
827
  var i = e.call(this) || this;
824
- return i.isStopped = !1, r ? (i.destination = r, Jt(r) && r.add(i)) : i.destination = _i, i;
828
+ return i.isStopped = !1, r ? (i.destination = r, er(r) && r.add(i)) : i.destination = Li, i;
825
829
  }
826
830
  return t.create = function(r, i, n) {
827
- return new tt(r, i, n);
831
+ return new rt(r, i, n);
828
832
  }, t.prototype.next = function(r) {
829
833
  this.isStopped || this._next(r);
830
834
  }, t.prototype.error = function(r) {
@@ -848,7 +852,11 @@ var qt = function(e) {
848
852
  this.unsubscribe();
849
853
  }
850
854
  }, t;
851
- }(Ie), bi = function() {
855
+ }(Ie), Ei = Function.prototype.bind;
856
+ function je(e, t) {
857
+ return Ei.call(e, t);
858
+ }
859
+ var xi = function() {
852
860
  function e(t) {
853
861
  this.partialObserver = t;
854
862
  }
@@ -879,43 +887,55 @@ var qt = function(e) {
879
887
  _e(r);
880
888
  }
881
889
  }, e;
882
- }(), tt = function(e) {
890
+ }(), rt = function(e) {
883
891
  F(t, e);
884
892
  function t(r, i, n) {
885
- var o = e.call(this) || this, s;
886
- return G(r) || !r ? s = {
887
- next: r != null ? r : void 0,
888
- error: i != null ? i : void 0,
889
- complete: n != null ? n : void 0
890
- } : s = r, o.destination = new bi(s), o;
893
+ var o = e.call(this) || this, a;
894
+ if (G(r) || !r)
895
+ a = {
896
+ next: r != null ? r : void 0,
897
+ error: i != null ? i : void 0,
898
+ complete: n != null ? n : void 0
899
+ };
900
+ else {
901
+ var s;
902
+ o && tr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
903
+ return o.unsubscribe();
904
+ }, a = {
905
+ next: r.next && je(r.next, s),
906
+ error: r.error && je(r.error, s),
907
+ complete: r.complete && je(r.complete, s)
908
+ }) : a = r;
909
+ }
910
+ return o.destination = new xi(a), o;
891
911
  }
892
912
  return t;
893
- }(qt);
913
+ }(rr);
894
914
  function _e(e) {
895
- gi(e);
915
+ _i(e);
896
916
  }
897
- function vi(e) {
917
+ function Ti(e) {
898
918
  throw e;
899
919
  }
900
- var _i = {
920
+ var Li = {
901
921
  closed: !0,
902
- next: xt,
903
- error: vi,
904
- complete: xt
905
- }, Ei = function() {
922
+ next: St,
923
+ error: Ti,
924
+ complete: St
925
+ }, Si = function() {
906
926
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
907
927
  }();
908
- function xi(e) {
928
+ function wi(e) {
909
929
  return e;
910
930
  }
911
- function Ti(e) {
912
- return e.length === 0 ? xi : e.length === 1 ? e[0] : function(r) {
931
+ function Ai(e) {
932
+ return e.length === 0 ? wi : e.length === 1 ? e[0] : function(r) {
913
933
  return e.reduce(function(i, n) {
914
934
  return n(i);
915
935
  }, r);
916
936
  };
917
937
  }
918
- var Tt = function() {
938
+ var wt = function() {
919
939
  function e(t) {
920
940
  t && (this._subscribe = t);
921
941
  }
@@ -923,10 +943,10 @@ var Tt = function() {
923
943
  var r = new e();
924
944
  return r.source = this, r.operator = t, r;
925
945
  }, e.prototype.subscribe = function(t, r, i) {
926
- var n = this, o = Si(t) ? t : new tt(t, r, i);
946
+ var n = this, o = Hi(t) ? t : new rt(t, r, i);
927
947
  return Le(function() {
928
- var s = n, a = s.operator, l = s.source;
929
- o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
948
+ var a = n, s = a.operator, l = a.source;
949
+ o.add(s ? s.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
930
950
  }), o;
931
951
  }, e.prototype._trySubscribe = function(t) {
932
952
  try {
@@ -936,37 +956,37 @@ var Tt = function() {
936
956
  }
937
957
  }, e.prototype.forEach = function(t, r) {
938
958
  var i = this;
939
- return r = Lt(r), new r(function(n, o) {
940
- var s = new tt({
941
- next: function(a) {
959
+ return r = At(r), new r(function(n, o) {
960
+ var a = new rt({
961
+ next: function(s) {
942
962
  try {
943
- t(a);
963
+ t(s);
944
964
  } catch (l) {
945
- o(l), s.unsubscribe();
965
+ o(l), a.unsubscribe();
946
966
  }
947
967
  },
948
968
  error: o,
949
969
  complete: n
950
970
  });
951
- i.subscribe(s);
971
+ i.subscribe(a);
952
972
  });
953
973
  }, e.prototype._subscribe = function(t) {
954
974
  var r;
955
975
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
956
- }, e.prototype[Ei] = function() {
976
+ }, e.prototype[Si] = function() {
957
977
  return this;
958
978
  }, e.prototype.pipe = function() {
959
979
  for (var t = [], r = 0; r < arguments.length; r++)
960
980
  t[r] = arguments[r];
961
- return Ti(t)(this);
981
+ return Ai(t)(this);
962
982
  }, e.prototype.toPromise = function(t) {
963
983
  var r = this;
964
- return t = Lt(t), new t(function(i, n) {
984
+ return t = At(t), new t(function(i, n) {
965
985
  var o;
966
- r.subscribe(function(s) {
967
- return o = s;
968
- }, function(s) {
969
- return n(s);
986
+ r.subscribe(function(a) {
987
+ return o = a;
988
+ }, function(a) {
989
+ return n(a);
970
990
  }, function() {
971
991
  return i(o);
972
992
  });
@@ -975,32 +995,32 @@ var Tt = function() {
975
995
  return new e(t);
976
996
  }, e;
977
997
  }();
978
- function Lt(e) {
998
+ function At(e) {
979
999
  var t;
980
- return (t = e != null ? e : di.Promise) !== null && t !== void 0 ? t : Promise;
1000
+ return (t = e != null ? e : tr.Promise) !== null && t !== void 0 ? t : Promise;
981
1001
  }
982
- function Li(e) {
1002
+ function Pi(e) {
983
1003
  return e && G(e.next) && G(e.error) && G(e.complete);
984
1004
  }
985
- function Si(e) {
986
- return e && e instanceof qt || Li(e) && Jt(e);
1005
+ function Hi(e) {
1006
+ return e && e instanceof rr || Pi(e) && er(e);
987
1007
  }
988
- var wi = Qt(function(e) {
1008
+ var Ii = qt(function(e) {
989
1009
  return function() {
990
1010
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
991
1011
  };
992
- }), Kt = function(e) {
1012
+ }), ir = function(e) {
993
1013
  F(t, e);
994
1014
  function t() {
995
1015
  var r = e.call(this) || this;
996
1016
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
997
1017
  }
998
1018
  return t.prototype.lift = function(r) {
999
- var i = new St(this, this);
1019
+ var i = new Pt(this, this);
1000
1020
  return i.operator = r, i;
1001
1021
  }, t.prototype._throwIfClosed = function() {
1002
1022
  if (this.closed)
1003
- throw new wi();
1023
+ throw new Ii();
1004
1024
  }, t.prototype.next = function(r) {
1005
1025
  var i = this;
1006
1026
  Le(function() {
@@ -1008,15 +1028,15 @@ var wi = Qt(function(e) {
1008
1028
  if (i._throwIfClosed(), !i.isStopped) {
1009
1029
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
1010
1030
  try {
1011
- for (var s = qe(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
1012
- var l = a.value;
1031
+ for (var a = Ke(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
1032
+ var l = s.value;
1013
1033
  l.next(r);
1014
1034
  }
1015
1035
  } catch (u) {
1016
1036
  n = { error: u };
1017
1037
  } finally {
1018
1038
  try {
1019
- a && !a.done && (o = s.return) && o.call(s);
1039
+ s && !s.done && (o = a.return) && o.call(a);
1020
1040
  } finally {
1021
1041
  if (n)
1022
1042
  throw n.error;
@@ -1056,20 +1076,20 @@ var wi = Qt(function(e) {
1056
1076
  }, t.prototype._subscribe = function(r) {
1057
1077
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1058
1078
  }, t.prototype._innerSubscribe = function(r) {
1059
- var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
1060
- return o || s ? Yt : (this.currentObservers = null, a.push(r), new Ie(function() {
1061
- i.currentObservers = null, et(a, r);
1079
+ var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
1080
+ return o || a ? Kt : (this.currentObservers = null, s.push(r), new Ie(function() {
1081
+ i.currentObservers = null, tt(s, r);
1062
1082
  }));
1063
1083
  }, t.prototype._checkFinalizedStatuses = function(r) {
1064
- var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
1065
- n ? r.error(o) : s && r.complete();
1084
+ var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
1085
+ n ? r.error(o) : a && r.complete();
1066
1086
  }, t.prototype.asObservable = function() {
1067
- var r = new Tt();
1087
+ var r = new wt();
1068
1088
  return r.source = this, r;
1069
1089
  }, t.create = function(r, i) {
1070
- return new St(r, i);
1090
+ return new Pt(r, i);
1071
1091
  }, t;
1072
- }(Tt), St = function(e) {
1092
+ }(wt), Pt = function(e) {
1073
1093
  F(t, e);
1074
1094
  function t(r, i) {
1075
1095
  var n = e.call(this) || this;
@@ -1086,45 +1106,45 @@ var wi = Qt(function(e) {
1086
1106
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
1087
1107
  }, t.prototype._subscribe = function(r) {
1088
1108
  var i, n;
1089
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Yt;
1109
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Kt;
1090
1110
  }, t;
1091
- }(Kt), er = {
1111
+ }(ir), nr = {
1092
1112
  now: function() {
1093
- return (er.delegate || Date).now();
1113
+ return (nr.delegate || Date).now();
1094
1114
  },
1095
1115
  delegate: void 0
1096
- }, Ai = function(e) {
1116
+ }, Bi = function(e) {
1097
1117
  F(t, e);
1098
1118
  function t(r, i, n) {
1099
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = er);
1119
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = nr);
1100
1120
  var o = e.call(this) || this;
1101
1121
  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;
1102
1122
  }
1103
1123
  return t.prototype.next = function(r) {
1104
- var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
1105
- n || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1124
+ var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, l = i._windowTime;
1125
+ n || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1106
1126
  }, t.prototype._subscribe = function(r) {
1107
1127
  this._throwIfClosed(), this._trimBuffer();
1108
- 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)
1109
- r.next(a[l]);
1128
+ for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1129
+ r.next(s[l]);
1110
1130
  return this._checkFinalizedStatuses(r), i;
1111
1131
  }, t.prototype._trimBuffer = function() {
1112
- var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
1113
- if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1132
+ var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
1133
+ if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1114
1134
  for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1115
1135
  u = h;
1116
1136
  u && o.splice(0, u + 1);
1117
1137
  }
1118
1138
  }, t;
1119
- }(Kt);
1120
- const wt = [], At = {}, Pi = (e, t = 0) => {
1121
- if (wt.indexOf(e) == -1) {
1122
- const r = new Ai(t);
1123
- At[e] = r, wt.push(e);
1139
+ }(ir);
1140
+ const Ht = [], It = {}, Oi = (e, t = 0) => {
1141
+ if (Ht.indexOf(e) == -1) {
1142
+ const r = new Bi(t);
1143
+ It[e] = r, Ht.push(e);
1124
1144
  }
1125
- return At[e];
1145
+ return It[e];
1126
1146
  }, Y = [];
1127
- function Hi(e, t) {
1147
+ function Ci(e, t) {
1128
1148
  return {
1129
1149
  subscribe: Be(e, t).subscribe
1130
1150
  };
@@ -1132,8 +1152,8 @@ function Hi(e, t) {
1132
1152
  function Be(e, t = B) {
1133
1153
  let r;
1134
1154
  const i = /* @__PURE__ */ new Set();
1135
- function n(a) {
1136
- if (Wt(e, a) && (e = a, r)) {
1155
+ function n(s) {
1156
+ if (Zt(e, s) && (e = s, r)) {
1137
1157
  const l = !Y.length;
1138
1158
  for (const u of i)
1139
1159
  u[1](), Y.push(u, e);
@@ -1144,23 +1164,23 @@ function Be(e, t = B) {
1144
1164
  }
1145
1165
  }
1146
1166
  }
1147
- function o(a) {
1148
- n(a(e));
1167
+ function o(s) {
1168
+ n(s(e));
1149
1169
  }
1150
- function s(a, l = B) {
1151
- const u = [a, l];
1152
- return i.add(u), i.size === 1 && (r = t(n, o) || B), a(e), () => {
1170
+ function a(s, l = B) {
1171
+ const u = [s, l];
1172
+ return i.add(u), i.size === 1 && (r = t(n, o) || B), s(e), () => {
1153
1173
  i.delete(u), i.size === 0 && r && (r(), r = null);
1154
1174
  };
1155
1175
  }
1156
- return { set: n, update: o, subscribe: s };
1176
+ return { set: n, update: o, subscribe: a };
1157
1177
  }
1158
1178
  function oe(e, t, r) {
1159
1179
  const i = !Array.isArray(e), n = i ? [e] : e;
1160
1180
  if (!n.every(Boolean))
1161
1181
  throw new Error("derived() expects stores as input, got a falsy value");
1162
1182
  const o = t.length < 2;
1163
- return Hi(r, (s, a) => {
1183
+ return Ci(r, (a, s) => {
1164
1184
  let l = !1;
1165
1185
  const u = [];
1166
1186
  let h = 0, c = B;
@@ -1168,10 +1188,10 @@ function oe(e, t, r) {
1168
1188
  if (h)
1169
1189
  return;
1170
1190
  c();
1171
- const y = t(i ? u[0] : u, s, a);
1172
- o ? s(y) : c = ht(y) ? y : B;
1191
+ const y = t(i ? u[0] : u, a, s);
1192
+ o ? a(y) : c = ct(y) ? y : B;
1173
1193
  }, p = n.map(
1174
- (y, d) => Xt(
1194
+ (y, d) => Qt(
1175
1195
  y,
1176
1196
  (v) => {
1177
1197
  u[d] = v, h &= ~(1 << d), l && f();
@@ -1186,70 +1206,70 @@ function oe(e, t, r) {
1186
1206
  };
1187
1207
  });
1188
1208
  }
1189
- function Ii(e) {
1209
+ function Ni(e) {
1190
1210
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1191
1211
  }
1192
- var Bi = function(t) {
1193
- return Oi(t) && !Ci(t);
1212
+ var Ri = function(t) {
1213
+ return Mi(t) && !Di(t);
1194
1214
  };
1195
- function Oi(e) {
1215
+ function Mi(e) {
1196
1216
  return !!e && typeof e == "object";
1197
1217
  }
1198
- function Ci(e) {
1218
+ function Di(e) {
1199
1219
  var t = Object.prototype.toString.call(e);
1200
- return t === "[object RegExp]" || t === "[object Date]" || Mi(e);
1220
+ return t === "[object RegExp]" || t === "[object Date]" || Gi(e);
1201
1221
  }
1202
- var Ni = typeof Symbol == "function" && Symbol.for, Ri = Ni ? Symbol.for("react.element") : 60103;
1203
- function Mi(e) {
1204
- return e.$$typeof === Ri;
1222
+ var Ui = typeof Symbol == "function" && Symbol.for, $i = Ui ? Symbol.for("react.element") : 60103;
1223
+ function Gi(e) {
1224
+ return e.$$typeof === $i;
1205
1225
  }
1206
- function Di(e) {
1226
+ function Fi(e) {
1207
1227
  return Array.isArray(e) ? [] : {};
1208
1228
  }
1209
1229
  function fe(e, t) {
1210
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Di(e), e, t) : e;
1230
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Fi(e), e, t) : e;
1211
1231
  }
1212
- function Ui(e, t, r) {
1232
+ function ji(e, t, r) {
1213
1233
  return e.concat(t).map(function(i) {
1214
1234
  return fe(i, r);
1215
1235
  });
1216
1236
  }
1217
- function $i(e, t) {
1237
+ function ki(e, t) {
1218
1238
  if (!t.customMerge)
1219
1239
  return ee;
1220
1240
  var r = t.customMerge(e);
1221
1241
  return typeof r == "function" ? r : ee;
1222
1242
  }
1223
- function Gi(e) {
1243
+ function Vi(e) {
1224
1244
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1225
1245
  return Object.propertyIsEnumerable.call(e, t);
1226
1246
  }) : [];
1227
1247
  }
1228
- function Pt(e) {
1229
- return Object.keys(e).concat(Gi(e));
1248
+ function Bt(e) {
1249
+ return Object.keys(e).concat(Vi(e));
1230
1250
  }
1231
- function tr(e, t) {
1251
+ function or(e, t) {
1232
1252
  try {
1233
1253
  return t in e;
1234
1254
  } catch (r) {
1235
1255
  return !1;
1236
1256
  }
1237
1257
  }
1238
- function Fi(e, t) {
1239
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1258
+ function Wi(e, t) {
1259
+ return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1240
1260
  }
1241
- function ji(e, t, r) {
1261
+ function Xi(e, t, r) {
1242
1262
  var i = {};
1243
- return r.isMergeableObject(e) && Pt(e).forEach(function(n) {
1263
+ return r.isMergeableObject(e) && Bt(e).forEach(function(n) {
1244
1264
  i[n] = fe(e[n], r);
1245
- }), Pt(t).forEach(function(n) {
1246
- Fi(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = $i(n, r)(e[n], t[n], r) : i[n] = fe(t[n], r));
1265
+ }), Bt(t).forEach(function(n) {
1266
+ Wi(e, n) || (or(e, n) && r.isMergeableObject(t[n]) ? i[n] = ki(n, r)(e[n], t[n], r) : i[n] = fe(t[n], r));
1247
1267
  }), i;
1248
1268
  }
1249
1269
  function ee(e, t, r) {
1250
- r = r || {}, r.arrayMerge = r.arrayMerge || Ui, r.isMergeableObject = r.isMergeableObject || Bi, r.cloneUnlessOtherwiseSpecified = fe;
1270
+ r = r || {}, r.arrayMerge = r.arrayMerge || ji, r.isMergeableObject = r.isMergeableObject || Ri, r.cloneUnlessOtherwiseSpecified = fe;
1251
1271
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1252
- return o ? i ? r.arrayMerge(e, t, r) : ji(e, t, r) : fe(t, r);
1272
+ return o ? i ? r.arrayMerge(e, t, r) : Xi(e, t, r) : fe(t, r);
1253
1273
  }
1254
1274
  ee.all = function(t, r) {
1255
1275
  if (!Array.isArray(t))
@@ -1258,56 +1278,58 @@ ee.all = function(t, r) {
1258
1278
  return ee(i, n, r);
1259
1279
  }, {});
1260
1280
  };
1261
- var ki = ee, Vi = ki;
1262
- const Wi = /* @__PURE__ */ Ii(Vi);
1263
- function je(e, t) {
1264
- var r = t && t.cache ? t.cache : qi, i = t && t.serializer ? t.serializer : Yi, n = t && t.strategy ? t.strategy : Zi;
1281
+ var zi = ee, Zi = zi;
1282
+ const Qi = /* @__PURE__ */ Ni(Zi);
1283
+ function ke(e, t) {
1284
+ var r = t && t.cache ? t.cache : tn, i = t && t.serializer ? t.serializer : en, n = t && t.strategy ? t.strategy : Ji;
1265
1285
  return n(e, {
1266
1286
  cache: r,
1267
1287
  serializer: i
1268
1288
  });
1269
1289
  }
1270
- function Xi(e) {
1290
+ function Yi(e) {
1271
1291
  return e == null || typeof e == "number" || typeof e == "boolean";
1272
1292
  }
1273
- function zi(e, t, r, i) {
1274
- var n = Xi(i) ? i : r(i), o = t.get(n);
1293
+ function sr(e, t, r, i) {
1294
+ var n = Yi(i) ? i : r(i), o = t.get(n);
1275
1295
  return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
1276
1296
  }
1277
- function rr(e, t, r) {
1297
+ function ar(e, t, r) {
1278
1298
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1279
1299
  return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
1280
1300
  }
1281
- function ir(e, t, r, i, n) {
1301
+ function ft(e, t, r, i, n) {
1282
1302
  return r.bind(t, e, i, n);
1283
1303
  }
1284
- function Zi(e, t) {
1285
- var r = e.length === 1 ? zi : rr;
1286
- return ir(e, this, r, t.cache.create(), t.serializer);
1304
+ function Ji(e, t) {
1305
+ var r = e.length === 1 ? sr : ar;
1306
+ return ft(e, this, r, t.cache.create(), t.serializer);
1287
1307
  }
1288
- function Qi(e, t) {
1289
- return ir(e, this, rr, t.cache.create(), t.serializer);
1308
+ function qi(e, t) {
1309
+ return ft(e, this, ar, t.cache.create(), t.serializer);
1290
1310
  }
1291
- var Yi = function() {
1311
+ function Ki(e, t) {
1312
+ return ft(e, this, sr, t.cache.create(), t.serializer);
1313
+ }
1314
+ var en = function() {
1292
1315
  return JSON.stringify(arguments);
1293
- }, Ji = (
1294
- /** @class */
1295
- function() {
1296
- function e() {
1297
- this.cache = /* @__PURE__ */ Object.create(null);
1298
- }
1299
- return e.prototype.get = function(t) {
1300
- return this.cache[t];
1301
- }, e.prototype.set = function(t, r) {
1302
- this.cache[t] = r;
1303
- }, e;
1304
- }()
1305
- ), qi = {
1316
+ };
1317
+ function mt() {
1318
+ this.cache = /* @__PURE__ */ Object.create(null);
1319
+ }
1320
+ mt.prototype.get = function(e) {
1321
+ return this.cache[e];
1322
+ };
1323
+ mt.prototype.set = function(e, t) {
1324
+ this.cache[e] = t;
1325
+ };
1326
+ var tn = {
1306
1327
  create: function() {
1307
- return new Ji();
1328
+ return new mt();
1308
1329
  }
1309
- }, ke = {
1310
- variadic: Qi
1330
+ }, Ve = {
1331
+ variadic: qi,
1332
+ monadic: Ki
1311
1333
  }, b;
1312
1334
  (function(e) {
1313
1335
  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";
@@ -1320,43 +1342,43 @@ var te;
1320
1342
  (function(e) {
1321
1343
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1322
1344
  })(te || (te = {}));
1323
- function Ht(e) {
1345
+ function Ot(e) {
1324
1346
  return e.type === S.literal;
1325
1347
  }
1326
- function Ki(e) {
1348
+ function rn(e) {
1327
1349
  return e.type === S.argument;
1328
1350
  }
1329
- function nr(e) {
1351
+ function ur(e) {
1330
1352
  return e.type === S.number;
1331
1353
  }
1332
- function or(e) {
1354
+ function lr(e) {
1333
1355
  return e.type === S.date;
1334
1356
  }
1335
- function sr(e) {
1357
+ function hr(e) {
1336
1358
  return e.type === S.time;
1337
1359
  }
1338
- function ar(e) {
1360
+ function cr(e) {
1339
1361
  return e.type === S.select;
1340
1362
  }
1341
- function ur(e) {
1363
+ function fr(e) {
1342
1364
  return e.type === S.plural;
1343
1365
  }
1344
- function en(e) {
1366
+ function nn(e) {
1345
1367
  return e.type === S.pound;
1346
1368
  }
1347
- function lr(e) {
1369
+ function mr(e) {
1348
1370
  return e.type === S.tag;
1349
1371
  }
1350
- function hr(e) {
1372
+ function pr(e) {
1351
1373
  return !!(e && typeof e == "object" && e.type === te.number);
1352
1374
  }
1353
- function rt(e) {
1375
+ function it(e) {
1354
1376
  return !!(e && typeof e == "object" && e.type === te.dateTime);
1355
1377
  }
1356
- var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, tn = /(?:[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;
1357
- function rn(e) {
1378
+ var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
1379
+ function sn(e) {
1358
1380
  var t = {};
1359
- return e.replace(tn, function(r) {
1381
+ return e.replace(on, function(r) {
1360
1382
  var i = r.length;
1361
1383
  switch (r[0]) {
1362
1384
  case "G":
@@ -1445,36 +1467,36 @@ function rn(e) {
1445
1467
  return "";
1446
1468
  }), t;
1447
1469
  }
1448
- var nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1449
- function on(e) {
1470
+ var an = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1471
+ function un(e) {
1450
1472
  if (e.length === 0)
1451
1473
  throw new Error("Number skeleton cannot be empty");
1452
- for (var t = e.split(nn).filter(function(f) {
1474
+ for (var t = e.split(an).filter(function(f) {
1453
1475
  return f.length > 0;
1454
1476
  }), r = [], i = 0, n = t; i < n.length; i++) {
1455
- var o = n[i], s = o.split("/");
1456
- if (s.length === 0)
1477
+ var o = n[i], a = o.split("/");
1478
+ if (a.length === 0)
1457
1479
  throw new Error("Invalid number skeleton");
1458
- for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1480
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1459
1481
  var c = h[u];
1460
1482
  if (c.length === 0)
1461
1483
  throw new Error("Invalid number skeleton");
1462
1484
  }
1463
- r.push({ stem: a, options: l });
1485
+ r.push({ stem: s, options: l });
1464
1486
  }
1465
1487
  return r;
1466
1488
  }
1467
- function sn(e) {
1489
+ function ln(e) {
1468
1490
  return e.replace(/^(.*?)-/, "");
1469
1491
  }
1470
- var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, an = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1471
- function Bt(e) {
1492
+ var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, hn = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
1493
+ function Nt(e) {
1472
1494
  var t = {};
1473
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
1495
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, i, n) {
1474
1496
  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)), "";
1475
1497
  }), t;
1476
1498
  }
1477
- function pr(e) {
1499
+ function br(e) {
1478
1500
  switch (e) {
1479
1501
  case "sign-auto":
1480
1502
  return {
@@ -1514,7 +1536,7 @@ function pr(e) {
1514
1536
  };
1515
1537
  }
1516
1538
  }
1517
- function un(e) {
1539
+ function cn(e) {
1518
1540
  var t;
1519
1541
  if (e[0] === "E" && e[1] === "E" ? (t = {
1520
1542
  notation: "engineering"
@@ -1522,17 +1544,17 @@ function un(e) {
1522
1544
  notation: "scientific"
1523
1545
  }, e = e.slice(1)), t) {
1524
1546
  var r = e.slice(0, 2);
1525
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1547
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
1526
1548
  throw new Error("Malformed concise eng/scientific notation");
1527
1549
  t.minimumIntegerDigits = e.length;
1528
1550
  }
1529
1551
  return t;
1530
1552
  }
1531
- function Ot(e) {
1532
- var t = {}, r = pr(e);
1553
+ function Rt(e) {
1554
+ var t = {}, r = br(e);
1533
1555
  return r || t;
1534
1556
  }
1535
- function ln(e) {
1557
+ function fn(e) {
1536
1558
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1537
1559
  var n = i[r];
1538
1560
  switch (n.stem) {
@@ -1556,7 +1578,7 @@ function ln(e) {
1556
1578
  continue;
1557
1579
  case "measure-unit":
1558
1580
  case "unit":
1559
- t.style = "unit", t.unit = sn(n.options[0]);
1581
+ t.style = "unit", t.unit = ln(n.options[0]);
1560
1582
  continue;
1561
1583
  case "compact-short":
1562
1584
  case "K":
@@ -1568,12 +1590,12 @@ function ln(e) {
1568
1590
  continue;
1569
1591
  case "scientific":
1570
1592
  t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1571
- return E(E({}, l), Ot(u));
1593
+ return E(E({}, l), Rt(u));
1572
1594
  }, {}));
1573
1595
  continue;
1574
1596
  case "engineering":
1575
1597
  t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1576
- return E(E({}, l), Ot(u));
1598
+ return E(E({}, l), Rt(u));
1577
1599
  }, {}));
1578
1600
  continue;
1579
1601
  case "notation-simple":
@@ -1618,7 +1640,7 @@ function ln(e) {
1618
1640
  case "integer-width":
1619
1641
  if (n.options.length > 1)
1620
1642
  throw new RangeError("integer-width stems only accept a single optional option");
1621
- n.options[0].replace(an, function(l, u, h, c, f, p) {
1643
+ n.options[0].replace(hn, function(l, u, h, c, f, p) {
1622
1644
  if (u)
1623
1645
  t.minimumIntegerDigits = h.length;
1624
1646
  else {
@@ -1631,28 +1653,28 @@ function ln(e) {
1631
1653
  });
1632
1654
  continue;
1633
1655
  }
1634
- if (mr.test(n.stem)) {
1656
+ if (gr.test(n.stem)) {
1635
1657
  t.minimumIntegerDigits = n.stem.length;
1636
1658
  continue;
1637
1659
  }
1638
- if (It.test(n.stem)) {
1660
+ if (Ct.test(n.stem)) {
1639
1661
  if (n.options.length > 1)
1640
1662
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1641
- n.stem.replace(It, function(l, u, h, c, f, p) {
1663
+ n.stem.replace(Ct, function(l, u, h, c, f, p) {
1642
1664
  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), "";
1643
1665
  });
1644
1666
  var o = n.options[0];
1645
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Bt(o)));
1667
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Nt(o)));
1646
1668
  continue;
1647
1669
  }
1648
- if (fr.test(n.stem)) {
1649
- t = E(E({}, t), Bt(n.stem));
1670
+ if (yr.test(n.stem)) {
1671
+ t = E(E({}, t), Nt(n.stem));
1650
1672
  continue;
1651
1673
  }
1652
- var s = pr(n.stem);
1653
- s && (t = E(E({}, t), s));
1654
- var a = un(n.stem);
1674
+ var a = br(n.stem);
1655
1675
  a && (t = E(E({}, t), a));
1676
+ var s = cn(n.stem);
1677
+ s && (t = E(E({}, t), s));
1656
1678
  }
1657
1679
  return t;
1658
1680
  }
@@ -3071,23 +3093,23 @@ var Ee = {
3071
3093
  "h"
3072
3094
  ]
3073
3095
  };
3074
- function hn(e, t) {
3096
+ function mn(e, t) {
3075
3097
  for (var r = "", i = 0; i < e.length; i++) {
3076
3098
  var n = e.charAt(i);
3077
3099
  if (n === "j") {
3078
3100
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3079
3101
  o++, i++;
3080
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = cn(t);
3081
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3102
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = pn(t);
3103
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3082
3104
  r += l;
3083
- for (; s-- > 0; )
3105
+ for (; a-- > 0; )
3084
3106
  r = u + r;
3085
3107
  } else
3086
3108
  n === "J" ? r += "H" : r += n;
3087
3109
  }
3088
3110
  return r;
3089
3111
  }
3090
- function cn(e) {
3112
+ function pn(e) {
3091
3113
  var t = e.hourCycle;
3092
3114
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3093
3115
  e.hourCycles && // @ts-ignore
@@ -3109,20 +3131,20 @@ function cn(e) {
3109
3131
  var n = Ee[i || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3110
3132
  return n[0];
3111
3133
  }
3112
- var Ve, fn = new RegExp("^".concat(cr.source, "*")), mn = new RegExp("".concat(cr.source, "*$"));
3134
+ var We, dn = new RegExp("^".concat(dr.source, "*")), yn = new RegExp("".concat(dr.source, "*$"));
3113
3135
  function _(e, t) {
3114
3136
  return { start: e, end: t };
3115
3137
  }
3116
- var pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), dn = !!String.fromCodePoint, yn = !!Object.fromEntries, gn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, vn = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, En = _n ? Number.isSafeInteger : function(e) {
3138
+ var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), bn = !!String.fromCodePoint, vn = !!Object.fromEntries, _n = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, xn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, Ln = Tn ? Number.isSafeInteger : function(e) {
3117
3139
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3118
- }, it = !0;
3140
+ }, nt = !0;
3119
3141
  try {
3120
- var xn = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3121
- it = ((Ve = xn.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
3142
+ var Sn = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3143
+ nt = ((We = Sn.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
3122
3144
  } catch (e) {
3123
- it = !1;
3145
+ nt = !1;
3124
3146
  }
3125
- var Ct = pn ? (
3147
+ var Mt = gn ? (
3126
3148
  // Native
3127
3149
  function(t, r, i) {
3128
3150
  return t.startsWith(r, i);
@@ -3132,31 +3154,31 @@ var Ct = pn ? (
3132
3154
  function(t, r, i) {
3133
3155
  return t.slice(i, i + r.length) === r;
3134
3156
  }
3135
- ), nt = dn ? String.fromCodePoint : (
3157
+ ), ot = bn ? String.fromCodePoint : (
3136
3158
  // IE11
3137
3159
  function() {
3138
3160
  for (var t = [], r = 0; r < arguments.length; r++)
3139
3161
  t[r] = arguments[r];
3140
- for (var i = "", n = t.length, o = 0, s; n > o; ) {
3141
- if (s = t[o++], s > 1114111)
3142
- throw RangeError(s + " is not a valid code point");
3143
- i += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3162
+ for (var i = "", n = t.length, o = 0, a; n > o; ) {
3163
+ if (a = t[o++], a > 1114111)
3164
+ throw RangeError(a + " is not a valid code point");
3165
+ i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3144
3166
  }
3145
3167
  return i;
3146
3168
  }
3147
- ), Nt = (
3169
+ ), Dt = (
3148
3170
  // native
3149
- yn ? Object.fromEntries : (
3171
+ vn ? Object.fromEntries : (
3150
3172
  // Ponyfill
3151
3173
  function(t) {
3152
3174
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
3153
- var o = n[i], s = o[0], a = o[1];
3154
- r[s] = a;
3175
+ var o = n[i], a = o[0], s = o[1];
3176
+ r[a] = s;
3155
3177
  }
3156
3178
  return r;
3157
3179
  }
3158
3180
  )
3159
- ), dr = gn ? (
3181
+ ), vr = _n ? (
3160
3182
  // Native
3161
3183
  function(t, r) {
3162
3184
  return t.codePointAt(r);
@@ -3170,7 +3192,7 @@ var Ct = pn ? (
3170
3192
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3171
3193
  }
3172
3194
  }
3173
- ), Tn = bn ? (
3195
+ ), wn = En ? (
3174
3196
  // Native
3175
3197
  function(t) {
3176
3198
  return t.trimStart();
@@ -3178,9 +3200,9 @@ var Ct = pn ? (
3178
3200
  ) : (
3179
3201
  // Ponyfill
3180
3202
  function(t) {
3181
- return t.replace(fn, "");
3203
+ return t.replace(dn, "");
3182
3204
  }
3183
- ), Ln = vn ? (
3205
+ ), An = xn ? (
3184
3206
  // Native
3185
3207
  function(t) {
3186
3208
  return t.trimEnd();
@@ -3188,32 +3210,32 @@ var Ct = pn ? (
3188
3210
  ) : (
3189
3211
  // Ponyfill
3190
3212
  function(t) {
3191
- return t.replace(mn, "");
3213
+ return t.replace(yn, "");
3192
3214
  }
3193
3215
  );
3194
- function yr(e, t) {
3216
+ function _r(e, t) {
3195
3217
  return new RegExp(e, t);
3196
3218
  }
3197
- var ot;
3198
- if (it) {
3199
- var Rt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3200
- ot = function(t, r) {
3219
+ var st;
3220
+ if (nt) {
3221
+ var Ut = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3222
+ st = function(t, r) {
3201
3223
  var i;
3202
- Rt.lastIndex = r;
3203
- var n = Rt.exec(t);
3224
+ Ut.lastIndex = r;
3225
+ var n = Ut.exec(t);
3204
3226
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3205
3227
  };
3206
3228
  } else
3207
- ot = function(t, r) {
3229
+ st = function(t, r) {
3208
3230
  for (var i = []; ; ) {
3209
- var n = dr(t, r);
3210
- if (n === void 0 || gr(n) || Pn(n))
3231
+ var n = vr(t, r);
3232
+ if (n === void 0 || Er(n) || Bn(n))
3211
3233
  break;
3212
3234
  i.push(n), r += n >= 65536 ? 2 : 1;
3213
3235
  }
3214
- return nt.apply(void 0, i);
3236
+ return ot.apply(void 0, i);
3215
3237
  };
3216
- var Sn = (
3238
+ var Pn = (
3217
3239
  /** @class */
3218
3240
  function() {
3219
3241
  function e(t, r) {
@@ -3227,33 +3249,33 @@ var Sn = (
3227
3249
  for (var n = []; !this.isEOF(); ) {
3228
3250
  var o = this.char();
3229
3251
  if (o === 123) {
3230
- var s = this.parseArgument(t, i);
3231
- if (s.err)
3232
- return s;
3233
- n.push(s.val);
3252
+ var a = this.parseArgument(t, i);
3253
+ if (a.err)
3254
+ return a;
3255
+ n.push(a.val);
3234
3256
  } else {
3235
3257
  if (o === 125 && t > 0)
3236
3258
  break;
3237
3259
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3238
- var a = this.clonePosition();
3260
+ var s = this.clonePosition();
3239
3261
  this.bump(), n.push({
3240
3262
  type: S.pound,
3241
- location: _(a, this.clonePosition())
3263
+ location: _(s, this.clonePosition())
3242
3264
  });
3243
3265
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3244
3266
  if (i)
3245
3267
  break;
3246
3268
  return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3247
- } else if (o === 60 && !this.ignoreTag && st(this.peek() || 0)) {
3248
- var s = this.parseTag(t, r);
3249
- if (s.err)
3250
- return s;
3251
- n.push(s.val);
3269
+ } else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
3270
+ var a = this.parseTag(t, r);
3271
+ if (a.err)
3272
+ return a;
3273
+ n.push(a.val);
3252
3274
  } else {
3253
- var s = this.parseLiteral(t, r);
3254
- if (s.err)
3255
- return s;
3256
- n.push(s.val);
3275
+ var a = this.parseLiteral(t, r);
3276
+ if (a.err)
3277
+ return a;
3278
+ n.push(a.val);
3257
3279
  }
3258
3280
  }
3259
3281
  }
@@ -3275,27 +3297,27 @@ var Sn = (
3275
3297
  var o = this.parseMessage(t + 1, r, !0);
3276
3298
  if (o.err)
3277
3299
  return o;
3278
- var s = o.val, a = this.clonePosition();
3300
+ var a = o.val, s = this.clonePosition();
3279
3301
  if (this.bumpIf("</")) {
3280
- if (this.isEOF() || !st(this.char()))
3281
- return this.error(b.INVALID_TAG, _(a, this.clonePosition()));
3302
+ if (this.isEOF() || !at(this.char()))
3303
+ return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
3282
3304
  var l = this.clonePosition(), u = this.parseTagName();
3283
3305
  return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3284
3306
  val: {
3285
3307
  type: S.tag,
3286
3308
  value: n,
3287
- children: s,
3309
+ children: a,
3288
3310
  location: _(i, this.clonePosition())
3289
3311
  },
3290
3312
  err: null
3291
- } : this.error(b.INVALID_TAG, _(a, this.clonePosition())));
3313
+ } : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
3292
3314
  } else
3293
3315
  return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
3294
3316
  } else
3295
3317
  return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
3296
3318
  }, e.prototype.parseTagName = function() {
3297
3319
  var t = this.offset();
3298
- for (this.bump(); !this.isEOF() && An(this.char()); )
3320
+ for (this.bump(); !this.isEOF() && In(this.char()); )
3299
3321
  this.bump();
3300
3322
  return this.message.slice(t, this.offset());
3301
3323
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3305,16 +3327,16 @@ var Sn = (
3305
3327
  n += o;
3306
3328
  continue;
3307
3329
  }
3308
- var s = this.tryParseUnquoted(t, r);
3309
- if (s) {
3310
- n += s;
3311
- continue;
3312
- }
3313
- var a = this.tryParseLeftAngleBracket();
3330
+ var a = this.tryParseUnquoted(t, r);
3314
3331
  if (a) {
3315
3332
  n += a;
3316
3333
  continue;
3317
3334
  }
3335
+ var s = this.tryParseLeftAngleBracket();
3336
+ if (s) {
3337
+ n += s;
3338
+ continue;
3339
+ }
3318
3340
  break;
3319
3341
  }
3320
3342
  var l = _(i, this.clonePosition());
@@ -3324,7 +3346,7 @@ var Sn = (
3324
3346
  };
3325
3347
  }, e.prototype.tryParseLeftAngleBracket = function() {
3326
3348
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3327
- !wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3349
+ !Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
3328
3350
  }, e.prototype.tryParseQuote = function(t) {
3329
3351
  if (this.isEOF() || this.char() !== 39)
3330
3352
  return null;
@@ -3358,12 +3380,12 @@ var Sn = (
3358
3380
  r.push(i);
3359
3381
  this.bump();
3360
3382
  }
3361
- return nt.apply(void 0, r);
3383
+ return ot.apply(void 0, r);
3362
3384
  }, e.prototype.tryParseUnquoted = function(t, r) {
3363
3385
  if (this.isEOF())
3364
3386
  return null;
3365
3387
  var i = this.char();
3366
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), nt(i));
3388
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ot(i));
3367
3389
  }, e.prototype.parseArgument = function(t, r) {
3368
3390
  var i = this.clonePosition();
3369
3391
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3392,15 +3414,15 @@ var Sn = (
3392
3414
  return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3393
3415
  }
3394
3416
  }, e.prototype.parseIdentifierIfPossible = function() {
3395
- var t = this.clonePosition(), r = this.offset(), i = ot(this.message, r), n = r + i.length;
3417
+ var t = this.clonePosition(), r = this.offset(), i = st(this.message, r), n = r + i.length;
3396
3418
  this.bumpTo(n);
3397
- var o = this.clonePosition(), s = _(t, o);
3398
- return { value: i, location: s };
3419
+ var o = this.clonePosition(), a = _(t, o);
3420
+ return { value: i, location: a };
3399
3421
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
3400
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3401
- switch (a) {
3422
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3423
+ switch (s) {
3402
3424
  case "":
3403
- return this.error(b.EXPECT_ARGUMENT_TYPE, _(s, l));
3425
+ return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, l));
3404
3426
  case "number":
3405
3427
  case "date":
3406
3428
  case "time": {
@@ -3411,7 +3433,7 @@ var Sn = (
3411
3433
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3412
3434
  if (c.err)
3413
3435
  return c;
3414
- var f = Ln(c.val);
3436
+ var f = An(c.val);
3415
3437
  if (f.length === 0)
3416
3438
  return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3417
3439
  var p = _(h, this.clonePosition());
@@ -3421,9 +3443,9 @@ var Sn = (
3421
3443
  if (y.err)
3422
3444
  return y;
3423
3445
  var d = _(n, this.clonePosition());
3424
- if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
3425
- var v = Tn(u.style.slice(2));
3426
- if (a === "number") {
3446
+ if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
3447
+ var v = wn(u.style.slice(2));
3448
+ if (s === "number") {
3427
3449
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3428
3450
  return c.err ? c : {
3429
3451
  val: { type: S.number, value: i, location: d, style: c.val },
@@ -3433,13 +3455,13 @@ var Sn = (
3433
3455
  if (v.length === 0)
3434
3456
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3435
3457
  var H = v;
3436
- this.locale && (H = hn(v, this.locale));
3458
+ this.locale && (H = mn(v, this.locale));
3437
3459
  var f = {
3438
3460
  type: te.dateTime,
3439
3461
  pattern: H,
3440
3462
  location: u.styleLocation,
3441
- parsedOptions: this.shouldParseSkeletons ? rn(H) : {}
3442
- }, g = a === "date" ? S.date : S.time;
3463
+ parsedOptions: this.shouldParseSkeletons ? sn(H) : {}
3464
+ }, g = s === "date" ? S.date : S.time;
3443
3465
  return {
3444
3466
  val: { type: g, value: i, location: d, style: f },
3445
3467
  err: null
@@ -3448,7 +3470,7 @@ var Sn = (
3448
3470
  }
3449
3471
  return {
3450
3472
  val: {
3451
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3473
+ type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3452
3474
  value: i,
3453
3475
  location: d,
3454
3476
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3464,7 +3486,7 @@ var Sn = (
3464
3486
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, E({}, w)));
3465
3487
  this.bumpSpace();
3466
3488
  var D = this.parseIdentifierIfPossible(), R = 0;
3467
- if (a !== "select" && D.value === "offset") {
3489
+ if (s !== "select" && D.value === "offset") {
3468
3490
  if (!this.bumpIf(":"))
3469
3491
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3470
3492
  this.bumpSpace();
@@ -3473,18 +3495,18 @@ var Sn = (
3473
3495
  return c;
3474
3496
  this.bumpSpace(), D = this.parseIdentifierIfPossible(), R = c.val;
3475
3497
  }
3476
- var U = this.tryParsePluralOrSelectOptions(t, a, r, D);
3498
+ var U = this.tryParsePluralOrSelectOptions(t, s, r, D);
3477
3499
  if (U.err)
3478
3500
  return U;
3479
3501
  var y = this.tryParseArgumentClose(n);
3480
3502
  if (y.err)
3481
3503
  return y;
3482
3504
  var W = _(n, this.clonePosition());
3483
- return a === "select" ? {
3505
+ return s === "select" ? {
3484
3506
  val: {
3485
3507
  type: S.select,
3486
3508
  value: i,
3487
- options: Nt(U.val),
3509
+ options: Dt(U.val),
3488
3510
  location: W
3489
3511
  },
3490
3512
  err: null
@@ -3492,16 +3514,16 @@ var Sn = (
3492
3514
  val: {
3493
3515
  type: S.plural,
3494
3516
  value: i,
3495
- options: Nt(U.val),
3517
+ options: Dt(U.val),
3496
3518
  offset: R,
3497
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3519
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3498
3520
  location: W
3499
3521
  },
3500
3522
  err: null
3501
3523
  };
3502
3524
  }
3503
3525
  default:
3504
- return this.error(b.INVALID_ARGUMENT_TYPE, _(s, l));
3526
+ return this.error(b.INVALID_ARGUMENT_TYPE, _(a, l));
3505
3527
  }
3506
3528
  }, e.prototype.tryParseArgumentClose = function(t) {
3507
3529
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3543,7 +3565,7 @@ var Sn = (
3543
3565
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3544
3566
  var i = [];
3545
3567
  try {
3546
- i = on(t);
3568
+ i = un(t);
3547
3569
  } catch (n) {
3548
3570
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3549
3571
  }
@@ -3552,12 +3574,12 @@ var Sn = (
3552
3574
  type: te.number,
3553
3575
  tokens: i,
3554
3576
  location: r,
3555
- parsedOptions: this.shouldParseSkeletons ? ln(i) : {}
3577
+ parsedOptions: this.shouldParseSkeletons ? fn(i) : {}
3556
3578
  },
3557
3579
  err: null
3558
3580
  };
3559
3581
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3560
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3582
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3561
3583
  if (u.length === 0) {
3562
3584
  var c = this.clonePosition();
3563
3585
  if (r !== "select" && this.bumpIf("=")) {
@@ -3570,7 +3592,7 @@ var Sn = (
3570
3592
  }
3571
3593
  if (l.has(u))
3572
3594
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3573
- u === "other" && (s = !0), this.bumpSpace();
3595
+ u === "other" && (a = !0), this.bumpSpace();
3574
3596
  var p = this.clonePosition();
3575
3597
  if (!this.bumpIf("{"))
3576
3598
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
@@ -3580,7 +3602,7 @@ var Sn = (
3580
3602
  var d = this.tryParseArgumentClose(p);
3581
3603
  if (d.err)
3582
3604
  return d;
3583
- a.push([
3605
+ s.push([
3584
3606
  u,
3585
3607
  {
3586
3608
  value: y.val,
@@ -3588,19 +3610,19 @@ var Sn = (
3588
3610
  }
3589
3611
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3590
3612
  }
3591
- 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 };
3613
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3592
3614
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3593
3615
  var i = 1, n = this.clonePosition();
3594
3616
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3595
- for (var o = !1, s = 0; !this.isEOF(); ) {
3596
- var a = this.char();
3597
- if (a >= 48 && a <= 57)
3598
- o = !0, s = s * 10 + (a - 48), this.bump();
3617
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3618
+ var s = this.char();
3619
+ if (s >= 48 && s <= 57)
3620
+ o = !0, a = a * 10 + (s - 48), this.bump();
3599
3621
  else
3600
3622
  break;
3601
3623
  }
3602
3624
  var l = _(n, this.clonePosition());
3603
- return o ? (s *= i, En(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3625
+ return o ? (a *= i, Ln(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3604
3626
  }, e.prototype.offset = function() {
3605
3627
  return this.position.offset;
3606
3628
  }, e.prototype.isEOF = function() {
@@ -3615,7 +3637,7 @@ var Sn = (
3615
3637
  var t = this.position.offset;
3616
3638
  if (t >= this.message.length)
3617
3639
  throw Error("out of bound");
3618
- var r = dr(this.message, t);
3640
+ var r = vr(this.message, t);
3619
3641
  if (r === void 0)
3620
3642
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3621
3643
  return r;
@@ -3634,7 +3656,7 @@ var Sn = (
3634
3656
  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);
3635
3657
  }
3636
3658
  }, e.prototype.bumpIf = function(t) {
3637
- if (Ct(this.message, t, this.offset())) {
3659
+ if (Mt(this.message, t, this.offset())) {
3638
3660
  for (var r = 0; r < t.length; r++)
3639
3661
  this.bump();
3640
3662
  return !0;
@@ -3656,7 +3678,7 @@ var Sn = (
3656
3678
  break;
3657
3679
  }
3658
3680
  }, e.prototype.bumpSpace = function() {
3659
- for (; !this.isEOF() && gr(this.char()); )
3681
+ for (; !this.isEOF() && Er(this.char()); )
3660
3682
  this.bump();
3661
3683
  }, e.prototype.peek = function() {
3662
3684
  if (this.isEOF())
@@ -3666,38 +3688,38 @@ var Sn = (
3666
3688
  }, e;
3667
3689
  }()
3668
3690
  );
3669
- function st(e) {
3691
+ function at(e) {
3670
3692
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3671
3693
  }
3672
- function wn(e) {
3673
- return st(e) || e === 47;
3694
+ function Hn(e) {
3695
+ return at(e) || e === 47;
3674
3696
  }
3675
- function An(e) {
3697
+ function In(e) {
3676
3698
  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;
3677
3699
  }
3678
- function gr(e) {
3700
+ function Er(e) {
3679
3701
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3680
3702
  }
3681
- function Pn(e) {
3703
+ function Bn(e) {
3682
3704
  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;
3683
3705
  }
3684
- function at(e) {
3706
+ function ut(e) {
3685
3707
  e.forEach(function(t) {
3686
- if (delete t.location, ar(t) || ur(t))
3708
+ if (delete t.location, cr(t) || fr(t))
3687
3709
  for (var r in t.options)
3688
- delete t.options[r].location, at(t.options[r].value);
3710
+ delete t.options[r].location, ut(t.options[r].value);
3689
3711
  else
3690
- nr(t) && hr(t.style) || (or(t) || sr(t)) && rt(t.style) ? delete t.style.location : lr(t) && at(t.children);
3712
+ ur(t) && pr(t.style) || (lr(t) || hr(t)) && it(t.style) ? delete t.style.location : mr(t) && ut(t.children);
3691
3713
  });
3692
3714
  }
3693
- function Hn(e, t) {
3715
+ function On(e, t) {
3694
3716
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3695
- var r = new Sn(e, t).parse();
3717
+ var r = new Pn(e, t).parse();
3696
3718
  if (r.err) {
3697
3719
  var i = SyntaxError(b[r.err.kind]);
3698
3720
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3699
3721
  }
3700
- return t != null && t.captureLocation || at(r.val), r.val;
3722
+ return t != null && t.captureLocation || ut(r.val), r.val;
3701
3723
  }
3702
3724
  var re;
3703
3725
  (function(e) {
@@ -3715,7 +3737,7 @@ var Oe = (
3715
3737
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3716
3738
  }, t;
3717
3739
  }(Error)
3718
- ), Mt = (
3740
+ ), $t = (
3719
3741
  /** @class */
3720
3742
  function(e) {
3721
3743
  F(t, e);
@@ -3724,7 +3746,7 @@ var Oe = (
3724
3746
  }
3725
3747
  return t;
3726
3748
  }(Oe)
3727
- ), In = (
3749
+ ), Cn = (
3728
3750
  /** @class */
3729
3751
  function(e) {
3730
3752
  F(t, e);
@@ -3733,7 +3755,7 @@ var Oe = (
3733
3755
  }
3734
3756
  return t;
3735
3757
  }(Oe)
3736
- ), Bn = (
3758
+ ), Nn = (
3737
3759
  /** @class */
3738
3760
  function(e) {
3739
3761
  F(t, e);
@@ -3746,34 +3768,34 @@ var Oe = (
3746
3768
  (function(e) {
3747
3769
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3748
3770
  })(I || (I = {}));
3749
- function On(e) {
3771
+ function Rn(e) {
3750
3772
  return e.length < 2 ? e : e.reduce(function(t, r) {
3751
3773
  var i = t[t.length - 1];
3752
3774
  return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
3753
3775
  }, []);
3754
3776
  }
3755
- function Cn(e) {
3777
+ function Mn(e) {
3756
3778
  return typeof e == "function";
3757
3779
  }
3758
- function Se(e, t, r, i, n, o, s) {
3759
- if (e.length === 1 && Ht(e[0]))
3780
+ function Se(e, t, r, i, n, o, a) {
3781
+ if (e.length === 1 && Ot(e[0]))
3760
3782
  return [
3761
3783
  {
3762
3784
  type: I.literal,
3763
3785
  value: e[0].value
3764
3786
  }
3765
3787
  ];
3766
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3788
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3767
3789
  var h = u[l];
3768
- if (Ht(h)) {
3769
- a.push({
3790
+ if (Ot(h)) {
3791
+ s.push({
3770
3792
  type: I.literal,
3771
3793
  value: h.value
3772
3794
  });
3773
3795
  continue;
3774
3796
  }
3775
- if (en(h)) {
3776
- typeof o == "number" && a.push({
3797
+ if (nn(h)) {
3798
+ typeof o == "number" && s.push({
3777
3799
  type: I.literal,
3778
3800
  value: r.getNumberFormat(t).format(o)
3779
3801
  });
@@ -3781,89 +3803,89 @@ function Se(e, t, r, i, n, o, s) {
3781
3803
  }
3782
3804
  var c = h.value;
3783
3805
  if (!(n && c in n))
3784
- throw new Bn(c, s);
3806
+ throw new Nn(c, a);
3785
3807
  var f = n[c];
3786
- if (Ki(h)) {
3787
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3808
+ if (rn(h)) {
3809
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3788
3810
  type: typeof f == "string" ? I.literal : I.object,
3789
3811
  value: f
3790
3812
  });
3791
3813
  continue;
3792
3814
  }
3793
- if (or(h)) {
3794
- var p = typeof h.style == "string" ? i.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
3795
- a.push({
3815
+ if (lr(h)) {
3816
+ var p = typeof h.style == "string" ? i.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
3817
+ s.push({
3796
3818
  type: I.literal,
3797
3819
  value: r.getDateTimeFormat(t, p).format(f)
3798
3820
  });
3799
3821
  continue;
3800
3822
  }
3801
- if (sr(h)) {
3802
- var p = typeof h.style == "string" ? i.time[h.style] : rt(h.style) ? h.style.parsedOptions : i.time.medium;
3803
- a.push({
3823
+ if (hr(h)) {
3824
+ var p = typeof h.style == "string" ? i.time[h.style] : it(h.style) ? h.style.parsedOptions : i.time.medium;
3825
+ s.push({
3804
3826
  type: I.literal,
3805
3827
  value: r.getDateTimeFormat(t, p).format(f)
3806
3828
  });
3807
3829
  continue;
3808
3830
  }
3809
- if (nr(h)) {
3810
- var p = typeof h.style == "string" ? i.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3811
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3831
+ if (ur(h)) {
3832
+ var p = typeof h.style == "string" ? i.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
3833
+ p && p.scale && (f = f * (p.scale || 1)), s.push({
3812
3834
  type: I.literal,
3813
3835
  value: r.getNumberFormat(t, p).format(f)
3814
3836
  });
3815
3837
  continue;
3816
3838
  }
3817
- if (lr(h)) {
3839
+ if (mr(h)) {
3818
3840
  var y = h.children, d = h.value, v = n[d];
3819
- if (!Cn(v))
3820
- throw new In(d, "function", s);
3841
+ if (!Mn(v))
3842
+ throw new Cn(d, "function", a);
3821
3843
  var H = Se(y, t, r, i, n, o), g = v(H.map(function(R) {
3822
3844
  return R.value;
3823
3845
  }));
3824
- Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(R) {
3846
+ Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(R) {
3825
3847
  return {
3826
3848
  type: typeof R == "string" ? I.literal : I.object,
3827
3849
  value: R
3828
3850
  };
3829
3851
  }));
3830
3852
  }
3831
- if (ar(h)) {
3853
+ if (cr(h)) {
3832
3854
  var w = h.options[f] || h.options.other;
3833
3855
  if (!w)
3834
- throw new Mt(h.value, f, Object.keys(h.options), s);
3835
- a.push.apply(a, Se(w.value, t, r, i, n));
3856
+ throw new $t(h.value, f, Object.keys(h.options), a);
3857
+ s.push.apply(s, Se(w.value, t, r, i, n));
3836
3858
  continue;
3837
3859
  }
3838
- if (ur(h)) {
3860
+ if (fr(h)) {
3839
3861
  var w = h.options["=".concat(f)];
3840
3862
  if (!w) {
3841
3863
  if (!Intl.PluralRules)
3842
3864
  throw new Oe(`Intl.PluralRules is not available in this environment.
3843
3865
  Try polyfilling it using "@formatjs/intl-pluralrules"
3844
- `, re.MISSING_INTL_API, s);
3866
+ `, re.MISSING_INTL_API, a);
3845
3867
  var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3846
3868
  w = h.options[D] || h.options.other;
3847
3869
  }
3848
3870
  if (!w)
3849
- throw new Mt(h.value, f, Object.keys(h.options), s);
3850
- a.push.apply(a, Se(w.value, t, r, i, n, f - (h.offset || 0)));
3871
+ throw new $t(h.value, f, Object.keys(h.options), a);
3872
+ s.push.apply(s, Se(w.value, t, r, i, n, f - (h.offset || 0)));
3851
3873
  continue;
3852
3874
  }
3853
3875
  }
3854
- return On(a);
3876
+ return Rn(s);
3855
3877
  }
3856
- function Nn(e, t) {
3878
+ function Dn(e, t) {
3857
3879
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3858
3880
  return r[i] = E(E({}, e[i]), t[i] || {}), r;
3859
3881
  }, {})) : e;
3860
3882
  }
3861
- function Rn(e, t) {
3883
+ function Un(e, t) {
3862
3884
  return t ? Object.keys(e).reduce(function(r, i) {
3863
- return r[i] = Nn(e[i], t[i]), r;
3885
+ return r[i] = Dn(e[i], t[i]), r;
3864
3886
  }, E({}, e)) : e;
3865
3887
  }
3866
- function We(e) {
3888
+ function Xe(e) {
3867
3889
  return {
3868
3890
  create: function() {
3869
3891
  return {
@@ -3877,39 +3899,39 @@ function We(e) {
3877
3899
  }
3878
3900
  };
3879
3901
  }
3880
- function Mn(e) {
3902
+ function $n(e) {
3881
3903
  return e === void 0 && (e = {
3882
3904
  number: {},
3883
3905
  dateTime: {},
3884
3906
  pluralRules: {}
3885
3907
  }), {
3886
- getNumberFormat: je(function() {
3908
+ getNumberFormat: ke(function() {
3887
3909
  for (var t, r = [], i = 0; i < arguments.length; i++)
3888
3910
  r[i] = arguments[i];
3889
3911
  return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
3890
3912
  }, {
3891
- cache: We(e.number),
3892
- strategy: ke.variadic
3913
+ cache: Xe(e.number),
3914
+ strategy: Ve.variadic
3893
3915
  }),
3894
- getDateTimeFormat: je(function() {
3916
+ getDateTimeFormat: ke(function() {
3895
3917
  for (var t, r = [], i = 0; i < arguments.length; i++)
3896
3918
  r[i] = arguments[i];
3897
3919
  return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
3898
3920
  }, {
3899
- cache: We(e.dateTime),
3900
- strategy: ke.variadic
3921
+ cache: Xe(e.dateTime),
3922
+ strategy: Ve.variadic
3901
3923
  }),
3902
- getPluralRules: je(function() {
3924
+ getPluralRules: ke(function() {
3903
3925
  for (var t, r = [], i = 0; i < arguments.length; i++)
3904
3926
  r[i] = arguments[i];
3905
3927
  return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
3906
3928
  }, {
3907
- cache: We(e.pluralRules),
3908
- strategy: ke.variadic
3929
+ cache: Xe(e.pluralRules),
3930
+ strategy: Ve.variadic
3909
3931
  })
3910
3932
  };
3911
3933
  }
3912
- var Dn = (
3934
+ var Gn = (
3913
3935
  /** @class */
3914
3936
  function() {
3915
3937
  function e(t, r, i, n) {
@@ -3939,15 +3961,15 @@ var Dn = (
3939
3961
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3940
3962
  if (this.message = t, !e.__parse)
3941
3963
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3942
- var s = n || {};
3943
- s.formatters;
3944
- var a = pi(s, ["formatters"]);
3945
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3964
+ var a = n || {};
3965
+ a.formatters;
3966
+ var s = bi(a, ["formatters"]);
3967
+ this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
3946
3968
  } else
3947
3969
  this.ast = t;
3948
3970
  if (!Array.isArray(this.ast))
3949
3971
  throw new TypeError("A message must be provided as a String or AST.");
3950
- this.formats = Rn(e.formats, i), this.formatters = n && n.formatters || Mn(this.formatterCache);
3972
+ this.formats = Un(e.formats, i), this.formatters = n && n.formatters || $n(this.formatterCache);
3951
3973
  }
3952
3974
  return Object.defineProperty(e, "defaultLocale", {
3953
3975
  get: function() {
@@ -3960,7 +3982,7 @@ var Dn = (
3960
3982
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3961
3983
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3962
3984
  }
3963
- }, e.__parse = Hn, e.formats = {
3985
+ }, e.__parse = On, e.formats = {
3964
3986
  number: {
3965
3987
  integer: {
3966
3988
  maximumFractionDigits: 0
@@ -4021,7 +4043,7 @@ var Dn = (
4021
4043
  }, e;
4022
4044
  }()
4023
4045
  );
4024
- function Un(e, t) {
4046
+ function Fn(e, t) {
4025
4047
  if (t == null)
4026
4048
  return;
4027
4049
  if (t in e)
@@ -4042,92 +4064,92 @@ function Un(e, t) {
4042
4064
  i = void 0;
4043
4065
  return i;
4044
4066
  }
4045
- const j = {}, $n = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), br = (e, t) => {
4067
+ const j = {}, jn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), xr = (e, t) => {
4046
4068
  if (t == null)
4047
4069
  return;
4048
4070
  if (t in j && e in j[t])
4049
4071
  return j[t][e];
4050
4072
  const r = Ce(t);
4051
4073
  for (let i = 0; i < r.length; i++) {
4052
- const n = r[i], o = Fn(n, e);
4074
+ const n = r[i], o = Vn(n, e);
4053
4075
  if (o)
4054
- return $n(e, t, o);
4076
+ return jn(e, t, o);
4055
4077
  }
4056
4078
  };
4057
- let ct;
4079
+ let pt;
4058
4080
  const pe = Be({});
4059
- function Gn(e) {
4060
- return ct[e] || null;
4081
+ function kn(e) {
4082
+ return pt[e] || null;
4061
4083
  }
4062
- function vr(e) {
4063
- return e in ct;
4084
+ function Tr(e) {
4085
+ return e in pt;
4064
4086
  }
4065
- function Fn(e, t) {
4066
- if (!vr(e))
4087
+ function Vn(e, t) {
4088
+ if (!Tr(e))
4067
4089
  return null;
4068
- const r = Gn(e);
4069
- return Un(r, t);
4090
+ const r = kn(e);
4091
+ return Fn(r, t);
4070
4092
  }
4071
- function jn(e) {
4093
+ function Wn(e) {
4072
4094
  if (e == null)
4073
4095
  return;
4074
4096
  const t = Ce(e);
4075
4097
  for (let r = 0; r < t.length; r++) {
4076
4098
  const i = t[r];
4077
- if (vr(i))
4099
+ if (Tr(i))
4078
4100
  return i;
4079
4101
  }
4080
4102
  }
4081
- function _r(e, ...t) {
4082
- delete j[e], pe.update((r) => (r[e] = Wi.all([r[e] || {}, ...t]), r));
4103
+ function Lr(e, ...t) {
4104
+ delete j[e], pe.update((r) => (r[e] = Qi.all([r[e] || {}, ...t]), r));
4083
4105
  }
4084
4106
  oe(
4085
4107
  [pe],
4086
4108
  ([e]) => Object.keys(e)
4087
4109
  );
4088
- pe.subscribe((e) => ct = e);
4110
+ pe.subscribe((e) => pt = e);
4089
4111
  const we = {};
4090
- function kn(e, t) {
4112
+ function Xn(e, t) {
4091
4113
  we[e].delete(t), we[e].size === 0 && delete we[e];
4092
4114
  }
4093
- function Er(e) {
4115
+ function Sr(e) {
4094
4116
  return we[e];
4095
4117
  }
4096
- function Vn(e) {
4118
+ function zn(e) {
4097
4119
  return Ce(e).map((t) => {
4098
- const r = Er(t);
4120
+ const r = Sr(t);
4099
4121
  return [t, r ? [...r] : []];
4100
4122
  }).filter(([, t]) => t.length > 0);
4101
4123
  }
4102
- function ut(e) {
4124
+ function lt(e) {
4103
4125
  return e == null ? !1 : Ce(e).some(
4104
4126
  (t) => {
4105
4127
  var r;
4106
- return (r = Er(t)) == null ? void 0 : r.size;
4128
+ return (r = Sr(t)) == null ? void 0 : r.size;
4107
4129
  }
4108
4130
  );
4109
4131
  }
4110
- function Wn(e, t) {
4132
+ function Zn(e, t) {
4111
4133
  return Promise.all(
4112
- t.map((i) => (kn(e, i), i().then((n) => n.default || n)))
4113
- ).then((i) => _r(e, ...i));
4134
+ t.map((i) => (Xn(e, i), i().then((n) => n.default || n)))
4135
+ ).then((i) => Lr(e, ...i));
4114
4136
  }
4115
4137
  const le = {};
4116
- function xr(e) {
4117
- if (!ut(e))
4138
+ function wr(e) {
4139
+ if (!lt(e))
4118
4140
  return e in le ? le[e] : Promise.resolve();
4119
- const t = Vn(e);
4141
+ const t = zn(e);
4120
4142
  return le[e] = Promise.all(
4121
4143
  t.map(
4122
- ([r, i]) => Wn(r, i)
4144
+ ([r, i]) => Zn(r, i)
4123
4145
  )
4124
4146
  ).then(() => {
4125
- if (ut(e))
4126
- return xr(e);
4147
+ if (lt(e))
4148
+ return wr(e);
4127
4149
  delete le[e];
4128
4150
  }), le[e];
4129
4151
  }
4130
- const Xn = {
4152
+ const Qn = {
4131
4153
  number: {
4132
4154
  scientific: { notation: "scientific" },
4133
4155
  engineering: { notation: "engineering" },
@@ -4156,57 +4178,57 @@ const Xn = {
4156
4178
  timeZoneName: "short"
4157
4179
  }
4158
4180
  }
4159
- }, zn = {
4181
+ }, Yn = {
4160
4182
  fallbackLocale: null,
4161
4183
  loadingDelay: 200,
4162
- formats: Xn,
4184
+ formats: Qn,
4163
4185
  warnOnMissingMessages: !0,
4164
4186
  handleMissingMessage: void 0,
4165
4187
  ignoreTag: !0
4166
- }, Zn = zn;
4188
+ }, Jn = Yn;
4167
4189
  function ie() {
4168
- return Zn;
4190
+ return Jn;
4169
4191
  }
4170
- const Xe = Be(!1);
4171
- var Qn = Object.defineProperty, Yn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
4192
+ const ze = Be(!1);
4193
+ var qn = Object.defineProperty, Kn = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, io = (e, t) => {
4172
4194
  for (var r in t || (t = {}))
4173
- qn.call(t, r) && Ut(e, r, t[r]);
4174
- if (Dt)
4175
- for (var r of Dt(t))
4176
- Kn.call(t, r) && Ut(e, r, t[r]);
4195
+ to.call(t, r) && Ft(e, r, t[r]);
4196
+ if (Gt)
4197
+ for (var r of Gt(t))
4198
+ ro.call(t, r) && Ft(e, r, t[r]);
4177
4199
  return e;
4178
- }, to = (e, t) => Yn(e, Jn(t));
4179
- let lt;
4200
+ }, no = (e, t) => Kn(e, eo(t));
4201
+ let ht;
4180
4202
  const Pe = Be(null);
4181
- function $t(e) {
4203
+ function jt(e) {
4182
4204
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4183
4205
  }
4184
4206
  function Ce(e, t = ie().fallbackLocale) {
4185
- const r = $t(e);
4186
- return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4207
+ const r = jt(e);
4208
+ return t ? [.../* @__PURE__ */ new Set([...r, ...jt(t)])] : r;
4187
4209
  }
4188
4210
  function Z() {
4189
- return lt != null ? lt : void 0;
4211
+ return ht != null ? ht : void 0;
4190
4212
  }
4191
4213
  Pe.subscribe((e) => {
4192
- lt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4214
+ ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4193
4215
  });
4194
- const ro = (e) => {
4195
- if (e && jn(e) && ut(e)) {
4216
+ const oo = (e) => {
4217
+ if (e && Wn(e) && lt(e)) {
4196
4218
  const { loadingDelay: t } = ie();
4197
4219
  let r;
4198
4220
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
4199
- () => Xe.set(!0),
4221
+ () => ze.set(!0),
4200
4222
  t
4201
- ) : Xe.set(!0), xr(e).then(() => {
4223
+ ) : ze.set(!0), wr(e).then(() => {
4202
4224
  Pe.set(e);
4203
4225
  }).finally(() => {
4204
- clearTimeout(r), Xe.set(!1);
4226
+ clearTimeout(r), ze.set(!1);
4205
4227
  });
4206
4228
  }
4207
4229
  return Pe.set(e);
4208
- }, se = to(eo({}, Pe), {
4209
- set: ro
4230
+ }, se = no(io({}, Pe), {
4231
+ set: oo
4210
4232
  }), Ne = (e) => {
4211
4233
  const t = /* @__PURE__ */ Object.create(null);
4212
4234
  return (i) => {
@@ -4214,20 +4236,20 @@ const ro = (e) => {
4214
4236
  return n in t ? t[n] : t[n] = e(i);
4215
4237
  };
4216
4238
  };
4217
- var io = Object.defineProperty, He = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4239
+ var so = Object.defineProperty, He = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
4218
4240
  for (var r in t || (t = {}))
4219
- Tr.call(t, r) && Gt(e, r, t[r]);
4241
+ Ar.call(t, r) && kt(e, r, t[r]);
4220
4242
  if (He)
4221
4243
  for (var r of He(t))
4222
- Lr.call(t, r) && Gt(e, r, t[r]);
4244
+ Pr.call(t, r) && kt(e, r, t[r]);
4223
4245
  return e;
4224
4246
  }, ae = (e, t) => {
4225
4247
  var r = {};
4226
4248
  for (var i in e)
4227
- Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4249
+ Ar.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4228
4250
  if (e != null && He)
4229
4251
  for (var i of He(e))
4230
- t.indexOf(i) < 0 && Lr.call(e, i) && (r[i] = e[i]);
4252
+ t.indexOf(i) < 0 && Pr.call(e, i) && (r[i] = e[i]);
4231
4253
  return r;
4232
4254
  };
4233
4255
  const me = (e, t) => {
@@ -4235,21 +4257,21 @@ const me = (e, t) => {
4235
4257
  if (e in r && t in r[e])
4236
4258
  return r[e][t];
4237
4259
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4238
- }, no = Ne(
4260
+ }, ao = Ne(
4239
4261
  (e) => {
4240
4262
  var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4241
4263
  if (r == null)
4242
4264
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4243
4265
  return i && (n = me("number", i)), new Intl.NumberFormat(r, n);
4244
4266
  }
4245
- ), oo = Ne(
4267
+ ), uo = Ne(
4246
4268
  (e) => {
4247
4269
  var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4248
4270
  if (r == null)
4249
4271
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4250
4272
  return i ? n = me("date", i) : Object.keys(n).length === 0 && (n = me("date", "short")), new Intl.DateTimeFormat(r, n);
4251
4273
  }
4252
- ), so = Ne(
4274
+ ), lo = Ne(
4253
4275
  (e) => {
4254
4276
  var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4255
4277
  if (r == null)
@@ -4258,57 +4280,57 @@ const me = (e, t) => {
4258
4280
  );
4259
4281
  return i ? n = me("time", i) : Object.keys(n).length === 0 && (n = me("time", "short")), new Intl.DateTimeFormat(r, n);
4260
4282
  }
4261
- ), ao = (e = {}) => {
4283
+ ), ho = (e = {}) => {
4262
4284
  var t = e, {
4263
4285
  locale: r = Z()
4264
4286
  } = t, i = ae(t, [
4265
4287
  "locale"
4266
4288
  ]);
4267
- return no(ft({ locale: r }, i));
4268
- }, uo = (e = {}) => {
4289
+ return ao(dt({ locale: r }, i));
4290
+ }, co = (e = {}) => {
4269
4291
  var t = e, {
4270
4292
  locale: r = Z()
4271
4293
  } = t, i = ae(t, [
4272
4294
  "locale"
4273
4295
  ]);
4274
- return oo(ft({ locale: r }, i));
4275
- }, lo = (e = {}) => {
4296
+ return uo(dt({ locale: r }, i));
4297
+ }, fo = (e = {}) => {
4276
4298
  var t = e, {
4277
4299
  locale: r = Z()
4278
4300
  } = t, i = ae(t, [
4279
4301
  "locale"
4280
4302
  ]);
4281
- return so(ft({ locale: r }, i));
4282
- }, ho = Ne(
4303
+ return lo(dt({ locale: r }, i));
4304
+ }, mo = Ne(
4283
4305
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4284
- (e, t = Z()) => new Dn(e, t, ie().formats, {
4306
+ (e, t = Z()) => new Gn(e, t, ie().formats, {
4285
4307
  ignoreTag: ie().ignoreTag
4286
4308
  })
4287
- ), co = (e, t = {}) => {
4309
+ ), po = (e, t = {}) => {
4288
4310
  var r, i, n, o;
4289
- let s = t;
4290
- typeof e == "object" && (s = e, e = s.id);
4311
+ let a = t;
4312
+ typeof e == "object" && (a = e, e = a.id);
4291
4313
  const {
4292
- values: a,
4314
+ values: s,
4293
4315
  locale: l = Z(),
4294
4316
  default: u
4295
- } = s;
4317
+ } = a;
4296
4318
  if (l == null)
4297
4319
  throw new Error(
4298
4320
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4299
4321
  );
4300
- let h = br(e, l);
4322
+ let h = xr(e, l);
4301
4323
  if (!h)
4302
4324
  h = (o = (n = (i = (r = ie()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4303
4325
  else if (typeof h != "string")
4304
4326
  return console.warn(
4305
4327
  `[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.`
4306
4328
  ), h;
4307
- if (!a)
4329
+ if (!s)
4308
4330
  return h;
4309
4331
  let c = h;
4310
4332
  try {
4311
- c = ho(h, l).format(a);
4333
+ c = mo(h, l).format(s);
4312
4334
  } catch (f) {
4313
4335
  f instanceof Error && console.warn(
4314
4336
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4316,20 +4338,20 @@ const me = (e, t) => {
4316
4338
  );
4317
4339
  }
4318
4340
  return c;
4319
- }, fo = (e, t) => lo(t).format(e), mo = (e, t) => uo(t).format(e), po = (e, t) => ao(t).format(e), yo = (e, t = Z()) => br(e, t), go = oe([se, pe], () => co);
4320
- oe([se], () => fo);
4321
- oe([se], () => mo);
4322
- oe([se], () => po);
4323
- oe([se, pe], () => yo);
4324
- window.emWidgets = { topic: Pi };
4325
- const bo = (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)), Xo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4326
- function vo(e, t) {
4341
+ }, yo = (e, t) => fo(t).format(e), go = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), vo = (e, t = Z()) => xr(e, t), _o = oe([se, pe], () => po);
4342
+ oe([se], () => yo);
4343
+ oe([se], () => go);
4344
+ oe([se], () => bo);
4345
+ oe([se, pe], () => vo);
4346
+ window.emWidgets = { topic: Oi };
4347
+ const Eo = (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";
4348
+ function xo(e, t) {
4327
4349
  if (e) {
4328
4350
  const r = document.createElement("style");
4329
4351
  r.innerHTML = t, e.appendChild(r);
4330
4352
  }
4331
4353
  }
4332
- function _o(e, t) {
4354
+ function To(e, t) {
4333
4355
  const r = new URL(t);
4334
4356
  fetch(r.href).then((i) => i.text()).then((i) => {
4335
4357
  const n = document.createElement("style");
@@ -4338,7 +4360,7 @@ function _o(e, t) {
4338
4360
  console.error("There was an error while trying to load client styling from URL", i);
4339
4361
  });
4340
4362
  }
4341
- function Eo(e, t, r) {
4363
+ function Lo(e, t, r) {
4342
4364
  if (window.emMessageBus) {
4343
4365
  const i = document.createElement("style");
4344
4366
  window.emMessageBus.subscribe(t, (n) => {
@@ -4346,13 +4368,13 @@ function Eo(e, t, r) {
4346
4368
  });
4347
4369
  }
4348
4370
  }
4349
- function Ft(e, t) {
4350
- _r(e, t);
4371
+ function Vt(e, t) {
4372
+ Lr(e, t);
4351
4373
  }
4352
- function xo(e) {
4374
+ function So(e) {
4353
4375
  se.set(e);
4354
4376
  }
4355
- const ze = {
4377
+ const Ze = {
4356
4378
  en: {
4357
4379
  expandLimits: "LIMIT HISTORY",
4358
4380
  daily: "per day",
@@ -4603,30 +4625,30 @@ const ze = {
4603
4625
  historyLimitTypeLoss: "Loss Limit"
4604
4626
  }
4605
4627
  };
4606
- function To(e) {
4607
- 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)}}');
4628
+ function wo(e) {
4629
+ Jr(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)}}');
4608
4630
  }
4609
- function jt(e, t, r) {
4631
+ function Wt(e, t, r) {
4610
4632
  const i = e.slice();
4611
4633
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4612
4634
  }
4613
- function Lo(e) {
4635
+ function Ao(e) {
4614
4636
  let t, r, i, n = (
4615
4637
  /*$_*/
4616
4638
  e[9]("expandLimits") + ""
4617
- ), o, s, a, l, u, h, c, f, p, y = _t(
4639
+ ), o, a, s, l, u, h, c, f, p, y = Tt(
4618
4640
  /*lazyShowedHistoryArray*/
4619
4641
  e[7]
4620
4642
  ), d = [];
4621
4643
  for (let v = 0; v < y.length; v += 1)
4622
- d[v] = kt(jt(e, y, v));
4644
+ d[v] = Xt(Wt(e, y, v));
4623
4645
  return {
4624
4646
  c() {
4625
- t = P("div"), r = P("div"), i = P("button"), o = M(n), s = Ze(), a = $e("svg"), l = $e("path"), u = $e("path"), h = Ze(), c = P("div");
4647
+ t = P("div"), r = P("div"), i = P("button"), o = M(n), a = Qe(), s = $e("svg"), l = $e("path"), u = $e("path"), h = Qe(), c = P("div");
4626
4648
  for (let v = 0; v < d.length; v += 1)
4627
4649
  d[v].c();
4628
- 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(
4629
- a,
4650
+ 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(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ve(
4651
+ s,
4630
4652
  "extended",
4631
4653
  /*extended*/
4632
4654
  e[8]
@@ -4639,10 +4661,10 @@ function Lo(e) {
4639
4661
  (e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4640
4662
  },
4641
4663
  m(v, H) {
4642
- z(v, t, H), T(t, r), T(r, i), T(i, o), T(i, s), T(i, a), T(a, l), T(a, u), T(r, h), T(r, c);
4664
+ z(v, t, H), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, l), T(s, u), T(r, h), T(r, c);
4643
4665
  for (let g = 0; g < d.length; g += 1)
4644
4666
  d[g] && d[g].m(c, null);
4645
- f || (p = Jr(
4667
+ f || (p = ti(
4646
4668
  i,
4647
4669
  "click",
4648
4670
  /*toggleHistoryDisplayArea*/
@@ -4654,20 +4676,20 @@ function Lo(e) {
4654
4676
  512 && n !== (n = /*$_*/
4655
4677
  v[9]("expandLimits") + "") && k(o, n), H[0] & /*extended*/
4656
4678
  256 && ve(
4657
- a,
4679
+ s,
4658
4680
  "extended",
4659
4681
  /*extended*/
4660
4682
  v[8]
4661
4683
  ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4662
4684
  650) {
4663
- y = _t(
4685
+ y = Tt(
4664
4686
  /*lazyShowedHistoryArray*/
4665
4687
  v[7]
4666
4688
  );
4667
4689
  let g;
4668
4690
  for (g = 0; g < y.length; g += 1) {
4669
- const w = jt(v, y, g);
4670
- d[g] ? d[g].p(w, H) : (d[g] = kt(w), d[g].c(), d[g].m(c, null));
4691
+ const w = Wt(v, y, g);
4692
+ d[g] ? d[g].p(w, H) : (d[g] = Xt(w), d[g].c(), d[g].m(c, null));
4671
4693
  }
4672
4694
  for (; g < d.length; g += 1)
4673
4695
  d[g].d(1);
@@ -4682,14 +4704,14 @@ function Lo(e) {
4682
4704
  );
4683
4705
  },
4684
4706
  d(v) {
4685
- v && V(t), Yr(d, v), f = !1, p();
4707
+ v && V(t), ei(d, v), f = !1, p();
4686
4708
  }
4687
4709
  };
4688
4710
  }
4689
- function So(e) {
4711
+ function Po(e) {
4690
4712
  return { c: B, m: B, p: B, d: B };
4691
4713
  }
4692
- function wo(e) {
4714
+ function Ho(e) {
4693
4715
  let t, r = (
4694
4716
  /*lang*/
4695
4717
  (e[0] ? (
@@ -4717,11 +4739,11 @@ function wo(e) {
4717
4739
  }
4718
4740
  };
4719
4741
  }
4720
- function Ao(e) {
4742
+ function Io(e) {
4721
4743
  let t, r, i, n = (
4722
4744
  /*history*/
4723
4745
  e[37].type + ""
4724
- ), o, s, a = (
4746
+ ), o, a, s = (
4725
4747
  /*history*/
4726
4748
  e[37].amount + ""
4727
4749
  ), l, u, h = (
@@ -4730,17 +4752,17 @@ function Ao(e) {
4730
4752
  ), c;
4731
4753
  return {
4732
4754
  c() {
4733
- t = P("div"), r = P("span"), i = P("span"), o = M(n), s = P("span"), l = M(a), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(s, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4755
+ t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), l = M(s), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4734
4756
  },
4735
4757
  m(f, p) {
4736
- z(f, t, p), T(t, r), T(r, i), T(i, o), T(r, s), T(s, l), T(t, u), T(u, c);
4758
+ z(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, l), T(t, u), T(u, c);
4737
4759
  },
4738
4760
  p(f, p) {
4739
4761
  p[0] & /*lazyShowedHistoryArray*/
4740
4762
  128 && n !== (n = /*history*/
4741
4763
  f[37].type + "") && k(o, n), p[0] & /*lazyShowedHistoryArray*/
4742
- 128 && a !== (a = /*history*/
4743
- f[37].amount + "") && k(l, a), p[0] & /*lazyShowedHistoryArray*/
4764
+ 128 && s !== (s = /*history*/
4765
+ f[37].amount + "") && k(l, s), p[0] & /*lazyShowedHistoryArray*/
4744
4766
  128 && h !== (h = /*history*/
4745
4767
  f[37].date + "") && k(c, h);
4746
4768
  },
@@ -4749,11 +4771,11 @@ function Ao(e) {
4749
4771
  }
4750
4772
  };
4751
4773
  }
4752
- function Po(e) {
4774
+ function Bo(e) {
4753
4775
  let t, r, i, n = (
4754
4776
  /*history*/
4755
4777
  e[37].type + ""
4756
- ), o, s, a = (
4778
+ ), o, a, s = (
4757
4779
  /*$_*/
4758
4780
  e[9]("limitRemoved") + ""
4759
4781
  ), l, u, h = (
@@ -4762,17 +4784,17 @@ function Po(e) {
4762
4784
  ), c;
4763
4785
  return {
4764
4786
  c() {
4765
- t = P("div"), r = P("span"), i = P("span"), o = M(n), s = P("span"), l = M(a), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(s, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4787
+ t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), l = M(s), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4766
4788
  },
4767
4789
  m(f, p) {
4768
- z(f, t, p), T(t, r), T(r, i), T(i, o), T(r, s), T(s, l), T(t, u), T(u, c);
4790
+ z(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, l), T(t, u), T(u, c);
4769
4791
  },
4770
4792
  p(f, p) {
4771
4793
  p[0] & /*lazyShowedHistoryArray*/
4772
4794
  128 && n !== (n = /*history*/
4773
4795
  f[37].type + "") && k(o, n), p[0] & /*$_*/
4774
- 512 && a !== (a = /*$_*/
4775
- f[9]("limitRemoved") + "") && k(l, a), p[0] & /*lazyShowedHistoryArray*/
4796
+ 512 && s !== (s = /*$_*/
4797
+ f[9]("limitRemoved") + "") && k(l, s), p[0] & /*lazyShowedHistoryArray*/
4776
4798
  128 && h !== (h = /*history*/
4777
4799
  f[37].date + "") && k(c, h);
4778
4800
  },
@@ -4781,7 +4803,7 @@ function Po(e) {
4781
4803
  }
4782
4804
  };
4783
4805
  }
4784
- function kt(e) {
4806
+ function Xt(e) {
4785
4807
  let t, r, i, n = (
4786
4808
  /*index*/
4787
4809
  e[39]
@@ -4789,10 +4811,10 @@ function kt(e) {
4789
4811
  function o(h, c) {
4790
4812
  return (
4791
4813
  /*history*/
4792
- h[37].removed ? Po : Ao
4814
+ h[37].removed ? Bo : Io
4793
4815
  );
4794
4816
  }
4795
- let s = o(e), a = s(e);
4817
+ let a = o(e), s = a(e);
4796
4818
  const l = () => (
4797
4819
  /*div_binding*/
4798
4820
  e[22](t, n)
@@ -4802,18 +4824,18 @@ function kt(e) {
4802
4824
  );
4803
4825
  return {
4804
4826
  c() {
4805
- t = P("div"), a.c(), r = Ze(), x(t, "class", i = bt(
4827
+ t = P("div"), s.c(), r = Qe(), x(t, "class", i = Et(
4806
4828
  /*index*/
4807
4829
  e[39] > +/*numberofentries*/
4808
4830
  e[1] ? "LimitContainer" : ""
4809
4831
  ) + " svelte-19ml84y");
4810
4832
  },
4811
4833
  m(h, c) {
4812
- z(h, t, c), a.m(t, null), T(t, r), l();
4834
+ z(h, t, c), s.m(t, null), T(t, r), l();
4813
4835
  },
4814
4836
  p(h, c) {
4815
- 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*/
4816
- 2 && i !== (i = bt(
4837
+ e = h, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
4838
+ 2 && i !== (i = Et(
4817
4839
  /*index*/
4818
4840
  e[39] > +/*numberofentries*/
4819
4841
  e[1] ? "LimitContainer" : ""
@@ -4822,18 +4844,18 @@ function kt(e) {
4822
4844
  e[39], l());
4823
4845
  },
4824
4846
  d(h) {
4825
- h && V(t), a.d(), u();
4847
+ h && V(t), s.d(), u();
4826
4848
  }
4827
4849
  };
4828
4850
  }
4829
- function Ho(e) {
4851
+ function Oo(e) {
4830
4852
  let t;
4831
- function r(o, s) {
4853
+ function r(o, a) {
4832
4854
  return (
4833
4855
  /*hasErrors*/
4834
- o[6] ? wo : (
4856
+ o[6] ? Ho : (
4835
4857
  /*isLoading*/
4836
- o[4] ? So : Lo
4858
+ o[4] ? Po : Ao
4837
4859
  )
4838
4860
  );
4839
4861
  }
@@ -4842,11 +4864,11 @@ function Ho(e) {
4842
4864
  c() {
4843
4865
  t = P("div"), n.c(), x(t, "class", "svelte-19ml84y");
4844
4866
  },
4845
- m(o, s) {
4846
- z(o, t, s), n.m(t, null), e[23](t);
4867
+ m(o, a) {
4868
+ z(o, t, a), n.m(t, null), e[23](t);
4847
4869
  },
4848
- p(o, s) {
4849
- i === (i = r(o)) && n ? n.p(o, s) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4870
+ p(o, a) {
4871
+ i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4850
4872
  },
4851
4873
  i: B,
4852
4874
  o: B,
@@ -4855,24 +4877,24 @@ function Ho(e) {
4855
4877
  }
4856
4878
  };
4857
4879
  }
4858
- function Io(e, t, r) {
4880
+ function Co(e, t, r) {
4859
4881
  let i;
4860
- Xr(e, go, (m) => r(9, i = m));
4861
- let n = window.navigator.userAgent, o = !bo(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, w = new Array(), D = parseInt(c, 10), R = !1, U = !0, W = [], de = [], ye = !0, Re = !1, ue = { EUR: "€", RON: "lei", TRY: "₺" };
4862
- const wr = () => {
4882
+ Yr(e, _o, (m) => r(9, i = m));
4883
+ let n = window.navigator.userAgent, o = !Eo(n), { lang: a = "" } = t, { userid: s = "" } = 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, w = new Array(), D = parseInt(c, 10), R = !1, U = !0, W = [], de = [], ye = !0, Re = !1, ue = { EUR: "€", RON: "lei", TRY: "₺" };
4884
+ const Ir = () => {
4863
4885
  fetch(H).then((L) => L.json()).then((L) => {
4864
4886
  Object.keys(L).forEach((C) => {
4865
- Ft(C, L[C]);
4887
+ Vt(C, L[C]);
4866
4888
  });
4867
4889
  }).catch((L) => {
4868
4890
  console.log(L);
4869
4891
  });
4870
4892
  };
4871
- Object.keys(ze).forEach((m) => {
4872
- Ft(m, ze[m]);
4893
+ Object.keys(Ze).forEach((m) => {
4894
+ Vt(m, Ze[m]);
4873
4895
  });
4874
- const Ar = () => {
4875
- let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, L = new URL(m, u);
4896
+ const Br = () => {
4897
+ let m = h === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
4876
4898
  L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
4877
4899
  let C = {
4878
4900
  method: "GET",
@@ -4884,14 +4906,14 @@ function Io(e, t, r) {
4884
4906
  return A.json();
4885
4907
  }).then(
4886
4908
  (A) => {
4887
- A.length && (W = Pr(A), r(7, de = W.slice(0, D))), r(4, U = !1);
4909
+ A.length && (W = Or(A), r(7, de = W.slice(0, D))), r(4, U = !1);
4888
4910
  },
4889
4911
  (A) => {
4890
4912
  console.error("There was an error", A), r(6, R = !0);
4891
4913
  }
4892
4914
  );
4893
- }, Pr = (m) => {
4894
- const L = !!ze[s];
4915
+ }, Or = (m) => {
4916
+ const L = !!Ze[a];
4895
4917
  return m.map((A) => {
4896
4918
  let $ = {
4897
4919
  amount: "",
@@ -4901,34 +4923,34 @@ function Io(e, t, r) {
4901
4923
  type: "",
4902
4924
  removed: !1
4903
4925
  };
4904
- return $.amount = Hr(A), $.currency = L ? ue[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4926
+ return $.amount = Cr(A), $.currency = L ? ue[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4905
4927
  });
4906
- }, Hr = (m) => {
4928
+ }, Cr = (m) => {
4907
4929
  let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4908
4930
  if (!p) {
4909
- let Ur = ue[m.limitCurrencyCode] || m.limitCurrencyCode;
4910
- return `${L}${Ur}`;
4931
+ let jr = ue[m.limitCurrencyCode] || m.limitCurrencyCode;
4932
+ return `${L}${jr}`;
4911
4933
  }
4912
4934
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4913
4935
  const C = L.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, $ = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4914
4936
  let ge = parseFloat(m.limitAmount).toFixed(A);
4915
- const [Mr, Me] = p.includes(".") ? [",", "."] : [".", ","];
4916
- let [De, Dr] = ge.split(".");
4917
- return De = De.replace(/\B(?=(\d{3})+(?!\d))/g, Mr), ge = `${De}${Me}${Dr}`, L = L.replace("{currency}", ue[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split(Me)[0]).replace(
4937
+ const [Gr, Me] = p.includes(".") ? [",", "."] : [".", ","];
4938
+ let [De, Fr] = ge.split(".");
4939
+ return De = De.replace(/\B(?=(\d{3})+(?!\d))/g, Gr), ge = `${De}${Me}${Fr}`, L = L.replace("{currency}", ue[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split(Me)[0]).replace(
4918
4940
  $,
4919
4941
  ge.split(Me)[1]
4920
4942
  ), L;
4921
- }, Ir = () => {
4943
+ }, Nr = () => {
4922
4944
  r(5, ye = !ye), r(8, Re = !Re);
4923
4945
  };
4924
- let mt = new IntersectionObserver((m) => {
4946
+ let yt = new IntersectionObserver((m) => {
4925
4947
  m.forEach((L) => {
4926
4948
  L.isIntersecting && (D += parseInt(c, 10) || 10, de.length < W.length && r(7, de = W.slice(0, D)));
4927
4949
  });
4928
4950
  });
4929
- const Br = () => {
4930
- mt.observe(w[w.length - 1]);
4931
- }, Or = () => {
4951
+ const Rr = () => {
4952
+ yt.observe(w[w.length - 1]);
4953
+ }, Mr = () => {
4932
4954
  if (!f)
4933
4955
  return;
4934
4956
  let m = {};
@@ -4936,36 +4958,36 @@ function Io(e, t, r) {
4936
4958
  let C = L.split(":");
4937
4959
  m[C[0].trim()] = C[1].trim();
4938
4960
  }), ue = be(be({}, ue), m);
4939
- }, Cr = () => {
4940
- xo(s);
4961
+ }, Dr = () => {
4962
+ So(a);
4941
4963
  };
4942
- ti(() => () => {
4943
- mt.unobserve(w[w.length - 1]);
4964
+ oi(() => () => {
4965
+ yt.unobserve(w[w.length - 1]);
4944
4966
  });
4945
- function Nr(m, L) {
4967
+ function Ur(m, L) {
4946
4968
  Ae[m ? "unshift" : "push"](() => {
4947
4969
  w[L] = m, r(3, w);
4948
4970
  });
4949
4971
  }
4950
- function Rr(m) {
4972
+ function $r(m) {
4951
4973
  Ae[m ? "unshift" : "push"](() => {
4952
4974
  g = m, r(2, g);
4953
4975
  });
4954
4976
  }
4955
4977
  return e.$$set = (m) => {
4956
- "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);
4978
+ "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = 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);
4957
4979
  }, e.$$.update = () => {
4958
4980
  e.$$.dirty[0] & /*customcurrencysymbols*/
4959
- 65536 && f && Or(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4960
- 61440 && u && a && l && h && Ar(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4961
- 56 && w[0] && !U && !ye && Br(), e.$$.dirty[0] & /*lang*/
4962
- 1 && s && Cr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4963
- 262148 && y && g && vo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4964
- 524292 && d && g && _o(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4965
- 1048580 && v && g && Eo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4966
- 2097156 && H && g && wr();
4981
+ 65536 && f && Mr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4982
+ 61440 && u && s && l && h && Br(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4983
+ 56 && w[0] && !U && !ye && Rr(), e.$$.dirty[0] & /*lang*/
4984
+ 1 && a && Dr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4985
+ 262148 && y && g && xo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4986
+ 524292 && d && g && To(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4987
+ 1048580 && v && g && Lo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4988
+ 2097156 && H && g && Ir();
4967
4989
  }, [
4968
- s,
4990
+ a,
4969
4991
  c,
4970
4992
  g,
4971
4993
  w,
@@ -4976,8 +4998,8 @@ function Io(e, t, r) {
4976
4998
  Re,
4977
4999
  i,
4978
5000
  o,
4979
- Ir,
4980
- a,
5001
+ Nr,
5002
+ s,
4981
5003
  l,
4982
5004
  u,
4983
5005
  h,
@@ -4987,18 +5009,18 @@ function Io(e, t, r) {
4987
5009
  d,
4988
5010
  v,
4989
5011
  H,
4990
- Nr,
4991
- Rr
5012
+ Ur,
5013
+ $r
4992
5014
  ];
4993
5015
  }
4994
- class Sr extends fi {
5016
+ class Hr extends yi {
4995
5017
  constructor(t) {
4996
- super(), hi(
5018
+ super(), pi(
4997
5019
  this,
4998
5020
  t,
4999
- Io,
5000
- Ho,
5001
- Wt,
5021
+ Co,
5022
+ Oo,
5023
+ Zt,
5002
5024
  {
5003
5025
  lang: 0,
5004
5026
  userid: 12,
@@ -5013,7 +5035,7 @@ class Sr extends fi {
5013
5035
  mbsource: 20,
5014
5036
  translationurl: 21
5015
5037
  },
5016
- To,
5038
+ wo,
5017
5039
  [-1, -1]
5018
5040
  );
5019
5041
  }
@@ -5090,59 +5112,59 @@ class Sr extends fi {
5090
5112
  this.$$set({ translationurl: t }), O();
5091
5113
  }
5092
5114
  }
5093
- ci(Sr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5094
- const zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5115
+ di(Hr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5116
+ const Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5095
5117
  __proto__: null,
5096
- default: Sr
5118
+ default: Hr
5097
5119
  }, Symbol.toStringTag, { value: "Module" }));
5098
5120
  export {
5099
5121
  se as $,
5100
- Fo as A,
5101
- Ye as B,
5102
- $e as C,
5103
- Go as D,
5104
- vo as E,
5105
- _o as F,
5106
- Eo as G,
5107
- ci as H,
5108
- go as I,
5122
+ Tt as A,
5123
+ jo as B,
5124
+ ei as C,
5125
+ ne as D,
5126
+ Je as E,
5127
+ Vo as F,
5128
+ _o as G,
5129
+ $e as H,
5130
+ ko as I,
5109
5131
  pe as J,
5110
- Wo as K,
5111
- si as L,
5112
- Vo as M,
5113
- Xo as N,
5114
- ko as O,
5115
- Do as P,
5116
- Oo as Q,
5117
- No as R,
5118
- fi as S,
5119
- Ro as T,
5120
- Co as U,
5121
- zo as V,
5122
- _r as a,
5123
- zr as b,
5124
- T as c,
5125
- V as d,
5126
- z as e,
5132
+ Zo as K,
5133
+ zo as L,
5134
+ hi as M,
5135
+ Qo as N,
5136
+ Xo as O,
5137
+ Go as P,
5138
+ Ro as Q,
5139
+ Do as R,
5140
+ yi as S,
5141
+ Uo as T,
5142
+ Mo as U,
5143
+ Yo as V,
5144
+ Lr as a,
5145
+ Jr as b,
5146
+ di as c,
5147
+ Qe as d,
5148
+ P as e,
5127
5149
  O as f,
5128
- P as g,
5129
- Ze as h,
5130
- hi as i,
5131
- x as j,
5132
- Xr as k,
5133
- bo as l,
5134
- jo as m,
5150
+ x as g,
5151
+ T as h,
5152
+ pi as i,
5153
+ z as j,
5154
+ V as k,
5155
+ Yr as l,
5156
+ Eo as m,
5135
5157
  B as n,
5136
- ti as o,
5137
- Ae as p,
5138
- _t as q,
5139
- Yr as r,
5140
- Wt as s,
5141
- Uo as t,
5142
- ne as u,
5143
- k as v,
5144
- $o as w,
5145
- Jr as x,
5146
- M as y,
5147
- Mo as z
5158
+ oi as o,
5159
+ To as p,
5160
+ Lo as q,
5161
+ Wo as r,
5162
+ Zt as s,
5163
+ Fo as t,
5164
+ Ae as u,
5165
+ xo as v,
5166
+ M as w,
5167
+ $o as x,
5168
+ ti as y,
5169
+ k as z
5148
5170
  };