@everymatrix/general-icon-progress-bar 1.61.1 → 1.62.1

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.
@@ -1,24 +1,24 @@
1
1
  function T() {
2
2
  }
3
- function et(e) {
3
+ function rt(e) {
4
4
  return e();
5
5
  }
6
- function $e() {
6
+ function Ge() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function K(e) {
10
- e.forEach(et);
9
+ function ee(e) {
10
+ e.forEach(rt);
11
11
  }
12
- function Ie(e) {
12
+ function Le(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function tt(e, t) {
15
+ function nt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Lt(e) {
18
+ function Mt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function rt(e, ...t) {
21
+ function it(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function rt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Ct(e, t, r) {
31
- e.$$.on_destroy.push(rt(t, r));
30
+ function $t(e, t, r) {
31
+ e.$$.on_destroy.push(it(t, r));
32
32
  }
33
- function re(e, t) {
33
+ function ne(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function Mt(e, t, r) {
37
- const n = Rt(e);
36
+ function Rt(e, t, r) {
37
+ const n = Ut(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = Z("style");
40
- i.id = t, i.textContent = r, $t(n, i);
39
+ const i = Q("style");
40
+ i.id = t, i.textContent = r, Gt(n, i);
41
41
  }
42
42
  }
43
- function Rt(e) {
43
+ function Ut(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,36 +50,36 @@ function Rt(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function $t(e, t) {
54
- return re(
53
+ function Gt(e, t) {
54
+ return ne(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function nt(e, t, r) {
60
+ function st(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function we(e) {
63
+ function Ce(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function Z(e) {
66
+ function Q(e) {
67
67
  return document.createElement(e);
68
68
  }
69
- function Ut(e) {
69
+ function Dt(e) {
70
70
  return document.createTextNode(e);
71
71
  }
72
- function L(e, t, r) {
72
+ function C(e, t, r) {
73
73
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
74
74
  }
75
- function Gt(e) {
75
+ function Ft(e) {
76
76
  return Array.from(e.childNodes);
77
77
  }
78
- function Dt(e, t) {
78
+ function jt(e, t) {
79
79
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
80
80
  t);
81
81
  }
82
- function Ft(e) {
82
+ function Vt(e) {
83
83
  const t = {};
84
84
  return e.childNodes.forEach(
85
85
  /** @param {Element} node */
@@ -88,87 +88,87 @@ function Ft(e) {
88
88
  }
89
89
  ), t;
90
90
  }
91
- let Le;
92
- function Q(e) {
93
- Le = e;
91
+ let Me;
92
+ function J(e) {
93
+ Me = e;
94
94
  }
95
- const U = [], J = [];
96
- let G = [];
97
- const Ue = [], jt = /* @__PURE__ */ Promise.resolve();
98
- let ye = !1;
99
- function Vt() {
100
- ye || (ye = !0, jt.then(S));
95
+ const G = [], q = [];
96
+ let D = [];
97
+ const De = [], kt = /* @__PURE__ */ Promise.resolve();
98
+ let ve = !1;
99
+ function Xt() {
100
+ ve || (ve = !0, kt.then(A));
101
101
  }
102
- function _e(e) {
103
- G.push(e);
102
+ function He(e) {
103
+ D.push(e);
104
104
  }
105
- const pe = /* @__PURE__ */ new Set();
105
+ const be = /* @__PURE__ */ new Set();
106
106
  let R = 0;
107
- function S() {
107
+ function A() {
108
108
  if (R !== 0)
109
109
  return;
110
- const e = Le;
110
+ const e = Me;
111
111
  do {
112
112
  try {
113
- for (; R < U.length; ) {
114
- const t = U[R];
115
- R++, Q(t), kt(t.$$);
113
+ for (; R < G.length; ) {
114
+ const t = G[R];
115
+ R++, J(t), zt(t.$$);
116
116
  }
117
117
  } catch (t) {
118
- throw U.length = 0, R = 0, t;
118
+ throw G.length = 0, R = 0, t;
119
119
  }
120
- for (Q(null), U.length = 0, R = 0; J.length; )
121
- J.pop()();
122
- for (let t = 0; t < G.length; t += 1) {
123
- const r = G[t];
124
- pe.has(r) || (pe.add(r), r());
120
+ for (J(null), G.length = 0, R = 0; q.length; )
121
+ q.pop()();
122
+ for (let t = 0; t < D.length; t += 1) {
123
+ const r = D[t];
124
+ be.has(r) || (be.add(r), r());
125
125
  }
126
- G.length = 0;
127
- } while (U.length);
128
- for (; Ue.length; )
129
- Ue.pop()();
130
- ye = !1, pe.clear(), Q(e);
126
+ D.length = 0;
127
+ } while (G.length);
128
+ for (; De.length; )
129
+ De.pop()();
130
+ ve = !1, be.clear(), J(e);
131
131
  }
132
- function kt(e) {
132
+ function zt(e) {
133
133
  if (e.fragment !== null) {
134
- e.update(), K(e.before_update);
134
+ e.update(), ee(e.before_update);
135
135
  const t = e.dirty;
136
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
136
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
137
137
  }
138
138
  }
139
- function Xt(e) {
139
+ function Wt(e) {
140
140
  const t = [], r = [];
141
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
141
+ D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
142
142
  }
143
- const zt = /* @__PURE__ */ new Set();
144
- function Wt(e, t) {
145
- e && e.i && (zt.delete(e), e.i(t));
143
+ const Zt = /* @__PURE__ */ new Set();
144
+ function Qt(e, t) {
145
+ e && e.i && (Zt.delete(e), e.i(t));
146
146
  }
147
- function Zt(e, t, r) {
147
+ function Jt(e, t, r) {
148
148
  const { fragment: n, after_update: i } = e.$$;
149
- n && n.m(t, r), _e(() => {
150
- const s = e.$$.on_mount.map(et).filter(Ie);
151
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
152
- }), i.forEach(_e);
149
+ n && n.m(t, r), He(() => {
150
+ const s = e.$$.on_mount.map(rt).filter(Le);
151
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
152
+ }), i.forEach(He);
153
153
  }
154
- function Qt(e, t) {
154
+ function qt(e, t) {
155
155
  const r = e.$$;
156
- r.fragment !== null && (Xt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
156
+ r.fragment !== null && (Wt(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
157
157
  }
158
- function Jt(e, t) {
159
- e.$$.dirty[0] === -1 && (U.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
158
+ function Yt(e, t) {
159
+ e.$$.dirty[0] === -1 && (G.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
160
160
  }
161
- function qt(e, t, r, n, i, s, a = null, o = [-1]) {
162
- const l = Le;
163
- Q(e);
164
- const h = e.$$ = {
161
+ function Kt(e, t, r, n, i, s, a = null, o = [-1]) {
162
+ const l = Me;
163
+ J(e);
164
+ const u = e.$$ = {
165
165
  fragment: null,
166
166
  ctx: [],
167
167
  // state
168
168
  props: s,
169
169
  update: T,
170
170
  not_equal: i,
171
- bound: $e(),
171
+ bound: Ge(),
172
172
  // lifecycle
173
173
  on_mount: [],
174
174
  on_destroy: [],
@@ -177,28 +177,28 @@ function qt(e, t, r, n, i, s, a = null, o = [-1]) {
177
177
  after_update: [],
178
178
  context: new Map(t.context || (l ? l.$$.context : [])),
179
179
  // everything else
180
- callbacks: $e(),
180
+ callbacks: Ge(),
181
181
  dirty: o,
182
182
  skip_bound: !1,
183
183
  root: t.target || l.$$.root
184
184
  };
185
- a && a(h.root);
186
- let u = !1;
187
- if (h.ctx = r ? r(e, t.props || {}, (c, f, ...x) => {
188
- const g = x.length ? x[0] : f;
189
- return h.ctx && i(h.ctx[c], h.ctx[c] = g) && (!h.skip_bound && h.bound[c] && h.bound[c](g), u && Jt(e, c)), f;
190
- }) : [], h.update(), u = !0, K(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
185
+ a && a(u.root);
186
+ let h = !1;
187
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
188
+ const d = g.length ? g[0] : f;
189
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Yt(e, c)), f;
190
+ }) : [], u.update(), h = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
191
191
  if (t.hydrate) {
192
- const c = Gt(t.target);
193
- h.fragment && h.fragment.l(c), c.forEach(we);
192
+ const c = Ft(t.target);
193
+ u.fragment && u.fragment.l(c), c.forEach(Ce);
194
194
  } else
195
- h.fragment && h.fragment.c();
196
- t.intro && Wt(e.$$.fragment), Zt(e, t.target, t.anchor), S();
195
+ u.fragment && u.fragment.c();
196
+ t.intro && Qt(e.$$.fragment), Jt(e, t.target, t.anchor), A();
197
197
  }
198
- Q(l);
198
+ J(l);
199
199
  }
200
- let it;
201
- typeof HTMLElement == "function" && (it = class extends HTMLElement {
200
+ let ot;
201
+ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
202
202
  /** The Svelte component constructor */
203
203
  $$ctor;
204
204
  /** Slots */
@@ -240,29 +240,29 @@ typeof HTMLElement == "function" && (it = class extends HTMLElement {
240
240
  let s;
241
241
  return {
242
242
  c: function() {
243
- s = Z("slot"), i !== "default" && L(s, "name", i);
243
+ s = Q("slot"), i !== "default" && C(s, "name", i);
244
244
  },
245
245
  /**
246
246
  * @param {HTMLElement} target
247
247
  * @param {HTMLElement} [anchor]
248
248
  */
249
- m: function(l, h) {
250
- nt(l, s, h);
249
+ m: function(l, u) {
250
+ st(l, s, u);
251
251
  },
252
252
  d: function(l) {
253
- l && we(s);
253
+ l && Ce(s);
254
254
  }
255
255
  };
256
256
  };
257
257
  };
258
258
  if (await Promise.resolve(), !this.$$cn || this.$$c)
259
259
  return;
260
- const t = {}, r = Ft(this);
260
+ const t = {}, r = Vt(this);
261
261
  for (const i of this.$$s)
262
262
  i in r && (t[i] = [e(i)]);
263
263
  for (const i of this.attributes) {
264
264
  const s = this.$$g_p(i.name);
265
- s in this.$$d || (this.$$d[s] = ne(s, i.value, this.$$p_d, "toProp"));
265
+ s in this.$$d || (this.$$d[s] = ie(s, i.value, this.$$p_d, "toProp"));
266
266
  }
267
267
  for (const i in this.$$p_d)
268
268
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -280,7 +280,7 @@ typeof HTMLElement == "function" && (it = class extends HTMLElement {
280
280
  this.$$r = !0;
281
281
  for (const i in this.$$p_d)
282
282
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
283
- const s = ne(
283
+ const s = ie(
284
284
  i,
285
285
  this.$$d[i],
286
286
  this.$$p_d,
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (it = class extends HTMLElement {
302
302
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
303
303
  // and setting attributes through setAttribute etc, this is helpful
304
304
  attributeChangedCallback(e, t, r) {
305
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
305
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
306
306
  }
307
307
  disconnectedCallback() {
308
308
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -315,7 +315,7 @@ typeof HTMLElement == "function" && (it = class extends HTMLElement {
315
315
  ) || e;
316
316
  }
317
317
  });
318
- function ne(e, t, r, n) {
318
+ function ie(e, t, r, n) {
319
319
  const i = r[e]?.type;
320
320
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
321
321
  return t;
@@ -344,8 +344,8 @@ function ne(e, t, r, n) {
344
344
  return t;
345
345
  }
346
346
  }
347
- function Yt(e, t, r, n, i, s) {
348
- let a = class extends it {
347
+ function er(e, t, r, n, i, s) {
348
+ let a = class extends ot {
349
349
  constructor() {
350
350
  super(e, r, i), this.$$p_d = t;
351
351
  }
@@ -361,7 +361,7 @@ function Yt(e, t, r, n, i, s) {
361
361
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
362
362
  },
363
363
  set(l) {
364
- l = ne(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
364
+ l = ie(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
365
365
  }
366
366
  });
367
367
  }), n.forEach((o) => {
@@ -373,7 +373,7 @@ function Yt(e, t, r, n, i, s) {
373
373
  }), e.element = /** @type {any} */
374
374
  a, a;
375
375
  }
376
- class Kt {
376
+ class tr {
377
377
  /**
378
378
  * ### PRIVATE API
379
379
  *
@@ -392,7 +392,7 @@ class Kt {
392
392
  $$set = void 0;
393
393
  /** @returns {void} */
394
394
  $destroy() {
395
- Qt(this, 1), this.$destroy = T;
395
+ qt(this, 1), this.$destroy = T;
396
396
  }
397
397
  /**
398
398
  * @template {Extract<keyof Events, string>} K
@@ -401,7 +401,7 @@ class Kt {
401
401
  * @returns {() => void}
402
402
  */
403
403
  $on(t, r) {
404
- if (!Ie(r))
404
+ if (!Le(r))
405
405
  return T;
406
406
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
407
407
  return n.push(r), () => {
@@ -414,29 +414,29 @@ class Kt {
414
414
  * @returns {void}
415
415
  */
416
416
  $set(t) {
417
- this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
417
+ this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
418
418
  }
419
419
  }
420
- const er = "4";
421
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
422
- const $ = [];
423
- function tr(e, t) {
420
+ const rr = "4";
421
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rr);
422
+ const U = [];
423
+ function nr(e, t) {
424
424
  return {
425
- subscribe: he(e, t).subscribe
425
+ subscribe: le(e, t).subscribe
426
426
  };
427
427
  }
428
- function he(e, t = T) {
428
+ function le(e, t = T) {
429
429
  let r;
430
430
  const n = /* @__PURE__ */ new Set();
431
431
  function i(o) {
432
- if (tt(e, o) && (e = o, r)) {
433
- const l = !$.length;
434
- for (const h of n)
435
- h[1](), $.push(h, e);
432
+ if (nt(e, o) && (e = o, r)) {
433
+ const l = !U.length;
434
+ for (const u of n)
435
+ u[1](), U.push(u, e);
436
436
  if (l) {
437
- for (let h = 0; h < $.length; h += 2)
438
- $[h][0]($[h + 1]);
439
- $.length = 0;
437
+ for (let u = 0; u < U.length; u += 2)
438
+ U[u][0](U[u + 1]);
439
+ U.length = 0;
440
440
  }
441
441
  }
442
442
  }
@@ -444,160 +444,146 @@ function he(e, t = T) {
444
444
  i(o(e));
445
445
  }
446
446
  function a(o, l = T) {
447
- const h = [o, l];
448
- return n.add(h), n.size === 1 && (r = t(i, s) || T), o(e), () => {
449
- n.delete(h), n.size === 0 && r && (r(), r = null);
447
+ const u = [o, l];
448
+ return n.add(u), n.size === 1 && (r = t(i, s) || T), o(e), () => {
449
+ n.delete(u), n.size === 0 && r && (r(), r = null);
450
450
  };
451
451
  }
452
452
  return { set: i, update: s, subscribe: a };
453
453
  }
454
- function k(e, t, r) {
454
+ function X(e, t, r) {
455
455
  const n = !Array.isArray(e), i = n ? [e] : e;
456
456
  if (!i.every(Boolean))
457
457
  throw new Error("derived() expects stores as input, got a falsy value");
458
458
  const s = t.length < 2;
459
- return tr(r, (a, o) => {
459
+ return nr(r, (a, o) => {
460
460
  let l = !1;
461
- const h = [];
462
- let u = 0, c = T;
461
+ const u = [];
462
+ let h = 0, c = T;
463
463
  const f = () => {
464
- if (u)
464
+ if (h)
465
465
  return;
466
466
  c();
467
- const g = t(n ? h[0] : h, a, o);
468
- s ? a(g) : c = Ie(g) ? g : T;
469
- }, x = i.map(
470
- (g, y) => rt(
471
- g,
467
+ const d = t(n ? u[0] : u, a, o);
468
+ s ? a(d) : c = Le(d) ? d : T;
469
+ }, g = i.map(
470
+ (d, y) => it(
471
+ d,
472
472
  (H) => {
473
- h[y] = H, u &= ~(1 << y), l && f();
473
+ u[y] = H, h &= ~(1 << y), l && f();
474
474
  },
475
475
  () => {
476
- u |= 1 << y;
476
+ h |= 1 << y;
477
477
  }
478
478
  )
479
479
  );
480
480
  return l = !0, f(), function() {
481
- K(x), c(), l = !1;
481
+ ee(g), c(), l = !1;
482
482
  };
483
483
  });
484
484
  }
485
- function rr(e) {
485
+ function ir(e) {
486
486
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
487
487
  }
488
- var nr = function(t) {
489
- return ir(t) && !sr(t);
488
+ var sr = function(t) {
489
+ return or(t) && !ar(t);
490
490
  };
491
- function ir(e) {
491
+ function or(e) {
492
492
  return !!e && typeof e == "object";
493
493
  }
494
- function sr(e) {
494
+ function ar(e) {
495
495
  var t = Object.prototype.toString.call(e);
496
- return t === "[object RegExp]" || t === "[object Date]" || hr(e);
496
+ return t === "[object RegExp]" || t === "[object Date]" || lr(e);
497
497
  }
498
- var or = typeof Symbol == "function" && Symbol.for, ar = or ? Symbol.for("react.element") : 60103;
499
- function hr(e) {
500
- return e.$$typeof === ar;
498
+ var ur = typeof Symbol == "function" && Symbol.for, hr = ur ? Symbol.for("react.element") : 60103;
499
+ function lr(e) {
500
+ return e.$$typeof === hr;
501
501
  }
502
- function ur(e) {
502
+ function fr(e) {
503
503
  return Array.isArray(e) ? [] : {};
504
504
  }
505
- function q(e, t) {
506
- return t.clone !== !1 && t.isMergeableObject(e) ? D(ur(e), e, t) : e;
505
+ function Y(e, t) {
506
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(fr(e), e, t) : e;
507
507
  }
508
- function lr(e, t, r) {
508
+ function cr(e, t, r) {
509
509
  return e.concat(t).map(function(n) {
510
- return q(n, r);
510
+ return Y(n, r);
511
511
  });
512
512
  }
513
- function fr(e, t) {
513
+ function pr(e, t) {
514
514
  if (!t.customMerge)
515
- return D;
515
+ return F;
516
516
  var r = t.customMerge(e);
517
- return typeof r == "function" ? r : D;
517
+ return typeof r == "function" ? r : F;
518
518
  }
519
- function cr(e) {
519
+ function mr(e) {
520
520
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
521
521
  return Object.propertyIsEnumerable.call(e, t);
522
522
  }) : [];
523
523
  }
524
- function Ge(e) {
525
- return Object.keys(e).concat(cr(e));
524
+ function Fe(e) {
525
+ return Object.keys(e).concat(mr(e));
526
526
  }
527
- function st(e, t) {
527
+ function at(e, t) {
528
528
  try {
529
529
  return t in e;
530
530
  } catch {
531
531
  return !1;
532
532
  }
533
533
  }
534
- function pr(e, t) {
535
- return st(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
534
+ function br(e, t) {
535
+ return at(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
536
536
  }
537
- function mr(e, t, r) {
537
+ function dr(e, t, r) {
538
538
  var n = {};
539
- return r.isMergeableObject(e) && Ge(e).forEach(function(i) {
540
- n[i] = q(e[i], r);
541
- }), Ge(t).forEach(function(i) {
542
- pr(e, i) || (st(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
539
+ return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
540
+ n[i] = Y(e[i], r);
541
+ }), Fe(t).forEach(function(i) {
542
+ br(e, i) || (at(e, i) && r.isMergeableObject(t[i]) ? n[i] = pr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
543
543
  }), n;
544
544
  }
545
- function D(e, t, r) {
546
- r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = q;
545
+ function F(e, t, r) {
546
+ r = r || {}, r.arrayMerge = r.arrayMerge || cr, r.isMergeableObject = r.isMergeableObject || sr, r.cloneUnlessOtherwiseSpecified = Y;
547
547
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
548
- return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : q(t, r);
548
+ return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : Y(t, r);
549
549
  }
550
- D.all = function(t, r) {
550
+ F.all = function(t, r) {
551
551
  if (!Array.isArray(t))
552
552
  throw new Error("first argument should be an array");
553
553
  return t.reduce(function(n, i) {
554
- return D(n, i, r);
554
+ return F(n, i, r);
555
555
  }, {});
556
556
  };
557
- var br = D, dr = br;
558
- const gr = /* @__PURE__ */ rr(dr);
559
- /*! *****************************************************************************
560
- Copyright (c) Microsoft Corporation.
561
-
562
- Permission to use, copy, modify, and/or distribute this software for any
563
- purpose with or without fee is hereby granted.
564
-
565
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
566
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
567
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
568
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
569
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
570
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
571
- PERFORMANCE OF THIS SOFTWARE.
572
- ***************************************************************************** */
573
- var ve = function(e, t) {
574
- return ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
557
+ var gr = F, xr = gr;
558
+ const Er = /* @__PURE__ */ ir(xr);
559
+ var Te = function(e, t) {
560
+ return Te = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
575
561
  r.__proto__ = n;
576
562
  } || function(r, n) {
577
563
  for (var i in n)
578
564
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
579
- }, ve(e, t);
565
+ }, Te(e, t);
580
566
  };
581
- function ue(e, t) {
567
+ function fe(e, t) {
582
568
  if (typeof t != "function" && t !== null)
583
569
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
584
- ve(e, t);
570
+ Te(e, t);
585
571
  function r() {
586
572
  this.constructor = e;
587
573
  }
588
574
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
589
575
  }
590
- var d = function() {
591
- return d = Object.assign || function(t) {
576
+ var P = function() {
577
+ return P = Object.assign || function(t) {
592
578
  for (var r, n = 1, i = arguments.length; n < i; n++) {
593
579
  r = arguments[n];
594
580
  for (var s in r)
595
581
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
596
582
  }
597
583
  return t;
598
- }, d.apply(this, arguments);
584
+ }, P.apply(this, arguments);
599
585
  };
600
- function xr(e, t) {
586
+ function yr(e, t) {
601
587
  var r = {};
602
588
  for (var n in e)
603
589
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -606,43 +592,43 @@ function xr(e, t) {
606
592
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
607
593
  return r;
608
594
  }
609
- function me(e, t, r) {
610
- if (arguments.length === 2)
595
+ function de(e, t, r) {
596
+ if (r || arguments.length === 2)
611
597
  for (var n = 0, i = t.length, s; n < i; n++)
612
598
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
613
- return e.concat(s || t);
599
+ return e.concat(s || Array.prototype.slice.call(t));
614
600
  }
615
- function be(e, t) {
616
- var r = t && t.cache ? t.cache : Br, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : _r;
601
+ function ge(e, t) {
602
+ var r = t && t.cache ? t.cache : Ar, n = t && t.serializer ? t.serializer : Br, i = t && t.strategy ? t.strategy : Hr;
617
603
  return i(e, {
618
604
  cache: r,
619
605
  serializer: n
620
606
  });
621
607
  }
622
- function Er(e) {
608
+ function _r(e) {
623
609
  return e == null || typeof e == "number" || typeof e == "boolean";
624
610
  }
625
- function yr(e, t, r, n) {
626
- var i = Er(n) ? n : r(n), s = t.get(i);
611
+ function vr(e, t, r, n) {
612
+ var i = _r(n) ? n : r(n), s = t.get(i);
627
613
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
628
614
  }
629
- function ot(e, t, r) {
615
+ function ut(e, t, r) {
630
616
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
631
617
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
632
618
  }
633
- function at(e, t, r, n, i) {
619
+ function ht(e, t, r, n, i) {
634
620
  return r.bind(t, e, n, i);
635
621
  }
636
- function _r(e, t) {
637
- var r = e.length === 1 ? yr : ot;
638
- return at(e, this, r, t.cache.create(), t.serializer);
622
+ function Hr(e, t) {
623
+ var r = e.length === 1 ? vr : ut;
624
+ return ht(e, this, r, t.cache.create(), t.serializer);
639
625
  }
640
- function vr(e, t) {
641
- return at(e, this, ot, t.cache.create(), t.serializer);
626
+ function Tr(e, t) {
627
+ return ht(e, this, ut, t.cache.create(), t.serializer);
642
628
  }
643
- var Hr = function() {
629
+ var Br = function() {
644
630
  return JSON.stringify(arguments);
645
- }, Tr = (
631
+ }, Sr = (
646
632
  /** @class */
647
633
  function() {
648
634
  function e() {
@@ -654,61 +640,71 @@ var Hr = function() {
654
640
  this.cache[t] = r;
655
641
  }, e;
656
642
  }()
657
- ), Br = {
643
+ ), Ar = {
658
644
  create: function() {
659
- return new Tr();
645
+ return new Sr();
660
646
  }
661
- }, de = {
662
- variadic: vr
663
- }, m;
647
+ }, xe = {
648
+ variadic: Tr
649
+ }, ae = function() {
650
+ return ae = Object.assign || function(t) {
651
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
652
+ r = arguments[n];
653
+ for (var s in r)
654
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
655
+ }
656
+ return t;
657
+ }, ae.apply(this, arguments);
658
+ };
659
+ var m;
664
660
  (function(e) {
665
661
  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";
666
662
  })(m || (m = {}));
667
- var E;
663
+ var x;
668
664
  (function(e) {
669
665
  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";
670
- })(E || (E = {}));
671
- var F;
666
+ })(x || (x = {}));
667
+ var j;
672
668
  (function(e) {
673
669
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
674
- })(F || (F = {}));
675
- function De(e) {
676
- return e.type === E.literal;
677
- }
678
- function Ar(e) {
679
- return e.type === E.argument;
680
- }
681
- function ht(e) {
682
- return e.type === E.number;
670
+ })(j || (j = {}));
671
+ function je(e) {
672
+ return e.type === x.literal;
683
673
  }
684
- function ut(e) {
685
- return e.type === E.date;
674
+ function Pr(e) {
675
+ return e.type === x.argument;
686
676
  }
687
677
  function lt(e) {
688
- return e.type === E.time;
678
+ return e.type === x.number;
689
679
  }
690
680
  function ft(e) {
691
- return e.type === E.select;
681
+ return e.type === x.date;
692
682
  }
693
683
  function ct(e) {
694
- return e.type === E.plural;
695
- }
696
- function Sr(e) {
697
- return e.type === E.pound;
684
+ return e.type === x.time;
698
685
  }
699
686
  function pt(e) {
700
- return e.type === E.tag;
687
+ return e.type === x.select;
701
688
  }
702
689
  function mt(e) {
703
- return !!(e && typeof e == "object" && e.type === F.number);
690
+ return e.type === x.plural;
704
691
  }
705
- function He(e) {
706
- return !!(e && typeof e == "object" && e.type === F.dateTime);
707
- }
708
- var bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pr = /(?:[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;
709
692
  function Or(e) {
693
+ return e.type === x.pound;
694
+ }
695
+ function bt(e) {
696
+ return e.type === x.tag;
697
+ }
698
+ function dt(e) {
699
+ return !!(e && typeof e == "object" && e.type === j.number);
700
+ }
701
+ function Be(e) {
702
+ return !!(e && typeof e == "object" && e.type === j.dateTime);
703
+ }
704
+ var gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nr = /(?:[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;
705
+ function wr(e) {
710
706
  var t = {};
711
- return e.replace(Pr, function(r) {
707
+ return e.replace(Nr, function(r) {
712
708
  var n = r.length;
713
709
  switch (r[0]) {
714
710
  case "G":
@@ -797,18 +793,28 @@ function Or(e) {
797
793
  return "";
798
794
  }), t;
799
795
  }
800
- var Nr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
801
- function Ir(e) {
796
+ var E = function() {
797
+ return E = Object.assign || function(t) {
798
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
799
+ r = arguments[n];
800
+ for (var s in r)
801
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
802
+ }
803
+ return t;
804
+ }, E.apply(this, arguments);
805
+ };
806
+ var Ir = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
807
+ function Lr(e) {
802
808
  if (e.length === 0)
803
809
  throw new Error("Number skeleton cannot be empty");
804
- for (var t = e.split(Nr).filter(function(f) {
810
+ for (var t = e.split(Ir).filter(function(f) {
805
811
  return f.length > 0;
806
812
  }), r = [], n = 0, i = t; n < i.length; n++) {
807
813
  var s = i[n], a = s.split("/");
808
814
  if (a.length === 0)
809
815
  throw new Error("Invalid number skeleton");
810
- for (var o = a[0], l = a.slice(1), h = 0, u = l; h < u.length; h++) {
811
- var c = u[h];
816
+ for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
817
+ var c = h[u];
812
818
  if (c.length === 0)
813
819
  throw new Error("Invalid number skeleton");
814
820
  }
@@ -816,17 +822,17 @@ function Ir(e) {
816
822
  }
817
823
  return r;
818
824
  }
819
- function wr(e) {
825
+ function Cr(e) {
820
826
  return e.replace(/^(.*?)-/, "");
821
827
  }
822
- var Fe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dt = /^(@+)?(\+|#+)?[rs]?$/g, Lr = /(\*)(0+)|(#+)(0+)|(0+)/g, gt = /^(0+)$/;
823
- function je(e) {
828
+ var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Mr = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
829
+ function ke(e) {
824
830
  var t = {};
825
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dt, function(r, n, i) {
831
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
826
832
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
827
833
  }), t;
828
834
  }
829
- function xt(e) {
835
+ function yt(e) {
830
836
  switch (e) {
831
837
  case "sign-auto":
832
838
  return {
@@ -866,7 +872,7 @@ function xt(e) {
866
872
  };
867
873
  }
868
874
  }
869
- function Cr(e) {
875
+ function $r(e) {
870
876
  var t;
871
877
  if (e[0] === "E" && e[1] === "E" ? (t = {
872
878
  notation: "engineering"
@@ -874,17 +880,17 @@ function Cr(e) {
874
880
  notation: "scientific"
875
881
  }, e = e.slice(1)), t) {
876
882
  var r = e.slice(0, 2);
877
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gt.test(e))
883
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Et.test(e))
878
884
  throw new Error("Malformed concise eng/scientific notation");
879
885
  t.minimumIntegerDigits = e.length;
880
886
  }
881
887
  return t;
882
888
  }
883
- function Ve(e) {
884
- var t = {}, r = xt(e);
889
+ function Xe(e) {
890
+ var t = {}, r = yt(e);
885
891
  return r || t;
886
892
  }
887
- function Mr(e) {
893
+ function Rr(e) {
888
894
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
889
895
  var i = n[r];
890
896
  switch (i.stem) {
@@ -908,7 +914,7 @@ function Mr(e) {
908
914
  continue;
909
915
  case "measure-unit":
910
916
  case "unit":
911
- t.style = "unit", t.unit = wr(i.options[0]);
917
+ t.style = "unit", t.unit = Cr(i.options[0]);
912
918
  continue;
913
919
  case "compact-short":
914
920
  case "K":
@@ -919,13 +925,13 @@ function Mr(e) {
919
925
  t.notation = "compact", t.compactDisplay = "long";
920
926
  continue;
921
927
  case "scientific":
922
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
923
- return d(d({}, l), Ve(h));
928
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
929
+ return E(E({}, l), Xe(u));
924
930
  }, {}));
925
931
  continue;
926
932
  case "engineering":
927
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
928
- return d(d({}, l), Ve(h));
933
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
934
+ return E(E({}, l), Xe(u));
929
935
  }, {}));
930
936
  continue;
931
937
  case "notation-simple":
@@ -970,45 +976,45 @@ function Mr(e) {
970
976
  case "integer-width":
971
977
  if (i.options.length > 1)
972
978
  throw new RangeError("integer-width stems only accept a single optional option");
973
- i.options[0].replace(Lr, function(l, h, u, c, f, x) {
974
- if (h)
975
- t.minimumIntegerDigits = u.length;
979
+ i.options[0].replace(Mr, function(l, u, h, c, f, g) {
980
+ if (u)
981
+ t.minimumIntegerDigits = h.length;
976
982
  else {
977
983
  if (c && f)
978
984
  throw new Error("We currently do not support maximum integer digits");
979
- if (x)
985
+ if (g)
980
986
  throw new Error("We currently do not support exact integer digits");
981
987
  }
982
988
  return "";
983
989
  });
984
990
  continue;
985
991
  }
986
- if (gt.test(i.stem)) {
992
+ if (Et.test(i.stem)) {
987
993
  t.minimumIntegerDigits = i.stem.length;
988
994
  continue;
989
995
  }
990
- if (Fe.test(i.stem)) {
996
+ if (Ve.test(i.stem)) {
991
997
  if (i.options.length > 1)
992
998
  throw new RangeError("Fraction-precision stems only accept a single optional option");
993
- i.stem.replace(Fe, function(l, h, u, c, f, x) {
994
- return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && x ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + x.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
999
+ i.stem.replace(Ve, function(l, u, h, c, f, g) {
1000
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
995
1001
  });
996
1002
  var s = i.options[0];
997
- s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), je(s)));
1003
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ke(s)));
998
1004
  continue;
999
1005
  }
1000
- if (dt.test(i.stem)) {
1001
- t = d(d({}, t), je(i.stem));
1006
+ if (xt.test(i.stem)) {
1007
+ t = E(E({}, t), ke(i.stem));
1002
1008
  continue;
1003
1009
  }
1004
- var a = xt(i.stem);
1005
- a && (t = d(d({}, t), a));
1006
- var o = Cr(i.stem);
1007
- o && (t = d(d({}, t), o));
1010
+ var a = yt(i.stem);
1011
+ a && (t = E(E({}, t), a));
1012
+ var o = $r(i.stem);
1013
+ o && (t = E(E({}, t), o));
1008
1014
  }
1009
1015
  return t;
1010
1016
  }
1011
- var te = {
1017
+ var re = {
1012
1018
  "001": [
1013
1019
  "H",
1014
1020
  "h"
@@ -2423,23 +2429,23 @@ var te = {
2423
2429
  "h"
2424
2430
  ]
2425
2431
  };
2426
- function Rr(e, t) {
2432
+ function Ur(e, t) {
2427
2433
  for (var r = "", n = 0; n < e.length; n++) {
2428
2434
  var i = e.charAt(n);
2429
2435
  if (i === "j") {
2430
2436
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2431
2437
  s++, n++;
2432
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", h = $r(t);
2433
- for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
2438
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Gr(t);
2439
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2434
2440
  r += l;
2435
2441
  for (; a-- > 0; )
2436
- r = h + r;
2442
+ r = u + r;
2437
2443
  } else
2438
2444
  i === "J" ? r += "H" : r += i;
2439
2445
  }
2440
2446
  return r;
2441
2447
  }
2442
- function $r(e) {
2448
+ function Gr(e) {
2443
2449
  var t = e.hourCycle;
2444
2450
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2445
2451
  e.hourCycles && // @ts-ignore
@@ -2458,23 +2464,23 @@ function $r(e) {
2458
2464
  }
2459
2465
  var r = e.language, n;
2460
2466
  r !== "root" && (n = e.maximize().region);
2461
- var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
2467
+ var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
2462
2468
  return i[0];
2463
2469
  }
2464
- var ge, Ur = new RegExp("^".concat(bt.source, "*")), Gr = new RegExp("".concat(bt.source, "*$"));
2470
+ var Ee, Dr = new RegExp("^".concat(gt.source, "*")), Fr = new RegExp("".concat(gt.source, "*$"));
2465
2471
  function b(e, t) {
2466
2472
  return { start: e, end: t };
2467
2473
  }
2468
- var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fr = !!String.fromCodePoint, jr = !!Object.fromEntries, Vr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Xr = !!String.prototype.trimEnd, zr = !!Number.isSafeInteger, Wr = zr ? Number.isSafeInteger : function(e) {
2474
+ var jr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vr = !!String.fromCodePoint, kr = !!Object.fromEntries, Xr = !!String.prototype.codePointAt, zr = !!String.prototype.trimStart, Wr = !!String.prototype.trimEnd, Zr = !!Number.isSafeInteger, Qr = Zr ? Number.isSafeInteger : function(e) {
2469
2475
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2470
- }, Te = !0;
2476
+ }, Se = !0;
2471
2477
  try {
2472
- var Zr = yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2473
- Te = ((ge = Zr.exec("a")) === null || ge === void 0 ? void 0 : ge[0]) === "a";
2478
+ var Jr = vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2479
+ Se = ((Ee = Jr.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
2474
2480
  } catch {
2475
- Te = !1;
2481
+ Se = !1;
2476
2482
  }
2477
- var ke = Dr ? (
2483
+ var ze = jr ? (
2478
2484
  // Native
2479
2485
  function(t, r, n) {
2480
2486
  return t.startsWith(r, n);
@@ -2484,7 +2490,7 @@ var ke = Dr ? (
2484
2490
  function(t, r, n) {
2485
2491
  return t.slice(n, n + r.length) === r;
2486
2492
  }
2487
- ), Be = Fr ? String.fromCodePoint : (
2493
+ ), Ae = Vr ? String.fromCodePoint : (
2488
2494
  // IE11
2489
2495
  function() {
2490
2496
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2496,9 +2502,9 @@ var ke = Dr ? (
2496
2502
  }
2497
2503
  return n;
2498
2504
  }
2499
- ), Xe = (
2505
+ ), We = (
2500
2506
  // native
2501
- jr ? Object.fromEntries : (
2507
+ kr ? Object.fromEntries : (
2502
2508
  // Ponyfill
2503
2509
  function(t) {
2504
2510
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2508,7 +2514,7 @@ var ke = Dr ? (
2508
2514
  return r;
2509
2515
  }
2510
2516
  )
2511
- ), Et = Vr ? (
2517
+ ), _t = Xr ? (
2512
2518
  // Native
2513
2519
  function(t, r) {
2514
2520
  return t.codePointAt(r);
@@ -2522,7 +2528,7 @@ var ke = Dr ? (
2522
2528
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2523
2529
  }
2524
2530
  }
2525
- ), Qr = kr ? (
2531
+ ), qr = zr ? (
2526
2532
  // Native
2527
2533
  function(t) {
2528
2534
  return t.trimStart();
@@ -2530,9 +2536,9 @@ var ke = Dr ? (
2530
2536
  ) : (
2531
2537
  // Ponyfill
2532
2538
  function(t) {
2533
- return t.replace(Ur, "");
2539
+ return t.replace(Dr, "");
2534
2540
  }
2535
- ), Jr = Xr ? (
2541
+ ), Yr = Wr ? (
2536
2542
  // Native
2537
2543
  function(t) {
2538
2544
  return t.trimEnd();
@@ -2540,32 +2546,32 @@ var ke = Dr ? (
2540
2546
  ) : (
2541
2547
  // Ponyfill
2542
2548
  function(t) {
2543
- return t.replace(Gr, "");
2549
+ return t.replace(Fr, "");
2544
2550
  }
2545
2551
  );
2546
- function yt(e, t) {
2552
+ function vt(e, t) {
2547
2553
  return new RegExp(e, t);
2548
2554
  }
2549
- var Ae;
2550
- if (Te) {
2551
- var ze = yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2552
- Ae = function(t, r) {
2555
+ var Pe;
2556
+ if (Se) {
2557
+ var Ze = vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2558
+ Pe = function(t, r) {
2553
2559
  var n;
2554
- ze.lastIndex = r;
2555
- var i = ze.exec(t);
2560
+ Ze.lastIndex = r;
2561
+ var i = Ze.exec(t);
2556
2562
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2557
2563
  };
2558
2564
  } else
2559
- Ae = function(t, r) {
2565
+ Pe = function(t, r) {
2560
2566
  for (var n = []; ; ) {
2561
- var i = Et(t, r);
2562
- if (i === void 0 || _t(i) || en(i))
2567
+ var i = _t(t, r);
2568
+ if (i === void 0 || Ht(i) || rn(i))
2563
2569
  break;
2564
2570
  n.push(i), r += i >= 65536 ? 2 : 1;
2565
2571
  }
2566
- return Be.apply(void 0, n);
2572
+ return Ae.apply(void 0, n);
2567
2573
  };
2568
- var qr = (
2574
+ var Kr = (
2569
2575
  /** @class */
2570
2576
  function() {
2571
2577
  function e(t, r) {
@@ -2589,14 +2595,14 @@ var qr = (
2589
2595
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2590
2596
  var o = this.clonePosition();
2591
2597
  this.bump(), i.push({
2592
- type: E.pound,
2598
+ type: x.pound,
2593
2599
  location: b(o, this.clonePosition())
2594
2600
  });
2595
2601
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2596
2602
  if (n)
2597
2603
  break;
2598
2604
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2599
- } else if (s === 60 && !this.ignoreTag && Se(this.peek() || 0)) {
2605
+ } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2600
2606
  var a = this.parseTag(t, r);
2601
2607
  if (a.err)
2602
2608
  return a;
@@ -2617,7 +2623,7 @@ var qr = (
2617
2623
  if (this.bumpSpace(), this.bumpIf("/>"))
2618
2624
  return {
2619
2625
  val: {
2620
- type: E.literal,
2626
+ type: x.literal,
2621
2627
  value: "<".concat(i, "/>"),
2622
2628
  location: b(n, this.clonePosition())
2623
2629
  },
@@ -2629,12 +2635,12 @@ var qr = (
2629
2635
  return s;
2630
2636
  var a = s.val, o = this.clonePosition();
2631
2637
  if (this.bumpIf("</")) {
2632
- if (this.isEOF() || !Se(this.char()))
2638
+ if (this.isEOF() || !Oe(this.char()))
2633
2639
  return this.error(m.INVALID_TAG, b(o, this.clonePosition()));
2634
- var l = this.clonePosition(), h = this.parseTagName();
2635
- return i !== h ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2640
+ var l = this.clonePosition(), u = this.parseTagName();
2641
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2636
2642
  val: {
2637
- type: E.tag,
2643
+ type: x.tag,
2638
2644
  value: i,
2639
2645
  children: a,
2640
2646
  location: b(n, this.clonePosition())
@@ -2647,7 +2653,7 @@ var qr = (
2647
2653
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
2648
2654
  }, e.prototype.parseTagName = function() {
2649
2655
  var t = this.offset();
2650
- for (this.bump(); !this.isEOF() && Kr(this.char()); )
2656
+ for (this.bump(); !this.isEOF() && tn(this.char()); )
2651
2657
  this.bump();
2652
2658
  return this.message.slice(t, this.offset());
2653
2659
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2671,12 +2677,12 @@ var qr = (
2671
2677
  }
2672
2678
  var l = b(n, this.clonePosition());
2673
2679
  return {
2674
- val: { type: E.literal, value: i, location: l },
2680
+ val: { type: x.literal, value: i, location: l },
2675
2681
  err: null
2676
2682
  };
2677
2683
  }, e.prototype.tryParseLeftAngleBracket = function() {
2678
2684
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2679
- !Yr(this.peek() || 0)) ? (this.bump(), "<") : null;
2685
+ !en(this.peek() || 0)) ? (this.bump(), "<") : null;
2680
2686
  }, e.prototype.tryParseQuote = function(t) {
2681
2687
  if (this.isEOF() || this.char() !== 39)
2682
2688
  return null;
@@ -2710,12 +2716,12 @@ var qr = (
2710
2716
  r.push(n);
2711
2717
  this.bump();
2712
2718
  }
2713
- return Be.apply(void 0, r);
2719
+ return Ae.apply(void 0, r);
2714
2720
  }, e.prototype.tryParseUnquoted = function(t, r) {
2715
2721
  if (this.isEOF())
2716
2722
  return null;
2717
2723
  var n = this.char();
2718
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Be(n));
2724
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ae(n));
2719
2725
  }, e.prototype.parseArgument = function(t, r) {
2720
2726
  var n = this.clonePosition();
2721
2727
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2731,7 +2737,7 @@ var qr = (
2731
2737
  case 125:
2732
2738
  return this.bump(), {
2733
2739
  val: {
2734
- type: E.argument,
2740
+ type: x.argument,
2735
2741
  // value does not include the opening and closing braces.
2736
2742
  value: i,
2737
2743
  location: b(n, this.clonePosition())
@@ -2744,7 +2750,7 @@ var qr = (
2744
2750
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2745
2751
  }
2746
2752
  }, e.prototype.parseIdentifierIfPossible = function() {
2747
- var t = this.clonePosition(), r = this.offset(), n = Ae(this.message, r), i = r + n.length;
2753
+ var t = this.clonePosition(), r = this.offset(), n = Pe(this.message, r), i = r + n.length;
2748
2754
  this.bumpTo(i);
2749
2755
  var s = this.clonePosition(), a = b(t, s);
2750
2756
  return { value: n, location: a };
@@ -2757,53 +2763,53 @@ var qr = (
2757
2763
  case "date":
2758
2764
  case "time": {
2759
2765
  this.bumpSpace();
2760
- var h = null;
2766
+ var u = null;
2761
2767
  if (this.bumpIf(",")) {
2762
2768
  this.bumpSpace();
2763
- var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2769
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2764
2770
  if (c.err)
2765
2771
  return c;
2766
- var f = Jr(c.val);
2772
+ var f = Yr(c.val);
2767
2773
  if (f.length === 0)
2768
2774
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2769
- var x = b(u, this.clonePosition());
2770
- h = { style: f, styleLocation: x };
2775
+ var g = b(h, this.clonePosition());
2776
+ u = { style: f, styleLocation: g };
2771
2777
  }
2772
- var g = this.tryParseArgumentClose(i);
2773
- if (g.err)
2774
- return g;
2778
+ var d = this.tryParseArgumentClose(i);
2779
+ if (d.err)
2780
+ return d;
2775
2781
  var y = b(i, this.clonePosition());
2776
- if (h && ke(h?.style, "::", 0)) {
2777
- var H = Qr(h.style.slice(2));
2782
+ if (u && ze(u?.style, "::", 0)) {
2783
+ var H = qr(u.style.slice(2));
2778
2784
  if (o === "number") {
2779
- var c = this.parseNumberSkeletonFromString(H, h.styleLocation);
2785
+ var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
2780
2786
  return c.err ? c : {
2781
- val: { type: E.number, value: n, location: y, style: c.val },
2787
+ val: { type: x.number, value: n, location: y, style: c.val },
2782
2788
  err: null
2783
2789
  };
2784
2790
  } else {
2785
2791
  if (H.length === 0)
2786
2792
  return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
2787
2793
  var B = H;
2788
- this.locale && (B = Rr(H, this.locale));
2794
+ this.locale && (B = Ur(H, this.locale));
2789
2795
  var f = {
2790
- type: F.dateTime,
2796
+ type: j.dateTime,
2791
2797
  pattern: B,
2792
- location: h.styleLocation,
2793
- parsedOptions: this.shouldParseSkeletons ? Or(B) : {}
2794
- }, A = o === "date" ? E.date : E.time;
2798
+ location: u.styleLocation,
2799
+ parsedOptions: this.shouldParseSkeletons ? wr(B) : {}
2800
+ }, S = o === "date" ? x.date : x.time;
2795
2801
  return {
2796
- val: { type: A, value: n, location: y, style: f },
2802
+ val: { type: S, value: n, location: y, style: f },
2797
2803
  err: null
2798
2804
  };
2799
2805
  }
2800
2806
  }
2801
2807
  return {
2802
2808
  val: {
2803
- type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2809
+ type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2804
2810
  value: n,
2805
2811
  location: y,
2806
- style: (s = h?.style) !== null && s !== void 0 ? s : null
2812
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
2807
2813
  },
2808
2814
  err: null
2809
2815
  };
@@ -2813,41 +2819,41 @@ var qr = (
2813
2819
  case "select": {
2814
2820
  var v = this.clonePosition();
2815
2821
  if (this.bumpSpace(), !this.bumpIf(","))
2816
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, d({}, v)));
2822
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, ae({}, v)));
2817
2823
  this.bumpSpace();
2818
- var O = this.parseIdentifierIfPossible(), P = 0;
2819
- if (o !== "select" && O.value === "offset") {
2824
+ var N = this.parseIdentifierIfPossible(), O = 0;
2825
+ if (o !== "select" && N.value === "offset") {
2820
2826
  if (!this.bumpIf(":"))
2821
2827
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2822
2828
  this.bumpSpace();
2823
2829
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2824
2830
  if (c.err)
2825
2831
  return c;
2826
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = c.val;
2832
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = c.val;
2827
2833
  }
2828
- var M = this.tryParsePluralOrSelectOptions(t, o, r, O);
2829
- if (M.err)
2830
- return M;
2831
- var g = this.tryParseArgumentClose(i);
2832
- if (g.err)
2833
- return g;
2834
- var ee = b(i, this.clonePosition());
2834
+ var $ = this.tryParsePluralOrSelectOptions(t, o, r, N);
2835
+ if ($.err)
2836
+ return $;
2837
+ var d = this.tryParseArgumentClose(i);
2838
+ if (d.err)
2839
+ return d;
2840
+ var te = b(i, this.clonePosition());
2835
2841
  return o === "select" ? {
2836
2842
  val: {
2837
- type: E.select,
2843
+ type: x.select,
2838
2844
  value: n,
2839
- options: Xe(M.val),
2840
- location: ee
2845
+ options: We($.val),
2846
+ location: te
2841
2847
  },
2842
2848
  err: null
2843
2849
  } : {
2844
2850
  val: {
2845
- type: E.plural,
2851
+ type: x.plural,
2846
2852
  value: n,
2847
- options: Xe(M.val),
2848
- offset: P,
2853
+ options: We($.val),
2854
+ offset: O,
2849
2855
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2850
- location: ee
2856
+ location: te
2851
2857
  },
2852
2858
  err: null
2853
2859
  };
@@ -2895,50 +2901,50 @@ var qr = (
2895
2901
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2896
2902
  var n = [];
2897
2903
  try {
2898
- n = Ir(t);
2904
+ n = Lr(t);
2899
2905
  } catch {
2900
2906
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2901
2907
  }
2902
2908
  return {
2903
2909
  val: {
2904
- type: F.number,
2910
+ type: j.number,
2905
2911
  tokens: n,
2906
2912
  location: r,
2907
- parsedOptions: this.shouldParseSkeletons ? Mr(n) : {}
2913
+ parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
2908
2914
  },
2909
2915
  err: null
2910
2916
  };
2911
2917
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2912
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), h = i.value, u = i.location; ; ) {
2913
- if (h.length === 0) {
2918
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2919
+ if (u.length === 0) {
2914
2920
  var c = this.clonePosition();
2915
2921
  if (r !== "select" && this.bumpIf("=")) {
2916
2922
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
2917
2923
  if (f.err)
2918
2924
  return f;
2919
- u = b(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
2925
+ h = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2920
2926
  } else
2921
2927
  break;
2922
2928
  }
2923
- if (l.has(h))
2924
- return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
2925
- h === "other" && (a = !0), this.bumpSpace();
2926
- var x = this.clonePosition();
2929
+ if (l.has(u))
2930
+ return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2931
+ u === "other" && (a = !0), this.bumpSpace();
2932
+ var g = this.clonePosition();
2927
2933
  if (!this.bumpIf("{"))
2928
2934
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2929
- var g = this.parseMessage(t + 1, r, n);
2930
- if (g.err)
2931
- return g;
2932
- var y = this.tryParseArgumentClose(x);
2935
+ var d = this.parseMessage(t + 1, r, n);
2936
+ if (d.err)
2937
+ return d;
2938
+ var y = this.tryParseArgumentClose(g);
2933
2939
  if (y.err)
2934
2940
  return y;
2935
2941
  o.push([
2936
- h,
2942
+ u,
2937
2943
  {
2938
- value: g.val,
2939
- location: b(x, this.clonePosition())
2944
+ value: d.val,
2945
+ location: b(g, this.clonePosition())
2940
2946
  }
2941
- ]), l.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, u = s.location;
2947
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2942
2948
  }
2943
2949
  return o.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2944
2950
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -2952,7 +2958,7 @@ var qr = (
2952
2958
  break;
2953
2959
  }
2954
2960
  var l = b(i, this.clonePosition());
2955
- return s ? (a *= n, Wr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2961
+ return s ? (a *= n, Qr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2956
2962
  }, e.prototype.offset = function() {
2957
2963
  return this.position.offset;
2958
2964
  }, e.prototype.isEOF = function() {
@@ -2967,7 +2973,7 @@ var qr = (
2967
2973
  var t = this.position.offset;
2968
2974
  if (t >= this.message.length)
2969
2975
  throw Error("out of bound");
2970
- var r = Et(this.message, t);
2976
+ var r = _t(this.message, t);
2971
2977
  if (r === void 0)
2972
2978
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2973
2979
  return r;
@@ -2986,7 +2992,7 @@ var qr = (
2986
2992
  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);
2987
2993
  }
2988
2994
  }, e.prototype.bumpIf = function(t) {
2989
- if (ke(this.message, t, this.offset())) {
2995
+ if (ze(this.message, t, this.offset())) {
2990
2996
  for (var r = 0; r < t.length; r++)
2991
2997
  this.bump();
2992
2998
  return !0;
@@ -3008,7 +3014,7 @@ var qr = (
3008
3014
  break;
3009
3015
  }
3010
3016
  }, e.prototype.bumpSpace = function() {
3011
- for (; !this.isEOF() && _t(this.char()); )
3017
+ for (; !this.isEOF() && Ht(this.char()); )
3012
3018
  this.bump();
3013
3019
  }, e.prototype.peek = function() {
3014
3020
  if (this.isEOF())
@@ -3018,47 +3024,47 @@ var qr = (
3018
3024
  }, e;
3019
3025
  }()
3020
3026
  );
3021
- function Se(e) {
3027
+ function Oe(e) {
3022
3028
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3023
3029
  }
3024
- function Yr(e) {
3025
- return Se(e) || e === 47;
3030
+ function en(e) {
3031
+ return Oe(e) || e === 47;
3026
3032
  }
3027
- function Kr(e) {
3033
+ function tn(e) {
3028
3034
  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;
3029
3035
  }
3030
- function _t(e) {
3036
+ function Ht(e) {
3031
3037
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3032
3038
  }
3033
- function en(e) {
3039
+ function rn(e) {
3034
3040
  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;
3035
3041
  }
3036
- function Pe(e) {
3042
+ function Ne(e) {
3037
3043
  e.forEach(function(t) {
3038
- if (delete t.location, ft(t) || ct(t))
3044
+ if (delete t.location, pt(t) || mt(t))
3039
3045
  for (var r in t.options)
3040
- delete t.options[r].location, Pe(t.options[r].value);
3046
+ delete t.options[r].location, Ne(t.options[r].value);
3041
3047
  else
3042
- ht(t) && mt(t.style) || (ut(t) || lt(t)) && He(t.style) ? delete t.style.location : pt(t) && Pe(t.children);
3048
+ lt(t) && dt(t.style) || (ft(t) || ct(t)) && Be(t.style) ? delete t.style.location : bt(t) && Ne(t.children);
3043
3049
  });
3044
3050
  }
3045
- function tn(e, t) {
3046
- t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3047
- var r = new qr(e, t).parse();
3051
+ function nn(e, t) {
3052
+ t === void 0 && (t = {}), t = ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3053
+ var r = new Kr(e, t).parse();
3048
3054
  if (r.err) {
3049
3055
  var n = SyntaxError(m[r.err.kind]);
3050
3056
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3051
3057
  }
3052
- return t?.captureLocation || Pe(r.val), r.val;
3058
+ return t?.captureLocation || Ne(r.val), r.val;
3053
3059
  }
3054
- var j;
3060
+ var V;
3055
3061
  (function(e) {
3056
3062
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3057
- })(j || (j = {}));
3058
- var le = (
3063
+ })(V || (V = {}));
3064
+ var ce = (
3059
3065
  /** @class */
3060
3066
  function(e) {
3061
- ue(t, e);
3067
+ fe(t, e);
3062
3068
  function t(r, n, i) {
3063
3069
  var s = e.call(this, r) || this;
3064
3070
  return s.code = n, s.originalMessage = i, s;
@@ -3067,155 +3073,155 @@ var le = (
3067
3073
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3068
3074
  }, t;
3069
3075
  }(Error)
3070
- ), We = (
3076
+ ), Qe = (
3071
3077
  /** @class */
3072
3078
  function(e) {
3073
- ue(t, e);
3079
+ fe(t, e);
3074
3080
  function t(r, n, i, s) {
3075
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, s) || this;
3081
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3076
3082
  }
3077
3083
  return t;
3078
- }(le)
3079
- ), rn = (
3084
+ }(ce)
3085
+ ), sn = (
3080
3086
  /** @class */
3081
3087
  function(e) {
3082
- ue(t, e);
3088
+ fe(t, e);
3083
3089
  function t(r, n, i) {
3084
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3090
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3085
3091
  }
3086
3092
  return t;
3087
- }(le)
3088
- ), nn = (
3093
+ }(ce)
3094
+ ), on = (
3089
3095
  /** @class */
3090
3096
  function(e) {
3091
- ue(t, e);
3097
+ fe(t, e);
3092
3098
  function t(r, n) {
3093
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3099
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3094
3100
  }
3095
3101
  return t;
3096
- }(le)
3102
+ }(ce)
3097
3103
  ), _;
3098
3104
  (function(e) {
3099
3105
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3100
3106
  })(_ || (_ = {}));
3101
- function sn(e) {
3107
+ function an(e) {
3102
3108
  return e.length < 2 ? e : e.reduce(function(t, r) {
3103
3109
  var n = t[t.length - 1];
3104
3110
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3105
3111
  }, []);
3106
3112
  }
3107
- function on(e) {
3113
+ function un(e) {
3108
3114
  return typeof e == "function";
3109
3115
  }
3110
- function ie(e, t, r, n, i, s, a) {
3111
- if (e.length === 1 && De(e[0]))
3116
+ function se(e, t, r, n, i, s, a) {
3117
+ if (e.length === 1 && je(e[0]))
3112
3118
  return [
3113
3119
  {
3114
3120
  type: _.literal,
3115
3121
  value: e[0].value
3116
3122
  }
3117
3123
  ];
3118
- for (var o = [], l = 0, h = e; l < h.length; l++) {
3119
- var u = h[l];
3120
- if (De(u)) {
3124
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3125
+ var h = u[l];
3126
+ if (je(h)) {
3121
3127
  o.push({
3122
3128
  type: _.literal,
3123
- value: u.value
3129
+ value: h.value
3124
3130
  });
3125
3131
  continue;
3126
3132
  }
3127
- if (Sr(u)) {
3133
+ if (Or(h)) {
3128
3134
  typeof s == "number" && o.push({
3129
3135
  type: _.literal,
3130
3136
  value: r.getNumberFormat(t).format(s)
3131
3137
  });
3132
3138
  continue;
3133
3139
  }
3134
- var c = u.value;
3140
+ var c = h.value;
3135
3141
  if (!(i && c in i))
3136
- throw new nn(c, a);
3142
+ throw new on(c, a);
3137
3143
  var f = i[c];
3138
- if (Ar(u)) {
3144
+ if (Pr(h)) {
3139
3145
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3140
3146
  type: typeof f == "string" ? _.literal : _.object,
3141
3147
  value: f
3142
3148
  });
3143
3149
  continue;
3144
3150
  }
3145
- if (ut(u)) {
3146
- var x = typeof u.style == "string" ? n.date[u.style] : He(u.style) ? u.style.parsedOptions : void 0;
3151
+ if (ft(h)) {
3152
+ var g = typeof h.style == "string" ? n.date[h.style] : Be(h.style) ? h.style.parsedOptions : void 0;
3147
3153
  o.push({
3148
3154
  type: _.literal,
3149
- value: r.getDateTimeFormat(t, x).format(f)
3155
+ value: r.getDateTimeFormat(t, g).format(f)
3150
3156
  });
3151
3157
  continue;
3152
3158
  }
3153
- if (lt(u)) {
3154
- var x = typeof u.style == "string" ? n.time[u.style] : He(u.style) ? u.style.parsedOptions : n.time.medium;
3159
+ if (ct(h)) {
3160
+ var g = typeof h.style == "string" ? n.time[h.style] : Be(h.style) ? h.style.parsedOptions : n.time.medium;
3155
3161
  o.push({
3156
3162
  type: _.literal,
3157
- value: r.getDateTimeFormat(t, x).format(f)
3163
+ value: r.getDateTimeFormat(t, g).format(f)
3158
3164
  });
3159
3165
  continue;
3160
3166
  }
3161
- if (ht(u)) {
3162
- var x = typeof u.style == "string" ? n.number[u.style] : mt(u.style) ? u.style.parsedOptions : void 0;
3163
- x && x.scale && (f = f * (x.scale || 1)), o.push({
3167
+ if (lt(h)) {
3168
+ var g = typeof h.style == "string" ? n.number[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3169
+ g && g.scale && (f = f * (g.scale || 1)), o.push({
3164
3170
  type: _.literal,
3165
- value: r.getNumberFormat(t, x).format(f)
3171
+ value: r.getNumberFormat(t, g).format(f)
3166
3172
  });
3167
3173
  continue;
3168
3174
  }
3169
- if (pt(u)) {
3170
- var g = u.children, y = u.value, H = i[y];
3171
- if (!on(H))
3172
- throw new rn(y, "function", a);
3173
- var B = ie(g, t, r, n, i, s), A = H(B.map(function(P) {
3174
- return P.value;
3175
+ if (bt(h)) {
3176
+ var d = h.children, y = h.value, H = i[y];
3177
+ if (!un(H))
3178
+ throw new sn(y, "function", a);
3179
+ var B = se(d, t, r, n, i, s), S = H(B.map(function(O) {
3180
+ return O.value;
3175
3181
  }));
3176
- Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(P) {
3182
+ Array.isArray(S) || (S = [S]), o.push.apply(o, S.map(function(O) {
3177
3183
  return {
3178
- type: typeof P == "string" ? _.literal : _.object,
3179
- value: P
3184
+ type: typeof O == "string" ? _.literal : _.object,
3185
+ value: O
3180
3186
  };
3181
3187
  }));
3182
3188
  }
3183
- if (ft(u)) {
3184
- var v = u.options[f] || u.options.other;
3189
+ if (pt(h)) {
3190
+ var v = h.options[f] || h.options.other;
3185
3191
  if (!v)
3186
- throw new We(u.value, f, Object.keys(u.options), a);
3187
- o.push.apply(o, ie(v.value, t, r, n, i));
3192
+ throw new Qe(h.value, f, Object.keys(h.options), a);
3193
+ o.push.apply(o, se(v.value, t, r, n, i));
3188
3194
  continue;
3189
3195
  }
3190
- if (ct(u)) {
3191
- var v = u.options["=".concat(f)];
3196
+ if (mt(h)) {
3197
+ var v = h.options["=".concat(f)];
3192
3198
  if (!v) {
3193
3199
  if (!Intl.PluralRules)
3194
- throw new le(`Intl.PluralRules is not available in this environment.
3200
+ throw new ce(`Intl.PluralRules is not available in this environment.
3195
3201
  Try polyfilling it using "@formatjs/intl-pluralrules"
3196
- `, j.MISSING_INTL_API, a);
3197
- var O = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3198
- v = u.options[O] || u.options.other;
3202
+ `, V.MISSING_INTL_API, a);
3203
+ var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3204
+ v = h.options[N] || h.options.other;
3199
3205
  }
3200
3206
  if (!v)
3201
- throw new We(u.value, f, Object.keys(u.options), a);
3202
- o.push.apply(o, ie(v.value, t, r, n, i, f - (u.offset || 0)));
3207
+ throw new Qe(h.value, f, Object.keys(h.options), a);
3208
+ o.push.apply(o, se(v.value, t, r, n, i, f - (h.offset || 0)));
3203
3209
  continue;
3204
3210
  }
3205
3211
  }
3206
- return sn(o);
3212
+ return an(o);
3207
3213
  }
3208
- function an(e, t) {
3209
- return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3210
- return r[n] = d(d({}, e[n]), t[n] || {}), r;
3214
+ function hn(e, t) {
3215
+ return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3216
+ return r[n] = P(P({}, e[n]), t[n] || {}), r;
3211
3217
  }, {})) : e;
3212
3218
  }
3213
- function hn(e, t) {
3219
+ function ln(e, t) {
3214
3220
  return t ? Object.keys(e).reduce(function(r, n) {
3215
- return r[n] = an(e[n], t[n]), r;
3216
- }, d({}, e)) : e;
3221
+ return r[n] = hn(e[n], t[n]), r;
3222
+ }, P({}, e)) : e;
3217
3223
  }
3218
- function xe(e) {
3224
+ function ye(e) {
3219
3225
  return {
3220
3226
  create: function() {
3221
3227
  return {
@@ -3229,39 +3235,39 @@ function xe(e) {
3229
3235
  }
3230
3236
  };
3231
3237
  }
3232
- function un(e) {
3238
+ function fn(e) {
3233
3239
  return e === void 0 && (e = {
3234
3240
  number: {},
3235
3241
  dateTime: {},
3236
3242
  pluralRules: {}
3237
3243
  }), {
3238
- getNumberFormat: be(function() {
3244
+ getNumberFormat: ge(function() {
3239
3245
  for (var t, r = [], n = 0; n < arguments.length; n++)
3240
3246
  r[n] = arguments[n];
3241
- return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], r, !1)))();
3247
+ return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3242
3248
  }, {
3243
- cache: xe(e.number),
3244
- strategy: de.variadic
3249
+ cache: ye(e.number),
3250
+ strategy: xe.variadic
3245
3251
  }),
3246
- getDateTimeFormat: be(function() {
3252
+ getDateTimeFormat: ge(function() {
3247
3253
  for (var t, r = [], n = 0; n < arguments.length; n++)
3248
3254
  r[n] = arguments[n];
3249
- return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], r, !1)))();
3255
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3250
3256
  }, {
3251
- cache: xe(e.dateTime),
3252
- strategy: de.variadic
3257
+ cache: ye(e.dateTime),
3258
+ strategy: xe.variadic
3253
3259
  }),
3254
- getPluralRules: be(function() {
3260
+ getPluralRules: ge(function() {
3255
3261
  for (var t, r = [], n = 0; n < arguments.length; n++)
3256
3262
  r[n] = arguments[n];
3257
- return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], r, !1)))();
3263
+ return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3258
3264
  }, {
3259
- cache: xe(e.pluralRules),
3260
- strategy: de.variadic
3265
+ cache: ye(e.pluralRules),
3266
+ strategy: xe.variadic
3261
3267
  })
3262
3268
  };
3263
3269
  }
3264
- var ln = (
3270
+ var cn = (
3265
3271
  /** @class */
3266
3272
  function() {
3267
3273
  function e(t, r, n, i) {
@@ -3272,15 +3278,15 @@ var ln = (
3272
3278
  dateTime: {},
3273
3279
  pluralRules: {}
3274
3280
  }, this.format = function(l) {
3275
- var h = s.formatToParts(l);
3276
- if (h.length === 1)
3277
- return h[0].value;
3278
- var u = h.reduce(function(c, f) {
3281
+ var u = s.formatToParts(l);
3282
+ if (u.length === 1)
3283
+ return u[0].value;
3284
+ var h = u.reduce(function(c, f) {
3279
3285
  return !c.length || f.type !== _.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3280
3286
  }, []);
3281
- return u.length <= 1 ? u[0] || "" : u;
3287
+ return h.length <= 1 ? h[0] || "" : h;
3282
3288
  }, this.formatToParts = function(l) {
3283
- return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3289
+ return se(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3284
3290
  }, this.resolvedOptions = function() {
3285
3291
  var l;
3286
3292
  return {
@@ -3293,13 +3299,13 @@ var ln = (
3293
3299
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3294
3300
  var a = i || {};
3295
3301
  a.formatters;
3296
- var o = xr(a, ["formatters"]);
3297
- this.ast = e.__parse(t, d(d({}, o), { locale: this.resolvedLocale }));
3302
+ var o = yr(a, ["formatters"]);
3303
+ this.ast = e.__parse(t, P(P({}, o), { locale: this.resolvedLocale }));
3298
3304
  } else
3299
3305
  this.ast = t;
3300
3306
  if (!Array.isArray(this.ast))
3301
3307
  throw new TypeError("A message must be provided as a String or AST.");
3302
- this.formats = hn(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
3308
+ this.formats = ln(e.formats, n), this.formatters = i && i.formatters || fn(this.formatterCache);
3303
3309
  }
3304
3310
  return Object.defineProperty(e, "defaultLocale", {
3305
3311
  get: function() {
@@ -3312,7 +3318,7 @@ var ln = (
3312
3318
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3313
3319
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3314
3320
  }
3315
- }, e.__parse = tn, e.formats = {
3321
+ }, e.__parse = nn, e.formats = {
3316
3322
  number: {
3317
3323
  integer: {
3318
3324
  maximumFractionDigits: 0
@@ -3373,7 +3379,7 @@ var ln = (
3373
3379
  }, e;
3374
3380
  }()
3375
3381
  );
3376
- function fn(e, t) {
3382
+ function pn(e, t) {
3377
3383
  if (t == null)
3378
3384
  return;
3379
3385
  if (t in e)
@@ -3394,92 +3400,92 @@ function fn(e, t) {
3394
3400
  n = void 0;
3395
3401
  return n;
3396
3402
  }
3397
- const N = {}, cn = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), vt = (e, t) => {
3403
+ const w = {}, mn = (e, t, r) => r && (t in w || (w[t] = {}), e in w[t] || (w[t][e] = r), r), Tt = (e, t) => {
3398
3404
  if (t == null)
3399
3405
  return;
3400
- if (t in N && e in N[t])
3401
- return N[t][e];
3402
- const r = fe(t);
3406
+ if (t in w && e in w[t])
3407
+ return w[t][e];
3408
+ const r = pe(t);
3403
3409
  for (let n = 0; n < r.length; n++) {
3404
- const i = r[n], s = mn(i, e);
3410
+ const i = r[n], s = dn(i, e);
3405
3411
  if (s)
3406
- return cn(e, t, s);
3412
+ return mn(e, t, s);
3407
3413
  }
3408
3414
  };
3409
- let Ce;
3410
- const X = he({});
3411
- function pn(e) {
3412
- return Ce[e] || null;
3415
+ let $e;
3416
+ const z = le({});
3417
+ function bn(e) {
3418
+ return $e[e] || null;
3413
3419
  }
3414
- function Ht(e) {
3415
- return e in Ce;
3420
+ function Bt(e) {
3421
+ return e in $e;
3416
3422
  }
3417
- function mn(e, t) {
3418
- if (!Ht(e))
3423
+ function dn(e, t) {
3424
+ if (!Bt(e))
3419
3425
  return null;
3420
- const r = pn(e);
3421
- return fn(r, t);
3426
+ const r = bn(e);
3427
+ return pn(r, t);
3422
3428
  }
3423
- function bn(e) {
3429
+ function gn(e) {
3424
3430
  if (e == null)
3425
3431
  return;
3426
- const t = fe(e);
3432
+ const t = pe(e);
3427
3433
  for (let r = 0; r < t.length; r++) {
3428
3434
  const n = t[r];
3429
- if (Ht(n))
3435
+ if (Bt(n))
3430
3436
  return n;
3431
3437
  }
3432
3438
  }
3433
- function Tt(e, ...t) {
3434
- delete N[e], X.update((r) => (r[e] = gr.all([r[e] || {}, ...t]), r));
3439
+ function St(e, ...t) {
3440
+ delete w[e], z.update((r) => (r[e] = Er.all([r[e] || {}, ...t]), r));
3435
3441
  }
3436
- k(
3437
- [X],
3442
+ X(
3443
+ [z],
3438
3444
  ([e]) => Object.keys(e)
3439
3445
  );
3440
- X.subscribe((e) => Ce = e);
3441
- const se = {};
3442
- function dn(e, t) {
3443
- se[e].delete(t), se[e].size === 0 && delete se[e];
3446
+ z.subscribe((e) => $e = e);
3447
+ const oe = {};
3448
+ function xn(e, t) {
3449
+ oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3444
3450
  }
3445
- function Bt(e) {
3446
- return se[e];
3451
+ function At(e) {
3452
+ return oe[e];
3447
3453
  }
3448
- function gn(e) {
3449
- return fe(e).map((t) => {
3450
- const r = Bt(t);
3454
+ function En(e) {
3455
+ return pe(e).map((t) => {
3456
+ const r = At(t);
3451
3457
  return [t, r ? [...r] : []];
3452
3458
  }).filter(([, t]) => t.length > 0);
3453
3459
  }
3454
- function Oe(e) {
3455
- return e == null ? !1 : fe(e).some(
3460
+ function we(e) {
3461
+ return e == null ? !1 : pe(e).some(
3456
3462
  (t) => {
3457
3463
  var r;
3458
- return (r = Bt(t)) == null ? void 0 : r.size;
3464
+ return (r = At(t)) == null ? void 0 : r.size;
3459
3465
  }
3460
3466
  );
3461
3467
  }
3462
- function xn(e, t) {
3468
+ function yn(e, t) {
3463
3469
  return Promise.all(
3464
- t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
3465
- ).then((n) => Tt(e, ...n));
3466
- }
3467
- const W = {};
3468
- function At(e) {
3469
- if (!Oe(e))
3470
- return e in W ? W[e] : Promise.resolve();
3471
- const t = gn(e);
3472
- return W[e] = Promise.all(
3470
+ t.map((n) => (xn(e, n), n().then((i) => i.default || i)))
3471
+ ).then((n) => St(e, ...n));
3472
+ }
3473
+ const Z = {};
3474
+ function Pt(e) {
3475
+ if (!we(e))
3476
+ return e in Z ? Z[e] : Promise.resolve();
3477
+ const t = En(e);
3478
+ return Z[e] = Promise.all(
3473
3479
  t.map(
3474
- ([r, n]) => xn(r, n)
3480
+ ([r, n]) => yn(r, n)
3475
3481
  )
3476
3482
  ).then(() => {
3477
- if (Oe(e))
3478
- return At(e);
3479
- delete W[e];
3480
- }), W[e];
3483
+ if (we(e))
3484
+ return Pt(e);
3485
+ delete Z[e];
3486
+ }), Z[e];
3481
3487
  }
3482
- const En = {
3488
+ const _n = {
3483
3489
  number: {
3484
3490
  scientific: { notation: "scientific" },
3485
3491
  engineering: { notation: "engineering" },
@@ -3508,159 +3514,159 @@ const En = {
3508
3514
  timeZoneName: "short"
3509
3515
  }
3510
3516
  }
3511
- }, yn = {
3517
+ }, vn = {
3512
3518
  fallbackLocale: null,
3513
3519
  loadingDelay: 200,
3514
- formats: En,
3520
+ formats: _n,
3515
3521
  warnOnMissingMessages: !0,
3516
3522
  handleMissingMessage: void 0,
3517
3523
  ignoreTag: !0
3518
- }, _n = yn;
3519
- function V() {
3520
- return _n;
3524
+ }, Hn = vn;
3525
+ function k() {
3526
+ return Hn;
3521
3527
  }
3522
- const Ee = he(!1);
3523
- var vn = Object.defineProperty, Hn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Ze = Object.getOwnPropertySymbols, Bn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Qe = (e, t, r) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sn = (e, t) => {
3528
+ const _e = le(!1);
3529
+ var Tn = Object.defineProperty, Bn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, qe = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3524
3530
  for (var r in t || (t = {}))
3525
- Bn.call(t, r) && Qe(e, r, t[r]);
3526
- if (Ze)
3527
- for (var r of Ze(t))
3528
- An.call(t, r) && Qe(e, r, t[r]);
3531
+ An.call(t, r) && qe(e, r, t[r]);
3532
+ if (Je)
3533
+ for (var r of Je(t))
3534
+ Pn.call(t, r) && qe(e, r, t[r]);
3529
3535
  return e;
3530
- }, Pn = (e, t) => Hn(e, Tn(t));
3531
- let Ne;
3532
- const oe = he(null);
3533
- function Je(e) {
3536
+ }, Nn = (e, t) => Bn(e, Sn(t));
3537
+ let Ie;
3538
+ const ue = le(null);
3539
+ function Ye(e) {
3534
3540
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3535
3541
  }
3536
- function fe(e, t = V().fallbackLocale) {
3537
- const r = Je(e);
3538
- return t ? [.../* @__PURE__ */ new Set([...r, ...Je(t)])] : r;
3542
+ function pe(e, t = k().fallbackLocale) {
3543
+ const r = Ye(e);
3544
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
3539
3545
  }
3540
- function C() {
3541
- return Ne ?? void 0;
3546
+ function M() {
3547
+ return Ie ?? void 0;
3542
3548
  }
3543
- oe.subscribe((e) => {
3544
- Ne = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3549
+ ue.subscribe((e) => {
3550
+ Ie = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3545
3551
  });
3546
- const On = (e) => {
3547
- if (e && bn(e) && Oe(e)) {
3548
- const { loadingDelay: t } = V();
3552
+ const wn = (e) => {
3553
+ if (e && gn(e) && we(e)) {
3554
+ const { loadingDelay: t } = k();
3549
3555
  let r;
3550
- return typeof window < "u" && C() != null && t ? r = window.setTimeout(
3551
- () => Ee.set(!0),
3556
+ return typeof window < "u" && M() != null && t ? r = window.setTimeout(
3557
+ () => _e.set(!0),
3552
3558
  t
3553
- ) : Ee.set(!0), At(e).then(() => {
3554
- oe.set(e);
3559
+ ) : _e.set(!0), Pt(e).then(() => {
3560
+ ue.set(e);
3555
3561
  }).finally(() => {
3556
- clearTimeout(r), Ee.set(!1);
3562
+ clearTimeout(r), _e.set(!1);
3557
3563
  });
3558
3564
  }
3559
- return oe.set(e);
3560
- }, I = Pn(Sn({}, oe), {
3561
- set: On
3562
- }), ce = (e) => {
3565
+ return ue.set(e);
3566
+ }, I = Nn(On({}, ue), {
3567
+ set: wn
3568
+ }), me = (e) => {
3563
3569
  const t = /* @__PURE__ */ Object.create(null);
3564
3570
  return (n) => {
3565
3571
  const i = JSON.stringify(n);
3566
3572
  return i in t ? t[i] : t[i] = e(n);
3567
3573
  };
3568
3574
  };
3569
- var Nn = Object.defineProperty, ae = Object.getOwnPropertySymbols, St = Object.prototype.hasOwnProperty, Pt = Object.prototype.propertyIsEnumerable, qe = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Me = (e, t) => {
3575
+ var In = Object.defineProperty, he = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, Nt = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Re = (e, t) => {
3570
3576
  for (var r in t || (t = {}))
3571
- St.call(t, r) && qe(e, r, t[r]);
3572
- if (ae)
3573
- for (var r of ae(t))
3574
- Pt.call(t, r) && qe(e, r, t[r]);
3577
+ Ot.call(t, r) && Ke(e, r, t[r]);
3578
+ if (he)
3579
+ for (var r of he(t))
3580
+ Nt.call(t, r) && Ke(e, r, t[r]);
3575
3581
  return e;
3576
- }, z = (e, t) => {
3582
+ }, W = (e, t) => {
3577
3583
  var r = {};
3578
3584
  for (var n in e)
3579
- St.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3580
- if (e != null && ae)
3581
- for (var n of ae(e))
3582
- t.indexOf(n) < 0 && Pt.call(e, n) && (r[n] = e[n]);
3585
+ Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3586
+ if (e != null && he)
3587
+ for (var n of he(e))
3588
+ t.indexOf(n) < 0 && Nt.call(e, n) && (r[n] = e[n]);
3583
3589
  return r;
3584
3590
  };
3585
- const Y = (e, t) => {
3586
- const { formats: r } = V();
3591
+ const K = (e, t) => {
3592
+ const { formats: r } = k();
3587
3593
  if (e in r && t in r[e])
3588
3594
  return r[e][t];
3589
3595
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3590
- }, In = ce(
3596
+ }, Ln = me(
3591
3597
  (e) => {
3592
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3598
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3593
3599
  if (r == null)
3594
3600
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3595
- return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
3601
+ return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3596
3602
  }
3597
- ), wn = ce(
3603
+ ), Cn = me(
3598
3604
  (e) => {
3599
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3605
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3600
3606
  if (r == null)
3601
3607
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3602
- return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
3608
+ return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3603
3609
  }
3604
- ), Ln = ce(
3610
+ ), Mn = me(
3605
3611
  (e) => {
3606
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3612
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3607
3613
  if (r == null)
3608
3614
  throw new Error(
3609
3615
  '[svelte-i18n] A "locale" must be set to format time values'
3610
3616
  );
3611
- return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
3617
+ return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3612
3618
  }
3613
- ), Cn = (e = {}) => {
3619
+ ), $n = (e = {}) => {
3614
3620
  var t = e, {
3615
- locale: r = C()
3616
- } = t, n = z(t, [
3621
+ locale: r = M()
3622
+ } = t, n = W(t, [
3617
3623
  "locale"
3618
3624
  ]);
3619
- return In(Me({ locale: r }, n));
3620
- }, Mn = (e = {}) => {
3625
+ return Ln(Re({ locale: r }, n));
3626
+ }, Rn = (e = {}) => {
3621
3627
  var t = e, {
3622
- locale: r = C()
3623
- } = t, n = z(t, [
3628
+ locale: r = M()
3629
+ } = t, n = W(t, [
3624
3630
  "locale"
3625
3631
  ]);
3626
- return wn(Me({ locale: r }, n));
3627
- }, Rn = (e = {}) => {
3632
+ return Cn(Re({ locale: r }, n));
3633
+ }, Un = (e = {}) => {
3628
3634
  var t = e, {
3629
- locale: r = C()
3630
- } = t, n = z(t, [
3635
+ locale: r = M()
3636
+ } = t, n = W(t, [
3631
3637
  "locale"
3632
3638
  ]);
3633
- return Ln(Me({ locale: r }, n));
3634
- }, $n = ce(
3639
+ return Mn(Re({ locale: r }, n));
3640
+ }, Gn = me(
3635
3641
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3636
- (e, t = C()) => new ln(e, t, V().formats, {
3637
- ignoreTag: V().ignoreTag
3642
+ (e, t = M()) => new cn(e, t, k().formats, {
3643
+ ignoreTag: k().ignoreTag
3638
3644
  })
3639
- ), Un = (e, t = {}) => {
3645
+ ), Dn = (e, t = {}) => {
3640
3646
  var r, n, i, s;
3641
3647
  let a = t;
3642
3648
  typeof e == "object" && (a = e, e = a.id);
3643
3649
  const {
3644
3650
  values: o,
3645
- locale: l = C(),
3646
- default: h
3651
+ locale: l = M(),
3652
+ default: u
3647
3653
  } = a;
3648
3654
  if (l == null)
3649
3655
  throw new Error(
3650
3656
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3651
3657
  );
3652
- let u = vt(e, l);
3653
- if (!u)
3654
- u = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
3655
- else if (typeof u != "string")
3658
+ let h = Tt(e, l);
3659
+ if (!h)
3660
+ h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3661
+ else if (typeof h != "string")
3656
3662
  return console.warn(
3657
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3658
- ), u;
3663
+ `[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.`
3664
+ ), h;
3659
3665
  if (!o)
3660
- return u;
3661
- let c = u;
3666
+ return h;
3667
+ let c = h;
3662
3668
  try {
3663
- c = $n(u, l).format(o);
3669
+ c = Gn(h, l).format(o);
3664
3670
  } catch (f) {
3665
3671
  f instanceof Error && console.warn(
3666
3672
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3668,23 +3674,23 @@ const Y = (e, t) => {
3668
3674
  );
3669
3675
  }
3670
3676
  return c;
3671
- }, Gn = (e, t) => Rn(t).format(e), Dn = (e, t) => Mn(t).format(e), Fn = (e, t) => Cn(t).format(e), jn = (e, t = C()) => vt(e, t), Vn = k([I, X], () => Un);
3672
- k([I], () => Gn);
3673
- k([I], () => Dn);
3674
- k([I], () => Fn);
3675
- k([I, X], () => jn);
3676
- function kn({ withLocale: e, translations: t }) {
3677
+ }, Fn = (e, t) => Un(t).format(e), jn = (e, t) => Rn(t).format(e), Vn = (e, t) => $n(t).format(e), kn = (e, t = M()) => Tt(e, t), Xn = X([I, z], () => Dn);
3678
+ X([I], () => Fn);
3679
+ X([I], () => jn);
3680
+ X([I], () => Vn);
3681
+ X([I, z], () => kn);
3682
+ function zn({ withLocale: e, translations: t }) {
3677
3683
  I.subscribe((r) => {
3678
- r == null && (X.set(t), I.set(e));
3684
+ r == null && (z.set(t), I.set(e));
3679
3685
  });
3680
3686
  }
3681
- function Ye(e, t) {
3682
- Tt(e, t);
3687
+ function et(e, t) {
3688
+ St(e, t);
3683
3689
  }
3684
- function Xn(e) {
3690
+ function Wn(e) {
3685
3691
  I.set(e);
3686
3692
  }
3687
- const Ke = {
3693
+ const tt = {
3688
3694
  en: {
3689
3695
  bets: "bets"
3690
3696
  },
@@ -3710,121 +3716,121 @@ const Ke = {
3710
3716
  bets: "bets"
3711
3717
  }
3712
3718
  };
3713
- function zn(e) {
3714
- Mt(e, "svelte-6dosur", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1;white-space:nowrap}.stepBar::after{content:" ";position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}');
3719
+ function Zn(e) {
3720
+ Rt(e, "svelte-6dosur", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1;white-space:nowrap}.stepBar::after{content:" ";position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}');
3715
3721
  }
3716
- function Wn(e) {
3722
+ function Qn(e) {
3717
3723
  let t, r, n, i, s;
3718
3724
  return {
3719
3725
  c() {
3720
- t = Z("div"), r = Z("div"), n = Z("span"), i = Ut(
3726
+ t = Q("div"), r = Q("div"), n = Q("span"), i = Dt(
3721
3727
  /*progressText*/
3722
3728
  e[3]
3723
- ), L(n, "part", "progressText"), L(r, "class", s = "stepBar " + /*curTatus*/
3724
- e[4]), L(r, "part", "stepBar"), L(t, "class", "general-icon-progress-bar"), L(t, "part", "totalBar");
3729
+ ), C(n, "part", "progressText"), C(r, "class", s = "stepBar " + /*curTatus*/
3730
+ e[4]), C(r, "part", "stepBar"), C(t, "class", "general-icon-progress-bar"), C(t, "part", "totalBar");
3725
3731
  },
3726
3732
  m(a, o) {
3727
- nt(a, t, o), re(t, r), re(r, n), re(n, i), e[13](n), e[14](r), e[15](t);
3733
+ st(a, t, o), ne(t, r), ne(r, n), ne(n, i), e[13](n), e[14](r), e[15](t);
3728
3734
  },
3729
3735
  p(a, [o]) {
3730
3736
  o & /*progressText*/
3731
- 8 && Dt(
3737
+ 8 && jt(
3732
3738
  i,
3733
3739
  /*progressText*/
3734
3740
  a[3]
3735
3741
  ), o & /*curTatus*/
3736
3742
  16 && s !== (s = "stepBar " + /*curTatus*/
3737
- a[4]) && L(r, "class", s);
3743
+ a[4]) && C(r, "class", s);
3738
3744
  },
3739
3745
  i: T,
3740
3746
  o: T,
3741
3747
  d(a) {
3742
- a && we(t), e[13](null), e[14](null), e[15](null);
3748
+ a && Ce(t), e[13](null), e[14](null), e[15](null);
3743
3749
  }
3744
3750
  };
3745
3751
  }
3746
- function Zn(e, t, r) {
3752
+ function Jn(e, t, r) {
3747
3753
  let n;
3748
- Ct(e, Vn, (p) => r(20, n = p));
3749
- let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: a } = t, { lang: o = "en" } = t, { status: l } = t, { translationurl: h = "" } = t, { progressfractiondigit: u = 1 } = t, { triggerreset: c } = t, f, x, g, y, H, B, A, v = "0px", O = "active";
3750
- kn({ withLocale: "en", translations: {} });
3751
- const P = () => {
3752
- fetch(h).then((w) => w.json()).then((w) => {
3753
- Object.keys(w).forEach((Re) => {
3754
- Ye(Re, w[Re]);
3754
+ $t(e, Xn, (p) => r(20, n = p));
3755
+ let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: a } = t, { lang: o = "en" } = t, { status: l } = t, { translationurl: u = "" } = t, { progressfractiondigit: h = 1 } = t, { triggerreset: c } = t, f, g, d, y, H, B, S, v = "0px", N = "active";
3756
+ zn({ withLocale: "en", translations: {} });
3757
+ const O = () => {
3758
+ fetch(u).then((L) => L.json()).then((L) => {
3759
+ Object.keys(L).forEach((Ue) => {
3760
+ et(Ue, L[Ue]);
3755
3761
  });
3756
- }).catch((w) => {
3757
- console.log(w);
3762
+ }).catch((L) => {
3763
+ console.log(L);
3758
3764
  });
3759
3765
  };
3760
- Object.keys(Ke).forEach((p) => {
3761
- Ye(p, Ke[p]);
3766
+ Object.keys(tt).forEach((p) => {
3767
+ et(p, tt[p]);
3762
3768
  });
3763
- const M = () => {
3764
- Xn(o);
3765
- }, ee = () => {
3766
- let p = (i / s * 100).toFixed(u);
3769
+ const $ = () => {
3770
+ Wn(o);
3771
+ }, te = () => {
3772
+ let p = (i / s * 100).toFixed(h);
3767
3773
  setTimeout(
3768
3774
  () => {
3769
3775
  a || a === "true" ? r(3, y = `${p}%`) : r(3, y = `${i}/${s} ${n("bets")}`);
3770
3776
  },
3771
3777
  y ? 573 : 0
3772
- ), p == 0 || p == 100 ? (B = "0px", A = "0px", v = p == 100 ? "3px" : "0px") : (B = `${f.offsetHeight}px`, H = B, A = `${f.offsetHeight / 3}px`, v = "0px"), x.style.setProperty("--parentElementHeight", H), g.style.setProperty("--currentStep", p + "%"), g.style.setProperty("--triangleHeight", B), g.style.setProperty("--halfOfTriangleHeight", A), g.style.setProperty("--stepBarBorderRadius", v);
3773
- }, Ot = () => {
3774
- r(4, O = l == "active" ? "" : "inactive");
3778
+ ), p == 0 || p == 100 ? (B = "0px", S = "0px", v = p == 100 ? "3px" : "0px") : (B = `${f.offsetHeight}px`, H = B, S = `${f.offsetHeight / 3}px`, v = "0px"), g.style.setProperty("--parentElementHeight", H), d.style.setProperty("--currentStep", p + "%"), d.style.setProperty("--triangleHeight", B), d.style.setProperty("--halfOfTriangleHeight", S), d.style.setProperty("--stepBarBorderRadius", v);
3779
+ }, wt = () => {
3780
+ r(4, N = l == "active" ? "" : "inactive");
3775
3781
  };
3776
- function Nt(p) {
3777
- J[p ? "unshift" : "push"](() => {
3778
- x = p, r(1, x);
3782
+ function It(p) {
3783
+ q[p ? "unshift" : "push"](() => {
3784
+ g = p, r(1, g);
3779
3785
  });
3780
3786
  }
3781
- function It(p) {
3782
- J[p ? "unshift" : "push"](() => {
3783
- g = p, r(2, g);
3787
+ function Lt(p) {
3788
+ q[p ? "unshift" : "push"](() => {
3789
+ d = p, r(2, d);
3784
3790
  });
3785
3791
  }
3786
- function wt(p) {
3787
- J[p ? "unshift" : "push"](() => {
3792
+ function Ct(p) {
3793
+ q[p ? "unshift" : "push"](() => {
3788
3794
  f = p, r(0, f);
3789
3795
  });
3790
3796
  }
3791
3797
  return e.$$set = (p) => {
3792
- "currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, a = p.showaspercent), "lang" in p && r(8, o = p.lang), "status" in p && r(9, l = p.status), "translationurl" in p && r(10, h = p.translationurl), "progressfractiondigit" in p && r(11, u = p.progressfractiondigit), "triggerreset" in p && r(12, c = p.triggerreset);
3798
+ "currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, a = p.showaspercent), "lang" in p && r(8, o = p.lang), "status" in p && r(9, l = p.status), "translationurl" in p && r(10, u = p.translationurl), "progressfractiondigit" in p && r(11, h = p.progressfractiondigit), "triggerreset" in p && r(12, c = p.triggerreset);
3793
3799
  }, e.$$.update = () => {
3794
3800
  e.$$.dirty & /*triggerreset, total*/
3795
3801
  4160 && c && s && setTimeout(() => {
3796
- ee();
3802
+ te();
3797
3803
  }), e.$$.dirty & /*lang*/
3798
- 256 && o && M(), e.$$.dirty & /*status*/
3799
- 512 && l && Ot(), e.$$.dirty & /*translationurl*/
3800
- 1024 && h && P();
3804
+ 256 && o && $(), e.$$.dirty & /*status*/
3805
+ 512 && l && wt(), e.$$.dirty & /*translationurl*/
3806
+ 1024 && u && O();
3801
3807
  }, [
3802
3808
  f,
3803
- x,
3804
3809
  g,
3810
+ d,
3805
3811
  y,
3806
- O,
3812
+ N,
3807
3813
  i,
3808
3814
  s,
3809
3815
  a,
3810
3816
  o,
3811
3817
  l,
3812
- h,
3813
3818
  u,
3819
+ h,
3814
3820
  c,
3815
- Nt,
3816
3821
  It,
3817
- wt
3822
+ Lt,
3823
+ Ct
3818
3824
  ];
3819
3825
  }
3820
- class Qn extends Kt {
3826
+ class qn extends tr {
3821
3827
  constructor(t) {
3822
- super(), qt(
3828
+ super(), Kt(
3823
3829
  this,
3824
3830
  t,
3825
- Zn,
3826
- Wn,
3827
- tt,
3831
+ Jn,
3832
+ Qn,
3833
+ nt,
3828
3834
  {
3829
3835
  currentstep: 5,
3830
3836
  total: 6,
@@ -3835,59 +3841,59 @@ class Qn extends Kt {
3835
3841
  progressfractiondigit: 11,
3836
3842
  triggerreset: 12
3837
3843
  },
3838
- zn
3844
+ Zn
3839
3845
  );
3840
3846
  }
3841
3847
  get currentstep() {
3842
3848
  return this.$$.ctx[5];
3843
3849
  }
3844
3850
  set currentstep(t) {
3845
- this.$$set({ currentstep: t }), S();
3851
+ this.$$set({ currentstep: t }), A();
3846
3852
  }
3847
3853
  get total() {
3848
3854
  return this.$$.ctx[6];
3849
3855
  }
3850
3856
  set total(t) {
3851
- this.$$set({ total: t }), S();
3857
+ this.$$set({ total: t }), A();
3852
3858
  }
3853
3859
  get showaspercent() {
3854
3860
  return this.$$.ctx[7];
3855
3861
  }
3856
3862
  set showaspercent(t) {
3857
- this.$$set({ showaspercent: t }), S();
3863
+ this.$$set({ showaspercent: t }), A();
3858
3864
  }
3859
3865
  get lang() {
3860
3866
  return this.$$.ctx[8];
3861
3867
  }
3862
3868
  set lang(t) {
3863
- this.$$set({ lang: t }), S();
3869
+ this.$$set({ lang: t }), A();
3864
3870
  }
3865
3871
  get status() {
3866
3872
  return this.$$.ctx[9];
3867
3873
  }
3868
3874
  set status(t) {
3869
- this.$$set({ status: t }), S();
3875
+ this.$$set({ status: t }), A();
3870
3876
  }
3871
3877
  get translationurl() {
3872
3878
  return this.$$.ctx[10];
3873
3879
  }
3874
3880
  set translationurl(t) {
3875
- this.$$set({ translationurl: t }), S();
3881
+ this.$$set({ translationurl: t }), A();
3876
3882
  }
3877
3883
  get progressfractiondigit() {
3878
3884
  return this.$$.ctx[11];
3879
3885
  }
3880
3886
  set progressfractiondigit(t) {
3881
- this.$$set({ progressfractiondigit: t }), S();
3887
+ this.$$set({ progressfractiondigit: t }), A();
3882
3888
  }
3883
3889
  get triggerreset() {
3884
3890
  return this.$$.ctx[12];
3885
3891
  }
3886
3892
  set triggerreset(t) {
3887
- this.$$set({ triggerreset: t }), S();
3893
+ this.$$set({ triggerreset: t }), A();
3888
3894
  }
3889
3895
  }
3890
- Yt(Qn, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3896
+ er(qn, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3891
3897
  export {
3892
- Qn as G
3898
+ qn as G
3893
3899
  };