@everymatrix/cashier-receipt-page-nd 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/components/{CashierError-DEbZ5be6.js → CashierError-CNXQNZZh.js} +776 -808
  2. package/components/CashierError-CcXkeFHB.cjs +8 -0
  3. package/components/{CashierError-2JTB_G8Y.js → CashierError-D8uXC0d6.js} +797 -829
  4. package/components/{CashierReceiptPage-sj16x01S.cjs → CashierReceiptPage-BEHtPF47.cjs} +16 -3
  5. package/components/{CashierReceiptPage-DF6_dEIY.js → CashierReceiptPage-DU5vkhNt.js} +588 -539
  6. package/components/{CashierReceiptPage-BoVGREGa.js → CashierReceiptPage-I7pC1qy8.js} +584 -535
  7. package/es2015/cashier-receipt-page-nd.cjs +1 -1
  8. package/es2015/cashier-receipt-page-nd.js +1 -1
  9. package/esnext/cashier-receipt-page-nd.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  12. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  13. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  14. package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
  15. package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
  16. package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
  17. package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  18. package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  19. package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  20. package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-CmVho0dS.js} +2 -2
  21. package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
  22. package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-Daq38JGa.js} +2 -2
  23. package/components/CashierError-BLpMSo_b.cjs +0 -21
  24. package/stencil/index-97d17652-DvplcHtm.js +0 -558
  25. package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
  26. package/stencil/index-97d17652-p-iQtjus.js +0 -542
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-image-wH6lu7wS.js";
1
+ import "../stencil/ui-image-Ch-GHki1.js";
2
2
  function w() {
3
3
  }
4
4
  const At = (e) => e;
