@everymatrix/player-account-gaming-limits-wrapper-2 1.56.0 → 1.56.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 (27) hide show
  1. package/components/{PlayerAccountGamingLimitsHistory2-CiXyC3tt.js → PlayerAccountGamingLimitsHistory2-B3PpGrMk.js} +846 -789
  2. package/components/{PlayerAccountGamingLimitsHistory2-B_EpYgGO.js → PlayerAccountGamingLimitsHistory2-DIXg5IuM.js} +657 -600
  3. package/components/PlayerAccountGamingLimitsHistory2-DOCZA8tu.cjs +18 -0
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-dOdpXKWp.js → PlayerAccountGamingLimitsPage2Gm16-CVQA1OzN.js} +34 -21
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-Ag6s1IrL.js → PlayerAccountGamingLimitsPage2Gm16-DAO9xs8v.js} +35 -22
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16-qB_iYvGo.cjs → PlayerAccountGamingLimitsPage2Gm16-YT7q0L2x.cjs} +1 -1
  7. package/components/{PlayerAccountGamingLimitsWrapper2-Ba3KSOs3.js → PlayerAccountGamingLimitsWrapper2-BI1e7Suv.js} +19 -19
  8. package/components/{PlayerAccountGamingLimitsWrapper2-CzYC-JDk.cjs → PlayerAccountGamingLimitsWrapper2-D6BtA2Oq.cjs} +1 -1
  9. package/components/{PlayerAccountGamingLimitsWrapper2-CYkP1B3_.js → PlayerAccountGamingLimitsWrapper2-T9cBmOrL.js} +32 -32
  10. package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
  11. package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
  12. package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  15. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  16. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  17. package/stencil/{ui-skeleton-DtnYQAt6.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
  18. package/stencil/{ui-skeleton-rqI1NmdA.js → ui-skeleton-C5gPr5Xv.js} +2 -2
  19. package/stencil/{ui-skeleton-DlfwJJb1.js → ui-skeleton-M7HNQCk1.js} +2 -2
  20. package/stencil/{ui-skeleton-982450d2-BH4FIF5y.js → ui-skeleton-a642cced-BFJMszWG.js} +21 -21
  21. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
  22. package/stencil/{ui-skeleton-982450d2-DGJAETMx.js → ui-skeleton-a642cced-p8tGooXk.js} +21 -21
  23. package/components/PlayerAccountGamingLimitsHistory2-BzyxDCHg.cjs +0 -5
  24. package/stencil/index-db5752f9--Bvt52z2.js +0 -610
  25. package/stencil/index-db5752f9-CAzJb5N3.js +0 -594
  26. package/stencil/index-db5752f9-CEbtfUsZ.cjs +0 -1
  27. package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +0 -1
@@ -1,60 +1,61 @@
1
- var $r = Object.defineProperty, Gr = Object.defineProperties;
2
- var Fr = Object.getOwnPropertyDescriptors;
3
- var pt = Object.getOwnPropertySymbols;
4
- var jr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
5
- var Ue = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
1
+ var kr = Object.defineProperty, Vr = Object.defineProperties;
2
+ var Wr = Object.getOwnPropertyDescriptors;
3
+ var gt = Object.getOwnPropertySymbols;
4
+ var Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
5
+ var Ue = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- jr.call(t, r) && Ue(e, r, t[r]);
8
- if (pt)
9
- for (var r of pt(t))
10
- kr.call(t, r) && Ue(e, r, t[r]);
7
+ Xr.call(t, r) && Ue(e, r, t[r]);
8
+ if (gt)
9
+ for (var r of gt(t))
10
+ zr.call(t, r) && Ue(e, r, t[r]);
11
11
  return e;
12
- }, dt = (e, t) => Gr(e, Fr(t));
13
- var N = (e, t, r) => Ue(e, typeof t != "symbol" ? t + "" : t, r);
14
- var yt = (e, t, r) => new Promise((i, n) => {
12
+ }, bt = (e, t) => Vr(e, Wr(t));
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) => {
15
15
  var o = (l) => {
16
16
  try {
17
- a(r.next(l));
17
+ s(r.next(l));
18
18
  } catch (u) {
19
19
  n(u);
20
20
  }
21
- }, s = (l) => {
21
+ }, a = (l) => {
22
22
  try {
23
- a(r.throw(l));
23
+ s(r.throw(l));
24
24
  } catch (u) {
25
25
  n(u);
26
26
  }
27
- }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
27
+ }, s = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, a);
28
+ s((r = r.apply(e, t)).next());
29
29
  });
30
30
  function B() {
31
31
  }
