@everymatrix/general-icon-progress-bar 1.54.0 → 1.54.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,75 +1,46 @@
1
- var Dt = Object.defineProperty, Ft = Object.defineProperties;
2
- var jt = Object.getOwnPropertyDescriptors;
3
- var De = Object.getOwnPropertySymbols;
4
- var Vt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable;
5
- var me = (e, t, r) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fe = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Vt.call(t, r) && me(e, r, t[r]);
8
- if (De)
9
- for (var r of De(t))
10
- kt.call(t, r) && me(e, r, t[r]);
11
- return e;
12
- }, je = (e, t) => Ft(e, jt(t));
13
- var T = (e, t, r) => me(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Ve = (e, t, r) => new Promise((n, i) => {
15
- var s = (h) => {
16
- try {
17
- a(r.next(h));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, o = (h) => {
22
- try {
23
- a(r.throw(h));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
- a((r = r.apply(e, t)).next());
29
- });
30
- function B() {
1
+ function T() {
31
2
  }
32
- function at(e) {
3
+ function tt(e) {
33
4
  return e();
34
5
  }
35
- function ke() {
6
+ function Ue() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function ee(e) {
39
- e.forEach(at);
9
+ function K(e) {
10
+ e.forEach(tt);
40
11
  }
41
- function Le(e) {
12
+ function Ie(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function ut(e, t) {
15
+ function rt(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- function Xt(e) {
18
+ function Ct(e) {
48
19
  return Object.keys(e).length === 0;
49
20
  }
50
- function ht(e, ...t) {
21
+ function nt(e, ...t) {
51
22
  if (e == null) {
52
23
  for (const n of t)
53
24
  n(void 0);
54
- return B;
25
+ return T;
55
26
  }
56
27
  const r = e.subscribe(...t);
57
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
29
  }
59
- function zt(e, t, r) {
60
- e.$$.on_destroy.push(ht(t, r));
30
+ function Mt(e, t, r) {
31
+ e.$$.on_destroy.push(nt(t, r));
61
32
  }
62
- function ne(e, t) {
33
+ function re(e, t) {
63
34
  e.appendChild(t);
64
35
  }
65
- function Wt(e, t, r) {
66
- const n = Zt(e);
36
+ function Rt(e, t, r) {
37
+ const n = $t(e);
67
38
  if (!n.getElementById(t)) {
68
- const i = Q("style");
69
- i.id = t, i.textContent = r, Qt(n, i);
39
+ const i = Z("style");
40
+ i.id = t, i.textContent = r, Ut(n, i);
70
41
  }
71
42
  }
72
- function Zt(e) {
43
+ function $t(e) {
73
44
  if (!e) return document;
74
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
46
  return t && /** @type {ShadowRoot} */
@@ -78,36 +49,36 @@ function Zt(e) {
78
49
  t
79
50
  ) : e.ownerDocument;
80
51
  }
81
- function Qt(e, t) {
82
- return ne(
52
+ function Ut(e, t) {
53
+ return re(
83
54
  /** @type {Document} */
84
55
  e.head || e,
85
56
  t
86
57
  ), t.sheet;
87
58
  }
88
- function lt(e, t, r) {
59
+ function it(e, t, r) {
89
60
  e.insertBefore(t, r || null);
90
61
  }
91
- function Ce(e) {
62
+ function we(e) {
92
63
  e.parentNode && e.parentNode.removeChild(e);
93
64
  }
94
- function Q(e) {
65
+ function Z(e) {
95
66
  return document.createElement(e);
96
67
  }
97
- function Jt(e) {
68
+ function Gt(e) {
98
69
  return document.createTextNode(e);
99
70
  }
100
- function C(e, t, r) {
71
+ function L(e, t, r) {
101
72
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
102
73
  }
103
- function qt(e) {
74
+ function Dt(e) {
104
75
  return Array.from(e.childNodes);
105
76
  }
106
- function Yt(e, t) {
77
+ function Ft(e, t) {
107
78
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
108
79
  t);
109
80
  }
110
- function Kt(e) {
81
+ function jt(e) {
111
82
  const t = {};
112
83
  return e.childNodes.forEach(
113
84
  /** @param {Element} node */
@@ -116,238 +87,234 @@ function Kt(e) {
116
87
  }
117
88
  ), t;
118
89
  }
119
- let Me;
120
- function J(e) {
121
- Me = e;
122
- }
123
- const G = [], q = [];
124
- let D = [];
125
- const Xe = [], er = /* @__PURE__ */ Promise.resolve();
126
- let ve = !1;
127
- function tr() {
128
- ve || (ve = !0, er.then(P));
129
- }
130
- function He(e) {
131
- D.push(e);
132
- }
133
- const de = /* @__PURE__ */ new Set();
134
- let $ = 0;
135
- function P() {
136
- if ($ !== 0)
90
+ let Le;
91
+ function Q(e) {
92
+ Le = e;
93
+ }
94
+ const U = [], J = [];
95
+ let G = [];
96
+ const Ge = [], Vt = /* @__PURE__ */ Promise.resolve();
97
+ let ye = !1;
98
+ function kt() {
99
+ ye || (ye = !0, Vt.then(A));
100
+ }
101
+ function _e(e) {
102
+ G.push(e);
103
+ }
104
+ const pe = /* @__PURE__ */ new Set();
105
+ let R = 0;
106
+ function A() {
107
+ if (R !== 0)
137
108
  return;
138
- const e = Me;
109
+ const e = Le;
139
110
  do {
140
111
  try {
141
- for (; $ < G.length; ) {
142
- const t = G[$];
143
- $++, J(t), rr(t.$$);
112
+ for (; R < U.length; ) {
113
+ const t = U[R];
114
+ R++, Q(t), Xt(t.$$);
144
115
  }
145
116
  } catch (t) {
146
- throw G.length = 0, $ = 0, t;
117
+ throw U.length = 0, R = 0, t;
147
118
  }
148
- for (J(null), G.length = 0, $ = 0; q.length; ) q.pop()();
149
- for (let t = 0; t < D.length; t += 1) {
150
- const r = D[t];
151
- de.has(r) || (de.add(r), r());
119
+ for (Q(null), U.length = 0, R = 0; J.length; ) J.pop()();
120
+ for (let t = 0; t < G.length; t += 1) {
121
+ const r = G[t];
122
+ pe.has(r) || (pe.add(r), r());
152
123
  }
153
- D.length = 0;
154
- } while (G.length);
155
- for (; Xe.length; )
156
- Xe.pop()();
157
- ve = !1, de.clear(), J(e);
124
+ G.length = 0;
125
+ } while (U.length);
126
+ for (; Ge.length; )
127
+ Ge.pop()();
128
+ ye = !1, pe.clear(), Q(e);
158
129
  }
159
- function rr(e) {
130
+ function Xt(e) {
160
131
  if (e.fragment !== null) {
161
- e.update(), ee(e.before_update);
132
+ e.update(), K(e.before_update);
162
133
  const t = e.dirty;
163
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
134
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
164
135
  }
165
136
  }
166
- function nr(e) {
137
+ function zt(e) {
167
138
  const t = [], r = [];
168
- D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
139
+ G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
169
140
  }
170
- const ir = /* @__PURE__ */ new Set();
171
- function sr(e, t) {
172
- e && e.i && (ir.delete(e), e.i(t));
141
+ const Wt = /* @__PURE__ */ new Set();
142
+ function Zt(e, t) {
143
+ e && e.i && (Wt.delete(e), e.i(t));
173
144
  }
174
- function or(e, t, r) {
145
+ function Qt(e, t, r) {
175
146
  const { fragment: n, after_update: i } = e.$$;
176
- n && n.m(t, r), He(() => {
177
- const s = e.$$.on_mount.map(at).filter(Le);
178
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
179
- }), i.forEach(He);
147
+ n && n.m(t, r), _e(() => {
148
+ const s = e.$$.on_mount.map(tt).filter(Ie);
149
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
150
+ }), i.forEach(_e);
180
151
  }
181
- function ar(e, t) {
152
+ function Jt(e, t) {
182
153
  const r = e.$$;
183
- r.fragment !== null && (nr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
154
+ r.fragment !== null && (zt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
184
155
  }
185
- function ur(e, t) {
186
- e.$$.dirty[0] === -1 && (G.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
156
+ function qt(e, t) {
157
+ e.$$.dirty[0] === -1 && (U.push(e), kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
158
  }
188
- function hr(e, t, r, n, i, s, o = null, a = [-1]) {
189
- const h = Me;
190
- J(e);
159
+ function Yt(e, t, r, n, i, s, a = null, o = [-1]) {
160
+ const l = Le;
161
+ Q(e);
191
162
  const u = e.$$ = {
192
163
  fragment: null,
193
164
  ctx: [],
194
165
  // state
195
166
  props: s,
196
- update: B,
167
+ update: T,
197
168
  not_equal: i,
198
- bound: ke(),
169
+ bound: Ue(),
199
170
  // lifecycle
200
171
  on_mount: [],
201
172
  on_destroy: [],
202
173
  on_disconnect: [],
203
174
  before_update: [],
204
175
  after_update: [],
205
- context: new Map(t.context || (h ? h.$$.context : [])),
176
+ context: new Map(t.context || (l ? l.$$.context : [])),
206
177
  // everything else
207
- callbacks: ke(),
208
- dirty: a,
178
+ callbacks: Ue(),
179
+ dirty: o,
209
180
  skip_bound: !1,
210
- root: t.target || h.$$.root
181
+ root: t.target || l.$$.root
211
182
  };
212
- o && o(u.root);
213
- let l = !1;
183
+ a && a(u.root);
184
+ let h = !1;
214
185
  if (u.ctx = r(e, t.props || {}, (c, f, ...x) => {
215
186
  const g = x.length ? x[0] : f;
216
- return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && ur(e, c)), f;
217
- }), u.update(), l = !0, ee(u.before_update), u.fragment = n(u.ctx), t.target) {
187
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && qt(e, c)), f;
188
+ }), u.update(), h = !0, K(u.before_update), u.fragment = n(u.ctx), t.target) {
218
189
  if (t.hydrate) {
219
- const c = qt(t.target);
220
- u.fragment && u.fragment.l(c), c.forEach(Ce);
190
+ const c = Dt(t.target);
191
+ u.fragment && u.fragment.l(c), c.forEach(we);
221
192
  } else
222
193
  u.fragment && u.fragment.c();
223
- t.intro && sr(e.$$.fragment), or(e, t.target, t.anchor), P();
224
- }
225
- J(h);
226
- }
227
- let ft;
228
- typeof HTMLElement == "function" && (ft = class extends HTMLElement {
229
- constructor(t, r, n) {
230
- super();
231
- /** The Svelte component constructor */
232
- T(this, "$$ctor");
233
- /** Slots */
234
- T(this, "$$s");
235
- /** The Svelte component instance */
236
- T(this, "$$c");
237
- /** Whether or not the custom element is connected */
238
- T(this, "$$cn", !1);
239
- /** Component props data */
240
- T(this, "$$d", {});
241
- /** `true` if currently in the process of reflecting component props back to attributes */
242
- T(this, "$$r", !1);
243
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
244
- T(this, "$$p_d", {});
245
- /** @type {Record<string, Function[]>} Event listeners */
246
- T(this, "$$l", {});
247
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
248
- T(this, "$$l_u", /* @__PURE__ */ new Map());
249
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
250
- }
251
- addEventListener(t, r, n) {
252
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
253
- const i = this.$$c.$on(t, r);
254
- this.$$l_u.set(r, i);
194
+ t.intro && Zt(e.$$.fragment), Qt(e, t.target, t.anchor), A();
195
+ }
196
+ Q(l);
197
+ }
198
+ let st;
199
+ typeof HTMLElement == "function" && (st = class extends HTMLElement {
200
+ /** The Svelte component constructor */
201
+ $$ctor;
202
+ /** Slots */
203
+ $$s;
204
+ /** The Svelte component instance */
205
+ $$c;
206
+ /** Whether or not the custom element is connected */
207
+ $$cn = !1;
208
+ /** Component props data */
209
+ $$d = {};
210
+ /** `true` if currently in the process of reflecting component props back to attributes */
211
+ $$r = !1;
212
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
213
+ $$p_d = {};
214
+ /** @type {Record<string, Function[]>} Event listeners */
215
+ $$l = {};
216
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
217
+ $$l_u = /* @__PURE__ */ new Map();
218
+ constructor(e, t, r) {
219
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
220
+ }
221
+ addEventListener(e, t, r) {
222
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
223
+ const n = this.$$c.$on(e, t);
224
+ this.$$l_u.set(t, n);
255
225
  }
256
- super.addEventListener(t, r, n);
226
+ super.addEventListener(e, t, r);
257
227
  }
258
- removeEventListener(t, r, n) {
259
- if (super.removeEventListener(t, r, n), this.$$c) {
260
- const i = this.$$l_u.get(r);
261
- i && (i(), this.$$l_u.delete(r));
228
+ removeEventListener(e, t, r) {
229
+ if (super.removeEventListener(e, t, r), this.$$c) {
230
+ const n = this.$$l_u.get(t);
231
+ n && (n(), this.$$l_u.delete(t));
262
232
  }
263
233
  }
264
- connectedCallback() {
265
- return Ve(this, null, function* () {
266
- if (this.$$cn = !0, !this.$$c) {
267
- let t = function(s) {
268
- return () => {
269
- let o;
270
- return {
271
- c: function() {
272
- o = Q("slot"), s !== "default" && C(o, "name", s);
273
- },
274
- /**
275
- * @param {HTMLElement} target
276
- * @param {HTMLElement} [anchor]
277
- */
278
- m: function(u, l) {
279
- lt(u, o, l);
280
- },
281
- d: function(u) {
282
- u && Ce(o);
283
- }
284
- };
234
+ async connectedCallback() {
235
+ if (this.$$cn = !0, !this.$$c) {
236
+ let e = function(i) {
237
+ return () => {
238
+ let s;
239
+ return {
240
+ c: function() {
241
+ s = Z("slot"), i !== "default" && L(s, "name", i);
242
+ },
243
+ /**
244
+ * @param {HTMLElement} target
245
+ * @param {HTMLElement} [anchor]
246
+ */
247
+ m: function(l, u) {
248
+ it(l, s, u);
249
+ },
250
+ d: function(l) {
251
+ l && we(s);
252
+ }
285
253
  };
286
254
  };
287
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
288
- return;
289
- const r = {}, n = Kt(this);
290
- for (const s of this.$$s)
291
- s in n && (r[s] = [t(s)]);
292
- for (const s of this.attributes) {
293
- const o = this.$$g_p(s.name);
294
- o in this.$$d || (this.$$d[o] = ie(o, s.value, this.$$p_d, "toProp"));
255
+ };
256
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
257
+ return;
258
+ const t = {}, r = jt(this);
259
+ for (const i of this.$$s)
260
+ i in r && (t[i] = [e(i)]);
261
+ for (const i of this.attributes) {
262
+ const s = this.$$g_p(i.name);
263
+ s in this.$$d || (this.$$d[s] = ne(s, i.value, this.$$p_d, "toProp"));
264
+ }
265
+ for (const i in this.$$p_d)
266
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
267
+ this.$$c = new this.$$ctor({
268
+ target: this.shadowRoot || this,
269
+ props: {
270
+ ...this.$$d,
271
+ $$slots: t,
272
+ $$scope: {
273
+ ctx: []
274
+ }
295
275
  }
296
- for (const s in this.$$p_d)
297
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
298
- this.$$c = new this.$$ctor({
299
- target: this.shadowRoot || this,
300
- props: je(Fe({}, this.$$d), {
301
- $$slots: r,
302
- $$scope: {
303
- ctx: []
304
- }
305
- })
306
- });
307
- const i = () => {
308
- this.$$r = !0;
309
- for (const s in this.$$p_d)
310
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
311
- const o = ie(
312
- s,
313
- this.$$d[s],
314
- this.$$p_d,
315
- "toAttribute"
316
- );
317
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
318
- }
319
- this.$$r = !1;
320
- };
321
- this.$$c.$$.after_update.push(i), i();
322
- for (const s in this.$$l)
323
- for (const o of this.$$l[s]) {
324
- const a = this.$$c.$on(s, o);
325
- this.$$l_u.set(o, a);
276
+ });
277
+ const n = () => {
278
+ this.$$r = !0;
279
+ for (const i in this.$$p_d)
280
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
281
+ const s = ne(
282
+ i,
283
+ this.$$d[i],
284
+ this.$$p_d,
285
+ "toAttribute"
286
+ );
287
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
326
288
  }
327
- this.$$l = {};
328
- }
329
- });
289
+ this.$$r = !1;
290
+ };
291
+ this.$$c.$$.after_update.push(n), n();
292
+ for (const i in this.$$l)
293
+ for (const s of this.$$l[i]) {
294
+ const a = this.$$c.$on(i, s);
295
+ this.$$l_u.set(s, a);
296
+ }
297
+ this.$$l = {};
298
+ }
330
299
  }
331
300
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
332
301
  // and setting attributes through setAttribute etc, this is helpful
333
- attributeChangedCallback(t, r, n) {
334
- var i;
335
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ie(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
302
+ attributeChangedCallback(e, t, r) {
303
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
336
304
  }
337
305
  disconnectedCallback() {
338
306
  this.$$cn = !1, Promise.resolve().then(() => {
339
307
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
340
308
  });
341
309
  }
342
- $$g_p(t) {
310
+ $$g_p(e) {
343
311
  return Object.keys(this.$$p_d).find(
344
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
345
- ) || t;
312
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
313
+ ) || e;
346
314
  }
347
315
  });
348
- function ie(e, t, r, n) {
349
- var s;
350
- const i = (s = r[e]) == null ? void 0 : s.type;
316
+ function ne(e, t, r, n) {
317
+ const i = r[e]?.type;
351
318
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
352
319
  return t;
353
320
  if (n === "toAttribute")
@@ -358,7 +325,7 @@ function ie(e, t, r, n) {
358
325
  case "Boolean":
359
326
  return t ? "" : null;
360
327
  case "Number":
361
- return t == null ? null : t;
328
+ return t ?? null;
362
329
  default:
363
330
  return t;
364
331
  }
@@ -375,59 +342,55 @@ function ie(e, t, r, n) {
375
342
  return t;
376
343
  }
377
344
  }
378
- function lr(e, t, r, n, i, s) {
379
- let o = class extends ft {
345
+ function Kt(e, t, r, n, i, s) {
346
+ let a = class extends st {
380
347
  constructor() {
381
348
  super(e, r, i), this.$$p_d = t;
382
349
  }
383
350
  static get observedAttributes() {
384
351
  return Object.keys(t).map(
385
- (a) => (t[a].attribute || a).toLowerCase()
352
+ (o) => (t[o].attribute || o).toLowerCase()
386
353
  );
387
354
  }
388
355
  };
389
- return Object.keys(t).forEach((a) => {
390
- Object.defineProperty(o.prototype, a, {
356
+ return Object.keys(t).forEach((o) => {
357
+ Object.defineProperty(a.prototype, o, {
391
358
  get() {
392
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
359
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
393
360
  },
394
- set(h) {
395
- var u;
396
- h = ie(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
361
+ set(l) {
362
+ l = ne(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
397
363
  }
398
364
  });
399
- }), n.forEach((a) => {
400
- Object.defineProperty(o.prototype, a, {
365
+ }), n.forEach((o) => {
366
+ Object.defineProperty(a.prototype, o, {
401
367
  get() {
402
- var h;
403
- return (h = this.$$c) == null ? void 0 : h[a];
368
+ return this.$$c?.[o];
404
369
  }
405
370
  });
406
371
  }), e.element = /** @type {any} */
407
- o, o;
408
- }
409
- class fr {
410
- constructor() {
411
- /**
412
- * ### PRIVATE API
413
- *
414
- * Do not use, may change at any time
415
- *
416
- * @type {any}
417
- */
418
- T(this, "$$");
419
- /**
420
- * ### PRIVATE API
421
- *
422
- * Do not use, may change at any time
423
- *
424
- * @type {any}
425
- */
426
- T(this, "$$set");
427
- }
372
+ a, a;
373
+ }
374
+ class er {
375
+ /**
376
+ * ### PRIVATE API
377
+ *
378
+ * Do not use, may change at any time
379
+ *
380
+ * @type {any}
381
+ */
382
+ $$ = void 0;
383
+ /**
384
+ * ### PRIVATE API
385
+ *
386
+ * Do not use, may change at any time
387
+ *
388
+ * @type {any}
389
+ */
390
+ $$set = void 0;
428
391
  /** @returns {void} */
429
392
  $destroy() {
430
- ar(this, 1), this.$destroy = B;
393
+ Jt(this, 1), this.$destroy = T;
431
394
  }
432
395
  /**
433
396
  * @template {Extract<keyof Events, string>} K
@@ -436,8 +399,8 @@ class fr {
436
399
  * @returns {() => void}
437
400
  */
438
401
  $on(t, r) {
439
- if (!Le(r))
440
- return B;
402
+ if (!Ie(r))
403
+ return T;
441
404
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
442
405
  return n.push(r), () => {
443
406
  const i = n.indexOf(r);
@@ -449,159 +412,159 @@ class fr {
449
412
  * @returns {void}
450
413
  */
451
414
  $set(t) {
452
- this.$$set && !Xt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
415
+ this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
416
  }
454
417
  }
455
- const cr = "4";
456
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cr);
457
- const U = [];
458
- function pr(e, t) {
418
+ const tr = "4";
419
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tr);
420
+ const $ = [];
421
+ function rr(e, t) {
459
422
  return {
460
- subscribe: he(e, t).subscribe
423
+ subscribe: ue(e, t).subscribe
461
424
  };
462
425
  }
463
- function he(e, t = B) {
426
+ function ue(e, t = T) {
464
427
  let r;
465
428
  const n = /* @__PURE__ */ new Set();
466
- function i(a) {
467
- if (ut(e, a) && (e = a, r)) {
468
- const h = !U.length;
429
+ function i(o) {
430
+ if (rt(e, o) && (e = o, r)) {
431
+ const l = !$.length;
469
432
  for (const u of n)
470
- u[1](), U.push(u, e);
471
- if (h) {
472
- for (let u = 0; u < U.length; u += 2)
473
- U[u][0](U[u + 1]);
474
- U.length = 0;
433
+ u[1](), $.push(u, e);
434
+ if (l) {
435
+ for (let u = 0; u < $.length; u += 2)
436
+ $[u][0]($[u + 1]);
437
+ $.length = 0;
475
438
  }
476
439
  }
477
440
  }
478
- function s(a) {
479
- i(a(e));
441
+ function s(o) {
442
+ i(o(e));
480
443
  }
481
- function o(a, h = B) {
482
- const u = [a, h];
483
- return n.add(u), n.size === 1 && (r = t(i, s) || B), a(e), () => {
444
+ function a(o, l = T) {
445
+ const u = [o, l];
446
+ return n.add(u), n.size === 1 && (r = t(i, s) || T), o(e), () => {
484
447
  n.delete(u), n.size === 0 && r && (r(), r = null);
485
448
  };
486
449
  }
487
- return { set: i, update: s, subscribe: o };
450
+ return { set: i, update: s, subscribe: a };
488
451
  }
489
- function X(e, t, r) {
452
+ function k(e, t, r) {
490
453
  const n = !Array.isArray(e), i = n ? [e] : e;
491
454
  if (!i.every(Boolean))
492
455
  throw new Error("derived() expects stores as input, got a falsy value");
493
456
  const s = t.length < 2;
494
- return pr(r, (o, a) => {
495
- let h = !1;
457
+ return rr(r, (a, o) => {
458
+ let l = !1;
496
459
  const u = [];
497
- let l = 0, c = B;
460
+ let h = 0, c = T;
498
461
  const f = () => {
499
- if (l)
462
+ if (h)
500
463
  return;
501
464
  c();
502
- const g = t(n ? u[0] : u, o, a);
503
- s ? o(g) : c = Le(g) ? g : B;
465
+ const g = t(n ? u[0] : u, a, o);
466
+ s ? a(g) : c = Ie(g) ? g : T;
504
467
  }, x = i.map(
505
- (g, y) => ht(
468
+ (g, y) => nt(
506
469
  g,
507
470
  (H) => {
508
- u[y] = H, l &= ~(1 << y), h && f();
471
+ u[y] = H, h &= ~(1 << y), l && f();
509
472
  },
510
473
  () => {
511
- l |= 1 << y;
474
+ h |= 1 << y;
512
475
  }
513
476
  )
514
477
  );
515
- return h = !0, f(), function() {
516
- ee(x), c(), h = !1;
478
+ return l = !0, f(), function() {
479
+ K(x), c(), l = !1;
517
480
  };
518
481
  });
519
482
  }
520
- function mr(e) {
483
+ function nr(e) {
521
484
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
522
485
  }
523
- var dr = function(t) {
524
- return br(t) && !gr(t);
486
+ var ir = function(t) {
487
+ return sr(t) && !or(t);
525
488
  };
526
- function br(e) {
489
+ function sr(e) {
527
490
  return !!e && typeof e == "object";
528
491
  }
529
- function gr(e) {
492
+ function or(e) {
530
493
  var t = Object.prototype.toString.call(e);
531
- return t === "[object RegExp]" || t === "[object Date]" || yr(e);
494
+ return t === "[object RegExp]" || t === "[object Date]" || hr(e);
532
495
  }
533
- var xr = typeof Symbol == "function" && Symbol.for, Er = xr ? Symbol.for("react.element") : 60103;
534
- function yr(e) {
535
- return e.$$typeof === Er;
496
+ var ar = typeof Symbol == "function" && Symbol.for, ur = ar ? Symbol.for("react.element") : 60103;
497
+ function hr(e) {
498
+ return e.$$typeof === ur;
536
499
  }
537
- function _r(e) {
500
+ function lr(e) {
538
501
  return Array.isArray(e) ? [] : {};
539
502
  }
540
- function Y(e, t) {
541
- return t.clone !== !1 && t.isMergeableObject(e) ? F(_r(e), e, t) : e;
503
+ function q(e, t) {
504
+ return t.clone !== !1 && t.isMergeableObject(e) ? D(lr(e), e, t) : e;
542
505
  }
543
- function vr(e, t, r) {
506
+ function fr(e, t, r) {
544
507
  return e.concat(t).map(function(n) {
545
- return Y(n, r);
508
+ return q(n, r);
546
509
  });
547
510
  }
548
- function Hr(e, t) {
511
+ function cr(e, t) {
549
512
  if (!t.customMerge)
550
- return F;
513
+ return D;
551
514
  var r = t.customMerge(e);
552
- return typeof r == "function" ? r : F;
515
+ return typeof r == "function" ? r : D;
553
516
  }
554
- function Tr(e) {
517
+ function pr(e) {
555
518
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
556
519
  return Object.propertyIsEnumerable.call(e, t);
557
520
  }) : [];
558
521
  }
559
- function ze(e) {
560
- return Object.keys(e).concat(Tr(e));
522
+ function De(e) {
523
+ return Object.keys(e).concat(pr(e));
561
524
  }
562
- function ct(e, t) {
525
+ function ot(e, t) {
563
526
  try {
564
527
  return t in e;
565
- } catch (r) {
528
+ } catch {
566
529
  return !1;
567
530
  }
568
531
  }
569
- function Br(e, t) {
570
- return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
532
+ function mr(e, t) {
533
+ return ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
571
534
  }
572
- function Sr(e, t, r) {
535
+ function dr(e, t, r) {
573
536
  var n = {};
574
- return r.isMergeableObject(e) && ze(e).forEach(function(i) {
575
- n[i] = Y(e[i], r);
576
- }), ze(t).forEach(function(i) {
577
- Br(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
537
+ return r.isMergeableObject(e) && De(e).forEach(function(i) {
538
+ n[i] = q(e[i], r);
539
+ }), De(t).forEach(function(i) {
540
+ mr(e, i) || (ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = cr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
578
541
  }), n;
579
542
  }
580
- function F(e, t, r) {
581
- r = r || {}, r.arrayMerge = r.arrayMerge || vr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = Y;
543
+ function D(e, t, r) {
544
+ r = r || {}, r.arrayMerge = r.arrayMerge || fr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = q;
582
545
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
583
- return s ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : Y(t, r);
546
+ return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : q(t, r);
584
547
  }
585
- F.all = function(t, r) {
548
+ D.all = function(t, r) {
586
549
  if (!Array.isArray(t))
587
550
  throw new Error("first argument should be an array");
588
551
  return t.reduce(function(n, i) {
589
- return F(n, i, r);
552
+ return D(n, i, r);
590
553
  }, {});
591
554
  };
592
- var Ar = F, Pr = Ar;
593
- const Or = /* @__PURE__ */ mr(Pr);
594
- var Te = function(e, t) {
595
- return Te = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
555
+ var br = D, gr = br;
556
+ const xr = /* @__PURE__ */ nr(gr);
557
+ var ve = function(e, t) {
558
+ return ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
596
559
  r.__proto__ = n;
597
560
  } || function(r, n) {
598
561
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
599
- }, Te(e, t);
562
+ }, ve(e, t);
600
563
  };
601
- function le(e, t) {
564
+ function he(e, t) {
602
565
  if (typeof t != "function" && t !== null)
603
566
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
604
- Te(e, t);
567
+ ve(e, t);
605
568
  function r() {
606
569
  this.constructor = e;
607
570
  }
@@ -616,7 +579,7 @@ var b = function() {
616
579
  return t;
617
580
  }, b.apply(this, arguments);
618
581
  };
619
- function Nr(e, t) {
582
+ function Er(e, t) {
620
583
  var r = {};
621
584
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
622
585
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -624,45 +587,45 @@ function Nr(e, t) {
624
587
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
625
588
  return r;
626
589
  }
627
- function be(e, t, r) {
590
+ function me(e, t, r) {
628
591
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
629
592
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
630
593
  return e.concat(s || Array.prototype.slice.call(t));
631
594
  }
632
- function ge(e, t) {
633
- var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Mr, i = t && t.strategy ? t.strategy : wr;
595
+ function de(e, t) {
596
+ var r = t && t.cache ? t.cache : Sr, n = t && t.serializer ? t.serializer : Tr, i = t && t.strategy ? t.strategy : _r;
634
597
  return i(e, {
635
598
  cache: r,
636
599
  serializer: n
637
600
  });
638
601
  }
639
- function Ir(e) {
602
+ function yr(e) {
640
603
  return e == null || typeof e == "number" || typeof e == "boolean";
641
604
  }
642
- function pt(e, t, r, n) {
643
- var i = Ir(n) ? n : r(n), s = t.get(i);
644
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
605
+ function at(e, t, r, n) {
606
+ var i = yr(n) ? n : r(n), s = t.get(i);
607
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
645
608
  }
646
- function mt(e, t, r) {
609
+ function ut(e, t, r) {
647
610
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
648
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
611
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
649
612
  }
650
- function Re(e, t, r, n, i) {
613
+ function Ce(e, t, r, n, i) {
651
614
  return r.bind(t, e, n, i);
652
615
  }
653
- function wr(e, t) {
654
- var r = e.length === 1 ? pt : mt;
655
- return Re(e, this, r, t.cache.create(), t.serializer);
616
+ function _r(e, t) {
617
+ var r = e.length === 1 ? at : ut;
618
+ return Ce(e, this, r, t.cache.create(), t.serializer);
656
619
  }
657
- function Lr(e, t) {
658
- return Re(e, this, mt, t.cache.create(), t.serializer);
620
+ function vr(e, t) {
621
+ return Ce(e, this, ut, t.cache.create(), t.serializer);
659
622
  }
660
- function Cr(e, t) {
661
- return Re(e, this, pt, t.cache.create(), t.serializer);
623
+ function Hr(e, t) {
624
+ return Ce(e, this, at, t.cache.create(), t.serializer);
662
625
  }
663
- var Mr = function() {
626
+ var Tr = function() {
664
627
  return JSON.stringify(arguments);
665
- }, Rr = (
628
+ }, Br = (
666
629
  /** @class */
667
630
  function() {
668
631
  function e() {
@@ -674,13 +637,13 @@ var Mr = function() {
674
637
  this.cache[t] = r;
675
638
  }, e;
676
639
  }()
677
- ), $r = {
640
+ ), Sr = {
678
641
  create: function() {
679
- return new Rr();
642
+ return new Br();
680
643
  }
681
- }, xe = {
682
- variadic: Lr,
683
- monadic: Cr
644
+ }, be = {
645
+ variadic: vr,
646
+ monadic: Hr
684
647
  }, m;
685
648
  (function(e) {
686
649
  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";
@@ -689,47 +652,47 @@ var E;
689
652
  (function(e) {
690
653
  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";
691
654
  })(E || (E = {}));
692
- var j;
655
+ var F;
693
656
  (function(e) {
694
657
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
695
- })(j || (j = {}));
696
- function We(e) {
658
+ })(F || (F = {}));
659
+ function Fe(e) {
697
660
  return e.type === E.literal;
698
661
  }
699
- function Ur(e) {
662
+ function Ar(e) {
700
663
  return e.type === E.argument;
701
664
  }
702
- function dt(e) {
665
+ function ht(e) {
703
666
  return e.type === E.number;
704
667
  }
705
- function bt(e) {
668
+ function lt(e) {
706
669
  return e.type === E.date;
707
670
  }
708
- function gt(e) {
671
+ function ft(e) {
709
672
  return e.type === E.time;
710
673
  }
711
- function xt(e) {
674
+ function ct(e) {
712
675
  return e.type === E.select;
713
676
  }
714
- function Et(e) {
677
+ function pt(e) {
715
678
  return e.type === E.plural;
716
679
  }
717
- function Gr(e) {
680
+ function Pr(e) {
718
681
  return e.type === E.pound;
719
682
  }
720
- function yt(e) {
683
+ function mt(e) {
721
684
  return e.type === E.tag;
722
685
  }
723
- function _t(e) {
724
- return !!(e && typeof e == "object" && e.type === j.number);
686
+ function dt(e) {
687
+ return !!(e && typeof e == "object" && e.type === F.number);
725
688
  }
726
- function Be(e) {
727
- return !!(e && typeof e == "object" && e.type === j.dateTime);
689
+ function He(e) {
690
+ return !!(e && typeof e == "object" && e.type === F.dateTime);
728
691
  }
729
- var vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
730
- function Fr(e) {
692
+ var bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Or = /(?:[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;
693
+ function Nr(e) {
731
694
  var t = {};
732
- return e.replace(Dr, function(r) {
695
+ return e.replace(Or, function(r) {
733
696
  var n = r.length;
734
697
  switch (r[0]) {
735
698
  case "G":
@@ -818,36 +781,36 @@ function Fr(e) {
818
781
  return "";
819
782
  }), t;
820
783
  }
821
- var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
822
- function Vr(e) {
784
+ var Ir = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
785
+ function wr(e) {
823
786
  if (e.length === 0)
824
787
  throw new Error("Number skeleton cannot be empty");
825
- for (var t = e.split(jr).filter(function(f) {
788
+ for (var t = e.split(Ir).filter(function(f) {
826
789
  return f.length > 0;
827
790
  }), r = [], n = 0, i = t; n < i.length; n++) {
828
- var s = i[n], o = s.split("/");
829
- if (o.length === 0)
791
+ var s = i[n], a = s.split("/");
792
+ if (a.length === 0)
830
793
  throw new Error("Invalid number skeleton");
831
- for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
832
- var c = l[u];
794
+ for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
795
+ var c = h[u];
833
796
  if (c.length === 0)
834
797
  throw new Error("Invalid number skeleton");
835
798
  }
836
- r.push({ stem: a, options: h });
799
+ r.push({ stem: o, options: l });
837
800
  }
838
801
  return r;
839
802
  }
840
- function kr(e) {
803
+ function Lr(e) {
841
804
  return e.replace(/^(.*?)-/, "");
842
805
  }
843
- var Ze = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
844
- function Qe(e) {
806
+ var je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gt = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, xt = /^(0+)$/;
807
+ function Ve(e) {
845
808
  var t = {};
846
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(r, n, i) {
809
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gt, function(r, n, i) {
847
810
  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)), "";
848
811
  }), t;
849
812
  }
850
- function Bt(e) {
813
+ function Et(e) {
851
814
  switch (e) {
852
815
  case "sign-auto":
853
816
  return {
@@ -887,7 +850,7 @@ function Bt(e) {
887
850
  };
888
851
  }
889
852
  }
890
- function zr(e) {
853
+ function Mr(e) {
891
854
  var t;
892
855
  if (e[0] === "E" && e[1] === "E" ? (t = {
893
856
  notation: "engineering"
@@ -895,17 +858,17 @@ function zr(e) {
895
858
  notation: "scientific"
896
859
  }, e = e.slice(1)), t) {
897
860
  var r = e.slice(0, 2);
898
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tt.test(e))
861
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xt.test(e))
899
862
  throw new Error("Malformed concise eng/scientific notation");
900
863
  t.minimumIntegerDigits = e.length;
901
864
  }
902
865
  return t;
903
866
  }
904
- function Je(e) {
905
- var t = {}, r = Bt(e);
867
+ function ke(e) {
868
+ var t = {}, r = Et(e);
906
869
  return r || t;
907
870
  }
908
- function Wr(e) {
871
+ function Rr(e) {
909
872
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
910
873
  var i = n[r];
911
874
  switch (i.stem) {
@@ -929,7 +892,7 @@ function Wr(e) {
929
892
  continue;
930
893
  case "measure-unit":
931
894
  case "unit":
932
- t.style = "unit", t.unit = kr(i.options[0]);
895
+ t.style = "unit", t.unit = Lr(i.options[0]);
933
896
  continue;
934
897
  case "compact-short":
935
898
  case "K":
@@ -940,13 +903,13 @@ function Wr(e) {
940
903
  t.notation = "compact", t.compactDisplay = "long";
941
904
  continue;
942
905
  case "scientific":
943
- t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
944
- return b(b({}, h), Je(u));
906
+ t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
907
+ return b(b({}, l), ke(u));
945
908
  }, {}));
946
909
  continue;
947
910
  case "engineering":
948
- t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
949
- return b(b({}, h), Je(u));
911
+ t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
912
+ return b(b({}, l), ke(u));
950
913
  }, {}));
951
914
  continue;
952
915
  case "notation-simple":
@@ -991,9 +954,9 @@ function Wr(e) {
991
954
  case "integer-width":
992
955
  if (i.options.length > 1)
993
956
  throw new RangeError("integer-width stems only accept a single optional option");
994
- i.options[0].replace(Xr, function(h, u, l, c, f, x) {
957
+ i.options[0].replace(Cr, function(l, u, h, c, f, x) {
995
958
  if (u)
996
- t.minimumIntegerDigits = l.length;
959
+ t.minimumIntegerDigits = h.length;
997
960
  else {
998
961
  if (c && f)
999
962
  throw new Error("We currently do not support maximum integer digits");
@@ -1004,32 +967,32 @@ function Wr(e) {
1004
967
  });
1005
968
  continue;
1006
969
  }
1007
- if (Tt.test(i.stem)) {
970
+ if (xt.test(i.stem)) {
1008
971
  t.minimumIntegerDigits = i.stem.length;
1009
972
  continue;
1010
973
  }
1011
- if (Ze.test(i.stem)) {
974
+ if (je.test(i.stem)) {
1012
975
  if (i.options.length > 1)
1013
976
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1014
- i.stem.replace(Ze, function(h, u, l, c, f, x) {
1015
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && x ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
977
+ i.stem.replace(je, function(l, u, h, c, f, x) {
978
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && x ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1016
979
  });
1017
980
  var s = i.options[0];
1018
- s === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = b(b({}, t), Qe(s)));
981
+ s === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = b(b({}, t), Ve(s)));
1019
982
  continue;
1020
983
  }
1021
- if (Ht.test(i.stem)) {
1022
- t = b(b({}, t), Qe(i.stem));
984
+ if (gt.test(i.stem)) {
985
+ t = b(b({}, t), Ve(i.stem));
1023
986
  continue;
1024
987
  }
1025
- var o = Bt(i.stem);
1026
- o && (t = b(b({}, t), o));
1027
- var a = zr(i.stem);
988
+ var a = Et(i.stem);
1028
989
  a && (t = b(b({}, t), a));
990
+ var o = Mr(i.stem);
991
+ o && (t = b(b({}, t), o));
1029
992
  }
1030
993
  return t;
1031
994
  }
1032
- var re = {
995
+ var te = {
1033
996
  "001": [
1034
997
  "H",
1035
998
  "h"
@@ -2444,22 +2407,22 @@ var re = {
2444
2407
  "h"
2445
2408
  ]
2446
2409
  };
2447
- function Zr(e, t) {
2410
+ function $r(e, t) {
2448
2411
  for (var r = "", n = 0; n < e.length; n++) {
2449
2412
  var i = e.charAt(n);
2450
2413
  if (i === "j") {
2451
2414
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2452
2415
  s++, n++;
2453
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Qr(t);
2454
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2455
- r += h;
2456
- for (; o-- > 0; )
2416
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Ur(t);
2417
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2418
+ r += l;
2419
+ for (; a-- > 0; )
2457
2420
  r = u + r;
2458
2421
  } else i === "J" ? r += "H" : r += i;
2459
2422
  }
2460
2423
  return r;
2461
2424
  }
2462
- function Qr(e) {
2425
+ function Ur(e) {
2463
2426
  var t = e.hourCycle;
2464
2427
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2465
2428
  e.hourCycles && // @ts-ignore
@@ -2478,23 +2441,23 @@ function Qr(e) {
2478
2441
  }
2479
2442
  var r = e.language, n;
2480
2443
  r !== "root" && (n = e.maximize().region);
2481
- var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
2444
+ var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
2482
2445
  return i[0];
2483
2446
  }
2484
- var Ee, Jr = new RegExp("^".concat(vt.source, "*")), qr = new RegExp("".concat(vt.source, "*$"));
2447
+ var ge, Gr = new RegExp("^".concat(bt.source, "*")), Dr = new RegExp("".concat(bt.source, "*$"));
2485
2448
  function d(e, t) {
2486
2449
  return { start: e, end: t };
2487
2450
  }
2488
- var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, on = sn ? Number.isSafeInteger : function(e) {
2451
+ var Fr = !!String.prototype.startsWith && "_a".startsWith("a", 1), jr = !!String.fromCodePoint, Vr = !!Object.fromEntries, kr = !!String.prototype.codePointAt, Xr = !!String.prototype.trimStart, zr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, Zr = Wr ? Number.isSafeInteger : function(e) {
2489
2452
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2490
- }, Se = !0;
2453
+ }, Te = !0;
2491
2454
  try {
2492
- var an = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2493
- Se = ((Ee = an.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
2494
- } catch (e) {
2495
- Se = !1;
2455
+ var Qr = _t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2456
+ Te = ((ge = Qr.exec("a")) === null || ge === void 0 ? void 0 : ge[0]) === "a";
2457
+ } catch {
2458
+ Te = !1;
2496
2459
  }
2497
- var qe = Yr ? (
2460
+ var Xe = Fr ? (
2498
2461
  // Native
2499
2462
  function(t, r, n) {
2500
2463
  return t.startsWith(r, n);
@@ -2504,31 +2467,31 @@ var qe = Yr ? (
2504
2467
  function(t, r, n) {
2505
2468
  return t.slice(n, n + r.length) === r;
2506
2469
  }
2507
- ), Ae = Kr ? String.fromCodePoint : (
2470
+ ), Be = jr ? String.fromCodePoint : (
2508
2471
  // IE11
2509
2472
  function() {
2510
2473
  for (var t = [], r = 0; r < arguments.length; r++)
2511
2474
  t[r] = arguments[r];
2512
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2513
- if (o = t[s++], o > 1114111)
2514
- throw RangeError(o + " is not a valid code point");
2515
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2475
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
2476
+ if (a = t[s++], a > 1114111)
2477
+ throw RangeError(a + " is not a valid code point");
2478
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2516
2479
  }
2517
2480
  return n;
2518
2481
  }
2519
- ), Ye = (
2482
+ ), ze = (
2520
2483
  // native
2521
- en ? Object.fromEntries : (
2484
+ Vr ? Object.fromEntries : (
2522
2485
  // Ponyfill
2523
2486
  function(t) {
2524
2487
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2525
- var s = i[n], o = s[0], a = s[1];
2526
- r[o] = a;
2488
+ var s = i[n], a = s[0], o = s[1];
2489
+ r[a] = o;
2527
2490
  }
2528
2491
  return r;
2529
2492
  }
2530
2493
  )
2531
- ), St = tn ? (
2494
+ ), yt = kr ? (
2532
2495
  // Native
2533
2496
  function(t, r) {
2534
2497
  return t.codePointAt(r);
@@ -2542,7 +2505,7 @@ var qe = Yr ? (
2542
2505
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2543
2506
  }
2544
2507
  }
2545
- ), un = rn ? (
2508
+ ), Jr = Xr ? (
2546
2509
  // Native
2547
2510
  function(t) {
2548
2511
  return t.trimStart();
@@ -2550,9 +2513,9 @@ var qe = Yr ? (
2550
2513
  ) : (
2551
2514
  // Ponyfill
2552
2515
  function(t) {
2553
- return t.replace(Jr, "");
2516
+ return t.replace(Gr, "");
2554
2517
  }
2555
- ), hn = nn ? (
2518
+ ), qr = zr ? (
2556
2519
  // Native
2557
2520
  function(t) {
2558
2521
  return t.trimEnd();
@@ -2560,32 +2523,32 @@ var qe = Yr ? (
2560
2523
  ) : (
2561
2524
  // Ponyfill
2562
2525
  function(t) {
2563
- return t.replace(qr, "");
2526
+ return t.replace(Dr, "");
2564
2527
  }
2565
2528
  );
2566
- function At(e, t) {
2529
+ function _t(e, t) {
2567
2530
  return new RegExp(e, t);
2568
2531
  }
2569
- var Pe;
2570
- if (Se) {
2571
- var Ke = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2572
- Pe = function(t, r) {
2532
+ var Se;
2533
+ if (Te) {
2534
+ var We = _t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2535
+ Se = function(t, r) {
2573
2536
  var n;
2574
- Ke.lastIndex = r;
2575
- var i = Ke.exec(t);
2537
+ We.lastIndex = r;
2538
+ var i = We.exec(t);
2576
2539
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2577
2540
  };
2578
2541
  } else
2579
- Pe = function(t, r) {
2542
+ Se = function(t, r) {
2580
2543
  for (var n = []; ; ) {
2581
- var i = St(t, r);
2582
- if (i === void 0 || Pt(i) || pn(i))
2544
+ var i = yt(t, r);
2545
+ if (i === void 0 || vt(i) || tn(i))
2583
2546
  break;
2584
2547
  n.push(i), r += i >= 65536 ? 2 : 1;
2585
2548
  }
2586
- return Ae.apply(void 0, n);
2549
+ return Be.apply(void 0, n);
2587
2550
  };
2588
- var ln = (
2551
+ var Yr = (
2589
2552
  /** @class */
2590
2553
  function() {
2591
2554
  function e(t, r) {
@@ -2599,33 +2562,33 @@ var ln = (
2599
2562
  for (var i = []; !this.isEOF(); ) {
2600
2563
  var s = this.char();
2601
2564
  if (s === 123) {
2602
- var o = this.parseArgument(t, n);
2603
- if (o.err)
2604
- return o;
2605
- i.push(o.val);
2565
+ var a = this.parseArgument(t, n);
2566
+ if (a.err)
2567
+ return a;
2568
+ i.push(a.val);
2606
2569
  } else {
2607
2570
  if (s === 125 && t > 0)
2608
2571
  break;
2609
2572
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2610
- var a = this.clonePosition();
2573
+ var o = this.clonePosition();
2611
2574
  this.bump(), i.push({
2612
2575
  type: E.pound,
2613
- location: d(a, this.clonePosition())
2576
+ location: d(o, this.clonePosition())
2614
2577
  });
2615
2578
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2616
2579
  if (n)
2617
2580
  break;
2618
2581
  return this.error(m.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
2619
- } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2620
- var o = this.parseTag(t, r);
2621
- if (o.err)
2622
- return o;
2623
- i.push(o.val);
2582
+ } else if (s === 60 && !this.ignoreTag && Ae(this.peek() || 0)) {
2583
+ var a = this.parseTag(t, r);
2584
+ if (a.err)
2585
+ return a;
2586
+ i.push(a.val);
2624
2587
  } else {
2625
- var o = this.parseLiteral(t, r);
2626
- if (o.err)
2627
- return o;
2628
- i.push(o.val);
2588
+ var a = this.parseLiteral(t, r);
2589
+ if (a.err)
2590
+ return a;
2591
+ i.push(a.val);
2629
2592
  }
2630
2593
  }
2631
2594
  }
@@ -2647,27 +2610,27 @@ var ln = (
2647
2610
  var s = this.parseMessage(t + 1, r, !0);
2648
2611
  if (s.err)
2649
2612
  return s;
2650
- var o = s.val, a = this.clonePosition();
2613
+ var a = s.val, o = this.clonePosition();
2651
2614
  if (this.bumpIf("</")) {
2652
- if (this.isEOF() || !Oe(this.char()))
2653
- return this.error(m.INVALID_TAG, d(a, this.clonePosition()));
2654
- var h = this.clonePosition(), u = this.parseTagName();
2655
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2615
+ if (this.isEOF() || !Ae(this.char()))
2616
+ return this.error(m.INVALID_TAG, d(o, this.clonePosition()));
2617
+ var l = this.clonePosition(), u = this.parseTagName();
2618
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, d(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2656
2619
  val: {
2657
2620
  type: E.tag,
2658
2621
  value: i,
2659
- children: o,
2622
+ children: a,
2660
2623
  location: d(n, this.clonePosition())
2661
2624
  },
2662
2625
  err: null
2663
- } : this.error(m.INVALID_TAG, d(a, this.clonePosition())));
2626
+ } : this.error(m.INVALID_TAG, d(o, this.clonePosition())));
2664
2627
  } else
2665
2628
  return this.error(m.UNCLOSED_TAG, d(n, this.clonePosition()));
2666
2629
  } else
2667
2630
  return this.error(m.INVALID_TAG, d(n, this.clonePosition()));
2668
2631
  }, e.prototype.parseTagName = function() {
2669
2632
  var t = this.offset();
2670
- for (this.bump(); !this.isEOF() && cn(this.char()); )
2633
+ for (this.bump(); !this.isEOF() && en(this.char()); )
2671
2634
  this.bump();
2672
2635
  return this.message.slice(t, this.offset());
2673
2636
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2677,26 +2640,26 @@ var ln = (
2677
2640
  i += s;
2678
2641
  continue;
2679
2642
  }
2680
- var o = this.tryParseUnquoted(t, r);
2681
- if (o) {
2682
- i += o;
2683
- continue;
2684
- }
2685
- var a = this.tryParseLeftAngleBracket();
2643
+ var a = this.tryParseUnquoted(t, r);
2686
2644
  if (a) {
2687
2645
  i += a;
2688
2646
  continue;
2689
2647
  }
2648
+ var o = this.tryParseLeftAngleBracket();
2649
+ if (o) {
2650
+ i += o;
2651
+ continue;
2652
+ }
2690
2653
  break;
2691
2654
  }
2692
- var h = d(n, this.clonePosition());
2655
+ var l = d(n, this.clonePosition());
2693
2656
  return {
2694
- val: { type: E.literal, value: i, location: h },
2657
+ val: { type: E.literal, value: i, location: l },
2695
2658
  err: null
2696
2659
  };
2697
2660
  }, e.prototype.tryParseLeftAngleBracket = function() {
2698
2661
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2699
- !fn(this.peek() || 0)) ? (this.bump(), "<") : null;
2662
+ !Kr(this.peek() || 0)) ? (this.bump(), "<") : null;
2700
2663
  }, e.prototype.tryParseQuote = function(t) {
2701
2664
  if (this.isEOF() || this.char() !== 39)
2702
2665
  return null;
@@ -2730,12 +2693,12 @@ var ln = (
2730
2693
  r.push(n);
2731
2694
  this.bump();
2732
2695
  }
2733
- return Ae.apply(void 0, r);
2696
+ return Be.apply(void 0, r);
2734
2697
  }, e.prototype.tryParseUnquoted = function(t, r) {
2735
2698
  if (this.isEOF())
2736
2699
  return null;
2737
2700
  var n = this.char();
2738
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ae(n));
2701
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Be(n));
2739
2702
  }, e.prototype.parseArgument = function(t, r) {
2740
2703
  var n = this.clonePosition();
2741
2704
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2764,15 +2727,15 @@ var ln = (
2764
2727
  return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
2765
2728
  }
2766
2729
  }, e.prototype.parseIdentifierIfPossible = function() {
2767
- var t = this.clonePosition(), r = this.offset(), n = Pe(this.message, r), i = r + n.length;
2730
+ var t = this.clonePosition(), r = this.offset(), n = Se(this.message, r), i = r + n.length;
2768
2731
  this.bumpTo(i);
2769
- var s = this.clonePosition(), o = d(t, s);
2770
- return { value: n, location: o };
2732
+ var s = this.clonePosition(), a = d(t, s);
2733
+ return { value: n, location: a };
2771
2734
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2772
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2773
- switch (a) {
2735
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2736
+ switch (o) {
2774
2737
  case "":
2775
- return this.error(m.EXPECT_ARGUMENT_TYPE, d(o, h));
2738
+ return this.error(m.EXPECT_ARGUMENT_TYPE, d(a, l));
2776
2739
  case "number":
2777
2740
  case "date":
2778
2741
  case "time": {
@@ -2780,22 +2743,22 @@ var ln = (
2780
2743
  var u = null;
2781
2744
  if (this.bumpIf(",")) {
2782
2745
  this.bumpSpace();
2783
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2746
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2784
2747
  if (c.err)
2785
2748
  return c;
2786
- var f = hn(c.val);
2749
+ var f = qr(c.val);
2787
2750
  if (f.length === 0)
2788
2751
  return this.error(m.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
2789
- var x = d(l, this.clonePosition());
2752
+ var x = d(h, this.clonePosition());
2790
2753
  u = { style: f, styleLocation: x };
2791
2754
  }
2792
2755
  var g = this.tryParseArgumentClose(i);
2793
2756
  if (g.err)
2794
2757
  return g;
2795
2758
  var y = d(i, this.clonePosition());
2796
- if (u && qe(u == null ? void 0 : u.style, "::", 0)) {
2797
- var H = un(u.style.slice(2));
2798
- if (a === "number") {
2759
+ if (u && Xe(u?.style, "::", 0)) {
2760
+ var H = Jr(u.style.slice(2));
2761
+ if (o === "number") {
2799
2762
  var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
2800
2763
  return c.err ? c : {
2801
2764
  val: { type: E.number, value: n, location: y, style: c.val },
@@ -2804,26 +2767,26 @@ var ln = (
2804
2767
  } else {
2805
2768
  if (H.length === 0)
2806
2769
  return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
2807
- var S = H;
2808
- this.locale && (S = Zr(H, this.locale));
2770
+ var B = H;
2771
+ this.locale && (B = $r(H, this.locale));
2809
2772
  var f = {
2810
- type: j.dateTime,
2811
- pattern: S,
2773
+ type: F.dateTime,
2774
+ pattern: B,
2812
2775
  location: u.styleLocation,
2813
- parsedOptions: this.shouldParseSkeletons ? Fr(S) : {}
2814
- }, A = a === "date" ? E.date : E.time;
2776
+ parsedOptions: this.shouldParseSkeletons ? Nr(B) : {}
2777
+ }, S = o === "date" ? E.date : E.time;
2815
2778
  return {
2816
- val: { type: A, value: n, location: y, style: f },
2779
+ val: { type: S, value: n, location: y, style: f },
2817
2780
  err: null
2818
2781
  };
2819
2782
  }
2820
2783
  }
2821
2784
  return {
2822
2785
  val: {
2823
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
2786
+ type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2824
2787
  value: n,
2825
2788
  location: y,
2826
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2789
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
2827
2790
  },
2828
2791
  err: null
2829
2792
  };
@@ -2835,45 +2798,45 @@ var ln = (
2835
2798
  if (this.bumpSpace(), !this.bumpIf(","))
2836
2799
  return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, d(v, b({}, v)));
2837
2800
  this.bumpSpace();
2838
- var N = this.parseIdentifierIfPossible(), O = 0;
2839
- if (a !== "select" && N.value === "offset") {
2801
+ var O = this.parseIdentifierIfPossible(), P = 0;
2802
+ if (o !== "select" && O.value === "offset") {
2840
2803
  if (!this.bumpIf(":"))
2841
2804
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
2842
2805
  this.bumpSpace();
2843
2806
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2844
2807
  if (c.err)
2845
2808
  return c;
2846
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = c.val;
2809
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = c.val;
2847
2810
  }
2848
- var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
2849
- if (R.err)
2850
- return R;
2811
+ var M = this.tryParsePluralOrSelectOptions(t, o, r, O);
2812
+ if (M.err)
2813
+ return M;
2851
2814
  var g = this.tryParseArgumentClose(i);
2852
2815
  if (g.err)
2853
2816
  return g;
2854
- var te = d(i, this.clonePosition());
2855
- return a === "select" ? {
2817
+ var ee = d(i, this.clonePosition());
2818
+ return o === "select" ? {
2856
2819
  val: {
2857
2820
  type: E.select,
2858
2821
  value: n,
2859
- options: Ye(R.val),
2860
- location: te
2822
+ options: ze(M.val),
2823
+ location: ee
2861
2824
  },
2862
2825
  err: null
2863
2826
  } : {
2864
2827
  val: {
2865
2828
  type: E.plural,
2866
2829
  value: n,
2867
- options: Ye(R.val),
2868
- offset: O,
2869
- pluralType: a === "plural" ? "cardinal" : "ordinal",
2870
- location: te
2830
+ options: ze(M.val),
2831
+ offset: P,
2832
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
2833
+ location: ee
2871
2834
  },
2872
2835
  err: null
2873
2836
  };
2874
2837
  }
2875
2838
  default:
2876
- return this.error(m.INVALID_ARGUMENT_TYPE, d(o, h));
2839
+ return this.error(m.INVALID_ARGUMENT_TYPE, d(a, l));
2877
2840
  }
2878
2841
  }, e.prototype.tryParseArgumentClose = function(t) {
2879
2842
  return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2915,34 +2878,34 @@ var ln = (
2915
2878
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2916
2879
  var n = [];
2917
2880
  try {
2918
- n = Vr(t);
2919
- } catch (i) {
2881
+ n = wr(t);
2882
+ } catch {
2920
2883
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2921
2884
  }
2922
2885
  return {
2923
2886
  val: {
2924
- type: j.number,
2887
+ type: F.number,
2925
2888
  tokens: n,
2926
2889
  location: r,
2927
- parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2890
+ parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
2928
2891
  },
2929
2892
  err: null
2930
2893
  };
2931
2894
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2932
- for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2895
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2933
2896
  if (u.length === 0) {
2934
2897
  var c = this.clonePosition();
2935
2898
  if (r !== "select" && this.bumpIf("=")) {
2936
2899
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
2937
2900
  if (f.err)
2938
2901
  return f;
2939
- l = d(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2902
+ h = d(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2940
2903
  } else
2941
2904
  break;
2942
2905
  }
2943
- if (h.has(u))
2944
- return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2945
- u === "other" && (o = !0), this.bumpSpace();
2906
+ if (l.has(u))
2907
+ return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2908
+ u === "other" && (a = !0), this.bumpSpace();
2946
2909
  var x = this.clonePosition();
2947
2910
  if (!this.bumpIf("{"))
2948
2911
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
@@ -2952,27 +2915,27 @@ var ln = (
2952
2915
  var y = this.tryParseArgumentClose(x);
2953
2916
  if (y.err)
2954
2917
  return y;
2955
- a.push([
2918
+ o.push([
2956
2919
  u,
2957
2920
  {
2958
2921
  value: g.val,
2959
2922
  location: d(x, this.clonePosition())
2960
2923
  }
2961
- ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
2924
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2962
2925
  }
2963
- return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(m.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2926
+ return o.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(m.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2964
2927
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2965
2928
  var n = 1, i = this.clonePosition();
2966
2929
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2967
- for (var s = !1, o = 0; !this.isEOF(); ) {
2968
- var a = this.char();
2969
- if (a >= 48 && a <= 57)
2970
- s = !0, o = o * 10 + (a - 48), this.bump();
2930
+ for (var s = !1, a = 0; !this.isEOF(); ) {
2931
+ var o = this.char();
2932
+ if (o >= 48 && o <= 57)
2933
+ s = !0, a = a * 10 + (o - 48), this.bump();
2971
2934
  else
2972
2935
  break;
2973
2936
  }
2974
- var h = d(i, this.clonePosition());
2975
- return s ? (o *= n, on(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
2937
+ var l = d(i, this.clonePosition());
2938
+ return s ? (a *= n, Zr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2976
2939
  }, e.prototype.offset = function() {
2977
2940
  return this.position.offset;
2978
2941
  }, e.prototype.isEOF = function() {
@@ -2987,7 +2950,7 @@ var ln = (
2987
2950
  var t = this.position.offset;
2988
2951
  if (t >= this.message.length)
2989
2952
  throw Error("out of bound");
2990
- var r = St(this.message, t);
2953
+ var r = yt(this.message, t);
2991
2954
  if (r === void 0)
2992
2955
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2993
2956
  return r;
@@ -3006,7 +2969,7 @@ var ln = (
3006
2969
  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);
3007
2970
  }
3008
2971
  }, e.prototype.bumpIf = function(t) {
3009
- if (qe(this.message, t, this.offset())) {
2972
+ if (Xe(this.message, t, this.offset())) {
3010
2973
  for (var r = 0; r < t.length; r++)
3011
2974
  this.bump();
3012
2975
  return !0;
@@ -3028,56 +2991,56 @@ var ln = (
3028
2991
  break;
3029
2992
  }
3030
2993
  }, e.prototype.bumpSpace = function() {
3031
- for (; !this.isEOF() && Pt(this.char()); )
2994
+ for (; !this.isEOF() && vt(this.char()); )
3032
2995
  this.bump();
3033
2996
  }, e.prototype.peek = function() {
3034
2997
  if (this.isEOF())
3035
2998
  return null;
3036
2999
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3037
- return n != null ? n : null;
3000
+ return n ?? null;
3038
3001
  }, e;
3039
3002
  }()
3040
3003
  );
3041
- function Oe(e) {
3004
+ function Ae(e) {
3042
3005
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3043
3006
  }
3044
- function fn(e) {
3045
- return Oe(e) || e === 47;
3007
+ function Kr(e) {
3008
+ return Ae(e) || e === 47;
3046
3009
  }
3047
- function cn(e) {
3010
+ function en(e) {
3048
3011
  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;
3049
3012
  }
3050
- function Pt(e) {
3013
+ function vt(e) {
3051
3014
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3052
3015
  }
3053
- function pn(e) {
3016
+ function tn(e) {
3054
3017
  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;
3055
3018
  }
3056
- function Ne(e) {
3019
+ function Pe(e) {
3057
3020
  e.forEach(function(t) {
3058
- if (delete t.location, xt(t) || Et(t))
3021
+ if (delete t.location, ct(t) || pt(t))
3059
3022
  for (var r in t.options)
3060
- delete t.options[r].location, Ne(t.options[r].value);
3061
- else dt(t) && _t(t.style) || (bt(t) || gt(t)) && Be(t.style) ? delete t.style.location : yt(t) && Ne(t.children);
3023
+ delete t.options[r].location, Pe(t.options[r].value);
3024
+ else ht(t) && dt(t.style) || (lt(t) || ft(t)) && He(t.style) ? delete t.style.location : mt(t) && Pe(t.children);
3062
3025
  });
3063
3026
  }
3064
- function mn(e, t) {
3027
+ function rn(e, t) {
3065
3028
  t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3066
- var r = new ln(e, t).parse();
3029
+ var r = new Yr(e, t).parse();
3067
3030
  if (r.err) {
3068
3031
  var n = SyntaxError(m[r.err.kind]);
3069
3032
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3070
3033
  }
3071
- return t != null && t.captureLocation || Ne(r.val), r.val;
3034
+ return t?.captureLocation || Pe(r.val), r.val;
3072
3035
  }
3073
- var V;
3036
+ var j;
3074
3037
  (function(e) {
3075
3038
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3076
- })(V || (V = {}));
3077
- var fe = (
3039
+ })(j || (j = {}));
3040
+ var le = (
3078
3041
  /** @class */
3079
3042
  function(e) {
3080
- le(t, e);
3043
+ he(t, e);
3081
3044
  function t(r, n, i) {
3082
3045
  var s = e.call(this, r) || this;
3083
3046
  return s.code = n, s.originalMessage = i, s;
@@ -3086,155 +3049,155 @@ var fe = (
3086
3049
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3087
3050
  }, t;
3088
3051
  }(Error)
3089
- ), et = (
3052
+ ), Ze = (
3090
3053
  /** @class */
3091
3054
  function(e) {
3092
- le(t, e);
3055
+ he(t, e);
3093
3056
  function t(r, n, i, s) {
3094
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3057
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, s) || this;
3095
3058
  }
3096
3059
  return t;
3097
- }(fe)
3098
- ), dn = (
3060
+ }(le)
3061
+ ), nn = (
3099
3062
  /** @class */
3100
3063
  function(e) {
3101
- le(t, e);
3064
+ he(t, e);
3102
3065
  function t(r, n, i) {
3103
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3066
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3104
3067
  }
3105
3068
  return t;
3106
- }(fe)
3107
- ), bn = (
3069
+ }(le)
3070
+ ), sn = (
3108
3071
  /** @class */
3109
3072
  function(e) {
3110
- le(t, e);
3073
+ he(t, e);
3111
3074
  function t(r, n) {
3112
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3075
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3113
3076
  }
3114
3077
  return t;
3115
- }(fe)
3078
+ }(le)
3116
3079
  ), _;
3117
3080
  (function(e) {
3118
3081
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3119
3082
  })(_ || (_ = {}));
3120
- function gn(e) {
3083
+ function on(e) {
3121
3084
  return e.length < 2 ? e : e.reduce(function(t, r) {
3122
3085
  var n = t[t.length - 1];
3123
3086
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3124
3087
  }, []);
3125
3088
  }
3126
- function xn(e) {
3089
+ function an(e) {
3127
3090
  return typeof e == "function";
3128
3091
  }
3129
- function se(e, t, r, n, i, s, o) {
3130
- if (e.length === 1 && We(e[0]))
3092
+ function ie(e, t, r, n, i, s, a) {
3093
+ if (e.length === 1 && Fe(e[0]))
3131
3094
  return [
3132
3095
  {
3133
3096
  type: _.literal,
3134
3097
  value: e[0].value
3135
3098
  }
3136
3099
  ];
3137
- for (var a = [], h = 0, u = e; h < u.length; h++) {
3138
- var l = u[h];
3139
- if (We(l)) {
3140
- a.push({
3100
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3101
+ var h = u[l];
3102
+ if (Fe(h)) {
3103
+ o.push({
3141
3104
  type: _.literal,
3142
- value: l.value
3105
+ value: h.value
3143
3106
  });
3144
3107
  continue;
3145
3108
  }
3146
- if (Gr(l)) {
3147
- typeof s == "number" && a.push({
3109
+ if (Pr(h)) {
3110
+ typeof s == "number" && o.push({
3148
3111
  type: _.literal,
3149
3112
  value: r.getNumberFormat(t).format(s)
3150
3113
  });
3151
3114
  continue;
3152
3115
  }
3153
- var c = l.value;
3116
+ var c = h.value;
3154
3117
  if (!(i && c in i))
3155
- throw new bn(c, o);
3118
+ throw new sn(c, a);
3156
3119
  var f = i[c];
3157
- if (Ur(l)) {
3158
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3120
+ if (Ar(h)) {
3121
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3159
3122
  type: typeof f == "string" ? _.literal : _.object,
3160
3123
  value: f
3161
3124
  });
3162
3125
  continue;
3163
3126
  }
3164
- if (bt(l)) {
3165
- var x = typeof l.style == "string" ? n.date[l.style] : Be(l.style) ? l.style.parsedOptions : void 0;
3166
- a.push({
3127
+ if (lt(h)) {
3128
+ var x = typeof h.style == "string" ? n.date[h.style] : He(h.style) ? h.style.parsedOptions : void 0;
3129
+ o.push({
3167
3130
  type: _.literal,
3168
3131
  value: r.getDateTimeFormat(t, x).format(f)
3169
3132
  });
3170
3133
  continue;
3171
3134
  }
3172
- if (gt(l)) {
3173
- var x = typeof l.style == "string" ? n.time[l.style] : Be(l.style) ? l.style.parsedOptions : n.time.medium;
3174
- a.push({
3135
+ if (ft(h)) {
3136
+ var x = typeof h.style == "string" ? n.time[h.style] : He(h.style) ? h.style.parsedOptions : n.time.medium;
3137
+ o.push({
3175
3138
  type: _.literal,
3176
3139
  value: r.getDateTimeFormat(t, x).format(f)
3177
3140
  });
3178
3141
  continue;
3179
3142
  }
3180
- if (dt(l)) {
3181
- var x = typeof l.style == "string" ? n.number[l.style] : _t(l.style) ? l.style.parsedOptions : void 0;
3182
- x && x.scale && (f = f * (x.scale || 1)), a.push({
3143
+ if (ht(h)) {
3144
+ var x = typeof h.style == "string" ? n.number[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3145
+ x && x.scale && (f = f * (x.scale || 1)), o.push({
3183
3146
  type: _.literal,
3184
3147
  value: r.getNumberFormat(t, x).format(f)
3185
3148
  });
3186
3149
  continue;
3187
3150
  }
3188
- if (yt(l)) {
3189
- var g = l.children, y = l.value, H = i[y];
3190
- if (!xn(H))
3191
- throw new dn(y, "function", o);
3192
- var S = se(g, t, r, n, i, s), A = H(S.map(function(O) {
3193
- return O.value;
3151
+ if (mt(h)) {
3152
+ var g = h.children, y = h.value, H = i[y];
3153
+ if (!an(H))
3154
+ throw new nn(y, "function", a);
3155
+ var B = ie(g, t, r, n, i, s), S = H(B.map(function(P) {
3156
+ return P.value;
3194
3157
  }));
3195
- Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(O) {
3158
+ Array.isArray(S) || (S = [S]), o.push.apply(o, S.map(function(P) {
3196
3159
  return {
3197
- type: typeof O == "string" ? _.literal : _.object,
3198
- value: O
3160
+ type: typeof P == "string" ? _.literal : _.object,
3161
+ value: P
3199
3162
  };
3200
3163
  }));
3201
3164
  }
3202
- if (xt(l)) {
3203
- var v = l.options[f] || l.options.other;
3165
+ if (ct(h)) {
3166
+ var v = h.options[f] || h.options.other;
3204
3167
  if (!v)
3205
- throw new et(l.value, f, Object.keys(l.options), o);
3206
- a.push.apply(a, se(v.value, t, r, n, i));
3168
+ throw new Ze(h.value, f, Object.keys(h.options), a);
3169
+ o.push.apply(o, ie(v.value, t, r, n, i));
3207
3170
  continue;
3208
3171
  }
3209
- if (Et(l)) {
3210
- var v = l.options["=".concat(f)];
3172
+ if (pt(h)) {
3173
+ var v = h.options["=".concat(f)];
3211
3174
  if (!v) {
3212
3175
  if (!Intl.PluralRules)
3213
- throw new fe(`Intl.PluralRules is not available in this environment.
3176
+ throw new le(`Intl.PluralRules is not available in this environment.
3214
3177
  Try polyfilling it using "@formatjs/intl-pluralrules"
3215
- `, V.MISSING_INTL_API, o);
3216
- var N = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3217
- v = l.options[N] || l.options.other;
3178
+ `, j.MISSING_INTL_API, a);
3179
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3180
+ v = h.options[O] || h.options.other;
3218
3181
  }
3219
3182
  if (!v)
3220
- throw new et(l.value, f, Object.keys(l.options), o);
3221
- a.push.apply(a, se(v.value, t, r, n, i, f - (l.offset || 0)));
3183
+ throw new Ze(h.value, f, Object.keys(h.options), a);
3184
+ o.push.apply(o, ie(v.value, t, r, n, i, f - (h.offset || 0)));
3222
3185
  continue;
3223
3186
  }
3224
3187
  }
3225
- return gn(a);
3188
+ return on(o);
3226
3189
  }
3227
- function En(e, t) {
3190
+ function un(e, t) {
3228
3191
  return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3229
3192
  return r[n] = b(b({}, e[n]), t[n] || {}), r;
3230
3193
  }, {})) : e;
3231
3194
  }
3232
- function yn(e, t) {
3195
+ function hn(e, t) {
3233
3196
  return t ? Object.keys(e).reduce(function(r, n) {
3234
- return r[n] = En(e[n], t[n]), r;
3197
+ return r[n] = un(e[n], t[n]), r;
3235
3198
  }, b({}, e)) : e;
3236
3199
  }
3237
- function ye(e) {
3200
+ function xe(e) {
3238
3201
  return {
3239
3202
  create: function() {
3240
3203
  return {
@@ -3248,39 +3211,39 @@ function ye(e) {
3248
3211
  }
3249
3212
  };
3250
3213
  }
3251
- function _n(e) {
3214
+ function ln(e) {
3252
3215
  return e === void 0 && (e = {
3253
3216
  number: {},
3254
3217
  dateTime: {},
3255
3218
  pluralRules: {}
3256
3219
  }), {
3257
- getNumberFormat: ge(function() {
3220
+ getNumberFormat: de(function() {
3258
3221
  for (var t, r = [], n = 0; n < arguments.length; n++)
3259
3222
  r[n] = arguments[n];
3260
- return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
3223
+ return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], r, !1)))();
3261
3224
  }, {
3262
- cache: ye(e.number),
3263
- strategy: xe.variadic
3225
+ cache: xe(e.number),
3226
+ strategy: be.variadic
3264
3227
  }),
3265
- getDateTimeFormat: ge(function() {
3228
+ getDateTimeFormat: de(function() {
3266
3229
  for (var t, r = [], n = 0; n < arguments.length; n++)
3267
3230
  r[n] = arguments[n];
3268
- return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
3231
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], r, !1)))();
3269
3232
  }, {
3270
- cache: ye(e.dateTime),
3271
- strategy: xe.variadic
3233
+ cache: xe(e.dateTime),
3234
+ strategy: be.variadic
3272
3235
  }),
3273
- getPluralRules: ge(function() {
3236
+ getPluralRules: de(function() {
3274
3237
  for (var t, r = [], n = 0; n < arguments.length; n++)
3275
3238
  r[n] = arguments[n];
3276
- return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
3239
+ return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], r, !1)))();
3277
3240
  }, {
3278
- cache: ye(e.pluralRules),
3279
- strategy: xe.variadic
3241
+ cache: xe(e.pluralRules),
3242
+ strategy: be.variadic
3280
3243
  })
3281
3244
  };
3282
3245
  }
3283
- var vn = (
3246
+ var fn = (
3284
3247
  /** @class */
3285
3248
  function() {
3286
3249
  function e(t, r, n, i) {
@@ -3290,35 +3253,35 @@ var vn = (
3290
3253
  number: {},
3291
3254
  dateTime: {},
3292
3255
  pluralRules: {}
3293
- }, this.format = function(h) {
3294
- var u = s.formatToParts(h);
3256
+ }, this.format = function(l) {
3257
+ var u = s.formatToParts(l);
3295
3258
  if (u.length === 1)
3296
3259
  return u[0].value;
3297
- var l = u.reduce(function(c, f) {
3260
+ var h = u.reduce(function(c, f) {
3298
3261
  return !c.length || f.type !== _.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3299
3262
  }, []);
3300
- return l.length <= 1 ? l[0] || "" : l;
3301
- }, this.formatToParts = function(h) {
3302
- return se(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3263
+ return h.length <= 1 ? h[0] || "" : h;
3264
+ }, this.formatToParts = function(l) {
3265
+ return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3303
3266
  }, this.resolvedOptions = function() {
3304
- var h;
3267
+ var l;
3305
3268
  return {
3306
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3269
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3307
3270
  };
3308
3271
  }, this.getAst = function() {
3309
3272
  return s.ast;
3310
3273
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3311
3274
  if (this.message = t, !e.__parse)
3312
3275
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3313
- var o = i || {};
3314
- o.formatters;
3315
- var a = Nr(o, ["formatters"]);
3316
- this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3276
+ var a = i || {};
3277
+ a.formatters;
3278
+ var o = Er(a, ["formatters"]);
3279
+ this.ast = e.__parse(t, b(b({}, o), { locale: this.resolvedLocale }));
3317
3280
  } else
3318
3281
  this.ast = t;
3319
3282
  if (!Array.isArray(this.ast))
3320
3283
  throw new TypeError("A message must be provided as a String or AST.");
3321
- this.formats = yn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
3284
+ this.formats = hn(e.formats, n), this.formatters = i && i.formatters || ln(this.formatterCache);
3322
3285
  }
3323
3286
  return Object.defineProperty(e, "defaultLocale", {
3324
3287
  get: function() {
@@ -3327,11 +3290,11 @@ var vn = (
3327
3290
  enumerable: !1,
3328
3291
  configurable: !0
3329
3292
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3330
- if (typeof Intl.Locale != "undefined") {
3293
+ if (!(typeof Intl.Locale > "u")) {
3331
3294
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3332
3295
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3333
3296
  }
3334
- }, e.__parse = mn, e.formats = {
3297
+ }, e.__parse = rn, e.formats = {
3335
3298
  number: {
3336
3299
  integer: {
3337
3300
  maximumFractionDigits: 0
@@ -3392,7 +3355,7 @@ var vn = (
3392
3355
  }, e;
3393
3356
  }()
3394
3357
  );
3395
- function Hn(e, t) {
3358
+ function cn(e, t) {
3396
3359
  if (t == null)
3397
3360
  return;
3398
3361
  if (t in e)
@@ -3413,92 +3376,92 @@ function Hn(e, t) {
3413
3376
  n = void 0;
3414
3377
  return n;
3415
3378
  }
3416
- const I = {}, Tn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Ot = (e, t) => {
3379
+ const N = {}, pn = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Ht = (e, t) => {
3417
3380
  if (t == null)
3418
3381
  return;
3419
- if (t in I && e in I[t])
3420
- return I[t][e];
3421
- const r = ce(t);
3382
+ if (t in N && e in N[t])
3383
+ return N[t][e];
3384
+ const r = fe(t);
3422
3385
  for (let n = 0; n < r.length; n++) {
3423
- const i = r[n], s = Sn(i, e);
3386
+ const i = r[n], s = dn(i, e);
3424
3387
  if (s)
3425
- return Tn(e, t, s);
3388
+ return pn(e, t, s);
3426
3389
  }
3427
3390
  };
3428
- let $e;
3429
- const z = he({});
3430
- function Bn(e) {
3431
- return $e[e] || null;
3391
+ let Me;
3392
+ const X = ue({});
3393
+ function mn(e) {
3394
+ return Me[e] || null;
3432
3395
  }
3433
- function Nt(e) {
3434
- return e in $e;
3396
+ function Tt(e) {
3397
+ return e in Me;
3435
3398
  }
3436
- function Sn(e, t) {
3437
- if (!Nt(e))
3399
+ function dn(e, t) {
3400
+ if (!Tt(e))
3438
3401
  return null;
3439
- const r = Bn(e);
3440
- return Hn(r, t);
3402
+ const r = mn(e);
3403
+ return cn(r, t);
3441
3404
  }
3442
- function An(e) {
3405
+ function bn(e) {
3443
3406
  if (e == null)
3444
3407
  return;
3445
- const t = ce(e);
3408
+ const t = fe(e);
3446
3409
  for (let r = 0; r < t.length; r++) {
3447
3410
  const n = t[r];
3448
- if (Nt(n))
3411
+ if (Tt(n))
3449
3412
  return n;
3450
3413
  }
3451
3414
  }
3452
- function It(e, ...t) {
3453
- delete I[e], z.update((r) => (r[e] = Or.all([r[e] || {}, ...t]), r));
3415
+ function Bt(e, ...t) {
3416
+ delete N[e], X.update((r) => (r[e] = xr.all([r[e] || {}, ...t]), r));
3454
3417
  }
3455
- X(
3456
- [z],
3418
+ k(
3419
+ [X],
3457
3420
  ([e]) => Object.keys(e)
3458
3421
  );
3459
- z.subscribe((e) => $e = e);
3460
- const oe = {};
3461
- function Pn(e, t) {
3462
- oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3422
+ X.subscribe((e) => Me = e);
3423
+ const se = {};
3424
+ function gn(e, t) {
3425
+ se[e].delete(t), se[e].size === 0 && delete se[e];
3463
3426
  }
3464
- function wt(e) {
3465
- return oe[e];
3427
+ function St(e) {
3428
+ return se[e];
3466
3429
  }
3467
- function On(e) {
3468
- return ce(e).map((t) => {
3469
- const r = wt(t);
3430
+ function xn(e) {
3431
+ return fe(e).map((t) => {
3432
+ const r = St(t);
3470
3433
  return [t, r ? [...r] : []];
3471
3434
  }).filter(([, t]) => t.length > 0);
3472
3435
  }
3473
- function Ie(e) {
3474
- return e == null ? !1 : ce(e).some(
3436
+ function Oe(e) {
3437
+ return e == null ? !1 : fe(e).some(
3475
3438
  (t) => {
3476
3439
  var r;
3477
- return (r = wt(t)) == null ? void 0 : r.size;
3440
+ return (r = St(t)) == null ? void 0 : r.size;
3478
3441
  }
3479
3442
  );
3480
3443
  }
3481
- function Nn(e, t) {
3444
+ function En(e, t) {
3482
3445
  return Promise.all(
3483
- t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
3484
- ).then((n) => It(e, ...n));
3485
- }
3486
- const Z = {};
3487
- function Lt(e) {
3488
- if (!Ie(e))
3489
- return e in Z ? Z[e] : Promise.resolve();
3490
- const t = On(e);
3491
- return Z[e] = Promise.all(
3446
+ t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
3447
+ ).then((n) => Bt(e, ...n));
3448
+ }
3449
+ const W = {};
3450
+ function At(e) {
3451
+ if (!Oe(e))
3452
+ return e in W ? W[e] : Promise.resolve();
3453
+ const t = xn(e);
3454
+ return W[e] = Promise.all(
3492
3455
  t.map(
3493
- ([r, n]) => Nn(r, n)
3456
+ ([r, n]) => En(r, n)
3494
3457
  )
3495
3458
  ).then(() => {
3496
- if (Ie(e))
3497
- return Lt(e);
3498
- delete Z[e];
3499
- }), Z[e];
3459
+ if (Oe(e))
3460
+ return At(e);
3461
+ delete W[e];
3462
+ }), W[e];
3500
3463
  }
3501
- const In = {
3464
+ const yn = {
3502
3465
  number: {
3503
3466
  scientific: { notation: "scientific" },
3504
3467
  engineering: { notation: "engineering" },
@@ -3527,159 +3490,159 @@ const In = {
3527
3490
  timeZoneName: "short"
3528
3491
  }
3529
3492
  }
3530
- }, wn = {
3493
+ }, _n = {
3531
3494
  fallbackLocale: null,
3532
3495
  loadingDelay: 200,
3533
- formats: In,
3496
+ formats: yn,
3534
3497
  warnOnMissingMessages: !0,
3535
3498
  handleMissingMessage: void 0,
3536
3499
  ignoreTag: !0
3537
- }, Ln = wn;
3538
- function k() {
3539
- return Ln;
3500
+ }, vn = _n;
3501
+ function V() {
3502
+ return vn;
3540
3503
  }
3541
- const _e = he(!1);
3542
- var Cn = Object.defineProperty, Mn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, tt = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, rt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gn = (e, t) => {
3504
+ const Ee = ue(!1);
3505
+ var Hn = Object.defineProperty, Tn = Object.defineProperties, Bn = Object.getOwnPropertyDescriptors, Qe = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
3543
3506
  for (var r in t)
3544
- $n.call(t, r) && rt(e, r, t[r]);
3545
- if (tt)
3546
- for (var r of tt(t))
3547
- Un.call(t, r) && rt(e, r, t[r]);
3507
+ Sn.call(t, r) && Je(e, r, t[r]);
3508
+ if (Qe)
3509
+ for (var r of Qe(t))
3510
+ An.call(t, r) && Je(e, r, t[r]);
3548
3511
  return e;
3549
- }, Dn = (e, t) => Mn(e, Rn(t));
3550
- let we;
3551
- const ae = he(null);
3552
- function nt(e) {
3512
+ }, On = (e, t) => Tn(e, Bn(t));
3513
+ let Ne;
3514
+ const oe = ue(null);
3515
+ function qe(e) {
3553
3516
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3554
3517
  }
3555
- function ce(e, t = k().fallbackLocale) {
3556
- const r = nt(e);
3557
- return t ? [.../* @__PURE__ */ new Set([...r, ...nt(t)])] : r;
3518
+ function fe(e, t = V().fallbackLocale) {
3519
+ const r = qe(e);
3520
+ return t ? [.../* @__PURE__ */ new Set([...r, ...qe(t)])] : r;
3558
3521
  }
3559
- function M() {
3560
- return we != null ? we : void 0;
3522
+ function C() {
3523
+ return Ne ?? void 0;
3561
3524
  }
3562
- ae.subscribe((e) => {
3563
- we = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3525
+ oe.subscribe((e) => {
3526
+ Ne = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3564
3527
  });
3565
- const Fn = (e) => {
3566
- if (e && An(e) && Ie(e)) {
3567
- const { loadingDelay: t } = k();
3528
+ const Nn = (e) => {
3529
+ if (e && bn(e) && Oe(e)) {
3530
+ const { loadingDelay: t } = V();
3568
3531
  let r;
3569
- return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
3570
- () => _e.set(!0),
3532
+ return typeof window < "u" && C() != null && t ? r = window.setTimeout(
3533
+ () => Ee.set(!0),
3571
3534
  t
3572
- ) : _e.set(!0), Lt(e).then(() => {
3573
- ae.set(e);
3535
+ ) : Ee.set(!0), At(e).then(() => {
3536
+ oe.set(e);
3574
3537
  }).finally(() => {
3575
- clearTimeout(r), _e.set(!1);
3538
+ clearTimeout(r), Ee.set(!1);
3576
3539
  });
3577
3540
  }
3578
- return ae.set(e);
3579
- }, w = Dn(Gn({}, ae), {
3580
- set: Fn
3581
- }), pe = (e) => {
3541
+ return oe.set(e);
3542
+ }, I = On(Pn({}, oe), {
3543
+ set: Nn
3544
+ }), ce = (e) => {
3582
3545
  const t = /* @__PURE__ */ Object.create(null);
3583
3546
  return (n) => {
3584
3547
  const i = JSON.stringify(n);
3585
3548
  return i in t ? t[i] : t[i] = e(n);
3586
3549
  };
3587
3550
  };
3588
- var jn = Object.defineProperty, ue = Object.getOwnPropertySymbols, Ct = Object.prototype.hasOwnProperty, Mt = Object.prototype.propertyIsEnumerable, it = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
3551
+ var In = Object.defineProperty, ae = Object.getOwnPropertySymbols, Pt = Object.prototype.hasOwnProperty, Ot = Object.prototype.propertyIsEnumerable, Ye = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Re = (e, t) => {
3589
3552
  for (var r in t || (t = {}))
3590
- Ct.call(t, r) && it(e, r, t[r]);
3591
- if (ue)
3592
- for (var r of ue(t))
3593
- Mt.call(t, r) && it(e, r, t[r]);
3553
+ Pt.call(t, r) && Ye(e, r, t[r]);
3554
+ if (ae)
3555
+ for (var r of ae(t))
3556
+ Ot.call(t, r) && Ye(e, r, t[r]);
3594
3557
  return e;
3595
- }, W = (e, t) => {
3558
+ }, z = (e, t) => {
3596
3559
  var r = {};
3597
3560
  for (var n in e)
3598
- Ct.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3599
- if (e != null && ue)
3600
- for (var n of ue(e))
3601
- t.indexOf(n) < 0 && Mt.call(e, n) && (r[n] = e[n]);
3561
+ Pt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3562
+ if (e != null && ae)
3563
+ for (var n of ae(e))
3564
+ t.indexOf(n) < 0 && Ot.call(e, n) && (r[n] = e[n]);
3602
3565
  return r;
3603
3566
  };
3604
- const K = (e, t) => {
3605
- const { formats: r } = k();
3567
+ const Y = (e, t) => {
3568
+ const { formats: r } = V();
3606
3569
  if (e in r && t in r[e])
3607
3570
  return r[e][t];
3608
3571
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3609
- }, Vn = pe(
3572
+ }, wn = ce(
3610
3573
  (e) => {
3611
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3574
+ var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3612
3575
  if (r == null)
3613
3576
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3614
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3577
+ return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
3615
3578
  }
3616
- ), kn = pe(
3579
+ ), Ln = ce(
3617
3580
  (e) => {
3618
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3581
+ var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3619
3582
  if (r == null)
3620
3583
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3621
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3584
+ return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
3622
3585
  }
3623
- ), Xn = pe(
3586
+ ), Cn = ce(
3624
3587
  (e) => {
3625
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3588
+ var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3626
3589
  if (r == null)
3627
3590
  throw new Error(
3628
3591
  '[svelte-i18n] A "locale" must be set to format time values'
3629
3592
  );
3630
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3593
+ return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
3631
3594
  }
3632
- ), zn = (e = {}) => {
3595
+ ), Mn = (e = {}) => {
3633
3596
  var t = e, {
3634
- locale: r = M()
3635
- } = t, n = W(t, [
3597
+ locale: r = C()
3598
+ } = t, n = z(t, [
3636
3599
  "locale"
3637
3600
  ]);
3638
- return Vn(Ue({ locale: r }, n));
3639
- }, Wn = (e = {}) => {
3601
+ return wn(Re({ locale: r }, n));
3602
+ }, Rn = (e = {}) => {
3640
3603
  var t = e, {
3641
- locale: r = M()
3642
- } = t, n = W(t, [
3604
+ locale: r = C()
3605
+ } = t, n = z(t, [
3643
3606
  "locale"
3644
3607
  ]);
3645
- return kn(Ue({ locale: r }, n));
3646
- }, Zn = (e = {}) => {
3608
+ return Ln(Re({ locale: r }, n));
3609
+ }, $n = (e = {}) => {
3647
3610
  var t = e, {
3648
- locale: r = M()
3649
- } = t, n = W(t, [
3611
+ locale: r = C()
3612
+ } = t, n = z(t, [
3650
3613
  "locale"
3651
3614
  ]);
3652
- return Xn(Ue({ locale: r }, n));
3653
- }, Qn = pe(
3615
+ return Cn(Re({ locale: r }, n));
3616
+ }, Un = ce(
3654
3617
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3655
- (e, t = M()) => new vn(e, t, k().formats, {
3656
- ignoreTag: k().ignoreTag
3618
+ (e, t = C()) => new fn(e, t, V().formats, {
3619
+ ignoreTag: V().ignoreTag
3657
3620
  })
3658
- ), Jn = (e, t = {}) => {
3621
+ ), Gn = (e, t = {}) => {
3659
3622
  var r, n, i, s;
3660
- let o = t;
3661
- typeof e == "object" && (o = e, e = o.id);
3623
+ let a = t;
3624
+ typeof e == "object" && (a = e, e = a.id);
3662
3625
  const {
3663
- values: a,
3664
- locale: h = M(),
3626
+ values: o,
3627
+ locale: l = C(),
3665
3628
  default: u
3666
- } = o;
3667
- if (h == null)
3629
+ } = a;
3630
+ if (l == null)
3668
3631
  throw new Error(
3669
3632
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3670
3633
  );
3671
- let l = Ot(e, h);
3672
- if (!l)
3673
- l = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3674
- else if (typeof l != "string")
3634
+ let h = Ht(e, l);
3635
+ if (!h)
3636
+ h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3637
+ else if (typeof h != "string")
3675
3638
  return console.warn(
3676
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3677
- ), l;
3678
- if (!a)
3679
- return l;
3680
- let c = l;
3639
+ `[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.`
3640
+ ), h;
3641
+ if (!o)
3642
+ return h;
3643
+ let c = h;
3681
3644
  try {
3682
- c = Qn(l, h).format(a);
3645
+ c = Un(h, l).format(o);
3683
3646
  } catch (f) {
3684
3647
  f instanceof Error && console.warn(
3685
3648
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3687,23 +3650,23 @@ const K = (e, t) => {
3687
3650
  );
3688
3651
  }
3689
3652
  return c;
3690
- }, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = M()) => Ot(e, t), ti = X([w, z], () => Jn);
3691
- X([w], () => qn);
3692
- X([w], () => Yn);
3693
- X([w], () => Kn);
3694
- X([w, z], () => ei);
3695
- function ri({ withLocale: e, translations: t }) {
3696
- w.subscribe((r) => {
3697
- r == null && (z.set(t), w.set(e));
3653
+ }, Dn = (e, t) => $n(t).format(e), Fn = (e, t) => Rn(t).format(e), jn = (e, t) => Mn(t).format(e), Vn = (e, t = C()) => Ht(e, t), kn = k([I, X], () => Gn);
3654
+ k([I], () => Dn);
3655
+ k([I], () => Fn);
3656
+ k([I], () => jn);
3657
+ k([I, X], () => Vn);
3658
+ function Xn({ withLocale: e, translations: t }) {
3659
+ I.subscribe((r) => {
3660
+ r == null && (X.set(t), I.set(e));
3698
3661
  });
3699
3662
  }
3700
- function st(e, t) {
3701
- It(e, t);
3663
+ function Ke(e, t) {
3664
+ Bt(e, t);
3702
3665
  }
3703
- function ni(e) {
3704
- w.set(e);
3666
+ function zn(e) {
3667
+ I.set(e);
3705
3668
  }
3706
- const ot = {
3669
+ const et = {
3707
3670
  en: {
3708
3671
  bets: "bets"
3709
3672
  },
@@ -3729,121 +3692,121 @@ const ot = {
3729
3692
  bets: "bets"
3730
3693
  }
3731
3694
  };
3732
- function ii(e) {
3733
- Wt(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}');
3695
+ function Wn(e) {
3696
+ 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}');
3734
3697
  }
3735
- function si(e) {
3698
+ function Zn(e) {
3736
3699
  let t, r, n, i, s;
3737
3700
  return {
3738
3701
  c() {
3739
- t = Q("div"), r = Q("div"), n = Q("span"), i = Jt(
3702
+ t = Z("div"), r = Z("div"), n = Z("span"), i = Gt(
3740
3703
  /*progressText*/
3741
3704
  e[3]
3742
- ), C(n, "part", "progressText"), C(r, "class", s = "stepBar " + /*curTatus*/
3743
- e[4]), C(r, "part", "stepBar"), C(t, "class", "general-icon-progress-bar"), C(t, "part", "totalBar");
3705
+ ), L(n, "part", "progressText"), L(r, "class", s = "stepBar " + /*curTatus*/
3706
+ e[4]), L(r, "part", "stepBar"), L(t, "class", "general-icon-progress-bar"), L(t, "part", "totalBar");
3744
3707
  },
3745
- m(o, a) {
3746
- lt(o, t, a), ne(t, r), ne(r, n), ne(n, i), e[13](n), e[14](r), e[15](t);
3708
+ m(a, o) {
3709
+ it(a, t, o), re(t, r), re(r, n), re(n, i), e[13](n), e[14](r), e[15](t);
3747
3710
  },
3748
- p(o, [a]) {
3749
- a & /*progressText*/
3750
- 8 && Yt(
3711
+ p(a, [o]) {
3712
+ o & /*progressText*/
3713
+ 8 && Ft(
3751
3714
  i,
3752
3715
  /*progressText*/
3753
- o[3]
3754
- ), a & /*curTatus*/
3716
+ a[3]
3717
+ ), o & /*curTatus*/
3755
3718
  16 && s !== (s = "stepBar " + /*curTatus*/
3756
- o[4]) && C(r, "class", s);
3719
+ a[4]) && L(r, "class", s);
3757
3720
  },
3758
- i: B,
3759
- o: B,
3760
- d(o) {
3761
- o && Ce(t), e[13](null), e[14](null), e[15](null);
3721
+ i: T,
3722
+ o: T,
3723
+ d(a) {
3724
+ a && we(t), e[13](null), e[14](null), e[15](null);
3762
3725
  }
3763
3726
  };
3764
3727
  }
3765
- function oi(e, t, r) {
3728
+ function Qn(e, t, r) {
3766
3729
  let n;
3767
- zt(e, ti, (p) => r(20, n = p));
3768
- let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: o } = t, { lang: a = "en" } = t, { status: h } = t, { translationurl: u = "" } = t, { progressfractiondigit: l = 1 } = t, { triggerreset: c } = t, f, x, g, y, H, S, A, v = "0px", N = "active";
3769
- ri({ withLocale: "en", translations: {} });
3770
- const O = () => {
3771
- fetch(u).then((L) => L.json()).then((L) => {
3772
- Object.keys(L).forEach((Ge) => {
3773
- st(Ge, L[Ge]);
3730
+ Mt(e, kn, (p) => r(20, n = p));
3731
+ 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, x, g, y, H, B, S, v = "0px", O = "active";
3732
+ Xn({ withLocale: "en", translations: {} });
3733
+ const P = () => {
3734
+ fetch(u).then((w) => w.json()).then((w) => {
3735
+ Object.keys(w).forEach(($e) => {
3736
+ Ke($e, w[$e]);
3774
3737
  });
3775
- }).catch((L) => {
3776
- console.log(L);
3738
+ }).catch((w) => {
3739
+ console.log(w);
3777
3740
  });
3778
3741
  };
3779
- Object.keys(ot).forEach((p) => {
3780
- st(p, ot[p]);
3742
+ Object.keys(et).forEach((p) => {
3743
+ Ke(p, et[p]);
3781
3744
  });
3782
- const R = () => {
3783
- ni(a);
3784
- }, te = () => {
3785
- let p = (i / s * 100).toFixed(l);
3745
+ const M = () => {
3746
+ zn(o);
3747
+ }, ee = () => {
3748
+ let p = (i / s * 100).toFixed(h);
3786
3749
  setTimeout(
3787
3750
  () => {
3788
- o || o === "true" ? r(3, y = `${p}%`) : r(3, y = `${i}/${s} ${n("bets")}`);
3751
+ a || a === "true" ? r(3, y = `${p}%`) : r(3, y = `${i}/${s} ${n("bets")}`);
3789
3752
  },
3790
3753
  y ? 573 : 0
3791
- ), p == 0 || p == 100 ? (S = "0px", A = "0px", v = p == 100 ? "3px" : "0px") : (S = `${f.offsetHeight}px`, H = S, A = `${f.offsetHeight / 3}px`, v = "0px"), x.style.setProperty("--parentElementHeight", H), g.style.setProperty("--currentStep", p + "%"), g.style.setProperty("--triangleHeight", S), g.style.setProperty("--halfOfTriangleHeight", A), g.style.setProperty("--stepBarBorderRadius", v);
3792
- }, Rt = () => {
3793
- r(4, N = h == "active" ? "" : "inactive");
3754
+ ), 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"), x.style.setProperty("--parentElementHeight", H), g.style.setProperty("--currentStep", p + "%"), g.style.setProperty("--triangleHeight", B), g.style.setProperty("--halfOfTriangleHeight", S), g.style.setProperty("--stepBarBorderRadius", v);
3755
+ }, Nt = () => {
3756
+ r(4, O = l == "active" ? "" : "inactive");
3794
3757
  };
3795
- function $t(p) {
3796
- q[p ? "unshift" : "push"](() => {
3758
+ function It(p) {
3759
+ J[p ? "unshift" : "push"](() => {
3797
3760
  x = p, r(1, x);
3798
3761
  });
3799
3762
  }
3800
- function Ut(p) {
3801
- q[p ? "unshift" : "push"](() => {
3763
+ function wt(p) {
3764
+ J[p ? "unshift" : "push"](() => {
3802
3765
  g = p, r(2, g);
3803
3766
  });
3804
3767
  }
3805
- function Gt(p) {
3806
- q[p ? "unshift" : "push"](() => {
3768
+ function Lt(p) {
3769
+ J[p ? "unshift" : "push"](() => {
3807
3770
  f = p, r(0, f);
3808
3771
  });
3809
3772
  }
3810
3773
  return e.$$set = (p) => {
3811
- "currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, o = p.showaspercent), "lang" in p && r(8, a = p.lang), "status" in p && r(9, h = p.status), "translationurl" in p && r(10, u = p.translationurl), "progressfractiondigit" in p && r(11, l = p.progressfractiondigit), "triggerreset" in p && r(12, c = p.triggerreset);
3774
+ "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);
3812
3775
  }, e.$$.update = () => {
3813
3776
  e.$$.dirty & /*triggerreset, total*/
3814
3777
  4160 && c && s && setTimeout(() => {
3815
- te();
3778
+ ee();
3816
3779
  }), e.$$.dirty & /*lang*/
3817
- 256 && a && R(), e.$$.dirty & /*status*/
3818
- 512 && h && Rt(), e.$$.dirty & /*translationurl*/
3819
- 1024 && u && O();
3780
+ 256 && o && M(), e.$$.dirty & /*status*/
3781
+ 512 && l && Nt(), e.$$.dirty & /*translationurl*/
3782
+ 1024 && u && P();
3820
3783
  }, [
3821
3784
  f,
3822
3785
  x,
3823
3786
  g,
3824
3787
  y,
3825
- N,
3788
+ O,
3826
3789
  i,
3827
3790
  s,
3828
- o,
3829
3791
  a,
3830
- h,
3831
- u,
3792
+ o,
3832
3793
  l,
3794
+ u,
3795
+ h,
3833
3796
  c,
3834
- $t,
3835
- Ut,
3836
- Gt
3797
+ It,
3798
+ wt,
3799
+ Lt
3837
3800
  ];
3838
3801
  }
3839
- class ai extends fr {
3802
+ class Jn extends er {
3840
3803
  constructor(t) {
3841
- super(), hr(
3804
+ super(), Yt(
3842
3805
  this,
3843
3806
  t,
3844
- oi,
3845
- si,
3846
- ut,
3807
+ Qn,
3808
+ Zn,
3809
+ rt,
3847
3810
  {
3848
3811
  currentstep: 5,
3849
3812
  total: 6,
@@ -3854,59 +3817,59 @@ class ai extends fr {
3854
3817
  progressfractiondigit: 11,
3855
3818
  triggerreset: 12
3856
3819
  },
3857
- ii
3820
+ Wn
3858
3821
  );
3859
3822
  }
3860
3823
  get currentstep() {
3861
3824
  return this.$$.ctx[5];
3862
3825
  }
3863
3826
  set currentstep(t) {
3864
- this.$$set({ currentstep: t }), P();
3827
+ this.$$set({ currentstep: t }), A();
3865
3828
  }
3866
3829
  get total() {
3867
3830
  return this.$$.ctx[6];
3868
3831
  }
3869
3832
  set total(t) {
3870
- this.$$set({ total: t }), P();
3833
+ this.$$set({ total: t }), A();
3871
3834
  }
3872
3835
  get showaspercent() {
3873
3836
  return this.$$.ctx[7];
3874
3837
  }
3875
3838
  set showaspercent(t) {
3876
- this.$$set({ showaspercent: t }), P();
3839
+ this.$$set({ showaspercent: t }), A();
3877
3840
  }
3878
3841
  get lang() {
3879
3842
  return this.$$.ctx[8];
3880
3843
  }
3881
3844
  set lang(t) {
3882
- this.$$set({ lang: t }), P();
3845
+ this.$$set({ lang: t }), A();
3883
3846
  }
3884
3847
  get status() {
3885
3848
  return this.$$.ctx[9];
3886
3849
  }
3887
3850
  set status(t) {
3888
- this.$$set({ status: t }), P();
3851
+ this.$$set({ status: t }), A();
3889
3852
  }
3890
3853
  get translationurl() {
3891
3854
  return this.$$.ctx[10];
3892
3855
  }
3893
3856
  set translationurl(t) {
3894
- this.$$set({ translationurl: t }), P();
3857
+ this.$$set({ translationurl: t }), A();
3895
3858
  }
3896
3859
  get progressfractiondigit() {
3897
3860
  return this.$$.ctx[11];
3898
3861
  }
3899
3862
  set progressfractiondigit(t) {
3900
- this.$$set({ progressfractiondigit: t }), P();
3863
+ this.$$set({ progressfractiondigit: t }), A();
3901
3864
  }
3902
3865
  get triggerreset() {
3903
3866
  return this.$$.ctx[12];
3904
3867
  }
3905
3868
  set triggerreset(t) {
3906
- this.$$set({ triggerreset: t }), P();
3869
+ this.$$set({ triggerreset: t }), A();
3907
3870
  }
3908
3871
  }
3909
- lr(ai, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3872
+ Kt(Jn, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3910
3873
  export {
3911
- ai as default
3874
+ Jn as G
3912
3875
  };