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

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