32
- function Vr(e, t) {
33
- for (const r in t) e[r] = t[r];
32
+ function Zr(e, t) {
33
+ for (const r in t)
34
+ e[r] = t[r];
34
35
  return (
35
36
  /** @type {T & S} */
36
37
  e
37
38
  );
38
39
  }
39
- function Vt(e) {
40
+ function zt(e) {
40
41
  return e();
41
42
  }
42
- function gt() {
43
+ function _t() {
43
44
  return /* @__PURE__ */ Object.create(null);
44
45
  }
45
46
  function ne(e) {
46
- e.forEach(Vt);
47
+ e.forEach(zt);
47
48
  }
48
- function ht(e) {
49
+ function ct(e) {
49
50
  return typeof e == "function";
50
51
  }
51
- function Wt(e, t) {
52
+ function Zt(e, t) {
52
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
54
  }
54
- function Wr(e) {
55
+ function Qr(e) {
55
56
  return Object.keys(e).length === 0;
56
57
  }
57
- function Xt(e, ...t) {
58
+ function Qt(e, ...t) {
58
59
  if (e == null) {
59
60
  for (const i of t)
60
61
  i(void 0);
@@ -63,40 +64,40 @@ function Xt(e, ...t) {
63
64
  const r = e.subscribe(...t);
64
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
65
66
  }
66
- function Xr(e, t, r) {
67
- e.$$.on_destroy.push(Xt(t, r));
67
+ function Yr(e, t, r) {
68
+ e.$$.on_destroy.push(Qt(t, r));
68
69
  }
69
- function Oo(e, t, r, i) {
70
+ function Ro(e, t, r, i) {
70
71
  if (e) {
71
- const n = zt(e, t, r, i);
72
+ const n = Yt(e, t, r, i);
72
73
  return e[0](n);
73
74
  }
74
75
  }
75
- function zt(e, t, r, i) {
76
- return e[1] && i ? Vr(r.ctx.slice(), e[1](i(t))) : r.ctx;
76
+ function Yt(e, t, r, i) {
77
+ return e[1] && i ? Zr(r.ctx.slice(), e[1](i(t))) : r.ctx;
77
78
  }
78
- function Co(e, t, r, i) {
79
+ function Mo(e, t, r, i) {
79
80
  if (e[2] && i) {
80
81
  const n = e[2](i(r));
81
82
  if (t.dirty === void 0)
82
83
  return n;
83
84
  if (typeof n == "object") {
84
- const o = [], s = Math.max(t.dirty.length, n.length);
85
- for (let a = 0; a < s; a += 1)
86
- o[a] = t.dirty[a] | n[a];
85
+ const o = [], a = Math.max(t.dirty.length, n.length);
86
+ for (let s = 0; s < a; s += 1)
87
+ o[s] = t.dirty[s] | n[s];
87
88
  return o;
88
89
  }
89
90
  return t.dirty | n;
90
91
  }
91
92
  return t.dirty;
92
93
  }
93
- function No(e, t, r, i, n, o) {
94
+ function Do(e, t, r, i, n, o) {
94
95
  if (n) {
95
- const s = zt(t, r, i, o);
96
- e.p(s, n);
96
+ const a = Yt(t, r, i, o);
97
+ e.p(a, n);
97
98
  }
98
99
  }
99
- function Ro(e) {
100
+ function Uo(e) {
100
101
  if (e.ctx.length > 32) {
101
102
  const t = [], r = e.ctx.length / 32;
102
103
  for (let i = 0; i < r; i++)
@@ -105,21 +106,22 @@ function Ro(e) {
105
106
  }
106
107
  return -1;
107
108
  }
108
- function bt(e) {
109
+ function Et(e) {
109
110
  return e == null ? "" : e;
110
111
  }
111
112
  function T(e, t) {
112
113
  e.appendChild(t);
113
114
  }
114
- function zr(e, t, r) {
115
- const i = Zr(e);
115
+ function Jr(e, t, r) {
116
+ const i = qr(e);
116
117
  if (!i.getElementById(t)) {
117
118
  const n = P("style");
118
- n.id = t, n.textContent = r, Qr(i, n);
119
+ n.id = t, n.textContent = r, Kr(i, n);
119
120
  }
120
121
  }
121
- function Zr(e) {
122
- if (!e) return document;
122
+ function qr(e) {
123
+ if (!e)
124
+ return document;
123
125
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
124
126
  return t && /** @type {ShadowRoot} */
125
127
  t.host ? (
@@ -127,7 +129,7 @@ function Zr(e) {
127
129
  t
128
130
  ) : e.ownerDocument;
129
131
  }
130
- function Qr(e, t) {
132
+ function Kr(e, t) {
131
133
  return T(
132
134
  /** @type {Document} */
133
135
  e.head || e,
@@ -140,7 +142,7 @@ function z(e, t, r) {
140
142
  function V(e) {
141
143
  e.parentNode && e.parentNode.removeChild(e);
142
144
  }
143
- function Yr(e, t) {
145
+ function ei(e, t) {
144
146
  for (let r = 0; r < e.length; r += 1)
145
147
  e[r] && e[r].d(t);
146
148
  }
@@ -153,39 +155,39 @@ function $e(e) {
153
155
  function M(e) {
154
156
  return document.createTextNode(e);
155
157
  }
156
- function Ze() {
158
+ function Qe() {
157
159
  return M(" ");
158
160
  }
159
- function Mo() {
161
+ function $o() {
160
162
  return M("");
161
163
  }
162
- function Jr(e, t, r, i) {
164
+ function ti(e, t, r, i) {
163
165
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
164
166
  }
165
167
  function x(e, t, r) {
166
168
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
167
169
  }
168
- function Do(e, t, r) {
170
+ function Go(e, t, r) {
169
171
  const i = t.toLowerCase();
170
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);
171
173
  }
172
- function Uo(e) {
174
+ function Fo(e) {
173
175
  return e === "" ? null : +e;
174
176
  }
175
- function qr(e) {
177
+ function ri(e) {
176
178
  return Array.from(e.childNodes);
177
179
  }
178
180
  function k(e, t) {
179
181
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
180
182
  t);
181
183
  }
182
- function $o(e, t) {
184
+ function jo(e, t) {
183
185
  e.value = t == null ? "" : t;
184
186
  }
185
- function Go(e, t, r, i) {
187
+ function ko(e, t, r, i) {
186
188
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
187
189
  }
188
- function Fo(e, t, r) {
190
+ function Vo(e, t, r) {
189
191
  for (let i = 0; i < e.options.length; i += 1) {
190
192
  const n = e.options[i];
191
193
  if (n.__value === t) {
@@ -195,14 +197,14 @@ function Fo(e, t, r) {
195
197
  }
196
198
  (!r || t !== void 0) && (e.selectedIndex = -1);
197
199
  }
198
- function jo(e) {
200
+ function Wo(e) {
199
201
  const t = e.querySelector(":checked");
200
202
  return t && t.__value;
201
203
  }
202
204
  function ve(e, t, r) {
203
205
  e.classList.toggle(t, !!r);
204
206
  }
205
- function Kr(e) {
207
+ function ii(e) {
206
208
  const t = {};
207
209
  return e.childNodes.forEach(
208
210
  /** @param {Element} node */
@@ -215,21 +217,22 @@ let ce;
215
217
  function he(e) {
216
218
  ce = e;
217
219
  }
218
- function ei() {
219
- if (!ce) throw new Error("Function called outside component initialization");
220
+ function ni() {
221
+ if (!ce)
222
+ throw new Error("Function called outside component initialization");
220
223
  return ce;
221
224
  }
222
- function ti(e) {
223
- ei().$$.on_mount.push(e);
225
+ function oi(e) {
226
+ ni().$$.on_mount.push(e);
224
227
  }
225
228
  const J = [], Ae = [];
226
229
  let q = [];
227
- const vt = [], ri = /* @__PURE__ */ Promise.resolve();
228
- let Qe = !1;
229
- function ii() {
230
- Qe || (Qe = !0, ri.then(O));
230
+ const xt = [], si = /* @__PURE__ */ Promise.resolve();
231
+ let Ye = !1;
232
+ function ai() {
233
+ Ye || (Ye = !0, si.then(O));
231
234
  }
232
- function Ye(e) {
235
+ function Je(e) {
233
236
  q.push(e);
234
237
  }
235
238
  const Ge = /* @__PURE__ */ new Set();
@@ -242,36 +245,37 @@ function O() {
242
245
  try {
243
246
  for (; Q < J.length; ) {
244
247
  const t = J[Q];
245
- Q++, he(t), ni(t.$$);
248
+ Q++, he(t), ui(t.$$);
246
249
  }
247
250
  } catch (t) {
248
251
  throw J.length = 0, Q = 0, t;
249
252
  }
250
- for (he(null), J.length = 0, Q = 0; Ae.length; ) Ae.pop()();
253
+ for (he(null), J.length = 0, Q = 0; Ae.length; )
254
+ Ae.pop()();
251
255
  for (let t = 0; t < q.length; t += 1) {
252
256
  const r = q[t];
253
257
  Ge.has(r) || (Ge.add(r), r());
254
258
  }
255
259
  q.length = 0;
256
260
  } while (J.length);
257
- for (; vt.length; )
258
- vt.pop()();
259
- Qe = !1, Ge.clear(), he(e);
261
+ for (; xt.length; )
262
+ xt.pop()();
263
+ Ye = !1, Ge.clear(), he(e);
260
264
  }
261
- function ni(e) {
265
+ function ui(e) {
262
266
  if (e.fragment !== null) {
263
267
  e.update(), ne(e.before_update);
264
268
  const t = e.dirty;
265
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
269
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
266
270
  }
267
271
  }
268
- function oi(e) {
272
+ function li(e) {
269
273
  const t = [], r = [];
270
274
  q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), q = t;
271
275
  }
272
276
  const xe = /* @__PURE__ */ new Set();
273
277
  let X;
274
- function ko() {
278
+ function Xo() {
275
279
  X = {
276
280
  r: 0,
277
281
  c: [],
@@ -279,38 +283,40 @@ function ko() {
279
283
  // parent group
280
284
  };
281
285
  }
282
- function Vo() {
286
+ function zo() {
283
287
  X.r || ne(X.c), X = X.p;
284
288
  }
285
- function si(e, t) {
289
+ function hi(e, t) {
286
290
  e && e.i && (xe.delete(e), e.i(t));
287
291
  }
288
- function Wo(e, t, r, i) {
292
+ function Zo(e, t, r, i) {
289
293
  if (e && e.o) {
290
- if (xe.has(e)) return;
294
+ if (xe.has(e))
295
+ return;
291
296
  xe.add(e), X.c.push(() => {
292
297
  xe.delete(e), i && (r && e.d(1), i());
293
298
  }), e.o(t);
294
- } else i && i();
299
+ } else
300
+ i && i();
295
301
  }
296
- function _t(e) {
302
+ function Tt(e) {
297
303
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
298
304
  }
299
- function ai(e, t, r) {
305
+ function ci(e, t, r) {
300
306
  const { fragment: i, after_update: n } = e.$$;
301
- i && i.m(t, r), Ye(() => {
302
- const o = e.$$.on_mount.map(Vt).filter(ht);
307
+ i && i.m(t, r), Je(() => {
308
+ const o = e.$$.on_mount.map(zt).filter(ct);
303
309
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
304
- }), n.forEach(Ye);
310
+ }), n.forEach(Je);
305
311
  }
306
- function ui(e, t) {
312
+ function fi(e, t) {
307
313
  const r = e.$$;
308
- r.fragment !== null && (oi(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
314
+ r.fragment !== null && (li(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
309
315
  }
310
- function li(e, t) {
311
- e.$$.dirty[0] === -1 && (J.push(e), ii(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
316
+ function mi(e, t) {
317
+ e.$$.dirty[0] === -1 && (J.push(e), ai(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
312
318
  }
313
- function hi(e, t, r, i, n, o, s = null, a = [-1]) {
319
+ function pi(e, t, r, i, n, o, a = null, s = [-1]) {
314
320
  const l = ce;
315
321
  he(e);
316
322
  const u = e.$$ = {
@@ -320,7 +326,7 @@ function hi(e, t, r, i, n, o, s = null, a = [-1]) {
320
326
  props: o,
321
327
  update: B,
322
328
  not_equal: n,
323
- bound: gt(),
329
+ bound: _t(),
324
330
  // lifecycle
325
331
  on_mount: [],
326
332
  on_destroy: [],
@@ -329,28 +335,28 @@ function hi(e, t, r, i, n, o, s = null, a = [-1]) {
329
335
  after_update: [],
330
336
  context: new Map(t.context || (l ? l.$$.context : [])),
331
337
  // everything else
332
- callbacks: gt(),
333
- dirty: a,
338
+ callbacks: _t(),
339
+ dirty: s,
334
340
  skip_bound: !1,
335
341
  root: t.target || l.$$.root
336
342
  };
337
- s && s(u.root);
343
+ a && a(u.root);
338
344
  let h = !1;
339
345
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
340
346
  const y = p.length ? p[0] : f;
341
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && li(e, c)), f;
347
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && mi(e, c)), f;
342
348
  }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
343
349
  if (t.hydrate) {
344
- const c = qr(t.target);
350
+ const c = ri(t.target);
345
351
  u.fragment && u.fragment.l(c), c.forEach(V);
346
352
  } else
347
353
  u.fragment && u.fragment.c();
348
- t.intro && si(e.$$.fragment), ai(e, t.target, t.anchor), O();
354
+ t.intro && hi(e.$$.fragment), ci(e, t.target, t.anchor), O();
349
355
  }
350
356
  he(l);
351
357
  }
352
- let Zt;
353
- typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
358
+ let Jt;
359
+ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
354
360
  constructor(t, r, i) {
355
361
  super();
356
362
  /** The Svelte component constructor */
@@ -387,42 +393,42 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
387
393
  }
388
394
  }
389
395
  connectedCallback() {
390
- return yt(this, null, function* () {
396
+ return vt(this, null, function* () {
391
397
  if (this.$$cn = !0, !this.$$c) {
392
398
  let t = function(o) {
393
399
  return () => {
394
- let s;
400
+ let a;
395
401
  return {
396
402
  c: function() {
397
- s = P("slot"), o !== "default" && x(s, "name", o);
403
+ a = P("slot"), o !== "default" && x(a, "name", o);
398
404
  },
399
405
  /**
400
406
  * @param {HTMLElement} target
401
407
  * @param {HTMLElement} [anchor]
402
408
  */
403
409
  m: function(u, h) {
404
- z(u, s, h);
410
+ z(u, a, h);
405
411
  },
406
412
  d: function(u) {
407
- u && V(s);
413
+ u && V(a);
408
414
  }
409
415
  };
410
416
  };
411
417
  };
412
418
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
413
419
  return;
414
- const r = {}, i = Kr(this);
420
+ const r = {}, i = ii(this);
415
421
  for (const o of this.$$s)
416
422
  o in i && (r[o] = [t(o)]);
417
423
  for (const o of this.attributes) {
418
- const s = this.$$g_p(o.name);
419
- s in this.$$d || (this.$$d[s] = Te(s, o.value, this.$$p_d, "toProp"));
424
+ const a = this.$$g_p(o.name);
425
+ a in this.$$d || (this.$$d[a] = Te(a, o.value, this.$$p_d, "toProp"));
420
426
  }
421
427
  for (const o in this.$$p_d)
422
428
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
423
429
  this.$$c = new this.$$ctor({
424
430
  target: this.shadowRoot || this,
425
- props: dt(be({}, this.$$d), {
431
+ props: bt(be({}, this.$$d), {
426
432
  $$slots: r,
427
433
  $$scope: {
428
434
  ctx: []
@@ -433,21 +439,21 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
433
439
  this.$$r = !0;
434
440
  for (const o in this.$$p_d)
435
441
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
436
- const s = Te(
442
+ const a = Te(
437
443
  o,
438
444
  this.$$d[o],
439
445
  this.$$p_d,
440
446
  "toAttribute"
441
447
  );
442
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
448
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
443
449
  }
444
450
  this.$$r = !1;
445
451
  };
446
452
  this.$$c.$$.after_update.push(n), n();
447
453
  for (const o in this.$$l)
448
- for (const s of this.$$l[o]) {
449
- const a = this.$$c.$on(o, s);
450
- this.$$l_u.set(s, a);
454
+ for (const a of this.$$l[o]) {
455
+ const s = this.$$c.$on(o, a);
456
+ this.$$l_u.set(a, s);
451
457
  }
452
458
  this.$$l = {};
453
459
  }
@@ -500,38 +506,38 @@ function Te(e, t, r, i) {
500
506
  return t;
501
507
  }
502
508
  }
503
- function ci(e, t, r, i, n, o) {
504
- let s = class extends Zt {
509
+ function di(e, t, r, i, n, o) {
510
+ let a = class extends Jt {
505
511
  constructor() {
506
512
  super(e, r, n), this.$$p_d = t;
507
513
  }
508
514
  static get observedAttributes() {
509
515
  return Object.keys(t).map(
510
- (a) => (t[a].attribute || a).toLowerCase()
516
+ (s) => (t[s].attribute || s).toLowerCase()
511
517
  );
512
518
  }
513
519
  };
514
- return Object.keys(t).forEach((a) => {
515
- Object.defineProperty(s.prototype, a, {
520
+ return Object.keys(t).forEach((s) => {
521
+ Object.defineProperty(a.prototype, s, {
516
522
  get() {
517
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
523
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
518
524
  },
519
525
  set(l) {
520
526
  var u;
521
- l = Te(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
527
+ l = Te(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
522
528
  }
523
529
  });
524
- }), i.forEach((a) => {
525
- Object.defineProperty(s.prototype, a, {
530
+ }), i.forEach((s) => {
531
+ Object.defineProperty(a.prototype, s, {
526
532
  get() {
527
533
  var l;
528
- return (l = this.$$c) == null ? void 0 : l[a];
534
+ return (l = this.$$c) == null ? void 0 : l[s];
529
535
  }
530
536
  });
531
537
  }), e.element = /** @type {any} */
532
- s, s;
538
+ a, a;
533
539
  }
534
- class fi {
540
+ class yi {
535
541
  constructor() {
536
542
  /**
537
543
  * ### PRIVATE API
@@ -552,7 +558,7 @@ class fi {
552
558
  }
553
559
  /** @returns {void} */
554
560
  $destroy() {
555
- ui(this, 1), this.$destroy = B;
561
+ fi(this, 1), this.$destroy = B;
556
562
  }
557
563
  /**
558
564
  * @template {Extract<keyof Events, string>} K
@@ -561,7 +567,7 @@ class fi {
561
567
  * @returns {() => void}
562
568
  */
563
569
  $on(t, r) {
564
- if (!ht(r))
570
+ if (!ct(r))
565
571
  return B;
566
572
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
567
573
  return i.push(r), () => {
@@ -574,22 +580,37 @@ class fi {
574
580
  * @returns {void}
575
581
  */
576
582
  $set(t) {
577
- this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
583
+ this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
578
584
  }
579
585
  }
580
- const mi = "4";
581
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mi);
582
- var Je = function(e, t) {
583
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
586
+ const gi = "4";
587
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gi);
588
+ /*! *****************************************************************************
589
+ Copyright (c) Microsoft Corporation.
590
+
591
+ Permission to use, copy, modify, and/or distribute this software for any
592
+ purpose with or without fee is hereby granted.
593
+
594
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
595
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
596
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
597
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
598
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
599
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
600
+ PERFORMANCE OF THIS SOFTWARE.
601
+ ***************************************************************************** */
602
+ var qe = function(e, t) {
603
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
584
604
  r.__proto__ = i;
585
605
  } || function(r, i) {
586
- for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
587
- }, Je(e, t);
606
+ for (var n in i)
607
+ Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
608
+ }, qe(e, t);
588
609
  };
589
610
  function F(e, t) {
590
611
  if (typeof t != "function" && t !== null)
591
612
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
592
- Je(e, t);
613
+ qe(e, t);
593
614
  function r() {
594
615
  this.constructor = e;
595
616
  }
@@ -599,61 +620,69 @@ var E = function() {
599
620
  return E = Object.assign || function(t) {
600
621
  for (var r, i = 1, n = arguments.length; i < n; i++) {
601
622
  r = arguments[i];
602
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
623
+ for (var o in r)
624
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
603
625
  }
604
626
  return t;
605
627
  }, E.apply(this, arguments);
606
628
  };
607
- function pi(e, t) {
629
+ function bi(e, t) {
608
630
  var r = {};
609
- for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
631
+ for (var i in e)
632
+ Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
610
633
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
611
634
  for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
612
635
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
613
636
  return r;
614
637
  }
615
- function qe(e) {
638
+ function Ke(e) {
616
639
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
617
- if (r) return r.call(e);
618
- if (e && typeof e.length == "number") return {
619
- next: function() {
620
- return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
621
- }
622
- };
640
+ if (r)
641
+ return r.call(e);
642
+ if (e && typeof e.length == "number")
643
+ return {
644
+ next: function() {
645
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
646
+ }
647
+ };
623
648
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
624
649
  }
625
- function Ke(e, t) {
650
+ function et(e, t) {
626
651
  var r = typeof Symbol == "function" && e[Symbol.iterator];
627
- if (!r) return e;
628
- var i = r.call(e), n, o = [], s;
652
+ if (!r)
653
+ return e;
654
+ var i = r.call(e), n, o = [], a;
629
655
  try {
630
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; ) o.push(n.value);
631
- } catch (a) {
632
- s = { error: a };
656
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
657
+ o.push(n.value);
658
+ } catch (s) {
659
+ a = { error: s };
633
660
  } finally {
634
661
  try {
635
662
  n && !n.done && (r = i.return) && r.call(i);
636
663
  } finally {
637
- if (s) throw s.error;
664
+ if (a)
665
+ throw a.error;
638
666
  }
639
667
  }
640
668
  return o;
641
669
  }
642
670
  function K(e, t, r) {
643
- if (r || arguments.length === 2) for (var i = 0, n = t.length, o; i < n; i++)
644
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
645
- return e.concat(o || Array.prototype.slice.call(t));
671
+ if (r || arguments.length === 2)
672
+ for (var i = 0, n = t.length, o; i < n; i++)
673
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
674
+ return e.concat(o || t);
646
675
  }
647
676
  function G(e) {
648
677
  return typeof e == "function";
649
678
  }
650
- function Qt(e) {
679
+ function qt(e) {
651
680
  var t = function(i) {
652
681
  Error.call(i), i.stack = new Error().stack;
653
682
  }, r = e(t);
654
683
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
655
684
  }
656
- var Fe = Qt(function(e) {
685
+ var Fe = qt(function(e) {
657
686
  return function(r) {
658
687
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
659
688
  ` + r.map(function(i, n) {
@@ -662,7 +691,7 @@ var Fe = Qt(function(e) {
662
691
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
663
692
  };
664
693
  });
665
- function et(e, t) {
694
+ function tt(e, t) {
666
695
  if (e) {
667
696
  var r = e.indexOf(t);
668
697
  0 <= r && e.splice(r, 1);
@@ -676,11 +705,11 @@ var Ie = function() {
676
705
  var t, r, i, n, o;
677
706
  if (!this.closed) {
678
707
  this.closed = !0;
679
- var s = this._parentage;
680
- if (s)
681
- if (this._parentage = null, Array.isArray(s))
708
+ var a = this._parentage;
709
+ if (a)
710
+ if (this._parentage = null, Array.isArray(a))
682
711
  try {
683
- for (var a = qe(s), l = a.next(); !l.done; l = a.next()) {
712
+ for (var s = Ke(a), l = s.next(); !l.done; l = s.next()) {
684
713
  var u = l.value;
685
714
  u.remove(this);
686
715
  }
@@ -688,13 +717,14 @@ var Ie = function() {
688
717
  t = { error: d };
689
718
  } finally {
690
719
  try {
691
- l && !l.done && (r = a.return) && r.call(a);
720
+ l && !l.done && (r = s.return) && r.call(s);
692
721
  } finally {
693
- if (t) throw t.error;
722
+ if (t)
723
+ throw t.error;
694
724
  }
695
725
  }
696
726
  else
697
- s.remove(this);
727
+ a.remove(this);
698
728
  var h = this.initialTeardown;
699
729
  if (G(h))
700
730
  try {
@@ -706,12 +736,12 @@ var Ie = function() {
706
736
  if (c) {
707
737
  this._finalizers = null;
708
738
  try {
709
- for (var f = qe(c), p = f.next(); !p.done; p = f.next()) {
739
+ for (var f = Ke(c), p = f.next(); !p.done; p = f.next()) {
710
740
  var y = p.value;
711
741
  try {
712
- Et(y);
742
+ Lt(y);
713
743
  } catch (d) {
714
- o = o != null ? o : [], d instanceof Fe ? o = K(K([], Ke(o)), Ke(d.errors)) : o.push(d);
744
+ o = o != null ? o : [], d instanceof Fe ? o = K(K([], et(o)), et(d.errors)) : o.push(d);
715
745
  }
716
746
  }
717
747
  } catch (d) {
@@ -720,7 +750,8 @@ var Ie = function() {
720
750
  try {
721
751
  p && !p.done && (n = f.return) && n.call(f);
722
752
  } finally {
723
- if (i) throw i.error;
753
+ if (i)
754
+ throw i.error;
724
755
  }
725
756
  }
726
757
  }
@@ -731,7 +762,7 @@ var Ie = function() {
731
762
  var r;
732
763
  if (t && t !== this)
733
764
  if (this.closed)
734
- Et(t);
765
+ Lt(t);
735
766
  else {
736
767
  if (t instanceof e) {
737
768
  if (t.closed || t._hasParent(this))
@@ -748,52 +779,56 @@ var Ie = function() {
748
779
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
749
780
  }, e.prototype._removeParent = function(t) {
750
781
  var r = this._parentage;
751
- r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
782
+ r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
752
783
  }, e.prototype.remove = function(t) {
753
784
  var r = this._finalizers;
754
- r && et(r, t), t instanceof e && t._removeParent(this);
785
+ r && tt(r, t), t instanceof e && t._removeParent(this);
755
786
  }, e.EMPTY = function() {
756
787
  var t = new e();
757
788
  return t.closed = !0, t;
758
789
  }(), e;
759
- }(), Yt = Ie.EMPTY;
760
- function Jt(e) {
790
+ }(), Kt = Ie.EMPTY;
791
+ function er(e) {
761
792
  return e instanceof Ie || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
762
793
  }
763
- function Et(e) {
794
+ function Lt(e) {
764
795
  G(e) ? e() : e.unsubscribe();
765
796
  }
766
- var di = {
767
- Promise: void 0
768
- }, yi = {
797
+ var tr = {
798
+ onUnhandledError: null,
799
+ onStoppedNotification: null,
800
+ Promise: void 0,
801
+ useDeprecatedSynchronousErrorHandling: !1,
802
+ useDeprecatedNextContext: !1
803
+ }, vi = {
769
804
  setTimeout: function(e, t) {
770
805
  for (var r = [], i = 2; i < arguments.length; i++)
771
806
  r[i - 2] = arguments[i];
772
- return setTimeout.apply(void 0, K([e, t], Ke(r)));
807
+ return setTimeout.apply(void 0, K([e, t], et(r)));
773
808
  },
774
809
  clearTimeout: function(e) {
775
810
  return clearTimeout(e);
776
811
  },
777
812
  delegate: void 0
778
813
  };
779
- function gi(e) {
780
- yi.setTimeout(function() {
814
+ function _i(e) {
815
+ vi.setTimeout(function() {
781
816
  throw e;
782
817
  });
783
818
  }
784
- function xt() {
819
+ function St() {
785
820
  }
786
821
  function Le(e) {
787
822
  e();
788
823
  }
789
- var qt = function(e) {
824
+ var rr = function(e) {
790
825
  F(t, e);
791
826
  function t(r) {
792
827
  var i = e.call(this) || this;
793
- return i.isStopped = !1, r ? (i.destination = r, Jt(r) && r.add(i)) : i.destination = _i, i;
828
+ return i.isStopped = !1, r ? (i.destination = r, er(r) && r.add(i)) : i.destination = Li, i;
794
829
  }
795
830
  return t.create = function(r, i, n) {
796
- return new tt(r, i, n);
831
+ return new rt(r, i, n);
797
832
  }, t.prototype.next = function(r) {
798
833
  this.isStopped || this._next(r);
799
834
  }, t.prototype.error = function(r) {
@@ -817,7 +852,11 @@ var qt = function(e) {
817
852
  this.unsubscribe();
818
853
  }
819
854
  }, t;
820
- }(Ie), bi = function() {
855
+ }(Ie), Ei = Function.prototype.bind;
856
+ function je(e, t) {
857
+ return Ei.call(e, t);
858
+ }
859
+ var xi = function() {
821
860
  function e(t) {
822
861
  this.partialObserver = t;
823
862
  }
@@ -848,43 +887,55 @@ var qt = function(e) {
848
887
  _e(r);
849
888
  }
850
889
  }, e;
851
- }(), tt = function(e) {
890
+ }(), rt = function(e) {
852
891
  F(t, e);
853
892
  function t(r, i, n) {
854
- var o = e.call(this) || this, s;
855
- return G(r) || !r ? s = {
856
- next: r != null ? r : void 0,
857
- error: i != null ? i : void 0,
858
- complete: n != null ? n : void 0
859
- } : s = r, o.destination = new bi(s), o;
893
+ var o = e.call(this) || this, a;
894
+ if (G(r) || !r)
895
+ a = {
896
+ next: r != null ? r : void 0,
897
+ error: i != null ? i : void 0,
898
+ complete: n != null ? n : void 0
899
+ };
900
+ else {
901
+ var s;
902
+ o && tr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
903
+ return o.unsubscribe();
904
+ }, a = {
905
+ next: r.next && je(r.next, s),
906
+ error: r.error && je(r.error, s),
907
+ complete: r.complete && je(r.complete, s)
908
+ }) : a = r;
909
+ }
910
+ return o.destination = new xi(a), o;
860
911
  }
861
912
  return t;
862
- }(qt);
913
+ }(rr);
863
914
  function _e(e) {
864
- gi(e);
915
+ _i(e);
865
916
  }
866
- function vi(e) {
917
+ function Ti(e) {
867
918
  throw e;
868
919
  }
869
- var _i = {
920
+ var Li = {
870
921
  closed: !0,
871
- next: xt,
872
- error: vi,
873
- complete: xt
874
- }, Ei = function() {
922
+ next: St,
923
+ error: Ti,
924
+ complete: St
925
+ }, Si = function() {
875
926
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
876
927
  }();
877
- function xi(e) {
928
+ function wi(e) {
878
929
  return e;
879
930
  }
880
- function Ti(e) {
881
- return e.length === 0 ? xi : e.length === 1 ? e[0] : function(r) {
931
+ function Ai(e) {
932
+ return e.length === 0 ? wi : e.length === 1 ? e[0] : function(r) {
882
933
  return e.reduce(function(i, n) {
883
934
  return n(i);
884
935
  }, r);
885
936
  };
886
937
  }
887
- var Tt = function() {
938
+ var wt = function() {
888
939
  function e(t) {
889
940
  t && (this._subscribe = t);
890
941
  }
@@ -892,10 +943,10 @@ var Tt = function() {
892
943
  var r = new e();
893
944
  return r.source = this, r.operator = t, r;
894
945
  }, e.prototype.subscribe = function(t, r, i) {
895
- var n = this, o = Si(t) ? t : new tt(t, r, i);
946
+ var n = this, o = Hi(t) ? t : new rt(t, r, i);
896
947
  return Le(function() {
897
- var s = n, a = s.operator, l = s.source;
898
- o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
948
+ var a = n, s = a.operator, l = a.source;
949
+ o.add(s ? s.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
899
950
  }), o;
900
951
  }, e.prototype._trySubscribe = function(t) {
901
952
  try {
@@ -905,37 +956,37 @@ var Tt = function() {
905
956
  }
906
957
  }, e.prototype.forEach = function(t, r) {
907
958
  var i = this;
908
- return r = Lt(r), new r(function(n, o) {
909
- var s = new tt({
910
- next: function(a) {
959
+ return r = At(r), new r(function(n, o) {
960
+ var a = new rt({
961
+ next: function(s) {
911
962
  try {
912
- t(a);
963
+ t(s);
913
964
  } catch (l) {
914
- o(l), s.unsubscribe();
965
+ o(l), a.unsubscribe();
915
966
  }
916
967
  },
917
968
  error: o,
918
969
  complete: n
919
970
  });
920
- i.subscribe(s);
971
+ i.subscribe(a);
921
972
  });
922
973
  }, e.prototype._subscribe = function(t) {
923
974
  var r;
924
975
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
925
- }, e.prototype[Ei] = function() {
976
+ }, e.prototype[Si] = function() {
926
977
  return this;
927
978
  }, e.prototype.pipe = function() {
928
979
  for (var t = [], r = 0; r < arguments.length; r++)
929
980
  t[r] = arguments[r];
930
- return Ti(t)(this);
981
+ return Ai(t)(this);
931
982
  }, e.prototype.toPromise = function(t) {
932
983
  var r = this;
933
- return t = Lt(t), new t(function(i, n) {
984
+ return t = At(t), new t(function(i, n) {
934
985
  var o;
935
- r.subscribe(function(s) {
936
- return o = s;
937
- }, function(s) {
938
- return n(s);
986
+ r.subscribe(function(a) {
987
+ return o = a;
988
+ }, function(a) {
989
+ return n(a);
939
990
  }, function() {
940
991
  return i(o);
941
992
  });
@@ -944,32 +995,32 @@ var Tt = function() {
944
995
  return new e(t);
945
996
  }, e;
946
997
  }();
947
- function Lt(e) {
998
+ function At(e) {
948
999
  var t;
949
- return (t = e != null ? e : di.Promise) !== null && t !== void 0 ? t : Promise;
1000
+ return (t = e != null ? e : tr.Promise) !== null && t !== void 0 ? t : Promise;
950
1001
  }
951
- function Li(e) {
1002
+ function Pi(e) {
952
1003
  return e && G(e.next) && G(e.error) && G(e.complete);
953
1004
  }
954
- function Si(e) {
955
- return e && e instanceof qt || Li(e) && Jt(e);
1005
+ function Hi(e) {
1006
+ return e && e instanceof rr || Pi(e) && er(e);
956
1007
  }
957
- var wi = Qt(function(e) {
1008
+ var Ii = qt(function(e) {
958
1009
  return function() {
959
1010
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
960
1011
  };
961
- }), Kt = function(e) {
1012
+ }), ir = function(e) {
962
1013
  F(t, e);
963
1014
  function t() {
964
1015
  var r = e.call(this) || this;
965
1016
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
966
1017
  }
967
1018
  return t.prototype.lift = function(r) {
968
- var i = new St(this, this);
1019
+ var i = new Pt(this, this);
969
1020
  return i.operator = r, i;
970
1021
  }, t.prototype._throwIfClosed = function() {
971
1022
  if (this.closed)
972
- throw new wi();
1023
+ throw new Ii();
973
1024
  }, t.prototype.next = function(r) {
974
1025
  var i = this;
975
1026
  Le(function() {
@@ -977,17 +1028,18 @@ var wi = Qt(function(e) {
977
1028
  if (i._throwIfClosed(), !i.isStopped) {
978
1029
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
979
1030
  try {
980
- for (var s = qe(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
981
- var l = a.value;
1031
+ for (var a = Ke(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
1032
+ var l = s.value;
982
1033
  l.next(r);
983
1034
  }
984
1035
  } catch (u) {
985
1036
  n = { error: u };
986
1037
  } finally {
987
1038
  try {
988
- a && !a.done && (o = s.return) && o.call(s);
1039
+ s && !s.done && (o = a.return) && o.call(a);
989
1040
  } finally {
990
- if (n) throw n.error;
1041
+ if (n)
1042
+ throw n.error;
991
1043
  }
992
1044
  }
993
1045
  }
@@ -1024,20 +1076,20 @@ var wi = Qt(function(e) {
1024
1076
  }, t.prototype._subscribe = function(r) {
1025
1077
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1026
1078
  }, t.prototype._innerSubscribe = function(r) {
1027
- var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
1028
- return o || s ? Yt : (this.currentObservers = null, a.push(r), new Ie(function() {
1029
- i.currentObservers = null, et(a, r);
1079
+ var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
1080
+ return o || a ? Kt : (this.currentObservers = null, s.push(r), new Ie(function() {
1081
+ i.currentObservers = null, tt(s, r);
1030
1082
  }));
1031
1083
  }, t.prototype._checkFinalizedStatuses = function(r) {
1032
- var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
1033
- n ? r.error(o) : s && r.complete();
1084
+ var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
1085
+ n ? r.error(o) : a && r.complete();
1034
1086
  }, t.prototype.asObservable = function() {
1035
- var r = new Tt();
1087
+ var r = new wt();
1036
1088
  return r.source = this, r;
1037
1089
  }, t.create = function(r, i) {
1038
- return new St(r, i);
1090
+ return new Pt(r, i);
1039
1091
  }, t;
1040
- }(Tt), St = function(e) {
1092
+ }(wt), Pt = function(e) {
1041
1093
  F(t, e);
1042
1094
  function t(r, i) {
1043
1095
  var n = e.call(this) || this;
@@ -1054,45 +1106,45 @@ var wi = Qt(function(e) {
1054
1106
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
1055
1107
  }, t.prototype._subscribe = function(r) {
1056
1108
  var i, n;
1057
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Yt;
1109
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Kt;
1058
1110
  }, t;
1059
- }(Kt), er = {
1111
+ }(ir), nr = {
1060
1112
  now: function() {
1061
- return (er.delegate || Date).now();
1113
+ return (nr.delegate || Date).now();
1062
1114
  },
1063
1115
  delegate: void 0
1064
- }, Ai = function(e) {
1116
+ }, Bi = function(e) {
1065
1117
  F(t, e);
1066
1118
  function t(r, i, n) {
1067
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = er);
1119
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = nr);
1068
1120
  var o = e.call(this) || this;
1069
1121
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
1070
1122
  }
1071
1123
  return t.prototype.next = function(r) {
1072
- var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
1073
- n || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1124
+ var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, l = i._windowTime;
1125
+ n || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1074
1126
  }, t.prototype._subscribe = function(r) {
1075
1127
  this._throwIfClosed(), this._trimBuffer();
1076
- 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)
1077
- r.next(a[l]);
1128
+ for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1129
+ r.next(s[l]);
1078
1130
  return this._checkFinalizedStatuses(r), i;
1079
1131
  }, t.prototype._trimBuffer = function() {
1080
- var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
1081
- if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1132
+ var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
1133
+ if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1082
1134
  for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1083
1135
  u = h;
1084
1136
  u && o.splice(0, u + 1);
1085
1137
  }
1086
1138
  }, t;
1087
- }(Kt);
1088
- const wt = [], At = {}, Pi = (e, t = 0) => {
1089
- if (wt.indexOf(e) == -1) {
1090
- const r = new Ai(t);
1091
- At[e] = r, wt.push(e);
1139
+ }(ir);
1140
+ const Ht = [], It = {}, Oi = (e, t = 0) => {
1141
+ if (Ht.indexOf(e) == -1) {
1142
+ const r = new Bi(t);
1143
+ It[e] = r, Ht.push(e);
1092
1144
  }
1093
- return At[e];
1145
+ return It[e];
1094
1146
  }, Y = [];
1095
- function Hi(e, t) {
1147
+ function Ci(e, t) {
1096
1148
  return {
1097
1149
  subscribe: Be(e, t).subscribe
1098
1150
  };
@@ -1100,8 +1152,8 @@ function Hi(e, t) {
1100
1152
  function Be(e, t = B) {
1101
1153
  let r;
1102
1154
  const i = /* @__PURE__ */ new Set();
1103
- function n(a) {
1104
- if (Wt(e, a) && (e = a, r)) {
1155
+ function n(s) {
1156
+ if (Zt(e, s) && (e = s, r)) {
1105
1157
  const l = !Y.length;
1106
1158
  for (const u of i)
1107
1159
  u[1](), Y.push(u, e);
@@ -1112,23 +1164,23 @@ function Be(e, t = B) {
1112
1164
  }
1113
1165
  }
1114
1166
  }
1115
- function o(a) {
1116
- n(a(e));
1167
+ function o(s) {
1168
+ n(s(e));
1117
1169
  }
1118
- function s(a, l = B) {
1119
- const u = [a, l];
1120
- return i.add(u), i.size === 1 && (r = t(n, o) || B), a(e), () => {
1170
+ function a(s, l = B) {
1171
+ const u = [s, l];
1172
+ return i.add(u), i.size === 1 && (r = t(n, o) || B), s(e), () => {
1121
1173
  i.delete(u), i.size === 0 && r && (r(), r = null);
1122
1174
  };
1123
1175
  }
1124
- return { set: n, update: o, subscribe: s };
1176
+ return { set: n, update: o, subscribe: a };
1125
1177
  }
1126
1178
  function oe(e, t, r) {
1127
1179
  const i = !Array.isArray(e), n = i ? [e] : e;
1128
1180
  if (!n.every(Boolean))
1129
1181
  throw new Error("derived() expects stores as input, got a falsy value");
1130
1182
  const o = t.length < 2;
1131
- return Hi(r, (s, a) => {
1183
+ return Ci(r, (a, s) => {
1132
1184
  let l = !1;
1133
1185
  const u = [];
1134
1186
  let h = 0, c = B;
@@ -1136,10 +1188,10 @@ function oe(e, t, r) {
1136
1188
  if (h)
1137
1189
  return;
1138
1190
  c();
1139
- const y = t(i ? u[0] : u, s, a);
1140
- o ? s(y) : c = ht(y) ? y : B;
1191
+ const y = t(i ? u[0] : u, a, s);
1192
+ o ? a(y) : c = ct(y) ? y : B;
1141
1193
  }, p = n.map(
1142
- (y, d) => Xt(
1194
+ (y, d) => Qt(
1143
1195
  y,
1144
1196
  (v) => {
1145
1197
  u[d] = v, h &= ~(1 << d), l && f();
@@ -1154,70 +1206,70 @@ function oe(e, t, r) {
1154
1206
  };
1155
1207
  });
1156
1208
  }
1157
- function Ii(e) {
1209
+ function Ni(e) {
1158
1210
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1159
1211
  }
1160
- var Bi = function(t) {
1161
- return Oi(t) && !Ci(t);
1212
+ var Ri = function(t) {
1213
+ return Mi(t) && !Di(t);
1162
1214
  };
1163
- function Oi(e) {
1215
+ function Mi(e) {
1164
1216
  return !!e && typeof e == "object";
1165
1217
  }
1166
- function Ci(e) {
1218
+ function Di(e) {
1167
1219
  var t = Object.prototype.toString.call(e);
1168
- return t === "[object RegExp]" || t === "[object Date]" || Mi(e);
1220
+ return t === "[object RegExp]" || t === "[object Date]" || Gi(e);
1169
1221
  }
1170
- var Ni = typeof Symbol == "function" && Symbol.for, Ri = Ni ? Symbol.for("react.element") : 60103;
1171
- function Mi(e) {
1172
- return e.$$typeof === Ri;
1222
+ var Ui = typeof Symbol == "function" && Symbol.for, $i = Ui ? Symbol.for("react.element") : 60103;
1223
+ function Gi(e) {
1224
+ return e.$$typeof === $i;
1173
1225
  }
1174
- function Di(e) {
1226
+ function Fi(e) {
1175
1227
  return Array.isArray(e) ? [] : {};
1176
1228
  }
1177
1229
  function fe(e, t) {
1178
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Di(e), e, t) : e;
1230
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Fi(e), e, t) : e;
1179
1231
  }
1180
- function Ui(e, t, r) {
1232
+ function ji(e, t, r) {
1181
1233
  return e.concat(t).map(function(i) {
1182
1234
  return fe(i, r);
1183
1235
  });
1184
1236
  }
1185
- function $i(e, t) {
1237
+ function ki(e, t) {
1186
1238
  if (!t.customMerge)
1187
1239
  return ee;
1188
1240
  var r = t.customMerge(e);
1189
1241
  return typeof r == "function" ? r : ee;
1190
1242
  }
1191
- function Gi(e) {
1243
+ function Vi(e) {
1192
1244
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1193
1245
  return Object.propertyIsEnumerable.call(e, t);
1194
1246
  }) : [];
1195
1247
  }
1196
- function Pt(e) {
1197
- return Object.keys(e).concat(Gi(e));
1248
+ function Bt(e) {
1249
+ return Object.keys(e).concat(Vi(e));
1198
1250
  }
1199
- function tr(e, t) {
1251
+ function or(e, t) {
1200
1252
  try {
1201
1253
  return t in e;
1202
1254
  } catch (r) {
1203
1255
  return !1;
1204
1256
  }
1205
1257
  }
1206
- function Fi(e, t) {
1207
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1258
+ function Wi(e, t) {
1259
+ return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1208
1260
  }
1209
- function ji(e, t, r) {
1261
+ function Xi(e, t, r) {
1210
1262
  var i = {};
1211
- return r.isMergeableObject(e) && Pt(e).forEach(function(n) {
1263
+ return r.isMergeableObject(e) && Bt(e).forEach(function(n) {
1212
1264
  i[n] = fe(e[n], r);
1213
- }), Pt(t).forEach(function(n) {
1214
- Fi(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = $i(n, r)(e[n], t[n], r) : i[n] = fe(t[n], r));
1265
+ }), Bt(t).forEach(function(n) {
1266
+ Wi(e, n) || (or(e, n) && r.isMergeableObject(t[n]) ? i[n] = ki(n, r)(e[n], t[n], r) : i[n] = fe(t[n], r));
1215
1267
  }), i;
1216
1268
  }
1217
1269
  function ee(e, t, r) {
1218
- r = r || {}, r.arrayMerge = r.arrayMerge || Ui, r.isMergeableObject = r.isMergeableObject || Bi, r.cloneUnlessOtherwiseSpecified = fe;
1270
+ r = r || {}, r.arrayMerge = r.arrayMerge || ji, r.isMergeableObject = r.isMergeableObject || Ri, r.cloneUnlessOtherwiseSpecified = fe;
1219
1271
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1220
- return o ? i ? r.arrayMerge(e, t, r) : ji(e, t, r) : fe(t, r);
1272
+ return o ? i ? r.arrayMerge(e, t, r) : Xi(e, t, r) : fe(t, r);
1221
1273
  }
1222
1274
  ee.all = function(t, r) {
1223
1275
  if (!Array.isArray(t))
@@ -1226,56 +1278,58 @@ ee.all = function(t, r) {
1226
1278
  return ee(i, n, r);
1227
1279
  }, {});
1228
1280
  };
1229
- var ki = ee, Vi = ki;
1230
- const Wi = /* @__PURE__ */ Ii(Vi);
1231
- function je(e, t) {
1232
- var r = t && t.cache ? t.cache : qi, i = t && t.serializer ? t.serializer : Yi, n = t && t.strategy ? t.strategy : Zi;
1281
+ var zi = ee, Zi = zi;
1282
+ const Qi = /* @__PURE__ */ Ni(Zi);
1283
+ function ke(e, t) {
1284
+ var r = t && t.cache ? t.cache : tn, i = t && t.serializer ? t.serializer : en, n = t && t.strategy ? t.strategy : Ji;
1233
1285
  return n(e, {
1234
1286
  cache: r,
1235
1287
  serializer: i
1236
1288
  });
1237
1289
  }
1238
- function Xi(e) {
1290
+ function Yi(e) {
1239
1291
  return e == null || typeof e == "number" || typeof e == "boolean";
1240
1292
  }
1241
- function zi(e, t, r, i) {
1242
- var n = Xi(i) ? i : r(i), o = t.get(n);
1293
+ function sr(e, t, r, i) {
1294
+ var n = Yi(i) ? i : r(i), o = t.get(n);
1243
1295
  return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
1244
1296
  }
1245
- function rr(e, t, r) {
1297
+ function ar(e, t, r) {
1246
1298
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1247
1299
  return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
1248
1300
  }
1249
- function ir(e, t, r, i, n) {
1301
+ function ft(e, t, r, i, n) {
1250
1302
  return r.bind(t, e, i, n);
1251
1303
  }
1252
- function Zi(e, t) {
1253
- var r = e.length === 1 ? zi : rr;
1254
- return ir(e, this, r, t.cache.create(), t.serializer);
1304
+ function Ji(e, t) {
1305
+ var r = e.length === 1 ? sr : ar;
1306
+ return ft(e, this, r, t.cache.create(), t.serializer);
1307
+ }
1308
+ function qi(e, t) {
1309
+ return ft(e, this, ar, t.cache.create(), t.serializer);
1255
1310
  }
1256
- function Qi(e, t) {
1257
- return ir(e, this, rr, t.cache.create(), t.serializer);
1311
+ function Ki(e, t) {
1312
+ return ft(e, this, sr, t.cache.create(), t.serializer);
1258
1313
  }
1259
- var Yi = function() {
1314
+ var en = function() {
1260
1315
  return JSON.stringify(arguments);
1261
- }, Ji = (
1262
- /** @class */
1263
- function() {
1264
- function e() {
1265
- this.cache = /* @__PURE__ */ Object.create(null);
1266
- }
1267
- return e.prototype.get = function(t) {
1268
- return this.cache[t];
1269
- }, e.prototype.set = function(t, r) {
1270
- this.cache[t] = r;
1271
- }, e;
1272
- }()
1273
- ), qi = {
1316
+ };
1317
+ function mt() {
1318
+ this.cache = /* @__PURE__ */ Object.create(null);
1319
+ }
1320
+ mt.prototype.get = function(e) {
1321
+ return this.cache[e];
1322
+ };
1323
+ mt.prototype.set = function(e, t) {
1324
+ this.cache[e] = t;
1325
+ };
1326
+ var tn = {
1274
1327
  create: function() {
1275
- return new Ji();
1328
+ return new mt();
1276
1329
  }
1277
- }, ke = {
1278
- variadic: Qi
1330
+ }, Ve = {
1331
+ variadic: qi,
1332
+ monadic: Ki
1279
1333
  }, b;
1280
1334
  (function(e) {
1281
1335
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1288,43 +1342,43 @@ var te;
1288
1342
  (function(e) {
1289
1343
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1290
1344
  })(te || (te = {}));
1291
- function Ht(e) {
1345
+ function Ot(e) {
1292
1346
  return e.type === S.literal;
1293
1347
  }
1294
- function Ki(e) {
1348
+ function rn(e) {
1295
1349
  return e.type === S.argument;
1296
1350
  }
1297
- function nr(e) {
1351
+ function ur(e) {
1298
1352
  return e.type === S.number;
1299
1353
  }
1300
- function or(e) {
1354
+ function lr(e) {
1301
1355
  return e.type === S.date;
1302
1356
  }
1303
- function sr(e) {
1357
+ function hr(e) {
1304
1358
  return e.type === S.time;
1305
1359
  }
1306
- function ar(e) {
1360
+ function cr(e) {
1307
1361
  return e.type === S.select;
1308
1362
  }
1309
- function ur(e) {
1363
+ function fr(e) {
1310
1364
  return e.type === S.plural;
1311
1365
  }
1312
- function en(e) {
1366
+ function nn(e) {
1313
1367
  return e.type === S.pound;
1314
1368
  }
1315
- function lr(e) {
1369
+ function mr(e) {
1316
1370
  return e.type === S.tag;
1317
1371
  }
1318
- function hr(e) {
1372
+ function pr(e) {
1319
1373
  return !!(e && typeof e == "object" && e.type === te.number);
1320
1374
  }
1321
- function rt(e) {
1375
+ function it(e) {
1322
1376
  return !!(e && typeof e == "object" && e.type === te.dateTime);
1323
1377
  }
1324
- 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;
1325
- function rn(e) {
1378
+ var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1379
+ function sn(e) {
1326
1380
  var t = {};
1327
- return e.replace(tn, function(r) {
1381
+ return e.replace(on, function(r) {
1328
1382
  var i = r.length;
1329
1383
  switch (r[0]) {
1330
1384
  case "G":
@@ -1413,36 +1467,36 @@ function rn(e) {
1413
1467
  return "";
1414
1468
  }), t;
1415
1469
  }
1416
- var nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1417
- function on(e) {
1470
+ var an = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1471
+ function un(e) {
1418
1472
  if (e.length === 0)
1419
1473
  throw new Error("Number skeleton cannot be empty");
1420
- for (var t = e.split(nn).filter(function(f) {
1474
+ for (var t = e.split(an).filter(function(f) {
1421
1475
  return f.length > 0;
1422
1476
  }), r = [], i = 0, n = t; i < n.length; i++) {
1423
- var o = n[i], s = o.split("/");
1424
- if (s.length === 0)
1477
+ var o = n[i], a = o.split("/");
1478
+ if (a.length === 0)
1425
1479
  throw new Error("Invalid number skeleton");
1426
- for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1480
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1427
1481
  var c = h[u];
1428
1482
  if (c.length === 0)
1429
1483
  throw new Error("Invalid number skeleton");
1430
1484
  }
1431
- r.push({ stem: a, options: l });
1485
+ r.push({ stem: s, options: l });
1432
1486
  }
1433
1487
  return r;
1434
1488
  }
1435
- function sn(e) {
1489
+ function ln(e) {
1436
1490
  return e.replace(/^(.*?)-/, "");
1437
1491
  }
1438
- var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, an = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1439
- function Bt(e) {
1492
+ var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, hn = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
1493
+ function Nt(e) {
1440
1494
  var t = {};
1441
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
1495
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, i, n) {
1442
1496
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
1443
1497
  }), t;
1444
1498
  }
1445
- function pr(e) {
1499
+ function br(e) {
1446
1500
  switch (e) {
1447
1501
  case "sign-auto":
1448
1502
  return {
@@ -1482,7 +1536,7 @@ function pr(e) {
1482
1536
  };
1483
1537
  }
1484
1538
  }
1485
- function un(e) {
1539
+ function cn(e) {
1486
1540
  var t;
1487
1541
  if (e[0] === "E" && e[1] === "E" ? (t = {
1488
1542
  notation: "engineering"
@@ -1490,17 +1544,17 @@ function un(e) {
1490
1544
  notation: "scientific"
1491
1545
  }, e = e.slice(1)), t) {
1492
1546
  var r = e.slice(0, 2);
1493
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1547
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
1494
1548
  throw new Error("Malformed concise eng/scientific notation");
1495
1549
  t.minimumIntegerDigits = e.length;
1496
1550
  }
1497
1551
  return t;
1498
1552
  }
1499
- function Ot(e) {
1500
- var t = {}, r = pr(e);
1553
+ function Rt(e) {
1554
+ var t = {}, r = br(e);
1501
1555
  return r || t;
1502
1556
  }
1503
- function ln(e) {
1557
+ function fn(e) {
1504
1558
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1505
1559
  var n = i[r];
1506
1560
  switch (n.stem) {
@@ -1524,7 +1578,7 @@ function ln(e) {
1524
1578
  continue;
1525
1579
  case "measure-unit":
1526
1580
  case "unit":
1527
- t.style = "unit", t.unit = sn(n.options[0]);
1581
+ t.style = "unit", t.unit = ln(n.options[0]);
1528
1582
  continue;
1529
1583
  case "compact-short":
1530
1584
  case "K":
@@ -1536,12 +1590,12 @@ function ln(e) {
1536
1590
  continue;
1537
1591
  case "scientific":
1538
1592
  t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1539
- return E(E({}, l), Ot(u));
1593
+ return E(E({}, l), Rt(u));
1540
1594
  }, {}));
1541
1595
  continue;
1542
1596
  case "engineering":
1543
1597
  t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1544
- return E(E({}, l), Ot(u));
1598
+ return E(E({}, l), Rt(u));
1545
1599
  }, {}));
1546
1600
  continue;
1547
1601
  case "notation-simple":
@@ -1586,7 +1640,7 @@ function ln(e) {
1586
1640
  case "integer-width":
1587
1641
  if (n.options.length > 1)
1588
1642
  throw new RangeError("integer-width stems only accept a single optional option");
1589
- n.options[0].replace(an, function(l, u, h, c, f, p) {
1643
+ n.options[0].replace(hn, function(l, u, h, c, f, p) {
1590
1644
  if (u)
1591
1645
  t.minimumIntegerDigits = h.length;
1592
1646
  else {
@@ -1599,28 +1653,28 @@ function ln(e) {
1599
1653
  });
1600
1654
  continue;
1601
1655
  }
1602
- if (mr.test(n.stem)) {
1656
+ if (gr.test(n.stem)) {
1603
1657
  t.minimumIntegerDigits = n.stem.length;
1604
1658
  continue;
1605
1659
  }
1606
- if (It.test(n.stem)) {
1660
+ if (Ct.test(n.stem)) {
1607
1661
  if (n.options.length > 1)
1608
1662
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1609
- n.stem.replace(It, function(l, u, h, c, f, p) {
1663
+ n.stem.replace(Ct, function(l, u, h, c, f, p) {
1610
1664
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1611
1665
  });
1612
1666
  var o = n.options[0];
1613
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Bt(o)));
1667
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Nt(o)));
1614
1668
  continue;
1615
1669
  }
1616
- if (fr.test(n.stem)) {
1617
- t = E(E({}, t), Bt(n.stem));
1670
+ if (yr.test(n.stem)) {
1671
+ t = E(E({}, t), Nt(n.stem));
1618
1672
  continue;
1619
1673
  }
1620
- var s = pr(n.stem);
1621
- s && (t = E(E({}, t), s));
1622
- var a = un(n.stem);
1674
+ var a = br(n.stem);
1623
1675
  a && (t = E(E({}, t), a));
1676
+ var s = cn(n.stem);
1677
+ s && (t = E(E({}, t), s));
1624
1678
  }
1625
1679
  return t;
1626
1680
  }
@@ -3039,22 +3093,23 @@ var Ee = {
3039
3093
  "h"
3040
3094
  ]
3041
3095
  };
3042
- function hn(e, t) {
3096
+ function mn(e, t) {
3043
3097
  for (var r = "", i = 0; i < e.length; i++) {
3044
3098
  var n = e.charAt(i);
3045
3099
  if (n === "j") {
3046
3100
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3047
3101
  o++, i++;
3048
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = cn(t);
3049
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3102
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = pn(t);
3103
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3050
3104
  r += l;
3051
- for (; s-- > 0; )
3105
+ for (; a-- > 0; )
3052
3106
  r = u + r;
3053
- } else n === "J" ? r += "H" : r += n;
3107
+ } else
3108
+ n === "J" ? r += "H" : r += n;
3054
3109
  }
3055
3110
  return r;
3056
3111
  }
3057
- function cn(e) {
3112
+ function pn(e) {
3058
3113
  var t = e.hourCycle;
3059
3114
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3060
3115
  e.hourCycles && // @ts-ignore
@@ -3076,20 +3131,20 @@ function cn(e) {
3076
3131
  var n = Ee[i || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3077
3132
  return n[0];
3078
3133
  }
3079
- var Ve, fn = new RegExp("^".concat(cr.source, "*")), mn = new RegExp("".concat(cr.source, "*$"));
3134
+ var We, dn = new RegExp("^".concat(dr.source, "*")), yn = new RegExp("".concat(dr.source, "*$"));
3080
3135
  function _(e, t) {
3081
3136
  return { start: e, end: t };
3082
3137
  }
3083
- var pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), dn = !!String.fromCodePoint, yn = !!Object.fromEntries, gn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, vn = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, En = _n ? Number.isSafeInteger : function(e) {
3138
+ var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), bn = !!String.fromCodePoint, vn = !!Object.fromEntries, _n = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, xn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, Ln = Tn ? Number.isSafeInteger : function(e) {
3084
3139
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3085
- }, it = !0;
3140
+ }, nt = !0;
3086
3141
  try {
3087
- var xn = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3088
- it = ((Ve = xn.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
3142
+ var Sn = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3143
+ nt = ((We = Sn.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
3089
3144
  } catch (e) {
3090
- it = !1;
3145
+ nt = !1;
3091
3146
  }
3092
- var Ct = pn ? (
3147
+ var Mt = gn ? (
3093
3148
  // Native
3094
3149
  function(t, r, i) {
3095
3150
  return t.startsWith(r, i);
@@ -3099,31 +3154,31 @@ var Ct = pn ? (
3099
3154
  function(t, r, i) {
3100
3155
  return t.slice(i, i + r.length) === r;
3101
3156
  }
3102
- ), nt = dn ? String.fromCodePoint : (
3157
+ ), ot = bn ? String.fromCodePoint : (
3103
3158
  // IE11
3104
3159
  function() {
3105
3160
  for (var t = [], r = 0; r < arguments.length; r++)
3106
3161
  t[r] = arguments[r];
3107
- for (var i = "", n = t.length, o = 0, s; n > o; ) {
3108
- if (s = t[o++], s > 1114111)
3109
- throw RangeError(s + " is not a valid code point");
3110
- i += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3162
+ for (var i = "", n = t.length, o = 0, a; n > o; ) {
3163
+ if (a = t[o++], a > 1114111)
3164
+ throw RangeError(a + " is not a valid code point");
3165
+ i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3111
3166
  }
3112
3167
  return i;
3113
3168
  }
3114
- ), Nt = (
3169
+ ), Dt = (
3115
3170
  // native
3116
- yn ? Object.fromEntries : (
3171
+ vn ? Object.fromEntries : (
3117
3172
  // Ponyfill
3118
3173
  function(t) {
3119
3174
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
3120
- var o = n[i], s = o[0], a = o[1];
3121
- r[s] = a;
3175
+ var o = n[i], a = o[0], s = o[1];
3176
+ r[a] = s;
3122
3177
  }
3123
3178
  return r;
3124
3179
  }
3125
3180
  )
3126
- ), dr = gn ? (
3181
+ ), vr = _n ? (
3127
3182
  // Native
3128
3183
  function(t, r) {
3129
3184
  return t.codePointAt(r);
@@ -3137,7 +3192,7 @@ var Ct = pn ? (
3137
3192
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3138
3193
  }
3139
3194
  }
3140
- ), Tn = bn ? (
3195
+ ), wn = En ? (
3141
3196
  // Native
3142
3197
  function(t) {
3143
3198
  return t.trimStart();
@@ -3145,9 +3200,9 @@ var Ct = pn ? (
3145
3200
  ) : (
3146
3201
  // Ponyfill
3147
3202
  function(t) {
3148
- return t.replace(fn, "");
3203
+ return t.replace(dn, "");
3149
3204
  }
3150
- ), Ln = vn ? (
3205
+ ), An = xn ? (
3151
3206
  // Native
3152
3207
  function(t) {
3153
3208
  return t.trimEnd();
@@ -3155,32 +3210,32 @@ var Ct = pn ? (
3155
3210
  ) : (
3156
3211
  // Ponyfill
3157
3212
  function(t) {
3158
- return t.replace(mn, "");
3213
+ return t.replace(yn, "");
3159
3214
  }
3160
3215
  );
3161
- function yr(e, t) {
3216
+ function _r(e, t) {
3162
3217
  return new RegExp(e, t);
3163
3218
  }
3164
- var ot;
3165
- if (it) {
3166
- var Rt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3167
- ot = function(t, r) {
3219
+ var st;
3220
+ if (nt) {
3221
+ var Ut = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3222
+ st = function(t, r) {
3168
3223
  var i;
3169
- Rt.lastIndex = r;
3170
- var n = Rt.exec(t);
3224
+ Ut.lastIndex = r;
3225
+ var n = Ut.exec(t);
3171
3226
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3172
3227
  };
3173
3228
  } else
3174
- ot = function(t, r) {
3229
+ st = function(t, r) {
3175
3230
  for (var i = []; ; ) {
3176
- var n = dr(t, r);
3177
- if (n === void 0 || gr(n) || Pn(n))
3231
+ var n = vr(t, r);
3232
+ if (n === void 0 || Er(n) || Bn(n))
3178
3233
  break;
3179
3234
  i.push(n), r += n >= 65536 ? 2 : 1;
3180
3235
  }
3181
- return nt.apply(void 0, i);
3236
+ return ot.apply(void 0, i);
3182
3237
  };
3183
- var Sn = (
3238
+ var Pn = (
3184
3239
  /** @class */
3185
3240
  function() {
3186
3241
  function e(t, r) {
@@ -3194,33 +3249,33 @@ var Sn = (
3194
3249
  for (var n = []; !this.isEOF(); ) {
3195
3250
  var o = this.char();
3196
3251
  if (o === 123) {
3197
- var s = this.parseArgument(t, i);
3198
- if (s.err)
3199
- return s;
3200
- n.push(s.val);
3252
+ var a = this.parseArgument(t, i);
3253
+ if (a.err)
3254
+ return a;
3255
+ n.push(a.val);
3201
3256
  } else {
3202
3257
  if (o === 125 && t > 0)
3203
3258
  break;
3204
3259
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3205
- var a = this.clonePosition();
3260
+ var s = this.clonePosition();
3206
3261
  this.bump(), n.push({
3207
3262
  type: S.pound,
3208
- location: _(a, this.clonePosition())
3263
+ location: _(s, this.clonePosition())
3209
3264
  });
3210
3265
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3211
3266
  if (i)
3212
3267
  break;
3213
3268
  return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3214
- } else if (o === 60 && !this.ignoreTag && st(this.peek() || 0)) {
3215
- var s = this.parseTag(t, r);
3216
- if (s.err)
3217
- return s;
3218
- n.push(s.val);
3269
+ } else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
3270
+ var a = this.parseTag(t, r);
3271
+ if (a.err)
3272
+ return a;
3273
+ n.push(a.val);
3219
3274
  } else {
3220
- var s = this.parseLiteral(t, r);
3221
- if (s.err)
3222
- return s;
3223
- n.push(s.val);
3275
+ var a = this.parseLiteral(t, r);
3276
+ if (a.err)
3277
+ return a;
3278
+ n.push(a.val);
3224
3279
  }
3225
3280
  }
3226
3281
  }
@@ -3242,27 +3297,27 @@ var Sn = (
3242
3297
  var o = this.parseMessage(t + 1, r, !0);
3243
3298
  if (o.err)
3244
3299
  return o;
3245
- var s = o.val, a = this.clonePosition();
3300
+ var a = o.val, s = this.clonePosition();
3246
3301
  if (this.bumpIf("</")) {
3247
- if (this.isEOF() || !st(this.char()))
3248
- return this.error(b.INVALID_TAG, _(a, this.clonePosition()));
3302
+ if (this.isEOF() || !at(this.char()))
3303
+ return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
3249
3304
  var l = this.clonePosition(), u = this.parseTagName();
3250
3305
  return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3251
3306
  val: {
3252
3307
  type: S.tag,
3253
3308
  value: n,
3254
- children: s,
3309
+ children: a,
3255
3310
  location: _(i, this.clonePosition())
3256
3311
  },
3257
3312
  err: null
3258
- } : this.error(b.INVALID_TAG, _(a, this.clonePosition())));
3313
+ } : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
3259
3314
  } else
3260
3315
  return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
3261
3316
  } else
3262
3317
  return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
3263
3318
  }, e.prototype.parseTagName = function() {
3264
3319
  var t = this.offset();
3265
- for (this.bump(); !this.isEOF() && An(this.char()); )
3320
+ for (this.bump(); !this.isEOF() && In(this.char()); )
3266
3321
  this.bump();
3267
3322
  return this.message.slice(t, this.offset());
3268
3323
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3272,16 +3327,16 @@ var Sn = (
3272
3327
  n += o;
3273
3328
  continue;
3274
3329
  }
3275
- var s = this.tryParseUnquoted(t, r);
3276
- if (s) {
3277
- n += s;
3278
- continue;
3279
- }
3280
- var a = this.tryParseLeftAngleBracket();
3330
+ var a = this.tryParseUnquoted(t, r);
3281
3331
  if (a) {
3282
3332
  n += a;
3283
3333
  continue;
3284
3334
  }
3335
+ var s = this.tryParseLeftAngleBracket();
3336
+ if (s) {
3337
+ n += s;
3338
+ continue;
3339
+ }
3285
3340
  break;
3286
3341
  }
3287
3342
  var l = _(i, this.clonePosition());
@@ -3291,7 +3346,7 @@ var Sn = (
3291
3346
  };
3292
3347
  }, e.prototype.tryParseLeftAngleBracket = function() {
3293
3348
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3294
- !wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3349
+ !Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
3295
3350
  }, e.prototype.tryParseQuote = function(t) {
3296
3351
  if (this.isEOF() || this.char() !== 39)
3297
3352
  return null;
@@ -3325,12 +3380,12 @@ var Sn = (
3325
3380
  r.push(i);
3326
3381
  this.bump();
3327
3382
  }
3328
- return nt.apply(void 0, r);
3383
+ return ot.apply(void 0, r);
3329
3384
  }, e.prototype.tryParseUnquoted = function(t, r) {
3330
3385
  if (this.isEOF())
3331
3386
  return null;
3332
3387
  var i = this.char();
3333
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), nt(i));
3388
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ot(i));
3334
3389
  }, e.prototype.parseArgument = function(t, r) {
3335
3390
  var i = this.clonePosition();
3336
3391
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3359,15 +3414,15 @@ var Sn = (
3359
3414
  return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3360
3415
  }
3361
3416
  }, e.prototype.parseIdentifierIfPossible = function() {
3362
- var t = this.clonePosition(), r = this.offset(), i = ot(this.message, r), n = r + i.length;
3417
+ var t = this.clonePosition(), r = this.offset(), i = st(this.message, r), n = r + i.length;
3363
3418
  this.bumpTo(n);
3364
- var o = this.clonePosition(), s = _(t, o);
3365
- return { value: i, location: s };
3419
+ var o = this.clonePosition(), a = _(t, o);
3420
+ return { value: i, location: a };
3366
3421
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
3367
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3368
- switch (a) {
3422
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3423
+ switch (s) {
3369
3424
  case "":
3370
- return this.error(b.EXPECT_ARGUMENT_TYPE, _(s, l));
3425
+ return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, l));
3371
3426
  case "number":
3372
3427
  case "date":
3373
3428
  case "time": {
@@ -3378,7 +3433,7 @@ var Sn = (
3378
3433
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3379
3434
  if (c.err)
3380
3435
  return c;
3381
- var f = Ln(c.val);
3436
+ var f = An(c.val);
3382
3437
  if (f.length === 0)
3383
3438
  return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3384
3439
  var p = _(h, this.clonePosition());
@@ -3388,9 +3443,9 @@ var Sn = (
3388
3443
  if (y.err)
3389
3444
  return y;
3390
3445
  var d = _(n, this.clonePosition());
3391
- if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
3392
- var v = Tn(u.style.slice(2));
3393
- if (a === "number") {
3446
+ if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
3447
+ var v = wn(u.style.slice(2));
3448
+ if (s === "number") {
3394
3449
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3395
3450
  return c.err ? c : {
3396
3451
  val: { type: S.number, value: i, location: d, style: c.val },
@@ -3400,13 +3455,13 @@ var Sn = (
3400
3455
  if (v.length === 0)
3401
3456
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3402
3457
  var H = v;
3403
- this.locale && (H = hn(v, this.locale));
3458
+ this.locale && (H = mn(v, this.locale));
3404
3459
  var f = {
3405
3460
  type: te.dateTime,
3406
3461
  pattern: H,
3407
3462
  location: u.styleLocation,
3408
- parsedOptions: this.shouldParseSkeletons ? rn(H) : {}
3409
- }, g = a === "date" ? S.date : S.time;
3463
+ parsedOptions: this.shouldParseSkeletons ? sn(H) : {}
3464
+ }, g = s === "date" ? S.date : S.time;
3410
3465
  return {
3411
3466
  val: { type: g, value: i, location: d, style: f },
3412
3467
  err: null
@@ -3415,7 +3470,7 @@ var Sn = (
3415
3470
  }
3416
3471
  return {
3417
3472
  val: {
3418
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3473
+ type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3419
3474
  value: i,
3420
3475
  location: d,
3421
3476
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3431,7 +3486,7 @@ var Sn = (
3431
3486
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, E({}, w)));
3432
3487
  this.bumpSpace();
3433
3488
  var D = this.parseIdentifierIfPossible(), R = 0;
3434
- if (a !== "select" && D.value === "offset") {
3489
+ if (s !== "select" && D.value === "offset") {
3435
3490
  if (!this.bumpIf(":"))
3436
3491
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3437
3492
  this.bumpSpace();
@@ -3440,18 +3495,18 @@ var Sn = (
3440
3495
  return c;
3441
3496
  this.bumpSpace(), D = this.parseIdentifierIfPossible(), R = c.val;
3442
3497
  }
3443
- var U = this.tryParsePluralOrSelectOptions(t, a, r, D);
3498
+ var U = this.tryParsePluralOrSelectOptions(t, s, r, D);
3444
3499
  if (U.err)
3445
3500
  return U;
3446
3501
  var y = this.tryParseArgumentClose(n);
3447
3502
  if (y.err)
3448
3503
  return y;
3449
3504
  var W = _(n, this.clonePosition());
3450
- return a === "select" ? {
3505
+ return s === "select" ? {
3451
3506
  val: {
3452
3507
  type: S.select,
3453
3508
  value: i,
3454
- options: Nt(U.val),
3509
+ options: Dt(U.val),
3455
3510
  location: W
3456
3511
  },
3457
3512
  err: null
@@ -3459,16 +3514,16 @@ var Sn = (
3459
3514
  val: {
3460
3515
  type: S.plural,
3461
3516
  value: i,
3462
- options: Nt(U.val),
3517
+ options: Dt(U.val),
3463
3518
  offset: R,
3464
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3519
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3465
3520
  location: W
3466
3521
  },
3467
3522
  err: null
3468
3523
  };
3469
3524
  }
3470
3525
  default:
3471
- return this.error(b.INVALID_ARGUMENT_TYPE, _(s, l));
3526
+ return this.error(b.INVALID_ARGUMENT_TYPE, _(a, l));
3472
3527
  }
3473
3528
  }, e.prototype.tryParseArgumentClose = function(t) {
3474
3529
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3510,7 +3565,7 @@ var Sn = (
3510
3565
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3511
3566
  var i = [];
3512
3567
  try {
3513
- i = on(t);
3568
+ i = un(t);
3514
3569
  } catch (n) {
3515
3570
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3516
3571
  }
@@ -3519,12 +3574,12 @@ var Sn = (
3519
3574
  type: te.number,
3520
3575
  tokens: i,
3521
3576
  location: r,
3522
- parsedOptions: this.shouldParseSkeletons ? ln(i) : {}
3577
+ parsedOptions: this.shouldParseSkeletons ? fn(i) : {}
3523
3578
  },
3524
3579
  err: null
3525
3580
  };
3526
3581
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3527
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3582
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3528
3583
  if (u.length === 0) {
3529
3584
  var c = this.clonePosition();
3530
3585
  if (r !== "select" && this.bumpIf("=")) {
@@ -3537,7 +3592,7 @@ var Sn = (
3537
3592
  }
3538
3593
  if (l.has(u))
3539
3594
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3540
- u === "other" && (s = !0), this.bumpSpace();
3595
+ u === "other" && (a = !0), this.bumpSpace();
3541
3596
  var p = this.clonePosition();
3542
3597
  if (!this.bumpIf("{"))
3543
3598
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
@@ -3547,7 +3602,7 @@ var Sn = (
3547
3602
  var d = this.tryParseArgumentClose(p);
3548
3603
  if (d.err)
3549
3604
  return d;
3550
- a.push([
3605
+ s.push([
3551
3606
  u,
3552
3607
  {
3553
3608
  value: y.val,
@@ -3555,19 +3610,19 @@ var Sn = (
3555
3610
  }
3556
3611
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3557
3612
  }
3558
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3613
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3559
3614
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3560
3615
  var i = 1, n = this.clonePosition();
3561
3616
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3562
- for (var o = !1, s = 0; !this.isEOF(); ) {
3563
- var a = this.char();
3564
- if (a >= 48 && a <= 57)
3565
- o = !0, s = s * 10 + (a - 48), this.bump();
3617
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3618
+ var s = this.char();
3619
+ if (s >= 48 && s <= 57)
3620
+ o = !0, a = a * 10 + (s - 48), this.bump();
3566
3621
  else
3567
3622
  break;
3568
3623
  }
3569
3624
  var l = _(n, this.clonePosition());
3570
- return o ? (s *= i, En(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3625
+ return o ? (a *= i, Ln(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3571
3626
  }, e.prototype.offset = function() {
3572
3627
  return this.position.offset;
3573
3628
  }, e.prototype.isEOF = function() {
@@ -3582,7 +3637,7 @@ var Sn = (
3582
3637
  var t = this.position.offset;
3583
3638
  if (t >= this.message.length)
3584
3639
  throw Error("out of bound");
3585
- var r = dr(this.message, t);
3640
+ var r = vr(this.message, t);
3586
3641
  if (r === void 0)
3587
3642
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3588
3643
  return r;
@@ -3601,7 +3656,7 @@ var Sn = (
3601
3656
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3602
3657
  }
3603
3658
  }, e.prototype.bumpIf = function(t) {
3604
- if (Ct(this.message, t, this.offset())) {
3659
+ if (Mt(this.message, t, this.offset())) {
3605
3660
  for (var r = 0; r < t.length; r++)
3606
3661
  this.bump();
3607
3662
  return !0;
@@ -3623,7 +3678,7 @@ var Sn = (
3623
3678
  break;
3624
3679
  }
3625
3680
  }, e.prototype.bumpSpace = function() {
3626
- for (; !this.isEOF() && gr(this.char()); )
3681
+ for (; !this.isEOF() && Er(this.char()); )
3627
3682
  this.bump();
3628
3683
  }, e.prototype.peek = function() {
3629
3684
  if (this.isEOF())
@@ -3633,37 +3688,38 @@ var Sn = (
3633
3688
  }, e;
3634
3689
  }()
3635
3690
  );
3636
- function st(e) {
3691
+ function at(e) {
3637
3692
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3638
3693
  }
3639
- function wn(e) {
3640
- return st(e) || e === 47;
3694
+ function Hn(e) {
3695
+ return at(e) || e === 47;
3641
3696
  }
3642
- function An(e) {
3697
+ function In(e) {
3643
3698
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3644
3699
  }
3645
- function gr(e) {
3700
+ function Er(e) {
3646
3701
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3647
3702
  }
3648
- function Pn(e) {
3703
+ function Bn(e) {
3649
3704
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3650
3705
  }
3651
- function at(e) {
3706
+ function ut(e) {
3652
3707
  e.forEach(function(t) {
3653
- if (delete t.location, ar(t) || ur(t))
3708
+ if (delete t.location, cr(t) || fr(t))
3654
3709
  for (var r in t.options)
3655
- delete t.options[r].location, at(t.options[r].value);
3656
- else nr(t) && hr(t.style) || (or(t) || sr(t)) && rt(t.style) ? delete t.style.location : lr(t) && at(t.children);
3710
+ delete t.options[r].location, ut(t.options[r].value);
3711
+ else
3712
+ ur(t) && pr(t.style) || (lr(t) || hr(t)) && it(t.style) ? delete t.style.location : mr(t) && ut(t.children);
3657
3713
  });
3658
3714
  }
3659
- function Hn(e, t) {
3715
+ function On(e, t) {
3660
3716
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3661
- var r = new Sn(e, t).parse();
3717
+ var r = new Pn(e, t).parse();
3662
3718
  if (r.err) {
3663
3719
  var i = SyntaxError(b[r.err.kind]);
3664
3720
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3665
3721
  }
3666
- return t != null && t.captureLocation || at(r.val), r.val;
3722
+ return t != null && t.captureLocation || ut(r.val), r.val;
3667
3723
  }
3668
3724
  var re;
3669
3725
  (function(e) {
@@ -3681,7 +3737,7 @@ var Oe = (
3681
3737
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3682
3738
  }, t;
3683
3739
  }(Error)
3684
- ), Mt = (
3740
+ ), $t = (
3685
3741
  /** @class */
3686
3742
  function(e) {
3687
3743
  F(t, e);
@@ -3690,7 +3746,7 @@ var Oe = (
3690
3746
  }
3691
3747
  return t;
3692
3748
  }(Oe)
3693
- ), In = (
3749
+ ), Cn = (
3694
3750
  /** @class */
3695
3751
  function(e) {
3696
3752
  F(t, e);
@@ -3699,7 +3755,7 @@ var Oe = (
3699
3755
  }
3700
3756
  return t;
3701
3757
  }(Oe)
3702
- ), Bn = (
3758
+ ), Nn = (
3703
3759
  /** @class */
3704
3760
  function(e) {
3705
3761
  F(t, e);
@@ -3712,34 +3768,34 @@ var Oe = (
3712
3768
  (function(e) {
3713
3769
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3714
3770
  })(I || (I = {}));
3715
- function On(e) {
3771
+ function Rn(e) {
3716
3772
  return e.length < 2 ? e : e.reduce(function(t, r) {
3717
3773
  var i = t[t.length - 1];
3718
3774
  return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
3719
3775
  }, []);
3720
3776
  }
3721
- function Cn(e) {
3777
+ function Mn(e) {
3722
3778
  return typeof e == "function";
3723
3779
  }
3724
- function Se(e, t, r, i, n, o, s) {
3725
- if (e.length === 1 && Ht(e[0]))
3780
+ function Se(e, t, r, i, n, o, a) {
3781
+ if (e.length === 1 && Ot(e[0]))
3726
3782
  return [
3727
3783
  {
3728
3784
  type: I.literal,
3729
3785
  value: e[0].value
3730
3786
  }
3731
3787
  ];
3732
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3788
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3733
3789
  var h = u[l];
3734
- if (Ht(h)) {
3735
- a.push({
3790
+ if (Ot(h)) {
3791
+ s.push({
3736
3792
  type: I.literal,
3737
3793
  value: h.value
3738
3794
  });
3739
3795
  continue;
3740
3796
  }
3741
- if (en(h)) {
3742
- typeof o == "number" && a.push({
3797
+ if (nn(h)) {
3798
+ typeof o == "number" && s.push({
3743
3799
  type: I.literal,
3744
3800
  value: r.getNumberFormat(t).format(o)
3745
3801
  });
@@ -3747,89 +3803,89 @@ function Se(e, t, r, i, n, o, s) {
3747
3803
  }
3748
3804
  var c = h.value;
3749
3805
  if (!(n && c in n))
3750
- throw new Bn(c, s);
3806
+ throw new Nn(c, a);
3751
3807
  var f = n[c];
3752
- if (Ki(h)) {
3753
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3808
+ if (rn(h)) {
3809
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3754
3810
  type: typeof f == "string" ? I.literal : I.object,
3755
3811
  value: f
3756
3812
  });
3757
3813
  continue;
3758
3814
  }
3759
- if (or(h)) {
3760
- var p = typeof h.style == "string" ? i.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
3761
- a.push({
3815
+ if (lr(h)) {
3816
+ var p = typeof h.style == "string" ? i.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
3817
+ s.push({
3762
3818
  type: I.literal,
3763
3819
  value: r.getDateTimeFormat(t, p).format(f)
3764
3820
  });
3765
3821
  continue;
3766
3822
  }
3767
- if (sr(h)) {
3768
- var p = typeof h.style == "string" ? i.time[h.style] : rt(h.style) ? h.style.parsedOptions : i.time.medium;
3769
- a.push({
3823
+ if (hr(h)) {
3824
+ var p = typeof h.style == "string" ? i.time[h.style] : it(h.style) ? h.style.parsedOptions : i.time.medium;
3825
+ s.push({
3770
3826
  type: I.literal,
3771
3827
  value: r.getDateTimeFormat(t, p).format(f)
3772
3828
  });
3773
3829
  continue;
3774
3830
  }
3775
- if (nr(h)) {
3776
- var p = typeof h.style == "string" ? i.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3777
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3831
+ if (ur(h)) {
3832
+ var p = typeof h.style == "string" ? i.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
3833
+ p && p.scale && (f = f * (p.scale || 1)), s.push({
3778
3834
  type: I.literal,
3779
3835
  value: r.getNumberFormat(t, p).format(f)
3780
3836
  });
3781
3837
  continue;
3782
3838
  }
3783
- if (lr(h)) {
3839
+ if (mr(h)) {
3784
3840
  var y = h.children, d = h.value, v = n[d];
3785
- if (!Cn(v))
3786
- throw new In(d, "function", s);
3841
+ if (!Mn(v))
3842
+ throw new Cn(d, "function", a);
3787
3843
  var H = Se(y, t, r, i, n, o), g = v(H.map(function(R) {
3788
3844
  return R.value;
3789
3845
  }));
3790
- Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(R) {
3846
+ Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(R) {
3791
3847
  return {
3792
3848
  type: typeof R == "string" ? I.literal : I.object,
3793
3849
  value: R
3794
3850
  };
3795
3851
  }));
3796
3852
  }
3797
- if (ar(h)) {
3853
+ if (cr(h)) {
3798
3854
  var w = h.options[f] || h.options.other;
3799
3855
  if (!w)
3800
- throw new Mt(h.value, f, Object.keys(h.options), s);
3801
- a.push.apply(a, Se(w.value, t, r, i, n));
3856
+ throw new $t(h.value, f, Object.keys(h.options), a);
3857
+ s.push.apply(s, Se(w.value, t, r, i, n));
3802
3858
  continue;
3803
3859
  }
3804
- if (ur(h)) {
3860
+ if (fr(h)) {
3805
3861
  var w = h.options["=".concat(f)];
3806
3862
  if (!w) {
3807
3863
  if (!Intl.PluralRules)
3808
3864
  throw new Oe(`Intl.PluralRules is not available in this environment.
3809
3865
  Try polyfilling it using "@formatjs/intl-pluralrules"
3810
- `, re.MISSING_INTL_API, s);
3866
+ `, re.MISSING_INTL_API, a);
3811
3867
  var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3812
3868
  w = h.options[D] || h.options.other;
3813
3869
  }
3814
3870
  if (!w)
3815
- throw new Mt(h.value, f, Object.keys(h.options), s);
3816
- a.push.apply(a, Se(w.value, t, r, i, n, f - (h.offset || 0)));
3871
+ throw new $t(h.value, f, Object.keys(h.options), a);
3872
+ s.push.apply(s, Se(w.value, t, r, i, n, f - (h.offset || 0)));
3817
3873
  continue;
3818
3874
  }
3819
3875
  }
3820
- return On(a);
3876
+ return Rn(s);
3821
3877
  }
3822
- function Nn(e, t) {
3878
+ function Dn(e, t) {
3823
3879
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3824
3880
  return r[i] = E(E({}, e[i]), t[i] || {}), r;
3825
3881
  }, {})) : e;
3826
3882
  }
3827
- function Rn(e, t) {
3883
+ function Un(e, t) {
3828
3884
  return t ? Object.keys(e).reduce(function(r, i) {
3829
- return r[i] = Nn(e[i], t[i]), r;
3885
+ return r[i] = Dn(e[i], t[i]), r;
3830
3886
  }, E({}, e)) : e;
3831
3887
  }
3832
- function We(e) {
3888
+ function Xe(e) {
3833
3889
  return {
3834
3890
  create: function() {
3835
3891
  return {
@@ -3843,39 +3899,39 @@ function We(e) {
3843
3899
  }
3844
3900
  };
3845
3901
  }
3846
- function Mn(e) {
3902
+ function $n(e) {
3847
3903
  return e === void 0 && (e = {
3848
3904
  number: {},
3849
3905
  dateTime: {},
3850
3906
  pluralRules: {}
3851
3907
  }), {
3852
- getNumberFormat: je(function() {
3908
+ getNumberFormat: ke(function() {
3853
3909
  for (var t, r = [], i = 0; i < arguments.length; i++)
3854
3910
  r[i] = arguments[i];
3855
3911
  return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
3856
3912
  }, {
3857
- cache: We(e.number),
3858
- strategy: ke.variadic
3913
+ cache: Xe(e.number),
3914
+ strategy: Ve.variadic
3859
3915
  }),
3860
- getDateTimeFormat: je(function() {
3916
+ getDateTimeFormat: ke(function() {
3861
3917
  for (var t, r = [], i = 0; i < arguments.length; i++)
3862
3918
  r[i] = arguments[i];
3863
3919
  return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
3864
3920
  }, {
3865
- cache: We(e.dateTime),
3866
- strategy: ke.variadic
3921
+ cache: Xe(e.dateTime),
3922
+ strategy: Ve.variadic
3867
3923
  }),
3868
- getPluralRules: je(function() {
3924
+ getPluralRules: ke(function() {
3869
3925
  for (var t, r = [], i = 0; i < arguments.length; i++)
3870
3926
  r[i] = arguments[i];
3871
3927
  return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
3872
3928
  }, {
3873
- cache: We(e.pluralRules),
3874
- strategy: ke.variadic
3929
+ cache: Xe(e.pluralRules),
3930
+ strategy: Ve.variadic
3875
3931
  })
3876
3932
  };
3877
3933
  }
3878
- var Dn = (
3934
+ var Gn = (
3879
3935
  /** @class */
3880
3936
  function() {
3881
3937
  function e(t, r, i, n) {
@@ -3905,15 +3961,15 @@ var Dn = (
3905
3961
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3906
3962
  if (this.message = t, !e.__parse)
3907
3963
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3908
- var s = n || {};
3909
- s.formatters;
3910
- var a = pi(s, ["formatters"]);
3911
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3964
+ var a = n || {};
3965
+ a.formatters;
3966
+ var s = bi(a, ["formatters"]);
3967
+ this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
3912
3968
  } else
3913
3969
  this.ast = t;
3914
3970
  if (!Array.isArray(this.ast))
3915
3971
  throw new TypeError("A message must be provided as a String or AST.");
3916
- this.formats = Rn(e.formats, i), this.formatters = n && n.formatters || Mn(this.formatterCache);
3972
+ this.formats = Un(e.formats, i), this.formatters = n && n.formatters || $n(this.formatterCache);
3917
3973
  }
3918
3974
  return Object.defineProperty(e, "defaultLocale", {
3919
3975
  get: function() {
@@ -3926,7 +3982,7 @@ var Dn = (
3926
3982
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3927
3983
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3928
3984
  }
3929
- }, e.__parse = Hn, e.formats = {
3985
+ }, e.__parse = On, e.formats = {
3930
3986
  number: {
3931
3987
  integer: {
3932
3988
  maximumFractionDigits: 0
@@ -3987,7 +4043,7 @@ var Dn = (
3987
4043
  }, e;
3988
4044
  }()
3989
4045
  );
3990
- function Un(e, t) {
4046
+ function Fn(e, t) {
3991
4047
  if (t == null)
3992
4048
  return;
3993
4049
  if (t in e)
@@ -4008,92 +4064,92 @@ function Un(e, t) {
4008
4064
  i = void 0;
4009
4065
  return i;
4010
4066
  }
4011
- const j = {}, $n = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), br = (e, t) => {
4067
+ const j = {}, jn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), xr = (e, t) => {
4012
4068
  if (t == null)
4013
4069
  return;
4014
4070
  if (t in j && e in j[t])
4015
4071
  return j[t][e];
4016
4072
  const r = Ce(t);
4017
4073
  for (let i = 0; i < r.length; i++) {
4018
- const n = r[i], o = Fn(n, e);
4074
+ const n = r[i], o = Vn(n, e);
4019
4075
  if (o)
4020
- return $n(e, t, o);
4076
+ return jn(e, t, o);
4021
4077
  }
4022
4078
  };
4023
- let ct;
4079
+ let pt;
4024
4080
  const pe = Be({});
4025
- function Gn(e) {
4026
- return ct[e] || null;
4081
+ function kn(e) {
4082
+ return pt[e] || null;
4027
4083
  }
4028
- function vr(e) {
4029
- return e in ct;
4084
+ function Tr(e) {
4085
+ return e in pt;
4030
4086
  }
4031
- function Fn(e, t) {
4032
- if (!vr(e))
4087
+ function Vn(e, t) {
4088
+ if (!Tr(e))
4033
4089
  return null;
4034
- const r = Gn(e);
4035
- return Un(r, t);
4090
+ const r = kn(e);
4091
+ return Fn(r, t);
4036
4092
  }
4037
- function jn(e) {
4093
+ function Wn(e) {
4038
4094
  if (e == null)
4039
4095
  return;
4040
4096
  const t = Ce(e);
4041
4097
  for (let r = 0; r < t.length; r++) {
4042
4098
  const i = t[r];
4043
- if (vr(i))
4099
+ if (Tr(i))
4044
4100
  return i;
4045
4101
  }
4046
4102
  }
4047
- function _r(e, ...t) {
4048
- delete j[e], pe.update((r) => (r[e] = Wi.all([r[e] || {}, ...t]), r));
4103
+ function Lr(e, ...t) {
4104
+ delete j[e], pe.update((r) => (r[e] = Qi.all([r[e] || {}, ...t]), r));
4049
4105
  }
4050
4106
  oe(
4051
4107
  [pe],
4052
4108
  ([e]) => Object.keys(e)
4053
4109
  );
4054
- pe.subscribe((e) => ct = e);
4110
+ pe.subscribe((e) => pt = e);
4055
4111
  const we = {};
4056
- function kn(e, t) {
4112
+ function Xn(e, t) {
4057
4113
  we[e].delete(t), we[e].size === 0 && delete we[e];
4058
4114
  }
4059
- function Er(e) {
4115
+ function Sr(e) {
4060
4116
  return we[e];
4061
4117
  }
4062
- function Vn(e) {
4118
+ function zn(e) {
4063
4119
  return Ce(e).map((t) => {
4064
- const r = Er(t);
4120
+ const r = Sr(t);
4065
4121
  return [t, r ? [...r] : []];
4066
4122
  }).filter(([, t]) => t.length > 0);
4067
4123
  }
4068
- function ut(e) {
4124
+ function lt(e) {
4069
4125
  return e == null ? !1 : Ce(e).some(
4070
4126
  (t) => {
4071
4127
  var r;
4072
- return (r = Er(t)) == null ? void 0 : r.size;
4128
+ return (r = Sr(t)) == null ? void 0 : r.size;
4073
4129
  }
4074
4130
  );
4075
4131
  }
4076
- function Wn(e, t) {
4132
+ function Zn(e, t) {
4077
4133
  return Promise.all(
4078
- t.map((i) => (kn(e, i), i().then((n) => n.default || n)))
4079
- ).then((i) => _r(e, ...i));
4134
+ t.map((i) => (Xn(e, i), i().then((n) => n.default || n)))
4135
+ ).then((i) => Lr(e, ...i));
4080
4136
  }
4081
4137
  const le = {};
4082
- function xr(e) {
4083
- if (!ut(e))
4138
+ function wr(e) {
4139
+ if (!lt(e))
4084
4140
  return e in le ? le[e] : Promise.resolve();
4085
- const t = Vn(e);
4141
+ const t = zn(e);
4086
4142
  return le[e] = Promise.all(
4087
4143
  t.map(
4088
- ([r, i]) => Wn(r, i)
4144
+ ([r, i]) => Zn(r, i)
4089
4145
  )
4090
4146
  ).then(() => {
4091
- if (ut(e))
4092
- return xr(e);
4147
+ if (lt(e))
4148
+ return wr(e);
4093
4149
  delete le[e];
4094
4150
  }), le[e];
4095
4151
  }
4096
- const Xn = {
4152
+ const Qn = {
4097
4153
  number: {
4098
4154
  scientific: { notation: "scientific" },
4099
4155
  engineering: { notation: "engineering" },
@@ -4122,57 +4178,57 @@ const Xn = {
4122
4178
  timeZoneName: "short"
4123
4179
  }
4124
4180
  }
4125
- }, zn = {
4181
+ }, Yn = {
4126
4182
  fallbackLocale: null,
4127
4183
  loadingDelay: 200,
4128
- formats: Xn,
4184
+ formats: Qn,
4129
4185
  warnOnMissingMessages: !0,
4130
4186
  handleMissingMessage: void 0,
4131
4187
  ignoreTag: !0
4132
- }, Zn = zn;
4188
+ }, Jn = Yn;
4133
4189
  function ie() {
4134
- return Zn;
4190
+ return Jn;
4135
4191
  }
4136
- const Xe = Be(!1);
4137
- var Qn = Object.defineProperty, Yn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
4192
+ const ze = Be(!1);
4193
+ var qn = Object.defineProperty, Kn = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, io = (e, t) => {
4138
4194
  for (var r in t || (t = {}))
4139
- qn.call(t, r) && Ut(e, r, t[r]);
4140
- if (Dt)
4141
- for (var r of Dt(t))
4142
- Kn.call(t, r) && Ut(e, r, t[r]);
4195
+ to.call(t, r) && Ft(e, r, t[r]);
4196
+ if (Gt)
4197
+ for (var r of Gt(t))
4198
+ ro.call(t, r) && Ft(e, r, t[r]);
4143
4199
  return e;
4144
- }, to = (e, t) => Yn(e, Jn(t));
4145
- let lt;
4200
+ }, no = (e, t) => Kn(e, eo(t));
4201
+ let ht;
4146
4202
  const Pe = Be(null);
4147
- function $t(e) {
4203
+ function jt(e) {
4148
4204
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4149
4205
  }
4150
4206
  function Ce(e, t = ie().fallbackLocale) {
4151
- const r = $t(e);
4152
- return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4207
+ const r = jt(e);
4208
+ return t ? [.../* @__PURE__ */ new Set([...r, ...jt(t)])] : r;
4153
4209
  }
4154
4210
  function Z() {
4155
- return lt != null ? lt : void 0;
4211
+ return ht != null ? ht : void 0;
4156
4212
  }
4157
4213
  Pe.subscribe((e) => {
4158
- lt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4214
+ ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4159
4215
  });
4160
- const ro = (e) => {
4161
- if (e && jn(e) && ut(e)) {
4216
+ const oo = (e) => {
4217
+ if (e && Wn(e) && lt(e)) {
4162
4218
  const { loadingDelay: t } = ie();
4163
4219
  let r;
4164
4220
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
4165
- () => Xe.set(!0),
4221
+ () => ze.set(!0),
4166
4222
  t
4167
- ) : Xe.set(!0), xr(e).then(() => {
4223
+ ) : ze.set(!0), wr(e).then(() => {
4168
4224
  Pe.set(e);
4169
4225
  }).finally(() => {
4170
- clearTimeout(r), Xe.set(!1);
4226
+ clearTimeout(r), ze.set(!1);
4171
4227
  });
4172
4228
  }
4173
4229
  return Pe.set(e);
4174
- }, se = to(eo({}, Pe), {
4175
- set: ro
4230
+ }, se = no(io({}, Pe), {
4231
+ set: oo
4176
4232
  }), Ne = (e) => {
4177
4233
  const t = /* @__PURE__ */ Object.create(null);
4178
4234
  return (i) => {
@@ -4180,20 +4236,20 @@ const ro = (e) => {
4180
4236
  return n in t ? t[n] : t[n] = e(i);
4181
4237
  };
4182
4238
  };
4183
- var io = Object.defineProperty, He = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4239
+ var so = Object.defineProperty, He = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
4184
4240
  for (var r in t || (t = {}))
4185
- Tr.call(t, r) && Gt(e, r, t[r]);
4241
+ Ar.call(t, r) && kt(e, r, t[r]);
4186
4242
  if (He)
4187
4243
  for (var r of He(t))
4188
- Lr.call(t, r) && Gt(e, r, t[r]);
4244
+ Pr.call(t, r) && kt(e, r, t[r]);
4189
4245
  return e;
4190
4246
  }, ae = (e, t) => {
4191
4247
  var r = {};
4192
4248
  for (var i in e)
4193
- Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4249
+ Ar.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4194
4250
  if (e != null && He)
4195
4251
  for (var i of He(e))
4196
- t.indexOf(i) < 0 && Lr.call(e, i) && (r[i] = e[i]);
4252
+ t.indexOf(i) < 0 && Pr.call(e, i) && (r[i] = e[i]);
4197
4253
  return r;
4198
4254
  };
4199
4255
  const me = (e, t) => {
@@ -4201,21 +4257,21 @@ const me = (e, t) => {
4201
4257
  if (e in r && t in r[e])
4202
4258
  return r[e][t];
4203
4259
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4204
- }, no = Ne(
4260
+ }, ao = Ne(
4205
4261
  (e) => {
4206
4262
  var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4207
4263
  if (r == null)
4208
4264
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4209
4265
  return i && (n = me("number", i)), new Intl.NumberFormat(r, n);
4210
4266
  }
4211
- ), oo = Ne(
4267
+ ), uo = Ne(
4212
4268
  (e) => {
4213
4269
  var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4214
4270
  if (r == null)
4215
4271
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4216
4272
  return i ? n = me("date", i) : Object.keys(n).length === 0 && (n = me("date", "short")), new Intl.DateTimeFormat(r, n);
4217
4273
  }
4218
- ), so = Ne(
4274
+ ), lo = Ne(
4219
4275
  (e) => {
4220
4276
  var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4221
4277
  if (r == null)
@@ -4224,57 +4280,57 @@ const me = (e, t) => {
4224
4280
  );
4225
4281
  return i ? n = me("time", i) : Object.keys(n).length === 0 && (n = me("time", "short")), new Intl.DateTimeFormat(r, n);
4226
4282
  }
4227
- ), ao = (e = {}) => {
4283
+ ), ho = (e = {}) => {
4228
4284
  var t = e, {
4229
4285
  locale: r = Z()
4230
4286
  } = t, i = ae(t, [
4231
4287
  "locale"
4232
4288
  ]);
4233
- return no(ft({ locale: r }, i));
4234
- }, uo = (e = {}) => {
4289
+ return ao(dt({ locale: r }, i));
4290
+ }, co = (e = {}) => {
4235
4291
  var t = e, {
4236
4292
  locale: r = Z()
4237
4293
  } = t, i = ae(t, [
4238
4294
  "locale"
4239
4295
  ]);
4240
- return oo(ft({ locale: r }, i));
4241
- }, lo = (e = {}) => {
4296
+ return uo(dt({ locale: r }, i));
4297
+ }, fo = (e = {}) => {
4242
4298
  var t = e, {
4243
4299
  locale: r = Z()
4244
4300
  } = t, i = ae(t, [
4245
4301
  "locale"
4246
4302
  ]);
4247
- return so(ft({ locale: r }, i));
4248
- }, ho = Ne(
4303
+ return lo(dt({ locale: r }, i));
4304
+ }, mo = Ne(
4249
4305
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4250
- (e, t = Z()) => new Dn(e, t, ie().formats, {
4306
+ (e, t = Z()) => new Gn(e, t, ie().formats, {
4251
4307
  ignoreTag: ie().ignoreTag
4252
4308
  })
4253
- ), co = (e, t = {}) => {
4309
+ ), po = (e, t = {}) => {
4254
4310
  var r, i, n, o;
4255
- let s = t;
4256
- typeof e == "object" && (s = e, e = s.id);
4311
+ let a = t;
4312
+ typeof e == "object" && (a = e, e = a.id);
4257
4313
  const {
4258
- values: a,
4314
+ values: s,
4259
4315
  locale: l = Z(),
4260
4316
  default: u
4261
- } = s;
4317
+ } = a;
4262
4318
  if (l == null)
4263
4319
  throw new Error(
4264
4320
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4265
4321
  );
4266
- let h = br(e, l);
4322
+ let h = xr(e, l);
4267
4323
  if (!h)
4268
4324
  h = (o = (n = (i = (r = ie()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4269
4325
  else if (typeof h != "string")
4270
4326
  return console.warn(
4271
4327
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4272
4328
  ), h;
4273
- if (!a)
4329
+ if (!s)
4274
4330
  return h;
4275
4331
  let c = h;
4276
4332
  try {
4277
- c = ho(h, l).format(a);
4333
+ c = mo(h, l).format(s);
4278
4334
  } catch (f) {
4279
4335
  f instanceof Error && console.warn(
4280
4336
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4282,20 +4338,20 @@ const me = (e, t) => {
4282
4338
  );
4283
4339
  }
4284
4340
  return c;
4285
- }, 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);
4286
- oe([se], () => fo);
4287
- oe([se], () => mo);
4288
- oe([se], () => po);
4289
- oe([se, pe], () => yo);
4290
- window.emWidgets = { topic: Pi };
4291
- 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";
4292
- function vo(e, t) {
4341
+ }, yo = (e, t) => fo(t).format(e), go = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), vo = (e, t = Z()) => xr(e, t), _o = oe([se, pe], () => po);
4342
+ oe([se], () => yo);
4343
+ oe([se], () => go);
4344
+ oe([se], () => bo);
4345
+ oe([se, pe], () => vo);
4346
+ window.emWidgets = { topic: Oi };
4347
+ const Eo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Qo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4348
+ function xo(e, t) {
4293
4349
  if (e) {
4294
4350
  const r = document.createElement("style");
4295
4351
  r.innerHTML = t, e.appendChild(r);
4296
4352
  }
4297
4353
  }
4298
- function _o(e, t) {
4354
+ function To(e, t) {
4299
4355
  const r = new URL(t);
4300
4356
  fetch(r.href).then((i) => i.text()).then((i) => {
4301
4357
  const n = document.createElement("style");
@@ -4304,7 +4360,7 @@ function _o(e, t) {
4304
4360
  console.error("There was an error while trying to load client styling from URL", i);
4305
4361
  });
4306
4362
  }
4307
- function Eo(e, t, r) {
4363
+ function Lo(e, t, r) {
4308
4364
  if (window.emMessageBus) {
4309
4365
  const i = document.createElement("style");
4310
4366
  window.emMessageBus.subscribe(t, (n) => {
@@ -4312,13 +4368,13 @@ function Eo(e, t, r) {
4312
4368
  });
4313
4369
  }
4314
4370
  }
4315
- function Ft(e, t) {
4316
- _r(e, t);
4371
+ function Vt(e, t) {
4372
+ Lr(e, t);
4317
4373
  }
4318
- function xo(e) {
4374
+ function So(e) {
4319
4375
  se.set(e);
4320
4376
  }
4321
- const ze = {
4377
+ const Ze = {
4322
4378
  en: {
4323
4379
  expandLimits: "LIMIT HISTORY",
4324
4380
  daily: "per day",
@@ -4569,30 +4625,30 @@ const ze = {
4569
4625
  historyLimitTypeLoss: "Loss Limit"
4570
4626
  }
4571
4627
  };
4572
- function To(e) {
4573
- zr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4628
+ function wo(e) {
4629
+ Jr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4574
4630
  }
4575
- function jt(e, t, r) {
4631
+ function Wt(e, t, r) {
4576
4632
  const i = e.slice();
4577
4633
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4578
4634
  }
4579
- function Lo(e) {
4635
+ function Ao(e) {
4580
4636
  let t, r, i, n = (
4581
4637
  /*$_*/
4582
4638
  e[9]("expandLimits") + ""
4583
- ), o, s, a, l, u, h, c, f, p, y = _t(
4639
+ ), o, a, s, l, u, h, c, f, p, y = Tt(
4584
4640
  /*lazyShowedHistoryArray*/
4585
4641
  e[7]
4586
4642
  ), d = [];
4587
4643
  for (let v = 0; v < y.length; v += 1)
4588
- d[v] = kt(jt(e, y, v));
4644
+ d[v] = Xt(Wt(e, y, v));
4589
4645
  return {
4590
4646
  c() {
4591
- t = P("div"), r = P("div"), i = P("button"), o = M(n), s = Ze(), a = $e("svg"), l = $e("path"), u = $e("path"), h = Ze(), c = P("div");
4647
+ t = P("div"), r = P("div"), i = P("button"), o = M(n), a = Qe(), s = $e("svg"), l = $e("path"), u = $e("path"), h = Qe(), c = P("div");
4592
4648
  for (let v = 0; v < d.length; v += 1)
4593
4649
  d[v].c();
4594
- 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(
4595
- a,
4650
+ x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ve(
4651
+ s,
4596
4652
  "extended",
4597
4653
  /*extended*/
4598
4654
  e[8]
@@ -4605,10 +4661,10 @@ function Lo(e) {
4605
4661
  (e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4606
4662
  },
4607
4663
  m(v, H) {
4608
- z(v, t, H), T(t, r), T(r, i), T(i, o), T(i, s), T(i, a), T(a, l), T(a, u), T(r, h), T(r, c);
4664
+ z(v, t, H), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, l), T(s, u), T(r, h), T(r, c);
4609
4665
  for (let g = 0; g < d.length; g += 1)
4610
4666
  d[g] && d[g].m(c, null);
4611
- f || (p = Jr(
4667
+ f || (p = ti(
4612
4668
  i,
4613
4669
  "click",
4614
4670
  /*toggleHistoryDisplayArea*/
@@ -4620,20 +4676,20 @@ function Lo(e) {
4620
4676
  512 && n !== (n = /*$_*/
4621
4677
  v[9]("expandLimits") + "") && k(o, n), H[0] & /*extended*/
4622
4678
  256 && ve(
4623
- a,
4679
+ s,
4624
4680
  "extended",
4625
4681
  /*extended*/
4626
4682
  v[8]
4627
4683
  ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4628
4684
  650) {
4629
- y = _t(
4685
+ y = Tt(
4630
4686
  /*lazyShowedHistoryArray*/
4631
4687
  v[7]
4632
4688
  );
4633
4689
  let g;
4634
4690
  for (g = 0; g < y.length; g += 1) {
4635
- const w = jt(v, y, g);
4636
- d[g] ? d[g].p(w, H) : (d[g] = kt(w), d[g].c(), d[g].m(c, null));
4691
+ const w = Wt(v, y, g);
4692
+ d[g] ? d[g].p(w, H) : (d[g] = Xt(w), d[g].c(), d[g].m(c, null));
4637
4693
  }
4638
4694
  for (; g < d.length; g += 1)
4639
4695
  d[g].d(1);
@@ -4648,14 +4704,14 @@ function Lo(e) {
4648
4704
  );
4649
4705
  },
4650
4706
  d(v) {
4651
- v && V(t), Yr(d, v), f = !1, p();
4707
+ v && V(t), ei(d, v), f = !1, p();
4652
4708
  }
4653
4709
  };
4654
4710
  }
4655
- function So(e) {
4711
+ function Po(e) {
4656
4712
  return { c: B, m: B, p: B, d: B };
4657
4713
  }
4658
- function wo(e) {
4714
+ function Ho(e) {
4659
4715
  let t, r = (
4660
4716
  /*lang*/
4661
4717
  (e[0] ? (
@@ -4683,11 +4739,11 @@ function wo(e) {
4683
4739
  }
4684
4740
  };
4685
4741
  }
4686
- function Ao(e) {
4742
+ function Io(e) {
4687
4743
  let t, r, i, n = (
4688
4744
  /*history*/
4689
4745
  e[37].type + ""
4690
- ), o, s, a = (
4746
+ ), o, a, s = (
4691
4747
  /*history*/
4692
4748
  e[37].amount + ""
4693
4749
  ), l, u, h = (
@@ -4696,17 +4752,17 @@ function Ao(e) {
4696
4752
  ), c;
4697
4753
  return {
4698
4754
  c() {
4699
- t = P("div"), r = P("span"), i = P("span"), o = M(n), s = P("span"), l = M(a), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(s, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4755
+ t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), l = M(s), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4700
4756
  },
4701
4757
  m(f, p) {
4702
- z(f, t, p), T(t, r), T(r, i), T(i, o), T(r, s), T(s, l), T(t, u), T(u, c);
4758
+ z(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, l), T(t, u), T(u, c);
4703
4759
  },
4704
4760
  p(f, p) {
4705
4761
  p[0] & /*lazyShowedHistoryArray*/
4706
4762
  128 && n !== (n = /*history*/
4707
4763
  f[37].type + "") && k(o, n), p[0] & /*lazyShowedHistoryArray*/
4708
- 128 && a !== (a = /*history*/
4709
- f[37].amount + "") && k(l, a), p[0] & /*lazyShowedHistoryArray*/
4764
+ 128 && s !== (s = /*history*/
4765
+ f[37].amount + "") && k(l, s), p[0] & /*lazyShowedHistoryArray*/
4710
4766
  128 && h !== (h = /*history*/
4711
4767
  f[37].date + "") && k(c, h);
4712
4768
  },
@@ -4715,11 +4771,11 @@ function Ao(e) {
4715
4771
  }
4716
4772
  };
4717
4773
  }
4718
- function Po(e) {
4774
+ function Bo(e) {
4719
4775
  let t, r, i, n = (
4720
4776
  /*history*/
4721
4777
  e[37].type + ""
4722
- ), o, s, a = (
4778
+ ), o, a, s = (
4723
4779
  /*$_*/
4724
4780
  e[9]("limitRemoved") + ""
4725
4781
  ), l, u, h = (
@@ -4728,17 +4784,17 @@ function Po(e) {
4728
4784
  ), c;
4729
4785
  return {
4730
4786
  c() {
4731
- t = P("div"), r = P("span"), i = P("span"), o = M(n), s = P("span"), l = M(a), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(s, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4787
+ t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), l = M(s), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4732
4788
  },
4733
4789
  m(f, p) {
4734
- z(f, t, p), T(t, r), T(r, i), T(i, o), T(r, s), T(s, l), T(t, u), T(u, c);
4790
+ z(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, l), T(t, u), T(u, c);
4735
4791
  },
4736
4792
  p(f, p) {
4737
4793
  p[0] & /*lazyShowedHistoryArray*/
4738
4794
  128 && n !== (n = /*history*/
4739
4795
  f[37].type + "") && k(o, n), p[0] & /*$_*/
4740
- 512 && a !== (a = /*$_*/
4741
- f[9]("limitRemoved") + "") && k(l, a), p[0] & /*lazyShowedHistoryArray*/
4796
+ 512 && s !== (s = /*$_*/
4797
+ f[9]("limitRemoved") + "") && k(l, s), p[0] & /*lazyShowedHistoryArray*/
4742
4798
  128 && h !== (h = /*history*/
4743
4799
  f[37].date + "") && k(c, h);
4744
4800
  },
@@ -4747,7 +4803,7 @@ function Po(e) {
4747
4803
  }
4748
4804
  };
4749
4805
  }
4750
- function kt(e) {
4806
+ function Xt(e) {
4751
4807
  let t, r, i, n = (
4752
4808
  /*index*/
4753
4809
  e[39]
@@ -4755,10 +4811,10 @@ function kt(e) {
4755
4811
  function o(h, c) {
4756
4812
  return (
4757
4813
  /*history*/
4758
- h[37].removed ? Po : Ao
4814
+ h[37].removed ? Bo : Io
4759
4815
  );
4760
4816
  }
4761
- let s = o(e), a = s(e);
4817
+ let a = o(e), s = a(e);
4762
4818
  const l = () => (
4763
4819
  /*div_binding*/
4764
4820
  e[22](t, n)
@@ -4768,18 +4824,18 @@ function kt(e) {
4768
4824
  );
4769
4825
  return {
4770
4826
  c() {
4771
- t = P("div"), a.c(), r = Ze(), x(t, "class", i = bt(
4827
+ t = P("div"), s.c(), r = Qe(), x(t, "class", i = Et(
4772
4828
  /*index*/
4773
4829
  e[39] > +/*numberofentries*/
4774
4830
  e[1] ? "LimitContainer" : ""
4775
4831
  ) + " svelte-19ml84y");
4776
4832
  },
4777
4833
  m(h, c) {
4778
- z(h, t, c), a.m(t, null), T(t, r), l();
4834
+ z(h, t, c), s.m(t, null), T(t, r), l();
4779
4835
  },
4780
4836
  p(h, c) {
4781
- 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*/
4782
- 2 && i !== (i = bt(
4837
+ e = h, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
4838
+ 2 && i !== (i = Et(
4783
4839
  /*index*/
4784
4840
  e[39] > +/*numberofentries*/
4785
4841
  e[1] ? "LimitContainer" : ""
@@ -4788,18 +4844,18 @@ function kt(e) {
4788
4844
  e[39], l());
4789
4845
  },
4790
4846
  d(h) {
4791
- h && V(t), a.d(), u();
4847
+ h && V(t), s.d(), u();
4792
4848
  }
4793
4849
  };
4794
4850
  }
4795
- function Ho(e) {
4851
+ function Oo(e) {
4796
4852
  let t;
4797
- function r(o, s) {
4853
+ function r(o, a) {
4798
4854
  return (
4799
4855
  /*hasErrors*/
4800
- o[6] ? wo : (
4856
+ o[6] ? Ho : (
4801
4857
  /*isLoading*/
4802
- o[4] ? So : Lo
4858
+ o[4] ? Po : Ao
4803
4859
  )
4804
4860
  );
4805
4861
  }
@@ -4808,11 +4864,11 @@ function Ho(e) {
4808
4864
  c() {
4809
4865
  t = P("div"), n.c(), x(t, "class", "svelte-19ml84y");
4810
4866
  },
4811
- m(o, s) {
4812
- z(o, t, s), n.m(t, null), e[23](t);
4867
+ m(o, a) {
4868
+ z(o, t, a), n.m(t, null), e[23](t);
4813
4869
  },
4814
- p(o, s) {
4815
- i === (i = r(o)) && n ? n.p(o, s) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4870
+ p(o, a) {
4871
+ i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4816
4872
  },
4817
4873
  i: B,
4818
4874
  o: B,
@@ -4821,24 +4877,24 @@ function Ho(e) {
4821
4877
  }
4822
4878
  };
4823
4879
  }
4824
- function Io(e, t, r) {
4880
+ function Co(e, t, r) {
4825
4881
  let i;
4826
- Xr(e, go, (m) => r(9, i = m));
4827
- 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: "₺" };
4828
- const wr = () => {
4882
+ Yr(e, _o, (m) => r(9, i = m));
4883
+ let n = window.navigator.userAgent, o = !Eo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, w = new Array(), D = parseInt(c, 10), R = !1, U = !0, W = [], de = [], ye = !0, Re = !1, ue = { EUR: "€", RON: "lei", TRY: "₺" };
4884
+ const Ir = () => {
4829
4885
  fetch(H).then((L) => L.json()).then((L) => {
4830
4886
  Object.keys(L).forEach((C) => {
4831
- Ft(C, L[C]);
4887
+ Vt(C, L[C]);
4832
4888
  });
4833
4889
  }).catch((L) => {
4834
4890
  console.log(L);
4835
4891
  });
4836
4892
  };
4837
- Object.keys(ze).forEach((m) => {
4838
- Ft(m, ze[m]);
4893
+ Object.keys(Ze).forEach((m) => {
4894
+ Vt(m, Ze[m]);
4839
4895
  });
4840
- const Ar = () => {
4841
- let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, L = new URL(m, u);
4896
+ const Br = () => {
4897
+ let m = h === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
4842
4898
  L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
4843
4899
  let C = {
4844
4900
  method: "GET",
@@ -4850,14 +4906,14 @@ function Io(e, t, r) {
4850
4906
  return A.json();
4851
4907
  }).then(
4852
4908
  (A) => {
4853
- A.length && (W = Pr(A), r(7, de = W.slice(0, D))), r(4, U = !1);
4909
+ A.length && (W = Or(A), r(7, de = W.slice(0, D))), r(4, U = !1);
4854
4910
  },
4855
4911
  (A) => {
4856
4912
  console.error("There was an error", A), r(6, R = !0);
4857
4913
  }
4858
4914
  );
4859
- }, Pr = (m) => {
4860
- const L = !!ze[s];
4915
+ }, Or = (m) => {
4916
+ const L = !!Ze[a];
4861
4917
  return m.map((A) => {
4862
4918
  let $ = {
4863
4919
  amount: "",
@@ -4867,70 +4923,71 @@ function Io(e, t, r) {
4867
4923
  type: "",
4868
4924
  removed: !1
4869
4925
  };
4870
- return $.amount = Hr(A), $.currency = L ? ue[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4926
+ return $.amount = Cr(A), $.currency = L ? ue[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4871
4927
  });
4872
- }, Hr = (m) => {
4928
+ }, Cr = (m) => {
4873
4929
  let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4874
4930
  if (!p) {
4875
- let Ur = ue[m.limitCurrencyCode] || m.limitCurrencyCode;
4876
- return `${L}${Ur}`;
4931
+ let jr = ue[m.limitCurrencyCode] || m.limitCurrencyCode;
4932
+ return `${L}${jr}`;
4877
4933
  }
4878
4934
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4879
4935
  const C = L.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, $ = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4880
4936
  let ge = parseFloat(m.limitAmount).toFixed(A);
4881
- const [Mr, Me] = p.includes(".") ? [",", "."] : [".", ","];
4882
- let [De, Dr] = ge.split(".");
4883
- return De = De.replace(/\B(?=(\d{3})+(?!\d))/g, Mr), ge = `${De}${Me}${Dr}`, L = L.replace("{currency}", ue[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split(Me)[0]).replace(
4937
+ const [Gr, Me] = p.includes(".") ? [",", "."] : [".", ","];
4938
+ let [De, Fr] = ge.split(".");
4939
+ return De = De.replace(/\B(?=(\d{3})+(?!\d))/g, Gr), ge = `${De}${Me}${Fr}`, L = L.replace("{currency}", ue[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split(Me)[0]).replace(
4884
4940
  $,
4885
4941
  ge.split(Me)[1]
4886
4942
  ), L;
4887
- }, Ir = () => {
4943
+ }, Nr = () => {
4888
4944
  r(5, ye = !ye), r(8, Re = !Re);
4889
4945
  };
4890
- let mt = new IntersectionObserver((m) => {
4946
+ let yt = new IntersectionObserver((m) => {
4891
4947
  m.forEach((L) => {
4892
4948
  L.isIntersecting && (D += parseInt(c, 10) || 10, de.length < W.length && r(7, de = W.slice(0, D)));
4893
4949
  });
4894
4950
  });
4895
- const Br = () => {
4896
- mt.observe(w[w.length - 1]);
4897
- }, Or = () => {
4898
- if (!f) return;
4951
+ const Rr = () => {
4952
+ yt.observe(w[w.length - 1]);
4953
+ }, Mr = () => {
4954
+ if (!f)
4955
+ return;
4899
4956
  let m = {};
4900
4957
  f.split(",").forEach((L) => {
4901
4958
  let C = L.split(":");
4902
4959
  m[C[0].trim()] = C[1].trim();
4903
4960
  }), ue = be(be({}, ue), m);
4904
- }, Cr = () => {
4905
- xo(s);
4961
+ }, Dr = () => {
4962
+ So(a);
4906
4963
  };
4907
- ti(() => () => {
4908
- mt.unobserve(w[w.length - 1]);
4964
+ oi(() => () => {
4965
+ yt.unobserve(w[w.length - 1]);
4909
4966
  });
4910
- function Nr(m, L) {
4967
+ function Ur(m, L) {
4911
4968
  Ae[m ? "unshift" : "push"](() => {
4912
4969
  w[L] = m, r(3, w);
4913
4970
  });
4914
4971
  }
4915
- function Rr(m) {
4972
+ function $r(m) {
4916
4973
  Ae[m ? "unshift" : "push"](() => {
4917
4974
  g = m, r(2, g);
4918
4975
  });
4919
4976
  }
4920
4977
  return e.$$set = (m) => {
4921
- "lang" in m && r(0, s = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
4978
+ "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
4922
4979
  }, e.$$.update = () => {
4923
4980
  e.$$.dirty[0] & /*customcurrencysymbols*/
4924
- 65536 && f && Or(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4925
- 61440 && u && a && l && h && Ar(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4926
- 56 && w[0] && !U && !ye && Br(), e.$$.dirty[0] & /*lang*/
4927
- 1 && s && Cr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4928
- 262148 && y && g && vo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4929
- 524292 && d && g && _o(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4930
- 1048580 && v && g && Eo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4931
- 2097156 && H && g && wr();
4981
+ 65536 && f && Mr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4982
+ 61440 && u && s && l && h && Br(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4983
+ 56 && w[0] && !U && !ye && Rr(), e.$$.dirty[0] & /*lang*/
4984
+ 1 && a && Dr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4985
+ 262148 && y && g && xo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4986
+ 524292 && d && g && To(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4987
+ 1048580 && v && g && Lo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4988
+ 2097156 && H && g && Ir();
4932
4989
  }, [
4933
- s,
4990
+ a,
4934
4991
  c,
4935
4992
  g,
4936
4993
  w,
@@ -4941,8 +4998,8 @@ function Io(e, t, r) {
4941
4998
  Re,
4942
4999
  i,
4943
5000
  o,
4944
- Ir,
4945
- a,
5001
+ Nr,
5002
+ s,
4946
5003
  l,
4947
5004
  u,
4948
5005
  h,
@@ -4952,18 +5009,18 @@ function Io(e, t, r) {
4952
5009
  d,
4953
5010
  v,
4954
5011
  H,
4955
- Nr,
4956
- Rr
5012
+ Ur,
5013
+ $r
4957
5014
  ];
4958
5015
  }
4959
- class Sr extends fi {
5016
+ class Hr extends yi {
4960
5017
  constructor(t) {
4961
- super(), hi(
5018
+ super(), pi(
4962
5019
  this,
4963
5020
  t,
4964
- Io,
4965
- Ho,
4966
- Wt,
5021
+ Co,
5022
+ Oo,
5023
+ Zt,
4967
5024
  {
4968
5025
  lang: 0,
4969
5026
  userid: 12,
@@ -4978,7 +5035,7 @@ class Sr extends fi {
4978
5035
  mbsource: 20,
4979
5036
  translationurl: 21
4980
5037
  },
4981
- To,
5038
+ wo,
4982
5039
  [-1, -1]
4983
5040
  );
4984
5041
  }
@@ -5055,59 +5112,59 @@ class Sr extends fi {
5055
5112
  this.$$set({ translationurl: t }), O();
5056
5113
  }
5057
5114
  }
5058
- ci(Sr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5059
- const zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5115
+ di(Hr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5116
+ const Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5060
5117
  __proto__: null,
5061
- default: Sr
5118
+ default: Hr
5062
5119
  }, Symbol.toStringTag, { value: "Module" }));
5063
5120
  export {
5064
5121
  se as $,
5065
- Fo as A,
5066
- Ye as B,
5067
- $e as C,
5068
- Go as D,
5069
- vo as E,
5070
- _o as F,
5071
- Eo as G,
5072
- ci as H,
5073
- go as I,
5122
+ Tt as A,
5123
+ jo as B,
5124
+ ei as C,
5125
+ ne as D,
5126
+ Je as E,
5127
+ Vo as F,
5128
+ _o as G,
5129
+ $e as H,
5130
+ ko as I,
5074
5131
  pe as J,
5075
- Wo as K,
5076
- si as L,
5077
- Vo as M,
5078
- Xo as N,
5079
- ko as O,
5080
- Do as P,
5081
- Oo as Q,
5082
- No as R,
5083
- fi as S,
5084
- Ro as T,
5085
- Co as U,
5086
- zo as V,
5087
- _r as a,
5088
- zr as b,
5089
- T as c,
5090
- V as d,
5091
- z as e,
5132
+ Zo as K,
5133
+ zo as L,
5134
+ hi as M,
5135
+ Qo as N,
5136
+ Xo as O,
5137
+ Go as P,
5138
+ Ro as Q,
5139
+ Do as R,
5140
+ yi as S,
5141
+ Uo as T,
5142
+ Mo as U,
5143
+ Yo as V,
5144
+ Lr as a,
5145
+ Jr as b,
5146
+ di as c,
5147
+ Qe as d,
5148
+ P as e,
5092
5149
  O as f,
5093
- P as g,
5094
- Ze as h,
5095
- hi as i,
5096
- x as j,
5097
- Xr as k,
5098
- bo as l,
5099
- jo as m,
5150
+ x as g,
5151
+ T as h,
5152
+ pi as i,
5153
+ z as j,
5154
+ V as k,
5155
+ Yr as l,
5156
+ Eo as m,
5100
5157
  B as n,
5101
- ti as o,
5102
- Ae as p,
5103
- _t as q,
5104
- Yr as r,
5105
- Wt as s,
5106
- Uo as t,
5107
- ne as u,
5108
- k as v,
5109
- $o as w,
5110
- Jr as x,
5111
- M as y,
5112
- Mo as z
5158
+ oi as o,
5159
+ To as p,
5160
+ Lo as q,
5161
+ Wo as r,
5162
+ Zt as s,
5163
+ Fo as t,
5164
+ Ae as u,
5165
+ xo as v,
5166
+ M as w,
5167
+ $o as x,
5168
+ ti as y,
5169
+ k as z
5113
5170
  };