@@ -16,18 +16,18 @@ function Pt(e) {
16
16
  function it() {
17
17
  return /* @__PURE__ */ Object.create(null);
18
18
  }
19
- function L(e) {
19
+ function $(e) {
20
20
  e.forEach(Pt);
21
21
  }
22
- function se(e) {
22
+ function oe(e) {
23
23
  return typeof e == "function";
24
24
  }
25
25
  function Ot(e, t) {
26
26
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
27
27
  }
28
- let le;
28
+ let he;
29
29
  function st(e, t) {
30
- return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
30
+ return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
31
31
  }
32
32
  function gr(e) {
33
33
  return Object.keys(e).length === 0;
@@ -44,7 +44,7 @@ function It(e, ...t) {
44
44
  function br(e, t, r) {
45
45
  e.$$.on_destroy.push(It(t, r));
46
46
  }
47
- function he(e, t, r, n) {
47
+ function ce(e, t, r, n) {
48
48
  if (e) {
49
49
  const i = Ct(e, t, r, n);
50
50
  return e[0](i);
@@ -53,28 +53,28 @@ function he(e, t, r, n) {
53
53
  function Ct(e, t, r, n) {
54
54
  return e[1] && n ? pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
55
55
  }
56
- function ce(e, t, r, n) {
56
+ function fe(e, t, r, n) {
57
57
  if (e[2] && n) {
58
58
  const i = e[2](n(r));
59
59
  if (t.dirty === void 0)
60
60
  return i;
61
61
  if (typeof i == "object") {
62
- const s = [], a = Math.max(t.dirty.length, i.length);
63
- for (let o = 0; o < a; o += 1)
64
- s[o] = t.dirty[o] | i[o];
62
+ const s = [], o = Math.max(t.dirty.length, i.length);
63
+ for (let a = 0; a < o; a += 1)
64
+ s[a] = t.dirty[a] | i[a];
65
65
  return s;
66
66
  }
67
67
  return t.dirty | i;
68
68
  }
69
69
  return t.dirty;
70
70
  }
71
- function fe(e, t, r, n, i, s) {
71
+ function me(e, t, r, n, i, s) {
72
72
  if (i) {
73
- const a = Ct(t, r, n, s);
74
- e.p(a, i);
73
+ const o = Ct(t, r, n, s);
74
+ e.p(o, i);
75
75
  }
76
76
  }
77
- function me(e) {
77
+ function de(e) {
78
78
  if (e.ctx.length > 32) {
79
79
  const t = [], r = e.ctx.length / 32;
80
80
  for (let n = 0; n < r; n++)
@@ -84,35 +84,35 @@ function me(e) {
84
84
  return -1;
85
85
  }
86
86
  const Nt = typeof window < "u";
87
- let Mt = Nt ? () => window.performance.now() : () => Date.now(), Qe = Nt ? (e) => requestAnimationFrame(e) : w;
88
- const k = /* @__PURE__ */ new Set();
89
- function Lt(e) {
90
- k.forEach((t) => {
91
- t.c(e) || (k.delete(t), t.f());
92
- }), k.size !== 0 && Qe(Lt);
87
+ let Lt = Nt ? () => window.performance.now() : () => Date.now(), Ke = Nt ? (e) => requestAnimationFrame(e) : w;
88
+ const G = /* @__PURE__ */ new Set();
89
+ function Mt(e) {
90
+ G.forEach((t) => {
91
+ t.c(e) || (G.delete(t), t.f());
92
+ }), G.size !== 0 && Ke(Mt);
93
93
  }
94
94
  function $t(e) {
95
95
  let t;
96
- return k.size === 0 && Qe(Lt), {
96
+ return G.size === 0 && Ke(Mt), {
97
97
  promise: new Promise((r) => {
98
- k.add(t = { c: e, f: r });
98
+ G.add(t = { c: e, f: r });
99
99
  }),
100
100
  abort() {
101
- k.delete(t);
101
+ G.delete(t);
102
102
  }
103
103
  };
104
104
  }
105
- function P(e, t) {
105
+ function O(e, t) {
106
106
  e.appendChild(t);
107
107
  }
108
108
  function yr(e, t, r) {
109
- const n = Ye(e);
109
+ const n = et(e);
110
110
  if (!n.getElementById(t)) {
111
- const i = A("style");
111
+ const i = P("style");
112
112
  i.id = t, i.textContent = r, Rt(n, i);
113
113
  }
114
114
  }
115
- function Ye(e) {
115
+ function et(e) {
116
116
  if (!e)
117
117
  return document;
118
118
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -123,50 +123,50 @@ function Ye(e) {
123
123
  ) : e.ownerDocument;
124
124
  }
125
125
  function _r(e) {
126
- const t = A("style");
127
- return t.textContent = "/* empty */", Rt(Ye(e), t), t.sheet;
126
+ const t = P("style");
127
+ return t.textContent = "/* empty */", Rt(et(e), t), t.sheet;
128
128
  }
129
129
  function Rt(e, t) {
130
- return P(
130
+ return O(
131
131
  /** @type {Document} */
132
132
  e.head || e,
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function W(e, t, r) {
136
+ function Z(e, t, r) {
137
137
  e.insertBefore(t, r || null);
138
138
  }
139
- function C(e) {
139
+ function N(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function Wi(e, t) {
142
+ function Zi(e, t) {
143
143
  for (let r = 0; r < e.length; r += 1)
144
144
  e[r] && e[r].d(t);
145
145
  }
146
- function A(e) {
146
+ function P(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function Zi(e) {
149
+ function Ji(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
- function Be(e) {
152
+ function Pe(e) {
153
153
  return document.createTextNode(e);
154
154
  }
155
- function Ce() {
156
- return Be(" ");
155
+ function Le() {
156
+ return Pe(" ");
157
157
  }
158
- function vr() {
159
- return Be("");
158
+ function Er() {
159
+ return Pe("");
160
160
  }
161
- function Er(e, t, r, n) {
161
+ function vr(e, t, r, n) {
162
162
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
163
163
  }
164
- function F(e, t, r) {
164
+ function j(e, t, r) {
165
165
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
166
166
  }
167
- function de(e, t, r) {
167
+ function pe(e, t, r) {
168
168
  const n = t.toLowerCase();
169
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : F(e, t, r);
169
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
170
170
  }
171
171
  function xr(e) {
172
172
  return Array.from(e.childNodes);
@@ -187,8 +187,8 @@ function Hr(e) {
187
187
  }
188
188
  ), t;
189
189
  }
190
- const Ee = /* @__PURE__ */ new Map();
191
- let xe = 0;
190
+ const xe = /* @__PURE__ */ new Map();
191
+ let Te = 0;
192
192
  function wr(e) {
193
193
  let t = 5381, r = e.length;
194
194
  for (; r--; )
@@ -197,157 +197,157 @@ function wr(e) {
197
197
  }
198
198
  function Sr(e, t) {
199
199
  const r = { stylesheet: _r(t), rules: {} };
200
- return Ee.set(e, r), r;
200
+ return xe.set(e, r), r;
201
201
  }
202
- function Ut(e, t, r, n, i, s, a, o = 0) {
202
+ function Ut(e, t, r, n, i, s, o, a = 0) {
203
203
  const h = 16.666 / n;
204
204
  let u = `{
205
205
  `;
206
- for (let x = 0; x <= 1; x += h) {
207
- const E = t + (r - t) * s(x);
208
- u += x * 100 + `%{${a(E, 1 - E)}}
206
+ for (let v = 0; v <= 1; v += h) {
207
+ const E = t + (r - t) * s(v);
208
+ u += v * 100 + `%{${o(E, 1 - E)}}
209
209
  `;
210
210
  }
211
- const l = u + `100% {${a(r, 1 - r)}}
212
- }`, c = `__svelte_${wr(l)}_${o}`, m = Ye(e), { stylesheet: d, rules: p } = Ee.get(m) || Sr(m, e);
211
+ const l = u + `100% {${o(r, 1 - r)}}
212
+ }`, c = `__svelte_${wr(l)}_${a}`, m = et(e), { stylesheet: d, rules: p } = xe.get(m) || Sr(m, e);
213
213
  p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
214
- const v = e.style.animation || "";
215
- return e.style.animation = `${v ? `${v}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
214
+ const _ = e.style.animation || "";
215
+ return e.style.animation = `${_ ? `${_}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Te += 1, c;
216
216
  }
217
- function ke(e, t) {
217
+ function Fe(e, t) {
218
218
  const r = (e.style.animation || "").split(", "), n = r.filter(
219
219
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
220
220
  // remove all Svelte animations
221
221
  ), i = r.length - n.length;
222
- i && (e.style.animation = n.join(", "), xe -= i, xe || Br());
222
+ i && (e.style.animation = n.join(", "), Te -= i, Te || Br());
223
223
  }
224
224
  function Br() {
225
- Qe(() => {
226
- xe || (Ee.forEach((e) => {
225
+ Ke(() => {
226
+ Te || (xe.forEach((e) => {
227
227
  const { ownerNode: t } = e.stylesheet;
228
- t && C(t);
229
- }), Ee.clear());
228
+ t && N(t);
229
+ }), xe.clear());
230
230
  });
231
231
  }
232
- let te;
233
- function ee(e) {
234
- te = e;
232
+ let re;
233
+ function te(e) {
234
+ re = e;
235
235
  }
236
236
  function Ar() {
237
- if (!te)
237
+ if (!re)
238
238
  throw new Error("Function called outside component initialization");
239
- return te;
239
+ return re;
240
240
  }
241
241
  function Pr(e) {
242
242
  Ar().$$.on_mount.push(e);
243
243
  }
244
- const U = [], Ge = [];
245
- let G = [];
246
- const at = [], Or = /* @__PURE__ */ Promise.resolve();
247
- let Fe = !1;
244
+ const k = [], je = [];
245
+ let F = [];
246
+ const ot = [], Or = /* @__PURE__ */ Promise.resolve();
247
+ let ze = !1;
248
248
  function Ir() {
249
- Fe || (Fe = !0, Or.then(B));
249
+ ze || (ze = !0, Or.then(A));
250
250
  }
251
- function re(e) {
252
- G.push(e);
251
+ function ne(e) {
252
+ F.push(e);
253
253
  }
254
- const Ne = /* @__PURE__ */ new Set();
255
- let R = 0;
256
- function B() {
257
- if (R !== 0)
254
+ const Me = /* @__PURE__ */ new Set();
255
+ let D = 0;
256
+ function A() {
257
+ if (D !== 0)
258
258
  return;
259
- const e = te;
259
+ const e = re;
260
260
  do {
261
261
  try {
262
- for (; R < U.length; ) {
263
- const t = U[R];
264
- R++, ee(t), Cr(t.$$);
262
+ for (; D < k.length; ) {
263
+ const t = k[D];
264
+ D++, te(t), Cr(t.$$);
265
265
  }
266
266
  } catch (t) {
267
- throw U.length = 0, R = 0, t;
267
+ throw k.length = 0, D = 0, t;
268
268
  }
269
- for (ee(null), U.length = 0, R = 0; Ge.length; )
270
- Ge.pop()();
271
- for (let t = 0; t < G.length; t += 1) {
272
- const r = G[t];
273
- Ne.has(r) || (Ne.add(r), r());
269
+ for (te(null), k.length = 0, D = 0; je.length; )
270
+ je.pop()();
271
+ for (let t = 0; t < F.length; t += 1) {
272
+ const r = F[t];
273
+ Me.has(r) || (Me.add(r), r());
274
274
  }
275
- G.length = 0;
276
- } while (U.length);
277
- for (; at.length; )
278
- at.pop()();
279
- Fe = !1, Ne.clear(), ee(e);
275
+ F.length = 0;
276
+ } while (k.length);
277
+ for (; ot.length; )
278
+ ot.pop()();
279
+ ze = !1, Me.clear(), te(e);
280
280
  }
281
281
  function Cr(e) {
282
282
  if (e.fragment !== null) {
283
- e.update(), L(e.before_update);
283
+ e.update(), $(e.before_update);
284
284
  const t = e.dirty;
285
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(re);
285
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ne);
286
286
  }
287
287
  }
288
288
  function Nr(e) {
289
289
  const t = [], r = [];
290
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
290
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
291
291
  }
292
- let q;
292
+ let Q;
293
293
  function kt() {
294
- return q || (q = Promise.resolve(), q.then(() => {
295
- q = null;
296
- })), q;
294
+ return Q || (Q = Promise.resolve(), Q.then(() => {
295
+ Q = null;
296
+ })), Q;
297
297
  }
298
- function Te(e, t, r) {
298
+ function He(e, t, r) {
299
299
  e.dispatchEvent(Tr(`${t ? "intro" : "outro"}${r}`));
300
300
  }
301
- const be = /* @__PURE__ */ new Set();
302
- let O;
303
- function Ji() {
304
- O = {
301
+ const ye = /* @__PURE__ */ new Set();
302
+ let I;
303
+ function qi() {
304
+ I = {
305
305
  r: 0,
306
306
  c: [],
307
- p: O
307
+ p: I
308
308
  // parent group
309
309
  };
310
310
  }
311
- function qi() {
312
- O.r || L(O.c), O = O.p;
311
+ function Qi() {
312
+ I.r || $(I.c), I = I.p;
313
313
  }
314
- function Y(e, t) {
315
- e && e.i && (be.delete(e), e.i(t));
314
+ function K(e, t) {
315
+ e && e.i && (ye.delete(e), e.i(t));
316
316
  }
317
- function pe(e, t, r, n) {
317
+ function ge(e, t, r, n) {
318
318
  if (e && e.o) {
319
- if (be.has(e))
319
+ if (ye.has(e))
320
320
  return;
321
- be.add(e), O.c.push(() => {
322
- be.delete(e), n && (r && e.d(1), n());
321
+ ye.add(e), I.c.push(() => {
322
+ ye.delete(e), n && (r && e.d(1), n());
323
323
  }), e.o(t);
324
324
  } else
325
325
  n && n();
326
326
  }
327
327
  const Gt = { duration: 0 };
328
- function Qi(e, t, r) {
328
+ function Yi(e, t, r) {
329
329
  const n = { direction: "in" };
330
- let i = t(e, r, n), s = !1, a, o, h = 0;
330
+ let i = t(e, r, n), s = !1, o, a, h = 0;
331
331
  function u() {
332
- a && ke(e, a);
332
+ o && Fe(e, o);
333
333
  }
334
334
  function l() {
335
335
  const {
336
336
  delay: m = 0,
337
337
  duration: d = 300,
338
338
  easing: p = At,
339
- tick: v = w,
340
- css: x
339
+ tick: _ = w,
340
+ css: v
341
341
  } = i || Gt;
342
- x && (a = Ut(e, 0, 1, d, m, p, x, h++)), v(0, 1);
343
- const E = Mt() + m, f = E + d;
344
- o && o.abort(), s = !0, re(() => Te(e, !0, "start")), o = $t((g) => {
342
+ v && (o = Ut(e, 0, 1, d, m, p, v, h++)), _(0, 1);
343
+ const E = Lt() + m, f = E + d;
344
+ a && a.abort(), s = !0, ne(() => He(e, !0, "start")), a = $t((g) => {
345
345
  if (s) {
346
346
  if (g >= f)
347
- return v(1, 0), Te(e, !0, "end"), u(), s = !1;
347
+ return _(1, 0), He(e, !0, "end"), u(), s = !1;
348
348
  if (g >= E) {
349
349
  const S = p((g - E) / d);
350
- v(S, 1 - S);
350
+ _(S, 1 - S);
351
351
  }
352
352
  }
353
353
  return s;
@@ -356,7 +356,7 @@ function Qi(e, t, r) {
356
356
  let c = !1;
357
357
  return {
358
358
  start() {
359
- c || (c = !0, ke(e), se(i) ? (i = i(n), kt().then(l)) : l());
359
+ c || (c = !0, Fe(e), oe(i) ? (i = i(n), kt().then(l)) : l());
360
360
  },
361
361
  invalidate() {
362
362
  c = !1;
@@ -366,11 +366,11 @@ function Qi(e, t, r) {
366
366
  }
367
367
  };
368
368
  }
369
- function Yi(e, t, r) {
369
+ function Ki(e, t, r) {
370
370
  const n = { direction: "out" };
371
- let i = t(e, r, n), s = !0, a;
372
- const o = O;
373
- o.r += 1;
371
+ let i = t(e, r, n), s = !0, o;
372
+ const a = I;
373
+ a.r += 1;
374
374
  let h;
375
375
  function u() {
376
376
  const {
@@ -380,49 +380,49 @@ function Yi(e, t, r) {
380
380
  tick: d = w,
381
381
  css: p
382
382
  } = i || Gt;
383
- p && (a = Ut(e, 1, 0, c, l, m, p));
384
- const v = Mt() + l, x = v + c;
385
- re(() => Te(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
383
+ p && (o = Ut(e, 1, 0, c, l, m, p));
384
+ const _ = Lt() + l, v = _ + c;
385
+ ne(() => He(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
386
386
  e.inert, e.inert = !0), $t((E) => {
387
387
  if (s) {
388
- if (E >= x)
389
- return d(0, 1), Te(e, !1, "end"), --o.r || L(o.c), !1;
390
- if (E >= v) {
391
- const f = m((E - v) / c);
388
+ if (E >= v)
389
+ return d(0, 1), He(e, !1, "end"), --a.r || $(a.c), !1;
390
+ if (E >= _) {
391
+ const f = m((E - _) / c);
392
392
  d(1 - f, f);
393
393
  }
394
394
  }
395
395
  return s;
396
396
  });
397
397
  }
398
- return se(i) ? kt().then(() => {
398
+ return oe(i) ? kt().then(() => {
399
399
  i = i(n), u();
400
400
  }) : u(), {
401
401
  end(l) {
402
- l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (a && ke(e, a), s = !1);
402
+ l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (o && Fe(e, o), s = !1);
403
403
  }
404
404
  };
405
405
  }
406
- function Ki(e) {
406
+ function es(e) {
407
407
  return e?.length !== void 0 ? e : Array.from(e);
408
408
  }
409
- function Mr(e, t, r) {
409
+ function Lr(e, t, r) {
410
410
  const { fragment: n, after_update: i } = e.$$;
411
- n && n.m(t, r), re(() => {
412
- const s = e.$$.on_mount.map(Pt).filter(se);
413
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : L(s), e.$$.on_mount = [];
414
- }), i.forEach(re);
411
+ n && n.m(t, r), ne(() => {
412
+ const s = e.$$.on_mount.map(Pt).filter(oe);
413
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : $(s), e.$$.on_mount = [];
414
+ }), i.forEach(ne);
415
415
  }
416
- function Lr(e, t) {
416
+ function Mr(e, t) {
417
417
  const r = e.$$;
418
- r.fragment !== null && (Nr(r.after_update), L(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
418
+ r.fragment !== null && (Nr(r.after_update), $(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
419
419
  }
420
420
  function $r(e, t) {
421
- e.$$.dirty[0] === -1 && (U.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
421
+ e.$$.dirty[0] === -1 && (k.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
422
422
  }
423
- function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
424
- const h = te;
425
- ee(e);
423
+ function Rr(e, t, r, n, i, s, o = null, a = [-1]) {
424
+ const h = re;
425
+ te(e);
426
426
  const u = e.$$ = {
427
427
  fragment: null,
428
428
  ctx: [],
@@ -440,24 +440,24 @@ function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
440
440
  context: new Map(t.context || (h ? h.$$.context : [])),
441
441
  // everything else
442
442
  callbacks: it(),
443
- dirty: o,
443
+ dirty: a,
444
444
  skip_bound: !1,
445
445
  root: t.target || h.$$.root
446
446
  };
447
- a && a(u.root);
447
+ o && o(u.root);
448
448
  let l = !1;
449
449
  if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
450
450
  const p = d.length ? d[0] : m;
451
451
  return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && $r(e, c)), m;
452
- }) : [], u.update(), l = !0, L(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
452
+ }) : [], u.update(), l = !0, $(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
453
453
  if (t.hydrate) {
454
454
  const c = xr(t.target);
455
- u.fragment && u.fragment.l(c), c.forEach(C);
455
+ u.fragment && u.fragment.l(c), c.forEach(N);
456
456
  } else
457
457
  u.fragment && u.fragment.c();
458
- t.intro && Y(e.$$.fragment), Mr(e, t.target, t.anchor), B();
458
+ t.intro && K(e.$$.fragment), Lr(e, t.target, t.anchor), A();
459
459
  }
460
- ee(h);
460
+ te(h);
461
461
  }
462
462
  let Ft;
463
463
  typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
@@ -502,17 +502,17 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
502
502
  let s;
503
503
  return {
504
504
  c: function() {
505
- s = A("slot"), i !== "default" && F(s, "name", i);
505
+ s = P("slot"), i !== "default" && j(s, "name", i);
506
506
  },
507
507
  /**
508
508
  * @param {HTMLElement} target
509
509
  * @param {HTMLElement} [anchor]
510
510
  */
511
511
  m: function(h, u) {
512
- W(h, s, u);
512
+ Z(h, s, u);
513
513
  },
514
514
  d: function(h) {
515
- h && C(s);
515
+ h && N(s);
516
516
  }
517
517
  };
518
518
  };
@@ -524,7 +524,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
524
524
  i in r && (t[i] = [e(i)]);
525
525
  for (const i of this.attributes) {
526
526
  const s = this.$$g_p(i.name);
527
- s in this.$$d || (this.$$d[s] = ye(s, i.value, this.$$p_d, "toProp"));
527
+ s in this.$$d || (this.$$d[s] = _e(s, i.value, this.$$p_d, "toProp"));
528
528
  }
529
529
  for (const i in this.$$p_d)
530
530
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -542,7 +542,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
542
542
  this.$$r = !0;
543
543
  for (const i in this.$$p_d)
544
544
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
545
- const s = ye(
545
+ const s = _e(
546
546
  i,
547
547
  this.$$d[i],
548
548
  this.$$p_d,
@@ -555,8 +555,8 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
555
555
  this.$$c.$$.after_update.push(n), n();
556
556
  for (const i in this.$$l)
557
557
  for (const s of this.$$l[i]) {
558
- const a = this.$$c.$on(i, s);
559
- this.$$l_u.set(s, a);
558
+ const o = this.$$c.$on(i, s);
559
+ this.$$l_u.set(s, o);
560
560
  }
561
561
  this.$$l = {};
562
562
  }
@@ -564,7 +564,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
564
564
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
565
565
  // and setting attributes through setAttribute etc, this is helpful
566
566
  attributeChangedCallback(e, t, r) {
567
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
567
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
568
568
  }
569
569
  disconnectedCallback() {
570
570
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -577,7 +577,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
577
577
  ) || e;
578
578
  }
579
579
  });
580
- function ye(e, t, r, n) {
580
+ function _e(e, t, r, n) {
581
581
  const i = r[e]?.type;
582
582
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
583
583
  return t;
@@ -607,33 +607,33 @@ function ye(e, t, r, n) {
607
607
  }
608
608
  }
609
609
  function Dr(e, t, r, n, i, s) {
610
- let a = class extends Ft {
610
+ let o = class extends Ft {
611
611
  constructor() {
612
612
  super(e, r, i), this.$$p_d = t;
613
613
  }
614
614
  static get observedAttributes() {
615
615
  return Object.keys(t).map(
616
- (o) => (t[o].attribute || o).toLowerCase()
616
+ (a) => (t[a].attribute || a).toLowerCase()
617
617
  );
618
618
  }
619
619
  };
620
- return Object.keys(t).forEach((o) => {
621
- Object.defineProperty(a.prototype, o, {
620
+ return Object.keys(t).forEach((a) => {
621
+ Object.defineProperty(o.prototype, a, {
622
622
  get() {
623
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
623
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
624
624
  },
625
625
  set(h) {
626
- h = ye(o, h, t), this.$$d[o] = h, this.$$c?.$set({ [o]: h });
626
+ h = _e(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
627
627
  }
628
628
  });
629
- }), n.forEach((o) => {
630
- Object.defineProperty(a.prototype, o, {
629
+ }), n.forEach((a) => {
630
+ Object.defineProperty(o.prototype, a, {
631
631
  get() {
632
- return this.$$c?.[o];
632
+ return this.$$c?.[a];
633
633
  }
634
634
  });
635
635
  }), e.element = /** @type {any} */
636
- a, a;
636
+ o, o;
637
637
  }
638
638
  class Ur {
639
639
  /**
@@ -654,7 +654,7 @@ class Ur {
654
654
  $$set = void 0;
655
655
  /** @returns {void} */
656
656
  $destroy() {
657
- Lr(this, 1), this.$destroy = w;
657
+ Mr(this, 1), this.$destroy = w;
658
658
  }
659
659
  /**
660
660
  * @template {Extract<keyof Events, string>} K
@@ -663,7 +663,7 @@ class Ur {
663
663
  * @returns {() => void}
664
664
  */
665
665
  $on(t, r) {
666
- if (!se(r))
666
+ if (!oe(r))
667
667
  return w;
668
668
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
669
669
  return n.push(r), () => {
@@ -681,44 +681,44 @@ class Ur {
681
681
  }
682
682
  const kr = "4";
683
683
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
684
- const D = [];
684
+ const U = [];
685
685
  function Gr(e, t) {
686
686
  return {
687
- subscribe: Ae(e, t).subscribe
687
+ subscribe: Oe(e, t).subscribe
688
688
  };
689
689
  }
690
- function Ae(e, t = w) {
690
+ function Oe(e, t = w) {
691
691
  let r;
692
692
  const n = /* @__PURE__ */ new Set();
693
- function i(o) {
694
- if (Ot(e, o) && (e = o, r)) {
695
- const h = !D.length;
693
+ function i(a) {
694
+ if (Ot(e, a) && (e = a, r)) {
695
+ const h = !U.length;
696
696
  for (const u of n)
697
- u[1](), D.push(u, e);
697
+ u[1](), U.push(u, e);
698
698
  if (h) {
699
- for (let u = 0; u < D.length; u += 2)
700
- D[u][0](D[u + 1]);
701
- D.length = 0;
699
+ for (let u = 0; u < U.length; u += 2)
700
+ U[u][0](U[u + 1]);
701
+ U.length = 0;
702
702
  }
703
703
  }
704
704
  }
705
- function s(o) {
706
- i(o(e));
705
+ function s(a) {
706
+ i(a(e));
707
707
  }
708
- function a(o, h = w) {
709
- const u = [o, h];
710
- return n.add(u), n.size === 1 && (r = t(i, s) || w), o(e), () => {
708
+ function o(a, h = w) {
709
+ const u = [a, h];
710
+ return n.add(u), n.size === 1 && (r = t(i, s) || w), a(e), () => {
711
711
  n.delete(u), n.size === 0 && r && (r(), r = null);
712
712
  };
713
713
  }
714
- return { set: i, update: s, subscribe: a };
714
+ return { set: i, update: s, subscribe: o };
715
715
  }
716
- function Z(e, t, r) {
716
+ function J(e, t, r) {
717
717
  const n = !Array.isArray(e), i = n ? [e] : e;
718
718
  if (!i.every(Boolean))
719
719
  throw new Error("derived() expects stores as input, got a falsy value");
720
720
  const s = t.length < 2;
721
- return Gr(r, (a, o) => {
721
+ return Gr(r, (o, a) => {
722
722
  let h = !1;
723
723
  const u = [];
724
724
  let l = 0, c = w;
@@ -726,25 +726,25 @@ function Z(e, t, r) {
726
726
  if (l)
727
727
  return;
728
728
  c();
729
- const p = t(n ? u[0] : u, a, o);
730
- s ? a(p) : c = se(p) ? p : w;
729
+ const p = t(n ? u[0] : u, o, a);
730
+ s ? o(p) : c = oe(p) ? p : w;
731
731
  }, d = i.map(
732
- (p, v) => It(
732
+ (p, _) => It(
733
733
  p,
734
- (x) => {
735
- u[v] = x, l &= ~(1 << v), h && m();
734
+ (v) => {
735
+ u[_] = v, l &= ~(1 << _), h && m();
736
736
  },
737
737
  () => {
738
- l |= 1 << v;
738
+ l |= 1 << _;
739
739
  }
740
740
  )
741
741
  );
742
742
  return h = !0, m(), function() {
743
- L(d), c(), h = !1;
743
+ $(d), c(), h = !1;
744
744
  };
745
745
  });
746
746
  }
747
- var es = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
747
+ var ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
748
748
  function Fr(e) {
749
749
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
750
750
  }
@@ -765,26 +765,26 @@ function Zr(e) {
765
765
  function Jr(e) {
766
766
  return Array.isArray(e) ? [] : {};
767
767
  }
768
- function ne(e, t) {
769
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Jr(e), e, t) : e;
768
+ function ie(e, t) {
769
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(Jr(e), e, t) : e;
770
770
  }
771
771
  function qr(e, t, r) {
772
772
  return e.concat(t).map(function(n) {
773
- return ne(n, r);
773
+ return ie(n, r);
774
774
  });
775
775
  }
776
776
  function Qr(e, t) {
777
777
  if (!t.customMerge)
778
- return j;
778
+ return z;
779
779
  var r = t.customMerge(e);
780
- return typeof r == "function" ? r : j;
780
+ return typeof r == "function" ? r : z;
781
781
  }
782
782
  function Yr(e) {
783
783
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
784
784
  return Object.propertyIsEnumerable.call(e, t);
785
785
  }) : [];
786
786
  }
787
- function ot(e) {
787
+ function at(e) {
788
788
  return Object.keys(e).concat(Yr(e));
789
789
  }
790
790
  function jt(e, t) {
@@ -799,66 +799,52 @@ function Kr(e, t) {
799
799
  }
800
800
  function en(e, t, r) {
801
801
  var n = {};
802
- return r.isMergeableObject(e) && ot(e).forEach(function(i) {
803
- n[i] = ne(e[i], r);
804
- }), ot(t).forEach(function(i) {
805
- Kr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
802
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
803
+ n[i] = ie(e[i], r);
804
+ }), at(t).forEach(function(i) {
805
+ Kr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
806
806
  }), n;
807
807
  }
808
- function j(e, t, r) {
809
- r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ne;
808
+ function z(e, t, r) {
809
+ r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ie;
810
810
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
811
- return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ne(t, r);
811
+ return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ie(t, r);
812
812
  }
813
- j.all = function(t, r) {
813
+ z.all = function(t, r) {
814
814
  if (!Array.isArray(t))
815
815
  throw new Error("first argument should be an array");
816
816
  return t.reduce(function(n, i) {
817
- return j(n, i, r);
817
+ return z(n, i, r);
818
818
  }, {});
819
819
  };
820
- var tn = j, rn = tn;
820
+ var tn = z, rn = tn;
821
821
  const nn = /* @__PURE__ */ Fr(rn);
822
- /*! *****************************************************************************
823
- Copyright (c) Microsoft Corporation.
824
-
825
- Permission to use, copy, modify, and/or distribute this software for any
826
- purpose with or without fee is hereby granted.
827
-
828
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
829
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
830
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
831
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
832
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
833
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
834
- PERFORMANCE OF THIS SOFTWARE.
835
- ***************************************************************************** */
836
- var je = function(e, t) {
837
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
822
+ var Ve = function(e, t) {
823
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
838
824
  r.__proto__ = n;
839
825
  } || function(r, n) {
840
826
  for (var i in n)
841
827
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
842
- }, je(e, t);
828
+ }, Ve(e, t);
843
829
  };
844
- function Pe(e, t) {
830
+ function Ie(e, t) {
845
831
  if (typeof t != "function" && t !== null)
846
832
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
847
- je(e, t);
833
+ Ve(e, t);
848
834
  function r() {
849
835
  this.constructor = e;
850
836
  }
851
837
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
852
838
  }
853
- var _ = function() {
854
- return _ = Object.assign || function(t) {
839
+ var B = function() {
840
+ return B = Object.assign || function(t) {
855
841
  for (var r, n = 1, i = arguments.length; n < i; n++) {
856
842
  r = arguments[n];
857
843
  for (var s in r)
858
844
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
859
845
  }
860
846
  return t;
861
- }, _.apply(this, arguments);
847
+ }, B.apply(this, arguments);
862
848
  };
863
849
  function sn(e, t) {
864
850
  var r = {};
@@ -869,143 +855,119 @@ function sn(e, t) {
869
855
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
870
856
  return r;
871
857
  }
872
- function ts(e) {
873
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
874
- if (r)
875
- return r.call(e);
876
- if (e && typeof e.length == "number")
877
- return {
878
- next: function() {
879
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
880
- }
881
- };
882
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
883
- }
884
- function rs(e, t) {
885
- var r = typeof Symbol == "function" && e[Symbol.iterator];
886
- if (!r)
887
- return e;
888
- var n = r.call(e), i, s = [], a;
889
- try {
890
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
891
- s.push(i.value);
892
- } catch (o) {
893
- a = { error: o };
894
- } finally {
895
- try {
896
- i && !i.done && (r = n.return) && r.call(n);
897
- } finally {
898
- if (a)
899
- throw a.error;
900
- }
901
- }
902
- return s;
903
- }
904
- function Me(e, t, r) {
858
+ function $e(e, t, r) {
905
859
  if (r || arguments.length === 2)
906
860
  for (var n = 0, i = t.length, s; n < i; n++)
907
861
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
908
- return e.concat(s || t);
862
+ return e.concat(s || Array.prototype.slice.call(t));
909
863
  }
910
- function Le(e, t) {
911
- var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : on;
864
+ function Re(e, t) {
865
+ var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : un;
912
866
  return i(e, {
913
867
  cache: r,
914
868
  serializer: n
915
869
  });
916
870
  }
917
- function an(e) {
871
+ function on(e) {
918
872
  return e == null || typeof e == "number" || typeof e == "boolean";
919
873
  }
920
- function zt(e, t, r, n) {
921
- var i = an(n) ? n : r(n), s = t.get(i);
874
+ function an(e, t, r, n) {
875
+ var i = on(n) ? n : r(n), s = t.get(i);
922
876
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
923
877
  }
924
- function Vt(e, t, r) {
878
+ function zt(e, t, r) {
925
879
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
926
880
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
927
881
  }
928
- function Ke(e, t, r, n, i) {
882
+ function Vt(e, t, r, n, i) {
929
883
  return r.bind(t, e, n, i);
930
884
  }
931
- function on(e, t) {
932
- var r = e.length === 1 ? zt : Vt;
933
- return Ke(e, this, r, t.cache.create(), t.serializer);
934
- }
935
885
  function un(e, t) {
936
- return Ke(e, this, Vt, t.cache.create(), t.serializer);
886
+ var r = e.length === 1 ? an : zt;
887
+ return Vt(e, this, r, t.cache.create(), t.serializer);
937
888
  }
938
889
  function ln(e, t) {
939
- return Ke(e, this, zt, t.cache.create(), t.serializer);
890
+ return Vt(e, this, zt, t.cache.create(), t.serializer);
940
891
  }
941
892
  var hn = function() {
942
893
  return JSON.stringify(arguments);
943
- };
944
- function et() {
945
- this.cache = /* @__PURE__ */ Object.create(null);
946
- }
947
- et.prototype.get = function(e) {
948
- return this.cache[e];
949
- };
950
- et.prototype.set = function(e, t) {
951
- this.cache[e] = t;
952
- };
953
- var cn = {
894
+ }, cn = (
895
+ /** @class */
896
+ function() {
897
+ function e() {
898
+ this.cache = /* @__PURE__ */ Object.create(null);
899
+ }
900
+ return e.prototype.get = function(t) {
901
+ return this.cache[t];
902
+ }, e.prototype.set = function(t, r) {
903
+ this.cache[t] = r;
904
+ }, e;
905
+ }()
906
+ ), fn = {
954
907
  create: function() {
955
- return new et();
908
+ return new cn();
956
909
  }
957
- }, $e = {
958
- variadic: un,
959
- monadic: ln
960
- }, b;
910
+ }, De = {
911
+ variadic: ln
912
+ }, we = function() {
913
+ return we = Object.assign || function(t) {
914
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
915
+ r = arguments[n];
916
+ for (var s in r)
917
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
918
+ }
919
+ return t;
920
+ }, we.apply(this, arguments);
921
+ };
922
+ var b;
961
923
  (function(e) {
962
924
  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";
963
925
  })(b || (b = {}));
964
- var T;
926
+ var x;
965
927
  (function(e) {
966
928
  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";
967
- })(T || (T = {}));
968
- var z;
929
+ })(x || (x = {}));
930
+ var V;
969
931
  (function(e) {
970
932
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
971
- })(z || (z = {}));
933
+ })(V || (V = {}));
972
934
  function ut(e) {
973
- return e.type === T.literal;
935
+ return e.type === x.literal;
974
936
  }
975
- function fn(e) {
976
- return e.type === T.argument;
937
+ function mn(e) {
938
+ return e.type === x.argument;
977
939
  }
978
940
  function Xt(e) {
979
- return e.type === T.number;
941
+ return e.type === x.number;
980
942
  }
981
943
  function Wt(e) {
982
- return e.type === T.date;
944
+ return e.type === x.date;
983
945
  }
984
946
  function Zt(e) {
985
- return e.type === T.time;
947
+ return e.type === x.time;
986
948
  }
987
949
  function Jt(e) {
988
- return e.type === T.select;
950
+ return e.type === x.select;
989
951
  }
990
952
  function qt(e) {
991
- return e.type === T.plural;
953
+ return e.type === x.plural;
992
954
  }
993
- function mn(e) {
994
- return e.type === T.pound;
955
+ function dn(e) {
956
+ return e.type === x.pound;
995
957
  }
996
958
  function Qt(e) {
997
- return e.type === T.tag;
959
+ return e.type === x.tag;
998
960
  }
999
961
  function Yt(e) {
1000
- return !!(e && typeof e == "object" && e.type === z.number);
962
+ return !!(e && typeof e == "object" && e.type === V.number);
1001
963
  }
1002
- function ze(e) {
1003
- return !!(e && typeof e == "object" && e.type === z.dateTime);
964
+ function Xe(e) {
965
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
1004
966
  }
1005
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
1006
- function pn(e) {
967
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pn = /(?:[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;
968
+ function gn(e) {
1007
969
  var t = {};
1008
- return e.replace(dn, function(r) {
970
+ return e.replace(pn, function(r) {
1009
971
  var n = r.length;
1010
972
  switch (r[0]) {
1011
973
  case "G":
@@ -1094,29 +1056,39 @@ function pn(e) {
1094
1056
  return "";
1095
1057
  }), t;
1096
1058
  }
1097
- var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1098
- function bn(e) {
1059
+ var T = function() {
1060
+ return T = Object.assign || function(t) {
1061
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1062
+ r = arguments[n];
1063
+ for (var s in r)
1064
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1065
+ }
1066
+ return t;
1067
+ }, T.apply(this, arguments);
1068
+ };
1069
+ var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1070
+ function yn(e) {
1099
1071
  if (e.length === 0)
1100
1072
  throw new Error("Number skeleton cannot be empty");
1101
- for (var t = e.split(gn).filter(function(m) {
1073
+ for (var t = e.split(bn).filter(function(m) {
1102
1074
  return m.length > 0;
1103
1075
  }), r = [], n = 0, i = t; n < i.length; n++) {
1104
- var s = i[n], a = s.split("/");
1105
- if (a.length === 0)
1076
+ var s = i[n], o = s.split("/");
1077
+ if (o.length === 0)
1106
1078
  throw new Error("Invalid number skeleton");
1107
- for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1079
+ for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1108
1080
  var c = l[u];
1109
1081
  if (c.length === 0)
1110
1082
  throw new Error("Invalid number skeleton");
1111
1083
  }
1112
- r.push({ stem: o, options: h });
1084
+ r.push({ stem: a, options: h });
1113
1085
  }
1114
1086
  return r;
1115
1087
  }
1116
- function yn(e) {
1088
+ function _n(e) {
1117
1089
  return e.replace(/^(.*?)-/, "");
1118
1090
  }
1119
- var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1091
+ var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1120
1092
  function ht(e) {
1121
1093
  var t = {};
1122
1094
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
@@ -1181,7 +1153,7 @@ function ct(e) {
1181
1153
  var t = {}, r = rr(e);
1182
1154
  return r || t;
1183
1155
  }
1184
- function En(e) {
1156
+ function xn(e) {
1185
1157
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1186
1158
  var i = n[r];
1187
1159
  switch (i.stem) {
@@ -1205,7 +1177,7 @@ function En(e) {
1205
1177
  continue;
1206
1178
  case "measure-unit":
1207
1179
  case "unit":
1208
- t.style = "unit", t.unit = yn(i.options[0]);
1180
+ t.style = "unit", t.unit = _n(i.options[0]);
1209
1181
  continue;
1210
1182
  case "compact-short":
1211
1183
  case "K":
@@ -1216,13 +1188,13 @@ function En(e) {
1216
1188
  t.notation = "compact", t.compactDisplay = "long";
1217
1189
  continue;
1218
1190
  case "scientific":
1219
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1220
- return _(_({}, h), ct(u));
1191
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1192
+ return T(T({}, h), ct(u));
1221
1193
  }, {}));
1222
1194
  continue;
1223
1195
  case "engineering":
1224
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1225
- return _(_({}, h), ct(u));
1196
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1197
+ return T(T({}, h), ct(u));
1226
1198
  }, {}));
1227
1199
  continue;
1228
1200
  case "notation-simple":
@@ -1267,7 +1239,7 @@ function En(e) {
1267
1239
  case "integer-width":
1268
1240
  if (i.options.length > 1)
1269
1241
  throw new RangeError("integer-width stems only accept a single optional option");
1270
- i.options[0].replace(_n, function(h, u, l, c, m, d) {
1242
+ i.options[0].replace(En, function(h, u, l, c, m, d) {
1271
1243
  if (u)
1272
1244
  t.minimumIntegerDigits = l.length;
1273
1245
  else {
@@ -1291,21 +1263,21 @@ function En(e) {
1291
1263
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1292
1264
  });
1293
1265
  var s = i.options[0];
1294
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), ht(s)));
1266
+ s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), ht(s)));
1295
1267
  continue;
1296
1268
  }
1297
1269
  if (er.test(i.stem)) {
1298
- t = _(_({}, t), ht(i.stem));
1270
+ t = T(T({}, t), ht(i.stem));
1299
1271
  continue;
1300
1272
  }
1301
- var a = rr(i.stem);
1302
- a && (t = _(_({}, t), a));
1303
- var o = vn(i.stem);
1304
- o && (t = _(_({}, t), o));
1273
+ var o = rr(i.stem);
1274
+ o && (t = T(T({}, t), o));
1275
+ var a = vn(i.stem);
1276
+ a && (t = T(T({}, t), a));
1305
1277
  }
1306
1278
  return t;
1307
1279
  }
1308
- var ge = {
1280
+ var be = {
1309
1281
  "001": [
1310
1282
  "H",
1311
1283
  "h"
@@ -2720,23 +2692,23 @@ var ge = {
2720
2692
  "h"
2721
2693
  ]
2722
2694
  };
2723
- function xn(e, t) {
2695
+ function Tn(e, t) {
2724
2696
  for (var r = "", n = 0; n < e.length; n++) {
2725
2697
  var i = e.charAt(n);
2726
2698
  if (i === "j") {
2727
2699
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2728
2700
  s++, n++;
2729
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Tn(t);
2730
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2701
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Hn(t);
2702
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2731
2703
  r += h;
2732
- for (; a-- > 0; )
2704
+ for (; o-- > 0; )
2733
2705
  r = u + r;
2734
2706
  } else
2735
2707
  i === "J" ? r += "H" : r += i;
2736
2708
  }
2737
2709
  return r;
2738
2710
  }
2739
- function Tn(e) {
2711
+ function Hn(e) {
2740
2712
  var t = e.hourCycle;
2741
2713
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2742
2714
  e.hourCycles && // @ts-ignore
@@ -2755,23 +2727,23 @@ function Tn(e) {
2755
2727
  }
2756
2728
  var r = e.language, n;
2757
2729
  r !== "root" && (n = e.maximize().region);
2758
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2730
+ var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2759
2731
  return i[0];
2760
2732
  }
2761
- var Re, Hn = new RegExp("^".concat(Kt.source, "*")), wn = new RegExp("".concat(Kt.source, "*$"));
2733
+ var Ue, wn = new RegExp("^".concat(Kt.source, "*")), Sn = new RegExp("".concat(Kt.source, "*$"));
2762
2734
  function y(e, t) {
2763
2735
  return { start: e, end: t };
2764
2736
  }
2765
- var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, An = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, Nn = Cn ? Number.isSafeInteger : function(e) {
2737
+ var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, In = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Ln = Nn ? Number.isSafeInteger : function(e) {
2766
2738
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2767
- }, Ve = !0;
2739
+ }, We = !0;
2768
2740
  try {
2769
2741
  var Mn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2770
- Ve = ((Re = Mn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2742
+ We = ((Ue = Mn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2771
2743
  } catch {
2772
- Ve = !1;
2744
+ We = !1;
2773
2745
  }
2774
- var ft = Sn ? (
2746
+ var ft = Bn ? (
2775
2747
  // Native
2776
2748
  function(t, r, n) {
2777
2749
  return t.startsWith(r, n);
@@ -2781,31 +2753,31 @@ var ft = Sn ? (
2781
2753
  function(t, r, n) {
2782
2754
  return t.slice(n, n + r.length) === r;
2783
2755
  }
2784
- ), Xe = Bn ? String.fromCodePoint : (
2756
+ ), Ze = An ? String.fromCodePoint : (
2785
2757
  // IE11
2786
2758
  function() {
2787
2759
  for (var t = [], r = 0; r < arguments.length; r++)
2788
2760
  t[r] = arguments[r];
2789
- for (var n = "", i = t.length, s = 0, a; i > s; ) {
2790
- if (a = t[s++], a > 1114111)
2791
- throw RangeError(a + " is not a valid code point");
2792
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2761
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
2762
+ if (o = t[s++], o > 1114111)
2763
+ throw RangeError(o + " is not a valid code point");
2764
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2793
2765
  }
2794
2766
  return n;
2795
2767
  }
2796
2768
  ), mt = (
2797
2769
  // native
2798
- An ? Object.fromEntries : (
2770
+ Pn ? Object.fromEntries : (
2799
2771
  // Ponyfill
2800
2772
  function(t) {
2801
2773
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2802
- var s = i[n], a = s[0], o = s[1];
2803
- r[a] = o;
2774
+ var s = i[n], o = s[0], a = s[1];
2775
+ r[o] = a;
2804
2776
  }
2805
2777
  return r;
2806
2778
  }
2807
2779
  )
2808
- ), nr = Pn ? (
2780
+ ), nr = On ? (
2809
2781
  // Native
2810
2782
  function(t, r) {
2811
2783
  return t.codePointAt(r);
@@ -2819,7 +2791,7 @@ var ft = Sn ? (
2819
2791
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2820
2792
  }
2821
2793
  }
2822
- ), Ln = On ? (
2794
+ ), $n = In ? (
2823
2795
  // Native
2824
2796
  function(t) {
2825
2797
  return t.trimStart();
@@ -2827,9 +2799,9 @@ var ft = Sn ? (
2827
2799
  ) : (
2828
2800
  // Ponyfill
2829
2801
  function(t) {
2830
- return t.replace(Hn, "");
2802
+ return t.replace(wn, "");
2831
2803
  }
2832
- ), $n = In ? (
2804
+ ), Rn = Cn ? (
2833
2805
  // Native
2834
2806
  function(t) {
2835
2807
  return t.trimEnd();
@@ -2837,32 +2809,32 @@ var ft = Sn ? (
2837
2809
  ) : (
2838
2810
  // Ponyfill
2839
2811
  function(t) {
2840
- return t.replace(wn, "");
2812
+ return t.replace(Sn, "");
2841
2813
  }
2842
2814
  );
2843
2815
  function ir(e, t) {
2844
2816
  return new RegExp(e, t);
2845
2817
  }
2846
- var We;
2847
- if (Ve) {
2818
+ var Je;
2819
+ if (We) {
2848
2820
  var dt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2849
- We = function(t, r) {
2821
+ Je = function(t, r) {
2850
2822
  var n;
2851
2823
  dt.lastIndex = r;
2852
2824
  var i = dt.exec(t);
2853
2825
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2854
2826
  };
2855
2827
  } else
2856
- We = function(t, r) {
2828
+ Je = function(t, r) {
2857
2829
  for (var n = []; ; ) {
2858
2830
  var i = nr(t, r);
2859
- if (i === void 0 || sr(i) || kn(i))
2831
+ if (i === void 0 || sr(i) || Gn(i))
2860
2832
  break;
2861
2833
  n.push(i), r += i >= 65536 ? 2 : 1;
2862
2834
  }
2863
- return Xe.apply(void 0, n);
2835
+ return Ze.apply(void 0, n);
2864
2836
  };
2865
- var Rn = (
2837
+ var Dn = (
2866
2838
  /** @class */
2867
2839
  function() {
2868
2840
  function e(t, r) {
@@ -2876,33 +2848,33 @@ var Rn = (
2876
2848
  for (var i = []; !this.isEOF(); ) {
2877
2849
  var s = this.char();
2878
2850
  if (s === 123) {
2879
- var a = this.parseArgument(t, n);
2880
- if (a.err)
2881
- return a;
2882
- i.push(a.val);
2851
+ var o = this.parseArgument(t, n);
2852
+ if (o.err)
2853
+ return o;
2854
+ i.push(o.val);
2883
2855
  } else {
2884
2856
  if (s === 125 && t > 0)
2885
2857
  break;
2886
2858
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2887
- var o = this.clonePosition();
2859
+ var a = this.clonePosition();
2888
2860
  this.bump(), i.push({
2889
- type: T.pound,
2890
- location: y(o, this.clonePosition())
2861
+ type: x.pound,
2862
+ location: y(a, this.clonePosition())
2891
2863
  });
2892
2864
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2893
2865
  if (n)
2894
2866
  break;
2895
2867
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2896
- } else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2897
- var a = this.parseTag(t, r);
2898
- if (a.err)
2899
- return a;
2900
- i.push(a.val);
2868
+ } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2869
+ var o = this.parseTag(t, r);
2870
+ if (o.err)
2871
+ return o;
2872
+ i.push(o.val);
2901
2873
  } else {
2902
- var a = this.parseLiteral(t, r);
2903
- if (a.err)
2904
- return a;
2905
- i.push(a.val);
2874
+ var o = this.parseLiteral(t, r);
2875
+ if (o.err)
2876
+ return o;
2877
+ i.push(o.val);
2906
2878
  }
2907
2879
  }
2908
2880
  }
@@ -2914,7 +2886,7 @@ var Rn = (
2914
2886
  if (this.bumpSpace(), this.bumpIf("/>"))
2915
2887
  return {
2916
2888
  val: {
2917
- type: T.literal,
2889
+ type: x.literal,
2918
2890
  value: "<".concat(i, "/>"),
2919
2891
  location: y(n, this.clonePosition())
2920
2892
  },
@@ -2924,27 +2896,27 @@ var Rn = (
2924
2896
  var s = this.parseMessage(t + 1, r, !0);
2925
2897
  if (s.err)
2926
2898
  return s;
2927
- var a = s.val, o = this.clonePosition();
2899
+ var o = s.val, a = this.clonePosition();
2928
2900
  if (this.bumpIf("</")) {
2929
- if (this.isEOF() || !Ze(this.char()))
2930
- return this.error(b.INVALID_TAG, y(o, this.clonePosition()));
2901
+ if (this.isEOF() || !qe(this.char()))
2902
+ return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
2931
2903
  var h = this.clonePosition(), u = this.parseTagName();
2932
2904
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2933
2905
  val: {
2934
- type: T.tag,
2906
+ type: x.tag,
2935
2907
  value: i,
2936
- children: a,
2908
+ children: o,
2937
2909
  location: y(n, this.clonePosition())
2938
2910
  },
2939
2911
  err: null
2940
- } : this.error(b.INVALID_TAG, y(o, this.clonePosition())));
2912
+ } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
2941
2913
  } else
2942
2914
  return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2943
2915
  } else
2944
2916
  return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2945
2917
  }, e.prototype.parseTagName = function() {
2946
2918
  var t = this.offset();
2947
- for (this.bump(); !this.isEOF() && Un(this.char()); )
2919
+ for (this.bump(); !this.isEOF() && kn(this.char()); )
2948
2920
  this.bump();
2949
2921
  return this.message.slice(t, this.offset());
2950
2922
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2954,26 +2926,26 @@ var Rn = (
2954
2926
  i += s;
2955
2927
  continue;
2956
2928
  }
2957
- var a = this.tryParseUnquoted(t, r);
2958
- if (a) {
2959
- i += a;
2960
- continue;
2961
- }
2962
- var o = this.tryParseLeftAngleBracket();
2929
+ var o = this.tryParseUnquoted(t, r);
2963
2930
  if (o) {
2964
2931
  i += o;
2965
2932
  continue;
2966
2933
  }
2934
+ var a = this.tryParseLeftAngleBracket();
2935
+ if (a) {
2936
+ i += a;
2937
+ continue;
2938
+ }
2967
2939
  break;
2968
2940
  }
2969
2941
  var h = y(n, this.clonePosition());
2970
2942
  return {
2971
- val: { type: T.literal, value: i, location: h },
2943
+ val: { type: x.literal, value: i, location: h },
2972
2944
  err: null
2973
2945
  };
2974
2946
  }, e.prototype.tryParseLeftAngleBracket = function() {
2975
2947
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2976
- !Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
2948
+ !Un(this.peek() || 0)) ? (this.bump(), "<") : null;
2977
2949
  }, e.prototype.tryParseQuote = function(t) {
2978
2950
  if (this.isEOF() || this.char() !== 39)
2979
2951
  return null;
@@ -3007,12 +2979,12 @@ var Rn = (
3007
2979
  r.push(n);
3008
2980
  this.bump();
3009
2981
  }
3010
- return Xe.apply(void 0, r);
2982
+ return Ze.apply(void 0, r);
3011
2983
  }, e.prototype.tryParseUnquoted = function(t, r) {
3012
2984
  if (this.isEOF())
3013
2985
  return null;
3014
2986
  var n = this.char();
3015
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
2987
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3016
2988
  }, e.prototype.parseArgument = function(t, r) {
3017
2989
  var n = this.clonePosition();
3018
2990
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3028,7 +3000,7 @@ var Rn = (
3028
3000
  case 125:
3029
3001
  return this.bump(), {
3030
3002
  val: {
3031
- type: T.argument,
3003
+ type: x.argument,
3032
3004
  // value does not include the opening and closing braces.
3033
3005
  value: i,
3034
3006
  location: y(n, this.clonePosition())
@@ -3041,15 +3013,15 @@ var Rn = (
3041
3013
  return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3042
3014
  }
3043
3015
  }, e.prototype.parseIdentifierIfPossible = function() {
3044
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3016
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3045
3017
  this.bumpTo(i);
3046
- var s = this.clonePosition(), a = y(t, s);
3047
- return { value: n, location: a };
3018
+ var s = this.clonePosition(), o = y(t, s);
3019
+ return { value: n, location: o };
3048
3020
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3049
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3050
- switch (o) {
3021
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3022
+ switch (a) {
3051
3023
  case "":
3052
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, h));
3024
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(o, h));
3053
3025
  case "number":
3054
3026
  case "date":
3055
3027
  case "time": {
@@ -3060,7 +3032,7 @@ var Rn = (
3060
3032
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3061
3033
  if (c.err)
3062
3034
  return c;
3063
- var m = $n(c.val);
3035
+ var m = Rn(c.val);
3064
3036
  if (m.length === 0)
3065
3037
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3066
3038
  var d = y(l, this.clonePosition());
@@ -3069,37 +3041,37 @@ var Rn = (
3069
3041
  var p = this.tryParseArgumentClose(i);
3070
3042
  if (p.err)
3071
3043
  return p;
3072
- var v = y(i, this.clonePosition());
3044
+ var _ = y(i, this.clonePosition());
3073
3045
  if (u && ft(u?.style, "::", 0)) {
3074
- var x = Ln(u.style.slice(2));
3075
- if (o === "number") {
3076
- var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3046
+ var v = $n(u.style.slice(2));
3047
+ if (a === "number") {
3048
+ var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3077
3049
  return c.err ? c : {
3078
- val: { type: T.number, value: n, location: v, style: c.val },
3050
+ val: { type: x.number, value: n, location: _, style: c.val },
3079
3051
  err: null
3080
3052
  };
3081
3053
  } else {
3082
- if (x.length === 0)
3083
- return this.error(b.EXPECT_DATE_TIME_SKELETON, v);
3084
- var E = x;
3085
- this.locale && (E = xn(x, this.locale));
3054
+ if (v.length === 0)
3055
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
3056
+ var E = v;
3057
+ this.locale && (E = Tn(v, this.locale));
3086
3058
  var m = {
3087
- type: z.dateTime,
3059
+ type: V.dateTime,
3088
3060
  pattern: E,
3089
3061
  location: u.styleLocation,
3090
- parsedOptions: this.shouldParseSkeletons ? pn(E) : {}
3091
- }, f = o === "date" ? T.date : T.time;
3062
+ parsedOptions: this.shouldParseSkeletons ? gn(E) : {}
3063
+ }, f = a === "date" ? x.date : x.time;
3092
3064
  return {
3093
- val: { type: f, value: n, location: v, style: m },
3065
+ val: { type: f, value: n, location: _, style: m },
3094
3066
  err: null
3095
3067
  };
3096
3068
  }
3097
3069
  }
3098
3070
  return {
3099
3071
  val: {
3100
- type: o === "number" ? T.number : o === "date" ? T.date : T.time,
3072
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3101
3073
  value: n,
3102
- location: v,
3074
+ location: _,
3103
3075
  style: (s = u?.style) !== null && s !== void 0 ? s : null
3104
3076
  },
3105
3077
  err: null
@@ -3110,10 +3082,10 @@ var Rn = (
3110
3082
  case "select": {
3111
3083
  var g = this.clonePosition();
3112
3084
  if (this.bumpSpace(), !this.bumpIf(","))
3113
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, _({}, g)));
3085
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, we({}, g)));
3114
3086
  this.bumpSpace();
3115
3087
  var S = this.parseIdentifierIfPossible(), M = 0;
3116
- if (o !== "select" && S.value === "offset") {
3088
+ if (a !== "select" && S.value === "offset") {
3117
3089
  if (!this.bumpIf(":"))
3118
3090
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3119
3091
  this.bumpSpace();
@@ -3122,35 +3094,35 @@ var Rn = (
3122
3094
  return c;
3123
3095
  this.bumpSpace(), S = this.parseIdentifierIfPossible(), M = c.val;
3124
3096
  }
3125
- var ue = this.tryParsePluralOrSelectOptions(t, o, r, S);
3126
- if (ue.err)
3127
- return ue;
3097
+ var le = this.tryParsePluralOrSelectOptions(t, a, r, S);
3098
+ if (le.err)
3099
+ return le;
3128
3100
  var p = this.tryParseArgumentClose(i);
3129
3101
  if (p.err)
3130
3102
  return p;
3131
3103
  var nt = y(i, this.clonePosition());
3132
- return o === "select" ? {
3104
+ return a === "select" ? {
3133
3105
  val: {
3134
- type: T.select,
3106
+ type: x.select,
3135
3107
  value: n,
3136
- options: mt(ue.val),
3108
+ options: mt(le.val),
3137
3109
  location: nt
3138
3110
  },
3139
3111
  err: null
3140
3112
  } : {
3141
3113
  val: {
3142
- type: T.plural,
3114
+ type: x.plural,
3143
3115
  value: n,
3144
- options: mt(ue.val),
3116
+ options: mt(le.val),
3145
3117
  offset: M,
3146
- pluralType: o === "plural" ? "cardinal" : "ordinal",
3118
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3147
3119
  location: nt
3148
3120
  },
3149
3121
  err: null
3150
3122
  };
3151
3123
  }
3152
3124
  default:
3153
- return this.error(b.INVALID_ARGUMENT_TYPE, y(a, h));
3125
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(o, h));
3154
3126
  }
3155
3127
  }, e.prototype.tryParseArgumentClose = function(t) {
3156
3128
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3192,21 +3164,21 @@ var Rn = (
3192
3164
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3193
3165
  var n = [];
3194
3166
  try {
3195
- n = bn(t);
3167
+ n = yn(t);
3196
3168
  } catch {
3197
3169
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3198
3170
  }
3199
3171
  return {
3200
3172
  val: {
3201
- type: z.number,
3173
+ type: V.number,
3202
3174
  tokens: n,
3203
3175
  location: r,
3204
- parsedOptions: this.shouldParseSkeletons ? En(n) : {}
3176
+ parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
3205
3177
  },
3206
3178
  err: null
3207
3179
  };
3208
3180
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3209
- for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3181
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3210
3182
  if (u.length === 0) {
3211
3183
  var c = this.clonePosition();
3212
3184
  if (r !== "select" && this.bumpIf("=")) {
@@ -3219,17 +3191,17 @@ var Rn = (
3219
3191
  }
3220
3192
  if (h.has(u))
3221
3193
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3222
- u === "other" && (a = !0), this.bumpSpace();
3194
+ u === "other" && (o = !0), this.bumpSpace();
3223
3195
  var d = this.clonePosition();
3224
3196
  if (!this.bumpIf("{"))
3225
3197
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3226
3198
  var p = this.parseMessage(t + 1, r, n);
3227
3199
  if (p.err)
3228
3200
  return p;
3229
- var v = this.tryParseArgumentClose(d);
3230
- if (v.err)
3231
- return v;
3232
- o.push([
3201
+ var _ = this.tryParseArgumentClose(d);
3202
+ if (_.err)
3203
+ return _;
3204
+ a.push([
3233
3205
  u,
3234
3206
  {
3235
3207
  value: p.val,
@@ -3237,19 +3209,19 @@ var Rn = (
3237
3209
  }
3238
3210
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3239
3211
  }
3240
- return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3212
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3241
3213
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3242
3214
  var n = 1, i = this.clonePosition();
3243
3215
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3244
- for (var s = !1, a = 0; !this.isEOF(); ) {
3245
- var o = this.char();
3246
- if (o >= 48 && o <= 57)
3247
- s = !0, a = a * 10 + (o - 48), this.bump();
3216
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3217
+ var a = this.char();
3218
+ if (a >= 48 && a <= 57)
3219
+ s = !0, o = o * 10 + (a - 48), this.bump();
3248
3220
  else
3249
3221
  break;
3250
3222
  }
3251
3223
  var h = y(i, this.clonePosition());
3252
- return s ? (a *= n, Nn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3224
+ return s ? (o *= n, Ln(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3253
3225
  }, e.prototype.offset = function() {
3254
3226
  return this.position.offset;
3255
3227
  }, e.prototype.isEOF = function() {
@@ -3315,47 +3287,47 @@ var Rn = (
3315
3287
  }, e;
3316
3288
  }()
3317
3289
  );
3318
- function Ze(e) {
3290
+ function qe(e) {
3319
3291
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3320
3292
  }
3321
- function Dn(e) {
3322
- return Ze(e) || e === 47;
3323
- }
3324
3293
  function Un(e) {
3294
+ return qe(e) || e === 47;
3295
+ }
3296
+ function kn(e) {
3325
3297
  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;
3326
3298
  }
3327
3299
  function sr(e) {
3328
3300
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3329
3301
  }
3330
- function kn(e) {
3302
+ function Gn(e) {
3331
3303
  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;
3332
3304
  }
3333
- function Je(e) {
3305
+ function Qe(e) {
3334
3306
  e.forEach(function(t) {
3335
3307
  if (delete t.location, Jt(t) || qt(t))
3336
3308
  for (var r in t.options)
3337
- delete t.options[r].location, Je(t.options[r].value);
3309
+ delete t.options[r].location, Qe(t.options[r].value);
3338
3310
  else
3339
- Xt(t) && Yt(t.style) || (Wt(t) || Zt(t)) && ze(t.style) ? delete t.style.location : Qt(t) && Je(t.children);
3311
+ Xt(t) && Yt(t.style) || (Wt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : Qt(t) && Qe(t.children);
3340
3312
  });
3341
3313
  }
3342
- function Gn(e, t) {
3343
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3344
- var r = new Rn(e, t).parse();
3314
+ function Fn(e, t) {
3315
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3316
+ var r = new Dn(e, t).parse();
3345
3317
  if (r.err) {
3346
3318
  var n = SyntaxError(b[r.err.kind]);
3347
3319
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3348
3320
  }
3349
- return t?.captureLocation || Je(r.val), r.val;
3321
+ return t?.captureLocation || Qe(r.val), r.val;
3350
3322
  }
3351
- var V;
3323
+ var X;
3352
3324
  (function(e) {
3353
3325
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3354
- })(V || (V = {}));
3355
- var Oe = (
3326
+ })(X || (X = {}));
3327
+ var Ce = (
3356
3328
  /** @class */
3357
3329
  function(e) {
3358
- Pe(t, e);
3330
+ Ie(t, e);
3359
3331
  function t(r, n, i) {
3360
3332
  var s = e.call(this, r) || this;
3361
3333
  return s.code = n, s.originalMessage = i, s;
@@ -3367,44 +3339,44 @@ var Oe = (
3367
3339
  ), pt = (
3368
3340
  /** @class */
3369
3341
  function(e) {
3370
- Pe(t, e);
3342
+ Ie(t, e);
3371
3343
  function t(r, n, i, s) {
3372
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3344
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3373
3345
  }
3374
3346
  return t;
3375
- }(Oe)
3376
- ), Fn = (
3347
+ }(Ce)
3348
+ ), jn = (
3377
3349
  /** @class */
3378
3350
  function(e) {
3379
- Pe(t, e);
3351
+ Ie(t, e);
3380
3352
  function t(r, n, i) {
3381
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3353
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3382
3354
  }
3383
3355
  return t;
3384
- }(Oe)
3385
- ), jn = (
3356
+ }(Ce)
3357
+ ), zn = (
3386
3358
  /** @class */
3387
3359
  function(e) {
3388
- Pe(t, e);
3360
+ Ie(t, e);
3389
3361
  function t(r, n) {
3390
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3362
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3391
3363
  }
3392
3364
  return t;
3393
- }(Oe)
3365
+ }(Ce)
3394
3366
  ), H;
3395
3367
  (function(e) {
3396
3368
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3397
3369
  })(H || (H = {}));
3398
- function zn(e) {
3370
+ function Vn(e) {
3399
3371
  return e.length < 2 ? e : e.reduce(function(t, r) {
3400
3372
  var n = t[t.length - 1];
3401
3373
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3402
3374
  }, []);
3403
3375
  }
3404
- function Vn(e) {
3376
+ function Xn(e) {
3405
3377
  return typeof e == "function";
3406
3378
  }
3407
- function _e(e, t, r, n, i, s, a) {
3379
+ function Ee(e, t, r, n, i, s, o) {
3408
3380
  if (e.length === 1 && ut(e[0]))
3409
3381
  return [
3410
3382
  {
@@ -3412,17 +3384,17 @@ function _e(e, t, r, n, i, s, a) {
3412
3384
  value: e[0].value
3413
3385
  }
3414
3386
  ];
3415
- for (var o = [], h = 0, u = e; h < u.length; h++) {
3387
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3416
3388
  var l = u[h];
3417
3389
  if (ut(l)) {
3418
- o.push({
3390
+ a.push({
3419
3391
  type: H.literal,
3420
3392
  value: l.value
3421
3393
  });
3422
3394
  continue;
3423
3395
  }
3424
- if (mn(l)) {
3425
- typeof s == "number" && o.push({
3396
+ if (dn(l)) {
3397
+ typeof s == "number" && a.push({
3426
3398
  type: H.literal,
3427
3399
  value: r.getNumberFormat(t).format(s)
3428
3400
  });
@@ -3430,26 +3402,26 @@ function _e(e, t, r, n, i, s, a) {
3430
3402
  }
3431
3403
  var c = l.value;
3432
3404
  if (!(i && c in i))
3433
- throw new jn(c, a);
3405
+ throw new zn(c, o);
3434
3406
  var m = i[c];
3435
- if (fn(l)) {
3436
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3407
+ if (mn(l)) {
3408
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3437
3409
  type: typeof m == "string" ? H.literal : H.object,
3438
3410
  value: m
3439
3411
  });
3440
3412
  continue;
3441
3413
  }
3442
3414
  if (Wt(l)) {
3443
- var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3444
- o.push({
3415
+ var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3416
+ a.push({
3445
3417
  type: H.literal,
3446
3418
  value: r.getDateTimeFormat(t, d).format(m)
3447
3419
  });
3448
3420
  continue;
3449
3421
  }
3450
3422
  if (Zt(l)) {
3451
- var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3452
- o.push({
3423
+ var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3424
+ a.push({
3453
3425
  type: H.literal,
3454
3426
  value: r.getDateTimeFormat(t, d).format(m)
3455
3427
  });
@@ -3457,20 +3429,20 @@ function _e(e, t, r, n, i, s, a) {
3457
3429
  }
3458
3430
  if (Xt(l)) {
3459
3431
  var d = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3460
- d && d.scale && (m = m * (d.scale || 1)), o.push({
3432
+ d && d.scale && (m = m * (d.scale || 1)), a.push({
3461
3433
  type: H.literal,
3462
3434
  value: r.getNumberFormat(t, d).format(m)
3463
3435
  });
3464
3436
  continue;
3465
3437
  }
3466
3438
  if (Qt(l)) {
3467
- var p = l.children, v = l.value, x = i[v];
3468
- if (!Vn(x))
3469
- throw new Fn(v, "function", a);
3470
- var E = _e(p, t, r, n, i, s), f = x(E.map(function(M) {
3439
+ var p = l.children, _ = l.value, v = i[_];
3440
+ if (!Xn(v))
3441
+ throw new jn(_, "function", o);
3442
+ var E = Ee(p, t, r, n, i, s), f = v(E.map(function(M) {
3471
3443
  return M.value;
3472
3444
  }));
3473
- Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(M) {
3445
+ Array.isArray(f) || (f = [f]), a.push.apply(a, f.map(function(M) {
3474
3446
  return {
3475
3447
  type: typeof M == "string" ? H.literal : H.object,
3476
3448
  value: M
@@ -3480,39 +3452,39 @@ function _e(e, t, r, n, i, s, a) {
3480
3452
  if (Jt(l)) {
3481
3453
  var g = l.options[m] || l.options.other;
3482
3454
  if (!g)
3483
- throw new pt(l.value, m, Object.keys(l.options), a);
3484
- o.push.apply(o, _e(g.value, t, r, n, i));
3455
+ throw new pt(l.value, m, Object.keys(l.options), o);
3456
+ a.push.apply(a, Ee(g.value, t, r, n, i));
3485
3457
  continue;
3486
3458
  }
3487
3459
  if (qt(l)) {
3488
3460
  var g = l.options["=".concat(m)];
3489
3461
  if (!g) {
3490
3462
  if (!Intl.PluralRules)
3491
- throw new Oe(`Intl.PluralRules is not available in this environment.
3463
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3492
3464
  Try polyfilling it using "@formatjs/intl-pluralrules"
3493
- `, V.MISSING_INTL_API, a);
3465
+ `, X.MISSING_INTL_API, o);
3494
3466
  var S = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3495
3467
  g = l.options[S] || l.options.other;
3496
3468
  }
3497
3469
  if (!g)
3498
- throw new pt(l.value, m, Object.keys(l.options), a);
3499
- o.push.apply(o, _e(g.value, t, r, n, i, m - (l.offset || 0)));
3470
+ throw new pt(l.value, m, Object.keys(l.options), o);
3471
+ a.push.apply(a, Ee(g.value, t, r, n, i, m - (l.offset || 0)));
3500
3472
  continue;
3501
3473
  }
3502
3474
  }
3503
- return zn(o);
3475
+ return Vn(a);
3504
3476
  }
3505
- function Xn(e, t) {
3506
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3507
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3477
+ function Wn(e, t) {
3478
+ return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3479
+ return r[n] = B(B({}, e[n]), t[n] || {}), r;
3508
3480
  }, {})) : e;
3509
3481
  }
3510
- function Wn(e, t) {
3482
+ function Zn(e, t) {
3511
3483
  return t ? Object.keys(e).reduce(function(r, n) {
3512
- return r[n] = Xn(e[n], t[n]), r;
3513
- }, _({}, e)) : e;
3484
+ return r[n] = Wn(e[n], t[n]), r;
3485
+ }, B({}, e)) : e;
3514
3486
  }
3515
- function De(e) {
3487
+ function ke(e) {
3516
3488
  return {
3517
3489
  create: function() {
3518
3490
  return {
@@ -3526,39 +3498,39 @@ function De(e) {
3526
3498
  }
3527
3499
  };
3528
3500
  }
3529
- function Zn(e) {
3501
+ function Jn(e) {
3530
3502
  return e === void 0 && (e = {
3531
3503
  number: {},
3532
3504
  dateTime: {},
3533
3505
  pluralRules: {}
3534
3506
  }), {
3535
- getNumberFormat: Le(function() {
3507
+ getNumberFormat: Re(function() {
3536
3508
  for (var t, r = [], n = 0; n < arguments.length; n++)
3537
3509
  r[n] = arguments[n];
3538
- return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
3510
+ return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3539
3511
  }, {
3540
- cache: De(e.number),
3541
- strategy: $e.variadic
3512
+ cache: ke(e.number),
3513
+ strategy: De.variadic
3542
3514
  }),
3543
- getDateTimeFormat: Le(function() {
3515
+ getDateTimeFormat: Re(function() {
3544
3516
  for (var t, r = [], n = 0; n < arguments.length; n++)
3545
3517
  r[n] = arguments[n];
3546
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
3518
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3547
3519
  }, {
3548
- cache: De(e.dateTime),
3549
- strategy: $e.variadic
3520
+ cache: ke(e.dateTime),
3521
+ strategy: De.variadic
3550
3522
  }),
3551
- getPluralRules: Le(function() {
3523
+ getPluralRules: Re(function() {
3552
3524
  for (var t, r = [], n = 0; n < arguments.length; n++)
3553
3525
  r[n] = arguments[n];
3554
- return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
3526
+ return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3555
3527
  }, {
3556
- cache: De(e.pluralRules),
3557
- strategy: $e.variadic
3528
+ cache: ke(e.pluralRules),
3529
+ strategy: De.variadic
3558
3530
  })
3559
3531
  };
3560
3532
  }
3561
- var ar = (
3533
+ var or = (
3562
3534
  /** @class */
3563
3535
  function() {
3564
3536
  function e(t, r, n, i) {
@@ -3577,7 +3549,7 @@ var ar = (
3577
3549
  }, []);
3578
3550
  return l.length <= 1 ? l[0] || "" : l;
3579
3551
  }, this.formatToParts = function(h) {
3580
- return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3552
+ return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3581
3553
  }, this.resolvedOptions = function() {
3582
3554
  var h;
3583
3555
  return {
@@ -3588,15 +3560,15 @@ var ar = (
3588
3560
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3589
3561
  if (this.message = t, !e.__parse)
3590
3562
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3591
- var a = i || {};
3592
- a.formatters;
3593
- var o = sn(a, ["formatters"]);
3594
- this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
3563
+ var o = i || {};
3564
+ o.formatters;
3565
+ var a = sn(o, ["formatters"]);
3566
+ this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3595
3567
  } else
3596
3568
  this.ast = t;
3597
3569
  if (!Array.isArray(this.ast))
3598
3570
  throw new TypeError("A message must be provided as a String or AST.");
3599
- this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
3571
+ this.formats = Zn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3600
3572
  }
3601
3573
  return Object.defineProperty(e, "defaultLocale", {
3602
3574
  get: function() {
@@ -3609,7 +3581,7 @@ var ar = (
3609
3581
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3610
3582
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3611
3583
  }
3612
- }, e.__parse = Gn, e.formats = {
3584
+ }, e.__parse = Fn, e.formats = {
3613
3585
  number: {
3614
3586
  integer: {
3615
3587
  maximumFractionDigits: 0
@@ -3670,7 +3642,7 @@ var ar = (
3670
3642
  }, e;
3671
3643
  }()
3672
3644
  );
3673
- function Jn(e, t) {
3645
+ function qn(e, t) {
3674
3646
  if (t == null)
3675
3647
  return;
3676
3648
  if (t in e)
@@ -3691,36 +3663,36 @@ function Jn(e, t) {
3691
3663
  n = void 0;
3692
3664
  return n;
3693
3665
  }
3694
- const I = {}, qn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), or = (e, t) => {
3666
+ const C = {}, Qn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), ar = (e, t) => {
3695
3667
  if (t == null)
3696
3668
  return;
3697
- if (t in I && e in I[t])
3698
- return I[t][e];
3699
- const r = oe(t);
3669
+ if (t in C && e in C[t])
3670
+ return C[t][e];
3671
+ const r = ue(t);
3700
3672
  for (let n = 0; n < r.length; n++) {
3701
- const i = r[n], s = Yn(i, e);
3673
+ const i = r[n], s = Kn(i, e);
3702
3674
  if (s)
3703
- return qn(e, t, s);
3675
+ return Qn(e, t, s);
3704
3676
  }
3705
3677
  };
3706
3678
  let tt;
3707
- const ae = Ae({});
3708
- function Qn(e) {
3679
+ const ae = Oe({});
3680
+ function Yn(e) {
3709
3681
  return tt[e] || null;
3710
3682
  }
3711
3683
  function ur(e) {
3712
3684
  return e in tt;
3713
3685
  }
3714
- function Yn(e, t) {
3686
+ function Kn(e, t) {
3715
3687
  if (!ur(e))
3716
3688
  return null;
3717
- const r = Qn(e);
3718
- return Jn(r, t);
3689
+ const r = Yn(e);
3690
+ return qn(r, t);
3719
3691
  }
3720
- function Kn(e) {
3692
+ function ei(e) {
3721
3693
  if (e == null)
3722
3694
  return;
3723
- const t = oe(e);
3695
+ const t = ue(e);
3724
3696
  for (let r = 0; r < t.length; r++) {
3725
3697
  const n = t[r];
3726
3698
  if (ur(n))
@@ -3728,61 +3700,61 @@ function Kn(e) {
3728
3700
  }
3729
3701
  }
3730
3702
  function lr(e, ...t) {
3731
- delete I[e], ae.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
3703
+ delete C[e], ae.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
3732
3704
  }
3733
- Z(
3705
+ J(
3734
3706
  [ae],
3735
3707
  ([e]) => Object.keys(e)
3736
3708
  );
3737
3709
  ae.subscribe((e) => tt = e);
3738
3710
  const ve = {};
3739
- function ei(e, t) {
3711
+ function ti(e, t) {
3740
3712
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3741
3713
  }
3742
3714
  function hr(e) {
3743
3715
  return ve[e];
3744
3716
  }
3745
- function ti(e) {
3746
- return oe(e).map((t) => {
3717
+ function ri(e) {
3718
+ return ue(e).map((t) => {
3747
3719
  const r = hr(t);
3748
3720
  return [t, r ? [...r] : []];
3749
3721
  }).filter(([, t]) => t.length > 0);
3750
3722
  }
3751
- function He(e) {
3752
- return e == null ? !1 : oe(e).some(
3723
+ function Se(e) {
3724
+ return e == null ? !1 : ue(e).some(
3753
3725
  (t) => {
3754
3726
  var r;
3755
3727
  return (r = hr(t)) == null ? void 0 : r.size;
3756
3728
  }
3757
3729
  );
3758
3730
  }
3759
- function ri(e, t) {
3731
+ function ni(e, t) {
3760
3732
  return Promise.all(
3761
- t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
3733
+ t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
3762
3734
  ).then((n) => lr(e, ...n));
3763
3735
  }
3764
- const Q = {};
3736
+ const Y = {};
3765
3737
  function cr(e) {
3766
- if (!He(e))
3767
- return e in Q ? Q[e] : Promise.resolve();
3768
- const t = ti(e);
3769
- return Q[e] = Promise.all(
3738
+ if (!Se(e))
3739
+ return e in Y ? Y[e] : Promise.resolve();
3740
+ const t = ri(e);
3741
+ return Y[e] = Promise.all(
3770
3742
  t.map(
3771
- ([r, n]) => ri(r, n)
3743
+ ([r, n]) => ni(r, n)
3772
3744
  )
3773
3745
  ).then(() => {
3774
- if (He(e))
3746
+ if (Se(e))
3775
3747
  return cr(e);
3776
- delete Q[e];
3777
- }), Q[e];
3748
+ delete Y[e];
3749
+ }), Y[e];
3778
3750
  }
3779
- var gt = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, si = (e, t) => {
3751
+ var gt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, oi = (e, t) => {
3780
3752
  var r = {};
3781
3753
  for (var n in e)
3782
- ni.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3754
+ ii.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3783
3755
  if (e != null && gt)
3784
3756
  for (var n of gt(e))
3785
- t.indexOf(n) < 0 && ii.call(e, n) && (r[n] = e[n]);
3757
+ t.indexOf(n) < 0 && si.call(e, n) && (r[n] = e[n]);
3786
3758
  return r;
3787
3759
  };
3788
3760
  const ai = {
@@ -3815,183 +3787,183 @@ const ai = {
3815
3787
  }
3816
3788
  }
3817
3789
  };
3818
- function oi({ locale: e, id: t }) {
3790
+ function ui({ locale: e, id: t }) {
3819
3791
  console.warn(
3820
- `[svelte-i18n] The message "${t}" was not found in "${oe(
3792
+ `[svelte-i18n] The message "${t}" was not found in "${ue(
3821
3793
  e
3822
- ).join('", "')}".${He(N()) ? `
3794
+ ).join('", "')}".${Se(L()) ? `
3823
3795
 
3824
3796
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3825
3797
  );
3826
3798
  }
3827
- const ui = {
3799
+ const li = {
3828
3800
  fallbackLocale: null,
3829
3801
  loadingDelay: 200,
3830
3802
  formats: ai,
3831
3803
  warnOnMissingMessages: !0,
3832
3804
  handleMissingMessage: void 0,
3833
3805
  ignoreTag: !0
3834
- }, K = ui;
3835
- function X() {
3836
- return K;
3806
+ }, ee = li;
3807
+ function W() {
3808
+ return ee;
3837
3809
  }
3838
- function li(e) {
3839
- const t = e, { formats: r } = t, n = si(t, ["formats"]);
3810
+ function hi(e) {
3811
+ const t = e, { formats: r } = t, n = oi(t, ["formats"]);
3840
3812
  let i = e.fallbackLocale;
3841
3813
  if (e.initialLocale)
3842
3814
  try {
3843
- ar.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3815
+ or.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3844
3816
  } catch {
3845
3817
  console.warn(
3846
3818
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3847
3819
  );
3848
3820
  }
3849
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = oi : console.warn(
3821
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ui : console.warn(
3850
3822
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3851
- )), Object.assign(K, n, { initialLocale: i }), r && ("number" in r && Object.assign(K.formats.number, r.number), "date" in r && Object.assign(K.formats.date, r.date), "time" in r && Object.assign(K.formats.time, r.time)), $.set(i);
3823
+ )), Object.assign(ee, n, { initialLocale: i }), r && ("number" in r && Object.assign(ee.formats.number, r.number), "date" in r && Object.assign(ee.formats.date, r.date), "time" in r && Object.assign(ee.formats.time, r.time)), R.set(i);
3852
3824
  }
3853
- const Ue = Ae(!1);
3854
- var hi = Object.defineProperty, ci = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
3825
+ const Ge = Oe(!1);
3826
+ var ci = Object.defineProperty, fi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
3855
3827
  for (var r in t || (t = {}))
3856
- mi.call(t, r) && yt(e, r, t[r]);
3828
+ di.call(t, r) && yt(e, r, t[r]);
3857
3829
  if (bt)
3858
3830
  for (var r of bt(t))
3859
- di.call(t, r) && yt(e, r, t[r]);
3831
+ pi.call(t, r) && yt(e, r, t[r]);
3860
3832
  return e;
3861
- }, gi = (e, t) => ci(e, fi(t));
3862
- let qe;
3863
- const we = Ae(null);
3833
+ }, bi = (e, t) => fi(e, mi(t));
3834
+ let Ye;
3835
+ const Be = Oe(null);
3864
3836
  function _t(e) {
3865
3837
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3866
3838
  }
3867
- function oe(e, t = X().fallbackLocale) {
3839
+ function ue(e, t = W().fallbackLocale) {
3868
3840
  const r = _t(e);
3869
3841
  return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
3870
3842
  }
3871
- function N() {
3872
- return qe ?? void 0;
3843
+ function L() {
3844
+ return Ye ?? void 0;
3873
3845
  }
3874
- we.subscribe((e) => {
3875
- qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3846
+ Be.subscribe((e) => {
3847
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3876
3848
  });
3877
- const bi = (e) => {
3878
- if (e && Kn(e) && He(e)) {
3879
- const { loadingDelay: t } = X();
3849
+ const yi = (e) => {
3850
+ if (e && ei(e) && Se(e)) {
3851
+ const { loadingDelay: t } = W();
3880
3852
  let r;
3881
- return typeof window < "u" && N() != null && t ? r = window.setTimeout(
3882
- () => Ue.set(!0),
3853
+ return typeof window < "u" && L() != null && t ? r = window.setTimeout(
3854
+ () => Ge.set(!0),
3883
3855
  t
3884
- ) : Ue.set(!0), cr(e).then(() => {
3885
- we.set(e);
3856
+ ) : Ge.set(!0), cr(e).then(() => {
3857
+ Be.set(e);
3886
3858
  }).finally(() => {
3887
- clearTimeout(r), Ue.set(!1);
3859
+ clearTimeout(r), Ge.set(!1);
3888
3860
  });
3889
3861
  }
3890
- return we.set(e);
3891
- }, $ = gi(pi({}, we), {
3892
- set: bi
3893
- }), Ie = (e) => {
3862
+ return Be.set(e);
3863
+ }, R = bi(gi({}, Be), {
3864
+ set: yi
3865
+ }), Ne = (e) => {
3894
3866
  const t = /* @__PURE__ */ Object.create(null);
3895
3867
  return (n) => {
3896
3868
  const i = JSON.stringify(n);
3897
3869
  return i in t ? t[i] : t[i] = e(n);
3898
3870
  };
3899
3871
  };
3900
- var yi = Object.defineProperty, Se = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3872
+ var _i = Object.defineProperty, Ae = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3901
3873
  for (var r in t || (t = {}))
3902
- fr.call(t, r) && vt(e, r, t[r]);
3903
- if (Se)
3904
- for (var r of Se(t))
3905
- mr.call(t, r) && vt(e, r, t[r]);
3874
+ fr.call(t, r) && Et(e, r, t[r]);
3875
+ if (Ae)
3876
+ for (var r of Ae(t))
3877
+ mr.call(t, r) && Et(e, r, t[r]);
3906
3878
  return e;
3907
- }, J = (e, t) => {
3879
+ }, q = (e, t) => {
3908
3880
  var r = {};
3909
3881
  for (var n in e)
3910
3882
  fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3911
- if (e != null && Se)
3912
- for (var n of Se(e))
3883
+ if (e != null && Ae)
3884
+ for (var n of Ae(e))
3913
3885
  t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3914
3886
  return r;
3915
3887
  };
3916
- const ie = (e, t) => {
3917
- const { formats: r } = X();
3888
+ const se = (e, t) => {
3889
+ const { formats: r } = W();
3918
3890
  if (e in r && t in r[e])
3919
3891
  return r[e][t];
3920
3892
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3921
- }, _i = Ie(
3893
+ }, Ei = Ne(
3922
3894
  (e) => {
3923
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3895
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3924
3896
  if (r == null)
3925
3897
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3926
- return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
3898
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3927
3899
  }
3928
- ), vi = Ie(
3900
+ ), vi = Ne(
3929
3901
  (e) => {
3930
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3902
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3931
3903
  if (r == null)
3932
3904
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3933
- return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
3905
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3934
3906
  }
3935
- ), Ei = Ie(
3907
+ ), xi = Ne(
3936
3908
  (e) => {
3937
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3909
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3938
3910
  if (r == null)
3939
3911
  throw new Error(
3940
3912
  '[svelte-i18n] A "locale" must be set to format time values'
3941
3913
  );
3942
- return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
3914
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3943
3915
  }
3944
- ), xi = (e = {}) => {
3916
+ ), Ti = (e = {}) => {
3945
3917
  var t = e, {
3946
- locale: r = N()
3947
- } = t, n = J(t, [
3918
+ locale: r = L()
3919
+ } = t, n = q(t, [
3948
3920
  "locale"
3949
3921
  ]);
3950
- return _i(rt({ locale: r }, n));
3951
- }, Ti = (e = {}) => {
3922
+ return Ei(rt({ locale: r }, n));
3923
+ }, Hi = (e = {}) => {
3952
3924
  var t = e, {
3953
- locale: r = N()
3954
- } = t, n = J(t, [
3925
+ locale: r = L()
3926
+ } = t, n = q(t, [
3955
3927
  "locale"
3956
3928
  ]);
3957
3929
  return vi(rt({ locale: r }, n));
3958
- }, Hi = (e = {}) => {
3930
+ }, wi = (e = {}) => {
3959
3931
  var t = e, {
3960
- locale: r = N()
3961
- } = t, n = J(t, [
3932
+ locale: r = L()
3933
+ } = t, n = q(t, [
3962
3934
  "locale"
3963
3935
  ]);
3964
- return Ei(rt({ locale: r }, n));
3965
- }, wi = Ie(
3936
+ return xi(rt({ locale: r }, n));
3937
+ }, Si = Ne(
3966
3938
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3967
- (e, t = N()) => new ar(e, t, X().formats, {
3968
- ignoreTag: X().ignoreTag
3939
+ (e, t = L()) => new or(e, t, W().formats, {
3940
+ ignoreTag: W().ignoreTag
3969
3941
  })
3970
- ), Si = (e, t = {}) => {
3942
+ ), Bi = (e, t = {}) => {
3971
3943
  var r, n, i, s;
3972
- let a = t;
3973
- typeof e == "object" && (a = e, e = a.id);
3944
+ let o = t;
3945
+ typeof e == "object" && (o = e, e = o.id);
3974
3946
  const {
3975
- values: o,
3976
- locale: h = N(),
3947
+ values: a,
3948
+ locale: h = L(),
3977
3949
  default: u
3978
- } = a;
3950
+ } = o;
3979
3951
  if (h == null)
3980
3952
  throw new Error(
3981
3953
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3982
3954
  );
3983
- let l = or(e, h);
3955
+ let l = ar(e, h);
3984
3956
  if (!l)
3985
- l = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3957
+ l = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3986
3958
  else if (typeof l != "string")
3987
3959
  return console.warn(
3988
3960
  `[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.`
3989
3961
  ), l;
3990
- if (!o)
3962
+ if (!a)
3991
3963
  return l;
3992
3964
  let c = l;
3993
3965
  try {
3994
- c = wi(l, h).format(o);
3966
+ c = Si(l, h).format(a);
3995
3967
  } catch (m) {
3996
3968
  m instanceof Error && console.warn(
3997
3969
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3999,18 +3971,18 @@ const ie = (e, t) => {
3999
3971
  );
4000
3972
  }
4001
3973
  return c;
4002
- }, Bi = (e, t) => Hi(t).format(e), Ai = (e, t) => Ti(t).format(e), Pi = (e, t) => xi(t).format(e), Oi = (e, t = N()) => or(e, t), Ii = Z([$, ae], () => Si);
4003
- Z([$], () => Bi);
4004
- Z([$], () => Ai);
4005
- Z([$], () => Pi);
4006
- Z([$, ae], () => Oi);
4007
- function Ci(e, t) {
3974
+ }, Ai = (e, t) => wi(t).format(e), Pi = (e, t) => Hi(t).format(e), Oi = (e, t) => Ti(t).format(e), Ii = (e, t = L()) => ar(e, t), Ci = J([R, ae], () => Bi);
3975
+ J([R], () => Ai);
3976
+ J([R], () => Pi);
3977
+ J([R], () => Oi);
3978
+ J([R, ae], () => Ii);
3979
+ function Ni(e, t) {
4008
3980
  if (e) {
4009
3981
  const r = document.createElement("style");
4010
3982
  r.innerHTML = t, e.appendChild(r);
4011
3983
  }
4012
3984
  }
4013
- function Ni(e, t) {
3985
+ function Li(e, t) {
4014
3986
  if (!e || !t)
4015
3987
  return;
4016
3988
  const r = new URL(t);
@@ -4029,13 +4001,13 @@ function Mi(e, t, r) {
4029
4001
  });
4030
4002
  }
4031
4003
  }
4032
- function Et(e, t) {
4004
+ function vt(e, t) {
4033
4005
  lr(e, t);
4034
4006
  }
4035
- function Li(e) {
4036
- li({
4007
+ function $i(e) {
4008
+ hi({
4037
4009
  fallbackLocale: "en"
4038
- }), $.set(e);
4010
+ }), R.set(e);
4039
4011
  }
4040
4012
  const xt = {
4041
4013
  en: {
@@ -4091,52 +4063,52 @@ const xt = {
4091
4063
  DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."
4092
4064
  }
4093
4065
  };
4094
- function $i(e) {
4066
+ function Ri(e) {
4095
4067
  yr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
4096
4068
  }
4097
- const Ri = (e) => ({}), Tt = (e) => ({}), Di = (e) => ({}), Ht = (e) => ({}), Ui = (e) => ({}), wt = (e) => ({}), ki = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
4069
+ const Di = (e) => ({}), Tt = (e) => ({}), Ui = (e) => ({}), Ht = (e) => ({}), ki = (e) => ({}), wt = (e) => ({}), Gi = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
4098
4070
  function Bt(e) {
4099
4071
  let t, r;
4100
4072
  return {
4101
4073
  c() {
4102
- t = A("ui-image"), st(t.src, r = `${/*assetsurl*/
4103
- e[0]}/error-general-icon.png`) || de(t, "src", r), de(t, "width", "300px"), de(t, "alt", "error");
4074
+ t = P("ui-image"), st(t.src, r = `${/*assetsurl*/
4075
+ e[0]}/error-general-icon.png`) || pe(t, "src", r), pe(t, "width", "300px"), pe(t, "alt", "error");
4104
4076
  },
4105
4077
  m(n, i) {
4106
- W(n, t, i);
4078
+ Z(n, t, i);
4107
4079
  },
4108
4080
  p(n, i) {
4109
4081
  i & /*assetsurl*/
4110
4082
  1 && !st(t.src, r = `${/*assetsurl*/
4111
- n[0]}/error-general-icon.png`) && de(t, "src", r);
4083
+ n[0]}/error-general-icon.png`) && pe(t, "src", r);
4112
4084
  },
4113
4085
  d(n) {
4114
- n && C(t);
4086
+ n && N(t);
4115
4087
  }
4116
4088
  };
4117
4089
  }
4118
- function Gi(e) {
4090
+ function Fi(e) {
4119
4091
  let t, r = (
4120
4092
  /*assetsurl*/
4121
4093
  e[0] && Bt(e)
4122
4094
  );
4123
4095
  return {
4124
4096
  c() {
4125
- r && r.c(), t = vr();
4097
+ r && r.c(), t = Er();
4126
4098
  },
4127
4099
  m(n, i) {
4128
- r && r.m(n, i), W(n, t, i);
4100
+ r && r.m(n, i), Z(n, t, i);
4129
4101
  },
4130
4102
  p(n, i) {
4131
4103
  /*assetsurl*/
4132
4104
  n[0] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4133
4105
  },
4134
4106
  d(n) {
4135
- n && C(t), r && r.d(n);
4107
+ n && N(t), r && r.d(n);
4136
4108
  }
4137
4109
  };
4138
4110
  }
4139
- function Fi(e) {
4111
+ function ji(e) {
4140
4112
  let t, r = (
4141
4113
  /*$_*/
4142
4114
  e[3](`${/*errorcode*/
@@ -4144,10 +4116,10 @@ function Fi(e) {
4144
4116
  ), n;
4145
4117
  return {
4146
4118
  c() {
4147
- t = A("span"), n = Be(r), F(t, "class", "CashierErrorText");
4119
+ t = P("span"), n = Pe(r), j(t, "class", "CashierErrorText");
4148
4120
  },
4149
4121
  m(i, s) {
4150
- W(i, t, s), P(t, n);
4122
+ Z(i, t, s), O(t, n);
4151
4123
  },
4152
4124
  p(i, s) {
4153
4125
  s & /*$_, errorcode*/
@@ -4156,52 +4128,52 @@ function Fi(e) {
4156
4128
  i[1] || "errorGeneralText"}`) + "") && Dt(n, r);
4157
4129
  },
4158
4130
  d(i) {
4159
- i && C(t);
4131
+ i && N(t);
4160
4132
  }
4161
4133
  };
4162
4134
  }
4163
- function ji(e) {
4135
+ function zi(e) {
4164
4136
  let t, r, n = (
4165
4137
  /*$_*/
4166
4138
  e[3]("errorGeneralButton") + ""
4167
- ), i, s, a;
4139
+ ), i, s, o;
4168
4140
  return {
4169
4141
  c() {
4170
- t = A("button"), r = A("span"), i = Be(n), F(t, "class", "CashierErrorButton");
4142
+ t = P("button"), r = P("span"), i = Pe(n), j(t, "class", "CashierErrorButton");
4171
4143
  },
4172
- m(o, h) {
4173
- W(o, t, h), P(t, r), P(r, i), s || (a = Er(
4144
+ m(a, h) {
4145
+ Z(a, t, h), O(t, r), O(r, i), s || (o = vr(
4174
4146
  t,
4175
4147
  "click",
4176
4148
  /*close*/
4177
4149
  e[4]
4178
4150
  ), s = !0);
4179
4151
  },
4180
- p(o, h) {
4152
+ p(a, h) {
4181
4153
  h & /*$_*/
4182
4154
  8 && n !== (n = /*$_*/
4183
- o[3]("errorGeneralButton") + "") && Dt(i, n);
4155
+ a[3]("errorGeneralButton") + "") && Dt(i, n);
4184
4156
  },
4185
- d(o) {
4186
- o && C(t), s = !1, a();
4157
+ d(a) {
4158
+ a && N(t), s = !1, o();
4187
4159
  }
4188
4160
  };
4189
4161
  }
4190
- function zi(e) {
4191
- let t, r, n, i, s, a;
4192
- const o = (
4162
+ function Vi(e) {
4163
+ let t, r, n, i, s, o;
4164
+ const a = (
4193
4165
  /*#slots*/
4194
4166
  e[11].icon
4195
- ), h = he(
4196
- o,
4167
+ ), h = ce(
4168
+ a,
4197
4169
  e,
4198
4170
  /*$$scope*/
4199
4171
  e[10],
4200
4172
  St
4201
- ), u = h || Gi(e), l = (
4173
+ ), u = h || Fi(e), l = (
4202
4174
  /*#slots*/
4203
4175
  e[11].title
4204
- ), c = he(
4176
+ ), c = ce(
4205
4177
  l,
4206
4178
  e,
4207
4179
  /*$$scope*/
@@ -4210,162 +4182,162 @@ function zi(e) {
4210
4182
  ), m = (
4211
4183
  /*#slots*/
4212
4184
  e[11].text
4213
- ), d = he(
4185
+ ), d = ce(
4214
4186
  m,
4215
4187
  e,
4216
4188
  /*$$scope*/
4217
4189
  e[10],
4218
4190
  Ht
4219
- ), p = d || Fi(e), v = (
4191
+ ), p = d || ji(e), _ = (
4220
4192
  /*#slots*/
4221
4193
  e[11].button
4222
- ), x = he(
4223
- v,
4194
+ ), v = ce(
4195
+ _,
4224
4196
  e,
4225
4197
  /*$$scope*/
4226
4198
  e[10],
4227
4199
  Tt
4228
- ), E = x || ji(e);
4200
+ ), E = v || zi(e);
4229
4201
  return {
4230
4202
  c() {
4231
- t = A("div"), r = A("div"), u && u.c(), n = Ce(), c && c.c(), i = Ce(), p && p.c(), s = Ce(), E && E.c(), F(r, "class", "CashierErrorContent"), F(t, "class", "CashierError");
4203
+ t = P("div"), r = P("div"), u && u.c(), n = Le(), c && c.c(), i = Le(), p && p.c(), s = Le(), E && E.c(), j(r, "class", "CashierErrorContent"), j(t, "class", "CashierError");
4232
4204
  },
4233
4205
  m(f, g) {
4234
- W(f, t, g), P(t, r), u && u.m(r, null), P(r, n), c && c.m(r, null), P(r, i), p && p.m(r, null), P(r, s), E && E.m(r, null), e[12](t), a = !0;
4206
+ Z(f, t, g), O(t, r), u && u.m(r, null), O(r, n), c && c.m(r, null), O(r, i), p && p.m(r, null), O(r, s), E && E.m(r, null), e[12](t), o = !0;
4235
4207
  },
4236
4208
  p(f, [g]) {
4237
- h ? h.p && (!a || g & /*$$scope*/
4238
- 1024) && fe(
4209
+ h ? h.p && (!o || g & /*$$scope*/
4210
+ 1024) && me(
4239
4211
  h,
4240
- o,
4212
+ a,
4241
4213
  f,
4242
4214
  /*$$scope*/
4243
4215
  f[10],
4244
- a ? ce(
4245
- o,
4216
+ o ? fe(
4217
+ a,
4246
4218
  /*$$scope*/
4247
4219
  f[10],
4248
4220
  g,
4249
- ki
4250
- ) : me(
4221
+ Gi
4222
+ ) : de(
4251
4223
  /*$$scope*/
4252
4224
  f[10]
4253
4225
  ),
4254
4226
  St
4255
- ) : u && u.p && (!a || g & /*assetsurl*/
4256
- 1) && u.p(f, a ? g : -1), c && c.p && (!a || g & /*$$scope*/
4257
- 1024) && fe(
4227
+ ) : u && u.p && (!o || g & /*assetsurl*/
4228
+ 1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
4229
+ 1024) && me(
4258
4230
  c,
4259
4231
  l,
4260
4232
  f,
4261
4233
  /*$$scope*/
4262
4234
  f[10],
4263
- a ? ce(
4235
+ o ? fe(
4264
4236
  l,
4265
4237
  /*$$scope*/
4266
4238
  f[10],
4267
4239
  g,
4268
- Ui
4269
- ) : me(
4240
+ ki
4241
+ ) : de(
4270
4242
  /*$$scope*/
4271
4243
  f[10]
4272
4244
  ),
4273
4245
  wt
4274
- ), d ? d.p && (!a || g & /*$$scope*/
4275
- 1024) && fe(
4246
+ ), d ? d.p && (!o || g & /*$$scope*/
4247
+ 1024) && me(
4276
4248
  d,
4277
4249
  m,
4278
4250
  f,
4279
4251
  /*$$scope*/
4280
4252
  f[10],
4281
- a ? ce(
4253
+ o ? fe(
4282
4254
  m,
4283
4255
  /*$$scope*/
4284
4256
  f[10],
4285
4257
  g,
4286
- Di
4287
- ) : me(
4258
+ Ui
4259
+ ) : de(
4288
4260
  /*$$scope*/
4289
4261
  f[10]
4290
4262
  ),
4291
4263
  Ht
4292
- ) : p && p.p && (!a || g & /*$_, errorcode*/
4293
- 10) && p.p(f, a ? g : -1), x ? x.p && (!a || g & /*$$scope*/
4294
- 1024) && fe(
4295
- x,
4264
+ ) : p && p.p && (!o || g & /*$_, errorcode*/
4265
+ 10) && p.p(f, o ? g : -1), v ? v.p && (!o || g & /*$$scope*/
4266
+ 1024) && me(
4296
4267
  v,
4268
+ _,
4297
4269
  f,
4298
4270
  /*$$scope*/
4299
4271
  f[10],
4300
- a ? ce(
4301
- v,
4272
+ o ? fe(
4273
+ _,
4302
4274
  /*$$scope*/
4303
4275
  f[10],
4304
4276
  g,
4305
- Ri
4306
- ) : me(
4277
+ Di
4278
+ ) : de(
4307
4279
  /*$$scope*/
4308
4280
  f[10]
4309
4281
  ),
4310
4282
  Tt
4311
- ) : E && E.p && (!a || g & /*$_*/
4312
- 8) && E.p(f, a ? g : -1);
4283
+ ) : E && E.p && (!o || g & /*$_*/
4284
+ 8) && E.p(f, o ? g : -1);
4313
4285
  },
4314
4286
  i(f) {
4315
- a || (Y(u, f), Y(c, f), Y(p, f), Y(E, f), a = !0);
4287
+ o || (K(u, f), K(c, f), K(p, f), K(E, f), o = !0);
4316
4288
  },
4317
4289
  o(f) {
4318
- pe(u, f), pe(c, f), pe(p, f), pe(E, f), a = !1;
4290
+ ge(u, f), ge(c, f), ge(p, f), ge(E, f), o = !1;
4319
4291
  },
4320
4292
  d(f) {
4321
- f && C(t), u && u.d(f), c && c.d(f), p && p.d(f), E && E.d(f), e[12](null);
4293
+ f && N(t), u && u.d(f), c && c.d(f), p && p.d(f), E && E.d(f), e[12](null);
4322
4294
  }
4323
4295
  };
4324
4296
  }
4325
- function Vi(e, t, r) {
4297
+ function Xi(e, t, r) {
4326
4298
  let n;
4327
- br(e, Ii, (f) => r(3, n = f));
4328
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: a = "" } = t, { lang: o = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4299
+ br(e, Ci, (f) => r(3, n = f));
4300
+ let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4329
4301
  const p = () => {
4330
- Li(o);
4331
- }, v = () => {
4302
+ $i(a);
4303
+ }, _ = () => {
4332
4304
  fetch(c).then((g) => g.json()).then((g) => {
4333
4305
  Object.keys(g).forEach((S) => {
4334
- Et(S, g[S]);
4306
+ vt(S, g[S]);
4335
4307
  });
4336
4308
  }).catch((g) => {
4337
4309
  console.error(g);
4338
4310
  });
4339
4311
  };
4340
4312
  Object.keys(xt).forEach((f) => {
4341
- Et(f, xt[f]);
4313
+ vt(f, xt[f]);
4342
4314
  });
4343
- const x = () => {
4315
+ const v = () => {
4344
4316
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4345
4317
  };
4346
4318
  Pr(() => () => {
4347
4319
  });
4348
4320
  function E(f) {
4349
- Ge[f ? "unshift" : "push"](() => {
4321
+ je[f ? "unshift" : "push"](() => {
4350
4322
  d = f, r(2, d);
4351
4323
  });
4352
4324
  }
4353
4325
  return e.$$set = (f) => {
4354
- "assetsurl" in f && r(0, a = f.assetsurl), "lang" in f && r(5, o = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4326
+ "assetsurl" in f && r(0, o = f.assetsurl), "lang" in f && r(5, a = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4355
4327
  }, e.$$.update = () => {
4356
4328
  e.$$.dirty & /*lang*/
4357
- 32 && o && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4358
- 68 && u && d && Ci(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4359
- 132 && l && d && Ni(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4329
+ 32 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4330
+ 68 && u && d && Ni(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4331
+ 132 && l && d && Li(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4360
4332
  516 && m && d && Mi(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4361
- 256 && c && v();
4333
+ 256 && c && _();
4362
4334
  }, [
4363
- a,
4335
+ o,
4364
4336
  h,
4365
4337
  d,
4366
4338
  n,
4367
- x,
4368
- o,
4339
+ v,
4340
+ a,
4369
4341
  u,
4370
4342
  l,
4371
4343
  c,
@@ -4380,8 +4352,8 @@ class dr extends Ur {
4380
4352
  super(), Rr(
4381
4353
  this,
4382
4354
  t,
4355
+ Xi,
4383
4356
  Vi,
4384
- zi,
4385
4357
  Ot,
4386
4358
  {
4387
4359
  assetsurl: 0,
@@ -4392,104 +4364,100 @@ class dr extends Ur {
4392
4364
  translationurl: 8,
4393
4365
  mbsource: 9
4394
4366
  },
4395
- $i
4367
+ Ri
4396
4368
  );
4397
4369
  }
4398
4370
  get assetsurl() {
4399
4371
  return this.$$.ctx[0];
4400
4372
  }
4401
4373
  set assetsurl(t) {
4402
- this.$$set({ assetsurl: t }), B();
4374
+ this.$$set({ assetsurl: t }), A();
4403
4375
  }
4404
4376
  get lang() {
4405
4377
  return this.$$.ctx[5];
4406
4378
  }
4407
4379
  set lang(t) {
4408
- this.$$set({ lang: t }), B();
4380
+ this.$$set({ lang: t }), A();
4409
4381
  }
4410
4382
  get errorcode() {
4411
4383
  return this.$$.ctx[1];
4412
4384
  }
4413
4385
  set errorcode(t) {
4414
- this.$$set({ errorcode: t }), B();
4386
+ this.$$set({ errorcode: t }), A();
4415
4387
  }
4416
4388
  get clientstyling() {
4417
4389
  return this.$$.ctx[6];
4418
4390
  }
4419
4391
  set clientstyling(t) {
4420
- this.$$set({ clientstyling: t }), B();
4392
+ this.$$set({ clientstyling: t }), A();
4421
4393
  }
4422
4394
  get clientstylingurl() {
4423
4395
  return this.$$.ctx[7];
4424
4396
  }
4425
4397
  set clientstylingurl(t) {
4426
- this.$$set({ clientstylingurl: t }), B();
4398
+ this.$$set({ clientstylingurl: t }), A();
4427
4399
  }
4428
4400
  get translationurl() {
4429
4401
  return this.$$.ctx[8];
4430
4402
  }
4431
4403
  set translationurl(t) {
4432
- this.$$set({ translationurl: t }), B();
4404
+ this.$$set({ translationurl: t }), A();
4433
4405
  }
4434
4406
  get mbsource() {
4435
4407
  return this.$$.ctx[9];
4436
4408
  }
4437
4409
  set mbsource(t) {
4438
- this.$$set({ mbsource: t }), B();
4410
+ this.$$set({ mbsource: t }), A();
4439
4411
  }
4440
4412
  }
4441
4413
  Dr(dr, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4442
- const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4414
+ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4443
4415
  __proto__: null,
4444
4416
  default: dr
4445
4417
  }, Symbol.toStringTag, { value: "Module" }));
4446
4418
  export {
4447
- $,
4448
- Y as A,
4449
- Ji as B,
4419
+ R as $,
4420
+ Dt as A,
4421
+ Pe as B,
4450
4422
  pe as C,
4451
- qi as D,
4452
- Be as E,
4453
- Dt as F,
4454
- re as G,
4455
- Qi as H,
4456
- Yi as I,
4457
- de as J,
4458
- Ii as K,
4459
- vr as L,
4460
- Er as M,
4461
- Ki as N,
4462
- Wi as O,
4463
- Zi as P,
4464
- st as Q,
4465
- L as R,
4423
+ vr as D,
4424
+ Er as E,
4425
+ es as F,
4426
+ Zi as G,
4427
+ Ji as H,
4428
+ $ as I,
4429
+ st as J,
4430
+ qi as K,
4431
+ Ci as L,
4432
+ Ni as M,
4433
+ Li as N,
4434
+ Mi as O,
4435
+ rs as P,
4466
4436
  Ur as S,
4467
- ns as T,
4468
- ts as _,
4469
4437
  lr as a,
4470
- li as b,
4471
- es as c,
4472
- Me as d,
4473
- rs as e,
4474
- Pe as f,
4438
+ hi as b,
4439
+ ts as c,
4440
+ Dr as d,
4441
+ Rr as e,
4442
+ A as f,
4475
4443
  Fr as g,
4476
- Dr as h,
4444
+ yr as h,
4477
4445
  At as i,
4478
- Rr as j,
4479
- B as k,
4480
- yr as l,
4481
- A as m,
4482
- F as n,
4483
- W as o,
4484
- w as p,
4485
- C as q,
4486
- br as r,
4446
+ N as j,
4447
+ Z as k,
4448
+ P as l,
4449
+ j as m,
4450
+ w as n,
4451
+ br as o,
4452
+ Pr as p,
4453
+ je as q,
4454
+ ge as r,
4487
4455
  Ot as s,
4488
- Pr as t,
4489
- Mi as u,
4490
- Ge as v,
4491
- Ci as w,
4492
- Ni as x,
4493
- Ce as y,
4494
- P as z
4456
+ K as t,
4457
+ Qi as u,
4458
+ O as v,
4459
+ Le as w,
4460
+ Ki as x,
4461
+ ne as y,
4462
+ Yi as z
4495
4463
  };