@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.74.1 → 1.74.3

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